OSDN Git Service

246e520da1b38c2b85c0851b232693313844a1a1
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
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='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 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 libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366
367   case $ac_option in
368
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385
386   --config-cache | -C)
387     cache_file=config.cache ;;
388
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648
649   esac
650 done
651
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665    { (exit 1); exit 1; }; };;
666   esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711          X"$0" : 'X\(//\)[^/]' \| \
712          X"$0" : 'X\(//\)$' \| \
713          X"$0" : 'X\(/\)' \| \
714          .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718           /^X\(\/\/\)$/{ s//\1/; q; }
719           /^X\(\/\).*/{ s//\1/; q; }
720           s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
765
766 #
767 # Report the --help message.
768 #
769 if test "$ac_init_help" = "long"; then
770   # Omit some internal or obsolete options to make the list less imposing.
771   # This message is too long to be a string in the A/UX 3.1 sh.
772   cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774
775 Usage: $0 [OPTION]... [VAR=VALUE]...
776
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE.  See below for descriptions of some of the useful variables.
779
780 Defaults for the options are specified in brackets.
781
782 Configuration:
783   -h, --help              display this help and exit
784       --help=short        display options specific to this package
785       --help=recursive    display the short help of all the included packages
786   -V, --version           display version information and exit
787   -q, --quiet, --silent   do not print \`checking...' messages
788       --cache-file=FILE   cache test results in FILE [disabled]
789   -C, --config-cache      alias for \`--cache-file=config.cache'
790   -n, --no-create         do not create output files
791       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
792
793 _ACEOF
794
795   cat <<_ACEOF
796 Installation directories:
797   --prefix=PREFIX         install architecture-independent files in PREFIX
798                           [$ac_default_prefix]
799   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
800                           [PREFIX]
801
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
806
807 For better control, use the options below.
808
809 Fine tuning of the installation directories:
810   --bindir=DIR           user executables [EPREFIX/bin]
811   --sbindir=DIR          system admin executables [EPREFIX/sbin]
812   --libexecdir=DIR       program executables [EPREFIX/libexec]
813   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
814   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
815   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
816   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
817   --libdir=DIR           object code libraries [EPREFIX/lib]
818   --includedir=DIR       C header files [PREFIX/include]
819   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
820   --infodir=DIR          info documentation [PREFIX/info]
821   --mandir=DIR           man documentation [PREFIX/man]
822 _ACEOF
823
824   cat <<\_ACEOF
825
826 Program names:
827   --program-prefix=PREFIX            prepend PREFIX to installed program names
828   --program-suffix=SUFFIX            append SUFFIX to installed program names
829   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
830
831 System types:
832   --build=BUILD     configure for building on BUILD [guessed]
833   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
834   --target=TARGET   configure for building compilers for TARGET [HOST]
835 _ACEOF
836 fi
837
838 if test -n "$ac_init_help"; then
839   case $ac_init_help in
840      short | recursive ) echo "Configuration of package-unused version-unused:";;
841    esac
842   cat <<\_ACEOF
843
844 Optional Features:
845   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
846   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
847   --enable-multilib       build many library versions (default)
848   --enable-maintainer-mode  enable make rules and dependencies not useful
849                           (and sometimes confusing) to the casual installer
850   --enable-shared=PKGS  build shared libraries default=yes
851   --enable-static=PKGS  build static libraries default=yes
852   --enable-fast-install=PKGS  optimize for fast installation default=yes
853   --disable-libtool-lock  avoid locking (might break parallel builds)
854   --disable-hosted-libstdcxx
855                           only build freestanding C++ runtime support
856   --enable-sjlj-exceptions
857                           force use of builtin_setjmp for exceptions
858                           [default=auto]
859   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
860                           [default=$is_hosted]
861   --enable-cstdio=PACKAGE use target-specific I/O package
862                           [default=stdio]
863   --enable-clocale[=MODEL]
864                           use MODEL for target locale package
865                           [default=auto]
866   --enable-nls            use Native Language Support (default)
867   --enable-libstdcxx-allocator=KIND
868                           use KIND for target std::allocator base
869                           [default=auto]
870   --enable-cheaders=KIND  construct "C" headers for g++
871                           [default=$c_model]
872   --enable-c99            turns on ISO/IEC 9899:1999 support
873                           [default=yes]
874   --enable-long-long      enable template specializations for 'long long'
875                           [default=yes]
876   --enable-wchar_t        enable template specializations for 'wchar_t'
877                           [default=yes]
878   --enable-concept-checks use Boost-derived template checks [default=no]
879   --enable-libstdcxx-debug-flags=FLAGS
880                           pass compiler FLAGS when building debug library
881                           [default="-g3 -O0"]
882   --enable-libstdcxx-debug
883                           build extra debug library [default=no]
884   --enable-cxx-flags=FLAGS
885                           pass compiler FLAGS when building library
886                           [default=]
887   --enable-fully-dynamic-string
888                           do not put empty strings in per-process static
889                           memory [default=no]
890   _g_switchUse thread-local storage
891                           [default=yes]
892   --enable-symvers=STYLE  enables symbol versioning of the shared library
893                           [default=yes]
894   --enable-version-specific-runtime-libs
895                           Specify that runtime libraries should be installed
896                           in a compiler-specific directory
897
898 Optional Packages:
899   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
900   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
901   --with-target-subdir=SUBDIR
902                           configuring in a subdirectory
903   --with-cross-host=HOST  configuring with a cross compiler
904   --with-newlib           assume newlib as a system C library
905   --with-gnu-ld           assume the C compiler uses GNU ld default=no
906   --with-pic              try to use only PIC/non-PIC objects default=use both
907   --with-gxx-include-dir=DIR
908                           installation directory for include files
909
910 Some influential environment variables:
911   CC          C compiler command
912   CFLAGS      C compiler flags
913   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
914               nonstandard directory <lib dir>
915   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
916               headers in a nonstandard directory <include dir>
917   CXX         C++ compiler command
918   CXXFLAGS    C++ compiler flags
919   CXXCPP      C++ preprocessor
920   CPP         C preprocessor
921
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
924
925 _ACEOF
926 fi
927
928 if test "$ac_init_help" = "recursive"; then
929   # If there are subdirs, report their specific --help.
930   ac_popdir=`pwd`
931   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932     test -d $ac_dir || continue
933     ac_builddir=.
934
935 if test "$ac_dir" != .; then
936   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937   # A "../" for each directory in $ac_dir_suffix.
938   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940   ac_dir_suffix= ac_top_builddir=
941 fi
942
943 case $srcdir in
944   .)  # No --srcdir option.  We are building in place.
945     ac_srcdir=.
946     if test -z "$ac_top_builddir"; then
947        ac_top_srcdir=.
948     else
949        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950     fi ;;
951   [\\/]* | ?:[\\/]* )  # Absolute path.
952     ac_srcdir=$srcdir$ac_dir_suffix;
953     ac_top_srcdir=$srcdir ;;
954   *) # Relative path.
955     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956     ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
958
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
963 *)
964   case "$ac_dir" in
965   .) ac_abs_builddir=`pwd`;;
966   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967   *) ac_abs_builddir=`pwd`/"$ac_dir";;
968   esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
972 *)
973   case ${ac_top_builddir}. in
974   .) ac_abs_top_builddir=$ac_abs_builddir;;
975   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977   esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
981 *)
982   case $ac_srcdir in
983   .) ac_abs_srcdir=$ac_abs_builddir;;
984   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986   esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
990 *)
991   case $ac_top_srcdir in
992   .) ac_abs_top_srcdir=$ac_abs_builddir;;
993   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995   esac;;
996 esac
997
998     cd $ac_dir
999     # Check for guested configure; otherwise get Cygnus style configure.
1000     if test -f $ac_srcdir/configure.gnu; then
1001       echo
1002       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1003     elif test -f $ac_srcdir/configure; then
1004       echo
1005       $SHELL $ac_srcdir/configure  --help=recursive
1006     elif test -f $ac_srcdir/configure.ac ||
1007            test -f $ac_srcdir/configure.in; then
1008       echo
1009       $ac_configure --help
1010     else
1011       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1012     fi
1013     cd $ac_popdir
1014   done
1015 fi
1016
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019   cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1022
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027   exit 0
1028 fi
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1033
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59.  Invocation command line was
1036
1037   $ $0 $@
1038
1039 _ACEOF
1040 {
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1045
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1051
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1054
1055 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1056 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1059 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1060 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1061 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1062
1063 _ASUNAME
1064
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1067 do
1068   IFS=$as_save_IFS
1069   test -z "$as_dir" && as_dir=.
1070   echo "PATH: $as_dir"
1071 done
1072
1073 } >&5
1074
1075 cat >&5 <<_ACEOF
1076
1077
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1081
1082 _ACEOF
1083
1084
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1096 do
1097   for ac_arg
1098   do
1099     case $ac_arg in
1100     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102     | -silent | --silent | --silen | --sile | --sil)
1103       continue ;;
1104     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106     esac
1107     case $ac_pass in
1108     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1109     2)
1110       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111       if test $ac_must_keep_next = true; then
1112         ac_must_keep_next=false # Got value, back to normal.
1113       else
1114         case $ac_arg in
1115           *=* | --config-cache | -C | -disable-* | --disable-* \
1116           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118           | -with-* | --with-* | -without-* | --without-* | --x)
1119             case "$ac_configure_args0 " in
1120               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121             esac
1122             ;;
1123           -* ) ac_must_keep_next=true ;;
1124         esac
1125       fi
1126       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127       # Get rid of the leading space.
1128       ac_sep=" "
1129       ;;
1130     esac
1131   done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1135
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log.  We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142   # Save into config.log some information that might help in debugging.
1143   {
1144     echo
1145
1146     cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151     echo
1152     # The following way of writing the cache mishandles newlines in values,
1153 {
1154   (set) 2>&1 |
1155     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156     *ac_space=\ *)
1157       sed -n \
1158         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160       ;;
1161     *)
1162       sed -n \
1163         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1164       ;;
1165     esac;
1166 }
1167     echo
1168
1169     cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174     echo
1175     for ac_var in $ac_subst_vars
1176     do
1177       eval ac_val=$`echo $ac_var`
1178       echo "$ac_var='"'"'$ac_val'"'"'"
1179     done | sort
1180     echo
1181
1182     if test -n "$ac_subst_files"; then
1183       cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188       echo
1189       for ac_var in $ac_subst_files
1190       do
1191         eval ac_val=$`echo $ac_var`
1192         echo "$ac_var='"'"'$ac_val'"'"'"
1193       done | sort
1194       echo
1195     fi
1196
1197     if test -s confdefs.h; then
1198       cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203       echo
1204       sed "/^$/d" confdefs.h | sort
1205       echo
1206     fi
1207     test "$ac_signal" != 0 &&
1208       echo "$as_me: caught signal $ac_signal"
1209     echo "$as_me: exit $exit_status"
1210   } >&5
1211   rm -f core *.core &&
1212   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213     exit $exit_status
1214      ' 0
1215 for ac_signal in 1 2 13 15; do
1216   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1219
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1224
1225 # Predefined preprocessor variables.
1226
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1230
1231
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1235
1236
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1240
1241
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1245
1246
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1250
1251
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255   if test "x$prefix" != xNONE; then
1256     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257   else
1258     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259   fi
1260 fi
1261 for ac_site_file in $CONFIG_SITE; do
1262   if test -r "$ac_site_file"; then
1263     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265     sed 's/^/| /' "$ac_site_file" >&5
1266     . "$ac_site_file"
1267   fi
1268 done
1269
1270 if test -r "$cache_file"; then
1271   # Some versions of bash will fail to source /dev/null (special
1272   # files actually), so we avoid doing that.
1273   if test -f "$cache_file"; then
1274     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276     case $cache_file in
1277       [\\/]* | ?:[\\/]* ) . $cache_file;;
1278       *)                      . ./$cache_file;;
1279     esac
1280   fi
1281 else
1282   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284   >$cache_file
1285 fi
1286
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293   eval ac_new_set=\$ac_env_${ac_var}_set
1294   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295   eval ac_new_val="\$ac_env_${ac_var}_value"
1296   case $ac_old_set,$ac_new_set in
1297     set,)
1298       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300       ac_cache_corrupted=: ;;
1301     ,set)
1302       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304       ac_cache_corrupted=: ;;
1305     ,);;
1306     *)
1307       if test "x$ac_old_val" != "x$ac_new_val"; then
1308         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1311 echo "$as_me:   former value:  $ac_old_val" >&2;}
1312         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1313 echo "$as_me:   current value: $ac_new_val" >&2;}
1314         ac_cache_corrupted=:
1315       fi;;
1316   esac
1317   # Pass precious variables to config.status.
1318   if test "$ac_new_set" = set; then
1319     case $ac_new_val in
1320     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322     *) ac_arg=$ac_var=$ac_new_val ;;
1323     esac
1324     case " $ac_configure_args " in
1325       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1326       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327     esac
1328   fi
1329 done
1330 if $ac_cache_corrupted; then
1331   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335    { (exit 1); exit 1; }; }
1336 fi
1337
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371           ac_config_headers="$ac_config_headers config.h"
1372
1373
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported.  Only used at the end of this file.
1378 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1379
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:7:0
1382
1383
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388   enableval="$enable_multilib"
1389   case "$enableval" in
1390   yes) multilib=yes ;;
1391   no)  multilib=no ;;
1392   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394    { (exit 1); exit 1; }; } ;;
1395  esac
1396 else
1397   multilib=yes
1398 fi;
1399
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1403
1404 if test "$srcdir" = "."; then
1405   if test "$with_target_subdir" != "."; then
1406     multi_basedir="$srcdir/$with_multisrctop../.."
1407   else
1408     multi_basedir="$srcdir/$with_multisrctop.."
1409   fi
1410 else
1411   multi_basedir="$srcdir/.."
1412 fi
1413
1414
1415           ac_config_commands="$ac_config_commands default-1"
1416
1417
1418 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1419 #
1420 # You will slowly go insane if you do not grok the following fact:  when
1421 # building v3 as part of the compiler, the top-level /target/ becomes the
1422 # library's /host/.  configure then causes --target to default to --host,
1423 # exactly like any other package using autoconf.  Therefore, 'target' and
1424 # 'host' will always be the same.  This makes sense both for native and
1425 # cross compilers, just think about it for a little while.  :-)
1426 #
1427 # Also, if v3 is being configured as part of a cross compiler, the top-level
1428 # configure script will pass the "real" host as $with_cross_host.
1429 #
1430 # Do not delete or change the following two lines.  For why, see
1431 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1432 ac_aux_dir=
1433 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1434   if test -f $ac_dir/install-sh; then
1435     ac_aux_dir=$ac_dir
1436     ac_install_sh="$ac_aux_dir/install-sh -c"
1437     break
1438   elif test -f $ac_dir/install.sh; then
1439     ac_aux_dir=$ac_dir
1440     ac_install_sh="$ac_aux_dir/install.sh -c"
1441     break
1442   elif test -f $ac_dir/shtool; then
1443     ac_aux_dir=$ac_dir
1444     ac_install_sh="$ac_aux_dir/shtool install -c"
1445     break
1446   fi
1447 done
1448 if test -z "$ac_aux_dir"; then
1449   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1450 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1451    { (exit 1); exit 1; }; }
1452 fi
1453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1455 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1456
1457 # Make sure we can run config.sub.
1458 $ac_config_sub sun4 >/dev/null 2>&1 ||
1459   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1460 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1461    { (exit 1); exit 1; }; }
1462
1463 echo "$as_me:$LINENO: checking build system type" >&5
1464 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1465 if test "${ac_cv_build+set}" = set; then
1466   echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468   ac_cv_build_alias=$build_alias
1469 test -z "$ac_cv_build_alias" &&
1470   ac_cv_build_alias=`$ac_config_guess`
1471 test -z "$ac_cv_build_alias" &&
1472   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1474    { (exit 1); exit 1; }; }
1475 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1476   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1477 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1478    { (exit 1); exit 1; }; }
1479
1480 fi
1481 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1482 echo "${ECHO_T}$ac_cv_build" >&6
1483 build=$ac_cv_build
1484 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1485 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1486 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487
1488
1489 echo "$as_me:$LINENO: checking host system type" >&5
1490 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1491 if test "${ac_cv_host+set}" = set; then
1492   echo $ECHO_N "(cached) $ECHO_C" >&6
1493 else
1494   ac_cv_host_alias=$host_alias
1495 test -z "$ac_cv_host_alias" &&
1496   ac_cv_host_alias=$ac_cv_build_alias
1497 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1498   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1499 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1500    { (exit 1); exit 1; }; }
1501
1502 fi
1503 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1504 echo "${ECHO_T}$ac_cv_host" >&6
1505 host=$ac_cv_host
1506 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1507 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1508 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509
1510
1511 echo "$as_me:$LINENO: checking target system type" >&5
1512 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1513 if test "${ac_cv_target+set}" = set; then
1514   echo $ECHO_N "(cached) $ECHO_C" >&6
1515 else
1516   ac_cv_target_alias=$target_alias
1517 test "x$ac_cv_target_alias" = "x" &&
1518   ac_cv_target_alias=$ac_cv_host_alias
1519 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1520   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1522    { (exit 1); exit 1; }; }
1523
1524 fi
1525 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1526 echo "${ECHO_T}$ac_cv_target" >&6
1527 target=$ac_cv_target
1528 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1529 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1530 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531
1532
1533 # The aliases save the names the user supplied, while $host etc.
1534 # will get canonicalized.
1535 test -n "$target_alias" &&
1536   test "$program_prefix$program_suffix$program_transform_name" = \
1537     NONENONEs,x,x, &&
1538   program_prefix=${target_alias}-
1539 target_alias=${target_alias-$host_alias}
1540
1541 # Handy for debugging:
1542 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1543
1544 if test "$build" != "$host"; then
1545   # We are being configured with some form of cross compiler.
1546   GLIBCXX_IS_NATIVE=false
1547   case "$host","$target" in
1548     # Darwin crosses can use the host system's libraries and headers,
1549     # because of the fat library support.  Of course, it must be the
1550     # same version of Darwin on both sides.  Allow the user to
1551     # just say --target=foo-darwin without a version number to mean
1552     # "the version on this system".
1553       *-*-darwin*,*-*-darwin*)
1554         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1555         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1556         if test $hostos = $targetos -o $targetos = darwin ; then
1557           GLIBCXX_IS_NATIVE=true
1558         fi
1559         ;;
1560
1561       *)
1562
1563         ;;
1564   esac
1565 else
1566   GLIBCXX_IS_NATIVE=true
1567 fi
1568
1569 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1570 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1571 #  1.x:  minimum required version
1572 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1573 #              of other PACKAGE_* variables will, however, and there's nothing
1574 #              we can do about that; they come from AC_INIT).
1575 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1576 #            file in the top srcdir, etc, etc), so stop complaining.
1577 #  no-dependencies:  turns off auto dependency generation (just for now)
1578 #  -Wall:  turns on all automake warnings...
1579 #  -Wno-portability:  ...except this one, since GNU make is now required.
1580 am__api_version="1.9"
1581 # Find a good install program.  We prefer a C program (faster),
1582 # so one script is as good as another.  But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1587 # AIX /bin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598   echo $ECHO_N "(cached) $ECHO_C" >&6
1599 else
1600   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 for as_dir in $PATH
1602 do
1603   IFS=$as_save_IFS
1604   test -z "$as_dir" && as_dir=.
1605   # Account for people who put trailing slashes in PATH elements.
1606 case $as_dir/ in
1607   ./ | .// | /cC/* | \
1608   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610   /usr/ucb/* ) ;;
1611   *)
1612     # OSF1 and SCO ODT 3.0 have their own names for install.
1613     # Don't use installbsd from OSF since it installs stuff as root
1614     # by default.
1615     for ac_prog in ginstall scoinst install; do
1616       for ac_exec_ext in '' $ac_executable_extensions; do
1617         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618           if test $ac_prog = install &&
1619             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620             # AIX install.  It has an incompatible calling convention.
1621             :
1622           elif test $ac_prog = install &&
1623             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624             # program-specific install script used by HP pwplus--don't use.
1625             :
1626           else
1627             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1628             break 3
1629           fi
1630         fi
1631       done
1632     done
1633     ;;
1634 esac
1635 done
1636
1637
1638 fi
1639   if test "${ac_cv_path_install+set}" = set; then
1640     INSTALL=$ac_cv_path_install
1641   else
1642     # As a last resort, use the slow shell script.  We don't cache a
1643     # path for INSTALL within a source directory, because that will
1644     # break other packages using the cache if that directory is
1645     # removed, or if the path is relative.
1646     INSTALL=$ac_install_sh
1647   fi
1648 fi
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1651
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1655
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1657
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1659
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 # Just in case
1663 sleep 1
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments.  Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1669 # directory).
1670 if (
1671    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672    if test "$*" = "X"; then
1673       # -L didn't work.
1674       set X `ls -t $srcdir/configure conftest.file`
1675    fi
1676    rm -f conftest.file
1677    if test "$*" != "X $srcdir/configure conftest.file" \
1678       && test "$*" != "X conftest.file $srcdir/configure"; then
1679
1680       # If neither matched, then we have a broken ls.  This can happen
1681       # if, for instance, CONFIG_SHELL is bash and it inherits a
1682       # broken ls alias from the environment.  This has actually
1683       # happened.  Such a system could not be considered "sane".
1684       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1687 alias in your environment" >&2;}
1688    { (exit 1); exit 1; }; }
1689    fi
1690
1691    test "$2" = conftest.file
1692    )
1693 then
1694    # Ok.
1695    :
1696 else
1697    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701    { (exit 1); exit 1; }; }
1702 fi
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $.  echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1714 _ACEOF
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 rm conftest.sed
1717
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1720
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724   am_missing_run="$MISSING --run "
1725 else
1726   am_missing_run=
1727   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1729 fi
1730
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732   # We used to keeping the `.' as first argument, in order to
1733   # allow $(mkdir_p) to be used without argument.  As in
1734   #   $(mkdir_p) $(somedir)
1735   # where $(somedir) is conditionally defined.  However this is wrong
1736   # for two reasons:
1737   #  1. if the package is installed by a user who cannot write `.'
1738   #     make install will fail,
1739   #  2. the above comment should most certainly read
1740   #     $(mkdir_p) $(DESTDIR)$(somedir)
1741   #     so it does not work when $(somedir) is undefined and
1742   #     $(DESTDIR) is not.
1743   #  To support the latter case, we have to write
1744   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1745   #  so the `.' trick is pointless.
1746   mkdir_p='mkdir -p --'
1747 else
1748   # On NextStep and OpenStep, the `mkdir' command does not
1749   # recognize any option.  It will interpret all options as
1750   # directories to create, and then abort because `.' already
1751   # exists.
1752   for d in ./-p ./--version;
1753   do
1754     test -d $d && rmdir $d
1755   done
1756   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1757   if test -f "$ac_aux_dir/mkinstalldirs"; then
1758     mkdir_p='$(mkinstalldirs)'
1759   else
1760     mkdir_p='$(install_sh) -d'
1761   fi
1762 fi
1763
1764 for ac_prog in gawk mawk nawk awk
1765 do
1766   # Extract the first word of "$ac_prog", so it can be a program name with args.
1767 set dummy $ac_prog; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_AWK+set}" = set; then
1771   echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773   if test -n "$AWK"; then
1774   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1778 do
1779   IFS=$as_save_IFS
1780   test -z "$as_dir" && as_dir=.
1781   for ac_exec_ext in '' $ac_executable_extensions; do
1782   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783     ac_cv_prog_AWK="$ac_prog"
1784     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785     break 2
1786   fi
1787 done
1788 done
1789
1790 fi
1791 fi
1792 AWK=$ac_cv_prog_AWK
1793 if test -n "$AWK"; then
1794   echo "$as_me:$LINENO: result: $AWK" >&5
1795 echo "${ECHO_T}$AWK" >&6
1796 else
1797   echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1799 fi
1800
1801   test -n "$AWK" && break
1802 done
1803
1804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1808   echo $ECHO_N "(cached) $ECHO_C" >&6
1809 else
1810   cat >conftest.make <<\_ACEOF
1811 all:
1812         @echo 'ac_maketemp="$(MAKE)"'
1813 _ACEOF
1814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1816 if test -n "$ac_maketemp"; then
1817   eval ac_cv_prog_make_${ac_make}_set=yes
1818 else
1819   eval ac_cv_prog_make_${ac_make}_set=no
1820 fi
1821 rm -f conftest.make
1822 fi
1823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1824   echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1826   SET_MAKE=
1827 else
1828   echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830   SET_MAKE="MAKE=${MAKE-make}"
1831 fi
1832
1833 rm -rf .tst 2>/dev/null
1834 mkdir .tst 2>/dev/null
1835 if test -d .tst; then
1836   am__leading_dot=.
1837 else
1838   am__leading_dot=_
1839 fi
1840 rmdir .tst 2>/dev/null
1841
1842 # test to see if srcdir already configured
1843 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1844    test -f $srcdir/config.status; then
1845   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1846 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1847    { (exit 1); exit 1; }; }
1848 fi
1849
1850 # test whether we have cygpath
1851 if test -z "$CYGPATH_W"; then
1852   if (cygpath --version) >/dev/null 2>/dev/null; then
1853     CYGPATH_W='cygpath -w'
1854   else
1855     CYGPATH_W=echo
1856   fi
1857 fi
1858
1859
1860 # Define the identity of the package.
1861  PACKAGE='libstdc++'
1862  VERSION='version-unused'
1863
1864
1865 # Some tools Automake needs.
1866
1867 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1868
1869
1870 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1871
1872
1873 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1874
1875
1876 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1877
1878
1879 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1880
1881 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1882
1883 # Installed binaries are usually stripped using `strip' when the user
1884 # run `make install-strip'.  However `strip' might not be the right
1885 # tool to use in cross-compilation environments, therefore Automake
1886 # will honor the `STRIP' environment variable to overrule this program.
1887 if test "$cross_compiling" != no; then
1888   if test -n "$ac_tool_prefix"; then
1889   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}strip; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_STRIP+set}" = set; then
1894   echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896   if test -n "$STRIP"; then
1897   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1901 do
1902   IFS=$as_save_IFS
1903   test -z "$as_dir" && as_dir=.
1904   for ac_exec_ext in '' $ac_executable_extensions; do
1905   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1907     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908     break 2
1909   fi
1910 done
1911 done
1912
1913 fi
1914 fi
1915 STRIP=$ac_cv_prog_STRIP
1916 if test -n "$STRIP"; then
1917   echo "$as_me:$LINENO: result: $STRIP" >&5
1918 echo "${ECHO_T}$STRIP" >&6
1919 else
1920   echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1922 fi
1923
1924 fi
1925 if test -z "$ac_cv_prog_STRIP"; then
1926   ac_ct_STRIP=$STRIP
1927   # Extract the first word of "strip", so it can be a program name with args.
1928 set dummy strip; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1932   echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934   if test -n "$ac_ct_STRIP"; then
1935   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1939 do
1940   IFS=$as_save_IFS
1941   test -z "$as_dir" && as_dir=.
1942   for ac_exec_ext in '' $ac_executable_extensions; do
1943   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944     ac_cv_prog_ac_ct_STRIP="strip"
1945     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946     break 2
1947   fi
1948 done
1949 done
1950
1951   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1952 fi
1953 fi
1954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1955 if test -n "$ac_ct_STRIP"; then
1956   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1957 echo "${ECHO_T}$ac_ct_STRIP" >&6
1958 else
1959   echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1961 fi
1962
1963   STRIP=$ac_ct_STRIP
1964 else
1965   STRIP="$ac_cv_prog_STRIP"
1966 fi
1967
1968 fi
1969 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1970
1971 # We need awk for the "check" target.  The system "awk" is bad on
1972 # some platforms.
1973 # Always define AMTAR for backward compatibility.
1974
1975 AMTAR=${AMTAR-"${am_missing_run}tar"}
1976
1977 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1989 # up critical shell variables.
1990
1991   # Keep these sync'd with the list in Makefile.am.  The first provides an
1992   # expandable list at autoconf time; the second provides an expandable list
1993   # (i.e., shell variable) at configure time.
1994
1995   SUBDIRS='include libmath libsupc++ src po testsuite'
1996
1997   # These need to be absolute paths, yet at the same time need to
1998   # canonicalize only relative paths, because then amd will not unmount
1999   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2000   glibcxx_builddir=`${PWDCMD-pwd}`
2001   case $srcdir in
2002     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2003     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2004   esac
2005   toplevel_srcdir=${glibcxx_srcdir}/..
2006
2007
2008
2009
2010   # We use these options to decide which functions to include.  They are
2011   # set from the top level.
2012
2013 # Check whether --with-target-subdir or --without-target-subdir was given.
2014 if test "${with_target_subdir+set}" = set; then
2015   withval="$with_target_subdir"
2016
2017 fi;
2018
2019
2020 # Check whether --with-cross-host or --without-cross-host was given.
2021 if test "${with_cross_host+set}" = set; then
2022   withval="$with_cross_host"
2023
2024 fi;
2025
2026
2027 # Check whether --with-newlib or --without-newlib was given.
2028 if test "${with_newlib+set}" = set; then
2029   withval="$with_newlib"
2030
2031 fi;
2032
2033   # We're almost certainly being configured before anything else which uses
2034   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2035   # we not cache the value of CXX that we "discover" here, because it's set
2036   # to something unique for us and libjava.  Other target libraries need to
2037   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2038   # process by sneakily renaming the cache variable.  This also lets us debug
2039   # the value of "our" CXX in postmortems.
2040   #
2041   # We must also force CXX to /not/ be a precious variable, otherwise the
2042   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2043   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2044   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2045   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2046   #
2047   # -fno-builtin must be present here so that a non-conflicting form of
2048   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2049
2050
2051
2052
2053   save_CXXFLAGS="$CXXFLAGS"
2054   CXXFLAGS="$CXXFLAGS -fno-builtin"
2055   ac_ext=c
2056 ac_cpp='$CPP $CPPFLAGS'
2057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060 if test -n "$ac_tool_prefix"; then
2061   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2062 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_CC+set}" = set; then
2066   echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068   if test -n "$CC"; then
2069   ac_cv_prog_CC="$CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2073 do
2074   IFS=$as_save_IFS
2075   test -z "$as_dir" && as_dir=.
2076   for ac_exec_ext in '' $ac_executable_extensions; do
2077   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2079     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080     break 2
2081   fi
2082 done
2083 done
2084
2085 fi
2086 fi
2087 CC=$ac_cv_prog_CC
2088 if test -n "$CC"; then
2089   echo "$as_me:$LINENO: result: $CC" >&5
2090 echo "${ECHO_T}$CC" >&6
2091 else
2092   echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2094 fi
2095
2096 fi
2097 if test -z "$ac_cv_prog_CC"; then
2098   ac_ct_CC=$CC
2099   # Extract the first word of "gcc", so it can be a program name with args.
2100 set dummy gcc; ac_word=$2
2101 echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2104   echo $ECHO_N "(cached) $ECHO_C" >&6
2105 else
2106   if test -n "$ac_ct_CC"; then
2107   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2108 else
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2111 do
2112   IFS=$as_save_IFS
2113   test -z "$as_dir" && as_dir=.
2114   for ac_exec_ext in '' $ac_executable_extensions; do
2115   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116     ac_cv_prog_ac_ct_CC="gcc"
2117     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118     break 2
2119   fi
2120 done
2121 done
2122
2123 fi
2124 fi
2125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2126 if test -n "$ac_ct_CC"; then
2127   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2128 echo "${ECHO_T}$ac_ct_CC" >&6
2129 else
2130   echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6
2132 fi
2133
2134   CC=$ac_ct_CC
2135 else
2136   CC="$ac_cv_prog_CC"
2137 fi
2138
2139 if test -z "$CC"; then
2140   if test -n "$ac_tool_prefix"; then
2141   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146   echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148   if test -n "$CC"; then
2149   ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2153 do
2154   IFS=$as_save_IFS
2155   test -z "$as_dir" && as_dir=.
2156   for ac_exec_ext in '' $ac_executable_extensions; do
2157   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158     ac_cv_prog_CC="${ac_tool_prefix}cc"
2159     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160     break 2
2161   fi
2162 done
2163 done
2164
2165 fi
2166 fi
2167 CC=$ac_cv_prog_CC
2168 if test -n "$CC"; then
2169   echo "$as_me:$LINENO: result: $CC" >&5
2170 echo "${ECHO_T}$CC" >&6
2171 else
2172   echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2174 fi
2175
2176 fi
2177 if test -z "$ac_cv_prog_CC"; then
2178   ac_ct_CC=$CC
2179   # Extract the first word of "cc", so it can be a program name with args.
2180 set dummy cc; ac_word=$2
2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184   echo $ECHO_N "(cached) $ECHO_C" >&6
2185 else
2186   if test -n "$ac_ct_CC"; then
2187   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2188 else
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 for as_dir in $PATH
2191 do
2192   IFS=$as_save_IFS
2193   test -z "$as_dir" && as_dir=.
2194   for ac_exec_ext in '' $ac_executable_extensions; do
2195   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2196     ac_cv_prog_ac_ct_CC="cc"
2197     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198     break 2
2199   fi
2200 done
2201 done
2202
2203 fi
2204 fi
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208 echo "${ECHO_T}$ac_ct_CC" >&6
2209 else
2210   echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2212 fi
2213
2214   CC=$ac_ct_CC
2215 else
2216   CC="$ac_cv_prog_CC"
2217 fi
2218
2219 fi
2220 if test -z "$CC"; then
2221   # Extract the first word of "cc", so it can be a program name with args.
2222 set dummy cc; ac_word=$2
2223 echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2225 if test "${ac_cv_prog_CC+set}" = set; then
2226   echo $ECHO_N "(cached) $ECHO_C" >&6
2227 else
2228   if test -n "$CC"; then
2229   ac_cv_prog_CC="$CC" # Let the user override the test.
2230 else
2231   ac_prog_rejected=no
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 for as_dir in $PATH
2234 do
2235   IFS=$as_save_IFS
2236   test -z "$as_dir" && as_dir=.
2237   for ac_exec_ext in '' $ac_executable_extensions; do
2238   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2239     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2240        ac_prog_rejected=yes
2241        continue
2242      fi
2243     ac_cv_prog_CC="cc"
2244     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245     break 2
2246   fi
2247 done
2248 done
2249
2250 if test $ac_prog_rejected = yes; then
2251   # We found a bogon in the path, so make sure we never use it.
2252   set dummy $ac_cv_prog_CC
2253   shift
2254   if test $# != 0; then
2255     # We chose a different compiler from the bogus one.
2256     # However, it has the same basename, so the bogon will be chosen
2257     # first if we set CC to just the basename; use the full file name.
2258     shift
2259     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2260   fi
2261 fi
2262 fi
2263 fi
2264 CC=$ac_cv_prog_CC
2265 if test -n "$CC"; then
2266   echo "$as_me:$LINENO: result: $CC" >&5
2267 echo "${ECHO_T}$CC" >&6
2268 else
2269   echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6
2271 fi
2272
2273 fi
2274 if test -z "$CC"; then
2275   if test -n "$ac_tool_prefix"; then
2276   for ac_prog in cl
2277   do
2278     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2280 echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283   echo $ECHO_N "(cached) $ECHO_C" >&6
2284 else
2285   if test -n "$CC"; then
2286   ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2290 do
2291   IFS=$as_save_IFS
2292   test -z "$as_dir" && as_dir=.
2293   for ac_exec_ext in '' $ac_executable_extensions; do
2294   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2296     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297     break 2
2298   fi
2299 done
2300 done
2301
2302 fi
2303 fi
2304 CC=$ac_cv_prog_CC
2305 if test -n "$CC"; then
2306   echo "$as_me:$LINENO: result: $CC" >&5
2307 echo "${ECHO_T}$CC" >&6
2308 else
2309   echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6
2311 fi
2312
2313     test -n "$CC" && break
2314   done
2315 fi
2316 if test -z "$CC"; then
2317   ac_ct_CC=$CC
2318   for ac_prog in cl
2319 do
2320   # Extract the first word of "$ac_prog", so it can be a program name with args.
2321 set dummy $ac_prog; ac_word=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2325   echo $ECHO_N "(cached) $ECHO_C" >&6
2326 else
2327   if test -n "$ac_ct_CC"; then
2328   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2329 else
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 for as_dir in $PATH
2332 do
2333   IFS=$as_save_IFS
2334   test -z "$as_dir" && as_dir=.
2335   for ac_exec_ext in '' $ac_executable_extensions; do
2336   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337     ac_cv_prog_ac_ct_CC="$ac_prog"
2338     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339     break 2
2340   fi
2341 done
2342 done
2343
2344 fi
2345 fi
2346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2349 echo "${ECHO_T}$ac_ct_CC" >&6
2350 else
2351   echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6
2353 fi
2354
2355   test -n "$ac_ct_CC" && break
2356 done
2357
2358   CC=$ac_ct_CC
2359 fi
2360
2361 fi
2362
2363
2364 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&2;}
2368    { (exit 1); exit 1; }; }
2369
2370 # Provide some information about the compiler.
2371 echo "$as_me:$LINENO:" \
2372      "checking for C compiler version" >&5
2373 ac_compiler=`set X $ac_compile; echo $2`
2374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2375   (eval $ac_compiler --version </dev/null >&5) 2>&5
2376   ac_status=$?
2377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378   (exit $ac_status); }
2379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2380   (eval $ac_compiler -v </dev/null >&5) 2>&5
2381   ac_status=$?
2382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383   (exit $ac_status); }
2384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2385   (eval $ac_compiler -V </dev/null >&5) 2>&5
2386   ac_status=$?
2387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388   (exit $ac_status); }
2389
2390 cat >conftest.$ac_ext <<_ACEOF
2391 /* confdefs.h.  */
2392 _ACEOF
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h.  */
2396
2397 int
2398 main ()
2399 {
2400
2401   ;
2402   return 0;
2403 }
2404 _ACEOF
2405 # FIXME: Cleanup?
2406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2407   (eval $ac_link) 2>&5
2408   ac_status=$?
2409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410   (exit $ac_status); }; then
2411   gcc_no_link=no
2412 else
2413   gcc_no_link=yes
2414 fi
2415
2416 if test x$gcc_no_link = xyes; then
2417   # Setting cross_compile will disable run tests; it will
2418   # also disable AC_CHECK_FILE but that's generally
2419   # correct if we can't link.
2420   cross_compiling=yes
2421   EXEEXT=
2422 else
2423   cat >conftest.$ac_ext <<_ACEOF
2424 /* confdefs.h.  */
2425 _ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h.  */
2429
2430 int
2431 main ()
2432 {
2433
2434   ;
2435   return 0;
2436 }
2437 _ACEOF
2438 ac_clean_files_save=$ac_clean_files
2439 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2440 # Try to create an executable without -o first, disregard a.out.
2441 # It will help us diagnose broken compilers, and finding out an intuition
2442 # of exeext.
2443 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2444 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2445 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2447   (eval $ac_link_default) 2>&5
2448   ac_status=$?
2449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450   (exit $ac_status); }; then
2451   # Find the output, starting from the most likely.  This scheme is
2452 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2453 # resort.
2454
2455 # Be careful to initialize this variable, since it used to be cached.
2456 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2457 ac_cv_exeext=
2458 # b.out is created by i960 compilers.
2459 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2460 do
2461   test -f "$ac_file" || continue
2462   case $ac_file in
2463     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2464         ;;
2465     conftest.$ac_ext )
2466         # This is the source file.
2467         ;;
2468     [ab].out )
2469         # We found the default executable, but exeext='' is most
2470         # certainly right.
2471         break;;
2472     *.* )
2473         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474         # FIXME: I believe we export ac_cv_exeext for Libtool,
2475         # but it would be cool to find out if it's true.  Does anybody
2476         # maintain Libtool? --akim.
2477         export ac_cv_exeext
2478         break;;
2479     * )
2480         break;;
2481   esac
2482 done
2483 else
2484   echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2486
2487 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&5
2489 echo "$as_me: error: C compiler cannot create executables
2490 See \`config.log' for more details." >&2;}
2491    { (exit 77); exit 77; }; }
2492 fi
2493
2494 ac_exeext=$ac_cv_exeext
2495 echo "$as_me:$LINENO: result: $ac_file" >&5
2496 echo "${ECHO_T}$ac_file" >&6
2497
2498 # Check the compiler produces executables we can run.  If not, either
2499 # the compiler is broken, or we cross compile.
2500 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2501 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2502 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2503 # If not cross compiling, check that we can run a simple program.
2504 if test "$cross_compiling" != yes; then
2505   if { ac_try='./$ac_file'
2506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507   (eval $ac_try) 2>&5
2508   ac_status=$?
2509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510   (exit $ac_status); }; }; then
2511     cross_compiling=no
2512   else
2513     if test "$cross_compiling" = maybe; then
2514         cross_compiling=yes
2515     else
2516         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2517 If you meant to cross compile, use \`--host'.
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: cannot run C compiled programs.
2520 If you meant to cross compile, use \`--host'.
2521 See \`config.log' for more details." >&2;}
2522    { (exit 1); exit 1; }; }
2523     fi
2524   fi
2525 fi
2526 echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6
2528
2529 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2530 ac_clean_files=$ac_clean_files_save
2531 # Check the compiler produces executables we can run.  If not, either
2532 # the compiler is broken, or we cross compile.
2533 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2534 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2535 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2536 echo "${ECHO_T}$cross_compiling" >&6
2537
2538 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2539 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2541   (eval $ac_link) 2>&5
2542   ac_status=$?
2543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544   (exit $ac_status); }; then
2545   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2546 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 # `rm'.
2549 for ac_file in conftest.exe conftest conftest.*; do
2550   test -f "$ac_file" || continue
2551   case $ac_file in
2552     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2553     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2554           export ac_cv_exeext
2555           break;;
2556     * ) break;;
2557   esac
2558 done
2559 else
2560   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564    { (exit 1); exit 1; }; }
2565 fi
2566
2567 rm -f conftest$ac_cv_exeext
2568 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6
2570
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2573 ac_exeext=$EXEEXT
2574 fi
2575 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2577 if test "${ac_cv_objext+set}" = set; then
2578   echo $ECHO_N "(cached) $ECHO_C" >&6
2579 else
2580   cat >conftest.$ac_ext <<_ACEOF
2581 /* confdefs.h.  */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h.  */
2586
2587 int
2588 main ()
2589 {
2590
2591   ;
2592   return 0;
2593 }
2594 _ACEOF
2595 rm -f conftest.o conftest.obj
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597   (eval $ac_compile) 2>&5
2598   ac_status=$?
2599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600   (exit $ac_status); }; then
2601   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2602   case $ac_file in
2603     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2604     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2605        break;;
2606   esac
2607 done
2608 else
2609   echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2611
2612 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&2;}
2616    { (exit 1); exit 1; }; }
2617 fi
2618
2619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2620 fi
2621 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2622 echo "${ECHO_T}$ac_cv_objext" >&6
2623 OBJEXT=$ac_cv_objext
2624 ac_objext=$OBJEXT
2625 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2626 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2627 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2628   echo $ECHO_N "(cached) $ECHO_C" >&6
2629 else
2630   cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h.  */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h.  */
2636
2637 int
2638 main ()
2639 {
2640 #ifndef __GNUC__
2641        choke me
2642 #endif
2643
2644   ;
2645   return 0;
2646 }
2647 _ACEOF
2648 rm -f conftest.$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650   (eval $ac_compile) 2>conftest.er1
2651   ac_status=$?
2652   grep -v '^ *+' conftest.er1 >conftest.err
2653   rm -f conftest.er1
2654   cat conftest.err >&5
2655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656   (exit $ac_status); } &&
2657          { ac_try='test -z "$ac_c_werror_flag"
2658                          || test ! -s conftest.err'
2659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660   (eval $ac_try) 2>&5
2661   ac_status=$?
2662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663   (exit $ac_status); }; } &&
2664          { ac_try='test -s conftest.$ac_objext'
2665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666   (eval $ac_try) 2>&5
2667   ac_status=$?
2668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669   (exit $ac_status); }; }; then
2670   ac_compiler_gnu=yes
2671 else
2672   echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2674
2675 ac_compiler_gnu=no
2676 fi
2677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679
2680 fi
2681 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 CFLAGS="-g"
2687 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690   echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692   cat >conftest.$ac_ext <<_ACEOF
2693 /* confdefs.h.  */
2694 _ACEOF
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h.  */
2698
2699 int
2700 main ()
2701 {
2702
2703   ;
2704   return 0;
2705 }
2706 _ACEOF
2707 rm -f conftest.$ac_objext
2708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2709   (eval $ac_compile) 2>conftest.er1
2710   ac_status=$?
2711   grep -v '^ *+' conftest.er1 >conftest.err
2712   rm -f conftest.er1
2713   cat conftest.err >&5
2714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715   (exit $ac_status); } &&
2716          { ac_try='test -z "$ac_c_werror_flag"
2717                          || test ! -s conftest.err'
2718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719   (eval $ac_try) 2>&5
2720   ac_status=$?
2721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722   (exit $ac_status); }; } &&
2723          { ac_try='test -s conftest.$ac_objext'
2724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725   (eval $ac_try) 2>&5
2726   ac_status=$?
2727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728   (exit $ac_status); }; }; then
2729   ac_cv_prog_cc_g=yes
2730 else
2731   echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2733
2734 ac_cv_prog_cc_g=no
2735 fi
2736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2737 fi
2738 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2739 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2740 if test "$ac_test_CFLAGS" = set; then
2741   CFLAGS=$ac_save_CFLAGS
2742 elif test $ac_cv_prog_cc_g = yes; then
2743   if test "$GCC" = yes; then
2744     CFLAGS="-g -O2"
2745   else
2746     CFLAGS="-g"
2747   fi
2748 else
2749   if test "$GCC" = yes; then
2750     CFLAGS="-O2"
2751   else
2752     CFLAGS=
2753   fi
2754 fi
2755 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2756 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2757 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2758   echo $ECHO_N "(cached) $ECHO_C" >&6
2759 else
2760   ac_cv_prog_cc_stdc=no
2761 ac_save_CC=$CC
2762 cat >conftest.$ac_ext <<_ACEOF
2763 /* confdefs.h.  */
2764 _ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h.  */
2768 #include <stdarg.h>
2769 #include <stdio.h>
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2776      char **p;
2777      int i;
2778 {
2779   return p[i];
2780 }
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2782 {
2783   char *s;
2784   va_list v;
2785   va_start (v,p);
2786   s = g (p, va_arg (v,int));
2787   va_end (v);
2788   return s;
2789 }
2790
2791 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2792    function prototypes and stuff, but not '\xHH' hex character constants.
2793    These don't provoke an error unfortunately, instead are silently treated
2794    as 'x'.  The following induces an error, until -std1 is added to get
2795    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2796    array size at least.  It's necessary to write '\x00'==0 to get something
2797    that's true only with -std1.  */
2798 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2799
2800 int test (int i, double x);
2801 struct s1 {int (*f) (int a);};
2802 struct s2 {int (*f) (double a);};
2803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2804 int argc;
2805 char **argv;
2806 int
2807 main ()
2808 {
2809 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2810   ;
2811   return 0;
2812 }
2813 _ACEOF
2814 # Don't try gcc -ansi; that turns off useful extensions and
2815 # breaks some systems' header files.
2816 # AIX                   -qlanglvl=ansi
2817 # Ultrix and OSF/1      -std1
2818 # HP-UX 10.20 and later -Ae
2819 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2820 # SVR4                  -Xc -D__EXTENSIONS__
2821 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2822 do
2823   CC="$ac_save_CC $ac_arg"
2824   rm -f conftest.$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826   (eval $ac_compile) 2>conftest.er1
2827   ac_status=$?
2828   grep -v '^ *+' conftest.er1 >conftest.err
2829   rm -f conftest.er1
2830   cat conftest.err >&5
2831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832   (exit $ac_status); } &&
2833          { ac_try='test -z "$ac_c_werror_flag"
2834                          || test ! -s conftest.err'
2835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836   (eval $ac_try) 2>&5
2837   ac_status=$?
2838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839   (exit $ac_status); }; } &&
2840          { ac_try='test -s conftest.$ac_objext'
2841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842   (eval $ac_try) 2>&5
2843   ac_status=$?
2844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845   (exit $ac_status); }; }; then
2846   ac_cv_prog_cc_stdc=$ac_arg
2847 break
2848 else
2849   echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2851
2852 fi
2853 rm -f conftest.err conftest.$ac_objext
2854 done
2855 rm -f conftest.$ac_ext conftest.$ac_objext
2856 CC=$ac_save_CC
2857
2858 fi
2859
2860 case "x$ac_cv_prog_cc_stdc" in
2861   x|xno)
2862     echo "$as_me:$LINENO: result: none needed" >&5
2863 echo "${ECHO_T}none needed" >&6 ;;
2864   *)
2865     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2866 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2867     CC="$CC $ac_cv_prog_cc_stdc" ;;
2868 esac
2869
2870 # Some people use a C++ compiler to compile C.  Since we use `exit',
2871 # in C++ we need to declare it.  In case someone uses the same compiler
2872 # for both compiling C and C++ we need to have the C++ compiler decide
2873 # the declaration of exit, since it's the most demanding environment.
2874 cat >conftest.$ac_ext <<_ACEOF
2875 #ifndef __cplusplus
2876   choke me
2877 #endif
2878 _ACEOF
2879 rm -f conftest.$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881   (eval $ac_compile) 2>conftest.er1
2882   ac_status=$?
2883   grep -v '^ *+' conftest.er1 >conftest.err
2884   rm -f conftest.er1
2885   cat conftest.err >&5
2886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887   (exit $ac_status); } &&
2888          { ac_try='test -z "$ac_c_werror_flag"
2889                          || test ! -s conftest.err'
2890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891   (eval $ac_try) 2>&5
2892   ac_status=$?
2893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894   (exit $ac_status); }; } &&
2895          { ac_try='test -s conftest.$ac_objext'
2896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897   (eval $ac_try) 2>&5
2898   ac_status=$?
2899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900   (exit $ac_status); }; }; then
2901   for ac_declaration in \
2902    '' \
2903    'extern "C" void std::exit (int) throw (); using std::exit;' \
2904    'extern "C" void std::exit (int); using std::exit;' \
2905    'extern "C" void exit (int) throw ();' \
2906    'extern "C" void exit (int);' \
2907    'void exit (int);'
2908 do
2909   cat >conftest.$ac_ext <<_ACEOF
2910 /* confdefs.h.  */
2911 _ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h.  */
2915 $ac_declaration
2916 #include <stdlib.h>
2917 int
2918 main ()
2919 {
2920 exit (42);
2921   ;
2922   return 0;
2923 }
2924 _ACEOF
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927   (eval $ac_compile) 2>conftest.er1
2928   ac_status=$?
2929   grep -v '^ *+' conftest.er1 >conftest.err
2930   rm -f conftest.er1
2931   cat conftest.err >&5
2932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933   (exit $ac_status); } &&
2934          { ac_try='test -z "$ac_c_werror_flag"
2935                          || test ! -s conftest.err'
2936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937   (eval $ac_try) 2>&5
2938   ac_status=$?
2939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940   (exit $ac_status); }; } &&
2941          { ac_try='test -s conftest.$ac_objext'
2942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943   (eval $ac_try) 2>&5
2944   ac_status=$?
2945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946   (exit $ac_status); }; }; then
2947   :
2948 else
2949   echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2951
2952 continue
2953 fi
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955   cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h.  */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h.  */
2961 $ac_declaration
2962 int
2963 main ()
2964 {
2965 exit (42);
2966   ;
2967   return 0;
2968 }
2969 _ACEOF
2970 rm -f conftest.$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972   (eval $ac_compile) 2>conftest.er1
2973   ac_status=$?
2974   grep -v '^ *+' conftest.er1 >conftest.err
2975   rm -f conftest.er1
2976   cat conftest.err >&5
2977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978   (exit $ac_status); } &&
2979          { ac_try='test -z "$ac_c_werror_flag"
2980                          || test ! -s conftest.err'
2981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982   (eval $ac_try) 2>&5
2983   ac_status=$?
2984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985   (exit $ac_status); }; } &&
2986          { ac_try='test -s conftest.$ac_objext'
2987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988   (eval $ac_try) 2>&5
2989   ac_status=$?
2990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991   (exit $ac_status); }; }; then
2992   break
2993 else
2994   echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2996
2997 fi
2998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 done
3000 rm -f conftest*
3001 if test -n "$ac_declaration"; then
3002   echo '#ifdef __cplusplus' >>confdefs.h
3003   echo $ac_declaration      >>confdefs.h
3004   echo '#endif'             >>confdefs.h
3005 fi
3006
3007 else
3008   echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3010
3011 fi
3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ac_ext=c
3014 ac_cpp='$CPP $CPPFLAGS'
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3018
3019   ac_ext=cc
3020 ac_cpp='$CXXCPP $CPPFLAGS'
3021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3024 if test -n "$ac_tool_prefix"; then
3025   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3026   do
3027     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3028 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3029 echo "$as_me:$LINENO: checking for $ac_word" >&5
3030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3031 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3032   echo $ECHO_N "(cached) $ECHO_C" >&6
3033 else
3034   if test -n "$CXX"; then
3035   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3036 else
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3039 do
3040   IFS=$as_save_IFS
3041   test -z "$as_dir" && as_dir=.
3042   for ac_exec_ext in '' $ac_executable_extensions; do
3043   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3045     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046     break 2
3047   fi
3048 done
3049 done
3050
3051 fi
3052 fi
3053 CXX=$glibcxx_cv_prog_CXX
3054 if test -n "$CXX"; then
3055   echo "$as_me:$LINENO: result: $CXX" >&5
3056 echo "${ECHO_T}$CXX" >&6
3057 else
3058   echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6
3060 fi
3061
3062     test -n "$CXX" && break
3063   done
3064 fi
3065 if test -z "$CXX"; then
3066   ac_ct_CXX=$CXX
3067   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3068 do
3069   # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 echo "$as_me:$LINENO: checking for $ac_word" >&5
3072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3073 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3074   echo $ECHO_N "(cached) $ECHO_C" >&6
3075 else
3076   if test -n "$ac_ct_CXX"; then
3077   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3081 do
3082   IFS=$as_save_IFS
3083   test -z "$as_dir" && as_dir=.
3084   for ac_exec_ext in '' $ac_executable_extensions; do
3085   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086     ac_cv_prog_ac_ct_CXX="$ac_prog"
3087     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088     break 2
3089   fi
3090 done
3091 done
3092
3093 fi
3094 fi
3095 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3096 if test -n "$ac_ct_CXX"; then
3097   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3098 echo "${ECHO_T}$ac_ct_CXX" >&6
3099 else
3100   echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3102 fi
3103
3104   test -n "$ac_ct_CXX" && break
3105 done
3106 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3107
3108   CXX=$ac_ct_CXX
3109 fi
3110
3111
3112 # Provide some information about the compiler.
3113 echo "$as_me:$LINENO:" \
3114      "checking for C++ compiler version" >&5
3115 ac_compiler=`set X $ac_compile; echo $2`
3116 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3117   (eval $ac_compiler --version </dev/null >&5) 2>&5
3118   ac_status=$?
3119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120   (exit $ac_status); }
3121 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3122   (eval $ac_compiler -v </dev/null >&5) 2>&5
3123   ac_status=$?
3124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125   (exit $ac_status); }
3126 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3127   (eval $ac_compiler -V </dev/null >&5) 2>&5
3128   ac_status=$?
3129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130   (exit $ac_status); }
3131
3132 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3133 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3134 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3135   echo $ECHO_N "(cached) $ECHO_C" >&6
3136 else
3137   cat >conftest.$ac_ext <<_ACEOF
3138 /* confdefs.h.  */
3139 _ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h.  */
3143
3144 int
3145 main ()
3146 {
3147 #ifndef __GNUC__
3148        choke me
3149 #endif
3150
3151   ;
3152   return 0;
3153 }
3154 _ACEOF
3155 rm -f conftest.$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157   (eval $ac_compile) 2>conftest.er1
3158   ac_status=$?
3159   grep -v '^ *+' conftest.er1 >conftest.err
3160   rm -f conftest.er1
3161   cat conftest.err >&5
3162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163   (exit $ac_status); } &&
3164          { ac_try='test -z "$ac_cxx_werror_flag"
3165                          || test ! -s conftest.err'
3166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167   (eval $ac_try) 2>&5
3168   ac_status=$?
3169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170   (exit $ac_status); }; } &&
3171          { ac_try='test -s conftest.$ac_objext'
3172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173   (eval $ac_try) 2>&5
3174   ac_status=$?
3175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176   (exit $ac_status); }; }; then
3177   ac_compiler_gnu=yes
3178 else
3179   echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3181
3182 ac_compiler_gnu=no
3183 fi
3184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3186
3187 fi
3188 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3189 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3190 GXX=`test $ac_compiler_gnu = yes && echo yes`
3191 ac_test_CXXFLAGS=${CXXFLAGS+set}
3192 ac_save_CXXFLAGS=$CXXFLAGS
3193 CXXFLAGS="-g"
3194 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3195 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3196 if test "${ac_cv_prog_cxx_g+set}" = set; then
3197   echo $ECHO_N "(cached) $ECHO_C" >&6
3198 else
3199   cat >conftest.$ac_ext <<_ACEOF
3200 /* confdefs.h.  */
3201 _ACEOF
3202 cat confdefs.h >>conftest.$ac_ext
3203 cat >>conftest.$ac_ext <<_ACEOF
3204 /* end confdefs.h.  */
3205
3206 int
3207 main ()
3208 {
3209
3210   ;
3211   return 0;
3212 }
3213 _ACEOF
3214 rm -f conftest.$ac_objext
3215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3216   (eval $ac_compile) 2>conftest.er1
3217   ac_status=$?
3218   grep -v '^ *+' conftest.er1 >conftest.err
3219   rm -f conftest.er1
3220   cat conftest.err >&5
3221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222   (exit $ac_status); } &&
3223          { ac_try='test -z "$ac_cxx_werror_flag"
3224                          || test ! -s conftest.err'
3225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226   (eval $ac_try) 2>&5
3227   ac_status=$?
3228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229   (exit $ac_status); }; } &&
3230          { ac_try='test -s conftest.$ac_objext'
3231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232   (eval $ac_try) 2>&5
3233   ac_status=$?
3234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235   (exit $ac_status); }; }; then
3236   ac_cv_prog_cxx_g=yes
3237 else
3238   echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3240
3241 ac_cv_prog_cxx_g=no
3242 fi
3243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3244 fi
3245 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3246 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3247 if test "$ac_test_CXXFLAGS" = set; then
3248   CXXFLAGS=$ac_save_CXXFLAGS
3249 elif test $ac_cv_prog_cxx_g = yes; then
3250   if test "$GXX" = yes; then
3251     CXXFLAGS="-g -O2"
3252   else
3253     CXXFLAGS="-g"
3254   fi
3255 else
3256   if test "$GXX" = yes; then
3257     CXXFLAGS="-O2"
3258   else
3259     CXXFLAGS=
3260   fi
3261 fi
3262 for ac_declaration in \
3263    '' \
3264    'extern "C" void std::exit (int) throw (); using std::exit;' \
3265    'extern "C" void std::exit (int); using std::exit;' \
3266    'extern "C" void exit (int) throw ();' \
3267    'extern "C" void exit (int);' \
3268    'void exit (int);'
3269 do
3270   cat >conftest.$ac_ext <<_ACEOF
3271 /* confdefs.h.  */
3272 _ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h.  */
3276 $ac_declaration
3277 #include <stdlib.h>
3278 int
3279 main ()
3280 {
3281 exit (42);
3282   ;
3283   return 0;
3284 }
3285 _ACEOF
3286 rm -f conftest.$ac_objext
3287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3288   (eval $ac_compile) 2>conftest.er1
3289   ac_status=$?
3290   grep -v '^ *+' conftest.er1 >conftest.err
3291   rm -f conftest.er1
3292   cat conftest.err >&5
3293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294   (exit $ac_status); } &&
3295          { ac_try='test -z "$ac_cxx_werror_flag"
3296                          || test ! -s conftest.err'
3297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298   (eval $ac_try) 2>&5
3299   ac_status=$?
3300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301   (exit $ac_status); }; } &&
3302          { ac_try='test -s conftest.$ac_objext'
3303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304   (eval $ac_try) 2>&5
3305   ac_status=$?
3306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307   (exit $ac_status); }; }; then
3308   :
3309 else
3310   echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3312
3313 continue
3314 fi
3315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3316   cat >conftest.$ac_ext <<_ACEOF
3317 /* confdefs.h.  */
3318 _ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h.  */
3322 $ac_declaration
3323 int
3324 main ()
3325 {
3326 exit (42);
3327   ;
3328   return 0;
3329 }
3330 _ACEOF
3331 rm -f conftest.$ac_objext
3332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333   (eval $ac_compile) 2>conftest.er1
3334   ac_status=$?
3335   grep -v '^ *+' conftest.er1 >conftest.err
3336   rm -f conftest.er1
3337   cat conftest.err >&5
3338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339   (exit $ac_status); } &&
3340          { ac_try='test -z "$ac_cxx_werror_flag"
3341                          || test ! -s conftest.err'
3342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343   (eval $ac_try) 2>&5
3344   ac_status=$?
3345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346   (exit $ac_status); }; } &&
3347          { ac_try='test -s conftest.$ac_objext'
3348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349   (eval $ac_try) 2>&5
3350   ac_status=$?
3351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352   (exit $ac_status); }; }; then
3353   break
3354 else
3355   echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.$ac_ext >&5
3357
3358 fi
3359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3360 done
3361 rm -f conftest*
3362 if test -n "$ac_declaration"; then
3363   echo '#ifdef __cplusplus' >>confdefs.h
3364   echo $ac_declaration      >>confdefs.h
3365   echo '#endif'             >>confdefs.h
3366 fi
3367
3368 ac_ext=c
3369 ac_cpp='$CPP $CPPFLAGS'
3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3373
3374   CXXFLAGS="$save_CXXFLAGS"
3375
3376
3377
3378
3379   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3380   # available).  Uncomment the next line to force a particular method.
3381   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3382 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3383 LN_S=$as_ln_s
3384 if test "$LN_S" = "ln -s"; then
3385   echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3387 else
3388   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3389 echo "${ECHO_T}no, using $LN_S" >&6
3390 fi
3391
3392   #LN_S='cp -p'
3393
3394   if test -n "$ac_tool_prefix"; then
3395   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3396 set dummy ${ac_tool_prefix}as; ac_word=$2
3397 echo "$as_me:$LINENO: checking for $ac_word" >&5
3398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3399 if test "${ac_cv_prog_AS+set}" = set; then
3400   echo $ECHO_N "(cached) $ECHO_C" >&6
3401 else
3402   if test -n "$AS"; then
3403   ac_cv_prog_AS="$AS" # Let the user override the test.
3404 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3407 do
3408   IFS=$as_save_IFS
3409   test -z "$as_dir" && as_dir=.
3410   for ac_exec_ext in '' $ac_executable_extensions; do
3411   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412     ac_cv_prog_AS="${ac_tool_prefix}as"
3413     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3414     break 2
3415   fi
3416 done
3417 done
3418
3419 fi
3420 fi
3421 AS=$ac_cv_prog_AS
3422 if test -n "$AS"; then
3423   echo "$as_me:$LINENO: result: $AS" >&5
3424 echo "${ECHO_T}$AS" >&6
3425 else
3426   echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 fi
3429
3430 fi
3431 if test -z "$ac_cv_prog_AS"; then
3432   ac_ct_AS=$AS
3433   # Extract the first word of "as", so it can be a program name with args.
3434 set dummy as; ac_word=$2
3435 echo "$as_me:$LINENO: checking for $ac_word" >&5
3436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3437 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3438   echo $ECHO_N "(cached) $ECHO_C" >&6
3439 else
3440   if test -n "$ac_ct_AS"; then
3441   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH
3445 do
3446   IFS=$as_save_IFS
3447   test -z "$as_dir" && as_dir=.
3448   for ac_exec_ext in '' $ac_executable_extensions; do
3449   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450     ac_cv_prog_ac_ct_AS="as"
3451     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3452     break 2
3453   fi
3454 done
3455 done
3456
3457 fi
3458 fi
3459 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3460 if test -n "$ac_ct_AS"; then
3461   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3462 echo "${ECHO_T}$ac_ct_AS" >&6
3463 else
3464   echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3466 fi
3467
3468   AS=$ac_ct_AS
3469 else
3470   AS="$ac_cv_prog_AS"
3471 fi
3472
3473   if test -n "$ac_tool_prefix"; then
3474   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3475 set dummy ${ac_tool_prefix}ar; ac_word=$2
3476 echo "$as_me:$LINENO: checking for $ac_word" >&5
3477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3478 if test "${ac_cv_prog_AR+set}" = set; then
3479   echo $ECHO_N "(cached) $ECHO_C" >&6
3480 else
3481   if test -n "$AR"; then
3482   ac_cv_prog_AR="$AR" # Let the user override the test.
3483 else
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 for as_dir in $PATH
3486 do
3487   IFS=$as_save_IFS
3488   test -z "$as_dir" && as_dir=.
3489   for ac_exec_ext in '' $ac_executable_extensions; do
3490   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3491     ac_cv_prog_AR="${ac_tool_prefix}ar"
3492     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493     break 2
3494   fi
3495 done
3496 done
3497
3498 fi
3499 fi
3500 AR=$ac_cv_prog_AR
3501 if test -n "$AR"; then
3502   echo "$as_me:$LINENO: result: $AR" >&5
3503 echo "${ECHO_T}$AR" >&6
3504 else
3505   echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6
3507 fi
3508
3509 fi
3510 if test -z "$ac_cv_prog_AR"; then
3511   ac_ct_AR=$AR
3512   # Extract the first word of "ar", so it can be a program name with args.
3513 set dummy ar; ac_word=$2
3514 echo "$as_me:$LINENO: checking for $ac_word" >&5
3515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3516 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3517   echo $ECHO_N "(cached) $ECHO_C" >&6
3518 else
3519   if test -n "$ac_ct_AR"; then
3520   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3521 else
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523 for as_dir in $PATH
3524 do
3525   IFS=$as_save_IFS
3526   test -z "$as_dir" && as_dir=.
3527   for ac_exec_ext in '' $ac_executable_extensions; do
3528   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529     ac_cv_prog_ac_ct_AR="ar"
3530     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3531     break 2
3532   fi
3533 done
3534 done
3535
3536 fi
3537 fi
3538 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3539 if test -n "$ac_ct_AR"; then
3540   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3541 echo "${ECHO_T}$ac_ct_AR" >&6
3542 else
3543   echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3545 fi
3546
3547   AR=$ac_ct_AR
3548 else
3549   AR="$ac_cv_prog_AR"
3550 fi
3551
3552   if test -n "$ac_tool_prefix"; then
3553   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3554 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3555 echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3557 if test "${ac_cv_prog_RANLIB+set}" = set; then
3558   echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560   if test -n "$RANLIB"; then
3561   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3562 else
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH
3565 do
3566   IFS=$as_save_IFS
3567   test -z "$as_dir" && as_dir=.
3568   for ac_exec_ext in '' $ac_executable_extensions; do
3569   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3571     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3572     break 2
3573   fi
3574 done
3575 done
3576
3577 fi
3578 fi
3579 RANLIB=$ac_cv_prog_RANLIB
3580 if test -n "$RANLIB"; then
3581   echo "$as_me:$LINENO: result: $RANLIB" >&5
3582 echo "${ECHO_T}$RANLIB" >&6
3583 else
3584   echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3586 fi
3587
3588 fi
3589 if test -z "$ac_cv_prog_RANLIB"; then
3590   ac_ct_RANLIB=$RANLIB
3591   # Extract the first word of "ranlib", so it can be a program name with args.
3592 set dummy ranlib; ac_word=$2
3593 echo "$as_me:$LINENO: checking for $ac_word" >&5
3594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3595 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3596   echo $ECHO_N "(cached) $ECHO_C" >&6
3597 else
3598   if test -n "$ac_ct_RANLIB"; then
3599   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3603 do
3604   IFS=$as_save_IFS
3605   test -z "$as_dir" && as_dir=.
3606   for ac_exec_ext in '' $ac_executable_extensions; do
3607   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608     ac_cv_prog_ac_ct_RANLIB="ranlib"
3609     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3610     break 2
3611   fi
3612 done
3613 done
3614
3615   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3616 fi
3617 fi
3618 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3619 if test -n "$ac_ct_RANLIB"; then
3620   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3621 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3622 else
3623   echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3625 fi
3626
3627   RANLIB=$ac_ct_RANLIB
3628 else
3629   RANLIB="$ac_cv_prog_RANLIB"
3630 fi
3631
3632
3633   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3634 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3635     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3636 if test "${enable_maintainer_mode+set}" = set; then
3637   enableval="$enable_maintainer_mode"
3638   USE_MAINTAINER_MODE=$enableval
3639 else
3640   USE_MAINTAINER_MODE=no
3641 fi;
3642   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3643 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3644
3645
3646 if test $USE_MAINTAINER_MODE = yes; then
3647   MAINTAINER_MODE_TRUE=
3648   MAINTAINER_MODE_FALSE='#'
3649 else
3650   MAINTAINER_MODE_TRUE='#'
3651   MAINTAINER_MODE_FALSE=
3652 fi
3653
3654   MAINT=$MAINTAINER_MODE_TRUE
3655
3656
3657
3658   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3659   # which are themselves conditionally expanded.
3660   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3661   ## other macros from doing the same.  This should be automated.)  -pme
3662   need_libmath=no
3663
3664   # Find platform-specific directories containing configuration info.
3665   # Also possibly modify flags used elsewhere, as needed by the platform.
3666
3667   . $glibcxx_srcdir/configure.host
3668   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3669 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3670   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3671 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3672
3673
3674
3675
3676 # Check whether --enable-shared or --disable-shared was given.
3677 if test "${enable_shared+set}" = set; then
3678   enableval="$enable_shared"
3679   p=${PACKAGE-default}
3680 case $enableval in
3681 yes) enable_shared=yes ;;
3682 no) enable_shared=no ;;
3683 *)
3684   enable_shared=no
3685   # Look at the argument we got.  We use all the common list separators.
3686   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3687   for pkg in $enableval; do
3688     if test "X$pkg" = "X$p"; then
3689       enable_shared=yes
3690     fi
3691   done
3692   IFS="$ac_save_ifs"
3693   ;;
3694 esac
3695 else
3696   enable_shared=yes
3697 fi;
3698 # Check whether --enable-static or --disable-static was given.
3699 if test "${enable_static+set}" = set; then
3700   enableval="$enable_static"
3701   p=${PACKAGE-default}
3702 case $enableval in
3703 yes) enable_static=yes ;;
3704 no) enable_static=no ;;
3705 *)
3706   enable_static=no
3707   # Look at the argument we got.  We use all the common list separators.
3708   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3709   for pkg in $enableval; do
3710     if test "X$pkg" = "X$p"; then
3711       enable_static=yes
3712     fi
3713   done
3714   IFS="$ac_save_ifs"
3715   ;;
3716 esac
3717 else
3718   enable_static=yes
3719 fi;
3720 # Check whether --enable-fast-install or --disable-fast-install was given.
3721 if test "${enable_fast_install+set}" = set; then
3722   enableval="$enable_fast_install"
3723   p=${PACKAGE-default}
3724 case $enableval in
3725 yes) enable_fast_install=yes ;;
3726 no) enable_fast_install=no ;;
3727 *)
3728   enable_fast_install=no
3729   # Look at the argument we got.  We use all the common list separators.
3730   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3731   for pkg in $enableval; do
3732     if test "X$pkg" = "X$p"; then
3733       enable_fast_install=yes
3734     fi
3735   done
3736   IFS="$ac_save_ifs"
3737   ;;
3738 esac
3739 else
3740   enable_fast_install=yes
3741 fi;
3742
3743 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3744 if test "${with_gnu_ld+set}" = set; then
3745   withval="$with_gnu_ld"
3746   test "$withval" = no || with_gnu_ld=yes
3747 else
3748   with_gnu_ld=no
3749 fi;
3750 ac_prog=ld
3751 if test "$GCC" = yes; then
3752   # Check if gcc -print-prog-name=ld gives a path.
3753   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3754 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3755   case $host in
3756   *-*-mingw*)
3757     # gcc leaves a trailing carriage return which upsets mingw
3758     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3759   *)
3760     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3761   esac
3762   case $ac_prog in
3763     # Accept absolute paths.
3764     [\\/]* | [A-Za-z]:[\\/]*)
3765       re_direlt='/[^/][^/]*/\.\./'
3766       # Canonicalize the path of ld
3767       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3768       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3769         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3770       done
3771       test -z "$LD" && LD="$ac_prog"
3772       ;;
3773   "")
3774     # If it fails, then pretend we aren't using GCC.
3775     ac_prog=ld
3776     ;;
3777   *)
3778     # If it is relative, then search for the first ld in PATH.
3779     with_gnu_ld=unknown
3780     ;;
3781   esac
3782 elif test "$with_gnu_ld" = yes; then
3783   echo "$as_me:$LINENO: checking for GNU ld" >&5
3784 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3785 else
3786   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3787 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3788 fi
3789 if test "${lt_cv_path_LD+set}" = set; then
3790   echo $ECHO_N "(cached) $ECHO_C" >&6
3791 else
3792   if test -z "$LD"; then
3793   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3794   for ac_dir in $PATH; do
3795     test -z "$ac_dir" && ac_dir=.
3796     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3797       lt_cv_path_LD="$ac_dir/$ac_prog"
3798       # Check to see if the program is GNU ld.  I'd rather use --version,
3799       # but apparently some GNU ld's only accept -v.
3800       # Break only if it was the GNU/non-GNU ld that we prefer.
3801       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3802         test "$with_gnu_ld" != no && break
3803       else
3804         test "$with_gnu_ld" != yes && break
3805       fi
3806     fi
3807   done
3808   IFS="$ac_save_ifs"
3809 else
3810   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3811 fi
3812 fi
3813
3814 LD="$lt_cv_path_LD"
3815 if test -n "$LD"; then
3816   echo "$as_me:$LINENO: result: $LD" >&5
3817 echo "${ECHO_T}$LD" >&6
3818 else
3819   echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3821 fi
3822 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3823 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3824    { (exit 1); exit 1; }; }
3825 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3826 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3827 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3828   echo $ECHO_N "(cached) $ECHO_C" >&6
3829 else
3830   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3831 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3832   lt_cv_prog_gnu_ld=yes
3833 else
3834   lt_cv_prog_gnu_ld=no
3835 fi
3836 fi
3837 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3838 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3839 with_gnu_ld=$lt_cv_prog_gnu_ld
3840
3841
3842 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3843 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3844 if test "${lt_cv_ld_reload_flag+set}" = set; then
3845   echo $ECHO_N "(cached) $ECHO_C" >&6
3846 else
3847   lt_cv_ld_reload_flag='-r'
3848 fi
3849 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3850 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3851 reload_flag=$lt_cv_ld_reload_flag
3852 test -n "$reload_flag" && reload_flag=" $reload_flag"
3853
3854 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3855 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3856 if test "${lt_cv_path_NM+set}" = set; then
3857   echo $ECHO_N "(cached) $ECHO_C" >&6
3858 else
3859   if test -n "$NM"; then
3860   # Let the user override the test.
3861   lt_cv_path_NM="$NM"
3862 else
3863   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3864   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3865     test -z "$ac_dir" && ac_dir=.
3866     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3867     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3868       # Check to see if the nm accepts a BSD-compat flag.
3869       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3870       #   nm: unknown option "B" ignored
3871       # Tru64's nm complains that /dev/null is an invalid object file
3872       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3873         lt_cv_path_NM="$tmp_nm -B"
3874         break
3875       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3876         lt_cv_path_NM="$tmp_nm -p"
3877         break
3878       else
3879         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3880         continue # so that we can try to find one that supports BSD flags
3881       fi
3882     fi
3883   done
3884   IFS="$ac_save_ifs"
3885   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3886 fi
3887 fi
3888
3889 NM="$lt_cv_path_NM"
3890 echo "$as_me:$LINENO: result: $NM" >&5
3891 echo "${ECHO_T}$NM" >&6
3892
3893 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3894 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3895 if test "${lt_cv_deplibs_check_method+set}" = set; then
3896   echo $ECHO_N "(cached) $ECHO_C" >&6
3897 else
3898   lt_cv_file_magic_cmd='$MAGIC_CMD'
3899 lt_cv_file_magic_test_file=
3900 lt_cv_deplibs_check_method='unknown'
3901 # Need to set the preceding variable on all platforms that support
3902 # interlibrary dependencies.
3903 # 'none' -- dependencies not supported.
3904 # `unknown' -- same as none, but documents that we really don't know.
3905 # 'pass_all' -- all dependencies passed with no checks.
3906 # 'test_compile' -- check by making test program.
3907 # 'file_magic [regex]' -- check by looking for files in library path
3908 # which responds to the $file_magic_cmd with a given egrep regex.
3909 # If you have `file' or equivalent on your system and you're not sure
3910 # whether `pass_all' will *always* work, you probably want this one.
3911
3912 case $host_os in
3913 aix*)
3914   lt_cv_deplibs_check_method=pass_all
3915   ;;
3916
3917 beos*)
3918   lt_cv_deplibs_check_method=pass_all
3919   ;;
3920
3921 bsdi4*)
3922   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3923   lt_cv_file_magic_cmd='/usr/bin/file -L'
3924   lt_cv_file_magic_test_file=/shlib/libc.so
3925   ;;
3926
3927 cygwin* | mingw* |pw32*)
3928   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3929   lt_cv_file_magic_cmd='$OBJDUMP -f'
3930   ;;
3931
3932 darwin* | rhapsody*)
3933   # this will be overwritten by pass_all, but leave it in just in case
3934   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3935   lt_cv_file_magic_cmd='/usr/bin/file -L'
3936   case "$host_os" in
3937   rhapsody* | darwin1.012)
3938     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3939     ;;
3940   *) # Darwin 1.3 on
3941     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3942     ;;
3943   esac
3944   lt_cv_deplibs_check_method=pass_all
3945   ;;
3946
3947 freebsd* | kfreebsd*-gnu)
3948   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3949     case $host_cpu in
3950     i*86 )
3951       # Not sure whether the presence of OpenBSD here was a mistake.
3952       # Let's accept both of them until this is cleared up.
3953       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3954       lt_cv_file_magic_cmd=/usr/bin/file
3955       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3956       ;;
3957     esac
3958   else
3959     lt_cv_deplibs_check_method=pass_all
3960   fi
3961   ;;
3962
3963 gnu*)
3964   lt_cv_deplibs_check_method=pass_all
3965   ;;
3966
3967 hpux10.20*|hpux11*)
3968   case $host_cpu in
3969   hppa*)
3970     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3971     lt_cv_file_magic_cmd=/usr/bin/file
3972     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3973     ;;
3974   ia64*)
3975     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3976     lt_cv_file_magic_cmd=/usr/bin/file
3977     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3978     ;;
3979   esac
3980   ;;
3981
3982 irix5* | irix6*)
3983   case $host_os in
3984   irix5*)
3985     # this will be overridden with pass_all, but let us keep it just in case
3986     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3987     ;;
3988   *)
3989     case $LD in
3990     *-32|*"-32 ") libmagic=32-bit;;
3991     *-n32|*"-n32 ") libmagic=N32;;
3992     *-64|*"-64 ") libmagic=64-bit;;
3993     *) libmagic=never-match;;
3994     esac
3995     # this will be overridden with pass_all, but let us keep it just in case
3996     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3997     ;;
3998   esac
3999   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4000   lt_cv_deplibs_check_method=pass_all
4001   ;;
4002
4003 # This must be Linux ELF.
4004 linux-gnu*)
4005   lt_cv_deplibs_check_method=pass_all
4006   ;;
4007
4008 netbsd* | knetbsd*-gnu)
4009   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4010     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4011   else
4012     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4013   fi
4014   ;;
4015
4016 newsos6)
4017   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4018   lt_cv_file_magic_cmd=/usr/bin/file
4019   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4020   ;;
4021
4022 osf3* | osf4* | osf5*)
4023   # this will be overridden with pass_all, but let us keep it just in case
4024   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4025   lt_cv_file_magic_test_file=/shlib/libc.so
4026   lt_cv_deplibs_check_method=pass_all
4027   ;;
4028
4029 sco3.2v5*)
4030   lt_cv_deplibs_check_method=pass_all
4031   ;;
4032
4033 solaris*)
4034   lt_cv_deplibs_check_method=pass_all
4035   lt_cv_file_magic_test_file=/lib/libc.so
4036   ;;
4037
4038 sysv5uw[78]* | sysv4*uw2*)
4039   lt_cv_deplibs_check_method=pass_all
4040   ;;
4041
4042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4043   case $host_vendor in
4044   ncr)
4045     lt_cv_deplibs_check_method=pass_all
4046     ;;
4047   motorola)
4048     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]'
4049     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4050     ;;
4051   esac
4052   ;;
4053 esac
4054
4055 fi
4056 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4057 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4058 file_magic_cmd=$lt_cv_file_magic_cmd
4059 deplibs_check_method=$lt_cv_deplibs_check_method
4060
4061
4062
4063
4064
4065 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4066
4067 # find the maximum length of command line arguments
4068 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4069 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4070 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4071   echo $ECHO_N "(cached) $ECHO_C" >&6
4072 else
4073     i=0
4074   teststring="ABCD"
4075
4076   case $build_os in
4077   msdosdjgpp*)
4078     # On DJGPP, this test can blow up pretty badly due to problems in libc
4079     # (any single argument exceeding 2000 bytes causes a buffer overrun
4080     # during glob expansion).  Even if it were fixed, the result of this
4081     # check would be larger than it should be.
4082     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4083     ;;
4084
4085   cygwin* | mingw*)
4086     # On Win9x/ME, this test blows up -- it succeeds, but takes
4087     # about 5 minutes as the teststring grows exponentially.
4088     # Worse, since 9x/ME are not pre-emptively multitasking,
4089     # you end up with a "frozen" computer, even though with patience
4090     # the test eventually succeeds (with a max line length of 256k).
4091     # Instead, let's just punt: use the minimum linelength reported by
4092     # all of the supported platforms: 8192 (on NT/2K/XP).
4093     lt_cv_sys_max_cmd_len=8192;
4094     ;;
4095
4096   amigaos*)
4097     # On AmigaOS with pdksh, this test takes hours, literally.
4098     # So we just punt and use a minimum line length of 8192.
4099     lt_cv_sys_max_cmd_len=8192;
4100     ;;
4101
4102   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4103     # This has been around since 386BSD, at least.  Likely further.
4104     if test -x /sbin/sysctl; then
4105       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4106     elif test -x /usr/sbin/sysctl; then
4107       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4108     else
4109       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4110     fi
4111     # And add a safety zone
4112     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4113     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4114     ;;
4115   esac
4116
4117 fi
4118
4119 if test -n "$lt_cv_sys_max_cmd_len" ; then
4120   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4121 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4122 else
4123   echo "$as_me:$LINENO: result: none" >&5
4124 echo "${ECHO_T}none" >&6
4125 fi
4126
4127
4128 # Only perform the check for file, if the check method requires it
4129 case $deplibs_check_method in
4130 file_magic*)
4131   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4132     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4133 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4134 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4135   echo $ECHO_N "(cached) $ECHO_C" >&6
4136 else
4137   case $MAGIC_CMD in
4138   /*)
4139   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4140   ;;
4141   ?:/*)
4142   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4143   ;;
4144   *)
4145   ac_save_MAGIC_CMD="$MAGIC_CMD"
4146   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4147   ac_dummy="/usr/bin:$PATH"
4148   for ac_dir in $ac_dummy; do
4149     test -z "$ac_dir" && ac_dir=.
4150     if test -f $ac_dir/${ac_tool_prefix}file; then
4151       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4152       if test -n "$file_magic_test_file"; then
4153         case $deplibs_check_method in
4154         "file_magic "*)
4155           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4156           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4157           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4158             egrep "$file_magic_regex" > /dev/null; then
4159             :
4160           else
4161             cat <<EOF 1>&2
4162
4163 *** Warning: the command libtool uses to detect shared libraries,
4164 *** $file_magic_cmd, produces output that libtool cannot recognize.
4165 *** The result is that libtool may fail to recognize shared libraries
4166 *** as such.  This will affect the creation of libtool libraries that
4167 *** depend on shared libraries, but programs linked with such libtool
4168 *** libraries will work regardless of this problem.  Nevertheless, you
4169 *** may want to report the problem to your system manager and/or to
4170 *** bug-libtool@gnu.org
4171
4172 EOF
4173           fi ;;
4174         esac
4175       fi
4176       break
4177     fi
4178   done
4179   IFS="$ac_save_ifs"
4180   MAGIC_CMD="$ac_save_MAGIC_CMD"
4181   ;;
4182 esac
4183 fi
4184
4185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4186 if test -n "$MAGIC_CMD"; then
4187   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4188 echo "${ECHO_T}$MAGIC_CMD" >&6
4189 else
4190   echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4192 fi
4193
4194 if test -z "$lt_cv_path_MAGIC_CMD"; then
4195   if test -n "$ac_tool_prefix"; then
4196     echo "$as_me:$LINENO: checking for file" >&5
4197 echo $ECHO_N "checking for file... $ECHO_C" >&6
4198 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4199   echo $ECHO_N "(cached) $ECHO_C" >&6
4200 else
4201   case $MAGIC_CMD in
4202   /*)
4203   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4204   ;;
4205   ?:/*)
4206   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4207   ;;
4208   *)
4209   ac_save_MAGIC_CMD="$MAGIC_CMD"
4210   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4211   ac_dummy="/usr/bin:$PATH"
4212   for ac_dir in $ac_dummy; do
4213     test -z "$ac_dir" && ac_dir=.
4214     if test -f $ac_dir/file; then
4215       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4216       if test -n "$file_magic_test_file"; then
4217         case $deplibs_check_method in
4218         "file_magic "*)
4219           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4220           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4221           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4222             egrep "$file_magic_regex" > /dev/null; then
4223             :
4224           else
4225             cat <<EOF 1>&2
4226
4227 *** Warning: the command libtool uses to detect shared libraries,
4228 *** $file_magic_cmd, produces output that libtool cannot recognize.
4229 *** The result is that libtool may fail to recognize shared libraries
4230 *** as such.  This will affect the creation of libtool libraries that
4231 *** depend on shared libraries, but programs linked with such libtool
4232 *** libraries will work regardless of this problem.  Nevertheless, you
4233 *** may want to report the problem to your system manager and/or to
4234 *** bug-libtool@gnu.org
4235
4236 EOF
4237           fi ;;
4238         esac
4239       fi
4240       break
4241     fi
4242   done
4243   IFS="$ac_save_ifs"
4244   MAGIC_CMD="$ac_save_MAGIC_CMD"
4245   ;;
4246 esac
4247 fi
4248
4249 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4250 if test -n "$MAGIC_CMD"; then
4251   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4252 echo "${ECHO_T}$MAGIC_CMD" >&6
4253 else
4254   echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4256 fi
4257
4258   else
4259     MAGIC_CMD=:
4260   fi
4261 fi
4262
4263   fi
4264   ;;
4265 esac
4266
4267 if test -n "$ac_tool_prefix"; then
4268   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4269 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4270 echo "$as_me:$LINENO: checking for $ac_word" >&5
4271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4272 if test "${ac_cv_prog_RANLIB+set}" = set; then
4273   echo $ECHO_N "(cached) $ECHO_C" >&6
4274 else
4275   if test -n "$RANLIB"; then
4276   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4277 else
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH
4280 do
4281   IFS=$as_save_IFS
4282   test -z "$as_dir" && as_dir=.
4283   for ac_exec_ext in '' $ac_executable_extensions; do
4284   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4286     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4287     break 2
4288   fi
4289 done
4290 done
4291
4292 fi
4293 fi
4294 RANLIB=$ac_cv_prog_RANLIB
4295 if test -n "$RANLIB"; then
4296   echo "$as_me:$LINENO: result: $RANLIB" >&5
4297 echo "${ECHO_T}$RANLIB" >&6
4298 else
4299   echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6
4301 fi
4302
4303 fi
4304 if test -z "$ac_cv_prog_RANLIB"; then
4305   ac_ct_RANLIB=$RANLIB
4306   # Extract the first word of "ranlib", so it can be a program name with args.
4307 set dummy ranlib; ac_word=$2
4308 echo "$as_me:$LINENO: checking for $ac_word" >&5
4309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4310 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4311   echo $ECHO_N "(cached) $ECHO_C" >&6
4312 else
4313   if test -n "$ac_ct_RANLIB"; then
4314   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4315 else
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4318 do
4319   IFS=$as_save_IFS
4320   test -z "$as_dir" && as_dir=.
4321   for ac_exec_ext in '' $ac_executable_extensions; do
4322   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4323     ac_cv_prog_ac_ct_RANLIB="ranlib"
4324     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4325     break 2
4326   fi
4327 done
4328 done
4329
4330   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4331 fi
4332 fi
4333 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4334 if test -n "$ac_ct_RANLIB"; then
4335   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4336 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4337 else
4338   echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6
4340 fi
4341
4342   RANLIB=$ac_ct_RANLIB
4343 else
4344   RANLIB="$ac_cv_prog_RANLIB"
4345 fi
4346
4347 if test -n "$ac_tool_prefix"; then
4348   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4349 set dummy ${ac_tool_prefix}strip; ac_word=$2
4350 echo "$as_me:$LINENO: checking for $ac_word" >&5
4351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4352 if test "${ac_cv_prog_STRIP+set}" = set; then
4353   echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355   if test -n "$STRIP"; then
4356   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4357 else
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH
4360 do
4361   IFS=$as_save_IFS
4362   test -z "$as_dir" && as_dir=.
4363   for ac_exec_ext in '' $ac_executable_extensions; do
4364   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4366     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4367     break 2
4368   fi
4369 done
4370 done
4371
4372 fi
4373 fi
4374 STRIP=$ac_cv_prog_STRIP
4375 if test -n "$STRIP"; then
4376   echo "$as_me:$LINENO: result: $STRIP" >&5
4377 echo "${ECHO_T}$STRIP" >&6
4378 else
4379   echo "$as_me:$LINENO: result: no" >&5
4380 echo "${ECHO_T}no" >&6
4381 fi
4382
4383 fi
4384 if test -z "$ac_cv_prog_STRIP"; then
4385   ac_ct_STRIP=$STRIP
4386   # Extract the first word of "strip", so it can be a program name with args.
4387 set dummy strip; ac_word=$2
4388 echo "$as_me:$LINENO: checking for $ac_word" >&5
4389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4390 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4391   echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393   if test -n "$ac_ct_STRIP"; then
4394   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4395 else
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 for as_dir in $PATH
4398 do
4399   IFS=$as_save_IFS
4400   test -z "$as_dir" && as_dir=.
4401   for ac_exec_ext in '' $ac_executable_extensions; do
4402   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4403     ac_cv_prog_ac_ct_STRIP="strip"
4404     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405     break 2
4406   fi
4407 done
4408 done
4409
4410   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4411 fi
4412 fi
4413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4414 if test -n "$ac_ct_STRIP"; then
4415   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4416 echo "${ECHO_T}$ac_ct_STRIP" >&6
4417 else
4418   echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4420 fi
4421
4422   STRIP=$ac_ct_STRIP
4423 else
4424   STRIP="$ac_cv_prog_STRIP"
4425 fi
4426
4427
4428 # Check for any special flags to pass to ltconfig.
4429 libtool_flags="--cache-file=$cache_file"
4430 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4431 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4432 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4433 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4434 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4435
4436
4437 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4438 if test "${enable_libtool_lock+set}" = set; then
4439   enableval="$enable_libtool_lock"
4440
4441 fi;
4442 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4443 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4444
4445
4446 # Check whether --with-pic or --without-pic was given.
4447 if test "${with_pic+set}" = set; then
4448   withval="$with_pic"
4449   pic_mode="$withval"
4450 else
4451   pic_mode=default
4452 fi;
4453 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4454 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4455
4456 # Some flags need to be propagated to the compiler or linker for good
4457 # libtool support.
4458 case $host in
4459 *-*-irix6*)
4460   # Find out which ABI we are using.
4461   echo '#line 4461 "configure"' > conftest.$ac_ext
4462   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4463   (eval $ac_compile) 2>&5
4464   ac_status=$?
4465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466   (exit $ac_status); }; then
4467    if test "$lt_cv_prog_gnu_ld" = yes; then
4468     case `/usr/bin/file conftest.$ac_objext` in
4469     *32-bit*)
4470       LD="${LD-ld} -melf32bsmip"
4471       ;;
4472     *N32*)
4473       LD="${LD-ld} -melf32bmipn32"
4474       ;;
4475     *64-bit*)
4476       LD="${LD-ld} -melf64bmip"
4477       ;;
4478     esac
4479    else
4480     case `/usr/bin/file conftest.$ac_objext` in
4481     *32-bit*)
4482       LD="${LD-ld} -32"
4483       ;;
4484     *N32*)
4485       LD="${LD-ld} -n32"
4486       ;;
4487     *64-bit*)
4488       LD="${LD-ld} -64"
4489       ;;
4490     esac
4491    fi
4492   fi
4493   rm -rf conftest*
4494   ;;
4495
4496 ia64-*-hpux*)
4497   # Find out which ABI we are using.
4498   echo 'int i;' > conftest.$ac_ext
4499   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4500   (eval $ac_compile) 2>&5
4501   ac_status=$?
4502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503   (exit $ac_status); }; then
4504     case "`/usr/bin/file conftest.o`" in
4505     *ELF-32*)
4506       HPUX_IA64_MODE="32"
4507       ;;
4508     *ELF-64*)
4509       HPUX_IA64_MODE="64"
4510       ;;
4511     esac
4512   fi
4513   rm -rf conftest*
4514   ;;
4515
4516 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4517   # Find out which ABI we are using.
4518   echo 'int i;' > conftest.$ac_ext
4519   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4520   (eval $ac_compile) 2>&5
4521   ac_status=$?
4522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523   (exit $ac_status); }; then
4524     case "`/usr/bin/file conftest.o`" in
4525     *32-bit*)
4526       case $host in
4527         x86_64-*linux*)
4528           LD="${LD-ld} -m elf_i386"
4529           ;;
4530         ppc64-*linux*|powerpc64-*linux*)
4531           LD="${LD-ld} -m elf32ppclinux"
4532           ;;
4533         s390x-*linux*)
4534           LD="${LD-ld} -m elf_s390"
4535           ;;
4536         sparc64-*linux*)
4537           LD="${LD-ld} -m elf32_sparc"
4538           ;;
4539       esac
4540       ;;
4541     *64-bit*)
4542       case $host in
4543         x86_64-*linux*)
4544           LD="${LD-ld} -m elf_x86_64"
4545           ;;
4546         ppc*-*linux*|powerpc*-*linux*)
4547           LD="${LD-ld} -m elf64ppc"
4548           ;;
4549         s390*-*linux*)
4550           LD="${LD-ld} -m elf64_s390"
4551           ;;
4552         sparc*-*linux*)
4553           LD="${LD-ld} -m elf64_sparc"
4554           ;;
4555       esac
4556       ;;
4557     esac
4558   fi
4559   rm -rf conftest*
4560   ;;
4561
4562 *-*-sco3.2v5*)
4563   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4564   SAVE_CFLAGS="$CFLAGS"
4565   CFLAGS="$CFLAGS -belf"
4566   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4567 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4568 if test "${lt_cv_cc_needs_belf+set}" = set; then
4569   echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4571
4572
4573      ac_ext=c
4574 ac_cpp='$CPP $CPPFLAGS'
4575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4578
4579      if test x$gcc_no_link = xyes; then
4580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4582    { (exit 1); exit 1; }; }
4583 fi
4584 cat >conftest.$ac_ext <<_ACEOF
4585 /* confdefs.h.  */
4586 _ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h.  */
4590
4591 int
4592 main ()
4593 {
4594
4595   ;
4596   return 0;
4597 }
4598 _ACEOF
4599 rm -f conftest.$ac_objext conftest$ac_exeext
4600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4601   (eval $ac_link) 2>conftest.er1
4602   ac_status=$?
4603   grep -v '^ *+' conftest.er1 >conftest.err
4604   rm -f conftest.er1
4605   cat conftest.err >&5
4606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607   (exit $ac_status); } &&
4608          { ac_try='test -z "$ac_c_werror_flag"
4609                          || test ! -s conftest.err'
4610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611   (eval $ac_try) 2>&5
4612   ac_status=$?
4613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614   (exit $ac_status); }; } &&
4615          { ac_try='test -s conftest$ac_exeext'
4616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617   (eval $ac_try) 2>&5
4618   ac_status=$?
4619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620   (exit $ac_status); }; }; then
4621   lt_cv_cc_needs_belf=yes
4622 else
4623   echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.$ac_ext >&5
4625
4626 lt_cv_cc_needs_belf=no
4627 fi
4628 rm -f conftest.err conftest.$ac_objext \
4629       conftest$ac_exeext conftest.$ac_ext
4630      ac_ext=c
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4635
4636 fi
4637 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4638 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4639   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4640     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4641     CFLAGS="$SAVE_CFLAGS"
4642   fi
4643   ;;
4644
4645
4646 esac
4647
4648
4649 # Save cache, so that ltconfig can load it
4650 cat >confcache <<\_ACEOF
4651 # This file is a shell script that caches the results of configure
4652 # tests run on this system so they can be shared between configure
4653 # scripts and configure runs, see configure's option --config-cache.
4654 # It is not useful on other systems.  If it contains results you don't
4655 # want to keep, you may remove or edit it.
4656 #
4657 # config.status only pays attention to the cache file if you give it
4658 # the --recheck option to rerun configure.
4659 #
4660 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4661 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4662 # following values.
4663
4664 _ACEOF
4665
4666 # The following way of writing the cache mishandles newlines in values,
4667 # but we know of no workaround that is simple, portable, and efficient.
4668 # So, don't put newlines in cache variables' values.
4669 # Ultrix sh set writes to stderr and can't be redirected directly,
4670 # and sets the high bit in the cache file unless we assign to the vars.
4671 {
4672   (set) 2>&1 |
4673     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4674     *ac_space=\ *)
4675       # `set' does not quote correctly, so add quotes (double-quote
4676       # substitution turns \\\\ into \\, and sed turns \\ into \).
4677       sed -n \
4678         "s/'/'\\\\''/g;
4679           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4680       ;;
4681     *)
4682       # `set' quotes correctly as required by POSIX, so do not add quotes.
4683       sed -n \
4684         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4685       ;;
4686     esac;
4687 } |
4688   sed '
4689      t clear
4690      : clear
4691      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4692      t end
4693      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4694      : end' >>confcache
4695 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4696   if test -w $cache_file; then
4697     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4698     cat confcache >$cache_file
4699   else
4700     echo "not updating unwritable cache $cache_file"
4701   fi
4702 fi
4703 rm -f confcache
4704
4705 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4706 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4707 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4708 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4709 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4710 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4711 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4712 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4713 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4714 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4715 echo "$as_me: error: libtool configure failed" >&2;}
4716    { (exit 1); exit 1; }; }
4717
4718 # Reload cache, that may have been modified by ltconfig
4719 if test -r "$cache_file"; then
4720   # Some versions of bash will fail to source /dev/null (special
4721   # files actually), so we avoid doing that.
4722   if test -f "$cache_file"; then
4723     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4724 echo "$as_me: loading cache $cache_file" >&6;}
4725     case $cache_file in
4726       [\\/]* | ?:[\\/]* ) . $cache_file;;
4727       *)                      . ./$cache_file;;
4728     esac
4729   fi
4730 else
4731   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4732 echo "$as_me: creating cache $cache_file" >&6;}
4733   >$cache_file
4734 fi
4735
4736
4737 # This can be used to rebuild libtool when needed
4738 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4739
4740 # Always use our own libtool.
4741 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4742
4743 # Redirect the config.log output again, so that the ltconfig log is not
4744 # clobbered by the next message.
4745 exec 5>>./config.log
4746
4747 ac_ext=cc
4748 ac_cpp='$CXXCPP $CPPFLAGS'
4749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4752 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4753 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4754 if test -z "$CXXCPP"; then
4755   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4756   echo $ECHO_N "(cached) $ECHO_C" >&6
4757 else
4758       # Double quotes because CXXCPP needs to be expanded
4759     for CXXCPP in "$CXX -E" "/lib/cpp"
4760     do
4761       ac_preproc_ok=false
4762 for ac_cxx_preproc_warn_flag in '' yes
4763 do
4764   # Use a header file that comes with gcc, so configuring glibc
4765   # with a fresh cross-compiler works.
4766   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767   # <limits.h> exists even on freestanding compilers.
4768   # On the NeXT, cc -E runs the code through the compiler's parser,
4769   # not just through cpp. "Syntax error" is here to catch this case.
4770   cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h.  */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h.  */
4776 #ifdef __STDC__
4777 # include <limits.h>
4778 #else
4779 # include <assert.h>
4780 #endif
4781                      Syntax error
4782 _ACEOF
4783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4784   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4785   ac_status=$?
4786   grep -v '^ *+' conftest.er1 >conftest.err
4787   rm -f conftest.er1
4788   cat conftest.err >&5
4789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790   (exit $ac_status); } >/dev/null; then
4791   if test -s conftest.err; then
4792     ac_cpp_err=$ac_cxx_preproc_warn_flag
4793     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4794   else
4795     ac_cpp_err=
4796   fi
4797 else
4798   ac_cpp_err=yes
4799 fi
4800 if test -z "$ac_cpp_err"; then
4801   :
4802 else
4803   echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.$ac_ext >&5
4805
4806   # Broken: fails on valid input.
4807 continue
4808 fi
4809 rm -f conftest.err conftest.$ac_ext
4810
4811   # OK, works on sane cases.  Now check whether non-existent headers
4812   # can be detected and how.
4813   cat >conftest.$ac_ext <<_ACEOF
4814 /* confdefs.h.  */
4815 _ACEOF
4816 cat confdefs.h >>conftest.$ac_ext
4817 cat >>conftest.$ac_ext <<_ACEOF
4818 /* end confdefs.h.  */
4819 #include <ac_nonexistent.h>
4820 _ACEOF
4821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4822   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4823   ac_status=$?
4824   grep -v '^ *+' conftest.er1 >conftest.err
4825   rm -f conftest.er1
4826   cat conftest.err >&5
4827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828   (exit $ac_status); } >/dev/null; then
4829   if test -s conftest.err; then
4830     ac_cpp_err=$ac_cxx_preproc_warn_flag
4831     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4832   else
4833     ac_cpp_err=
4834   fi
4835 else
4836   ac_cpp_err=yes
4837 fi
4838 if test -z "$ac_cpp_err"; then
4839   # Broken: success on invalid input.
4840 continue
4841 else
4842   echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4844
4845   # Passes both tests.
4846 ac_preproc_ok=:
4847 break
4848 fi
4849 rm -f conftest.err conftest.$ac_ext
4850
4851 done
4852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4853 rm -f conftest.err conftest.$ac_ext
4854 if $ac_preproc_ok; then
4855   break
4856 fi
4857
4858     done
4859     ac_cv_prog_CXXCPP=$CXXCPP
4860
4861 fi
4862   CXXCPP=$ac_cv_prog_CXXCPP
4863 else
4864   ac_cv_prog_CXXCPP=$CXXCPP
4865 fi
4866 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4867 echo "${ECHO_T}$CXXCPP" >&6
4868 ac_preproc_ok=false
4869 for ac_cxx_preproc_warn_flag in '' yes
4870 do
4871   # Use a header file that comes with gcc, so configuring glibc
4872   # with a fresh cross-compiler works.
4873   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4874   # <limits.h> exists even on freestanding compilers.
4875   # On the NeXT, cc -E runs the code through the compiler's parser,
4876   # not just through cpp. "Syntax error" is here to catch this case.
4877   cat >conftest.$ac_ext <<_ACEOF
4878 /* confdefs.h.  */
4879 _ACEOF
4880 cat confdefs.h >>conftest.$ac_ext
4881 cat >>conftest.$ac_ext <<_ACEOF
4882 /* end confdefs.h.  */
4883 #ifdef __STDC__
4884 # include <limits.h>
4885 #else
4886 # include <assert.h>
4887 #endif
4888                      Syntax error
4889 _ACEOF
4890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4891   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4892   ac_status=$?
4893   grep -v '^ *+' conftest.er1 >conftest.err
4894   rm -f conftest.er1
4895   cat conftest.err >&5
4896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897   (exit $ac_status); } >/dev/null; then
4898   if test -s conftest.err; then
4899     ac_cpp_err=$ac_cxx_preproc_warn_flag
4900     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4901   else
4902     ac_cpp_err=
4903   fi
4904 else
4905   ac_cpp_err=yes
4906 fi
4907 if test -z "$ac_cpp_err"; then
4908   :
4909 else
4910   echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4912
4913   # Broken: fails on valid input.
4914 continue
4915 fi
4916 rm -f conftest.err conftest.$ac_ext
4917
4918   # OK, works on sane cases.  Now check whether non-existent headers
4919   # can be detected and how.
4920   cat >conftest.$ac_ext <<_ACEOF
4921 /* confdefs.h.  */
4922 _ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h.  */
4926 #include <ac_nonexistent.h>
4927 _ACEOF
4928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4929   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4930   ac_status=$?
4931   grep -v '^ *+' conftest.er1 >conftest.err
4932   rm -f conftest.er1
4933   cat conftest.err >&5
4934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935   (exit $ac_status); } >/dev/null; then
4936   if test -s conftest.err; then
4937     ac_cpp_err=$ac_cxx_preproc_warn_flag
4938     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4939   else
4940     ac_cpp_err=
4941   fi
4942 else
4943   ac_cpp_err=yes
4944 fi
4945 if test -z "$ac_cpp_err"; then
4946   # Broken: success on invalid input.
4947 continue
4948 else
4949   echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.$ac_ext >&5
4951
4952   # Passes both tests.
4953 ac_preproc_ok=:
4954 break
4955 fi
4956 rm -f conftest.err conftest.$ac_ext
4957
4958 done
4959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4960 rm -f conftest.err conftest.$ac_ext
4961 if $ac_preproc_ok; then
4962   :
4963 else
4964   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4965 See \`config.log' for more details." >&5
4966 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4967 See \`config.log' for more details." >&2;}
4968    { (exit 1); exit 1; }; }
4969 fi
4970
4971 ac_ext=c
4972 ac_cpp='$CPP $CPPFLAGS'
4973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4976
4977
4978
4979 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4980 lt_save_CC="$CC"
4981 lt_save_CFLAGS="$CFLAGS"
4982 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4983 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4984 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4985 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4986 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4987 deplibs_check_method="$deplibs_check_method" \
4988 file_magic_cmd="$file_magic_cmd" \
4989 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4990 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4991 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4992 echo "$as_me: error: libtool tag configuration failed" >&2;}
4993    { (exit 1); exit 1; }; }
4994 CC="$lt_save_CC"
4995 CFLAGS="$lt_save_CFLAGS"
4996
4997 # Redirect the config.log output again, so that the ltconfig log is not
4998 # clobbered by the next message.
4999 exec 5>>./config.log
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009 # Possibly disable most of the library.
5010 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5011 ## than just ignoring the results.  Faster /and/ more correct, win win.
5012
5013   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5014 if test "${enable_hosted_libstdcxx+set}" = set; then
5015   enableval="$enable_hosted_libstdcxx"
5016
5017 else
5018   case "$host" in
5019         arm*-*-symbianelf*)
5020             enable_hosted_libstdcxx=no
5021             ;;
5022         *)
5023             enable_hosted_libstdcxx=yes
5024             ;;
5025      esac
5026 fi;
5027   if test "$enable_hosted_libstdcxx" = no; then
5028     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5029 echo "$as_me: Only freestanding libraries will be built" >&6;}
5030     is_hosted=no
5031     hosted_define=0
5032     enable_abi_check=no
5033     enable_libstdcxx_pch=no
5034   else
5035     is_hosted=yes
5036     hosted_define=1
5037   fi
5038
5039
5040 cat >>confdefs.h <<_ACEOF
5041 #define _GLIBCXX_HOSTED $hosted_define
5042 _ACEOF
5043
5044
5045
5046 # Check for compiler support that doesn't require linking.
5047
5048   echo "$as_me:$LINENO: checking for exception model to use" >&5
5049 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5050
5051
5052   ac_ext=cc
5053 ac_cpp='$CXXCPP $CPPFLAGS'
5054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5057
5058    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5059 if test "${enable_sjlj_exceptions+set}" = set; then
5060   enableval="$enable_sjlj_exceptions"
5061
5062       case "$enableval" in
5063        yes|no|auto) ;;
5064        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5065 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5066    { (exit 1); exit 1; }; } ;;
5067                           esac
5068
5069 else
5070   enable_sjlj_exceptions=auto
5071 fi;
5072
5073
5074   if test $enable_sjlj_exceptions = auto; then
5075     # Botheration.  Now we've got to detect the exception model.  Link tests
5076     # against libgcc.a are problematic since we've not been given proper -L
5077     # bits for single-tree newlib and libgloss.
5078     #
5079     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5080     cat > conftest.$ac_ext << EOF
5081 #line 5081 "configure"
5082 struct S { ~S(); };
5083 void bar();
5084 void foo()
5085 {
5086   S s;
5087   bar();
5088 }
5089 EOF
5090     old_CXXFLAGS="$CXXFLAGS"
5091     CXXFLAGS=-S
5092     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5093   (eval $ac_compile) 2>&5
5094   ac_status=$?
5095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096   (exit $ac_status); }; then
5097       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5098         enable_sjlj_exceptions=yes
5099       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5100         enable_sjlj_exceptions=no
5101       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5102         enable_sjlj_exceptions=no
5103       fi
5104     fi
5105     CXXFLAGS="$old_CXXFLAGS"
5106     rm -f conftest*
5107   fi
5108
5109   # This is a tad weird, for hysterical raisins.  We have to map
5110   # enable/disable to two different models.
5111   case $enable_sjlj_exceptions in
5112     yes)
5113
5114 cat >>confdefs.h <<\_ACEOF
5115 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5116 _ACEOF
5117
5118       ac_exception_model_name=sjlj
5119       ;;
5120     no)
5121       ac_exception_model_name="call frame"
5122       ;;
5123     *)
5124       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5125 echo "$as_me: error: unable to detect exception model" >&2;}
5126    { (exit 1); exit 1; }; }
5127       ;;
5128   esac
5129  ac_ext=c
5130 ac_cpp='$CPP $CPPFLAGS'
5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5134
5135  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5136 echo "${ECHO_T}$ac_exception_model_name" >&6
5137
5138
5139    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5140 if test "${enable_libstdcxx_pch+set}" = set; then
5141   enableval="$enable_libstdcxx_pch"
5142
5143       case "$enableval" in
5144        yes|no) ;;
5145        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5146 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5147    { (exit 1); exit 1; }; } ;;
5148       esac
5149
5150 else
5151   enable_libstdcxx_pch=$is_hosted
5152 fi;
5153
5154   if test $enable_libstdcxx_pch = yes; then
5155     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5156 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5157 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5158   echo $ECHO_N "(cached) $ECHO_C" >&6
5159 else
5160   ac_save_CXXFLAGS="$CXXFLAGS"
5161        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5162
5163
5164        ac_ext=cc
5165 ac_cpp='$CXXCPP $CPPFLAGS'
5166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5169
5170        echo '#include <math.h>' > conftest.h
5171        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5172                           -o conftest.h.gch 1>&5 2>&1 &&
5173                 echo '#error "pch failed"' > conftest.h &&
5174           echo '#include "conftest.h"' > conftest.cc &&
5175                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5176        then
5177          glibcxx_cv_prog_CXX_pch=yes
5178        else
5179          glibcxx_cv_prog_CXX_pch=no
5180        fi
5181        rm -f conftest*
5182        CXXFLAGS=$ac_save_CXXFLAGS
5183        ac_ext=c
5184 ac_cpp='$CPP $CPPFLAGS'
5185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5188
5189
5190 fi
5191 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5192 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5193     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5194   fi
5195
5196   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5197 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5198   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5199 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5200
5201
5202   if test $enable_libstdcxx_pch = yes; then
5203     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5204   else
5205     glibcxx_PCHFLAGS=""
5206   fi
5207
5208
5209
5210 # Enable all the variable C++ runtime options.
5211
5212   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5213 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5214    # Check whether --enable-cstdio or --disable-cstdio was given.
5215 if test "${enable_cstdio+set}" = set; then
5216   enableval="$enable_cstdio"
5217
5218       case "$enableval" in
5219        stdio) ;;
5220        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5221 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5222    { (exit 1); exit 1; }; } ;;
5223                           esac
5224
5225 else
5226   enable_cstdio=stdio
5227 fi;
5228
5229
5230   # Now that libio has been removed, you can have any color you want as long
5231   # as it's black.  This is one big no-op until other packages are added, but
5232   # showing the framework never hurts.
5233   case ${enable_cstdio} in
5234     stdio)
5235       CSTDIO_H=config/io/c_io_stdio.h
5236       BASIC_FILE_H=config/io/basic_file_stdio.h
5237       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5238       echo "$as_me:$LINENO: result: stdio" >&5
5239 echo "${ECHO_T}stdio" >&6
5240       ;;
5241   esac
5242
5243
5244
5245
5246
5247 ac_ext=c
5248 ac_cpp='$CPP $CPPFLAGS'
5249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5252 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5253 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5254 # On Suns, sometimes $CPP names a directory.
5255 if test -n "$CPP" && test -d "$CPP"; then
5256   CPP=
5257 fi
5258 if test -z "$CPP"; then
5259   if test "${ac_cv_prog_CPP+set}" = set; then
5260   echo $ECHO_N "(cached) $ECHO_C" >&6
5261 else
5262       # Double quotes because CPP needs to be expanded
5263     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5264     do
5265       ac_preproc_ok=false
5266 for ac_c_preproc_warn_flag in '' yes
5267 do
5268   # Use a header file that comes with gcc, so configuring glibc
5269   # with a fresh cross-compiler works.
5270   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5271   # <limits.h> exists even on freestanding compilers.
5272   # On the NeXT, cc -E runs the code through the compiler's parser,
5273   # not just through cpp. "Syntax error" is here to catch this case.
5274   cat >conftest.$ac_ext <<_ACEOF
5275 /* confdefs.h.  */
5276 _ACEOF
5277 cat confdefs.h >>conftest.$ac_ext
5278 cat >>conftest.$ac_ext <<_ACEOF
5279 /* end confdefs.h.  */
5280 #ifdef __STDC__
5281 # include <limits.h>
5282 #else
5283 # include <assert.h>
5284 #endif
5285                      Syntax error
5286 _ACEOF
5287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5288   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5289   ac_status=$?
5290   grep -v '^ *+' conftest.er1 >conftest.err
5291   rm -f conftest.er1
5292   cat conftest.err >&5
5293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294   (exit $ac_status); } >/dev/null; then
5295   if test -s conftest.err; then
5296     ac_cpp_err=$ac_c_preproc_warn_flag
5297     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5298   else
5299     ac_cpp_err=
5300   fi
5301 else
5302   ac_cpp_err=yes
5303 fi
5304 if test -z "$ac_cpp_err"; then
5305   :
5306 else
5307   echo "$as_me: failed program was:" >&5
5308 sed 's/^/| /' conftest.$ac_ext >&5
5309
5310   # Broken: fails on valid input.
5311 continue
5312 fi
5313 rm -f conftest.err conftest.$ac_ext
5314
5315   # OK, works on sane cases.  Now check whether non-existent headers
5316   # can be detected and how.
5317   cat >conftest.$ac_ext <<_ACEOF
5318 /* confdefs.h.  */
5319 _ACEOF
5320 cat confdefs.h >>conftest.$ac_ext
5321 cat >>conftest.$ac_ext <<_ACEOF
5322 /* end confdefs.h.  */
5323 #include <ac_nonexistent.h>
5324 _ACEOF
5325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5326   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5327   ac_status=$?
5328   grep -v '^ *+' conftest.er1 >conftest.err
5329   rm -f conftest.er1
5330   cat conftest.err >&5
5331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332   (exit $ac_status); } >/dev/null; then
5333   if test -s conftest.err; then
5334     ac_cpp_err=$ac_c_preproc_warn_flag
5335     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5336   else
5337     ac_cpp_err=
5338   fi
5339 else
5340   ac_cpp_err=yes
5341 fi
5342 if test -z "$ac_cpp_err"; then
5343   # Broken: success on invalid input.
5344 continue
5345 else
5346   echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5348
5349   # Passes both tests.
5350 ac_preproc_ok=:
5351 break
5352 fi
5353 rm -f conftest.err conftest.$ac_ext
5354
5355 done
5356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5357 rm -f conftest.err conftest.$ac_ext
5358 if $ac_preproc_ok; then
5359   break
5360 fi
5361
5362     done
5363     ac_cv_prog_CPP=$CPP
5364
5365 fi
5366   CPP=$ac_cv_prog_CPP
5367 else
5368   ac_cv_prog_CPP=$CPP
5369 fi
5370 echo "$as_me:$LINENO: result: $CPP" >&5
5371 echo "${ECHO_T}$CPP" >&6
5372 ac_preproc_ok=false
5373 for ac_c_preproc_warn_flag in '' yes
5374 do
5375   # Use a header file that comes with gcc, so configuring glibc
5376   # with a fresh cross-compiler works.
5377   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5378   # <limits.h> exists even on freestanding compilers.
5379   # On the NeXT, cc -E runs the code through the compiler's parser,
5380   # not just through cpp. "Syntax error" is here to catch this case.
5381   cat >conftest.$ac_ext <<_ACEOF
5382 /* confdefs.h.  */
5383 _ACEOF
5384 cat confdefs.h >>conftest.$ac_ext
5385 cat >>conftest.$ac_ext <<_ACEOF
5386 /* end confdefs.h.  */
5387 #ifdef __STDC__
5388 # include <limits.h>
5389 #else
5390 # include <assert.h>
5391 #endif
5392                      Syntax error
5393 _ACEOF
5394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5395   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5396   ac_status=$?
5397   grep -v '^ *+' conftest.er1 >conftest.err
5398   rm -f conftest.er1
5399   cat conftest.err >&5
5400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401   (exit $ac_status); } >/dev/null; then
5402   if test -s conftest.err; then
5403     ac_cpp_err=$ac_c_preproc_warn_flag
5404     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5405   else
5406     ac_cpp_err=
5407   fi
5408 else
5409   ac_cpp_err=yes
5410 fi
5411 if test -z "$ac_cpp_err"; then
5412   :
5413 else
5414   echo "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.$ac_ext >&5
5416
5417   # Broken: fails on valid input.
5418 continue
5419 fi
5420 rm -f conftest.err conftest.$ac_ext
5421
5422   # OK, works on sane cases.  Now check whether non-existent headers
5423   # can be detected and how.
5424   cat >conftest.$ac_ext <<_ACEOF
5425 /* confdefs.h.  */
5426 _ACEOF
5427 cat confdefs.h >>conftest.$ac_ext
5428 cat >>conftest.$ac_ext <<_ACEOF
5429 /* end confdefs.h.  */
5430 #include <ac_nonexistent.h>
5431 _ACEOF
5432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5433   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5434   ac_status=$?
5435   grep -v '^ *+' conftest.er1 >conftest.err
5436   rm -f conftest.er1
5437   cat conftest.err >&5
5438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439   (exit $ac_status); } >/dev/null; then
5440   if test -s conftest.err; then
5441     ac_cpp_err=$ac_c_preproc_warn_flag
5442     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5443   else
5444     ac_cpp_err=
5445   fi
5446 else
5447   ac_cpp_err=yes
5448 fi
5449 if test -z "$ac_cpp_err"; then
5450   # Broken: success on invalid input.
5451 continue
5452 else
5453   echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.$ac_ext >&5
5455
5456   # Passes both tests.
5457 ac_preproc_ok=:
5458 break
5459 fi
5460 rm -f conftest.err conftest.$ac_ext
5461
5462 done
5463 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5464 rm -f conftest.err conftest.$ac_ext
5465 if $ac_preproc_ok; then
5466   :
5467 else
5468   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5469 See \`config.log' for more details." >&5
5470 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5471 See \`config.log' for more details." >&2;}
5472    { (exit 1); exit 1; }; }
5473 fi
5474
5475 ac_ext=c
5476 ac_cpp='$CPP $CPPFLAGS'
5477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5480
5481
5482 echo "$as_me:$LINENO: checking for egrep" >&5
5483 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5484 if test "${ac_cv_prog_egrep+set}" = set; then
5485   echo $ECHO_N "(cached) $ECHO_C" >&6
5486 else
5487   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5488     then ac_cv_prog_egrep='grep -E'
5489     else ac_cv_prog_egrep='egrep'
5490     fi
5491 fi
5492 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5493 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5494  EGREP=$ac_cv_prog_egrep
5495
5496
5497 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5498 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5499 if test "${ac_cv_header_stdc+set}" = set; then
5500   echo $ECHO_N "(cached) $ECHO_C" >&6
5501 else
5502   cat >conftest.$ac_ext <<_ACEOF
5503 /* confdefs.h.  */
5504 _ACEOF
5505 cat confdefs.h >>conftest.$ac_ext
5506 cat >>conftest.$ac_ext <<_ACEOF
5507 /* end confdefs.h.  */
5508 #include <stdlib.h>
5509 #include <stdarg.h>
5510 #include <string.h>
5511 #include <float.h>
5512
5513 int
5514 main ()
5515 {
5516
5517   ;
5518   return 0;
5519 }
5520 _ACEOF
5521 rm -f conftest.$ac_objext
5522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5523   (eval $ac_compile) 2>conftest.er1
5524   ac_status=$?
5525   grep -v '^ *+' conftest.er1 >conftest.err
5526   rm -f conftest.er1
5527   cat conftest.err >&5
5528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529   (exit $ac_status); } &&
5530          { ac_try='test -z "$ac_c_werror_flag"
5531                          || test ! -s conftest.err'
5532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5533   (eval $ac_try) 2>&5
5534   ac_status=$?
5535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536   (exit $ac_status); }; } &&
5537          { ac_try='test -s conftest.$ac_objext'
5538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539   (eval $ac_try) 2>&5
5540   ac_status=$?
5541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542   (exit $ac_status); }; }; then
5543   ac_cv_header_stdc=yes
5544 else
5545   echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.$ac_ext >&5
5547
5548 ac_cv_header_stdc=no
5549 fi
5550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5551
5552 if test $ac_cv_header_stdc = yes; then
5553   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5554   cat >conftest.$ac_ext <<_ACEOF
5555 /* confdefs.h.  */
5556 _ACEOF
5557 cat confdefs.h >>conftest.$ac_ext
5558 cat >>conftest.$ac_ext <<_ACEOF
5559 /* end confdefs.h.  */
5560 #include <string.h>
5561
5562 _ACEOF
5563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5564   $EGREP "memchr" >/dev/null 2>&1; then
5565   :
5566 else
5567   ac_cv_header_stdc=no
5568 fi
5569 rm -f conftest*
5570
5571 fi
5572
5573 if test $ac_cv_header_stdc = yes; then
5574   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5575   cat >conftest.$ac_ext <<_ACEOF
5576 /* confdefs.h.  */
5577 _ACEOF
5578 cat confdefs.h >>conftest.$ac_ext
5579 cat >>conftest.$ac_ext <<_ACEOF
5580 /* end confdefs.h.  */
5581 #include <stdlib.h>
5582
5583 _ACEOF
5584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5585   $EGREP "free" >/dev/null 2>&1; then
5586   :
5587 else
5588   ac_cv_header_stdc=no
5589 fi
5590 rm -f conftest*
5591
5592 fi
5593
5594 if test $ac_cv_header_stdc = yes; then
5595   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5596   if test "$cross_compiling" = yes; then
5597   :
5598 else
5599   cat >conftest.$ac_ext <<_ACEOF
5600 /* confdefs.h.  */
5601 _ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h.  */
5605 #include <ctype.h>
5606 #if ((' ' & 0x0FF) == 0x020)
5607 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5608 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5609 #else
5610 # define ISLOWER(c) \
5611                    (('a' <= (c) && (c) <= 'i') \
5612                      || ('j' <= (c) && (c) <= 'r') \
5613                      || ('s' <= (c) && (c) <= 'z'))
5614 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5615 #endif
5616
5617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5618 int
5619 main ()
5620 {
5621   int i;
5622   for (i = 0; i < 256; i++)
5623     if (XOR (islower (i), ISLOWER (i))
5624         || toupper (i) != TOUPPER (i))
5625       exit(2);
5626   exit (0);
5627 }
5628 _ACEOF
5629 rm -f conftest$ac_exeext
5630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5631   (eval $ac_link) 2>&5
5632   ac_status=$?
5633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636   (eval $ac_try) 2>&5
5637   ac_status=$?
5638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639   (exit $ac_status); }; }; then
5640   :
5641 else
5642   echo "$as_me: program exited with status $ac_status" >&5
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.$ac_ext >&5
5645
5646 ( exit $ac_status )
5647 ac_cv_header_stdc=no
5648 fi
5649 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5650 fi
5651 fi
5652 fi
5653 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5654 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5655 if test $ac_cv_header_stdc = yes; then
5656
5657 cat >>confdefs.h <<\_ACEOF
5658 #define STDC_HEADERS 1
5659 _ACEOF
5660
5661 fi
5662
5663 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5674                   inttypes.h stdint.h unistd.h
5675 do
5676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5677 echo "$as_me:$LINENO: checking for $ac_header" >&5
5678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5680   echo $ECHO_N "(cached) $ECHO_C" >&6
5681 else
5682   cat >conftest.$ac_ext <<_ACEOF
5683 /* confdefs.h.  */
5684 _ACEOF
5685 cat confdefs.h >>conftest.$ac_ext
5686 cat >>conftest.$ac_ext <<_ACEOF
5687 /* end confdefs.h.  */
5688 $ac_includes_default
5689
5690 #include <$ac_header>
5691 _ACEOF
5692 rm -f conftest.$ac_objext
5693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5694   (eval $ac_compile) 2>conftest.er1
5695   ac_status=$?
5696   grep -v '^ *+' conftest.er1 >conftest.err
5697   rm -f conftest.er1
5698   cat conftest.err >&5
5699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700   (exit $ac_status); } &&
5701          { ac_try='test -z "$ac_c_werror_flag"
5702                          || test ! -s conftest.err'
5703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704   (eval $ac_try) 2>&5
5705   ac_status=$?
5706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707   (exit $ac_status); }; } &&
5708          { ac_try='test -s conftest.$ac_objext'
5709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710   (eval $ac_try) 2>&5
5711   ac_status=$?
5712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713   (exit $ac_status); }; }; then
5714   eval "$as_ac_Header=yes"
5715 else
5716   echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5718
5719 eval "$as_ac_Header=no"
5720 fi
5721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5722 fi
5723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5726   cat >>confdefs.h <<_ACEOF
5727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5728 _ACEOF
5729
5730 fi
5731
5732 done
5733
5734
5735
5736   echo "$as_me:$LINENO: checking for C locale to use" >&5
5737 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5738    # Check whether --enable-clocale or --disable-clocale was given.
5739 if test "${enable_clocale+set}" = set; then
5740   enableval="$enable_clocale"
5741
5742       case "$enableval" in
5743        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5744        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5745 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5746    { (exit 1); exit 1; }; } ;;
5747                           esac
5748
5749 else
5750   enable_clocale=auto
5751 fi;
5752
5753
5754   # If they didn't use this option switch, or if they specified --enable
5755   # with no specific model, we'll have to look for one.  If they
5756   # specified --disable (???), do likewise.
5757   if test $enable_clocale = no || test $enable_clocale = yes; then
5758      enable_clocale=auto
5759   fi
5760
5761   # Either a known package, or "auto"
5762   enable_clocale_flag=$enable_clocale
5763
5764   # Probe for locale support if no specific model is specified.
5765   # Default to "generic".
5766   if test $enable_clocale_flag = auto; then
5767     case ${target_os} in
5768       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5769         cat >conftest.$ac_ext <<_ACEOF
5770 /* confdefs.h.  */
5771 _ACEOF
5772 cat confdefs.h >>conftest.$ac_ext
5773 cat >>conftest.$ac_ext <<_ACEOF
5774 /* end confdefs.h.  */
5775
5776         #include <features.h>
5777         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5778           _GLIBCXX_ok
5779         #endif
5780
5781 _ACEOF
5782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5783   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5784   enable_clocale_flag=gnu
5785 else
5786   enable_clocale_flag=generic
5787 fi
5788 rm -f conftest*
5789
5790
5791         # Test for bugs early in glibc-2.2.x series
5792           if test $enable_clocale_flag = gnu; then
5793           if test "$cross_compiling" = yes; then
5794   enable_clocale_flag=generic
5795 else
5796   cat >conftest.$ac_ext <<_ACEOF
5797 /* confdefs.h.  */
5798 _ACEOF
5799 cat confdefs.h >>conftest.$ac_ext
5800 cat >>conftest.$ac_ext <<_ACEOF
5801 /* end confdefs.h.  */
5802
5803           #define _GNU_SOURCE 1
5804           #include <locale.h>
5805           #include <string.h>
5806           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5807           extern __typeof(newlocale) __newlocale;
5808           extern __typeof(duplocale) __duplocale;
5809           extern __typeof(strcoll_l) __strcoll_l;
5810           #endif
5811           int main()
5812           {
5813               const char __one[] = "Äuglein Augmen";
5814               const char __two[] = "Äuglein";
5815               int i;
5816               int j;
5817               __locale_t        loc;
5818                __locale_t        loc_dup;
5819               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5820               loc_dup = __duplocale(loc);
5821               i = __strcoll_l(__one, __two, loc);
5822               j = __strcoll_l(__one, __two, loc_dup);
5823               return 0;
5824           }
5825
5826 _ACEOF
5827 rm -f conftest$ac_exeext
5828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5829   (eval $ac_link) 2>&5
5830   ac_status=$?
5831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834   (eval $ac_try) 2>&5
5835   ac_status=$?
5836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837   (exit $ac_status); }; }; then
5838   enable_clocale_flag=gnu
5839 else
5840   echo "$as_me: program exited with status $ac_status" >&5
5841 echo "$as_me: failed program was:" >&5
5842 sed 's/^/| /' conftest.$ac_ext >&5
5843
5844 ( exit $ac_status )
5845 enable_clocale_flag=generic
5846 fi
5847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5848 fi
5849           fi
5850
5851         # ... at some point put __strxfrm_l tests in as well.
5852         ;;
5853       darwin* | freebsd*)
5854         enable_clocale_flag=darwin
5855         ;;
5856       *)
5857         enable_clocale_flag=generic
5858         ;;
5859     esac
5860   fi
5861
5862   # Deal with gettext issues.  Default to not using it (=no) until we detect
5863   # support for it later.  Let the user turn it off via --e/d, but let that
5864   # default to on for easier handling.
5865   USE_NLS=no
5866   # Check whether --enable-nls or --disable-nls was given.
5867 if test "${enable_nls+set}" = set; then
5868   enableval="$enable_nls"
5869
5870 else
5871   enable_nls=yes
5872 fi;
5873
5874   # Set configure bits for specified locale package
5875   case ${enable_clocale_flag} in
5876     generic)
5877       echo "$as_me:$LINENO: result: generic" >&5
5878 echo "${ECHO_T}generic" >&6
5879
5880       CLOCALE_H=config/locale/generic/c_locale.h
5881       CLOCALE_CC=config/locale/generic/c_locale.cc
5882       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5883       CCOLLATE_CC=config/locale/generic/collate_members.cc
5884       CCTYPE_CC=config/locale/generic/ctype_members.cc
5885       CMESSAGES_H=config/locale/generic/messages_members.h
5886       CMESSAGES_CC=config/locale/generic/messages_members.cc
5887       CMONEY_CC=config/locale/generic/monetary_members.cc
5888       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5889       CTIME_H=config/locale/generic/time_members.h
5890       CTIME_CC=config/locale/generic/time_members.cc
5891       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5892       ;;
5893     darwin)
5894       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5895 echo "${ECHO_T}darwin or freebsd" >&6
5896
5897       CLOCALE_H=config/locale/generic/c_locale.h
5898       CLOCALE_CC=config/locale/generic/c_locale.cc
5899       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5900       CCOLLATE_CC=config/locale/generic/collate_members.cc
5901       CCTYPE_CC=config/locale/darwin/ctype_members.cc
5902       CMESSAGES_H=config/locale/generic/messages_members.h
5903       CMESSAGES_CC=config/locale/generic/messages_members.cc
5904       CMONEY_CC=config/locale/generic/monetary_members.cc
5905       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5906       CTIME_H=config/locale/generic/time_members.h
5907       CTIME_CC=config/locale/generic/time_members.cc
5908       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5909       ;;
5910
5911     gnu)
5912       echo "$as_me:$LINENO: result: gnu" >&5
5913 echo "${ECHO_T}gnu" >&6
5914
5915       # Declare intention to use gettext, and add support for specific
5916       # languages.
5917       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5918       ALL_LINGUAS="de fr"
5919
5920       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5921       # Extract the first word of "msgfmt", so it can be a program name with args.
5922 set dummy msgfmt; ac_word=$2
5923 echo "$as_me:$LINENO: checking for $ac_word" >&5
5924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5925 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5926   echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928   if test -n "$check_msgfmt"; then
5929   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5930 else
5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 for as_dir in $PATH
5933 do
5934   IFS=$as_save_IFS
5935   test -z "$as_dir" && as_dir=.
5936   for ac_exec_ext in '' $ac_executable_extensions; do
5937   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5938     ac_cv_prog_check_msgfmt="yes"
5939     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5940     break 2
5941   fi
5942 done
5943 done
5944
5945   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5946 fi
5947 fi
5948 check_msgfmt=$ac_cv_prog_check_msgfmt
5949 if test -n "$check_msgfmt"; then
5950   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5951 echo "${ECHO_T}$check_msgfmt" >&6
5952 else
5953   echo "$as_me:$LINENO: result: no" >&5
5954 echo "${ECHO_T}no" >&6
5955 fi
5956
5957       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5958         USE_NLS=yes
5959       fi
5960       # Export the build objects.
5961       for ling in $ALL_LINGUAS; do \
5962         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5963         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5964       done
5965
5966
5967
5968       CLOCALE_H=config/locale/gnu/c_locale.h
5969       CLOCALE_CC=config/locale/gnu/c_locale.cc
5970       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5971       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5972       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5973       CMESSAGES_H=config/locale/gnu/messages_members.h
5974       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5975       CMONEY_CC=config/locale/gnu/monetary_members.cc
5976       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5977       CTIME_H=config/locale/gnu/time_members.h
5978       CTIME_CC=config/locale/gnu/time_members.cc
5979       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5980       ;;
5981     ieee_1003.1-2001)
5982       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5983 echo "${ECHO_T}IEEE 1003.1" >&6
5984
5985       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5986       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5987       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5988       CCOLLATE_CC=config/locale/generic/collate_members.cc
5989       CCTYPE_CC=config/locale/generic/ctype_members.cc
5990       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5991       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5992       CMONEY_CC=config/locale/generic/monetary_members.cc
5993       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5994       CTIME_H=config/locale/generic/time_members.h
5995       CTIME_CC=config/locale/generic/time_members.cc
5996       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5997       ;;
5998   esac
5999
6000   # This is where the testsuite looks for locale catalogs, using the
6001   # -DLOCALEDIR define during testsuite compilation.
6002   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6003
6004
6005   # A standalone libintl (e.g., GNU libintl) may be in use.
6006   if test $USE_NLS = yes; then
6007
6008 for ac_header in libintl.h
6009 do
6010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6012   echo "$as_me:$LINENO: checking for $ac_header" >&5
6013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6015   echo $ECHO_N "(cached) $ECHO_C" >&6
6016 fi
6017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6019 else
6020   # Is the header compilable?
6021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6023 cat >conftest.$ac_ext <<_ACEOF
6024 /* confdefs.h.  */
6025 _ACEOF
6026 cat confdefs.h >>conftest.$ac_ext
6027 cat >>conftest.$ac_ext <<_ACEOF
6028 /* end confdefs.h.  */
6029 $ac_includes_default
6030 #include <$ac_header>
6031 _ACEOF
6032 rm -f conftest.$ac_objext
6033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6034   (eval $ac_compile) 2>conftest.er1
6035   ac_status=$?
6036   grep -v '^ *+' conftest.er1 >conftest.err
6037   rm -f conftest.er1
6038   cat conftest.err >&5
6039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040   (exit $ac_status); } &&
6041          { ac_try='test -z "$ac_c_werror_flag"
6042                          || test ! -s conftest.err'
6043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044   (eval $ac_try) 2>&5
6045   ac_status=$?
6046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047   (exit $ac_status); }; } &&
6048          { ac_try='test -s conftest.$ac_objext'
6049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050   (eval $ac_try) 2>&5
6051   ac_status=$?
6052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053   (exit $ac_status); }; }; then
6054   ac_header_compiler=yes
6055 else
6056   echo "$as_me: failed program was:" >&5
6057 sed 's/^/| /' conftest.$ac_ext >&5
6058
6059 ac_header_compiler=no
6060 fi
6061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6063 echo "${ECHO_T}$ac_header_compiler" >&6
6064
6065 # Is the header present?
6066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6068 cat >conftest.$ac_ext <<_ACEOF
6069 /* confdefs.h.  */
6070 _ACEOF
6071 cat confdefs.h >>conftest.$ac_ext
6072 cat >>conftest.$ac_ext <<_ACEOF
6073 /* end confdefs.h.  */
6074 #include <$ac_header>
6075 _ACEOF
6076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6077   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6078   ac_status=$?
6079   grep -v '^ *+' conftest.er1 >conftest.err
6080   rm -f conftest.er1
6081   cat conftest.err >&5
6082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083   (exit $ac_status); } >/dev/null; then
6084   if test -s conftest.err; then
6085     ac_cpp_err=$ac_c_preproc_warn_flag
6086     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6087   else
6088     ac_cpp_err=
6089   fi
6090 else
6091   ac_cpp_err=yes
6092 fi
6093 if test -z "$ac_cpp_err"; then
6094   ac_header_preproc=yes
6095 else
6096   echo "$as_me: failed program was:" >&5
6097 sed 's/^/| /' conftest.$ac_ext >&5
6098
6099   ac_header_preproc=no
6100 fi
6101 rm -f conftest.err conftest.$ac_ext
6102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6103 echo "${ECHO_T}$ac_header_preproc" >&6
6104
6105 # So?  What about this header?
6106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6107   yes:no: )
6108     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6110     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6112     ac_header_preproc=yes
6113     ;;
6114   no:yes:* )
6115     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6117     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6118 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6119     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6121     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6122 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6123     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6125     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6127     (
6128       cat <<\_ASBOX
6129 ## ----------------------------------------- ##
6130 ## Report this to the package-unused lists.  ##
6131 ## ----------------------------------------- ##
6132 _ASBOX
6133     ) |
6134       sed "s/^/$as_me: WARNING:     /" >&2
6135     ;;
6136 esac
6137 echo "$as_me:$LINENO: checking for $ac_header" >&5
6138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6140   echo $ECHO_N "(cached) $ECHO_C" >&6
6141 else
6142   eval "$as_ac_Header=\$ac_header_preproc"
6143 fi
6144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6146
6147 fi
6148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6149   cat >>confdefs.h <<_ACEOF
6150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6151 _ACEOF
6152
6153 else
6154   USE_NLS=no
6155 fi
6156
6157 done
6158
6159     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6160 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6161 if test "${ac_cv_search_gettext+set}" = set; then
6162   echo $ECHO_N "(cached) $ECHO_C" >&6
6163 else
6164   ac_func_search_save_LIBS=$LIBS
6165 ac_cv_search_gettext=no
6166 if test x$gcc_no_link = xyes; then
6167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6169    { (exit 1); exit 1; }; }
6170 fi
6171 cat >conftest.$ac_ext <<_ACEOF
6172 /* confdefs.h.  */
6173 _ACEOF
6174 cat confdefs.h >>conftest.$ac_ext
6175 cat >>conftest.$ac_ext <<_ACEOF
6176 /* end confdefs.h.  */
6177
6178 /* Override any gcc2 internal prototype to avoid an error.  */
6179 #ifdef __cplusplus
6180 extern "C"
6181 #endif
6182 /* We use char because int might match the return type of a gcc2
6183    builtin and then its argument prototype would still apply.  */
6184 char gettext ();
6185 int
6186 main ()
6187 {
6188 gettext ();
6189   ;
6190   return 0;
6191 }
6192 _ACEOF
6193 rm -f conftest.$ac_objext conftest$ac_exeext
6194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6195   (eval $ac_link) 2>conftest.er1
6196   ac_status=$?
6197   grep -v '^ *+' conftest.er1 >conftest.err
6198   rm -f conftest.er1
6199   cat conftest.err >&5
6200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201   (exit $ac_status); } &&
6202          { ac_try='test -z "$ac_c_werror_flag"
6203                          || test ! -s conftest.err'
6204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205   (eval $ac_try) 2>&5
6206   ac_status=$?
6207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208   (exit $ac_status); }; } &&
6209          { ac_try='test -s conftest$ac_exeext'
6210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211   (eval $ac_try) 2>&5
6212   ac_status=$?
6213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214   (exit $ac_status); }; }; then
6215   ac_cv_search_gettext="none required"
6216 else
6217   echo "$as_me: failed program was:" >&5
6218 sed 's/^/| /' conftest.$ac_ext >&5
6219
6220 fi
6221 rm -f conftest.err conftest.$ac_objext \
6222       conftest$ac_exeext conftest.$ac_ext
6223 if test "$ac_cv_search_gettext" = no; then
6224   for ac_lib in intl; do
6225     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6226     if test x$gcc_no_link = xyes; then
6227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6229    { (exit 1); exit 1; }; }
6230 fi
6231 cat >conftest.$ac_ext <<_ACEOF
6232 /* confdefs.h.  */
6233 _ACEOF
6234 cat confdefs.h >>conftest.$ac_ext
6235 cat >>conftest.$ac_ext <<_ACEOF
6236 /* end confdefs.h.  */
6237
6238 /* Override any gcc2 internal prototype to avoid an error.  */
6239 #ifdef __cplusplus
6240 extern "C"
6241 #endif
6242 /* We use char because int might match the return type of a gcc2
6243    builtin and then its argument prototype would still apply.  */
6244 char gettext ();
6245 int
6246 main ()
6247 {
6248 gettext ();
6249   ;
6250   return 0;
6251 }
6252 _ACEOF
6253 rm -f conftest.$ac_objext conftest$ac_exeext
6254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6255   (eval $ac_link) 2>conftest.er1
6256   ac_status=$?
6257   grep -v '^ *+' conftest.er1 >conftest.err
6258   rm -f conftest.er1
6259   cat conftest.err >&5
6260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261   (exit $ac_status); } &&
6262          { ac_try='test -z "$ac_c_werror_flag"
6263                          || test ! -s conftest.err'
6264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265   (eval $ac_try) 2>&5
6266   ac_status=$?
6267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268   (exit $ac_status); }; } &&
6269          { ac_try='test -s conftest$ac_exeext'
6270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271   (eval $ac_try) 2>&5
6272   ac_status=$?
6273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274   (exit $ac_status); }; }; then
6275   ac_cv_search_gettext="-l$ac_lib"
6276 break
6277 else
6278   echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.$ac_ext >&5
6280
6281 fi
6282 rm -f conftest.err conftest.$ac_objext \
6283       conftest$ac_exeext conftest.$ac_ext
6284   done
6285 fi
6286 LIBS=$ac_func_search_save_LIBS
6287 fi
6288 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6289 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6290 if test "$ac_cv_search_gettext" != no; then
6291   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6292
6293 else
6294   USE_NLS=no
6295 fi
6296
6297   fi
6298   if test $USE_NLS = yes; then
6299
6300 cat >>confdefs.h <<\_ACEOF
6301 #define _GLIBCXX_USE_NLS 1
6302 _ACEOF
6303
6304   fi
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6322 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6323    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6324 if test "${enable_libstdcxx_allocator+set}" = set; then
6325   enableval="$enable_libstdcxx_allocator"
6326
6327       case "$enableval" in
6328        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6329        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6330 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6331    { (exit 1); exit 1; }; } ;;
6332                           esac
6333
6334 else
6335   enable_libstdcxx_allocator=auto
6336 fi;
6337
6338
6339   # If they didn't use this option switch, or if they specified --enable
6340   # with no specific model, we'll have to look for one.  If they
6341   # specified --disable (???), do likewise.
6342   if test $enable_libstdcxx_allocator = no ||
6343      test $enable_libstdcxx_allocator = yes;
6344   then
6345      enable_libstdcxx_allocator=auto
6346   fi
6347
6348   # Either a known package, or "auto". Auto implies the default choice
6349   # for a particular platform.
6350   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6351
6352   # Probe for host-specific support if no specific model is specified.
6353   # Default to "new".
6354   if test $enable_libstdcxx_allocator_flag = auto; then
6355     case ${target_os} in
6356       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6357         enable_libstdcxx_allocator_flag=new
6358         ;;
6359       *)
6360         enable_libstdcxx_allocator_flag=new
6361         ;;
6362     esac
6363   fi
6364   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6365 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6366
6367
6368   # Set configure bits for specified locale package
6369   case ${enable_libstdcxx_allocator_flag} in
6370     bitmap)
6371       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6372       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6373       ;;
6374     malloc)
6375       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6376       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6377       ;;
6378     mt)
6379       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6380       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6381       ;;
6382     new)
6383       ALLOCATOR_H=config/allocator/new_allocator_base.h
6384       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6385       ;;
6386     pool)
6387       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6388       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6389       ;;
6390   esac
6391
6392
6393
6394
6395
6396    # Check whether --enable-cheaders or --disable-cheaders was given.
6397 if test "${enable_cheaders+set}" = set; then
6398   enableval="$enable_cheaders"
6399
6400       case "$enableval" in
6401        c|c_std) ;;
6402        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6403 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6404    { (exit 1); exit 1; }; } ;;
6405                           esac
6406
6407 else
6408   enable_cheaders=$c_model
6409 fi;
6410
6411   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6412 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6413
6414   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6415
6416
6417
6418
6419
6420
6421
6422
6423    # Check whether --enable-c99 or --disable-c99 was given.
6424 if test "${enable_c99+set}" = set; then
6425   enableval="$enable_c99"
6426
6427       case "$enableval" in
6428        yes|no) ;;
6429        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6430 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6431    { (exit 1); exit 1; }; } ;;
6432       esac
6433
6434 else
6435   enable_c99=yes
6436 fi;
6437
6438
6439   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6440   # even if C99 support is turned off.
6441
6442 for ac_header in wchar.h
6443 do
6444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6446   echo "$as_me:$LINENO: checking for $ac_header" >&5
6447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6449   echo $ECHO_N "(cached) $ECHO_C" >&6
6450 fi
6451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6453 else
6454   # Is the header compilable?
6455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6457 cat >conftest.$ac_ext <<_ACEOF
6458 /* confdefs.h.  */
6459 _ACEOF
6460 cat confdefs.h >>conftest.$ac_ext
6461 cat >>conftest.$ac_ext <<_ACEOF
6462 /* end confdefs.h.  */
6463 $ac_includes_default
6464 #include <$ac_header>
6465 _ACEOF
6466 rm -f conftest.$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468   (eval $ac_compile) 2>conftest.er1
6469   ac_status=$?
6470   grep -v '^ *+' conftest.er1 >conftest.err
6471   rm -f conftest.er1
6472   cat conftest.err >&5
6473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474   (exit $ac_status); } &&
6475          { ac_try='test -z "$ac_c_werror_flag"
6476                          || test ! -s conftest.err'
6477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478   (eval $ac_try) 2>&5
6479   ac_status=$?
6480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481   (exit $ac_status); }; } &&
6482          { ac_try='test -s conftest.$ac_objext'
6483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6484   (eval $ac_try) 2>&5
6485   ac_status=$?
6486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487   (exit $ac_status); }; }; then
6488   ac_header_compiler=yes
6489 else
6490   echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.$ac_ext >&5
6492
6493 ac_header_compiler=no
6494 fi
6495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6497 echo "${ECHO_T}$ac_header_compiler" >&6
6498
6499 # Is the header present?
6500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6502 cat >conftest.$ac_ext <<_ACEOF
6503 /* confdefs.h.  */
6504 _ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h.  */
6508 #include <$ac_header>
6509 _ACEOF
6510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6511   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6512   ac_status=$?
6513   grep -v '^ *+' conftest.er1 >conftest.err
6514   rm -f conftest.er1
6515   cat conftest.err >&5
6516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517   (exit $ac_status); } >/dev/null; then
6518   if test -s conftest.err; then
6519     ac_cpp_err=$ac_c_preproc_warn_flag
6520     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6521   else
6522     ac_cpp_err=
6523   fi
6524 else
6525   ac_cpp_err=yes
6526 fi
6527 if test -z "$ac_cpp_err"; then
6528   ac_header_preproc=yes
6529 else
6530   echo "$as_me: failed program was:" >&5
6531 sed 's/^/| /' conftest.$ac_ext >&5
6532
6533   ac_header_preproc=no
6534 fi
6535 rm -f conftest.err conftest.$ac_ext
6536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6537 echo "${ECHO_T}$ac_header_preproc" >&6
6538
6539 # So?  What about this header?
6540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6541   yes:no: )
6542     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6544     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6546     ac_header_preproc=yes
6547     ;;
6548   no:yes:* )
6549     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6551     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6552 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6553     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6555     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6556 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6557     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6559     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6561     (
6562       cat <<\_ASBOX
6563 ## ----------------------------------------- ##
6564 ## Report this to the package-unused lists.  ##
6565 ## ----------------------------------------- ##
6566 _ASBOX
6567     ) |
6568       sed "s/^/$as_me: WARNING:     /" >&2
6569     ;;
6570 esac
6571 echo "$as_me:$LINENO: checking for $ac_header" >&5
6572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6574   echo $ECHO_N "(cached) $ECHO_C" >&6
6575 else
6576   eval "$as_ac_Header=\$ac_header_preproc"
6577 fi
6578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6580
6581 fi
6582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6583   cat >>confdefs.h <<_ACEOF
6584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6585 _ACEOF
6586  ac_has_wchar_h=yes
6587 else
6588   ac_has_wchar_h=no
6589 fi
6590
6591 done
6592
6593   echo "$as_me:$LINENO: checking for mbstate_t" >&5
6594 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6595   cat >conftest.$ac_ext <<_ACEOF
6596 /* confdefs.h.  */
6597 _ACEOF
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h.  */
6601 #include <wchar.h>
6602 int
6603 main ()
6604 {
6605 mbstate_t teststate;
6606   ;
6607   return 0;
6608 }
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612   (eval $ac_compile) 2>conftest.er1
6613   ac_status=$?
6614   grep -v '^ *+' conftest.er1 >conftest.err
6615   rm -f conftest.er1
6616   cat conftest.err >&5
6617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618   (exit $ac_status); } &&
6619          { ac_try='test -z "$ac_c_werror_flag"
6620                          || test ! -s conftest.err'
6621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622   (eval $ac_try) 2>&5
6623   ac_status=$?
6624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625   (exit $ac_status); }; } &&
6626          { ac_try='test -s conftest.$ac_objext'
6627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628   (eval $ac_try) 2>&5
6629   ac_status=$?
6630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631   (exit $ac_status); }; }; then
6632   have_mbstate_t=yes
6633 else
6634   echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6636
6637 have_mbstate_t=no
6638 fi
6639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6640   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6641 echo "${ECHO_T}$have_mbstate_t" >&6
6642   if test x"$have_mbstate_t" = xyes; then
6643
6644 cat >>confdefs.h <<\_ACEOF
6645 #define HAVE_MBSTATE_T 1
6646 _ACEOF
6647
6648   fi
6649
6650   if test x"$enable_c99" = x"yes"; then
6651
6652
6653
6654   ac_ext=cc
6655 ac_cpp='$CXXCPP $CPPFLAGS'
6656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6659
6660
6661   # Check for the existence of <math.h> functions used if C99 is enabled.
6662   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6663 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6664   if test "${ac_c99_math+set}" = set; then
6665   echo $ECHO_N "(cached) $ECHO_C" >&6
6666 else
6667
6668   cat >conftest.$ac_ext <<_ACEOF
6669 /* confdefs.h.  */
6670 _ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h.  */
6674 #include <math.h>
6675 int
6676 main ()
6677 {
6678 fpclassify(0.0);
6679                   isfinite(0.0);
6680                   isinf(0.0);
6681                   isnan(0.0);
6682                   isnormal(0.0);
6683                   signbit(0.0);
6684                   isgreater(0.0,0.0);
6685                   isgreaterequal(0.0,0.0);
6686                   isless(0.0,0.0);
6687                   islessequal(0.0,0.0);
6688                   islessgreater(0.0,0.0);
6689                   islessgreater(0.0,0.0);
6690                   isunordered(0.0,0.0);
6691
6692   ;
6693   return 0;
6694 }
6695 _ACEOF
6696 rm -f conftest.$ac_objext
6697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6698   (eval $ac_compile) 2>conftest.er1
6699   ac_status=$?
6700   grep -v '^ *+' conftest.er1 >conftest.err
6701   rm -f conftest.er1
6702   cat conftest.err >&5
6703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704   (exit $ac_status); } &&
6705          { ac_try='test -z "$ac_cxx_werror_flag"
6706                          || test ! -s conftest.err'
6707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708   (eval $ac_try) 2>&5
6709   ac_status=$?
6710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711   (exit $ac_status); }; } &&
6712          { ac_try='test -s conftest.$ac_objext'
6713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714   (eval $ac_try) 2>&5
6715   ac_status=$?
6716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717   (exit $ac_status); }; }; then
6718   ac_c99_math=yes
6719 else
6720   echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.$ac_ext >&5
6722
6723 ac_c99_math=no
6724 fi
6725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6726
6727 fi
6728
6729   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6730 echo "${ECHO_T}$ac_c99_math" >&6
6731   if test x"$ac_c99_math" = x"yes"; then
6732
6733 cat >>confdefs.h <<\_ACEOF
6734 #define _GLIBCXX_USE_C99_MATH 1
6735 _ACEOF
6736
6737   fi
6738
6739   # Check for the existence of <complex.h> complex math functions.
6740   # This is necessary even though libstdc++ uses the builtin versions
6741   # of these functions, because if the builtin cannot be used, a reference
6742   # to the library function is emitted.
6743
6744 for ac_header in complex.h
6745 do
6746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6748   echo "$as_me:$LINENO: checking for $ac_header" >&5
6749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6751   echo $ECHO_N "(cached) $ECHO_C" >&6
6752 fi
6753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6755 else
6756   # Is the header compilable?
6757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6759 cat >conftest.$ac_ext <<_ACEOF
6760 /* confdefs.h.  */
6761 _ACEOF
6762 cat confdefs.h >>conftest.$ac_ext
6763 cat >>conftest.$ac_ext <<_ACEOF
6764 /* end confdefs.h.  */
6765 $ac_includes_default
6766 #include <$ac_header>
6767 _ACEOF
6768 rm -f conftest.$ac_objext
6769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6770   (eval $ac_compile) 2>conftest.er1
6771   ac_status=$?
6772   grep -v '^ *+' conftest.er1 >conftest.err
6773   rm -f conftest.er1
6774   cat conftest.err >&5
6775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776   (exit $ac_status); } &&
6777          { ac_try='test -z "$ac_cxx_werror_flag"
6778                          || test ! -s conftest.err'
6779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780   (eval $ac_try) 2>&5
6781   ac_status=$?
6782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783   (exit $ac_status); }; } &&
6784          { ac_try='test -s conftest.$ac_objext'
6785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786   (eval $ac_try) 2>&5
6787   ac_status=$?
6788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789   (exit $ac_status); }; }; then
6790   ac_header_compiler=yes
6791 else
6792   echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6794
6795 ac_header_compiler=no
6796 fi
6797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6799 echo "${ECHO_T}$ac_header_compiler" >&6
6800
6801 # Is the header present?
6802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6804 cat >conftest.$ac_ext <<_ACEOF
6805 /* confdefs.h.  */
6806 _ACEOF
6807 cat confdefs.h >>conftest.$ac_ext
6808 cat >>conftest.$ac_ext <<_ACEOF
6809 /* end confdefs.h.  */
6810 #include <$ac_header>
6811 _ACEOF
6812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6813   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6814   ac_status=$?
6815   grep -v '^ *+' conftest.er1 >conftest.err
6816   rm -f conftest.er1
6817   cat conftest.err >&5
6818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819   (exit $ac_status); } >/dev/null; then
6820   if test -s conftest.err; then
6821     ac_cpp_err=$ac_cxx_preproc_warn_flag
6822     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6823   else
6824     ac_cpp_err=
6825   fi
6826 else
6827   ac_cpp_err=yes
6828 fi
6829 if test -z "$ac_cpp_err"; then
6830   ac_header_preproc=yes
6831 else
6832   echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.$ac_ext >&5
6834
6835   ac_header_preproc=no
6836 fi
6837 rm -f conftest.err conftest.$ac_ext
6838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6839 echo "${ECHO_T}$ac_header_preproc" >&6
6840
6841 # So?  What about this header?
6842 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6843   yes:no: )
6844     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6846     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6848     ac_header_preproc=yes
6849     ;;
6850   no:yes:* )
6851     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6853     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6854 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6855     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6857     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6858 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6859     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6861     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6863     (
6864       cat <<\_ASBOX
6865 ## ----------------------------------------- ##
6866 ## Report this to the package-unused lists.  ##
6867 ## ----------------------------------------- ##
6868 _ASBOX
6869     ) |
6870       sed "s/^/$as_me: WARNING:     /" >&2
6871     ;;
6872 esac
6873 echo "$as_me:$LINENO: checking for $ac_header" >&5
6874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6876   echo $ECHO_N "(cached) $ECHO_C" >&6
6877 else
6878   eval "$as_ac_Header=\$ac_header_preproc"
6879 fi
6880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6882
6883 fi
6884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6885   cat >>confdefs.h <<_ACEOF
6886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6888  ac_has_complex_h=yes
6889 else
6890   ac_has_complex_h=no
6891 fi
6892
6893 done
6894
6895   ac_c99_complex=no;
6896   if test x"$ac_has_complex_h" = x"yes"; then
6897     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6898 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6899     cat >conftest.$ac_ext <<_ACEOF
6900 /* confdefs.h.  */
6901 _ACEOF
6902 cat confdefs.h >>conftest.$ac_ext
6903 cat >>conftest.$ac_ext <<_ACEOF
6904 /* end confdefs.h.  */
6905 #include <complex.h>
6906 int
6907 main ()
6908 {
6909 typedef __complex__ float float_type; float_type tmpf;
6910                     cabsf(tmpf);
6911                     cargf(tmpf);
6912                     ccosf(tmpf);
6913                     ccoshf(tmpf);
6914                     cexpf(tmpf);
6915                     clogf(tmpf);
6916                     csinf(tmpf);
6917                     csinhf(tmpf);
6918                     csqrtf(tmpf);
6919                     ctanf(tmpf);
6920                     ctanhf(tmpf);
6921                     cpowf(tmpf, tmpf);
6922                     typedef __complex__ double double_type; double_type tmpd;
6923                     cabs(tmpd);
6924                     carg(tmpd);
6925                     ccos(tmpd);
6926                     ccosh(tmpd);
6927                     cexp(tmpd);
6928                     clog(tmpd);
6929                     csin(tmpd);
6930                     csinh(tmpd);
6931                     csqrt(tmpd);
6932                     ctan(tmpd);
6933                     ctanh(tmpd);
6934                     cpow(tmpd, tmpd);
6935                     typedef __complex__ long double ld_type; ld_type tmpld;
6936                     cabsl(tmpld);
6937                     cargl(tmpld);
6938                     ccosl(tmpld);
6939                     ccoshl(tmpld);
6940                     cexpl(tmpld);
6941                     clogl(tmpld);
6942                     csinl(tmpld);
6943                     csinhl(tmpld);
6944                     csqrtl(tmpld);
6945                     ctanl(tmpld);
6946                     ctanhl(tmpld);
6947                     cpowl(tmpld, tmpld);
6948
6949   ;
6950   return 0;
6951 }
6952 _ACEOF
6953 rm -f conftest.$ac_objext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6955   (eval $ac_compile) 2>conftest.er1
6956   ac_status=$?
6957   grep -v '^ *+' conftest.er1 >conftest.err
6958   rm -f conftest.er1
6959   cat conftest.err >&5
6960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961   (exit $ac_status); } &&
6962          { ac_try='test -z "$ac_cxx_werror_flag"
6963                          || test ! -s conftest.err'
6964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6965   (eval $ac_try) 2>&5
6966   ac_status=$?
6967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968   (exit $ac_status); }; } &&
6969          { ac_try='test -s conftest.$ac_objext'
6970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6971   (eval $ac_try) 2>&5
6972   ac_status=$?
6973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974   (exit $ac_status); }; }; then
6975   ac_c99_complex=yes
6976 else
6977   echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.$ac_ext >&5
6979
6980 ac_c99_complex=no
6981 fi
6982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6983   fi
6984   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6985 echo "${ECHO_T}$ac_c99_complex" >&6
6986   if test x"$ac_c99_complex" = x"yes"; then
6987
6988 cat >>confdefs.h <<\_ACEOF
6989 #define _GLIBCXX_USE_C99_COMPLEX 1
6990 _ACEOF
6991
6992   fi
6993
6994   # Check for the existence in <stdio.h> of vscanf, et. al.
6995   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6996 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6997   if test "${ac_c99_stdio+set}" = set; then
6998   echo $ECHO_N "(cached) $ECHO_C" >&6
6999 else
7000
7001   cat >conftest.$ac_ext <<_ACEOF
7002 /* confdefs.h.  */
7003 _ACEOF
7004 cat confdefs.h >>conftest.$ac_ext
7005 cat >>conftest.$ac_ext <<_ACEOF
7006 /* end confdefs.h.  */
7007 #include <stdio.h>
7008                   #include <stdarg.h>
7009                   void foo(char* fmt, ...)
7010                   {
7011                     va_list args; va_start(args, fmt);
7012                     vfscanf(stderr, "%i", args);
7013                     vscanf("%i", args);
7014                     vsnprintf(fmt, 0, "%i", args);
7015                     vsscanf(fmt, "%i", args);
7016                   }
7017 int
7018 main ()
7019 {
7020 snprintf("12", 0, "%i");
7021   ;
7022   return 0;
7023 }
7024 _ACEOF
7025 rm -f conftest.$ac_objext
7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7027   (eval $ac_compile) 2>conftest.er1
7028   ac_status=$?
7029   grep -v '^ *+' conftest.er1 >conftest.err
7030   rm -f conftest.er1
7031   cat conftest.err >&5
7032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033   (exit $ac_status); } &&
7034          { ac_try='test -z "$ac_cxx_werror_flag"
7035                          || test ! -s conftest.err'
7036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037   (eval $ac_try) 2>&5
7038   ac_status=$?
7039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040   (exit $ac_status); }; } &&
7041          { ac_try='test -s conftest.$ac_objext'
7042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7043   (eval $ac_try) 2>&5
7044   ac_status=$?
7045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046   (exit $ac_status); }; }; then
7047   ac_c99_stdio=yes
7048 else
7049   echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.$ac_ext >&5
7051
7052 ac_c99_stdio=no
7053 fi
7054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7055
7056 fi
7057
7058   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7059 echo "${ECHO_T}$ac_c99_stdio" >&6
7060
7061   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7062   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7063 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7064   if test "${ac_c99_stdlib+set}" = set; then
7065   echo $ECHO_N "(cached) $ECHO_C" >&6
7066 else
7067
7068   cat >conftest.$ac_ext <<_ACEOF
7069 /* confdefs.h.  */
7070 _ACEOF
7071 cat confdefs.h >>conftest.$ac_ext
7072 cat >>conftest.$ac_ext <<_ACEOF
7073 /* end confdefs.h.  */
7074 #include <stdlib.h>
7075 int
7076 main ()
7077 {
7078 char* tmp;
7079                   strtof("gnu", &tmp);
7080                   strtold("gnu", &tmp);
7081                   strtoll("gnu", &tmp, 10);
7082                   strtoull("gnu", &tmp, 10);
7083                   llabs(10);
7084                   lldiv(10,1);
7085                   atoll("10");
7086                   _Exit(0);
7087                   lldiv_t mydivt;
7088   ;
7089   return 0;
7090 }
7091 _ACEOF
7092 rm -f conftest.$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094   (eval $ac_compile) 2>conftest.er1
7095   ac_status=$?
7096   grep -v '^ *+' conftest.er1 >conftest.err
7097   rm -f conftest.er1
7098   cat conftest.err >&5
7099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100   (exit $ac_status); } &&
7101          { ac_try='test -z "$ac_cxx_werror_flag"
7102                          || test ! -s conftest.err'
7103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104   (eval $ac_try) 2>&5
7105   ac_status=$?
7106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107   (exit $ac_status); }; } &&
7108          { ac_try='test -s conftest.$ac_objext'
7109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110   (eval $ac_try) 2>&5
7111   ac_status=$?
7112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113   (exit $ac_status); }; }; then
7114   ac_c99_stdlib=yes
7115 else
7116   echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.$ac_ext >&5
7118
7119 ac_c99_stdlib=no
7120 fi
7121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7122
7123 fi
7124
7125   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7126 echo "${ECHO_T}$ac_c99_stdlib" >&6
7127
7128   # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7129
7130 for ac_header in wctype.h
7131 do
7132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7134   echo "$as_me:$LINENO: checking for $ac_header" >&5
7135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7137   echo $ECHO_N "(cached) $ECHO_C" >&6
7138 fi
7139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7141 else
7142   # Is the header compilable?
7143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7145 cat >conftest.$ac_ext <<_ACEOF
7146 /* confdefs.h.  */
7147 _ACEOF
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h.  */
7151 $ac_includes_default
7152 #include <$ac_header>
7153 _ACEOF
7154 rm -f conftest.$ac_objext
7155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7156   (eval $ac_compile) 2>conftest.er1
7157   ac_status=$?
7158   grep -v '^ *+' conftest.er1 >conftest.err
7159   rm -f conftest.er1
7160   cat conftest.err >&5
7161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162   (exit $ac_status); } &&
7163          { ac_try='test -z "$ac_cxx_werror_flag"
7164                          || test ! -s conftest.err'
7165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7166   (eval $ac_try) 2>&5
7167   ac_status=$?
7168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169   (exit $ac_status); }; } &&
7170          { ac_try='test -s conftest.$ac_objext'
7171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172   (eval $ac_try) 2>&5
7173   ac_status=$?
7174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175   (exit $ac_status); }; }; then
7176   ac_header_compiler=yes
7177 else
7178   echo "$as_me: failed program was:" >&5
7179 sed 's/^/| /' conftest.$ac_ext >&5
7180
7181 ac_header_compiler=no
7182 fi
7183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7185 echo "${ECHO_T}$ac_header_compiler" >&6
7186
7187 # Is the header present?
7188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7190 cat >conftest.$ac_ext <<_ACEOF
7191 /* confdefs.h.  */
7192 _ACEOF
7193 cat confdefs.h >>conftest.$ac_ext
7194 cat >>conftest.$ac_ext <<_ACEOF
7195 /* end confdefs.h.  */
7196 #include <$ac_header>
7197 _ACEOF
7198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7199   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7200   ac_status=$?
7201   grep -v '^ *+' conftest.er1 >conftest.err
7202   rm -f conftest.er1
7203   cat conftest.err >&5
7204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205   (exit $ac_status); } >/dev/null; then
7206   if test -s conftest.err; then
7207     ac_cpp_err=$ac_cxx_preproc_warn_flag
7208     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7209   else
7210     ac_cpp_err=
7211   fi
7212 else
7213   ac_cpp_err=yes
7214 fi
7215 if test -z "$ac_cpp_err"; then
7216   ac_header_preproc=yes
7217 else
7218   echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.$ac_ext >&5
7220
7221   ac_header_preproc=no
7222 fi
7223 rm -f conftest.err conftest.$ac_ext
7224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7225 echo "${ECHO_T}$ac_header_preproc" >&6
7226
7227 # So?  What about this header?
7228 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7229   yes:no: )
7230     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7232     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7234     ac_header_preproc=yes
7235     ;;
7236   no:yes:* )
7237     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7239     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7240 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7241     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7243     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7244 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7245     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7247     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7249     (
7250       cat <<\_ASBOX
7251 ## ----------------------------------------- ##
7252 ## Report this to the package-unused lists.  ##
7253 ## ----------------------------------------- ##
7254 _ASBOX
7255     ) |
7256       sed "s/^/$as_me: WARNING:     /" >&2
7257     ;;
7258 esac
7259 echo "$as_me:$LINENO: checking for $ac_header" >&5
7260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7262   echo $ECHO_N "(cached) $ECHO_C" >&6
7263 else
7264   eval "$as_ac_Header=\$ac_header_preproc"
7265 fi
7266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7268
7269 fi
7270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7271   cat >>confdefs.h <<_ACEOF
7272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7273 _ACEOF
7274  ac_has_wctype_h=yes
7275 else
7276   ac_has_wctype_h=no
7277 fi
7278
7279 done
7280
7281   ac_c99_wchar=no;
7282   if test x"$ac_has_wchar_h" = xyes &&
7283      test x"$ac_has_wctype_h" = xyes; then
7284     cat >conftest.$ac_ext <<_ACEOF
7285 /* confdefs.h.  */
7286 _ACEOF
7287 cat confdefs.h >>conftest.$ac_ext
7288 cat >>conftest.$ac_ext <<_ACEOF
7289 /* end confdefs.h.  */
7290 #include <wchar.h>
7291                     #include <stddef.h>
7292                     wint_t i;
7293                     long l = WEOF;
7294                     long j = WCHAR_MIN;
7295                     long k = WCHAR_MAX;
7296                     namespace test
7297                     {
7298                       using ::btowc;
7299                       using ::fgetwc;
7300                       using ::fgetws;
7301                       using ::fputwc;
7302                       using ::fputws;
7303                       using ::fwide;
7304                       using ::fwprintf;
7305                       using ::fwscanf;
7306                       using ::getwc;
7307                       using ::getwchar;
7308                       using ::mbrlen;
7309                       using ::mbrtowc;
7310                       using ::mbsinit;
7311                       using ::mbsrtowcs;
7312                       using ::putwc;
7313                       using ::putwchar;
7314                       using ::swprintf;
7315                       using ::swscanf;
7316                       using ::ungetwc;
7317                       using ::vfwprintf;
7318                       using ::vswprintf;
7319                       using ::vwprintf;
7320                       using ::wcrtomb;
7321                       using ::wcscat;
7322                       using ::wcschr;
7323                       using ::wcscmp;
7324                       using ::wcscoll;
7325                       using ::wcscpy;
7326                       using ::wcscspn;
7327                       using ::wcsftime;
7328                       using ::wcslen;
7329                       using ::wcsncat;
7330                       using ::wcsncmp;
7331                       using ::wcsncpy;
7332                       using ::wcspbrk;
7333                       using ::wcsrchr;
7334                       using ::wcsrtombs;
7335                       using ::wcsspn;
7336                       using ::wcsstr;
7337                       using ::wcstod;
7338                       using ::wcstok;
7339                       using ::wcstol;
7340                       using ::wcstold;
7341                       using ::wcstoll;
7342                       using ::wcstoul;
7343                       using ::wcstoull;
7344                       using ::wcsxfrm;
7345                       using ::wctob;
7346                       using ::wmemchr;
7347                       using ::wmemcmp;
7348                       using ::wmemcpy;
7349                       using ::wmemmove;
7350                       using ::wmemset;
7351                       using ::wprintf;
7352                       using ::wscanf;
7353                     }
7354
7355 int
7356 main ()
7357 {
7358
7359   ;
7360   return 0;
7361 }
7362 _ACEOF
7363 rm -f conftest.$ac_objext
7364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7365   (eval $ac_compile) 2>conftest.er1
7366   ac_status=$?
7367   grep -v '^ *+' conftest.er1 >conftest.err
7368   rm -f conftest.er1
7369   cat conftest.err >&5
7370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371   (exit $ac_status); } &&
7372          { ac_try='test -z "$ac_cxx_werror_flag"
7373                          || test ! -s conftest.err'
7374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375   (eval $ac_try) 2>&5
7376   ac_status=$?
7377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378   (exit $ac_status); }; } &&
7379          { ac_try='test -s conftest.$ac_objext'
7380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381   (eval $ac_try) 2>&5
7382   ac_status=$?
7383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384   (exit $ac_status); }; }; then
7385   ac_c99_wchar=yes
7386 else
7387   echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7389
7390 ac_c99_wchar=no
7391 fi
7392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7393
7394     # Checks for wide character functions that may not be present.
7395     # Injection of these is wrapped with guard macros.
7396     # NB: only put functions here, instead of immediately above, if
7397     # absolutely necessary.
7398     cat >conftest.$ac_ext <<_ACEOF
7399 /* confdefs.h.  */
7400 _ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h.  */
7404 #include <wchar.h>
7405                     namespace test { using ::vfwscanf; }
7406 int
7407 main ()
7408 {
7409
7410   ;
7411   return 0;
7412 }
7413 _ACEOF
7414 rm -f conftest.$ac_objext
7415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7416   (eval $ac_compile) 2>conftest.er1
7417   ac_status=$?
7418   grep -v '^ *+' conftest.er1 >conftest.err
7419   rm -f conftest.er1
7420   cat conftest.err >&5
7421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422   (exit $ac_status); } &&
7423          { ac_try='test -z "$ac_cxx_werror_flag"
7424                          || test ! -s conftest.err'
7425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7426   (eval $ac_try) 2>&5
7427   ac_status=$?
7428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429   (exit $ac_status); }; } &&
7430          { ac_try='test -s conftest.$ac_objext'
7431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432   (eval $ac_try) 2>&5
7433   ac_status=$?
7434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435   (exit $ac_status); }; }; then
7436
7437 cat >>confdefs.h <<\_ACEOF
7438 #define HAVE_VFWSCANF 1
7439 _ACEOF
7440
7441 else
7442   echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7444
7445 fi
7446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7447
7448     cat >conftest.$ac_ext <<_ACEOF
7449 /* confdefs.h.  */
7450 _ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h.  */
7454 #include <wchar.h>
7455                     namespace test { using ::vswscanf; }
7456 int
7457 main ()
7458 {
7459
7460   ;
7461   return 0;
7462 }
7463 _ACEOF
7464 rm -f conftest.$ac_objext
7465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7466   (eval $ac_compile) 2>conftest.er1
7467   ac_status=$?
7468   grep -v '^ *+' conftest.er1 >conftest.err
7469   rm -f conftest.er1
7470   cat conftest.err >&5
7471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472   (exit $ac_status); } &&
7473          { ac_try='test -z "$ac_cxx_werror_flag"
7474                          || test ! -s conftest.err'
7475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7476   (eval $ac_try) 2>&5
7477   ac_status=$?
7478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479   (exit $ac_status); }; } &&
7480          { ac_try='test -s conftest.$ac_objext'
7481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482   (eval $ac_try) 2>&5
7483   ac_status=$?
7484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485   (exit $ac_status); }; }; then
7486
7487 cat >>confdefs.h <<\_ACEOF
7488 #define HAVE_VSWSCANF 1
7489 _ACEOF
7490
7491 else
7492   echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7494
7495 fi
7496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7497
7498     cat >conftest.$ac_ext <<_ACEOF
7499 /* confdefs.h.  */
7500 _ACEOF
7501 cat confdefs.h >>conftest.$ac_ext
7502 cat >>conftest.$ac_ext <<_ACEOF
7503 /* end confdefs.h.  */
7504 #include <wchar.h>
7505                     namespace test { using ::vwscanf; }
7506 int
7507 main ()
7508 {
7509
7510   ;
7511   return 0;
7512 }
7513 _ACEOF
7514 rm -f conftest.$ac_objext
7515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7516   (eval $ac_compile) 2>conftest.er1
7517   ac_status=$?
7518   grep -v '^ *+' conftest.er1 >conftest.err
7519   rm -f conftest.er1
7520   cat conftest.err >&5
7521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522   (exit $ac_status); } &&
7523          { ac_try='test -z "$ac_cxx_werror_flag"
7524                          || test ! -s conftest.err'
7525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526   (eval $ac_try) 2>&5
7527   ac_status=$?
7528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529   (exit $ac_status); }; } &&
7530          { ac_try='test -s conftest.$ac_objext'
7531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532   (eval $ac_try) 2>&5
7533   ac_status=$?
7534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535   (exit $ac_status); }; }; then
7536
7537 cat >>confdefs.h <<\_ACEOF
7538 #define HAVE_VWSCANF 1
7539 _ACEOF
7540
7541 else
7542   echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7544
7545 fi
7546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7547
7548     cat >conftest.$ac_ext <<_ACEOF
7549 /* confdefs.h.  */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h.  */
7554 #include <wchar.h>
7555                     namespace test { using ::wcstof; }
7556 int
7557 main ()
7558 {
7559
7560   ;
7561   return 0;
7562 }
7563 _ACEOF
7564 rm -f conftest.$ac_objext
7565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7566   (eval $ac_compile) 2>conftest.er1
7567   ac_status=$?
7568   grep -v '^ *+' conftest.er1 >conftest.err
7569   rm -f conftest.er1
7570   cat conftest.err >&5
7571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572   (exit $ac_status); } &&
7573          { ac_try='test -z "$ac_cxx_werror_flag"
7574                          || test ! -s conftest.err'
7575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576   (eval $ac_try) 2>&5
7577   ac_status=$?
7578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579   (exit $ac_status); }; } &&
7580          { ac_try='test -s conftest.$ac_objext'
7581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582   (eval $ac_try) 2>&5
7583   ac_status=$?
7584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585   (exit $ac_status); }; }; then
7586
7587 cat >>confdefs.h <<\_ACEOF
7588 #define HAVE_WCSTOF 1
7589 _ACEOF
7590
7591 else
7592   echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7594
7595 fi
7596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7597
7598     cat >conftest.$ac_ext <<_ACEOF
7599 /* confdefs.h.  */
7600 _ACEOF
7601 cat confdefs.h >>conftest.$ac_ext
7602 cat >>conftest.$ac_ext <<_ACEOF
7603 /* end confdefs.h.  */
7604 #include <wctype.h>
7605 int
7606 main ()
7607 {
7608  wint_t t; int i = iswblank(t);
7609   ;
7610   return 0;
7611 }
7612 _ACEOF
7613 rm -f conftest.$ac_objext
7614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7615   (eval $ac_compile) 2>conftest.er1
7616   ac_status=$?
7617   grep -v '^ *+' conftest.er1 >conftest.err
7618   rm -f conftest.er1
7619   cat conftest.err >&5
7620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621   (exit $ac_status); } &&
7622          { ac_try='test -z "$ac_cxx_werror_flag"
7623                          || test ! -s conftest.err'
7624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625   (eval $ac_try) 2>&5
7626   ac_status=$?
7627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628   (exit $ac_status); }; } &&
7629          { ac_try='test -s conftest.$ac_objext'
7630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631   (eval $ac_try) 2>&5
7632   ac_status=$?
7633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634   (exit $ac_status); }; }; then
7635
7636 cat >>confdefs.h <<\_ACEOF
7637 #define HAVE_ISWBLANK 1
7638 _ACEOF
7639
7640 else
7641   echo "$as_me: failed program was:" >&5
7642 sed 's/^/| /' conftest.$ac_ext >&5
7643
7644 fi
7645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7646
7647     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7648 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7649     echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7650 echo "${ECHO_T}$ac_c99_wchar" >&6
7651   fi
7652
7653   # Option parsed, now set things appropriately.
7654   if test x"$ac_c99_math" = x"no" ||
7655      test x"$ac_c99_complex" = x"no" ||
7656      test x"$ac_c99_stdio" = x"no" ||
7657      test x"$ac_c99_stdlib" = x"no" ||
7658      test x"$ac_c99_wchar" = x"no"; then
7659     enable_c99=no;
7660   else
7661
7662 cat >>confdefs.h <<\_ACEOF
7663 #define _GLIBCXX_USE_C99 1
7664 _ACEOF
7665
7666   fi
7667
7668   ac_ext=c
7669 ac_cpp='$CPP $CPPFLAGS'
7670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7673
7674   fi
7675
7676   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7677 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7678   echo "$as_me:$LINENO: result: $enable_c99" >&5
7679 echo "${ECHO_T}$enable_c99" >&6
7680
7681
7682    # Check whether --enable-long-long or --disable-long-long was given.
7683 if test "${enable_long_long+set}" = set; then
7684   enableval="$enable_long_long"
7685
7686       case "$enableval" in
7687        yes|no) ;;
7688        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7689 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7690    { (exit 1); exit 1; }; } ;;
7691       esac
7692
7693 else
7694   enable_long_long=yes
7695 fi;
7696
7697   if test $enable_long_long = yes; then
7698
7699 cat >>confdefs.h <<\_ACEOF
7700 #define _GLIBCXX_USE_LONG_LONG 1
7701 _ACEOF
7702
7703   fi
7704   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7705 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7706   echo "$as_me:$LINENO: result: $enable_long_long" >&5
7707 echo "${ECHO_T}$enable_long_long" >&6
7708
7709
7710    # Check whether --enable-wchar_t or --disable-wchar_t was given.
7711 if test "${enable_wchar_t+set}" = set; then
7712   enableval="$enable_wchar_t"
7713
7714       case "$enableval" in
7715        yes|no) ;;
7716        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7717 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7718    { (exit 1); exit 1; }; } ;;
7719       esac
7720
7721 else
7722   enable_wchar_t=yes
7723 fi;
7724
7725   if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7726
7727 cat >>confdefs.h <<\_ACEOF
7728 #define _GLIBCXX_USE_WCHAR_T 1
7729 _ACEOF
7730
7731   fi
7732   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7733 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7734   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7735 echo "${ECHO_T}$enable_wchar_t" >&6
7736
7737
7738    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7739 if test "${enable_concept_checks+set}" = set; then
7740   enableval="$enable_concept_checks"
7741
7742       case "$enableval" in
7743        yes|no) ;;
7744        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7745 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7746    { (exit 1); exit 1; }; } ;;
7747       esac
7748
7749 else
7750   enable_concept_checks=no
7751 fi;
7752
7753   if test $enable_concept_checks = yes; then
7754
7755 cat >>confdefs.h <<\_ACEOF
7756 #define _GLIBCXX_CONCEPT_CHECKS 1
7757 _ACEOF
7758
7759   fi
7760
7761
7762    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7763 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7764   enableval="$enable_libstdcxx_debug_flags"
7765   case "x$enable_libstdcxx_debug_flags" in
7766       xno | x)    enable_libstdcxx_debug_flags= ;;
7767       x-*)        ;;
7768       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7769 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7770    { (exit 1); exit 1; }; } ;;
7771      esac
7772 else
7773   enable_libstdcxx_debug_flags="-g3 -O0"
7774 fi;
7775
7776
7777   # Option parsed, now set things appropriately
7778   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7779
7780
7781   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7782 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7783
7784
7785   echo "$as_me:$LINENO: checking for additional debug build" >&5
7786 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7787    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7788 if test "${enable_libstdcxx_debug+set}" = set; then
7789   enableval="$enable_libstdcxx_debug"
7790
7791       case "$enableval" in
7792        yes|no) ;;
7793        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7794 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7795    { (exit 1); exit 1; }; } ;;
7796       esac
7797
7798 else
7799   enable_libstdcxx_debug=no
7800 fi;
7801
7802   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7803 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7804
7805
7806   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7807 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7808    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7809 if test "${enable_cxx_flags+set}" = set; then
7810   enableval="$enable_cxx_flags"
7811   case "x$enable_cxx_flags" in
7812       xno | x)   enable_cxx_flags= ;;
7813       x-*)       ;;
7814       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7815 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7816    { (exit 1); exit 1; }; } ;;
7817      esac
7818 else
7819   enable_cxx_flags=
7820 fi;
7821
7822
7823   # Run through flags (either default or command-line) and set anything
7824   # extra (e.g., #defines) that must accompany particular g++ options.
7825   if test -n "$enable_cxx_flags"; then
7826     for f in $enable_cxx_flags; do
7827       case "$f" in
7828         -fhonor-std)  ;;
7829         -*)  ;;
7830         *)   # and we're trying to pass /what/ exactly?
7831              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7832 echo "$as_me: error: compiler flags start with a -" >&2;}
7833    { (exit 1); exit 1; }; } ;;
7834       esac
7835     done
7836   fi
7837
7838   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7839   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7840 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7841
7842
7843
7844    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7845 if test "${enable_fully_dynamic_string+set}" = set; then
7846   enableval="$enable_fully_dynamic_string"
7847
7848       case "$enableval" in
7849        yes|no) ;;
7850        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7851 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7852    { (exit 1); exit 1; }; } ;;
7853       esac
7854
7855 else
7856   enable_fully_dynamic_string=no
7857 fi;
7858
7859   if test $enable_fully_dynamic_string = yes; then
7860
7861 cat >>confdefs.h <<\_ACEOF
7862 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7863 _ACEOF
7864
7865   fi
7866
7867
7868 # No surprises, no surprises...
7869
7870   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7871 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7872   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7873   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7874 echo "${ECHO_T}$target_thread_file" >&6
7875
7876   if test $target_thread_file != single; then
7877
7878 cat >>confdefs.h <<\_ACEOF
7879 #define HAVE_GTHR_DEFAULT 1
7880 _ACEOF
7881
7882   fi
7883
7884   glibcxx_thread_h=gthr-$target_thread_file.h
7885
7886     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7887   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7888     enable_thread=yes
7889   else
7890    enable_thread=no
7891   fi
7892
7893
7894
7895 if test $atomicity_dir = cpu/generic ; then
7896   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7897 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7898   if test $target_thread_file = single; then
7899     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7900 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7901     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7902 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7903   else
7904     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7905 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7906     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7907 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7908   fi
7909 fi
7910
7911
7912 if $GLIBCXX_IS_NATIVE; then
7913
7914   # We can do more elaborate tests that assume a working linker.
7915   CANADIAN=no
7916
7917   # Check for available headers.
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7934   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7935   sys/types.h sys/ipc.h sys/sem.h
7936 do
7937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7939   echo "$as_me:$LINENO: checking for $ac_header" >&5
7940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7942   echo $ECHO_N "(cached) $ECHO_C" >&6
7943 fi
7944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7946 else
7947   # Is the header compilable?
7948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7950 cat >conftest.$ac_ext <<_ACEOF
7951 /* confdefs.h.  */
7952 _ACEOF
7953 cat confdefs.h >>conftest.$ac_ext
7954 cat >>conftest.$ac_ext <<_ACEOF
7955 /* end confdefs.h.  */
7956 $ac_includes_default
7957 #include <$ac_header>
7958 _ACEOF
7959 rm -f conftest.$ac_objext
7960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7961   (eval $ac_compile) 2>conftest.er1
7962   ac_status=$?
7963   grep -v '^ *+' conftest.er1 >conftest.err
7964   rm -f conftest.er1
7965   cat conftest.err >&5
7966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967   (exit $ac_status); } &&
7968          { ac_try='test -z "$ac_c_werror_flag"
7969                          || test ! -s conftest.err'
7970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971   (eval $ac_try) 2>&5
7972   ac_status=$?
7973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974   (exit $ac_status); }; } &&
7975          { ac_try='test -s conftest.$ac_objext'
7976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977   (eval $ac_try) 2>&5
7978   ac_status=$?
7979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980   (exit $ac_status); }; }; then
7981   ac_header_compiler=yes
7982 else
7983   echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7985
7986 ac_header_compiler=no
7987 fi
7988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7990 echo "${ECHO_T}$ac_header_compiler" >&6
7991
7992 # Is the header present?
7993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7995 cat >conftest.$ac_ext <<_ACEOF
7996 /* confdefs.h.  */
7997 _ACEOF
7998 cat confdefs.h >>conftest.$ac_ext
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h.  */
8001 #include <$ac_header>
8002 _ACEOF
8003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8004   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8005   ac_status=$?
8006   grep -v '^ *+' conftest.er1 >conftest.err
8007   rm -f conftest.er1
8008   cat conftest.err >&5
8009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010   (exit $ac_status); } >/dev/null; then
8011   if test -s conftest.err; then
8012     ac_cpp_err=$ac_c_preproc_warn_flag
8013     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8014   else
8015     ac_cpp_err=
8016   fi
8017 else
8018   ac_cpp_err=yes
8019 fi
8020 if test -z "$ac_cpp_err"; then
8021   ac_header_preproc=yes
8022 else
8023   echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.$ac_ext >&5
8025
8026   ac_header_preproc=no
8027 fi
8028 rm -f conftest.err conftest.$ac_ext
8029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8030 echo "${ECHO_T}$ac_header_preproc" >&6
8031
8032 # So?  What about this header?
8033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8034   yes:no: )
8035     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8037     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8039     ac_header_preproc=yes
8040     ;;
8041   no:yes:* )
8042     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8044     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8045 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8046     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8048     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8049 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8050     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8052     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8054     (
8055       cat <<\_ASBOX
8056 ## ----------------------------------------- ##
8057 ## Report this to the package-unused lists.  ##
8058 ## ----------------------------------------- ##
8059 _ASBOX
8060     ) |
8061       sed "s/^/$as_me: WARNING:     /" >&2
8062     ;;
8063 esac
8064 echo "$as_me:$LINENO: checking for $ac_header" >&5
8065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8067   echo $ECHO_N "(cached) $ECHO_C" >&6
8068 else
8069   eval "$as_ac_Header=\$ac_header_preproc"
8070 fi
8071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8073
8074 fi
8075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8076   cat >>confdefs.h <<_ACEOF
8077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8078 _ACEOF
8079
8080 fi
8081
8082 done
8083
8084
8085
8086   # All these tests are for C++; save the language and the compiler flags.
8087   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8088   # found in GLIBCXX_CONFIGURE.
8089
8090
8091   ac_ext=cc
8092 ac_cpp='$CXXCPP $CPPFLAGS'
8093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8096
8097   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8098   ac_save_CXXFLAGS="$CXXFLAGS"
8099
8100   # Check for maintainer-mode bits.
8101   if test x"$USE_MAINTAINER_MODE" = xno; then
8102     WERROR=''
8103   else
8104     WERROR='-Werror'
8105   fi
8106
8107   # Check for -ffunction-sections -fdata-sections
8108   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8109 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8110   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8111   cat >conftest.$ac_ext <<_ACEOF
8112 /* confdefs.h.  */
8113 _ACEOF
8114 cat confdefs.h >>conftest.$ac_ext
8115 cat >>conftest.$ac_ext <<_ACEOF
8116 /* end confdefs.h.  */
8117
8118 int
8119 main ()
8120 {
8121 int foo;
8122   ;
8123   return 0;
8124 }
8125 _ACEOF
8126 rm -f conftest.$ac_objext
8127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8128   (eval $ac_compile) 2>conftest.er1
8129   ac_status=$?
8130   grep -v '^ *+' conftest.er1 >conftest.err
8131   rm -f conftest.er1
8132   cat conftest.err >&5
8133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134   (exit $ac_status); } &&
8135          { ac_try='test -z "$ac_cxx_werror_flag"
8136                          || test ! -s conftest.err'
8137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138   (eval $ac_try) 2>&5
8139   ac_status=$?
8140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141   (exit $ac_status); }; } &&
8142          { ac_try='test -s conftest.$ac_objext'
8143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8144   (eval $ac_try) 2>&5
8145   ac_status=$?
8146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147   (exit $ac_status); }; }; then
8148   ac_fdsections=yes
8149 else
8150   echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8152
8153 ac_fdsections=no
8154 fi
8155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8156   if test "$ac_test_CXXFLAGS" = set; then
8157     CXXFLAGS="$ac_save_CXXFLAGS"
8158   else
8159     # this is the suspicious part
8160     CXXFLAGS=''
8161   fi
8162   if test x"$ac_fdsections" = x"yes"; then
8163     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8164   fi
8165   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8166 echo "${ECHO_T}$ac_fdsections" >&6
8167
8168   ac_ext=c
8169 ac_cpp='$CPP $CPPFLAGS'
8170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8173
8174
8175
8176
8177
8178   # If we're not using GNU ld, then there's no point in even trying these
8179   # tests.  Check for that first.  We should have already tested for gld
8180   # by now (in libtool), but require it now just to be safe...
8181   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8182   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8183
8184
8185
8186   # The name set by libtool depends on the version of libtool.  Shame on us
8187   # for depending on an impl detail, but c'est la vie.  Older versions used
8188   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8189   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8190   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8191   # set (hence we're using an older libtool), then set it.
8192   if test x${with_gnu_ld+set} != xset; then
8193     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8194       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8195       with_gnu_ld=no
8196     else
8197       with_gnu_ld=$ac_cv_prog_gnu_ld
8198     fi
8199   fi
8200
8201   # Start by getting the version number.  I think the libtool test already
8202   # does some of this, but throws away the result.
8203
8204   ldver=`$LD --version 2>/dev/null | head -1 | \
8205          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8206
8207   glibcxx_gnu_ld_version=`echo $ldver | \
8208          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8209
8210   # Set --gc-sections.
8211   if test "$with_gnu_ld" = "notbroken"; then
8212     # GNU ld it is!  Joy and bunny rabbits!
8213
8214     # All these tests are for C++; save the language and the compiler flags.
8215     # Need to do this so that g++ won't try to link in libstdc++
8216     ac_test_CFLAGS="${CFLAGS+set}"
8217     ac_save_CFLAGS="$CFLAGS"
8218     CFLAGS='-x c++  -Wl,--gc-sections'
8219
8220     # Check for -Wl,--gc-sections
8221     # XXX This test is broken at the moment, as symbols required for linking
8222     # are now in libsupc++ (not built yet).  In addition, this test has
8223     # cored on solaris in the past.  In addition, --gc-sections doesn't
8224     # really work at the moment (keeps on discarding used sections, first
8225     # .eh_frame and now some of the glibc sections for iconv).
8226     # Bzzzzt.  Thanks for playing, maybe next time.
8227     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8228 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8229     if test "$cross_compiling" = yes; then
8230   ac_sectionLDflags=yes
8231 else
8232   cat >conftest.$ac_ext <<_ACEOF
8233 /* confdefs.h.  */
8234 _ACEOF
8235 cat confdefs.h >>conftest.$ac_ext
8236 cat >>conftest.$ac_ext <<_ACEOF
8237 /* end confdefs.h.  */
8238
8239      int main(void)
8240      {
8241        try { throw 1; }
8242        catch (...) { };
8243        return 0;
8244      }
8245
8246 _ACEOF
8247 rm -f conftest$ac_exeext
8248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8249   (eval $ac_link) 2>&5
8250   ac_status=$?
8251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254   (eval $ac_try) 2>&5
8255   ac_status=$?
8256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257   (exit $ac_status); }; }; then
8258   ac_sectionLDflags=yes
8259 else
8260   echo "$as_me: program exited with status $ac_status" >&5
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.$ac_ext >&5
8263
8264 ( exit $ac_status )
8265 ac_sectionLDflags=no
8266 fi
8267 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8268 fi
8269     if test "$ac_test_CFLAGS" = set; then
8270       CFLAGS="$ac_save_CFLAGS"
8271     else
8272       # this is the suspicious part
8273       CFLAGS=''
8274     fi
8275     if test "$ac_sectionLDflags" = "yes"; then
8276       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8277     fi
8278     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8279 echo "${ECHO_T}$ac_sectionLDflags" >&6
8280   fi
8281
8282   # Set linker optimization flags.
8283   if test x"$with_gnu_ld" = x"yes"; then
8284     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8285   fi
8286
8287
8288
8289
8290
8291   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8292   ac_save_CXXFLAGS="$CXXFLAGS"
8293   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8294
8295     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8296 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8297 if test "${ac_cv_lib_m_sin+set}" = set; then
8298   echo $ECHO_N "(cached) $ECHO_C" >&6
8299 else
8300   ac_check_lib_save_LIBS=$LIBS
8301 LIBS="-lm  $LIBS"
8302 if test x$gcc_no_link = xyes; then
8303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8305    { (exit 1); exit 1; }; }
8306 fi
8307 cat >conftest.$ac_ext <<_ACEOF
8308 /* confdefs.h.  */
8309 _ACEOF
8310 cat confdefs.h >>conftest.$ac_ext
8311 cat >>conftest.$ac_ext <<_ACEOF
8312 /* end confdefs.h.  */
8313
8314 /* Override any gcc2 internal prototype to avoid an error.  */
8315 #ifdef __cplusplus
8316 extern "C"
8317 #endif
8318 /* We use char because int might match the return type of a gcc2
8319    builtin and then its argument prototype would still apply.  */
8320 char sin ();
8321 int
8322 main ()
8323 {
8324 sin ();
8325   ;
8326   return 0;
8327 }
8328 _ACEOF
8329 rm -f conftest.$ac_objext conftest$ac_exeext
8330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8331   (eval $ac_link) 2>conftest.er1
8332   ac_status=$?
8333   grep -v '^ *+' conftest.er1 >conftest.err
8334   rm -f conftest.er1
8335   cat conftest.err >&5
8336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337   (exit $ac_status); } &&
8338          { ac_try='test -z "$ac_c_werror_flag"
8339                          || test ! -s conftest.err'
8340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341   (eval $ac_try) 2>&5
8342   ac_status=$?
8343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344   (exit $ac_status); }; } &&
8345          { ac_try='test -s conftest$ac_exeext'
8346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347   (eval $ac_try) 2>&5
8348   ac_status=$?
8349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350   (exit $ac_status); }; }; then
8351   ac_cv_lib_m_sin=yes
8352 else
8353   echo "$as_me: failed program was:" >&5
8354 sed 's/^/| /' conftest.$ac_ext >&5
8355
8356 ac_cv_lib_m_sin=no
8357 fi
8358 rm -f conftest.err conftest.$ac_objext \
8359       conftest$ac_exeext conftest.$ac_ext
8360 LIBS=$ac_check_lib_save_LIBS
8361 fi
8362 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8363 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8364 if test $ac_cv_lib_m_sin = yes; then
8365   libm="-lm"
8366 fi
8367
8368   ac_save_LIBS="$LIBS"
8369   LIBS="$LIBS $libm"
8370
8371
8372
8373   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8374 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8375   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8376     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8377   echo $ECHO_N "(cached) $ECHO_C" >&6
8378 else
8379
8380
8381
8382       ac_ext=cc
8383 ac_cpp='$CXXCPP $CPPFLAGS'
8384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8387
8388       cat >conftest.$ac_ext <<_ACEOF
8389 /* confdefs.h.  */
8390 _ACEOF
8391 cat confdefs.h >>conftest.$ac_ext
8392 cat >>conftest.$ac_ext <<_ACEOF
8393 /* end confdefs.h.  */
8394 #include <math.h>
8395                       #ifdef HAVE_IEEEFP_H
8396                       #include <ieeefp.h>
8397                       #endif
8398
8399 int
8400 main ()
8401 {
8402  isinf(0);
8403   ;
8404   return 0;
8405 }
8406 _ACEOF
8407 rm -f conftest.$ac_objext
8408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8409   (eval $ac_compile) 2>conftest.er1
8410   ac_status=$?
8411   grep -v '^ *+' conftest.er1 >conftest.err
8412   rm -f conftest.er1
8413   cat conftest.err >&5
8414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415   (exit $ac_status); } &&
8416          { ac_try='test -z "$ac_cxx_werror_flag"
8417                          || test ! -s conftest.err'
8418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8419   (eval $ac_try) 2>&5
8420   ac_status=$?
8421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422   (exit $ac_status); }; } &&
8423          { ac_try='test -s conftest.$ac_objext'
8424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8425   (eval $ac_try) 2>&5
8426   ac_status=$?
8427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428   (exit $ac_status); }; }; then
8429   glibcxx_cv_func_isinf_use=yes
8430 else
8431   echo "$as_me: failed program was:" >&5
8432 sed 's/^/| /' conftest.$ac_ext >&5
8433
8434 glibcxx_cv_func_isinf_use=no
8435 fi
8436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8437       ac_ext=c
8438 ac_cpp='$CPP $CPPFLAGS'
8439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8442
8443
8444 fi
8445
8446   fi
8447   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8448 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8449
8450   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8451
8452 for ac_func in isinf
8453 do
8454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8455 echo "$as_me:$LINENO: checking for $ac_func" >&5
8456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8457 if eval "test \"\${$as_ac_var+set}\" = set"; then
8458   echo $ECHO_N "(cached) $ECHO_C" >&6
8459 else
8460   if test x$gcc_no_link = xyes; then
8461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8463    { (exit 1); exit 1; }; }
8464 fi
8465 cat >conftest.$ac_ext <<_ACEOF
8466 /* confdefs.h.  */
8467 _ACEOF
8468 cat confdefs.h >>conftest.$ac_ext
8469 cat >>conftest.$ac_ext <<_ACEOF
8470 /* end confdefs.h.  */
8471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8473 #define $ac_func innocuous_$ac_func
8474
8475 /* System header to define __stub macros and hopefully few prototypes,
8476     which can conflict with char $ac_func (); below.
8477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8478     <limits.h> exists even on freestanding compilers.  */
8479
8480 #ifdef __STDC__
8481 # include <limits.h>
8482 #else
8483 # include <assert.h>
8484 #endif
8485
8486 #undef $ac_func
8487
8488 /* Override any gcc2 internal prototype to avoid an error.  */
8489 #ifdef __cplusplus
8490 extern "C"
8491 {
8492 #endif
8493 /* We use char because int might match the return type of a gcc2
8494    builtin and then its argument prototype would still apply.  */
8495 char $ac_func ();
8496 /* The GNU C library defines this for functions which it implements
8497     to always fail with ENOSYS.  Some functions are actually named
8498     something starting with __ and the normal name is an alias.  */
8499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8500 choke me
8501 #else
8502 char (*f) () = $ac_func;
8503 #endif
8504 #ifdef __cplusplus
8505 }
8506 #endif
8507
8508 int
8509 main ()
8510 {
8511 return f != $ac_func;
8512   ;
8513   return 0;
8514 }
8515 _ACEOF
8516 rm -f conftest.$ac_objext conftest$ac_exeext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8518   (eval $ac_link) 2>conftest.er1
8519   ac_status=$?
8520   grep -v '^ *+' conftest.er1 >conftest.err
8521   rm -f conftest.er1
8522   cat conftest.err >&5
8523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524   (exit $ac_status); } &&
8525          { ac_try='test -z "$ac_c_werror_flag"
8526                          || test ! -s conftest.err'
8527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528   (eval $ac_try) 2>&5
8529   ac_status=$?
8530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531   (exit $ac_status); }; } &&
8532          { ac_try='test -s conftest$ac_exeext'
8533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8534   (eval $ac_try) 2>&5
8535   ac_status=$?
8536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537   (exit $ac_status); }; }; then
8538   eval "$as_ac_var=yes"
8539 else
8540   echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.$ac_ext >&5
8542
8543 eval "$as_ac_var=no"
8544 fi
8545 rm -f conftest.err conftest.$ac_objext \
8546       conftest$ac_exeext conftest.$ac_ext
8547 fi
8548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8550 if test `eval echo '${'$as_ac_var'}'` = yes; then
8551   cat >>confdefs.h <<_ACEOF
8552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8553 _ACEOF
8554
8555 fi
8556 done
8557
8558   else
8559
8560   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8561 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8562   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8563     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8564   echo $ECHO_N "(cached) $ECHO_C" >&6
8565 else
8566
8567
8568
8569       ac_ext=cc
8570 ac_cpp='$CXXCPP $CPPFLAGS'
8571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8574
8575       cat >conftest.$ac_ext <<_ACEOF
8576 /* confdefs.h.  */
8577 _ACEOF
8578 cat confdefs.h >>conftest.$ac_ext
8579 cat >>conftest.$ac_ext <<_ACEOF
8580 /* end confdefs.h.  */
8581 #include <math.h>
8582                       #ifdef HAVE_IEEEFP_H
8583                       #include <ieeefp.h>
8584                       #endif
8585
8586 int
8587 main ()
8588 {
8589  _isinf(0);
8590   ;
8591   return 0;
8592 }
8593 _ACEOF
8594 rm -f conftest.$ac_objext
8595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8596   (eval $ac_compile) 2>conftest.er1
8597   ac_status=$?
8598   grep -v '^ *+' conftest.er1 >conftest.err
8599   rm -f conftest.er1
8600   cat conftest.err >&5
8601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602   (exit $ac_status); } &&
8603          { ac_try='test -z "$ac_cxx_werror_flag"
8604                          || test ! -s conftest.err'
8605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8606   (eval $ac_try) 2>&5
8607   ac_status=$?
8608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609   (exit $ac_status); }; } &&
8610          { ac_try='test -s conftest.$ac_objext'
8611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612   (eval $ac_try) 2>&5
8613   ac_status=$?
8614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615   (exit $ac_status); }; }; then
8616   glibcxx_cv_func__isinf_use=yes
8617 else
8618   echo "$as_me: failed program was:" >&5
8619 sed 's/^/| /' conftest.$ac_ext >&5
8620
8621 glibcxx_cv_func__isinf_use=no
8622 fi
8623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8624       ac_ext=c
8625 ac_cpp='$CPP $CPPFLAGS'
8626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8629
8630
8631 fi
8632
8633   fi
8634   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8635 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8636
8637     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8638
8639 for ac_func in _isinf
8640 do
8641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8642 echo "$as_me:$LINENO: checking for $ac_func" >&5
8643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8644 if eval "test \"\${$as_ac_var+set}\" = set"; then
8645   echo $ECHO_N "(cached) $ECHO_C" >&6
8646 else
8647   if test x$gcc_no_link = xyes; then
8648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8650    { (exit 1); exit 1; }; }
8651 fi
8652 cat >conftest.$ac_ext <<_ACEOF
8653 /* confdefs.h.  */
8654 _ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h.  */
8658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8660 #define $ac_func innocuous_$ac_func
8661
8662 /* System header to define __stub macros and hopefully few prototypes,
8663     which can conflict with char $ac_func (); below.
8664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8665     <limits.h> exists even on freestanding compilers.  */
8666
8667 #ifdef __STDC__
8668 # include <limits.h>
8669 #else
8670 # include <assert.h>
8671 #endif
8672
8673 #undef $ac_func
8674
8675 /* Override any gcc2 internal prototype to avoid an error.  */
8676 #ifdef __cplusplus
8677 extern "C"
8678 {
8679 #endif
8680 /* We use char because int might match the return type of a gcc2
8681    builtin and then its argument prototype would still apply.  */
8682 char $ac_func ();
8683 /* The GNU C library defines this for functions which it implements
8684     to always fail with ENOSYS.  Some functions are actually named
8685     something starting with __ and the normal name is an alias.  */
8686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8687 choke me
8688 #else
8689 char (*f) () = $ac_func;
8690 #endif
8691 #ifdef __cplusplus
8692 }
8693 #endif
8694
8695 int
8696 main ()
8697 {
8698 return f != $ac_func;
8699   ;
8700   return 0;
8701 }
8702 _ACEOF
8703 rm -f conftest.$ac_objext conftest$ac_exeext
8704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8705   (eval $ac_link) 2>conftest.er1
8706   ac_status=$?
8707   grep -v '^ *+' conftest.er1 >conftest.err
8708   rm -f conftest.er1
8709   cat conftest.err >&5
8710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711   (exit $ac_status); } &&
8712          { ac_try='test -z "$ac_c_werror_flag"
8713                          || test ! -s conftest.err'
8714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715   (eval $ac_try) 2>&5
8716   ac_status=$?
8717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718   (exit $ac_status); }; } &&
8719          { ac_try='test -s conftest$ac_exeext'
8720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721   (eval $ac_try) 2>&5
8722   ac_status=$?
8723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724   (exit $ac_status); }; }; then
8725   eval "$as_ac_var=yes"
8726 else
8727   echo "$as_me: failed program was:" >&5
8728 sed 's/^/| /' conftest.$ac_ext >&5
8729
8730 eval "$as_ac_var=no"
8731 fi
8732 rm -f conftest.err conftest.$ac_objext \
8733       conftest$ac_exeext conftest.$ac_ext
8734 fi
8735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8737 if test `eval echo '${'$as_ac_var'}'` = yes; then
8738   cat >>confdefs.h <<_ACEOF
8739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8740 _ACEOF
8741
8742 fi
8743 done
8744
8745     fi
8746   fi
8747
8748
8749
8750
8751
8752
8753   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8754 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8755   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8756     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8757   echo $ECHO_N "(cached) $ECHO_C" >&6
8758 else
8759
8760
8761
8762       ac_ext=cc
8763 ac_cpp='$CXXCPP $CPPFLAGS'
8764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8767
8768       cat >conftest.$ac_ext <<_ACEOF
8769 /* confdefs.h.  */
8770 _ACEOF
8771 cat confdefs.h >>conftest.$ac_ext
8772 cat >>conftest.$ac_ext <<_ACEOF
8773 /* end confdefs.h.  */
8774 #include <math.h>
8775                       #ifdef HAVE_IEEEFP_H
8776                       #include <ieeefp.h>
8777                       #endif
8778
8779 int
8780 main ()
8781 {
8782  isnan(0);
8783   ;
8784   return 0;
8785 }
8786 _ACEOF
8787 rm -f conftest.$ac_objext
8788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8789   (eval $ac_compile) 2>conftest.er1
8790   ac_status=$?
8791   grep -v '^ *+' conftest.er1 >conftest.err
8792   rm -f conftest.er1
8793   cat conftest.err >&5
8794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795   (exit $ac_status); } &&
8796          { ac_try='test -z "$ac_cxx_werror_flag"
8797                          || test ! -s conftest.err'
8798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8799   (eval $ac_try) 2>&5
8800   ac_status=$?
8801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802   (exit $ac_status); }; } &&
8803          { ac_try='test -s conftest.$ac_objext'
8804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8805   (eval $ac_try) 2>&5
8806   ac_status=$?
8807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808   (exit $ac_status); }; }; then
8809   glibcxx_cv_func_isnan_use=yes
8810 else
8811   echo "$as_me: failed program was:" >&5
8812 sed 's/^/| /' conftest.$ac_ext >&5
8813
8814 glibcxx_cv_func_isnan_use=no
8815 fi
8816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8817       ac_ext=c
8818 ac_cpp='$CPP $CPPFLAGS'
8819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8822
8823
8824 fi
8825
8826   fi
8827   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8828 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8829
8830   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8831
8832 for ac_func in isnan
8833 do
8834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8835 echo "$as_me:$LINENO: checking for $ac_func" >&5
8836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8837 if eval "test \"\${$as_ac_var+set}\" = set"; then
8838   echo $ECHO_N "(cached) $ECHO_C" >&6
8839 else
8840   if test x$gcc_no_link = xyes; then
8841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8843    { (exit 1); exit 1; }; }
8844 fi
8845 cat >conftest.$ac_ext <<_ACEOF
8846 /* confdefs.h.  */
8847 _ACEOF
8848 cat confdefs.h >>conftest.$ac_ext
8849 cat >>conftest.$ac_ext <<_ACEOF
8850 /* end confdefs.h.  */
8851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8853 #define $ac_func innocuous_$ac_func
8854
8855 /* System header to define __stub macros and hopefully few prototypes,
8856     which can conflict with char $ac_func (); below.
8857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8858     <limits.h> exists even on freestanding compilers.  */
8859
8860 #ifdef __STDC__
8861 # include <limits.h>
8862 #else
8863 # include <assert.h>
8864 #endif
8865
8866 #undef $ac_func
8867
8868 /* Override any gcc2 internal prototype to avoid an error.  */
8869 #ifdef __cplusplus
8870 extern "C"
8871 {
8872 #endif
8873 /* We use char because int might match the return type of a gcc2
8874    builtin and then its argument prototype would still apply.  */
8875 char $ac_func ();
8876 /* The GNU C library defines this for functions which it implements
8877     to always fail with ENOSYS.  Some functions are actually named
8878     something starting with __ and the normal name is an alias.  */
8879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8880 choke me
8881 #else
8882 char (*f) () = $ac_func;
8883 #endif
8884 #ifdef __cplusplus
8885 }
8886 #endif
8887
8888 int
8889 main ()
8890 {
8891 return f != $ac_func;
8892   ;
8893   return 0;
8894 }
8895 _ACEOF
8896 rm -f conftest.$ac_objext conftest$ac_exeext
8897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8898   (eval $ac_link) 2>conftest.er1
8899   ac_status=$?
8900   grep -v '^ *+' conftest.er1 >conftest.err
8901   rm -f conftest.er1
8902   cat conftest.err >&5
8903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904   (exit $ac_status); } &&
8905          { ac_try='test -z "$ac_c_werror_flag"
8906                          || test ! -s conftest.err'
8907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908   (eval $ac_try) 2>&5
8909   ac_status=$?
8910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911   (exit $ac_status); }; } &&
8912          { ac_try='test -s conftest$ac_exeext'
8913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914   (eval $ac_try) 2>&5
8915   ac_status=$?
8916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917   (exit $ac_status); }; }; then
8918   eval "$as_ac_var=yes"
8919 else
8920   echo "$as_me: failed program was:" >&5
8921 sed 's/^/| /' conftest.$ac_ext >&5
8922
8923 eval "$as_ac_var=no"
8924 fi
8925 rm -f conftest.err conftest.$ac_objext \
8926       conftest$ac_exeext conftest.$ac_ext
8927 fi
8928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8930 if test `eval echo '${'$as_ac_var'}'` = yes; then
8931   cat >>confdefs.h <<_ACEOF
8932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8933 _ACEOF
8934
8935 fi
8936 done
8937
8938   else
8939
8940   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8941 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8942   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8943     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8944   echo $ECHO_N "(cached) $ECHO_C" >&6
8945 else
8946
8947
8948
8949       ac_ext=cc
8950 ac_cpp='$CXXCPP $CPPFLAGS'
8951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8954
8955       cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h.  */
8957 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h.  */
8961 #include <math.h>
8962                       #ifdef HAVE_IEEEFP_H
8963                       #include <ieeefp.h>
8964                       #endif
8965
8966 int
8967 main ()
8968 {
8969  _isnan(0);
8970   ;
8971   return 0;
8972 }
8973 _ACEOF
8974 rm -f conftest.$ac_objext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8976   (eval $ac_compile) 2>conftest.er1
8977   ac_status=$?
8978   grep -v '^ *+' conftest.er1 >conftest.err
8979   rm -f conftest.er1
8980   cat conftest.err >&5
8981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982   (exit $ac_status); } &&
8983          { ac_try='test -z "$ac_cxx_werror_flag"
8984                          || test ! -s conftest.err'
8985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986   (eval $ac_try) 2>&5
8987   ac_status=$?
8988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989   (exit $ac_status); }; } &&
8990          { ac_try='test -s conftest.$ac_objext'
8991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992   (eval $ac_try) 2>&5
8993   ac_status=$?
8994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995   (exit $ac_status); }; }; then
8996   glibcxx_cv_func__isnan_use=yes
8997 else
8998   echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9000
9001 glibcxx_cv_func__isnan_use=no
9002 fi
9003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9004       ac_ext=c
9005 ac_cpp='$CPP $CPPFLAGS'
9006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9009
9010
9011 fi
9012
9013   fi
9014   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9015 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9016
9017     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9018
9019 for ac_func in _isnan
9020 do
9021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9022 echo "$as_me:$LINENO: checking for $ac_func" >&5
9023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9024 if eval "test \"\${$as_ac_var+set}\" = set"; then
9025   echo $ECHO_N "(cached) $ECHO_C" >&6
9026 else
9027   if test x$gcc_no_link = xyes; then
9028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9030    { (exit 1); exit 1; }; }
9031 fi
9032 cat >conftest.$ac_ext <<_ACEOF
9033 /* confdefs.h.  */
9034 _ACEOF
9035 cat confdefs.h >>conftest.$ac_ext
9036 cat >>conftest.$ac_ext <<_ACEOF
9037 /* end confdefs.h.  */
9038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9040 #define $ac_func innocuous_$ac_func
9041
9042 /* System header to define __stub macros and hopefully few prototypes,
9043     which can conflict with char $ac_func (); below.
9044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9045     <limits.h> exists even on freestanding compilers.  */
9046
9047 #ifdef __STDC__
9048 # include <limits.h>
9049 #else
9050 # include <assert.h>
9051 #endif
9052
9053 #undef $ac_func
9054
9055 /* Override any gcc2 internal prototype to avoid an error.  */
9056 #ifdef __cplusplus
9057 extern "C"
9058 {
9059 #endif
9060 /* We use char because int might match the return type of a gcc2
9061    builtin and then its argument prototype would still apply.  */
9062 char $ac_func ();
9063 /* The GNU C library defines this for functions which it implements
9064     to always fail with ENOSYS.  Some functions are actually named
9065     something starting with __ and the normal name is an alias.  */
9066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9067 choke me
9068 #else
9069 char (*f) () = $ac_func;
9070 #endif
9071 #ifdef __cplusplus
9072 }
9073 #endif
9074
9075 int
9076 main ()
9077 {
9078 return f != $ac_func;
9079   ;
9080   return 0;
9081 }
9082 _ACEOF
9083 rm -f conftest.$ac_objext conftest$ac_exeext
9084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9085   (eval $ac_link) 2>conftest.er1
9086   ac_status=$?
9087   grep -v '^ *+' conftest.er1 >conftest.err
9088   rm -f conftest.er1
9089   cat conftest.err >&5
9090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091   (exit $ac_status); } &&
9092          { ac_try='test -z "$ac_c_werror_flag"
9093                          || test ! -s conftest.err'
9094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095   (eval $ac_try) 2>&5
9096   ac_status=$?
9097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098   (exit $ac_status); }; } &&
9099          { ac_try='test -s conftest$ac_exeext'
9100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101   (eval $ac_try) 2>&5
9102   ac_status=$?
9103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104   (exit $ac_status); }; }; then
9105   eval "$as_ac_var=yes"
9106 else
9107   echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.$ac_ext >&5
9109
9110 eval "$as_ac_var=no"
9111 fi
9112 rm -f conftest.err conftest.$ac_objext \
9113       conftest$ac_exeext conftest.$ac_ext
9114 fi
9115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9117 if test `eval echo '${'$as_ac_var'}'` = yes; then
9118   cat >>confdefs.h <<_ACEOF
9119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9120 _ACEOF
9121
9122 fi
9123 done
9124
9125     fi
9126   fi
9127
9128
9129
9130
9131
9132
9133   echo "$as_me:$LINENO: checking for finite declaration" >&5
9134 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9135   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9136     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9137   echo $ECHO_N "(cached) $ECHO_C" >&6
9138 else
9139
9140
9141
9142       ac_ext=cc
9143 ac_cpp='$CXXCPP $CPPFLAGS'
9144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9147
9148       cat >conftest.$ac_ext <<_ACEOF
9149 /* confdefs.h.  */
9150 _ACEOF
9151 cat confdefs.h >>conftest.$ac_ext
9152 cat >>conftest.$ac_ext <<_ACEOF
9153 /* end confdefs.h.  */
9154 #include <math.h>
9155                       #ifdef HAVE_IEEEFP_H
9156                       #include <ieeefp.h>
9157                       #endif
9158
9159 int
9160 main ()
9161 {
9162  finite(0);
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_cxx_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   glibcxx_cv_func_finite_use=yes
9190 else
9191   echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.$ac_ext >&5
9193
9194 glibcxx_cv_func_finite_use=no
9195 fi
9196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9197       ac_ext=c
9198 ac_cpp='$CPP $CPPFLAGS'
9199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9202
9203
9204 fi
9205
9206   fi
9207   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9208 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9209
9210   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9211
9212 for ac_func in finite
9213 do
9214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9215 echo "$as_me:$LINENO: checking for $ac_func" >&5
9216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9217 if eval "test \"\${$as_ac_var+set}\" = set"; then
9218   echo $ECHO_N "(cached) $ECHO_C" >&6
9219 else
9220   if test x$gcc_no_link = xyes; then
9221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9223    { (exit 1); exit 1; }; }
9224 fi
9225 cat >conftest.$ac_ext <<_ACEOF
9226 /* confdefs.h.  */
9227 _ACEOF
9228 cat confdefs.h >>conftest.$ac_ext
9229 cat >>conftest.$ac_ext <<_ACEOF
9230 /* end confdefs.h.  */
9231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9233 #define $ac_func innocuous_$ac_func
9234
9235 /* System header to define __stub macros and hopefully few prototypes,
9236     which can conflict with char $ac_func (); below.
9237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9238     <limits.h> exists even on freestanding compilers.  */
9239
9240 #ifdef __STDC__
9241 # include <limits.h>
9242 #else
9243 # include <assert.h>
9244 #endif
9245
9246 #undef $ac_func
9247
9248 /* Override any gcc2 internal prototype to avoid an error.  */
9249 #ifdef __cplusplus
9250 extern "C"
9251 {
9252 #endif
9253 /* We use char because int might match the return type of a gcc2
9254    builtin and then its argument prototype would still apply.  */
9255 char $ac_func ();
9256 /* The GNU C library defines this for functions which it implements
9257     to always fail with ENOSYS.  Some functions are actually named
9258     something starting with __ and the normal name is an alias.  */
9259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9260 choke me
9261 #else
9262 char (*f) () = $ac_func;
9263 #endif
9264 #ifdef __cplusplus
9265 }
9266 #endif
9267
9268 int
9269 main ()
9270 {
9271 return f != $ac_func;
9272   ;
9273   return 0;
9274 }
9275 _ACEOF
9276 rm -f conftest.$ac_objext conftest$ac_exeext
9277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9278   (eval $ac_link) 2>conftest.er1
9279   ac_status=$?
9280   grep -v '^ *+' conftest.er1 >conftest.err
9281   rm -f conftest.er1
9282   cat conftest.err >&5
9283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284   (exit $ac_status); } &&
9285          { ac_try='test -z "$ac_c_werror_flag"
9286                          || test ! -s conftest.err'
9287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9288   (eval $ac_try) 2>&5
9289   ac_status=$?
9290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291   (exit $ac_status); }; } &&
9292          { ac_try='test -s conftest$ac_exeext'
9293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294   (eval $ac_try) 2>&5
9295   ac_status=$?
9296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297   (exit $ac_status); }; }; then
9298   eval "$as_ac_var=yes"
9299 else
9300   echo "$as_me: failed program was:" >&5
9301 sed 's/^/| /' conftest.$ac_ext >&5
9302
9303 eval "$as_ac_var=no"
9304 fi
9305 rm -f conftest.err conftest.$ac_objext \
9306       conftest$ac_exeext conftest.$ac_ext
9307 fi
9308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9310 if test `eval echo '${'$as_ac_var'}'` = yes; then
9311   cat >>confdefs.h <<_ACEOF
9312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9313 _ACEOF
9314
9315 fi
9316 done
9317
9318   else
9319
9320   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9321 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9322   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9323     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9324   echo $ECHO_N "(cached) $ECHO_C" >&6
9325 else
9326
9327
9328
9329       ac_ext=cc
9330 ac_cpp='$CXXCPP $CPPFLAGS'
9331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9334
9335       cat >conftest.$ac_ext <<_ACEOF
9336 /* confdefs.h.  */
9337 _ACEOF
9338 cat confdefs.h >>conftest.$ac_ext
9339 cat >>conftest.$ac_ext <<_ACEOF
9340 /* end confdefs.h.  */
9341 #include <math.h>
9342                       #ifdef HAVE_IEEEFP_H
9343                       #include <ieeefp.h>
9344                       #endif
9345
9346 int
9347 main ()
9348 {
9349  _finite(0);
9350   ;
9351   return 0;
9352 }
9353 _ACEOF
9354 rm -f conftest.$ac_objext
9355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9356   (eval $ac_compile) 2>conftest.er1
9357   ac_status=$?
9358   grep -v '^ *+' conftest.er1 >conftest.err
9359   rm -f conftest.er1
9360   cat conftest.err >&5
9361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362   (exit $ac_status); } &&
9363          { ac_try='test -z "$ac_cxx_werror_flag"
9364                          || test ! -s conftest.err'
9365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9366   (eval $ac_try) 2>&5
9367   ac_status=$?
9368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369   (exit $ac_status); }; } &&
9370          { ac_try='test -s conftest.$ac_objext'
9371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9372   (eval $ac_try) 2>&5
9373   ac_status=$?
9374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375   (exit $ac_status); }; }; then
9376   glibcxx_cv_func__finite_use=yes
9377 else
9378   echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.$ac_ext >&5
9380
9381 glibcxx_cv_func__finite_use=no
9382 fi
9383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9384       ac_ext=c
9385 ac_cpp='$CPP $CPPFLAGS'
9386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9389
9390
9391 fi
9392
9393   fi
9394   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9395 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9396
9397     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9398
9399 for ac_func in _finite
9400 do
9401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9402 echo "$as_me:$LINENO: checking for $ac_func" >&5
9403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9404 if eval "test \"\${$as_ac_var+set}\" = set"; then
9405   echo $ECHO_N "(cached) $ECHO_C" >&6
9406 else
9407   if test x$gcc_no_link = xyes; then
9408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9410    { (exit 1); exit 1; }; }
9411 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9420 #define $ac_func innocuous_$ac_func
9421
9422 /* System header to define __stub macros and hopefully few prototypes,
9423     which can conflict with char $ac_func (); below.
9424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9425     <limits.h> exists even on freestanding compilers.  */
9426
9427 #ifdef __STDC__
9428 # include <limits.h>
9429 #else
9430 # include <assert.h>
9431 #endif
9432
9433 #undef $ac_func
9434
9435 /* Override any gcc2 internal prototype to avoid an error.  */
9436 #ifdef __cplusplus
9437 extern "C"
9438 {
9439 #endif
9440 /* We use char because int might match the return type of a gcc2
9441    builtin and then its argument prototype would still apply.  */
9442 char $ac_func ();
9443 /* The GNU C library defines this for functions which it implements
9444     to always fail with ENOSYS.  Some functions are actually named
9445     something starting with __ and the normal name is an alias.  */
9446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9447 choke me
9448 #else
9449 char (*f) () = $ac_func;
9450 #endif
9451 #ifdef __cplusplus
9452 }
9453 #endif
9454
9455 int
9456 main ()
9457 {
9458 return f != $ac_func;
9459   ;
9460   return 0;
9461 }
9462 _ACEOF
9463 rm -f conftest.$ac_objext conftest$ac_exeext
9464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9465   (eval $ac_link) 2>conftest.er1
9466   ac_status=$?
9467   grep -v '^ *+' conftest.er1 >conftest.err
9468   rm -f conftest.er1
9469   cat conftest.err >&5
9470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471   (exit $ac_status); } &&
9472          { ac_try='test -z "$ac_c_werror_flag"
9473                          || test ! -s conftest.err'
9474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475   (eval $ac_try) 2>&5
9476   ac_status=$?
9477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478   (exit $ac_status); }; } &&
9479          { ac_try='test -s conftest$ac_exeext'
9480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481   (eval $ac_try) 2>&5
9482   ac_status=$?
9483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484   (exit $ac_status); }; }; then
9485   eval "$as_ac_var=yes"
9486 else
9487   echo "$as_me: failed program was:" >&5
9488 sed 's/^/| /' conftest.$ac_ext >&5
9489
9490 eval "$as_ac_var=no"
9491 fi
9492 rm -f conftest.err conftest.$ac_objext \
9493       conftest$ac_exeext conftest.$ac_ext
9494 fi
9495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9497 if test `eval echo '${'$as_ac_var'}'` = yes; then
9498   cat >>confdefs.h <<_ACEOF
9499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9500 _ACEOF
9501
9502 fi
9503 done
9504
9505     fi
9506   fi
9507
9508
9509
9510
9511
9512
9513   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9514 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9515   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9516     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9517   echo $ECHO_N "(cached) $ECHO_C" >&6
9518 else
9519
9520
9521
9522       ac_ext=cc
9523 ac_cpp='$CXXCPP $CPPFLAGS'
9524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9527
9528       cat >conftest.$ac_ext <<_ACEOF
9529 /* confdefs.h.  */
9530 _ACEOF
9531 cat confdefs.h >>conftest.$ac_ext
9532 cat >>conftest.$ac_ext <<_ACEOF
9533 /* end confdefs.h.  */
9534 #include <math.h>
9535 int
9536 main ()
9537 {
9538  copysign(0, 0);
9539   ;
9540   return 0;
9541 }
9542 _ACEOF
9543 rm -f conftest.$ac_objext
9544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9545   (eval $ac_compile) 2>conftest.er1
9546   ac_status=$?
9547   grep -v '^ *+' conftest.er1 >conftest.err
9548   rm -f conftest.er1
9549   cat conftest.err >&5
9550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551   (exit $ac_status); } &&
9552          { ac_try='test -z "$ac_cxx_werror_flag"
9553                          || test ! -s conftest.err'
9554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9555   (eval $ac_try) 2>&5
9556   ac_status=$?
9557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558   (exit $ac_status); }; } &&
9559          { ac_try='test -s conftest.$ac_objext'
9560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9561   (eval $ac_try) 2>&5
9562   ac_status=$?
9563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564   (exit $ac_status); }; }; then
9565   glibcxx_cv_func_copysign_use=yes
9566 else
9567   echo "$as_me: failed program was:" >&5
9568 sed 's/^/| /' conftest.$ac_ext >&5
9569
9570 glibcxx_cv_func_copysign_use=no
9571 fi
9572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9573       ac_ext=c
9574 ac_cpp='$CPP $CPPFLAGS'
9575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9578
9579
9580 fi
9581
9582   fi
9583   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9584 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9585
9586   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9587
9588 for ac_func in copysign
9589 do
9590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9591 echo "$as_me:$LINENO: checking for $ac_func" >&5
9592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9593 if eval "test \"\${$as_ac_var+set}\" = set"; then
9594   echo $ECHO_N "(cached) $ECHO_C" >&6
9595 else
9596   if test x$gcc_no_link = xyes; then
9597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9599    { (exit 1); exit 1; }; }
9600 fi
9601 cat >conftest.$ac_ext <<_ACEOF
9602 /* confdefs.h.  */
9603 _ACEOF
9604 cat confdefs.h >>conftest.$ac_ext
9605 cat >>conftest.$ac_ext <<_ACEOF
9606 /* end confdefs.h.  */
9607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9609 #define $ac_func innocuous_$ac_func
9610
9611 /* System header to define __stub macros and hopefully few prototypes,
9612     which can conflict with char $ac_func (); below.
9613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9614     <limits.h> exists even on freestanding compilers.  */
9615
9616 #ifdef __STDC__
9617 # include <limits.h>
9618 #else
9619 # include <assert.h>
9620 #endif
9621
9622 #undef $ac_func
9623
9624 /* Override any gcc2 internal prototype to avoid an error.  */
9625 #ifdef __cplusplus
9626 extern "C"
9627 {
9628 #endif
9629 /* We use char because int might match the return type of a gcc2
9630    builtin and then its argument prototype would still apply.  */
9631 char $ac_func ();
9632 /* The GNU C library defines this for functions which it implements
9633     to always fail with ENOSYS.  Some functions are actually named
9634     something starting with __ and the normal name is an alias.  */
9635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9636 choke me
9637 #else
9638 char (*f) () = $ac_func;
9639 #endif
9640 #ifdef __cplusplus
9641 }
9642 #endif
9643
9644 int
9645 main ()
9646 {
9647 return f != $ac_func;
9648   ;
9649   return 0;
9650 }
9651 _ACEOF
9652 rm -f conftest.$ac_objext conftest$ac_exeext
9653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9654   (eval $ac_link) 2>conftest.er1
9655   ac_status=$?
9656   grep -v '^ *+' conftest.er1 >conftest.err
9657   rm -f conftest.er1
9658   cat conftest.err >&5
9659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660   (exit $ac_status); } &&
9661          { ac_try='test -z "$ac_c_werror_flag"
9662                          || test ! -s conftest.err'
9663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664   (eval $ac_try) 2>&5
9665   ac_status=$?
9666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667   (exit $ac_status); }; } &&
9668          { ac_try='test -s conftest$ac_exeext'
9669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9670   (eval $ac_try) 2>&5
9671   ac_status=$?
9672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673   (exit $ac_status); }; }; then
9674   eval "$as_ac_var=yes"
9675 else
9676   echo "$as_me: failed program was:" >&5
9677 sed 's/^/| /' conftest.$ac_ext >&5
9678
9679 eval "$as_ac_var=no"
9680 fi
9681 rm -f conftest.err conftest.$ac_objext \
9682       conftest$ac_exeext conftest.$ac_ext
9683 fi
9684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9686 if test `eval echo '${'$as_ac_var'}'` = yes; then
9687   cat >>confdefs.h <<_ACEOF
9688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9689 _ACEOF
9690
9691 fi
9692 done
9693
9694   else
9695
9696   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9697 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9698   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9699     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9700   echo $ECHO_N "(cached) $ECHO_C" >&6
9701 else
9702
9703
9704
9705       ac_ext=cc
9706 ac_cpp='$CXXCPP $CPPFLAGS'
9707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9710
9711       cat >conftest.$ac_ext <<_ACEOF
9712 /* confdefs.h.  */
9713 _ACEOF
9714 cat confdefs.h >>conftest.$ac_ext
9715 cat >>conftest.$ac_ext <<_ACEOF
9716 /* end confdefs.h.  */
9717 #include <math.h>
9718 int
9719 main ()
9720 {
9721  _copysign(0, 0);
9722   ;
9723   return 0;
9724 }
9725 _ACEOF
9726 rm -f conftest.$ac_objext
9727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9728   (eval $ac_compile) 2>conftest.er1
9729   ac_status=$?
9730   grep -v '^ *+' conftest.er1 >conftest.err
9731   rm -f conftest.er1
9732   cat conftest.err >&5
9733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734   (exit $ac_status); } &&
9735          { ac_try='test -z "$ac_cxx_werror_flag"
9736                          || test ! -s conftest.err'
9737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9738   (eval $ac_try) 2>&5
9739   ac_status=$?
9740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741   (exit $ac_status); }; } &&
9742          { ac_try='test -s conftest.$ac_objext'
9743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9744   (eval $ac_try) 2>&5
9745   ac_status=$?
9746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747   (exit $ac_status); }; }; then
9748   glibcxx_cv_func__copysign_use=yes
9749 else
9750   echo "$as_me: failed program was:" >&5
9751 sed 's/^/| /' conftest.$ac_ext >&5
9752
9753 glibcxx_cv_func__copysign_use=no
9754 fi
9755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9756       ac_ext=c
9757 ac_cpp='$CPP $CPPFLAGS'
9758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9761
9762
9763 fi
9764
9765   fi
9766   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9767 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9768
9769     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9770
9771 for ac_func in _copysign
9772 do
9773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9774 echo "$as_me:$LINENO: checking for $ac_func" >&5
9775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9776 if eval "test \"\${$as_ac_var+set}\" = set"; then
9777   echo $ECHO_N "(cached) $ECHO_C" >&6
9778 else
9779   if test x$gcc_no_link = xyes; then
9780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9782    { (exit 1); exit 1; }; }
9783 fi
9784 cat >conftest.$ac_ext <<_ACEOF
9785 /* confdefs.h.  */
9786 _ACEOF
9787 cat confdefs.h >>conftest.$ac_ext
9788 cat >>conftest.$ac_ext <<_ACEOF
9789 /* end confdefs.h.  */
9790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9792 #define $ac_func innocuous_$ac_func
9793
9794 /* System header to define __stub macros and hopefully few prototypes,
9795     which can conflict with char $ac_func (); below.
9796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9797     <limits.h> exists even on freestanding compilers.  */
9798
9799 #ifdef __STDC__
9800 # include <limits.h>
9801 #else
9802 # include <assert.h>
9803 #endif
9804
9805 #undef $ac_func
9806
9807 /* Override any gcc2 internal prototype to avoid an error.  */
9808 #ifdef __cplusplus
9809 extern "C"
9810 {
9811 #endif
9812 /* We use char because int might match the return type of a gcc2
9813    builtin and then its argument prototype would still apply.  */
9814 char $ac_func ();
9815 /* The GNU C library defines this for functions which it implements
9816     to always fail with ENOSYS.  Some functions are actually named
9817     something starting with __ and the normal name is an alias.  */
9818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9819 choke me
9820 #else
9821 char (*f) () = $ac_func;
9822 #endif
9823 #ifdef __cplusplus
9824 }
9825 #endif
9826
9827 int
9828 main ()
9829 {
9830 return f != $ac_func;
9831   ;
9832   return 0;
9833 }
9834 _ACEOF
9835 rm -f conftest.$ac_objext conftest$ac_exeext
9836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9837   (eval $ac_link) 2>conftest.er1
9838   ac_status=$?
9839   grep -v '^ *+' conftest.er1 >conftest.err
9840   rm -f conftest.er1
9841   cat conftest.err >&5
9842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843   (exit $ac_status); } &&
9844          { ac_try='test -z "$ac_c_werror_flag"
9845                          || test ! -s conftest.err'
9846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9847   (eval $ac_try) 2>&5
9848   ac_status=$?
9849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850   (exit $ac_status); }; } &&
9851          { ac_try='test -s conftest$ac_exeext'
9852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9853   (eval $ac_try) 2>&5
9854   ac_status=$?
9855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856   (exit $ac_status); }; }; then
9857   eval "$as_ac_var=yes"
9858 else
9859   echo "$as_me: failed program was:" >&5
9860 sed 's/^/| /' conftest.$ac_ext >&5
9861
9862 eval "$as_ac_var=no"
9863 fi
9864 rm -f conftest.err conftest.$ac_objext \
9865       conftest$ac_exeext conftest.$ac_ext
9866 fi
9867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9869 if test `eval echo '${'$as_ac_var'}'` = yes; then
9870   cat >>confdefs.h <<_ACEOF
9871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9872 _ACEOF
9873
9874 fi
9875 done
9876
9877     fi
9878   fi
9879
9880
9881
9882
9883
9884
9885   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9886 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9887   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9888     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9889   echo $ECHO_N "(cached) $ECHO_C" >&6
9890 else
9891
9892
9893
9894       ac_ext=cc
9895 ac_cpp='$CXXCPP $CPPFLAGS'
9896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9899
9900       cat >conftest.$ac_ext <<_ACEOF
9901 /* confdefs.h.  */
9902 _ACEOF
9903 cat confdefs.h >>conftest.$ac_ext
9904 cat >>conftest.$ac_ext <<_ACEOF
9905 /* end confdefs.h.  */
9906 #include <math.h>
9907 int
9908 main ()
9909 {
9910  sincos(0, 0, 0);
9911   ;
9912   return 0;
9913 }
9914 _ACEOF
9915 rm -f conftest.$ac_objext
9916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9917   (eval $ac_compile) 2>conftest.er1
9918   ac_status=$?
9919   grep -v '^ *+' conftest.er1 >conftest.err
9920   rm -f conftest.er1
9921   cat conftest.err >&5
9922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923   (exit $ac_status); } &&
9924          { ac_try='test -z "$ac_cxx_werror_flag"
9925                          || test ! -s conftest.err'
9926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9927   (eval $ac_try) 2>&5
9928   ac_status=$?
9929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930   (exit $ac_status); }; } &&
9931          { ac_try='test -s conftest.$ac_objext'
9932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933   (eval $ac_try) 2>&5
9934   ac_status=$?
9935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936   (exit $ac_status); }; }; then
9937   glibcxx_cv_func_sincos_use=yes
9938 else
9939   echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.$ac_ext >&5
9941
9942 glibcxx_cv_func_sincos_use=no
9943 fi
9944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9945       ac_ext=c
9946 ac_cpp='$CPP $CPPFLAGS'
9947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9950
9951
9952 fi
9953
9954   fi
9955   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9956 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9957
9958   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9959
9960 for ac_func in sincos
9961 do
9962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9963 echo "$as_me:$LINENO: checking for $ac_func" >&5
9964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9965 if eval "test \"\${$as_ac_var+set}\" = set"; then
9966   echo $ECHO_N "(cached) $ECHO_C" >&6
9967 else
9968   if test x$gcc_no_link = xyes; then
9969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9971    { (exit 1); exit 1; }; }
9972 fi
9973 cat >conftest.$ac_ext <<_ACEOF
9974 /* confdefs.h.  */
9975 _ACEOF
9976 cat confdefs.h >>conftest.$ac_ext
9977 cat >>conftest.$ac_ext <<_ACEOF
9978 /* end confdefs.h.  */
9979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9981 #define $ac_func innocuous_$ac_func
9982
9983 /* System header to define __stub macros and hopefully few prototypes,
9984     which can conflict with char $ac_func (); below.
9985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9986     <limits.h> exists even on freestanding compilers.  */
9987
9988 #ifdef __STDC__
9989 # include <limits.h>
9990 #else
9991 # include <assert.h>
9992 #endif
9993
9994 #undef $ac_func
9995
9996 /* Override any gcc2 internal prototype to avoid an error.  */
9997 #ifdef __cplusplus
9998 extern "C"
9999 {
10000 #endif
10001 /* We use char because int might match the return type of a gcc2
10002    builtin and then its argument prototype would still apply.  */
10003 char $ac_func ();
10004 /* The GNU C library defines this for functions which it implements
10005     to always fail with ENOSYS.  Some functions are actually named
10006     something starting with __ and the normal name is an alias.  */
10007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10008 choke me
10009 #else
10010 char (*f) () = $ac_func;
10011 #endif
10012 #ifdef __cplusplus
10013 }
10014 #endif
10015
10016 int
10017 main ()
10018 {
10019 return f != $ac_func;
10020   ;
10021   return 0;
10022 }
10023 _ACEOF
10024 rm -f conftest.$ac_objext conftest$ac_exeext
10025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10026   (eval $ac_link) 2>conftest.er1
10027   ac_status=$?
10028   grep -v '^ *+' conftest.er1 >conftest.err
10029   rm -f conftest.er1
10030   cat conftest.err >&5
10031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032   (exit $ac_status); } &&
10033          { ac_try='test -z "$ac_c_werror_flag"
10034                          || test ! -s conftest.err'
10035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036   (eval $ac_try) 2>&5
10037   ac_status=$?
10038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039   (exit $ac_status); }; } &&
10040          { ac_try='test -s conftest$ac_exeext'
10041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042   (eval $ac_try) 2>&5
10043   ac_status=$?
10044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045   (exit $ac_status); }; }; then
10046   eval "$as_ac_var=yes"
10047 else
10048   echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.$ac_ext >&5
10050
10051 eval "$as_ac_var=no"
10052 fi
10053 rm -f conftest.err conftest.$ac_objext \
10054       conftest$ac_exeext conftest.$ac_ext
10055 fi
10056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10058 if test `eval echo '${'$as_ac_var'}'` = yes; then
10059   cat >>confdefs.h <<_ACEOF
10060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10061 _ACEOF
10062
10063 fi
10064 done
10065
10066   else
10067
10068   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10069 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10070   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10071     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10072   echo $ECHO_N "(cached) $ECHO_C" >&6
10073 else
10074
10075
10076
10077       ac_ext=cc
10078 ac_cpp='$CXXCPP $CPPFLAGS'
10079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10082
10083       cat >conftest.$ac_ext <<_ACEOF
10084 /* confdefs.h.  */
10085 _ACEOF
10086 cat confdefs.h >>conftest.$ac_ext
10087 cat >>conftest.$ac_ext <<_ACEOF
10088 /* end confdefs.h.  */
10089 #include <math.h>
10090 int
10091 main ()
10092 {
10093  _sincos(0, 0, 0);
10094   ;
10095   return 0;
10096 }
10097 _ACEOF
10098 rm -f conftest.$ac_objext
10099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10100   (eval $ac_compile) 2>conftest.er1
10101   ac_status=$?
10102   grep -v '^ *+' conftest.er1 >conftest.err
10103   rm -f conftest.er1
10104   cat conftest.err >&5
10105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106   (exit $ac_status); } &&
10107          { ac_try='test -z "$ac_cxx_werror_flag"
10108                          || test ! -s conftest.err'
10109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10110   (eval $ac_try) 2>&5
10111   ac_status=$?
10112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113   (exit $ac_status); }; } &&
10114          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
10120   glibcxx_cv_func__sincos_use=yes
10121 else
10122   echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.$ac_ext >&5
10124
10125 glibcxx_cv_func__sincos_use=no
10126 fi
10127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10128       ac_ext=c
10129 ac_cpp='$CPP $CPPFLAGS'
10130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10133
10134
10135 fi
10136
10137   fi
10138   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10139 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10140
10141     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10142
10143 for ac_func in _sincos
10144 do
10145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10146 echo "$as_me:$LINENO: checking for $ac_func" >&5
10147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10148 if eval "test \"\${$as_ac_var+set}\" = set"; then
10149   echo $ECHO_N "(cached) $ECHO_C" >&6
10150 else
10151   if test x$gcc_no_link = xyes; then
10152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10154    { (exit 1); exit 1; }; }
10155 fi
10156 cat >conftest.$ac_ext <<_ACEOF
10157 /* confdefs.h.  */
10158 _ACEOF
10159 cat confdefs.h >>conftest.$ac_ext
10160 cat >>conftest.$ac_ext <<_ACEOF
10161 /* end confdefs.h.  */
10162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10164 #define $ac_func innocuous_$ac_func
10165
10166 /* System header to define __stub macros and hopefully few prototypes,
10167     which can conflict with char $ac_func (); below.
10168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10169     <limits.h> exists even on freestanding compilers.  */
10170
10171 #ifdef __STDC__
10172 # include <limits.h>
10173 #else
10174 # include <assert.h>
10175 #endif
10176
10177 #undef $ac_func
10178
10179 /* Override any gcc2 internal prototype to avoid an error.  */
10180 #ifdef __cplusplus
10181 extern "C"
10182 {
10183 #endif
10184 /* We use char because int might match the return type of a gcc2
10185    builtin and then its argument prototype would still apply.  */
10186 char $ac_func ();
10187 /* The GNU C library defines this for functions which it implements
10188     to always fail with ENOSYS.  Some functions are actually named
10189     something starting with __ and the normal name is an alias.  */
10190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10191 choke me
10192 #else
10193 char (*f) () = $ac_func;
10194 #endif
10195 #ifdef __cplusplus
10196 }
10197 #endif
10198
10199 int
10200 main ()
10201 {
10202 return f != $ac_func;
10203   ;
10204   return 0;
10205 }
10206 _ACEOF
10207 rm -f conftest.$ac_objext conftest$ac_exeext
10208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10209   (eval $ac_link) 2>conftest.er1
10210   ac_status=$?
10211   grep -v '^ *+' conftest.er1 >conftest.err
10212   rm -f conftest.er1
10213   cat conftest.err >&5
10214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215   (exit $ac_status); } &&
10216          { ac_try='test -z "$ac_c_werror_flag"
10217                          || test ! -s conftest.err'
10218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10219   (eval $ac_try) 2>&5
10220   ac_status=$?
10221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222   (exit $ac_status); }; } &&
10223          { ac_try='test -s conftest$ac_exeext'
10224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10225   (eval $ac_try) 2>&5
10226   ac_status=$?
10227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228   (exit $ac_status); }; }; then
10229   eval "$as_ac_var=yes"
10230 else
10231   echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.$ac_ext >&5
10233
10234 eval "$as_ac_var=no"
10235 fi
10236 rm -f conftest.err conftest.$ac_objext \
10237       conftest$ac_exeext conftest.$ac_ext
10238 fi
10239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10241 if test `eval echo '${'$as_ac_var'}'` = yes; then
10242   cat >>confdefs.h <<_ACEOF
10243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10244 _ACEOF
10245
10246 fi
10247 done
10248
10249     fi
10250   fi
10251
10252
10253
10254
10255
10256
10257   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10258 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10259   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10260     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10261   echo $ECHO_N "(cached) $ECHO_C" >&6
10262 else
10263
10264
10265
10266       ac_ext=cc
10267 ac_cpp='$CXXCPP $CPPFLAGS'
10268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10271
10272       cat >conftest.$ac_ext <<_ACEOF
10273 /* confdefs.h.  */
10274 _ACEOF
10275 cat confdefs.h >>conftest.$ac_ext
10276 cat >>conftest.$ac_ext <<_ACEOF
10277 /* end confdefs.h.  */
10278 #include <math.h>
10279                       #ifdef HAVE_IEEEFP_H
10280                       #include <ieeefp.h>
10281                       #endif
10282
10283 int
10284 main ()
10285 {
10286  fpclass(0);
10287   ;
10288   return 0;
10289 }
10290 _ACEOF
10291 rm -f conftest.$ac_objext
10292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10293   (eval $ac_compile) 2>conftest.er1
10294   ac_status=$?
10295   grep -v '^ *+' conftest.er1 >conftest.err
10296   rm -f conftest.er1
10297   cat conftest.err >&5
10298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10299   (exit $ac_status); } &&
10300          { ac_try='test -z "$ac_cxx_werror_flag"
10301                          || test ! -s conftest.err'
10302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303   (eval $ac_try) 2>&5
10304   ac_status=$?
10305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306   (exit $ac_status); }; } &&
10307          { ac_try='test -s conftest.$ac_objext'
10308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309   (eval $ac_try) 2>&5
10310   ac_status=$?
10311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312   (exit $ac_status); }; }; then
10313   glibcxx_cv_func_fpclass_use=yes
10314 else
10315   echo "$as_me: failed program was:" >&5
10316 sed 's/^/| /' conftest.$ac_ext >&5
10317
10318 glibcxx_cv_func_fpclass_use=no
10319 fi
10320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10321       ac_ext=c
10322 ac_cpp='$CPP $CPPFLAGS'
10323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10326
10327
10328 fi
10329
10330   fi
10331   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10332 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10333
10334   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10335
10336 for ac_func in fpclass
10337 do
10338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10339 echo "$as_me:$LINENO: checking for $ac_func" >&5
10340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10341 if eval "test \"\${$as_ac_var+set}\" = set"; then
10342   echo $ECHO_N "(cached) $ECHO_C" >&6
10343 else
10344   if test x$gcc_no_link = xyes; then
10345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10347    { (exit 1); exit 1; }; }
10348 fi
10349 cat >conftest.$ac_ext <<_ACEOF
10350 /* confdefs.h.  */
10351 _ACEOF
10352 cat confdefs.h >>conftest.$ac_ext
10353 cat >>conftest.$ac_ext <<_ACEOF
10354 /* end confdefs.h.  */
10355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10356    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10357 #define $ac_func innocuous_$ac_func
10358
10359 /* System header to define __stub macros and hopefully few prototypes,
10360     which can conflict with char $ac_func (); below.
10361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10362     <limits.h> exists even on freestanding compilers.  */
10363
10364 #ifdef __STDC__
10365 # include <limits.h>
10366 #else
10367 # include <assert.h>
10368 #endif
10369
10370 #undef $ac_func
10371
10372 /* Override any gcc2 internal prototype to avoid an error.  */
10373 #ifdef __cplusplus
10374 extern "C"
10375 {
10376 #endif
10377 /* We use char because int might match the return type of a gcc2
10378    builtin and then its argument prototype would still apply.  */
10379 char $ac_func ();
10380 /* The GNU C library defines this for functions which it implements
10381     to always fail with ENOSYS.  Some functions are actually named
10382     something starting with __ and the normal name is an alias.  */
10383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10384 choke me
10385 #else
10386 char (*f) () = $ac_func;
10387 #endif
10388 #ifdef __cplusplus
10389 }
10390 #endif
10391
10392 int
10393 main ()
10394 {
10395 return f != $ac_func;
10396   ;
10397   return 0;
10398 }
10399 _ACEOF
10400 rm -f conftest.$ac_objext conftest$ac_exeext
10401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10402   (eval $ac_link) 2>conftest.er1
10403   ac_status=$?
10404   grep -v '^ *+' conftest.er1 >conftest.err
10405   rm -f conftest.er1
10406   cat conftest.err >&5
10407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408   (exit $ac_status); } &&
10409          { ac_try='test -z "$ac_c_werror_flag"
10410                          || test ! -s conftest.err'
10411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10412   (eval $ac_try) 2>&5
10413   ac_status=$?
10414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415   (exit $ac_status); }; } &&
10416          { ac_try='test -s conftest$ac_exeext'
10417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10418   (eval $ac_try) 2>&5
10419   ac_status=$?
10420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421   (exit $ac_status); }; }; then
10422   eval "$as_ac_var=yes"
10423 else
10424   echo "$as_me: failed program was:" >&5
10425 sed 's/^/| /' conftest.$ac_ext >&5
10426
10427 eval "$as_ac_var=no"
10428 fi
10429 rm -f conftest.err conftest.$ac_objext \
10430       conftest$ac_exeext conftest.$ac_ext
10431 fi
10432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10434 if test `eval echo '${'$as_ac_var'}'` = yes; then
10435   cat >>confdefs.h <<_ACEOF
10436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10437 _ACEOF
10438
10439 fi
10440 done
10441
10442   else
10443
10444   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10445 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10446   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10447     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10448   echo $ECHO_N "(cached) $ECHO_C" >&6
10449 else
10450
10451
10452
10453       ac_ext=cc
10454 ac_cpp='$CXXCPP $CPPFLAGS'
10455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10458
10459       cat >conftest.$ac_ext <<_ACEOF
10460 /* confdefs.h.  */
10461 _ACEOF
10462 cat confdefs.h >>conftest.$ac_ext
10463 cat >>conftest.$ac_ext <<_ACEOF
10464 /* end confdefs.h.  */
10465 #include <math.h>
10466                       #ifdef HAVE_IEEEFP_H
10467                       #include <ieeefp.h>
10468                       #endif
10469
10470 int
10471 main ()
10472 {
10473  _fpclass(0);
10474   ;
10475   return 0;
10476 }
10477 _ACEOF
10478 rm -f conftest.$ac_objext
10479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10480   (eval $ac_compile) 2>conftest.er1
10481   ac_status=$?
10482   grep -v '^ *+' conftest.er1 >conftest.err
10483   rm -f conftest.er1
10484   cat conftest.err >&5
10485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486   (exit $ac_status); } &&
10487          { ac_try='test -z "$ac_cxx_werror_flag"
10488                          || test ! -s conftest.err'
10489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490   (eval $ac_try) 2>&5
10491   ac_status=$?
10492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493   (exit $ac_status); }; } &&
10494          { ac_try='test -s conftest.$ac_objext'
10495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10496   (eval $ac_try) 2>&5
10497   ac_status=$?
10498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499   (exit $ac_status); }; }; then
10500   glibcxx_cv_func__fpclass_use=yes
10501 else
10502   echo "$as_me: failed program was:" >&5
10503 sed 's/^/| /' conftest.$ac_ext >&5
10504
10505 glibcxx_cv_func__fpclass_use=no
10506 fi
10507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10508       ac_ext=c
10509 ac_cpp='$CPP $CPPFLAGS'
10510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10513
10514
10515 fi
10516
10517   fi
10518   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10519 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10520
10521     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10522
10523 for ac_func in _fpclass
10524 do
10525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10526 echo "$as_me:$LINENO: checking for $ac_func" >&5
10527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10528 if eval "test \"\${$as_ac_var+set}\" = set"; then
10529   echo $ECHO_N "(cached) $ECHO_C" >&6
10530 else
10531   if test x$gcc_no_link = xyes; then
10532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10534    { (exit 1); exit 1; }; }
10535 fi
10536 cat >conftest.$ac_ext <<_ACEOF
10537 /* confdefs.h.  */
10538 _ACEOF
10539 cat confdefs.h >>conftest.$ac_ext
10540 cat >>conftest.$ac_ext <<_ACEOF
10541 /* end confdefs.h.  */
10542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10544 #define $ac_func innocuous_$ac_func
10545
10546 /* System header to define __stub macros and hopefully few prototypes,
10547     which can conflict with char $ac_func (); below.
10548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10549     <limits.h> exists even on freestanding compilers.  */
10550
10551 #ifdef __STDC__
10552 # include <limits.h>
10553 #else
10554 # include <assert.h>
10555 #endif
10556
10557 #undef $ac_func
10558
10559 /* Override any gcc2 internal prototype to avoid an error.  */
10560 #ifdef __cplusplus
10561 extern "C"
10562 {
10563 #endif
10564 /* We use char because int might match the return type of a gcc2
10565    builtin and then its argument prototype would still apply.  */
10566 char $ac_func ();
10567 /* The GNU C library defines this for functions which it implements
10568     to always fail with ENOSYS.  Some functions are actually named
10569     something starting with __ and the normal name is an alias.  */
10570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10571 choke me
10572 #else
10573 char (*f) () = $ac_func;
10574 #endif
10575 #ifdef __cplusplus
10576 }
10577 #endif
10578
10579 int
10580 main ()
10581 {
10582 return f != $ac_func;
10583   ;
10584   return 0;
10585 }
10586 _ACEOF
10587 rm -f conftest.$ac_objext conftest$ac_exeext
10588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10589   (eval $ac_link) 2>conftest.er1
10590   ac_status=$?
10591   grep -v '^ *+' conftest.er1 >conftest.err
10592   rm -f conftest.er1
10593   cat conftest.err >&5
10594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595   (exit $ac_status); } &&
10596          { ac_try='test -z "$ac_c_werror_flag"
10597                          || test ! -s conftest.err'
10598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599   (eval $ac_try) 2>&5
10600   ac_status=$?
10601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602   (exit $ac_status); }; } &&
10603          { ac_try='test -s conftest$ac_exeext'
10604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605   (eval $ac_try) 2>&5
10606   ac_status=$?
10607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608   (exit $ac_status); }; }; then
10609   eval "$as_ac_var=yes"
10610 else
10611   echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.$ac_ext >&5
10613
10614 eval "$as_ac_var=no"
10615 fi
10616 rm -f conftest.err conftest.$ac_objext \
10617       conftest$ac_exeext conftest.$ac_ext
10618 fi
10619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10621 if test `eval echo '${'$as_ac_var'}'` = yes; then
10622   cat >>confdefs.h <<_ACEOF
10623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10624 _ACEOF
10625
10626 fi
10627 done
10628
10629     fi
10630   fi
10631
10632
10633
10634
10635
10636
10637   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10638 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10639   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10640     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10641   echo $ECHO_N "(cached) $ECHO_C" >&6
10642 else
10643
10644
10645
10646       ac_ext=cc
10647 ac_cpp='$CXXCPP $CPPFLAGS'
10648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10651
10652       cat >conftest.$ac_ext <<_ACEOF
10653 /* confdefs.h.  */
10654 _ACEOF
10655 cat confdefs.h >>conftest.$ac_ext
10656 cat >>conftest.$ac_ext <<_ACEOF
10657 /* end confdefs.h.  */
10658 #include <math.h>
10659                       #ifdef HAVE_IEEEFP_H
10660                       #include <ieeefp.h>
10661                       #endif
10662
10663 int
10664 main ()
10665 {
10666  qfpclass(0);
10667   ;
10668   return 0;
10669 }
10670 _ACEOF
10671 rm -f conftest.$ac_objext
10672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10673   (eval $ac_compile) 2>conftest.er1
10674   ac_status=$?
10675   grep -v '^ *+' conftest.er1 >conftest.err
10676   rm -f conftest.er1
10677   cat conftest.err >&5
10678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679   (exit $ac_status); } &&
10680          { ac_try='test -z "$ac_cxx_werror_flag"
10681                          || test ! -s conftest.err'
10682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683   (eval $ac_try) 2>&5
10684   ac_status=$?
10685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686   (exit $ac_status); }; } &&
10687          { ac_try='test -s conftest.$ac_objext'
10688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689   (eval $ac_try) 2>&5
10690   ac_status=$?
10691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692   (exit $ac_status); }; }; then
10693   glibcxx_cv_func_qfpclass_use=yes
10694 else
10695   echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.$ac_ext >&5
10697
10698 glibcxx_cv_func_qfpclass_use=no
10699 fi
10700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10701       ac_ext=c
10702 ac_cpp='$CPP $CPPFLAGS'
10703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10706
10707
10708 fi
10709
10710   fi
10711   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10712 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10713
10714   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10715
10716 for ac_func in qfpclass
10717 do
10718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10719 echo "$as_me:$LINENO: checking for $ac_func" >&5
10720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10721 if eval "test \"\${$as_ac_var+set}\" = set"; then
10722   echo $ECHO_N "(cached) $ECHO_C" >&6
10723 else
10724   if test x$gcc_no_link = xyes; then
10725   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10727    { (exit 1); exit 1; }; }
10728 fi
10729 cat >conftest.$ac_ext <<_ACEOF
10730 /* confdefs.h.  */
10731 _ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h.  */
10735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10736    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10737 #define $ac_func innocuous_$ac_func
10738
10739 /* System header to define __stub macros and hopefully few prototypes,
10740     which can conflict with char $ac_func (); below.
10741     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10742     <limits.h> exists even on freestanding compilers.  */
10743
10744 #ifdef __STDC__
10745 # include <limits.h>
10746 #else
10747 # include <assert.h>
10748 #endif
10749
10750 #undef $ac_func
10751
10752 /* Override any gcc2 internal prototype to avoid an error.  */
10753 #ifdef __cplusplus
10754 extern "C"
10755 {
10756 #endif
10757 /* We use char because int might match the return type of a gcc2
10758    builtin and then its argument prototype would still apply.  */
10759 char $ac_func ();
10760 /* The GNU C library defines this for functions which it implements
10761     to always fail with ENOSYS.  Some functions are actually named
10762     something starting with __ and the normal name is an alias.  */
10763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10764 choke me
10765 #else
10766 char (*f) () = $ac_func;
10767 #endif
10768 #ifdef __cplusplus
10769 }
10770 #endif
10771
10772 int
10773 main ()
10774 {
10775 return f != $ac_func;
10776   ;
10777   return 0;
10778 }
10779 _ACEOF
10780 rm -f conftest.$ac_objext conftest$ac_exeext
10781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10782   (eval $ac_link) 2>conftest.er1
10783   ac_status=$?
10784   grep -v '^ *+' conftest.er1 >conftest.err
10785   rm -f conftest.er1
10786   cat conftest.err >&5
10787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788   (exit $ac_status); } &&
10789          { ac_try='test -z "$ac_c_werror_flag"
10790                          || test ! -s conftest.err'
10791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10792   (eval $ac_try) 2>&5
10793   ac_status=$?
10794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795   (exit $ac_status); }; } &&
10796          { ac_try='test -s conftest$ac_exeext'
10797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10798   (eval $ac_try) 2>&5
10799   ac_status=$?
10800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801   (exit $ac_status); }; }; then
10802   eval "$as_ac_var=yes"
10803 else
10804   echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.$ac_ext >&5
10806
10807 eval "$as_ac_var=no"
10808 fi
10809 rm -f conftest.err conftest.$ac_objext \
10810       conftest$ac_exeext conftest.$ac_ext
10811 fi
10812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10814 if test `eval echo '${'$as_ac_var'}'` = yes; then
10815   cat >>confdefs.h <<_ACEOF
10816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10817 _ACEOF
10818
10819 fi
10820 done
10821
10822   else
10823
10824   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10825 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10826   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10827     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10828   echo $ECHO_N "(cached) $ECHO_C" >&6
10829 else
10830
10831
10832
10833       ac_ext=cc
10834 ac_cpp='$CXXCPP $CPPFLAGS'
10835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10838
10839       cat >conftest.$ac_ext <<_ACEOF
10840 /* confdefs.h.  */
10841 _ACEOF
10842 cat confdefs.h >>conftest.$ac_ext
10843 cat >>conftest.$ac_ext <<_ACEOF
10844 /* end confdefs.h.  */
10845 #include <math.h>
10846                       #ifdef HAVE_IEEEFP_H
10847                       #include <ieeefp.h>
10848                       #endif
10849
10850 int
10851 main ()
10852 {
10853  _qfpclass(0);
10854   ;
10855   return 0;
10856 }
10857 _ACEOF
10858 rm -f conftest.$ac_objext
10859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10860   (eval $ac_compile) 2>conftest.er1
10861   ac_status=$?
10862   grep -v '^ *+' conftest.er1 >conftest.err
10863   rm -f conftest.er1
10864   cat conftest.err >&5
10865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866   (exit $ac_status); } &&
10867          { ac_try='test -z "$ac_cxx_werror_flag"
10868                          || test ! -s conftest.err'
10869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870   (eval $ac_try) 2>&5
10871   ac_status=$?
10872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873   (exit $ac_status); }; } &&
10874          { ac_try='test -s conftest.$ac_objext'
10875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876   (eval $ac_try) 2>&5
10877   ac_status=$?
10878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879   (exit $ac_status); }; }; then
10880   glibcxx_cv_func__qfpclass_use=yes
10881 else
10882   echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.$ac_ext >&5
10884
10885 glibcxx_cv_func__qfpclass_use=no
10886 fi
10887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10888       ac_ext=c
10889 ac_cpp='$CPP $CPPFLAGS'
10890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10893
10894
10895 fi
10896
10897   fi
10898   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10899 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10900
10901     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10902
10903 for ac_func in _qfpclass
10904 do
10905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10906 echo "$as_me:$LINENO: checking for $ac_func" >&5
10907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10908 if eval "test \"\${$as_ac_var+set}\" = set"; then
10909   echo $ECHO_N "(cached) $ECHO_C" >&6
10910 else
10911   if test x$gcc_no_link = xyes; then
10912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10914    { (exit 1); exit 1; }; }
10915 fi
10916 cat >conftest.$ac_ext <<_ACEOF
10917 /* confdefs.h.  */
10918 _ACEOF
10919 cat confdefs.h >>conftest.$ac_ext
10920 cat >>conftest.$ac_ext <<_ACEOF
10921 /* end confdefs.h.  */
10922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10924 #define $ac_func innocuous_$ac_func
10925
10926 /* System header to define __stub macros and hopefully few prototypes,
10927     which can conflict with char $ac_func (); below.
10928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10929     <limits.h> exists even on freestanding compilers.  */
10930
10931 #ifdef __STDC__
10932 # include <limits.h>
10933 #else
10934 # include <assert.h>
10935 #endif
10936
10937 #undef $ac_func
10938
10939 /* Override any gcc2 internal prototype to avoid an error.  */
10940 #ifdef __cplusplus
10941 extern "C"
10942 {
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 $ac_func ();
10947 /* The GNU C library defines this for functions which it implements
10948     to always fail with ENOSYS.  Some functions are actually named
10949     something starting with __ and the normal name is an alias.  */
10950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10951 choke me
10952 #else
10953 char (*f) () = $ac_func;
10954 #endif
10955 #ifdef __cplusplus
10956 }
10957 #endif
10958
10959 int
10960 main ()
10961 {
10962 return f != $ac_func;
10963   ;
10964   return 0;
10965 }
10966 _ACEOF
10967 rm -f conftest.$ac_objext conftest$ac_exeext
10968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10969   (eval $ac_link) 2>conftest.er1
10970   ac_status=$?
10971   grep -v '^ *+' conftest.er1 >conftest.err
10972   rm -f conftest.er1
10973   cat conftest.err >&5
10974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975   (exit $ac_status); } &&
10976          { ac_try='test -z "$ac_c_werror_flag"
10977                          || test ! -s conftest.err'
10978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979   (eval $ac_try) 2>&5
10980   ac_status=$?
10981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982   (exit $ac_status); }; } &&
10983          { ac_try='test -s conftest$ac_exeext'
10984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985   (eval $ac_try) 2>&5
10986   ac_status=$?
10987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988   (exit $ac_status); }; }; then
10989   eval "$as_ac_var=yes"
10990 else
10991   echo "$as_me: failed program was:" >&5
10992 sed 's/^/| /' conftest.$ac_ext >&5
10993
10994 eval "$as_ac_var=no"
10995 fi
10996 rm -f conftest.err conftest.$ac_objext \
10997       conftest$ac_exeext conftest.$ac_ext
10998 fi
10999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11001 if test `eval echo '${'$as_ac_var'}'` = yes; then
11002   cat >>confdefs.h <<_ACEOF
11003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11004 _ACEOF
11005
11006 fi
11007 done
11008
11009     fi
11010   fi
11011
11012
11013
11014
11015
11016
11017   echo "$as_me:$LINENO: checking for hypot declaration" >&5
11018 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11019   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11020     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11021   echo $ECHO_N "(cached) $ECHO_C" >&6
11022 else
11023
11024
11025
11026       ac_ext=cc
11027 ac_cpp='$CXXCPP $CPPFLAGS'
11028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11031
11032       cat >conftest.$ac_ext <<_ACEOF
11033 /* confdefs.h.  */
11034 _ACEOF
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h.  */
11038 #include <math.h>
11039 int
11040 main ()
11041 {
11042  hypot(0, 0);
11043   ;
11044   return 0;
11045 }
11046 _ACEOF
11047 rm -f conftest.$ac_objext
11048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11049   (eval $ac_compile) 2>conftest.er1
11050   ac_status=$?
11051   grep -v '^ *+' conftest.er1 >conftest.err
11052   rm -f conftest.er1
11053   cat conftest.err >&5
11054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055   (exit $ac_status); } &&
11056          { ac_try='test -z "$ac_cxx_werror_flag"
11057                          || test ! -s conftest.err'
11058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059   (eval $ac_try) 2>&5
11060   ac_status=$?
11061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062   (exit $ac_status); }; } &&
11063          { ac_try='test -s conftest.$ac_objext'
11064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065   (eval $ac_try) 2>&5
11066   ac_status=$?
11067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068   (exit $ac_status); }; }; then
11069   glibcxx_cv_func_hypot_use=yes
11070 else
11071   echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.$ac_ext >&5
11073
11074 glibcxx_cv_func_hypot_use=no
11075 fi
11076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11077       ac_ext=c
11078 ac_cpp='$CPP $CPPFLAGS'
11079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11082
11083
11084 fi
11085
11086   fi
11087   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11088 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11089
11090   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11091
11092 for ac_func in hypot
11093 do
11094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11095 echo "$as_me:$LINENO: checking for $ac_func" >&5
11096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11097 if eval "test \"\${$as_ac_var+set}\" = set"; then
11098   echo $ECHO_N "(cached) $ECHO_C" >&6
11099 else
11100   if test x$gcc_no_link = xyes; then
11101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11103    { (exit 1); exit 1; }; }
11104 fi
11105 cat >conftest.$ac_ext <<_ACEOF
11106 /* confdefs.h.  */
11107 _ACEOF
11108 cat confdefs.h >>conftest.$ac_ext
11109 cat >>conftest.$ac_ext <<_ACEOF
11110 /* end confdefs.h.  */
11111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11113 #define $ac_func innocuous_$ac_func
11114
11115 /* System header to define __stub macros and hopefully few prototypes,
11116     which can conflict with char $ac_func (); below.
11117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11118     <limits.h> exists even on freestanding compilers.  */
11119
11120 #ifdef __STDC__
11121 # include <limits.h>
11122 #else
11123 # include <assert.h>
11124 #endif
11125
11126 #undef $ac_func
11127
11128 /* Override any gcc2 internal prototype to avoid an error.  */
11129 #ifdef __cplusplus
11130 extern "C"
11131 {
11132 #endif
11133 /* We use char because int might match the return type of a gcc2
11134    builtin and then its argument prototype would still apply.  */
11135 char $ac_func ();
11136 /* The GNU C library defines this for functions which it implements
11137     to always fail with ENOSYS.  Some functions are actually named
11138     something starting with __ and the normal name is an alias.  */
11139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11140 choke me
11141 #else
11142 char (*f) () = $ac_func;
11143 #endif
11144 #ifdef __cplusplus
11145 }
11146 #endif
11147
11148 int
11149 main ()
11150 {
11151 return f != $ac_func;
11152   ;
11153   return 0;
11154 }
11155 _ACEOF
11156 rm -f conftest.$ac_objext conftest$ac_exeext
11157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11158   (eval $ac_link) 2>conftest.er1
11159   ac_status=$?
11160   grep -v '^ *+' conftest.er1 >conftest.err
11161   rm -f conftest.er1
11162   cat conftest.err >&5
11163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164   (exit $ac_status); } &&
11165          { ac_try='test -z "$ac_c_werror_flag"
11166                          || test ! -s conftest.err'
11167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11168   (eval $ac_try) 2>&5
11169   ac_status=$?
11170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171   (exit $ac_status); }; } &&
11172          { ac_try='test -s conftest$ac_exeext'
11173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11174   (eval $ac_try) 2>&5
11175   ac_status=$?
11176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177   (exit $ac_status); }; }; then
11178   eval "$as_ac_var=yes"
11179 else
11180   echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.$ac_ext >&5
11182
11183 eval "$as_ac_var=no"
11184 fi
11185 rm -f conftest.err conftest.$ac_objext \
11186       conftest$ac_exeext conftest.$ac_ext
11187 fi
11188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11190 if test `eval echo '${'$as_ac_var'}'` = yes; then
11191   cat >>confdefs.h <<_ACEOF
11192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11193 _ACEOF
11194
11195 fi
11196 done
11197
11198   else
11199
11200   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11201 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11202   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11203     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11204   echo $ECHO_N "(cached) $ECHO_C" >&6
11205 else
11206
11207
11208
11209       ac_ext=cc
11210 ac_cpp='$CXXCPP $CPPFLAGS'
11211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11214
11215       cat >conftest.$ac_ext <<_ACEOF
11216 /* confdefs.h.  */
11217 _ACEOF
11218 cat confdefs.h >>conftest.$ac_ext
11219 cat >>conftest.$ac_ext <<_ACEOF
11220 /* end confdefs.h.  */
11221 #include <math.h>
11222 int
11223 main ()
11224 {
11225  _hypot(0, 0);
11226   ;
11227   return 0;
11228 }
11229 _ACEOF
11230 rm -f conftest.$ac_objext
11231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11232   (eval $ac_compile) 2>conftest.er1
11233   ac_status=$?
11234   grep -v '^ *+' conftest.er1 >conftest.err
11235   rm -f conftest.er1
11236   cat conftest.err >&5
11237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238   (exit $ac_status); } &&
11239          { ac_try='test -z "$ac_cxx_werror_flag"
11240                          || test ! -s conftest.err'
11241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242   (eval $ac_try) 2>&5
11243   ac_status=$?
11244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245   (exit $ac_status); }; } &&
11246          { ac_try='test -s conftest.$ac_objext'
11247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11248   (eval $ac_try) 2>&5
11249   ac_status=$?
11250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251   (exit $ac_status); }; }; then
11252   glibcxx_cv_func__hypot_use=yes
11253 else
11254   echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.$ac_ext >&5
11256
11257 glibcxx_cv_func__hypot_use=no
11258 fi
11259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11260       ac_ext=c
11261 ac_cpp='$CPP $CPPFLAGS'
11262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11265
11266
11267 fi
11268
11269   fi
11270   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11271 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11272
11273     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11274
11275 for ac_func in _hypot
11276 do
11277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11278 echo "$as_me:$LINENO: checking for $ac_func" >&5
11279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11280 if eval "test \"\${$as_ac_var+set}\" = set"; then
11281   echo $ECHO_N "(cached) $ECHO_C" >&6
11282 else
11283   if test x$gcc_no_link = xyes; then
11284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11286    { (exit 1); exit 1; }; }
11287 fi
11288 cat >conftest.$ac_ext <<_ACEOF
11289 /* confdefs.h.  */
11290 _ACEOF
11291 cat confdefs.h >>conftest.$ac_ext
11292 cat >>conftest.$ac_ext <<_ACEOF
11293 /* end confdefs.h.  */
11294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11296 #define $ac_func innocuous_$ac_func
11297
11298 /* System header to define __stub macros and hopefully few prototypes,
11299     which can conflict with char $ac_func (); below.
11300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11301     <limits.h> exists even on freestanding compilers.  */
11302
11303 #ifdef __STDC__
11304 # include <limits.h>
11305 #else
11306 # include <assert.h>
11307 #endif
11308
11309 #undef $ac_func
11310
11311 /* Override any gcc2 internal prototype to avoid an error.  */
11312 #ifdef __cplusplus
11313 extern "C"
11314 {
11315 #endif
11316 /* We use char because int might match the return type of a gcc2
11317    builtin and then its argument prototype would still apply.  */
11318 char $ac_func ();
11319 /* The GNU C library defines this for functions which it implements
11320     to always fail with ENOSYS.  Some functions are actually named
11321     something starting with __ and the normal name is an alias.  */
11322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11323 choke me
11324 #else
11325 char (*f) () = $ac_func;
11326 #endif
11327 #ifdef __cplusplus
11328 }
11329 #endif
11330
11331 int
11332 main ()
11333 {
11334 return f != $ac_func;
11335   ;
11336   return 0;
11337 }
11338 _ACEOF
11339 rm -f conftest.$ac_objext conftest$ac_exeext
11340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11341   (eval $ac_link) 2>conftest.er1
11342   ac_status=$?
11343   grep -v '^ *+' conftest.er1 >conftest.err
11344   rm -f conftest.er1
11345   cat conftest.err >&5
11346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347   (exit $ac_status); } &&
11348          { ac_try='test -z "$ac_c_werror_flag"
11349                          || test ! -s conftest.err'
11350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351   (eval $ac_try) 2>&5
11352   ac_status=$?
11353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354   (exit $ac_status); }; } &&
11355          { ac_try='test -s conftest$ac_exeext'
11356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357   (eval $ac_try) 2>&5
11358   ac_status=$?
11359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360   (exit $ac_status); }; }; then
11361   eval "$as_ac_var=yes"
11362 else
11363   echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.$ac_ext >&5
11365
11366 eval "$as_ac_var=no"
11367 fi
11368 rm -f conftest.err conftest.$ac_objext \
11369       conftest$ac_exeext conftest.$ac_ext
11370 fi
11371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11373 if test `eval echo '${'$as_ac_var'}'` = yes; then
11374   cat >>confdefs.h <<_ACEOF
11375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11376 _ACEOF
11377
11378 fi
11379 done
11380
11381     fi
11382   fi
11383
11384
11385
11386
11387
11388
11389     echo "$as_me:$LINENO: checking for float trig functions" >&5
11390 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11391   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11392   echo $ECHO_N "(cached) $ECHO_C" >&6
11393 else
11394
11395
11396
11397     ac_ext=cc
11398 ac_cpp='$CXXCPP $CPPFLAGS'
11399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11402
11403     cat >conftest.$ac_ext <<_ACEOF
11404 /* confdefs.h.  */
11405 _ACEOF
11406 cat confdefs.h >>conftest.$ac_ext
11407 cat >>conftest.$ac_ext <<_ACEOF
11408 /* end confdefs.h.  */
11409 #include <math.h>
11410 int
11411 main ()
11412 {
11413 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11414   ;
11415   return 0;
11416 }
11417 _ACEOF
11418 rm -f conftest.$ac_objext
11419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11420   (eval $ac_compile) 2>conftest.er1
11421   ac_status=$?
11422   grep -v '^ *+' conftest.er1 >conftest.err
11423   rm -f conftest.er1
11424   cat conftest.err >&5
11425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426   (exit $ac_status); } &&
11427          { ac_try='test -z "$ac_cxx_werror_flag"
11428                          || test ! -s conftest.err'
11429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11430   (eval $ac_try) 2>&5
11431   ac_status=$?
11432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433   (exit $ac_status); }; } &&
11434          { ac_try='test -s conftest.$ac_objext'
11435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11436   (eval $ac_try) 2>&5
11437   ac_status=$?
11438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439   (exit $ac_status); }; }; then
11440   glibcxx_cv_func_float_trig_use=yes
11441 else
11442   echo "$as_me: failed program was:" >&5
11443 sed 's/^/| /' conftest.$ac_ext >&5
11444
11445 glibcxx_cv_func_float_trig_use=no
11446 fi
11447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11448     ac_ext=c
11449 ac_cpp='$CPP $CPPFLAGS'
11450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11453
11454 fi
11455
11456   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11457 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11458   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11469 do
11470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11471 echo "$as_me:$LINENO: checking for $ac_func" >&5
11472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11473 if eval "test \"\${$as_ac_var+set}\" = set"; then
11474   echo $ECHO_N "(cached) $ECHO_C" >&6
11475 else
11476   if test x$gcc_no_link = xyes; then
11477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11479    { (exit 1); exit 1; }; }
11480 fi
11481 cat >conftest.$ac_ext <<_ACEOF
11482 /* confdefs.h.  */
11483 _ACEOF
11484 cat confdefs.h >>conftest.$ac_ext
11485 cat >>conftest.$ac_ext <<_ACEOF
11486 /* end confdefs.h.  */
11487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11489 #define $ac_func innocuous_$ac_func
11490
11491 /* System header to define __stub macros and hopefully few prototypes,
11492     which can conflict with char $ac_func (); below.
11493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11494     <limits.h> exists even on freestanding compilers.  */
11495
11496 #ifdef __STDC__
11497 # include <limits.h>
11498 #else
11499 # include <assert.h>
11500 #endif
11501
11502 #undef $ac_func
11503
11504 /* Override any gcc2 internal prototype to avoid an error.  */
11505 #ifdef __cplusplus
11506 extern "C"
11507 {
11508 #endif
11509 /* We use char because int might match the return type of a gcc2
11510    builtin and then its argument prototype would still apply.  */
11511 char $ac_func ();
11512 /* The GNU C library defines this for functions which it implements
11513     to always fail with ENOSYS.  Some functions are actually named
11514     something starting with __ and the normal name is an alias.  */
11515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11516 choke me
11517 #else
11518 char (*f) () = $ac_func;
11519 #endif
11520 #ifdef __cplusplus
11521 }
11522 #endif
11523
11524 int
11525 main ()
11526 {
11527 return f != $ac_func;
11528   ;
11529   return 0;
11530 }
11531 _ACEOF
11532 rm -f conftest.$ac_objext conftest$ac_exeext
11533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11534   (eval $ac_link) 2>conftest.er1
11535   ac_status=$?
11536   grep -v '^ *+' conftest.er1 >conftest.err
11537   rm -f conftest.er1
11538   cat conftest.err >&5
11539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540   (exit $ac_status); } &&
11541          { ac_try='test -z "$ac_c_werror_flag"
11542                          || test ! -s conftest.err'
11543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11544   (eval $ac_try) 2>&5
11545   ac_status=$?
11546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547   (exit $ac_status); }; } &&
11548          { ac_try='test -s conftest$ac_exeext'
11549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550   (eval $ac_try) 2>&5
11551   ac_status=$?
11552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553   (exit $ac_status); }; }; then
11554   eval "$as_ac_var=yes"
11555 else
11556   echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11558
11559 eval "$as_ac_var=no"
11560 fi
11561 rm -f conftest.err conftest.$ac_objext \
11562       conftest$ac_exeext conftest.$ac_ext
11563 fi
11564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11566 if test `eval echo '${'$as_ac_var'}'` = yes; then
11567   cat >>confdefs.h <<_ACEOF
11568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11569 _ACEOF
11570
11571 fi
11572 done
11573
11574   else
11575     echo "$as_me:$LINENO: checking for _float trig functions" >&5
11576 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11577     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11578   echo $ECHO_N "(cached) $ECHO_C" >&6
11579 else
11580
11581
11582
11583       ac_ext=cc
11584 ac_cpp='$CXXCPP $CPPFLAGS'
11585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11588
11589       cat >conftest.$ac_ext <<_ACEOF
11590 /* confdefs.h.  */
11591 _ACEOF
11592 cat confdefs.h >>conftest.$ac_ext
11593 cat >>conftest.$ac_ext <<_ACEOF
11594 /* end confdefs.h.  */
11595 #include <math.h>
11596 int
11597 main ()
11598 {
11599 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11600   ;
11601   return 0;
11602 }
11603 _ACEOF
11604 rm -f conftest.$ac_objext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11606   (eval $ac_compile) 2>conftest.er1
11607   ac_status=$?
11608   grep -v '^ *+' conftest.er1 >conftest.err
11609   rm -f conftest.er1
11610   cat conftest.err >&5
11611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612   (exit $ac_status); } &&
11613          { ac_try='test -z "$ac_cxx_werror_flag"
11614                          || test ! -s conftest.err'
11615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616   (eval $ac_try) 2>&5
11617   ac_status=$?
11618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619   (exit $ac_status); }; } &&
11620          { ac_try='test -s conftest.$ac_objext'
11621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622   (eval $ac_try) 2>&5
11623   ac_status=$?
11624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625   (exit $ac_status); }; }; then
11626   glibcxx_cv_func__float_trig_use=yes
11627 else
11628   echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11630
11631 glibcxx_cv_func__float_trig_use=no
11632 fi
11633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11634       ac_ext=c
11635 ac_cpp='$CPP $CPPFLAGS'
11636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11639
11640 fi
11641
11642     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11643 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11644     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11655 do
11656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11657 echo "$as_me:$LINENO: checking for $ac_func" >&5
11658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11659 if eval "test \"\${$as_ac_var+set}\" = set"; then
11660   echo $ECHO_N "(cached) $ECHO_C" >&6
11661 else
11662   if test x$gcc_no_link = xyes; then
11663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11665    { (exit 1); exit 1; }; }
11666 fi
11667 cat >conftest.$ac_ext <<_ACEOF
11668 /* confdefs.h.  */
11669 _ACEOF
11670 cat confdefs.h >>conftest.$ac_ext
11671 cat >>conftest.$ac_ext <<_ACEOF
11672 /* end confdefs.h.  */
11673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11675 #define $ac_func innocuous_$ac_func
11676
11677 /* System header to define __stub macros and hopefully few prototypes,
11678     which can conflict with char $ac_func (); below.
11679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11680     <limits.h> exists even on freestanding compilers.  */
11681
11682 #ifdef __STDC__
11683 # include <limits.h>
11684 #else
11685 # include <assert.h>
11686 #endif
11687
11688 #undef $ac_func
11689
11690 /* Override any gcc2 internal prototype to avoid an error.  */
11691 #ifdef __cplusplus
11692 extern "C"
11693 {
11694 #endif
11695 /* We use char because int might match the return type of a gcc2
11696    builtin and then its argument prototype would still apply.  */
11697 char $ac_func ();
11698 /* The GNU C library defines this for functions which it implements
11699     to always fail with ENOSYS.  Some functions are actually named
11700     something starting with __ and the normal name is an alias.  */
11701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11702 choke me
11703 #else
11704 char (*f) () = $ac_func;
11705 #endif
11706 #ifdef __cplusplus
11707 }
11708 #endif
11709
11710 int
11711 main ()
11712 {
11713 return f != $ac_func;
11714   ;
11715   return 0;
11716 }
11717 _ACEOF
11718 rm -f conftest.$ac_objext conftest$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720   (eval $ac_link) 2>conftest.er1
11721   ac_status=$?
11722   grep -v '^ *+' conftest.er1 >conftest.err
11723   rm -f conftest.er1
11724   cat conftest.err >&5
11725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726   (exit $ac_status); } &&
11727          { ac_try='test -z "$ac_c_werror_flag"
11728                          || test ! -s conftest.err'
11729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730   (eval $ac_try) 2>&5
11731   ac_status=$?
11732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733   (exit $ac_status); }; } &&
11734          { ac_try='test -s conftest$ac_exeext'
11735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736   (eval $ac_try) 2>&5
11737   ac_status=$?
11738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739   (exit $ac_status); }; }; then
11740   eval "$as_ac_var=yes"
11741 else
11742   echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.$ac_ext >&5
11744
11745 eval "$as_ac_var=no"
11746 fi
11747 rm -f conftest.err conftest.$ac_objext \
11748       conftest$ac_exeext conftest.$ac_ext
11749 fi
11750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11752 if test `eval echo '${'$as_ac_var'}'` = yes; then
11753   cat >>confdefs.h <<_ACEOF
11754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11755 _ACEOF
11756
11757 fi
11758 done
11759
11760     fi
11761   fi
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776     echo "$as_me:$LINENO: checking for float round functions" >&5
11777 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11778   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11779   echo $ECHO_N "(cached) $ECHO_C" >&6
11780 else
11781
11782
11783
11784     ac_ext=cc
11785 ac_cpp='$CXXCPP $CPPFLAGS'
11786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11789
11790     cat >conftest.$ac_ext <<_ACEOF
11791 /* confdefs.h.  */
11792 _ACEOF
11793 cat confdefs.h >>conftest.$ac_ext
11794 cat >>conftest.$ac_ext <<_ACEOF
11795 /* end confdefs.h.  */
11796 #include <math.h>
11797 int
11798 main ()
11799 {
11800 ceilf (0); floorf (0);
11801   ;
11802   return 0;
11803 }
11804 _ACEOF
11805 rm -f conftest.$ac_objext
11806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11807   (eval $ac_compile) 2>conftest.er1
11808   ac_status=$?
11809   grep -v '^ *+' conftest.er1 >conftest.err
11810   rm -f conftest.er1
11811   cat conftest.err >&5
11812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813   (exit $ac_status); } &&
11814          { ac_try='test -z "$ac_cxx_werror_flag"
11815                          || test ! -s conftest.err'
11816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11817   (eval $ac_try) 2>&5
11818   ac_status=$?
11819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820   (exit $ac_status); }; } &&
11821          { ac_try='test -s conftest.$ac_objext'
11822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823   (eval $ac_try) 2>&5
11824   ac_status=$?
11825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826   (exit $ac_status); }; }; then
11827   glibcxx_cv_func_float_round_use=yes
11828 else
11829   echo "$as_me: failed program was:" >&5
11830 sed 's/^/| /' conftest.$ac_ext >&5
11831
11832 glibcxx_cv_func_float_round_use=no
11833 fi
11834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11835     ac_ext=c
11836 ac_cpp='$CPP $CPPFLAGS'
11837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11840
11841 fi
11842
11843   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11844 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11845   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11846
11847
11848 for ac_func in ceilf floorf
11849 do
11850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11851 echo "$as_me:$LINENO: checking for $ac_func" >&5
11852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11853 if eval "test \"\${$as_ac_var+set}\" = set"; then
11854   echo $ECHO_N "(cached) $ECHO_C" >&6
11855 else
11856   if test x$gcc_no_link = xyes; then
11857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11859    { (exit 1); exit 1; }; }
11860 fi
11861 cat >conftest.$ac_ext <<_ACEOF
11862 /* confdefs.h.  */
11863 _ACEOF
11864 cat confdefs.h >>conftest.$ac_ext
11865 cat >>conftest.$ac_ext <<_ACEOF
11866 /* end confdefs.h.  */
11867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11869 #define $ac_func innocuous_$ac_func
11870
11871 /* System header to define __stub macros and hopefully few prototypes,
11872     which can conflict with char $ac_func (); below.
11873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11874     <limits.h> exists even on freestanding compilers.  */
11875
11876 #ifdef __STDC__
11877 # include <limits.h>
11878 #else
11879 # include <assert.h>
11880 #endif
11881
11882 #undef $ac_func
11883
11884 /* Override any gcc2 internal prototype to avoid an error.  */
11885 #ifdef __cplusplus
11886 extern "C"
11887 {
11888 #endif
11889 /* We use char because int might match the return type of a gcc2
11890    builtin and then its argument prototype would still apply.  */
11891 char $ac_func ();
11892 /* The GNU C library defines this for functions which it implements
11893     to always fail with ENOSYS.  Some functions are actually named
11894     something starting with __ and the normal name is an alias.  */
11895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11896 choke me
11897 #else
11898 char (*f) () = $ac_func;
11899 #endif
11900 #ifdef __cplusplus
11901 }
11902 #endif
11903
11904 int
11905 main ()
11906 {
11907 return f != $ac_func;
11908   ;
11909   return 0;
11910 }
11911 _ACEOF
11912 rm -f conftest.$ac_objext conftest$ac_exeext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11914   (eval $ac_link) 2>conftest.er1
11915   ac_status=$?
11916   grep -v '^ *+' conftest.er1 >conftest.err
11917   rm -f conftest.er1
11918   cat conftest.err >&5
11919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920   (exit $ac_status); } &&
11921          { ac_try='test -z "$ac_c_werror_flag"
11922                          || test ! -s conftest.err'
11923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924   (eval $ac_try) 2>&5
11925   ac_status=$?
11926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927   (exit $ac_status); }; } &&
11928          { ac_try='test -s conftest$ac_exeext'
11929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930   (eval $ac_try) 2>&5
11931   ac_status=$?
11932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933   (exit $ac_status); }; }; then
11934   eval "$as_ac_var=yes"
11935 else
11936   echo "$as_me: failed program was:" >&5
11937 sed 's/^/| /' conftest.$ac_ext >&5
11938
11939 eval "$as_ac_var=no"
11940 fi
11941 rm -f conftest.err conftest.$ac_objext \
11942       conftest$ac_exeext conftest.$ac_ext
11943 fi
11944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11946 if test `eval echo '${'$as_ac_var'}'` = yes; then
11947   cat >>confdefs.h <<_ACEOF
11948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11949 _ACEOF
11950
11951 fi
11952 done
11953
11954   else
11955     echo "$as_me:$LINENO: checking for _float round functions" >&5
11956 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11957     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11958   echo $ECHO_N "(cached) $ECHO_C" >&6
11959 else
11960
11961
11962
11963       ac_ext=cc
11964 ac_cpp='$CXXCPP $CPPFLAGS'
11965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11968
11969       cat >conftest.$ac_ext <<_ACEOF
11970 /* confdefs.h.  */
11971 _ACEOF
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h.  */
11975 #include <math.h>
11976 int
11977 main ()
11978 {
11979 _ceilf (0); _floorf (0);
11980   ;
11981   return 0;
11982 }
11983 _ACEOF
11984 rm -f conftest.$ac_objext
11985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11986   (eval $ac_compile) 2>conftest.er1
11987   ac_status=$?
11988   grep -v '^ *+' conftest.er1 >conftest.err
11989   rm -f conftest.er1
11990   cat conftest.err >&5
11991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992   (exit $ac_status); } &&
11993          { ac_try='test -z "$ac_cxx_werror_flag"
11994                          || test ! -s conftest.err'
11995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11996   (eval $ac_try) 2>&5
11997   ac_status=$?
11998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999   (exit $ac_status); }; } &&
12000          { ac_try='test -s conftest.$ac_objext'
12001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12002   (eval $ac_try) 2>&5
12003   ac_status=$?
12004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005   (exit $ac_status); }; }; then
12006   glibcxx_cv_func__float_round_use=yes
12007 else
12008   echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.$ac_ext >&5
12010
12011 glibcxx_cv_func__float_round_use=no
12012 fi
12013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12014       ac_ext=c
12015 ac_cpp='$CPP $CPPFLAGS'
12016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12019
12020 fi
12021
12022     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12023 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12024     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12025
12026
12027 for ac_func in _ceilf _floorf
12028 do
12029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12030 echo "$as_me:$LINENO: checking for $ac_func" >&5
12031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12032 if eval "test \"\${$as_ac_var+set}\" = set"; then
12033   echo $ECHO_N "(cached) $ECHO_C" >&6
12034 else
12035   if test x$gcc_no_link = xyes; then
12036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12038    { (exit 1); exit 1; }; }
12039 fi
12040 cat >conftest.$ac_ext <<_ACEOF
12041 /* confdefs.h.  */
12042 _ACEOF
12043 cat confdefs.h >>conftest.$ac_ext
12044 cat >>conftest.$ac_ext <<_ACEOF
12045 /* end confdefs.h.  */
12046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12048 #define $ac_func innocuous_$ac_func
12049
12050 /* System header to define __stub macros and hopefully few prototypes,
12051     which can conflict with char $ac_func (); below.
12052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12053     <limits.h> exists even on freestanding compilers.  */
12054
12055 #ifdef __STDC__
12056 # include <limits.h>
12057 #else
12058 # include <assert.h>
12059 #endif
12060
12061 #undef $ac_func
12062
12063 /* Override any gcc2 internal prototype to avoid an error.  */
12064 #ifdef __cplusplus
12065 extern "C"
12066 {
12067 #endif
12068 /* We use char because int might match the return type of a gcc2
12069    builtin and then its argument prototype would still apply.  */
12070 char $ac_func ();
12071 /* The GNU C library defines this for functions which it implements
12072     to always fail with ENOSYS.  Some functions are actually named
12073     something starting with __ and the normal name is an alias.  */
12074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12075 choke me
12076 #else
12077 char (*f) () = $ac_func;
12078 #endif
12079 #ifdef __cplusplus
12080 }
12081 #endif
12082
12083 int
12084 main ()
12085 {
12086 return f != $ac_func;
12087   ;
12088   return 0;
12089 }
12090 _ACEOF
12091 rm -f conftest.$ac_objext conftest$ac_exeext
12092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12093   (eval $ac_link) 2>conftest.er1
12094   ac_status=$?
12095   grep -v '^ *+' conftest.er1 >conftest.err
12096   rm -f conftest.er1
12097   cat conftest.err >&5
12098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099   (exit $ac_status); } &&
12100          { ac_try='test -z "$ac_c_werror_flag"
12101                          || test ! -s conftest.err'
12102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12103   (eval $ac_try) 2>&5
12104   ac_status=$?
12105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106   (exit $ac_status); }; } &&
12107          { ac_try='test -s conftest$ac_exeext'
12108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12109   (eval $ac_try) 2>&5
12110   ac_status=$?
12111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112   (exit $ac_status); }; }; then
12113   eval "$as_ac_var=yes"
12114 else
12115   echo "$as_me: failed program was:" >&5
12116 sed 's/^/| /' conftest.$ac_ext >&5
12117
12118 eval "$as_ac_var=no"
12119 fi
12120 rm -f conftest.err conftest.$ac_objext \
12121       conftest$ac_exeext conftest.$ac_ext
12122 fi
12123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12125 if test `eval echo '${'$as_ac_var'}'` = yes; then
12126   cat >>confdefs.h <<_ACEOF
12127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12128 _ACEOF
12129
12130 fi
12131 done
12132
12133     fi
12134   fi
12135
12136
12137
12138
12139
12140
12141
12142
12143   echo "$as_me:$LINENO: checking for expf declaration" >&5
12144 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12145   if test x${glibcxx_cv_func_expf_use+set} != xset; then
12146     if test "${glibcxx_cv_func_expf_use+set}" = set; then
12147   echo $ECHO_N "(cached) $ECHO_C" >&6
12148 else
12149
12150
12151
12152       ac_ext=cc
12153 ac_cpp='$CXXCPP $CPPFLAGS'
12154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12157
12158       cat >conftest.$ac_ext <<_ACEOF
12159 /* confdefs.h.  */
12160 _ACEOF
12161 cat confdefs.h >>conftest.$ac_ext
12162 cat >>conftest.$ac_ext <<_ACEOF
12163 /* end confdefs.h.  */
12164 #include <math.h>
12165                       #ifdef HAVE_IEEEFP_H
12166                       #include <ieeefp.h>
12167                       #endif
12168
12169 int
12170 main ()
12171 {
12172  expf(0);
12173   ;
12174   return 0;
12175 }
12176 _ACEOF
12177 rm -f conftest.$ac_objext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12179   (eval $ac_compile) 2>conftest.er1
12180   ac_status=$?
12181   grep -v '^ *+' conftest.er1 >conftest.err
12182   rm -f conftest.er1
12183   cat conftest.err >&5
12184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185   (exit $ac_status); } &&
12186          { ac_try='test -z "$ac_cxx_werror_flag"
12187                          || test ! -s conftest.err'
12188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189   (eval $ac_try) 2>&5
12190   ac_status=$?
12191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192   (exit $ac_status); }; } &&
12193          { ac_try='test -s conftest.$ac_objext'
12194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195   (eval $ac_try) 2>&5
12196   ac_status=$?
12197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198   (exit $ac_status); }; }; then
12199   glibcxx_cv_func_expf_use=yes
12200 else
12201   echo "$as_me: failed program was:" >&5
12202 sed 's/^/| /' conftest.$ac_ext >&5
12203
12204 glibcxx_cv_func_expf_use=no
12205 fi
12206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12207       ac_ext=c
12208 ac_cpp='$CPP $CPPFLAGS'
12209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12212
12213
12214 fi
12215
12216   fi
12217   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12218 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12219
12220   if test x$glibcxx_cv_func_expf_use = x"yes"; then
12221
12222 for ac_func in expf
12223 do
12224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12225 echo "$as_me:$LINENO: checking for $ac_func" >&5
12226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12227 if eval "test \"\${$as_ac_var+set}\" = set"; then
12228   echo $ECHO_N "(cached) $ECHO_C" >&6
12229 else
12230   if test x$gcc_no_link = xyes; then
12231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12233    { (exit 1); exit 1; }; }
12234 fi
12235 cat >conftest.$ac_ext <<_ACEOF
12236 /* confdefs.h.  */
12237 _ACEOF
12238 cat confdefs.h >>conftest.$ac_ext
12239 cat >>conftest.$ac_ext <<_ACEOF
12240 /* end confdefs.h.  */
12241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12242    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12243 #define $ac_func innocuous_$ac_func
12244
12245 /* System header to define __stub macros and hopefully few prototypes,
12246     which can conflict with char $ac_func (); below.
12247     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12248     <limits.h> exists even on freestanding compilers.  */
12249
12250 #ifdef __STDC__
12251 # include <limits.h>
12252 #else
12253 # include <assert.h>
12254 #endif
12255
12256 #undef $ac_func
12257
12258 /* Override any gcc2 internal prototype to avoid an error.  */
12259 #ifdef __cplusplus
12260 extern "C"
12261 {
12262 #endif
12263 /* We use char because int might match the return type of a gcc2
12264    builtin and then its argument prototype would still apply.  */
12265 char $ac_func ();
12266 /* The GNU C library defines this for functions which it implements
12267     to always fail with ENOSYS.  Some functions are actually named
12268     something starting with __ and the normal name is an alias.  */
12269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12270 choke me
12271 #else
12272 char (*f) () = $ac_func;
12273 #endif
12274 #ifdef __cplusplus
12275 }
12276 #endif
12277
12278 int
12279 main ()
12280 {
12281 return f != $ac_func;
12282   ;
12283   return 0;
12284 }
12285 _ACEOF
12286 rm -f conftest.$ac_objext conftest$ac_exeext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12288   (eval $ac_link) 2>conftest.er1
12289   ac_status=$?
12290   grep -v '^ *+' conftest.er1 >conftest.err
12291   rm -f conftest.er1
12292   cat conftest.err >&5
12293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294   (exit $ac_status); } &&
12295          { ac_try='test -z "$ac_c_werror_flag"
12296                          || test ! -s conftest.err'
12297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298   (eval $ac_try) 2>&5
12299   ac_status=$?
12300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301   (exit $ac_status); }; } &&
12302          { ac_try='test -s conftest$ac_exeext'
12303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304   (eval $ac_try) 2>&5
12305   ac_status=$?
12306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307   (exit $ac_status); }; }; then
12308   eval "$as_ac_var=yes"
12309 else
12310   echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.$ac_ext >&5
12312
12313 eval "$as_ac_var=no"
12314 fi
12315 rm -f conftest.err conftest.$ac_objext \
12316       conftest$ac_exeext conftest.$ac_ext
12317 fi
12318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12320 if test `eval echo '${'$as_ac_var'}'` = yes; then
12321   cat >>confdefs.h <<_ACEOF
12322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12323 _ACEOF
12324
12325 fi
12326 done
12327
12328   else
12329
12330   echo "$as_me:$LINENO: checking for _expf declaration" >&5
12331 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12332   if test x${glibcxx_cv_func__expf_use+set} != xset; then
12333     if test "${glibcxx_cv_func__expf_use+set}" = set; then
12334   echo $ECHO_N "(cached) $ECHO_C" >&6
12335 else
12336
12337
12338
12339       ac_ext=cc
12340 ac_cpp='$CXXCPP $CPPFLAGS'
12341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12344
12345       cat >conftest.$ac_ext <<_ACEOF
12346 /* confdefs.h.  */
12347 _ACEOF
12348 cat confdefs.h >>conftest.$ac_ext
12349 cat >>conftest.$ac_ext <<_ACEOF
12350 /* end confdefs.h.  */
12351 #include <math.h>
12352                       #ifdef HAVE_IEEEFP_H
12353                       #include <ieeefp.h>
12354                       #endif
12355
12356 int
12357 main ()
12358 {
12359  _expf(0);
12360   ;
12361   return 0;
12362 }
12363 _ACEOF
12364 rm -f conftest.$ac_objext
12365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12366   (eval $ac_compile) 2>conftest.er1
12367   ac_status=$?
12368   grep -v '^ *+' conftest.er1 >conftest.err
12369   rm -f conftest.er1
12370   cat conftest.err >&5
12371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372   (exit $ac_status); } &&
12373          { ac_try='test -z "$ac_cxx_werror_flag"
12374                          || test ! -s conftest.err'
12375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376   (eval $ac_try) 2>&5
12377   ac_status=$?
12378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379   (exit $ac_status); }; } &&
12380          { ac_try='test -s conftest.$ac_objext'
12381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382   (eval $ac_try) 2>&5
12383   ac_status=$?
12384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385   (exit $ac_status); }; }; then
12386   glibcxx_cv_func__expf_use=yes
12387 else
12388   echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.$ac_ext >&5
12390
12391 glibcxx_cv_func__expf_use=no
12392 fi
12393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12394       ac_ext=c
12395 ac_cpp='$CPP $CPPFLAGS'
12396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12399
12400
12401 fi
12402
12403   fi
12404   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12405 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12406
12407     if test x$glibcxx_cv_func__expf_use = x"yes"; then
12408
12409 for ac_func in _expf
12410 do
12411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12412 echo "$as_me:$LINENO: checking for $ac_func" >&5
12413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12414 if eval "test \"\${$as_ac_var+set}\" = set"; then
12415   echo $ECHO_N "(cached) $ECHO_C" >&6
12416 else
12417   if test x$gcc_no_link = xyes; then
12418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12420    { (exit 1); exit 1; }; }
12421 fi
12422 cat >conftest.$ac_ext <<_ACEOF
12423 /* confdefs.h.  */
12424 _ACEOF
12425 cat confdefs.h >>conftest.$ac_ext
12426 cat >>conftest.$ac_ext <<_ACEOF
12427 /* end confdefs.h.  */
12428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12430 #define $ac_func innocuous_$ac_func
12431
12432 /* System header to define __stub macros and hopefully few prototypes,
12433     which can conflict with char $ac_func (); below.
12434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12435     <limits.h> exists even on freestanding compilers.  */
12436
12437 #ifdef __STDC__
12438 # include <limits.h>
12439 #else
12440 # include <assert.h>
12441 #endif
12442
12443 #undef $ac_func
12444
12445 /* Override any gcc2 internal prototype to avoid an error.  */
12446 #ifdef __cplusplus
12447 extern "C"
12448 {
12449 #endif
12450 /* We use char because int might match the return type of a gcc2
12451    builtin and then its argument prototype would still apply.  */
12452 char $ac_func ();
12453 /* The GNU C library defines this for functions which it implements
12454     to always fail with ENOSYS.  Some functions are actually named
12455     something starting with __ and the normal name is an alias.  */
12456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12457 choke me
12458 #else
12459 char (*f) () = $ac_func;
12460 #endif
12461 #ifdef __cplusplus
12462 }
12463 #endif
12464
12465 int
12466 main ()
12467 {
12468 return f != $ac_func;
12469   ;
12470   return 0;
12471 }
12472 _ACEOF
12473 rm -f conftest.$ac_objext conftest$ac_exeext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12475   (eval $ac_link) 2>conftest.er1
12476   ac_status=$?
12477   grep -v '^ *+' conftest.er1 >conftest.err
12478   rm -f conftest.er1
12479   cat conftest.err >&5
12480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481   (exit $ac_status); } &&
12482          { ac_try='test -z "$ac_c_werror_flag"
12483                          || test ! -s conftest.err'
12484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485   (eval $ac_try) 2>&5
12486   ac_status=$?
12487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488   (exit $ac_status); }; } &&
12489          { ac_try='test -s conftest$ac_exeext'
12490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12491   (eval $ac_try) 2>&5
12492   ac_status=$?
12493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494   (exit $ac_status); }; }; then
12495   eval "$as_ac_var=yes"
12496 else
12497   echo "$as_me: failed program was:" >&5
12498 sed 's/^/| /' conftest.$ac_ext >&5
12499
12500 eval "$as_ac_var=no"
12501 fi
12502 rm -f conftest.err conftest.$ac_objext \
12503       conftest$ac_exeext conftest.$ac_ext
12504 fi
12505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12507 if test `eval echo '${'$as_ac_var'}'` = yes; then
12508   cat >>confdefs.h <<_ACEOF
12509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12510 _ACEOF
12511
12512 fi
12513 done
12514
12515     fi
12516   fi
12517
12518
12519
12520
12521
12522
12523   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12524 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12525   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12526     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12527   echo $ECHO_N "(cached) $ECHO_C" >&6
12528 else
12529
12530
12531
12532       ac_ext=cc
12533 ac_cpp='$CXXCPP $CPPFLAGS'
12534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12537
12538       cat >conftest.$ac_ext <<_ACEOF
12539 /* confdefs.h.  */
12540 _ACEOF
12541 cat confdefs.h >>conftest.$ac_ext
12542 cat >>conftest.$ac_ext <<_ACEOF
12543 /* end confdefs.h.  */
12544 #include <math.h>
12545                       #ifdef HAVE_IEEEFP_H
12546                       #include <ieeefp.h>
12547                       #endif
12548
12549 int
12550 main ()
12551 {
12552  isnanf(0);
12553   ;
12554   return 0;
12555 }
12556 _ACEOF
12557 rm -f conftest.$ac_objext
12558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12559   (eval $ac_compile) 2>conftest.er1
12560   ac_status=$?
12561   grep -v '^ *+' conftest.er1 >conftest.err
12562   rm -f conftest.er1
12563   cat conftest.err >&5
12564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565   (exit $ac_status); } &&
12566          { ac_try='test -z "$ac_cxx_werror_flag"
12567                          || test ! -s conftest.err'
12568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569   (eval $ac_try) 2>&5
12570   ac_status=$?
12571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572   (exit $ac_status); }; } &&
12573          { ac_try='test -s conftest.$ac_objext'
12574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12575   (eval $ac_try) 2>&5
12576   ac_status=$?
12577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578   (exit $ac_status); }; }; then
12579   glibcxx_cv_func_isnanf_use=yes
12580 else
12581   echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.$ac_ext >&5
12583
12584 glibcxx_cv_func_isnanf_use=no
12585 fi
12586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12587       ac_ext=c
12588 ac_cpp='$CPP $CPPFLAGS'
12589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12592
12593
12594 fi
12595
12596   fi
12597   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12598 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12599
12600   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12601
12602 for ac_func in isnanf
12603 do
12604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12605 echo "$as_me:$LINENO: checking for $ac_func" >&5
12606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12607 if eval "test \"\${$as_ac_var+set}\" = set"; then
12608   echo $ECHO_N "(cached) $ECHO_C" >&6
12609 else
12610   if test x$gcc_no_link = xyes; then
12611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12613    { (exit 1); exit 1; }; }
12614 fi
12615 cat >conftest.$ac_ext <<_ACEOF
12616 /* confdefs.h.  */
12617 _ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h.  */
12621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12623 #define $ac_func innocuous_$ac_func
12624
12625 /* System header to define __stub macros and hopefully few prototypes,
12626     which can conflict with char $ac_func (); below.
12627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12628     <limits.h> exists even on freestanding compilers.  */
12629
12630 #ifdef __STDC__
12631 # include <limits.h>
12632 #else
12633 # include <assert.h>
12634 #endif
12635
12636 #undef $ac_func
12637
12638 /* Override any gcc2 internal prototype to avoid an error.  */
12639 #ifdef __cplusplus
12640 extern "C"
12641 {
12642 #endif
12643 /* We use char because int might match the return type of a gcc2
12644    builtin and then its argument prototype would still apply.  */
12645 char $ac_func ();
12646 /* The GNU C library defines this for functions which it implements
12647     to always fail with ENOSYS.  Some functions are actually named
12648     something starting with __ and the normal name is an alias.  */
12649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12650 choke me
12651 #else
12652 char (*f) () = $ac_func;
12653 #endif
12654 #ifdef __cplusplus
12655 }
12656 #endif
12657
12658 int
12659 main ()
12660 {
12661 return f != $ac_func;
12662   ;
12663   return 0;
12664 }
12665 _ACEOF
12666 rm -f conftest.$ac_objext conftest$ac_exeext
12667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12668   (eval $ac_link) 2>conftest.er1
12669   ac_status=$?
12670   grep -v '^ *+' conftest.er1 >conftest.err
12671   rm -f conftest.er1
12672   cat conftest.err >&5
12673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674   (exit $ac_status); } &&
12675          { ac_try='test -z "$ac_c_werror_flag"
12676                          || test ! -s conftest.err'
12677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678   (eval $ac_try) 2>&5
12679   ac_status=$?
12680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681   (exit $ac_status); }; } &&
12682          { ac_try='test -s conftest$ac_exeext'
12683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684   (eval $ac_try) 2>&5
12685   ac_status=$?
12686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687   (exit $ac_status); }; }; then
12688   eval "$as_ac_var=yes"
12689 else
12690   echo "$as_me: failed program was:" >&5
12691 sed 's/^/| /' conftest.$ac_ext >&5
12692
12693 eval "$as_ac_var=no"
12694 fi
12695 rm -f conftest.err conftest.$ac_objext \
12696       conftest$ac_exeext conftest.$ac_ext
12697 fi
12698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12700 if test `eval echo '${'$as_ac_var'}'` = yes; then
12701   cat >>confdefs.h <<_ACEOF
12702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12703 _ACEOF
12704
12705 fi
12706 done
12707
12708   else
12709
12710   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12711 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12712   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12713     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12714   echo $ECHO_N "(cached) $ECHO_C" >&6
12715 else
12716
12717
12718
12719       ac_ext=cc
12720 ac_cpp='$CXXCPP $CPPFLAGS'
12721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12724
12725       cat >conftest.$ac_ext <<_ACEOF
12726 /* confdefs.h.  */
12727 _ACEOF
12728 cat confdefs.h >>conftest.$ac_ext
12729 cat >>conftest.$ac_ext <<_ACEOF
12730 /* end confdefs.h.  */
12731 #include <math.h>
12732                       #ifdef HAVE_IEEEFP_H
12733                       #include <ieeefp.h>
12734                       #endif
12735
12736 int
12737 main ()
12738 {
12739  _isnanf(0);
12740   ;
12741   return 0;
12742 }
12743 _ACEOF
12744 rm -f conftest.$ac_objext
12745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12746   (eval $ac_compile) 2>conftest.er1
12747   ac_status=$?
12748   grep -v '^ *+' conftest.er1 >conftest.err
12749   rm -f conftest.er1
12750   cat conftest.err >&5
12751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752   (exit $ac_status); } &&
12753          { ac_try='test -z "$ac_cxx_werror_flag"
12754                          || test ! -s conftest.err'
12755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756   (eval $ac_try) 2>&5
12757   ac_status=$?
12758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759   (exit $ac_status); }; } &&
12760          { ac_try='test -s conftest.$ac_objext'
12761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762   (eval $ac_try) 2>&5
12763   ac_status=$?
12764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765   (exit $ac_status); }; }; then
12766   glibcxx_cv_func__isnanf_use=yes
12767 else
12768   echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.$ac_ext >&5
12770
12771 glibcxx_cv_func__isnanf_use=no
12772 fi
12773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12774       ac_ext=c
12775 ac_cpp='$CPP $CPPFLAGS'
12776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12779
12780
12781 fi
12782
12783   fi
12784   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12785 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12786
12787     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12788
12789 for ac_func in _isnanf
12790 do
12791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12792 echo "$as_me:$LINENO: checking for $ac_func" >&5
12793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12794 if eval "test \"\${$as_ac_var+set}\" = set"; then
12795   echo $ECHO_N "(cached) $ECHO_C" >&6
12796 else
12797   if test x$gcc_no_link = xyes; then
12798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12800    { (exit 1); exit 1; }; }
12801 fi
12802 cat >conftest.$ac_ext <<_ACEOF
12803 /* confdefs.h.  */
12804 _ACEOF
12805 cat confdefs.h >>conftest.$ac_ext
12806 cat >>conftest.$ac_ext <<_ACEOF
12807 /* end confdefs.h.  */
12808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12810 #define $ac_func innocuous_$ac_func
12811
12812 /* System header to define __stub macros and hopefully few prototypes,
12813     which can conflict with char $ac_func (); below.
12814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12815     <limits.h> exists even on freestanding compilers.  */
12816
12817 #ifdef __STDC__
12818 # include <limits.h>
12819 #else
12820 # include <assert.h>
12821 #endif
12822
12823 #undef $ac_func
12824
12825 /* Override any gcc2 internal prototype to avoid an error.  */
12826 #ifdef __cplusplus
12827 extern "C"
12828 {
12829 #endif
12830 /* We use char because int might match the return type of a gcc2
12831    builtin and then its argument prototype would still apply.  */
12832 char $ac_func ();
12833 /* The GNU C library defines this for functions which it implements
12834     to always fail with ENOSYS.  Some functions are actually named
12835     something starting with __ and the normal name is an alias.  */
12836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12837 choke me
12838 #else
12839 char (*f) () = $ac_func;
12840 #endif
12841 #ifdef __cplusplus
12842 }
12843 #endif
12844
12845 int
12846 main ()
12847 {
12848 return f != $ac_func;
12849   ;
12850   return 0;
12851 }
12852 _ACEOF
12853 rm -f conftest.$ac_objext conftest$ac_exeext
12854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12855   (eval $ac_link) 2>conftest.er1
12856   ac_status=$?
12857   grep -v '^ *+' conftest.er1 >conftest.err
12858   rm -f conftest.er1
12859   cat conftest.err >&5
12860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861   (exit $ac_status); } &&
12862          { ac_try='test -z "$ac_c_werror_flag"
12863                          || test ! -s conftest.err'
12864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865   (eval $ac_try) 2>&5
12866   ac_status=$?
12867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868   (exit $ac_status); }; } &&
12869          { ac_try='test -s conftest$ac_exeext'
12870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871   (eval $ac_try) 2>&5
12872   ac_status=$?
12873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874   (exit $ac_status); }; }; then
12875   eval "$as_ac_var=yes"
12876 else
12877   echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.$ac_ext >&5
12879
12880 eval "$as_ac_var=no"
12881 fi
12882 rm -f conftest.err conftest.$ac_objext \
12883       conftest$ac_exeext conftest.$ac_ext
12884 fi
12885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12887 if test `eval echo '${'$as_ac_var'}'` = yes; then
12888   cat >>confdefs.h <<_ACEOF
12889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12890 _ACEOF
12891
12892 fi
12893 done
12894
12895     fi
12896   fi
12897
12898
12899
12900
12901
12902
12903   echo "$as_me:$LINENO: checking for isinff declaration" >&5
12904 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12905   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12906     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12907   echo $ECHO_N "(cached) $ECHO_C" >&6
12908 else
12909
12910
12911
12912       ac_ext=cc
12913 ac_cpp='$CXXCPP $CPPFLAGS'
12914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12917
12918       cat >conftest.$ac_ext <<_ACEOF
12919 /* confdefs.h.  */
12920 _ACEOF
12921 cat confdefs.h >>conftest.$ac_ext
12922 cat >>conftest.$ac_ext <<_ACEOF
12923 /* end confdefs.h.  */
12924 #include <math.h>
12925                       #ifdef HAVE_IEEEFP_H
12926                       #include <ieeefp.h>
12927                       #endif
12928
12929 int
12930 main ()
12931 {
12932  isinff(0);
12933   ;
12934   return 0;
12935 }
12936 _ACEOF
12937 rm -f conftest.$ac_objext
12938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12939   (eval $ac_compile) 2>conftest.er1
12940   ac_status=$?
12941   grep -v '^ *+' conftest.er1 >conftest.err
12942   rm -f conftest.er1
12943   cat conftest.err >&5
12944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945   (exit $ac_status); } &&
12946          { ac_try='test -z "$ac_cxx_werror_flag"
12947                          || test ! -s conftest.err'
12948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949   (eval $ac_try) 2>&5
12950   ac_status=$?
12951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952   (exit $ac_status); }; } &&
12953          { ac_try='test -s conftest.$ac_objext'
12954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12955   (eval $ac_try) 2>&5
12956   ac_status=$?
12957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958   (exit $ac_status); }; }; then
12959   glibcxx_cv_func_isinff_use=yes
12960 else
12961   echo "$as_me: failed program was:" >&5
12962 sed 's/^/| /' conftest.$ac_ext >&5
12963
12964 glibcxx_cv_func_isinff_use=no
12965 fi
12966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12967       ac_ext=c
12968 ac_cpp='$CPP $CPPFLAGS'
12969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12972
12973
12974 fi
12975
12976   fi
12977   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12978 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12979
12980   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12981
12982 for ac_func in isinff
12983 do
12984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12985 echo "$as_me:$LINENO: checking for $ac_func" >&5
12986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12987 if eval "test \"\${$as_ac_var+set}\" = set"; then
12988   echo $ECHO_N "(cached) $ECHO_C" >&6
12989 else
12990   if test x$gcc_no_link = xyes; then
12991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12993    { (exit 1); exit 1; }; }
12994 fi
12995 cat >conftest.$ac_ext <<_ACEOF
12996 /* confdefs.h.  */
12997 _ACEOF
12998 cat confdefs.h >>conftest.$ac_ext
12999 cat >>conftest.$ac_ext <<_ACEOF
13000 /* end confdefs.h.  */
13001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13003 #define $ac_func innocuous_$ac_func
13004
13005 /* System header to define __stub macros and hopefully few prototypes,
13006     which can conflict with char $ac_func (); below.
13007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13008     <limits.h> exists even on freestanding compilers.  */
13009
13010 #ifdef __STDC__
13011 # include <limits.h>
13012 #else
13013 # include <assert.h>
13014 #endif
13015
13016 #undef $ac_func
13017
13018 /* Override any gcc2 internal prototype to avoid an error.  */
13019 #ifdef __cplusplus
13020 extern "C"
13021 {
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 $ac_func ();
13026 /* The GNU C library defines this for functions which it implements
13027     to always fail with ENOSYS.  Some functions are actually named
13028     something starting with __ and the normal name is an alias.  */
13029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13030 choke me
13031 #else
13032 char (*f) () = $ac_func;
13033 #endif
13034 #ifdef __cplusplus
13035 }
13036 #endif
13037
13038 int
13039 main ()
13040 {
13041 return f != $ac_func;
13042   ;
13043   return 0;
13044 }
13045 _ACEOF
13046 rm -f conftest.$ac_objext conftest$ac_exeext
13047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13048   (eval $ac_link) 2>conftest.er1
13049   ac_status=$?
13050   grep -v '^ *+' conftest.er1 >conftest.err
13051   rm -f conftest.er1
13052   cat conftest.err >&5
13053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054   (exit $ac_status); } &&
13055          { ac_try='test -z "$ac_c_werror_flag"
13056                          || test ! -s conftest.err'
13057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058   (eval $ac_try) 2>&5
13059   ac_status=$?
13060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061   (exit $ac_status); }; } &&
13062          { ac_try='test -s conftest$ac_exeext'
13063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064   (eval $ac_try) 2>&5
13065   ac_status=$?
13066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067   (exit $ac_status); }; }; then
13068   eval "$as_ac_var=yes"
13069 else
13070   echo "$as_me: failed program was:" >&5
13071 sed 's/^/| /' conftest.$ac_ext >&5
13072
13073 eval "$as_ac_var=no"
13074 fi
13075 rm -f conftest.err conftest.$ac_objext \
13076       conftest$ac_exeext conftest.$ac_ext
13077 fi
13078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13080 if test `eval echo '${'$as_ac_var'}'` = yes; then
13081   cat >>confdefs.h <<_ACEOF
13082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13083 _ACEOF
13084
13085 fi
13086 done
13087
13088   else
13089
13090   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13091 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13092   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13093     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13094   echo $ECHO_N "(cached) $ECHO_C" >&6
13095 else
13096
13097
13098
13099       ac_ext=cc
13100 ac_cpp='$CXXCPP $CPPFLAGS'
13101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13104
13105       cat >conftest.$ac_ext <<_ACEOF
13106 /* confdefs.h.  */
13107 _ACEOF
13108 cat confdefs.h >>conftest.$ac_ext
13109 cat >>conftest.$ac_ext <<_ACEOF
13110 /* end confdefs.h.  */
13111 #include <math.h>
13112                       #ifdef HAVE_IEEEFP_H
13113                       #include <ieeefp.h>
13114                       #endif
13115
13116 int
13117 main ()
13118 {
13119  _isinff(0);
13120   ;
13121   return 0;
13122 }
13123 _ACEOF
13124 rm -f conftest.$ac_objext
13125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13126   (eval $ac_compile) 2>conftest.er1
13127   ac_status=$?
13128   grep -v '^ *+' conftest.er1 >conftest.err
13129   rm -f conftest.er1
13130   cat conftest.err >&5
13131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132   (exit $ac_status); } &&
13133          { ac_try='test -z "$ac_cxx_werror_flag"
13134                          || test ! -s conftest.err'
13135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136   (eval $ac_try) 2>&5
13137   ac_status=$?
13138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139   (exit $ac_status); }; } &&
13140          { ac_try='test -s conftest.$ac_objext'
13141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142   (eval $ac_try) 2>&5
13143   ac_status=$?
13144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145   (exit $ac_status); }; }; then
13146   glibcxx_cv_func__isinff_use=yes
13147 else
13148   echo "$as_me: failed program was:" >&5
13149 sed 's/^/| /' conftest.$ac_ext >&5
13150
13151 glibcxx_cv_func__isinff_use=no
13152 fi
13153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13154       ac_ext=c
13155 ac_cpp='$CPP $CPPFLAGS'
13156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13159
13160
13161 fi
13162
13163   fi
13164   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13165 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13166
13167     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13168
13169 for ac_func in _isinff
13170 do
13171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13172 echo "$as_me:$LINENO: checking for $ac_func" >&5
13173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13174 if eval "test \"\${$as_ac_var+set}\" = set"; then
13175   echo $ECHO_N "(cached) $ECHO_C" >&6
13176 else
13177   if test x$gcc_no_link = xyes; then
13178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13180    { (exit 1); exit 1; }; }
13181 fi
13182 cat >conftest.$ac_ext <<_ACEOF
13183 /* confdefs.h.  */
13184 _ACEOF
13185 cat confdefs.h >>conftest.$ac_ext
13186 cat >>conftest.$ac_ext <<_ACEOF
13187 /* end confdefs.h.  */
13188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13190 #define $ac_func innocuous_$ac_func
13191
13192 /* System header to define __stub macros and hopefully few prototypes,
13193     which can conflict with char $ac_func (); below.
13194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13195     <limits.h> exists even on freestanding compilers.  */
13196
13197 #ifdef __STDC__
13198 # include <limits.h>
13199 #else
13200 # include <assert.h>
13201 #endif
13202
13203 #undef $ac_func
13204
13205 /* Override any gcc2 internal prototype to avoid an error.  */
13206 #ifdef __cplusplus
13207 extern "C"
13208 {
13209 #endif
13210 /* We use char because int might match the return type of a gcc2
13211    builtin and then its argument prototype would still apply.  */
13212 char $ac_func ();
13213 /* The GNU C library defines this for functions which it implements
13214     to always fail with ENOSYS.  Some functions are actually named
13215     something starting with __ and the normal name is an alias.  */
13216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13217 choke me
13218 #else
13219 char (*f) () = $ac_func;
13220 #endif
13221 #ifdef __cplusplus
13222 }
13223 #endif
13224
13225 int
13226 main ()
13227 {
13228 return f != $ac_func;
13229   ;
13230   return 0;
13231 }
13232 _ACEOF
13233 rm -f conftest.$ac_objext conftest$ac_exeext
13234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13235   (eval $ac_link) 2>conftest.er1
13236   ac_status=$?
13237   grep -v '^ *+' conftest.er1 >conftest.err
13238   rm -f conftest.er1
13239   cat conftest.err >&5
13240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241   (exit $ac_status); } &&
13242          { ac_try='test -z "$ac_c_werror_flag"
13243                          || test ! -s conftest.err'
13244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245   (eval $ac_try) 2>&5
13246   ac_status=$?
13247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248   (exit $ac_status); }; } &&
13249          { ac_try='test -s conftest$ac_exeext'
13250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251   (eval $ac_try) 2>&5
13252   ac_status=$?
13253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254   (exit $ac_status); }; }; then
13255   eval "$as_ac_var=yes"
13256 else
13257   echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.$ac_ext >&5
13259
13260 eval "$as_ac_var=no"
13261 fi
13262 rm -f conftest.err conftest.$ac_objext \
13263       conftest$ac_exeext conftest.$ac_ext
13264 fi
13265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13267 if test `eval echo '${'$as_ac_var'}'` = yes; then
13268   cat >>confdefs.h <<_ACEOF
13269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13270 _ACEOF
13271
13272 fi
13273 done
13274
13275     fi
13276   fi
13277
13278
13279
13280
13281
13282
13283   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13284 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13285   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13286     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13287   echo $ECHO_N "(cached) $ECHO_C" >&6
13288 else
13289
13290
13291
13292       ac_ext=cc
13293 ac_cpp='$CXXCPP $CPPFLAGS'
13294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13297
13298       cat >conftest.$ac_ext <<_ACEOF
13299 /* confdefs.h.  */
13300 _ACEOF
13301 cat confdefs.h >>conftest.$ac_ext
13302 cat >>conftest.$ac_ext <<_ACEOF
13303 /* end confdefs.h.  */
13304 #include <math.h>
13305 int
13306 main ()
13307 {
13308  atan2f(0, 0);
13309   ;
13310   return 0;
13311 }
13312 _ACEOF
13313 rm -f conftest.$ac_objext
13314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13315   (eval $ac_compile) 2>conftest.er1
13316   ac_status=$?
13317   grep -v '^ *+' conftest.er1 >conftest.err
13318   rm -f conftest.er1
13319   cat conftest.err >&5
13320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321   (exit $ac_status); } &&
13322          { ac_try='test -z "$ac_cxx_werror_flag"
13323                          || test ! -s conftest.err'
13324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13325   (eval $ac_try) 2>&5
13326   ac_status=$?
13327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328   (exit $ac_status); }; } &&
13329          { ac_try='test -s conftest.$ac_objext'
13330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331   (eval $ac_try) 2>&5
13332   ac_status=$?
13333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334   (exit $ac_status); }; }; then
13335   glibcxx_cv_func_atan2f_use=yes
13336 else
13337   echo "$as_me: failed program was:" >&5
13338 sed 's/^/| /' conftest.$ac_ext >&5
13339
13340 glibcxx_cv_func_atan2f_use=no
13341 fi
13342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13343       ac_ext=c
13344 ac_cpp='$CPP $CPPFLAGS'
13345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13348
13349
13350 fi
13351
13352   fi
13353   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13354 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13355
13356   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13357
13358 for ac_func in atan2f
13359 do
13360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13361 echo "$as_me:$LINENO: checking for $ac_func" >&5
13362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13363 if eval "test \"\${$as_ac_var+set}\" = set"; then
13364   echo $ECHO_N "(cached) $ECHO_C" >&6
13365 else
13366   if test x$gcc_no_link = xyes; then
13367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13369    { (exit 1); exit 1; }; }
13370 fi
13371 cat >conftest.$ac_ext <<_ACEOF
13372 /* confdefs.h.  */
13373 _ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h.  */
13377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13379 #define $ac_func innocuous_$ac_func
13380
13381 /* System header to define __stub macros and hopefully few prototypes,
13382     which can conflict with char $ac_func (); below.
13383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13384     <limits.h> exists even on freestanding compilers.  */
13385
13386 #ifdef __STDC__
13387 # include <limits.h>
13388 #else
13389 # include <assert.h>
13390 #endif
13391
13392 #undef $ac_func
13393
13394 /* Override any gcc2 internal prototype to avoid an error.  */
13395 #ifdef __cplusplus
13396 extern "C"
13397 {
13398 #endif
13399 /* We use char because int might match the return type of a gcc2
13400    builtin and then its argument prototype would still apply.  */
13401 char $ac_func ();
13402 /* The GNU C library defines this for functions which it implements
13403     to always fail with ENOSYS.  Some functions are actually named
13404     something starting with __ and the normal name is an alias.  */
13405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13406 choke me
13407 #else
13408 char (*f) () = $ac_func;
13409 #endif
13410 #ifdef __cplusplus
13411 }
13412 #endif
13413
13414 int
13415 main ()
13416 {
13417 return f != $ac_func;
13418   ;
13419   return 0;
13420 }
13421 _ACEOF
13422 rm -f conftest.$ac_objext conftest$ac_exeext
13423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13424   (eval $ac_link) 2>conftest.er1
13425   ac_status=$?
13426   grep -v '^ *+' conftest.er1 >conftest.err
13427   rm -f conftest.er1
13428   cat conftest.err >&5
13429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430   (exit $ac_status); } &&
13431          { ac_try='test -z "$ac_c_werror_flag"
13432                          || test ! -s conftest.err'
13433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434   (eval $ac_try) 2>&5
13435   ac_status=$?
13436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437   (exit $ac_status); }; } &&
13438          { ac_try='test -s conftest$ac_exeext'
13439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13440   (eval $ac_try) 2>&5
13441   ac_status=$?
13442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443   (exit $ac_status); }; }; then
13444   eval "$as_ac_var=yes"
13445 else
13446   echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.$ac_ext >&5
13448
13449 eval "$as_ac_var=no"
13450 fi
13451 rm -f conftest.err conftest.$ac_objext \
13452       conftest$ac_exeext conftest.$ac_ext
13453 fi
13454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13456 if test `eval echo '${'$as_ac_var'}'` = yes; then
13457   cat >>confdefs.h <<_ACEOF
13458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13459 _ACEOF
13460
13461 fi
13462 done
13463
13464   else
13465
13466   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13467 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13468   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13469     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13470   echo $ECHO_N "(cached) $ECHO_C" >&6
13471 else
13472
13473
13474
13475       ac_ext=cc
13476 ac_cpp='$CXXCPP $CPPFLAGS'
13477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13480
13481       cat >conftest.$ac_ext <<_ACEOF
13482 /* confdefs.h.  */
13483 _ACEOF
13484 cat confdefs.h >>conftest.$ac_ext
13485 cat >>conftest.$ac_ext <<_ACEOF
13486 /* end confdefs.h.  */
13487 #include <math.h>
13488 int
13489 main ()
13490 {
13491  _atan2f(0, 0);
13492   ;
13493   return 0;
13494 }
13495 _ACEOF
13496 rm -f conftest.$ac_objext
13497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13498   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__atan2f_use=yes
13519 else
13520   echo "$as_me: failed program was:" >&5
13521 sed 's/^/| /' conftest.$ac_ext >&5
13522
13523 glibcxx_cv_func__atan2f_use=no
13524 fi
13525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13526       ac_ext=c
13527 ac_cpp='$CPP $CPPFLAGS'
13528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13531
13532
13533 fi
13534
13535   fi
13536   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13537 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13538
13539     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13540
13541 for ac_func in _atan2f
13542 do
13543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13544 echo "$as_me:$LINENO: checking for $ac_func" >&5
13545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13546 if eval "test \"\${$as_ac_var+set}\" = set"; then
13547   echo $ECHO_N "(cached) $ECHO_C" >&6
13548 else
13549   if test x$gcc_no_link = xyes; then
13550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13552    { (exit 1); exit 1; }; }
13553 fi
13554 cat >conftest.$ac_ext <<_ACEOF
13555 /* confdefs.h.  */
13556 _ACEOF
13557 cat confdefs.h >>conftest.$ac_ext
13558 cat >>conftest.$ac_ext <<_ACEOF
13559 /* end confdefs.h.  */
13560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13562 #define $ac_func innocuous_$ac_func
13563
13564 /* System header to define __stub macros and hopefully few prototypes,
13565     which can conflict with char $ac_func (); below.
13566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13567     <limits.h> exists even on freestanding compilers.  */
13568
13569 #ifdef __STDC__
13570 # include <limits.h>
13571 #else
13572 # include <assert.h>
13573 #endif
13574
13575 #undef $ac_func
13576
13577 /* Override any gcc2 internal prototype to avoid an error.  */
13578 #ifdef __cplusplus
13579 extern "C"
13580 {
13581 #endif
13582 /* We use char because int might match the return type of a gcc2
13583    builtin and then its argument prototype would still apply.  */
13584 char $ac_func ();
13585 /* The GNU C library defines this for functions which it implements
13586     to always fail with ENOSYS.  Some functions are actually named
13587     something starting with __ and the normal name is an alias.  */
13588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13589 choke me
13590 #else
13591 char (*f) () = $ac_func;
13592 #endif
13593 #ifdef __cplusplus
13594 }
13595 #endif
13596
13597 int
13598 main ()
13599 {
13600 return f != $ac_func;
13601   ;
13602   return 0;
13603 }
13604 _ACEOF
13605 rm -f conftest.$ac_objext conftest$ac_exeext
13606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13607   (eval $ac_link) 2>conftest.er1
13608   ac_status=$?
13609   grep -v '^ *+' conftest.er1 >conftest.err
13610   rm -f conftest.er1
13611   cat conftest.err >&5
13612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613   (exit $ac_status); } &&
13614          { ac_try='test -z "$ac_c_werror_flag"
13615                          || test ! -s conftest.err'
13616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617   (eval $ac_try) 2>&5
13618   ac_status=$?
13619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620   (exit $ac_status); }; } &&
13621          { ac_try='test -s conftest$ac_exeext'
13622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623   (eval $ac_try) 2>&5
13624   ac_status=$?
13625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626   (exit $ac_status); }; }; then
13627   eval "$as_ac_var=yes"
13628 else
13629   echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13631
13632 eval "$as_ac_var=no"
13633 fi
13634 rm -f conftest.err conftest.$ac_objext \
13635       conftest$ac_exeext conftest.$ac_ext
13636 fi
13637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13639 if test `eval echo '${'$as_ac_var'}'` = yes; then
13640   cat >>confdefs.h <<_ACEOF
13641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13642 _ACEOF
13643
13644 fi
13645 done
13646
13647     fi
13648   fi
13649
13650
13651
13652
13653
13654
13655   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13656 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13657   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13658     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13659   echo $ECHO_N "(cached) $ECHO_C" >&6
13660 else
13661
13662
13663
13664       ac_ext=cc
13665 ac_cpp='$CXXCPP $CPPFLAGS'
13666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13669
13670       cat >conftest.$ac_ext <<_ACEOF
13671 /* confdefs.h.  */
13672 _ACEOF
13673 cat confdefs.h >>conftest.$ac_ext
13674 cat >>conftest.$ac_ext <<_ACEOF
13675 /* end confdefs.h.  */
13676 #include <math.h>
13677                       #ifdef HAVE_IEEEFP_H
13678                       #include <ieeefp.h>
13679                       #endif
13680
13681 int
13682 main ()
13683 {
13684  fabsf(0);
13685   ;
13686   return 0;
13687 }
13688 _ACEOF
13689 rm -f conftest.$ac_objext
13690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13691   (eval $ac_compile) 2>conftest.er1
13692   ac_status=$?
13693   grep -v '^ *+' conftest.er1 >conftest.err
13694   rm -f conftest.er1
13695   cat conftest.err >&5
13696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697   (exit $ac_status); } &&
13698          { ac_try='test -z "$ac_cxx_werror_flag"
13699                          || test ! -s conftest.err'
13700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701   (eval $ac_try) 2>&5
13702   ac_status=$?
13703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704   (exit $ac_status); }; } &&
13705          { ac_try='test -s conftest.$ac_objext'
13706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13707   (eval $ac_try) 2>&5
13708   ac_status=$?
13709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710   (exit $ac_status); }; }; then
13711   glibcxx_cv_func_fabsf_use=yes
13712 else
13713   echo "$as_me: failed program was:" >&5
13714 sed 's/^/| /' conftest.$ac_ext >&5
13715
13716 glibcxx_cv_func_fabsf_use=no
13717 fi
13718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13719       ac_ext=c
13720 ac_cpp='$CPP $CPPFLAGS'
13721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13724
13725
13726 fi
13727
13728   fi
13729   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13730 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13731
13732   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13733
13734 for ac_func in fabsf
13735 do
13736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13737 echo "$as_me:$LINENO: checking for $ac_func" >&5
13738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13739 if eval "test \"\${$as_ac_var+set}\" = set"; then
13740   echo $ECHO_N "(cached) $ECHO_C" >&6
13741 else
13742   if test x$gcc_no_link = xyes; then
13743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13745    { (exit 1); exit 1; }; }
13746 fi
13747 cat >conftest.$ac_ext <<_ACEOF
13748 /* confdefs.h.  */
13749 _ACEOF
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h.  */
13753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13755 #define $ac_func innocuous_$ac_func
13756
13757 /* System header to define __stub macros and hopefully few prototypes,
13758     which can conflict with char $ac_func (); below.
13759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13760     <limits.h> exists even on freestanding compilers.  */
13761
13762 #ifdef __STDC__
13763 # include <limits.h>
13764 #else
13765 # include <assert.h>
13766 #endif
13767
13768 #undef $ac_func
13769
13770 /* Override any gcc2 internal prototype to avoid an error.  */
13771 #ifdef __cplusplus
13772 extern "C"
13773 {
13774 #endif
13775 /* We use char because int might match the return type of a gcc2
13776    builtin and then its argument prototype would still apply.  */
13777 char $ac_func ();
13778 /* The GNU C library defines this for functions which it implements
13779     to always fail with ENOSYS.  Some functions are actually named
13780     something starting with __ and the normal name is an alias.  */
13781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13782 choke me
13783 #else
13784 char (*f) () = $ac_func;
13785 #endif
13786 #ifdef __cplusplus
13787 }
13788 #endif
13789
13790 int
13791 main ()
13792 {
13793 return f != $ac_func;
13794   ;
13795   return 0;
13796 }
13797 _ACEOF
13798 rm -f conftest.$ac_objext conftest$ac_exeext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13800   (eval $ac_link) 2>conftest.er1
13801   ac_status=$?
13802   grep -v '^ *+' conftest.er1 >conftest.err
13803   rm -f conftest.er1
13804   cat conftest.err >&5
13805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806   (exit $ac_status); } &&
13807          { ac_try='test -z "$ac_c_werror_flag"
13808                          || test ! -s conftest.err'
13809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810   (eval $ac_try) 2>&5
13811   ac_status=$?
13812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813   (exit $ac_status); }; } &&
13814          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13820   eval "$as_ac_var=yes"
13821 else
13822   echo "$as_me: failed program was:" >&5
13823 sed 's/^/| /' conftest.$ac_ext >&5
13824
13825 eval "$as_ac_var=no"
13826 fi
13827 rm -f conftest.err conftest.$ac_objext \
13828       conftest$ac_exeext conftest.$ac_ext
13829 fi
13830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13832 if test `eval echo '${'$as_ac_var'}'` = yes; then
13833   cat >>confdefs.h <<_ACEOF
13834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13835 _ACEOF
13836
13837 fi
13838 done
13839
13840   else
13841
13842   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13843 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13844   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13845     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13846   echo $ECHO_N "(cached) $ECHO_C" >&6
13847 else
13848
13849
13850
13851       ac_ext=cc
13852 ac_cpp='$CXXCPP $CPPFLAGS'
13853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13856
13857       cat >conftest.$ac_ext <<_ACEOF
13858 /* confdefs.h.  */
13859 _ACEOF
13860 cat confdefs.h >>conftest.$ac_ext
13861 cat >>conftest.$ac_ext <<_ACEOF
13862 /* end confdefs.h.  */
13863 #include <math.h>
13864                       #ifdef HAVE_IEEEFP_H
13865                       #include <ieeefp.h>
13866                       #endif
13867
13868 int
13869 main ()
13870 {
13871  _fabsf(0);
13872   ;
13873   return 0;
13874 }
13875 _ACEOF
13876 rm -f conftest.$ac_objext
13877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13878   (eval $ac_compile) 2>conftest.er1
13879   ac_status=$?
13880   grep -v '^ *+' conftest.er1 >conftest.err
13881   rm -f conftest.er1
13882   cat conftest.err >&5
13883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884   (exit $ac_status); } &&
13885          { ac_try='test -z "$ac_cxx_werror_flag"
13886                          || test ! -s conftest.err'
13887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888   (eval $ac_try) 2>&5
13889   ac_status=$?
13890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891   (exit $ac_status); }; } &&
13892          { ac_try='test -s conftest.$ac_objext'
13893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13894   (eval $ac_try) 2>&5
13895   ac_status=$?
13896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897   (exit $ac_status); }; }; then
13898   glibcxx_cv_func__fabsf_use=yes
13899 else
13900   echo "$as_me: failed program was:" >&5
13901 sed 's/^/| /' conftest.$ac_ext >&5
13902
13903 glibcxx_cv_func__fabsf_use=no
13904 fi
13905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13906       ac_ext=c
13907 ac_cpp='$CPP $CPPFLAGS'
13908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13911
13912
13913 fi
13914
13915   fi
13916   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13917 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13918
13919     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13920
13921 for ac_func in _fabsf
13922 do
13923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13924 echo "$as_me:$LINENO: checking for $ac_func" >&5
13925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13926 if eval "test \"\${$as_ac_var+set}\" = set"; then
13927   echo $ECHO_N "(cached) $ECHO_C" >&6
13928 else
13929   if test x$gcc_no_link = xyes; then
13930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13932    { (exit 1); exit 1; }; }
13933 fi
13934 cat >conftest.$ac_ext <<_ACEOF
13935 /* confdefs.h.  */
13936 _ACEOF
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h.  */
13940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13942 #define $ac_func innocuous_$ac_func
13943
13944 /* System header to define __stub macros and hopefully few prototypes,
13945     which can conflict with char $ac_func (); below.
13946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13947     <limits.h> exists even on freestanding compilers.  */
13948
13949 #ifdef __STDC__
13950 # include <limits.h>
13951 #else
13952 # include <assert.h>
13953 #endif
13954
13955 #undef $ac_func
13956
13957 /* Override any gcc2 internal prototype to avoid an error.  */
13958 #ifdef __cplusplus
13959 extern "C"
13960 {
13961 #endif
13962 /* We use char because int might match the return type of a gcc2
13963    builtin and then its argument prototype would still apply.  */
13964 char $ac_func ();
13965 /* The GNU C library defines this for functions which it implements
13966     to always fail with ENOSYS.  Some functions are actually named
13967     something starting with __ and the normal name is an alias.  */
13968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13969 choke me
13970 #else
13971 char (*f) () = $ac_func;
13972 #endif
13973 #ifdef __cplusplus
13974 }
13975 #endif
13976
13977 int
13978 main ()
13979 {
13980 return f != $ac_func;
13981   ;
13982   return 0;
13983 }
13984 _ACEOF
13985 rm -f conftest.$ac_objext conftest$ac_exeext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13987   (eval $ac_link) 2>conftest.er1
13988   ac_status=$?
13989   grep -v '^ *+' conftest.er1 >conftest.err
13990   rm -f conftest.er1
13991   cat conftest.err >&5
13992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993   (exit $ac_status); } &&
13994          { ac_try='test -z "$ac_c_werror_flag"
13995                          || test ! -s conftest.err'
13996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997   (eval $ac_try) 2>&5
13998   ac_status=$?
13999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000   (exit $ac_status); }; } &&
14001          { ac_try='test -s conftest$ac_exeext'
14002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003   (eval $ac_try) 2>&5
14004   ac_status=$?
14005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006   (exit $ac_status); }; }; then
14007   eval "$as_ac_var=yes"
14008 else
14009   echo "$as_me: failed program was:" >&5
14010 sed 's/^/| /' conftest.$ac_ext >&5
14011
14012 eval "$as_ac_var=no"
14013 fi
14014 rm -f conftest.err conftest.$ac_objext \
14015       conftest$ac_exeext conftest.$ac_ext
14016 fi
14017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14019 if test `eval echo '${'$as_ac_var'}'` = yes; then
14020   cat >>confdefs.h <<_ACEOF
14021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14022 _ACEOF
14023
14024 fi
14025 done
14026
14027     fi
14028   fi
14029
14030
14031
14032
14033
14034
14035   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14036 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14037   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14038     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14039   echo $ECHO_N "(cached) $ECHO_C" >&6
14040 else
14041
14042
14043
14044       ac_ext=cc
14045 ac_cpp='$CXXCPP $CPPFLAGS'
14046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14049
14050       cat >conftest.$ac_ext <<_ACEOF
14051 /* confdefs.h.  */
14052 _ACEOF
14053 cat confdefs.h >>conftest.$ac_ext
14054 cat >>conftest.$ac_ext <<_ACEOF
14055 /* end confdefs.h.  */
14056 #include <math.h>
14057 int
14058 main ()
14059 {
14060  fmodf(0, 0);
14061   ;
14062   return 0;
14063 }
14064 _ACEOF
14065 rm -f conftest.$ac_objext
14066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14067   (eval $ac_compile) 2>conftest.er1
14068   ac_status=$?
14069   grep -v '^ *+' conftest.er1 >conftest.err
14070   rm -f conftest.er1
14071   cat conftest.err >&5
14072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073   (exit $ac_status); } &&
14074          { ac_try='test -z "$ac_cxx_werror_flag"
14075                          || test ! -s conftest.err'
14076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14077   (eval $ac_try) 2>&5
14078   ac_status=$?
14079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080   (exit $ac_status); }; } &&
14081          { ac_try='test -s conftest.$ac_objext'
14082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14083   (eval $ac_try) 2>&5
14084   ac_status=$?
14085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086   (exit $ac_status); }; }; then
14087   glibcxx_cv_func_fmodf_use=yes
14088 else
14089   echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.$ac_ext >&5
14091
14092 glibcxx_cv_func_fmodf_use=no
14093 fi
14094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14095       ac_ext=c
14096 ac_cpp='$CPP $CPPFLAGS'
14097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14100
14101
14102 fi
14103
14104   fi
14105   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14106 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14107
14108   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14109
14110 for ac_func in fmodf
14111 do
14112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14113 echo "$as_me:$LINENO: checking for $ac_func" >&5
14114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14115 if eval "test \"\${$as_ac_var+set}\" = set"; then
14116   echo $ECHO_N "(cached) $ECHO_C" >&6
14117 else
14118   if test x$gcc_no_link = xyes; then
14119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14121    { (exit 1); exit 1; }; }
14122 fi
14123 cat >conftest.$ac_ext <<_ACEOF
14124 /* confdefs.h.  */
14125 _ACEOF
14126 cat confdefs.h >>conftest.$ac_ext
14127 cat >>conftest.$ac_ext <<_ACEOF
14128 /* end confdefs.h.  */
14129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14130    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14131 #define $ac_func innocuous_$ac_func
14132
14133 /* System header to define __stub macros and hopefully few prototypes,
14134     which can conflict with char $ac_func (); below.
14135     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14136     <limits.h> exists even on freestanding compilers.  */
14137
14138 #ifdef __STDC__
14139 # include <limits.h>
14140 #else
14141 # include <assert.h>
14142 #endif
14143
14144 #undef $ac_func
14145
14146 /* Override any gcc2 internal prototype to avoid an error.  */
14147 #ifdef __cplusplus
14148 extern "C"
14149 {
14150 #endif
14151 /* We use char because int might match the return type of a gcc2
14152    builtin and then its argument prototype would still apply.  */
14153 char $ac_func ();
14154 /* The GNU C library defines this for functions which it implements
14155     to always fail with ENOSYS.  Some functions are actually named
14156     something starting with __ and the normal name is an alias.  */
14157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14158 choke me
14159 #else
14160 char (*f) () = $ac_func;
14161 #endif
14162 #ifdef __cplusplus
14163 }
14164 #endif
14165
14166 int
14167 main ()
14168 {
14169 return f != $ac_func;
14170   ;
14171   return 0;
14172 }
14173 _ACEOF
14174 rm -f conftest.$ac_objext conftest$ac_exeext
14175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14176   (eval $ac_link) 2>conftest.er1
14177   ac_status=$?
14178   grep -v '^ *+' conftest.er1 >conftest.err
14179   rm -f conftest.er1
14180   cat conftest.err >&5
14181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182   (exit $ac_status); } &&
14183          { ac_try='test -z "$ac_c_werror_flag"
14184                          || test ! -s conftest.err'
14185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186   (eval $ac_try) 2>&5
14187   ac_status=$?
14188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189   (exit $ac_status); }; } &&
14190          { ac_try='test -s conftest$ac_exeext'
14191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192   (eval $ac_try) 2>&5
14193   ac_status=$?
14194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195   (exit $ac_status); }; }; then
14196   eval "$as_ac_var=yes"
14197 else
14198   echo "$as_me: failed program was:" >&5
14199 sed 's/^/| /' conftest.$ac_ext >&5
14200
14201 eval "$as_ac_var=no"
14202 fi
14203 rm -f conftest.err conftest.$ac_objext \
14204       conftest$ac_exeext conftest.$ac_ext
14205 fi
14206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14208 if test `eval echo '${'$as_ac_var'}'` = yes; then
14209   cat >>confdefs.h <<_ACEOF
14210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14211 _ACEOF
14212
14213 fi
14214 done
14215
14216   else
14217
14218   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14219 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14220   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14221     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14222   echo $ECHO_N "(cached) $ECHO_C" >&6
14223 else
14224
14225
14226
14227       ac_ext=cc
14228 ac_cpp='$CXXCPP $CPPFLAGS'
14229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14232
14233       cat >conftest.$ac_ext <<_ACEOF
14234 /* confdefs.h.  */
14235 _ACEOF
14236 cat confdefs.h >>conftest.$ac_ext
14237 cat >>conftest.$ac_ext <<_ACEOF
14238 /* end confdefs.h.  */
14239 #include <math.h>
14240 int
14241 main ()
14242 {
14243  _fmodf(0, 0);
14244   ;
14245   return 0;
14246 }
14247 _ACEOF
14248 rm -f conftest.$ac_objext
14249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14250   (eval $ac_compile) 2>conftest.er1
14251   ac_status=$?
14252   grep -v '^ *+' conftest.er1 >conftest.err
14253   rm -f conftest.er1
14254   cat conftest.err >&5
14255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256   (exit $ac_status); } &&
14257          { ac_try='test -z "$ac_cxx_werror_flag"
14258                          || test ! -s conftest.err'
14259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14260   (eval $ac_try) 2>&5
14261   ac_status=$?
14262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263   (exit $ac_status); }; } &&
14264          { ac_try='test -s conftest.$ac_objext'
14265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14266   (eval $ac_try) 2>&5
14267   ac_status=$?
14268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14269   (exit $ac_status); }; }; then
14270   glibcxx_cv_func__fmodf_use=yes
14271 else
14272   echo "$as_me: failed program was:" >&5
14273 sed 's/^/| /' conftest.$ac_ext >&5
14274
14275 glibcxx_cv_func__fmodf_use=no
14276 fi
14277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14278       ac_ext=c
14279 ac_cpp='$CPP $CPPFLAGS'
14280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14283
14284
14285 fi
14286
14287   fi
14288   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14289 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14290
14291     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14292
14293 for ac_func in _fmodf
14294 do
14295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14296 echo "$as_me:$LINENO: checking for $ac_func" >&5
14297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14298 if eval "test \"\${$as_ac_var+set}\" = set"; then
14299   echo $ECHO_N "(cached) $ECHO_C" >&6
14300 else
14301   if test x$gcc_no_link = xyes; then
14302   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14304    { (exit 1); exit 1; }; }
14305 fi
14306 cat >conftest.$ac_ext <<_ACEOF
14307 /* confdefs.h.  */
14308 _ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h.  */
14312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14313    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14314 #define $ac_func innocuous_$ac_func
14315
14316 /* System header to define __stub macros and hopefully few prototypes,
14317     which can conflict with char $ac_func (); below.
14318     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14319     <limits.h> exists even on freestanding compilers.  */
14320
14321 #ifdef __STDC__
14322 # include <limits.h>
14323 #else
14324 # include <assert.h>
14325 #endif
14326
14327 #undef $ac_func
14328
14329 /* Override any gcc2 internal prototype to avoid an error.  */
14330 #ifdef __cplusplus
14331 extern "C"
14332 {
14333 #endif
14334 /* We use char because int might match the return type of a gcc2
14335    builtin and then its argument prototype would still apply.  */
14336 char $ac_func ();
14337 /* The GNU C library defines this for functions which it implements
14338     to always fail with ENOSYS.  Some functions are actually named
14339     something starting with __ and the normal name is an alias.  */
14340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14341 choke me
14342 #else
14343 char (*f) () = $ac_func;
14344 #endif
14345 #ifdef __cplusplus
14346 }
14347 #endif
14348
14349 int
14350 main ()
14351 {
14352 return f != $ac_func;
14353   ;
14354   return 0;
14355 }
14356 _ACEOF
14357 rm -f conftest.$ac_objext conftest$ac_exeext
14358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14359   (eval $ac_link) 2>conftest.er1
14360   ac_status=$?
14361   grep -v '^ *+' conftest.er1 >conftest.err
14362   rm -f conftest.er1
14363   cat conftest.err >&5
14364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365   (exit $ac_status); } &&
14366          { ac_try='test -z "$ac_c_werror_flag"
14367                          || test ! -s conftest.err'
14368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14369   (eval $ac_try) 2>&5
14370   ac_status=$?
14371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372   (exit $ac_status); }; } &&
14373          { ac_try='test -s conftest$ac_exeext'
14374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14375   (eval $ac_try) 2>&5
14376   ac_status=$?
14377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378   (exit $ac_status); }; }; then
14379   eval "$as_ac_var=yes"
14380 else
14381   echo "$as_me: failed program was:" >&5
14382 sed 's/^/| /' conftest.$ac_ext >&5
14383
14384 eval "$as_ac_var=no"
14385 fi
14386 rm -f conftest.err conftest.$ac_objext \
14387       conftest$ac_exeext conftest.$ac_ext
14388 fi
14389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14391 if test `eval echo '${'$as_ac_var'}'` = yes; then
14392   cat >>confdefs.h <<_ACEOF
14393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14394 _ACEOF
14395
14396 fi
14397 done
14398
14399     fi
14400   fi
14401
14402
14403
14404
14405
14406
14407   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14408 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14409   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14410     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14411   echo $ECHO_N "(cached) $ECHO_C" >&6
14412 else
14413
14414
14415
14416       ac_ext=cc
14417 ac_cpp='$CXXCPP $CPPFLAGS'
14418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14421
14422       cat >conftest.$ac_ext <<_ACEOF
14423 /* confdefs.h.  */
14424 _ACEOF
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h.  */
14428 #include <math.h>
14429 int
14430 main ()
14431 {
14432  frexpf(0, 0);
14433   ;
14434   return 0;
14435 }
14436 _ACEOF
14437 rm -f conftest.$ac_objext
14438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14439   (eval $ac_compile) 2>conftest.er1
14440   ac_status=$?
14441   grep -v '^ *+' conftest.er1 >conftest.err
14442   rm -f conftest.er1
14443   cat conftest.err >&5
14444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445   (exit $ac_status); } &&
14446          { ac_try='test -z "$ac_cxx_werror_flag"
14447                          || test ! -s conftest.err'
14448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449   (eval $ac_try) 2>&5
14450   ac_status=$?
14451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452   (exit $ac_status); }; } &&
14453          { ac_try='test -s conftest.$ac_objext'
14454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455   (eval $ac_try) 2>&5
14456   ac_status=$?
14457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458   (exit $ac_status); }; }; then
14459   glibcxx_cv_func_frexpf_use=yes
14460 else
14461   echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.$ac_ext >&5
14463
14464 glibcxx_cv_func_frexpf_use=no
14465 fi
14466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14467       ac_ext=c
14468 ac_cpp='$CPP $CPPFLAGS'
14469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14472
14473
14474 fi
14475
14476   fi
14477   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14478 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14479
14480   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14481
14482 for ac_func in frexpf
14483 do
14484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14485 echo "$as_me:$LINENO: checking for $ac_func" >&5
14486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14487 if eval "test \"\${$as_ac_var+set}\" = set"; then
14488   echo $ECHO_N "(cached) $ECHO_C" >&6
14489 else
14490   if test x$gcc_no_link = xyes; then
14491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14493    { (exit 1); exit 1; }; }
14494 fi
14495 cat >conftest.$ac_ext <<_ACEOF
14496 /* confdefs.h.  */
14497 _ACEOF
14498 cat confdefs.h >>conftest.$ac_ext
14499 cat >>conftest.$ac_ext <<_ACEOF
14500 /* end confdefs.h.  */
14501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14502    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14503 #define $ac_func innocuous_$ac_func
14504
14505 /* System header to define __stub macros and hopefully few prototypes,
14506     which can conflict with char $ac_func (); below.
14507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14508     <limits.h> exists even on freestanding compilers.  */
14509
14510 #ifdef __STDC__
14511 # include <limits.h>
14512 #else
14513 # include <assert.h>
14514 #endif
14515
14516 #undef $ac_func
14517
14518 /* Override any gcc2 internal prototype to avoid an error.  */
14519 #ifdef __cplusplus
14520 extern "C"
14521 {
14522 #endif
14523 /* We use char because int might match the return type of a gcc2
14524    builtin and then its argument prototype would still apply.  */
14525 char $ac_func ();
14526 /* The GNU C library defines this for functions which it implements
14527     to always fail with ENOSYS.  Some functions are actually named
14528     something starting with __ and the normal name is an alias.  */
14529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14530 choke me
14531 #else
14532 char (*f) () = $ac_func;
14533 #endif
14534 #ifdef __cplusplus
14535 }
14536 #endif
14537
14538 int
14539 main ()
14540 {
14541 return f != $ac_func;
14542   ;
14543   return 0;
14544 }
14545 _ACEOF
14546 rm -f conftest.$ac_objext conftest$ac_exeext
14547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14548   (eval $ac_link) 2>conftest.er1
14549   ac_status=$?
14550   grep -v '^ *+' conftest.er1 >conftest.err
14551   rm -f conftest.er1
14552   cat conftest.err >&5
14553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554   (exit $ac_status); } &&
14555          { ac_try='test -z "$ac_c_werror_flag"
14556                          || test ! -s conftest.err'
14557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558   (eval $ac_try) 2>&5
14559   ac_status=$?
14560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561   (exit $ac_status); }; } &&
14562          { ac_try='test -s conftest$ac_exeext'
14563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564   (eval $ac_try) 2>&5
14565   ac_status=$?
14566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567   (exit $ac_status); }; }; then
14568   eval "$as_ac_var=yes"
14569 else
14570   echo "$as_me: failed program was:" >&5
14571 sed 's/^/| /' conftest.$ac_ext >&5
14572
14573 eval "$as_ac_var=no"
14574 fi
14575 rm -f conftest.err conftest.$ac_objext \
14576       conftest$ac_exeext conftest.$ac_ext
14577 fi
14578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14580 if test `eval echo '${'$as_ac_var'}'` = yes; then
14581   cat >>confdefs.h <<_ACEOF
14582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14583 _ACEOF
14584
14585 fi
14586 done
14587
14588   else
14589
14590   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14591 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14592   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14593     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14594   echo $ECHO_N "(cached) $ECHO_C" >&6
14595 else
14596
14597
14598
14599       ac_ext=cc
14600 ac_cpp='$CXXCPP $CPPFLAGS'
14601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14604
14605       cat >conftest.$ac_ext <<_ACEOF
14606 /* confdefs.h.  */
14607 _ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h.  */
14611 #include <math.h>
14612 int
14613 main ()
14614 {
14615  _frexpf(0, 0);
14616   ;
14617   return 0;
14618 }
14619 _ACEOF
14620 rm -f conftest.$ac_objext
14621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14622   (eval $ac_compile) 2>conftest.er1
14623   ac_status=$?
14624   grep -v '^ *+' conftest.er1 >conftest.err
14625   rm -f conftest.er1
14626   cat conftest.err >&5
14627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628   (exit $ac_status); } &&
14629          { ac_try='test -z "$ac_cxx_werror_flag"
14630                          || test ! -s conftest.err'
14631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632   (eval $ac_try) 2>&5
14633   ac_status=$?
14634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635   (exit $ac_status); }; } &&
14636          { ac_try='test -s conftest.$ac_objext'
14637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638   (eval $ac_try) 2>&5
14639   ac_status=$?
14640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641   (exit $ac_status); }; }; then
14642   glibcxx_cv_func__frexpf_use=yes
14643 else
14644   echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14646
14647 glibcxx_cv_func__frexpf_use=no
14648 fi
14649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14650       ac_ext=c
14651 ac_cpp='$CPP $CPPFLAGS'
14652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14655
14656
14657 fi
14658
14659   fi
14660   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14661 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14662
14663     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14664
14665 for ac_func in _frexpf
14666 do
14667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14668 echo "$as_me:$LINENO: checking for $ac_func" >&5
14669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14670 if eval "test \"\${$as_ac_var+set}\" = set"; then
14671   echo $ECHO_N "(cached) $ECHO_C" >&6
14672 else
14673   if test x$gcc_no_link = xyes; then
14674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14676    { (exit 1); exit 1; }; }
14677 fi
14678 cat >conftest.$ac_ext <<_ACEOF
14679 /* confdefs.h.  */
14680 _ACEOF
14681 cat confdefs.h >>conftest.$ac_ext
14682 cat >>conftest.$ac_ext <<_ACEOF
14683 /* end confdefs.h.  */
14684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14686 #define $ac_func innocuous_$ac_func
14687
14688 /* System header to define __stub macros and hopefully few prototypes,
14689     which can conflict with char $ac_func (); below.
14690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14691     <limits.h> exists even on freestanding compilers.  */
14692
14693 #ifdef __STDC__
14694 # include <limits.h>
14695 #else
14696 # include <assert.h>
14697 #endif
14698
14699 #undef $ac_func
14700
14701 /* Override any gcc2 internal prototype to avoid an error.  */
14702 #ifdef __cplusplus
14703 extern "C"
14704 {
14705 #endif
14706 /* We use char because int might match the return type of a gcc2
14707    builtin and then its argument prototype would still apply.  */
14708 char $ac_func ();
14709 /* The GNU C library defines this for functions which it implements
14710     to always fail with ENOSYS.  Some functions are actually named
14711     something starting with __ and the normal name is an alias.  */
14712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14713 choke me
14714 #else
14715 char (*f) () = $ac_func;
14716 #endif
14717 #ifdef __cplusplus
14718 }
14719 #endif
14720
14721 int
14722 main ()
14723 {
14724 return f != $ac_func;
14725   ;
14726   return 0;
14727 }
14728 _ACEOF
14729 rm -f conftest.$ac_objext conftest$ac_exeext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14731   (eval $ac_link) 2>conftest.er1
14732   ac_status=$?
14733   grep -v '^ *+' conftest.er1 >conftest.err
14734   rm -f conftest.er1
14735   cat conftest.err >&5
14736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737   (exit $ac_status); } &&
14738          { ac_try='test -z "$ac_c_werror_flag"
14739                          || test ! -s conftest.err'
14740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741   (eval $ac_try) 2>&5
14742   ac_status=$?
14743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744   (exit $ac_status); }; } &&
14745          { ac_try='test -s conftest$ac_exeext'
14746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747   (eval $ac_try) 2>&5
14748   ac_status=$?
14749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750   (exit $ac_status); }; }; then
14751   eval "$as_ac_var=yes"
14752 else
14753   echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14755
14756 eval "$as_ac_var=no"
14757 fi
14758 rm -f conftest.err conftest.$ac_objext \
14759       conftest$ac_exeext conftest.$ac_ext
14760 fi
14761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14763 if test `eval echo '${'$as_ac_var'}'` = yes; then
14764   cat >>confdefs.h <<_ACEOF
14765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14766 _ACEOF
14767
14768 fi
14769 done
14770
14771     fi
14772   fi
14773
14774
14775
14776
14777
14778
14779   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14780 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14781   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14782     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14783   echo $ECHO_N "(cached) $ECHO_C" >&6
14784 else
14785
14786
14787
14788       ac_ext=cc
14789 ac_cpp='$CXXCPP $CPPFLAGS'
14790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14793
14794       cat >conftest.$ac_ext <<_ACEOF
14795 /* confdefs.h.  */
14796 _ACEOF
14797 cat confdefs.h >>conftest.$ac_ext
14798 cat >>conftest.$ac_ext <<_ACEOF
14799 /* end confdefs.h.  */
14800 #include <math.h>
14801 int
14802 main ()
14803 {
14804  hypotf(0, 0);
14805   ;
14806   return 0;
14807 }
14808 _ACEOF
14809 rm -f conftest.$ac_objext
14810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14811   (eval $ac_compile) 2>conftest.er1
14812   ac_status=$?
14813   grep -v '^ *+' conftest.er1 >conftest.err
14814   rm -f conftest.er1
14815   cat conftest.err >&5
14816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817   (exit $ac_status); } &&
14818          { ac_try='test -z "$ac_cxx_werror_flag"
14819                          || test ! -s conftest.err'
14820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821   (eval $ac_try) 2>&5
14822   ac_status=$?
14823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824   (exit $ac_status); }; } &&
14825          { ac_try='test -s conftest.$ac_objext'
14826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827   (eval $ac_try) 2>&5
14828   ac_status=$?
14829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830   (exit $ac_status); }; }; then
14831   glibcxx_cv_func_hypotf_use=yes
14832 else
14833   echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14835
14836 glibcxx_cv_func_hypotf_use=no
14837 fi
14838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14839       ac_ext=c
14840 ac_cpp='$CPP $CPPFLAGS'
14841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14844
14845
14846 fi
14847
14848   fi
14849   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14850 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14851
14852   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14853
14854 for ac_func in hypotf
14855 do
14856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14857 echo "$as_me:$LINENO: checking for $ac_func" >&5
14858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14859 if eval "test \"\${$as_ac_var+set}\" = set"; then
14860   echo $ECHO_N "(cached) $ECHO_C" >&6
14861 else
14862   if test x$gcc_no_link = xyes; then
14863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14865    { (exit 1); exit 1; }; }
14866 fi
14867 cat >conftest.$ac_ext <<_ACEOF
14868 /* confdefs.h.  */
14869 _ACEOF
14870 cat confdefs.h >>conftest.$ac_ext
14871 cat >>conftest.$ac_ext <<_ACEOF
14872 /* end confdefs.h.  */
14873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14875 #define $ac_func innocuous_$ac_func
14876
14877 /* System header to define __stub macros and hopefully few prototypes,
14878     which can conflict with char $ac_func (); below.
14879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14880     <limits.h> exists even on freestanding compilers.  */
14881
14882 #ifdef __STDC__
14883 # include <limits.h>
14884 #else
14885 # include <assert.h>
14886 #endif
14887
14888 #undef $ac_func
14889
14890 /* Override any gcc2 internal prototype to avoid an error.  */
14891 #ifdef __cplusplus
14892 extern "C"
14893 {
14894 #endif
14895 /* We use char because int might match the return type of a gcc2
14896    builtin and then its argument prototype would still apply.  */
14897 char $ac_func ();
14898 /* The GNU C library defines this for functions which it implements
14899     to always fail with ENOSYS.  Some functions are actually named
14900     something starting with __ and the normal name is an alias.  */
14901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14902 choke me
14903 #else
14904 char (*f) () = $ac_func;
14905 #endif
14906 #ifdef __cplusplus
14907 }
14908 #endif
14909
14910 int
14911 main ()
14912 {
14913 return f != $ac_func;
14914   ;
14915   return 0;
14916 }
14917 _ACEOF
14918 rm -f conftest.$ac_objext conftest$ac_exeext
14919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14920   (eval $ac_link) 2>conftest.er1
14921   ac_status=$?
14922   grep -v '^ *+' conftest.er1 >conftest.err
14923   rm -f conftest.er1
14924   cat conftest.err >&5
14925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926   (exit $ac_status); } &&
14927          { ac_try='test -z "$ac_c_werror_flag"
14928                          || test ! -s conftest.err'
14929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930   (eval $ac_try) 2>&5
14931   ac_status=$?
14932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933   (exit $ac_status); }; } &&
14934          { ac_try='test -s conftest$ac_exeext'
14935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936   (eval $ac_try) 2>&5
14937   ac_status=$?
14938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939   (exit $ac_status); }; }; then
14940   eval "$as_ac_var=yes"
14941 else
14942   echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.$ac_ext >&5
14944
14945 eval "$as_ac_var=no"
14946 fi
14947 rm -f conftest.err conftest.$ac_objext \
14948       conftest$ac_exeext conftest.$ac_ext
14949 fi
14950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14952 if test `eval echo '${'$as_ac_var'}'` = yes; then
14953   cat >>confdefs.h <<_ACEOF
14954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14955 _ACEOF
14956
14957 fi
14958 done
14959
14960   else
14961
14962   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14963 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14964   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14965     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14966   echo $ECHO_N "(cached) $ECHO_C" >&6
14967 else
14968
14969
14970
14971       ac_ext=cc
14972 ac_cpp='$CXXCPP $CPPFLAGS'
14973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14976
14977       cat >conftest.$ac_ext <<_ACEOF
14978 /* confdefs.h.  */
14979 _ACEOF
14980 cat confdefs.h >>conftest.$ac_ext
14981 cat >>conftest.$ac_ext <<_ACEOF
14982 /* end confdefs.h.  */
14983 #include <math.h>
14984 int
14985 main ()
14986 {
14987  _hypotf(0, 0);
14988   ;
14989   return 0;
14990 }
14991 _ACEOF
14992 rm -f conftest.$ac_objext
14993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14994   (eval $ac_compile) 2>conftest.er1
14995   ac_status=$?
14996   grep -v '^ *+' conftest.er1 >conftest.err
14997   rm -f conftest.er1
14998   cat conftest.err >&5
14999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000   (exit $ac_status); } &&
15001          { ac_try='test -z "$ac_cxx_werror_flag"
15002                          || test ! -s conftest.err'
15003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004   (eval $ac_try) 2>&5
15005   ac_status=$?
15006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007   (exit $ac_status); }; } &&
15008          { ac_try='test -s conftest.$ac_objext'
15009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010   (eval $ac_try) 2>&5
15011   ac_status=$?
15012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013   (exit $ac_status); }; }; then
15014   glibcxx_cv_func__hypotf_use=yes
15015 else
15016   echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.$ac_ext >&5
15018
15019 glibcxx_cv_func__hypotf_use=no
15020 fi
15021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15022       ac_ext=c
15023 ac_cpp='$CPP $CPPFLAGS'
15024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15027
15028
15029 fi
15030
15031   fi
15032   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15033 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15034
15035     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15036
15037 for ac_func in _hypotf
15038 do
15039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15040 echo "$as_me:$LINENO: checking for $ac_func" >&5
15041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15042 if eval "test \"\${$as_ac_var+set}\" = set"; then
15043   echo $ECHO_N "(cached) $ECHO_C" >&6
15044 else
15045   if test x$gcc_no_link = xyes; then
15046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15048    { (exit 1); exit 1; }; }
15049 fi
15050 cat >conftest.$ac_ext <<_ACEOF
15051 /* confdefs.h.  */
15052 _ACEOF
15053 cat confdefs.h >>conftest.$ac_ext
15054 cat >>conftest.$ac_ext <<_ACEOF
15055 /* end confdefs.h.  */
15056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15058 #define $ac_func innocuous_$ac_func
15059
15060 /* System header to define __stub macros and hopefully few prototypes,
15061     which can conflict with char $ac_func (); below.
15062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15063     <limits.h> exists even on freestanding compilers.  */
15064
15065 #ifdef __STDC__
15066 # include <limits.h>
15067 #else
15068 # include <assert.h>
15069 #endif
15070
15071 #undef $ac_func
15072
15073 /* Override any gcc2 internal prototype to avoid an error.  */
15074 #ifdef __cplusplus
15075 extern "C"
15076 {
15077 #endif
15078 /* We use char because int might match the return type of a gcc2
15079    builtin and then its argument prototype would still apply.  */
15080 char $ac_func ();
15081 /* The GNU C library defines this for functions which it implements
15082     to always fail with ENOSYS.  Some functions are actually named
15083     something starting with __ and the normal name is an alias.  */
15084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15085 choke me
15086 #else
15087 char (*f) () = $ac_func;
15088 #endif
15089 #ifdef __cplusplus
15090 }
15091 #endif
15092
15093 int
15094 main ()
15095 {
15096 return f != $ac_func;
15097   ;
15098   return 0;
15099 }
15100 _ACEOF
15101 rm -f conftest.$ac_objext conftest$ac_exeext
15102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15103   (eval $ac_link) 2>conftest.er1
15104   ac_status=$?
15105   grep -v '^ *+' conftest.er1 >conftest.err
15106   rm -f conftest.er1
15107   cat conftest.err >&5
15108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109   (exit $ac_status); } &&
15110          { ac_try='test -z "$ac_c_werror_flag"
15111                          || test ! -s conftest.err'
15112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15113   (eval $ac_try) 2>&5
15114   ac_status=$?
15115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116   (exit $ac_status); }; } &&
15117          { ac_try='test -s conftest$ac_exeext'
15118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15119   (eval $ac_try) 2>&5
15120   ac_status=$?
15121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122   (exit $ac_status); }; }; then
15123   eval "$as_ac_var=yes"
15124 else
15125   echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.$ac_ext >&5
15127
15128 eval "$as_ac_var=no"
15129 fi
15130 rm -f conftest.err conftest.$ac_objext \
15131       conftest$ac_exeext conftest.$ac_ext
15132 fi
15133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15135 if test `eval echo '${'$as_ac_var'}'` = yes; then
15136   cat >>confdefs.h <<_ACEOF
15137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15138 _ACEOF
15139
15140 fi
15141 done
15142
15143     fi
15144   fi
15145
15146
15147
15148
15149
15150
15151   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15152 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15153   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15154     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15155   echo $ECHO_N "(cached) $ECHO_C" >&6
15156 else
15157
15158
15159
15160       ac_ext=cc
15161 ac_cpp='$CXXCPP $CPPFLAGS'
15162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15165
15166       cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h.  */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h.  */
15172 #include <math.h>
15173 int
15174 main ()
15175 {
15176  ldexpf(0, 0);
15177   ;
15178   return 0;
15179 }
15180 _ACEOF
15181 rm -f conftest.$ac_objext
15182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15183   (eval $ac_compile) 2>conftest.er1
15184   ac_status=$?
15185   grep -v '^ *+' conftest.er1 >conftest.err
15186   rm -f conftest.er1
15187   cat conftest.err >&5
15188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189   (exit $ac_status); } &&
15190          { ac_try='test -z "$ac_cxx_werror_flag"
15191                          || test ! -s conftest.err'
15192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193   (eval $ac_try) 2>&5
15194   ac_status=$?
15195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196   (exit $ac_status); }; } &&
15197          { ac_try='test -s conftest.$ac_objext'
15198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15199   (eval $ac_try) 2>&5
15200   ac_status=$?
15201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202   (exit $ac_status); }; }; then
15203   glibcxx_cv_func_ldexpf_use=yes
15204 else
15205   echo "$as_me: failed program was:" >&5
15206 sed 's/^/| /' conftest.$ac_ext >&5
15207
15208 glibcxx_cv_func_ldexpf_use=no
15209 fi
15210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15211       ac_ext=c
15212 ac_cpp='$CPP $CPPFLAGS'
15213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15216
15217
15218 fi
15219
15220   fi
15221   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15222 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15223
15224   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15225
15226 for ac_func in ldexpf
15227 do
15228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15229 echo "$as_me:$LINENO: checking for $ac_func" >&5
15230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15231 if eval "test \"\${$as_ac_var+set}\" = set"; then
15232   echo $ECHO_N "(cached) $ECHO_C" >&6
15233 else
15234   if test x$gcc_no_link = xyes; then
15235   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15237    { (exit 1); exit 1; }; }
15238 fi
15239 cat >conftest.$ac_ext <<_ACEOF
15240 /* confdefs.h.  */
15241 _ACEOF
15242 cat confdefs.h >>conftest.$ac_ext
15243 cat >>conftest.$ac_ext <<_ACEOF
15244 /* end confdefs.h.  */
15245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15246    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15247 #define $ac_func innocuous_$ac_func
15248
15249 /* System header to define __stub macros and hopefully few prototypes,
15250     which can conflict with char $ac_func (); below.
15251     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15252     <limits.h> exists even on freestanding compilers.  */
15253
15254 #ifdef __STDC__
15255 # include <limits.h>
15256 #else
15257 # include <assert.h>
15258 #endif
15259
15260 #undef $ac_func
15261
15262 /* Override any gcc2 internal prototype to avoid an error.  */
15263 #ifdef __cplusplus
15264 extern "C"
15265 {
15266 #endif
15267 /* We use char because int might match the return type of a gcc2
15268    builtin and then its argument prototype would still apply.  */
15269 char $ac_func ();
15270 /* The GNU C library defines this for functions which it implements
15271     to always fail with ENOSYS.  Some functions are actually named
15272     something starting with __ and the normal name is an alias.  */
15273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15274 choke me
15275 #else
15276 char (*f) () = $ac_func;
15277 #endif
15278 #ifdef __cplusplus
15279 }
15280 #endif
15281
15282 int
15283 main ()
15284 {
15285 return f != $ac_func;
15286   ;
15287   return 0;
15288 }
15289 _ACEOF
15290 rm -f conftest.$ac_objext conftest$ac_exeext
15291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15292   (eval $ac_link) 2>conftest.er1
15293   ac_status=$?
15294   grep -v '^ *+' conftest.er1 >conftest.err
15295   rm -f conftest.er1
15296   cat conftest.err >&5
15297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298   (exit $ac_status); } &&
15299          { ac_try='test -z "$ac_c_werror_flag"
15300                          || test ! -s conftest.err'
15301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302   (eval $ac_try) 2>&5
15303   ac_status=$?
15304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305   (exit $ac_status); }; } &&
15306          { ac_try='test -s conftest$ac_exeext'
15307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308   (eval $ac_try) 2>&5
15309   ac_status=$?
15310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311   (exit $ac_status); }; }; then
15312   eval "$as_ac_var=yes"
15313 else
15314   echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15316
15317 eval "$as_ac_var=no"
15318 fi
15319 rm -f conftest.err conftest.$ac_objext \
15320       conftest$ac_exeext conftest.$ac_ext
15321 fi
15322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15324 if test `eval echo '${'$as_ac_var'}'` = yes; then
15325   cat >>confdefs.h <<_ACEOF
15326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15327 _ACEOF
15328
15329 fi
15330 done
15331
15332   else
15333
15334   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15335 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15336   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15337     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15338   echo $ECHO_N "(cached) $ECHO_C" >&6
15339 else
15340
15341
15342
15343       ac_ext=cc
15344 ac_cpp='$CXXCPP $CPPFLAGS'
15345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15348
15349       cat >conftest.$ac_ext <<_ACEOF
15350 /* confdefs.h.  */
15351 _ACEOF
15352 cat confdefs.h >>conftest.$ac_ext
15353 cat >>conftest.$ac_ext <<_ACEOF
15354 /* end confdefs.h.  */
15355 #include <math.h>
15356 int
15357 main ()
15358 {
15359  _ldexpf(0, 0);
15360   ;
15361   return 0;
15362 }
15363 _ACEOF
15364 rm -f conftest.$ac_objext
15365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15366   (eval $ac_compile) 2>conftest.er1
15367   ac_status=$?
15368   grep -v '^ *+' conftest.er1 >conftest.err
15369   rm -f conftest.er1
15370   cat conftest.err >&5
15371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372   (exit $ac_status); } &&
15373          { ac_try='test -z "$ac_cxx_werror_flag"
15374                          || test ! -s conftest.err'
15375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376   (eval $ac_try) 2>&5
15377   ac_status=$?
15378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379   (exit $ac_status); }; } &&
15380          { ac_try='test -s conftest.$ac_objext'
15381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382   (eval $ac_try) 2>&5
15383   ac_status=$?
15384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385   (exit $ac_status); }; }; then
15386   glibcxx_cv_func__ldexpf_use=yes
15387 else
15388   echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15390
15391 glibcxx_cv_func__ldexpf_use=no
15392 fi
15393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15394       ac_ext=c
15395 ac_cpp='$CPP $CPPFLAGS'
15396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15399
15400
15401 fi
15402
15403   fi
15404   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15405 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15406
15407     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15408
15409 for ac_func in _ldexpf
15410 do
15411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15412 echo "$as_me:$LINENO: checking for $ac_func" >&5
15413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15414 if eval "test \"\${$as_ac_var+set}\" = set"; then
15415   echo $ECHO_N "(cached) $ECHO_C" >&6
15416 else
15417   if test x$gcc_no_link = xyes; then
15418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15420    { (exit 1); exit 1; }; }
15421 fi
15422 cat >conftest.$ac_ext <<_ACEOF
15423 /* confdefs.h.  */
15424 _ACEOF
15425 cat confdefs.h >>conftest.$ac_ext
15426 cat >>conftest.$ac_ext <<_ACEOF
15427 /* end confdefs.h.  */
15428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15430 #define $ac_func innocuous_$ac_func
15431
15432 /* System header to define __stub macros and hopefully few prototypes,
15433     which can conflict with char $ac_func (); below.
15434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15435     <limits.h> exists even on freestanding compilers.  */
15436
15437 #ifdef __STDC__
15438 # include <limits.h>
15439 #else
15440 # include <assert.h>
15441 #endif
15442
15443 #undef $ac_func
15444
15445 /* Override any gcc2 internal prototype to avoid an error.  */
15446 #ifdef __cplusplus
15447 extern "C"
15448 {
15449 #endif
15450 /* We use char because int might match the return type of a gcc2
15451    builtin and then its argument prototype would still apply.  */
15452 char $ac_func ();
15453 /* The GNU C library defines this for functions which it implements
15454     to always fail with ENOSYS.  Some functions are actually named
15455     something starting with __ and the normal name is an alias.  */
15456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15457 choke me
15458 #else
15459 char (*f) () = $ac_func;
15460 #endif
15461 #ifdef __cplusplus
15462 }
15463 #endif
15464
15465 int
15466 main ()
15467 {
15468 return f != $ac_func;
15469   ;
15470   return 0;
15471 }
15472 _ACEOF
15473 rm -f conftest.$ac_objext conftest$ac_exeext
15474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15475   (eval $ac_link) 2>conftest.er1
15476   ac_status=$?
15477   grep -v '^ *+' conftest.er1 >conftest.err
15478   rm -f conftest.er1
15479   cat conftest.err >&5
15480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481   (exit $ac_status); } &&
15482          { ac_try='test -z "$ac_c_werror_flag"
15483                          || test ! -s conftest.err'
15484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485   (eval $ac_try) 2>&5
15486   ac_status=$?
15487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488   (exit $ac_status); }; } &&
15489          { ac_try='test -s conftest$ac_exeext'
15490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491   (eval $ac_try) 2>&5
15492   ac_status=$?
15493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494   (exit $ac_status); }; }; then
15495   eval "$as_ac_var=yes"
15496 else
15497   echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15499
15500 eval "$as_ac_var=no"
15501 fi
15502 rm -f conftest.err conftest.$ac_objext \
15503       conftest$ac_exeext conftest.$ac_ext
15504 fi
15505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15507 if test `eval echo '${'$as_ac_var'}'` = yes; then
15508   cat >>confdefs.h <<_ACEOF
15509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15510 _ACEOF
15511
15512 fi
15513 done
15514
15515     fi
15516   fi
15517
15518
15519
15520
15521
15522
15523   echo "$as_me:$LINENO: checking for logf declaration" >&5
15524 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15525   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15526     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15527   echo $ECHO_N "(cached) $ECHO_C" >&6
15528 else
15529
15530
15531
15532       ac_ext=cc
15533 ac_cpp='$CXXCPP $CPPFLAGS'
15534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15537
15538       cat >conftest.$ac_ext <<_ACEOF
15539 /* confdefs.h.  */
15540 _ACEOF
15541 cat confdefs.h >>conftest.$ac_ext
15542 cat >>conftest.$ac_ext <<_ACEOF
15543 /* end confdefs.h.  */
15544 #include <math.h>
15545                       #ifdef HAVE_IEEEFP_H
15546                       #include <ieeefp.h>
15547                       #endif
15548
15549 int
15550 main ()
15551 {
15552  logf(0);
15553   ;
15554   return 0;
15555 }
15556 _ACEOF
15557 rm -f conftest.$ac_objext
15558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15559   (eval $ac_compile) 2>conftest.er1
15560   ac_status=$?
15561   grep -v '^ *+' conftest.er1 >conftest.err
15562   rm -f conftest.er1
15563   cat conftest.err >&5
15564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565   (exit $ac_status); } &&
15566          { ac_try='test -z "$ac_cxx_werror_flag"
15567                          || test ! -s conftest.err'
15568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569   (eval $ac_try) 2>&5
15570   ac_status=$?
15571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572   (exit $ac_status); }; } &&
15573          { ac_try='test -s conftest.$ac_objext'
15574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575   (eval $ac_try) 2>&5
15576   ac_status=$?
15577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578   (exit $ac_status); }; }; then
15579   glibcxx_cv_func_logf_use=yes
15580 else
15581   echo "$as_me: failed program was:" >&5
15582 sed 's/^/| /' conftest.$ac_ext >&5
15583
15584 glibcxx_cv_func_logf_use=no
15585 fi
15586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15587       ac_ext=c
15588 ac_cpp='$CPP $CPPFLAGS'
15589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15592
15593
15594 fi
15595
15596   fi
15597   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15598 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15599
15600   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15601
15602 for ac_func in logf
15603 do
15604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15605 echo "$as_me:$LINENO: checking for $ac_func" >&5
15606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15607 if eval "test \"\${$as_ac_var+set}\" = set"; then
15608   echo $ECHO_N "(cached) $ECHO_C" >&6
15609 else
15610   if test x$gcc_no_link = xyes; then
15611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15613    { (exit 1); exit 1; }; }
15614 fi
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h.  */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h.  */
15621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15623 #define $ac_func innocuous_$ac_func
15624
15625 /* System header to define __stub macros and hopefully few prototypes,
15626     which can conflict with char $ac_func (); below.
15627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15628     <limits.h> exists even on freestanding compilers.  */
15629
15630 #ifdef __STDC__
15631 # include <limits.h>
15632 #else
15633 # include <assert.h>
15634 #endif
15635
15636 #undef $ac_func
15637
15638 /* Override any gcc2 internal prototype to avoid an error.  */
15639 #ifdef __cplusplus
15640 extern "C"
15641 {
15642 #endif
15643 /* We use char because int might match the return type of a gcc2
15644    builtin and then its argument prototype would still apply.  */
15645 char $ac_func ();
15646 /* The GNU C library defines this for functions which it implements
15647     to always fail with ENOSYS.  Some functions are actually named
15648     something starting with __ and the normal name is an alias.  */
15649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15650 choke me
15651 #else
15652 char (*f) () = $ac_func;
15653 #endif
15654 #ifdef __cplusplus
15655 }
15656 #endif
15657
15658 int
15659 main ()
15660 {
15661 return f != $ac_func;
15662   ;
15663   return 0;
15664 }
15665 _ACEOF
15666 rm -f conftest.$ac_objext conftest$ac_exeext
15667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15668   (eval $ac_link) 2>conftest.er1
15669   ac_status=$?
15670   grep -v '^ *+' conftest.er1 >conftest.err
15671   rm -f conftest.er1
15672   cat conftest.err >&5
15673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674   (exit $ac_status); } &&
15675          { ac_try='test -z "$ac_c_werror_flag"
15676                          || test ! -s conftest.err'
15677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678   (eval $ac_try) 2>&5
15679   ac_status=$?
15680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681   (exit $ac_status); }; } &&
15682          { ac_try='test -s conftest$ac_exeext'
15683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684   (eval $ac_try) 2>&5
15685   ac_status=$?
15686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687   (exit $ac_status); }; }; then
15688   eval "$as_ac_var=yes"
15689 else
15690   echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.$ac_ext >&5
15692
15693 eval "$as_ac_var=no"
15694 fi
15695 rm -f conftest.err conftest.$ac_objext \
15696       conftest$ac_exeext conftest.$ac_ext
15697 fi
15698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15700 if test `eval echo '${'$as_ac_var'}'` = yes; then
15701   cat >>confdefs.h <<_ACEOF
15702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15703 _ACEOF
15704
15705 fi
15706 done
15707
15708   else
15709
15710   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15711 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15712   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15713     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15714   echo $ECHO_N "(cached) $ECHO_C" >&6
15715 else
15716
15717
15718
15719       ac_ext=cc
15720 ac_cpp='$CXXCPP $CPPFLAGS'
15721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15724
15725       cat >conftest.$ac_ext <<_ACEOF
15726 /* confdefs.h.  */
15727 _ACEOF
15728 cat confdefs.h >>conftest.$ac_ext
15729 cat >>conftest.$ac_ext <<_ACEOF
15730 /* end confdefs.h.  */
15731 #include <math.h>
15732                       #ifdef HAVE_IEEEFP_H
15733                       #include <ieeefp.h>
15734                       #endif
15735
15736 int
15737 main ()
15738 {
15739  _logf(0);
15740   ;
15741   return 0;
15742 }
15743 _ACEOF
15744 rm -f conftest.$ac_objext
15745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15746   (eval $ac_compile) 2>conftest.er1
15747   ac_status=$?
15748   grep -v '^ *+' conftest.er1 >conftest.err
15749   rm -f conftest.er1
15750   cat conftest.err >&5
15751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752   (exit $ac_status); } &&
15753          { ac_try='test -z "$ac_cxx_werror_flag"
15754                          || test ! -s conftest.err'
15755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756   (eval $ac_try) 2>&5
15757   ac_status=$?
15758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759   (exit $ac_status); }; } &&
15760          { ac_try='test -s conftest.$ac_objext'
15761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762   (eval $ac_try) 2>&5
15763   ac_status=$?
15764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765   (exit $ac_status); }; }; then
15766   glibcxx_cv_func__logf_use=yes
15767 else
15768   echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.$ac_ext >&5
15770
15771 glibcxx_cv_func__logf_use=no
15772 fi
15773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15774       ac_ext=c
15775 ac_cpp='$CPP $CPPFLAGS'
15776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15779
15780
15781 fi
15782
15783   fi
15784   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15785 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15786
15787     if test x$glibcxx_cv_func__logf_use = x"yes"; then
15788
15789 for ac_func in _logf
15790 do
15791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15792 echo "$as_me:$LINENO: checking for $ac_func" >&5
15793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15794 if eval "test \"\${$as_ac_var+set}\" = set"; then
15795   echo $ECHO_N "(cached) $ECHO_C" >&6
15796 else
15797   if test x$gcc_no_link = xyes; then
15798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15800    { (exit 1); exit 1; }; }
15801 fi
15802 cat >conftest.$ac_ext <<_ACEOF
15803 /* confdefs.h.  */
15804 _ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h.  */
15808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15810 #define $ac_func innocuous_$ac_func
15811
15812 /* System header to define __stub macros and hopefully few prototypes,
15813     which can conflict with char $ac_func (); below.
15814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15815     <limits.h> exists even on freestanding compilers.  */
15816
15817 #ifdef __STDC__
15818 # include <limits.h>
15819 #else
15820 # include <assert.h>
15821 #endif
15822
15823 #undef $ac_func
15824
15825 /* Override any gcc2 internal prototype to avoid an error.  */
15826 #ifdef __cplusplus
15827 extern "C"
15828 {
15829 #endif
15830 /* We use char because int might match the return type of a gcc2
15831    builtin and then its argument prototype would still apply.  */
15832 char $ac_func ();
15833 /* The GNU C library defines this for functions which it implements
15834     to always fail with ENOSYS.  Some functions are actually named
15835     something starting with __ and the normal name is an alias.  */
15836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15837 choke me
15838 #else
15839 char (*f) () = $ac_func;
15840 #endif
15841 #ifdef __cplusplus
15842 }
15843 #endif
15844
15845 int
15846 main ()
15847 {
15848 return f != $ac_func;
15849   ;
15850   return 0;
15851 }
15852 _ACEOF
15853 rm -f conftest.$ac_objext conftest$ac_exeext
15854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15855   (eval $ac_link) 2>conftest.er1
15856   ac_status=$?
15857   grep -v '^ *+' conftest.er1 >conftest.err
15858   rm -f conftest.er1
15859   cat conftest.err >&5
15860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861   (exit $ac_status); } &&
15862          { ac_try='test -z "$ac_c_werror_flag"
15863                          || test ! -s conftest.err'
15864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865   (eval $ac_try) 2>&5
15866   ac_status=$?
15867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868   (exit $ac_status); }; } &&
15869          { ac_try='test -s conftest$ac_exeext'
15870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15871   (eval $ac_try) 2>&5
15872   ac_status=$?
15873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874   (exit $ac_status); }; }; then
15875   eval "$as_ac_var=yes"
15876 else
15877   echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15879
15880 eval "$as_ac_var=no"
15881 fi
15882 rm -f conftest.err conftest.$ac_objext \
15883       conftest$ac_exeext conftest.$ac_ext
15884 fi
15885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15887 if test `eval echo '${'$as_ac_var'}'` = yes; then
15888   cat >>confdefs.h <<_ACEOF
15889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15890 _ACEOF
15891
15892 fi
15893 done
15894
15895     fi
15896   fi
15897
15898
15899
15900
15901
15902
15903   echo "$as_me:$LINENO: checking for log10f declaration" >&5
15904 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15905   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15906     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15907   echo $ECHO_N "(cached) $ECHO_C" >&6
15908 else
15909
15910
15911
15912       ac_ext=cc
15913 ac_cpp='$CXXCPP $CPPFLAGS'
15914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15917
15918       cat >conftest.$ac_ext <<_ACEOF
15919 /* confdefs.h.  */
15920 _ACEOF
15921 cat confdefs.h >>conftest.$ac_ext
15922 cat >>conftest.$ac_ext <<_ACEOF
15923 /* end confdefs.h.  */
15924 #include <math.h>
15925                       #ifdef HAVE_IEEEFP_H
15926                       #include <ieeefp.h>
15927                       #endif
15928
15929 int
15930 main ()
15931 {
15932  log10f(0);
15933   ;
15934   return 0;
15935 }
15936 _ACEOF
15937 rm -f conftest.$ac_objext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939   (eval $ac_compile) 2>conftest.er1
15940   ac_status=$?
15941   grep -v '^ *+' conftest.er1 >conftest.err
15942   rm -f conftest.er1
15943   cat conftest.err >&5
15944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945   (exit $ac_status); } &&
15946          { ac_try='test -z "$ac_cxx_werror_flag"
15947                          || test ! -s conftest.err'
15948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949   (eval $ac_try) 2>&5
15950   ac_status=$?
15951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952   (exit $ac_status); }; } &&
15953          { ac_try='test -s conftest.$ac_objext'
15954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955   (eval $ac_try) 2>&5
15956   ac_status=$?
15957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958   (exit $ac_status); }; }; then
15959   glibcxx_cv_func_log10f_use=yes
15960 else
15961   echo "$as_me: failed program was:" >&5
15962 sed 's/^/| /' conftest.$ac_ext >&5
15963
15964 glibcxx_cv_func_log10f_use=no
15965 fi
15966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15967       ac_ext=c
15968 ac_cpp='$CPP $CPPFLAGS'
15969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15972
15973
15974 fi
15975
15976   fi
15977   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15978 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15979
15980   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15981
15982 for ac_func in log10f
15983 do
15984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15985 echo "$as_me:$LINENO: checking for $ac_func" >&5
15986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15987 if eval "test \"\${$as_ac_var+set}\" = set"; then
15988   echo $ECHO_N "(cached) $ECHO_C" >&6
15989 else
15990   if test x$gcc_no_link = xyes; then
15991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15993    { (exit 1); exit 1; }; }
15994 fi
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h.  */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h.  */
16001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16003 #define $ac_func innocuous_$ac_func
16004
16005 /* System header to define __stub macros and hopefully few prototypes,
16006     which can conflict with char $ac_func (); below.
16007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16008     <limits.h> exists even on freestanding compilers.  */
16009
16010 #ifdef __STDC__
16011 # include <limits.h>
16012 #else
16013 # include <assert.h>
16014 #endif
16015
16016 #undef $ac_func
16017
16018 /* Override any gcc2 internal prototype to avoid an error.  */
16019 #ifdef __cplusplus
16020 extern "C"
16021 {
16022 #endif
16023 /* We use char because int might match the return type of a gcc2
16024    builtin and then its argument prototype would still apply.  */
16025 char $ac_func ();
16026 /* The GNU C library defines this for functions which it implements
16027     to always fail with ENOSYS.  Some functions are actually named
16028     something starting with __ and the normal name is an alias.  */
16029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16030 choke me
16031 #else
16032 char (*f) () = $ac_func;
16033 #endif
16034 #ifdef __cplusplus
16035 }
16036 #endif
16037
16038 int
16039 main ()
16040 {
16041 return f != $ac_func;
16042   ;
16043   return 0;
16044 }
16045 _ACEOF
16046 rm -f conftest.$ac_objext conftest$ac_exeext
16047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16048   (eval $ac_link) 2>conftest.er1
16049   ac_status=$?
16050   grep -v '^ *+' conftest.er1 >conftest.err
16051   rm -f conftest.er1
16052   cat conftest.err >&5
16053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054   (exit $ac_status); } &&
16055          { ac_try='test -z "$ac_c_werror_flag"
16056                          || test ! -s conftest.err'
16057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058   (eval $ac_try) 2>&5
16059   ac_status=$?
16060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061   (exit $ac_status); }; } &&
16062          { ac_try='test -s conftest$ac_exeext'
16063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064   (eval $ac_try) 2>&5
16065   ac_status=$?
16066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067   (exit $ac_status); }; }; then
16068   eval "$as_ac_var=yes"
16069 else
16070   echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16072
16073 eval "$as_ac_var=no"
16074 fi
16075 rm -f conftest.err conftest.$ac_objext \
16076       conftest$ac_exeext conftest.$ac_ext
16077 fi
16078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16080 if test `eval echo '${'$as_ac_var'}'` = yes; then
16081   cat >>confdefs.h <<_ACEOF
16082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16083 _ACEOF
16084
16085 fi
16086 done
16087
16088   else
16089
16090   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16091 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16092   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16093     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16094   echo $ECHO_N "(cached) $ECHO_C" >&6
16095 else
16096
16097
16098
16099       ac_ext=cc
16100 ac_cpp='$CXXCPP $CPPFLAGS'
16101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16104
16105       cat >conftest.$ac_ext <<_ACEOF
16106 /* confdefs.h.  */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h.  */
16111 #include <math.h>
16112                       #ifdef HAVE_IEEEFP_H
16113                       #include <ieeefp.h>
16114                       #endif
16115
16116 int
16117 main ()
16118 {
16119  _log10f(0);
16120   ;
16121   return 0;
16122 }
16123 _ACEOF
16124 rm -f conftest.$ac_objext
16125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16126   (eval $ac_compile) 2>conftest.er1
16127   ac_status=$?
16128   grep -v '^ *+' conftest.er1 >conftest.err
16129   rm -f conftest.er1
16130   cat conftest.err >&5
16131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132   (exit $ac_status); } &&
16133          { ac_try='test -z "$ac_cxx_werror_flag"
16134                          || test ! -s conftest.err'
16135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136   (eval $ac_try) 2>&5
16137   ac_status=$?
16138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139   (exit $ac_status); }; } &&
16140          { ac_try='test -s conftest.$ac_objext'
16141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142   (eval $ac_try) 2>&5
16143   ac_status=$?
16144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145   (exit $ac_status); }; }; then
16146   glibcxx_cv_func__log10f_use=yes
16147 else
16148   echo "$as_me: failed program was:" >&5
16149 sed 's/^/| /' conftest.$ac_ext >&5
16150
16151 glibcxx_cv_func__log10f_use=no
16152 fi
16153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16154       ac_ext=c
16155 ac_cpp='$CPP $CPPFLAGS'
16156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16159
16160
16161 fi
16162
16163   fi
16164   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16165 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16166
16167     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16168
16169 for ac_func in _log10f
16170 do
16171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16172 echo "$as_me:$LINENO: checking for $ac_func" >&5
16173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16174 if eval "test \"\${$as_ac_var+set}\" = set"; then
16175   echo $ECHO_N "(cached) $ECHO_C" >&6
16176 else
16177   if test x$gcc_no_link = xyes; then
16178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16180    { (exit 1); exit 1; }; }
16181 fi
16182 cat >conftest.$ac_ext <<_ACEOF
16183 /* confdefs.h.  */
16184 _ACEOF
16185 cat confdefs.h >>conftest.$ac_ext
16186 cat >>conftest.$ac_ext <<_ACEOF
16187 /* end confdefs.h.  */
16188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16190 #define $ac_func innocuous_$ac_func
16191
16192 /* System header to define __stub macros and hopefully few prototypes,
16193     which can conflict with char $ac_func (); below.
16194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16195     <limits.h> exists even on freestanding compilers.  */
16196
16197 #ifdef __STDC__
16198 # include <limits.h>
16199 #else
16200 # include <assert.h>
16201 #endif
16202
16203 #undef $ac_func
16204
16205 /* Override any gcc2 internal prototype to avoid an error.  */
16206 #ifdef __cplusplus
16207 extern "C"
16208 {
16209 #endif
16210 /* We use char because int might match the return type of a gcc2
16211    builtin and then its argument prototype would still apply.  */
16212 char $ac_func ();
16213 /* The GNU C library defines this for functions which it implements
16214     to always fail with ENOSYS.  Some functions are actually named
16215     something starting with __ and the normal name is an alias.  */
16216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16217 choke me
16218 #else
16219 char (*f) () = $ac_func;
16220 #endif
16221 #ifdef __cplusplus
16222 }
16223 #endif
16224
16225 int
16226 main ()
16227 {
16228 return f != $ac_func;
16229   ;
16230   return 0;
16231 }
16232 _ACEOF
16233 rm -f conftest.$ac_objext conftest$ac_exeext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16235   (eval $ac_link) 2>conftest.er1
16236   ac_status=$?
16237   grep -v '^ *+' conftest.er1 >conftest.err
16238   rm -f conftest.er1
16239   cat conftest.err >&5
16240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241   (exit $ac_status); } &&
16242          { ac_try='test -z "$ac_c_werror_flag"
16243                          || test ! -s conftest.err'
16244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245   (eval $ac_try) 2>&5
16246   ac_status=$?
16247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248   (exit $ac_status); }; } &&
16249          { ac_try='test -s conftest$ac_exeext'
16250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251   (eval $ac_try) 2>&5
16252   ac_status=$?
16253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254   (exit $ac_status); }; }; then
16255   eval "$as_ac_var=yes"
16256 else
16257   echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16259
16260 eval "$as_ac_var=no"
16261 fi
16262 rm -f conftest.err conftest.$ac_objext \
16263       conftest$ac_exeext conftest.$ac_ext
16264 fi
16265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16267 if test `eval echo '${'$as_ac_var'}'` = yes; then
16268   cat >>confdefs.h <<_ACEOF
16269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16270 _ACEOF
16271
16272 fi
16273 done
16274
16275     fi
16276   fi
16277
16278
16279
16280
16281
16282
16283   echo "$as_me:$LINENO: checking for modff declaration" >&5
16284 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16285   if test x${glibcxx_cv_func_modff_use+set} != xset; then
16286     if test "${glibcxx_cv_func_modff_use+set}" = set; then
16287   echo $ECHO_N "(cached) $ECHO_C" >&6
16288 else
16289
16290
16291
16292       ac_ext=cc
16293 ac_cpp='$CXXCPP $CPPFLAGS'
16294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16297
16298       cat >conftest.$ac_ext <<_ACEOF
16299 /* confdefs.h.  */
16300 _ACEOF
16301 cat confdefs.h >>conftest.$ac_ext
16302 cat >>conftest.$ac_ext <<_ACEOF
16303 /* end confdefs.h.  */
16304 #include <math.h>
16305 int
16306 main ()
16307 {
16308  modff(0, 0);
16309   ;
16310   return 0;
16311 }
16312 _ACEOF
16313 rm -f conftest.$ac_objext
16314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16315   (eval $ac_compile) 2>conftest.er1
16316   ac_status=$?
16317   grep -v '^ *+' conftest.er1 >conftest.err
16318   rm -f conftest.er1
16319   cat conftest.err >&5
16320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321   (exit $ac_status); } &&
16322          { ac_try='test -z "$ac_cxx_werror_flag"
16323                          || test ! -s conftest.err'
16324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16325   (eval $ac_try) 2>&5
16326   ac_status=$?
16327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328   (exit $ac_status); }; } &&
16329          { ac_try='test -s conftest.$ac_objext'
16330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331   (eval $ac_try) 2>&5
16332   ac_status=$?
16333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334   (exit $ac_status); }; }; then
16335   glibcxx_cv_func_modff_use=yes
16336 else
16337   echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16339
16340 glibcxx_cv_func_modff_use=no
16341 fi
16342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16343       ac_ext=c
16344 ac_cpp='$CPP $CPPFLAGS'
16345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16348
16349
16350 fi
16351
16352   fi
16353   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16354 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16355
16356   if test x$glibcxx_cv_func_modff_use = x"yes"; then
16357
16358 for ac_func in modff
16359 do
16360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16361 echo "$as_me:$LINENO: checking for $ac_func" >&5
16362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16363 if eval "test \"\${$as_ac_var+set}\" = set"; then
16364   echo $ECHO_N "(cached) $ECHO_C" >&6
16365 else
16366   if test x$gcc_no_link = xyes; then
16367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16369    { (exit 1); exit 1; }; }
16370 fi
16371 cat >conftest.$ac_ext <<_ACEOF
16372 /* confdefs.h.  */
16373 _ACEOF
16374 cat confdefs.h >>conftest.$ac_ext
16375 cat >>conftest.$ac_ext <<_ACEOF
16376 /* end confdefs.h.  */
16377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16379 #define $ac_func innocuous_$ac_func
16380
16381 /* System header to define __stub macros and hopefully few prototypes,
16382     which can conflict with char $ac_func (); below.
16383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16384     <limits.h> exists even on freestanding compilers.  */
16385
16386 #ifdef __STDC__
16387 # include <limits.h>
16388 #else
16389 # include <assert.h>
16390 #endif
16391
16392 #undef $ac_func
16393
16394 /* Override any gcc2 internal prototype to avoid an error.  */
16395 #ifdef __cplusplus
16396 extern "C"
16397 {
16398 #endif
16399 /* We use char because int might match the return type of a gcc2
16400    builtin and then its argument prototype would still apply.  */
16401 char $ac_func ();
16402 /* The GNU C library defines this for functions which it implements
16403     to always fail with ENOSYS.  Some functions are actually named
16404     something starting with __ and the normal name is an alias.  */
16405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16406 choke me
16407 #else
16408 char (*f) () = $ac_func;
16409 #endif
16410 #ifdef __cplusplus
16411 }
16412 #endif
16413
16414 int
16415 main ()
16416 {
16417 return f != $ac_func;
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   eval "$as_ac_var=yes"
16445 else
16446   echo "$as_me: failed program was:" >&5
16447 sed 's/^/| /' conftest.$ac_ext >&5
16448
16449 eval "$as_ac_var=no"
16450 fi
16451 rm -f conftest.err conftest.$ac_objext \
16452       conftest$ac_exeext conftest.$ac_ext
16453 fi
16454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16456 if test `eval echo '${'$as_ac_var'}'` = yes; then
16457   cat >>confdefs.h <<_ACEOF
16458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16459 _ACEOF
16460
16461 fi
16462 done
16463
16464   else
16465
16466   echo "$as_me:$LINENO: checking for _modff declaration" >&5
16467 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16468   if test x${glibcxx_cv_func__modff_use+set} != xset; then
16469     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16470   echo $ECHO_N "(cached) $ECHO_C" >&6
16471 else
16472
16473
16474
16475       ac_ext=cc
16476 ac_cpp='$CXXCPP $CPPFLAGS'
16477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16480
16481       cat >conftest.$ac_ext <<_ACEOF
16482 /* confdefs.h.  */
16483 _ACEOF
16484 cat confdefs.h >>conftest.$ac_ext
16485 cat >>conftest.$ac_ext <<_ACEOF
16486 /* end confdefs.h.  */
16487 #include <math.h>
16488 int
16489 main ()
16490 {
16491  _modff(0, 0);
16492   ;
16493   return 0;
16494 }
16495 _ACEOF
16496 rm -f conftest.$ac_objext
16497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16498   (eval $ac_compile) 2>conftest.er1
16499   ac_status=$?
16500   grep -v '^ *+' conftest.er1 >conftest.err
16501   rm -f conftest.er1
16502   cat conftest.err >&5
16503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504   (exit $ac_status); } &&
16505          { ac_try='test -z "$ac_cxx_werror_flag"
16506                          || test ! -s conftest.err'
16507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508   (eval $ac_try) 2>&5
16509   ac_status=$?
16510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511   (exit $ac_status); }; } &&
16512          { ac_try='test -s conftest.$ac_objext'
16513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16514   (eval $ac_try) 2>&5
16515   ac_status=$?
16516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517   (exit $ac_status); }; }; then
16518   glibcxx_cv_func__modff_use=yes
16519 else
16520   echo "$as_me: failed program was:" >&5
16521 sed 's/^/| /' conftest.$ac_ext >&5
16522
16523 glibcxx_cv_func__modff_use=no
16524 fi
16525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16526       ac_ext=c
16527 ac_cpp='$CPP $CPPFLAGS'
16528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16531
16532
16533 fi
16534
16535   fi
16536   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16537 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16538
16539     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16540
16541 for ac_func in _modff
16542 do
16543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16544 echo "$as_me:$LINENO: checking for $ac_func" >&5
16545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16546 if eval "test \"\${$as_ac_var+set}\" = set"; then
16547   echo $ECHO_N "(cached) $ECHO_C" >&6
16548 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16562 #define $ac_func innocuous_$ac_func
16563
16564 /* System header to define __stub macros and hopefully few prototypes,
16565     which can conflict with char $ac_func (); below.
16566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16567     <limits.h> exists even on freestanding compilers.  */
16568
16569 #ifdef __STDC__
16570 # include <limits.h>
16571 #else
16572 # include <assert.h>
16573 #endif
16574
16575 #undef $ac_func
16576
16577 /* Override any gcc2 internal prototype to avoid an error.  */
16578 #ifdef __cplusplus
16579 extern "C"
16580 {
16581 #endif
16582 /* We use char because int might match the return type of a gcc2
16583    builtin and then its argument prototype would still apply.  */
16584 char $ac_func ();
16585 /* The GNU C library defines this for functions which it implements
16586     to always fail with ENOSYS.  Some functions are actually named
16587     something starting with __ and the normal name is an alias.  */
16588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16589 choke me
16590 #else
16591 char (*f) () = $ac_func;
16592 #endif
16593 #ifdef __cplusplus
16594 }
16595 #endif
16596
16597 int
16598 main ()
16599 {
16600 return f != $ac_func;
16601   ;
16602   return 0;
16603 }
16604 _ACEOF
16605 rm -f conftest.$ac_objext conftest$ac_exeext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16607   (eval $ac_link) 2>conftest.er1
16608   ac_status=$?
16609   grep -v '^ *+' conftest.er1 >conftest.err
16610   rm -f conftest.er1
16611   cat conftest.err >&5
16612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613   (exit $ac_status); } &&
16614          { ac_try='test -z "$ac_c_werror_flag"
16615                          || test ! -s conftest.err'
16616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617   (eval $ac_try) 2>&5
16618   ac_status=$?
16619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620   (exit $ac_status); }; } &&
16621          { ac_try='test -s conftest$ac_exeext'
16622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623   (eval $ac_try) 2>&5
16624   ac_status=$?
16625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626   (exit $ac_status); }; }; then
16627   eval "$as_ac_var=yes"
16628 else
16629   echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16631
16632 eval "$as_ac_var=no"
16633 fi
16634 rm -f conftest.err conftest.$ac_objext \
16635       conftest$ac_exeext conftest.$ac_ext
16636 fi
16637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16639 if test `eval echo '${'$as_ac_var'}'` = yes; then
16640   cat >>confdefs.h <<_ACEOF
16641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16642 _ACEOF
16643
16644 fi
16645 done
16646
16647     fi
16648   fi
16649
16650
16651
16652
16653
16654
16655   echo "$as_me:$LINENO: checking for modf declaration" >&5
16656 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16657   if test x${glibcxx_cv_func_modf_use+set} != xset; then
16658     if test "${glibcxx_cv_func_modf_use+set}" = set; then
16659   echo $ECHO_N "(cached) $ECHO_C" >&6
16660 else
16661
16662
16663
16664       ac_ext=cc
16665 ac_cpp='$CXXCPP $CPPFLAGS'
16666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16669
16670       cat >conftest.$ac_ext <<_ACEOF
16671 /* confdefs.h.  */
16672 _ACEOF
16673 cat confdefs.h >>conftest.$ac_ext
16674 cat >>conftest.$ac_ext <<_ACEOF
16675 /* end confdefs.h.  */
16676 #include <math.h>
16677 int
16678 main ()
16679 {
16680  modf(0, 0);
16681   ;
16682   return 0;
16683 }
16684 _ACEOF
16685 rm -f conftest.$ac_objext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16687   (eval $ac_compile) 2>conftest.er1
16688   ac_status=$?
16689   grep -v '^ *+' conftest.er1 >conftest.err
16690   rm -f conftest.er1
16691   cat conftest.err >&5
16692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693   (exit $ac_status); } &&
16694          { ac_try='test -z "$ac_cxx_werror_flag"
16695                          || test ! -s conftest.err'
16696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697   (eval $ac_try) 2>&5
16698   ac_status=$?
16699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700   (exit $ac_status); }; } &&
16701          { ac_try='test -s conftest.$ac_objext'
16702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703   (eval $ac_try) 2>&5
16704   ac_status=$?
16705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706   (exit $ac_status); }; }; then
16707   glibcxx_cv_func_modf_use=yes
16708 else
16709   echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16711
16712 glibcxx_cv_func_modf_use=no
16713 fi
16714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16715       ac_ext=c
16716 ac_cpp='$CPP $CPPFLAGS'
16717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16720
16721
16722 fi
16723
16724   fi
16725   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16726 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16727
16728   if test x$glibcxx_cv_func_modf_use = x"yes"; then
16729
16730 for ac_func in modf
16731 do
16732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16733 echo "$as_me:$LINENO: checking for $ac_func" >&5
16734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16735 if eval "test \"\${$as_ac_var+set}\" = set"; then
16736   echo $ECHO_N "(cached) $ECHO_C" >&6
16737 else
16738   if test x$gcc_no_link = xyes; then
16739   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16741    { (exit 1); exit 1; }; }
16742 fi
16743 cat >conftest.$ac_ext <<_ACEOF
16744 /* confdefs.h.  */
16745 _ACEOF
16746 cat confdefs.h >>conftest.$ac_ext
16747 cat >>conftest.$ac_ext <<_ACEOF
16748 /* end confdefs.h.  */
16749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16750    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16751 #define $ac_func innocuous_$ac_func
16752
16753 /* System header to define __stub macros and hopefully few prototypes,
16754     which can conflict with char $ac_func (); below.
16755     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16756     <limits.h> exists even on freestanding compilers.  */
16757
16758 #ifdef __STDC__
16759 # include <limits.h>
16760 #else
16761 # include <assert.h>
16762 #endif
16763
16764 #undef $ac_func
16765
16766 /* Override any gcc2 internal prototype to avoid an error.  */
16767 #ifdef __cplusplus
16768 extern "C"
16769 {
16770 #endif
16771 /* We use char because int might match the return type of a gcc2
16772    builtin and then its argument prototype would still apply.  */
16773 char $ac_func ();
16774 /* The GNU C library defines this for functions which it implements
16775     to always fail with ENOSYS.  Some functions are actually named
16776     something starting with __ and the normal name is an alias.  */
16777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16778 choke me
16779 #else
16780 char (*f) () = $ac_func;
16781 #endif
16782 #ifdef __cplusplus
16783 }
16784 #endif
16785
16786 int
16787 main ()
16788 {
16789 return f != $ac_func;
16790   ;
16791   return 0;
16792 }
16793 _ACEOF
16794 rm -f conftest.$ac_objext conftest$ac_exeext
16795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16796   (eval $ac_link) 2>conftest.er1
16797   ac_status=$?
16798   grep -v '^ *+' conftest.er1 >conftest.err
16799   rm -f conftest.er1
16800   cat conftest.err >&5
16801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802   (exit $ac_status); } &&
16803          { ac_try='test -z "$ac_c_werror_flag"
16804                          || test ! -s conftest.err'
16805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806   (eval $ac_try) 2>&5
16807   ac_status=$?
16808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809   (exit $ac_status); }; } &&
16810          { ac_try='test -s conftest$ac_exeext'
16811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812   (eval $ac_try) 2>&5
16813   ac_status=$?
16814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815   (exit $ac_status); }; }; then
16816   eval "$as_ac_var=yes"
16817 else
16818   echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.$ac_ext >&5
16820
16821 eval "$as_ac_var=no"
16822 fi
16823 rm -f conftest.err conftest.$ac_objext \
16824       conftest$ac_exeext conftest.$ac_ext
16825 fi
16826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16828 if test `eval echo '${'$as_ac_var'}'` = yes; then
16829   cat >>confdefs.h <<_ACEOF
16830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16831 _ACEOF
16832
16833 fi
16834 done
16835
16836   else
16837
16838   echo "$as_me:$LINENO: checking for _modf declaration" >&5
16839 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16840   if test x${glibcxx_cv_func__modf_use+set} != xset; then
16841     if test "${glibcxx_cv_func__modf_use+set}" = set; then
16842   echo $ECHO_N "(cached) $ECHO_C" >&6
16843 else
16844
16845
16846
16847       ac_ext=cc
16848 ac_cpp='$CXXCPP $CPPFLAGS'
16849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16852
16853       cat >conftest.$ac_ext <<_ACEOF
16854 /* confdefs.h.  */
16855 _ACEOF
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h.  */
16859 #include <math.h>
16860 int
16861 main ()
16862 {
16863  _modf(0, 0);
16864   ;
16865   return 0;
16866 }
16867 _ACEOF
16868 rm -f conftest.$ac_objext
16869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16870   (eval $ac_compile) 2>conftest.er1
16871   ac_status=$?
16872   grep -v '^ *+' conftest.er1 >conftest.err
16873   rm -f conftest.er1
16874   cat conftest.err >&5
16875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876   (exit $ac_status); } &&
16877          { ac_try='test -z "$ac_cxx_werror_flag"
16878                          || test ! -s conftest.err'
16879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880   (eval $ac_try) 2>&5
16881   ac_status=$?
16882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883   (exit $ac_status); }; } &&
16884          { ac_try='test -s conftest.$ac_objext'
16885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16886   (eval $ac_try) 2>&5
16887   ac_status=$?
16888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889   (exit $ac_status); }; }; then
16890   glibcxx_cv_func__modf_use=yes
16891 else
16892   echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.$ac_ext >&5
16894
16895 glibcxx_cv_func__modf_use=no
16896 fi
16897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16898       ac_ext=c
16899 ac_cpp='$CPP $CPPFLAGS'
16900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16903
16904
16905 fi
16906
16907   fi
16908   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16909 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16910
16911     if test x$glibcxx_cv_func__modf_use = x"yes"; then
16912
16913 for ac_func in _modf
16914 do
16915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16916 echo "$as_me:$LINENO: checking for $ac_func" >&5
16917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16918 if eval "test \"\${$as_ac_var+set}\" = set"; then
16919   echo $ECHO_N "(cached) $ECHO_C" >&6
16920 else
16921   if test x$gcc_no_link = xyes; then
16922   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16924    { (exit 1); exit 1; }; }
16925 fi
16926 cat >conftest.$ac_ext <<_ACEOF
16927 /* confdefs.h.  */
16928 _ACEOF
16929 cat confdefs.h >>conftest.$ac_ext
16930 cat >>conftest.$ac_ext <<_ACEOF
16931 /* end confdefs.h.  */
16932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16933    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16934 #define $ac_func innocuous_$ac_func
16935
16936 /* System header to define __stub macros and hopefully few prototypes,
16937     which can conflict with char $ac_func (); below.
16938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16939     <limits.h> exists even on freestanding compilers.  */
16940
16941 #ifdef __STDC__
16942 # include <limits.h>
16943 #else
16944 # include <assert.h>
16945 #endif
16946
16947 #undef $ac_func
16948
16949 /* Override any gcc2 internal prototype to avoid an error.  */
16950 #ifdef __cplusplus
16951 extern "C"
16952 {
16953 #endif
16954 /* We use char because int might match the return type of a gcc2
16955    builtin and then its argument prototype would still apply.  */
16956 char $ac_func ();
16957 /* The GNU C library defines this for functions which it implements
16958     to always fail with ENOSYS.  Some functions are actually named
16959     something starting with __ and the normal name is an alias.  */
16960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16961 choke me
16962 #else
16963 char (*f) () = $ac_func;
16964 #endif
16965 #ifdef __cplusplus
16966 }
16967 #endif
16968
16969 int
16970 main ()
16971 {
16972 return f != $ac_func;
16973   ;
16974   return 0;
16975 }
16976 _ACEOF
16977 rm -f conftest.$ac_objext conftest$ac_exeext
16978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16979   (eval $ac_link) 2>conftest.er1
16980   ac_status=$?
16981   grep -v '^ *+' conftest.er1 >conftest.err
16982   rm -f conftest.er1
16983   cat conftest.err >&5
16984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985   (exit $ac_status); } &&
16986          { ac_try='test -z "$ac_c_werror_flag"
16987                          || test ! -s conftest.err'
16988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989   (eval $ac_try) 2>&5
16990   ac_status=$?
16991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992   (exit $ac_status); }; } &&
16993          { ac_try='test -s conftest$ac_exeext'
16994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995   (eval $ac_try) 2>&5
16996   ac_status=$?
16997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998   (exit $ac_status); }; }; then
16999   eval "$as_ac_var=yes"
17000 else
17001   echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17003
17004 eval "$as_ac_var=no"
17005 fi
17006 rm -f conftest.err conftest.$ac_objext \
17007       conftest$ac_exeext conftest.$ac_ext
17008 fi
17009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17011 if test `eval echo '${'$as_ac_var'}'` = yes; then
17012   cat >>confdefs.h <<_ACEOF
17013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17014 _ACEOF
17015
17016 fi
17017 done
17018
17019     fi
17020   fi
17021
17022
17023
17024
17025
17026
17027   echo "$as_me:$LINENO: checking for powf declaration" >&5
17028 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17029   if test x${glibcxx_cv_func_powf_use+set} != xset; then
17030     if test "${glibcxx_cv_func_powf_use+set}" = set; then
17031   echo $ECHO_N "(cached) $ECHO_C" >&6
17032 else
17033
17034
17035
17036       ac_ext=cc
17037 ac_cpp='$CXXCPP $CPPFLAGS'
17038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17041
17042       cat >conftest.$ac_ext <<_ACEOF
17043 /* confdefs.h.  */
17044 _ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h.  */
17048 #include <math.h>
17049 int
17050 main ()
17051 {
17052  powf(0, 0);
17053   ;
17054   return 0;
17055 }
17056 _ACEOF
17057 rm -f conftest.$ac_objext
17058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17059   (eval $ac_compile) 2>conftest.er1
17060   ac_status=$?
17061   grep -v '^ *+' conftest.er1 >conftest.err
17062   rm -f conftest.er1
17063   cat conftest.err >&5
17064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065   (exit $ac_status); } &&
17066          { ac_try='test -z "$ac_cxx_werror_flag"
17067                          || test ! -s conftest.err'
17068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069   (eval $ac_try) 2>&5
17070   ac_status=$?
17071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072   (exit $ac_status); }; } &&
17073          { ac_try='test -s conftest.$ac_objext'
17074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075   (eval $ac_try) 2>&5
17076   ac_status=$?
17077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078   (exit $ac_status); }; }; then
17079   glibcxx_cv_func_powf_use=yes
17080 else
17081   echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17083
17084 glibcxx_cv_func_powf_use=no
17085 fi
17086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17087       ac_ext=c
17088 ac_cpp='$CPP $CPPFLAGS'
17089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17092
17093
17094 fi
17095
17096   fi
17097   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17098 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17099
17100   if test x$glibcxx_cv_func_powf_use = x"yes"; then
17101
17102 for ac_func in powf
17103 do
17104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17105 echo "$as_me:$LINENO: checking for $ac_func" >&5
17106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17107 if eval "test \"\${$as_ac_var+set}\" = set"; then
17108   echo $ECHO_N "(cached) $ECHO_C" >&6
17109 else
17110   if test x$gcc_no_link = xyes; then
17111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17113    { (exit 1); exit 1; }; }
17114 fi
17115 cat >conftest.$ac_ext <<_ACEOF
17116 /* confdefs.h.  */
17117 _ACEOF
17118 cat confdefs.h >>conftest.$ac_ext
17119 cat >>conftest.$ac_ext <<_ACEOF
17120 /* end confdefs.h.  */
17121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17122    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17123 #define $ac_func innocuous_$ac_func
17124
17125 /* System header to define __stub macros and hopefully few prototypes,
17126     which can conflict with char $ac_func (); below.
17127     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17128     <limits.h> exists even on freestanding compilers.  */
17129
17130 #ifdef __STDC__
17131 # include <limits.h>
17132 #else
17133 # include <assert.h>
17134 #endif
17135
17136 #undef $ac_func
17137
17138 /* Override any gcc2 internal prototype to avoid an error.  */
17139 #ifdef __cplusplus
17140 extern "C"
17141 {
17142 #endif
17143 /* We use char because int might match the return type of a gcc2
17144    builtin and then its argument prototype would still apply.  */
17145 char $ac_func ();
17146 /* The GNU C library defines this for functions which it implements
17147     to always fail with ENOSYS.  Some functions are actually named
17148     something starting with __ and the normal name is an alias.  */
17149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17150 choke me
17151 #else
17152 char (*f) () = $ac_func;
17153 #endif
17154 #ifdef __cplusplus
17155 }
17156 #endif
17157
17158 int
17159 main ()
17160 {
17161 return f != $ac_func;
17162   ;
17163   return 0;
17164 }
17165 _ACEOF
17166 rm -f conftest.$ac_objext conftest$ac_exeext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17168   (eval $ac_link) 2>conftest.er1
17169   ac_status=$?
17170   grep -v '^ *+' conftest.er1 >conftest.err
17171   rm -f conftest.er1
17172   cat conftest.err >&5
17173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174   (exit $ac_status); } &&
17175          { ac_try='test -z "$ac_c_werror_flag"
17176                          || test ! -s conftest.err'
17177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178   (eval $ac_try) 2>&5
17179   ac_status=$?
17180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181   (exit $ac_status); }; } &&
17182          { ac_try='test -s conftest$ac_exeext'
17183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17184   (eval $ac_try) 2>&5
17185   ac_status=$?
17186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187   (exit $ac_status); }; }; then
17188   eval "$as_ac_var=yes"
17189 else
17190   echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17192
17193 eval "$as_ac_var=no"
17194 fi
17195 rm -f conftest.err conftest.$ac_objext \
17196       conftest$ac_exeext conftest.$ac_ext
17197 fi
17198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17200 if test `eval echo '${'$as_ac_var'}'` = yes; then
17201   cat >>confdefs.h <<_ACEOF
17202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17203 _ACEOF
17204
17205 fi
17206 done
17207
17208   else
17209
17210   echo "$as_me:$LINENO: checking for _powf declaration" >&5
17211 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17212   if test x${glibcxx_cv_func__powf_use+set} != xset; then
17213     if test "${glibcxx_cv_func__powf_use+set}" = set; then
17214   echo $ECHO_N "(cached) $ECHO_C" >&6
17215 else
17216
17217
17218
17219       ac_ext=cc
17220 ac_cpp='$CXXCPP $CPPFLAGS'
17221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17224
17225       cat >conftest.$ac_ext <<_ACEOF
17226 /* confdefs.h.  */
17227 _ACEOF
17228 cat confdefs.h >>conftest.$ac_ext
17229 cat >>conftest.$ac_ext <<_ACEOF
17230 /* end confdefs.h.  */
17231 #include <math.h>
17232 int
17233 main ()
17234 {
17235  _powf(0, 0);
17236   ;
17237   return 0;
17238 }
17239 _ACEOF
17240 rm -f conftest.$ac_objext
17241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17242   (eval $ac_compile) 2>conftest.er1
17243   ac_status=$?
17244   grep -v '^ *+' conftest.er1 >conftest.err
17245   rm -f conftest.er1
17246   cat conftest.err >&5
17247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248   (exit $ac_status); } &&
17249          { ac_try='test -z "$ac_cxx_werror_flag"
17250                          || test ! -s conftest.err'
17251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252   (eval $ac_try) 2>&5
17253   ac_status=$?
17254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255   (exit $ac_status); }; } &&
17256          { ac_try='test -s conftest.$ac_objext'
17257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258   (eval $ac_try) 2>&5
17259   ac_status=$?
17260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261   (exit $ac_status); }; }; then
17262   glibcxx_cv_func__powf_use=yes
17263 else
17264   echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17266
17267 glibcxx_cv_func__powf_use=no
17268 fi
17269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17270       ac_ext=c
17271 ac_cpp='$CPP $CPPFLAGS'
17272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17275
17276
17277 fi
17278
17279   fi
17280   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17281 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17282
17283     if test x$glibcxx_cv_func__powf_use = x"yes"; then
17284
17285 for ac_func in _powf
17286 do
17287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17288 echo "$as_me:$LINENO: checking for $ac_func" >&5
17289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17290 if eval "test \"\${$as_ac_var+set}\" = set"; then
17291   echo $ECHO_N "(cached) $ECHO_C" >&6
17292 else
17293   if test x$gcc_no_link = xyes; then
17294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17296    { (exit 1); exit 1; }; }
17297 fi
17298 cat >conftest.$ac_ext <<_ACEOF
17299 /* confdefs.h.  */
17300 _ACEOF
17301 cat confdefs.h >>conftest.$ac_ext
17302 cat >>conftest.$ac_ext <<_ACEOF
17303 /* end confdefs.h.  */
17304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17305    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17306 #define $ac_func innocuous_$ac_func
17307
17308 /* System header to define __stub macros and hopefully few prototypes,
17309     which can conflict with char $ac_func (); below.
17310     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17311     <limits.h> exists even on freestanding compilers.  */
17312
17313 #ifdef __STDC__
17314 # include <limits.h>
17315 #else
17316 # include <assert.h>
17317 #endif
17318
17319 #undef $ac_func
17320
17321 /* Override any gcc2 internal prototype to avoid an error.  */
17322 #ifdef __cplusplus
17323 extern "C"
17324 {
17325 #endif
17326 /* We use char because int might match the return type of a gcc2
17327    builtin and then its argument prototype would still apply.  */
17328 char $ac_func ();
17329 /* The GNU C library defines this for functions which it implements
17330     to always fail with ENOSYS.  Some functions are actually named
17331     something starting with __ and the normal name is an alias.  */
17332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17333 choke me
17334 #else
17335 char (*f) () = $ac_func;
17336 #endif
17337 #ifdef __cplusplus
17338 }
17339 #endif
17340
17341 int
17342 main ()
17343 {
17344 return f != $ac_func;
17345   ;
17346   return 0;
17347 }
17348 _ACEOF
17349 rm -f conftest.$ac_objext conftest$ac_exeext
17350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17351   (eval $ac_link) 2>conftest.er1
17352   ac_status=$?
17353   grep -v '^ *+' conftest.er1 >conftest.err
17354   rm -f conftest.er1
17355   cat conftest.err >&5
17356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357   (exit $ac_status); } &&
17358          { ac_try='test -z "$ac_c_werror_flag"
17359                          || test ! -s conftest.err'
17360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361   (eval $ac_try) 2>&5
17362   ac_status=$?
17363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364   (exit $ac_status); }; } &&
17365          { ac_try='test -s conftest$ac_exeext'
17366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17367   (eval $ac_try) 2>&5
17368   ac_status=$?
17369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370   (exit $ac_status); }; }; then
17371   eval "$as_ac_var=yes"
17372 else
17373   echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5
17375
17376 eval "$as_ac_var=no"
17377 fi
17378 rm -f conftest.err conftest.$ac_objext \
17379       conftest$ac_exeext conftest.$ac_ext
17380 fi
17381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17383 if test `eval echo '${'$as_ac_var'}'` = yes; then
17384   cat >>confdefs.h <<_ACEOF
17385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17386 _ACEOF
17387
17388 fi
17389 done
17390
17391     fi
17392   fi
17393
17394
17395
17396
17397
17398
17399   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17400 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17401   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17402     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17403   echo $ECHO_N "(cached) $ECHO_C" >&6
17404 else
17405
17406
17407
17408       ac_ext=cc
17409 ac_cpp='$CXXCPP $CPPFLAGS'
17410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17413
17414       cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h.  */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h.  */
17420 #include <math.h>
17421                       #ifdef HAVE_IEEEFP_H
17422                       #include <ieeefp.h>
17423                       #endif
17424
17425 int
17426 main ()
17427 {
17428  sqrtf(0);
17429   ;
17430   return 0;
17431 }
17432 _ACEOF
17433 rm -f conftest.$ac_objext
17434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17435   (eval $ac_compile) 2>conftest.er1
17436   ac_status=$?
17437   grep -v '^ *+' conftest.er1 >conftest.err
17438   rm -f conftest.er1
17439   cat conftest.err >&5
17440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441   (exit $ac_status); } &&
17442          { ac_try='test -z "$ac_cxx_werror_flag"
17443                          || test ! -s conftest.err'
17444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17445   (eval $ac_try) 2>&5
17446   ac_status=$?
17447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448   (exit $ac_status); }; } &&
17449          { ac_try='test -s conftest.$ac_objext'
17450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451   (eval $ac_try) 2>&5
17452   ac_status=$?
17453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454   (exit $ac_status); }; }; then
17455   glibcxx_cv_func_sqrtf_use=yes
17456 else
17457   echo "$as_me: failed program was:" >&5
17458 sed 's/^/| /' conftest.$ac_ext >&5
17459
17460 glibcxx_cv_func_sqrtf_use=no
17461 fi
17462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17463       ac_ext=c
17464 ac_cpp='$CPP $CPPFLAGS'
17465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17468
17469
17470 fi
17471
17472   fi
17473   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17474 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17475
17476   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17477
17478 for ac_func in sqrtf
17479 do
17480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17481 echo "$as_me:$LINENO: checking for $ac_func" >&5
17482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17483 if eval "test \"\${$as_ac_var+set}\" = set"; then
17484   echo $ECHO_N "(cached) $ECHO_C" >&6
17485 else
17486   if test x$gcc_no_link = xyes; then
17487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17489    { (exit 1); exit 1; }; }
17490 fi
17491 cat >conftest.$ac_ext <<_ACEOF
17492 /* confdefs.h.  */
17493 _ACEOF
17494 cat confdefs.h >>conftest.$ac_ext
17495 cat >>conftest.$ac_ext <<_ACEOF
17496 /* end confdefs.h.  */
17497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17498    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17499 #define $ac_func innocuous_$ac_func
17500
17501 /* System header to define __stub macros and hopefully few prototypes,
17502     which can conflict with char $ac_func (); below.
17503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17504     <limits.h> exists even on freestanding compilers.  */
17505
17506 #ifdef __STDC__
17507 # include <limits.h>
17508 #else
17509 # include <assert.h>
17510 #endif
17511
17512 #undef $ac_func
17513
17514 /* Override any gcc2 internal prototype to avoid an error.  */
17515 #ifdef __cplusplus
17516 extern "C"
17517 {
17518 #endif
17519 /* We use char because int might match the return type of a gcc2
17520    builtin and then its argument prototype would still apply.  */
17521 char $ac_func ();
17522 /* The GNU C library defines this for functions which it implements
17523     to always fail with ENOSYS.  Some functions are actually named
17524     something starting with __ and the normal name is an alias.  */
17525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17526 choke me
17527 #else
17528 char (*f) () = $ac_func;
17529 #endif
17530 #ifdef __cplusplus
17531 }
17532 #endif
17533
17534 int
17535 main ()
17536 {
17537 return f != $ac_func;
17538   ;
17539   return 0;
17540 }
17541 _ACEOF
17542 rm -f conftest.$ac_objext conftest$ac_exeext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17544   (eval $ac_link) 2>conftest.er1
17545   ac_status=$?
17546   grep -v '^ *+' conftest.er1 >conftest.err
17547   rm -f conftest.er1
17548   cat conftest.err >&5
17549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550   (exit $ac_status); } &&
17551          { ac_try='test -z "$ac_c_werror_flag"
17552                          || test ! -s conftest.err'
17553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554   (eval $ac_try) 2>&5
17555   ac_status=$?
17556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557   (exit $ac_status); }; } &&
17558          { ac_try='test -s conftest$ac_exeext'
17559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560   (eval $ac_try) 2>&5
17561   ac_status=$?
17562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563   (exit $ac_status); }; }; then
17564   eval "$as_ac_var=yes"
17565 else
17566   echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17568
17569 eval "$as_ac_var=no"
17570 fi
17571 rm -f conftest.err conftest.$ac_objext \
17572       conftest$ac_exeext conftest.$ac_ext
17573 fi
17574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17576 if test `eval echo '${'$as_ac_var'}'` = yes; then
17577   cat >>confdefs.h <<_ACEOF
17578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17579 _ACEOF
17580
17581 fi
17582 done
17583
17584   else
17585
17586   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17587 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17588   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17589     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17590   echo $ECHO_N "(cached) $ECHO_C" >&6
17591 else
17592
17593
17594
17595       ac_ext=cc
17596 ac_cpp='$CXXCPP $CPPFLAGS'
17597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17600
17601       cat >conftest.$ac_ext <<_ACEOF
17602 /* confdefs.h.  */
17603 _ACEOF
17604 cat confdefs.h >>conftest.$ac_ext
17605 cat >>conftest.$ac_ext <<_ACEOF
17606 /* end confdefs.h.  */
17607 #include <math.h>
17608                       #ifdef HAVE_IEEEFP_H
17609                       #include <ieeefp.h>
17610                       #endif
17611
17612 int
17613 main ()
17614 {
17615  _sqrtf(0);
17616   ;
17617   return 0;
17618 }
17619 _ACEOF
17620 rm -f conftest.$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622   (eval $ac_compile) 2>conftest.er1
17623   ac_status=$?
17624   grep -v '^ *+' conftest.er1 >conftest.err
17625   rm -f conftest.er1
17626   cat conftest.err >&5
17627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628   (exit $ac_status); } &&
17629          { ac_try='test -z "$ac_cxx_werror_flag"
17630                          || test ! -s conftest.err'
17631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632   (eval $ac_try) 2>&5
17633   ac_status=$?
17634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635   (exit $ac_status); }; } &&
17636          { ac_try='test -s conftest.$ac_objext'
17637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17638   (eval $ac_try) 2>&5
17639   ac_status=$?
17640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641   (exit $ac_status); }; }; then
17642   glibcxx_cv_func__sqrtf_use=yes
17643 else
17644   echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.$ac_ext >&5
17646
17647 glibcxx_cv_func__sqrtf_use=no
17648 fi
17649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17650       ac_ext=c
17651 ac_cpp='$CPP $CPPFLAGS'
17652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17655
17656
17657 fi
17658
17659   fi
17660   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17661 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17662
17663     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17664
17665 for ac_func in _sqrtf
17666 do
17667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17668 echo "$as_me:$LINENO: checking for $ac_func" >&5
17669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17670 if eval "test \"\${$as_ac_var+set}\" = set"; then
17671   echo $ECHO_N "(cached) $ECHO_C" >&6
17672 else
17673   if test x$gcc_no_link = xyes; then
17674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17676    { (exit 1); exit 1; }; }
17677 fi
17678 cat >conftest.$ac_ext <<_ACEOF
17679 /* confdefs.h.  */
17680 _ACEOF
17681 cat confdefs.h >>conftest.$ac_ext
17682 cat >>conftest.$ac_ext <<_ACEOF
17683 /* end confdefs.h.  */
17684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17686 #define $ac_func innocuous_$ac_func
17687
17688 /* System header to define __stub macros and hopefully few prototypes,
17689     which can conflict with char $ac_func (); below.
17690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17691     <limits.h> exists even on freestanding compilers.  */
17692
17693 #ifdef __STDC__
17694 # include <limits.h>
17695 #else
17696 # include <assert.h>
17697 #endif
17698
17699 #undef $ac_func
17700
17701 /* Override any gcc2 internal prototype to avoid an error.  */
17702 #ifdef __cplusplus
17703 extern "C"
17704 {
17705 #endif
17706 /* We use char because int might match the return type of a gcc2
17707    builtin and then its argument prototype would still apply.  */
17708 char $ac_func ();
17709 /* The GNU C library defines this for functions which it implements
17710     to always fail with ENOSYS.  Some functions are actually named
17711     something starting with __ and the normal name is an alias.  */
17712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17713 choke me
17714 #else
17715 char (*f) () = $ac_func;
17716 #endif
17717 #ifdef __cplusplus
17718 }
17719 #endif
17720
17721 int
17722 main ()
17723 {
17724 return f != $ac_func;
17725   ;
17726   return 0;
17727 }
17728 _ACEOF
17729 rm -f conftest.$ac_objext conftest$ac_exeext
17730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17731   (eval $ac_link) 2>conftest.er1
17732   ac_status=$?
17733   grep -v '^ *+' conftest.er1 >conftest.err
17734   rm -f conftest.er1
17735   cat conftest.err >&5
17736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737   (exit $ac_status); } &&
17738          { ac_try='test -z "$ac_c_werror_flag"
17739                          || test ! -s conftest.err'
17740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17741   (eval $ac_try) 2>&5
17742   ac_status=$?
17743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744   (exit $ac_status); }; } &&
17745          { ac_try='test -s conftest$ac_exeext'
17746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747   (eval $ac_try) 2>&5
17748   ac_status=$?
17749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750   (exit $ac_status); }; }; then
17751   eval "$as_ac_var=yes"
17752 else
17753   echo "$as_me: failed program was:" >&5
17754 sed 's/^/| /' conftest.$ac_ext >&5
17755
17756 eval "$as_ac_var=no"
17757 fi
17758 rm -f conftest.err conftest.$ac_objext \
17759       conftest$ac_exeext conftest.$ac_ext
17760 fi
17761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17763 if test `eval echo '${'$as_ac_var'}'` = yes; then
17764   cat >>confdefs.h <<_ACEOF
17765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17766 _ACEOF
17767
17768 fi
17769 done
17770
17771     fi
17772   fi
17773
17774
17775
17776
17777
17778
17779   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17780 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17781   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17782     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17783   echo $ECHO_N "(cached) $ECHO_C" >&6
17784 else
17785
17786
17787
17788       ac_ext=cc
17789 ac_cpp='$CXXCPP $CPPFLAGS'
17790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17793
17794       cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h.  */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h.  */
17800 #include <math.h>
17801 int
17802 main ()
17803 {
17804  sincosf(0, 0, 0);
17805   ;
17806   return 0;
17807 }
17808 _ACEOF
17809 rm -f conftest.$ac_objext
17810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17811   (eval $ac_compile) 2>conftest.er1
17812   ac_status=$?
17813   grep -v '^ *+' conftest.er1 >conftest.err
17814   rm -f conftest.er1
17815   cat conftest.err >&5
17816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817   (exit $ac_status); } &&
17818          { ac_try='test -z "$ac_cxx_werror_flag"
17819                          || test ! -s conftest.err'
17820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821   (eval $ac_try) 2>&5
17822   ac_status=$?
17823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824   (exit $ac_status); }; } &&
17825          { ac_try='test -s conftest.$ac_objext'
17826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17827   (eval $ac_try) 2>&5
17828   ac_status=$?
17829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830   (exit $ac_status); }; }; then
17831   glibcxx_cv_func_sincosf_use=yes
17832 else
17833   echo "$as_me: failed program was:" >&5
17834 sed 's/^/| /' conftest.$ac_ext >&5
17835
17836 glibcxx_cv_func_sincosf_use=no
17837 fi
17838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17839       ac_ext=c
17840 ac_cpp='$CPP $CPPFLAGS'
17841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17844
17845
17846 fi
17847
17848   fi
17849   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17850 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17851
17852   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17853
17854 for ac_func in sincosf
17855 do
17856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17857 echo "$as_me:$LINENO: checking for $ac_func" >&5
17858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17859 if eval "test \"\${$as_ac_var+set}\" = set"; then
17860   echo $ECHO_N "(cached) $ECHO_C" >&6
17861 else
17862   if test x$gcc_no_link = xyes; then
17863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17865    { (exit 1); exit 1; }; }
17866 fi
17867 cat >conftest.$ac_ext <<_ACEOF
17868 /* confdefs.h.  */
17869 _ACEOF
17870 cat confdefs.h >>conftest.$ac_ext
17871 cat >>conftest.$ac_ext <<_ACEOF
17872 /* end confdefs.h.  */
17873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17875 #define $ac_func innocuous_$ac_func
17876
17877 /* System header to define __stub macros and hopefully few prototypes,
17878     which can conflict with char $ac_func (); below.
17879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17880     <limits.h> exists even on freestanding compilers.  */
17881
17882 #ifdef __STDC__
17883 # include <limits.h>
17884 #else
17885 # include <assert.h>
17886 #endif
17887
17888 #undef $ac_func
17889
17890 /* Override any gcc2 internal prototype to avoid an error.  */
17891 #ifdef __cplusplus
17892 extern "C"
17893 {
17894 #endif
17895 /* We use char because int might match the return type of a gcc2
17896    builtin and then its argument prototype would still apply.  */
17897 char $ac_func ();
17898 /* The GNU C library defines this for functions which it implements
17899     to always fail with ENOSYS.  Some functions are actually named
17900     something starting with __ and the normal name is an alias.  */
17901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17902 choke me
17903 #else
17904 char (*f) () = $ac_func;
17905 #endif
17906 #ifdef __cplusplus
17907 }
17908 #endif
17909
17910 int
17911 main ()
17912 {
17913 return f != $ac_func;
17914   ;
17915   return 0;
17916 }
17917 _ACEOF
17918 rm -f conftest.$ac_objext conftest$ac_exeext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17920   (eval $ac_link) 2>conftest.er1
17921   ac_status=$?
17922   grep -v '^ *+' conftest.er1 >conftest.err
17923   rm -f conftest.er1
17924   cat conftest.err >&5
17925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926   (exit $ac_status); } &&
17927          { ac_try='test -z "$ac_c_werror_flag"
17928                          || test ! -s conftest.err'
17929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930   (eval $ac_try) 2>&5
17931   ac_status=$?
17932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933   (exit $ac_status); }; } &&
17934          { ac_try='test -s conftest$ac_exeext'
17935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936   (eval $ac_try) 2>&5
17937   ac_status=$?
17938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939   (exit $ac_status); }; }; then
17940   eval "$as_ac_var=yes"
17941 else
17942   echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.$ac_ext >&5
17944
17945 eval "$as_ac_var=no"
17946 fi
17947 rm -f conftest.err conftest.$ac_objext \
17948       conftest$ac_exeext conftest.$ac_ext
17949 fi
17950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17952 if test `eval echo '${'$as_ac_var'}'` = yes; then
17953   cat >>confdefs.h <<_ACEOF
17954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17955 _ACEOF
17956
17957 fi
17958 done
17959
17960   else
17961
17962   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17963 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17964   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17965     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17966   echo $ECHO_N "(cached) $ECHO_C" >&6
17967 else
17968
17969
17970
17971       ac_ext=cc
17972 ac_cpp='$CXXCPP $CPPFLAGS'
17973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17976
17977       cat >conftest.$ac_ext <<_ACEOF
17978 /* confdefs.h.  */
17979 _ACEOF
17980 cat confdefs.h >>conftest.$ac_ext
17981 cat >>conftest.$ac_ext <<_ACEOF
17982 /* end confdefs.h.  */
17983 #include <math.h>
17984 int
17985 main ()
17986 {
17987  _sincosf(0, 0, 0);
17988   ;
17989   return 0;
17990 }
17991 _ACEOF
17992 rm -f conftest.$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994   (eval $ac_compile) 2>conftest.er1
17995   ac_status=$?
17996   grep -v '^ *+' conftest.er1 >conftest.err
17997   rm -f conftest.er1
17998   cat conftest.err >&5
17999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000   (exit $ac_status); } &&
18001          { ac_try='test -z "$ac_cxx_werror_flag"
18002                          || test ! -s conftest.err'
18003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004   (eval $ac_try) 2>&5
18005   ac_status=$?
18006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007   (exit $ac_status); }; } &&
18008          { ac_try='test -s conftest.$ac_objext'
18009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010   (eval $ac_try) 2>&5
18011   ac_status=$?
18012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013   (exit $ac_status); }; }; then
18014   glibcxx_cv_func__sincosf_use=yes
18015 else
18016   echo "$as_me: failed program was:" >&5
18017 sed 's/^/| /' conftest.$ac_ext >&5
18018
18019 glibcxx_cv_func__sincosf_use=no
18020 fi
18021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18022       ac_ext=c
18023 ac_cpp='$CPP $CPPFLAGS'
18024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18027
18028
18029 fi
18030
18031   fi
18032   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18033 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18034
18035     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18036
18037 for ac_func in _sincosf
18038 do
18039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18040 echo "$as_me:$LINENO: checking for $ac_func" >&5
18041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18042 if eval "test \"\${$as_ac_var+set}\" = set"; then
18043   echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045   if test x$gcc_no_link = xyes; then
18046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18048    { (exit 1); exit 1; }; }
18049 fi
18050 cat >conftest.$ac_ext <<_ACEOF
18051 /* confdefs.h.  */
18052 _ACEOF
18053 cat confdefs.h >>conftest.$ac_ext
18054 cat >>conftest.$ac_ext <<_ACEOF
18055 /* end confdefs.h.  */
18056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18058 #define $ac_func innocuous_$ac_func
18059
18060 /* System header to define __stub macros and hopefully few prototypes,
18061     which can conflict with char $ac_func (); below.
18062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18063     <limits.h> exists even on freestanding compilers.  */
18064
18065 #ifdef __STDC__
18066 # include <limits.h>
18067 #else
18068 # include <assert.h>
18069 #endif
18070
18071 #undef $ac_func
18072
18073 /* Override any gcc2 internal prototype to avoid an error.  */
18074 #ifdef __cplusplus
18075 extern "C"
18076 {
18077 #endif
18078 /* We use char because int might match the return type of a gcc2
18079    builtin and then its argument prototype would still apply.  */
18080 char $ac_func ();
18081 /* The GNU C library defines this for functions which it implements
18082     to always fail with ENOSYS.  Some functions are actually named
18083     something starting with __ and the normal name is an alias.  */
18084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18085 choke me
18086 #else
18087 char (*f) () = $ac_func;
18088 #endif
18089 #ifdef __cplusplus
18090 }
18091 #endif
18092
18093 int
18094 main ()
18095 {
18096 return f != $ac_func;
18097   ;
18098   return 0;
18099 }
18100 _ACEOF
18101 rm -f conftest.$ac_objext conftest$ac_exeext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18103   (eval $ac_link) 2>conftest.er1
18104   ac_status=$?
18105   grep -v '^ *+' conftest.er1 >conftest.err
18106   rm -f conftest.er1
18107   cat conftest.err >&5
18108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109   (exit $ac_status); } &&
18110          { ac_try='test -z "$ac_c_werror_flag"
18111                          || test ! -s conftest.err'
18112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113   (eval $ac_try) 2>&5
18114   ac_status=$?
18115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116   (exit $ac_status); }; } &&
18117          { ac_try='test -s conftest$ac_exeext'
18118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119   (eval $ac_try) 2>&5
18120   ac_status=$?
18121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122   (exit $ac_status); }; }; then
18123   eval "$as_ac_var=yes"
18124 else
18125   echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.$ac_ext >&5
18127
18128 eval "$as_ac_var=no"
18129 fi
18130 rm -f conftest.err conftest.$ac_objext \
18131       conftest$ac_exeext conftest.$ac_ext
18132 fi
18133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18135 if test `eval echo '${'$as_ac_var'}'` = yes; then
18136   cat >>confdefs.h <<_ACEOF
18137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18138 _ACEOF
18139
18140 fi
18141 done
18142
18143     fi
18144   fi
18145
18146
18147
18148
18149
18150
18151   echo "$as_me:$LINENO: checking for finitef declaration" >&5
18152 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18153   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18154     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18155   echo $ECHO_N "(cached) $ECHO_C" >&6
18156 else
18157
18158
18159
18160       ac_ext=cc
18161 ac_cpp='$CXXCPP $CPPFLAGS'
18162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18165
18166       cat >conftest.$ac_ext <<_ACEOF
18167 /* confdefs.h.  */
18168 _ACEOF
18169 cat confdefs.h >>conftest.$ac_ext
18170 cat >>conftest.$ac_ext <<_ACEOF
18171 /* end confdefs.h.  */
18172 #include <math.h>
18173                       #ifdef HAVE_IEEEFP_H
18174                       #include <ieeefp.h>
18175                       #endif
18176
18177 int
18178 main ()
18179 {
18180  finitef(0);
18181   ;
18182   return 0;
18183 }
18184 _ACEOF
18185 rm -f conftest.$ac_objext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18187   (eval $ac_compile) 2>conftest.er1
18188   ac_status=$?
18189   grep -v '^ *+' conftest.er1 >conftest.err
18190   rm -f conftest.er1
18191   cat conftest.err >&5
18192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193   (exit $ac_status); } &&
18194          { ac_try='test -z "$ac_cxx_werror_flag"
18195                          || test ! -s conftest.err'
18196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197   (eval $ac_try) 2>&5
18198   ac_status=$?
18199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200   (exit $ac_status); }; } &&
18201          { ac_try='test -s conftest.$ac_objext'
18202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203   (eval $ac_try) 2>&5
18204   ac_status=$?
18205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206   (exit $ac_status); }; }; then
18207   glibcxx_cv_func_finitef_use=yes
18208 else
18209   echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18211
18212 glibcxx_cv_func_finitef_use=no
18213 fi
18214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18215       ac_ext=c
18216 ac_cpp='$CPP $CPPFLAGS'
18217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18220
18221
18222 fi
18223
18224   fi
18225   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18226 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18227
18228   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18229
18230 for ac_func in finitef
18231 do
18232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18233 echo "$as_me:$LINENO: checking for $ac_func" >&5
18234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18235 if eval "test \"\${$as_ac_var+set}\" = set"; then
18236   echo $ECHO_N "(cached) $ECHO_C" >&6
18237 else
18238   if test x$gcc_no_link = xyes; then
18239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18241    { (exit 1); exit 1; }; }
18242 fi
18243 cat >conftest.$ac_ext <<_ACEOF
18244 /* confdefs.h.  */
18245 _ACEOF
18246 cat confdefs.h >>conftest.$ac_ext
18247 cat >>conftest.$ac_ext <<_ACEOF
18248 /* end confdefs.h.  */
18249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18250    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18251 #define $ac_func innocuous_$ac_func
18252
18253 /* System header to define __stub macros and hopefully few prototypes,
18254     which can conflict with char $ac_func (); below.
18255     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18256     <limits.h> exists even on freestanding compilers.  */
18257
18258 #ifdef __STDC__
18259 # include <limits.h>
18260 #else
18261 # include <assert.h>
18262 #endif
18263
18264 #undef $ac_func
18265
18266 /* Override any gcc2 internal prototype to avoid an error.  */
18267 #ifdef __cplusplus
18268 extern "C"
18269 {
18270 #endif
18271 /* We use char because int might match the return type of a gcc2
18272    builtin and then its argument prototype would still apply.  */
18273 char $ac_func ();
18274 /* The GNU C library defines this for functions which it implements
18275     to always fail with ENOSYS.  Some functions are actually named
18276     something starting with __ and the normal name is an alias.  */
18277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18278 choke me
18279 #else
18280 char (*f) () = $ac_func;
18281 #endif
18282 #ifdef __cplusplus
18283 }
18284 #endif
18285
18286 int
18287 main ()
18288 {
18289 return f != $ac_func;
18290   ;
18291   return 0;
18292 }
18293 _ACEOF
18294 rm -f conftest.$ac_objext conftest$ac_exeext
18295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18296   (eval $ac_link) 2>conftest.er1
18297   ac_status=$?
18298   grep -v '^ *+' conftest.er1 >conftest.err
18299   rm -f conftest.er1
18300   cat conftest.err >&5
18301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302   (exit $ac_status); } &&
18303          { ac_try='test -z "$ac_c_werror_flag"
18304                          || test ! -s conftest.err'
18305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306   (eval $ac_try) 2>&5
18307   ac_status=$?
18308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309   (exit $ac_status); }; } &&
18310          { ac_try='test -s conftest$ac_exeext'
18311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312   (eval $ac_try) 2>&5
18313   ac_status=$?
18314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315   (exit $ac_status); }; }; then
18316   eval "$as_ac_var=yes"
18317 else
18318   echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.$ac_ext >&5
18320
18321 eval "$as_ac_var=no"
18322 fi
18323 rm -f conftest.err conftest.$ac_objext \
18324       conftest$ac_exeext conftest.$ac_ext
18325 fi
18326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18328 if test `eval echo '${'$as_ac_var'}'` = yes; then
18329   cat >>confdefs.h <<_ACEOF
18330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18331 _ACEOF
18332
18333 fi
18334 done
18335
18336   else
18337
18338   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18339 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18340   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18341     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18342   echo $ECHO_N "(cached) $ECHO_C" >&6
18343 else
18344
18345
18346
18347       ac_ext=cc
18348 ac_cpp='$CXXCPP $CPPFLAGS'
18349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18352
18353       cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h.  */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h.  */
18359 #include <math.h>
18360                       #ifdef HAVE_IEEEFP_H
18361                       #include <ieeefp.h>
18362                       #endif
18363
18364 int
18365 main ()
18366 {
18367  _finitef(0);
18368   ;
18369   return 0;
18370 }
18371 _ACEOF
18372 rm -f conftest.$ac_objext
18373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18374   (eval $ac_compile) 2>conftest.er1
18375   ac_status=$?
18376   grep -v '^ *+' conftest.er1 >conftest.err
18377   rm -f conftest.er1
18378   cat conftest.err >&5
18379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380   (exit $ac_status); } &&
18381          { ac_try='test -z "$ac_cxx_werror_flag"
18382                          || test ! -s conftest.err'
18383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384   (eval $ac_try) 2>&5
18385   ac_status=$?
18386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387   (exit $ac_status); }; } &&
18388          { ac_try='test -s conftest.$ac_objext'
18389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390   (eval $ac_try) 2>&5
18391   ac_status=$?
18392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393   (exit $ac_status); }; }; then
18394   glibcxx_cv_func__finitef_use=yes
18395 else
18396   echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18398
18399 glibcxx_cv_func__finitef_use=no
18400 fi
18401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18402       ac_ext=c
18403 ac_cpp='$CPP $CPPFLAGS'
18404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18407
18408
18409 fi
18410
18411   fi
18412   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18413 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18414
18415     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18416
18417 for ac_func in _finitef
18418 do
18419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18420 echo "$as_me:$LINENO: checking for $ac_func" >&5
18421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18422 if eval "test \"\${$as_ac_var+set}\" = set"; then
18423   echo $ECHO_N "(cached) $ECHO_C" >&6
18424 else
18425   if test x$gcc_no_link = xyes; then
18426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18428    { (exit 1); exit 1; }; }
18429 fi
18430 cat >conftest.$ac_ext <<_ACEOF
18431 /* confdefs.h.  */
18432 _ACEOF
18433 cat confdefs.h >>conftest.$ac_ext
18434 cat >>conftest.$ac_ext <<_ACEOF
18435 /* end confdefs.h.  */
18436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18438 #define $ac_func innocuous_$ac_func
18439
18440 /* System header to define __stub macros and hopefully few prototypes,
18441     which can conflict with char $ac_func (); below.
18442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18443     <limits.h> exists even on freestanding compilers.  */
18444
18445 #ifdef __STDC__
18446 # include <limits.h>
18447 #else
18448 # include <assert.h>
18449 #endif
18450
18451 #undef $ac_func
18452
18453 /* Override any gcc2 internal prototype to avoid an error.  */
18454 #ifdef __cplusplus
18455 extern "C"
18456 {
18457 #endif
18458 /* We use char because int might match the return type of a gcc2
18459    builtin and then its argument prototype would still apply.  */
18460 char $ac_func ();
18461 /* The GNU C library defines this for functions which it implements
18462     to always fail with ENOSYS.  Some functions are actually named
18463     something starting with __ and the normal name is an alias.  */
18464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18465 choke me
18466 #else
18467 char (*f) () = $ac_func;
18468 #endif
18469 #ifdef __cplusplus
18470 }
18471 #endif
18472
18473 int
18474 main ()
18475 {
18476 return f != $ac_func;
18477   ;
18478   return 0;
18479 }
18480 _ACEOF
18481 rm -f conftest.$ac_objext conftest$ac_exeext
18482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18483   (eval $ac_link) 2>conftest.er1
18484   ac_status=$?
18485   grep -v '^ *+' conftest.er1 >conftest.err
18486   rm -f conftest.er1
18487   cat conftest.err >&5
18488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489   (exit $ac_status); } &&
18490          { ac_try='test -z "$ac_c_werror_flag"
18491                          || test ! -s conftest.err'
18492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493   (eval $ac_try) 2>&5
18494   ac_status=$?
18495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496   (exit $ac_status); }; } &&
18497          { ac_try='test -s conftest$ac_exeext'
18498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499   (eval $ac_try) 2>&5
18500   ac_status=$?
18501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502   (exit $ac_status); }; }; then
18503   eval "$as_ac_var=yes"
18504 else
18505   echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18507
18508 eval "$as_ac_var=no"
18509 fi
18510 rm -f conftest.err conftest.$ac_objext \
18511       conftest$ac_exeext conftest.$ac_ext
18512 fi
18513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18515 if test `eval echo '${'$as_ac_var'}'` = yes; then
18516   cat >>confdefs.h <<_ACEOF
18517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18518 _ACEOF
18519
18520 fi
18521 done
18522
18523     fi
18524   fi
18525
18526
18527
18528
18529
18530
18531     echo "$as_me:$LINENO: checking for long double trig functions" >&5
18532 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18533   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18534   echo $ECHO_N "(cached) $ECHO_C" >&6
18535 else
18536
18537
18538
18539     ac_ext=cc
18540 ac_cpp='$CXXCPP $CPPFLAGS'
18541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18544
18545     cat >conftest.$ac_ext <<_ACEOF
18546 /* confdefs.h.  */
18547 _ACEOF
18548 cat confdefs.h >>conftest.$ac_ext
18549 cat >>conftest.$ac_ext <<_ACEOF
18550 /* end confdefs.h.  */
18551 #include <math.h>
18552 int
18553 main ()
18554 {
18555 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18556   ;
18557   return 0;
18558 }
18559 _ACEOF
18560 rm -f conftest.$ac_objext
18561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18562   (eval $ac_compile) 2>conftest.er1
18563   ac_status=$?
18564   grep -v '^ *+' conftest.er1 >conftest.err
18565   rm -f conftest.er1
18566   cat conftest.err >&5
18567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568   (exit $ac_status); } &&
18569          { ac_try='test -z "$ac_cxx_werror_flag"
18570                          || test ! -s conftest.err'
18571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18572   (eval $ac_try) 2>&5
18573   ac_status=$?
18574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575   (exit $ac_status); }; } &&
18576          { ac_try='test -s conftest.$ac_objext'
18577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578   (eval $ac_try) 2>&5
18579   ac_status=$?
18580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581   (exit $ac_status); }; }; then
18582   glibcxx_cv_func_long_double_trig_use=yes
18583 else
18584   echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.$ac_ext >&5
18586
18587 glibcxx_cv_func_long_double_trig_use=no
18588 fi
18589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18590     ac_ext=c
18591 ac_cpp='$CPP $CPPFLAGS'
18592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18595
18596 fi
18597
18598   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18599 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18600   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18611 do
18612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18613 echo "$as_me:$LINENO: checking for $ac_func" >&5
18614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18615 if eval "test \"\${$as_ac_var+set}\" = set"; then
18616   echo $ECHO_N "(cached) $ECHO_C" >&6
18617 else
18618   if test x$gcc_no_link = xyes; then
18619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18621    { (exit 1); exit 1; }; }
18622 fi
18623 cat >conftest.$ac_ext <<_ACEOF
18624 /* confdefs.h.  */
18625 _ACEOF
18626 cat confdefs.h >>conftest.$ac_ext
18627 cat >>conftest.$ac_ext <<_ACEOF
18628 /* end confdefs.h.  */
18629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18630    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18631 #define $ac_func innocuous_$ac_func
18632
18633 /* System header to define __stub macros and hopefully few prototypes,
18634     which can conflict with char $ac_func (); below.
18635     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18636     <limits.h> exists even on freestanding compilers.  */
18637
18638 #ifdef __STDC__
18639 # include <limits.h>
18640 #else
18641 # include <assert.h>
18642 #endif
18643
18644 #undef $ac_func
18645
18646 /* Override any gcc2 internal prototype to avoid an error.  */
18647 #ifdef __cplusplus
18648 extern "C"
18649 {
18650 #endif
18651 /* We use char because int might match the return type of a gcc2
18652    builtin and then its argument prototype would still apply.  */
18653 char $ac_func ();
18654 /* The GNU C library defines this for functions which it implements
18655     to always fail with ENOSYS.  Some functions are actually named
18656     something starting with __ and the normal name is an alias.  */
18657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18658 choke me
18659 #else
18660 char (*f) () = $ac_func;
18661 #endif
18662 #ifdef __cplusplus
18663 }
18664 #endif
18665
18666 int
18667 main ()
18668 {
18669 return f != $ac_func;
18670   ;
18671   return 0;
18672 }
18673 _ACEOF
18674 rm -f conftest.$ac_objext conftest$ac_exeext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18676   (eval $ac_link) 2>conftest.er1
18677   ac_status=$?
18678   grep -v '^ *+' conftest.er1 >conftest.err
18679   rm -f conftest.er1
18680   cat conftest.err >&5
18681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682   (exit $ac_status); } &&
18683          { ac_try='test -z "$ac_c_werror_flag"
18684                          || test ! -s conftest.err'
18685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686   (eval $ac_try) 2>&5
18687   ac_status=$?
18688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689   (exit $ac_status); }; } &&
18690          { ac_try='test -s conftest$ac_exeext'
18691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692   (eval $ac_try) 2>&5
18693   ac_status=$?
18694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695   (exit $ac_status); }; }; then
18696   eval "$as_ac_var=yes"
18697 else
18698   echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.$ac_ext >&5
18700
18701 eval "$as_ac_var=no"
18702 fi
18703 rm -f conftest.err conftest.$ac_objext \
18704       conftest$ac_exeext conftest.$ac_ext
18705 fi
18706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18708 if test `eval echo '${'$as_ac_var'}'` = yes; then
18709   cat >>confdefs.h <<_ACEOF
18710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18711 _ACEOF
18712
18713 fi
18714 done
18715
18716   else
18717     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18718 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18719     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18720   echo $ECHO_N "(cached) $ECHO_C" >&6
18721 else
18722
18723
18724
18725       ac_ext=cc
18726 ac_cpp='$CXXCPP $CPPFLAGS'
18727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18730
18731       cat >conftest.$ac_ext <<_ACEOF
18732 /* confdefs.h.  */
18733 _ACEOF
18734 cat confdefs.h >>conftest.$ac_ext
18735 cat >>conftest.$ac_ext <<_ACEOF
18736 /* end confdefs.h.  */
18737 #include <math.h>
18738 int
18739 main ()
18740 {
18741 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18742   ;
18743   return 0;
18744 }
18745 _ACEOF
18746 rm -f conftest.$ac_objext
18747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18748   (eval $ac_compile) 2>conftest.er1
18749   ac_status=$?
18750   grep -v '^ *+' conftest.er1 >conftest.err
18751   rm -f conftest.er1
18752   cat conftest.err >&5
18753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754   (exit $ac_status); } &&
18755          { ac_try='test -z "$ac_cxx_werror_flag"
18756                          || test ! -s conftest.err'
18757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758   (eval $ac_try) 2>&5
18759   ac_status=$?
18760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761   (exit $ac_status); }; } &&
18762          { ac_try='test -s conftest.$ac_objext'
18763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764   (eval $ac_try) 2>&5
18765   ac_status=$?
18766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767   (exit $ac_status); }; }; then
18768   glibcxx_cv_func__long_double_trig_use=yes
18769 else
18770   echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.$ac_ext >&5
18772
18773 glibcxx_cv_func__long_double_trig_use=no
18774 fi
18775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18776       ac_ext=c
18777 ac_cpp='$CPP $CPPFLAGS'
18778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18781
18782 fi
18783
18784     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18785 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18786     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18797 do
18798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18799 echo "$as_me:$LINENO: checking for $ac_func" >&5
18800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18801 if eval "test \"\${$as_ac_var+set}\" = set"; then
18802   echo $ECHO_N "(cached) $ECHO_C" >&6
18803 else
18804   if test x$gcc_no_link = xyes; then
18805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18807    { (exit 1); exit 1; }; }
18808 fi
18809 cat >conftest.$ac_ext <<_ACEOF
18810 /* confdefs.h.  */
18811 _ACEOF
18812 cat confdefs.h >>conftest.$ac_ext
18813 cat >>conftest.$ac_ext <<_ACEOF
18814 /* end confdefs.h.  */
18815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18817 #define $ac_func innocuous_$ac_func
18818
18819 /* System header to define __stub macros and hopefully few prototypes,
18820     which can conflict with char $ac_func (); below.
18821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18822     <limits.h> exists even on freestanding compilers.  */
18823
18824 #ifdef __STDC__
18825 # include <limits.h>
18826 #else
18827 # include <assert.h>
18828 #endif
18829
18830 #undef $ac_func
18831
18832 /* Override any gcc2 internal prototype to avoid an error.  */
18833 #ifdef __cplusplus
18834 extern "C"
18835 {
18836 #endif
18837 /* We use char because int might match the return type of a gcc2
18838    builtin and then its argument prototype would still apply.  */
18839 char $ac_func ();
18840 /* The GNU C library defines this for functions which it implements
18841     to always fail with ENOSYS.  Some functions are actually named
18842     something starting with __ and the normal name is an alias.  */
18843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18844 choke me
18845 #else
18846 char (*f) () = $ac_func;
18847 #endif
18848 #ifdef __cplusplus
18849 }
18850 #endif
18851
18852 int
18853 main ()
18854 {
18855 return f != $ac_func;
18856   ;
18857   return 0;
18858 }
18859 _ACEOF
18860 rm -f conftest.$ac_objext conftest$ac_exeext
18861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18862   (eval $ac_link) 2>conftest.er1
18863   ac_status=$?
18864   grep -v '^ *+' conftest.er1 >conftest.err
18865   rm -f conftest.er1
18866   cat conftest.err >&5
18867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868   (exit $ac_status); } &&
18869          { ac_try='test -z "$ac_c_werror_flag"
18870                          || test ! -s conftest.err'
18871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18872   (eval $ac_try) 2>&5
18873   ac_status=$?
18874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875   (exit $ac_status); }; } &&
18876          { ac_try='test -s conftest$ac_exeext'
18877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18878   (eval $ac_try) 2>&5
18879   ac_status=$?
18880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881   (exit $ac_status); }; }; then
18882   eval "$as_ac_var=yes"
18883 else
18884   echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.$ac_ext >&5
18886
18887 eval "$as_ac_var=no"
18888 fi
18889 rm -f conftest.err conftest.$ac_objext \
18890       conftest$ac_exeext conftest.$ac_ext
18891 fi
18892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18894 if test `eval echo '${'$as_ac_var'}'` = yes; then
18895   cat >>confdefs.h <<_ACEOF
18896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18897 _ACEOF
18898
18899 fi
18900 done
18901
18902     fi
18903   fi
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918     echo "$as_me:$LINENO: checking for long double round functions" >&5
18919 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18920   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18921   echo $ECHO_N "(cached) $ECHO_C" >&6
18922 else
18923
18924
18925
18926     ac_ext=cc
18927 ac_cpp='$CXXCPP $CPPFLAGS'
18928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18931
18932     cat >conftest.$ac_ext <<_ACEOF
18933 /* confdefs.h.  */
18934 _ACEOF
18935 cat confdefs.h >>conftest.$ac_ext
18936 cat >>conftest.$ac_ext <<_ACEOF
18937 /* end confdefs.h.  */
18938 #include <math.h>
18939 int
18940 main ()
18941 {
18942 ceill (0); floorl (0);
18943   ;
18944   return 0;
18945 }
18946 _ACEOF
18947 rm -f conftest.$ac_objext
18948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18949   (eval $ac_compile) 2>conftest.er1
18950   ac_status=$?
18951   grep -v '^ *+' conftest.er1 >conftest.err
18952   rm -f conftest.er1
18953   cat conftest.err >&5
18954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955   (exit $ac_status); } &&
18956          { ac_try='test -z "$ac_cxx_werror_flag"
18957                          || test ! -s conftest.err'
18958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959   (eval $ac_try) 2>&5
18960   ac_status=$?
18961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962   (exit $ac_status); }; } &&
18963          { ac_try='test -s conftest.$ac_objext'
18964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18965   (eval $ac_try) 2>&5
18966   ac_status=$?
18967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968   (exit $ac_status); }; }; then
18969   glibcxx_cv_func_long_double_round_use=yes
18970 else
18971   echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.$ac_ext >&5
18973
18974 glibcxx_cv_func_long_double_round_use=no
18975 fi
18976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18977     ac_ext=c
18978 ac_cpp='$CPP $CPPFLAGS'
18979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18982
18983 fi
18984
18985   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18986 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18987   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18988
18989
18990 for ac_func in ceill floorl
18991 do
18992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18993 echo "$as_me:$LINENO: checking for $ac_func" >&5
18994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18995 if eval "test \"\${$as_ac_var+set}\" = set"; then
18996   echo $ECHO_N "(cached) $ECHO_C" >&6
18997 else
18998   if test x$gcc_no_link = xyes; then
18999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19001    { (exit 1); exit 1; }; }
19002 fi
19003 cat >conftest.$ac_ext <<_ACEOF
19004 /* confdefs.h.  */
19005 _ACEOF
19006 cat confdefs.h >>conftest.$ac_ext
19007 cat >>conftest.$ac_ext <<_ACEOF
19008 /* end confdefs.h.  */
19009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19011 #define $ac_func innocuous_$ac_func
19012
19013 /* System header to define __stub macros and hopefully few prototypes,
19014     which can conflict with char $ac_func (); below.
19015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19016     <limits.h> exists even on freestanding compilers.  */
19017
19018 #ifdef __STDC__
19019 # include <limits.h>
19020 #else
19021 # include <assert.h>
19022 #endif
19023
19024 #undef $ac_func
19025
19026 /* Override any gcc2 internal prototype to avoid an error.  */
19027 #ifdef __cplusplus
19028 extern "C"
19029 {
19030 #endif
19031 /* We use char because int might match the return type of a gcc2
19032    builtin and then its argument prototype would still apply.  */
19033 char $ac_func ();
19034 /* The GNU C library defines this for functions which it implements
19035     to always fail with ENOSYS.  Some functions are actually named
19036     something starting with __ and the normal name is an alias.  */
19037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19038 choke me
19039 #else
19040 char (*f) () = $ac_func;
19041 #endif
19042 #ifdef __cplusplus
19043 }
19044 #endif
19045
19046 int
19047 main ()
19048 {
19049 return f != $ac_func;
19050   ;
19051   return 0;
19052 }
19053 _ACEOF
19054 rm -f conftest.$ac_objext conftest$ac_exeext
19055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19056   (eval $ac_link) 2>conftest.er1
19057   ac_status=$?
19058   grep -v '^ *+' conftest.er1 >conftest.err
19059   rm -f conftest.er1
19060   cat conftest.err >&5
19061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062   (exit $ac_status); } &&
19063          { ac_try='test -z "$ac_c_werror_flag"
19064                          || test ! -s conftest.err'
19065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066   (eval $ac_try) 2>&5
19067   ac_status=$?
19068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069   (exit $ac_status); }; } &&
19070          { ac_try='test -s conftest$ac_exeext'
19071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072   (eval $ac_try) 2>&5
19073   ac_status=$?
19074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075   (exit $ac_status); }; }; then
19076   eval "$as_ac_var=yes"
19077 else
19078   echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.$ac_ext >&5
19080
19081 eval "$as_ac_var=no"
19082 fi
19083 rm -f conftest.err conftest.$ac_objext \
19084       conftest$ac_exeext conftest.$ac_ext
19085 fi
19086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19088 if test `eval echo '${'$as_ac_var'}'` = yes; then
19089   cat >>confdefs.h <<_ACEOF
19090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19091 _ACEOF
19092
19093 fi
19094 done
19095
19096   else
19097     echo "$as_me:$LINENO: checking for _long double round functions" >&5
19098 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19099     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19100   echo $ECHO_N "(cached) $ECHO_C" >&6
19101 else
19102
19103
19104
19105       ac_ext=cc
19106 ac_cpp='$CXXCPP $CPPFLAGS'
19107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19110
19111       cat >conftest.$ac_ext <<_ACEOF
19112 /* confdefs.h.  */
19113 _ACEOF
19114 cat confdefs.h >>conftest.$ac_ext
19115 cat >>conftest.$ac_ext <<_ACEOF
19116 /* end confdefs.h.  */
19117 #include <math.h>
19118 int
19119 main ()
19120 {
19121 _ceill (0); _floorl (0);
19122   ;
19123   return 0;
19124 }
19125 _ACEOF
19126 rm -f conftest.$ac_objext
19127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19128   (eval $ac_compile) 2>conftest.er1
19129   ac_status=$?
19130   grep -v '^ *+' conftest.er1 >conftest.err
19131   rm -f conftest.er1
19132   cat conftest.err >&5
19133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134   (exit $ac_status); } &&
19135          { ac_try='test -z "$ac_cxx_werror_flag"
19136                          || test ! -s conftest.err'
19137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138   (eval $ac_try) 2>&5
19139   ac_status=$?
19140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141   (exit $ac_status); }; } &&
19142          { ac_try='test -s conftest.$ac_objext'
19143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144   (eval $ac_try) 2>&5
19145   ac_status=$?
19146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147   (exit $ac_status); }; }; then
19148   glibcxx_cv_func__long_double_round_use=yes
19149 else
19150   echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19152
19153 glibcxx_cv_func__long_double_round_use=no
19154 fi
19155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19156       ac_ext=c
19157 ac_cpp='$CPP $CPPFLAGS'
19158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19161
19162 fi
19163
19164     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19165 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19166     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19167
19168
19169 for ac_func in _ceill _floorl
19170 do
19171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19172 echo "$as_me:$LINENO: checking for $ac_func" >&5
19173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19174 if eval "test \"\${$as_ac_var+set}\" = set"; then
19175   echo $ECHO_N "(cached) $ECHO_C" >&6
19176 else
19177   if test x$gcc_no_link = xyes; then
19178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19180    { (exit 1); exit 1; }; }
19181 fi
19182 cat >conftest.$ac_ext <<_ACEOF
19183 /* confdefs.h.  */
19184 _ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h.  */
19188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19190 #define $ac_func innocuous_$ac_func
19191
19192 /* System header to define __stub macros and hopefully few prototypes,
19193     which can conflict with char $ac_func (); below.
19194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19195     <limits.h> exists even on freestanding compilers.  */
19196
19197 #ifdef __STDC__
19198 # include <limits.h>
19199 #else
19200 # include <assert.h>
19201 #endif
19202
19203 #undef $ac_func
19204
19205 /* Override any gcc2 internal prototype to avoid an error.  */
19206 #ifdef __cplusplus
19207 extern "C"
19208 {
19209 #endif
19210 /* We use char because int might match the return type of a gcc2
19211    builtin and then its argument prototype would still apply.  */
19212 char $ac_func ();
19213 /* The GNU C library defines this for functions which it implements
19214     to always fail with ENOSYS.  Some functions are actually named
19215     something starting with __ and the normal name is an alias.  */
19216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19217 choke me
19218 #else
19219 char (*f) () = $ac_func;
19220 #endif
19221 #ifdef __cplusplus
19222 }
19223 #endif
19224
19225 int
19226 main ()
19227 {
19228 return f != $ac_func;
19229   ;
19230   return 0;
19231 }
19232 _ACEOF
19233 rm -f conftest.$ac_objext conftest$ac_exeext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19235   (eval $ac_link) 2>conftest.er1
19236   ac_status=$?
19237   grep -v '^ *+' conftest.er1 >conftest.err
19238   rm -f conftest.er1
19239   cat conftest.err >&5
19240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241   (exit $ac_status); } &&
19242          { ac_try='test -z "$ac_c_werror_flag"
19243                          || test ! -s conftest.err'
19244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245   (eval $ac_try) 2>&5
19246   ac_status=$?
19247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248   (exit $ac_status); }; } &&
19249          { ac_try='test -s conftest$ac_exeext'
19250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251   (eval $ac_try) 2>&5
19252   ac_status=$?
19253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254   (exit $ac_status); }; }; then
19255   eval "$as_ac_var=yes"
19256 else
19257   echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19259
19260 eval "$as_ac_var=no"
19261 fi
19262 rm -f conftest.err conftest.$ac_objext \
19263       conftest$ac_exeext conftest.$ac_ext
19264 fi
19265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19267 if test `eval echo '${'$as_ac_var'}'` = yes; then
19268   cat >>confdefs.h <<_ACEOF
19269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19270 _ACEOF
19271
19272 fi
19273 done
19274
19275     fi
19276   fi
19277
19278
19279
19280
19281
19282
19283
19284
19285   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19286 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19287   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19288     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19289   echo $ECHO_N "(cached) $ECHO_C" >&6
19290 else
19291
19292
19293
19294       ac_ext=cc
19295 ac_cpp='$CXXCPP $CPPFLAGS'
19296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19299
19300       cat >conftest.$ac_ext <<_ACEOF
19301 /* confdefs.h.  */
19302 _ACEOF
19303 cat confdefs.h >>conftest.$ac_ext
19304 cat >>conftest.$ac_ext <<_ACEOF
19305 /* end confdefs.h.  */
19306 #include <math.h>
19307                       #ifdef HAVE_IEEEFP_H
19308                       #include <ieeefp.h>
19309                       #endif
19310
19311 int
19312 main ()
19313 {
19314  isnanl(0);
19315   ;
19316   return 0;
19317 }
19318 _ACEOF
19319 rm -f conftest.$ac_objext
19320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19321   (eval $ac_compile) 2>conftest.er1
19322   ac_status=$?
19323   grep -v '^ *+' conftest.er1 >conftest.err
19324   rm -f conftest.er1
19325   cat conftest.err >&5
19326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327   (exit $ac_status); } &&
19328          { ac_try='test -z "$ac_cxx_werror_flag"
19329                          || test ! -s conftest.err'
19330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331   (eval $ac_try) 2>&5
19332   ac_status=$?
19333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334   (exit $ac_status); }; } &&
19335          { ac_try='test -s conftest.$ac_objext'
19336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337   (eval $ac_try) 2>&5
19338   ac_status=$?
19339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340   (exit $ac_status); }; }; then
19341   glibcxx_cv_func_isnanl_use=yes
19342 else
19343   echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.$ac_ext >&5
19345
19346 glibcxx_cv_func_isnanl_use=no
19347 fi
19348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19349       ac_ext=c
19350 ac_cpp='$CPP $CPPFLAGS'
19351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19354
19355
19356 fi
19357
19358   fi
19359   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19360 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19361
19362   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19363
19364 for ac_func in isnanl
19365 do
19366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19367 echo "$as_me:$LINENO: checking for $ac_func" >&5
19368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19369 if eval "test \"\${$as_ac_var+set}\" = set"; then
19370   echo $ECHO_N "(cached) $ECHO_C" >&6
19371 else
19372   if test x$gcc_no_link = xyes; then
19373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19375    { (exit 1); exit 1; }; }
19376 fi
19377 cat >conftest.$ac_ext <<_ACEOF
19378 /* confdefs.h.  */
19379 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h.  */
19383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19384    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19385 #define $ac_func innocuous_$ac_func
19386
19387 /* System header to define __stub macros and hopefully few prototypes,
19388     which can conflict with char $ac_func (); below.
19389     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19390     <limits.h> exists even on freestanding compilers.  */
19391
19392 #ifdef __STDC__
19393 # include <limits.h>
19394 #else
19395 # include <assert.h>
19396 #endif
19397
19398 #undef $ac_func
19399
19400 /* Override any gcc2 internal prototype to avoid an error.  */
19401 #ifdef __cplusplus
19402 extern "C"
19403 {
19404 #endif
19405 /* We use char because int might match the return type of a gcc2
19406    builtin and then its argument prototype would still apply.  */
19407 char $ac_func ();
19408 /* The GNU C library defines this for functions which it implements
19409     to always fail with ENOSYS.  Some functions are actually named
19410     something starting with __ and the normal name is an alias.  */
19411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19412 choke me
19413 #else
19414 char (*f) () = $ac_func;
19415 #endif
19416 #ifdef __cplusplus
19417 }
19418 #endif
19419
19420 int
19421 main ()
19422 {
19423 return f != $ac_func;
19424   ;
19425   return 0;
19426 }
19427 _ACEOF
19428 rm -f conftest.$ac_objext conftest$ac_exeext
19429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19430   (eval $ac_link) 2>conftest.er1
19431   ac_status=$?
19432   grep -v '^ *+' conftest.er1 >conftest.err
19433   rm -f conftest.er1
19434   cat conftest.err >&5
19435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436   (exit $ac_status); } &&
19437          { ac_try='test -z "$ac_c_werror_flag"
19438                          || test ! -s conftest.err'
19439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19440   (eval $ac_try) 2>&5
19441   ac_status=$?
19442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443   (exit $ac_status); }; } &&
19444          { ac_try='test -s conftest$ac_exeext'
19445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446   (eval $ac_try) 2>&5
19447   ac_status=$?
19448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449   (exit $ac_status); }; }; then
19450   eval "$as_ac_var=yes"
19451 else
19452   echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.$ac_ext >&5
19454
19455 eval "$as_ac_var=no"
19456 fi
19457 rm -f conftest.err conftest.$ac_objext \
19458       conftest$ac_exeext conftest.$ac_ext
19459 fi
19460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19462 if test `eval echo '${'$as_ac_var'}'` = yes; then
19463   cat >>confdefs.h <<_ACEOF
19464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19465 _ACEOF
19466
19467 fi
19468 done
19469
19470   else
19471
19472   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19473 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19474   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19475     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19476   echo $ECHO_N "(cached) $ECHO_C" >&6
19477 else
19478
19479
19480
19481       ac_ext=cc
19482 ac_cpp='$CXXCPP $CPPFLAGS'
19483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19486
19487       cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h.  */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h.  */
19493 #include <math.h>
19494                       #ifdef HAVE_IEEEFP_H
19495                       #include <ieeefp.h>
19496                       #endif
19497
19498 int
19499 main ()
19500 {
19501  _isnanl(0);
19502   ;
19503   return 0;
19504 }
19505 _ACEOF
19506 rm -f conftest.$ac_objext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19508   (eval $ac_compile) 2>conftest.er1
19509   ac_status=$?
19510   grep -v '^ *+' conftest.er1 >conftest.err
19511   rm -f conftest.er1
19512   cat conftest.err >&5
19513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514   (exit $ac_status); } &&
19515          { ac_try='test -z "$ac_cxx_werror_flag"
19516                          || test ! -s conftest.err'
19517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518   (eval $ac_try) 2>&5
19519   ac_status=$?
19520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521   (exit $ac_status); }; } &&
19522          { ac_try='test -s conftest.$ac_objext'
19523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524   (eval $ac_try) 2>&5
19525   ac_status=$?
19526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527   (exit $ac_status); }; }; then
19528   glibcxx_cv_func__isnanl_use=yes
19529 else
19530   echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19532
19533 glibcxx_cv_func__isnanl_use=no
19534 fi
19535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19536       ac_ext=c
19537 ac_cpp='$CPP $CPPFLAGS'
19538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19541
19542
19543 fi
19544
19545   fi
19546   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19547 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19548
19549     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19550
19551 for ac_func in _isnanl
19552 do
19553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19554 echo "$as_me:$LINENO: checking for $ac_func" >&5
19555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19556 if eval "test \"\${$as_ac_var+set}\" = set"; then
19557   echo $ECHO_N "(cached) $ECHO_C" >&6
19558 else
19559   if test x$gcc_no_link = xyes; then
19560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19562    { (exit 1); exit 1; }; }
19563 fi
19564 cat >conftest.$ac_ext <<_ACEOF
19565 /* confdefs.h.  */
19566 _ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h.  */
19570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19572 #define $ac_func innocuous_$ac_func
19573
19574 /* System header to define __stub macros and hopefully few prototypes,
19575     which can conflict with char $ac_func (); below.
19576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19577     <limits.h> exists even on freestanding compilers.  */
19578
19579 #ifdef __STDC__
19580 # include <limits.h>
19581 #else
19582 # include <assert.h>
19583 #endif
19584
19585 #undef $ac_func
19586
19587 /* Override any gcc2 internal prototype to avoid an error.  */
19588 #ifdef __cplusplus
19589 extern "C"
19590 {
19591 #endif
19592 /* We use char because int might match the return type of a gcc2
19593    builtin and then its argument prototype would still apply.  */
19594 char $ac_func ();
19595 /* The GNU C library defines this for functions which it implements
19596     to always fail with ENOSYS.  Some functions are actually named
19597     something starting with __ and the normal name is an alias.  */
19598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19599 choke me
19600 #else
19601 char (*f) () = $ac_func;
19602 #endif
19603 #ifdef __cplusplus
19604 }
19605 #endif
19606
19607 int
19608 main ()
19609 {
19610 return f != $ac_func;
19611   ;
19612   return 0;
19613 }
19614 _ACEOF
19615 rm -f conftest.$ac_objext conftest$ac_exeext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19617   (eval $ac_link) 2>conftest.er1
19618   ac_status=$?
19619   grep -v '^ *+' conftest.er1 >conftest.err
19620   rm -f conftest.er1
19621   cat conftest.err >&5
19622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623   (exit $ac_status); } &&
19624          { ac_try='test -z "$ac_c_werror_flag"
19625                          || test ! -s conftest.err'
19626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19627   (eval $ac_try) 2>&5
19628   ac_status=$?
19629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630   (exit $ac_status); }; } &&
19631          { ac_try='test -s conftest$ac_exeext'
19632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19633   (eval $ac_try) 2>&5
19634   ac_status=$?
19635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636   (exit $ac_status); }; }; then
19637   eval "$as_ac_var=yes"
19638 else
19639   echo "$as_me: failed program was:" >&5
19640 sed 's/^/| /' conftest.$ac_ext >&5
19641
19642 eval "$as_ac_var=no"
19643 fi
19644 rm -f conftest.err conftest.$ac_objext \
19645       conftest$ac_exeext conftest.$ac_ext
19646 fi
19647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19649 if test `eval echo '${'$as_ac_var'}'` = yes; then
19650   cat >>confdefs.h <<_ACEOF
19651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19652 _ACEOF
19653
19654 fi
19655 done
19656
19657     fi
19658   fi
19659
19660
19661
19662
19663
19664
19665   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19666 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19667   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19668     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19669   echo $ECHO_N "(cached) $ECHO_C" >&6
19670 else
19671
19672
19673
19674       ac_ext=cc
19675 ac_cpp='$CXXCPP $CPPFLAGS'
19676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19679
19680       cat >conftest.$ac_ext <<_ACEOF
19681 /* confdefs.h.  */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h.  */
19686 #include <math.h>
19687                       #ifdef HAVE_IEEEFP_H
19688                       #include <ieeefp.h>
19689                       #endif
19690
19691 int
19692 main ()
19693 {
19694  isinfl(0);
19695   ;
19696   return 0;
19697 }
19698 _ACEOF
19699 rm -f conftest.$ac_objext
19700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19701   (eval $ac_compile) 2>conftest.er1
19702   ac_status=$?
19703   grep -v '^ *+' conftest.er1 >conftest.err
19704   rm -f conftest.er1
19705   cat conftest.err >&5
19706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707   (exit $ac_status); } &&
19708          { ac_try='test -z "$ac_cxx_werror_flag"
19709                          || test ! -s conftest.err'
19710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711   (eval $ac_try) 2>&5
19712   ac_status=$?
19713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714   (exit $ac_status); }; } &&
19715          { ac_try='test -s conftest.$ac_objext'
19716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717   (eval $ac_try) 2>&5
19718   ac_status=$?
19719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720   (exit $ac_status); }; }; then
19721   glibcxx_cv_func_isinfl_use=yes
19722 else
19723   echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19725
19726 glibcxx_cv_func_isinfl_use=no
19727 fi
19728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19729       ac_ext=c
19730 ac_cpp='$CPP $CPPFLAGS'
19731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19734
19735
19736 fi
19737
19738   fi
19739   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19740 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19741
19742   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19743
19744 for ac_func in isinfl
19745 do
19746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19747 echo "$as_me:$LINENO: checking for $ac_func" >&5
19748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19749 if eval "test \"\${$as_ac_var+set}\" = set"; then
19750   echo $ECHO_N "(cached) $ECHO_C" >&6
19751 else
19752   if test x$gcc_no_link = xyes; then
19753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19755    { (exit 1); exit 1; }; }
19756 fi
19757 cat >conftest.$ac_ext <<_ACEOF
19758 /* confdefs.h.  */
19759 _ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h.  */
19763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19765 #define $ac_func innocuous_$ac_func
19766
19767 /* System header to define __stub macros and hopefully few prototypes,
19768     which can conflict with char $ac_func (); below.
19769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19770     <limits.h> exists even on freestanding compilers.  */
19771
19772 #ifdef __STDC__
19773 # include <limits.h>
19774 #else
19775 # include <assert.h>
19776 #endif
19777
19778 #undef $ac_func
19779
19780 /* Override any gcc2 internal prototype to avoid an error.  */
19781 #ifdef __cplusplus
19782 extern "C"
19783 {
19784 #endif
19785 /* We use char because int might match the return type of a gcc2
19786    builtin and then its argument prototype would still apply.  */
19787 char $ac_func ();
19788 /* The GNU C library defines this for functions which it implements
19789     to always fail with ENOSYS.  Some functions are actually named
19790     something starting with __ and the normal name is an alias.  */
19791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19792 choke me
19793 #else
19794 char (*f) () = $ac_func;
19795 #endif
19796 #ifdef __cplusplus
19797 }
19798 #endif
19799
19800 int
19801 main ()
19802 {
19803 return f != $ac_func;
19804   ;
19805   return 0;
19806 }
19807 _ACEOF
19808 rm -f conftest.$ac_objext conftest$ac_exeext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19810   (eval $ac_link) 2>conftest.er1
19811   ac_status=$?
19812   grep -v '^ *+' conftest.er1 >conftest.err
19813   rm -f conftest.er1
19814   cat conftest.err >&5
19815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816   (exit $ac_status); } &&
19817          { ac_try='test -z "$ac_c_werror_flag"
19818                          || test ! -s conftest.err'
19819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820   (eval $ac_try) 2>&5
19821   ac_status=$?
19822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823   (exit $ac_status); }; } &&
19824          { ac_try='test -s conftest$ac_exeext'
19825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826   (eval $ac_try) 2>&5
19827   ac_status=$?
19828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829   (exit $ac_status); }; }; then
19830   eval "$as_ac_var=yes"
19831 else
19832   echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19834
19835 eval "$as_ac_var=no"
19836 fi
19837 rm -f conftest.err conftest.$ac_objext \
19838       conftest$ac_exeext conftest.$ac_ext
19839 fi
19840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19842 if test `eval echo '${'$as_ac_var'}'` = yes; then
19843   cat >>confdefs.h <<_ACEOF
19844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19845 _ACEOF
19846
19847 fi
19848 done
19849
19850   else
19851
19852   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19853 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19854   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19855     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19856   echo $ECHO_N "(cached) $ECHO_C" >&6
19857 else
19858
19859
19860
19861       ac_ext=cc
19862 ac_cpp='$CXXCPP $CPPFLAGS'
19863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19866
19867       cat >conftest.$ac_ext <<_ACEOF
19868 /* confdefs.h.  */
19869 _ACEOF
19870 cat confdefs.h >>conftest.$ac_ext
19871 cat >>conftest.$ac_ext <<_ACEOF
19872 /* end confdefs.h.  */
19873 #include <math.h>
19874                       #ifdef HAVE_IEEEFP_H
19875                       #include <ieeefp.h>
19876                       #endif
19877
19878 int
19879 main ()
19880 {
19881  _isinfl(0);
19882   ;
19883   return 0;
19884 }
19885 _ACEOF
19886 rm -f conftest.$ac_objext
19887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19888   (eval $ac_compile) 2>conftest.er1
19889   ac_status=$?
19890   grep -v '^ *+' conftest.er1 >conftest.err
19891   rm -f conftest.er1
19892   cat conftest.err >&5
19893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894   (exit $ac_status); } &&
19895          { ac_try='test -z "$ac_cxx_werror_flag"
19896                          || test ! -s conftest.err'
19897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898   (eval $ac_try) 2>&5
19899   ac_status=$?
19900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901   (exit $ac_status); }; } &&
19902          { ac_try='test -s conftest.$ac_objext'
19903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904   (eval $ac_try) 2>&5
19905   ac_status=$?
19906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907   (exit $ac_status); }; }; then
19908   glibcxx_cv_func__isinfl_use=yes
19909 else
19910   echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19912
19913 glibcxx_cv_func__isinfl_use=no
19914 fi
19915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19916       ac_ext=c
19917 ac_cpp='$CPP $CPPFLAGS'
19918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19921
19922
19923 fi
19924
19925   fi
19926   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19927 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19928
19929     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19930
19931 for ac_func in _isinfl
19932 do
19933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19934 echo "$as_me:$LINENO: checking for $ac_func" >&5
19935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19936 if eval "test \"\${$as_ac_var+set}\" = set"; then
19937   echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939   if test x$gcc_no_link = xyes; then
19940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19942    { (exit 1); exit 1; }; }
19943 fi
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h.  */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h.  */
19950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19952 #define $ac_func innocuous_$ac_func
19953
19954 /* System header to define __stub macros and hopefully few prototypes,
19955     which can conflict with char $ac_func (); below.
19956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19957     <limits.h> exists even on freestanding compilers.  */
19958
19959 #ifdef __STDC__
19960 # include <limits.h>
19961 #else
19962 # include <assert.h>
19963 #endif
19964
19965 #undef $ac_func
19966
19967 /* Override any gcc2 internal prototype to avoid an error.  */
19968 #ifdef __cplusplus
19969 extern "C"
19970 {
19971 #endif
19972 /* We use char because int might match the return type of a gcc2
19973    builtin and then its argument prototype would still apply.  */
19974 char $ac_func ();
19975 /* The GNU C library defines this for functions which it implements
19976     to always fail with ENOSYS.  Some functions are actually named
19977     something starting with __ and the normal name is an alias.  */
19978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19979 choke me
19980 #else
19981 char (*f) () = $ac_func;
19982 #endif
19983 #ifdef __cplusplus
19984 }
19985 #endif
19986
19987 int
19988 main ()
19989 {
19990 return f != $ac_func;
19991   ;
19992   return 0;
19993 }
19994 _ACEOF
19995 rm -f conftest.$ac_objext conftest$ac_exeext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19997   (eval $ac_link) 2>conftest.er1
19998   ac_status=$?
19999   grep -v '^ *+' conftest.er1 >conftest.err
20000   rm -f conftest.er1
20001   cat conftest.err >&5
20002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003   (exit $ac_status); } &&
20004          { ac_try='test -z "$ac_c_werror_flag"
20005                          || test ! -s conftest.err'
20006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007   (eval $ac_try) 2>&5
20008   ac_status=$?
20009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010   (exit $ac_status); }; } &&
20011          { ac_try='test -s conftest$ac_exeext'
20012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013   (eval $ac_try) 2>&5
20014   ac_status=$?
20015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016   (exit $ac_status); }; }; then
20017   eval "$as_ac_var=yes"
20018 else
20019   echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20021
20022 eval "$as_ac_var=no"
20023 fi
20024 rm -f conftest.err conftest.$ac_objext \
20025       conftest$ac_exeext conftest.$ac_ext
20026 fi
20027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20029 if test `eval echo '${'$as_ac_var'}'` = yes; then
20030   cat >>confdefs.h <<_ACEOF
20031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20032 _ACEOF
20033
20034 fi
20035 done
20036
20037     fi
20038   fi
20039
20040
20041
20042
20043
20044
20045   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20046 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20047   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20048     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20049   echo $ECHO_N "(cached) $ECHO_C" >&6
20050 else
20051
20052
20053
20054       ac_ext=cc
20055 ac_cpp='$CXXCPP $CPPFLAGS'
20056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20059
20060       cat >conftest.$ac_ext <<_ACEOF
20061 /* confdefs.h.  */
20062 _ACEOF
20063 cat confdefs.h >>conftest.$ac_ext
20064 cat >>conftest.$ac_ext <<_ACEOF
20065 /* end confdefs.h.  */
20066 #include <math.h>
20067 int
20068 main ()
20069 {
20070  copysignl(0, 0);
20071   ;
20072   return 0;
20073 }
20074 _ACEOF
20075 rm -f conftest.$ac_objext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20077   (eval $ac_compile) 2>conftest.er1
20078   ac_status=$?
20079   grep -v '^ *+' conftest.er1 >conftest.err
20080   rm -f conftest.er1
20081   cat conftest.err >&5
20082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083   (exit $ac_status); } &&
20084          { ac_try='test -z "$ac_cxx_werror_flag"
20085                          || test ! -s conftest.err'
20086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087   (eval $ac_try) 2>&5
20088   ac_status=$?
20089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090   (exit $ac_status); }; } &&
20091          { ac_try='test -s conftest.$ac_objext'
20092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093   (eval $ac_try) 2>&5
20094   ac_status=$?
20095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096   (exit $ac_status); }; }; then
20097   glibcxx_cv_func_copysignl_use=yes
20098 else
20099   echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20101
20102 glibcxx_cv_func_copysignl_use=no
20103 fi
20104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20105       ac_ext=c
20106 ac_cpp='$CPP $CPPFLAGS'
20107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20110
20111
20112 fi
20113
20114   fi
20115   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20116 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20117
20118   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20119
20120 for ac_func in copysignl
20121 do
20122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20123 echo "$as_me:$LINENO: checking for $ac_func" >&5
20124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20125 if eval "test \"\${$as_ac_var+set}\" = set"; then
20126   echo $ECHO_N "(cached) $ECHO_C" >&6
20127 else
20128   if test x$gcc_no_link = xyes; then
20129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20131    { (exit 1); exit 1; }; }
20132 fi
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h.  */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h.  */
20139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20141 #define $ac_func innocuous_$ac_func
20142
20143 /* System header to define __stub macros and hopefully few prototypes,
20144     which can conflict with char $ac_func (); below.
20145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20146     <limits.h> exists even on freestanding compilers.  */
20147
20148 #ifdef __STDC__
20149 # include <limits.h>
20150 #else
20151 # include <assert.h>
20152 #endif
20153
20154 #undef $ac_func
20155
20156 /* Override any gcc2 internal prototype to avoid an error.  */
20157 #ifdef __cplusplus
20158 extern "C"
20159 {
20160 #endif
20161 /* We use char because int might match the return type of a gcc2
20162    builtin and then its argument prototype would still apply.  */
20163 char $ac_func ();
20164 /* The GNU C library defines this for functions which it implements
20165     to always fail with ENOSYS.  Some functions are actually named
20166     something starting with __ and the normal name is an alias.  */
20167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20168 choke me
20169 #else
20170 char (*f) () = $ac_func;
20171 #endif
20172 #ifdef __cplusplus
20173 }
20174 #endif
20175
20176 int
20177 main ()
20178 {
20179 return f != $ac_func;
20180   ;
20181   return 0;
20182 }
20183 _ACEOF
20184 rm -f conftest.$ac_objext conftest$ac_exeext
20185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20186   (eval $ac_link) 2>conftest.er1
20187   ac_status=$?
20188   grep -v '^ *+' conftest.er1 >conftest.err
20189   rm -f conftest.er1
20190   cat conftest.err >&5
20191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192   (exit $ac_status); } &&
20193          { ac_try='test -z "$ac_c_werror_flag"
20194                          || test ! -s conftest.err'
20195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196   (eval $ac_try) 2>&5
20197   ac_status=$?
20198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199   (exit $ac_status); }; } &&
20200          { ac_try='test -s conftest$ac_exeext'
20201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202   (eval $ac_try) 2>&5
20203   ac_status=$?
20204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205   (exit $ac_status); }; }; then
20206   eval "$as_ac_var=yes"
20207 else
20208   echo "$as_me: failed program was:" >&5
20209 sed 's/^/| /' conftest.$ac_ext >&5
20210
20211 eval "$as_ac_var=no"
20212 fi
20213 rm -f conftest.err conftest.$ac_objext \
20214       conftest$ac_exeext conftest.$ac_ext
20215 fi
20216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20218 if test `eval echo '${'$as_ac_var'}'` = yes; then
20219   cat >>confdefs.h <<_ACEOF
20220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20221 _ACEOF
20222
20223 fi
20224 done
20225
20226   else
20227
20228   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20229 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20230   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20231     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20232   echo $ECHO_N "(cached) $ECHO_C" >&6
20233 else
20234
20235
20236
20237       ac_ext=cc
20238 ac_cpp='$CXXCPP $CPPFLAGS'
20239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20242
20243       cat >conftest.$ac_ext <<_ACEOF
20244 /* confdefs.h.  */
20245 _ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h.  */
20249 #include <math.h>
20250 int
20251 main ()
20252 {
20253  _copysignl(0, 0);
20254   ;
20255   return 0;
20256 }
20257 _ACEOF
20258 rm -f conftest.$ac_objext
20259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20260   (eval $ac_compile) 2>conftest.er1
20261   ac_status=$?
20262   grep -v '^ *+' conftest.er1 >conftest.err
20263   rm -f conftest.er1
20264   cat conftest.err >&5
20265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266   (exit $ac_status); } &&
20267          { ac_try='test -z "$ac_cxx_werror_flag"
20268                          || test ! -s conftest.err'
20269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20270   (eval $ac_try) 2>&5
20271   ac_status=$?
20272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273   (exit $ac_status); }; } &&
20274          { ac_try='test -s conftest.$ac_objext'
20275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276   (eval $ac_try) 2>&5
20277   ac_status=$?
20278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279   (exit $ac_status); }; }; then
20280   glibcxx_cv_func__copysignl_use=yes
20281 else
20282   echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.$ac_ext >&5
20284
20285 glibcxx_cv_func__copysignl_use=no
20286 fi
20287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20288       ac_ext=c
20289 ac_cpp='$CPP $CPPFLAGS'
20290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20293
20294
20295 fi
20296
20297   fi
20298   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20299 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20300
20301     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20302
20303 for ac_func in _copysignl
20304 do
20305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20306 echo "$as_me:$LINENO: checking for $ac_func" >&5
20307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20308 if eval "test \"\${$as_ac_var+set}\" = set"; then
20309   echo $ECHO_N "(cached) $ECHO_C" >&6
20310 else
20311   if test x$gcc_no_link = xyes; then
20312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20314    { (exit 1); exit 1; }; }
20315 fi
20316 cat >conftest.$ac_ext <<_ACEOF
20317 /* confdefs.h.  */
20318 _ACEOF
20319 cat confdefs.h >>conftest.$ac_ext
20320 cat >>conftest.$ac_ext <<_ACEOF
20321 /* end confdefs.h.  */
20322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20324 #define $ac_func innocuous_$ac_func
20325
20326 /* System header to define __stub macros and hopefully few prototypes,
20327     which can conflict with char $ac_func (); below.
20328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20329     <limits.h> exists even on freestanding compilers.  */
20330
20331 #ifdef __STDC__
20332 # include <limits.h>
20333 #else
20334 # include <assert.h>
20335 #endif
20336
20337 #undef $ac_func
20338
20339 /* Override any gcc2 internal prototype to avoid an error.  */
20340 #ifdef __cplusplus
20341 extern "C"
20342 {
20343 #endif
20344 /* We use char because int might match the return type of a gcc2
20345    builtin and then its argument prototype would still apply.  */
20346 char $ac_func ();
20347 /* The GNU C library defines this for functions which it implements
20348     to always fail with ENOSYS.  Some functions are actually named
20349     something starting with __ and the normal name is an alias.  */
20350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20351 choke me
20352 #else
20353 char (*f) () = $ac_func;
20354 #endif
20355 #ifdef __cplusplus
20356 }
20357 #endif
20358
20359 int
20360 main ()
20361 {
20362 return f != $ac_func;
20363   ;
20364   return 0;
20365 }
20366 _ACEOF
20367 rm -f conftest.$ac_objext conftest$ac_exeext
20368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20369   (eval $ac_link) 2>conftest.er1
20370   ac_status=$?
20371   grep -v '^ *+' conftest.er1 >conftest.err
20372   rm -f conftest.er1
20373   cat conftest.err >&5
20374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375   (exit $ac_status); } &&
20376          { ac_try='test -z "$ac_c_werror_flag"
20377                          || test ! -s conftest.err'
20378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20379   (eval $ac_try) 2>&5
20380   ac_status=$?
20381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382   (exit $ac_status); }; } &&
20383          { ac_try='test -s conftest$ac_exeext'
20384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20385   (eval $ac_try) 2>&5
20386   ac_status=$?
20387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388   (exit $ac_status); }; }; then
20389   eval "$as_ac_var=yes"
20390 else
20391   echo "$as_me: failed program was:" >&5
20392 sed 's/^/| /' conftest.$ac_ext >&5
20393
20394 eval "$as_ac_var=no"
20395 fi
20396 rm -f conftest.err conftest.$ac_objext \
20397       conftest$ac_exeext conftest.$ac_ext
20398 fi
20399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20401 if test `eval echo '${'$as_ac_var'}'` = yes; then
20402   cat >>confdefs.h <<_ACEOF
20403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20404 _ACEOF
20405
20406 fi
20407 done
20408
20409     fi
20410   fi
20411
20412
20413
20414
20415
20416
20417   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20418 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20419   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20420     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20421   echo $ECHO_N "(cached) $ECHO_C" >&6
20422 else
20423
20424
20425
20426       ac_ext=cc
20427 ac_cpp='$CXXCPP $CPPFLAGS'
20428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20431
20432       cat >conftest.$ac_ext <<_ACEOF
20433 /* confdefs.h.  */
20434 _ACEOF
20435 cat confdefs.h >>conftest.$ac_ext
20436 cat >>conftest.$ac_ext <<_ACEOF
20437 /* end confdefs.h.  */
20438 #include <math.h>
20439 int
20440 main ()
20441 {
20442  atan2l(0, 0);
20443   ;
20444   return 0;
20445 }
20446 _ACEOF
20447 rm -f conftest.$ac_objext
20448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20449   (eval $ac_compile) 2>conftest.er1
20450   ac_status=$?
20451   grep -v '^ *+' conftest.er1 >conftest.err
20452   rm -f conftest.er1
20453   cat conftest.err >&5
20454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455   (exit $ac_status); } &&
20456          { ac_try='test -z "$ac_cxx_werror_flag"
20457                          || test ! -s conftest.err'
20458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459   (eval $ac_try) 2>&5
20460   ac_status=$?
20461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462   (exit $ac_status); }; } &&
20463          { ac_try='test -s conftest.$ac_objext'
20464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20465   (eval $ac_try) 2>&5
20466   ac_status=$?
20467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468   (exit $ac_status); }; }; then
20469   glibcxx_cv_func_atan2l_use=yes
20470 else
20471   echo "$as_me: failed program was:" >&5
20472 sed 's/^/| /' conftest.$ac_ext >&5
20473
20474 glibcxx_cv_func_atan2l_use=no
20475 fi
20476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20477       ac_ext=c
20478 ac_cpp='$CPP $CPPFLAGS'
20479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20482
20483
20484 fi
20485
20486   fi
20487   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20488 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20489
20490   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20491
20492 for ac_func in atan2l
20493 do
20494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20495 echo "$as_me:$LINENO: checking for $ac_func" >&5
20496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20497 if eval "test \"\${$as_ac_var+set}\" = set"; then
20498   echo $ECHO_N "(cached) $ECHO_C" >&6
20499 else
20500   if test x$gcc_no_link = xyes; then
20501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20503    { (exit 1); exit 1; }; }
20504 fi
20505 cat >conftest.$ac_ext <<_ACEOF
20506 /* confdefs.h.  */
20507 _ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h.  */
20511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20513 #define $ac_func innocuous_$ac_func
20514
20515 /* System header to define __stub macros and hopefully few prototypes,
20516     which can conflict with char $ac_func (); below.
20517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20518     <limits.h> exists even on freestanding compilers.  */
20519
20520 #ifdef __STDC__
20521 # include <limits.h>
20522 #else
20523 # include <assert.h>
20524 #endif
20525
20526 #undef $ac_func
20527
20528 /* Override any gcc2 internal prototype to avoid an error.  */
20529 #ifdef __cplusplus
20530 extern "C"
20531 {
20532 #endif
20533 /* We use char because int might match the return type of a gcc2
20534    builtin and then its argument prototype would still apply.  */
20535 char $ac_func ();
20536 /* The GNU C library defines this for functions which it implements
20537     to always fail with ENOSYS.  Some functions are actually named
20538     something starting with __ and the normal name is an alias.  */
20539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20540 choke me
20541 #else
20542 char (*f) () = $ac_func;
20543 #endif
20544 #ifdef __cplusplus
20545 }
20546 #endif
20547
20548 int
20549 main ()
20550 {
20551 return f != $ac_func;
20552   ;
20553   return 0;
20554 }
20555 _ACEOF
20556 rm -f conftest.$ac_objext conftest$ac_exeext
20557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20558   (eval $ac_link) 2>conftest.er1
20559   ac_status=$?
20560   grep -v '^ *+' conftest.er1 >conftest.err
20561   rm -f conftest.er1
20562   cat conftest.err >&5
20563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564   (exit $ac_status); } &&
20565          { ac_try='test -z "$ac_c_werror_flag"
20566                          || test ! -s conftest.err'
20567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568   (eval $ac_try) 2>&5
20569   ac_status=$?
20570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571   (exit $ac_status); }; } &&
20572          { ac_try='test -s conftest$ac_exeext'
20573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574   (eval $ac_try) 2>&5
20575   ac_status=$?
20576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577   (exit $ac_status); }; }; then
20578   eval "$as_ac_var=yes"
20579 else
20580   echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.$ac_ext >&5
20582
20583 eval "$as_ac_var=no"
20584 fi
20585 rm -f conftest.err conftest.$ac_objext \
20586       conftest$ac_exeext conftest.$ac_ext
20587 fi
20588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20590 if test `eval echo '${'$as_ac_var'}'` = yes; then
20591   cat >>confdefs.h <<_ACEOF
20592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20593 _ACEOF
20594
20595 fi
20596 done
20597
20598   else
20599
20600   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20601 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20602   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20603     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20604   echo $ECHO_N "(cached) $ECHO_C" >&6
20605 else
20606
20607
20608
20609       ac_ext=cc
20610 ac_cpp='$CXXCPP $CPPFLAGS'
20611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20614
20615       cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h.  */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h.  */
20621 #include <math.h>
20622 int
20623 main ()
20624 {
20625  _atan2l(0, 0);
20626   ;
20627   return 0;
20628 }
20629 _ACEOF
20630 rm -f conftest.$ac_objext
20631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20632   (eval $ac_compile) 2>conftest.er1
20633   ac_status=$?
20634   grep -v '^ *+' conftest.er1 >conftest.err
20635   rm -f conftest.er1
20636   cat conftest.err >&5
20637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638   (exit $ac_status); } &&
20639          { ac_try='test -z "$ac_cxx_werror_flag"
20640                          || test ! -s conftest.err'
20641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642   (eval $ac_try) 2>&5
20643   ac_status=$?
20644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645   (exit $ac_status); }; } &&
20646          { ac_try='test -s conftest.$ac_objext'
20647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648   (eval $ac_try) 2>&5
20649   ac_status=$?
20650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651   (exit $ac_status); }; }; then
20652   glibcxx_cv_func__atan2l_use=yes
20653 else
20654   echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20656
20657 glibcxx_cv_func__atan2l_use=no
20658 fi
20659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20660       ac_ext=c
20661 ac_cpp='$CPP $CPPFLAGS'
20662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20665
20666
20667 fi
20668
20669   fi
20670   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20671 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20672
20673     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20674
20675 for ac_func in _atan2l
20676 do
20677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20678 echo "$as_me:$LINENO: checking for $ac_func" >&5
20679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20680 if eval "test \"\${$as_ac_var+set}\" = set"; then
20681   echo $ECHO_N "(cached) $ECHO_C" >&6
20682 else
20683   if test x$gcc_no_link = xyes; then
20684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20686    { (exit 1); exit 1; }; }
20687 fi
20688 cat >conftest.$ac_ext <<_ACEOF
20689 /* confdefs.h.  */
20690 _ACEOF
20691 cat confdefs.h >>conftest.$ac_ext
20692 cat >>conftest.$ac_ext <<_ACEOF
20693 /* end confdefs.h.  */
20694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20696 #define $ac_func innocuous_$ac_func
20697
20698 /* System header to define __stub macros and hopefully few prototypes,
20699     which can conflict with char $ac_func (); below.
20700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20701     <limits.h> exists even on freestanding compilers.  */
20702
20703 #ifdef __STDC__
20704 # include <limits.h>
20705 #else
20706 # include <assert.h>
20707 #endif
20708
20709 #undef $ac_func
20710
20711 /* Override any gcc2 internal prototype to avoid an error.  */
20712 #ifdef __cplusplus
20713 extern "C"
20714 {
20715 #endif
20716 /* We use char because int might match the return type of a gcc2
20717    builtin and then its argument prototype would still apply.  */
20718 char $ac_func ();
20719 /* The GNU C library defines this for functions which it implements
20720     to always fail with ENOSYS.  Some functions are actually named
20721     something starting with __ and the normal name is an alias.  */
20722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20723 choke me
20724 #else
20725 char (*f) () = $ac_func;
20726 #endif
20727 #ifdef __cplusplus
20728 }
20729 #endif
20730
20731 int
20732 main ()
20733 {
20734 return f != $ac_func;
20735   ;
20736   return 0;
20737 }
20738 _ACEOF
20739 rm -f conftest.$ac_objext conftest$ac_exeext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20741   (eval $ac_link) 2>conftest.er1
20742   ac_status=$?
20743   grep -v '^ *+' conftest.er1 >conftest.err
20744   rm -f conftest.er1
20745   cat conftest.err >&5
20746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747   (exit $ac_status); } &&
20748          { ac_try='test -z "$ac_c_werror_flag"
20749                          || test ! -s conftest.err'
20750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751   (eval $ac_try) 2>&5
20752   ac_status=$?
20753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754   (exit $ac_status); }; } &&
20755          { ac_try='test -s conftest$ac_exeext'
20756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757   (eval $ac_try) 2>&5
20758   ac_status=$?
20759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760   (exit $ac_status); }; }; then
20761   eval "$as_ac_var=yes"
20762 else
20763   echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20765
20766 eval "$as_ac_var=no"
20767 fi
20768 rm -f conftest.err conftest.$ac_objext \
20769       conftest$ac_exeext conftest.$ac_ext
20770 fi
20771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20773 if test `eval echo '${'$as_ac_var'}'` = yes; then
20774   cat >>confdefs.h <<_ACEOF
20775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20776 _ACEOF
20777
20778 fi
20779 done
20780
20781     fi
20782   fi
20783
20784
20785
20786
20787
20788
20789   echo "$as_me:$LINENO: checking for expl declaration" >&5
20790 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20791   if test x${glibcxx_cv_func_expl_use+set} != xset; then
20792     if test "${glibcxx_cv_func_expl_use+set}" = set; then
20793   echo $ECHO_N "(cached) $ECHO_C" >&6
20794 else
20795
20796
20797
20798       ac_ext=cc
20799 ac_cpp='$CXXCPP $CPPFLAGS'
20800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20803
20804       cat >conftest.$ac_ext <<_ACEOF
20805 /* confdefs.h.  */
20806 _ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h.  */
20810 #include <math.h>
20811                       #ifdef HAVE_IEEEFP_H
20812                       #include <ieeefp.h>
20813                       #endif
20814
20815 int
20816 main ()
20817 {
20818  expl(0);
20819   ;
20820   return 0;
20821 }
20822 _ACEOF
20823 rm -f conftest.$ac_objext
20824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20825   (eval $ac_compile) 2>conftest.er1
20826   ac_status=$?
20827   grep -v '^ *+' conftest.er1 >conftest.err
20828   rm -f conftest.er1
20829   cat conftest.err >&5
20830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831   (exit $ac_status); } &&
20832          { ac_try='test -z "$ac_cxx_werror_flag"
20833                          || test ! -s conftest.err'
20834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835   (eval $ac_try) 2>&5
20836   ac_status=$?
20837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838   (exit $ac_status); }; } &&
20839          { ac_try='test -s conftest.$ac_objext'
20840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20841   (eval $ac_try) 2>&5
20842   ac_status=$?
20843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844   (exit $ac_status); }; }; then
20845   glibcxx_cv_func_expl_use=yes
20846 else
20847   echo "$as_me: failed program was:" >&5
20848 sed 's/^/| /' conftest.$ac_ext >&5
20849
20850 glibcxx_cv_func_expl_use=no
20851 fi
20852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20853       ac_ext=c
20854 ac_cpp='$CPP $CPPFLAGS'
20855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20858
20859
20860 fi
20861
20862   fi
20863   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20864 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20865
20866   if test x$glibcxx_cv_func_expl_use = x"yes"; then
20867
20868 for ac_func in expl
20869 do
20870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20871 echo "$as_me:$LINENO: checking for $ac_func" >&5
20872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20873 if eval "test \"\${$as_ac_var+set}\" = set"; then
20874   echo $ECHO_N "(cached) $ECHO_C" >&6
20875 else
20876   if test x$gcc_no_link = xyes; then
20877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20879    { (exit 1); exit 1; }; }
20880 fi
20881 cat >conftest.$ac_ext <<_ACEOF
20882 /* confdefs.h.  */
20883 _ACEOF
20884 cat confdefs.h >>conftest.$ac_ext
20885 cat >>conftest.$ac_ext <<_ACEOF
20886 /* end confdefs.h.  */
20887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20889 #define $ac_func innocuous_$ac_func
20890
20891 /* System header to define __stub macros and hopefully few prototypes,
20892     which can conflict with char $ac_func (); below.
20893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20894     <limits.h> exists even on freestanding compilers.  */
20895
20896 #ifdef __STDC__
20897 # include <limits.h>
20898 #else
20899 # include <assert.h>
20900 #endif
20901
20902 #undef $ac_func
20903
20904 /* Override any gcc2 internal prototype to avoid an error.  */
20905 #ifdef __cplusplus
20906 extern "C"
20907 {
20908 #endif
20909 /* We use char because int might match the return type of a gcc2
20910    builtin and then its argument prototype would still apply.  */
20911 char $ac_func ();
20912 /* The GNU C library defines this for functions which it implements
20913     to always fail with ENOSYS.  Some functions are actually named
20914     something starting with __ and the normal name is an alias.  */
20915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20916 choke me
20917 #else
20918 char (*f) () = $ac_func;
20919 #endif
20920 #ifdef __cplusplus
20921 }
20922 #endif
20923
20924 int
20925 main ()
20926 {
20927 return f != $ac_func;
20928   ;
20929   return 0;
20930 }
20931 _ACEOF
20932 rm -f conftest.$ac_objext conftest$ac_exeext
20933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20934   (eval $ac_link) 2>conftest.er1
20935   ac_status=$?
20936   grep -v '^ *+' conftest.er1 >conftest.err
20937   rm -f conftest.er1
20938   cat conftest.err >&5
20939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940   (exit $ac_status); } &&
20941          { ac_try='test -z "$ac_c_werror_flag"
20942                          || test ! -s conftest.err'
20943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20944   (eval $ac_try) 2>&5
20945   ac_status=$?
20946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947   (exit $ac_status); }; } &&
20948          { ac_try='test -s conftest$ac_exeext'
20949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950   (eval $ac_try) 2>&5
20951   ac_status=$?
20952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953   (exit $ac_status); }; }; then
20954   eval "$as_ac_var=yes"
20955 else
20956   echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.$ac_ext >&5
20958
20959 eval "$as_ac_var=no"
20960 fi
20961 rm -f conftest.err conftest.$ac_objext \
20962       conftest$ac_exeext conftest.$ac_ext
20963 fi
20964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20966 if test `eval echo '${'$as_ac_var'}'` = yes; then
20967   cat >>confdefs.h <<_ACEOF
20968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20969 _ACEOF
20970
20971 fi
20972 done
20973
20974   else
20975
20976   echo "$as_me:$LINENO: checking for _expl declaration" >&5
20977 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20978   if test x${glibcxx_cv_func__expl_use+set} != xset; then
20979     if test "${glibcxx_cv_func__expl_use+set}" = set; then
20980   echo $ECHO_N "(cached) $ECHO_C" >&6
20981 else
20982
20983
20984
20985       ac_ext=cc
20986 ac_cpp='$CXXCPP $CPPFLAGS'
20987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20990
20991       cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h.  */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h.  */
20997 #include <math.h>
20998                       #ifdef HAVE_IEEEFP_H
20999                       #include <ieeefp.h>
21000                       #endif
21001
21002 int
21003 main ()
21004 {
21005  _expl(0);
21006   ;
21007   return 0;
21008 }
21009 _ACEOF
21010 rm -f conftest.$ac_objext
21011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21012   (eval $ac_compile) 2>conftest.er1
21013   ac_status=$?
21014   grep -v '^ *+' conftest.er1 >conftest.err
21015   rm -f conftest.er1
21016   cat conftest.err >&5
21017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018   (exit $ac_status); } &&
21019          { ac_try='test -z "$ac_cxx_werror_flag"
21020                          || test ! -s conftest.err'
21021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022   (eval $ac_try) 2>&5
21023   ac_status=$?
21024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025   (exit $ac_status); }; } &&
21026          { ac_try='test -s conftest.$ac_objext'
21027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028   (eval $ac_try) 2>&5
21029   ac_status=$?
21030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031   (exit $ac_status); }; }; then
21032   glibcxx_cv_func__expl_use=yes
21033 else
21034   echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.$ac_ext >&5
21036
21037 glibcxx_cv_func__expl_use=no
21038 fi
21039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21040       ac_ext=c
21041 ac_cpp='$CPP $CPPFLAGS'
21042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21045
21046
21047 fi
21048
21049   fi
21050   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21051 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21052
21053     if test x$glibcxx_cv_func__expl_use = x"yes"; then
21054
21055 for ac_func in _expl
21056 do
21057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21058 echo "$as_me:$LINENO: checking for $ac_func" >&5
21059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21060 if eval "test \"\${$as_ac_var+set}\" = set"; then
21061   echo $ECHO_N "(cached) $ECHO_C" >&6
21062 else
21063   if test x$gcc_no_link = xyes; then
21064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21066    { (exit 1); exit 1; }; }
21067 fi
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h.  */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h.  */
21074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21075    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21076 #define $ac_func innocuous_$ac_func
21077
21078 /* System header to define __stub macros and hopefully few prototypes,
21079     which can conflict with char $ac_func (); below.
21080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21081     <limits.h> exists even on freestanding compilers.  */
21082
21083 #ifdef __STDC__
21084 # include <limits.h>
21085 #else
21086 # include <assert.h>
21087 #endif
21088
21089 #undef $ac_func
21090
21091 /* Override any gcc2 internal prototype to avoid an error.  */
21092 #ifdef __cplusplus
21093 extern "C"
21094 {
21095 #endif
21096 /* We use char because int might match the return type of a gcc2
21097    builtin and then its argument prototype would still apply.  */
21098 char $ac_func ();
21099 /* The GNU C library defines this for functions which it implements
21100     to always fail with ENOSYS.  Some functions are actually named
21101     something starting with __ and the normal name is an alias.  */
21102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21103 choke me
21104 #else
21105 char (*f) () = $ac_func;
21106 #endif
21107 #ifdef __cplusplus
21108 }
21109 #endif
21110
21111 int
21112 main ()
21113 {
21114 return f != $ac_func;
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   eval "$as_ac_var=yes"
21142 else
21143   echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.$ac_ext >&5
21145
21146 eval "$as_ac_var=no"
21147 fi
21148 rm -f conftest.err conftest.$ac_objext \
21149       conftest$ac_exeext conftest.$ac_ext
21150 fi
21151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21153 if test `eval echo '${'$as_ac_var'}'` = yes; then
21154   cat >>confdefs.h <<_ACEOF
21155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21156 _ACEOF
21157
21158 fi
21159 done
21160
21161     fi
21162   fi
21163
21164
21165
21166
21167
21168
21169   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21170 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21171   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21172     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21173   echo $ECHO_N "(cached) $ECHO_C" >&6
21174 else
21175
21176
21177
21178       ac_ext=cc
21179 ac_cpp='$CXXCPP $CPPFLAGS'
21180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21183
21184       cat >conftest.$ac_ext <<_ACEOF
21185 /* confdefs.h.  */
21186 _ACEOF
21187 cat confdefs.h >>conftest.$ac_ext
21188 cat >>conftest.$ac_ext <<_ACEOF
21189 /* end confdefs.h.  */
21190 #include <math.h>
21191                       #ifdef HAVE_IEEEFP_H
21192                       #include <ieeefp.h>
21193                       #endif
21194
21195 int
21196 main ()
21197 {
21198  fabsl(0);
21199   ;
21200   return 0;
21201 }
21202 _ACEOF
21203 rm -f conftest.$ac_objext
21204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21205   (eval $ac_compile) 2>conftest.er1
21206   ac_status=$?
21207   grep -v '^ *+' conftest.er1 >conftest.err
21208   rm -f conftest.er1
21209   cat conftest.err >&5
21210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211   (exit $ac_status); } &&
21212          { ac_try='test -z "$ac_cxx_werror_flag"
21213                          || test ! -s conftest.err'
21214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215   (eval $ac_try) 2>&5
21216   ac_status=$?
21217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218   (exit $ac_status); }; } &&
21219          { ac_try='test -s conftest.$ac_objext'
21220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21221   (eval $ac_try) 2>&5
21222   ac_status=$?
21223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224   (exit $ac_status); }; }; then
21225   glibcxx_cv_func_fabsl_use=yes
21226 else
21227   echo "$as_me: failed program was:" >&5
21228 sed 's/^/| /' conftest.$ac_ext >&5
21229
21230 glibcxx_cv_func_fabsl_use=no
21231 fi
21232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21233       ac_ext=c
21234 ac_cpp='$CPP $CPPFLAGS'
21235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21238
21239
21240 fi
21241
21242   fi
21243   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21244 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21245
21246   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21247
21248 for ac_func in fabsl
21249 do
21250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21251 echo "$as_me:$LINENO: checking for $ac_func" >&5
21252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21253 if eval "test \"\${$as_ac_var+set}\" = set"; then
21254   echo $ECHO_N "(cached) $ECHO_C" >&6
21255 else
21256   if test x$gcc_no_link = xyes; then
21257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21259    { (exit 1); exit 1; }; }
21260 fi
21261 cat >conftest.$ac_ext <<_ACEOF
21262 /* confdefs.h.  */
21263 _ACEOF
21264 cat confdefs.h >>conftest.$ac_ext
21265 cat >>conftest.$ac_ext <<_ACEOF
21266 /* end confdefs.h.  */
21267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21269 #define $ac_func innocuous_$ac_func
21270
21271 /* System header to define __stub macros and hopefully few prototypes,
21272     which can conflict with char $ac_func (); below.
21273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21274     <limits.h> exists even on freestanding compilers.  */
21275
21276 #ifdef __STDC__
21277 # include <limits.h>
21278 #else
21279 # include <assert.h>
21280 #endif
21281
21282 #undef $ac_func
21283
21284 /* Override any gcc2 internal prototype to avoid an error.  */
21285 #ifdef __cplusplus
21286 extern "C"
21287 {
21288 #endif
21289 /* We use char because int might match the return type of a gcc2
21290    builtin and then its argument prototype would still apply.  */
21291 char $ac_func ();
21292 /* The GNU C library defines this for functions which it implements
21293     to always fail with ENOSYS.  Some functions are actually named
21294     something starting with __ and the normal name is an alias.  */
21295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21296 choke me
21297 #else
21298 char (*f) () = $ac_func;
21299 #endif
21300 #ifdef __cplusplus
21301 }
21302 #endif
21303
21304 int
21305 main ()
21306 {
21307 return f != $ac_func;
21308   ;
21309   return 0;
21310 }
21311 _ACEOF
21312 rm -f conftest.$ac_objext conftest$ac_exeext
21313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21314   (eval $ac_link) 2>conftest.er1
21315   ac_status=$?
21316   grep -v '^ *+' conftest.er1 >conftest.err
21317   rm -f conftest.er1
21318   cat conftest.err >&5
21319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320   (exit $ac_status); } &&
21321          { ac_try='test -z "$ac_c_werror_flag"
21322                          || test ! -s conftest.err'
21323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324   (eval $ac_try) 2>&5
21325   ac_status=$?
21326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327   (exit $ac_status); }; } &&
21328          { ac_try='test -s conftest$ac_exeext'
21329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330   (eval $ac_try) 2>&5
21331   ac_status=$?
21332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333   (exit $ac_status); }; }; then
21334   eval "$as_ac_var=yes"
21335 else
21336   echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.$ac_ext >&5
21338
21339 eval "$as_ac_var=no"
21340 fi
21341 rm -f conftest.err conftest.$ac_objext \
21342       conftest$ac_exeext conftest.$ac_ext
21343 fi
21344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21346 if test `eval echo '${'$as_ac_var'}'` = yes; then
21347   cat >>confdefs.h <<_ACEOF
21348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21349 _ACEOF
21350
21351 fi
21352 done
21353
21354   else
21355
21356   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21357 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21358   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21359     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21360   echo $ECHO_N "(cached) $ECHO_C" >&6
21361 else
21362
21363
21364
21365       ac_ext=cc
21366 ac_cpp='$CXXCPP $CPPFLAGS'
21367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21370
21371       cat >conftest.$ac_ext <<_ACEOF
21372 /* confdefs.h.  */
21373 _ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h.  */
21377 #include <math.h>
21378                       #ifdef HAVE_IEEEFP_H
21379                       #include <ieeefp.h>
21380                       #endif
21381
21382 int
21383 main ()
21384 {
21385  _fabsl(0);
21386   ;
21387   return 0;
21388 }
21389 _ACEOF
21390 rm -f conftest.$ac_objext
21391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21392   (eval $ac_compile) 2>conftest.er1
21393   ac_status=$?
21394   grep -v '^ *+' conftest.er1 >conftest.err
21395   rm -f conftest.er1
21396   cat conftest.err >&5
21397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398   (exit $ac_status); } &&
21399          { ac_try='test -z "$ac_cxx_werror_flag"
21400                          || test ! -s conftest.err'
21401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402   (eval $ac_try) 2>&5
21403   ac_status=$?
21404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405   (exit $ac_status); }; } &&
21406          { ac_try='test -s conftest.$ac_objext'
21407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21408   (eval $ac_try) 2>&5
21409   ac_status=$?
21410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411   (exit $ac_status); }; }; then
21412   glibcxx_cv_func__fabsl_use=yes
21413 else
21414   echo "$as_me: failed program was:" >&5
21415 sed 's/^/| /' conftest.$ac_ext >&5
21416
21417 glibcxx_cv_func__fabsl_use=no
21418 fi
21419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21420       ac_ext=c
21421 ac_cpp='$CPP $CPPFLAGS'
21422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21425
21426
21427 fi
21428
21429   fi
21430   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21431 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21432
21433     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21434
21435 for ac_func in _fabsl
21436 do
21437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21438 echo "$as_me:$LINENO: checking for $ac_func" >&5
21439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21440 if eval "test \"\${$as_ac_var+set}\" = set"; then
21441   echo $ECHO_N "(cached) $ECHO_C" >&6
21442 else
21443   if test x$gcc_no_link = xyes; then
21444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21446    { (exit 1); exit 1; }; }
21447 fi
21448 cat >conftest.$ac_ext <<_ACEOF
21449 /* confdefs.h.  */
21450 _ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h.  */
21454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21455    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21456 #define $ac_func innocuous_$ac_func
21457
21458 /* System header to define __stub macros and hopefully few prototypes,
21459     which can conflict with char $ac_func (); below.
21460     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21461     <limits.h> exists even on freestanding compilers.  */
21462
21463 #ifdef __STDC__
21464 # include <limits.h>
21465 #else
21466 # include <assert.h>
21467 #endif
21468
21469 #undef $ac_func
21470
21471 /* Override any gcc2 internal prototype to avoid an error.  */
21472 #ifdef __cplusplus
21473 extern "C"
21474 {
21475 #endif
21476 /* We use char because int might match the return type of a gcc2
21477    builtin and then its argument prototype would still apply.  */
21478 char $ac_func ();
21479 /* The GNU C library defines this for functions which it implements
21480     to always fail with ENOSYS.  Some functions are actually named
21481     something starting with __ and the normal name is an alias.  */
21482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21483 choke me
21484 #else
21485 char (*f) () = $ac_func;
21486 #endif
21487 #ifdef __cplusplus
21488 }
21489 #endif
21490
21491 int
21492 main ()
21493 {
21494 return f != $ac_func;
21495   ;
21496   return 0;
21497 }
21498 _ACEOF
21499 rm -f conftest.$ac_objext conftest$ac_exeext
21500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21501   (eval $ac_link) 2>conftest.er1
21502   ac_status=$?
21503   grep -v '^ *+' conftest.er1 >conftest.err
21504   rm -f conftest.er1
21505   cat conftest.err >&5
21506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507   (exit $ac_status); } &&
21508          { ac_try='test -z "$ac_c_werror_flag"
21509                          || test ! -s conftest.err'
21510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511   (eval $ac_try) 2>&5
21512   ac_status=$?
21513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514   (exit $ac_status); }; } &&
21515          { ac_try='test -s conftest$ac_exeext'
21516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21517   (eval $ac_try) 2>&5
21518   ac_status=$?
21519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520   (exit $ac_status); }; }; then
21521   eval "$as_ac_var=yes"
21522 else
21523   echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.$ac_ext >&5
21525
21526 eval "$as_ac_var=no"
21527 fi
21528 rm -f conftest.err conftest.$ac_objext \
21529       conftest$ac_exeext conftest.$ac_ext
21530 fi
21531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21533 if test `eval echo '${'$as_ac_var'}'` = yes; then
21534   cat >>confdefs.h <<_ACEOF
21535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21536 _ACEOF
21537
21538 fi
21539 done
21540
21541     fi
21542   fi
21543
21544
21545
21546
21547
21548
21549   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21550 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21551   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21552     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21553   echo $ECHO_N "(cached) $ECHO_C" >&6
21554 else
21555
21556
21557
21558       ac_ext=cc
21559 ac_cpp='$CXXCPP $CPPFLAGS'
21560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21563
21564       cat >conftest.$ac_ext <<_ACEOF
21565 /* confdefs.h.  */
21566 _ACEOF
21567 cat confdefs.h >>conftest.$ac_ext
21568 cat >>conftest.$ac_ext <<_ACEOF
21569 /* end confdefs.h.  */
21570 #include <math.h>
21571 int
21572 main ()
21573 {
21574  fmodl(0, 0);
21575   ;
21576   return 0;
21577 }
21578 _ACEOF
21579 rm -f conftest.$ac_objext
21580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21581   (eval $ac_compile) 2>conftest.er1
21582   ac_status=$?
21583   grep -v '^ *+' conftest.er1 >conftest.err
21584   rm -f conftest.er1
21585   cat conftest.err >&5
21586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587   (exit $ac_status); } &&
21588          { ac_try='test -z "$ac_cxx_werror_flag"
21589                          || test ! -s conftest.err'
21590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591   (eval $ac_try) 2>&5
21592   ac_status=$?
21593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594   (exit $ac_status); }; } &&
21595          { ac_try='test -s conftest.$ac_objext'
21596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597   (eval $ac_try) 2>&5
21598   ac_status=$?
21599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600   (exit $ac_status); }; }; then
21601   glibcxx_cv_func_fmodl_use=yes
21602 else
21603   echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.$ac_ext >&5
21605
21606 glibcxx_cv_func_fmodl_use=no
21607 fi
21608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21609       ac_ext=c
21610 ac_cpp='$CPP $CPPFLAGS'
21611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21614
21615
21616 fi
21617
21618   fi
21619   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21620 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21621
21622   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21623
21624 for ac_func in fmodl
21625 do
21626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21627 echo "$as_me:$LINENO: checking for $ac_func" >&5
21628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21629 if eval "test \"\${$as_ac_var+set}\" = set"; then
21630   echo $ECHO_N "(cached) $ECHO_C" >&6
21631 else
21632   if test x$gcc_no_link = xyes; then
21633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21635    { (exit 1); exit 1; }; }
21636 fi
21637 cat >conftest.$ac_ext <<_ACEOF
21638 /* confdefs.h.  */
21639 _ACEOF
21640 cat confdefs.h >>conftest.$ac_ext
21641 cat >>conftest.$ac_ext <<_ACEOF
21642 /* end confdefs.h.  */
21643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21644    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21645 #define $ac_func innocuous_$ac_func
21646
21647 /* System header to define __stub macros and hopefully few prototypes,
21648     which can conflict with char $ac_func (); below.
21649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21650     <limits.h> exists even on freestanding compilers.  */
21651
21652 #ifdef __STDC__
21653 # include <limits.h>
21654 #else
21655 # include <assert.h>
21656 #endif
21657
21658 #undef $ac_func
21659
21660 /* Override any gcc2 internal prototype to avoid an error.  */
21661 #ifdef __cplusplus
21662 extern "C"
21663 {
21664 #endif
21665 /* We use char because int might match the return type of a gcc2
21666    builtin and then its argument prototype would still apply.  */
21667 char $ac_func ();
21668 /* The GNU C library defines this for functions which it implements
21669     to always fail with ENOSYS.  Some functions are actually named
21670     something starting with __ and the normal name is an alias.  */
21671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21672 choke me
21673 #else
21674 char (*f) () = $ac_func;
21675 #endif
21676 #ifdef __cplusplus
21677 }
21678 #endif
21679
21680 int
21681 main ()
21682 {
21683 return f != $ac_func;
21684   ;
21685   return 0;
21686 }
21687 _ACEOF
21688 rm -f conftest.$ac_objext conftest$ac_exeext
21689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21690   (eval $ac_link) 2>conftest.er1
21691   ac_status=$?
21692   grep -v '^ *+' conftest.er1 >conftest.err
21693   rm -f conftest.er1
21694   cat conftest.err >&5
21695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696   (exit $ac_status); } &&
21697          { ac_try='test -z "$ac_c_werror_flag"
21698                          || test ! -s conftest.err'
21699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21700   (eval $ac_try) 2>&5
21701   ac_status=$?
21702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703   (exit $ac_status); }; } &&
21704          { ac_try='test -s conftest$ac_exeext'
21705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21706   (eval $ac_try) 2>&5
21707   ac_status=$?
21708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709   (exit $ac_status); }; }; then
21710   eval "$as_ac_var=yes"
21711 else
21712   echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.$ac_ext >&5
21714
21715 eval "$as_ac_var=no"
21716 fi
21717 rm -f conftest.err conftest.$ac_objext \
21718       conftest$ac_exeext conftest.$ac_ext
21719 fi
21720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21722 if test `eval echo '${'$as_ac_var'}'` = yes; then
21723   cat >>confdefs.h <<_ACEOF
21724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21725 _ACEOF
21726
21727 fi
21728 done
21729
21730   else
21731
21732   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21733 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21734   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21735     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21736   echo $ECHO_N "(cached) $ECHO_C" >&6
21737 else
21738
21739
21740
21741       ac_ext=cc
21742 ac_cpp='$CXXCPP $CPPFLAGS'
21743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21746
21747       cat >conftest.$ac_ext <<_ACEOF
21748 /* confdefs.h.  */
21749 _ACEOF
21750 cat confdefs.h >>conftest.$ac_ext
21751 cat >>conftest.$ac_ext <<_ACEOF
21752 /* end confdefs.h.  */
21753 #include <math.h>
21754 int
21755 main ()
21756 {
21757  _fmodl(0, 0);
21758   ;
21759   return 0;
21760 }
21761 _ACEOF
21762 rm -f conftest.$ac_objext
21763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21764   (eval $ac_compile) 2>conftest.er1
21765   ac_status=$?
21766   grep -v '^ *+' conftest.er1 >conftest.err
21767   rm -f conftest.er1
21768   cat conftest.err >&5
21769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770   (exit $ac_status); } &&
21771          { ac_try='test -z "$ac_cxx_werror_flag"
21772                          || test ! -s conftest.err'
21773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21774   (eval $ac_try) 2>&5
21775   ac_status=$?
21776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777   (exit $ac_status); }; } &&
21778          { ac_try='test -s conftest.$ac_objext'
21779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21780   (eval $ac_try) 2>&5
21781   ac_status=$?
21782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783   (exit $ac_status); }; }; then
21784   glibcxx_cv_func__fmodl_use=yes
21785 else
21786   echo "$as_me: failed program was:" >&5
21787 sed 's/^/| /' conftest.$ac_ext >&5
21788
21789 glibcxx_cv_func__fmodl_use=no
21790 fi
21791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21792       ac_ext=c
21793 ac_cpp='$CPP $CPPFLAGS'
21794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21797
21798
21799 fi
21800
21801   fi
21802   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21803 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21804
21805     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21806
21807 for ac_func in _fmodl
21808 do
21809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21810 echo "$as_me:$LINENO: checking for $ac_func" >&5
21811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21812 if eval "test \"\${$as_ac_var+set}\" = set"; then
21813   echo $ECHO_N "(cached) $ECHO_C" >&6
21814 else
21815   if test x$gcc_no_link = xyes; then
21816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21818    { (exit 1); exit 1; }; }
21819 fi
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h.  */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h.  */
21826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21828 #define $ac_func innocuous_$ac_func
21829
21830 /* System header to define __stub macros and hopefully few prototypes,
21831     which can conflict with char $ac_func (); below.
21832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21833     <limits.h> exists even on freestanding compilers.  */
21834
21835 #ifdef __STDC__
21836 # include <limits.h>
21837 #else
21838 # include <assert.h>
21839 #endif
21840
21841 #undef $ac_func
21842
21843 /* Override any gcc2 internal prototype to avoid an error.  */
21844 #ifdef __cplusplus
21845 extern "C"
21846 {
21847 #endif
21848 /* We use char because int might match the return type of a gcc2
21849    builtin and then its argument prototype would still apply.  */
21850 char $ac_func ();
21851 /* The GNU C library defines this for functions which it implements
21852     to always fail with ENOSYS.  Some functions are actually named
21853     something starting with __ and the normal name is an alias.  */
21854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21855 choke me
21856 #else
21857 char (*f) () = $ac_func;
21858 #endif
21859 #ifdef __cplusplus
21860 }
21861 #endif
21862
21863 int
21864 main ()
21865 {
21866 return f != $ac_func;
21867   ;
21868   return 0;
21869 }
21870 _ACEOF
21871 rm -f conftest.$ac_objext conftest$ac_exeext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21873   (eval $ac_link) 2>conftest.er1
21874   ac_status=$?
21875   grep -v '^ *+' conftest.er1 >conftest.err
21876   rm -f conftest.er1
21877   cat conftest.err >&5
21878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879   (exit $ac_status); } &&
21880          { ac_try='test -z "$ac_c_werror_flag"
21881                          || test ! -s conftest.err'
21882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883   (eval $ac_try) 2>&5
21884   ac_status=$?
21885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886   (exit $ac_status); }; } &&
21887          { ac_try='test -s conftest$ac_exeext'
21888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889   (eval $ac_try) 2>&5
21890   ac_status=$?
21891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892   (exit $ac_status); }; }; then
21893   eval "$as_ac_var=yes"
21894 else
21895   echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.$ac_ext >&5
21897
21898 eval "$as_ac_var=no"
21899 fi
21900 rm -f conftest.err conftest.$ac_objext \
21901       conftest$ac_exeext conftest.$ac_ext
21902 fi
21903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21905 if test `eval echo '${'$as_ac_var'}'` = yes; then
21906   cat >>confdefs.h <<_ACEOF
21907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21908 _ACEOF
21909
21910 fi
21911 done
21912
21913     fi
21914   fi
21915
21916
21917
21918
21919
21920
21921   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21922 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21923   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21924     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21925   echo $ECHO_N "(cached) $ECHO_C" >&6
21926 else
21927
21928
21929
21930       ac_ext=cc
21931 ac_cpp='$CXXCPP $CPPFLAGS'
21932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21935
21936       cat >conftest.$ac_ext <<_ACEOF
21937 /* confdefs.h.  */
21938 _ACEOF
21939 cat confdefs.h >>conftest.$ac_ext
21940 cat >>conftest.$ac_ext <<_ACEOF
21941 /* end confdefs.h.  */
21942 #include <math.h>
21943 int
21944 main ()
21945 {
21946  frexpl(0, 0);
21947   ;
21948   return 0;
21949 }
21950 _ACEOF
21951 rm -f conftest.$ac_objext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21953   (eval $ac_compile) 2>conftest.er1
21954   ac_status=$?
21955   grep -v '^ *+' conftest.er1 >conftest.err
21956   rm -f conftest.er1
21957   cat conftest.err >&5
21958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959   (exit $ac_status); } &&
21960          { ac_try='test -z "$ac_cxx_werror_flag"
21961                          || test ! -s conftest.err'
21962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963   (eval $ac_try) 2>&5
21964   ac_status=$?
21965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966   (exit $ac_status); }; } &&
21967          { ac_try='test -s conftest.$ac_objext'
21968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969   (eval $ac_try) 2>&5
21970   ac_status=$?
21971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972   (exit $ac_status); }; }; then
21973   glibcxx_cv_func_frexpl_use=yes
21974 else
21975   echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.$ac_ext >&5
21977
21978 glibcxx_cv_func_frexpl_use=no
21979 fi
21980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21981       ac_ext=c
21982 ac_cpp='$CPP $CPPFLAGS'
21983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21986
21987
21988 fi
21989
21990   fi
21991   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
21992 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
21993
21994   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
21995
21996 for ac_func in frexpl
21997 do
21998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21999 echo "$as_me:$LINENO: checking for $ac_func" >&5
22000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22001 if eval "test \"\${$as_ac_var+set}\" = set"; then
22002   echo $ECHO_N "(cached) $ECHO_C" >&6
22003 else
22004   if test x$gcc_no_link = xyes; then
22005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22007    { (exit 1); exit 1; }; }
22008 fi
22009 cat >conftest.$ac_ext <<_ACEOF
22010 /* confdefs.h.  */
22011 _ACEOF
22012 cat confdefs.h >>conftest.$ac_ext
22013 cat >>conftest.$ac_ext <<_ACEOF
22014 /* end confdefs.h.  */
22015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22016    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22017 #define $ac_func innocuous_$ac_func
22018
22019 /* System header to define __stub macros and hopefully few prototypes,
22020     which can conflict with char $ac_func (); below.
22021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22022     <limits.h> exists even on freestanding compilers.  */
22023
22024 #ifdef __STDC__
22025 # include <limits.h>
22026 #else
22027 # include <assert.h>
22028 #endif
22029
22030 #undef $ac_func
22031
22032 /* Override any gcc2 internal prototype to avoid an error.  */
22033 #ifdef __cplusplus
22034 extern "C"
22035 {
22036 #endif
22037 /* We use char because int might match the return type of a gcc2
22038    builtin and then its argument prototype would still apply.  */
22039 char $ac_func ();
22040 /* The GNU C library defines this for functions which it implements
22041     to always fail with ENOSYS.  Some functions are actually named
22042     something starting with __ and the normal name is an alias.  */
22043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22044 choke me
22045 #else
22046 char (*f) () = $ac_func;
22047 #endif
22048 #ifdef __cplusplus
22049 }
22050 #endif
22051
22052 int
22053 main ()
22054 {
22055 return f != $ac_func;
22056   ;
22057   return 0;
22058 }
22059 _ACEOF
22060 rm -f conftest.$ac_objext conftest$ac_exeext
22061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22062   (eval $ac_link) 2>conftest.er1
22063   ac_status=$?
22064   grep -v '^ *+' conftest.er1 >conftest.err
22065   rm -f conftest.er1
22066   cat conftest.err >&5
22067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068   (exit $ac_status); } &&
22069          { ac_try='test -z "$ac_c_werror_flag"
22070                          || test ! -s conftest.err'
22071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22072   (eval $ac_try) 2>&5
22073   ac_status=$?
22074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075   (exit $ac_status); }; } &&
22076          { ac_try='test -s conftest$ac_exeext'
22077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078   (eval $ac_try) 2>&5
22079   ac_status=$?
22080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081   (exit $ac_status); }; }; then
22082   eval "$as_ac_var=yes"
22083 else
22084   echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22086
22087 eval "$as_ac_var=no"
22088 fi
22089 rm -f conftest.err conftest.$ac_objext \
22090       conftest$ac_exeext conftest.$ac_ext
22091 fi
22092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22094 if test `eval echo '${'$as_ac_var'}'` = yes; then
22095   cat >>confdefs.h <<_ACEOF
22096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22097 _ACEOF
22098
22099 fi
22100 done
22101
22102   else
22103
22104   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22105 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22106   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22107     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22108   echo $ECHO_N "(cached) $ECHO_C" >&6
22109 else
22110
22111
22112
22113       ac_ext=cc
22114 ac_cpp='$CXXCPP $CPPFLAGS'
22115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22118
22119       cat >conftest.$ac_ext <<_ACEOF
22120 /* confdefs.h.  */
22121 _ACEOF
22122 cat confdefs.h >>conftest.$ac_ext
22123 cat >>conftest.$ac_ext <<_ACEOF
22124 /* end confdefs.h.  */
22125 #include <math.h>
22126 int
22127 main ()
22128 {
22129  _frexpl(0, 0);
22130   ;
22131   return 0;
22132 }
22133 _ACEOF
22134 rm -f conftest.$ac_objext
22135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22136   (eval $ac_compile) 2>conftest.er1
22137   ac_status=$?
22138   grep -v '^ *+' conftest.er1 >conftest.err
22139   rm -f conftest.er1
22140   cat conftest.err >&5
22141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142   (exit $ac_status); } &&
22143          { ac_try='test -z "$ac_cxx_werror_flag"
22144                          || test ! -s conftest.err'
22145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22146   (eval $ac_try) 2>&5
22147   ac_status=$?
22148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149   (exit $ac_status); }; } &&
22150          { ac_try='test -s conftest.$ac_objext'
22151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22152   (eval $ac_try) 2>&5
22153   ac_status=$?
22154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155   (exit $ac_status); }; }; then
22156   glibcxx_cv_func__frexpl_use=yes
22157 else
22158   echo "$as_me: failed program was:" >&5
22159 sed 's/^/| /' conftest.$ac_ext >&5
22160
22161 glibcxx_cv_func__frexpl_use=no
22162 fi
22163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22164       ac_ext=c
22165 ac_cpp='$CPP $CPPFLAGS'
22166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22169
22170
22171 fi
22172
22173   fi
22174   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22175 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22176
22177     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22178
22179 for ac_func in _frexpl
22180 do
22181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22182 echo "$as_me:$LINENO: checking for $ac_func" >&5
22183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22184 if eval "test \"\${$as_ac_var+set}\" = set"; then
22185   echo $ECHO_N "(cached) $ECHO_C" >&6
22186 else
22187   if test x$gcc_no_link = xyes; then
22188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22190    { (exit 1); exit 1; }; }
22191 fi
22192 cat >conftest.$ac_ext <<_ACEOF
22193 /* confdefs.h.  */
22194 _ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h.  */
22198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22200 #define $ac_func innocuous_$ac_func
22201
22202 /* System header to define __stub macros and hopefully few prototypes,
22203     which can conflict with char $ac_func (); below.
22204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22205     <limits.h> exists even on freestanding compilers.  */
22206
22207 #ifdef __STDC__
22208 # include <limits.h>
22209 #else
22210 # include <assert.h>
22211 #endif
22212
22213 #undef $ac_func
22214
22215 /* Override any gcc2 internal prototype to avoid an error.  */
22216 #ifdef __cplusplus
22217 extern "C"
22218 {
22219 #endif
22220 /* We use char because int might match the return type of a gcc2
22221    builtin and then its argument prototype would still apply.  */
22222 char $ac_func ();
22223 /* The GNU C library defines this for functions which it implements
22224     to always fail with ENOSYS.  Some functions are actually named
22225     something starting with __ and the normal name is an alias.  */
22226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22227 choke me
22228 #else
22229 char (*f) () = $ac_func;
22230 #endif
22231 #ifdef __cplusplus
22232 }
22233 #endif
22234
22235 int
22236 main ()
22237 {
22238 return f != $ac_func;
22239   ;
22240   return 0;
22241 }
22242 _ACEOF
22243 rm -f conftest.$ac_objext conftest$ac_exeext
22244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22245   (eval $ac_link) 2>conftest.er1
22246   ac_status=$?
22247   grep -v '^ *+' conftest.er1 >conftest.err
22248   rm -f conftest.er1
22249   cat conftest.err >&5
22250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251   (exit $ac_status); } &&
22252          { ac_try='test -z "$ac_c_werror_flag"
22253                          || test ! -s conftest.err'
22254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255   (eval $ac_try) 2>&5
22256   ac_status=$?
22257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258   (exit $ac_status); }; } &&
22259          { ac_try='test -s conftest$ac_exeext'
22260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261   (eval $ac_try) 2>&5
22262   ac_status=$?
22263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264   (exit $ac_status); }; }; then
22265   eval "$as_ac_var=yes"
22266 else
22267   echo "$as_me: failed program was:" >&5
22268 sed 's/^/| /' conftest.$ac_ext >&5
22269
22270 eval "$as_ac_var=no"
22271 fi
22272 rm -f conftest.err conftest.$ac_objext \
22273       conftest$ac_exeext conftest.$ac_ext
22274 fi
22275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22277 if test `eval echo '${'$as_ac_var'}'` = yes; then
22278   cat >>confdefs.h <<_ACEOF
22279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22280 _ACEOF
22281
22282 fi
22283 done
22284
22285     fi
22286   fi
22287
22288
22289
22290
22291
22292
22293   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22294 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22295   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22296     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22297   echo $ECHO_N "(cached) $ECHO_C" >&6
22298 else
22299
22300
22301
22302       ac_ext=cc
22303 ac_cpp='$CXXCPP $CPPFLAGS'
22304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22307
22308       cat >conftest.$ac_ext <<_ACEOF
22309 /* confdefs.h.  */
22310 _ACEOF
22311 cat confdefs.h >>conftest.$ac_ext
22312 cat >>conftest.$ac_ext <<_ACEOF
22313 /* end confdefs.h.  */
22314 #include <math.h>
22315 int
22316 main ()
22317 {
22318  hypotl(0, 0);
22319   ;
22320   return 0;
22321 }
22322 _ACEOF
22323 rm -f conftest.$ac_objext
22324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22325   (eval $ac_compile) 2>conftest.er1
22326   ac_status=$?
22327   grep -v '^ *+' conftest.er1 >conftest.err
22328   rm -f conftest.er1
22329   cat conftest.err >&5
22330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331   (exit $ac_status); } &&
22332          { ac_try='test -z "$ac_cxx_werror_flag"
22333                          || test ! -s conftest.err'
22334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22335   (eval $ac_try) 2>&5
22336   ac_status=$?
22337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338   (exit $ac_status); }; } &&
22339          { ac_try='test -s conftest.$ac_objext'
22340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22341   (eval $ac_try) 2>&5
22342   ac_status=$?
22343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344   (exit $ac_status); }; }; then
22345   glibcxx_cv_func_hypotl_use=yes
22346 else
22347   echo "$as_me: failed program was:" >&5
22348 sed 's/^/| /' conftest.$ac_ext >&5
22349
22350 glibcxx_cv_func_hypotl_use=no
22351 fi
22352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22353       ac_ext=c
22354 ac_cpp='$CPP $CPPFLAGS'
22355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22358
22359
22360 fi
22361
22362   fi
22363   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22364 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22365
22366   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22367
22368 for ac_func in hypotl
22369 do
22370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22371 echo "$as_me:$LINENO: checking for $ac_func" >&5
22372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22373 if eval "test \"\${$as_ac_var+set}\" = set"; then
22374   echo $ECHO_N "(cached) $ECHO_C" >&6
22375 else
22376   if test x$gcc_no_link = xyes; then
22377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22379    { (exit 1); exit 1; }; }
22380 fi
22381 cat >conftest.$ac_ext <<_ACEOF
22382 /* confdefs.h.  */
22383 _ACEOF
22384 cat confdefs.h >>conftest.$ac_ext
22385 cat >>conftest.$ac_ext <<_ACEOF
22386 /* end confdefs.h.  */
22387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22388    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22389 #define $ac_func innocuous_$ac_func
22390
22391 /* System header to define __stub macros and hopefully few prototypes,
22392     which can conflict with char $ac_func (); below.
22393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22394     <limits.h> exists even on freestanding compilers.  */
22395
22396 #ifdef __STDC__
22397 # include <limits.h>
22398 #else
22399 # include <assert.h>
22400 #endif
22401
22402 #undef $ac_func
22403
22404 /* Override any gcc2 internal prototype to avoid an error.  */
22405 #ifdef __cplusplus
22406 extern "C"
22407 {
22408 #endif
22409 /* We use char because int might match the return type of a gcc2
22410    builtin and then its argument prototype would still apply.  */
22411 char $ac_func ();
22412 /* The GNU C library defines this for functions which it implements
22413     to always fail with ENOSYS.  Some functions are actually named
22414     something starting with __ and the normal name is an alias.  */
22415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22416 choke me
22417 #else
22418 char (*f) () = $ac_func;
22419 #endif
22420 #ifdef __cplusplus
22421 }
22422 #endif
22423
22424 int
22425 main ()
22426 {
22427 return f != $ac_func;
22428   ;
22429   return 0;
22430 }
22431 _ACEOF
22432 rm -f conftest.$ac_objext conftest$ac_exeext
22433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22434   (eval $ac_link) 2>conftest.er1
22435   ac_status=$?
22436   grep -v '^ *+' conftest.er1 >conftest.err
22437   rm -f conftest.er1
22438   cat conftest.err >&5
22439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440   (exit $ac_status); } &&
22441          { ac_try='test -z "$ac_c_werror_flag"
22442                          || test ! -s conftest.err'
22443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444   (eval $ac_try) 2>&5
22445   ac_status=$?
22446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447   (exit $ac_status); }; } &&
22448          { ac_try='test -s conftest$ac_exeext'
22449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22450   (eval $ac_try) 2>&5
22451   ac_status=$?
22452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453   (exit $ac_status); }; }; then
22454   eval "$as_ac_var=yes"
22455 else
22456   echo "$as_me: failed program was:" >&5
22457 sed 's/^/| /' conftest.$ac_ext >&5
22458
22459 eval "$as_ac_var=no"
22460 fi
22461 rm -f conftest.err conftest.$ac_objext \
22462       conftest$ac_exeext conftest.$ac_ext
22463 fi
22464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22466 if test `eval echo '${'$as_ac_var'}'` = yes; then
22467   cat >>confdefs.h <<_ACEOF
22468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22469 _ACEOF
22470
22471 fi
22472 done
22473
22474   else
22475
22476   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22477 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22478   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22479     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22480   echo $ECHO_N "(cached) $ECHO_C" >&6
22481 else
22482
22483
22484
22485       ac_ext=cc
22486 ac_cpp='$CXXCPP $CPPFLAGS'
22487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22490
22491       cat >conftest.$ac_ext <<_ACEOF
22492 /* confdefs.h.  */
22493 _ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h.  */
22497 #include <math.h>
22498 int
22499 main ()
22500 {
22501  _hypotl(0, 0);
22502   ;
22503   return 0;
22504 }
22505 _ACEOF
22506 rm -f conftest.$ac_objext
22507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22508   (eval $ac_compile) 2>conftest.er1
22509   ac_status=$?
22510   grep -v '^ *+' conftest.er1 >conftest.err
22511   rm -f conftest.er1
22512   cat conftest.err >&5
22513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514   (exit $ac_status); } &&
22515          { ac_try='test -z "$ac_cxx_werror_flag"
22516                          || test ! -s conftest.err'
22517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22518   (eval $ac_try) 2>&5
22519   ac_status=$?
22520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521   (exit $ac_status); }; } &&
22522          { ac_try='test -s conftest.$ac_objext'
22523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22524   (eval $ac_try) 2>&5
22525   ac_status=$?
22526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527   (exit $ac_status); }; }; then
22528   glibcxx_cv_func__hypotl_use=yes
22529 else
22530   echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.$ac_ext >&5
22532
22533 glibcxx_cv_func__hypotl_use=no
22534 fi
22535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22536       ac_ext=c
22537 ac_cpp='$CPP $CPPFLAGS'
22538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22541
22542
22543 fi
22544
22545   fi
22546   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22547 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22548
22549     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22550
22551 for ac_func in _hypotl
22552 do
22553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22554 echo "$as_me:$LINENO: checking for $ac_func" >&5
22555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22556 if eval "test \"\${$as_ac_var+set}\" = set"; then
22557   echo $ECHO_N "(cached) $ECHO_C" >&6
22558 else
22559   if test x$gcc_no_link = xyes; then
22560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22562    { (exit 1); exit 1; }; }
22563 fi
22564 cat >conftest.$ac_ext <<_ACEOF
22565 /* confdefs.h.  */
22566 _ACEOF
22567 cat confdefs.h >>conftest.$ac_ext
22568 cat >>conftest.$ac_ext <<_ACEOF
22569 /* end confdefs.h.  */
22570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22572 #define $ac_func innocuous_$ac_func
22573
22574 /* System header to define __stub macros and hopefully few prototypes,
22575     which can conflict with char $ac_func (); below.
22576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22577     <limits.h> exists even on freestanding compilers.  */
22578
22579 #ifdef __STDC__
22580 # include <limits.h>
22581 #else
22582 # include <assert.h>
22583 #endif
22584
22585 #undef $ac_func
22586
22587 /* Override any gcc2 internal prototype to avoid an error.  */
22588 #ifdef __cplusplus
22589 extern "C"
22590 {
22591 #endif
22592 /* We use char because int might match the return type of a gcc2
22593    builtin and then its argument prototype would still apply.  */
22594 char $ac_func ();
22595 /* The GNU C library defines this for functions which it implements
22596     to always fail with ENOSYS.  Some functions are actually named
22597     something starting with __ and the normal name is an alias.  */
22598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22599 choke me
22600 #else
22601 char (*f) () = $ac_func;
22602 #endif
22603 #ifdef __cplusplus
22604 }
22605 #endif
22606
22607 int
22608 main ()
22609 {
22610 return f != $ac_func;
22611   ;
22612   return 0;
22613 }
22614 _ACEOF
22615 rm -f conftest.$ac_objext conftest$ac_exeext
22616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22617   (eval $ac_link) 2>conftest.er1
22618   ac_status=$?
22619   grep -v '^ *+' conftest.er1 >conftest.err
22620   rm -f conftest.er1
22621   cat conftest.err >&5
22622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623   (exit $ac_status); } &&
22624          { ac_try='test -z "$ac_c_werror_flag"
22625                          || test ! -s conftest.err'
22626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627   (eval $ac_try) 2>&5
22628   ac_status=$?
22629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630   (exit $ac_status); }; } &&
22631          { ac_try='test -s conftest$ac_exeext'
22632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633   (eval $ac_try) 2>&5
22634   ac_status=$?
22635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636   (exit $ac_status); }; }; then
22637   eval "$as_ac_var=yes"
22638 else
22639   echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.$ac_ext >&5
22641
22642 eval "$as_ac_var=no"
22643 fi
22644 rm -f conftest.err conftest.$ac_objext \
22645       conftest$ac_exeext conftest.$ac_ext
22646 fi
22647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22649 if test `eval echo '${'$as_ac_var'}'` = yes; then
22650   cat >>confdefs.h <<_ACEOF
22651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22652 _ACEOF
22653
22654 fi
22655 done
22656
22657     fi
22658   fi
22659
22660
22661
22662
22663
22664
22665   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22666 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22667   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22668     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22669   echo $ECHO_N "(cached) $ECHO_C" >&6
22670 else
22671
22672
22673
22674       ac_ext=cc
22675 ac_cpp='$CXXCPP $CPPFLAGS'
22676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22679
22680       cat >conftest.$ac_ext <<_ACEOF
22681 /* confdefs.h.  */
22682 _ACEOF
22683 cat confdefs.h >>conftest.$ac_ext
22684 cat >>conftest.$ac_ext <<_ACEOF
22685 /* end confdefs.h.  */
22686 #include <math.h>
22687 int
22688 main ()
22689 {
22690  ldexpl(0, 0);
22691   ;
22692   return 0;
22693 }
22694 _ACEOF
22695 rm -f conftest.$ac_objext
22696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22697   (eval $ac_compile) 2>conftest.er1
22698   ac_status=$?
22699   grep -v '^ *+' conftest.er1 >conftest.err
22700   rm -f conftest.er1
22701   cat conftest.err >&5
22702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703   (exit $ac_status); } &&
22704          { ac_try='test -z "$ac_cxx_werror_flag"
22705                          || test ! -s conftest.err'
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); }; } &&
22711          { ac_try='test -s conftest.$ac_objext'
22712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713   (eval $ac_try) 2>&5
22714   ac_status=$?
22715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716   (exit $ac_status); }; }; then
22717   glibcxx_cv_func_ldexpl_use=yes
22718 else
22719   echo "$as_me: failed program was:" >&5
22720 sed 's/^/| /' conftest.$ac_ext >&5
22721
22722 glibcxx_cv_func_ldexpl_use=no
22723 fi
22724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22725       ac_ext=c
22726 ac_cpp='$CPP $CPPFLAGS'
22727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22730
22731
22732 fi
22733
22734   fi
22735   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22736 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22737
22738   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22739
22740 for ac_func in ldexpl
22741 do
22742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22743 echo "$as_me:$LINENO: checking for $ac_func" >&5
22744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22745 if eval "test \"\${$as_ac_var+set}\" = set"; then
22746   echo $ECHO_N "(cached) $ECHO_C" >&6
22747 else
22748   if test x$gcc_no_link = xyes; then
22749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22751    { (exit 1); exit 1; }; }
22752 fi
22753 cat >conftest.$ac_ext <<_ACEOF
22754 /* confdefs.h.  */
22755 _ACEOF
22756 cat confdefs.h >>conftest.$ac_ext
22757 cat >>conftest.$ac_ext <<_ACEOF
22758 /* end confdefs.h.  */
22759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22761 #define $ac_func innocuous_$ac_func
22762
22763 /* System header to define __stub macros and hopefully few prototypes,
22764     which can conflict with char $ac_func (); below.
22765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22766     <limits.h> exists even on freestanding compilers.  */
22767
22768 #ifdef __STDC__
22769 # include <limits.h>
22770 #else
22771 # include <assert.h>
22772 #endif
22773
22774 #undef $ac_func
22775
22776 /* Override any gcc2 internal prototype to avoid an error.  */
22777 #ifdef __cplusplus
22778 extern "C"
22779 {
22780 #endif
22781 /* We use char because int might match the return type of a gcc2
22782    builtin and then its argument prototype would still apply.  */
22783 char $ac_func ();
22784 /* The GNU C library defines this for functions which it implements
22785     to always fail with ENOSYS.  Some functions are actually named
22786     something starting with __ and the normal name is an alias.  */
22787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22788 choke me
22789 #else
22790 char (*f) () = $ac_func;
22791 #endif
22792 #ifdef __cplusplus
22793 }
22794 #endif
22795
22796 int
22797 main ()
22798 {
22799 return f != $ac_func;
22800   ;
22801   return 0;
22802 }
22803 _ACEOF
22804 rm -f conftest.$ac_objext conftest$ac_exeext
22805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22806   (eval $ac_link) 2>conftest.er1
22807   ac_status=$?
22808   grep -v '^ *+' conftest.er1 >conftest.err
22809   rm -f conftest.er1
22810   cat conftest.err >&5
22811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812   (exit $ac_status); } &&
22813          { ac_try='test -z "$ac_c_werror_flag"
22814                          || test ! -s conftest.err'
22815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816   (eval $ac_try) 2>&5
22817   ac_status=$?
22818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819   (exit $ac_status); }; } &&
22820          { ac_try='test -s conftest$ac_exeext'
22821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822   (eval $ac_try) 2>&5
22823   ac_status=$?
22824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825   (exit $ac_status); }; }; then
22826   eval "$as_ac_var=yes"
22827 else
22828   echo "$as_me: failed program was:" >&5
22829 sed 's/^/| /' conftest.$ac_ext >&5
22830
22831 eval "$as_ac_var=no"
22832 fi
22833 rm -f conftest.err conftest.$ac_objext \
22834       conftest$ac_exeext conftest.$ac_ext
22835 fi
22836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22838 if test `eval echo '${'$as_ac_var'}'` = yes; then
22839   cat >>confdefs.h <<_ACEOF
22840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22841 _ACEOF
22842
22843 fi
22844 done
22845
22846   else
22847
22848   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22849 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22850   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22851     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22852   echo $ECHO_N "(cached) $ECHO_C" >&6
22853 else
22854
22855
22856
22857       ac_ext=cc
22858 ac_cpp='$CXXCPP $CPPFLAGS'
22859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22862
22863       cat >conftest.$ac_ext <<_ACEOF
22864 /* confdefs.h.  */
22865 _ACEOF
22866 cat confdefs.h >>conftest.$ac_ext
22867 cat >>conftest.$ac_ext <<_ACEOF
22868 /* end confdefs.h.  */
22869 #include <math.h>
22870 int
22871 main ()
22872 {
22873  _ldexpl(0, 0);
22874   ;
22875   return 0;
22876 }
22877 _ACEOF
22878 rm -f conftest.$ac_objext
22879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22880   (eval $ac_compile) 2>conftest.er1
22881   ac_status=$?
22882   grep -v '^ *+' conftest.er1 >conftest.err
22883   rm -f conftest.er1
22884   cat conftest.err >&5
22885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886   (exit $ac_status); } &&
22887          { ac_try='test -z "$ac_cxx_werror_flag"
22888                          || test ! -s conftest.err'
22889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890   (eval $ac_try) 2>&5
22891   ac_status=$?
22892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893   (exit $ac_status); }; } &&
22894          { ac_try='test -s conftest.$ac_objext'
22895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896   (eval $ac_try) 2>&5
22897   ac_status=$?
22898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899   (exit $ac_status); }; }; then
22900   glibcxx_cv_func__ldexpl_use=yes
22901 else
22902   echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.$ac_ext >&5
22904
22905 glibcxx_cv_func__ldexpl_use=no
22906 fi
22907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22908       ac_ext=c
22909 ac_cpp='$CPP $CPPFLAGS'
22910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22913
22914
22915 fi
22916
22917   fi
22918   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22919 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22920
22921     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22922
22923 for ac_func in _ldexpl
22924 do
22925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22926 echo "$as_me:$LINENO: checking for $ac_func" >&5
22927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22928 if eval "test \"\${$as_ac_var+set}\" = set"; then
22929   echo $ECHO_N "(cached) $ECHO_C" >&6
22930 else
22931   if test x$gcc_no_link = xyes; then
22932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22934    { (exit 1); exit 1; }; }
22935 fi
22936 cat >conftest.$ac_ext <<_ACEOF
22937 /* confdefs.h.  */
22938 _ACEOF
22939 cat confdefs.h >>conftest.$ac_ext
22940 cat >>conftest.$ac_ext <<_ACEOF
22941 /* end confdefs.h.  */
22942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22944 #define $ac_func innocuous_$ac_func
22945
22946 /* System header to define __stub macros and hopefully few prototypes,
22947     which can conflict with char $ac_func (); below.
22948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22949     <limits.h> exists even on freestanding compilers.  */
22950
22951 #ifdef __STDC__
22952 # include <limits.h>
22953 #else
22954 # include <assert.h>
22955 #endif
22956
22957 #undef $ac_func
22958
22959 /* Override any gcc2 internal prototype to avoid an error.  */
22960 #ifdef __cplusplus
22961 extern "C"
22962 {
22963 #endif
22964 /* We use char because int might match the return type of a gcc2
22965    builtin and then its argument prototype would still apply.  */
22966 char $ac_func ();
22967 /* The GNU C library defines this for functions which it implements
22968     to always fail with ENOSYS.  Some functions are actually named
22969     something starting with __ and the normal name is an alias.  */
22970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22971 choke me
22972 #else
22973 char (*f) () = $ac_func;
22974 #endif
22975 #ifdef __cplusplus
22976 }
22977 #endif
22978
22979 int
22980 main ()
22981 {
22982 return f != $ac_func;
22983   ;
22984   return 0;
22985 }
22986 _ACEOF
22987 rm -f conftest.$ac_objext conftest$ac_exeext
22988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22989   (eval $ac_link) 2>conftest.er1
22990   ac_status=$?
22991   grep -v '^ *+' conftest.er1 >conftest.err
22992   rm -f conftest.er1
22993   cat conftest.err >&5
22994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995   (exit $ac_status); } &&
22996          { ac_try='test -z "$ac_c_werror_flag"
22997                          || test ! -s conftest.err'
22998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22999   (eval $ac_try) 2>&5
23000   ac_status=$?
23001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002   (exit $ac_status); }; } &&
23003          { ac_try='test -s conftest$ac_exeext'
23004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23005   (eval $ac_try) 2>&5
23006   ac_status=$?
23007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008   (exit $ac_status); }; }; then
23009   eval "$as_ac_var=yes"
23010 else
23011   echo "$as_me: failed program was:" >&5
23012 sed 's/^/| /' conftest.$ac_ext >&5
23013
23014 eval "$as_ac_var=no"
23015 fi
23016 rm -f conftest.err conftest.$ac_objext \
23017       conftest$ac_exeext conftest.$ac_ext
23018 fi
23019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23021 if test `eval echo '${'$as_ac_var'}'` = yes; then
23022   cat >>confdefs.h <<_ACEOF
23023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23024 _ACEOF
23025
23026 fi
23027 done
23028
23029     fi
23030   fi
23031
23032
23033
23034
23035
23036
23037   echo "$as_me:$LINENO: checking for logl declaration" >&5
23038 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23039   if test x${glibcxx_cv_func_logl_use+set} != xset; then
23040     if test "${glibcxx_cv_func_logl_use+set}" = set; then
23041   echo $ECHO_N "(cached) $ECHO_C" >&6
23042 else
23043
23044
23045
23046       ac_ext=cc
23047 ac_cpp='$CXXCPP $CPPFLAGS'
23048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23051
23052       cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h.  */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h.  */
23058 #include <math.h>
23059                       #ifdef HAVE_IEEEFP_H
23060                       #include <ieeefp.h>
23061                       #endif
23062
23063 int
23064 main ()
23065 {
23066  logl(0);
23067   ;
23068   return 0;
23069 }
23070 _ACEOF
23071 rm -f conftest.$ac_objext
23072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23073   (eval $ac_compile) 2>conftest.er1
23074   ac_status=$?
23075   grep -v '^ *+' conftest.er1 >conftest.err
23076   rm -f conftest.er1
23077   cat conftest.err >&5
23078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079   (exit $ac_status); } &&
23080          { ac_try='test -z "$ac_cxx_werror_flag"
23081                          || test ! -s conftest.err'
23082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083   (eval $ac_try) 2>&5
23084   ac_status=$?
23085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086   (exit $ac_status); }; } &&
23087          { ac_try='test -s conftest.$ac_objext'
23088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089   (eval $ac_try) 2>&5
23090   ac_status=$?
23091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092   (exit $ac_status); }; }; then
23093   glibcxx_cv_func_logl_use=yes
23094 else
23095   echo "$as_me: failed program was:" >&5
23096 sed 's/^/| /' conftest.$ac_ext >&5
23097
23098 glibcxx_cv_func_logl_use=no
23099 fi
23100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23101       ac_ext=c
23102 ac_cpp='$CPP $CPPFLAGS'
23103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23106
23107
23108 fi
23109
23110   fi
23111   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23112 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23113
23114   if test x$glibcxx_cv_func_logl_use = x"yes"; then
23115
23116 for ac_func in logl
23117 do
23118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23119 echo "$as_me:$LINENO: checking for $ac_func" >&5
23120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23121 if eval "test \"\${$as_ac_var+set}\" = set"; then
23122   echo $ECHO_N "(cached) $ECHO_C" >&6
23123 else
23124   if test x$gcc_no_link = xyes; then
23125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23127    { (exit 1); exit 1; }; }
23128 fi
23129 cat >conftest.$ac_ext <<_ACEOF
23130 /* confdefs.h.  */
23131 _ACEOF
23132 cat confdefs.h >>conftest.$ac_ext
23133 cat >>conftest.$ac_ext <<_ACEOF
23134 /* end confdefs.h.  */
23135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23136    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23137 #define $ac_func innocuous_$ac_func
23138
23139 /* System header to define __stub macros and hopefully few prototypes,
23140     which can conflict with char $ac_func (); below.
23141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23142     <limits.h> exists even on freestanding compilers.  */
23143
23144 #ifdef __STDC__
23145 # include <limits.h>
23146 #else
23147 # include <assert.h>
23148 #endif
23149
23150 #undef $ac_func
23151
23152 /* Override any gcc2 internal prototype to avoid an error.  */
23153 #ifdef __cplusplus
23154 extern "C"
23155 {
23156 #endif
23157 /* We use char because int might match the return type of a gcc2
23158    builtin and then its argument prototype would still apply.  */
23159 char $ac_func ();
23160 /* The GNU C library defines this for functions which it implements
23161     to always fail with ENOSYS.  Some functions are actually named
23162     something starting with __ and the normal name is an alias.  */
23163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23164 choke me
23165 #else
23166 char (*f) () = $ac_func;
23167 #endif
23168 #ifdef __cplusplus
23169 }
23170 #endif
23171
23172 int
23173 main ()
23174 {
23175 return f != $ac_func;
23176   ;
23177   return 0;
23178 }
23179 _ACEOF
23180 rm -f conftest.$ac_objext conftest$ac_exeext
23181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23182   (eval $ac_link) 2>conftest.er1
23183   ac_status=$?
23184   grep -v '^ *+' conftest.er1 >conftest.err
23185   rm -f conftest.er1
23186   cat conftest.err >&5
23187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188   (exit $ac_status); } &&
23189          { ac_try='test -z "$ac_c_werror_flag"
23190                          || test ! -s conftest.err'
23191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23192   (eval $ac_try) 2>&5
23193   ac_status=$?
23194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195   (exit $ac_status); }; } &&
23196          { ac_try='test -s conftest$ac_exeext'
23197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23198   (eval $ac_try) 2>&5
23199   ac_status=$?
23200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201   (exit $ac_status); }; }; then
23202   eval "$as_ac_var=yes"
23203 else
23204   echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.$ac_ext >&5
23206
23207 eval "$as_ac_var=no"
23208 fi
23209 rm -f conftest.err conftest.$ac_objext \
23210       conftest$ac_exeext conftest.$ac_ext
23211 fi
23212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23214 if test `eval echo '${'$as_ac_var'}'` = yes; then
23215   cat >>confdefs.h <<_ACEOF
23216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23217 _ACEOF
23218
23219 fi
23220 done
23221
23222   else
23223
23224   echo "$as_me:$LINENO: checking for _logl declaration" >&5
23225 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23226   if test x${glibcxx_cv_func__logl_use+set} != xset; then
23227     if test "${glibcxx_cv_func__logl_use+set}" = set; then
23228   echo $ECHO_N "(cached) $ECHO_C" >&6
23229 else
23230
23231
23232
23233       ac_ext=cc
23234 ac_cpp='$CXXCPP $CPPFLAGS'
23235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23238
23239       cat >conftest.$ac_ext <<_ACEOF
23240 /* confdefs.h.  */
23241 _ACEOF
23242 cat confdefs.h >>conftest.$ac_ext
23243 cat >>conftest.$ac_ext <<_ACEOF
23244 /* end confdefs.h.  */
23245 #include <math.h>
23246                       #ifdef HAVE_IEEEFP_H
23247                       #include <ieeefp.h>
23248                       #endif
23249
23250 int
23251 main ()
23252 {
23253  _logl(0);
23254   ;
23255   return 0;
23256 }
23257 _ACEOF
23258 rm -f conftest.$ac_objext
23259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23260   (eval $ac_compile) 2>conftest.er1
23261   ac_status=$?
23262   grep -v '^ *+' conftest.er1 >conftest.err
23263   rm -f conftest.er1
23264   cat conftest.err >&5
23265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266   (exit $ac_status); } &&
23267          { ac_try='test -z "$ac_cxx_werror_flag"
23268                          || test ! -s conftest.err'
23269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23270   (eval $ac_try) 2>&5
23271   ac_status=$?
23272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273   (exit $ac_status); }; } &&
23274          { ac_try='test -s conftest.$ac_objext'
23275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276   (eval $ac_try) 2>&5
23277   ac_status=$?
23278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279   (exit $ac_status); }; }; then
23280   glibcxx_cv_func__logl_use=yes
23281 else
23282   echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23284
23285 glibcxx_cv_func__logl_use=no
23286 fi
23287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23288       ac_ext=c
23289 ac_cpp='$CPP $CPPFLAGS'
23290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23293
23294
23295 fi
23296
23297   fi
23298   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23299 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23300
23301     if test x$glibcxx_cv_func__logl_use = x"yes"; then
23302
23303 for ac_func in _logl
23304 do
23305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23306 echo "$as_me:$LINENO: checking for $ac_func" >&5
23307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23308 if eval "test \"\${$as_ac_var+set}\" = set"; then
23309   echo $ECHO_N "(cached) $ECHO_C" >&6
23310 else
23311   if test x$gcc_no_link = xyes; then
23312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23314    { (exit 1); exit 1; }; }
23315 fi
23316 cat >conftest.$ac_ext <<_ACEOF
23317 /* confdefs.h.  */
23318 _ACEOF
23319 cat confdefs.h >>conftest.$ac_ext
23320 cat >>conftest.$ac_ext <<_ACEOF
23321 /* end confdefs.h.  */
23322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23324 #define $ac_func innocuous_$ac_func
23325
23326 /* System header to define __stub macros and hopefully few prototypes,
23327     which can conflict with char $ac_func (); below.
23328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23329     <limits.h> exists even on freestanding compilers.  */
23330
23331 #ifdef __STDC__
23332 # include <limits.h>
23333 #else
23334 # include <assert.h>
23335 #endif
23336
23337 #undef $ac_func
23338
23339 /* Override any gcc2 internal prototype to avoid an error.  */
23340 #ifdef __cplusplus
23341 extern "C"
23342 {
23343 #endif
23344 /* We use char because int might match the return type of a gcc2
23345    builtin and then its argument prototype would still apply.  */
23346 char $ac_func ();
23347 /* The GNU C library defines this for functions which it implements
23348     to always fail with ENOSYS.  Some functions are actually named
23349     something starting with __ and the normal name is an alias.  */
23350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23351 choke me
23352 #else
23353 char (*f) () = $ac_func;
23354 #endif
23355 #ifdef __cplusplus
23356 }
23357 #endif
23358
23359 int
23360 main ()
23361 {
23362 return f != $ac_func;
23363   ;
23364   return 0;
23365 }
23366 _ACEOF
23367 rm -f conftest.$ac_objext conftest$ac_exeext
23368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23369   (eval $ac_link) 2>conftest.er1
23370   ac_status=$?
23371   grep -v '^ *+' conftest.er1 >conftest.err
23372   rm -f conftest.er1
23373   cat conftest.err >&5
23374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375   (exit $ac_status); } &&
23376          { ac_try='test -z "$ac_c_werror_flag"
23377                          || test ! -s conftest.err'
23378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23379   (eval $ac_try) 2>&5
23380   ac_status=$?
23381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382   (exit $ac_status); }; } &&
23383          { ac_try='test -s conftest$ac_exeext'
23384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23385   (eval $ac_try) 2>&5
23386   ac_status=$?
23387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388   (exit $ac_status); }; }; then
23389   eval "$as_ac_var=yes"
23390 else
23391   echo "$as_me: failed program was:" >&5
23392 sed 's/^/| /' conftest.$ac_ext >&5
23393
23394 eval "$as_ac_var=no"
23395 fi
23396 rm -f conftest.err conftest.$ac_objext \
23397       conftest$ac_exeext conftest.$ac_ext
23398 fi
23399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23401 if test `eval echo '${'$as_ac_var'}'` = yes; then
23402   cat >>confdefs.h <<_ACEOF
23403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23404 _ACEOF
23405
23406 fi
23407 done
23408
23409     fi
23410   fi
23411
23412
23413
23414
23415
23416
23417   echo "$as_me:$LINENO: checking for log10l declaration" >&5
23418 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23419   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23420     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23421   echo $ECHO_N "(cached) $ECHO_C" >&6
23422 else
23423
23424
23425
23426       ac_ext=cc
23427 ac_cpp='$CXXCPP $CPPFLAGS'
23428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23431
23432       cat >conftest.$ac_ext <<_ACEOF
23433 /* confdefs.h.  */
23434 _ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h.  */
23438 #include <math.h>
23439                       #ifdef HAVE_IEEEFP_H
23440                       #include <ieeefp.h>
23441                       #endif
23442
23443 int
23444 main ()
23445 {
23446  log10l(0);
23447   ;
23448   return 0;
23449 }
23450 _ACEOF
23451 rm -f conftest.$ac_objext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23453   (eval $ac_compile) 2>conftest.er1
23454   ac_status=$?
23455   grep -v '^ *+' conftest.er1 >conftest.err
23456   rm -f conftest.er1
23457   cat conftest.err >&5
23458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459   (exit $ac_status); } &&
23460          { ac_try='test -z "$ac_cxx_werror_flag"
23461                          || test ! -s conftest.err'
23462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463   (eval $ac_try) 2>&5
23464   ac_status=$?
23465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466   (exit $ac_status); }; } &&
23467          { ac_try='test -s conftest.$ac_objext'
23468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469   (eval $ac_try) 2>&5
23470   ac_status=$?
23471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472   (exit $ac_status); }; }; then
23473   glibcxx_cv_func_log10l_use=yes
23474 else
23475   echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23477
23478 glibcxx_cv_func_log10l_use=no
23479 fi
23480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23481       ac_ext=c
23482 ac_cpp='$CPP $CPPFLAGS'
23483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23486
23487
23488 fi
23489
23490   fi
23491   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23492 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23493
23494   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23495
23496 for ac_func in log10l
23497 do
23498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23499 echo "$as_me:$LINENO: checking for $ac_func" >&5
23500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23501 if eval "test \"\${$as_ac_var+set}\" = set"; then
23502   echo $ECHO_N "(cached) $ECHO_C" >&6
23503 else
23504   if test x$gcc_no_link = xyes; then
23505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23507    { (exit 1); exit 1; }; }
23508 fi
23509 cat >conftest.$ac_ext <<_ACEOF
23510 /* confdefs.h.  */
23511 _ACEOF
23512 cat confdefs.h >>conftest.$ac_ext
23513 cat >>conftest.$ac_ext <<_ACEOF
23514 /* end confdefs.h.  */
23515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23517 #define $ac_func innocuous_$ac_func
23518
23519 /* System header to define __stub macros and hopefully few prototypes,
23520     which can conflict with char $ac_func (); below.
23521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23522     <limits.h> exists even on freestanding compilers.  */
23523
23524 #ifdef __STDC__
23525 # include <limits.h>
23526 #else
23527 # include <assert.h>
23528 #endif
23529
23530 #undef $ac_func
23531
23532 /* Override any gcc2 internal prototype to avoid an error.  */
23533 #ifdef __cplusplus
23534 extern "C"
23535 {
23536 #endif
23537 /* We use char because int might match the return type of a gcc2
23538    builtin and then its argument prototype would still apply.  */
23539 char $ac_func ();
23540 /* The GNU C library defines this for functions which it implements
23541     to always fail with ENOSYS.  Some functions are actually named
23542     something starting with __ and the normal name is an alias.  */
23543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23544 choke me
23545 #else
23546 char (*f) () = $ac_func;
23547 #endif
23548 #ifdef __cplusplus
23549 }
23550 #endif
23551
23552 int
23553 main ()
23554 {
23555 return f != $ac_func;
23556   ;
23557   return 0;
23558 }
23559 _ACEOF
23560 rm -f conftest.$ac_objext conftest$ac_exeext
23561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23562   (eval $ac_link) 2>conftest.er1
23563   ac_status=$?
23564   grep -v '^ *+' conftest.er1 >conftest.err
23565   rm -f conftest.er1
23566   cat conftest.err >&5
23567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568   (exit $ac_status); } &&
23569          { ac_try='test -z "$ac_c_werror_flag"
23570                          || test ! -s conftest.err'
23571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572   (eval $ac_try) 2>&5
23573   ac_status=$?
23574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575   (exit $ac_status); }; } &&
23576          { ac_try='test -s conftest$ac_exeext'
23577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578   (eval $ac_try) 2>&5
23579   ac_status=$?
23580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581   (exit $ac_status); }; }; then
23582   eval "$as_ac_var=yes"
23583 else
23584   echo "$as_me: failed program was:" >&5
23585 sed 's/^/| /' conftest.$ac_ext >&5
23586
23587 eval "$as_ac_var=no"
23588 fi
23589 rm -f conftest.err conftest.$ac_objext \
23590       conftest$ac_exeext conftest.$ac_ext
23591 fi
23592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23594 if test `eval echo '${'$as_ac_var'}'` = yes; then
23595   cat >>confdefs.h <<_ACEOF
23596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23597 _ACEOF
23598
23599 fi
23600 done
23601
23602   else
23603
23604   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23605 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23606   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23607     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23608   echo $ECHO_N "(cached) $ECHO_C" >&6
23609 else
23610
23611
23612
23613       ac_ext=cc
23614 ac_cpp='$CXXCPP $CPPFLAGS'
23615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23618
23619       cat >conftest.$ac_ext <<_ACEOF
23620 /* confdefs.h.  */
23621 _ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h.  */
23625 #include <math.h>
23626                       #ifdef HAVE_IEEEFP_H
23627                       #include <ieeefp.h>
23628                       #endif
23629
23630 int
23631 main ()
23632 {
23633  _log10l(0);
23634   ;
23635   return 0;
23636 }
23637 _ACEOF
23638 rm -f conftest.$ac_objext
23639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640   (eval $ac_compile) 2>conftest.er1
23641   ac_status=$?
23642   grep -v '^ *+' conftest.er1 >conftest.err
23643   rm -f conftest.er1
23644   cat conftest.err >&5
23645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646   (exit $ac_status); } &&
23647          { ac_try='test -z "$ac_cxx_werror_flag"
23648                          || test ! -s conftest.err'
23649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650   (eval $ac_try) 2>&5
23651   ac_status=$?
23652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653   (exit $ac_status); }; } &&
23654          { ac_try='test -s conftest.$ac_objext'
23655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656   (eval $ac_try) 2>&5
23657   ac_status=$?
23658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659   (exit $ac_status); }; }; then
23660   glibcxx_cv_func__log10l_use=yes
23661 else
23662   echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23664
23665 glibcxx_cv_func__log10l_use=no
23666 fi
23667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23668       ac_ext=c
23669 ac_cpp='$CPP $CPPFLAGS'
23670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23673
23674
23675 fi
23676
23677   fi
23678   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23679 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23680
23681     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23682
23683 for ac_func in _log10l
23684 do
23685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23686 echo "$as_me:$LINENO: checking for $ac_func" >&5
23687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23688 if eval "test \"\${$as_ac_var+set}\" = set"; then
23689   echo $ECHO_N "(cached) $ECHO_C" >&6
23690 else
23691   if test x$gcc_no_link = xyes; then
23692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23694    { (exit 1); exit 1; }; }
23695 fi
23696 cat >conftest.$ac_ext <<_ACEOF
23697 /* confdefs.h.  */
23698 _ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h.  */
23702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23704 #define $ac_func innocuous_$ac_func
23705
23706 /* System header to define __stub macros and hopefully few prototypes,
23707     which can conflict with char $ac_func (); below.
23708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23709     <limits.h> exists even on freestanding compilers.  */
23710
23711 #ifdef __STDC__
23712 # include <limits.h>
23713 #else
23714 # include <assert.h>
23715 #endif
23716
23717 #undef $ac_func
23718
23719 /* Override any gcc2 internal prototype to avoid an error.  */
23720 #ifdef __cplusplus
23721 extern "C"
23722 {
23723 #endif
23724 /* We use char because int might match the return type of a gcc2
23725    builtin and then its argument prototype would still apply.  */
23726 char $ac_func ();
23727 /* The GNU C library defines this for functions which it implements
23728     to always fail with ENOSYS.  Some functions are actually named
23729     something starting with __ and the normal name is an alias.  */
23730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23731 choke me
23732 #else
23733 char (*f) () = $ac_func;
23734 #endif
23735 #ifdef __cplusplus
23736 }
23737 #endif
23738
23739 int
23740 main ()
23741 {
23742 return f != $ac_func;
23743   ;
23744   return 0;
23745 }
23746 _ACEOF
23747 rm -f conftest.$ac_objext conftest$ac_exeext
23748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23749   (eval $ac_link) 2>conftest.er1
23750   ac_status=$?
23751   grep -v '^ *+' conftest.er1 >conftest.err
23752   rm -f conftest.er1
23753   cat conftest.err >&5
23754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755   (exit $ac_status); } &&
23756          { ac_try='test -z "$ac_c_werror_flag"
23757                          || test ! -s conftest.err'
23758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23759   (eval $ac_try) 2>&5
23760   ac_status=$?
23761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762   (exit $ac_status); }; } &&
23763          { ac_try='test -s conftest$ac_exeext'
23764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765   (eval $ac_try) 2>&5
23766   ac_status=$?
23767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768   (exit $ac_status); }; }; then
23769   eval "$as_ac_var=yes"
23770 else
23771   echo "$as_me: failed program was:" >&5
23772 sed 's/^/| /' conftest.$ac_ext >&5
23773
23774 eval "$as_ac_var=no"
23775 fi
23776 rm -f conftest.err conftest.$ac_objext \
23777       conftest$ac_exeext conftest.$ac_ext
23778 fi
23779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23781 if test `eval echo '${'$as_ac_var'}'` = yes; then
23782   cat >>confdefs.h <<_ACEOF
23783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23784 _ACEOF
23785
23786 fi
23787 done
23788
23789     fi
23790   fi
23791
23792
23793
23794
23795
23796
23797   echo "$as_me:$LINENO: checking for modfl declaration" >&5
23798 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23799   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23800     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23801   echo $ECHO_N "(cached) $ECHO_C" >&6
23802 else
23803
23804
23805
23806       ac_ext=cc
23807 ac_cpp='$CXXCPP $CPPFLAGS'
23808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23811
23812       cat >conftest.$ac_ext <<_ACEOF
23813 /* confdefs.h.  */
23814 _ACEOF
23815 cat confdefs.h >>conftest.$ac_ext
23816 cat >>conftest.$ac_ext <<_ACEOF
23817 /* end confdefs.h.  */
23818 #include <math.h>
23819 int
23820 main ()
23821 {
23822  modfl(0, 0);
23823   ;
23824   return 0;
23825 }
23826 _ACEOF
23827 rm -f conftest.$ac_objext
23828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23829   (eval $ac_compile) 2>conftest.er1
23830   ac_status=$?
23831   grep -v '^ *+' conftest.er1 >conftest.err
23832   rm -f conftest.er1
23833   cat conftest.err >&5
23834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835   (exit $ac_status); } &&
23836          { ac_try='test -z "$ac_cxx_werror_flag"
23837                          || test ! -s conftest.err'
23838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839   (eval $ac_try) 2>&5
23840   ac_status=$?
23841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842   (exit $ac_status); }; } &&
23843          { ac_try='test -s conftest.$ac_objext'
23844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845   (eval $ac_try) 2>&5
23846   ac_status=$?
23847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848   (exit $ac_status); }; }; then
23849   glibcxx_cv_func_modfl_use=yes
23850 else
23851   echo "$as_me: failed program was:" >&5
23852 sed 's/^/| /' conftest.$ac_ext >&5
23853
23854 glibcxx_cv_func_modfl_use=no
23855 fi
23856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23857       ac_ext=c
23858 ac_cpp='$CPP $CPPFLAGS'
23859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23862
23863
23864 fi
23865
23866   fi
23867   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23868 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23869
23870   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23871
23872 for ac_func in modfl
23873 do
23874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23875 echo "$as_me:$LINENO: checking for $ac_func" >&5
23876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23877 if eval "test \"\${$as_ac_var+set}\" = set"; then
23878   echo $ECHO_N "(cached) $ECHO_C" >&6
23879 else
23880   if test x$gcc_no_link = xyes; then
23881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23883    { (exit 1); exit 1; }; }
23884 fi
23885 cat >conftest.$ac_ext <<_ACEOF
23886 /* confdefs.h.  */
23887 _ACEOF
23888 cat confdefs.h >>conftest.$ac_ext
23889 cat >>conftest.$ac_ext <<_ACEOF
23890 /* end confdefs.h.  */
23891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23893 #define $ac_func innocuous_$ac_func
23894
23895 /* System header to define __stub macros and hopefully few prototypes,
23896     which can conflict with char $ac_func (); below.
23897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23898     <limits.h> exists even on freestanding compilers.  */
23899
23900 #ifdef __STDC__
23901 # include <limits.h>
23902 #else
23903 # include <assert.h>
23904 #endif
23905
23906 #undef $ac_func
23907
23908 /* Override any gcc2 internal prototype to avoid an error.  */
23909 #ifdef __cplusplus
23910 extern "C"
23911 {
23912 #endif
23913 /* We use char because int might match the return type of a gcc2
23914    builtin and then its argument prototype would still apply.  */
23915 char $ac_func ();
23916 /* The GNU C library defines this for functions which it implements
23917     to always fail with ENOSYS.  Some functions are actually named
23918     something starting with __ and the normal name is an alias.  */
23919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23920 choke me
23921 #else
23922 char (*f) () = $ac_func;
23923 #endif
23924 #ifdef __cplusplus
23925 }
23926 #endif
23927
23928 int
23929 main ()
23930 {
23931 return f != $ac_func;
23932   ;
23933   return 0;
23934 }
23935 _ACEOF
23936 rm -f conftest.$ac_objext conftest$ac_exeext
23937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23938   (eval $ac_link) 2>conftest.er1
23939   ac_status=$?
23940   grep -v '^ *+' conftest.er1 >conftest.err
23941   rm -f conftest.er1
23942   cat conftest.err >&5
23943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944   (exit $ac_status); } &&
23945          { ac_try='test -z "$ac_c_werror_flag"
23946                          || test ! -s conftest.err'
23947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948   (eval $ac_try) 2>&5
23949   ac_status=$?
23950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951   (exit $ac_status); }; } &&
23952          { ac_try='test -s conftest$ac_exeext'
23953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23954   (eval $ac_try) 2>&5
23955   ac_status=$?
23956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957   (exit $ac_status); }; }; then
23958   eval "$as_ac_var=yes"
23959 else
23960   echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.$ac_ext >&5
23962
23963 eval "$as_ac_var=no"
23964 fi
23965 rm -f conftest.err conftest.$ac_objext \
23966       conftest$ac_exeext conftest.$ac_ext
23967 fi
23968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23970 if test `eval echo '${'$as_ac_var'}'` = yes; then
23971   cat >>confdefs.h <<_ACEOF
23972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23973 _ACEOF
23974
23975 fi
23976 done
23977
23978   else
23979
23980   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23981 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23982   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23983     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23984   echo $ECHO_N "(cached) $ECHO_C" >&6
23985 else
23986
23987
23988
23989       ac_ext=cc
23990 ac_cpp='$CXXCPP $CPPFLAGS'
23991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23994
23995       cat >conftest.$ac_ext <<_ACEOF
23996 /* confdefs.h.  */
23997 _ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h.  */
24001 #include <math.h>
24002 int
24003 main ()
24004 {
24005  _modfl(0, 0);
24006   ;
24007   return 0;
24008 }
24009 _ACEOF
24010 rm -f conftest.$ac_objext
24011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24012   (eval $ac_compile) 2>conftest.er1
24013   ac_status=$?
24014   grep -v '^ *+' conftest.er1 >conftest.err
24015   rm -f conftest.er1
24016   cat conftest.err >&5
24017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018   (exit $ac_status); } &&
24019          { ac_try='test -z "$ac_cxx_werror_flag"
24020                          || test ! -s conftest.err'
24021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022   (eval $ac_try) 2>&5
24023   ac_status=$?
24024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025   (exit $ac_status); }; } &&
24026          { ac_try='test -s conftest.$ac_objext'
24027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24028   (eval $ac_try) 2>&5
24029   ac_status=$?
24030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031   (exit $ac_status); }; }; then
24032   glibcxx_cv_func__modfl_use=yes
24033 else
24034   echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.$ac_ext >&5
24036
24037 glibcxx_cv_func__modfl_use=no
24038 fi
24039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24040       ac_ext=c
24041 ac_cpp='$CPP $CPPFLAGS'
24042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24045
24046
24047 fi
24048
24049   fi
24050   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24051 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24052
24053     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24054
24055 for ac_func in _modfl
24056 do
24057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24058 echo "$as_me:$LINENO: checking for $ac_func" >&5
24059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24060 if eval "test \"\${$as_ac_var+set}\" = set"; then
24061   echo $ECHO_N "(cached) $ECHO_C" >&6
24062 else
24063   if test x$gcc_no_link = xyes; then
24064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24066    { (exit 1); exit 1; }; }
24067 fi
24068 cat >conftest.$ac_ext <<_ACEOF
24069 /* confdefs.h.  */
24070 _ACEOF
24071 cat confdefs.h >>conftest.$ac_ext
24072 cat >>conftest.$ac_ext <<_ACEOF
24073 /* end confdefs.h.  */
24074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24075    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24076 #define $ac_func innocuous_$ac_func
24077
24078 /* System header to define __stub macros and hopefully few prototypes,
24079     which can conflict with char $ac_func (); below.
24080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24081     <limits.h> exists even on freestanding compilers.  */
24082
24083 #ifdef __STDC__
24084 # include <limits.h>
24085 #else
24086 # include <assert.h>
24087 #endif
24088
24089 #undef $ac_func
24090
24091 /* Override any gcc2 internal prototype to avoid an error.  */
24092 #ifdef __cplusplus
24093 extern "C"
24094 {
24095 #endif
24096 /* We use char because int might match the return type of a gcc2
24097    builtin and then its argument prototype would still apply.  */
24098 char $ac_func ();
24099 /* The GNU C library defines this for functions which it implements
24100     to always fail with ENOSYS.  Some functions are actually named
24101     something starting with __ and the normal name is an alias.  */
24102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24103 choke me
24104 #else
24105 char (*f) () = $ac_func;
24106 #endif
24107 #ifdef __cplusplus
24108 }
24109 #endif
24110
24111 int
24112 main ()
24113 {
24114 return f != $ac_func;
24115   ;
24116   return 0;
24117 }
24118 _ACEOF
24119 rm -f conftest.$ac_objext conftest$ac_exeext
24120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24121   (eval $ac_link) 2>conftest.er1
24122   ac_status=$?
24123   grep -v '^ *+' conftest.er1 >conftest.err
24124   rm -f conftest.er1
24125   cat conftest.err >&5
24126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127   (exit $ac_status); } &&
24128          { ac_try='test -z "$ac_c_werror_flag"
24129                          || test ! -s conftest.err'
24130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24131   (eval $ac_try) 2>&5
24132   ac_status=$?
24133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134   (exit $ac_status); }; } &&
24135          { ac_try='test -s conftest$ac_exeext'
24136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24137   (eval $ac_try) 2>&5
24138   ac_status=$?
24139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140   (exit $ac_status); }; }; then
24141   eval "$as_ac_var=yes"
24142 else
24143   echo "$as_me: failed program was:" >&5
24144 sed 's/^/| /' conftest.$ac_ext >&5
24145
24146 eval "$as_ac_var=no"
24147 fi
24148 rm -f conftest.err conftest.$ac_objext \
24149       conftest$ac_exeext conftest.$ac_ext
24150 fi
24151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24153 if test `eval echo '${'$as_ac_var'}'` = yes; then
24154   cat >>confdefs.h <<_ACEOF
24155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24156 _ACEOF
24157
24158 fi
24159 done
24160
24161     fi
24162   fi
24163
24164
24165
24166
24167
24168
24169   echo "$as_me:$LINENO: checking for powl declaration" >&5
24170 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24171   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24172     if test "${glibcxx_cv_func_powl_use+set}" = set; then
24173   echo $ECHO_N "(cached) $ECHO_C" >&6
24174 else
24175
24176
24177
24178       ac_ext=cc
24179 ac_cpp='$CXXCPP $CPPFLAGS'
24180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24183
24184       cat >conftest.$ac_ext <<_ACEOF
24185 /* confdefs.h.  */
24186 _ACEOF
24187 cat confdefs.h >>conftest.$ac_ext
24188 cat >>conftest.$ac_ext <<_ACEOF
24189 /* end confdefs.h.  */
24190 #include <math.h>
24191 int
24192 main ()
24193 {
24194  powl(0, 0);
24195   ;
24196   return 0;
24197 }
24198 _ACEOF
24199 rm -f conftest.$ac_objext
24200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24201   (eval $ac_compile) 2>conftest.er1
24202   ac_status=$?
24203   grep -v '^ *+' conftest.er1 >conftest.err
24204   rm -f conftest.er1
24205   cat conftest.err >&5
24206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24207   (exit $ac_status); } &&
24208          { ac_try='test -z "$ac_cxx_werror_flag"
24209                          || test ! -s conftest.err'
24210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24211   (eval $ac_try) 2>&5
24212   ac_status=$?
24213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214   (exit $ac_status); }; } &&
24215          { ac_try='test -s conftest.$ac_objext'
24216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24217   (eval $ac_try) 2>&5
24218   ac_status=$?
24219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220   (exit $ac_status); }; }; then
24221   glibcxx_cv_func_powl_use=yes
24222 else
24223   echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24225
24226 glibcxx_cv_func_powl_use=no
24227 fi
24228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24229       ac_ext=c
24230 ac_cpp='$CPP $CPPFLAGS'
24231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24234
24235
24236 fi
24237
24238   fi
24239   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24240 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24241
24242   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24243
24244 for ac_func in powl
24245 do
24246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24247 echo "$as_me:$LINENO: checking for $ac_func" >&5
24248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24249 if eval "test \"\${$as_ac_var+set}\" = set"; then
24250   echo $ECHO_N "(cached) $ECHO_C" >&6
24251 else
24252   if test x$gcc_no_link = xyes; then
24253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24255    { (exit 1); exit 1; }; }
24256 fi
24257 cat >conftest.$ac_ext <<_ACEOF
24258 /* confdefs.h.  */
24259 _ACEOF
24260 cat confdefs.h >>conftest.$ac_ext
24261 cat >>conftest.$ac_ext <<_ACEOF
24262 /* end confdefs.h.  */
24263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24265 #define $ac_func innocuous_$ac_func
24266
24267 /* System header to define __stub macros and hopefully few prototypes,
24268     which can conflict with char $ac_func (); below.
24269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24270     <limits.h> exists even on freestanding compilers.  */
24271
24272 #ifdef __STDC__
24273 # include <limits.h>
24274 #else
24275 # include <assert.h>
24276 #endif
24277
24278 #undef $ac_func
24279
24280 /* Override any gcc2 internal prototype to avoid an error.  */
24281 #ifdef __cplusplus
24282 extern "C"
24283 {
24284 #endif
24285 /* We use char because int might match the return type of a gcc2
24286    builtin and then its argument prototype would still apply.  */
24287 char $ac_func ();
24288 /* The GNU C library defines this for functions which it implements
24289     to always fail with ENOSYS.  Some functions are actually named
24290     something starting with __ and the normal name is an alias.  */
24291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24292 choke me
24293 #else
24294 char (*f) () = $ac_func;
24295 #endif
24296 #ifdef __cplusplus
24297 }
24298 #endif
24299
24300 int
24301 main ()
24302 {
24303 return f != $ac_func;
24304   ;
24305   return 0;
24306 }
24307 _ACEOF
24308 rm -f conftest.$ac_objext conftest$ac_exeext
24309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24310   (eval $ac_link) 2>conftest.er1
24311   ac_status=$?
24312   grep -v '^ *+' conftest.er1 >conftest.err
24313   rm -f conftest.er1
24314   cat conftest.err >&5
24315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316   (exit $ac_status); } &&
24317          { ac_try='test -z "$ac_c_werror_flag"
24318                          || test ! -s conftest.err'
24319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24320   (eval $ac_try) 2>&5
24321   ac_status=$?
24322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323   (exit $ac_status); }; } &&
24324          { ac_try='test -s conftest$ac_exeext'
24325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24326   (eval $ac_try) 2>&5
24327   ac_status=$?
24328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329   (exit $ac_status); }; }; then
24330   eval "$as_ac_var=yes"
24331 else
24332   echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.$ac_ext >&5
24334
24335 eval "$as_ac_var=no"
24336 fi
24337 rm -f conftest.err conftest.$ac_objext \
24338       conftest$ac_exeext conftest.$ac_ext
24339 fi
24340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24342 if test `eval echo '${'$as_ac_var'}'` = yes; then
24343   cat >>confdefs.h <<_ACEOF
24344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24345 _ACEOF
24346
24347 fi
24348 done
24349
24350   else
24351
24352   echo "$as_me:$LINENO: checking for _powl declaration" >&5
24353 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24354   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24355     if test "${glibcxx_cv_func__powl_use+set}" = set; then
24356   echo $ECHO_N "(cached) $ECHO_C" >&6
24357 else
24358
24359
24360
24361       ac_ext=cc
24362 ac_cpp='$CXXCPP $CPPFLAGS'
24363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24366
24367       cat >conftest.$ac_ext <<_ACEOF
24368 /* confdefs.h.  */
24369 _ACEOF
24370 cat confdefs.h >>conftest.$ac_ext
24371 cat >>conftest.$ac_ext <<_ACEOF
24372 /* end confdefs.h.  */
24373 #include <math.h>
24374 int
24375 main ()
24376 {
24377  _powl(0, 0);
24378   ;
24379   return 0;
24380 }
24381 _ACEOF
24382 rm -f conftest.$ac_objext
24383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24384   (eval $ac_compile) 2>conftest.er1
24385   ac_status=$?
24386   grep -v '^ *+' conftest.er1 >conftest.err
24387   rm -f conftest.er1
24388   cat conftest.err >&5
24389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390   (exit $ac_status); } &&
24391          { ac_try='test -z "$ac_cxx_werror_flag"
24392                          || test ! -s conftest.err'
24393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24394   (eval $ac_try) 2>&5
24395   ac_status=$?
24396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397   (exit $ac_status); }; } &&
24398          { ac_try='test -s conftest.$ac_objext'
24399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24400   (eval $ac_try) 2>&5
24401   ac_status=$?
24402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403   (exit $ac_status); }; }; then
24404   glibcxx_cv_func__powl_use=yes
24405 else
24406   echo "$as_me: failed program was:" >&5
24407 sed 's/^/| /' conftest.$ac_ext >&5
24408
24409 glibcxx_cv_func__powl_use=no
24410 fi
24411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24412       ac_ext=c
24413 ac_cpp='$CPP $CPPFLAGS'
24414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24417
24418
24419 fi
24420
24421   fi
24422   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24423 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24424
24425     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24426
24427 for ac_func in _powl
24428 do
24429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24430 echo "$as_me:$LINENO: checking for $ac_func" >&5
24431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24432 if eval "test \"\${$as_ac_var+set}\" = set"; then
24433   echo $ECHO_N "(cached) $ECHO_C" >&6
24434 else
24435   if test x$gcc_no_link = xyes; then
24436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24438    { (exit 1); exit 1; }; }
24439 fi
24440 cat >conftest.$ac_ext <<_ACEOF
24441 /* confdefs.h.  */
24442 _ACEOF
24443 cat confdefs.h >>conftest.$ac_ext
24444 cat >>conftest.$ac_ext <<_ACEOF
24445 /* end confdefs.h.  */
24446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24447    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24448 #define $ac_func innocuous_$ac_func
24449
24450 /* System header to define __stub macros and hopefully few prototypes,
24451     which can conflict with char $ac_func (); below.
24452     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24453     <limits.h> exists even on freestanding compilers.  */
24454
24455 #ifdef __STDC__
24456 # include <limits.h>
24457 #else
24458 # include <assert.h>
24459 #endif
24460
24461 #undef $ac_func
24462
24463 /* Override any gcc2 internal prototype to avoid an error.  */
24464 #ifdef __cplusplus
24465 extern "C"
24466 {
24467 #endif
24468 /* We use char because int might match the return type of a gcc2
24469    builtin and then its argument prototype would still apply.  */
24470 char $ac_func ();
24471 /* The GNU C library defines this for functions which it implements
24472     to always fail with ENOSYS.  Some functions are actually named
24473     something starting with __ and the normal name is an alias.  */
24474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24475 choke me
24476 #else
24477 char (*f) () = $ac_func;
24478 #endif
24479 #ifdef __cplusplus
24480 }
24481 #endif
24482
24483 int
24484 main ()
24485 {
24486 return f != $ac_func;
24487   ;
24488   return 0;
24489 }
24490 _ACEOF
24491 rm -f conftest.$ac_objext conftest$ac_exeext
24492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24493   (eval $ac_link) 2>conftest.er1
24494   ac_status=$?
24495   grep -v '^ *+' conftest.er1 >conftest.err
24496   rm -f conftest.er1
24497   cat conftest.err >&5
24498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499   (exit $ac_status); } &&
24500          { ac_try='test -z "$ac_c_werror_flag"
24501                          || test ! -s conftest.err'
24502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24503   (eval $ac_try) 2>&5
24504   ac_status=$?
24505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506   (exit $ac_status); }; } &&
24507          { ac_try='test -s conftest$ac_exeext'
24508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509   (eval $ac_try) 2>&5
24510   ac_status=$?
24511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512   (exit $ac_status); }; }; then
24513   eval "$as_ac_var=yes"
24514 else
24515   echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.$ac_ext >&5
24517
24518 eval "$as_ac_var=no"
24519 fi
24520 rm -f conftest.err conftest.$ac_objext \
24521       conftest$ac_exeext conftest.$ac_ext
24522 fi
24523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24525 if test `eval echo '${'$as_ac_var'}'` = yes; then
24526   cat >>confdefs.h <<_ACEOF
24527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24528 _ACEOF
24529
24530 fi
24531 done
24532
24533     fi
24534   fi
24535
24536
24537
24538
24539
24540
24541   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24542 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24543   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24544     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24545   echo $ECHO_N "(cached) $ECHO_C" >&6
24546 else
24547
24548
24549
24550       ac_ext=cc
24551 ac_cpp='$CXXCPP $CPPFLAGS'
24552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24555
24556       cat >conftest.$ac_ext <<_ACEOF
24557 /* confdefs.h.  */
24558 _ACEOF
24559 cat confdefs.h >>conftest.$ac_ext
24560 cat >>conftest.$ac_ext <<_ACEOF
24561 /* end confdefs.h.  */
24562 #include <math.h>
24563                       #ifdef HAVE_IEEEFP_H
24564                       #include <ieeefp.h>
24565                       #endif
24566
24567 int
24568 main ()
24569 {
24570  sqrtl(0);
24571   ;
24572   return 0;
24573 }
24574 _ACEOF
24575 rm -f conftest.$ac_objext
24576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24577   (eval $ac_compile) 2>conftest.er1
24578   ac_status=$?
24579   grep -v '^ *+' conftest.er1 >conftest.err
24580   rm -f conftest.er1
24581   cat conftest.err >&5
24582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583   (exit $ac_status); } &&
24584          { ac_try='test -z "$ac_cxx_werror_flag"
24585                          || test ! -s conftest.err'
24586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587   (eval $ac_try) 2>&5
24588   ac_status=$?
24589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590   (exit $ac_status); }; } &&
24591          { ac_try='test -s conftest.$ac_objext'
24592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24593   (eval $ac_try) 2>&5
24594   ac_status=$?
24595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596   (exit $ac_status); }; }; then
24597   glibcxx_cv_func_sqrtl_use=yes
24598 else
24599   echo "$as_me: failed program was:" >&5
24600 sed 's/^/| /' conftest.$ac_ext >&5
24601
24602 glibcxx_cv_func_sqrtl_use=no
24603 fi
24604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24605       ac_ext=c
24606 ac_cpp='$CPP $CPPFLAGS'
24607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24610
24611
24612 fi
24613
24614   fi
24615   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24616 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24617
24618   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24619
24620 for ac_func in sqrtl
24621 do
24622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24623 echo "$as_me:$LINENO: checking for $ac_func" >&5
24624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24625 if eval "test \"\${$as_ac_var+set}\" = set"; then
24626   echo $ECHO_N "(cached) $ECHO_C" >&6
24627 else
24628   if test x$gcc_no_link = xyes; then
24629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24631    { (exit 1); exit 1; }; }
24632 fi
24633 cat >conftest.$ac_ext <<_ACEOF
24634 /* confdefs.h.  */
24635 _ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h.  */
24639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24641 #define $ac_func innocuous_$ac_func
24642
24643 /* System header to define __stub macros and hopefully few prototypes,
24644     which can conflict with char $ac_func (); below.
24645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24646     <limits.h> exists even on freestanding compilers.  */
24647
24648 #ifdef __STDC__
24649 # include <limits.h>
24650 #else
24651 # include <assert.h>
24652 #endif
24653
24654 #undef $ac_func
24655
24656 /* Override any gcc2 internal prototype to avoid an error.  */
24657 #ifdef __cplusplus
24658 extern "C"
24659 {
24660 #endif
24661 /* We use char because int might match the return type of a gcc2
24662    builtin and then its argument prototype would still apply.  */
24663 char $ac_func ();
24664 /* The GNU C library defines this for functions which it implements
24665     to always fail with ENOSYS.  Some functions are actually named
24666     something starting with __ and the normal name is an alias.  */
24667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24668 choke me
24669 #else
24670 char (*f) () = $ac_func;
24671 #endif
24672 #ifdef __cplusplus
24673 }
24674 #endif
24675
24676 int
24677 main ()
24678 {
24679 return f != $ac_func;
24680   ;
24681   return 0;
24682 }
24683 _ACEOF
24684 rm -f conftest.$ac_objext conftest$ac_exeext
24685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24686   (eval $ac_link) 2>conftest.er1
24687   ac_status=$?
24688   grep -v '^ *+' conftest.er1 >conftest.err
24689   rm -f conftest.er1
24690   cat conftest.err >&5
24691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692   (exit $ac_status); } &&
24693          { ac_try='test -z "$ac_c_werror_flag"
24694                          || test ! -s conftest.err'
24695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24696   (eval $ac_try) 2>&5
24697   ac_status=$?
24698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699   (exit $ac_status); }; } &&
24700          { ac_try='test -s conftest$ac_exeext'
24701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24702   (eval $ac_try) 2>&5
24703   ac_status=$?
24704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705   (exit $ac_status); }; }; then
24706   eval "$as_ac_var=yes"
24707 else
24708   echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24710
24711 eval "$as_ac_var=no"
24712 fi
24713 rm -f conftest.err conftest.$ac_objext \
24714       conftest$ac_exeext conftest.$ac_ext
24715 fi
24716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24718 if test `eval echo '${'$as_ac_var'}'` = yes; then
24719   cat >>confdefs.h <<_ACEOF
24720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24721 _ACEOF
24722
24723 fi
24724 done
24725
24726   else
24727
24728   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24729 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24730   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24731     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24732   echo $ECHO_N "(cached) $ECHO_C" >&6
24733 else
24734
24735
24736
24737       ac_ext=cc
24738 ac_cpp='$CXXCPP $CPPFLAGS'
24739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24742
24743       cat >conftest.$ac_ext <<_ACEOF
24744 /* confdefs.h.  */
24745 _ACEOF
24746 cat confdefs.h >>conftest.$ac_ext
24747 cat >>conftest.$ac_ext <<_ACEOF
24748 /* end confdefs.h.  */
24749 #include <math.h>
24750                       #ifdef HAVE_IEEEFP_H
24751                       #include <ieeefp.h>
24752                       #endif
24753
24754 int
24755 main ()
24756 {
24757  _sqrtl(0);
24758   ;
24759   return 0;
24760 }
24761 _ACEOF
24762 rm -f conftest.$ac_objext
24763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24764   (eval $ac_compile) 2>conftest.er1
24765   ac_status=$?
24766   grep -v '^ *+' conftest.er1 >conftest.err
24767   rm -f conftest.er1
24768   cat conftest.err >&5
24769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770   (exit $ac_status); } &&
24771          { ac_try='test -z "$ac_cxx_werror_flag"
24772                          || test ! -s conftest.err'
24773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774   (eval $ac_try) 2>&5
24775   ac_status=$?
24776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777   (exit $ac_status); }; } &&
24778          { ac_try='test -s conftest.$ac_objext'
24779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24780   (eval $ac_try) 2>&5
24781   ac_status=$?
24782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783   (exit $ac_status); }; }; then
24784   glibcxx_cv_func__sqrtl_use=yes
24785 else
24786   echo "$as_me: failed program was:" >&5
24787 sed 's/^/| /' conftest.$ac_ext >&5
24788
24789 glibcxx_cv_func__sqrtl_use=no
24790 fi
24791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24792       ac_ext=c
24793 ac_cpp='$CPP $CPPFLAGS'
24794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24797
24798
24799 fi
24800
24801   fi
24802   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24803 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24804
24805     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24806
24807 for ac_func in _sqrtl
24808 do
24809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24810 echo "$as_me:$LINENO: checking for $ac_func" >&5
24811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24812 if eval "test \"\${$as_ac_var+set}\" = set"; then
24813   echo $ECHO_N "(cached) $ECHO_C" >&6
24814 else
24815   if test x$gcc_no_link = xyes; then
24816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24818    { (exit 1); exit 1; }; }
24819 fi
24820 cat >conftest.$ac_ext <<_ACEOF
24821 /* confdefs.h.  */
24822 _ACEOF
24823 cat confdefs.h >>conftest.$ac_ext
24824 cat >>conftest.$ac_ext <<_ACEOF
24825 /* end confdefs.h.  */
24826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24828 #define $ac_func innocuous_$ac_func
24829
24830 /* System header to define __stub macros and hopefully few prototypes,
24831     which can conflict with char $ac_func (); below.
24832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24833     <limits.h> exists even on freestanding compilers.  */
24834
24835 #ifdef __STDC__
24836 # include <limits.h>
24837 #else
24838 # include <assert.h>
24839 #endif
24840
24841 #undef $ac_func
24842
24843 /* Override any gcc2 internal prototype to avoid an error.  */
24844 #ifdef __cplusplus
24845 extern "C"
24846 {
24847 #endif
24848 /* We use char because int might match the return type of a gcc2
24849    builtin and then its argument prototype would still apply.  */
24850 char $ac_func ();
24851 /* The GNU C library defines this for functions which it implements
24852     to always fail with ENOSYS.  Some functions are actually named
24853     something starting with __ and the normal name is an alias.  */
24854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24855 choke me
24856 #else
24857 char (*f) () = $ac_func;
24858 #endif
24859 #ifdef __cplusplus
24860 }
24861 #endif
24862
24863 int
24864 main ()
24865 {
24866 return f != $ac_func;
24867   ;
24868   return 0;
24869 }
24870 _ACEOF
24871 rm -f conftest.$ac_objext conftest$ac_exeext
24872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24873   (eval $ac_link) 2>conftest.er1
24874   ac_status=$?
24875   grep -v '^ *+' conftest.er1 >conftest.err
24876   rm -f conftest.er1
24877   cat conftest.err >&5
24878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879   (exit $ac_status); } &&
24880          { ac_try='test -z "$ac_c_werror_flag"
24881                          || test ! -s conftest.err'
24882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24883   (eval $ac_try) 2>&5
24884   ac_status=$?
24885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886   (exit $ac_status); }; } &&
24887          { ac_try='test -s conftest$ac_exeext'
24888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889   (eval $ac_try) 2>&5
24890   ac_status=$?
24891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892   (exit $ac_status); }; }; then
24893   eval "$as_ac_var=yes"
24894 else
24895   echo "$as_me: failed program was:" >&5
24896 sed 's/^/| /' conftest.$ac_ext >&5
24897
24898 eval "$as_ac_var=no"
24899 fi
24900 rm -f conftest.err conftest.$ac_objext \
24901       conftest$ac_exeext conftest.$ac_ext
24902 fi
24903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24905 if test `eval echo '${'$as_ac_var'}'` = yes; then
24906   cat >>confdefs.h <<_ACEOF
24907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24908 _ACEOF
24909
24910 fi
24911 done
24912
24913     fi
24914   fi
24915
24916
24917
24918
24919
24920
24921   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24922 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24923   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24924     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24925   echo $ECHO_N "(cached) $ECHO_C" >&6
24926 else
24927
24928
24929
24930       ac_ext=cc
24931 ac_cpp='$CXXCPP $CPPFLAGS'
24932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24935
24936       cat >conftest.$ac_ext <<_ACEOF
24937 /* confdefs.h.  */
24938 _ACEOF
24939 cat confdefs.h >>conftest.$ac_ext
24940 cat >>conftest.$ac_ext <<_ACEOF
24941 /* end confdefs.h.  */
24942 #include <math.h>
24943 int
24944 main ()
24945 {
24946  sincosl(0, 0, 0);
24947   ;
24948   return 0;
24949 }
24950 _ACEOF
24951 rm -f conftest.$ac_objext
24952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24953   (eval $ac_compile) 2>conftest.er1
24954   ac_status=$?
24955   grep -v '^ *+' conftest.er1 >conftest.err
24956   rm -f conftest.er1
24957   cat conftest.err >&5
24958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959   (exit $ac_status); } &&
24960          { ac_try='test -z "$ac_cxx_werror_flag"
24961                          || test ! -s conftest.err'
24962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963   (eval $ac_try) 2>&5
24964   ac_status=$?
24965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966   (exit $ac_status); }; } &&
24967          { ac_try='test -s conftest.$ac_objext'
24968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24969   (eval $ac_try) 2>&5
24970   ac_status=$?
24971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972   (exit $ac_status); }; }; then
24973   glibcxx_cv_func_sincosl_use=yes
24974 else
24975   echo "$as_me: failed program was:" >&5
24976 sed 's/^/| /' conftest.$ac_ext >&5
24977
24978 glibcxx_cv_func_sincosl_use=no
24979 fi
24980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24981       ac_ext=c
24982 ac_cpp='$CPP $CPPFLAGS'
24983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24986
24987
24988 fi
24989
24990   fi
24991   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24992 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24993
24994   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24995
24996 for ac_func in sincosl
24997 do
24998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24999 echo "$as_me:$LINENO: checking for $ac_func" >&5
25000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25001 if eval "test \"\${$as_ac_var+set}\" = set"; then
25002   echo $ECHO_N "(cached) $ECHO_C" >&6
25003 else
25004   if test x$gcc_no_link = xyes; then
25005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25007    { (exit 1); exit 1; }; }
25008 fi
25009 cat >conftest.$ac_ext <<_ACEOF
25010 /* confdefs.h.  */
25011 _ACEOF
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h.  */
25015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25016    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25017 #define $ac_func innocuous_$ac_func
25018
25019 /* System header to define __stub macros and hopefully few prototypes,
25020     which can conflict with char $ac_func (); below.
25021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25022     <limits.h> exists even on freestanding compilers.  */
25023
25024 #ifdef __STDC__
25025 # include <limits.h>
25026 #else
25027 # include <assert.h>
25028 #endif
25029
25030 #undef $ac_func
25031
25032 /* Override any gcc2 internal prototype to avoid an error.  */
25033 #ifdef __cplusplus
25034 extern "C"
25035 {
25036 #endif
25037 /* We use char because int might match the return type of a gcc2
25038    builtin and then its argument prototype would still apply.  */
25039 char $ac_func ();
25040 /* The GNU C library defines this for functions which it implements
25041     to always fail with ENOSYS.  Some functions are actually named
25042     something starting with __ and the normal name is an alias.  */
25043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25044 choke me
25045 #else
25046 char (*f) () = $ac_func;
25047 #endif
25048 #ifdef __cplusplus
25049 }
25050 #endif
25051
25052 int
25053 main ()
25054 {
25055 return f != $ac_func;
25056   ;
25057   return 0;
25058 }
25059 _ACEOF
25060 rm -f conftest.$ac_objext conftest$ac_exeext
25061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25062   (eval $ac_link) 2>conftest.er1
25063   ac_status=$?
25064   grep -v '^ *+' conftest.er1 >conftest.err
25065   rm -f conftest.er1
25066   cat conftest.err >&5
25067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068   (exit $ac_status); } &&
25069          { ac_try='test -z "$ac_c_werror_flag"
25070                          || test ! -s conftest.err'
25071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25072   (eval $ac_try) 2>&5
25073   ac_status=$?
25074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25075   (exit $ac_status); }; } &&
25076          { ac_try='test -s conftest$ac_exeext'
25077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25078   (eval $ac_try) 2>&5
25079   ac_status=$?
25080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081   (exit $ac_status); }; }; then
25082   eval "$as_ac_var=yes"
25083 else
25084   echo "$as_me: failed program was:" >&5
25085 sed 's/^/| /' conftest.$ac_ext >&5
25086
25087 eval "$as_ac_var=no"
25088 fi
25089 rm -f conftest.err conftest.$ac_objext \
25090       conftest$ac_exeext conftest.$ac_ext
25091 fi
25092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25094 if test `eval echo '${'$as_ac_var'}'` = yes; then
25095   cat >>confdefs.h <<_ACEOF
25096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25097 _ACEOF
25098
25099 fi
25100 done
25101
25102   else
25103
25104   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25105 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25106   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25107     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25108   echo $ECHO_N "(cached) $ECHO_C" >&6
25109 else
25110
25111
25112
25113       ac_ext=cc
25114 ac_cpp='$CXXCPP $CPPFLAGS'
25115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25118
25119       cat >conftest.$ac_ext <<_ACEOF
25120 /* confdefs.h.  */
25121 _ACEOF
25122 cat confdefs.h >>conftest.$ac_ext
25123 cat >>conftest.$ac_ext <<_ACEOF
25124 /* end confdefs.h.  */
25125 #include <math.h>
25126 int
25127 main ()
25128 {
25129  _sincosl(0, 0, 0);
25130   ;
25131   return 0;
25132 }
25133 _ACEOF
25134 rm -f conftest.$ac_objext
25135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25136   (eval $ac_compile) 2>conftest.er1
25137   ac_status=$?
25138   grep -v '^ *+' conftest.er1 >conftest.err
25139   rm -f conftest.er1
25140   cat conftest.err >&5
25141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142   (exit $ac_status); } &&
25143          { ac_try='test -z "$ac_cxx_werror_flag"
25144                          || test ! -s conftest.err'
25145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25146   (eval $ac_try) 2>&5
25147   ac_status=$?
25148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25149   (exit $ac_status); }; } &&
25150          { ac_try='test -s conftest.$ac_objext'
25151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25152   (eval $ac_try) 2>&5
25153   ac_status=$?
25154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155   (exit $ac_status); }; }; then
25156   glibcxx_cv_func__sincosl_use=yes
25157 else
25158   echo "$as_me: failed program was:" >&5
25159 sed 's/^/| /' conftest.$ac_ext >&5
25160
25161 glibcxx_cv_func__sincosl_use=no
25162 fi
25163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25164       ac_ext=c
25165 ac_cpp='$CPP $CPPFLAGS'
25166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25169
25170
25171 fi
25172
25173   fi
25174   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25175 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25176
25177     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25178
25179 for ac_func in _sincosl
25180 do
25181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25182 echo "$as_me:$LINENO: checking for $ac_func" >&5
25183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25184 if eval "test \"\${$as_ac_var+set}\" = set"; then
25185   echo $ECHO_N "(cached) $ECHO_C" >&6
25186 else
25187   if test x$gcc_no_link = xyes; then
25188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25190    { (exit 1); exit 1; }; }
25191 fi
25192 cat >conftest.$ac_ext <<_ACEOF
25193 /* confdefs.h.  */
25194 _ACEOF
25195 cat confdefs.h >>conftest.$ac_ext
25196 cat >>conftest.$ac_ext <<_ACEOF
25197 /* end confdefs.h.  */
25198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25200 #define $ac_func innocuous_$ac_func
25201
25202 /* System header to define __stub macros and hopefully few prototypes,
25203     which can conflict with char $ac_func (); below.
25204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25205     <limits.h> exists even on freestanding compilers.  */
25206
25207 #ifdef __STDC__
25208 # include <limits.h>
25209 #else
25210 # include <assert.h>
25211 #endif
25212
25213 #undef $ac_func
25214
25215 /* Override any gcc2 internal prototype to avoid an error.  */
25216 #ifdef __cplusplus
25217 extern "C"
25218 {
25219 #endif
25220 /* We use char because int might match the return type of a gcc2
25221    builtin and then its argument prototype would still apply.  */
25222 char $ac_func ();
25223 /* The GNU C library defines this for functions which it implements
25224     to always fail with ENOSYS.  Some functions are actually named
25225     something starting with __ and the normal name is an alias.  */
25226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25227 choke me
25228 #else
25229 char (*f) () = $ac_func;
25230 #endif
25231 #ifdef __cplusplus
25232 }
25233 #endif
25234
25235 int
25236 main ()
25237 {
25238 return f != $ac_func;
25239   ;
25240   return 0;
25241 }
25242 _ACEOF
25243 rm -f conftest.$ac_objext conftest$ac_exeext
25244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25245   (eval $ac_link) 2>conftest.er1
25246   ac_status=$?
25247   grep -v '^ *+' conftest.er1 >conftest.err
25248   rm -f conftest.er1
25249   cat conftest.err >&5
25250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25251   (exit $ac_status); } &&
25252          { ac_try='test -z "$ac_c_werror_flag"
25253                          || test ! -s conftest.err'
25254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25255   (eval $ac_try) 2>&5
25256   ac_status=$?
25257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258   (exit $ac_status); }; } &&
25259          { ac_try='test -s conftest$ac_exeext'
25260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25261   (eval $ac_try) 2>&5
25262   ac_status=$?
25263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25264   (exit $ac_status); }; }; then
25265   eval "$as_ac_var=yes"
25266 else
25267   echo "$as_me: failed program was:" >&5
25268 sed 's/^/| /' conftest.$ac_ext >&5
25269
25270 eval "$as_ac_var=no"
25271 fi
25272 rm -f conftest.err conftest.$ac_objext \
25273       conftest$ac_exeext conftest.$ac_ext
25274 fi
25275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25277 if test `eval echo '${'$as_ac_var'}'` = yes; then
25278   cat >>confdefs.h <<_ACEOF
25279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25280 _ACEOF
25281
25282 fi
25283 done
25284
25285     fi
25286   fi
25287
25288
25289
25290
25291
25292
25293   echo "$as_me:$LINENO: checking for finitel declaration" >&5
25294 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25295   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25296     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25297   echo $ECHO_N "(cached) $ECHO_C" >&6
25298 else
25299
25300
25301
25302       ac_ext=cc
25303 ac_cpp='$CXXCPP $CPPFLAGS'
25304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25307
25308       cat >conftest.$ac_ext <<_ACEOF
25309 /* confdefs.h.  */
25310 _ACEOF
25311 cat confdefs.h >>conftest.$ac_ext
25312 cat >>conftest.$ac_ext <<_ACEOF
25313 /* end confdefs.h.  */
25314 #include <math.h>
25315                       #ifdef HAVE_IEEEFP_H
25316                       #include <ieeefp.h>
25317                       #endif
25318
25319 int
25320 main ()
25321 {
25322  finitel(0);
25323   ;
25324   return 0;
25325 }
25326 _ACEOF
25327 rm -f conftest.$ac_objext
25328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25329   (eval $ac_compile) 2>conftest.er1
25330   ac_status=$?
25331   grep -v '^ *+' conftest.er1 >conftest.err
25332   rm -f conftest.er1
25333   cat conftest.err >&5
25334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335   (exit $ac_status); } &&
25336          { ac_try='test -z "$ac_cxx_werror_flag"
25337                          || test ! -s conftest.err'
25338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25339   (eval $ac_try) 2>&5
25340   ac_status=$?
25341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342   (exit $ac_status); }; } &&
25343          { ac_try='test -s conftest.$ac_objext'
25344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345   (eval $ac_try) 2>&5
25346   ac_status=$?
25347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348   (exit $ac_status); }; }; then
25349   glibcxx_cv_func_finitel_use=yes
25350 else
25351   echo "$as_me: failed program was:" >&5
25352 sed 's/^/| /' conftest.$ac_ext >&5
25353
25354 glibcxx_cv_func_finitel_use=no
25355 fi
25356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25357       ac_ext=c
25358 ac_cpp='$CPP $CPPFLAGS'
25359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25362
25363
25364 fi
25365
25366   fi
25367   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25368 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25369
25370   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25371
25372 for ac_func in finitel
25373 do
25374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25375 echo "$as_me:$LINENO: checking for $ac_func" >&5
25376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25377 if eval "test \"\${$as_ac_var+set}\" = set"; then
25378   echo $ECHO_N "(cached) $ECHO_C" >&6
25379 else
25380   if test x$gcc_no_link = xyes; then
25381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25383    { (exit 1); exit 1; }; }
25384 fi
25385 cat >conftest.$ac_ext <<_ACEOF
25386 /* confdefs.h.  */
25387 _ACEOF
25388 cat confdefs.h >>conftest.$ac_ext
25389 cat >>conftest.$ac_ext <<_ACEOF
25390 /* end confdefs.h.  */
25391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25393 #define $ac_func innocuous_$ac_func
25394
25395 /* System header to define __stub macros and hopefully few prototypes,
25396     which can conflict with char $ac_func (); below.
25397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25398     <limits.h> exists even on freestanding compilers.  */
25399
25400 #ifdef __STDC__
25401 # include <limits.h>
25402 #else
25403 # include <assert.h>
25404 #endif
25405
25406 #undef $ac_func
25407
25408 /* Override any gcc2 internal prototype to avoid an error.  */
25409 #ifdef __cplusplus
25410 extern "C"
25411 {
25412 #endif
25413 /* We use char because int might match the return type of a gcc2
25414    builtin and then its argument prototype would still apply.  */
25415 char $ac_func ();
25416 /* The GNU C library defines this for functions which it implements
25417     to always fail with ENOSYS.  Some functions are actually named
25418     something starting with __ and the normal name is an alias.  */
25419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25420 choke me
25421 #else
25422 char (*f) () = $ac_func;
25423 #endif
25424 #ifdef __cplusplus
25425 }
25426 #endif
25427
25428 int
25429 main ()
25430 {
25431 return f != $ac_func;
25432   ;
25433   return 0;
25434 }
25435 _ACEOF
25436 rm -f conftest.$ac_objext conftest$ac_exeext
25437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25438   (eval $ac_link) 2>conftest.er1
25439   ac_status=$?
25440   grep -v '^ *+' conftest.er1 >conftest.err
25441   rm -f conftest.er1
25442   cat conftest.err >&5
25443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444   (exit $ac_status); } &&
25445          { ac_try='test -z "$ac_c_werror_flag"
25446                          || test ! -s conftest.err'
25447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25448   (eval $ac_try) 2>&5
25449   ac_status=$?
25450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451   (exit $ac_status); }; } &&
25452          { ac_try='test -s conftest$ac_exeext'
25453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25454   (eval $ac_try) 2>&5
25455   ac_status=$?
25456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25457   (exit $ac_status); }; }; then
25458   eval "$as_ac_var=yes"
25459 else
25460   echo "$as_me: failed program was:" >&5
25461 sed 's/^/| /' conftest.$ac_ext >&5
25462
25463 eval "$as_ac_var=no"
25464 fi
25465 rm -f conftest.err conftest.$ac_objext \
25466       conftest$ac_exeext conftest.$ac_ext
25467 fi
25468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25470 if test `eval echo '${'$as_ac_var'}'` = yes; then
25471   cat >>confdefs.h <<_ACEOF
25472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25473 _ACEOF
25474
25475 fi
25476 done
25477
25478   else
25479
25480   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25481 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25482   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25483     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25484   echo $ECHO_N "(cached) $ECHO_C" >&6
25485 else
25486
25487
25488
25489       ac_ext=cc
25490 ac_cpp='$CXXCPP $CPPFLAGS'
25491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25494
25495       cat >conftest.$ac_ext <<_ACEOF
25496 /* confdefs.h.  */
25497 _ACEOF
25498 cat confdefs.h >>conftest.$ac_ext
25499 cat >>conftest.$ac_ext <<_ACEOF
25500 /* end confdefs.h.  */
25501 #include <math.h>
25502                       #ifdef HAVE_IEEEFP_H
25503                       #include <ieeefp.h>
25504                       #endif
25505
25506 int
25507 main ()
25508 {
25509  _finitel(0);
25510   ;
25511   return 0;
25512 }
25513 _ACEOF
25514 rm -f conftest.$ac_objext
25515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25516   (eval $ac_compile) 2>conftest.er1
25517   ac_status=$?
25518   grep -v '^ *+' conftest.er1 >conftest.err
25519   rm -f conftest.er1
25520   cat conftest.err >&5
25521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522   (exit $ac_status); } &&
25523          { ac_try='test -z "$ac_cxx_werror_flag"
25524                          || test ! -s conftest.err'
25525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526   (eval $ac_try) 2>&5
25527   ac_status=$?
25528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529   (exit $ac_status); }; } &&
25530          { ac_try='test -s conftest.$ac_objext'
25531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532   (eval $ac_try) 2>&5
25533   ac_status=$?
25534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535   (exit $ac_status); }; }; then
25536   glibcxx_cv_func__finitel_use=yes
25537 else
25538   echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.$ac_ext >&5
25540
25541 glibcxx_cv_func__finitel_use=no
25542 fi
25543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25544       ac_ext=c
25545 ac_cpp='$CPP $CPPFLAGS'
25546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25549
25550
25551 fi
25552
25553   fi
25554   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25555 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25556
25557     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25558
25559 for ac_func in _finitel
25560 do
25561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25562 echo "$as_me:$LINENO: checking for $ac_func" >&5
25563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25564 if eval "test \"\${$as_ac_var+set}\" = set"; then
25565   echo $ECHO_N "(cached) $ECHO_C" >&6
25566 else
25567   if test x$gcc_no_link = xyes; then
25568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25570    { (exit 1); exit 1; }; }
25571 fi
25572 cat >conftest.$ac_ext <<_ACEOF
25573 /* confdefs.h.  */
25574 _ACEOF
25575 cat confdefs.h >>conftest.$ac_ext
25576 cat >>conftest.$ac_ext <<_ACEOF
25577 /* end confdefs.h.  */
25578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25580 #define $ac_func innocuous_$ac_func
25581
25582 /* System header to define __stub macros and hopefully few prototypes,
25583     which can conflict with char $ac_func (); below.
25584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25585     <limits.h> exists even on freestanding compilers.  */
25586
25587 #ifdef __STDC__
25588 # include <limits.h>
25589 #else
25590 # include <assert.h>
25591 #endif
25592
25593 #undef $ac_func
25594
25595 /* Override any gcc2 internal prototype to avoid an error.  */
25596 #ifdef __cplusplus
25597 extern "C"
25598 {
25599 #endif
25600 /* We use char because int might match the return type of a gcc2
25601    builtin and then its argument prototype would still apply.  */
25602 char $ac_func ();
25603 /* The GNU C library defines this for functions which it implements
25604     to always fail with ENOSYS.  Some functions are actually named
25605     something starting with __ and the normal name is an alias.  */
25606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25607 choke me
25608 #else
25609 char (*f) () = $ac_func;
25610 #endif
25611 #ifdef __cplusplus
25612 }
25613 #endif
25614
25615 int
25616 main ()
25617 {
25618 return f != $ac_func;
25619   ;
25620   return 0;
25621 }
25622 _ACEOF
25623 rm -f conftest.$ac_objext conftest$ac_exeext
25624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25625   (eval $ac_link) 2>conftest.er1
25626   ac_status=$?
25627   grep -v '^ *+' conftest.er1 >conftest.err
25628   rm -f conftest.er1
25629   cat conftest.err >&5
25630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631   (exit $ac_status); } &&
25632          { ac_try='test -z "$ac_c_werror_flag"
25633                          || test ! -s conftest.err'
25634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635   (eval $ac_try) 2>&5
25636   ac_status=$?
25637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638   (exit $ac_status); }; } &&
25639          { ac_try='test -s conftest$ac_exeext'
25640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641   (eval $ac_try) 2>&5
25642   ac_status=$?
25643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644   (exit $ac_status); }; }; then
25645   eval "$as_ac_var=yes"
25646 else
25647   echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.$ac_ext >&5
25649
25650 eval "$as_ac_var=no"
25651 fi
25652 rm -f conftest.err conftest.$ac_objext \
25653       conftest$ac_exeext conftest.$ac_ext
25654 fi
25655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25657 if test `eval echo '${'$as_ac_var'}'` = yes; then
25658   cat >>confdefs.h <<_ACEOF
25659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25660 _ACEOF
25661
25662 fi
25663 done
25664
25665     fi
25666   fi
25667
25668
25669
25670
25671
25672   LIBS="$ac_save_LIBS"
25673   CXXFLAGS="$ac_save_CXXFLAGS"
25674
25675
25676
25677   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25678 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25679   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25680     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25681   echo $ECHO_N "(cached) $ECHO_C" >&6
25682 else
25683
25684
25685
25686       ac_ext=cc
25687 ac_cpp='$CXXCPP $CPPFLAGS'
25688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25691
25692       cat >conftest.$ac_ext <<_ACEOF
25693 /* confdefs.h.  */
25694 _ACEOF
25695 cat confdefs.h >>conftest.$ac_ext
25696 cat >>conftest.$ac_ext <<_ACEOF
25697 /* end confdefs.h.  */
25698 #include <math.h>
25699 int
25700 main ()
25701 {
25702  __builtin_abs(0);
25703   ;
25704   return 0;
25705 }
25706 _ACEOF
25707 rm -f conftest.$ac_objext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25709   (eval $ac_compile) 2>conftest.er1
25710   ac_status=$?
25711   grep -v '^ *+' conftest.er1 >conftest.err
25712   rm -f conftest.er1
25713   cat conftest.err >&5
25714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715   (exit $ac_status); } &&
25716          { ac_try='test -z "$ac_cxx_werror_flag"
25717                          || test ! -s conftest.err'
25718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719   (eval $ac_try) 2>&5
25720   ac_status=$?
25721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722   (exit $ac_status); }; } &&
25723          { ac_try='test -s conftest.$ac_objext'
25724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25725   (eval $ac_try) 2>&5
25726   ac_status=$?
25727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728   (exit $ac_status); }; }; then
25729   glibcxx_cv_func___builtin_abs_use=yes
25730 else
25731   echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.$ac_ext >&5
25733
25734 glibcxx_cv_func___builtin_abs_use=no
25735 fi
25736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25737       ac_ext=c
25738 ac_cpp='$CPP $CPPFLAGS'
25739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25742
25743
25744 fi
25745
25746   fi
25747   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25748 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25749   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25750     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25751 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25752     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25753       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25754   echo $ECHO_N "(cached) $ECHO_C" >&6
25755 else
25756
25757         if test x$gcc_no_link = xyes; then
25758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25760    { (exit 1); exit 1; }; }
25761 fi
25762 cat >conftest.$ac_ext <<_ACEOF
25763 /* confdefs.h.  */
25764 _ACEOF
25765 cat confdefs.h >>conftest.$ac_ext
25766 cat >>conftest.$ac_ext <<_ACEOF
25767 /* end confdefs.h.  */
25768 #include <math.h>
25769 int
25770 main ()
25771 {
25772  __builtin_abs(0);
25773   ;
25774   return 0;
25775 }
25776 _ACEOF
25777 rm -f conftest.$ac_objext conftest$ac_exeext
25778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25779   (eval $ac_link) 2>conftest.er1
25780   ac_status=$?
25781   grep -v '^ *+' conftest.er1 >conftest.err
25782   rm -f conftest.er1
25783   cat conftest.err >&5
25784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785   (exit $ac_status); } &&
25786          { ac_try='test -z "$ac_c_werror_flag"
25787                          || test ! -s conftest.err'
25788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25789   (eval $ac_try) 2>&5
25790   ac_status=$?
25791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792   (exit $ac_status); }; } &&
25793          { ac_try='test -s conftest$ac_exeext'
25794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25795   (eval $ac_try) 2>&5
25796   ac_status=$?
25797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798   (exit $ac_status); }; }; then
25799   glibcxx_cv_func___builtin_abs_link=yes
25800 else
25801   echo "$as_me: failed program was:" >&5
25802 sed 's/^/| /' conftest.$ac_ext >&5
25803
25804 glibcxx_cv_func___builtin_abs_link=no
25805 fi
25806 rm -f conftest.err conftest.$ac_objext \
25807       conftest$ac_exeext conftest.$ac_ext
25808
25809 fi
25810
25811     fi
25812     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25813 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25814
25815     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25816
25817 cat >>confdefs.h <<\_ACEOF
25818 #define HAVE___BUILTIN_ABS 1
25819 _ACEOF
25820
25821     fi
25822
25823   fi
25824
25825
25826   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25827 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25828   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25829     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25830   echo $ECHO_N "(cached) $ECHO_C" >&6
25831 else
25832
25833
25834
25835       ac_ext=cc
25836 ac_cpp='$CXXCPP $CPPFLAGS'
25837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25840
25841       cat >conftest.$ac_ext <<_ACEOF
25842 /* confdefs.h.  */
25843 _ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h.  */
25847 #include <math.h>
25848 int
25849 main ()
25850 {
25851  __builtin_fabsf(0);
25852   ;
25853   return 0;
25854 }
25855 _ACEOF
25856 rm -f conftest.$ac_objext
25857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25858   (eval $ac_compile) 2>conftest.er1
25859   ac_status=$?
25860   grep -v '^ *+' conftest.er1 >conftest.err
25861   rm -f conftest.er1
25862   cat conftest.err >&5
25863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864   (exit $ac_status); } &&
25865          { ac_try='test -z "$ac_cxx_werror_flag"
25866                          || test ! -s conftest.err'
25867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868   (eval $ac_try) 2>&5
25869   ac_status=$?
25870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871   (exit $ac_status); }; } &&
25872          { ac_try='test -s conftest.$ac_objext'
25873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874   (eval $ac_try) 2>&5
25875   ac_status=$?
25876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877   (exit $ac_status); }; }; then
25878   glibcxx_cv_func___builtin_fabsf_use=yes
25879 else
25880   echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25882
25883 glibcxx_cv_func___builtin_fabsf_use=no
25884 fi
25885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25886       ac_ext=c
25887 ac_cpp='$CPP $CPPFLAGS'
25888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25891
25892
25893 fi
25894
25895   fi
25896   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25897 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25898   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25899     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25900 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25901     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25902       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25903   echo $ECHO_N "(cached) $ECHO_C" >&6
25904 else
25905
25906         if test x$gcc_no_link = xyes; then
25907   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25909    { (exit 1); exit 1; }; }
25910 fi
25911 cat >conftest.$ac_ext <<_ACEOF
25912 /* confdefs.h.  */
25913 _ACEOF
25914 cat confdefs.h >>conftest.$ac_ext
25915 cat >>conftest.$ac_ext <<_ACEOF
25916 /* end confdefs.h.  */
25917 #include <math.h>
25918 int
25919 main ()
25920 {
25921  __builtin_fabsf(0);
25922   ;
25923   return 0;
25924 }
25925 _ACEOF
25926 rm -f conftest.$ac_objext conftest$ac_exeext
25927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25928   (eval $ac_link) 2>conftest.er1
25929   ac_status=$?
25930   grep -v '^ *+' conftest.er1 >conftest.err
25931   rm -f conftest.er1
25932   cat conftest.err >&5
25933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934   (exit $ac_status); } &&
25935          { ac_try='test -z "$ac_c_werror_flag"
25936                          || test ! -s conftest.err'
25937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938   (eval $ac_try) 2>&5
25939   ac_status=$?
25940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941   (exit $ac_status); }; } &&
25942          { ac_try='test -s conftest$ac_exeext'
25943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944   (eval $ac_try) 2>&5
25945   ac_status=$?
25946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947   (exit $ac_status); }; }; then
25948   glibcxx_cv_func___builtin_fabsf_link=yes
25949 else
25950   echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.$ac_ext >&5
25952
25953 glibcxx_cv_func___builtin_fabsf_link=no
25954 fi
25955 rm -f conftest.err conftest.$ac_objext \
25956       conftest$ac_exeext conftest.$ac_ext
25957
25958 fi
25959
25960     fi
25961     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25962 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25963
25964     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25965
25966 cat >>confdefs.h <<\_ACEOF
25967 #define HAVE___BUILTIN_FABSF 1
25968 _ACEOF
25969
25970     fi
25971
25972   fi
25973
25974
25975   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25976 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25977   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25978     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25979   echo $ECHO_N "(cached) $ECHO_C" >&6
25980 else
25981
25982
25983
25984       ac_ext=cc
25985 ac_cpp='$CXXCPP $CPPFLAGS'
25986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25989
25990       cat >conftest.$ac_ext <<_ACEOF
25991 /* confdefs.h.  */
25992 _ACEOF
25993 cat confdefs.h >>conftest.$ac_ext
25994 cat >>conftest.$ac_ext <<_ACEOF
25995 /* end confdefs.h.  */
25996 #include <math.h>
25997 int
25998 main ()
25999 {
26000  __builtin_fabs(0);
26001   ;
26002   return 0;
26003 }
26004 _ACEOF
26005 rm -f conftest.$ac_objext
26006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26007   (eval $ac_compile) 2>conftest.er1
26008   ac_status=$?
26009   grep -v '^ *+' conftest.er1 >conftest.err
26010   rm -f conftest.er1
26011   cat conftest.err >&5
26012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013   (exit $ac_status); } &&
26014          { ac_try='test -z "$ac_cxx_werror_flag"
26015                          || test ! -s conftest.err'
26016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017   (eval $ac_try) 2>&5
26018   ac_status=$?
26019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020   (exit $ac_status); }; } &&
26021          { ac_try='test -s conftest.$ac_objext'
26022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26023   (eval $ac_try) 2>&5
26024   ac_status=$?
26025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026   (exit $ac_status); }; }; then
26027   glibcxx_cv_func___builtin_fabs_use=yes
26028 else
26029   echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26031
26032 glibcxx_cv_func___builtin_fabs_use=no
26033 fi
26034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26035       ac_ext=c
26036 ac_cpp='$CPP $CPPFLAGS'
26037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26040
26041
26042 fi
26043
26044   fi
26045   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26046 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26047   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26048     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26049 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26050     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26051       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26052   echo $ECHO_N "(cached) $ECHO_C" >&6
26053 else
26054
26055         if test x$gcc_no_link = xyes; then
26056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26058    { (exit 1); exit 1; }; }
26059 fi
26060 cat >conftest.$ac_ext <<_ACEOF
26061 /* confdefs.h.  */
26062 _ACEOF
26063 cat confdefs.h >>conftest.$ac_ext
26064 cat >>conftest.$ac_ext <<_ACEOF
26065 /* end confdefs.h.  */
26066 #include <math.h>
26067 int
26068 main ()
26069 {
26070  __builtin_fabs(0);
26071   ;
26072   return 0;
26073 }
26074 _ACEOF
26075 rm -f conftest.$ac_objext conftest$ac_exeext
26076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26077   (eval $ac_link) 2>conftest.er1
26078   ac_status=$?
26079   grep -v '^ *+' conftest.er1 >conftest.err
26080   rm -f conftest.er1
26081   cat conftest.err >&5
26082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083   (exit $ac_status); } &&
26084          { ac_try='test -z "$ac_c_werror_flag"
26085                          || test ! -s conftest.err'
26086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26087   (eval $ac_try) 2>&5
26088   ac_status=$?
26089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090   (exit $ac_status); }; } &&
26091          { ac_try='test -s conftest$ac_exeext'
26092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26093   (eval $ac_try) 2>&5
26094   ac_status=$?
26095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096   (exit $ac_status); }; }; then
26097   glibcxx_cv_func___builtin_fabs_link=yes
26098 else
26099   echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.$ac_ext >&5
26101
26102 glibcxx_cv_func___builtin_fabs_link=no
26103 fi
26104 rm -f conftest.err conftest.$ac_objext \
26105       conftest$ac_exeext conftest.$ac_ext
26106
26107 fi
26108
26109     fi
26110     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26111 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26112
26113     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26114
26115 cat >>confdefs.h <<\_ACEOF
26116 #define HAVE___BUILTIN_FABS 1
26117 _ACEOF
26118
26119     fi
26120
26121   fi
26122
26123
26124   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26125 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26126   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26127     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26128   echo $ECHO_N "(cached) $ECHO_C" >&6
26129 else
26130
26131
26132
26133       ac_ext=cc
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26138
26139       cat >conftest.$ac_ext <<_ACEOF
26140 /* confdefs.h.  */
26141 _ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h.  */
26145 #include <math.h>
26146 int
26147 main ()
26148 {
26149  __builtin_fabsl(0);
26150   ;
26151   return 0;
26152 }
26153 _ACEOF
26154 rm -f conftest.$ac_objext
26155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26156   (eval $ac_compile) 2>conftest.er1
26157   ac_status=$?
26158   grep -v '^ *+' conftest.er1 >conftest.err
26159   rm -f conftest.er1
26160   cat conftest.err >&5
26161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162   (exit $ac_status); } &&
26163          { ac_try='test -z "$ac_cxx_werror_flag"
26164                          || test ! -s conftest.err'
26165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26166   (eval $ac_try) 2>&5
26167   ac_status=$?
26168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169   (exit $ac_status); }; } &&
26170          { ac_try='test -s conftest.$ac_objext'
26171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26172   (eval $ac_try) 2>&5
26173   ac_status=$?
26174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175   (exit $ac_status); }; }; then
26176   glibcxx_cv_func___builtin_fabsl_use=yes
26177 else
26178   echo "$as_me: failed program was:" >&5
26179 sed 's/^/| /' conftest.$ac_ext >&5
26180
26181 glibcxx_cv_func___builtin_fabsl_use=no
26182 fi
26183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26184       ac_ext=c
26185 ac_cpp='$CPP $CPPFLAGS'
26186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26189
26190
26191 fi
26192
26193   fi
26194   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26195 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26196   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26197     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26198 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26199     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26200       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26201   echo $ECHO_N "(cached) $ECHO_C" >&6
26202 else
26203
26204         if test x$gcc_no_link = xyes; then
26205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26207    { (exit 1); exit 1; }; }
26208 fi
26209 cat >conftest.$ac_ext <<_ACEOF
26210 /* confdefs.h.  */
26211 _ACEOF
26212 cat confdefs.h >>conftest.$ac_ext
26213 cat >>conftest.$ac_ext <<_ACEOF
26214 /* end confdefs.h.  */
26215 #include <math.h>
26216 int
26217 main ()
26218 {
26219  __builtin_fabsl(0);
26220   ;
26221   return 0;
26222 }
26223 _ACEOF
26224 rm -f conftest.$ac_objext conftest$ac_exeext
26225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26226   (eval $ac_link) 2>conftest.er1
26227   ac_status=$?
26228   grep -v '^ *+' conftest.er1 >conftest.err
26229   rm -f conftest.er1
26230   cat conftest.err >&5
26231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232   (exit $ac_status); } &&
26233          { ac_try='test -z "$ac_c_werror_flag"
26234                          || test ! -s conftest.err'
26235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26236   (eval $ac_try) 2>&5
26237   ac_status=$?
26238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239   (exit $ac_status); }; } &&
26240          { ac_try='test -s conftest$ac_exeext'
26241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26242   (eval $ac_try) 2>&5
26243   ac_status=$?
26244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245   (exit $ac_status); }; }; then
26246   glibcxx_cv_func___builtin_fabsl_link=yes
26247 else
26248   echo "$as_me: failed program was:" >&5
26249 sed 's/^/| /' conftest.$ac_ext >&5
26250
26251 glibcxx_cv_func___builtin_fabsl_link=no
26252 fi
26253 rm -f conftest.err conftest.$ac_objext \
26254       conftest$ac_exeext conftest.$ac_ext
26255
26256 fi
26257
26258     fi
26259     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26260 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26261
26262     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26263
26264 cat >>confdefs.h <<\_ACEOF
26265 #define HAVE___BUILTIN_FABSL 1
26266 _ACEOF
26267
26268     fi
26269
26270   fi
26271
26272
26273   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26274 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26275   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26276     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26277   echo $ECHO_N "(cached) $ECHO_C" >&6
26278 else
26279
26280
26281
26282       ac_ext=cc
26283 ac_cpp='$CXXCPP $CPPFLAGS'
26284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26287
26288       cat >conftest.$ac_ext <<_ACEOF
26289 /* confdefs.h.  */
26290 _ACEOF
26291 cat confdefs.h >>conftest.$ac_ext
26292 cat >>conftest.$ac_ext <<_ACEOF
26293 /* end confdefs.h.  */
26294 #include <math.h>
26295 int
26296 main ()
26297 {
26298  __builtin_labs(0);
26299   ;
26300   return 0;
26301 }
26302 _ACEOF
26303 rm -f conftest.$ac_objext
26304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26305   (eval $ac_compile) 2>conftest.er1
26306   ac_status=$?
26307   grep -v '^ *+' conftest.er1 >conftest.err
26308   rm -f conftest.er1
26309   cat conftest.err >&5
26310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311   (exit $ac_status); } &&
26312          { ac_try='test -z "$ac_cxx_werror_flag"
26313                          || test ! -s conftest.err'
26314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315   (eval $ac_try) 2>&5
26316   ac_status=$?
26317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318   (exit $ac_status); }; } &&
26319          { ac_try='test -s conftest.$ac_objext'
26320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321   (eval $ac_try) 2>&5
26322   ac_status=$?
26323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324   (exit $ac_status); }; }; then
26325   glibcxx_cv_func___builtin_labs_use=yes
26326 else
26327   echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26329
26330 glibcxx_cv_func___builtin_labs_use=no
26331 fi
26332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26333       ac_ext=c
26334 ac_cpp='$CPP $CPPFLAGS'
26335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26338
26339
26340 fi
26341
26342   fi
26343   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26344 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26345   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26346     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26347 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26348     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26349       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26350   echo $ECHO_N "(cached) $ECHO_C" >&6
26351 else
26352
26353         if test x$gcc_no_link = xyes; then
26354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26356    { (exit 1); exit 1; }; }
26357 fi
26358 cat >conftest.$ac_ext <<_ACEOF
26359 /* confdefs.h.  */
26360 _ACEOF
26361 cat confdefs.h >>conftest.$ac_ext
26362 cat >>conftest.$ac_ext <<_ACEOF
26363 /* end confdefs.h.  */
26364 #include <math.h>
26365 int
26366 main ()
26367 {
26368  __builtin_labs(0);
26369   ;
26370   return 0;
26371 }
26372 _ACEOF
26373 rm -f conftest.$ac_objext conftest$ac_exeext
26374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26375   (eval $ac_link) 2>conftest.er1
26376   ac_status=$?
26377   grep -v '^ *+' conftest.er1 >conftest.err
26378   rm -f conftest.er1
26379   cat conftest.err >&5
26380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381   (exit $ac_status); } &&
26382          { ac_try='test -z "$ac_c_werror_flag"
26383                          || test ! -s conftest.err'
26384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26385   (eval $ac_try) 2>&5
26386   ac_status=$?
26387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388   (exit $ac_status); }; } &&
26389          { ac_try='test -s conftest$ac_exeext'
26390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26391   (eval $ac_try) 2>&5
26392   ac_status=$?
26393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26394   (exit $ac_status); }; }; then
26395   glibcxx_cv_func___builtin_labs_link=yes
26396 else
26397   echo "$as_me: failed program was:" >&5
26398 sed 's/^/| /' conftest.$ac_ext >&5
26399
26400 glibcxx_cv_func___builtin_labs_link=no
26401 fi
26402 rm -f conftest.err conftest.$ac_objext \
26403       conftest$ac_exeext conftest.$ac_ext
26404
26405 fi
26406
26407     fi
26408     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26409 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26410
26411     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26412
26413 cat >>confdefs.h <<\_ACEOF
26414 #define HAVE___BUILTIN_LABS 1
26415 _ACEOF
26416
26417     fi
26418
26419   fi
26420
26421
26422
26423   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26424 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26425   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26426     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26427   echo $ECHO_N "(cached) $ECHO_C" >&6
26428 else
26429
26430
26431
26432       ac_ext=cc
26433 ac_cpp='$CXXCPP $CPPFLAGS'
26434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26437
26438       cat >conftest.$ac_ext <<_ACEOF
26439 /* confdefs.h.  */
26440 _ACEOF
26441 cat confdefs.h >>conftest.$ac_ext
26442 cat >>conftest.$ac_ext <<_ACEOF
26443 /* end confdefs.h.  */
26444 #include <math.h>
26445 int
26446 main ()
26447 {
26448  __builtin_sqrtf(0);
26449   ;
26450   return 0;
26451 }
26452 _ACEOF
26453 rm -f conftest.$ac_objext
26454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26455   (eval $ac_compile) 2>conftest.er1
26456   ac_status=$?
26457   grep -v '^ *+' conftest.er1 >conftest.err
26458   rm -f conftest.er1
26459   cat conftest.err >&5
26460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461   (exit $ac_status); } &&
26462          { ac_try='test -z "$ac_cxx_werror_flag"
26463                          || test ! -s conftest.err'
26464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26465   (eval $ac_try) 2>&5
26466   ac_status=$?
26467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468   (exit $ac_status); }; } &&
26469          { ac_try='test -s conftest.$ac_objext'
26470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26471   (eval $ac_try) 2>&5
26472   ac_status=$?
26473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474   (exit $ac_status); }; }; then
26475   glibcxx_cv_func___builtin_sqrtf_use=yes
26476 else
26477   echo "$as_me: failed program was:" >&5
26478 sed 's/^/| /' conftest.$ac_ext >&5
26479
26480 glibcxx_cv_func___builtin_sqrtf_use=no
26481 fi
26482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26483       ac_ext=c
26484 ac_cpp='$CPP $CPPFLAGS'
26485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26488
26489
26490 fi
26491
26492   fi
26493   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26494 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26495   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26496     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26497 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26498     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26499       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26500   echo $ECHO_N "(cached) $ECHO_C" >&6
26501 else
26502
26503         if test x$gcc_no_link = xyes; then
26504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26506    { (exit 1); exit 1; }; }
26507 fi
26508 cat >conftest.$ac_ext <<_ACEOF
26509 /* confdefs.h.  */
26510 _ACEOF
26511 cat confdefs.h >>conftest.$ac_ext
26512 cat >>conftest.$ac_ext <<_ACEOF
26513 /* end confdefs.h.  */
26514 #include <math.h>
26515 int
26516 main ()
26517 {
26518  __builtin_sqrtf(0);
26519   ;
26520   return 0;
26521 }
26522 _ACEOF
26523 rm -f conftest.$ac_objext conftest$ac_exeext
26524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26525   (eval $ac_link) 2>conftest.er1
26526   ac_status=$?
26527   grep -v '^ *+' conftest.er1 >conftest.err
26528   rm -f conftest.er1
26529   cat conftest.err >&5
26530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531   (exit $ac_status); } &&
26532          { ac_try='test -z "$ac_c_werror_flag"
26533                          || test ! -s conftest.err'
26534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535   (eval $ac_try) 2>&5
26536   ac_status=$?
26537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538   (exit $ac_status); }; } &&
26539          { ac_try='test -s conftest$ac_exeext'
26540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26541   (eval $ac_try) 2>&5
26542   ac_status=$?
26543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26544   (exit $ac_status); }; }; then
26545   glibcxx_cv_func___builtin_sqrtf_link=yes
26546 else
26547   echo "$as_me: failed program was:" >&5
26548 sed 's/^/| /' conftest.$ac_ext >&5
26549
26550 glibcxx_cv_func___builtin_sqrtf_link=no
26551 fi
26552 rm -f conftest.err conftest.$ac_objext \
26553       conftest$ac_exeext conftest.$ac_ext
26554
26555 fi
26556
26557     fi
26558     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26559 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26560
26561     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26562
26563 cat >>confdefs.h <<\_ACEOF
26564 #define HAVE___BUILTIN_SQRTF 1
26565 _ACEOF
26566
26567     fi
26568
26569   fi
26570
26571
26572   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26573 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26574   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26575     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26576   echo $ECHO_N "(cached) $ECHO_C" >&6
26577 else
26578
26579
26580
26581       ac_ext=cc
26582 ac_cpp='$CXXCPP $CPPFLAGS'
26583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26586
26587       cat >conftest.$ac_ext <<_ACEOF
26588 /* confdefs.h.  */
26589 _ACEOF
26590 cat confdefs.h >>conftest.$ac_ext
26591 cat >>conftest.$ac_ext <<_ACEOF
26592 /* end confdefs.h.  */
26593 #include <math.h>
26594 int
26595 main ()
26596 {
26597  __builtin_sqrt(0);
26598   ;
26599   return 0;
26600 }
26601 _ACEOF
26602 rm -f conftest.$ac_objext
26603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26604   (eval $ac_compile) 2>conftest.er1
26605   ac_status=$?
26606   grep -v '^ *+' conftest.er1 >conftest.err
26607   rm -f conftest.er1
26608   cat conftest.err >&5
26609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610   (exit $ac_status); } &&
26611          { ac_try='test -z "$ac_cxx_werror_flag"
26612                          || test ! -s conftest.err'
26613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614   (eval $ac_try) 2>&5
26615   ac_status=$?
26616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617   (exit $ac_status); }; } &&
26618          { ac_try='test -s conftest.$ac_objext'
26619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620   (eval $ac_try) 2>&5
26621   ac_status=$?
26622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623   (exit $ac_status); }; }; then
26624   glibcxx_cv_func___builtin_sqrt_use=yes
26625 else
26626   echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.$ac_ext >&5
26628
26629 glibcxx_cv_func___builtin_sqrt_use=no
26630 fi
26631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26632       ac_ext=c
26633 ac_cpp='$CPP $CPPFLAGS'
26634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26637
26638
26639 fi
26640
26641   fi
26642   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26643 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26644   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26645     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26646 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26647     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26648       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26649   echo $ECHO_N "(cached) $ECHO_C" >&6
26650 else
26651
26652         if test x$gcc_no_link = xyes; then
26653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26655    { (exit 1); exit 1; }; }
26656 fi
26657 cat >conftest.$ac_ext <<_ACEOF
26658 /* confdefs.h.  */
26659 _ACEOF
26660 cat confdefs.h >>conftest.$ac_ext
26661 cat >>conftest.$ac_ext <<_ACEOF
26662 /* end confdefs.h.  */
26663 #include <math.h>
26664 int
26665 main ()
26666 {
26667  __builtin_sqrt(0);
26668   ;
26669   return 0;
26670 }
26671 _ACEOF
26672 rm -f conftest.$ac_objext conftest$ac_exeext
26673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26674   (eval $ac_link) 2>conftest.er1
26675   ac_status=$?
26676   grep -v '^ *+' conftest.er1 >conftest.err
26677   rm -f conftest.er1
26678   cat conftest.err >&5
26679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680   (exit $ac_status); } &&
26681          { ac_try='test -z "$ac_c_werror_flag"
26682                          || test ! -s conftest.err'
26683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26684   (eval $ac_try) 2>&5
26685   ac_status=$?
26686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687   (exit $ac_status); }; } &&
26688          { ac_try='test -s conftest$ac_exeext'
26689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690   (eval $ac_try) 2>&5
26691   ac_status=$?
26692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693   (exit $ac_status); }; }; then
26694   glibcxx_cv_func___builtin_sqrt_link=yes
26695 else
26696   echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.$ac_ext >&5
26698
26699 glibcxx_cv_func___builtin_sqrt_link=no
26700 fi
26701 rm -f conftest.err conftest.$ac_objext \
26702       conftest$ac_exeext conftest.$ac_ext
26703
26704 fi
26705
26706     fi
26707     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26708 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26709
26710     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26711
26712 cat >>confdefs.h <<\_ACEOF
26713 #define HAVE___BUILTIN_SQRT 1
26714 _ACEOF
26715
26716     fi
26717
26718   fi
26719
26720
26721   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26722 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26723   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26724     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26725   echo $ECHO_N "(cached) $ECHO_C" >&6
26726 else
26727
26728
26729
26730       ac_ext=cc
26731 ac_cpp='$CXXCPP $CPPFLAGS'
26732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26735
26736       cat >conftest.$ac_ext <<_ACEOF
26737 /* confdefs.h.  */
26738 _ACEOF
26739 cat confdefs.h >>conftest.$ac_ext
26740 cat >>conftest.$ac_ext <<_ACEOF
26741 /* end confdefs.h.  */
26742 #include <math.h>
26743 int
26744 main ()
26745 {
26746  __builtin_sqrtl(0);
26747   ;
26748   return 0;
26749 }
26750 _ACEOF
26751 rm -f conftest.$ac_objext
26752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26753   (eval $ac_compile) 2>conftest.er1
26754   ac_status=$?
26755   grep -v '^ *+' conftest.er1 >conftest.err
26756   rm -f conftest.er1
26757   cat conftest.err >&5
26758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759   (exit $ac_status); } &&
26760          { ac_try='test -z "$ac_cxx_werror_flag"
26761                          || test ! -s conftest.err'
26762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26763   (eval $ac_try) 2>&5
26764   ac_status=$?
26765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26766   (exit $ac_status); }; } &&
26767          { ac_try='test -s conftest.$ac_objext'
26768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26769   (eval $ac_try) 2>&5
26770   ac_status=$?
26771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772   (exit $ac_status); }; }; then
26773   glibcxx_cv_func___builtin_sqrtl_use=yes
26774 else
26775   echo "$as_me: failed program was:" >&5
26776 sed 's/^/| /' conftest.$ac_ext >&5
26777
26778 glibcxx_cv_func___builtin_sqrtl_use=no
26779 fi
26780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26781       ac_ext=c
26782 ac_cpp='$CPP $CPPFLAGS'
26783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26786
26787
26788 fi
26789
26790   fi
26791   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26792 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26793   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26794     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26795 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26796     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26797       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26798   echo $ECHO_N "(cached) $ECHO_C" >&6
26799 else
26800
26801         if test x$gcc_no_link = xyes; then
26802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26804    { (exit 1); exit 1; }; }
26805 fi
26806 cat >conftest.$ac_ext <<_ACEOF
26807 /* confdefs.h.  */
26808 _ACEOF
26809 cat confdefs.h >>conftest.$ac_ext
26810 cat >>conftest.$ac_ext <<_ACEOF
26811 /* end confdefs.h.  */
26812 #include <math.h>
26813 int
26814 main ()
26815 {
26816  __builtin_sqrtl(0);
26817   ;
26818   return 0;
26819 }
26820 _ACEOF
26821 rm -f conftest.$ac_objext conftest$ac_exeext
26822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26823   (eval $ac_link) 2>conftest.er1
26824   ac_status=$?
26825   grep -v '^ *+' conftest.er1 >conftest.err
26826   rm -f conftest.er1
26827   cat conftest.err >&5
26828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829   (exit $ac_status); } &&
26830          { ac_try='test -z "$ac_c_werror_flag"
26831                          || test ! -s conftest.err'
26832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833   (eval $ac_try) 2>&5
26834   ac_status=$?
26835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836   (exit $ac_status); }; } &&
26837          { ac_try='test -s conftest$ac_exeext'
26838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26839   (eval $ac_try) 2>&5
26840   ac_status=$?
26841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842   (exit $ac_status); }; }; then
26843   glibcxx_cv_func___builtin_sqrtl_link=yes
26844 else
26845   echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26847
26848 glibcxx_cv_func___builtin_sqrtl_link=no
26849 fi
26850 rm -f conftest.err conftest.$ac_objext \
26851       conftest$ac_exeext conftest.$ac_ext
26852
26853 fi
26854
26855     fi
26856     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26857 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26858
26859     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26860
26861 cat >>confdefs.h <<\_ACEOF
26862 #define HAVE___BUILTIN_SQRTL 1
26863 _ACEOF
26864
26865     fi
26866
26867   fi
26868
26869
26870
26871   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26872 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26873   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26874     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26875   echo $ECHO_N "(cached) $ECHO_C" >&6
26876 else
26877
26878
26879
26880       ac_ext=cc
26881 ac_cpp='$CXXCPP $CPPFLAGS'
26882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26885
26886       cat >conftest.$ac_ext <<_ACEOF
26887 /* confdefs.h.  */
26888 _ACEOF
26889 cat confdefs.h >>conftest.$ac_ext
26890 cat >>conftest.$ac_ext <<_ACEOF
26891 /* end confdefs.h.  */
26892 #include <math.h>
26893 int
26894 main ()
26895 {
26896  __builtin_sinf(0);
26897   ;
26898   return 0;
26899 }
26900 _ACEOF
26901 rm -f conftest.$ac_objext
26902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26903   (eval $ac_compile) 2>conftest.er1
26904   ac_status=$?
26905   grep -v '^ *+' conftest.er1 >conftest.err
26906   rm -f conftest.er1
26907   cat conftest.err >&5
26908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909   (exit $ac_status); } &&
26910          { ac_try='test -z "$ac_cxx_werror_flag"
26911                          || test ! -s conftest.err'
26912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26913   (eval $ac_try) 2>&5
26914   ac_status=$?
26915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26916   (exit $ac_status); }; } &&
26917          { ac_try='test -s conftest.$ac_objext'
26918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26919   (eval $ac_try) 2>&5
26920   ac_status=$?
26921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26922   (exit $ac_status); }; }; then
26923   glibcxx_cv_func___builtin_sinf_use=yes
26924 else
26925   echo "$as_me: failed program was:" >&5
26926 sed 's/^/| /' conftest.$ac_ext >&5
26927
26928 glibcxx_cv_func___builtin_sinf_use=no
26929 fi
26930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26931       ac_ext=c
26932 ac_cpp='$CPP $CPPFLAGS'
26933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26936
26937
26938 fi
26939
26940   fi
26941   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26942 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26943   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26944     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26945 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26946     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26947       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26948   echo $ECHO_N "(cached) $ECHO_C" >&6
26949 else
26950
26951         if test x$gcc_no_link = xyes; then
26952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26954    { (exit 1); exit 1; }; }
26955 fi
26956 cat >conftest.$ac_ext <<_ACEOF
26957 /* confdefs.h.  */
26958 _ACEOF
26959 cat confdefs.h >>conftest.$ac_ext
26960 cat >>conftest.$ac_ext <<_ACEOF
26961 /* end confdefs.h.  */
26962 #include <math.h>
26963 int
26964 main ()
26965 {
26966  __builtin_sinf(0);
26967   ;
26968   return 0;
26969 }
26970 _ACEOF
26971 rm -f conftest.$ac_objext conftest$ac_exeext
26972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26973   (eval $ac_link) 2>conftest.er1
26974   ac_status=$?
26975   grep -v '^ *+' conftest.er1 >conftest.err
26976   rm -f conftest.er1
26977   cat conftest.err >&5
26978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979   (exit $ac_status); } &&
26980          { ac_try='test -z "$ac_c_werror_flag"
26981                          || test ! -s conftest.err'
26982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983   (eval $ac_try) 2>&5
26984   ac_status=$?
26985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986   (exit $ac_status); }; } &&
26987          { ac_try='test -s conftest$ac_exeext'
26988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989   (eval $ac_try) 2>&5
26990   ac_status=$?
26991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992   (exit $ac_status); }; }; then
26993   glibcxx_cv_func___builtin_sinf_link=yes
26994 else
26995   echo "$as_me: failed program was:" >&5
26996 sed 's/^/| /' conftest.$ac_ext >&5
26997
26998 glibcxx_cv_func___builtin_sinf_link=no
26999 fi
27000 rm -f conftest.err conftest.$ac_objext \
27001       conftest$ac_exeext conftest.$ac_ext
27002
27003 fi
27004
27005     fi
27006     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27007 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27008
27009     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27010
27011 cat >>confdefs.h <<\_ACEOF
27012 #define HAVE___BUILTIN_SINF 1
27013 _ACEOF
27014
27015     fi
27016
27017   fi
27018
27019
27020   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27021 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27022   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27023     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27024   echo $ECHO_N "(cached) $ECHO_C" >&6
27025 else
27026
27027
27028
27029       ac_ext=cc
27030 ac_cpp='$CXXCPP $CPPFLAGS'
27031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27034
27035       cat >conftest.$ac_ext <<_ACEOF
27036 /* confdefs.h.  */
27037 _ACEOF
27038 cat confdefs.h >>conftest.$ac_ext
27039 cat >>conftest.$ac_ext <<_ACEOF
27040 /* end confdefs.h.  */
27041 #include <math.h>
27042 int
27043 main ()
27044 {
27045  __builtin_sin(0);
27046   ;
27047   return 0;
27048 }
27049 _ACEOF
27050 rm -f conftest.$ac_objext
27051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27052   (eval $ac_compile) 2>conftest.er1
27053   ac_status=$?
27054   grep -v '^ *+' conftest.er1 >conftest.err
27055   rm -f conftest.er1
27056   cat conftest.err >&5
27057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058   (exit $ac_status); } &&
27059          { ac_try='test -z "$ac_cxx_werror_flag"
27060                          || test ! -s conftest.err'
27061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27062   (eval $ac_try) 2>&5
27063   ac_status=$?
27064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065   (exit $ac_status); }; } &&
27066          { ac_try='test -s conftest.$ac_objext'
27067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068   (eval $ac_try) 2>&5
27069   ac_status=$?
27070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071   (exit $ac_status); }; }; then
27072   glibcxx_cv_func___builtin_sin_use=yes
27073 else
27074   echo "$as_me: failed program was:" >&5
27075 sed 's/^/| /' conftest.$ac_ext >&5
27076
27077 glibcxx_cv_func___builtin_sin_use=no
27078 fi
27079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27080       ac_ext=c
27081 ac_cpp='$CPP $CPPFLAGS'
27082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27085
27086
27087 fi
27088
27089   fi
27090   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27091 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27092   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27093     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27094 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27095     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27096       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27097   echo $ECHO_N "(cached) $ECHO_C" >&6
27098 else
27099
27100         if test x$gcc_no_link = xyes; then
27101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27103    { (exit 1); exit 1; }; }
27104 fi
27105 cat >conftest.$ac_ext <<_ACEOF
27106 /* confdefs.h.  */
27107 _ACEOF
27108 cat confdefs.h >>conftest.$ac_ext
27109 cat >>conftest.$ac_ext <<_ACEOF
27110 /* end confdefs.h.  */
27111 #include <math.h>
27112 int
27113 main ()
27114 {
27115  __builtin_sin(0);
27116   ;
27117   return 0;
27118 }
27119 _ACEOF
27120 rm -f conftest.$ac_objext conftest$ac_exeext
27121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27122   (eval $ac_link) 2>conftest.er1
27123   ac_status=$?
27124   grep -v '^ *+' conftest.er1 >conftest.err
27125   rm -f conftest.er1
27126   cat conftest.err >&5
27127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128   (exit $ac_status); } &&
27129          { ac_try='test -z "$ac_c_werror_flag"
27130                          || test ! -s conftest.err'
27131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27132   (eval $ac_try) 2>&5
27133   ac_status=$?
27134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135   (exit $ac_status); }; } &&
27136          { ac_try='test -s conftest$ac_exeext'
27137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27138   (eval $ac_try) 2>&5
27139   ac_status=$?
27140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141   (exit $ac_status); }; }; then
27142   glibcxx_cv_func___builtin_sin_link=yes
27143 else
27144   echo "$as_me: failed program was:" >&5
27145 sed 's/^/| /' conftest.$ac_ext >&5
27146
27147 glibcxx_cv_func___builtin_sin_link=no
27148 fi
27149 rm -f conftest.err conftest.$ac_objext \
27150       conftest$ac_exeext conftest.$ac_ext
27151
27152 fi
27153
27154     fi
27155     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27156 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27157
27158     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27159
27160 cat >>confdefs.h <<\_ACEOF
27161 #define HAVE___BUILTIN_SIN 1
27162 _ACEOF
27163
27164     fi
27165
27166   fi
27167
27168
27169   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27170 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27171   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27172     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27173   echo $ECHO_N "(cached) $ECHO_C" >&6
27174 else
27175
27176
27177
27178       ac_ext=cc
27179 ac_cpp='$CXXCPP $CPPFLAGS'
27180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27183
27184       cat >conftest.$ac_ext <<_ACEOF
27185 /* confdefs.h.  */
27186 _ACEOF
27187 cat confdefs.h >>conftest.$ac_ext
27188 cat >>conftest.$ac_ext <<_ACEOF
27189 /* end confdefs.h.  */
27190 #include <math.h>
27191 int
27192 main ()
27193 {
27194  __builtin_sinl(0);
27195   ;
27196   return 0;
27197 }
27198 _ACEOF
27199 rm -f conftest.$ac_objext
27200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27201   (eval $ac_compile) 2>conftest.er1
27202   ac_status=$?
27203   grep -v '^ *+' conftest.er1 >conftest.err
27204   rm -f conftest.er1
27205   cat conftest.err >&5
27206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207   (exit $ac_status); } &&
27208          { ac_try='test -z "$ac_cxx_werror_flag"
27209                          || test ! -s conftest.err'
27210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211   (eval $ac_try) 2>&5
27212   ac_status=$?
27213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214   (exit $ac_status); }; } &&
27215          { ac_try='test -s conftest.$ac_objext'
27216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217   (eval $ac_try) 2>&5
27218   ac_status=$?
27219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220   (exit $ac_status); }; }; then
27221   glibcxx_cv_func___builtin_sinl_use=yes
27222 else
27223   echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27225
27226 glibcxx_cv_func___builtin_sinl_use=no
27227 fi
27228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27229       ac_ext=c
27230 ac_cpp='$CPP $CPPFLAGS'
27231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27234
27235
27236 fi
27237
27238   fi
27239   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27240 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27241   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27242     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27243 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27244     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27245       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27246   echo $ECHO_N "(cached) $ECHO_C" >&6
27247 else
27248
27249         if test x$gcc_no_link = xyes; then
27250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27252    { (exit 1); exit 1; }; }
27253 fi
27254 cat >conftest.$ac_ext <<_ACEOF
27255 /* confdefs.h.  */
27256 _ACEOF
27257 cat confdefs.h >>conftest.$ac_ext
27258 cat >>conftest.$ac_ext <<_ACEOF
27259 /* end confdefs.h.  */
27260 #include <math.h>
27261 int
27262 main ()
27263 {
27264  __builtin_sinl(0);
27265   ;
27266   return 0;
27267 }
27268 _ACEOF
27269 rm -f conftest.$ac_objext conftest$ac_exeext
27270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27271   (eval $ac_link) 2>conftest.er1
27272   ac_status=$?
27273   grep -v '^ *+' conftest.er1 >conftest.err
27274   rm -f conftest.er1
27275   cat conftest.err >&5
27276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277   (exit $ac_status); } &&
27278          { ac_try='test -z "$ac_c_werror_flag"
27279                          || test ! -s conftest.err'
27280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27281   (eval $ac_try) 2>&5
27282   ac_status=$?
27283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284   (exit $ac_status); }; } &&
27285          { ac_try='test -s conftest$ac_exeext'
27286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27287   (eval $ac_try) 2>&5
27288   ac_status=$?
27289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290   (exit $ac_status); }; }; then
27291   glibcxx_cv_func___builtin_sinl_link=yes
27292 else
27293   echo "$as_me: failed program was:" >&5
27294 sed 's/^/| /' conftest.$ac_ext >&5
27295
27296 glibcxx_cv_func___builtin_sinl_link=no
27297 fi
27298 rm -f conftest.err conftest.$ac_objext \
27299       conftest$ac_exeext conftest.$ac_ext
27300
27301 fi
27302
27303     fi
27304     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27305 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27306
27307     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27308
27309 cat >>confdefs.h <<\_ACEOF
27310 #define HAVE___BUILTIN_SINL 1
27311 _ACEOF
27312
27313     fi
27314
27315   fi
27316
27317
27318
27319   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27320 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27321   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27322     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27323   echo $ECHO_N "(cached) $ECHO_C" >&6
27324 else
27325
27326
27327
27328       ac_ext=cc
27329 ac_cpp='$CXXCPP $CPPFLAGS'
27330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27333
27334       cat >conftest.$ac_ext <<_ACEOF
27335 /* confdefs.h.  */
27336 _ACEOF
27337 cat confdefs.h >>conftest.$ac_ext
27338 cat >>conftest.$ac_ext <<_ACEOF
27339 /* end confdefs.h.  */
27340 #include <math.h>
27341 int
27342 main ()
27343 {
27344  __builtin_cosf(0);
27345   ;
27346   return 0;
27347 }
27348 _ACEOF
27349 rm -f conftest.$ac_objext
27350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27351   (eval $ac_compile) 2>conftest.er1
27352   ac_status=$?
27353   grep -v '^ *+' conftest.er1 >conftest.err
27354   rm -f conftest.er1
27355   cat conftest.err >&5
27356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357   (exit $ac_status); } &&
27358          { ac_try='test -z "$ac_cxx_werror_flag"
27359                          || test ! -s conftest.err'
27360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27361   (eval $ac_try) 2>&5
27362   ac_status=$?
27363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27364   (exit $ac_status); }; } &&
27365          { ac_try='test -s conftest.$ac_objext'
27366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27367   (eval $ac_try) 2>&5
27368   ac_status=$?
27369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370   (exit $ac_status); }; }; then
27371   glibcxx_cv_func___builtin_cosf_use=yes
27372 else
27373   echo "$as_me: failed program was:" >&5
27374 sed 's/^/| /' conftest.$ac_ext >&5
27375
27376 glibcxx_cv_func___builtin_cosf_use=no
27377 fi
27378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27379       ac_ext=c
27380 ac_cpp='$CPP $CPPFLAGS'
27381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27384
27385
27386 fi
27387
27388   fi
27389   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27390 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27391   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27392     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27393 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27394     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27395       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27396   echo $ECHO_N "(cached) $ECHO_C" >&6
27397 else
27398
27399         if test x$gcc_no_link = xyes; then
27400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27402    { (exit 1); exit 1; }; }
27403 fi
27404 cat >conftest.$ac_ext <<_ACEOF
27405 /* confdefs.h.  */
27406 _ACEOF
27407 cat confdefs.h >>conftest.$ac_ext
27408 cat >>conftest.$ac_ext <<_ACEOF
27409 /* end confdefs.h.  */
27410 #include <math.h>
27411 int
27412 main ()
27413 {
27414  __builtin_cosf(0);
27415   ;
27416   return 0;
27417 }
27418 _ACEOF
27419 rm -f conftest.$ac_objext conftest$ac_exeext
27420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27421   (eval $ac_link) 2>conftest.er1
27422   ac_status=$?
27423   grep -v '^ *+' conftest.er1 >conftest.err
27424   rm -f conftest.er1
27425   cat conftest.err >&5
27426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427   (exit $ac_status); } &&
27428          { ac_try='test -z "$ac_c_werror_flag"
27429                          || test ! -s conftest.err'
27430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27431   (eval $ac_try) 2>&5
27432   ac_status=$?
27433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434   (exit $ac_status); }; } &&
27435          { ac_try='test -s conftest$ac_exeext'
27436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27437   (eval $ac_try) 2>&5
27438   ac_status=$?
27439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440   (exit $ac_status); }; }; then
27441   glibcxx_cv_func___builtin_cosf_link=yes
27442 else
27443   echo "$as_me: failed program was:" >&5
27444 sed 's/^/| /' conftest.$ac_ext >&5
27445
27446 glibcxx_cv_func___builtin_cosf_link=no
27447 fi
27448 rm -f conftest.err conftest.$ac_objext \
27449       conftest$ac_exeext conftest.$ac_ext
27450
27451 fi
27452
27453     fi
27454     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27455 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27456
27457     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27458
27459 cat >>confdefs.h <<\_ACEOF
27460 #define HAVE___BUILTIN_COSF 1
27461 _ACEOF
27462
27463     fi
27464
27465   fi
27466
27467
27468   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27469 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27470   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27471     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27472   echo $ECHO_N "(cached) $ECHO_C" >&6
27473 else
27474
27475
27476
27477       ac_ext=cc
27478 ac_cpp='$CXXCPP $CPPFLAGS'
27479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27482
27483       cat >conftest.$ac_ext <<_ACEOF
27484 /* confdefs.h.  */
27485 _ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h.  */
27489 #include <math.h>
27490 int
27491 main ()
27492 {
27493  __builtin_cos(0);
27494   ;
27495   return 0;
27496 }
27497 _ACEOF
27498 rm -f conftest.$ac_objext
27499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27500   (eval $ac_compile) 2>conftest.er1
27501   ac_status=$?
27502   grep -v '^ *+' conftest.er1 >conftest.err
27503   rm -f conftest.er1
27504   cat conftest.err >&5
27505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506   (exit $ac_status); } &&
27507          { ac_try='test -z "$ac_cxx_werror_flag"
27508                          || test ! -s conftest.err'
27509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27510   (eval $ac_try) 2>&5
27511   ac_status=$?
27512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513   (exit $ac_status); }; } &&
27514          { ac_try='test -s conftest.$ac_objext'
27515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516   (eval $ac_try) 2>&5
27517   ac_status=$?
27518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519   (exit $ac_status); }; }; then
27520   glibcxx_cv_func___builtin_cos_use=yes
27521 else
27522   echo "$as_me: failed program was:" >&5
27523 sed 's/^/| /' conftest.$ac_ext >&5
27524
27525 glibcxx_cv_func___builtin_cos_use=no
27526 fi
27527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27528       ac_ext=c
27529 ac_cpp='$CPP $CPPFLAGS'
27530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27533
27534
27535 fi
27536
27537   fi
27538   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27539 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27540   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27541     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27542 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27543     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27544       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27545   echo $ECHO_N "(cached) $ECHO_C" >&6
27546 else
27547
27548         if test x$gcc_no_link = xyes; then
27549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27551    { (exit 1); exit 1; }; }
27552 fi
27553 cat >conftest.$ac_ext <<_ACEOF
27554 /* confdefs.h.  */
27555 _ACEOF
27556 cat confdefs.h >>conftest.$ac_ext
27557 cat >>conftest.$ac_ext <<_ACEOF
27558 /* end confdefs.h.  */
27559 #include <math.h>
27560 int
27561 main ()
27562 {
27563  __builtin_cos(0);
27564   ;
27565   return 0;
27566 }
27567 _ACEOF
27568 rm -f conftest.$ac_objext conftest$ac_exeext
27569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27570   (eval $ac_link) 2>conftest.er1
27571   ac_status=$?
27572   grep -v '^ *+' conftest.er1 >conftest.err
27573   rm -f conftest.er1
27574   cat conftest.err >&5
27575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27576   (exit $ac_status); } &&
27577          { ac_try='test -z "$ac_c_werror_flag"
27578                          || test ! -s conftest.err'
27579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27580   (eval $ac_try) 2>&5
27581   ac_status=$?
27582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583   (exit $ac_status); }; } &&
27584          { ac_try='test -s conftest$ac_exeext'
27585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27586   (eval $ac_try) 2>&5
27587   ac_status=$?
27588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589   (exit $ac_status); }; }; then
27590   glibcxx_cv_func___builtin_cos_link=yes
27591 else
27592   echo "$as_me: failed program was:" >&5
27593 sed 's/^/| /' conftest.$ac_ext >&5
27594
27595 glibcxx_cv_func___builtin_cos_link=no
27596 fi
27597 rm -f conftest.err conftest.$ac_objext \
27598       conftest$ac_exeext conftest.$ac_ext
27599
27600 fi
27601
27602     fi
27603     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27604 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27605
27606     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27607
27608 cat >>confdefs.h <<\_ACEOF
27609 #define HAVE___BUILTIN_COS 1
27610 _ACEOF
27611
27612     fi
27613
27614   fi
27615
27616
27617   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27618 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27619   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27620     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27621   echo $ECHO_N "(cached) $ECHO_C" >&6
27622 else
27623
27624
27625
27626       ac_ext=cc
27627 ac_cpp='$CXXCPP $CPPFLAGS'
27628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27631
27632       cat >conftest.$ac_ext <<_ACEOF
27633 /* confdefs.h.  */
27634 _ACEOF
27635 cat confdefs.h >>conftest.$ac_ext
27636 cat >>conftest.$ac_ext <<_ACEOF
27637 /* end confdefs.h.  */
27638 #include <math.h>
27639 int
27640 main ()
27641 {
27642  __builtin_cosl(0);
27643   ;
27644   return 0;
27645 }
27646 _ACEOF
27647 rm -f conftest.$ac_objext
27648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27649   (eval $ac_compile) 2>conftest.er1
27650   ac_status=$?
27651   grep -v '^ *+' conftest.er1 >conftest.err
27652   rm -f conftest.er1
27653   cat conftest.err >&5
27654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655   (exit $ac_status); } &&
27656          { ac_try='test -z "$ac_cxx_werror_flag"
27657                          || test ! -s conftest.err'
27658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659   (eval $ac_try) 2>&5
27660   ac_status=$?
27661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662   (exit $ac_status); }; } &&
27663          { ac_try='test -s conftest.$ac_objext'
27664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27665   (eval $ac_try) 2>&5
27666   ac_status=$?
27667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668   (exit $ac_status); }; }; then
27669   glibcxx_cv_func___builtin_cosl_use=yes
27670 else
27671   echo "$as_me: failed program was:" >&5
27672 sed 's/^/| /' conftest.$ac_ext >&5
27673
27674 glibcxx_cv_func___builtin_cosl_use=no
27675 fi
27676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27677       ac_ext=c
27678 ac_cpp='$CPP $CPPFLAGS'
27679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27682
27683
27684 fi
27685
27686   fi
27687   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27688 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27689   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27690     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27691 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27692     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27693       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27694   echo $ECHO_N "(cached) $ECHO_C" >&6
27695 else
27696
27697         if test x$gcc_no_link = xyes; then
27698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27700    { (exit 1); exit 1; }; }
27701 fi
27702 cat >conftest.$ac_ext <<_ACEOF
27703 /* confdefs.h.  */
27704 _ACEOF
27705 cat confdefs.h >>conftest.$ac_ext
27706 cat >>conftest.$ac_ext <<_ACEOF
27707 /* end confdefs.h.  */
27708 #include <math.h>
27709 int
27710 main ()
27711 {
27712  __builtin_cosl(0);
27713   ;
27714   return 0;
27715 }
27716 _ACEOF
27717 rm -f conftest.$ac_objext conftest$ac_exeext
27718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27719   (eval $ac_link) 2>conftest.er1
27720   ac_status=$?
27721   grep -v '^ *+' conftest.er1 >conftest.err
27722   rm -f conftest.er1
27723   cat conftest.err >&5
27724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27725   (exit $ac_status); } &&
27726          { ac_try='test -z "$ac_c_werror_flag"
27727                          || test ! -s conftest.err'
27728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729   (eval $ac_try) 2>&5
27730   ac_status=$?
27731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732   (exit $ac_status); }; } &&
27733          { ac_try='test -s conftest$ac_exeext'
27734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27735   (eval $ac_try) 2>&5
27736   ac_status=$?
27737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738   (exit $ac_status); }; }; then
27739   glibcxx_cv_func___builtin_cosl_link=yes
27740 else
27741   echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27743
27744 glibcxx_cv_func___builtin_cosl_link=no
27745 fi
27746 rm -f conftest.err conftest.$ac_objext \
27747       conftest$ac_exeext conftest.$ac_ext
27748
27749 fi
27750
27751     fi
27752     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27753 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27754
27755     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27756
27757 cat >>confdefs.h <<\_ACEOF
27758 #define HAVE___BUILTIN_COSL 1
27759 _ACEOF
27760
27761     fi
27762
27763   fi
27764
27765
27766
27767
27768 echo "$as_me:$LINENO: checking for main in -lm" >&5
27769 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27770 if test "${ac_cv_lib_m_main+set}" = set; then
27771   echo $ECHO_N "(cached) $ECHO_C" >&6
27772 else
27773   ac_check_lib_save_LIBS=$LIBS
27774 LIBS="-lm  $LIBS"
27775 if test x$gcc_no_link = xyes; then
27776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27778    { (exit 1); exit 1; }; }
27779 fi
27780 cat >conftest.$ac_ext <<_ACEOF
27781 /* confdefs.h.  */
27782 _ACEOF
27783 cat confdefs.h >>conftest.$ac_ext
27784 cat >>conftest.$ac_ext <<_ACEOF
27785 /* end confdefs.h.  */
27786
27787
27788 int
27789 main ()
27790 {
27791 main ();
27792   ;
27793   return 0;
27794 }
27795 _ACEOF
27796 rm -f conftest.$ac_objext conftest$ac_exeext
27797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27798   (eval $ac_link) 2>conftest.er1
27799   ac_status=$?
27800   grep -v '^ *+' conftest.er1 >conftest.err
27801   rm -f conftest.er1
27802   cat conftest.err >&5
27803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804   (exit $ac_status); } &&
27805          { ac_try='test -z "$ac_c_werror_flag"
27806                          || test ! -s conftest.err'
27807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27808   (eval $ac_try) 2>&5
27809   ac_status=$?
27810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811   (exit $ac_status); }; } &&
27812          { ac_try='test -s conftest$ac_exeext'
27813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27814   (eval $ac_try) 2>&5
27815   ac_status=$?
27816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817   (exit $ac_status); }; }; then
27818   ac_cv_lib_m_main=yes
27819 else
27820   echo "$as_me: failed program was:" >&5
27821 sed 's/^/| /' conftest.$ac_ext >&5
27822
27823 ac_cv_lib_m_main=no
27824 fi
27825 rm -f conftest.err conftest.$ac_objext \
27826       conftest$ac_exeext conftest.$ac_ext
27827 LIBS=$ac_check_lib_save_LIBS
27828 fi
27829 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27830 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27831 if test $ac_cv_lib_m_main = yes; then
27832   cat >>confdefs.h <<_ACEOF
27833 #define HAVE_LIBM 1
27834 _ACEOF
27835
27836   LIBS="-lm $LIBS"
27837
27838 fi
27839
27840
27841 for ac_func in copysignf
27842 do
27843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27844 echo "$as_me:$LINENO: checking for $ac_func" >&5
27845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27846 if eval "test \"\${$as_ac_var+set}\" = set"; then
27847   echo $ECHO_N "(cached) $ECHO_C" >&6
27848 else
27849   if test x$gcc_no_link = xyes; then
27850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27852    { (exit 1); exit 1; }; }
27853 fi
27854 cat >conftest.$ac_ext <<_ACEOF
27855 /* confdefs.h.  */
27856 _ACEOF
27857 cat confdefs.h >>conftest.$ac_ext
27858 cat >>conftest.$ac_ext <<_ACEOF
27859 /* end confdefs.h.  */
27860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27862 #define $ac_func innocuous_$ac_func
27863
27864 /* System header to define __stub macros and hopefully few prototypes,
27865     which can conflict with char $ac_func (); below.
27866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27867     <limits.h> exists even on freestanding compilers.  */
27868
27869 #ifdef __STDC__
27870 # include <limits.h>
27871 #else
27872 # include <assert.h>
27873 #endif
27874
27875 #undef $ac_func
27876
27877 /* Override any gcc2 internal prototype to avoid an error.  */
27878 #ifdef __cplusplus
27879 extern "C"
27880 {
27881 #endif
27882 /* We use char because int might match the return type of a gcc2
27883    builtin and then its argument prototype would still apply.  */
27884 char $ac_func ();
27885 /* The GNU C library defines this for functions which it implements
27886     to always fail with ENOSYS.  Some functions are actually named
27887     something starting with __ and the normal name is an alias.  */
27888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27889 choke me
27890 #else
27891 char (*f) () = $ac_func;
27892 #endif
27893 #ifdef __cplusplus
27894 }
27895 #endif
27896
27897 int
27898 main ()
27899 {
27900 return f != $ac_func;
27901   ;
27902   return 0;
27903 }
27904 _ACEOF
27905 rm -f conftest.$ac_objext conftest$ac_exeext
27906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27907   (eval $ac_link) 2>conftest.er1
27908   ac_status=$?
27909   grep -v '^ *+' conftest.er1 >conftest.err
27910   rm -f conftest.er1
27911   cat conftest.err >&5
27912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913   (exit $ac_status); } &&
27914          { ac_try='test -z "$ac_c_werror_flag"
27915                          || test ! -s conftest.err'
27916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27917   (eval $ac_try) 2>&5
27918   ac_status=$?
27919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27920   (exit $ac_status); }; } &&
27921          { ac_try='test -s conftest$ac_exeext'
27922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27923   (eval $ac_try) 2>&5
27924   ac_status=$?
27925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27926   (exit $ac_status); }; }; then
27927   eval "$as_ac_var=yes"
27928 else
27929   echo "$as_me: failed program was:" >&5
27930 sed 's/^/| /' conftest.$ac_ext >&5
27931
27932 eval "$as_ac_var=no"
27933 fi
27934 rm -f conftest.err conftest.$ac_objext \
27935       conftest$ac_exeext conftest.$ac_ext
27936 fi
27937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27939 if test `eval echo '${'$as_ac_var'}'` = yes; then
27940   cat >>confdefs.h <<_ACEOF
27941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27942 _ACEOF
27943
27944 else
27945   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27946 fi
27947 done
27948
27949
27950
27951 for ac_func in __signbit
27952 do
27953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27954 echo "$as_me:$LINENO: checking for $ac_func" >&5
27955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27956 if eval "test \"\${$as_ac_var+set}\" = set"; then
27957   echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27959   if test x$gcc_no_link = xyes; then
27960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27962    { (exit 1); exit 1; }; }
27963 fi
27964 cat >conftest.$ac_ext <<_ACEOF
27965 /* confdefs.h.  */
27966 _ACEOF
27967 cat confdefs.h >>conftest.$ac_ext
27968 cat >>conftest.$ac_ext <<_ACEOF
27969 /* end confdefs.h.  */
27970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27971    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27972 #define $ac_func innocuous_$ac_func
27973
27974 /* System header to define __stub macros and hopefully few prototypes,
27975     which can conflict with char $ac_func (); below.
27976     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27977     <limits.h> exists even on freestanding compilers.  */
27978
27979 #ifdef __STDC__
27980 # include <limits.h>
27981 #else
27982 # include <assert.h>
27983 #endif
27984
27985 #undef $ac_func
27986
27987 /* Override any gcc2 internal prototype to avoid an error.  */
27988 #ifdef __cplusplus
27989 extern "C"
27990 {
27991 #endif
27992 /* We use char because int might match the return type of a gcc2
27993    builtin and then its argument prototype would still apply.  */
27994 char $ac_func ();
27995 /* The GNU C library defines this for functions which it implements
27996     to always fail with ENOSYS.  Some functions are actually named
27997     something starting with __ and the normal name is an alias.  */
27998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27999 choke me
28000 #else
28001 char (*f) () = $ac_func;
28002 #endif
28003 #ifdef __cplusplus
28004 }
28005 #endif
28006
28007 int
28008 main ()
28009 {
28010 return f != $ac_func;
28011   ;
28012   return 0;
28013 }
28014 _ACEOF
28015 rm -f conftest.$ac_objext conftest$ac_exeext
28016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28017   (eval $ac_link) 2>conftest.er1
28018   ac_status=$?
28019   grep -v '^ *+' conftest.er1 >conftest.err
28020   rm -f conftest.er1
28021   cat conftest.err >&5
28022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023   (exit $ac_status); } &&
28024          { ac_try='test -z "$ac_c_werror_flag"
28025                          || test ! -s conftest.err'
28026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027   (eval $ac_try) 2>&5
28028   ac_status=$?
28029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030   (exit $ac_status); }; } &&
28031          { ac_try='test -s conftest$ac_exeext'
28032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28033   (eval $ac_try) 2>&5
28034   ac_status=$?
28035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036   (exit $ac_status); }; }; then
28037   eval "$as_ac_var=yes"
28038 else
28039   echo "$as_me: failed program was:" >&5
28040 sed 's/^/| /' conftest.$ac_ext >&5
28041
28042 eval "$as_ac_var=no"
28043 fi
28044 rm -f conftest.err conftest.$ac_objext \
28045       conftest$ac_exeext conftest.$ac_ext
28046 fi
28047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28049 if test `eval echo '${'$as_ac_var'}'` = yes; then
28050   cat >>confdefs.h <<_ACEOF
28051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28052 _ACEOF
28053
28054 else
28055   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28056 fi
28057 done
28058
28059
28060
28061 for ac_func in __signbitf
28062 do
28063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28064 echo "$as_me:$LINENO: checking for $ac_func" >&5
28065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28066 if eval "test \"\${$as_ac_var+set}\" = set"; then
28067   echo $ECHO_N "(cached) $ECHO_C" >&6
28068 else
28069   if test x$gcc_no_link = xyes; then
28070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28072    { (exit 1); exit 1; }; }
28073 fi
28074 cat >conftest.$ac_ext <<_ACEOF
28075 /* confdefs.h.  */
28076 _ACEOF
28077 cat confdefs.h >>conftest.$ac_ext
28078 cat >>conftest.$ac_ext <<_ACEOF
28079 /* end confdefs.h.  */
28080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28082 #define $ac_func innocuous_$ac_func
28083
28084 /* System header to define __stub macros and hopefully few prototypes,
28085     which can conflict with char $ac_func (); below.
28086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28087     <limits.h> exists even on freestanding compilers.  */
28088
28089 #ifdef __STDC__
28090 # include <limits.h>
28091 #else
28092 # include <assert.h>
28093 #endif
28094
28095 #undef $ac_func
28096
28097 /* Override any gcc2 internal prototype to avoid an error.  */
28098 #ifdef __cplusplus
28099 extern "C"
28100 {
28101 #endif
28102 /* We use char because int might match the return type of a gcc2
28103    builtin and then its argument prototype would still apply.  */
28104 char $ac_func ();
28105 /* The GNU C library defines this for functions which it implements
28106     to always fail with ENOSYS.  Some functions are actually named
28107     something starting with __ and the normal name is an alias.  */
28108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28109 choke me
28110 #else
28111 char (*f) () = $ac_func;
28112 #endif
28113 #ifdef __cplusplus
28114 }
28115 #endif
28116
28117 int
28118 main ()
28119 {
28120 return f != $ac_func;
28121   ;
28122   return 0;
28123 }
28124 _ACEOF
28125 rm -f conftest.$ac_objext conftest$ac_exeext
28126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28127   (eval $ac_link) 2>conftest.er1
28128   ac_status=$?
28129   grep -v '^ *+' conftest.er1 >conftest.err
28130   rm -f conftest.er1
28131   cat conftest.err >&5
28132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133   (exit $ac_status); } &&
28134          { ac_try='test -z "$ac_c_werror_flag"
28135                          || test ! -s conftest.err'
28136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28137   (eval $ac_try) 2>&5
28138   ac_status=$?
28139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140   (exit $ac_status); }; } &&
28141          { ac_try='test -s conftest$ac_exeext'
28142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28143   (eval $ac_try) 2>&5
28144   ac_status=$?
28145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146   (exit $ac_status); }; }; then
28147   eval "$as_ac_var=yes"
28148 else
28149   echo "$as_me: failed program was:" >&5
28150 sed 's/^/| /' conftest.$ac_ext >&5
28151
28152 eval "$as_ac_var=no"
28153 fi
28154 rm -f conftest.err conftest.$ac_objext \
28155       conftest$ac_exeext conftest.$ac_ext
28156 fi
28157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28159 if test `eval echo '${'$as_ac_var'}'` = yes; then
28160   cat >>confdefs.h <<_ACEOF
28161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28162 _ACEOF
28163
28164 else
28165   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28166 fi
28167 done
28168
28169
28170           if test x$ac_cv_func_copysignl = x"yes"; then
28171
28172 for ac_func in __signbitl
28173 do
28174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28175 echo "$as_me:$LINENO: checking for $ac_func" >&5
28176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28177 if eval "test \"\${$as_ac_var+set}\" = set"; then
28178   echo $ECHO_N "(cached) $ECHO_C" >&6
28179 else
28180   if test x$gcc_no_link = xyes; then
28181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28183    { (exit 1); exit 1; }; }
28184 fi
28185 cat >conftest.$ac_ext <<_ACEOF
28186 /* confdefs.h.  */
28187 _ACEOF
28188 cat confdefs.h >>conftest.$ac_ext
28189 cat >>conftest.$ac_ext <<_ACEOF
28190 /* end confdefs.h.  */
28191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28193 #define $ac_func innocuous_$ac_func
28194
28195 /* System header to define __stub macros and hopefully few prototypes,
28196     which can conflict with char $ac_func (); below.
28197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28198     <limits.h> exists even on freestanding compilers.  */
28199
28200 #ifdef __STDC__
28201 # include <limits.h>
28202 #else
28203 # include <assert.h>
28204 #endif
28205
28206 #undef $ac_func
28207
28208 /* Override any gcc2 internal prototype to avoid an error.  */
28209 #ifdef __cplusplus
28210 extern "C"
28211 {
28212 #endif
28213 /* We use char because int might match the return type of a gcc2
28214    builtin and then its argument prototype would still apply.  */
28215 char $ac_func ();
28216 /* The GNU C library defines this for functions which it implements
28217     to always fail with ENOSYS.  Some functions are actually named
28218     something starting with __ and the normal name is an alias.  */
28219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28220 choke me
28221 #else
28222 char (*f) () = $ac_func;
28223 #endif
28224 #ifdef __cplusplus
28225 }
28226 #endif
28227
28228 int
28229 main ()
28230 {
28231 return f != $ac_func;
28232   ;
28233   return 0;
28234 }
28235 _ACEOF
28236 rm -f conftest.$ac_objext conftest$ac_exeext
28237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28238   (eval $ac_link) 2>conftest.er1
28239   ac_status=$?
28240   grep -v '^ *+' conftest.er1 >conftest.err
28241   rm -f conftest.er1
28242   cat conftest.err >&5
28243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244   (exit $ac_status); } &&
28245          { ac_try='test -z "$ac_c_werror_flag"
28246                          || test ! -s conftest.err'
28247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248   (eval $ac_try) 2>&5
28249   ac_status=$?
28250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251   (exit $ac_status); }; } &&
28252          { ac_try='test -s conftest$ac_exeext'
28253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254   (eval $ac_try) 2>&5
28255   ac_status=$?
28256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257   (exit $ac_status); }; }; then
28258   eval "$as_ac_var=yes"
28259 else
28260   echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.$ac_ext >&5
28262
28263 eval "$as_ac_var=no"
28264 fi
28265 rm -f conftest.err conftest.$ac_objext \
28266       conftest$ac_exeext conftest.$ac_ext
28267 fi
28268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28270 if test `eval echo '${'$as_ac_var'}'` = yes; then
28271   cat >>confdefs.h <<_ACEOF
28272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28273 _ACEOF
28274
28275 else
28276   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28277 fi
28278 done
28279
28280   fi
28281
28282   # Used in libmath/Makefile.am.
28283   if test -n "$LIBMATHOBJS"; then
28284     need_libmath=yes
28285   fi
28286
28287
28288
28289
28290   enable_iconv=no
28291   # Only continue checking if the ISO C99 headers exist and support is on.
28292   if test x"$enable_wchar_t" = xyes; then
28293
28294     # Use iconv for wchar_t to char conversions. As such, check for
28295     # X/Open Portability Guide, version 2 features (XPG2).
28296     if test "${ac_cv_header_iconv_h+set}" = set; then
28297   echo "$as_me:$LINENO: checking for iconv.h" >&5
28298 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28299 if test "${ac_cv_header_iconv_h+set}" = set; then
28300   echo $ECHO_N "(cached) $ECHO_C" >&6
28301 fi
28302 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28303 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28304 else
28305   # Is the header compilable?
28306 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28307 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28308 cat >conftest.$ac_ext <<_ACEOF
28309 /* confdefs.h.  */
28310 _ACEOF
28311 cat confdefs.h >>conftest.$ac_ext
28312 cat >>conftest.$ac_ext <<_ACEOF
28313 /* end confdefs.h.  */
28314 $ac_includes_default
28315 #include <iconv.h>
28316 _ACEOF
28317 rm -f conftest.$ac_objext
28318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28319   (eval $ac_compile) 2>conftest.er1
28320   ac_status=$?
28321   grep -v '^ *+' conftest.er1 >conftest.err
28322   rm -f conftest.er1
28323   cat conftest.err >&5
28324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325   (exit $ac_status); } &&
28326          { ac_try='test -z "$ac_c_werror_flag"
28327                          || test ! -s conftest.err'
28328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28329   (eval $ac_try) 2>&5
28330   ac_status=$?
28331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332   (exit $ac_status); }; } &&
28333          { ac_try='test -s conftest.$ac_objext'
28334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335   (eval $ac_try) 2>&5
28336   ac_status=$?
28337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338   (exit $ac_status); }; }; then
28339   ac_header_compiler=yes
28340 else
28341   echo "$as_me: failed program was:" >&5
28342 sed 's/^/| /' conftest.$ac_ext >&5
28343
28344 ac_header_compiler=no
28345 fi
28346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28348 echo "${ECHO_T}$ac_header_compiler" >&6
28349
28350 # Is the header present?
28351 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28352 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28353 cat >conftest.$ac_ext <<_ACEOF
28354 /* confdefs.h.  */
28355 _ACEOF
28356 cat confdefs.h >>conftest.$ac_ext
28357 cat >>conftest.$ac_ext <<_ACEOF
28358 /* end confdefs.h.  */
28359 #include <iconv.h>
28360 _ACEOF
28361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28362   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28363   ac_status=$?
28364   grep -v '^ *+' conftest.er1 >conftest.err
28365   rm -f conftest.er1
28366   cat conftest.err >&5
28367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368   (exit $ac_status); } >/dev/null; then
28369   if test -s conftest.err; then
28370     ac_cpp_err=$ac_c_preproc_warn_flag
28371     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28372   else
28373     ac_cpp_err=
28374   fi
28375 else
28376   ac_cpp_err=yes
28377 fi
28378 if test -z "$ac_cpp_err"; then
28379   ac_header_preproc=yes
28380 else
28381   echo "$as_me: failed program was:" >&5
28382 sed 's/^/| /' conftest.$ac_ext >&5
28383
28384   ac_header_preproc=no
28385 fi
28386 rm -f conftest.err conftest.$ac_ext
28387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28388 echo "${ECHO_T}$ac_header_preproc" >&6
28389
28390 # So?  What about this header?
28391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28392   yes:no: )
28393     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28394 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28395     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28396 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28397     ac_header_preproc=yes
28398     ;;
28399   no:yes:* )
28400     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28401 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28402     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28403 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28404     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28405 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28406     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28407 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28408     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28409 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28410     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28411 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28412     (
28413       cat <<\_ASBOX
28414 ## ----------------------------------------- ##
28415 ## Report this to the package-unused lists.  ##
28416 ## ----------------------------------------- ##
28417 _ASBOX
28418     ) |
28419       sed "s/^/$as_me: WARNING:     /" >&2
28420     ;;
28421 esac
28422 echo "$as_me:$LINENO: checking for iconv.h" >&5
28423 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28424 if test "${ac_cv_header_iconv_h+set}" = set; then
28425   echo $ECHO_N "(cached) $ECHO_C" >&6
28426 else
28427   ac_cv_header_iconv_h=$ac_header_preproc
28428 fi
28429 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28430 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28431
28432 fi
28433 if test $ac_cv_header_iconv_h = yes; then
28434   ac_has_iconv_h=yes
28435 else
28436   ac_has_iconv_h=no
28437 fi
28438
28439
28440     if test "${ac_cv_header_langinfo_h+set}" = set; then
28441   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28442 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28443 if test "${ac_cv_header_langinfo_h+set}" = set; then
28444   echo $ECHO_N "(cached) $ECHO_C" >&6
28445 fi
28446 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28447 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28448 else
28449   # Is the header compilable?
28450 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28451 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28452 cat >conftest.$ac_ext <<_ACEOF
28453 /* confdefs.h.  */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h.  */
28458 $ac_includes_default
28459 #include <langinfo.h>
28460 _ACEOF
28461 rm -f conftest.$ac_objext
28462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28463   (eval $ac_compile) 2>conftest.er1
28464   ac_status=$?
28465   grep -v '^ *+' conftest.er1 >conftest.err
28466   rm -f conftest.er1
28467   cat conftest.err >&5
28468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28469   (exit $ac_status); } &&
28470          { ac_try='test -z "$ac_c_werror_flag"
28471                          || test ! -s conftest.err'
28472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28473   (eval $ac_try) 2>&5
28474   ac_status=$?
28475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476   (exit $ac_status); }; } &&
28477          { ac_try='test -s conftest.$ac_objext'
28478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28479   (eval $ac_try) 2>&5
28480   ac_status=$?
28481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482   (exit $ac_status); }; }; then
28483   ac_header_compiler=yes
28484 else
28485   echo "$as_me: failed program was:" >&5
28486 sed 's/^/| /' conftest.$ac_ext >&5
28487
28488 ac_header_compiler=no
28489 fi
28490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28492 echo "${ECHO_T}$ac_header_compiler" >&6
28493
28494 # Is the header present?
28495 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28496 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28497 cat >conftest.$ac_ext <<_ACEOF
28498 /* confdefs.h.  */
28499 _ACEOF
28500 cat confdefs.h >>conftest.$ac_ext
28501 cat >>conftest.$ac_ext <<_ACEOF
28502 /* end confdefs.h.  */
28503 #include <langinfo.h>
28504 _ACEOF
28505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28506   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28507   ac_status=$?
28508   grep -v '^ *+' conftest.er1 >conftest.err
28509   rm -f conftest.er1
28510   cat conftest.err >&5
28511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512   (exit $ac_status); } >/dev/null; then
28513   if test -s conftest.err; then
28514     ac_cpp_err=$ac_c_preproc_warn_flag
28515     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28516   else
28517     ac_cpp_err=
28518   fi
28519 else
28520   ac_cpp_err=yes
28521 fi
28522 if test -z "$ac_cpp_err"; then
28523   ac_header_preproc=yes
28524 else
28525   echo "$as_me: failed program was:" >&5
28526 sed 's/^/| /' conftest.$ac_ext >&5
28527
28528   ac_header_preproc=no
28529 fi
28530 rm -f conftest.err conftest.$ac_ext
28531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28532 echo "${ECHO_T}$ac_header_preproc" >&6
28533
28534 # So?  What about this header?
28535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28536   yes:no: )
28537     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28538 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28539     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28540 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28541     ac_header_preproc=yes
28542     ;;
28543   no:yes:* )
28544     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28545 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28546     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28547 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28548     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28549 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28550     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28551 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28552     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28553 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28554     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28555 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28556     (
28557       cat <<\_ASBOX
28558 ## ----------------------------------------- ##
28559 ## Report this to the package-unused lists.  ##
28560 ## ----------------------------------------- ##
28561 _ASBOX
28562     ) |
28563       sed "s/^/$as_me: WARNING:     /" >&2
28564     ;;
28565 esac
28566 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28567 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28568 if test "${ac_cv_header_langinfo_h+set}" = set; then
28569   echo $ECHO_N "(cached) $ECHO_C" >&6
28570 else
28571   ac_cv_header_langinfo_h=$ac_header_preproc
28572 fi
28573 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28574 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28575
28576 fi
28577 if test $ac_cv_header_langinfo_h = yes; then
28578   ac_has_langinfo_h=yes
28579 else
28580   ac_has_langinfo_h=no
28581 fi
28582
28583
28584
28585     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28586     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28587 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28588 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28589   echo $ECHO_N "(cached) $ECHO_C" >&6
28590 else
28591   ac_check_lib_save_LIBS=$LIBS
28592 LIBS="-liconv  $LIBS"
28593 if test x$gcc_no_link = xyes; then
28594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28596    { (exit 1); exit 1; }; }
28597 fi
28598 cat >conftest.$ac_ext <<_ACEOF
28599 /* confdefs.h.  */
28600 _ACEOF
28601 cat confdefs.h >>conftest.$ac_ext
28602 cat >>conftest.$ac_ext <<_ACEOF
28603 /* end confdefs.h.  */
28604
28605 /* Override any gcc2 internal prototype to avoid an error.  */
28606 #ifdef __cplusplus
28607 extern "C"
28608 #endif
28609 /* We use char because int might match the return type of a gcc2
28610    builtin and then its argument prototype would still apply.  */
28611 char iconv ();
28612 int
28613 main ()
28614 {
28615 iconv ();
28616   ;
28617   return 0;
28618 }
28619 _ACEOF
28620 rm -f conftest.$ac_objext conftest$ac_exeext
28621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28622   (eval $ac_link) 2>conftest.er1
28623   ac_status=$?
28624   grep -v '^ *+' conftest.er1 >conftest.err
28625   rm -f conftest.er1
28626   cat conftest.err >&5
28627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628   (exit $ac_status); } &&
28629          { ac_try='test -z "$ac_c_werror_flag"
28630                          || test ! -s conftest.err'
28631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632   (eval $ac_try) 2>&5
28633   ac_status=$?
28634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635   (exit $ac_status); }; } &&
28636          { ac_try='test -s conftest$ac_exeext'
28637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638   (eval $ac_try) 2>&5
28639   ac_status=$?
28640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641   (exit $ac_status); }; }; then
28642   ac_cv_lib_iconv_iconv=yes
28643 else
28644   echo "$as_me: failed program was:" >&5
28645 sed 's/^/| /' conftest.$ac_ext >&5
28646
28647 ac_cv_lib_iconv_iconv=no
28648 fi
28649 rm -f conftest.err conftest.$ac_objext \
28650       conftest$ac_exeext conftest.$ac_ext
28651 LIBS=$ac_check_lib_save_LIBS
28652 fi
28653 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28654 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28655 if test $ac_cv_lib_iconv_iconv = yes; then
28656   LIBICONV="-liconv"
28657 fi
28658
28659     ac_save_LIBS="$LIBS"
28660     LIBS="$LIBS $LIBICONV"
28661
28662
28663
28664
28665
28666
28667 for ac_func in iconv_open iconv_close iconv nl_langinfo
28668 do
28669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28670 echo "$as_me:$LINENO: checking for $ac_func" >&5
28671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28672 if eval "test \"\${$as_ac_var+set}\" = set"; then
28673   echo $ECHO_N "(cached) $ECHO_C" >&6
28674 else
28675   if test x$gcc_no_link = xyes; then
28676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28678    { (exit 1); exit 1; }; }
28679 fi
28680 cat >conftest.$ac_ext <<_ACEOF
28681 /* confdefs.h.  */
28682 _ACEOF
28683 cat confdefs.h >>conftest.$ac_ext
28684 cat >>conftest.$ac_ext <<_ACEOF
28685 /* end confdefs.h.  */
28686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28688 #define $ac_func innocuous_$ac_func
28689
28690 /* System header to define __stub macros and hopefully few prototypes,
28691     which can conflict with char $ac_func (); below.
28692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28693     <limits.h> exists even on freestanding compilers.  */
28694
28695 #ifdef __STDC__
28696 # include <limits.h>
28697 #else
28698 # include <assert.h>
28699 #endif
28700
28701 #undef $ac_func
28702
28703 /* Override any gcc2 internal prototype to avoid an error.  */
28704 #ifdef __cplusplus
28705 extern "C"
28706 {
28707 #endif
28708 /* We use char because int might match the return type of a gcc2
28709    builtin and then its argument prototype would still apply.  */
28710 char $ac_func ();
28711 /* The GNU C library defines this for functions which it implements
28712     to always fail with ENOSYS.  Some functions are actually named
28713     something starting with __ and the normal name is an alias.  */
28714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28715 choke me
28716 #else
28717 char (*f) () = $ac_func;
28718 #endif
28719 #ifdef __cplusplus
28720 }
28721 #endif
28722
28723 int
28724 main ()
28725 {
28726 return f != $ac_func;
28727   ;
28728   return 0;
28729 }
28730 _ACEOF
28731 rm -f conftest.$ac_objext conftest$ac_exeext
28732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28733   (eval $ac_link) 2>conftest.er1
28734   ac_status=$?
28735   grep -v '^ *+' conftest.er1 >conftest.err
28736   rm -f conftest.er1
28737   cat conftest.err >&5
28738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739   (exit $ac_status); } &&
28740          { ac_try='test -z "$ac_c_werror_flag"
28741                          || test ! -s conftest.err'
28742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28743   (eval $ac_try) 2>&5
28744   ac_status=$?
28745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746   (exit $ac_status); }; } &&
28747          { ac_try='test -s conftest$ac_exeext'
28748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28749   (eval $ac_try) 2>&5
28750   ac_status=$?
28751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752   (exit $ac_status); }; }; then
28753   eval "$as_ac_var=yes"
28754 else
28755   echo "$as_me: failed program was:" >&5
28756 sed 's/^/| /' conftest.$ac_ext >&5
28757
28758 eval "$as_ac_var=no"
28759 fi
28760 rm -f conftest.err conftest.$ac_objext \
28761       conftest$ac_exeext conftest.$ac_ext
28762 fi
28763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28765 if test `eval echo '${'$as_ac_var'}'` = yes; then
28766   cat >>confdefs.h <<_ACEOF
28767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28768 _ACEOF
28769  ac_XPG2funcs=yes
28770 else
28771   ac_XPG2funcs=no
28772 fi
28773 done
28774
28775
28776     LIBS="$ac_save_LIBS"
28777
28778     if test x"$ac_has_iconv_h" = xyes &&
28779        test x"$ac_has_langinfo_h" = xyes &&
28780        test x"$ac_XPG2funcs" = xyes;
28781     then
28782
28783 cat >>confdefs.h <<\_ACEOF
28784 #define _GLIBCXX_USE_ICONV 1
28785 _ACEOF
28786
28787       enable_iconv=yes
28788     fi
28789   fi
28790   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28791 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28792   echo "$as_me:$LINENO: result: $enable_iconv" >&5
28793 echo "${ECHO_T}$enable_iconv" >&6
28794
28795
28796   ac_test_CXXFLAGS="${CXXFLAGS+set}"
28797   ac_save_CXXFLAGS="$CXXFLAGS"
28798   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28799
28800
28801   echo "$as_me:$LINENO: checking for strtold declaration" >&5
28802 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28803   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28804     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28805   echo $ECHO_N "(cached) $ECHO_C" >&6
28806 else
28807
28808
28809
28810       ac_ext=cc
28811 ac_cpp='$CXXCPP $CPPFLAGS'
28812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28815
28816       cat >conftest.$ac_ext <<_ACEOF
28817 /* confdefs.h.  */
28818 _ACEOF
28819 cat confdefs.h >>conftest.$ac_ext
28820 cat >>conftest.$ac_ext <<_ACEOF
28821 /* end confdefs.h.  */
28822 #include <stdlib.h>
28823 int
28824 main ()
28825 {
28826  strtold(0, 0);
28827   ;
28828   return 0;
28829 }
28830 _ACEOF
28831 rm -f conftest.$ac_objext
28832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28833   (eval $ac_compile) 2>conftest.er1
28834   ac_status=$?
28835   grep -v '^ *+' conftest.er1 >conftest.err
28836   rm -f conftest.er1
28837   cat conftest.err >&5
28838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839   (exit $ac_status); } &&
28840          { ac_try='test -z "$ac_cxx_werror_flag"
28841                          || test ! -s conftest.err'
28842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843   (eval $ac_try) 2>&5
28844   ac_status=$?
28845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846   (exit $ac_status); }; } &&
28847          { ac_try='test -s conftest.$ac_objext'
28848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28849   (eval $ac_try) 2>&5
28850   ac_status=$?
28851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852   (exit $ac_status); }; }; then
28853   glibcxx_cv_func_strtold_use=yes
28854 else
28855   echo "$as_me: failed program was:" >&5
28856 sed 's/^/| /' conftest.$ac_ext >&5
28857
28858 glibcxx_cv_func_strtold_use=no
28859 fi
28860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28861       ac_ext=c
28862 ac_cpp='$CPP $CPPFLAGS'
28863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28866
28867
28868 fi
28869
28870   fi
28871   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28872 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28873   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28874
28875 for ac_func in strtold
28876 do
28877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28878 echo "$as_me:$LINENO: checking for $ac_func" >&5
28879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28880 if eval "test \"\${$as_ac_var+set}\" = set"; then
28881   echo $ECHO_N "(cached) $ECHO_C" >&6
28882 else
28883   if test x$gcc_no_link = xyes; then
28884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28886    { (exit 1); exit 1; }; }
28887 fi
28888 cat >conftest.$ac_ext <<_ACEOF
28889 /* confdefs.h.  */
28890 _ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h.  */
28894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28896 #define $ac_func innocuous_$ac_func
28897
28898 /* System header to define __stub macros and hopefully few prototypes,
28899     which can conflict with char $ac_func (); below.
28900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28901     <limits.h> exists even on freestanding compilers.  */
28902
28903 #ifdef __STDC__
28904 # include <limits.h>
28905 #else
28906 # include <assert.h>
28907 #endif
28908
28909 #undef $ac_func
28910
28911 /* Override any gcc2 internal prototype to avoid an error.  */
28912 #ifdef __cplusplus
28913 extern "C"
28914 {
28915 #endif
28916 /* We use char because int might match the return type of a gcc2
28917    builtin and then its argument prototype would still apply.  */
28918 char $ac_func ();
28919 /* The GNU C library defines this for functions which it implements
28920     to always fail with ENOSYS.  Some functions are actually named
28921     something starting with __ and the normal name is an alias.  */
28922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28923 choke me
28924 #else
28925 char (*f) () = $ac_func;
28926 #endif
28927 #ifdef __cplusplus
28928 }
28929 #endif
28930
28931 int
28932 main ()
28933 {
28934 return f != $ac_func;
28935   ;
28936   return 0;
28937 }
28938 _ACEOF
28939 rm -f conftest.$ac_objext conftest$ac_exeext
28940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28941   (eval $ac_link) 2>conftest.er1
28942   ac_status=$?
28943   grep -v '^ *+' conftest.er1 >conftest.err
28944   rm -f conftest.er1
28945   cat conftest.err >&5
28946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947   (exit $ac_status); } &&
28948          { ac_try='test -z "$ac_c_werror_flag"
28949                          || test ! -s conftest.err'
28950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28951   (eval $ac_try) 2>&5
28952   ac_status=$?
28953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954   (exit $ac_status); }; } &&
28955          { ac_try='test -s conftest$ac_exeext'
28956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28957   (eval $ac_try) 2>&5
28958   ac_status=$?
28959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28960   (exit $ac_status); }; }; then
28961   eval "$as_ac_var=yes"
28962 else
28963   echo "$as_me: failed program was:" >&5
28964 sed 's/^/| /' conftest.$ac_ext >&5
28965
28966 eval "$as_ac_var=no"
28967 fi
28968 rm -f conftest.err conftest.$ac_objext \
28969       conftest$ac_exeext conftest.$ac_ext
28970 fi
28971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28973 if test `eval echo '${'$as_ac_var'}'` = yes; then
28974   cat >>confdefs.h <<_ACEOF
28975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28976 _ACEOF
28977
28978 fi
28979 done
28980
28981   fi
28982
28983
28984
28985
28986
28987   echo "$as_me:$LINENO: checking for strtof declaration" >&5
28988 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28989   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28990     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28991   echo $ECHO_N "(cached) $ECHO_C" >&6
28992 else
28993
28994
28995
28996       ac_ext=cc
28997 ac_cpp='$CXXCPP $CPPFLAGS'
28998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29001
29002       cat >conftest.$ac_ext <<_ACEOF
29003 /* confdefs.h.  */
29004 _ACEOF
29005 cat confdefs.h >>conftest.$ac_ext
29006 cat >>conftest.$ac_ext <<_ACEOF
29007 /* end confdefs.h.  */
29008 #include <stdlib.h>
29009 int
29010 main ()
29011 {
29012  strtof(0, 0);
29013   ;
29014   return 0;
29015 }
29016 _ACEOF
29017 rm -f conftest.$ac_objext
29018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29019   (eval $ac_compile) 2>conftest.er1
29020   ac_status=$?
29021   grep -v '^ *+' conftest.er1 >conftest.err
29022   rm -f conftest.er1
29023   cat conftest.err >&5
29024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025   (exit $ac_status); } &&
29026          { ac_try='test -z "$ac_cxx_werror_flag"
29027                          || test ! -s conftest.err'
29028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029   (eval $ac_try) 2>&5
29030   ac_status=$?
29031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032   (exit $ac_status); }; } &&
29033          { ac_try='test -s conftest.$ac_objext'
29034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29035   (eval $ac_try) 2>&5
29036   ac_status=$?
29037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038   (exit $ac_status); }; }; then
29039   glibcxx_cv_func_strtof_use=yes
29040 else
29041   echo "$as_me: failed program was:" >&5
29042 sed 's/^/| /' conftest.$ac_ext >&5
29043
29044 glibcxx_cv_func_strtof_use=no
29045 fi
29046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29047       ac_ext=c
29048 ac_cpp='$CPP $CPPFLAGS'
29049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29052
29053
29054 fi
29055
29056   fi
29057   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29058 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29059   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29060
29061 for ac_func in strtof
29062 do
29063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29064 echo "$as_me:$LINENO: checking for $ac_func" >&5
29065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29066 if eval "test \"\${$as_ac_var+set}\" = set"; then
29067   echo $ECHO_N "(cached) $ECHO_C" >&6
29068 else
29069   if test x$gcc_no_link = xyes; then
29070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29072    { (exit 1); exit 1; }; }
29073 fi
29074 cat >conftest.$ac_ext <<_ACEOF
29075 /* confdefs.h.  */
29076 _ACEOF
29077 cat confdefs.h >>conftest.$ac_ext
29078 cat >>conftest.$ac_ext <<_ACEOF
29079 /* end confdefs.h.  */
29080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29082 #define $ac_func innocuous_$ac_func
29083
29084 /* System header to define __stub macros and hopefully few prototypes,
29085     which can conflict with char $ac_func (); below.
29086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29087     <limits.h> exists even on freestanding compilers.  */
29088
29089 #ifdef __STDC__
29090 # include <limits.h>
29091 #else
29092 # include <assert.h>
29093 #endif
29094
29095 #undef $ac_func
29096
29097 /* Override any gcc2 internal prototype to avoid an error.  */
29098 #ifdef __cplusplus
29099 extern "C"
29100 {
29101 #endif
29102 /* We use char because int might match the return type of a gcc2
29103    builtin and then its argument prototype would still apply.  */
29104 char $ac_func ();
29105 /* The GNU C library defines this for functions which it implements
29106     to always fail with ENOSYS.  Some functions are actually named
29107     something starting with __ and the normal name is an alias.  */
29108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29109 choke me
29110 #else
29111 char (*f) () = $ac_func;
29112 #endif
29113 #ifdef __cplusplus
29114 }
29115 #endif
29116
29117 int
29118 main ()
29119 {
29120 return f != $ac_func;
29121   ;
29122   return 0;
29123 }
29124 _ACEOF
29125 rm -f conftest.$ac_objext conftest$ac_exeext
29126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29127   (eval $ac_link) 2>conftest.er1
29128   ac_status=$?
29129   grep -v '^ *+' conftest.er1 >conftest.err
29130   rm -f conftest.er1
29131   cat conftest.err >&5
29132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133   (exit $ac_status); } &&
29134          { ac_try='test -z "$ac_c_werror_flag"
29135                          || test ! -s conftest.err'
29136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29137   (eval $ac_try) 2>&5
29138   ac_status=$?
29139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140   (exit $ac_status); }; } &&
29141          { ac_try='test -s conftest$ac_exeext'
29142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29143   (eval $ac_try) 2>&5
29144   ac_status=$?
29145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146   (exit $ac_status); }; }; then
29147   eval "$as_ac_var=yes"
29148 else
29149   echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.$ac_ext >&5
29151
29152 eval "$as_ac_var=no"
29153 fi
29154 rm -f conftest.err conftest.$ac_objext \
29155       conftest$ac_exeext conftest.$ac_ext
29156 fi
29157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29159 if test `eval echo '${'$as_ac_var'}'` = yes; then
29160   cat >>confdefs.h <<_ACEOF
29161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29162 _ACEOF
29163
29164 fi
29165 done
29166
29167   fi
29168
29169
29170
29171
29172
29173   CXXFLAGS="$ac_save_CXXFLAGS"
29174
29175
29176   # For showmanyc_helper().
29177
29178
29179 for ac_header in sys/ioctl.h sys/filio.h
29180 do
29181 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29183   echo "$as_me:$LINENO: checking for $ac_header" >&5
29184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29186   echo $ECHO_N "(cached) $ECHO_C" >&6
29187 fi
29188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29190 else
29191   # Is the header compilable?
29192 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29194 cat >conftest.$ac_ext <<_ACEOF
29195 /* confdefs.h.  */
29196 _ACEOF
29197 cat confdefs.h >>conftest.$ac_ext
29198 cat >>conftest.$ac_ext <<_ACEOF
29199 /* end confdefs.h.  */
29200 $ac_includes_default
29201 #include <$ac_header>
29202 _ACEOF
29203 rm -f conftest.$ac_objext
29204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29205   (eval $ac_compile) 2>conftest.er1
29206   ac_status=$?
29207   grep -v '^ *+' conftest.er1 >conftest.err
29208   rm -f conftest.er1
29209   cat conftest.err >&5
29210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211   (exit $ac_status); } &&
29212          { ac_try='test -z "$ac_c_werror_flag"
29213                          || test ! -s conftest.err'
29214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29215   (eval $ac_try) 2>&5
29216   ac_status=$?
29217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218   (exit $ac_status); }; } &&
29219          { ac_try='test -s conftest.$ac_objext'
29220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29221   (eval $ac_try) 2>&5
29222   ac_status=$?
29223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224   (exit $ac_status); }; }; then
29225   ac_header_compiler=yes
29226 else
29227   echo "$as_me: failed program was:" >&5
29228 sed 's/^/| /' conftest.$ac_ext >&5
29229
29230 ac_header_compiler=no
29231 fi
29232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29234 echo "${ECHO_T}$ac_header_compiler" >&6
29235
29236 # Is the header present?
29237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29239 cat >conftest.$ac_ext <<_ACEOF
29240 /* confdefs.h.  */
29241 _ACEOF
29242 cat confdefs.h >>conftest.$ac_ext
29243 cat >>conftest.$ac_ext <<_ACEOF
29244 /* end confdefs.h.  */
29245 #include <$ac_header>
29246 _ACEOF
29247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29248   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29249   ac_status=$?
29250   grep -v '^ *+' conftest.er1 >conftest.err
29251   rm -f conftest.er1
29252   cat conftest.err >&5
29253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254   (exit $ac_status); } >/dev/null; then
29255   if test -s conftest.err; then
29256     ac_cpp_err=$ac_c_preproc_warn_flag
29257     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29258   else
29259     ac_cpp_err=
29260   fi
29261 else
29262   ac_cpp_err=yes
29263 fi
29264 if test -z "$ac_cpp_err"; then
29265   ac_header_preproc=yes
29266 else
29267   echo "$as_me: failed program was:" >&5
29268 sed 's/^/| /' conftest.$ac_ext >&5
29269
29270   ac_header_preproc=no
29271 fi
29272 rm -f conftest.err conftest.$ac_ext
29273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29274 echo "${ECHO_T}$ac_header_preproc" >&6
29275
29276 # So?  What about this header?
29277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29278   yes:no: )
29279     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29281     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29282 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29283     ac_header_preproc=yes
29284     ;;
29285   no:yes:* )
29286     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29287 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29288     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29289 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29290     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29291 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29292     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29293 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29294     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29296     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29297 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29298     (
29299       cat <<\_ASBOX
29300 ## ----------------------------------------- ##
29301 ## Report this to the package-unused lists.  ##
29302 ## ----------------------------------------- ##
29303 _ASBOX
29304     ) |
29305       sed "s/^/$as_me: WARNING:     /" >&2
29306     ;;
29307 esac
29308 echo "$as_me:$LINENO: checking for $ac_header" >&5
29309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29311   echo $ECHO_N "(cached) $ECHO_C" >&6
29312 else
29313   eval "$as_ac_Header=\$ac_header_preproc"
29314 fi
29315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29317
29318 fi
29319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29320   cat >>confdefs.h <<_ACEOF
29321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29322 _ACEOF
29323
29324 fi
29325
29326 done
29327
29328
29329   echo "$as_me:$LINENO: checking for poll" >&5
29330 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29331   if test "${glibcxx_cv_POLL+set}" = set; then
29332   echo $ECHO_N "(cached) $ECHO_C" >&6
29333 else
29334
29335     if test x$gcc_no_link = xyes; then
29336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29338    { (exit 1); exit 1; }; }
29339 fi
29340 cat >conftest.$ac_ext <<_ACEOF
29341 /* confdefs.h.  */
29342 _ACEOF
29343 cat confdefs.h >>conftest.$ac_ext
29344 cat >>conftest.$ac_ext <<_ACEOF
29345 /* end confdefs.h.  */
29346 #include <poll.h>
29347 int
29348 main ()
29349 {
29350 struct pollfd pfd[1];
29351        pfd[0].events = POLLIN;
29352        poll(pfd, 1, 0);
29353   ;
29354   return 0;
29355 }
29356 _ACEOF
29357 rm -f conftest.$ac_objext conftest$ac_exeext
29358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29359   (eval $ac_link) 2>conftest.er1
29360   ac_status=$?
29361   grep -v '^ *+' conftest.er1 >conftest.err
29362   rm -f conftest.er1
29363   cat conftest.err >&5
29364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365   (exit $ac_status); } &&
29366          { ac_try='test -z "$ac_c_werror_flag"
29367                          || test ! -s conftest.err'
29368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29369   (eval $ac_try) 2>&5
29370   ac_status=$?
29371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372   (exit $ac_status); }; } &&
29373          { ac_try='test -s conftest$ac_exeext'
29374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29375   (eval $ac_try) 2>&5
29376   ac_status=$?
29377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378   (exit $ac_status); }; }; then
29379   glibcxx_cv_POLL=yes
29380 else
29381   echo "$as_me: failed program was:" >&5
29382 sed 's/^/| /' conftest.$ac_ext >&5
29383
29384 glibcxx_cv_POLL=no
29385 fi
29386 rm -f conftest.err conftest.$ac_objext \
29387       conftest$ac_exeext conftest.$ac_ext
29388
29389 fi
29390
29391   if test $glibcxx_cv_POLL = yes; then
29392
29393 cat >>confdefs.h <<\_ACEOF
29394 #define HAVE_POLL 1
29395 _ACEOF
29396
29397   fi
29398   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29399 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29400
29401
29402   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29403 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29404   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29405   echo $ECHO_N "(cached) $ECHO_C" >&6
29406 else
29407
29408     if test x$gcc_no_link = xyes; then
29409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29411    { (exit 1); exit 1; }; }
29412 fi
29413 cat >conftest.$ac_ext <<_ACEOF
29414 /* confdefs.h.  */
29415 _ACEOF
29416 cat confdefs.h >>conftest.$ac_ext
29417 cat >>conftest.$ac_ext <<_ACEOF
29418 /* end confdefs.h.  */
29419 #include <sys/stat.h>
29420 int
29421 main ()
29422 {
29423 struct stat buffer;
29424        fstat(0, &buffer);
29425        S_ISREG(buffer.st_mode);
29426   ;
29427   return 0;
29428 }
29429 _ACEOF
29430 rm -f conftest.$ac_objext conftest$ac_exeext
29431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29432   (eval $ac_link) 2>conftest.er1
29433   ac_status=$?
29434   grep -v '^ *+' conftest.er1 >conftest.err
29435   rm -f conftest.er1
29436   cat conftest.err >&5
29437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438   (exit $ac_status); } &&
29439          { ac_try='test -z "$ac_c_werror_flag"
29440                          || test ! -s conftest.err'
29441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29442   (eval $ac_try) 2>&5
29443   ac_status=$?
29444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445   (exit $ac_status); }; } &&
29446          { ac_try='test -s conftest$ac_exeext'
29447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29448   (eval $ac_try) 2>&5
29449   ac_status=$?
29450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451   (exit $ac_status); }; }; then
29452   glibcxx_cv_S_ISREG=yes
29453 else
29454   echo "$as_me: failed program was:" >&5
29455 sed 's/^/| /' conftest.$ac_ext >&5
29456
29457 glibcxx_cv_S_ISREG=no
29458 fi
29459 rm -f conftest.err conftest.$ac_objext \
29460       conftest$ac_exeext conftest.$ac_ext
29461
29462 fi
29463
29464   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29465   echo $ECHO_N "(cached) $ECHO_C" >&6
29466 else
29467
29468     if test x$gcc_no_link = xyes; then
29469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29471    { (exit 1); exit 1; }; }
29472 fi
29473 cat >conftest.$ac_ext <<_ACEOF
29474 /* confdefs.h.  */
29475 _ACEOF
29476 cat confdefs.h >>conftest.$ac_ext
29477 cat >>conftest.$ac_ext <<_ACEOF
29478 /* end confdefs.h.  */
29479 #include <sys/stat.h>
29480 int
29481 main ()
29482 {
29483 struct stat buffer;
29484        fstat(0, &buffer);
29485        S_IFREG & buffer.st_mode;
29486   ;
29487   return 0;
29488 }
29489 _ACEOF
29490 rm -f conftest.$ac_objext conftest$ac_exeext
29491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29492   (eval $ac_link) 2>conftest.er1
29493   ac_status=$?
29494   grep -v '^ *+' conftest.er1 >conftest.err
29495   rm -f conftest.er1
29496   cat conftest.err >&5
29497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29498   (exit $ac_status); } &&
29499          { ac_try='test -z "$ac_c_werror_flag"
29500                          || test ! -s conftest.err'
29501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29502   (eval $ac_try) 2>&5
29503   ac_status=$?
29504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505   (exit $ac_status); }; } &&
29506          { ac_try='test -s conftest$ac_exeext'
29507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508   (eval $ac_try) 2>&5
29509   ac_status=$?
29510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511   (exit $ac_status); }; }; then
29512   glibcxx_cv_S_IFREG=yes
29513 else
29514   echo "$as_me: failed program was:" >&5
29515 sed 's/^/| /' conftest.$ac_ext >&5
29516
29517 glibcxx_cv_S_IFREG=no
29518 fi
29519 rm -f conftest.err conftest.$ac_objext \
29520       conftest$ac_exeext conftest.$ac_ext
29521
29522 fi
29523
29524   res=no
29525   if test $glibcxx_cv_S_ISREG = yes; then
29526
29527 cat >>confdefs.h <<\_ACEOF
29528 #define HAVE_S_ISREG 1
29529 _ACEOF
29530
29531     res=S_ISREG
29532   elif test $glibcxx_cv_S_IFREG = yes; then
29533
29534 cat >>confdefs.h <<\_ACEOF
29535 #define HAVE_S_IFREG 1
29536 _ACEOF
29537
29538     res=S_IFREG
29539   fi
29540   echo "$as_me:$LINENO: result: $res" >&5
29541 echo "${ECHO_T}$res" >&6
29542
29543
29544   # For xsputn_2().
29545
29546 for ac_header in sys/uio.h
29547 do
29548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29550   echo "$as_me:$LINENO: checking for $ac_header" >&5
29551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29553   echo $ECHO_N "(cached) $ECHO_C" >&6
29554 fi
29555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29557 else
29558   # Is the header compilable?
29559 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29560 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29561 cat >conftest.$ac_ext <<_ACEOF
29562 /* confdefs.h.  */
29563 _ACEOF
29564 cat confdefs.h >>conftest.$ac_ext
29565 cat >>conftest.$ac_ext <<_ACEOF
29566 /* end confdefs.h.  */
29567 $ac_includes_default
29568 #include <$ac_header>
29569 _ACEOF
29570 rm -f conftest.$ac_objext
29571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29572   (eval $ac_compile) 2>conftest.er1
29573   ac_status=$?
29574   grep -v '^ *+' conftest.er1 >conftest.err
29575   rm -f conftest.er1
29576   cat conftest.err >&5
29577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578   (exit $ac_status); } &&
29579          { ac_try='test -z "$ac_c_werror_flag"
29580                          || test ! -s conftest.err'
29581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29582   (eval $ac_try) 2>&5
29583   ac_status=$?
29584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585   (exit $ac_status); }; } &&
29586          { ac_try='test -s conftest.$ac_objext'
29587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29588   (eval $ac_try) 2>&5
29589   ac_status=$?
29590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591   (exit $ac_status); }; }; then
29592   ac_header_compiler=yes
29593 else
29594   echo "$as_me: failed program was:" >&5
29595 sed 's/^/| /' conftest.$ac_ext >&5
29596
29597 ac_header_compiler=no
29598 fi
29599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29601 echo "${ECHO_T}$ac_header_compiler" >&6
29602
29603 # Is the header present?
29604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29606 cat >conftest.$ac_ext <<_ACEOF
29607 /* confdefs.h.  */
29608 _ACEOF
29609 cat confdefs.h >>conftest.$ac_ext
29610 cat >>conftest.$ac_ext <<_ACEOF
29611 /* end confdefs.h.  */
29612 #include <$ac_header>
29613 _ACEOF
29614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29615   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29616   ac_status=$?
29617   grep -v '^ *+' conftest.er1 >conftest.err
29618   rm -f conftest.er1
29619   cat conftest.err >&5
29620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621   (exit $ac_status); } >/dev/null; then
29622   if test -s conftest.err; then
29623     ac_cpp_err=$ac_c_preproc_warn_flag
29624     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29625   else
29626     ac_cpp_err=
29627   fi
29628 else
29629   ac_cpp_err=yes
29630 fi
29631 if test -z "$ac_cpp_err"; then
29632   ac_header_preproc=yes
29633 else
29634   echo "$as_me: failed program was:" >&5
29635 sed 's/^/| /' conftest.$ac_ext >&5
29636
29637   ac_header_preproc=no
29638 fi
29639 rm -f conftest.err conftest.$ac_ext
29640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29641 echo "${ECHO_T}$ac_header_preproc" >&6
29642
29643 # So?  What about this header?
29644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29645   yes:no: )
29646     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29648     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29649 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29650     ac_header_preproc=yes
29651     ;;
29652   no:yes:* )
29653     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29654 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29655     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29656 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29657     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29658 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29659     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29660 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29661     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29663     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29665     (
29666       cat <<\_ASBOX
29667 ## ----------------------------------------- ##
29668 ## Report this to the package-unused lists.  ##
29669 ## ----------------------------------------- ##
29670 _ASBOX
29671     ) |
29672       sed "s/^/$as_me: WARNING:     /" >&2
29673     ;;
29674 esac
29675 echo "$as_me:$LINENO: checking for $ac_header" >&5
29676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29678   echo $ECHO_N "(cached) $ECHO_C" >&6
29679 else
29680   eval "$as_ac_Header=\$ac_header_preproc"
29681 fi
29682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29684
29685 fi
29686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29687   cat >>confdefs.h <<_ACEOF
29688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29689 _ACEOF
29690
29691 fi
29692
29693 done
29694
29695
29696   echo "$as_me:$LINENO: checking for writev" >&5
29697 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29698   if test "${glibcxx_cv_WRITEV+set}" = set; then
29699   echo $ECHO_N "(cached) $ECHO_C" >&6
29700 else
29701
29702     if test x$gcc_no_link = xyes; then
29703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29705    { (exit 1); exit 1; }; }
29706 fi
29707 cat >conftest.$ac_ext <<_ACEOF
29708 /* confdefs.h.  */
29709 _ACEOF
29710 cat confdefs.h >>conftest.$ac_ext
29711 cat >>conftest.$ac_ext <<_ACEOF
29712 /* end confdefs.h.  */
29713 #include <sys/uio.h>
29714 int
29715 main ()
29716 {
29717 struct iovec iov[2];
29718        writev(0, iov, 0);
29719   ;
29720   return 0;
29721 }
29722 _ACEOF
29723 rm -f conftest.$ac_objext conftest$ac_exeext
29724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29725   (eval $ac_link) 2>conftest.er1
29726   ac_status=$?
29727   grep -v '^ *+' conftest.er1 >conftest.err
29728   rm -f conftest.er1
29729   cat conftest.err >&5
29730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731   (exit $ac_status); } &&
29732          { ac_try='test -z "$ac_c_werror_flag"
29733                          || test ! -s conftest.err'
29734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735   (eval $ac_try) 2>&5
29736   ac_status=$?
29737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738   (exit $ac_status); }; } &&
29739          { ac_try='test -s conftest$ac_exeext'
29740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741   (eval $ac_try) 2>&5
29742   ac_status=$?
29743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744   (exit $ac_status); }; }; then
29745   glibcxx_cv_WRITEV=yes
29746 else
29747   echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.$ac_ext >&5
29749
29750 glibcxx_cv_WRITEV=no
29751 fi
29752 rm -f conftest.err conftest.$ac_objext \
29753       conftest$ac_exeext conftest.$ac_ext
29754
29755 fi
29756
29757   if test $glibcxx_cv_WRITEV = yes; then
29758
29759 cat >>confdefs.h <<\_ACEOF
29760 #define HAVE_WRITEV 1
29761 _ACEOF
29762
29763   fi
29764   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29765 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29766
29767
29768   # For the __streamoff_base_type typedef.
29769
29770   echo "$as_me:$LINENO: checking for int64_t" >&5
29771 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29772   if test "${glibcxx_cv_INT64_T+set}" = set; then
29773   echo $ECHO_N "(cached) $ECHO_C" >&6
29774 else
29775
29776     cat >conftest.$ac_ext <<_ACEOF
29777 /* confdefs.h.  */
29778 _ACEOF
29779 cat confdefs.h >>conftest.$ac_ext
29780 cat >>conftest.$ac_ext <<_ACEOF
29781 /* end confdefs.h.  */
29782 #include <stdint.h>
29783 int
29784 main ()
29785 {
29786 int64_t var;
29787   ;
29788   return 0;
29789 }
29790 _ACEOF
29791 rm -f conftest.$ac_objext
29792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29793   (eval $ac_compile) 2>conftest.er1
29794   ac_status=$?
29795   grep -v '^ *+' conftest.er1 >conftest.err
29796   rm -f conftest.er1
29797   cat conftest.err >&5
29798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799   (exit $ac_status); } &&
29800          { ac_try='test -z "$ac_c_werror_flag"
29801                          || test ! -s conftest.err'
29802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29803   (eval $ac_try) 2>&5
29804   ac_status=$?
29805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29806   (exit $ac_status); }; } &&
29807          { ac_try='test -s conftest.$ac_objext'
29808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29809   (eval $ac_try) 2>&5
29810   ac_status=$?
29811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29812   (exit $ac_status); }; }; then
29813   glibcxx_cv_INT64_T=yes
29814 else
29815   echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.$ac_ext >&5
29817
29818 glibcxx_cv_INT64_T=no
29819 fi
29820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29821
29822 fi
29823
29824   if test $glibcxx_cv_INT64_T = yes; then
29825
29826 cat >>confdefs.h <<\_ACEOF
29827 #define HAVE_INT64_T 1
29828 _ACEOF
29829
29830   fi
29831   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29832 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29833
29834
29835   # For LFS support.
29836
29837
29838
29839   ac_ext=cc
29840 ac_cpp='$CXXCPP $CPPFLAGS'
29841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29844
29845   ac_save_CXXFLAGS="$CXXFLAGS"
29846   CXXFLAGS="$CXXFLAGS -fno-exceptions"
29847   echo "$as_me:$LINENO: checking for LFS support" >&5
29848 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29849   if test "${glibcxx_cv_LFS+set}" = set; then
29850   echo $ECHO_N "(cached) $ECHO_C" >&6
29851 else
29852
29853     if test x$gcc_no_link = xyes; then
29854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29856    { (exit 1); exit 1; }; }
29857 fi
29858 cat >conftest.$ac_ext <<_ACEOF
29859 /* confdefs.h.  */
29860 _ACEOF
29861 cat confdefs.h >>conftest.$ac_ext
29862 cat >>conftest.$ac_ext <<_ACEOF
29863 /* end confdefs.h.  */
29864 #include <unistd.h>
29865        #include <stdio.h>
29866        #include <sys/stat.h>
29867
29868 int
29869 main ()
29870 {
29871 FILE* fp;
29872        fopen64("t", "w");
29873        fseeko64(fp, 0, SEEK_CUR);
29874        ftello64(fp);
29875        lseek64(1, 0, SEEK_CUR);
29876        struct stat64 buf;
29877        fstat64(1, &buf);
29878   ;
29879   return 0;
29880 }
29881 _ACEOF
29882 rm -f conftest.$ac_objext conftest$ac_exeext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29884   (eval $ac_link) 2>conftest.er1
29885   ac_status=$?
29886   grep -v '^ *+' conftest.er1 >conftest.err
29887   rm -f conftest.er1
29888   cat conftest.err >&5
29889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890   (exit $ac_status); } &&
29891          { ac_try='test -z "$ac_cxx_werror_flag"
29892                          || test ! -s conftest.err'
29893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894   (eval $ac_try) 2>&5
29895   ac_status=$?
29896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897   (exit $ac_status); }; } &&
29898          { ac_try='test -s conftest$ac_exeext'
29899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900   (eval $ac_try) 2>&5
29901   ac_status=$?
29902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903   (exit $ac_status); }; }; then
29904   glibcxx_cv_LFS=yes
29905 else
29906   echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29908
29909 glibcxx_cv_LFS=no
29910 fi
29911 rm -f conftest.err conftest.$ac_objext \
29912       conftest$ac_exeext conftest.$ac_ext
29913
29914 fi
29915
29916   if test $glibcxx_cv_LFS = yes; then
29917
29918 cat >>confdefs.h <<\_ACEOF
29919 #define _GLIBCXX_USE_LFS 1
29920 _ACEOF
29921
29922   fi
29923   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29924 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29925   CXXFLAGS="$ac_save_CXXFLAGS"
29926   ac_ext=c
29927 ac_cpp='$CPP $CPPFLAGS'
29928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29931
29932
29933
29934   # For TLS support.
29935
29936    # Check whether --enable-tls or --disable-tls was given.
29937 if test "${enable_tls+set}" = set; then
29938   enableval="$enable_tls"
29939
29940       case "$enableval" in
29941        yes|no) ;;
29942        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
29943 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
29944    { (exit 1); exit 1; }; } ;;
29945       esac
29946
29947 else
29948   enable_tls=yes
29949 fi;
29950
29951   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
29952 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
29953 if test "${have_tls+set}" = set; then
29954   echo $ECHO_N "(cached) $ECHO_C" >&6
29955 else
29956
29957     if test "$cross_compiling" = yes; then
29958   cat >conftest.$ac_ext <<_ACEOF
29959 __thread int foo;
29960 _ACEOF
29961 rm -f conftest.$ac_objext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29963   (eval $ac_compile) 2>conftest.er1
29964   ac_status=$?
29965   grep -v '^ *+' conftest.er1 >conftest.err
29966   rm -f conftest.er1
29967   cat conftest.err >&5
29968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969   (exit $ac_status); } &&
29970          { ac_try='test -z "$ac_c_werror_flag"
29971                          || test ! -s conftest.err'
29972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973   (eval $ac_try) 2>&5
29974   ac_status=$?
29975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976   (exit $ac_status); }; } &&
29977          { ac_try='test -s conftest.$ac_objext'
29978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979   (eval $ac_try) 2>&5
29980   ac_status=$?
29981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982   (exit $ac_status); }; }; then
29983   have_tls=yes
29984 else
29985   echo "$as_me: failed program was:" >&5
29986 sed 's/^/| /' conftest.$ac_ext >&5
29987
29988 have_tls=no
29989 fi
29990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29991
29992 else
29993   cat >conftest.$ac_ext <<_ACEOF
29994 __thread int a; int b; int main() { return a = b; }
29995 _ACEOF
29996 rm -f conftest$ac_exeext
29997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29998   (eval $ac_link) 2>&5
29999   ac_status=$?
30000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003   (eval $ac_try) 2>&5
30004   ac_status=$?
30005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006   (exit $ac_status); }; }; then
30007                     save_LDFLAGS="$LDFLAGS"
30008       LDFLAGS="-static $LDFLAGS"
30009       if test "$cross_compiling" = yes; then
30010   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30011 See \`config.log' for more details." >&5
30012 echo "$as_me: error: cannot run test program while cross compiling
30013 See \`config.log' for more details." >&2;}
30014    { (exit 1); exit 1; }; }
30015 else
30016   cat >conftest.$ac_ext <<_ACEOF
30017 __thread int a; int b; int main() { return a = b; }
30018 _ACEOF
30019 rm -f conftest$ac_exeext
30020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30021   (eval $ac_link) 2>&5
30022   ac_status=$?
30023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30026   (eval $ac_try) 2>&5
30027   ac_status=$?
30028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029   (exit $ac_status); }; }; then
30030   have_tls=yes
30031 else
30032   echo "$as_me: program exited with status $ac_status" >&5
30033 echo "$as_me: failed program was:" >&5
30034 sed 's/^/| /' conftest.$ac_ext >&5
30035
30036 ( exit $ac_status )
30037 have_tls=no
30038 fi
30039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30040 fi
30041       LDFLAGS="$save_LDFLAGS"
30042 else
30043   echo "$as_me: program exited with status $ac_status" >&5
30044 echo "$as_me: failed program was:" >&5
30045 sed 's/^/| /' conftest.$ac_ext >&5
30046
30047 ( exit $ac_status )
30048 have_tls=no
30049 fi
30050 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30051 fi
30052 fi
30053 echo "$as_me:$LINENO: result: $have_tls" >&5
30054 echo "${ECHO_T}$have_tls" >&6
30055   if test "$enable_tls $have_tls" = "yes yes"; then
30056
30057 cat >>confdefs.h <<\_ACEOF
30058 #define HAVE_TLS 1
30059 _ACEOF
30060
30061   fi
30062
30063
30064   if test "${ac_cv_header_locale_h+set}" = set; then
30065   echo "$as_me:$LINENO: checking for locale.h" >&5
30066 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30067 if test "${ac_cv_header_locale_h+set}" = set; then
30068   echo $ECHO_N "(cached) $ECHO_C" >&6
30069 fi
30070 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30071 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30072 else
30073   # Is the header compilable?
30074 echo "$as_me:$LINENO: checking locale.h usability" >&5
30075 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30076 cat >conftest.$ac_ext <<_ACEOF
30077 /* confdefs.h.  */
30078 _ACEOF
30079 cat confdefs.h >>conftest.$ac_ext
30080 cat >>conftest.$ac_ext <<_ACEOF
30081 /* end confdefs.h.  */
30082 $ac_includes_default
30083 #include <locale.h>
30084 _ACEOF
30085 rm -f conftest.$ac_objext
30086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30087   (eval $ac_compile) 2>conftest.er1
30088   ac_status=$?
30089   grep -v '^ *+' conftest.er1 >conftest.err
30090   rm -f conftest.er1
30091   cat conftest.err >&5
30092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093   (exit $ac_status); } &&
30094          { ac_try='test -z "$ac_c_werror_flag"
30095                          || test ! -s conftest.err'
30096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30097   (eval $ac_try) 2>&5
30098   ac_status=$?
30099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100   (exit $ac_status); }; } &&
30101          { ac_try='test -s conftest.$ac_objext'
30102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30103   (eval $ac_try) 2>&5
30104   ac_status=$?
30105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106   (exit $ac_status); }; }; then
30107   ac_header_compiler=yes
30108 else
30109   echo "$as_me: failed program was:" >&5
30110 sed 's/^/| /' conftest.$ac_ext >&5
30111
30112 ac_header_compiler=no
30113 fi
30114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30116 echo "${ECHO_T}$ac_header_compiler" >&6
30117
30118 # Is the header present?
30119 echo "$as_me:$LINENO: checking locale.h presence" >&5
30120 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30121 cat >conftest.$ac_ext <<_ACEOF
30122 /* confdefs.h.  */
30123 _ACEOF
30124 cat confdefs.h >>conftest.$ac_ext
30125 cat >>conftest.$ac_ext <<_ACEOF
30126 /* end confdefs.h.  */
30127 #include <locale.h>
30128 _ACEOF
30129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30130   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30131   ac_status=$?
30132   grep -v '^ *+' conftest.er1 >conftest.err
30133   rm -f conftest.er1
30134   cat conftest.err >&5
30135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136   (exit $ac_status); } >/dev/null; then
30137   if test -s conftest.err; then
30138     ac_cpp_err=$ac_c_preproc_warn_flag
30139     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30140   else
30141     ac_cpp_err=
30142   fi
30143 else
30144   ac_cpp_err=yes
30145 fi
30146 if test -z "$ac_cpp_err"; then
30147   ac_header_preproc=yes
30148 else
30149   echo "$as_me: failed program was:" >&5
30150 sed 's/^/| /' conftest.$ac_ext >&5
30151
30152   ac_header_preproc=no
30153 fi
30154 rm -f conftest.err conftest.$ac_ext
30155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30156 echo "${ECHO_T}$ac_header_preproc" >&6
30157
30158 # So?  What about this header?
30159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30160   yes:no: )
30161     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30162 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30163     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30164 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30165     ac_header_preproc=yes
30166     ;;
30167   no:yes:* )
30168     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30169 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30170     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
30171 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
30172     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30173 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30174     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
30175 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30176     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30177 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30178     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30179 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30180     (
30181       cat <<\_ASBOX
30182 ## ----------------------------------------- ##
30183 ## Report this to the package-unused lists.  ##
30184 ## ----------------------------------------- ##
30185 _ASBOX
30186     ) |
30187       sed "s/^/$as_me: WARNING:     /" >&2
30188     ;;
30189 esac
30190 echo "$as_me:$LINENO: checking for locale.h" >&5
30191 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30192 if test "${ac_cv_header_locale_h+set}" = set; then
30193   echo $ECHO_N "(cached) $ECHO_C" >&6
30194 else
30195   ac_cv_header_locale_h=$ac_header_preproc
30196 fi
30197 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30198 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30199
30200 fi
30201 if test $ac_cv_header_locale_h = yes; then
30202
30203     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30204 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30205 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30206   echo $ECHO_N "(cached) $ECHO_C" >&6
30207 else
30208   if test x$gcc_no_link = xyes; then
30209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30211    { (exit 1); exit 1; }; }
30212 fi
30213 cat >conftest.$ac_ext <<_ACEOF
30214 /* confdefs.h.  */
30215 _ACEOF
30216 cat confdefs.h >>conftest.$ac_ext
30217 cat >>conftest.$ac_ext <<_ACEOF
30218 /* end confdefs.h.  */
30219 #include <locale.h>
30220 int
30221 main ()
30222 {
30223 return LC_MESSAGES
30224   ;
30225   return 0;
30226 }
30227 _ACEOF
30228 rm -f conftest.$ac_objext conftest$ac_exeext
30229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30230   (eval $ac_link) 2>conftest.er1
30231   ac_status=$?
30232   grep -v '^ *+' conftest.er1 >conftest.err
30233   rm -f conftest.er1
30234   cat conftest.err >&5
30235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236   (exit $ac_status); } &&
30237          { ac_try='test -z "$ac_c_werror_flag"
30238                          || test ! -s conftest.err'
30239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240   (eval $ac_try) 2>&5
30241   ac_status=$?
30242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243   (exit $ac_status); }; } &&
30244          { ac_try='test -s conftest$ac_exeext'
30245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30246   (eval $ac_try) 2>&5
30247   ac_status=$?
30248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249   (exit $ac_status); }; }; then
30250   ac_cv_val_LC_MESSAGES=yes
30251 else
30252   echo "$as_me: failed program was:" >&5
30253 sed 's/^/| /' conftest.$ac_ext >&5
30254
30255 ac_cv_val_LC_MESSAGES=no
30256 fi
30257 rm -f conftest.err conftest.$ac_objext \
30258       conftest$ac_exeext conftest.$ac_ext
30259 fi
30260 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30261 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30262     if test $ac_cv_val_LC_MESSAGES = yes; then
30263
30264 cat >>confdefs.h <<\_ACEOF
30265 #define HAVE_LC_MESSAGES 1
30266 _ACEOF
30267
30268     fi
30269
30270 fi
30271
30272
30273
30274
30275   cat >conftest.$ac_ext <<_ACEOF
30276 /* confdefs.h.  */
30277 _ACEOF
30278 cat confdefs.h >>conftest.$ac_ext
30279 cat >>conftest.$ac_ext <<_ACEOF
30280 /* end confdefs.h.  */
30281 #include <setjmp.h>
30282 int
30283 main ()
30284 {
30285 sigjmp_buf env;
30286      while (! sigsetjmp (env, 1))
30287        siglongjmp (env, 1);
30288
30289   ;
30290   return 0;
30291 }
30292 _ACEOF
30293 rm -f conftest.$ac_objext
30294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30295   (eval $ac_compile) 2>conftest.er1
30296   ac_status=$?
30297   grep -v '^ *+' conftest.er1 >conftest.err
30298   rm -f conftest.er1
30299   cat conftest.err >&5
30300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301   (exit $ac_status); } &&
30302          { ac_try='test -z "$ac_c_werror_flag"
30303                          || test ! -s conftest.err'
30304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305   (eval $ac_try) 2>&5
30306   ac_status=$?
30307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308   (exit $ac_status); }; } &&
30309          { ac_try='test -s conftest.$ac_objext'
30310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311   (eval $ac_try) 2>&5
30312   ac_status=$?
30313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314   (exit $ac_status); }; }; then
30315
30316 cat >>confdefs.h <<\_ACEOF
30317 #define HAVE_SIGSETJMP 1
30318 _ACEOF
30319
30320 else
30321   echo "$as_me: failed program was:" >&5
30322 sed 's/^/| /' conftest.$ac_ext >&5
30323
30324 fi
30325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30326
30327   if test x$gcc_no_link = xyes; then
30328   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30329     ac_cv_func_mmap_fixed_mapped=no
30330   fi
30331 fi
30332 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
30333
30334
30335 for ac_header in stdlib.h unistd.h
30336 do
30337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30339   echo "$as_me:$LINENO: checking for $ac_header" >&5
30340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30342   echo $ECHO_N "(cached) $ECHO_C" >&6
30343 fi
30344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30346 else
30347   # Is the header compilable?
30348 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30350 cat >conftest.$ac_ext <<_ACEOF
30351 /* confdefs.h.  */
30352 _ACEOF
30353 cat confdefs.h >>conftest.$ac_ext
30354 cat >>conftest.$ac_ext <<_ACEOF
30355 /* end confdefs.h.  */
30356 $ac_includes_default
30357 #include <$ac_header>
30358 _ACEOF
30359 rm -f conftest.$ac_objext
30360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30361   (eval $ac_compile) 2>conftest.er1
30362   ac_status=$?
30363   grep -v '^ *+' conftest.er1 >conftest.err
30364   rm -f conftest.er1
30365   cat conftest.err >&5
30366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367   (exit $ac_status); } &&
30368          { ac_try='test -z "$ac_c_werror_flag"
30369                          || test ! -s conftest.err'
30370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30371   (eval $ac_try) 2>&5
30372   ac_status=$?
30373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374   (exit $ac_status); }; } &&
30375          { ac_try='test -s conftest.$ac_objext'
30376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30377   (eval $ac_try) 2>&5
30378   ac_status=$?
30379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380   (exit $ac_status); }; }; then
30381   ac_header_compiler=yes
30382 else
30383   echo "$as_me: failed program was:" >&5
30384 sed 's/^/| /' conftest.$ac_ext >&5
30385
30386 ac_header_compiler=no
30387 fi
30388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30390 echo "${ECHO_T}$ac_header_compiler" >&6
30391
30392 # Is the header present?
30393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30395 cat >conftest.$ac_ext <<_ACEOF
30396 /* confdefs.h.  */
30397 _ACEOF
30398 cat confdefs.h >>conftest.$ac_ext
30399 cat >>conftest.$ac_ext <<_ACEOF
30400 /* end confdefs.h.  */
30401 #include <$ac_header>
30402 _ACEOF
30403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30404   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30405   ac_status=$?
30406   grep -v '^ *+' conftest.er1 >conftest.err
30407   rm -f conftest.er1
30408   cat conftest.err >&5
30409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410   (exit $ac_status); } >/dev/null; then
30411   if test -s conftest.err; then
30412     ac_cpp_err=$ac_c_preproc_warn_flag
30413     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30414   else
30415     ac_cpp_err=
30416   fi
30417 else
30418   ac_cpp_err=yes
30419 fi
30420 if test -z "$ac_cpp_err"; then
30421   ac_header_preproc=yes
30422 else
30423   echo "$as_me: failed program was:" >&5
30424 sed 's/^/| /' conftest.$ac_ext >&5
30425
30426   ac_header_preproc=no
30427 fi
30428 rm -f conftest.err conftest.$ac_ext
30429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30430 echo "${ECHO_T}$ac_header_preproc" >&6
30431
30432 # So?  What about this header?
30433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30434   yes:no: )
30435     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30437     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30439     ac_header_preproc=yes
30440     ;;
30441   no:yes:* )
30442     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30444     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30445 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30446     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30448     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30449 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30450     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30452     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30454     (
30455       cat <<\_ASBOX
30456 ## ----------------------------------------- ##
30457 ## Report this to the package-unused lists.  ##
30458 ## ----------------------------------------- ##
30459 _ASBOX
30460     ) |
30461       sed "s/^/$as_me: WARNING:     /" >&2
30462     ;;
30463 esac
30464 echo "$as_me:$LINENO: checking for $ac_header" >&5
30465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30467   echo $ECHO_N "(cached) $ECHO_C" >&6
30468 else
30469   eval "$as_ac_Header=\$ac_header_preproc"
30470 fi
30471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30473
30474 fi
30475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30476   cat >>confdefs.h <<_ACEOF
30477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30478 _ACEOF
30479
30480 fi
30481
30482 done
30483
30484
30485 for ac_func in getpagesize
30486 do
30487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30488 echo "$as_me:$LINENO: checking for $ac_func" >&5
30489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30490 if eval "test \"\${$as_ac_var+set}\" = set"; then
30491   echo $ECHO_N "(cached) $ECHO_C" >&6
30492 else
30493   if test x$gcc_no_link = xyes; then
30494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30496    { (exit 1); exit 1; }; }
30497 fi
30498 cat >conftest.$ac_ext <<_ACEOF
30499 /* confdefs.h.  */
30500 _ACEOF
30501 cat confdefs.h >>conftest.$ac_ext
30502 cat >>conftest.$ac_ext <<_ACEOF
30503 /* end confdefs.h.  */
30504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30505    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30506 #define $ac_func innocuous_$ac_func
30507
30508 /* System header to define __stub macros and hopefully few prototypes,
30509     which can conflict with char $ac_func (); below.
30510     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30511     <limits.h> exists even on freestanding compilers.  */
30512
30513 #ifdef __STDC__
30514 # include <limits.h>
30515 #else
30516 # include <assert.h>
30517 #endif
30518
30519 #undef $ac_func
30520
30521 /* Override any gcc2 internal prototype to avoid an error.  */
30522 #ifdef __cplusplus
30523 extern "C"
30524 {
30525 #endif
30526 /* We use char because int might match the return type of a gcc2
30527    builtin and then its argument prototype would still apply.  */
30528 char $ac_func ();
30529 /* The GNU C library defines this for functions which it implements
30530     to always fail with ENOSYS.  Some functions are actually named
30531     something starting with __ and the normal name is an alias.  */
30532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30533 choke me
30534 #else
30535 char (*f) () = $ac_func;
30536 #endif
30537 #ifdef __cplusplus
30538 }
30539 #endif
30540
30541 int
30542 main ()
30543 {
30544 return f != $ac_func;
30545   ;
30546   return 0;
30547 }
30548 _ACEOF
30549 rm -f conftest.$ac_objext conftest$ac_exeext
30550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30551   (eval $ac_link) 2>conftest.er1
30552   ac_status=$?
30553   grep -v '^ *+' conftest.er1 >conftest.err
30554   rm -f conftest.er1
30555   cat conftest.err >&5
30556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557   (exit $ac_status); } &&
30558          { ac_try='test -z "$ac_c_werror_flag"
30559                          || test ! -s conftest.err'
30560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30561   (eval $ac_try) 2>&5
30562   ac_status=$?
30563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564   (exit $ac_status); }; } &&
30565          { ac_try='test -s conftest$ac_exeext'
30566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567   (eval $ac_try) 2>&5
30568   ac_status=$?
30569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570   (exit $ac_status); }; }; then
30571   eval "$as_ac_var=yes"
30572 else
30573   echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30575
30576 eval "$as_ac_var=no"
30577 fi
30578 rm -f conftest.err conftest.$ac_objext \
30579       conftest$ac_exeext conftest.$ac_ext
30580 fi
30581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30583 if test `eval echo '${'$as_ac_var'}'` = yes; then
30584   cat >>confdefs.h <<_ACEOF
30585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30586 _ACEOF
30587
30588 fi
30589 done
30590
30591 echo "$as_me:$LINENO: checking for working mmap" >&5
30592 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30593 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30594   echo $ECHO_N "(cached) $ECHO_C" >&6
30595 else
30596   if test "$cross_compiling" = yes; then
30597   ac_cv_func_mmap_fixed_mapped=no
30598 else
30599   cat >conftest.$ac_ext <<_ACEOF
30600 /* confdefs.h.  */
30601 _ACEOF
30602 cat confdefs.h >>conftest.$ac_ext
30603 cat >>conftest.$ac_ext <<_ACEOF
30604 /* end confdefs.h.  */
30605 $ac_includes_default
30606 /* malloc might have been renamed as rpl_malloc. */
30607 #undef malloc
30608
30609 /* Thanks to Mike Haertel and Jim Avera for this test.
30610    Here is a matrix of mmap possibilities:
30611         mmap private not fixed
30612         mmap private fixed at somewhere currently unmapped
30613         mmap private fixed at somewhere already mapped
30614         mmap shared not fixed
30615         mmap shared fixed at somewhere currently unmapped
30616         mmap shared fixed at somewhere already mapped
30617    For private mappings, we should verify that changes cannot be read()
30618    back from the file, nor mmap's back from the file at a different
30619    address.  (There have been systems where private was not correctly
30620    implemented like the infamous i386 svr4.0, and systems where the
30621    VM page cache was not coherent with the file system buffer cache
30622    like early versions of FreeBSD and possibly contemporary NetBSD.)
30623    For shared mappings, we should conversely verify that changes get
30624    propagated back to all the places they're supposed to be.
30625
30626    Grep wants private fixed already mapped.
30627    The main things grep needs to know about mmap are:
30628    * does it exist and is it safe to write into the mmap'd area
30629    * how to use it (BSD variants)  */
30630
30631 #include <fcntl.h>
30632 #include <sys/mman.h>
30633
30634 #if !STDC_HEADERS && !HAVE_STDLIB_H
30635 char *malloc ();
30636 #endif
30637
30638 /* This mess was copied from the GNU getpagesize.h.  */
30639 #if !HAVE_GETPAGESIZE
30640 /* Assume that all systems that can run configure have sys/param.h.  */
30641 # if !HAVE_SYS_PARAM_H
30642 #  define HAVE_SYS_PARAM_H 1
30643 # endif
30644
30645 # ifdef _SC_PAGESIZE
30646 #  define getpagesize() sysconf(_SC_PAGESIZE)
30647 # else /* no _SC_PAGESIZE */
30648 #  if HAVE_SYS_PARAM_H
30649 #   include <sys/param.h>
30650 #   ifdef EXEC_PAGESIZE
30651 #    define getpagesize() EXEC_PAGESIZE
30652 #   else /* no EXEC_PAGESIZE */
30653 #    ifdef NBPG
30654 #     define getpagesize() NBPG * CLSIZE
30655 #     ifndef CLSIZE
30656 #      define CLSIZE 1
30657 #     endif /* no CLSIZE */
30658 #    else /* no NBPG */
30659 #     ifdef NBPC
30660 #      define getpagesize() NBPC
30661 #     else /* no NBPC */
30662 #      ifdef PAGESIZE
30663 #       define getpagesize() PAGESIZE
30664 #      endif /* PAGESIZE */
30665 #     endif /* no NBPC */
30666 #    endif /* no NBPG */
30667 #   endif /* no EXEC_PAGESIZE */
30668 #  else /* no HAVE_SYS_PARAM_H */
30669 #   define getpagesize() 8192   /* punt totally */
30670 #  endif /* no HAVE_SYS_PARAM_H */
30671 # endif /* no _SC_PAGESIZE */
30672
30673 #endif /* no HAVE_GETPAGESIZE */
30674
30675 int
30676 main ()
30677 {
30678   char *data, *data2, *data3;
30679   int i, pagesize;
30680   int fd;
30681
30682   pagesize = getpagesize ();
30683
30684   /* First, make a file with some known garbage in it. */
30685   data = (char *) malloc (pagesize);
30686   if (!data)
30687     exit (1);
30688   for (i = 0; i < pagesize; ++i)
30689     *(data + i) = rand ();
30690   umask (0);
30691   fd = creat ("conftest.mmap", 0600);
30692   if (fd < 0)
30693     exit (1);
30694   if (write (fd, data, pagesize) != pagesize)
30695     exit (1);
30696   close (fd);
30697
30698   /* Next, try to mmap the file at a fixed address which already has
30699      something else allocated at it.  If we can, also make sure that
30700      we see the same garbage.  */
30701   fd = open ("conftest.mmap", O_RDWR);
30702   if (fd < 0)
30703     exit (1);
30704   data2 = (char *) malloc (2 * pagesize);
30705   if (!data2)
30706     exit (1);
30707   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30708   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30709                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
30710     exit (1);
30711   for (i = 0; i < pagesize; ++i)
30712     if (*(data + i) != *(data2 + i))
30713       exit (1);
30714
30715   /* Finally, make sure that changes to the mapped area do not
30716      percolate back to the file as seen by read().  (This is a bug on
30717      some variants of i386 svr4.0.)  */
30718   for (i = 0; i < pagesize; ++i)
30719     *(data2 + i) = *(data2 + i) + 1;
30720   data3 = (char *) malloc (pagesize);
30721   if (!data3)
30722     exit (1);
30723   if (read (fd, data3, pagesize) != pagesize)
30724     exit (1);
30725   for (i = 0; i < pagesize; ++i)
30726     if (*(data + i) != *(data3 + i))
30727       exit (1);
30728   close (fd);
30729   exit (0);
30730 }
30731 _ACEOF
30732 rm -f conftest$ac_exeext
30733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30734   (eval $ac_link) 2>&5
30735   ac_status=$?
30736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30739   (eval $ac_try) 2>&5
30740   ac_status=$?
30741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742   (exit $ac_status); }; }; then
30743   ac_cv_func_mmap_fixed_mapped=yes
30744 else
30745   echo "$as_me: program exited with status $ac_status" >&5
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.$ac_ext >&5
30748
30749 ( exit $ac_status )
30750 ac_cv_func_mmap_fixed_mapped=no
30751 fi
30752 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30753 fi
30754 fi
30755 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30756 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30757 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30758
30759 cat >>confdefs.h <<\_ACEOF
30760 #define HAVE_MMAP 1
30761 _ACEOF
30762
30763 fi
30764 rm -f conftest.mmap
30765
30766 fi
30767
30768 else
30769
30770   # This lets us hard-code the functionality we know we'll have in the cross
30771   # target environment.  "Let" is a sugar-coated word placed on an especially
30772   # dull and tedious hack, actually.
30773   #
30774   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30775   # that involve linking, can't be used:
30776   #    "cannot open sim-crt0.o"
30777   #    "cannot open crt0.o"
30778   # etc.  All this is because there currently exists no unified, consistent
30779   # way for top level CC information to be passed down to target directories:
30780   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30781   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30782   # crosses can be removed.
30783
30784   # If Canadian cross, then don't pick up tools from the build directory.
30785   # Used only in GLIBCXX_EXPORT_INCLUDES.
30786   if test -n "$with_cross_host" &&
30787      test x"$build_alias" != x"$with_cross_host" &&
30788      test x"$build" != x"$target";
30789   then
30790     CANADIAN=yes
30791   else
30792     CANADIAN=no
30793   fi
30794
30795   # Construct crosses by hand, eliminating bits that need ld...
30796   # GLIBCXX_CHECK_COMPILER_FEATURES
30797   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30798   # GLIBCXX_CHECK_MATH_SUPPORT
30799
30800   # First, test for "known" system libraries.  We may be using newlib even
30801   # on a hosted environment.
30802   if test "x${with_newlib}" = "xyes"; then
30803     os_include_dir="os/newlib"
30804     cat >>confdefs.h <<\_ACEOF
30805 #define HAVE_HYPOT 1
30806 _ACEOF
30807
30808
30809     # GLIBCXX_CHECK_STDLIB_SUPPORT
30810     cat >>confdefs.h <<\_ACEOF
30811 #define HAVE_STRTOF 1
30812 _ACEOF
30813
30814     # AC_FUNC_MMAP
30815     cat >>confdefs.h <<\_ACEOF
30816 #define HAVE_MMAP 1
30817 _ACEOF
30818
30819
30820     cat >>confdefs.h <<\_ACEOF
30821 #define HAVE_ACOSF 1
30822 _ACEOF
30823
30824     cat >>confdefs.h <<\_ACEOF
30825 #define HAVE_ASINF 1
30826 _ACEOF
30827
30828     cat >>confdefs.h <<\_ACEOF
30829 #define HAVE_ATAN2F 1
30830 _ACEOF
30831
30832     cat >>confdefs.h <<\_ACEOF
30833 #define HAVE_ATANF 1
30834 _ACEOF
30835
30836     cat >>confdefs.h <<\_ACEOF
30837 #define HAVE_CEILF 1
30838 _ACEOF
30839
30840     cat >>confdefs.h <<\_ACEOF
30841 #define HAVE_COPYSIGN 1
30842 _ACEOF
30843
30844     cat >>confdefs.h <<\_ACEOF
30845 #define HAVE_COPYSIGNF 1
30846 _ACEOF
30847
30848     cat >>confdefs.h <<\_ACEOF
30849 #define HAVE_COSF 1
30850 _ACEOF
30851
30852     cat >>confdefs.h <<\_ACEOF
30853 #define HAVE_COSHF 1
30854 _ACEOF
30855
30856     cat >>confdefs.h <<\_ACEOF
30857 #define HAVE_EXPF 1
30858 _ACEOF
30859
30860     cat >>confdefs.h <<\_ACEOF
30861 #define HAVE_FABSF 1
30862 _ACEOF
30863
30864     cat >>confdefs.h <<\_ACEOF
30865 #define HAVE_FLOORF 1
30866 _ACEOF
30867
30868     cat >>confdefs.h <<\_ACEOF
30869 #define HAVE_FMODF 1
30870 _ACEOF
30871
30872     cat >>confdefs.h <<\_ACEOF
30873 #define HAVE_FREXPF 1
30874 _ACEOF
30875
30876     cat >>confdefs.h <<\_ACEOF
30877 #define HAVE_LDEXPF 1
30878 _ACEOF
30879
30880     cat >>confdefs.h <<\_ACEOF
30881 #define HAVE_LOG10F 1
30882 _ACEOF
30883
30884     cat >>confdefs.h <<\_ACEOF
30885 #define HAVE_LOGF 1
30886 _ACEOF
30887
30888     cat >>confdefs.h <<\_ACEOF
30889 #define HAVE_MODFF 1
30890 _ACEOF
30891
30892     cat >>confdefs.h <<\_ACEOF
30893 #define HAVE_POWF 1
30894 _ACEOF
30895
30896     cat >>confdefs.h <<\_ACEOF
30897 #define HAVE_SINF 1
30898 _ACEOF
30899
30900     cat >>confdefs.h <<\_ACEOF
30901 #define HAVE_SINHF 1
30902 _ACEOF
30903
30904     cat >>confdefs.h <<\_ACEOF
30905 #define HAVE_SQRTF 1
30906 _ACEOF
30907
30908     cat >>confdefs.h <<\_ACEOF
30909 #define HAVE_TANF 1
30910 _ACEOF
30911
30912     cat >>confdefs.h <<\_ACEOF
30913 #define HAVE_TANHF 1
30914 _ACEOF
30915
30916
30917     cat >>confdefs.h <<\_ACEOF
30918 #define HAVE_S_ISREG 1
30919 _ACEOF
30920
30921     cat >>confdefs.h <<\_ACEOF
30922 #define HAVE_S_IFREG 1
30923 _ACEOF
30924
30925   else
30926
30927 # Base decisions on target environment.
30928 case "${host}" in
30929   arm*-*-symbianelf*)
30930     # This is a freestanding configuration; there is nothing to do here.
30931     ;;
30932
30933   *-darwin*)
30934     # Darwin versions vary, but the linker should work in a cross environment,
30935     # so we just check for all the features here.
30936     # Check for available headers.
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30951     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30952     sys/types.h
30953 do
30954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30956   echo "$as_me:$LINENO: checking for $ac_header" >&5
30957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30959   echo $ECHO_N "(cached) $ECHO_C" >&6
30960 fi
30961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30963 else
30964   # Is the header compilable?
30965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30967 cat >conftest.$ac_ext <<_ACEOF
30968 /* confdefs.h.  */
30969 _ACEOF
30970 cat confdefs.h >>conftest.$ac_ext
30971 cat >>conftest.$ac_ext <<_ACEOF
30972 /* end confdefs.h.  */
30973 $ac_includes_default
30974 #include <$ac_header>
30975 _ACEOF
30976 rm -f conftest.$ac_objext
30977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30978   (eval $ac_compile) 2>conftest.er1
30979   ac_status=$?
30980   grep -v '^ *+' conftest.er1 >conftest.err
30981   rm -f conftest.er1
30982   cat conftest.err >&5
30983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984   (exit $ac_status); } &&
30985          { ac_try='test -z "$ac_c_werror_flag"
30986                          || test ! -s conftest.err'
30987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30988   (eval $ac_try) 2>&5
30989   ac_status=$?
30990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991   (exit $ac_status); }; } &&
30992          { ac_try='test -s conftest.$ac_objext'
30993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994   (eval $ac_try) 2>&5
30995   ac_status=$?
30996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997   (exit $ac_status); }; }; then
30998   ac_header_compiler=yes
30999 else
31000   echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.$ac_ext >&5
31002
31003 ac_header_compiler=no
31004 fi
31005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31007 echo "${ECHO_T}$ac_header_compiler" >&6
31008
31009 # Is the header present?
31010 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31012 cat >conftest.$ac_ext <<_ACEOF
31013 /* confdefs.h.  */
31014 _ACEOF
31015 cat confdefs.h >>conftest.$ac_ext
31016 cat >>conftest.$ac_ext <<_ACEOF
31017 /* end confdefs.h.  */
31018 #include <$ac_header>
31019 _ACEOF
31020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31021   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31022   ac_status=$?
31023   grep -v '^ *+' conftest.er1 >conftest.err
31024   rm -f conftest.er1
31025   cat conftest.err >&5
31026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027   (exit $ac_status); } >/dev/null; then
31028   if test -s conftest.err; then
31029     ac_cpp_err=$ac_c_preproc_warn_flag
31030     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31031   else
31032     ac_cpp_err=
31033   fi
31034 else
31035   ac_cpp_err=yes
31036 fi
31037 if test -z "$ac_cpp_err"; then
31038   ac_header_preproc=yes
31039 else
31040   echo "$as_me: failed program was:" >&5
31041 sed 's/^/| /' conftest.$ac_ext >&5
31042
31043   ac_header_preproc=no
31044 fi
31045 rm -f conftest.err conftest.$ac_ext
31046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31047 echo "${ECHO_T}$ac_header_preproc" >&6
31048
31049 # So?  What about this header?
31050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31051   yes:no: )
31052     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31054     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31055 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31056     ac_header_preproc=yes
31057     ;;
31058   no:yes:* )
31059     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31061     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31062 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31063     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31064 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31065     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31066 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31067     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31069     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31070 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31071     (
31072       cat <<\_ASBOX
31073 ## ----------------------------------------- ##
31074 ## Report this to the package-unused lists.  ##
31075 ## ----------------------------------------- ##
31076 _ASBOX
31077     ) |
31078       sed "s/^/$as_me: WARNING:     /" >&2
31079     ;;
31080 esac
31081 echo "$as_me:$LINENO: checking for $ac_header" >&5
31082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31084   echo $ECHO_N "(cached) $ECHO_C" >&6
31085 else
31086   eval "$as_ac_Header=\$ac_header_preproc"
31087 fi
31088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31090
31091 fi
31092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31093   cat >>confdefs.h <<_ACEOF
31094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31095 _ACEOF
31096
31097 fi
31098
31099 done
31100
31101
31102
31103   # All these tests are for C++; save the language and the compiler flags.
31104   # The CXXFLAGS thing is suspicious, but based on similar bits previously
31105   # found in GLIBCXX_CONFIGURE.
31106
31107
31108   ac_ext=cc
31109 ac_cpp='$CXXCPP $CPPFLAGS'
31110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31113
31114   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31115   ac_save_CXXFLAGS="$CXXFLAGS"
31116
31117   # Check for maintainer-mode bits.
31118   if test x"$USE_MAINTAINER_MODE" = xno; then
31119     WERROR=''
31120   else
31121     WERROR='-Werror'
31122   fi
31123
31124   # Check for -ffunction-sections -fdata-sections
31125   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31126 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31127   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31128   cat >conftest.$ac_ext <<_ACEOF
31129 /* confdefs.h.  */
31130 _ACEOF
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h.  */
31134
31135 int
31136 main ()
31137 {
31138 int foo;
31139   ;
31140   return 0;
31141 }
31142 _ACEOF
31143 rm -f conftest.$ac_objext
31144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31145   (eval $ac_compile) 2>conftest.er1
31146   ac_status=$?
31147   grep -v '^ *+' conftest.er1 >conftest.err
31148   rm -f conftest.er1
31149   cat conftest.err >&5
31150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151   (exit $ac_status); } &&
31152          { ac_try='test -z "$ac_cxx_werror_flag"
31153                          || test ! -s conftest.err'
31154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31155   (eval $ac_try) 2>&5
31156   ac_status=$?
31157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158   (exit $ac_status); }; } &&
31159          { ac_try='test -s conftest.$ac_objext'
31160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31161   (eval $ac_try) 2>&5
31162   ac_status=$?
31163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164   (exit $ac_status); }; }; then
31165   ac_fdsections=yes
31166 else
31167   echo "$as_me: failed program was:" >&5
31168 sed 's/^/| /' conftest.$ac_ext >&5
31169
31170 ac_fdsections=no
31171 fi
31172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31173   if test "$ac_test_CXXFLAGS" = set; then
31174     CXXFLAGS="$ac_save_CXXFLAGS"
31175   else
31176     # this is the suspicious part
31177     CXXFLAGS=''
31178   fi
31179   if test x"$ac_fdsections" = x"yes"; then
31180     SECTION_FLAGS='-ffunction-sections -fdata-sections'
31181   fi
31182   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31183 echo "${ECHO_T}$ac_fdsections" >&6
31184
31185   ac_ext=c
31186 ac_cpp='$CPP $CPPFLAGS'
31187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31190
31191
31192
31193
31194     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31195
31196   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31197   ac_save_CXXFLAGS="$CXXFLAGS"
31198   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31199
31200     echo "$as_me:$LINENO: checking for sin in -lm" >&5
31201 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31202 if test "${ac_cv_lib_m_sin+set}" = set; then
31203   echo $ECHO_N "(cached) $ECHO_C" >&6
31204 else
31205   ac_check_lib_save_LIBS=$LIBS
31206 LIBS="-lm  $LIBS"
31207 if test x$gcc_no_link = xyes; then
31208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31210    { (exit 1); exit 1; }; }
31211 fi
31212 cat >conftest.$ac_ext <<_ACEOF
31213 /* confdefs.h.  */
31214 _ACEOF
31215 cat confdefs.h >>conftest.$ac_ext
31216 cat >>conftest.$ac_ext <<_ACEOF
31217 /* end confdefs.h.  */
31218
31219 /* Override any gcc2 internal prototype to avoid an error.  */
31220 #ifdef __cplusplus
31221 extern "C"
31222 #endif
31223 /* We use char because int might match the return type of a gcc2
31224    builtin and then its argument prototype would still apply.  */
31225 char sin ();
31226 int
31227 main ()
31228 {
31229 sin ();
31230   ;
31231   return 0;
31232 }
31233 _ACEOF
31234 rm -f conftest.$ac_objext conftest$ac_exeext
31235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31236   (eval $ac_link) 2>conftest.er1
31237   ac_status=$?
31238   grep -v '^ *+' conftest.er1 >conftest.err
31239   rm -f conftest.er1
31240   cat conftest.err >&5
31241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242   (exit $ac_status); } &&
31243          { ac_try='test -z "$ac_c_werror_flag"
31244                          || test ! -s conftest.err'
31245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31246   (eval $ac_try) 2>&5
31247   ac_status=$?
31248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249   (exit $ac_status); }; } &&
31250          { ac_try='test -s conftest$ac_exeext'
31251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31252   (eval $ac_try) 2>&5
31253   ac_status=$?
31254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255   (exit $ac_status); }; }; then
31256   ac_cv_lib_m_sin=yes
31257 else
31258   echo "$as_me: failed program was:" >&5
31259 sed 's/^/| /' conftest.$ac_ext >&5
31260
31261 ac_cv_lib_m_sin=no
31262 fi
31263 rm -f conftest.err conftest.$ac_objext \
31264       conftest$ac_exeext conftest.$ac_ext
31265 LIBS=$ac_check_lib_save_LIBS
31266 fi
31267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31268 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31269 if test $ac_cv_lib_m_sin = yes; then
31270   libm="-lm"
31271 fi
31272
31273   ac_save_LIBS="$LIBS"
31274   LIBS="$LIBS $libm"
31275
31276
31277
31278   echo "$as_me:$LINENO: checking for isinf declaration" >&5
31279 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31280   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31281     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31282   echo $ECHO_N "(cached) $ECHO_C" >&6
31283 else
31284
31285
31286
31287       ac_ext=cc
31288 ac_cpp='$CXXCPP $CPPFLAGS'
31289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31292
31293       cat >conftest.$ac_ext <<_ACEOF
31294 /* confdefs.h.  */
31295 _ACEOF
31296 cat confdefs.h >>conftest.$ac_ext
31297 cat >>conftest.$ac_ext <<_ACEOF
31298 /* end confdefs.h.  */
31299 #include <math.h>
31300                       #ifdef HAVE_IEEEFP_H
31301                       #include <ieeefp.h>
31302                       #endif
31303
31304 int
31305 main ()
31306 {
31307  isinf(0);
31308   ;
31309   return 0;
31310 }
31311 _ACEOF
31312 rm -f conftest.$ac_objext
31313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31314   (eval $ac_compile) 2>conftest.er1
31315   ac_status=$?
31316   grep -v '^ *+' conftest.er1 >conftest.err
31317   rm -f conftest.er1
31318   cat conftest.err >&5
31319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320   (exit $ac_status); } &&
31321          { ac_try='test -z "$ac_cxx_werror_flag"
31322                          || test ! -s conftest.err'
31323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31324   (eval $ac_try) 2>&5
31325   ac_status=$?
31326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31327   (exit $ac_status); }; } &&
31328          { ac_try='test -s conftest.$ac_objext'
31329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31330   (eval $ac_try) 2>&5
31331   ac_status=$?
31332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333   (exit $ac_status); }; }; then
31334   glibcxx_cv_func_isinf_use=yes
31335 else
31336   echo "$as_me: failed program was:" >&5
31337 sed 's/^/| /' conftest.$ac_ext >&5
31338
31339 glibcxx_cv_func_isinf_use=no
31340 fi
31341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31342       ac_ext=c
31343 ac_cpp='$CPP $CPPFLAGS'
31344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31347
31348
31349 fi
31350
31351   fi
31352   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31353 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31354
31355   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31356
31357 for ac_func in isinf
31358 do
31359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31360 echo "$as_me:$LINENO: checking for $ac_func" >&5
31361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31362 if eval "test \"\${$as_ac_var+set}\" = set"; then
31363   echo $ECHO_N "(cached) $ECHO_C" >&6
31364 else
31365   if test x$gcc_no_link = xyes; then
31366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31368    { (exit 1); exit 1; }; }
31369 fi
31370 cat >conftest.$ac_ext <<_ACEOF
31371 /* confdefs.h.  */
31372 _ACEOF
31373 cat confdefs.h >>conftest.$ac_ext
31374 cat >>conftest.$ac_ext <<_ACEOF
31375 /* end confdefs.h.  */
31376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31378 #define $ac_func innocuous_$ac_func
31379
31380 /* System header to define __stub macros and hopefully few prototypes,
31381     which can conflict with char $ac_func (); below.
31382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31383     <limits.h> exists even on freestanding compilers.  */
31384
31385 #ifdef __STDC__
31386 # include <limits.h>
31387 #else
31388 # include <assert.h>
31389 #endif
31390
31391 #undef $ac_func
31392
31393 /* Override any gcc2 internal prototype to avoid an error.  */
31394 #ifdef __cplusplus
31395 extern "C"
31396 {
31397 #endif
31398 /* We use char because int might match the return type of a gcc2
31399    builtin and then its argument prototype would still apply.  */
31400 char $ac_func ();
31401 /* The GNU C library defines this for functions which it implements
31402     to always fail with ENOSYS.  Some functions are actually named
31403     something starting with __ and the normal name is an alias.  */
31404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31405 choke me
31406 #else
31407 char (*f) () = $ac_func;
31408 #endif
31409 #ifdef __cplusplus
31410 }
31411 #endif
31412
31413 int
31414 main ()
31415 {
31416 return f != $ac_func;
31417   ;
31418   return 0;
31419 }
31420 _ACEOF
31421 rm -f conftest.$ac_objext conftest$ac_exeext
31422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31423   (eval $ac_link) 2>conftest.er1
31424   ac_status=$?
31425   grep -v '^ *+' conftest.er1 >conftest.err
31426   rm -f conftest.er1
31427   cat conftest.err >&5
31428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429   (exit $ac_status); } &&
31430          { ac_try='test -z "$ac_c_werror_flag"
31431                          || test ! -s conftest.err'
31432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31433   (eval $ac_try) 2>&5
31434   ac_status=$?
31435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436   (exit $ac_status); }; } &&
31437          { ac_try='test -s conftest$ac_exeext'
31438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31439   (eval $ac_try) 2>&5
31440   ac_status=$?
31441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442   (exit $ac_status); }; }; then
31443   eval "$as_ac_var=yes"
31444 else
31445   echo "$as_me: failed program was:" >&5
31446 sed 's/^/| /' conftest.$ac_ext >&5
31447
31448 eval "$as_ac_var=no"
31449 fi
31450 rm -f conftest.err conftest.$ac_objext \
31451       conftest$ac_exeext conftest.$ac_ext
31452 fi
31453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31455 if test `eval echo '${'$as_ac_var'}'` = yes; then
31456   cat >>confdefs.h <<_ACEOF
31457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31458 _ACEOF
31459
31460 fi
31461 done
31462
31463   else
31464
31465   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31466 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31467   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31468     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31469   echo $ECHO_N "(cached) $ECHO_C" >&6
31470 else
31471
31472
31473
31474       ac_ext=cc
31475 ac_cpp='$CXXCPP $CPPFLAGS'
31476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31479
31480       cat >conftest.$ac_ext <<_ACEOF
31481 /* confdefs.h.  */
31482 _ACEOF
31483 cat confdefs.h >>conftest.$ac_ext
31484 cat >>conftest.$ac_ext <<_ACEOF
31485 /* end confdefs.h.  */
31486 #include <math.h>
31487                       #ifdef HAVE_IEEEFP_H
31488                       #include <ieeefp.h>
31489                       #endif
31490
31491 int
31492 main ()
31493 {
31494  _isinf(0);
31495   ;
31496   return 0;
31497 }
31498 _ACEOF
31499 rm -f conftest.$ac_objext
31500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31501   (eval $ac_compile) 2>conftest.er1
31502   ac_status=$?
31503   grep -v '^ *+' conftest.er1 >conftest.err
31504   rm -f conftest.er1
31505   cat conftest.err >&5
31506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507   (exit $ac_status); } &&
31508          { ac_try='test -z "$ac_cxx_werror_flag"
31509                          || test ! -s conftest.err'
31510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31511   (eval $ac_try) 2>&5
31512   ac_status=$?
31513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514   (exit $ac_status); }; } &&
31515          { ac_try='test -s conftest.$ac_objext'
31516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517   (eval $ac_try) 2>&5
31518   ac_status=$?
31519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520   (exit $ac_status); }; }; then
31521   glibcxx_cv_func__isinf_use=yes
31522 else
31523   echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31525
31526 glibcxx_cv_func__isinf_use=no
31527 fi
31528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31529       ac_ext=c
31530 ac_cpp='$CPP $CPPFLAGS'
31531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31534
31535
31536 fi
31537
31538   fi
31539   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31540 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31541
31542     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31543
31544 for ac_func in _isinf
31545 do
31546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31547 echo "$as_me:$LINENO: checking for $ac_func" >&5
31548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31549 if eval "test \"\${$as_ac_var+set}\" = set"; then
31550   echo $ECHO_N "(cached) $ECHO_C" >&6
31551 else
31552   if test x$gcc_no_link = xyes; then
31553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31555    { (exit 1); exit 1; }; }
31556 fi
31557 cat >conftest.$ac_ext <<_ACEOF
31558 /* confdefs.h.  */
31559 _ACEOF
31560 cat confdefs.h >>conftest.$ac_ext
31561 cat >>conftest.$ac_ext <<_ACEOF
31562 /* end confdefs.h.  */
31563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31565 #define $ac_func innocuous_$ac_func
31566
31567 /* System header to define __stub macros and hopefully few prototypes,
31568     which can conflict with char $ac_func (); below.
31569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31570     <limits.h> exists even on freestanding compilers.  */
31571
31572 #ifdef __STDC__
31573 # include <limits.h>
31574 #else
31575 # include <assert.h>
31576 #endif
31577
31578 #undef $ac_func
31579
31580 /* Override any gcc2 internal prototype to avoid an error.  */
31581 #ifdef __cplusplus
31582 extern "C"
31583 {
31584 #endif
31585 /* We use char because int might match the return type of a gcc2
31586    builtin and then its argument prototype would still apply.  */
31587 char $ac_func ();
31588 /* The GNU C library defines this for functions which it implements
31589     to always fail with ENOSYS.  Some functions are actually named
31590     something starting with __ and the normal name is an alias.  */
31591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31592 choke me
31593 #else
31594 char (*f) () = $ac_func;
31595 #endif
31596 #ifdef __cplusplus
31597 }
31598 #endif
31599
31600 int
31601 main ()
31602 {
31603 return f != $ac_func;
31604   ;
31605   return 0;
31606 }
31607 _ACEOF
31608 rm -f conftest.$ac_objext conftest$ac_exeext
31609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31610   (eval $ac_link) 2>conftest.er1
31611   ac_status=$?
31612   grep -v '^ *+' conftest.er1 >conftest.err
31613   rm -f conftest.er1
31614   cat conftest.err >&5
31615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616   (exit $ac_status); } &&
31617          { ac_try='test -z "$ac_c_werror_flag"
31618                          || test ! -s conftest.err'
31619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620   (eval $ac_try) 2>&5
31621   ac_status=$?
31622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623   (exit $ac_status); }; } &&
31624          { ac_try='test -s conftest$ac_exeext'
31625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626   (eval $ac_try) 2>&5
31627   ac_status=$?
31628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629   (exit $ac_status); }; }; then
31630   eval "$as_ac_var=yes"
31631 else
31632   echo "$as_me: failed program was:" >&5
31633 sed 's/^/| /' conftest.$ac_ext >&5
31634
31635 eval "$as_ac_var=no"
31636 fi
31637 rm -f conftest.err conftest.$ac_objext \
31638       conftest$ac_exeext conftest.$ac_ext
31639 fi
31640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31642 if test `eval echo '${'$as_ac_var'}'` = yes; then
31643   cat >>confdefs.h <<_ACEOF
31644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31645 _ACEOF
31646
31647 fi
31648 done
31649
31650     fi
31651   fi
31652
31653
31654
31655
31656
31657
31658   echo "$as_me:$LINENO: checking for isnan declaration" >&5
31659 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31660   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31661     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31662   echo $ECHO_N "(cached) $ECHO_C" >&6
31663 else
31664
31665
31666
31667       ac_ext=cc
31668 ac_cpp='$CXXCPP $CPPFLAGS'
31669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31672
31673       cat >conftest.$ac_ext <<_ACEOF
31674 /* confdefs.h.  */
31675 _ACEOF
31676 cat confdefs.h >>conftest.$ac_ext
31677 cat >>conftest.$ac_ext <<_ACEOF
31678 /* end confdefs.h.  */
31679 #include <math.h>
31680                       #ifdef HAVE_IEEEFP_H
31681                       #include <ieeefp.h>
31682                       #endif
31683
31684 int
31685 main ()
31686 {
31687  isnan(0);
31688   ;
31689   return 0;
31690 }
31691 _ACEOF
31692 rm -f conftest.$ac_objext
31693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31694   (eval $ac_compile) 2>conftest.er1
31695   ac_status=$?
31696   grep -v '^ *+' conftest.er1 >conftest.err
31697   rm -f conftest.er1
31698   cat conftest.err >&5
31699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700   (exit $ac_status); } &&
31701          { ac_try='test -z "$ac_cxx_werror_flag"
31702                          || test ! -s conftest.err'
31703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31704   (eval $ac_try) 2>&5
31705   ac_status=$?
31706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707   (exit $ac_status); }; } &&
31708          { ac_try='test -s conftest.$ac_objext'
31709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31710   (eval $ac_try) 2>&5
31711   ac_status=$?
31712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713   (exit $ac_status); }; }; then
31714   glibcxx_cv_func_isnan_use=yes
31715 else
31716   echo "$as_me: failed program was:" >&5
31717 sed 's/^/| /' conftest.$ac_ext >&5
31718
31719 glibcxx_cv_func_isnan_use=no
31720 fi
31721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31722       ac_ext=c
31723 ac_cpp='$CPP $CPPFLAGS'
31724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31727
31728
31729 fi
31730
31731   fi
31732   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31733 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31734
31735   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31736
31737 for ac_func in isnan
31738 do
31739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31740 echo "$as_me:$LINENO: checking for $ac_func" >&5
31741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31742 if eval "test \"\${$as_ac_var+set}\" = set"; then
31743   echo $ECHO_N "(cached) $ECHO_C" >&6
31744 else
31745   if test x$gcc_no_link = xyes; then
31746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31748    { (exit 1); exit 1; }; }
31749 fi
31750 cat >conftest.$ac_ext <<_ACEOF
31751 /* confdefs.h.  */
31752 _ACEOF
31753 cat confdefs.h >>conftest.$ac_ext
31754 cat >>conftest.$ac_ext <<_ACEOF
31755 /* end confdefs.h.  */
31756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31758 #define $ac_func innocuous_$ac_func
31759
31760 /* System header to define __stub macros and hopefully few prototypes,
31761     which can conflict with char $ac_func (); below.
31762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31763     <limits.h> exists even on freestanding compilers.  */
31764
31765 #ifdef __STDC__
31766 # include <limits.h>
31767 #else
31768 # include <assert.h>
31769 #endif
31770
31771 #undef $ac_func
31772
31773 /* Override any gcc2 internal prototype to avoid an error.  */
31774 #ifdef __cplusplus
31775 extern "C"
31776 {
31777 #endif
31778 /* We use char because int might match the return type of a gcc2
31779    builtin and then its argument prototype would still apply.  */
31780 char $ac_func ();
31781 /* The GNU C library defines this for functions which it implements
31782     to always fail with ENOSYS.  Some functions are actually named
31783     something starting with __ and the normal name is an alias.  */
31784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31785 choke me
31786 #else
31787 char (*f) () = $ac_func;
31788 #endif
31789 #ifdef __cplusplus
31790 }
31791 #endif
31792
31793 int
31794 main ()
31795 {
31796 return f != $ac_func;
31797   ;
31798   return 0;
31799 }
31800 _ACEOF
31801 rm -f conftest.$ac_objext conftest$ac_exeext
31802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31803   (eval $ac_link) 2>conftest.er1
31804   ac_status=$?
31805   grep -v '^ *+' conftest.er1 >conftest.err
31806   rm -f conftest.er1
31807   cat conftest.err >&5
31808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809   (exit $ac_status); } &&
31810          { ac_try='test -z "$ac_c_werror_flag"
31811                          || test ! -s conftest.err'
31812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31813   (eval $ac_try) 2>&5
31814   ac_status=$?
31815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816   (exit $ac_status); }; } &&
31817          { ac_try='test -s conftest$ac_exeext'
31818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819   (eval $ac_try) 2>&5
31820   ac_status=$?
31821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822   (exit $ac_status); }; }; then
31823   eval "$as_ac_var=yes"
31824 else
31825   echo "$as_me: failed program was:" >&5
31826 sed 's/^/| /' conftest.$ac_ext >&5
31827
31828 eval "$as_ac_var=no"
31829 fi
31830 rm -f conftest.err conftest.$ac_objext \
31831       conftest$ac_exeext conftest.$ac_ext
31832 fi
31833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31835 if test `eval echo '${'$as_ac_var'}'` = yes; then
31836   cat >>confdefs.h <<_ACEOF
31837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31838 _ACEOF
31839
31840 fi
31841 done
31842
31843   else
31844
31845   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31846 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31847   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31848     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31849   echo $ECHO_N "(cached) $ECHO_C" >&6
31850 else
31851
31852
31853
31854       ac_ext=cc
31855 ac_cpp='$CXXCPP $CPPFLAGS'
31856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31859
31860       cat >conftest.$ac_ext <<_ACEOF
31861 /* confdefs.h.  */
31862 _ACEOF
31863 cat confdefs.h >>conftest.$ac_ext
31864 cat >>conftest.$ac_ext <<_ACEOF
31865 /* end confdefs.h.  */
31866 #include <math.h>
31867                       #ifdef HAVE_IEEEFP_H
31868                       #include <ieeefp.h>
31869                       #endif
31870
31871 int
31872 main ()
31873 {
31874  _isnan(0);
31875   ;
31876   return 0;
31877 }
31878 _ACEOF
31879 rm -f conftest.$ac_objext
31880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31881   (eval $ac_compile) 2>conftest.er1
31882   ac_status=$?
31883   grep -v '^ *+' conftest.er1 >conftest.err
31884   rm -f conftest.er1
31885   cat conftest.err >&5
31886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887   (exit $ac_status); } &&
31888          { ac_try='test -z "$ac_cxx_werror_flag"
31889                          || test ! -s conftest.err'
31890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891   (eval $ac_try) 2>&5
31892   ac_status=$?
31893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894   (exit $ac_status); }; } &&
31895          { ac_try='test -s conftest.$ac_objext'
31896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31897   (eval $ac_try) 2>&5
31898   ac_status=$?
31899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900   (exit $ac_status); }; }; then
31901   glibcxx_cv_func__isnan_use=yes
31902 else
31903   echo "$as_me: failed program was:" >&5
31904 sed 's/^/| /' conftest.$ac_ext >&5
31905
31906 glibcxx_cv_func__isnan_use=no
31907 fi
31908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31909       ac_ext=c
31910 ac_cpp='$CPP $CPPFLAGS'
31911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31914
31915
31916 fi
31917
31918   fi
31919   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31920 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31921
31922     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31923
31924 for ac_func in _isnan
31925 do
31926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31927 echo "$as_me:$LINENO: checking for $ac_func" >&5
31928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31929 if eval "test \"\${$as_ac_var+set}\" = set"; then
31930   echo $ECHO_N "(cached) $ECHO_C" >&6
31931 else
31932   if test x$gcc_no_link = xyes; then
31933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31935    { (exit 1); exit 1; }; }
31936 fi
31937 cat >conftest.$ac_ext <<_ACEOF
31938 /* confdefs.h.  */
31939 _ACEOF
31940 cat confdefs.h >>conftest.$ac_ext
31941 cat >>conftest.$ac_ext <<_ACEOF
31942 /* end confdefs.h.  */
31943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31945 #define $ac_func innocuous_$ac_func
31946
31947 /* System header to define __stub macros and hopefully few prototypes,
31948     which can conflict with char $ac_func (); below.
31949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31950     <limits.h> exists even on freestanding compilers.  */
31951
31952 #ifdef __STDC__
31953 # include <limits.h>
31954 #else
31955 # include <assert.h>
31956 #endif
31957
31958 #undef $ac_func
31959
31960 /* Override any gcc2 internal prototype to avoid an error.  */
31961 #ifdef __cplusplus
31962 extern "C"
31963 {
31964 #endif
31965 /* We use char because int might match the return type of a gcc2
31966    builtin and then its argument prototype would still apply.  */
31967 char $ac_func ();
31968 /* The GNU C library defines this for functions which it implements
31969     to always fail with ENOSYS.  Some functions are actually named
31970     something starting with __ and the normal name is an alias.  */
31971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31972 choke me
31973 #else
31974 char (*f) () = $ac_func;
31975 #endif
31976 #ifdef __cplusplus
31977 }
31978 #endif
31979
31980 int
31981 main ()
31982 {
31983 return f != $ac_func;
31984   ;
31985   return 0;
31986 }
31987 _ACEOF
31988 rm -f conftest.$ac_objext conftest$ac_exeext
31989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31990   (eval $ac_link) 2>conftest.er1
31991   ac_status=$?
31992   grep -v '^ *+' conftest.er1 >conftest.err
31993   rm -f conftest.er1
31994   cat conftest.err >&5
31995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996   (exit $ac_status); } &&
31997          { ac_try='test -z "$ac_c_werror_flag"
31998                          || test ! -s conftest.err'
31999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32000   (eval $ac_try) 2>&5
32001   ac_status=$?
32002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003   (exit $ac_status); }; } &&
32004          { ac_try='test -s conftest$ac_exeext'
32005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32006   (eval $ac_try) 2>&5
32007   ac_status=$?
32008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009   (exit $ac_status); }; }; then
32010   eval "$as_ac_var=yes"
32011 else
32012   echo "$as_me: failed program was:" >&5
32013 sed 's/^/| /' conftest.$ac_ext >&5
32014
32015 eval "$as_ac_var=no"
32016 fi
32017 rm -f conftest.err conftest.$ac_objext \
32018       conftest$ac_exeext conftest.$ac_ext
32019 fi
32020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32022 if test `eval echo '${'$as_ac_var'}'` = yes; then
32023   cat >>confdefs.h <<_ACEOF
32024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32025 _ACEOF
32026
32027 fi
32028 done
32029
32030     fi
32031   fi
32032
32033
32034
32035
32036
32037
32038   echo "$as_me:$LINENO: checking for finite declaration" >&5
32039 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32040   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32041     if test "${glibcxx_cv_func_finite_use+set}" = set; then
32042   echo $ECHO_N "(cached) $ECHO_C" >&6
32043 else
32044
32045
32046
32047       ac_ext=cc
32048 ac_cpp='$CXXCPP $CPPFLAGS'
32049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32052
32053       cat >conftest.$ac_ext <<_ACEOF
32054 /* confdefs.h.  */
32055 _ACEOF
32056 cat confdefs.h >>conftest.$ac_ext
32057 cat >>conftest.$ac_ext <<_ACEOF
32058 /* end confdefs.h.  */
32059 #include <math.h>
32060                       #ifdef HAVE_IEEEFP_H
32061                       #include <ieeefp.h>
32062                       #endif
32063
32064 int
32065 main ()
32066 {
32067  finite(0);
32068   ;
32069   return 0;
32070 }
32071 _ACEOF
32072 rm -f conftest.$ac_objext
32073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32074   (eval $ac_compile) 2>conftest.er1
32075   ac_status=$?
32076   grep -v '^ *+' conftest.er1 >conftest.err
32077   rm -f conftest.er1
32078   cat conftest.err >&5
32079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080   (exit $ac_status); } &&
32081          { ac_try='test -z "$ac_cxx_werror_flag"
32082                          || test ! -s conftest.err'
32083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32084   (eval $ac_try) 2>&5
32085   ac_status=$?
32086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087   (exit $ac_status); }; } &&
32088          { ac_try='test -s conftest.$ac_objext'
32089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090   (eval $ac_try) 2>&5
32091   ac_status=$?
32092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093   (exit $ac_status); }; }; then
32094   glibcxx_cv_func_finite_use=yes
32095 else
32096   echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.$ac_ext >&5
32098
32099 glibcxx_cv_func_finite_use=no
32100 fi
32101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32102       ac_ext=c
32103 ac_cpp='$CPP $CPPFLAGS'
32104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32107
32108
32109 fi
32110
32111   fi
32112   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32113 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32114
32115   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32116
32117 for ac_func in finite
32118 do
32119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32120 echo "$as_me:$LINENO: checking for $ac_func" >&5
32121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32122 if eval "test \"\${$as_ac_var+set}\" = set"; then
32123   echo $ECHO_N "(cached) $ECHO_C" >&6
32124 else
32125   if test x$gcc_no_link = xyes; then
32126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32128    { (exit 1); exit 1; }; }
32129 fi
32130 cat >conftest.$ac_ext <<_ACEOF
32131 /* confdefs.h.  */
32132 _ACEOF
32133 cat confdefs.h >>conftest.$ac_ext
32134 cat >>conftest.$ac_ext <<_ACEOF
32135 /* end confdefs.h.  */
32136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32138 #define $ac_func innocuous_$ac_func
32139
32140 /* System header to define __stub macros and hopefully few prototypes,
32141     which can conflict with char $ac_func (); below.
32142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32143     <limits.h> exists even on freestanding compilers.  */
32144
32145 #ifdef __STDC__
32146 # include <limits.h>
32147 #else
32148 # include <assert.h>
32149 #endif
32150
32151 #undef $ac_func
32152
32153 /* Override any gcc2 internal prototype to avoid an error.  */
32154 #ifdef __cplusplus
32155 extern "C"
32156 {
32157 #endif
32158 /* We use char because int might match the return type of a gcc2
32159    builtin and then its argument prototype would still apply.  */
32160 char $ac_func ();
32161 /* The GNU C library defines this for functions which it implements
32162     to always fail with ENOSYS.  Some functions are actually named
32163     something starting with __ and the normal name is an alias.  */
32164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32165 choke me
32166 #else
32167 char (*f) () = $ac_func;
32168 #endif
32169 #ifdef __cplusplus
32170 }
32171 #endif
32172
32173 int
32174 main ()
32175 {
32176 return f != $ac_func;
32177   ;
32178   return 0;
32179 }
32180 _ACEOF
32181 rm -f conftest.$ac_objext conftest$ac_exeext
32182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32183   (eval $ac_link) 2>conftest.er1
32184   ac_status=$?
32185   grep -v '^ *+' conftest.er1 >conftest.err
32186   rm -f conftest.er1
32187   cat conftest.err >&5
32188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189   (exit $ac_status); } &&
32190          { ac_try='test -z "$ac_c_werror_flag"
32191                          || test ! -s conftest.err'
32192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32193   (eval $ac_try) 2>&5
32194   ac_status=$?
32195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196   (exit $ac_status); }; } &&
32197          { ac_try='test -s conftest$ac_exeext'
32198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32199   (eval $ac_try) 2>&5
32200   ac_status=$?
32201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202   (exit $ac_status); }; }; then
32203   eval "$as_ac_var=yes"
32204 else
32205   echo "$as_me: failed program was:" >&5
32206 sed 's/^/| /' conftest.$ac_ext >&5
32207
32208 eval "$as_ac_var=no"
32209 fi
32210 rm -f conftest.err conftest.$ac_objext \
32211       conftest$ac_exeext conftest.$ac_ext
32212 fi
32213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32215 if test `eval echo '${'$as_ac_var'}'` = yes; then
32216   cat >>confdefs.h <<_ACEOF
32217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32218 _ACEOF
32219
32220 fi
32221 done
32222
32223   else
32224
32225   echo "$as_me:$LINENO: checking for _finite declaration" >&5
32226 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32227   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32228     if test "${glibcxx_cv_func__finite_use+set}" = set; then
32229   echo $ECHO_N "(cached) $ECHO_C" >&6
32230 else
32231
32232
32233
32234       ac_ext=cc
32235 ac_cpp='$CXXCPP $CPPFLAGS'
32236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32239
32240       cat >conftest.$ac_ext <<_ACEOF
32241 /* confdefs.h.  */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h.  */
32246 #include <math.h>
32247                       #ifdef HAVE_IEEEFP_H
32248                       #include <ieeefp.h>
32249                       #endif
32250
32251 int
32252 main ()
32253 {
32254  _finite(0);
32255   ;
32256   return 0;
32257 }
32258 _ACEOF
32259 rm -f conftest.$ac_objext
32260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32261   (eval $ac_compile) 2>conftest.er1
32262   ac_status=$?
32263   grep -v '^ *+' conftest.er1 >conftest.err
32264   rm -f conftest.er1
32265   cat conftest.err >&5
32266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267   (exit $ac_status); } &&
32268          { ac_try='test -z "$ac_cxx_werror_flag"
32269                          || test ! -s conftest.err'
32270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32271   (eval $ac_try) 2>&5
32272   ac_status=$?
32273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274   (exit $ac_status); }; } &&
32275          { ac_try='test -s conftest.$ac_objext'
32276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32277   (eval $ac_try) 2>&5
32278   ac_status=$?
32279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280   (exit $ac_status); }; }; then
32281   glibcxx_cv_func__finite_use=yes
32282 else
32283   echo "$as_me: failed program was:" >&5
32284 sed 's/^/| /' conftest.$ac_ext >&5
32285
32286 glibcxx_cv_func__finite_use=no
32287 fi
32288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32289       ac_ext=c
32290 ac_cpp='$CPP $CPPFLAGS'
32291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32294
32295
32296 fi
32297
32298   fi
32299   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32300 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32301
32302     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32303
32304 for ac_func in _finite
32305 do
32306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32307 echo "$as_me:$LINENO: checking for $ac_func" >&5
32308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32309 if eval "test \"\${$as_ac_var+set}\" = set"; then
32310   echo $ECHO_N "(cached) $ECHO_C" >&6
32311 else
32312   if test x$gcc_no_link = xyes; then
32313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32315    { (exit 1); exit 1; }; }
32316 fi
32317 cat >conftest.$ac_ext <<_ACEOF
32318 /* confdefs.h.  */
32319 _ACEOF
32320 cat confdefs.h >>conftest.$ac_ext
32321 cat >>conftest.$ac_ext <<_ACEOF
32322 /* end confdefs.h.  */
32323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32324    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32325 #define $ac_func innocuous_$ac_func
32326
32327 /* System header to define __stub macros and hopefully few prototypes,
32328     which can conflict with char $ac_func (); below.
32329     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32330     <limits.h> exists even on freestanding compilers.  */
32331
32332 #ifdef __STDC__
32333 # include <limits.h>
32334 #else
32335 # include <assert.h>
32336 #endif
32337
32338 #undef $ac_func
32339
32340 /* Override any gcc2 internal prototype to avoid an error.  */
32341 #ifdef __cplusplus
32342 extern "C"
32343 {
32344 #endif
32345 /* We use char because int might match the return type of a gcc2
32346    builtin and then its argument prototype would still apply.  */
32347 char $ac_func ();
32348 /* The GNU C library defines this for functions which it implements
32349     to always fail with ENOSYS.  Some functions are actually named
32350     something starting with __ and the normal name is an alias.  */
32351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32352 choke me
32353 #else
32354 char (*f) () = $ac_func;
32355 #endif
32356 #ifdef __cplusplus
32357 }
32358 #endif
32359
32360 int
32361 main ()
32362 {
32363 return f != $ac_func;
32364   ;
32365   return 0;
32366 }
32367 _ACEOF
32368 rm -f conftest.$ac_objext conftest$ac_exeext
32369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32370   (eval $ac_link) 2>conftest.er1
32371   ac_status=$?
32372   grep -v '^ *+' conftest.er1 >conftest.err
32373   rm -f conftest.er1
32374   cat conftest.err >&5
32375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376   (exit $ac_status); } &&
32377          { ac_try='test -z "$ac_c_werror_flag"
32378                          || test ! -s conftest.err'
32379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32380   (eval $ac_try) 2>&5
32381   ac_status=$?
32382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383   (exit $ac_status); }; } &&
32384          { ac_try='test -s conftest$ac_exeext'
32385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32386   (eval $ac_try) 2>&5
32387   ac_status=$?
32388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389   (exit $ac_status); }; }; then
32390   eval "$as_ac_var=yes"
32391 else
32392   echo "$as_me: failed program was:" >&5
32393 sed 's/^/| /' conftest.$ac_ext >&5
32394
32395 eval "$as_ac_var=no"
32396 fi
32397 rm -f conftest.err conftest.$ac_objext \
32398       conftest$ac_exeext conftest.$ac_ext
32399 fi
32400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32402 if test `eval echo '${'$as_ac_var'}'` = yes; then
32403   cat >>confdefs.h <<_ACEOF
32404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32405 _ACEOF
32406
32407 fi
32408 done
32409
32410     fi
32411   fi
32412
32413
32414
32415
32416
32417
32418   echo "$as_me:$LINENO: checking for copysign declaration" >&5
32419 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32420   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32421     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32422   echo $ECHO_N "(cached) $ECHO_C" >&6
32423 else
32424
32425
32426
32427       ac_ext=cc
32428 ac_cpp='$CXXCPP $CPPFLAGS'
32429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32432
32433       cat >conftest.$ac_ext <<_ACEOF
32434 /* confdefs.h.  */
32435 _ACEOF
32436 cat confdefs.h >>conftest.$ac_ext
32437 cat >>conftest.$ac_ext <<_ACEOF
32438 /* end confdefs.h.  */
32439 #include <math.h>
32440 int
32441 main ()
32442 {
32443  copysign(0, 0);
32444   ;
32445   return 0;
32446 }
32447 _ACEOF
32448 rm -f conftest.$ac_objext
32449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32450   (eval $ac_compile) 2>conftest.er1
32451   ac_status=$?
32452   grep -v '^ *+' conftest.er1 >conftest.err
32453   rm -f conftest.er1
32454   cat conftest.err >&5
32455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456   (exit $ac_status); } &&
32457          { ac_try='test -z "$ac_cxx_werror_flag"
32458                          || test ! -s conftest.err'
32459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32460   (eval $ac_try) 2>&5
32461   ac_status=$?
32462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463   (exit $ac_status); }; } &&
32464          { ac_try='test -s conftest.$ac_objext'
32465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466   (eval $ac_try) 2>&5
32467   ac_status=$?
32468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469   (exit $ac_status); }; }; then
32470   glibcxx_cv_func_copysign_use=yes
32471 else
32472   echo "$as_me: failed program was:" >&5
32473 sed 's/^/| /' conftest.$ac_ext >&5
32474
32475 glibcxx_cv_func_copysign_use=no
32476 fi
32477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32478       ac_ext=c
32479 ac_cpp='$CPP $CPPFLAGS'
32480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32483
32484
32485 fi
32486
32487   fi
32488   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32489 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32490
32491   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32492
32493 for ac_func in copysign
32494 do
32495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32496 echo "$as_me:$LINENO: checking for $ac_func" >&5
32497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32498 if eval "test \"\${$as_ac_var+set}\" = set"; then
32499   echo $ECHO_N "(cached) $ECHO_C" >&6
32500 else
32501   if test x$gcc_no_link = xyes; then
32502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32504    { (exit 1); exit 1; }; }
32505 fi
32506 cat >conftest.$ac_ext <<_ACEOF
32507 /* confdefs.h.  */
32508 _ACEOF
32509 cat confdefs.h >>conftest.$ac_ext
32510 cat >>conftest.$ac_ext <<_ACEOF
32511 /* end confdefs.h.  */
32512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32514 #define $ac_func innocuous_$ac_func
32515
32516 /* System header to define __stub macros and hopefully few prototypes,
32517     which can conflict with char $ac_func (); below.
32518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32519     <limits.h> exists even on freestanding compilers.  */
32520
32521 #ifdef __STDC__
32522 # include <limits.h>
32523 #else
32524 # include <assert.h>
32525 #endif
32526
32527 #undef $ac_func
32528
32529 /* Override any gcc2 internal prototype to avoid an error.  */
32530 #ifdef __cplusplus
32531 extern "C"
32532 {
32533 #endif
32534 /* We use char because int might match the return type of a gcc2
32535    builtin and then its argument prototype would still apply.  */
32536 char $ac_func ();
32537 /* The GNU C library defines this for functions which it implements
32538     to always fail with ENOSYS.  Some functions are actually named
32539     something starting with __ and the normal name is an alias.  */
32540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32541 choke me
32542 #else
32543 char (*f) () = $ac_func;
32544 #endif
32545 #ifdef __cplusplus
32546 }
32547 #endif
32548
32549 int
32550 main ()
32551 {
32552 return f != $ac_func;
32553   ;
32554   return 0;
32555 }
32556 _ACEOF
32557 rm -f conftest.$ac_objext conftest$ac_exeext
32558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32559   (eval $ac_link) 2>conftest.er1
32560   ac_status=$?
32561   grep -v '^ *+' conftest.er1 >conftest.err
32562   rm -f conftest.er1
32563   cat conftest.err >&5
32564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565   (exit $ac_status); } &&
32566          { ac_try='test -z "$ac_c_werror_flag"
32567                          || test ! -s conftest.err'
32568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32569   (eval $ac_try) 2>&5
32570   ac_status=$?
32571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572   (exit $ac_status); }; } &&
32573          { ac_try='test -s conftest$ac_exeext'
32574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32575   (eval $ac_try) 2>&5
32576   ac_status=$?
32577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578   (exit $ac_status); }; }; then
32579   eval "$as_ac_var=yes"
32580 else
32581   echo "$as_me: failed program was:" >&5
32582 sed 's/^/| /' conftest.$ac_ext >&5
32583
32584 eval "$as_ac_var=no"
32585 fi
32586 rm -f conftest.err conftest.$ac_objext \
32587       conftest$ac_exeext conftest.$ac_ext
32588 fi
32589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32591 if test `eval echo '${'$as_ac_var'}'` = yes; then
32592   cat >>confdefs.h <<_ACEOF
32593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32594 _ACEOF
32595
32596 fi
32597 done
32598
32599   else
32600
32601   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32602 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32603   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32604     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32605   echo $ECHO_N "(cached) $ECHO_C" >&6
32606 else
32607
32608
32609
32610       ac_ext=cc
32611 ac_cpp='$CXXCPP $CPPFLAGS'
32612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32615
32616       cat >conftest.$ac_ext <<_ACEOF
32617 /* confdefs.h.  */
32618 _ACEOF
32619 cat confdefs.h >>conftest.$ac_ext
32620 cat >>conftest.$ac_ext <<_ACEOF
32621 /* end confdefs.h.  */
32622 #include <math.h>
32623 int
32624 main ()
32625 {
32626  _copysign(0, 0);
32627   ;
32628   return 0;
32629 }
32630 _ACEOF
32631 rm -f conftest.$ac_objext
32632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32633   (eval $ac_compile) 2>conftest.er1
32634   ac_status=$?
32635   grep -v '^ *+' conftest.er1 >conftest.err
32636   rm -f conftest.er1
32637   cat conftest.err >&5
32638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639   (exit $ac_status); } &&
32640          { ac_try='test -z "$ac_cxx_werror_flag"
32641                          || test ! -s conftest.err'
32642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643   (eval $ac_try) 2>&5
32644   ac_status=$?
32645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646   (exit $ac_status); }; } &&
32647          { ac_try='test -s conftest.$ac_objext'
32648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32649   (eval $ac_try) 2>&5
32650   ac_status=$?
32651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652   (exit $ac_status); }; }; then
32653   glibcxx_cv_func__copysign_use=yes
32654 else
32655   echo "$as_me: failed program was:" >&5
32656 sed 's/^/| /' conftest.$ac_ext >&5
32657
32658 glibcxx_cv_func__copysign_use=no
32659 fi
32660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32661       ac_ext=c
32662 ac_cpp='$CPP $CPPFLAGS'
32663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32666
32667
32668 fi
32669
32670   fi
32671   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32672 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32673
32674     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32675
32676 for ac_func in _copysign
32677 do
32678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32679 echo "$as_me:$LINENO: checking for $ac_func" >&5
32680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32681 if eval "test \"\${$as_ac_var+set}\" = set"; then
32682   echo $ECHO_N "(cached) $ECHO_C" >&6
32683 else
32684   if test x$gcc_no_link = xyes; then
32685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32687    { (exit 1); exit 1; }; }
32688 fi
32689 cat >conftest.$ac_ext <<_ACEOF
32690 /* confdefs.h.  */
32691 _ACEOF
32692 cat confdefs.h >>conftest.$ac_ext
32693 cat >>conftest.$ac_ext <<_ACEOF
32694 /* end confdefs.h.  */
32695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32696    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32697 #define $ac_func innocuous_$ac_func
32698
32699 /* System header to define __stub macros and hopefully few prototypes,
32700     which can conflict with char $ac_func (); below.
32701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32702     <limits.h> exists even on freestanding compilers.  */
32703
32704 #ifdef __STDC__
32705 # include <limits.h>
32706 #else
32707 # include <assert.h>
32708 #endif
32709
32710 #undef $ac_func
32711
32712 /* Override any gcc2 internal prototype to avoid an error.  */
32713 #ifdef __cplusplus
32714 extern "C"
32715 {
32716 #endif
32717 /* We use char because int might match the return type of a gcc2
32718    builtin and then its argument prototype would still apply.  */
32719 char $ac_func ();
32720 /* The GNU C library defines this for functions which it implements
32721     to always fail with ENOSYS.  Some functions are actually named
32722     something starting with __ and the normal name is an alias.  */
32723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32724 choke me
32725 #else
32726 char (*f) () = $ac_func;
32727 #endif
32728 #ifdef __cplusplus
32729 }
32730 #endif
32731
32732 int
32733 main ()
32734 {
32735 return f != $ac_func;
32736   ;
32737   return 0;
32738 }
32739 _ACEOF
32740 rm -f conftest.$ac_objext conftest$ac_exeext
32741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32742   (eval $ac_link) 2>conftest.er1
32743   ac_status=$?
32744   grep -v '^ *+' conftest.er1 >conftest.err
32745   rm -f conftest.er1
32746   cat conftest.err >&5
32747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748   (exit $ac_status); } &&
32749          { ac_try='test -z "$ac_c_werror_flag"
32750                          || test ! -s conftest.err'
32751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752   (eval $ac_try) 2>&5
32753   ac_status=$?
32754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755   (exit $ac_status); }; } &&
32756          { ac_try='test -s conftest$ac_exeext'
32757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758   (eval $ac_try) 2>&5
32759   ac_status=$?
32760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761   (exit $ac_status); }; }; then
32762   eval "$as_ac_var=yes"
32763 else
32764   echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.$ac_ext >&5
32766
32767 eval "$as_ac_var=no"
32768 fi
32769 rm -f conftest.err conftest.$ac_objext \
32770       conftest$ac_exeext conftest.$ac_ext
32771 fi
32772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32774 if test `eval echo '${'$as_ac_var'}'` = yes; then
32775   cat >>confdefs.h <<_ACEOF
32776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32777 _ACEOF
32778
32779 fi
32780 done
32781
32782     fi
32783   fi
32784
32785
32786
32787
32788
32789
32790   echo "$as_me:$LINENO: checking for sincos declaration" >&5
32791 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32792   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32793     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32794   echo $ECHO_N "(cached) $ECHO_C" >&6
32795 else
32796
32797
32798
32799       ac_ext=cc
32800 ac_cpp='$CXXCPP $CPPFLAGS'
32801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32804
32805       cat >conftest.$ac_ext <<_ACEOF
32806 /* confdefs.h.  */
32807 _ACEOF
32808 cat confdefs.h >>conftest.$ac_ext
32809 cat >>conftest.$ac_ext <<_ACEOF
32810 /* end confdefs.h.  */
32811 #include <math.h>
32812 int
32813 main ()
32814 {
32815  sincos(0, 0, 0);
32816   ;
32817   return 0;
32818 }
32819 _ACEOF
32820 rm -f conftest.$ac_objext
32821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32822   (eval $ac_compile) 2>conftest.er1
32823   ac_status=$?
32824   grep -v '^ *+' conftest.er1 >conftest.err
32825   rm -f conftest.er1
32826   cat conftest.err >&5
32827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828   (exit $ac_status); } &&
32829          { ac_try='test -z "$ac_cxx_werror_flag"
32830                          || test ! -s conftest.err'
32831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32832   (eval $ac_try) 2>&5
32833   ac_status=$?
32834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835   (exit $ac_status); }; } &&
32836          { ac_try='test -s conftest.$ac_objext'
32837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838   (eval $ac_try) 2>&5
32839   ac_status=$?
32840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841   (exit $ac_status); }; }; then
32842   glibcxx_cv_func_sincos_use=yes
32843 else
32844   echo "$as_me: failed program was:" >&5
32845 sed 's/^/| /' conftest.$ac_ext >&5
32846
32847 glibcxx_cv_func_sincos_use=no
32848 fi
32849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32850       ac_ext=c
32851 ac_cpp='$CPP $CPPFLAGS'
32852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32855
32856
32857 fi
32858
32859   fi
32860   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32861 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32862
32863   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32864
32865 for ac_func in sincos
32866 do
32867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32868 echo "$as_me:$LINENO: checking for $ac_func" >&5
32869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32870 if eval "test \"\${$as_ac_var+set}\" = set"; then
32871   echo $ECHO_N "(cached) $ECHO_C" >&6
32872 else
32873   if test x$gcc_no_link = xyes; then
32874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32876    { (exit 1); exit 1; }; }
32877 fi
32878 cat >conftest.$ac_ext <<_ACEOF
32879 /* confdefs.h.  */
32880 _ACEOF
32881 cat confdefs.h >>conftest.$ac_ext
32882 cat >>conftest.$ac_ext <<_ACEOF
32883 /* end confdefs.h.  */
32884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32885    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32886 #define $ac_func innocuous_$ac_func
32887
32888 /* System header to define __stub macros and hopefully few prototypes,
32889     which can conflict with char $ac_func (); below.
32890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32891     <limits.h> exists even on freestanding compilers.  */
32892
32893 #ifdef __STDC__
32894 # include <limits.h>
32895 #else
32896 # include <assert.h>
32897 #endif
32898
32899 #undef $ac_func
32900
32901 /* Override any gcc2 internal prototype to avoid an error.  */
32902 #ifdef __cplusplus
32903 extern "C"
32904 {
32905 #endif
32906 /* We use char because int might match the return type of a gcc2
32907    builtin and then its argument prototype would still apply.  */
32908 char $ac_func ();
32909 /* The GNU C library defines this for functions which it implements
32910     to always fail with ENOSYS.  Some functions are actually named
32911     something starting with __ and the normal name is an alias.  */
32912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32913 choke me
32914 #else
32915 char (*f) () = $ac_func;
32916 #endif
32917 #ifdef __cplusplus
32918 }
32919 #endif
32920
32921 int
32922 main ()
32923 {
32924 return f != $ac_func;
32925   ;
32926   return 0;
32927 }
32928 _ACEOF
32929 rm -f conftest.$ac_objext conftest$ac_exeext
32930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32931   (eval $ac_link) 2>conftest.er1
32932   ac_status=$?
32933   grep -v '^ *+' conftest.er1 >conftest.err
32934   rm -f conftest.er1
32935   cat conftest.err >&5
32936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32937   (exit $ac_status); } &&
32938          { ac_try='test -z "$ac_c_werror_flag"
32939                          || test ! -s conftest.err'
32940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941   (eval $ac_try) 2>&5
32942   ac_status=$?
32943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944   (exit $ac_status); }; } &&
32945          { ac_try='test -s conftest$ac_exeext'
32946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947   (eval $ac_try) 2>&5
32948   ac_status=$?
32949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950   (exit $ac_status); }; }; then
32951   eval "$as_ac_var=yes"
32952 else
32953   echo "$as_me: failed program was:" >&5
32954 sed 's/^/| /' conftest.$ac_ext >&5
32955
32956 eval "$as_ac_var=no"
32957 fi
32958 rm -f conftest.err conftest.$ac_objext \
32959       conftest$ac_exeext conftest.$ac_ext
32960 fi
32961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32963 if test `eval echo '${'$as_ac_var'}'` = yes; then
32964   cat >>confdefs.h <<_ACEOF
32965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32966 _ACEOF
32967
32968 fi
32969 done
32970
32971   else
32972
32973   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32974 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32975   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32976     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32977   echo $ECHO_N "(cached) $ECHO_C" >&6
32978 else
32979
32980
32981
32982       ac_ext=cc
32983 ac_cpp='$CXXCPP $CPPFLAGS'
32984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32987
32988       cat >conftest.$ac_ext <<_ACEOF
32989 /* confdefs.h.  */
32990 _ACEOF
32991 cat confdefs.h >>conftest.$ac_ext
32992 cat >>conftest.$ac_ext <<_ACEOF
32993 /* end confdefs.h.  */
32994 #include <math.h>
32995 int
32996 main ()
32997 {
32998  _sincos(0, 0, 0);
32999   ;
33000   return 0;
33001 }
33002 _ACEOF
33003 rm -f conftest.$ac_objext
33004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33005   (eval $ac_compile) 2>conftest.er1
33006   ac_status=$?
33007   grep -v '^ *+' conftest.er1 >conftest.err
33008   rm -f conftest.er1
33009   cat conftest.err >&5
33010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011   (exit $ac_status); } &&
33012          { ac_try='test -z "$ac_cxx_werror_flag"
33013                          || test ! -s conftest.err'
33014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33015   (eval $ac_try) 2>&5
33016   ac_status=$?
33017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018   (exit $ac_status); }; } &&
33019          { ac_try='test -s conftest.$ac_objext'
33020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33021   (eval $ac_try) 2>&5
33022   ac_status=$?
33023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024   (exit $ac_status); }; }; then
33025   glibcxx_cv_func__sincos_use=yes
33026 else
33027   echo "$as_me: failed program was:" >&5
33028 sed 's/^/| /' conftest.$ac_ext >&5
33029
33030 glibcxx_cv_func__sincos_use=no
33031 fi
33032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33033       ac_ext=c
33034 ac_cpp='$CPP $CPPFLAGS'
33035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33038
33039
33040 fi
33041
33042   fi
33043   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33044 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33045
33046     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33047
33048 for ac_func in _sincos
33049 do
33050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33051 echo "$as_me:$LINENO: checking for $ac_func" >&5
33052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33053 if eval "test \"\${$as_ac_var+set}\" = set"; then
33054   echo $ECHO_N "(cached) $ECHO_C" >&6
33055 else
33056   if test x$gcc_no_link = xyes; then
33057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33059    { (exit 1); exit 1; }; }
33060 fi
33061 cat >conftest.$ac_ext <<_ACEOF
33062 /* confdefs.h.  */
33063 _ACEOF
33064 cat confdefs.h >>conftest.$ac_ext
33065 cat >>conftest.$ac_ext <<_ACEOF
33066 /* end confdefs.h.  */
33067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33069 #define $ac_func innocuous_$ac_func
33070
33071 /* System header to define __stub macros and hopefully few prototypes,
33072     which can conflict with char $ac_func (); below.
33073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33074     <limits.h> exists even on freestanding compilers.  */
33075
33076 #ifdef __STDC__
33077 # include <limits.h>
33078 #else
33079 # include <assert.h>
33080 #endif
33081
33082 #undef $ac_func
33083
33084 /* Override any gcc2 internal prototype to avoid an error.  */
33085 #ifdef __cplusplus
33086 extern "C"
33087 {
33088 #endif
33089 /* We use char because int might match the return type of a gcc2
33090    builtin and then its argument prototype would still apply.  */
33091 char $ac_func ();
33092 /* The GNU C library defines this for functions which it implements
33093     to always fail with ENOSYS.  Some functions are actually named
33094     something starting with __ and the normal name is an alias.  */
33095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33096 choke me
33097 #else
33098 char (*f) () = $ac_func;
33099 #endif
33100 #ifdef __cplusplus
33101 }
33102 #endif
33103
33104 int
33105 main ()
33106 {
33107 return f != $ac_func;
33108   ;
33109   return 0;
33110 }
33111 _ACEOF
33112 rm -f conftest.$ac_objext conftest$ac_exeext
33113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33114   (eval $ac_link) 2>conftest.er1
33115   ac_status=$?
33116   grep -v '^ *+' conftest.er1 >conftest.err
33117   rm -f conftest.er1
33118   cat conftest.err >&5
33119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120   (exit $ac_status); } &&
33121          { ac_try='test -z "$ac_c_werror_flag"
33122                          || test ! -s conftest.err'
33123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33124   (eval $ac_try) 2>&5
33125   ac_status=$?
33126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127   (exit $ac_status); }; } &&
33128          { ac_try='test -s conftest$ac_exeext'
33129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130   (eval $ac_try) 2>&5
33131   ac_status=$?
33132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133   (exit $ac_status); }; }; then
33134   eval "$as_ac_var=yes"
33135 else
33136   echo "$as_me: failed program was:" >&5
33137 sed 's/^/| /' conftest.$ac_ext >&5
33138
33139 eval "$as_ac_var=no"
33140 fi
33141 rm -f conftest.err conftest.$ac_objext \
33142       conftest$ac_exeext conftest.$ac_ext
33143 fi
33144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33146 if test `eval echo '${'$as_ac_var'}'` = yes; then
33147   cat >>confdefs.h <<_ACEOF
33148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33149 _ACEOF
33150
33151 fi
33152 done
33153
33154     fi
33155   fi
33156
33157
33158
33159
33160
33161
33162   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33163 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33164   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33165     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33166   echo $ECHO_N "(cached) $ECHO_C" >&6
33167 else
33168
33169
33170
33171       ac_ext=cc
33172 ac_cpp='$CXXCPP $CPPFLAGS'
33173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33176
33177       cat >conftest.$ac_ext <<_ACEOF
33178 /* confdefs.h.  */
33179 _ACEOF
33180 cat confdefs.h >>conftest.$ac_ext
33181 cat >>conftest.$ac_ext <<_ACEOF
33182 /* end confdefs.h.  */
33183 #include <math.h>
33184                       #ifdef HAVE_IEEEFP_H
33185                       #include <ieeefp.h>
33186                       #endif
33187
33188 int
33189 main ()
33190 {
33191  fpclass(0);
33192   ;
33193   return 0;
33194 }
33195 _ACEOF
33196 rm -f conftest.$ac_objext
33197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33198   (eval $ac_compile) 2>conftest.er1
33199   ac_status=$?
33200   grep -v '^ *+' conftest.er1 >conftest.err
33201   rm -f conftest.er1
33202   cat conftest.err >&5
33203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204   (exit $ac_status); } &&
33205          { ac_try='test -z "$ac_cxx_werror_flag"
33206                          || test ! -s conftest.err'
33207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33208   (eval $ac_try) 2>&5
33209   ac_status=$?
33210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211   (exit $ac_status); }; } &&
33212          { ac_try='test -s conftest.$ac_objext'
33213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214   (eval $ac_try) 2>&5
33215   ac_status=$?
33216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217   (exit $ac_status); }; }; then
33218   glibcxx_cv_func_fpclass_use=yes
33219 else
33220   echo "$as_me: failed program was:" >&5
33221 sed 's/^/| /' conftest.$ac_ext >&5
33222
33223 glibcxx_cv_func_fpclass_use=no
33224 fi
33225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33226       ac_ext=c
33227 ac_cpp='$CPP $CPPFLAGS'
33228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33231
33232
33233 fi
33234
33235   fi
33236   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33237 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33238
33239   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33240
33241 for ac_func in fpclass
33242 do
33243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33244 echo "$as_me:$LINENO: checking for $ac_func" >&5
33245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33246 if eval "test \"\${$as_ac_var+set}\" = set"; then
33247   echo $ECHO_N "(cached) $ECHO_C" >&6
33248 else
33249   if test x$gcc_no_link = xyes; then
33250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33252    { (exit 1); exit 1; }; }
33253 fi
33254 cat >conftest.$ac_ext <<_ACEOF
33255 /* confdefs.h.  */
33256 _ACEOF
33257 cat confdefs.h >>conftest.$ac_ext
33258 cat >>conftest.$ac_ext <<_ACEOF
33259 /* end confdefs.h.  */
33260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33261    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33262 #define $ac_func innocuous_$ac_func
33263
33264 /* System header to define __stub macros and hopefully few prototypes,
33265     which can conflict with char $ac_func (); below.
33266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33267     <limits.h> exists even on freestanding compilers.  */
33268
33269 #ifdef __STDC__
33270 # include <limits.h>
33271 #else
33272 # include <assert.h>
33273 #endif
33274
33275 #undef $ac_func
33276
33277 /* Override any gcc2 internal prototype to avoid an error.  */
33278 #ifdef __cplusplus
33279 extern "C"
33280 {
33281 #endif
33282 /* We use char because int might match the return type of a gcc2
33283    builtin and then its argument prototype would still apply.  */
33284 char $ac_func ();
33285 /* The GNU C library defines this for functions which it implements
33286     to always fail with ENOSYS.  Some functions are actually named
33287     something starting with __ and the normal name is an alias.  */
33288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33289 choke me
33290 #else
33291 char (*f) () = $ac_func;
33292 #endif
33293 #ifdef __cplusplus
33294 }
33295 #endif
33296
33297 int
33298 main ()
33299 {
33300 return f != $ac_func;
33301   ;
33302   return 0;
33303 }
33304 _ACEOF
33305 rm -f conftest.$ac_objext conftest$ac_exeext
33306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33307   (eval $ac_link) 2>conftest.er1
33308   ac_status=$?
33309   grep -v '^ *+' conftest.er1 >conftest.err
33310   rm -f conftest.er1
33311   cat conftest.err >&5
33312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313   (exit $ac_status); } &&
33314          { ac_try='test -z "$ac_c_werror_flag"
33315                          || test ! -s conftest.err'
33316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33317   (eval $ac_try) 2>&5
33318   ac_status=$?
33319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320   (exit $ac_status); }; } &&
33321          { ac_try='test -s conftest$ac_exeext'
33322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323   (eval $ac_try) 2>&5
33324   ac_status=$?
33325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326   (exit $ac_status); }; }; then
33327   eval "$as_ac_var=yes"
33328 else
33329   echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33331
33332 eval "$as_ac_var=no"
33333 fi
33334 rm -f conftest.err conftest.$ac_objext \
33335       conftest$ac_exeext conftest.$ac_ext
33336 fi
33337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33339 if test `eval echo '${'$as_ac_var'}'` = yes; then
33340   cat >>confdefs.h <<_ACEOF
33341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33342 _ACEOF
33343
33344 fi
33345 done
33346
33347   else
33348
33349   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33350 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33351   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33352     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33353   echo $ECHO_N "(cached) $ECHO_C" >&6
33354 else
33355
33356
33357
33358       ac_ext=cc
33359 ac_cpp='$CXXCPP $CPPFLAGS'
33360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33363
33364       cat >conftest.$ac_ext <<_ACEOF
33365 /* confdefs.h.  */
33366 _ACEOF
33367 cat confdefs.h >>conftest.$ac_ext
33368 cat >>conftest.$ac_ext <<_ACEOF
33369 /* end confdefs.h.  */
33370 #include <math.h>
33371                       #ifdef HAVE_IEEEFP_H
33372                       #include <ieeefp.h>
33373                       #endif
33374
33375 int
33376 main ()
33377 {
33378  _fpclass(0);
33379   ;
33380   return 0;
33381 }
33382 _ACEOF
33383 rm -f conftest.$ac_objext
33384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33385   (eval $ac_compile) 2>conftest.er1
33386   ac_status=$?
33387   grep -v '^ *+' conftest.er1 >conftest.err
33388   rm -f conftest.er1
33389   cat conftest.err >&5
33390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391   (exit $ac_status); } &&
33392          { ac_try='test -z "$ac_cxx_werror_flag"
33393                          || test ! -s conftest.err'
33394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395   (eval $ac_try) 2>&5
33396   ac_status=$?
33397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398   (exit $ac_status); }; } &&
33399          { ac_try='test -s conftest.$ac_objext'
33400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33401   (eval $ac_try) 2>&5
33402   ac_status=$?
33403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404   (exit $ac_status); }; }; then
33405   glibcxx_cv_func__fpclass_use=yes
33406 else
33407   echo "$as_me: failed program was:" >&5
33408 sed 's/^/| /' conftest.$ac_ext >&5
33409
33410 glibcxx_cv_func__fpclass_use=no
33411 fi
33412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33413       ac_ext=c
33414 ac_cpp='$CPP $CPPFLAGS'
33415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33418
33419
33420 fi
33421
33422   fi
33423   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33424 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33425
33426     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33427
33428 for ac_func in _fpclass
33429 do
33430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33431 echo "$as_me:$LINENO: checking for $ac_func" >&5
33432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33433 if eval "test \"\${$as_ac_var+set}\" = set"; then
33434   echo $ECHO_N "(cached) $ECHO_C" >&6
33435 else
33436   if test x$gcc_no_link = xyes; then
33437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33439    { (exit 1); exit 1; }; }
33440 fi
33441 cat >conftest.$ac_ext <<_ACEOF
33442 /* confdefs.h.  */
33443 _ACEOF
33444 cat confdefs.h >>conftest.$ac_ext
33445 cat >>conftest.$ac_ext <<_ACEOF
33446 /* end confdefs.h.  */
33447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33449 #define $ac_func innocuous_$ac_func
33450
33451 /* System header to define __stub macros and hopefully few prototypes,
33452     which can conflict with char $ac_func (); below.
33453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33454     <limits.h> exists even on freestanding compilers.  */
33455
33456 #ifdef __STDC__
33457 # include <limits.h>
33458 #else
33459 # include <assert.h>
33460 #endif
33461
33462 #undef $ac_func
33463
33464 /* Override any gcc2 internal prototype to avoid an error.  */
33465 #ifdef __cplusplus
33466 extern "C"
33467 {
33468 #endif
33469 /* We use char because int might match the return type of a gcc2
33470    builtin and then its argument prototype would still apply.  */
33471 char $ac_func ();
33472 /* The GNU C library defines this for functions which it implements
33473     to always fail with ENOSYS.  Some functions are actually named
33474     something starting with __ and the normal name is an alias.  */
33475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33476 choke me
33477 #else
33478 char (*f) () = $ac_func;
33479 #endif
33480 #ifdef __cplusplus
33481 }
33482 #endif
33483
33484 int
33485 main ()
33486 {
33487 return f != $ac_func;
33488   ;
33489   return 0;
33490 }
33491 _ACEOF
33492 rm -f conftest.$ac_objext conftest$ac_exeext
33493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33494   (eval $ac_link) 2>conftest.er1
33495   ac_status=$?
33496   grep -v '^ *+' conftest.er1 >conftest.err
33497   rm -f conftest.er1
33498   cat conftest.err >&5
33499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500   (exit $ac_status); } &&
33501          { ac_try='test -z "$ac_c_werror_flag"
33502                          || test ! -s conftest.err'
33503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33504   (eval $ac_try) 2>&5
33505   ac_status=$?
33506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33507   (exit $ac_status); }; } &&
33508          { ac_try='test -s conftest$ac_exeext'
33509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33510   (eval $ac_try) 2>&5
33511   ac_status=$?
33512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33513   (exit $ac_status); }; }; then
33514   eval "$as_ac_var=yes"
33515 else
33516   echo "$as_me: failed program was:" >&5
33517 sed 's/^/| /' conftest.$ac_ext >&5
33518
33519 eval "$as_ac_var=no"
33520 fi
33521 rm -f conftest.err conftest.$ac_objext \
33522       conftest$ac_exeext conftest.$ac_ext
33523 fi
33524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33526 if test `eval echo '${'$as_ac_var'}'` = yes; then
33527   cat >>confdefs.h <<_ACEOF
33528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33529 _ACEOF
33530
33531 fi
33532 done
33533
33534     fi
33535   fi
33536
33537
33538
33539
33540
33541
33542   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33543 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33544   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33545     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33546   echo $ECHO_N "(cached) $ECHO_C" >&6
33547 else
33548
33549
33550
33551       ac_ext=cc
33552 ac_cpp='$CXXCPP $CPPFLAGS'
33553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33556
33557       cat >conftest.$ac_ext <<_ACEOF
33558 /* confdefs.h.  */
33559 _ACEOF
33560 cat confdefs.h >>conftest.$ac_ext
33561 cat >>conftest.$ac_ext <<_ACEOF
33562 /* end confdefs.h.  */
33563 #include <math.h>
33564                       #ifdef HAVE_IEEEFP_H
33565                       #include <ieeefp.h>
33566                       #endif
33567
33568 int
33569 main ()
33570 {
33571  qfpclass(0);
33572   ;
33573   return 0;
33574 }
33575 _ACEOF
33576 rm -f conftest.$ac_objext
33577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33578   (eval $ac_compile) 2>conftest.er1
33579   ac_status=$?
33580   grep -v '^ *+' conftest.er1 >conftest.err
33581   rm -f conftest.er1
33582   cat conftest.err >&5
33583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584   (exit $ac_status); } &&
33585          { ac_try='test -z "$ac_cxx_werror_flag"
33586                          || test ! -s conftest.err'
33587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33588   (eval $ac_try) 2>&5
33589   ac_status=$?
33590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591   (exit $ac_status); }; } &&
33592          { ac_try='test -s conftest.$ac_objext'
33593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33594   (eval $ac_try) 2>&5
33595   ac_status=$?
33596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597   (exit $ac_status); }; }; then
33598   glibcxx_cv_func_qfpclass_use=yes
33599 else
33600   echo "$as_me: failed program was:" >&5
33601 sed 's/^/| /' conftest.$ac_ext >&5
33602
33603 glibcxx_cv_func_qfpclass_use=no
33604 fi
33605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33606       ac_ext=c
33607 ac_cpp='$CPP $CPPFLAGS'
33608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33611
33612
33613 fi
33614
33615   fi
33616   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33617 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33618
33619   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33620
33621 for ac_func in qfpclass
33622 do
33623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33624 echo "$as_me:$LINENO: checking for $ac_func" >&5
33625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33626 if eval "test \"\${$as_ac_var+set}\" = set"; then
33627   echo $ECHO_N "(cached) $ECHO_C" >&6
33628 else
33629   if test x$gcc_no_link = xyes; then
33630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33632    { (exit 1); exit 1; }; }
33633 fi
33634 cat >conftest.$ac_ext <<_ACEOF
33635 /* confdefs.h.  */
33636 _ACEOF
33637 cat confdefs.h >>conftest.$ac_ext
33638 cat >>conftest.$ac_ext <<_ACEOF
33639 /* end confdefs.h.  */
33640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33642 #define $ac_func innocuous_$ac_func
33643
33644 /* System header to define __stub macros and hopefully few prototypes,
33645     which can conflict with char $ac_func (); below.
33646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33647     <limits.h> exists even on freestanding compilers.  */
33648
33649 #ifdef __STDC__
33650 # include <limits.h>
33651 #else
33652 # include <assert.h>
33653 #endif
33654
33655 #undef $ac_func
33656
33657 /* Override any gcc2 internal prototype to avoid an error.  */
33658 #ifdef __cplusplus
33659 extern "C"
33660 {
33661 #endif
33662 /* We use char because int might match the return type of a gcc2
33663    builtin and then its argument prototype would still apply.  */
33664 char $ac_func ();
33665 /* The GNU C library defines this for functions which it implements
33666     to always fail with ENOSYS.  Some functions are actually named
33667     something starting with __ and the normal name is an alias.  */
33668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33669 choke me
33670 #else
33671 char (*f) () = $ac_func;
33672 #endif
33673 #ifdef __cplusplus
33674 }
33675 #endif
33676
33677 int
33678 main ()
33679 {
33680 return f != $ac_func;
33681   ;
33682   return 0;
33683 }
33684 _ACEOF
33685 rm -f conftest.$ac_objext conftest$ac_exeext
33686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33687   (eval $ac_link) 2>conftest.er1
33688   ac_status=$?
33689   grep -v '^ *+' conftest.er1 >conftest.err
33690   rm -f conftest.er1
33691   cat conftest.err >&5
33692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693   (exit $ac_status); } &&
33694          { ac_try='test -z "$ac_c_werror_flag"
33695                          || test ! -s conftest.err'
33696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697   (eval $ac_try) 2>&5
33698   ac_status=$?
33699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700   (exit $ac_status); }; } &&
33701          { ac_try='test -s conftest$ac_exeext'
33702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703   (eval $ac_try) 2>&5
33704   ac_status=$?
33705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706   (exit $ac_status); }; }; then
33707   eval "$as_ac_var=yes"
33708 else
33709   echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.$ac_ext >&5
33711
33712 eval "$as_ac_var=no"
33713 fi
33714 rm -f conftest.err conftest.$ac_objext \
33715       conftest$ac_exeext conftest.$ac_ext
33716 fi
33717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33719 if test `eval echo '${'$as_ac_var'}'` = yes; then
33720   cat >>confdefs.h <<_ACEOF
33721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33722 _ACEOF
33723
33724 fi
33725 done
33726
33727   else
33728
33729   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33730 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33731   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33732     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33733   echo $ECHO_N "(cached) $ECHO_C" >&6
33734 else
33735
33736
33737
33738       ac_ext=cc
33739 ac_cpp='$CXXCPP $CPPFLAGS'
33740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33743
33744       cat >conftest.$ac_ext <<_ACEOF
33745 /* confdefs.h.  */
33746 _ACEOF
33747 cat confdefs.h >>conftest.$ac_ext
33748 cat >>conftest.$ac_ext <<_ACEOF
33749 /* end confdefs.h.  */
33750 #include <math.h>
33751                       #ifdef HAVE_IEEEFP_H
33752                       #include <ieeefp.h>
33753                       #endif
33754
33755 int
33756 main ()
33757 {
33758  _qfpclass(0);
33759   ;
33760   return 0;
33761 }
33762 _ACEOF
33763 rm -f conftest.$ac_objext
33764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33765   (eval $ac_compile) 2>conftest.er1
33766   ac_status=$?
33767   grep -v '^ *+' conftest.er1 >conftest.err
33768   rm -f conftest.er1
33769   cat conftest.err >&5
33770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771   (exit $ac_status); } &&
33772          { ac_try='test -z "$ac_cxx_werror_flag"
33773                          || test ! -s conftest.err'
33774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775   (eval $ac_try) 2>&5
33776   ac_status=$?
33777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778   (exit $ac_status); }; } &&
33779          { ac_try='test -s conftest.$ac_objext'
33780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33781   (eval $ac_try) 2>&5
33782   ac_status=$?
33783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784   (exit $ac_status); }; }; then
33785   glibcxx_cv_func__qfpclass_use=yes
33786 else
33787   echo "$as_me: failed program was:" >&5
33788 sed 's/^/| /' conftest.$ac_ext >&5
33789
33790 glibcxx_cv_func__qfpclass_use=no
33791 fi
33792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33793       ac_ext=c
33794 ac_cpp='$CPP $CPPFLAGS'
33795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33798
33799
33800 fi
33801
33802   fi
33803   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33804 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33805
33806     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33807
33808 for ac_func in _qfpclass
33809 do
33810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33811 echo "$as_me:$LINENO: checking for $ac_func" >&5
33812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33813 if eval "test \"\${$as_ac_var+set}\" = set"; then
33814   echo $ECHO_N "(cached) $ECHO_C" >&6
33815 else
33816   if test x$gcc_no_link = xyes; then
33817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33819    { (exit 1); exit 1; }; }
33820 fi
33821 cat >conftest.$ac_ext <<_ACEOF
33822 /* confdefs.h.  */
33823 _ACEOF
33824 cat confdefs.h >>conftest.$ac_ext
33825 cat >>conftest.$ac_ext <<_ACEOF
33826 /* end confdefs.h.  */
33827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33828    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33829 #define $ac_func innocuous_$ac_func
33830
33831 /* System header to define __stub macros and hopefully few prototypes,
33832     which can conflict with char $ac_func (); below.
33833     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33834     <limits.h> exists even on freestanding compilers.  */
33835
33836 #ifdef __STDC__
33837 # include <limits.h>
33838 #else
33839 # include <assert.h>
33840 #endif
33841
33842 #undef $ac_func
33843
33844 /* Override any gcc2 internal prototype to avoid an error.  */
33845 #ifdef __cplusplus
33846 extern "C"
33847 {
33848 #endif
33849 /* We use char because int might match the return type of a gcc2
33850    builtin and then its argument prototype would still apply.  */
33851 char $ac_func ();
33852 /* The GNU C library defines this for functions which it implements
33853     to always fail with ENOSYS.  Some functions are actually named
33854     something starting with __ and the normal name is an alias.  */
33855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33856 choke me
33857 #else
33858 char (*f) () = $ac_func;
33859 #endif
33860 #ifdef __cplusplus
33861 }
33862 #endif
33863
33864 int
33865 main ()
33866 {
33867 return f != $ac_func;
33868   ;
33869   return 0;
33870 }
33871 _ACEOF
33872 rm -f conftest.$ac_objext conftest$ac_exeext
33873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33874   (eval $ac_link) 2>conftest.er1
33875   ac_status=$?
33876   grep -v '^ *+' conftest.er1 >conftest.err
33877   rm -f conftest.er1
33878   cat conftest.err >&5
33879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880   (exit $ac_status); } &&
33881          { ac_try='test -z "$ac_c_werror_flag"
33882                          || test ! -s conftest.err'
33883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33884   (eval $ac_try) 2>&5
33885   ac_status=$?
33886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33887   (exit $ac_status); }; } &&
33888          { ac_try='test -s conftest$ac_exeext'
33889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33890   (eval $ac_try) 2>&5
33891   ac_status=$?
33892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33893   (exit $ac_status); }; }; then
33894   eval "$as_ac_var=yes"
33895 else
33896   echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.$ac_ext >&5
33898
33899 eval "$as_ac_var=no"
33900 fi
33901 rm -f conftest.err conftest.$ac_objext \
33902       conftest$ac_exeext conftest.$ac_ext
33903 fi
33904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33906 if test `eval echo '${'$as_ac_var'}'` = yes; then
33907   cat >>confdefs.h <<_ACEOF
33908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33909 _ACEOF
33910
33911 fi
33912 done
33913
33914     fi
33915   fi
33916
33917
33918
33919
33920
33921
33922   echo "$as_me:$LINENO: checking for hypot declaration" >&5
33923 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33924   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33925     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33926   echo $ECHO_N "(cached) $ECHO_C" >&6
33927 else
33928
33929
33930
33931       ac_ext=cc
33932 ac_cpp='$CXXCPP $CPPFLAGS'
33933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33936
33937       cat >conftest.$ac_ext <<_ACEOF
33938 /* confdefs.h.  */
33939 _ACEOF
33940 cat confdefs.h >>conftest.$ac_ext
33941 cat >>conftest.$ac_ext <<_ACEOF
33942 /* end confdefs.h.  */
33943 #include <math.h>
33944 int
33945 main ()
33946 {
33947  hypot(0, 0);
33948   ;
33949   return 0;
33950 }
33951 _ACEOF
33952 rm -f conftest.$ac_objext
33953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33954   (eval $ac_compile) 2>conftest.er1
33955   ac_status=$?
33956   grep -v '^ *+' conftest.er1 >conftest.err
33957   rm -f conftest.er1
33958   cat conftest.err >&5
33959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960   (exit $ac_status); } &&
33961          { ac_try='test -z "$ac_cxx_werror_flag"
33962                          || test ! -s conftest.err'
33963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964   (eval $ac_try) 2>&5
33965   ac_status=$?
33966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967   (exit $ac_status); }; } &&
33968          { ac_try='test -s conftest.$ac_objext'
33969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33970   (eval $ac_try) 2>&5
33971   ac_status=$?
33972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973   (exit $ac_status); }; }; then
33974   glibcxx_cv_func_hypot_use=yes
33975 else
33976   echo "$as_me: failed program was:" >&5
33977 sed 's/^/| /' conftest.$ac_ext >&5
33978
33979 glibcxx_cv_func_hypot_use=no
33980 fi
33981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33982       ac_ext=c
33983 ac_cpp='$CPP $CPPFLAGS'
33984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33987
33988
33989 fi
33990
33991   fi
33992   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33993 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33994
33995   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33996
33997 for ac_func in hypot
33998 do
33999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34000 echo "$as_me:$LINENO: checking for $ac_func" >&5
34001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34002 if eval "test \"\${$as_ac_var+set}\" = set"; then
34003   echo $ECHO_N "(cached) $ECHO_C" >&6
34004 else
34005   if test x$gcc_no_link = xyes; then
34006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34008    { (exit 1); exit 1; }; }
34009 fi
34010 cat >conftest.$ac_ext <<_ACEOF
34011 /* confdefs.h.  */
34012 _ACEOF
34013 cat confdefs.h >>conftest.$ac_ext
34014 cat >>conftest.$ac_ext <<_ACEOF
34015 /* end confdefs.h.  */
34016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34018 #define $ac_func innocuous_$ac_func
34019
34020 /* System header to define __stub macros and hopefully few prototypes,
34021     which can conflict with char $ac_func (); below.
34022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34023     <limits.h> exists even on freestanding compilers.  */
34024
34025 #ifdef __STDC__
34026 # include <limits.h>
34027 #else
34028 # include <assert.h>
34029 #endif
34030
34031 #undef $ac_func
34032
34033 /* Override any gcc2 internal prototype to avoid an error.  */
34034 #ifdef __cplusplus
34035 extern "C"
34036 {
34037 #endif
34038 /* We use char because int might match the return type of a gcc2
34039    builtin and then its argument prototype would still apply.  */
34040 char $ac_func ();
34041 /* The GNU C library defines this for functions which it implements
34042     to always fail with ENOSYS.  Some functions are actually named
34043     something starting with __ and the normal name is an alias.  */
34044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34045 choke me
34046 #else
34047 char (*f) () = $ac_func;
34048 #endif
34049 #ifdef __cplusplus
34050 }
34051 #endif
34052
34053 int
34054 main ()
34055 {
34056 return f != $ac_func;
34057   ;
34058   return 0;
34059 }
34060 _ACEOF
34061 rm -f conftest.$ac_objext conftest$ac_exeext
34062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34063   (eval $ac_link) 2>conftest.er1
34064   ac_status=$?
34065   grep -v '^ *+' conftest.er1 >conftest.err
34066   rm -f conftest.er1
34067   cat conftest.err >&5
34068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069   (exit $ac_status); } &&
34070          { ac_try='test -z "$ac_c_werror_flag"
34071                          || test ! -s conftest.err'
34072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073   (eval $ac_try) 2>&5
34074   ac_status=$?
34075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076   (exit $ac_status); }; } &&
34077          { ac_try='test -s conftest$ac_exeext'
34078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079   (eval $ac_try) 2>&5
34080   ac_status=$?
34081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082   (exit $ac_status); }; }; then
34083   eval "$as_ac_var=yes"
34084 else
34085   echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.$ac_ext >&5
34087
34088 eval "$as_ac_var=no"
34089 fi
34090 rm -f conftest.err conftest.$ac_objext \
34091       conftest$ac_exeext conftest.$ac_ext
34092 fi
34093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34095 if test `eval echo '${'$as_ac_var'}'` = yes; then
34096   cat >>confdefs.h <<_ACEOF
34097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34098 _ACEOF
34099
34100 fi
34101 done
34102
34103   else
34104
34105   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34106 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34107   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34108     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34109   echo $ECHO_N "(cached) $ECHO_C" >&6
34110 else
34111
34112
34113
34114       ac_ext=cc
34115 ac_cpp='$CXXCPP $CPPFLAGS'
34116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34119
34120       cat >conftest.$ac_ext <<_ACEOF
34121 /* confdefs.h.  */
34122 _ACEOF
34123 cat confdefs.h >>conftest.$ac_ext
34124 cat >>conftest.$ac_ext <<_ACEOF
34125 /* end confdefs.h.  */
34126 #include <math.h>
34127 int
34128 main ()
34129 {
34130  _hypot(0, 0);
34131   ;
34132   return 0;
34133 }
34134 _ACEOF
34135 rm -f conftest.$ac_objext
34136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34137   (eval $ac_compile) 2>conftest.er1
34138   ac_status=$?
34139   grep -v '^ *+' conftest.er1 >conftest.err
34140   rm -f conftest.er1
34141   cat conftest.err >&5
34142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143   (exit $ac_status); } &&
34144          { ac_try='test -z "$ac_cxx_werror_flag"
34145                          || test ! -s conftest.err'
34146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34147   (eval $ac_try) 2>&5
34148   ac_status=$?
34149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150   (exit $ac_status); }; } &&
34151          { ac_try='test -s conftest.$ac_objext'
34152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34153   (eval $ac_try) 2>&5
34154   ac_status=$?
34155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156   (exit $ac_status); }; }; then
34157   glibcxx_cv_func__hypot_use=yes
34158 else
34159   echo "$as_me: failed program was:" >&5
34160 sed 's/^/| /' conftest.$ac_ext >&5
34161
34162 glibcxx_cv_func__hypot_use=no
34163 fi
34164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34165       ac_ext=c
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34170
34171
34172 fi
34173
34174   fi
34175   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34176 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34177
34178     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34179
34180 for ac_func in _hypot
34181 do
34182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34183 echo "$as_me:$LINENO: checking for $ac_func" >&5
34184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34185 if eval "test \"\${$as_ac_var+set}\" = set"; then
34186   echo $ECHO_N "(cached) $ECHO_C" >&6
34187 else
34188   if test x$gcc_no_link = xyes; then
34189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34191    { (exit 1); exit 1; }; }
34192 fi
34193 cat >conftest.$ac_ext <<_ACEOF
34194 /* confdefs.h.  */
34195 _ACEOF
34196 cat confdefs.h >>conftest.$ac_ext
34197 cat >>conftest.$ac_ext <<_ACEOF
34198 /* end confdefs.h.  */
34199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34200    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34201 #define $ac_func innocuous_$ac_func
34202
34203 /* System header to define __stub macros and hopefully few prototypes,
34204     which can conflict with char $ac_func (); below.
34205     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34206     <limits.h> exists even on freestanding compilers.  */
34207
34208 #ifdef __STDC__
34209 # include <limits.h>
34210 #else
34211 # include <assert.h>
34212 #endif
34213
34214 #undef $ac_func
34215
34216 /* Override any gcc2 internal prototype to avoid an error.  */
34217 #ifdef __cplusplus
34218 extern "C"
34219 {
34220 #endif
34221 /* We use char because int might match the return type of a gcc2
34222    builtin and then its argument prototype would still apply.  */
34223 char $ac_func ();
34224 /* The GNU C library defines this for functions which it implements
34225     to always fail with ENOSYS.  Some functions are actually named
34226     something starting with __ and the normal name is an alias.  */
34227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34228 choke me
34229 #else
34230 char (*f) () = $ac_func;
34231 #endif
34232 #ifdef __cplusplus
34233 }
34234 #endif
34235
34236 int
34237 main ()
34238 {
34239 return f != $ac_func;
34240   ;
34241   return 0;
34242 }
34243 _ACEOF
34244 rm -f conftest.$ac_objext conftest$ac_exeext
34245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34246   (eval $ac_link) 2>conftest.er1
34247   ac_status=$?
34248   grep -v '^ *+' conftest.er1 >conftest.err
34249   rm -f conftest.er1
34250   cat conftest.err >&5
34251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252   (exit $ac_status); } &&
34253          { ac_try='test -z "$ac_c_werror_flag"
34254                          || test ! -s conftest.err'
34255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34256   (eval $ac_try) 2>&5
34257   ac_status=$?
34258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259   (exit $ac_status); }; } &&
34260          { ac_try='test -s conftest$ac_exeext'
34261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262   (eval $ac_try) 2>&5
34263   ac_status=$?
34264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265   (exit $ac_status); }; }; then
34266   eval "$as_ac_var=yes"
34267 else
34268   echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.$ac_ext >&5
34270
34271 eval "$as_ac_var=no"
34272 fi
34273 rm -f conftest.err conftest.$ac_objext \
34274       conftest$ac_exeext conftest.$ac_ext
34275 fi
34276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34278 if test `eval echo '${'$as_ac_var'}'` = yes; then
34279   cat >>confdefs.h <<_ACEOF
34280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34281 _ACEOF
34282
34283 fi
34284 done
34285
34286     fi
34287   fi
34288
34289
34290
34291
34292
34293
34294     echo "$as_me:$LINENO: checking for float trig functions" >&5
34295 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34296   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34297   echo $ECHO_N "(cached) $ECHO_C" >&6
34298 else
34299
34300
34301
34302     ac_ext=cc
34303 ac_cpp='$CXXCPP $CPPFLAGS'
34304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34307
34308     cat >conftest.$ac_ext <<_ACEOF
34309 /* confdefs.h.  */
34310 _ACEOF
34311 cat confdefs.h >>conftest.$ac_ext
34312 cat >>conftest.$ac_ext <<_ACEOF
34313 /* end confdefs.h.  */
34314 #include <math.h>
34315 int
34316 main ()
34317 {
34318 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34319   ;
34320   return 0;
34321 }
34322 _ACEOF
34323 rm -f conftest.$ac_objext
34324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34325   (eval $ac_compile) 2>conftest.er1
34326   ac_status=$?
34327   grep -v '^ *+' conftest.er1 >conftest.err
34328   rm -f conftest.er1
34329   cat conftest.err >&5
34330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331   (exit $ac_status); } &&
34332          { ac_try='test -z "$ac_cxx_werror_flag"
34333                          || test ! -s conftest.err'
34334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34335   (eval $ac_try) 2>&5
34336   ac_status=$?
34337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34338   (exit $ac_status); }; } &&
34339          { ac_try='test -s conftest.$ac_objext'
34340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34341   (eval $ac_try) 2>&5
34342   ac_status=$?
34343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344   (exit $ac_status); }; }; then
34345   glibcxx_cv_func_float_trig_use=yes
34346 else
34347   echo "$as_me: failed program was:" >&5
34348 sed 's/^/| /' conftest.$ac_ext >&5
34349
34350 glibcxx_cv_func_float_trig_use=no
34351 fi
34352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34353     ac_ext=c
34354 ac_cpp='$CPP $CPPFLAGS'
34355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34358
34359 fi
34360
34361   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34362 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34363   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34374 do
34375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34376 echo "$as_me:$LINENO: checking for $ac_func" >&5
34377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34378 if eval "test \"\${$as_ac_var+set}\" = set"; then
34379   echo $ECHO_N "(cached) $ECHO_C" >&6
34380 else
34381   if test x$gcc_no_link = xyes; then
34382   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34384    { (exit 1); exit 1; }; }
34385 fi
34386 cat >conftest.$ac_ext <<_ACEOF
34387 /* confdefs.h.  */
34388 _ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h.  */
34392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34393    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34394 #define $ac_func innocuous_$ac_func
34395
34396 /* System header to define __stub macros and hopefully few prototypes,
34397     which can conflict with char $ac_func (); below.
34398     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34399     <limits.h> exists even on freestanding compilers.  */
34400
34401 #ifdef __STDC__
34402 # include <limits.h>
34403 #else
34404 # include <assert.h>
34405 #endif
34406
34407 #undef $ac_func
34408
34409 /* Override any gcc2 internal prototype to avoid an error.  */
34410 #ifdef __cplusplus
34411 extern "C"
34412 {
34413 #endif
34414 /* We use char because int might match the return type of a gcc2
34415    builtin and then its argument prototype would still apply.  */
34416 char $ac_func ();
34417 /* The GNU C library defines this for functions which it implements
34418     to always fail with ENOSYS.  Some functions are actually named
34419     something starting with __ and the normal name is an alias.  */
34420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34421 choke me
34422 #else
34423 char (*f) () = $ac_func;
34424 #endif
34425 #ifdef __cplusplus
34426 }
34427 #endif
34428
34429 int
34430 main ()
34431 {
34432 return f != $ac_func;
34433   ;
34434   return 0;
34435 }
34436 _ACEOF
34437 rm -f conftest.$ac_objext conftest$ac_exeext
34438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34439   (eval $ac_link) 2>conftest.er1
34440   ac_status=$?
34441   grep -v '^ *+' conftest.er1 >conftest.err
34442   rm -f conftest.er1
34443   cat conftest.err >&5
34444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445   (exit $ac_status); } &&
34446          { ac_try='test -z "$ac_c_werror_flag"
34447                          || test ! -s conftest.err'
34448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449   (eval $ac_try) 2>&5
34450   ac_status=$?
34451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452   (exit $ac_status); }; } &&
34453          { ac_try='test -s conftest$ac_exeext'
34454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34455   (eval $ac_try) 2>&5
34456   ac_status=$?
34457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458   (exit $ac_status); }; }; then
34459   eval "$as_ac_var=yes"
34460 else
34461   echo "$as_me: failed program was:" >&5
34462 sed 's/^/| /' conftest.$ac_ext >&5
34463
34464 eval "$as_ac_var=no"
34465 fi
34466 rm -f conftest.err conftest.$ac_objext \
34467       conftest$ac_exeext conftest.$ac_ext
34468 fi
34469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34471 if test `eval echo '${'$as_ac_var'}'` = yes; then
34472   cat >>confdefs.h <<_ACEOF
34473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34474 _ACEOF
34475
34476 fi
34477 done
34478
34479   else
34480     echo "$as_me:$LINENO: checking for _float trig functions" >&5
34481 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34482     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34483   echo $ECHO_N "(cached) $ECHO_C" >&6
34484 else
34485
34486
34487
34488       ac_ext=cc
34489 ac_cpp='$CXXCPP $CPPFLAGS'
34490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34493
34494       cat >conftest.$ac_ext <<_ACEOF
34495 /* confdefs.h.  */
34496 _ACEOF
34497 cat confdefs.h >>conftest.$ac_ext
34498 cat >>conftest.$ac_ext <<_ACEOF
34499 /* end confdefs.h.  */
34500 #include <math.h>
34501 int
34502 main ()
34503 {
34504 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34505   ;
34506   return 0;
34507 }
34508 _ACEOF
34509 rm -f conftest.$ac_objext
34510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34511   (eval $ac_compile) 2>conftest.er1
34512   ac_status=$?
34513   grep -v '^ *+' conftest.er1 >conftest.err
34514   rm -f conftest.er1
34515   cat conftest.err >&5
34516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517   (exit $ac_status); } &&
34518          { ac_try='test -z "$ac_cxx_werror_flag"
34519                          || test ! -s conftest.err'
34520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521   (eval $ac_try) 2>&5
34522   ac_status=$?
34523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524   (exit $ac_status); }; } &&
34525          { ac_try='test -s conftest.$ac_objext'
34526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527   (eval $ac_try) 2>&5
34528   ac_status=$?
34529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530   (exit $ac_status); }; }; then
34531   glibcxx_cv_func__float_trig_use=yes
34532 else
34533   echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34535
34536 glibcxx_cv_func__float_trig_use=no
34537 fi
34538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34539       ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34544
34545 fi
34546
34547     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34548 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34549     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34560 do
34561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34562 echo "$as_me:$LINENO: checking for $ac_func" >&5
34563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34564 if eval "test \"\${$as_ac_var+set}\" = set"; then
34565   echo $ECHO_N "(cached) $ECHO_C" >&6
34566 else
34567   if test x$gcc_no_link = xyes; then
34568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34570    { (exit 1); exit 1; }; }
34571 fi
34572 cat >conftest.$ac_ext <<_ACEOF
34573 /* confdefs.h.  */
34574 _ACEOF
34575 cat confdefs.h >>conftest.$ac_ext
34576 cat >>conftest.$ac_ext <<_ACEOF
34577 /* end confdefs.h.  */
34578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34580 #define $ac_func innocuous_$ac_func
34581
34582 /* System header to define __stub macros and hopefully few prototypes,
34583     which can conflict with char $ac_func (); below.
34584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34585     <limits.h> exists even on freestanding compilers.  */
34586
34587 #ifdef __STDC__
34588 # include <limits.h>
34589 #else
34590 # include <assert.h>
34591 #endif
34592
34593 #undef $ac_func
34594
34595 /* Override any gcc2 internal prototype to avoid an error.  */
34596 #ifdef __cplusplus
34597 extern "C"
34598 {
34599 #endif
34600 /* We use char because int might match the return type of a gcc2
34601    builtin and then its argument prototype would still apply.  */
34602 char $ac_func ();
34603 /* The GNU C library defines this for functions which it implements
34604     to always fail with ENOSYS.  Some functions are actually named
34605     something starting with __ and the normal name is an alias.  */
34606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34607 choke me
34608 #else
34609 char (*f) () = $ac_func;
34610 #endif
34611 #ifdef __cplusplus
34612 }
34613 #endif
34614
34615 int
34616 main ()
34617 {
34618 return f != $ac_func;
34619   ;
34620   return 0;
34621 }
34622 _ACEOF
34623 rm -f conftest.$ac_objext conftest$ac_exeext
34624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34625   (eval $ac_link) 2>conftest.er1
34626   ac_status=$?
34627   grep -v '^ *+' conftest.er1 >conftest.err
34628   rm -f conftest.er1
34629   cat conftest.err >&5
34630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631   (exit $ac_status); } &&
34632          { ac_try='test -z "$ac_c_werror_flag"
34633                          || test ! -s conftest.err'
34634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34635   (eval $ac_try) 2>&5
34636   ac_status=$?
34637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34638   (exit $ac_status); }; } &&
34639          { ac_try='test -s conftest$ac_exeext'
34640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34641   (eval $ac_try) 2>&5
34642   ac_status=$?
34643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34644   (exit $ac_status); }; }; then
34645   eval "$as_ac_var=yes"
34646 else
34647   echo "$as_me: failed program was:" >&5
34648 sed 's/^/| /' conftest.$ac_ext >&5
34649
34650 eval "$as_ac_var=no"
34651 fi
34652 rm -f conftest.err conftest.$ac_objext \
34653       conftest$ac_exeext conftest.$ac_ext
34654 fi
34655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34657 if test `eval echo '${'$as_ac_var'}'` = yes; then
34658   cat >>confdefs.h <<_ACEOF
34659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34660 _ACEOF
34661
34662 fi
34663 done
34664
34665     fi
34666   fi
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681     echo "$as_me:$LINENO: checking for float round functions" >&5
34682 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34683   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34684   echo $ECHO_N "(cached) $ECHO_C" >&6
34685 else
34686
34687
34688
34689     ac_ext=cc
34690 ac_cpp='$CXXCPP $CPPFLAGS'
34691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34694
34695     cat >conftest.$ac_ext <<_ACEOF
34696 /* confdefs.h.  */
34697 _ACEOF
34698 cat confdefs.h >>conftest.$ac_ext
34699 cat >>conftest.$ac_ext <<_ACEOF
34700 /* end confdefs.h.  */
34701 #include <math.h>
34702 int
34703 main ()
34704 {
34705 ceilf (0); floorf (0);
34706   ;
34707   return 0;
34708 }
34709 _ACEOF
34710 rm -f conftest.$ac_objext
34711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34712   (eval $ac_compile) 2>conftest.er1
34713   ac_status=$?
34714   grep -v '^ *+' conftest.er1 >conftest.err
34715   rm -f conftest.er1
34716   cat conftest.err >&5
34717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718   (exit $ac_status); } &&
34719          { ac_try='test -z "$ac_cxx_werror_flag"
34720                          || test ! -s conftest.err'
34721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34722   (eval $ac_try) 2>&5
34723   ac_status=$?
34724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725   (exit $ac_status); }; } &&
34726          { ac_try='test -s conftest.$ac_objext'
34727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34728   (eval $ac_try) 2>&5
34729   ac_status=$?
34730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731   (exit $ac_status); }; }; then
34732   glibcxx_cv_func_float_round_use=yes
34733 else
34734   echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34736
34737 glibcxx_cv_func_float_round_use=no
34738 fi
34739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34740     ac_ext=c
34741 ac_cpp='$CPP $CPPFLAGS'
34742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34745
34746 fi
34747
34748   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34749 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34750   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34751
34752
34753 for ac_func in ceilf floorf
34754 do
34755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34756 echo "$as_me:$LINENO: checking for $ac_func" >&5
34757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34758 if eval "test \"\${$as_ac_var+set}\" = set"; then
34759   echo $ECHO_N "(cached) $ECHO_C" >&6
34760 else
34761   if test x$gcc_no_link = xyes; then
34762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34764    { (exit 1); exit 1; }; }
34765 fi
34766 cat >conftest.$ac_ext <<_ACEOF
34767 /* confdefs.h.  */
34768 _ACEOF
34769 cat confdefs.h >>conftest.$ac_ext
34770 cat >>conftest.$ac_ext <<_ACEOF
34771 /* end confdefs.h.  */
34772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34774 #define $ac_func innocuous_$ac_func
34775
34776 /* System header to define __stub macros and hopefully few prototypes,
34777     which can conflict with char $ac_func (); below.
34778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34779     <limits.h> exists even on freestanding compilers.  */
34780
34781 #ifdef __STDC__
34782 # include <limits.h>
34783 #else
34784 # include <assert.h>
34785 #endif
34786
34787 #undef $ac_func
34788
34789 /* Override any gcc2 internal prototype to avoid an error.  */
34790 #ifdef __cplusplus
34791 extern "C"
34792 {
34793 #endif
34794 /* We use char because int might match the return type of a gcc2
34795    builtin and then its argument prototype would still apply.  */
34796 char $ac_func ();
34797 /* The GNU C library defines this for functions which it implements
34798     to always fail with ENOSYS.  Some functions are actually named
34799     something starting with __ and the normal name is an alias.  */
34800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34801 choke me
34802 #else
34803 char (*f) () = $ac_func;
34804 #endif
34805 #ifdef __cplusplus
34806 }
34807 #endif
34808
34809 int
34810 main ()
34811 {
34812 return f != $ac_func;
34813   ;
34814   return 0;
34815 }
34816 _ACEOF
34817 rm -f conftest.$ac_objext conftest$ac_exeext
34818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34819   (eval $ac_link) 2>conftest.er1
34820   ac_status=$?
34821   grep -v '^ *+' conftest.er1 >conftest.err
34822   rm -f conftest.er1
34823   cat conftest.err >&5
34824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825   (exit $ac_status); } &&
34826          { ac_try='test -z "$ac_c_werror_flag"
34827                          || test ! -s conftest.err'
34828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34829   (eval $ac_try) 2>&5
34830   ac_status=$?
34831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832   (exit $ac_status); }; } &&
34833          { ac_try='test -s conftest$ac_exeext'
34834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34835   (eval $ac_try) 2>&5
34836   ac_status=$?
34837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838   (exit $ac_status); }; }; then
34839   eval "$as_ac_var=yes"
34840 else
34841   echo "$as_me: failed program was:" >&5
34842 sed 's/^/| /' conftest.$ac_ext >&5
34843
34844 eval "$as_ac_var=no"
34845 fi
34846 rm -f conftest.err conftest.$ac_objext \
34847       conftest$ac_exeext conftest.$ac_ext
34848 fi
34849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34851 if test `eval echo '${'$as_ac_var'}'` = yes; then
34852   cat >>confdefs.h <<_ACEOF
34853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34854 _ACEOF
34855
34856 fi
34857 done
34858
34859   else
34860     echo "$as_me:$LINENO: checking for _float round functions" >&5
34861 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34862     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34863   echo $ECHO_N "(cached) $ECHO_C" >&6
34864 else
34865
34866
34867
34868       ac_ext=cc
34869 ac_cpp='$CXXCPP $CPPFLAGS'
34870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34873
34874       cat >conftest.$ac_ext <<_ACEOF
34875 /* confdefs.h.  */
34876 _ACEOF
34877 cat confdefs.h >>conftest.$ac_ext
34878 cat >>conftest.$ac_ext <<_ACEOF
34879 /* end confdefs.h.  */
34880 #include <math.h>
34881 int
34882 main ()
34883 {
34884 _ceilf (0); _floorf (0);
34885   ;
34886   return 0;
34887 }
34888 _ACEOF
34889 rm -f conftest.$ac_objext
34890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34891   (eval $ac_compile) 2>conftest.er1
34892   ac_status=$?
34893   grep -v '^ *+' conftest.er1 >conftest.err
34894   rm -f conftest.er1
34895   cat conftest.err >&5
34896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897   (exit $ac_status); } &&
34898          { ac_try='test -z "$ac_cxx_werror_flag"
34899                          || test ! -s conftest.err'
34900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34901   (eval $ac_try) 2>&5
34902   ac_status=$?
34903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904   (exit $ac_status); }; } &&
34905          { ac_try='test -s conftest.$ac_objext'
34906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907   (eval $ac_try) 2>&5
34908   ac_status=$?
34909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910   (exit $ac_status); }; }; then
34911   glibcxx_cv_func__float_round_use=yes
34912 else
34913   echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34915
34916 glibcxx_cv_func__float_round_use=no
34917 fi
34918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34919       ac_ext=c
34920 ac_cpp='$CPP $CPPFLAGS'
34921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34924
34925 fi
34926
34927     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34928 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34929     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34930
34931
34932 for ac_func in _ceilf _floorf
34933 do
34934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34935 echo "$as_me:$LINENO: checking for $ac_func" >&5
34936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34937 if eval "test \"\${$as_ac_var+set}\" = set"; then
34938   echo $ECHO_N "(cached) $ECHO_C" >&6
34939 else
34940   if test x$gcc_no_link = xyes; then
34941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34943    { (exit 1); exit 1; }; }
34944 fi
34945 cat >conftest.$ac_ext <<_ACEOF
34946 /* confdefs.h.  */
34947 _ACEOF
34948 cat confdefs.h >>conftest.$ac_ext
34949 cat >>conftest.$ac_ext <<_ACEOF
34950 /* end confdefs.h.  */
34951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34953 #define $ac_func innocuous_$ac_func
34954
34955 /* System header to define __stub macros and hopefully few prototypes,
34956     which can conflict with char $ac_func (); below.
34957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34958     <limits.h> exists even on freestanding compilers.  */
34959
34960 #ifdef __STDC__
34961 # include <limits.h>
34962 #else
34963 # include <assert.h>
34964 #endif
34965
34966 #undef $ac_func
34967
34968 /* Override any gcc2 internal prototype to avoid an error.  */
34969 #ifdef __cplusplus
34970 extern "C"
34971 {
34972 #endif
34973 /* We use char because int might match the return type of a gcc2
34974    builtin and then its argument prototype would still apply.  */
34975 char $ac_func ();
34976 /* The GNU C library defines this for functions which it implements
34977     to always fail with ENOSYS.  Some functions are actually named
34978     something starting with __ and the normal name is an alias.  */
34979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34980 choke me
34981 #else
34982 char (*f) () = $ac_func;
34983 #endif
34984 #ifdef __cplusplus
34985 }
34986 #endif
34987
34988 int
34989 main ()
34990 {
34991 return f != $ac_func;
34992   ;
34993   return 0;
34994 }
34995 _ACEOF
34996 rm -f conftest.$ac_objext conftest$ac_exeext
34997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34998   (eval $ac_link) 2>conftest.er1
34999   ac_status=$?
35000   grep -v '^ *+' conftest.er1 >conftest.err
35001   rm -f conftest.er1
35002   cat conftest.err >&5
35003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004   (exit $ac_status); } &&
35005          { ac_try='test -z "$ac_c_werror_flag"
35006                          || test ! -s conftest.err'
35007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35008   (eval $ac_try) 2>&5
35009   ac_status=$?
35010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011   (exit $ac_status); }; } &&
35012          { ac_try='test -s conftest$ac_exeext'
35013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35014   (eval $ac_try) 2>&5
35015   ac_status=$?
35016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017   (exit $ac_status); }; }; then
35018   eval "$as_ac_var=yes"
35019 else
35020   echo "$as_me: failed program was:" >&5
35021 sed 's/^/| /' conftest.$ac_ext >&5
35022
35023 eval "$as_ac_var=no"
35024 fi
35025 rm -f conftest.err conftest.$ac_objext \
35026       conftest$ac_exeext conftest.$ac_ext
35027 fi
35028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35030 if test `eval echo '${'$as_ac_var'}'` = yes; then
35031   cat >>confdefs.h <<_ACEOF
35032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35033 _ACEOF
35034
35035 fi
35036 done
35037
35038     fi
35039   fi
35040
35041
35042
35043
35044
35045
35046
35047
35048   echo "$as_me:$LINENO: checking for expf declaration" >&5
35049 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
35050   if test x${glibcxx_cv_func_expf_use+set} != xset; then
35051     if test "${glibcxx_cv_func_expf_use+set}" = set; then
35052   echo $ECHO_N "(cached) $ECHO_C" >&6
35053 else
35054
35055
35056
35057       ac_ext=cc
35058 ac_cpp='$CXXCPP $CPPFLAGS'
35059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35062
35063       cat >conftest.$ac_ext <<_ACEOF
35064 /* confdefs.h.  */
35065 _ACEOF
35066 cat confdefs.h >>conftest.$ac_ext
35067 cat >>conftest.$ac_ext <<_ACEOF
35068 /* end confdefs.h.  */
35069 #include <math.h>
35070                       #ifdef HAVE_IEEEFP_H
35071                       #include <ieeefp.h>
35072                       #endif
35073
35074 int
35075 main ()
35076 {
35077  expf(0);
35078   ;
35079   return 0;
35080 }
35081 _ACEOF
35082 rm -f conftest.$ac_objext
35083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35084   (eval $ac_compile) 2>conftest.er1
35085   ac_status=$?
35086   grep -v '^ *+' conftest.er1 >conftest.err
35087   rm -f conftest.er1
35088   cat conftest.err >&5
35089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090   (exit $ac_status); } &&
35091          { ac_try='test -z "$ac_cxx_werror_flag"
35092                          || test ! -s conftest.err'
35093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35094   (eval $ac_try) 2>&5
35095   ac_status=$?
35096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097   (exit $ac_status); }; } &&
35098          { ac_try='test -s conftest.$ac_objext'
35099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35100   (eval $ac_try) 2>&5
35101   ac_status=$?
35102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103   (exit $ac_status); }; }; then
35104   glibcxx_cv_func_expf_use=yes
35105 else
35106   echo "$as_me: failed program was:" >&5
35107 sed 's/^/| /' conftest.$ac_ext >&5
35108
35109 glibcxx_cv_func_expf_use=no
35110 fi
35111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35112       ac_ext=c
35113 ac_cpp='$CPP $CPPFLAGS'
35114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35117
35118
35119 fi
35120
35121   fi
35122   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
35123 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
35124
35125   if test x$glibcxx_cv_func_expf_use = x"yes"; then
35126
35127 for ac_func in expf
35128 do
35129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35130 echo "$as_me:$LINENO: checking for $ac_func" >&5
35131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35132 if eval "test \"\${$as_ac_var+set}\" = set"; then
35133   echo $ECHO_N "(cached) $ECHO_C" >&6
35134 else
35135   if test x$gcc_no_link = xyes; then
35136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35138    { (exit 1); exit 1; }; }
35139 fi
35140 cat >conftest.$ac_ext <<_ACEOF
35141 /* confdefs.h.  */
35142 _ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h.  */
35146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35148 #define $ac_func innocuous_$ac_func
35149
35150 /* System header to define __stub macros and hopefully few prototypes,
35151     which can conflict with char $ac_func (); below.
35152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35153     <limits.h> exists even on freestanding compilers.  */
35154
35155 #ifdef __STDC__
35156 # include <limits.h>
35157 #else
35158 # include <assert.h>
35159 #endif
35160
35161 #undef $ac_func
35162
35163 /* Override any gcc2 internal prototype to avoid an error.  */
35164 #ifdef __cplusplus
35165 extern "C"
35166 {
35167 #endif
35168 /* We use char because int might match the return type of a gcc2
35169    builtin and then its argument prototype would still apply.  */
35170 char $ac_func ();
35171 /* The GNU C library defines this for functions which it implements
35172     to always fail with ENOSYS.  Some functions are actually named
35173     something starting with __ and the normal name is an alias.  */
35174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35175 choke me
35176 #else
35177 char (*f) () = $ac_func;
35178 #endif
35179 #ifdef __cplusplus
35180 }
35181 #endif
35182
35183 int
35184 main ()
35185 {
35186 return f != $ac_func;
35187   ;
35188   return 0;
35189 }
35190 _ACEOF
35191 rm -f conftest.$ac_objext conftest$ac_exeext
35192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35193   (eval $ac_link) 2>conftest.er1
35194   ac_status=$?
35195   grep -v '^ *+' conftest.er1 >conftest.err
35196   rm -f conftest.er1
35197   cat conftest.err >&5
35198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199   (exit $ac_status); } &&
35200          { ac_try='test -z "$ac_c_werror_flag"
35201                          || test ! -s conftest.err'
35202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203   (eval $ac_try) 2>&5
35204   ac_status=$?
35205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206   (exit $ac_status); }; } &&
35207          { ac_try='test -s conftest$ac_exeext'
35208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209   (eval $ac_try) 2>&5
35210   ac_status=$?
35211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212   (exit $ac_status); }; }; then
35213   eval "$as_ac_var=yes"
35214 else
35215   echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.$ac_ext >&5
35217
35218 eval "$as_ac_var=no"
35219 fi
35220 rm -f conftest.err conftest.$ac_objext \
35221       conftest$ac_exeext conftest.$ac_ext
35222 fi
35223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35225 if test `eval echo '${'$as_ac_var'}'` = yes; then
35226   cat >>confdefs.h <<_ACEOF
35227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35228 _ACEOF
35229
35230 fi
35231 done
35232
35233   else
35234
35235   echo "$as_me:$LINENO: checking for _expf declaration" >&5
35236 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35237   if test x${glibcxx_cv_func__expf_use+set} != xset; then
35238     if test "${glibcxx_cv_func__expf_use+set}" = set; then
35239   echo $ECHO_N "(cached) $ECHO_C" >&6
35240 else
35241
35242
35243
35244       ac_ext=cc
35245 ac_cpp='$CXXCPP $CPPFLAGS'
35246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35249
35250       cat >conftest.$ac_ext <<_ACEOF
35251 /* confdefs.h.  */
35252 _ACEOF
35253 cat confdefs.h >>conftest.$ac_ext
35254 cat >>conftest.$ac_ext <<_ACEOF
35255 /* end confdefs.h.  */
35256 #include <math.h>
35257                       #ifdef HAVE_IEEEFP_H
35258                       #include <ieeefp.h>
35259                       #endif
35260
35261 int
35262 main ()
35263 {
35264  _expf(0);
35265   ;
35266   return 0;
35267 }
35268 _ACEOF
35269 rm -f conftest.$ac_objext
35270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35271   (eval $ac_compile) 2>conftest.er1
35272   ac_status=$?
35273   grep -v '^ *+' conftest.er1 >conftest.err
35274   rm -f conftest.er1
35275   cat conftest.err >&5
35276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277   (exit $ac_status); } &&
35278          { ac_try='test -z "$ac_cxx_werror_flag"
35279                          || test ! -s conftest.err'
35280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281   (eval $ac_try) 2>&5
35282   ac_status=$?
35283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284   (exit $ac_status); }; } &&
35285          { ac_try='test -s conftest.$ac_objext'
35286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35287   (eval $ac_try) 2>&5
35288   ac_status=$?
35289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290   (exit $ac_status); }; }; then
35291   glibcxx_cv_func__expf_use=yes
35292 else
35293   echo "$as_me: failed program was:" >&5
35294 sed 's/^/| /' conftest.$ac_ext >&5
35295
35296 glibcxx_cv_func__expf_use=no
35297 fi
35298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35299       ac_ext=c
35300 ac_cpp='$CPP $CPPFLAGS'
35301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35304
35305
35306 fi
35307
35308   fi
35309   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35310 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35311
35312     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35313
35314 for ac_func in _expf
35315 do
35316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35317 echo "$as_me:$LINENO: checking for $ac_func" >&5
35318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35319 if eval "test \"\${$as_ac_var+set}\" = set"; then
35320   echo $ECHO_N "(cached) $ECHO_C" >&6
35321 else
35322   if test x$gcc_no_link = xyes; then
35323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35325    { (exit 1); exit 1; }; }
35326 fi
35327 cat >conftest.$ac_ext <<_ACEOF
35328 /* confdefs.h.  */
35329 _ACEOF
35330 cat confdefs.h >>conftest.$ac_ext
35331 cat >>conftest.$ac_ext <<_ACEOF
35332 /* end confdefs.h.  */
35333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35335 #define $ac_func innocuous_$ac_func
35336
35337 /* System header to define __stub macros and hopefully few prototypes,
35338     which can conflict with char $ac_func (); below.
35339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35340     <limits.h> exists even on freestanding compilers.  */
35341
35342 #ifdef __STDC__
35343 # include <limits.h>
35344 #else
35345 # include <assert.h>
35346 #endif
35347
35348 #undef $ac_func
35349
35350 /* Override any gcc2 internal prototype to avoid an error.  */
35351 #ifdef __cplusplus
35352 extern "C"
35353 {
35354 #endif
35355 /* We use char because int might match the return type of a gcc2
35356    builtin and then its argument prototype would still apply.  */
35357 char $ac_func ();
35358 /* The GNU C library defines this for functions which it implements
35359     to always fail with ENOSYS.  Some functions are actually named
35360     something starting with __ and the normal name is an alias.  */
35361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35362 choke me
35363 #else
35364 char (*f) () = $ac_func;
35365 #endif
35366 #ifdef __cplusplus
35367 }
35368 #endif
35369
35370 int
35371 main ()
35372 {
35373 return f != $ac_func;
35374   ;
35375   return 0;
35376 }
35377 _ACEOF
35378 rm -f conftest.$ac_objext conftest$ac_exeext
35379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35380   (eval $ac_link) 2>conftest.er1
35381   ac_status=$?
35382   grep -v '^ *+' conftest.er1 >conftest.err
35383   rm -f conftest.er1
35384   cat conftest.err >&5
35385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386   (exit $ac_status); } &&
35387          { ac_try='test -z "$ac_c_werror_flag"
35388                          || test ! -s conftest.err'
35389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390   (eval $ac_try) 2>&5
35391   ac_status=$?
35392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393   (exit $ac_status); }; } &&
35394          { ac_try='test -s conftest$ac_exeext'
35395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35396   (eval $ac_try) 2>&5
35397   ac_status=$?
35398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399   (exit $ac_status); }; }; then
35400   eval "$as_ac_var=yes"
35401 else
35402   echo "$as_me: failed program was:" >&5
35403 sed 's/^/| /' conftest.$ac_ext >&5
35404
35405 eval "$as_ac_var=no"
35406 fi
35407 rm -f conftest.err conftest.$ac_objext \
35408       conftest$ac_exeext conftest.$ac_ext
35409 fi
35410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35412 if test `eval echo '${'$as_ac_var'}'` = yes; then
35413   cat >>confdefs.h <<_ACEOF
35414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35415 _ACEOF
35416
35417 fi
35418 done
35419
35420     fi
35421   fi
35422
35423
35424
35425
35426
35427
35428   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35429 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35430   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35431     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35432   echo $ECHO_N "(cached) $ECHO_C" >&6
35433 else
35434
35435
35436
35437       ac_ext=cc
35438 ac_cpp='$CXXCPP $CPPFLAGS'
35439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35442
35443       cat >conftest.$ac_ext <<_ACEOF
35444 /* confdefs.h.  */
35445 _ACEOF
35446 cat confdefs.h >>conftest.$ac_ext
35447 cat >>conftest.$ac_ext <<_ACEOF
35448 /* end confdefs.h.  */
35449 #include <math.h>
35450                       #ifdef HAVE_IEEEFP_H
35451                       #include <ieeefp.h>
35452                       #endif
35453
35454 int
35455 main ()
35456 {
35457  isnanf(0);
35458   ;
35459   return 0;
35460 }
35461 _ACEOF
35462 rm -f conftest.$ac_objext
35463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35464   (eval $ac_compile) 2>conftest.er1
35465   ac_status=$?
35466   grep -v '^ *+' conftest.er1 >conftest.err
35467   rm -f conftest.er1
35468   cat conftest.err >&5
35469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470   (exit $ac_status); } &&
35471          { ac_try='test -z "$ac_cxx_werror_flag"
35472                          || test ! -s conftest.err'
35473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35474   (eval $ac_try) 2>&5
35475   ac_status=$?
35476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35477   (exit $ac_status); }; } &&
35478          { ac_try='test -s conftest.$ac_objext'
35479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35480   (eval $ac_try) 2>&5
35481   ac_status=$?
35482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35483   (exit $ac_status); }; }; then
35484   glibcxx_cv_func_isnanf_use=yes
35485 else
35486   echo "$as_me: failed program was:" >&5
35487 sed 's/^/| /' conftest.$ac_ext >&5
35488
35489 glibcxx_cv_func_isnanf_use=no
35490 fi
35491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35492       ac_ext=c
35493 ac_cpp='$CPP $CPPFLAGS'
35494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35497
35498
35499 fi
35500
35501   fi
35502   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35503 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35504
35505   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35506
35507 for ac_func in isnanf
35508 do
35509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35510 echo "$as_me:$LINENO: checking for $ac_func" >&5
35511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35512 if eval "test \"\${$as_ac_var+set}\" = set"; then
35513   echo $ECHO_N "(cached) $ECHO_C" >&6
35514 else
35515   if test x$gcc_no_link = xyes; then
35516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35518    { (exit 1); exit 1; }; }
35519 fi
35520 cat >conftest.$ac_ext <<_ACEOF
35521 /* confdefs.h.  */
35522 _ACEOF
35523 cat confdefs.h >>conftest.$ac_ext
35524 cat >>conftest.$ac_ext <<_ACEOF
35525 /* end confdefs.h.  */
35526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35528 #define $ac_func innocuous_$ac_func
35529
35530 /* System header to define __stub macros and hopefully few prototypes,
35531     which can conflict with char $ac_func (); below.
35532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35533     <limits.h> exists even on freestanding compilers.  */
35534
35535 #ifdef __STDC__
35536 # include <limits.h>
35537 #else
35538 # include <assert.h>
35539 #endif
35540
35541 #undef $ac_func
35542
35543 /* Override any gcc2 internal prototype to avoid an error.  */
35544 #ifdef __cplusplus
35545 extern "C"
35546 {
35547 #endif
35548 /* We use char because int might match the return type of a gcc2
35549    builtin and then its argument prototype would still apply.  */
35550 char $ac_func ();
35551 /* The GNU C library defines this for functions which it implements
35552     to always fail with ENOSYS.  Some functions are actually named
35553     something starting with __ and the normal name is an alias.  */
35554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35555 choke me
35556 #else
35557 char (*f) () = $ac_func;
35558 #endif
35559 #ifdef __cplusplus
35560 }
35561 #endif
35562
35563 int
35564 main ()
35565 {
35566 return f != $ac_func;
35567   ;
35568   return 0;
35569 }
35570 _ACEOF
35571 rm -f conftest.$ac_objext conftest$ac_exeext
35572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35573   (eval $ac_link) 2>conftest.er1
35574   ac_status=$?
35575   grep -v '^ *+' conftest.er1 >conftest.err
35576   rm -f conftest.er1
35577   cat conftest.err >&5
35578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579   (exit $ac_status); } &&
35580          { ac_try='test -z "$ac_c_werror_flag"
35581                          || test ! -s conftest.err'
35582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35583   (eval $ac_try) 2>&5
35584   ac_status=$?
35585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35586   (exit $ac_status); }; } &&
35587          { ac_try='test -s conftest$ac_exeext'
35588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35589   (eval $ac_try) 2>&5
35590   ac_status=$?
35591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592   (exit $ac_status); }; }; then
35593   eval "$as_ac_var=yes"
35594 else
35595   echo "$as_me: failed program was:" >&5
35596 sed 's/^/| /' conftest.$ac_ext >&5
35597
35598 eval "$as_ac_var=no"
35599 fi
35600 rm -f conftest.err conftest.$ac_objext \
35601       conftest$ac_exeext conftest.$ac_ext
35602 fi
35603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35605 if test `eval echo '${'$as_ac_var'}'` = yes; then
35606   cat >>confdefs.h <<_ACEOF
35607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35608 _ACEOF
35609
35610 fi
35611 done
35612
35613   else
35614
35615   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35616 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35617   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35618     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35619   echo $ECHO_N "(cached) $ECHO_C" >&6
35620 else
35621
35622
35623
35624       ac_ext=cc
35625 ac_cpp='$CXXCPP $CPPFLAGS'
35626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35629
35630       cat >conftest.$ac_ext <<_ACEOF
35631 /* confdefs.h.  */
35632 _ACEOF
35633 cat confdefs.h >>conftest.$ac_ext
35634 cat >>conftest.$ac_ext <<_ACEOF
35635 /* end confdefs.h.  */
35636 #include <math.h>
35637                       #ifdef HAVE_IEEEFP_H
35638                       #include <ieeefp.h>
35639                       #endif
35640
35641 int
35642 main ()
35643 {
35644  _isnanf(0);
35645   ;
35646   return 0;
35647 }
35648 _ACEOF
35649 rm -f conftest.$ac_objext
35650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35651   (eval $ac_compile) 2>conftest.er1
35652   ac_status=$?
35653   grep -v '^ *+' conftest.er1 >conftest.err
35654   rm -f conftest.er1
35655   cat conftest.err >&5
35656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657   (exit $ac_status); } &&
35658          { ac_try='test -z "$ac_cxx_werror_flag"
35659                          || test ! -s conftest.err'
35660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35661   (eval $ac_try) 2>&5
35662   ac_status=$?
35663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664   (exit $ac_status); }; } &&
35665          { ac_try='test -s conftest.$ac_objext'
35666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35667   (eval $ac_try) 2>&5
35668   ac_status=$?
35669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670   (exit $ac_status); }; }; then
35671   glibcxx_cv_func__isnanf_use=yes
35672 else
35673   echo "$as_me: failed program was:" >&5
35674 sed 's/^/| /' conftest.$ac_ext >&5
35675
35676 glibcxx_cv_func__isnanf_use=no
35677 fi
35678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35679       ac_ext=c
35680 ac_cpp='$CPP $CPPFLAGS'
35681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35684
35685
35686 fi
35687
35688   fi
35689   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35690 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35691
35692     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35693
35694 for ac_func in _isnanf
35695 do
35696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35697 echo "$as_me:$LINENO: checking for $ac_func" >&5
35698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35699 if eval "test \"\${$as_ac_var+set}\" = set"; then
35700   echo $ECHO_N "(cached) $ECHO_C" >&6
35701 else
35702   if test x$gcc_no_link = xyes; then
35703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35705    { (exit 1); exit 1; }; }
35706 fi
35707 cat >conftest.$ac_ext <<_ACEOF
35708 /* confdefs.h.  */
35709 _ACEOF
35710 cat confdefs.h >>conftest.$ac_ext
35711 cat >>conftest.$ac_ext <<_ACEOF
35712 /* end confdefs.h.  */
35713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35715 #define $ac_func innocuous_$ac_func
35716
35717 /* System header to define __stub macros and hopefully few prototypes,
35718     which can conflict with char $ac_func (); below.
35719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35720     <limits.h> exists even on freestanding compilers.  */
35721
35722 #ifdef __STDC__
35723 # include <limits.h>
35724 #else
35725 # include <assert.h>
35726 #endif
35727
35728 #undef $ac_func
35729
35730 /* Override any gcc2 internal prototype to avoid an error.  */
35731 #ifdef __cplusplus
35732 extern "C"
35733 {
35734 #endif
35735 /* We use char because int might match the return type of a gcc2
35736    builtin and then its argument prototype would still apply.  */
35737 char $ac_func ();
35738 /* The GNU C library defines this for functions which it implements
35739     to always fail with ENOSYS.  Some functions are actually named
35740     something starting with __ and the normal name is an alias.  */
35741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35742 choke me
35743 #else
35744 char (*f) () = $ac_func;
35745 #endif
35746 #ifdef __cplusplus
35747 }
35748 #endif
35749
35750 int
35751 main ()
35752 {
35753 return f != $ac_func;
35754   ;
35755   return 0;
35756 }
35757 _ACEOF
35758 rm -f conftest.$ac_objext conftest$ac_exeext
35759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35760   (eval $ac_link) 2>conftest.er1
35761   ac_status=$?
35762   grep -v '^ *+' conftest.er1 >conftest.err
35763   rm -f conftest.er1
35764   cat conftest.err >&5
35765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766   (exit $ac_status); } &&
35767          { ac_try='test -z "$ac_c_werror_flag"
35768                          || test ! -s conftest.err'
35769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35770   (eval $ac_try) 2>&5
35771   ac_status=$?
35772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773   (exit $ac_status); }; } &&
35774          { ac_try='test -s conftest$ac_exeext'
35775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35776   (eval $ac_try) 2>&5
35777   ac_status=$?
35778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779   (exit $ac_status); }; }; then
35780   eval "$as_ac_var=yes"
35781 else
35782   echo "$as_me: failed program was:" >&5
35783 sed 's/^/| /' conftest.$ac_ext >&5
35784
35785 eval "$as_ac_var=no"
35786 fi
35787 rm -f conftest.err conftest.$ac_objext \
35788       conftest$ac_exeext conftest.$ac_ext
35789 fi
35790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35792 if test `eval echo '${'$as_ac_var'}'` = yes; then
35793   cat >>confdefs.h <<_ACEOF
35794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35795 _ACEOF
35796
35797 fi
35798 done
35799
35800     fi
35801   fi
35802
35803
35804
35805
35806
35807
35808   echo "$as_me:$LINENO: checking for isinff declaration" >&5
35809 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35810   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35811     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35812   echo $ECHO_N "(cached) $ECHO_C" >&6
35813 else
35814
35815
35816
35817       ac_ext=cc
35818 ac_cpp='$CXXCPP $CPPFLAGS'
35819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35822
35823       cat >conftest.$ac_ext <<_ACEOF
35824 /* confdefs.h.  */
35825 _ACEOF
35826 cat confdefs.h >>conftest.$ac_ext
35827 cat >>conftest.$ac_ext <<_ACEOF
35828 /* end confdefs.h.  */
35829 #include <math.h>
35830                       #ifdef HAVE_IEEEFP_H
35831                       #include <ieeefp.h>
35832                       #endif
35833
35834 int
35835 main ()
35836 {
35837  isinff(0);
35838   ;
35839   return 0;
35840 }
35841 _ACEOF
35842 rm -f conftest.$ac_objext
35843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35844   (eval $ac_compile) 2>conftest.er1
35845   ac_status=$?
35846   grep -v '^ *+' conftest.er1 >conftest.err
35847   rm -f conftest.er1
35848   cat conftest.err >&5
35849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850   (exit $ac_status); } &&
35851          { ac_try='test -z "$ac_cxx_werror_flag"
35852                          || test ! -s conftest.err'
35853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35854   (eval $ac_try) 2>&5
35855   ac_status=$?
35856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857   (exit $ac_status); }; } &&
35858          { ac_try='test -s conftest.$ac_objext'
35859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35860   (eval $ac_try) 2>&5
35861   ac_status=$?
35862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863   (exit $ac_status); }; }; then
35864   glibcxx_cv_func_isinff_use=yes
35865 else
35866   echo "$as_me: failed program was:" >&5
35867 sed 's/^/| /' conftest.$ac_ext >&5
35868
35869 glibcxx_cv_func_isinff_use=no
35870 fi
35871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35872       ac_ext=c
35873 ac_cpp='$CPP $CPPFLAGS'
35874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35877
35878
35879 fi
35880
35881   fi
35882   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35883 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35884
35885   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35886
35887 for ac_func in isinff
35888 do
35889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35890 echo "$as_me:$LINENO: checking for $ac_func" >&5
35891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35892 if eval "test \"\${$as_ac_var+set}\" = set"; then
35893   echo $ECHO_N "(cached) $ECHO_C" >&6
35894 else
35895   if test x$gcc_no_link = xyes; then
35896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35898    { (exit 1); exit 1; }; }
35899 fi
35900 cat >conftest.$ac_ext <<_ACEOF
35901 /* confdefs.h.  */
35902 _ACEOF
35903 cat confdefs.h >>conftest.$ac_ext
35904 cat >>conftest.$ac_ext <<_ACEOF
35905 /* end confdefs.h.  */
35906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35907    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35908 #define $ac_func innocuous_$ac_func
35909
35910 /* System header to define __stub macros and hopefully few prototypes,
35911     which can conflict with char $ac_func (); below.
35912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35913     <limits.h> exists even on freestanding compilers.  */
35914
35915 #ifdef __STDC__
35916 # include <limits.h>
35917 #else
35918 # include <assert.h>
35919 #endif
35920
35921 #undef $ac_func
35922
35923 /* Override any gcc2 internal prototype to avoid an error.  */
35924 #ifdef __cplusplus
35925 extern "C"
35926 {
35927 #endif
35928 /* We use char because int might match the return type of a gcc2
35929    builtin and then its argument prototype would still apply.  */
35930 char $ac_func ();
35931 /* The GNU C library defines this for functions which it implements
35932     to always fail with ENOSYS.  Some functions are actually named
35933     something starting with __ and the normal name is an alias.  */
35934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35935 choke me
35936 #else
35937 char (*f) () = $ac_func;
35938 #endif
35939 #ifdef __cplusplus
35940 }
35941 #endif
35942
35943 int
35944 main ()
35945 {
35946 return f != $ac_func;
35947   ;
35948   return 0;
35949 }
35950 _ACEOF
35951 rm -f conftest.$ac_objext conftest$ac_exeext
35952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35953   (eval $ac_link) 2>conftest.er1
35954   ac_status=$?
35955   grep -v '^ *+' conftest.er1 >conftest.err
35956   rm -f conftest.er1
35957   cat conftest.err >&5
35958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959   (exit $ac_status); } &&
35960          { ac_try='test -z "$ac_c_werror_flag"
35961                          || test ! -s conftest.err'
35962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35963   (eval $ac_try) 2>&5
35964   ac_status=$?
35965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35966   (exit $ac_status); }; } &&
35967          { ac_try='test -s conftest$ac_exeext'
35968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35969   (eval $ac_try) 2>&5
35970   ac_status=$?
35971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972   (exit $ac_status); }; }; then
35973   eval "$as_ac_var=yes"
35974 else
35975   echo "$as_me: failed program was:" >&5
35976 sed 's/^/| /' conftest.$ac_ext >&5
35977
35978 eval "$as_ac_var=no"
35979 fi
35980 rm -f conftest.err conftest.$ac_objext \
35981       conftest$ac_exeext conftest.$ac_ext
35982 fi
35983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35985 if test `eval echo '${'$as_ac_var'}'` = yes; then
35986   cat >>confdefs.h <<_ACEOF
35987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35988 _ACEOF
35989
35990 fi
35991 done
35992
35993   else
35994
35995   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35996 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35997   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35998     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35999   echo $ECHO_N "(cached) $ECHO_C" >&6
36000 else
36001
36002
36003
36004       ac_ext=cc
36005 ac_cpp='$CXXCPP $CPPFLAGS'
36006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36009
36010       cat >conftest.$ac_ext <<_ACEOF
36011 /* confdefs.h.  */
36012 _ACEOF
36013 cat confdefs.h >>conftest.$ac_ext
36014 cat >>conftest.$ac_ext <<_ACEOF
36015 /* end confdefs.h.  */
36016 #include <math.h>
36017                       #ifdef HAVE_IEEEFP_H
36018                       #include <ieeefp.h>
36019                       #endif
36020
36021 int
36022 main ()
36023 {
36024  _isinff(0);
36025   ;
36026   return 0;
36027 }
36028 _ACEOF
36029 rm -f conftest.$ac_objext
36030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36031   (eval $ac_compile) 2>conftest.er1
36032   ac_status=$?
36033   grep -v '^ *+' conftest.er1 >conftest.err
36034   rm -f conftest.er1
36035   cat conftest.err >&5
36036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037   (exit $ac_status); } &&
36038          { ac_try='test -z "$ac_cxx_werror_flag"
36039                          || test ! -s conftest.err'
36040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36041   (eval $ac_try) 2>&5
36042   ac_status=$?
36043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36044   (exit $ac_status); }; } &&
36045          { ac_try='test -s conftest.$ac_objext'
36046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36047   (eval $ac_try) 2>&5
36048   ac_status=$?
36049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050   (exit $ac_status); }; }; then
36051   glibcxx_cv_func__isinff_use=yes
36052 else
36053   echo "$as_me: failed program was:" >&5
36054 sed 's/^/| /' conftest.$ac_ext >&5
36055
36056 glibcxx_cv_func__isinff_use=no
36057 fi
36058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36059       ac_ext=c
36060 ac_cpp='$CPP $CPPFLAGS'
36061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36064
36065
36066 fi
36067
36068   fi
36069   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
36070 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
36071
36072     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36073
36074 for ac_func in _isinff
36075 do
36076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36077 echo "$as_me:$LINENO: checking for $ac_func" >&5
36078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36079 if eval "test \"\${$as_ac_var+set}\" = set"; then
36080   echo $ECHO_N "(cached) $ECHO_C" >&6
36081 else
36082   if test x$gcc_no_link = xyes; then
36083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36085    { (exit 1); exit 1; }; }
36086 fi
36087 cat >conftest.$ac_ext <<_ACEOF
36088 /* confdefs.h.  */
36089 _ACEOF
36090 cat confdefs.h >>conftest.$ac_ext
36091 cat >>conftest.$ac_ext <<_ACEOF
36092 /* end confdefs.h.  */
36093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36095 #define $ac_func innocuous_$ac_func
36096
36097 /* System header to define __stub macros and hopefully few prototypes,
36098     which can conflict with char $ac_func (); below.
36099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36100     <limits.h> exists even on freestanding compilers.  */
36101
36102 #ifdef __STDC__
36103 # include <limits.h>
36104 #else
36105 # include <assert.h>
36106 #endif
36107
36108 #undef $ac_func
36109
36110 /* Override any gcc2 internal prototype to avoid an error.  */
36111 #ifdef __cplusplus
36112 extern "C"
36113 {
36114 #endif
36115 /* We use char because int might match the return type of a gcc2
36116    builtin and then its argument prototype would still apply.  */
36117 char $ac_func ();
36118 /* The GNU C library defines this for functions which it implements
36119     to always fail with ENOSYS.  Some functions are actually named
36120     something starting with __ and the normal name is an alias.  */
36121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36122 choke me
36123 #else
36124 char (*f) () = $ac_func;
36125 #endif
36126 #ifdef __cplusplus
36127 }
36128 #endif
36129
36130 int
36131 main ()
36132 {
36133 return f != $ac_func;
36134   ;
36135   return 0;
36136 }
36137 _ACEOF
36138 rm -f conftest.$ac_objext conftest$ac_exeext
36139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36140   (eval $ac_link) 2>conftest.er1
36141   ac_status=$?
36142   grep -v '^ *+' conftest.er1 >conftest.err
36143   rm -f conftest.er1
36144   cat conftest.err >&5
36145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146   (exit $ac_status); } &&
36147          { ac_try='test -z "$ac_c_werror_flag"
36148                          || test ! -s conftest.err'
36149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36150   (eval $ac_try) 2>&5
36151   ac_status=$?
36152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153   (exit $ac_status); }; } &&
36154          { ac_try='test -s conftest$ac_exeext'
36155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36156   (eval $ac_try) 2>&5
36157   ac_status=$?
36158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159   (exit $ac_status); }; }; then
36160   eval "$as_ac_var=yes"
36161 else
36162   echo "$as_me: failed program was:" >&5
36163 sed 's/^/| /' conftest.$ac_ext >&5
36164
36165 eval "$as_ac_var=no"
36166 fi
36167 rm -f conftest.err conftest.$ac_objext \
36168       conftest$ac_exeext conftest.$ac_ext
36169 fi
36170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36172 if test `eval echo '${'$as_ac_var'}'` = yes; then
36173   cat >>confdefs.h <<_ACEOF
36174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36175 _ACEOF
36176
36177 fi
36178 done
36179
36180     fi
36181   fi
36182
36183
36184
36185
36186
36187
36188   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36189 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36190   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36191     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36192   echo $ECHO_N "(cached) $ECHO_C" >&6
36193 else
36194
36195
36196
36197       ac_ext=cc
36198 ac_cpp='$CXXCPP $CPPFLAGS'
36199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36202
36203       cat >conftest.$ac_ext <<_ACEOF
36204 /* confdefs.h.  */
36205 _ACEOF
36206 cat confdefs.h >>conftest.$ac_ext
36207 cat >>conftest.$ac_ext <<_ACEOF
36208 /* end confdefs.h.  */
36209 #include <math.h>
36210 int
36211 main ()
36212 {
36213  atan2f(0, 0);
36214   ;
36215   return 0;
36216 }
36217 _ACEOF
36218 rm -f conftest.$ac_objext
36219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36220   (eval $ac_compile) 2>conftest.er1
36221   ac_status=$?
36222   grep -v '^ *+' conftest.er1 >conftest.err
36223   rm -f conftest.er1
36224   cat conftest.err >&5
36225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226   (exit $ac_status); } &&
36227          { ac_try='test -z "$ac_cxx_werror_flag"
36228                          || test ! -s conftest.err'
36229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36230   (eval $ac_try) 2>&5
36231   ac_status=$?
36232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233   (exit $ac_status); }; } &&
36234          { ac_try='test -s conftest.$ac_objext'
36235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36236   (eval $ac_try) 2>&5
36237   ac_status=$?
36238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239   (exit $ac_status); }; }; then
36240   glibcxx_cv_func_atan2f_use=yes
36241 else
36242   echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36244
36245 glibcxx_cv_func_atan2f_use=no
36246 fi
36247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36248       ac_ext=c
36249 ac_cpp='$CPP $CPPFLAGS'
36250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36253
36254
36255 fi
36256
36257   fi
36258   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36259 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36260
36261   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36262
36263 for ac_func in atan2f
36264 do
36265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36266 echo "$as_me:$LINENO: checking for $ac_func" >&5
36267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36268 if eval "test \"\${$as_ac_var+set}\" = set"; then
36269   echo $ECHO_N "(cached) $ECHO_C" >&6
36270 else
36271   if test x$gcc_no_link = xyes; then
36272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36274    { (exit 1); exit 1; }; }
36275 fi
36276 cat >conftest.$ac_ext <<_ACEOF
36277 /* confdefs.h.  */
36278 _ACEOF
36279 cat confdefs.h >>conftest.$ac_ext
36280 cat >>conftest.$ac_ext <<_ACEOF
36281 /* end confdefs.h.  */
36282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36284 #define $ac_func innocuous_$ac_func
36285
36286 /* System header to define __stub macros and hopefully few prototypes,
36287     which can conflict with char $ac_func (); below.
36288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36289     <limits.h> exists even on freestanding compilers.  */
36290
36291 #ifdef __STDC__
36292 # include <limits.h>
36293 #else
36294 # include <assert.h>
36295 #endif
36296
36297 #undef $ac_func
36298
36299 /* Override any gcc2 internal prototype to avoid an error.  */
36300 #ifdef __cplusplus
36301 extern "C"
36302 {
36303 #endif
36304 /* We use char because int might match the return type of a gcc2
36305    builtin and then its argument prototype would still apply.  */
36306 char $ac_func ();
36307 /* The GNU C library defines this for functions which it implements
36308     to always fail with ENOSYS.  Some functions are actually named
36309     something starting with __ and the normal name is an alias.  */
36310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36311 choke me
36312 #else
36313 char (*f) () = $ac_func;
36314 #endif
36315 #ifdef __cplusplus
36316 }
36317 #endif
36318
36319 int
36320 main ()
36321 {
36322 return f != $ac_func;
36323   ;
36324   return 0;
36325 }
36326 _ACEOF
36327 rm -f conftest.$ac_objext conftest$ac_exeext
36328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36329   (eval $ac_link) 2>conftest.er1
36330   ac_status=$?
36331   grep -v '^ *+' conftest.er1 >conftest.err
36332   rm -f conftest.er1
36333   cat conftest.err >&5
36334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36335   (exit $ac_status); } &&
36336          { ac_try='test -z "$ac_c_werror_flag"
36337                          || test ! -s conftest.err'
36338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36339   (eval $ac_try) 2>&5
36340   ac_status=$?
36341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342   (exit $ac_status); }; } &&
36343          { ac_try='test -s conftest$ac_exeext'
36344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36345   (eval $ac_try) 2>&5
36346   ac_status=$?
36347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348   (exit $ac_status); }; }; then
36349   eval "$as_ac_var=yes"
36350 else
36351   echo "$as_me: failed program was:" >&5
36352 sed 's/^/| /' conftest.$ac_ext >&5
36353
36354 eval "$as_ac_var=no"
36355 fi
36356 rm -f conftest.err conftest.$ac_objext \
36357       conftest$ac_exeext conftest.$ac_ext
36358 fi
36359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36361 if test `eval echo '${'$as_ac_var'}'` = yes; then
36362   cat >>confdefs.h <<_ACEOF
36363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36364 _ACEOF
36365
36366 fi
36367 done
36368
36369   else
36370
36371   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36372 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36373   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36374     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36375   echo $ECHO_N "(cached) $ECHO_C" >&6
36376 else
36377
36378
36379
36380       ac_ext=cc
36381 ac_cpp='$CXXCPP $CPPFLAGS'
36382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36385
36386       cat >conftest.$ac_ext <<_ACEOF
36387 /* confdefs.h.  */
36388 _ACEOF
36389 cat confdefs.h >>conftest.$ac_ext
36390 cat >>conftest.$ac_ext <<_ACEOF
36391 /* end confdefs.h.  */
36392 #include <math.h>
36393 int
36394 main ()
36395 {
36396  _atan2f(0, 0);
36397   ;
36398   return 0;
36399 }
36400 _ACEOF
36401 rm -f conftest.$ac_objext
36402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36403   (eval $ac_compile) 2>conftest.er1
36404   ac_status=$?
36405   grep -v '^ *+' conftest.er1 >conftest.err
36406   rm -f conftest.er1
36407   cat conftest.err >&5
36408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409   (exit $ac_status); } &&
36410          { ac_try='test -z "$ac_cxx_werror_flag"
36411                          || test ! -s conftest.err'
36412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36413   (eval $ac_try) 2>&5
36414   ac_status=$?
36415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416   (exit $ac_status); }; } &&
36417          { ac_try='test -s conftest.$ac_objext'
36418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36419   (eval $ac_try) 2>&5
36420   ac_status=$?
36421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422   (exit $ac_status); }; }; then
36423   glibcxx_cv_func__atan2f_use=yes
36424 else
36425   echo "$as_me: failed program was:" >&5
36426 sed 's/^/| /' conftest.$ac_ext >&5
36427
36428 glibcxx_cv_func__atan2f_use=no
36429 fi
36430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36431       ac_ext=c
36432 ac_cpp='$CPP $CPPFLAGS'
36433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36436
36437
36438 fi
36439
36440   fi
36441   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36442 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36443
36444     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36445
36446 for ac_func in _atan2f
36447 do
36448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36449 echo "$as_me:$LINENO: checking for $ac_func" >&5
36450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36451 if eval "test \"\${$as_ac_var+set}\" = set"; then
36452   echo $ECHO_N "(cached) $ECHO_C" >&6
36453 else
36454   if test x$gcc_no_link = xyes; then
36455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36457    { (exit 1); exit 1; }; }
36458 fi
36459 cat >conftest.$ac_ext <<_ACEOF
36460 /* confdefs.h.  */
36461 _ACEOF
36462 cat confdefs.h >>conftest.$ac_ext
36463 cat >>conftest.$ac_ext <<_ACEOF
36464 /* end confdefs.h.  */
36465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36467 #define $ac_func innocuous_$ac_func
36468
36469 /* System header to define __stub macros and hopefully few prototypes,
36470     which can conflict with char $ac_func (); below.
36471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36472     <limits.h> exists even on freestanding compilers.  */
36473
36474 #ifdef __STDC__
36475 # include <limits.h>
36476 #else
36477 # include <assert.h>
36478 #endif
36479
36480 #undef $ac_func
36481
36482 /* Override any gcc2 internal prototype to avoid an error.  */
36483 #ifdef __cplusplus
36484 extern "C"
36485 {
36486 #endif
36487 /* We use char because int might match the return type of a gcc2
36488    builtin and then its argument prototype would still apply.  */
36489 char $ac_func ();
36490 /* The GNU C library defines this for functions which it implements
36491     to always fail with ENOSYS.  Some functions are actually named
36492     something starting with __ and the normal name is an alias.  */
36493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36494 choke me
36495 #else
36496 char (*f) () = $ac_func;
36497 #endif
36498 #ifdef __cplusplus
36499 }
36500 #endif
36501
36502 int
36503 main ()
36504 {
36505 return f != $ac_func;
36506   ;
36507   return 0;
36508 }
36509 _ACEOF
36510 rm -f conftest.$ac_objext conftest$ac_exeext
36511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36512   (eval $ac_link) 2>conftest.er1
36513   ac_status=$?
36514   grep -v '^ *+' conftest.er1 >conftest.err
36515   rm -f conftest.er1
36516   cat conftest.err >&5
36517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518   (exit $ac_status); } &&
36519          { ac_try='test -z "$ac_c_werror_flag"
36520                          || test ! -s conftest.err'
36521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36522   (eval $ac_try) 2>&5
36523   ac_status=$?
36524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525   (exit $ac_status); }; } &&
36526          { ac_try='test -s conftest$ac_exeext'
36527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36528   (eval $ac_try) 2>&5
36529   ac_status=$?
36530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531   (exit $ac_status); }; }; then
36532   eval "$as_ac_var=yes"
36533 else
36534   echo "$as_me: failed program was:" >&5
36535 sed 's/^/| /' conftest.$ac_ext >&5
36536
36537 eval "$as_ac_var=no"
36538 fi
36539 rm -f conftest.err conftest.$ac_objext \
36540       conftest$ac_exeext conftest.$ac_ext
36541 fi
36542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36544 if test `eval echo '${'$as_ac_var'}'` = yes; then
36545   cat >>confdefs.h <<_ACEOF
36546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36547 _ACEOF
36548
36549 fi
36550 done
36551
36552     fi
36553   fi
36554
36555
36556
36557
36558
36559
36560   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36561 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36562   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36563     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36564   echo $ECHO_N "(cached) $ECHO_C" >&6
36565 else
36566
36567
36568
36569       ac_ext=cc
36570 ac_cpp='$CXXCPP $CPPFLAGS'
36571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36574
36575       cat >conftest.$ac_ext <<_ACEOF
36576 /* confdefs.h.  */
36577 _ACEOF
36578 cat confdefs.h >>conftest.$ac_ext
36579 cat >>conftest.$ac_ext <<_ACEOF
36580 /* end confdefs.h.  */
36581 #include <math.h>
36582                       #ifdef HAVE_IEEEFP_H
36583                       #include <ieeefp.h>
36584                       #endif
36585
36586 int
36587 main ()
36588 {
36589  fabsf(0);
36590   ;
36591   return 0;
36592 }
36593 _ACEOF
36594 rm -f conftest.$ac_objext
36595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36596   (eval $ac_compile) 2>conftest.er1
36597   ac_status=$?
36598   grep -v '^ *+' conftest.er1 >conftest.err
36599   rm -f conftest.er1
36600   cat conftest.err >&5
36601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36602   (exit $ac_status); } &&
36603          { ac_try='test -z "$ac_cxx_werror_flag"
36604                          || test ! -s conftest.err'
36605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36606   (eval $ac_try) 2>&5
36607   ac_status=$?
36608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609   (exit $ac_status); }; } &&
36610          { ac_try='test -s conftest.$ac_objext'
36611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36612   (eval $ac_try) 2>&5
36613   ac_status=$?
36614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36615   (exit $ac_status); }; }; then
36616   glibcxx_cv_func_fabsf_use=yes
36617 else
36618   echo "$as_me: failed program was:" >&5
36619 sed 's/^/| /' conftest.$ac_ext >&5
36620
36621 glibcxx_cv_func_fabsf_use=no
36622 fi
36623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36624       ac_ext=c
36625 ac_cpp='$CPP $CPPFLAGS'
36626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36629
36630
36631 fi
36632
36633   fi
36634   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36635 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36636
36637   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36638
36639 for ac_func in fabsf
36640 do
36641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36642 echo "$as_me:$LINENO: checking for $ac_func" >&5
36643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36644 if eval "test \"\${$as_ac_var+set}\" = set"; then
36645   echo $ECHO_N "(cached) $ECHO_C" >&6
36646 else
36647   if test x$gcc_no_link = xyes; then
36648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36650    { (exit 1); exit 1; }; }
36651 fi
36652 cat >conftest.$ac_ext <<_ACEOF
36653 /* confdefs.h.  */
36654 _ACEOF
36655 cat confdefs.h >>conftest.$ac_ext
36656 cat >>conftest.$ac_ext <<_ACEOF
36657 /* end confdefs.h.  */
36658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36660 #define $ac_func innocuous_$ac_func
36661
36662 /* System header to define __stub macros and hopefully few prototypes,
36663     which can conflict with char $ac_func (); below.
36664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36665     <limits.h> exists even on freestanding compilers.  */
36666
36667 #ifdef __STDC__
36668 # include <limits.h>
36669 #else
36670 # include <assert.h>
36671 #endif
36672
36673 #undef $ac_func
36674
36675 /* Override any gcc2 internal prototype to avoid an error.  */
36676 #ifdef __cplusplus
36677 extern "C"
36678 {
36679 #endif
36680 /* We use char because int might match the return type of a gcc2
36681    builtin and then its argument prototype would still apply.  */
36682 char $ac_func ();
36683 /* The GNU C library defines this for functions which it implements
36684     to always fail with ENOSYS.  Some functions are actually named
36685     something starting with __ and the normal name is an alias.  */
36686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36687 choke me
36688 #else
36689 char (*f) () = $ac_func;
36690 #endif
36691 #ifdef __cplusplus
36692 }
36693 #endif
36694
36695 int
36696 main ()
36697 {
36698 return f != $ac_func;
36699   ;
36700   return 0;
36701 }
36702 _ACEOF
36703 rm -f conftest.$ac_objext conftest$ac_exeext
36704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36705   (eval $ac_link) 2>conftest.er1
36706   ac_status=$?
36707   grep -v '^ *+' conftest.er1 >conftest.err
36708   rm -f conftest.er1
36709   cat conftest.err >&5
36710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711   (exit $ac_status); } &&
36712          { ac_try='test -z "$ac_c_werror_flag"
36713                          || test ! -s conftest.err'
36714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36715   (eval $ac_try) 2>&5
36716   ac_status=$?
36717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718   (exit $ac_status); }; } &&
36719          { ac_try='test -s conftest$ac_exeext'
36720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36721   (eval $ac_try) 2>&5
36722   ac_status=$?
36723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36724   (exit $ac_status); }; }; then
36725   eval "$as_ac_var=yes"
36726 else
36727   echo "$as_me: failed program was:" >&5
36728 sed 's/^/| /' conftest.$ac_ext >&5
36729
36730 eval "$as_ac_var=no"
36731 fi
36732 rm -f conftest.err conftest.$ac_objext \
36733       conftest$ac_exeext conftest.$ac_ext
36734 fi
36735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36737 if test `eval echo '${'$as_ac_var'}'` = yes; then
36738   cat >>confdefs.h <<_ACEOF
36739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36740 _ACEOF
36741
36742 fi
36743 done
36744
36745   else
36746
36747   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36748 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36749   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36750     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36751   echo $ECHO_N "(cached) $ECHO_C" >&6
36752 else
36753
36754
36755
36756       ac_ext=cc
36757 ac_cpp='$CXXCPP $CPPFLAGS'
36758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36761
36762       cat >conftest.$ac_ext <<_ACEOF
36763 /* confdefs.h.  */
36764 _ACEOF
36765 cat confdefs.h >>conftest.$ac_ext
36766 cat >>conftest.$ac_ext <<_ACEOF
36767 /* end confdefs.h.  */
36768 #include <math.h>
36769                       #ifdef HAVE_IEEEFP_H
36770                       #include <ieeefp.h>
36771                       #endif
36772
36773 int
36774 main ()
36775 {
36776  _fabsf(0);
36777   ;
36778   return 0;
36779 }
36780 _ACEOF
36781 rm -f conftest.$ac_objext
36782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36783   (eval $ac_compile) 2>conftest.er1
36784   ac_status=$?
36785   grep -v '^ *+' conftest.er1 >conftest.err
36786   rm -f conftest.er1
36787   cat conftest.err >&5
36788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789   (exit $ac_status); } &&
36790          { ac_try='test -z "$ac_cxx_werror_flag"
36791                          || test ! -s conftest.err'
36792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36793   (eval $ac_try) 2>&5
36794   ac_status=$?
36795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796   (exit $ac_status); }; } &&
36797          { ac_try='test -s conftest.$ac_objext'
36798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36799   (eval $ac_try) 2>&5
36800   ac_status=$?
36801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802   (exit $ac_status); }; }; then
36803   glibcxx_cv_func__fabsf_use=yes
36804 else
36805   echo "$as_me: failed program was:" >&5
36806 sed 's/^/| /' conftest.$ac_ext >&5
36807
36808 glibcxx_cv_func__fabsf_use=no
36809 fi
36810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36811       ac_ext=c
36812 ac_cpp='$CPP $CPPFLAGS'
36813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36816
36817
36818 fi
36819
36820   fi
36821   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36822 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36823
36824     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36825
36826 for ac_func in _fabsf
36827 do
36828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36829 echo "$as_me:$LINENO: checking for $ac_func" >&5
36830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36831 if eval "test \"\${$as_ac_var+set}\" = set"; then
36832   echo $ECHO_N "(cached) $ECHO_C" >&6
36833 else
36834   if test x$gcc_no_link = xyes; then
36835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36837    { (exit 1); exit 1; }; }
36838 fi
36839 cat >conftest.$ac_ext <<_ACEOF
36840 /* confdefs.h.  */
36841 _ACEOF
36842 cat confdefs.h >>conftest.$ac_ext
36843 cat >>conftest.$ac_ext <<_ACEOF
36844 /* end confdefs.h.  */
36845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36847 #define $ac_func innocuous_$ac_func
36848
36849 /* System header to define __stub macros and hopefully few prototypes,
36850     which can conflict with char $ac_func (); below.
36851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36852     <limits.h> exists even on freestanding compilers.  */
36853
36854 #ifdef __STDC__
36855 # include <limits.h>
36856 #else
36857 # include <assert.h>
36858 #endif
36859
36860 #undef $ac_func
36861
36862 /* Override any gcc2 internal prototype to avoid an error.  */
36863 #ifdef __cplusplus
36864 extern "C"
36865 {
36866 #endif
36867 /* We use char because int might match the return type of a gcc2
36868    builtin and then its argument prototype would still apply.  */
36869 char $ac_func ();
36870 /* The GNU C library defines this for functions which it implements
36871     to always fail with ENOSYS.  Some functions are actually named
36872     something starting with __ and the normal name is an alias.  */
36873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36874 choke me
36875 #else
36876 char (*f) () = $ac_func;
36877 #endif
36878 #ifdef __cplusplus
36879 }
36880 #endif
36881
36882 int
36883 main ()
36884 {
36885 return f != $ac_func;
36886   ;
36887   return 0;
36888 }
36889 _ACEOF
36890 rm -f conftest.$ac_objext conftest$ac_exeext
36891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36892   (eval $ac_link) 2>conftest.er1
36893   ac_status=$?
36894   grep -v '^ *+' conftest.er1 >conftest.err
36895   rm -f conftest.er1
36896   cat conftest.err >&5
36897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898   (exit $ac_status); } &&
36899          { ac_try='test -z "$ac_c_werror_flag"
36900                          || test ! -s conftest.err'
36901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36902   (eval $ac_try) 2>&5
36903   ac_status=$?
36904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905   (exit $ac_status); }; } &&
36906          { ac_try='test -s conftest$ac_exeext'
36907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36908   (eval $ac_try) 2>&5
36909   ac_status=$?
36910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36911   (exit $ac_status); }; }; then
36912   eval "$as_ac_var=yes"
36913 else
36914   echo "$as_me: failed program was:" >&5
36915 sed 's/^/| /' conftest.$ac_ext >&5
36916
36917 eval "$as_ac_var=no"
36918 fi
36919 rm -f conftest.err conftest.$ac_objext \
36920       conftest$ac_exeext conftest.$ac_ext
36921 fi
36922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36924 if test `eval echo '${'$as_ac_var'}'` = yes; then
36925   cat >>confdefs.h <<_ACEOF
36926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36927 _ACEOF
36928
36929 fi
36930 done
36931
36932     fi
36933   fi
36934
36935
36936
36937
36938
36939
36940   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36941 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36942   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36943     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36944   echo $ECHO_N "(cached) $ECHO_C" >&6
36945 else
36946
36947
36948
36949       ac_ext=cc
36950 ac_cpp='$CXXCPP $CPPFLAGS'
36951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36954
36955       cat >conftest.$ac_ext <<_ACEOF
36956 /* confdefs.h.  */
36957 _ACEOF
36958 cat confdefs.h >>conftest.$ac_ext
36959 cat >>conftest.$ac_ext <<_ACEOF
36960 /* end confdefs.h.  */
36961 #include <math.h>
36962 int
36963 main ()
36964 {
36965  fmodf(0, 0);
36966   ;
36967   return 0;
36968 }
36969 _ACEOF
36970 rm -f conftest.$ac_objext
36971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36972   (eval $ac_compile) 2>conftest.er1
36973   ac_status=$?
36974   grep -v '^ *+' conftest.er1 >conftest.err
36975   rm -f conftest.er1
36976   cat conftest.err >&5
36977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978   (exit $ac_status); } &&
36979          { ac_try='test -z "$ac_cxx_werror_flag"
36980                          || test ! -s conftest.err'
36981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36982   (eval $ac_try) 2>&5
36983   ac_status=$?
36984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985   (exit $ac_status); }; } &&
36986          { ac_try='test -s conftest.$ac_objext'
36987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36988   (eval $ac_try) 2>&5
36989   ac_status=$?
36990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991   (exit $ac_status); }; }; then
36992   glibcxx_cv_func_fmodf_use=yes
36993 else
36994   echo "$as_me: failed program was:" >&5
36995 sed 's/^/| /' conftest.$ac_ext >&5
36996
36997 glibcxx_cv_func_fmodf_use=no
36998 fi
36999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37000       ac_ext=c
37001 ac_cpp='$CPP $CPPFLAGS'
37002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37005
37006
37007 fi
37008
37009   fi
37010   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
37011 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
37012
37013   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37014
37015 for ac_func in fmodf
37016 do
37017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37018 echo "$as_me:$LINENO: checking for $ac_func" >&5
37019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37020 if eval "test \"\${$as_ac_var+set}\" = set"; then
37021   echo $ECHO_N "(cached) $ECHO_C" >&6
37022 else
37023   if test x$gcc_no_link = xyes; then
37024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37026    { (exit 1); exit 1; }; }
37027 fi
37028 cat >conftest.$ac_ext <<_ACEOF
37029 /* confdefs.h.  */
37030 _ACEOF
37031 cat confdefs.h >>conftest.$ac_ext
37032 cat >>conftest.$ac_ext <<_ACEOF
37033 /* end confdefs.h.  */
37034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37035    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37036 #define $ac_func innocuous_$ac_func
37037
37038 /* System header to define __stub macros and hopefully few prototypes,
37039     which can conflict with char $ac_func (); below.
37040     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37041     <limits.h> exists even on freestanding compilers.  */
37042
37043 #ifdef __STDC__
37044 # include <limits.h>
37045 #else
37046 # include <assert.h>
37047 #endif
37048
37049 #undef $ac_func
37050
37051 /* Override any gcc2 internal prototype to avoid an error.  */
37052 #ifdef __cplusplus
37053 extern "C"
37054 {
37055 #endif
37056 /* We use char because int might match the return type of a gcc2
37057    builtin and then its argument prototype would still apply.  */
37058 char $ac_func ();
37059 /* The GNU C library defines this for functions which it implements
37060     to always fail with ENOSYS.  Some functions are actually named
37061     something starting with __ and the normal name is an alias.  */
37062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37063 choke me
37064 #else
37065 char (*f) () = $ac_func;
37066 #endif
37067 #ifdef __cplusplus
37068 }
37069 #endif
37070
37071 int
37072 main ()
37073 {
37074 return f != $ac_func;
37075   ;
37076   return 0;
37077 }
37078 _ACEOF
37079 rm -f conftest.$ac_objext conftest$ac_exeext
37080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37081   (eval $ac_link) 2>conftest.er1
37082   ac_status=$?
37083   grep -v '^ *+' conftest.er1 >conftest.err
37084   rm -f conftest.er1
37085   cat conftest.err >&5
37086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087   (exit $ac_status); } &&
37088          { ac_try='test -z "$ac_c_werror_flag"
37089                          || test ! -s conftest.err'
37090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37091   (eval $ac_try) 2>&5
37092   ac_status=$?
37093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094   (exit $ac_status); }; } &&
37095          { ac_try='test -s conftest$ac_exeext'
37096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37097   (eval $ac_try) 2>&5
37098   ac_status=$?
37099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100   (exit $ac_status); }; }; then
37101   eval "$as_ac_var=yes"
37102 else
37103   echo "$as_me: failed program was:" >&5
37104 sed 's/^/| /' conftest.$ac_ext >&5
37105
37106 eval "$as_ac_var=no"
37107 fi
37108 rm -f conftest.err conftest.$ac_objext \
37109       conftest$ac_exeext conftest.$ac_ext
37110 fi
37111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37113 if test `eval echo '${'$as_ac_var'}'` = yes; then
37114   cat >>confdefs.h <<_ACEOF
37115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37116 _ACEOF
37117
37118 fi
37119 done
37120
37121   else
37122
37123   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
37124 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
37125   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37126     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
37127   echo $ECHO_N "(cached) $ECHO_C" >&6
37128 else
37129
37130
37131
37132       ac_ext=cc
37133 ac_cpp='$CXXCPP $CPPFLAGS'
37134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37137
37138       cat >conftest.$ac_ext <<_ACEOF
37139 /* confdefs.h.  */
37140 _ACEOF
37141 cat confdefs.h >>conftest.$ac_ext
37142 cat >>conftest.$ac_ext <<_ACEOF
37143 /* end confdefs.h.  */
37144 #include <math.h>
37145 int
37146 main ()
37147 {
37148  _fmodf(0, 0);
37149   ;
37150   return 0;
37151 }
37152 _ACEOF
37153 rm -f conftest.$ac_objext
37154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37155   (eval $ac_compile) 2>conftest.er1
37156   ac_status=$?
37157   grep -v '^ *+' conftest.er1 >conftest.err
37158   rm -f conftest.er1
37159   cat conftest.err >&5
37160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161   (exit $ac_status); } &&
37162          { ac_try='test -z "$ac_cxx_werror_flag"
37163                          || test ! -s conftest.err'
37164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37165   (eval $ac_try) 2>&5
37166   ac_status=$?
37167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168   (exit $ac_status); }; } &&
37169          { ac_try='test -s conftest.$ac_objext'
37170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37171   (eval $ac_try) 2>&5
37172   ac_status=$?
37173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174   (exit $ac_status); }; }; then
37175   glibcxx_cv_func__fmodf_use=yes
37176 else
37177   echo "$as_me: failed program was:" >&5
37178 sed 's/^/| /' conftest.$ac_ext >&5
37179
37180 glibcxx_cv_func__fmodf_use=no
37181 fi
37182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37183       ac_ext=c
37184 ac_cpp='$CPP $CPPFLAGS'
37185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37188
37189
37190 fi
37191
37192   fi
37193   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37194 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37195
37196     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37197
37198 for ac_func in _fmodf
37199 do
37200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37201 echo "$as_me:$LINENO: checking for $ac_func" >&5
37202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37203 if eval "test \"\${$as_ac_var+set}\" = set"; then
37204   echo $ECHO_N "(cached) $ECHO_C" >&6
37205 else
37206   if test x$gcc_no_link = xyes; then
37207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37209    { (exit 1); exit 1; }; }
37210 fi
37211 cat >conftest.$ac_ext <<_ACEOF
37212 /* confdefs.h.  */
37213 _ACEOF
37214 cat confdefs.h >>conftest.$ac_ext
37215 cat >>conftest.$ac_ext <<_ACEOF
37216 /* end confdefs.h.  */
37217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37219 #define $ac_func innocuous_$ac_func
37220
37221 /* System header to define __stub macros and hopefully few prototypes,
37222     which can conflict with char $ac_func (); below.
37223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37224     <limits.h> exists even on freestanding compilers.  */
37225
37226 #ifdef __STDC__
37227 # include <limits.h>
37228 #else
37229 # include <assert.h>
37230 #endif
37231
37232 #undef $ac_func
37233
37234 /* Override any gcc2 internal prototype to avoid an error.  */
37235 #ifdef __cplusplus
37236 extern "C"
37237 {
37238 #endif
37239 /* We use char because int might match the return type of a gcc2
37240    builtin and then its argument prototype would still apply.  */
37241 char $ac_func ();
37242 /* The GNU C library defines this for functions which it implements
37243     to always fail with ENOSYS.  Some functions are actually named
37244     something starting with __ and the normal name is an alias.  */
37245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37246 choke me
37247 #else
37248 char (*f) () = $ac_func;
37249 #endif
37250 #ifdef __cplusplus
37251 }
37252 #endif
37253
37254 int
37255 main ()
37256 {
37257 return f != $ac_func;
37258   ;
37259   return 0;
37260 }
37261 _ACEOF
37262 rm -f conftest.$ac_objext conftest$ac_exeext
37263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37264   (eval $ac_link) 2>conftest.er1
37265   ac_status=$?
37266   grep -v '^ *+' conftest.er1 >conftest.err
37267   rm -f conftest.er1
37268   cat conftest.err >&5
37269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270   (exit $ac_status); } &&
37271          { ac_try='test -z "$ac_c_werror_flag"
37272                          || test ! -s conftest.err'
37273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37274   (eval $ac_try) 2>&5
37275   ac_status=$?
37276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277   (exit $ac_status); }; } &&
37278          { ac_try='test -s conftest$ac_exeext'
37279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37280   (eval $ac_try) 2>&5
37281   ac_status=$?
37282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283   (exit $ac_status); }; }; then
37284   eval "$as_ac_var=yes"
37285 else
37286   echo "$as_me: failed program was:" >&5
37287 sed 's/^/| /' conftest.$ac_ext >&5
37288
37289 eval "$as_ac_var=no"
37290 fi
37291 rm -f conftest.err conftest.$ac_objext \
37292       conftest$ac_exeext conftest.$ac_ext
37293 fi
37294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37296 if test `eval echo '${'$as_ac_var'}'` = yes; then
37297   cat >>confdefs.h <<_ACEOF
37298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37299 _ACEOF
37300
37301 fi
37302 done
37303
37304     fi
37305   fi
37306
37307
37308
37309
37310
37311
37312   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37313 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37314   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37315     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37316   echo $ECHO_N "(cached) $ECHO_C" >&6
37317 else
37318
37319
37320
37321       ac_ext=cc
37322 ac_cpp='$CXXCPP $CPPFLAGS'
37323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37326
37327       cat >conftest.$ac_ext <<_ACEOF
37328 /* confdefs.h.  */
37329 _ACEOF
37330 cat confdefs.h >>conftest.$ac_ext
37331 cat >>conftest.$ac_ext <<_ACEOF
37332 /* end confdefs.h.  */
37333 #include <math.h>
37334 int
37335 main ()
37336 {
37337  frexpf(0, 0);
37338   ;
37339   return 0;
37340 }
37341 _ACEOF
37342 rm -f conftest.$ac_objext
37343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37344   (eval $ac_compile) 2>conftest.er1
37345   ac_status=$?
37346   grep -v '^ *+' conftest.er1 >conftest.err
37347   rm -f conftest.er1
37348   cat conftest.err >&5
37349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350   (exit $ac_status); } &&
37351          { ac_try='test -z "$ac_cxx_werror_flag"
37352                          || test ! -s conftest.err'
37353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37354   (eval $ac_try) 2>&5
37355   ac_status=$?
37356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357   (exit $ac_status); }; } &&
37358          { ac_try='test -s conftest.$ac_objext'
37359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360   (eval $ac_try) 2>&5
37361   ac_status=$?
37362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363   (exit $ac_status); }; }; then
37364   glibcxx_cv_func_frexpf_use=yes
37365 else
37366   echo "$as_me: failed program was:" >&5
37367 sed 's/^/| /' conftest.$ac_ext >&5
37368
37369 glibcxx_cv_func_frexpf_use=no
37370 fi
37371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37372       ac_ext=c
37373 ac_cpp='$CPP $CPPFLAGS'
37374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37377
37378
37379 fi
37380
37381   fi
37382   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37383 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37384
37385   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37386
37387 for ac_func in frexpf
37388 do
37389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37390 echo "$as_me:$LINENO: checking for $ac_func" >&5
37391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37392 if eval "test \"\${$as_ac_var+set}\" = set"; then
37393   echo $ECHO_N "(cached) $ECHO_C" >&6
37394 else
37395   if test x$gcc_no_link = xyes; then
37396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37398    { (exit 1); exit 1; }; }
37399 fi
37400 cat >conftest.$ac_ext <<_ACEOF
37401 /* confdefs.h.  */
37402 _ACEOF
37403 cat confdefs.h >>conftest.$ac_ext
37404 cat >>conftest.$ac_ext <<_ACEOF
37405 /* end confdefs.h.  */
37406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37407    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37408 #define $ac_func innocuous_$ac_func
37409
37410 /* System header to define __stub macros and hopefully few prototypes,
37411     which can conflict with char $ac_func (); below.
37412     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37413     <limits.h> exists even on freestanding compilers.  */
37414
37415 #ifdef __STDC__
37416 # include <limits.h>
37417 #else
37418 # include <assert.h>
37419 #endif
37420
37421 #undef $ac_func
37422
37423 /* Override any gcc2 internal prototype to avoid an error.  */
37424 #ifdef __cplusplus
37425 extern "C"
37426 {
37427 #endif
37428 /* We use char because int might match the return type of a gcc2
37429    builtin and then its argument prototype would still apply.  */
37430 char $ac_func ();
37431 /* The GNU C library defines this for functions which it implements
37432     to always fail with ENOSYS.  Some functions are actually named
37433     something starting with __ and the normal name is an alias.  */
37434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37435 choke me
37436 #else
37437 char (*f) () = $ac_func;
37438 #endif
37439 #ifdef __cplusplus
37440 }
37441 #endif
37442
37443 int
37444 main ()
37445 {
37446 return f != $ac_func;
37447   ;
37448   return 0;
37449 }
37450 _ACEOF
37451 rm -f conftest.$ac_objext conftest$ac_exeext
37452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37453   (eval $ac_link) 2>conftest.er1
37454   ac_status=$?
37455   grep -v '^ *+' conftest.er1 >conftest.err
37456   rm -f conftest.er1
37457   cat conftest.err >&5
37458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459   (exit $ac_status); } &&
37460          { ac_try='test -z "$ac_c_werror_flag"
37461                          || test ! -s conftest.err'
37462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37463   (eval $ac_try) 2>&5
37464   ac_status=$?
37465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37466   (exit $ac_status); }; } &&
37467          { ac_try='test -s conftest$ac_exeext'
37468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37469   (eval $ac_try) 2>&5
37470   ac_status=$?
37471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472   (exit $ac_status); }; }; then
37473   eval "$as_ac_var=yes"
37474 else
37475   echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37477
37478 eval "$as_ac_var=no"
37479 fi
37480 rm -f conftest.err conftest.$ac_objext \
37481       conftest$ac_exeext conftest.$ac_ext
37482 fi
37483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37485 if test `eval echo '${'$as_ac_var'}'` = yes; then
37486   cat >>confdefs.h <<_ACEOF
37487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37488 _ACEOF
37489
37490 fi
37491 done
37492
37493   else
37494
37495   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37496 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37497   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37498     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37499   echo $ECHO_N "(cached) $ECHO_C" >&6
37500 else
37501
37502
37503
37504       ac_ext=cc
37505 ac_cpp='$CXXCPP $CPPFLAGS'
37506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37509
37510       cat >conftest.$ac_ext <<_ACEOF
37511 /* confdefs.h.  */
37512 _ACEOF
37513 cat confdefs.h >>conftest.$ac_ext
37514 cat >>conftest.$ac_ext <<_ACEOF
37515 /* end confdefs.h.  */
37516 #include <math.h>
37517 int
37518 main ()
37519 {
37520  _frexpf(0, 0);
37521   ;
37522   return 0;
37523 }
37524 _ACEOF
37525 rm -f conftest.$ac_objext
37526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37527   (eval $ac_compile) 2>conftest.er1
37528   ac_status=$?
37529   grep -v '^ *+' conftest.er1 >conftest.err
37530   rm -f conftest.er1
37531   cat conftest.err >&5
37532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37533   (exit $ac_status); } &&
37534          { ac_try='test -z "$ac_cxx_werror_flag"
37535                          || test ! -s conftest.err'
37536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37537   (eval $ac_try) 2>&5
37538   ac_status=$?
37539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540   (exit $ac_status); }; } &&
37541          { ac_try='test -s conftest.$ac_objext'
37542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543   (eval $ac_try) 2>&5
37544   ac_status=$?
37545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546   (exit $ac_status); }; }; then
37547   glibcxx_cv_func__frexpf_use=yes
37548 else
37549   echo "$as_me: failed program was:" >&5
37550 sed 's/^/| /' conftest.$ac_ext >&5
37551
37552 glibcxx_cv_func__frexpf_use=no
37553 fi
37554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37555       ac_ext=c
37556 ac_cpp='$CPP $CPPFLAGS'
37557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37560
37561
37562 fi
37563
37564   fi
37565   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37566 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37567
37568     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37569
37570 for ac_func in _frexpf
37571 do
37572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37573 echo "$as_me:$LINENO: checking for $ac_func" >&5
37574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37575 if eval "test \"\${$as_ac_var+set}\" = set"; then
37576   echo $ECHO_N "(cached) $ECHO_C" >&6
37577 else
37578   if test x$gcc_no_link = xyes; then
37579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37581    { (exit 1); exit 1; }; }
37582 fi
37583 cat >conftest.$ac_ext <<_ACEOF
37584 /* confdefs.h.  */
37585 _ACEOF
37586 cat confdefs.h >>conftest.$ac_ext
37587 cat >>conftest.$ac_ext <<_ACEOF
37588 /* end confdefs.h.  */
37589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37590    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37591 #define $ac_func innocuous_$ac_func
37592
37593 /* System header to define __stub macros and hopefully few prototypes,
37594     which can conflict with char $ac_func (); below.
37595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37596     <limits.h> exists even on freestanding compilers.  */
37597
37598 #ifdef __STDC__
37599 # include <limits.h>
37600 #else
37601 # include <assert.h>
37602 #endif
37603
37604 #undef $ac_func
37605
37606 /* Override any gcc2 internal prototype to avoid an error.  */
37607 #ifdef __cplusplus
37608 extern "C"
37609 {
37610 #endif
37611 /* We use char because int might match the return type of a gcc2
37612    builtin and then its argument prototype would still apply.  */
37613 char $ac_func ();
37614 /* The GNU C library defines this for functions which it implements
37615     to always fail with ENOSYS.  Some functions are actually named
37616     something starting with __ and the normal name is an alias.  */
37617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37618 choke me
37619 #else
37620 char (*f) () = $ac_func;
37621 #endif
37622 #ifdef __cplusplus
37623 }
37624 #endif
37625
37626 int
37627 main ()
37628 {
37629 return f != $ac_func;
37630   ;
37631   return 0;
37632 }
37633 _ACEOF
37634 rm -f conftest.$ac_objext conftest$ac_exeext
37635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37636   (eval $ac_link) 2>conftest.er1
37637   ac_status=$?
37638   grep -v '^ *+' conftest.er1 >conftest.err
37639   rm -f conftest.er1
37640   cat conftest.err >&5
37641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642   (exit $ac_status); } &&
37643          { ac_try='test -z "$ac_c_werror_flag"
37644                          || test ! -s conftest.err'
37645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37646   (eval $ac_try) 2>&5
37647   ac_status=$?
37648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649   (exit $ac_status); }; } &&
37650          { ac_try='test -s conftest$ac_exeext'
37651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37652   (eval $ac_try) 2>&5
37653   ac_status=$?
37654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655   (exit $ac_status); }; }; then
37656   eval "$as_ac_var=yes"
37657 else
37658   echo "$as_me: failed program was:" >&5
37659 sed 's/^/| /' conftest.$ac_ext >&5
37660
37661 eval "$as_ac_var=no"
37662 fi
37663 rm -f conftest.err conftest.$ac_objext \
37664       conftest$ac_exeext conftest.$ac_ext
37665 fi
37666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37668 if test `eval echo '${'$as_ac_var'}'` = yes; then
37669   cat >>confdefs.h <<_ACEOF
37670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37671 _ACEOF
37672
37673 fi
37674 done
37675
37676     fi
37677   fi
37678
37679
37680
37681
37682
37683
37684   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37685 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37686   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37687     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37688   echo $ECHO_N "(cached) $ECHO_C" >&6
37689 else
37690
37691
37692
37693       ac_ext=cc
37694 ac_cpp='$CXXCPP $CPPFLAGS'
37695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37698
37699       cat >conftest.$ac_ext <<_ACEOF
37700 /* confdefs.h.  */
37701 _ACEOF
37702 cat confdefs.h >>conftest.$ac_ext
37703 cat >>conftest.$ac_ext <<_ACEOF
37704 /* end confdefs.h.  */
37705 #include <math.h>
37706 int
37707 main ()
37708 {
37709  hypotf(0, 0);
37710   ;
37711   return 0;
37712 }
37713 _ACEOF
37714 rm -f conftest.$ac_objext
37715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37716   (eval $ac_compile) 2>conftest.er1
37717   ac_status=$?
37718   grep -v '^ *+' conftest.er1 >conftest.err
37719   rm -f conftest.er1
37720   cat conftest.err >&5
37721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722   (exit $ac_status); } &&
37723          { ac_try='test -z "$ac_cxx_werror_flag"
37724                          || test ! -s conftest.err'
37725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37726   (eval $ac_try) 2>&5
37727   ac_status=$?
37728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729   (exit $ac_status); }; } &&
37730          { ac_try='test -s conftest.$ac_objext'
37731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37732   (eval $ac_try) 2>&5
37733   ac_status=$?
37734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735   (exit $ac_status); }; }; then
37736   glibcxx_cv_func_hypotf_use=yes
37737 else
37738   echo "$as_me: failed program was:" >&5
37739 sed 's/^/| /' conftest.$ac_ext >&5
37740
37741 glibcxx_cv_func_hypotf_use=no
37742 fi
37743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37744       ac_ext=c
37745 ac_cpp='$CPP $CPPFLAGS'
37746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37749
37750
37751 fi
37752
37753   fi
37754   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37755 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37756
37757   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37758
37759 for ac_func in hypotf
37760 do
37761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37762 echo "$as_me:$LINENO: checking for $ac_func" >&5
37763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37764 if eval "test \"\${$as_ac_var+set}\" = set"; then
37765   echo $ECHO_N "(cached) $ECHO_C" >&6
37766 else
37767   if test x$gcc_no_link = xyes; then
37768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37770    { (exit 1); exit 1; }; }
37771 fi
37772 cat >conftest.$ac_ext <<_ACEOF
37773 /* confdefs.h.  */
37774 _ACEOF
37775 cat confdefs.h >>conftest.$ac_ext
37776 cat >>conftest.$ac_ext <<_ACEOF
37777 /* end confdefs.h.  */
37778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37780 #define $ac_func innocuous_$ac_func
37781
37782 /* System header to define __stub macros and hopefully few prototypes,
37783     which can conflict with char $ac_func (); below.
37784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37785     <limits.h> exists even on freestanding compilers.  */
37786
37787 #ifdef __STDC__
37788 # include <limits.h>
37789 #else
37790 # include <assert.h>
37791 #endif
37792
37793 #undef $ac_func
37794
37795 /* Override any gcc2 internal prototype to avoid an error.  */
37796 #ifdef __cplusplus
37797 extern "C"
37798 {
37799 #endif
37800 /* We use char because int might match the return type of a gcc2
37801    builtin and then its argument prototype would still apply.  */
37802 char $ac_func ();
37803 /* The GNU C library defines this for functions which it implements
37804     to always fail with ENOSYS.  Some functions are actually named
37805     something starting with __ and the normal name is an alias.  */
37806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37807 choke me
37808 #else
37809 char (*f) () = $ac_func;
37810 #endif
37811 #ifdef __cplusplus
37812 }
37813 #endif
37814
37815 int
37816 main ()
37817 {
37818 return f != $ac_func;
37819   ;
37820   return 0;
37821 }
37822 _ACEOF
37823 rm -f conftest.$ac_objext conftest$ac_exeext
37824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37825   (eval $ac_link) 2>conftest.er1
37826   ac_status=$?
37827   grep -v '^ *+' conftest.er1 >conftest.err
37828   rm -f conftest.er1
37829   cat conftest.err >&5
37830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831   (exit $ac_status); } &&
37832          { ac_try='test -z "$ac_c_werror_flag"
37833                          || test ! -s conftest.err'
37834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37835   (eval $ac_try) 2>&5
37836   ac_status=$?
37837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838   (exit $ac_status); }; } &&
37839          { ac_try='test -s conftest$ac_exeext'
37840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37841   (eval $ac_try) 2>&5
37842   ac_status=$?
37843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844   (exit $ac_status); }; }; then
37845   eval "$as_ac_var=yes"
37846 else
37847   echo "$as_me: failed program was:" >&5
37848 sed 's/^/| /' conftest.$ac_ext >&5
37849
37850 eval "$as_ac_var=no"
37851 fi
37852 rm -f conftest.err conftest.$ac_objext \
37853       conftest$ac_exeext conftest.$ac_ext
37854 fi
37855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37857 if test `eval echo '${'$as_ac_var'}'` = yes; then
37858   cat >>confdefs.h <<_ACEOF
37859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37860 _ACEOF
37861
37862 fi
37863 done
37864
37865   else
37866
37867   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37868 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37869   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37870     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37871   echo $ECHO_N "(cached) $ECHO_C" >&6
37872 else
37873
37874
37875
37876       ac_ext=cc
37877 ac_cpp='$CXXCPP $CPPFLAGS'
37878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37881
37882       cat >conftest.$ac_ext <<_ACEOF
37883 /* confdefs.h.  */
37884 _ACEOF
37885 cat confdefs.h >>conftest.$ac_ext
37886 cat >>conftest.$ac_ext <<_ACEOF
37887 /* end confdefs.h.  */
37888 #include <math.h>
37889 int
37890 main ()
37891 {
37892  _hypotf(0, 0);
37893   ;
37894   return 0;
37895 }
37896 _ACEOF
37897 rm -f conftest.$ac_objext
37898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37899   (eval $ac_compile) 2>conftest.er1
37900   ac_status=$?
37901   grep -v '^ *+' conftest.er1 >conftest.err
37902   rm -f conftest.er1
37903   cat conftest.err >&5
37904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905   (exit $ac_status); } &&
37906          { ac_try='test -z "$ac_cxx_werror_flag"
37907                          || test ! -s conftest.err'
37908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37909   (eval $ac_try) 2>&5
37910   ac_status=$?
37911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912   (exit $ac_status); }; } &&
37913          { ac_try='test -s conftest.$ac_objext'
37914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37915   (eval $ac_try) 2>&5
37916   ac_status=$?
37917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918   (exit $ac_status); }; }; then
37919   glibcxx_cv_func__hypotf_use=yes
37920 else
37921   echo "$as_me: failed program was:" >&5
37922 sed 's/^/| /' conftest.$ac_ext >&5
37923
37924 glibcxx_cv_func__hypotf_use=no
37925 fi
37926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37927       ac_ext=c
37928 ac_cpp='$CPP $CPPFLAGS'
37929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37932
37933
37934 fi
37935
37936   fi
37937   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37938 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37939
37940     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37941
37942 for ac_func in _hypotf
37943 do
37944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37945 echo "$as_me:$LINENO: checking for $ac_func" >&5
37946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37947 if eval "test \"\${$as_ac_var+set}\" = set"; then
37948   echo $ECHO_N "(cached) $ECHO_C" >&6
37949 else
37950   if test x$gcc_no_link = xyes; then
37951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37953    { (exit 1); exit 1; }; }
37954 fi
37955 cat >conftest.$ac_ext <<_ACEOF
37956 /* confdefs.h.  */
37957 _ACEOF
37958 cat confdefs.h >>conftest.$ac_ext
37959 cat >>conftest.$ac_ext <<_ACEOF
37960 /* end confdefs.h.  */
37961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37963 #define $ac_func innocuous_$ac_func
37964
37965 /* System header to define __stub macros and hopefully few prototypes,
37966     which can conflict with char $ac_func (); below.
37967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37968     <limits.h> exists even on freestanding compilers.  */
37969
37970 #ifdef __STDC__
37971 # include <limits.h>
37972 #else
37973 # include <assert.h>
37974 #endif
37975
37976 #undef $ac_func
37977
37978 /* Override any gcc2 internal prototype to avoid an error.  */
37979 #ifdef __cplusplus
37980 extern "C"
37981 {
37982 #endif
37983 /* We use char because int might match the return type of a gcc2
37984    builtin and then its argument prototype would still apply.  */
37985 char $ac_func ();
37986 /* The GNU C library defines this for functions which it implements
37987     to always fail with ENOSYS.  Some functions are actually named
37988     something starting with __ and the normal name is an alias.  */
37989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37990 choke me
37991 #else
37992 char (*f) () = $ac_func;
37993 #endif
37994 #ifdef __cplusplus
37995 }
37996 #endif
37997
37998 int
37999 main ()
38000 {
38001 return f != $ac_func;
38002   ;
38003   return 0;
38004 }
38005 _ACEOF
38006 rm -f conftest.$ac_objext conftest$ac_exeext
38007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38008   (eval $ac_link) 2>conftest.er1
38009   ac_status=$?
38010   grep -v '^ *+' conftest.er1 >conftest.err
38011   rm -f conftest.er1
38012   cat conftest.err >&5
38013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38014   (exit $ac_status); } &&
38015          { ac_try='test -z "$ac_c_werror_flag"
38016                          || test ! -s conftest.err'
38017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018   (eval $ac_try) 2>&5
38019   ac_status=$?
38020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021   (exit $ac_status); }; } &&
38022          { ac_try='test -s conftest$ac_exeext'
38023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38024   (eval $ac_try) 2>&5
38025   ac_status=$?
38026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027   (exit $ac_status); }; }; then
38028   eval "$as_ac_var=yes"
38029 else
38030   echo "$as_me: failed program was:" >&5
38031 sed 's/^/| /' conftest.$ac_ext >&5
38032
38033 eval "$as_ac_var=no"
38034 fi
38035 rm -f conftest.err conftest.$ac_objext \
38036       conftest$ac_exeext conftest.$ac_ext
38037 fi
38038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38040 if test `eval echo '${'$as_ac_var'}'` = yes; then
38041   cat >>confdefs.h <<_ACEOF
38042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38043 _ACEOF
38044
38045 fi
38046 done
38047
38048     fi
38049   fi
38050
38051
38052
38053
38054
38055
38056   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
38057 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
38058   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38059     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
38060   echo $ECHO_N "(cached) $ECHO_C" >&6
38061 else
38062
38063
38064
38065       ac_ext=cc
38066 ac_cpp='$CXXCPP $CPPFLAGS'
38067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38070
38071       cat >conftest.$ac_ext <<_ACEOF
38072 /* confdefs.h.  */
38073 _ACEOF
38074 cat confdefs.h >>conftest.$ac_ext
38075 cat >>conftest.$ac_ext <<_ACEOF
38076 /* end confdefs.h.  */
38077 #include <math.h>
38078 int
38079 main ()
38080 {
38081  ldexpf(0, 0);
38082   ;
38083   return 0;
38084 }
38085 _ACEOF
38086 rm -f conftest.$ac_objext
38087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38088   (eval $ac_compile) 2>conftest.er1
38089   ac_status=$?
38090   grep -v '^ *+' conftest.er1 >conftest.err
38091   rm -f conftest.er1
38092   cat conftest.err >&5
38093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094   (exit $ac_status); } &&
38095          { ac_try='test -z "$ac_cxx_werror_flag"
38096                          || test ! -s conftest.err'
38097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38098   (eval $ac_try) 2>&5
38099   ac_status=$?
38100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101   (exit $ac_status); }; } &&
38102          { ac_try='test -s conftest.$ac_objext'
38103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38104   (eval $ac_try) 2>&5
38105   ac_status=$?
38106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38107   (exit $ac_status); }; }; then
38108   glibcxx_cv_func_ldexpf_use=yes
38109 else
38110   echo "$as_me: failed program was:" >&5
38111 sed 's/^/| /' conftest.$ac_ext >&5
38112
38113 glibcxx_cv_func_ldexpf_use=no
38114 fi
38115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38116       ac_ext=c
38117 ac_cpp='$CPP $CPPFLAGS'
38118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38121
38122
38123 fi
38124
38125   fi
38126   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
38127 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
38128
38129   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38130
38131 for ac_func in ldexpf
38132 do
38133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38134 echo "$as_me:$LINENO: checking for $ac_func" >&5
38135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38136 if eval "test \"\${$as_ac_var+set}\" = set"; then
38137   echo $ECHO_N "(cached) $ECHO_C" >&6
38138 else
38139   if test x$gcc_no_link = xyes; then
38140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38142    { (exit 1); exit 1; }; }
38143 fi
38144 cat >conftest.$ac_ext <<_ACEOF
38145 /* confdefs.h.  */
38146 _ACEOF
38147 cat confdefs.h >>conftest.$ac_ext
38148 cat >>conftest.$ac_ext <<_ACEOF
38149 /* end confdefs.h.  */
38150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38152 #define $ac_func innocuous_$ac_func
38153
38154 /* System header to define __stub macros and hopefully few prototypes,
38155     which can conflict with char $ac_func (); below.
38156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38157     <limits.h> exists even on freestanding compilers.  */
38158
38159 #ifdef __STDC__
38160 # include <limits.h>
38161 #else
38162 # include <assert.h>
38163 #endif
38164
38165 #undef $ac_func
38166
38167 /* Override any gcc2 internal prototype to avoid an error.  */
38168 #ifdef __cplusplus
38169 extern "C"
38170 {
38171 #endif
38172 /* We use char because int might match the return type of a gcc2
38173    builtin and then its argument prototype would still apply.  */
38174 char $ac_func ();
38175 /* The GNU C library defines this for functions which it implements
38176     to always fail with ENOSYS.  Some functions are actually named
38177     something starting with __ and the normal name is an alias.  */
38178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38179 choke me
38180 #else
38181 char (*f) () = $ac_func;
38182 #endif
38183 #ifdef __cplusplus
38184 }
38185 #endif
38186
38187 int
38188 main ()
38189 {
38190 return f != $ac_func;
38191   ;
38192   return 0;
38193 }
38194 _ACEOF
38195 rm -f conftest.$ac_objext conftest$ac_exeext
38196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38197   (eval $ac_link) 2>conftest.er1
38198   ac_status=$?
38199   grep -v '^ *+' conftest.er1 >conftest.err
38200   rm -f conftest.er1
38201   cat conftest.err >&5
38202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203   (exit $ac_status); } &&
38204          { ac_try='test -z "$ac_c_werror_flag"
38205                          || test ! -s conftest.err'
38206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38207   (eval $ac_try) 2>&5
38208   ac_status=$?
38209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38210   (exit $ac_status); }; } &&
38211          { ac_try='test -s conftest$ac_exeext'
38212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38213   (eval $ac_try) 2>&5
38214   ac_status=$?
38215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216   (exit $ac_status); }; }; then
38217   eval "$as_ac_var=yes"
38218 else
38219   echo "$as_me: failed program was:" >&5
38220 sed 's/^/| /' conftest.$ac_ext >&5
38221
38222 eval "$as_ac_var=no"
38223 fi
38224 rm -f conftest.err conftest.$ac_objext \
38225       conftest$ac_exeext conftest.$ac_ext
38226 fi
38227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38229 if test `eval echo '${'$as_ac_var'}'` = yes; then
38230   cat >>confdefs.h <<_ACEOF
38231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38232 _ACEOF
38233
38234 fi
38235 done
38236
38237   else
38238
38239   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38240 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38241   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38242     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38243   echo $ECHO_N "(cached) $ECHO_C" >&6
38244 else
38245
38246
38247
38248       ac_ext=cc
38249 ac_cpp='$CXXCPP $CPPFLAGS'
38250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38253
38254       cat >conftest.$ac_ext <<_ACEOF
38255 /* confdefs.h.  */
38256 _ACEOF
38257 cat confdefs.h >>conftest.$ac_ext
38258 cat >>conftest.$ac_ext <<_ACEOF
38259 /* end confdefs.h.  */
38260 #include <math.h>
38261 int
38262 main ()
38263 {
38264  _ldexpf(0, 0);
38265   ;
38266   return 0;
38267 }
38268 _ACEOF
38269 rm -f conftest.$ac_objext
38270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38271   (eval $ac_compile) 2>conftest.er1
38272   ac_status=$?
38273   grep -v '^ *+' conftest.er1 >conftest.err
38274   rm -f conftest.er1
38275   cat conftest.err >&5
38276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38277   (exit $ac_status); } &&
38278          { ac_try='test -z "$ac_cxx_werror_flag"
38279                          || test ! -s conftest.err'
38280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38281   (eval $ac_try) 2>&5
38282   ac_status=$?
38283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284   (exit $ac_status); }; } &&
38285          { ac_try='test -s conftest.$ac_objext'
38286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38287   (eval $ac_try) 2>&5
38288   ac_status=$?
38289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290   (exit $ac_status); }; }; then
38291   glibcxx_cv_func__ldexpf_use=yes
38292 else
38293   echo "$as_me: failed program was:" >&5
38294 sed 's/^/| /' conftest.$ac_ext >&5
38295
38296 glibcxx_cv_func__ldexpf_use=no
38297 fi
38298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38299       ac_ext=c
38300 ac_cpp='$CPP $CPPFLAGS'
38301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38304
38305
38306 fi
38307
38308   fi
38309   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38310 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38311
38312     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38313
38314 for ac_func in _ldexpf
38315 do
38316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38317 echo "$as_me:$LINENO: checking for $ac_func" >&5
38318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38319 if eval "test \"\${$as_ac_var+set}\" = set"; then
38320   echo $ECHO_N "(cached) $ECHO_C" >&6
38321 else
38322   if test x$gcc_no_link = xyes; then
38323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38325    { (exit 1); exit 1; }; }
38326 fi
38327 cat >conftest.$ac_ext <<_ACEOF
38328 /* confdefs.h.  */
38329 _ACEOF
38330 cat confdefs.h >>conftest.$ac_ext
38331 cat >>conftest.$ac_ext <<_ACEOF
38332 /* end confdefs.h.  */
38333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38335 #define $ac_func innocuous_$ac_func
38336
38337 /* System header to define __stub macros and hopefully few prototypes,
38338     which can conflict with char $ac_func (); below.
38339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38340     <limits.h> exists even on freestanding compilers.  */
38341
38342 #ifdef __STDC__
38343 # include <limits.h>
38344 #else
38345 # include <assert.h>
38346 #endif
38347
38348 #undef $ac_func
38349
38350 /* Override any gcc2 internal prototype to avoid an error.  */
38351 #ifdef __cplusplus
38352 extern "C"
38353 {
38354 #endif
38355 /* We use char because int might match the return type of a gcc2
38356    builtin and then its argument prototype would still apply.  */
38357 char $ac_func ();
38358 /* The GNU C library defines this for functions which it implements
38359     to always fail with ENOSYS.  Some functions are actually named
38360     something starting with __ and the normal name is an alias.  */
38361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38362 choke me
38363 #else
38364 char (*f) () = $ac_func;
38365 #endif
38366 #ifdef __cplusplus
38367 }
38368 #endif
38369
38370 int
38371 main ()
38372 {
38373 return f != $ac_func;
38374   ;
38375   return 0;
38376 }
38377 _ACEOF
38378 rm -f conftest.$ac_objext conftest$ac_exeext
38379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38380   (eval $ac_link) 2>conftest.er1
38381   ac_status=$?
38382   grep -v '^ *+' conftest.er1 >conftest.err
38383   rm -f conftest.er1
38384   cat conftest.err >&5
38385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386   (exit $ac_status); } &&
38387          { ac_try='test -z "$ac_c_werror_flag"
38388                          || test ! -s conftest.err'
38389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390   (eval $ac_try) 2>&5
38391   ac_status=$?
38392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393   (exit $ac_status); }; } &&
38394          { ac_try='test -s conftest$ac_exeext'
38395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38396   (eval $ac_try) 2>&5
38397   ac_status=$?
38398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399   (exit $ac_status); }; }; then
38400   eval "$as_ac_var=yes"
38401 else
38402   echo "$as_me: failed program was:" >&5
38403 sed 's/^/| /' conftest.$ac_ext >&5
38404
38405 eval "$as_ac_var=no"
38406 fi
38407 rm -f conftest.err conftest.$ac_objext \
38408       conftest$ac_exeext conftest.$ac_ext
38409 fi
38410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38412 if test `eval echo '${'$as_ac_var'}'` = yes; then
38413   cat >>confdefs.h <<_ACEOF
38414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38415 _ACEOF
38416
38417 fi
38418 done
38419
38420     fi
38421   fi
38422
38423
38424
38425
38426
38427
38428   echo "$as_me:$LINENO: checking for logf declaration" >&5
38429 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38430   if test x${glibcxx_cv_func_logf_use+set} != xset; then
38431     if test "${glibcxx_cv_func_logf_use+set}" = set; then
38432   echo $ECHO_N "(cached) $ECHO_C" >&6
38433 else
38434
38435
38436
38437       ac_ext=cc
38438 ac_cpp='$CXXCPP $CPPFLAGS'
38439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38442
38443       cat >conftest.$ac_ext <<_ACEOF
38444 /* confdefs.h.  */
38445 _ACEOF
38446 cat confdefs.h >>conftest.$ac_ext
38447 cat >>conftest.$ac_ext <<_ACEOF
38448 /* end confdefs.h.  */
38449 #include <math.h>
38450                       #ifdef HAVE_IEEEFP_H
38451                       #include <ieeefp.h>
38452                       #endif
38453
38454 int
38455 main ()
38456 {
38457  logf(0);
38458   ;
38459   return 0;
38460 }
38461 _ACEOF
38462 rm -f conftest.$ac_objext
38463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38464   (eval $ac_compile) 2>conftest.er1
38465   ac_status=$?
38466   grep -v '^ *+' conftest.er1 >conftest.err
38467   rm -f conftest.er1
38468   cat conftest.err >&5
38469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470   (exit $ac_status); } &&
38471          { ac_try='test -z "$ac_cxx_werror_flag"
38472                          || test ! -s conftest.err'
38473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38474   (eval $ac_try) 2>&5
38475   ac_status=$?
38476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477   (exit $ac_status); }; } &&
38478          { ac_try='test -s conftest.$ac_objext'
38479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38480   (eval $ac_try) 2>&5
38481   ac_status=$?
38482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38483   (exit $ac_status); }; }; then
38484   glibcxx_cv_func_logf_use=yes
38485 else
38486   echo "$as_me: failed program was:" >&5
38487 sed 's/^/| /' conftest.$ac_ext >&5
38488
38489 glibcxx_cv_func_logf_use=no
38490 fi
38491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38492       ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38497
38498
38499 fi
38500
38501   fi
38502   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38503 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38504
38505   if test x$glibcxx_cv_func_logf_use = x"yes"; then
38506
38507 for ac_func in logf
38508 do
38509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38510 echo "$as_me:$LINENO: checking for $ac_func" >&5
38511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38512 if eval "test \"\${$as_ac_var+set}\" = set"; then
38513   echo $ECHO_N "(cached) $ECHO_C" >&6
38514 else
38515   if test x$gcc_no_link = xyes; then
38516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38518    { (exit 1); exit 1; }; }
38519 fi
38520 cat >conftest.$ac_ext <<_ACEOF
38521 /* confdefs.h.  */
38522 _ACEOF
38523 cat confdefs.h >>conftest.$ac_ext
38524 cat >>conftest.$ac_ext <<_ACEOF
38525 /* end confdefs.h.  */
38526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38528 #define $ac_func innocuous_$ac_func
38529
38530 /* System header to define __stub macros and hopefully few prototypes,
38531     which can conflict with char $ac_func (); below.
38532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38533     <limits.h> exists even on freestanding compilers.  */
38534
38535 #ifdef __STDC__
38536 # include <limits.h>
38537 #else
38538 # include <assert.h>
38539 #endif
38540
38541 #undef $ac_func
38542
38543 /* Override any gcc2 internal prototype to avoid an error.  */
38544 #ifdef __cplusplus
38545 extern "C"
38546 {
38547 #endif
38548 /* We use char because int might match the return type of a gcc2
38549    builtin and then its argument prototype would still apply.  */
38550 char $ac_func ();
38551 /* The GNU C library defines this for functions which it implements
38552     to always fail with ENOSYS.  Some functions are actually named
38553     something starting with __ and the normal name is an alias.  */
38554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38555 choke me
38556 #else
38557 char (*f) () = $ac_func;
38558 #endif
38559 #ifdef __cplusplus
38560 }
38561 #endif
38562
38563 int
38564 main ()
38565 {
38566 return f != $ac_func;
38567   ;
38568   return 0;
38569 }
38570 _ACEOF
38571 rm -f conftest.$ac_objext conftest$ac_exeext
38572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38573   (eval $ac_link) 2>conftest.er1
38574   ac_status=$?
38575   grep -v '^ *+' conftest.er1 >conftest.err
38576   rm -f conftest.er1
38577   cat conftest.err >&5
38578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38579   (exit $ac_status); } &&
38580          { ac_try='test -z "$ac_c_werror_flag"
38581                          || test ! -s conftest.err'
38582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38583   (eval $ac_try) 2>&5
38584   ac_status=$?
38585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38586   (exit $ac_status); }; } &&
38587          { ac_try='test -s conftest$ac_exeext'
38588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38589   (eval $ac_try) 2>&5
38590   ac_status=$?
38591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592   (exit $ac_status); }; }; then
38593   eval "$as_ac_var=yes"
38594 else
38595   echo "$as_me: failed program was:" >&5
38596 sed 's/^/| /' conftest.$ac_ext >&5
38597
38598 eval "$as_ac_var=no"
38599 fi
38600 rm -f conftest.err conftest.$ac_objext \
38601       conftest$ac_exeext conftest.$ac_ext
38602 fi
38603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38605 if test `eval echo '${'$as_ac_var'}'` = yes; then
38606   cat >>confdefs.h <<_ACEOF
38607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38608 _ACEOF
38609
38610 fi
38611 done
38612
38613   else
38614
38615   echo "$as_me:$LINENO: checking for _logf declaration" >&5
38616 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38617   if test x${glibcxx_cv_func__logf_use+set} != xset; then
38618     if test "${glibcxx_cv_func__logf_use+set}" = set; then
38619   echo $ECHO_N "(cached) $ECHO_C" >&6
38620 else
38621
38622
38623
38624       ac_ext=cc
38625 ac_cpp='$CXXCPP $CPPFLAGS'
38626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38629
38630       cat >conftest.$ac_ext <<_ACEOF
38631 /* confdefs.h.  */
38632 _ACEOF
38633 cat confdefs.h >>conftest.$ac_ext
38634 cat >>conftest.$ac_ext <<_ACEOF
38635 /* end confdefs.h.  */
38636 #include <math.h>
38637                       #ifdef HAVE_IEEEFP_H
38638                       #include <ieeefp.h>
38639                       #endif
38640
38641 int
38642 main ()
38643 {
38644  _logf(0);
38645   ;
38646   return 0;
38647 }
38648 _ACEOF
38649 rm -f conftest.$ac_objext
38650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38651   (eval $ac_compile) 2>conftest.er1
38652   ac_status=$?
38653   grep -v '^ *+' conftest.er1 >conftest.err
38654   rm -f conftest.er1
38655   cat conftest.err >&5
38656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657   (exit $ac_status); } &&
38658          { ac_try='test -z "$ac_cxx_werror_flag"
38659                          || test ! -s conftest.err'
38660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38661   (eval $ac_try) 2>&5
38662   ac_status=$?
38663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38664   (exit $ac_status); }; } &&
38665          { ac_try='test -s conftest.$ac_objext'
38666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38667   (eval $ac_try) 2>&5
38668   ac_status=$?
38669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38670   (exit $ac_status); }; }; then
38671   glibcxx_cv_func__logf_use=yes
38672 else
38673   echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.$ac_ext >&5
38675
38676 glibcxx_cv_func__logf_use=no
38677 fi
38678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38679       ac_ext=c
38680 ac_cpp='$CPP $CPPFLAGS'
38681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38684
38685
38686 fi
38687
38688   fi
38689   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38690 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38691
38692     if test x$glibcxx_cv_func__logf_use = x"yes"; then
38693
38694 for ac_func in _logf
38695 do
38696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38697 echo "$as_me:$LINENO: checking for $ac_func" >&5
38698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38699 if eval "test \"\${$as_ac_var+set}\" = set"; then
38700   echo $ECHO_N "(cached) $ECHO_C" >&6
38701 else
38702   if test x$gcc_no_link = xyes; then
38703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38705    { (exit 1); exit 1; }; }
38706 fi
38707 cat >conftest.$ac_ext <<_ACEOF
38708 /* confdefs.h.  */
38709 _ACEOF
38710 cat confdefs.h >>conftest.$ac_ext
38711 cat >>conftest.$ac_ext <<_ACEOF
38712 /* end confdefs.h.  */
38713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38715 #define $ac_func innocuous_$ac_func
38716
38717 /* System header to define __stub macros and hopefully few prototypes,
38718     which can conflict with char $ac_func (); below.
38719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38720     <limits.h> exists even on freestanding compilers.  */
38721
38722 #ifdef __STDC__
38723 # include <limits.h>
38724 #else
38725 # include <assert.h>
38726 #endif
38727
38728 #undef $ac_func
38729
38730 /* Override any gcc2 internal prototype to avoid an error.  */
38731 #ifdef __cplusplus
38732 extern "C"
38733 {
38734 #endif
38735 /* We use char because int might match the return type of a gcc2
38736    builtin and then its argument prototype would still apply.  */
38737 char $ac_func ();
38738 /* The GNU C library defines this for functions which it implements
38739     to always fail with ENOSYS.  Some functions are actually named
38740     something starting with __ and the normal name is an alias.  */
38741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38742 choke me
38743 #else
38744 char (*f) () = $ac_func;
38745 #endif
38746 #ifdef __cplusplus
38747 }
38748 #endif
38749
38750 int
38751 main ()
38752 {
38753 return f != $ac_func;
38754   ;
38755   return 0;
38756 }
38757 _ACEOF
38758 rm -f conftest.$ac_objext conftest$ac_exeext
38759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38760   (eval $ac_link) 2>conftest.er1
38761   ac_status=$?
38762   grep -v '^ *+' conftest.er1 >conftest.err
38763   rm -f conftest.er1
38764   cat conftest.err >&5
38765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766   (exit $ac_status); } &&
38767          { ac_try='test -z "$ac_c_werror_flag"
38768                          || test ! -s conftest.err'
38769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38770   (eval $ac_try) 2>&5
38771   ac_status=$?
38772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773   (exit $ac_status); }; } &&
38774          { ac_try='test -s conftest$ac_exeext'
38775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38776   (eval $ac_try) 2>&5
38777   ac_status=$?
38778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779   (exit $ac_status); }; }; then
38780   eval "$as_ac_var=yes"
38781 else
38782   echo "$as_me: failed program was:" >&5
38783 sed 's/^/| /' conftest.$ac_ext >&5
38784
38785 eval "$as_ac_var=no"
38786 fi
38787 rm -f conftest.err conftest.$ac_objext \
38788       conftest$ac_exeext conftest.$ac_ext
38789 fi
38790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38792 if test `eval echo '${'$as_ac_var'}'` = yes; then
38793   cat >>confdefs.h <<_ACEOF
38794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38795 _ACEOF
38796
38797 fi
38798 done
38799
38800     fi
38801   fi
38802
38803
38804
38805
38806
38807
38808   echo "$as_me:$LINENO: checking for log10f declaration" >&5
38809 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38810   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38811     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38812   echo $ECHO_N "(cached) $ECHO_C" >&6
38813 else
38814
38815
38816
38817       ac_ext=cc
38818 ac_cpp='$CXXCPP $CPPFLAGS'
38819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38822
38823       cat >conftest.$ac_ext <<_ACEOF
38824 /* confdefs.h.  */
38825 _ACEOF
38826 cat confdefs.h >>conftest.$ac_ext
38827 cat >>conftest.$ac_ext <<_ACEOF
38828 /* end confdefs.h.  */
38829 #include <math.h>
38830                       #ifdef HAVE_IEEEFP_H
38831                       #include <ieeefp.h>
38832                       #endif
38833
38834 int
38835 main ()
38836 {
38837  log10f(0);
38838   ;
38839   return 0;
38840 }
38841 _ACEOF
38842 rm -f conftest.$ac_objext
38843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38844   (eval $ac_compile) 2>conftest.er1
38845   ac_status=$?
38846   grep -v '^ *+' conftest.er1 >conftest.err
38847   rm -f conftest.er1
38848   cat conftest.err >&5
38849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850   (exit $ac_status); } &&
38851          { ac_try='test -z "$ac_cxx_werror_flag"
38852                          || test ! -s conftest.err'
38853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38854   (eval $ac_try) 2>&5
38855   ac_status=$?
38856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38857   (exit $ac_status); }; } &&
38858          { ac_try='test -s conftest.$ac_objext'
38859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38860   (eval $ac_try) 2>&5
38861   ac_status=$?
38862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38863   (exit $ac_status); }; }; then
38864   glibcxx_cv_func_log10f_use=yes
38865 else
38866   echo "$as_me: failed program was:" >&5
38867 sed 's/^/| /' conftest.$ac_ext >&5
38868
38869 glibcxx_cv_func_log10f_use=no
38870 fi
38871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38872       ac_ext=c
38873 ac_cpp='$CPP $CPPFLAGS'
38874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38877
38878
38879 fi
38880
38881   fi
38882   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38883 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38884
38885   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38886
38887 for ac_func in log10f
38888 do
38889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38890 echo "$as_me:$LINENO: checking for $ac_func" >&5
38891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38892 if eval "test \"\${$as_ac_var+set}\" = set"; then
38893   echo $ECHO_N "(cached) $ECHO_C" >&6
38894 else
38895   if test x$gcc_no_link = xyes; then
38896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38898    { (exit 1); exit 1; }; }
38899 fi
38900 cat >conftest.$ac_ext <<_ACEOF
38901 /* confdefs.h.  */
38902 _ACEOF
38903 cat confdefs.h >>conftest.$ac_ext
38904 cat >>conftest.$ac_ext <<_ACEOF
38905 /* end confdefs.h.  */
38906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38907    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38908 #define $ac_func innocuous_$ac_func
38909
38910 /* System header to define __stub macros and hopefully few prototypes,
38911     which can conflict with char $ac_func (); below.
38912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38913     <limits.h> exists even on freestanding compilers.  */
38914
38915 #ifdef __STDC__
38916 # include <limits.h>
38917 #else
38918 # include <assert.h>
38919 #endif
38920
38921 #undef $ac_func
38922
38923 /* Override any gcc2 internal prototype to avoid an error.  */
38924 #ifdef __cplusplus
38925 extern "C"
38926 {
38927 #endif
38928 /* We use char because int might match the return type of a gcc2
38929    builtin and then its argument prototype would still apply.  */
38930 char $ac_func ();
38931 /* The GNU C library defines this for functions which it implements
38932     to always fail with ENOSYS.  Some functions are actually named
38933     something starting with __ and the normal name is an alias.  */
38934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38935 choke me
38936 #else
38937 char (*f) () = $ac_func;
38938 #endif
38939 #ifdef __cplusplus
38940 }
38941 #endif
38942
38943 int
38944 main ()
38945 {
38946 return f != $ac_func;
38947   ;
38948   return 0;
38949 }
38950 _ACEOF
38951 rm -f conftest.$ac_objext conftest$ac_exeext
38952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38953   (eval $ac_link) 2>conftest.er1
38954   ac_status=$?
38955   grep -v '^ *+' conftest.er1 >conftest.err
38956   rm -f conftest.er1
38957   cat conftest.err >&5
38958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959   (exit $ac_status); } &&
38960          { ac_try='test -z "$ac_c_werror_flag"
38961                          || test ! -s conftest.err'
38962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38963   (eval $ac_try) 2>&5
38964   ac_status=$?
38965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966   (exit $ac_status); }; } &&
38967          { ac_try='test -s conftest$ac_exeext'
38968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38969   (eval $ac_try) 2>&5
38970   ac_status=$?
38971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38972   (exit $ac_status); }; }; then
38973   eval "$as_ac_var=yes"
38974 else
38975   echo "$as_me: failed program was:" >&5
38976 sed 's/^/| /' conftest.$ac_ext >&5
38977
38978 eval "$as_ac_var=no"
38979 fi
38980 rm -f conftest.err conftest.$ac_objext \
38981       conftest$ac_exeext conftest.$ac_ext
38982 fi
38983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38985 if test `eval echo '${'$as_ac_var'}'` = yes; then
38986   cat >>confdefs.h <<_ACEOF
38987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38988 _ACEOF
38989
38990 fi
38991 done
38992
38993   else
38994
38995   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38996 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38997   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38998     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38999   echo $ECHO_N "(cached) $ECHO_C" >&6
39000 else
39001
39002
39003
39004       ac_ext=cc
39005 ac_cpp='$CXXCPP $CPPFLAGS'
39006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39009
39010       cat >conftest.$ac_ext <<_ACEOF
39011 /* confdefs.h.  */
39012 _ACEOF
39013 cat confdefs.h >>conftest.$ac_ext
39014 cat >>conftest.$ac_ext <<_ACEOF
39015 /* end confdefs.h.  */
39016 #include <math.h>
39017                       #ifdef HAVE_IEEEFP_H
39018                       #include <ieeefp.h>
39019                       #endif
39020
39021 int
39022 main ()
39023 {
39024  _log10f(0);
39025   ;
39026   return 0;
39027 }
39028 _ACEOF
39029 rm -f conftest.$ac_objext
39030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39031   (eval $ac_compile) 2>conftest.er1
39032   ac_status=$?
39033   grep -v '^ *+' conftest.er1 >conftest.err
39034   rm -f conftest.er1
39035   cat conftest.err >&5
39036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39037   (exit $ac_status); } &&
39038          { ac_try='test -z "$ac_cxx_werror_flag"
39039                          || test ! -s conftest.err'
39040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39041   (eval $ac_try) 2>&5
39042   ac_status=$?
39043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39044   (exit $ac_status); }; } &&
39045          { ac_try='test -s conftest.$ac_objext'
39046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39047   (eval $ac_try) 2>&5
39048   ac_status=$?
39049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050   (exit $ac_status); }; }; then
39051   glibcxx_cv_func__log10f_use=yes
39052 else
39053   echo "$as_me: failed program was:" >&5
39054 sed 's/^/| /' conftest.$ac_ext >&5
39055
39056 glibcxx_cv_func__log10f_use=no
39057 fi
39058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39059       ac_ext=c
39060 ac_cpp='$CPP $CPPFLAGS'
39061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39064
39065
39066 fi
39067
39068   fi
39069   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
39070 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
39071
39072     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39073
39074 for ac_func in _log10f
39075 do
39076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39077 echo "$as_me:$LINENO: checking for $ac_func" >&5
39078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39079 if eval "test \"\${$as_ac_var+set}\" = set"; then
39080   echo $ECHO_N "(cached) $ECHO_C" >&6
39081 else
39082   if test x$gcc_no_link = xyes; then
39083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39085    { (exit 1); exit 1; }; }
39086 fi
39087 cat >conftest.$ac_ext <<_ACEOF
39088 /* confdefs.h.  */
39089 _ACEOF
39090 cat confdefs.h >>conftest.$ac_ext
39091 cat >>conftest.$ac_ext <<_ACEOF
39092 /* end confdefs.h.  */
39093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39095 #define $ac_func innocuous_$ac_func
39096
39097 /* System header to define __stub macros and hopefully few prototypes,
39098     which can conflict with char $ac_func (); below.
39099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39100     <limits.h> exists even on freestanding compilers.  */
39101
39102 #ifdef __STDC__
39103 # include <limits.h>
39104 #else
39105 # include <assert.h>
39106 #endif
39107
39108 #undef $ac_func
39109
39110 /* Override any gcc2 internal prototype to avoid an error.  */
39111 #ifdef __cplusplus
39112 extern "C"
39113 {
39114 #endif
39115 /* We use char because int might match the return type of a gcc2
39116    builtin and then its argument prototype would still apply.  */
39117 char $ac_func ();
39118 /* The GNU C library defines this for functions which it implements
39119     to always fail with ENOSYS.  Some functions are actually named
39120     something starting with __ and the normal name is an alias.  */
39121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39122 choke me
39123 #else
39124 char (*f) () = $ac_func;
39125 #endif
39126 #ifdef __cplusplus
39127 }
39128 #endif
39129
39130 int
39131 main ()
39132 {
39133 return f != $ac_func;
39134   ;
39135   return 0;
39136 }
39137 _ACEOF
39138 rm -f conftest.$ac_objext conftest$ac_exeext
39139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39140   (eval $ac_link) 2>conftest.er1
39141   ac_status=$?
39142   grep -v '^ *+' conftest.er1 >conftest.err
39143   rm -f conftest.er1
39144   cat conftest.err >&5
39145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146   (exit $ac_status); } &&
39147          { ac_try='test -z "$ac_c_werror_flag"
39148                          || test ! -s conftest.err'
39149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39150   (eval $ac_try) 2>&5
39151   ac_status=$?
39152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153   (exit $ac_status); }; } &&
39154          { ac_try='test -s conftest$ac_exeext'
39155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39156   (eval $ac_try) 2>&5
39157   ac_status=$?
39158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159   (exit $ac_status); }; }; then
39160   eval "$as_ac_var=yes"
39161 else
39162   echo "$as_me: failed program was:" >&5
39163 sed 's/^/| /' conftest.$ac_ext >&5
39164
39165 eval "$as_ac_var=no"
39166 fi
39167 rm -f conftest.err conftest.$ac_objext \
39168       conftest$ac_exeext conftest.$ac_ext
39169 fi
39170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39172 if test `eval echo '${'$as_ac_var'}'` = yes; then
39173   cat >>confdefs.h <<_ACEOF
39174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39175 _ACEOF
39176
39177 fi
39178 done
39179
39180     fi
39181   fi
39182
39183
39184
39185
39186
39187
39188   echo "$as_me:$LINENO: checking for modff declaration" >&5
39189 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39190   if test x${glibcxx_cv_func_modff_use+set} != xset; then
39191     if test "${glibcxx_cv_func_modff_use+set}" = set; then
39192   echo $ECHO_N "(cached) $ECHO_C" >&6
39193 else
39194
39195
39196
39197       ac_ext=cc
39198 ac_cpp='$CXXCPP $CPPFLAGS'
39199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39202
39203       cat >conftest.$ac_ext <<_ACEOF
39204 /* confdefs.h.  */
39205 _ACEOF
39206 cat confdefs.h >>conftest.$ac_ext
39207 cat >>conftest.$ac_ext <<_ACEOF
39208 /* end confdefs.h.  */
39209 #include <math.h>
39210 int
39211 main ()
39212 {
39213  modff(0, 0);
39214   ;
39215   return 0;
39216 }
39217 _ACEOF
39218 rm -f conftest.$ac_objext
39219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39220   (eval $ac_compile) 2>conftest.er1
39221   ac_status=$?
39222   grep -v '^ *+' conftest.er1 >conftest.err
39223   rm -f conftest.er1
39224   cat conftest.err >&5
39225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226   (exit $ac_status); } &&
39227          { ac_try='test -z "$ac_cxx_werror_flag"
39228                          || test ! -s conftest.err'
39229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39230   (eval $ac_try) 2>&5
39231   ac_status=$?
39232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233   (exit $ac_status); }; } &&
39234          { ac_try='test -s conftest.$ac_objext'
39235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236   (eval $ac_try) 2>&5
39237   ac_status=$?
39238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239   (exit $ac_status); }; }; then
39240   glibcxx_cv_func_modff_use=yes
39241 else
39242   echo "$as_me: failed program was:" >&5
39243 sed 's/^/| /' conftest.$ac_ext >&5
39244
39245 glibcxx_cv_func_modff_use=no
39246 fi
39247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39248       ac_ext=c
39249 ac_cpp='$CPP $CPPFLAGS'
39250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39253
39254
39255 fi
39256
39257   fi
39258   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39259 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39260
39261   if test x$glibcxx_cv_func_modff_use = x"yes"; then
39262
39263 for ac_func in modff
39264 do
39265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39266 echo "$as_me:$LINENO: checking for $ac_func" >&5
39267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39268 if eval "test \"\${$as_ac_var+set}\" = set"; then
39269   echo $ECHO_N "(cached) $ECHO_C" >&6
39270 else
39271   if test x$gcc_no_link = xyes; then
39272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39274    { (exit 1); exit 1; }; }
39275 fi
39276 cat >conftest.$ac_ext <<_ACEOF
39277 /* confdefs.h.  */
39278 _ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h.  */
39282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39284 #define $ac_func innocuous_$ac_func
39285
39286 /* System header to define __stub macros and hopefully few prototypes,
39287     which can conflict with char $ac_func (); below.
39288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39289     <limits.h> exists even on freestanding compilers.  */
39290
39291 #ifdef __STDC__
39292 # include <limits.h>
39293 #else
39294 # include <assert.h>
39295 #endif
39296
39297 #undef $ac_func
39298
39299 /* Override any gcc2 internal prototype to avoid an error.  */
39300 #ifdef __cplusplus
39301 extern "C"
39302 {
39303 #endif
39304 /* We use char because int might match the return type of a gcc2
39305    builtin and then its argument prototype would still apply.  */
39306 char $ac_func ();
39307 /* The GNU C library defines this for functions which it implements
39308     to always fail with ENOSYS.  Some functions are actually named
39309     something starting with __ and the normal name is an alias.  */
39310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39311 choke me
39312 #else
39313 char (*f) () = $ac_func;
39314 #endif
39315 #ifdef __cplusplus
39316 }
39317 #endif
39318
39319 int
39320 main ()
39321 {
39322 return f != $ac_func;
39323   ;
39324   return 0;
39325 }
39326 _ACEOF
39327 rm -f conftest.$ac_objext conftest$ac_exeext
39328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39329   (eval $ac_link) 2>conftest.er1
39330   ac_status=$?
39331   grep -v '^ *+' conftest.er1 >conftest.err
39332   rm -f conftest.er1
39333   cat conftest.err >&5
39334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335   (exit $ac_status); } &&
39336          { ac_try='test -z "$ac_c_werror_flag"
39337                          || test ! -s conftest.err'
39338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39339   (eval $ac_try) 2>&5
39340   ac_status=$?
39341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342   (exit $ac_status); }; } &&
39343          { ac_try='test -s conftest$ac_exeext'
39344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39345   (eval $ac_try) 2>&5
39346   ac_status=$?
39347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348   (exit $ac_status); }; }; then
39349   eval "$as_ac_var=yes"
39350 else
39351   echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.$ac_ext >&5
39353
39354 eval "$as_ac_var=no"
39355 fi
39356 rm -f conftest.err conftest.$ac_objext \
39357       conftest$ac_exeext conftest.$ac_ext
39358 fi
39359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39361 if test `eval echo '${'$as_ac_var'}'` = yes; then
39362   cat >>confdefs.h <<_ACEOF
39363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39364 _ACEOF
39365
39366 fi
39367 done
39368
39369   else
39370
39371   echo "$as_me:$LINENO: checking for _modff declaration" >&5
39372 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39373   if test x${glibcxx_cv_func__modff_use+set} != xset; then
39374     if test "${glibcxx_cv_func__modff_use+set}" = set; then
39375   echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39377
39378
39379
39380       ac_ext=cc
39381 ac_cpp='$CXXCPP $CPPFLAGS'
39382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39385
39386       cat >conftest.$ac_ext <<_ACEOF
39387 /* confdefs.h.  */
39388 _ACEOF
39389 cat confdefs.h >>conftest.$ac_ext
39390 cat >>conftest.$ac_ext <<_ACEOF
39391 /* end confdefs.h.  */
39392 #include <math.h>
39393 int
39394 main ()
39395 {
39396  _modff(0, 0);
39397   ;
39398   return 0;
39399 }
39400 _ACEOF
39401 rm -f conftest.$ac_objext
39402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39403   (eval $ac_compile) 2>conftest.er1
39404   ac_status=$?
39405   grep -v '^ *+' conftest.er1 >conftest.err
39406   rm -f conftest.er1
39407   cat conftest.err >&5
39408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39409   (exit $ac_status); } &&
39410          { ac_try='test -z "$ac_cxx_werror_flag"
39411                          || test ! -s conftest.err'
39412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39413   (eval $ac_try) 2>&5
39414   ac_status=$?
39415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39416   (exit $ac_status); }; } &&
39417          { ac_try='test -s conftest.$ac_objext'
39418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39419   (eval $ac_try) 2>&5
39420   ac_status=$?
39421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39422   (exit $ac_status); }; }; then
39423   glibcxx_cv_func__modff_use=yes
39424 else
39425   echo "$as_me: failed program was:" >&5
39426 sed 's/^/| /' conftest.$ac_ext >&5
39427
39428 glibcxx_cv_func__modff_use=no
39429 fi
39430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39431       ac_ext=c
39432 ac_cpp='$CPP $CPPFLAGS'
39433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39436
39437
39438 fi
39439
39440   fi
39441   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39442 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39443
39444     if test x$glibcxx_cv_func__modff_use = x"yes"; then
39445
39446 for ac_func in _modff
39447 do
39448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39449 echo "$as_me:$LINENO: checking for $ac_func" >&5
39450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39451 if eval "test \"\${$as_ac_var+set}\" = set"; then
39452   echo $ECHO_N "(cached) $ECHO_C" >&6
39453 else
39454   if test x$gcc_no_link = xyes; then
39455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39457    { (exit 1); exit 1; }; }
39458 fi
39459 cat >conftest.$ac_ext <<_ACEOF
39460 /* confdefs.h.  */
39461 _ACEOF
39462 cat confdefs.h >>conftest.$ac_ext
39463 cat >>conftest.$ac_ext <<_ACEOF
39464 /* end confdefs.h.  */
39465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39467 #define $ac_func innocuous_$ac_func
39468
39469 /* System header to define __stub macros and hopefully few prototypes,
39470     which can conflict with char $ac_func (); below.
39471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39472     <limits.h> exists even on freestanding compilers.  */
39473
39474 #ifdef __STDC__
39475 # include <limits.h>
39476 #else
39477 # include <assert.h>
39478 #endif
39479
39480 #undef $ac_func
39481
39482 /* Override any gcc2 internal prototype to avoid an error.  */
39483 #ifdef __cplusplus
39484 extern "C"
39485 {
39486 #endif
39487 /* We use char because int might match the return type of a gcc2
39488    builtin and then its argument prototype would still apply.  */
39489 char $ac_func ();
39490 /* The GNU C library defines this for functions which it implements
39491     to always fail with ENOSYS.  Some functions are actually named
39492     something starting with __ and the normal name is an alias.  */
39493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39494 choke me
39495 #else
39496 char (*f) () = $ac_func;
39497 #endif
39498 #ifdef __cplusplus
39499 }
39500 #endif
39501
39502 int
39503 main ()
39504 {
39505 return f != $ac_func;
39506   ;
39507   return 0;
39508 }
39509 _ACEOF
39510 rm -f conftest.$ac_objext conftest$ac_exeext
39511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39512   (eval $ac_link) 2>conftest.er1
39513   ac_status=$?
39514   grep -v '^ *+' conftest.er1 >conftest.err
39515   rm -f conftest.er1
39516   cat conftest.err >&5
39517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518   (exit $ac_status); } &&
39519          { ac_try='test -z "$ac_c_werror_flag"
39520                          || test ! -s conftest.err'
39521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39522   (eval $ac_try) 2>&5
39523   ac_status=$?
39524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525   (exit $ac_status); }; } &&
39526          { ac_try='test -s conftest$ac_exeext'
39527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39528   (eval $ac_try) 2>&5
39529   ac_status=$?
39530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531   (exit $ac_status); }; }; then
39532   eval "$as_ac_var=yes"
39533 else
39534   echo "$as_me: failed program was:" >&5
39535 sed 's/^/| /' conftest.$ac_ext >&5
39536
39537 eval "$as_ac_var=no"
39538 fi
39539 rm -f conftest.err conftest.$ac_objext \
39540       conftest$ac_exeext conftest.$ac_ext
39541 fi
39542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39544 if test `eval echo '${'$as_ac_var'}'` = yes; then
39545   cat >>confdefs.h <<_ACEOF
39546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39547 _ACEOF
39548
39549 fi
39550 done
39551
39552     fi
39553   fi
39554
39555
39556
39557
39558
39559
39560   echo "$as_me:$LINENO: checking for modf declaration" >&5
39561 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39562   if test x${glibcxx_cv_func_modf_use+set} != xset; then
39563     if test "${glibcxx_cv_func_modf_use+set}" = set; then
39564   echo $ECHO_N "(cached) $ECHO_C" >&6
39565 else
39566
39567
39568
39569       ac_ext=cc
39570 ac_cpp='$CXXCPP $CPPFLAGS'
39571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39574
39575       cat >conftest.$ac_ext <<_ACEOF
39576 /* confdefs.h.  */
39577 _ACEOF
39578 cat confdefs.h >>conftest.$ac_ext
39579 cat >>conftest.$ac_ext <<_ACEOF
39580 /* end confdefs.h.  */
39581 #include <math.h>
39582 int
39583 main ()
39584 {
39585  modf(0, 0);
39586   ;
39587   return 0;
39588 }
39589 _ACEOF
39590 rm -f conftest.$ac_objext
39591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39592   (eval $ac_compile) 2>conftest.er1
39593   ac_status=$?
39594   grep -v '^ *+' conftest.er1 >conftest.err
39595   rm -f conftest.er1
39596   cat conftest.err >&5
39597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39598   (exit $ac_status); } &&
39599          { ac_try='test -z "$ac_cxx_werror_flag"
39600                          || test ! -s conftest.err'
39601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39602   (eval $ac_try) 2>&5
39603   ac_status=$?
39604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605   (exit $ac_status); }; } &&
39606          { ac_try='test -s conftest.$ac_objext'
39607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39608   (eval $ac_try) 2>&5
39609   ac_status=$?
39610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611   (exit $ac_status); }; }; then
39612   glibcxx_cv_func_modf_use=yes
39613 else
39614   echo "$as_me: failed program was:" >&5
39615 sed 's/^/| /' conftest.$ac_ext >&5
39616
39617 glibcxx_cv_func_modf_use=no
39618 fi
39619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39620       ac_ext=c
39621 ac_cpp='$CPP $CPPFLAGS'
39622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39625
39626
39627 fi
39628
39629   fi
39630   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39631 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39632
39633   if test x$glibcxx_cv_func_modf_use = x"yes"; then
39634
39635 for ac_func in modf
39636 do
39637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39638 echo "$as_me:$LINENO: checking for $ac_func" >&5
39639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39640 if eval "test \"\${$as_ac_var+set}\" = set"; then
39641   echo $ECHO_N "(cached) $ECHO_C" >&6
39642 else
39643   if test x$gcc_no_link = xyes; then
39644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39646    { (exit 1); exit 1; }; }
39647 fi
39648 cat >conftest.$ac_ext <<_ACEOF
39649 /* confdefs.h.  */
39650 _ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h.  */
39654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39655    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39656 #define $ac_func innocuous_$ac_func
39657
39658 /* System header to define __stub macros and hopefully few prototypes,
39659     which can conflict with char $ac_func (); below.
39660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39661     <limits.h> exists even on freestanding compilers.  */
39662
39663 #ifdef __STDC__
39664 # include <limits.h>
39665 #else
39666 # include <assert.h>
39667 #endif
39668
39669 #undef $ac_func
39670
39671 /* Override any gcc2 internal prototype to avoid an error.  */
39672 #ifdef __cplusplus
39673 extern "C"
39674 {
39675 #endif
39676 /* We use char because int might match the return type of a gcc2
39677    builtin and then its argument prototype would still apply.  */
39678 char $ac_func ();
39679 /* The GNU C library defines this for functions which it implements
39680     to always fail with ENOSYS.  Some functions are actually named
39681     something starting with __ and the normal name is an alias.  */
39682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39683 choke me
39684 #else
39685 char (*f) () = $ac_func;
39686 #endif
39687 #ifdef __cplusplus
39688 }
39689 #endif
39690
39691 int
39692 main ()
39693 {
39694 return f != $ac_func;
39695   ;
39696   return 0;
39697 }
39698 _ACEOF
39699 rm -f conftest.$ac_objext conftest$ac_exeext
39700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39701   (eval $ac_link) 2>conftest.er1
39702   ac_status=$?
39703   grep -v '^ *+' conftest.er1 >conftest.err
39704   rm -f conftest.er1
39705   cat conftest.err >&5
39706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707   (exit $ac_status); } &&
39708          { ac_try='test -z "$ac_c_werror_flag"
39709                          || test ! -s conftest.err'
39710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39711   (eval $ac_try) 2>&5
39712   ac_status=$?
39713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39714   (exit $ac_status); }; } &&
39715          { ac_try='test -s conftest$ac_exeext'
39716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39717   (eval $ac_try) 2>&5
39718   ac_status=$?
39719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720   (exit $ac_status); }; }; then
39721   eval "$as_ac_var=yes"
39722 else
39723   echo "$as_me: failed program was:" >&5
39724 sed 's/^/| /' conftest.$ac_ext >&5
39725
39726 eval "$as_ac_var=no"
39727 fi
39728 rm -f conftest.err conftest.$ac_objext \
39729       conftest$ac_exeext conftest.$ac_ext
39730 fi
39731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39733 if test `eval echo '${'$as_ac_var'}'` = yes; then
39734   cat >>confdefs.h <<_ACEOF
39735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39736 _ACEOF
39737
39738 fi
39739 done
39740
39741   else
39742
39743   echo "$as_me:$LINENO: checking for _modf declaration" >&5
39744 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39745   if test x${glibcxx_cv_func__modf_use+set} != xset; then
39746     if test "${glibcxx_cv_func__modf_use+set}" = set; then
39747   echo $ECHO_N "(cached) $ECHO_C" >&6
39748 else
39749
39750
39751
39752       ac_ext=cc
39753 ac_cpp='$CXXCPP $CPPFLAGS'
39754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39757
39758       cat >conftest.$ac_ext <<_ACEOF
39759 /* confdefs.h.  */
39760 _ACEOF
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h.  */
39764 #include <math.h>
39765 int
39766 main ()
39767 {
39768  _modf(0, 0);
39769   ;
39770   return 0;
39771 }
39772 _ACEOF
39773 rm -f conftest.$ac_objext
39774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39775   (eval $ac_compile) 2>conftest.er1
39776   ac_status=$?
39777   grep -v '^ *+' conftest.er1 >conftest.err
39778   rm -f conftest.er1
39779   cat conftest.err >&5
39780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781   (exit $ac_status); } &&
39782          { ac_try='test -z "$ac_cxx_werror_flag"
39783                          || test ! -s conftest.err'
39784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785   (eval $ac_try) 2>&5
39786   ac_status=$?
39787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788   (exit $ac_status); }; } &&
39789          { ac_try='test -s conftest.$ac_objext'
39790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39791   (eval $ac_try) 2>&5
39792   ac_status=$?
39793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794   (exit $ac_status); }; }; then
39795   glibcxx_cv_func__modf_use=yes
39796 else
39797   echo "$as_me: failed program was:" >&5
39798 sed 's/^/| /' conftest.$ac_ext >&5
39799
39800 glibcxx_cv_func__modf_use=no
39801 fi
39802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39803       ac_ext=c
39804 ac_cpp='$CPP $CPPFLAGS'
39805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39808
39809
39810 fi
39811
39812   fi
39813   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39814 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39815
39816     if test x$glibcxx_cv_func__modf_use = x"yes"; then
39817
39818 for ac_func in _modf
39819 do
39820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39821 echo "$as_me:$LINENO: checking for $ac_func" >&5
39822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39823 if eval "test \"\${$as_ac_var+set}\" = set"; then
39824   echo $ECHO_N "(cached) $ECHO_C" >&6
39825 else
39826   if test x$gcc_no_link = xyes; then
39827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39829    { (exit 1); exit 1; }; }
39830 fi
39831 cat >conftest.$ac_ext <<_ACEOF
39832 /* confdefs.h.  */
39833 _ACEOF
39834 cat confdefs.h >>conftest.$ac_ext
39835 cat >>conftest.$ac_ext <<_ACEOF
39836 /* end confdefs.h.  */
39837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39839 #define $ac_func innocuous_$ac_func
39840
39841 /* System header to define __stub macros and hopefully few prototypes,
39842     which can conflict with char $ac_func (); below.
39843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39844     <limits.h> exists even on freestanding compilers.  */
39845
39846 #ifdef __STDC__
39847 # include <limits.h>
39848 #else
39849 # include <assert.h>
39850 #endif
39851
39852 #undef $ac_func
39853
39854 /* Override any gcc2 internal prototype to avoid an error.  */
39855 #ifdef __cplusplus
39856 extern "C"
39857 {
39858 #endif
39859 /* We use char because int might match the return type of a gcc2
39860    builtin and then its argument prototype would still apply.  */
39861 char $ac_func ();
39862 /* The GNU C library defines this for functions which it implements
39863     to always fail with ENOSYS.  Some functions are actually named
39864     something starting with __ and the normal name is an alias.  */
39865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39866 choke me
39867 #else
39868 char (*f) () = $ac_func;
39869 #endif
39870 #ifdef __cplusplus
39871 }
39872 #endif
39873
39874 int
39875 main ()
39876 {
39877 return f != $ac_func;
39878   ;
39879   return 0;
39880 }
39881 _ACEOF
39882 rm -f conftest.$ac_objext conftest$ac_exeext
39883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39884   (eval $ac_link) 2>conftest.er1
39885   ac_status=$?
39886   grep -v '^ *+' conftest.er1 >conftest.err
39887   rm -f conftest.er1
39888   cat conftest.err >&5
39889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39890   (exit $ac_status); } &&
39891          { ac_try='test -z "$ac_c_werror_flag"
39892                          || test ! -s conftest.err'
39893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39894   (eval $ac_try) 2>&5
39895   ac_status=$?
39896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897   (exit $ac_status); }; } &&
39898          { ac_try='test -s conftest$ac_exeext'
39899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900   (eval $ac_try) 2>&5
39901   ac_status=$?
39902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903   (exit $ac_status); }; }; then
39904   eval "$as_ac_var=yes"
39905 else
39906   echo "$as_me: failed program was:" >&5
39907 sed 's/^/| /' conftest.$ac_ext >&5
39908
39909 eval "$as_ac_var=no"
39910 fi
39911 rm -f conftest.err conftest.$ac_objext \
39912       conftest$ac_exeext conftest.$ac_ext
39913 fi
39914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39916 if test `eval echo '${'$as_ac_var'}'` = yes; then
39917   cat >>confdefs.h <<_ACEOF
39918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39919 _ACEOF
39920
39921 fi
39922 done
39923
39924     fi
39925   fi
39926
39927
39928
39929
39930
39931
39932   echo "$as_me:$LINENO: checking for powf declaration" >&5
39933 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39934   if test x${glibcxx_cv_func_powf_use+set} != xset; then
39935     if test "${glibcxx_cv_func_powf_use+set}" = set; then
39936   echo $ECHO_N "(cached) $ECHO_C" >&6
39937 else
39938
39939
39940
39941       ac_ext=cc
39942 ac_cpp='$CXXCPP $CPPFLAGS'
39943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39946
39947       cat >conftest.$ac_ext <<_ACEOF
39948 /* confdefs.h.  */
39949 _ACEOF
39950 cat confdefs.h >>conftest.$ac_ext
39951 cat >>conftest.$ac_ext <<_ACEOF
39952 /* end confdefs.h.  */
39953 #include <math.h>
39954 int
39955 main ()
39956 {
39957  powf(0, 0);
39958   ;
39959   return 0;
39960 }
39961 _ACEOF
39962 rm -f conftest.$ac_objext
39963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39964   (eval $ac_compile) 2>conftest.er1
39965   ac_status=$?
39966   grep -v '^ *+' conftest.er1 >conftest.err
39967   rm -f conftest.er1
39968   cat conftest.err >&5
39969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970   (exit $ac_status); } &&
39971          { ac_try='test -z "$ac_cxx_werror_flag"
39972                          || test ! -s conftest.err'
39973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39974   (eval $ac_try) 2>&5
39975   ac_status=$?
39976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39977   (exit $ac_status); }; } &&
39978          { ac_try='test -s conftest.$ac_objext'
39979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39980   (eval $ac_try) 2>&5
39981   ac_status=$?
39982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983   (exit $ac_status); }; }; then
39984   glibcxx_cv_func_powf_use=yes
39985 else
39986   echo "$as_me: failed program was:" >&5
39987 sed 's/^/| /' conftest.$ac_ext >&5
39988
39989 glibcxx_cv_func_powf_use=no
39990 fi
39991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39992       ac_ext=c
39993 ac_cpp='$CPP $CPPFLAGS'
39994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39997
39998
39999 fi
40000
40001   fi
40002   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
40003 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
40004
40005   if test x$glibcxx_cv_func_powf_use = x"yes"; then
40006
40007 for ac_func in powf
40008 do
40009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40010 echo "$as_me:$LINENO: checking for $ac_func" >&5
40011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40012 if eval "test \"\${$as_ac_var+set}\" = set"; then
40013   echo $ECHO_N "(cached) $ECHO_C" >&6
40014 else
40015   if test x$gcc_no_link = xyes; then
40016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40018    { (exit 1); exit 1; }; }
40019 fi
40020 cat >conftest.$ac_ext <<_ACEOF
40021 /* confdefs.h.  */
40022 _ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h.  */
40026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40028 #define $ac_func innocuous_$ac_func
40029
40030 /* System header to define __stub macros and hopefully few prototypes,
40031     which can conflict with char $ac_func (); below.
40032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40033     <limits.h> exists even on freestanding compilers.  */
40034
40035 #ifdef __STDC__
40036 # include <limits.h>
40037 #else
40038 # include <assert.h>
40039 #endif
40040
40041 #undef $ac_func
40042
40043 /* Override any gcc2 internal prototype to avoid an error.  */
40044 #ifdef __cplusplus
40045 extern "C"
40046 {
40047 #endif
40048 /* We use char because int might match the return type of a gcc2
40049    builtin and then its argument prototype would still apply.  */
40050 char $ac_func ();
40051 /* The GNU C library defines this for functions which it implements
40052     to always fail with ENOSYS.  Some functions are actually named
40053     something starting with __ and the normal name is an alias.  */
40054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40055 choke me
40056 #else
40057 char (*f) () = $ac_func;
40058 #endif
40059 #ifdef __cplusplus
40060 }
40061 #endif
40062
40063 int
40064 main ()
40065 {
40066 return f != $ac_func;
40067   ;
40068   return 0;
40069 }
40070 _ACEOF
40071 rm -f conftest.$ac_objext conftest$ac_exeext
40072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40073   (eval $ac_link) 2>conftest.er1
40074   ac_status=$?
40075   grep -v '^ *+' conftest.er1 >conftest.err
40076   rm -f conftest.er1
40077   cat conftest.err >&5
40078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079   (exit $ac_status); } &&
40080          { ac_try='test -z "$ac_c_werror_flag"
40081                          || test ! -s conftest.err'
40082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40083   (eval $ac_try) 2>&5
40084   ac_status=$?
40085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086   (exit $ac_status); }; } &&
40087          { ac_try='test -s conftest$ac_exeext'
40088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40089   (eval $ac_try) 2>&5
40090   ac_status=$?
40091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092   (exit $ac_status); }; }; then
40093   eval "$as_ac_var=yes"
40094 else
40095   echo "$as_me: failed program was:" >&5
40096 sed 's/^/| /' conftest.$ac_ext >&5
40097
40098 eval "$as_ac_var=no"
40099 fi
40100 rm -f conftest.err conftest.$ac_objext \
40101       conftest$ac_exeext conftest.$ac_ext
40102 fi
40103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40105 if test `eval echo '${'$as_ac_var'}'` = yes; then
40106   cat >>confdefs.h <<_ACEOF
40107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40108 _ACEOF
40109
40110 fi
40111 done
40112
40113   else
40114
40115   echo "$as_me:$LINENO: checking for _powf declaration" >&5
40116 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
40117   if test x${glibcxx_cv_func__powf_use+set} != xset; then
40118     if test "${glibcxx_cv_func__powf_use+set}" = set; then
40119   echo $ECHO_N "(cached) $ECHO_C" >&6
40120 else
40121
40122
40123
40124       ac_ext=cc
40125 ac_cpp='$CXXCPP $CPPFLAGS'
40126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40129
40130       cat >conftest.$ac_ext <<_ACEOF
40131 /* confdefs.h.  */
40132 _ACEOF
40133 cat confdefs.h >>conftest.$ac_ext
40134 cat >>conftest.$ac_ext <<_ACEOF
40135 /* end confdefs.h.  */
40136 #include <math.h>
40137 int
40138 main ()
40139 {
40140  _powf(0, 0);
40141   ;
40142   return 0;
40143 }
40144 _ACEOF
40145 rm -f conftest.$ac_objext
40146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40147   (eval $ac_compile) 2>conftest.er1
40148   ac_status=$?
40149   grep -v '^ *+' conftest.er1 >conftest.err
40150   rm -f conftest.er1
40151   cat conftest.err >&5
40152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40153   (exit $ac_status); } &&
40154          { ac_try='test -z "$ac_cxx_werror_flag"
40155                          || test ! -s conftest.err'
40156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40157   (eval $ac_try) 2>&5
40158   ac_status=$?
40159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40160   (exit $ac_status); }; } &&
40161          { ac_try='test -s conftest.$ac_objext'
40162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40163   (eval $ac_try) 2>&5
40164   ac_status=$?
40165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40166   (exit $ac_status); }; }; then
40167   glibcxx_cv_func__powf_use=yes
40168 else
40169   echo "$as_me: failed program was:" >&5
40170 sed 's/^/| /' conftest.$ac_ext >&5
40171
40172 glibcxx_cv_func__powf_use=no
40173 fi
40174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40175       ac_ext=c
40176 ac_cpp='$CPP $CPPFLAGS'
40177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40180
40181
40182 fi
40183
40184   fi
40185   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40186 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40187
40188     if test x$glibcxx_cv_func__powf_use = x"yes"; then
40189
40190 for ac_func in _powf
40191 do
40192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40193 echo "$as_me:$LINENO: checking for $ac_func" >&5
40194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40195 if eval "test \"\${$as_ac_var+set}\" = set"; then
40196   echo $ECHO_N "(cached) $ECHO_C" >&6
40197 else
40198   if test x$gcc_no_link = xyes; then
40199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40201    { (exit 1); exit 1; }; }
40202 fi
40203 cat >conftest.$ac_ext <<_ACEOF
40204 /* confdefs.h.  */
40205 _ACEOF
40206 cat confdefs.h >>conftest.$ac_ext
40207 cat >>conftest.$ac_ext <<_ACEOF
40208 /* end confdefs.h.  */
40209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40210    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40211 #define $ac_func innocuous_$ac_func
40212
40213 /* System header to define __stub macros and hopefully few prototypes,
40214     which can conflict with char $ac_func (); below.
40215     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40216     <limits.h> exists even on freestanding compilers.  */
40217
40218 #ifdef __STDC__
40219 # include <limits.h>
40220 #else
40221 # include <assert.h>
40222 #endif
40223
40224 #undef $ac_func
40225
40226 /* Override any gcc2 internal prototype to avoid an error.  */
40227 #ifdef __cplusplus
40228 extern "C"
40229 {
40230 #endif
40231 /* We use char because int might match the return type of a gcc2
40232    builtin and then its argument prototype would still apply.  */
40233 char $ac_func ();
40234 /* The GNU C library defines this for functions which it implements
40235     to always fail with ENOSYS.  Some functions are actually named
40236     something starting with __ and the normal name is an alias.  */
40237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40238 choke me
40239 #else
40240 char (*f) () = $ac_func;
40241 #endif
40242 #ifdef __cplusplus
40243 }
40244 #endif
40245
40246 int
40247 main ()
40248 {
40249 return f != $ac_func;
40250   ;
40251   return 0;
40252 }
40253 _ACEOF
40254 rm -f conftest.$ac_objext conftest$ac_exeext
40255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40256   (eval $ac_link) 2>conftest.er1
40257   ac_status=$?
40258   grep -v '^ *+' conftest.er1 >conftest.err
40259   rm -f conftest.er1
40260   cat conftest.err >&5
40261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262   (exit $ac_status); } &&
40263          { ac_try='test -z "$ac_c_werror_flag"
40264                          || test ! -s conftest.err'
40265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40266   (eval $ac_try) 2>&5
40267   ac_status=$?
40268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40269   (exit $ac_status); }; } &&
40270          { ac_try='test -s conftest$ac_exeext'
40271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40272   (eval $ac_try) 2>&5
40273   ac_status=$?
40274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275   (exit $ac_status); }; }; then
40276   eval "$as_ac_var=yes"
40277 else
40278   echo "$as_me: failed program was:" >&5
40279 sed 's/^/| /' conftest.$ac_ext >&5
40280
40281 eval "$as_ac_var=no"
40282 fi
40283 rm -f conftest.err conftest.$ac_objext \
40284       conftest$ac_exeext conftest.$ac_ext
40285 fi
40286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40288 if test `eval echo '${'$as_ac_var'}'` = yes; then
40289   cat >>confdefs.h <<_ACEOF
40290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40291 _ACEOF
40292
40293 fi
40294 done
40295
40296     fi
40297   fi
40298
40299
40300
40301
40302
40303
40304   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40305 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40306   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40307     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40308   echo $ECHO_N "(cached) $ECHO_C" >&6
40309 else
40310
40311
40312
40313       ac_ext=cc
40314 ac_cpp='$CXXCPP $CPPFLAGS'
40315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40318
40319       cat >conftest.$ac_ext <<_ACEOF
40320 /* confdefs.h.  */
40321 _ACEOF
40322 cat confdefs.h >>conftest.$ac_ext
40323 cat >>conftest.$ac_ext <<_ACEOF
40324 /* end confdefs.h.  */
40325 #include <math.h>
40326                       #ifdef HAVE_IEEEFP_H
40327                       #include <ieeefp.h>
40328                       #endif
40329
40330 int
40331 main ()
40332 {
40333  sqrtf(0);
40334   ;
40335   return 0;
40336 }
40337 _ACEOF
40338 rm -f conftest.$ac_objext
40339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40340   (eval $ac_compile) 2>conftest.er1
40341   ac_status=$?
40342   grep -v '^ *+' conftest.er1 >conftest.err
40343   rm -f conftest.er1
40344   cat conftest.err >&5
40345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40346   (exit $ac_status); } &&
40347          { ac_try='test -z "$ac_cxx_werror_flag"
40348                          || test ! -s conftest.err'
40349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40350   (eval $ac_try) 2>&5
40351   ac_status=$?
40352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353   (exit $ac_status); }; } &&
40354          { ac_try='test -s conftest.$ac_objext'
40355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40356   (eval $ac_try) 2>&5
40357   ac_status=$?
40358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40359   (exit $ac_status); }; }; then
40360   glibcxx_cv_func_sqrtf_use=yes
40361 else
40362   echo "$as_me: failed program was:" >&5
40363 sed 's/^/| /' conftest.$ac_ext >&5
40364
40365 glibcxx_cv_func_sqrtf_use=no
40366 fi
40367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40368       ac_ext=c
40369 ac_cpp='$CPP $CPPFLAGS'
40370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40373
40374
40375 fi
40376
40377   fi
40378   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40379 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40380
40381   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40382
40383 for ac_func in sqrtf
40384 do
40385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40386 echo "$as_me:$LINENO: checking for $ac_func" >&5
40387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40388 if eval "test \"\${$as_ac_var+set}\" = set"; then
40389   echo $ECHO_N "(cached) $ECHO_C" >&6
40390 else
40391   if test x$gcc_no_link = xyes; then
40392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40394    { (exit 1); exit 1; }; }
40395 fi
40396 cat >conftest.$ac_ext <<_ACEOF
40397 /* confdefs.h.  */
40398 _ACEOF
40399 cat confdefs.h >>conftest.$ac_ext
40400 cat >>conftest.$ac_ext <<_ACEOF
40401 /* end confdefs.h.  */
40402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40404 #define $ac_func innocuous_$ac_func
40405
40406 /* System header to define __stub macros and hopefully few prototypes,
40407     which can conflict with char $ac_func (); below.
40408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40409     <limits.h> exists even on freestanding compilers.  */
40410
40411 #ifdef __STDC__
40412 # include <limits.h>
40413 #else
40414 # include <assert.h>
40415 #endif
40416
40417 #undef $ac_func
40418
40419 /* Override any gcc2 internal prototype to avoid an error.  */
40420 #ifdef __cplusplus
40421 extern "C"
40422 {
40423 #endif
40424 /* We use char because int might match the return type of a gcc2
40425    builtin and then its argument prototype would still apply.  */
40426 char $ac_func ();
40427 /* The GNU C library defines this for functions which it implements
40428     to always fail with ENOSYS.  Some functions are actually named
40429     something starting with __ and the normal name is an alias.  */
40430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40431 choke me
40432 #else
40433 char (*f) () = $ac_func;
40434 #endif
40435 #ifdef __cplusplus
40436 }
40437 #endif
40438
40439 int
40440 main ()
40441 {
40442 return f != $ac_func;
40443   ;
40444   return 0;
40445 }
40446 _ACEOF
40447 rm -f conftest.$ac_objext conftest$ac_exeext
40448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40449   (eval $ac_link) 2>conftest.er1
40450   ac_status=$?
40451   grep -v '^ *+' conftest.er1 >conftest.err
40452   rm -f conftest.er1
40453   cat conftest.err >&5
40454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40455   (exit $ac_status); } &&
40456          { ac_try='test -z "$ac_c_werror_flag"
40457                          || test ! -s conftest.err'
40458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40459   (eval $ac_try) 2>&5
40460   ac_status=$?
40461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462   (exit $ac_status); }; } &&
40463          { ac_try='test -s conftest$ac_exeext'
40464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465   (eval $ac_try) 2>&5
40466   ac_status=$?
40467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468   (exit $ac_status); }; }; then
40469   eval "$as_ac_var=yes"
40470 else
40471   echo "$as_me: failed program was:" >&5
40472 sed 's/^/| /' conftest.$ac_ext >&5
40473
40474 eval "$as_ac_var=no"
40475 fi
40476 rm -f conftest.err conftest.$ac_objext \
40477       conftest$ac_exeext conftest.$ac_ext
40478 fi
40479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40481 if test `eval echo '${'$as_ac_var'}'` = yes; then
40482   cat >>confdefs.h <<_ACEOF
40483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40484 _ACEOF
40485
40486 fi
40487 done
40488
40489   else
40490
40491   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40492 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40493   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40494     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40495   echo $ECHO_N "(cached) $ECHO_C" >&6
40496 else
40497
40498
40499
40500       ac_ext=cc
40501 ac_cpp='$CXXCPP $CPPFLAGS'
40502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40505
40506       cat >conftest.$ac_ext <<_ACEOF
40507 /* confdefs.h.  */
40508 _ACEOF
40509 cat confdefs.h >>conftest.$ac_ext
40510 cat >>conftest.$ac_ext <<_ACEOF
40511 /* end confdefs.h.  */
40512 #include <math.h>
40513                       #ifdef HAVE_IEEEFP_H
40514                       #include <ieeefp.h>
40515                       #endif
40516
40517 int
40518 main ()
40519 {
40520  _sqrtf(0);
40521   ;
40522   return 0;
40523 }
40524 _ACEOF
40525 rm -f conftest.$ac_objext
40526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40527   (eval $ac_compile) 2>conftest.er1
40528   ac_status=$?
40529   grep -v '^ *+' conftest.er1 >conftest.err
40530   rm -f conftest.er1
40531   cat conftest.err >&5
40532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40533   (exit $ac_status); } &&
40534          { ac_try='test -z "$ac_cxx_werror_flag"
40535                          || test ! -s conftest.err'
40536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40537   (eval $ac_try) 2>&5
40538   ac_status=$?
40539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40540   (exit $ac_status); }; } &&
40541          { ac_try='test -s conftest.$ac_objext'
40542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40543   (eval $ac_try) 2>&5
40544   ac_status=$?
40545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40546   (exit $ac_status); }; }; then
40547   glibcxx_cv_func__sqrtf_use=yes
40548 else
40549   echo "$as_me: failed program was:" >&5
40550 sed 's/^/| /' conftest.$ac_ext >&5
40551
40552 glibcxx_cv_func__sqrtf_use=no
40553 fi
40554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40555       ac_ext=c
40556 ac_cpp='$CPP $CPPFLAGS'
40557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40560
40561
40562 fi
40563
40564   fi
40565   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40566 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40567
40568     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40569
40570 for ac_func in _sqrtf
40571 do
40572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40573 echo "$as_me:$LINENO: checking for $ac_func" >&5
40574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40575 if eval "test \"\${$as_ac_var+set}\" = set"; then
40576   echo $ECHO_N "(cached) $ECHO_C" >&6
40577 else
40578   if test x$gcc_no_link = xyes; then
40579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40581    { (exit 1); exit 1; }; }
40582 fi
40583 cat >conftest.$ac_ext <<_ACEOF
40584 /* confdefs.h.  */
40585 _ACEOF
40586 cat confdefs.h >>conftest.$ac_ext
40587 cat >>conftest.$ac_ext <<_ACEOF
40588 /* end confdefs.h.  */
40589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40590    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40591 #define $ac_func innocuous_$ac_func
40592
40593 /* System header to define __stub macros and hopefully few prototypes,
40594     which can conflict with char $ac_func (); below.
40595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40596     <limits.h> exists even on freestanding compilers.  */
40597
40598 #ifdef __STDC__
40599 # include <limits.h>
40600 #else
40601 # include <assert.h>
40602 #endif
40603
40604 #undef $ac_func
40605
40606 /* Override any gcc2 internal prototype to avoid an error.  */
40607 #ifdef __cplusplus
40608 extern "C"
40609 {
40610 #endif
40611 /* We use char because int might match the return type of a gcc2
40612    builtin and then its argument prototype would still apply.  */
40613 char $ac_func ();
40614 /* The GNU C library defines this for functions which it implements
40615     to always fail with ENOSYS.  Some functions are actually named
40616     something starting with __ and the normal name is an alias.  */
40617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40618 choke me
40619 #else
40620 char (*f) () = $ac_func;
40621 #endif
40622 #ifdef __cplusplus
40623 }
40624 #endif
40625
40626 int
40627 main ()
40628 {
40629 return f != $ac_func;
40630   ;
40631   return 0;
40632 }
40633 _ACEOF
40634 rm -f conftest.$ac_objext conftest$ac_exeext
40635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40636   (eval $ac_link) 2>conftest.er1
40637   ac_status=$?
40638   grep -v '^ *+' conftest.er1 >conftest.err
40639   rm -f conftest.er1
40640   cat conftest.err >&5
40641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642   (exit $ac_status); } &&
40643          { ac_try='test -z "$ac_c_werror_flag"
40644                          || test ! -s conftest.err'
40645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40646   (eval $ac_try) 2>&5
40647   ac_status=$?
40648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649   (exit $ac_status); }; } &&
40650          { ac_try='test -s conftest$ac_exeext'
40651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40652   (eval $ac_try) 2>&5
40653   ac_status=$?
40654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40655   (exit $ac_status); }; }; then
40656   eval "$as_ac_var=yes"
40657 else
40658   echo "$as_me: failed program was:" >&5
40659 sed 's/^/| /' conftest.$ac_ext >&5
40660
40661 eval "$as_ac_var=no"
40662 fi
40663 rm -f conftest.err conftest.$ac_objext \
40664       conftest$ac_exeext conftest.$ac_ext
40665 fi
40666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40668 if test `eval echo '${'$as_ac_var'}'` = yes; then
40669   cat >>confdefs.h <<_ACEOF
40670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40671 _ACEOF
40672
40673 fi
40674 done
40675
40676     fi
40677   fi
40678
40679
40680
40681
40682
40683
40684   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40685 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40686   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40687     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40688   echo $ECHO_N "(cached) $ECHO_C" >&6
40689 else
40690
40691
40692
40693       ac_ext=cc
40694 ac_cpp='$CXXCPP $CPPFLAGS'
40695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40698
40699       cat >conftest.$ac_ext <<_ACEOF
40700 /* confdefs.h.  */
40701 _ACEOF
40702 cat confdefs.h >>conftest.$ac_ext
40703 cat >>conftest.$ac_ext <<_ACEOF
40704 /* end confdefs.h.  */
40705 #include <math.h>
40706 int
40707 main ()
40708 {
40709  sincosf(0, 0, 0);
40710   ;
40711   return 0;
40712 }
40713 _ACEOF
40714 rm -f conftest.$ac_objext
40715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40716   (eval $ac_compile) 2>conftest.er1
40717   ac_status=$?
40718   grep -v '^ *+' conftest.er1 >conftest.err
40719   rm -f conftest.er1
40720   cat conftest.err >&5
40721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40722   (exit $ac_status); } &&
40723          { ac_try='test -z "$ac_cxx_werror_flag"
40724                          || test ! -s conftest.err'
40725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40726   (eval $ac_try) 2>&5
40727   ac_status=$?
40728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729   (exit $ac_status); }; } &&
40730          { ac_try='test -s conftest.$ac_objext'
40731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40732   (eval $ac_try) 2>&5
40733   ac_status=$?
40734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735   (exit $ac_status); }; }; then
40736   glibcxx_cv_func_sincosf_use=yes
40737 else
40738   echo "$as_me: failed program was:" >&5
40739 sed 's/^/| /' conftest.$ac_ext >&5
40740
40741 glibcxx_cv_func_sincosf_use=no
40742 fi
40743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40744       ac_ext=c
40745 ac_cpp='$CPP $CPPFLAGS'
40746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40749
40750
40751 fi
40752
40753   fi
40754   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40755 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40756
40757   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40758
40759 for ac_func in sincosf
40760 do
40761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40762 echo "$as_me:$LINENO: checking for $ac_func" >&5
40763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40764 if eval "test \"\${$as_ac_var+set}\" = set"; then
40765   echo $ECHO_N "(cached) $ECHO_C" >&6
40766 else
40767   if test x$gcc_no_link = xyes; then
40768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40770    { (exit 1); exit 1; }; }
40771 fi
40772 cat >conftest.$ac_ext <<_ACEOF
40773 /* confdefs.h.  */
40774 _ACEOF
40775 cat confdefs.h >>conftest.$ac_ext
40776 cat >>conftest.$ac_ext <<_ACEOF
40777 /* end confdefs.h.  */
40778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40780 #define $ac_func innocuous_$ac_func
40781
40782 /* System header to define __stub macros and hopefully few prototypes,
40783     which can conflict with char $ac_func (); below.
40784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40785     <limits.h> exists even on freestanding compilers.  */
40786
40787 #ifdef __STDC__
40788 # include <limits.h>
40789 #else
40790 # include <assert.h>
40791 #endif
40792
40793 #undef $ac_func
40794
40795 /* Override any gcc2 internal prototype to avoid an error.  */
40796 #ifdef __cplusplus
40797 extern "C"
40798 {
40799 #endif
40800 /* We use char because int might match the return type of a gcc2
40801    builtin and then its argument prototype would still apply.  */
40802 char $ac_func ();
40803 /* The GNU C library defines this for functions which it implements
40804     to always fail with ENOSYS.  Some functions are actually named
40805     something starting with __ and the normal name is an alias.  */
40806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40807 choke me
40808 #else
40809 char (*f) () = $ac_func;
40810 #endif
40811 #ifdef __cplusplus
40812 }
40813 #endif
40814
40815 int
40816 main ()
40817 {
40818 return f != $ac_func;
40819   ;
40820   return 0;
40821 }
40822 _ACEOF
40823 rm -f conftest.$ac_objext conftest$ac_exeext
40824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40825   (eval $ac_link) 2>conftest.er1
40826   ac_status=$?
40827   grep -v '^ *+' conftest.er1 >conftest.err
40828   rm -f conftest.er1
40829   cat conftest.err >&5
40830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40831   (exit $ac_status); } &&
40832          { ac_try='test -z "$ac_c_werror_flag"
40833                          || test ! -s conftest.err'
40834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40835   (eval $ac_try) 2>&5
40836   ac_status=$?
40837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40838   (exit $ac_status); }; } &&
40839          { ac_try='test -s conftest$ac_exeext'
40840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40841   (eval $ac_try) 2>&5
40842   ac_status=$?
40843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844   (exit $ac_status); }; }; then
40845   eval "$as_ac_var=yes"
40846 else
40847   echo "$as_me: failed program was:" >&5
40848 sed 's/^/| /' conftest.$ac_ext >&5
40849
40850 eval "$as_ac_var=no"
40851 fi
40852 rm -f conftest.err conftest.$ac_objext \
40853       conftest$ac_exeext conftest.$ac_ext
40854 fi
40855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40857 if test `eval echo '${'$as_ac_var'}'` = yes; then
40858   cat >>confdefs.h <<_ACEOF
40859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40860 _ACEOF
40861
40862 fi
40863 done
40864
40865   else
40866
40867   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40868 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40869   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40870     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40871   echo $ECHO_N "(cached) $ECHO_C" >&6
40872 else
40873
40874
40875
40876       ac_ext=cc
40877 ac_cpp='$CXXCPP $CPPFLAGS'
40878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40881
40882       cat >conftest.$ac_ext <<_ACEOF
40883 /* confdefs.h.  */
40884 _ACEOF
40885 cat confdefs.h >>conftest.$ac_ext
40886 cat >>conftest.$ac_ext <<_ACEOF
40887 /* end confdefs.h.  */
40888 #include <math.h>
40889 int
40890 main ()
40891 {
40892  _sincosf(0, 0, 0);
40893   ;
40894   return 0;
40895 }
40896 _ACEOF
40897 rm -f conftest.$ac_objext
40898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40899   (eval $ac_compile) 2>conftest.er1
40900   ac_status=$?
40901   grep -v '^ *+' conftest.er1 >conftest.err
40902   rm -f conftest.er1
40903   cat conftest.err >&5
40904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40905   (exit $ac_status); } &&
40906          { ac_try='test -z "$ac_cxx_werror_flag"
40907                          || test ! -s conftest.err'
40908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40909   (eval $ac_try) 2>&5
40910   ac_status=$?
40911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40912   (exit $ac_status); }; } &&
40913          { ac_try='test -s conftest.$ac_objext'
40914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40915   (eval $ac_try) 2>&5
40916   ac_status=$?
40917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918   (exit $ac_status); }; }; then
40919   glibcxx_cv_func__sincosf_use=yes
40920 else
40921   echo "$as_me: failed program was:" >&5
40922 sed 's/^/| /' conftest.$ac_ext >&5
40923
40924 glibcxx_cv_func__sincosf_use=no
40925 fi
40926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40927       ac_ext=c
40928 ac_cpp='$CPP $CPPFLAGS'
40929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40932
40933
40934 fi
40935
40936   fi
40937   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40938 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40939
40940     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40941
40942 for ac_func in _sincosf
40943 do
40944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40945 echo "$as_me:$LINENO: checking for $ac_func" >&5
40946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40947 if eval "test \"\${$as_ac_var+set}\" = set"; then
40948   echo $ECHO_N "(cached) $ECHO_C" >&6
40949 else
40950   if test x$gcc_no_link = xyes; then
40951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40953    { (exit 1); exit 1; }; }
40954 fi
40955 cat >conftest.$ac_ext <<_ACEOF
40956 /* confdefs.h.  */
40957 _ACEOF
40958 cat confdefs.h >>conftest.$ac_ext
40959 cat >>conftest.$ac_ext <<_ACEOF
40960 /* end confdefs.h.  */
40961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40963 #define $ac_func innocuous_$ac_func
40964
40965 /* System header to define __stub macros and hopefully few prototypes,
40966     which can conflict with char $ac_func (); below.
40967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40968     <limits.h> exists even on freestanding compilers.  */
40969
40970 #ifdef __STDC__
40971 # include <limits.h>
40972 #else
40973 # include <assert.h>
40974 #endif
40975
40976 #undef $ac_func
40977
40978 /* Override any gcc2 internal prototype to avoid an error.  */
40979 #ifdef __cplusplus
40980 extern "C"
40981 {
40982 #endif
40983 /* We use char because int might match the return type of a gcc2
40984    builtin and then its argument prototype would still apply.  */
40985 char $ac_func ();
40986 /* The GNU C library defines this for functions which it implements
40987     to always fail with ENOSYS.  Some functions are actually named
40988     something starting with __ and the normal name is an alias.  */
40989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40990 choke me
40991 #else
40992 char (*f) () = $ac_func;
40993 #endif
40994 #ifdef __cplusplus
40995 }
40996 #endif
40997
40998 int
40999 main ()
41000 {
41001 return f != $ac_func;
41002   ;
41003   return 0;
41004 }
41005 _ACEOF
41006 rm -f conftest.$ac_objext conftest$ac_exeext
41007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41008   (eval $ac_link) 2>conftest.er1
41009   ac_status=$?
41010   grep -v '^ *+' conftest.er1 >conftest.err
41011   rm -f conftest.er1
41012   cat conftest.err >&5
41013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014   (exit $ac_status); } &&
41015          { ac_try='test -z "$ac_c_werror_flag"
41016                          || test ! -s conftest.err'
41017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41018   (eval $ac_try) 2>&5
41019   ac_status=$?
41020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41021   (exit $ac_status); }; } &&
41022          { ac_try='test -s conftest$ac_exeext'
41023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41024   (eval $ac_try) 2>&5
41025   ac_status=$?
41026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41027   (exit $ac_status); }; }; then
41028   eval "$as_ac_var=yes"
41029 else
41030   echo "$as_me: failed program was:" >&5
41031 sed 's/^/| /' conftest.$ac_ext >&5
41032
41033 eval "$as_ac_var=no"
41034 fi
41035 rm -f conftest.err conftest.$ac_objext \
41036       conftest$ac_exeext conftest.$ac_ext
41037 fi
41038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41040 if test `eval echo '${'$as_ac_var'}'` = yes; then
41041   cat >>confdefs.h <<_ACEOF
41042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41043 _ACEOF
41044
41045 fi
41046 done
41047
41048     fi
41049   fi
41050
41051
41052
41053
41054
41055
41056   echo "$as_me:$LINENO: checking for finitef declaration" >&5
41057 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
41058   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41059     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
41060   echo $ECHO_N "(cached) $ECHO_C" >&6
41061 else
41062
41063
41064
41065       ac_ext=cc
41066 ac_cpp='$CXXCPP $CPPFLAGS'
41067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41070
41071       cat >conftest.$ac_ext <<_ACEOF
41072 /* confdefs.h.  */
41073 _ACEOF
41074 cat confdefs.h >>conftest.$ac_ext
41075 cat >>conftest.$ac_ext <<_ACEOF
41076 /* end confdefs.h.  */
41077 #include <math.h>
41078                       #ifdef HAVE_IEEEFP_H
41079                       #include <ieeefp.h>
41080                       #endif
41081
41082 int
41083 main ()
41084 {
41085  finitef(0);
41086   ;
41087   return 0;
41088 }
41089 _ACEOF
41090 rm -f conftest.$ac_objext
41091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41092   (eval $ac_compile) 2>conftest.er1
41093   ac_status=$?
41094   grep -v '^ *+' conftest.er1 >conftest.err
41095   rm -f conftest.er1
41096   cat conftest.err >&5
41097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098   (exit $ac_status); } &&
41099          { ac_try='test -z "$ac_cxx_werror_flag"
41100                          || test ! -s conftest.err'
41101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41102   (eval $ac_try) 2>&5
41103   ac_status=$?
41104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41105   (exit $ac_status); }; } &&
41106          { ac_try='test -s conftest.$ac_objext'
41107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41108   (eval $ac_try) 2>&5
41109   ac_status=$?
41110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111   (exit $ac_status); }; }; then
41112   glibcxx_cv_func_finitef_use=yes
41113 else
41114   echo "$as_me: failed program was:" >&5
41115 sed 's/^/| /' conftest.$ac_ext >&5
41116
41117 glibcxx_cv_func_finitef_use=no
41118 fi
41119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41120       ac_ext=c
41121 ac_cpp='$CPP $CPPFLAGS'
41122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41125
41126
41127 fi
41128
41129   fi
41130   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
41131 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
41132
41133   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41134
41135 for ac_func in finitef
41136 do
41137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41138 echo "$as_me:$LINENO: checking for $ac_func" >&5
41139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41140 if eval "test \"\${$as_ac_var+set}\" = set"; then
41141   echo $ECHO_N "(cached) $ECHO_C" >&6
41142 else
41143   if test x$gcc_no_link = xyes; then
41144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41146    { (exit 1); exit 1; }; }
41147 fi
41148 cat >conftest.$ac_ext <<_ACEOF
41149 /* confdefs.h.  */
41150 _ACEOF
41151 cat confdefs.h >>conftest.$ac_ext
41152 cat >>conftest.$ac_ext <<_ACEOF
41153 /* end confdefs.h.  */
41154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41156 #define $ac_func innocuous_$ac_func
41157
41158 /* System header to define __stub macros and hopefully few prototypes,
41159     which can conflict with char $ac_func (); below.
41160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41161     <limits.h> exists even on freestanding compilers.  */
41162
41163 #ifdef __STDC__
41164 # include <limits.h>
41165 #else
41166 # include <assert.h>
41167 #endif
41168
41169 #undef $ac_func
41170
41171 /* Override any gcc2 internal prototype to avoid an error.  */
41172 #ifdef __cplusplus
41173 extern "C"
41174 {
41175 #endif
41176 /* We use char because int might match the return type of a gcc2
41177    builtin and then its argument prototype would still apply.  */
41178 char $ac_func ();
41179 /* The GNU C library defines this for functions which it implements
41180     to always fail with ENOSYS.  Some functions are actually named
41181     something starting with __ and the normal name is an alias.  */
41182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41183 choke me
41184 #else
41185 char (*f) () = $ac_func;
41186 #endif
41187 #ifdef __cplusplus
41188 }
41189 #endif
41190
41191 int
41192 main ()
41193 {
41194 return f != $ac_func;
41195   ;
41196   return 0;
41197 }
41198 _ACEOF
41199 rm -f conftest.$ac_objext conftest$ac_exeext
41200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41201   (eval $ac_link) 2>conftest.er1
41202   ac_status=$?
41203   grep -v '^ *+' conftest.er1 >conftest.err
41204   rm -f conftest.er1
41205   cat conftest.err >&5
41206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207   (exit $ac_status); } &&
41208          { ac_try='test -z "$ac_c_werror_flag"
41209                          || test ! -s conftest.err'
41210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41211   (eval $ac_try) 2>&5
41212   ac_status=$?
41213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41214   (exit $ac_status); }; } &&
41215          { ac_try='test -s conftest$ac_exeext'
41216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41217   (eval $ac_try) 2>&5
41218   ac_status=$?
41219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41220   (exit $ac_status); }; }; then
41221   eval "$as_ac_var=yes"
41222 else
41223   echo "$as_me: failed program was:" >&5
41224 sed 's/^/| /' conftest.$ac_ext >&5
41225
41226 eval "$as_ac_var=no"
41227 fi
41228 rm -f conftest.err conftest.$ac_objext \
41229       conftest$ac_exeext conftest.$ac_ext
41230 fi
41231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41233 if test `eval echo '${'$as_ac_var'}'` = yes; then
41234   cat >>confdefs.h <<_ACEOF
41235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41236 _ACEOF
41237
41238 fi
41239 done
41240
41241   else
41242
41243   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41244 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41245   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41246     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41247   echo $ECHO_N "(cached) $ECHO_C" >&6
41248 else
41249
41250
41251
41252       ac_ext=cc
41253 ac_cpp='$CXXCPP $CPPFLAGS'
41254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41257
41258       cat >conftest.$ac_ext <<_ACEOF
41259 /* confdefs.h.  */
41260 _ACEOF
41261 cat confdefs.h >>conftest.$ac_ext
41262 cat >>conftest.$ac_ext <<_ACEOF
41263 /* end confdefs.h.  */
41264 #include <math.h>
41265                       #ifdef HAVE_IEEEFP_H
41266                       #include <ieeefp.h>
41267                       #endif
41268
41269 int
41270 main ()
41271 {
41272  _finitef(0);
41273   ;
41274   return 0;
41275 }
41276 _ACEOF
41277 rm -f conftest.$ac_objext
41278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41279   (eval $ac_compile) 2>conftest.er1
41280   ac_status=$?
41281   grep -v '^ *+' conftest.er1 >conftest.err
41282   rm -f conftest.er1
41283   cat conftest.err >&5
41284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41285   (exit $ac_status); } &&
41286          { ac_try='test -z "$ac_cxx_werror_flag"
41287                          || test ! -s conftest.err'
41288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41289   (eval $ac_try) 2>&5
41290   ac_status=$?
41291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41292   (exit $ac_status); }; } &&
41293          { ac_try='test -s conftest.$ac_objext'
41294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41295   (eval $ac_try) 2>&5
41296   ac_status=$?
41297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41298   (exit $ac_status); }; }; then
41299   glibcxx_cv_func__finitef_use=yes
41300 else
41301   echo "$as_me: failed program was:" >&5
41302 sed 's/^/| /' conftest.$ac_ext >&5
41303
41304 glibcxx_cv_func__finitef_use=no
41305 fi
41306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41307       ac_ext=c
41308 ac_cpp='$CPP $CPPFLAGS'
41309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41312
41313
41314 fi
41315
41316   fi
41317   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41318 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41319
41320     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41321
41322 for ac_func in _finitef
41323 do
41324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41325 echo "$as_me:$LINENO: checking for $ac_func" >&5
41326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41327 if eval "test \"\${$as_ac_var+set}\" = set"; then
41328   echo $ECHO_N "(cached) $ECHO_C" >&6
41329 else
41330   if test x$gcc_no_link = xyes; then
41331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41333    { (exit 1); exit 1; }; }
41334 fi
41335 cat >conftest.$ac_ext <<_ACEOF
41336 /* confdefs.h.  */
41337 _ACEOF
41338 cat confdefs.h >>conftest.$ac_ext
41339 cat >>conftest.$ac_ext <<_ACEOF
41340 /* end confdefs.h.  */
41341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41342    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41343 #define $ac_func innocuous_$ac_func
41344
41345 /* System header to define __stub macros and hopefully few prototypes,
41346     which can conflict with char $ac_func (); below.
41347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41348     <limits.h> exists even on freestanding compilers.  */
41349
41350 #ifdef __STDC__
41351 # include <limits.h>
41352 #else
41353 # include <assert.h>
41354 #endif
41355
41356 #undef $ac_func
41357
41358 /* Override any gcc2 internal prototype to avoid an error.  */
41359 #ifdef __cplusplus
41360 extern "C"
41361 {
41362 #endif
41363 /* We use char because int might match the return type of a gcc2
41364    builtin and then its argument prototype would still apply.  */
41365 char $ac_func ();
41366 /* The GNU C library defines this for functions which it implements
41367     to always fail with ENOSYS.  Some functions are actually named
41368     something starting with __ and the normal name is an alias.  */
41369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41370 choke me
41371 #else
41372 char (*f) () = $ac_func;
41373 #endif
41374 #ifdef __cplusplus
41375 }
41376 #endif
41377
41378 int
41379 main ()
41380 {
41381 return f != $ac_func;
41382   ;
41383   return 0;
41384 }
41385 _ACEOF
41386 rm -f conftest.$ac_objext conftest$ac_exeext
41387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41388   (eval $ac_link) 2>conftest.er1
41389   ac_status=$?
41390   grep -v '^ *+' conftest.er1 >conftest.err
41391   rm -f conftest.er1
41392   cat conftest.err >&5
41393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41394   (exit $ac_status); } &&
41395          { ac_try='test -z "$ac_c_werror_flag"
41396                          || test ! -s conftest.err'
41397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41398   (eval $ac_try) 2>&5
41399   ac_status=$?
41400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41401   (exit $ac_status); }; } &&
41402          { ac_try='test -s conftest$ac_exeext'
41403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41404   (eval $ac_try) 2>&5
41405   ac_status=$?
41406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41407   (exit $ac_status); }; }; then
41408   eval "$as_ac_var=yes"
41409 else
41410   echo "$as_me: failed program was:" >&5
41411 sed 's/^/| /' conftest.$ac_ext >&5
41412
41413 eval "$as_ac_var=no"
41414 fi
41415 rm -f conftest.err conftest.$ac_objext \
41416       conftest$ac_exeext conftest.$ac_ext
41417 fi
41418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41420 if test `eval echo '${'$as_ac_var'}'` = yes; then
41421   cat >>confdefs.h <<_ACEOF
41422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41423 _ACEOF
41424
41425 fi
41426 done
41427
41428     fi
41429   fi
41430
41431
41432
41433
41434
41435
41436     echo "$as_me:$LINENO: checking for long double trig functions" >&5
41437 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41438   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41439   echo $ECHO_N "(cached) $ECHO_C" >&6
41440 else
41441
41442
41443
41444     ac_ext=cc
41445 ac_cpp='$CXXCPP $CPPFLAGS'
41446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41449
41450     cat >conftest.$ac_ext <<_ACEOF
41451 /* confdefs.h.  */
41452 _ACEOF
41453 cat confdefs.h >>conftest.$ac_ext
41454 cat >>conftest.$ac_ext <<_ACEOF
41455 /* end confdefs.h.  */
41456 #include <math.h>
41457 int
41458 main ()
41459 {
41460 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41461   ;
41462   return 0;
41463 }
41464 _ACEOF
41465 rm -f conftest.$ac_objext
41466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41467   (eval $ac_compile) 2>conftest.er1
41468   ac_status=$?
41469   grep -v '^ *+' conftest.er1 >conftest.err
41470   rm -f conftest.er1
41471   cat conftest.err >&5
41472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473   (exit $ac_status); } &&
41474          { ac_try='test -z "$ac_cxx_werror_flag"
41475                          || test ! -s conftest.err'
41476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41477   (eval $ac_try) 2>&5
41478   ac_status=$?
41479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480   (exit $ac_status); }; } &&
41481          { ac_try='test -s conftest.$ac_objext'
41482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41483   (eval $ac_try) 2>&5
41484   ac_status=$?
41485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486   (exit $ac_status); }; }; then
41487   glibcxx_cv_func_long_double_trig_use=yes
41488 else
41489   echo "$as_me: failed program was:" >&5
41490 sed 's/^/| /' conftest.$ac_ext >&5
41491
41492 glibcxx_cv_func_long_double_trig_use=no
41493 fi
41494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41495     ac_ext=c
41496 ac_cpp='$CPP $CPPFLAGS'
41497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41500
41501 fi
41502
41503   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41504 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41505   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41506
41507
41508
41509
41510
41511
41512
41513
41514
41515 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41516 do
41517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41518 echo "$as_me:$LINENO: checking for $ac_func" >&5
41519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41520 if eval "test \"\${$as_ac_var+set}\" = set"; then
41521   echo $ECHO_N "(cached) $ECHO_C" >&6
41522 else
41523   if test x$gcc_no_link = xyes; then
41524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41526    { (exit 1); exit 1; }; }
41527 fi
41528 cat >conftest.$ac_ext <<_ACEOF
41529 /* confdefs.h.  */
41530 _ACEOF
41531 cat confdefs.h >>conftest.$ac_ext
41532 cat >>conftest.$ac_ext <<_ACEOF
41533 /* end confdefs.h.  */
41534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41536 #define $ac_func innocuous_$ac_func
41537
41538 /* System header to define __stub macros and hopefully few prototypes,
41539     which can conflict with char $ac_func (); below.
41540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41541     <limits.h> exists even on freestanding compilers.  */
41542
41543 #ifdef __STDC__
41544 # include <limits.h>
41545 #else
41546 # include <assert.h>
41547 #endif
41548
41549 #undef $ac_func
41550
41551 /* Override any gcc2 internal prototype to avoid an error.  */
41552 #ifdef __cplusplus
41553 extern "C"
41554 {
41555 #endif
41556 /* We use char because int might match the return type of a gcc2
41557    builtin and then its argument prototype would still apply.  */
41558 char $ac_func ();
41559 /* The GNU C library defines this for functions which it implements
41560     to always fail with ENOSYS.  Some functions are actually named
41561     something starting with __ and the normal name is an alias.  */
41562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41563 choke me
41564 #else
41565 char (*f) () = $ac_func;
41566 #endif
41567 #ifdef __cplusplus
41568 }
41569 #endif
41570
41571 int
41572 main ()
41573 {
41574 return f != $ac_func;
41575   ;
41576   return 0;
41577 }
41578 _ACEOF
41579 rm -f conftest.$ac_objext conftest$ac_exeext
41580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41581   (eval $ac_link) 2>conftest.er1
41582   ac_status=$?
41583   grep -v '^ *+' conftest.er1 >conftest.err
41584   rm -f conftest.er1
41585   cat conftest.err >&5
41586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41587   (exit $ac_status); } &&
41588          { ac_try='test -z "$ac_c_werror_flag"
41589                          || test ! -s conftest.err'
41590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41591   (eval $ac_try) 2>&5
41592   ac_status=$?
41593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594   (exit $ac_status); }; } &&
41595          { ac_try='test -s conftest$ac_exeext'
41596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41597   (eval $ac_try) 2>&5
41598   ac_status=$?
41599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600   (exit $ac_status); }; }; then
41601   eval "$as_ac_var=yes"
41602 else
41603   echo "$as_me: failed program was:" >&5
41604 sed 's/^/| /' conftest.$ac_ext >&5
41605
41606 eval "$as_ac_var=no"
41607 fi
41608 rm -f conftest.err conftest.$ac_objext \
41609       conftest$ac_exeext conftest.$ac_ext
41610 fi
41611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41613 if test `eval echo '${'$as_ac_var'}'` = yes; then
41614   cat >>confdefs.h <<_ACEOF
41615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41616 _ACEOF
41617
41618 fi
41619 done
41620
41621   else
41622     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41623 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41624     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41625   echo $ECHO_N "(cached) $ECHO_C" >&6
41626 else
41627
41628
41629
41630       ac_ext=cc
41631 ac_cpp='$CXXCPP $CPPFLAGS'
41632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41635
41636       cat >conftest.$ac_ext <<_ACEOF
41637 /* confdefs.h.  */
41638 _ACEOF
41639 cat confdefs.h >>conftest.$ac_ext
41640 cat >>conftest.$ac_ext <<_ACEOF
41641 /* end confdefs.h.  */
41642 #include <math.h>
41643 int
41644 main ()
41645 {
41646 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41647   ;
41648   return 0;
41649 }
41650 _ACEOF
41651 rm -f conftest.$ac_objext
41652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41653   (eval $ac_compile) 2>conftest.er1
41654   ac_status=$?
41655   grep -v '^ *+' conftest.er1 >conftest.err
41656   rm -f conftest.er1
41657   cat conftest.err >&5
41658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659   (exit $ac_status); } &&
41660          { ac_try='test -z "$ac_cxx_werror_flag"
41661                          || test ! -s conftest.err'
41662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41663   (eval $ac_try) 2>&5
41664   ac_status=$?
41665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666   (exit $ac_status); }; } &&
41667          { ac_try='test -s conftest.$ac_objext'
41668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41669   (eval $ac_try) 2>&5
41670   ac_status=$?
41671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672   (exit $ac_status); }; }; then
41673   glibcxx_cv_func__long_double_trig_use=yes
41674 else
41675   echo "$as_me: failed program was:" >&5
41676 sed 's/^/| /' conftest.$ac_ext >&5
41677
41678 glibcxx_cv_func__long_double_trig_use=no
41679 fi
41680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41681       ac_ext=c
41682 ac_cpp='$CPP $CPPFLAGS'
41683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41686
41687 fi
41688
41689     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41690 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41691     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41692
41693
41694
41695
41696
41697
41698
41699
41700
41701 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41702 do
41703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41704 echo "$as_me:$LINENO: checking for $ac_func" >&5
41705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41706 if eval "test \"\${$as_ac_var+set}\" = set"; then
41707   echo $ECHO_N "(cached) $ECHO_C" >&6
41708 else
41709   if test x$gcc_no_link = xyes; then
41710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41712    { (exit 1); exit 1; }; }
41713 fi
41714 cat >conftest.$ac_ext <<_ACEOF
41715 /* confdefs.h.  */
41716 _ACEOF
41717 cat confdefs.h >>conftest.$ac_ext
41718 cat >>conftest.$ac_ext <<_ACEOF
41719 /* end confdefs.h.  */
41720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41721    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41722 #define $ac_func innocuous_$ac_func
41723
41724 /* System header to define __stub macros and hopefully few prototypes,
41725     which can conflict with char $ac_func (); below.
41726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41727     <limits.h> exists even on freestanding compilers.  */
41728
41729 #ifdef __STDC__
41730 # include <limits.h>
41731 #else
41732 # include <assert.h>
41733 #endif
41734
41735 #undef $ac_func
41736
41737 /* Override any gcc2 internal prototype to avoid an error.  */
41738 #ifdef __cplusplus
41739 extern "C"
41740 {
41741 #endif
41742 /* We use char because int might match the return type of a gcc2
41743    builtin and then its argument prototype would still apply.  */
41744 char $ac_func ();
41745 /* The GNU C library defines this for functions which it implements
41746     to always fail with ENOSYS.  Some functions are actually named
41747     something starting with __ and the normal name is an alias.  */
41748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41749 choke me
41750 #else
41751 char (*f) () = $ac_func;
41752 #endif
41753 #ifdef __cplusplus
41754 }
41755 #endif
41756
41757 int
41758 main ()
41759 {
41760 return f != $ac_func;
41761   ;
41762   return 0;
41763 }
41764 _ACEOF
41765 rm -f conftest.$ac_objext conftest$ac_exeext
41766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41767   (eval $ac_link) 2>conftest.er1
41768   ac_status=$?
41769   grep -v '^ *+' conftest.er1 >conftest.err
41770   rm -f conftest.er1
41771   cat conftest.err >&5
41772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41773   (exit $ac_status); } &&
41774          { ac_try='test -z "$ac_c_werror_flag"
41775                          || test ! -s conftest.err'
41776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41777   (eval $ac_try) 2>&5
41778   ac_status=$?
41779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780   (exit $ac_status); }; } &&
41781          { ac_try='test -s conftest$ac_exeext'
41782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41783   (eval $ac_try) 2>&5
41784   ac_status=$?
41785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786   (exit $ac_status); }; }; then
41787   eval "$as_ac_var=yes"
41788 else
41789   echo "$as_me: failed program was:" >&5
41790 sed 's/^/| /' conftest.$ac_ext >&5
41791
41792 eval "$as_ac_var=no"
41793 fi
41794 rm -f conftest.err conftest.$ac_objext \
41795       conftest$ac_exeext conftest.$ac_ext
41796 fi
41797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41799 if test `eval echo '${'$as_ac_var'}'` = yes; then
41800   cat >>confdefs.h <<_ACEOF
41801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41802 _ACEOF
41803
41804 fi
41805 done
41806
41807     fi
41808   fi
41809
41810
41811
41812
41813
41814
41815
41816
41817
41818
41819
41820
41821
41822
41823     echo "$as_me:$LINENO: checking for long double round functions" >&5
41824 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41825   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41826   echo $ECHO_N "(cached) $ECHO_C" >&6
41827 else
41828
41829
41830
41831     ac_ext=cc
41832 ac_cpp='$CXXCPP $CPPFLAGS'
41833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41836
41837     cat >conftest.$ac_ext <<_ACEOF
41838 /* confdefs.h.  */
41839 _ACEOF
41840 cat confdefs.h >>conftest.$ac_ext
41841 cat >>conftest.$ac_ext <<_ACEOF
41842 /* end confdefs.h.  */
41843 #include <math.h>
41844 int
41845 main ()
41846 {
41847 ceill (0); floorl (0);
41848   ;
41849   return 0;
41850 }
41851 _ACEOF
41852 rm -f conftest.$ac_objext
41853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41854   (eval $ac_compile) 2>conftest.er1
41855   ac_status=$?
41856   grep -v '^ *+' conftest.er1 >conftest.err
41857   rm -f conftest.er1
41858   cat conftest.err >&5
41859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860   (exit $ac_status); } &&
41861          { ac_try='test -z "$ac_cxx_werror_flag"
41862                          || test ! -s conftest.err'
41863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41864   (eval $ac_try) 2>&5
41865   ac_status=$?
41866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41867   (exit $ac_status); }; } &&
41868          { ac_try='test -s conftest.$ac_objext'
41869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41870   (eval $ac_try) 2>&5
41871   ac_status=$?
41872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873   (exit $ac_status); }; }; then
41874   glibcxx_cv_func_long_double_round_use=yes
41875 else
41876   echo "$as_me: failed program was:" >&5
41877 sed 's/^/| /' conftest.$ac_ext >&5
41878
41879 glibcxx_cv_func_long_double_round_use=no
41880 fi
41881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41882     ac_ext=c
41883 ac_cpp='$CPP $CPPFLAGS'
41884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41887
41888 fi
41889
41890   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41891 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41892   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41893
41894
41895 for ac_func in ceill floorl
41896 do
41897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41898 echo "$as_me:$LINENO: checking for $ac_func" >&5
41899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41900 if eval "test \"\${$as_ac_var+set}\" = set"; then
41901   echo $ECHO_N "(cached) $ECHO_C" >&6
41902 else
41903   if test x$gcc_no_link = xyes; then
41904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41906    { (exit 1); exit 1; }; }
41907 fi
41908 cat >conftest.$ac_ext <<_ACEOF
41909 /* confdefs.h.  */
41910 _ACEOF
41911 cat confdefs.h >>conftest.$ac_ext
41912 cat >>conftest.$ac_ext <<_ACEOF
41913 /* end confdefs.h.  */
41914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41916 #define $ac_func innocuous_$ac_func
41917
41918 /* System header to define __stub macros and hopefully few prototypes,
41919     which can conflict with char $ac_func (); below.
41920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41921     <limits.h> exists even on freestanding compilers.  */
41922
41923 #ifdef __STDC__
41924 # include <limits.h>
41925 #else
41926 # include <assert.h>
41927 #endif
41928
41929 #undef $ac_func
41930
41931 /* Override any gcc2 internal prototype to avoid an error.  */
41932 #ifdef __cplusplus
41933 extern "C"
41934 {
41935 #endif
41936 /* We use char because int might match the return type of a gcc2
41937    builtin and then its argument prototype would still apply.  */
41938 char $ac_func ();
41939 /* The GNU C library defines this for functions which it implements
41940     to always fail with ENOSYS.  Some functions are actually named
41941     something starting with __ and the normal name is an alias.  */
41942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41943 choke me
41944 #else
41945 char (*f) () = $ac_func;
41946 #endif
41947 #ifdef __cplusplus
41948 }
41949 #endif
41950
41951 int
41952 main ()
41953 {
41954 return f != $ac_func;
41955   ;
41956   return 0;
41957 }
41958 _ACEOF
41959 rm -f conftest.$ac_objext conftest$ac_exeext
41960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41961   (eval $ac_link) 2>conftest.er1
41962   ac_status=$?
41963   grep -v '^ *+' conftest.er1 >conftest.err
41964   rm -f conftest.er1
41965   cat conftest.err >&5
41966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41967   (exit $ac_status); } &&
41968          { ac_try='test -z "$ac_c_werror_flag"
41969                          || test ! -s conftest.err'
41970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41971   (eval $ac_try) 2>&5
41972   ac_status=$?
41973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41974   (exit $ac_status); }; } &&
41975          { ac_try='test -s conftest$ac_exeext'
41976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41977   (eval $ac_try) 2>&5
41978   ac_status=$?
41979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41980   (exit $ac_status); }; }; then
41981   eval "$as_ac_var=yes"
41982 else
41983   echo "$as_me: failed program was:" >&5
41984 sed 's/^/| /' conftest.$ac_ext >&5
41985
41986 eval "$as_ac_var=no"
41987 fi
41988 rm -f conftest.err conftest.$ac_objext \
41989       conftest$ac_exeext conftest.$ac_ext
41990 fi
41991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41993 if test `eval echo '${'$as_ac_var'}'` = yes; then
41994   cat >>confdefs.h <<_ACEOF
41995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41996 _ACEOF
41997
41998 fi
41999 done
42000
42001   else
42002     echo "$as_me:$LINENO: checking for _long double round functions" >&5
42003 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42004     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42005   echo $ECHO_N "(cached) $ECHO_C" >&6
42006 else
42007
42008
42009
42010       ac_ext=cc
42011 ac_cpp='$CXXCPP $CPPFLAGS'
42012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42015
42016       cat >conftest.$ac_ext <<_ACEOF
42017 /* confdefs.h.  */
42018 _ACEOF
42019 cat confdefs.h >>conftest.$ac_ext
42020 cat >>conftest.$ac_ext <<_ACEOF
42021 /* end confdefs.h.  */
42022 #include <math.h>
42023 int
42024 main ()
42025 {
42026 _ceill (0); _floorl (0);
42027   ;
42028   return 0;
42029 }
42030 _ACEOF
42031 rm -f conftest.$ac_objext
42032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42033   (eval $ac_compile) 2>conftest.er1
42034   ac_status=$?
42035   grep -v '^ *+' conftest.er1 >conftest.err
42036   rm -f conftest.er1
42037   cat conftest.err >&5
42038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039   (exit $ac_status); } &&
42040          { ac_try='test -z "$ac_cxx_werror_flag"
42041                          || test ! -s conftest.err'
42042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42043   (eval $ac_try) 2>&5
42044   ac_status=$?
42045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046   (exit $ac_status); }; } &&
42047          { ac_try='test -s conftest.$ac_objext'
42048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42049   (eval $ac_try) 2>&5
42050   ac_status=$?
42051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052   (exit $ac_status); }; }; then
42053   glibcxx_cv_func__long_double_round_use=yes
42054 else
42055   echo "$as_me: failed program was:" >&5
42056 sed 's/^/| /' conftest.$ac_ext >&5
42057
42058 glibcxx_cv_func__long_double_round_use=no
42059 fi
42060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42061       ac_ext=c
42062 ac_cpp='$CPP $CPPFLAGS'
42063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42066
42067 fi
42068
42069     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42070 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42071     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42072
42073
42074 for ac_func in _ceill _floorl
42075 do
42076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42077 echo "$as_me:$LINENO: checking for $ac_func" >&5
42078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42079 if eval "test \"\${$as_ac_var+set}\" = set"; then
42080   echo $ECHO_N "(cached) $ECHO_C" >&6
42081 else
42082   if test x$gcc_no_link = xyes; then
42083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42085    { (exit 1); exit 1; }; }
42086 fi
42087 cat >conftest.$ac_ext <<_ACEOF
42088 /* confdefs.h.  */
42089 _ACEOF
42090 cat confdefs.h >>conftest.$ac_ext
42091 cat >>conftest.$ac_ext <<_ACEOF
42092 /* end confdefs.h.  */
42093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42095 #define $ac_func innocuous_$ac_func
42096
42097 /* System header to define __stub macros and hopefully few prototypes,
42098     which can conflict with char $ac_func (); below.
42099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42100     <limits.h> exists even on freestanding compilers.  */
42101
42102 #ifdef __STDC__
42103 # include <limits.h>
42104 #else
42105 # include <assert.h>
42106 #endif
42107
42108 #undef $ac_func
42109
42110 /* Override any gcc2 internal prototype to avoid an error.  */
42111 #ifdef __cplusplus
42112 extern "C"
42113 {
42114 #endif
42115 /* We use char because int might match the return type of a gcc2
42116    builtin and then its argument prototype would still apply.  */
42117 char $ac_func ();
42118 /* The GNU C library defines this for functions which it implements
42119     to always fail with ENOSYS.  Some functions are actually named
42120     something starting with __ and the normal name is an alias.  */
42121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42122 choke me
42123 #else
42124 char (*f) () = $ac_func;
42125 #endif
42126 #ifdef __cplusplus
42127 }
42128 #endif
42129
42130 int
42131 main ()
42132 {
42133 return f != $ac_func;
42134   ;
42135   return 0;
42136 }
42137 _ACEOF
42138 rm -f conftest.$ac_objext conftest$ac_exeext
42139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42140   (eval $ac_link) 2>conftest.er1
42141   ac_status=$?
42142   grep -v '^ *+' conftest.er1 >conftest.err
42143   rm -f conftest.er1
42144   cat conftest.err >&5
42145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146   (exit $ac_status); } &&
42147          { ac_try='test -z "$ac_c_werror_flag"
42148                          || test ! -s conftest.err'
42149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42150   (eval $ac_try) 2>&5
42151   ac_status=$?
42152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153   (exit $ac_status); }; } &&
42154          { ac_try='test -s conftest$ac_exeext'
42155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42156   (eval $ac_try) 2>&5
42157   ac_status=$?
42158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159   (exit $ac_status); }; }; then
42160   eval "$as_ac_var=yes"
42161 else
42162   echo "$as_me: failed program was:" >&5
42163 sed 's/^/| /' conftest.$ac_ext >&5
42164
42165 eval "$as_ac_var=no"
42166 fi
42167 rm -f conftest.err conftest.$ac_objext \
42168       conftest$ac_exeext conftest.$ac_ext
42169 fi
42170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42172 if test `eval echo '${'$as_ac_var'}'` = yes; then
42173   cat >>confdefs.h <<_ACEOF
42174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42175 _ACEOF
42176
42177 fi
42178 done
42179
42180     fi
42181   fi
42182
42183
42184
42185
42186
42187
42188
42189
42190   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42191 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42192   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42193     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42194   echo $ECHO_N "(cached) $ECHO_C" >&6
42195 else
42196
42197
42198
42199       ac_ext=cc
42200 ac_cpp='$CXXCPP $CPPFLAGS'
42201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42204
42205       cat >conftest.$ac_ext <<_ACEOF
42206 /* confdefs.h.  */
42207 _ACEOF
42208 cat confdefs.h >>conftest.$ac_ext
42209 cat >>conftest.$ac_ext <<_ACEOF
42210 /* end confdefs.h.  */
42211 #include <math.h>
42212                       #ifdef HAVE_IEEEFP_H
42213                       #include <ieeefp.h>
42214                       #endif
42215
42216 int
42217 main ()
42218 {
42219  isnanl(0);
42220   ;
42221   return 0;
42222 }
42223 _ACEOF
42224 rm -f conftest.$ac_objext
42225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42226   (eval $ac_compile) 2>conftest.er1
42227   ac_status=$?
42228   grep -v '^ *+' conftest.er1 >conftest.err
42229   rm -f conftest.er1
42230   cat conftest.err >&5
42231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42232   (exit $ac_status); } &&
42233          { ac_try='test -z "$ac_cxx_werror_flag"
42234                          || test ! -s conftest.err'
42235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42236   (eval $ac_try) 2>&5
42237   ac_status=$?
42238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42239   (exit $ac_status); }; } &&
42240          { ac_try='test -s conftest.$ac_objext'
42241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42242   (eval $ac_try) 2>&5
42243   ac_status=$?
42244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42245   (exit $ac_status); }; }; then
42246   glibcxx_cv_func_isnanl_use=yes
42247 else
42248   echo "$as_me: failed program was:" >&5
42249 sed 's/^/| /' conftest.$ac_ext >&5
42250
42251 glibcxx_cv_func_isnanl_use=no
42252 fi
42253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42254       ac_ext=c
42255 ac_cpp='$CPP $CPPFLAGS'
42256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42259
42260
42261 fi
42262
42263   fi
42264   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42265 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42266
42267   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42268
42269 for ac_func in isnanl
42270 do
42271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42272 echo "$as_me:$LINENO: checking for $ac_func" >&5
42273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42274 if eval "test \"\${$as_ac_var+set}\" = set"; then
42275   echo $ECHO_N "(cached) $ECHO_C" >&6
42276 else
42277   if test x$gcc_no_link = xyes; then
42278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42280    { (exit 1); exit 1; }; }
42281 fi
42282 cat >conftest.$ac_ext <<_ACEOF
42283 /* confdefs.h.  */
42284 _ACEOF
42285 cat confdefs.h >>conftest.$ac_ext
42286 cat >>conftest.$ac_ext <<_ACEOF
42287 /* end confdefs.h.  */
42288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42290 #define $ac_func innocuous_$ac_func
42291
42292 /* System header to define __stub macros and hopefully few prototypes,
42293     which can conflict with char $ac_func (); below.
42294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42295     <limits.h> exists even on freestanding compilers.  */
42296
42297 #ifdef __STDC__
42298 # include <limits.h>
42299 #else
42300 # include <assert.h>
42301 #endif
42302
42303 #undef $ac_func
42304
42305 /* Override any gcc2 internal prototype to avoid an error.  */
42306 #ifdef __cplusplus
42307 extern "C"
42308 {
42309 #endif
42310 /* We use char because int might match the return type of a gcc2
42311    builtin and then its argument prototype would still apply.  */
42312 char $ac_func ();
42313 /* The GNU C library defines this for functions which it implements
42314     to always fail with ENOSYS.  Some functions are actually named
42315     something starting with __ and the normal name is an alias.  */
42316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42317 choke me
42318 #else
42319 char (*f) () = $ac_func;
42320 #endif
42321 #ifdef __cplusplus
42322 }
42323 #endif
42324
42325 int
42326 main ()
42327 {
42328 return f != $ac_func;
42329   ;
42330   return 0;
42331 }
42332 _ACEOF
42333 rm -f conftest.$ac_objext conftest$ac_exeext
42334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42335   (eval $ac_link) 2>conftest.er1
42336   ac_status=$?
42337   grep -v '^ *+' conftest.er1 >conftest.err
42338   rm -f conftest.er1
42339   cat conftest.err >&5
42340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42341   (exit $ac_status); } &&
42342          { ac_try='test -z "$ac_c_werror_flag"
42343                          || test ! -s conftest.err'
42344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42345   (eval $ac_try) 2>&5
42346   ac_status=$?
42347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348   (exit $ac_status); }; } &&
42349          { ac_try='test -s conftest$ac_exeext'
42350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42351   (eval $ac_try) 2>&5
42352   ac_status=$?
42353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354   (exit $ac_status); }; }; then
42355   eval "$as_ac_var=yes"
42356 else
42357   echo "$as_me: failed program was:" >&5
42358 sed 's/^/| /' conftest.$ac_ext >&5
42359
42360 eval "$as_ac_var=no"
42361 fi
42362 rm -f conftest.err conftest.$ac_objext \
42363       conftest$ac_exeext conftest.$ac_ext
42364 fi
42365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42367 if test `eval echo '${'$as_ac_var'}'` = yes; then
42368   cat >>confdefs.h <<_ACEOF
42369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42370 _ACEOF
42371
42372 fi
42373 done
42374
42375   else
42376
42377   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42378 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42379   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42380     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42381   echo $ECHO_N "(cached) $ECHO_C" >&6
42382 else
42383
42384
42385
42386       ac_ext=cc
42387 ac_cpp='$CXXCPP $CPPFLAGS'
42388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42391
42392       cat >conftest.$ac_ext <<_ACEOF
42393 /* confdefs.h.  */
42394 _ACEOF
42395 cat confdefs.h >>conftest.$ac_ext
42396 cat >>conftest.$ac_ext <<_ACEOF
42397 /* end confdefs.h.  */
42398 #include <math.h>
42399                       #ifdef HAVE_IEEEFP_H
42400                       #include <ieeefp.h>
42401                       #endif
42402
42403 int
42404 main ()
42405 {
42406  _isnanl(0);
42407   ;
42408   return 0;
42409 }
42410 _ACEOF
42411 rm -f conftest.$ac_objext
42412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42413   (eval $ac_compile) 2>conftest.er1
42414   ac_status=$?
42415   grep -v '^ *+' conftest.er1 >conftest.err
42416   rm -f conftest.er1
42417   cat conftest.err >&5
42418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419   (exit $ac_status); } &&
42420          { ac_try='test -z "$ac_cxx_werror_flag"
42421                          || test ! -s conftest.err'
42422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42423   (eval $ac_try) 2>&5
42424   ac_status=$?
42425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426   (exit $ac_status); }; } &&
42427          { ac_try='test -s conftest.$ac_objext'
42428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42429   (eval $ac_try) 2>&5
42430   ac_status=$?
42431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42432   (exit $ac_status); }; }; then
42433   glibcxx_cv_func__isnanl_use=yes
42434 else
42435   echo "$as_me: failed program was:" >&5
42436 sed 's/^/| /' conftest.$ac_ext >&5
42437
42438 glibcxx_cv_func__isnanl_use=no
42439 fi
42440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42441       ac_ext=c
42442 ac_cpp='$CPP $CPPFLAGS'
42443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42446
42447
42448 fi
42449
42450   fi
42451   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42452 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42453
42454     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42455
42456 for ac_func in _isnanl
42457 do
42458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42459 echo "$as_me:$LINENO: checking for $ac_func" >&5
42460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42461 if eval "test \"\${$as_ac_var+set}\" = set"; then
42462   echo $ECHO_N "(cached) $ECHO_C" >&6
42463 else
42464   if test x$gcc_no_link = xyes; then
42465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42467    { (exit 1); exit 1; }; }
42468 fi
42469 cat >conftest.$ac_ext <<_ACEOF
42470 /* confdefs.h.  */
42471 _ACEOF
42472 cat confdefs.h >>conftest.$ac_ext
42473 cat >>conftest.$ac_ext <<_ACEOF
42474 /* end confdefs.h.  */
42475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42476    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42477 #define $ac_func innocuous_$ac_func
42478
42479 /* System header to define __stub macros and hopefully few prototypes,
42480     which can conflict with char $ac_func (); below.
42481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42482     <limits.h> exists even on freestanding compilers.  */
42483
42484 #ifdef __STDC__
42485 # include <limits.h>
42486 #else
42487 # include <assert.h>
42488 #endif
42489
42490 #undef $ac_func
42491
42492 /* Override any gcc2 internal prototype to avoid an error.  */
42493 #ifdef __cplusplus
42494 extern "C"
42495 {
42496 #endif
42497 /* We use char because int might match the return type of a gcc2
42498    builtin and then its argument prototype would still apply.  */
42499 char $ac_func ();
42500 /* The GNU C library defines this for functions which it implements
42501     to always fail with ENOSYS.  Some functions are actually named
42502     something starting with __ and the normal name is an alias.  */
42503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42504 choke me
42505 #else
42506 char (*f) () = $ac_func;
42507 #endif
42508 #ifdef __cplusplus
42509 }
42510 #endif
42511
42512 int
42513 main ()
42514 {
42515 return f != $ac_func;
42516   ;
42517   return 0;
42518 }
42519 _ACEOF
42520 rm -f conftest.$ac_objext conftest$ac_exeext
42521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42522   (eval $ac_link) 2>conftest.er1
42523   ac_status=$?
42524   grep -v '^ *+' conftest.er1 >conftest.err
42525   rm -f conftest.er1
42526   cat conftest.err >&5
42527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528   (exit $ac_status); } &&
42529          { ac_try='test -z "$ac_c_werror_flag"
42530                          || test ! -s conftest.err'
42531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42532   (eval $ac_try) 2>&5
42533   ac_status=$?
42534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535   (exit $ac_status); }; } &&
42536          { ac_try='test -s conftest$ac_exeext'
42537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42538   (eval $ac_try) 2>&5
42539   ac_status=$?
42540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541   (exit $ac_status); }; }; then
42542   eval "$as_ac_var=yes"
42543 else
42544   echo "$as_me: failed program was:" >&5
42545 sed 's/^/| /' conftest.$ac_ext >&5
42546
42547 eval "$as_ac_var=no"
42548 fi
42549 rm -f conftest.err conftest.$ac_objext \
42550       conftest$ac_exeext conftest.$ac_ext
42551 fi
42552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42554 if test `eval echo '${'$as_ac_var'}'` = yes; then
42555   cat >>confdefs.h <<_ACEOF
42556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42557 _ACEOF
42558
42559 fi
42560 done
42561
42562     fi
42563   fi
42564
42565
42566
42567
42568
42569
42570   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42571 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42572   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42573     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42574   echo $ECHO_N "(cached) $ECHO_C" >&6
42575 else
42576
42577
42578
42579       ac_ext=cc
42580 ac_cpp='$CXXCPP $CPPFLAGS'
42581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42584
42585       cat >conftest.$ac_ext <<_ACEOF
42586 /* confdefs.h.  */
42587 _ACEOF
42588 cat confdefs.h >>conftest.$ac_ext
42589 cat >>conftest.$ac_ext <<_ACEOF
42590 /* end confdefs.h.  */
42591 #include <math.h>
42592                       #ifdef HAVE_IEEEFP_H
42593                       #include <ieeefp.h>
42594                       #endif
42595
42596 int
42597 main ()
42598 {
42599  isinfl(0);
42600   ;
42601   return 0;
42602 }
42603 _ACEOF
42604 rm -f conftest.$ac_objext
42605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42606   (eval $ac_compile) 2>conftest.er1
42607   ac_status=$?
42608   grep -v '^ *+' conftest.er1 >conftest.err
42609   rm -f conftest.er1
42610   cat conftest.err >&5
42611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42612   (exit $ac_status); } &&
42613          { ac_try='test -z "$ac_cxx_werror_flag"
42614                          || test ! -s conftest.err'
42615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42616   (eval $ac_try) 2>&5
42617   ac_status=$?
42618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42619   (exit $ac_status); }; } &&
42620          { ac_try='test -s conftest.$ac_objext'
42621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42622   (eval $ac_try) 2>&5
42623   ac_status=$?
42624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625   (exit $ac_status); }; }; then
42626   glibcxx_cv_func_isinfl_use=yes
42627 else
42628   echo "$as_me: failed program was:" >&5
42629 sed 's/^/| /' conftest.$ac_ext >&5
42630
42631 glibcxx_cv_func_isinfl_use=no
42632 fi
42633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42634       ac_ext=c
42635 ac_cpp='$CPP $CPPFLAGS'
42636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42639
42640
42641 fi
42642
42643   fi
42644   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42645 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42646
42647   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42648
42649 for ac_func in isinfl
42650 do
42651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42652 echo "$as_me:$LINENO: checking for $ac_func" >&5
42653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42654 if eval "test \"\${$as_ac_var+set}\" = set"; then
42655   echo $ECHO_N "(cached) $ECHO_C" >&6
42656 else
42657   if test x$gcc_no_link = xyes; then
42658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42660    { (exit 1); exit 1; }; }
42661 fi
42662 cat >conftest.$ac_ext <<_ACEOF
42663 /* confdefs.h.  */
42664 _ACEOF
42665 cat confdefs.h >>conftest.$ac_ext
42666 cat >>conftest.$ac_ext <<_ACEOF
42667 /* end confdefs.h.  */
42668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42670 #define $ac_func innocuous_$ac_func
42671
42672 /* System header to define __stub macros and hopefully few prototypes,
42673     which can conflict with char $ac_func (); below.
42674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42675     <limits.h> exists even on freestanding compilers.  */
42676
42677 #ifdef __STDC__
42678 # include <limits.h>
42679 #else
42680 # include <assert.h>
42681 #endif
42682
42683 #undef $ac_func
42684
42685 /* Override any gcc2 internal prototype to avoid an error.  */
42686 #ifdef __cplusplus
42687 extern "C"
42688 {
42689 #endif
42690 /* We use char because int might match the return type of a gcc2
42691    builtin and then its argument prototype would still apply.  */
42692 char $ac_func ();
42693 /* The GNU C library defines this for functions which it implements
42694     to always fail with ENOSYS.  Some functions are actually named
42695     something starting with __ and the normal name is an alias.  */
42696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42697 choke me
42698 #else
42699 char (*f) () = $ac_func;
42700 #endif
42701 #ifdef __cplusplus
42702 }
42703 #endif
42704
42705 int
42706 main ()
42707 {
42708 return f != $ac_func;
42709   ;
42710   return 0;
42711 }
42712 _ACEOF
42713 rm -f conftest.$ac_objext conftest$ac_exeext
42714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42715   (eval $ac_link) 2>conftest.er1
42716   ac_status=$?
42717   grep -v '^ *+' conftest.er1 >conftest.err
42718   rm -f conftest.er1
42719   cat conftest.err >&5
42720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42721   (exit $ac_status); } &&
42722          { ac_try='test -z "$ac_c_werror_flag"
42723                          || test ! -s conftest.err'
42724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42725   (eval $ac_try) 2>&5
42726   ac_status=$?
42727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42728   (exit $ac_status); }; } &&
42729          { ac_try='test -s conftest$ac_exeext'
42730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42731   (eval $ac_try) 2>&5
42732   ac_status=$?
42733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42734   (exit $ac_status); }; }; then
42735   eval "$as_ac_var=yes"
42736 else
42737   echo "$as_me: failed program was:" >&5
42738 sed 's/^/| /' conftest.$ac_ext >&5
42739
42740 eval "$as_ac_var=no"
42741 fi
42742 rm -f conftest.err conftest.$ac_objext \
42743       conftest$ac_exeext conftest.$ac_ext
42744 fi
42745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42747 if test `eval echo '${'$as_ac_var'}'` = yes; then
42748   cat >>confdefs.h <<_ACEOF
42749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42750 _ACEOF
42751
42752 fi
42753 done
42754
42755   else
42756
42757   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42758 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42759   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42760     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42761   echo $ECHO_N "(cached) $ECHO_C" >&6
42762 else
42763
42764
42765
42766       ac_ext=cc
42767 ac_cpp='$CXXCPP $CPPFLAGS'
42768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42771
42772       cat >conftest.$ac_ext <<_ACEOF
42773 /* confdefs.h.  */
42774 _ACEOF
42775 cat confdefs.h >>conftest.$ac_ext
42776 cat >>conftest.$ac_ext <<_ACEOF
42777 /* end confdefs.h.  */
42778 #include <math.h>
42779                       #ifdef HAVE_IEEEFP_H
42780                       #include <ieeefp.h>
42781                       #endif
42782
42783 int
42784 main ()
42785 {
42786  _isinfl(0);
42787   ;
42788   return 0;
42789 }
42790 _ACEOF
42791 rm -f conftest.$ac_objext
42792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42793   (eval $ac_compile) 2>conftest.er1
42794   ac_status=$?
42795   grep -v '^ *+' conftest.er1 >conftest.err
42796   rm -f conftest.er1
42797   cat conftest.err >&5
42798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799   (exit $ac_status); } &&
42800          { ac_try='test -z "$ac_cxx_werror_flag"
42801                          || test ! -s conftest.err'
42802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42803   (eval $ac_try) 2>&5
42804   ac_status=$?
42805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42806   (exit $ac_status); }; } &&
42807          { ac_try='test -s conftest.$ac_objext'
42808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42809   (eval $ac_try) 2>&5
42810   ac_status=$?
42811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42812   (exit $ac_status); }; }; then
42813   glibcxx_cv_func__isinfl_use=yes
42814 else
42815   echo "$as_me: failed program was:" >&5
42816 sed 's/^/| /' conftest.$ac_ext >&5
42817
42818 glibcxx_cv_func__isinfl_use=no
42819 fi
42820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42821       ac_ext=c
42822 ac_cpp='$CPP $CPPFLAGS'
42823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42826
42827
42828 fi
42829
42830   fi
42831   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42832 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42833
42834     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42835
42836 for ac_func in _isinfl
42837 do
42838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42839 echo "$as_me:$LINENO: checking for $ac_func" >&5
42840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42841 if eval "test \"\${$as_ac_var+set}\" = set"; then
42842   echo $ECHO_N "(cached) $ECHO_C" >&6
42843 else
42844   if test x$gcc_no_link = xyes; then
42845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42847    { (exit 1); exit 1; }; }
42848 fi
42849 cat >conftest.$ac_ext <<_ACEOF
42850 /* confdefs.h.  */
42851 _ACEOF
42852 cat confdefs.h >>conftest.$ac_ext
42853 cat >>conftest.$ac_ext <<_ACEOF
42854 /* end confdefs.h.  */
42855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42856    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42857 #define $ac_func innocuous_$ac_func
42858
42859 /* System header to define __stub macros and hopefully few prototypes,
42860     which can conflict with char $ac_func (); below.
42861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42862     <limits.h> exists even on freestanding compilers.  */
42863
42864 #ifdef __STDC__
42865 # include <limits.h>
42866 #else
42867 # include <assert.h>
42868 #endif
42869
42870 #undef $ac_func
42871
42872 /* Override any gcc2 internal prototype to avoid an error.  */
42873 #ifdef __cplusplus
42874 extern "C"
42875 {
42876 #endif
42877 /* We use char because int might match the return type of a gcc2
42878    builtin and then its argument prototype would still apply.  */
42879 char $ac_func ();
42880 /* The GNU C library defines this for functions which it implements
42881     to always fail with ENOSYS.  Some functions are actually named
42882     something starting with __ and the normal name is an alias.  */
42883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42884 choke me
42885 #else
42886 char (*f) () = $ac_func;
42887 #endif
42888 #ifdef __cplusplus
42889 }
42890 #endif
42891
42892 int
42893 main ()
42894 {
42895 return f != $ac_func;
42896   ;
42897   return 0;
42898 }
42899 _ACEOF
42900 rm -f conftest.$ac_objext conftest$ac_exeext
42901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42902   (eval $ac_link) 2>conftest.er1
42903   ac_status=$?
42904   grep -v '^ *+' conftest.er1 >conftest.err
42905   rm -f conftest.er1
42906   cat conftest.err >&5
42907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42908   (exit $ac_status); } &&
42909          { ac_try='test -z "$ac_c_werror_flag"
42910                          || test ! -s conftest.err'
42911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42912   (eval $ac_try) 2>&5
42913   ac_status=$?
42914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915   (exit $ac_status); }; } &&
42916          { ac_try='test -s conftest$ac_exeext'
42917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42918   (eval $ac_try) 2>&5
42919   ac_status=$?
42920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921   (exit $ac_status); }; }; then
42922   eval "$as_ac_var=yes"
42923 else
42924   echo "$as_me: failed program was:" >&5
42925 sed 's/^/| /' conftest.$ac_ext >&5
42926
42927 eval "$as_ac_var=no"
42928 fi
42929 rm -f conftest.err conftest.$ac_objext \
42930       conftest$ac_exeext conftest.$ac_ext
42931 fi
42932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42934 if test `eval echo '${'$as_ac_var'}'` = yes; then
42935   cat >>confdefs.h <<_ACEOF
42936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42937 _ACEOF
42938
42939 fi
42940 done
42941
42942     fi
42943   fi
42944
42945
42946
42947
42948
42949
42950   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42951 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42952   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42953     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42954   echo $ECHO_N "(cached) $ECHO_C" >&6
42955 else
42956
42957
42958
42959       ac_ext=cc
42960 ac_cpp='$CXXCPP $CPPFLAGS'
42961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42964
42965       cat >conftest.$ac_ext <<_ACEOF
42966 /* confdefs.h.  */
42967 _ACEOF
42968 cat confdefs.h >>conftest.$ac_ext
42969 cat >>conftest.$ac_ext <<_ACEOF
42970 /* end confdefs.h.  */
42971 #include <math.h>
42972 int
42973 main ()
42974 {
42975  copysignl(0, 0);
42976   ;
42977   return 0;
42978 }
42979 _ACEOF
42980 rm -f conftest.$ac_objext
42981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42982   (eval $ac_compile) 2>conftest.er1
42983   ac_status=$?
42984   grep -v '^ *+' conftest.er1 >conftest.err
42985   rm -f conftest.er1
42986   cat conftest.err >&5
42987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42988   (exit $ac_status); } &&
42989          { ac_try='test -z "$ac_cxx_werror_flag"
42990                          || test ! -s conftest.err'
42991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42992   (eval $ac_try) 2>&5
42993   ac_status=$?
42994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995   (exit $ac_status); }; } &&
42996          { ac_try='test -s conftest.$ac_objext'
42997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42998   (eval $ac_try) 2>&5
42999   ac_status=$?
43000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001   (exit $ac_status); }; }; then
43002   glibcxx_cv_func_copysignl_use=yes
43003 else
43004   echo "$as_me: failed program was:" >&5
43005 sed 's/^/| /' conftest.$ac_ext >&5
43006
43007 glibcxx_cv_func_copysignl_use=no
43008 fi
43009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43010       ac_ext=c
43011 ac_cpp='$CPP $CPPFLAGS'
43012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43015
43016
43017 fi
43018
43019   fi
43020   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
43021 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
43022
43023   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
43024
43025 for ac_func in copysignl
43026 do
43027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43028 echo "$as_me:$LINENO: checking for $ac_func" >&5
43029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43030 if eval "test \"\${$as_ac_var+set}\" = set"; then
43031   echo $ECHO_N "(cached) $ECHO_C" >&6
43032 else
43033   if test x$gcc_no_link = xyes; then
43034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43036    { (exit 1); exit 1; }; }
43037 fi
43038 cat >conftest.$ac_ext <<_ACEOF
43039 /* confdefs.h.  */
43040 _ACEOF
43041 cat confdefs.h >>conftest.$ac_ext
43042 cat >>conftest.$ac_ext <<_ACEOF
43043 /* end confdefs.h.  */
43044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43046 #define $ac_func innocuous_$ac_func
43047
43048 /* System header to define __stub macros and hopefully few prototypes,
43049     which can conflict with char $ac_func (); below.
43050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43051     <limits.h> exists even on freestanding compilers.  */
43052
43053 #ifdef __STDC__
43054 # include <limits.h>
43055 #else
43056 # include <assert.h>
43057 #endif
43058
43059 #undef $ac_func
43060
43061 /* Override any gcc2 internal prototype to avoid an error.  */
43062 #ifdef __cplusplus
43063 extern "C"
43064 {
43065 #endif
43066 /* We use char because int might match the return type of a gcc2
43067    builtin and then its argument prototype would still apply.  */
43068 char $ac_func ();
43069 /* The GNU C library defines this for functions which it implements
43070     to always fail with ENOSYS.  Some functions are actually named
43071     something starting with __ and the normal name is an alias.  */
43072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43073 choke me
43074 #else
43075 char (*f) () = $ac_func;
43076 #endif
43077 #ifdef __cplusplus
43078 }
43079 #endif
43080
43081 int
43082 main ()
43083 {
43084 return f != $ac_func;
43085   ;
43086   return 0;
43087 }
43088 _ACEOF
43089 rm -f conftest.$ac_objext conftest$ac_exeext
43090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43091   (eval $ac_link) 2>conftest.er1
43092   ac_status=$?
43093   grep -v '^ *+' conftest.er1 >conftest.err
43094   rm -f conftest.er1
43095   cat conftest.err >&5
43096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43097   (exit $ac_status); } &&
43098          { ac_try='test -z "$ac_c_werror_flag"
43099                          || test ! -s conftest.err'
43100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43101   (eval $ac_try) 2>&5
43102   ac_status=$?
43103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43104   (exit $ac_status); }; } &&
43105          { ac_try='test -s conftest$ac_exeext'
43106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43107   (eval $ac_try) 2>&5
43108   ac_status=$?
43109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43110   (exit $ac_status); }; }; then
43111   eval "$as_ac_var=yes"
43112 else
43113   echo "$as_me: failed program was:" >&5
43114 sed 's/^/| /' conftest.$ac_ext >&5
43115
43116 eval "$as_ac_var=no"
43117 fi
43118 rm -f conftest.err conftest.$ac_objext \
43119       conftest$ac_exeext conftest.$ac_ext
43120 fi
43121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43123 if test `eval echo '${'$as_ac_var'}'` = yes; then
43124   cat >>confdefs.h <<_ACEOF
43125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43126 _ACEOF
43127
43128 fi
43129 done
43130
43131   else
43132
43133   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
43134 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
43135   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
43136     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
43137   echo $ECHO_N "(cached) $ECHO_C" >&6
43138 else
43139
43140
43141
43142       ac_ext=cc
43143 ac_cpp='$CXXCPP $CPPFLAGS'
43144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43147
43148       cat >conftest.$ac_ext <<_ACEOF
43149 /* confdefs.h.  */
43150 _ACEOF
43151 cat confdefs.h >>conftest.$ac_ext
43152 cat >>conftest.$ac_ext <<_ACEOF
43153 /* end confdefs.h.  */
43154 #include <math.h>
43155 int
43156 main ()
43157 {
43158  _copysignl(0, 0);
43159   ;
43160   return 0;
43161 }
43162 _ACEOF
43163 rm -f conftest.$ac_objext
43164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43165   (eval $ac_compile) 2>conftest.er1
43166   ac_status=$?
43167   grep -v '^ *+' conftest.er1 >conftest.err
43168   rm -f conftest.er1
43169   cat conftest.err >&5
43170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171   (exit $ac_status); } &&
43172          { ac_try='test -z "$ac_cxx_werror_flag"
43173                          || test ! -s conftest.err'
43174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43175   (eval $ac_try) 2>&5
43176   ac_status=$?
43177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43178   (exit $ac_status); }; } &&
43179          { ac_try='test -s conftest.$ac_objext'
43180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43181   (eval $ac_try) 2>&5
43182   ac_status=$?
43183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43184   (exit $ac_status); }; }; then
43185   glibcxx_cv_func__copysignl_use=yes
43186 else
43187   echo "$as_me: failed program was:" >&5
43188 sed 's/^/| /' conftest.$ac_ext >&5
43189
43190 glibcxx_cv_func__copysignl_use=no
43191 fi
43192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43193       ac_ext=c
43194 ac_cpp='$CPP $CPPFLAGS'
43195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43198
43199
43200 fi
43201
43202   fi
43203   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43204 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43205
43206     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43207
43208 for ac_func in _copysignl
43209 do
43210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43211 echo "$as_me:$LINENO: checking for $ac_func" >&5
43212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43213 if eval "test \"\${$as_ac_var+set}\" = set"; then
43214   echo $ECHO_N "(cached) $ECHO_C" >&6
43215 else
43216   if test x$gcc_no_link = xyes; then
43217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43219    { (exit 1); exit 1; }; }
43220 fi
43221 cat >conftest.$ac_ext <<_ACEOF
43222 /* confdefs.h.  */
43223 _ACEOF
43224 cat confdefs.h >>conftest.$ac_ext
43225 cat >>conftest.$ac_ext <<_ACEOF
43226 /* end confdefs.h.  */
43227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43229 #define $ac_func innocuous_$ac_func
43230
43231 /* System header to define __stub macros and hopefully few prototypes,
43232     which can conflict with char $ac_func (); below.
43233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43234     <limits.h> exists even on freestanding compilers.  */
43235
43236 #ifdef __STDC__
43237 # include <limits.h>
43238 #else
43239 # include <assert.h>
43240 #endif
43241
43242 #undef $ac_func
43243
43244 /* Override any gcc2 internal prototype to avoid an error.  */
43245 #ifdef __cplusplus
43246 extern "C"
43247 {
43248 #endif
43249 /* We use char because int might match the return type of a gcc2
43250    builtin and then its argument prototype would still apply.  */
43251 char $ac_func ();
43252 /* The GNU C library defines this for functions which it implements
43253     to always fail with ENOSYS.  Some functions are actually named
43254     something starting with __ and the normal name is an alias.  */
43255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43256 choke me
43257 #else
43258 char (*f) () = $ac_func;
43259 #endif
43260 #ifdef __cplusplus
43261 }
43262 #endif
43263
43264 int
43265 main ()
43266 {
43267 return f != $ac_func;
43268   ;
43269   return 0;
43270 }
43271 _ACEOF
43272 rm -f conftest.$ac_objext conftest$ac_exeext
43273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43274   (eval $ac_link) 2>conftest.er1
43275   ac_status=$?
43276   grep -v '^ *+' conftest.er1 >conftest.err
43277   rm -f conftest.er1
43278   cat conftest.err >&5
43279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43280   (exit $ac_status); } &&
43281          { ac_try='test -z "$ac_c_werror_flag"
43282                          || test ! -s conftest.err'
43283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43284   (eval $ac_try) 2>&5
43285   ac_status=$?
43286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43287   (exit $ac_status); }; } &&
43288          { ac_try='test -s conftest$ac_exeext'
43289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43290   (eval $ac_try) 2>&5
43291   ac_status=$?
43292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43293   (exit $ac_status); }; }; then
43294   eval "$as_ac_var=yes"
43295 else
43296   echo "$as_me: failed program was:" >&5
43297 sed 's/^/| /' conftest.$ac_ext >&5
43298
43299 eval "$as_ac_var=no"
43300 fi
43301 rm -f conftest.err conftest.$ac_objext \
43302       conftest$ac_exeext conftest.$ac_ext
43303 fi
43304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43306 if test `eval echo '${'$as_ac_var'}'` = yes; then
43307   cat >>confdefs.h <<_ACEOF
43308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43309 _ACEOF
43310
43311 fi
43312 done
43313
43314     fi
43315   fi
43316
43317
43318
43319
43320
43321
43322   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43323 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43324   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43325     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43326   echo $ECHO_N "(cached) $ECHO_C" >&6
43327 else
43328
43329
43330
43331       ac_ext=cc
43332 ac_cpp='$CXXCPP $CPPFLAGS'
43333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43336
43337       cat >conftest.$ac_ext <<_ACEOF
43338 /* confdefs.h.  */
43339 _ACEOF
43340 cat confdefs.h >>conftest.$ac_ext
43341 cat >>conftest.$ac_ext <<_ACEOF
43342 /* end confdefs.h.  */
43343 #include <math.h>
43344 int
43345 main ()
43346 {
43347  atan2l(0, 0);
43348   ;
43349   return 0;
43350 }
43351 _ACEOF
43352 rm -f conftest.$ac_objext
43353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43354   (eval $ac_compile) 2>conftest.er1
43355   ac_status=$?
43356   grep -v '^ *+' conftest.er1 >conftest.err
43357   rm -f conftest.er1
43358   cat conftest.err >&5
43359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43360   (exit $ac_status); } &&
43361          { ac_try='test -z "$ac_cxx_werror_flag"
43362                          || test ! -s conftest.err'
43363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43364   (eval $ac_try) 2>&5
43365   ac_status=$?
43366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43367   (exit $ac_status); }; } &&
43368          { ac_try='test -s conftest.$ac_objext'
43369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43370   (eval $ac_try) 2>&5
43371   ac_status=$?
43372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43373   (exit $ac_status); }; }; then
43374   glibcxx_cv_func_atan2l_use=yes
43375 else
43376   echo "$as_me: failed program was:" >&5
43377 sed 's/^/| /' conftest.$ac_ext >&5
43378
43379 glibcxx_cv_func_atan2l_use=no
43380 fi
43381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43382       ac_ext=c
43383 ac_cpp='$CPP $CPPFLAGS'
43384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43387
43388
43389 fi
43390
43391   fi
43392   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43393 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43394
43395   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43396
43397 for ac_func in atan2l
43398 do
43399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43400 echo "$as_me:$LINENO: checking for $ac_func" >&5
43401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43402 if eval "test \"\${$as_ac_var+set}\" = set"; then
43403   echo $ECHO_N "(cached) $ECHO_C" >&6
43404 else
43405   if test x$gcc_no_link = xyes; then
43406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43408    { (exit 1); exit 1; }; }
43409 fi
43410 cat >conftest.$ac_ext <<_ACEOF
43411 /* confdefs.h.  */
43412 _ACEOF
43413 cat confdefs.h >>conftest.$ac_ext
43414 cat >>conftest.$ac_ext <<_ACEOF
43415 /* end confdefs.h.  */
43416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43418 #define $ac_func innocuous_$ac_func
43419
43420 /* System header to define __stub macros and hopefully few prototypes,
43421     which can conflict with char $ac_func (); below.
43422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43423     <limits.h> exists even on freestanding compilers.  */
43424
43425 #ifdef __STDC__
43426 # include <limits.h>
43427 #else
43428 # include <assert.h>
43429 #endif
43430
43431 #undef $ac_func
43432
43433 /* Override any gcc2 internal prototype to avoid an error.  */
43434 #ifdef __cplusplus
43435 extern "C"
43436 {
43437 #endif
43438 /* We use char because int might match the return type of a gcc2
43439    builtin and then its argument prototype would still apply.  */
43440 char $ac_func ();
43441 /* The GNU C library defines this for functions which it implements
43442     to always fail with ENOSYS.  Some functions are actually named
43443     something starting with __ and the normal name is an alias.  */
43444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43445 choke me
43446 #else
43447 char (*f) () = $ac_func;
43448 #endif
43449 #ifdef __cplusplus
43450 }
43451 #endif
43452
43453 int
43454 main ()
43455 {
43456 return f != $ac_func;
43457   ;
43458   return 0;
43459 }
43460 _ACEOF
43461 rm -f conftest.$ac_objext conftest$ac_exeext
43462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43463   (eval $ac_link) 2>conftest.er1
43464   ac_status=$?
43465   grep -v '^ *+' conftest.er1 >conftest.err
43466   rm -f conftest.er1
43467   cat conftest.err >&5
43468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43469   (exit $ac_status); } &&
43470          { ac_try='test -z "$ac_c_werror_flag"
43471                          || test ! -s conftest.err'
43472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43473   (eval $ac_try) 2>&5
43474   ac_status=$?
43475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476   (exit $ac_status); }; } &&
43477          { ac_try='test -s conftest$ac_exeext'
43478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43479   (eval $ac_try) 2>&5
43480   ac_status=$?
43481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482   (exit $ac_status); }; }; then
43483   eval "$as_ac_var=yes"
43484 else
43485   echo "$as_me: failed program was:" >&5
43486 sed 's/^/| /' conftest.$ac_ext >&5
43487
43488 eval "$as_ac_var=no"
43489 fi
43490 rm -f conftest.err conftest.$ac_objext \
43491       conftest$ac_exeext conftest.$ac_ext
43492 fi
43493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43495 if test `eval echo '${'$as_ac_var'}'` = yes; then
43496   cat >>confdefs.h <<_ACEOF
43497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43498 _ACEOF
43499
43500 fi
43501 done
43502
43503   else
43504
43505   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43506 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43507   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43508     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43509   echo $ECHO_N "(cached) $ECHO_C" >&6
43510 else
43511
43512
43513
43514       ac_ext=cc
43515 ac_cpp='$CXXCPP $CPPFLAGS'
43516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43519
43520       cat >conftest.$ac_ext <<_ACEOF
43521 /* confdefs.h.  */
43522 _ACEOF
43523 cat confdefs.h >>conftest.$ac_ext
43524 cat >>conftest.$ac_ext <<_ACEOF
43525 /* end confdefs.h.  */
43526 #include <math.h>
43527 int
43528 main ()
43529 {
43530  _atan2l(0, 0);
43531   ;
43532   return 0;
43533 }
43534 _ACEOF
43535 rm -f conftest.$ac_objext
43536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43537   (eval $ac_compile) 2>conftest.er1
43538   ac_status=$?
43539   grep -v '^ *+' conftest.er1 >conftest.err
43540   rm -f conftest.er1
43541   cat conftest.err >&5
43542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543   (exit $ac_status); } &&
43544          { ac_try='test -z "$ac_cxx_werror_flag"
43545                          || test ! -s conftest.err'
43546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43547   (eval $ac_try) 2>&5
43548   ac_status=$?
43549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43550   (exit $ac_status); }; } &&
43551          { ac_try='test -s conftest.$ac_objext'
43552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43553   (eval $ac_try) 2>&5
43554   ac_status=$?
43555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556   (exit $ac_status); }; }; then
43557   glibcxx_cv_func__atan2l_use=yes
43558 else
43559   echo "$as_me: failed program was:" >&5
43560 sed 's/^/| /' conftest.$ac_ext >&5
43561
43562 glibcxx_cv_func__atan2l_use=no
43563 fi
43564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43565       ac_ext=c
43566 ac_cpp='$CPP $CPPFLAGS'
43567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43570
43571
43572 fi
43573
43574   fi
43575   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43576 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43577
43578     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43579
43580 for ac_func in _atan2l
43581 do
43582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43583 echo "$as_me:$LINENO: checking for $ac_func" >&5
43584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43585 if eval "test \"\${$as_ac_var+set}\" = set"; then
43586   echo $ECHO_N "(cached) $ECHO_C" >&6
43587 else
43588   if test x$gcc_no_link = xyes; then
43589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43591    { (exit 1); exit 1; }; }
43592 fi
43593 cat >conftest.$ac_ext <<_ACEOF
43594 /* confdefs.h.  */
43595 _ACEOF
43596 cat confdefs.h >>conftest.$ac_ext
43597 cat >>conftest.$ac_ext <<_ACEOF
43598 /* end confdefs.h.  */
43599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43600    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43601 #define $ac_func innocuous_$ac_func
43602
43603 /* System header to define __stub macros and hopefully few prototypes,
43604     which can conflict with char $ac_func (); below.
43605     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43606     <limits.h> exists even on freestanding compilers.  */
43607
43608 #ifdef __STDC__
43609 # include <limits.h>
43610 #else
43611 # include <assert.h>
43612 #endif
43613
43614 #undef $ac_func
43615
43616 /* Override any gcc2 internal prototype to avoid an error.  */
43617 #ifdef __cplusplus
43618 extern "C"
43619 {
43620 #endif
43621 /* We use char because int might match the return type of a gcc2
43622    builtin and then its argument prototype would still apply.  */
43623 char $ac_func ();
43624 /* The GNU C library defines this for functions which it implements
43625     to always fail with ENOSYS.  Some functions are actually named
43626     something starting with __ and the normal name is an alias.  */
43627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43628 choke me
43629 #else
43630 char (*f) () = $ac_func;
43631 #endif
43632 #ifdef __cplusplus
43633 }
43634 #endif
43635
43636 int
43637 main ()
43638 {
43639 return f != $ac_func;
43640   ;
43641   return 0;
43642 }
43643 _ACEOF
43644 rm -f conftest.$ac_objext conftest$ac_exeext
43645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43646   (eval $ac_link) 2>conftest.er1
43647   ac_status=$?
43648   grep -v '^ *+' conftest.er1 >conftest.err
43649   rm -f conftest.er1
43650   cat conftest.err >&5
43651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43652   (exit $ac_status); } &&
43653          { ac_try='test -z "$ac_c_werror_flag"
43654                          || test ! -s conftest.err'
43655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43656   (eval $ac_try) 2>&5
43657   ac_status=$?
43658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43659   (exit $ac_status); }; } &&
43660          { ac_try='test -s conftest$ac_exeext'
43661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43662   (eval $ac_try) 2>&5
43663   ac_status=$?
43664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43665   (exit $ac_status); }; }; then
43666   eval "$as_ac_var=yes"
43667 else
43668   echo "$as_me: failed program was:" >&5
43669 sed 's/^/| /' conftest.$ac_ext >&5
43670
43671 eval "$as_ac_var=no"
43672 fi
43673 rm -f conftest.err conftest.$ac_objext \
43674       conftest$ac_exeext conftest.$ac_ext
43675 fi
43676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43678 if test `eval echo '${'$as_ac_var'}'` = yes; then
43679   cat >>confdefs.h <<_ACEOF
43680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43681 _ACEOF
43682
43683 fi
43684 done
43685
43686     fi
43687   fi
43688
43689
43690
43691
43692
43693
43694   echo "$as_me:$LINENO: checking for expl declaration" >&5
43695 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43696   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43697     if test "${glibcxx_cv_func_expl_use+set}" = set; then
43698   echo $ECHO_N "(cached) $ECHO_C" >&6
43699 else
43700
43701
43702
43703       ac_ext=cc
43704 ac_cpp='$CXXCPP $CPPFLAGS'
43705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43708
43709       cat >conftest.$ac_ext <<_ACEOF
43710 /* confdefs.h.  */
43711 _ACEOF
43712 cat confdefs.h >>conftest.$ac_ext
43713 cat >>conftest.$ac_ext <<_ACEOF
43714 /* end confdefs.h.  */
43715 #include <math.h>
43716                       #ifdef HAVE_IEEEFP_H
43717                       #include <ieeefp.h>
43718                       #endif
43719
43720 int
43721 main ()
43722 {
43723  expl(0);
43724   ;
43725   return 0;
43726 }
43727 _ACEOF
43728 rm -f conftest.$ac_objext
43729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43730   (eval $ac_compile) 2>conftest.er1
43731   ac_status=$?
43732   grep -v '^ *+' conftest.er1 >conftest.err
43733   rm -f conftest.er1
43734   cat conftest.err >&5
43735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43736   (exit $ac_status); } &&
43737          { ac_try='test -z "$ac_cxx_werror_flag"
43738                          || test ! -s conftest.err'
43739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43740   (eval $ac_try) 2>&5
43741   ac_status=$?
43742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43743   (exit $ac_status); }; } &&
43744          { ac_try='test -s conftest.$ac_objext'
43745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43746   (eval $ac_try) 2>&5
43747   ac_status=$?
43748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43749   (exit $ac_status); }; }; then
43750   glibcxx_cv_func_expl_use=yes
43751 else
43752   echo "$as_me: failed program was:" >&5
43753 sed 's/^/| /' conftest.$ac_ext >&5
43754
43755 glibcxx_cv_func_expl_use=no
43756 fi
43757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43758       ac_ext=c
43759 ac_cpp='$CPP $CPPFLAGS'
43760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43763
43764
43765 fi
43766
43767   fi
43768   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43769 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43770
43771   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43772
43773 for ac_func in expl
43774 do
43775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43776 echo "$as_me:$LINENO: checking for $ac_func" >&5
43777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43778 if eval "test \"\${$as_ac_var+set}\" = set"; then
43779   echo $ECHO_N "(cached) $ECHO_C" >&6
43780 else
43781   if test x$gcc_no_link = xyes; then
43782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43784    { (exit 1); exit 1; }; }
43785 fi
43786 cat >conftest.$ac_ext <<_ACEOF
43787 /* confdefs.h.  */
43788 _ACEOF
43789 cat confdefs.h >>conftest.$ac_ext
43790 cat >>conftest.$ac_ext <<_ACEOF
43791 /* end confdefs.h.  */
43792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43794 #define $ac_func innocuous_$ac_func
43795
43796 /* System header to define __stub macros and hopefully few prototypes,
43797     which can conflict with char $ac_func (); below.
43798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43799     <limits.h> exists even on freestanding compilers.  */
43800
43801 #ifdef __STDC__
43802 # include <limits.h>
43803 #else
43804 # include <assert.h>
43805 #endif
43806
43807 #undef $ac_func
43808
43809 /* Override any gcc2 internal prototype to avoid an error.  */
43810 #ifdef __cplusplus
43811 extern "C"
43812 {
43813 #endif
43814 /* We use char because int might match the return type of a gcc2
43815    builtin and then its argument prototype would still apply.  */
43816 char $ac_func ();
43817 /* The GNU C library defines this for functions which it implements
43818     to always fail with ENOSYS.  Some functions are actually named
43819     something starting with __ and the normal name is an alias.  */
43820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43821 choke me
43822 #else
43823 char (*f) () = $ac_func;
43824 #endif
43825 #ifdef __cplusplus
43826 }
43827 #endif
43828
43829 int
43830 main ()
43831 {
43832 return f != $ac_func;
43833   ;
43834   return 0;
43835 }
43836 _ACEOF
43837 rm -f conftest.$ac_objext conftest$ac_exeext
43838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43839   (eval $ac_link) 2>conftest.er1
43840   ac_status=$?
43841   grep -v '^ *+' conftest.er1 >conftest.err
43842   rm -f conftest.er1
43843   cat conftest.err >&5
43844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845   (exit $ac_status); } &&
43846          { ac_try='test -z "$ac_c_werror_flag"
43847                          || test ! -s conftest.err'
43848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43849   (eval $ac_try) 2>&5
43850   ac_status=$?
43851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43852   (exit $ac_status); }; } &&
43853          { ac_try='test -s conftest$ac_exeext'
43854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43855   (eval $ac_try) 2>&5
43856   ac_status=$?
43857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43858   (exit $ac_status); }; }; then
43859   eval "$as_ac_var=yes"
43860 else
43861   echo "$as_me: failed program was:" >&5
43862 sed 's/^/| /' conftest.$ac_ext >&5
43863
43864 eval "$as_ac_var=no"
43865 fi
43866 rm -f conftest.err conftest.$ac_objext \
43867       conftest$ac_exeext conftest.$ac_ext
43868 fi
43869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43871 if test `eval echo '${'$as_ac_var'}'` = yes; then
43872   cat >>confdefs.h <<_ACEOF
43873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43874 _ACEOF
43875
43876 fi
43877 done
43878
43879   else
43880
43881   echo "$as_me:$LINENO: checking for _expl declaration" >&5
43882 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43883   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43884     if test "${glibcxx_cv_func__expl_use+set}" = set; then
43885   echo $ECHO_N "(cached) $ECHO_C" >&6
43886 else
43887
43888
43889
43890       ac_ext=cc
43891 ac_cpp='$CXXCPP $CPPFLAGS'
43892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43895
43896       cat >conftest.$ac_ext <<_ACEOF
43897 /* confdefs.h.  */
43898 _ACEOF
43899 cat confdefs.h >>conftest.$ac_ext
43900 cat >>conftest.$ac_ext <<_ACEOF
43901 /* end confdefs.h.  */
43902 #include <math.h>
43903                       #ifdef HAVE_IEEEFP_H
43904                       #include <ieeefp.h>
43905                       #endif
43906
43907 int
43908 main ()
43909 {
43910  _expl(0);
43911   ;
43912   return 0;
43913 }
43914 _ACEOF
43915 rm -f conftest.$ac_objext
43916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43917   (eval $ac_compile) 2>conftest.er1
43918   ac_status=$?
43919   grep -v '^ *+' conftest.er1 >conftest.err
43920   rm -f conftest.er1
43921   cat conftest.err >&5
43922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923   (exit $ac_status); } &&
43924          { ac_try='test -z "$ac_cxx_werror_flag"
43925                          || test ! -s conftest.err'
43926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43927   (eval $ac_try) 2>&5
43928   ac_status=$?
43929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43930   (exit $ac_status); }; } &&
43931          { ac_try='test -s conftest.$ac_objext'
43932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43933   (eval $ac_try) 2>&5
43934   ac_status=$?
43935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43936   (exit $ac_status); }; }; then
43937   glibcxx_cv_func__expl_use=yes
43938 else
43939   echo "$as_me: failed program was:" >&5
43940 sed 's/^/| /' conftest.$ac_ext >&5
43941
43942 glibcxx_cv_func__expl_use=no
43943 fi
43944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43945       ac_ext=c
43946 ac_cpp='$CPP $CPPFLAGS'
43947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43950
43951
43952 fi
43953
43954   fi
43955   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43956 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43957
43958     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43959
43960 for ac_func in _expl
43961 do
43962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43963 echo "$as_me:$LINENO: checking for $ac_func" >&5
43964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43965 if eval "test \"\${$as_ac_var+set}\" = set"; then
43966   echo $ECHO_N "(cached) $ECHO_C" >&6
43967 else
43968   if test x$gcc_no_link = xyes; then
43969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43971    { (exit 1); exit 1; }; }
43972 fi
43973 cat >conftest.$ac_ext <<_ACEOF
43974 /* confdefs.h.  */
43975 _ACEOF
43976 cat confdefs.h >>conftest.$ac_ext
43977 cat >>conftest.$ac_ext <<_ACEOF
43978 /* end confdefs.h.  */
43979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43981 #define $ac_func innocuous_$ac_func
43982
43983 /* System header to define __stub macros and hopefully few prototypes,
43984     which can conflict with char $ac_func (); below.
43985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43986     <limits.h> exists even on freestanding compilers.  */
43987
43988 #ifdef __STDC__
43989 # include <limits.h>
43990 #else
43991 # include <assert.h>
43992 #endif
43993
43994 #undef $ac_func
43995
43996 /* Override any gcc2 internal prototype to avoid an error.  */
43997 #ifdef __cplusplus
43998 extern "C"
43999 {
44000 #endif
44001 /* We use char because int might match the return type of a gcc2
44002    builtin and then its argument prototype would still apply.  */
44003 char $ac_func ();
44004 /* The GNU C library defines this for functions which it implements
44005     to always fail with ENOSYS.  Some functions are actually named
44006     something starting with __ and the normal name is an alias.  */
44007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44008 choke me
44009 #else
44010 char (*f) () = $ac_func;
44011 #endif
44012 #ifdef __cplusplus
44013 }
44014 #endif
44015
44016 int
44017 main ()
44018 {
44019 return f != $ac_func;
44020   ;
44021   return 0;
44022 }
44023 _ACEOF
44024 rm -f conftest.$ac_objext conftest$ac_exeext
44025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44026   (eval $ac_link) 2>conftest.er1
44027   ac_status=$?
44028   grep -v '^ *+' conftest.er1 >conftest.err
44029   rm -f conftest.er1
44030   cat conftest.err >&5
44031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44032   (exit $ac_status); } &&
44033          { ac_try='test -z "$ac_c_werror_flag"
44034                          || test ! -s conftest.err'
44035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44036   (eval $ac_try) 2>&5
44037   ac_status=$?
44038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44039   (exit $ac_status); }; } &&
44040          { ac_try='test -s conftest$ac_exeext'
44041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44042   (eval $ac_try) 2>&5
44043   ac_status=$?
44044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44045   (exit $ac_status); }; }; then
44046   eval "$as_ac_var=yes"
44047 else
44048   echo "$as_me: failed program was:" >&5
44049 sed 's/^/| /' conftest.$ac_ext >&5
44050
44051 eval "$as_ac_var=no"
44052 fi
44053 rm -f conftest.err conftest.$ac_objext \
44054       conftest$ac_exeext conftest.$ac_ext
44055 fi
44056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44058 if test `eval echo '${'$as_ac_var'}'` = yes; then
44059   cat >>confdefs.h <<_ACEOF
44060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44061 _ACEOF
44062
44063 fi
44064 done
44065
44066     fi
44067   fi
44068
44069
44070
44071
44072
44073
44074   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
44075 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
44076   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44077     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
44078   echo $ECHO_N "(cached) $ECHO_C" >&6
44079 else
44080
44081
44082
44083       ac_ext=cc
44084 ac_cpp='$CXXCPP $CPPFLAGS'
44085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44088
44089       cat >conftest.$ac_ext <<_ACEOF
44090 /* confdefs.h.  */
44091 _ACEOF
44092 cat confdefs.h >>conftest.$ac_ext
44093 cat >>conftest.$ac_ext <<_ACEOF
44094 /* end confdefs.h.  */
44095 #include <math.h>
44096                       #ifdef HAVE_IEEEFP_H
44097                       #include <ieeefp.h>
44098                       #endif
44099
44100 int
44101 main ()
44102 {
44103  fabsl(0);
44104   ;
44105   return 0;
44106 }
44107 _ACEOF
44108 rm -f conftest.$ac_objext
44109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44110   (eval $ac_compile) 2>conftest.er1
44111   ac_status=$?
44112   grep -v '^ *+' conftest.er1 >conftest.err
44113   rm -f conftest.er1
44114   cat conftest.err >&5
44115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44116   (exit $ac_status); } &&
44117          { ac_try='test -z "$ac_cxx_werror_flag"
44118                          || test ! -s conftest.err'
44119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44120   (eval $ac_try) 2>&5
44121   ac_status=$?
44122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44123   (exit $ac_status); }; } &&
44124          { ac_try='test -s conftest.$ac_objext'
44125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44126   (eval $ac_try) 2>&5
44127   ac_status=$?
44128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129   (exit $ac_status); }; }; then
44130   glibcxx_cv_func_fabsl_use=yes
44131 else
44132   echo "$as_me: failed program was:" >&5
44133 sed 's/^/| /' conftest.$ac_ext >&5
44134
44135 glibcxx_cv_func_fabsl_use=no
44136 fi
44137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44138       ac_ext=c
44139 ac_cpp='$CPP $CPPFLAGS'
44140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44143
44144
44145 fi
44146
44147   fi
44148   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44149 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44150
44151   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44152
44153 for ac_func in fabsl
44154 do
44155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44156 echo "$as_me:$LINENO: checking for $ac_func" >&5
44157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44158 if eval "test \"\${$as_ac_var+set}\" = set"; then
44159   echo $ECHO_N "(cached) $ECHO_C" >&6
44160 else
44161   if test x$gcc_no_link = xyes; then
44162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44164    { (exit 1); exit 1; }; }
44165 fi
44166 cat >conftest.$ac_ext <<_ACEOF
44167 /* confdefs.h.  */
44168 _ACEOF
44169 cat confdefs.h >>conftest.$ac_ext
44170 cat >>conftest.$ac_ext <<_ACEOF
44171 /* end confdefs.h.  */
44172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44174 #define $ac_func innocuous_$ac_func
44175
44176 /* System header to define __stub macros and hopefully few prototypes,
44177     which can conflict with char $ac_func (); below.
44178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44179     <limits.h> exists even on freestanding compilers.  */
44180
44181 #ifdef __STDC__
44182 # include <limits.h>
44183 #else
44184 # include <assert.h>
44185 #endif
44186
44187 #undef $ac_func
44188
44189 /* Override any gcc2 internal prototype to avoid an error.  */
44190 #ifdef __cplusplus
44191 extern "C"
44192 {
44193 #endif
44194 /* We use char because int might match the return type of a gcc2
44195    builtin and then its argument prototype would still apply.  */
44196 char $ac_func ();
44197 /* The GNU C library defines this for functions which it implements
44198     to always fail with ENOSYS.  Some functions are actually named
44199     something starting with __ and the normal name is an alias.  */
44200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44201 choke me
44202 #else
44203 char (*f) () = $ac_func;
44204 #endif
44205 #ifdef __cplusplus
44206 }
44207 #endif
44208
44209 int
44210 main ()
44211 {
44212 return f != $ac_func;
44213   ;
44214   return 0;
44215 }
44216 _ACEOF
44217 rm -f conftest.$ac_objext conftest$ac_exeext
44218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44219   (eval $ac_link) 2>conftest.er1
44220   ac_status=$?
44221   grep -v '^ *+' conftest.er1 >conftest.err
44222   rm -f conftest.er1
44223   cat conftest.err >&5
44224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44225   (exit $ac_status); } &&
44226          { ac_try='test -z "$ac_c_werror_flag"
44227                          || test ! -s conftest.err'
44228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44229   (eval $ac_try) 2>&5
44230   ac_status=$?
44231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44232   (exit $ac_status); }; } &&
44233          { ac_try='test -s conftest$ac_exeext'
44234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44235   (eval $ac_try) 2>&5
44236   ac_status=$?
44237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44238   (exit $ac_status); }; }; then
44239   eval "$as_ac_var=yes"
44240 else
44241   echo "$as_me: failed program was:" >&5
44242 sed 's/^/| /' conftest.$ac_ext >&5
44243
44244 eval "$as_ac_var=no"
44245 fi
44246 rm -f conftest.err conftest.$ac_objext \
44247       conftest$ac_exeext conftest.$ac_ext
44248 fi
44249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44251 if test `eval echo '${'$as_ac_var'}'` = yes; then
44252   cat >>confdefs.h <<_ACEOF
44253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44254 _ACEOF
44255
44256 fi
44257 done
44258
44259   else
44260
44261   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44262 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44263   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44264     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44265   echo $ECHO_N "(cached) $ECHO_C" >&6
44266 else
44267
44268
44269
44270       ac_ext=cc
44271 ac_cpp='$CXXCPP $CPPFLAGS'
44272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44275
44276       cat >conftest.$ac_ext <<_ACEOF
44277 /* confdefs.h.  */
44278 _ACEOF
44279 cat confdefs.h >>conftest.$ac_ext
44280 cat >>conftest.$ac_ext <<_ACEOF
44281 /* end confdefs.h.  */
44282 #include <math.h>
44283                       #ifdef HAVE_IEEEFP_H
44284                       #include <ieeefp.h>
44285                       #endif
44286
44287 int
44288 main ()
44289 {
44290  _fabsl(0);
44291   ;
44292   return 0;
44293 }
44294 _ACEOF
44295 rm -f conftest.$ac_objext
44296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44297   (eval $ac_compile) 2>conftest.er1
44298   ac_status=$?
44299   grep -v '^ *+' conftest.er1 >conftest.err
44300   rm -f conftest.er1
44301   cat conftest.err >&5
44302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44303   (exit $ac_status); } &&
44304          { ac_try='test -z "$ac_cxx_werror_flag"
44305                          || test ! -s conftest.err'
44306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44307   (eval $ac_try) 2>&5
44308   ac_status=$?
44309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310   (exit $ac_status); }; } &&
44311          { ac_try='test -s conftest.$ac_objext'
44312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44313   (eval $ac_try) 2>&5
44314   ac_status=$?
44315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44316   (exit $ac_status); }; }; then
44317   glibcxx_cv_func__fabsl_use=yes
44318 else
44319   echo "$as_me: failed program was:" >&5
44320 sed 's/^/| /' conftest.$ac_ext >&5
44321
44322 glibcxx_cv_func__fabsl_use=no
44323 fi
44324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44325       ac_ext=c
44326 ac_cpp='$CPP $CPPFLAGS'
44327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44330
44331
44332 fi
44333
44334   fi
44335   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44336 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44337
44338     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44339
44340 for ac_func in _fabsl
44341 do
44342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44343 echo "$as_me:$LINENO: checking for $ac_func" >&5
44344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44345 if eval "test \"\${$as_ac_var+set}\" = set"; then
44346   echo $ECHO_N "(cached) $ECHO_C" >&6
44347 else
44348   if test x$gcc_no_link = xyes; then
44349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44351    { (exit 1); exit 1; }; }
44352 fi
44353 cat >conftest.$ac_ext <<_ACEOF
44354 /* confdefs.h.  */
44355 _ACEOF
44356 cat confdefs.h >>conftest.$ac_ext
44357 cat >>conftest.$ac_ext <<_ACEOF
44358 /* end confdefs.h.  */
44359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44360    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44361 #define $ac_func innocuous_$ac_func
44362
44363 /* System header to define __stub macros and hopefully few prototypes,
44364     which can conflict with char $ac_func (); below.
44365     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44366     <limits.h> exists even on freestanding compilers.  */
44367
44368 #ifdef __STDC__
44369 # include <limits.h>
44370 #else
44371 # include <assert.h>
44372 #endif
44373
44374 #undef $ac_func
44375
44376 /* Override any gcc2 internal prototype to avoid an error.  */
44377 #ifdef __cplusplus
44378 extern "C"
44379 {
44380 #endif
44381 /* We use char because int might match the return type of a gcc2
44382    builtin and then its argument prototype would still apply.  */
44383 char $ac_func ();
44384 /* The GNU C library defines this for functions which it implements
44385     to always fail with ENOSYS.  Some functions are actually named
44386     something starting with __ and the normal name is an alias.  */
44387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44388 choke me
44389 #else
44390 char (*f) () = $ac_func;
44391 #endif
44392 #ifdef __cplusplus
44393 }
44394 #endif
44395
44396 int
44397 main ()
44398 {
44399 return f != $ac_func;
44400   ;
44401   return 0;
44402 }
44403 _ACEOF
44404 rm -f conftest.$ac_objext conftest$ac_exeext
44405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44406   (eval $ac_link) 2>conftest.er1
44407   ac_status=$?
44408   grep -v '^ *+' conftest.er1 >conftest.err
44409   rm -f conftest.er1
44410   cat conftest.err >&5
44411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44412   (exit $ac_status); } &&
44413          { ac_try='test -z "$ac_c_werror_flag"
44414                          || test ! -s conftest.err'
44415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44416   (eval $ac_try) 2>&5
44417   ac_status=$?
44418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419   (exit $ac_status); }; } &&
44420          { ac_try='test -s conftest$ac_exeext'
44421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44422   (eval $ac_try) 2>&5
44423   ac_status=$?
44424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44425   (exit $ac_status); }; }; then
44426   eval "$as_ac_var=yes"
44427 else
44428   echo "$as_me: failed program was:" >&5
44429 sed 's/^/| /' conftest.$ac_ext >&5
44430
44431 eval "$as_ac_var=no"
44432 fi
44433 rm -f conftest.err conftest.$ac_objext \
44434       conftest$ac_exeext conftest.$ac_ext
44435 fi
44436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44438 if test `eval echo '${'$as_ac_var'}'` = yes; then
44439   cat >>confdefs.h <<_ACEOF
44440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44441 _ACEOF
44442
44443 fi
44444 done
44445
44446     fi
44447   fi
44448
44449
44450
44451
44452
44453
44454   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44455 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44456   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44457     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44458   echo $ECHO_N "(cached) $ECHO_C" >&6
44459 else
44460
44461
44462
44463       ac_ext=cc
44464 ac_cpp='$CXXCPP $CPPFLAGS'
44465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44468
44469       cat >conftest.$ac_ext <<_ACEOF
44470 /* confdefs.h.  */
44471 _ACEOF
44472 cat confdefs.h >>conftest.$ac_ext
44473 cat >>conftest.$ac_ext <<_ACEOF
44474 /* end confdefs.h.  */
44475 #include <math.h>
44476 int
44477 main ()
44478 {
44479  fmodl(0, 0);
44480   ;
44481   return 0;
44482 }
44483 _ACEOF
44484 rm -f conftest.$ac_objext
44485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44486   (eval $ac_compile) 2>conftest.er1
44487   ac_status=$?
44488   grep -v '^ *+' conftest.er1 >conftest.err
44489   rm -f conftest.er1
44490   cat conftest.err >&5
44491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44492   (exit $ac_status); } &&
44493          { ac_try='test -z "$ac_cxx_werror_flag"
44494                          || test ! -s conftest.err'
44495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44496   (eval $ac_try) 2>&5
44497   ac_status=$?
44498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44499   (exit $ac_status); }; } &&
44500          { ac_try='test -s conftest.$ac_objext'
44501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44502   (eval $ac_try) 2>&5
44503   ac_status=$?
44504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44505   (exit $ac_status); }; }; then
44506   glibcxx_cv_func_fmodl_use=yes
44507 else
44508   echo "$as_me: failed program was:" >&5
44509 sed 's/^/| /' conftest.$ac_ext >&5
44510
44511 glibcxx_cv_func_fmodl_use=no
44512 fi
44513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44514       ac_ext=c
44515 ac_cpp='$CPP $CPPFLAGS'
44516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44519
44520
44521 fi
44522
44523   fi
44524   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44525 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44526
44527   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44528
44529 for ac_func in fmodl
44530 do
44531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44532 echo "$as_me:$LINENO: checking for $ac_func" >&5
44533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44534 if eval "test \"\${$as_ac_var+set}\" = set"; then
44535   echo $ECHO_N "(cached) $ECHO_C" >&6
44536 else
44537   if test x$gcc_no_link = xyes; then
44538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44540    { (exit 1); exit 1; }; }
44541 fi
44542 cat >conftest.$ac_ext <<_ACEOF
44543 /* confdefs.h.  */
44544 _ACEOF
44545 cat confdefs.h >>conftest.$ac_ext
44546 cat >>conftest.$ac_ext <<_ACEOF
44547 /* end confdefs.h.  */
44548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44549    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44550 #define $ac_func innocuous_$ac_func
44551
44552 /* System header to define __stub macros and hopefully few prototypes,
44553     which can conflict with char $ac_func (); below.
44554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44555     <limits.h> exists even on freestanding compilers.  */
44556
44557 #ifdef __STDC__
44558 # include <limits.h>
44559 #else
44560 # include <assert.h>
44561 #endif
44562
44563 #undef $ac_func
44564
44565 /* Override any gcc2 internal prototype to avoid an error.  */
44566 #ifdef __cplusplus
44567 extern "C"
44568 {
44569 #endif
44570 /* We use char because int might match the return type of a gcc2
44571    builtin and then its argument prototype would still apply.  */
44572 char $ac_func ();
44573 /* The GNU C library defines this for functions which it implements
44574     to always fail with ENOSYS.  Some functions are actually named
44575     something starting with __ and the normal name is an alias.  */
44576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44577 choke me
44578 #else
44579 char (*f) () = $ac_func;
44580 #endif
44581 #ifdef __cplusplus
44582 }
44583 #endif
44584
44585 int
44586 main ()
44587 {
44588 return f != $ac_func;
44589   ;
44590   return 0;
44591 }
44592 _ACEOF
44593 rm -f conftest.$ac_objext conftest$ac_exeext
44594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44595   (eval $ac_link) 2>conftest.er1
44596   ac_status=$?
44597   grep -v '^ *+' conftest.er1 >conftest.err
44598   rm -f conftest.er1
44599   cat conftest.err >&5
44600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44601   (exit $ac_status); } &&
44602          { ac_try='test -z "$ac_c_werror_flag"
44603                          || test ! -s conftest.err'
44604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44605   (eval $ac_try) 2>&5
44606   ac_status=$?
44607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44608   (exit $ac_status); }; } &&
44609          { ac_try='test -s conftest$ac_exeext'
44610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44611   (eval $ac_try) 2>&5
44612   ac_status=$?
44613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614   (exit $ac_status); }; }; then
44615   eval "$as_ac_var=yes"
44616 else
44617   echo "$as_me: failed program was:" >&5
44618 sed 's/^/| /' conftest.$ac_ext >&5
44619
44620 eval "$as_ac_var=no"
44621 fi
44622 rm -f conftest.err conftest.$ac_objext \
44623       conftest$ac_exeext conftest.$ac_ext
44624 fi
44625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44627 if test `eval echo '${'$as_ac_var'}'` = yes; then
44628   cat >>confdefs.h <<_ACEOF
44629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44630 _ACEOF
44631
44632 fi
44633 done
44634
44635   else
44636
44637   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44638 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44639   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44640     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44641   echo $ECHO_N "(cached) $ECHO_C" >&6
44642 else
44643
44644
44645
44646       ac_ext=cc
44647 ac_cpp='$CXXCPP $CPPFLAGS'
44648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44651
44652       cat >conftest.$ac_ext <<_ACEOF
44653 /* confdefs.h.  */
44654 _ACEOF
44655 cat confdefs.h >>conftest.$ac_ext
44656 cat >>conftest.$ac_ext <<_ACEOF
44657 /* end confdefs.h.  */
44658 #include <math.h>
44659 int
44660 main ()
44661 {
44662  _fmodl(0, 0);
44663   ;
44664   return 0;
44665 }
44666 _ACEOF
44667 rm -f conftest.$ac_objext
44668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44669   (eval $ac_compile) 2>conftest.er1
44670   ac_status=$?
44671   grep -v '^ *+' conftest.er1 >conftest.err
44672   rm -f conftest.er1
44673   cat conftest.err >&5
44674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44675   (exit $ac_status); } &&
44676          { ac_try='test -z "$ac_cxx_werror_flag"
44677                          || test ! -s conftest.err'
44678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44679   (eval $ac_try) 2>&5
44680   ac_status=$?
44681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44682   (exit $ac_status); }; } &&
44683          { ac_try='test -s conftest.$ac_objext'
44684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44685   (eval $ac_try) 2>&5
44686   ac_status=$?
44687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688   (exit $ac_status); }; }; then
44689   glibcxx_cv_func__fmodl_use=yes
44690 else
44691   echo "$as_me: failed program was:" >&5
44692 sed 's/^/| /' conftest.$ac_ext >&5
44693
44694 glibcxx_cv_func__fmodl_use=no
44695 fi
44696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44697       ac_ext=c
44698 ac_cpp='$CPP $CPPFLAGS'
44699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44702
44703
44704 fi
44705
44706   fi
44707   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44708 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44709
44710     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44711
44712 for ac_func in _fmodl
44713 do
44714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44715 echo "$as_me:$LINENO: checking for $ac_func" >&5
44716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44717 if eval "test \"\${$as_ac_var+set}\" = set"; then
44718   echo $ECHO_N "(cached) $ECHO_C" >&6
44719 else
44720   if test x$gcc_no_link = xyes; then
44721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44723    { (exit 1); exit 1; }; }
44724 fi
44725 cat >conftest.$ac_ext <<_ACEOF
44726 /* confdefs.h.  */
44727 _ACEOF
44728 cat confdefs.h >>conftest.$ac_ext
44729 cat >>conftest.$ac_ext <<_ACEOF
44730 /* end confdefs.h.  */
44731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44733 #define $ac_func innocuous_$ac_func
44734
44735 /* System header to define __stub macros and hopefully few prototypes,
44736     which can conflict with char $ac_func (); below.
44737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44738     <limits.h> exists even on freestanding compilers.  */
44739
44740 #ifdef __STDC__
44741 # include <limits.h>
44742 #else
44743 # include <assert.h>
44744 #endif
44745
44746 #undef $ac_func
44747
44748 /* Override any gcc2 internal prototype to avoid an error.  */
44749 #ifdef __cplusplus
44750 extern "C"
44751 {
44752 #endif
44753 /* We use char because int might match the return type of a gcc2
44754    builtin and then its argument prototype would still apply.  */
44755 char $ac_func ();
44756 /* The GNU C library defines this for functions which it implements
44757     to always fail with ENOSYS.  Some functions are actually named
44758     something starting with __ and the normal name is an alias.  */
44759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44760 choke me
44761 #else
44762 char (*f) () = $ac_func;
44763 #endif
44764 #ifdef __cplusplus
44765 }
44766 #endif
44767
44768 int
44769 main ()
44770 {
44771 return f != $ac_func;
44772   ;
44773   return 0;
44774 }
44775 _ACEOF
44776 rm -f conftest.$ac_objext conftest$ac_exeext
44777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44778   (eval $ac_link) 2>conftest.er1
44779   ac_status=$?
44780   grep -v '^ *+' conftest.er1 >conftest.err
44781   rm -f conftest.er1
44782   cat conftest.err >&5
44783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44784   (exit $ac_status); } &&
44785          { ac_try='test -z "$ac_c_werror_flag"
44786                          || test ! -s conftest.err'
44787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44788   (eval $ac_try) 2>&5
44789   ac_status=$?
44790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44791   (exit $ac_status); }; } &&
44792          { ac_try='test -s conftest$ac_exeext'
44793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44794   (eval $ac_try) 2>&5
44795   ac_status=$?
44796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797   (exit $ac_status); }; }; then
44798   eval "$as_ac_var=yes"
44799 else
44800   echo "$as_me: failed program was:" >&5
44801 sed 's/^/| /' conftest.$ac_ext >&5
44802
44803 eval "$as_ac_var=no"
44804 fi
44805 rm -f conftest.err conftest.$ac_objext \
44806       conftest$ac_exeext conftest.$ac_ext
44807 fi
44808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44810 if test `eval echo '${'$as_ac_var'}'` = yes; then
44811   cat >>confdefs.h <<_ACEOF
44812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44813 _ACEOF
44814
44815 fi
44816 done
44817
44818     fi
44819   fi
44820
44821
44822
44823
44824
44825
44826   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44827 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44828   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44829     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44830   echo $ECHO_N "(cached) $ECHO_C" >&6
44831 else
44832
44833
44834
44835       ac_ext=cc
44836 ac_cpp='$CXXCPP $CPPFLAGS'
44837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44840
44841       cat >conftest.$ac_ext <<_ACEOF
44842 /* confdefs.h.  */
44843 _ACEOF
44844 cat confdefs.h >>conftest.$ac_ext
44845 cat >>conftest.$ac_ext <<_ACEOF
44846 /* end confdefs.h.  */
44847 #include <math.h>
44848 int
44849 main ()
44850 {
44851  frexpl(0, 0);
44852   ;
44853   return 0;
44854 }
44855 _ACEOF
44856 rm -f conftest.$ac_objext
44857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44858   (eval $ac_compile) 2>conftest.er1
44859   ac_status=$?
44860   grep -v '^ *+' conftest.er1 >conftest.err
44861   rm -f conftest.er1
44862   cat conftest.err >&5
44863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44864   (exit $ac_status); } &&
44865          { ac_try='test -z "$ac_cxx_werror_flag"
44866                          || test ! -s conftest.err'
44867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44868   (eval $ac_try) 2>&5
44869   ac_status=$?
44870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871   (exit $ac_status); }; } &&
44872          { ac_try='test -s conftest.$ac_objext'
44873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874   (eval $ac_try) 2>&5
44875   ac_status=$?
44876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877   (exit $ac_status); }; }; then
44878   glibcxx_cv_func_frexpl_use=yes
44879 else
44880   echo "$as_me: failed program was:" >&5
44881 sed 's/^/| /' conftest.$ac_ext >&5
44882
44883 glibcxx_cv_func_frexpl_use=no
44884 fi
44885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44886       ac_ext=c
44887 ac_cpp='$CPP $CPPFLAGS'
44888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44891
44892
44893 fi
44894
44895   fi
44896   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44897 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44898
44899   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44900
44901 for ac_func in frexpl
44902 do
44903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44904 echo "$as_me:$LINENO: checking for $ac_func" >&5
44905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44906 if eval "test \"\${$as_ac_var+set}\" = set"; then
44907   echo $ECHO_N "(cached) $ECHO_C" >&6
44908 else
44909   if test x$gcc_no_link = xyes; then
44910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44912    { (exit 1); exit 1; }; }
44913 fi
44914 cat >conftest.$ac_ext <<_ACEOF
44915 /* confdefs.h.  */
44916 _ACEOF
44917 cat confdefs.h >>conftest.$ac_ext
44918 cat >>conftest.$ac_ext <<_ACEOF
44919 /* end confdefs.h.  */
44920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44922 #define $ac_func innocuous_$ac_func
44923
44924 /* System header to define __stub macros and hopefully few prototypes,
44925     which can conflict with char $ac_func (); below.
44926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44927     <limits.h> exists even on freestanding compilers.  */
44928
44929 #ifdef __STDC__
44930 # include <limits.h>
44931 #else
44932 # include <assert.h>
44933 #endif
44934
44935 #undef $ac_func
44936
44937 /* Override any gcc2 internal prototype to avoid an error.  */
44938 #ifdef __cplusplus
44939 extern "C"
44940 {
44941 #endif
44942 /* We use char because int might match the return type of a gcc2
44943    builtin and then its argument prototype would still apply.  */
44944 char $ac_func ();
44945 /* The GNU C library defines this for functions which it implements
44946     to always fail with ENOSYS.  Some functions are actually named
44947     something starting with __ and the normal name is an alias.  */
44948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44949 choke me
44950 #else
44951 char (*f) () = $ac_func;
44952 #endif
44953 #ifdef __cplusplus
44954 }
44955 #endif
44956
44957 int
44958 main ()
44959 {
44960 return f != $ac_func;
44961   ;
44962   return 0;
44963 }
44964 _ACEOF
44965 rm -f conftest.$ac_objext conftest$ac_exeext
44966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44967   (eval $ac_link) 2>conftest.er1
44968   ac_status=$?
44969   grep -v '^ *+' conftest.er1 >conftest.err
44970   rm -f conftest.er1
44971   cat conftest.err >&5
44972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44973   (exit $ac_status); } &&
44974          { ac_try='test -z "$ac_c_werror_flag"
44975                          || test ! -s conftest.err'
44976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44977   (eval $ac_try) 2>&5
44978   ac_status=$?
44979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44980   (exit $ac_status); }; } &&
44981          { ac_try='test -s conftest$ac_exeext'
44982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44983   (eval $ac_try) 2>&5
44984   ac_status=$?
44985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44986   (exit $ac_status); }; }; then
44987   eval "$as_ac_var=yes"
44988 else
44989   echo "$as_me: failed program was:" >&5
44990 sed 's/^/| /' conftest.$ac_ext >&5
44991
44992 eval "$as_ac_var=no"
44993 fi
44994 rm -f conftest.err conftest.$ac_objext \
44995       conftest$ac_exeext conftest.$ac_ext
44996 fi
44997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44999 if test `eval echo '${'$as_ac_var'}'` = yes; then
45000   cat >>confdefs.h <<_ACEOF
45001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45002 _ACEOF
45003
45004 fi
45005 done
45006
45007   else
45008
45009   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
45010 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
45011   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45012     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
45013   echo $ECHO_N "(cached) $ECHO_C" >&6
45014 else
45015
45016
45017
45018       ac_ext=cc
45019 ac_cpp='$CXXCPP $CPPFLAGS'
45020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45023
45024       cat >conftest.$ac_ext <<_ACEOF
45025 /* confdefs.h.  */
45026 _ACEOF
45027 cat confdefs.h >>conftest.$ac_ext
45028 cat >>conftest.$ac_ext <<_ACEOF
45029 /* end confdefs.h.  */
45030 #include <math.h>
45031 int
45032 main ()
45033 {
45034  _frexpl(0, 0);
45035   ;
45036   return 0;
45037 }
45038 _ACEOF
45039 rm -f conftest.$ac_objext
45040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45041   (eval $ac_compile) 2>conftest.er1
45042   ac_status=$?
45043   grep -v '^ *+' conftest.er1 >conftest.err
45044   rm -f conftest.er1
45045   cat conftest.err >&5
45046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45047   (exit $ac_status); } &&
45048          { ac_try='test -z "$ac_cxx_werror_flag"
45049                          || test ! -s conftest.err'
45050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45051   (eval $ac_try) 2>&5
45052   ac_status=$?
45053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054   (exit $ac_status); }; } &&
45055          { ac_try='test -s conftest.$ac_objext'
45056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45057   (eval $ac_try) 2>&5
45058   ac_status=$?
45059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45060   (exit $ac_status); }; }; then
45061   glibcxx_cv_func__frexpl_use=yes
45062 else
45063   echo "$as_me: failed program was:" >&5
45064 sed 's/^/| /' conftest.$ac_ext >&5
45065
45066 glibcxx_cv_func__frexpl_use=no
45067 fi
45068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45069       ac_ext=c
45070 ac_cpp='$CPP $CPPFLAGS'
45071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45074
45075
45076 fi
45077
45078   fi
45079   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
45080 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
45081
45082     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45083
45084 for ac_func in _frexpl
45085 do
45086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45087 echo "$as_me:$LINENO: checking for $ac_func" >&5
45088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45089 if eval "test \"\${$as_ac_var+set}\" = set"; then
45090   echo $ECHO_N "(cached) $ECHO_C" >&6
45091 else
45092   if test x$gcc_no_link = xyes; then
45093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45095    { (exit 1); exit 1; }; }
45096 fi
45097 cat >conftest.$ac_ext <<_ACEOF
45098 /* confdefs.h.  */
45099 _ACEOF
45100 cat confdefs.h >>conftest.$ac_ext
45101 cat >>conftest.$ac_ext <<_ACEOF
45102 /* end confdefs.h.  */
45103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45104    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45105 #define $ac_func innocuous_$ac_func
45106
45107 /* System header to define __stub macros and hopefully few prototypes,
45108     which can conflict with char $ac_func (); below.
45109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45110     <limits.h> exists even on freestanding compilers.  */
45111
45112 #ifdef __STDC__
45113 # include <limits.h>
45114 #else
45115 # include <assert.h>
45116 #endif
45117
45118 #undef $ac_func
45119
45120 /* Override any gcc2 internal prototype to avoid an error.  */
45121 #ifdef __cplusplus
45122 extern "C"
45123 {
45124 #endif
45125 /* We use char because int might match the return type of a gcc2
45126    builtin and then its argument prototype would still apply.  */
45127 char $ac_func ();
45128 /* The GNU C library defines this for functions which it implements
45129     to always fail with ENOSYS.  Some functions are actually named
45130     something starting with __ and the normal name is an alias.  */
45131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45132 choke me
45133 #else
45134 char (*f) () = $ac_func;
45135 #endif
45136 #ifdef __cplusplus
45137 }
45138 #endif
45139
45140 int
45141 main ()
45142 {
45143 return f != $ac_func;
45144   ;
45145   return 0;
45146 }
45147 _ACEOF
45148 rm -f conftest.$ac_objext conftest$ac_exeext
45149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45150   (eval $ac_link) 2>conftest.er1
45151   ac_status=$?
45152   grep -v '^ *+' conftest.er1 >conftest.err
45153   rm -f conftest.er1
45154   cat conftest.err >&5
45155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156   (exit $ac_status); } &&
45157          { ac_try='test -z "$ac_c_werror_flag"
45158                          || test ! -s conftest.err'
45159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45160   (eval $ac_try) 2>&5
45161   ac_status=$?
45162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45163   (exit $ac_status); }; } &&
45164          { ac_try='test -s conftest$ac_exeext'
45165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45166   (eval $ac_try) 2>&5
45167   ac_status=$?
45168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45169   (exit $ac_status); }; }; then
45170   eval "$as_ac_var=yes"
45171 else
45172   echo "$as_me: failed program was:" >&5
45173 sed 's/^/| /' conftest.$ac_ext >&5
45174
45175 eval "$as_ac_var=no"
45176 fi
45177 rm -f conftest.err conftest.$ac_objext \
45178       conftest$ac_exeext conftest.$ac_ext
45179 fi
45180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45182 if test `eval echo '${'$as_ac_var'}'` = yes; then
45183   cat >>confdefs.h <<_ACEOF
45184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45185 _ACEOF
45186
45187 fi
45188 done
45189
45190     fi
45191   fi
45192
45193
45194
45195
45196
45197
45198   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45199 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45200   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45201     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45202   echo $ECHO_N "(cached) $ECHO_C" >&6
45203 else
45204
45205
45206
45207       ac_ext=cc
45208 ac_cpp='$CXXCPP $CPPFLAGS'
45209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45212
45213       cat >conftest.$ac_ext <<_ACEOF
45214 /* confdefs.h.  */
45215 _ACEOF
45216 cat confdefs.h >>conftest.$ac_ext
45217 cat >>conftest.$ac_ext <<_ACEOF
45218 /* end confdefs.h.  */
45219 #include <math.h>
45220 int
45221 main ()
45222 {
45223  hypotl(0, 0);
45224   ;
45225   return 0;
45226 }
45227 _ACEOF
45228 rm -f conftest.$ac_objext
45229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45230   (eval $ac_compile) 2>conftest.er1
45231   ac_status=$?
45232   grep -v '^ *+' conftest.er1 >conftest.err
45233   rm -f conftest.er1
45234   cat conftest.err >&5
45235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236   (exit $ac_status); } &&
45237          { ac_try='test -z "$ac_cxx_werror_flag"
45238                          || test ! -s conftest.err'
45239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45240   (eval $ac_try) 2>&5
45241   ac_status=$?
45242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45243   (exit $ac_status); }; } &&
45244          { ac_try='test -s conftest.$ac_objext'
45245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45246   (eval $ac_try) 2>&5
45247   ac_status=$?
45248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249   (exit $ac_status); }; }; then
45250   glibcxx_cv_func_hypotl_use=yes
45251 else
45252   echo "$as_me: failed program was:" >&5
45253 sed 's/^/| /' conftest.$ac_ext >&5
45254
45255 glibcxx_cv_func_hypotl_use=no
45256 fi
45257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45258       ac_ext=c
45259 ac_cpp='$CPP $CPPFLAGS'
45260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45263
45264
45265 fi
45266
45267   fi
45268   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45269 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45270
45271   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45272
45273 for ac_func in hypotl
45274 do
45275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45276 echo "$as_me:$LINENO: checking for $ac_func" >&5
45277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45278 if eval "test \"\${$as_ac_var+set}\" = set"; then
45279   echo $ECHO_N "(cached) $ECHO_C" >&6
45280 else
45281   if test x$gcc_no_link = xyes; then
45282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45284    { (exit 1); exit 1; }; }
45285 fi
45286 cat >conftest.$ac_ext <<_ACEOF
45287 /* confdefs.h.  */
45288 _ACEOF
45289 cat confdefs.h >>conftest.$ac_ext
45290 cat >>conftest.$ac_ext <<_ACEOF
45291 /* end confdefs.h.  */
45292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45294 #define $ac_func innocuous_$ac_func
45295
45296 /* System header to define __stub macros and hopefully few prototypes,
45297     which can conflict with char $ac_func (); below.
45298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45299     <limits.h> exists even on freestanding compilers.  */
45300
45301 #ifdef __STDC__
45302 # include <limits.h>
45303 #else
45304 # include <assert.h>
45305 #endif
45306
45307 #undef $ac_func
45308
45309 /* Override any gcc2 internal prototype to avoid an error.  */
45310 #ifdef __cplusplus
45311 extern "C"
45312 {
45313 #endif
45314 /* We use char because int might match the return type of a gcc2
45315    builtin and then its argument prototype would still apply.  */
45316 char $ac_func ();
45317 /* The GNU C library defines this for functions which it implements
45318     to always fail with ENOSYS.  Some functions are actually named
45319     something starting with __ and the normal name is an alias.  */
45320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45321 choke me
45322 #else
45323 char (*f) () = $ac_func;
45324 #endif
45325 #ifdef __cplusplus
45326 }
45327 #endif
45328
45329 int
45330 main ()
45331 {
45332 return f != $ac_func;
45333   ;
45334   return 0;
45335 }
45336 _ACEOF
45337 rm -f conftest.$ac_objext conftest$ac_exeext
45338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45339   (eval $ac_link) 2>conftest.er1
45340   ac_status=$?
45341   grep -v '^ *+' conftest.er1 >conftest.err
45342   rm -f conftest.er1
45343   cat conftest.err >&5
45344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345   (exit $ac_status); } &&
45346          { ac_try='test -z "$ac_c_werror_flag"
45347                          || test ! -s conftest.err'
45348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45349   (eval $ac_try) 2>&5
45350   ac_status=$?
45351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45352   (exit $ac_status); }; } &&
45353          { ac_try='test -s conftest$ac_exeext'
45354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45355   (eval $ac_try) 2>&5
45356   ac_status=$?
45357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45358   (exit $ac_status); }; }; then
45359   eval "$as_ac_var=yes"
45360 else
45361   echo "$as_me: failed program was:" >&5
45362 sed 's/^/| /' conftest.$ac_ext >&5
45363
45364 eval "$as_ac_var=no"
45365 fi
45366 rm -f conftest.err conftest.$ac_objext \
45367       conftest$ac_exeext conftest.$ac_ext
45368 fi
45369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45371 if test `eval echo '${'$as_ac_var'}'` = yes; then
45372   cat >>confdefs.h <<_ACEOF
45373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45374 _ACEOF
45375
45376 fi
45377 done
45378
45379   else
45380
45381   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45382 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45383   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45384     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45385   echo $ECHO_N "(cached) $ECHO_C" >&6
45386 else
45387
45388
45389
45390       ac_ext=cc
45391 ac_cpp='$CXXCPP $CPPFLAGS'
45392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45395
45396       cat >conftest.$ac_ext <<_ACEOF
45397 /* confdefs.h.  */
45398 _ACEOF
45399 cat confdefs.h >>conftest.$ac_ext
45400 cat >>conftest.$ac_ext <<_ACEOF
45401 /* end confdefs.h.  */
45402 #include <math.h>
45403 int
45404 main ()
45405 {
45406  _hypotl(0, 0);
45407   ;
45408   return 0;
45409 }
45410 _ACEOF
45411 rm -f conftest.$ac_objext
45412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45413   (eval $ac_compile) 2>conftest.er1
45414   ac_status=$?
45415   grep -v '^ *+' conftest.er1 >conftest.err
45416   rm -f conftest.er1
45417   cat conftest.err >&5
45418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45419   (exit $ac_status); } &&
45420          { ac_try='test -z "$ac_cxx_werror_flag"
45421                          || test ! -s conftest.err'
45422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45423   (eval $ac_try) 2>&5
45424   ac_status=$?
45425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45426   (exit $ac_status); }; } &&
45427          { ac_try='test -s conftest.$ac_objext'
45428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45429   (eval $ac_try) 2>&5
45430   ac_status=$?
45431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45432   (exit $ac_status); }; }; then
45433   glibcxx_cv_func__hypotl_use=yes
45434 else
45435   echo "$as_me: failed program was:" >&5
45436 sed 's/^/| /' conftest.$ac_ext >&5
45437
45438 glibcxx_cv_func__hypotl_use=no
45439 fi
45440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45441       ac_ext=c
45442 ac_cpp='$CPP $CPPFLAGS'
45443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45446
45447
45448 fi
45449
45450   fi
45451   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45452 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45453
45454     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45455
45456 for ac_func in _hypotl
45457 do
45458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45459 echo "$as_me:$LINENO: checking for $ac_func" >&5
45460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45461 if eval "test \"\${$as_ac_var+set}\" = set"; then
45462   echo $ECHO_N "(cached) $ECHO_C" >&6
45463 else
45464   if test x$gcc_no_link = xyes; then
45465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45467    { (exit 1); exit 1; }; }
45468 fi
45469 cat >conftest.$ac_ext <<_ACEOF
45470 /* confdefs.h.  */
45471 _ACEOF
45472 cat confdefs.h >>conftest.$ac_ext
45473 cat >>conftest.$ac_ext <<_ACEOF
45474 /* end confdefs.h.  */
45475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45476    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45477 #define $ac_func innocuous_$ac_func
45478
45479 /* System header to define __stub macros and hopefully few prototypes,
45480     which can conflict with char $ac_func (); below.
45481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45482     <limits.h> exists even on freestanding compilers.  */
45483
45484 #ifdef __STDC__
45485 # include <limits.h>
45486 #else
45487 # include <assert.h>
45488 #endif
45489
45490 #undef $ac_func
45491
45492 /* Override any gcc2 internal prototype to avoid an error.  */
45493 #ifdef __cplusplus
45494 extern "C"
45495 {
45496 #endif
45497 /* We use char because int might match the return type of a gcc2
45498    builtin and then its argument prototype would still apply.  */
45499 char $ac_func ();
45500 /* The GNU C library defines this for functions which it implements
45501     to always fail with ENOSYS.  Some functions are actually named
45502     something starting with __ and the normal name is an alias.  */
45503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45504 choke me
45505 #else
45506 char (*f) () = $ac_func;
45507 #endif
45508 #ifdef __cplusplus
45509 }
45510 #endif
45511
45512 int
45513 main ()
45514 {
45515 return f != $ac_func;
45516   ;
45517   return 0;
45518 }
45519 _ACEOF
45520 rm -f conftest.$ac_objext conftest$ac_exeext
45521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45522   (eval $ac_link) 2>conftest.er1
45523   ac_status=$?
45524   grep -v '^ *+' conftest.er1 >conftest.err
45525   rm -f conftest.er1
45526   cat conftest.err >&5
45527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45528   (exit $ac_status); } &&
45529          { ac_try='test -z "$ac_c_werror_flag"
45530                          || test ! -s conftest.err'
45531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532   (eval $ac_try) 2>&5
45533   ac_status=$?
45534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535   (exit $ac_status); }; } &&
45536          { ac_try='test -s conftest$ac_exeext'
45537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45538   (eval $ac_try) 2>&5
45539   ac_status=$?
45540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45541   (exit $ac_status); }; }; then
45542   eval "$as_ac_var=yes"
45543 else
45544   echo "$as_me: failed program was:" >&5
45545 sed 's/^/| /' conftest.$ac_ext >&5
45546
45547 eval "$as_ac_var=no"
45548 fi
45549 rm -f conftest.err conftest.$ac_objext \
45550       conftest$ac_exeext conftest.$ac_ext
45551 fi
45552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45554 if test `eval echo '${'$as_ac_var'}'` = yes; then
45555   cat >>confdefs.h <<_ACEOF
45556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45557 _ACEOF
45558
45559 fi
45560 done
45561
45562     fi
45563   fi
45564
45565
45566
45567
45568
45569
45570   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45571 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45572   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45573     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45574   echo $ECHO_N "(cached) $ECHO_C" >&6
45575 else
45576
45577
45578
45579       ac_ext=cc
45580 ac_cpp='$CXXCPP $CPPFLAGS'
45581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45584
45585       cat >conftest.$ac_ext <<_ACEOF
45586 /* confdefs.h.  */
45587 _ACEOF
45588 cat confdefs.h >>conftest.$ac_ext
45589 cat >>conftest.$ac_ext <<_ACEOF
45590 /* end confdefs.h.  */
45591 #include <math.h>
45592 int
45593 main ()
45594 {
45595  ldexpl(0, 0);
45596   ;
45597   return 0;
45598 }
45599 _ACEOF
45600 rm -f conftest.$ac_objext
45601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45602   (eval $ac_compile) 2>conftest.er1
45603   ac_status=$?
45604   grep -v '^ *+' conftest.er1 >conftest.err
45605   rm -f conftest.er1
45606   cat conftest.err >&5
45607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45608   (exit $ac_status); } &&
45609          { ac_try='test -z "$ac_cxx_werror_flag"
45610                          || test ! -s conftest.err'
45611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45612   (eval $ac_try) 2>&5
45613   ac_status=$?
45614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45615   (exit $ac_status); }; } &&
45616          { ac_try='test -s conftest.$ac_objext'
45617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45618   (eval $ac_try) 2>&5
45619   ac_status=$?
45620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45621   (exit $ac_status); }; }; then
45622   glibcxx_cv_func_ldexpl_use=yes
45623 else
45624   echo "$as_me: failed program was:" >&5
45625 sed 's/^/| /' conftest.$ac_ext >&5
45626
45627 glibcxx_cv_func_ldexpl_use=no
45628 fi
45629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45630       ac_ext=c
45631 ac_cpp='$CPP $CPPFLAGS'
45632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45635
45636
45637 fi
45638
45639   fi
45640   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45641 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45642
45643   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45644
45645 for ac_func in ldexpl
45646 do
45647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45648 echo "$as_me:$LINENO: checking for $ac_func" >&5
45649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45650 if eval "test \"\${$as_ac_var+set}\" = set"; then
45651   echo $ECHO_N "(cached) $ECHO_C" >&6
45652 else
45653   if test x$gcc_no_link = xyes; then
45654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45656    { (exit 1); exit 1; }; }
45657 fi
45658 cat >conftest.$ac_ext <<_ACEOF
45659 /* confdefs.h.  */
45660 _ACEOF
45661 cat confdefs.h >>conftest.$ac_ext
45662 cat >>conftest.$ac_ext <<_ACEOF
45663 /* end confdefs.h.  */
45664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45666 #define $ac_func innocuous_$ac_func
45667
45668 /* System header to define __stub macros and hopefully few prototypes,
45669     which can conflict with char $ac_func (); below.
45670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45671     <limits.h> exists even on freestanding compilers.  */
45672
45673 #ifdef __STDC__
45674 # include <limits.h>
45675 #else
45676 # include <assert.h>
45677 #endif
45678
45679 #undef $ac_func
45680
45681 /* Override any gcc2 internal prototype to avoid an error.  */
45682 #ifdef __cplusplus
45683 extern "C"
45684 {
45685 #endif
45686 /* We use char because int might match the return type of a gcc2
45687    builtin and then its argument prototype would still apply.  */
45688 char $ac_func ();
45689 /* The GNU C library defines this for functions which it implements
45690     to always fail with ENOSYS.  Some functions are actually named
45691     something starting with __ and the normal name is an alias.  */
45692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45693 choke me
45694 #else
45695 char (*f) () = $ac_func;
45696 #endif
45697 #ifdef __cplusplus
45698 }
45699 #endif
45700
45701 int
45702 main ()
45703 {
45704 return f != $ac_func;
45705   ;
45706   return 0;
45707 }
45708 _ACEOF
45709 rm -f conftest.$ac_objext conftest$ac_exeext
45710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45711   (eval $ac_link) 2>conftest.er1
45712   ac_status=$?
45713   grep -v '^ *+' conftest.er1 >conftest.err
45714   rm -f conftest.er1
45715   cat conftest.err >&5
45716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45717   (exit $ac_status); } &&
45718          { ac_try='test -z "$ac_c_werror_flag"
45719                          || test ! -s conftest.err'
45720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45721   (eval $ac_try) 2>&5
45722   ac_status=$?
45723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45724   (exit $ac_status); }; } &&
45725          { ac_try='test -s conftest$ac_exeext'
45726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45727   (eval $ac_try) 2>&5
45728   ac_status=$?
45729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45730   (exit $ac_status); }; }; then
45731   eval "$as_ac_var=yes"
45732 else
45733   echo "$as_me: failed program was:" >&5
45734 sed 's/^/| /' conftest.$ac_ext >&5
45735
45736 eval "$as_ac_var=no"
45737 fi
45738 rm -f conftest.err conftest.$ac_objext \
45739       conftest$ac_exeext conftest.$ac_ext
45740 fi
45741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45743 if test `eval echo '${'$as_ac_var'}'` = yes; then
45744   cat >>confdefs.h <<_ACEOF
45745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45746 _ACEOF
45747
45748 fi
45749 done
45750
45751   else
45752
45753   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45754 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45755   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45756     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45757   echo $ECHO_N "(cached) $ECHO_C" >&6
45758 else
45759
45760
45761
45762       ac_ext=cc
45763 ac_cpp='$CXXCPP $CPPFLAGS'
45764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45767
45768       cat >conftest.$ac_ext <<_ACEOF
45769 /* confdefs.h.  */
45770 _ACEOF
45771 cat confdefs.h >>conftest.$ac_ext
45772 cat >>conftest.$ac_ext <<_ACEOF
45773 /* end confdefs.h.  */
45774 #include <math.h>
45775 int
45776 main ()
45777 {
45778  _ldexpl(0, 0);
45779   ;
45780   return 0;
45781 }
45782 _ACEOF
45783 rm -f conftest.$ac_objext
45784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45785   (eval $ac_compile) 2>conftest.er1
45786   ac_status=$?
45787   grep -v '^ *+' conftest.er1 >conftest.err
45788   rm -f conftest.er1
45789   cat conftest.err >&5
45790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45791   (exit $ac_status); } &&
45792          { ac_try='test -z "$ac_cxx_werror_flag"
45793                          || test ! -s conftest.err'
45794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45795   (eval $ac_try) 2>&5
45796   ac_status=$?
45797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45798   (exit $ac_status); }; } &&
45799          { ac_try='test -s conftest.$ac_objext'
45800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45801   (eval $ac_try) 2>&5
45802   ac_status=$?
45803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45804   (exit $ac_status); }; }; then
45805   glibcxx_cv_func__ldexpl_use=yes
45806 else
45807   echo "$as_me: failed program was:" >&5
45808 sed 's/^/| /' conftest.$ac_ext >&5
45809
45810 glibcxx_cv_func__ldexpl_use=no
45811 fi
45812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45813       ac_ext=c
45814 ac_cpp='$CPP $CPPFLAGS'
45815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45818
45819
45820 fi
45821
45822   fi
45823   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45824 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45825
45826     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45827
45828 for ac_func in _ldexpl
45829 do
45830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45831 echo "$as_me:$LINENO: checking for $ac_func" >&5
45832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45833 if eval "test \"\${$as_ac_var+set}\" = set"; then
45834   echo $ECHO_N "(cached) $ECHO_C" >&6
45835 else
45836   if test x$gcc_no_link = xyes; then
45837   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45839    { (exit 1); exit 1; }; }
45840 fi
45841 cat >conftest.$ac_ext <<_ACEOF
45842 /* confdefs.h.  */
45843 _ACEOF
45844 cat confdefs.h >>conftest.$ac_ext
45845 cat >>conftest.$ac_ext <<_ACEOF
45846 /* end confdefs.h.  */
45847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45848    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45849 #define $ac_func innocuous_$ac_func
45850
45851 /* System header to define __stub macros and hopefully few prototypes,
45852     which can conflict with char $ac_func (); below.
45853     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45854     <limits.h> exists even on freestanding compilers.  */
45855
45856 #ifdef __STDC__
45857 # include <limits.h>
45858 #else
45859 # include <assert.h>
45860 #endif
45861
45862 #undef $ac_func
45863
45864 /* Override any gcc2 internal prototype to avoid an error.  */
45865 #ifdef __cplusplus
45866 extern "C"
45867 {
45868 #endif
45869 /* We use char because int might match the return type of a gcc2
45870    builtin and then its argument prototype would still apply.  */
45871 char $ac_func ();
45872 /* The GNU C library defines this for functions which it implements
45873     to always fail with ENOSYS.  Some functions are actually named
45874     something starting with __ and the normal name is an alias.  */
45875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45876 choke me
45877 #else
45878 char (*f) () = $ac_func;
45879 #endif
45880 #ifdef __cplusplus
45881 }
45882 #endif
45883
45884 int
45885 main ()
45886 {
45887 return f != $ac_func;
45888   ;
45889   return 0;
45890 }
45891 _ACEOF
45892 rm -f conftest.$ac_objext conftest$ac_exeext
45893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45894   (eval $ac_link) 2>conftest.er1
45895   ac_status=$?
45896   grep -v '^ *+' conftest.er1 >conftest.err
45897   rm -f conftest.er1
45898   cat conftest.err >&5
45899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45900   (exit $ac_status); } &&
45901          { ac_try='test -z "$ac_c_werror_flag"
45902                          || test ! -s conftest.err'
45903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45904   (eval $ac_try) 2>&5
45905   ac_status=$?
45906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45907   (exit $ac_status); }; } &&
45908          { ac_try='test -s conftest$ac_exeext'
45909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45910   (eval $ac_try) 2>&5
45911   ac_status=$?
45912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45913   (exit $ac_status); }; }; then
45914   eval "$as_ac_var=yes"
45915 else
45916   echo "$as_me: failed program was:" >&5
45917 sed 's/^/| /' conftest.$ac_ext >&5
45918
45919 eval "$as_ac_var=no"
45920 fi
45921 rm -f conftest.err conftest.$ac_objext \
45922       conftest$ac_exeext conftest.$ac_ext
45923 fi
45924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45926 if test `eval echo '${'$as_ac_var'}'` = yes; then
45927   cat >>confdefs.h <<_ACEOF
45928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45929 _ACEOF
45930
45931 fi
45932 done
45933
45934     fi
45935   fi
45936
45937
45938
45939
45940
45941
45942   echo "$as_me:$LINENO: checking for logl declaration" >&5
45943 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45944   if test x${glibcxx_cv_func_logl_use+set} != xset; then
45945     if test "${glibcxx_cv_func_logl_use+set}" = set; then
45946   echo $ECHO_N "(cached) $ECHO_C" >&6
45947 else
45948
45949
45950
45951       ac_ext=cc
45952 ac_cpp='$CXXCPP $CPPFLAGS'
45953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45956
45957       cat >conftest.$ac_ext <<_ACEOF
45958 /* confdefs.h.  */
45959 _ACEOF
45960 cat confdefs.h >>conftest.$ac_ext
45961 cat >>conftest.$ac_ext <<_ACEOF
45962 /* end confdefs.h.  */
45963 #include <math.h>
45964                       #ifdef HAVE_IEEEFP_H
45965                       #include <ieeefp.h>
45966                       #endif
45967
45968 int
45969 main ()
45970 {
45971  logl(0);
45972   ;
45973   return 0;
45974 }
45975 _ACEOF
45976 rm -f conftest.$ac_objext
45977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45978   (eval $ac_compile) 2>conftest.er1
45979   ac_status=$?
45980   grep -v '^ *+' conftest.er1 >conftest.err
45981   rm -f conftest.er1
45982   cat conftest.err >&5
45983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984   (exit $ac_status); } &&
45985          { ac_try='test -z "$ac_cxx_werror_flag"
45986                          || test ! -s conftest.err'
45987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45988   (eval $ac_try) 2>&5
45989   ac_status=$?
45990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991   (exit $ac_status); }; } &&
45992          { ac_try='test -s conftest.$ac_objext'
45993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45994   (eval $ac_try) 2>&5
45995   ac_status=$?
45996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997   (exit $ac_status); }; }; then
45998   glibcxx_cv_func_logl_use=yes
45999 else
46000   echo "$as_me: failed program was:" >&5
46001 sed 's/^/| /' conftest.$ac_ext >&5
46002
46003 glibcxx_cv_func_logl_use=no
46004 fi
46005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46006       ac_ext=c
46007 ac_cpp='$CPP $CPPFLAGS'
46008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46011
46012
46013 fi
46014
46015   fi
46016   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
46017 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
46018
46019   if test x$glibcxx_cv_func_logl_use = x"yes"; then
46020
46021 for ac_func in logl
46022 do
46023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46024 echo "$as_me:$LINENO: checking for $ac_func" >&5
46025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46026 if eval "test \"\${$as_ac_var+set}\" = set"; then
46027   echo $ECHO_N "(cached) $ECHO_C" >&6
46028 else
46029   if test x$gcc_no_link = xyes; then
46030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46032    { (exit 1); exit 1; }; }
46033 fi
46034 cat >conftest.$ac_ext <<_ACEOF
46035 /* confdefs.h.  */
46036 _ACEOF
46037 cat confdefs.h >>conftest.$ac_ext
46038 cat >>conftest.$ac_ext <<_ACEOF
46039 /* end confdefs.h.  */
46040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46042 #define $ac_func innocuous_$ac_func
46043
46044 /* System header to define __stub macros and hopefully few prototypes,
46045     which can conflict with char $ac_func (); below.
46046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46047     <limits.h> exists even on freestanding compilers.  */
46048
46049 #ifdef __STDC__
46050 # include <limits.h>
46051 #else
46052 # include <assert.h>
46053 #endif
46054
46055 #undef $ac_func
46056
46057 /* Override any gcc2 internal prototype to avoid an error.  */
46058 #ifdef __cplusplus
46059 extern "C"
46060 {
46061 #endif
46062 /* We use char because int might match the return type of a gcc2
46063    builtin and then its argument prototype would still apply.  */
46064 char $ac_func ();
46065 /* The GNU C library defines this for functions which it implements
46066     to always fail with ENOSYS.  Some functions are actually named
46067     something starting with __ and the normal name is an alias.  */
46068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46069 choke me
46070 #else
46071 char (*f) () = $ac_func;
46072 #endif
46073 #ifdef __cplusplus
46074 }
46075 #endif
46076
46077 int
46078 main ()
46079 {
46080 return f != $ac_func;
46081   ;
46082   return 0;
46083 }
46084 _ACEOF
46085 rm -f conftest.$ac_objext conftest$ac_exeext
46086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46087   (eval $ac_link) 2>conftest.er1
46088   ac_status=$?
46089   grep -v '^ *+' conftest.er1 >conftest.err
46090   rm -f conftest.er1
46091   cat conftest.err >&5
46092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46093   (exit $ac_status); } &&
46094          { ac_try='test -z "$ac_c_werror_flag"
46095                          || test ! -s conftest.err'
46096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46097   (eval $ac_try) 2>&5
46098   ac_status=$?
46099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46100   (exit $ac_status); }; } &&
46101          { ac_try='test -s conftest$ac_exeext'
46102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46103   (eval $ac_try) 2>&5
46104   ac_status=$?
46105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46106   (exit $ac_status); }; }; then
46107   eval "$as_ac_var=yes"
46108 else
46109   echo "$as_me: failed program was:" >&5
46110 sed 's/^/| /' conftest.$ac_ext >&5
46111
46112 eval "$as_ac_var=no"
46113 fi
46114 rm -f conftest.err conftest.$ac_objext \
46115       conftest$ac_exeext conftest.$ac_ext
46116 fi
46117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46119 if test `eval echo '${'$as_ac_var'}'` = yes; then
46120   cat >>confdefs.h <<_ACEOF
46121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46122 _ACEOF
46123
46124 fi
46125 done
46126
46127   else
46128
46129   echo "$as_me:$LINENO: checking for _logl declaration" >&5
46130 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46131   if test x${glibcxx_cv_func__logl_use+set} != xset; then
46132     if test "${glibcxx_cv_func__logl_use+set}" = set; then
46133   echo $ECHO_N "(cached) $ECHO_C" >&6
46134 else
46135
46136
46137
46138       ac_ext=cc
46139 ac_cpp='$CXXCPP $CPPFLAGS'
46140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46143
46144       cat >conftest.$ac_ext <<_ACEOF
46145 /* confdefs.h.  */
46146 _ACEOF
46147 cat confdefs.h >>conftest.$ac_ext
46148 cat >>conftest.$ac_ext <<_ACEOF
46149 /* end confdefs.h.  */
46150 #include <math.h>
46151                       #ifdef HAVE_IEEEFP_H
46152                       #include <ieeefp.h>
46153                       #endif
46154
46155 int
46156 main ()
46157 {
46158  _logl(0);
46159   ;
46160   return 0;
46161 }
46162 _ACEOF
46163 rm -f conftest.$ac_objext
46164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46165   (eval $ac_compile) 2>conftest.er1
46166   ac_status=$?
46167   grep -v '^ *+' conftest.er1 >conftest.err
46168   rm -f conftest.er1
46169   cat conftest.err >&5
46170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46171   (exit $ac_status); } &&
46172          { ac_try='test -z "$ac_cxx_werror_flag"
46173                          || test ! -s conftest.err'
46174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46175   (eval $ac_try) 2>&5
46176   ac_status=$?
46177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46178   (exit $ac_status); }; } &&
46179          { ac_try='test -s conftest.$ac_objext'
46180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46181   (eval $ac_try) 2>&5
46182   ac_status=$?
46183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46184   (exit $ac_status); }; }; then
46185   glibcxx_cv_func__logl_use=yes
46186 else
46187   echo "$as_me: failed program was:" >&5
46188 sed 's/^/| /' conftest.$ac_ext >&5
46189
46190 glibcxx_cv_func__logl_use=no
46191 fi
46192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46193       ac_ext=c
46194 ac_cpp='$CPP $CPPFLAGS'
46195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46198
46199
46200 fi
46201
46202   fi
46203   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46204 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46205
46206     if test x$glibcxx_cv_func__logl_use = x"yes"; then
46207
46208 for ac_func in _logl
46209 do
46210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46211 echo "$as_me:$LINENO: checking for $ac_func" >&5
46212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46213 if eval "test \"\${$as_ac_var+set}\" = set"; then
46214   echo $ECHO_N "(cached) $ECHO_C" >&6
46215 else
46216   if test x$gcc_no_link = xyes; then
46217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46219    { (exit 1); exit 1; }; }
46220 fi
46221 cat >conftest.$ac_ext <<_ACEOF
46222 /* confdefs.h.  */
46223 _ACEOF
46224 cat confdefs.h >>conftest.$ac_ext
46225 cat >>conftest.$ac_ext <<_ACEOF
46226 /* end confdefs.h.  */
46227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46229 #define $ac_func innocuous_$ac_func
46230
46231 /* System header to define __stub macros and hopefully few prototypes,
46232     which can conflict with char $ac_func (); below.
46233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46234     <limits.h> exists even on freestanding compilers.  */
46235
46236 #ifdef __STDC__
46237 # include <limits.h>
46238 #else
46239 # include <assert.h>
46240 #endif
46241
46242 #undef $ac_func
46243
46244 /* Override any gcc2 internal prototype to avoid an error.  */
46245 #ifdef __cplusplus
46246 extern "C"
46247 {
46248 #endif
46249 /* We use char because int might match the return type of a gcc2
46250    builtin and then its argument prototype would still apply.  */
46251 char $ac_func ();
46252 /* The GNU C library defines this for functions which it implements
46253     to always fail with ENOSYS.  Some functions are actually named
46254     something starting with __ and the normal name is an alias.  */
46255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46256 choke me
46257 #else
46258 char (*f) () = $ac_func;
46259 #endif
46260 #ifdef __cplusplus
46261 }
46262 #endif
46263
46264 int
46265 main ()
46266 {
46267 return f != $ac_func;
46268   ;
46269   return 0;
46270 }
46271 _ACEOF
46272 rm -f conftest.$ac_objext conftest$ac_exeext
46273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46274   (eval $ac_link) 2>conftest.er1
46275   ac_status=$?
46276   grep -v '^ *+' conftest.er1 >conftest.err
46277   rm -f conftest.er1
46278   cat conftest.err >&5
46279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46280   (exit $ac_status); } &&
46281          { ac_try='test -z "$ac_c_werror_flag"
46282                          || test ! -s conftest.err'
46283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46284   (eval $ac_try) 2>&5
46285   ac_status=$?
46286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46287   (exit $ac_status); }; } &&
46288          { ac_try='test -s conftest$ac_exeext'
46289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46290   (eval $ac_try) 2>&5
46291   ac_status=$?
46292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46293   (exit $ac_status); }; }; then
46294   eval "$as_ac_var=yes"
46295 else
46296   echo "$as_me: failed program was:" >&5
46297 sed 's/^/| /' conftest.$ac_ext >&5
46298
46299 eval "$as_ac_var=no"
46300 fi
46301 rm -f conftest.err conftest.$ac_objext \
46302       conftest$ac_exeext conftest.$ac_ext
46303 fi
46304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46306 if test `eval echo '${'$as_ac_var'}'` = yes; then
46307   cat >>confdefs.h <<_ACEOF
46308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46309 _ACEOF
46310
46311 fi
46312 done
46313
46314     fi
46315   fi
46316
46317
46318
46319
46320
46321
46322   echo "$as_me:$LINENO: checking for log10l declaration" >&5
46323 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46324   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46325     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46326   echo $ECHO_N "(cached) $ECHO_C" >&6
46327 else
46328
46329
46330
46331       ac_ext=cc
46332 ac_cpp='$CXXCPP $CPPFLAGS'
46333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46336
46337       cat >conftest.$ac_ext <<_ACEOF
46338 /* confdefs.h.  */
46339 _ACEOF
46340 cat confdefs.h >>conftest.$ac_ext
46341 cat >>conftest.$ac_ext <<_ACEOF
46342 /* end confdefs.h.  */
46343 #include <math.h>
46344                       #ifdef HAVE_IEEEFP_H
46345                       #include <ieeefp.h>
46346                       #endif
46347
46348 int
46349 main ()
46350 {
46351  log10l(0);
46352   ;
46353   return 0;
46354 }
46355 _ACEOF
46356 rm -f conftest.$ac_objext
46357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46358   (eval $ac_compile) 2>conftest.er1
46359   ac_status=$?
46360   grep -v '^ *+' conftest.er1 >conftest.err
46361   rm -f conftest.er1
46362   cat conftest.err >&5
46363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46364   (exit $ac_status); } &&
46365          { ac_try='test -z "$ac_cxx_werror_flag"
46366                          || test ! -s conftest.err'
46367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46368   (eval $ac_try) 2>&5
46369   ac_status=$?
46370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46371   (exit $ac_status); }; } &&
46372          { ac_try='test -s conftest.$ac_objext'
46373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46374   (eval $ac_try) 2>&5
46375   ac_status=$?
46376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46377   (exit $ac_status); }; }; then
46378   glibcxx_cv_func_log10l_use=yes
46379 else
46380   echo "$as_me: failed program was:" >&5
46381 sed 's/^/| /' conftest.$ac_ext >&5
46382
46383 glibcxx_cv_func_log10l_use=no
46384 fi
46385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46386       ac_ext=c
46387 ac_cpp='$CPP $CPPFLAGS'
46388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46391
46392
46393 fi
46394
46395   fi
46396   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46397 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46398
46399   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46400
46401 for ac_func in log10l
46402 do
46403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46404 echo "$as_me:$LINENO: checking for $ac_func" >&5
46405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46406 if eval "test \"\${$as_ac_var+set}\" = set"; then
46407   echo $ECHO_N "(cached) $ECHO_C" >&6
46408 else
46409   if test x$gcc_no_link = xyes; then
46410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46412    { (exit 1); exit 1; }; }
46413 fi
46414 cat >conftest.$ac_ext <<_ACEOF
46415 /* confdefs.h.  */
46416 _ACEOF
46417 cat confdefs.h >>conftest.$ac_ext
46418 cat >>conftest.$ac_ext <<_ACEOF
46419 /* end confdefs.h.  */
46420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46422 #define $ac_func innocuous_$ac_func
46423
46424 /* System header to define __stub macros and hopefully few prototypes,
46425     which can conflict with char $ac_func (); below.
46426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46427     <limits.h> exists even on freestanding compilers.  */
46428
46429 #ifdef __STDC__
46430 # include <limits.h>
46431 #else
46432 # include <assert.h>
46433 #endif
46434
46435 #undef $ac_func
46436
46437 /* Override any gcc2 internal prototype to avoid an error.  */
46438 #ifdef __cplusplus
46439 extern "C"
46440 {
46441 #endif
46442 /* We use char because int might match the return type of a gcc2
46443    builtin and then its argument prototype would still apply.  */
46444 char $ac_func ();
46445 /* The GNU C library defines this for functions which it implements
46446     to always fail with ENOSYS.  Some functions are actually named
46447     something starting with __ and the normal name is an alias.  */
46448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46449 choke me
46450 #else
46451 char (*f) () = $ac_func;
46452 #endif
46453 #ifdef __cplusplus
46454 }
46455 #endif
46456
46457 int
46458 main ()
46459 {
46460 return f != $ac_func;
46461   ;
46462   return 0;
46463 }
46464 _ACEOF
46465 rm -f conftest.$ac_objext conftest$ac_exeext
46466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46467   (eval $ac_link) 2>conftest.er1
46468   ac_status=$?
46469   grep -v '^ *+' conftest.er1 >conftest.err
46470   rm -f conftest.er1
46471   cat conftest.err >&5
46472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46473   (exit $ac_status); } &&
46474          { ac_try='test -z "$ac_c_werror_flag"
46475                          || test ! -s conftest.err'
46476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46477   (eval $ac_try) 2>&5
46478   ac_status=$?
46479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46480   (exit $ac_status); }; } &&
46481          { ac_try='test -s conftest$ac_exeext'
46482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46483   (eval $ac_try) 2>&5
46484   ac_status=$?
46485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46486   (exit $ac_status); }; }; then
46487   eval "$as_ac_var=yes"
46488 else
46489   echo "$as_me: failed program was:" >&5
46490 sed 's/^/| /' conftest.$ac_ext >&5
46491
46492 eval "$as_ac_var=no"
46493 fi
46494 rm -f conftest.err conftest.$ac_objext \
46495       conftest$ac_exeext conftest.$ac_ext
46496 fi
46497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46499 if test `eval echo '${'$as_ac_var'}'` = yes; then
46500   cat >>confdefs.h <<_ACEOF
46501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46502 _ACEOF
46503
46504 fi
46505 done
46506
46507   else
46508
46509   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46510 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46511   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46512     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46513   echo $ECHO_N "(cached) $ECHO_C" >&6
46514 else
46515
46516
46517
46518       ac_ext=cc
46519 ac_cpp='$CXXCPP $CPPFLAGS'
46520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46523
46524       cat >conftest.$ac_ext <<_ACEOF
46525 /* confdefs.h.  */
46526 _ACEOF
46527 cat confdefs.h >>conftest.$ac_ext
46528 cat >>conftest.$ac_ext <<_ACEOF
46529 /* end confdefs.h.  */
46530 #include <math.h>
46531                       #ifdef HAVE_IEEEFP_H
46532                       #include <ieeefp.h>
46533                       #endif
46534
46535 int
46536 main ()
46537 {
46538  _log10l(0);
46539   ;
46540   return 0;
46541 }
46542 _ACEOF
46543 rm -f conftest.$ac_objext
46544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46545   (eval $ac_compile) 2>conftest.er1
46546   ac_status=$?
46547   grep -v '^ *+' conftest.er1 >conftest.err
46548   rm -f conftest.er1
46549   cat conftest.err >&5
46550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46551   (exit $ac_status); } &&
46552          { ac_try='test -z "$ac_cxx_werror_flag"
46553                          || test ! -s conftest.err'
46554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46555   (eval $ac_try) 2>&5
46556   ac_status=$?
46557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46558   (exit $ac_status); }; } &&
46559          { ac_try='test -s conftest.$ac_objext'
46560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46561   (eval $ac_try) 2>&5
46562   ac_status=$?
46563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564   (exit $ac_status); }; }; then
46565   glibcxx_cv_func__log10l_use=yes
46566 else
46567   echo "$as_me: failed program was:" >&5
46568 sed 's/^/| /' conftest.$ac_ext >&5
46569
46570 glibcxx_cv_func__log10l_use=no
46571 fi
46572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46573       ac_ext=c
46574 ac_cpp='$CPP $CPPFLAGS'
46575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46578
46579
46580 fi
46581
46582   fi
46583   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46584 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46585
46586     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46587
46588 for ac_func in _log10l
46589 do
46590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46591 echo "$as_me:$LINENO: checking for $ac_func" >&5
46592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46593 if eval "test \"\${$as_ac_var+set}\" = set"; then
46594   echo $ECHO_N "(cached) $ECHO_C" >&6
46595 else
46596   if test x$gcc_no_link = xyes; then
46597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46599    { (exit 1); exit 1; }; }
46600 fi
46601 cat >conftest.$ac_ext <<_ACEOF
46602 /* confdefs.h.  */
46603 _ACEOF
46604 cat confdefs.h >>conftest.$ac_ext
46605 cat >>conftest.$ac_ext <<_ACEOF
46606 /* end confdefs.h.  */
46607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46609 #define $ac_func innocuous_$ac_func
46610
46611 /* System header to define __stub macros and hopefully few prototypes,
46612     which can conflict with char $ac_func (); below.
46613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46614     <limits.h> exists even on freestanding compilers.  */
46615
46616 #ifdef __STDC__
46617 # include <limits.h>
46618 #else
46619 # include <assert.h>
46620 #endif
46621
46622 #undef $ac_func
46623
46624 /* Override any gcc2 internal prototype to avoid an error.  */
46625 #ifdef __cplusplus
46626 extern "C"
46627 {
46628 #endif
46629 /* We use char because int might match the return type of a gcc2
46630    builtin and then its argument prototype would still apply.  */
46631 char $ac_func ();
46632 /* The GNU C library defines this for functions which it implements
46633     to always fail with ENOSYS.  Some functions are actually named
46634     something starting with __ and the normal name is an alias.  */
46635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46636 choke me
46637 #else
46638 char (*f) () = $ac_func;
46639 #endif
46640 #ifdef __cplusplus
46641 }
46642 #endif
46643
46644 int
46645 main ()
46646 {
46647 return f != $ac_func;
46648   ;
46649   return 0;
46650 }
46651 _ACEOF
46652 rm -f conftest.$ac_objext conftest$ac_exeext
46653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46654   (eval $ac_link) 2>conftest.er1
46655   ac_status=$?
46656   grep -v '^ *+' conftest.er1 >conftest.err
46657   rm -f conftest.er1
46658   cat conftest.err >&5
46659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46660   (exit $ac_status); } &&
46661          { ac_try='test -z "$ac_c_werror_flag"
46662                          || test ! -s conftest.err'
46663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46664   (eval $ac_try) 2>&5
46665   ac_status=$?
46666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46667   (exit $ac_status); }; } &&
46668          { ac_try='test -s conftest$ac_exeext'
46669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46670   (eval $ac_try) 2>&5
46671   ac_status=$?
46672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673   (exit $ac_status); }; }; then
46674   eval "$as_ac_var=yes"
46675 else
46676   echo "$as_me: failed program was:" >&5
46677 sed 's/^/| /' conftest.$ac_ext >&5
46678
46679 eval "$as_ac_var=no"
46680 fi
46681 rm -f conftest.err conftest.$ac_objext \
46682       conftest$ac_exeext conftest.$ac_ext
46683 fi
46684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46686 if test `eval echo '${'$as_ac_var'}'` = yes; then
46687   cat >>confdefs.h <<_ACEOF
46688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46689 _ACEOF
46690
46691 fi
46692 done
46693
46694     fi
46695   fi
46696
46697
46698
46699
46700
46701
46702   echo "$as_me:$LINENO: checking for modfl declaration" >&5
46703 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46704   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46705     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46706   echo $ECHO_N "(cached) $ECHO_C" >&6
46707 else
46708
46709
46710
46711       ac_ext=cc
46712 ac_cpp='$CXXCPP $CPPFLAGS'
46713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46716
46717       cat >conftest.$ac_ext <<_ACEOF
46718 /* confdefs.h.  */
46719 _ACEOF
46720 cat confdefs.h >>conftest.$ac_ext
46721 cat >>conftest.$ac_ext <<_ACEOF
46722 /* end confdefs.h.  */
46723 #include <math.h>
46724 int
46725 main ()
46726 {
46727  modfl(0, 0);
46728   ;
46729   return 0;
46730 }
46731 _ACEOF
46732 rm -f conftest.$ac_objext
46733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46734   (eval $ac_compile) 2>conftest.er1
46735   ac_status=$?
46736   grep -v '^ *+' conftest.er1 >conftest.err
46737   rm -f conftest.er1
46738   cat conftest.err >&5
46739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46740   (exit $ac_status); } &&
46741          { ac_try='test -z "$ac_cxx_werror_flag"
46742                          || test ! -s conftest.err'
46743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46744   (eval $ac_try) 2>&5
46745   ac_status=$?
46746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46747   (exit $ac_status); }; } &&
46748          { ac_try='test -s conftest.$ac_objext'
46749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46750   (eval $ac_try) 2>&5
46751   ac_status=$?
46752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753   (exit $ac_status); }; }; then
46754   glibcxx_cv_func_modfl_use=yes
46755 else
46756   echo "$as_me: failed program was:" >&5
46757 sed 's/^/| /' conftest.$ac_ext >&5
46758
46759 glibcxx_cv_func_modfl_use=no
46760 fi
46761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46762       ac_ext=c
46763 ac_cpp='$CPP $CPPFLAGS'
46764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46767
46768
46769 fi
46770
46771   fi
46772   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46773 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46774
46775   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46776
46777 for ac_func in modfl
46778 do
46779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46780 echo "$as_me:$LINENO: checking for $ac_func" >&5
46781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46782 if eval "test \"\${$as_ac_var+set}\" = set"; then
46783   echo $ECHO_N "(cached) $ECHO_C" >&6
46784 else
46785   if test x$gcc_no_link = xyes; then
46786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46788    { (exit 1); exit 1; }; }
46789 fi
46790 cat >conftest.$ac_ext <<_ACEOF
46791 /* confdefs.h.  */
46792 _ACEOF
46793 cat confdefs.h >>conftest.$ac_ext
46794 cat >>conftest.$ac_ext <<_ACEOF
46795 /* end confdefs.h.  */
46796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46797    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46798 #define $ac_func innocuous_$ac_func
46799
46800 /* System header to define __stub macros and hopefully few prototypes,
46801     which can conflict with char $ac_func (); below.
46802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46803     <limits.h> exists even on freestanding compilers.  */
46804
46805 #ifdef __STDC__
46806 # include <limits.h>
46807 #else
46808 # include <assert.h>
46809 #endif
46810
46811 #undef $ac_func
46812
46813 /* Override any gcc2 internal prototype to avoid an error.  */
46814 #ifdef __cplusplus
46815 extern "C"
46816 {
46817 #endif
46818 /* We use char because int might match the return type of a gcc2
46819    builtin and then its argument prototype would still apply.  */
46820 char $ac_func ();
46821 /* The GNU C library defines this for functions which it implements
46822     to always fail with ENOSYS.  Some functions are actually named
46823     something starting with __ and the normal name is an alias.  */
46824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46825 choke me
46826 #else
46827 char (*f) () = $ac_func;
46828 #endif
46829 #ifdef __cplusplus
46830 }
46831 #endif
46832
46833 int
46834 main ()
46835 {
46836 return f != $ac_func;
46837   ;
46838   return 0;
46839 }
46840 _ACEOF
46841 rm -f conftest.$ac_objext conftest$ac_exeext
46842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46843   (eval $ac_link) 2>conftest.er1
46844   ac_status=$?
46845   grep -v '^ *+' conftest.er1 >conftest.err
46846   rm -f conftest.er1
46847   cat conftest.err >&5
46848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46849   (exit $ac_status); } &&
46850          { ac_try='test -z "$ac_c_werror_flag"
46851                          || test ! -s conftest.err'
46852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46853   (eval $ac_try) 2>&5
46854   ac_status=$?
46855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46856   (exit $ac_status); }; } &&
46857          { ac_try='test -s conftest$ac_exeext'
46858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46859   (eval $ac_try) 2>&5
46860   ac_status=$?
46861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46862   (exit $ac_status); }; }; then
46863   eval "$as_ac_var=yes"
46864 else
46865   echo "$as_me: failed program was:" >&5
46866 sed 's/^/| /' conftest.$ac_ext >&5
46867
46868 eval "$as_ac_var=no"
46869 fi
46870 rm -f conftest.err conftest.$ac_objext \
46871       conftest$ac_exeext conftest.$ac_ext
46872 fi
46873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46875 if test `eval echo '${'$as_ac_var'}'` = yes; then
46876   cat >>confdefs.h <<_ACEOF
46877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46878 _ACEOF
46879
46880 fi
46881 done
46882
46883   else
46884
46885   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46886 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46887   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46888     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46889   echo $ECHO_N "(cached) $ECHO_C" >&6
46890 else
46891
46892
46893
46894       ac_ext=cc
46895 ac_cpp='$CXXCPP $CPPFLAGS'
46896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46899
46900       cat >conftest.$ac_ext <<_ACEOF
46901 /* confdefs.h.  */
46902 _ACEOF
46903 cat confdefs.h >>conftest.$ac_ext
46904 cat >>conftest.$ac_ext <<_ACEOF
46905 /* end confdefs.h.  */
46906 #include <math.h>
46907 int
46908 main ()
46909 {
46910  _modfl(0, 0);
46911   ;
46912   return 0;
46913 }
46914 _ACEOF
46915 rm -f conftest.$ac_objext
46916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46917   (eval $ac_compile) 2>conftest.er1
46918   ac_status=$?
46919   grep -v '^ *+' conftest.er1 >conftest.err
46920   rm -f conftest.er1
46921   cat conftest.err >&5
46922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46923   (exit $ac_status); } &&
46924          { ac_try='test -z "$ac_cxx_werror_flag"
46925                          || test ! -s conftest.err'
46926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46927   (eval $ac_try) 2>&5
46928   ac_status=$?
46929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46930   (exit $ac_status); }; } &&
46931          { ac_try='test -s conftest.$ac_objext'
46932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46933   (eval $ac_try) 2>&5
46934   ac_status=$?
46935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46936   (exit $ac_status); }; }; then
46937   glibcxx_cv_func__modfl_use=yes
46938 else
46939   echo "$as_me: failed program was:" >&5
46940 sed 's/^/| /' conftest.$ac_ext >&5
46941
46942 glibcxx_cv_func__modfl_use=no
46943 fi
46944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46945       ac_ext=c
46946 ac_cpp='$CPP $CPPFLAGS'
46947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46950
46951
46952 fi
46953
46954   fi
46955   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46956 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46957
46958     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46959
46960 for ac_func in _modfl
46961 do
46962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46963 echo "$as_me:$LINENO: checking for $ac_func" >&5
46964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46965 if eval "test \"\${$as_ac_var+set}\" = set"; then
46966   echo $ECHO_N "(cached) $ECHO_C" >&6
46967 else
46968   if test x$gcc_no_link = xyes; then
46969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46971    { (exit 1); exit 1; }; }
46972 fi
46973 cat >conftest.$ac_ext <<_ACEOF
46974 /* confdefs.h.  */
46975 _ACEOF
46976 cat confdefs.h >>conftest.$ac_ext
46977 cat >>conftest.$ac_ext <<_ACEOF
46978 /* end confdefs.h.  */
46979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46981 #define $ac_func innocuous_$ac_func
46982
46983 /* System header to define __stub macros and hopefully few prototypes,
46984     which can conflict with char $ac_func (); below.
46985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46986     <limits.h> exists even on freestanding compilers.  */
46987
46988 #ifdef __STDC__
46989 # include <limits.h>
46990 #else
46991 # include <assert.h>
46992 #endif
46993
46994 #undef $ac_func
46995
46996 /* Override any gcc2 internal prototype to avoid an error.  */
46997 #ifdef __cplusplus
46998 extern "C"
46999 {
47000 #endif
47001 /* We use char because int might match the return type of a gcc2
47002    builtin and then its argument prototype would still apply.  */
47003 char $ac_func ();
47004 /* The GNU C library defines this for functions which it implements
47005     to always fail with ENOSYS.  Some functions are actually named
47006     something starting with __ and the normal name is an alias.  */
47007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47008 choke me
47009 #else
47010 char (*f) () = $ac_func;
47011 #endif
47012 #ifdef __cplusplus
47013 }
47014 #endif
47015
47016 int
47017 main ()
47018 {
47019 return f != $ac_func;
47020   ;
47021   return 0;
47022 }
47023 _ACEOF
47024 rm -f conftest.$ac_objext conftest$ac_exeext
47025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47026   (eval $ac_link) 2>conftest.er1
47027   ac_status=$?
47028   grep -v '^ *+' conftest.er1 >conftest.err
47029   rm -f conftest.er1
47030   cat conftest.err >&5
47031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47032   (exit $ac_status); } &&
47033          { ac_try='test -z "$ac_c_werror_flag"
47034                          || test ! -s conftest.err'
47035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47036   (eval $ac_try) 2>&5
47037   ac_status=$?
47038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47039   (exit $ac_status); }; } &&
47040          { ac_try='test -s conftest$ac_exeext'
47041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47042   (eval $ac_try) 2>&5
47043   ac_status=$?
47044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47045   (exit $ac_status); }; }; then
47046   eval "$as_ac_var=yes"
47047 else
47048   echo "$as_me: failed program was:" >&5
47049 sed 's/^/| /' conftest.$ac_ext >&5
47050
47051 eval "$as_ac_var=no"
47052 fi
47053 rm -f conftest.err conftest.$ac_objext \
47054       conftest$ac_exeext conftest.$ac_ext
47055 fi
47056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47058 if test `eval echo '${'$as_ac_var'}'` = yes; then
47059   cat >>confdefs.h <<_ACEOF
47060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47061 _ACEOF
47062
47063 fi
47064 done
47065
47066     fi
47067   fi
47068
47069
47070
47071
47072
47073
47074   echo "$as_me:$LINENO: checking for powl declaration" >&5
47075 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
47076   if test x${glibcxx_cv_func_powl_use+set} != xset; then
47077     if test "${glibcxx_cv_func_powl_use+set}" = set; then
47078   echo $ECHO_N "(cached) $ECHO_C" >&6
47079 else
47080
47081
47082
47083       ac_ext=cc
47084 ac_cpp='$CXXCPP $CPPFLAGS'
47085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47088
47089       cat >conftest.$ac_ext <<_ACEOF
47090 /* confdefs.h.  */
47091 _ACEOF
47092 cat confdefs.h >>conftest.$ac_ext
47093 cat >>conftest.$ac_ext <<_ACEOF
47094 /* end confdefs.h.  */
47095 #include <math.h>
47096 int
47097 main ()
47098 {
47099  powl(0, 0);
47100   ;
47101   return 0;
47102 }
47103 _ACEOF
47104 rm -f conftest.$ac_objext
47105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47106   (eval $ac_compile) 2>conftest.er1
47107   ac_status=$?
47108   grep -v '^ *+' conftest.er1 >conftest.err
47109   rm -f conftest.er1
47110   cat conftest.err >&5
47111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47112   (exit $ac_status); } &&
47113          { ac_try='test -z "$ac_cxx_werror_flag"
47114                          || test ! -s conftest.err'
47115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47116   (eval $ac_try) 2>&5
47117   ac_status=$?
47118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47119   (exit $ac_status); }; } &&
47120          { ac_try='test -s conftest.$ac_objext'
47121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47122   (eval $ac_try) 2>&5
47123   ac_status=$?
47124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125   (exit $ac_status); }; }; then
47126   glibcxx_cv_func_powl_use=yes
47127 else
47128   echo "$as_me: failed program was:" >&5
47129 sed 's/^/| /' conftest.$ac_ext >&5
47130
47131 glibcxx_cv_func_powl_use=no
47132 fi
47133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47134       ac_ext=c
47135 ac_cpp='$CPP $CPPFLAGS'
47136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47139
47140
47141 fi
47142
47143   fi
47144   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47145 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47146
47147   if test x$glibcxx_cv_func_powl_use = x"yes"; then
47148
47149 for ac_func in powl
47150 do
47151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47152 echo "$as_me:$LINENO: checking for $ac_func" >&5
47153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47154 if eval "test \"\${$as_ac_var+set}\" = set"; then
47155   echo $ECHO_N "(cached) $ECHO_C" >&6
47156 else
47157   if test x$gcc_no_link = xyes; then
47158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47160    { (exit 1); exit 1; }; }
47161 fi
47162 cat >conftest.$ac_ext <<_ACEOF
47163 /* confdefs.h.  */
47164 _ACEOF
47165 cat confdefs.h >>conftest.$ac_ext
47166 cat >>conftest.$ac_ext <<_ACEOF
47167 /* end confdefs.h.  */
47168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47170 #define $ac_func innocuous_$ac_func
47171
47172 /* System header to define __stub macros and hopefully few prototypes,
47173     which can conflict with char $ac_func (); below.
47174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47175     <limits.h> exists even on freestanding compilers.  */
47176
47177 #ifdef __STDC__
47178 # include <limits.h>
47179 #else
47180 # include <assert.h>
47181 #endif
47182
47183 #undef $ac_func
47184
47185 /* Override any gcc2 internal prototype to avoid an error.  */
47186 #ifdef __cplusplus
47187 extern "C"
47188 {
47189 #endif
47190 /* We use char because int might match the return type of a gcc2
47191    builtin and then its argument prototype would still apply.  */
47192 char $ac_func ();
47193 /* The GNU C library defines this for functions which it implements
47194     to always fail with ENOSYS.  Some functions are actually named
47195     something starting with __ and the normal name is an alias.  */
47196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47197 choke me
47198 #else
47199 char (*f) () = $ac_func;
47200 #endif
47201 #ifdef __cplusplus
47202 }
47203 #endif
47204
47205 int
47206 main ()
47207 {
47208 return f != $ac_func;
47209   ;
47210   return 0;
47211 }
47212 _ACEOF
47213 rm -f conftest.$ac_objext conftest$ac_exeext
47214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47215   (eval $ac_link) 2>conftest.er1
47216   ac_status=$?
47217   grep -v '^ *+' conftest.er1 >conftest.err
47218   rm -f conftest.er1
47219   cat conftest.err >&5
47220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47221   (exit $ac_status); } &&
47222          { ac_try='test -z "$ac_c_werror_flag"
47223                          || test ! -s conftest.err'
47224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47225   (eval $ac_try) 2>&5
47226   ac_status=$?
47227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47228   (exit $ac_status); }; } &&
47229          { ac_try='test -s conftest$ac_exeext'
47230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47231   (eval $ac_try) 2>&5
47232   ac_status=$?
47233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47234   (exit $ac_status); }; }; then
47235   eval "$as_ac_var=yes"
47236 else
47237   echo "$as_me: failed program was:" >&5
47238 sed 's/^/| /' conftest.$ac_ext >&5
47239
47240 eval "$as_ac_var=no"
47241 fi
47242 rm -f conftest.err conftest.$ac_objext \
47243       conftest$ac_exeext conftest.$ac_ext
47244 fi
47245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47247 if test `eval echo '${'$as_ac_var'}'` = yes; then
47248   cat >>confdefs.h <<_ACEOF
47249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47250 _ACEOF
47251
47252 fi
47253 done
47254
47255   else
47256
47257   echo "$as_me:$LINENO: checking for _powl declaration" >&5
47258 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47259   if test x${glibcxx_cv_func__powl_use+set} != xset; then
47260     if test "${glibcxx_cv_func__powl_use+set}" = set; then
47261   echo $ECHO_N "(cached) $ECHO_C" >&6
47262 else
47263
47264
47265
47266       ac_ext=cc
47267 ac_cpp='$CXXCPP $CPPFLAGS'
47268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47271
47272       cat >conftest.$ac_ext <<_ACEOF
47273 /* confdefs.h.  */
47274 _ACEOF
47275 cat confdefs.h >>conftest.$ac_ext
47276 cat >>conftest.$ac_ext <<_ACEOF
47277 /* end confdefs.h.  */
47278 #include <math.h>
47279 int
47280 main ()
47281 {
47282  _powl(0, 0);
47283   ;
47284   return 0;
47285 }
47286 _ACEOF
47287 rm -f conftest.$ac_objext
47288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47289   (eval $ac_compile) 2>conftest.er1
47290   ac_status=$?
47291   grep -v '^ *+' conftest.er1 >conftest.err
47292   rm -f conftest.er1
47293   cat conftest.err >&5
47294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47295   (exit $ac_status); } &&
47296          { ac_try='test -z "$ac_cxx_werror_flag"
47297                          || test ! -s conftest.err'
47298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47299   (eval $ac_try) 2>&5
47300   ac_status=$?
47301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302   (exit $ac_status); }; } &&
47303          { ac_try='test -s conftest.$ac_objext'
47304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47305   (eval $ac_try) 2>&5
47306   ac_status=$?
47307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47308   (exit $ac_status); }; }; then
47309   glibcxx_cv_func__powl_use=yes
47310 else
47311   echo "$as_me: failed program was:" >&5
47312 sed 's/^/| /' conftest.$ac_ext >&5
47313
47314 glibcxx_cv_func__powl_use=no
47315 fi
47316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47317       ac_ext=c
47318 ac_cpp='$CPP $CPPFLAGS'
47319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47322
47323
47324 fi
47325
47326   fi
47327   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47328 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47329
47330     if test x$glibcxx_cv_func__powl_use = x"yes"; then
47331
47332 for ac_func in _powl
47333 do
47334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47335 echo "$as_me:$LINENO: checking for $ac_func" >&5
47336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47337 if eval "test \"\${$as_ac_var+set}\" = set"; then
47338   echo $ECHO_N "(cached) $ECHO_C" >&6
47339 else
47340   if test x$gcc_no_link = xyes; then
47341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47343    { (exit 1); exit 1; }; }
47344 fi
47345 cat >conftest.$ac_ext <<_ACEOF
47346 /* confdefs.h.  */
47347 _ACEOF
47348 cat confdefs.h >>conftest.$ac_ext
47349 cat >>conftest.$ac_ext <<_ACEOF
47350 /* end confdefs.h.  */
47351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47353 #define $ac_func innocuous_$ac_func
47354
47355 /* System header to define __stub macros and hopefully few prototypes,
47356     which can conflict with char $ac_func (); below.
47357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47358     <limits.h> exists even on freestanding compilers.  */
47359
47360 #ifdef __STDC__
47361 # include <limits.h>
47362 #else
47363 # include <assert.h>
47364 #endif
47365
47366 #undef $ac_func
47367
47368 /* Override any gcc2 internal prototype to avoid an error.  */
47369 #ifdef __cplusplus
47370 extern "C"
47371 {
47372 #endif
47373 /* We use char because int might match the return type of a gcc2
47374    builtin and then its argument prototype would still apply.  */
47375 char $ac_func ();
47376 /* The GNU C library defines this for functions which it implements
47377     to always fail with ENOSYS.  Some functions are actually named
47378     something starting with __ and the normal name is an alias.  */
47379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47380 choke me
47381 #else
47382 char (*f) () = $ac_func;
47383 #endif
47384 #ifdef __cplusplus
47385 }
47386 #endif
47387
47388 int
47389 main ()
47390 {
47391 return f != $ac_func;
47392   ;
47393   return 0;
47394 }
47395 _ACEOF
47396 rm -f conftest.$ac_objext conftest$ac_exeext
47397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47398   (eval $ac_link) 2>conftest.er1
47399   ac_status=$?
47400   grep -v '^ *+' conftest.er1 >conftest.err
47401   rm -f conftest.er1
47402   cat conftest.err >&5
47403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47404   (exit $ac_status); } &&
47405          { ac_try='test -z "$ac_c_werror_flag"
47406                          || test ! -s conftest.err'
47407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47408   (eval $ac_try) 2>&5
47409   ac_status=$?
47410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47411   (exit $ac_status); }; } &&
47412          { ac_try='test -s conftest$ac_exeext'
47413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47414   (eval $ac_try) 2>&5
47415   ac_status=$?
47416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47417   (exit $ac_status); }; }; then
47418   eval "$as_ac_var=yes"
47419 else
47420   echo "$as_me: failed program was:" >&5
47421 sed 's/^/| /' conftest.$ac_ext >&5
47422
47423 eval "$as_ac_var=no"
47424 fi
47425 rm -f conftest.err conftest.$ac_objext \
47426       conftest$ac_exeext conftest.$ac_ext
47427 fi
47428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47430 if test `eval echo '${'$as_ac_var'}'` = yes; then
47431   cat >>confdefs.h <<_ACEOF
47432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47433 _ACEOF
47434
47435 fi
47436 done
47437
47438     fi
47439   fi
47440
47441
47442
47443
47444
47445
47446   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47447 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47448   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47449     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47450   echo $ECHO_N "(cached) $ECHO_C" >&6
47451 else
47452
47453
47454
47455       ac_ext=cc
47456 ac_cpp='$CXXCPP $CPPFLAGS'
47457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47460
47461       cat >conftest.$ac_ext <<_ACEOF
47462 /* confdefs.h.  */
47463 _ACEOF
47464 cat confdefs.h >>conftest.$ac_ext
47465 cat >>conftest.$ac_ext <<_ACEOF
47466 /* end confdefs.h.  */
47467 #include <math.h>
47468                       #ifdef HAVE_IEEEFP_H
47469                       #include <ieeefp.h>
47470                       #endif
47471
47472 int
47473 main ()
47474 {
47475  sqrtl(0);
47476   ;
47477   return 0;
47478 }
47479 _ACEOF
47480 rm -f conftest.$ac_objext
47481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47482   (eval $ac_compile) 2>conftest.er1
47483   ac_status=$?
47484   grep -v '^ *+' conftest.er1 >conftest.err
47485   rm -f conftest.er1
47486   cat conftest.err >&5
47487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47488   (exit $ac_status); } &&
47489          { ac_try='test -z "$ac_cxx_werror_flag"
47490                          || test ! -s conftest.err'
47491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47492   (eval $ac_try) 2>&5
47493   ac_status=$?
47494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47495   (exit $ac_status); }; } &&
47496          { ac_try='test -s conftest.$ac_objext'
47497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47498   (eval $ac_try) 2>&5
47499   ac_status=$?
47500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47501   (exit $ac_status); }; }; then
47502   glibcxx_cv_func_sqrtl_use=yes
47503 else
47504   echo "$as_me: failed program was:" >&5
47505 sed 's/^/| /' conftest.$ac_ext >&5
47506
47507 glibcxx_cv_func_sqrtl_use=no
47508 fi
47509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47510       ac_ext=c
47511 ac_cpp='$CPP $CPPFLAGS'
47512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47515
47516
47517 fi
47518
47519   fi
47520   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47521 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47522
47523   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47524
47525 for ac_func in sqrtl
47526 do
47527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47528 echo "$as_me:$LINENO: checking for $ac_func" >&5
47529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47530 if eval "test \"\${$as_ac_var+set}\" = set"; then
47531   echo $ECHO_N "(cached) $ECHO_C" >&6
47532 else
47533   if test x$gcc_no_link = xyes; then
47534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47536    { (exit 1); exit 1; }; }
47537 fi
47538 cat >conftest.$ac_ext <<_ACEOF
47539 /* confdefs.h.  */
47540 _ACEOF
47541 cat confdefs.h >>conftest.$ac_ext
47542 cat >>conftest.$ac_ext <<_ACEOF
47543 /* end confdefs.h.  */
47544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47546 #define $ac_func innocuous_$ac_func
47547
47548 /* System header to define __stub macros and hopefully few prototypes,
47549     which can conflict with char $ac_func (); below.
47550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47551     <limits.h> exists even on freestanding compilers.  */
47552
47553 #ifdef __STDC__
47554 # include <limits.h>
47555 #else
47556 # include <assert.h>
47557 #endif
47558
47559 #undef $ac_func
47560
47561 /* Override any gcc2 internal prototype to avoid an error.  */
47562 #ifdef __cplusplus
47563 extern "C"
47564 {
47565 #endif
47566 /* We use char because int might match the return type of a gcc2
47567    builtin and then its argument prototype would still apply.  */
47568 char $ac_func ();
47569 /* The GNU C library defines this for functions which it implements
47570     to always fail with ENOSYS.  Some functions are actually named
47571     something starting with __ and the normal name is an alias.  */
47572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47573 choke me
47574 #else
47575 char (*f) () = $ac_func;
47576 #endif
47577 #ifdef __cplusplus
47578 }
47579 #endif
47580
47581 int
47582 main ()
47583 {
47584 return f != $ac_func;
47585   ;
47586   return 0;
47587 }
47588 _ACEOF
47589 rm -f conftest.$ac_objext conftest$ac_exeext
47590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47591   (eval $ac_link) 2>conftest.er1
47592   ac_status=$?
47593   grep -v '^ *+' conftest.er1 >conftest.err
47594   rm -f conftest.er1
47595   cat conftest.err >&5
47596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47597   (exit $ac_status); } &&
47598          { ac_try='test -z "$ac_c_werror_flag"
47599                          || test ! -s conftest.err'
47600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47601   (eval $ac_try) 2>&5
47602   ac_status=$?
47603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47604   (exit $ac_status); }; } &&
47605          { ac_try='test -s conftest$ac_exeext'
47606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47607   (eval $ac_try) 2>&5
47608   ac_status=$?
47609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47610   (exit $ac_status); }; }; then
47611   eval "$as_ac_var=yes"
47612 else
47613   echo "$as_me: failed program was:" >&5
47614 sed 's/^/| /' conftest.$ac_ext >&5
47615
47616 eval "$as_ac_var=no"
47617 fi
47618 rm -f conftest.err conftest.$ac_objext \
47619       conftest$ac_exeext conftest.$ac_ext
47620 fi
47621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47623 if test `eval echo '${'$as_ac_var'}'` = yes; then
47624   cat >>confdefs.h <<_ACEOF
47625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47626 _ACEOF
47627
47628 fi
47629 done
47630
47631   else
47632
47633   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47634 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47635   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47636     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47637   echo $ECHO_N "(cached) $ECHO_C" >&6
47638 else
47639
47640
47641
47642       ac_ext=cc
47643 ac_cpp='$CXXCPP $CPPFLAGS'
47644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47647
47648       cat >conftest.$ac_ext <<_ACEOF
47649 /* confdefs.h.  */
47650 _ACEOF
47651 cat confdefs.h >>conftest.$ac_ext
47652 cat >>conftest.$ac_ext <<_ACEOF
47653 /* end confdefs.h.  */
47654 #include <math.h>
47655                       #ifdef HAVE_IEEEFP_H
47656                       #include <ieeefp.h>
47657                       #endif
47658
47659 int
47660 main ()
47661 {
47662  _sqrtl(0);
47663   ;
47664   return 0;
47665 }
47666 _ACEOF
47667 rm -f conftest.$ac_objext
47668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47669   (eval $ac_compile) 2>conftest.er1
47670   ac_status=$?
47671   grep -v '^ *+' conftest.er1 >conftest.err
47672   rm -f conftest.er1
47673   cat conftest.err >&5
47674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47675   (exit $ac_status); } &&
47676          { ac_try='test -z "$ac_cxx_werror_flag"
47677                          || test ! -s conftest.err'
47678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47679   (eval $ac_try) 2>&5
47680   ac_status=$?
47681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47682   (exit $ac_status); }; } &&
47683          { ac_try='test -s conftest.$ac_objext'
47684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47685   (eval $ac_try) 2>&5
47686   ac_status=$?
47687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47688   (exit $ac_status); }; }; then
47689   glibcxx_cv_func__sqrtl_use=yes
47690 else
47691   echo "$as_me: failed program was:" >&5
47692 sed 's/^/| /' conftest.$ac_ext >&5
47693
47694 glibcxx_cv_func__sqrtl_use=no
47695 fi
47696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47697       ac_ext=c
47698 ac_cpp='$CPP $CPPFLAGS'
47699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47702
47703
47704 fi
47705
47706   fi
47707   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47708 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47709
47710     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47711
47712 for ac_func in _sqrtl
47713 do
47714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47715 echo "$as_me:$LINENO: checking for $ac_func" >&5
47716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47717 if eval "test \"\${$as_ac_var+set}\" = set"; then
47718   echo $ECHO_N "(cached) $ECHO_C" >&6
47719 else
47720   if test x$gcc_no_link = xyes; then
47721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47723    { (exit 1); exit 1; }; }
47724 fi
47725 cat >conftest.$ac_ext <<_ACEOF
47726 /* confdefs.h.  */
47727 _ACEOF
47728 cat confdefs.h >>conftest.$ac_ext
47729 cat >>conftest.$ac_ext <<_ACEOF
47730 /* end confdefs.h.  */
47731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47733 #define $ac_func innocuous_$ac_func
47734
47735 /* System header to define __stub macros and hopefully few prototypes,
47736     which can conflict with char $ac_func (); below.
47737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47738     <limits.h> exists even on freestanding compilers.  */
47739
47740 #ifdef __STDC__
47741 # include <limits.h>
47742 #else
47743 # include <assert.h>
47744 #endif
47745
47746 #undef $ac_func
47747
47748 /* Override any gcc2 internal prototype to avoid an error.  */
47749 #ifdef __cplusplus
47750 extern "C"
47751 {
47752 #endif
47753 /* We use char because int might match the return type of a gcc2
47754    builtin and then its argument prototype would still apply.  */
47755 char $ac_func ();
47756 /* The GNU C library defines this for functions which it implements
47757     to always fail with ENOSYS.  Some functions are actually named
47758     something starting with __ and the normal name is an alias.  */
47759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47760 choke me
47761 #else
47762 char (*f) () = $ac_func;
47763 #endif
47764 #ifdef __cplusplus
47765 }
47766 #endif
47767
47768 int
47769 main ()
47770 {
47771 return f != $ac_func;
47772   ;
47773   return 0;
47774 }
47775 _ACEOF
47776 rm -f conftest.$ac_objext conftest$ac_exeext
47777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47778   (eval $ac_link) 2>conftest.er1
47779   ac_status=$?
47780   grep -v '^ *+' conftest.er1 >conftest.err
47781   rm -f conftest.er1
47782   cat conftest.err >&5
47783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47784   (exit $ac_status); } &&
47785          { ac_try='test -z "$ac_c_werror_flag"
47786                          || test ! -s conftest.err'
47787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47788   (eval $ac_try) 2>&5
47789   ac_status=$?
47790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47791   (exit $ac_status); }; } &&
47792          { ac_try='test -s conftest$ac_exeext'
47793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47794   (eval $ac_try) 2>&5
47795   ac_status=$?
47796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47797   (exit $ac_status); }; }; then
47798   eval "$as_ac_var=yes"
47799 else
47800   echo "$as_me: failed program was:" >&5
47801 sed 's/^/| /' conftest.$ac_ext >&5
47802
47803 eval "$as_ac_var=no"
47804 fi
47805 rm -f conftest.err conftest.$ac_objext \
47806       conftest$ac_exeext conftest.$ac_ext
47807 fi
47808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47810 if test `eval echo '${'$as_ac_var'}'` = yes; then
47811   cat >>confdefs.h <<_ACEOF
47812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47813 _ACEOF
47814
47815 fi
47816 done
47817
47818     fi
47819   fi
47820
47821
47822
47823
47824
47825
47826   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47827 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47828   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47829     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47830   echo $ECHO_N "(cached) $ECHO_C" >&6
47831 else
47832
47833
47834
47835       ac_ext=cc
47836 ac_cpp='$CXXCPP $CPPFLAGS'
47837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47840
47841       cat >conftest.$ac_ext <<_ACEOF
47842 /* confdefs.h.  */
47843 _ACEOF
47844 cat confdefs.h >>conftest.$ac_ext
47845 cat >>conftest.$ac_ext <<_ACEOF
47846 /* end confdefs.h.  */
47847 #include <math.h>
47848 int
47849 main ()
47850 {
47851  sincosl(0, 0, 0);
47852   ;
47853   return 0;
47854 }
47855 _ACEOF
47856 rm -f conftest.$ac_objext
47857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47858   (eval $ac_compile) 2>conftest.er1
47859   ac_status=$?
47860   grep -v '^ *+' conftest.er1 >conftest.err
47861   rm -f conftest.er1
47862   cat conftest.err >&5
47863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47864   (exit $ac_status); } &&
47865          { ac_try='test -z "$ac_cxx_werror_flag"
47866                          || test ! -s conftest.err'
47867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47868   (eval $ac_try) 2>&5
47869   ac_status=$?
47870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47871   (exit $ac_status); }; } &&
47872          { ac_try='test -s conftest.$ac_objext'
47873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47874   (eval $ac_try) 2>&5
47875   ac_status=$?
47876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47877   (exit $ac_status); }; }; then
47878   glibcxx_cv_func_sincosl_use=yes
47879 else
47880   echo "$as_me: failed program was:" >&5
47881 sed 's/^/| /' conftest.$ac_ext >&5
47882
47883 glibcxx_cv_func_sincosl_use=no
47884 fi
47885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47886       ac_ext=c
47887 ac_cpp='$CPP $CPPFLAGS'
47888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47891
47892
47893 fi
47894
47895   fi
47896   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47897 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47898
47899   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47900
47901 for ac_func in sincosl
47902 do
47903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47904 echo "$as_me:$LINENO: checking for $ac_func" >&5
47905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47906 if eval "test \"\${$as_ac_var+set}\" = set"; then
47907   echo $ECHO_N "(cached) $ECHO_C" >&6
47908 else
47909   if test x$gcc_no_link = xyes; then
47910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47912    { (exit 1); exit 1; }; }
47913 fi
47914 cat >conftest.$ac_ext <<_ACEOF
47915 /* confdefs.h.  */
47916 _ACEOF
47917 cat confdefs.h >>conftest.$ac_ext
47918 cat >>conftest.$ac_ext <<_ACEOF
47919 /* end confdefs.h.  */
47920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47922 #define $ac_func innocuous_$ac_func
47923
47924 /* System header to define __stub macros and hopefully few prototypes,
47925     which can conflict with char $ac_func (); below.
47926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47927     <limits.h> exists even on freestanding compilers.  */
47928
47929 #ifdef __STDC__
47930 # include <limits.h>
47931 #else
47932 # include <assert.h>
47933 #endif
47934
47935 #undef $ac_func
47936
47937 /* Override any gcc2 internal prototype to avoid an error.  */
47938 #ifdef __cplusplus
47939 extern "C"
47940 {
47941 #endif
47942 /* We use char because int might match the return type of a gcc2
47943    builtin and then its argument prototype would still apply.  */
47944 char $ac_func ();
47945 /* The GNU C library defines this for functions which it implements
47946     to always fail with ENOSYS.  Some functions are actually named
47947     something starting with __ and the normal name is an alias.  */
47948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47949 choke me
47950 #else
47951 char (*f) () = $ac_func;
47952 #endif
47953 #ifdef __cplusplus
47954 }
47955 #endif
47956
47957 int
47958 main ()
47959 {
47960 return f != $ac_func;
47961   ;
47962   return 0;
47963 }
47964 _ACEOF
47965 rm -f conftest.$ac_objext conftest$ac_exeext
47966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47967   (eval $ac_link) 2>conftest.er1
47968   ac_status=$?
47969   grep -v '^ *+' conftest.er1 >conftest.err
47970   rm -f conftest.er1
47971   cat conftest.err >&5
47972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47973   (exit $ac_status); } &&
47974          { ac_try='test -z "$ac_c_werror_flag"
47975                          || test ! -s conftest.err'
47976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47977   (eval $ac_try) 2>&5
47978   ac_status=$?
47979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47980   (exit $ac_status); }; } &&
47981          { ac_try='test -s conftest$ac_exeext'
47982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47983   (eval $ac_try) 2>&5
47984   ac_status=$?
47985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47986   (exit $ac_status); }; }; then
47987   eval "$as_ac_var=yes"
47988 else
47989   echo "$as_me: failed program was:" >&5
47990 sed 's/^/| /' conftest.$ac_ext >&5
47991
47992 eval "$as_ac_var=no"
47993 fi
47994 rm -f conftest.err conftest.$ac_objext \
47995       conftest$ac_exeext conftest.$ac_ext
47996 fi
47997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47999 if test `eval echo '${'$as_ac_var'}'` = yes; then
48000   cat >>confdefs.h <<_ACEOF
48001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48002 _ACEOF
48003
48004 fi
48005 done
48006
48007   else
48008
48009   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
48010 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
48011   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48012     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
48013   echo $ECHO_N "(cached) $ECHO_C" >&6
48014 else
48015
48016
48017
48018       ac_ext=cc
48019 ac_cpp='$CXXCPP $CPPFLAGS'
48020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48023
48024       cat >conftest.$ac_ext <<_ACEOF
48025 /* confdefs.h.  */
48026 _ACEOF
48027 cat confdefs.h >>conftest.$ac_ext
48028 cat >>conftest.$ac_ext <<_ACEOF
48029 /* end confdefs.h.  */
48030 #include <math.h>
48031 int
48032 main ()
48033 {
48034  _sincosl(0, 0, 0);
48035   ;
48036   return 0;
48037 }
48038 _ACEOF
48039 rm -f conftest.$ac_objext
48040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48041   (eval $ac_compile) 2>conftest.er1
48042   ac_status=$?
48043   grep -v '^ *+' conftest.er1 >conftest.err
48044   rm -f conftest.er1
48045   cat conftest.err >&5
48046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48047   (exit $ac_status); } &&
48048          { ac_try='test -z "$ac_cxx_werror_flag"
48049                          || test ! -s conftest.err'
48050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48051   (eval $ac_try) 2>&5
48052   ac_status=$?
48053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48054   (exit $ac_status); }; } &&
48055          { ac_try='test -s conftest.$ac_objext'
48056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48057   (eval $ac_try) 2>&5
48058   ac_status=$?
48059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48060   (exit $ac_status); }; }; then
48061   glibcxx_cv_func__sincosl_use=yes
48062 else
48063   echo "$as_me: failed program was:" >&5
48064 sed 's/^/| /' conftest.$ac_ext >&5
48065
48066 glibcxx_cv_func__sincosl_use=no
48067 fi
48068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48069       ac_ext=c
48070 ac_cpp='$CPP $CPPFLAGS'
48071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48074
48075
48076 fi
48077
48078   fi
48079   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
48080 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
48081
48082     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48083
48084 for ac_func in _sincosl
48085 do
48086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48087 echo "$as_me:$LINENO: checking for $ac_func" >&5
48088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48089 if eval "test \"\${$as_ac_var+set}\" = set"; then
48090   echo $ECHO_N "(cached) $ECHO_C" >&6
48091 else
48092   if test x$gcc_no_link = xyes; then
48093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48095    { (exit 1); exit 1; }; }
48096 fi
48097 cat >conftest.$ac_ext <<_ACEOF
48098 /* confdefs.h.  */
48099 _ACEOF
48100 cat confdefs.h >>conftest.$ac_ext
48101 cat >>conftest.$ac_ext <<_ACEOF
48102 /* end confdefs.h.  */
48103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48104    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48105 #define $ac_func innocuous_$ac_func
48106
48107 /* System header to define __stub macros and hopefully few prototypes,
48108     which can conflict with char $ac_func (); below.
48109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48110     <limits.h> exists even on freestanding compilers.  */
48111
48112 #ifdef __STDC__
48113 # include <limits.h>
48114 #else
48115 # include <assert.h>
48116 #endif
48117
48118 #undef $ac_func
48119
48120 /* Override any gcc2 internal prototype to avoid an error.  */
48121 #ifdef __cplusplus
48122 extern "C"
48123 {
48124 #endif
48125 /* We use char because int might match the return type of a gcc2
48126    builtin and then its argument prototype would still apply.  */
48127 char $ac_func ();
48128 /* The GNU C library defines this for functions which it implements
48129     to always fail with ENOSYS.  Some functions are actually named
48130     something starting with __ and the normal name is an alias.  */
48131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48132 choke me
48133 #else
48134 char (*f) () = $ac_func;
48135 #endif
48136 #ifdef __cplusplus
48137 }
48138 #endif
48139
48140 int
48141 main ()
48142 {
48143 return f != $ac_func;
48144   ;
48145   return 0;
48146 }
48147 _ACEOF
48148 rm -f conftest.$ac_objext conftest$ac_exeext
48149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48150   (eval $ac_link) 2>conftest.er1
48151   ac_status=$?
48152   grep -v '^ *+' conftest.er1 >conftest.err
48153   rm -f conftest.er1
48154   cat conftest.err >&5
48155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48156   (exit $ac_status); } &&
48157          { ac_try='test -z "$ac_c_werror_flag"
48158                          || test ! -s conftest.err'
48159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48160   (eval $ac_try) 2>&5
48161   ac_status=$?
48162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48163   (exit $ac_status); }; } &&
48164          { ac_try='test -s conftest$ac_exeext'
48165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48166   (eval $ac_try) 2>&5
48167   ac_status=$?
48168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48169   (exit $ac_status); }; }; then
48170   eval "$as_ac_var=yes"
48171 else
48172   echo "$as_me: failed program was:" >&5
48173 sed 's/^/| /' conftest.$ac_ext >&5
48174
48175 eval "$as_ac_var=no"
48176 fi
48177 rm -f conftest.err conftest.$ac_objext \
48178       conftest$ac_exeext conftest.$ac_ext
48179 fi
48180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48182 if test `eval echo '${'$as_ac_var'}'` = yes; then
48183   cat >>confdefs.h <<_ACEOF
48184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48185 _ACEOF
48186
48187 fi
48188 done
48189
48190     fi
48191   fi
48192
48193
48194
48195
48196
48197
48198   echo "$as_me:$LINENO: checking for finitel declaration" >&5
48199 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48200   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48201     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48202   echo $ECHO_N "(cached) $ECHO_C" >&6
48203 else
48204
48205
48206
48207       ac_ext=cc
48208 ac_cpp='$CXXCPP $CPPFLAGS'
48209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48212
48213       cat >conftest.$ac_ext <<_ACEOF
48214 /* confdefs.h.  */
48215 _ACEOF
48216 cat confdefs.h >>conftest.$ac_ext
48217 cat >>conftest.$ac_ext <<_ACEOF
48218 /* end confdefs.h.  */
48219 #include <math.h>
48220                       #ifdef HAVE_IEEEFP_H
48221                       #include <ieeefp.h>
48222                       #endif
48223
48224 int
48225 main ()
48226 {
48227  finitel(0);
48228   ;
48229   return 0;
48230 }
48231 _ACEOF
48232 rm -f conftest.$ac_objext
48233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48234   (eval $ac_compile) 2>conftest.er1
48235   ac_status=$?
48236   grep -v '^ *+' conftest.er1 >conftest.err
48237   rm -f conftest.er1
48238   cat conftest.err >&5
48239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48240   (exit $ac_status); } &&
48241          { ac_try='test -z "$ac_cxx_werror_flag"
48242                          || test ! -s conftest.err'
48243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48244   (eval $ac_try) 2>&5
48245   ac_status=$?
48246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48247   (exit $ac_status); }; } &&
48248          { ac_try='test -s conftest.$ac_objext'
48249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48250   (eval $ac_try) 2>&5
48251   ac_status=$?
48252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48253   (exit $ac_status); }; }; then
48254   glibcxx_cv_func_finitel_use=yes
48255 else
48256   echo "$as_me: failed program was:" >&5
48257 sed 's/^/| /' conftest.$ac_ext >&5
48258
48259 glibcxx_cv_func_finitel_use=no
48260 fi
48261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48262       ac_ext=c
48263 ac_cpp='$CPP $CPPFLAGS'
48264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48267
48268
48269 fi
48270
48271   fi
48272   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48273 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48274
48275   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48276
48277 for ac_func in finitel
48278 do
48279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48280 echo "$as_me:$LINENO: checking for $ac_func" >&5
48281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48282 if eval "test \"\${$as_ac_var+set}\" = set"; then
48283   echo $ECHO_N "(cached) $ECHO_C" >&6
48284 else
48285   if test x$gcc_no_link = xyes; then
48286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48288    { (exit 1); exit 1; }; }
48289 fi
48290 cat >conftest.$ac_ext <<_ACEOF
48291 /* confdefs.h.  */
48292 _ACEOF
48293 cat confdefs.h >>conftest.$ac_ext
48294 cat >>conftest.$ac_ext <<_ACEOF
48295 /* end confdefs.h.  */
48296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48298 #define $ac_func innocuous_$ac_func
48299
48300 /* System header to define __stub macros and hopefully few prototypes,
48301     which can conflict with char $ac_func (); below.
48302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48303     <limits.h> exists even on freestanding compilers.  */
48304
48305 #ifdef __STDC__
48306 # include <limits.h>
48307 #else
48308 # include <assert.h>
48309 #endif
48310
48311 #undef $ac_func
48312
48313 /* Override any gcc2 internal prototype to avoid an error.  */
48314 #ifdef __cplusplus
48315 extern "C"
48316 {
48317 #endif
48318 /* We use char because int might match the return type of a gcc2
48319    builtin and then its argument prototype would still apply.  */
48320 char $ac_func ();
48321 /* The GNU C library defines this for functions which it implements
48322     to always fail with ENOSYS.  Some functions are actually named
48323     something starting with __ and the normal name is an alias.  */
48324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48325 choke me
48326 #else
48327 char (*f) () = $ac_func;
48328 #endif
48329 #ifdef __cplusplus
48330 }
48331 #endif
48332
48333 int
48334 main ()
48335 {
48336 return f != $ac_func;
48337   ;
48338   return 0;
48339 }
48340 _ACEOF
48341 rm -f conftest.$ac_objext conftest$ac_exeext
48342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48343   (eval $ac_link) 2>conftest.er1
48344   ac_status=$?
48345   grep -v '^ *+' conftest.er1 >conftest.err
48346   rm -f conftest.er1
48347   cat conftest.err >&5
48348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48349   (exit $ac_status); } &&
48350          { ac_try='test -z "$ac_c_werror_flag"
48351                          || test ! -s conftest.err'
48352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48353   (eval $ac_try) 2>&5
48354   ac_status=$?
48355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48356   (exit $ac_status); }; } &&
48357          { ac_try='test -s conftest$ac_exeext'
48358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48359   (eval $ac_try) 2>&5
48360   ac_status=$?
48361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48362   (exit $ac_status); }; }; then
48363   eval "$as_ac_var=yes"
48364 else
48365   echo "$as_me: failed program was:" >&5
48366 sed 's/^/| /' conftest.$ac_ext >&5
48367
48368 eval "$as_ac_var=no"
48369 fi
48370 rm -f conftest.err conftest.$ac_objext \
48371       conftest$ac_exeext conftest.$ac_ext
48372 fi
48373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48375 if test `eval echo '${'$as_ac_var'}'` = yes; then
48376   cat >>confdefs.h <<_ACEOF
48377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48378 _ACEOF
48379
48380 fi
48381 done
48382
48383   else
48384
48385   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48386 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48387   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48388     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48389   echo $ECHO_N "(cached) $ECHO_C" >&6
48390 else
48391
48392
48393
48394       ac_ext=cc
48395 ac_cpp='$CXXCPP $CPPFLAGS'
48396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48399
48400       cat >conftest.$ac_ext <<_ACEOF
48401 /* confdefs.h.  */
48402 _ACEOF
48403 cat confdefs.h >>conftest.$ac_ext
48404 cat >>conftest.$ac_ext <<_ACEOF
48405 /* end confdefs.h.  */
48406 #include <math.h>
48407                       #ifdef HAVE_IEEEFP_H
48408                       #include <ieeefp.h>
48409                       #endif
48410
48411 int
48412 main ()
48413 {
48414  _finitel(0);
48415   ;
48416   return 0;
48417 }
48418 _ACEOF
48419 rm -f conftest.$ac_objext
48420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48421   (eval $ac_compile) 2>conftest.er1
48422   ac_status=$?
48423   grep -v '^ *+' conftest.er1 >conftest.err
48424   rm -f conftest.er1
48425   cat conftest.err >&5
48426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48427   (exit $ac_status); } &&
48428          { ac_try='test -z "$ac_cxx_werror_flag"
48429                          || test ! -s conftest.err'
48430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48431   (eval $ac_try) 2>&5
48432   ac_status=$?
48433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48434   (exit $ac_status); }; } &&
48435          { ac_try='test -s conftest.$ac_objext'
48436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48437   (eval $ac_try) 2>&5
48438   ac_status=$?
48439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48440   (exit $ac_status); }; }; then
48441   glibcxx_cv_func__finitel_use=yes
48442 else
48443   echo "$as_me: failed program was:" >&5
48444 sed 's/^/| /' conftest.$ac_ext >&5
48445
48446 glibcxx_cv_func__finitel_use=no
48447 fi
48448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48449       ac_ext=c
48450 ac_cpp='$CPP $CPPFLAGS'
48451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48454
48455
48456 fi
48457
48458   fi
48459   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48460 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48461
48462     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48463
48464 for ac_func in _finitel
48465 do
48466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48467 echo "$as_me:$LINENO: checking for $ac_func" >&5
48468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48469 if eval "test \"\${$as_ac_var+set}\" = set"; then
48470   echo $ECHO_N "(cached) $ECHO_C" >&6
48471 else
48472   if test x$gcc_no_link = xyes; then
48473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48475    { (exit 1); exit 1; }; }
48476 fi
48477 cat >conftest.$ac_ext <<_ACEOF
48478 /* confdefs.h.  */
48479 _ACEOF
48480 cat confdefs.h >>conftest.$ac_ext
48481 cat >>conftest.$ac_ext <<_ACEOF
48482 /* end confdefs.h.  */
48483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48485 #define $ac_func innocuous_$ac_func
48486
48487 /* System header to define __stub macros and hopefully few prototypes,
48488     which can conflict with char $ac_func (); below.
48489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48490     <limits.h> exists even on freestanding compilers.  */
48491
48492 #ifdef __STDC__
48493 # include <limits.h>
48494 #else
48495 # include <assert.h>
48496 #endif
48497
48498 #undef $ac_func
48499
48500 /* Override any gcc2 internal prototype to avoid an error.  */
48501 #ifdef __cplusplus
48502 extern "C"
48503 {
48504 #endif
48505 /* We use char because int might match the return type of a gcc2
48506    builtin and then its argument prototype would still apply.  */
48507 char $ac_func ();
48508 /* The GNU C library defines this for functions which it implements
48509     to always fail with ENOSYS.  Some functions are actually named
48510     something starting with __ and the normal name is an alias.  */
48511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48512 choke me
48513 #else
48514 char (*f) () = $ac_func;
48515 #endif
48516 #ifdef __cplusplus
48517 }
48518 #endif
48519
48520 int
48521 main ()
48522 {
48523 return f != $ac_func;
48524   ;
48525   return 0;
48526 }
48527 _ACEOF
48528 rm -f conftest.$ac_objext conftest$ac_exeext
48529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48530   (eval $ac_link) 2>conftest.er1
48531   ac_status=$?
48532   grep -v '^ *+' conftest.er1 >conftest.err
48533   rm -f conftest.er1
48534   cat conftest.err >&5
48535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48536   (exit $ac_status); } &&
48537          { ac_try='test -z "$ac_c_werror_flag"
48538                          || test ! -s conftest.err'
48539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48540   (eval $ac_try) 2>&5
48541   ac_status=$?
48542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48543   (exit $ac_status); }; } &&
48544          { ac_try='test -s conftest$ac_exeext'
48545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48546   (eval $ac_try) 2>&5
48547   ac_status=$?
48548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48549   (exit $ac_status); }; }; then
48550   eval "$as_ac_var=yes"
48551 else
48552   echo "$as_me: failed program was:" >&5
48553 sed 's/^/| /' conftest.$ac_ext >&5
48554
48555 eval "$as_ac_var=no"
48556 fi
48557 rm -f conftest.err conftest.$ac_objext \
48558       conftest$ac_exeext conftest.$ac_ext
48559 fi
48560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48562 if test `eval echo '${'$as_ac_var'}'` = yes; then
48563   cat >>confdefs.h <<_ACEOF
48564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48565 _ACEOF
48566
48567 fi
48568 done
48569
48570     fi
48571   fi
48572
48573
48574
48575
48576
48577   LIBS="$ac_save_LIBS"
48578   CXXFLAGS="$ac_save_CXXFLAGS"
48579
48580
48581
48582   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48583 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48584   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48585     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48586   echo $ECHO_N "(cached) $ECHO_C" >&6
48587 else
48588
48589
48590
48591       ac_ext=cc
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48596
48597       cat >conftest.$ac_ext <<_ACEOF
48598 /* confdefs.h.  */
48599 _ACEOF
48600 cat confdefs.h >>conftest.$ac_ext
48601 cat >>conftest.$ac_ext <<_ACEOF
48602 /* end confdefs.h.  */
48603 #include <math.h>
48604 int
48605 main ()
48606 {
48607  __builtin_abs(0);
48608   ;
48609   return 0;
48610 }
48611 _ACEOF
48612 rm -f conftest.$ac_objext
48613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48614   (eval $ac_compile) 2>conftest.er1
48615   ac_status=$?
48616   grep -v '^ *+' conftest.er1 >conftest.err
48617   rm -f conftest.er1
48618   cat conftest.err >&5
48619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48620   (exit $ac_status); } &&
48621          { ac_try='test -z "$ac_cxx_werror_flag"
48622                          || test ! -s conftest.err'
48623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48624   (eval $ac_try) 2>&5
48625   ac_status=$?
48626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48627   (exit $ac_status); }; } &&
48628          { ac_try='test -s conftest.$ac_objext'
48629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48630   (eval $ac_try) 2>&5
48631   ac_status=$?
48632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48633   (exit $ac_status); }; }; then
48634   glibcxx_cv_func___builtin_abs_use=yes
48635 else
48636   echo "$as_me: failed program was:" >&5
48637 sed 's/^/| /' conftest.$ac_ext >&5
48638
48639 glibcxx_cv_func___builtin_abs_use=no
48640 fi
48641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48642       ac_ext=c
48643 ac_cpp='$CPP $CPPFLAGS'
48644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48647
48648
48649 fi
48650
48651   fi
48652   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48653 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48654   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48655     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48656 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48657     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48658       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48659   echo $ECHO_N "(cached) $ECHO_C" >&6
48660 else
48661
48662         if test x$gcc_no_link = xyes; then
48663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48665    { (exit 1); exit 1; }; }
48666 fi
48667 cat >conftest.$ac_ext <<_ACEOF
48668 /* confdefs.h.  */
48669 _ACEOF
48670 cat confdefs.h >>conftest.$ac_ext
48671 cat >>conftest.$ac_ext <<_ACEOF
48672 /* end confdefs.h.  */
48673 #include <math.h>
48674 int
48675 main ()
48676 {
48677  __builtin_abs(0);
48678   ;
48679   return 0;
48680 }
48681 _ACEOF
48682 rm -f conftest.$ac_objext conftest$ac_exeext
48683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48684   (eval $ac_link) 2>conftest.er1
48685   ac_status=$?
48686   grep -v '^ *+' conftest.er1 >conftest.err
48687   rm -f conftest.er1
48688   cat conftest.err >&5
48689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690   (exit $ac_status); } &&
48691          { ac_try='test -z "$ac_c_werror_flag"
48692                          || test ! -s conftest.err'
48693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48694   (eval $ac_try) 2>&5
48695   ac_status=$?
48696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48697   (exit $ac_status); }; } &&
48698          { ac_try='test -s conftest$ac_exeext'
48699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48700   (eval $ac_try) 2>&5
48701   ac_status=$?
48702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48703   (exit $ac_status); }; }; then
48704   glibcxx_cv_func___builtin_abs_link=yes
48705 else
48706   echo "$as_me: failed program was:" >&5
48707 sed 's/^/| /' conftest.$ac_ext >&5
48708
48709 glibcxx_cv_func___builtin_abs_link=no
48710 fi
48711 rm -f conftest.err conftest.$ac_objext \
48712       conftest$ac_exeext conftest.$ac_ext
48713
48714 fi
48715
48716     fi
48717     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48718 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48719
48720     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48721
48722 cat >>confdefs.h <<\_ACEOF
48723 #define HAVE___BUILTIN_ABS 1
48724 _ACEOF
48725
48726     fi
48727
48728   fi
48729
48730
48731   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48732 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48733   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48734     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48735   echo $ECHO_N "(cached) $ECHO_C" >&6
48736 else
48737
48738
48739
48740       ac_ext=cc
48741 ac_cpp='$CXXCPP $CPPFLAGS'
48742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48745
48746       cat >conftest.$ac_ext <<_ACEOF
48747 /* confdefs.h.  */
48748 _ACEOF
48749 cat confdefs.h >>conftest.$ac_ext
48750 cat >>conftest.$ac_ext <<_ACEOF
48751 /* end confdefs.h.  */
48752 #include <math.h>
48753 int
48754 main ()
48755 {
48756  __builtin_fabsf(0);
48757   ;
48758   return 0;
48759 }
48760 _ACEOF
48761 rm -f conftest.$ac_objext
48762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48763   (eval $ac_compile) 2>conftest.er1
48764   ac_status=$?
48765   grep -v '^ *+' conftest.er1 >conftest.err
48766   rm -f conftest.er1
48767   cat conftest.err >&5
48768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48769   (exit $ac_status); } &&
48770          { ac_try='test -z "$ac_cxx_werror_flag"
48771                          || test ! -s conftest.err'
48772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48773   (eval $ac_try) 2>&5
48774   ac_status=$?
48775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776   (exit $ac_status); }; } &&
48777          { ac_try='test -s conftest.$ac_objext'
48778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48779   (eval $ac_try) 2>&5
48780   ac_status=$?
48781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48782   (exit $ac_status); }; }; then
48783   glibcxx_cv_func___builtin_fabsf_use=yes
48784 else
48785   echo "$as_me: failed program was:" >&5
48786 sed 's/^/| /' conftest.$ac_ext >&5
48787
48788 glibcxx_cv_func___builtin_fabsf_use=no
48789 fi
48790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48791       ac_ext=c
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48796
48797
48798 fi
48799
48800   fi
48801   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48802 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48803   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48804     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48805 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48806     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48807       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48808   echo $ECHO_N "(cached) $ECHO_C" >&6
48809 else
48810
48811         if test x$gcc_no_link = xyes; then
48812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48814    { (exit 1); exit 1; }; }
48815 fi
48816 cat >conftest.$ac_ext <<_ACEOF
48817 /* confdefs.h.  */
48818 _ACEOF
48819 cat confdefs.h >>conftest.$ac_ext
48820 cat >>conftest.$ac_ext <<_ACEOF
48821 /* end confdefs.h.  */
48822 #include <math.h>
48823 int
48824 main ()
48825 {
48826  __builtin_fabsf(0);
48827   ;
48828   return 0;
48829 }
48830 _ACEOF
48831 rm -f conftest.$ac_objext conftest$ac_exeext
48832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48833   (eval $ac_link) 2>conftest.er1
48834   ac_status=$?
48835   grep -v '^ *+' conftest.er1 >conftest.err
48836   rm -f conftest.er1
48837   cat conftest.err >&5
48838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48839   (exit $ac_status); } &&
48840          { ac_try='test -z "$ac_c_werror_flag"
48841                          || test ! -s conftest.err'
48842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48843   (eval $ac_try) 2>&5
48844   ac_status=$?
48845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48846   (exit $ac_status); }; } &&
48847          { ac_try='test -s conftest$ac_exeext'
48848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48849   (eval $ac_try) 2>&5
48850   ac_status=$?
48851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48852   (exit $ac_status); }; }; then
48853   glibcxx_cv_func___builtin_fabsf_link=yes
48854 else
48855   echo "$as_me: failed program was:" >&5
48856 sed 's/^/| /' conftest.$ac_ext >&5
48857
48858 glibcxx_cv_func___builtin_fabsf_link=no
48859 fi
48860 rm -f conftest.err conftest.$ac_objext \
48861       conftest$ac_exeext conftest.$ac_ext
48862
48863 fi
48864
48865     fi
48866     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48867 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48868
48869     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48870
48871 cat >>confdefs.h <<\_ACEOF
48872 #define HAVE___BUILTIN_FABSF 1
48873 _ACEOF
48874
48875     fi
48876
48877   fi
48878
48879
48880   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48881 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48882   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48883     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48884   echo $ECHO_N "(cached) $ECHO_C" >&6
48885 else
48886
48887
48888
48889       ac_ext=cc
48890 ac_cpp='$CXXCPP $CPPFLAGS'
48891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48894
48895       cat >conftest.$ac_ext <<_ACEOF
48896 /* confdefs.h.  */
48897 _ACEOF
48898 cat confdefs.h >>conftest.$ac_ext
48899 cat >>conftest.$ac_ext <<_ACEOF
48900 /* end confdefs.h.  */
48901 #include <math.h>
48902 int
48903 main ()
48904 {
48905  __builtin_fabs(0);
48906   ;
48907   return 0;
48908 }
48909 _ACEOF
48910 rm -f conftest.$ac_objext
48911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48912   (eval $ac_compile) 2>conftest.er1
48913   ac_status=$?
48914   grep -v '^ *+' conftest.er1 >conftest.err
48915   rm -f conftest.er1
48916   cat conftest.err >&5
48917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48918   (exit $ac_status); } &&
48919          { ac_try='test -z "$ac_cxx_werror_flag"
48920                          || test ! -s conftest.err'
48921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48922   (eval $ac_try) 2>&5
48923   ac_status=$?
48924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48925   (exit $ac_status); }; } &&
48926          { ac_try='test -s conftest.$ac_objext'
48927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48928   (eval $ac_try) 2>&5
48929   ac_status=$?
48930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48931   (exit $ac_status); }; }; then
48932   glibcxx_cv_func___builtin_fabs_use=yes
48933 else
48934   echo "$as_me: failed program was:" >&5
48935 sed 's/^/| /' conftest.$ac_ext >&5
48936
48937 glibcxx_cv_func___builtin_fabs_use=no
48938 fi
48939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48940       ac_ext=c
48941 ac_cpp='$CPP $CPPFLAGS'
48942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48945
48946
48947 fi
48948
48949   fi
48950   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48951 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48952   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48953     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48954 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48955     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48956       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48957   echo $ECHO_N "(cached) $ECHO_C" >&6
48958 else
48959
48960         if test x$gcc_no_link = xyes; then
48961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48963    { (exit 1); exit 1; }; }
48964 fi
48965 cat >conftest.$ac_ext <<_ACEOF
48966 /* confdefs.h.  */
48967 _ACEOF
48968 cat confdefs.h >>conftest.$ac_ext
48969 cat >>conftest.$ac_ext <<_ACEOF
48970 /* end confdefs.h.  */
48971 #include <math.h>
48972 int
48973 main ()
48974 {
48975  __builtin_fabs(0);
48976   ;
48977   return 0;
48978 }
48979 _ACEOF
48980 rm -f conftest.$ac_objext conftest$ac_exeext
48981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48982   (eval $ac_link) 2>conftest.er1
48983   ac_status=$?
48984   grep -v '^ *+' conftest.er1 >conftest.err
48985   rm -f conftest.er1
48986   cat conftest.err >&5
48987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48988   (exit $ac_status); } &&
48989          { ac_try='test -z "$ac_c_werror_flag"
48990                          || test ! -s conftest.err'
48991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48992   (eval $ac_try) 2>&5
48993   ac_status=$?
48994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48995   (exit $ac_status); }; } &&
48996          { ac_try='test -s conftest$ac_exeext'
48997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48998   (eval $ac_try) 2>&5
48999   ac_status=$?
49000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49001   (exit $ac_status); }; }; then
49002   glibcxx_cv_func___builtin_fabs_link=yes
49003 else
49004   echo "$as_me: failed program was:" >&5
49005 sed 's/^/| /' conftest.$ac_ext >&5
49006
49007 glibcxx_cv_func___builtin_fabs_link=no
49008 fi
49009 rm -f conftest.err conftest.$ac_objext \
49010       conftest$ac_exeext conftest.$ac_ext
49011
49012 fi
49013
49014     fi
49015     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
49016 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
49017
49018     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
49019
49020 cat >>confdefs.h <<\_ACEOF
49021 #define HAVE___BUILTIN_FABS 1
49022 _ACEOF
49023
49024     fi
49025
49026   fi
49027
49028
49029   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
49030 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
49031   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
49032     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
49033   echo $ECHO_N "(cached) $ECHO_C" >&6
49034 else
49035
49036
49037
49038       ac_ext=cc
49039 ac_cpp='$CXXCPP $CPPFLAGS'
49040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49043
49044       cat >conftest.$ac_ext <<_ACEOF
49045 /* confdefs.h.  */
49046 _ACEOF
49047 cat confdefs.h >>conftest.$ac_ext
49048 cat >>conftest.$ac_ext <<_ACEOF
49049 /* end confdefs.h.  */
49050 #include <math.h>
49051 int
49052 main ()
49053 {
49054  __builtin_fabsl(0);
49055   ;
49056   return 0;
49057 }
49058 _ACEOF
49059 rm -f conftest.$ac_objext
49060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49061   (eval $ac_compile) 2>conftest.er1
49062   ac_status=$?
49063   grep -v '^ *+' conftest.er1 >conftest.err
49064   rm -f conftest.er1
49065   cat conftest.err >&5
49066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49067   (exit $ac_status); } &&
49068          { ac_try='test -z "$ac_cxx_werror_flag"
49069                          || test ! -s conftest.err'
49070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49071   (eval $ac_try) 2>&5
49072   ac_status=$?
49073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49074   (exit $ac_status); }; } &&
49075          { ac_try='test -s conftest.$ac_objext'
49076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49077   (eval $ac_try) 2>&5
49078   ac_status=$?
49079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49080   (exit $ac_status); }; }; then
49081   glibcxx_cv_func___builtin_fabsl_use=yes
49082 else
49083   echo "$as_me: failed program was:" >&5
49084 sed 's/^/| /' conftest.$ac_ext >&5
49085
49086 glibcxx_cv_func___builtin_fabsl_use=no
49087 fi
49088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49089       ac_ext=c
49090 ac_cpp='$CPP $CPPFLAGS'
49091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49094
49095
49096 fi
49097
49098   fi
49099   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
49100 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
49101   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
49102     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
49103 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
49104     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
49105       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
49106   echo $ECHO_N "(cached) $ECHO_C" >&6
49107 else
49108
49109         if test x$gcc_no_link = xyes; then
49110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49112    { (exit 1); exit 1; }; }
49113 fi
49114 cat >conftest.$ac_ext <<_ACEOF
49115 /* confdefs.h.  */
49116 _ACEOF
49117 cat confdefs.h >>conftest.$ac_ext
49118 cat >>conftest.$ac_ext <<_ACEOF
49119 /* end confdefs.h.  */
49120 #include <math.h>
49121 int
49122 main ()
49123 {
49124  __builtin_fabsl(0);
49125   ;
49126   return 0;
49127 }
49128 _ACEOF
49129 rm -f conftest.$ac_objext conftest$ac_exeext
49130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49131   (eval $ac_link) 2>conftest.er1
49132   ac_status=$?
49133   grep -v '^ *+' conftest.er1 >conftest.err
49134   rm -f conftest.er1
49135   cat conftest.err >&5
49136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49137   (exit $ac_status); } &&
49138          { ac_try='test -z "$ac_c_werror_flag"
49139                          || test ! -s conftest.err'
49140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49141   (eval $ac_try) 2>&5
49142   ac_status=$?
49143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49144   (exit $ac_status); }; } &&
49145          { ac_try='test -s conftest$ac_exeext'
49146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49147   (eval $ac_try) 2>&5
49148   ac_status=$?
49149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49150   (exit $ac_status); }; }; then
49151   glibcxx_cv_func___builtin_fabsl_link=yes
49152 else
49153   echo "$as_me: failed program was:" >&5
49154 sed 's/^/| /' conftest.$ac_ext >&5
49155
49156 glibcxx_cv_func___builtin_fabsl_link=no
49157 fi
49158 rm -f conftest.err conftest.$ac_objext \
49159       conftest$ac_exeext conftest.$ac_ext
49160
49161 fi
49162
49163     fi
49164     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49165 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49166
49167     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49168
49169 cat >>confdefs.h <<\_ACEOF
49170 #define HAVE___BUILTIN_FABSL 1
49171 _ACEOF
49172
49173     fi
49174
49175   fi
49176
49177
49178   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49179 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49180   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49181     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49182   echo $ECHO_N "(cached) $ECHO_C" >&6
49183 else
49184
49185
49186
49187       ac_ext=cc
49188 ac_cpp='$CXXCPP $CPPFLAGS'
49189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49192
49193       cat >conftest.$ac_ext <<_ACEOF
49194 /* confdefs.h.  */
49195 _ACEOF
49196 cat confdefs.h >>conftest.$ac_ext
49197 cat >>conftest.$ac_ext <<_ACEOF
49198 /* end confdefs.h.  */
49199 #include <math.h>
49200 int
49201 main ()
49202 {
49203  __builtin_labs(0);
49204   ;
49205   return 0;
49206 }
49207 _ACEOF
49208 rm -f conftest.$ac_objext
49209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49210   (eval $ac_compile) 2>conftest.er1
49211   ac_status=$?
49212   grep -v '^ *+' conftest.er1 >conftest.err
49213   rm -f conftest.er1
49214   cat conftest.err >&5
49215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49216   (exit $ac_status); } &&
49217          { ac_try='test -z "$ac_cxx_werror_flag"
49218                          || test ! -s conftest.err'
49219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49220   (eval $ac_try) 2>&5
49221   ac_status=$?
49222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49223   (exit $ac_status); }; } &&
49224          { ac_try='test -s conftest.$ac_objext'
49225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49226   (eval $ac_try) 2>&5
49227   ac_status=$?
49228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49229   (exit $ac_status); }; }; then
49230   glibcxx_cv_func___builtin_labs_use=yes
49231 else
49232   echo "$as_me: failed program was:" >&5
49233 sed 's/^/| /' conftest.$ac_ext >&5
49234
49235 glibcxx_cv_func___builtin_labs_use=no
49236 fi
49237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49238       ac_ext=c
49239 ac_cpp='$CPP $CPPFLAGS'
49240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49243
49244
49245 fi
49246
49247   fi
49248   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49249 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49250   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49251     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49252 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49253     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49254       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49255   echo $ECHO_N "(cached) $ECHO_C" >&6
49256 else
49257
49258         if test x$gcc_no_link = xyes; then
49259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49261    { (exit 1); exit 1; }; }
49262 fi
49263 cat >conftest.$ac_ext <<_ACEOF
49264 /* confdefs.h.  */
49265 _ACEOF
49266 cat confdefs.h >>conftest.$ac_ext
49267 cat >>conftest.$ac_ext <<_ACEOF
49268 /* end confdefs.h.  */
49269 #include <math.h>
49270 int
49271 main ()
49272 {
49273  __builtin_labs(0);
49274   ;
49275   return 0;
49276 }
49277 _ACEOF
49278 rm -f conftest.$ac_objext conftest$ac_exeext
49279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49280   (eval $ac_link) 2>conftest.er1
49281   ac_status=$?
49282   grep -v '^ *+' conftest.er1 >conftest.err
49283   rm -f conftest.er1
49284   cat conftest.err >&5
49285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49286   (exit $ac_status); } &&
49287          { ac_try='test -z "$ac_c_werror_flag"
49288                          || test ! -s conftest.err'
49289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49290   (eval $ac_try) 2>&5
49291   ac_status=$?
49292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49293   (exit $ac_status); }; } &&
49294          { ac_try='test -s conftest$ac_exeext'
49295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49296   (eval $ac_try) 2>&5
49297   ac_status=$?
49298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299   (exit $ac_status); }; }; then
49300   glibcxx_cv_func___builtin_labs_link=yes
49301 else
49302   echo "$as_me: failed program was:" >&5
49303 sed 's/^/| /' conftest.$ac_ext >&5
49304
49305 glibcxx_cv_func___builtin_labs_link=no
49306 fi
49307 rm -f conftest.err conftest.$ac_objext \
49308       conftest$ac_exeext conftest.$ac_ext
49309
49310 fi
49311
49312     fi
49313     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49314 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49315
49316     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49317
49318 cat >>confdefs.h <<\_ACEOF
49319 #define HAVE___BUILTIN_LABS 1
49320 _ACEOF
49321
49322     fi
49323
49324   fi
49325
49326
49327
49328   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49329 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49330   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49331     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49332   echo $ECHO_N "(cached) $ECHO_C" >&6
49333 else
49334
49335
49336
49337       ac_ext=cc
49338 ac_cpp='$CXXCPP $CPPFLAGS'
49339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49342
49343       cat >conftest.$ac_ext <<_ACEOF
49344 /* confdefs.h.  */
49345 _ACEOF
49346 cat confdefs.h >>conftest.$ac_ext
49347 cat >>conftest.$ac_ext <<_ACEOF
49348 /* end confdefs.h.  */
49349 #include <math.h>
49350 int
49351 main ()
49352 {
49353  __builtin_sqrtf(0);
49354   ;
49355   return 0;
49356 }
49357 _ACEOF
49358 rm -f conftest.$ac_objext
49359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49360   (eval $ac_compile) 2>conftest.er1
49361   ac_status=$?
49362   grep -v '^ *+' conftest.er1 >conftest.err
49363   rm -f conftest.er1
49364   cat conftest.err >&5
49365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49366   (exit $ac_status); } &&
49367          { ac_try='test -z "$ac_cxx_werror_flag"
49368                          || test ! -s conftest.err'
49369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49370   (eval $ac_try) 2>&5
49371   ac_status=$?
49372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49373   (exit $ac_status); }; } &&
49374          { ac_try='test -s conftest.$ac_objext'
49375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49376   (eval $ac_try) 2>&5
49377   ac_status=$?
49378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379   (exit $ac_status); }; }; then
49380   glibcxx_cv_func___builtin_sqrtf_use=yes
49381 else
49382   echo "$as_me: failed program was:" >&5
49383 sed 's/^/| /' conftest.$ac_ext >&5
49384
49385 glibcxx_cv_func___builtin_sqrtf_use=no
49386 fi
49387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49388       ac_ext=c
49389 ac_cpp='$CPP $CPPFLAGS'
49390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49393
49394
49395 fi
49396
49397   fi
49398   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49399 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49400   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49401     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49402 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49403     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49404       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49405   echo $ECHO_N "(cached) $ECHO_C" >&6
49406 else
49407
49408         if test x$gcc_no_link = xyes; then
49409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49411    { (exit 1); exit 1; }; }
49412 fi
49413 cat >conftest.$ac_ext <<_ACEOF
49414 /* confdefs.h.  */
49415 _ACEOF
49416 cat confdefs.h >>conftest.$ac_ext
49417 cat >>conftest.$ac_ext <<_ACEOF
49418 /* end confdefs.h.  */
49419 #include <math.h>
49420 int
49421 main ()
49422 {
49423  __builtin_sqrtf(0);
49424   ;
49425   return 0;
49426 }
49427 _ACEOF
49428 rm -f conftest.$ac_objext conftest$ac_exeext
49429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49430   (eval $ac_link) 2>conftest.er1
49431   ac_status=$?
49432   grep -v '^ *+' conftest.er1 >conftest.err
49433   rm -f conftest.er1
49434   cat conftest.err >&5
49435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49436   (exit $ac_status); } &&
49437          { ac_try='test -z "$ac_c_werror_flag"
49438                          || test ! -s conftest.err'
49439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49440   (eval $ac_try) 2>&5
49441   ac_status=$?
49442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49443   (exit $ac_status); }; } &&
49444          { ac_try='test -s conftest$ac_exeext'
49445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49446   (eval $ac_try) 2>&5
49447   ac_status=$?
49448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49449   (exit $ac_status); }; }; then
49450   glibcxx_cv_func___builtin_sqrtf_link=yes
49451 else
49452   echo "$as_me: failed program was:" >&5
49453 sed 's/^/| /' conftest.$ac_ext >&5
49454
49455 glibcxx_cv_func___builtin_sqrtf_link=no
49456 fi
49457 rm -f conftest.err conftest.$ac_objext \
49458       conftest$ac_exeext conftest.$ac_ext
49459
49460 fi
49461
49462     fi
49463     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49464 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49465
49466     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49467
49468 cat >>confdefs.h <<\_ACEOF
49469 #define HAVE___BUILTIN_SQRTF 1
49470 _ACEOF
49471
49472     fi
49473
49474   fi
49475
49476
49477   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49478 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49479   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49480     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49481   echo $ECHO_N "(cached) $ECHO_C" >&6
49482 else
49483
49484
49485
49486       ac_ext=cc
49487 ac_cpp='$CXXCPP $CPPFLAGS'
49488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49491
49492       cat >conftest.$ac_ext <<_ACEOF
49493 /* confdefs.h.  */
49494 _ACEOF
49495 cat confdefs.h >>conftest.$ac_ext
49496 cat >>conftest.$ac_ext <<_ACEOF
49497 /* end confdefs.h.  */
49498 #include <math.h>
49499 int
49500 main ()
49501 {
49502  __builtin_sqrt(0);
49503   ;
49504   return 0;
49505 }
49506 _ACEOF
49507 rm -f conftest.$ac_objext
49508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49509   (eval $ac_compile) 2>conftest.er1
49510   ac_status=$?
49511   grep -v '^ *+' conftest.er1 >conftest.err
49512   rm -f conftest.er1
49513   cat conftest.err >&5
49514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49515   (exit $ac_status); } &&
49516          { ac_try='test -z "$ac_cxx_werror_flag"
49517                          || test ! -s conftest.err'
49518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49519   (eval $ac_try) 2>&5
49520   ac_status=$?
49521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49522   (exit $ac_status); }; } &&
49523          { ac_try='test -s conftest.$ac_objext'
49524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49525   (eval $ac_try) 2>&5
49526   ac_status=$?
49527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49528   (exit $ac_status); }; }; then
49529   glibcxx_cv_func___builtin_sqrt_use=yes
49530 else
49531   echo "$as_me: failed program was:" >&5
49532 sed 's/^/| /' conftest.$ac_ext >&5
49533
49534 glibcxx_cv_func___builtin_sqrt_use=no
49535 fi
49536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49537       ac_ext=c
49538 ac_cpp='$CPP $CPPFLAGS'
49539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49542
49543
49544 fi
49545
49546   fi
49547   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49548 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49549   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49550     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49551 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49552     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49553       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49554   echo $ECHO_N "(cached) $ECHO_C" >&6
49555 else
49556
49557         if test x$gcc_no_link = xyes; then
49558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49560    { (exit 1); exit 1; }; }
49561 fi
49562 cat >conftest.$ac_ext <<_ACEOF
49563 /* confdefs.h.  */
49564 _ACEOF
49565 cat confdefs.h >>conftest.$ac_ext
49566 cat >>conftest.$ac_ext <<_ACEOF
49567 /* end confdefs.h.  */
49568 #include <math.h>
49569 int
49570 main ()
49571 {
49572  __builtin_sqrt(0);
49573   ;
49574   return 0;
49575 }
49576 _ACEOF
49577 rm -f conftest.$ac_objext conftest$ac_exeext
49578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49579   (eval $ac_link) 2>conftest.er1
49580   ac_status=$?
49581   grep -v '^ *+' conftest.er1 >conftest.err
49582   rm -f conftest.er1
49583   cat conftest.err >&5
49584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49585   (exit $ac_status); } &&
49586          { ac_try='test -z "$ac_c_werror_flag"
49587                          || test ! -s conftest.err'
49588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49589   (eval $ac_try) 2>&5
49590   ac_status=$?
49591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49592   (exit $ac_status); }; } &&
49593          { ac_try='test -s conftest$ac_exeext'
49594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49595   (eval $ac_try) 2>&5
49596   ac_status=$?
49597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49598   (exit $ac_status); }; }; then
49599   glibcxx_cv_func___builtin_sqrt_link=yes
49600 else
49601   echo "$as_me: failed program was:" >&5
49602 sed 's/^/| /' conftest.$ac_ext >&5
49603
49604 glibcxx_cv_func___builtin_sqrt_link=no
49605 fi
49606 rm -f conftest.err conftest.$ac_objext \
49607       conftest$ac_exeext conftest.$ac_ext
49608
49609 fi
49610
49611     fi
49612     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49613 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49614
49615     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49616
49617 cat >>confdefs.h <<\_ACEOF
49618 #define HAVE___BUILTIN_SQRT 1
49619 _ACEOF
49620
49621     fi
49622
49623   fi
49624
49625
49626   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49627 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49628   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49629     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49630   echo $ECHO_N "(cached) $ECHO_C" >&6
49631 else
49632
49633
49634
49635       ac_ext=cc
49636 ac_cpp='$CXXCPP $CPPFLAGS'
49637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49640
49641       cat >conftest.$ac_ext <<_ACEOF
49642 /* confdefs.h.  */
49643 _ACEOF
49644 cat confdefs.h >>conftest.$ac_ext
49645 cat >>conftest.$ac_ext <<_ACEOF
49646 /* end confdefs.h.  */
49647 #include <math.h>
49648 int
49649 main ()
49650 {
49651  __builtin_sqrtl(0);
49652   ;
49653   return 0;
49654 }
49655 _ACEOF
49656 rm -f conftest.$ac_objext
49657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49658   (eval $ac_compile) 2>conftest.er1
49659   ac_status=$?
49660   grep -v '^ *+' conftest.er1 >conftest.err
49661   rm -f conftest.er1
49662   cat conftest.err >&5
49663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49664   (exit $ac_status); } &&
49665          { ac_try='test -z "$ac_cxx_werror_flag"
49666                          || test ! -s conftest.err'
49667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49668   (eval $ac_try) 2>&5
49669   ac_status=$?
49670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49671   (exit $ac_status); }; } &&
49672          { ac_try='test -s conftest.$ac_objext'
49673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49674   (eval $ac_try) 2>&5
49675   ac_status=$?
49676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49677   (exit $ac_status); }; }; then
49678   glibcxx_cv_func___builtin_sqrtl_use=yes
49679 else
49680   echo "$as_me: failed program was:" >&5
49681 sed 's/^/| /' conftest.$ac_ext >&5
49682
49683 glibcxx_cv_func___builtin_sqrtl_use=no
49684 fi
49685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49686       ac_ext=c
49687 ac_cpp='$CPP $CPPFLAGS'
49688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49691
49692
49693 fi
49694
49695   fi
49696   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49697 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49698   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49699     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49700 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49701     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49702       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49703   echo $ECHO_N "(cached) $ECHO_C" >&6
49704 else
49705
49706         if test x$gcc_no_link = xyes; then
49707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49709    { (exit 1); exit 1; }; }
49710 fi
49711 cat >conftest.$ac_ext <<_ACEOF
49712 /* confdefs.h.  */
49713 _ACEOF
49714 cat confdefs.h >>conftest.$ac_ext
49715 cat >>conftest.$ac_ext <<_ACEOF
49716 /* end confdefs.h.  */
49717 #include <math.h>
49718 int
49719 main ()
49720 {
49721  __builtin_sqrtl(0);
49722   ;
49723   return 0;
49724 }
49725 _ACEOF
49726 rm -f conftest.$ac_objext conftest$ac_exeext
49727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49728   (eval $ac_link) 2>conftest.er1
49729   ac_status=$?
49730   grep -v '^ *+' conftest.er1 >conftest.err
49731   rm -f conftest.er1
49732   cat conftest.err >&5
49733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49734   (exit $ac_status); } &&
49735          { ac_try='test -z "$ac_c_werror_flag"
49736                          || test ! -s conftest.err'
49737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49738   (eval $ac_try) 2>&5
49739   ac_status=$?
49740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49741   (exit $ac_status); }; } &&
49742          { ac_try='test -s conftest$ac_exeext'
49743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49744   (eval $ac_try) 2>&5
49745   ac_status=$?
49746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49747   (exit $ac_status); }; }; then
49748   glibcxx_cv_func___builtin_sqrtl_link=yes
49749 else
49750   echo "$as_me: failed program was:" >&5
49751 sed 's/^/| /' conftest.$ac_ext >&5
49752
49753 glibcxx_cv_func___builtin_sqrtl_link=no
49754 fi
49755 rm -f conftest.err conftest.$ac_objext \
49756       conftest$ac_exeext conftest.$ac_ext
49757
49758 fi
49759
49760     fi
49761     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49762 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49763
49764     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49765
49766 cat >>confdefs.h <<\_ACEOF
49767 #define HAVE___BUILTIN_SQRTL 1
49768 _ACEOF
49769
49770     fi
49771
49772   fi
49773
49774
49775
49776   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49777 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49778   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49779     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49780   echo $ECHO_N "(cached) $ECHO_C" >&6
49781 else
49782
49783
49784
49785       ac_ext=cc
49786 ac_cpp='$CXXCPP $CPPFLAGS'
49787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49790
49791       cat >conftest.$ac_ext <<_ACEOF
49792 /* confdefs.h.  */
49793 _ACEOF
49794 cat confdefs.h >>conftest.$ac_ext
49795 cat >>conftest.$ac_ext <<_ACEOF
49796 /* end confdefs.h.  */
49797 #include <math.h>
49798 int
49799 main ()
49800 {
49801  __builtin_sinf(0);
49802   ;
49803   return 0;
49804 }
49805 _ACEOF
49806 rm -f conftest.$ac_objext
49807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49808   (eval $ac_compile) 2>conftest.er1
49809   ac_status=$?
49810   grep -v '^ *+' conftest.er1 >conftest.err
49811   rm -f conftest.er1
49812   cat conftest.err >&5
49813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49814   (exit $ac_status); } &&
49815          { ac_try='test -z "$ac_cxx_werror_flag"
49816                          || test ! -s conftest.err'
49817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49818   (eval $ac_try) 2>&5
49819   ac_status=$?
49820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49821   (exit $ac_status); }; } &&
49822          { ac_try='test -s conftest.$ac_objext'
49823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49824   (eval $ac_try) 2>&5
49825   ac_status=$?
49826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49827   (exit $ac_status); }; }; then
49828   glibcxx_cv_func___builtin_sinf_use=yes
49829 else
49830   echo "$as_me: failed program was:" >&5
49831 sed 's/^/| /' conftest.$ac_ext >&5
49832
49833 glibcxx_cv_func___builtin_sinf_use=no
49834 fi
49835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49836       ac_ext=c
49837 ac_cpp='$CPP $CPPFLAGS'
49838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49841
49842
49843 fi
49844
49845   fi
49846   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49847 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49848   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49849     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49850 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49851     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49852       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49853   echo $ECHO_N "(cached) $ECHO_C" >&6
49854 else
49855
49856         if test x$gcc_no_link = xyes; then
49857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49859    { (exit 1); exit 1; }; }
49860 fi
49861 cat >conftest.$ac_ext <<_ACEOF
49862 /* confdefs.h.  */
49863 _ACEOF
49864 cat confdefs.h >>conftest.$ac_ext
49865 cat >>conftest.$ac_ext <<_ACEOF
49866 /* end confdefs.h.  */
49867 #include <math.h>
49868 int
49869 main ()
49870 {
49871  __builtin_sinf(0);
49872   ;
49873   return 0;
49874 }
49875 _ACEOF
49876 rm -f conftest.$ac_objext conftest$ac_exeext
49877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49878   (eval $ac_link) 2>conftest.er1
49879   ac_status=$?
49880   grep -v '^ *+' conftest.er1 >conftest.err
49881   rm -f conftest.er1
49882   cat conftest.err >&5
49883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49884   (exit $ac_status); } &&
49885          { ac_try='test -z "$ac_c_werror_flag"
49886                          || test ! -s conftest.err'
49887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49888   (eval $ac_try) 2>&5
49889   ac_status=$?
49890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49891   (exit $ac_status); }; } &&
49892          { ac_try='test -s conftest$ac_exeext'
49893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49894   (eval $ac_try) 2>&5
49895   ac_status=$?
49896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49897   (exit $ac_status); }; }; then
49898   glibcxx_cv_func___builtin_sinf_link=yes
49899 else
49900   echo "$as_me: failed program was:" >&5
49901 sed 's/^/| /' conftest.$ac_ext >&5
49902
49903 glibcxx_cv_func___builtin_sinf_link=no
49904 fi
49905 rm -f conftest.err conftest.$ac_objext \
49906       conftest$ac_exeext conftest.$ac_ext
49907
49908 fi
49909
49910     fi
49911     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49912 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49913
49914     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49915
49916 cat >>confdefs.h <<\_ACEOF
49917 #define HAVE___BUILTIN_SINF 1
49918 _ACEOF
49919
49920     fi
49921
49922   fi
49923
49924
49925   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49926 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49927   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49928     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49929   echo $ECHO_N "(cached) $ECHO_C" >&6
49930 else
49931
49932
49933
49934       ac_ext=cc
49935 ac_cpp='$CXXCPP $CPPFLAGS'
49936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49939
49940       cat >conftest.$ac_ext <<_ACEOF
49941 /* confdefs.h.  */
49942 _ACEOF
49943 cat confdefs.h >>conftest.$ac_ext
49944 cat >>conftest.$ac_ext <<_ACEOF
49945 /* end confdefs.h.  */
49946 #include <math.h>
49947 int
49948 main ()
49949 {
49950  __builtin_sin(0);
49951   ;
49952   return 0;
49953 }
49954 _ACEOF
49955 rm -f conftest.$ac_objext
49956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49957   (eval $ac_compile) 2>conftest.er1
49958   ac_status=$?
49959   grep -v '^ *+' conftest.er1 >conftest.err
49960   rm -f conftest.er1
49961   cat conftest.err >&5
49962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49963   (exit $ac_status); } &&
49964          { ac_try='test -z "$ac_cxx_werror_flag"
49965                          || test ! -s conftest.err'
49966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49967   (eval $ac_try) 2>&5
49968   ac_status=$?
49969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49970   (exit $ac_status); }; } &&
49971          { ac_try='test -s conftest.$ac_objext'
49972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49973   (eval $ac_try) 2>&5
49974   ac_status=$?
49975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49976   (exit $ac_status); }; }; then
49977   glibcxx_cv_func___builtin_sin_use=yes
49978 else
49979   echo "$as_me: failed program was:" >&5
49980 sed 's/^/| /' conftest.$ac_ext >&5
49981
49982 glibcxx_cv_func___builtin_sin_use=no
49983 fi
49984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49985       ac_ext=c
49986 ac_cpp='$CPP $CPPFLAGS'
49987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49990
49991
49992 fi
49993
49994   fi
49995   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49996 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49997   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49998     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49999 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
50000     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
50001       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
50002   echo $ECHO_N "(cached) $ECHO_C" >&6
50003 else
50004
50005         if test x$gcc_no_link = xyes; then
50006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50008    { (exit 1); exit 1; }; }
50009 fi
50010 cat >conftest.$ac_ext <<_ACEOF
50011 /* confdefs.h.  */
50012 _ACEOF
50013 cat confdefs.h >>conftest.$ac_ext
50014 cat >>conftest.$ac_ext <<_ACEOF
50015 /* end confdefs.h.  */
50016 #include <math.h>
50017 int
50018 main ()
50019 {
50020  __builtin_sin(0);
50021   ;
50022   return 0;
50023 }
50024 _ACEOF
50025 rm -f conftest.$ac_objext conftest$ac_exeext
50026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50027   (eval $ac_link) 2>conftest.er1
50028   ac_status=$?
50029   grep -v '^ *+' conftest.er1 >conftest.err
50030   rm -f conftest.er1
50031   cat conftest.err >&5
50032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50033   (exit $ac_status); } &&
50034          { ac_try='test -z "$ac_c_werror_flag"
50035                          || test ! -s conftest.err'
50036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50037   (eval $ac_try) 2>&5
50038   ac_status=$?
50039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50040   (exit $ac_status); }; } &&
50041          { ac_try='test -s conftest$ac_exeext'
50042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50043   (eval $ac_try) 2>&5
50044   ac_status=$?
50045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50046   (exit $ac_status); }; }; then
50047   glibcxx_cv_func___builtin_sin_link=yes
50048 else
50049   echo "$as_me: failed program was:" >&5
50050 sed 's/^/| /' conftest.$ac_ext >&5
50051
50052 glibcxx_cv_func___builtin_sin_link=no
50053 fi
50054 rm -f conftest.err conftest.$ac_objext \
50055       conftest$ac_exeext conftest.$ac_ext
50056
50057 fi
50058
50059     fi
50060     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
50061 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
50062
50063     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
50064
50065 cat >>confdefs.h <<\_ACEOF
50066 #define HAVE___BUILTIN_SIN 1
50067 _ACEOF
50068
50069     fi
50070
50071   fi
50072
50073
50074   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
50075 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
50076   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
50077     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
50078   echo $ECHO_N "(cached) $ECHO_C" >&6
50079 else
50080
50081
50082
50083       ac_ext=cc
50084 ac_cpp='$CXXCPP $CPPFLAGS'
50085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50088
50089       cat >conftest.$ac_ext <<_ACEOF
50090 /* confdefs.h.  */
50091 _ACEOF
50092 cat confdefs.h >>conftest.$ac_ext
50093 cat >>conftest.$ac_ext <<_ACEOF
50094 /* end confdefs.h.  */
50095 #include <math.h>
50096 int
50097 main ()
50098 {
50099  __builtin_sinl(0);
50100   ;
50101   return 0;
50102 }
50103 _ACEOF
50104 rm -f conftest.$ac_objext
50105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50106   (eval $ac_compile) 2>conftest.er1
50107   ac_status=$?
50108   grep -v '^ *+' conftest.er1 >conftest.err
50109   rm -f conftest.er1
50110   cat conftest.err >&5
50111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50112   (exit $ac_status); } &&
50113          { ac_try='test -z "$ac_cxx_werror_flag"
50114                          || test ! -s conftest.err'
50115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50116   (eval $ac_try) 2>&5
50117   ac_status=$?
50118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50119   (exit $ac_status); }; } &&
50120          { ac_try='test -s conftest.$ac_objext'
50121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50122   (eval $ac_try) 2>&5
50123   ac_status=$?
50124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50125   (exit $ac_status); }; }; then
50126   glibcxx_cv_func___builtin_sinl_use=yes
50127 else
50128   echo "$as_me: failed program was:" >&5
50129 sed 's/^/| /' conftest.$ac_ext >&5
50130
50131 glibcxx_cv_func___builtin_sinl_use=no
50132 fi
50133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50134       ac_ext=c
50135 ac_cpp='$CPP $CPPFLAGS'
50136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50139
50140
50141 fi
50142
50143   fi
50144   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
50145 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
50146   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
50147     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50148 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50149     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50150       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50151   echo $ECHO_N "(cached) $ECHO_C" >&6
50152 else
50153
50154         if test x$gcc_no_link = xyes; then
50155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50157    { (exit 1); exit 1; }; }
50158 fi
50159 cat >conftest.$ac_ext <<_ACEOF
50160 /* confdefs.h.  */
50161 _ACEOF
50162 cat confdefs.h >>conftest.$ac_ext
50163 cat >>conftest.$ac_ext <<_ACEOF
50164 /* end confdefs.h.  */
50165 #include <math.h>
50166 int
50167 main ()
50168 {
50169  __builtin_sinl(0);
50170   ;
50171   return 0;
50172 }
50173 _ACEOF
50174 rm -f conftest.$ac_objext conftest$ac_exeext
50175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50176   (eval $ac_link) 2>conftest.er1
50177   ac_status=$?
50178   grep -v '^ *+' conftest.er1 >conftest.err
50179   rm -f conftest.er1
50180   cat conftest.err >&5
50181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50182   (exit $ac_status); } &&
50183          { ac_try='test -z "$ac_c_werror_flag"
50184                          || test ! -s conftest.err'
50185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50186   (eval $ac_try) 2>&5
50187   ac_status=$?
50188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50189   (exit $ac_status); }; } &&
50190          { ac_try='test -s conftest$ac_exeext'
50191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50192   (eval $ac_try) 2>&5
50193   ac_status=$?
50194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50195   (exit $ac_status); }; }; then
50196   glibcxx_cv_func___builtin_sinl_link=yes
50197 else
50198   echo "$as_me: failed program was:" >&5
50199 sed 's/^/| /' conftest.$ac_ext >&5
50200
50201 glibcxx_cv_func___builtin_sinl_link=no
50202 fi
50203 rm -f conftest.err conftest.$ac_objext \
50204       conftest$ac_exeext conftest.$ac_ext
50205
50206 fi
50207
50208     fi
50209     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50210 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50211
50212     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50213
50214 cat >>confdefs.h <<\_ACEOF
50215 #define HAVE___BUILTIN_SINL 1
50216 _ACEOF
50217
50218     fi
50219
50220   fi
50221
50222
50223
50224   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50225 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50226   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50227     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50228   echo $ECHO_N "(cached) $ECHO_C" >&6
50229 else
50230
50231
50232
50233       ac_ext=cc
50234 ac_cpp='$CXXCPP $CPPFLAGS'
50235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50238
50239       cat >conftest.$ac_ext <<_ACEOF
50240 /* confdefs.h.  */
50241 _ACEOF
50242 cat confdefs.h >>conftest.$ac_ext
50243 cat >>conftest.$ac_ext <<_ACEOF
50244 /* end confdefs.h.  */
50245 #include <math.h>
50246 int
50247 main ()
50248 {
50249  __builtin_cosf(0);
50250   ;
50251   return 0;
50252 }
50253 _ACEOF
50254 rm -f conftest.$ac_objext
50255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50256   (eval $ac_compile) 2>conftest.er1
50257   ac_status=$?
50258   grep -v '^ *+' conftest.er1 >conftest.err
50259   rm -f conftest.er1
50260   cat conftest.err >&5
50261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50262   (exit $ac_status); } &&
50263          { ac_try='test -z "$ac_cxx_werror_flag"
50264                          || test ! -s conftest.err'
50265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50266   (eval $ac_try) 2>&5
50267   ac_status=$?
50268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50269   (exit $ac_status); }; } &&
50270          { ac_try='test -s conftest.$ac_objext'
50271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50272   (eval $ac_try) 2>&5
50273   ac_status=$?
50274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50275   (exit $ac_status); }; }; then
50276   glibcxx_cv_func___builtin_cosf_use=yes
50277 else
50278   echo "$as_me: failed program was:" >&5
50279 sed 's/^/| /' conftest.$ac_ext >&5
50280
50281 glibcxx_cv_func___builtin_cosf_use=no
50282 fi
50283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50284       ac_ext=c
50285 ac_cpp='$CPP $CPPFLAGS'
50286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50289
50290
50291 fi
50292
50293   fi
50294   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50295 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50296   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50297     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50298 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50299     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50300       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50301   echo $ECHO_N "(cached) $ECHO_C" >&6
50302 else
50303
50304         if test x$gcc_no_link = xyes; then
50305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50307    { (exit 1); exit 1; }; }
50308 fi
50309 cat >conftest.$ac_ext <<_ACEOF
50310 /* confdefs.h.  */
50311 _ACEOF
50312 cat confdefs.h >>conftest.$ac_ext
50313 cat >>conftest.$ac_ext <<_ACEOF
50314 /* end confdefs.h.  */
50315 #include <math.h>
50316 int
50317 main ()
50318 {
50319  __builtin_cosf(0);
50320   ;
50321   return 0;
50322 }
50323 _ACEOF
50324 rm -f conftest.$ac_objext conftest$ac_exeext
50325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50326   (eval $ac_link) 2>conftest.er1
50327   ac_status=$?
50328   grep -v '^ *+' conftest.er1 >conftest.err
50329   rm -f conftest.er1
50330   cat conftest.err >&5
50331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50332   (exit $ac_status); } &&
50333          { ac_try='test -z "$ac_c_werror_flag"
50334                          || test ! -s conftest.err'
50335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50336   (eval $ac_try) 2>&5
50337   ac_status=$?
50338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50339   (exit $ac_status); }; } &&
50340          { ac_try='test -s conftest$ac_exeext'
50341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50342   (eval $ac_try) 2>&5
50343   ac_status=$?
50344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50345   (exit $ac_status); }; }; then
50346   glibcxx_cv_func___builtin_cosf_link=yes
50347 else
50348   echo "$as_me: failed program was:" >&5
50349 sed 's/^/| /' conftest.$ac_ext >&5
50350
50351 glibcxx_cv_func___builtin_cosf_link=no
50352 fi
50353 rm -f conftest.err conftest.$ac_objext \
50354       conftest$ac_exeext conftest.$ac_ext
50355
50356 fi
50357
50358     fi
50359     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50360 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50361
50362     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50363
50364 cat >>confdefs.h <<\_ACEOF
50365 #define HAVE___BUILTIN_COSF 1
50366 _ACEOF
50367
50368     fi
50369
50370   fi
50371
50372
50373   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50374 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50375   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50376     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50377   echo $ECHO_N "(cached) $ECHO_C" >&6
50378 else
50379
50380
50381
50382       ac_ext=cc
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50387
50388       cat >conftest.$ac_ext <<_ACEOF
50389 /* confdefs.h.  */
50390 _ACEOF
50391 cat confdefs.h >>conftest.$ac_ext
50392 cat >>conftest.$ac_ext <<_ACEOF
50393 /* end confdefs.h.  */
50394 #include <math.h>
50395 int
50396 main ()
50397 {
50398  __builtin_cos(0);
50399   ;
50400   return 0;
50401 }
50402 _ACEOF
50403 rm -f conftest.$ac_objext
50404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50405   (eval $ac_compile) 2>conftest.er1
50406   ac_status=$?
50407   grep -v '^ *+' conftest.er1 >conftest.err
50408   rm -f conftest.er1
50409   cat conftest.err >&5
50410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50411   (exit $ac_status); } &&
50412          { ac_try='test -z "$ac_cxx_werror_flag"
50413                          || test ! -s conftest.err'
50414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50415   (eval $ac_try) 2>&5
50416   ac_status=$?
50417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50418   (exit $ac_status); }; } &&
50419          { ac_try='test -s conftest.$ac_objext'
50420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50421   (eval $ac_try) 2>&5
50422   ac_status=$?
50423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50424   (exit $ac_status); }; }; then
50425   glibcxx_cv_func___builtin_cos_use=yes
50426 else
50427   echo "$as_me: failed program was:" >&5
50428 sed 's/^/| /' conftest.$ac_ext >&5
50429
50430 glibcxx_cv_func___builtin_cos_use=no
50431 fi
50432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50433       ac_ext=c
50434 ac_cpp='$CPP $CPPFLAGS'
50435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50438
50439
50440 fi
50441
50442   fi
50443   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50444 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50445   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50446     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50447 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50448     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50449       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50450   echo $ECHO_N "(cached) $ECHO_C" >&6
50451 else
50452
50453         if test x$gcc_no_link = xyes; then
50454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50456    { (exit 1); exit 1; }; }
50457 fi
50458 cat >conftest.$ac_ext <<_ACEOF
50459 /* confdefs.h.  */
50460 _ACEOF
50461 cat confdefs.h >>conftest.$ac_ext
50462 cat >>conftest.$ac_ext <<_ACEOF
50463 /* end confdefs.h.  */
50464 #include <math.h>
50465 int
50466 main ()
50467 {
50468  __builtin_cos(0);
50469   ;
50470   return 0;
50471 }
50472 _ACEOF
50473 rm -f conftest.$ac_objext conftest$ac_exeext
50474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50475   (eval $ac_link) 2>conftest.er1
50476   ac_status=$?
50477   grep -v '^ *+' conftest.er1 >conftest.err
50478   rm -f conftest.er1
50479   cat conftest.err >&5
50480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50481   (exit $ac_status); } &&
50482          { ac_try='test -z "$ac_c_werror_flag"
50483                          || test ! -s conftest.err'
50484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50485   (eval $ac_try) 2>&5
50486   ac_status=$?
50487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50488   (exit $ac_status); }; } &&
50489          { ac_try='test -s conftest$ac_exeext'
50490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50491   (eval $ac_try) 2>&5
50492   ac_status=$?
50493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50494   (exit $ac_status); }; }; then
50495   glibcxx_cv_func___builtin_cos_link=yes
50496 else
50497   echo "$as_me: failed program was:" >&5
50498 sed 's/^/| /' conftest.$ac_ext >&5
50499
50500 glibcxx_cv_func___builtin_cos_link=no
50501 fi
50502 rm -f conftest.err conftest.$ac_objext \
50503       conftest$ac_exeext conftest.$ac_ext
50504
50505 fi
50506
50507     fi
50508     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50509 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50510
50511     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50512
50513 cat >>confdefs.h <<\_ACEOF
50514 #define HAVE___BUILTIN_COS 1
50515 _ACEOF
50516
50517     fi
50518
50519   fi
50520
50521
50522   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50523 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50524   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50525     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50526   echo $ECHO_N "(cached) $ECHO_C" >&6
50527 else
50528
50529
50530
50531       ac_ext=cc
50532 ac_cpp='$CXXCPP $CPPFLAGS'
50533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50536
50537       cat >conftest.$ac_ext <<_ACEOF
50538 /* confdefs.h.  */
50539 _ACEOF
50540 cat confdefs.h >>conftest.$ac_ext
50541 cat >>conftest.$ac_ext <<_ACEOF
50542 /* end confdefs.h.  */
50543 #include <math.h>
50544 int
50545 main ()
50546 {
50547  __builtin_cosl(0);
50548   ;
50549   return 0;
50550 }
50551 _ACEOF
50552 rm -f conftest.$ac_objext
50553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50554   (eval $ac_compile) 2>conftest.er1
50555   ac_status=$?
50556   grep -v '^ *+' conftest.er1 >conftest.err
50557   rm -f conftest.er1
50558   cat conftest.err >&5
50559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50560   (exit $ac_status); } &&
50561          { ac_try='test -z "$ac_cxx_werror_flag"
50562                          || test ! -s conftest.err'
50563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50564   (eval $ac_try) 2>&5
50565   ac_status=$?
50566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50567   (exit $ac_status); }; } &&
50568          { ac_try='test -s conftest.$ac_objext'
50569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50570   (eval $ac_try) 2>&5
50571   ac_status=$?
50572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50573   (exit $ac_status); }; }; then
50574   glibcxx_cv_func___builtin_cosl_use=yes
50575 else
50576   echo "$as_me: failed program was:" >&5
50577 sed 's/^/| /' conftest.$ac_ext >&5
50578
50579 glibcxx_cv_func___builtin_cosl_use=no
50580 fi
50581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50582       ac_ext=c
50583 ac_cpp='$CPP $CPPFLAGS'
50584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50587
50588
50589 fi
50590
50591   fi
50592   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50593 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50594   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50595     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50596 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50597     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50598       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50599   echo $ECHO_N "(cached) $ECHO_C" >&6
50600 else
50601
50602         if test x$gcc_no_link = xyes; then
50603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50605    { (exit 1); exit 1; }; }
50606 fi
50607 cat >conftest.$ac_ext <<_ACEOF
50608 /* confdefs.h.  */
50609 _ACEOF
50610 cat confdefs.h >>conftest.$ac_ext
50611 cat >>conftest.$ac_ext <<_ACEOF
50612 /* end confdefs.h.  */
50613 #include <math.h>
50614 int
50615 main ()
50616 {
50617  __builtin_cosl(0);
50618   ;
50619   return 0;
50620 }
50621 _ACEOF
50622 rm -f conftest.$ac_objext conftest$ac_exeext
50623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50624   (eval $ac_link) 2>conftest.er1
50625   ac_status=$?
50626   grep -v '^ *+' conftest.er1 >conftest.err
50627   rm -f conftest.er1
50628   cat conftest.err >&5
50629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50630   (exit $ac_status); } &&
50631          { ac_try='test -z "$ac_c_werror_flag"
50632                          || test ! -s conftest.err'
50633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50634   (eval $ac_try) 2>&5
50635   ac_status=$?
50636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50637   (exit $ac_status); }; } &&
50638          { ac_try='test -s conftest$ac_exeext'
50639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50640   (eval $ac_try) 2>&5
50641   ac_status=$?
50642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50643   (exit $ac_status); }; }; then
50644   glibcxx_cv_func___builtin_cosl_link=yes
50645 else
50646   echo "$as_me: failed program was:" >&5
50647 sed 's/^/| /' conftest.$ac_ext >&5
50648
50649 glibcxx_cv_func___builtin_cosl_link=no
50650 fi
50651 rm -f conftest.err conftest.$ac_objext \
50652       conftest$ac_exeext conftest.$ac_ext
50653
50654 fi
50655
50656     fi
50657     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50658 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50659
50660     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50661
50662 cat >>confdefs.h <<\_ACEOF
50663 #define HAVE___BUILTIN_COSL 1
50664 _ACEOF
50665
50666     fi
50667
50668   fi
50669
50670
50671
50672
50673 echo "$as_me:$LINENO: checking for main in -lm" >&5
50674 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50675 if test "${ac_cv_lib_m_main+set}" = set; then
50676   echo $ECHO_N "(cached) $ECHO_C" >&6
50677 else
50678   ac_check_lib_save_LIBS=$LIBS
50679 LIBS="-lm  $LIBS"
50680 if test x$gcc_no_link = xyes; then
50681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50683    { (exit 1); exit 1; }; }
50684 fi
50685 cat >conftest.$ac_ext <<_ACEOF
50686 /* confdefs.h.  */
50687 _ACEOF
50688 cat confdefs.h >>conftest.$ac_ext
50689 cat >>conftest.$ac_ext <<_ACEOF
50690 /* end confdefs.h.  */
50691
50692
50693 int
50694 main ()
50695 {
50696 main ();
50697   ;
50698   return 0;
50699 }
50700 _ACEOF
50701 rm -f conftest.$ac_objext conftest$ac_exeext
50702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50703   (eval $ac_link) 2>conftest.er1
50704   ac_status=$?
50705   grep -v '^ *+' conftest.er1 >conftest.err
50706   rm -f conftest.er1
50707   cat conftest.err >&5
50708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50709   (exit $ac_status); } &&
50710          { ac_try='test -z "$ac_c_werror_flag"
50711                          || test ! -s conftest.err'
50712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50713   (eval $ac_try) 2>&5
50714   ac_status=$?
50715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50716   (exit $ac_status); }; } &&
50717          { ac_try='test -s conftest$ac_exeext'
50718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50719   (eval $ac_try) 2>&5
50720   ac_status=$?
50721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50722   (exit $ac_status); }; }; then
50723   ac_cv_lib_m_main=yes
50724 else
50725   echo "$as_me: failed program was:" >&5
50726 sed 's/^/| /' conftest.$ac_ext >&5
50727
50728 ac_cv_lib_m_main=no
50729 fi
50730 rm -f conftest.err conftest.$ac_objext \
50731       conftest$ac_exeext conftest.$ac_ext
50732 LIBS=$ac_check_lib_save_LIBS
50733 fi
50734 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50735 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50736 if test $ac_cv_lib_m_main = yes; then
50737   cat >>confdefs.h <<_ACEOF
50738 #define HAVE_LIBM 1
50739 _ACEOF
50740
50741   LIBS="-lm $LIBS"
50742
50743 fi
50744
50745
50746 for ac_func in copysignf
50747 do
50748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50749 echo "$as_me:$LINENO: checking for $ac_func" >&5
50750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50751 if eval "test \"\${$as_ac_var+set}\" = set"; then
50752   echo $ECHO_N "(cached) $ECHO_C" >&6
50753 else
50754   if test x$gcc_no_link = xyes; then
50755   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50757    { (exit 1); exit 1; }; }
50758 fi
50759 cat >conftest.$ac_ext <<_ACEOF
50760 /* confdefs.h.  */
50761 _ACEOF
50762 cat confdefs.h >>conftest.$ac_ext
50763 cat >>conftest.$ac_ext <<_ACEOF
50764 /* end confdefs.h.  */
50765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50767 #define $ac_func innocuous_$ac_func
50768
50769 /* System header to define __stub macros and hopefully few prototypes,
50770     which can conflict with char $ac_func (); below.
50771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50772     <limits.h> exists even on freestanding compilers.  */
50773
50774 #ifdef __STDC__
50775 # include <limits.h>
50776 #else
50777 # include <assert.h>
50778 #endif
50779
50780 #undef $ac_func
50781
50782 /* Override any gcc2 internal prototype to avoid an error.  */
50783 #ifdef __cplusplus
50784 extern "C"
50785 {
50786 #endif
50787 /* We use char because int might match the return type of a gcc2
50788    builtin and then its argument prototype would still apply.  */
50789 char $ac_func ();
50790 /* The GNU C library defines this for functions which it implements
50791     to always fail with ENOSYS.  Some functions are actually named
50792     something starting with __ and the normal name is an alias.  */
50793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50794 choke me
50795 #else
50796 char (*f) () = $ac_func;
50797 #endif
50798 #ifdef __cplusplus
50799 }
50800 #endif
50801
50802 int
50803 main ()
50804 {
50805 return f != $ac_func;
50806   ;
50807   return 0;
50808 }
50809 _ACEOF
50810 rm -f conftest.$ac_objext conftest$ac_exeext
50811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50812   (eval $ac_link) 2>conftest.er1
50813   ac_status=$?
50814   grep -v '^ *+' conftest.er1 >conftest.err
50815   rm -f conftest.er1
50816   cat conftest.err >&5
50817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50818   (exit $ac_status); } &&
50819          { ac_try='test -z "$ac_c_werror_flag"
50820                          || test ! -s conftest.err'
50821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50822   (eval $ac_try) 2>&5
50823   ac_status=$?
50824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50825   (exit $ac_status); }; } &&
50826          { ac_try='test -s conftest$ac_exeext'
50827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50828   (eval $ac_try) 2>&5
50829   ac_status=$?
50830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50831   (exit $ac_status); }; }; then
50832   eval "$as_ac_var=yes"
50833 else
50834   echo "$as_me: failed program was:" >&5
50835 sed 's/^/| /' conftest.$ac_ext >&5
50836
50837 eval "$as_ac_var=no"
50838 fi
50839 rm -f conftest.err conftest.$ac_objext \
50840       conftest$ac_exeext conftest.$ac_ext
50841 fi
50842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50844 if test `eval echo '${'$as_ac_var'}'` = yes; then
50845   cat >>confdefs.h <<_ACEOF
50846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50847 _ACEOF
50848
50849 else
50850   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50851 fi
50852 done
50853
50854
50855
50856 for ac_func in __signbit
50857 do
50858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50859 echo "$as_me:$LINENO: checking for $ac_func" >&5
50860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50861 if eval "test \"\${$as_ac_var+set}\" = set"; then
50862   echo $ECHO_N "(cached) $ECHO_C" >&6
50863 else
50864   if test x$gcc_no_link = xyes; then
50865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50867    { (exit 1); exit 1; }; }
50868 fi
50869 cat >conftest.$ac_ext <<_ACEOF
50870 /* confdefs.h.  */
50871 _ACEOF
50872 cat confdefs.h >>conftest.$ac_ext
50873 cat >>conftest.$ac_ext <<_ACEOF
50874 /* end confdefs.h.  */
50875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50877 #define $ac_func innocuous_$ac_func
50878
50879 /* System header to define __stub macros and hopefully few prototypes,
50880     which can conflict with char $ac_func (); below.
50881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50882     <limits.h> exists even on freestanding compilers.  */
50883
50884 #ifdef __STDC__
50885 # include <limits.h>
50886 #else
50887 # include <assert.h>
50888 #endif
50889
50890 #undef $ac_func
50891
50892 /* Override any gcc2 internal prototype to avoid an error.  */
50893 #ifdef __cplusplus
50894 extern "C"
50895 {
50896 #endif
50897 /* We use char because int might match the return type of a gcc2
50898    builtin and then its argument prototype would still apply.  */
50899 char $ac_func ();
50900 /* The GNU C library defines this for functions which it implements
50901     to always fail with ENOSYS.  Some functions are actually named
50902     something starting with __ and the normal name is an alias.  */
50903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50904 choke me
50905 #else
50906 char (*f) () = $ac_func;
50907 #endif
50908 #ifdef __cplusplus
50909 }
50910 #endif
50911
50912 int
50913 main ()
50914 {
50915 return f != $ac_func;
50916   ;
50917   return 0;
50918 }
50919 _ACEOF
50920 rm -f conftest.$ac_objext conftest$ac_exeext
50921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50922   (eval $ac_link) 2>conftest.er1
50923   ac_status=$?
50924   grep -v '^ *+' conftest.er1 >conftest.err
50925   rm -f conftest.er1
50926   cat conftest.err >&5
50927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50928   (exit $ac_status); } &&
50929          { ac_try='test -z "$ac_c_werror_flag"
50930                          || test ! -s conftest.err'
50931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50932   (eval $ac_try) 2>&5
50933   ac_status=$?
50934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50935   (exit $ac_status); }; } &&
50936          { ac_try='test -s conftest$ac_exeext'
50937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50938   (eval $ac_try) 2>&5
50939   ac_status=$?
50940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50941   (exit $ac_status); }; }; then
50942   eval "$as_ac_var=yes"
50943 else
50944   echo "$as_me: failed program was:" >&5
50945 sed 's/^/| /' conftest.$ac_ext >&5
50946
50947 eval "$as_ac_var=no"
50948 fi
50949 rm -f conftest.err conftest.$ac_objext \
50950       conftest$ac_exeext conftest.$ac_ext
50951 fi
50952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50954 if test `eval echo '${'$as_ac_var'}'` = yes; then
50955   cat >>confdefs.h <<_ACEOF
50956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50957 _ACEOF
50958
50959 else
50960   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50961 fi
50962 done
50963
50964
50965
50966 for ac_func in __signbitf
50967 do
50968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50969 echo "$as_me:$LINENO: checking for $ac_func" >&5
50970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50971 if eval "test \"\${$as_ac_var+set}\" = set"; then
50972   echo $ECHO_N "(cached) $ECHO_C" >&6
50973 else
50974   if test x$gcc_no_link = xyes; then
50975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50977    { (exit 1); exit 1; }; }
50978 fi
50979 cat >conftest.$ac_ext <<_ACEOF
50980 /* confdefs.h.  */
50981 _ACEOF
50982 cat confdefs.h >>conftest.$ac_ext
50983 cat >>conftest.$ac_ext <<_ACEOF
50984 /* end confdefs.h.  */
50985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50986    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50987 #define $ac_func innocuous_$ac_func
50988
50989 /* System header to define __stub macros and hopefully few prototypes,
50990     which can conflict with char $ac_func (); below.
50991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50992     <limits.h> exists even on freestanding compilers.  */
50993
50994 #ifdef __STDC__
50995 # include <limits.h>
50996 #else
50997 # include <assert.h>
50998 #endif
50999
51000 #undef $ac_func
51001
51002 /* Override any gcc2 internal prototype to avoid an error.  */
51003 #ifdef __cplusplus
51004 extern "C"
51005 {
51006 #endif
51007 /* We use char because int might match the return type of a gcc2
51008    builtin and then its argument prototype would still apply.  */
51009 char $ac_func ();
51010 /* The GNU C library defines this for functions which it implements
51011     to always fail with ENOSYS.  Some functions are actually named
51012     something starting with __ and the normal name is an alias.  */
51013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51014 choke me
51015 #else
51016 char (*f) () = $ac_func;
51017 #endif
51018 #ifdef __cplusplus
51019 }
51020 #endif
51021
51022 int
51023 main ()
51024 {
51025 return f != $ac_func;
51026   ;
51027   return 0;
51028 }
51029 _ACEOF
51030 rm -f conftest.$ac_objext conftest$ac_exeext
51031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51032   (eval $ac_link) 2>conftest.er1
51033   ac_status=$?
51034   grep -v '^ *+' conftest.er1 >conftest.err
51035   rm -f conftest.er1
51036   cat conftest.err >&5
51037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51038   (exit $ac_status); } &&
51039          { ac_try='test -z "$ac_c_werror_flag"
51040                          || test ! -s conftest.err'
51041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51042   (eval $ac_try) 2>&5
51043   ac_status=$?
51044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51045   (exit $ac_status); }; } &&
51046          { ac_try='test -s conftest$ac_exeext'
51047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51048   (eval $ac_try) 2>&5
51049   ac_status=$?
51050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51051   (exit $ac_status); }; }; then
51052   eval "$as_ac_var=yes"
51053 else
51054   echo "$as_me: failed program was:" >&5
51055 sed 's/^/| /' conftest.$ac_ext >&5
51056
51057 eval "$as_ac_var=no"
51058 fi
51059 rm -f conftest.err conftest.$ac_objext \
51060       conftest$ac_exeext conftest.$ac_ext
51061 fi
51062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51064 if test `eval echo '${'$as_ac_var'}'` = yes; then
51065   cat >>confdefs.h <<_ACEOF
51066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51067 _ACEOF
51068
51069 else
51070   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51071 fi
51072 done
51073
51074
51075           if test x$ac_cv_func_copysignl = x"yes"; then
51076
51077 for ac_func in __signbitl
51078 do
51079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51080 echo "$as_me:$LINENO: checking for $ac_func" >&5
51081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51082 if eval "test \"\${$as_ac_var+set}\" = set"; then
51083   echo $ECHO_N "(cached) $ECHO_C" >&6
51084 else
51085   if test x$gcc_no_link = xyes; then
51086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51088    { (exit 1); exit 1; }; }
51089 fi
51090 cat >conftest.$ac_ext <<_ACEOF
51091 /* confdefs.h.  */
51092 _ACEOF
51093 cat confdefs.h >>conftest.$ac_ext
51094 cat >>conftest.$ac_ext <<_ACEOF
51095 /* end confdefs.h.  */
51096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51098 #define $ac_func innocuous_$ac_func
51099
51100 /* System header to define __stub macros and hopefully few prototypes,
51101     which can conflict with char $ac_func (); below.
51102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51103     <limits.h> exists even on freestanding compilers.  */
51104
51105 #ifdef __STDC__
51106 # include <limits.h>
51107 #else
51108 # include <assert.h>
51109 #endif
51110
51111 #undef $ac_func
51112
51113 /* Override any gcc2 internal prototype to avoid an error.  */
51114 #ifdef __cplusplus
51115 extern "C"
51116 {
51117 #endif
51118 /* We use char because int might match the return type of a gcc2
51119    builtin and then its argument prototype would still apply.  */
51120 char $ac_func ();
51121 /* The GNU C library defines this for functions which it implements
51122     to always fail with ENOSYS.  Some functions are actually named
51123     something starting with __ and the normal name is an alias.  */
51124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51125 choke me
51126 #else
51127 char (*f) () = $ac_func;
51128 #endif
51129 #ifdef __cplusplus
51130 }
51131 #endif
51132
51133 int
51134 main ()
51135 {
51136 return f != $ac_func;
51137   ;
51138   return 0;
51139 }
51140 _ACEOF
51141 rm -f conftest.$ac_objext conftest$ac_exeext
51142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51143   (eval $ac_link) 2>conftest.er1
51144   ac_status=$?
51145   grep -v '^ *+' conftest.er1 >conftest.err
51146   rm -f conftest.er1
51147   cat conftest.err >&5
51148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51149   (exit $ac_status); } &&
51150          { ac_try='test -z "$ac_c_werror_flag"
51151                          || test ! -s conftest.err'
51152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51153   (eval $ac_try) 2>&5
51154   ac_status=$?
51155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51156   (exit $ac_status); }; } &&
51157          { ac_try='test -s conftest$ac_exeext'
51158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51159   (eval $ac_try) 2>&5
51160   ac_status=$?
51161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51162   (exit $ac_status); }; }; then
51163   eval "$as_ac_var=yes"
51164 else
51165   echo "$as_me: failed program was:" >&5
51166 sed 's/^/| /' conftest.$ac_ext >&5
51167
51168 eval "$as_ac_var=no"
51169 fi
51170 rm -f conftest.err conftest.$ac_objext \
51171       conftest$ac_exeext conftest.$ac_ext
51172 fi
51173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51175 if test `eval echo '${'$as_ac_var'}'` = yes; then
51176   cat >>confdefs.h <<_ACEOF
51177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51178 _ACEOF
51179
51180 else
51181   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51182 fi
51183 done
51184
51185   fi
51186
51187   # Used in libmath/Makefile.am.
51188   if test -n "$LIBMATHOBJS"; then
51189     need_libmath=yes
51190   fi
51191
51192
51193
51194
51195   enable_iconv=no
51196   # Only continue checking if the ISO C99 headers exist and support is on.
51197   if test x"$enable_wchar_t" = xyes; then
51198
51199     # Use iconv for wchar_t to char conversions. As such, check for
51200     # X/Open Portability Guide, version 2 features (XPG2).
51201     if test "${ac_cv_header_iconv_h+set}" = set; then
51202   echo "$as_me:$LINENO: checking for iconv.h" >&5
51203 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51204 if test "${ac_cv_header_iconv_h+set}" = set; then
51205   echo $ECHO_N "(cached) $ECHO_C" >&6
51206 fi
51207 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51208 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51209 else
51210   # Is the header compilable?
51211 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51212 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51213 cat >conftest.$ac_ext <<_ACEOF
51214 /* confdefs.h.  */
51215 _ACEOF
51216 cat confdefs.h >>conftest.$ac_ext
51217 cat >>conftest.$ac_ext <<_ACEOF
51218 /* end confdefs.h.  */
51219 $ac_includes_default
51220 #include <iconv.h>
51221 _ACEOF
51222 rm -f conftest.$ac_objext
51223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51224   (eval $ac_compile) 2>conftest.er1
51225   ac_status=$?
51226   grep -v '^ *+' conftest.er1 >conftest.err
51227   rm -f conftest.er1
51228   cat conftest.err >&5
51229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51230   (exit $ac_status); } &&
51231          { ac_try='test -z "$ac_c_werror_flag"
51232                          || test ! -s conftest.err'
51233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51234   (eval $ac_try) 2>&5
51235   ac_status=$?
51236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51237   (exit $ac_status); }; } &&
51238          { ac_try='test -s conftest.$ac_objext'
51239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51240   (eval $ac_try) 2>&5
51241   ac_status=$?
51242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51243   (exit $ac_status); }; }; then
51244   ac_header_compiler=yes
51245 else
51246   echo "$as_me: failed program was:" >&5
51247 sed 's/^/| /' conftest.$ac_ext >&5
51248
51249 ac_header_compiler=no
51250 fi
51251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51253 echo "${ECHO_T}$ac_header_compiler" >&6
51254
51255 # Is the header present?
51256 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51257 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51258 cat >conftest.$ac_ext <<_ACEOF
51259 /* confdefs.h.  */
51260 _ACEOF
51261 cat confdefs.h >>conftest.$ac_ext
51262 cat >>conftest.$ac_ext <<_ACEOF
51263 /* end confdefs.h.  */
51264 #include <iconv.h>
51265 _ACEOF
51266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51267   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51268   ac_status=$?
51269   grep -v '^ *+' conftest.er1 >conftest.err
51270   rm -f conftest.er1
51271   cat conftest.err >&5
51272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51273   (exit $ac_status); } >/dev/null; then
51274   if test -s conftest.err; then
51275     ac_cpp_err=$ac_c_preproc_warn_flag
51276     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51277   else
51278     ac_cpp_err=
51279   fi
51280 else
51281   ac_cpp_err=yes
51282 fi
51283 if test -z "$ac_cpp_err"; then
51284   ac_header_preproc=yes
51285 else
51286   echo "$as_me: failed program was:" >&5
51287 sed 's/^/| /' conftest.$ac_ext >&5
51288
51289   ac_header_preproc=no
51290 fi
51291 rm -f conftest.err conftest.$ac_ext
51292 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51293 echo "${ECHO_T}$ac_header_preproc" >&6
51294
51295 # So?  What about this header?
51296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51297   yes:no: )
51298     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51299 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51300     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51301 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51302     ac_header_preproc=yes
51303     ;;
51304   no:yes:* )
51305     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51306 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51307     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
51308 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
51309     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51310 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51311     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
51312 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51313     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51314 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51315     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51316 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51317     (
51318       cat <<\_ASBOX
51319 ## ----------------------------------------- ##
51320 ## Report this to the package-unused lists.  ##
51321 ## ----------------------------------------- ##
51322 _ASBOX
51323     ) |
51324       sed "s/^/$as_me: WARNING:     /" >&2
51325     ;;
51326 esac
51327 echo "$as_me:$LINENO: checking for iconv.h" >&5
51328 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51329 if test "${ac_cv_header_iconv_h+set}" = set; then
51330   echo $ECHO_N "(cached) $ECHO_C" >&6
51331 else
51332   ac_cv_header_iconv_h=$ac_header_preproc
51333 fi
51334 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51335 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51336
51337 fi
51338 if test $ac_cv_header_iconv_h = yes; then
51339   ac_has_iconv_h=yes
51340 else
51341   ac_has_iconv_h=no
51342 fi
51343
51344
51345     if test "${ac_cv_header_langinfo_h+set}" = set; then
51346   echo "$as_me:$LINENO: checking for langinfo.h" >&5
51347 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51348 if test "${ac_cv_header_langinfo_h+set}" = set; then
51349   echo $ECHO_N "(cached) $ECHO_C" >&6
51350 fi
51351 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51352 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51353 else
51354   # Is the header compilable?
51355 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51356 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51357 cat >conftest.$ac_ext <<_ACEOF
51358 /* confdefs.h.  */
51359 _ACEOF
51360 cat confdefs.h >>conftest.$ac_ext
51361 cat >>conftest.$ac_ext <<_ACEOF
51362 /* end confdefs.h.  */
51363 $ac_includes_default
51364 #include <langinfo.h>
51365 _ACEOF
51366 rm -f conftest.$ac_objext
51367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51368   (eval $ac_compile) 2>conftest.er1
51369   ac_status=$?
51370   grep -v '^ *+' conftest.er1 >conftest.err
51371   rm -f conftest.er1
51372   cat conftest.err >&5
51373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51374   (exit $ac_status); } &&
51375          { ac_try='test -z "$ac_c_werror_flag"
51376                          || test ! -s conftest.err'
51377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51378   (eval $ac_try) 2>&5
51379   ac_status=$?
51380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51381   (exit $ac_status); }; } &&
51382          { ac_try='test -s conftest.$ac_objext'
51383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51384   (eval $ac_try) 2>&5
51385   ac_status=$?
51386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51387   (exit $ac_status); }; }; then
51388   ac_header_compiler=yes
51389 else
51390   echo "$as_me: failed program was:" >&5
51391 sed 's/^/| /' conftest.$ac_ext >&5
51392
51393 ac_header_compiler=no
51394 fi
51395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51397 echo "${ECHO_T}$ac_header_compiler" >&6
51398
51399 # Is the header present?
51400 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51401 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51402 cat >conftest.$ac_ext <<_ACEOF
51403 /* confdefs.h.  */
51404 _ACEOF
51405 cat confdefs.h >>conftest.$ac_ext
51406 cat >>conftest.$ac_ext <<_ACEOF
51407 /* end confdefs.h.  */
51408 #include <langinfo.h>
51409 _ACEOF
51410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51411   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51412   ac_status=$?
51413   grep -v '^ *+' conftest.er1 >conftest.err
51414   rm -f conftest.er1
51415   cat conftest.err >&5
51416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51417   (exit $ac_status); } >/dev/null; then
51418   if test -s conftest.err; then
51419     ac_cpp_err=$ac_c_preproc_warn_flag
51420     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51421   else
51422     ac_cpp_err=
51423   fi
51424 else
51425   ac_cpp_err=yes
51426 fi
51427 if test -z "$ac_cpp_err"; then
51428   ac_header_preproc=yes
51429 else
51430   echo "$as_me: failed program was:" >&5
51431 sed 's/^/| /' conftest.$ac_ext >&5
51432
51433   ac_header_preproc=no
51434 fi
51435 rm -f conftest.err conftest.$ac_ext
51436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51437 echo "${ECHO_T}$ac_header_preproc" >&6
51438
51439 # So?  What about this header?
51440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51441   yes:no: )
51442     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51443 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51444     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51445 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51446     ac_header_preproc=yes
51447     ;;
51448   no:yes:* )
51449     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51450 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51451     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
51452 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
51453     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51454 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51455     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
51456 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51457     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51458 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51459     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51460 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51461     (
51462       cat <<\_ASBOX
51463 ## ----------------------------------------- ##
51464 ## Report this to the package-unused lists.  ##
51465 ## ----------------------------------------- ##
51466 _ASBOX
51467     ) |
51468       sed "s/^/$as_me: WARNING:     /" >&2
51469     ;;
51470 esac
51471 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51472 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51473 if test "${ac_cv_header_langinfo_h+set}" = set; then
51474   echo $ECHO_N "(cached) $ECHO_C" >&6
51475 else
51476   ac_cv_header_langinfo_h=$ac_header_preproc
51477 fi
51478 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51479 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51480
51481 fi
51482 if test $ac_cv_header_langinfo_h = yes; then
51483   ac_has_langinfo_h=yes
51484 else
51485   ac_has_langinfo_h=no
51486 fi
51487
51488
51489
51490     # Check for existence of libiconv.a providing XPG2 wchar_t support.
51491     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51492 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51493 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51494   echo $ECHO_N "(cached) $ECHO_C" >&6
51495 else
51496   ac_check_lib_save_LIBS=$LIBS
51497 LIBS="-liconv  $LIBS"
51498 if test x$gcc_no_link = xyes; then
51499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51501    { (exit 1); exit 1; }; }
51502 fi
51503 cat >conftest.$ac_ext <<_ACEOF
51504 /* confdefs.h.  */
51505 _ACEOF
51506 cat confdefs.h >>conftest.$ac_ext
51507 cat >>conftest.$ac_ext <<_ACEOF
51508 /* end confdefs.h.  */
51509
51510 /* Override any gcc2 internal prototype to avoid an error.  */
51511 #ifdef __cplusplus
51512 extern "C"
51513 #endif
51514 /* We use char because int might match the return type of a gcc2
51515    builtin and then its argument prototype would still apply.  */
51516 char iconv ();
51517 int
51518 main ()
51519 {
51520 iconv ();
51521   ;
51522   return 0;
51523 }
51524 _ACEOF
51525 rm -f conftest.$ac_objext conftest$ac_exeext
51526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51527   (eval $ac_link) 2>conftest.er1
51528   ac_status=$?
51529   grep -v '^ *+' conftest.er1 >conftest.err
51530   rm -f conftest.er1
51531   cat conftest.err >&5
51532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51533   (exit $ac_status); } &&
51534          { ac_try='test -z "$ac_c_werror_flag"
51535                          || test ! -s conftest.err'
51536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51537   (eval $ac_try) 2>&5
51538   ac_status=$?
51539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51540   (exit $ac_status); }; } &&
51541          { ac_try='test -s conftest$ac_exeext'
51542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51543   (eval $ac_try) 2>&5
51544   ac_status=$?
51545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51546   (exit $ac_status); }; }; then
51547   ac_cv_lib_iconv_iconv=yes
51548 else
51549   echo "$as_me: failed program was:" >&5
51550 sed 's/^/| /' conftest.$ac_ext >&5
51551
51552 ac_cv_lib_iconv_iconv=no
51553 fi
51554 rm -f conftest.err conftest.$ac_objext \
51555       conftest$ac_exeext conftest.$ac_ext
51556 LIBS=$ac_check_lib_save_LIBS
51557 fi
51558 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51559 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51560 if test $ac_cv_lib_iconv_iconv = yes; then
51561   LIBICONV="-liconv"
51562 fi
51563
51564     ac_save_LIBS="$LIBS"
51565     LIBS="$LIBS $LIBICONV"
51566
51567
51568
51569
51570
51571
51572 for ac_func in iconv_open iconv_close iconv nl_langinfo
51573 do
51574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51575 echo "$as_me:$LINENO: checking for $ac_func" >&5
51576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51577 if eval "test \"\${$as_ac_var+set}\" = set"; then
51578   echo $ECHO_N "(cached) $ECHO_C" >&6
51579 else
51580   if test x$gcc_no_link = xyes; then
51581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51583    { (exit 1); exit 1; }; }
51584 fi
51585 cat >conftest.$ac_ext <<_ACEOF
51586 /* confdefs.h.  */
51587 _ACEOF
51588 cat confdefs.h >>conftest.$ac_ext
51589 cat >>conftest.$ac_ext <<_ACEOF
51590 /* end confdefs.h.  */
51591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51593 #define $ac_func innocuous_$ac_func
51594
51595 /* System header to define __stub macros and hopefully few prototypes,
51596     which can conflict with char $ac_func (); below.
51597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51598     <limits.h> exists even on freestanding compilers.  */
51599
51600 #ifdef __STDC__
51601 # include <limits.h>
51602 #else
51603 # include <assert.h>
51604 #endif
51605
51606 #undef $ac_func
51607
51608 /* Override any gcc2 internal prototype to avoid an error.  */
51609 #ifdef __cplusplus
51610 extern "C"
51611 {
51612 #endif
51613 /* We use char because int might match the return type of a gcc2
51614    builtin and then its argument prototype would still apply.  */
51615 char $ac_func ();
51616 /* The GNU C library defines this for functions which it implements
51617     to always fail with ENOSYS.  Some functions are actually named
51618     something starting with __ and the normal name is an alias.  */
51619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51620 choke me
51621 #else
51622 char (*f) () = $ac_func;
51623 #endif
51624 #ifdef __cplusplus
51625 }
51626 #endif
51627
51628 int
51629 main ()
51630 {
51631 return f != $ac_func;
51632   ;
51633   return 0;
51634 }
51635 _ACEOF
51636 rm -f conftest.$ac_objext conftest$ac_exeext
51637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51638   (eval $ac_link) 2>conftest.er1
51639   ac_status=$?
51640   grep -v '^ *+' conftest.er1 >conftest.err
51641   rm -f conftest.er1
51642   cat conftest.err >&5
51643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51644   (exit $ac_status); } &&
51645          { ac_try='test -z "$ac_c_werror_flag"
51646                          || test ! -s conftest.err'
51647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51648   (eval $ac_try) 2>&5
51649   ac_status=$?
51650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51651   (exit $ac_status); }; } &&
51652          { ac_try='test -s conftest$ac_exeext'
51653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51654   (eval $ac_try) 2>&5
51655   ac_status=$?
51656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51657   (exit $ac_status); }; }; then
51658   eval "$as_ac_var=yes"
51659 else
51660   echo "$as_me: failed program was:" >&5
51661 sed 's/^/| /' conftest.$ac_ext >&5
51662
51663 eval "$as_ac_var=no"
51664 fi
51665 rm -f conftest.err conftest.$ac_objext \
51666       conftest$ac_exeext conftest.$ac_ext
51667 fi
51668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51670 if test `eval echo '${'$as_ac_var'}'` = yes; then
51671   cat >>confdefs.h <<_ACEOF
51672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51673 _ACEOF
51674  ac_XPG2funcs=yes
51675 else
51676   ac_XPG2funcs=no
51677 fi
51678 done
51679
51680
51681     LIBS="$ac_save_LIBS"
51682
51683     if test x"$ac_has_iconv_h" = xyes &&
51684        test x"$ac_has_langinfo_h" = xyes &&
51685        test x"$ac_XPG2funcs" = xyes;
51686     then
51687
51688 cat >>confdefs.h <<\_ACEOF
51689 #define _GLIBCXX_USE_ICONV 1
51690 _ACEOF
51691
51692       enable_iconv=yes
51693     fi
51694   fi
51695   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51696 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51697   echo "$as_me:$LINENO: result: $enable_iconv" >&5
51698 echo "${ECHO_T}$enable_iconv" >&6
51699
51700
51701   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51702   ac_save_CXXFLAGS="$CXXFLAGS"
51703   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51704
51705
51706   echo "$as_me:$LINENO: checking for strtold declaration" >&5
51707 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51708   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51709     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51710   echo $ECHO_N "(cached) $ECHO_C" >&6
51711 else
51712
51713
51714
51715       ac_ext=cc
51716 ac_cpp='$CXXCPP $CPPFLAGS'
51717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51720
51721       cat >conftest.$ac_ext <<_ACEOF
51722 /* confdefs.h.  */
51723 _ACEOF
51724 cat confdefs.h >>conftest.$ac_ext
51725 cat >>conftest.$ac_ext <<_ACEOF
51726 /* end confdefs.h.  */
51727 #include <stdlib.h>
51728 int
51729 main ()
51730 {
51731  strtold(0, 0);
51732   ;
51733   return 0;
51734 }
51735 _ACEOF
51736 rm -f conftest.$ac_objext
51737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51738   (eval $ac_compile) 2>conftest.er1
51739   ac_status=$?
51740   grep -v '^ *+' conftest.er1 >conftest.err
51741   rm -f conftest.er1
51742   cat conftest.err >&5
51743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51744   (exit $ac_status); } &&
51745          { ac_try='test -z "$ac_cxx_werror_flag"
51746                          || test ! -s conftest.err'
51747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51748   (eval $ac_try) 2>&5
51749   ac_status=$?
51750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51751   (exit $ac_status); }; } &&
51752          { ac_try='test -s conftest.$ac_objext'
51753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51754   (eval $ac_try) 2>&5
51755   ac_status=$?
51756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51757   (exit $ac_status); }; }; then
51758   glibcxx_cv_func_strtold_use=yes
51759 else
51760   echo "$as_me: failed program was:" >&5
51761 sed 's/^/| /' conftest.$ac_ext >&5
51762
51763 glibcxx_cv_func_strtold_use=no
51764 fi
51765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51766       ac_ext=c
51767 ac_cpp='$CPP $CPPFLAGS'
51768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51771
51772
51773 fi
51774
51775   fi
51776   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51777 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51778   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51779
51780 for ac_func in strtold
51781 do
51782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51783 echo "$as_me:$LINENO: checking for $ac_func" >&5
51784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51785 if eval "test \"\${$as_ac_var+set}\" = set"; then
51786   echo $ECHO_N "(cached) $ECHO_C" >&6
51787 else
51788   if test x$gcc_no_link = xyes; then
51789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51791    { (exit 1); exit 1; }; }
51792 fi
51793 cat >conftest.$ac_ext <<_ACEOF
51794 /* confdefs.h.  */
51795 _ACEOF
51796 cat confdefs.h >>conftest.$ac_ext
51797 cat >>conftest.$ac_ext <<_ACEOF
51798 /* end confdefs.h.  */
51799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51800    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51801 #define $ac_func innocuous_$ac_func
51802
51803 /* System header to define __stub macros and hopefully few prototypes,
51804     which can conflict with char $ac_func (); below.
51805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51806     <limits.h> exists even on freestanding compilers.  */
51807
51808 #ifdef __STDC__
51809 # include <limits.h>
51810 #else
51811 # include <assert.h>
51812 #endif
51813
51814 #undef $ac_func
51815
51816 /* Override any gcc2 internal prototype to avoid an error.  */
51817 #ifdef __cplusplus
51818 extern "C"
51819 {
51820 #endif
51821 /* We use char because int might match the return type of a gcc2
51822    builtin and then its argument prototype would still apply.  */
51823 char $ac_func ();
51824 /* The GNU C library defines this for functions which it implements
51825     to always fail with ENOSYS.  Some functions are actually named
51826     something starting with __ and the normal name is an alias.  */
51827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51828 choke me
51829 #else
51830 char (*f) () = $ac_func;
51831 #endif
51832 #ifdef __cplusplus
51833 }
51834 #endif
51835
51836 int
51837 main ()
51838 {
51839 return f != $ac_func;
51840   ;
51841   return 0;
51842 }
51843 _ACEOF
51844 rm -f conftest.$ac_objext conftest$ac_exeext
51845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51846   (eval $ac_link) 2>conftest.er1
51847   ac_status=$?
51848   grep -v '^ *+' conftest.er1 >conftest.err
51849   rm -f conftest.er1
51850   cat conftest.err >&5
51851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51852   (exit $ac_status); } &&
51853          { ac_try='test -z "$ac_c_werror_flag"
51854                          || test ! -s conftest.err'
51855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51856   (eval $ac_try) 2>&5
51857   ac_status=$?
51858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51859   (exit $ac_status); }; } &&
51860          { ac_try='test -s conftest$ac_exeext'
51861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51862   (eval $ac_try) 2>&5
51863   ac_status=$?
51864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51865   (exit $ac_status); }; }; then
51866   eval "$as_ac_var=yes"
51867 else
51868   echo "$as_me: failed program was:" >&5
51869 sed 's/^/| /' conftest.$ac_ext >&5
51870
51871 eval "$as_ac_var=no"
51872 fi
51873 rm -f conftest.err conftest.$ac_objext \
51874       conftest$ac_exeext conftest.$ac_ext
51875 fi
51876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51878 if test `eval echo '${'$as_ac_var'}'` = yes; then
51879   cat >>confdefs.h <<_ACEOF
51880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51881 _ACEOF
51882
51883 fi
51884 done
51885
51886   fi
51887
51888
51889
51890
51891
51892   echo "$as_me:$LINENO: checking for strtof declaration" >&5
51893 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51894   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51895     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51896   echo $ECHO_N "(cached) $ECHO_C" >&6
51897 else
51898
51899
51900
51901       ac_ext=cc
51902 ac_cpp='$CXXCPP $CPPFLAGS'
51903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51906
51907       cat >conftest.$ac_ext <<_ACEOF
51908 /* confdefs.h.  */
51909 _ACEOF
51910 cat confdefs.h >>conftest.$ac_ext
51911 cat >>conftest.$ac_ext <<_ACEOF
51912 /* end confdefs.h.  */
51913 #include <stdlib.h>
51914 int
51915 main ()
51916 {
51917  strtof(0, 0);
51918   ;
51919   return 0;
51920 }
51921 _ACEOF
51922 rm -f conftest.$ac_objext
51923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51924   (eval $ac_compile) 2>conftest.er1
51925   ac_status=$?
51926   grep -v '^ *+' conftest.er1 >conftest.err
51927   rm -f conftest.er1
51928   cat conftest.err >&5
51929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51930   (exit $ac_status); } &&
51931          { ac_try='test -z "$ac_cxx_werror_flag"
51932                          || test ! -s conftest.err'
51933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51934   (eval $ac_try) 2>&5
51935   ac_status=$?
51936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51937   (exit $ac_status); }; } &&
51938          { ac_try='test -s conftest.$ac_objext'
51939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51940   (eval $ac_try) 2>&5
51941   ac_status=$?
51942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51943   (exit $ac_status); }; }; then
51944   glibcxx_cv_func_strtof_use=yes
51945 else
51946   echo "$as_me: failed program was:" >&5
51947 sed 's/^/| /' conftest.$ac_ext >&5
51948
51949 glibcxx_cv_func_strtof_use=no
51950 fi
51951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51952       ac_ext=c
51953 ac_cpp='$CPP $CPPFLAGS'
51954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51957
51958
51959 fi
51960
51961   fi
51962   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51963 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51964   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51965
51966 for ac_func in strtof
51967 do
51968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51969 echo "$as_me:$LINENO: checking for $ac_func" >&5
51970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51971 if eval "test \"\${$as_ac_var+set}\" = set"; then
51972   echo $ECHO_N "(cached) $ECHO_C" >&6
51973 else
51974   if test x$gcc_no_link = xyes; then
51975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51977    { (exit 1); exit 1; }; }
51978 fi
51979 cat >conftest.$ac_ext <<_ACEOF
51980 /* confdefs.h.  */
51981 _ACEOF
51982 cat confdefs.h >>conftest.$ac_ext
51983 cat >>conftest.$ac_ext <<_ACEOF
51984 /* end confdefs.h.  */
51985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51986    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51987 #define $ac_func innocuous_$ac_func
51988
51989 /* System header to define __stub macros and hopefully few prototypes,
51990     which can conflict with char $ac_func (); below.
51991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51992     <limits.h> exists even on freestanding compilers.  */
51993
51994 #ifdef __STDC__
51995 # include <limits.h>
51996 #else
51997 # include <assert.h>
51998 #endif
51999
52000 #undef $ac_func
52001
52002 /* Override any gcc2 internal prototype to avoid an error.  */
52003 #ifdef __cplusplus
52004 extern "C"
52005 {
52006 #endif
52007 /* We use char because int might match the return type of a gcc2
52008    builtin and then its argument prototype would still apply.  */
52009 char $ac_func ();
52010 /* The GNU C library defines this for functions which it implements
52011     to always fail with ENOSYS.  Some functions are actually named
52012     something starting with __ and the normal name is an alias.  */
52013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52014 choke me
52015 #else
52016 char (*f) () = $ac_func;
52017 #endif
52018 #ifdef __cplusplus
52019 }
52020 #endif
52021
52022 int
52023 main ()
52024 {
52025 return f != $ac_func;
52026   ;
52027   return 0;
52028 }
52029 _ACEOF
52030 rm -f conftest.$ac_objext conftest$ac_exeext
52031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52032   (eval $ac_link) 2>conftest.er1
52033   ac_status=$?
52034   grep -v '^ *+' conftest.er1 >conftest.err
52035   rm -f conftest.er1
52036   cat conftest.err >&5
52037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52038   (exit $ac_status); } &&
52039          { ac_try='test -z "$ac_c_werror_flag"
52040                          || test ! -s conftest.err'
52041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52042   (eval $ac_try) 2>&5
52043   ac_status=$?
52044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52045   (exit $ac_status); }; } &&
52046          { ac_try='test -s conftest$ac_exeext'
52047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52048   (eval $ac_try) 2>&5
52049   ac_status=$?
52050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52051   (exit $ac_status); }; }; then
52052   eval "$as_ac_var=yes"
52053 else
52054   echo "$as_me: failed program was:" >&5
52055 sed 's/^/| /' conftest.$ac_ext >&5
52056
52057 eval "$as_ac_var=no"
52058 fi
52059 rm -f conftest.err conftest.$ac_objext \
52060       conftest$ac_exeext conftest.$ac_ext
52061 fi
52062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52064 if test `eval echo '${'$as_ac_var'}'` = yes; then
52065   cat >>confdefs.h <<_ACEOF
52066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52067 _ACEOF
52068
52069 fi
52070 done
52071
52072   fi
52073
52074
52075
52076
52077
52078   CXXFLAGS="$ac_save_CXXFLAGS"
52079
52080
52081     # For showmanyc_helper().
52082
52083
52084 for ac_header in sys/ioctl.h sys/filio.h
52085 do
52086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52088   echo "$as_me:$LINENO: checking for $ac_header" >&5
52089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52091   echo $ECHO_N "(cached) $ECHO_C" >&6
52092 fi
52093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52095 else
52096   # Is the header compilable?
52097 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52099 cat >conftest.$ac_ext <<_ACEOF
52100 /* confdefs.h.  */
52101 _ACEOF
52102 cat confdefs.h >>conftest.$ac_ext
52103 cat >>conftest.$ac_ext <<_ACEOF
52104 /* end confdefs.h.  */
52105 $ac_includes_default
52106 #include <$ac_header>
52107 _ACEOF
52108 rm -f conftest.$ac_objext
52109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52110   (eval $ac_compile) 2>conftest.er1
52111   ac_status=$?
52112   grep -v '^ *+' conftest.er1 >conftest.err
52113   rm -f conftest.er1
52114   cat conftest.err >&5
52115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52116   (exit $ac_status); } &&
52117          { ac_try='test -z "$ac_c_werror_flag"
52118                          || test ! -s conftest.err'
52119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52120   (eval $ac_try) 2>&5
52121   ac_status=$?
52122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52123   (exit $ac_status); }; } &&
52124          { ac_try='test -s conftest.$ac_objext'
52125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52126   (eval $ac_try) 2>&5
52127   ac_status=$?
52128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52129   (exit $ac_status); }; }; then
52130   ac_header_compiler=yes
52131 else
52132   echo "$as_me: failed program was:" >&5
52133 sed 's/^/| /' conftest.$ac_ext >&5
52134
52135 ac_header_compiler=no
52136 fi
52137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52139 echo "${ECHO_T}$ac_header_compiler" >&6
52140
52141 # Is the header present?
52142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52144 cat >conftest.$ac_ext <<_ACEOF
52145 /* confdefs.h.  */
52146 _ACEOF
52147 cat confdefs.h >>conftest.$ac_ext
52148 cat >>conftest.$ac_ext <<_ACEOF
52149 /* end confdefs.h.  */
52150 #include <$ac_header>
52151 _ACEOF
52152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52153   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52154   ac_status=$?
52155   grep -v '^ *+' conftest.er1 >conftest.err
52156   rm -f conftest.er1
52157   cat conftest.err >&5
52158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52159   (exit $ac_status); } >/dev/null; then
52160   if test -s conftest.err; then
52161     ac_cpp_err=$ac_c_preproc_warn_flag
52162     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52163   else
52164     ac_cpp_err=
52165   fi
52166 else
52167   ac_cpp_err=yes
52168 fi
52169 if test -z "$ac_cpp_err"; then
52170   ac_header_preproc=yes
52171 else
52172   echo "$as_me: failed program was:" >&5
52173 sed 's/^/| /' conftest.$ac_ext >&5
52174
52175   ac_header_preproc=no
52176 fi
52177 rm -f conftest.err conftest.$ac_ext
52178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52179 echo "${ECHO_T}$ac_header_preproc" >&6
52180
52181 # So?  What about this header?
52182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52183   yes:no: )
52184     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52186     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52188     ac_header_preproc=yes
52189     ;;
52190   no:yes:* )
52191     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52193     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52194 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52195     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52197     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52198 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52199     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52201     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52203     (
52204       cat <<\_ASBOX
52205 ## ----------------------------------------- ##
52206 ## Report this to the package-unused lists.  ##
52207 ## ----------------------------------------- ##
52208 _ASBOX
52209     ) |
52210       sed "s/^/$as_me: WARNING:     /" >&2
52211     ;;
52212 esac
52213 echo "$as_me:$LINENO: checking for $ac_header" >&5
52214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52216   echo $ECHO_N "(cached) $ECHO_C" >&6
52217 else
52218   eval "$as_ac_Header=\$ac_header_preproc"
52219 fi
52220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52222
52223 fi
52224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52225   cat >>confdefs.h <<_ACEOF
52226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52227 _ACEOF
52228
52229 fi
52230
52231 done
52232
52233
52234   echo "$as_me:$LINENO: checking for poll" >&5
52235 echo $ECHO_N "checking for poll... $ECHO_C" >&6
52236   if test "${glibcxx_cv_POLL+set}" = set; then
52237   echo $ECHO_N "(cached) $ECHO_C" >&6
52238 else
52239
52240     if test x$gcc_no_link = xyes; then
52241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52243    { (exit 1); exit 1; }; }
52244 fi
52245 cat >conftest.$ac_ext <<_ACEOF
52246 /* confdefs.h.  */
52247 _ACEOF
52248 cat confdefs.h >>conftest.$ac_ext
52249 cat >>conftest.$ac_ext <<_ACEOF
52250 /* end confdefs.h.  */
52251 #include <poll.h>
52252 int
52253 main ()
52254 {
52255 struct pollfd pfd[1];
52256        pfd[0].events = POLLIN;
52257        poll(pfd, 1, 0);
52258   ;
52259   return 0;
52260 }
52261 _ACEOF
52262 rm -f conftest.$ac_objext conftest$ac_exeext
52263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52264   (eval $ac_link) 2>conftest.er1
52265   ac_status=$?
52266   grep -v '^ *+' conftest.er1 >conftest.err
52267   rm -f conftest.er1
52268   cat conftest.err >&5
52269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52270   (exit $ac_status); } &&
52271          { ac_try='test -z "$ac_c_werror_flag"
52272                          || test ! -s conftest.err'
52273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52274   (eval $ac_try) 2>&5
52275   ac_status=$?
52276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52277   (exit $ac_status); }; } &&
52278          { ac_try='test -s conftest$ac_exeext'
52279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52280   (eval $ac_try) 2>&5
52281   ac_status=$?
52282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52283   (exit $ac_status); }; }; then
52284   glibcxx_cv_POLL=yes
52285 else
52286   echo "$as_me: failed program was:" >&5
52287 sed 's/^/| /' conftest.$ac_ext >&5
52288
52289 glibcxx_cv_POLL=no
52290 fi
52291 rm -f conftest.err conftest.$ac_objext \
52292       conftest$ac_exeext conftest.$ac_ext
52293
52294 fi
52295
52296   if test $glibcxx_cv_POLL = yes; then
52297
52298 cat >>confdefs.h <<\_ACEOF
52299 #define HAVE_POLL 1
52300 _ACEOF
52301
52302   fi
52303   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
52304 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
52305
52306
52307   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
52308 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
52309   if test "${glibcxx_cv_S_ISREG+set}" = set; then
52310   echo $ECHO_N "(cached) $ECHO_C" >&6
52311 else
52312
52313     if test x$gcc_no_link = xyes; then
52314   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52316    { (exit 1); exit 1; }; }
52317 fi
52318 cat >conftest.$ac_ext <<_ACEOF
52319 /* confdefs.h.  */
52320 _ACEOF
52321 cat confdefs.h >>conftest.$ac_ext
52322 cat >>conftest.$ac_ext <<_ACEOF
52323 /* end confdefs.h.  */
52324 #include <sys/stat.h>
52325 int
52326 main ()
52327 {
52328 struct stat buffer;
52329        fstat(0, &buffer);
52330        S_ISREG(buffer.st_mode);
52331   ;
52332   return 0;
52333 }
52334 _ACEOF
52335 rm -f conftest.$ac_objext conftest$ac_exeext
52336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52337   (eval $ac_link) 2>conftest.er1
52338   ac_status=$?
52339   grep -v '^ *+' conftest.er1 >conftest.err
52340   rm -f conftest.er1
52341   cat conftest.err >&5
52342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52343   (exit $ac_status); } &&
52344          { ac_try='test -z "$ac_c_werror_flag"
52345                          || test ! -s conftest.err'
52346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52347   (eval $ac_try) 2>&5
52348   ac_status=$?
52349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52350   (exit $ac_status); }; } &&
52351          { ac_try='test -s conftest$ac_exeext'
52352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52353   (eval $ac_try) 2>&5
52354   ac_status=$?
52355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52356   (exit $ac_status); }; }; then
52357   glibcxx_cv_S_ISREG=yes
52358 else
52359   echo "$as_me: failed program was:" >&5
52360 sed 's/^/| /' conftest.$ac_ext >&5
52361
52362 glibcxx_cv_S_ISREG=no
52363 fi
52364 rm -f conftest.err conftest.$ac_objext \
52365       conftest$ac_exeext conftest.$ac_ext
52366
52367 fi
52368
52369   if test "${glibcxx_cv_S_IFREG+set}" = set; then
52370   echo $ECHO_N "(cached) $ECHO_C" >&6
52371 else
52372
52373     if test x$gcc_no_link = xyes; then
52374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52376    { (exit 1); exit 1; }; }
52377 fi
52378 cat >conftest.$ac_ext <<_ACEOF
52379 /* confdefs.h.  */
52380 _ACEOF
52381 cat confdefs.h >>conftest.$ac_ext
52382 cat >>conftest.$ac_ext <<_ACEOF
52383 /* end confdefs.h.  */
52384 #include <sys/stat.h>
52385 int
52386 main ()
52387 {
52388 struct stat buffer;
52389        fstat(0, &buffer);
52390        S_IFREG & buffer.st_mode;
52391   ;
52392   return 0;
52393 }
52394 _ACEOF
52395 rm -f conftest.$ac_objext conftest$ac_exeext
52396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52397   (eval $ac_link) 2>conftest.er1
52398   ac_status=$?
52399   grep -v '^ *+' conftest.er1 >conftest.err
52400   rm -f conftest.er1
52401   cat conftest.err >&5
52402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52403   (exit $ac_status); } &&
52404          { ac_try='test -z "$ac_c_werror_flag"
52405                          || test ! -s conftest.err'
52406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52407   (eval $ac_try) 2>&5
52408   ac_status=$?
52409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52410   (exit $ac_status); }; } &&
52411          { ac_try='test -s conftest$ac_exeext'
52412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52413   (eval $ac_try) 2>&5
52414   ac_status=$?
52415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52416   (exit $ac_status); }; }; then
52417   glibcxx_cv_S_IFREG=yes
52418 else
52419   echo "$as_me: failed program was:" >&5
52420 sed 's/^/| /' conftest.$ac_ext >&5
52421
52422 glibcxx_cv_S_IFREG=no
52423 fi
52424 rm -f conftest.err conftest.$ac_objext \
52425       conftest$ac_exeext conftest.$ac_ext
52426
52427 fi
52428
52429   res=no
52430   if test $glibcxx_cv_S_ISREG = yes; then
52431
52432 cat >>confdefs.h <<\_ACEOF
52433 #define HAVE_S_ISREG 1
52434 _ACEOF
52435
52436     res=S_ISREG
52437   elif test $glibcxx_cv_S_IFREG = yes; then
52438
52439 cat >>confdefs.h <<\_ACEOF
52440 #define HAVE_S_IFREG 1
52441 _ACEOF
52442
52443     res=S_IFREG
52444   fi
52445   echo "$as_me:$LINENO: result: $res" >&5
52446 echo "${ECHO_T}$res" >&6
52447
52448
52449     # For xsputn_2().
52450
52451 for ac_header in sys/uio.h
52452 do
52453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52455   echo "$as_me:$LINENO: checking for $ac_header" >&5
52456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52458   echo $ECHO_N "(cached) $ECHO_C" >&6
52459 fi
52460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52462 else
52463   # Is the header compilable?
52464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52466 cat >conftest.$ac_ext <<_ACEOF
52467 /* confdefs.h.  */
52468 _ACEOF
52469 cat confdefs.h >>conftest.$ac_ext
52470 cat >>conftest.$ac_ext <<_ACEOF
52471 /* end confdefs.h.  */
52472 $ac_includes_default
52473 #include <$ac_header>
52474 _ACEOF
52475 rm -f conftest.$ac_objext
52476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52477   (eval $ac_compile) 2>conftest.er1
52478   ac_status=$?
52479   grep -v '^ *+' conftest.er1 >conftest.err
52480   rm -f conftest.er1
52481   cat conftest.err >&5
52482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52483   (exit $ac_status); } &&
52484          { ac_try='test -z "$ac_c_werror_flag"
52485                          || test ! -s conftest.err'
52486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52487   (eval $ac_try) 2>&5
52488   ac_status=$?
52489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52490   (exit $ac_status); }; } &&
52491          { ac_try='test -s conftest.$ac_objext'
52492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52493   (eval $ac_try) 2>&5
52494   ac_status=$?
52495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52496   (exit $ac_status); }; }; then
52497   ac_header_compiler=yes
52498 else
52499   echo "$as_me: failed program was:" >&5
52500 sed 's/^/| /' conftest.$ac_ext >&5
52501
52502 ac_header_compiler=no
52503 fi
52504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52506 echo "${ECHO_T}$ac_header_compiler" >&6
52507
52508 # Is the header present?
52509 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52510 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52511 cat >conftest.$ac_ext <<_ACEOF
52512 /* confdefs.h.  */
52513 _ACEOF
52514 cat confdefs.h >>conftest.$ac_ext
52515 cat >>conftest.$ac_ext <<_ACEOF
52516 /* end confdefs.h.  */
52517 #include <$ac_header>
52518 _ACEOF
52519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52520   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52521   ac_status=$?
52522   grep -v '^ *+' conftest.er1 >conftest.err
52523   rm -f conftest.er1
52524   cat conftest.err >&5
52525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52526   (exit $ac_status); } >/dev/null; then
52527   if test -s conftest.err; then
52528     ac_cpp_err=$ac_c_preproc_warn_flag
52529     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52530   else
52531     ac_cpp_err=
52532   fi
52533 else
52534   ac_cpp_err=yes
52535 fi
52536 if test -z "$ac_cpp_err"; then
52537   ac_header_preproc=yes
52538 else
52539   echo "$as_me: failed program was:" >&5
52540 sed 's/^/| /' conftest.$ac_ext >&5
52541
52542   ac_header_preproc=no
52543 fi
52544 rm -f conftest.err conftest.$ac_ext
52545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52546 echo "${ECHO_T}$ac_header_preproc" >&6
52547
52548 # So?  What about this header?
52549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52550   yes:no: )
52551     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52553     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52555     ac_header_preproc=yes
52556     ;;
52557   no:yes:* )
52558     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52560     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52561 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52562     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52564     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52565 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52566     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52568     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52570     (
52571       cat <<\_ASBOX
52572 ## ----------------------------------------- ##
52573 ## Report this to the package-unused lists.  ##
52574 ## ----------------------------------------- ##
52575 _ASBOX
52576     ) |
52577       sed "s/^/$as_me: WARNING:     /" >&2
52578     ;;
52579 esac
52580 echo "$as_me:$LINENO: checking for $ac_header" >&5
52581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52583   echo $ECHO_N "(cached) $ECHO_C" >&6
52584 else
52585   eval "$as_ac_Header=\$ac_header_preproc"
52586 fi
52587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52589
52590 fi
52591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52592   cat >>confdefs.h <<_ACEOF
52593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52594 _ACEOF
52595
52596 fi
52597
52598 done
52599
52600
52601   echo "$as_me:$LINENO: checking for writev" >&5
52602 echo $ECHO_N "checking for writev... $ECHO_C" >&6
52603   if test "${glibcxx_cv_WRITEV+set}" = set; then
52604   echo $ECHO_N "(cached) $ECHO_C" >&6
52605 else
52606
52607     if test x$gcc_no_link = xyes; then
52608   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52610    { (exit 1); exit 1; }; }
52611 fi
52612 cat >conftest.$ac_ext <<_ACEOF
52613 /* confdefs.h.  */
52614 _ACEOF
52615 cat confdefs.h >>conftest.$ac_ext
52616 cat >>conftest.$ac_ext <<_ACEOF
52617 /* end confdefs.h.  */
52618 #include <sys/uio.h>
52619 int
52620 main ()
52621 {
52622 struct iovec iov[2];
52623        writev(0, iov, 0);
52624   ;
52625   return 0;
52626 }
52627 _ACEOF
52628 rm -f conftest.$ac_objext conftest$ac_exeext
52629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52630   (eval $ac_link) 2>conftest.er1
52631   ac_status=$?
52632   grep -v '^ *+' conftest.er1 >conftest.err
52633   rm -f conftest.er1
52634   cat conftest.err >&5
52635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52636   (exit $ac_status); } &&
52637          { ac_try='test -z "$ac_c_werror_flag"
52638                          || test ! -s conftest.err'
52639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52640   (eval $ac_try) 2>&5
52641   ac_status=$?
52642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52643   (exit $ac_status); }; } &&
52644          { ac_try='test -s conftest$ac_exeext'
52645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52646   (eval $ac_try) 2>&5
52647   ac_status=$?
52648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52649   (exit $ac_status); }; }; then
52650   glibcxx_cv_WRITEV=yes
52651 else
52652   echo "$as_me: failed program was:" >&5
52653 sed 's/^/| /' conftest.$ac_ext >&5
52654
52655 glibcxx_cv_WRITEV=no
52656 fi
52657 rm -f conftest.err conftest.$ac_objext \
52658       conftest$ac_exeext conftest.$ac_ext
52659
52660 fi
52661
52662   if test $glibcxx_cv_WRITEV = yes; then
52663
52664 cat >>confdefs.h <<\_ACEOF
52665 #define HAVE_WRITEV 1
52666 _ACEOF
52667
52668   fi
52669   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
52670 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
52671
52672
52673     cat >>confdefs.h <<\_ACEOF
52674 #define HAVE_LC_MESSAGES 1
52675 _ACEOF
52676
52677
52678     cat >conftest.$ac_ext <<_ACEOF
52679 /* confdefs.h.  */
52680 _ACEOF
52681 cat confdefs.h >>conftest.$ac_ext
52682 cat >>conftest.$ac_ext <<_ACEOF
52683 /* end confdefs.h.  */
52684 #include <setjmp.h>
52685 int
52686 main ()
52687 {
52688 sigjmp_buf env;
52689        while (! sigsetjmp (env, 1))
52690          siglongjmp (env, 1);
52691
52692   ;
52693   return 0;
52694 }
52695 _ACEOF
52696 rm -f conftest.$ac_objext
52697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52698   (eval $ac_compile) 2>conftest.er1
52699   ac_status=$?
52700   grep -v '^ *+' conftest.er1 >conftest.err
52701   rm -f conftest.er1
52702   cat conftest.err >&5
52703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52704   (exit $ac_status); } &&
52705          { ac_try='test -z "$ac_c_werror_flag"
52706                          || test ! -s conftest.err'
52707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52708   (eval $ac_try) 2>&5
52709   ac_status=$?
52710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52711   (exit $ac_status); }; } &&
52712          { ac_try='test -s conftest.$ac_objext'
52713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52714   (eval $ac_try) 2>&5
52715   ac_status=$?
52716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52717   (exit $ac_status); }; }; then
52718
52719 cat >>confdefs.h <<\_ACEOF
52720 #define HAVE_SIGSETJMP 1
52721 _ACEOF
52722
52723 else
52724   echo "$as_me: failed program was:" >&5
52725 sed 's/^/| /' conftest.$ac_ext >&5
52726
52727 fi
52728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52729
52730     cat >>confdefs.h <<\_ACEOF
52731 #define HAVE_MMAP 1
52732 _ACEOF
52733
52734     ;;
52735
52736   *djgpp)
52737
52738
52739
52740
52741
52742
52743
52744
52745
52746
52747
52748
52749
52750
52751
52752
52753
52754
52755
52756
52757 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52758       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52759       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52760       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52761 do
52762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52764   echo "$as_me:$LINENO: checking for $ac_header" >&5
52765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52767   echo $ECHO_N "(cached) $ECHO_C" >&6
52768 fi
52769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52771 else
52772   # Is the header compilable?
52773 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52775 cat >conftest.$ac_ext <<_ACEOF
52776 /* confdefs.h.  */
52777 _ACEOF
52778 cat confdefs.h >>conftest.$ac_ext
52779 cat >>conftest.$ac_ext <<_ACEOF
52780 /* end confdefs.h.  */
52781 $ac_includes_default
52782 #include <$ac_header>
52783 _ACEOF
52784 rm -f conftest.$ac_objext
52785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52786   (eval $ac_compile) 2>conftest.er1
52787   ac_status=$?
52788   grep -v '^ *+' conftest.er1 >conftest.err
52789   rm -f conftest.er1
52790   cat conftest.err >&5
52791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52792   (exit $ac_status); } &&
52793          { ac_try='test -z "$ac_c_werror_flag"
52794                          || test ! -s conftest.err'
52795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52796   (eval $ac_try) 2>&5
52797   ac_status=$?
52798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52799   (exit $ac_status); }; } &&
52800          { ac_try='test -s conftest.$ac_objext'
52801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52802   (eval $ac_try) 2>&5
52803   ac_status=$?
52804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52805   (exit $ac_status); }; }; then
52806   ac_header_compiler=yes
52807 else
52808   echo "$as_me: failed program was:" >&5
52809 sed 's/^/| /' conftest.$ac_ext >&5
52810
52811 ac_header_compiler=no
52812 fi
52813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52815 echo "${ECHO_T}$ac_header_compiler" >&6
52816
52817 # Is the header present?
52818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52820 cat >conftest.$ac_ext <<_ACEOF
52821 /* confdefs.h.  */
52822 _ACEOF
52823 cat confdefs.h >>conftest.$ac_ext
52824 cat >>conftest.$ac_ext <<_ACEOF
52825 /* end confdefs.h.  */
52826 #include <$ac_header>
52827 _ACEOF
52828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52829   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52830   ac_status=$?
52831   grep -v '^ *+' conftest.er1 >conftest.err
52832   rm -f conftest.er1
52833   cat conftest.err >&5
52834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52835   (exit $ac_status); } >/dev/null; then
52836   if test -s conftest.err; then
52837     ac_cpp_err=$ac_c_preproc_warn_flag
52838     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52839   else
52840     ac_cpp_err=
52841   fi
52842 else
52843   ac_cpp_err=yes
52844 fi
52845 if test -z "$ac_cpp_err"; then
52846   ac_header_preproc=yes
52847 else
52848   echo "$as_me: failed program was:" >&5
52849 sed 's/^/| /' conftest.$ac_ext >&5
52850
52851   ac_header_preproc=no
52852 fi
52853 rm -f conftest.err conftest.$ac_ext
52854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52855 echo "${ECHO_T}$ac_header_preproc" >&6
52856
52857 # So?  What about this header?
52858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52859   yes:no: )
52860     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52862     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52863 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52864     ac_header_preproc=yes
52865     ;;
52866   no:yes:* )
52867     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52868 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52869     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52870 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52871     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52872 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52873     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52874 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52875     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52877     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52878 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52879     (
52880       cat <<\_ASBOX
52881 ## ----------------------------------------- ##
52882 ## Report this to the package-unused lists.  ##
52883 ## ----------------------------------------- ##
52884 _ASBOX
52885     ) |
52886       sed "s/^/$as_me: WARNING:     /" >&2
52887     ;;
52888 esac
52889 echo "$as_me:$LINENO: checking for $ac_header" >&5
52890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52892   echo $ECHO_N "(cached) $ECHO_C" >&6
52893 else
52894   eval "$as_ac_Header=\$ac_header_preproc"
52895 fi
52896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52898
52899 fi
52900 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52901   cat >>confdefs.h <<_ACEOF
52902 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52903 _ACEOF
52904
52905 fi
52906
52907 done
52908
52909
52910   # All these tests are for C++; save the language and the compiler flags.
52911   # The CXXFLAGS thing is suspicious, but based on similar bits previously
52912   # found in GLIBCXX_CONFIGURE.
52913
52914
52915   ac_ext=cc
52916 ac_cpp='$CXXCPP $CPPFLAGS'
52917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52920
52921   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52922   ac_save_CXXFLAGS="$CXXFLAGS"
52923
52924   # Check for maintainer-mode bits.
52925   if test x"$USE_MAINTAINER_MODE" = xno; then
52926     WERROR=''
52927   else
52928     WERROR='-Werror'
52929   fi
52930
52931   # Check for -ffunction-sections -fdata-sections
52932   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52933 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52934   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52935   cat >conftest.$ac_ext <<_ACEOF
52936 /* confdefs.h.  */
52937 _ACEOF
52938 cat confdefs.h >>conftest.$ac_ext
52939 cat >>conftest.$ac_ext <<_ACEOF
52940 /* end confdefs.h.  */
52941
52942 int
52943 main ()
52944 {
52945 int foo;
52946   ;
52947   return 0;
52948 }
52949 _ACEOF
52950 rm -f conftest.$ac_objext
52951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52952   (eval $ac_compile) 2>conftest.er1
52953   ac_status=$?
52954   grep -v '^ *+' conftest.er1 >conftest.err
52955   rm -f conftest.er1
52956   cat conftest.err >&5
52957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52958   (exit $ac_status); } &&
52959          { ac_try='test -z "$ac_cxx_werror_flag"
52960                          || test ! -s conftest.err'
52961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52962   (eval $ac_try) 2>&5
52963   ac_status=$?
52964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52965   (exit $ac_status); }; } &&
52966          { ac_try='test -s conftest.$ac_objext'
52967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52968   (eval $ac_try) 2>&5
52969   ac_status=$?
52970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52971   (exit $ac_status); }; }; then
52972   ac_fdsections=yes
52973 else
52974   echo "$as_me: failed program was:" >&5
52975 sed 's/^/| /' conftest.$ac_ext >&5
52976
52977 ac_fdsections=no
52978 fi
52979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52980   if test "$ac_test_CXXFLAGS" = set; then
52981     CXXFLAGS="$ac_save_CXXFLAGS"
52982   else
52983     # this is the suspicious part
52984     CXXFLAGS=''
52985   fi
52986   if test x"$ac_fdsections" = x"yes"; then
52987     SECTION_FLAGS='-ffunction-sections -fdata-sections'
52988   fi
52989   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52990 echo "${ECHO_T}$ac_fdsections" >&6
52991
52992   ac_ext=c
52993 ac_cpp='$CPP $CPPFLAGS'
52994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52997
52998
52999
53000
53001
53002   # If we're not using GNU ld, then there's no point in even trying these
53003   # tests.  Check for that first.  We should have already tested for gld
53004   # by now (in libtool), but require it now just to be safe...
53005   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53006   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53007
53008
53009
53010   # The name set by libtool depends on the version of libtool.  Shame on us
53011   # for depending on an impl detail, but c'est la vie.  Older versions used
53012   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53013   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53014   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53015   # set (hence we're using an older libtool), then set it.
53016   if test x${with_gnu_ld+set} != xset; then
53017     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53018       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53019       with_gnu_ld=no
53020     else
53021       with_gnu_ld=$ac_cv_prog_gnu_ld
53022     fi
53023   fi
53024
53025   # Start by getting the version number.  I think the libtool test already
53026   # does some of this, but throws away the result.
53027
53028   ldver=`$LD --version 2>/dev/null | head -1 | \
53029          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53030
53031   glibcxx_gnu_ld_version=`echo $ldver | \
53032          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53033
53034   # Set --gc-sections.
53035   if test "$with_gnu_ld" = "notbroken"; then
53036     # GNU ld it is!  Joy and bunny rabbits!
53037
53038     # All these tests are for C++; save the language and the compiler flags.
53039     # Need to do this so that g++ won't try to link in libstdc++
53040     ac_test_CFLAGS="${CFLAGS+set}"
53041     ac_save_CFLAGS="$CFLAGS"
53042     CFLAGS='-x c++  -Wl,--gc-sections'
53043
53044     # Check for -Wl,--gc-sections
53045     # XXX This test is broken at the moment, as symbols required for linking
53046     # are now in libsupc++ (not built yet).  In addition, this test has
53047     # cored on solaris in the past.  In addition, --gc-sections doesn't
53048     # really work at the moment (keeps on discarding used sections, first
53049     # .eh_frame and now some of the glibc sections for iconv).
53050     # Bzzzzt.  Thanks for playing, maybe next time.
53051     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53052 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53053     if test "$cross_compiling" = yes; then
53054   ac_sectionLDflags=yes
53055 else
53056   cat >conftest.$ac_ext <<_ACEOF
53057 /* confdefs.h.  */
53058 _ACEOF
53059 cat confdefs.h >>conftest.$ac_ext
53060 cat >>conftest.$ac_ext <<_ACEOF
53061 /* end confdefs.h.  */
53062
53063      int main(void)
53064      {
53065        try { throw 1; }
53066        catch (...) { };
53067        return 0;
53068      }
53069
53070 _ACEOF
53071 rm -f conftest$ac_exeext
53072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53073   (eval $ac_link) 2>&5
53074   ac_status=$?
53075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53076   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53078   (eval $ac_try) 2>&5
53079   ac_status=$?
53080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53081   (exit $ac_status); }; }; then
53082   ac_sectionLDflags=yes
53083 else
53084   echo "$as_me: program exited with status $ac_status" >&5
53085 echo "$as_me: failed program was:" >&5
53086 sed 's/^/| /' conftest.$ac_ext >&5
53087
53088 ( exit $ac_status )
53089 ac_sectionLDflags=no
53090 fi
53091 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53092 fi
53093     if test "$ac_test_CFLAGS" = set; then
53094       CFLAGS="$ac_save_CFLAGS"
53095     else
53096       # this is the suspicious part
53097       CFLAGS=''
53098     fi
53099     if test "$ac_sectionLDflags" = "yes"; then
53100       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53101     fi
53102     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53103 echo "${ECHO_T}$ac_sectionLDflags" >&6
53104   fi
53105
53106   # Set linker optimization flags.
53107   if test x"$with_gnu_ld" = x"yes"; then
53108     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53109   fi
53110
53111
53112
53113
53114
53115   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53116   ac_save_CXXFLAGS="$CXXFLAGS"
53117   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53118
53119     echo "$as_me:$LINENO: checking for sin in -lm" >&5
53120 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53121 if test "${ac_cv_lib_m_sin+set}" = set; then
53122   echo $ECHO_N "(cached) $ECHO_C" >&6
53123 else
53124   ac_check_lib_save_LIBS=$LIBS
53125 LIBS="-lm  $LIBS"
53126 if test x$gcc_no_link = xyes; then
53127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53129    { (exit 1); exit 1; }; }
53130 fi
53131 cat >conftest.$ac_ext <<_ACEOF
53132 /* confdefs.h.  */
53133 _ACEOF
53134 cat confdefs.h >>conftest.$ac_ext
53135 cat >>conftest.$ac_ext <<_ACEOF
53136 /* end confdefs.h.  */
53137
53138 /* Override any gcc2 internal prototype to avoid an error.  */
53139 #ifdef __cplusplus
53140 extern "C"
53141 #endif
53142 /* We use char because int might match the return type of a gcc2
53143    builtin and then its argument prototype would still apply.  */
53144 char sin ();
53145 int
53146 main ()
53147 {
53148 sin ();
53149   ;
53150   return 0;
53151 }
53152 _ACEOF
53153 rm -f conftest.$ac_objext conftest$ac_exeext
53154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53155   (eval $ac_link) 2>conftest.er1
53156   ac_status=$?
53157   grep -v '^ *+' conftest.er1 >conftest.err
53158   rm -f conftest.er1
53159   cat conftest.err >&5
53160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53161   (exit $ac_status); } &&
53162          { ac_try='test -z "$ac_c_werror_flag"
53163                          || test ! -s conftest.err'
53164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53165   (eval $ac_try) 2>&5
53166   ac_status=$?
53167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53168   (exit $ac_status); }; } &&
53169          { ac_try='test -s conftest$ac_exeext'
53170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53171   (eval $ac_try) 2>&5
53172   ac_status=$?
53173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53174   (exit $ac_status); }; }; then
53175   ac_cv_lib_m_sin=yes
53176 else
53177   echo "$as_me: failed program was:" >&5
53178 sed 's/^/| /' conftest.$ac_ext >&5
53179
53180 ac_cv_lib_m_sin=no
53181 fi
53182 rm -f conftest.err conftest.$ac_objext \
53183       conftest$ac_exeext conftest.$ac_ext
53184 LIBS=$ac_check_lib_save_LIBS
53185 fi
53186 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53187 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53188 if test $ac_cv_lib_m_sin = yes; then
53189   libm="-lm"
53190 fi
53191
53192   ac_save_LIBS="$LIBS"
53193   LIBS="$LIBS $libm"
53194
53195
53196
53197   echo "$as_me:$LINENO: checking for isinf declaration" >&5
53198 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53199   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53200     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53201   echo $ECHO_N "(cached) $ECHO_C" >&6
53202 else
53203
53204
53205
53206       ac_ext=cc
53207 ac_cpp='$CXXCPP $CPPFLAGS'
53208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53211
53212       cat >conftest.$ac_ext <<_ACEOF
53213 /* confdefs.h.  */
53214 _ACEOF
53215 cat confdefs.h >>conftest.$ac_ext
53216 cat >>conftest.$ac_ext <<_ACEOF
53217 /* end confdefs.h.  */
53218 #include <math.h>
53219                       #ifdef HAVE_IEEEFP_H
53220                       #include <ieeefp.h>
53221                       #endif
53222
53223 int
53224 main ()
53225 {
53226  isinf(0);
53227   ;
53228   return 0;
53229 }
53230 _ACEOF
53231 rm -f conftest.$ac_objext
53232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53233   (eval $ac_compile) 2>conftest.er1
53234   ac_status=$?
53235   grep -v '^ *+' conftest.er1 >conftest.err
53236   rm -f conftest.er1
53237   cat conftest.err >&5
53238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53239   (exit $ac_status); } &&
53240          { ac_try='test -z "$ac_cxx_werror_flag"
53241                          || test ! -s conftest.err'
53242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53243   (eval $ac_try) 2>&5
53244   ac_status=$?
53245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53246   (exit $ac_status); }; } &&
53247          { ac_try='test -s conftest.$ac_objext'
53248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53249   (eval $ac_try) 2>&5
53250   ac_status=$?
53251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53252   (exit $ac_status); }; }; then
53253   glibcxx_cv_func_isinf_use=yes
53254 else
53255   echo "$as_me: failed program was:" >&5
53256 sed 's/^/| /' conftest.$ac_ext >&5
53257
53258 glibcxx_cv_func_isinf_use=no
53259 fi
53260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53261       ac_ext=c
53262 ac_cpp='$CPP $CPPFLAGS'
53263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53266
53267
53268 fi
53269
53270   fi
53271   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53272 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53273
53274   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53275
53276 for ac_func in isinf
53277 do
53278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53279 echo "$as_me:$LINENO: checking for $ac_func" >&5
53280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53281 if eval "test \"\${$as_ac_var+set}\" = set"; then
53282   echo $ECHO_N "(cached) $ECHO_C" >&6
53283 else
53284   if test x$gcc_no_link = xyes; then
53285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53287    { (exit 1); exit 1; }; }
53288 fi
53289 cat >conftest.$ac_ext <<_ACEOF
53290 /* confdefs.h.  */
53291 _ACEOF
53292 cat confdefs.h >>conftest.$ac_ext
53293 cat >>conftest.$ac_ext <<_ACEOF
53294 /* end confdefs.h.  */
53295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53296    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53297 #define $ac_func innocuous_$ac_func
53298
53299 /* System header to define __stub macros and hopefully few prototypes,
53300     which can conflict with char $ac_func (); below.
53301     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53302     <limits.h> exists even on freestanding compilers.  */
53303
53304 #ifdef __STDC__
53305 # include <limits.h>
53306 #else
53307 # include <assert.h>
53308 #endif
53309
53310 #undef $ac_func
53311
53312 /* Override any gcc2 internal prototype to avoid an error.  */
53313 #ifdef __cplusplus
53314 extern "C"
53315 {
53316 #endif
53317 /* We use char because int might match the return type of a gcc2
53318    builtin and then its argument prototype would still apply.  */
53319 char $ac_func ();
53320 /* The GNU C library defines this for functions which it implements
53321     to always fail with ENOSYS.  Some functions are actually named
53322     something starting with __ and the normal name is an alias.  */
53323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53324 choke me
53325 #else
53326 char (*f) () = $ac_func;
53327 #endif
53328 #ifdef __cplusplus
53329 }
53330 #endif
53331
53332 int
53333 main ()
53334 {
53335 return f != $ac_func;
53336   ;
53337   return 0;
53338 }
53339 _ACEOF
53340 rm -f conftest.$ac_objext conftest$ac_exeext
53341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53342   (eval $ac_link) 2>conftest.er1
53343   ac_status=$?
53344   grep -v '^ *+' conftest.er1 >conftest.err
53345   rm -f conftest.er1
53346   cat conftest.err >&5
53347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53348   (exit $ac_status); } &&
53349          { ac_try='test -z "$ac_c_werror_flag"
53350                          || test ! -s conftest.err'
53351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53352   (eval $ac_try) 2>&5
53353   ac_status=$?
53354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53355   (exit $ac_status); }; } &&
53356          { ac_try='test -s conftest$ac_exeext'
53357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53358   (eval $ac_try) 2>&5
53359   ac_status=$?
53360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53361   (exit $ac_status); }; }; then
53362   eval "$as_ac_var=yes"
53363 else
53364   echo "$as_me: failed program was:" >&5
53365 sed 's/^/| /' conftest.$ac_ext >&5
53366
53367 eval "$as_ac_var=no"
53368 fi
53369 rm -f conftest.err conftest.$ac_objext \
53370       conftest$ac_exeext conftest.$ac_ext
53371 fi
53372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53374 if test `eval echo '${'$as_ac_var'}'` = yes; then
53375   cat >>confdefs.h <<_ACEOF
53376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53377 _ACEOF
53378
53379 fi
53380 done
53381
53382   else
53383
53384   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53385 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53386   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53387     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53388   echo $ECHO_N "(cached) $ECHO_C" >&6
53389 else
53390
53391
53392
53393       ac_ext=cc
53394 ac_cpp='$CXXCPP $CPPFLAGS'
53395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53398
53399       cat >conftest.$ac_ext <<_ACEOF
53400 /* confdefs.h.  */
53401 _ACEOF
53402 cat confdefs.h >>conftest.$ac_ext
53403 cat >>conftest.$ac_ext <<_ACEOF
53404 /* end confdefs.h.  */
53405 #include <math.h>
53406                       #ifdef HAVE_IEEEFP_H
53407                       #include <ieeefp.h>
53408                       #endif
53409
53410 int
53411 main ()
53412 {
53413  _isinf(0);
53414   ;
53415   return 0;
53416 }
53417 _ACEOF
53418 rm -f conftest.$ac_objext
53419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53420   (eval $ac_compile) 2>conftest.er1
53421   ac_status=$?
53422   grep -v '^ *+' conftest.er1 >conftest.err
53423   rm -f conftest.er1
53424   cat conftest.err >&5
53425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53426   (exit $ac_status); } &&
53427          { ac_try='test -z "$ac_cxx_werror_flag"
53428                          || test ! -s conftest.err'
53429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53430   (eval $ac_try) 2>&5
53431   ac_status=$?
53432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53433   (exit $ac_status); }; } &&
53434          { ac_try='test -s conftest.$ac_objext'
53435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53436   (eval $ac_try) 2>&5
53437   ac_status=$?
53438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53439   (exit $ac_status); }; }; then
53440   glibcxx_cv_func__isinf_use=yes
53441 else
53442   echo "$as_me: failed program was:" >&5
53443 sed 's/^/| /' conftest.$ac_ext >&5
53444
53445 glibcxx_cv_func__isinf_use=no
53446 fi
53447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53448       ac_ext=c
53449 ac_cpp='$CPP $CPPFLAGS'
53450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53453
53454
53455 fi
53456
53457   fi
53458   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53459 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53460
53461     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53462
53463 for ac_func in _isinf
53464 do
53465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53466 echo "$as_me:$LINENO: checking for $ac_func" >&5
53467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53468 if eval "test \"\${$as_ac_var+set}\" = set"; then
53469   echo $ECHO_N "(cached) $ECHO_C" >&6
53470 else
53471   if test x$gcc_no_link = xyes; then
53472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53474    { (exit 1); exit 1; }; }
53475 fi
53476 cat >conftest.$ac_ext <<_ACEOF
53477 /* confdefs.h.  */
53478 _ACEOF
53479 cat confdefs.h >>conftest.$ac_ext
53480 cat >>conftest.$ac_ext <<_ACEOF
53481 /* end confdefs.h.  */
53482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53484 #define $ac_func innocuous_$ac_func
53485
53486 /* System header to define __stub macros and hopefully few prototypes,
53487     which can conflict with char $ac_func (); below.
53488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53489     <limits.h> exists even on freestanding compilers.  */
53490
53491 #ifdef __STDC__
53492 # include <limits.h>
53493 #else
53494 # include <assert.h>
53495 #endif
53496
53497 #undef $ac_func
53498
53499 /* Override any gcc2 internal prototype to avoid an error.  */
53500 #ifdef __cplusplus
53501 extern "C"
53502 {
53503 #endif
53504 /* We use char because int might match the return type of a gcc2
53505    builtin and then its argument prototype would still apply.  */
53506 char $ac_func ();
53507 /* The GNU C library defines this for functions which it implements
53508     to always fail with ENOSYS.  Some functions are actually named
53509     something starting with __ and the normal name is an alias.  */
53510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53511 choke me
53512 #else
53513 char (*f) () = $ac_func;
53514 #endif
53515 #ifdef __cplusplus
53516 }
53517 #endif
53518
53519 int
53520 main ()
53521 {
53522 return f != $ac_func;
53523   ;
53524   return 0;
53525 }
53526 _ACEOF
53527 rm -f conftest.$ac_objext conftest$ac_exeext
53528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53529   (eval $ac_link) 2>conftest.er1
53530   ac_status=$?
53531   grep -v '^ *+' conftest.er1 >conftest.err
53532   rm -f conftest.er1
53533   cat conftest.err >&5
53534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53535   (exit $ac_status); } &&
53536          { ac_try='test -z "$ac_c_werror_flag"
53537                          || test ! -s conftest.err'
53538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53539   (eval $ac_try) 2>&5
53540   ac_status=$?
53541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53542   (exit $ac_status); }; } &&
53543          { ac_try='test -s conftest$ac_exeext'
53544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53545   (eval $ac_try) 2>&5
53546   ac_status=$?
53547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53548   (exit $ac_status); }; }; then
53549   eval "$as_ac_var=yes"
53550 else
53551   echo "$as_me: failed program was:" >&5
53552 sed 's/^/| /' conftest.$ac_ext >&5
53553
53554 eval "$as_ac_var=no"
53555 fi
53556 rm -f conftest.err conftest.$ac_objext \
53557       conftest$ac_exeext conftest.$ac_ext
53558 fi
53559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53561 if test `eval echo '${'$as_ac_var'}'` = yes; then
53562   cat >>confdefs.h <<_ACEOF
53563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53564 _ACEOF
53565
53566 fi
53567 done
53568
53569     fi
53570   fi
53571
53572
53573
53574
53575
53576
53577   echo "$as_me:$LINENO: checking for isnan declaration" >&5
53578 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53579   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53580     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53581   echo $ECHO_N "(cached) $ECHO_C" >&6
53582 else
53583
53584
53585
53586       ac_ext=cc
53587 ac_cpp='$CXXCPP $CPPFLAGS'
53588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53591
53592       cat >conftest.$ac_ext <<_ACEOF
53593 /* confdefs.h.  */
53594 _ACEOF
53595 cat confdefs.h >>conftest.$ac_ext
53596 cat >>conftest.$ac_ext <<_ACEOF
53597 /* end confdefs.h.  */
53598 #include <math.h>
53599                       #ifdef HAVE_IEEEFP_H
53600                       #include <ieeefp.h>
53601                       #endif
53602
53603 int
53604 main ()
53605 {
53606  isnan(0);
53607   ;
53608   return 0;
53609 }
53610 _ACEOF
53611 rm -f conftest.$ac_objext
53612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53613   (eval $ac_compile) 2>conftest.er1
53614   ac_status=$?
53615   grep -v '^ *+' conftest.er1 >conftest.err
53616   rm -f conftest.er1
53617   cat conftest.err >&5
53618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53619   (exit $ac_status); } &&
53620          { ac_try='test -z "$ac_cxx_werror_flag"
53621                          || test ! -s conftest.err'
53622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53623   (eval $ac_try) 2>&5
53624   ac_status=$?
53625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53626   (exit $ac_status); }; } &&
53627          { ac_try='test -s conftest.$ac_objext'
53628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53629   (eval $ac_try) 2>&5
53630   ac_status=$?
53631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53632   (exit $ac_status); }; }; then
53633   glibcxx_cv_func_isnan_use=yes
53634 else
53635   echo "$as_me: failed program was:" >&5
53636 sed 's/^/| /' conftest.$ac_ext >&5
53637
53638 glibcxx_cv_func_isnan_use=no
53639 fi
53640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53641       ac_ext=c
53642 ac_cpp='$CPP $CPPFLAGS'
53643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53646
53647
53648 fi
53649
53650   fi
53651   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53652 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53653
53654   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53655
53656 for ac_func in isnan
53657 do
53658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53659 echo "$as_me:$LINENO: checking for $ac_func" >&5
53660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53661 if eval "test \"\${$as_ac_var+set}\" = set"; then
53662   echo $ECHO_N "(cached) $ECHO_C" >&6
53663 else
53664   if test x$gcc_no_link = xyes; then
53665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53667    { (exit 1); exit 1; }; }
53668 fi
53669 cat >conftest.$ac_ext <<_ACEOF
53670 /* confdefs.h.  */
53671 _ACEOF
53672 cat confdefs.h >>conftest.$ac_ext
53673 cat >>conftest.$ac_ext <<_ACEOF
53674 /* end confdefs.h.  */
53675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53677 #define $ac_func innocuous_$ac_func
53678
53679 /* System header to define __stub macros and hopefully few prototypes,
53680     which can conflict with char $ac_func (); below.
53681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53682     <limits.h> exists even on freestanding compilers.  */
53683
53684 #ifdef __STDC__
53685 # include <limits.h>
53686 #else
53687 # include <assert.h>
53688 #endif
53689
53690 #undef $ac_func
53691
53692 /* Override any gcc2 internal prototype to avoid an error.  */
53693 #ifdef __cplusplus
53694 extern "C"
53695 {
53696 #endif
53697 /* We use char because int might match the return type of a gcc2
53698    builtin and then its argument prototype would still apply.  */
53699 char $ac_func ();
53700 /* The GNU C library defines this for functions which it implements
53701     to always fail with ENOSYS.  Some functions are actually named
53702     something starting with __ and the normal name is an alias.  */
53703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53704 choke me
53705 #else
53706 char (*f) () = $ac_func;
53707 #endif
53708 #ifdef __cplusplus
53709 }
53710 #endif
53711
53712 int
53713 main ()
53714 {
53715 return f != $ac_func;
53716   ;
53717   return 0;
53718 }
53719 _ACEOF
53720 rm -f conftest.$ac_objext conftest$ac_exeext
53721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53722   (eval $ac_link) 2>conftest.er1
53723   ac_status=$?
53724   grep -v '^ *+' conftest.er1 >conftest.err
53725   rm -f conftest.er1
53726   cat conftest.err >&5
53727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53728   (exit $ac_status); } &&
53729          { ac_try='test -z "$ac_c_werror_flag"
53730                          || test ! -s conftest.err'
53731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53732   (eval $ac_try) 2>&5
53733   ac_status=$?
53734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53735   (exit $ac_status); }; } &&
53736          { ac_try='test -s conftest$ac_exeext'
53737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53738   (eval $ac_try) 2>&5
53739   ac_status=$?
53740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53741   (exit $ac_status); }; }; then
53742   eval "$as_ac_var=yes"
53743 else
53744   echo "$as_me: failed program was:" >&5
53745 sed 's/^/| /' conftest.$ac_ext >&5
53746
53747 eval "$as_ac_var=no"
53748 fi
53749 rm -f conftest.err conftest.$ac_objext \
53750       conftest$ac_exeext conftest.$ac_ext
53751 fi
53752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53754 if test `eval echo '${'$as_ac_var'}'` = yes; then
53755   cat >>confdefs.h <<_ACEOF
53756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53757 _ACEOF
53758
53759 fi
53760 done
53761
53762   else
53763
53764   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53765 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53766   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53767     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53768   echo $ECHO_N "(cached) $ECHO_C" >&6
53769 else
53770
53771
53772
53773       ac_ext=cc
53774 ac_cpp='$CXXCPP $CPPFLAGS'
53775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53778
53779       cat >conftest.$ac_ext <<_ACEOF
53780 /* confdefs.h.  */
53781 _ACEOF
53782 cat confdefs.h >>conftest.$ac_ext
53783 cat >>conftest.$ac_ext <<_ACEOF
53784 /* end confdefs.h.  */
53785 #include <math.h>
53786                       #ifdef HAVE_IEEEFP_H
53787                       #include <ieeefp.h>
53788                       #endif
53789
53790 int
53791 main ()
53792 {
53793  _isnan(0);
53794   ;
53795   return 0;
53796 }
53797 _ACEOF
53798 rm -f conftest.$ac_objext
53799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53800   (eval $ac_compile) 2>conftest.er1
53801   ac_status=$?
53802   grep -v '^ *+' conftest.er1 >conftest.err
53803   rm -f conftest.er1
53804   cat conftest.err >&5
53805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53806   (exit $ac_status); } &&
53807          { ac_try='test -z "$ac_cxx_werror_flag"
53808                          || test ! -s conftest.err'
53809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53810   (eval $ac_try) 2>&5
53811   ac_status=$?
53812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53813   (exit $ac_status); }; } &&
53814          { ac_try='test -s conftest.$ac_objext'
53815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53816   (eval $ac_try) 2>&5
53817   ac_status=$?
53818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53819   (exit $ac_status); }; }; then
53820   glibcxx_cv_func__isnan_use=yes
53821 else
53822   echo "$as_me: failed program was:" >&5
53823 sed 's/^/| /' conftest.$ac_ext >&5
53824
53825 glibcxx_cv_func__isnan_use=no
53826 fi
53827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53828       ac_ext=c
53829 ac_cpp='$CPP $CPPFLAGS'
53830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53833
53834
53835 fi
53836
53837   fi
53838   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53839 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53840
53841     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53842
53843 for ac_func in _isnan
53844 do
53845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53846 echo "$as_me:$LINENO: checking for $ac_func" >&5
53847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53848 if eval "test \"\${$as_ac_var+set}\" = set"; then
53849   echo $ECHO_N "(cached) $ECHO_C" >&6
53850 else
53851   if test x$gcc_no_link = xyes; then
53852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53854    { (exit 1); exit 1; }; }
53855 fi
53856 cat >conftest.$ac_ext <<_ACEOF
53857 /* confdefs.h.  */
53858 _ACEOF
53859 cat confdefs.h >>conftest.$ac_ext
53860 cat >>conftest.$ac_ext <<_ACEOF
53861 /* end confdefs.h.  */
53862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53864 #define $ac_func innocuous_$ac_func
53865
53866 /* System header to define __stub macros and hopefully few prototypes,
53867     which can conflict with char $ac_func (); below.
53868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53869     <limits.h> exists even on freestanding compilers.  */
53870
53871 #ifdef __STDC__
53872 # include <limits.h>
53873 #else
53874 # include <assert.h>
53875 #endif
53876
53877 #undef $ac_func
53878
53879 /* Override any gcc2 internal prototype to avoid an error.  */
53880 #ifdef __cplusplus
53881 extern "C"
53882 {
53883 #endif
53884 /* We use char because int might match the return type of a gcc2
53885    builtin and then its argument prototype would still apply.  */
53886 char $ac_func ();
53887 /* The GNU C library defines this for functions which it implements
53888     to always fail with ENOSYS.  Some functions are actually named
53889     something starting with __ and the normal name is an alias.  */
53890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53891 choke me
53892 #else
53893 char (*f) () = $ac_func;
53894 #endif
53895 #ifdef __cplusplus
53896 }
53897 #endif
53898
53899 int
53900 main ()
53901 {
53902 return f != $ac_func;
53903   ;
53904   return 0;
53905 }
53906 _ACEOF
53907 rm -f conftest.$ac_objext conftest$ac_exeext
53908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53909   (eval $ac_link) 2>conftest.er1
53910   ac_status=$?
53911   grep -v '^ *+' conftest.er1 >conftest.err
53912   rm -f conftest.er1
53913   cat conftest.err >&5
53914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53915   (exit $ac_status); } &&
53916          { ac_try='test -z "$ac_c_werror_flag"
53917                          || test ! -s conftest.err'
53918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53919   (eval $ac_try) 2>&5
53920   ac_status=$?
53921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53922   (exit $ac_status); }; } &&
53923          { ac_try='test -s conftest$ac_exeext'
53924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53925   (eval $ac_try) 2>&5
53926   ac_status=$?
53927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53928   (exit $ac_status); }; }; then
53929   eval "$as_ac_var=yes"
53930 else
53931   echo "$as_me: failed program was:" >&5
53932 sed 's/^/| /' conftest.$ac_ext >&5
53933
53934 eval "$as_ac_var=no"
53935 fi
53936 rm -f conftest.err conftest.$ac_objext \
53937       conftest$ac_exeext conftest.$ac_ext
53938 fi
53939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53941 if test `eval echo '${'$as_ac_var'}'` = yes; then
53942   cat >>confdefs.h <<_ACEOF
53943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53944 _ACEOF
53945
53946 fi
53947 done
53948
53949     fi
53950   fi
53951
53952
53953
53954
53955
53956
53957   echo "$as_me:$LINENO: checking for finite declaration" >&5
53958 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53959   if test x${glibcxx_cv_func_finite_use+set} != xset; then
53960     if test "${glibcxx_cv_func_finite_use+set}" = set; then
53961   echo $ECHO_N "(cached) $ECHO_C" >&6
53962 else
53963
53964
53965
53966       ac_ext=cc
53967 ac_cpp='$CXXCPP $CPPFLAGS'
53968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53971
53972       cat >conftest.$ac_ext <<_ACEOF
53973 /* confdefs.h.  */
53974 _ACEOF
53975 cat confdefs.h >>conftest.$ac_ext
53976 cat >>conftest.$ac_ext <<_ACEOF
53977 /* end confdefs.h.  */
53978 #include <math.h>
53979                       #ifdef HAVE_IEEEFP_H
53980                       #include <ieeefp.h>
53981                       #endif
53982
53983 int
53984 main ()
53985 {
53986  finite(0);
53987   ;
53988   return 0;
53989 }
53990 _ACEOF
53991 rm -f conftest.$ac_objext
53992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53993   (eval $ac_compile) 2>conftest.er1
53994   ac_status=$?
53995   grep -v '^ *+' conftest.er1 >conftest.err
53996   rm -f conftest.er1
53997   cat conftest.err >&5
53998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53999   (exit $ac_status); } &&
54000          { ac_try='test -z "$ac_cxx_werror_flag"
54001                          || test ! -s conftest.err'
54002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54003   (eval $ac_try) 2>&5
54004   ac_status=$?
54005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54006   (exit $ac_status); }; } &&
54007          { ac_try='test -s conftest.$ac_objext'
54008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54009   (eval $ac_try) 2>&5
54010   ac_status=$?
54011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54012   (exit $ac_status); }; }; then
54013   glibcxx_cv_func_finite_use=yes
54014 else
54015   echo "$as_me: failed program was:" >&5
54016 sed 's/^/| /' conftest.$ac_ext >&5
54017
54018 glibcxx_cv_func_finite_use=no
54019 fi
54020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54021       ac_ext=c
54022 ac_cpp='$CPP $CPPFLAGS'
54023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54026
54027
54028 fi
54029
54030   fi
54031   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54032 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54033
54034   if test x$glibcxx_cv_func_finite_use = x"yes"; then
54035
54036 for ac_func in finite
54037 do
54038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54039 echo "$as_me:$LINENO: checking for $ac_func" >&5
54040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54041 if eval "test \"\${$as_ac_var+set}\" = set"; then
54042   echo $ECHO_N "(cached) $ECHO_C" >&6
54043 else
54044   if test x$gcc_no_link = xyes; then
54045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54047    { (exit 1); exit 1; }; }
54048 fi
54049 cat >conftest.$ac_ext <<_ACEOF
54050 /* confdefs.h.  */
54051 _ACEOF
54052 cat confdefs.h >>conftest.$ac_ext
54053 cat >>conftest.$ac_ext <<_ACEOF
54054 /* end confdefs.h.  */
54055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54057 #define $ac_func innocuous_$ac_func
54058
54059 /* System header to define __stub macros and hopefully few prototypes,
54060     which can conflict with char $ac_func (); below.
54061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54062     <limits.h> exists even on freestanding compilers.  */
54063
54064 #ifdef __STDC__
54065 # include <limits.h>
54066 #else
54067 # include <assert.h>
54068 #endif
54069
54070 #undef $ac_func
54071
54072 /* Override any gcc2 internal prototype to avoid an error.  */
54073 #ifdef __cplusplus
54074 extern "C"
54075 {
54076 #endif
54077 /* We use char because int might match the return type of a gcc2
54078    builtin and then its argument prototype would still apply.  */
54079 char $ac_func ();
54080 /* The GNU C library defines this for functions which it implements
54081     to always fail with ENOSYS.  Some functions are actually named
54082     something starting with __ and the normal name is an alias.  */
54083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54084 choke me
54085 #else
54086 char (*f) () = $ac_func;
54087 #endif
54088 #ifdef __cplusplus
54089 }
54090 #endif
54091
54092 int
54093 main ()
54094 {
54095 return f != $ac_func;
54096   ;
54097   return 0;
54098 }
54099 _ACEOF
54100 rm -f conftest.$ac_objext conftest$ac_exeext
54101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54102   (eval $ac_link) 2>conftest.er1
54103   ac_status=$?
54104   grep -v '^ *+' conftest.er1 >conftest.err
54105   rm -f conftest.er1
54106   cat conftest.err >&5
54107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54108   (exit $ac_status); } &&
54109          { ac_try='test -z "$ac_c_werror_flag"
54110                          || test ! -s conftest.err'
54111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54112   (eval $ac_try) 2>&5
54113   ac_status=$?
54114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54115   (exit $ac_status); }; } &&
54116          { ac_try='test -s conftest$ac_exeext'
54117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54118   (eval $ac_try) 2>&5
54119   ac_status=$?
54120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54121   (exit $ac_status); }; }; then
54122   eval "$as_ac_var=yes"
54123 else
54124   echo "$as_me: failed program was:" >&5
54125 sed 's/^/| /' conftest.$ac_ext >&5
54126
54127 eval "$as_ac_var=no"
54128 fi
54129 rm -f conftest.err conftest.$ac_objext \
54130       conftest$ac_exeext conftest.$ac_ext
54131 fi
54132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54134 if test `eval echo '${'$as_ac_var'}'` = yes; then
54135   cat >>confdefs.h <<_ACEOF
54136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54137 _ACEOF
54138
54139 fi
54140 done
54141
54142   else
54143
54144   echo "$as_me:$LINENO: checking for _finite declaration" >&5
54145 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54146   if test x${glibcxx_cv_func__finite_use+set} != xset; then
54147     if test "${glibcxx_cv_func__finite_use+set}" = set; then
54148   echo $ECHO_N "(cached) $ECHO_C" >&6
54149 else
54150
54151
54152
54153       ac_ext=cc
54154 ac_cpp='$CXXCPP $CPPFLAGS'
54155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54158
54159       cat >conftest.$ac_ext <<_ACEOF
54160 /* confdefs.h.  */
54161 _ACEOF
54162 cat confdefs.h >>conftest.$ac_ext
54163 cat >>conftest.$ac_ext <<_ACEOF
54164 /* end confdefs.h.  */
54165 #include <math.h>
54166                       #ifdef HAVE_IEEEFP_H
54167                       #include <ieeefp.h>
54168                       #endif
54169
54170 int
54171 main ()
54172 {
54173  _finite(0);
54174   ;
54175   return 0;
54176 }
54177 _ACEOF
54178 rm -f conftest.$ac_objext
54179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54180   (eval $ac_compile) 2>conftest.er1
54181   ac_status=$?
54182   grep -v '^ *+' conftest.er1 >conftest.err
54183   rm -f conftest.er1
54184   cat conftest.err >&5
54185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54186   (exit $ac_status); } &&
54187          { ac_try='test -z "$ac_cxx_werror_flag"
54188                          || test ! -s conftest.err'
54189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54190   (eval $ac_try) 2>&5
54191   ac_status=$?
54192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54193   (exit $ac_status); }; } &&
54194          { ac_try='test -s conftest.$ac_objext'
54195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54196   (eval $ac_try) 2>&5
54197   ac_status=$?
54198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54199   (exit $ac_status); }; }; then
54200   glibcxx_cv_func__finite_use=yes
54201 else
54202   echo "$as_me: failed program was:" >&5
54203 sed 's/^/| /' conftest.$ac_ext >&5
54204
54205 glibcxx_cv_func__finite_use=no
54206 fi
54207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54208       ac_ext=c
54209 ac_cpp='$CPP $CPPFLAGS'
54210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54213
54214
54215 fi
54216
54217   fi
54218   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54219 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54220
54221     if test x$glibcxx_cv_func__finite_use = x"yes"; then
54222
54223 for ac_func in _finite
54224 do
54225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54226 echo "$as_me:$LINENO: checking for $ac_func" >&5
54227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54228 if eval "test \"\${$as_ac_var+set}\" = set"; then
54229   echo $ECHO_N "(cached) $ECHO_C" >&6
54230 else
54231   if test x$gcc_no_link = xyes; then
54232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54234    { (exit 1); exit 1; }; }
54235 fi
54236 cat >conftest.$ac_ext <<_ACEOF
54237 /* confdefs.h.  */
54238 _ACEOF
54239 cat confdefs.h >>conftest.$ac_ext
54240 cat >>conftest.$ac_ext <<_ACEOF
54241 /* end confdefs.h.  */
54242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54243    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54244 #define $ac_func innocuous_$ac_func
54245
54246 /* System header to define __stub macros and hopefully few prototypes,
54247     which can conflict with char $ac_func (); below.
54248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54249     <limits.h> exists even on freestanding compilers.  */
54250
54251 #ifdef __STDC__
54252 # include <limits.h>
54253 #else
54254 # include <assert.h>
54255 #endif
54256
54257 #undef $ac_func
54258
54259 /* Override any gcc2 internal prototype to avoid an error.  */
54260 #ifdef __cplusplus
54261 extern "C"
54262 {
54263 #endif
54264 /* We use char because int might match the return type of a gcc2
54265    builtin and then its argument prototype would still apply.  */
54266 char $ac_func ();
54267 /* The GNU C library defines this for functions which it implements
54268     to always fail with ENOSYS.  Some functions are actually named
54269     something starting with __ and the normal name is an alias.  */
54270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54271 choke me
54272 #else
54273 char (*f) () = $ac_func;
54274 #endif
54275 #ifdef __cplusplus
54276 }
54277 #endif
54278
54279 int
54280 main ()
54281 {
54282 return f != $ac_func;
54283   ;
54284   return 0;
54285 }
54286 _ACEOF
54287 rm -f conftest.$ac_objext conftest$ac_exeext
54288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54289   (eval $ac_link) 2>conftest.er1
54290   ac_status=$?
54291   grep -v '^ *+' conftest.er1 >conftest.err
54292   rm -f conftest.er1
54293   cat conftest.err >&5
54294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54295   (exit $ac_status); } &&
54296          { ac_try='test -z "$ac_c_werror_flag"
54297                          || test ! -s conftest.err'
54298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54299   (eval $ac_try) 2>&5
54300   ac_status=$?
54301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54302   (exit $ac_status); }; } &&
54303          { ac_try='test -s conftest$ac_exeext'
54304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54305   (eval $ac_try) 2>&5
54306   ac_status=$?
54307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54308   (exit $ac_status); }; }; then
54309   eval "$as_ac_var=yes"
54310 else
54311   echo "$as_me: failed program was:" >&5
54312 sed 's/^/| /' conftest.$ac_ext >&5
54313
54314 eval "$as_ac_var=no"
54315 fi
54316 rm -f conftest.err conftest.$ac_objext \
54317       conftest$ac_exeext conftest.$ac_ext
54318 fi
54319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54321 if test `eval echo '${'$as_ac_var'}'` = yes; then
54322   cat >>confdefs.h <<_ACEOF
54323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54324 _ACEOF
54325
54326 fi
54327 done
54328
54329     fi
54330   fi
54331
54332
54333
54334
54335
54336
54337   echo "$as_me:$LINENO: checking for copysign declaration" >&5
54338 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54339   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54340     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54341   echo $ECHO_N "(cached) $ECHO_C" >&6
54342 else
54343
54344
54345
54346       ac_ext=cc
54347 ac_cpp='$CXXCPP $CPPFLAGS'
54348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54351
54352       cat >conftest.$ac_ext <<_ACEOF
54353 /* confdefs.h.  */
54354 _ACEOF
54355 cat confdefs.h >>conftest.$ac_ext
54356 cat >>conftest.$ac_ext <<_ACEOF
54357 /* end confdefs.h.  */
54358 #include <math.h>
54359 int
54360 main ()
54361 {
54362  copysign(0, 0);
54363   ;
54364   return 0;
54365 }
54366 _ACEOF
54367 rm -f conftest.$ac_objext
54368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54369   (eval $ac_compile) 2>conftest.er1
54370   ac_status=$?
54371   grep -v '^ *+' conftest.er1 >conftest.err
54372   rm -f conftest.er1
54373   cat conftest.err >&5
54374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54375   (exit $ac_status); } &&
54376          { ac_try='test -z "$ac_cxx_werror_flag"
54377                          || test ! -s conftest.err'
54378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54379   (eval $ac_try) 2>&5
54380   ac_status=$?
54381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54382   (exit $ac_status); }; } &&
54383          { ac_try='test -s conftest.$ac_objext'
54384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54385   (eval $ac_try) 2>&5
54386   ac_status=$?
54387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54388   (exit $ac_status); }; }; then
54389   glibcxx_cv_func_copysign_use=yes
54390 else
54391   echo "$as_me: failed program was:" >&5
54392 sed 's/^/| /' conftest.$ac_ext >&5
54393
54394 glibcxx_cv_func_copysign_use=no
54395 fi
54396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54397       ac_ext=c
54398 ac_cpp='$CPP $CPPFLAGS'
54399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54402
54403
54404 fi
54405
54406   fi
54407   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54408 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54409
54410   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54411
54412 for ac_func in copysign
54413 do
54414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54415 echo "$as_me:$LINENO: checking for $ac_func" >&5
54416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54417 if eval "test \"\${$as_ac_var+set}\" = set"; then
54418   echo $ECHO_N "(cached) $ECHO_C" >&6
54419 else
54420   if test x$gcc_no_link = xyes; then
54421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54423    { (exit 1); exit 1; }; }
54424 fi
54425 cat >conftest.$ac_ext <<_ACEOF
54426 /* confdefs.h.  */
54427 _ACEOF
54428 cat confdefs.h >>conftest.$ac_ext
54429 cat >>conftest.$ac_ext <<_ACEOF
54430 /* end confdefs.h.  */
54431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54432    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54433 #define $ac_func innocuous_$ac_func
54434
54435 /* System header to define __stub macros and hopefully few prototypes,
54436     which can conflict with char $ac_func (); below.
54437     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54438     <limits.h> exists even on freestanding compilers.  */
54439
54440 #ifdef __STDC__
54441 # include <limits.h>
54442 #else
54443 # include <assert.h>
54444 #endif
54445
54446 #undef $ac_func
54447
54448 /* Override any gcc2 internal prototype to avoid an error.  */
54449 #ifdef __cplusplus
54450 extern "C"
54451 {
54452 #endif
54453 /* We use char because int might match the return type of a gcc2
54454    builtin and then its argument prototype would still apply.  */
54455 char $ac_func ();
54456 /* The GNU C library defines this for functions which it implements
54457     to always fail with ENOSYS.  Some functions are actually named
54458     something starting with __ and the normal name is an alias.  */
54459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54460 choke me
54461 #else
54462 char (*f) () = $ac_func;
54463 #endif
54464 #ifdef __cplusplus
54465 }
54466 #endif
54467
54468 int
54469 main ()
54470 {
54471 return f != $ac_func;
54472   ;
54473   return 0;
54474 }
54475 _ACEOF
54476 rm -f conftest.$ac_objext conftest$ac_exeext
54477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54478   (eval $ac_link) 2>conftest.er1
54479   ac_status=$?
54480   grep -v '^ *+' conftest.er1 >conftest.err
54481   rm -f conftest.er1
54482   cat conftest.err >&5
54483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54484   (exit $ac_status); } &&
54485          { ac_try='test -z "$ac_c_werror_flag"
54486                          || test ! -s conftest.err'
54487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54488   (eval $ac_try) 2>&5
54489   ac_status=$?
54490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54491   (exit $ac_status); }; } &&
54492          { ac_try='test -s conftest$ac_exeext'
54493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54494   (eval $ac_try) 2>&5
54495   ac_status=$?
54496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54497   (exit $ac_status); }; }; then
54498   eval "$as_ac_var=yes"
54499 else
54500   echo "$as_me: failed program was:" >&5
54501 sed 's/^/| /' conftest.$ac_ext >&5
54502
54503 eval "$as_ac_var=no"
54504 fi
54505 rm -f conftest.err conftest.$ac_objext \
54506       conftest$ac_exeext conftest.$ac_ext
54507 fi
54508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54510 if test `eval echo '${'$as_ac_var'}'` = yes; then
54511   cat >>confdefs.h <<_ACEOF
54512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54513 _ACEOF
54514
54515 fi
54516 done
54517
54518   else
54519
54520   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54521 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54522   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54523     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54524   echo $ECHO_N "(cached) $ECHO_C" >&6
54525 else
54526
54527
54528
54529       ac_ext=cc
54530 ac_cpp='$CXXCPP $CPPFLAGS'
54531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54534
54535       cat >conftest.$ac_ext <<_ACEOF
54536 /* confdefs.h.  */
54537 _ACEOF
54538 cat confdefs.h >>conftest.$ac_ext
54539 cat >>conftest.$ac_ext <<_ACEOF
54540 /* end confdefs.h.  */
54541 #include <math.h>
54542 int
54543 main ()
54544 {
54545  _copysign(0, 0);
54546   ;
54547   return 0;
54548 }
54549 _ACEOF
54550 rm -f conftest.$ac_objext
54551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54552   (eval $ac_compile) 2>conftest.er1
54553   ac_status=$?
54554   grep -v '^ *+' conftest.er1 >conftest.err
54555   rm -f conftest.er1
54556   cat conftest.err >&5
54557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54558   (exit $ac_status); } &&
54559          { ac_try='test -z "$ac_cxx_werror_flag"
54560                          || test ! -s conftest.err'
54561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54562   (eval $ac_try) 2>&5
54563   ac_status=$?
54564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54565   (exit $ac_status); }; } &&
54566          { ac_try='test -s conftest.$ac_objext'
54567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54568   (eval $ac_try) 2>&5
54569   ac_status=$?
54570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54571   (exit $ac_status); }; }; then
54572   glibcxx_cv_func__copysign_use=yes
54573 else
54574   echo "$as_me: failed program was:" >&5
54575 sed 's/^/| /' conftest.$ac_ext >&5
54576
54577 glibcxx_cv_func__copysign_use=no
54578 fi
54579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54580       ac_ext=c
54581 ac_cpp='$CPP $CPPFLAGS'
54582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54585
54586
54587 fi
54588
54589   fi
54590   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54591 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54592
54593     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54594
54595 for ac_func in _copysign
54596 do
54597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54598 echo "$as_me:$LINENO: checking for $ac_func" >&5
54599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54600 if eval "test \"\${$as_ac_var+set}\" = set"; then
54601   echo $ECHO_N "(cached) $ECHO_C" >&6
54602 else
54603   if test x$gcc_no_link = xyes; then
54604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54606    { (exit 1); exit 1; }; }
54607 fi
54608 cat >conftest.$ac_ext <<_ACEOF
54609 /* confdefs.h.  */
54610 _ACEOF
54611 cat confdefs.h >>conftest.$ac_ext
54612 cat >>conftest.$ac_ext <<_ACEOF
54613 /* end confdefs.h.  */
54614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54616 #define $ac_func innocuous_$ac_func
54617
54618 /* System header to define __stub macros and hopefully few prototypes,
54619     which can conflict with char $ac_func (); below.
54620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54621     <limits.h> exists even on freestanding compilers.  */
54622
54623 #ifdef __STDC__
54624 # include <limits.h>
54625 #else
54626 # include <assert.h>
54627 #endif
54628
54629 #undef $ac_func
54630
54631 /* Override any gcc2 internal prototype to avoid an error.  */
54632 #ifdef __cplusplus
54633 extern "C"
54634 {
54635 #endif
54636 /* We use char because int might match the return type of a gcc2
54637    builtin and then its argument prototype would still apply.  */
54638 char $ac_func ();
54639 /* The GNU C library defines this for functions which it implements
54640     to always fail with ENOSYS.  Some functions are actually named
54641     something starting with __ and the normal name is an alias.  */
54642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54643 choke me
54644 #else
54645 char (*f) () = $ac_func;
54646 #endif
54647 #ifdef __cplusplus
54648 }
54649 #endif
54650
54651 int
54652 main ()
54653 {
54654 return f != $ac_func;
54655   ;
54656   return 0;
54657 }
54658 _ACEOF
54659 rm -f conftest.$ac_objext conftest$ac_exeext
54660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54661   (eval $ac_link) 2>conftest.er1
54662   ac_status=$?
54663   grep -v '^ *+' conftest.er1 >conftest.err
54664   rm -f conftest.er1
54665   cat conftest.err >&5
54666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54667   (exit $ac_status); } &&
54668          { ac_try='test -z "$ac_c_werror_flag"
54669                          || test ! -s conftest.err'
54670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54671   (eval $ac_try) 2>&5
54672   ac_status=$?
54673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54674   (exit $ac_status); }; } &&
54675          { ac_try='test -s conftest$ac_exeext'
54676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54677   (eval $ac_try) 2>&5
54678   ac_status=$?
54679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54680   (exit $ac_status); }; }; then
54681   eval "$as_ac_var=yes"
54682 else
54683   echo "$as_me: failed program was:" >&5
54684 sed 's/^/| /' conftest.$ac_ext >&5
54685
54686 eval "$as_ac_var=no"
54687 fi
54688 rm -f conftest.err conftest.$ac_objext \
54689       conftest$ac_exeext conftest.$ac_ext
54690 fi
54691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54693 if test `eval echo '${'$as_ac_var'}'` = yes; then
54694   cat >>confdefs.h <<_ACEOF
54695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54696 _ACEOF
54697
54698 fi
54699 done
54700
54701     fi
54702   fi
54703
54704
54705
54706
54707
54708
54709   echo "$as_me:$LINENO: checking for sincos declaration" >&5
54710 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54711   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54712     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54713   echo $ECHO_N "(cached) $ECHO_C" >&6
54714 else
54715
54716
54717
54718       ac_ext=cc
54719 ac_cpp='$CXXCPP $CPPFLAGS'
54720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54723
54724       cat >conftest.$ac_ext <<_ACEOF
54725 /* confdefs.h.  */
54726 _ACEOF
54727 cat confdefs.h >>conftest.$ac_ext
54728 cat >>conftest.$ac_ext <<_ACEOF
54729 /* end confdefs.h.  */
54730 #include <math.h>
54731 int
54732 main ()
54733 {
54734  sincos(0, 0, 0);
54735   ;
54736   return 0;
54737 }
54738 _ACEOF
54739 rm -f conftest.$ac_objext
54740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54741   (eval $ac_compile) 2>conftest.er1
54742   ac_status=$?
54743   grep -v '^ *+' conftest.er1 >conftest.err
54744   rm -f conftest.er1
54745   cat conftest.err >&5
54746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54747   (exit $ac_status); } &&
54748          { ac_try='test -z "$ac_cxx_werror_flag"
54749                          || test ! -s conftest.err'
54750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54751   (eval $ac_try) 2>&5
54752   ac_status=$?
54753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54754   (exit $ac_status); }; } &&
54755          { ac_try='test -s conftest.$ac_objext'
54756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54757   (eval $ac_try) 2>&5
54758   ac_status=$?
54759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54760   (exit $ac_status); }; }; then
54761   glibcxx_cv_func_sincos_use=yes
54762 else
54763   echo "$as_me: failed program was:" >&5
54764 sed 's/^/| /' conftest.$ac_ext >&5
54765
54766 glibcxx_cv_func_sincos_use=no
54767 fi
54768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54769       ac_ext=c
54770 ac_cpp='$CPP $CPPFLAGS'
54771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54774
54775
54776 fi
54777
54778   fi
54779   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54780 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54781
54782   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54783
54784 for ac_func in sincos
54785 do
54786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54787 echo "$as_me:$LINENO: checking for $ac_func" >&5
54788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54789 if eval "test \"\${$as_ac_var+set}\" = set"; then
54790   echo $ECHO_N "(cached) $ECHO_C" >&6
54791 else
54792   if test x$gcc_no_link = xyes; then
54793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54795    { (exit 1); exit 1; }; }
54796 fi
54797 cat >conftest.$ac_ext <<_ACEOF
54798 /* confdefs.h.  */
54799 _ACEOF
54800 cat confdefs.h >>conftest.$ac_ext
54801 cat >>conftest.$ac_ext <<_ACEOF
54802 /* end confdefs.h.  */
54803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54804    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54805 #define $ac_func innocuous_$ac_func
54806
54807 /* System header to define __stub macros and hopefully few prototypes,
54808     which can conflict with char $ac_func (); below.
54809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54810     <limits.h> exists even on freestanding compilers.  */
54811
54812 #ifdef __STDC__
54813 # include <limits.h>
54814 #else
54815 # include <assert.h>
54816 #endif
54817
54818 #undef $ac_func
54819
54820 /* Override any gcc2 internal prototype to avoid an error.  */
54821 #ifdef __cplusplus
54822 extern "C"
54823 {
54824 #endif
54825 /* We use char because int might match the return type of a gcc2
54826    builtin and then its argument prototype would still apply.  */
54827 char $ac_func ();
54828 /* The GNU C library defines this for functions which it implements
54829     to always fail with ENOSYS.  Some functions are actually named
54830     something starting with __ and the normal name is an alias.  */
54831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54832 choke me
54833 #else
54834 char (*f) () = $ac_func;
54835 #endif
54836 #ifdef __cplusplus
54837 }
54838 #endif
54839
54840 int
54841 main ()
54842 {
54843 return f != $ac_func;
54844   ;
54845   return 0;
54846 }
54847 _ACEOF
54848 rm -f conftest.$ac_objext conftest$ac_exeext
54849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54850   (eval $ac_link) 2>conftest.er1
54851   ac_status=$?
54852   grep -v '^ *+' conftest.er1 >conftest.err
54853   rm -f conftest.er1
54854   cat conftest.err >&5
54855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54856   (exit $ac_status); } &&
54857          { ac_try='test -z "$ac_c_werror_flag"
54858                          || test ! -s conftest.err'
54859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54860   (eval $ac_try) 2>&5
54861   ac_status=$?
54862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54863   (exit $ac_status); }; } &&
54864          { ac_try='test -s conftest$ac_exeext'
54865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54866   (eval $ac_try) 2>&5
54867   ac_status=$?
54868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54869   (exit $ac_status); }; }; then
54870   eval "$as_ac_var=yes"
54871 else
54872   echo "$as_me: failed program was:" >&5
54873 sed 's/^/| /' conftest.$ac_ext >&5
54874
54875 eval "$as_ac_var=no"
54876 fi
54877 rm -f conftest.err conftest.$ac_objext \
54878       conftest$ac_exeext conftest.$ac_ext
54879 fi
54880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54882 if test `eval echo '${'$as_ac_var'}'` = yes; then
54883   cat >>confdefs.h <<_ACEOF
54884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54885 _ACEOF
54886
54887 fi
54888 done
54889
54890   else
54891
54892   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54893 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54894   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54895     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54896   echo $ECHO_N "(cached) $ECHO_C" >&6
54897 else
54898
54899
54900
54901       ac_ext=cc
54902 ac_cpp='$CXXCPP $CPPFLAGS'
54903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54906
54907       cat >conftest.$ac_ext <<_ACEOF
54908 /* confdefs.h.  */
54909 _ACEOF
54910 cat confdefs.h >>conftest.$ac_ext
54911 cat >>conftest.$ac_ext <<_ACEOF
54912 /* end confdefs.h.  */
54913 #include <math.h>
54914 int
54915 main ()
54916 {
54917  _sincos(0, 0, 0);
54918   ;
54919   return 0;
54920 }
54921 _ACEOF
54922 rm -f conftest.$ac_objext
54923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54924   (eval $ac_compile) 2>conftest.er1
54925   ac_status=$?
54926   grep -v '^ *+' conftest.er1 >conftest.err
54927   rm -f conftest.er1
54928   cat conftest.err >&5
54929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54930   (exit $ac_status); } &&
54931          { ac_try='test -z "$ac_cxx_werror_flag"
54932                          || test ! -s conftest.err'
54933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54934   (eval $ac_try) 2>&5
54935   ac_status=$?
54936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54937   (exit $ac_status); }; } &&
54938          { ac_try='test -s conftest.$ac_objext'
54939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54940   (eval $ac_try) 2>&5
54941   ac_status=$?
54942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54943   (exit $ac_status); }; }; then
54944   glibcxx_cv_func__sincos_use=yes
54945 else
54946   echo "$as_me: failed program was:" >&5
54947 sed 's/^/| /' conftest.$ac_ext >&5
54948
54949 glibcxx_cv_func__sincos_use=no
54950 fi
54951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54952       ac_ext=c
54953 ac_cpp='$CPP $CPPFLAGS'
54954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54957
54958
54959 fi
54960
54961   fi
54962   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54963 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54964
54965     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54966
54967 for ac_func in _sincos
54968 do
54969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54970 echo "$as_me:$LINENO: checking for $ac_func" >&5
54971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54972 if eval "test \"\${$as_ac_var+set}\" = set"; then
54973   echo $ECHO_N "(cached) $ECHO_C" >&6
54974 else
54975   if test x$gcc_no_link = xyes; then
54976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54978    { (exit 1); exit 1; }; }
54979 fi
54980 cat >conftest.$ac_ext <<_ACEOF
54981 /* confdefs.h.  */
54982 _ACEOF
54983 cat confdefs.h >>conftest.$ac_ext
54984 cat >>conftest.$ac_ext <<_ACEOF
54985 /* end confdefs.h.  */
54986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54988 #define $ac_func innocuous_$ac_func
54989
54990 /* System header to define __stub macros and hopefully few prototypes,
54991     which can conflict with char $ac_func (); below.
54992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54993     <limits.h> exists even on freestanding compilers.  */
54994
54995 #ifdef __STDC__
54996 # include <limits.h>
54997 #else
54998 # include <assert.h>
54999 #endif
55000
55001 #undef $ac_func
55002
55003 /* Override any gcc2 internal prototype to avoid an error.  */
55004 #ifdef __cplusplus
55005 extern "C"
55006 {
55007 #endif
55008 /* We use char because int might match the return type of a gcc2
55009    builtin and then its argument prototype would still apply.  */
55010 char $ac_func ();
55011 /* The GNU C library defines this for functions which it implements
55012     to always fail with ENOSYS.  Some functions are actually named
55013     something starting with __ and the normal name is an alias.  */
55014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55015 choke me
55016 #else
55017 char (*f) () = $ac_func;
55018 #endif
55019 #ifdef __cplusplus
55020 }
55021 #endif
55022
55023 int
55024 main ()
55025 {
55026 return f != $ac_func;
55027   ;
55028   return 0;
55029 }
55030 _ACEOF
55031 rm -f conftest.$ac_objext conftest$ac_exeext
55032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55033   (eval $ac_link) 2>conftest.er1
55034   ac_status=$?
55035   grep -v '^ *+' conftest.er1 >conftest.err
55036   rm -f conftest.er1
55037   cat conftest.err >&5
55038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55039   (exit $ac_status); } &&
55040          { ac_try='test -z "$ac_c_werror_flag"
55041                          || test ! -s conftest.err'
55042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55043   (eval $ac_try) 2>&5
55044   ac_status=$?
55045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55046   (exit $ac_status); }; } &&
55047          { ac_try='test -s conftest$ac_exeext'
55048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55049   (eval $ac_try) 2>&5
55050   ac_status=$?
55051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55052   (exit $ac_status); }; }; then
55053   eval "$as_ac_var=yes"
55054 else
55055   echo "$as_me: failed program was:" >&5
55056 sed 's/^/| /' conftest.$ac_ext >&5
55057
55058 eval "$as_ac_var=no"
55059 fi
55060 rm -f conftest.err conftest.$ac_objext \
55061       conftest$ac_exeext conftest.$ac_ext
55062 fi
55063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55065 if test `eval echo '${'$as_ac_var'}'` = yes; then
55066   cat >>confdefs.h <<_ACEOF
55067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55068 _ACEOF
55069
55070 fi
55071 done
55072
55073     fi
55074   fi
55075
55076
55077
55078
55079
55080
55081   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55082 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55083   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55084     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55085   echo $ECHO_N "(cached) $ECHO_C" >&6
55086 else
55087
55088
55089
55090       ac_ext=cc
55091 ac_cpp='$CXXCPP $CPPFLAGS'
55092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55095
55096       cat >conftest.$ac_ext <<_ACEOF
55097 /* confdefs.h.  */
55098 _ACEOF
55099 cat confdefs.h >>conftest.$ac_ext
55100 cat >>conftest.$ac_ext <<_ACEOF
55101 /* end confdefs.h.  */
55102 #include <math.h>
55103                       #ifdef HAVE_IEEEFP_H
55104                       #include <ieeefp.h>
55105                       #endif
55106
55107 int
55108 main ()
55109 {
55110  fpclass(0);
55111   ;
55112   return 0;
55113 }
55114 _ACEOF
55115 rm -f conftest.$ac_objext
55116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55117   (eval $ac_compile) 2>conftest.er1
55118   ac_status=$?
55119   grep -v '^ *+' conftest.er1 >conftest.err
55120   rm -f conftest.er1
55121   cat conftest.err >&5
55122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55123   (exit $ac_status); } &&
55124          { ac_try='test -z "$ac_cxx_werror_flag"
55125                          || test ! -s conftest.err'
55126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55127   (eval $ac_try) 2>&5
55128   ac_status=$?
55129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55130   (exit $ac_status); }; } &&
55131          { ac_try='test -s conftest.$ac_objext'
55132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55133   (eval $ac_try) 2>&5
55134   ac_status=$?
55135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55136   (exit $ac_status); }; }; then
55137   glibcxx_cv_func_fpclass_use=yes
55138 else
55139   echo "$as_me: failed program was:" >&5
55140 sed 's/^/| /' conftest.$ac_ext >&5
55141
55142 glibcxx_cv_func_fpclass_use=no
55143 fi
55144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55145       ac_ext=c
55146 ac_cpp='$CPP $CPPFLAGS'
55147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55150
55151
55152 fi
55153
55154   fi
55155   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55156 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55157
55158   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55159
55160 for ac_func in fpclass
55161 do
55162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55163 echo "$as_me:$LINENO: checking for $ac_func" >&5
55164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55165 if eval "test \"\${$as_ac_var+set}\" = set"; then
55166   echo $ECHO_N "(cached) $ECHO_C" >&6
55167 else
55168   if test x$gcc_no_link = xyes; then
55169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55171    { (exit 1); exit 1; }; }
55172 fi
55173 cat >conftest.$ac_ext <<_ACEOF
55174 /* confdefs.h.  */
55175 _ACEOF
55176 cat confdefs.h >>conftest.$ac_ext
55177 cat >>conftest.$ac_ext <<_ACEOF
55178 /* end confdefs.h.  */
55179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55180    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55181 #define $ac_func innocuous_$ac_func
55182
55183 /* System header to define __stub macros and hopefully few prototypes,
55184     which can conflict with char $ac_func (); below.
55185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55186     <limits.h> exists even on freestanding compilers.  */
55187
55188 #ifdef __STDC__
55189 # include <limits.h>
55190 #else
55191 # include <assert.h>
55192 #endif
55193
55194 #undef $ac_func
55195
55196 /* Override any gcc2 internal prototype to avoid an error.  */
55197 #ifdef __cplusplus
55198 extern "C"
55199 {
55200 #endif
55201 /* We use char because int might match the return type of a gcc2
55202    builtin and then its argument prototype would still apply.  */
55203 char $ac_func ();
55204 /* The GNU C library defines this for functions which it implements
55205     to always fail with ENOSYS.  Some functions are actually named
55206     something starting with __ and the normal name is an alias.  */
55207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55208 choke me
55209 #else
55210 char (*f) () = $ac_func;
55211 #endif
55212 #ifdef __cplusplus
55213 }
55214 #endif
55215
55216 int
55217 main ()
55218 {
55219 return f != $ac_func;
55220   ;
55221   return 0;
55222 }
55223 _ACEOF
55224 rm -f conftest.$ac_objext conftest$ac_exeext
55225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55226   (eval $ac_link) 2>conftest.er1
55227   ac_status=$?
55228   grep -v '^ *+' conftest.er1 >conftest.err
55229   rm -f conftest.er1
55230   cat conftest.err >&5
55231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55232   (exit $ac_status); } &&
55233          { ac_try='test -z "$ac_c_werror_flag"
55234                          || test ! -s conftest.err'
55235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55236   (eval $ac_try) 2>&5
55237   ac_status=$?
55238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55239   (exit $ac_status); }; } &&
55240          { ac_try='test -s conftest$ac_exeext'
55241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55242   (eval $ac_try) 2>&5
55243   ac_status=$?
55244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55245   (exit $ac_status); }; }; then
55246   eval "$as_ac_var=yes"
55247 else
55248   echo "$as_me: failed program was:" >&5
55249 sed 's/^/| /' conftest.$ac_ext >&5
55250
55251 eval "$as_ac_var=no"
55252 fi
55253 rm -f conftest.err conftest.$ac_objext \
55254       conftest$ac_exeext conftest.$ac_ext
55255 fi
55256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55258 if test `eval echo '${'$as_ac_var'}'` = yes; then
55259   cat >>confdefs.h <<_ACEOF
55260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55261 _ACEOF
55262
55263 fi
55264 done
55265
55266   else
55267
55268   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55269 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55270   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55271     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55272   echo $ECHO_N "(cached) $ECHO_C" >&6
55273 else
55274
55275
55276
55277       ac_ext=cc
55278 ac_cpp='$CXXCPP $CPPFLAGS'
55279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55282
55283       cat >conftest.$ac_ext <<_ACEOF
55284 /* confdefs.h.  */
55285 _ACEOF
55286 cat confdefs.h >>conftest.$ac_ext
55287 cat >>conftest.$ac_ext <<_ACEOF
55288 /* end confdefs.h.  */
55289 #include <math.h>
55290                       #ifdef HAVE_IEEEFP_H
55291                       #include <ieeefp.h>
55292                       #endif
55293
55294 int
55295 main ()
55296 {
55297  _fpclass(0);
55298   ;
55299   return 0;
55300 }
55301 _ACEOF
55302 rm -f conftest.$ac_objext
55303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55304   (eval $ac_compile) 2>conftest.er1
55305   ac_status=$?
55306   grep -v '^ *+' conftest.er1 >conftest.err
55307   rm -f conftest.er1
55308   cat conftest.err >&5
55309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55310   (exit $ac_status); } &&
55311          { ac_try='test -z "$ac_cxx_werror_flag"
55312                          || test ! -s conftest.err'
55313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55314   (eval $ac_try) 2>&5
55315   ac_status=$?
55316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55317   (exit $ac_status); }; } &&
55318          { ac_try='test -s conftest.$ac_objext'
55319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55320   (eval $ac_try) 2>&5
55321   ac_status=$?
55322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55323   (exit $ac_status); }; }; then
55324   glibcxx_cv_func__fpclass_use=yes
55325 else
55326   echo "$as_me: failed program was:" >&5
55327 sed 's/^/| /' conftest.$ac_ext >&5
55328
55329 glibcxx_cv_func__fpclass_use=no
55330 fi
55331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55332       ac_ext=c
55333 ac_cpp='$CPP $CPPFLAGS'
55334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55337
55338
55339 fi
55340
55341   fi
55342   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55343 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55344
55345     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55346
55347 for ac_func in _fpclass
55348 do
55349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55350 echo "$as_me:$LINENO: checking for $ac_func" >&5
55351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55352 if eval "test \"\${$as_ac_var+set}\" = set"; then
55353   echo $ECHO_N "(cached) $ECHO_C" >&6
55354 else
55355   if test x$gcc_no_link = xyes; then
55356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55358    { (exit 1); exit 1; }; }
55359 fi
55360 cat >conftest.$ac_ext <<_ACEOF
55361 /* confdefs.h.  */
55362 _ACEOF
55363 cat confdefs.h >>conftest.$ac_ext
55364 cat >>conftest.$ac_ext <<_ACEOF
55365 /* end confdefs.h.  */
55366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55368 #define $ac_func innocuous_$ac_func
55369
55370 /* System header to define __stub macros and hopefully few prototypes,
55371     which can conflict with char $ac_func (); below.
55372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55373     <limits.h> exists even on freestanding compilers.  */
55374
55375 #ifdef __STDC__
55376 # include <limits.h>
55377 #else
55378 # include <assert.h>
55379 #endif
55380
55381 #undef $ac_func
55382
55383 /* Override any gcc2 internal prototype to avoid an error.  */
55384 #ifdef __cplusplus
55385 extern "C"
55386 {
55387 #endif
55388 /* We use char because int might match the return type of a gcc2
55389    builtin and then its argument prototype would still apply.  */
55390 char $ac_func ();
55391 /* The GNU C library defines this for functions which it implements
55392     to always fail with ENOSYS.  Some functions are actually named
55393     something starting with __ and the normal name is an alias.  */
55394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55395 choke me
55396 #else
55397 char (*f) () = $ac_func;
55398 #endif
55399 #ifdef __cplusplus
55400 }
55401 #endif
55402
55403 int
55404 main ()
55405 {
55406 return f != $ac_func;
55407   ;
55408   return 0;
55409 }
55410 _ACEOF
55411 rm -f conftest.$ac_objext conftest$ac_exeext
55412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55413   (eval $ac_link) 2>conftest.er1
55414   ac_status=$?
55415   grep -v '^ *+' conftest.er1 >conftest.err
55416   rm -f conftest.er1
55417   cat conftest.err >&5
55418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55419   (exit $ac_status); } &&
55420          { ac_try='test -z "$ac_c_werror_flag"
55421                          || test ! -s conftest.err'
55422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55423   (eval $ac_try) 2>&5
55424   ac_status=$?
55425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55426   (exit $ac_status); }; } &&
55427          { ac_try='test -s conftest$ac_exeext'
55428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55429   (eval $ac_try) 2>&5
55430   ac_status=$?
55431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55432   (exit $ac_status); }; }; then
55433   eval "$as_ac_var=yes"
55434 else
55435   echo "$as_me: failed program was:" >&5
55436 sed 's/^/| /' conftest.$ac_ext >&5
55437
55438 eval "$as_ac_var=no"
55439 fi
55440 rm -f conftest.err conftest.$ac_objext \
55441       conftest$ac_exeext conftest.$ac_ext
55442 fi
55443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55445 if test `eval echo '${'$as_ac_var'}'` = yes; then
55446   cat >>confdefs.h <<_ACEOF
55447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55448 _ACEOF
55449
55450 fi
55451 done
55452
55453     fi
55454   fi
55455
55456
55457
55458
55459
55460
55461   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55462 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55463   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55464     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55465   echo $ECHO_N "(cached) $ECHO_C" >&6
55466 else
55467
55468
55469
55470       ac_ext=cc
55471 ac_cpp='$CXXCPP $CPPFLAGS'
55472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55475
55476       cat >conftest.$ac_ext <<_ACEOF
55477 /* confdefs.h.  */
55478 _ACEOF
55479 cat confdefs.h >>conftest.$ac_ext
55480 cat >>conftest.$ac_ext <<_ACEOF
55481 /* end confdefs.h.  */
55482 #include <math.h>
55483                       #ifdef HAVE_IEEEFP_H
55484                       #include <ieeefp.h>
55485                       #endif
55486
55487 int
55488 main ()
55489 {
55490  qfpclass(0);
55491   ;
55492   return 0;
55493 }
55494 _ACEOF
55495 rm -f conftest.$ac_objext
55496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55497   (eval $ac_compile) 2>conftest.er1
55498   ac_status=$?
55499   grep -v '^ *+' conftest.er1 >conftest.err
55500   rm -f conftest.er1
55501   cat conftest.err >&5
55502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55503   (exit $ac_status); } &&
55504          { ac_try='test -z "$ac_cxx_werror_flag"
55505                          || test ! -s conftest.err'
55506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55507   (eval $ac_try) 2>&5
55508   ac_status=$?
55509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55510   (exit $ac_status); }; } &&
55511          { ac_try='test -s conftest.$ac_objext'
55512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55513   (eval $ac_try) 2>&5
55514   ac_status=$?
55515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55516   (exit $ac_status); }; }; then
55517   glibcxx_cv_func_qfpclass_use=yes
55518 else
55519   echo "$as_me: failed program was:" >&5
55520 sed 's/^/| /' conftest.$ac_ext >&5
55521
55522 glibcxx_cv_func_qfpclass_use=no
55523 fi
55524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55525       ac_ext=c
55526 ac_cpp='$CPP $CPPFLAGS'
55527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55530
55531
55532 fi
55533
55534   fi
55535   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55536 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55537
55538   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55539
55540 for ac_func in qfpclass
55541 do
55542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55543 echo "$as_me:$LINENO: checking for $ac_func" >&5
55544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55545 if eval "test \"\${$as_ac_var+set}\" = set"; then
55546   echo $ECHO_N "(cached) $ECHO_C" >&6
55547 else
55548   if test x$gcc_no_link = xyes; then
55549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55551    { (exit 1); exit 1; }; }
55552 fi
55553 cat >conftest.$ac_ext <<_ACEOF
55554 /* confdefs.h.  */
55555 _ACEOF
55556 cat confdefs.h >>conftest.$ac_ext
55557 cat >>conftest.$ac_ext <<_ACEOF
55558 /* end confdefs.h.  */
55559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55561 #define $ac_func innocuous_$ac_func
55562
55563 /* System header to define __stub macros and hopefully few prototypes,
55564     which can conflict with char $ac_func (); below.
55565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55566     <limits.h> exists even on freestanding compilers.  */
55567
55568 #ifdef __STDC__
55569 # include <limits.h>
55570 #else
55571 # include <assert.h>
55572 #endif
55573
55574 #undef $ac_func
55575
55576 /* Override any gcc2 internal prototype to avoid an error.  */
55577 #ifdef __cplusplus
55578 extern "C"
55579 {
55580 #endif
55581 /* We use char because int might match the return type of a gcc2
55582    builtin and then its argument prototype would still apply.  */
55583 char $ac_func ();
55584 /* The GNU C library defines this for functions which it implements
55585     to always fail with ENOSYS.  Some functions are actually named
55586     something starting with __ and the normal name is an alias.  */
55587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55588 choke me
55589 #else
55590 char (*f) () = $ac_func;
55591 #endif
55592 #ifdef __cplusplus
55593 }
55594 #endif
55595
55596 int
55597 main ()
55598 {
55599 return f != $ac_func;
55600   ;
55601   return 0;
55602 }
55603 _ACEOF
55604 rm -f conftest.$ac_objext conftest$ac_exeext
55605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55606   (eval $ac_link) 2>conftest.er1
55607   ac_status=$?
55608   grep -v '^ *+' conftest.er1 >conftest.err
55609   rm -f conftest.er1
55610   cat conftest.err >&5
55611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55612   (exit $ac_status); } &&
55613          { ac_try='test -z "$ac_c_werror_flag"
55614                          || test ! -s conftest.err'
55615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55616   (eval $ac_try) 2>&5
55617   ac_status=$?
55618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55619   (exit $ac_status); }; } &&
55620          { ac_try='test -s conftest$ac_exeext'
55621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55622   (eval $ac_try) 2>&5
55623   ac_status=$?
55624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55625   (exit $ac_status); }; }; then
55626   eval "$as_ac_var=yes"
55627 else
55628   echo "$as_me: failed program was:" >&5
55629 sed 's/^/| /' conftest.$ac_ext >&5
55630
55631 eval "$as_ac_var=no"
55632 fi
55633 rm -f conftest.err conftest.$ac_objext \
55634       conftest$ac_exeext conftest.$ac_ext
55635 fi
55636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55638 if test `eval echo '${'$as_ac_var'}'` = yes; then
55639   cat >>confdefs.h <<_ACEOF
55640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55641 _ACEOF
55642
55643 fi
55644 done
55645
55646   else
55647
55648   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55649 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55650   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55651     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55652   echo $ECHO_N "(cached) $ECHO_C" >&6
55653 else
55654
55655
55656
55657       ac_ext=cc
55658 ac_cpp='$CXXCPP $CPPFLAGS'
55659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55662
55663       cat >conftest.$ac_ext <<_ACEOF
55664 /* confdefs.h.  */
55665 _ACEOF
55666 cat confdefs.h >>conftest.$ac_ext
55667 cat >>conftest.$ac_ext <<_ACEOF
55668 /* end confdefs.h.  */
55669 #include <math.h>
55670                       #ifdef HAVE_IEEEFP_H
55671                       #include <ieeefp.h>
55672                       #endif
55673
55674 int
55675 main ()
55676 {
55677  _qfpclass(0);
55678   ;
55679   return 0;
55680 }
55681 _ACEOF
55682 rm -f conftest.$ac_objext
55683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55684   (eval $ac_compile) 2>conftest.er1
55685   ac_status=$?
55686   grep -v '^ *+' conftest.er1 >conftest.err
55687   rm -f conftest.er1
55688   cat conftest.err >&5
55689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55690   (exit $ac_status); } &&
55691          { ac_try='test -z "$ac_cxx_werror_flag"
55692                          || test ! -s conftest.err'
55693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55694   (eval $ac_try) 2>&5
55695   ac_status=$?
55696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55697   (exit $ac_status); }; } &&
55698          { ac_try='test -s conftest.$ac_objext'
55699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55700   (eval $ac_try) 2>&5
55701   ac_status=$?
55702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55703   (exit $ac_status); }; }; then
55704   glibcxx_cv_func__qfpclass_use=yes
55705 else
55706   echo "$as_me: failed program was:" >&5
55707 sed 's/^/| /' conftest.$ac_ext >&5
55708
55709 glibcxx_cv_func__qfpclass_use=no
55710 fi
55711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55712       ac_ext=c
55713 ac_cpp='$CPP $CPPFLAGS'
55714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55717
55718
55719 fi
55720
55721   fi
55722   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55723 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55724
55725     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55726
55727 for ac_func in _qfpclass
55728 do
55729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55730 echo "$as_me:$LINENO: checking for $ac_func" >&5
55731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55732 if eval "test \"\${$as_ac_var+set}\" = set"; then
55733   echo $ECHO_N "(cached) $ECHO_C" >&6
55734 else
55735   if test x$gcc_no_link = xyes; then
55736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55738    { (exit 1); exit 1; }; }
55739 fi
55740 cat >conftest.$ac_ext <<_ACEOF
55741 /* confdefs.h.  */
55742 _ACEOF
55743 cat confdefs.h >>conftest.$ac_ext
55744 cat >>conftest.$ac_ext <<_ACEOF
55745 /* end confdefs.h.  */
55746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55748 #define $ac_func innocuous_$ac_func
55749
55750 /* System header to define __stub macros and hopefully few prototypes,
55751     which can conflict with char $ac_func (); below.
55752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55753     <limits.h> exists even on freestanding compilers.  */
55754
55755 #ifdef __STDC__
55756 # include <limits.h>
55757 #else
55758 # include <assert.h>
55759 #endif
55760
55761 #undef $ac_func
55762
55763 /* Override any gcc2 internal prototype to avoid an error.  */
55764 #ifdef __cplusplus
55765 extern "C"
55766 {
55767 #endif
55768 /* We use char because int might match the return type of a gcc2
55769    builtin and then its argument prototype would still apply.  */
55770 char $ac_func ();
55771 /* The GNU C library defines this for functions which it implements
55772     to always fail with ENOSYS.  Some functions are actually named
55773     something starting with __ and the normal name is an alias.  */
55774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55775 choke me
55776 #else
55777 char (*f) () = $ac_func;
55778 #endif
55779 #ifdef __cplusplus
55780 }
55781 #endif
55782
55783 int
55784 main ()
55785 {
55786 return f != $ac_func;
55787   ;
55788   return 0;
55789 }
55790 _ACEOF
55791 rm -f conftest.$ac_objext conftest$ac_exeext
55792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55793   (eval $ac_link) 2>conftest.er1
55794   ac_status=$?
55795   grep -v '^ *+' conftest.er1 >conftest.err
55796   rm -f conftest.er1
55797   cat conftest.err >&5
55798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55799   (exit $ac_status); } &&
55800          { ac_try='test -z "$ac_c_werror_flag"
55801                          || test ! -s conftest.err'
55802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55803   (eval $ac_try) 2>&5
55804   ac_status=$?
55805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55806   (exit $ac_status); }; } &&
55807          { ac_try='test -s conftest$ac_exeext'
55808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55809   (eval $ac_try) 2>&5
55810   ac_status=$?
55811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55812   (exit $ac_status); }; }; then
55813   eval "$as_ac_var=yes"
55814 else
55815   echo "$as_me: failed program was:" >&5
55816 sed 's/^/| /' conftest.$ac_ext >&5
55817
55818 eval "$as_ac_var=no"
55819 fi
55820 rm -f conftest.err conftest.$ac_objext \
55821       conftest$ac_exeext conftest.$ac_ext
55822 fi
55823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55825 if test `eval echo '${'$as_ac_var'}'` = yes; then
55826   cat >>confdefs.h <<_ACEOF
55827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55828 _ACEOF
55829
55830 fi
55831 done
55832
55833     fi
55834   fi
55835
55836
55837
55838
55839
55840
55841   echo "$as_me:$LINENO: checking for hypot declaration" >&5
55842 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55843   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55844     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55845   echo $ECHO_N "(cached) $ECHO_C" >&6
55846 else
55847
55848
55849
55850       ac_ext=cc
55851 ac_cpp='$CXXCPP $CPPFLAGS'
55852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55855
55856       cat >conftest.$ac_ext <<_ACEOF
55857 /* confdefs.h.  */
55858 _ACEOF
55859 cat confdefs.h >>conftest.$ac_ext
55860 cat >>conftest.$ac_ext <<_ACEOF
55861 /* end confdefs.h.  */
55862 #include <math.h>
55863 int
55864 main ()
55865 {
55866  hypot(0, 0);
55867   ;
55868   return 0;
55869 }
55870 _ACEOF
55871 rm -f conftest.$ac_objext
55872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55873   (eval $ac_compile) 2>conftest.er1
55874   ac_status=$?
55875   grep -v '^ *+' conftest.er1 >conftest.err
55876   rm -f conftest.er1
55877   cat conftest.err >&5
55878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55879   (exit $ac_status); } &&
55880          { ac_try='test -z "$ac_cxx_werror_flag"
55881                          || test ! -s conftest.err'
55882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55883   (eval $ac_try) 2>&5
55884   ac_status=$?
55885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55886   (exit $ac_status); }; } &&
55887          { ac_try='test -s conftest.$ac_objext'
55888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55889   (eval $ac_try) 2>&5
55890   ac_status=$?
55891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55892   (exit $ac_status); }; }; then
55893   glibcxx_cv_func_hypot_use=yes
55894 else
55895   echo "$as_me: failed program was:" >&5
55896 sed 's/^/| /' conftest.$ac_ext >&5
55897
55898 glibcxx_cv_func_hypot_use=no
55899 fi
55900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55901       ac_ext=c
55902 ac_cpp='$CPP $CPPFLAGS'
55903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55906
55907
55908 fi
55909
55910   fi
55911   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55912 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55913
55914   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55915
55916 for ac_func in hypot
55917 do
55918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55919 echo "$as_me:$LINENO: checking for $ac_func" >&5
55920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55921 if eval "test \"\${$as_ac_var+set}\" = set"; then
55922   echo $ECHO_N "(cached) $ECHO_C" >&6
55923 else
55924   if test x$gcc_no_link = xyes; then
55925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55927    { (exit 1); exit 1; }; }
55928 fi
55929 cat >conftest.$ac_ext <<_ACEOF
55930 /* confdefs.h.  */
55931 _ACEOF
55932 cat confdefs.h >>conftest.$ac_ext
55933 cat >>conftest.$ac_ext <<_ACEOF
55934 /* end confdefs.h.  */
55935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55937 #define $ac_func innocuous_$ac_func
55938
55939 /* System header to define __stub macros and hopefully few prototypes,
55940     which can conflict with char $ac_func (); below.
55941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55942     <limits.h> exists even on freestanding compilers.  */
55943
55944 #ifdef __STDC__
55945 # include <limits.h>
55946 #else
55947 # include <assert.h>
55948 #endif
55949
55950 #undef $ac_func
55951
55952 /* Override any gcc2 internal prototype to avoid an error.  */
55953 #ifdef __cplusplus
55954 extern "C"
55955 {
55956 #endif
55957 /* We use char because int might match the return type of a gcc2
55958    builtin and then its argument prototype would still apply.  */
55959 char $ac_func ();
55960 /* The GNU C library defines this for functions which it implements
55961     to always fail with ENOSYS.  Some functions are actually named
55962     something starting with __ and the normal name is an alias.  */
55963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55964 choke me
55965 #else
55966 char (*f) () = $ac_func;
55967 #endif
55968 #ifdef __cplusplus
55969 }
55970 #endif
55971
55972 int
55973 main ()
55974 {
55975 return f != $ac_func;
55976   ;
55977   return 0;
55978 }
55979 _ACEOF
55980 rm -f conftest.$ac_objext conftest$ac_exeext
55981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55982   (eval $ac_link) 2>conftest.er1
55983   ac_status=$?
55984   grep -v '^ *+' conftest.er1 >conftest.err
55985   rm -f conftest.er1
55986   cat conftest.err >&5
55987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55988   (exit $ac_status); } &&
55989          { ac_try='test -z "$ac_c_werror_flag"
55990                          || test ! -s conftest.err'
55991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55992   (eval $ac_try) 2>&5
55993   ac_status=$?
55994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55995   (exit $ac_status); }; } &&
55996          { ac_try='test -s conftest$ac_exeext'
55997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55998   (eval $ac_try) 2>&5
55999   ac_status=$?
56000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56001   (exit $ac_status); }; }; then
56002   eval "$as_ac_var=yes"
56003 else
56004   echo "$as_me: failed program was:" >&5
56005 sed 's/^/| /' conftest.$ac_ext >&5
56006
56007 eval "$as_ac_var=no"
56008 fi
56009 rm -f conftest.err conftest.$ac_objext \
56010       conftest$ac_exeext conftest.$ac_ext
56011 fi
56012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56014 if test `eval echo '${'$as_ac_var'}'` = yes; then
56015   cat >>confdefs.h <<_ACEOF
56016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56017 _ACEOF
56018
56019 fi
56020 done
56021
56022   else
56023
56024   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56025 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56026   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56027     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56028   echo $ECHO_N "(cached) $ECHO_C" >&6
56029 else
56030
56031
56032
56033       ac_ext=cc
56034 ac_cpp='$CXXCPP $CPPFLAGS'
56035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56038
56039       cat >conftest.$ac_ext <<_ACEOF
56040 /* confdefs.h.  */
56041 _ACEOF
56042 cat confdefs.h >>conftest.$ac_ext
56043 cat >>conftest.$ac_ext <<_ACEOF
56044 /* end confdefs.h.  */
56045 #include <math.h>
56046 int
56047 main ()
56048 {
56049  _hypot(0, 0);
56050   ;
56051   return 0;
56052 }
56053 _ACEOF
56054 rm -f conftest.$ac_objext
56055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56056   (eval $ac_compile) 2>conftest.er1
56057   ac_status=$?
56058   grep -v '^ *+' conftest.er1 >conftest.err
56059   rm -f conftest.er1
56060   cat conftest.err >&5
56061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56062   (exit $ac_status); } &&
56063          { ac_try='test -z "$ac_cxx_werror_flag"
56064                          || test ! -s conftest.err'
56065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56066   (eval $ac_try) 2>&5
56067   ac_status=$?
56068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56069   (exit $ac_status); }; } &&
56070          { ac_try='test -s conftest.$ac_objext'
56071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56072   (eval $ac_try) 2>&5
56073   ac_status=$?
56074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56075   (exit $ac_status); }; }; then
56076   glibcxx_cv_func__hypot_use=yes
56077 else
56078   echo "$as_me: failed program was:" >&5
56079 sed 's/^/| /' conftest.$ac_ext >&5
56080
56081 glibcxx_cv_func__hypot_use=no
56082 fi
56083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56084       ac_ext=c
56085 ac_cpp='$CPP $CPPFLAGS'
56086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56089
56090
56091 fi
56092
56093   fi
56094   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56095 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56096
56097     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56098
56099 for ac_func in _hypot
56100 do
56101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56102 echo "$as_me:$LINENO: checking for $ac_func" >&5
56103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56104 if eval "test \"\${$as_ac_var+set}\" = set"; then
56105   echo $ECHO_N "(cached) $ECHO_C" >&6
56106 else
56107   if test x$gcc_no_link = xyes; then
56108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56110    { (exit 1); exit 1; }; }
56111 fi
56112 cat >conftest.$ac_ext <<_ACEOF
56113 /* confdefs.h.  */
56114 _ACEOF
56115 cat confdefs.h >>conftest.$ac_ext
56116 cat >>conftest.$ac_ext <<_ACEOF
56117 /* end confdefs.h.  */
56118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56119    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56120 #define $ac_func innocuous_$ac_func
56121
56122 /* System header to define __stub macros and hopefully few prototypes,
56123     which can conflict with char $ac_func (); below.
56124     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56125     <limits.h> exists even on freestanding compilers.  */
56126
56127 #ifdef __STDC__
56128 # include <limits.h>
56129 #else
56130 # include <assert.h>
56131 #endif
56132
56133 #undef $ac_func
56134
56135 /* Override any gcc2 internal prototype to avoid an error.  */
56136 #ifdef __cplusplus
56137 extern "C"
56138 {
56139 #endif
56140 /* We use char because int might match the return type of a gcc2
56141    builtin and then its argument prototype would still apply.  */
56142 char $ac_func ();
56143 /* The GNU C library defines this for functions which it implements
56144     to always fail with ENOSYS.  Some functions are actually named
56145     something starting with __ and the normal name is an alias.  */
56146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56147 choke me
56148 #else
56149 char (*f) () = $ac_func;
56150 #endif
56151 #ifdef __cplusplus
56152 }
56153 #endif
56154
56155 int
56156 main ()
56157 {
56158 return f != $ac_func;
56159   ;
56160   return 0;
56161 }
56162 _ACEOF
56163 rm -f conftest.$ac_objext conftest$ac_exeext
56164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56165   (eval $ac_link) 2>conftest.er1
56166   ac_status=$?
56167   grep -v '^ *+' conftest.er1 >conftest.err
56168   rm -f conftest.er1
56169   cat conftest.err >&5
56170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56171   (exit $ac_status); } &&
56172          { ac_try='test -z "$ac_c_werror_flag"
56173                          || test ! -s conftest.err'
56174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56175   (eval $ac_try) 2>&5
56176   ac_status=$?
56177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56178   (exit $ac_status); }; } &&
56179          { ac_try='test -s conftest$ac_exeext'
56180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56181   (eval $ac_try) 2>&5
56182   ac_status=$?
56183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56184   (exit $ac_status); }; }; then
56185   eval "$as_ac_var=yes"
56186 else
56187   echo "$as_me: failed program was:" >&5
56188 sed 's/^/| /' conftest.$ac_ext >&5
56189
56190 eval "$as_ac_var=no"
56191 fi
56192 rm -f conftest.err conftest.$ac_objext \
56193       conftest$ac_exeext conftest.$ac_ext
56194 fi
56195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56197 if test `eval echo '${'$as_ac_var'}'` = yes; then
56198   cat >>confdefs.h <<_ACEOF
56199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56200 _ACEOF
56201
56202 fi
56203 done
56204
56205     fi
56206   fi
56207
56208
56209
56210
56211
56212
56213     echo "$as_me:$LINENO: checking for float trig functions" >&5
56214 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56215   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56216   echo $ECHO_N "(cached) $ECHO_C" >&6
56217 else
56218
56219
56220
56221     ac_ext=cc
56222 ac_cpp='$CXXCPP $CPPFLAGS'
56223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56226
56227     cat >conftest.$ac_ext <<_ACEOF
56228 /* confdefs.h.  */
56229 _ACEOF
56230 cat confdefs.h >>conftest.$ac_ext
56231 cat >>conftest.$ac_ext <<_ACEOF
56232 /* end confdefs.h.  */
56233 #include <math.h>
56234 int
56235 main ()
56236 {
56237 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56238   ;
56239   return 0;
56240 }
56241 _ACEOF
56242 rm -f conftest.$ac_objext
56243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56244   (eval $ac_compile) 2>conftest.er1
56245   ac_status=$?
56246   grep -v '^ *+' conftest.er1 >conftest.err
56247   rm -f conftest.er1
56248   cat conftest.err >&5
56249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56250   (exit $ac_status); } &&
56251          { ac_try='test -z "$ac_cxx_werror_flag"
56252                          || test ! -s conftest.err'
56253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56254   (eval $ac_try) 2>&5
56255   ac_status=$?
56256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56257   (exit $ac_status); }; } &&
56258          { ac_try='test -s conftest.$ac_objext'
56259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56260   (eval $ac_try) 2>&5
56261   ac_status=$?
56262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56263   (exit $ac_status); }; }; then
56264   glibcxx_cv_func_float_trig_use=yes
56265 else
56266   echo "$as_me: failed program was:" >&5
56267 sed 's/^/| /' conftest.$ac_ext >&5
56268
56269 glibcxx_cv_func_float_trig_use=no
56270 fi
56271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56272     ac_ext=c
56273 ac_cpp='$CPP $CPPFLAGS'
56274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56277
56278 fi
56279
56280   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56281 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56282   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56293 do
56294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56295 echo "$as_me:$LINENO: checking for $ac_func" >&5
56296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56297 if eval "test \"\${$as_ac_var+set}\" = set"; then
56298   echo $ECHO_N "(cached) $ECHO_C" >&6
56299 else
56300   if test x$gcc_no_link = xyes; then
56301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56303    { (exit 1); exit 1; }; }
56304 fi
56305 cat >conftest.$ac_ext <<_ACEOF
56306 /* confdefs.h.  */
56307 _ACEOF
56308 cat confdefs.h >>conftest.$ac_ext
56309 cat >>conftest.$ac_ext <<_ACEOF
56310 /* end confdefs.h.  */
56311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56313 #define $ac_func innocuous_$ac_func
56314
56315 /* System header to define __stub macros and hopefully few prototypes,
56316     which can conflict with char $ac_func (); below.
56317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56318     <limits.h> exists even on freestanding compilers.  */
56319
56320 #ifdef __STDC__
56321 # include <limits.h>
56322 #else
56323 # include <assert.h>
56324 #endif
56325
56326 #undef $ac_func
56327
56328 /* Override any gcc2 internal prototype to avoid an error.  */
56329 #ifdef __cplusplus
56330 extern "C"
56331 {
56332 #endif
56333 /* We use char because int might match the return type of a gcc2
56334    builtin and then its argument prototype would still apply.  */
56335 char $ac_func ();
56336 /* The GNU C library defines this for functions which it implements
56337     to always fail with ENOSYS.  Some functions are actually named
56338     something starting with __ and the normal name is an alias.  */
56339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56340 choke me
56341 #else
56342 char (*f) () = $ac_func;
56343 #endif
56344 #ifdef __cplusplus
56345 }
56346 #endif
56347
56348 int
56349 main ()
56350 {
56351 return f != $ac_func;
56352   ;
56353   return 0;
56354 }
56355 _ACEOF
56356 rm -f conftest.$ac_objext conftest$ac_exeext
56357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56358   (eval $ac_link) 2>conftest.er1
56359   ac_status=$?
56360   grep -v '^ *+' conftest.er1 >conftest.err
56361   rm -f conftest.er1
56362   cat conftest.err >&5
56363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56364   (exit $ac_status); } &&
56365          { ac_try='test -z "$ac_c_werror_flag"
56366                          || test ! -s conftest.err'
56367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56368   (eval $ac_try) 2>&5
56369   ac_status=$?
56370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56371   (exit $ac_status); }; } &&
56372          { ac_try='test -s conftest$ac_exeext'
56373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56374   (eval $ac_try) 2>&5
56375   ac_status=$?
56376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56377   (exit $ac_status); }; }; then
56378   eval "$as_ac_var=yes"
56379 else
56380   echo "$as_me: failed program was:" >&5
56381 sed 's/^/| /' conftest.$ac_ext >&5
56382
56383 eval "$as_ac_var=no"
56384 fi
56385 rm -f conftest.err conftest.$ac_objext \
56386       conftest$ac_exeext conftest.$ac_ext
56387 fi
56388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56390 if test `eval echo '${'$as_ac_var'}'` = yes; then
56391   cat >>confdefs.h <<_ACEOF
56392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56393 _ACEOF
56394
56395 fi
56396 done
56397
56398   else
56399     echo "$as_me:$LINENO: checking for _float trig functions" >&5
56400 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56401     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56402   echo $ECHO_N "(cached) $ECHO_C" >&6
56403 else
56404
56405
56406
56407       ac_ext=cc
56408 ac_cpp='$CXXCPP $CPPFLAGS'
56409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56412
56413       cat >conftest.$ac_ext <<_ACEOF
56414 /* confdefs.h.  */
56415 _ACEOF
56416 cat confdefs.h >>conftest.$ac_ext
56417 cat >>conftest.$ac_ext <<_ACEOF
56418 /* end confdefs.h.  */
56419 #include <math.h>
56420 int
56421 main ()
56422 {
56423 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56424   ;
56425   return 0;
56426 }
56427 _ACEOF
56428 rm -f conftest.$ac_objext
56429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56430   (eval $ac_compile) 2>conftest.er1
56431   ac_status=$?
56432   grep -v '^ *+' conftest.er1 >conftest.err
56433   rm -f conftest.er1
56434   cat conftest.err >&5
56435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56436   (exit $ac_status); } &&
56437          { ac_try='test -z "$ac_cxx_werror_flag"
56438                          || test ! -s conftest.err'
56439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56440   (eval $ac_try) 2>&5
56441   ac_status=$?
56442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56443   (exit $ac_status); }; } &&
56444          { ac_try='test -s conftest.$ac_objext'
56445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56446   (eval $ac_try) 2>&5
56447   ac_status=$?
56448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56449   (exit $ac_status); }; }; then
56450   glibcxx_cv_func__float_trig_use=yes
56451 else
56452   echo "$as_me: failed program was:" >&5
56453 sed 's/^/| /' conftest.$ac_ext >&5
56454
56455 glibcxx_cv_func__float_trig_use=no
56456 fi
56457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56458       ac_ext=c
56459 ac_cpp='$CPP $CPPFLAGS'
56460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56463
56464 fi
56465
56466     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56467 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56468     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56469
56470
56471
56472
56473
56474
56475
56476
56477
56478 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56479 do
56480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56481 echo "$as_me:$LINENO: checking for $ac_func" >&5
56482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56483 if eval "test \"\${$as_ac_var+set}\" = set"; then
56484   echo $ECHO_N "(cached) $ECHO_C" >&6
56485 else
56486   if test x$gcc_no_link = xyes; then
56487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56489    { (exit 1); exit 1; }; }
56490 fi
56491 cat >conftest.$ac_ext <<_ACEOF
56492 /* confdefs.h.  */
56493 _ACEOF
56494 cat confdefs.h >>conftest.$ac_ext
56495 cat >>conftest.$ac_ext <<_ACEOF
56496 /* end confdefs.h.  */
56497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56498    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56499 #define $ac_func innocuous_$ac_func
56500
56501 /* System header to define __stub macros and hopefully few prototypes,
56502     which can conflict with char $ac_func (); below.
56503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56504     <limits.h> exists even on freestanding compilers.  */
56505
56506 #ifdef __STDC__
56507 # include <limits.h>
56508 #else
56509 # include <assert.h>
56510 #endif
56511
56512 #undef $ac_func
56513
56514 /* Override any gcc2 internal prototype to avoid an error.  */
56515 #ifdef __cplusplus
56516 extern "C"
56517 {
56518 #endif
56519 /* We use char because int might match the return type of a gcc2
56520    builtin and then its argument prototype would still apply.  */
56521 char $ac_func ();
56522 /* The GNU C library defines this for functions which it implements
56523     to always fail with ENOSYS.  Some functions are actually named
56524     something starting with __ and the normal name is an alias.  */
56525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56526 choke me
56527 #else
56528 char (*f) () = $ac_func;
56529 #endif
56530 #ifdef __cplusplus
56531 }
56532 #endif
56533
56534 int
56535 main ()
56536 {
56537 return f != $ac_func;
56538   ;
56539   return 0;
56540 }
56541 _ACEOF
56542 rm -f conftest.$ac_objext conftest$ac_exeext
56543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56544   (eval $ac_link) 2>conftest.er1
56545   ac_status=$?
56546   grep -v '^ *+' conftest.er1 >conftest.err
56547   rm -f conftest.er1
56548   cat conftest.err >&5
56549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56550   (exit $ac_status); } &&
56551          { ac_try='test -z "$ac_c_werror_flag"
56552                          || test ! -s conftest.err'
56553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56554   (eval $ac_try) 2>&5
56555   ac_status=$?
56556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56557   (exit $ac_status); }; } &&
56558          { ac_try='test -s conftest$ac_exeext'
56559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56560   (eval $ac_try) 2>&5
56561   ac_status=$?
56562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56563   (exit $ac_status); }; }; then
56564   eval "$as_ac_var=yes"
56565 else
56566   echo "$as_me: failed program was:" >&5
56567 sed 's/^/| /' conftest.$ac_ext >&5
56568
56569 eval "$as_ac_var=no"
56570 fi
56571 rm -f conftest.err conftest.$ac_objext \
56572       conftest$ac_exeext conftest.$ac_ext
56573 fi
56574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56576 if test `eval echo '${'$as_ac_var'}'` = yes; then
56577   cat >>confdefs.h <<_ACEOF
56578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56579 _ACEOF
56580
56581 fi
56582 done
56583
56584     fi
56585   fi
56586
56587
56588
56589
56590
56591
56592
56593
56594
56595
56596
56597
56598
56599
56600     echo "$as_me:$LINENO: checking for float round functions" >&5
56601 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56602   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56603   echo $ECHO_N "(cached) $ECHO_C" >&6
56604 else
56605
56606
56607
56608     ac_ext=cc
56609 ac_cpp='$CXXCPP $CPPFLAGS'
56610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56613
56614     cat >conftest.$ac_ext <<_ACEOF
56615 /* confdefs.h.  */
56616 _ACEOF
56617 cat confdefs.h >>conftest.$ac_ext
56618 cat >>conftest.$ac_ext <<_ACEOF
56619 /* end confdefs.h.  */
56620 #include <math.h>
56621 int
56622 main ()
56623 {
56624 ceilf (0); floorf (0);
56625   ;
56626   return 0;
56627 }
56628 _ACEOF
56629 rm -f conftest.$ac_objext
56630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56631   (eval $ac_compile) 2>conftest.er1
56632   ac_status=$?
56633   grep -v '^ *+' conftest.er1 >conftest.err
56634   rm -f conftest.er1
56635   cat conftest.err >&5
56636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56637   (exit $ac_status); } &&
56638          { ac_try='test -z "$ac_cxx_werror_flag"
56639                          || test ! -s conftest.err'
56640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56641   (eval $ac_try) 2>&5
56642   ac_status=$?
56643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56644   (exit $ac_status); }; } &&
56645          { ac_try='test -s conftest.$ac_objext'
56646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56647   (eval $ac_try) 2>&5
56648   ac_status=$?
56649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56650   (exit $ac_status); }; }; then
56651   glibcxx_cv_func_float_round_use=yes
56652 else
56653   echo "$as_me: failed program was:" >&5
56654 sed 's/^/| /' conftest.$ac_ext >&5
56655
56656 glibcxx_cv_func_float_round_use=no
56657 fi
56658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56659     ac_ext=c
56660 ac_cpp='$CPP $CPPFLAGS'
56661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56664
56665 fi
56666
56667   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56668 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56669   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56670
56671
56672 for ac_func in ceilf floorf
56673 do
56674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56675 echo "$as_me:$LINENO: checking for $ac_func" >&5
56676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56677 if eval "test \"\${$as_ac_var+set}\" = set"; then
56678   echo $ECHO_N "(cached) $ECHO_C" >&6
56679 else
56680   if test x$gcc_no_link = xyes; then
56681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56683    { (exit 1); exit 1; }; }
56684 fi
56685 cat >conftest.$ac_ext <<_ACEOF
56686 /* confdefs.h.  */
56687 _ACEOF
56688 cat confdefs.h >>conftest.$ac_ext
56689 cat >>conftest.$ac_ext <<_ACEOF
56690 /* end confdefs.h.  */
56691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56693 #define $ac_func innocuous_$ac_func
56694
56695 /* System header to define __stub macros and hopefully few prototypes,
56696     which can conflict with char $ac_func (); below.
56697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56698     <limits.h> exists even on freestanding compilers.  */
56699
56700 #ifdef __STDC__
56701 # include <limits.h>
56702 #else
56703 # include <assert.h>
56704 #endif
56705
56706 #undef $ac_func
56707
56708 /* Override any gcc2 internal prototype to avoid an error.  */
56709 #ifdef __cplusplus
56710 extern "C"
56711 {
56712 #endif
56713 /* We use char because int might match the return type of a gcc2
56714    builtin and then its argument prototype would still apply.  */
56715 char $ac_func ();
56716 /* The GNU C library defines this for functions which it implements
56717     to always fail with ENOSYS.  Some functions are actually named
56718     something starting with __ and the normal name is an alias.  */
56719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56720 choke me
56721 #else
56722 char (*f) () = $ac_func;
56723 #endif
56724 #ifdef __cplusplus
56725 }
56726 #endif
56727
56728 int
56729 main ()
56730 {
56731 return f != $ac_func;
56732   ;
56733   return 0;
56734 }
56735 _ACEOF
56736 rm -f conftest.$ac_objext conftest$ac_exeext
56737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56738   (eval $ac_link) 2>conftest.er1
56739   ac_status=$?
56740   grep -v '^ *+' conftest.er1 >conftest.err
56741   rm -f conftest.er1
56742   cat conftest.err >&5
56743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56744   (exit $ac_status); } &&
56745          { ac_try='test -z "$ac_c_werror_flag"
56746                          || test ! -s conftest.err'
56747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56748   (eval $ac_try) 2>&5
56749   ac_status=$?
56750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56751   (exit $ac_status); }; } &&
56752          { ac_try='test -s conftest$ac_exeext'
56753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56754   (eval $ac_try) 2>&5
56755   ac_status=$?
56756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56757   (exit $ac_status); }; }; then
56758   eval "$as_ac_var=yes"
56759 else
56760   echo "$as_me: failed program was:" >&5
56761 sed 's/^/| /' conftest.$ac_ext >&5
56762
56763 eval "$as_ac_var=no"
56764 fi
56765 rm -f conftest.err conftest.$ac_objext \
56766       conftest$ac_exeext conftest.$ac_ext
56767 fi
56768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56770 if test `eval echo '${'$as_ac_var'}'` = yes; then
56771   cat >>confdefs.h <<_ACEOF
56772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56773 _ACEOF
56774
56775 fi
56776 done
56777
56778   else
56779     echo "$as_me:$LINENO: checking for _float round functions" >&5
56780 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56781     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56782   echo $ECHO_N "(cached) $ECHO_C" >&6
56783 else
56784
56785
56786
56787       ac_ext=cc
56788 ac_cpp='$CXXCPP $CPPFLAGS'
56789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56792
56793       cat >conftest.$ac_ext <<_ACEOF
56794 /* confdefs.h.  */
56795 _ACEOF
56796 cat confdefs.h >>conftest.$ac_ext
56797 cat >>conftest.$ac_ext <<_ACEOF
56798 /* end confdefs.h.  */
56799 #include <math.h>
56800 int
56801 main ()
56802 {
56803 _ceilf (0); _floorf (0);
56804   ;
56805   return 0;
56806 }
56807 _ACEOF
56808 rm -f conftest.$ac_objext
56809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56810   (eval $ac_compile) 2>conftest.er1
56811   ac_status=$?
56812   grep -v '^ *+' conftest.er1 >conftest.err
56813   rm -f conftest.er1
56814   cat conftest.err >&5
56815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56816   (exit $ac_status); } &&
56817          { ac_try='test -z "$ac_cxx_werror_flag"
56818                          || test ! -s conftest.err'
56819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56820   (eval $ac_try) 2>&5
56821   ac_status=$?
56822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56823   (exit $ac_status); }; } &&
56824          { ac_try='test -s conftest.$ac_objext'
56825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56826   (eval $ac_try) 2>&5
56827   ac_status=$?
56828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56829   (exit $ac_status); }; }; then
56830   glibcxx_cv_func__float_round_use=yes
56831 else
56832   echo "$as_me: failed program was:" >&5
56833 sed 's/^/| /' conftest.$ac_ext >&5
56834
56835 glibcxx_cv_func__float_round_use=no
56836 fi
56837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56838       ac_ext=c
56839 ac_cpp='$CPP $CPPFLAGS'
56840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56843
56844 fi
56845
56846     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56847 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56848     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56849
56850
56851 for ac_func in _ceilf _floorf
56852 do
56853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56854 echo "$as_me:$LINENO: checking for $ac_func" >&5
56855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56856 if eval "test \"\${$as_ac_var+set}\" = set"; then
56857   echo $ECHO_N "(cached) $ECHO_C" >&6
56858 else
56859   if test x$gcc_no_link = xyes; then
56860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56862    { (exit 1); exit 1; }; }
56863 fi
56864 cat >conftest.$ac_ext <<_ACEOF
56865 /* confdefs.h.  */
56866 _ACEOF
56867 cat confdefs.h >>conftest.$ac_ext
56868 cat >>conftest.$ac_ext <<_ACEOF
56869 /* end confdefs.h.  */
56870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56871    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56872 #define $ac_func innocuous_$ac_func
56873
56874 /* System header to define __stub macros and hopefully few prototypes,
56875     which can conflict with char $ac_func (); below.
56876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56877     <limits.h> exists even on freestanding compilers.  */
56878
56879 #ifdef __STDC__
56880 # include <limits.h>
56881 #else
56882 # include <assert.h>
56883 #endif
56884
56885 #undef $ac_func
56886
56887 /* Override any gcc2 internal prototype to avoid an error.  */
56888 #ifdef __cplusplus
56889 extern "C"
56890 {
56891 #endif
56892 /* We use char because int might match the return type of a gcc2
56893    builtin and then its argument prototype would still apply.  */
56894 char $ac_func ();
56895 /* The GNU C library defines this for functions which it implements
56896     to always fail with ENOSYS.  Some functions are actually named
56897     something starting with __ and the normal name is an alias.  */
56898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56899 choke me
56900 #else
56901 char (*f) () = $ac_func;
56902 #endif
56903 #ifdef __cplusplus
56904 }
56905 #endif
56906
56907 int
56908 main ()
56909 {
56910 return f != $ac_func;
56911   ;
56912   return 0;
56913 }
56914 _ACEOF
56915 rm -f conftest.$ac_objext conftest$ac_exeext
56916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56917   (eval $ac_link) 2>conftest.er1
56918   ac_status=$?
56919   grep -v '^ *+' conftest.er1 >conftest.err
56920   rm -f conftest.er1
56921   cat conftest.err >&5
56922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56923   (exit $ac_status); } &&
56924          { ac_try='test -z "$ac_c_werror_flag"
56925                          || test ! -s conftest.err'
56926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56927   (eval $ac_try) 2>&5
56928   ac_status=$?
56929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56930   (exit $ac_status); }; } &&
56931          { ac_try='test -s conftest$ac_exeext'
56932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56933   (eval $ac_try) 2>&5
56934   ac_status=$?
56935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56936   (exit $ac_status); }; }; then
56937   eval "$as_ac_var=yes"
56938 else
56939   echo "$as_me: failed program was:" >&5
56940 sed 's/^/| /' conftest.$ac_ext >&5
56941
56942 eval "$as_ac_var=no"
56943 fi
56944 rm -f conftest.err conftest.$ac_objext \
56945       conftest$ac_exeext conftest.$ac_ext
56946 fi
56947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56949 if test `eval echo '${'$as_ac_var'}'` = yes; then
56950   cat >>confdefs.h <<_ACEOF
56951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56952 _ACEOF
56953
56954 fi
56955 done
56956
56957     fi
56958   fi
56959
56960
56961
56962
56963
56964
56965
56966
56967   echo "$as_me:$LINENO: checking for expf declaration" >&5
56968 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56969   if test x${glibcxx_cv_func_expf_use+set} != xset; then
56970     if test "${glibcxx_cv_func_expf_use+set}" = set; then
56971   echo $ECHO_N "(cached) $ECHO_C" >&6
56972 else
56973
56974
56975
56976       ac_ext=cc
56977 ac_cpp='$CXXCPP $CPPFLAGS'
56978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56981
56982       cat >conftest.$ac_ext <<_ACEOF
56983 /* confdefs.h.  */
56984 _ACEOF
56985 cat confdefs.h >>conftest.$ac_ext
56986 cat >>conftest.$ac_ext <<_ACEOF
56987 /* end confdefs.h.  */
56988 #include <math.h>
56989                       #ifdef HAVE_IEEEFP_H
56990                       #include <ieeefp.h>
56991                       #endif
56992
56993 int
56994 main ()
56995 {
56996  expf(0);
56997   ;
56998   return 0;
56999 }
57000 _ACEOF
57001 rm -f conftest.$ac_objext
57002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57003   (eval $ac_compile) 2>conftest.er1
57004   ac_status=$?
57005   grep -v '^ *+' conftest.er1 >conftest.err
57006   rm -f conftest.er1
57007   cat conftest.err >&5
57008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57009   (exit $ac_status); } &&
57010          { ac_try='test -z "$ac_cxx_werror_flag"
57011                          || test ! -s conftest.err'
57012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57013   (eval $ac_try) 2>&5
57014   ac_status=$?
57015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57016   (exit $ac_status); }; } &&
57017          { ac_try='test -s conftest.$ac_objext'
57018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57019   (eval $ac_try) 2>&5
57020   ac_status=$?
57021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57022   (exit $ac_status); }; }; then
57023   glibcxx_cv_func_expf_use=yes
57024 else
57025   echo "$as_me: failed program was:" >&5
57026 sed 's/^/| /' conftest.$ac_ext >&5
57027
57028 glibcxx_cv_func_expf_use=no
57029 fi
57030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57031       ac_ext=c
57032 ac_cpp='$CPP $CPPFLAGS'
57033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57036
57037
57038 fi
57039
57040   fi
57041   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57042 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57043
57044   if test x$glibcxx_cv_func_expf_use = x"yes"; then
57045
57046 for ac_func in expf
57047 do
57048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57049 echo "$as_me:$LINENO: checking for $ac_func" >&5
57050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57051 if eval "test \"\${$as_ac_var+set}\" = set"; then
57052   echo $ECHO_N "(cached) $ECHO_C" >&6
57053 else
57054   if test x$gcc_no_link = xyes; then
57055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57057    { (exit 1); exit 1; }; }
57058 fi
57059 cat >conftest.$ac_ext <<_ACEOF
57060 /* confdefs.h.  */
57061 _ACEOF
57062 cat confdefs.h >>conftest.$ac_ext
57063 cat >>conftest.$ac_ext <<_ACEOF
57064 /* end confdefs.h.  */
57065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57066    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57067 #define $ac_func innocuous_$ac_func
57068
57069 /* System header to define __stub macros and hopefully few prototypes,
57070     which can conflict with char $ac_func (); below.
57071     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57072     <limits.h> exists even on freestanding compilers.  */
57073
57074 #ifdef __STDC__
57075 # include <limits.h>
57076 #else
57077 # include <assert.h>
57078 #endif
57079
57080 #undef $ac_func
57081
57082 /* Override any gcc2 internal prototype to avoid an error.  */
57083 #ifdef __cplusplus
57084 extern "C"
57085 {
57086 #endif
57087 /* We use char because int might match the return type of a gcc2
57088    builtin and then its argument prototype would still apply.  */
57089 char $ac_func ();
57090 /* The GNU C library defines this for functions which it implements
57091     to always fail with ENOSYS.  Some functions are actually named
57092     something starting with __ and the normal name is an alias.  */
57093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57094 choke me
57095 #else
57096 char (*f) () = $ac_func;
57097 #endif
57098 #ifdef __cplusplus
57099 }
57100 #endif
57101
57102 int
57103 main ()
57104 {
57105 return f != $ac_func;
57106   ;
57107   return 0;
57108 }
57109 _ACEOF
57110 rm -f conftest.$ac_objext conftest$ac_exeext
57111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57112   (eval $ac_link) 2>conftest.er1
57113   ac_status=$?
57114   grep -v '^ *+' conftest.er1 >conftest.err
57115   rm -f conftest.er1
57116   cat conftest.err >&5
57117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57118   (exit $ac_status); } &&
57119          { ac_try='test -z "$ac_c_werror_flag"
57120                          || test ! -s conftest.err'
57121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57122   (eval $ac_try) 2>&5
57123   ac_status=$?
57124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57125   (exit $ac_status); }; } &&
57126          { ac_try='test -s conftest$ac_exeext'
57127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57128   (eval $ac_try) 2>&5
57129   ac_status=$?
57130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57131   (exit $ac_status); }; }; then
57132   eval "$as_ac_var=yes"
57133 else
57134   echo "$as_me: failed program was:" >&5
57135 sed 's/^/| /' conftest.$ac_ext >&5
57136
57137 eval "$as_ac_var=no"
57138 fi
57139 rm -f conftest.err conftest.$ac_objext \
57140       conftest$ac_exeext conftest.$ac_ext
57141 fi
57142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57144 if test `eval echo '${'$as_ac_var'}'` = yes; then
57145   cat >>confdefs.h <<_ACEOF
57146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57147 _ACEOF
57148
57149 fi
57150 done
57151
57152   else
57153
57154   echo "$as_me:$LINENO: checking for _expf declaration" >&5
57155 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57156   if test x${glibcxx_cv_func__expf_use+set} != xset; then
57157     if test "${glibcxx_cv_func__expf_use+set}" = set; then
57158   echo $ECHO_N "(cached) $ECHO_C" >&6
57159 else
57160
57161
57162
57163       ac_ext=cc
57164 ac_cpp='$CXXCPP $CPPFLAGS'
57165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57168
57169       cat >conftest.$ac_ext <<_ACEOF
57170 /* confdefs.h.  */
57171 _ACEOF
57172 cat confdefs.h >>conftest.$ac_ext
57173 cat >>conftest.$ac_ext <<_ACEOF
57174 /* end confdefs.h.  */
57175 #include <math.h>
57176                       #ifdef HAVE_IEEEFP_H
57177                       #include <ieeefp.h>
57178                       #endif
57179
57180 int
57181 main ()
57182 {
57183  _expf(0);
57184   ;
57185   return 0;
57186 }
57187 _ACEOF
57188 rm -f conftest.$ac_objext
57189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57190   (eval $ac_compile) 2>conftest.er1
57191   ac_status=$?
57192   grep -v '^ *+' conftest.er1 >conftest.err
57193   rm -f conftest.er1
57194   cat conftest.err >&5
57195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57196   (exit $ac_status); } &&
57197          { ac_try='test -z "$ac_cxx_werror_flag"
57198                          || test ! -s conftest.err'
57199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57200   (eval $ac_try) 2>&5
57201   ac_status=$?
57202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57203   (exit $ac_status); }; } &&
57204          { ac_try='test -s conftest.$ac_objext'
57205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57206   (eval $ac_try) 2>&5
57207   ac_status=$?
57208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57209   (exit $ac_status); }; }; then
57210   glibcxx_cv_func__expf_use=yes
57211 else
57212   echo "$as_me: failed program was:" >&5
57213 sed 's/^/| /' conftest.$ac_ext >&5
57214
57215 glibcxx_cv_func__expf_use=no
57216 fi
57217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57218       ac_ext=c
57219 ac_cpp='$CPP $CPPFLAGS'
57220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57223
57224
57225 fi
57226
57227   fi
57228   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57229 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57230
57231     if test x$glibcxx_cv_func__expf_use = x"yes"; then
57232
57233 for ac_func in _expf
57234 do
57235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57236 echo "$as_me:$LINENO: checking for $ac_func" >&5
57237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57238 if eval "test \"\${$as_ac_var+set}\" = set"; then
57239   echo $ECHO_N "(cached) $ECHO_C" >&6
57240 else
57241   if test x$gcc_no_link = xyes; then
57242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57244    { (exit 1); exit 1; }; }
57245 fi
57246 cat >conftest.$ac_ext <<_ACEOF
57247 /* confdefs.h.  */
57248 _ACEOF
57249 cat confdefs.h >>conftest.$ac_ext
57250 cat >>conftest.$ac_ext <<_ACEOF
57251 /* end confdefs.h.  */
57252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57254 #define $ac_func innocuous_$ac_func
57255
57256 /* System header to define __stub macros and hopefully few prototypes,
57257     which can conflict with char $ac_func (); below.
57258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57259     <limits.h> exists even on freestanding compilers.  */
57260
57261 #ifdef __STDC__
57262 # include <limits.h>
57263 #else
57264 # include <assert.h>
57265 #endif
57266
57267 #undef $ac_func
57268
57269 /* Override any gcc2 internal prototype to avoid an error.  */
57270 #ifdef __cplusplus
57271 extern "C"
57272 {
57273 #endif
57274 /* We use char because int might match the return type of a gcc2
57275    builtin and then its argument prototype would still apply.  */
57276 char $ac_func ();
57277 /* The GNU C library defines this for functions which it implements
57278     to always fail with ENOSYS.  Some functions are actually named
57279     something starting with __ and the normal name is an alias.  */
57280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57281 choke me
57282 #else
57283 char (*f) () = $ac_func;
57284 #endif
57285 #ifdef __cplusplus
57286 }
57287 #endif
57288
57289 int
57290 main ()
57291 {
57292 return f != $ac_func;
57293   ;
57294   return 0;
57295 }
57296 _ACEOF
57297 rm -f conftest.$ac_objext conftest$ac_exeext
57298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57299   (eval $ac_link) 2>conftest.er1
57300   ac_status=$?
57301   grep -v '^ *+' conftest.er1 >conftest.err
57302   rm -f conftest.er1
57303   cat conftest.err >&5
57304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57305   (exit $ac_status); } &&
57306          { ac_try='test -z "$ac_c_werror_flag"
57307                          || test ! -s conftest.err'
57308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57309   (eval $ac_try) 2>&5
57310   ac_status=$?
57311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57312   (exit $ac_status); }; } &&
57313          { ac_try='test -s conftest$ac_exeext'
57314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57315   (eval $ac_try) 2>&5
57316   ac_status=$?
57317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57318   (exit $ac_status); }; }; then
57319   eval "$as_ac_var=yes"
57320 else
57321   echo "$as_me: failed program was:" >&5
57322 sed 's/^/| /' conftest.$ac_ext >&5
57323
57324 eval "$as_ac_var=no"
57325 fi
57326 rm -f conftest.err conftest.$ac_objext \
57327       conftest$ac_exeext conftest.$ac_ext
57328 fi
57329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57331 if test `eval echo '${'$as_ac_var'}'` = yes; then
57332   cat >>confdefs.h <<_ACEOF
57333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57334 _ACEOF
57335
57336 fi
57337 done
57338
57339     fi
57340   fi
57341
57342
57343
57344
57345
57346
57347   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57348 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57349   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57350     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57351   echo $ECHO_N "(cached) $ECHO_C" >&6
57352 else
57353
57354
57355
57356       ac_ext=cc
57357 ac_cpp='$CXXCPP $CPPFLAGS'
57358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57361
57362       cat >conftest.$ac_ext <<_ACEOF
57363 /* confdefs.h.  */
57364 _ACEOF
57365 cat confdefs.h >>conftest.$ac_ext
57366 cat >>conftest.$ac_ext <<_ACEOF
57367 /* end confdefs.h.  */
57368 #include <math.h>
57369                       #ifdef HAVE_IEEEFP_H
57370                       #include <ieeefp.h>
57371                       #endif
57372
57373 int
57374 main ()
57375 {
57376  isnanf(0);
57377   ;
57378   return 0;
57379 }
57380 _ACEOF
57381 rm -f conftest.$ac_objext
57382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57383   (eval $ac_compile) 2>conftest.er1
57384   ac_status=$?
57385   grep -v '^ *+' conftest.er1 >conftest.err
57386   rm -f conftest.er1
57387   cat conftest.err >&5
57388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57389   (exit $ac_status); } &&
57390          { ac_try='test -z "$ac_cxx_werror_flag"
57391                          || test ! -s conftest.err'
57392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57393   (eval $ac_try) 2>&5
57394   ac_status=$?
57395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57396   (exit $ac_status); }; } &&
57397          { ac_try='test -s conftest.$ac_objext'
57398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57399   (eval $ac_try) 2>&5
57400   ac_status=$?
57401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57402   (exit $ac_status); }; }; then
57403   glibcxx_cv_func_isnanf_use=yes
57404 else
57405   echo "$as_me: failed program was:" >&5
57406 sed 's/^/| /' conftest.$ac_ext >&5
57407
57408 glibcxx_cv_func_isnanf_use=no
57409 fi
57410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57411       ac_ext=c
57412 ac_cpp='$CPP $CPPFLAGS'
57413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57416
57417
57418 fi
57419
57420   fi
57421   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57422 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57423
57424   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57425
57426 for ac_func in isnanf
57427 do
57428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57429 echo "$as_me:$LINENO: checking for $ac_func" >&5
57430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57431 if eval "test \"\${$as_ac_var+set}\" = set"; then
57432   echo $ECHO_N "(cached) $ECHO_C" >&6
57433 else
57434   if test x$gcc_no_link = xyes; then
57435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57437    { (exit 1); exit 1; }; }
57438 fi
57439 cat >conftest.$ac_ext <<_ACEOF
57440 /* confdefs.h.  */
57441 _ACEOF
57442 cat confdefs.h >>conftest.$ac_ext
57443 cat >>conftest.$ac_ext <<_ACEOF
57444 /* end confdefs.h.  */
57445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57446    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57447 #define $ac_func innocuous_$ac_func
57448
57449 /* System header to define __stub macros and hopefully few prototypes,
57450     which can conflict with char $ac_func (); below.
57451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57452     <limits.h> exists even on freestanding compilers.  */
57453
57454 #ifdef __STDC__
57455 # include <limits.h>
57456 #else
57457 # include <assert.h>
57458 #endif
57459
57460 #undef $ac_func
57461
57462 /* Override any gcc2 internal prototype to avoid an error.  */
57463 #ifdef __cplusplus
57464 extern "C"
57465 {
57466 #endif
57467 /* We use char because int might match the return type of a gcc2
57468    builtin and then its argument prototype would still apply.  */
57469 char $ac_func ();
57470 /* The GNU C library defines this for functions which it implements
57471     to always fail with ENOSYS.  Some functions are actually named
57472     something starting with __ and the normal name is an alias.  */
57473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57474 choke me
57475 #else
57476 char (*f) () = $ac_func;
57477 #endif
57478 #ifdef __cplusplus
57479 }
57480 #endif
57481
57482 int
57483 main ()
57484 {
57485 return f != $ac_func;
57486   ;
57487   return 0;
57488 }
57489 _ACEOF
57490 rm -f conftest.$ac_objext conftest$ac_exeext
57491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57492   (eval $ac_link) 2>conftest.er1
57493   ac_status=$?
57494   grep -v '^ *+' conftest.er1 >conftest.err
57495   rm -f conftest.er1
57496   cat conftest.err >&5
57497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57498   (exit $ac_status); } &&
57499          { ac_try='test -z "$ac_c_werror_flag"
57500                          || test ! -s conftest.err'
57501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57502   (eval $ac_try) 2>&5
57503   ac_status=$?
57504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57505   (exit $ac_status); }; } &&
57506          { ac_try='test -s conftest$ac_exeext'
57507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57508   (eval $ac_try) 2>&5
57509   ac_status=$?
57510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57511   (exit $ac_status); }; }; then
57512   eval "$as_ac_var=yes"
57513 else
57514   echo "$as_me: failed program was:" >&5
57515 sed 's/^/| /' conftest.$ac_ext >&5
57516
57517 eval "$as_ac_var=no"
57518 fi
57519 rm -f conftest.err conftest.$ac_objext \
57520       conftest$ac_exeext conftest.$ac_ext
57521 fi
57522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57524 if test `eval echo '${'$as_ac_var'}'` = yes; then
57525   cat >>confdefs.h <<_ACEOF
57526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57527 _ACEOF
57528
57529 fi
57530 done
57531
57532   else
57533
57534   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57535 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57536   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57537     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57538   echo $ECHO_N "(cached) $ECHO_C" >&6
57539 else
57540
57541
57542
57543       ac_ext=cc
57544 ac_cpp='$CXXCPP $CPPFLAGS'
57545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57548
57549       cat >conftest.$ac_ext <<_ACEOF
57550 /* confdefs.h.  */
57551 _ACEOF
57552 cat confdefs.h >>conftest.$ac_ext
57553 cat >>conftest.$ac_ext <<_ACEOF
57554 /* end confdefs.h.  */
57555 #include <math.h>
57556                       #ifdef HAVE_IEEEFP_H
57557                       #include <ieeefp.h>
57558                       #endif
57559
57560 int
57561 main ()
57562 {
57563  _isnanf(0);
57564   ;
57565   return 0;
57566 }
57567 _ACEOF
57568 rm -f conftest.$ac_objext
57569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57570   (eval $ac_compile) 2>conftest.er1
57571   ac_status=$?
57572   grep -v '^ *+' conftest.er1 >conftest.err
57573   rm -f conftest.er1
57574   cat conftest.err >&5
57575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57576   (exit $ac_status); } &&
57577          { ac_try='test -z "$ac_cxx_werror_flag"
57578                          || test ! -s conftest.err'
57579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57580   (eval $ac_try) 2>&5
57581   ac_status=$?
57582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57583   (exit $ac_status); }; } &&
57584          { ac_try='test -s conftest.$ac_objext'
57585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57586   (eval $ac_try) 2>&5
57587   ac_status=$?
57588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57589   (exit $ac_status); }; }; then
57590   glibcxx_cv_func__isnanf_use=yes
57591 else
57592   echo "$as_me: failed program was:" >&5
57593 sed 's/^/| /' conftest.$ac_ext >&5
57594
57595 glibcxx_cv_func__isnanf_use=no
57596 fi
57597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57598       ac_ext=c
57599 ac_cpp='$CPP $CPPFLAGS'
57600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57603
57604
57605 fi
57606
57607   fi
57608   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57609 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57610
57611     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57612
57613 for ac_func in _isnanf
57614 do
57615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57616 echo "$as_me:$LINENO: checking for $ac_func" >&5
57617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57618 if eval "test \"\${$as_ac_var+set}\" = set"; then
57619   echo $ECHO_N "(cached) $ECHO_C" >&6
57620 else
57621   if test x$gcc_no_link = xyes; then
57622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57624    { (exit 1); exit 1; }; }
57625 fi
57626 cat >conftest.$ac_ext <<_ACEOF
57627 /* confdefs.h.  */
57628 _ACEOF
57629 cat confdefs.h >>conftest.$ac_ext
57630 cat >>conftest.$ac_ext <<_ACEOF
57631 /* end confdefs.h.  */
57632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57634 #define $ac_func innocuous_$ac_func
57635
57636 /* System header to define __stub macros and hopefully few prototypes,
57637     which can conflict with char $ac_func (); below.
57638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57639     <limits.h> exists even on freestanding compilers.  */
57640
57641 #ifdef __STDC__
57642 # include <limits.h>
57643 #else
57644 # include <assert.h>
57645 #endif
57646
57647 #undef $ac_func
57648
57649 /* Override any gcc2 internal prototype to avoid an error.  */
57650 #ifdef __cplusplus
57651 extern "C"
57652 {
57653 #endif
57654 /* We use char because int might match the return type of a gcc2
57655    builtin and then its argument prototype would still apply.  */
57656 char $ac_func ();
57657 /* The GNU C library defines this for functions which it implements
57658     to always fail with ENOSYS.  Some functions are actually named
57659     something starting with __ and the normal name is an alias.  */
57660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57661 choke me
57662 #else
57663 char (*f) () = $ac_func;
57664 #endif
57665 #ifdef __cplusplus
57666 }
57667 #endif
57668
57669 int
57670 main ()
57671 {
57672 return f != $ac_func;
57673   ;
57674   return 0;
57675 }
57676 _ACEOF
57677 rm -f conftest.$ac_objext conftest$ac_exeext
57678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57679   (eval $ac_link) 2>conftest.er1
57680   ac_status=$?
57681   grep -v '^ *+' conftest.er1 >conftest.err
57682   rm -f conftest.er1
57683   cat conftest.err >&5
57684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57685   (exit $ac_status); } &&
57686          { ac_try='test -z "$ac_c_werror_flag"
57687                          || test ! -s conftest.err'
57688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57689   (eval $ac_try) 2>&5
57690   ac_status=$?
57691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57692   (exit $ac_status); }; } &&
57693          { ac_try='test -s conftest$ac_exeext'
57694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57695   (eval $ac_try) 2>&5
57696   ac_status=$?
57697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57698   (exit $ac_status); }; }; then
57699   eval "$as_ac_var=yes"
57700 else
57701   echo "$as_me: failed program was:" >&5
57702 sed 's/^/| /' conftest.$ac_ext >&5
57703
57704 eval "$as_ac_var=no"
57705 fi
57706 rm -f conftest.err conftest.$ac_objext \
57707       conftest$ac_exeext conftest.$ac_ext
57708 fi
57709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57711 if test `eval echo '${'$as_ac_var'}'` = yes; then
57712   cat >>confdefs.h <<_ACEOF
57713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57714 _ACEOF
57715
57716 fi
57717 done
57718
57719     fi
57720   fi
57721
57722
57723
57724
57725
57726
57727   echo "$as_me:$LINENO: checking for isinff declaration" >&5
57728 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57729   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57730     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57731   echo $ECHO_N "(cached) $ECHO_C" >&6
57732 else
57733
57734
57735
57736       ac_ext=cc
57737 ac_cpp='$CXXCPP $CPPFLAGS'
57738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57741
57742       cat >conftest.$ac_ext <<_ACEOF
57743 /* confdefs.h.  */
57744 _ACEOF
57745 cat confdefs.h >>conftest.$ac_ext
57746 cat >>conftest.$ac_ext <<_ACEOF
57747 /* end confdefs.h.  */
57748 #include <math.h>
57749                       #ifdef HAVE_IEEEFP_H
57750                       #include <ieeefp.h>
57751                       #endif
57752
57753 int
57754 main ()
57755 {
57756  isinff(0);
57757   ;
57758   return 0;
57759 }
57760 _ACEOF
57761 rm -f conftest.$ac_objext
57762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57763   (eval $ac_compile) 2>conftest.er1
57764   ac_status=$?
57765   grep -v '^ *+' conftest.er1 >conftest.err
57766   rm -f conftest.er1
57767   cat conftest.err >&5
57768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57769   (exit $ac_status); } &&
57770          { ac_try='test -z "$ac_cxx_werror_flag"
57771                          || test ! -s conftest.err'
57772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57773   (eval $ac_try) 2>&5
57774   ac_status=$?
57775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57776   (exit $ac_status); }; } &&
57777          { ac_try='test -s conftest.$ac_objext'
57778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57779   (eval $ac_try) 2>&5
57780   ac_status=$?
57781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57782   (exit $ac_status); }; }; then
57783   glibcxx_cv_func_isinff_use=yes
57784 else
57785   echo "$as_me: failed program was:" >&5
57786 sed 's/^/| /' conftest.$ac_ext >&5
57787
57788 glibcxx_cv_func_isinff_use=no
57789 fi
57790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57791       ac_ext=c
57792 ac_cpp='$CPP $CPPFLAGS'
57793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57796
57797
57798 fi
57799
57800   fi
57801   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57802 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57803
57804   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57805
57806 for ac_func in isinff
57807 do
57808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57809 echo "$as_me:$LINENO: checking for $ac_func" >&5
57810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57811 if eval "test \"\${$as_ac_var+set}\" = set"; then
57812   echo $ECHO_N "(cached) $ECHO_C" >&6
57813 else
57814   if test x$gcc_no_link = xyes; then
57815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57817    { (exit 1); exit 1; }; }
57818 fi
57819 cat >conftest.$ac_ext <<_ACEOF
57820 /* confdefs.h.  */
57821 _ACEOF
57822 cat confdefs.h >>conftest.$ac_ext
57823 cat >>conftest.$ac_ext <<_ACEOF
57824 /* end confdefs.h.  */
57825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57827 #define $ac_func innocuous_$ac_func
57828
57829 /* System header to define __stub macros and hopefully few prototypes,
57830     which can conflict with char $ac_func (); below.
57831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57832     <limits.h> exists even on freestanding compilers.  */
57833
57834 #ifdef __STDC__
57835 # include <limits.h>
57836 #else
57837 # include <assert.h>
57838 #endif
57839
57840 #undef $ac_func
57841
57842 /* Override any gcc2 internal prototype to avoid an error.  */
57843 #ifdef __cplusplus
57844 extern "C"
57845 {
57846 #endif
57847 /* We use char because int might match the return type of a gcc2
57848    builtin and then its argument prototype would still apply.  */
57849 char $ac_func ();
57850 /* The GNU C library defines this for functions which it implements
57851     to always fail with ENOSYS.  Some functions are actually named
57852     something starting with __ and the normal name is an alias.  */
57853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57854 choke me
57855 #else
57856 char (*f) () = $ac_func;
57857 #endif
57858 #ifdef __cplusplus
57859 }
57860 #endif
57861
57862 int
57863 main ()
57864 {
57865 return f != $ac_func;
57866   ;
57867   return 0;
57868 }
57869 _ACEOF
57870 rm -f conftest.$ac_objext conftest$ac_exeext
57871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57872   (eval $ac_link) 2>conftest.er1
57873   ac_status=$?
57874   grep -v '^ *+' conftest.er1 >conftest.err
57875   rm -f conftest.er1
57876   cat conftest.err >&5
57877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57878   (exit $ac_status); } &&
57879          { ac_try='test -z "$ac_c_werror_flag"
57880                          || test ! -s conftest.err'
57881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57882   (eval $ac_try) 2>&5
57883   ac_status=$?
57884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57885   (exit $ac_status); }; } &&
57886          { ac_try='test -s conftest$ac_exeext'
57887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57888   (eval $ac_try) 2>&5
57889   ac_status=$?
57890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57891   (exit $ac_status); }; }; then
57892   eval "$as_ac_var=yes"
57893 else
57894   echo "$as_me: failed program was:" >&5
57895 sed 's/^/| /' conftest.$ac_ext >&5
57896
57897 eval "$as_ac_var=no"
57898 fi
57899 rm -f conftest.err conftest.$ac_objext \
57900       conftest$ac_exeext conftest.$ac_ext
57901 fi
57902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57904 if test `eval echo '${'$as_ac_var'}'` = yes; then
57905   cat >>confdefs.h <<_ACEOF
57906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57907 _ACEOF
57908
57909 fi
57910 done
57911
57912   else
57913
57914   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57915 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57916   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57917     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57918   echo $ECHO_N "(cached) $ECHO_C" >&6
57919 else
57920
57921
57922
57923       ac_ext=cc
57924 ac_cpp='$CXXCPP $CPPFLAGS'
57925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57928
57929       cat >conftest.$ac_ext <<_ACEOF
57930 /* confdefs.h.  */
57931 _ACEOF
57932 cat confdefs.h >>conftest.$ac_ext
57933 cat >>conftest.$ac_ext <<_ACEOF
57934 /* end confdefs.h.  */
57935 #include <math.h>
57936                       #ifdef HAVE_IEEEFP_H
57937                       #include <ieeefp.h>
57938                       #endif
57939
57940 int
57941 main ()
57942 {
57943  _isinff(0);
57944   ;
57945   return 0;
57946 }
57947 _ACEOF
57948 rm -f conftest.$ac_objext
57949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57950   (eval $ac_compile) 2>conftest.er1
57951   ac_status=$?
57952   grep -v '^ *+' conftest.er1 >conftest.err
57953   rm -f conftest.er1
57954   cat conftest.err >&5
57955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57956   (exit $ac_status); } &&
57957          { ac_try='test -z "$ac_cxx_werror_flag"
57958                          || test ! -s conftest.err'
57959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57960   (eval $ac_try) 2>&5
57961   ac_status=$?
57962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57963   (exit $ac_status); }; } &&
57964          { ac_try='test -s conftest.$ac_objext'
57965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57966   (eval $ac_try) 2>&5
57967   ac_status=$?
57968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57969   (exit $ac_status); }; }; then
57970   glibcxx_cv_func__isinff_use=yes
57971 else
57972   echo "$as_me: failed program was:" >&5
57973 sed 's/^/| /' conftest.$ac_ext >&5
57974
57975 glibcxx_cv_func__isinff_use=no
57976 fi
57977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57978       ac_ext=c
57979 ac_cpp='$CPP $CPPFLAGS'
57980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57983
57984
57985 fi
57986
57987   fi
57988   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57989 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57990
57991     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57992
57993 for ac_func in _isinff
57994 do
57995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57996 echo "$as_me:$LINENO: checking for $ac_func" >&5
57997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57998 if eval "test \"\${$as_ac_var+set}\" = set"; then
57999   echo $ECHO_N "(cached) $ECHO_C" >&6
58000 else
58001   if test x$gcc_no_link = xyes; then
58002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58004    { (exit 1); exit 1; }; }
58005 fi
58006 cat >conftest.$ac_ext <<_ACEOF
58007 /* confdefs.h.  */
58008 _ACEOF
58009 cat confdefs.h >>conftest.$ac_ext
58010 cat >>conftest.$ac_ext <<_ACEOF
58011 /* end confdefs.h.  */
58012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58013    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58014 #define $ac_func innocuous_$ac_func
58015
58016 /* System header to define __stub macros and hopefully few prototypes,
58017     which can conflict with char $ac_func (); below.
58018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58019     <limits.h> exists even on freestanding compilers.  */
58020
58021 #ifdef __STDC__
58022 # include <limits.h>
58023 #else
58024 # include <assert.h>
58025 #endif
58026
58027 #undef $ac_func
58028
58029 /* Override any gcc2 internal prototype to avoid an error.  */
58030 #ifdef __cplusplus
58031 extern "C"
58032 {
58033 #endif
58034 /* We use char because int might match the return type of a gcc2
58035    builtin and then its argument prototype would still apply.  */
58036 char $ac_func ();
58037 /* The GNU C library defines this for functions which it implements
58038     to always fail with ENOSYS.  Some functions are actually named
58039     something starting with __ and the normal name is an alias.  */
58040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58041 choke me
58042 #else
58043 char (*f) () = $ac_func;
58044 #endif
58045 #ifdef __cplusplus
58046 }
58047 #endif
58048
58049 int
58050 main ()
58051 {
58052 return f != $ac_func;
58053   ;
58054   return 0;
58055 }
58056 _ACEOF
58057 rm -f conftest.$ac_objext conftest$ac_exeext
58058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58059   (eval $ac_link) 2>conftest.er1
58060   ac_status=$?
58061   grep -v '^ *+' conftest.er1 >conftest.err
58062   rm -f conftest.er1
58063   cat conftest.err >&5
58064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58065   (exit $ac_status); } &&
58066          { ac_try='test -z "$ac_c_werror_flag"
58067                          || test ! -s conftest.err'
58068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58069   (eval $ac_try) 2>&5
58070   ac_status=$?
58071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58072   (exit $ac_status); }; } &&
58073          { ac_try='test -s conftest$ac_exeext'
58074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58075   (eval $ac_try) 2>&5
58076   ac_status=$?
58077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58078   (exit $ac_status); }; }; then
58079   eval "$as_ac_var=yes"
58080 else
58081   echo "$as_me: failed program was:" >&5
58082 sed 's/^/| /' conftest.$ac_ext >&5
58083
58084 eval "$as_ac_var=no"
58085 fi
58086 rm -f conftest.err conftest.$ac_objext \
58087       conftest$ac_exeext conftest.$ac_ext
58088 fi
58089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58091 if test `eval echo '${'$as_ac_var'}'` = yes; then
58092   cat >>confdefs.h <<_ACEOF
58093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58094 _ACEOF
58095
58096 fi
58097 done
58098
58099     fi
58100   fi
58101
58102
58103
58104
58105
58106
58107   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58108 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58109   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58110     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58111   echo $ECHO_N "(cached) $ECHO_C" >&6
58112 else
58113
58114
58115
58116       ac_ext=cc
58117 ac_cpp='$CXXCPP $CPPFLAGS'
58118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58121
58122       cat >conftest.$ac_ext <<_ACEOF
58123 /* confdefs.h.  */
58124 _ACEOF
58125 cat confdefs.h >>conftest.$ac_ext
58126 cat >>conftest.$ac_ext <<_ACEOF
58127 /* end confdefs.h.  */
58128 #include <math.h>
58129 int
58130 main ()
58131 {
58132  atan2f(0, 0);
58133   ;
58134   return 0;
58135 }
58136 _ACEOF
58137 rm -f conftest.$ac_objext
58138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58139   (eval $ac_compile) 2>conftest.er1
58140   ac_status=$?
58141   grep -v '^ *+' conftest.er1 >conftest.err
58142   rm -f conftest.er1
58143   cat conftest.err >&5
58144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58145   (exit $ac_status); } &&
58146          { ac_try='test -z "$ac_cxx_werror_flag"
58147                          || test ! -s conftest.err'
58148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58149   (eval $ac_try) 2>&5
58150   ac_status=$?
58151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58152   (exit $ac_status); }; } &&
58153          { ac_try='test -s conftest.$ac_objext'
58154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58155   (eval $ac_try) 2>&5
58156   ac_status=$?
58157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58158   (exit $ac_status); }; }; then
58159   glibcxx_cv_func_atan2f_use=yes
58160 else
58161   echo "$as_me: failed program was:" >&5
58162 sed 's/^/| /' conftest.$ac_ext >&5
58163
58164 glibcxx_cv_func_atan2f_use=no
58165 fi
58166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58167       ac_ext=c
58168 ac_cpp='$CPP $CPPFLAGS'
58169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58172
58173
58174 fi
58175
58176   fi
58177   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58178 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58179
58180   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58181
58182 for ac_func in atan2f
58183 do
58184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58185 echo "$as_me:$LINENO: checking for $ac_func" >&5
58186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58187 if eval "test \"\${$as_ac_var+set}\" = set"; then
58188   echo $ECHO_N "(cached) $ECHO_C" >&6
58189 else
58190   if test x$gcc_no_link = xyes; then
58191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58193    { (exit 1); exit 1; }; }
58194 fi
58195 cat >conftest.$ac_ext <<_ACEOF
58196 /* confdefs.h.  */
58197 _ACEOF
58198 cat confdefs.h >>conftest.$ac_ext
58199 cat >>conftest.$ac_ext <<_ACEOF
58200 /* end confdefs.h.  */
58201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58202    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58203 #define $ac_func innocuous_$ac_func
58204
58205 /* System header to define __stub macros and hopefully few prototypes,
58206     which can conflict with char $ac_func (); below.
58207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58208     <limits.h> exists even on freestanding compilers.  */
58209
58210 #ifdef __STDC__
58211 # include <limits.h>
58212 #else
58213 # include <assert.h>
58214 #endif
58215
58216 #undef $ac_func
58217
58218 /* Override any gcc2 internal prototype to avoid an error.  */
58219 #ifdef __cplusplus
58220 extern "C"
58221 {
58222 #endif
58223 /* We use char because int might match the return type of a gcc2
58224    builtin and then its argument prototype would still apply.  */
58225 char $ac_func ();
58226 /* The GNU C library defines this for functions which it implements
58227     to always fail with ENOSYS.  Some functions are actually named
58228     something starting with __ and the normal name is an alias.  */
58229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58230 choke me
58231 #else
58232 char (*f) () = $ac_func;
58233 #endif
58234 #ifdef __cplusplus
58235 }
58236 #endif
58237
58238 int
58239 main ()
58240 {
58241 return f != $ac_func;
58242   ;
58243   return 0;
58244 }
58245 _ACEOF
58246 rm -f conftest.$ac_objext conftest$ac_exeext
58247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58248   (eval $ac_link) 2>conftest.er1
58249   ac_status=$?
58250   grep -v '^ *+' conftest.er1 >conftest.err
58251   rm -f conftest.er1
58252   cat conftest.err >&5
58253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58254   (exit $ac_status); } &&
58255          { ac_try='test -z "$ac_c_werror_flag"
58256                          || test ! -s conftest.err'
58257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58258   (eval $ac_try) 2>&5
58259   ac_status=$?
58260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58261   (exit $ac_status); }; } &&
58262          { ac_try='test -s conftest$ac_exeext'
58263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58264   (eval $ac_try) 2>&5
58265   ac_status=$?
58266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58267   (exit $ac_status); }; }; then
58268   eval "$as_ac_var=yes"
58269 else
58270   echo "$as_me: failed program was:" >&5
58271 sed 's/^/| /' conftest.$ac_ext >&5
58272
58273 eval "$as_ac_var=no"
58274 fi
58275 rm -f conftest.err conftest.$ac_objext \
58276       conftest$ac_exeext conftest.$ac_ext
58277 fi
58278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58280 if test `eval echo '${'$as_ac_var'}'` = yes; then
58281   cat >>confdefs.h <<_ACEOF
58282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58283 _ACEOF
58284
58285 fi
58286 done
58287
58288   else
58289
58290   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58291 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58292   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58293     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58294   echo $ECHO_N "(cached) $ECHO_C" >&6
58295 else
58296
58297
58298
58299       ac_ext=cc
58300 ac_cpp='$CXXCPP $CPPFLAGS'
58301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58304
58305       cat >conftest.$ac_ext <<_ACEOF
58306 /* confdefs.h.  */
58307 _ACEOF
58308 cat confdefs.h >>conftest.$ac_ext
58309 cat >>conftest.$ac_ext <<_ACEOF
58310 /* end confdefs.h.  */
58311 #include <math.h>
58312 int
58313 main ()
58314 {
58315  _atan2f(0, 0);
58316   ;
58317   return 0;
58318 }
58319 _ACEOF
58320 rm -f conftest.$ac_objext
58321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58322   (eval $ac_compile) 2>conftest.er1
58323   ac_status=$?
58324   grep -v '^ *+' conftest.er1 >conftest.err
58325   rm -f conftest.er1
58326   cat conftest.err >&5
58327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58328   (exit $ac_status); } &&
58329          { ac_try='test -z "$ac_cxx_werror_flag"
58330                          || test ! -s conftest.err'
58331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58332   (eval $ac_try) 2>&5
58333   ac_status=$?
58334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58335   (exit $ac_status); }; } &&
58336          { ac_try='test -s conftest.$ac_objext'
58337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58338   (eval $ac_try) 2>&5
58339   ac_status=$?
58340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58341   (exit $ac_status); }; }; then
58342   glibcxx_cv_func__atan2f_use=yes
58343 else
58344   echo "$as_me: failed program was:" >&5
58345 sed 's/^/| /' conftest.$ac_ext >&5
58346
58347 glibcxx_cv_func__atan2f_use=no
58348 fi
58349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58350       ac_ext=c
58351 ac_cpp='$CPP $CPPFLAGS'
58352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58355
58356
58357 fi
58358
58359   fi
58360   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58361 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58362
58363     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58364
58365 for ac_func in _atan2f
58366 do
58367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58368 echo "$as_me:$LINENO: checking for $ac_func" >&5
58369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58370 if eval "test \"\${$as_ac_var+set}\" = set"; then
58371   echo $ECHO_N "(cached) $ECHO_C" >&6
58372 else
58373   if test x$gcc_no_link = xyes; then
58374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58376    { (exit 1); exit 1; }; }
58377 fi
58378 cat >conftest.$ac_ext <<_ACEOF
58379 /* confdefs.h.  */
58380 _ACEOF
58381 cat confdefs.h >>conftest.$ac_ext
58382 cat >>conftest.$ac_ext <<_ACEOF
58383 /* end confdefs.h.  */
58384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58386 #define $ac_func innocuous_$ac_func
58387
58388 /* System header to define __stub macros and hopefully few prototypes,
58389     which can conflict with char $ac_func (); below.
58390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58391     <limits.h> exists even on freestanding compilers.  */
58392
58393 #ifdef __STDC__
58394 # include <limits.h>
58395 #else
58396 # include <assert.h>
58397 #endif
58398
58399 #undef $ac_func
58400
58401 /* Override any gcc2 internal prototype to avoid an error.  */
58402 #ifdef __cplusplus
58403 extern "C"
58404 {
58405 #endif
58406 /* We use char because int might match the return type of a gcc2
58407    builtin and then its argument prototype would still apply.  */
58408 char $ac_func ();
58409 /* The GNU C library defines this for functions which it implements
58410     to always fail with ENOSYS.  Some functions are actually named
58411     something starting with __ and the normal name is an alias.  */
58412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58413 choke me
58414 #else
58415 char (*f) () = $ac_func;
58416 #endif
58417 #ifdef __cplusplus
58418 }
58419 #endif
58420
58421 int
58422 main ()
58423 {
58424 return f != $ac_func;
58425   ;
58426   return 0;
58427 }
58428 _ACEOF
58429 rm -f conftest.$ac_objext conftest$ac_exeext
58430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58431   (eval $ac_link) 2>conftest.er1
58432   ac_status=$?
58433   grep -v '^ *+' conftest.er1 >conftest.err
58434   rm -f conftest.er1
58435   cat conftest.err >&5
58436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58437   (exit $ac_status); } &&
58438          { ac_try='test -z "$ac_c_werror_flag"
58439                          || test ! -s conftest.err'
58440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58441   (eval $ac_try) 2>&5
58442   ac_status=$?
58443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58444   (exit $ac_status); }; } &&
58445          { ac_try='test -s conftest$ac_exeext'
58446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58447   (eval $ac_try) 2>&5
58448   ac_status=$?
58449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58450   (exit $ac_status); }; }; then
58451   eval "$as_ac_var=yes"
58452 else
58453   echo "$as_me: failed program was:" >&5
58454 sed 's/^/| /' conftest.$ac_ext >&5
58455
58456 eval "$as_ac_var=no"
58457 fi
58458 rm -f conftest.err conftest.$ac_objext \
58459       conftest$ac_exeext conftest.$ac_ext
58460 fi
58461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58463 if test `eval echo '${'$as_ac_var'}'` = yes; then
58464   cat >>confdefs.h <<_ACEOF
58465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58466 _ACEOF
58467
58468 fi
58469 done
58470
58471     fi
58472   fi
58473
58474
58475
58476
58477
58478
58479   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58480 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58481   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58482     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58483   echo $ECHO_N "(cached) $ECHO_C" >&6
58484 else
58485
58486
58487
58488       ac_ext=cc
58489 ac_cpp='$CXXCPP $CPPFLAGS'
58490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58493
58494       cat >conftest.$ac_ext <<_ACEOF
58495 /* confdefs.h.  */
58496 _ACEOF
58497 cat confdefs.h >>conftest.$ac_ext
58498 cat >>conftest.$ac_ext <<_ACEOF
58499 /* end confdefs.h.  */
58500 #include <math.h>
58501                       #ifdef HAVE_IEEEFP_H
58502                       #include <ieeefp.h>
58503                       #endif
58504
58505 int
58506 main ()
58507 {
58508  fabsf(0);
58509   ;
58510   return 0;
58511 }
58512 _ACEOF
58513 rm -f conftest.$ac_objext
58514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58515   (eval $ac_compile) 2>conftest.er1
58516   ac_status=$?
58517   grep -v '^ *+' conftest.er1 >conftest.err
58518   rm -f conftest.er1
58519   cat conftest.err >&5
58520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58521   (exit $ac_status); } &&
58522          { ac_try='test -z "$ac_cxx_werror_flag"
58523                          || test ! -s conftest.err'
58524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58525   (eval $ac_try) 2>&5
58526   ac_status=$?
58527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58528   (exit $ac_status); }; } &&
58529          { ac_try='test -s conftest.$ac_objext'
58530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58531   (eval $ac_try) 2>&5
58532   ac_status=$?
58533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58534   (exit $ac_status); }; }; then
58535   glibcxx_cv_func_fabsf_use=yes
58536 else
58537   echo "$as_me: failed program was:" >&5
58538 sed 's/^/| /' conftest.$ac_ext >&5
58539
58540 glibcxx_cv_func_fabsf_use=no
58541 fi
58542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58543       ac_ext=c
58544 ac_cpp='$CPP $CPPFLAGS'
58545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58548
58549
58550 fi
58551
58552   fi
58553   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58554 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58555
58556   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58557
58558 for ac_func in fabsf
58559 do
58560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58561 echo "$as_me:$LINENO: checking for $ac_func" >&5
58562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58563 if eval "test \"\${$as_ac_var+set}\" = set"; then
58564   echo $ECHO_N "(cached) $ECHO_C" >&6
58565 else
58566   if test x$gcc_no_link = xyes; then
58567   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58569    { (exit 1); exit 1; }; }
58570 fi
58571 cat >conftest.$ac_ext <<_ACEOF
58572 /* confdefs.h.  */
58573 _ACEOF
58574 cat confdefs.h >>conftest.$ac_ext
58575 cat >>conftest.$ac_ext <<_ACEOF
58576 /* end confdefs.h.  */
58577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58578    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58579 #define $ac_func innocuous_$ac_func
58580
58581 /* System header to define __stub macros and hopefully few prototypes,
58582     which can conflict with char $ac_func (); below.
58583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58584     <limits.h> exists even on freestanding compilers.  */
58585
58586 #ifdef __STDC__
58587 # include <limits.h>
58588 #else
58589 # include <assert.h>
58590 #endif
58591
58592 #undef $ac_func
58593
58594 /* Override any gcc2 internal prototype to avoid an error.  */
58595 #ifdef __cplusplus
58596 extern "C"
58597 {
58598 #endif
58599 /* We use char because int might match the return type of a gcc2
58600    builtin and then its argument prototype would still apply.  */
58601 char $ac_func ();
58602 /* The GNU C library defines this for functions which it implements
58603     to always fail with ENOSYS.  Some functions are actually named
58604     something starting with __ and the normal name is an alias.  */
58605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58606 choke me
58607 #else
58608 char (*f) () = $ac_func;
58609 #endif
58610 #ifdef __cplusplus
58611 }
58612 #endif
58613
58614 int
58615 main ()
58616 {
58617 return f != $ac_func;
58618   ;
58619   return 0;
58620 }
58621 _ACEOF
58622 rm -f conftest.$ac_objext conftest$ac_exeext
58623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58624   (eval $ac_link) 2>conftest.er1
58625   ac_status=$?
58626   grep -v '^ *+' conftest.er1 >conftest.err
58627   rm -f conftest.er1
58628   cat conftest.err >&5
58629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58630   (exit $ac_status); } &&
58631          { ac_try='test -z "$ac_c_werror_flag"
58632                          || test ! -s conftest.err'
58633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58634   (eval $ac_try) 2>&5
58635   ac_status=$?
58636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58637   (exit $ac_status); }; } &&
58638          { ac_try='test -s conftest$ac_exeext'
58639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58640   (eval $ac_try) 2>&5
58641   ac_status=$?
58642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58643   (exit $ac_status); }; }; then
58644   eval "$as_ac_var=yes"
58645 else
58646   echo "$as_me: failed program was:" >&5
58647 sed 's/^/| /' conftest.$ac_ext >&5
58648
58649 eval "$as_ac_var=no"
58650 fi
58651 rm -f conftest.err conftest.$ac_objext \
58652       conftest$ac_exeext conftest.$ac_ext
58653 fi
58654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58656 if test `eval echo '${'$as_ac_var'}'` = yes; then
58657   cat >>confdefs.h <<_ACEOF
58658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58659 _ACEOF
58660
58661 fi
58662 done
58663
58664   else
58665
58666   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58667 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58668   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58669     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58670   echo $ECHO_N "(cached) $ECHO_C" >&6
58671 else
58672
58673
58674
58675       ac_ext=cc
58676 ac_cpp='$CXXCPP $CPPFLAGS'
58677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58680
58681       cat >conftest.$ac_ext <<_ACEOF
58682 /* confdefs.h.  */
58683 _ACEOF
58684 cat confdefs.h >>conftest.$ac_ext
58685 cat >>conftest.$ac_ext <<_ACEOF
58686 /* end confdefs.h.  */
58687 #include <math.h>
58688                       #ifdef HAVE_IEEEFP_H
58689                       #include <ieeefp.h>
58690                       #endif
58691
58692 int
58693 main ()
58694 {
58695  _fabsf(0);
58696   ;
58697   return 0;
58698 }
58699 _ACEOF
58700 rm -f conftest.$ac_objext
58701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58702   (eval $ac_compile) 2>conftest.er1
58703   ac_status=$?
58704   grep -v '^ *+' conftest.er1 >conftest.err
58705   rm -f conftest.er1
58706   cat conftest.err >&5
58707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58708   (exit $ac_status); } &&
58709          { ac_try='test -z "$ac_cxx_werror_flag"
58710                          || test ! -s conftest.err'
58711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58712   (eval $ac_try) 2>&5
58713   ac_status=$?
58714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58715   (exit $ac_status); }; } &&
58716          { ac_try='test -s conftest.$ac_objext'
58717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58718   (eval $ac_try) 2>&5
58719   ac_status=$?
58720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58721   (exit $ac_status); }; }; then
58722   glibcxx_cv_func__fabsf_use=yes
58723 else
58724   echo "$as_me: failed program was:" >&5
58725 sed 's/^/| /' conftest.$ac_ext >&5
58726
58727 glibcxx_cv_func__fabsf_use=no
58728 fi
58729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58730       ac_ext=c
58731 ac_cpp='$CPP $CPPFLAGS'
58732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58735
58736
58737 fi
58738
58739   fi
58740   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58741 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58742
58743     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58744
58745 for ac_func in _fabsf
58746 do
58747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58748 echo "$as_me:$LINENO: checking for $ac_func" >&5
58749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58750 if eval "test \"\${$as_ac_var+set}\" = set"; then
58751   echo $ECHO_N "(cached) $ECHO_C" >&6
58752 else
58753   if test x$gcc_no_link = xyes; then
58754   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58756    { (exit 1); exit 1; }; }
58757 fi
58758 cat >conftest.$ac_ext <<_ACEOF
58759 /* confdefs.h.  */
58760 _ACEOF
58761 cat confdefs.h >>conftest.$ac_ext
58762 cat >>conftest.$ac_ext <<_ACEOF
58763 /* end confdefs.h.  */
58764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58765    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58766 #define $ac_func innocuous_$ac_func
58767
58768 /* System header to define __stub macros and hopefully few prototypes,
58769     which can conflict with char $ac_func (); below.
58770     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58771     <limits.h> exists even on freestanding compilers.  */
58772
58773 #ifdef __STDC__
58774 # include <limits.h>
58775 #else
58776 # include <assert.h>
58777 #endif
58778
58779 #undef $ac_func
58780
58781 /* Override any gcc2 internal prototype to avoid an error.  */
58782 #ifdef __cplusplus
58783 extern "C"
58784 {
58785 #endif
58786 /* We use char because int might match the return type of a gcc2
58787    builtin and then its argument prototype would still apply.  */
58788 char $ac_func ();
58789 /* The GNU C library defines this for functions which it implements
58790     to always fail with ENOSYS.  Some functions are actually named
58791     something starting with __ and the normal name is an alias.  */
58792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58793 choke me
58794 #else
58795 char (*f) () = $ac_func;
58796 #endif
58797 #ifdef __cplusplus
58798 }
58799 #endif
58800
58801 int
58802 main ()
58803 {
58804 return f != $ac_func;
58805   ;
58806   return 0;
58807 }
58808 _ACEOF
58809 rm -f conftest.$ac_objext conftest$ac_exeext
58810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58811   (eval $ac_link) 2>conftest.er1
58812   ac_status=$?
58813   grep -v '^ *+' conftest.er1 >conftest.err
58814   rm -f conftest.er1
58815   cat conftest.err >&5
58816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58817   (exit $ac_status); } &&
58818          { ac_try='test -z "$ac_c_werror_flag"
58819                          || test ! -s conftest.err'
58820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58821   (eval $ac_try) 2>&5
58822   ac_status=$?
58823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58824   (exit $ac_status); }; } &&
58825          { ac_try='test -s conftest$ac_exeext'
58826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58827   (eval $ac_try) 2>&5
58828   ac_status=$?
58829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58830   (exit $ac_status); }; }; then
58831   eval "$as_ac_var=yes"
58832 else
58833   echo "$as_me: failed program was:" >&5
58834 sed 's/^/| /' conftest.$ac_ext >&5
58835
58836 eval "$as_ac_var=no"
58837 fi
58838 rm -f conftest.err conftest.$ac_objext \
58839       conftest$ac_exeext conftest.$ac_ext
58840 fi
58841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58843 if test `eval echo '${'$as_ac_var'}'` = yes; then
58844   cat >>confdefs.h <<_ACEOF
58845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58846 _ACEOF
58847
58848 fi
58849 done
58850
58851     fi
58852   fi
58853
58854
58855
58856
58857
58858
58859   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58860 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58861   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58862     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58863   echo $ECHO_N "(cached) $ECHO_C" >&6
58864 else
58865
58866
58867
58868       ac_ext=cc
58869 ac_cpp='$CXXCPP $CPPFLAGS'
58870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58873
58874       cat >conftest.$ac_ext <<_ACEOF
58875 /* confdefs.h.  */
58876 _ACEOF
58877 cat confdefs.h >>conftest.$ac_ext
58878 cat >>conftest.$ac_ext <<_ACEOF
58879 /* end confdefs.h.  */
58880 #include <math.h>
58881 int
58882 main ()
58883 {
58884  fmodf(0, 0);
58885   ;
58886   return 0;
58887 }
58888 _ACEOF
58889 rm -f conftest.$ac_objext
58890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58891   (eval $ac_compile) 2>conftest.er1
58892   ac_status=$?
58893   grep -v '^ *+' conftest.er1 >conftest.err
58894   rm -f conftest.er1
58895   cat conftest.err >&5
58896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58897   (exit $ac_status); } &&
58898          { ac_try='test -z "$ac_cxx_werror_flag"
58899                          || test ! -s conftest.err'
58900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58901   (eval $ac_try) 2>&5
58902   ac_status=$?
58903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58904   (exit $ac_status); }; } &&
58905          { ac_try='test -s conftest.$ac_objext'
58906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58907   (eval $ac_try) 2>&5
58908   ac_status=$?
58909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58910   (exit $ac_status); }; }; then
58911   glibcxx_cv_func_fmodf_use=yes
58912 else
58913   echo "$as_me: failed program was:" >&5
58914 sed 's/^/| /' conftest.$ac_ext >&5
58915
58916 glibcxx_cv_func_fmodf_use=no
58917 fi
58918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58919       ac_ext=c
58920 ac_cpp='$CPP $CPPFLAGS'
58921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58924
58925
58926 fi
58927
58928   fi
58929   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58930 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58931
58932   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58933
58934 for ac_func in fmodf
58935 do
58936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58937 echo "$as_me:$LINENO: checking for $ac_func" >&5
58938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58939 if eval "test \"\${$as_ac_var+set}\" = set"; then
58940   echo $ECHO_N "(cached) $ECHO_C" >&6
58941 else
58942   if test x$gcc_no_link = xyes; then
58943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58945    { (exit 1); exit 1; }; }
58946 fi
58947 cat >conftest.$ac_ext <<_ACEOF
58948 /* confdefs.h.  */
58949 _ACEOF
58950 cat confdefs.h >>conftest.$ac_ext
58951 cat >>conftest.$ac_ext <<_ACEOF
58952 /* end confdefs.h.  */
58953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58954    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58955 #define $ac_func innocuous_$ac_func
58956
58957 /* System header to define __stub macros and hopefully few prototypes,
58958     which can conflict with char $ac_func (); below.
58959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58960     <limits.h> exists even on freestanding compilers.  */
58961
58962 #ifdef __STDC__
58963 # include <limits.h>
58964 #else
58965 # include <assert.h>
58966 #endif
58967
58968 #undef $ac_func
58969
58970 /* Override any gcc2 internal prototype to avoid an error.  */
58971 #ifdef __cplusplus
58972 extern "C"
58973 {
58974 #endif
58975 /* We use char because int might match the return type of a gcc2
58976    builtin and then its argument prototype would still apply.  */
58977 char $ac_func ();
58978 /* The GNU C library defines this for functions which it implements
58979     to always fail with ENOSYS.  Some functions are actually named
58980     something starting with __ and the normal name is an alias.  */
58981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58982 choke me
58983 #else
58984 char (*f) () = $ac_func;
58985 #endif
58986 #ifdef __cplusplus
58987 }
58988 #endif
58989
58990 int
58991 main ()
58992 {
58993 return f != $ac_func;
58994   ;
58995   return 0;
58996 }
58997 _ACEOF
58998 rm -f conftest.$ac_objext conftest$ac_exeext
58999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59000   (eval $ac_link) 2>conftest.er1
59001   ac_status=$?
59002   grep -v '^ *+' conftest.er1 >conftest.err
59003   rm -f conftest.er1
59004   cat conftest.err >&5
59005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59006   (exit $ac_status); } &&
59007          { ac_try='test -z "$ac_c_werror_flag"
59008                          || test ! -s conftest.err'
59009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59010   (eval $ac_try) 2>&5
59011   ac_status=$?
59012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59013   (exit $ac_status); }; } &&
59014          { ac_try='test -s conftest$ac_exeext'
59015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59016   (eval $ac_try) 2>&5
59017   ac_status=$?
59018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59019   (exit $ac_status); }; }; then
59020   eval "$as_ac_var=yes"
59021 else
59022   echo "$as_me: failed program was:" >&5
59023 sed 's/^/| /' conftest.$ac_ext >&5
59024
59025 eval "$as_ac_var=no"
59026 fi
59027 rm -f conftest.err conftest.$ac_objext \
59028       conftest$ac_exeext conftest.$ac_ext
59029 fi
59030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59032 if test `eval echo '${'$as_ac_var'}'` = yes; then
59033   cat >>confdefs.h <<_ACEOF
59034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59035 _ACEOF
59036
59037 fi
59038 done
59039
59040   else
59041
59042   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59043 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59044   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59045     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59046   echo $ECHO_N "(cached) $ECHO_C" >&6
59047 else
59048
59049
59050
59051       ac_ext=cc
59052 ac_cpp='$CXXCPP $CPPFLAGS'
59053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59056
59057       cat >conftest.$ac_ext <<_ACEOF
59058 /* confdefs.h.  */
59059 _ACEOF
59060 cat confdefs.h >>conftest.$ac_ext
59061 cat >>conftest.$ac_ext <<_ACEOF
59062 /* end confdefs.h.  */
59063 #include <math.h>
59064 int
59065 main ()
59066 {
59067  _fmodf(0, 0);
59068   ;
59069   return 0;
59070 }
59071 _ACEOF
59072 rm -f conftest.$ac_objext
59073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59074   (eval $ac_compile) 2>conftest.er1
59075   ac_status=$?
59076   grep -v '^ *+' conftest.er1 >conftest.err
59077   rm -f conftest.er1
59078   cat conftest.err >&5
59079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59080   (exit $ac_status); } &&
59081          { ac_try='test -z "$ac_cxx_werror_flag"
59082                          || test ! -s conftest.err'
59083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59084   (eval $ac_try) 2>&5
59085   ac_status=$?
59086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59087   (exit $ac_status); }; } &&
59088          { ac_try='test -s conftest.$ac_objext'
59089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59090   (eval $ac_try) 2>&5
59091   ac_status=$?
59092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59093   (exit $ac_status); }; }; then
59094   glibcxx_cv_func__fmodf_use=yes
59095 else
59096   echo "$as_me: failed program was:" >&5
59097 sed 's/^/| /' conftest.$ac_ext >&5
59098
59099 glibcxx_cv_func__fmodf_use=no
59100 fi
59101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59102       ac_ext=c
59103 ac_cpp='$CPP $CPPFLAGS'
59104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59107
59108
59109 fi
59110
59111   fi
59112   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59113 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59114
59115     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59116
59117 for ac_func in _fmodf
59118 do
59119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59120 echo "$as_me:$LINENO: checking for $ac_func" >&5
59121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59122 if eval "test \"\${$as_ac_var+set}\" = set"; then
59123   echo $ECHO_N "(cached) $ECHO_C" >&6
59124 else
59125   if test x$gcc_no_link = xyes; then
59126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59128    { (exit 1); exit 1; }; }
59129 fi
59130 cat >conftest.$ac_ext <<_ACEOF
59131 /* confdefs.h.  */
59132 _ACEOF
59133 cat confdefs.h >>conftest.$ac_ext
59134 cat >>conftest.$ac_ext <<_ACEOF
59135 /* end confdefs.h.  */
59136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59138 #define $ac_func innocuous_$ac_func
59139
59140 /* System header to define __stub macros and hopefully few prototypes,
59141     which can conflict with char $ac_func (); below.
59142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59143     <limits.h> exists even on freestanding compilers.  */
59144
59145 #ifdef __STDC__
59146 # include <limits.h>
59147 #else
59148 # include <assert.h>
59149 #endif
59150
59151 #undef $ac_func
59152
59153 /* Override any gcc2 internal prototype to avoid an error.  */
59154 #ifdef __cplusplus
59155 extern "C"
59156 {
59157 #endif
59158 /* We use char because int might match the return type of a gcc2
59159    builtin and then its argument prototype would still apply.  */
59160 char $ac_func ();
59161 /* The GNU C library defines this for functions which it implements
59162     to always fail with ENOSYS.  Some functions are actually named
59163     something starting with __ and the normal name is an alias.  */
59164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59165 choke me
59166 #else
59167 char (*f) () = $ac_func;
59168 #endif
59169 #ifdef __cplusplus
59170 }
59171 #endif
59172
59173 int
59174 main ()
59175 {
59176 return f != $ac_func;
59177   ;
59178   return 0;
59179 }
59180 _ACEOF
59181 rm -f conftest.$ac_objext conftest$ac_exeext
59182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59183   (eval $ac_link) 2>conftest.er1
59184   ac_status=$?
59185   grep -v '^ *+' conftest.er1 >conftest.err
59186   rm -f conftest.er1
59187   cat conftest.err >&5
59188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59189   (exit $ac_status); } &&
59190          { ac_try='test -z "$ac_c_werror_flag"
59191                          || test ! -s conftest.err'
59192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59193   (eval $ac_try) 2>&5
59194   ac_status=$?
59195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59196   (exit $ac_status); }; } &&
59197          { ac_try='test -s conftest$ac_exeext'
59198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59199   (eval $ac_try) 2>&5
59200   ac_status=$?
59201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59202   (exit $ac_status); }; }; then
59203   eval "$as_ac_var=yes"
59204 else
59205   echo "$as_me: failed program was:" >&5
59206 sed 's/^/| /' conftest.$ac_ext >&5
59207
59208 eval "$as_ac_var=no"
59209 fi
59210 rm -f conftest.err conftest.$ac_objext \
59211       conftest$ac_exeext conftest.$ac_ext
59212 fi
59213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59215 if test `eval echo '${'$as_ac_var'}'` = yes; then
59216   cat >>confdefs.h <<_ACEOF
59217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59218 _ACEOF
59219
59220 fi
59221 done
59222
59223     fi
59224   fi
59225
59226
59227
59228
59229
59230
59231   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59232 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59233   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59234     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59235   echo $ECHO_N "(cached) $ECHO_C" >&6
59236 else
59237
59238
59239
59240       ac_ext=cc
59241 ac_cpp='$CXXCPP $CPPFLAGS'
59242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59245
59246       cat >conftest.$ac_ext <<_ACEOF
59247 /* confdefs.h.  */
59248 _ACEOF
59249 cat confdefs.h >>conftest.$ac_ext
59250 cat >>conftest.$ac_ext <<_ACEOF
59251 /* end confdefs.h.  */
59252 #include <math.h>
59253 int
59254 main ()
59255 {
59256  frexpf(0, 0);
59257   ;
59258   return 0;
59259 }
59260 _ACEOF
59261 rm -f conftest.$ac_objext
59262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59263   (eval $ac_compile) 2>conftest.er1
59264   ac_status=$?
59265   grep -v '^ *+' conftest.er1 >conftest.err
59266   rm -f conftest.er1
59267   cat conftest.err >&5
59268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59269   (exit $ac_status); } &&
59270          { ac_try='test -z "$ac_cxx_werror_flag"
59271                          || test ! -s conftest.err'
59272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59273   (eval $ac_try) 2>&5
59274   ac_status=$?
59275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59276   (exit $ac_status); }; } &&
59277          { ac_try='test -s conftest.$ac_objext'
59278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59279   (eval $ac_try) 2>&5
59280   ac_status=$?
59281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59282   (exit $ac_status); }; }; then
59283   glibcxx_cv_func_frexpf_use=yes
59284 else
59285   echo "$as_me: failed program was:" >&5
59286 sed 's/^/| /' conftest.$ac_ext >&5
59287
59288 glibcxx_cv_func_frexpf_use=no
59289 fi
59290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59291       ac_ext=c
59292 ac_cpp='$CPP $CPPFLAGS'
59293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59296
59297
59298 fi
59299
59300   fi
59301   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59302 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59303
59304   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59305
59306 for ac_func in frexpf
59307 do
59308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59309 echo "$as_me:$LINENO: checking for $ac_func" >&5
59310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59311 if eval "test \"\${$as_ac_var+set}\" = set"; then
59312   echo $ECHO_N "(cached) $ECHO_C" >&6
59313 else
59314   if test x$gcc_no_link = xyes; then
59315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59317    { (exit 1); exit 1; }; }
59318 fi
59319 cat >conftest.$ac_ext <<_ACEOF
59320 /* confdefs.h.  */
59321 _ACEOF
59322 cat confdefs.h >>conftest.$ac_ext
59323 cat >>conftest.$ac_ext <<_ACEOF
59324 /* end confdefs.h.  */
59325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59327 #define $ac_func innocuous_$ac_func
59328
59329 /* System header to define __stub macros and hopefully few prototypes,
59330     which can conflict with char $ac_func (); below.
59331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59332     <limits.h> exists even on freestanding compilers.  */
59333
59334 #ifdef __STDC__
59335 # include <limits.h>
59336 #else
59337 # include <assert.h>
59338 #endif
59339
59340 #undef $ac_func
59341
59342 /* Override any gcc2 internal prototype to avoid an error.  */
59343 #ifdef __cplusplus
59344 extern "C"
59345 {
59346 #endif
59347 /* We use char because int might match the return type of a gcc2
59348    builtin and then its argument prototype would still apply.  */
59349 char $ac_func ();
59350 /* The GNU C library defines this for functions which it implements
59351     to always fail with ENOSYS.  Some functions are actually named
59352     something starting with __ and the normal name is an alias.  */
59353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59354 choke me
59355 #else
59356 char (*f) () = $ac_func;
59357 #endif
59358 #ifdef __cplusplus
59359 }
59360 #endif
59361
59362 int
59363 main ()
59364 {
59365 return f != $ac_func;
59366   ;
59367   return 0;
59368 }
59369 _ACEOF
59370 rm -f conftest.$ac_objext conftest$ac_exeext
59371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59372   (eval $ac_link) 2>conftest.er1
59373   ac_status=$?
59374   grep -v '^ *+' conftest.er1 >conftest.err
59375   rm -f conftest.er1
59376   cat conftest.err >&5
59377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59378   (exit $ac_status); } &&
59379          { ac_try='test -z "$ac_c_werror_flag"
59380                          || test ! -s conftest.err'
59381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59382   (eval $ac_try) 2>&5
59383   ac_status=$?
59384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59385   (exit $ac_status); }; } &&
59386          { ac_try='test -s conftest$ac_exeext'
59387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59388   (eval $ac_try) 2>&5
59389   ac_status=$?
59390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59391   (exit $ac_status); }; }; then
59392   eval "$as_ac_var=yes"
59393 else
59394   echo "$as_me: failed program was:" >&5
59395 sed 's/^/| /' conftest.$ac_ext >&5
59396
59397 eval "$as_ac_var=no"
59398 fi
59399 rm -f conftest.err conftest.$ac_objext \
59400       conftest$ac_exeext conftest.$ac_ext
59401 fi
59402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59404 if test `eval echo '${'$as_ac_var'}'` = yes; then
59405   cat >>confdefs.h <<_ACEOF
59406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59407 _ACEOF
59408
59409 fi
59410 done
59411
59412   else
59413
59414   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59415 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59416   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59417     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59418   echo $ECHO_N "(cached) $ECHO_C" >&6
59419 else
59420
59421
59422
59423       ac_ext=cc
59424 ac_cpp='$CXXCPP $CPPFLAGS'
59425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59428
59429       cat >conftest.$ac_ext <<_ACEOF
59430 /* confdefs.h.  */
59431 _ACEOF
59432 cat confdefs.h >>conftest.$ac_ext
59433 cat >>conftest.$ac_ext <<_ACEOF
59434 /* end confdefs.h.  */
59435 #include <math.h>
59436 int
59437 main ()
59438 {
59439  _frexpf(0, 0);
59440   ;
59441   return 0;
59442 }
59443 _ACEOF
59444 rm -f conftest.$ac_objext
59445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59446   (eval $ac_compile) 2>conftest.er1
59447   ac_status=$?
59448   grep -v '^ *+' conftest.er1 >conftest.err
59449   rm -f conftest.er1
59450   cat conftest.err >&5
59451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59452   (exit $ac_status); } &&
59453          { ac_try='test -z "$ac_cxx_werror_flag"
59454                          || test ! -s conftest.err'
59455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59456   (eval $ac_try) 2>&5
59457   ac_status=$?
59458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59459   (exit $ac_status); }; } &&
59460          { ac_try='test -s conftest.$ac_objext'
59461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59462   (eval $ac_try) 2>&5
59463   ac_status=$?
59464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59465   (exit $ac_status); }; }; then
59466   glibcxx_cv_func__frexpf_use=yes
59467 else
59468   echo "$as_me: failed program was:" >&5
59469 sed 's/^/| /' conftest.$ac_ext >&5
59470
59471 glibcxx_cv_func__frexpf_use=no
59472 fi
59473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59474       ac_ext=c
59475 ac_cpp='$CPP $CPPFLAGS'
59476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59479
59480
59481 fi
59482
59483   fi
59484   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59485 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59486
59487     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59488
59489 for ac_func in _frexpf
59490 do
59491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59492 echo "$as_me:$LINENO: checking for $ac_func" >&5
59493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59494 if eval "test \"\${$as_ac_var+set}\" = set"; then
59495   echo $ECHO_N "(cached) $ECHO_C" >&6
59496 else
59497   if test x$gcc_no_link = xyes; then
59498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59500    { (exit 1); exit 1; }; }
59501 fi
59502 cat >conftest.$ac_ext <<_ACEOF
59503 /* confdefs.h.  */
59504 _ACEOF
59505 cat confdefs.h >>conftest.$ac_ext
59506 cat >>conftest.$ac_ext <<_ACEOF
59507 /* end confdefs.h.  */
59508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59510 #define $ac_func innocuous_$ac_func
59511
59512 /* System header to define __stub macros and hopefully few prototypes,
59513     which can conflict with char $ac_func (); below.
59514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59515     <limits.h> exists even on freestanding compilers.  */
59516
59517 #ifdef __STDC__
59518 # include <limits.h>
59519 #else
59520 # include <assert.h>
59521 #endif
59522
59523 #undef $ac_func
59524
59525 /* Override any gcc2 internal prototype to avoid an error.  */
59526 #ifdef __cplusplus
59527 extern "C"
59528 {
59529 #endif
59530 /* We use char because int might match the return type of a gcc2
59531    builtin and then its argument prototype would still apply.  */
59532 char $ac_func ();
59533 /* The GNU C library defines this for functions which it implements
59534     to always fail with ENOSYS.  Some functions are actually named
59535     something starting with __ and the normal name is an alias.  */
59536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59537 choke me
59538 #else
59539 char (*f) () = $ac_func;
59540 #endif
59541 #ifdef __cplusplus
59542 }
59543 #endif
59544
59545 int
59546 main ()
59547 {
59548 return f != $ac_func;
59549   ;
59550   return 0;
59551 }
59552 _ACEOF
59553 rm -f conftest.$ac_objext conftest$ac_exeext
59554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59555   (eval $ac_link) 2>conftest.er1
59556   ac_status=$?
59557   grep -v '^ *+' conftest.er1 >conftest.err
59558   rm -f conftest.er1
59559   cat conftest.err >&5
59560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59561   (exit $ac_status); } &&
59562          { ac_try='test -z "$ac_c_werror_flag"
59563                          || test ! -s conftest.err'
59564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59565   (eval $ac_try) 2>&5
59566   ac_status=$?
59567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59568   (exit $ac_status); }; } &&
59569          { ac_try='test -s conftest$ac_exeext'
59570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59571   (eval $ac_try) 2>&5
59572   ac_status=$?
59573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59574   (exit $ac_status); }; }; then
59575   eval "$as_ac_var=yes"
59576 else
59577   echo "$as_me: failed program was:" >&5
59578 sed 's/^/| /' conftest.$ac_ext >&5
59579
59580 eval "$as_ac_var=no"
59581 fi
59582 rm -f conftest.err conftest.$ac_objext \
59583       conftest$ac_exeext conftest.$ac_ext
59584 fi
59585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59587 if test `eval echo '${'$as_ac_var'}'` = yes; then
59588   cat >>confdefs.h <<_ACEOF
59589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59590 _ACEOF
59591
59592 fi
59593 done
59594
59595     fi
59596   fi
59597
59598
59599
59600
59601
59602
59603   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59604 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59605   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59606     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59607   echo $ECHO_N "(cached) $ECHO_C" >&6
59608 else
59609
59610
59611
59612       ac_ext=cc
59613 ac_cpp='$CXXCPP $CPPFLAGS'
59614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59617
59618       cat >conftest.$ac_ext <<_ACEOF
59619 /* confdefs.h.  */
59620 _ACEOF
59621 cat confdefs.h >>conftest.$ac_ext
59622 cat >>conftest.$ac_ext <<_ACEOF
59623 /* end confdefs.h.  */
59624 #include <math.h>
59625 int
59626 main ()
59627 {
59628  hypotf(0, 0);
59629   ;
59630   return 0;
59631 }
59632 _ACEOF
59633 rm -f conftest.$ac_objext
59634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59635   (eval $ac_compile) 2>conftest.er1
59636   ac_status=$?
59637   grep -v '^ *+' conftest.er1 >conftest.err
59638   rm -f conftest.er1
59639   cat conftest.err >&5
59640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59641   (exit $ac_status); } &&
59642          { ac_try='test -z "$ac_cxx_werror_flag"
59643                          || test ! -s conftest.err'
59644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59645   (eval $ac_try) 2>&5
59646   ac_status=$?
59647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59648   (exit $ac_status); }; } &&
59649          { ac_try='test -s conftest.$ac_objext'
59650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59651   (eval $ac_try) 2>&5
59652   ac_status=$?
59653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59654   (exit $ac_status); }; }; then
59655   glibcxx_cv_func_hypotf_use=yes
59656 else
59657   echo "$as_me: failed program was:" >&5
59658 sed 's/^/| /' conftest.$ac_ext >&5
59659
59660 glibcxx_cv_func_hypotf_use=no
59661 fi
59662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59663       ac_ext=c
59664 ac_cpp='$CPP $CPPFLAGS'
59665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59668
59669
59670 fi
59671
59672   fi
59673   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59674 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59675
59676   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59677
59678 for ac_func in hypotf
59679 do
59680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59681 echo "$as_me:$LINENO: checking for $ac_func" >&5
59682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59683 if eval "test \"\${$as_ac_var+set}\" = set"; then
59684   echo $ECHO_N "(cached) $ECHO_C" >&6
59685 else
59686   if test x$gcc_no_link = xyes; then
59687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59689    { (exit 1); exit 1; }; }
59690 fi
59691 cat >conftest.$ac_ext <<_ACEOF
59692 /* confdefs.h.  */
59693 _ACEOF
59694 cat confdefs.h >>conftest.$ac_ext
59695 cat >>conftest.$ac_ext <<_ACEOF
59696 /* end confdefs.h.  */
59697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59699 #define $ac_func innocuous_$ac_func
59700
59701 /* System header to define __stub macros and hopefully few prototypes,
59702     which can conflict with char $ac_func (); below.
59703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59704     <limits.h> exists even on freestanding compilers.  */
59705
59706 #ifdef __STDC__
59707 # include <limits.h>
59708 #else
59709 # include <assert.h>
59710 #endif
59711
59712 #undef $ac_func
59713
59714 /* Override any gcc2 internal prototype to avoid an error.  */
59715 #ifdef __cplusplus
59716 extern "C"
59717 {
59718 #endif
59719 /* We use char because int might match the return type of a gcc2
59720    builtin and then its argument prototype would still apply.  */
59721 char $ac_func ();
59722 /* The GNU C library defines this for functions which it implements
59723     to always fail with ENOSYS.  Some functions are actually named
59724     something starting with __ and the normal name is an alias.  */
59725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59726 choke me
59727 #else
59728 char (*f) () = $ac_func;
59729 #endif
59730 #ifdef __cplusplus
59731 }
59732 #endif
59733
59734 int
59735 main ()
59736 {
59737 return f != $ac_func;
59738   ;
59739   return 0;
59740 }
59741 _ACEOF
59742 rm -f conftest.$ac_objext conftest$ac_exeext
59743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59744   (eval $ac_link) 2>conftest.er1
59745   ac_status=$?
59746   grep -v '^ *+' conftest.er1 >conftest.err
59747   rm -f conftest.er1
59748   cat conftest.err >&5
59749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59750   (exit $ac_status); } &&
59751          { ac_try='test -z "$ac_c_werror_flag"
59752                          || test ! -s conftest.err'
59753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59754   (eval $ac_try) 2>&5
59755   ac_status=$?
59756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59757   (exit $ac_status); }; } &&
59758          { ac_try='test -s conftest$ac_exeext'
59759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59760   (eval $ac_try) 2>&5
59761   ac_status=$?
59762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59763   (exit $ac_status); }; }; then
59764   eval "$as_ac_var=yes"
59765 else
59766   echo "$as_me: failed program was:" >&5
59767 sed 's/^/| /' conftest.$ac_ext >&5
59768
59769 eval "$as_ac_var=no"
59770 fi
59771 rm -f conftest.err conftest.$ac_objext \
59772       conftest$ac_exeext conftest.$ac_ext
59773 fi
59774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59776 if test `eval echo '${'$as_ac_var'}'` = yes; then
59777   cat >>confdefs.h <<_ACEOF
59778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59779 _ACEOF
59780
59781 fi
59782 done
59783
59784   else
59785
59786   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59787 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59788   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59789     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59790   echo $ECHO_N "(cached) $ECHO_C" >&6
59791 else
59792
59793
59794
59795       ac_ext=cc
59796 ac_cpp='$CXXCPP $CPPFLAGS'
59797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59800
59801       cat >conftest.$ac_ext <<_ACEOF
59802 /* confdefs.h.  */
59803 _ACEOF
59804 cat confdefs.h >>conftest.$ac_ext
59805 cat >>conftest.$ac_ext <<_ACEOF
59806 /* end confdefs.h.  */
59807 #include <math.h>
59808 int
59809 main ()
59810 {
59811  _hypotf(0, 0);
59812   ;
59813   return 0;
59814 }
59815 _ACEOF
59816 rm -f conftest.$ac_objext
59817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59818   (eval $ac_compile) 2>conftest.er1
59819   ac_status=$?
59820   grep -v '^ *+' conftest.er1 >conftest.err
59821   rm -f conftest.er1
59822   cat conftest.err >&5
59823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59824   (exit $ac_status); } &&
59825          { ac_try='test -z "$ac_cxx_werror_flag"
59826                          || test ! -s conftest.err'
59827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59828   (eval $ac_try) 2>&5
59829   ac_status=$?
59830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59831   (exit $ac_status); }; } &&
59832          { ac_try='test -s conftest.$ac_objext'
59833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59834   (eval $ac_try) 2>&5
59835   ac_status=$?
59836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59837   (exit $ac_status); }; }; then
59838   glibcxx_cv_func__hypotf_use=yes
59839 else
59840   echo "$as_me: failed program was:" >&5
59841 sed 's/^/| /' conftest.$ac_ext >&5
59842
59843 glibcxx_cv_func__hypotf_use=no
59844 fi
59845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59846       ac_ext=c
59847 ac_cpp='$CPP $CPPFLAGS'
59848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59851
59852
59853 fi
59854
59855   fi
59856   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59857 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59858
59859     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59860
59861 for ac_func in _hypotf
59862 do
59863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59864 echo "$as_me:$LINENO: checking for $ac_func" >&5
59865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59866 if eval "test \"\${$as_ac_var+set}\" = set"; then
59867   echo $ECHO_N "(cached) $ECHO_C" >&6
59868 else
59869   if test x$gcc_no_link = xyes; then
59870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59872    { (exit 1); exit 1; }; }
59873 fi
59874 cat >conftest.$ac_ext <<_ACEOF
59875 /* confdefs.h.  */
59876 _ACEOF
59877 cat confdefs.h >>conftest.$ac_ext
59878 cat >>conftest.$ac_ext <<_ACEOF
59879 /* end confdefs.h.  */
59880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59882 #define $ac_func innocuous_$ac_func
59883
59884 /* System header to define __stub macros and hopefully few prototypes,
59885     which can conflict with char $ac_func (); below.
59886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59887     <limits.h> exists even on freestanding compilers.  */
59888
59889 #ifdef __STDC__
59890 # include <limits.h>
59891 #else
59892 # include <assert.h>
59893 #endif
59894
59895 #undef $ac_func
59896
59897 /* Override any gcc2 internal prototype to avoid an error.  */
59898 #ifdef __cplusplus
59899 extern "C"
59900 {
59901 #endif
59902 /* We use char because int might match the return type of a gcc2
59903    builtin and then its argument prototype would still apply.  */
59904 char $ac_func ();
59905 /* The GNU C library defines this for functions which it implements
59906     to always fail with ENOSYS.  Some functions are actually named
59907     something starting with __ and the normal name is an alias.  */
59908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59909 choke me
59910 #else
59911 char (*f) () = $ac_func;
59912 #endif
59913 #ifdef __cplusplus
59914 }
59915 #endif
59916
59917 int
59918 main ()
59919 {
59920 return f != $ac_func;
59921   ;
59922   return 0;
59923 }
59924 _ACEOF
59925 rm -f conftest.$ac_objext conftest$ac_exeext
59926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59927   (eval $ac_link) 2>conftest.er1
59928   ac_status=$?
59929   grep -v '^ *+' conftest.er1 >conftest.err
59930   rm -f conftest.er1
59931   cat conftest.err >&5
59932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59933   (exit $ac_status); } &&
59934          { ac_try='test -z "$ac_c_werror_flag"
59935                          || test ! -s conftest.err'
59936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59937   (eval $ac_try) 2>&5
59938   ac_status=$?
59939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59940   (exit $ac_status); }; } &&
59941          { ac_try='test -s conftest$ac_exeext'
59942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59943   (eval $ac_try) 2>&5
59944   ac_status=$?
59945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59946   (exit $ac_status); }; }; then
59947   eval "$as_ac_var=yes"
59948 else
59949   echo "$as_me: failed program was:" >&5
59950 sed 's/^/| /' conftest.$ac_ext >&5
59951
59952 eval "$as_ac_var=no"
59953 fi
59954 rm -f conftest.err conftest.$ac_objext \
59955       conftest$ac_exeext conftest.$ac_ext
59956 fi
59957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59959 if test `eval echo '${'$as_ac_var'}'` = yes; then
59960   cat >>confdefs.h <<_ACEOF
59961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59962 _ACEOF
59963
59964 fi
59965 done
59966
59967     fi
59968   fi
59969
59970
59971
59972
59973
59974
59975   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
59976 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
59977   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59978     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
59979   echo $ECHO_N "(cached) $ECHO_C" >&6
59980 else
59981
59982
59983
59984       ac_ext=cc
59985 ac_cpp='$CXXCPP $CPPFLAGS'
59986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59989
59990       cat >conftest.$ac_ext <<_ACEOF
59991 /* confdefs.h.  */
59992 _ACEOF
59993 cat confdefs.h >>conftest.$ac_ext
59994 cat >>conftest.$ac_ext <<_ACEOF
59995 /* end confdefs.h.  */
59996 #include <math.h>
59997 int
59998 main ()
59999 {
60000  ldexpf(0, 0);
60001   ;
60002   return 0;
60003 }
60004 _ACEOF
60005 rm -f conftest.$ac_objext
60006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60007   (eval $ac_compile) 2>conftest.er1
60008   ac_status=$?
60009   grep -v '^ *+' conftest.er1 >conftest.err
60010   rm -f conftest.er1
60011   cat conftest.err >&5
60012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60013   (exit $ac_status); } &&
60014          { ac_try='test -z "$ac_cxx_werror_flag"
60015                          || test ! -s conftest.err'
60016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60017   (eval $ac_try) 2>&5
60018   ac_status=$?
60019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60020   (exit $ac_status); }; } &&
60021          { ac_try='test -s conftest.$ac_objext'
60022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60023   (eval $ac_try) 2>&5
60024   ac_status=$?
60025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60026   (exit $ac_status); }; }; then
60027   glibcxx_cv_func_ldexpf_use=yes
60028 else
60029   echo "$as_me: failed program was:" >&5
60030 sed 's/^/| /' conftest.$ac_ext >&5
60031
60032 glibcxx_cv_func_ldexpf_use=no
60033 fi
60034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60035       ac_ext=c
60036 ac_cpp='$CPP $CPPFLAGS'
60037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60040
60041
60042 fi
60043
60044   fi
60045   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60046 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60047
60048   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60049
60050 for ac_func in ldexpf
60051 do
60052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60053 echo "$as_me:$LINENO: checking for $ac_func" >&5
60054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60055 if eval "test \"\${$as_ac_var+set}\" = set"; then
60056   echo $ECHO_N "(cached) $ECHO_C" >&6
60057 else
60058   if test x$gcc_no_link = xyes; then
60059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60061    { (exit 1); exit 1; }; }
60062 fi
60063 cat >conftest.$ac_ext <<_ACEOF
60064 /* confdefs.h.  */
60065 _ACEOF
60066 cat confdefs.h >>conftest.$ac_ext
60067 cat >>conftest.$ac_ext <<_ACEOF
60068 /* end confdefs.h.  */
60069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60071 #define $ac_func innocuous_$ac_func
60072
60073 /* System header to define __stub macros and hopefully few prototypes,
60074     which can conflict with char $ac_func (); below.
60075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60076     <limits.h> exists even on freestanding compilers.  */
60077
60078 #ifdef __STDC__
60079 # include <limits.h>
60080 #else
60081 # include <assert.h>
60082 #endif
60083
60084 #undef $ac_func
60085
60086 /* Override any gcc2 internal prototype to avoid an error.  */
60087 #ifdef __cplusplus
60088 extern "C"
60089 {
60090 #endif
60091 /* We use char because int might match the return type of a gcc2
60092    builtin and then its argument prototype would still apply.  */
60093 char $ac_func ();
60094 /* The GNU C library defines this for functions which it implements
60095     to always fail with ENOSYS.  Some functions are actually named
60096     something starting with __ and the normal name is an alias.  */
60097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60098 choke me
60099 #else
60100 char (*f) () = $ac_func;
60101 #endif
60102 #ifdef __cplusplus
60103 }
60104 #endif
60105
60106 int
60107 main ()
60108 {
60109 return f != $ac_func;
60110   ;
60111   return 0;
60112 }
60113 _ACEOF
60114 rm -f conftest.$ac_objext conftest$ac_exeext
60115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60116   (eval $ac_link) 2>conftest.er1
60117   ac_status=$?
60118   grep -v '^ *+' conftest.er1 >conftest.err
60119   rm -f conftest.er1
60120   cat conftest.err >&5
60121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60122   (exit $ac_status); } &&
60123          { ac_try='test -z "$ac_c_werror_flag"
60124                          || test ! -s conftest.err'
60125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60126   (eval $ac_try) 2>&5
60127   ac_status=$?
60128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60129   (exit $ac_status); }; } &&
60130          { ac_try='test -s conftest$ac_exeext'
60131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60132   (eval $ac_try) 2>&5
60133   ac_status=$?
60134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60135   (exit $ac_status); }; }; then
60136   eval "$as_ac_var=yes"
60137 else
60138   echo "$as_me: failed program was:" >&5
60139 sed 's/^/| /' conftest.$ac_ext >&5
60140
60141 eval "$as_ac_var=no"
60142 fi
60143 rm -f conftest.err conftest.$ac_objext \
60144       conftest$ac_exeext conftest.$ac_ext
60145 fi
60146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60148 if test `eval echo '${'$as_ac_var'}'` = yes; then
60149   cat >>confdefs.h <<_ACEOF
60150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60151 _ACEOF
60152
60153 fi
60154 done
60155
60156   else
60157
60158   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60159 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60160   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60161     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60162   echo $ECHO_N "(cached) $ECHO_C" >&6
60163 else
60164
60165
60166
60167       ac_ext=cc
60168 ac_cpp='$CXXCPP $CPPFLAGS'
60169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60172
60173       cat >conftest.$ac_ext <<_ACEOF
60174 /* confdefs.h.  */
60175 _ACEOF
60176 cat confdefs.h >>conftest.$ac_ext
60177 cat >>conftest.$ac_ext <<_ACEOF
60178 /* end confdefs.h.  */
60179 #include <math.h>
60180 int
60181 main ()
60182 {
60183  _ldexpf(0, 0);
60184   ;
60185   return 0;
60186 }
60187 _ACEOF
60188 rm -f conftest.$ac_objext
60189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60190   (eval $ac_compile) 2>conftest.er1
60191   ac_status=$?
60192   grep -v '^ *+' conftest.er1 >conftest.err
60193   rm -f conftest.er1
60194   cat conftest.err >&5
60195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60196   (exit $ac_status); } &&
60197          { ac_try='test -z "$ac_cxx_werror_flag"
60198                          || test ! -s conftest.err'
60199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60200   (eval $ac_try) 2>&5
60201   ac_status=$?
60202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60203   (exit $ac_status); }; } &&
60204          { ac_try='test -s conftest.$ac_objext'
60205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60206   (eval $ac_try) 2>&5
60207   ac_status=$?
60208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60209   (exit $ac_status); }; }; then
60210   glibcxx_cv_func__ldexpf_use=yes
60211 else
60212   echo "$as_me: failed program was:" >&5
60213 sed 's/^/| /' conftest.$ac_ext >&5
60214
60215 glibcxx_cv_func__ldexpf_use=no
60216 fi
60217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60218       ac_ext=c
60219 ac_cpp='$CPP $CPPFLAGS'
60220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60223
60224
60225 fi
60226
60227   fi
60228   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60229 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60230
60231     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60232
60233 for ac_func in _ldexpf
60234 do
60235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60236 echo "$as_me:$LINENO: checking for $ac_func" >&5
60237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60238 if eval "test \"\${$as_ac_var+set}\" = set"; then
60239   echo $ECHO_N "(cached) $ECHO_C" >&6
60240 else
60241   if test x$gcc_no_link = xyes; then
60242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60244    { (exit 1); exit 1; }; }
60245 fi
60246 cat >conftest.$ac_ext <<_ACEOF
60247 /* confdefs.h.  */
60248 _ACEOF
60249 cat confdefs.h >>conftest.$ac_ext
60250 cat >>conftest.$ac_ext <<_ACEOF
60251 /* end confdefs.h.  */
60252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60254 #define $ac_func innocuous_$ac_func
60255
60256 /* System header to define __stub macros and hopefully few prototypes,
60257     which can conflict with char $ac_func (); below.
60258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60259     <limits.h> exists even on freestanding compilers.  */
60260
60261 #ifdef __STDC__
60262 # include <limits.h>
60263 #else
60264 # include <assert.h>
60265 #endif
60266
60267 #undef $ac_func
60268
60269 /* Override any gcc2 internal prototype to avoid an error.  */
60270 #ifdef __cplusplus
60271 extern "C"
60272 {
60273 #endif
60274 /* We use char because int might match the return type of a gcc2
60275    builtin and then its argument prototype would still apply.  */
60276 char $ac_func ();
60277 /* The GNU C library defines this for functions which it implements
60278     to always fail with ENOSYS.  Some functions are actually named
60279     something starting with __ and the normal name is an alias.  */
60280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60281 choke me
60282 #else
60283 char (*f) () = $ac_func;
60284 #endif
60285 #ifdef __cplusplus
60286 }
60287 #endif
60288
60289 int
60290 main ()
60291 {
60292 return f != $ac_func;
60293   ;
60294   return 0;
60295 }
60296 _ACEOF
60297 rm -f conftest.$ac_objext conftest$ac_exeext
60298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60299   (eval $ac_link) 2>conftest.er1
60300   ac_status=$?
60301   grep -v '^ *+' conftest.er1 >conftest.err
60302   rm -f conftest.er1
60303   cat conftest.err >&5
60304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60305   (exit $ac_status); } &&
60306          { ac_try='test -z "$ac_c_werror_flag"
60307                          || test ! -s conftest.err'
60308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60309   (eval $ac_try) 2>&5
60310   ac_status=$?
60311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60312   (exit $ac_status); }; } &&
60313          { ac_try='test -s conftest$ac_exeext'
60314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60315   (eval $ac_try) 2>&5
60316   ac_status=$?
60317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60318   (exit $ac_status); }; }; then
60319   eval "$as_ac_var=yes"
60320 else
60321   echo "$as_me: failed program was:" >&5
60322 sed 's/^/| /' conftest.$ac_ext >&5
60323
60324 eval "$as_ac_var=no"
60325 fi
60326 rm -f conftest.err conftest.$ac_objext \
60327       conftest$ac_exeext conftest.$ac_ext
60328 fi
60329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60331 if test `eval echo '${'$as_ac_var'}'` = yes; then
60332   cat >>confdefs.h <<_ACEOF
60333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60334 _ACEOF
60335
60336 fi
60337 done
60338
60339     fi
60340   fi
60341
60342
60343
60344
60345
60346
60347   echo "$as_me:$LINENO: checking for logf declaration" >&5
60348 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60349   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60350     if test "${glibcxx_cv_func_logf_use+set}" = set; then
60351   echo $ECHO_N "(cached) $ECHO_C" >&6
60352 else
60353
60354
60355
60356       ac_ext=cc
60357 ac_cpp='$CXXCPP $CPPFLAGS'
60358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60361
60362       cat >conftest.$ac_ext <<_ACEOF
60363 /* confdefs.h.  */
60364 _ACEOF
60365 cat confdefs.h >>conftest.$ac_ext
60366 cat >>conftest.$ac_ext <<_ACEOF
60367 /* end confdefs.h.  */
60368 #include <math.h>
60369                       #ifdef HAVE_IEEEFP_H
60370                       #include <ieeefp.h>
60371                       #endif
60372
60373 int
60374 main ()
60375 {
60376  logf(0);
60377   ;
60378   return 0;
60379 }
60380 _ACEOF
60381 rm -f conftest.$ac_objext
60382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60383   (eval $ac_compile) 2>conftest.er1
60384   ac_status=$?
60385   grep -v '^ *+' conftest.er1 >conftest.err
60386   rm -f conftest.er1
60387   cat conftest.err >&5
60388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60389   (exit $ac_status); } &&
60390          { ac_try='test -z "$ac_cxx_werror_flag"
60391                          || test ! -s conftest.err'
60392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60393   (eval $ac_try) 2>&5
60394   ac_status=$?
60395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60396   (exit $ac_status); }; } &&
60397          { ac_try='test -s conftest.$ac_objext'
60398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60399   (eval $ac_try) 2>&5
60400   ac_status=$?
60401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60402   (exit $ac_status); }; }; then
60403   glibcxx_cv_func_logf_use=yes
60404 else
60405   echo "$as_me: failed program was:" >&5
60406 sed 's/^/| /' conftest.$ac_ext >&5
60407
60408 glibcxx_cv_func_logf_use=no
60409 fi
60410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60411       ac_ext=c
60412 ac_cpp='$CPP $CPPFLAGS'
60413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60416
60417
60418 fi
60419
60420   fi
60421   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60422 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60423
60424   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60425
60426 for ac_func in logf
60427 do
60428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60429 echo "$as_me:$LINENO: checking for $ac_func" >&5
60430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60431 if eval "test \"\${$as_ac_var+set}\" = set"; then
60432   echo $ECHO_N "(cached) $ECHO_C" >&6
60433 else
60434   if test x$gcc_no_link = xyes; then
60435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60437    { (exit 1); exit 1; }; }
60438 fi
60439 cat >conftest.$ac_ext <<_ACEOF
60440 /* confdefs.h.  */
60441 _ACEOF
60442 cat confdefs.h >>conftest.$ac_ext
60443 cat >>conftest.$ac_ext <<_ACEOF
60444 /* end confdefs.h.  */
60445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60446    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60447 #define $ac_func innocuous_$ac_func
60448
60449 /* System header to define __stub macros and hopefully few prototypes,
60450     which can conflict with char $ac_func (); below.
60451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60452     <limits.h> exists even on freestanding compilers.  */
60453
60454 #ifdef __STDC__
60455 # include <limits.h>
60456 #else
60457 # include <assert.h>
60458 #endif
60459
60460 #undef $ac_func
60461
60462 /* Override any gcc2 internal prototype to avoid an error.  */
60463 #ifdef __cplusplus
60464 extern "C"
60465 {
60466 #endif
60467 /* We use char because int might match the return type of a gcc2
60468    builtin and then its argument prototype would still apply.  */
60469 char $ac_func ();
60470 /* The GNU C library defines this for functions which it implements
60471     to always fail with ENOSYS.  Some functions are actually named
60472     something starting with __ and the normal name is an alias.  */
60473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60474 choke me
60475 #else
60476 char (*f) () = $ac_func;
60477 #endif
60478 #ifdef __cplusplus
60479 }
60480 #endif
60481
60482 int
60483 main ()
60484 {
60485 return f != $ac_func;
60486   ;
60487   return 0;
60488 }
60489 _ACEOF
60490 rm -f conftest.$ac_objext conftest$ac_exeext
60491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60492   (eval $ac_link) 2>conftest.er1
60493   ac_status=$?
60494   grep -v '^ *+' conftest.er1 >conftest.err
60495   rm -f conftest.er1
60496   cat conftest.err >&5
60497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60498   (exit $ac_status); } &&
60499          { ac_try='test -z "$ac_c_werror_flag"
60500                          || test ! -s conftest.err'
60501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60502   (eval $ac_try) 2>&5
60503   ac_status=$?
60504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60505   (exit $ac_status); }; } &&
60506          { ac_try='test -s conftest$ac_exeext'
60507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60508   (eval $ac_try) 2>&5
60509   ac_status=$?
60510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60511   (exit $ac_status); }; }; then
60512   eval "$as_ac_var=yes"
60513 else
60514   echo "$as_me: failed program was:" >&5
60515 sed 's/^/| /' conftest.$ac_ext >&5
60516
60517 eval "$as_ac_var=no"
60518 fi
60519 rm -f conftest.err conftest.$ac_objext \
60520       conftest$ac_exeext conftest.$ac_ext
60521 fi
60522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60524 if test `eval echo '${'$as_ac_var'}'` = yes; then
60525   cat >>confdefs.h <<_ACEOF
60526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60527 _ACEOF
60528
60529 fi
60530 done
60531
60532   else
60533
60534   echo "$as_me:$LINENO: checking for _logf declaration" >&5
60535 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60536   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60537     if test "${glibcxx_cv_func__logf_use+set}" = set; then
60538   echo $ECHO_N "(cached) $ECHO_C" >&6
60539 else
60540
60541
60542
60543       ac_ext=cc
60544 ac_cpp='$CXXCPP $CPPFLAGS'
60545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60548
60549       cat >conftest.$ac_ext <<_ACEOF
60550 /* confdefs.h.  */
60551 _ACEOF
60552 cat confdefs.h >>conftest.$ac_ext
60553 cat >>conftest.$ac_ext <<_ACEOF
60554 /* end confdefs.h.  */
60555 #include <math.h>
60556                       #ifdef HAVE_IEEEFP_H
60557                       #include <ieeefp.h>
60558                       #endif
60559
60560 int
60561 main ()
60562 {
60563  _logf(0);
60564   ;
60565   return 0;
60566 }
60567 _ACEOF
60568 rm -f conftest.$ac_objext
60569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60570   (eval $ac_compile) 2>conftest.er1
60571   ac_status=$?
60572   grep -v '^ *+' conftest.er1 >conftest.err
60573   rm -f conftest.er1
60574   cat conftest.err >&5
60575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60576   (exit $ac_status); } &&
60577          { ac_try='test -z "$ac_cxx_werror_flag"
60578                          || test ! -s conftest.err'
60579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60580   (eval $ac_try) 2>&5
60581   ac_status=$?
60582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60583   (exit $ac_status); }; } &&
60584          { ac_try='test -s conftest.$ac_objext'
60585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60586   (eval $ac_try) 2>&5
60587   ac_status=$?
60588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60589   (exit $ac_status); }; }; then
60590   glibcxx_cv_func__logf_use=yes
60591 else
60592   echo "$as_me: failed program was:" >&5
60593 sed 's/^/| /' conftest.$ac_ext >&5
60594
60595 glibcxx_cv_func__logf_use=no
60596 fi
60597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60598       ac_ext=c
60599 ac_cpp='$CPP $CPPFLAGS'
60600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60603
60604
60605 fi
60606
60607   fi
60608   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60609 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60610
60611     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60612
60613 for ac_func in _logf
60614 do
60615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60616 echo "$as_me:$LINENO: checking for $ac_func" >&5
60617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60618 if eval "test \"\${$as_ac_var+set}\" = set"; then
60619   echo $ECHO_N "(cached) $ECHO_C" >&6
60620 else
60621   if test x$gcc_no_link = xyes; then
60622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60624    { (exit 1); exit 1; }; }
60625 fi
60626 cat >conftest.$ac_ext <<_ACEOF
60627 /* confdefs.h.  */
60628 _ACEOF
60629 cat confdefs.h >>conftest.$ac_ext
60630 cat >>conftest.$ac_ext <<_ACEOF
60631 /* end confdefs.h.  */
60632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60634 #define $ac_func innocuous_$ac_func
60635
60636 /* System header to define __stub macros and hopefully few prototypes,
60637     which can conflict with char $ac_func (); below.
60638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60639     <limits.h> exists even on freestanding compilers.  */
60640
60641 #ifdef __STDC__
60642 # include <limits.h>
60643 #else
60644 # include <assert.h>
60645 #endif
60646
60647 #undef $ac_func
60648
60649 /* Override any gcc2 internal prototype to avoid an error.  */
60650 #ifdef __cplusplus
60651 extern "C"
60652 {
60653 #endif
60654 /* We use char because int might match the return type of a gcc2
60655    builtin and then its argument prototype would still apply.  */
60656 char $ac_func ();
60657 /* The GNU C library defines this for functions which it implements
60658     to always fail with ENOSYS.  Some functions are actually named
60659     something starting with __ and the normal name is an alias.  */
60660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60661 choke me
60662 #else
60663 char (*f) () = $ac_func;
60664 #endif
60665 #ifdef __cplusplus
60666 }
60667 #endif
60668
60669 int
60670 main ()
60671 {
60672 return f != $ac_func;
60673   ;
60674   return 0;
60675 }
60676 _ACEOF
60677 rm -f conftest.$ac_objext conftest$ac_exeext
60678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60679   (eval $ac_link) 2>conftest.er1
60680   ac_status=$?
60681   grep -v '^ *+' conftest.er1 >conftest.err
60682   rm -f conftest.er1
60683   cat conftest.err >&5
60684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60685   (exit $ac_status); } &&
60686          { ac_try='test -z "$ac_c_werror_flag"
60687                          || test ! -s conftest.err'
60688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60689   (eval $ac_try) 2>&5
60690   ac_status=$?
60691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60692   (exit $ac_status); }; } &&
60693          { ac_try='test -s conftest$ac_exeext'
60694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60695   (eval $ac_try) 2>&5
60696   ac_status=$?
60697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60698   (exit $ac_status); }; }; then
60699   eval "$as_ac_var=yes"
60700 else
60701   echo "$as_me: failed program was:" >&5
60702 sed 's/^/| /' conftest.$ac_ext >&5
60703
60704 eval "$as_ac_var=no"
60705 fi
60706 rm -f conftest.err conftest.$ac_objext \
60707       conftest$ac_exeext conftest.$ac_ext
60708 fi
60709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60711 if test `eval echo '${'$as_ac_var'}'` = yes; then
60712   cat >>confdefs.h <<_ACEOF
60713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60714 _ACEOF
60715
60716 fi
60717 done
60718
60719     fi
60720   fi
60721
60722
60723
60724
60725
60726
60727   echo "$as_me:$LINENO: checking for log10f declaration" >&5
60728 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60729   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60730     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60731   echo $ECHO_N "(cached) $ECHO_C" >&6
60732 else
60733
60734
60735
60736       ac_ext=cc
60737 ac_cpp='$CXXCPP $CPPFLAGS'
60738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60741
60742       cat >conftest.$ac_ext <<_ACEOF
60743 /* confdefs.h.  */
60744 _ACEOF
60745 cat confdefs.h >>conftest.$ac_ext
60746 cat >>conftest.$ac_ext <<_ACEOF
60747 /* end confdefs.h.  */
60748 #include <math.h>
60749                       #ifdef HAVE_IEEEFP_H
60750                       #include <ieeefp.h>
60751                       #endif
60752
60753 int
60754 main ()
60755 {
60756  log10f(0);
60757   ;
60758   return 0;
60759 }
60760 _ACEOF
60761 rm -f conftest.$ac_objext
60762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60763   (eval $ac_compile) 2>conftest.er1
60764   ac_status=$?
60765   grep -v '^ *+' conftest.er1 >conftest.err
60766   rm -f conftest.er1
60767   cat conftest.err >&5
60768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60769   (exit $ac_status); } &&
60770          { ac_try='test -z "$ac_cxx_werror_flag"
60771                          || test ! -s conftest.err'
60772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60773   (eval $ac_try) 2>&5
60774   ac_status=$?
60775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60776   (exit $ac_status); }; } &&
60777          { ac_try='test -s conftest.$ac_objext'
60778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60779   (eval $ac_try) 2>&5
60780   ac_status=$?
60781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60782   (exit $ac_status); }; }; then
60783   glibcxx_cv_func_log10f_use=yes
60784 else
60785   echo "$as_me: failed program was:" >&5
60786 sed 's/^/| /' conftest.$ac_ext >&5
60787
60788 glibcxx_cv_func_log10f_use=no
60789 fi
60790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60791       ac_ext=c
60792 ac_cpp='$CPP $CPPFLAGS'
60793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60796
60797
60798 fi
60799
60800   fi
60801   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60802 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60803
60804   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60805
60806 for ac_func in log10f
60807 do
60808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60809 echo "$as_me:$LINENO: checking for $ac_func" >&5
60810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60811 if eval "test \"\${$as_ac_var+set}\" = set"; then
60812   echo $ECHO_N "(cached) $ECHO_C" >&6
60813 else
60814   if test x$gcc_no_link = xyes; then
60815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60817    { (exit 1); exit 1; }; }
60818 fi
60819 cat >conftest.$ac_ext <<_ACEOF
60820 /* confdefs.h.  */
60821 _ACEOF
60822 cat confdefs.h >>conftest.$ac_ext
60823 cat >>conftest.$ac_ext <<_ACEOF
60824 /* end confdefs.h.  */
60825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60827 #define $ac_func innocuous_$ac_func
60828
60829 /* System header to define __stub macros and hopefully few prototypes,
60830     which can conflict with char $ac_func (); below.
60831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60832     <limits.h> exists even on freestanding compilers.  */
60833
60834 #ifdef __STDC__
60835 # include <limits.h>
60836 #else
60837 # include <assert.h>
60838 #endif
60839
60840 #undef $ac_func
60841
60842 /* Override any gcc2 internal prototype to avoid an error.  */
60843 #ifdef __cplusplus
60844 extern "C"
60845 {
60846 #endif
60847 /* We use char because int might match the return type of a gcc2
60848    builtin and then its argument prototype would still apply.  */
60849 char $ac_func ();
60850 /* The GNU C library defines this for functions which it implements
60851     to always fail with ENOSYS.  Some functions are actually named
60852     something starting with __ and the normal name is an alias.  */
60853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60854 choke me
60855 #else
60856 char (*f) () = $ac_func;
60857 #endif
60858 #ifdef __cplusplus
60859 }
60860 #endif
60861
60862 int
60863 main ()
60864 {
60865 return f != $ac_func;
60866   ;
60867   return 0;
60868 }
60869 _ACEOF
60870 rm -f conftest.$ac_objext conftest$ac_exeext
60871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60872   (eval $ac_link) 2>conftest.er1
60873   ac_status=$?
60874   grep -v '^ *+' conftest.er1 >conftest.err
60875   rm -f conftest.er1
60876   cat conftest.err >&5
60877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60878   (exit $ac_status); } &&
60879          { ac_try='test -z "$ac_c_werror_flag"
60880                          || test ! -s conftest.err'
60881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60882   (eval $ac_try) 2>&5
60883   ac_status=$?
60884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60885   (exit $ac_status); }; } &&
60886          { ac_try='test -s conftest$ac_exeext'
60887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60888   (eval $ac_try) 2>&5
60889   ac_status=$?
60890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60891   (exit $ac_status); }; }; then
60892   eval "$as_ac_var=yes"
60893 else
60894   echo "$as_me: failed program was:" >&5
60895 sed 's/^/| /' conftest.$ac_ext >&5
60896
60897 eval "$as_ac_var=no"
60898 fi
60899 rm -f conftest.err conftest.$ac_objext \
60900       conftest$ac_exeext conftest.$ac_ext
60901 fi
60902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60904 if test `eval echo '${'$as_ac_var'}'` = yes; then
60905   cat >>confdefs.h <<_ACEOF
60906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60907 _ACEOF
60908
60909 fi
60910 done
60911
60912   else
60913
60914   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60915 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60916   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60917     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60918   echo $ECHO_N "(cached) $ECHO_C" >&6
60919 else
60920
60921
60922
60923       ac_ext=cc
60924 ac_cpp='$CXXCPP $CPPFLAGS'
60925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60928
60929       cat >conftest.$ac_ext <<_ACEOF
60930 /* confdefs.h.  */
60931 _ACEOF
60932 cat confdefs.h >>conftest.$ac_ext
60933 cat >>conftest.$ac_ext <<_ACEOF
60934 /* end confdefs.h.  */
60935 #include <math.h>
60936                       #ifdef HAVE_IEEEFP_H
60937                       #include <ieeefp.h>
60938                       #endif
60939
60940 int
60941 main ()
60942 {
60943  _log10f(0);
60944   ;
60945   return 0;
60946 }
60947 _ACEOF
60948 rm -f conftest.$ac_objext
60949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60950   (eval $ac_compile) 2>conftest.er1
60951   ac_status=$?
60952   grep -v '^ *+' conftest.er1 >conftest.err
60953   rm -f conftest.er1
60954   cat conftest.err >&5
60955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60956   (exit $ac_status); } &&
60957          { ac_try='test -z "$ac_cxx_werror_flag"
60958                          || test ! -s conftest.err'
60959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60960   (eval $ac_try) 2>&5
60961   ac_status=$?
60962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60963   (exit $ac_status); }; } &&
60964          { ac_try='test -s conftest.$ac_objext'
60965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60966   (eval $ac_try) 2>&5
60967   ac_status=$?
60968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60969   (exit $ac_status); }; }; then
60970   glibcxx_cv_func__log10f_use=yes
60971 else
60972   echo "$as_me: failed program was:" >&5
60973 sed 's/^/| /' conftest.$ac_ext >&5
60974
60975 glibcxx_cv_func__log10f_use=no
60976 fi
60977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60978       ac_ext=c
60979 ac_cpp='$CPP $CPPFLAGS'
60980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60983
60984
60985 fi
60986
60987   fi
60988   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
60989 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
60990
60991     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60992
60993 for ac_func in _log10f
60994 do
60995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60996 echo "$as_me:$LINENO: checking for $ac_func" >&5
60997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60998 if eval "test \"\${$as_ac_var+set}\" = set"; then
60999   echo $ECHO_N "(cached) $ECHO_C" >&6
61000 else
61001   if test x$gcc_no_link = xyes; then
61002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61004    { (exit 1); exit 1; }; }
61005 fi
61006 cat >conftest.$ac_ext <<_ACEOF
61007 /* confdefs.h.  */
61008 _ACEOF
61009 cat confdefs.h >>conftest.$ac_ext
61010 cat >>conftest.$ac_ext <<_ACEOF
61011 /* end confdefs.h.  */
61012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61013    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61014 #define $ac_func innocuous_$ac_func
61015
61016 /* System header to define __stub macros and hopefully few prototypes,
61017     which can conflict with char $ac_func (); below.
61018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61019     <limits.h> exists even on freestanding compilers.  */
61020
61021 #ifdef __STDC__
61022 # include <limits.h>
61023 #else
61024 # include <assert.h>
61025 #endif
61026
61027 #undef $ac_func
61028
61029 /* Override any gcc2 internal prototype to avoid an error.  */
61030 #ifdef __cplusplus
61031 extern "C"
61032 {
61033 #endif
61034 /* We use char because int might match the return type of a gcc2
61035    builtin and then its argument prototype would still apply.  */
61036 char $ac_func ();
61037 /* The GNU C library defines this for functions which it implements
61038     to always fail with ENOSYS.  Some functions are actually named
61039     something starting with __ and the normal name is an alias.  */
61040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61041 choke me
61042 #else
61043 char (*f) () = $ac_func;
61044 #endif
61045 #ifdef __cplusplus
61046 }
61047 #endif
61048
61049 int
61050 main ()
61051 {
61052 return f != $ac_func;
61053   ;
61054   return 0;
61055 }
61056 _ACEOF
61057 rm -f conftest.$ac_objext conftest$ac_exeext
61058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61059   (eval $ac_link) 2>conftest.er1
61060   ac_status=$?
61061   grep -v '^ *+' conftest.er1 >conftest.err
61062   rm -f conftest.er1
61063   cat conftest.err >&5
61064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61065   (exit $ac_status); } &&
61066          { ac_try='test -z "$ac_c_werror_flag"
61067                          || test ! -s conftest.err'
61068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61069   (eval $ac_try) 2>&5
61070   ac_status=$?
61071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61072   (exit $ac_status); }; } &&
61073          { ac_try='test -s conftest$ac_exeext'
61074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61075   (eval $ac_try) 2>&5
61076   ac_status=$?
61077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61078   (exit $ac_status); }; }; then
61079   eval "$as_ac_var=yes"
61080 else
61081   echo "$as_me: failed program was:" >&5
61082 sed 's/^/| /' conftest.$ac_ext >&5
61083
61084 eval "$as_ac_var=no"
61085 fi
61086 rm -f conftest.err conftest.$ac_objext \
61087       conftest$ac_exeext conftest.$ac_ext
61088 fi
61089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61091 if test `eval echo '${'$as_ac_var'}'` = yes; then
61092   cat >>confdefs.h <<_ACEOF
61093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61094 _ACEOF
61095
61096 fi
61097 done
61098
61099     fi
61100   fi
61101
61102
61103
61104
61105
61106
61107   echo "$as_me:$LINENO: checking for modff declaration" >&5
61108 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61109   if test x${glibcxx_cv_func_modff_use+set} != xset; then
61110     if test "${glibcxx_cv_func_modff_use+set}" = set; then
61111   echo $ECHO_N "(cached) $ECHO_C" >&6
61112 else
61113
61114
61115
61116       ac_ext=cc
61117 ac_cpp='$CXXCPP $CPPFLAGS'
61118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61121
61122       cat >conftest.$ac_ext <<_ACEOF
61123 /* confdefs.h.  */
61124 _ACEOF
61125 cat confdefs.h >>conftest.$ac_ext
61126 cat >>conftest.$ac_ext <<_ACEOF
61127 /* end confdefs.h.  */
61128 #include <math.h>
61129 int
61130 main ()
61131 {
61132  modff(0, 0);
61133   ;
61134   return 0;
61135 }
61136 _ACEOF
61137 rm -f conftest.$ac_objext
61138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61139   (eval $ac_compile) 2>conftest.er1
61140   ac_status=$?
61141   grep -v '^ *+' conftest.er1 >conftest.err
61142   rm -f conftest.er1
61143   cat conftest.err >&5
61144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61145   (exit $ac_status); } &&
61146          { ac_try='test -z "$ac_cxx_werror_flag"
61147                          || test ! -s conftest.err'
61148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61149   (eval $ac_try) 2>&5
61150   ac_status=$?
61151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61152   (exit $ac_status); }; } &&
61153          { ac_try='test -s conftest.$ac_objext'
61154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61155   (eval $ac_try) 2>&5
61156   ac_status=$?
61157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61158   (exit $ac_status); }; }; then
61159   glibcxx_cv_func_modff_use=yes
61160 else
61161   echo "$as_me: failed program was:" >&5
61162 sed 's/^/| /' conftest.$ac_ext >&5
61163
61164 glibcxx_cv_func_modff_use=no
61165 fi
61166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61167       ac_ext=c
61168 ac_cpp='$CPP $CPPFLAGS'
61169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61172
61173
61174 fi
61175
61176   fi
61177   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61178 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61179
61180   if test x$glibcxx_cv_func_modff_use = x"yes"; then
61181
61182 for ac_func in modff
61183 do
61184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61185 echo "$as_me:$LINENO: checking for $ac_func" >&5
61186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61187 if eval "test \"\${$as_ac_var+set}\" = set"; then
61188   echo $ECHO_N "(cached) $ECHO_C" >&6
61189 else
61190   if test x$gcc_no_link = xyes; then
61191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61193    { (exit 1); exit 1; }; }
61194 fi
61195 cat >conftest.$ac_ext <<_ACEOF
61196 /* confdefs.h.  */
61197 _ACEOF
61198 cat confdefs.h >>conftest.$ac_ext
61199 cat >>conftest.$ac_ext <<_ACEOF
61200 /* end confdefs.h.  */
61201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61202    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61203 #define $ac_func innocuous_$ac_func
61204
61205 /* System header to define __stub macros and hopefully few prototypes,
61206     which can conflict with char $ac_func (); below.
61207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61208     <limits.h> exists even on freestanding compilers.  */
61209
61210 #ifdef __STDC__
61211 # include <limits.h>
61212 #else
61213 # include <assert.h>
61214 #endif
61215
61216 #undef $ac_func
61217
61218 /* Override any gcc2 internal prototype to avoid an error.  */
61219 #ifdef __cplusplus
61220 extern "C"
61221 {
61222 #endif
61223 /* We use char because int might match the return type of a gcc2
61224    builtin and then its argument prototype would still apply.  */
61225 char $ac_func ();
61226 /* The GNU C library defines this for functions which it implements
61227     to always fail with ENOSYS.  Some functions are actually named
61228     something starting with __ and the normal name is an alias.  */
61229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61230 choke me
61231 #else
61232 char (*f) () = $ac_func;
61233 #endif
61234 #ifdef __cplusplus
61235 }
61236 #endif
61237
61238 int
61239 main ()
61240 {
61241 return f != $ac_func;
61242   ;
61243   return 0;
61244 }
61245 _ACEOF
61246 rm -f conftest.$ac_objext conftest$ac_exeext
61247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61248   (eval $ac_link) 2>conftest.er1
61249   ac_status=$?
61250   grep -v '^ *+' conftest.er1 >conftest.err
61251   rm -f conftest.er1
61252   cat conftest.err >&5
61253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61254   (exit $ac_status); } &&
61255          { ac_try='test -z "$ac_c_werror_flag"
61256                          || test ! -s conftest.err'
61257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61258   (eval $ac_try) 2>&5
61259   ac_status=$?
61260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61261   (exit $ac_status); }; } &&
61262          { ac_try='test -s conftest$ac_exeext'
61263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61264   (eval $ac_try) 2>&5
61265   ac_status=$?
61266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61267   (exit $ac_status); }; }; then
61268   eval "$as_ac_var=yes"
61269 else
61270   echo "$as_me: failed program was:" >&5
61271 sed 's/^/| /' conftest.$ac_ext >&5
61272
61273 eval "$as_ac_var=no"
61274 fi
61275 rm -f conftest.err conftest.$ac_objext \
61276       conftest$ac_exeext conftest.$ac_ext
61277 fi
61278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61280 if test `eval echo '${'$as_ac_var'}'` = yes; then
61281   cat >>confdefs.h <<_ACEOF
61282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61283 _ACEOF
61284
61285 fi
61286 done
61287
61288   else
61289
61290   echo "$as_me:$LINENO: checking for _modff declaration" >&5
61291 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61292   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61293     if test "${glibcxx_cv_func__modff_use+set}" = set; then
61294   echo $ECHO_N "(cached) $ECHO_C" >&6
61295 else
61296
61297
61298
61299       ac_ext=cc
61300 ac_cpp='$CXXCPP $CPPFLAGS'
61301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61304
61305       cat >conftest.$ac_ext <<_ACEOF
61306 /* confdefs.h.  */
61307 _ACEOF
61308 cat confdefs.h >>conftest.$ac_ext
61309 cat >>conftest.$ac_ext <<_ACEOF
61310 /* end confdefs.h.  */
61311 #include <math.h>
61312 int
61313 main ()
61314 {
61315  _modff(0, 0);
61316   ;
61317   return 0;
61318 }
61319 _ACEOF
61320 rm -f conftest.$ac_objext
61321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61322   (eval $ac_compile) 2>conftest.er1
61323   ac_status=$?
61324   grep -v '^ *+' conftest.er1 >conftest.err
61325   rm -f conftest.er1
61326   cat conftest.err >&5
61327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61328   (exit $ac_status); } &&
61329          { ac_try='test -z "$ac_cxx_werror_flag"
61330                          || test ! -s conftest.err'
61331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61332   (eval $ac_try) 2>&5
61333   ac_status=$?
61334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61335   (exit $ac_status); }; } &&
61336          { ac_try='test -s conftest.$ac_objext'
61337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61338   (eval $ac_try) 2>&5
61339   ac_status=$?
61340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61341   (exit $ac_status); }; }; then
61342   glibcxx_cv_func__modff_use=yes
61343 else
61344   echo "$as_me: failed program was:" >&5
61345 sed 's/^/| /' conftest.$ac_ext >&5
61346
61347 glibcxx_cv_func__modff_use=no
61348 fi
61349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61350       ac_ext=c
61351 ac_cpp='$CPP $CPPFLAGS'
61352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61355
61356
61357 fi
61358
61359   fi
61360   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61361 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61362
61363     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61364
61365 for ac_func in _modff
61366 do
61367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61368 echo "$as_me:$LINENO: checking for $ac_func" >&5
61369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61370 if eval "test \"\${$as_ac_var+set}\" = set"; then
61371   echo $ECHO_N "(cached) $ECHO_C" >&6
61372 else
61373   if test x$gcc_no_link = xyes; then
61374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61376    { (exit 1); exit 1; }; }
61377 fi
61378 cat >conftest.$ac_ext <<_ACEOF
61379 /* confdefs.h.  */
61380 _ACEOF
61381 cat confdefs.h >>conftest.$ac_ext
61382 cat >>conftest.$ac_ext <<_ACEOF
61383 /* end confdefs.h.  */
61384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61386 #define $ac_func innocuous_$ac_func
61387
61388 /* System header to define __stub macros and hopefully few prototypes,
61389     which can conflict with char $ac_func (); below.
61390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61391     <limits.h> exists even on freestanding compilers.  */
61392
61393 #ifdef __STDC__
61394 # include <limits.h>
61395 #else
61396 # include <assert.h>
61397 #endif
61398
61399 #undef $ac_func
61400
61401 /* Override any gcc2 internal prototype to avoid an error.  */
61402 #ifdef __cplusplus
61403 extern "C"
61404 {
61405 #endif
61406 /* We use char because int might match the return type of a gcc2
61407    builtin and then its argument prototype would still apply.  */
61408 char $ac_func ();
61409 /* The GNU C library defines this for functions which it implements
61410     to always fail with ENOSYS.  Some functions are actually named
61411     something starting with __ and the normal name is an alias.  */
61412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61413 choke me
61414 #else
61415 char (*f) () = $ac_func;
61416 #endif
61417 #ifdef __cplusplus
61418 }
61419 #endif
61420
61421 int
61422 main ()
61423 {
61424 return f != $ac_func;
61425   ;
61426   return 0;
61427 }
61428 _ACEOF
61429 rm -f conftest.$ac_objext conftest$ac_exeext
61430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61431   (eval $ac_link) 2>conftest.er1
61432   ac_status=$?
61433   grep -v '^ *+' conftest.er1 >conftest.err
61434   rm -f conftest.er1
61435   cat conftest.err >&5
61436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61437   (exit $ac_status); } &&
61438          { ac_try='test -z "$ac_c_werror_flag"
61439                          || test ! -s conftest.err'
61440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61441   (eval $ac_try) 2>&5
61442   ac_status=$?
61443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61444   (exit $ac_status); }; } &&
61445          { ac_try='test -s conftest$ac_exeext'
61446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61447   (eval $ac_try) 2>&5
61448   ac_status=$?
61449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61450   (exit $ac_status); }; }; then
61451   eval "$as_ac_var=yes"
61452 else
61453   echo "$as_me: failed program was:" >&5
61454 sed 's/^/| /' conftest.$ac_ext >&5
61455
61456 eval "$as_ac_var=no"
61457 fi
61458 rm -f conftest.err conftest.$ac_objext \
61459       conftest$ac_exeext conftest.$ac_ext
61460 fi
61461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61463 if test `eval echo '${'$as_ac_var'}'` = yes; then
61464   cat >>confdefs.h <<_ACEOF
61465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61466 _ACEOF
61467
61468 fi
61469 done
61470
61471     fi
61472   fi
61473
61474
61475
61476
61477
61478
61479   echo "$as_me:$LINENO: checking for modf declaration" >&5
61480 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61481   if test x${glibcxx_cv_func_modf_use+set} != xset; then
61482     if test "${glibcxx_cv_func_modf_use+set}" = set; then
61483   echo $ECHO_N "(cached) $ECHO_C" >&6
61484 else
61485
61486
61487
61488       ac_ext=cc
61489 ac_cpp='$CXXCPP $CPPFLAGS'
61490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61493
61494       cat >conftest.$ac_ext <<_ACEOF
61495 /* confdefs.h.  */
61496 _ACEOF
61497 cat confdefs.h >>conftest.$ac_ext
61498 cat >>conftest.$ac_ext <<_ACEOF
61499 /* end confdefs.h.  */
61500 #include <math.h>
61501 int
61502 main ()
61503 {
61504  modf(0, 0);
61505   ;
61506   return 0;
61507 }
61508 _ACEOF
61509 rm -f conftest.$ac_objext
61510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61511   (eval $ac_compile) 2>conftest.er1
61512   ac_status=$?
61513   grep -v '^ *+' conftest.er1 >conftest.err
61514   rm -f conftest.er1
61515   cat conftest.err >&5
61516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61517   (exit $ac_status); } &&
61518          { ac_try='test -z "$ac_cxx_werror_flag"
61519                          || test ! -s conftest.err'
61520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61521   (eval $ac_try) 2>&5
61522   ac_status=$?
61523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61524   (exit $ac_status); }; } &&
61525          { ac_try='test -s conftest.$ac_objext'
61526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61527   (eval $ac_try) 2>&5
61528   ac_status=$?
61529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61530   (exit $ac_status); }; }; then
61531   glibcxx_cv_func_modf_use=yes
61532 else
61533   echo "$as_me: failed program was:" >&5
61534 sed 's/^/| /' conftest.$ac_ext >&5
61535
61536 glibcxx_cv_func_modf_use=no
61537 fi
61538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61539       ac_ext=c
61540 ac_cpp='$CPP $CPPFLAGS'
61541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61544
61545
61546 fi
61547
61548   fi
61549   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61550 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61551
61552   if test x$glibcxx_cv_func_modf_use = x"yes"; then
61553
61554 for ac_func in modf
61555 do
61556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61557 echo "$as_me:$LINENO: checking for $ac_func" >&5
61558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61559 if eval "test \"\${$as_ac_var+set}\" = set"; then
61560   echo $ECHO_N "(cached) $ECHO_C" >&6
61561 else
61562   if test x$gcc_no_link = xyes; then
61563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61565    { (exit 1); exit 1; }; }
61566 fi
61567 cat >conftest.$ac_ext <<_ACEOF
61568 /* confdefs.h.  */
61569 _ACEOF
61570 cat confdefs.h >>conftest.$ac_ext
61571 cat >>conftest.$ac_ext <<_ACEOF
61572 /* end confdefs.h.  */
61573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61574    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61575 #define $ac_func innocuous_$ac_func
61576
61577 /* System header to define __stub macros and hopefully few prototypes,
61578     which can conflict with char $ac_func (); below.
61579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61580     <limits.h> exists even on freestanding compilers.  */
61581
61582 #ifdef __STDC__
61583 # include <limits.h>
61584 #else
61585 # include <assert.h>
61586 #endif
61587
61588 #undef $ac_func
61589
61590 /* Override any gcc2 internal prototype to avoid an error.  */
61591 #ifdef __cplusplus
61592 extern "C"
61593 {
61594 #endif
61595 /* We use char because int might match the return type of a gcc2
61596    builtin and then its argument prototype would still apply.  */
61597 char $ac_func ();
61598 /* The GNU C library defines this for functions which it implements
61599     to always fail with ENOSYS.  Some functions are actually named
61600     something starting with __ and the normal name is an alias.  */
61601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61602 choke me
61603 #else
61604 char (*f) () = $ac_func;
61605 #endif
61606 #ifdef __cplusplus
61607 }
61608 #endif
61609
61610 int
61611 main ()
61612 {
61613 return f != $ac_func;
61614   ;
61615   return 0;
61616 }
61617 _ACEOF
61618 rm -f conftest.$ac_objext conftest$ac_exeext
61619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61620   (eval $ac_link) 2>conftest.er1
61621   ac_status=$?
61622   grep -v '^ *+' conftest.er1 >conftest.err
61623   rm -f conftest.er1
61624   cat conftest.err >&5
61625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61626   (exit $ac_status); } &&
61627          { ac_try='test -z "$ac_c_werror_flag"
61628                          || test ! -s conftest.err'
61629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61630   (eval $ac_try) 2>&5
61631   ac_status=$?
61632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61633   (exit $ac_status); }; } &&
61634          { ac_try='test -s conftest$ac_exeext'
61635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61636   (eval $ac_try) 2>&5
61637   ac_status=$?
61638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61639   (exit $ac_status); }; }; then
61640   eval "$as_ac_var=yes"
61641 else
61642   echo "$as_me: failed program was:" >&5
61643 sed 's/^/| /' conftest.$ac_ext >&5
61644
61645 eval "$as_ac_var=no"
61646 fi
61647 rm -f conftest.err conftest.$ac_objext \
61648       conftest$ac_exeext conftest.$ac_ext
61649 fi
61650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61652 if test `eval echo '${'$as_ac_var'}'` = yes; then
61653   cat >>confdefs.h <<_ACEOF
61654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61655 _ACEOF
61656
61657 fi
61658 done
61659
61660   else
61661
61662   echo "$as_me:$LINENO: checking for _modf declaration" >&5
61663 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61664   if test x${glibcxx_cv_func__modf_use+set} != xset; then
61665     if test "${glibcxx_cv_func__modf_use+set}" = set; then
61666   echo $ECHO_N "(cached) $ECHO_C" >&6
61667 else
61668
61669
61670
61671       ac_ext=cc
61672 ac_cpp='$CXXCPP $CPPFLAGS'
61673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61676
61677       cat >conftest.$ac_ext <<_ACEOF
61678 /* confdefs.h.  */
61679 _ACEOF
61680 cat confdefs.h >>conftest.$ac_ext
61681 cat >>conftest.$ac_ext <<_ACEOF
61682 /* end confdefs.h.  */
61683 #include <math.h>
61684 int
61685 main ()
61686 {
61687  _modf(0, 0);
61688   ;
61689   return 0;
61690 }
61691 _ACEOF
61692 rm -f conftest.$ac_objext
61693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61694   (eval $ac_compile) 2>conftest.er1
61695   ac_status=$?
61696   grep -v '^ *+' conftest.er1 >conftest.err
61697   rm -f conftest.er1
61698   cat conftest.err >&5
61699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61700   (exit $ac_status); } &&
61701          { ac_try='test -z "$ac_cxx_werror_flag"
61702                          || test ! -s conftest.err'
61703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61704   (eval $ac_try) 2>&5
61705   ac_status=$?
61706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61707   (exit $ac_status); }; } &&
61708          { ac_try='test -s conftest.$ac_objext'
61709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61710   (eval $ac_try) 2>&5
61711   ac_status=$?
61712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61713   (exit $ac_status); }; }; then
61714   glibcxx_cv_func__modf_use=yes
61715 else
61716   echo "$as_me: failed program was:" >&5
61717 sed 's/^/| /' conftest.$ac_ext >&5
61718
61719 glibcxx_cv_func__modf_use=no
61720 fi
61721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61722       ac_ext=c
61723 ac_cpp='$CPP $CPPFLAGS'
61724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61727
61728
61729 fi
61730
61731   fi
61732   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61733 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61734
61735     if test x$glibcxx_cv_func__modf_use = x"yes"; then
61736
61737 for ac_func in _modf
61738 do
61739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61740 echo "$as_me:$LINENO: checking for $ac_func" >&5
61741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61742 if eval "test \"\${$as_ac_var+set}\" = set"; then
61743   echo $ECHO_N "(cached) $ECHO_C" >&6
61744 else
61745   if test x$gcc_no_link = xyes; then
61746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61748    { (exit 1); exit 1; }; }
61749 fi
61750 cat >conftest.$ac_ext <<_ACEOF
61751 /* confdefs.h.  */
61752 _ACEOF
61753 cat confdefs.h >>conftest.$ac_ext
61754 cat >>conftest.$ac_ext <<_ACEOF
61755 /* end confdefs.h.  */
61756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61758 #define $ac_func innocuous_$ac_func
61759
61760 /* System header to define __stub macros and hopefully few prototypes,
61761     which can conflict with char $ac_func (); below.
61762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61763     <limits.h> exists even on freestanding compilers.  */
61764
61765 #ifdef __STDC__
61766 # include <limits.h>
61767 #else
61768 # include <assert.h>
61769 #endif
61770
61771 #undef $ac_func
61772
61773 /* Override any gcc2 internal prototype to avoid an error.  */
61774 #ifdef __cplusplus
61775 extern "C"
61776 {
61777 #endif
61778 /* We use char because int might match the return type of a gcc2
61779    builtin and then its argument prototype would still apply.  */
61780 char $ac_func ();
61781 /* The GNU C library defines this for functions which it implements
61782     to always fail with ENOSYS.  Some functions are actually named
61783     something starting with __ and the normal name is an alias.  */
61784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61785 choke me
61786 #else
61787 char (*f) () = $ac_func;
61788 #endif
61789 #ifdef __cplusplus
61790 }
61791 #endif
61792
61793 int
61794 main ()
61795 {
61796 return f != $ac_func;
61797   ;
61798   return 0;
61799 }
61800 _ACEOF
61801 rm -f conftest.$ac_objext conftest$ac_exeext
61802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61803   (eval $ac_link) 2>conftest.er1
61804   ac_status=$?
61805   grep -v '^ *+' conftest.er1 >conftest.err
61806   rm -f conftest.er1
61807   cat conftest.err >&5
61808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61809   (exit $ac_status); } &&
61810          { ac_try='test -z "$ac_c_werror_flag"
61811                          || test ! -s conftest.err'
61812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61813   (eval $ac_try) 2>&5
61814   ac_status=$?
61815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61816   (exit $ac_status); }; } &&
61817          { ac_try='test -s conftest$ac_exeext'
61818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61819   (eval $ac_try) 2>&5
61820   ac_status=$?
61821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61822   (exit $ac_status); }; }; then
61823   eval "$as_ac_var=yes"
61824 else
61825   echo "$as_me: failed program was:" >&5
61826 sed 's/^/| /' conftest.$ac_ext >&5
61827
61828 eval "$as_ac_var=no"
61829 fi
61830 rm -f conftest.err conftest.$ac_objext \
61831       conftest$ac_exeext conftest.$ac_ext
61832 fi
61833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61835 if test `eval echo '${'$as_ac_var'}'` = yes; then
61836   cat >>confdefs.h <<_ACEOF
61837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61838 _ACEOF
61839
61840 fi
61841 done
61842
61843     fi
61844   fi
61845
61846
61847
61848
61849
61850
61851   echo "$as_me:$LINENO: checking for powf declaration" >&5
61852 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61853   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61854     if test "${glibcxx_cv_func_powf_use+set}" = set; then
61855   echo $ECHO_N "(cached) $ECHO_C" >&6
61856 else
61857
61858
61859
61860       ac_ext=cc
61861 ac_cpp='$CXXCPP $CPPFLAGS'
61862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61865
61866       cat >conftest.$ac_ext <<_ACEOF
61867 /* confdefs.h.  */
61868 _ACEOF
61869 cat confdefs.h >>conftest.$ac_ext
61870 cat >>conftest.$ac_ext <<_ACEOF
61871 /* end confdefs.h.  */
61872 #include <math.h>
61873 int
61874 main ()
61875 {
61876  powf(0, 0);
61877   ;
61878   return 0;
61879 }
61880 _ACEOF
61881 rm -f conftest.$ac_objext
61882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61883   (eval $ac_compile) 2>conftest.er1
61884   ac_status=$?
61885   grep -v '^ *+' conftest.er1 >conftest.err
61886   rm -f conftest.er1
61887   cat conftest.err >&5
61888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61889   (exit $ac_status); } &&
61890          { ac_try='test -z "$ac_cxx_werror_flag"
61891                          || test ! -s conftest.err'
61892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61893   (eval $ac_try) 2>&5
61894   ac_status=$?
61895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61896   (exit $ac_status); }; } &&
61897          { ac_try='test -s conftest.$ac_objext'
61898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61899   (eval $ac_try) 2>&5
61900   ac_status=$?
61901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61902   (exit $ac_status); }; }; then
61903   glibcxx_cv_func_powf_use=yes
61904 else
61905   echo "$as_me: failed program was:" >&5
61906 sed 's/^/| /' conftest.$ac_ext >&5
61907
61908 glibcxx_cv_func_powf_use=no
61909 fi
61910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61911       ac_ext=c
61912 ac_cpp='$CPP $CPPFLAGS'
61913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61916
61917
61918 fi
61919
61920   fi
61921   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61922 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61923
61924   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61925
61926 for ac_func in powf
61927 do
61928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61929 echo "$as_me:$LINENO: checking for $ac_func" >&5
61930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61931 if eval "test \"\${$as_ac_var+set}\" = set"; then
61932   echo $ECHO_N "(cached) $ECHO_C" >&6
61933 else
61934   if test x$gcc_no_link = xyes; then
61935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61937    { (exit 1); exit 1; }; }
61938 fi
61939 cat >conftest.$ac_ext <<_ACEOF
61940 /* confdefs.h.  */
61941 _ACEOF
61942 cat confdefs.h >>conftest.$ac_ext
61943 cat >>conftest.$ac_ext <<_ACEOF
61944 /* end confdefs.h.  */
61945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61947 #define $ac_func innocuous_$ac_func
61948
61949 /* System header to define __stub macros and hopefully few prototypes,
61950     which can conflict with char $ac_func (); below.
61951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61952     <limits.h> exists even on freestanding compilers.  */
61953
61954 #ifdef __STDC__
61955 # include <limits.h>
61956 #else
61957 # include <assert.h>
61958 #endif
61959
61960 #undef $ac_func
61961
61962 /* Override any gcc2 internal prototype to avoid an error.  */
61963 #ifdef __cplusplus
61964 extern "C"
61965 {
61966 #endif
61967 /* We use char because int might match the return type of a gcc2
61968    builtin and then its argument prototype would still apply.  */
61969 char $ac_func ();
61970 /* The GNU C library defines this for functions which it implements
61971     to always fail with ENOSYS.  Some functions are actually named
61972     something starting with __ and the normal name is an alias.  */
61973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61974 choke me
61975 #else
61976 char (*f) () = $ac_func;
61977 #endif
61978 #ifdef __cplusplus
61979 }
61980 #endif
61981
61982 int
61983 main ()
61984 {
61985 return f != $ac_func;
61986   ;
61987   return 0;
61988 }
61989 _ACEOF
61990 rm -f conftest.$ac_objext conftest$ac_exeext
61991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61992   (eval $ac_link) 2>conftest.er1
61993   ac_status=$?
61994   grep -v '^ *+' conftest.er1 >conftest.err
61995   rm -f conftest.er1
61996   cat conftest.err >&5
61997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61998   (exit $ac_status); } &&
61999          { ac_try='test -z "$ac_c_werror_flag"
62000                          || test ! -s conftest.err'
62001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62002   (eval $ac_try) 2>&5
62003   ac_status=$?
62004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62005   (exit $ac_status); }; } &&
62006          { ac_try='test -s conftest$ac_exeext'
62007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62008   (eval $ac_try) 2>&5
62009   ac_status=$?
62010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62011   (exit $ac_status); }; }; then
62012   eval "$as_ac_var=yes"
62013 else
62014   echo "$as_me: failed program was:" >&5
62015 sed 's/^/| /' conftest.$ac_ext >&5
62016
62017 eval "$as_ac_var=no"
62018 fi
62019 rm -f conftest.err conftest.$ac_objext \
62020       conftest$ac_exeext conftest.$ac_ext
62021 fi
62022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62024 if test `eval echo '${'$as_ac_var'}'` = yes; then
62025   cat >>confdefs.h <<_ACEOF
62026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62027 _ACEOF
62028
62029 fi
62030 done
62031
62032   else
62033
62034   echo "$as_me:$LINENO: checking for _powf declaration" >&5
62035 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
62036   if test x${glibcxx_cv_func__powf_use+set} != xset; then
62037     if test "${glibcxx_cv_func__powf_use+set}" = set; then
62038   echo $ECHO_N "(cached) $ECHO_C" >&6
62039 else
62040
62041
62042
62043       ac_ext=cc
62044 ac_cpp='$CXXCPP $CPPFLAGS'
62045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62048
62049       cat >conftest.$ac_ext <<_ACEOF
62050 /* confdefs.h.  */
62051 _ACEOF
62052 cat confdefs.h >>conftest.$ac_ext
62053 cat >>conftest.$ac_ext <<_ACEOF
62054 /* end confdefs.h.  */
62055 #include <math.h>
62056 int
62057 main ()
62058 {
62059  _powf(0, 0);
62060   ;
62061   return 0;
62062 }
62063 _ACEOF
62064 rm -f conftest.$ac_objext
62065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62066   (eval $ac_compile) 2>conftest.er1
62067   ac_status=$?
62068   grep -v '^ *+' conftest.er1 >conftest.err
62069   rm -f conftest.er1
62070   cat conftest.err >&5
62071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62072   (exit $ac_status); } &&
62073          { ac_try='test -z "$ac_cxx_werror_flag"
62074                          || test ! -s conftest.err'
62075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62076   (eval $ac_try) 2>&5
62077   ac_status=$?
62078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62079   (exit $ac_status); }; } &&
62080          { ac_try='test -s conftest.$ac_objext'
62081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62082   (eval $ac_try) 2>&5
62083   ac_status=$?
62084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62085   (exit $ac_status); }; }; then
62086   glibcxx_cv_func__powf_use=yes
62087 else
62088   echo "$as_me: failed program was:" >&5
62089 sed 's/^/| /' conftest.$ac_ext >&5
62090
62091 glibcxx_cv_func__powf_use=no
62092 fi
62093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62094       ac_ext=c
62095 ac_cpp='$CPP $CPPFLAGS'
62096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62099
62100
62101 fi
62102
62103   fi
62104   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
62105 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
62106
62107     if test x$glibcxx_cv_func__powf_use = x"yes"; then
62108
62109 for ac_func in _powf
62110 do
62111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62112 echo "$as_me:$LINENO: checking for $ac_func" >&5
62113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62114 if eval "test \"\${$as_ac_var+set}\" = set"; then
62115   echo $ECHO_N "(cached) $ECHO_C" >&6
62116 else
62117   if test x$gcc_no_link = xyes; then
62118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62120    { (exit 1); exit 1; }; }
62121 fi
62122 cat >conftest.$ac_ext <<_ACEOF
62123 /* confdefs.h.  */
62124 _ACEOF
62125 cat confdefs.h >>conftest.$ac_ext
62126 cat >>conftest.$ac_ext <<_ACEOF
62127 /* end confdefs.h.  */
62128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62130 #define $ac_func innocuous_$ac_func
62131
62132 /* System header to define __stub macros and hopefully few prototypes,
62133     which can conflict with char $ac_func (); below.
62134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62135     <limits.h> exists even on freestanding compilers.  */
62136
62137 #ifdef __STDC__
62138 # include <limits.h>
62139 #else
62140 # include <assert.h>
62141 #endif
62142
62143 #undef $ac_func
62144
62145 /* Override any gcc2 internal prototype to avoid an error.  */
62146 #ifdef __cplusplus
62147 extern "C"
62148 {
62149 #endif
62150 /* We use char because int might match the return type of a gcc2
62151    builtin and then its argument prototype would still apply.  */
62152 char $ac_func ();
62153 /* The GNU C library defines this for functions which it implements
62154     to always fail with ENOSYS.  Some functions are actually named
62155     something starting with __ and the normal name is an alias.  */
62156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62157 choke me
62158 #else
62159 char (*f) () = $ac_func;
62160 #endif
62161 #ifdef __cplusplus
62162 }
62163 #endif
62164
62165 int
62166 main ()
62167 {
62168 return f != $ac_func;
62169   ;
62170   return 0;
62171 }
62172 _ACEOF
62173 rm -f conftest.$ac_objext conftest$ac_exeext
62174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62175   (eval $ac_link) 2>conftest.er1
62176   ac_status=$?
62177   grep -v '^ *+' conftest.er1 >conftest.err
62178   rm -f conftest.er1
62179   cat conftest.err >&5
62180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62181   (exit $ac_status); } &&
62182          { ac_try='test -z "$ac_c_werror_flag"
62183                          || test ! -s conftest.err'
62184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62185   (eval $ac_try) 2>&5
62186   ac_status=$?
62187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62188   (exit $ac_status); }; } &&
62189          { ac_try='test -s conftest$ac_exeext'
62190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62191   (eval $ac_try) 2>&5
62192   ac_status=$?
62193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62194   (exit $ac_status); }; }; then
62195   eval "$as_ac_var=yes"
62196 else
62197   echo "$as_me: failed program was:" >&5
62198 sed 's/^/| /' conftest.$ac_ext >&5
62199
62200 eval "$as_ac_var=no"
62201 fi
62202 rm -f conftest.err conftest.$ac_objext \
62203       conftest$ac_exeext conftest.$ac_ext
62204 fi
62205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62207 if test `eval echo '${'$as_ac_var'}'` = yes; then
62208   cat >>confdefs.h <<_ACEOF
62209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62210 _ACEOF
62211
62212 fi
62213 done
62214
62215     fi
62216   fi
62217
62218
62219
62220
62221
62222
62223   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62224 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62225   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62226     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62227   echo $ECHO_N "(cached) $ECHO_C" >&6
62228 else
62229
62230
62231
62232       ac_ext=cc
62233 ac_cpp='$CXXCPP $CPPFLAGS'
62234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62237
62238       cat >conftest.$ac_ext <<_ACEOF
62239 /* confdefs.h.  */
62240 _ACEOF
62241 cat confdefs.h >>conftest.$ac_ext
62242 cat >>conftest.$ac_ext <<_ACEOF
62243 /* end confdefs.h.  */
62244 #include <math.h>
62245                       #ifdef HAVE_IEEEFP_H
62246                       #include <ieeefp.h>
62247                       #endif
62248
62249 int
62250 main ()
62251 {
62252  sqrtf(0);
62253   ;
62254   return 0;
62255 }
62256 _ACEOF
62257 rm -f conftest.$ac_objext
62258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62259   (eval $ac_compile) 2>conftest.er1
62260   ac_status=$?
62261   grep -v '^ *+' conftest.er1 >conftest.err
62262   rm -f conftest.er1
62263   cat conftest.err >&5
62264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62265   (exit $ac_status); } &&
62266          { ac_try='test -z "$ac_cxx_werror_flag"
62267                          || test ! -s conftest.err'
62268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62269   (eval $ac_try) 2>&5
62270   ac_status=$?
62271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62272   (exit $ac_status); }; } &&
62273          { ac_try='test -s conftest.$ac_objext'
62274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62275   (eval $ac_try) 2>&5
62276   ac_status=$?
62277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62278   (exit $ac_status); }; }; then
62279   glibcxx_cv_func_sqrtf_use=yes
62280 else
62281   echo "$as_me: failed program was:" >&5
62282 sed 's/^/| /' conftest.$ac_ext >&5
62283
62284 glibcxx_cv_func_sqrtf_use=no
62285 fi
62286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62287       ac_ext=c
62288 ac_cpp='$CPP $CPPFLAGS'
62289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62292
62293
62294 fi
62295
62296   fi
62297   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62298 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62299
62300   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62301
62302 for ac_func in sqrtf
62303 do
62304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62305 echo "$as_me:$LINENO: checking for $ac_func" >&5
62306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62307 if eval "test \"\${$as_ac_var+set}\" = set"; then
62308   echo $ECHO_N "(cached) $ECHO_C" >&6
62309 else
62310   if test x$gcc_no_link = xyes; then
62311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62313    { (exit 1); exit 1; }; }
62314 fi
62315 cat >conftest.$ac_ext <<_ACEOF
62316 /* confdefs.h.  */
62317 _ACEOF
62318 cat confdefs.h >>conftest.$ac_ext
62319 cat >>conftest.$ac_ext <<_ACEOF
62320 /* end confdefs.h.  */
62321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62322    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62323 #define $ac_func innocuous_$ac_func
62324
62325 /* System header to define __stub macros and hopefully few prototypes,
62326     which can conflict with char $ac_func (); below.
62327     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62328     <limits.h> exists even on freestanding compilers.  */
62329
62330 #ifdef __STDC__
62331 # include <limits.h>
62332 #else
62333 # include <assert.h>
62334 #endif
62335
62336 #undef $ac_func
62337
62338 /* Override any gcc2 internal prototype to avoid an error.  */
62339 #ifdef __cplusplus
62340 extern "C"
62341 {
62342 #endif
62343 /* We use char because int might match the return type of a gcc2
62344    builtin and then its argument prototype would still apply.  */
62345 char $ac_func ();
62346 /* The GNU C library defines this for functions which it implements
62347     to always fail with ENOSYS.  Some functions are actually named
62348     something starting with __ and the normal name is an alias.  */
62349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62350 choke me
62351 #else
62352 char (*f) () = $ac_func;
62353 #endif
62354 #ifdef __cplusplus
62355 }
62356 #endif
62357
62358 int
62359 main ()
62360 {
62361 return f != $ac_func;
62362   ;
62363   return 0;
62364 }
62365 _ACEOF
62366 rm -f conftest.$ac_objext conftest$ac_exeext
62367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62368   (eval $ac_link) 2>conftest.er1
62369   ac_status=$?
62370   grep -v '^ *+' conftest.er1 >conftest.err
62371   rm -f conftest.er1
62372   cat conftest.err >&5
62373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62374   (exit $ac_status); } &&
62375          { ac_try='test -z "$ac_c_werror_flag"
62376                          || test ! -s conftest.err'
62377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62378   (eval $ac_try) 2>&5
62379   ac_status=$?
62380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62381   (exit $ac_status); }; } &&
62382          { ac_try='test -s conftest$ac_exeext'
62383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62384   (eval $ac_try) 2>&5
62385   ac_status=$?
62386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62387   (exit $ac_status); }; }; then
62388   eval "$as_ac_var=yes"
62389 else
62390   echo "$as_me: failed program was:" >&5
62391 sed 's/^/| /' conftest.$ac_ext >&5
62392
62393 eval "$as_ac_var=no"
62394 fi
62395 rm -f conftest.err conftest.$ac_objext \
62396       conftest$ac_exeext conftest.$ac_ext
62397 fi
62398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62400 if test `eval echo '${'$as_ac_var'}'` = yes; then
62401   cat >>confdefs.h <<_ACEOF
62402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62403 _ACEOF
62404
62405 fi
62406 done
62407
62408   else
62409
62410   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62411 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62412   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62413     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62414   echo $ECHO_N "(cached) $ECHO_C" >&6
62415 else
62416
62417
62418
62419       ac_ext=cc
62420 ac_cpp='$CXXCPP $CPPFLAGS'
62421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62424
62425       cat >conftest.$ac_ext <<_ACEOF
62426 /* confdefs.h.  */
62427 _ACEOF
62428 cat confdefs.h >>conftest.$ac_ext
62429 cat >>conftest.$ac_ext <<_ACEOF
62430 /* end confdefs.h.  */
62431 #include <math.h>
62432                       #ifdef HAVE_IEEEFP_H
62433                       #include <ieeefp.h>
62434                       #endif
62435
62436 int
62437 main ()
62438 {
62439  _sqrtf(0);
62440   ;
62441   return 0;
62442 }
62443 _ACEOF
62444 rm -f conftest.$ac_objext
62445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62446   (eval $ac_compile) 2>conftest.er1
62447   ac_status=$?
62448   grep -v '^ *+' conftest.er1 >conftest.err
62449   rm -f conftest.er1
62450   cat conftest.err >&5
62451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62452   (exit $ac_status); } &&
62453          { ac_try='test -z "$ac_cxx_werror_flag"
62454                          || test ! -s conftest.err'
62455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62456   (eval $ac_try) 2>&5
62457   ac_status=$?
62458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62459   (exit $ac_status); }; } &&
62460          { ac_try='test -s conftest.$ac_objext'
62461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62462   (eval $ac_try) 2>&5
62463   ac_status=$?
62464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62465   (exit $ac_status); }; }; then
62466   glibcxx_cv_func__sqrtf_use=yes
62467 else
62468   echo "$as_me: failed program was:" >&5
62469 sed 's/^/| /' conftest.$ac_ext >&5
62470
62471 glibcxx_cv_func__sqrtf_use=no
62472 fi
62473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62474       ac_ext=c
62475 ac_cpp='$CPP $CPPFLAGS'
62476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62479
62480
62481 fi
62482
62483   fi
62484   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62485 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62486
62487     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62488
62489 for ac_func in _sqrtf
62490 do
62491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62492 echo "$as_me:$LINENO: checking for $ac_func" >&5
62493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62494 if eval "test \"\${$as_ac_var+set}\" = set"; then
62495   echo $ECHO_N "(cached) $ECHO_C" >&6
62496 else
62497   if test x$gcc_no_link = xyes; then
62498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62500    { (exit 1); exit 1; }; }
62501 fi
62502 cat >conftest.$ac_ext <<_ACEOF
62503 /* confdefs.h.  */
62504 _ACEOF
62505 cat confdefs.h >>conftest.$ac_ext
62506 cat >>conftest.$ac_ext <<_ACEOF
62507 /* end confdefs.h.  */
62508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62510 #define $ac_func innocuous_$ac_func
62511
62512 /* System header to define __stub macros and hopefully few prototypes,
62513     which can conflict with char $ac_func (); below.
62514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62515     <limits.h> exists even on freestanding compilers.  */
62516
62517 #ifdef __STDC__
62518 # include <limits.h>
62519 #else
62520 # include <assert.h>
62521 #endif
62522
62523 #undef $ac_func
62524
62525 /* Override any gcc2 internal prototype to avoid an error.  */
62526 #ifdef __cplusplus
62527 extern "C"
62528 {
62529 #endif
62530 /* We use char because int might match the return type of a gcc2
62531    builtin and then its argument prototype would still apply.  */
62532 char $ac_func ();
62533 /* The GNU C library defines this for functions which it implements
62534     to always fail with ENOSYS.  Some functions are actually named
62535     something starting with __ and the normal name is an alias.  */
62536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62537 choke me
62538 #else
62539 char (*f) () = $ac_func;
62540 #endif
62541 #ifdef __cplusplus
62542 }
62543 #endif
62544
62545 int
62546 main ()
62547 {
62548 return f != $ac_func;
62549   ;
62550   return 0;
62551 }
62552 _ACEOF
62553 rm -f conftest.$ac_objext conftest$ac_exeext
62554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62555   (eval $ac_link) 2>conftest.er1
62556   ac_status=$?
62557   grep -v '^ *+' conftest.er1 >conftest.err
62558   rm -f conftest.er1
62559   cat conftest.err >&5
62560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62561   (exit $ac_status); } &&
62562          { ac_try='test -z "$ac_c_werror_flag"
62563                          || test ! -s conftest.err'
62564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62565   (eval $ac_try) 2>&5
62566   ac_status=$?
62567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62568   (exit $ac_status); }; } &&
62569          { ac_try='test -s conftest$ac_exeext'
62570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62571   (eval $ac_try) 2>&5
62572   ac_status=$?
62573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62574   (exit $ac_status); }; }; then
62575   eval "$as_ac_var=yes"
62576 else
62577   echo "$as_me: failed program was:" >&5
62578 sed 's/^/| /' conftest.$ac_ext >&5
62579
62580 eval "$as_ac_var=no"
62581 fi
62582 rm -f conftest.err conftest.$ac_objext \
62583       conftest$ac_exeext conftest.$ac_ext
62584 fi
62585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62587 if test `eval echo '${'$as_ac_var'}'` = yes; then
62588   cat >>confdefs.h <<_ACEOF
62589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62590 _ACEOF
62591
62592 fi
62593 done
62594
62595     fi
62596   fi
62597
62598
62599
62600
62601
62602
62603   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62604 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62605   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62606     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62607   echo $ECHO_N "(cached) $ECHO_C" >&6
62608 else
62609
62610
62611
62612       ac_ext=cc
62613 ac_cpp='$CXXCPP $CPPFLAGS'
62614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62617
62618       cat >conftest.$ac_ext <<_ACEOF
62619 /* confdefs.h.  */
62620 _ACEOF
62621 cat confdefs.h >>conftest.$ac_ext
62622 cat >>conftest.$ac_ext <<_ACEOF
62623 /* end confdefs.h.  */
62624 #include <math.h>
62625 int
62626 main ()
62627 {
62628  sincosf(0, 0, 0);
62629   ;
62630   return 0;
62631 }
62632 _ACEOF
62633 rm -f conftest.$ac_objext
62634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62635   (eval $ac_compile) 2>conftest.er1
62636   ac_status=$?
62637   grep -v '^ *+' conftest.er1 >conftest.err
62638   rm -f conftest.er1
62639   cat conftest.err >&5
62640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62641   (exit $ac_status); } &&
62642          { ac_try='test -z "$ac_cxx_werror_flag"
62643                          || test ! -s conftest.err'
62644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62645   (eval $ac_try) 2>&5
62646   ac_status=$?
62647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62648   (exit $ac_status); }; } &&
62649          { ac_try='test -s conftest.$ac_objext'
62650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62651   (eval $ac_try) 2>&5
62652   ac_status=$?
62653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62654   (exit $ac_status); }; }; then
62655   glibcxx_cv_func_sincosf_use=yes
62656 else
62657   echo "$as_me: failed program was:" >&5
62658 sed 's/^/| /' conftest.$ac_ext >&5
62659
62660 glibcxx_cv_func_sincosf_use=no
62661 fi
62662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62663       ac_ext=c
62664 ac_cpp='$CPP $CPPFLAGS'
62665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62668
62669
62670 fi
62671
62672   fi
62673   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62674 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62675
62676   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62677
62678 for ac_func in sincosf
62679 do
62680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62681 echo "$as_me:$LINENO: checking for $ac_func" >&5
62682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62683 if eval "test \"\${$as_ac_var+set}\" = set"; then
62684   echo $ECHO_N "(cached) $ECHO_C" >&6
62685 else
62686   if test x$gcc_no_link = xyes; then
62687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62689    { (exit 1); exit 1; }; }
62690 fi
62691 cat >conftest.$ac_ext <<_ACEOF
62692 /* confdefs.h.  */
62693 _ACEOF
62694 cat confdefs.h >>conftest.$ac_ext
62695 cat >>conftest.$ac_ext <<_ACEOF
62696 /* end confdefs.h.  */
62697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62699 #define $ac_func innocuous_$ac_func
62700
62701 /* System header to define __stub macros and hopefully few prototypes,
62702     which can conflict with char $ac_func (); below.
62703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62704     <limits.h> exists even on freestanding compilers.  */
62705
62706 #ifdef __STDC__
62707 # include <limits.h>
62708 #else
62709 # include <assert.h>
62710 #endif
62711
62712 #undef $ac_func
62713
62714 /* Override any gcc2 internal prototype to avoid an error.  */
62715 #ifdef __cplusplus
62716 extern "C"
62717 {
62718 #endif
62719 /* We use char because int might match the return type of a gcc2
62720    builtin and then its argument prototype would still apply.  */
62721 char $ac_func ();
62722 /* The GNU C library defines this for functions which it implements
62723     to always fail with ENOSYS.  Some functions are actually named
62724     something starting with __ and the normal name is an alias.  */
62725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62726 choke me
62727 #else
62728 char (*f) () = $ac_func;
62729 #endif
62730 #ifdef __cplusplus
62731 }
62732 #endif
62733
62734 int
62735 main ()
62736 {
62737 return f != $ac_func;
62738   ;
62739   return 0;
62740 }
62741 _ACEOF
62742 rm -f conftest.$ac_objext conftest$ac_exeext
62743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62744   (eval $ac_link) 2>conftest.er1
62745   ac_status=$?
62746   grep -v '^ *+' conftest.er1 >conftest.err
62747   rm -f conftest.er1
62748   cat conftest.err >&5
62749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62750   (exit $ac_status); } &&
62751          { ac_try='test -z "$ac_c_werror_flag"
62752                          || test ! -s conftest.err'
62753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62754   (eval $ac_try) 2>&5
62755   ac_status=$?
62756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62757   (exit $ac_status); }; } &&
62758          { ac_try='test -s conftest$ac_exeext'
62759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62760   (eval $ac_try) 2>&5
62761   ac_status=$?
62762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62763   (exit $ac_status); }; }; then
62764   eval "$as_ac_var=yes"
62765 else
62766   echo "$as_me: failed program was:" >&5
62767 sed 's/^/| /' conftest.$ac_ext >&5
62768
62769 eval "$as_ac_var=no"
62770 fi
62771 rm -f conftest.err conftest.$ac_objext \
62772       conftest$ac_exeext conftest.$ac_ext
62773 fi
62774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62776 if test `eval echo '${'$as_ac_var'}'` = yes; then
62777   cat >>confdefs.h <<_ACEOF
62778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62779 _ACEOF
62780
62781 fi
62782 done
62783
62784   else
62785
62786   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62787 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62788   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62789     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62790   echo $ECHO_N "(cached) $ECHO_C" >&6
62791 else
62792
62793
62794
62795       ac_ext=cc
62796 ac_cpp='$CXXCPP $CPPFLAGS'
62797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62800
62801       cat >conftest.$ac_ext <<_ACEOF
62802 /* confdefs.h.  */
62803 _ACEOF
62804 cat confdefs.h >>conftest.$ac_ext
62805 cat >>conftest.$ac_ext <<_ACEOF
62806 /* end confdefs.h.  */
62807 #include <math.h>
62808 int
62809 main ()
62810 {
62811  _sincosf(0, 0, 0);
62812   ;
62813   return 0;
62814 }
62815 _ACEOF
62816 rm -f conftest.$ac_objext
62817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62818   (eval $ac_compile) 2>conftest.er1
62819   ac_status=$?
62820   grep -v '^ *+' conftest.er1 >conftest.err
62821   rm -f conftest.er1
62822   cat conftest.err >&5
62823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62824   (exit $ac_status); } &&
62825          { ac_try='test -z "$ac_cxx_werror_flag"
62826                          || test ! -s conftest.err'
62827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62828   (eval $ac_try) 2>&5
62829   ac_status=$?
62830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62831   (exit $ac_status); }; } &&
62832          { ac_try='test -s conftest.$ac_objext'
62833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62834   (eval $ac_try) 2>&5
62835   ac_status=$?
62836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62837   (exit $ac_status); }; }; then
62838   glibcxx_cv_func__sincosf_use=yes
62839 else
62840   echo "$as_me: failed program was:" >&5
62841 sed 's/^/| /' conftest.$ac_ext >&5
62842
62843 glibcxx_cv_func__sincosf_use=no
62844 fi
62845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62846       ac_ext=c
62847 ac_cpp='$CPP $CPPFLAGS'
62848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62851
62852
62853 fi
62854
62855   fi
62856   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62857 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62858
62859     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62860
62861 for ac_func in _sincosf
62862 do
62863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62864 echo "$as_me:$LINENO: checking for $ac_func" >&5
62865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62866 if eval "test \"\${$as_ac_var+set}\" = set"; then
62867   echo $ECHO_N "(cached) $ECHO_C" >&6
62868 else
62869   if test x$gcc_no_link = xyes; then
62870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62872    { (exit 1); exit 1; }; }
62873 fi
62874 cat >conftest.$ac_ext <<_ACEOF
62875 /* confdefs.h.  */
62876 _ACEOF
62877 cat confdefs.h >>conftest.$ac_ext
62878 cat >>conftest.$ac_ext <<_ACEOF
62879 /* end confdefs.h.  */
62880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62882 #define $ac_func innocuous_$ac_func
62883
62884 /* System header to define __stub macros and hopefully few prototypes,
62885     which can conflict with char $ac_func (); below.
62886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62887     <limits.h> exists even on freestanding compilers.  */
62888
62889 #ifdef __STDC__
62890 # include <limits.h>
62891 #else
62892 # include <assert.h>
62893 #endif
62894
62895 #undef $ac_func
62896
62897 /* Override any gcc2 internal prototype to avoid an error.  */
62898 #ifdef __cplusplus
62899 extern "C"
62900 {
62901 #endif
62902 /* We use char because int might match the return type of a gcc2
62903    builtin and then its argument prototype would still apply.  */
62904 char $ac_func ();
62905 /* The GNU C library defines this for functions which it implements
62906     to always fail with ENOSYS.  Some functions are actually named
62907     something starting with __ and the normal name is an alias.  */
62908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62909 choke me
62910 #else
62911 char (*f) () = $ac_func;
62912 #endif
62913 #ifdef __cplusplus
62914 }
62915 #endif
62916
62917 int
62918 main ()
62919 {
62920 return f != $ac_func;
62921   ;
62922   return 0;
62923 }
62924 _ACEOF
62925 rm -f conftest.$ac_objext conftest$ac_exeext
62926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62927   (eval $ac_link) 2>conftest.er1
62928   ac_status=$?
62929   grep -v '^ *+' conftest.er1 >conftest.err
62930   rm -f conftest.er1
62931   cat conftest.err >&5
62932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62933   (exit $ac_status); } &&
62934          { ac_try='test -z "$ac_c_werror_flag"
62935                          || test ! -s conftest.err'
62936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62937   (eval $ac_try) 2>&5
62938   ac_status=$?
62939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62940   (exit $ac_status); }; } &&
62941          { ac_try='test -s conftest$ac_exeext'
62942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62943   (eval $ac_try) 2>&5
62944   ac_status=$?
62945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62946   (exit $ac_status); }; }; then
62947   eval "$as_ac_var=yes"
62948 else
62949   echo "$as_me: failed program was:" >&5
62950 sed 's/^/| /' conftest.$ac_ext >&5
62951
62952 eval "$as_ac_var=no"
62953 fi
62954 rm -f conftest.err conftest.$ac_objext \
62955       conftest$ac_exeext conftest.$ac_ext
62956 fi
62957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62959 if test `eval echo '${'$as_ac_var'}'` = yes; then
62960   cat >>confdefs.h <<_ACEOF
62961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62962 _ACEOF
62963
62964 fi
62965 done
62966
62967     fi
62968   fi
62969
62970
62971
62972
62973
62974
62975   echo "$as_me:$LINENO: checking for finitef declaration" >&5
62976 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62977   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62978     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62979   echo $ECHO_N "(cached) $ECHO_C" >&6
62980 else
62981
62982
62983
62984       ac_ext=cc
62985 ac_cpp='$CXXCPP $CPPFLAGS'
62986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62989
62990       cat >conftest.$ac_ext <<_ACEOF
62991 /* confdefs.h.  */
62992 _ACEOF
62993 cat confdefs.h >>conftest.$ac_ext
62994 cat >>conftest.$ac_ext <<_ACEOF
62995 /* end confdefs.h.  */
62996 #include <math.h>
62997                       #ifdef HAVE_IEEEFP_H
62998                       #include <ieeefp.h>
62999                       #endif
63000
63001 int
63002 main ()
63003 {
63004  finitef(0);
63005   ;
63006   return 0;
63007 }
63008 _ACEOF
63009 rm -f conftest.$ac_objext
63010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63011   (eval $ac_compile) 2>conftest.er1
63012   ac_status=$?
63013   grep -v '^ *+' conftest.er1 >conftest.err
63014   rm -f conftest.er1
63015   cat conftest.err >&5
63016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63017   (exit $ac_status); } &&
63018          { ac_try='test -z "$ac_cxx_werror_flag"
63019                          || test ! -s conftest.err'
63020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63021   (eval $ac_try) 2>&5
63022   ac_status=$?
63023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63024   (exit $ac_status); }; } &&
63025          { ac_try='test -s conftest.$ac_objext'
63026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63027   (eval $ac_try) 2>&5
63028   ac_status=$?
63029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63030   (exit $ac_status); }; }; then
63031   glibcxx_cv_func_finitef_use=yes
63032 else
63033   echo "$as_me: failed program was:" >&5
63034 sed 's/^/| /' conftest.$ac_ext >&5
63035
63036 glibcxx_cv_func_finitef_use=no
63037 fi
63038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63039       ac_ext=c
63040 ac_cpp='$CPP $CPPFLAGS'
63041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63044
63045
63046 fi
63047
63048   fi
63049   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
63050 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
63051
63052   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63053
63054 for ac_func in finitef
63055 do
63056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63057 echo "$as_me:$LINENO: checking for $ac_func" >&5
63058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63059 if eval "test \"\${$as_ac_var+set}\" = set"; then
63060   echo $ECHO_N "(cached) $ECHO_C" >&6
63061 else
63062   if test x$gcc_no_link = xyes; then
63063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63065    { (exit 1); exit 1; }; }
63066 fi
63067 cat >conftest.$ac_ext <<_ACEOF
63068 /* confdefs.h.  */
63069 _ACEOF
63070 cat confdefs.h >>conftest.$ac_ext
63071 cat >>conftest.$ac_ext <<_ACEOF
63072 /* end confdefs.h.  */
63073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63075 #define $ac_func innocuous_$ac_func
63076
63077 /* System header to define __stub macros and hopefully few prototypes,
63078     which can conflict with char $ac_func (); below.
63079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63080     <limits.h> exists even on freestanding compilers.  */
63081
63082 #ifdef __STDC__
63083 # include <limits.h>
63084 #else
63085 # include <assert.h>
63086 #endif
63087
63088 #undef $ac_func
63089
63090 /* Override any gcc2 internal prototype to avoid an error.  */
63091 #ifdef __cplusplus
63092 extern "C"
63093 {
63094 #endif
63095 /* We use char because int might match the return type of a gcc2
63096    builtin and then its argument prototype would still apply.  */
63097 char $ac_func ();
63098 /* The GNU C library defines this for functions which it implements
63099     to always fail with ENOSYS.  Some functions are actually named
63100     something starting with __ and the normal name is an alias.  */
63101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63102 choke me
63103 #else
63104 char (*f) () = $ac_func;
63105 #endif
63106 #ifdef __cplusplus
63107 }
63108 #endif
63109
63110 int
63111 main ()
63112 {
63113 return f != $ac_func;
63114   ;
63115   return 0;
63116 }
63117 _ACEOF
63118 rm -f conftest.$ac_objext conftest$ac_exeext
63119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63120   (eval $ac_link) 2>conftest.er1
63121   ac_status=$?
63122   grep -v '^ *+' conftest.er1 >conftest.err
63123   rm -f conftest.er1
63124   cat conftest.err >&5
63125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63126   (exit $ac_status); } &&
63127          { ac_try='test -z "$ac_c_werror_flag"
63128                          || test ! -s conftest.err'
63129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63130   (eval $ac_try) 2>&5
63131   ac_status=$?
63132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63133   (exit $ac_status); }; } &&
63134          { ac_try='test -s conftest$ac_exeext'
63135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63136   (eval $ac_try) 2>&5
63137   ac_status=$?
63138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63139   (exit $ac_status); }; }; then
63140   eval "$as_ac_var=yes"
63141 else
63142   echo "$as_me: failed program was:" >&5
63143 sed 's/^/| /' conftest.$ac_ext >&5
63144
63145 eval "$as_ac_var=no"
63146 fi
63147 rm -f conftest.err conftest.$ac_objext \
63148       conftest$ac_exeext conftest.$ac_ext
63149 fi
63150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63152 if test `eval echo '${'$as_ac_var'}'` = yes; then
63153   cat >>confdefs.h <<_ACEOF
63154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63155 _ACEOF
63156
63157 fi
63158 done
63159
63160   else
63161
63162   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
63163 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
63164   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63165     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
63166   echo $ECHO_N "(cached) $ECHO_C" >&6
63167 else
63168
63169
63170
63171       ac_ext=cc
63172 ac_cpp='$CXXCPP $CPPFLAGS'
63173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63176
63177       cat >conftest.$ac_ext <<_ACEOF
63178 /* confdefs.h.  */
63179 _ACEOF
63180 cat confdefs.h >>conftest.$ac_ext
63181 cat >>conftest.$ac_ext <<_ACEOF
63182 /* end confdefs.h.  */
63183 #include <math.h>
63184                       #ifdef HAVE_IEEEFP_H
63185                       #include <ieeefp.h>
63186                       #endif
63187
63188 int
63189 main ()
63190 {
63191  _finitef(0);
63192   ;
63193   return 0;
63194 }
63195 _ACEOF
63196 rm -f conftest.$ac_objext
63197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63198   (eval $ac_compile) 2>conftest.er1
63199   ac_status=$?
63200   grep -v '^ *+' conftest.er1 >conftest.err
63201   rm -f conftest.er1
63202   cat conftest.err >&5
63203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63204   (exit $ac_status); } &&
63205          { ac_try='test -z "$ac_cxx_werror_flag"
63206                          || test ! -s conftest.err'
63207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63208   (eval $ac_try) 2>&5
63209   ac_status=$?
63210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63211   (exit $ac_status); }; } &&
63212          { ac_try='test -s conftest.$ac_objext'
63213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63214   (eval $ac_try) 2>&5
63215   ac_status=$?
63216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63217   (exit $ac_status); }; }; then
63218   glibcxx_cv_func__finitef_use=yes
63219 else
63220   echo "$as_me: failed program was:" >&5
63221 sed 's/^/| /' conftest.$ac_ext >&5
63222
63223 glibcxx_cv_func__finitef_use=no
63224 fi
63225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63226       ac_ext=c
63227 ac_cpp='$CPP $CPPFLAGS'
63228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63231
63232
63233 fi
63234
63235   fi
63236   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63237 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63238
63239     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63240
63241 for ac_func in _finitef
63242 do
63243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63244 echo "$as_me:$LINENO: checking for $ac_func" >&5
63245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63246 if eval "test \"\${$as_ac_var+set}\" = set"; then
63247   echo $ECHO_N "(cached) $ECHO_C" >&6
63248 else
63249   if test x$gcc_no_link = xyes; then
63250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63252    { (exit 1); exit 1; }; }
63253 fi
63254 cat >conftest.$ac_ext <<_ACEOF
63255 /* confdefs.h.  */
63256 _ACEOF
63257 cat confdefs.h >>conftest.$ac_ext
63258 cat >>conftest.$ac_ext <<_ACEOF
63259 /* end confdefs.h.  */
63260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63261    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63262 #define $ac_func innocuous_$ac_func
63263
63264 /* System header to define __stub macros and hopefully few prototypes,
63265     which can conflict with char $ac_func (); below.
63266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63267     <limits.h> exists even on freestanding compilers.  */
63268
63269 #ifdef __STDC__
63270 # include <limits.h>
63271 #else
63272 # include <assert.h>
63273 #endif
63274
63275 #undef $ac_func
63276
63277 /* Override any gcc2 internal prototype to avoid an error.  */
63278 #ifdef __cplusplus
63279 extern "C"
63280 {
63281 #endif
63282 /* We use char because int might match the return type of a gcc2
63283    builtin and then its argument prototype would still apply.  */
63284 char $ac_func ();
63285 /* The GNU C library defines this for functions which it implements
63286     to always fail with ENOSYS.  Some functions are actually named
63287     something starting with __ and the normal name is an alias.  */
63288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63289 choke me
63290 #else
63291 char (*f) () = $ac_func;
63292 #endif
63293 #ifdef __cplusplus
63294 }
63295 #endif
63296
63297 int
63298 main ()
63299 {
63300 return f != $ac_func;
63301   ;
63302   return 0;
63303 }
63304 _ACEOF
63305 rm -f conftest.$ac_objext conftest$ac_exeext
63306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63307   (eval $ac_link) 2>conftest.er1
63308   ac_status=$?
63309   grep -v '^ *+' conftest.er1 >conftest.err
63310   rm -f conftest.er1
63311   cat conftest.err >&5
63312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63313   (exit $ac_status); } &&
63314          { ac_try='test -z "$ac_c_werror_flag"
63315                          || test ! -s conftest.err'
63316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63317   (eval $ac_try) 2>&5
63318   ac_status=$?
63319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63320   (exit $ac_status); }; } &&
63321          { ac_try='test -s conftest$ac_exeext'
63322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63323   (eval $ac_try) 2>&5
63324   ac_status=$?
63325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63326   (exit $ac_status); }; }; then
63327   eval "$as_ac_var=yes"
63328 else
63329   echo "$as_me: failed program was:" >&5
63330 sed 's/^/| /' conftest.$ac_ext >&5
63331
63332 eval "$as_ac_var=no"
63333 fi
63334 rm -f conftest.err conftest.$ac_objext \
63335       conftest$ac_exeext conftest.$ac_ext
63336 fi
63337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63339 if test `eval echo '${'$as_ac_var'}'` = yes; then
63340   cat >>confdefs.h <<_ACEOF
63341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63342 _ACEOF
63343
63344 fi
63345 done
63346
63347     fi
63348   fi
63349
63350
63351
63352
63353
63354
63355     echo "$as_me:$LINENO: checking for long double trig functions" >&5
63356 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63357   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63358   echo $ECHO_N "(cached) $ECHO_C" >&6
63359 else
63360
63361
63362
63363     ac_ext=cc
63364 ac_cpp='$CXXCPP $CPPFLAGS'
63365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63368
63369     cat >conftest.$ac_ext <<_ACEOF
63370 /* confdefs.h.  */
63371 _ACEOF
63372 cat confdefs.h >>conftest.$ac_ext
63373 cat >>conftest.$ac_ext <<_ACEOF
63374 /* end confdefs.h.  */
63375 #include <math.h>
63376 int
63377 main ()
63378 {
63379 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63380   ;
63381   return 0;
63382 }
63383 _ACEOF
63384 rm -f conftest.$ac_objext
63385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63386   (eval $ac_compile) 2>conftest.er1
63387   ac_status=$?
63388   grep -v '^ *+' conftest.er1 >conftest.err
63389   rm -f conftest.er1
63390   cat conftest.err >&5
63391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63392   (exit $ac_status); } &&
63393          { ac_try='test -z "$ac_cxx_werror_flag"
63394                          || test ! -s conftest.err'
63395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63396   (eval $ac_try) 2>&5
63397   ac_status=$?
63398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63399   (exit $ac_status); }; } &&
63400          { ac_try='test -s conftest.$ac_objext'
63401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63402   (eval $ac_try) 2>&5
63403   ac_status=$?
63404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63405   (exit $ac_status); }; }; then
63406   glibcxx_cv_func_long_double_trig_use=yes
63407 else
63408   echo "$as_me: failed program was:" >&5
63409 sed 's/^/| /' conftest.$ac_ext >&5
63410
63411 glibcxx_cv_func_long_double_trig_use=no
63412 fi
63413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63414     ac_ext=c
63415 ac_cpp='$CPP $CPPFLAGS'
63416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63419
63420 fi
63421
63422   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63423 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63424   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63425
63426
63427
63428
63429
63430
63431
63432
63433
63434 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63435 do
63436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63437 echo "$as_me:$LINENO: checking for $ac_func" >&5
63438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63439 if eval "test \"\${$as_ac_var+set}\" = set"; then
63440   echo $ECHO_N "(cached) $ECHO_C" >&6
63441 else
63442   if test x$gcc_no_link = xyes; then
63443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63445    { (exit 1); exit 1; }; }
63446 fi
63447 cat >conftest.$ac_ext <<_ACEOF
63448 /* confdefs.h.  */
63449 _ACEOF
63450 cat confdefs.h >>conftest.$ac_ext
63451 cat >>conftest.$ac_ext <<_ACEOF
63452 /* end confdefs.h.  */
63453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63455 #define $ac_func innocuous_$ac_func
63456
63457 /* System header to define __stub macros and hopefully few prototypes,
63458     which can conflict with char $ac_func (); below.
63459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63460     <limits.h> exists even on freestanding compilers.  */
63461
63462 #ifdef __STDC__
63463 # include <limits.h>
63464 #else
63465 # include <assert.h>
63466 #endif
63467
63468 #undef $ac_func
63469
63470 /* Override any gcc2 internal prototype to avoid an error.  */
63471 #ifdef __cplusplus
63472 extern "C"
63473 {
63474 #endif
63475 /* We use char because int might match the return type of a gcc2
63476    builtin and then its argument prototype would still apply.  */
63477 char $ac_func ();
63478 /* The GNU C library defines this for functions which it implements
63479     to always fail with ENOSYS.  Some functions are actually named
63480     something starting with __ and the normal name is an alias.  */
63481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63482 choke me
63483 #else
63484 char (*f) () = $ac_func;
63485 #endif
63486 #ifdef __cplusplus
63487 }
63488 #endif
63489
63490 int
63491 main ()
63492 {
63493 return f != $ac_func;
63494   ;
63495   return 0;
63496 }
63497 _ACEOF
63498 rm -f conftest.$ac_objext conftest$ac_exeext
63499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63500   (eval $ac_link) 2>conftest.er1
63501   ac_status=$?
63502   grep -v '^ *+' conftest.er1 >conftest.err
63503   rm -f conftest.er1
63504   cat conftest.err >&5
63505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63506   (exit $ac_status); } &&
63507          { ac_try='test -z "$ac_c_werror_flag"
63508                          || test ! -s conftest.err'
63509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63510   (eval $ac_try) 2>&5
63511   ac_status=$?
63512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63513   (exit $ac_status); }; } &&
63514          { ac_try='test -s conftest$ac_exeext'
63515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63516   (eval $ac_try) 2>&5
63517   ac_status=$?
63518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63519   (exit $ac_status); }; }; then
63520   eval "$as_ac_var=yes"
63521 else
63522   echo "$as_me: failed program was:" >&5
63523 sed 's/^/| /' conftest.$ac_ext >&5
63524
63525 eval "$as_ac_var=no"
63526 fi
63527 rm -f conftest.err conftest.$ac_objext \
63528       conftest$ac_exeext conftest.$ac_ext
63529 fi
63530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63532 if test `eval echo '${'$as_ac_var'}'` = yes; then
63533   cat >>confdefs.h <<_ACEOF
63534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63535 _ACEOF
63536
63537 fi
63538 done
63539
63540   else
63541     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63542 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63543     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63544   echo $ECHO_N "(cached) $ECHO_C" >&6
63545 else
63546
63547
63548
63549       ac_ext=cc
63550 ac_cpp='$CXXCPP $CPPFLAGS'
63551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63554
63555       cat >conftest.$ac_ext <<_ACEOF
63556 /* confdefs.h.  */
63557 _ACEOF
63558 cat confdefs.h >>conftest.$ac_ext
63559 cat >>conftest.$ac_ext <<_ACEOF
63560 /* end confdefs.h.  */
63561 #include <math.h>
63562 int
63563 main ()
63564 {
63565 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63566   ;
63567   return 0;
63568 }
63569 _ACEOF
63570 rm -f conftest.$ac_objext
63571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63572   (eval $ac_compile) 2>conftest.er1
63573   ac_status=$?
63574   grep -v '^ *+' conftest.er1 >conftest.err
63575   rm -f conftest.er1
63576   cat conftest.err >&5
63577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63578   (exit $ac_status); } &&
63579          { ac_try='test -z "$ac_cxx_werror_flag"
63580                          || test ! -s conftest.err'
63581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63582   (eval $ac_try) 2>&5
63583   ac_status=$?
63584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63585   (exit $ac_status); }; } &&
63586          { ac_try='test -s conftest.$ac_objext'
63587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63588   (eval $ac_try) 2>&5
63589   ac_status=$?
63590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63591   (exit $ac_status); }; }; then
63592   glibcxx_cv_func__long_double_trig_use=yes
63593 else
63594   echo "$as_me: failed program was:" >&5
63595 sed 's/^/| /' conftest.$ac_ext >&5
63596
63597 glibcxx_cv_func__long_double_trig_use=no
63598 fi
63599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63600       ac_ext=c
63601 ac_cpp='$CPP $CPPFLAGS'
63602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63605
63606 fi
63607
63608     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63609 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63610     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63611
63612
63613
63614
63615
63616
63617
63618
63619
63620 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63621 do
63622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63623 echo "$as_me:$LINENO: checking for $ac_func" >&5
63624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63625 if eval "test \"\${$as_ac_var+set}\" = set"; then
63626   echo $ECHO_N "(cached) $ECHO_C" >&6
63627 else
63628   if test x$gcc_no_link = xyes; then
63629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63631    { (exit 1); exit 1; }; }
63632 fi
63633 cat >conftest.$ac_ext <<_ACEOF
63634 /* confdefs.h.  */
63635 _ACEOF
63636 cat confdefs.h >>conftest.$ac_ext
63637 cat >>conftest.$ac_ext <<_ACEOF
63638 /* end confdefs.h.  */
63639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63641 #define $ac_func innocuous_$ac_func
63642
63643 /* System header to define __stub macros and hopefully few prototypes,
63644     which can conflict with char $ac_func (); below.
63645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63646     <limits.h> exists even on freestanding compilers.  */
63647
63648 #ifdef __STDC__
63649 # include <limits.h>
63650 #else
63651 # include <assert.h>
63652 #endif
63653
63654 #undef $ac_func
63655
63656 /* Override any gcc2 internal prototype to avoid an error.  */
63657 #ifdef __cplusplus
63658 extern "C"
63659 {
63660 #endif
63661 /* We use char because int might match the return type of a gcc2
63662    builtin and then its argument prototype would still apply.  */
63663 char $ac_func ();
63664 /* The GNU C library defines this for functions which it implements
63665     to always fail with ENOSYS.  Some functions are actually named
63666     something starting with __ and the normal name is an alias.  */
63667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63668 choke me
63669 #else
63670 char (*f) () = $ac_func;
63671 #endif
63672 #ifdef __cplusplus
63673 }
63674 #endif
63675
63676 int
63677 main ()
63678 {
63679 return f != $ac_func;
63680   ;
63681   return 0;
63682 }
63683 _ACEOF
63684 rm -f conftest.$ac_objext conftest$ac_exeext
63685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63686   (eval $ac_link) 2>conftest.er1
63687   ac_status=$?
63688   grep -v '^ *+' conftest.er1 >conftest.err
63689   rm -f conftest.er1
63690   cat conftest.err >&5
63691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63692   (exit $ac_status); } &&
63693          { ac_try='test -z "$ac_c_werror_flag"
63694                          || test ! -s conftest.err'
63695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63696   (eval $ac_try) 2>&5
63697   ac_status=$?
63698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63699   (exit $ac_status); }; } &&
63700          { ac_try='test -s conftest$ac_exeext'
63701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63702   (eval $ac_try) 2>&5
63703   ac_status=$?
63704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63705   (exit $ac_status); }; }; then
63706   eval "$as_ac_var=yes"
63707 else
63708   echo "$as_me: failed program was:" >&5
63709 sed 's/^/| /' conftest.$ac_ext >&5
63710
63711 eval "$as_ac_var=no"
63712 fi
63713 rm -f conftest.err conftest.$ac_objext \
63714       conftest$ac_exeext conftest.$ac_ext
63715 fi
63716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63718 if test `eval echo '${'$as_ac_var'}'` = yes; then
63719   cat >>confdefs.h <<_ACEOF
63720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63721 _ACEOF
63722
63723 fi
63724 done
63725
63726     fi
63727   fi
63728
63729
63730
63731
63732
63733
63734
63735
63736
63737
63738
63739
63740
63741
63742     echo "$as_me:$LINENO: checking for long double round functions" >&5
63743 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63744   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63745   echo $ECHO_N "(cached) $ECHO_C" >&6
63746 else
63747
63748
63749
63750     ac_ext=cc
63751 ac_cpp='$CXXCPP $CPPFLAGS'
63752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63755
63756     cat >conftest.$ac_ext <<_ACEOF
63757 /* confdefs.h.  */
63758 _ACEOF
63759 cat confdefs.h >>conftest.$ac_ext
63760 cat >>conftest.$ac_ext <<_ACEOF
63761 /* end confdefs.h.  */
63762 #include <math.h>
63763 int
63764 main ()
63765 {
63766 ceill (0); floorl (0);
63767   ;
63768   return 0;
63769 }
63770 _ACEOF
63771 rm -f conftest.$ac_objext
63772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63773   (eval $ac_compile) 2>conftest.er1
63774   ac_status=$?
63775   grep -v '^ *+' conftest.er1 >conftest.err
63776   rm -f conftest.er1
63777   cat conftest.err >&5
63778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63779   (exit $ac_status); } &&
63780          { ac_try='test -z "$ac_cxx_werror_flag"
63781                          || test ! -s conftest.err'
63782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63783   (eval $ac_try) 2>&5
63784   ac_status=$?
63785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786   (exit $ac_status); }; } &&
63787          { ac_try='test -s conftest.$ac_objext'
63788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63789   (eval $ac_try) 2>&5
63790   ac_status=$?
63791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63792   (exit $ac_status); }; }; then
63793   glibcxx_cv_func_long_double_round_use=yes
63794 else
63795   echo "$as_me: failed program was:" >&5
63796 sed 's/^/| /' conftest.$ac_ext >&5
63797
63798 glibcxx_cv_func_long_double_round_use=no
63799 fi
63800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63801     ac_ext=c
63802 ac_cpp='$CPP $CPPFLAGS'
63803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63806
63807 fi
63808
63809   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63810 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63811   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63812
63813
63814 for ac_func in ceill floorl
63815 do
63816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63817 echo "$as_me:$LINENO: checking for $ac_func" >&5
63818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63819 if eval "test \"\${$as_ac_var+set}\" = set"; then
63820   echo $ECHO_N "(cached) $ECHO_C" >&6
63821 else
63822   if test x$gcc_no_link = xyes; then
63823   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63825    { (exit 1); exit 1; }; }
63826 fi
63827 cat >conftest.$ac_ext <<_ACEOF
63828 /* confdefs.h.  */
63829 _ACEOF
63830 cat confdefs.h >>conftest.$ac_ext
63831 cat >>conftest.$ac_ext <<_ACEOF
63832 /* end confdefs.h.  */
63833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63834    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63835 #define $ac_func innocuous_$ac_func
63836
63837 /* System header to define __stub macros and hopefully few prototypes,
63838     which can conflict with char $ac_func (); below.
63839     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63840     <limits.h> exists even on freestanding compilers.  */
63841
63842 #ifdef __STDC__
63843 # include <limits.h>
63844 #else
63845 # include <assert.h>
63846 #endif
63847
63848 #undef $ac_func
63849
63850 /* Override any gcc2 internal prototype to avoid an error.  */
63851 #ifdef __cplusplus
63852 extern "C"
63853 {
63854 #endif
63855 /* We use char because int might match the return type of a gcc2
63856    builtin and then its argument prototype would still apply.  */
63857 char $ac_func ();
63858 /* The GNU C library defines this for functions which it implements
63859     to always fail with ENOSYS.  Some functions are actually named
63860     something starting with __ and the normal name is an alias.  */
63861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63862 choke me
63863 #else
63864 char (*f) () = $ac_func;
63865 #endif
63866 #ifdef __cplusplus
63867 }
63868 #endif
63869
63870 int
63871 main ()
63872 {
63873 return f != $ac_func;
63874   ;
63875   return 0;
63876 }
63877 _ACEOF
63878 rm -f conftest.$ac_objext conftest$ac_exeext
63879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63880   (eval $ac_link) 2>conftest.er1
63881   ac_status=$?
63882   grep -v '^ *+' conftest.er1 >conftest.err
63883   rm -f conftest.er1
63884   cat conftest.err >&5
63885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63886   (exit $ac_status); } &&
63887          { ac_try='test -z "$ac_c_werror_flag"
63888                          || test ! -s conftest.err'
63889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63890   (eval $ac_try) 2>&5
63891   ac_status=$?
63892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63893   (exit $ac_status); }; } &&
63894          { ac_try='test -s conftest$ac_exeext'
63895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63896   (eval $ac_try) 2>&5
63897   ac_status=$?
63898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63899   (exit $ac_status); }; }; then
63900   eval "$as_ac_var=yes"
63901 else
63902   echo "$as_me: failed program was:" >&5
63903 sed 's/^/| /' conftest.$ac_ext >&5
63904
63905 eval "$as_ac_var=no"
63906 fi
63907 rm -f conftest.err conftest.$ac_objext \
63908       conftest$ac_exeext conftest.$ac_ext
63909 fi
63910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63912 if test `eval echo '${'$as_ac_var'}'` = yes; then
63913   cat >>confdefs.h <<_ACEOF
63914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63915 _ACEOF
63916
63917 fi
63918 done
63919
63920   else
63921     echo "$as_me:$LINENO: checking for _long double round functions" >&5
63922 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63923     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63924   echo $ECHO_N "(cached) $ECHO_C" >&6
63925 else
63926
63927
63928
63929       ac_ext=cc
63930 ac_cpp='$CXXCPP $CPPFLAGS'
63931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63934
63935       cat >conftest.$ac_ext <<_ACEOF
63936 /* confdefs.h.  */
63937 _ACEOF
63938 cat confdefs.h >>conftest.$ac_ext
63939 cat >>conftest.$ac_ext <<_ACEOF
63940 /* end confdefs.h.  */
63941 #include <math.h>
63942 int
63943 main ()
63944 {
63945 _ceill (0); _floorl (0);
63946   ;
63947   return 0;
63948 }
63949 _ACEOF
63950 rm -f conftest.$ac_objext
63951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63952   (eval $ac_compile) 2>conftest.er1
63953   ac_status=$?
63954   grep -v '^ *+' conftest.er1 >conftest.err
63955   rm -f conftest.er1
63956   cat conftest.err >&5
63957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63958   (exit $ac_status); } &&
63959          { ac_try='test -z "$ac_cxx_werror_flag"
63960                          || test ! -s conftest.err'
63961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63962   (eval $ac_try) 2>&5
63963   ac_status=$?
63964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63965   (exit $ac_status); }; } &&
63966          { ac_try='test -s conftest.$ac_objext'
63967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63968   (eval $ac_try) 2>&5
63969   ac_status=$?
63970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63971   (exit $ac_status); }; }; then
63972   glibcxx_cv_func__long_double_round_use=yes
63973 else
63974   echo "$as_me: failed program was:" >&5
63975 sed 's/^/| /' conftest.$ac_ext >&5
63976
63977 glibcxx_cv_func__long_double_round_use=no
63978 fi
63979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63980       ac_ext=c
63981 ac_cpp='$CPP $CPPFLAGS'
63982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63985
63986 fi
63987
63988     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
63989 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
63990     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63991
63992
63993 for ac_func in _ceill _floorl
63994 do
63995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63996 echo "$as_me:$LINENO: checking for $ac_func" >&5
63997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63998 if eval "test \"\${$as_ac_var+set}\" = set"; then
63999   echo $ECHO_N "(cached) $ECHO_C" >&6
64000 else
64001   if test x$gcc_no_link = xyes; then
64002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64004    { (exit 1); exit 1; }; }
64005 fi
64006 cat >conftest.$ac_ext <<_ACEOF
64007 /* confdefs.h.  */
64008 _ACEOF
64009 cat confdefs.h >>conftest.$ac_ext
64010 cat >>conftest.$ac_ext <<_ACEOF
64011 /* end confdefs.h.  */
64012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64013    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64014 #define $ac_func innocuous_$ac_func
64015
64016 /* System header to define __stub macros and hopefully few prototypes,
64017     which can conflict with char $ac_func (); below.
64018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64019     <limits.h> exists even on freestanding compilers.  */
64020
64021 #ifdef __STDC__
64022 # include <limits.h>
64023 #else
64024 # include <assert.h>
64025 #endif
64026
64027 #undef $ac_func
64028
64029 /* Override any gcc2 internal prototype to avoid an error.  */
64030 #ifdef __cplusplus
64031 extern "C"
64032 {
64033 #endif
64034 /* We use char because int might match the return type of a gcc2
64035    builtin and then its argument prototype would still apply.  */
64036 char $ac_func ();
64037 /* The GNU C library defines this for functions which it implements
64038     to always fail with ENOSYS.  Some functions are actually named
64039     something starting with __ and the normal name is an alias.  */
64040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64041 choke me
64042 #else
64043 char (*f) () = $ac_func;
64044 #endif
64045 #ifdef __cplusplus
64046 }
64047 #endif
64048
64049 int
64050 main ()
64051 {
64052 return f != $ac_func;
64053   ;
64054   return 0;
64055 }
64056 _ACEOF
64057 rm -f conftest.$ac_objext conftest$ac_exeext
64058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64059   (eval $ac_link) 2>conftest.er1
64060   ac_status=$?
64061   grep -v '^ *+' conftest.er1 >conftest.err
64062   rm -f conftest.er1
64063   cat conftest.err >&5
64064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64065   (exit $ac_status); } &&
64066          { ac_try='test -z "$ac_c_werror_flag"
64067                          || test ! -s conftest.err'
64068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64069   (eval $ac_try) 2>&5
64070   ac_status=$?
64071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64072   (exit $ac_status); }; } &&
64073          { ac_try='test -s conftest$ac_exeext'
64074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64075   (eval $ac_try) 2>&5
64076   ac_status=$?
64077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64078   (exit $ac_status); }; }; then
64079   eval "$as_ac_var=yes"
64080 else
64081   echo "$as_me: failed program was:" >&5
64082 sed 's/^/| /' conftest.$ac_ext >&5
64083
64084 eval "$as_ac_var=no"
64085 fi
64086 rm -f conftest.err conftest.$ac_objext \
64087       conftest$ac_exeext conftest.$ac_ext
64088 fi
64089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64091 if test `eval echo '${'$as_ac_var'}'` = yes; then
64092   cat >>confdefs.h <<_ACEOF
64093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64094 _ACEOF
64095
64096 fi
64097 done
64098
64099     fi
64100   fi
64101
64102
64103
64104
64105
64106
64107
64108
64109   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
64110 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
64111   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64112     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
64113   echo $ECHO_N "(cached) $ECHO_C" >&6
64114 else
64115
64116
64117
64118       ac_ext=cc
64119 ac_cpp='$CXXCPP $CPPFLAGS'
64120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64123
64124       cat >conftest.$ac_ext <<_ACEOF
64125 /* confdefs.h.  */
64126 _ACEOF
64127 cat confdefs.h >>conftest.$ac_ext
64128 cat >>conftest.$ac_ext <<_ACEOF
64129 /* end confdefs.h.  */
64130 #include <math.h>
64131                       #ifdef HAVE_IEEEFP_H
64132                       #include <ieeefp.h>
64133                       #endif
64134
64135 int
64136 main ()
64137 {
64138  isnanl(0);
64139   ;
64140   return 0;
64141 }
64142 _ACEOF
64143 rm -f conftest.$ac_objext
64144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64145   (eval $ac_compile) 2>conftest.er1
64146   ac_status=$?
64147   grep -v '^ *+' conftest.er1 >conftest.err
64148   rm -f conftest.er1
64149   cat conftest.err >&5
64150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64151   (exit $ac_status); } &&
64152          { ac_try='test -z "$ac_cxx_werror_flag"
64153                          || test ! -s conftest.err'
64154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64155   (eval $ac_try) 2>&5
64156   ac_status=$?
64157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64158   (exit $ac_status); }; } &&
64159          { ac_try='test -s conftest.$ac_objext'
64160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64161   (eval $ac_try) 2>&5
64162   ac_status=$?
64163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64164   (exit $ac_status); }; }; then
64165   glibcxx_cv_func_isnanl_use=yes
64166 else
64167   echo "$as_me: failed program was:" >&5
64168 sed 's/^/| /' conftest.$ac_ext >&5
64169
64170 glibcxx_cv_func_isnanl_use=no
64171 fi
64172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64173       ac_ext=c
64174 ac_cpp='$CPP $CPPFLAGS'
64175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64178
64179
64180 fi
64181
64182   fi
64183   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64184 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64185
64186   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64187
64188 for ac_func in isnanl
64189 do
64190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64191 echo "$as_me:$LINENO: checking for $ac_func" >&5
64192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64193 if eval "test \"\${$as_ac_var+set}\" = set"; then
64194   echo $ECHO_N "(cached) $ECHO_C" >&6
64195 else
64196   if test x$gcc_no_link = xyes; then
64197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64199    { (exit 1); exit 1; }; }
64200 fi
64201 cat >conftest.$ac_ext <<_ACEOF
64202 /* confdefs.h.  */
64203 _ACEOF
64204 cat confdefs.h >>conftest.$ac_ext
64205 cat >>conftest.$ac_ext <<_ACEOF
64206 /* end confdefs.h.  */
64207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64209 #define $ac_func innocuous_$ac_func
64210
64211 /* System header to define __stub macros and hopefully few prototypes,
64212     which can conflict with char $ac_func (); below.
64213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64214     <limits.h> exists even on freestanding compilers.  */
64215
64216 #ifdef __STDC__
64217 # include <limits.h>
64218 #else
64219 # include <assert.h>
64220 #endif
64221
64222 #undef $ac_func
64223
64224 /* Override any gcc2 internal prototype to avoid an error.  */
64225 #ifdef __cplusplus
64226 extern "C"
64227 {
64228 #endif
64229 /* We use char because int might match the return type of a gcc2
64230    builtin and then its argument prototype would still apply.  */
64231 char $ac_func ();
64232 /* The GNU C library defines this for functions which it implements
64233     to always fail with ENOSYS.  Some functions are actually named
64234     something starting with __ and the normal name is an alias.  */
64235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64236 choke me
64237 #else
64238 char (*f) () = $ac_func;
64239 #endif
64240 #ifdef __cplusplus
64241 }
64242 #endif
64243
64244 int
64245 main ()
64246 {
64247 return f != $ac_func;
64248   ;
64249   return 0;
64250 }
64251 _ACEOF
64252 rm -f conftest.$ac_objext conftest$ac_exeext
64253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64254   (eval $ac_link) 2>conftest.er1
64255   ac_status=$?
64256   grep -v '^ *+' conftest.er1 >conftest.err
64257   rm -f conftest.er1
64258   cat conftest.err >&5
64259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64260   (exit $ac_status); } &&
64261          { ac_try='test -z "$ac_c_werror_flag"
64262                          || test ! -s conftest.err'
64263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64264   (eval $ac_try) 2>&5
64265   ac_status=$?
64266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64267   (exit $ac_status); }; } &&
64268          { ac_try='test -s conftest$ac_exeext'
64269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64270   (eval $ac_try) 2>&5
64271   ac_status=$?
64272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64273   (exit $ac_status); }; }; then
64274   eval "$as_ac_var=yes"
64275 else
64276   echo "$as_me: failed program was:" >&5
64277 sed 's/^/| /' conftest.$ac_ext >&5
64278
64279 eval "$as_ac_var=no"
64280 fi
64281 rm -f conftest.err conftest.$ac_objext \
64282       conftest$ac_exeext conftest.$ac_ext
64283 fi
64284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64286 if test `eval echo '${'$as_ac_var'}'` = yes; then
64287   cat >>confdefs.h <<_ACEOF
64288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64289 _ACEOF
64290
64291 fi
64292 done
64293
64294   else
64295
64296   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64297 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64298   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64299     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64300   echo $ECHO_N "(cached) $ECHO_C" >&6
64301 else
64302
64303
64304
64305       ac_ext=cc
64306 ac_cpp='$CXXCPP $CPPFLAGS'
64307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64310
64311       cat >conftest.$ac_ext <<_ACEOF
64312 /* confdefs.h.  */
64313 _ACEOF
64314 cat confdefs.h >>conftest.$ac_ext
64315 cat >>conftest.$ac_ext <<_ACEOF
64316 /* end confdefs.h.  */
64317 #include <math.h>
64318                       #ifdef HAVE_IEEEFP_H
64319                       #include <ieeefp.h>
64320                       #endif
64321
64322 int
64323 main ()
64324 {
64325  _isnanl(0);
64326   ;
64327   return 0;
64328 }
64329 _ACEOF
64330 rm -f conftest.$ac_objext
64331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64332   (eval $ac_compile) 2>conftest.er1
64333   ac_status=$?
64334   grep -v '^ *+' conftest.er1 >conftest.err
64335   rm -f conftest.er1
64336   cat conftest.err >&5
64337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64338   (exit $ac_status); } &&
64339          { ac_try='test -z "$ac_cxx_werror_flag"
64340                          || test ! -s conftest.err'
64341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64342   (eval $ac_try) 2>&5
64343   ac_status=$?
64344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64345   (exit $ac_status); }; } &&
64346          { ac_try='test -s conftest.$ac_objext'
64347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64348   (eval $ac_try) 2>&5
64349   ac_status=$?
64350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64351   (exit $ac_status); }; }; then
64352   glibcxx_cv_func__isnanl_use=yes
64353 else
64354   echo "$as_me: failed program was:" >&5
64355 sed 's/^/| /' conftest.$ac_ext >&5
64356
64357 glibcxx_cv_func__isnanl_use=no
64358 fi
64359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64360       ac_ext=c
64361 ac_cpp='$CPP $CPPFLAGS'
64362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64365
64366
64367 fi
64368
64369   fi
64370   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64371 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64372
64373     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64374
64375 for ac_func in _isnanl
64376 do
64377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64378 echo "$as_me:$LINENO: checking for $ac_func" >&5
64379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64380 if eval "test \"\${$as_ac_var+set}\" = set"; then
64381   echo $ECHO_N "(cached) $ECHO_C" >&6
64382 else
64383   if test x$gcc_no_link = xyes; then
64384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64386    { (exit 1); exit 1; }; }
64387 fi
64388 cat >conftest.$ac_ext <<_ACEOF
64389 /* confdefs.h.  */
64390 _ACEOF
64391 cat confdefs.h >>conftest.$ac_ext
64392 cat >>conftest.$ac_ext <<_ACEOF
64393 /* end confdefs.h.  */
64394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64396 #define $ac_func innocuous_$ac_func
64397
64398 /* System header to define __stub macros and hopefully few prototypes,
64399     which can conflict with char $ac_func (); below.
64400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64401     <limits.h> exists even on freestanding compilers.  */
64402
64403 #ifdef __STDC__
64404 # include <limits.h>
64405 #else
64406 # include <assert.h>
64407 #endif
64408
64409 #undef $ac_func
64410
64411 /* Override any gcc2 internal prototype to avoid an error.  */
64412 #ifdef __cplusplus
64413 extern "C"
64414 {
64415 #endif
64416 /* We use char because int might match the return type of a gcc2
64417    builtin and then its argument prototype would still apply.  */
64418 char $ac_func ();
64419 /* The GNU C library defines this for functions which it implements
64420     to always fail with ENOSYS.  Some functions are actually named
64421     something starting with __ and the normal name is an alias.  */
64422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64423 choke me
64424 #else
64425 char (*f) () = $ac_func;
64426 #endif
64427 #ifdef __cplusplus
64428 }
64429 #endif
64430
64431 int
64432 main ()
64433 {
64434 return f != $ac_func;
64435   ;
64436   return 0;
64437 }
64438 _ACEOF
64439 rm -f conftest.$ac_objext conftest$ac_exeext
64440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64441   (eval $ac_link) 2>conftest.er1
64442   ac_status=$?
64443   grep -v '^ *+' conftest.er1 >conftest.err
64444   rm -f conftest.er1
64445   cat conftest.err >&5
64446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64447   (exit $ac_status); } &&
64448          { ac_try='test -z "$ac_c_werror_flag"
64449                          || test ! -s conftest.err'
64450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64451   (eval $ac_try) 2>&5
64452   ac_status=$?
64453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64454   (exit $ac_status); }; } &&
64455          { ac_try='test -s conftest$ac_exeext'
64456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64457   (eval $ac_try) 2>&5
64458   ac_status=$?
64459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64460   (exit $ac_status); }; }; then
64461   eval "$as_ac_var=yes"
64462 else
64463   echo "$as_me: failed program was:" >&5
64464 sed 's/^/| /' conftest.$ac_ext >&5
64465
64466 eval "$as_ac_var=no"
64467 fi
64468 rm -f conftest.err conftest.$ac_objext \
64469       conftest$ac_exeext conftest.$ac_ext
64470 fi
64471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64473 if test `eval echo '${'$as_ac_var'}'` = yes; then
64474   cat >>confdefs.h <<_ACEOF
64475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64476 _ACEOF
64477
64478 fi
64479 done
64480
64481     fi
64482   fi
64483
64484
64485
64486
64487
64488
64489   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64490 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64491   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64492     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64493   echo $ECHO_N "(cached) $ECHO_C" >&6
64494 else
64495
64496
64497
64498       ac_ext=cc
64499 ac_cpp='$CXXCPP $CPPFLAGS'
64500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64503
64504       cat >conftest.$ac_ext <<_ACEOF
64505 /* confdefs.h.  */
64506 _ACEOF
64507 cat confdefs.h >>conftest.$ac_ext
64508 cat >>conftest.$ac_ext <<_ACEOF
64509 /* end confdefs.h.  */
64510 #include <math.h>
64511                       #ifdef HAVE_IEEEFP_H
64512                       #include <ieeefp.h>
64513                       #endif
64514
64515 int
64516 main ()
64517 {
64518  isinfl(0);
64519   ;
64520   return 0;
64521 }
64522 _ACEOF
64523 rm -f conftest.$ac_objext
64524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64525   (eval $ac_compile) 2>conftest.er1
64526   ac_status=$?
64527   grep -v '^ *+' conftest.er1 >conftest.err
64528   rm -f conftest.er1
64529   cat conftest.err >&5
64530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64531   (exit $ac_status); } &&
64532          { ac_try='test -z "$ac_cxx_werror_flag"
64533                          || test ! -s conftest.err'
64534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64535   (eval $ac_try) 2>&5
64536   ac_status=$?
64537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64538   (exit $ac_status); }; } &&
64539          { ac_try='test -s conftest.$ac_objext'
64540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64541   (eval $ac_try) 2>&5
64542   ac_status=$?
64543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64544   (exit $ac_status); }; }; then
64545   glibcxx_cv_func_isinfl_use=yes
64546 else
64547   echo "$as_me: failed program was:" >&5
64548 sed 's/^/| /' conftest.$ac_ext >&5
64549
64550 glibcxx_cv_func_isinfl_use=no
64551 fi
64552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64553       ac_ext=c
64554 ac_cpp='$CPP $CPPFLAGS'
64555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64558
64559
64560 fi
64561
64562   fi
64563   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64564 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64565
64566   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64567
64568 for ac_func in isinfl
64569 do
64570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64571 echo "$as_me:$LINENO: checking for $ac_func" >&5
64572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64573 if eval "test \"\${$as_ac_var+set}\" = set"; then
64574   echo $ECHO_N "(cached) $ECHO_C" >&6
64575 else
64576   if test x$gcc_no_link = xyes; then
64577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64579    { (exit 1); exit 1; }; }
64580 fi
64581 cat >conftest.$ac_ext <<_ACEOF
64582 /* confdefs.h.  */
64583 _ACEOF
64584 cat confdefs.h >>conftest.$ac_ext
64585 cat >>conftest.$ac_ext <<_ACEOF
64586 /* end confdefs.h.  */
64587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64589 #define $ac_func innocuous_$ac_func
64590
64591 /* System header to define __stub macros and hopefully few prototypes,
64592     which can conflict with char $ac_func (); below.
64593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64594     <limits.h> exists even on freestanding compilers.  */
64595
64596 #ifdef __STDC__
64597 # include <limits.h>
64598 #else
64599 # include <assert.h>
64600 #endif
64601
64602 #undef $ac_func
64603
64604 /* Override any gcc2 internal prototype to avoid an error.  */
64605 #ifdef __cplusplus
64606 extern "C"
64607 {
64608 #endif
64609 /* We use char because int might match the return type of a gcc2
64610    builtin and then its argument prototype would still apply.  */
64611 char $ac_func ();
64612 /* The GNU C library defines this for functions which it implements
64613     to always fail with ENOSYS.  Some functions are actually named
64614     something starting with __ and the normal name is an alias.  */
64615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64616 choke me
64617 #else
64618 char (*f) () = $ac_func;
64619 #endif
64620 #ifdef __cplusplus
64621 }
64622 #endif
64623
64624 int
64625 main ()
64626 {
64627 return f != $ac_func;
64628   ;
64629   return 0;
64630 }
64631 _ACEOF
64632 rm -f conftest.$ac_objext conftest$ac_exeext
64633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64634   (eval $ac_link) 2>conftest.er1
64635   ac_status=$?
64636   grep -v '^ *+' conftest.er1 >conftest.err
64637   rm -f conftest.er1
64638   cat conftest.err >&5
64639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64640   (exit $ac_status); } &&
64641          { ac_try='test -z "$ac_c_werror_flag"
64642                          || test ! -s conftest.err'
64643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64644   (eval $ac_try) 2>&5
64645   ac_status=$?
64646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64647   (exit $ac_status); }; } &&
64648          { ac_try='test -s conftest$ac_exeext'
64649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64650   (eval $ac_try) 2>&5
64651   ac_status=$?
64652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64653   (exit $ac_status); }; }; then
64654   eval "$as_ac_var=yes"
64655 else
64656   echo "$as_me: failed program was:" >&5
64657 sed 's/^/| /' conftest.$ac_ext >&5
64658
64659 eval "$as_ac_var=no"
64660 fi
64661 rm -f conftest.err conftest.$ac_objext \
64662       conftest$ac_exeext conftest.$ac_ext
64663 fi
64664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64666 if test `eval echo '${'$as_ac_var'}'` = yes; then
64667   cat >>confdefs.h <<_ACEOF
64668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64669 _ACEOF
64670
64671 fi
64672 done
64673
64674   else
64675
64676   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64677 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64678   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64679     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64680   echo $ECHO_N "(cached) $ECHO_C" >&6
64681 else
64682
64683
64684
64685       ac_ext=cc
64686 ac_cpp='$CXXCPP $CPPFLAGS'
64687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64690
64691       cat >conftest.$ac_ext <<_ACEOF
64692 /* confdefs.h.  */
64693 _ACEOF
64694 cat confdefs.h >>conftest.$ac_ext
64695 cat >>conftest.$ac_ext <<_ACEOF
64696 /* end confdefs.h.  */
64697 #include <math.h>
64698                       #ifdef HAVE_IEEEFP_H
64699                       #include <ieeefp.h>
64700                       #endif
64701
64702 int
64703 main ()
64704 {
64705  _isinfl(0);
64706   ;
64707   return 0;
64708 }
64709 _ACEOF
64710 rm -f conftest.$ac_objext
64711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64712   (eval $ac_compile) 2>conftest.er1
64713   ac_status=$?
64714   grep -v '^ *+' conftest.er1 >conftest.err
64715   rm -f conftest.er1
64716   cat conftest.err >&5
64717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64718   (exit $ac_status); } &&
64719          { ac_try='test -z "$ac_cxx_werror_flag"
64720                          || test ! -s conftest.err'
64721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64722   (eval $ac_try) 2>&5
64723   ac_status=$?
64724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64725   (exit $ac_status); }; } &&
64726          { ac_try='test -s conftest.$ac_objext'
64727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64728   (eval $ac_try) 2>&5
64729   ac_status=$?
64730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64731   (exit $ac_status); }; }; then
64732   glibcxx_cv_func__isinfl_use=yes
64733 else
64734   echo "$as_me: failed program was:" >&5
64735 sed 's/^/| /' conftest.$ac_ext >&5
64736
64737 glibcxx_cv_func__isinfl_use=no
64738 fi
64739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64740       ac_ext=c
64741 ac_cpp='$CPP $CPPFLAGS'
64742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64745
64746
64747 fi
64748
64749   fi
64750   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64751 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64752
64753     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64754
64755 for ac_func in _isinfl
64756 do
64757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64758 echo "$as_me:$LINENO: checking for $ac_func" >&5
64759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64760 if eval "test \"\${$as_ac_var+set}\" = set"; then
64761   echo $ECHO_N "(cached) $ECHO_C" >&6
64762 else
64763   if test x$gcc_no_link = xyes; then
64764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64766    { (exit 1); exit 1; }; }
64767 fi
64768 cat >conftest.$ac_ext <<_ACEOF
64769 /* confdefs.h.  */
64770 _ACEOF
64771 cat confdefs.h >>conftest.$ac_ext
64772 cat >>conftest.$ac_ext <<_ACEOF
64773 /* end confdefs.h.  */
64774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64776 #define $ac_func innocuous_$ac_func
64777
64778 /* System header to define __stub macros and hopefully few prototypes,
64779     which can conflict with char $ac_func (); below.
64780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64781     <limits.h> exists even on freestanding compilers.  */
64782
64783 #ifdef __STDC__
64784 # include <limits.h>
64785 #else
64786 # include <assert.h>
64787 #endif
64788
64789 #undef $ac_func
64790
64791 /* Override any gcc2 internal prototype to avoid an error.  */
64792 #ifdef __cplusplus
64793 extern "C"
64794 {
64795 #endif
64796 /* We use char because int might match the return type of a gcc2
64797    builtin and then its argument prototype would still apply.  */
64798 char $ac_func ();
64799 /* The GNU C library defines this for functions which it implements
64800     to always fail with ENOSYS.  Some functions are actually named
64801     something starting with __ and the normal name is an alias.  */
64802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64803 choke me
64804 #else
64805 char (*f) () = $ac_func;
64806 #endif
64807 #ifdef __cplusplus
64808 }
64809 #endif
64810
64811 int
64812 main ()
64813 {
64814 return f != $ac_func;
64815   ;
64816   return 0;
64817 }
64818 _ACEOF
64819 rm -f conftest.$ac_objext conftest$ac_exeext
64820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64821   (eval $ac_link) 2>conftest.er1
64822   ac_status=$?
64823   grep -v '^ *+' conftest.er1 >conftest.err
64824   rm -f conftest.er1
64825   cat conftest.err >&5
64826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64827   (exit $ac_status); } &&
64828          { ac_try='test -z "$ac_c_werror_flag"
64829                          || test ! -s conftest.err'
64830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64831   (eval $ac_try) 2>&5
64832   ac_status=$?
64833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64834   (exit $ac_status); }; } &&
64835          { ac_try='test -s conftest$ac_exeext'
64836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64837   (eval $ac_try) 2>&5
64838   ac_status=$?
64839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64840   (exit $ac_status); }; }; then
64841   eval "$as_ac_var=yes"
64842 else
64843   echo "$as_me: failed program was:" >&5
64844 sed 's/^/| /' conftest.$ac_ext >&5
64845
64846 eval "$as_ac_var=no"
64847 fi
64848 rm -f conftest.err conftest.$ac_objext \
64849       conftest$ac_exeext conftest.$ac_ext
64850 fi
64851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64853 if test `eval echo '${'$as_ac_var'}'` = yes; then
64854   cat >>confdefs.h <<_ACEOF
64855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64856 _ACEOF
64857
64858 fi
64859 done
64860
64861     fi
64862   fi
64863
64864
64865
64866
64867
64868
64869   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64870 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64871   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64872     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64873   echo $ECHO_N "(cached) $ECHO_C" >&6
64874 else
64875
64876
64877
64878       ac_ext=cc
64879 ac_cpp='$CXXCPP $CPPFLAGS'
64880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64883
64884       cat >conftest.$ac_ext <<_ACEOF
64885 /* confdefs.h.  */
64886 _ACEOF
64887 cat confdefs.h >>conftest.$ac_ext
64888 cat >>conftest.$ac_ext <<_ACEOF
64889 /* end confdefs.h.  */
64890 #include <math.h>
64891 int
64892 main ()
64893 {
64894  copysignl(0, 0);
64895   ;
64896   return 0;
64897 }
64898 _ACEOF
64899 rm -f conftest.$ac_objext
64900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64901   (eval $ac_compile) 2>conftest.er1
64902   ac_status=$?
64903   grep -v '^ *+' conftest.er1 >conftest.err
64904   rm -f conftest.er1
64905   cat conftest.err >&5
64906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64907   (exit $ac_status); } &&
64908          { ac_try='test -z "$ac_cxx_werror_flag"
64909                          || test ! -s conftest.err'
64910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64911   (eval $ac_try) 2>&5
64912   ac_status=$?
64913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64914   (exit $ac_status); }; } &&
64915          { ac_try='test -s conftest.$ac_objext'
64916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64917   (eval $ac_try) 2>&5
64918   ac_status=$?
64919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64920   (exit $ac_status); }; }; then
64921   glibcxx_cv_func_copysignl_use=yes
64922 else
64923   echo "$as_me: failed program was:" >&5
64924 sed 's/^/| /' conftest.$ac_ext >&5
64925
64926 glibcxx_cv_func_copysignl_use=no
64927 fi
64928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64929       ac_ext=c
64930 ac_cpp='$CPP $CPPFLAGS'
64931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64934
64935
64936 fi
64937
64938   fi
64939   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64940 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64941
64942   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64943
64944 for ac_func in copysignl
64945 do
64946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64947 echo "$as_me:$LINENO: checking for $ac_func" >&5
64948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64949 if eval "test \"\${$as_ac_var+set}\" = set"; then
64950   echo $ECHO_N "(cached) $ECHO_C" >&6
64951 else
64952   if test x$gcc_no_link = xyes; then
64953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64955    { (exit 1); exit 1; }; }
64956 fi
64957 cat >conftest.$ac_ext <<_ACEOF
64958 /* confdefs.h.  */
64959 _ACEOF
64960 cat confdefs.h >>conftest.$ac_ext
64961 cat >>conftest.$ac_ext <<_ACEOF
64962 /* end confdefs.h.  */
64963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64965 #define $ac_func innocuous_$ac_func
64966
64967 /* System header to define __stub macros and hopefully few prototypes,
64968     which can conflict with char $ac_func (); below.
64969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64970     <limits.h> exists even on freestanding compilers.  */
64971
64972 #ifdef __STDC__
64973 # include <limits.h>
64974 #else
64975 # include <assert.h>
64976 #endif
64977
64978 #undef $ac_func
64979
64980 /* Override any gcc2 internal prototype to avoid an error.  */
64981 #ifdef __cplusplus
64982 extern "C"
64983 {
64984 #endif
64985 /* We use char because int might match the return type of a gcc2
64986    builtin and then its argument prototype would still apply.  */
64987 char $ac_func ();
64988 /* The GNU C library defines this for functions which it implements
64989     to always fail with ENOSYS.  Some functions are actually named
64990     something starting with __ and the normal name is an alias.  */
64991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64992 choke me
64993 #else
64994 char (*f) () = $ac_func;
64995 #endif
64996 #ifdef __cplusplus
64997 }
64998 #endif
64999
65000 int
65001 main ()
65002 {
65003 return f != $ac_func;
65004   ;
65005   return 0;
65006 }
65007 _ACEOF
65008 rm -f conftest.$ac_objext conftest$ac_exeext
65009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65010   (eval $ac_link) 2>conftest.er1
65011   ac_status=$?
65012   grep -v '^ *+' conftest.er1 >conftest.err
65013   rm -f conftest.er1
65014   cat conftest.err >&5
65015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65016   (exit $ac_status); } &&
65017          { ac_try='test -z "$ac_c_werror_flag"
65018                          || test ! -s conftest.err'
65019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65020   (eval $ac_try) 2>&5
65021   ac_status=$?
65022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65023   (exit $ac_status); }; } &&
65024          { ac_try='test -s conftest$ac_exeext'
65025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65026   (eval $ac_try) 2>&5
65027   ac_status=$?
65028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65029   (exit $ac_status); }; }; then
65030   eval "$as_ac_var=yes"
65031 else
65032   echo "$as_me: failed program was:" >&5
65033 sed 's/^/| /' conftest.$ac_ext >&5
65034
65035 eval "$as_ac_var=no"
65036 fi
65037 rm -f conftest.err conftest.$ac_objext \
65038       conftest$ac_exeext conftest.$ac_ext
65039 fi
65040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65042 if test `eval echo '${'$as_ac_var'}'` = yes; then
65043   cat >>confdefs.h <<_ACEOF
65044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65045 _ACEOF
65046
65047 fi
65048 done
65049
65050   else
65051
65052   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
65053 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
65054   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
65055     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
65056   echo $ECHO_N "(cached) $ECHO_C" >&6
65057 else
65058
65059
65060
65061       ac_ext=cc
65062 ac_cpp='$CXXCPP $CPPFLAGS'
65063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65066
65067       cat >conftest.$ac_ext <<_ACEOF
65068 /* confdefs.h.  */
65069 _ACEOF
65070 cat confdefs.h >>conftest.$ac_ext
65071 cat >>conftest.$ac_ext <<_ACEOF
65072 /* end confdefs.h.  */
65073 #include <math.h>
65074 int
65075 main ()
65076 {
65077  _copysignl(0, 0);
65078   ;
65079   return 0;
65080 }
65081 _ACEOF
65082 rm -f conftest.$ac_objext
65083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65084   (eval $ac_compile) 2>conftest.er1
65085   ac_status=$?
65086   grep -v '^ *+' conftest.er1 >conftest.err
65087   rm -f conftest.er1
65088   cat conftest.err >&5
65089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65090   (exit $ac_status); } &&
65091          { ac_try='test -z "$ac_cxx_werror_flag"
65092                          || test ! -s conftest.err'
65093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65094   (eval $ac_try) 2>&5
65095   ac_status=$?
65096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65097   (exit $ac_status); }; } &&
65098          { ac_try='test -s conftest.$ac_objext'
65099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65100   (eval $ac_try) 2>&5
65101   ac_status=$?
65102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65103   (exit $ac_status); }; }; then
65104   glibcxx_cv_func__copysignl_use=yes
65105 else
65106   echo "$as_me: failed program was:" >&5
65107 sed 's/^/| /' conftest.$ac_ext >&5
65108
65109 glibcxx_cv_func__copysignl_use=no
65110 fi
65111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65112       ac_ext=c
65113 ac_cpp='$CPP $CPPFLAGS'
65114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65117
65118
65119 fi
65120
65121   fi
65122   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
65123 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
65124
65125     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
65126
65127 for ac_func in _copysignl
65128 do
65129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65130 echo "$as_me:$LINENO: checking for $ac_func" >&5
65131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65132 if eval "test \"\${$as_ac_var+set}\" = set"; then
65133   echo $ECHO_N "(cached) $ECHO_C" >&6
65134 else
65135   if test x$gcc_no_link = xyes; then
65136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65138    { (exit 1); exit 1; }; }
65139 fi
65140 cat >conftest.$ac_ext <<_ACEOF
65141 /* confdefs.h.  */
65142 _ACEOF
65143 cat confdefs.h >>conftest.$ac_ext
65144 cat >>conftest.$ac_ext <<_ACEOF
65145 /* end confdefs.h.  */
65146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65148 #define $ac_func innocuous_$ac_func
65149
65150 /* System header to define __stub macros and hopefully few prototypes,
65151     which can conflict with char $ac_func (); below.
65152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65153     <limits.h> exists even on freestanding compilers.  */
65154
65155 #ifdef __STDC__
65156 # include <limits.h>
65157 #else
65158 # include <assert.h>
65159 #endif
65160
65161 #undef $ac_func
65162
65163 /* Override any gcc2 internal prototype to avoid an error.  */
65164 #ifdef __cplusplus
65165 extern "C"
65166 {
65167 #endif
65168 /* We use char because int might match the return type of a gcc2
65169    builtin and then its argument prototype would still apply.  */
65170 char $ac_func ();
65171 /* The GNU C library defines this for functions which it implements
65172     to always fail with ENOSYS.  Some functions are actually named
65173     something starting with __ and the normal name is an alias.  */
65174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65175 choke me
65176 #else
65177 char (*f) () = $ac_func;
65178 #endif
65179 #ifdef __cplusplus
65180 }
65181 #endif
65182
65183 int
65184 main ()
65185 {
65186 return f != $ac_func;
65187   ;
65188   return 0;
65189 }
65190 _ACEOF
65191 rm -f conftest.$ac_objext conftest$ac_exeext
65192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65193   (eval $ac_link) 2>conftest.er1
65194   ac_status=$?
65195   grep -v '^ *+' conftest.er1 >conftest.err
65196   rm -f conftest.er1
65197   cat conftest.err >&5
65198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65199   (exit $ac_status); } &&
65200          { ac_try='test -z "$ac_c_werror_flag"
65201                          || test ! -s conftest.err'
65202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65203   (eval $ac_try) 2>&5
65204   ac_status=$?
65205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65206   (exit $ac_status); }; } &&
65207          { ac_try='test -s conftest$ac_exeext'
65208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65209   (eval $ac_try) 2>&5
65210   ac_status=$?
65211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65212   (exit $ac_status); }; }; then
65213   eval "$as_ac_var=yes"
65214 else
65215   echo "$as_me: failed program was:" >&5
65216 sed 's/^/| /' conftest.$ac_ext >&5
65217
65218 eval "$as_ac_var=no"
65219 fi
65220 rm -f conftest.err conftest.$ac_objext \
65221       conftest$ac_exeext conftest.$ac_ext
65222 fi
65223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65225 if test `eval echo '${'$as_ac_var'}'` = yes; then
65226   cat >>confdefs.h <<_ACEOF
65227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65228 _ACEOF
65229
65230 fi
65231 done
65232
65233     fi
65234   fi
65235
65236
65237
65238
65239
65240
65241   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65242 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65243   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65244     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65245   echo $ECHO_N "(cached) $ECHO_C" >&6
65246 else
65247
65248
65249
65250       ac_ext=cc
65251 ac_cpp='$CXXCPP $CPPFLAGS'
65252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65255
65256       cat >conftest.$ac_ext <<_ACEOF
65257 /* confdefs.h.  */
65258 _ACEOF
65259 cat confdefs.h >>conftest.$ac_ext
65260 cat >>conftest.$ac_ext <<_ACEOF
65261 /* end confdefs.h.  */
65262 #include <math.h>
65263 int
65264 main ()
65265 {
65266  atan2l(0, 0);
65267   ;
65268   return 0;
65269 }
65270 _ACEOF
65271 rm -f conftest.$ac_objext
65272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65273   (eval $ac_compile) 2>conftest.er1
65274   ac_status=$?
65275   grep -v '^ *+' conftest.er1 >conftest.err
65276   rm -f conftest.er1
65277   cat conftest.err >&5
65278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65279   (exit $ac_status); } &&
65280          { ac_try='test -z "$ac_cxx_werror_flag"
65281                          || test ! -s conftest.err'
65282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65283   (eval $ac_try) 2>&5
65284   ac_status=$?
65285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65286   (exit $ac_status); }; } &&
65287          { ac_try='test -s conftest.$ac_objext'
65288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65289   (eval $ac_try) 2>&5
65290   ac_status=$?
65291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65292   (exit $ac_status); }; }; then
65293   glibcxx_cv_func_atan2l_use=yes
65294 else
65295   echo "$as_me: failed program was:" >&5
65296 sed 's/^/| /' conftest.$ac_ext >&5
65297
65298 glibcxx_cv_func_atan2l_use=no
65299 fi
65300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65301       ac_ext=c
65302 ac_cpp='$CPP $CPPFLAGS'
65303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65306
65307
65308 fi
65309
65310   fi
65311   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65312 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65313
65314   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65315
65316 for ac_func in atan2l
65317 do
65318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65319 echo "$as_me:$LINENO: checking for $ac_func" >&5
65320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65321 if eval "test \"\${$as_ac_var+set}\" = set"; then
65322   echo $ECHO_N "(cached) $ECHO_C" >&6
65323 else
65324   if test x$gcc_no_link = xyes; then
65325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65327    { (exit 1); exit 1; }; }
65328 fi
65329 cat >conftest.$ac_ext <<_ACEOF
65330 /* confdefs.h.  */
65331 _ACEOF
65332 cat confdefs.h >>conftest.$ac_ext
65333 cat >>conftest.$ac_ext <<_ACEOF
65334 /* end confdefs.h.  */
65335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65337 #define $ac_func innocuous_$ac_func
65338
65339 /* System header to define __stub macros and hopefully few prototypes,
65340     which can conflict with char $ac_func (); below.
65341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65342     <limits.h> exists even on freestanding compilers.  */
65343
65344 #ifdef __STDC__
65345 # include <limits.h>
65346 #else
65347 # include <assert.h>
65348 #endif
65349
65350 #undef $ac_func
65351
65352 /* Override any gcc2 internal prototype to avoid an error.  */
65353 #ifdef __cplusplus
65354 extern "C"
65355 {
65356 #endif
65357 /* We use char because int might match the return type of a gcc2
65358    builtin and then its argument prototype would still apply.  */
65359 char $ac_func ();
65360 /* The GNU C library defines this for functions which it implements
65361     to always fail with ENOSYS.  Some functions are actually named
65362     something starting with __ and the normal name is an alias.  */
65363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65364 choke me
65365 #else
65366 char (*f) () = $ac_func;
65367 #endif
65368 #ifdef __cplusplus
65369 }
65370 #endif
65371
65372 int
65373 main ()
65374 {
65375 return f != $ac_func;
65376   ;
65377   return 0;
65378 }
65379 _ACEOF
65380 rm -f conftest.$ac_objext conftest$ac_exeext
65381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65382   (eval $ac_link) 2>conftest.er1
65383   ac_status=$?
65384   grep -v '^ *+' conftest.er1 >conftest.err
65385   rm -f conftest.er1
65386   cat conftest.err >&5
65387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65388   (exit $ac_status); } &&
65389          { ac_try='test -z "$ac_c_werror_flag"
65390                          || test ! -s conftest.err'
65391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65392   (eval $ac_try) 2>&5
65393   ac_status=$?
65394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65395   (exit $ac_status); }; } &&
65396          { ac_try='test -s conftest$ac_exeext'
65397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65398   (eval $ac_try) 2>&5
65399   ac_status=$?
65400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65401   (exit $ac_status); }; }; then
65402   eval "$as_ac_var=yes"
65403 else
65404   echo "$as_me: failed program was:" >&5
65405 sed 's/^/| /' conftest.$ac_ext >&5
65406
65407 eval "$as_ac_var=no"
65408 fi
65409 rm -f conftest.err conftest.$ac_objext \
65410       conftest$ac_exeext conftest.$ac_ext
65411 fi
65412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65414 if test `eval echo '${'$as_ac_var'}'` = yes; then
65415   cat >>confdefs.h <<_ACEOF
65416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65417 _ACEOF
65418
65419 fi
65420 done
65421
65422   else
65423
65424   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65425 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65426   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65427     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65428   echo $ECHO_N "(cached) $ECHO_C" >&6
65429 else
65430
65431
65432
65433       ac_ext=cc
65434 ac_cpp='$CXXCPP $CPPFLAGS'
65435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65438
65439       cat >conftest.$ac_ext <<_ACEOF
65440 /* confdefs.h.  */
65441 _ACEOF
65442 cat confdefs.h >>conftest.$ac_ext
65443 cat >>conftest.$ac_ext <<_ACEOF
65444 /* end confdefs.h.  */
65445 #include <math.h>
65446 int
65447 main ()
65448 {
65449  _atan2l(0, 0);
65450   ;
65451   return 0;
65452 }
65453 _ACEOF
65454 rm -f conftest.$ac_objext
65455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65456   (eval $ac_compile) 2>conftest.er1
65457   ac_status=$?
65458   grep -v '^ *+' conftest.er1 >conftest.err
65459   rm -f conftest.er1
65460   cat conftest.err >&5
65461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65462   (exit $ac_status); } &&
65463          { ac_try='test -z "$ac_cxx_werror_flag"
65464                          || test ! -s conftest.err'
65465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65466   (eval $ac_try) 2>&5
65467   ac_status=$?
65468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65469   (exit $ac_status); }; } &&
65470          { ac_try='test -s conftest.$ac_objext'
65471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65472   (eval $ac_try) 2>&5
65473   ac_status=$?
65474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65475   (exit $ac_status); }; }; then
65476   glibcxx_cv_func__atan2l_use=yes
65477 else
65478   echo "$as_me: failed program was:" >&5
65479 sed 's/^/| /' conftest.$ac_ext >&5
65480
65481 glibcxx_cv_func__atan2l_use=no
65482 fi
65483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65484       ac_ext=c
65485 ac_cpp='$CPP $CPPFLAGS'
65486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65489
65490
65491 fi
65492
65493   fi
65494   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65495 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65496
65497     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65498
65499 for ac_func in _atan2l
65500 do
65501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65502 echo "$as_me:$LINENO: checking for $ac_func" >&5
65503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65504 if eval "test \"\${$as_ac_var+set}\" = set"; then
65505   echo $ECHO_N "(cached) $ECHO_C" >&6
65506 else
65507   if test x$gcc_no_link = xyes; then
65508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65510    { (exit 1); exit 1; }; }
65511 fi
65512 cat >conftest.$ac_ext <<_ACEOF
65513 /* confdefs.h.  */
65514 _ACEOF
65515 cat confdefs.h >>conftest.$ac_ext
65516 cat >>conftest.$ac_ext <<_ACEOF
65517 /* end confdefs.h.  */
65518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65520 #define $ac_func innocuous_$ac_func
65521
65522 /* System header to define __stub macros and hopefully few prototypes,
65523     which can conflict with char $ac_func (); below.
65524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65525     <limits.h> exists even on freestanding compilers.  */
65526
65527 #ifdef __STDC__
65528 # include <limits.h>
65529 #else
65530 # include <assert.h>
65531 #endif
65532
65533 #undef $ac_func
65534
65535 /* Override any gcc2 internal prototype to avoid an error.  */
65536 #ifdef __cplusplus
65537 extern "C"
65538 {
65539 #endif
65540 /* We use char because int might match the return type of a gcc2
65541    builtin and then its argument prototype would still apply.  */
65542 char $ac_func ();
65543 /* The GNU C library defines this for functions which it implements
65544     to always fail with ENOSYS.  Some functions are actually named
65545     something starting with __ and the normal name is an alias.  */
65546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65547 choke me
65548 #else
65549 char (*f) () = $ac_func;
65550 #endif
65551 #ifdef __cplusplus
65552 }
65553 #endif
65554
65555 int
65556 main ()
65557 {
65558 return f != $ac_func;
65559   ;
65560   return 0;
65561 }
65562 _ACEOF
65563 rm -f conftest.$ac_objext conftest$ac_exeext
65564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65565   (eval $ac_link) 2>conftest.er1
65566   ac_status=$?
65567   grep -v '^ *+' conftest.er1 >conftest.err
65568   rm -f conftest.er1
65569   cat conftest.err >&5
65570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65571   (exit $ac_status); } &&
65572          { ac_try='test -z "$ac_c_werror_flag"
65573                          || test ! -s conftest.err'
65574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65575   (eval $ac_try) 2>&5
65576   ac_status=$?
65577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65578   (exit $ac_status); }; } &&
65579          { ac_try='test -s conftest$ac_exeext'
65580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65581   (eval $ac_try) 2>&5
65582   ac_status=$?
65583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65584   (exit $ac_status); }; }; then
65585   eval "$as_ac_var=yes"
65586 else
65587   echo "$as_me: failed program was:" >&5
65588 sed 's/^/| /' conftest.$ac_ext >&5
65589
65590 eval "$as_ac_var=no"
65591 fi
65592 rm -f conftest.err conftest.$ac_objext \
65593       conftest$ac_exeext conftest.$ac_ext
65594 fi
65595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65597 if test `eval echo '${'$as_ac_var'}'` = yes; then
65598   cat >>confdefs.h <<_ACEOF
65599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65600 _ACEOF
65601
65602 fi
65603 done
65604
65605     fi
65606   fi
65607
65608
65609
65610
65611
65612
65613   echo "$as_me:$LINENO: checking for expl declaration" >&5
65614 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65615   if test x${glibcxx_cv_func_expl_use+set} != xset; then
65616     if test "${glibcxx_cv_func_expl_use+set}" = set; then
65617   echo $ECHO_N "(cached) $ECHO_C" >&6
65618 else
65619
65620
65621
65622       ac_ext=cc
65623 ac_cpp='$CXXCPP $CPPFLAGS'
65624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65627
65628       cat >conftest.$ac_ext <<_ACEOF
65629 /* confdefs.h.  */
65630 _ACEOF
65631 cat confdefs.h >>conftest.$ac_ext
65632 cat >>conftest.$ac_ext <<_ACEOF
65633 /* end confdefs.h.  */
65634 #include <math.h>
65635                       #ifdef HAVE_IEEEFP_H
65636                       #include <ieeefp.h>
65637                       #endif
65638
65639 int
65640 main ()
65641 {
65642  expl(0);
65643   ;
65644   return 0;
65645 }
65646 _ACEOF
65647 rm -f conftest.$ac_objext
65648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65649   (eval $ac_compile) 2>conftest.er1
65650   ac_status=$?
65651   grep -v '^ *+' conftest.er1 >conftest.err
65652   rm -f conftest.er1
65653   cat conftest.err >&5
65654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65655   (exit $ac_status); } &&
65656          { ac_try='test -z "$ac_cxx_werror_flag"
65657                          || test ! -s conftest.err'
65658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65659   (eval $ac_try) 2>&5
65660   ac_status=$?
65661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65662   (exit $ac_status); }; } &&
65663          { ac_try='test -s conftest.$ac_objext'
65664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65665   (eval $ac_try) 2>&5
65666   ac_status=$?
65667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65668   (exit $ac_status); }; }; then
65669   glibcxx_cv_func_expl_use=yes
65670 else
65671   echo "$as_me: failed program was:" >&5
65672 sed 's/^/| /' conftest.$ac_ext >&5
65673
65674 glibcxx_cv_func_expl_use=no
65675 fi
65676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65677       ac_ext=c
65678 ac_cpp='$CPP $CPPFLAGS'
65679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65682
65683
65684 fi
65685
65686   fi
65687   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65688 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65689
65690   if test x$glibcxx_cv_func_expl_use = x"yes"; then
65691
65692 for ac_func in expl
65693 do
65694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65695 echo "$as_me:$LINENO: checking for $ac_func" >&5
65696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65697 if eval "test \"\${$as_ac_var+set}\" = set"; then
65698   echo $ECHO_N "(cached) $ECHO_C" >&6
65699 else
65700   if test x$gcc_no_link = xyes; then
65701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65703    { (exit 1); exit 1; }; }
65704 fi
65705 cat >conftest.$ac_ext <<_ACEOF
65706 /* confdefs.h.  */
65707 _ACEOF
65708 cat confdefs.h >>conftest.$ac_ext
65709 cat >>conftest.$ac_ext <<_ACEOF
65710 /* end confdefs.h.  */
65711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65713 #define $ac_func innocuous_$ac_func
65714
65715 /* System header to define __stub macros and hopefully few prototypes,
65716     which can conflict with char $ac_func (); below.
65717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65718     <limits.h> exists even on freestanding compilers.  */
65719
65720 #ifdef __STDC__
65721 # include <limits.h>
65722 #else
65723 # include <assert.h>
65724 #endif
65725
65726 #undef $ac_func
65727
65728 /* Override any gcc2 internal prototype to avoid an error.  */
65729 #ifdef __cplusplus
65730 extern "C"
65731 {
65732 #endif
65733 /* We use char because int might match the return type of a gcc2
65734    builtin and then its argument prototype would still apply.  */
65735 char $ac_func ();
65736 /* The GNU C library defines this for functions which it implements
65737     to always fail with ENOSYS.  Some functions are actually named
65738     something starting with __ and the normal name is an alias.  */
65739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65740 choke me
65741 #else
65742 char (*f) () = $ac_func;
65743 #endif
65744 #ifdef __cplusplus
65745 }
65746 #endif
65747
65748 int
65749 main ()
65750 {
65751 return f != $ac_func;
65752   ;
65753   return 0;
65754 }
65755 _ACEOF
65756 rm -f conftest.$ac_objext conftest$ac_exeext
65757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65758   (eval $ac_link) 2>conftest.er1
65759   ac_status=$?
65760   grep -v '^ *+' conftest.er1 >conftest.err
65761   rm -f conftest.er1
65762   cat conftest.err >&5
65763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65764   (exit $ac_status); } &&
65765          { ac_try='test -z "$ac_c_werror_flag"
65766                          || test ! -s conftest.err'
65767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65768   (eval $ac_try) 2>&5
65769   ac_status=$?
65770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65771   (exit $ac_status); }; } &&
65772          { ac_try='test -s conftest$ac_exeext'
65773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65774   (eval $ac_try) 2>&5
65775   ac_status=$?
65776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65777   (exit $ac_status); }; }; then
65778   eval "$as_ac_var=yes"
65779 else
65780   echo "$as_me: failed program was:" >&5
65781 sed 's/^/| /' conftest.$ac_ext >&5
65782
65783 eval "$as_ac_var=no"
65784 fi
65785 rm -f conftest.err conftest.$ac_objext \
65786       conftest$ac_exeext conftest.$ac_ext
65787 fi
65788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65790 if test `eval echo '${'$as_ac_var'}'` = yes; then
65791   cat >>confdefs.h <<_ACEOF
65792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65793 _ACEOF
65794
65795 fi
65796 done
65797
65798   else
65799
65800   echo "$as_me:$LINENO: checking for _expl declaration" >&5
65801 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65802   if test x${glibcxx_cv_func__expl_use+set} != xset; then
65803     if test "${glibcxx_cv_func__expl_use+set}" = set; then
65804   echo $ECHO_N "(cached) $ECHO_C" >&6
65805 else
65806
65807
65808
65809       ac_ext=cc
65810 ac_cpp='$CXXCPP $CPPFLAGS'
65811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65814
65815       cat >conftest.$ac_ext <<_ACEOF
65816 /* confdefs.h.  */
65817 _ACEOF
65818 cat confdefs.h >>conftest.$ac_ext
65819 cat >>conftest.$ac_ext <<_ACEOF
65820 /* end confdefs.h.  */
65821 #include <math.h>
65822                       #ifdef HAVE_IEEEFP_H
65823                       #include <ieeefp.h>
65824                       #endif
65825
65826 int
65827 main ()
65828 {
65829  _expl(0);
65830   ;
65831   return 0;
65832 }
65833 _ACEOF
65834 rm -f conftest.$ac_objext
65835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65836   (eval $ac_compile) 2>conftest.er1
65837   ac_status=$?
65838   grep -v '^ *+' conftest.er1 >conftest.err
65839   rm -f conftest.er1
65840   cat conftest.err >&5
65841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65842   (exit $ac_status); } &&
65843          { ac_try='test -z "$ac_cxx_werror_flag"
65844                          || test ! -s conftest.err'
65845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65846   (eval $ac_try) 2>&5
65847   ac_status=$?
65848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65849   (exit $ac_status); }; } &&
65850          { ac_try='test -s conftest.$ac_objext'
65851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65852   (eval $ac_try) 2>&5
65853   ac_status=$?
65854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65855   (exit $ac_status); }; }; then
65856   glibcxx_cv_func__expl_use=yes
65857 else
65858   echo "$as_me: failed program was:" >&5
65859 sed 's/^/| /' conftest.$ac_ext >&5
65860
65861 glibcxx_cv_func__expl_use=no
65862 fi
65863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65864       ac_ext=c
65865 ac_cpp='$CPP $CPPFLAGS'
65866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65869
65870
65871 fi
65872
65873   fi
65874   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65875 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65876
65877     if test x$glibcxx_cv_func__expl_use = x"yes"; then
65878
65879 for ac_func in _expl
65880 do
65881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65882 echo "$as_me:$LINENO: checking for $ac_func" >&5
65883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65884 if eval "test \"\${$as_ac_var+set}\" = set"; then
65885   echo $ECHO_N "(cached) $ECHO_C" >&6
65886 else
65887   if test x$gcc_no_link = xyes; then
65888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65890    { (exit 1); exit 1; }; }
65891 fi
65892 cat >conftest.$ac_ext <<_ACEOF
65893 /* confdefs.h.  */
65894 _ACEOF
65895 cat confdefs.h >>conftest.$ac_ext
65896 cat >>conftest.$ac_ext <<_ACEOF
65897 /* end confdefs.h.  */
65898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65900 #define $ac_func innocuous_$ac_func
65901
65902 /* System header to define __stub macros and hopefully few prototypes,
65903     which can conflict with char $ac_func (); below.
65904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65905     <limits.h> exists even on freestanding compilers.  */
65906
65907 #ifdef __STDC__
65908 # include <limits.h>
65909 #else
65910 # include <assert.h>
65911 #endif
65912
65913 #undef $ac_func
65914
65915 /* Override any gcc2 internal prototype to avoid an error.  */
65916 #ifdef __cplusplus
65917 extern "C"
65918 {
65919 #endif
65920 /* We use char because int might match the return type of a gcc2
65921    builtin and then its argument prototype would still apply.  */
65922 char $ac_func ();
65923 /* The GNU C library defines this for functions which it implements
65924     to always fail with ENOSYS.  Some functions are actually named
65925     something starting with __ and the normal name is an alias.  */
65926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65927 choke me
65928 #else
65929 char (*f) () = $ac_func;
65930 #endif
65931 #ifdef __cplusplus
65932 }
65933 #endif
65934
65935 int
65936 main ()
65937 {
65938 return f != $ac_func;
65939   ;
65940   return 0;
65941 }
65942 _ACEOF
65943 rm -f conftest.$ac_objext conftest$ac_exeext
65944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65945   (eval $ac_link) 2>conftest.er1
65946   ac_status=$?
65947   grep -v '^ *+' conftest.er1 >conftest.err
65948   rm -f conftest.er1
65949   cat conftest.err >&5
65950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65951   (exit $ac_status); } &&
65952          { ac_try='test -z "$ac_c_werror_flag"
65953                          || test ! -s conftest.err'
65954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65955   (eval $ac_try) 2>&5
65956   ac_status=$?
65957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65958   (exit $ac_status); }; } &&
65959          { ac_try='test -s conftest$ac_exeext'
65960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65961   (eval $ac_try) 2>&5
65962   ac_status=$?
65963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65964   (exit $ac_status); }; }; then
65965   eval "$as_ac_var=yes"
65966 else
65967   echo "$as_me: failed program was:" >&5
65968 sed 's/^/| /' conftest.$ac_ext >&5
65969
65970 eval "$as_ac_var=no"
65971 fi
65972 rm -f conftest.err conftest.$ac_objext \
65973       conftest$ac_exeext conftest.$ac_ext
65974 fi
65975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65977 if test `eval echo '${'$as_ac_var'}'` = yes; then
65978   cat >>confdefs.h <<_ACEOF
65979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65980 _ACEOF
65981
65982 fi
65983 done
65984
65985     fi
65986   fi
65987
65988
65989
65990
65991
65992
65993   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65994 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65995   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65996     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65997   echo $ECHO_N "(cached) $ECHO_C" >&6
65998 else
65999
66000
66001
66002       ac_ext=cc
66003 ac_cpp='$CXXCPP $CPPFLAGS'
66004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66007
66008       cat >conftest.$ac_ext <<_ACEOF
66009 /* confdefs.h.  */
66010 _ACEOF
66011 cat confdefs.h >>conftest.$ac_ext
66012 cat >>conftest.$ac_ext <<_ACEOF
66013 /* end confdefs.h.  */
66014 #include <math.h>
66015                       #ifdef HAVE_IEEEFP_H
66016                       #include <ieeefp.h>
66017                       #endif
66018
66019 int
66020 main ()
66021 {
66022  fabsl(0);
66023   ;
66024   return 0;
66025 }
66026 _ACEOF
66027 rm -f conftest.$ac_objext
66028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66029   (eval $ac_compile) 2>conftest.er1
66030   ac_status=$?
66031   grep -v '^ *+' conftest.er1 >conftest.err
66032   rm -f conftest.er1
66033   cat conftest.err >&5
66034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66035   (exit $ac_status); } &&
66036          { ac_try='test -z "$ac_cxx_werror_flag"
66037                          || test ! -s conftest.err'
66038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66039   (eval $ac_try) 2>&5
66040   ac_status=$?
66041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66042   (exit $ac_status); }; } &&
66043          { ac_try='test -s conftest.$ac_objext'
66044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66045   (eval $ac_try) 2>&5
66046   ac_status=$?
66047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66048   (exit $ac_status); }; }; then
66049   glibcxx_cv_func_fabsl_use=yes
66050 else
66051   echo "$as_me: failed program was:" >&5
66052 sed 's/^/| /' conftest.$ac_ext >&5
66053
66054 glibcxx_cv_func_fabsl_use=no
66055 fi
66056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66057       ac_ext=c
66058 ac_cpp='$CPP $CPPFLAGS'
66059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66062
66063
66064 fi
66065
66066   fi
66067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
66068 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
66069
66070   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
66071
66072 for ac_func in fabsl
66073 do
66074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66075 echo "$as_me:$LINENO: checking for $ac_func" >&5
66076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66077 if eval "test \"\${$as_ac_var+set}\" = set"; then
66078   echo $ECHO_N "(cached) $ECHO_C" >&6
66079 else
66080   if test x$gcc_no_link = xyes; then
66081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66083    { (exit 1); exit 1; }; }
66084 fi
66085 cat >conftest.$ac_ext <<_ACEOF
66086 /* confdefs.h.  */
66087 _ACEOF
66088 cat confdefs.h >>conftest.$ac_ext
66089 cat >>conftest.$ac_ext <<_ACEOF
66090 /* end confdefs.h.  */
66091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66093 #define $ac_func innocuous_$ac_func
66094
66095 /* System header to define __stub macros and hopefully few prototypes,
66096     which can conflict with char $ac_func (); below.
66097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66098     <limits.h> exists even on freestanding compilers.  */
66099
66100 #ifdef __STDC__
66101 # include <limits.h>
66102 #else
66103 # include <assert.h>
66104 #endif
66105
66106 #undef $ac_func
66107
66108 /* Override any gcc2 internal prototype to avoid an error.  */
66109 #ifdef __cplusplus
66110 extern "C"
66111 {
66112 #endif
66113 /* We use char because int might match the return type of a gcc2
66114    builtin and then its argument prototype would still apply.  */
66115 char $ac_func ();
66116 /* The GNU C library defines this for functions which it implements
66117     to always fail with ENOSYS.  Some functions are actually named
66118     something starting with __ and the normal name is an alias.  */
66119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66120 choke me
66121 #else
66122 char (*f) () = $ac_func;
66123 #endif
66124 #ifdef __cplusplus
66125 }
66126 #endif
66127
66128 int
66129 main ()
66130 {
66131 return f != $ac_func;
66132   ;
66133   return 0;
66134 }
66135 _ACEOF
66136 rm -f conftest.$ac_objext conftest$ac_exeext
66137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66138   (eval $ac_link) 2>conftest.er1
66139   ac_status=$?
66140   grep -v '^ *+' conftest.er1 >conftest.err
66141   rm -f conftest.er1
66142   cat conftest.err >&5
66143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66144   (exit $ac_status); } &&
66145          { ac_try='test -z "$ac_c_werror_flag"
66146                          || test ! -s conftest.err'
66147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66148   (eval $ac_try) 2>&5
66149   ac_status=$?
66150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66151   (exit $ac_status); }; } &&
66152          { ac_try='test -s conftest$ac_exeext'
66153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66154   (eval $ac_try) 2>&5
66155   ac_status=$?
66156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66157   (exit $ac_status); }; }; then
66158   eval "$as_ac_var=yes"
66159 else
66160   echo "$as_me: failed program was:" >&5
66161 sed 's/^/| /' conftest.$ac_ext >&5
66162
66163 eval "$as_ac_var=no"
66164 fi
66165 rm -f conftest.err conftest.$ac_objext \
66166       conftest$ac_exeext conftest.$ac_ext
66167 fi
66168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66170 if test `eval echo '${'$as_ac_var'}'` = yes; then
66171   cat >>confdefs.h <<_ACEOF
66172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66173 _ACEOF
66174
66175 fi
66176 done
66177
66178   else
66179
66180   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
66181 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
66182   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66183     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66184   echo $ECHO_N "(cached) $ECHO_C" >&6
66185 else
66186
66187
66188
66189       ac_ext=cc
66190 ac_cpp='$CXXCPP $CPPFLAGS'
66191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66194
66195       cat >conftest.$ac_ext <<_ACEOF
66196 /* confdefs.h.  */
66197 _ACEOF
66198 cat confdefs.h >>conftest.$ac_ext
66199 cat >>conftest.$ac_ext <<_ACEOF
66200 /* end confdefs.h.  */
66201 #include <math.h>
66202                       #ifdef HAVE_IEEEFP_H
66203                       #include <ieeefp.h>
66204                       #endif
66205
66206 int
66207 main ()
66208 {
66209  _fabsl(0);
66210   ;
66211   return 0;
66212 }
66213 _ACEOF
66214 rm -f conftest.$ac_objext
66215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66216   (eval $ac_compile) 2>conftest.er1
66217   ac_status=$?
66218   grep -v '^ *+' conftest.er1 >conftest.err
66219   rm -f conftest.er1
66220   cat conftest.err >&5
66221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66222   (exit $ac_status); } &&
66223          { ac_try='test -z "$ac_cxx_werror_flag"
66224                          || test ! -s conftest.err'
66225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66226   (eval $ac_try) 2>&5
66227   ac_status=$?
66228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66229   (exit $ac_status); }; } &&
66230          { ac_try='test -s conftest.$ac_objext'
66231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66232   (eval $ac_try) 2>&5
66233   ac_status=$?
66234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66235   (exit $ac_status); }; }; then
66236   glibcxx_cv_func__fabsl_use=yes
66237 else
66238   echo "$as_me: failed program was:" >&5
66239 sed 's/^/| /' conftest.$ac_ext >&5
66240
66241 glibcxx_cv_func__fabsl_use=no
66242 fi
66243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66244       ac_ext=c
66245 ac_cpp='$CPP $CPPFLAGS'
66246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66249
66250
66251 fi
66252
66253   fi
66254   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66255 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66256
66257     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66258
66259 for ac_func in _fabsl
66260 do
66261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66262 echo "$as_me:$LINENO: checking for $ac_func" >&5
66263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66264 if eval "test \"\${$as_ac_var+set}\" = set"; then
66265   echo $ECHO_N "(cached) $ECHO_C" >&6
66266 else
66267   if test x$gcc_no_link = xyes; then
66268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66270    { (exit 1); exit 1; }; }
66271 fi
66272 cat >conftest.$ac_ext <<_ACEOF
66273 /* confdefs.h.  */
66274 _ACEOF
66275 cat confdefs.h >>conftest.$ac_ext
66276 cat >>conftest.$ac_ext <<_ACEOF
66277 /* end confdefs.h.  */
66278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66279    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66280 #define $ac_func innocuous_$ac_func
66281
66282 /* System header to define __stub macros and hopefully few prototypes,
66283     which can conflict with char $ac_func (); below.
66284     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66285     <limits.h> exists even on freestanding compilers.  */
66286
66287 #ifdef __STDC__
66288 # include <limits.h>
66289 #else
66290 # include <assert.h>
66291 #endif
66292
66293 #undef $ac_func
66294
66295 /* Override any gcc2 internal prototype to avoid an error.  */
66296 #ifdef __cplusplus
66297 extern "C"
66298 {
66299 #endif
66300 /* We use char because int might match the return type of a gcc2
66301    builtin and then its argument prototype would still apply.  */
66302 char $ac_func ();
66303 /* The GNU C library defines this for functions which it implements
66304     to always fail with ENOSYS.  Some functions are actually named
66305     something starting with __ and the normal name is an alias.  */
66306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66307 choke me
66308 #else
66309 char (*f) () = $ac_func;
66310 #endif
66311 #ifdef __cplusplus
66312 }
66313 #endif
66314
66315 int
66316 main ()
66317 {
66318 return f != $ac_func;
66319   ;
66320   return 0;
66321 }
66322 _ACEOF
66323 rm -f conftest.$ac_objext conftest$ac_exeext
66324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66325   (eval $ac_link) 2>conftest.er1
66326   ac_status=$?
66327   grep -v '^ *+' conftest.er1 >conftest.err
66328   rm -f conftest.er1
66329   cat conftest.err >&5
66330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66331   (exit $ac_status); } &&
66332          { ac_try='test -z "$ac_c_werror_flag"
66333                          || test ! -s conftest.err'
66334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66335   (eval $ac_try) 2>&5
66336   ac_status=$?
66337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66338   (exit $ac_status); }; } &&
66339          { ac_try='test -s conftest$ac_exeext'
66340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66341   (eval $ac_try) 2>&5
66342   ac_status=$?
66343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66344   (exit $ac_status); }; }; then
66345   eval "$as_ac_var=yes"
66346 else
66347   echo "$as_me: failed program was:" >&5
66348 sed 's/^/| /' conftest.$ac_ext >&5
66349
66350 eval "$as_ac_var=no"
66351 fi
66352 rm -f conftest.err conftest.$ac_objext \
66353       conftest$ac_exeext conftest.$ac_ext
66354 fi
66355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66357 if test `eval echo '${'$as_ac_var'}'` = yes; then
66358   cat >>confdefs.h <<_ACEOF
66359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66360 _ACEOF
66361
66362 fi
66363 done
66364
66365     fi
66366   fi
66367
66368
66369
66370
66371
66372
66373   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66374 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66375   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66376     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66377   echo $ECHO_N "(cached) $ECHO_C" >&6
66378 else
66379
66380
66381
66382       ac_ext=cc
66383 ac_cpp='$CXXCPP $CPPFLAGS'
66384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66387
66388       cat >conftest.$ac_ext <<_ACEOF
66389 /* confdefs.h.  */
66390 _ACEOF
66391 cat confdefs.h >>conftest.$ac_ext
66392 cat >>conftest.$ac_ext <<_ACEOF
66393 /* end confdefs.h.  */
66394 #include <math.h>
66395 int
66396 main ()
66397 {
66398  fmodl(0, 0);
66399   ;
66400   return 0;
66401 }
66402 _ACEOF
66403 rm -f conftest.$ac_objext
66404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66405   (eval $ac_compile) 2>conftest.er1
66406   ac_status=$?
66407   grep -v '^ *+' conftest.er1 >conftest.err
66408   rm -f conftest.er1
66409   cat conftest.err >&5
66410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66411   (exit $ac_status); } &&
66412          { ac_try='test -z "$ac_cxx_werror_flag"
66413                          || test ! -s conftest.err'
66414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66415   (eval $ac_try) 2>&5
66416   ac_status=$?
66417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66418   (exit $ac_status); }; } &&
66419          { ac_try='test -s conftest.$ac_objext'
66420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66421   (eval $ac_try) 2>&5
66422   ac_status=$?
66423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66424   (exit $ac_status); }; }; then
66425   glibcxx_cv_func_fmodl_use=yes
66426 else
66427   echo "$as_me: failed program was:" >&5
66428 sed 's/^/| /' conftest.$ac_ext >&5
66429
66430 glibcxx_cv_func_fmodl_use=no
66431 fi
66432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66433       ac_ext=c
66434 ac_cpp='$CPP $CPPFLAGS'
66435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66438
66439
66440 fi
66441
66442   fi
66443   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66444 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66445
66446   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66447
66448 for ac_func in fmodl
66449 do
66450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66451 echo "$as_me:$LINENO: checking for $ac_func" >&5
66452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66453 if eval "test \"\${$as_ac_var+set}\" = set"; then
66454   echo $ECHO_N "(cached) $ECHO_C" >&6
66455 else
66456   if test x$gcc_no_link = xyes; then
66457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66459    { (exit 1); exit 1; }; }
66460 fi
66461 cat >conftest.$ac_ext <<_ACEOF
66462 /* confdefs.h.  */
66463 _ACEOF
66464 cat confdefs.h >>conftest.$ac_ext
66465 cat >>conftest.$ac_ext <<_ACEOF
66466 /* end confdefs.h.  */
66467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66469 #define $ac_func innocuous_$ac_func
66470
66471 /* System header to define __stub macros and hopefully few prototypes,
66472     which can conflict with char $ac_func (); below.
66473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66474     <limits.h> exists even on freestanding compilers.  */
66475
66476 #ifdef __STDC__
66477 # include <limits.h>
66478 #else
66479 # include <assert.h>
66480 #endif
66481
66482 #undef $ac_func
66483
66484 /* Override any gcc2 internal prototype to avoid an error.  */
66485 #ifdef __cplusplus
66486 extern "C"
66487 {
66488 #endif
66489 /* We use char because int might match the return type of a gcc2
66490    builtin and then its argument prototype would still apply.  */
66491 char $ac_func ();
66492 /* The GNU C library defines this for functions which it implements
66493     to always fail with ENOSYS.  Some functions are actually named
66494     something starting with __ and the normal name is an alias.  */
66495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66496 choke me
66497 #else
66498 char (*f) () = $ac_func;
66499 #endif
66500 #ifdef __cplusplus
66501 }
66502 #endif
66503
66504 int
66505 main ()
66506 {
66507 return f != $ac_func;
66508   ;
66509   return 0;
66510 }
66511 _ACEOF
66512 rm -f conftest.$ac_objext conftest$ac_exeext
66513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66514   (eval $ac_link) 2>conftest.er1
66515   ac_status=$?
66516   grep -v '^ *+' conftest.er1 >conftest.err
66517   rm -f conftest.er1
66518   cat conftest.err >&5
66519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66520   (exit $ac_status); } &&
66521          { ac_try='test -z "$ac_c_werror_flag"
66522                          || test ! -s conftest.err'
66523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66524   (eval $ac_try) 2>&5
66525   ac_status=$?
66526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66527   (exit $ac_status); }; } &&
66528          { ac_try='test -s conftest$ac_exeext'
66529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66530   (eval $ac_try) 2>&5
66531   ac_status=$?
66532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66533   (exit $ac_status); }; }; then
66534   eval "$as_ac_var=yes"
66535 else
66536   echo "$as_me: failed program was:" >&5
66537 sed 's/^/| /' conftest.$ac_ext >&5
66538
66539 eval "$as_ac_var=no"
66540 fi
66541 rm -f conftest.err conftest.$ac_objext \
66542       conftest$ac_exeext conftest.$ac_ext
66543 fi
66544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66546 if test `eval echo '${'$as_ac_var'}'` = yes; then
66547   cat >>confdefs.h <<_ACEOF
66548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66549 _ACEOF
66550
66551 fi
66552 done
66553
66554   else
66555
66556   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66557 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66558   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66559     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66560   echo $ECHO_N "(cached) $ECHO_C" >&6
66561 else
66562
66563
66564
66565       ac_ext=cc
66566 ac_cpp='$CXXCPP $CPPFLAGS'
66567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66570
66571       cat >conftest.$ac_ext <<_ACEOF
66572 /* confdefs.h.  */
66573 _ACEOF
66574 cat confdefs.h >>conftest.$ac_ext
66575 cat >>conftest.$ac_ext <<_ACEOF
66576 /* end confdefs.h.  */
66577 #include <math.h>
66578 int
66579 main ()
66580 {
66581  _fmodl(0, 0);
66582   ;
66583   return 0;
66584 }
66585 _ACEOF
66586 rm -f conftest.$ac_objext
66587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66588   (eval $ac_compile) 2>conftest.er1
66589   ac_status=$?
66590   grep -v '^ *+' conftest.er1 >conftest.err
66591   rm -f conftest.er1
66592   cat conftest.err >&5
66593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66594   (exit $ac_status); } &&
66595          { ac_try='test -z "$ac_cxx_werror_flag"
66596                          || test ! -s conftest.err'
66597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66598   (eval $ac_try) 2>&5
66599   ac_status=$?
66600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66601   (exit $ac_status); }; } &&
66602          { ac_try='test -s conftest.$ac_objext'
66603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66604   (eval $ac_try) 2>&5
66605   ac_status=$?
66606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66607   (exit $ac_status); }; }; then
66608   glibcxx_cv_func__fmodl_use=yes
66609 else
66610   echo "$as_me: failed program was:" >&5
66611 sed 's/^/| /' conftest.$ac_ext >&5
66612
66613 glibcxx_cv_func__fmodl_use=no
66614 fi
66615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66616       ac_ext=c
66617 ac_cpp='$CPP $CPPFLAGS'
66618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66621
66622
66623 fi
66624
66625   fi
66626   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66627 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66628
66629     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66630
66631 for ac_func in _fmodl
66632 do
66633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66634 echo "$as_me:$LINENO: checking for $ac_func" >&5
66635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66636 if eval "test \"\${$as_ac_var+set}\" = set"; then
66637   echo $ECHO_N "(cached) $ECHO_C" >&6
66638 else
66639   if test x$gcc_no_link = xyes; then
66640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66642    { (exit 1); exit 1; }; }
66643 fi
66644 cat >conftest.$ac_ext <<_ACEOF
66645 /* confdefs.h.  */
66646 _ACEOF
66647 cat confdefs.h >>conftest.$ac_ext
66648 cat >>conftest.$ac_ext <<_ACEOF
66649 /* end confdefs.h.  */
66650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66652 #define $ac_func innocuous_$ac_func
66653
66654 /* System header to define __stub macros and hopefully few prototypes,
66655     which can conflict with char $ac_func (); below.
66656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66657     <limits.h> exists even on freestanding compilers.  */
66658
66659 #ifdef __STDC__
66660 # include <limits.h>
66661 #else
66662 # include <assert.h>
66663 #endif
66664
66665 #undef $ac_func
66666
66667 /* Override any gcc2 internal prototype to avoid an error.  */
66668 #ifdef __cplusplus
66669 extern "C"
66670 {
66671 #endif
66672 /* We use char because int might match the return type of a gcc2
66673    builtin and then its argument prototype would still apply.  */
66674 char $ac_func ();
66675 /* The GNU C library defines this for functions which it implements
66676     to always fail with ENOSYS.  Some functions are actually named
66677     something starting with __ and the normal name is an alias.  */
66678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66679 choke me
66680 #else
66681 char (*f) () = $ac_func;
66682 #endif
66683 #ifdef __cplusplus
66684 }
66685 #endif
66686
66687 int
66688 main ()
66689 {
66690 return f != $ac_func;
66691   ;
66692   return 0;
66693 }
66694 _ACEOF
66695 rm -f conftest.$ac_objext conftest$ac_exeext
66696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66697   (eval $ac_link) 2>conftest.er1
66698   ac_status=$?
66699   grep -v '^ *+' conftest.er1 >conftest.err
66700   rm -f conftest.er1
66701   cat conftest.err >&5
66702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66703   (exit $ac_status); } &&
66704          { ac_try='test -z "$ac_c_werror_flag"
66705                          || test ! -s conftest.err'
66706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66707   (eval $ac_try) 2>&5
66708   ac_status=$?
66709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66710   (exit $ac_status); }; } &&
66711          { ac_try='test -s conftest$ac_exeext'
66712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66713   (eval $ac_try) 2>&5
66714   ac_status=$?
66715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66716   (exit $ac_status); }; }; then
66717   eval "$as_ac_var=yes"
66718 else
66719   echo "$as_me: failed program was:" >&5
66720 sed 's/^/| /' conftest.$ac_ext >&5
66721
66722 eval "$as_ac_var=no"
66723 fi
66724 rm -f conftest.err conftest.$ac_objext \
66725       conftest$ac_exeext conftest.$ac_ext
66726 fi
66727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66729 if test `eval echo '${'$as_ac_var'}'` = yes; then
66730   cat >>confdefs.h <<_ACEOF
66731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66732 _ACEOF
66733
66734 fi
66735 done
66736
66737     fi
66738   fi
66739
66740
66741
66742
66743
66744
66745   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66746 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66747   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66748     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66749   echo $ECHO_N "(cached) $ECHO_C" >&6
66750 else
66751
66752
66753
66754       ac_ext=cc
66755 ac_cpp='$CXXCPP $CPPFLAGS'
66756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66759
66760       cat >conftest.$ac_ext <<_ACEOF
66761 /* confdefs.h.  */
66762 _ACEOF
66763 cat confdefs.h >>conftest.$ac_ext
66764 cat >>conftest.$ac_ext <<_ACEOF
66765 /* end confdefs.h.  */
66766 #include <math.h>
66767 int
66768 main ()
66769 {
66770  frexpl(0, 0);
66771   ;
66772   return 0;
66773 }
66774 _ACEOF
66775 rm -f conftest.$ac_objext
66776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66777   (eval $ac_compile) 2>conftest.er1
66778   ac_status=$?
66779   grep -v '^ *+' conftest.er1 >conftest.err
66780   rm -f conftest.er1
66781   cat conftest.err >&5
66782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66783   (exit $ac_status); } &&
66784          { ac_try='test -z "$ac_cxx_werror_flag"
66785                          || test ! -s conftest.err'
66786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66787   (eval $ac_try) 2>&5
66788   ac_status=$?
66789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66790   (exit $ac_status); }; } &&
66791          { ac_try='test -s conftest.$ac_objext'
66792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66793   (eval $ac_try) 2>&5
66794   ac_status=$?
66795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66796   (exit $ac_status); }; }; then
66797   glibcxx_cv_func_frexpl_use=yes
66798 else
66799   echo "$as_me: failed program was:" >&5
66800 sed 's/^/| /' conftest.$ac_ext >&5
66801
66802 glibcxx_cv_func_frexpl_use=no
66803 fi
66804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66805       ac_ext=c
66806 ac_cpp='$CPP $CPPFLAGS'
66807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66810
66811
66812 fi
66813
66814   fi
66815   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66816 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66817
66818   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66819
66820 for ac_func in frexpl
66821 do
66822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66823 echo "$as_me:$LINENO: checking for $ac_func" >&5
66824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66825 if eval "test \"\${$as_ac_var+set}\" = set"; then
66826   echo $ECHO_N "(cached) $ECHO_C" >&6
66827 else
66828   if test x$gcc_no_link = xyes; then
66829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66831    { (exit 1); exit 1; }; }
66832 fi
66833 cat >conftest.$ac_ext <<_ACEOF
66834 /* confdefs.h.  */
66835 _ACEOF
66836 cat confdefs.h >>conftest.$ac_ext
66837 cat >>conftest.$ac_ext <<_ACEOF
66838 /* end confdefs.h.  */
66839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66841 #define $ac_func innocuous_$ac_func
66842
66843 /* System header to define __stub macros and hopefully few prototypes,
66844     which can conflict with char $ac_func (); below.
66845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66846     <limits.h> exists even on freestanding compilers.  */
66847
66848 #ifdef __STDC__
66849 # include <limits.h>
66850 #else
66851 # include <assert.h>
66852 #endif
66853
66854 #undef $ac_func
66855
66856 /* Override any gcc2 internal prototype to avoid an error.  */
66857 #ifdef __cplusplus
66858 extern "C"
66859 {
66860 #endif
66861 /* We use char because int might match the return type of a gcc2
66862    builtin and then its argument prototype would still apply.  */
66863 char $ac_func ();
66864 /* The GNU C library defines this for functions which it implements
66865     to always fail with ENOSYS.  Some functions are actually named
66866     something starting with __ and the normal name is an alias.  */
66867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66868 choke me
66869 #else
66870 char (*f) () = $ac_func;
66871 #endif
66872 #ifdef __cplusplus
66873 }
66874 #endif
66875
66876 int
66877 main ()
66878 {
66879 return f != $ac_func;
66880   ;
66881   return 0;
66882 }
66883 _ACEOF
66884 rm -f conftest.$ac_objext conftest$ac_exeext
66885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66886   (eval $ac_link) 2>conftest.er1
66887   ac_status=$?
66888   grep -v '^ *+' conftest.er1 >conftest.err
66889   rm -f conftest.er1
66890   cat conftest.err >&5
66891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66892   (exit $ac_status); } &&
66893          { ac_try='test -z "$ac_c_werror_flag"
66894                          || test ! -s conftest.err'
66895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66896   (eval $ac_try) 2>&5
66897   ac_status=$?
66898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66899   (exit $ac_status); }; } &&
66900          { ac_try='test -s conftest$ac_exeext'
66901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66902   (eval $ac_try) 2>&5
66903   ac_status=$?
66904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66905   (exit $ac_status); }; }; then
66906   eval "$as_ac_var=yes"
66907 else
66908   echo "$as_me: failed program was:" >&5
66909 sed 's/^/| /' conftest.$ac_ext >&5
66910
66911 eval "$as_ac_var=no"
66912 fi
66913 rm -f conftest.err conftest.$ac_objext \
66914       conftest$ac_exeext conftest.$ac_ext
66915 fi
66916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66918 if test `eval echo '${'$as_ac_var'}'` = yes; then
66919   cat >>confdefs.h <<_ACEOF
66920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66921 _ACEOF
66922
66923 fi
66924 done
66925
66926   else
66927
66928   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66929 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66930   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66931     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66932   echo $ECHO_N "(cached) $ECHO_C" >&6
66933 else
66934
66935
66936
66937       ac_ext=cc
66938 ac_cpp='$CXXCPP $CPPFLAGS'
66939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66942
66943       cat >conftest.$ac_ext <<_ACEOF
66944 /* confdefs.h.  */
66945 _ACEOF
66946 cat confdefs.h >>conftest.$ac_ext
66947 cat >>conftest.$ac_ext <<_ACEOF
66948 /* end confdefs.h.  */
66949 #include <math.h>
66950 int
66951 main ()
66952 {
66953  _frexpl(0, 0);
66954   ;
66955   return 0;
66956 }
66957 _ACEOF
66958 rm -f conftest.$ac_objext
66959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66960   (eval $ac_compile) 2>conftest.er1
66961   ac_status=$?
66962   grep -v '^ *+' conftest.er1 >conftest.err
66963   rm -f conftest.er1
66964   cat conftest.err >&5
66965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66966   (exit $ac_status); } &&
66967          { ac_try='test -z "$ac_cxx_werror_flag"
66968                          || test ! -s conftest.err'
66969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66970   (eval $ac_try) 2>&5
66971   ac_status=$?
66972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66973   (exit $ac_status); }; } &&
66974          { ac_try='test -s conftest.$ac_objext'
66975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66976   (eval $ac_try) 2>&5
66977   ac_status=$?
66978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66979   (exit $ac_status); }; }; then
66980   glibcxx_cv_func__frexpl_use=yes
66981 else
66982   echo "$as_me: failed program was:" >&5
66983 sed 's/^/| /' conftest.$ac_ext >&5
66984
66985 glibcxx_cv_func__frexpl_use=no
66986 fi
66987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66988       ac_ext=c
66989 ac_cpp='$CPP $CPPFLAGS'
66990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66993
66994
66995 fi
66996
66997   fi
66998   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66999 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
67000
67001     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67002
67003 for ac_func in _frexpl
67004 do
67005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67006 echo "$as_me:$LINENO: checking for $ac_func" >&5
67007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67008 if eval "test \"\${$as_ac_var+set}\" = set"; then
67009   echo $ECHO_N "(cached) $ECHO_C" >&6
67010 else
67011   if test x$gcc_no_link = xyes; then
67012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67014    { (exit 1); exit 1; }; }
67015 fi
67016 cat >conftest.$ac_ext <<_ACEOF
67017 /* confdefs.h.  */
67018 _ACEOF
67019 cat confdefs.h >>conftest.$ac_ext
67020 cat >>conftest.$ac_ext <<_ACEOF
67021 /* end confdefs.h.  */
67022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67024 #define $ac_func innocuous_$ac_func
67025
67026 /* System header to define __stub macros and hopefully few prototypes,
67027     which can conflict with char $ac_func (); below.
67028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67029     <limits.h> exists even on freestanding compilers.  */
67030
67031 #ifdef __STDC__
67032 # include <limits.h>
67033 #else
67034 # include <assert.h>
67035 #endif
67036
67037 #undef $ac_func
67038
67039 /* Override any gcc2 internal prototype to avoid an error.  */
67040 #ifdef __cplusplus
67041 extern "C"
67042 {
67043 #endif
67044 /* We use char because int might match the return type of a gcc2
67045    builtin and then its argument prototype would still apply.  */
67046 char $ac_func ();
67047 /* The GNU C library defines this for functions which it implements
67048     to always fail with ENOSYS.  Some functions are actually named
67049     something starting with __ and the normal name is an alias.  */
67050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67051 choke me
67052 #else
67053 char (*f) () = $ac_func;
67054 #endif
67055 #ifdef __cplusplus
67056 }
67057 #endif
67058
67059 int
67060 main ()
67061 {
67062 return f != $ac_func;
67063   ;
67064   return 0;
67065 }
67066 _ACEOF
67067 rm -f conftest.$ac_objext conftest$ac_exeext
67068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67069   (eval $ac_link) 2>conftest.er1
67070   ac_status=$?
67071   grep -v '^ *+' conftest.er1 >conftest.err
67072   rm -f conftest.er1
67073   cat conftest.err >&5
67074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67075   (exit $ac_status); } &&
67076          { ac_try='test -z "$ac_c_werror_flag"
67077                          || test ! -s conftest.err'
67078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67079   (eval $ac_try) 2>&5
67080   ac_status=$?
67081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67082   (exit $ac_status); }; } &&
67083          { ac_try='test -s conftest$ac_exeext'
67084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67085   (eval $ac_try) 2>&5
67086   ac_status=$?
67087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67088   (exit $ac_status); }; }; then
67089   eval "$as_ac_var=yes"
67090 else
67091   echo "$as_me: failed program was:" >&5
67092 sed 's/^/| /' conftest.$ac_ext >&5
67093
67094 eval "$as_ac_var=no"
67095 fi
67096 rm -f conftest.err conftest.$ac_objext \
67097       conftest$ac_exeext conftest.$ac_ext
67098 fi
67099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67101 if test `eval echo '${'$as_ac_var'}'` = yes; then
67102   cat >>confdefs.h <<_ACEOF
67103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67104 _ACEOF
67105
67106 fi
67107 done
67108
67109     fi
67110   fi
67111
67112
67113
67114
67115
67116
67117   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
67118 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
67119   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67120     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
67121   echo $ECHO_N "(cached) $ECHO_C" >&6
67122 else
67123
67124
67125
67126       ac_ext=cc
67127 ac_cpp='$CXXCPP $CPPFLAGS'
67128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67131
67132       cat >conftest.$ac_ext <<_ACEOF
67133 /* confdefs.h.  */
67134 _ACEOF
67135 cat confdefs.h >>conftest.$ac_ext
67136 cat >>conftest.$ac_ext <<_ACEOF
67137 /* end confdefs.h.  */
67138 #include <math.h>
67139 int
67140 main ()
67141 {
67142  hypotl(0, 0);
67143   ;
67144   return 0;
67145 }
67146 _ACEOF
67147 rm -f conftest.$ac_objext
67148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67149   (eval $ac_compile) 2>conftest.er1
67150   ac_status=$?
67151   grep -v '^ *+' conftest.er1 >conftest.err
67152   rm -f conftest.er1
67153   cat conftest.err >&5
67154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67155   (exit $ac_status); } &&
67156          { ac_try='test -z "$ac_cxx_werror_flag"
67157                          || test ! -s conftest.err'
67158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67159   (eval $ac_try) 2>&5
67160   ac_status=$?
67161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67162   (exit $ac_status); }; } &&
67163          { ac_try='test -s conftest.$ac_objext'
67164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67165   (eval $ac_try) 2>&5
67166   ac_status=$?
67167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67168   (exit $ac_status); }; }; then
67169   glibcxx_cv_func_hypotl_use=yes
67170 else
67171   echo "$as_me: failed program was:" >&5
67172 sed 's/^/| /' conftest.$ac_ext >&5
67173
67174 glibcxx_cv_func_hypotl_use=no
67175 fi
67176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67177       ac_ext=c
67178 ac_cpp='$CPP $CPPFLAGS'
67179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67182
67183
67184 fi
67185
67186   fi
67187   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67188 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67189
67190   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67191
67192 for ac_func in hypotl
67193 do
67194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67195 echo "$as_me:$LINENO: checking for $ac_func" >&5
67196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67197 if eval "test \"\${$as_ac_var+set}\" = set"; then
67198   echo $ECHO_N "(cached) $ECHO_C" >&6
67199 else
67200   if test x$gcc_no_link = xyes; then
67201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67203    { (exit 1); exit 1; }; }
67204 fi
67205 cat >conftest.$ac_ext <<_ACEOF
67206 /* confdefs.h.  */
67207 _ACEOF
67208 cat confdefs.h >>conftest.$ac_ext
67209 cat >>conftest.$ac_ext <<_ACEOF
67210 /* end confdefs.h.  */
67211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67213 #define $ac_func innocuous_$ac_func
67214
67215 /* System header to define __stub macros and hopefully few prototypes,
67216     which can conflict with char $ac_func (); below.
67217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67218     <limits.h> exists even on freestanding compilers.  */
67219
67220 #ifdef __STDC__
67221 # include <limits.h>
67222 #else
67223 # include <assert.h>
67224 #endif
67225
67226 #undef $ac_func
67227
67228 /* Override any gcc2 internal prototype to avoid an error.  */
67229 #ifdef __cplusplus
67230 extern "C"
67231 {
67232 #endif
67233 /* We use char because int might match the return type of a gcc2
67234    builtin and then its argument prototype would still apply.  */
67235 char $ac_func ();
67236 /* The GNU C library defines this for functions which it implements
67237     to always fail with ENOSYS.  Some functions are actually named
67238     something starting with __ and the normal name is an alias.  */
67239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67240 choke me
67241 #else
67242 char (*f) () = $ac_func;
67243 #endif
67244 #ifdef __cplusplus
67245 }
67246 #endif
67247
67248 int
67249 main ()
67250 {
67251 return f != $ac_func;
67252   ;
67253   return 0;
67254 }
67255 _ACEOF
67256 rm -f conftest.$ac_objext conftest$ac_exeext
67257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67258   (eval $ac_link) 2>conftest.er1
67259   ac_status=$?
67260   grep -v '^ *+' conftest.er1 >conftest.err
67261   rm -f conftest.er1
67262   cat conftest.err >&5
67263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67264   (exit $ac_status); } &&
67265          { ac_try='test -z "$ac_c_werror_flag"
67266                          || test ! -s conftest.err'
67267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67268   (eval $ac_try) 2>&5
67269   ac_status=$?
67270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67271   (exit $ac_status); }; } &&
67272          { ac_try='test -s conftest$ac_exeext'
67273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67274   (eval $ac_try) 2>&5
67275   ac_status=$?
67276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67277   (exit $ac_status); }; }; then
67278   eval "$as_ac_var=yes"
67279 else
67280   echo "$as_me: failed program was:" >&5
67281 sed 's/^/| /' conftest.$ac_ext >&5
67282
67283 eval "$as_ac_var=no"
67284 fi
67285 rm -f conftest.err conftest.$ac_objext \
67286       conftest$ac_exeext conftest.$ac_ext
67287 fi
67288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67290 if test `eval echo '${'$as_ac_var'}'` = yes; then
67291   cat >>confdefs.h <<_ACEOF
67292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67293 _ACEOF
67294
67295 fi
67296 done
67297
67298   else
67299
67300   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67301 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67302   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67303     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67304   echo $ECHO_N "(cached) $ECHO_C" >&6
67305 else
67306
67307
67308
67309       ac_ext=cc
67310 ac_cpp='$CXXCPP $CPPFLAGS'
67311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67314
67315       cat >conftest.$ac_ext <<_ACEOF
67316 /* confdefs.h.  */
67317 _ACEOF
67318 cat confdefs.h >>conftest.$ac_ext
67319 cat >>conftest.$ac_ext <<_ACEOF
67320 /* end confdefs.h.  */
67321 #include <math.h>
67322 int
67323 main ()
67324 {
67325  _hypotl(0, 0);
67326   ;
67327   return 0;
67328 }
67329 _ACEOF
67330 rm -f conftest.$ac_objext
67331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67332   (eval $ac_compile) 2>conftest.er1
67333   ac_status=$?
67334   grep -v '^ *+' conftest.er1 >conftest.err
67335   rm -f conftest.er1
67336   cat conftest.err >&5
67337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67338   (exit $ac_status); } &&
67339          { ac_try='test -z "$ac_cxx_werror_flag"
67340                          || test ! -s conftest.err'
67341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67342   (eval $ac_try) 2>&5
67343   ac_status=$?
67344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67345   (exit $ac_status); }; } &&
67346          { ac_try='test -s conftest.$ac_objext'
67347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67348   (eval $ac_try) 2>&5
67349   ac_status=$?
67350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67351   (exit $ac_status); }; }; then
67352   glibcxx_cv_func__hypotl_use=yes
67353 else
67354   echo "$as_me: failed program was:" >&5
67355 sed 's/^/| /' conftest.$ac_ext >&5
67356
67357 glibcxx_cv_func__hypotl_use=no
67358 fi
67359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67360       ac_ext=c
67361 ac_cpp='$CPP $CPPFLAGS'
67362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67365
67366
67367 fi
67368
67369   fi
67370   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67371 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67372
67373     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67374
67375 for ac_func in _hypotl
67376 do
67377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67378 echo "$as_me:$LINENO: checking for $ac_func" >&5
67379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67380 if eval "test \"\${$as_ac_var+set}\" = set"; then
67381   echo $ECHO_N "(cached) $ECHO_C" >&6
67382 else
67383   if test x$gcc_no_link = xyes; then
67384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67386    { (exit 1); exit 1; }; }
67387 fi
67388 cat >conftest.$ac_ext <<_ACEOF
67389 /* confdefs.h.  */
67390 _ACEOF
67391 cat confdefs.h >>conftest.$ac_ext
67392 cat >>conftest.$ac_ext <<_ACEOF
67393 /* end confdefs.h.  */
67394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67396 #define $ac_func innocuous_$ac_func
67397
67398 /* System header to define __stub macros and hopefully few prototypes,
67399     which can conflict with char $ac_func (); below.
67400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67401     <limits.h> exists even on freestanding compilers.  */
67402
67403 #ifdef __STDC__
67404 # include <limits.h>
67405 #else
67406 # include <assert.h>
67407 #endif
67408
67409 #undef $ac_func
67410
67411 /* Override any gcc2 internal prototype to avoid an error.  */
67412 #ifdef __cplusplus
67413 extern "C"
67414 {
67415 #endif
67416 /* We use char because int might match the return type of a gcc2
67417    builtin and then its argument prototype would still apply.  */
67418 char $ac_func ();
67419 /* The GNU C library defines this for functions which it implements
67420     to always fail with ENOSYS.  Some functions are actually named
67421     something starting with __ and the normal name is an alias.  */
67422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67423 choke me
67424 #else
67425 char (*f) () = $ac_func;
67426 #endif
67427 #ifdef __cplusplus
67428 }
67429 #endif
67430
67431 int
67432 main ()
67433 {
67434 return f != $ac_func;
67435   ;
67436   return 0;
67437 }
67438 _ACEOF
67439 rm -f conftest.$ac_objext conftest$ac_exeext
67440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67441   (eval $ac_link) 2>conftest.er1
67442   ac_status=$?
67443   grep -v '^ *+' conftest.er1 >conftest.err
67444   rm -f conftest.er1
67445   cat conftest.err >&5
67446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67447   (exit $ac_status); } &&
67448          { ac_try='test -z "$ac_c_werror_flag"
67449                          || test ! -s conftest.err'
67450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67451   (eval $ac_try) 2>&5
67452   ac_status=$?
67453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67454   (exit $ac_status); }; } &&
67455          { ac_try='test -s conftest$ac_exeext'
67456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67457   (eval $ac_try) 2>&5
67458   ac_status=$?
67459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67460   (exit $ac_status); }; }; then
67461   eval "$as_ac_var=yes"
67462 else
67463   echo "$as_me: failed program was:" >&5
67464 sed 's/^/| /' conftest.$ac_ext >&5
67465
67466 eval "$as_ac_var=no"
67467 fi
67468 rm -f conftest.err conftest.$ac_objext \
67469       conftest$ac_exeext conftest.$ac_ext
67470 fi
67471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67473 if test `eval echo '${'$as_ac_var'}'` = yes; then
67474   cat >>confdefs.h <<_ACEOF
67475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67476 _ACEOF
67477
67478 fi
67479 done
67480
67481     fi
67482   fi
67483
67484
67485
67486
67487
67488
67489   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67490 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67491   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67492     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67493   echo $ECHO_N "(cached) $ECHO_C" >&6
67494 else
67495
67496
67497
67498       ac_ext=cc
67499 ac_cpp='$CXXCPP $CPPFLAGS'
67500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67503
67504       cat >conftest.$ac_ext <<_ACEOF
67505 /* confdefs.h.  */
67506 _ACEOF
67507 cat confdefs.h >>conftest.$ac_ext
67508 cat >>conftest.$ac_ext <<_ACEOF
67509 /* end confdefs.h.  */
67510 #include <math.h>
67511 int
67512 main ()
67513 {
67514  ldexpl(0, 0);
67515   ;
67516   return 0;
67517 }
67518 _ACEOF
67519 rm -f conftest.$ac_objext
67520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67521   (eval $ac_compile) 2>conftest.er1
67522   ac_status=$?
67523   grep -v '^ *+' conftest.er1 >conftest.err
67524   rm -f conftest.er1
67525   cat conftest.err >&5
67526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67527   (exit $ac_status); } &&
67528          { ac_try='test -z "$ac_cxx_werror_flag"
67529                          || test ! -s conftest.err'
67530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67531   (eval $ac_try) 2>&5
67532   ac_status=$?
67533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67534   (exit $ac_status); }; } &&
67535          { ac_try='test -s conftest.$ac_objext'
67536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67537   (eval $ac_try) 2>&5
67538   ac_status=$?
67539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67540   (exit $ac_status); }; }; then
67541   glibcxx_cv_func_ldexpl_use=yes
67542 else
67543   echo "$as_me: failed program was:" >&5
67544 sed 's/^/| /' conftest.$ac_ext >&5
67545
67546 glibcxx_cv_func_ldexpl_use=no
67547 fi
67548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67549       ac_ext=c
67550 ac_cpp='$CPP $CPPFLAGS'
67551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67554
67555
67556 fi
67557
67558   fi
67559   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67560 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67561
67562   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67563
67564 for ac_func in ldexpl
67565 do
67566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67567 echo "$as_me:$LINENO: checking for $ac_func" >&5
67568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67569 if eval "test \"\${$as_ac_var+set}\" = set"; then
67570   echo $ECHO_N "(cached) $ECHO_C" >&6
67571 else
67572   if test x$gcc_no_link = xyes; then
67573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67575    { (exit 1); exit 1; }; }
67576 fi
67577 cat >conftest.$ac_ext <<_ACEOF
67578 /* confdefs.h.  */
67579 _ACEOF
67580 cat confdefs.h >>conftest.$ac_ext
67581 cat >>conftest.$ac_ext <<_ACEOF
67582 /* end confdefs.h.  */
67583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67585 #define $ac_func innocuous_$ac_func
67586
67587 /* System header to define __stub macros and hopefully few prototypes,
67588     which can conflict with char $ac_func (); below.
67589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67590     <limits.h> exists even on freestanding compilers.  */
67591
67592 #ifdef __STDC__
67593 # include <limits.h>
67594 #else
67595 # include <assert.h>
67596 #endif
67597
67598 #undef $ac_func
67599
67600 /* Override any gcc2 internal prototype to avoid an error.  */
67601 #ifdef __cplusplus
67602 extern "C"
67603 {
67604 #endif
67605 /* We use char because int might match the return type of a gcc2
67606    builtin and then its argument prototype would still apply.  */
67607 char $ac_func ();
67608 /* The GNU C library defines this for functions which it implements
67609     to always fail with ENOSYS.  Some functions are actually named
67610     something starting with __ and the normal name is an alias.  */
67611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67612 choke me
67613 #else
67614 char (*f) () = $ac_func;
67615 #endif
67616 #ifdef __cplusplus
67617 }
67618 #endif
67619
67620 int
67621 main ()
67622 {
67623 return f != $ac_func;
67624   ;
67625   return 0;
67626 }
67627 _ACEOF
67628 rm -f conftest.$ac_objext conftest$ac_exeext
67629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67630   (eval $ac_link) 2>conftest.er1
67631   ac_status=$?
67632   grep -v '^ *+' conftest.er1 >conftest.err
67633   rm -f conftest.er1
67634   cat conftest.err >&5
67635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67636   (exit $ac_status); } &&
67637          { ac_try='test -z "$ac_c_werror_flag"
67638                          || test ! -s conftest.err'
67639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67640   (eval $ac_try) 2>&5
67641   ac_status=$?
67642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67643   (exit $ac_status); }; } &&
67644          { ac_try='test -s conftest$ac_exeext'
67645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67646   (eval $ac_try) 2>&5
67647   ac_status=$?
67648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67649   (exit $ac_status); }; }; then
67650   eval "$as_ac_var=yes"
67651 else
67652   echo "$as_me: failed program was:" >&5
67653 sed 's/^/| /' conftest.$ac_ext >&5
67654
67655 eval "$as_ac_var=no"
67656 fi
67657 rm -f conftest.err conftest.$ac_objext \
67658       conftest$ac_exeext conftest.$ac_ext
67659 fi
67660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67662 if test `eval echo '${'$as_ac_var'}'` = yes; then
67663   cat >>confdefs.h <<_ACEOF
67664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67665 _ACEOF
67666
67667 fi
67668 done
67669
67670   else
67671
67672   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67673 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67674   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67675     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67676   echo $ECHO_N "(cached) $ECHO_C" >&6
67677 else
67678
67679
67680
67681       ac_ext=cc
67682 ac_cpp='$CXXCPP $CPPFLAGS'
67683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67686
67687       cat >conftest.$ac_ext <<_ACEOF
67688 /* confdefs.h.  */
67689 _ACEOF
67690 cat confdefs.h >>conftest.$ac_ext
67691 cat >>conftest.$ac_ext <<_ACEOF
67692 /* end confdefs.h.  */
67693 #include <math.h>
67694 int
67695 main ()
67696 {
67697  _ldexpl(0, 0);
67698   ;
67699   return 0;
67700 }
67701 _ACEOF
67702 rm -f conftest.$ac_objext
67703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67704   (eval $ac_compile) 2>conftest.er1
67705   ac_status=$?
67706   grep -v '^ *+' conftest.er1 >conftest.err
67707   rm -f conftest.er1
67708   cat conftest.err >&5
67709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67710   (exit $ac_status); } &&
67711          { ac_try='test -z "$ac_cxx_werror_flag"
67712                          || test ! -s conftest.err'
67713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67714   (eval $ac_try) 2>&5
67715   ac_status=$?
67716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67717   (exit $ac_status); }; } &&
67718          { ac_try='test -s conftest.$ac_objext'
67719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67720   (eval $ac_try) 2>&5
67721   ac_status=$?
67722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67723   (exit $ac_status); }; }; then
67724   glibcxx_cv_func__ldexpl_use=yes
67725 else
67726   echo "$as_me: failed program was:" >&5
67727 sed 's/^/| /' conftest.$ac_ext >&5
67728
67729 glibcxx_cv_func__ldexpl_use=no
67730 fi
67731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67732       ac_ext=c
67733 ac_cpp='$CPP $CPPFLAGS'
67734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67737
67738
67739 fi
67740
67741   fi
67742   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67743 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67744
67745     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67746
67747 for ac_func in _ldexpl
67748 do
67749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67750 echo "$as_me:$LINENO: checking for $ac_func" >&5
67751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67752 if eval "test \"\${$as_ac_var+set}\" = set"; then
67753   echo $ECHO_N "(cached) $ECHO_C" >&6
67754 else
67755   if test x$gcc_no_link = xyes; then
67756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67758    { (exit 1); exit 1; }; }
67759 fi
67760 cat >conftest.$ac_ext <<_ACEOF
67761 /* confdefs.h.  */
67762 _ACEOF
67763 cat confdefs.h >>conftest.$ac_ext
67764 cat >>conftest.$ac_ext <<_ACEOF
67765 /* end confdefs.h.  */
67766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67768 #define $ac_func innocuous_$ac_func
67769
67770 /* System header to define __stub macros and hopefully few prototypes,
67771     which can conflict with char $ac_func (); below.
67772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67773     <limits.h> exists even on freestanding compilers.  */
67774
67775 #ifdef __STDC__
67776 # include <limits.h>
67777 #else
67778 # include <assert.h>
67779 #endif
67780
67781 #undef $ac_func
67782
67783 /* Override any gcc2 internal prototype to avoid an error.  */
67784 #ifdef __cplusplus
67785 extern "C"
67786 {
67787 #endif
67788 /* We use char because int might match the return type of a gcc2
67789    builtin and then its argument prototype would still apply.  */
67790 char $ac_func ();
67791 /* The GNU C library defines this for functions which it implements
67792     to always fail with ENOSYS.  Some functions are actually named
67793     something starting with __ and the normal name is an alias.  */
67794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67795 choke me
67796 #else
67797 char (*f) () = $ac_func;
67798 #endif
67799 #ifdef __cplusplus
67800 }
67801 #endif
67802
67803 int
67804 main ()
67805 {
67806 return f != $ac_func;
67807   ;
67808   return 0;
67809 }
67810 _ACEOF
67811 rm -f conftest.$ac_objext conftest$ac_exeext
67812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67813   (eval $ac_link) 2>conftest.er1
67814   ac_status=$?
67815   grep -v '^ *+' conftest.er1 >conftest.err
67816   rm -f conftest.er1
67817   cat conftest.err >&5
67818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67819   (exit $ac_status); } &&
67820          { ac_try='test -z "$ac_c_werror_flag"
67821                          || test ! -s conftest.err'
67822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67823   (eval $ac_try) 2>&5
67824   ac_status=$?
67825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67826   (exit $ac_status); }; } &&
67827          { ac_try='test -s conftest$ac_exeext'
67828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67829   (eval $ac_try) 2>&5
67830   ac_status=$?
67831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67832   (exit $ac_status); }; }; then
67833   eval "$as_ac_var=yes"
67834 else
67835   echo "$as_me: failed program was:" >&5
67836 sed 's/^/| /' conftest.$ac_ext >&5
67837
67838 eval "$as_ac_var=no"
67839 fi
67840 rm -f conftest.err conftest.$ac_objext \
67841       conftest$ac_exeext conftest.$ac_ext
67842 fi
67843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67845 if test `eval echo '${'$as_ac_var'}'` = yes; then
67846   cat >>confdefs.h <<_ACEOF
67847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67848 _ACEOF
67849
67850 fi
67851 done
67852
67853     fi
67854   fi
67855
67856
67857
67858
67859
67860
67861   echo "$as_me:$LINENO: checking for logl declaration" >&5
67862 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67863   if test x${glibcxx_cv_func_logl_use+set} != xset; then
67864     if test "${glibcxx_cv_func_logl_use+set}" = set; then
67865   echo $ECHO_N "(cached) $ECHO_C" >&6
67866 else
67867
67868
67869
67870       ac_ext=cc
67871 ac_cpp='$CXXCPP $CPPFLAGS'
67872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67875
67876       cat >conftest.$ac_ext <<_ACEOF
67877 /* confdefs.h.  */
67878 _ACEOF
67879 cat confdefs.h >>conftest.$ac_ext
67880 cat >>conftest.$ac_ext <<_ACEOF
67881 /* end confdefs.h.  */
67882 #include <math.h>
67883                       #ifdef HAVE_IEEEFP_H
67884                       #include <ieeefp.h>
67885                       #endif
67886
67887 int
67888 main ()
67889 {
67890  logl(0);
67891   ;
67892   return 0;
67893 }
67894 _ACEOF
67895 rm -f conftest.$ac_objext
67896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67897   (eval $ac_compile) 2>conftest.er1
67898   ac_status=$?
67899   grep -v '^ *+' conftest.er1 >conftest.err
67900   rm -f conftest.er1
67901   cat conftest.err >&5
67902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67903   (exit $ac_status); } &&
67904          { ac_try='test -z "$ac_cxx_werror_flag"
67905                          || test ! -s conftest.err'
67906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67907   (eval $ac_try) 2>&5
67908   ac_status=$?
67909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67910   (exit $ac_status); }; } &&
67911          { ac_try='test -s conftest.$ac_objext'
67912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67913   (eval $ac_try) 2>&5
67914   ac_status=$?
67915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67916   (exit $ac_status); }; }; then
67917   glibcxx_cv_func_logl_use=yes
67918 else
67919   echo "$as_me: failed program was:" >&5
67920 sed 's/^/| /' conftest.$ac_ext >&5
67921
67922 glibcxx_cv_func_logl_use=no
67923 fi
67924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67925       ac_ext=c
67926 ac_cpp='$CPP $CPPFLAGS'
67927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67930
67931
67932 fi
67933
67934   fi
67935   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67936 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67937
67938   if test x$glibcxx_cv_func_logl_use = x"yes"; then
67939
67940 for ac_func in logl
67941 do
67942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67943 echo "$as_me:$LINENO: checking for $ac_func" >&5
67944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67945 if eval "test \"\${$as_ac_var+set}\" = set"; then
67946   echo $ECHO_N "(cached) $ECHO_C" >&6
67947 else
67948   if test x$gcc_no_link = xyes; then
67949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67951    { (exit 1); exit 1; }; }
67952 fi
67953 cat >conftest.$ac_ext <<_ACEOF
67954 /* confdefs.h.  */
67955 _ACEOF
67956 cat confdefs.h >>conftest.$ac_ext
67957 cat >>conftest.$ac_ext <<_ACEOF
67958 /* end confdefs.h.  */
67959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67961 #define $ac_func innocuous_$ac_func
67962
67963 /* System header to define __stub macros and hopefully few prototypes,
67964     which can conflict with char $ac_func (); below.
67965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67966     <limits.h> exists even on freestanding compilers.  */
67967
67968 #ifdef __STDC__
67969 # include <limits.h>
67970 #else
67971 # include <assert.h>
67972 #endif
67973
67974 #undef $ac_func
67975
67976 /* Override any gcc2 internal prototype to avoid an error.  */
67977 #ifdef __cplusplus
67978 extern "C"
67979 {
67980 #endif
67981 /* We use char because int might match the return type of a gcc2
67982    builtin and then its argument prototype would still apply.  */
67983 char $ac_func ();
67984 /* The GNU C library defines this for functions which it implements
67985     to always fail with ENOSYS.  Some functions are actually named
67986     something starting with __ and the normal name is an alias.  */
67987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67988 choke me
67989 #else
67990 char (*f) () = $ac_func;
67991 #endif
67992 #ifdef __cplusplus
67993 }
67994 #endif
67995
67996 int
67997 main ()
67998 {
67999 return f != $ac_func;
68000   ;
68001   return 0;
68002 }
68003 _ACEOF
68004 rm -f conftest.$ac_objext conftest$ac_exeext
68005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68006   (eval $ac_link) 2>conftest.er1
68007   ac_status=$?
68008   grep -v '^ *+' conftest.er1 >conftest.err
68009   rm -f conftest.er1
68010   cat conftest.err >&5
68011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68012   (exit $ac_status); } &&
68013          { ac_try='test -z "$ac_c_werror_flag"
68014                          || test ! -s conftest.err'
68015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68016   (eval $ac_try) 2>&5
68017   ac_status=$?
68018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68019   (exit $ac_status); }; } &&
68020          { ac_try='test -s conftest$ac_exeext'
68021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68022   (eval $ac_try) 2>&5
68023   ac_status=$?
68024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68025   (exit $ac_status); }; }; then
68026   eval "$as_ac_var=yes"
68027 else
68028   echo "$as_me: failed program was:" >&5
68029 sed 's/^/| /' conftest.$ac_ext >&5
68030
68031 eval "$as_ac_var=no"
68032 fi
68033 rm -f conftest.err conftest.$ac_objext \
68034       conftest$ac_exeext conftest.$ac_ext
68035 fi
68036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68038 if test `eval echo '${'$as_ac_var'}'` = yes; then
68039   cat >>confdefs.h <<_ACEOF
68040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68041 _ACEOF
68042
68043 fi
68044 done
68045
68046   else
68047
68048   echo "$as_me:$LINENO: checking for _logl declaration" >&5
68049 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
68050   if test x${glibcxx_cv_func__logl_use+set} != xset; then
68051     if test "${glibcxx_cv_func__logl_use+set}" = set; then
68052   echo $ECHO_N "(cached) $ECHO_C" >&6
68053 else
68054
68055
68056
68057       ac_ext=cc
68058 ac_cpp='$CXXCPP $CPPFLAGS'
68059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68062
68063       cat >conftest.$ac_ext <<_ACEOF
68064 /* confdefs.h.  */
68065 _ACEOF
68066 cat confdefs.h >>conftest.$ac_ext
68067 cat >>conftest.$ac_ext <<_ACEOF
68068 /* end confdefs.h.  */
68069 #include <math.h>
68070                       #ifdef HAVE_IEEEFP_H
68071                       #include <ieeefp.h>
68072                       #endif
68073
68074 int
68075 main ()
68076 {
68077  _logl(0);
68078   ;
68079   return 0;
68080 }
68081 _ACEOF
68082 rm -f conftest.$ac_objext
68083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68084   (eval $ac_compile) 2>conftest.er1
68085   ac_status=$?
68086   grep -v '^ *+' conftest.er1 >conftest.err
68087   rm -f conftest.er1
68088   cat conftest.err >&5
68089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68090   (exit $ac_status); } &&
68091          { ac_try='test -z "$ac_cxx_werror_flag"
68092                          || test ! -s conftest.err'
68093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68094   (eval $ac_try) 2>&5
68095   ac_status=$?
68096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68097   (exit $ac_status); }; } &&
68098          { ac_try='test -s conftest.$ac_objext'
68099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68100   (eval $ac_try) 2>&5
68101   ac_status=$?
68102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68103   (exit $ac_status); }; }; then
68104   glibcxx_cv_func__logl_use=yes
68105 else
68106   echo "$as_me: failed program was:" >&5
68107 sed 's/^/| /' conftest.$ac_ext >&5
68108
68109 glibcxx_cv_func__logl_use=no
68110 fi
68111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68112       ac_ext=c
68113 ac_cpp='$CPP $CPPFLAGS'
68114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68117
68118
68119 fi
68120
68121   fi
68122   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
68123 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
68124
68125     if test x$glibcxx_cv_func__logl_use = x"yes"; then
68126
68127 for ac_func in _logl
68128 do
68129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68130 echo "$as_me:$LINENO: checking for $ac_func" >&5
68131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68132 if eval "test \"\${$as_ac_var+set}\" = set"; then
68133   echo $ECHO_N "(cached) $ECHO_C" >&6
68134 else
68135   if test x$gcc_no_link = xyes; then
68136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68138    { (exit 1); exit 1; }; }
68139 fi
68140 cat >conftest.$ac_ext <<_ACEOF
68141 /* confdefs.h.  */
68142 _ACEOF
68143 cat confdefs.h >>conftest.$ac_ext
68144 cat >>conftest.$ac_ext <<_ACEOF
68145 /* end confdefs.h.  */
68146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68148 #define $ac_func innocuous_$ac_func
68149
68150 /* System header to define __stub macros and hopefully few prototypes,
68151     which can conflict with char $ac_func (); below.
68152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68153     <limits.h> exists even on freestanding compilers.  */
68154
68155 #ifdef __STDC__
68156 # include <limits.h>
68157 #else
68158 # include <assert.h>
68159 #endif
68160
68161 #undef $ac_func
68162
68163 /* Override any gcc2 internal prototype to avoid an error.  */
68164 #ifdef __cplusplus
68165 extern "C"
68166 {
68167 #endif
68168 /* We use char because int might match the return type of a gcc2
68169    builtin and then its argument prototype would still apply.  */
68170 char $ac_func ();
68171 /* The GNU C library defines this for functions which it implements
68172     to always fail with ENOSYS.  Some functions are actually named
68173     something starting with __ and the normal name is an alias.  */
68174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68175 choke me
68176 #else
68177 char (*f) () = $ac_func;
68178 #endif
68179 #ifdef __cplusplus
68180 }
68181 #endif
68182
68183 int
68184 main ()
68185 {
68186 return f != $ac_func;
68187   ;
68188   return 0;
68189 }
68190 _ACEOF
68191 rm -f conftest.$ac_objext conftest$ac_exeext
68192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68193   (eval $ac_link) 2>conftest.er1
68194   ac_status=$?
68195   grep -v '^ *+' conftest.er1 >conftest.err
68196   rm -f conftest.er1
68197   cat conftest.err >&5
68198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68199   (exit $ac_status); } &&
68200          { ac_try='test -z "$ac_c_werror_flag"
68201                          || test ! -s conftest.err'
68202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68203   (eval $ac_try) 2>&5
68204   ac_status=$?
68205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68206   (exit $ac_status); }; } &&
68207          { ac_try='test -s conftest$ac_exeext'
68208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68209   (eval $ac_try) 2>&5
68210   ac_status=$?
68211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68212   (exit $ac_status); }; }; then
68213   eval "$as_ac_var=yes"
68214 else
68215   echo "$as_me: failed program was:" >&5
68216 sed 's/^/| /' conftest.$ac_ext >&5
68217
68218 eval "$as_ac_var=no"
68219 fi
68220 rm -f conftest.err conftest.$ac_objext \
68221       conftest$ac_exeext conftest.$ac_ext
68222 fi
68223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68225 if test `eval echo '${'$as_ac_var'}'` = yes; then
68226   cat >>confdefs.h <<_ACEOF
68227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68228 _ACEOF
68229
68230 fi
68231 done
68232
68233     fi
68234   fi
68235
68236
68237
68238
68239
68240
68241   echo "$as_me:$LINENO: checking for log10l declaration" >&5
68242 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68243   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68244     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68245   echo $ECHO_N "(cached) $ECHO_C" >&6
68246 else
68247
68248
68249
68250       ac_ext=cc
68251 ac_cpp='$CXXCPP $CPPFLAGS'
68252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68255
68256       cat >conftest.$ac_ext <<_ACEOF
68257 /* confdefs.h.  */
68258 _ACEOF
68259 cat confdefs.h >>conftest.$ac_ext
68260 cat >>conftest.$ac_ext <<_ACEOF
68261 /* end confdefs.h.  */
68262 #include <math.h>
68263                       #ifdef HAVE_IEEEFP_H
68264                       #include <ieeefp.h>
68265                       #endif
68266
68267 int
68268 main ()
68269 {
68270  log10l(0);
68271   ;
68272   return 0;
68273 }
68274 _ACEOF
68275 rm -f conftest.$ac_objext
68276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68277   (eval $ac_compile) 2>conftest.er1
68278   ac_status=$?
68279   grep -v '^ *+' conftest.er1 >conftest.err
68280   rm -f conftest.er1
68281   cat conftest.err >&5
68282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68283   (exit $ac_status); } &&
68284          { ac_try='test -z "$ac_cxx_werror_flag"
68285                          || test ! -s conftest.err'
68286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68287   (eval $ac_try) 2>&5
68288   ac_status=$?
68289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68290   (exit $ac_status); }; } &&
68291          { ac_try='test -s conftest.$ac_objext'
68292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68293   (eval $ac_try) 2>&5
68294   ac_status=$?
68295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68296   (exit $ac_status); }; }; then
68297   glibcxx_cv_func_log10l_use=yes
68298 else
68299   echo "$as_me: failed program was:" >&5
68300 sed 's/^/| /' conftest.$ac_ext >&5
68301
68302 glibcxx_cv_func_log10l_use=no
68303 fi
68304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68305       ac_ext=c
68306 ac_cpp='$CPP $CPPFLAGS'
68307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68310
68311
68312 fi
68313
68314   fi
68315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68316 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68317
68318   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68319
68320 for ac_func in log10l
68321 do
68322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68323 echo "$as_me:$LINENO: checking for $ac_func" >&5
68324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68325 if eval "test \"\${$as_ac_var+set}\" = set"; then
68326   echo $ECHO_N "(cached) $ECHO_C" >&6
68327 else
68328   if test x$gcc_no_link = xyes; then
68329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68331    { (exit 1); exit 1; }; }
68332 fi
68333 cat >conftest.$ac_ext <<_ACEOF
68334 /* confdefs.h.  */
68335 _ACEOF
68336 cat confdefs.h >>conftest.$ac_ext
68337 cat >>conftest.$ac_ext <<_ACEOF
68338 /* end confdefs.h.  */
68339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68341 #define $ac_func innocuous_$ac_func
68342
68343 /* System header to define __stub macros and hopefully few prototypes,
68344     which can conflict with char $ac_func (); below.
68345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68346     <limits.h> exists even on freestanding compilers.  */
68347
68348 #ifdef __STDC__
68349 # include <limits.h>
68350 #else
68351 # include <assert.h>
68352 #endif
68353
68354 #undef $ac_func
68355
68356 /* Override any gcc2 internal prototype to avoid an error.  */
68357 #ifdef __cplusplus
68358 extern "C"
68359 {
68360 #endif
68361 /* We use char because int might match the return type of a gcc2
68362    builtin and then its argument prototype would still apply.  */
68363 char $ac_func ();
68364 /* The GNU C library defines this for functions which it implements
68365     to always fail with ENOSYS.  Some functions are actually named
68366     something starting with __ and the normal name is an alias.  */
68367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68368 choke me
68369 #else
68370 char (*f) () = $ac_func;
68371 #endif
68372 #ifdef __cplusplus
68373 }
68374 #endif
68375
68376 int
68377 main ()
68378 {
68379 return f != $ac_func;
68380   ;
68381   return 0;
68382 }
68383 _ACEOF
68384 rm -f conftest.$ac_objext conftest$ac_exeext
68385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68386   (eval $ac_link) 2>conftest.er1
68387   ac_status=$?
68388   grep -v '^ *+' conftest.er1 >conftest.err
68389   rm -f conftest.er1
68390   cat conftest.err >&5
68391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68392   (exit $ac_status); } &&
68393          { ac_try='test -z "$ac_c_werror_flag"
68394                          || test ! -s conftest.err'
68395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68396   (eval $ac_try) 2>&5
68397   ac_status=$?
68398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68399   (exit $ac_status); }; } &&
68400          { ac_try='test -s conftest$ac_exeext'
68401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68402   (eval $ac_try) 2>&5
68403   ac_status=$?
68404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68405   (exit $ac_status); }; }; then
68406   eval "$as_ac_var=yes"
68407 else
68408   echo "$as_me: failed program was:" >&5
68409 sed 's/^/| /' conftest.$ac_ext >&5
68410
68411 eval "$as_ac_var=no"
68412 fi
68413 rm -f conftest.err conftest.$ac_objext \
68414       conftest$ac_exeext conftest.$ac_ext
68415 fi
68416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68418 if test `eval echo '${'$as_ac_var'}'` = yes; then
68419   cat >>confdefs.h <<_ACEOF
68420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68421 _ACEOF
68422
68423 fi
68424 done
68425
68426   else
68427
68428   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68429 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68430   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68431     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68432   echo $ECHO_N "(cached) $ECHO_C" >&6
68433 else
68434
68435
68436
68437       ac_ext=cc
68438 ac_cpp='$CXXCPP $CPPFLAGS'
68439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68442
68443       cat >conftest.$ac_ext <<_ACEOF
68444 /* confdefs.h.  */
68445 _ACEOF
68446 cat confdefs.h >>conftest.$ac_ext
68447 cat >>conftest.$ac_ext <<_ACEOF
68448 /* end confdefs.h.  */
68449 #include <math.h>
68450                       #ifdef HAVE_IEEEFP_H
68451                       #include <ieeefp.h>
68452                       #endif
68453
68454 int
68455 main ()
68456 {
68457  _log10l(0);
68458   ;
68459   return 0;
68460 }
68461 _ACEOF
68462 rm -f conftest.$ac_objext
68463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68464   (eval $ac_compile) 2>conftest.er1
68465   ac_status=$?
68466   grep -v '^ *+' conftest.er1 >conftest.err
68467   rm -f conftest.er1
68468   cat conftest.err >&5
68469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68470   (exit $ac_status); } &&
68471          { ac_try='test -z "$ac_cxx_werror_flag"
68472                          || test ! -s conftest.err'
68473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68474   (eval $ac_try) 2>&5
68475   ac_status=$?
68476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68477   (exit $ac_status); }; } &&
68478          { ac_try='test -s conftest.$ac_objext'
68479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68480   (eval $ac_try) 2>&5
68481   ac_status=$?
68482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68483   (exit $ac_status); }; }; then
68484   glibcxx_cv_func__log10l_use=yes
68485 else
68486   echo "$as_me: failed program was:" >&5
68487 sed 's/^/| /' conftest.$ac_ext >&5
68488
68489 glibcxx_cv_func__log10l_use=no
68490 fi
68491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68492       ac_ext=c
68493 ac_cpp='$CPP $CPPFLAGS'
68494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68497
68498
68499 fi
68500
68501   fi
68502   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68503 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68504
68505     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68506
68507 for ac_func in _log10l
68508 do
68509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68510 echo "$as_me:$LINENO: checking for $ac_func" >&5
68511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68512 if eval "test \"\${$as_ac_var+set}\" = set"; then
68513   echo $ECHO_N "(cached) $ECHO_C" >&6
68514 else
68515   if test x$gcc_no_link = xyes; then
68516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68518    { (exit 1); exit 1; }; }
68519 fi
68520 cat >conftest.$ac_ext <<_ACEOF
68521 /* confdefs.h.  */
68522 _ACEOF
68523 cat confdefs.h >>conftest.$ac_ext
68524 cat >>conftest.$ac_ext <<_ACEOF
68525 /* end confdefs.h.  */
68526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68528 #define $ac_func innocuous_$ac_func
68529
68530 /* System header to define __stub macros and hopefully few prototypes,
68531     which can conflict with char $ac_func (); below.
68532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68533     <limits.h> exists even on freestanding compilers.  */
68534
68535 #ifdef __STDC__
68536 # include <limits.h>
68537 #else
68538 # include <assert.h>
68539 #endif
68540
68541 #undef $ac_func
68542
68543 /* Override any gcc2 internal prototype to avoid an error.  */
68544 #ifdef __cplusplus
68545 extern "C"
68546 {
68547 #endif
68548 /* We use char because int might match the return type of a gcc2
68549    builtin and then its argument prototype would still apply.  */
68550 char $ac_func ();
68551 /* The GNU C library defines this for functions which it implements
68552     to always fail with ENOSYS.  Some functions are actually named
68553     something starting with __ and the normal name is an alias.  */
68554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68555 choke me
68556 #else
68557 char (*f) () = $ac_func;
68558 #endif
68559 #ifdef __cplusplus
68560 }
68561 #endif
68562
68563 int
68564 main ()
68565 {
68566 return f != $ac_func;
68567   ;
68568   return 0;
68569 }
68570 _ACEOF
68571 rm -f conftest.$ac_objext conftest$ac_exeext
68572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68573   (eval $ac_link) 2>conftest.er1
68574   ac_status=$?
68575   grep -v '^ *+' conftest.er1 >conftest.err
68576   rm -f conftest.er1
68577   cat conftest.err >&5
68578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68579   (exit $ac_status); } &&
68580          { ac_try='test -z "$ac_c_werror_flag"
68581                          || test ! -s conftest.err'
68582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68583   (eval $ac_try) 2>&5
68584   ac_status=$?
68585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68586   (exit $ac_status); }; } &&
68587          { ac_try='test -s conftest$ac_exeext'
68588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68589   (eval $ac_try) 2>&5
68590   ac_status=$?
68591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68592   (exit $ac_status); }; }; then
68593   eval "$as_ac_var=yes"
68594 else
68595   echo "$as_me: failed program was:" >&5
68596 sed 's/^/| /' conftest.$ac_ext >&5
68597
68598 eval "$as_ac_var=no"
68599 fi
68600 rm -f conftest.err conftest.$ac_objext \
68601       conftest$ac_exeext conftest.$ac_ext
68602 fi
68603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68605 if test `eval echo '${'$as_ac_var'}'` = yes; then
68606   cat >>confdefs.h <<_ACEOF
68607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68608 _ACEOF
68609
68610 fi
68611 done
68612
68613     fi
68614   fi
68615
68616
68617
68618
68619
68620
68621   echo "$as_me:$LINENO: checking for modfl declaration" >&5
68622 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68623   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68624     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68625   echo $ECHO_N "(cached) $ECHO_C" >&6
68626 else
68627
68628
68629
68630       ac_ext=cc
68631 ac_cpp='$CXXCPP $CPPFLAGS'
68632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68635
68636       cat >conftest.$ac_ext <<_ACEOF
68637 /* confdefs.h.  */
68638 _ACEOF
68639 cat confdefs.h >>conftest.$ac_ext
68640 cat >>conftest.$ac_ext <<_ACEOF
68641 /* end confdefs.h.  */
68642 #include <math.h>
68643 int
68644 main ()
68645 {
68646  modfl(0, 0);
68647   ;
68648   return 0;
68649 }
68650 _ACEOF
68651 rm -f conftest.$ac_objext
68652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68653   (eval $ac_compile) 2>conftest.er1
68654   ac_status=$?
68655   grep -v '^ *+' conftest.er1 >conftest.err
68656   rm -f conftest.er1
68657   cat conftest.err >&5
68658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68659   (exit $ac_status); } &&
68660          { ac_try='test -z "$ac_cxx_werror_flag"
68661                          || test ! -s conftest.err'
68662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68663   (eval $ac_try) 2>&5
68664   ac_status=$?
68665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68666   (exit $ac_status); }; } &&
68667          { ac_try='test -s conftest.$ac_objext'
68668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68669   (eval $ac_try) 2>&5
68670   ac_status=$?
68671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68672   (exit $ac_status); }; }; then
68673   glibcxx_cv_func_modfl_use=yes
68674 else
68675   echo "$as_me: failed program was:" >&5
68676 sed 's/^/| /' conftest.$ac_ext >&5
68677
68678 glibcxx_cv_func_modfl_use=no
68679 fi
68680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68681       ac_ext=c
68682 ac_cpp='$CPP $CPPFLAGS'
68683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68686
68687
68688 fi
68689
68690   fi
68691   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68692 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68693
68694   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68695
68696 for ac_func in modfl
68697 do
68698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68699 echo "$as_me:$LINENO: checking for $ac_func" >&5
68700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68701 if eval "test \"\${$as_ac_var+set}\" = set"; then
68702   echo $ECHO_N "(cached) $ECHO_C" >&6
68703 else
68704   if test x$gcc_no_link = xyes; then
68705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68707    { (exit 1); exit 1; }; }
68708 fi
68709 cat >conftest.$ac_ext <<_ACEOF
68710 /* confdefs.h.  */
68711 _ACEOF
68712 cat confdefs.h >>conftest.$ac_ext
68713 cat >>conftest.$ac_ext <<_ACEOF
68714 /* end confdefs.h.  */
68715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68717 #define $ac_func innocuous_$ac_func
68718
68719 /* System header to define __stub macros and hopefully few prototypes,
68720     which can conflict with char $ac_func (); below.
68721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68722     <limits.h> exists even on freestanding compilers.  */
68723
68724 #ifdef __STDC__
68725 # include <limits.h>
68726 #else
68727 # include <assert.h>
68728 #endif
68729
68730 #undef $ac_func
68731
68732 /* Override any gcc2 internal prototype to avoid an error.  */
68733 #ifdef __cplusplus
68734 extern "C"
68735 {
68736 #endif
68737 /* We use char because int might match the return type of a gcc2
68738    builtin and then its argument prototype would still apply.  */
68739 char $ac_func ();
68740 /* The GNU C library defines this for functions which it implements
68741     to always fail with ENOSYS.  Some functions are actually named
68742     something starting with __ and the normal name is an alias.  */
68743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68744 choke me
68745 #else
68746 char (*f) () = $ac_func;
68747 #endif
68748 #ifdef __cplusplus
68749 }
68750 #endif
68751
68752 int
68753 main ()
68754 {
68755 return f != $ac_func;
68756   ;
68757   return 0;
68758 }
68759 _ACEOF
68760 rm -f conftest.$ac_objext conftest$ac_exeext
68761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68762   (eval $ac_link) 2>conftest.er1
68763   ac_status=$?
68764   grep -v '^ *+' conftest.er1 >conftest.err
68765   rm -f conftest.er1
68766   cat conftest.err >&5
68767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68768   (exit $ac_status); } &&
68769          { ac_try='test -z "$ac_c_werror_flag"
68770                          || test ! -s conftest.err'
68771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68772   (eval $ac_try) 2>&5
68773   ac_status=$?
68774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68775   (exit $ac_status); }; } &&
68776          { ac_try='test -s conftest$ac_exeext'
68777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68778   (eval $ac_try) 2>&5
68779   ac_status=$?
68780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68781   (exit $ac_status); }; }; then
68782   eval "$as_ac_var=yes"
68783 else
68784   echo "$as_me: failed program was:" >&5
68785 sed 's/^/| /' conftest.$ac_ext >&5
68786
68787 eval "$as_ac_var=no"
68788 fi
68789 rm -f conftest.err conftest.$ac_objext \
68790       conftest$ac_exeext conftest.$ac_ext
68791 fi
68792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68794 if test `eval echo '${'$as_ac_var'}'` = yes; then
68795   cat >>confdefs.h <<_ACEOF
68796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68797 _ACEOF
68798
68799 fi
68800 done
68801
68802   else
68803
68804   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68805 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68806   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68807     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68808   echo $ECHO_N "(cached) $ECHO_C" >&6
68809 else
68810
68811
68812
68813       ac_ext=cc
68814 ac_cpp='$CXXCPP $CPPFLAGS'
68815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68818
68819       cat >conftest.$ac_ext <<_ACEOF
68820 /* confdefs.h.  */
68821 _ACEOF
68822 cat confdefs.h >>conftest.$ac_ext
68823 cat >>conftest.$ac_ext <<_ACEOF
68824 /* end confdefs.h.  */
68825 #include <math.h>
68826 int
68827 main ()
68828 {
68829  _modfl(0, 0);
68830   ;
68831   return 0;
68832 }
68833 _ACEOF
68834 rm -f conftest.$ac_objext
68835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68836   (eval $ac_compile) 2>conftest.er1
68837   ac_status=$?
68838   grep -v '^ *+' conftest.er1 >conftest.err
68839   rm -f conftest.er1
68840   cat conftest.err >&5
68841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68842   (exit $ac_status); } &&
68843          { ac_try='test -z "$ac_cxx_werror_flag"
68844                          || test ! -s conftest.err'
68845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68846   (eval $ac_try) 2>&5
68847   ac_status=$?
68848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68849   (exit $ac_status); }; } &&
68850          { ac_try='test -s conftest.$ac_objext'
68851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68852   (eval $ac_try) 2>&5
68853   ac_status=$?
68854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68855   (exit $ac_status); }; }; then
68856   glibcxx_cv_func__modfl_use=yes
68857 else
68858   echo "$as_me: failed program was:" >&5
68859 sed 's/^/| /' conftest.$ac_ext >&5
68860
68861 glibcxx_cv_func__modfl_use=no
68862 fi
68863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68864       ac_ext=c
68865 ac_cpp='$CPP $CPPFLAGS'
68866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68869
68870
68871 fi
68872
68873   fi
68874   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68875 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68876
68877     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68878
68879 for ac_func in _modfl
68880 do
68881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68882 echo "$as_me:$LINENO: checking for $ac_func" >&5
68883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68884 if eval "test \"\${$as_ac_var+set}\" = set"; then
68885   echo $ECHO_N "(cached) $ECHO_C" >&6
68886 else
68887   if test x$gcc_no_link = xyes; then
68888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68890    { (exit 1); exit 1; }; }
68891 fi
68892 cat >conftest.$ac_ext <<_ACEOF
68893 /* confdefs.h.  */
68894 _ACEOF
68895 cat confdefs.h >>conftest.$ac_ext
68896 cat >>conftest.$ac_ext <<_ACEOF
68897 /* end confdefs.h.  */
68898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68900 #define $ac_func innocuous_$ac_func
68901
68902 /* System header to define __stub macros and hopefully few prototypes,
68903     which can conflict with char $ac_func (); below.
68904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68905     <limits.h> exists even on freestanding compilers.  */
68906
68907 #ifdef __STDC__
68908 # include <limits.h>
68909 #else
68910 # include <assert.h>
68911 #endif
68912
68913 #undef $ac_func
68914
68915 /* Override any gcc2 internal prototype to avoid an error.  */
68916 #ifdef __cplusplus
68917 extern "C"
68918 {
68919 #endif
68920 /* We use char because int might match the return type of a gcc2
68921    builtin and then its argument prototype would still apply.  */
68922 char $ac_func ();
68923 /* The GNU C library defines this for functions which it implements
68924     to always fail with ENOSYS.  Some functions are actually named
68925     something starting with __ and the normal name is an alias.  */
68926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68927 choke me
68928 #else
68929 char (*f) () = $ac_func;
68930 #endif
68931 #ifdef __cplusplus
68932 }
68933 #endif
68934
68935 int
68936 main ()
68937 {
68938 return f != $ac_func;
68939   ;
68940   return 0;
68941 }
68942 _ACEOF
68943 rm -f conftest.$ac_objext conftest$ac_exeext
68944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68945   (eval $ac_link) 2>conftest.er1
68946   ac_status=$?
68947   grep -v '^ *+' conftest.er1 >conftest.err
68948   rm -f conftest.er1
68949   cat conftest.err >&5
68950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68951   (exit $ac_status); } &&
68952          { ac_try='test -z "$ac_c_werror_flag"
68953                          || test ! -s conftest.err'
68954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68955   (eval $ac_try) 2>&5
68956   ac_status=$?
68957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68958   (exit $ac_status); }; } &&
68959          { ac_try='test -s conftest$ac_exeext'
68960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68961   (eval $ac_try) 2>&5
68962   ac_status=$?
68963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68964   (exit $ac_status); }; }; then
68965   eval "$as_ac_var=yes"
68966 else
68967   echo "$as_me: failed program was:" >&5
68968 sed 's/^/| /' conftest.$ac_ext >&5
68969
68970 eval "$as_ac_var=no"
68971 fi
68972 rm -f conftest.err conftest.$ac_objext \
68973       conftest$ac_exeext conftest.$ac_ext
68974 fi
68975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68977 if test `eval echo '${'$as_ac_var'}'` = yes; then
68978   cat >>confdefs.h <<_ACEOF
68979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68980 _ACEOF
68981
68982 fi
68983 done
68984
68985     fi
68986   fi
68987
68988
68989
68990
68991
68992
68993   echo "$as_me:$LINENO: checking for powl declaration" >&5
68994 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68995   if test x${glibcxx_cv_func_powl_use+set} != xset; then
68996     if test "${glibcxx_cv_func_powl_use+set}" = set; then
68997   echo $ECHO_N "(cached) $ECHO_C" >&6
68998 else
68999
69000
69001
69002       ac_ext=cc
69003 ac_cpp='$CXXCPP $CPPFLAGS'
69004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69007
69008       cat >conftest.$ac_ext <<_ACEOF
69009 /* confdefs.h.  */
69010 _ACEOF
69011 cat confdefs.h >>conftest.$ac_ext
69012 cat >>conftest.$ac_ext <<_ACEOF
69013 /* end confdefs.h.  */
69014 #include <math.h>
69015 int
69016 main ()
69017 {
69018  powl(0, 0);
69019   ;
69020   return 0;
69021 }
69022 _ACEOF
69023 rm -f conftest.$ac_objext
69024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69025   (eval $ac_compile) 2>conftest.er1
69026   ac_status=$?
69027   grep -v '^ *+' conftest.er1 >conftest.err
69028   rm -f conftest.er1
69029   cat conftest.err >&5
69030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69031   (exit $ac_status); } &&
69032          { ac_try='test -z "$ac_cxx_werror_flag"
69033                          || test ! -s conftest.err'
69034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69035   (eval $ac_try) 2>&5
69036   ac_status=$?
69037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69038   (exit $ac_status); }; } &&
69039          { ac_try='test -s conftest.$ac_objext'
69040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69041   (eval $ac_try) 2>&5
69042   ac_status=$?
69043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69044   (exit $ac_status); }; }; then
69045   glibcxx_cv_func_powl_use=yes
69046 else
69047   echo "$as_me: failed program was:" >&5
69048 sed 's/^/| /' conftest.$ac_ext >&5
69049
69050 glibcxx_cv_func_powl_use=no
69051 fi
69052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69053       ac_ext=c
69054 ac_cpp='$CPP $CPPFLAGS'
69055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69058
69059
69060 fi
69061
69062   fi
69063   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
69064 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
69065
69066   if test x$glibcxx_cv_func_powl_use = x"yes"; then
69067
69068 for ac_func in powl
69069 do
69070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69071 echo "$as_me:$LINENO: checking for $ac_func" >&5
69072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69073 if eval "test \"\${$as_ac_var+set}\" = set"; then
69074   echo $ECHO_N "(cached) $ECHO_C" >&6
69075 else
69076   if test x$gcc_no_link = xyes; then
69077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69079    { (exit 1); exit 1; }; }
69080 fi
69081 cat >conftest.$ac_ext <<_ACEOF
69082 /* confdefs.h.  */
69083 _ACEOF
69084 cat confdefs.h >>conftest.$ac_ext
69085 cat >>conftest.$ac_ext <<_ACEOF
69086 /* end confdefs.h.  */
69087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69088    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69089 #define $ac_func innocuous_$ac_func
69090
69091 /* System header to define __stub macros and hopefully few prototypes,
69092     which can conflict with char $ac_func (); below.
69093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69094     <limits.h> exists even on freestanding compilers.  */
69095
69096 #ifdef __STDC__
69097 # include <limits.h>
69098 #else
69099 # include <assert.h>
69100 #endif
69101
69102 #undef $ac_func
69103
69104 /* Override any gcc2 internal prototype to avoid an error.  */
69105 #ifdef __cplusplus
69106 extern "C"
69107 {
69108 #endif
69109 /* We use char because int might match the return type of a gcc2
69110    builtin and then its argument prototype would still apply.  */
69111 char $ac_func ();
69112 /* The GNU C library defines this for functions which it implements
69113     to always fail with ENOSYS.  Some functions are actually named
69114     something starting with __ and the normal name is an alias.  */
69115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69116 choke me
69117 #else
69118 char (*f) () = $ac_func;
69119 #endif
69120 #ifdef __cplusplus
69121 }
69122 #endif
69123
69124 int
69125 main ()
69126 {
69127 return f != $ac_func;
69128   ;
69129   return 0;
69130 }
69131 _ACEOF
69132 rm -f conftest.$ac_objext conftest$ac_exeext
69133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69134   (eval $ac_link) 2>conftest.er1
69135   ac_status=$?
69136   grep -v '^ *+' conftest.er1 >conftest.err
69137   rm -f conftest.er1
69138   cat conftest.err >&5
69139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69140   (exit $ac_status); } &&
69141          { ac_try='test -z "$ac_c_werror_flag"
69142                          || test ! -s conftest.err'
69143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69144   (eval $ac_try) 2>&5
69145   ac_status=$?
69146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69147   (exit $ac_status); }; } &&
69148          { ac_try='test -s conftest$ac_exeext'
69149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69150   (eval $ac_try) 2>&5
69151   ac_status=$?
69152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69153   (exit $ac_status); }; }; then
69154   eval "$as_ac_var=yes"
69155 else
69156   echo "$as_me: failed program was:" >&5
69157 sed 's/^/| /' conftest.$ac_ext >&5
69158
69159 eval "$as_ac_var=no"
69160 fi
69161 rm -f conftest.err conftest.$ac_objext \
69162       conftest$ac_exeext conftest.$ac_ext
69163 fi
69164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69166 if test `eval echo '${'$as_ac_var'}'` = yes; then
69167   cat >>confdefs.h <<_ACEOF
69168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69169 _ACEOF
69170
69171 fi
69172 done
69173
69174   else
69175
69176   echo "$as_me:$LINENO: checking for _powl declaration" >&5
69177 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
69178   if test x${glibcxx_cv_func__powl_use+set} != xset; then
69179     if test "${glibcxx_cv_func__powl_use+set}" = set; then
69180   echo $ECHO_N "(cached) $ECHO_C" >&6
69181 else
69182
69183
69184
69185       ac_ext=cc
69186 ac_cpp='$CXXCPP $CPPFLAGS'
69187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69190
69191       cat >conftest.$ac_ext <<_ACEOF
69192 /* confdefs.h.  */
69193 _ACEOF
69194 cat confdefs.h >>conftest.$ac_ext
69195 cat >>conftest.$ac_ext <<_ACEOF
69196 /* end confdefs.h.  */
69197 #include <math.h>
69198 int
69199 main ()
69200 {
69201  _powl(0, 0);
69202   ;
69203   return 0;
69204 }
69205 _ACEOF
69206 rm -f conftest.$ac_objext
69207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69208   (eval $ac_compile) 2>conftest.er1
69209   ac_status=$?
69210   grep -v '^ *+' conftest.er1 >conftest.err
69211   rm -f conftest.er1
69212   cat conftest.err >&5
69213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69214   (exit $ac_status); } &&
69215          { ac_try='test -z "$ac_cxx_werror_flag"
69216                          || test ! -s conftest.err'
69217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69218   (eval $ac_try) 2>&5
69219   ac_status=$?
69220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69221   (exit $ac_status); }; } &&
69222          { ac_try='test -s conftest.$ac_objext'
69223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69224   (eval $ac_try) 2>&5
69225   ac_status=$?
69226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69227   (exit $ac_status); }; }; then
69228   glibcxx_cv_func__powl_use=yes
69229 else
69230   echo "$as_me: failed program was:" >&5
69231 sed 's/^/| /' conftest.$ac_ext >&5
69232
69233 glibcxx_cv_func__powl_use=no
69234 fi
69235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69236       ac_ext=c
69237 ac_cpp='$CPP $CPPFLAGS'
69238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69241
69242
69243 fi
69244
69245   fi
69246   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69247 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69248
69249     if test x$glibcxx_cv_func__powl_use = x"yes"; then
69250
69251 for ac_func in _powl
69252 do
69253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69254 echo "$as_me:$LINENO: checking for $ac_func" >&5
69255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69256 if eval "test \"\${$as_ac_var+set}\" = set"; then
69257   echo $ECHO_N "(cached) $ECHO_C" >&6
69258 else
69259   if test x$gcc_no_link = xyes; then
69260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69262    { (exit 1); exit 1; }; }
69263 fi
69264 cat >conftest.$ac_ext <<_ACEOF
69265 /* confdefs.h.  */
69266 _ACEOF
69267 cat confdefs.h >>conftest.$ac_ext
69268 cat >>conftest.$ac_ext <<_ACEOF
69269 /* end confdefs.h.  */
69270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69272 #define $ac_func innocuous_$ac_func
69273
69274 /* System header to define __stub macros and hopefully few prototypes,
69275     which can conflict with char $ac_func (); below.
69276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69277     <limits.h> exists even on freestanding compilers.  */
69278
69279 #ifdef __STDC__
69280 # include <limits.h>
69281 #else
69282 # include <assert.h>
69283 #endif
69284
69285 #undef $ac_func
69286
69287 /* Override any gcc2 internal prototype to avoid an error.  */
69288 #ifdef __cplusplus
69289 extern "C"
69290 {
69291 #endif
69292 /* We use char because int might match the return type of a gcc2
69293    builtin and then its argument prototype would still apply.  */
69294 char $ac_func ();
69295 /* The GNU C library defines this for functions which it implements
69296     to always fail with ENOSYS.  Some functions are actually named
69297     something starting with __ and the normal name is an alias.  */
69298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69299 choke me
69300 #else
69301 char (*f) () = $ac_func;
69302 #endif
69303 #ifdef __cplusplus
69304 }
69305 #endif
69306
69307 int
69308 main ()
69309 {
69310 return f != $ac_func;
69311   ;
69312   return 0;
69313 }
69314 _ACEOF
69315 rm -f conftest.$ac_objext conftest$ac_exeext
69316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69317   (eval $ac_link) 2>conftest.er1
69318   ac_status=$?
69319   grep -v '^ *+' conftest.er1 >conftest.err
69320   rm -f conftest.er1
69321   cat conftest.err >&5
69322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69323   (exit $ac_status); } &&
69324          { ac_try='test -z "$ac_c_werror_flag"
69325                          || test ! -s conftest.err'
69326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69327   (eval $ac_try) 2>&5
69328   ac_status=$?
69329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69330   (exit $ac_status); }; } &&
69331          { ac_try='test -s conftest$ac_exeext'
69332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69333   (eval $ac_try) 2>&5
69334   ac_status=$?
69335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69336   (exit $ac_status); }; }; then
69337   eval "$as_ac_var=yes"
69338 else
69339   echo "$as_me: failed program was:" >&5
69340 sed 's/^/| /' conftest.$ac_ext >&5
69341
69342 eval "$as_ac_var=no"
69343 fi
69344 rm -f conftest.err conftest.$ac_objext \
69345       conftest$ac_exeext conftest.$ac_ext
69346 fi
69347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69349 if test `eval echo '${'$as_ac_var'}'` = yes; then
69350   cat >>confdefs.h <<_ACEOF
69351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69352 _ACEOF
69353
69354 fi
69355 done
69356
69357     fi
69358   fi
69359
69360
69361
69362
69363
69364
69365   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69366 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69367   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69368     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69369   echo $ECHO_N "(cached) $ECHO_C" >&6
69370 else
69371
69372
69373
69374       ac_ext=cc
69375 ac_cpp='$CXXCPP $CPPFLAGS'
69376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69379
69380       cat >conftest.$ac_ext <<_ACEOF
69381 /* confdefs.h.  */
69382 _ACEOF
69383 cat confdefs.h >>conftest.$ac_ext
69384 cat >>conftest.$ac_ext <<_ACEOF
69385 /* end confdefs.h.  */
69386 #include <math.h>
69387                       #ifdef HAVE_IEEEFP_H
69388                       #include <ieeefp.h>
69389                       #endif
69390
69391 int
69392 main ()
69393 {
69394  sqrtl(0);
69395   ;
69396   return 0;
69397 }
69398 _ACEOF
69399 rm -f conftest.$ac_objext
69400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69401   (eval $ac_compile) 2>conftest.er1
69402   ac_status=$?
69403   grep -v '^ *+' conftest.er1 >conftest.err
69404   rm -f conftest.er1
69405   cat conftest.err >&5
69406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69407   (exit $ac_status); } &&
69408          { ac_try='test -z "$ac_cxx_werror_flag"
69409                          || test ! -s conftest.err'
69410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69411   (eval $ac_try) 2>&5
69412   ac_status=$?
69413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69414   (exit $ac_status); }; } &&
69415          { ac_try='test -s conftest.$ac_objext'
69416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69417   (eval $ac_try) 2>&5
69418   ac_status=$?
69419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69420   (exit $ac_status); }; }; then
69421   glibcxx_cv_func_sqrtl_use=yes
69422 else
69423   echo "$as_me: failed program was:" >&5
69424 sed 's/^/| /' conftest.$ac_ext >&5
69425
69426 glibcxx_cv_func_sqrtl_use=no
69427 fi
69428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69429       ac_ext=c
69430 ac_cpp='$CPP $CPPFLAGS'
69431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69434
69435
69436 fi
69437
69438   fi
69439   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69440 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69441
69442   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69443
69444 for ac_func in sqrtl
69445 do
69446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69447 echo "$as_me:$LINENO: checking for $ac_func" >&5
69448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69449 if eval "test \"\${$as_ac_var+set}\" = set"; then
69450   echo $ECHO_N "(cached) $ECHO_C" >&6
69451 else
69452   if test x$gcc_no_link = xyes; then
69453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69455    { (exit 1); exit 1; }; }
69456 fi
69457 cat >conftest.$ac_ext <<_ACEOF
69458 /* confdefs.h.  */
69459 _ACEOF
69460 cat confdefs.h >>conftest.$ac_ext
69461 cat >>conftest.$ac_ext <<_ACEOF
69462 /* end confdefs.h.  */
69463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69465 #define $ac_func innocuous_$ac_func
69466
69467 /* System header to define __stub macros and hopefully few prototypes,
69468     which can conflict with char $ac_func (); below.
69469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69470     <limits.h> exists even on freestanding compilers.  */
69471
69472 #ifdef __STDC__
69473 # include <limits.h>
69474 #else
69475 # include <assert.h>
69476 #endif
69477
69478 #undef $ac_func
69479
69480 /* Override any gcc2 internal prototype to avoid an error.  */
69481 #ifdef __cplusplus
69482 extern "C"
69483 {
69484 #endif
69485 /* We use char because int might match the return type of a gcc2
69486    builtin and then its argument prototype would still apply.  */
69487 char $ac_func ();
69488 /* The GNU C library defines this for functions which it implements
69489     to always fail with ENOSYS.  Some functions are actually named
69490     something starting with __ and the normal name is an alias.  */
69491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69492 choke me
69493 #else
69494 char (*f) () = $ac_func;
69495 #endif
69496 #ifdef __cplusplus
69497 }
69498 #endif
69499
69500 int
69501 main ()
69502 {
69503 return f != $ac_func;
69504   ;
69505   return 0;
69506 }
69507 _ACEOF
69508 rm -f conftest.$ac_objext conftest$ac_exeext
69509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69510   (eval $ac_link) 2>conftest.er1
69511   ac_status=$?
69512   grep -v '^ *+' conftest.er1 >conftest.err
69513   rm -f conftest.er1
69514   cat conftest.err >&5
69515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69516   (exit $ac_status); } &&
69517          { ac_try='test -z "$ac_c_werror_flag"
69518                          || test ! -s conftest.err'
69519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69520   (eval $ac_try) 2>&5
69521   ac_status=$?
69522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69523   (exit $ac_status); }; } &&
69524          { ac_try='test -s conftest$ac_exeext'
69525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69526   (eval $ac_try) 2>&5
69527   ac_status=$?
69528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69529   (exit $ac_status); }; }; then
69530   eval "$as_ac_var=yes"
69531 else
69532   echo "$as_me: failed program was:" >&5
69533 sed 's/^/| /' conftest.$ac_ext >&5
69534
69535 eval "$as_ac_var=no"
69536 fi
69537 rm -f conftest.err conftest.$ac_objext \
69538       conftest$ac_exeext conftest.$ac_ext
69539 fi
69540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69542 if test `eval echo '${'$as_ac_var'}'` = yes; then
69543   cat >>confdefs.h <<_ACEOF
69544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69545 _ACEOF
69546
69547 fi
69548 done
69549
69550   else
69551
69552   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69553 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69554   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69555     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69556   echo $ECHO_N "(cached) $ECHO_C" >&6
69557 else
69558
69559
69560
69561       ac_ext=cc
69562 ac_cpp='$CXXCPP $CPPFLAGS'
69563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69566
69567       cat >conftest.$ac_ext <<_ACEOF
69568 /* confdefs.h.  */
69569 _ACEOF
69570 cat confdefs.h >>conftest.$ac_ext
69571 cat >>conftest.$ac_ext <<_ACEOF
69572 /* end confdefs.h.  */
69573 #include <math.h>
69574                       #ifdef HAVE_IEEEFP_H
69575                       #include <ieeefp.h>
69576                       #endif
69577
69578 int
69579 main ()
69580 {
69581  _sqrtl(0);
69582   ;
69583   return 0;
69584 }
69585 _ACEOF
69586 rm -f conftest.$ac_objext
69587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69588   (eval $ac_compile) 2>conftest.er1
69589   ac_status=$?
69590   grep -v '^ *+' conftest.er1 >conftest.err
69591   rm -f conftest.er1
69592   cat conftest.err >&5
69593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69594   (exit $ac_status); } &&
69595          { ac_try='test -z "$ac_cxx_werror_flag"
69596                          || test ! -s conftest.err'
69597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69598   (eval $ac_try) 2>&5
69599   ac_status=$?
69600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69601   (exit $ac_status); }; } &&
69602          { ac_try='test -s conftest.$ac_objext'
69603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69604   (eval $ac_try) 2>&5
69605   ac_status=$?
69606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69607   (exit $ac_status); }; }; then
69608   glibcxx_cv_func__sqrtl_use=yes
69609 else
69610   echo "$as_me: failed program was:" >&5
69611 sed 's/^/| /' conftest.$ac_ext >&5
69612
69613 glibcxx_cv_func__sqrtl_use=no
69614 fi
69615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69616       ac_ext=c
69617 ac_cpp='$CPP $CPPFLAGS'
69618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69621
69622
69623 fi
69624
69625   fi
69626   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69627 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69628
69629     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69630
69631 for ac_func in _sqrtl
69632 do
69633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69634 echo "$as_me:$LINENO: checking for $ac_func" >&5
69635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69636 if eval "test \"\${$as_ac_var+set}\" = set"; then
69637   echo $ECHO_N "(cached) $ECHO_C" >&6
69638 else
69639   if test x$gcc_no_link = xyes; then
69640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69642    { (exit 1); exit 1; }; }
69643 fi
69644 cat >conftest.$ac_ext <<_ACEOF
69645 /* confdefs.h.  */
69646 _ACEOF
69647 cat confdefs.h >>conftest.$ac_ext
69648 cat >>conftest.$ac_ext <<_ACEOF
69649 /* end confdefs.h.  */
69650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69652 #define $ac_func innocuous_$ac_func
69653
69654 /* System header to define __stub macros and hopefully few prototypes,
69655     which can conflict with char $ac_func (); below.
69656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69657     <limits.h> exists even on freestanding compilers.  */
69658
69659 #ifdef __STDC__
69660 # include <limits.h>
69661 #else
69662 # include <assert.h>
69663 #endif
69664
69665 #undef $ac_func
69666
69667 /* Override any gcc2 internal prototype to avoid an error.  */
69668 #ifdef __cplusplus
69669 extern "C"
69670 {
69671 #endif
69672 /* We use char because int might match the return type of a gcc2
69673    builtin and then its argument prototype would still apply.  */
69674 char $ac_func ();
69675 /* The GNU C library defines this for functions which it implements
69676     to always fail with ENOSYS.  Some functions are actually named
69677     something starting with __ and the normal name is an alias.  */
69678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69679 choke me
69680 #else
69681 char (*f) () = $ac_func;
69682 #endif
69683 #ifdef __cplusplus
69684 }
69685 #endif
69686
69687 int
69688 main ()
69689 {
69690 return f != $ac_func;
69691   ;
69692   return 0;
69693 }
69694 _ACEOF
69695 rm -f conftest.$ac_objext conftest$ac_exeext
69696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69697   (eval $ac_link) 2>conftest.er1
69698   ac_status=$?
69699   grep -v '^ *+' conftest.er1 >conftest.err
69700   rm -f conftest.er1
69701   cat conftest.err >&5
69702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69703   (exit $ac_status); } &&
69704          { ac_try='test -z "$ac_c_werror_flag"
69705                          || test ! -s conftest.err'
69706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69707   (eval $ac_try) 2>&5
69708   ac_status=$?
69709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69710   (exit $ac_status); }; } &&
69711          { ac_try='test -s conftest$ac_exeext'
69712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69713   (eval $ac_try) 2>&5
69714   ac_status=$?
69715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69716   (exit $ac_status); }; }; then
69717   eval "$as_ac_var=yes"
69718 else
69719   echo "$as_me: failed program was:" >&5
69720 sed 's/^/| /' conftest.$ac_ext >&5
69721
69722 eval "$as_ac_var=no"
69723 fi
69724 rm -f conftest.err conftest.$ac_objext \
69725       conftest$ac_exeext conftest.$ac_ext
69726 fi
69727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69729 if test `eval echo '${'$as_ac_var'}'` = yes; then
69730   cat >>confdefs.h <<_ACEOF
69731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69732 _ACEOF
69733
69734 fi
69735 done
69736
69737     fi
69738   fi
69739
69740
69741
69742
69743
69744
69745   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69746 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69747   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69748     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69749   echo $ECHO_N "(cached) $ECHO_C" >&6
69750 else
69751
69752
69753
69754       ac_ext=cc
69755 ac_cpp='$CXXCPP $CPPFLAGS'
69756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69759
69760       cat >conftest.$ac_ext <<_ACEOF
69761 /* confdefs.h.  */
69762 _ACEOF
69763 cat confdefs.h >>conftest.$ac_ext
69764 cat >>conftest.$ac_ext <<_ACEOF
69765 /* end confdefs.h.  */
69766 #include <math.h>
69767 int
69768 main ()
69769 {
69770  sincosl(0, 0, 0);
69771   ;
69772   return 0;
69773 }
69774 _ACEOF
69775 rm -f conftest.$ac_objext
69776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69777   (eval $ac_compile) 2>conftest.er1
69778   ac_status=$?
69779   grep -v '^ *+' conftest.er1 >conftest.err
69780   rm -f conftest.er1
69781   cat conftest.err >&5
69782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69783   (exit $ac_status); } &&
69784          { ac_try='test -z "$ac_cxx_werror_flag"
69785                          || test ! -s conftest.err'
69786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69787   (eval $ac_try) 2>&5
69788   ac_status=$?
69789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69790   (exit $ac_status); }; } &&
69791          { ac_try='test -s conftest.$ac_objext'
69792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69793   (eval $ac_try) 2>&5
69794   ac_status=$?
69795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69796   (exit $ac_status); }; }; then
69797   glibcxx_cv_func_sincosl_use=yes
69798 else
69799   echo "$as_me: failed program was:" >&5
69800 sed 's/^/| /' conftest.$ac_ext >&5
69801
69802 glibcxx_cv_func_sincosl_use=no
69803 fi
69804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69805       ac_ext=c
69806 ac_cpp='$CPP $CPPFLAGS'
69807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69810
69811
69812 fi
69813
69814   fi
69815   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69816 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69817
69818   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69819
69820 for ac_func in sincosl
69821 do
69822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69823 echo "$as_me:$LINENO: checking for $ac_func" >&5
69824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69825 if eval "test \"\${$as_ac_var+set}\" = set"; then
69826   echo $ECHO_N "(cached) $ECHO_C" >&6
69827 else
69828   if test x$gcc_no_link = xyes; then
69829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69831    { (exit 1); exit 1; }; }
69832 fi
69833 cat >conftest.$ac_ext <<_ACEOF
69834 /* confdefs.h.  */
69835 _ACEOF
69836 cat confdefs.h >>conftest.$ac_ext
69837 cat >>conftest.$ac_ext <<_ACEOF
69838 /* end confdefs.h.  */
69839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69841 #define $ac_func innocuous_$ac_func
69842
69843 /* System header to define __stub macros and hopefully few prototypes,
69844     which can conflict with char $ac_func (); below.
69845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69846     <limits.h> exists even on freestanding compilers.  */
69847
69848 #ifdef __STDC__
69849 # include <limits.h>
69850 #else
69851 # include <assert.h>
69852 #endif
69853
69854 #undef $ac_func
69855
69856 /* Override any gcc2 internal prototype to avoid an error.  */
69857 #ifdef __cplusplus
69858 extern "C"
69859 {
69860 #endif
69861 /* We use char because int might match the return type of a gcc2
69862    builtin and then its argument prototype would still apply.  */
69863 char $ac_func ();
69864 /* The GNU C library defines this for functions which it implements
69865     to always fail with ENOSYS.  Some functions are actually named
69866     something starting with __ and the normal name is an alias.  */
69867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69868 choke me
69869 #else
69870 char (*f) () = $ac_func;
69871 #endif
69872 #ifdef __cplusplus
69873 }
69874 #endif
69875
69876 int
69877 main ()
69878 {
69879 return f != $ac_func;
69880   ;
69881   return 0;
69882 }
69883 _ACEOF
69884 rm -f conftest.$ac_objext conftest$ac_exeext
69885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69886   (eval $ac_link) 2>conftest.er1
69887   ac_status=$?
69888   grep -v '^ *+' conftest.er1 >conftest.err
69889   rm -f conftest.er1
69890   cat conftest.err >&5
69891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69892   (exit $ac_status); } &&
69893          { ac_try='test -z "$ac_c_werror_flag"
69894                          || test ! -s conftest.err'
69895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69896   (eval $ac_try) 2>&5
69897   ac_status=$?
69898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69899   (exit $ac_status); }; } &&
69900          { ac_try='test -s conftest$ac_exeext'
69901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69902   (eval $ac_try) 2>&5
69903   ac_status=$?
69904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69905   (exit $ac_status); }; }; then
69906   eval "$as_ac_var=yes"
69907 else
69908   echo "$as_me: failed program was:" >&5
69909 sed 's/^/| /' conftest.$ac_ext >&5
69910
69911 eval "$as_ac_var=no"
69912 fi
69913 rm -f conftest.err conftest.$ac_objext \
69914       conftest$ac_exeext conftest.$ac_ext
69915 fi
69916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69918 if test `eval echo '${'$as_ac_var'}'` = yes; then
69919   cat >>confdefs.h <<_ACEOF
69920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69921 _ACEOF
69922
69923 fi
69924 done
69925
69926   else
69927
69928   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69929 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69930   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69931     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69932   echo $ECHO_N "(cached) $ECHO_C" >&6
69933 else
69934
69935
69936
69937       ac_ext=cc
69938 ac_cpp='$CXXCPP $CPPFLAGS'
69939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69942
69943       cat >conftest.$ac_ext <<_ACEOF
69944 /* confdefs.h.  */
69945 _ACEOF
69946 cat confdefs.h >>conftest.$ac_ext
69947 cat >>conftest.$ac_ext <<_ACEOF
69948 /* end confdefs.h.  */
69949 #include <math.h>
69950 int
69951 main ()
69952 {
69953  _sincosl(0, 0, 0);
69954   ;
69955   return 0;
69956 }
69957 _ACEOF
69958 rm -f conftest.$ac_objext
69959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69960   (eval $ac_compile) 2>conftest.er1
69961   ac_status=$?
69962   grep -v '^ *+' conftest.er1 >conftest.err
69963   rm -f conftest.er1
69964   cat conftest.err >&5
69965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69966   (exit $ac_status); } &&
69967          { ac_try='test -z "$ac_cxx_werror_flag"
69968                          || test ! -s conftest.err'
69969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69970   (eval $ac_try) 2>&5
69971   ac_status=$?
69972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69973   (exit $ac_status); }; } &&
69974          { ac_try='test -s conftest.$ac_objext'
69975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69976   (eval $ac_try) 2>&5
69977   ac_status=$?
69978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69979   (exit $ac_status); }; }; then
69980   glibcxx_cv_func__sincosl_use=yes
69981 else
69982   echo "$as_me: failed program was:" >&5
69983 sed 's/^/| /' conftest.$ac_ext >&5
69984
69985 glibcxx_cv_func__sincosl_use=no
69986 fi
69987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69988       ac_ext=c
69989 ac_cpp='$CPP $CPPFLAGS'
69990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69993
69994
69995 fi
69996
69997   fi
69998   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69999 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
70000
70001     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70002
70003 for ac_func in _sincosl
70004 do
70005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70006 echo "$as_me:$LINENO: checking for $ac_func" >&5
70007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70008 if eval "test \"\${$as_ac_var+set}\" = set"; then
70009   echo $ECHO_N "(cached) $ECHO_C" >&6
70010 else
70011   if test x$gcc_no_link = xyes; then
70012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70014    { (exit 1); exit 1; }; }
70015 fi
70016 cat >conftest.$ac_ext <<_ACEOF
70017 /* confdefs.h.  */
70018 _ACEOF
70019 cat confdefs.h >>conftest.$ac_ext
70020 cat >>conftest.$ac_ext <<_ACEOF
70021 /* end confdefs.h.  */
70022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70024 #define $ac_func innocuous_$ac_func
70025
70026 /* System header to define __stub macros and hopefully few prototypes,
70027     which can conflict with char $ac_func (); below.
70028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70029     <limits.h> exists even on freestanding compilers.  */
70030
70031 #ifdef __STDC__
70032 # include <limits.h>
70033 #else
70034 # include <assert.h>
70035 #endif
70036
70037 #undef $ac_func
70038
70039 /* Override any gcc2 internal prototype to avoid an error.  */
70040 #ifdef __cplusplus
70041 extern "C"
70042 {
70043 #endif
70044 /* We use char because int might match the return type of a gcc2
70045    builtin and then its argument prototype would still apply.  */
70046 char $ac_func ();
70047 /* The GNU C library defines this for functions which it implements
70048     to always fail with ENOSYS.  Some functions are actually named
70049     something starting with __ and the normal name is an alias.  */
70050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70051 choke me
70052 #else
70053 char (*f) () = $ac_func;
70054 #endif
70055 #ifdef __cplusplus
70056 }
70057 #endif
70058
70059 int
70060 main ()
70061 {
70062 return f != $ac_func;
70063   ;
70064   return 0;
70065 }
70066 _ACEOF
70067 rm -f conftest.$ac_objext conftest$ac_exeext
70068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70069   (eval $ac_link) 2>conftest.er1
70070   ac_status=$?
70071   grep -v '^ *+' conftest.er1 >conftest.err
70072   rm -f conftest.er1
70073   cat conftest.err >&5
70074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70075   (exit $ac_status); } &&
70076          { ac_try='test -z "$ac_c_werror_flag"
70077                          || test ! -s conftest.err'
70078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70079   (eval $ac_try) 2>&5
70080   ac_status=$?
70081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70082   (exit $ac_status); }; } &&
70083          { ac_try='test -s conftest$ac_exeext'
70084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70085   (eval $ac_try) 2>&5
70086   ac_status=$?
70087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70088   (exit $ac_status); }; }; then
70089   eval "$as_ac_var=yes"
70090 else
70091   echo "$as_me: failed program was:" >&5
70092 sed 's/^/| /' conftest.$ac_ext >&5
70093
70094 eval "$as_ac_var=no"
70095 fi
70096 rm -f conftest.err conftest.$ac_objext \
70097       conftest$ac_exeext conftest.$ac_ext
70098 fi
70099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70101 if test `eval echo '${'$as_ac_var'}'` = yes; then
70102   cat >>confdefs.h <<_ACEOF
70103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70104 _ACEOF
70105
70106 fi
70107 done
70108
70109     fi
70110   fi
70111
70112
70113
70114
70115
70116
70117   echo "$as_me:$LINENO: checking for finitel declaration" >&5
70118 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
70119   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70120     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
70121   echo $ECHO_N "(cached) $ECHO_C" >&6
70122 else
70123
70124
70125
70126       ac_ext=cc
70127 ac_cpp='$CXXCPP $CPPFLAGS'
70128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70131
70132       cat >conftest.$ac_ext <<_ACEOF
70133 /* confdefs.h.  */
70134 _ACEOF
70135 cat confdefs.h >>conftest.$ac_ext
70136 cat >>conftest.$ac_ext <<_ACEOF
70137 /* end confdefs.h.  */
70138 #include <math.h>
70139                       #ifdef HAVE_IEEEFP_H
70140                       #include <ieeefp.h>
70141                       #endif
70142
70143 int
70144 main ()
70145 {
70146  finitel(0);
70147   ;
70148   return 0;
70149 }
70150 _ACEOF
70151 rm -f conftest.$ac_objext
70152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70153   (eval $ac_compile) 2>conftest.er1
70154   ac_status=$?
70155   grep -v '^ *+' conftest.er1 >conftest.err
70156   rm -f conftest.er1
70157   cat conftest.err >&5
70158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70159   (exit $ac_status); } &&
70160          { ac_try='test -z "$ac_cxx_werror_flag"
70161                          || test ! -s conftest.err'
70162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70163   (eval $ac_try) 2>&5
70164   ac_status=$?
70165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70166   (exit $ac_status); }; } &&
70167          { ac_try='test -s conftest.$ac_objext'
70168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70169   (eval $ac_try) 2>&5
70170   ac_status=$?
70171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70172   (exit $ac_status); }; }; then
70173   glibcxx_cv_func_finitel_use=yes
70174 else
70175   echo "$as_me: failed program was:" >&5
70176 sed 's/^/| /' conftest.$ac_ext >&5
70177
70178 glibcxx_cv_func_finitel_use=no
70179 fi
70180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70181       ac_ext=c
70182 ac_cpp='$CPP $CPPFLAGS'
70183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70186
70187
70188 fi
70189
70190   fi
70191   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70192 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70193
70194   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70195
70196 for ac_func in finitel
70197 do
70198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70199 echo "$as_me:$LINENO: checking for $ac_func" >&5
70200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70201 if eval "test \"\${$as_ac_var+set}\" = set"; then
70202   echo $ECHO_N "(cached) $ECHO_C" >&6
70203 else
70204   if test x$gcc_no_link = xyes; then
70205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70207    { (exit 1); exit 1; }; }
70208 fi
70209 cat >conftest.$ac_ext <<_ACEOF
70210 /* confdefs.h.  */
70211 _ACEOF
70212 cat confdefs.h >>conftest.$ac_ext
70213 cat >>conftest.$ac_ext <<_ACEOF
70214 /* end confdefs.h.  */
70215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70217 #define $ac_func innocuous_$ac_func
70218
70219 /* System header to define __stub macros and hopefully few prototypes,
70220     which can conflict with char $ac_func (); below.
70221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70222     <limits.h> exists even on freestanding compilers.  */
70223
70224 #ifdef __STDC__
70225 # include <limits.h>
70226 #else
70227 # include <assert.h>
70228 #endif
70229
70230 #undef $ac_func
70231
70232 /* Override any gcc2 internal prototype to avoid an error.  */
70233 #ifdef __cplusplus
70234 extern "C"
70235 {
70236 #endif
70237 /* We use char because int might match the return type of a gcc2
70238    builtin and then its argument prototype would still apply.  */
70239 char $ac_func ();
70240 /* The GNU C library defines this for functions which it implements
70241     to always fail with ENOSYS.  Some functions are actually named
70242     something starting with __ and the normal name is an alias.  */
70243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70244 choke me
70245 #else
70246 char (*f) () = $ac_func;
70247 #endif
70248 #ifdef __cplusplus
70249 }
70250 #endif
70251
70252 int
70253 main ()
70254 {
70255 return f != $ac_func;
70256   ;
70257   return 0;
70258 }
70259 _ACEOF
70260 rm -f conftest.$ac_objext conftest$ac_exeext
70261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70262   (eval $ac_link) 2>conftest.er1
70263   ac_status=$?
70264   grep -v '^ *+' conftest.er1 >conftest.err
70265   rm -f conftest.er1
70266   cat conftest.err >&5
70267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70268   (exit $ac_status); } &&
70269          { ac_try='test -z "$ac_c_werror_flag"
70270                          || test ! -s conftest.err'
70271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70272   (eval $ac_try) 2>&5
70273   ac_status=$?
70274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70275   (exit $ac_status); }; } &&
70276          { ac_try='test -s conftest$ac_exeext'
70277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70278   (eval $ac_try) 2>&5
70279   ac_status=$?
70280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70281   (exit $ac_status); }; }; then
70282   eval "$as_ac_var=yes"
70283 else
70284   echo "$as_me: failed program was:" >&5
70285 sed 's/^/| /' conftest.$ac_ext >&5
70286
70287 eval "$as_ac_var=no"
70288 fi
70289 rm -f conftest.err conftest.$ac_objext \
70290       conftest$ac_exeext conftest.$ac_ext
70291 fi
70292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70294 if test `eval echo '${'$as_ac_var'}'` = yes; then
70295   cat >>confdefs.h <<_ACEOF
70296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70297 _ACEOF
70298
70299 fi
70300 done
70301
70302   else
70303
70304   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70305 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70306   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70307     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70308   echo $ECHO_N "(cached) $ECHO_C" >&6
70309 else
70310
70311
70312
70313       ac_ext=cc
70314 ac_cpp='$CXXCPP $CPPFLAGS'
70315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70318
70319       cat >conftest.$ac_ext <<_ACEOF
70320 /* confdefs.h.  */
70321 _ACEOF
70322 cat confdefs.h >>conftest.$ac_ext
70323 cat >>conftest.$ac_ext <<_ACEOF
70324 /* end confdefs.h.  */
70325 #include <math.h>
70326                       #ifdef HAVE_IEEEFP_H
70327                       #include <ieeefp.h>
70328                       #endif
70329
70330 int
70331 main ()
70332 {
70333  _finitel(0);
70334   ;
70335   return 0;
70336 }
70337 _ACEOF
70338 rm -f conftest.$ac_objext
70339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70340   (eval $ac_compile) 2>conftest.er1
70341   ac_status=$?
70342   grep -v '^ *+' conftest.er1 >conftest.err
70343   rm -f conftest.er1
70344   cat conftest.err >&5
70345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70346   (exit $ac_status); } &&
70347          { ac_try='test -z "$ac_cxx_werror_flag"
70348                          || test ! -s conftest.err'
70349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70350   (eval $ac_try) 2>&5
70351   ac_status=$?
70352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70353   (exit $ac_status); }; } &&
70354          { ac_try='test -s conftest.$ac_objext'
70355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70356   (eval $ac_try) 2>&5
70357   ac_status=$?
70358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70359   (exit $ac_status); }; }; then
70360   glibcxx_cv_func__finitel_use=yes
70361 else
70362   echo "$as_me: failed program was:" >&5
70363 sed 's/^/| /' conftest.$ac_ext >&5
70364
70365 glibcxx_cv_func__finitel_use=no
70366 fi
70367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70368       ac_ext=c
70369 ac_cpp='$CPP $CPPFLAGS'
70370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70373
70374
70375 fi
70376
70377   fi
70378   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70379 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70380
70381     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70382
70383 for ac_func in _finitel
70384 do
70385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70386 echo "$as_me:$LINENO: checking for $ac_func" >&5
70387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70388 if eval "test \"\${$as_ac_var+set}\" = set"; then
70389   echo $ECHO_N "(cached) $ECHO_C" >&6
70390 else
70391   if test x$gcc_no_link = xyes; then
70392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70394    { (exit 1); exit 1; }; }
70395 fi
70396 cat >conftest.$ac_ext <<_ACEOF
70397 /* confdefs.h.  */
70398 _ACEOF
70399 cat confdefs.h >>conftest.$ac_ext
70400 cat >>conftest.$ac_ext <<_ACEOF
70401 /* end confdefs.h.  */
70402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70404 #define $ac_func innocuous_$ac_func
70405
70406 /* System header to define __stub macros and hopefully few prototypes,
70407     which can conflict with char $ac_func (); below.
70408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70409     <limits.h> exists even on freestanding compilers.  */
70410
70411 #ifdef __STDC__
70412 # include <limits.h>
70413 #else
70414 # include <assert.h>
70415 #endif
70416
70417 #undef $ac_func
70418
70419 /* Override any gcc2 internal prototype to avoid an error.  */
70420 #ifdef __cplusplus
70421 extern "C"
70422 {
70423 #endif
70424 /* We use char because int might match the return type of a gcc2
70425    builtin and then its argument prototype would still apply.  */
70426 char $ac_func ();
70427 /* The GNU C library defines this for functions which it implements
70428     to always fail with ENOSYS.  Some functions are actually named
70429     something starting with __ and the normal name is an alias.  */
70430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70431 choke me
70432 #else
70433 char (*f) () = $ac_func;
70434 #endif
70435 #ifdef __cplusplus
70436 }
70437 #endif
70438
70439 int
70440 main ()
70441 {
70442 return f != $ac_func;
70443   ;
70444   return 0;
70445 }
70446 _ACEOF
70447 rm -f conftest.$ac_objext conftest$ac_exeext
70448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70449   (eval $ac_link) 2>conftest.er1
70450   ac_status=$?
70451   grep -v '^ *+' conftest.er1 >conftest.err
70452   rm -f conftest.er1
70453   cat conftest.err >&5
70454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70455   (exit $ac_status); } &&
70456          { ac_try='test -z "$ac_c_werror_flag"
70457                          || test ! -s conftest.err'
70458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70459   (eval $ac_try) 2>&5
70460   ac_status=$?
70461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70462   (exit $ac_status); }; } &&
70463          { ac_try='test -s conftest$ac_exeext'
70464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70465   (eval $ac_try) 2>&5
70466   ac_status=$?
70467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70468   (exit $ac_status); }; }; then
70469   eval "$as_ac_var=yes"
70470 else
70471   echo "$as_me: failed program was:" >&5
70472 sed 's/^/| /' conftest.$ac_ext >&5
70473
70474 eval "$as_ac_var=no"
70475 fi
70476 rm -f conftest.err conftest.$ac_objext \
70477       conftest$ac_exeext conftest.$ac_ext
70478 fi
70479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70481 if test `eval echo '${'$as_ac_var'}'` = yes; then
70482   cat >>confdefs.h <<_ACEOF
70483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70484 _ACEOF
70485
70486 fi
70487 done
70488
70489     fi
70490   fi
70491
70492
70493
70494
70495
70496   LIBS="$ac_save_LIBS"
70497   CXXFLAGS="$ac_save_CXXFLAGS"
70498
70499
70500
70501   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70502 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70503   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70504     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70505   echo $ECHO_N "(cached) $ECHO_C" >&6
70506 else
70507
70508
70509
70510       ac_ext=cc
70511 ac_cpp='$CXXCPP $CPPFLAGS'
70512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70515
70516       cat >conftest.$ac_ext <<_ACEOF
70517 /* confdefs.h.  */
70518 _ACEOF
70519 cat confdefs.h >>conftest.$ac_ext
70520 cat >>conftest.$ac_ext <<_ACEOF
70521 /* end confdefs.h.  */
70522 #include <math.h>
70523 int
70524 main ()
70525 {
70526  __builtin_abs(0);
70527   ;
70528   return 0;
70529 }
70530 _ACEOF
70531 rm -f conftest.$ac_objext
70532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70533   (eval $ac_compile) 2>conftest.er1
70534   ac_status=$?
70535   grep -v '^ *+' conftest.er1 >conftest.err
70536   rm -f conftest.er1
70537   cat conftest.err >&5
70538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70539   (exit $ac_status); } &&
70540          { ac_try='test -z "$ac_cxx_werror_flag"
70541                          || test ! -s conftest.err'
70542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70543   (eval $ac_try) 2>&5
70544   ac_status=$?
70545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70546   (exit $ac_status); }; } &&
70547          { ac_try='test -s conftest.$ac_objext'
70548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70549   (eval $ac_try) 2>&5
70550   ac_status=$?
70551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70552   (exit $ac_status); }; }; then
70553   glibcxx_cv_func___builtin_abs_use=yes
70554 else
70555   echo "$as_me: failed program was:" >&5
70556 sed 's/^/| /' conftest.$ac_ext >&5
70557
70558 glibcxx_cv_func___builtin_abs_use=no
70559 fi
70560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70561       ac_ext=c
70562 ac_cpp='$CPP $CPPFLAGS'
70563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70566
70567
70568 fi
70569
70570   fi
70571   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70572 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70573   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70574     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70575 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70576     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70577       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70578   echo $ECHO_N "(cached) $ECHO_C" >&6
70579 else
70580
70581         if test x$gcc_no_link = xyes; then
70582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70584    { (exit 1); exit 1; }; }
70585 fi
70586 cat >conftest.$ac_ext <<_ACEOF
70587 /* confdefs.h.  */
70588 _ACEOF
70589 cat confdefs.h >>conftest.$ac_ext
70590 cat >>conftest.$ac_ext <<_ACEOF
70591 /* end confdefs.h.  */
70592 #include <math.h>
70593 int
70594 main ()
70595 {
70596  __builtin_abs(0);
70597   ;
70598   return 0;
70599 }
70600 _ACEOF
70601 rm -f conftest.$ac_objext conftest$ac_exeext
70602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70603   (eval $ac_link) 2>conftest.er1
70604   ac_status=$?
70605   grep -v '^ *+' conftest.er1 >conftest.err
70606   rm -f conftest.er1
70607   cat conftest.err >&5
70608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70609   (exit $ac_status); } &&
70610          { ac_try='test -z "$ac_c_werror_flag"
70611                          || test ! -s conftest.err'
70612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70613   (eval $ac_try) 2>&5
70614   ac_status=$?
70615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70616   (exit $ac_status); }; } &&
70617          { ac_try='test -s conftest$ac_exeext'
70618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70619   (eval $ac_try) 2>&5
70620   ac_status=$?
70621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70622   (exit $ac_status); }; }; then
70623   glibcxx_cv_func___builtin_abs_link=yes
70624 else
70625   echo "$as_me: failed program was:" >&5
70626 sed 's/^/| /' conftest.$ac_ext >&5
70627
70628 glibcxx_cv_func___builtin_abs_link=no
70629 fi
70630 rm -f conftest.err conftest.$ac_objext \
70631       conftest$ac_exeext conftest.$ac_ext
70632
70633 fi
70634
70635     fi
70636     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70637 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70638
70639     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70640
70641 cat >>confdefs.h <<\_ACEOF
70642 #define HAVE___BUILTIN_ABS 1
70643 _ACEOF
70644
70645     fi
70646
70647   fi
70648
70649
70650   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70651 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70652   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70653     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70654   echo $ECHO_N "(cached) $ECHO_C" >&6
70655 else
70656
70657
70658
70659       ac_ext=cc
70660 ac_cpp='$CXXCPP $CPPFLAGS'
70661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70664
70665       cat >conftest.$ac_ext <<_ACEOF
70666 /* confdefs.h.  */
70667 _ACEOF
70668 cat confdefs.h >>conftest.$ac_ext
70669 cat >>conftest.$ac_ext <<_ACEOF
70670 /* end confdefs.h.  */
70671 #include <math.h>
70672 int
70673 main ()
70674 {
70675  __builtin_fabsf(0);
70676   ;
70677   return 0;
70678 }
70679 _ACEOF
70680 rm -f conftest.$ac_objext
70681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70682   (eval $ac_compile) 2>conftest.er1
70683   ac_status=$?
70684   grep -v '^ *+' conftest.er1 >conftest.err
70685   rm -f conftest.er1
70686   cat conftest.err >&5
70687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70688   (exit $ac_status); } &&
70689          { ac_try='test -z "$ac_cxx_werror_flag"
70690                          || test ! -s conftest.err'
70691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70692   (eval $ac_try) 2>&5
70693   ac_status=$?
70694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70695   (exit $ac_status); }; } &&
70696          { ac_try='test -s conftest.$ac_objext'
70697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70698   (eval $ac_try) 2>&5
70699   ac_status=$?
70700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70701   (exit $ac_status); }; }; then
70702   glibcxx_cv_func___builtin_fabsf_use=yes
70703 else
70704   echo "$as_me: failed program was:" >&5
70705 sed 's/^/| /' conftest.$ac_ext >&5
70706
70707 glibcxx_cv_func___builtin_fabsf_use=no
70708 fi
70709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70710       ac_ext=c
70711 ac_cpp='$CPP $CPPFLAGS'
70712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70715
70716
70717 fi
70718
70719   fi
70720   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70721 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70722   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70723     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70724 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70725     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70726       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70727   echo $ECHO_N "(cached) $ECHO_C" >&6
70728 else
70729
70730         if test x$gcc_no_link = xyes; then
70731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70733    { (exit 1); exit 1; }; }
70734 fi
70735 cat >conftest.$ac_ext <<_ACEOF
70736 /* confdefs.h.  */
70737 _ACEOF
70738 cat confdefs.h >>conftest.$ac_ext
70739 cat >>conftest.$ac_ext <<_ACEOF
70740 /* end confdefs.h.  */
70741 #include <math.h>
70742 int
70743 main ()
70744 {
70745  __builtin_fabsf(0);
70746   ;
70747   return 0;
70748 }
70749 _ACEOF
70750 rm -f conftest.$ac_objext conftest$ac_exeext
70751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70752   (eval $ac_link) 2>conftest.er1
70753   ac_status=$?
70754   grep -v '^ *+' conftest.er1 >conftest.err
70755   rm -f conftest.er1
70756   cat conftest.err >&5
70757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70758   (exit $ac_status); } &&
70759          { ac_try='test -z "$ac_c_werror_flag"
70760                          || test ! -s conftest.err'
70761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70762   (eval $ac_try) 2>&5
70763   ac_status=$?
70764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70765   (exit $ac_status); }; } &&
70766          { ac_try='test -s conftest$ac_exeext'
70767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70768   (eval $ac_try) 2>&5
70769   ac_status=$?
70770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70771   (exit $ac_status); }; }; then
70772   glibcxx_cv_func___builtin_fabsf_link=yes
70773 else
70774   echo "$as_me: failed program was:" >&5
70775 sed 's/^/| /' conftest.$ac_ext >&5
70776
70777 glibcxx_cv_func___builtin_fabsf_link=no
70778 fi
70779 rm -f conftest.err conftest.$ac_objext \
70780       conftest$ac_exeext conftest.$ac_ext
70781
70782 fi
70783
70784     fi
70785     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70786 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70787
70788     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70789
70790 cat >>confdefs.h <<\_ACEOF
70791 #define HAVE___BUILTIN_FABSF 1
70792 _ACEOF
70793
70794     fi
70795
70796   fi
70797
70798
70799   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70800 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70801   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70802     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70803   echo $ECHO_N "(cached) $ECHO_C" >&6
70804 else
70805
70806
70807
70808       ac_ext=cc
70809 ac_cpp='$CXXCPP $CPPFLAGS'
70810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70813
70814       cat >conftest.$ac_ext <<_ACEOF
70815 /* confdefs.h.  */
70816 _ACEOF
70817 cat confdefs.h >>conftest.$ac_ext
70818 cat >>conftest.$ac_ext <<_ACEOF
70819 /* end confdefs.h.  */
70820 #include <math.h>
70821 int
70822 main ()
70823 {
70824  __builtin_fabs(0);
70825   ;
70826   return 0;
70827 }
70828 _ACEOF
70829 rm -f conftest.$ac_objext
70830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70831   (eval $ac_compile) 2>conftest.er1
70832   ac_status=$?
70833   grep -v '^ *+' conftest.er1 >conftest.err
70834   rm -f conftest.er1
70835   cat conftest.err >&5
70836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70837   (exit $ac_status); } &&
70838          { ac_try='test -z "$ac_cxx_werror_flag"
70839                          || test ! -s conftest.err'
70840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70841   (eval $ac_try) 2>&5
70842   ac_status=$?
70843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70844   (exit $ac_status); }; } &&
70845          { ac_try='test -s conftest.$ac_objext'
70846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70847   (eval $ac_try) 2>&5
70848   ac_status=$?
70849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70850   (exit $ac_status); }; }; then
70851   glibcxx_cv_func___builtin_fabs_use=yes
70852 else
70853   echo "$as_me: failed program was:" >&5
70854 sed 's/^/| /' conftest.$ac_ext >&5
70855
70856 glibcxx_cv_func___builtin_fabs_use=no
70857 fi
70858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70859       ac_ext=c
70860 ac_cpp='$CPP $CPPFLAGS'
70861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70864
70865
70866 fi
70867
70868   fi
70869   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70870 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70871   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70872     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70873 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70874     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70875       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70876   echo $ECHO_N "(cached) $ECHO_C" >&6
70877 else
70878
70879         if test x$gcc_no_link = xyes; then
70880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70882    { (exit 1); exit 1; }; }
70883 fi
70884 cat >conftest.$ac_ext <<_ACEOF
70885 /* confdefs.h.  */
70886 _ACEOF
70887 cat confdefs.h >>conftest.$ac_ext
70888 cat >>conftest.$ac_ext <<_ACEOF
70889 /* end confdefs.h.  */
70890 #include <math.h>
70891 int
70892 main ()
70893 {
70894  __builtin_fabs(0);
70895   ;
70896   return 0;
70897 }
70898 _ACEOF
70899 rm -f conftest.$ac_objext conftest$ac_exeext
70900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70901   (eval $ac_link) 2>conftest.er1
70902   ac_status=$?
70903   grep -v '^ *+' conftest.er1 >conftest.err
70904   rm -f conftest.er1
70905   cat conftest.err >&5
70906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70907   (exit $ac_status); } &&
70908          { ac_try='test -z "$ac_c_werror_flag"
70909                          || test ! -s conftest.err'
70910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70911   (eval $ac_try) 2>&5
70912   ac_status=$?
70913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70914   (exit $ac_status); }; } &&
70915          { ac_try='test -s conftest$ac_exeext'
70916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70917   (eval $ac_try) 2>&5
70918   ac_status=$?
70919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70920   (exit $ac_status); }; }; then
70921   glibcxx_cv_func___builtin_fabs_link=yes
70922 else
70923   echo "$as_me: failed program was:" >&5
70924 sed 's/^/| /' conftest.$ac_ext >&5
70925
70926 glibcxx_cv_func___builtin_fabs_link=no
70927 fi
70928 rm -f conftest.err conftest.$ac_objext \
70929       conftest$ac_exeext conftest.$ac_ext
70930
70931 fi
70932
70933     fi
70934     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70935 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70936
70937     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70938
70939 cat >>confdefs.h <<\_ACEOF
70940 #define HAVE___BUILTIN_FABS 1
70941 _ACEOF
70942
70943     fi
70944
70945   fi
70946
70947
70948   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70949 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70950   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70951     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70952   echo $ECHO_N "(cached) $ECHO_C" >&6
70953 else
70954
70955
70956
70957       ac_ext=cc
70958 ac_cpp='$CXXCPP $CPPFLAGS'
70959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70962
70963       cat >conftest.$ac_ext <<_ACEOF
70964 /* confdefs.h.  */
70965 _ACEOF
70966 cat confdefs.h >>conftest.$ac_ext
70967 cat >>conftest.$ac_ext <<_ACEOF
70968 /* end confdefs.h.  */
70969 #include <math.h>
70970 int
70971 main ()
70972 {
70973  __builtin_fabsl(0);
70974   ;
70975   return 0;
70976 }
70977 _ACEOF
70978 rm -f conftest.$ac_objext
70979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70980   (eval $ac_compile) 2>conftest.er1
70981   ac_status=$?
70982   grep -v '^ *+' conftest.er1 >conftest.err
70983   rm -f conftest.er1
70984   cat conftest.err >&5
70985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70986   (exit $ac_status); } &&
70987          { ac_try='test -z "$ac_cxx_werror_flag"
70988                          || test ! -s conftest.err'
70989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70990   (eval $ac_try) 2>&5
70991   ac_status=$?
70992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70993   (exit $ac_status); }; } &&
70994          { ac_try='test -s conftest.$ac_objext'
70995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70996   (eval $ac_try) 2>&5
70997   ac_status=$?
70998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70999   (exit $ac_status); }; }; then
71000   glibcxx_cv_func___builtin_fabsl_use=yes
71001 else
71002   echo "$as_me: failed program was:" >&5
71003 sed 's/^/| /' conftest.$ac_ext >&5
71004
71005 glibcxx_cv_func___builtin_fabsl_use=no
71006 fi
71007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71008       ac_ext=c
71009 ac_cpp='$CPP $CPPFLAGS'
71010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71013
71014
71015 fi
71016
71017   fi
71018   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71019 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71020   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71021     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71022 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71023     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71024       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71025   echo $ECHO_N "(cached) $ECHO_C" >&6
71026 else
71027
71028         if test x$gcc_no_link = xyes; then
71029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71031    { (exit 1); exit 1; }; }
71032 fi
71033 cat >conftest.$ac_ext <<_ACEOF
71034 /* confdefs.h.  */
71035 _ACEOF
71036 cat confdefs.h >>conftest.$ac_ext
71037 cat >>conftest.$ac_ext <<_ACEOF
71038 /* end confdefs.h.  */
71039 #include <math.h>
71040 int
71041 main ()
71042 {
71043  __builtin_fabsl(0);
71044   ;
71045   return 0;
71046 }
71047 _ACEOF
71048 rm -f conftest.$ac_objext conftest$ac_exeext
71049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71050   (eval $ac_link) 2>conftest.er1
71051   ac_status=$?
71052   grep -v '^ *+' conftest.er1 >conftest.err
71053   rm -f conftest.er1
71054   cat conftest.err >&5
71055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71056   (exit $ac_status); } &&
71057          { ac_try='test -z "$ac_c_werror_flag"
71058                          || test ! -s conftest.err'
71059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71060   (eval $ac_try) 2>&5
71061   ac_status=$?
71062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71063   (exit $ac_status); }; } &&
71064          { ac_try='test -s conftest$ac_exeext'
71065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71066   (eval $ac_try) 2>&5
71067   ac_status=$?
71068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71069   (exit $ac_status); }; }; then
71070   glibcxx_cv_func___builtin_fabsl_link=yes
71071 else
71072   echo "$as_me: failed program was:" >&5
71073 sed 's/^/| /' conftest.$ac_ext >&5
71074
71075 glibcxx_cv_func___builtin_fabsl_link=no
71076 fi
71077 rm -f conftest.err conftest.$ac_objext \
71078       conftest$ac_exeext conftest.$ac_ext
71079
71080 fi
71081
71082     fi
71083     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71084 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71085
71086     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71087
71088 cat >>confdefs.h <<\_ACEOF
71089 #define HAVE___BUILTIN_FABSL 1
71090 _ACEOF
71091
71092     fi
71093
71094   fi
71095
71096
71097   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71098 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71099   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71100     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71101   echo $ECHO_N "(cached) $ECHO_C" >&6
71102 else
71103
71104
71105
71106       ac_ext=cc
71107 ac_cpp='$CXXCPP $CPPFLAGS'
71108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71111
71112       cat >conftest.$ac_ext <<_ACEOF
71113 /* confdefs.h.  */
71114 _ACEOF
71115 cat confdefs.h >>conftest.$ac_ext
71116 cat >>conftest.$ac_ext <<_ACEOF
71117 /* end confdefs.h.  */
71118 #include <math.h>
71119 int
71120 main ()
71121 {
71122  __builtin_labs(0);
71123   ;
71124   return 0;
71125 }
71126 _ACEOF
71127 rm -f conftest.$ac_objext
71128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71129   (eval $ac_compile) 2>conftest.er1
71130   ac_status=$?
71131   grep -v '^ *+' conftest.er1 >conftest.err
71132   rm -f conftest.er1
71133   cat conftest.err >&5
71134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71135   (exit $ac_status); } &&
71136          { ac_try='test -z "$ac_cxx_werror_flag"
71137                          || test ! -s conftest.err'
71138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71139   (eval $ac_try) 2>&5
71140   ac_status=$?
71141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71142   (exit $ac_status); }; } &&
71143          { ac_try='test -s conftest.$ac_objext'
71144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71145   (eval $ac_try) 2>&5
71146   ac_status=$?
71147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71148   (exit $ac_status); }; }; then
71149   glibcxx_cv_func___builtin_labs_use=yes
71150 else
71151   echo "$as_me: failed program was:" >&5
71152 sed 's/^/| /' conftest.$ac_ext >&5
71153
71154 glibcxx_cv_func___builtin_labs_use=no
71155 fi
71156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71157       ac_ext=c
71158 ac_cpp='$CPP $CPPFLAGS'
71159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71162
71163
71164 fi
71165
71166   fi
71167   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71168 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71169   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71170     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71171 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71172     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71173       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71174   echo $ECHO_N "(cached) $ECHO_C" >&6
71175 else
71176
71177         if test x$gcc_no_link = xyes; then
71178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71180    { (exit 1); exit 1; }; }
71181 fi
71182 cat >conftest.$ac_ext <<_ACEOF
71183 /* confdefs.h.  */
71184 _ACEOF
71185 cat confdefs.h >>conftest.$ac_ext
71186 cat >>conftest.$ac_ext <<_ACEOF
71187 /* end confdefs.h.  */
71188 #include <math.h>
71189 int
71190 main ()
71191 {
71192  __builtin_labs(0);
71193   ;
71194   return 0;
71195 }
71196 _ACEOF
71197 rm -f conftest.$ac_objext conftest$ac_exeext
71198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71199   (eval $ac_link) 2>conftest.er1
71200   ac_status=$?
71201   grep -v '^ *+' conftest.er1 >conftest.err
71202   rm -f conftest.er1
71203   cat conftest.err >&5
71204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71205   (exit $ac_status); } &&
71206          { ac_try='test -z "$ac_c_werror_flag"
71207                          || test ! -s conftest.err'
71208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71209   (eval $ac_try) 2>&5
71210   ac_status=$?
71211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71212   (exit $ac_status); }; } &&
71213          { ac_try='test -s conftest$ac_exeext'
71214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71215   (eval $ac_try) 2>&5
71216   ac_status=$?
71217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71218   (exit $ac_status); }; }; then
71219   glibcxx_cv_func___builtin_labs_link=yes
71220 else
71221   echo "$as_me: failed program was:" >&5
71222 sed 's/^/| /' conftest.$ac_ext >&5
71223
71224 glibcxx_cv_func___builtin_labs_link=no
71225 fi
71226 rm -f conftest.err conftest.$ac_objext \
71227       conftest$ac_exeext conftest.$ac_ext
71228
71229 fi
71230
71231     fi
71232     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71233 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71234
71235     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71236
71237 cat >>confdefs.h <<\_ACEOF
71238 #define HAVE___BUILTIN_LABS 1
71239 _ACEOF
71240
71241     fi
71242
71243   fi
71244
71245
71246
71247   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71248 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71249   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71250     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71251   echo $ECHO_N "(cached) $ECHO_C" >&6
71252 else
71253
71254
71255
71256       ac_ext=cc
71257 ac_cpp='$CXXCPP $CPPFLAGS'
71258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71261
71262       cat >conftest.$ac_ext <<_ACEOF
71263 /* confdefs.h.  */
71264 _ACEOF
71265 cat confdefs.h >>conftest.$ac_ext
71266 cat >>conftest.$ac_ext <<_ACEOF
71267 /* end confdefs.h.  */
71268 #include <math.h>
71269 int
71270 main ()
71271 {
71272  __builtin_sqrtf(0);
71273   ;
71274   return 0;
71275 }
71276 _ACEOF
71277 rm -f conftest.$ac_objext
71278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71279   (eval $ac_compile) 2>conftest.er1
71280   ac_status=$?
71281   grep -v '^ *+' conftest.er1 >conftest.err
71282   rm -f conftest.er1
71283   cat conftest.err >&5
71284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71285   (exit $ac_status); } &&
71286          { ac_try='test -z "$ac_cxx_werror_flag"
71287                          || test ! -s conftest.err'
71288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71289   (eval $ac_try) 2>&5
71290   ac_status=$?
71291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71292   (exit $ac_status); }; } &&
71293          { ac_try='test -s conftest.$ac_objext'
71294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71295   (eval $ac_try) 2>&5
71296   ac_status=$?
71297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71298   (exit $ac_status); }; }; then
71299   glibcxx_cv_func___builtin_sqrtf_use=yes
71300 else
71301   echo "$as_me: failed program was:" >&5
71302 sed 's/^/| /' conftest.$ac_ext >&5
71303
71304 glibcxx_cv_func___builtin_sqrtf_use=no
71305 fi
71306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71307       ac_ext=c
71308 ac_cpp='$CPP $CPPFLAGS'
71309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71312
71313
71314 fi
71315
71316   fi
71317   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71318 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71319   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71320     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71321 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71322     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71323       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71324   echo $ECHO_N "(cached) $ECHO_C" >&6
71325 else
71326
71327         if test x$gcc_no_link = xyes; then
71328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71330    { (exit 1); exit 1; }; }
71331 fi
71332 cat >conftest.$ac_ext <<_ACEOF
71333 /* confdefs.h.  */
71334 _ACEOF
71335 cat confdefs.h >>conftest.$ac_ext
71336 cat >>conftest.$ac_ext <<_ACEOF
71337 /* end confdefs.h.  */
71338 #include <math.h>
71339 int
71340 main ()
71341 {
71342  __builtin_sqrtf(0);
71343   ;
71344   return 0;
71345 }
71346 _ACEOF
71347 rm -f conftest.$ac_objext conftest$ac_exeext
71348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71349   (eval $ac_link) 2>conftest.er1
71350   ac_status=$?
71351   grep -v '^ *+' conftest.er1 >conftest.err
71352   rm -f conftest.er1
71353   cat conftest.err >&5
71354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71355   (exit $ac_status); } &&
71356          { ac_try='test -z "$ac_c_werror_flag"
71357                          || test ! -s conftest.err'
71358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71359   (eval $ac_try) 2>&5
71360   ac_status=$?
71361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71362   (exit $ac_status); }; } &&
71363          { ac_try='test -s conftest$ac_exeext'
71364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71365   (eval $ac_try) 2>&5
71366   ac_status=$?
71367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71368   (exit $ac_status); }; }; then
71369   glibcxx_cv_func___builtin_sqrtf_link=yes
71370 else
71371   echo "$as_me: failed program was:" >&5
71372 sed 's/^/| /' conftest.$ac_ext >&5
71373
71374 glibcxx_cv_func___builtin_sqrtf_link=no
71375 fi
71376 rm -f conftest.err conftest.$ac_objext \
71377       conftest$ac_exeext conftest.$ac_ext
71378
71379 fi
71380
71381     fi
71382     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71383 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71384
71385     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71386
71387 cat >>confdefs.h <<\_ACEOF
71388 #define HAVE___BUILTIN_SQRTF 1
71389 _ACEOF
71390
71391     fi
71392
71393   fi
71394
71395
71396   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71397 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71398   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71399     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71400   echo $ECHO_N "(cached) $ECHO_C" >&6
71401 else
71402
71403
71404
71405       ac_ext=cc
71406 ac_cpp='$CXXCPP $CPPFLAGS'
71407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71410
71411       cat >conftest.$ac_ext <<_ACEOF
71412 /* confdefs.h.  */
71413 _ACEOF
71414 cat confdefs.h >>conftest.$ac_ext
71415 cat >>conftest.$ac_ext <<_ACEOF
71416 /* end confdefs.h.  */
71417 #include <math.h>
71418 int
71419 main ()
71420 {
71421  __builtin_sqrt(0);
71422   ;
71423   return 0;
71424 }
71425 _ACEOF
71426 rm -f conftest.$ac_objext
71427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71428   (eval $ac_compile) 2>conftest.er1
71429   ac_status=$?
71430   grep -v '^ *+' conftest.er1 >conftest.err
71431   rm -f conftest.er1
71432   cat conftest.err >&5
71433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71434   (exit $ac_status); } &&
71435          { ac_try='test -z "$ac_cxx_werror_flag"
71436                          || test ! -s conftest.err'
71437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71438   (eval $ac_try) 2>&5
71439   ac_status=$?
71440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71441   (exit $ac_status); }; } &&
71442          { ac_try='test -s conftest.$ac_objext'
71443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71444   (eval $ac_try) 2>&5
71445   ac_status=$?
71446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71447   (exit $ac_status); }; }; then
71448   glibcxx_cv_func___builtin_sqrt_use=yes
71449 else
71450   echo "$as_me: failed program was:" >&5
71451 sed 's/^/| /' conftest.$ac_ext >&5
71452
71453 glibcxx_cv_func___builtin_sqrt_use=no
71454 fi
71455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71456       ac_ext=c
71457 ac_cpp='$CPP $CPPFLAGS'
71458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71461
71462
71463 fi
71464
71465   fi
71466   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71467 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71468   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71469     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71470 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71471     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71472       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71473   echo $ECHO_N "(cached) $ECHO_C" >&6
71474 else
71475
71476         if test x$gcc_no_link = xyes; then
71477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71479    { (exit 1); exit 1; }; }
71480 fi
71481 cat >conftest.$ac_ext <<_ACEOF
71482 /* confdefs.h.  */
71483 _ACEOF
71484 cat confdefs.h >>conftest.$ac_ext
71485 cat >>conftest.$ac_ext <<_ACEOF
71486 /* end confdefs.h.  */
71487 #include <math.h>
71488 int
71489 main ()
71490 {
71491  __builtin_sqrt(0);
71492   ;
71493   return 0;
71494 }
71495 _ACEOF
71496 rm -f conftest.$ac_objext conftest$ac_exeext
71497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71498   (eval $ac_link) 2>conftest.er1
71499   ac_status=$?
71500   grep -v '^ *+' conftest.er1 >conftest.err
71501   rm -f conftest.er1
71502   cat conftest.err >&5
71503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71504   (exit $ac_status); } &&
71505          { ac_try='test -z "$ac_c_werror_flag"
71506                          || test ! -s conftest.err'
71507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71508   (eval $ac_try) 2>&5
71509   ac_status=$?
71510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71511   (exit $ac_status); }; } &&
71512          { ac_try='test -s conftest$ac_exeext'
71513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71514   (eval $ac_try) 2>&5
71515   ac_status=$?
71516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71517   (exit $ac_status); }; }; then
71518   glibcxx_cv_func___builtin_sqrt_link=yes
71519 else
71520   echo "$as_me: failed program was:" >&5
71521 sed 's/^/| /' conftest.$ac_ext >&5
71522
71523 glibcxx_cv_func___builtin_sqrt_link=no
71524 fi
71525 rm -f conftest.err conftest.$ac_objext \
71526       conftest$ac_exeext conftest.$ac_ext
71527
71528 fi
71529
71530     fi
71531     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71532 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71533
71534     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71535
71536 cat >>confdefs.h <<\_ACEOF
71537 #define HAVE___BUILTIN_SQRT 1
71538 _ACEOF
71539
71540     fi
71541
71542   fi
71543
71544
71545   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71546 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71547   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71548     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71549   echo $ECHO_N "(cached) $ECHO_C" >&6
71550 else
71551
71552
71553
71554       ac_ext=cc
71555 ac_cpp='$CXXCPP $CPPFLAGS'
71556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71559
71560       cat >conftest.$ac_ext <<_ACEOF
71561 /* confdefs.h.  */
71562 _ACEOF
71563 cat confdefs.h >>conftest.$ac_ext
71564 cat >>conftest.$ac_ext <<_ACEOF
71565 /* end confdefs.h.  */
71566 #include <math.h>
71567 int
71568 main ()
71569 {
71570  __builtin_sqrtl(0);
71571   ;
71572   return 0;
71573 }
71574 _ACEOF
71575 rm -f conftest.$ac_objext
71576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71577   (eval $ac_compile) 2>conftest.er1
71578   ac_status=$?
71579   grep -v '^ *+' conftest.er1 >conftest.err
71580   rm -f conftest.er1
71581   cat conftest.err >&5
71582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71583   (exit $ac_status); } &&
71584          { ac_try='test -z "$ac_cxx_werror_flag"
71585                          || test ! -s conftest.err'
71586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71587   (eval $ac_try) 2>&5
71588   ac_status=$?
71589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71590   (exit $ac_status); }; } &&
71591          { ac_try='test -s conftest.$ac_objext'
71592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71593   (eval $ac_try) 2>&5
71594   ac_status=$?
71595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71596   (exit $ac_status); }; }; then
71597   glibcxx_cv_func___builtin_sqrtl_use=yes
71598 else
71599   echo "$as_me: failed program was:" >&5
71600 sed 's/^/| /' conftest.$ac_ext >&5
71601
71602 glibcxx_cv_func___builtin_sqrtl_use=no
71603 fi
71604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71605       ac_ext=c
71606 ac_cpp='$CPP $CPPFLAGS'
71607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71610
71611
71612 fi
71613
71614   fi
71615   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71616 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71617   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71618     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71619 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71620     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71621       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71622   echo $ECHO_N "(cached) $ECHO_C" >&6
71623 else
71624
71625         if test x$gcc_no_link = xyes; then
71626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71628    { (exit 1); exit 1; }; }
71629 fi
71630 cat >conftest.$ac_ext <<_ACEOF
71631 /* confdefs.h.  */
71632 _ACEOF
71633 cat confdefs.h >>conftest.$ac_ext
71634 cat >>conftest.$ac_ext <<_ACEOF
71635 /* end confdefs.h.  */
71636 #include <math.h>
71637 int
71638 main ()
71639 {
71640  __builtin_sqrtl(0);
71641   ;
71642   return 0;
71643 }
71644 _ACEOF
71645 rm -f conftest.$ac_objext conftest$ac_exeext
71646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71647   (eval $ac_link) 2>conftest.er1
71648   ac_status=$?
71649   grep -v '^ *+' conftest.er1 >conftest.err
71650   rm -f conftest.er1
71651   cat conftest.err >&5
71652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71653   (exit $ac_status); } &&
71654          { ac_try='test -z "$ac_c_werror_flag"
71655                          || test ! -s conftest.err'
71656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71657   (eval $ac_try) 2>&5
71658   ac_status=$?
71659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71660   (exit $ac_status); }; } &&
71661          { ac_try='test -s conftest$ac_exeext'
71662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71663   (eval $ac_try) 2>&5
71664   ac_status=$?
71665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71666   (exit $ac_status); }; }; then
71667   glibcxx_cv_func___builtin_sqrtl_link=yes
71668 else
71669   echo "$as_me: failed program was:" >&5
71670 sed 's/^/| /' conftest.$ac_ext >&5
71671
71672 glibcxx_cv_func___builtin_sqrtl_link=no
71673 fi
71674 rm -f conftest.err conftest.$ac_objext \
71675       conftest$ac_exeext conftest.$ac_ext
71676
71677 fi
71678
71679     fi
71680     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71681 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71682
71683     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71684
71685 cat >>confdefs.h <<\_ACEOF
71686 #define HAVE___BUILTIN_SQRTL 1
71687 _ACEOF
71688
71689     fi
71690
71691   fi
71692
71693
71694
71695   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71696 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71697   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71698     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71699   echo $ECHO_N "(cached) $ECHO_C" >&6
71700 else
71701
71702
71703
71704       ac_ext=cc
71705 ac_cpp='$CXXCPP $CPPFLAGS'
71706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71709
71710       cat >conftest.$ac_ext <<_ACEOF
71711 /* confdefs.h.  */
71712 _ACEOF
71713 cat confdefs.h >>conftest.$ac_ext
71714 cat >>conftest.$ac_ext <<_ACEOF
71715 /* end confdefs.h.  */
71716 #include <math.h>
71717 int
71718 main ()
71719 {
71720  __builtin_sinf(0);
71721   ;
71722   return 0;
71723 }
71724 _ACEOF
71725 rm -f conftest.$ac_objext
71726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71727   (eval $ac_compile) 2>conftest.er1
71728   ac_status=$?
71729   grep -v '^ *+' conftest.er1 >conftest.err
71730   rm -f conftest.er1
71731   cat conftest.err >&5
71732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71733   (exit $ac_status); } &&
71734          { ac_try='test -z "$ac_cxx_werror_flag"
71735                          || test ! -s conftest.err'
71736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71737   (eval $ac_try) 2>&5
71738   ac_status=$?
71739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71740   (exit $ac_status); }; } &&
71741          { ac_try='test -s conftest.$ac_objext'
71742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71743   (eval $ac_try) 2>&5
71744   ac_status=$?
71745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71746   (exit $ac_status); }; }; then
71747   glibcxx_cv_func___builtin_sinf_use=yes
71748 else
71749   echo "$as_me: failed program was:" >&5
71750 sed 's/^/| /' conftest.$ac_ext >&5
71751
71752 glibcxx_cv_func___builtin_sinf_use=no
71753 fi
71754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71755       ac_ext=c
71756 ac_cpp='$CPP $CPPFLAGS'
71757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71760
71761
71762 fi
71763
71764   fi
71765   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71766 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71767   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71768     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71769 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71770     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71771       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71772   echo $ECHO_N "(cached) $ECHO_C" >&6
71773 else
71774
71775         if test x$gcc_no_link = xyes; then
71776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71778    { (exit 1); exit 1; }; }
71779 fi
71780 cat >conftest.$ac_ext <<_ACEOF
71781 /* confdefs.h.  */
71782 _ACEOF
71783 cat confdefs.h >>conftest.$ac_ext
71784 cat >>conftest.$ac_ext <<_ACEOF
71785 /* end confdefs.h.  */
71786 #include <math.h>
71787 int
71788 main ()
71789 {
71790  __builtin_sinf(0);
71791   ;
71792   return 0;
71793 }
71794 _ACEOF
71795 rm -f conftest.$ac_objext conftest$ac_exeext
71796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71797   (eval $ac_link) 2>conftest.er1
71798   ac_status=$?
71799   grep -v '^ *+' conftest.er1 >conftest.err
71800   rm -f conftest.er1
71801   cat conftest.err >&5
71802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71803   (exit $ac_status); } &&
71804          { ac_try='test -z "$ac_c_werror_flag"
71805                          || test ! -s conftest.err'
71806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71807   (eval $ac_try) 2>&5
71808   ac_status=$?
71809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71810   (exit $ac_status); }; } &&
71811          { ac_try='test -s conftest$ac_exeext'
71812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71813   (eval $ac_try) 2>&5
71814   ac_status=$?
71815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71816   (exit $ac_status); }; }; then
71817   glibcxx_cv_func___builtin_sinf_link=yes
71818 else
71819   echo "$as_me: failed program was:" >&5
71820 sed 's/^/| /' conftest.$ac_ext >&5
71821
71822 glibcxx_cv_func___builtin_sinf_link=no
71823 fi
71824 rm -f conftest.err conftest.$ac_objext \
71825       conftest$ac_exeext conftest.$ac_ext
71826
71827 fi
71828
71829     fi
71830     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71831 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71832
71833     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71834
71835 cat >>confdefs.h <<\_ACEOF
71836 #define HAVE___BUILTIN_SINF 1
71837 _ACEOF
71838
71839     fi
71840
71841   fi
71842
71843
71844   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71845 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71846   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71847     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71848   echo $ECHO_N "(cached) $ECHO_C" >&6
71849 else
71850
71851
71852
71853       ac_ext=cc
71854 ac_cpp='$CXXCPP $CPPFLAGS'
71855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71858
71859       cat >conftest.$ac_ext <<_ACEOF
71860 /* confdefs.h.  */
71861 _ACEOF
71862 cat confdefs.h >>conftest.$ac_ext
71863 cat >>conftest.$ac_ext <<_ACEOF
71864 /* end confdefs.h.  */
71865 #include <math.h>
71866 int
71867 main ()
71868 {
71869  __builtin_sin(0);
71870   ;
71871   return 0;
71872 }
71873 _ACEOF
71874 rm -f conftest.$ac_objext
71875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71876   (eval $ac_compile) 2>conftest.er1
71877   ac_status=$?
71878   grep -v '^ *+' conftest.er1 >conftest.err
71879   rm -f conftest.er1
71880   cat conftest.err >&5
71881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71882   (exit $ac_status); } &&
71883          { ac_try='test -z "$ac_cxx_werror_flag"
71884                          || test ! -s conftest.err'
71885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71886   (eval $ac_try) 2>&5
71887   ac_status=$?
71888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71889   (exit $ac_status); }; } &&
71890          { ac_try='test -s conftest.$ac_objext'
71891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71892   (eval $ac_try) 2>&5
71893   ac_status=$?
71894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71895   (exit $ac_status); }; }; then
71896   glibcxx_cv_func___builtin_sin_use=yes
71897 else
71898   echo "$as_me: failed program was:" >&5
71899 sed 's/^/| /' conftest.$ac_ext >&5
71900
71901 glibcxx_cv_func___builtin_sin_use=no
71902 fi
71903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71904       ac_ext=c
71905 ac_cpp='$CPP $CPPFLAGS'
71906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71909
71910
71911 fi
71912
71913   fi
71914   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71915 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71916   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71917     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71918 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71919     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71920       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71921   echo $ECHO_N "(cached) $ECHO_C" >&6
71922 else
71923
71924         if test x$gcc_no_link = xyes; then
71925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71927    { (exit 1); exit 1; }; }
71928 fi
71929 cat >conftest.$ac_ext <<_ACEOF
71930 /* confdefs.h.  */
71931 _ACEOF
71932 cat confdefs.h >>conftest.$ac_ext
71933 cat >>conftest.$ac_ext <<_ACEOF
71934 /* end confdefs.h.  */
71935 #include <math.h>
71936 int
71937 main ()
71938 {
71939  __builtin_sin(0);
71940   ;
71941   return 0;
71942 }
71943 _ACEOF
71944 rm -f conftest.$ac_objext conftest$ac_exeext
71945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71946   (eval $ac_link) 2>conftest.er1
71947   ac_status=$?
71948   grep -v '^ *+' conftest.er1 >conftest.err
71949   rm -f conftest.er1
71950   cat conftest.err >&5
71951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71952   (exit $ac_status); } &&
71953          { ac_try='test -z "$ac_c_werror_flag"
71954                          || test ! -s conftest.err'
71955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71956   (eval $ac_try) 2>&5
71957   ac_status=$?
71958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71959   (exit $ac_status); }; } &&
71960          { ac_try='test -s conftest$ac_exeext'
71961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71962   (eval $ac_try) 2>&5
71963   ac_status=$?
71964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71965   (exit $ac_status); }; }; then
71966   glibcxx_cv_func___builtin_sin_link=yes
71967 else
71968   echo "$as_me: failed program was:" >&5
71969 sed 's/^/| /' conftest.$ac_ext >&5
71970
71971 glibcxx_cv_func___builtin_sin_link=no
71972 fi
71973 rm -f conftest.err conftest.$ac_objext \
71974       conftest$ac_exeext conftest.$ac_ext
71975
71976 fi
71977
71978     fi
71979     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71980 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71981
71982     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71983
71984 cat >>confdefs.h <<\_ACEOF
71985 #define HAVE___BUILTIN_SIN 1
71986 _ACEOF
71987
71988     fi
71989
71990   fi
71991
71992
71993   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71994 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71995   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71996     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71997   echo $ECHO_N "(cached) $ECHO_C" >&6
71998 else
71999
72000
72001
72002       ac_ext=cc
72003 ac_cpp='$CXXCPP $CPPFLAGS'
72004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72007
72008       cat >conftest.$ac_ext <<_ACEOF
72009 /* confdefs.h.  */
72010 _ACEOF
72011 cat confdefs.h >>conftest.$ac_ext
72012 cat >>conftest.$ac_ext <<_ACEOF
72013 /* end confdefs.h.  */
72014 #include <math.h>
72015 int
72016 main ()
72017 {
72018  __builtin_sinl(0);
72019   ;
72020   return 0;
72021 }
72022 _ACEOF
72023 rm -f conftest.$ac_objext
72024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72025   (eval $ac_compile) 2>conftest.er1
72026   ac_status=$?
72027   grep -v '^ *+' conftest.er1 >conftest.err
72028   rm -f conftest.er1
72029   cat conftest.err >&5
72030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72031   (exit $ac_status); } &&
72032          { ac_try='test -z "$ac_cxx_werror_flag"
72033                          || test ! -s conftest.err'
72034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72035   (eval $ac_try) 2>&5
72036   ac_status=$?
72037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72038   (exit $ac_status); }; } &&
72039          { ac_try='test -s conftest.$ac_objext'
72040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72041   (eval $ac_try) 2>&5
72042   ac_status=$?
72043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72044   (exit $ac_status); }; }; then
72045   glibcxx_cv_func___builtin_sinl_use=yes
72046 else
72047   echo "$as_me: failed program was:" >&5
72048 sed 's/^/| /' conftest.$ac_ext >&5
72049
72050 glibcxx_cv_func___builtin_sinl_use=no
72051 fi
72052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72053       ac_ext=c
72054 ac_cpp='$CPP $CPPFLAGS'
72055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72058
72059
72060 fi
72061
72062   fi
72063   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72064 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72065   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72066     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72067 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72068     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72069       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72070   echo $ECHO_N "(cached) $ECHO_C" >&6
72071 else
72072
72073         if test x$gcc_no_link = xyes; then
72074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72076    { (exit 1); exit 1; }; }
72077 fi
72078 cat >conftest.$ac_ext <<_ACEOF
72079 /* confdefs.h.  */
72080 _ACEOF
72081 cat confdefs.h >>conftest.$ac_ext
72082 cat >>conftest.$ac_ext <<_ACEOF
72083 /* end confdefs.h.  */
72084 #include <math.h>
72085 int
72086 main ()
72087 {
72088  __builtin_sinl(0);
72089   ;
72090   return 0;
72091 }
72092 _ACEOF
72093 rm -f conftest.$ac_objext conftest$ac_exeext
72094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72095   (eval $ac_link) 2>conftest.er1
72096   ac_status=$?
72097   grep -v '^ *+' conftest.er1 >conftest.err
72098   rm -f conftest.er1
72099   cat conftest.err >&5
72100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72101   (exit $ac_status); } &&
72102          { ac_try='test -z "$ac_c_werror_flag"
72103                          || test ! -s conftest.err'
72104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72105   (eval $ac_try) 2>&5
72106   ac_status=$?
72107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72108   (exit $ac_status); }; } &&
72109          { ac_try='test -s conftest$ac_exeext'
72110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72111   (eval $ac_try) 2>&5
72112   ac_status=$?
72113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72114   (exit $ac_status); }; }; then
72115   glibcxx_cv_func___builtin_sinl_link=yes
72116 else
72117   echo "$as_me: failed program was:" >&5
72118 sed 's/^/| /' conftest.$ac_ext >&5
72119
72120 glibcxx_cv_func___builtin_sinl_link=no
72121 fi
72122 rm -f conftest.err conftest.$ac_objext \
72123       conftest$ac_exeext conftest.$ac_ext
72124
72125 fi
72126
72127     fi
72128     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72129 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72130
72131     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72132
72133 cat >>confdefs.h <<\_ACEOF
72134 #define HAVE___BUILTIN_SINL 1
72135 _ACEOF
72136
72137     fi
72138
72139   fi
72140
72141
72142
72143   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72144 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72145   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72146     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72147   echo $ECHO_N "(cached) $ECHO_C" >&6
72148 else
72149
72150
72151
72152       ac_ext=cc
72153 ac_cpp='$CXXCPP $CPPFLAGS'
72154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72157
72158       cat >conftest.$ac_ext <<_ACEOF
72159 /* confdefs.h.  */
72160 _ACEOF
72161 cat confdefs.h >>conftest.$ac_ext
72162 cat >>conftest.$ac_ext <<_ACEOF
72163 /* end confdefs.h.  */
72164 #include <math.h>
72165 int
72166 main ()
72167 {
72168  __builtin_cosf(0);
72169   ;
72170   return 0;
72171 }
72172 _ACEOF
72173 rm -f conftest.$ac_objext
72174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72175   (eval $ac_compile) 2>conftest.er1
72176   ac_status=$?
72177   grep -v '^ *+' conftest.er1 >conftest.err
72178   rm -f conftest.er1
72179   cat conftest.err >&5
72180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72181   (exit $ac_status); } &&
72182          { ac_try='test -z "$ac_cxx_werror_flag"
72183                          || test ! -s conftest.err'
72184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72185   (eval $ac_try) 2>&5
72186   ac_status=$?
72187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72188   (exit $ac_status); }; } &&
72189          { ac_try='test -s conftest.$ac_objext'
72190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72191   (eval $ac_try) 2>&5
72192   ac_status=$?
72193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72194   (exit $ac_status); }; }; then
72195   glibcxx_cv_func___builtin_cosf_use=yes
72196 else
72197   echo "$as_me: failed program was:" >&5
72198 sed 's/^/| /' conftest.$ac_ext >&5
72199
72200 glibcxx_cv_func___builtin_cosf_use=no
72201 fi
72202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72203       ac_ext=c
72204 ac_cpp='$CPP $CPPFLAGS'
72205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72208
72209
72210 fi
72211
72212   fi
72213   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72214 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72215   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72216     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72217 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72218     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72219       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72220   echo $ECHO_N "(cached) $ECHO_C" >&6
72221 else
72222
72223         if test x$gcc_no_link = xyes; then
72224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72226    { (exit 1); exit 1; }; }
72227 fi
72228 cat >conftest.$ac_ext <<_ACEOF
72229 /* confdefs.h.  */
72230 _ACEOF
72231 cat confdefs.h >>conftest.$ac_ext
72232 cat >>conftest.$ac_ext <<_ACEOF
72233 /* end confdefs.h.  */
72234 #include <math.h>
72235 int
72236 main ()
72237 {
72238  __builtin_cosf(0);
72239   ;
72240   return 0;
72241 }
72242 _ACEOF
72243 rm -f conftest.$ac_objext conftest$ac_exeext
72244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72245   (eval $ac_link) 2>conftest.er1
72246   ac_status=$?
72247   grep -v '^ *+' conftest.er1 >conftest.err
72248   rm -f conftest.er1
72249   cat conftest.err >&5
72250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72251   (exit $ac_status); } &&
72252          { ac_try='test -z "$ac_c_werror_flag"
72253                          || test ! -s conftest.err'
72254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72255   (eval $ac_try) 2>&5
72256   ac_status=$?
72257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72258   (exit $ac_status); }; } &&
72259          { ac_try='test -s conftest$ac_exeext'
72260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72261   (eval $ac_try) 2>&5
72262   ac_status=$?
72263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72264   (exit $ac_status); }; }; then
72265   glibcxx_cv_func___builtin_cosf_link=yes
72266 else
72267   echo "$as_me: failed program was:" >&5
72268 sed 's/^/| /' conftest.$ac_ext >&5
72269
72270 glibcxx_cv_func___builtin_cosf_link=no
72271 fi
72272 rm -f conftest.err conftest.$ac_objext \
72273       conftest$ac_exeext conftest.$ac_ext
72274
72275 fi
72276
72277     fi
72278     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72279 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72280
72281     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72282
72283 cat >>confdefs.h <<\_ACEOF
72284 #define HAVE___BUILTIN_COSF 1
72285 _ACEOF
72286
72287     fi
72288
72289   fi
72290
72291
72292   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72293 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72294   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72295     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72296   echo $ECHO_N "(cached) $ECHO_C" >&6
72297 else
72298
72299
72300
72301       ac_ext=cc
72302 ac_cpp='$CXXCPP $CPPFLAGS'
72303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72306
72307       cat >conftest.$ac_ext <<_ACEOF
72308 /* confdefs.h.  */
72309 _ACEOF
72310 cat confdefs.h >>conftest.$ac_ext
72311 cat >>conftest.$ac_ext <<_ACEOF
72312 /* end confdefs.h.  */
72313 #include <math.h>
72314 int
72315 main ()
72316 {
72317  __builtin_cos(0);
72318   ;
72319   return 0;
72320 }
72321 _ACEOF
72322 rm -f conftest.$ac_objext
72323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72324   (eval $ac_compile) 2>conftest.er1
72325   ac_status=$?
72326   grep -v '^ *+' conftest.er1 >conftest.err
72327   rm -f conftest.er1
72328   cat conftest.err >&5
72329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72330   (exit $ac_status); } &&
72331          { ac_try='test -z "$ac_cxx_werror_flag"
72332                          || test ! -s conftest.err'
72333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72334   (eval $ac_try) 2>&5
72335   ac_status=$?
72336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72337   (exit $ac_status); }; } &&
72338          { ac_try='test -s conftest.$ac_objext'
72339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72340   (eval $ac_try) 2>&5
72341   ac_status=$?
72342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72343   (exit $ac_status); }; }; then
72344   glibcxx_cv_func___builtin_cos_use=yes
72345 else
72346   echo "$as_me: failed program was:" >&5
72347 sed 's/^/| /' conftest.$ac_ext >&5
72348
72349 glibcxx_cv_func___builtin_cos_use=no
72350 fi
72351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72352       ac_ext=c
72353 ac_cpp='$CPP $CPPFLAGS'
72354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72357
72358
72359 fi
72360
72361   fi
72362   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72363 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72364   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72365     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72366 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72367     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72368       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72369   echo $ECHO_N "(cached) $ECHO_C" >&6
72370 else
72371
72372         if test x$gcc_no_link = xyes; then
72373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72375    { (exit 1); exit 1; }; }
72376 fi
72377 cat >conftest.$ac_ext <<_ACEOF
72378 /* confdefs.h.  */
72379 _ACEOF
72380 cat confdefs.h >>conftest.$ac_ext
72381 cat >>conftest.$ac_ext <<_ACEOF
72382 /* end confdefs.h.  */
72383 #include <math.h>
72384 int
72385 main ()
72386 {
72387  __builtin_cos(0);
72388   ;
72389   return 0;
72390 }
72391 _ACEOF
72392 rm -f conftest.$ac_objext conftest$ac_exeext
72393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72394   (eval $ac_link) 2>conftest.er1
72395   ac_status=$?
72396   grep -v '^ *+' conftest.er1 >conftest.err
72397   rm -f conftest.er1
72398   cat conftest.err >&5
72399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72400   (exit $ac_status); } &&
72401          { ac_try='test -z "$ac_c_werror_flag"
72402                          || test ! -s conftest.err'
72403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72404   (eval $ac_try) 2>&5
72405   ac_status=$?
72406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72407   (exit $ac_status); }; } &&
72408          { ac_try='test -s conftest$ac_exeext'
72409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72410   (eval $ac_try) 2>&5
72411   ac_status=$?
72412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72413   (exit $ac_status); }; }; then
72414   glibcxx_cv_func___builtin_cos_link=yes
72415 else
72416   echo "$as_me: failed program was:" >&5
72417 sed 's/^/| /' conftest.$ac_ext >&5
72418
72419 glibcxx_cv_func___builtin_cos_link=no
72420 fi
72421 rm -f conftest.err conftest.$ac_objext \
72422       conftest$ac_exeext conftest.$ac_ext
72423
72424 fi
72425
72426     fi
72427     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72428 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72429
72430     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72431
72432 cat >>confdefs.h <<\_ACEOF
72433 #define HAVE___BUILTIN_COS 1
72434 _ACEOF
72435
72436     fi
72437
72438   fi
72439
72440
72441   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72442 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72443   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72444     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72445   echo $ECHO_N "(cached) $ECHO_C" >&6
72446 else
72447
72448
72449
72450       ac_ext=cc
72451 ac_cpp='$CXXCPP $CPPFLAGS'
72452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72455
72456       cat >conftest.$ac_ext <<_ACEOF
72457 /* confdefs.h.  */
72458 _ACEOF
72459 cat confdefs.h >>conftest.$ac_ext
72460 cat >>conftest.$ac_ext <<_ACEOF
72461 /* end confdefs.h.  */
72462 #include <math.h>
72463 int
72464 main ()
72465 {
72466  __builtin_cosl(0);
72467   ;
72468   return 0;
72469 }
72470 _ACEOF
72471 rm -f conftest.$ac_objext
72472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72473   (eval $ac_compile) 2>conftest.er1
72474   ac_status=$?
72475   grep -v '^ *+' conftest.er1 >conftest.err
72476   rm -f conftest.er1
72477   cat conftest.err >&5
72478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72479   (exit $ac_status); } &&
72480          { ac_try='test -z "$ac_cxx_werror_flag"
72481                          || test ! -s conftest.err'
72482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72483   (eval $ac_try) 2>&5
72484   ac_status=$?
72485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72486   (exit $ac_status); }; } &&
72487          { ac_try='test -s conftest.$ac_objext'
72488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72489   (eval $ac_try) 2>&5
72490   ac_status=$?
72491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72492   (exit $ac_status); }; }; then
72493   glibcxx_cv_func___builtin_cosl_use=yes
72494 else
72495   echo "$as_me: failed program was:" >&5
72496 sed 's/^/| /' conftest.$ac_ext >&5
72497
72498 glibcxx_cv_func___builtin_cosl_use=no
72499 fi
72500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72501       ac_ext=c
72502 ac_cpp='$CPP $CPPFLAGS'
72503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72506
72507
72508 fi
72509
72510   fi
72511   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72512 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72513   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72514     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72515 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72516     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72517       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72518   echo $ECHO_N "(cached) $ECHO_C" >&6
72519 else
72520
72521         if test x$gcc_no_link = xyes; then
72522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72524    { (exit 1); exit 1; }; }
72525 fi
72526 cat >conftest.$ac_ext <<_ACEOF
72527 /* confdefs.h.  */
72528 _ACEOF
72529 cat confdefs.h >>conftest.$ac_ext
72530 cat >>conftest.$ac_ext <<_ACEOF
72531 /* end confdefs.h.  */
72532 #include <math.h>
72533 int
72534 main ()
72535 {
72536  __builtin_cosl(0);
72537   ;
72538   return 0;
72539 }
72540 _ACEOF
72541 rm -f conftest.$ac_objext conftest$ac_exeext
72542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72543   (eval $ac_link) 2>conftest.er1
72544   ac_status=$?
72545   grep -v '^ *+' conftest.er1 >conftest.err
72546   rm -f conftest.er1
72547   cat conftest.err >&5
72548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72549   (exit $ac_status); } &&
72550          { ac_try='test -z "$ac_c_werror_flag"
72551                          || test ! -s conftest.err'
72552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72553   (eval $ac_try) 2>&5
72554   ac_status=$?
72555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72556   (exit $ac_status); }; } &&
72557          { ac_try='test -s conftest$ac_exeext'
72558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72559   (eval $ac_try) 2>&5
72560   ac_status=$?
72561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562   (exit $ac_status); }; }; then
72563   glibcxx_cv_func___builtin_cosl_link=yes
72564 else
72565   echo "$as_me: failed program was:" >&5
72566 sed 's/^/| /' conftest.$ac_ext >&5
72567
72568 glibcxx_cv_func___builtin_cosl_link=no
72569 fi
72570 rm -f conftest.err conftest.$ac_objext \
72571       conftest$ac_exeext conftest.$ac_ext
72572
72573 fi
72574
72575     fi
72576     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72577 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72578
72579     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72580
72581 cat >>confdefs.h <<\_ACEOF
72582 #define HAVE___BUILTIN_COSL 1
72583 _ACEOF
72584
72585     fi
72586
72587   fi
72588
72589
72590
72591
72592 echo "$as_me:$LINENO: checking for main in -lm" >&5
72593 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72594 if test "${ac_cv_lib_m_main+set}" = set; then
72595   echo $ECHO_N "(cached) $ECHO_C" >&6
72596 else
72597   ac_check_lib_save_LIBS=$LIBS
72598 LIBS="-lm  $LIBS"
72599 if test x$gcc_no_link = xyes; then
72600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72602    { (exit 1); exit 1; }; }
72603 fi
72604 cat >conftest.$ac_ext <<_ACEOF
72605 /* confdefs.h.  */
72606 _ACEOF
72607 cat confdefs.h >>conftest.$ac_ext
72608 cat >>conftest.$ac_ext <<_ACEOF
72609 /* end confdefs.h.  */
72610
72611
72612 int
72613 main ()
72614 {
72615 main ();
72616   ;
72617   return 0;
72618 }
72619 _ACEOF
72620 rm -f conftest.$ac_objext conftest$ac_exeext
72621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72622   (eval $ac_link) 2>conftest.er1
72623   ac_status=$?
72624   grep -v '^ *+' conftest.er1 >conftest.err
72625   rm -f conftest.er1
72626   cat conftest.err >&5
72627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72628   (exit $ac_status); } &&
72629          { ac_try='test -z "$ac_c_werror_flag"
72630                          || test ! -s conftest.err'
72631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72632   (eval $ac_try) 2>&5
72633   ac_status=$?
72634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72635   (exit $ac_status); }; } &&
72636          { ac_try='test -s conftest$ac_exeext'
72637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72638   (eval $ac_try) 2>&5
72639   ac_status=$?
72640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72641   (exit $ac_status); }; }; then
72642   ac_cv_lib_m_main=yes
72643 else
72644   echo "$as_me: failed program was:" >&5
72645 sed 's/^/| /' conftest.$ac_ext >&5
72646
72647 ac_cv_lib_m_main=no
72648 fi
72649 rm -f conftest.err conftest.$ac_objext \
72650       conftest$ac_exeext conftest.$ac_ext
72651 LIBS=$ac_check_lib_save_LIBS
72652 fi
72653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72654 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72655 if test $ac_cv_lib_m_main = yes; then
72656   cat >>confdefs.h <<_ACEOF
72657 #define HAVE_LIBM 1
72658 _ACEOF
72659
72660   LIBS="-lm $LIBS"
72661
72662 fi
72663
72664
72665 for ac_func in copysignf
72666 do
72667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72668 echo "$as_me:$LINENO: checking for $ac_func" >&5
72669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72670 if eval "test \"\${$as_ac_var+set}\" = set"; then
72671   echo $ECHO_N "(cached) $ECHO_C" >&6
72672 else
72673   if test x$gcc_no_link = xyes; then
72674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72676    { (exit 1); exit 1; }; }
72677 fi
72678 cat >conftest.$ac_ext <<_ACEOF
72679 /* confdefs.h.  */
72680 _ACEOF
72681 cat confdefs.h >>conftest.$ac_ext
72682 cat >>conftest.$ac_ext <<_ACEOF
72683 /* end confdefs.h.  */
72684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72686 #define $ac_func innocuous_$ac_func
72687
72688 /* System header to define __stub macros and hopefully few prototypes,
72689     which can conflict with char $ac_func (); below.
72690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72691     <limits.h> exists even on freestanding compilers.  */
72692
72693 #ifdef __STDC__
72694 # include <limits.h>
72695 #else
72696 # include <assert.h>
72697 #endif
72698
72699 #undef $ac_func
72700
72701 /* Override any gcc2 internal prototype to avoid an error.  */
72702 #ifdef __cplusplus
72703 extern "C"
72704 {
72705 #endif
72706 /* We use char because int might match the return type of a gcc2
72707    builtin and then its argument prototype would still apply.  */
72708 char $ac_func ();
72709 /* The GNU C library defines this for functions which it implements
72710     to always fail with ENOSYS.  Some functions are actually named
72711     something starting with __ and the normal name is an alias.  */
72712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72713 choke me
72714 #else
72715 char (*f) () = $ac_func;
72716 #endif
72717 #ifdef __cplusplus
72718 }
72719 #endif
72720
72721 int
72722 main ()
72723 {
72724 return f != $ac_func;
72725   ;
72726   return 0;
72727 }
72728 _ACEOF
72729 rm -f conftest.$ac_objext conftest$ac_exeext
72730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72731   (eval $ac_link) 2>conftest.er1
72732   ac_status=$?
72733   grep -v '^ *+' conftest.er1 >conftest.err
72734   rm -f conftest.er1
72735   cat conftest.err >&5
72736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72737   (exit $ac_status); } &&
72738          { ac_try='test -z "$ac_c_werror_flag"
72739                          || test ! -s conftest.err'
72740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72741   (eval $ac_try) 2>&5
72742   ac_status=$?
72743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72744   (exit $ac_status); }; } &&
72745          { ac_try='test -s conftest$ac_exeext'
72746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72747   (eval $ac_try) 2>&5
72748   ac_status=$?
72749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72750   (exit $ac_status); }; }; then
72751   eval "$as_ac_var=yes"
72752 else
72753   echo "$as_me: failed program was:" >&5
72754 sed 's/^/| /' conftest.$ac_ext >&5
72755
72756 eval "$as_ac_var=no"
72757 fi
72758 rm -f conftest.err conftest.$ac_objext \
72759       conftest$ac_exeext conftest.$ac_ext
72760 fi
72761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72763 if test `eval echo '${'$as_ac_var'}'` = yes; then
72764   cat >>confdefs.h <<_ACEOF
72765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72766 _ACEOF
72767
72768 else
72769   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72770 fi
72771 done
72772
72773
72774
72775 for ac_func in __signbit
72776 do
72777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72778 echo "$as_me:$LINENO: checking for $ac_func" >&5
72779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72780 if eval "test \"\${$as_ac_var+set}\" = set"; then
72781   echo $ECHO_N "(cached) $ECHO_C" >&6
72782 else
72783   if test x$gcc_no_link = xyes; then
72784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72786    { (exit 1); exit 1; }; }
72787 fi
72788 cat >conftest.$ac_ext <<_ACEOF
72789 /* confdefs.h.  */
72790 _ACEOF
72791 cat confdefs.h >>conftest.$ac_ext
72792 cat >>conftest.$ac_ext <<_ACEOF
72793 /* end confdefs.h.  */
72794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72796 #define $ac_func innocuous_$ac_func
72797
72798 /* System header to define __stub macros and hopefully few prototypes,
72799     which can conflict with char $ac_func (); below.
72800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72801     <limits.h> exists even on freestanding compilers.  */
72802
72803 #ifdef __STDC__
72804 # include <limits.h>
72805 #else
72806 # include <assert.h>
72807 #endif
72808
72809 #undef $ac_func
72810
72811 /* Override any gcc2 internal prototype to avoid an error.  */
72812 #ifdef __cplusplus
72813 extern "C"
72814 {
72815 #endif
72816 /* We use char because int might match the return type of a gcc2
72817    builtin and then its argument prototype would still apply.  */
72818 char $ac_func ();
72819 /* The GNU C library defines this for functions which it implements
72820     to always fail with ENOSYS.  Some functions are actually named
72821     something starting with __ and the normal name is an alias.  */
72822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72823 choke me
72824 #else
72825 char (*f) () = $ac_func;
72826 #endif
72827 #ifdef __cplusplus
72828 }
72829 #endif
72830
72831 int
72832 main ()
72833 {
72834 return f != $ac_func;
72835   ;
72836   return 0;
72837 }
72838 _ACEOF
72839 rm -f conftest.$ac_objext conftest$ac_exeext
72840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72841   (eval $ac_link) 2>conftest.er1
72842   ac_status=$?
72843   grep -v '^ *+' conftest.er1 >conftest.err
72844   rm -f conftest.er1
72845   cat conftest.err >&5
72846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72847   (exit $ac_status); } &&
72848          { ac_try='test -z "$ac_c_werror_flag"
72849                          || test ! -s conftest.err'
72850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72851   (eval $ac_try) 2>&5
72852   ac_status=$?
72853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72854   (exit $ac_status); }; } &&
72855          { ac_try='test -s conftest$ac_exeext'
72856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72857   (eval $ac_try) 2>&5
72858   ac_status=$?
72859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72860   (exit $ac_status); }; }; then
72861   eval "$as_ac_var=yes"
72862 else
72863   echo "$as_me: failed program was:" >&5
72864 sed 's/^/| /' conftest.$ac_ext >&5
72865
72866 eval "$as_ac_var=no"
72867 fi
72868 rm -f conftest.err conftest.$ac_objext \
72869       conftest$ac_exeext conftest.$ac_ext
72870 fi
72871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72873 if test `eval echo '${'$as_ac_var'}'` = yes; then
72874   cat >>confdefs.h <<_ACEOF
72875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72876 _ACEOF
72877
72878 else
72879   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72880 fi
72881 done
72882
72883
72884
72885 for ac_func in __signbitf
72886 do
72887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72888 echo "$as_me:$LINENO: checking for $ac_func" >&5
72889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72890 if eval "test \"\${$as_ac_var+set}\" = set"; then
72891   echo $ECHO_N "(cached) $ECHO_C" >&6
72892 else
72893   if test x$gcc_no_link = xyes; then
72894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72896    { (exit 1); exit 1; }; }
72897 fi
72898 cat >conftest.$ac_ext <<_ACEOF
72899 /* confdefs.h.  */
72900 _ACEOF
72901 cat confdefs.h >>conftest.$ac_ext
72902 cat >>conftest.$ac_ext <<_ACEOF
72903 /* end confdefs.h.  */
72904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72906 #define $ac_func innocuous_$ac_func
72907
72908 /* System header to define __stub macros and hopefully few prototypes,
72909     which can conflict with char $ac_func (); below.
72910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72911     <limits.h> exists even on freestanding compilers.  */
72912
72913 #ifdef __STDC__
72914 # include <limits.h>
72915 #else
72916 # include <assert.h>
72917 #endif
72918
72919 #undef $ac_func
72920
72921 /* Override any gcc2 internal prototype to avoid an error.  */
72922 #ifdef __cplusplus
72923 extern "C"
72924 {
72925 #endif
72926 /* We use char because int might match the return type of a gcc2
72927    builtin and then its argument prototype would still apply.  */
72928 char $ac_func ();
72929 /* The GNU C library defines this for functions which it implements
72930     to always fail with ENOSYS.  Some functions are actually named
72931     something starting with __ and the normal name is an alias.  */
72932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72933 choke me
72934 #else
72935 char (*f) () = $ac_func;
72936 #endif
72937 #ifdef __cplusplus
72938 }
72939 #endif
72940
72941 int
72942 main ()
72943 {
72944 return f != $ac_func;
72945   ;
72946   return 0;
72947 }
72948 _ACEOF
72949 rm -f conftest.$ac_objext conftest$ac_exeext
72950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72951   (eval $ac_link) 2>conftest.er1
72952   ac_status=$?
72953   grep -v '^ *+' conftest.er1 >conftest.err
72954   rm -f conftest.er1
72955   cat conftest.err >&5
72956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72957   (exit $ac_status); } &&
72958          { ac_try='test -z "$ac_c_werror_flag"
72959                          || test ! -s conftest.err'
72960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72961   (eval $ac_try) 2>&5
72962   ac_status=$?
72963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72964   (exit $ac_status); }; } &&
72965          { ac_try='test -s conftest$ac_exeext'
72966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72967   (eval $ac_try) 2>&5
72968   ac_status=$?
72969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72970   (exit $ac_status); }; }; then
72971   eval "$as_ac_var=yes"
72972 else
72973   echo "$as_me: failed program was:" >&5
72974 sed 's/^/| /' conftest.$ac_ext >&5
72975
72976 eval "$as_ac_var=no"
72977 fi
72978 rm -f conftest.err conftest.$ac_objext \
72979       conftest$ac_exeext conftest.$ac_ext
72980 fi
72981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72983 if test `eval echo '${'$as_ac_var'}'` = yes; then
72984   cat >>confdefs.h <<_ACEOF
72985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72986 _ACEOF
72987
72988 else
72989   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72990 fi
72991 done
72992
72993
72994           if test x$ac_cv_func_copysignl = x"yes"; then
72995
72996 for ac_func in __signbitl
72997 do
72998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72999 echo "$as_me:$LINENO: checking for $ac_func" >&5
73000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73001 if eval "test \"\${$as_ac_var+set}\" = set"; then
73002   echo $ECHO_N "(cached) $ECHO_C" >&6
73003 else
73004   if test x$gcc_no_link = xyes; then
73005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73007    { (exit 1); exit 1; }; }
73008 fi
73009 cat >conftest.$ac_ext <<_ACEOF
73010 /* confdefs.h.  */
73011 _ACEOF
73012 cat confdefs.h >>conftest.$ac_ext
73013 cat >>conftest.$ac_ext <<_ACEOF
73014 /* end confdefs.h.  */
73015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73016    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73017 #define $ac_func innocuous_$ac_func
73018
73019 /* System header to define __stub macros and hopefully few prototypes,
73020     which can conflict with char $ac_func (); below.
73021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73022     <limits.h> exists even on freestanding compilers.  */
73023
73024 #ifdef __STDC__
73025 # include <limits.h>
73026 #else
73027 # include <assert.h>
73028 #endif
73029
73030 #undef $ac_func
73031
73032 /* Override any gcc2 internal prototype to avoid an error.  */
73033 #ifdef __cplusplus
73034 extern "C"
73035 {
73036 #endif
73037 /* We use char because int might match the return type of a gcc2
73038    builtin and then its argument prototype would still apply.  */
73039 char $ac_func ();
73040 /* The GNU C library defines this for functions which it implements
73041     to always fail with ENOSYS.  Some functions are actually named
73042     something starting with __ and the normal name is an alias.  */
73043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73044 choke me
73045 #else
73046 char (*f) () = $ac_func;
73047 #endif
73048 #ifdef __cplusplus
73049 }
73050 #endif
73051
73052 int
73053 main ()
73054 {
73055 return f != $ac_func;
73056   ;
73057   return 0;
73058 }
73059 _ACEOF
73060 rm -f conftest.$ac_objext conftest$ac_exeext
73061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73062   (eval $ac_link) 2>conftest.er1
73063   ac_status=$?
73064   grep -v '^ *+' conftest.er1 >conftest.err
73065   rm -f conftest.er1
73066   cat conftest.err >&5
73067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73068   (exit $ac_status); } &&
73069          { ac_try='test -z "$ac_c_werror_flag"
73070                          || test ! -s conftest.err'
73071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73072   (eval $ac_try) 2>&5
73073   ac_status=$?
73074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73075   (exit $ac_status); }; } &&
73076          { ac_try='test -s conftest$ac_exeext'
73077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73078   (eval $ac_try) 2>&5
73079   ac_status=$?
73080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73081   (exit $ac_status); }; }; then
73082   eval "$as_ac_var=yes"
73083 else
73084   echo "$as_me: failed program was:" >&5
73085 sed 's/^/| /' conftest.$ac_ext >&5
73086
73087 eval "$as_ac_var=no"
73088 fi
73089 rm -f conftest.err conftest.$ac_objext \
73090       conftest$ac_exeext conftest.$ac_ext
73091 fi
73092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73094 if test `eval echo '${'$as_ac_var'}'` = yes; then
73095   cat >>confdefs.h <<_ACEOF
73096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73097 _ACEOF
73098
73099 else
73100   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73101 fi
73102 done
73103
73104   fi
73105
73106   # Used in libmath/Makefile.am.
73107   if test -n "$LIBMATHOBJS"; then
73108     need_libmath=yes
73109   fi
73110
73111
73112
73113
73114   enable_iconv=no
73115   # Only continue checking if the ISO C99 headers exist and support is on.
73116   if test x"$enable_wchar_t" = xyes; then
73117
73118     # Use iconv for wchar_t to char conversions. As such, check for
73119     # X/Open Portability Guide, version 2 features (XPG2).
73120     if test "${ac_cv_header_iconv_h+set}" = set; then
73121   echo "$as_me:$LINENO: checking for iconv.h" >&5
73122 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73123 if test "${ac_cv_header_iconv_h+set}" = set; then
73124   echo $ECHO_N "(cached) $ECHO_C" >&6
73125 fi
73126 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73127 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73128 else
73129   # Is the header compilable?
73130 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73131 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73132 cat >conftest.$ac_ext <<_ACEOF
73133 /* confdefs.h.  */
73134 _ACEOF
73135 cat confdefs.h >>conftest.$ac_ext
73136 cat >>conftest.$ac_ext <<_ACEOF
73137 /* end confdefs.h.  */
73138 $ac_includes_default
73139 #include <iconv.h>
73140 _ACEOF
73141 rm -f conftest.$ac_objext
73142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73143   (eval $ac_compile) 2>conftest.er1
73144   ac_status=$?
73145   grep -v '^ *+' conftest.er1 >conftest.err
73146   rm -f conftest.er1
73147   cat conftest.err >&5
73148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73149   (exit $ac_status); } &&
73150          { ac_try='test -z "$ac_c_werror_flag"
73151                          || test ! -s conftest.err'
73152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73153   (eval $ac_try) 2>&5
73154   ac_status=$?
73155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73156   (exit $ac_status); }; } &&
73157          { ac_try='test -s conftest.$ac_objext'
73158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73159   (eval $ac_try) 2>&5
73160   ac_status=$?
73161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73162   (exit $ac_status); }; }; then
73163   ac_header_compiler=yes
73164 else
73165   echo "$as_me: failed program was:" >&5
73166 sed 's/^/| /' conftest.$ac_ext >&5
73167
73168 ac_header_compiler=no
73169 fi
73170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73172 echo "${ECHO_T}$ac_header_compiler" >&6
73173
73174 # Is the header present?
73175 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73176 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73177 cat >conftest.$ac_ext <<_ACEOF
73178 /* confdefs.h.  */
73179 _ACEOF
73180 cat confdefs.h >>conftest.$ac_ext
73181 cat >>conftest.$ac_ext <<_ACEOF
73182 /* end confdefs.h.  */
73183 #include <iconv.h>
73184 _ACEOF
73185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73186   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73187   ac_status=$?
73188   grep -v '^ *+' conftest.er1 >conftest.err
73189   rm -f conftest.er1
73190   cat conftest.err >&5
73191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73192   (exit $ac_status); } >/dev/null; then
73193   if test -s conftest.err; then
73194     ac_cpp_err=$ac_c_preproc_warn_flag
73195     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73196   else
73197     ac_cpp_err=
73198   fi
73199 else
73200   ac_cpp_err=yes
73201 fi
73202 if test -z "$ac_cpp_err"; then
73203   ac_header_preproc=yes
73204 else
73205   echo "$as_me: failed program was:" >&5
73206 sed 's/^/| /' conftest.$ac_ext >&5
73207
73208   ac_header_preproc=no
73209 fi
73210 rm -f conftest.err conftest.$ac_ext
73211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73212 echo "${ECHO_T}$ac_header_preproc" >&6
73213
73214 # So?  What about this header?
73215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73216   yes:no: )
73217     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73218 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73219     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73220 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73221     ac_header_preproc=yes
73222     ;;
73223   no:yes:* )
73224     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73225 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73226     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
73227 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
73228     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73229 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73230     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
73231 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
73232     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73233 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73234     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73235 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73236     (
73237       cat <<\_ASBOX
73238 ## ----------------------------------------- ##
73239 ## Report this to the package-unused lists.  ##
73240 ## ----------------------------------------- ##
73241 _ASBOX
73242     ) |
73243       sed "s/^/$as_me: WARNING:     /" >&2
73244     ;;
73245 esac
73246 echo "$as_me:$LINENO: checking for iconv.h" >&5
73247 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73248 if test "${ac_cv_header_iconv_h+set}" = set; then
73249   echo $ECHO_N "(cached) $ECHO_C" >&6
73250 else
73251   ac_cv_header_iconv_h=$ac_header_preproc
73252 fi
73253 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73254 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73255
73256 fi
73257 if test $ac_cv_header_iconv_h = yes; then
73258   ac_has_iconv_h=yes
73259 else
73260   ac_has_iconv_h=no
73261 fi
73262
73263
73264     if test "${ac_cv_header_langinfo_h+set}" = set; then
73265   echo "$as_me:$LINENO: checking for langinfo.h" >&5
73266 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73267 if test "${ac_cv_header_langinfo_h+set}" = set; then
73268   echo $ECHO_N "(cached) $ECHO_C" >&6
73269 fi
73270 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73271 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73272 else
73273   # Is the header compilable?
73274 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73275 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73276 cat >conftest.$ac_ext <<_ACEOF
73277 /* confdefs.h.  */
73278 _ACEOF
73279 cat confdefs.h >>conftest.$ac_ext
73280 cat >>conftest.$ac_ext <<_ACEOF
73281 /* end confdefs.h.  */
73282 $ac_includes_default
73283 #include <langinfo.h>
73284 _ACEOF
73285 rm -f conftest.$ac_objext
73286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73287   (eval $ac_compile) 2>conftest.er1
73288   ac_status=$?
73289   grep -v '^ *+' conftest.er1 >conftest.err
73290   rm -f conftest.er1
73291   cat conftest.err >&5
73292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73293   (exit $ac_status); } &&
73294          { ac_try='test -z "$ac_c_werror_flag"
73295                          || test ! -s conftest.err'
73296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73297   (eval $ac_try) 2>&5
73298   ac_status=$?
73299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73300   (exit $ac_status); }; } &&
73301          { ac_try='test -s conftest.$ac_objext'
73302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73303   (eval $ac_try) 2>&5
73304   ac_status=$?
73305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73306   (exit $ac_status); }; }; then
73307   ac_header_compiler=yes
73308 else
73309   echo "$as_me: failed program was:" >&5
73310 sed 's/^/| /' conftest.$ac_ext >&5
73311
73312 ac_header_compiler=no
73313 fi
73314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73316 echo "${ECHO_T}$ac_header_compiler" >&6
73317
73318 # Is the header present?
73319 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73320 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73321 cat >conftest.$ac_ext <<_ACEOF
73322 /* confdefs.h.  */
73323 _ACEOF
73324 cat confdefs.h >>conftest.$ac_ext
73325 cat >>conftest.$ac_ext <<_ACEOF
73326 /* end confdefs.h.  */
73327 #include <langinfo.h>
73328 _ACEOF
73329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73330   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73331   ac_status=$?
73332   grep -v '^ *+' conftest.er1 >conftest.err
73333   rm -f conftest.er1
73334   cat conftest.err >&5
73335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73336   (exit $ac_status); } >/dev/null; then
73337   if test -s conftest.err; then
73338     ac_cpp_err=$ac_c_preproc_warn_flag
73339     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73340   else
73341     ac_cpp_err=
73342   fi
73343 else
73344   ac_cpp_err=yes
73345 fi
73346 if test -z "$ac_cpp_err"; then
73347   ac_header_preproc=yes
73348 else
73349   echo "$as_me: failed program was:" >&5
73350 sed 's/^/| /' conftest.$ac_ext >&5
73351
73352   ac_header_preproc=no
73353 fi
73354 rm -f conftest.err conftest.$ac_ext
73355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73356 echo "${ECHO_T}$ac_header_preproc" >&6
73357
73358 # So?  What about this header?
73359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73360   yes:no: )
73361     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73362 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73363     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73364 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73365     ac_header_preproc=yes
73366     ;;
73367   no:yes:* )
73368     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73369 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73370     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
73371 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
73372     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73373 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73374     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
73375 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
73376     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73377 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73378     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73379 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73380     (
73381       cat <<\_ASBOX
73382 ## ----------------------------------------- ##
73383 ## Report this to the package-unused lists.  ##
73384 ## ----------------------------------------- ##
73385 _ASBOX
73386     ) |
73387       sed "s/^/$as_me: WARNING:     /" >&2
73388     ;;
73389 esac
73390 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73391 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73392 if test "${ac_cv_header_langinfo_h+set}" = set; then
73393   echo $ECHO_N "(cached) $ECHO_C" >&6
73394 else
73395   ac_cv_header_langinfo_h=$ac_header_preproc
73396 fi
73397 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73398 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73399
73400 fi
73401 if test $ac_cv_header_langinfo_h = yes; then
73402   ac_has_langinfo_h=yes
73403 else
73404   ac_has_langinfo_h=no
73405 fi
73406
73407
73408
73409     # Check for existence of libiconv.a providing XPG2 wchar_t support.
73410     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73411 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73412 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73413   echo $ECHO_N "(cached) $ECHO_C" >&6
73414 else
73415   ac_check_lib_save_LIBS=$LIBS
73416 LIBS="-liconv  $LIBS"
73417 if test x$gcc_no_link = xyes; then
73418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73420    { (exit 1); exit 1; }; }
73421 fi
73422 cat >conftest.$ac_ext <<_ACEOF
73423 /* confdefs.h.  */
73424 _ACEOF
73425 cat confdefs.h >>conftest.$ac_ext
73426 cat >>conftest.$ac_ext <<_ACEOF
73427 /* end confdefs.h.  */
73428
73429 /* Override any gcc2 internal prototype to avoid an error.  */
73430 #ifdef __cplusplus
73431 extern "C"
73432 #endif
73433 /* We use char because int might match the return type of a gcc2
73434    builtin and then its argument prototype would still apply.  */
73435 char iconv ();
73436 int
73437 main ()
73438 {
73439 iconv ();
73440   ;
73441   return 0;
73442 }
73443 _ACEOF
73444 rm -f conftest.$ac_objext conftest$ac_exeext
73445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73446   (eval $ac_link) 2>conftest.er1
73447   ac_status=$?
73448   grep -v '^ *+' conftest.er1 >conftest.err
73449   rm -f conftest.er1
73450   cat conftest.err >&5
73451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73452   (exit $ac_status); } &&
73453          { ac_try='test -z "$ac_c_werror_flag"
73454                          || test ! -s conftest.err'
73455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73456   (eval $ac_try) 2>&5
73457   ac_status=$?
73458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73459   (exit $ac_status); }; } &&
73460          { ac_try='test -s conftest$ac_exeext'
73461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73462   (eval $ac_try) 2>&5
73463   ac_status=$?
73464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73465   (exit $ac_status); }; }; then
73466   ac_cv_lib_iconv_iconv=yes
73467 else
73468   echo "$as_me: failed program was:" >&5
73469 sed 's/^/| /' conftest.$ac_ext >&5
73470
73471 ac_cv_lib_iconv_iconv=no
73472 fi
73473 rm -f conftest.err conftest.$ac_objext \
73474       conftest$ac_exeext conftest.$ac_ext
73475 LIBS=$ac_check_lib_save_LIBS
73476 fi
73477 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73478 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73479 if test $ac_cv_lib_iconv_iconv = yes; then
73480   LIBICONV="-liconv"
73481 fi
73482
73483     ac_save_LIBS="$LIBS"
73484     LIBS="$LIBS $LIBICONV"
73485
73486
73487
73488
73489
73490
73491 for ac_func in iconv_open iconv_close iconv nl_langinfo
73492 do
73493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73494 echo "$as_me:$LINENO: checking for $ac_func" >&5
73495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73496 if eval "test \"\${$as_ac_var+set}\" = set"; then
73497   echo $ECHO_N "(cached) $ECHO_C" >&6
73498 else
73499   if test x$gcc_no_link = xyes; then
73500   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73502    { (exit 1); exit 1; }; }
73503 fi
73504 cat >conftest.$ac_ext <<_ACEOF
73505 /* confdefs.h.  */
73506 _ACEOF
73507 cat confdefs.h >>conftest.$ac_ext
73508 cat >>conftest.$ac_ext <<_ACEOF
73509 /* end confdefs.h.  */
73510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73511    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73512 #define $ac_func innocuous_$ac_func
73513
73514 /* System header to define __stub macros and hopefully few prototypes,
73515     which can conflict with char $ac_func (); below.
73516     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73517     <limits.h> exists even on freestanding compilers.  */
73518
73519 #ifdef __STDC__
73520 # include <limits.h>
73521 #else
73522 # include <assert.h>
73523 #endif
73524
73525 #undef $ac_func
73526
73527 /* Override any gcc2 internal prototype to avoid an error.  */
73528 #ifdef __cplusplus
73529 extern "C"
73530 {
73531 #endif
73532 /* We use char because int might match the return type of a gcc2
73533    builtin and then its argument prototype would still apply.  */
73534 char $ac_func ();
73535 /* The GNU C library defines this for functions which it implements
73536     to always fail with ENOSYS.  Some functions are actually named
73537     something starting with __ and the normal name is an alias.  */
73538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73539 choke me
73540 #else
73541 char (*f) () = $ac_func;
73542 #endif
73543 #ifdef __cplusplus
73544 }
73545 #endif
73546
73547 int
73548 main ()
73549 {
73550 return f != $ac_func;
73551   ;
73552   return 0;
73553 }
73554 _ACEOF
73555 rm -f conftest.$ac_objext conftest$ac_exeext
73556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73557   (eval $ac_link) 2>conftest.er1
73558   ac_status=$?
73559   grep -v '^ *+' conftest.er1 >conftest.err
73560   rm -f conftest.er1
73561   cat conftest.err >&5
73562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73563   (exit $ac_status); } &&
73564          { ac_try='test -z "$ac_c_werror_flag"
73565                          || test ! -s conftest.err'
73566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73567   (eval $ac_try) 2>&5
73568   ac_status=$?
73569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73570   (exit $ac_status); }; } &&
73571          { ac_try='test -s conftest$ac_exeext'
73572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73573   (eval $ac_try) 2>&5
73574   ac_status=$?
73575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73576   (exit $ac_status); }; }; then
73577   eval "$as_ac_var=yes"
73578 else
73579   echo "$as_me: failed program was:" >&5
73580 sed 's/^/| /' conftest.$ac_ext >&5
73581
73582 eval "$as_ac_var=no"
73583 fi
73584 rm -f conftest.err conftest.$ac_objext \
73585       conftest$ac_exeext conftest.$ac_ext
73586 fi
73587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73589 if test `eval echo '${'$as_ac_var'}'` = yes; then
73590   cat >>confdefs.h <<_ACEOF
73591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73592 _ACEOF
73593  ac_XPG2funcs=yes
73594 else
73595   ac_XPG2funcs=no
73596 fi
73597 done
73598
73599
73600     LIBS="$ac_save_LIBS"
73601
73602     if test x"$ac_has_iconv_h" = xyes &&
73603        test x"$ac_has_langinfo_h" = xyes &&
73604        test x"$ac_XPG2funcs" = xyes;
73605     then
73606
73607 cat >>confdefs.h <<\_ACEOF
73608 #define _GLIBCXX_USE_ICONV 1
73609 _ACEOF
73610
73611       enable_iconv=yes
73612     fi
73613   fi
73614   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73615 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73616   echo "$as_me:$LINENO: result: $enable_iconv" >&5
73617 echo "${ECHO_T}$enable_iconv" >&6
73618
73619
73620   ac_test_CXXFLAGS="${CXXFLAGS+set}"
73621   ac_save_CXXFLAGS="$CXXFLAGS"
73622   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73623
73624
73625   echo "$as_me:$LINENO: checking for strtold declaration" >&5
73626 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73627   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73628     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73629   echo $ECHO_N "(cached) $ECHO_C" >&6
73630 else
73631
73632
73633
73634       ac_ext=cc
73635 ac_cpp='$CXXCPP $CPPFLAGS'
73636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73639
73640       cat >conftest.$ac_ext <<_ACEOF
73641 /* confdefs.h.  */
73642 _ACEOF
73643 cat confdefs.h >>conftest.$ac_ext
73644 cat >>conftest.$ac_ext <<_ACEOF
73645 /* end confdefs.h.  */
73646 #include <stdlib.h>
73647 int
73648 main ()
73649 {
73650  strtold(0, 0);
73651   ;
73652   return 0;
73653 }
73654 _ACEOF
73655 rm -f conftest.$ac_objext
73656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73657   (eval $ac_compile) 2>conftest.er1
73658   ac_status=$?
73659   grep -v '^ *+' conftest.er1 >conftest.err
73660   rm -f conftest.er1
73661   cat conftest.err >&5
73662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73663   (exit $ac_status); } &&
73664          { ac_try='test -z "$ac_cxx_werror_flag"
73665                          || test ! -s conftest.err'
73666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73667   (eval $ac_try) 2>&5
73668   ac_status=$?
73669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73670   (exit $ac_status); }; } &&
73671          { ac_try='test -s conftest.$ac_objext'
73672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73673   (eval $ac_try) 2>&5
73674   ac_status=$?
73675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73676   (exit $ac_status); }; }; then
73677   glibcxx_cv_func_strtold_use=yes
73678 else
73679   echo "$as_me: failed program was:" >&5
73680 sed 's/^/| /' conftest.$ac_ext >&5
73681
73682 glibcxx_cv_func_strtold_use=no
73683 fi
73684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73685       ac_ext=c
73686 ac_cpp='$CPP $CPPFLAGS'
73687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73690
73691
73692 fi
73693
73694   fi
73695   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73696 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73697   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73698
73699 for ac_func in strtold
73700 do
73701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73702 echo "$as_me:$LINENO: checking for $ac_func" >&5
73703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73704 if eval "test \"\${$as_ac_var+set}\" = set"; then
73705   echo $ECHO_N "(cached) $ECHO_C" >&6
73706 else
73707   if test x$gcc_no_link = xyes; then
73708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73710    { (exit 1); exit 1; }; }
73711 fi
73712 cat >conftest.$ac_ext <<_ACEOF
73713 /* confdefs.h.  */
73714 _ACEOF
73715 cat confdefs.h >>conftest.$ac_ext
73716 cat >>conftest.$ac_ext <<_ACEOF
73717 /* end confdefs.h.  */
73718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73720 #define $ac_func innocuous_$ac_func
73721
73722 /* System header to define __stub macros and hopefully few prototypes,
73723     which can conflict with char $ac_func (); below.
73724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73725     <limits.h> exists even on freestanding compilers.  */
73726
73727 #ifdef __STDC__
73728 # include <limits.h>
73729 #else
73730 # include <assert.h>
73731 #endif
73732
73733 #undef $ac_func
73734
73735 /* Override any gcc2 internal prototype to avoid an error.  */
73736 #ifdef __cplusplus
73737 extern "C"
73738 {
73739 #endif
73740 /* We use char because int might match the return type of a gcc2
73741    builtin and then its argument prototype would still apply.  */
73742 char $ac_func ();
73743 /* The GNU C library defines this for functions which it implements
73744     to always fail with ENOSYS.  Some functions are actually named
73745     something starting with __ and the normal name is an alias.  */
73746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73747 choke me
73748 #else
73749 char (*f) () = $ac_func;
73750 #endif
73751 #ifdef __cplusplus
73752 }
73753 #endif
73754
73755 int
73756 main ()
73757 {
73758 return f != $ac_func;
73759   ;
73760   return 0;
73761 }
73762 _ACEOF
73763 rm -f conftest.$ac_objext conftest$ac_exeext
73764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73765   (eval $ac_link) 2>conftest.er1
73766   ac_status=$?
73767   grep -v '^ *+' conftest.er1 >conftest.err
73768   rm -f conftest.er1
73769   cat conftest.err >&5
73770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73771   (exit $ac_status); } &&
73772          { ac_try='test -z "$ac_c_werror_flag"
73773                          || test ! -s conftest.err'
73774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73775   (eval $ac_try) 2>&5
73776   ac_status=$?
73777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73778   (exit $ac_status); }; } &&
73779          { ac_try='test -s conftest$ac_exeext'
73780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73781   (eval $ac_try) 2>&5
73782   ac_status=$?
73783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73784   (exit $ac_status); }; }; then
73785   eval "$as_ac_var=yes"
73786 else
73787   echo "$as_me: failed program was:" >&5
73788 sed 's/^/| /' conftest.$ac_ext >&5
73789
73790 eval "$as_ac_var=no"
73791 fi
73792 rm -f conftest.err conftest.$ac_objext \
73793       conftest$ac_exeext conftest.$ac_ext
73794 fi
73795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73797 if test `eval echo '${'$as_ac_var'}'` = yes; then
73798   cat >>confdefs.h <<_ACEOF
73799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73800 _ACEOF
73801
73802 fi
73803 done
73804
73805   fi
73806
73807
73808
73809
73810
73811   echo "$as_me:$LINENO: checking for strtof declaration" >&5
73812 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73813   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73814     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73815   echo $ECHO_N "(cached) $ECHO_C" >&6
73816 else
73817
73818
73819
73820       ac_ext=cc
73821 ac_cpp='$CXXCPP $CPPFLAGS'
73822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73825
73826       cat >conftest.$ac_ext <<_ACEOF
73827 /* confdefs.h.  */
73828 _ACEOF
73829 cat confdefs.h >>conftest.$ac_ext
73830 cat >>conftest.$ac_ext <<_ACEOF
73831 /* end confdefs.h.  */
73832 #include <stdlib.h>
73833 int
73834 main ()
73835 {
73836  strtof(0, 0);
73837   ;
73838   return 0;
73839 }
73840 _ACEOF
73841 rm -f conftest.$ac_objext
73842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73843   (eval $ac_compile) 2>conftest.er1
73844   ac_status=$?
73845   grep -v '^ *+' conftest.er1 >conftest.err
73846   rm -f conftest.er1
73847   cat conftest.err >&5
73848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73849   (exit $ac_status); } &&
73850          { ac_try='test -z "$ac_cxx_werror_flag"
73851                          || test ! -s conftest.err'
73852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73853   (eval $ac_try) 2>&5
73854   ac_status=$?
73855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73856   (exit $ac_status); }; } &&
73857          { ac_try='test -s conftest.$ac_objext'
73858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73859   (eval $ac_try) 2>&5
73860   ac_status=$?
73861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73862   (exit $ac_status); }; }; then
73863   glibcxx_cv_func_strtof_use=yes
73864 else
73865   echo "$as_me: failed program was:" >&5
73866 sed 's/^/| /' conftest.$ac_ext >&5
73867
73868 glibcxx_cv_func_strtof_use=no
73869 fi
73870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73871       ac_ext=c
73872 ac_cpp='$CPP $CPPFLAGS'
73873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73876
73877
73878 fi
73879
73880   fi
73881   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73882 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73883   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73884
73885 for ac_func in strtof
73886 do
73887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73888 echo "$as_me:$LINENO: checking for $ac_func" >&5
73889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73890 if eval "test \"\${$as_ac_var+set}\" = set"; then
73891   echo $ECHO_N "(cached) $ECHO_C" >&6
73892 else
73893   if test x$gcc_no_link = xyes; then
73894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73896    { (exit 1); exit 1; }; }
73897 fi
73898 cat >conftest.$ac_ext <<_ACEOF
73899 /* confdefs.h.  */
73900 _ACEOF
73901 cat confdefs.h >>conftest.$ac_ext
73902 cat >>conftest.$ac_ext <<_ACEOF
73903 /* end confdefs.h.  */
73904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73906 #define $ac_func innocuous_$ac_func
73907
73908 /* System header to define __stub macros and hopefully few prototypes,
73909     which can conflict with char $ac_func (); below.
73910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73911     <limits.h> exists even on freestanding compilers.  */
73912
73913 #ifdef __STDC__
73914 # include <limits.h>
73915 #else
73916 # include <assert.h>
73917 #endif
73918
73919 #undef $ac_func
73920
73921 /* Override any gcc2 internal prototype to avoid an error.  */
73922 #ifdef __cplusplus
73923 extern "C"
73924 {
73925 #endif
73926 /* We use char because int might match the return type of a gcc2
73927    builtin and then its argument prototype would still apply.  */
73928 char $ac_func ();
73929 /* The GNU C library defines this for functions which it implements
73930     to always fail with ENOSYS.  Some functions are actually named
73931     something starting with __ and the normal name is an alias.  */
73932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73933 choke me
73934 #else
73935 char (*f) () = $ac_func;
73936 #endif
73937 #ifdef __cplusplus
73938 }
73939 #endif
73940
73941 int
73942 main ()
73943 {
73944 return f != $ac_func;
73945   ;
73946   return 0;
73947 }
73948 _ACEOF
73949 rm -f conftest.$ac_objext conftest$ac_exeext
73950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73951   (eval $ac_link) 2>conftest.er1
73952   ac_status=$?
73953   grep -v '^ *+' conftest.er1 >conftest.err
73954   rm -f conftest.er1
73955   cat conftest.err >&5
73956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73957   (exit $ac_status); } &&
73958          { ac_try='test -z "$ac_c_werror_flag"
73959                          || test ! -s conftest.err'
73960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73961   (eval $ac_try) 2>&5
73962   ac_status=$?
73963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73964   (exit $ac_status); }; } &&
73965          { ac_try='test -s conftest$ac_exeext'
73966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73967   (eval $ac_try) 2>&5
73968   ac_status=$?
73969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73970   (exit $ac_status); }; }; then
73971   eval "$as_ac_var=yes"
73972 else
73973   echo "$as_me: failed program was:" >&5
73974 sed 's/^/| /' conftest.$ac_ext >&5
73975
73976 eval "$as_ac_var=no"
73977 fi
73978 rm -f conftest.err conftest.$ac_objext \
73979       conftest$ac_exeext conftest.$ac_ext
73980 fi
73981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73983 if test `eval echo '${'$as_ac_var'}'` = yes; then
73984   cat >>confdefs.h <<_ACEOF
73985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73986 _ACEOF
73987
73988 fi
73989 done
73990
73991   fi
73992
73993
73994
73995
73996
73997   CXXFLAGS="$ac_save_CXXFLAGS"
73998
73999
74000   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
74001 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
74002   if test "${glibcxx_cv_S_ISREG+set}" = set; then
74003   echo $ECHO_N "(cached) $ECHO_C" >&6
74004 else
74005
74006     if test x$gcc_no_link = xyes; then
74007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74009    { (exit 1); exit 1; }; }
74010 fi
74011 cat >conftest.$ac_ext <<_ACEOF
74012 /* confdefs.h.  */
74013 _ACEOF
74014 cat confdefs.h >>conftest.$ac_ext
74015 cat >>conftest.$ac_ext <<_ACEOF
74016 /* end confdefs.h.  */
74017 #include <sys/stat.h>
74018 int
74019 main ()
74020 {
74021 struct stat buffer;
74022        fstat(0, &buffer);
74023        S_ISREG(buffer.st_mode);
74024   ;
74025   return 0;
74026 }
74027 _ACEOF
74028 rm -f conftest.$ac_objext conftest$ac_exeext
74029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74030   (eval $ac_link) 2>conftest.er1
74031   ac_status=$?
74032   grep -v '^ *+' conftest.er1 >conftest.err
74033   rm -f conftest.er1
74034   cat conftest.err >&5
74035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74036   (exit $ac_status); } &&
74037          { ac_try='test -z "$ac_c_werror_flag"
74038                          || test ! -s conftest.err'
74039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74040   (eval $ac_try) 2>&5
74041   ac_status=$?
74042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74043   (exit $ac_status); }; } &&
74044          { ac_try='test -s conftest$ac_exeext'
74045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74046   (eval $ac_try) 2>&5
74047   ac_status=$?
74048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74049   (exit $ac_status); }; }; then
74050   glibcxx_cv_S_ISREG=yes
74051 else
74052   echo "$as_me: failed program was:" >&5
74053 sed 's/^/| /' conftest.$ac_ext >&5
74054
74055 glibcxx_cv_S_ISREG=no
74056 fi
74057 rm -f conftest.err conftest.$ac_objext \
74058       conftest$ac_exeext conftest.$ac_ext
74059
74060 fi
74061
74062   if test "${glibcxx_cv_S_IFREG+set}" = set; then
74063   echo $ECHO_N "(cached) $ECHO_C" >&6
74064 else
74065
74066     if test x$gcc_no_link = xyes; then
74067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74069    { (exit 1); exit 1; }; }
74070 fi
74071 cat >conftest.$ac_ext <<_ACEOF
74072 /* confdefs.h.  */
74073 _ACEOF
74074 cat confdefs.h >>conftest.$ac_ext
74075 cat >>conftest.$ac_ext <<_ACEOF
74076 /* end confdefs.h.  */
74077 #include <sys/stat.h>
74078 int
74079 main ()
74080 {
74081 struct stat buffer;
74082        fstat(0, &buffer);
74083        S_IFREG & buffer.st_mode;
74084   ;
74085   return 0;
74086 }
74087 _ACEOF
74088 rm -f conftest.$ac_objext conftest$ac_exeext
74089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74090   (eval $ac_link) 2>conftest.er1
74091   ac_status=$?
74092   grep -v '^ *+' conftest.er1 >conftest.err
74093   rm -f conftest.er1
74094   cat conftest.err >&5
74095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74096   (exit $ac_status); } &&
74097          { ac_try='test -z "$ac_c_werror_flag"
74098                          || test ! -s conftest.err'
74099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74100   (eval $ac_try) 2>&5
74101   ac_status=$?
74102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74103   (exit $ac_status); }; } &&
74104          { ac_try='test -s conftest$ac_exeext'
74105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74106   (eval $ac_try) 2>&5
74107   ac_status=$?
74108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74109   (exit $ac_status); }; }; then
74110   glibcxx_cv_S_IFREG=yes
74111 else
74112   echo "$as_me: failed program was:" >&5
74113 sed 's/^/| /' conftest.$ac_ext >&5
74114
74115 glibcxx_cv_S_IFREG=no
74116 fi
74117 rm -f conftest.err conftest.$ac_objext \
74118       conftest$ac_exeext conftest.$ac_ext
74119
74120 fi
74121
74122   res=no
74123   if test $glibcxx_cv_S_ISREG = yes; then
74124
74125 cat >>confdefs.h <<\_ACEOF
74126 #define HAVE_S_ISREG 1
74127 _ACEOF
74128
74129     res=S_ISREG
74130   elif test $glibcxx_cv_S_IFREG = yes; then
74131
74132 cat >>confdefs.h <<\_ACEOF
74133 #define HAVE_S_IFREG 1
74134 _ACEOF
74135
74136     res=S_IFREG
74137   fi
74138   echo "$as_me:$LINENO: result: $res" >&5
74139 echo "${ECHO_T}$res" >&6
74140
74141     cat >>confdefs.h <<\_ACEOF
74142 #define HAVE_WRITEV 1
74143 _ACEOF
74144
74145     ;;
74146
74147   *-freebsd*)
74148
74149
74150
74151
74152
74153
74154
74155
74156
74157
74158
74159
74160
74161
74162
74163
74164 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74165       machine/endian.h machine/param.h sys/machine.h sys/types.h \
74166       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74167       sys/time.h unistd.h
74168 do
74169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74171   echo "$as_me:$LINENO: checking for $ac_header" >&5
74172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74174   echo $ECHO_N "(cached) $ECHO_C" >&6
74175 fi
74176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74178 else
74179   # Is the header compilable?
74180 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74182 cat >conftest.$ac_ext <<_ACEOF
74183 /* confdefs.h.  */
74184 _ACEOF
74185 cat confdefs.h >>conftest.$ac_ext
74186 cat >>conftest.$ac_ext <<_ACEOF
74187 /* end confdefs.h.  */
74188 $ac_includes_default
74189 #include <$ac_header>
74190 _ACEOF
74191 rm -f conftest.$ac_objext
74192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74193   (eval $ac_compile) 2>conftest.er1
74194   ac_status=$?
74195   grep -v '^ *+' conftest.er1 >conftest.err
74196   rm -f conftest.er1
74197   cat conftest.err >&5
74198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74199   (exit $ac_status); } &&
74200          { ac_try='test -z "$ac_c_werror_flag"
74201                          || test ! -s conftest.err'
74202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74203   (eval $ac_try) 2>&5
74204   ac_status=$?
74205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74206   (exit $ac_status); }; } &&
74207          { ac_try='test -s conftest.$ac_objext'
74208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74209   (eval $ac_try) 2>&5
74210   ac_status=$?
74211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74212   (exit $ac_status); }; }; then
74213   ac_header_compiler=yes
74214 else
74215   echo "$as_me: failed program was:" >&5
74216 sed 's/^/| /' conftest.$ac_ext >&5
74217
74218 ac_header_compiler=no
74219 fi
74220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74222 echo "${ECHO_T}$ac_header_compiler" >&6
74223
74224 # Is the header present?
74225 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74227 cat >conftest.$ac_ext <<_ACEOF
74228 /* confdefs.h.  */
74229 _ACEOF
74230 cat confdefs.h >>conftest.$ac_ext
74231 cat >>conftest.$ac_ext <<_ACEOF
74232 /* end confdefs.h.  */
74233 #include <$ac_header>
74234 _ACEOF
74235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74236   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74237   ac_status=$?
74238   grep -v '^ *+' conftest.er1 >conftest.err
74239   rm -f conftest.er1
74240   cat conftest.err >&5
74241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74242   (exit $ac_status); } >/dev/null; then
74243   if test -s conftest.err; then
74244     ac_cpp_err=$ac_c_preproc_warn_flag
74245     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74246   else
74247     ac_cpp_err=
74248   fi
74249 else
74250   ac_cpp_err=yes
74251 fi
74252 if test -z "$ac_cpp_err"; then
74253   ac_header_preproc=yes
74254 else
74255   echo "$as_me: failed program was:" >&5
74256 sed 's/^/| /' conftest.$ac_ext >&5
74257
74258   ac_header_preproc=no
74259 fi
74260 rm -f conftest.err conftest.$ac_ext
74261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74262 echo "${ECHO_T}$ac_header_preproc" >&6
74263
74264 # So?  What about this header?
74265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74266   yes:no: )
74267     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74268 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74269     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74270 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74271     ac_header_preproc=yes
74272     ;;
74273   no:yes:* )
74274     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74276     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
74277 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
74278     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74279 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74280     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
74281 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
74282     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74284     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74285 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74286     (
74287       cat <<\_ASBOX
74288 ## ----------------------------------------- ##
74289 ## Report this to the package-unused lists.  ##
74290 ## ----------------------------------------- ##
74291 _ASBOX
74292     ) |
74293       sed "s/^/$as_me: WARNING:     /" >&2
74294     ;;
74295 esac
74296 echo "$as_me:$LINENO: checking for $ac_header" >&5
74297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74299   echo $ECHO_N "(cached) $ECHO_C" >&6
74300 else
74301   eval "$as_ac_Header=\$ac_header_preproc"
74302 fi
74303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74305
74306 fi
74307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74308   cat >>confdefs.h <<_ACEOF
74309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74310 _ACEOF
74311
74312 fi
74313
74314 done
74315
74316     SECTION_FLAGS='-ffunction-sections -fdata-sections'
74317
74318
74319   # If we're not using GNU ld, then there's no point in even trying these
74320   # tests.  Check for that first.  We should have already tested for gld
74321   # by now (in libtool), but require it now just to be safe...
74322   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74323   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74324
74325
74326
74327   # The name set by libtool depends on the version of libtool.  Shame on us
74328   # for depending on an impl detail, but c'est la vie.  Older versions used
74329   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74330   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74331   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
74332   # set (hence we're using an older libtool), then set it.
74333   if test x${with_gnu_ld+set} != xset; then
74334     if test x${ac_cv_prog_gnu_ld+set} != xset; then
74335       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
74336       with_gnu_ld=no
74337     else
74338       with_gnu_ld=$ac_cv_prog_gnu_ld
74339     fi
74340   fi
74341
74342   # Start by getting the version number.  I think the libtool test already
74343   # does some of this, but throws away the result.
74344
74345   ldver=`$LD --version 2>/dev/null | head -1 | \
74346          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74347
74348   glibcxx_gnu_ld_version=`echo $ldver | \
74349          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74350
74351   # Set --gc-sections.
74352   if test "$with_gnu_ld" = "notbroken"; then
74353     # GNU ld it is!  Joy and bunny rabbits!
74354
74355     # All these tests are for C++; save the language and the compiler flags.
74356     # Need to do this so that g++ won't try to link in libstdc++
74357     ac_test_CFLAGS="${CFLAGS+set}"
74358     ac_save_CFLAGS="$CFLAGS"
74359     CFLAGS='-x c++  -Wl,--gc-sections'
74360
74361     # Check for -Wl,--gc-sections
74362     # XXX This test is broken at the moment, as symbols required for linking
74363     # are now in libsupc++ (not built yet).  In addition, this test has
74364     # cored on solaris in the past.  In addition, --gc-sections doesn't
74365     # really work at the moment (keeps on discarding used sections, first
74366     # .eh_frame and now some of the glibc sections for iconv).
74367     # Bzzzzt.  Thanks for playing, maybe next time.
74368     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74369 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74370     if test "$cross_compiling" = yes; then
74371   ac_sectionLDflags=yes
74372 else
74373   cat >conftest.$ac_ext <<_ACEOF
74374 /* confdefs.h.  */
74375 _ACEOF
74376 cat confdefs.h >>conftest.$ac_ext
74377 cat >>conftest.$ac_ext <<_ACEOF
74378 /* end confdefs.h.  */
74379
74380      int main(void)
74381      {
74382        try { throw 1; }
74383        catch (...) { };
74384        return 0;
74385      }
74386
74387 _ACEOF
74388 rm -f conftest$ac_exeext
74389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74390   (eval $ac_link) 2>&5
74391   ac_status=$?
74392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74393   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74395   (eval $ac_try) 2>&5
74396   ac_status=$?
74397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74398   (exit $ac_status); }; }; then
74399   ac_sectionLDflags=yes
74400 else
74401   echo "$as_me: program exited with status $ac_status" >&5
74402 echo "$as_me: failed program was:" >&5
74403 sed 's/^/| /' conftest.$ac_ext >&5
74404
74405 ( exit $ac_status )
74406 ac_sectionLDflags=no
74407 fi
74408 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74409 fi
74410     if test "$ac_test_CFLAGS" = set; then
74411       CFLAGS="$ac_save_CFLAGS"
74412     else
74413       # this is the suspicious part
74414       CFLAGS=''
74415     fi
74416     if test "$ac_sectionLDflags" = "yes"; then
74417       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74418     fi
74419     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74420 echo "${ECHO_T}$ac_sectionLDflags" >&6
74421   fi
74422
74423   # Set linker optimization flags.
74424   if test x"$with_gnu_ld" = x"yes"; then
74425     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74426   fi
74427
74428
74429
74430
74431
74432
74433 echo "$as_me:$LINENO: checking for main in -lm" >&5
74434 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74435 if test "${ac_cv_lib_m_main+set}" = set; then
74436   echo $ECHO_N "(cached) $ECHO_C" >&6
74437 else
74438   ac_check_lib_save_LIBS=$LIBS
74439 LIBS="-lm  $LIBS"
74440 if test x$gcc_no_link = xyes; then
74441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74443    { (exit 1); exit 1; }; }
74444 fi
74445 cat >conftest.$ac_ext <<_ACEOF
74446 /* confdefs.h.  */
74447 _ACEOF
74448 cat confdefs.h >>conftest.$ac_ext
74449 cat >>conftest.$ac_ext <<_ACEOF
74450 /* end confdefs.h.  */
74451
74452
74453 int
74454 main ()
74455 {
74456 main ();
74457   ;
74458   return 0;
74459 }
74460 _ACEOF
74461 rm -f conftest.$ac_objext conftest$ac_exeext
74462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74463   (eval $ac_link) 2>conftest.er1
74464   ac_status=$?
74465   grep -v '^ *+' conftest.er1 >conftest.err
74466   rm -f conftest.er1
74467   cat conftest.err >&5
74468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74469   (exit $ac_status); } &&
74470          { ac_try='test -z "$ac_c_werror_flag"
74471                          || test ! -s conftest.err'
74472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74473   (eval $ac_try) 2>&5
74474   ac_status=$?
74475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74476   (exit $ac_status); }; } &&
74477          { ac_try='test -s conftest$ac_exeext'
74478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74479   (eval $ac_try) 2>&5
74480   ac_status=$?
74481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74482   (exit $ac_status); }; }; then
74483   ac_cv_lib_m_main=yes
74484 else
74485   echo "$as_me: failed program was:" >&5
74486 sed 's/^/| /' conftest.$ac_ext >&5
74487
74488 ac_cv_lib_m_main=no
74489 fi
74490 rm -f conftest.err conftest.$ac_objext \
74491       conftest$ac_exeext conftest.$ac_ext
74492 LIBS=$ac_check_lib_save_LIBS
74493 fi
74494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74495 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74496 if test $ac_cv_lib_m_main = yes; then
74497   cat >>confdefs.h <<_ACEOF
74498 #define HAVE_LIBM 1
74499 _ACEOF
74500
74501   LIBS="-lm $LIBS"
74502
74503 fi
74504
74505
74506 for ac_func in copysignf
74507 do
74508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74509 echo "$as_me:$LINENO: checking for $ac_func" >&5
74510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74511 if eval "test \"\${$as_ac_var+set}\" = set"; then
74512   echo $ECHO_N "(cached) $ECHO_C" >&6
74513 else
74514   if test x$gcc_no_link = xyes; then
74515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74517    { (exit 1); exit 1; }; }
74518 fi
74519 cat >conftest.$ac_ext <<_ACEOF
74520 /* confdefs.h.  */
74521 _ACEOF
74522 cat confdefs.h >>conftest.$ac_ext
74523 cat >>conftest.$ac_ext <<_ACEOF
74524 /* end confdefs.h.  */
74525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74527 #define $ac_func innocuous_$ac_func
74528
74529 /* System header to define __stub macros and hopefully few prototypes,
74530     which can conflict with char $ac_func (); below.
74531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74532     <limits.h> exists even on freestanding compilers.  */
74533
74534 #ifdef __STDC__
74535 # include <limits.h>
74536 #else
74537 # include <assert.h>
74538 #endif
74539
74540 #undef $ac_func
74541
74542 /* Override any gcc2 internal prototype to avoid an error.  */
74543 #ifdef __cplusplus
74544 extern "C"
74545 {
74546 #endif
74547 /* We use char because int might match the return type of a gcc2
74548    builtin and then its argument prototype would still apply.  */
74549 char $ac_func ();
74550 /* The GNU C library defines this for functions which it implements
74551     to always fail with ENOSYS.  Some functions are actually named
74552     something starting with __ and the normal name is an alias.  */
74553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74554 choke me
74555 #else
74556 char (*f) () = $ac_func;
74557 #endif
74558 #ifdef __cplusplus
74559 }
74560 #endif
74561
74562 int
74563 main ()
74564 {
74565 return f != $ac_func;
74566   ;
74567   return 0;
74568 }
74569 _ACEOF
74570 rm -f conftest.$ac_objext conftest$ac_exeext
74571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74572   (eval $ac_link) 2>conftest.er1
74573   ac_status=$?
74574   grep -v '^ *+' conftest.er1 >conftest.err
74575   rm -f conftest.er1
74576   cat conftest.err >&5
74577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74578   (exit $ac_status); } &&
74579          { ac_try='test -z "$ac_c_werror_flag"
74580                          || test ! -s conftest.err'
74581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74582   (eval $ac_try) 2>&5
74583   ac_status=$?
74584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74585   (exit $ac_status); }; } &&
74586          { ac_try='test -s conftest$ac_exeext'
74587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74588   (eval $ac_try) 2>&5
74589   ac_status=$?
74590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74591   (exit $ac_status); }; }; then
74592   eval "$as_ac_var=yes"
74593 else
74594   echo "$as_me: failed program was:" >&5
74595 sed 's/^/| /' conftest.$ac_ext >&5
74596
74597 eval "$as_ac_var=no"
74598 fi
74599 rm -f conftest.err conftest.$ac_objext \
74600       conftest$ac_exeext conftest.$ac_ext
74601 fi
74602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74604 if test `eval echo '${'$as_ac_var'}'` = yes; then
74605   cat >>confdefs.h <<_ACEOF
74606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74607 _ACEOF
74608
74609 else
74610   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74611 fi
74612 done
74613
74614
74615
74616 for ac_func in __signbit
74617 do
74618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74619 echo "$as_me:$LINENO: checking for $ac_func" >&5
74620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74621 if eval "test \"\${$as_ac_var+set}\" = set"; then
74622   echo $ECHO_N "(cached) $ECHO_C" >&6
74623 else
74624   if test x$gcc_no_link = xyes; then
74625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74627    { (exit 1); exit 1; }; }
74628 fi
74629 cat >conftest.$ac_ext <<_ACEOF
74630 /* confdefs.h.  */
74631 _ACEOF
74632 cat confdefs.h >>conftest.$ac_ext
74633 cat >>conftest.$ac_ext <<_ACEOF
74634 /* end confdefs.h.  */
74635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74637 #define $ac_func innocuous_$ac_func
74638
74639 /* System header to define __stub macros and hopefully few prototypes,
74640     which can conflict with char $ac_func (); below.
74641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74642     <limits.h> exists even on freestanding compilers.  */
74643
74644 #ifdef __STDC__
74645 # include <limits.h>
74646 #else
74647 # include <assert.h>
74648 #endif
74649
74650 #undef $ac_func
74651
74652 /* Override any gcc2 internal prototype to avoid an error.  */
74653 #ifdef __cplusplus
74654 extern "C"
74655 {
74656 #endif
74657 /* We use char because int might match the return type of a gcc2
74658    builtin and then its argument prototype would still apply.  */
74659 char $ac_func ();
74660 /* The GNU C library defines this for functions which it implements
74661     to always fail with ENOSYS.  Some functions are actually named
74662     something starting with __ and the normal name is an alias.  */
74663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74664 choke me
74665 #else
74666 char (*f) () = $ac_func;
74667 #endif
74668 #ifdef __cplusplus
74669 }
74670 #endif
74671
74672 int
74673 main ()
74674 {
74675 return f != $ac_func;
74676   ;
74677   return 0;
74678 }
74679 _ACEOF
74680 rm -f conftest.$ac_objext conftest$ac_exeext
74681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74682   (eval $ac_link) 2>conftest.er1
74683   ac_status=$?
74684   grep -v '^ *+' conftest.er1 >conftest.err
74685   rm -f conftest.er1
74686   cat conftest.err >&5
74687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74688   (exit $ac_status); } &&
74689          { ac_try='test -z "$ac_c_werror_flag"
74690                          || test ! -s conftest.err'
74691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74692   (eval $ac_try) 2>&5
74693   ac_status=$?
74694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74695   (exit $ac_status); }; } &&
74696          { ac_try='test -s conftest$ac_exeext'
74697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74698   (eval $ac_try) 2>&5
74699   ac_status=$?
74700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74701   (exit $ac_status); }; }; then
74702   eval "$as_ac_var=yes"
74703 else
74704   echo "$as_me: failed program was:" >&5
74705 sed 's/^/| /' conftest.$ac_ext >&5
74706
74707 eval "$as_ac_var=no"
74708 fi
74709 rm -f conftest.err conftest.$ac_objext \
74710       conftest$ac_exeext conftest.$ac_ext
74711 fi
74712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74714 if test `eval echo '${'$as_ac_var'}'` = yes; then
74715   cat >>confdefs.h <<_ACEOF
74716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74717 _ACEOF
74718
74719 else
74720   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74721 fi
74722 done
74723
74724
74725
74726 for ac_func in __signbitf
74727 do
74728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74729 echo "$as_me:$LINENO: checking for $ac_func" >&5
74730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74731 if eval "test \"\${$as_ac_var+set}\" = set"; then
74732   echo $ECHO_N "(cached) $ECHO_C" >&6
74733 else
74734   if test x$gcc_no_link = xyes; then
74735   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74737    { (exit 1); exit 1; }; }
74738 fi
74739 cat >conftest.$ac_ext <<_ACEOF
74740 /* confdefs.h.  */
74741 _ACEOF
74742 cat confdefs.h >>conftest.$ac_ext
74743 cat >>conftest.$ac_ext <<_ACEOF
74744 /* end confdefs.h.  */
74745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74747 #define $ac_func innocuous_$ac_func
74748
74749 /* System header to define __stub macros and hopefully few prototypes,
74750     which can conflict with char $ac_func (); below.
74751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74752     <limits.h> exists even on freestanding compilers.  */
74753
74754 #ifdef __STDC__
74755 # include <limits.h>
74756 #else
74757 # include <assert.h>
74758 #endif
74759
74760 #undef $ac_func
74761
74762 /* Override any gcc2 internal prototype to avoid an error.  */
74763 #ifdef __cplusplus
74764 extern "C"
74765 {
74766 #endif
74767 /* We use char because int might match the return type of a gcc2
74768    builtin and then its argument prototype would still apply.  */
74769 char $ac_func ();
74770 /* The GNU C library defines this for functions which it implements
74771     to always fail with ENOSYS.  Some functions are actually named
74772     something starting with __ and the normal name is an alias.  */
74773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74774 choke me
74775 #else
74776 char (*f) () = $ac_func;
74777 #endif
74778 #ifdef __cplusplus
74779 }
74780 #endif
74781
74782 int
74783 main ()
74784 {
74785 return f != $ac_func;
74786   ;
74787   return 0;
74788 }
74789 _ACEOF
74790 rm -f conftest.$ac_objext conftest$ac_exeext
74791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74792   (eval $ac_link) 2>conftest.er1
74793   ac_status=$?
74794   grep -v '^ *+' conftest.er1 >conftest.err
74795   rm -f conftest.er1
74796   cat conftest.err >&5
74797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74798   (exit $ac_status); } &&
74799          { ac_try='test -z "$ac_c_werror_flag"
74800                          || test ! -s conftest.err'
74801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74802   (eval $ac_try) 2>&5
74803   ac_status=$?
74804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74805   (exit $ac_status); }; } &&
74806          { ac_try='test -s conftest$ac_exeext'
74807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74808   (eval $ac_try) 2>&5
74809   ac_status=$?
74810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74811   (exit $ac_status); }; }; then
74812   eval "$as_ac_var=yes"
74813 else
74814   echo "$as_me: failed program was:" >&5
74815 sed 's/^/| /' conftest.$ac_ext >&5
74816
74817 eval "$as_ac_var=no"
74818 fi
74819 rm -f conftest.err conftest.$ac_objext \
74820       conftest$ac_exeext conftest.$ac_ext
74821 fi
74822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74824 if test `eval echo '${'$as_ac_var'}'` = yes; then
74825   cat >>confdefs.h <<_ACEOF
74826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74827 _ACEOF
74828
74829 else
74830   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74831 fi
74832 done
74833
74834
74835           if test x$ac_cv_func_copysignl = x"yes"; then
74836
74837 for ac_func in __signbitl
74838 do
74839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74840 echo "$as_me:$LINENO: checking for $ac_func" >&5
74841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74842 if eval "test \"\${$as_ac_var+set}\" = set"; then
74843   echo $ECHO_N "(cached) $ECHO_C" >&6
74844 else
74845   if test x$gcc_no_link = xyes; then
74846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74848    { (exit 1); exit 1; }; }
74849 fi
74850 cat >conftest.$ac_ext <<_ACEOF
74851 /* confdefs.h.  */
74852 _ACEOF
74853 cat confdefs.h >>conftest.$ac_ext
74854 cat >>conftest.$ac_ext <<_ACEOF
74855 /* end confdefs.h.  */
74856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74858 #define $ac_func innocuous_$ac_func
74859
74860 /* System header to define __stub macros and hopefully few prototypes,
74861     which can conflict with char $ac_func (); below.
74862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74863     <limits.h> exists even on freestanding compilers.  */
74864
74865 #ifdef __STDC__
74866 # include <limits.h>
74867 #else
74868 # include <assert.h>
74869 #endif
74870
74871 #undef $ac_func
74872
74873 /* Override any gcc2 internal prototype to avoid an error.  */
74874 #ifdef __cplusplus
74875 extern "C"
74876 {
74877 #endif
74878 /* We use char because int might match the return type of a gcc2
74879    builtin and then its argument prototype would still apply.  */
74880 char $ac_func ();
74881 /* The GNU C library defines this for functions which it implements
74882     to always fail with ENOSYS.  Some functions are actually named
74883     something starting with __ and the normal name is an alias.  */
74884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74885 choke me
74886 #else
74887 char (*f) () = $ac_func;
74888 #endif
74889 #ifdef __cplusplus
74890 }
74891 #endif
74892
74893 int
74894 main ()
74895 {
74896 return f != $ac_func;
74897   ;
74898   return 0;
74899 }
74900 _ACEOF
74901 rm -f conftest.$ac_objext conftest$ac_exeext
74902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74903   (eval $ac_link) 2>conftest.er1
74904   ac_status=$?
74905   grep -v '^ *+' conftest.er1 >conftest.err
74906   rm -f conftest.er1
74907   cat conftest.err >&5
74908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74909   (exit $ac_status); } &&
74910          { ac_try='test -z "$ac_c_werror_flag"
74911                          || test ! -s conftest.err'
74912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74913   (eval $ac_try) 2>&5
74914   ac_status=$?
74915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74916   (exit $ac_status); }; } &&
74917          { ac_try='test -s conftest$ac_exeext'
74918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74919   (eval $ac_try) 2>&5
74920   ac_status=$?
74921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74922   (exit $ac_status); }; }; then
74923   eval "$as_ac_var=yes"
74924 else
74925   echo "$as_me: failed program was:" >&5
74926 sed 's/^/| /' conftest.$ac_ext >&5
74927
74928 eval "$as_ac_var=no"
74929 fi
74930 rm -f conftest.err conftest.$ac_objext \
74931       conftest$ac_exeext conftest.$ac_ext
74932 fi
74933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74935 if test `eval echo '${'$as_ac_var'}'` = yes; then
74936   cat >>confdefs.h <<_ACEOF
74937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74938 _ACEOF
74939
74940 else
74941   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74942 fi
74943 done
74944
74945   fi
74946
74947   # Used in libmath/Makefile.am.
74948   if test -n "$LIBMATHOBJS"; then
74949     need_libmath=yes
74950   fi
74951
74952
74953
74954
74955   enable_iconv=no
74956   # Only continue checking if the ISO C99 headers exist and support is on.
74957   if test x"$enable_wchar_t" = xyes; then
74958
74959     # Use iconv for wchar_t to char conversions. As such, check for
74960     # X/Open Portability Guide, version 2 features (XPG2).
74961     if test "${ac_cv_header_iconv_h+set}" = set; then
74962   echo "$as_me:$LINENO: checking for iconv.h" >&5
74963 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74964 if test "${ac_cv_header_iconv_h+set}" = set; then
74965   echo $ECHO_N "(cached) $ECHO_C" >&6
74966 fi
74967 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74968 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74969 else
74970   # Is the header compilable?
74971 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74972 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74973 cat >conftest.$ac_ext <<_ACEOF
74974 /* confdefs.h.  */
74975 _ACEOF
74976 cat confdefs.h >>conftest.$ac_ext
74977 cat >>conftest.$ac_ext <<_ACEOF
74978 /* end confdefs.h.  */
74979 $ac_includes_default
74980 #include <iconv.h>
74981 _ACEOF
74982 rm -f conftest.$ac_objext
74983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74984   (eval $ac_compile) 2>conftest.er1
74985   ac_status=$?
74986   grep -v '^ *+' conftest.er1 >conftest.err
74987   rm -f conftest.er1
74988   cat conftest.err >&5
74989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74990   (exit $ac_status); } &&
74991          { ac_try='test -z "$ac_c_werror_flag"
74992                          || test ! -s conftest.err'
74993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74994   (eval $ac_try) 2>&5
74995   ac_status=$?
74996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74997   (exit $ac_status); }; } &&
74998          { ac_try='test -s conftest.$ac_objext'
74999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75000   (eval $ac_try) 2>&5
75001   ac_status=$?
75002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75003   (exit $ac_status); }; }; then
75004   ac_header_compiler=yes
75005 else
75006   echo "$as_me: failed program was:" >&5
75007 sed 's/^/| /' conftest.$ac_ext >&5
75008
75009 ac_header_compiler=no
75010 fi
75011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75013 echo "${ECHO_T}$ac_header_compiler" >&6
75014
75015 # Is the header present?
75016 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75017 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75018 cat >conftest.$ac_ext <<_ACEOF
75019 /* confdefs.h.  */
75020 _ACEOF
75021 cat confdefs.h >>conftest.$ac_ext
75022 cat >>conftest.$ac_ext <<_ACEOF
75023 /* end confdefs.h.  */
75024 #include <iconv.h>
75025 _ACEOF
75026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75027   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75028   ac_status=$?
75029   grep -v '^ *+' conftest.er1 >conftest.err
75030   rm -f conftest.er1
75031   cat conftest.err >&5
75032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75033   (exit $ac_status); } >/dev/null; then
75034   if test -s conftest.err; then
75035     ac_cpp_err=$ac_c_preproc_warn_flag
75036     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75037   else
75038     ac_cpp_err=
75039   fi
75040 else
75041   ac_cpp_err=yes
75042 fi
75043 if test -z "$ac_cpp_err"; then
75044   ac_header_preproc=yes
75045 else
75046   echo "$as_me: failed program was:" >&5
75047 sed 's/^/| /' conftest.$ac_ext >&5
75048
75049   ac_header_preproc=no
75050 fi
75051 rm -f conftest.err conftest.$ac_ext
75052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75053 echo "${ECHO_T}$ac_header_preproc" >&6
75054
75055 # So?  What about this header?
75056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75057   yes:no: )
75058     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75059 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75060     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75061 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75062     ac_header_preproc=yes
75063     ;;
75064   no:yes:* )
75065     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75066 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75067     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
75068 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
75069     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75070 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75071     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
75072 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
75073     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75074 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75075     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
75076 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
75077     (
75078       cat <<\_ASBOX
75079 ## ----------------------------------------- ##
75080 ## Report this to the package-unused lists.  ##
75081 ## ----------------------------------------- ##
75082 _ASBOX
75083     ) |
75084       sed "s/^/$as_me: WARNING:     /" >&2
75085     ;;
75086 esac
75087 echo "$as_me:$LINENO: checking for iconv.h" >&5
75088 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75089 if test "${ac_cv_header_iconv_h+set}" = set; then
75090   echo $ECHO_N "(cached) $ECHO_C" >&6
75091 else
75092   ac_cv_header_iconv_h=$ac_header_preproc
75093 fi
75094 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75095 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75096
75097 fi
75098 if test $ac_cv_header_iconv_h = yes; then
75099   ac_has_iconv_h=yes
75100 else
75101   ac_has_iconv_h=no
75102 fi
75103
75104
75105     if test "${ac_cv_header_langinfo_h+set}" = set; then
75106   echo "$as_me:$LINENO: checking for langinfo.h" >&5
75107 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75108 if test "${ac_cv_header_langinfo_h+set}" = set; then
75109   echo $ECHO_N "(cached) $ECHO_C" >&6
75110 fi
75111 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75112 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75113 else
75114   # Is the header compilable?
75115 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75116 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75117 cat >conftest.$ac_ext <<_ACEOF
75118 /* confdefs.h.  */
75119 _ACEOF
75120 cat confdefs.h >>conftest.$ac_ext
75121 cat >>conftest.$ac_ext <<_ACEOF
75122 /* end confdefs.h.  */
75123 $ac_includes_default
75124 #include <langinfo.h>
75125 _ACEOF
75126 rm -f conftest.$ac_objext
75127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75128   (eval $ac_compile) 2>conftest.er1
75129   ac_status=$?
75130   grep -v '^ *+' conftest.er1 >conftest.err
75131   rm -f conftest.er1
75132   cat conftest.err >&5
75133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75134   (exit $ac_status); } &&
75135          { ac_try='test -z "$ac_c_werror_flag"
75136                          || test ! -s conftest.err'
75137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75138   (eval $ac_try) 2>&5
75139   ac_status=$?
75140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75141   (exit $ac_status); }; } &&
75142          { ac_try='test -s conftest.$ac_objext'
75143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75144   (eval $ac_try) 2>&5
75145   ac_status=$?
75146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75147   (exit $ac_status); }; }; then
75148   ac_header_compiler=yes
75149 else
75150   echo "$as_me: failed program was:" >&5
75151 sed 's/^/| /' conftest.$ac_ext >&5
75152
75153 ac_header_compiler=no
75154 fi
75155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75157 echo "${ECHO_T}$ac_header_compiler" >&6
75158
75159 # Is the header present?
75160 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75161 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75162 cat >conftest.$ac_ext <<_ACEOF
75163 /* confdefs.h.  */
75164 _ACEOF
75165 cat confdefs.h >>conftest.$ac_ext
75166 cat >>conftest.$ac_ext <<_ACEOF
75167 /* end confdefs.h.  */
75168 #include <langinfo.h>
75169 _ACEOF
75170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75171   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75172   ac_status=$?
75173   grep -v '^ *+' conftest.er1 >conftest.err
75174   rm -f conftest.er1
75175   cat conftest.err >&5
75176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75177   (exit $ac_status); } >/dev/null; then
75178   if test -s conftest.err; then
75179     ac_cpp_err=$ac_c_preproc_warn_flag
75180     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75181   else
75182     ac_cpp_err=
75183   fi
75184 else
75185   ac_cpp_err=yes
75186 fi
75187 if test -z "$ac_cpp_err"; then
75188   ac_header_preproc=yes
75189 else
75190   echo "$as_me: failed program was:" >&5
75191 sed 's/^/| /' conftest.$ac_ext >&5
75192
75193   ac_header_preproc=no
75194 fi
75195 rm -f conftest.err conftest.$ac_ext
75196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75197 echo "${ECHO_T}$ac_header_preproc" >&6
75198
75199 # So?  What about this header?
75200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75201   yes:no: )
75202     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75203 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75204     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75205 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75206     ac_header_preproc=yes
75207     ;;
75208   no:yes:* )
75209     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75210 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75211     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
75212 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
75213     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75214 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75215     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
75216 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
75217     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75218 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75219     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75220 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75221     (
75222       cat <<\_ASBOX
75223 ## ----------------------------------------- ##
75224 ## Report this to the package-unused lists.  ##
75225 ## ----------------------------------------- ##
75226 _ASBOX
75227     ) |
75228       sed "s/^/$as_me: WARNING:     /" >&2
75229     ;;
75230 esac
75231 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75232 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75233 if test "${ac_cv_header_langinfo_h+set}" = set; then
75234   echo $ECHO_N "(cached) $ECHO_C" >&6
75235 else
75236   ac_cv_header_langinfo_h=$ac_header_preproc
75237 fi
75238 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75239 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75240
75241 fi
75242 if test $ac_cv_header_langinfo_h = yes; then
75243   ac_has_langinfo_h=yes
75244 else
75245   ac_has_langinfo_h=no
75246 fi
75247
75248
75249
75250     # Check for existence of libiconv.a providing XPG2 wchar_t support.
75251     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75252 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75253 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75254   echo $ECHO_N "(cached) $ECHO_C" >&6
75255 else
75256   ac_check_lib_save_LIBS=$LIBS
75257 LIBS="-liconv  $LIBS"
75258 if test x$gcc_no_link = xyes; then
75259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75261    { (exit 1); exit 1; }; }
75262 fi
75263 cat >conftest.$ac_ext <<_ACEOF
75264 /* confdefs.h.  */
75265 _ACEOF
75266 cat confdefs.h >>conftest.$ac_ext
75267 cat >>conftest.$ac_ext <<_ACEOF
75268 /* end confdefs.h.  */
75269
75270 /* Override any gcc2 internal prototype to avoid an error.  */
75271 #ifdef __cplusplus
75272 extern "C"
75273 #endif
75274 /* We use char because int might match the return type of a gcc2
75275    builtin and then its argument prototype would still apply.  */
75276 char iconv ();
75277 int
75278 main ()
75279 {
75280 iconv ();
75281   ;
75282   return 0;
75283 }
75284 _ACEOF
75285 rm -f conftest.$ac_objext conftest$ac_exeext
75286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75287   (eval $ac_link) 2>conftest.er1
75288   ac_status=$?
75289   grep -v '^ *+' conftest.er1 >conftest.err
75290   rm -f conftest.er1
75291   cat conftest.err >&5
75292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75293   (exit $ac_status); } &&
75294          { ac_try='test -z "$ac_c_werror_flag"
75295                          || test ! -s conftest.err'
75296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75297   (eval $ac_try) 2>&5
75298   ac_status=$?
75299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75300   (exit $ac_status); }; } &&
75301          { ac_try='test -s conftest$ac_exeext'
75302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75303   (eval $ac_try) 2>&5
75304   ac_status=$?
75305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75306   (exit $ac_status); }; }; then
75307   ac_cv_lib_iconv_iconv=yes
75308 else
75309   echo "$as_me: failed program was:" >&5
75310 sed 's/^/| /' conftest.$ac_ext >&5
75311
75312 ac_cv_lib_iconv_iconv=no
75313 fi
75314 rm -f conftest.err conftest.$ac_objext \
75315       conftest$ac_exeext conftest.$ac_ext
75316 LIBS=$ac_check_lib_save_LIBS
75317 fi
75318 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75319 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75320 if test $ac_cv_lib_iconv_iconv = yes; then
75321   LIBICONV="-liconv"
75322 fi
75323
75324     ac_save_LIBS="$LIBS"
75325     LIBS="$LIBS $LIBICONV"
75326
75327
75328
75329
75330
75331
75332 for ac_func in iconv_open iconv_close iconv nl_langinfo
75333 do
75334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75335 echo "$as_me:$LINENO: checking for $ac_func" >&5
75336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75337 if eval "test \"\${$as_ac_var+set}\" = set"; then
75338   echo $ECHO_N "(cached) $ECHO_C" >&6
75339 else
75340   if test x$gcc_no_link = xyes; then
75341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75343    { (exit 1); exit 1; }; }
75344 fi
75345 cat >conftest.$ac_ext <<_ACEOF
75346 /* confdefs.h.  */
75347 _ACEOF
75348 cat confdefs.h >>conftest.$ac_ext
75349 cat >>conftest.$ac_ext <<_ACEOF
75350 /* end confdefs.h.  */
75351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75353 #define $ac_func innocuous_$ac_func
75354
75355 /* System header to define __stub macros and hopefully few prototypes,
75356     which can conflict with char $ac_func (); below.
75357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75358     <limits.h> exists even on freestanding compilers.  */
75359
75360 #ifdef __STDC__
75361 # include <limits.h>
75362 #else
75363 # include <assert.h>
75364 #endif
75365
75366 #undef $ac_func
75367
75368 /* Override any gcc2 internal prototype to avoid an error.  */
75369 #ifdef __cplusplus
75370 extern "C"
75371 {
75372 #endif
75373 /* We use char because int might match the return type of a gcc2
75374    builtin and then its argument prototype would still apply.  */
75375 char $ac_func ();
75376 /* The GNU C library defines this for functions which it implements
75377     to always fail with ENOSYS.  Some functions are actually named
75378     something starting with __ and the normal name is an alias.  */
75379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75380 choke me
75381 #else
75382 char (*f) () = $ac_func;
75383 #endif
75384 #ifdef __cplusplus
75385 }
75386 #endif
75387
75388 int
75389 main ()
75390 {
75391 return f != $ac_func;
75392   ;
75393   return 0;
75394 }
75395 _ACEOF
75396 rm -f conftest.$ac_objext conftest$ac_exeext
75397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75398   (eval $ac_link) 2>conftest.er1
75399   ac_status=$?
75400   grep -v '^ *+' conftest.er1 >conftest.err
75401   rm -f conftest.er1
75402   cat conftest.err >&5
75403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75404   (exit $ac_status); } &&
75405          { ac_try='test -z "$ac_c_werror_flag"
75406                          || test ! -s conftest.err'
75407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75408   (eval $ac_try) 2>&5
75409   ac_status=$?
75410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75411   (exit $ac_status); }; } &&
75412          { ac_try='test -s conftest$ac_exeext'
75413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75414   (eval $ac_try) 2>&5
75415   ac_status=$?
75416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75417   (exit $ac_status); }; }; then
75418   eval "$as_ac_var=yes"
75419 else
75420   echo "$as_me: failed program was:" >&5
75421 sed 's/^/| /' conftest.$ac_ext >&5
75422
75423 eval "$as_ac_var=no"
75424 fi
75425 rm -f conftest.err conftest.$ac_objext \
75426       conftest$ac_exeext conftest.$ac_ext
75427 fi
75428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75430 if test `eval echo '${'$as_ac_var'}'` = yes; then
75431   cat >>confdefs.h <<_ACEOF
75432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75433 _ACEOF
75434  ac_XPG2funcs=yes
75435 else
75436   ac_XPG2funcs=no
75437 fi
75438 done
75439
75440
75441     LIBS="$ac_save_LIBS"
75442
75443     if test x"$ac_has_iconv_h" = xyes &&
75444        test x"$ac_has_langinfo_h" = xyes &&
75445        test x"$ac_XPG2funcs" = xyes;
75446     then
75447
75448 cat >>confdefs.h <<\_ACEOF
75449 #define _GLIBCXX_USE_ICONV 1
75450 _ACEOF
75451
75452       enable_iconv=yes
75453     fi
75454   fi
75455   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75456 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75457   echo "$as_me:$LINENO: result: $enable_iconv" >&5
75458 echo "${ECHO_T}$enable_iconv" >&6
75459
75460     cat >>confdefs.h <<\_ACEOF
75461 #define HAVE_LC_MESSAGES 1
75462 _ACEOF
75463
75464     cat >>confdefs.h <<\_ACEOF
75465 #define HAVE_GETPAGESIZE 1
75466 _ACEOF
75467
75468     cat >>confdefs.h <<\_ACEOF
75469 #define HAVE_SETENV 1
75470 _ACEOF
75471
75472     cat >>confdefs.h <<\_ACEOF
75473 #define HAVE_SIGSETJMP 1
75474 _ACEOF
75475
75476     cat >>confdefs.h <<\_ACEOF
75477 #define HAVE_COPYSIGN 1
75478 _ACEOF
75479
75480     cat >>confdefs.h <<\_ACEOF
75481 #define HAVE_COPYSIGNF 1
75482 _ACEOF
75483
75484     cat >>confdefs.h <<\_ACEOF
75485 #define HAVE_FINITEF 1
75486 _ACEOF
75487
75488     cat >>confdefs.h <<\_ACEOF
75489 #define HAVE_FINITE 1
75490 _ACEOF
75491
75492     cat >>confdefs.h <<\_ACEOF
75493 #define HAVE_FREXPF 1
75494 _ACEOF
75495
75496     cat >>confdefs.h <<\_ACEOF
75497 #define HAVE_HYPOT 1
75498 _ACEOF
75499
75500     cat >>confdefs.h <<\_ACEOF
75501 #define HAVE_HYPOTF 1
75502 _ACEOF
75503
75504     cat >>confdefs.h <<\_ACEOF
75505 #define HAVE_ISINF 1
75506 _ACEOF
75507
75508     cat >>confdefs.h <<\_ACEOF
75509 #define HAVE_ISNAN 1
75510 _ACEOF
75511
75512     cat >>confdefs.h <<\_ACEOF
75513 #define HAVE_ISNANF 1
75514 _ACEOF
75515
75516
75517     cat >>confdefs.h <<\_ACEOF
75518 #define HAVE_MMAP 1
75519 _ACEOF
75520
75521     cat >>confdefs.h <<\_ACEOF
75522 #define HAVE_ACOSF 1
75523 _ACEOF
75524
75525     cat >>confdefs.h <<\_ACEOF
75526 #define HAVE_ASINF 1
75527 _ACEOF
75528
75529     cat >>confdefs.h <<\_ACEOF
75530 #define HAVE_ATAN2F 1
75531 _ACEOF
75532
75533     cat >>confdefs.h <<\_ACEOF
75534 #define HAVE_ATANF 1
75535 _ACEOF
75536
75537     cat >>confdefs.h <<\_ACEOF
75538 #define HAVE_CEILF 1
75539 _ACEOF
75540
75541     cat >>confdefs.h <<\_ACEOF
75542 #define HAVE_COPYSIGN 1
75543 _ACEOF
75544
75545     cat >>confdefs.h <<\_ACEOF
75546 #define HAVE_COPYSIGNF 1
75547 _ACEOF
75548
75549     cat >>confdefs.h <<\_ACEOF
75550 #define HAVE_COSF 1
75551 _ACEOF
75552
75553     cat >>confdefs.h <<\_ACEOF
75554 #define HAVE_COSHF 1
75555 _ACEOF
75556
75557     cat >>confdefs.h <<\_ACEOF
75558 #define HAVE_EXPF 1
75559 _ACEOF
75560
75561     cat >>confdefs.h <<\_ACEOF
75562 #define HAVE_FABSF 1
75563 _ACEOF
75564
75565     cat >>confdefs.h <<\_ACEOF
75566 #define HAVE_FLOORF 1
75567 _ACEOF
75568
75569     cat >>confdefs.h <<\_ACEOF
75570 #define HAVE_FMODF 1
75571 _ACEOF
75572
75573     cat >>confdefs.h <<\_ACEOF
75574 #define HAVE_FREXPF 1
75575 _ACEOF
75576
75577     cat >>confdefs.h <<\_ACEOF
75578 #define HAVE_LDEXPF 1
75579 _ACEOF
75580
75581     cat >>confdefs.h <<\_ACEOF
75582 #define HAVE_LOG10F 1
75583 _ACEOF
75584
75585     cat >>confdefs.h <<\_ACEOF
75586 #define HAVE_LOGF 1
75587 _ACEOF
75588
75589     cat >>confdefs.h <<\_ACEOF
75590 #define HAVE_MODFF 1
75591 _ACEOF
75592
75593     cat >>confdefs.h <<\_ACEOF
75594 #define HAVE_POWF 1
75595 _ACEOF
75596
75597     cat >>confdefs.h <<\_ACEOF
75598 #define HAVE_SINF 1
75599 _ACEOF
75600
75601     cat >>confdefs.h <<\_ACEOF
75602 #define HAVE_SINHF 1
75603 _ACEOF
75604
75605     cat >>confdefs.h <<\_ACEOF
75606 #define HAVE_SQRTF 1
75607 _ACEOF
75608
75609     cat >>confdefs.h <<\_ACEOF
75610 #define HAVE_TANF 1
75611 _ACEOF
75612
75613     cat >>confdefs.h <<\_ACEOF
75614 #define HAVE_TANHF 1
75615 _ACEOF
75616
75617     if test x"long_double_math_on_this_cpu" = x"yes"; then
75618       cat >>confdefs.h <<\_ACEOF
75619 #define HAVE_FINITEL 1
75620 _ACEOF
75621
75622       cat >>confdefs.h <<\_ACEOF
75623 #define HAVE_ISINFL 1
75624 _ACEOF
75625
75626       cat >>confdefs.h <<\_ACEOF
75627 #define HAVE_ISNANL 1
75628 _ACEOF
75629
75630     fi
75631     ;;
75632   *-hpux*)
75633
75634
75635
75636
75637
75638
75639
75640
75641
75642
75643
75644
75645 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75646       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75647       fp.h locale.h float.h inttypes.h
75648 do
75649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75651   echo "$as_me:$LINENO: checking for $ac_header" >&5
75652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75654   echo $ECHO_N "(cached) $ECHO_C" >&6
75655 fi
75656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75658 else
75659   # Is the header compilable?
75660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75662 cat >conftest.$ac_ext <<_ACEOF
75663 /* confdefs.h.  */
75664 _ACEOF
75665 cat confdefs.h >>conftest.$ac_ext
75666 cat >>conftest.$ac_ext <<_ACEOF
75667 /* end confdefs.h.  */
75668 $ac_includes_default
75669 #include <$ac_header>
75670 _ACEOF
75671 rm -f conftest.$ac_objext
75672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75673   (eval $ac_compile) 2>conftest.er1
75674   ac_status=$?
75675   grep -v '^ *+' conftest.er1 >conftest.err
75676   rm -f conftest.er1
75677   cat conftest.err >&5
75678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75679   (exit $ac_status); } &&
75680          { ac_try='test -z "$ac_c_werror_flag"
75681                          || test ! -s conftest.err'
75682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75683   (eval $ac_try) 2>&5
75684   ac_status=$?
75685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75686   (exit $ac_status); }; } &&
75687          { ac_try='test -s conftest.$ac_objext'
75688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75689   (eval $ac_try) 2>&5
75690   ac_status=$?
75691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75692   (exit $ac_status); }; }; then
75693   ac_header_compiler=yes
75694 else
75695   echo "$as_me: failed program was:" >&5
75696 sed 's/^/| /' conftest.$ac_ext >&5
75697
75698 ac_header_compiler=no
75699 fi
75700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75702 echo "${ECHO_T}$ac_header_compiler" >&6
75703
75704 # Is the header present?
75705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75707 cat >conftest.$ac_ext <<_ACEOF
75708 /* confdefs.h.  */
75709 _ACEOF
75710 cat confdefs.h >>conftest.$ac_ext
75711 cat >>conftest.$ac_ext <<_ACEOF
75712 /* end confdefs.h.  */
75713 #include <$ac_header>
75714 _ACEOF
75715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75716   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75717   ac_status=$?
75718   grep -v '^ *+' conftest.er1 >conftest.err
75719   rm -f conftest.er1
75720   cat conftest.err >&5
75721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75722   (exit $ac_status); } >/dev/null; then
75723   if test -s conftest.err; then
75724     ac_cpp_err=$ac_c_preproc_warn_flag
75725     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75726   else
75727     ac_cpp_err=
75728   fi
75729 else
75730   ac_cpp_err=yes
75731 fi
75732 if test -z "$ac_cpp_err"; then
75733   ac_header_preproc=yes
75734 else
75735   echo "$as_me: failed program was:" >&5
75736 sed 's/^/| /' conftest.$ac_ext >&5
75737
75738   ac_header_preproc=no
75739 fi
75740 rm -f conftest.err conftest.$ac_ext
75741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75742 echo "${ECHO_T}$ac_header_preproc" >&6
75743
75744 # So?  What about this header?
75745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75746   yes:no: )
75747     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75749     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75751     ac_header_preproc=yes
75752     ;;
75753   no:yes:* )
75754     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75756     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75757 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75758     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75760     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75761 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75762     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75764     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75766     (
75767       cat <<\_ASBOX
75768 ## ----------------------------------------- ##
75769 ## Report this to the package-unused lists.  ##
75770 ## ----------------------------------------- ##
75771 _ASBOX
75772     ) |
75773       sed "s/^/$as_me: WARNING:     /" >&2
75774     ;;
75775 esac
75776 echo "$as_me:$LINENO: checking for $ac_header" >&5
75777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75779   echo $ECHO_N "(cached) $ECHO_C" >&6
75780 else
75781   eval "$as_ac_Header=\$ac_header_preproc"
75782 fi
75783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75785
75786 fi
75787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75788   cat >>confdefs.h <<_ACEOF
75789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75790 _ACEOF
75791
75792 fi
75793
75794 done
75795
75796     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75797
75798
75799   # If we're not using GNU ld, then there's no point in even trying these
75800   # tests.  Check for that first.  We should have already tested for gld
75801   # by now (in libtool), but require it now just to be safe...
75802   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75803   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75804
75805
75806
75807   # The name set by libtool depends on the version of libtool.  Shame on us
75808   # for depending on an impl detail, but c'est la vie.  Older versions used
75809   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75810   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75811   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75812   # set (hence we're using an older libtool), then set it.
75813   if test x${with_gnu_ld+set} != xset; then
75814     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75815       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75816       with_gnu_ld=no
75817     else
75818       with_gnu_ld=$ac_cv_prog_gnu_ld
75819     fi
75820   fi
75821
75822   # Start by getting the version number.  I think the libtool test already
75823   # does some of this, but throws away the result.
75824
75825   ldver=`$LD --version 2>/dev/null | head -1 | \
75826          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75827
75828   glibcxx_gnu_ld_version=`echo $ldver | \
75829          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75830
75831   # Set --gc-sections.
75832   if test "$with_gnu_ld" = "notbroken"; then
75833     # GNU ld it is!  Joy and bunny rabbits!
75834
75835     # All these tests are for C++; save the language and the compiler flags.
75836     # Need to do this so that g++ won't try to link in libstdc++
75837     ac_test_CFLAGS="${CFLAGS+set}"
75838     ac_save_CFLAGS="$CFLAGS"
75839     CFLAGS='-x c++  -Wl,--gc-sections'
75840
75841     # Check for -Wl,--gc-sections
75842     # XXX This test is broken at the moment, as symbols required for linking
75843     # are now in libsupc++ (not built yet).  In addition, this test has
75844     # cored on solaris in the past.  In addition, --gc-sections doesn't
75845     # really work at the moment (keeps on discarding used sections, first
75846     # .eh_frame and now some of the glibc sections for iconv).
75847     # Bzzzzt.  Thanks for playing, maybe next time.
75848     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75849 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75850     if test "$cross_compiling" = yes; then
75851   ac_sectionLDflags=yes
75852 else
75853   cat >conftest.$ac_ext <<_ACEOF
75854 /* confdefs.h.  */
75855 _ACEOF
75856 cat confdefs.h >>conftest.$ac_ext
75857 cat >>conftest.$ac_ext <<_ACEOF
75858 /* end confdefs.h.  */
75859
75860      int main(void)
75861      {
75862        try { throw 1; }
75863        catch (...) { };
75864        return 0;
75865      }
75866
75867 _ACEOF
75868 rm -f conftest$ac_exeext
75869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75870   (eval $ac_link) 2>&5
75871   ac_status=$?
75872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75873   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75875   (eval $ac_try) 2>&5
75876   ac_status=$?
75877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75878   (exit $ac_status); }; }; then
75879   ac_sectionLDflags=yes
75880 else
75881   echo "$as_me: program exited with status $ac_status" >&5
75882 echo "$as_me: failed program was:" >&5
75883 sed 's/^/| /' conftest.$ac_ext >&5
75884
75885 ( exit $ac_status )
75886 ac_sectionLDflags=no
75887 fi
75888 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75889 fi
75890     if test "$ac_test_CFLAGS" = set; then
75891       CFLAGS="$ac_save_CFLAGS"
75892     else
75893       # this is the suspicious part
75894       CFLAGS=''
75895     fi
75896     if test "$ac_sectionLDflags" = "yes"; then
75897       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75898     fi
75899     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75900 echo "${ECHO_T}$ac_sectionLDflags" >&6
75901   fi
75902
75903   # Set linker optimization flags.
75904   if test x"$with_gnu_ld" = x"yes"; then
75905     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75906   fi
75907
75908
75909
75910
75911
75912
75913 echo "$as_me:$LINENO: checking for main in -lm" >&5
75914 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75915 if test "${ac_cv_lib_m_main+set}" = set; then
75916   echo $ECHO_N "(cached) $ECHO_C" >&6
75917 else
75918   ac_check_lib_save_LIBS=$LIBS
75919 LIBS="-lm  $LIBS"
75920 if test x$gcc_no_link = xyes; then
75921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75923    { (exit 1); exit 1; }; }
75924 fi
75925 cat >conftest.$ac_ext <<_ACEOF
75926 /* confdefs.h.  */
75927 _ACEOF
75928 cat confdefs.h >>conftest.$ac_ext
75929 cat >>conftest.$ac_ext <<_ACEOF
75930 /* end confdefs.h.  */
75931
75932
75933 int
75934 main ()
75935 {
75936 main ();
75937   ;
75938   return 0;
75939 }
75940 _ACEOF
75941 rm -f conftest.$ac_objext conftest$ac_exeext
75942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75943   (eval $ac_link) 2>conftest.er1
75944   ac_status=$?
75945   grep -v '^ *+' conftest.er1 >conftest.err
75946   rm -f conftest.er1
75947   cat conftest.err >&5
75948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75949   (exit $ac_status); } &&
75950          { ac_try='test -z "$ac_c_werror_flag"
75951                          || test ! -s conftest.err'
75952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75953   (eval $ac_try) 2>&5
75954   ac_status=$?
75955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75956   (exit $ac_status); }; } &&
75957          { ac_try='test -s conftest$ac_exeext'
75958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75959   (eval $ac_try) 2>&5
75960   ac_status=$?
75961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75962   (exit $ac_status); }; }; then
75963   ac_cv_lib_m_main=yes
75964 else
75965   echo "$as_me: failed program was:" >&5
75966 sed 's/^/| /' conftest.$ac_ext >&5
75967
75968 ac_cv_lib_m_main=no
75969 fi
75970 rm -f conftest.err conftest.$ac_objext \
75971       conftest$ac_exeext conftest.$ac_ext
75972 LIBS=$ac_check_lib_save_LIBS
75973 fi
75974 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75975 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75976 if test $ac_cv_lib_m_main = yes; then
75977   cat >>confdefs.h <<_ACEOF
75978 #define HAVE_LIBM 1
75979 _ACEOF
75980
75981   LIBS="-lm $LIBS"
75982
75983 fi
75984
75985
75986 for ac_func in copysignf
75987 do
75988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75989 echo "$as_me:$LINENO: checking for $ac_func" >&5
75990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75991 if eval "test \"\${$as_ac_var+set}\" = set"; then
75992   echo $ECHO_N "(cached) $ECHO_C" >&6
75993 else
75994   if test x$gcc_no_link = xyes; then
75995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75997    { (exit 1); exit 1; }; }
75998 fi
75999 cat >conftest.$ac_ext <<_ACEOF
76000 /* confdefs.h.  */
76001 _ACEOF
76002 cat confdefs.h >>conftest.$ac_ext
76003 cat >>conftest.$ac_ext <<_ACEOF
76004 /* end confdefs.h.  */
76005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76006    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76007 #define $ac_func innocuous_$ac_func
76008
76009 /* System header to define __stub macros and hopefully few prototypes,
76010     which can conflict with char $ac_func (); below.
76011     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76012     <limits.h> exists even on freestanding compilers.  */
76013
76014 #ifdef __STDC__
76015 # include <limits.h>
76016 #else
76017 # include <assert.h>
76018 #endif
76019
76020 #undef $ac_func
76021
76022 /* Override any gcc2 internal prototype to avoid an error.  */
76023 #ifdef __cplusplus
76024 extern "C"
76025 {
76026 #endif
76027 /* We use char because int might match the return type of a gcc2
76028    builtin and then its argument prototype would still apply.  */
76029 char $ac_func ();
76030 /* The GNU C library defines this for functions which it implements
76031     to always fail with ENOSYS.  Some functions are actually named
76032     something starting with __ and the normal name is an alias.  */
76033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76034 choke me
76035 #else
76036 char (*f) () = $ac_func;
76037 #endif
76038 #ifdef __cplusplus
76039 }
76040 #endif
76041
76042 int
76043 main ()
76044 {
76045 return f != $ac_func;
76046   ;
76047   return 0;
76048 }
76049 _ACEOF
76050 rm -f conftest.$ac_objext conftest$ac_exeext
76051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76052   (eval $ac_link) 2>conftest.er1
76053   ac_status=$?
76054   grep -v '^ *+' conftest.er1 >conftest.err
76055   rm -f conftest.er1
76056   cat conftest.err >&5
76057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76058   (exit $ac_status); } &&
76059          { ac_try='test -z "$ac_c_werror_flag"
76060                          || test ! -s conftest.err'
76061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76062   (eval $ac_try) 2>&5
76063   ac_status=$?
76064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76065   (exit $ac_status); }; } &&
76066          { ac_try='test -s conftest$ac_exeext'
76067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76068   (eval $ac_try) 2>&5
76069   ac_status=$?
76070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76071   (exit $ac_status); }; }; then
76072   eval "$as_ac_var=yes"
76073 else
76074   echo "$as_me: failed program was:" >&5
76075 sed 's/^/| /' conftest.$ac_ext >&5
76076
76077 eval "$as_ac_var=no"
76078 fi
76079 rm -f conftest.err conftest.$ac_objext \
76080       conftest$ac_exeext conftest.$ac_ext
76081 fi
76082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76084 if test `eval echo '${'$as_ac_var'}'` = yes; then
76085   cat >>confdefs.h <<_ACEOF
76086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76087 _ACEOF
76088
76089 else
76090   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76091 fi
76092 done
76093
76094
76095
76096 for ac_func in __signbit
76097 do
76098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76099 echo "$as_me:$LINENO: checking for $ac_func" >&5
76100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76101 if eval "test \"\${$as_ac_var+set}\" = set"; then
76102   echo $ECHO_N "(cached) $ECHO_C" >&6
76103 else
76104   if test x$gcc_no_link = xyes; then
76105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76107    { (exit 1); exit 1; }; }
76108 fi
76109 cat >conftest.$ac_ext <<_ACEOF
76110 /* confdefs.h.  */
76111 _ACEOF
76112 cat confdefs.h >>conftest.$ac_ext
76113 cat >>conftest.$ac_ext <<_ACEOF
76114 /* end confdefs.h.  */
76115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76117 #define $ac_func innocuous_$ac_func
76118
76119 /* System header to define __stub macros and hopefully few prototypes,
76120     which can conflict with char $ac_func (); below.
76121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76122     <limits.h> exists even on freestanding compilers.  */
76123
76124 #ifdef __STDC__
76125 # include <limits.h>
76126 #else
76127 # include <assert.h>
76128 #endif
76129
76130 #undef $ac_func
76131
76132 /* Override any gcc2 internal prototype to avoid an error.  */
76133 #ifdef __cplusplus
76134 extern "C"
76135 {
76136 #endif
76137 /* We use char because int might match the return type of a gcc2
76138    builtin and then its argument prototype would still apply.  */
76139 char $ac_func ();
76140 /* The GNU C library defines this for functions which it implements
76141     to always fail with ENOSYS.  Some functions are actually named
76142     something starting with __ and the normal name is an alias.  */
76143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76144 choke me
76145 #else
76146 char (*f) () = $ac_func;
76147 #endif
76148 #ifdef __cplusplus
76149 }
76150 #endif
76151
76152 int
76153 main ()
76154 {
76155 return f != $ac_func;
76156   ;
76157   return 0;
76158 }
76159 _ACEOF
76160 rm -f conftest.$ac_objext conftest$ac_exeext
76161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76162   (eval $ac_link) 2>conftest.er1
76163   ac_status=$?
76164   grep -v '^ *+' conftest.er1 >conftest.err
76165   rm -f conftest.er1
76166   cat conftest.err >&5
76167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76168   (exit $ac_status); } &&
76169          { ac_try='test -z "$ac_c_werror_flag"
76170                          || test ! -s conftest.err'
76171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76172   (eval $ac_try) 2>&5
76173   ac_status=$?
76174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76175   (exit $ac_status); }; } &&
76176          { ac_try='test -s conftest$ac_exeext'
76177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76178   (eval $ac_try) 2>&5
76179   ac_status=$?
76180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76181   (exit $ac_status); }; }; then
76182   eval "$as_ac_var=yes"
76183 else
76184   echo "$as_me: failed program was:" >&5
76185 sed 's/^/| /' conftest.$ac_ext >&5
76186
76187 eval "$as_ac_var=no"
76188 fi
76189 rm -f conftest.err conftest.$ac_objext \
76190       conftest$ac_exeext conftest.$ac_ext
76191 fi
76192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76194 if test `eval echo '${'$as_ac_var'}'` = yes; then
76195   cat >>confdefs.h <<_ACEOF
76196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76197 _ACEOF
76198
76199 else
76200   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76201 fi
76202 done
76203
76204
76205
76206 for ac_func in __signbitf
76207 do
76208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76209 echo "$as_me:$LINENO: checking for $ac_func" >&5
76210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76211 if eval "test \"\${$as_ac_var+set}\" = set"; then
76212   echo $ECHO_N "(cached) $ECHO_C" >&6
76213 else
76214   if test x$gcc_no_link = xyes; then
76215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76217    { (exit 1); exit 1; }; }
76218 fi
76219 cat >conftest.$ac_ext <<_ACEOF
76220 /* confdefs.h.  */
76221 _ACEOF
76222 cat confdefs.h >>conftest.$ac_ext
76223 cat >>conftest.$ac_ext <<_ACEOF
76224 /* end confdefs.h.  */
76225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76227 #define $ac_func innocuous_$ac_func
76228
76229 /* System header to define __stub macros and hopefully few prototypes,
76230     which can conflict with char $ac_func (); below.
76231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76232     <limits.h> exists even on freestanding compilers.  */
76233
76234 #ifdef __STDC__
76235 # include <limits.h>
76236 #else
76237 # include <assert.h>
76238 #endif
76239
76240 #undef $ac_func
76241
76242 /* Override any gcc2 internal prototype to avoid an error.  */
76243 #ifdef __cplusplus
76244 extern "C"
76245 {
76246 #endif
76247 /* We use char because int might match the return type of a gcc2
76248    builtin and then its argument prototype would still apply.  */
76249 char $ac_func ();
76250 /* The GNU C library defines this for functions which it implements
76251     to always fail with ENOSYS.  Some functions are actually named
76252     something starting with __ and the normal name is an alias.  */
76253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76254 choke me
76255 #else
76256 char (*f) () = $ac_func;
76257 #endif
76258 #ifdef __cplusplus
76259 }
76260 #endif
76261
76262 int
76263 main ()
76264 {
76265 return f != $ac_func;
76266   ;
76267   return 0;
76268 }
76269 _ACEOF
76270 rm -f conftest.$ac_objext conftest$ac_exeext
76271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76272   (eval $ac_link) 2>conftest.er1
76273   ac_status=$?
76274   grep -v '^ *+' conftest.er1 >conftest.err
76275   rm -f conftest.er1
76276   cat conftest.err >&5
76277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76278   (exit $ac_status); } &&
76279          { ac_try='test -z "$ac_c_werror_flag"
76280                          || test ! -s conftest.err'
76281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76282   (eval $ac_try) 2>&5
76283   ac_status=$?
76284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76285   (exit $ac_status); }; } &&
76286          { ac_try='test -s conftest$ac_exeext'
76287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76288   (eval $ac_try) 2>&5
76289   ac_status=$?
76290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76291   (exit $ac_status); }; }; then
76292   eval "$as_ac_var=yes"
76293 else
76294   echo "$as_me: failed program was:" >&5
76295 sed 's/^/| /' conftest.$ac_ext >&5
76296
76297 eval "$as_ac_var=no"
76298 fi
76299 rm -f conftest.err conftest.$ac_objext \
76300       conftest$ac_exeext conftest.$ac_ext
76301 fi
76302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76304 if test `eval echo '${'$as_ac_var'}'` = yes; then
76305   cat >>confdefs.h <<_ACEOF
76306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76307 _ACEOF
76308
76309 else
76310   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76311 fi
76312 done
76313
76314
76315           if test x$ac_cv_func_copysignl = x"yes"; then
76316
76317 for ac_func in __signbitl
76318 do
76319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76320 echo "$as_me:$LINENO: checking for $ac_func" >&5
76321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76322 if eval "test \"\${$as_ac_var+set}\" = set"; then
76323   echo $ECHO_N "(cached) $ECHO_C" >&6
76324 else
76325   if test x$gcc_no_link = xyes; then
76326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76328    { (exit 1); exit 1; }; }
76329 fi
76330 cat >conftest.$ac_ext <<_ACEOF
76331 /* confdefs.h.  */
76332 _ACEOF
76333 cat confdefs.h >>conftest.$ac_ext
76334 cat >>conftest.$ac_ext <<_ACEOF
76335 /* end confdefs.h.  */
76336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76338 #define $ac_func innocuous_$ac_func
76339
76340 /* System header to define __stub macros and hopefully few prototypes,
76341     which can conflict with char $ac_func (); below.
76342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76343     <limits.h> exists even on freestanding compilers.  */
76344
76345 #ifdef __STDC__
76346 # include <limits.h>
76347 #else
76348 # include <assert.h>
76349 #endif
76350
76351 #undef $ac_func
76352
76353 /* Override any gcc2 internal prototype to avoid an error.  */
76354 #ifdef __cplusplus
76355 extern "C"
76356 {
76357 #endif
76358 /* We use char because int might match the return type of a gcc2
76359    builtin and then its argument prototype would still apply.  */
76360 char $ac_func ();
76361 /* The GNU C library defines this for functions which it implements
76362     to always fail with ENOSYS.  Some functions are actually named
76363     something starting with __ and the normal name is an alias.  */
76364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76365 choke me
76366 #else
76367 char (*f) () = $ac_func;
76368 #endif
76369 #ifdef __cplusplus
76370 }
76371 #endif
76372
76373 int
76374 main ()
76375 {
76376 return f != $ac_func;
76377   ;
76378   return 0;
76379 }
76380 _ACEOF
76381 rm -f conftest.$ac_objext conftest$ac_exeext
76382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76383   (eval $ac_link) 2>conftest.er1
76384   ac_status=$?
76385   grep -v '^ *+' conftest.er1 >conftest.err
76386   rm -f conftest.er1
76387   cat conftest.err >&5
76388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76389   (exit $ac_status); } &&
76390          { ac_try='test -z "$ac_c_werror_flag"
76391                          || test ! -s conftest.err'
76392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76393   (eval $ac_try) 2>&5
76394   ac_status=$?
76395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76396   (exit $ac_status); }; } &&
76397          { ac_try='test -s conftest$ac_exeext'
76398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76399   (eval $ac_try) 2>&5
76400   ac_status=$?
76401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76402   (exit $ac_status); }; }; then
76403   eval "$as_ac_var=yes"
76404 else
76405   echo "$as_me: failed program was:" >&5
76406 sed 's/^/| /' conftest.$ac_ext >&5
76407
76408 eval "$as_ac_var=no"
76409 fi
76410 rm -f conftest.err conftest.$ac_objext \
76411       conftest$ac_exeext conftest.$ac_ext
76412 fi
76413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76415 if test `eval echo '${'$as_ac_var'}'` = yes; then
76416   cat >>confdefs.h <<_ACEOF
76417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76418 _ACEOF
76419
76420 else
76421   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76422 fi
76423 done
76424
76425   fi
76426
76427   # Used in libmath/Makefile.am.
76428   if test -n "$LIBMATHOBJS"; then
76429     need_libmath=yes
76430   fi
76431
76432
76433
76434
76435   enable_iconv=no
76436   # Only continue checking if the ISO C99 headers exist and support is on.
76437   if test x"$enable_wchar_t" = xyes; then
76438
76439     # Use iconv for wchar_t to char conversions. As such, check for
76440     # X/Open Portability Guide, version 2 features (XPG2).
76441     if test "${ac_cv_header_iconv_h+set}" = set; then
76442   echo "$as_me:$LINENO: checking for iconv.h" >&5
76443 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76444 if test "${ac_cv_header_iconv_h+set}" = set; then
76445   echo $ECHO_N "(cached) $ECHO_C" >&6
76446 fi
76447 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76448 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76449 else
76450   # Is the header compilable?
76451 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76452 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76453 cat >conftest.$ac_ext <<_ACEOF
76454 /* confdefs.h.  */
76455 _ACEOF
76456 cat confdefs.h >>conftest.$ac_ext
76457 cat >>conftest.$ac_ext <<_ACEOF
76458 /* end confdefs.h.  */
76459 $ac_includes_default
76460 #include <iconv.h>
76461 _ACEOF
76462 rm -f conftest.$ac_objext
76463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76464   (eval $ac_compile) 2>conftest.er1
76465   ac_status=$?
76466   grep -v '^ *+' conftest.er1 >conftest.err
76467   rm -f conftest.er1
76468   cat conftest.err >&5
76469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76470   (exit $ac_status); } &&
76471          { ac_try='test -z "$ac_c_werror_flag"
76472                          || test ! -s conftest.err'
76473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76474   (eval $ac_try) 2>&5
76475   ac_status=$?
76476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76477   (exit $ac_status); }; } &&
76478          { ac_try='test -s conftest.$ac_objext'
76479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76480   (eval $ac_try) 2>&5
76481   ac_status=$?
76482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76483   (exit $ac_status); }; }; then
76484   ac_header_compiler=yes
76485 else
76486   echo "$as_me: failed program was:" >&5
76487 sed 's/^/| /' conftest.$ac_ext >&5
76488
76489 ac_header_compiler=no
76490 fi
76491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76493 echo "${ECHO_T}$ac_header_compiler" >&6
76494
76495 # Is the header present?
76496 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76497 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76498 cat >conftest.$ac_ext <<_ACEOF
76499 /* confdefs.h.  */
76500 _ACEOF
76501 cat confdefs.h >>conftest.$ac_ext
76502 cat >>conftest.$ac_ext <<_ACEOF
76503 /* end confdefs.h.  */
76504 #include <iconv.h>
76505 _ACEOF
76506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76507   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76508   ac_status=$?
76509   grep -v '^ *+' conftest.er1 >conftest.err
76510   rm -f conftest.er1
76511   cat conftest.err >&5
76512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76513   (exit $ac_status); } >/dev/null; then
76514   if test -s conftest.err; then
76515     ac_cpp_err=$ac_c_preproc_warn_flag
76516     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76517   else
76518     ac_cpp_err=
76519   fi
76520 else
76521   ac_cpp_err=yes
76522 fi
76523 if test -z "$ac_cpp_err"; then
76524   ac_header_preproc=yes
76525 else
76526   echo "$as_me: failed program was:" >&5
76527 sed 's/^/| /' conftest.$ac_ext >&5
76528
76529   ac_header_preproc=no
76530 fi
76531 rm -f conftest.err conftest.$ac_ext
76532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76533 echo "${ECHO_T}$ac_header_preproc" >&6
76534
76535 # So?  What about this header?
76536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76537   yes:no: )
76538     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76539 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76540     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76541 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76542     ac_header_preproc=yes
76543     ;;
76544   no:yes:* )
76545     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76546 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76547     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76548 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76549     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76550 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76551     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76552 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76553     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76554 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76555     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76556 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76557     (
76558       cat <<\_ASBOX
76559 ## ----------------------------------------- ##
76560 ## Report this to the package-unused lists.  ##
76561 ## ----------------------------------------- ##
76562 _ASBOX
76563     ) |
76564       sed "s/^/$as_me: WARNING:     /" >&2
76565     ;;
76566 esac
76567 echo "$as_me:$LINENO: checking for iconv.h" >&5
76568 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76569 if test "${ac_cv_header_iconv_h+set}" = set; then
76570   echo $ECHO_N "(cached) $ECHO_C" >&6
76571 else
76572   ac_cv_header_iconv_h=$ac_header_preproc
76573 fi
76574 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76575 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76576
76577 fi
76578 if test $ac_cv_header_iconv_h = yes; then
76579   ac_has_iconv_h=yes
76580 else
76581   ac_has_iconv_h=no
76582 fi
76583
76584
76585     if test "${ac_cv_header_langinfo_h+set}" = set; then
76586   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76587 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76588 if test "${ac_cv_header_langinfo_h+set}" = set; then
76589   echo $ECHO_N "(cached) $ECHO_C" >&6
76590 fi
76591 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76592 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76593 else
76594   # Is the header compilable?
76595 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76596 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76597 cat >conftest.$ac_ext <<_ACEOF
76598 /* confdefs.h.  */
76599 _ACEOF
76600 cat confdefs.h >>conftest.$ac_ext
76601 cat >>conftest.$ac_ext <<_ACEOF
76602 /* end confdefs.h.  */
76603 $ac_includes_default
76604 #include <langinfo.h>
76605 _ACEOF
76606 rm -f conftest.$ac_objext
76607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76608   (eval $ac_compile) 2>conftest.er1
76609   ac_status=$?
76610   grep -v '^ *+' conftest.er1 >conftest.err
76611   rm -f conftest.er1
76612   cat conftest.err >&5
76613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76614   (exit $ac_status); } &&
76615          { ac_try='test -z "$ac_c_werror_flag"
76616                          || test ! -s conftest.err'
76617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76618   (eval $ac_try) 2>&5
76619   ac_status=$?
76620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76621   (exit $ac_status); }; } &&
76622          { ac_try='test -s conftest.$ac_objext'
76623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76624   (eval $ac_try) 2>&5
76625   ac_status=$?
76626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76627   (exit $ac_status); }; }; then
76628   ac_header_compiler=yes
76629 else
76630   echo "$as_me: failed program was:" >&5
76631 sed 's/^/| /' conftest.$ac_ext >&5
76632
76633 ac_header_compiler=no
76634 fi
76635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76637 echo "${ECHO_T}$ac_header_compiler" >&6
76638
76639 # Is the header present?
76640 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76641 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76642 cat >conftest.$ac_ext <<_ACEOF
76643 /* confdefs.h.  */
76644 _ACEOF
76645 cat confdefs.h >>conftest.$ac_ext
76646 cat >>conftest.$ac_ext <<_ACEOF
76647 /* end confdefs.h.  */
76648 #include <langinfo.h>
76649 _ACEOF
76650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76651   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76652   ac_status=$?
76653   grep -v '^ *+' conftest.er1 >conftest.err
76654   rm -f conftest.er1
76655   cat conftest.err >&5
76656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76657   (exit $ac_status); } >/dev/null; then
76658   if test -s conftest.err; then
76659     ac_cpp_err=$ac_c_preproc_warn_flag
76660     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76661   else
76662     ac_cpp_err=
76663   fi
76664 else
76665   ac_cpp_err=yes
76666 fi
76667 if test -z "$ac_cpp_err"; then
76668   ac_header_preproc=yes
76669 else
76670   echo "$as_me: failed program was:" >&5
76671 sed 's/^/| /' conftest.$ac_ext >&5
76672
76673   ac_header_preproc=no
76674 fi
76675 rm -f conftest.err conftest.$ac_ext
76676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76677 echo "${ECHO_T}$ac_header_preproc" >&6
76678
76679 # So?  What about this header?
76680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76681   yes:no: )
76682     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76683 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76684     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76685 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76686     ac_header_preproc=yes
76687     ;;
76688   no:yes:* )
76689     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76690 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76691     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76692 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76693     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76694 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76695     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76696 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76697     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76698 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76699     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76700 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76701     (
76702       cat <<\_ASBOX
76703 ## ----------------------------------------- ##
76704 ## Report this to the package-unused lists.  ##
76705 ## ----------------------------------------- ##
76706 _ASBOX
76707     ) |
76708       sed "s/^/$as_me: WARNING:     /" >&2
76709     ;;
76710 esac
76711 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76712 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76713 if test "${ac_cv_header_langinfo_h+set}" = set; then
76714   echo $ECHO_N "(cached) $ECHO_C" >&6
76715 else
76716   ac_cv_header_langinfo_h=$ac_header_preproc
76717 fi
76718 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76719 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76720
76721 fi
76722 if test $ac_cv_header_langinfo_h = yes; then
76723   ac_has_langinfo_h=yes
76724 else
76725   ac_has_langinfo_h=no
76726 fi
76727
76728
76729
76730     # Check for existence of libiconv.a providing XPG2 wchar_t support.
76731     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76732 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76733 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76734   echo $ECHO_N "(cached) $ECHO_C" >&6
76735 else
76736   ac_check_lib_save_LIBS=$LIBS
76737 LIBS="-liconv  $LIBS"
76738 if test x$gcc_no_link = xyes; then
76739   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76741    { (exit 1); exit 1; }; }
76742 fi
76743 cat >conftest.$ac_ext <<_ACEOF
76744 /* confdefs.h.  */
76745 _ACEOF
76746 cat confdefs.h >>conftest.$ac_ext
76747 cat >>conftest.$ac_ext <<_ACEOF
76748 /* end confdefs.h.  */
76749
76750 /* Override any gcc2 internal prototype to avoid an error.  */
76751 #ifdef __cplusplus
76752 extern "C"
76753 #endif
76754 /* We use char because int might match the return type of a gcc2
76755    builtin and then its argument prototype would still apply.  */
76756 char iconv ();
76757 int
76758 main ()
76759 {
76760 iconv ();
76761   ;
76762   return 0;
76763 }
76764 _ACEOF
76765 rm -f conftest.$ac_objext conftest$ac_exeext
76766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76767   (eval $ac_link) 2>conftest.er1
76768   ac_status=$?
76769   grep -v '^ *+' conftest.er1 >conftest.err
76770   rm -f conftest.er1
76771   cat conftest.err >&5
76772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76773   (exit $ac_status); } &&
76774          { ac_try='test -z "$ac_c_werror_flag"
76775                          || test ! -s conftest.err'
76776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76777   (eval $ac_try) 2>&5
76778   ac_status=$?
76779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76780   (exit $ac_status); }; } &&
76781          { ac_try='test -s conftest$ac_exeext'
76782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76783   (eval $ac_try) 2>&5
76784   ac_status=$?
76785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76786   (exit $ac_status); }; }; then
76787   ac_cv_lib_iconv_iconv=yes
76788 else
76789   echo "$as_me: failed program was:" >&5
76790 sed 's/^/| /' conftest.$ac_ext >&5
76791
76792 ac_cv_lib_iconv_iconv=no
76793 fi
76794 rm -f conftest.err conftest.$ac_objext \
76795       conftest$ac_exeext conftest.$ac_ext
76796 LIBS=$ac_check_lib_save_LIBS
76797 fi
76798 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76799 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76800 if test $ac_cv_lib_iconv_iconv = yes; then
76801   LIBICONV="-liconv"
76802 fi
76803
76804     ac_save_LIBS="$LIBS"
76805     LIBS="$LIBS $LIBICONV"
76806
76807
76808
76809
76810
76811
76812 for ac_func in iconv_open iconv_close iconv nl_langinfo
76813 do
76814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76815 echo "$as_me:$LINENO: checking for $ac_func" >&5
76816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76817 if eval "test \"\${$as_ac_var+set}\" = set"; then
76818   echo $ECHO_N "(cached) $ECHO_C" >&6
76819 else
76820   if test x$gcc_no_link = xyes; then
76821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76823    { (exit 1); exit 1; }; }
76824 fi
76825 cat >conftest.$ac_ext <<_ACEOF
76826 /* confdefs.h.  */
76827 _ACEOF
76828 cat confdefs.h >>conftest.$ac_ext
76829 cat >>conftest.$ac_ext <<_ACEOF
76830 /* end confdefs.h.  */
76831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76833 #define $ac_func innocuous_$ac_func
76834
76835 /* System header to define __stub macros and hopefully few prototypes,
76836     which can conflict with char $ac_func (); below.
76837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76838     <limits.h> exists even on freestanding compilers.  */
76839
76840 #ifdef __STDC__
76841 # include <limits.h>
76842 #else
76843 # include <assert.h>
76844 #endif
76845
76846 #undef $ac_func
76847
76848 /* Override any gcc2 internal prototype to avoid an error.  */
76849 #ifdef __cplusplus
76850 extern "C"
76851 {
76852 #endif
76853 /* We use char because int might match the return type of a gcc2
76854    builtin and then its argument prototype would still apply.  */
76855 char $ac_func ();
76856 /* The GNU C library defines this for functions which it implements
76857     to always fail with ENOSYS.  Some functions are actually named
76858     something starting with __ and the normal name is an alias.  */
76859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76860 choke me
76861 #else
76862 char (*f) () = $ac_func;
76863 #endif
76864 #ifdef __cplusplus
76865 }
76866 #endif
76867
76868 int
76869 main ()
76870 {
76871 return f != $ac_func;
76872   ;
76873   return 0;
76874 }
76875 _ACEOF
76876 rm -f conftest.$ac_objext conftest$ac_exeext
76877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76878   (eval $ac_link) 2>conftest.er1
76879   ac_status=$?
76880   grep -v '^ *+' conftest.er1 >conftest.err
76881   rm -f conftest.er1
76882   cat conftest.err >&5
76883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76884   (exit $ac_status); } &&
76885          { ac_try='test -z "$ac_c_werror_flag"
76886                          || test ! -s conftest.err'
76887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76888   (eval $ac_try) 2>&5
76889   ac_status=$?
76890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76891   (exit $ac_status); }; } &&
76892          { ac_try='test -s conftest$ac_exeext'
76893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76894   (eval $ac_try) 2>&5
76895   ac_status=$?
76896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76897   (exit $ac_status); }; }; then
76898   eval "$as_ac_var=yes"
76899 else
76900   echo "$as_me: failed program was:" >&5
76901 sed 's/^/| /' conftest.$ac_ext >&5
76902
76903 eval "$as_ac_var=no"
76904 fi
76905 rm -f conftest.err conftest.$ac_objext \
76906       conftest$ac_exeext conftest.$ac_ext
76907 fi
76908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76910 if test `eval echo '${'$as_ac_var'}'` = yes; then
76911   cat >>confdefs.h <<_ACEOF
76912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76913 _ACEOF
76914  ac_XPG2funcs=yes
76915 else
76916   ac_XPG2funcs=no
76917 fi
76918 done
76919
76920
76921     LIBS="$ac_save_LIBS"
76922
76923     if test x"$ac_has_iconv_h" = xyes &&
76924        test x"$ac_has_langinfo_h" = xyes &&
76925        test x"$ac_XPG2funcs" = xyes;
76926     then
76927
76928 cat >>confdefs.h <<\_ACEOF
76929 #define _GLIBCXX_USE_ICONV 1
76930 _ACEOF
76931
76932       enable_iconv=yes
76933     fi
76934   fi
76935   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76936 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76937   echo "$as_me:$LINENO: result: $enable_iconv" >&5
76938 echo "${ECHO_T}$enable_iconv" >&6
76939
76940     cat >>confdefs.h <<\_ACEOF
76941 #define HAVE_COPYSIGN 1
76942 _ACEOF
76943
76944     cat >>confdefs.h <<\_ACEOF
76945 #define HAVE_COPYSIGNF 1
76946 _ACEOF
76947
76948     cat >>confdefs.h <<\_ACEOF
76949 #define HAVE_FREXPF 1
76950 _ACEOF
76951
76952     cat >>confdefs.h <<\_ACEOF
76953 #define HAVE_HYPOT 1
76954 _ACEOF
76955
76956     case "$target" in
76957       *-hpux10*)
76958         cat >>confdefs.h <<\_ACEOF
76959 #define HAVE_FINITE 1
76960 _ACEOF
76961
76962         cat >>confdefs.h <<\_ACEOF
76963 #define HAVE_FINITEF 1
76964 _ACEOF
76965
76966         cat >>confdefs.h <<\_ACEOF
76967 #define HAVE_ISINF 1
76968 _ACEOF
76969
76970         cat >>confdefs.h <<\_ACEOF
76971 #define HAVE_ISINFF 1
76972 _ACEOF
76973
76974         cat >>confdefs.h <<\_ACEOF
76975 #define HAVE_ISNAN 1
76976 _ACEOF
76977
76978         cat >>confdefs.h <<\_ACEOF
76979 #define HAVE_ISNANF 1
76980 _ACEOF
76981
76982         ;;
76983     esac
76984     ;;
76985   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76986
76987
76988
76989
76990
76991
76992
76993
76994
76995
76996
76997
76998
76999
77000
77001 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77002       machine/endian.h machine/param.h sys/machine.h sys/types.h \
77003       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
77004 do
77005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77007   echo "$as_me:$LINENO: checking for $ac_header" >&5
77008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77010   echo $ECHO_N "(cached) $ECHO_C" >&6
77011 fi
77012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77014 else
77015   # Is the header compilable?
77016 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77017 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77018 cat >conftest.$ac_ext <<_ACEOF
77019 /* confdefs.h.  */
77020 _ACEOF
77021 cat confdefs.h >>conftest.$ac_ext
77022 cat >>conftest.$ac_ext <<_ACEOF
77023 /* end confdefs.h.  */
77024 $ac_includes_default
77025 #include <$ac_header>
77026 _ACEOF
77027 rm -f conftest.$ac_objext
77028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77029   (eval $ac_compile) 2>conftest.er1
77030   ac_status=$?
77031   grep -v '^ *+' conftest.er1 >conftest.err
77032   rm -f conftest.er1
77033   cat conftest.err >&5
77034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77035   (exit $ac_status); } &&
77036          { ac_try='test -z "$ac_c_werror_flag"
77037                          || test ! -s conftest.err'
77038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77039   (eval $ac_try) 2>&5
77040   ac_status=$?
77041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77042   (exit $ac_status); }; } &&
77043          { ac_try='test -s conftest.$ac_objext'
77044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77045   (eval $ac_try) 2>&5
77046   ac_status=$?
77047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77048   (exit $ac_status); }; }; then
77049   ac_header_compiler=yes
77050 else
77051   echo "$as_me: failed program was:" >&5
77052 sed 's/^/| /' conftest.$ac_ext >&5
77053
77054 ac_header_compiler=no
77055 fi
77056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77058 echo "${ECHO_T}$ac_header_compiler" >&6
77059
77060 # Is the header present?
77061 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77062 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77063 cat >conftest.$ac_ext <<_ACEOF
77064 /* confdefs.h.  */
77065 _ACEOF
77066 cat confdefs.h >>conftest.$ac_ext
77067 cat >>conftest.$ac_ext <<_ACEOF
77068 /* end confdefs.h.  */
77069 #include <$ac_header>
77070 _ACEOF
77071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77072   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77073   ac_status=$?
77074   grep -v '^ *+' conftest.er1 >conftest.err
77075   rm -f conftest.er1
77076   cat conftest.err >&5
77077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77078   (exit $ac_status); } >/dev/null; then
77079   if test -s conftest.err; then
77080     ac_cpp_err=$ac_c_preproc_warn_flag
77081     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77082   else
77083     ac_cpp_err=
77084   fi
77085 else
77086   ac_cpp_err=yes
77087 fi
77088 if test -z "$ac_cpp_err"; then
77089   ac_header_preproc=yes
77090 else
77091   echo "$as_me: failed program was:" >&5
77092 sed 's/^/| /' conftest.$ac_ext >&5
77093
77094   ac_header_preproc=no
77095 fi
77096 rm -f conftest.err conftest.$ac_ext
77097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77098 echo "${ECHO_T}$ac_header_preproc" >&6
77099
77100 # So?  What about this header?
77101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77102   yes:no: )
77103     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77105     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77106 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77107     ac_header_preproc=yes
77108     ;;
77109   no:yes:* )
77110     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77111 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77112     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
77113 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
77114     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77115 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77116     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
77117 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
77118     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77119 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77120     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77121 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77122     (
77123       cat <<\_ASBOX
77124 ## ----------------------------------------- ##
77125 ## Report this to the package-unused lists.  ##
77126 ## ----------------------------------------- ##
77127 _ASBOX
77128     ) |
77129       sed "s/^/$as_me: WARNING:     /" >&2
77130     ;;
77131 esac
77132 echo "$as_me:$LINENO: checking for $ac_header" >&5
77133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77135   echo $ECHO_N "(cached) $ECHO_C" >&6
77136 else
77137   eval "$as_ac_Header=\$ac_header_preproc"
77138 fi
77139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77141
77142 fi
77143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77144   cat >>confdefs.h <<_ACEOF
77145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77146 _ACEOF
77147
77148 fi
77149
77150 done
77151
77152     SECTION_FLAGS='-ffunction-sections -fdata-sections'
77153
77154
77155   # If we're not using GNU ld, then there's no point in even trying these
77156   # tests.  Check for that first.  We should have already tested for gld
77157   # by now (in libtool), but require it now just to be safe...
77158   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77159   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77160
77161
77162
77163   # The name set by libtool depends on the version of libtool.  Shame on us
77164   # for depending on an impl detail, but c'est la vie.  Older versions used
77165   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77166   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77167   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
77168   # set (hence we're using an older libtool), then set it.
77169   if test x${with_gnu_ld+set} != xset; then
77170     if test x${ac_cv_prog_gnu_ld+set} != xset; then
77171       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
77172       with_gnu_ld=no
77173     else
77174       with_gnu_ld=$ac_cv_prog_gnu_ld
77175     fi
77176   fi
77177
77178   # Start by getting the version number.  I think the libtool test already
77179   # does some of this, but throws away the result.
77180
77181   ldver=`$LD --version 2>/dev/null | head -1 | \
77182          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77183
77184   glibcxx_gnu_ld_version=`echo $ldver | \
77185          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77186
77187   # Set --gc-sections.
77188   if test "$with_gnu_ld" = "notbroken"; then
77189     # GNU ld it is!  Joy and bunny rabbits!
77190
77191     # All these tests are for C++; save the language and the compiler flags.
77192     # Need to do this so that g++ won't try to link in libstdc++
77193     ac_test_CFLAGS="${CFLAGS+set}"
77194     ac_save_CFLAGS="$CFLAGS"
77195     CFLAGS='-x c++  -Wl,--gc-sections'
77196
77197     # Check for -Wl,--gc-sections
77198     # XXX This test is broken at the moment, as symbols required for linking
77199     # are now in libsupc++ (not built yet).  In addition, this test has
77200     # cored on solaris in the past.  In addition, --gc-sections doesn't
77201     # really work at the moment (keeps on discarding used sections, first
77202     # .eh_frame and now some of the glibc sections for iconv).
77203     # Bzzzzt.  Thanks for playing, maybe next time.
77204     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77205 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77206     if test "$cross_compiling" = yes; then
77207   ac_sectionLDflags=yes
77208 else
77209   cat >conftest.$ac_ext <<_ACEOF
77210 /* confdefs.h.  */
77211 _ACEOF
77212 cat confdefs.h >>conftest.$ac_ext
77213 cat >>conftest.$ac_ext <<_ACEOF
77214 /* end confdefs.h.  */
77215
77216      int main(void)
77217      {
77218        try { throw 1; }
77219        catch (...) { };
77220        return 0;
77221      }
77222
77223 _ACEOF
77224 rm -f conftest$ac_exeext
77225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77226   (eval $ac_link) 2>&5
77227   ac_status=$?
77228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77229   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77231   (eval $ac_try) 2>&5
77232   ac_status=$?
77233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77234   (exit $ac_status); }; }; then
77235   ac_sectionLDflags=yes
77236 else
77237   echo "$as_me: program exited with status $ac_status" >&5
77238 echo "$as_me: failed program was:" >&5
77239 sed 's/^/| /' conftest.$ac_ext >&5
77240
77241 ( exit $ac_status )
77242 ac_sectionLDflags=no
77243 fi
77244 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77245 fi
77246     if test "$ac_test_CFLAGS" = set; then
77247       CFLAGS="$ac_save_CFLAGS"
77248     else
77249       # this is the suspicious part
77250       CFLAGS=''
77251     fi
77252     if test "$ac_sectionLDflags" = "yes"; then
77253       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77254     fi
77255     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77256 echo "${ECHO_T}$ac_sectionLDflags" >&6
77257   fi
77258
77259   # Set linker optimization flags.
77260   if test x"$with_gnu_ld" = x"yes"; then
77261     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77262   fi
77263
77264
77265
77266
77267
77268
77269 echo "$as_me:$LINENO: checking for main in -lm" >&5
77270 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77271 if test "${ac_cv_lib_m_main+set}" = set; then
77272   echo $ECHO_N "(cached) $ECHO_C" >&6
77273 else
77274   ac_check_lib_save_LIBS=$LIBS
77275 LIBS="-lm  $LIBS"
77276 if test x$gcc_no_link = xyes; then
77277   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77279    { (exit 1); exit 1; }; }
77280 fi
77281 cat >conftest.$ac_ext <<_ACEOF
77282 /* confdefs.h.  */
77283 _ACEOF
77284 cat confdefs.h >>conftest.$ac_ext
77285 cat >>conftest.$ac_ext <<_ACEOF
77286 /* end confdefs.h.  */
77287
77288
77289 int
77290 main ()
77291 {
77292 main ();
77293   ;
77294   return 0;
77295 }
77296 _ACEOF
77297 rm -f conftest.$ac_objext conftest$ac_exeext
77298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77299   (eval $ac_link) 2>conftest.er1
77300   ac_status=$?
77301   grep -v '^ *+' conftest.er1 >conftest.err
77302   rm -f conftest.er1
77303   cat conftest.err >&5
77304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77305   (exit $ac_status); } &&
77306          { ac_try='test -z "$ac_c_werror_flag"
77307                          || test ! -s conftest.err'
77308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77309   (eval $ac_try) 2>&5
77310   ac_status=$?
77311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77312   (exit $ac_status); }; } &&
77313          { ac_try='test -s conftest$ac_exeext'
77314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77315   (eval $ac_try) 2>&5
77316   ac_status=$?
77317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77318   (exit $ac_status); }; }; then
77319   ac_cv_lib_m_main=yes
77320 else
77321   echo "$as_me: failed program was:" >&5
77322 sed 's/^/| /' conftest.$ac_ext >&5
77323
77324 ac_cv_lib_m_main=no
77325 fi
77326 rm -f conftest.err conftest.$ac_objext \
77327       conftest$ac_exeext conftest.$ac_ext
77328 LIBS=$ac_check_lib_save_LIBS
77329 fi
77330 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77331 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77332 if test $ac_cv_lib_m_main = yes; then
77333   cat >>confdefs.h <<_ACEOF
77334 #define HAVE_LIBM 1
77335 _ACEOF
77336
77337   LIBS="-lm $LIBS"
77338
77339 fi
77340
77341
77342 for ac_func in copysignf
77343 do
77344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77345 echo "$as_me:$LINENO: checking for $ac_func" >&5
77346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77347 if eval "test \"\${$as_ac_var+set}\" = set"; then
77348   echo $ECHO_N "(cached) $ECHO_C" >&6
77349 else
77350   if test x$gcc_no_link = xyes; then
77351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77353    { (exit 1); exit 1; }; }
77354 fi
77355 cat >conftest.$ac_ext <<_ACEOF
77356 /* confdefs.h.  */
77357 _ACEOF
77358 cat confdefs.h >>conftest.$ac_ext
77359 cat >>conftest.$ac_ext <<_ACEOF
77360 /* end confdefs.h.  */
77361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77363 #define $ac_func innocuous_$ac_func
77364
77365 /* System header to define __stub macros and hopefully few prototypes,
77366     which can conflict with char $ac_func (); below.
77367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77368     <limits.h> exists even on freestanding compilers.  */
77369
77370 #ifdef __STDC__
77371 # include <limits.h>
77372 #else
77373 # include <assert.h>
77374 #endif
77375
77376 #undef $ac_func
77377
77378 /* Override any gcc2 internal prototype to avoid an error.  */
77379 #ifdef __cplusplus
77380 extern "C"
77381 {
77382 #endif
77383 /* We use char because int might match the return type of a gcc2
77384    builtin and then its argument prototype would still apply.  */
77385 char $ac_func ();
77386 /* The GNU C library defines this for functions which it implements
77387     to always fail with ENOSYS.  Some functions are actually named
77388     something starting with __ and the normal name is an alias.  */
77389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77390 choke me
77391 #else
77392 char (*f) () = $ac_func;
77393 #endif
77394 #ifdef __cplusplus
77395 }
77396 #endif
77397
77398 int
77399 main ()
77400 {
77401 return f != $ac_func;
77402   ;
77403   return 0;
77404 }
77405 _ACEOF
77406 rm -f conftest.$ac_objext conftest$ac_exeext
77407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77408   (eval $ac_link) 2>conftest.er1
77409   ac_status=$?
77410   grep -v '^ *+' conftest.er1 >conftest.err
77411   rm -f conftest.er1
77412   cat conftest.err >&5
77413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77414   (exit $ac_status); } &&
77415          { ac_try='test -z "$ac_c_werror_flag"
77416                          || test ! -s conftest.err'
77417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77418   (eval $ac_try) 2>&5
77419   ac_status=$?
77420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77421   (exit $ac_status); }; } &&
77422          { ac_try='test -s conftest$ac_exeext'
77423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77424   (eval $ac_try) 2>&5
77425   ac_status=$?
77426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77427   (exit $ac_status); }; }; then
77428   eval "$as_ac_var=yes"
77429 else
77430   echo "$as_me: failed program was:" >&5
77431 sed 's/^/| /' conftest.$ac_ext >&5
77432
77433 eval "$as_ac_var=no"
77434 fi
77435 rm -f conftest.err conftest.$ac_objext \
77436       conftest$ac_exeext conftest.$ac_ext
77437 fi
77438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77440 if test `eval echo '${'$as_ac_var'}'` = yes; then
77441   cat >>confdefs.h <<_ACEOF
77442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77443 _ACEOF
77444
77445 else
77446   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77447 fi
77448 done
77449
77450
77451
77452 for ac_func in __signbit
77453 do
77454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77455 echo "$as_me:$LINENO: checking for $ac_func" >&5
77456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77457 if eval "test \"\${$as_ac_var+set}\" = set"; then
77458   echo $ECHO_N "(cached) $ECHO_C" >&6
77459 else
77460   if test x$gcc_no_link = xyes; then
77461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77463    { (exit 1); exit 1; }; }
77464 fi
77465 cat >conftest.$ac_ext <<_ACEOF
77466 /* confdefs.h.  */
77467 _ACEOF
77468 cat confdefs.h >>conftest.$ac_ext
77469 cat >>conftest.$ac_ext <<_ACEOF
77470 /* end confdefs.h.  */
77471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77473 #define $ac_func innocuous_$ac_func
77474
77475 /* System header to define __stub macros and hopefully few prototypes,
77476     which can conflict with char $ac_func (); below.
77477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77478     <limits.h> exists even on freestanding compilers.  */
77479
77480 #ifdef __STDC__
77481 # include <limits.h>
77482 #else
77483 # include <assert.h>
77484 #endif
77485
77486 #undef $ac_func
77487
77488 /* Override any gcc2 internal prototype to avoid an error.  */
77489 #ifdef __cplusplus
77490 extern "C"
77491 {
77492 #endif
77493 /* We use char because int might match the return type of a gcc2
77494    builtin and then its argument prototype would still apply.  */
77495 char $ac_func ();
77496 /* The GNU C library defines this for functions which it implements
77497     to always fail with ENOSYS.  Some functions are actually named
77498     something starting with __ and the normal name is an alias.  */
77499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77500 choke me
77501 #else
77502 char (*f) () = $ac_func;
77503 #endif
77504 #ifdef __cplusplus
77505 }
77506 #endif
77507
77508 int
77509 main ()
77510 {
77511 return f != $ac_func;
77512   ;
77513   return 0;
77514 }
77515 _ACEOF
77516 rm -f conftest.$ac_objext conftest$ac_exeext
77517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77518   (eval $ac_link) 2>conftest.er1
77519   ac_status=$?
77520   grep -v '^ *+' conftest.er1 >conftest.err
77521   rm -f conftest.er1
77522   cat conftest.err >&5
77523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77524   (exit $ac_status); } &&
77525          { ac_try='test -z "$ac_c_werror_flag"
77526                          || test ! -s conftest.err'
77527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77528   (eval $ac_try) 2>&5
77529   ac_status=$?
77530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77531   (exit $ac_status); }; } &&
77532          { ac_try='test -s conftest$ac_exeext'
77533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77534   (eval $ac_try) 2>&5
77535   ac_status=$?
77536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77537   (exit $ac_status); }; }; then
77538   eval "$as_ac_var=yes"
77539 else
77540   echo "$as_me: failed program was:" >&5
77541 sed 's/^/| /' conftest.$ac_ext >&5
77542
77543 eval "$as_ac_var=no"
77544 fi
77545 rm -f conftest.err conftest.$ac_objext \
77546       conftest$ac_exeext conftest.$ac_ext
77547 fi
77548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77550 if test `eval echo '${'$as_ac_var'}'` = yes; then
77551   cat >>confdefs.h <<_ACEOF
77552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77553 _ACEOF
77554
77555 else
77556   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77557 fi
77558 done
77559
77560
77561
77562 for ac_func in __signbitf
77563 do
77564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77565 echo "$as_me:$LINENO: checking for $ac_func" >&5
77566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77567 if eval "test \"\${$as_ac_var+set}\" = set"; then
77568   echo $ECHO_N "(cached) $ECHO_C" >&6
77569 else
77570   if test x$gcc_no_link = xyes; then
77571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77573    { (exit 1); exit 1; }; }
77574 fi
77575 cat >conftest.$ac_ext <<_ACEOF
77576 /* confdefs.h.  */
77577 _ACEOF
77578 cat confdefs.h >>conftest.$ac_ext
77579 cat >>conftest.$ac_ext <<_ACEOF
77580 /* end confdefs.h.  */
77581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77582    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77583 #define $ac_func innocuous_$ac_func
77584
77585 /* System header to define __stub macros and hopefully few prototypes,
77586     which can conflict with char $ac_func (); below.
77587     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77588     <limits.h> exists even on freestanding compilers.  */
77589
77590 #ifdef __STDC__
77591 # include <limits.h>
77592 #else
77593 # include <assert.h>
77594 #endif
77595
77596 #undef $ac_func
77597
77598 /* Override any gcc2 internal prototype to avoid an error.  */
77599 #ifdef __cplusplus
77600 extern "C"
77601 {
77602 #endif
77603 /* We use char because int might match the return type of a gcc2
77604    builtin and then its argument prototype would still apply.  */
77605 char $ac_func ();
77606 /* The GNU C library defines this for functions which it implements
77607     to always fail with ENOSYS.  Some functions are actually named
77608     something starting with __ and the normal name is an alias.  */
77609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77610 choke me
77611 #else
77612 char (*f) () = $ac_func;
77613 #endif
77614 #ifdef __cplusplus
77615 }
77616 #endif
77617
77618 int
77619 main ()
77620 {
77621 return f != $ac_func;
77622   ;
77623   return 0;
77624 }
77625 _ACEOF
77626 rm -f conftest.$ac_objext conftest$ac_exeext
77627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77628   (eval $ac_link) 2>conftest.er1
77629   ac_status=$?
77630   grep -v '^ *+' conftest.er1 >conftest.err
77631   rm -f conftest.er1
77632   cat conftest.err >&5
77633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77634   (exit $ac_status); } &&
77635          { ac_try='test -z "$ac_c_werror_flag"
77636                          || test ! -s conftest.err'
77637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77638   (eval $ac_try) 2>&5
77639   ac_status=$?
77640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77641   (exit $ac_status); }; } &&
77642          { ac_try='test -s conftest$ac_exeext'
77643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77644   (eval $ac_try) 2>&5
77645   ac_status=$?
77646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77647   (exit $ac_status); }; }; then
77648   eval "$as_ac_var=yes"
77649 else
77650   echo "$as_me: failed program was:" >&5
77651 sed 's/^/| /' conftest.$ac_ext >&5
77652
77653 eval "$as_ac_var=no"
77654 fi
77655 rm -f conftest.err conftest.$ac_objext \
77656       conftest$ac_exeext conftest.$ac_ext
77657 fi
77658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77660 if test `eval echo '${'$as_ac_var'}'` = yes; then
77661   cat >>confdefs.h <<_ACEOF
77662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77663 _ACEOF
77664
77665 else
77666   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77667 fi
77668 done
77669
77670
77671           if test x$ac_cv_func_copysignl = x"yes"; then
77672
77673 for ac_func in __signbitl
77674 do
77675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77676 echo "$as_me:$LINENO: checking for $ac_func" >&5
77677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77678 if eval "test \"\${$as_ac_var+set}\" = set"; then
77679   echo $ECHO_N "(cached) $ECHO_C" >&6
77680 else
77681   if test x$gcc_no_link = xyes; then
77682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77684    { (exit 1); exit 1; }; }
77685 fi
77686 cat >conftest.$ac_ext <<_ACEOF
77687 /* confdefs.h.  */
77688 _ACEOF
77689 cat confdefs.h >>conftest.$ac_ext
77690 cat >>conftest.$ac_ext <<_ACEOF
77691 /* end confdefs.h.  */
77692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77693    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77694 #define $ac_func innocuous_$ac_func
77695
77696 /* System header to define __stub macros and hopefully few prototypes,
77697     which can conflict with char $ac_func (); below.
77698     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77699     <limits.h> exists even on freestanding compilers.  */
77700
77701 #ifdef __STDC__
77702 # include <limits.h>
77703 #else
77704 # include <assert.h>
77705 #endif
77706
77707 #undef $ac_func
77708
77709 /* Override any gcc2 internal prototype to avoid an error.  */
77710 #ifdef __cplusplus
77711 extern "C"
77712 {
77713 #endif
77714 /* We use char because int might match the return type of a gcc2
77715    builtin and then its argument prototype would still apply.  */
77716 char $ac_func ();
77717 /* The GNU C library defines this for functions which it implements
77718     to always fail with ENOSYS.  Some functions are actually named
77719     something starting with __ and the normal name is an alias.  */
77720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77721 choke me
77722 #else
77723 char (*f) () = $ac_func;
77724 #endif
77725 #ifdef __cplusplus
77726 }
77727 #endif
77728
77729 int
77730 main ()
77731 {
77732 return f != $ac_func;
77733   ;
77734   return 0;
77735 }
77736 _ACEOF
77737 rm -f conftest.$ac_objext conftest$ac_exeext
77738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77739   (eval $ac_link) 2>conftest.er1
77740   ac_status=$?
77741   grep -v '^ *+' conftest.er1 >conftest.err
77742   rm -f conftest.er1
77743   cat conftest.err >&5
77744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77745   (exit $ac_status); } &&
77746          { ac_try='test -z "$ac_c_werror_flag"
77747                          || test ! -s conftest.err'
77748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77749   (eval $ac_try) 2>&5
77750   ac_status=$?
77751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77752   (exit $ac_status); }; } &&
77753          { ac_try='test -s conftest$ac_exeext'
77754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77755   (eval $ac_try) 2>&5
77756   ac_status=$?
77757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77758   (exit $ac_status); }; }; then
77759   eval "$as_ac_var=yes"
77760 else
77761   echo "$as_me: failed program was:" >&5
77762 sed 's/^/| /' conftest.$ac_ext >&5
77763
77764 eval "$as_ac_var=no"
77765 fi
77766 rm -f conftest.err conftest.$ac_objext \
77767       conftest$ac_exeext conftest.$ac_ext
77768 fi
77769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77771 if test `eval echo '${'$as_ac_var'}'` = yes; then
77772   cat >>confdefs.h <<_ACEOF
77773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77774 _ACEOF
77775
77776 else
77777   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77778 fi
77779 done
77780
77781   fi
77782
77783   # Used in libmath/Makefile.am.
77784   if test -n "$LIBMATHOBJS"; then
77785     need_libmath=yes
77786   fi
77787
77788
77789
77790
77791   enable_iconv=no
77792   # Only continue checking if the ISO C99 headers exist and support is on.
77793   if test x"$enable_wchar_t" = xyes; then
77794
77795     # Use iconv for wchar_t to char conversions. As such, check for
77796     # X/Open Portability Guide, version 2 features (XPG2).
77797     if test "${ac_cv_header_iconv_h+set}" = set; then
77798   echo "$as_me:$LINENO: checking for iconv.h" >&5
77799 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77800 if test "${ac_cv_header_iconv_h+set}" = set; then
77801   echo $ECHO_N "(cached) $ECHO_C" >&6
77802 fi
77803 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77804 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77805 else
77806   # Is the header compilable?
77807 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77808 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77809 cat >conftest.$ac_ext <<_ACEOF
77810 /* confdefs.h.  */
77811 _ACEOF
77812 cat confdefs.h >>conftest.$ac_ext
77813 cat >>conftest.$ac_ext <<_ACEOF
77814 /* end confdefs.h.  */
77815 $ac_includes_default
77816 #include <iconv.h>
77817 _ACEOF
77818 rm -f conftest.$ac_objext
77819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77820   (eval $ac_compile) 2>conftest.er1
77821   ac_status=$?
77822   grep -v '^ *+' conftest.er1 >conftest.err
77823   rm -f conftest.er1
77824   cat conftest.err >&5
77825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77826   (exit $ac_status); } &&
77827          { ac_try='test -z "$ac_c_werror_flag"
77828                          || test ! -s conftest.err'
77829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77830   (eval $ac_try) 2>&5
77831   ac_status=$?
77832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77833   (exit $ac_status); }; } &&
77834          { ac_try='test -s conftest.$ac_objext'
77835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77836   (eval $ac_try) 2>&5
77837   ac_status=$?
77838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77839   (exit $ac_status); }; }; then
77840   ac_header_compiler=yes
77841 else
77842   echo "$as_me: failed program was:" >&5
77843 sed 's/^/| /' conftest.$ac_ext >&5
77844
77845 ac_header_compiler=no
77846 fi
77847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77849 echo "${ECHO_T}$ac_header_compiler" >&6
77850
77851 # Is the header present?
77852 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77853 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77854 cat >conftest.$ac_ext <<_ACEOF
77855 /* confdefs.h.  */
77856 _ACEOF
77857 cat confdefs.h >>conftest.$ac_ext
77858 cat >>conftest.$ac_ext <<_ACEOF
77859 /* end confdefs.h.  */
77860 #include <iconv.h>
77861 _ACEOF
77862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77863   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77864   ac_status=$?
77865   grep -v '^ *+' conftest.er1 >conftest.err
77866   rm -f conftest.er1
77867   cat conftest.err >&5
77868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77869   (exit $ac_status); } >/dev/null; then
77870   if test -s conftest.err; then
77871     ac_cpp_err=$ac_c_preproc_warn_flag
77872     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77873   else
77874     ac_cpp_err=
77875   fi
77876 else
77877   ac_cpp_err=yes
77878 fi
77879 if test -z "$ac_cpp_err"; then
77880   ac_header_preproc=yes
77881 else
77882   echo "$as_me: failed program was:" >&5
77883 sed 's/^/| /' conftest.$ac_ext >&5
77884
77885   ac_header_preproc=no
77886 fi
77887 rm -f conftest.err conftest.$ac_ext
77888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77889 echo "${ECHO_T}$ac_header_preproc" >&6
77890
77891 # So?  What about this header?
77892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77893   yes:no: )
77894     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77895 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77896     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77897 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77898     ac_header_preproc=yes
77899     ;;
77900   no:yes:* )
77901     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77902 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77903     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
77904 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
77905     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77906 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77907     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
77908 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77909     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77910 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77911     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77912 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77913     (
77914       cat <<\_ASBOX
77915 ## ----------------------------------------- ##
77916 ## Report this to the package-unused lists.  ##
77917 ## ----------------------------------------- ##
77918 _ASBOX
77919     ) |
77920       sed "s/^/$as_me: WARNING:     /" >&2
77921     ;;
77922 esac
77923 echo "$as_me:$LINENO: checking for iconv.h" >&5
77924 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77925 if test "${ac_cv_header_iconv_h+set}" = set; then
77926   echo $ECHO_N "(cached) $ECHO_C" >&6
77927 else
77928   ac_cv_header_iconv_h=$ac_header_preproc
77929 fi
77930 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77931 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77932
77933 fi
77934 if test $ac_cv_header_iconv_h = yes; then
77935   ac_has_iconv_h=yes
77936 else
77937   ac_has_iconv_h=no
77938 fi
77939
77940
77941     if test "${ac_cv_header_langinfo_h+set}" = set; then
77942   echo "$as_me:$LINENO: checking for langinfo.h" >&5
77943 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77944 if test "${ac_cv_header_langinfo_h+set}" = set; then
77945   echo $ECHO_N "(cached) $ECHO_C" >&6
77946 fi
77947 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77948 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77949 else
77950   # Is the header compilable?
77951 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77952 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77953 cat >conftest.$ac_ext <<_ACEOF
77954 /* confdefs.h.  */
77955 _ACEOF
77956 cat confdefs.h >>conftest.$ac_ext
77957 cat >>conftest.$ac_ext <<_ACEOF
77958 /* end confdefs.h.  */
77959 $ac_includes_default
77960 #include <langinfo.h>
77961 _ACEOF
77962 rm -f conftest.$ac_objext
77963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77964   (eval $ac_compile) 2>conftest.er1
77965   ac_status=$?
77966   grep -v '^ *+' conftest.er1 >conftest.err
77967   rm -f conftest.er1
77968   cat conftest.err >&5
77969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77970   (exit $ac_status); } &&
77971          { ac_try='test -z "$ac_c_werror_flag"
77972                          || test ! -s conftest.err'
77973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77974   (eval $ac_try) 2>&5
77975   ac_status=$?
77976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77977   (exit $ac_status); }; } &&
77978          { ac_try='test -s conftest.$ac_objext'
77979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77980   (eval $ac_try) 2>&5
77981   ac_status=$?
77982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77983   (exit $ac_status); }; }; then
77984   ac_header_compiler=yes
77985 else
77986   echo "$as_me: failed program was:" >&5
77987 sed 's/^/| /' conftest.$ac_ext >&5
77988
77989 ac_header_compiler=no
77990 fi
77991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77993 echo "${ECHO_T}$ac_header_compiler" >&6
77994
77995 # Is the header present?
77996 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77997 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77998 cat >conftest.$ac_ext <<_ACEOF
77999 /* confdefs.h.  */
78000 _ACEOF
78001 cat confdefs.h >>conftest.$ac_ext
78002 cat >>conftest.$ac_ext <<_ACEOF
78003 /* end confdefs.h.  */
78004 #include <langinfo.h>
78005 _ACEOF
78006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78007   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78008   ac_status=$?
78009   grep -v '^ *+' conftest.er1 >conftest.err
78010   rm -f conftest.er1
78011   cat conftest.err >&5
78012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78013   (exit $ac_status); } >/dev/null; then
78014   if test -s conftest.err; then
78015     ac_cpp_err=$ac_c_preproc_warn_flag
78016     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78017   else
78018     ac_cpp_err=
78019   fi
78020 else
78021   ac_cpp_err=yes
78022 fi
78023 if test -z "$ac_cpp_err"; then
78024   ac_header_preproc=yes
78025 else
78026   echo "$as_me: failed program was:" >&5
78027 sed 's/^/| /' conftest.$ac_ext >&5
78028
78029   ac_header_preproc=no
78030 fi
78031 rm -f conftest.err conftest.$ac_ext
78032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78033 echo "${ECHO_T}$ac_header_preproc" >&6
78034
78035 # So?  What about this header?
78036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78037   yes:no: )
78038     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78039 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78040     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78041 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78042     ac_header_preproc=yes
78043     ;;
78044   no:yes:* )
78045     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78046 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78047     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
78048 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
78049     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78050 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78051     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
78052 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
78053     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78054 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78055     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78056 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78057     (
78058       cat <<\_ASBOX
78059 ## ----------------------------------------- ##
78060 ## Report this to the package-unused lists.  ##
78061 ## ----------------------------------------- ##
78062 _ASBOX
78063     ) |
78064       sed "s/^/$as_me: WARNING:     /" >&2
78065     ;;
78066 esac
78067 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78068 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78069 if test "${ac_cv_header_langinfo_h+set}" = set; then
78070   echo $ECHO_N "(cached) $ECHO_C" >&6
78071 else
78072   ac_cv_header_langinfo_h=$ac_header_preproc
78073 fi
78074 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78075 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78076
78077 fi
78078 if test $ac_cv_header_langinfo_h = yes; then
78079   ac_has_langinfo_h=yes
78080 else
78081   ac_has_langinfo_h=no
78082 fi
78083
78084
78085
78086     # Check for existence of libiconv.a providing XPG2 wchar_t support.
78087     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78088 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78089 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78090   echo $ECHO_N "(cached) $ECHO_C" >&6
78091 else
78092   ac_check_lib_save_LIBS=$LIBS
78093 LIBS="-liconv  $LIBS"
78094 if test x$gcc_no_link = xyes; then
78095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78097    { (exit 1); exit 1; }; }
78098 fi
78099 cat >conftest.$ac_ext <<_ACEOF
78100 /* confdefs.h.  */
78101 _ACEOF
78102 cat confdefs.h >>conftest.$ac_ext
78103 cat >>conftest.$ac_ext <<_ACEOF
78104 /* end confdefs.h.  */
78105
78106 /* Override any gcc2 internal prototype to avoid an error.  */
78107 #ifdef __cplusplus
78108 extern "C"
78109 #endif
78110 /* We use char because int might match the return type of a gcc2
78111    builtin and then its argument prototype would still apply.  */
78112 char iconv ();
78113 int
78114 main ()
78115 {
78116 iconv ();
78117   ;
78118   return 0;
78119 }
78120 _ACEOF
78121 rm -f conftest.$ac_objext conftest$ac_exeext
78122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78123   (eval $ac_link) 2>conftest.er1
78124   ac_status=$?
78125   grep -v '^ *+' conftest.er1 >conftest.err
78126   rm -f conftest.er1
78127   cat conftest.err >&5
78128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78129   (exit $ac_status); } &&
78130          { ac_try='test -z "$ac_c_werror_flag"
78131                          || test ! -s conftest.err'
78132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78133   (eval $ac_try) 2>&5
78134   ac_status=$?
78135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78136   (exit $ac_status); }; } &&
78137          { ac_try='test -s conftest$ac_exeext'
78138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78139   (eval $ac_try) 2>&5
78140   ac_status=$?
78141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78142   (exit $ac_status); }; }; then
78143   ac_cv_lib_iconv_iconv=yes
78144 else
78145   echo "$as_me: failed program was:" >&5
78146 sed 's/^/| /' conftest.$ac_ext >&5
78147
78148 ac_cv_lib_iconv_iconv=no
78149 fi
78150 rm -f conftest.err conftest.$ac_objext \
78151       conftest$ac_exeext conftest.$ac_ext
78152 LIBS=$ac_check_lib_save_LIBS
78153 fi
78154 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78155 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78156 if test $ac_cv_lib_iconv_iconv = yes; then
78157   LIBICONV="-liconv"
78158 fi
78159
78160     ac_save_LIBS="$LIBS"
78161     LIBS="$LIBS $LIBICONV"
78162
78163
78164
78165
78166
78167
78168 for ac_func in iconv_open iconv_close iconv nl_langinfo
78169 do
78170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78171 echo "$as_me:$LINENO: checking for $ac_func" >&5
78172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78173 if eval "test \"\${$as_ac_var+set}\" = set"; then
78174   echo $ECHO_N "(cached) $ECHO_C" >&6
78175 else
78176   if test x$gcc_no_link = xyes; then
78177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78179    { (exit 1); exit 1; }; }
78180 fi
78181 cat >conftest.$ac_ext <<_ACEOF
78182 /* confdefs.h.  */
78183 _ACEOF
78184 cat confdefs.h >>conftest.$ac_ext
78185 cat >>conftest.$ac_ext <<_ACEOF
78186 /* end confdefs.h.  */
78187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78189 #define $ac_func innocuous_$ac_func
78190
78191 /* System header to define __stub macros and hopefully few prototypes,
78192     which can conflict with char $ac_func (); below.
78193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78194     <limits.h> exists even on freestanding compilers.  */
78195
78196 #ifdef __STDC__
78197 # include <limits.h>
78198 #else
78199 # include <assert.h>
78200 #endif
78201
78202 #undef $ac_func
78203
78204 /* Override any gcc2 internal prototype to avoid an error.  */
78205 #ifdef __cplusplus
78206 extern "C"
78207 {
78208 #endif
78209 /* We use char because int might match the return type of a gcc2
78210    builtin and then its argument prototype would still apply.  */
78211 char $ac_func ();
78212 /* The GNU C library defines this for functions which it implements
78213     to always fail with ENOSYS.  Some functions are actually named
78214     something starting with __ and the normal name is an alias.  */
78215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78216 choke me
78217 #else
78218 char (*f) () = $ac_func;
78219 #endif
78220 #ifdef __cplusplus
78221 }
78222 #endif
78223
78224 int
78225 main ()
78226 {
78227 return f != $ac_func;
78228   ;
78229   return 0;
78230 }
78231 _ACEOF
78232 rm -f conftest.$ac_objext conftest$ac_exeext
78233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78234   (eval $ac_link) 2>conftest.er1
78235   ac_status=$?
78236   grep -v '^ *+' conftest.er1 >conftest.err
78237   rm -f conftest.er1
78238   cat conftest.err >&5
78239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78240   (exit $ac_status); } &&
78241          { ac_try='test -z "$ac_c_werror_flag"
78242                          || test ! -s conftest.err'
78243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78244   (eval $ac_try) 2>&5
78245   ac_status=$?
78246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78247   (exit $ac_status); }; } &&
78248          { ac_try='test -s conftest$ac_exeext'
78249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78250   (eval $ac_try) 2>&5
78251   ac_status=$?
78252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78253   (exit $ac_status); }; }; then
78254   eval "$as_ac_var=yes"
78255 else
78256   echo "$as_me: failed program was:" >&5
78257 sed 's/^/| /' conftest.$ac_ext >&5
78258
78259 eval "$as_ac_var=no"
78260 fi
78261 rm -f conftest.err conftest.$ac_objext \
78262       conftest$ac_exeext conftest.$ac_ext
78263 fi
78264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78266 if test `eval echo '${'$as_ac_var'}'` = yes; then
78267   cat >>confdefs.h <<_ACEOF
78268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78269 _ACEOF
78270  ac_XPG2funcs=yes
78271 else
78272   ac_XPG2funcs=no
78273 fi
78274 done
78275
78276
78277     LIBS="$ac_save_LIBS"
78278
78279     if test x"$ac_has_iconv_h" = xyes &&
78280        test x"$ac_has_langinfo_h" = xyes &&
78281        test x"$ac_XPG2funcs" = xyes;
78282     then
78283
78284 cat >>confdefs.h <<\_ACEOF
78285 #define _GLIBCXX_USE_ICONV 1
78286 _ACEOF
78287
78288       enable_iconv=yes
78289     fi
78290   fi
78291   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78292 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78293   echo "$as_me:$LINENO: result: $enable_iconv" >&5
78294 echo "${ECHO_T}$enable_iconv" >&6
78295
78296
78297     # For LFS.
78298     cat >>confdefs.h <<\_ACEOF
78299 #define HAVE_INT64_T 1
78300 _ACEOF
78301
78302     case "$target" in
78303       *-uclinux*)
78304         # Don't enable LFS with uClibc
78305         ;;
78306       *)
78307         cat >>confdefs.h <<\_ACEOF
78308 #define _GLIBCXX_USE_LFS 1
78309 _ACEOF
78310
78311     esac
78312
78313     # For showmanyc_helper().
78314
78315
78316 for ac_header in sys/ioctl.h sys/filio.h
78317 do
78318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78320   echo "$as_me:$LINENO: checking for $ac_header" >&5
78321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78323   echo $ECHO_N "(cached) $ECHO_C" >&6
78324 fi
78325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78327 else
78328   # Is the header compilable?
78329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78331 cat >conftest.$ac_ext <<_ACEOF
78332 /* confdefs.h.  */
78333 _ACEOF
78334 cat confdefs.h >>conftest.$ac_ext
78335 cat >>conftest.$ac_ext <<_ACEOF
78336 /* end confdefs.h.  */
78337 $ac_includes_default
78338 #include <$ac_header>
78339 _ACEOF
78340 rm -f conftest.$ac_objext
78341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78342   (eval $ac_compile) 2>conftest.er1
78343   ac_status=$?
78344   grep -v '^ *+' conftest.er1 >conftest.err
78345   rm -f conftest.er1
78346   cat conftest.err >&5
78347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78348   (exit $ac_status); } &&
78349          { ac_try='test -z "$ac_c_werror_flag"
78350                          || test ! -s conftest.err'
78351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78352   (eval $ac_try) 2>&5
78353   ac_status=$?
78354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78355   (exit $ac_status); }; } &&
78356          { ac_try='test -s conftest.$ac_objext'
78357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78358   (eval $ac_try) 2>&5
78359   ac_status=$?
78360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78361   (exit $ac_status); }; }; then
78362   ac_header_compiler=yes
78363 else
78364   echo "$as_me: failed program was:" >&5
78365 sed 's/^/| /' conftest.$ac_ext >&5
78366
78367 ac_header_compiler=no
78368 fi
78369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78371 echo "${ECHO_T}$ac_header_compiler" >&6
78372
78373 # Is the header present?
78374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78376 cat >conftest.$ac_ext <<_ACEOF
78377 /* confdefs.h.  */
78378 _ACEOF
78379 cat confdefs.h >>conftest.$ac_ext
78380 cat >>conftest.$ac_ext <<_ACEOF
78381 /* end confdefs.h.  */
78382 #include <$ac_header>
78383 _ACEOF
78384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78385   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78386   ac_status=$?
78387   grep -v '^ *+' conftest.er1 >conftest.err
78388   rm -f conftest.er1
78389   cat conftest.err >&5
78390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78391   (exit $ac_status); } >/dev/null; then
78392   if test -s conftest.err; then
78393     ac_cpp_err=$ac_c_preproc_warn_flag
78394     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78395   else
78396     ac_cpp_err=
78397   fi
78398 else
78399   ac_cpp_err=yes
78400 fi
78401 if test -z "$ac_cpp_err"; then
78402   ac_header_preproc=yes
78403 else
78404   echo "$as_me: failed program was:" >&5
78405 sed 's/^/| /' conftest.$ac_ext >&5
78406
78407   ac_header_preproc=no
78408 fi
78409 rm -f conftest.err conftest.$ac_ext
78410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78411 echo "${ECHO_T}$ac_header_preproc" >&6
78412
78413 # So?  What about this header?
78414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78415   yes:no: )
78416     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78418     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78420     ac_header_preproc=yes
78421     ;;
78422   no:yes:* )
78423     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78425     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78426 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78427     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78429     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78430 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78431     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78433     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78435     (
78436       cat <<\_ASBOX
78437 ## ----------------------------------------- ##
78438 ## Report this to the package-unused lists.  ##
78439 ## ----------------------------------------- ##
78440 _ASBOX
78441     ) |
78442       sed "s/^/$as_me: WARNING:     /" >&2
78443     ;;
78444 esac
78445 echo "$as_me:$LINENO: checking for $ac_header" >&5
78446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78448   echo $ECHO_N "(cached) $ECHO_C" >&6
78449 else
78450   eval "$as_ac_Header=\$ac_header_preproc"
78451 fi
78452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78454
78455 fi
78456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78457   cat >>confdefs.h <<_ACEOF
78458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78459 _ACEOF
78460
78461 fi
78462
78463 done
78464
78465
78466   echo "$as_me:$LINENO: checking for poll" >&5
78467 echo $ECHO_N "checking for poll... $ECHO_C" >&6
78468   if test "${glibcxx_cv_POLL+set}" = set; then
78469   echo $ECHO_N "(cached) $ECHO_C" >&6
78470 else
78471
78472     if test x$gcc_no_link = xyes; then
78473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78475    { (exit 1); exit 1; }; }
78476 fi
78477 cat >conftest.$ac_ext <<_ACEOF
78478 /* confdefs.h.  */
78479 _ACEOF
78480 cat confdefs.h >>conftest.$ac_ext
78481 cat >>conftest.$ac_ext <<_ACEOF
78482 /* end confdefs.h.  */
78483 #include <poll.h>
78484 int
78485 main ()
78486 {
78487 struct pollfd pfd[1];
78488        pfd[0].events = POLLIN;
78489        poll(pfd, 1, 0);
78490   ;
78491   return 0;
78492 }
78493 _ACEOF
78494 rm -f conftest.$ac_objext conftest$ac_exeext
78495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78496   (eval $ac_link) 2>conftest.er1
78497   ac_status=$?
78498   grep -v '^ *+' conftest.er1 >conftest.err
78499   rm -f conftest.er1
78500   cat conftest.err >&5
78501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78502   (exit $ac_status); } &&
78503          { ac_try='test -z "$ac_c_werror_flag"
78504                          || test ! -s conftest.err'
78505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78506   (eval $ac_try) 2>&5
78507   ac_status=$?
78508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78509   (exit $ac_status); }; } &&
78510          { ac_try='test -s conftest$ac_exeext'
78511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78512   (eval $ac_try) 2>&5
78513   ac_status=$?
78514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78515   (exit $ac_status); }; }; then
78516   glibcxx_cv_POLL=yes
78517 else
78518   echo "$as_me: failed program was:" >&5
78519 sed 's/^/| /' conftest.$ac_ext >&5
78520
78521 glibcxx_cv_POLL=no
78522 fi
78523 rm -f conftest.err conftest.$ac_objext \
78524       conftest$ac_exeext conftest.$ac_ext
78525
78526 fi
78527
78528   if test $glibcxx_cv_POLL = yes; then
78529
78530 cat >>confdefs.h <<\_ACEOF
78531 #define HAVE_POLL 1
78532 _ACEOF
78533
78534   fi
78535   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
78536 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
78537
78538
78539   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
78540 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
78541   if test "${glibcxx_cv_S_ISREG+set}" = set; then
78542   echo $ECHO_N "(cached) $ECHO_C" >&6
78543 else
78544
78545     if test x$gcc_no_link = xyes; then
78546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78548    { (exit 1); exit 1; }; }
78549 fi
78550 cat >conftest.$ac_ext <<_ACEOF
78551 /* confdefs.h.  */
78552 _ACEOF
78553 cat confdefs.h >>conftest.$ac_ext
78554 cat >>conftest.$ac_ext <<_ACEOF
78555 /* end confdefs.h.  */
78556 #include <sys/stat.h>
78557 int
78558 main ()
78559 {
78560 struct stat buffer;
78561        fstat(0, &buffer);
78562        S_ISREG(buffer.st_mode);
78563   ;
78564   return 0;
78565 }
78566 _ACEOF
78567 rm -f conftest.$ac_objext conftest$ac_exeext
78568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78569   (eval $ac_link) 2>conftest.er1
78570   ac_status=$?
78571   grep -v '^ *+' conftest.er1 >conftest.err
78572   rm -f conftest.er1
78573   cat conftest.err >&5
78574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78575   (exit $ac_status); } &&
78576          { ac_try='test -z "$ac_c_werror_flag"
78577                          || test ! -s conftest.err'
78578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78579   (eval $ac_try) 2>&5
78580   ac_status=$?
78581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78582   (exit $ac_status); }; } &&
78583          { ac_try='test -s conftest$ac_exeext'
78584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78585   (eval $ac_try) 2>&5
78586   ac_status=$?
78587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78588   (exit $ac_status); }; }; then
78589   glibcxx_cv_S_ISREG=yes
78590 else
78591   echo "$as_me: failed program was:" >&5
78592 sed 's/^/| /' conftest.$ac_ext >&5
78593
78594 glibcxx_cv_S_ISREG=no
78595 fi
78596 rm -f conftest.err conftest.$ac_objext \
78597       conftest$ac_exeext conftest.$ac_ext
78598
78599 fi
78600
78601   if test "${glibcxx_cv_S_IFREG+set}" = set; then
78602   echo $ECHO_N "(cached) $ECHO_C" >&6
78603 else
78604
78605     if test x$gcc_no_link = xyes; then
78606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78608    { (exit 1); exit 1; }; }
78609 fi
78610 cat >conftest.$ac_ext <<_ACEOF
78611 /* confdefs.h.  */
78612 _ACEOF
78613 cat confdefs.h >>conftest.$ac_ext
78614 cat >>conftest.$ac_ext <<_ACEOF
78615 /* end confdefs.h.  */
78616 #include <sys/stat.h>
78617 int
78618 main ()
78619 {
78620 struct stat buffer;
78621        fstat(0, &buffer);
78622        S_IFREG & buffer.st_mode;
78623   ;
78624   return 0;
78625 }
78626 _ACEOF
78627 rm -f conftest.$ac_objext conftest$ac_exeext
78628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78629   (eval $ac_link) 2>conftest.er1
78630   ac_status=$?
78631   grep -v '^ *+' conftest.er1 >conftest.err
78632   rm -f conftest.er1
78633   cat conftest.err >&5
78634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78635   (exit $ac_status); } &&
78636          { ac_try='test -z "$ac_c_werror_flag"
78637                          || test ! -s conftest.err'
78638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78639   (eval $ac_try) 2>&5
78640   ac_status=$?
78641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78642   (exit $ac_status); }; } &&
78643          { ac_try='test -s conftest$ac_exeext'
78644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78645   (eval $ac_try) 2>&5
78646   ac_status=$?
78647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78648   (exit $ac_status); }; }; then
78649   glibcxx_cv_S_IFREG=yes
78650 else
78651   echo "$as_me: failed program was:" >&5
78652 sed 's/^/| /' conftest.$ac_ext >&5
78653
78654 glibcxx_cv_S_IFREG=no
78655 fi
78656 rm -f conftest.err conftest.$ac_objext \
78657       conftest$ac_exeext conftest.$ac_ext
78658
78659 fi
78660
78661   res=no
78662   if test $glibcxx_cv_S_ISREG = yes; then
78663
78664 cat >>confdefs.h <<\_ACEOF
78665 #define HAVE_S_ISREG 1
78666 _ACEOF
78667
78668     res=S_ISREG
78669   elif test $glibcxx_cv_S_IFREG = yes; then
78670
78671 cat >>confdefs.h <<\_ACEOF
78672 #define HAVE_S_IFREG 1
78673 _ACEOF
78674
78675     res=S_IFREG
78676   fi
78677   echo "$as_me:$LINENO: result: $res" >&5
78678 echo "${ECHO_T}$res" >&6
78679
78680
78681     # For xsputn_2().
78682
78683 for ac_header in sys/uio.h
78684 do
78685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78687   echo "$as_me:$LINENO: checking for $ac_header" >&5
78688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78690   echo $ECHO_N "(cached) $ECHO_C" >&6
78691 fi
78692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78694 else
78695   # Is the header compilable?
78696 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78697 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78698 cat >conftest.$ac_ext <<_ACEOF
78699 /* confdefs.h.  */
78700 _ACEOF
78701 cat confdefs.h >>conftest.$ac_ext
78702 cat >>conftest.$ac_ext <<_ACEOF
78703 /* end confdefs.h.  */
78704 $ac_includes_default
78705 #include <$ac_header>
78706 _ACEOF
78707 rm -f conftest.$ac_objext
78708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78709   (eval $ac_compile) 2>conftest.er1
78710   ac_status=$?
78711   grep -v '^ *+' conftest.er1 >conftest.err
78712   rm -f conftest.er1
78713   cat conftest.err >&5
78714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78715   (exit $ac_status); } &&
78716          { ac_try='test -z "$ac_c_werror_flag"
78717                          || test ! -s conftest.err'
78718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78719   (eval $ac_try) 2>&5
78720   ac_status=$?
78721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78722   (exit $ac_status); }; } &&
78723          { ac_try='test -s conftest.$ac_objext'
78724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78725   (eval $ac_try) 2>&5
78726   ac_status=$?
78727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78728   (exit $ac_status); }; }; then
78729   ac_header_compiler=yes
78730 else
78731   echo "$as_me: failed program was:" >&5
78732 sed 's/^/| /' conftest.$ac_ext >&5
78733
78734 ac_header_compiler=no
78735 fi
78736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78738 echo "${ECHO_T}$ac_header_compiler" >&6
78739
78740 # Is the header present?
78741 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78742 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78743 cat >conftest.$ac_ext <<_ACEOF
78744 /* confdefs.h.  */
78745 _ACEOF
78746 cat confdefs.h >>conftest.$ac_ext
78747 cat >>conftest.$ac_ext <<_ACEOF
78748 /* end confdefs.h.  */
78749 #include <$ac_header>
78750 _ACEOF
78751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78752   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78753   ac_status=$?
78754   grep -v '^ *+' conftest.er1 >conftest.err
78755   rm -f conftest.er1
78756   cat conftest.err >&5
78757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78758   (exit $ac_status); } >/dev/null; then
78759   if test -s conftest.err; then
78760     ac_cpp_err=$ac_c_preproc_warn_flag
78761     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78762   else
78763     ac_cpp_err=
78764   fi
78765 else
78766   ac_cpp_err=yes
78767 fi
78768 if test -z "$ac_cpp_err"; then
78769   ac_header_preproc=yes
78770 else
78771   echo "$as_me: failed program was:" >&5
78772 sed 's/^/| /' conftest.$ac_ext >&5
78773
78774   ac_header_preproc=no
78775 fi
78776 rm -f conftest.err conftest.$ac_ext
78777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78778 echo "${ECHO_T}$ac_header_preproc" >&6
78779
78780 # So?  What about this header?
78781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78782   yes:no: )
78783     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78784 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78785     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78786 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78787     ac_header_preproc=yes
78788     ;;
78789   no:yes:* )
78790     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78791 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78792     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78793 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78794     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78795 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78796     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78797 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78798     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78799 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78800     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78801 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78802     (
78803       cat <<\_ASBOX
78804 ## ----------------------------------------- ##
78805 ## Report this to the package-unused lists.  ##
78806 ## ----------------------------------------- ##
78807 _ASBOX
78808     ) |
78809       sed "s/^/$as_me: WARNING:     /" >&2
78810     ;;
78811 esac
78812 echo "$as_me:$LINENO: checking for $ac_header" >&5
78813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78815   echo $ECHO_N "(cached) $ECHO_C" >&6
78816 else
78817   eval "$as_ac_Header=\$ac_header_preproc"
78818 fi
78819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78821
78822 fi
78823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78824   cat >>confdefs.h <<_ACEOF
78825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78826 _ACEOF
78827
78828 fi
78829
78830 done
78831
78832
78833   echo "$as_me:$LINENO: checking for writev" >&5
78834 echo $ECHO_N "checking for writev... $ECHO_C" >&6
78835   if test "${glibcxx_cv_WRITEV+set}" = set; then
78836   echo $ECHO_N "(cached) $ECHO_C" >&6
78837 else
78838
78839     if test x$gcc_no_link = xyes; then
78840   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78842    { (exit 1); exit 1; }; }
78843 fi
78844 cat >conftest.$ac_ext <<_ACEOF
78845 /* confdefs.h.  */
78846 _ACEOF
78847 cat confdefs.h >>conftest.$ac_ext
78848 cat >>conftest.$ac_ext <<_ACEOF
78849 /* end confdefs.h.  */
78850 #include <sys/uio.h>
78851 int
78852 main ()
78853 {
78854 struct iovec iov[2];
78855        writev(0, iov, 0);
78856   ;
78857   return 0;
78858 }
78859 _ACEOF
78860 rm -f conftest.$ac_objext conftest$ac_exeext
78861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78862   (eval $ac_link) 2>conftest.er1
78863   ac_status=$?
78864   grep -v '^ *+' conftest.er1 >conftest.err
78865   rm -f conftest.er1
78866   cat conftest.err >&5
78867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78868   (exit $ac_status); } &&
78869          { ac_try='test -z "$ac_c_werror_flag"
78870                          || test ! -s conftest.err'
78871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78872   (eval $ac_try) 2>&5
78873   ac_status=$?
78874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78875   (exit $ac_status); }; } &&
78876          { ac_try='test -s conftest$ac_exeext'
78877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78878   (eval $ac_try) 2>&5
78879   ac_status=$?
78880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78881   (exit $ac_status); }; }; then
78882   glibcxx_cv_WRITEV=yes
78883 else
78884   echo "$as_me: failed program was:" >&5
78885 sed 's/^/| /' conftest.$ac_ext >&5
78886
78887 glibcxx_cv_WRITEV=no
78888 fi
78889 rm -f conftest.err conftest.$ac_objext \
78890       conftest$ac_exeext conftest.$ac_ext
78891
78892 fi
78893
78894   if test $glibcxx_cv_WRITEV = yes; then
78895
78896 cat >>confdefs.h <<\_ACEOF
78897 #define HAVE_WRITEV 1
78898 _ACEOF
78899
78900   fi
78901   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
78902 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
78903
78904
78905     cat >>confdefs.h <<\_ACEOF
78906 #define HAVE_ACOSF 1
78907 _ACEOF
78908
78909     cat >>confdefs.h <<\_ACEOF
78910 #define HAVE_ASINF 1
78911 _ACEOF
78912
78913     cat >>confdefs.h <<\_ACEOF
78914 #define HAVE_ATANF 1
78915 _ACEOF
78916
78917     cat >>confdefs.h <<\_ACEOF
78918 #define HAVE_ATAN2F 1
78919 _ACEOF
78920
78921     cat >>confdefs.h <<\_ACEOF
78922 #define HAVE_CEILF 1
78923 _ACEOF
78924
78925     cat >>confdefs.h <<\_ACEOF
78926 #define HAVE_COPYSIGN 1
78927 _ACEOF
78928
78929     cat >>confdefs.h <<\_ACEOF
78930 #define HAVE_COPYSIGNF 1
78931 _ACEOF
78932
78933     cat >>confdefs.h <<\_ACEOF
78934 #define HAVE_COSF 1
78935 _ACEOF
78936
78937     cat >>confdefs.h <<\_ACEOF
78938 #define HAVE_COSHF 1
78939 _ACEOF
78940
78941     cat >>confdefs.h <<\_ACEOF
78942 #define HAVE_EXPF 1
78943 _ACEOF
78944
78945     cat >>confdefs.h <<\_ACEOF
78946 #define HAVE_FABSF 1
78947 _ACEOF
78948
78949     cat >>confdefs.h <<\_ACEOF
78950 #define HAVE_FINITE 1
78951 _ACEOF
78952
78953     cat >>confdefs.h <<\_ACEOF
78954 #define HAVE_FINITEF 1
78955 _ACEOF
78956
78957     cat >>confdefs.h <<\_ACEOF
78958 #define HAVE_FLOORF 1
78959 _ACEOF
78960
78961     cat >>confdefs.h <<\_ACEOF
78962 #define HAVE_FMODF 1
78963 _ACEOF
78964
78965     cat >>confdefs.h <<\_ACEOF
78966 #define HAVE_FREXPF 1
78967 _ACEOF
78968
78969     cat >>confdefs.h <<\_ACEOF
78970 #define HAVE_HYPOT 1
78971 _ACEOF
78972
78973     cat >>confdefs.h <<\_ACEOF
78974 #define HAVE_HYPOTF 1
78975 _ACEOF
78976
78977     cat >>confdefs.h <<\_ACEOF
78978 #define HAVE_ISINF 1
78979 _ACEOF
78980
78981     cat >>confdefs.h <<\_ACEOF
78982 #define HAVE_ISINFF 1
78983 _ACEOF
78984
78985     cat >>confdefs.h <<\_ACEOF
78986 #define HAVE_ISNAN 1
78987 _ACEOF
78988
78989     cat >>confdefs.h <<\_ACEOF
78990 #define HAVE_ISNANF 1
78991 _ACEOF
78992
78993     cat >>confdefs.h <<\_ACEOF
78994 #define HAVE_LOGF 1
78995 _ACEOF
78996
78997     cat >>confdefs.h <<\_ACEOF
78998 #define HAVE_LOG10F 1
78999 _ACEOF
79000
79001     cat >>confdefs.h <<\_ACEOF
79002 #define HAVE_MODFF 1
79003 _ACEOF
79004
79005     cat >>confdefs.h <<\_ACEOF
79006 #define HAVE_SINF 1
79007 _ACEOF
79008
79009     cat >>confdefs.h <<\_ACEOF
79010 #define HAVE_SINHF 1
79011 _ACEOF
79012
79013     cat >>confdefs.h <<\_ACEOF
79014 #define HAVE_SINCOS 1
79015 _ACEOF
79016
79017     cat >>confdefs.h <<\_ACEOF
79018 #define HAVE_SINCOSF 1
79019 _ACEOF
79020
79021     cat >>confdefs.h <<\_ACEOF
79022 #define HAVE_SQRTF 1
79023 _ACEOF
79024
79025     cat >>confdefs.h <<\_ACEOF
79026 #define HAVE_TANF 1
79027 _ACEOF
79028
79029     cat >>confdefs.h <<\_ACEOF
79030 #define HAVE_TANHF 1
79031 _ACEOF
79032
79033     if test x"long_double_math_on_this_cpu" = x"yes"; then
79034       cat >>confdefs.h <<\_ACEOF
79035 #define HAVE_ACOSL 1
79036 _ACEOF
79037
79038       cat >>confdefs.h <<\_ACEOF
79039 #define HAVE_ASINL 1
79040 _ACEOF
79041
79042       cat >>confdefs.h <<\_ACEOF
79043 #define HAVE_ATANL 1
79044 _ACEOF
79045
79046       cat >>confdefs.h <<\_ACEOF
79047 #define HAVE_ATAN2L 1
79048 _ACEOF
79049
79050       cat >>confdefs.h <<\_ACEOF
79051 #define HAVE_CEILL 1
79052 _ACEOF
79053
79054       cat >>confdefs.h <<\_ACEOF
79055 #define HAVE_COPYSIGNL 1
79056 _ACEOF
79057
79058       cat >>confdefs.h <<\_ACEOF
79059 #define HAVE_COSL 1
79060 _ACEOF
79061
79062       cat >>confdefs.h <<\_ACEOF
79063 #define HAVE_COSHL 1
79064 _ACEOF
79065
79066       cat >>confdefs.h <<\_ACEOF
79067 #define HAVE_EXPL 1
79068 _ACEOF
79069
79070       cat >>confdefs.h <<\_ACEOF
79071 #define HAVE_FABSL 1
79072 _ACEOF
79073
79074       cat >>confdefs.h <<\_ACEOF
79075 #define HAVE_FINITEL 1
79076 _ACEOF
79077
79078       cat >>confdefs.h <<\_ACEOF
79079 #define HAVE_FLOORL 1
79080 _ACEOF
79081
79082       cat >>confdefs.h <<\_ACEOF
79083 #define HAVE_FMODL 1
79084 _ACEOF
79085
79086       cat >>confdefs.h <<\_ACEOF
79087 #define HAVE_FREXPL 1
79088 _ACEOF
79089
79090       cat >>confdefs.h <<\_ACEOF
79091 #define HAVE_HYPOTL 1
79092 _ACEOF
79093
79094       cat >>confdefs.h <<\_ACEOF
79095 #define HAVE_ISINFL 1
79096 _ACEOF
79097
79098       cat >>confdefs.h <<\_ACEOF
79099 #define HAVE_ISNANL 1
79100 _ACEOF
79101
79102       cat >>confdefs.h <<\_ACEOF
79103 #define HAVE_LOGL 1
79104 _ACEOF
79105
79106       cat >>confdefs.h <<\_ACEOF
79107 #define HAVE_LOG10L 1
79108 _ACEOF
79109
79110       cat >>confdefs.h <<\_ACEOF
79111 #define HAVE_MODFL 1
79112 _ACEOF
79113
79114       cat >>confdefs.h <<\_ACEOF
79115 #define HAVE_POWL 1
79116 _ACEOF
79117
79118       cat >>confdefs.h <<\_ACEOF
79119 #define HAVE_SINL 1
79120 _ACEOF
79121
79122       cat >>confdefs.h <<\_ACEOF
79123 #define HAVE_SINHL 1
79124 _ACEOF
79125
79126       cat >>confdefs.h <<\_ACEOF
79127 #define HAVE_SINCOSL 1
79128 _ACEOF
79129
79130       cat >>confdefs.h <<\_ACEOF
79131 #define HAVE_SQRTL 1
79132 _ACEOF
79133
79134       cat >>confdefs.h <<\_ACEOF
79135 #define HAVE_TANL 1
79136 _ACEOF
79137
79138       cat >>confdefs.h <<\_ACEOF
79139 #define HAVE_TANHL 1
79140 _ACEOF
79141
79142     fi
79143     ;;
79144   *-mingw32*)
79145
79146
79147
79148 for ac_header in sys/types.h locale.h float.h
79149 do
79150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79152   echo "$as_me:$LINENO: checking for $ac_header" >&5
79153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79155   echo $ECHO_N "(cached) $ECHO_C" >&6
79156 fi
79157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79159 else
79160   # Is the header compilable?
79161 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79163 cat >conftest.$ac_ext <<_ACEOF
79164 /* confdefs.h.  */
79165 _ACEOF
79166 cat confdefs.h >>conftest.$ac_ext
79167 cat >>conftest.$ac_ext <<_ACEOF
79168 /* end confdefs.h.  */
79169 $ac_includes_default
79170 #include <$ac_header>
79171 _ACEOF
79172 rm -f conftest.$ac_objext
79173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79174   (eval $ac_compile) 2>conftest.er1
79175   ac_status=$?
79176   grep -v '^ *+' conftest.er1 >conftest.err
79177   rm -f conftest.er1
79178   cat conftest.err >&5
79179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79180   (exit $ac_status); } &&
79181          { ac_try='test -z "$ac_c_werror_flag"
79182                          || test ! -s conftest.err'
79183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79184   (eval $ac_try) 2>&5
79185   ac_status=$?
79186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79187   (exit $ac_status); }; } &&
79188          { ac_try='test -s conftest.$ac_objext'
79189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79190   (eval $ac_try) 2>&5
79191   ac_status=$?
79192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79193   (exit $ac_status); }; }; then
79194   ac_header_compiler=yes
79195 else
79196   echo "$as_me: failed program was:" >&5
79197 sed 's/^/| /' conftest.$ac_ext >&5
79198
79199 ac_header_compiler=no
79200 fi
79201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79203 echo "${ECHO_T}$ac_header_compiler" >&6
79204
79205 # Is the header present?
79206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79208 cat >conftest.$ac_ext <<_ACEOF
79209 /* confdefs.h.  */
79210 _ACEOF
79211 cat confdefs.h >>conftest.$ac_ext
79212 cat >>conftest.$ac_ext <<_ACEOF
79213 /* end confdefs.h.  */
79214 #include <$ac_header>
79215 _ACEOF
79216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79217   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79218   ac_status=$?
79219   grep -v '^ *+' conftest.er1 >conftest.err
79220   rm -f conftest.er1
79221   cat conftest.err >&5
79222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79223   (exit $ac_status); } >/dev/null; then
79224   if test -s conftest.err; then
79225     ac_cpp_err=$ac_c_preproc_warn_flag
79226     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79227   else
79228     ac_cpp_err=
79229   fi
79230 else
79231   ac_cpp_err=yes
79232 fi
79233 if test -z "$ac_cpp_err"; then
79234   ac_header_preproc=yes
79235 else
79236   echo "$as_me: failed program was:" >&5
79237 sed 's/^/| /' conftest.$ac_ext >&5
79238
79239   ac_header_preproc=no
79240 fi
79241 rm -f conftest.err conftest.$ac_ext
79242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79243 echo "${ECHO_T}$ac_header_preproc" >&6
79244
79245 # So?  What about this header?
79246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79247   yes:no: )
79248     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79250     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79252     ac_header_preproc=yes
79253     ;;
79254   no:yes:* )
79255     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79257     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
79258 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
79259     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79261     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
79262 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
79263     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79265     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79267     (
79268       cat <<\_ASBOX
79269 ## ----------------------------------------- ##
79270 ## Report this to the package-unused lists.  ##
79271 ## ----------------------------------------- ##
79272 _ASBOX
79273     ) |
79274       sed "s/^/$as_me: WARNING:     /" >&2
79275     ;;
79276 esac
79277 echo "$as_me:$LINENO: checking for $ac_header" >&5
79278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79280   echo $ECHO_N "(cached) $ECHO_C" >&6
79281 else
79282   eval "$as_ac_Header=\$ac_header_preproc"
79283 fi
79284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79286
79287 fi
79288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79289   cat >>confdefs.h <<_ACEOF
79290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79291 _ACEOF
79292
79293 fi
79294
79295 done
79296
79297
79298   # If we're not using GNU ld, then there's no point in even trying these
79299   # tests.  Check for that first.  We should have already tested for gld
79300   # by now (in libtool), but require it now just to be safe...
79301   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79302   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79303
79304
79305
79306   # The name set by libtool depends on the version of libtool.  Shame on us
79307   # for depending on an impl detail, but c'est la vie.  Older versions used
79308   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79309   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79310   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79311   # set (hence we're using an older libtool), then set it.
79312   if test x${with_gnu_ld+set} != xset; then
79313     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79314       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79315       with_gnu_ld=no
79316     else
79317       with_gnu_ld=$ac_cv_prog_gnu_ld
79318     fi
79319   fi
79320
79321   # Start by getting the version number.  I think the libtool test already
79322   # does some of this, but throws away the result.
79323
79324   ldver=`$LD --version 2>/dev/null | head -1 | \
79325          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79326
79327   glibcxx_gnu_ld_version=`echo $ldver | \
79328          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79329
79330   # Set --gc-sections.
79331   if test "$with_gnu_ld" = "notbroken"; then
79332     # GNU ld it is!  Joy and bunny rabbits!
79333
79334     # All these tests are for C++; save the language and the compiler flags.
79335     # Need to do this so that g++ won't try to link in libstdc++
79336     ac_test_CFLAGS="${CFLAGS+set}"
79337     ac_save_CFLAGS="$CFLAGS"
79338     CFLAGS='-x c++  -Wl,--gc-sections'
79339
79340     # Check for -Wl,--gc-sections
79341     # XXX This test is broken at the moment, as symbols required for linking
79342     # are now in libsupc++ (not built yet).  In addition, this test has
79343     # cored on solaris in the past.  In addition, --gc-sections doesn't
79344     # really work at the moment (keeps on discarding used sections, first
79345     # .eh_frame and now some of the glibc sections for iconv).
79346     # Bzzzzt.  Thanks for playing, maybe next time.
79347     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79348 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79349     if test "$cross_compiling" = yes; then
79350   ac_sectionLDflags=yes
79351 else
79352   cat >conftest.$ac_ext <<_ACEOF
79353 /* confdefs.h.  */
79354 _ACEOF
79355 cat confdefs.h >>conftest.$ac_ext
79356 cat >>conftest.$ac_ext <<_ACEOF
79357 /* end confdefs.h.  */
79358
79359      int main(void)
79360      {
79361        try { throw 1; }
79362        catch (...) { };
79363        return 0;
79364      }
79365
79366 _ACEOF
79367 rm -f conftest$ac_exeext
79368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79369   (eval $ac_link) 2>&5
79370   ac_status=$?
79371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79372   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79374   (eval $ac_try) 2>&5
79375   ac_status=$?
79376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79377   (exit $ac_status); }; }; then
79378   ac_sectionLDflags=yes
79379 else
79380   echo "$as_me: program exited with status $ac_status" >&5
79381 echo "$as_me: failed program was:" >&5
79382 sed 's/^/| /' conftest.$ac_ext >&5
79383
79384 ( exit $ac_status )
79385 ac_sectionLDflags=no
79386 fi
79387 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79388 fi
79389     if test "$ac_test_CFLAGS" = set; then
79390       CFLAGS="$ac_save_CFLAGS"
79391     else
79392       # this is the suspicious part
79393       CFLAGS=''
79394     fi
79395     if test "$ac_sectionLDflags" = "yes"; then
79396       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79397     fi
79398     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79399 echo "${ECHO_T}$ac_sectionLDflags" >&6
79400   fi
79401
79402   # Set linker optimization flags.
79403   if test x"$with_gnu_ld" = x"yes"; then
79404     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79405   fi
79406
79407
79408
79409
79410
79411
79412 echo "$as_me:$LINENO: checking for main in -lm" >&5
79413 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79414 if test "${ac_cv_lib_m_main+set}" = set; then
79415   echo $ECHO_N "(cached) $ECHO_C" >&6
79416 else
79417   ac_check_lib_save_LIBS=$LIBS
79418 LIBS="-lm  $LIBS"
79419 if test x$gcc_no_link = xyes; then
79420   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79422    { (exit 1); exit 1; }; }
79423 fi
79424 cat >conftest.$ac_ext <<_ACEOF
79425 /* confdefs.h.  */
79426 _ACEOF
79427 cat confdefs.h >>conftest.$ac_ext
79428 cat >>conftest.$ac_ext <<_ACEOF
79429 /* end confdefs.h.  */
79430
79431
79432 int
79433 main ()
79434 {
79435 main ();
79436   ;
79437   return 0;
79438 }
79439 _ACEOF
79440 rm -f conftest.$ac_objext conftest$ac_exeext
79441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79442   (eval $ac_link) 2>conftest.er1
79443   ac_status=$?
79444   grep -v '^ *+' conftest.er1 >conftest.err
79445   rm -f conftest.er1
79446   cat conftest.err >&5
79447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79448   (exit $ac_status); } &&
79449          { ac_try='test -z "$ac_c_werror_flag"
79450                          || test ! -s conftest.err'
79451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79452   (eval $ac_try) 2>&5
79453   ac_status=$?
79454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79455   (exit $ac_status); }; } &&
79456          { ac_try='test -s conftest$ac_exeext'
79457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79458   (eval $ac_try) 2>&5
79459   ac_status=$?
79460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79461   (exit $ac_status); }; }; then
79462   ac_cv_lib_m_main=yes
79463 else
79464   echo "$as_me: failed program was:" >&5
79465 sed 's/^/| /' conftest.$ac_ext >&5
79466
79467 ac_cv_lib_m_main=no
79468 fi
79469 rm -f conftest.err conftest.$ac_objext \
79470       conftest$ac_exeext conftest.$ac_ext
79471 LIBS=$ac_check_lib_save_LIBS
79472 fi
79473 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79474 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79475 if test $ac_cv_lib_m_main = yes; then
79476   cat >>confdefs.h <<_ACEOF
79477 #define HAVE_LIBM 1
79478 _ACEOF
79479
79480   LIBS="-lm $LIBS"
79481
79482 fi
79483
79484
79485 for ac_func in copysignf
79486 do
79487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79488 echo "$as_me:$LINENO: checking for $ac_func" >&5
79489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79490 if eval "test \"\${$as_ac_var+set}\" = set"; then
79491   echo $ECHO_N "(cached) $ECHO_C" >&6
79492 else
79493   if test x$gcc_no_link = xyes; then
79494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79496    { (exit 1); exit 1; }; }
79497 fi
79498 cat >conftest.$ac_ext <<_ACEOF
79499 /* confdefs.h.  */
79500 _ACEOF
79501 cat confdefs.h >>conftest.$ac_ext
79502 cat >>conftest.$ac_ext <<_ACEOF
79503 /* end confdefs.h.  */
79504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79505    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79506 #define $ac_func innocuous_$ac_func
79507
79508 /* System header to define __stub macros and hopefully few prototypes,
79509     which can conflict with char $ac_func (); below.
79510     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79511     <limits.h> exists even on freestanding compilers.  */
79512
79513 #ifdef __STDC__
79514 # include <limits.h>
79515 #else
79516 # include <assert.h>
79517 #endif
79518
79519 #undef $ac_func
79520
79521 /* Override any gcc2 internal prototype to avoid an error.  */
79522 #ifdef __cplusplus
79523 extern "C"
79524 {
79525 #endif
79526 /* We use char because int might match the return type of a gcc2
79527    builtin and then its argument prototype would still apply.  */
79528 char $ac_func ();
79529 /* The GNU C library defines this for functions which it implements
79530     to always fail with ENOSYS.  Some functions are actually named
79531     something starting with __ and the normal name is an alias.  */
79532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79533 choke me
79534 #else
79535 char (*f) () = $ac_func;
79536 #endif
79537 #ifdef __cplusplus
79538 }
79539 #endif
79540
79541 int
79542 main ()
79543 {
79544 return f != $ac_func;
79545   ;
79546   return 0;
79547 }
79548 _ACEOF
79549 rm -f conftest.$ac_objext conftest$ac_exeext
79550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79551   (eval $ac_link) 2>conftest.er1
79552   ac_status=$?
79553   grep -v '^ *+' conftest.er1 >conftest.err
79554   rm -f conftest.er1
79555   cat conftest.err >&5
79556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79557   (exit $ac_status); } &&
79558          { ac_try='test -z "$ac_c_werror_flag"
79559                          || test ! -s conftest.err'
79560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79561   (eval $ac_try) 2>&5
79562   ac_status=$?
79563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79564   (exit $ac_status); }; } &&
79565          { ac_try='test -s conftest$ac_exeext'
79566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79567   (eval $ac_try) 2>&5
79568   ac_status=$?
79569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79570   (exit $ac_status); }; }; then
79571   eval "$as_ac_var=yes"
79572 else
79573   echo "$as_me: failed program was:" >&5
79574 sed 's/^/| /' conftest.$ac_ext >&5
79575
79576 eval "$as_ac_var=no"
79577 fi
79578 rm -f conftest.err conftest.$ac_objext \
79579       conftest$ac_exeext conftest.$ac_ext
79580 fi
79581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79583 if test `eval echo '${'$as_ac_var'}'` = yes; then
79584   cat >>confdefs.h <<_ACEOF
79585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79586 _ACEOF
79587
79588 else
79589   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79590 fi
79591 done
79592
79593
79594
79595 for ac_func in __signbit
79596 do
79597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79598 echo "$as_me:$LINENO: checking for $ac_func" >&5
79599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79600 if eval "test \"\${$as_ac_var+set}\" = set"; then
79601   echo $ECHO_N "(cached) $ECHO_C" >&6
79602 else
79603   if test x$gcc_no_link = xyes; then
79604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79606    { (exit 1); exit 1; }; }
79607 fi
79608 cat >conftest.$ac_ext <<_ACEOF
79609 /* confdefs.h.  */
79610 _ACEOF
79611 cat confdefs.h >>conftest.$ac_ext
79612 cat >>conftest.$ac_ext <<_ACEOF
79613 /* end confdefs.h.  */
79614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79616 #define $ac_func innocuous_$ac_func
79617
79618 /* System header to define __stub macros and hopefully few prototypes,
79619     which can conflict with char $ac_func (); below.
79620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79621     <limits.h> exists even on freestanding compilers.  */
79622
79623 #ifdef __STDC__
79624 # include <limits.h>
79625 #else
79626 # include <assert.h>
79627 #endif
79628
79629 #undef $ac_func
79630
79631 /* Override any gcc2 internal prototype to avoid an error.  */
79632 #ifdef __cplusplus
79633 extern "C"
79634 {
79635 #endif
79636 /* We use char because int might match the return type of a gcc2
79637    builtin and then its argument prototype would still apply.  */
79638 char $ac_func ();
79639 /* The GNU C library defines this for functions which it implements
79640     to always fail with ENOSYS.  Some functions are actually named
79641     something starting with __ and the normal name is an alias.  */
79642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79643 choke me
79644 #else
79645 char (*f) () = $ac_func;
79646 #endif
79647 #ifdef __cplusplus
79648 }
79649 #endif
79650
79651 int
79652 main ()
79653 {
79654 return f != $ac_func;
79655   ;
79656   return 0;
79657 }
79658 _ACEOF
79659 rm -f conftest.$ac_objext conftest$ac_exeext
79660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79661   (eval $ac_link) 2>conftest.er1
79662   ac_status=$?
79663   grep -v '^ *+' conftest.er1 >conftest.err
79664   rm -f conftest.er1
79665   cat conftest.err >&5
79666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79667   (exit $ac_status); } &&
79668          { ac_try='test -z "$ac_c_werror_flag"
79669                          || test ! -s conftest.err'
79670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79671   (eval $ac_try) 2>&5
79672   ac_status=$?
79673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79674   (exit $ac_status); }; } &&
79675          { ac_try='test -s conftest$ac_exeext'
79676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79677   (eval $ac_try) 2>&5
79678   ac_status=$?
79679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79680   (exit $ac_status); }; }; then
79681   eval "$as_ac_var=yes"
79682 else
79683   echo "$as_me: failed program was:" >&5
79684 sed 's/^/| /' conftest.$ac_ext >&5
79685
79686 eval "$as_ac_var=no"
79687 fi
79688 rm -f conftest.err conftest.$ac_objext \
79689       conftest$ac_exeext conftest.$ac_ext
79690 fi
79691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79693 if test `eval echo '${'$as_ac_var'}'` = yes; then
79694   cat >>confdefs.h <<_ACEOF
79695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79696 _ACEOF
79697
79698 else
79699   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79700 fi
79701 done
79702
79703
79704
79705 for ac_func in __signbitf
79706 do
79707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79708 echo "$as_me:$LINENO: checking for $ac_func" >&5
79709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79710 if eval "test \"\${$as_ac_var+set}\" = set"; then
79711   echo $ECHO_N "(cached) $ECHO_C" >&6
79712 else
79713   if test x$gcc_no_link = xyes; then
79714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79716    { (exit 1); exit 1; }; }
79717 fi
79718 cat >conftest.$ac_ext <<_ACEOF
79719 /* confdefs.h.  */
79720 _ACEOF
79721 cat confdefs.h >>conftest.$ac_ext
79722 cat >>conftest.$ac_ext <<_ACEOF
79723 /* end confdefs.h.  */
79724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79726 #define $ac_func innocuous_$ac_func
79727
79728 /* System header to define __stub macros and hopefully few prototypes,
79729     which can conflict with char $ac_func (); below.
79730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79731     <limits.h> exists even on freestanding compilers.  */
79732
79733 #ifdef __STDC__
79734 # include <limits.h>
79735 #else
79736 # include <assert.h>
79737 #endif
79738
79739 #undef $ac_func
79740
79741 /* Override any gcc2 internal prototype to avoid an error.  */
79742 #ifdef __cplusplus
79743 extern "C"
79744 {
79745 #endif
79746 /* We use char because int might match the return type of a gcc2
79747    builtin and then its argument prototype would still apply.  */
79748 char $ac_func ();
79749 /* The GNU C library defines this for functions which it implements
79750     to always fail with ENOSYS.  Some functions are actually named
79751     something starting with __ and the normal name is an alias.  */
79752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79753 choke me
79754 #else
79755 char (*f) () = $ac_func;
79756 #endif
79757 #ifdef __cplusplus
79758 }
79759 #endif
79760
79761 int
79762 main ()
79763 {
79764 return f != $ac_func;
79765   ;
79766   return 0;
79767 }
79768 _ACEOF
79769 rm -f conftest.$ac_objext conftest$ac_exeext
79770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79771   (eval $ac_link) 2>conftest.er1
79772   ac_status=$?
79773   grep -v '^ *+' conftest.er1 >conftest.err
79774   rm -f conftest.er1
79775   cat conftest.err >&5
79776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79777   (exit $ac_status); } &&
79778          { ac_try='test -z "$ac_c_werror_flag"
79779                          || test ! -s conftest.err'
79780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79781   (eval $ac_try) 2>&5
79782   ac_status=$?
79783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79784   (exit $ac_status); }; } &&
79785          { ac_try='test -s conftest$ac_exeext'
79786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79787   (eval $ac_try) 2>&5
79788   ac_status=$?
79789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79790   (exit $ac_status); }; }; then
79791   eval "$as_ac_var=yes"
79792 else
79793   echo "$as_me: failed program was:" >&5
79794 sed 's/^/| /' conftest.$ac_ext >&5
79795
79796 eval "$as_ac_var=no"
79797 fi
79798 rm -f conftest.err conftest.$ac_objext \
79799       conftest$ac_exeext conftest.$ac_ext
79800 fi
79801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79803 if test `eval echo '${'$as_ac_var'}'` = yes; then
79804   cat >>confdefs.h <<_ACEOF
79805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79806 _ACEOF
79807
79808 else
79809   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79810 fi
79811 done
79812
79813
79814           if test x$ac_cv_func_copysignl = x"yes"; then
79815
79816 for ac_func in __signbitl
79817 do
79818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79819 echo "$as_me:$LINENO: checking for $ac_func" >&5
79820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79821 if eval "test \"\${$as_ac_var+set}\" = set"; then
79822   echo $ECHO_N "(cached) $ECHO_C" >&6
79823 else
79824   if test x$gcc_no_link = xyes; then
79825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79827    { (exit 1); exit 1; }; }
79828 fi
79829 cat >conftest.$ac_ext <<_ACEOF
79830 /* confdefs.h.  */
79831 _ACEOF
79832 cat confdefs.h >>conftest.$ac_ext
79833 cat >>conftest.$ac_ext <<_ACEOF
79834 /* end confdefs.h.  */
79835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79837 #define $ac_func innocuous_$ac_func
79838
79839 /* System header to define __stub macros and hopefully few prototypes,
79840     which can conflict with char $ac_func (); below.
79841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79842     <limits.h> exists even on freestanding compilers.  */
79843
79844 #ifdef __STDC__
79845 # include <limits.h>
79846 #else
79847 # include <assert.h>
79848 #endif
79849
79850 #undef $ac_func
79851
79852 /* Override any gcc2 internal prototype to avoid an error.  */
79853 #ifdef __cplusplus
79854 extern "C"
79855 {
79856 #endif
79857 /* We use char because int might match the return type of a gcc2
79858    builtin and then its argument prototype would still apply.  */
79859 char $ac_func ();
79860 /* The GNU C library defines this for functions which it implements
79861     to always fail with ENOSYS.  Some functions are actually named
79862     something starting with __ and the normal name is an alias.  */
79863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79864 choke me
79865 #else
79866 char (*f) () = $ac_func;
79867 #endif
79868 #ifdef __cplusplus
79869 }
79870 #endif
79871
79872 int
79873 main ()
79874 {
79875 return f != $ac_func;
79876   ;
79877   return 0;
79878 }
79879 _ACEOF
79880 rm -f conftest.$ac_objext conftest$ac_exeext
79881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79882   (eval $ac_link) 2>conftest.er1
79883   ac_status=$?
79884   grep -v '^ *+' conftest.er1 >conftest.err
79885   rm -f conftest.er1
79886   cat conftest.err >&5
79887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79888   (exit $ac_status); } &&
79889          { ac_try='test -z "$ac_c_werror_flag"
79890                          || test ! -s conftest.err'
79891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79892   (eval $ac_try) 2>&5
79893   ac_status=$?
79894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79895   (exit $ac_status); }; } &&
79896          { ac_try='test -s conftest$ac_exeext'
79897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79898   (eval $ac_try) 2>&5
79899   ac_status=$?
79900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79901   (exit $ac_status); }; }; then
79902   eval "$as_ac_var=yes"
79903 else
79904   echo "$as_me: failed program was:" >&5
79905 sed 's/^/| /' conftest.$ac_ext >&5
79906
79907 eval "$as_ac_var=no"
79908 fi
79909 rm -f conftest.err conftest.$ac_objext \
79910       conftest$ac_exeext conftest.$ac_ext
79911 fi
79912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79914 if test `eval echo '${'$as_ac_var'}'` = yes; then
79915   cat >>confdefs.h <<_ACEOF
79916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79917 _ACEOF
79918
79919 else
79920   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79921 fi
79922 done
79923
79924   fi
79925
79926   # Used in libmath/Makefile.am.
79927   if test -n "$LIBMATHOBJS"; then
79928     need_libmath=yes
79929   fi
79930
79931
79932
79933
79934   enable_iconv=no
79935   # Only continue checking if the ISO C99 headers exist and support is on.
79936   if test x"$enable_wchar_t" = xyes; then
79937
79938     # Use iconv for wchar_t to char conversions. As such, check for
79939     # X/Open Portability Guide, version 2 features (XPG2).
79940     if test "${ac_cv_header_iconv_h+set}" = set; then
79941   echo "$as_me:$LINENO: checking for iconv.h" >&5
79942 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79943 if test "${ac_cv_header_iconv_h+set}" = set; then
79944   echo $ECHO_N "(cached) $ECHO_C" >&6
79945 fi
79946 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79947 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79948 else
79949   # Is the header compilable?
79950 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79951 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79952 cat >conftest.$ac_ext <<_ACEOF
79953 /* confdefs.h.  */
79954 _ACEOF
79955 cat confdefs.h >>conftest.$ac_ext
79956 cat >>conftest.$ac_ext <<_ACEOF
79957 /* end confdefs.h.  */
79958 $ac_includes_default
79959 #include <iconv.h>
79960 _ACEOF
79961 rm -f conftest.$ac_objext
79962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79963   (eval $ac_compile) 2>conftest.er1
79964   ac_status=$?
79965   grep -v '^ *+' conftest.er1 >conftest.err
79966   rm -f conftest.er1
79967   cat conftest.err >&5
79968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79969   (exit $ac_status); } &&
79970          { ac_try='test -z "$ac_c_werror_flag"
79971                          || test ! -s conftest.err'
79972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79973   (eval $ac_try) 2>&5
79974   ac_status=$?
79975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79976   (exit $ac_status); }; } &&
79977          { ac_try='test -s conftest.$ac_objext'
79978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79979   (eval $ac_try) 2>&5
79980   ac_status=$?
79981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79982   (exit $ac_status); }; }; then
79983   ac_header_compiler=yes
79984 else
79985   echo "$as_me: failed program was:" >&5
79986 sed 's/^/| /' conftest.$ac_ext >&5
79987
79988 ac_header_compiler=no
79989 fi
79990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79992 echo "${ECHO_T}$ac_header_compiler" >&6
79993
79994 # Is the header present?
79995 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79996 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79997 cat >conftest.$ac_ext <<_ACEOF
79998 /* confdefs.h.  */
79999 _ACEOF
80000 cat confdefs.h >>conftest.$ac_ext
80001 cat >>conftest.$ac_ext <<_ACEOF
80002 /* end confdefs.h.  */
80003 #include <iconv.h>
80004 _ACEOF
80005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80006   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80007   ac_status=$?
80008   grep -v '^ *+' conftest.er1 >conftest.err
80009   rm -f conftest.er1
80010   cat conftest.err >&5
80011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80012   (exit $ac_status); } >/dev/null; then
80013   if test -s conftest.err; then
80014     ac_cpp_err=$ac_c_preproc_warn_flag
80015     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80016   else
80017     ac_cpp_err=
80018   fi
80019 else
80020   ac_cpp_err=yes
80021 fi
80022 if test -z "$ac_cpp_err"; then
80023   ac_header_preproc=yes
80024 else
80025   echo "$as_me: failed program was:" >&5
80026 sed 's/^/| /' conftest.$ac_ext >&5
80027
80028   ac_header_preproc=no
80029 fi
80030 rm -f conftest.err conftest.$ac_ext
80031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80032 echo "${ECHO_T}$ac_header_preproc" >&6
80033
80034 # So?  What about this header?
80035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80036   yes:no: )
80037     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80038 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80039     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80040 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80041     ac_header_preproc=yes
80042     ;;
80043   no:yes:* )
80044     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80045 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80046     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
80047 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
80048     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80049 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80050     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
80051 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
80052     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80053 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80054     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80055 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80056     (
80057       cat <<\_ASBOX
80058 ## ----------------------------------------- ##
80059 ## Report this to the package-unused lists.  ##
80060 ## ----------------------------------------- ##
80061 _ASBOX
80062     ) |
80063       sed "s/^/$as_me: WARNING:     /" >&2
80064     ;;
80065 esac
80066 echo "$as_me:$LINENO: checking for iconv.h" >&5
80067 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80068 if test "${ac_cv_header_iconv_h+set}" = set; then
80069   echo $ECHO_N "(cached) $ECHO_C" >&6
80070 else
80071   ac_cv_header_iconv_h=$ac_header_preproc
80072 fi
80073 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80074 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80075
80076 fi
80077 if test $ac_cv_header_iconv_h = yes; then
80078   ac_has_iconv_h=yes
80079 else
80080   ac_has_iconv_h=no
80081 fi
80082
80083
80084     if test "${ac_cv_header_langinfo_h+set}" = set; then
80085   echo "$as_me:$LINENO: checking for langinfo.h" >&5
80086 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80087 if test "${ac_cv_header_langinfo_h+set}" = set; then
80088   echo $ECHO_N "(cached) $ECHO_C" >&6
80089 fi
80090 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80091 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80092 else
80093   # Is the header compilable?
80094 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80095 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80096 cat >conftest.$ac_ext <<_ACEOF
80097 /* confdefs.h.  */
80098 _ACEOF
80099 cat confdefs.h >>conftest.$ac_ext
80100 cat >>conftest.$ac_ext <<_ACEOF
80101 /* end confdefs.h.  */
80102 $ac_includes_default
80103 #include <langinfo.h>
80104 _ACEOF
80105 rm -f conftest.$ac_objext
80106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80107   (eval $ac_compile) 2>conftest.er1
80108   ac_status=$?
80109   grep -v '^ *+' conftest.er1 >conftest.err
80110   rm -f conftest.er1
80111   cat conftest.err >&5
80112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80113   (exit $ac_status); } &&
80114          { ac_try='test -z "$ac_c_werror_flag"
80115                          || test ! -s conftest.err'
80116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80117   (eval $ac_try) 2>&5
80118   ac_status=$?
80119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80120   (exit $ac_status); }; } &&
80121          { ac_try='test -s conftest.$ac_objext'
80122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80123   (eval $ac_try) 2>&5
80124   ac_status=$?
80125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80126   (exit $ac_status); }; }; then
80127   ac_header_compiler=yes
80128 else
80129   echo "$as_me: failed program was:" >&5
80130 sed 's/^/| /' conftest.$ac_ext >&5
80131
80132 ac_header_compiler=no
80133 fi
80134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80136 echo "${ECHO_T}$ac_header_compiler" >&6
80137
80138 # Is the header present?
80139 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80140 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80141 cat >conftest.$ac_ext <<_ACEOF
80142 /* confdefs.h.  */
80143 _ACEOF
80144 cat confdefs.h >>conftest.$ac_ext
80145 cat >>conftest.$ac_ext <<_ACEOF
80146 /* end confdefs.h.  */
80147 #include <langinfo.h>
80148 _ACEOF
80149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80150   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80151   ac_status=$?
80152   grep -v '^ *+' conftest.er1 >conftest.err
80153   rm -f conftest.er1
80154   cat conftest.err >&5
80155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80156   (exit $ac_status); } >/dev/null; then
80157   if test -s conftest.err; then
80158     ac_cpp_err=$ac_c_preproc_warn_flag
80159     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80160   else
80161     ac_cpp_err=
80162   fi
80163 else
80164   ac_cpp_err=yes
80165 fi
80166 if test -z "$ac_cpp_err"; then
80167   ac_header_preproc=yes
80168 else
80169   echo "$as_me: failed program was:" >&5
80170 sed 's/^/| /' conftest.$ac_ext >&5
80171
80172   ac_header_preproc=no
80173 fi
80174 rm -f conftest.err conftest.$ac_ext
80175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80176 echo "${ECHO_T}$ac_header_preproc" >&6
80177
80178 # So?  What about this header?
80179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80180   yes:no: )
80181     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80182 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80183     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80184 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80185     ac_header_preproc=yes
80186     ;;
80187   no:yes:* )
80188     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80189 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80190     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
80191 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
80192     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80193 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80194     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
80195 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
80196     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80197 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80198     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80199 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80200     (
80201       cat <<\_ASBOX
80202 ## ----------------------------------------- ##
80203 ## Report this to the package-unused lists.  ##
80204 ## ----------------------------------------- ##
80205 _ASBOX
80206     ) |
80207       sed "s/^/$as_me: WARNING:     /" >&2
80208     ;;
80209 esac
80210 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80211 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80212 if test "${ac_cv_header_langinfo_h+set}" = set; then
80213   echo $ECHO_N "(cached) $ECHO_C" >&6
80214 else
80215   ac_cv_header_langinfo_h=$ac_header_preproc
80216 fi
80217 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80218 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80219
80220 fi
80221 if test $ac_cv_header_langinfo_h = yes; then
80222   ac_has_langinfo_h=yes
80223 else
80224   ac_has_langinfo_h=no
80225 fi
80226
80227
80228
80229     # Check for existence of libiconv.a providing XPG2 wchar_t support.
80230     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80231 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80232 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80233   echo $ECHO_N "(cached) $ECHO_C" >&6
80234 else
80235   ac_check_lib_save_LIBS=$LIBS
80236 LIBS="-liconv  $LIBS"
80237 if test x$gcc_no_link = xyes; then
80238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80240    { (exit 1); exit 1; }; }
80241 fi
80242 cat >conftest.$ac_ext <<_ACEOF
80243 /* confdefs.h.  */
80244 _ACEOF
80245 cat confdefs.h >>conftest.$ac_ext
80246 cat >>conftest.$ac_ext <<_ACEOF
80247 /* end confdefs.h.  */
80248
80249 /* Override any gcc2 internal prototype to avoid an error.  */
80250 #ifdef __cplusplus
80251 extern "C"
80252 #endif
80253 /* We use char because int might match the return type of a gcc2
80254    builtin and then its argument prototype would still apply.  */
80255 char iconv ();
80256 int
80257 main ()
80258 {
80259 iconv ();
80260   ;
80261   return 0;
80262 }
80263 _ACEOF
80264 rm -f conftest.$ac_objext conftest$ac_exeext
80265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80266   (eval $ac_link) 2>conftest.er1
80267   ac_status=$?
80268   grep -v '^ *+' conftest.er1 >conftest.err
80269   rm -f conftest.er1
80270   cat conftest.err >&5
80271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80272   (exit $ac_status); } &&
80273          { ac_try='test -z "$ac_c_werror_flag"
80274                          || test ! -s conftest.err'
80275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80276   (eval $ac_try) 2>&5
80277   ac_status=$?
80278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80279   (exit $ac_status); }; } &&
80280          { ac_try='test -s conftest$ac_exeext'
80281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80282   (eval $ac_try) 2>&5
80283   ac_status=$?
80284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80285   (exit $ac_status); }; }; then
80286   ac_cv_lib_iconv_iconv=yes
80287 else
80288   echo "$as_me: failed program was:" >&5
80289 sed 's/^/| /' conftest.$ac_ext >&5
80290
80291 ac_cv_lib_iconv_iconv=no
80292 fi
80293 rm -f conftest.err conftest.$ac_objext \
80294       conftest$ac_exeext conftest.$ac_ext
80295 LIBS=$ac_check_lib_save_LIBS
80296 fi
80297 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80298 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80299 if test $ac_cv_lib_iconv_iconv = yes; then
80300   LIBICONV="-liconv"
80301 fi
80302
80303     ac_save_LIBS="$LIBS"
80304     LIBS="$LIBS $LIBICONV"
80305
80306
80307
80308
80309
80310
80311 for ac_func in iconv_open iconv_close iconv nl_langinfo
80312 do
80313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80314 echo "$as_me:$LINENO: checking for $ac_func" >&5
80315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80316 if eval "test \"\${$as_ac_var+set}\" = set"; then
80317   echo $ECHO_N "(cached) $ECHO_C" >&6
80318 else
80319   if test x$gcc_no_link = xyes; then
80320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80322    { (exit 1); exit 1; }; }
80323 fi
80324 cat >conftest.$ac_ext <<_ACEOF
80325 /* confdefs.h.  */
80326 _ACEOF
80327 cat confdefs.h >>conftest.$ac_ext
80328 cat >>conftest.$ac_ext <<_ACEOF
80329 /* end confdefs.h.  */
80330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80332 #define $ac_func innocuous_$ac_func
80333
80334 /* System header to define __stub macros and hopefully few prototypes,
80335     which can conflict with char $ac_func (); below.
80336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80337     <limits.h> exists even on freestanding compilers.  */
80338
80339 #ifdef __STDC__
80340 # include <limits.h>
80341 #else
80342 # include <assert.h>
80343 #endif
80344
80345 #undef $ac_func
80346
80347 /* Override any gcc2 internal prototype to avoid an error.  */
80348 #ifdef __cplusplus
80349 extern "C"
80350 {
80351 #endif
80352 /* We use char because int might match the return type of a gcc2
80353    builtin and then its argument prototype would still apply.  */
80354 char $ac_func ();
80355 /* The GNU C library defines this for functions which it implements
80356     to always fail with ENOSYS.  Some functions are actually named
80357     something starting with __ and the normal name is an alias.  */
80358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80359 choke me
80360 #else
80361 char (*f) () = $ac_func;
80362 #endif
80363 #ifdef __cplusplus
80364 }
80365 #endif
80366
80367 int
80368 main ()
80369 {
80370 return f != $ac_func;
80371   ;
80372   return 0;
80373 }
80374 _ACEOF
80375 rm -f conftest.$ac_objext conftest$ac_exeext
80376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80377   (eval $ac_link) 2>conftest.er1
80378   ac_status=$?
80379   grep -v '^ *+' conftest.er1 >conftest.err
80380   rm -f conftest.er1
80381   cat conftest.err >&5
80382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80383   (exit $ac_status); } &&
80384          { ac_try='test -z "$ac_c_werror_flag"
80385                          || test ! -s conftest.err'
80386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80387   (eval $ac_try) 2>&5
80388   ac_status=$?
80389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80390   (exit $ac_status); }; } &&
80391          { ac_try='test -s conftest$ac_exeext'
80392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80393   (eval $ac_try) 2>&5
80394   ac_status=$?
80395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80396   (exit $ac_status); }; }; then
80397   eval "$as_ac_var=yes"
80398 else
80399   echo "$as_me: failed program was:" >&5
80400 sed 's/^/| /' conftest.$ac_ext >&5
80401
80402 eval "$as_ac_var=no"
80403 fi
80404 rm -f conftest.err conftest.$ac_objext \
80405       conftest$ac_exeext conftest.$ac_ext
80406 fi
80407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80409 if test `eval echo '${'$as_ac_var'}'` = yes; then
80410   cat >>confdefs.h <<_ACEOF
80411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80412 _ACEOF
80413  ac_XPG2funcs=yes
80414 else
80415   ac_XPG2funcs=no
80416 fi
80417 done
80418
80419
80420     LIBS="$ac_save_LIBS"
80421
80422     if test x"$ac_has_iconv_h" = xyes &&
80423        test x"$ac_has_langinfo_h" = xyes &&
80424        test x"$ac_XPG2funcs" = xyes;
80425     then
80426
80427 cat >>confdefs.h <<\_ACEOF
80428 #define _GLIBCXX_USE_ICONV 1
80429 _ACEOF
80430
80431       enable_iconv=yes
80432     fi
80433   fi
80434   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80435 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80436   echo "$as_me:$LINENO: result: $enable_iconv" >&5
80437 echo "${ECHO_T}$enable_iconv" >&6
80438
80439     ;;
80440   *-netbsd*)
80441
80442
80443
80444
80445
80446
80447
80448
80449
80450
80451
80452
80453 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80454       machine/endian.h machine/param.h sys/machine.h sys/types.h \
80455       fp.h locale.h float.h inttypes.h
80456 do
80457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80459   echo "$as_me:$LINENO: checking for $ac_header" >&5
80460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80462   echo $ECHO_N "(cached) $ECHO_C" >&6
80463 fi
80464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80466 else
80467   # Is the header compilable?
80468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80470 cat >conftest.$ac_ext <<_ACEOF
80471 /* confdefs.h.  */
80472 _ACEOF
80473 cat confdefs.h >>conftest.$ac_ext
80474 cat >>conftest.$ac_ext <<_ACEOF
80475 /* end confdefs.h.  */
80476 $ac_includes_default
80477 #include <$ac_header>
80478 _ACEOF
80479 rm -f conftest.$ac_objext
80480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80481   (eval $ac_compile) 2>conftest.er1
80482   ac_status=$?
80483   grep -v '^ *+' conftest.er1 >conftest.err
80484   rm -f conftest.er1
80485   cat conftest.err >&5
80486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80487   (exit $ac_status); } &&
80488          { ac_try='test -z "$ac_c_werror_flag"
80489                          || test ! -s conftest.err'
80490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80491   (eval $ac_try) 2>&5
80492   ac_status=$?
80493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80494   (exit $ac_status); }; } &&
80495          { ac_try='test -s conftest.$ac_objext'
80496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80497   (eval $ac_try) 2>&5
80498   ac_status=$?
80499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80500   (exit $ac_status); }; }; then
80501   ac_header_compiler=yes
80502 else
80503   echo "$as_me: failed program was:" >&5
80504 sed 's/^/| /' conftest.$ac_ext >&5
80505
80506 ac_header_compiler=no
80507 fi
80508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80510 echo "${ECHO_T}$ac_header_compiler" >&6
80511
80512 # Is the header present?
80513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80515 cat >conftest.$ac_ext <<_ACEOF
80516 /* confdefs.h.  */
80517 _ACEOF
80518 cat confdefs.h >>conftest.$ac_ext
80519 cat >>conftest.$ac_ext <<_ACEOF
80520 /* end confdefs.h.  */
80521 #include <$ac_header>
80522 _ACEOF
80523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80524   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80525   ac_status=$?
80526   grep -v '^ *+' conftest.er1 >conftest.err
80527   rm -f conftest.er1
80528   cat conftest.err >&5
80529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80530   (exit $ac_status); } >/dev/null; then
80531   if test -s conftest.err; then
80532     ac_cpp_err=$ac_c_preproc_warn_flag
80533     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80534   else
80535     ac_cpp_err=
80536   fi
80537 else
80538   ac_cpp_err=yes
80539 fi
80540 if test -z "$ac_cpp_err"; then
80541   ac_header_preproc=yes
80542 else
80543   echo "$as_me: failed program was:" >&5
80544 sed 's/^/| /' conftest.$ac_ext >&5
80545
80546   ac_header_preproc=no
80547 fi
80548 rm -f conftest.err conftest.$ac_ext
80549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80550 echo "${ECHO_T}$ac_header_preproc" >&6
80551
80552 # So?  What about this header?
80553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80554   yes:no: )
80555     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80557     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80559     ac_header_preproc=yes
80560     ;;
80561   no:yes:* )
80562     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80564     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80565 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80566     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80568     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80569 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80570     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80572     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80574     (
80575       cat <<\_ASBOX
80576 ## ----------------------------------------- ##
80577 ## Report this to the package-unused lists.  ##
80578 ## ----------------------------------------- ##
80579 _ASBOX
80580     ) |
80581       sed "s/^/$as_me: WARNING:     /" >&2
80582     ;;
80583 esac
80584 echo "$as_me:$LINENO: checking for $ac_header" >&5
80585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80587   echo $ECHO_N "(cached) $ECHO_C" >&6
80588 else
80589   eval "$as_ac_Header=\$ac_header_preproc"
80590 fi
80591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80593
80594 fi
80595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80596   cat >>confdefs.h <<_ACEOF
80597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80598 _ACEOF
80599
80600 fi
80601
80602 done
80603
80604     SECTION_FLAGS='-ffunction-sections -fdata-sections'
80605
80606
80607   # If we're not using GNU ld, then there's no point in even trying these
80608   # tests.  Check for that first.  We should have already tested for gld
80609   # by now (in libtool), but require it now just to be safe...
80610   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80611   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80612
80613
80614
80615   # The name set by libtool depends on the version of libtool.  Shame on us
80616   # for depending on an impl detail, but c'est la vie.  Older versions used
80617   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80618   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80619   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
80620   # set (hence we're using an older libtool), then set it.
80621   if test x${with_gnu_ld+set} != xset; then
80622     if test x${ac_cv_prog_gnu_ld+set} != xset; then
80623       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
80624       with_gnu_ld=no
80625     else
80626       with_gnu_ld=$ac_cv_prog_gnu_ld
80627     fi
80628   fi
80629
80630   # Start by getting the version number.  I think the libtool test already
80631   # does some of this, but throws away the result.
80632
80633   ldver=`$LD --version 2>/dev/null | head -1 | \
80634          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80635
80636   glibcxx_gnu_ld_version=`echo $ldver | \
80637          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80638
80639   # Set --gc-sections.
80640   if test "$with_gnu_ld" = "notbroken"; then
80641     # GNU ld it is!  Joy and bunny rabbits!
80642
80643     # All these tests are for C++; save the language and the compiler flags.
80644     # Need to do this so that g++ won't try to link in libstdc++
80645     ac_test_CFLAGS="${CFLAGS+set}"
80646     ac_save_CFLAGS="$CFLAGS"
80647     CFLAGS='-x c++  -Wl,--gc-sections'
80648
80649     # Check for -Wl,--gc-sections
80650     # XXX This test is broken at the moment, as symbols required for linking
80651     # are now in libsupc++ (not built yet).  In addition, this test has
80652     # cored on solaris in the past.  In addition, --gc-sections doesn't
80653     # really work at the moment (keeps on discarding used sections, first
80654     # .eh_frame and now some of the glibc sections for iconv).
80655     # Bzzzzt.  Thanks for playing, maybe next time.
80656     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80657 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80658     if test "$cross_compiling" = yes; then
80659   ac_sectionLDflags=yes
80660 else
80661   cat >conftest.$ac_ext <<_ACEOF
80662 /* confdefs.h.  */
80663 _ACEOF
80664 cat confdefs.h >>conftest.$ac_ext
80665 cat >>conftest.$ac_ext <<_ACEOF
80666 /* end confdefs.h.  */
80667
80668      int main(void)
80669      {
80670        try { throw 1; }
80671        catch (...) { };
80672        return 0;
80673      }
80674
80675 _ACEOF
80676 rm -f conftest$ac_exeext
80677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80678   (eval $ac_link) 2>&5
80679   ac_status=$?
80680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80681   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80683   (eval $ac_try) 2>&5
80684   ac_status=$?
80685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80686   (exit $ac_status); }; }; then
80687   ac_sectionLDflags=yes
80688 else
80689   echo "$as_me: program exited with status $ac_status" >&5
80690 echo "$as_me: failed program was:" >&5
80691 sed 's/^/| /' conftest.$ac_ext >&5
80692
80693 ( exit $ac_status )
80694 ac_sectionLDflags=no
80695 fi
80696 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80697 fi
80698     if test "$ac_test_CFLAGS" = set; then
80699       CFLAGS="$ac_save_CFLAGS"
80700     else
80701       # this is the suspicious part
80702       CFLAGS=''
80703     fi
80704     if test "$ac_sectionLDflags" = "yes"; then
80705       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80706     fi
80707     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80708 echo "${ECHO_T}$ac_sectionLDflags" >&6
80709   fi
80710
80711   # Set linker optimization flags.
80712   if test x"$with_gnu_ld" = x"yes"; then
80713     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80714   fi
80715
80716
80717
80718
80719
80720
80721 echo "$as_me:$LINENO: checking for main in -lm" >&5
80722 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80723 if test "${ac_cv_lib_m_main+set}" = set; then
80724   echo $ECHO_N "(cached) $ECHO_C" >&6
80725 else
80726   ac_check_lib_save_LIBS=$LIBS
80727 LIBS="-lm  $LIBS"
80728 if test x$gcc_no_link = xyes; then
80729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80731    { (exit 1); exit 1; }; }
80732 fi
80733 cat >conftest.$ac_ext <<_ACEOF
80734 /* confdefs.h.  */
80735 _ACEOF
80736 cat confdefs.h >>conftest.$ac_ext
80737 cat >>conftest.$ac_ext <<_ACEOF
80738 /* end confdefs.h.  */
80739
80740
80741 int
80742 main ()
80743 {
80744 main ();
80745   ;
80746   return 0;
80747 }
80748 _ACEOF
80749 rm -f conftest.$ac_objext conftest$ac_exeext
80750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80751   (eval $ac_link) 2>conftest.er1
80752   ac_status=$?
80753   grep -v '^ *+' conftest.er1 >conftest.err
80754   rm -f conftest.er1
80755   cat conftest.err >&5
80756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80757   (exit $ac_status); } &&
80758          { ac_try='test -z "$ac_c_werror_flag"
80759                          || test ! -s conftest.err'
80760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80761   (eval $ac_try) 2>&5
80762   ac_status=$?
80763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80764   (exit $ac_status); }; } &&
80765          { ac_try='test -s conftest$ac_exeext'
80766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80767   (eval $ac_try) 2>&5
80768   ac_status=$?
80769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80770   (exit $ac_status); }; }; then
80771   ac_cv_lib_m_main=yes
80772 else
80773   echo "$as_me: failed program was:" >&5
80774 sed 's/^/| /' conftest.$ac_ext >&5
80775
80776 ac_cv_lib_m_main=no
80777 fi
80778 rm -f conftest.err conftest.$ac_objext \
80779       conftest$ac_exeext conftest.$ac_ext
80780 LIBS=$ac_check_lib_save_LIBS
80781 fi
80782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80783 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80784 if test $ac_cv_lib_m_main = yes; then
80785   cat >>confdefs.h <<_ACEOF
80786 #define HAVE_LIBM 1
80787 _ACEOF
80788
80789   LIBS="-lm $LIBS"
80790
80791 fi
80792
80793
80794 for ac_func in copysignf
80795 do
80796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80797 echo "$as_me:$LINENO: checking for $ac_func" >&5
80798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80799 if eval "test \"\${$as_ac_var+set}\" = set"; then
80800   echo $ECHO_N "(cached) $ECHO_C" >&6
80801 else
80802   if test x$gcc_no_link = xyes; then
80803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80805    { (exit 1); exit 1; }; }
80806 fi
80807 cat >conftest.$ac_ext <<_ACEOF
80808 /* confdefs.h.  */
80809 _ACEOF
80810 cat confdefs.h >>conftest.$ac_ext
80811 cat >>conftest.$ac_ext <<_ACEOF
80812 /* end confdefs.h.  */
80813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80815 #define $ac_func innocuous_$ac_func
80816
80817 /* System header to define __stub macros and hopefully few prototypes,
80818     which can conflict with char $ac_func (); below.
80819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80820     <limits.h> exists even on freestanding compilers.  */
80821
80822 #ifdef __STDC__
80823 # include <limits.h>
80824 #else
80825 # include <assert.h>
80826 #endif
80827
80828 #undef $ac_func
80829
80830 /* Override any gcc2 internal prototype to avoid an error.  */
80831 #ifdef __cplusplus
80832 extern "C"
80833 {
80834 #endif
80835 /* We use char because int might match the return type of a gcc2
80836    builtin and then its argument prototype would still apply.  */
80837 char $ac_func ();
80838 /* The GNU C library defines this for functions which it implements
80839     to always fail with ENOSYS.  Some functions are actually named
80840     something starting with __ and the normal name is an alias.  */
80841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80842 choke me
80843 #else
80844 char (*f) () = $ac_func;
80845 #endif
80846 #ifdef __cplusplus
80847 }
80848 #endif
80849
80850 int
80851 main ()
80852 {
80853 return f != $ac_func;
80854   ;
80855   return 0;
80856 }
80857 _ACEOF
80858 rm -f conftest.$ac_objext conftest$ac_exeext
80859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80860   (eval $ac_link) 2>conftest.er1
80861   ac_status=$?
80862   grep -v '^ *+' conftest.er1 >conftest.err
80863   rm -f conftest.er1
80864   cat conftest.err >&5
80865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80866   (exit $ac_status); } &&
80867          { ac_try='test -z "$ac_c_werror_flag"
80868                          || test ! -s conftest.err'
80869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80870   (eval $ac_try) 2>&5
80871   ac_status=$?
80872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80873   (exit $ac_status); }; } &&
80874          { ac_try='test -s conftest$ac_exeext'
80875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80876   (eval $ac_try) 2>&5
80877   ac_status=$?
80878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80879   (exit $ac_status); }; }; then
80880   eval "$as_ac_var=yes"
80881 else
80882   echo "$as_me: failed program was:" >&5
80883 sed 's/^/| /' conftest.$ac_ext >&5
80884
80885 eval "$as_ac_var=no"
80886 fi
80887 rm -f conftest.err conftest.$ac_objext \
80888       conftest$ac_exeext conftest.$ac_ext
80889 fi
80890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80892 if test `eval echo '${'$as_ac_var'}'` = yes; then
80893   cat >>confdefs.h <<_ACEOF
80894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80895 _ACEOF
80896
80897 else
80898   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80899 fi
80900 done
80901
80902
80903
80904 for ac_func in __signbit
80905 do
80906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80907 echo "$as_me:$LINENO: checking for $ac_func" >&5
80908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80909 if eval "test \"\${$as_ac_var+set}\" = set"; then
80910   echo $ECHO_N "(cached) $ECHO_C" >&6
80911 else
80912   if test x$gcc_no_link = xyes; then
80913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80915    { (exit 1); exit 1; }; }
80916 fi
80917 cat >conftest.$ac_ext <<_ACEOF
80918 /* confdefs.h.  */
80919 _ACEOF
80920 cat confdefs.h >>conftest.$ac_ext
80921 cat >>conftest.$ac_ext <<_ACEOF
80922 /* end confdefs.h.  */
80923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80924    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80925 #define $ac_func innocuous_$ac_func
80926
80927 /* System header to define __stub macros and hopefully few prototypes,
80928     which can conflict with char $ac_func (); below.
80929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80930     <limits.h> exists even on freestanding compilers.  */
80931
80932 #ifdef __STDC__
80933 # include <limits.h>
80934 #else
80935 # include <assert.h>
80936 #endif
80937
80938 #undef $ac_func
80939
80940 /* Override any gcc2 internal prototype to avoid an error.  */
80941 #ifdef __cplusplus
80942 extern "C"
80943 {
80944 #endif
80945 /* We use char because int might match the return type of a gcc2
80946    builtin and then its argument prototype would still apply.  */
80947 char $ac_func ();
80948 /* The GNU C library defines this for functions which it implements
80949     to always fail with ENOSYS.  Some functions are actually named
80950     something starting with __ and the normal name is an alias.  */
80951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80952 choke me
80953 #else
80954 char (*f) () = $ac_func;
80955 #endif
80956 #ifdef __cplusplus
80957 }
80958 #endif
80959
80960 int
80961 main ()
80962 {
80963 return f != $ac_func;
80964   ;
80965   return 0;
80966 }
80967 _ACEOF
80968 rm -f conftest.$ac_objext conftest$ac_exeext
80969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80970   (eval $ac_link) 2>conftest.er1
80971   ac_status=$?
80972   grep -v '^ *+' conftest.er1 >conftest.err
80973   rm -f conftest.er1
80974   cat conftest.err >&5
80975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80976   (exit $ac_status); } &&
80977          { ac_try='test -z "$ac_c_werror_flag"
80978                          || test ! -s conftest.err'
80979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80980   (eval $ac_try) 2>&5
80981   ac_status=$?
80982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80983   (exit $ac_status); }; } &&
80984          { ac_try='test -s conftest$ac_exeext'
80985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80986   (eval $ac_try) 2>&5
80987   ac_status=$?
80988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80989   (exit $ac_status); }; }; then
80990   eval "$as_ac_var=yes"
80991 else
80992   echo "$as_me: failed program was:" >&5
80993 sed 's/^/| /' conftest.$ac_ext >&5
80994
80995 eval "$as_ac_var=no"
80996 fi
80997 rm -f conftest.err conftest.$ac_objext \
80998       conftest$ac_exeext conftest.$ac_ext
80999 fi
81000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81002 if test `eval echo '${'$as_ac_var'}'` = yes; then
81003   cat >>confdefs.h <<_ACEOF
81004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81005 _ACEOF
81006
81007 else
81008   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81009 fi
81010 done
81011
81012
81013
81014 for ac_func in __signbitf
81015 do
81016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81017 echo "$as_me:$LINENO: checking for $ac_func" >&5
81018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81019 if eval "test \"\${$as_ac_var+set}\" = set"; then
81020   echo $ECHO_N "(cached) $ECHO_C" >&6
81021 else
81022   if test x$gcc_no_link = xyes; then
81023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81025    { (exit 1); exit 1; }; }
81026 fi
81027 cat >conftest.$ac_ext <<_ACEOF
81028 /* confdefs.h.  */
81029 _ACEOF
81030 cat confdefs.h >>conftest.$ac_ext
81031 cat >>conftest.$ac_ext <<_ACEOF
81032 /* end confdefs.h.  */
81033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81034    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81035 #define $ac_func innocuous_$ac_func
81036
81037 /* System header to define __stub macros and hopefully few prototypes,
81038     which can conflict with char $ac_func (); below.
81039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81040     <limits.h> exists even on freestanding compilers.  */
81041
81042 #ifdef __STDC__
81043 # include <limits.h>
81044 #else
81045 # include <assert.h>
81046 #endif
81047
81048 #undef $ac_func
81049
81050 /* Override any gcc2 internal prototype to avoid an error.  */
81051 #ifdef __cplusplus
81052 extern "C"
81053 {
81054 #endif
81055 /* We use char because int might match the return type of a gcc2
81056    builtin and then its argument prototype would still apply.  */
81057 char $ac_func ();
81058 /* The GNU C library defines this for functions which it implements
81059     to always fail with ENOSYS.  Some functions are actually named
81060     something starting with __ and the normal name is an alias.  */
81061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81062 choke me
81063 #else
81064 char (*f) () = $ac_func;
81065 #endif
81066 #ifdef __cplusplus
81067 }
81068 #endif
81069
81070 int
81071 main ()
81072 {
81073 return f != $ac_func;
81074   ;
81075   return 0;
81076 }
81077 _ACEOF
81078 rm -f conftest.$ac_objext conftest$ac_exeext
81079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81080   (eval $ac_link) 2>conftest.er1
81081   ac_status=$?
81082   grep -v '^ *+' conftest.er1 >conftest.err
81083   rm -f conftest.er1
81084   cat conftest.err >&5
81085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81086   (exit $ac_status); } &&
81087          { ac_try='test -z "$ac_c_werror_flag"
81088                          || test ! -s conftest.err'
81089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81090   (eval $ac_try) 2>&5
81091   ac_status=$?
81092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81093   (exit $ac_status); }; } &&
81094          { ac_try='test -s conftest$ac_exeext'
81095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81096   (eval $ac_try) 2>&5
81097   ac_status=$?
81098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81099   (exit $ac_status); }; }; then
81100   eval "$as_ac_var=yes"
81101 else
81102   echo "$as_me: failed program was:" >&5
81103 sed 's/^/| /' conftest.$ac_ext >&5
81104
81105 eval "$as_ac_var=no"
81106 fi
81107 rm -f conftest.err conftest.$ac_objext \
81108       conftest$ac_exeext conftest.$ac_ext
81109 fi
81110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81112 if test `eval echo '${'$as_ac_var'}'` = yes; then
81113   cat >>confdefs.h <<_ACEOF
81114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81115 _ACEOF
81116
81117 else
81118   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81119 fi
81120 done
81121
81122
81123           if test x$ac_cv_func_copysignl = x"yes"; then
81124
81125 for ac_func in __signbitl
81126 do
81127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81128 echo "$as_me:$LINENO: checking for $ac_func" >&5
81129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81130 if eval "test \"\${$as_ac_var+set}\" = set"; then
81131   echo $ECHO_N "(cached) $ECHO_C" >&6
81132 else
81133   if test x$gcc_no_link = xyes; then
81134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81136    { (exit 1); exit 1; }; }
81137 fi
81138 cat >conftest.$ac_ext <<_ACEOF
81139 /* confdefs.h.  */
81140 _ACEOF
81141 cat confdefs.h >>conftest.$ac_ext
81142 cat >>conftest.$ac_ext <<_ACEOF
81143 /* end confdefs.h.  */
81144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81146 #define $ac_func innocuous_$ac_func
81147
81148 /* System header to define __stub macros and hopefully few prototypes,
81149     which can conflict with char $ac_func (); below.
81150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81151     <limits.h> exists even on freestanding compilers.  */
81152
81153 #ifdef __STDC__
81154 # include <limits.h>
81155 #else
81156 # include <assert.h>
81157 #endif
81158
81159 #undef $ac_func
81160
81161 /* Override any gcc2 internal prototype to avoid an error.  */
81162 #ifdef __cplusplus
81163 extern "C"
81164 {
81165 #endif
81166 /* We use char because int might match the return type of a gcc2
81167    builtin and then its argument prototype would still apply.  */
81168 char $ac_func ();
81169 /* The GNU C library defines this for functions which it implements
81170     to always fail with ENOSYS.  Some functions are actually named
81171     something starting with __ and the normal name is an alias.  */
81172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81173 choke me
81174 #else
81175 char (*f) () = $ac_func;
81176 #endif
81177 #ifdef __cplusplus
81178 }
81179 #endif
81180
81181 int
81182 main ()
81183 {
81184 return f != $ac_func;
81185   ;
81186   return 0;
81187 }
81188 _ACEOF
81189 rm -f conftest.$ac_objext conftest$ac_exeext
81190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81191   (eval $ac_link) 2>conftest.er1
81192   ac_status=$?
81193   grep -v '^ *+' conftest.er1 >conftest.err
81194   rm -f conftest.er1
81195   cat conftest.err >&5
81196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81197   (exit $ac_status); } &&
81198          { ac_try='test -z "$ac_c_werror_flag"
81199                          || test ! -s conftest.err'
81200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81201   (eval $ac_try) 2>&5
81202   ac_status=$?
81203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81204   (exit $ac_status); }; } &&
81205          { ac_try='test -s conftest$ac_exeext'
81206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81207   (eval $ac_try) 2>&5
81208   ac_status=$?
81209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81210   (exit $ac_status); }; }; then
81211   eval "$as_ac_var=yes"
81212 else
81213   echo "$as_me: failed program was:" >&5
81214 sed 's/^/| /' conftest.$ac_ext >&5
81215
81216 eval "$as_ac_var=no"
81217 fi
81218 rm -f conftest.err conftest.$ac_objext \
81219       conftest$ac_exeext conftest.$ac_ext
81220 fi
81221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81223 if test `eval echo '${'$as_ac_var'}'` = yes; then
81224   cat >>confdefs.h <<_ACEOF
81225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81226 _ACEOF
81227
81228 else
81229   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81230 fi
81231 done
81232
81233   fi
81234
81235   # Used in libmath/Makefile.am.
81236   if test -n "$LIBMATHOBJS"; then
81237     need_libmath=yes
81238   fi
81239
81240
81241
81242
81243   enable_iconv=no
81244   # Only continue checking if the ISO C99 headers exist and support is on.
81245   if test x"$enable_wchar_t" = xyes; then
81246
81247     # Use iconv for wchar_t to char conversions. As such, check for
81248     # X/Open Portability Guide, version 2 features (XPG2).
81249     if test "${ac_cv_header_iconv_h+set}" = set; then
81250   echo "$as_me:$LINENO: checking for iconv.h" >&5
81251 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81252 if test "${ac_cv_header_iconv_h+set}" = set; then
81253   echo $ECHO_N "(cached) $ECHO_C" >&6
81254 fi
81255 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81256 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81257 else
81258   # Is the header compilable?
81259 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81260 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81261 cat >conftest.$ac_ext <<_ACEOF
81262 /* confdefs.h.  */
81263 _ACEOF
81264 cat confdefs.h >>conftest.$ac_ext
81265 cat >>conftest.$ac_ext <<_ACEOF
81266 /* end confdefs.h.  */
81267 $ac_includes_default
81268 #include <iconv.h>
81269 _ACEOF
81270 rm -f conftest.$ac_objext
81271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81272   (eval $ac_compile) 2>conftest.er1
81273   ac_status=$?
81274   grep -v '^ *+' conftest.er1 >conftest.err
81275   rm -f conftest.er1
81276   cat conftest.err >&5
81277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81278   (exit $ac_status); } &&
81279          { ac_try='test -z "$ac_c_werror_flag"
81280                          || test ! -s conftest.err'
81281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81282   (eval $ac_try) 2>&5
81283   ac_status=$?
81284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81285   (exit $ac_status); }; } &&
81286          { ac_try='test -s conftest.$ac_objext'
81287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81288   (eval $ac_try) 2>&5
81289   ac_status=$?
81290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81291   (exit $ac_status); }; }; then
81292   ac_header_compiler=yes
81293 else
81294   echo "$as_me: failed program was:" >&5
81295 sed 's/^/| /' conftest.$ac_ext >&5
81296
81297 ac_header_compiler=no
81298 fi
81299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81301 echo "${ECHO_T}$ac_header_compiler" >&6
81302
81303 # Is the header present?
81304 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81305 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81306 cat >conftest.$ac_ext <<_ACEOF
81307 /* confdefs.h.  */
81308 _ACEOF
81309 cat confdefs.h >>conftest.$ac_ext
81310 cat >>conftest.$ac_ext <<_ACEOF
81311 /* end confdefs.h.  */
81312 #include <iconv.h>
81313 _ACEOF
81314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81315   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81316   ac_status=$?
81317   grep -v '^ *+' conftest.er1 >conftest.err
81318   rm -f conftest.er1
81319   cat conftest.err >&5
81320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81321   (exit $ac_status); } >/dev/null; then
81322   if test -s conftest.err; then
81323     ac_cpp_err=$ac_c_preproc_warn_flag
81324     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81325   else
81326     ac_cpp_err=
81327   fi
81328 else
81329   ac_cpp_err=yes
81330 fi
81331 if test -z "$ac_cpp_err"; then
81332   ac_header_preproc=yes
81333 else
81334   echo "$as_me: failed program was:" >&5
81335 sed 's/^/| /' conftest.$ac_ext >&5
81336
81337   ac_header_preproc=no
81338 fi
81339 rm -f conftest.err conftest.$ac_ext
81340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81341 echo "${ECHO_T}$ac_header_preproc" >&6
81342
81343 # So?  What about this header?
81344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81345   yes:no: )
81346     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81347 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81348     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81349 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81350     ac_header_preproc=yes
81351     ;;
81352   no:yes:* )
81353     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81354 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81355     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
81356 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
81357     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81358 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81359     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
81360 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81361     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81362 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81363     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81364 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81365     (
81366       cat <<\_ASBOX
81367 ## ----------------------------------------- ##
81368 ## Report this to the package-unused lists.  ##
81369 ## ----------------------------------------- ##
81370 _ASBOX
81371     ) |
81372       sed "s/^/$as_me: WARNING:     /" >&2
81373     ;;
81374 esac
81375 echo "$as_me:$LINENO: checking for iconv.h" >&5
81376 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81377 if test "${ac_cv_header_iconv_h+set}" = set; then
81378   echo $ECHO_N "(cached) $ECHO_C" >&6
81379 else
81380   ac_cv_header_iconv_h=$ac_header_preproc
81381 fi
81382 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81383 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81384
81385 fi
81386 if test $ac_cv_header_iconv_h = yes; then
81387   ac_has_iconv_h=yes
81388 else
81389   ac_has_iconv_h=no
81390 fi
81391
81392
81393     if test "${ac_cv_header_langinfo_h+set}" = set; then
81394   echo "$as_me:$LINENO: checking for langinfo.h" >&5
81395 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81396 if test "${ac_cv_header_langinfo_h+set}" = set; then
81397   echo $ECHO_N "(cached) $ECHO_C" >&6
81398 fi
81399 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81400 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81401 else
81402   # Is the header compilable?
81403 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81404 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81405 cat >conftest.$ac_ext <<_ACEOF
81406 /* confdefs.h.  */
81407 _ACEOF
81408 cat confdefs.h >>conftest.$ac_ext
81409 cat >>conftest.$ac_ext <<_ACEOF
81410 /* end confdefs.h.  */
81411 $ac_includes_default
81412 #include <langinfo.h>
81413 _ACEOF
81414 rm -f conftest.$ac_objext
81415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81416   (eval $ac_compile) 2>conftest.er1
81417   ac_status=$?
81418   grep -v '^ *+' conftest.er1 >conftest.err
81419   rm -f conftest.er1
81420   cat conftest.err >&5
81421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81422   (exit $ac_status); } &&
81423          { ac_try='test -z "$ac_c_werror_flag"
81424                          || test ! -s conftest.err'
81425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81426   (eval $ac_try) 2>&5
81427   ac_status=$?
81428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81429   (exit $ac_status); }; } &&
81430          { ac_try='test -s conftest.$ac_objext'
81431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81432   (eval $ac_try) 2>&5
81433   ac_status=$?
81434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81435   (exit $ac_status); }; }; then
81436   ac_header_compiler=yes
81437 else
81438   echo "$as_me: failed program was:" >&5
81439 sed 's/^/| /' conftest.$ac_ext >&5
81440
81441 ac_header_compiler=no
81442 fi
81443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81445 echo "${ECHO_T}$ac_header_compiler" >&6
81446
81447 # Is the header present?
81448 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81449 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81450 cat >conftest.$ac_ext <<_ACEOF
81451 /* confdefs.h.  */
81452 _ACEOF
81453 cat confdefs.h >>conftest.$ac_ext
81454 cat >>conftest.$ac_ext <<_ACEOF
81455 /* end confdefs.h.  */
81456 #include <langinfo.h>
81457 _ACEOF
81458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81459   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81460   ac_status=$?
81461   grep -v '^ *+' conftest.er1 >conftest.err
81462   rm -f conftest.er1
81463   cat conftest.err >&5
81464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81465   (exit $ac_status); } >/dev/null; then
81466   if test -s conftest.err; then
81467     ac_cpp_err=$ac_c_preproc_warn_flag
81468     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81469   else
81470     ac_cpp_err=
81471   fi
81472 else
81473   ac_cpp_err=yes
81474 fi
81475 if test -z "$ac_cpp_err"; then
81476   ac_header_preproc=yes
81477 else
81478   echo "$as_me: failed program was:" >&5
81479 sed 's/^/| /' conftest.$ac_ext >&5
81480
81481   ac_header_preproc=no
81482 fi
81483 rm -f conftest.err conftest.$ac_ext
81484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81485 echo "${ECHO_T}$ac_header_preproc" >&6
81486
81487 # So?  What about this header?
81488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81489   yes:no: )
81490     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81491 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81492     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81493 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81494     ac_header_preproc=yes
81495     ;;
81496   no:yes:* )
81497     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81498 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81499     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
81500 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
81501     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81502 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81503     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
81504 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81505     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81506 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81507     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81508 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81509     (
81510       cat <<\_ASBOX
81511 ## ----------------------------------------- ##
81512 ## Report this to the package-unused lists.  ##
81513 ## ----------------------------------------- ##
81514 _ASBOX
81515     ) |
81516       sed "s/^/$as_me: WARNING:     /" >&2
81517     ;;
81518 esac
81519 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81520 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81521 if test "${ac_cv_header_langinfo_h+set}" = set; then
81522   echo $ECHO_N "(cached) $ECHO_C" >&6
81523 else
81524   ac_cv_header_langinfo_h=$ac_header_preproc
81525 fi
81526 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81527 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81528
81529 fi
81530 if test $ac_cv_header_langinfo_h = yes; then
81531   ac_has_langinfo_h=yes
81532 else
81533   ac_has_langinfo_h=no
81534 fi
81535
81536
81537
81538     # Check for existence of libiconv.a providing XPG2 wchar_t support.
81539     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81540 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81541 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81542   echo $ECHO_N "(cached) $ECHO_C" >&6
81543 else
81544   ac_check_lib_save_LIBS=$LIBS
81545 LIBS="-liconv  $LIBS"
81546 if test x$gcc_no_link = xyes; then
81547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81549    { (exit 1); exit 1; }; }
81550 fi
81551 cat >conftest.$ac_ext <<_ACEOF
81552 /* confdefs.h.  */
81553 _ACEOF
81554 cat confdefs.h >>conftest.$ac_ext
81555 cat >>conftest.$ac_ext <<_ACEOF
81556 /* end confdefs.h.  */
81557
81558 /* Override any gcc2 internal prototype to avoid an error.  */
81559 #ifdef __cplusplus
81560 extern "C"
81561 #endif
81562 /* We use char because int might match the return type of a gcc2
81563    builtin and then its argument prototype would still apply.  */
81564 char iconv ();
81565 int
81566 main ()
81567 {
81568 iconv ();
81569   ;
81570   return 0;
81571 }
81572 _ACEOF
81573 rm -f conftest.$ac_objext conftest$ac_exeext
81574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81575   (eval $ac_link) 2>conftest.er1
81576   ac_status=$?
81577   grep -v '^ *+' conftest.er1 >conftest.err
81578   rm -f conftest.er1
81579   cat conftest.err >&5
81580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81581   (exit $ac_status); } &&
81582          { ac_try='test -z "$ac_c_werror_flag"
81583                          || test ! -s conftest.err'
81584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81585   (eval $ac_try) 2>&5
81586   ac_status=$?
81587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81588   (exit $ac_status); }; } &&
81589          { ac_try='test -s conftest$ac_exeext'
81590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81591   (eval $ac_try) 2>&5
81592   ac_status=$?
81593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81594   (exit $ac_status); }; }; then
81595   ac_cv_lib_iconv_iconv=yes
81596 else
81597   echo "$as_me: failed program was:" >&5
81598 sed 's/^/| /' conftest.$ac_ext >&5
81599
81600 ac_cv_lib_iconv_iconv=no
81601 fi
81602 rm -f conftest.err conftest.$ac_objext \
81603       conftest$ac_exeext conftest.$ac_ext
81604 LIBS=$ac_check_lib_save_LIBS
81605 fi
81606 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81607 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81608 if test $ac_cv_lib_iconv_iconv = yes; then
81609   LIBICONV="-liconv"
81610 fi
81611
81612     ac_save_LIBS="$LIBS"
81613     LIBS="$LIBS $LIBICONV"
81614
81615
81616
81617
81618
81619
81620 for ac_func in iconv_open iconv_close iconv nl_langinfo
81621 do
81622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81623 echo "$as_me:$LINENO: checking for $ac_func" >&5
81624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81625 if eval "test \"\${$as_ac_var+set}\" = set"; then
81626   echo $ECHO_N "(cached) $ECHO_C" >&6
81627 else
81628   if test x$gcc_no_link = xyes; then
81629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81631    { (exit 1); exit 1; }; }
81632 fi
81633 cat >conftest.$ac_ext <<_ACEOF
81634 /* confdefs.h.  */
81635 _ACEOF
81636 cat confdefs.h >>conftest.$ac_ext
81637 cat >>conftest.$ac_ext <<_ACEOF
81638 /* end confdefs.h.  */
81639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81641 #define $ac_func innocuous_$ac_func
81642
81643 /* System header to define __stub macros and hopefully few prototypes,
81644     which can conflict with char $ac_func (); below.
81645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81646     <limits.h> exists even on freestanding compilers.  */
81647
81648 #ifdef __STDC__
81649 # include <limits.h>
81650 #else
81651 # include <assert.h>
81652 #endif
81653
81654 #undef $ac_func
81655
81656 /* Override any gcc2 internal prototype to avoid an error.  */
81657 #ifdef __cplusplus
81658 extern "C"
81659 {
81660 #endif
81661 /* We use char because int might match the return type of a gcc2
81662    builtin and then its argument prototype would still apply.  */
81663 char $ac_func ();
81664 /* The GNU C library defines this for functions which it implements
81665     to always fail with ENOSYS.  Some functions are actually named
81666     something starting with __ and the normal name is an alias.  */
81667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81668 choke me
81669 #else
81670 char (*f) () = $ac_func;
81671 #endif
81672 #ifdef __cplusplus
81673 }
81674 #endif
81675
81676 int
81677 main ()
81678 {
81679 return f != $ac_func;
81680   ;
81681   return 0;
81682 }
81683 _ACEOF
81684 rm -f conftest.$ac_objext conftest$ac_exeext
81685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81686   (eval $ac_link) 2>conftest.er1
81687   ac_status=$?
81688   grep -v '^ *+' conftest.er1 >conftest.err
81689   rm -f conftest.er1
81690   cat conftest.err >&5
81691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81692   (exit $ac_status); } &&
81693          { ac_try='test -z "$ac_c_werror_flag"
81694                          || test ! -s conftest.err'
81695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81696   (eval $ac_try) 2>&5
81697   ac_status=$?
81698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81699   (exit $ac_status); }; } &&
81700          { ac_try='test -s conftest$ac_exeext'
81701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81702   (eval $ac_try) 2>&5
81703   ac_status=$?
81704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81705   (exit $ac_status); }; }; then
81706   eval "$as_ac_var=yes"
81707 else
81708   echo "$as_me: failed program was:" >&5
81709 sed 's/^/| /' conftest.$ac_ext >&5
81710
81711 eval "$as_ac_var=no"
81712 fi
81713 rm -f conftest.err conftest.$ac_objext \
81714       conftest$ac_exeext conftest.$ac_ext
81715 fi
81716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81718 if test `eval echo '${'$as_ac_var'}'` = yes; then
81719   cat >>confdefs.h <<_ACEOF
81720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81721 _ACEOF
81722  ac_XPG2funcs=yes
81723 else
81724   ac_XPG2funcs=no
81725 fi
81726 done
81727
81728
81729     LIBS="$ac_save_LIBS"
81730
81731     if test x"$ac_has_iconv_h" = xyes &&
81732        test x"$ac_has_langinfo_h" = xyes &&
81733        test x"$ac_XPG2funcs" = xyes;
81734     then
81735
81736 cat >>confdefs.h <<\_ACEOF
81737 #define _GLIBCXX_USE_ICONV 1
81738 _ACEOF
81739
81740       enable_iconv=yes
81741     fi
81742   fi
81743   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81744 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81745   echo "$as_me:$LINENO: result: $enable_iconv" >&5
81746 echo "${ECHO_T}$enable_iconv" >&6
81747
81748     cat >>confdefs.h <<\_ACEOF
81749 #define HAVE_COPYSIGN 1
81750 _ACEOF
81751
81752     cat >>confdefs.h <<\_ACEOF
81753 #define HAVE_COPYSIGNF 1
81754 _ACEOF
81755
81756     cat >>confdefs.h <<\_ACEOF
81757 #define HAVE_FINITEF 1
81758 _ACEOF
81759
81760     cat >>confdefs.h <<\_ACEOF
81761 #define HAVE_FINITE 1
81762 _ACEOF
81763
81764     cat >>confdefs.h <<\_ACEOF
81765 #define HAVE_FREXPF 1
81766 _ACEOF
81767
81768     cat >>confdefs.h <<\_ACEOF
81769 #define HAVE_HYPOTF 1
81770 _ACEOF
81771
81772     cat >>confdefs.h <<\_ACEOF
81773 #define HAVE_ISINF 1
81774 _ACEOF
81775
81776     cat >>confdefs.h <<\_ACEOF
81777 #define HAVE_ISINFF 1
81778 _ACEOF
81779
81780     cat >>confdefs.h <<\_ACEOF
81781 #define HAVE_ISNAN 1
81782 _ACEOF
81783
81784     cat >>confdefs.h <<\_ACEOF
81785 #define HAVE_ISNANF 1
81786 _ACEOF
81787
81788     if test x"long_double_math_on_this_cpu" = x"yes"; then
81789       cat >>confdefs.h <<\_ACEOF
81790 #define HAVE_FINITEL 1
81791 _ACEOF
81792
81793       cat >>confdefs.h <<\_ACEOF
81794 #define HAVE_ISINFL 1
81795 _ACEOF
81796
81797       cat >>confdefs.h <<\_ACEOF
81798 #define HAVE_ISNANL 1
81799 _ACEOF
81800
81801     fi
81802     ;;
81803   *-netware)
81804
81805
81806
81807
81808
81809
81810
81811
81812 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81813       sys/types.h locale.h float.h inttypes.h
81814 do
81815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81817   echo "$as_me:$LINENO: checking for $ac_header" >&5
81818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81820   echo $ECHO_N "(cached) $ECHO_C" >&6
81821 fi
81822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81824 else
81825   # Is the header compilable?
81826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81828 cat >conftest.$ac_ext <<_ACEOF
81829 /* confdefs.h.  */
81830 _ACEOF
81831 cat confdefs.h >>conftest.$ac_ext
81832 cat >>conftest.$ac_ext <<_ACEOF
81833 /* end confdefs.h.  */
81834 $ac_includes_default
81835 #include <$ac_header>
81836 _ACEOF
81837 rm -f conftest.$ac_objext
81838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81839   (eval $ac_compile) 2>conftest.er1
81840   ac_status=$?
81841   grep -v '^ *+' conftest.er1 >conftest.err
81842   rm -f conftest.er1
81843   cat conftest.err >&5
81844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81845   (exit $ac_status); } &&
81846          { ac_try='test -z "$ac_c_werror_flag"
81847                          || test ! -s conftest.err'
81848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81849   (eval $ac_try) 2>&5
81850   ac_status=$?
81851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81852   (exit $ac_status); }; } &&
81853          { ac_try='test -s conftest.$ac_objext'
81854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81855   (eval $ac_try) 2>&5
81856   ac_status=$?
81857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81858   (exit $ac_status); }; }; then
81859   ac_header_compiler=yes
81860 else
81861   echo "$as_me: failed program was:" >&5
81862 sed 's/^/| /' conftest.$ac_ext >&5
81863
81864 ac_header_compiler=no
81865 fi
81866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81868 echo "${ECHO_T}$ac_header_compiler" >&6
81869
81870 # Is the header present?
81871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81873 cat >conftest.$ac_ext <<_ACEOF
81874 /* confdefs.h.  */
81875 _ACEOF
81876 cat confdefs.h >>conftest.$ac_ext
81877 cat >>conftest.$ac_ext <<_ACEOF
81878 /* end confdefs.h.  */
81879 #include <$ac_header>
81880 _ACEOF
81881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81882   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81883   ac_status=$?
81884   grep -v '^ *+' conftest.er1 >conftest.err
81885   rm -f conftest.er1
81886   cat conftest.err >&5
81887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81888   (exit $ac_status); } >/dev/null; then
81889   if test -s conftest.err; then
81890     ac_cpp_err=$ac_c_preproc_warn_flag
81891     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81892   else
81893     ac_cpp_err=
81894   fi
81895 else
81896   ac_cpp_err=yes
81897 fi
81898 if test -z "$ac_cpp_err"; then
81899   ac_header_preproc=yes
81900 else
81901   echo "$as_me: failed program was:" >&5
81902 sed 's/^/| /' conftest.$ac_ext >&5
81903
81904   ac_header_preproc=no
81905 fi
81906 rm -f conftest.err conftest.$ac_ext
81907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81908 echo "${ECHO_T}$ac_header_preproc" >&6
81909
81910 # So?  What about this header?
81911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81912   yes:no: )
81913     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81915     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81917     ac_header_preproc=yes
81918     ;;
81919   no:yes:* )
81920     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81922     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81923 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81924     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81926     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
81927 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
81928     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81930     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81932     (
81933       cat <<\_ASBOX
81934 ## ----------------------------------------- ##
81935 ## Report this to the package-unused lists.  ##
81936 ## ----------------------------------------- ##
81937 _ASBOX
81938     ) |
81939       sed "s/^/$as_me: WARNING:     /" >&2
81940     ;;
81941 esac
81942 echo "$as_me:$LINENO: checking for $ac_header" >&5
81943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81945   echo $ECHO_N "(cached) $ECHO_C" >&6
81946 else
81947   eval "$as_ac_Header=\$ac_header_preproc"
81948 fi
81949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81951
81952 fi
81953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81954   cat >>confdefs.h <<_ACEOF
81955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81956 _ACEOF
81957
81958 fi
81959
81960 done
81961
81962     SECTION_FLAGS='-ffunction-sections -fdata-sections'
81963
81964
81965   # If we're not using GNU ld, then there's no point in even trying these
81966   # tests.  Check for that first.  We should have already tested for gld
81967   # by now (in libtool), but require it now just to be safe...
81968   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81969   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81970
81971
81972
81973   # The name set by libtool depends on the version of libtool.  Shame on us
81974   # for depending on an impl detail, but c'est la vie.  Older versions used
81975   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81976   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81977   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
81978   # set (hence we're using an older libtool), then set it.
81979   if test x${with_gnu_ld+set} != xset; then
81980     if test x${ac_cv_prog_gnu_ld+set} != xset; then
81981       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
81982       with_gnu_ld=no
81983     else
81984       with_gnu_ld=$ac_cv_prog_gnu_ld
81985     fi
81986   fi
81987
81988   # Start by getting the version number.  I think the libtool test already
81989   # does some of this, but throws away the result.
81990
81991   ldver=`$LD --version 2>/dev/null | head -1 | \
81992          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81993
81994   glibcxx_gnu_ld_version=`echo $ldver | \
81995          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81996
81997   # Set --gc-sections.
81998   if test "$with_gnu_ld" = "notbroken"; then
81999     # GNU ld it is!  Joy and bunny rabbits!
82000
82001     # All these tests are for C++; save the language and the compiler flags.
82002     # Need to do this so that g++ won't try to link in libstdc++
82003     ac_test_CFLAGS="${CFLAGS+set}"
82004     ac_save_CFLAGS="$CFLAGS"
82005     CFLAGS='-x c++  -Wl,--gc-sections'
82006
82007     # Check for -Wl,--gc-sections
82008     # XXX This test is broken at the moment, as symbols required for linking
82009     # are now in libsupc++ (not built yet).  In addition, this test has
82010     # cored on solaris in the past.  In addition, --gc-sections doesn't
82011     # really work at the moment (keeps on discarding used sections, first
82012     # .eh_frame and now some of the glibc sections for iconv).
82013     # Bzzzzt.  Thanks for playing, maybe next time.
82014     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82015 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82016     if test "$cross_compiling" = yes; then
82017   ac_sectionLDflags=yes
82018 else
82019   cat >conftest.$ac_ext <<_ACEOF
82020 /* confdefs.h.  */
82021 _ACEOF
82022 cat confdefs.h >>conftest.$ac_ext
82023 cat >>conftest.$ac_ext <<_ACEOF
82024 /* end confdefs.h.  */
82025
82026      int main(void)
82027      {
82028        try { throw 1; }
82029        catch (...) { };
82030        return 0;
82031      }
82032
82033 _ACEOF
82034 rm -f conftest$ac_exeext
82035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82036   (eval $ac_link) 2>&5
82037   ac_status=$?
82038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82039   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82041   (eval $ac_try) 2>&5
82042   ac_status=$?
82043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82044   (exit $ac_status); }; }; then
82045   ac_sectionLDflags=yes
82046 else
82047   echo "$as_me: program exited with status $ac_status" >&5
82048 echo "$as_me: failed program was:" >&5
82049 sed 's/^/| /' conftest.$ac_ext >&5
82050
82051 ( exit $ac_status )
82052 ac_sectionLDflags=no
82053 fi
82054 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82055 fi
82056     if test "$ac_test_CFLAGS" = set; then
82057       CFLAGS="$ac_save_CFLAGS"
82058     else
82059       # this is the suspicious part
82060       CFLAGS=''
82061     fi
82062     if test "$ac_sectionLDflags" = "yes"; then
82063       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82064     fi
82065     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82066 echo "${ECHO_T}$ac_sectionLDflags" >&6
82067   fi
82068
82069   # Set linker optimization flags.
82070   if test x"$with_gnu_ld" = x"yes"; then
82071     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82072   fi
82073
82074
82075
82076
82077
82078
82079 echo "$as_me:$LINENO: checking for main in -lm" >&5
82080 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82081 if test "${ac_cv_lib_m_main+set}" = set; then
82082   echo $ECHO_N "(cached) $ECHO_C" >&6
82083 else
82084   ac_check_lib_save_LIBS=$LIBS
82085 LIBS="-lm  $LIBS"
82086 if test x$gcc_no_link = xyes; then
82087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82089    { (exit 1); exit 1; }; }
82090 fi
82091 cat >conftest.$ac_ext <<_ACEOF
82092 /* confdefs.h.  */
82093 _ACEOF
82094 cat confdefs.h >>conftest.$ac_ext
82095 cat >>conftest.$ac_ext <<_ACEOF
82096 /* end confdefs.h.  */
82097
82098
82099 int
82100 main ()
82101 {
82102 main ();
82103   ;
82104   return 0;
82105 }
82106 _ACEOF
82107 rm -f conftest.$ac_objext conftest$ac_exeext
82108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82109   (eval $ac_link) 2>conftest.er1
82110   ac_status=$?
82111   grep -v '^ *+' conftest.er1 >conftest.err
82112   rm -f conftest.er1
82113   cat conftest.err >&5
82114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82115   (exit $ac_status); } &&
82116          { ac_try='test -z "$ac_c_werror_flag"
82117                          || test ! -s conftest.err'
82118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82119   (eval $ac_try) 2>&5
82120   ac_status=$?
82121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82122   (exit $ac_status); }; } &&
82123          { ac_try='test -s conftest$ac_exeext'
82124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82125   (eval $ac_try) 2>&5
82126   ac_status=$?
82127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82128   (exit $ac_status); }; }; then
82129   ac_cv_lib_m_main=yes
82130 else
82131   echo "$as_me: failed program was:" >&5
82132 sed 's/^/| /' conftest.$ac_ext >&5
82133
82134 ac_cv_lib_m_main=no
82135 fi
82136 rm -f conftest.err conftest.$ac_objext \
82137       conftest$ac_exeext conftest.$ac_ext
82138 LIBS=$ac_check_lib_save_LIBS
82139 fi
82140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82141 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82142 if test $ac_cv_lib_m_main = yes; then
82143   cat >>confdefs.h <<_ACEOF
82144 #define HAVE_LIBM 1
82145 _ACEOF
82146
82147   LIBS="-lm $LIBS"
82148
82149 fi
82150
82151
82152 for ac_func in copysignf
82153 do
82154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82155 echo "$as_me:$LINENO: checking for $ac_func" >&5
82156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82157 if eval "test \"\${$as_ac_var+set}\" = set"; then
82158   echo $ECHO_N "(cached) $ECHO_C" >&6
82159 else
82160   if test x$gcc_no_link = xyes; then
82161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82163    { (exit 1); exit 1; }; }
82164 fi
82165 cat >conftest.$ac_ext <<_ACEOF
82166 /* confdefs.h.  */
82167 _ACEOF
82168 cat confdefs.h >>conftest.$ac_ext
82169 cat >>conftest.$ac_ext <<_ACEOF
82170 /* end confdefs.h.  */
82171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82173 #define $ac_func innocuous_$ac_func
82174
82175 /* System header to define __stub macros and hopefully few prototypes,
82176     which can conflict with char $ac_func (); below.
82177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82178     <limits.h> exists even on freestanding compilers.  */
82179
82180 #ifdef __STDC__
82181 # include <limits.h>
82182 #else
82183 # include <assert.h>
82184 #endif
82185
82186 #undef $ac_func
82187
82188 /* Override any gcc2 internal prototype to avoid an error.  */
82189 #ifdef __cplusplus
82190 extern "C"
82191 {
82192 #endif
82193 /* We use char because int might match the return type of a gcc2
82194    builtin and then its argument prototype would still apply.  */
82195 char $ac_func ();
82196 /* The GNU C library defines this for functions which it implements
82197     to always fail with ENOSYS.  Some functions are actually named
82198     something starting with __ and the normal name is an alias.  */
82199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82200 choke me
82201 #else
82202 char (*f) () = $ac_func;
82203 #endif
82204 #ifdef __cplusplus
82205 }
82206 #endif
82207
82208 int
82209 main ()
82210 {
82211 return f != $ac_func;
82212   ;
82213   return 0;
82214 }
82215 _ACEOF
82216 rm -f conftest.$ac_objext conftest$ac_exeext
82217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82218   (eval $ac_link) 2>conftest.er1
82219   ac_status=$?
82220   grep -v '^ *+' conftest.er1 >conftest.err
82221   rm -f conftest.er1
82222   cat conftest.err >&5
82223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82224   (exit $ac_status); } &&
82225          { ac_try='test -z "$ac_c_werror_flag"
82226                          || test ! -s conftest.err'
82227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82228   (eval $ac_try) 2>&5
82229   ac_status=$?
82230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82231   (exit $ac_status); }; } &&
82232          { ac_try='test -s conftest$ac_exeext'
82233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82234   (eval $ac_try) 2>&5
82235   ac_status=$?
82236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82237   (exit $ac_status); }; }; then
82238   eval "$as_ac_var=yes"
82239 else
82240   echo "$as_me: failed program was:" >&5
82241 sed 's/^/| /' conftest.$ac_ext >&5
82242
82243 eval "$as_ac_var=no"
82244 fi
82245 rm -f conftest.err conftest.$ac_objext \
82246       conftest$ac_exeext conftest.$ac_ext
82247 fi
82248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82250 if test `eval echo '${'$as_ac_var'}'` = yes; then
82251   cat >>confdefs.h <<_ACEOF
82252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82253 _ACEOF
82254
82255 else
82256   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82257 fi
82258 done
82259
82260
82261
82262 for ac_func in __signbit
82263 do
82264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82265 echo "$as_me:$LINENO: checking for $ac_func" >&5
82266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82267 if eval "test \"\${$as_ac_var+set}\" = set"; then
82268   echo $ECHO_N "(cached) $ECHO_C" >&6
82269 else
82270   if test x$gcc_no_link = xyes; then
82271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82273    { (exit 1); exit 1; }; }
82274 fi
82275 cat >conftest.$ac_ext <<_ACEOF
82276 /* confdefs.h.  */
82277 _ACEOF
82278 cat confdefs.h >>conftest.$ac_ext
82279 cat >>conftest.$ac_ext <<_ACEOF
82280 /* end confdefs.h.  */
82281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82283 #define $ac_func innocuous_$ac_func
82284
82285 /* System header to define __stub macros and hopefully few prototypes,
82286     which can conflict with char $ac_func (); below.
82287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82288     <limits.h> exists even on freestanding compilers.  */
82289
82290 #ifdef __STDC__
82291 # include <limits.h>
82292 #else
82293 # include <assert.h>
82294 #endif
82295
82296 #undef $ac_func
82297
82298 /* Override any gcc2 internal prototype to avoid an error.  */
82299 #ifdef __cplusplus
82300 extern "C"
82301 {
82302 #endif
82303 /* We use char because int might match the return type of a gcc2
82304    builtin and then its argument prototype would still apply.  */
82305 char $ac_func ();
82306 /* The GNU C library defines this for functions which it implements
82307     to always fail with ENOSYS.  Some functions are actually named
82308     something starting with __ and the normal name is an alias.  */
82309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82310 choke me
82311 #else
82312 char (*f) () = $ac_func;
82313 #endif
82314 #ifdef __cplusplus
82315 }
82316 #endif
82317
82318 int
82319 main ()
82320 {
82321 return f != $ac_func;
82322   ;
82323   return 0;
82324 }
82325 _ACEOF
82326 rm -f conftest.$ac_objext conftest$ac_exeext
82327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82328   (eval $ac_link) 2>conftest.er1
82329   ac_status=$?
82330   grep -v '^ *+' conftest.er1 >conftest.err
82331   rm -f conftest.er1
82332   cat conftest.err >&5
82333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82334   (exit $ac_status); } &&
82335          { ac_try='test -z "$ac_c_werror_flag"
82336                          || test ! -s conftest.err'
82337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82338   (eval $ac_try) 2>&5
82339   ac_status=$?
82340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82341   (exit $ac_status); }; } &&
82342          { ac_try='test -s conftest$ac_exeext'
82343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82344   (eval $ac_try) 2>&5
82345   ac_status=$?
82346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82347   (exit $ac_status); }; }; then
82348   eval "$as_ac_var=yes"
82349 else
82350   echo "$as_me: failed program was:" >&5
82351 sed 's/^/| /' conftest.$ac_ext >&5
82352
82353 eval "$as_ac_var=no"
82354 fi
82355 rm -f conftest.err conftest.$ac_objext \
82356       conftest$ac_exeext conftest.$ac_ext
82357 fi
82358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82360 if test `eval echo '${'$as_ac_var'}'` = yes; then
82361   cat >>confdefs.h <<_ACEOF
82362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82363 _ACEOF
82364
82365 else
82366   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82367 fi
82368 done
82369
82370
82371
82372 for ac_func in __signbitf
82373 do
82374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82375 echo "$as_me:$LINENO: checking for $ac_func" >&5
82376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82377 if eval "test \"\${$as_ac_var+set}\" = set"; then
82378   echo $ECHO_N "(cached) $ECHO_C" >&6
82379 else
82380   if test x$gcc_no_link = xyes; then
82381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82383    { (exit 1); exit 1; }; }
82384 fi
82385 cat >conftest.$ac_ext <<_ACEOF
82386 /* confdefs.h.  */
82387 _ACEOF
82388 cat confdefs.h >>conftest.$ac_ext
82389 cat >>conftest.$ac_ext <<_ACEOF
82390 /* end confdefs.h.  */
82391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82393 #define $ac_func innocuous_$ac_func
82394
82395 /* System header to define __stub macros and hopefully few prototypes,
82396     which can conflict with char $ac_func (); below.
82397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82398     <limits.h> exists even on freestanding compilers.  */
82399
82400 #ifdef __STDC__
82401 # include <limits.h>
82402 #else
82403 # include <assert.h>
82404 #endif
82405
82406 #undef $ac_func
82407
82408 /* Override any gcc2 internal prototype to avoid an error.  */
82409 #ifdef __cplusplus
82410 extern "C"
82411 {
82412 #endif
82413 /* We use char because int might match the return type of a gcc2
82414    builtin and then its argument prototype would still apply.  */
82415 char $ac_func ();
82416 /* The GNU C library defines this for functions which it implements
82417     to always fail with ENOSYS.  Some functions are actually named
82418     something starting with __ and the normal name is an alias.  */
82419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82420 choke me
82421 #else
82422 char (*f) () = $ac_func;
82423 #endif
82424 #ifdef __cplusplus
82425 }
82426 #endif
82427
82428 int
82429 main ()
82430 {
82431 return f != $ac_func;
82432   ;
82433   return 0;
82434 }
82435 _ACEOF
82436 rm -f conftest.$ac_objext conftest$ac_exeext
82437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82438   (eval $ac_link) 2>conftest.er1
82439   ac_status=$?
82440   grep -v '^ *+' conftest.er1 >conftest.err
82441   rm -f conftest.er1
82442   cat conftest.err >&5
82443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82444   (exit $ac_status); } &&
82445          { ac_try='test -z "$ac_c_werror_flag"
82446                          || test ! -s conftest.err'
82447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82448   (eval $ac_try) 2>&5
82449   ac_status=$?
82450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82451   (exit $ac_status); }; } &&
82452          { ac_try='test -s conftest$ac_exeext'
82453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82454   (eval $ac_try) 2>&5
82455   ac_status=$?
82456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82457   (exit $ac_status); }; }; then
82458   eval "$as_ac_var=yes"
82459 else
82460   echo "$as_me: failed program was:" >&5
82461 sed 's/^/| /' conftest.$ac_ext >&5
82462
82463 eval "$as_ac_var=no"
82464 fi
82465 rm -f conftest.err conftest.$ac_objext \
82466       conftest$ac_exeext conftest.$ac_ext
82467 fi
82468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82470 if test `eval echo '${'$as_ac_var'}'` = yes; then
82471   cat >>confdefs.h <<_ACEOF
82472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82473 _ACEOF
82474
82475 else
82476   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82477 fi
82478 done
82479
82480
82481           if test x$ac_cv_func_copysignl = x"yes"; then
82482
82483 for ac_func in __signbitl
82484 do
82485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82486 echo "$as_me:$LINENO: checking for $ac_func" >&5
82487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82488 if eval "test \"\${$as_ac_var+set}\" = set"; then
82489   echo $ECHO_N "(cached) $ECHO_C" >&6
82490 else
82491   if test x$gcc_no_link = xyes; then
82492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82494    { (exit 1); exit 1; }; }
82495 fi
82496 cat >conftest.$ac_ext <<_ACEOF
82497 /* confdefs.h.  */
82498 _ACEOF
82499 cat confdefs.h >>conftest.$ac_ext
82500 cat >>conftest.$ac_ext <<_ACEOF
82501 /* end confdefs.h.  */
82502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82504 #define $ac_func innocuous_$ac_func
82505
82506 /* System header to define __stub macros and hopefully few prototypes,
82507     which can conflict with char $ac_func (); below.
82508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82509     <limits.h> exists even on freestanding compilers.  */
82510
82511 #ifdef __STDC__
82512 # include <limits.h>
82513 #else
82514 # include <assert.h>
82515 #endif
82516
82517 #undef $ac_func
82518
82519 /* Override any gcc2 internal prototype to avoid an error.  */
82520 #ifdef __cplusplus
82521 extern "C"
82522 {
82523 #endif
82524 /* We use char because int might match the return type of a gcc2
82525    builtin and then its argument prototype would still apply.  */
82526 char $ac_func ();
82527 /* The GNU C library defines this for functions which it implements
82528     to always fail with ENOSYS.  Some functions are actually named
82529     something starting with __ and the normal name is an alias.  */
82530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82531 choke me
82532 #else
82533 char (*f) () = $ac_func;
82534 #endif
82535 #ifdef __cplusplus
82536 }
82537 #endif
82538
82539 int
82540 main ()
82541 {
82542 return f != $ac_func;
82543   ;
82544   return 0;
82545 }
82546 _ACEOF
82547 rm -f conftest.$ac_objext conftest$ac_exeext
82548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82549   (eval $ac_link) 2>conftest.er1
82550   ac_status=$?
82551   grep -v '^ *+' conftest.er1 >conftest.err
82552   rm -f conftest.er1
82553   cat conftest.err >&5
82554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82555   (exit $ac_status); } &&
82556          { ac_try='test -z "$ac_c_werror_flag"
82557                          || test ! -s conftest.err'
82558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82559   (eval $ac_try) 2>&5
82560   ac_status=$?
82561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82562   (exit $ac_status); }; } &&
82563          { ac_try='test -s conftest$ac_exeext'
82564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82565   (eval $ac_try) 2>&5
82566   ac_status=$?
82567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82568   (exit $ac_status); }; }; then
82569   eval "$as_ac_var=yes"
82570 else
82571   echo "$as_me: failed program was:" >&5
82572 sed 's/^/| /' conftest.$ac_ext >&5
82573
82574 eval "$as_ac_var=no"
82575 fi
82576 rm -f conftest.err conftest.$ac_objext \
82577       conftest$ac_exeext conftest.$ac_ext
82578 fi
82579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82581 if test `eval echo '${'$as_ac_var'}'` = yes; then
82582   cat >>confdefs.h <<_ACEOF
82583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82584 _ACEOF
82585
82586 else
82587   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82588 fi
82589 done
82590
82591   fi
82592
82593   # Used in libmath/Makefile.am.
82594   if test -n "$LIBMATHOBJS"; then
82595     need_libmath=yes
82596   fi
82597
82598
82599
82600
82601   enable_iconv=no
82602   # Only continue checking if the ISO C99 headers exist and support is on.
82603   if test x"$enable_wchar_t" = xyes; then
82604
82605     # Use iconv for wchar_t to char conversions. As such, check for
82606     # X/Open Portability Guide, version 2 features (XPG2).
82607     if test "${ac_cv_header_iconv_h+set}" = set; then
82608   echo "$as_me:$LINENO: checking for iconv.h" >&5
82609 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82610 if test "${ac_cv_header_iconv_h+set}" = set; then
82611   echo $ECHO_N "(cached) $ECHO_C" >&6
82612 fi
82613 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82614 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82615 else
82616   # Is the header compilable?
82617 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82618 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82619 cat >conftest.$ac_ext <<_ACEOF
82620 /* confdefs.h.  */
82621 _ACEOF
82622 cat confdefs.h >>conftest.$ac_ext
82623 cat >>conftest.$ac_ext <<_ACEOF
82624 /* end confdefs.h.  */
82625 $ac_includes_default
82626 #include <iconv.h>
82627 _ACEOF
82628 rm -f conftest.$ac_objext
82629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82630   (eval $ac_compile) 2>conftest.er1
82631   ac_status=$?
82632   grep -v '^ *+' conftest.er1 >conftest.err
82633   rm -f conftest.er1
82634   cat conftest.err >&5
82635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82636   (exit $ac_status); } &&
82637          { ac_try='test -z "$ac_c_werror_flag"
82638                          || test ! -s conftest.err'
82639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82640   (eval $ac_try) 2>&5
82641   ac_status=$?
82642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82643   (exit $ac_status); }; } &&
82644          { ac_try='test -s conftest.$ac_objext'
82645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82646   (eval $ac_try) 2>&5
82647   ac_status=$?
82648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82649   (exit $ac_status); }; }; then
82650   ac_header_compiler=yes
82651 else
82652   echo "$as_me: failed program was:" >&5
82653 sed 's/^/| /' conftest.$ac_ext >&5
82654
82655 ac_header_compiler=no
82656 fi
82657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82659 echo "${ECHO_T}$ac_header_compiler" >&6
82660
82661 # Is the header present?
82662 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82663 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82664 cat >conftest.$ac_ext <<_ACEOF
82665 /* confdefs.h.  */
82666 _ACEOF
82667 cat confdefs.h >>conftest.$ac_ext
82668 cat >>conftest.$ac_ext <<_ACEOF
82669 /* end confdefs.h.  */
82670 #include <iconv.h>
82671 _ACEOF
82672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82673   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82674   ac_status=$?
82675   grep -v '^ *+' conftest.er1 >conftest.err
82676   rm -f conftest.er1
82677   cat conftest.err >&5
82678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82679   (exit $ac_status); } >/dev/null; then
82680   if test -s conftest.err; then
82681     ac_cpp_err=$ac_c_preproc_warn_flag
82682     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82683   else
82684     ac_cpp_err=
82685   fi
82686 else
82687   ac_cpp_err=yes
82688 fi
82689 if test -z "$ac_cpp_err"; then
82690   ac_header_preproc=yes
82691 else
82692   echo "$as_me: failed program was:" >&5
82693 sed 's/^/| /' conftest.$ac_ext >&5
82694
82695   ac_header_preproc=no
82696 fi
82697 rm -f conftest.err conftest.$ac_ext
82698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82699 echo "${ECHO_T}$ac_header_preproc" >&6
82700
82701 # So?  What about this header?
82702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82703   yes:no: )
82704     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82705 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82706     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82707 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82708     ac_header_preproc=yes
82709     ;;
82710   no:yes:* )
82711     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82712 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82713     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
82714 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
82715     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82716 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82717     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
82718 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
82719     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82720 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82721     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82722 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82723     (
82724       cat <<\_ASBOX
82725 ## ----------------------------------------- ##
82726 ## Report this to the package-unused lists.  ##
82727 ## ----------------------------------------- ##
82728 _ASBOX
82729     ) |
82730       sed "s/^/$as_me: WARNING:     /" >&2
82731     ;;
82732 esac
82733 echo "$as_me:$LINENO: checking for iconv.h" >&5
82734 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82735 if test "${ac_cv_header_iconv_h+set}" = set; then
82736   echo $ECHO_N "(cached) $ECHO_C" >&6
82737 else
82738   ac_cv_header_iconv_h=$ac_header_preproc
82739 fi
82740 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82741 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82742
82743 fi
82744 if test $ac_cv_header_iconv_h = yes; then
82745   ac_has_iconv_h=yes
82746 else
82747   ac_has_iconv_h=no
82748 fi
82749
82750
82751     if test "${ac_cv_header_langinfo_h+set}" = set; then
82752   echo "$as_me:$LINENO: checking for langinfo.h" >&5
82753 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82754 if test "${ac_cv_header_langinfo_h+set}" = set; then
82755   echo $ECHO_N "(cached) $ECHO_C" >&6
82756 fi
82757 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82758 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82759 else
82760   # Is the header compilable?
82761 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82762 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82763 cat >conftest.$ac_ext <<_ACEOF
82764 /* confdefs.h.  */
82765 _ACEOF
82766 cat confdefs.h >>conftest.$ac_ext
82767 cat >>conftest.$ac_ext <<_ACEOF
82768 /* end confdefs.h.  */
82769 $ac_includes_default
82770 #include <langinfo.h>
82771 _ACEOF
82772 rm -f conftest.$ac_objext
82773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82774   (eval $ac_compile) 2>conftest.er1
82775   ac_status=$?
82776   grep -v '^ *+' conftest.er1 >conftest.err
82777   rm -f conftest.er1
82778   cat conftest.err >&5
82779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82780   (exit $ac_status); } &&
82781          { ac_try='test -z "$ac_c_werror_flag"
82782                          || test ! -s conftest.err'
82783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82784   (eval $ac_try) 2>&5
82785   ac_status=$?
82786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82787   (exit $ac_status); }; } &&
82788          { ac_try='test -s conftest.$ac_objext'
82789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82790   (eval $ac_try) 2>&5
82791   ac_status=$?
82792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82793   (exit $ac_status); }; }; then
82794   ac_header_compiler=yes
82795 else
82796   echo "$as_me: failed program was:" >&5
82797 sed 's/^/| /' conftest.$ac_ext >&5
82798
82799 ac_header_compiler=no
82800 fi
82801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82803 echo "${ECHO_T}$ac_header_compiler" >&6
82804
82805 # Is the header present?
82806 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82807 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82808 cat >conftest.$ac_ext <<_ACEOF
82809 /* confdefs.h.  */
82810 _ACEOF
82811 cat confdefs.h >>conftest.$ac_ext
82812 cat >>conftest.$ac_ext <<_ACEOF
82813 /* end confdefs.h.  */
82814 #include <langinfo.h>
82815 _ACEOF
82816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82817   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82818   ac_status=$?
82819   grep -v '^ *+' conftest.er1 >conftest.err
82820   rm -f conftest.er1
82821   cat conftest.err >&5
82822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82823   (exit $ac_status); } >/dev/null; then
82824   if test -s conftest.err; then
82825     ac_cpp_err=$ac_c_preproc_warn_flag
82826     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82827   else
82828     ac_cpp_err=
82829   fi
82830 else
82831   ac_cpp_err=yes
82832 fi
82833 if test -z "$ac_cpp_err"; then
82834   ac_header_preproc=yes
82835 else
82836   echo "$as_me: failed program was:" >&5
82837 sed 's/^/| /' conftest.$ac_ext >&5
82838
82839   ac_header_preproc=no
82840 fi
82841 rm -f conftest.err conftest.$ac_ext
82842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82843 echo "${ECHO_T}$ac_header_preproc" >&6
82844
82845 # So?  What about this header?
82846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82847   yes:no: )
82848     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82849 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82850     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82851 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82852     ac_header_preproc=yes
82853     ;;
82854   no:yes:* )
82855     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82856 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82857     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
82858 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
82859     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82860 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82861     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
82862 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
82863     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82864 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82865     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82866 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82867     (
82868       cat <<\_ASBOX
82869 ## ----------------------------------------- ##
82870 ## Report this to the package-unused lists.  ##
82871 ## ----------------------------------------- ##
82872 _ASBOX
82873     ) |
82874       sed "s/^/$as_me: WARNING:     /" >&2
82875     ;;
82876 esac
82877 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82878 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82879 if test "${ac_cv_header_langinfo_h+set}" = set; then
82880   echo $ECHO_N "(cached) $ECHO_C" >&6
82881 else
82882   ac_cv_header_langinfo_h=$ac_header_preproc
82883 fi
82884 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82885 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82886
82887 fi
82888 if test $ac_cv_header_langinfo_h = yes; then
82889   ac_has_langinfo_h=yes
82890 else
82891   ac_has_langinfo_h=no
82892 fi
82893
82894
82895
82896     # Check for existence of libiconv.a providing XPG2 wchar_t support.
82897     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82898 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82899 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82900   echo $ECHO_N "(cached) $ECHO_C" >&6
82901 else
82902   ac_check_lib_save_LIBS=$LIBS
82903 LIBS="-liconv  $LIBS"
82904 if test x$gcc_no_link = xyes; then
82905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82907    { (exit 1); exit 1; }; }
82908 fi
82909 cat >conftest.$ac_ext <<_ACEOF
82910 /* confdefs.h.  */
82911 _ACEOF
82912 cat confdefs.h >>conftest.$ac_ext
82913 cat >>conftest.$ac_ext <<_ACEOF
82914 /* end confdefs.h.  */
82915
82916 /* Override any gcc2 internal prototype to avoid an error.  */
82917 #ifdef __cplusplus
82918 extern "C"
82919 #endif
82920 /* We use char because int might match the return type of a gcc2
82921    builtin and then its argument prototype would still apply.  */
82922 char iconv ();
82923 int
82924 main ()
82925 {
82926 iconv ();
82927   ;
82928   return 0;
82929 }
82930 _ACEOF
82931 rm -f conftest.$ac_objext conftest$ac_exeext
82932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82933   (eval $ac_link) 2>conftest.er1
82934   ac_status=$?
82935   grep -v '^ *+' conftest.er1 >conftest.err
82936   rm -f conftest.er1
82937   cat conftest.err >&5
82938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82939   (exit $ac_status); } &&
82940          { ac_try='test -z "$ac_c_werror_flag"
82941                          || test ! -s conftest.err'
82942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82943   (eval $ac_try) 2>&5
82944   ac_status=$?
82945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82946   (exit $ac_status); }; } &&
82947          { ac_try='test -s conftest$ac_exeext'
82948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82949   (eval $ac_try) 2>&5
82950   ac_status=$?
82951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82952   (exit $ac_status); }; }; then
82953   ac_cv_lib_iconv_iconv=yes
82954 else
82955   echo "$as_me: failed program was:" >&5
82956 sed 's/^/| /' conftest.$ac_ext >&5
82957
82958 ac_cv_lib_iconv_iconv=no
82959 fi
82960 rm -f conftest.err conftest.$ac_objext \
82961       conftest$ac_exeext conftest.$ac_ext
82962 LIBS=$ac_check_lib_save_LIBS
82963 fi
82964 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82965 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82966 if test $ac_cv_lib_iconv_iconv = yes; then
82967   LIBICONV="-liconv"
82968 fi
82969
82970     ac_save_LIBS="$LIBS"
82971     LIBS="$LIBS $LIBICONV"
82972
82973
82974
82975
82976
82977
82978 for ac_func in iconv_open iconv_close iconv nl_langinfo
82979 do
82980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82981 echo "$as_me:$LINENO: checking for $ac_func" >&5
82982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82983 if eval "test \"\${$as_ac_var+set}\" = set"; then
82984   echo $ECHO_N "(cached) $ECHO_C" >&6
82985 else
82986   if test x$gcc_no_link = xyes; then
82987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82989    { (exit 1); exit 1; }; }
82990 fi
82991 cat >conftest.$ac_ext <<_ACEOF
82992 /* confdefs.h.  */
82993 _ACEOF
82994 cat confdefs.h >>conftest.$ac_ext
82995 cat >>conftest.$ac_ext <<_ACEOF
82996 /* end confdefs.h.  */
82997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82999 #define $ac_func innocuous_$ac_func
83000
83001 /* System header to define __stub macros and hopefully few prototypes,
83002     which can conflict with char $ac_func (); below.
83003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83004     <limits.h> exists even on freestanding compilers.  */
83005
83006 #ifdef __STDC__
83007 # include <limits.h>
83008 #else
83009 # include <assert.h>
83010 #endif
83011
83012 #undef $ac_func
83013
83014 /* Override any gcc2 internal prototype to avoid an error.  */
83015 #ifdef __cplusplus
83016 extern "C"
83017 {
83018 #endif
83019 /* We use char because int might match the return type of a gcc2
83020    builtin and then its argument prototype would still apply.  */
83021 char $ac_func ();
83022 /* The GNU C library defines this for functions which it implements
83023     to always fail with ENOSYS.  Some functions are actually named
83024     something starting with __ and the normal name is an alias.  */
83025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83026 choke me
83027 #else
83028 char (*f) () = $ac_func;
83029 #endif
83030 #ifdef __cplusplus
83031 }
83032 #endif
83033
83034 int
83035 main ()
83036 {
83037 return f != $ac_func;
83038   ;
83039   return 0;
83040 }
83041 _ACEOF
83042 rm -f conftest.$ac_objext conftest$ac_exeext
83043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83044   (eval $ac_link) 2>conftest.er1
83045   ac_status=$?
83046   grep -v '^ *+' conftest.er1 >conftest.err
83047   rm -f conftest.er1
83048   cat conftest.err >&5
83049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83050   (exit $ac_status); } &&
83051          { ac_try='test -z "$ac_c_werror_flag"
83052                          || test ! -s conftest.err'
83053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83054   (eval $ac_try) 2>&5
83055   ac_status=$?
83056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83057   (exit $ac_status); }; } &&
83058          { ac_try='test -s conftest$ac_exeext'
83059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83060   (eval $ac_try) 2>&5
83061   ac_status=$?
83062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83063   (exit $ac_status); }; }; then
83064   eval "$as_ac_var=yes"
83065 else
83066   echo "$as_me: failed program was:" >&5
83067 sed 's/^/| /' conftest.$ac_ext >&5
83068
83069 eval "$as_ac_var=no"
83070 fi
83071 rm -f conftest.err conftest.$ac_objext \
83072       conftest$ac_exeext conftest.$ac_ext
83073 fi
83074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83076 if test `eval echo '${'$as_ac_var'}'` = yes; then
83077   cat >>confdefs.h <<_ACEOF
83078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83079 _ACEOF
83080  ac_XPG2funcs=yes
83081 else
83082   ac_XPG2funcs=no
83083 fi
83084 done
83085
83086
83087     LIBS="$ac_save_LIBS"
83088
83089     if test x"$ac_has_iconv_h" = xyes &&
83090        test x"$ac_has_langinfo_h" = xyes &&
83091        test x"$ac_XPG2funcs" = xyes;
83092     then
83093
83094 cat >>confdefs.h <<\_ACEOF
83095 #define _GLIBCXX_USE_ICONV 1
83096 _ACEOF
83097
83098       enable_iconv=yes
83099     fi
83100   fi
83101   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
83102 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
83103   echo "$as_me:$LINENO: result: $enable_iconv" >&5
83104 echo "${ECHO_T}$enable_iconv" >&6
83105
83106
83107     # For showmanyc_helper().
83108
83109
83110 for ac_header in sys/ioctl.h sys/filio.h
83111 do
83112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83114   echo "$as_me:$LINENO: checking for $ac_header" >&5
83115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83117   echo $ECHO_N "(cached) $ECHO_C" >&6
83118 fi
83119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83121 else
83122   # Is the header compilable?
83123 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83125 cat >conftest.$ac_ext <<_ACEOF
83126 /* confdefs.h.  */
83127 _ACEOF
83128 cat confdefs.h >>conftest.$ac_ext
83129 cat >>conftest.$ac_ext <<_ACEOF
83130 /* end confdefs.h.  */
83131 $ac_includes_default
83132 #include <$ac_header>
83133 _ACEOF
83134 rm -f conftest.$ac_objext
83135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83136   (eval $ac_compile) 2>conftest.er1
83137   ac_status=$?
83138   grep -v '^ *+' conftest.er1 >conftest.err
83139   rm -f conftest.er1
83140   cat conftest.err >&5
83141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83142   (exit $ac_status); } &&
83143          { ac_try='test -z "$ac_c_werror_flag"
83144                          || test ! -s conftest.err'
83145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83146   (eval $ac_try) 2>&5
83147   ac_status=$?
83148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83149   (exit $ac_status); }; } &&
83150          { ac_try='test -s conftest.$ac_objext'
83151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83152   (eval $ac_try) 2>&5
83153   ac_status=$?
83154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83155   (exit $ac_status); }; }; then
83156   ac_header_compiler=yes
83157 else
83158   echo "$as_me: failed program was:" >&5
83159 sed 's/^/| /' conftest.$ac_ext >&5
83160
83161 ac_header_compiler=no
83162 fi
83163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83165 echo "${ECHO_T}$ac_header_compiler" >&6
83166
83167 # Is the header present?
83168 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83169 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83170 cat >conftest.$ac_ext <<_ACEOF
83171 /* confdefs.h.  */
83172 _ACEOF
83173 cat confdefs.h >>conftest.$ac_ext
83174 cat >>conftest.$ac_ext <<_ACEOF
83175 /* end confdefs.h.  */
83176 #include <$ac_header>
83177 _ACEOF
83178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83179   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83180   ac_status=$?
83181   grep -v '^ *+' conftest.er1 >conftest.err
83182   rm -f conftest.er1
83183   cat conftest.err >&5
83184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83185   (exit $ac_status); } >/dev/null; then
83186   if test -s conftest.err; then
83187     ac_cpp_err=$ac_c_preproc_warn_flag
83188     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83189   else
83190     ac_cpp_err=
83191   fi
83192 else
83193   ac_cpp_err=yes
83194 fi
83195 if test -z "$ac_cpp_err"; then
83196   ac_header_preproc=yes
83197 else
83198   echo "$as_me: failed program was:" >&5
83199 sed 's/^/| /' conftest.$ac_ext >&5
83200
83201   ac_header_preproc=no
83202 fi
83203 rm -f conftest.err conftest.$ac_ext
83204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83205 echo "${ECHO_T}$ac_header_preproc" >&6
83206
83207 # So?  What about this header?
83208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83209   yes:no: )
83210     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83212     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83213 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83214     ac_header_preproc=yes
83215     ;;
83216   no:yes:* )
83217     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83219     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83220 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83221     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83222 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83223     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83224 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83225     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83227     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83228 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83229     (
83230       cat <<\_ASBOX
83231 ## ----------------------------------------- ##
83232 ## Report this to the package-unused lists.  ##
83233 ## ----------------------------------------- ##
83234 _ASBOX
83235     ) |
83236       sed "s/^/$as_me: WARNING:     /" >&2
83237     ;;
83238 esac
83239 echo "$as_me:$LINENO: checking for $ac_header" >&5
83240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83242   echo $ECHO_N "(cached) $ECHO_C" >&6
83243 else
83244   eval "$as_ac_Header=\$ac_header_preproc"
83245 fi
83246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83248
83249 fi
83250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83251   cat >>confdefs.h <<_ACEOF
83252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83253 _ACEOF
83254
83255 fi
83256
83257 done
83258
83259
83260   echo "$as_me:$LINENO: checking for poll" >&5
83261 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83262   if test "${glibcxx_cv_POLL+set}" = set; then
83263   echo $ECHO_N "(cached) $ECHO_C" >&6
83264 else
83265
83266     if test x$gcc_no_link = xyes; then
83267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83269    { (exit 1); exit 1; }; }
83270 fi
83271 cat >conftest.$ac_ext <<_ACEOF
83272 /* confdefs.h.  */
83273 _ACEOF
83274 cat confdefs.h >>conftest.$ac_ext
83275 cat >>conftest.$ac_ext <<_ACEOF
83276 /* end confdefs.h.  */
83277 #include <poll.h>
83278 int
83279 main ()
83280 {
83281 struct pollfd pfd[1];
83282        pfd[0].events = POLLIN;
83283        poll(pfd, 1, 0);
83284   ;
83285   return 0;
83286 }
83287 _ACEOF
83288 rm -f conftest.$ac_objext conftest$ac_exeext
83289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83290   (eval $ac_link) 2>conftest.er1
83291   ac_status=$?
83292   grep -v '^ *+' conftest.er1 >conftest.err
83293   rm -f conftest.er1
83294   cat conftest.err >&5
83295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83296   (exit $ac_status); } &&
83297          { ac_try='test -z "$ac_c_werror_flag"
83298                          || test ! -s conftest.err'
83299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83300   (eval $ac_try) 2>&5
83301   ac_status=$?
83302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83303   (exit $ac_status); }; } &&
83304          { ac_try='test -s conftest$ac_exeext'
83305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83306   (eval $ac_try) 2>&5
83307   ac_status=$?
83308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83309   (exit $ac_status); }; }; then
83310   glibcxx_cv_POLL=yes
83311 else
83312   echo "$as_me: failed program was:" >&5
83313 sed 's/^/| /' conftest.$ac_ext >&5
83314
83315 glibcxx_cv_POLL=no
83316 fi
83317 rm -f conftest.err conftest.$ac_objext \
83318       conftest$ac_exeext conftest.$ac_ext
83319
83320 fi
83321
83322   if test $glibcxx_cv_POLL = yes; then
83323
83324 cat >>confdefs.h <<\_ACEOF
83325 #define HAVE_POLL 1
83326 _ACEOF
83327
83328   fi
83329   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83330 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83331
83332
83333   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83334 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83335   if test "${glibcxx_cv_S_ISREG+set}" = set; then
83336   echo $ECHO_N "(cached) $ECHO_C" >&6
83337 else
83338
83339     if test x$gcc_no_link = xyes; then
83340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83342    { (exit 1); exit 1; }; }
83343 fi
83344 cat >conftest.$ac_ext <<_ACEOF
83345 /* confdefs.h.  */
83346 _ACEOF
83347 cat confdefs.h >>conftest.$ac_ext
83348 cat >>conftest.$ac_ext <<_ACEOF
83349 /* end confdefs.h.  */
83350 #include <sys/stat.h>
83351 int
83352 main ()
83353 {
83354 struct stat buffer;
83355        fstat(0, &buffer);
83356        S_ISREG(buffer.st_mode);
83357   ;
83358   return 0;
83359 }
83360 _ACEOF
83361 rm -f conftest.$ac_objext conftest$ac_exeext
83362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83363   (eval $ac_link) 2>conftest.er1
83364   ac_status=$?
83365   grep -v '^ *+' conftest.er1 >conftest.err
83366   rm -f conftest.er1
83367   cat conftest.err >&5
83368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83369   (exit $ac_status); } &&
83370          { ac_try='test -z "$ac_c_werror_flag"
83371                          || test ! -s conftest.err'
83372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83373   (eval $ac_try) 2>&5
83374   ac_status=$?
83375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83376   (exit $ac_status); }; } &&
83377          { ac_try='test -s conftest$ac_exeext'
83378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83379   (eval $ac_try) 2>&5
83380   ac_status=$?
83381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83382   (exit $ac_status); }; }; then
83383   glibcxx_cv_S_ISREG=yes
83384 else
83385   echo "$as_me: failed program was:" >&5
83386 sed 's/^/| /' conftest.$ac_ext >&5
83387
83388 glibcxx_cv_S_ISREG=no
83389 fi
83390 rm -f conftest.err conftest.$ac_objext \
83391       conftest$ac_exeext conftest.$ac_ext
83392
83393 fi
83394
83395   if test "${glibcxx_cv_S_IFREG+set}" = set; then
83396   echo $ECHO_N "(cached) $ECHO_C" >&6
83397 else
83398
83399     if test x$gcc_no_link = xyes; then
83400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83402    { (exit 1); exit 1; }; }
83403 fi
83404 cat >conftest.$ac_ext <<_ACEOF
83405 /* confdefs.h.  */
83406 _ACEOF
83407 cat confdefs.h >>conftest.$ac_ext
83408 cat >>conftest.$ac_ext <<_ACEOF
83409 /* end confdefs.h.  */
83410 #include <sys/stat.h>
83411 int
83412 main ()
83413 {
83414 struct stat buffer;
83415        fstat(0, &buffer);
83416        S_IFREG & buffer.st_mode;
83417   ;
83418   return 0;
83419 }
83420 _ACEOF
83421 rm -f conftest.$ac_objext conftest$ac_exeext
83422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83423   (eval $ac_link) 2>conftest.er1
83424   ac_status=$?
83425   grep -v '^ *+' conftest.er1 >conftest.err
83426   rm -f conftest.er1
83427   cat conftest.err >&5
83428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83429   (exit $ac_status); } &&
83430          { ac_try='test -z "$ac_c_werror_flag"
83431                          || test ! -s conftest.err'
83432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83433   (eval $ac_try) 2>&5
83434   ac_status=$?
83435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83436   (exit $ac_status); }; } &&
83437          { ac_try='test -s conftest$ac_exeext'
83438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83439   (eval $ac_try) 2>&5
83440   ac_status=$?
83441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83442   (exit $ac_status); }; }; then
83443   glibcxx_cv_S_IFREG=yes
83444 else
83445   echo "$as_me: failed program was:" >&5
83446 sed 's/^/| /' conftest.$ac_ext >&5
83447
83448 glibcxx_cv_S_IFREG=no
83449 fi
83450 rm -f conftest.err conftest.$ac_objext \
83451       conftest$ac_exeext conftest.$ac_ext
83452
83453 fi
83454
83455   res=no
83456   if test $glibcxx_cv_S_ISREG = yes; then
83457
83458 cat >>confdefs.h <<\_ACEOF
83459 #define HAVE_S_ISREG 1
83460 _ACEOF
83461
83462     res=S_ISREG
83463   elif test $glibcxx_cv_S_IFREG = yes; then
83464
83465 cat >>confdefs.h <<\_ACEOF
83466 #define HAVE_S_IFREG 1
83467 _ACEOF
83468
83469     res=S_IFREG
83470   fi
83471   echo "$as_me:$LINENO: result: $res" >&5
83472 echo "${ECHO_T}$res" >&6
83473
83474
83475     # For xsputn_2().
83476
83477 for ac_header in sys/uio.h
83478 do
83479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83481   echo "$as_me:$LINENO: checking for $ac_header" >&5
83482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83484   echo $ECHO_N "(cached) $ECHO_C" >&6
83485 fi
83486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83488 else
83489   # Is the header compilable?
83490 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83492 cat >conftest.$ac_ext <<_ACEOF
83493 /* confdefs.h.  */
83494 _ACEOF
83495 cat confdefs.h >>conftest.$ac_ext
83496 cat >>conftest.$ac_ext <<_ACEOF
83497 /* end confdefs.h.  */
83498 $ac_includes_default
83499 #include <$ac_header>
83500 _ACEOF
83501 rm -f conftest.$ac_objext
83502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83503   (eval $ac_compile) 2>conftest.er1
83504   ac_status=$?
83505   grep -v '^ *+' conftest.er1 >conftest.err
83506   rm -f conftest.er1
83507   cat conftest.err >&5
83508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83509   (exit $ac_status); } &&
83510          { ac_try='test -z "$ac_c_werror_flag"
83511                          || test ! -s conftest.err'
83512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83513   (eval $ac_try) 2>&5
83514   ac_status=$?
83515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83516   (exit $ac_status); }; } &&
83517          { ac_try='test -s conftest.$ac_objext'
83518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83519   (eval $ac_try) 2>&5
83520   ac_status=$?
83521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83522   (exit $ac_status); }; }; then
83523   ac_header_compiler=yes
83524 else
83525   echo "$as_me: failed program was:" >&5
83526 sed 's/^/| /' conftest.$ac_ext >&5
83527
83528 ac_header_compiler=no
83529 fi
83530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83532 echo "${ECHO_T}$ac_header_compiler" >&6
83533
83534 # Is the header present?
83535 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83536 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83537 cat >conftest.$ac_ext <<_ACEOF
83538 /* confdefs.h.  */
83539 _ACEOF
83540 cat confdefs.h >>conftest.$ac_ext
83541 cat >>conftest.$ac_ext <<_ACEOF
83542 /* end confdefs.h.  */
83543 #include <$ac_header>
83544 _ACEOF
83545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83546   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83547   ac_status=$?
83548   grep -v '^ *+' conftest.er1 >conftest.err
83549   rm -f conftest.er1
83550   cat conftest.err >&5
83551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83552   (exit $ac_status); } >/dev/null; then
83553   if test -s conftest.err; then
83554     ac_cpp_err=$ac_c_preproc_warn_flag
83555     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83556   else
83557     ac_cpp_err=
83558   fi
83559 else
83560   ac_cpp_err=yes
83561 fi
83562 if test -z "$ac_cpp_err"; then
83563   ac_header_preproc=yes
83564 else
83565   echo "$as_me: failed program was:" >&5
83566 sed 's/^/| /' conftest.$ac_ext >&5
83567
83568   ac_header_preproc=no
83569 fi
83570 rm -f conftest.err conftest.$ac_ext
83571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83572 echo "${ECHO_T}$ac_header_preproc" >&6
83573
83574 # So?  What about this header?
83575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83576   yes:no: )
83577     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83578 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83579     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83580 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83581     ac_header_preproc=yes
83582     ;;
83583   no:yes:* )
83584     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83585 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83586     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83587 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83588     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83589 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83590     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83591 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83592     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83594     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83595 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83596     (
83597       cat <<\_ASBOX
83598 ## ----------------------------------------- ##
83599 ## Report this to the package-unused lists.  ##
83600 ## ----------------------------------------- ##
83601 _ASBOX
83602     ) |
83603       sed "s/^/$as_me: WARNING:     /" >&2
83604     ;;
83605 esac
83606 echo "$as_me:$LINENO: checking for $ac_header" >&5
83607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83609   echo $ECHO_N "(cached) $ECHO_C" >&6
83610 else
83611   eval "$as_ac_Header=\$ac_header_preproc"
83612 fi
83613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83615
83616 fi
83617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83618   cat >>confdefs.h <<_ACEOF
83619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83620 _ACEOF
83621
83622 fi
83623
83624 done
83625
83626
83627   echo "$as_me:$LINENO: checking for writev" >&5
83628 echo $ECHO_N "checking for writev... $ECHO_C" >&6
83629   if test "${glibcxx_cv_WRITEV+set}" = set; then
83630   echo $ECHO_N "(cached) $ECHO_C" >&6
83631 else
83632
83633     if test x$gcc_no_link = xyes; then
83634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83636    { (exit 1); exit 1; }; }
83637 fi
83638 cat >conftest.$ac_ext <<_ACEOF
83639 /* confdefs.h.  */
83640 _ACEOF
83641 cat confdefs.h >>conftest.$ac_ext
83642 cat >>conftest.$ac_ext <<_ACEOF
83643 /* end confdefs.h.  */
83644 #include <sys/uio.h>
83645 int
83646 main ()
83647 {
83648 struct iovec iov[2];
83649        writev(0, iov, 0);
83650   ;
83651   return 0;
83652 }
83653 _ACEOF
83654 rm -f conftest.$ac_objext conftest$ac_exeext
83655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83656   (eval $ac_link) 2>conftest.er1
83657   ac_status=$?
83658   grep -v '^ *+' conftest.er1 >conftest.err
83659   rm -f conftest.er1
83660   cat conftest.err >&5
83661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83662   (exit $ac_status); } &&
83663          { ac_try='test -z "$ac_c_werror_flag"
83664                          || test ! -s conftest.err'
83665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83666   (eval $ac_try) 2>&5
83667   ac_status=$?
83668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83669   (exit $ac_status); }; } &&
83670          { ac_try='test -s conftest$ac_exeext'
83671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83672   (eval $ac_try) 2>&5
83673   ac_status=$?
83674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83675   (exit $ac_status); }; }; then
83676   glibcxx_cv_WRITEV=yes
83677 else
83678   echo "$as_me: failed program was:" >&5
83679 sed 's/^/| /' conftest.$ac_ext >&5
83680
83681 glibcxx_cv_WRITEV=no
83682 fi
83683 rm -f conftest.err conftest.$ac_objext \
83684       conftest$ac_exeext conftest.$ac_ext
83685
83686 fi
83687
83688   if test $glibcxx_cv_WRITEV = yes; then
83689
83690 cat >>confdefs.h <<\_ACEOF
83691 #define HAVE_WRITEV 1
83692 _ACEOF
83693
83694   fi
83695   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
83696 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
83697
83698     ;;
83699   *-qnx6.1* | *-qnx6.2*)
83700     SECTION_FLAGS='-ffunction-sections -fdata-sections'
83701
83702
83703   # If we're not using GNU ld, then there's no point in even trying these
83704   # tests.  Check for that first.  We should have already tested for gld
83705   # by now (in libtool), but require it now just to be safe...
83706   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83707   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83708
83709
83710
83711   # The name set by libtool depends on the version of libtool.  Shame on us
83712   # for depending on an impl detail, but c'est la vie.  Older versions used
83713   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83714   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83715   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
83716   # set (hence we're using an older libtool), then set it.
83717   if test x${with_gnu_ld+set} != xset; then
83718     if test x${ac_cv_prog_gnu_ld+set} != xset; then
83719       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
83720       with_gnu_ld=no
83721     else
83722       with_gnu_ld=$ac_cv_prog_gnu_ld
83723     fi
83724   fi
83725
83726   # Start by getting the version number.  I think the libtool test already
83727   # does some of this, but throws away the result.
83728
83729   ldver=`$LD --version 2>/dev/null | head -1 | \
83730          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83731
83732   glibcxx_gnu_ld_version=`echo $ldver | \
83733          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83734
83735   # Set --gc-sections.
83736   if test "$with_gnu_ld" = "notbroken"; then
83737     # GNU ld it is!  Joy and bunny rabbits!
83738
83739     # All these tests are for C++; save the language and the compiler flags.
83740     # Need to do this so that g++ won't try to link in libstdc++
83741     ac_test_CFLAGS="${CFLAGS+set}"
83742     ac_save_CFLAGS="$CFLAGS"
83743     CFLAGS='-x c++  -Wl,--gc-sections'
83744
83745     # Check for -Wl,--gc-sections
83746     # XXX This test is broken at the moment, as symbols required for linking
83747     # are now in libsupc++ (not built yet).  In addition, this test has
83748     # cored on solaris in the past.  In addition, --gc-sections doesn't
83749     # really work at the moment (keeps on discarding used sections, first
83750     # .eh_frame and now some of the glibc sections for iconv).
83751     # Bzzzzt.  Thanks for playing, maybe next time.
83752     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83753 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83754     if test "$cross_compiling" = yes; then
83755   ac_sectionLDflags=yes
83756 else
83757   cat >conftest.$ac_ext <<_ACEOF
83758 /* confdefs.h.  */
83759 _ACEOF
83760 cat confdefs.h >>conftest.$ac_ext
83761 cat >>conftest.$ac_ext <<_ACEOF
83762 /* end confdefs.h.  */
83763
83764      int main(void)
83765      {
83766        try { throw 1; }
83767        catch (...) { };
83768        return 0;
83769      }
83770
83771 _ACEOF
83772 rm -f conftest$ac_exeext
83773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83774   (eval $ac_link) 2>&5
83775   ac_status=$?
83776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83777   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83779   (eval $ac_try) 2>&5
83780   ac_status=$?
83781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83782   (exit $ac_status); }; }; then
83783   ac_sectionLDflags=yes
83784 else
83785   echo "$as_me: program exited with status $ac_status" >&5
83786 echo "$as_me: failed program was:" >&5
83787 sed 's/^/| /' conftest.$ac_ext >&5
83788
83789 ( exit $ac_status )
83790 ac_sectionLDflags=no
83791 fi
83792 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83793 fi
83794     if test "$ac_test_CFLAGS" = set; then
83795       CFLAGS="$ac_save_CFLAGS"
83796     else
83797       # this is the suspicious part
83798       CFLAGS=''
83799     fi
83800     if test "$ac_sectionLDflags" = "yes"; then
83801       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83802     fi
83803     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83804 echo "${ECHO_T}$ac_sectionLDflags" >&6
83805   fi
83806
83807   # Set linker optimization flags.
83808   if test x"$with_gnu_ld" = x"yes"; then
83809     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83810   fi
83811
83812
83813
83814
83815
83816
83817 echo "$as_me:$LINENO: checking for main in -lm" >&5
83818 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83819 if test "${ac_cv_lib_m_main+set}" = set; then
83820   echo $ECHO_N "(cached) $ECHO_C" >&6
83821 else
83822   ac_check_lib_save_LIBS=$LIBS
83823 LIBS="-lm  $LIBS"
83824 if test x$gcc_no_link = xyes; then
83825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83827    { (exit 1); exit 1; }; }
83828 fi
83829 cat >conftest.$ac_ext <<_ACEOF
83830 /* confdefs.h.  */
83831 _ACEOF
83832 cat confdefs.h >>conftest.$ac_ext
83833 cat >>conftest.$ac_ext <<_ACEOF
83834 /* end confdefs.h.  */
83835
83836
83837 int
83838 main ()
83839 {
83840 main ();
83841   ;
83842   return 0;
83843 }
83844 _ACEOF
83845 rm -f conftest.$ac_objext conftest$ac_exeext
83846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83847   (eval $ac_link) 2>conftest.er1
83848   ac_status=$?
83849   grep -v '^ *+' conftest.er1 >conftest.err
83850   rm -f conftest.er1
83851   cat conftest.err >&5
83852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83853   (exit $ac_status); } &&
83854          { ac_try='test -z "$ac_c_werror_flag"
83855                          || test ! -s conftest.err'
83856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83857   (eval $ac_try) 2>&5
83858   ac_status=$?
83859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83860   (exit $ac_status); }; } &&
83861          { ac_try='test -s conftest$ac_exeext'
83862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83863   (eval $ac_try) 2>&5
83864   ac_status=$?
83865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83866   (exit $ac_status); }; }; then
83867   ac_cv_lib_m_main=yes
83868 else
83869   echo "$as_me: failed program was:" >&5
83870 sed 's/^/| /' conftest.$ac_ext >&5
83871
83872 ac_cv_lib_m_main=no
83873 fi
83874 rm -f conftest.err conftest.$ac_objext \
83875       conftest$ac_exeext conftest.$ac_ext
83876 LIBS=$ac_check_lib_save_LIBS
83877 fi
83878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83879 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83880 if test $ac_cv_lib_m_main = yes; then
83881   cat >>confdefs.h <<_ACEOF
83882 #define HAVE_LIBM 1
83883 _ACEOF
83884
83885   LIBS="-lm $LIBS"
83886
83887 fi
83888
83889
83890 for ac_func in copysignf
83891 do
83892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83893 echo "$as_me:$LINENO: checking for $ac_func" >&5
83894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83895 if eval "test \"\${$as_ac_var+set}\" = set"; then
83896   echo $ECHO_N "(cached) $ECHO_C" >&6
83897 else
83898   if test x$gcc_no_link = xyes; then
83899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83901    { (exit 1); exit 1; }; }
83902 fi
83903 cat >conftest.$ac_ext <<_ACEOF
83904 /* confdefs.h.  */
83905 _ACEOF
83906 cat confdefs.h >>conftest.$ac_ext
83907 cat >>conftest.$ac_ext <<_ACEOF
83908 /* end confdefs.h.  */
83909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83910    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83911 #define $ac_func innocuous_$ac_func
83912
83913 /* System header to define __stub macros and hopefully few prototypes,
83914     which can conflict with char $ac_func (); below.
83915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83916     <limits.h> exists even on freestanding compilers.  */
83917
83918 #ifdef __STDC__
83919 # include <limits.h>
83920 #else
83921 # include <assert.h>
83922 #endif
83923
83924 #undef $ac_func
83925
83926 /* Override any gcc2 internal prototype to avoid an error.  */
83927 #ifdef __cplusplus
83928 extern "C"
83929 {
83930 #endif
83931 /* We use char because int might match the return type of a gcc2
83932    builtin and then its argument prototype would still apply.  */
83933 char $ac_func ();
83934 /* The GNU C library defines this for functions which it implements
83935     to always fail with ENOSYS.  Some functions are actually named
83936     something starting with __ and the normal name is an alias.  */
83937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83938 choke me
83939 #else
83940 char (*f) () = $ac_func;
83941 #endif
83942 #ifdef __cplusplus
83943 }
83944 #endif
83945
83946 int
83947 main ()
83948 {
83949 return f != $ac_func;
83950   ;
83951   return 0;
83952 }
83953 _ACEOF
83954 rm -f conftest.$ac_objext conftest$ac_exeext
83955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83956   (eval $ac_link) 2>conftest.er1
83957   ac_status=$?
83958   grep -v '^ *+' conftest.er1 >conftest.err
83959   rm -f conftest.er1
83960   cat conftest.err >&5
83961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83962   (exit $ac_status); } &&
83963          { ac_try='test -z "$ac_c_werror_flag"
83964                          || test ! -s conftest.err'
83965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83966   (eval $ac_try) 2>&5
83967   ac_status=$?
83968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83969   (exit $ac_status); }; } &&
83970          { ac_try='test -s conftest$ac_exeext'
83971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83972   (eval $ac_try) 2>&5
83973   ac_status=$?
83974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83975   (exit $ac_status); }; }; then
83976   eval "$as_ac_var=yes"
83977 else
83978   echo "$as_me: failed program was:" >&5
83979 sed 's/^/| /' conftest.$ac_ext >&5
83980
83981 eval "$as_ac_var=no"
83982 fi
83983 rm -f conftest.err conftest.$ac_objext \
83984       conftest$ac_exeext conftest.$ac_ext
83985 fi
83986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83988 if test `eval echo '${'$as_ac_var'}'` = yes; then
83989   cat >>confdefs.h <<_ACEOF
83990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83991 _ACEOF
83992
83993 else
83994   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83995 fi
83996 done
83997
83998
83999
84000 for ac_func in __signbit
84001 do
84002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84003 echo "$as_me:$LINENO: checking for $ac_func" >&5
84004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84005 if eval "test \"\${$as_ac_var+set}\" = set"; then
84006   echo $ECHO_N "(cached) $ECHO_C" >&6
84007 else
84008   if test x$gcc_no_link = xyes; then
84009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84011    { (exit 1); exit 1; }; }
84012 fi
84013 cat >conftest.$ac_ext <<_ACEOF
84014 /* confdefs.h.  */
84015 _ACEOF
84016 cat confdefs.h >>conftest.$ac_ext
84017 cat >>conftest.$ac_ext <<_ACEOF
84018 /* end confdefs.h.  */
84019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84021 #define $ac_func innocuous_$ac_func
84022
84023 /* System header to define __stub macros and hopefully few prototypes,
84024     which can conflict with char $ac_func (); below.
84025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84026     <limits.h> exists even on freestanding compilers.  */
84027
84028 #ifdef __STDC__
84029 # include <limits.h>
84030 #else
84031 # include <assert.h>
84032 #endif
84033
84034 #undef $ac_func
84035
84036 /* Override any gcc2 internal prototype to avoid an error.  */
84037 #ifdef __cplusplus
84038 extern "C"
84039 {
84040 #endif
84041 /* We use char because int might match the return type of a gcc2
84042    builtin and then its argument prototype would still apply.  */
84043 char $ac_func ();
84044 /* The GNU C library defines this for functions which it implements
84045     to always fail with ENOSYS.  Some functions are actually named
84046     something starting with __ and the normal name is an alias.  */
84047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84048 choke me
84049 #else
84050 char (*f) () = $ac_func;
84051 #endif
84052 #ifdef __cplusplus
84053 }
84054 #endif
84055
84056 int
84057 main ()
84058 {
84059 return f != $ac_func;
84060   ;
84061   return 0;
84062 }
84063 _ACEOF
84064 rm -f conftest.$ac_objext conftest$ac_exeext
84065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84066   (eval $ac_link) 2>conftest.er1
84067   ac_status=$?
84068   grep -v '^ *+' conftest.er1 >conftest.err
84069   rm -f conftest.er1
84070   cat conftest.err >&5
84071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84072   (exit $ac_status); } &&
84073          { ac_try='test -z "$ac_c_werror_flag"
84074                          || test ! -s conftest.err'
84075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84076   (eval $ac_try) 2>&5
84077   ac_status=$?
84078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84079   (exit $ac_status); }; } &&
84080          { ac_try='test -s conftest$ac_exeext'
84081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84082   (eval $ac_try) 2>&5
84083   ac_status=$?
84084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84085   (exit $ac_status); }; }; then
84086   eval "$as_ac_var=yes"
84087 else
84088   echo "$as_me: failed program was:" >&5
84089 sed 's/^/| /' conftest.$ac_ext >&5
84090
84091 eval "$as_ac_var=no"
84092 fi
84093 rm -f conftest.err conftest.$ac_objext \
84094       conftest$ac_exeext conftest.$ac_ext
84095 fi
84096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84098 if test `eval echo '${'$as_ac_var'}'` = yes; then
84099   cat >>confdefs.h <<_ACEOF
84100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84101 _ACEOF
84102
84103 else
84104   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84105 fi
84106 done
84107
84108
84109
84110 for ac_func in __signbitf
84111 do
84112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84113 echo "$as_me:$LINENO: checking for $ac_func" >&5
84114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84115 if eval "test \"\${$as_ac_var+set}\" = set"; then
84116   echo $ECHO_N "(cached) $ECHO_C" >&6
84117 else
84118   if test x$gcc_no_link = xyes; then
84119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84121    { (exit 1); exit 1; }; }
84122 fi
84123 cat >conftest.$ac_ext <<_ACEOF
84124 /* confdefs.h.  */
84125 _ACEOF
84126 cat confdefs.h >>conftest.$ac_ext
84127 cat >>conftest.$ac_ext <<_ACEOF
84128 /* end confdefs.h.  */
84129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84130    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84131 #define $ac_func innocuous_$ac_func
84132
84133 /* System header to define __stub macros and hopefully few prototypes,
84134     which can conflict with char $ac_func (); below.
84135     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84136     <limits.h> exists even on freestanding compilers.  */
84137
84138 #ifdef __STDC__
84139 # include <limits.h>
84140 #else
84141 # include <assert.h>
84142 #endif
84143
84144 #undef $ac_func
84145
84146 /* Override any gcc2 internal prototype to avoid an error.  */
84147 #ifdef __cplusplus
84148 extern "C"
84149 {
84150 #endif
84151 /* We use char because int might match the return type of a gcc2
84152    builtin and then its argument prototype would still apply.  */
84153 char $ac_func ();
84154 /* The GNU C library defines this for functions which it implements
84155     to always fail with ENOSYS.  Some functions are actually named
84156     something starting with __ and the normal name is an alias.  */
84157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84158 choke me
84159 #else
84160 char (*f) () = $ac_func;
84161 #endif
84162 #ifdef __cplusplus
84163 }
84164 #endif
84165
84166 int
84167 main ()
84168 {
84169 return f != $ac_func;
84170   ;
84171   return 0;
84172 }
84173 _ACEOF
84174 rm -f conftest.$ac_objext conftest$ac_exeext
84175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84176   (eval $ac_link) 2>conftest.er1
84177   ac_status=$?
84178   grep -v '^ *+' conftest.er1 >conftest.err
84179   rm -f conftest.er1
84180   cat conftest.err >&5
84181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84182   (exit $ac_status); } &&
84183          { ac_try='test -z "$ac_c_werror_flag"
84184                          || test ! -s conftest.err'
84185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84186   (eval $ac_try) 2>&5
84187   ac_status=$?
84188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84189   (exit $ac_status); }; } &&
84190          { ac_try='test -s conftest$ac_exeext'
84191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84192   (eval $ac_try) 2>&5
84193   ac_status=$?
84194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84195   (exit $ac_status); }; }; then
84196   eval "$as_ac_var=yes"
84197 else
84198   echo "$as_me: failed program was:" >&5
84199 sed 's/^/| /' conftest.$ac_ext >&5
84200
84201 eval "$as_ac_var=no"
84202 fi
84203 rm -f conftest.err conftest.$ac_objext \
84204       conftest$ac_exeext conftest.$ac_ext
84205 fi
84206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84208 if test `eval echo '${'$as_ac_var'}'` = yes; then
84209   cat >>confdefs.h <<_ACEOF
84210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84211 _ACEOF
84212
84213 else
84214   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84215 fi
84216 done
84217
84218
84219           if test x$ac_cv_func_copysignl = x"yes"; then
84220
84221 for ac_func in __signbitl
84222 do
84223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84224 echo "$as_me:$LINENO: checking for $ac_func" >&5
84225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84226 if eval "test \"\${$as_ac_var+set}\" = set"; then
84227   echo $ECHO_N "(cached) $ECHO_C" >&6
84228 else
84229   if test x$gcc_no_link = xyes; then
84230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84232    { (exit 1); exit 1; }; }
84233 fi
84234 cat >conftest.$ac_ext <<_ACEOF
84235 /* confdefs.h.  */
84236 _ACEOF
84237 cat confdefs.h >>conftest.$ac_ext
84238 cat >>conftest.$ac_ext <<_ACEOF
84239 /* end confdefs.h.  */
84240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84242 #define $ac_func innocuous_$ac_func
84243
84244 /* System header to define __stub macros and hopefully few prototypes,
84245     which can conflict with char $ac_func (); below.
84246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84247     <limits.h> exists even on freestanding compilers.  */
84248
84249 #ifdef __STDC__
84250 # include <limits.h>
84251 #else
84252 # include <assert.h>
84253 #endif
84254
84255 #undef $ac_func
84256
84257 /* Override any gcc2 internal prototype to avoid an error.  */
84258 #ifdef __cplusplus
84259 extern "C"
84260 {
84261 #endif
84262 /* We use char because int might match the return type of a gcc2
84263    builtin and then its argument prototype would still apply.  */
84264 char $ac_func ();
84265 /* The GNU C library defines this for functions which it implements
84266     to always fail with ENOSYS.  Some functions are actually named
84267     something starting with __ and the normal name is an alias.  */
84268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84269 choke me
84270 #else
84271 char (*f) () = $ac_func;
84272 #endif
84273 #ifdef __cplusplus
84274 }
84275 #endif
84276
84277 int
84278 main ()
84279 {
84280 return f != $ac_func;
84281   ;
84282   return 0;
84283 }
84284 _ACEOF
84285 rm -f conftest.$ac_objext conftest$ac_exeext
84286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84287   (eval $ac_link) 2>conftest.er1
84288   ac_status=$?
84289   grep -v '^ *+' conftest.er1 >conftest.err
84290   rm -f conftest.er1
84291   cat conftest.err >&5
84292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84293   (exit $ac_status); } &&
84294          { ac_try='test -z "$ac_c_werror_flag"
84295                          || test ! -s conftest.err'
84296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84297   (eval $ac_try) 2>&5
84298   ac_status=$?
84299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84300   (exit $ac_status); }; } &&
84301          { ac_try='test -s conftest$ac_exeext'
84302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84303   (eval $ac_try) 2>&5
84304   ac_status=$?
84305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84306   (exit $ac_status); }; }; then
84307   eval "$as_ac_var=yes"
84308 else
84309   echo "$as_me: failed program was:" >&5
84310 sed 's/^/| /' conftest.$ac_ext >&5
84311
84312 eval "$as_ac_var=no"
84313 fi
84314 rm -f conftest.err conftest.$ac_objext \
84315       conftest$ac_exeext conftest.$ac_ext
84316 fi
84317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84319 if test `eval echo '${'$as_ac_var'}'` = yes; then
84320   cat >>confdefs.h <<_ACEOF
84321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84322 _ACEOF
84323
84324 else
84325   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84326 fi
84327 done
84328
84329   fi
84330
84331   # Used in libmath/Makefile.am.
84332   if test -n "$LIBMATHOBJS"; then
84333     need_libmath=yes
84334   fi
84335
84336
84337
84338
84339   enable_iconv=no
84340   # Only continue checking if the ISO C99 headers exist and support is on.
84341   if test x"$enable_wchar_t" = xyes; then
84342
84343     # Use iconv for wchar_t to char conversions. As such, check for
84344     # X/Open Portability Guide, version 2 features (XPG2).
84345     if test "${ac_cv_header_iconv_h+set}" = set; then
84346   echo "$as_me:$LINENO: checking for iconv.h" >&5
84347 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84348 if test "${ac_cv_header_iconv_h+set}" = set; then
84349   echo $ECHO_N "(cached) $ECHO_C" >&6
84350 fi
84351 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84352 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84353 else
84354   # Is the header compilable?
84355 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84356 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84357 cat >conftest.$ac_ext <<_ACEOF
84358 /* confdefs.h.  */
84359 _ACEOF
84360 cat confdefs.h >>conftest.$ac_ext
84361 cat >>conftest.$ac_ext <<_ACEOF
84362 /* end confdefs.h.  */
84363 $ac_includes_default
84364 #include <iconv.h>
84365 _ACEOF
84366 rm -f conftest.$ac_objext
84367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84368   (eval $ac_compile) 2>conftest.er1
84369   ac_status=$?
84370   grep -v '^ *+' conftest.er1 >conftest.err
84371   rm -f conftest.er1
84372   cat conftest.err >&5
84373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84374   (exit $ac_status); } &&
84375          { ac_try='test -z "$ac_c_werror_flag"
84376                          || test ! -s conftest.err'
84377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84378   (eval $ac_try) 2>&5
84379   ac_status=$?
84380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84381   (exit $ac_status); }; } &&
84382          { ac_try='test -s conftest.$ac_objext'
84383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84384   (eval $ac_try) 2>&5
84385   ac_status=$?
84386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84387   (exit $ac_status); }; }; then
84388   ac_header_compiler=yes
84389 else
84390   echo "$as_me: failed program was:" >&5
84391 sed 's/^/| /' conftest.$ac_ext >&5
84392
84393 ac_header_compiler=no
84394 fi
84395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84397 echo "${ECHO_T}$ac_header_compiler" >&6
84398
84399 # Is the header present?
84400 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84401 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84402 cat >conftest.$ac_ext <<_ACEOF
84403 /* confdefs.h.  */
84404 _ACEOF
84405 cat confdefs.h >>conftest.$ac_ext
84406 cat >>conftest.$ac_ext <<_ACEOF
84407 /* end confdefs.h.  */
84408 #include <iconv.h>
84409 _ACEOF
84410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84411   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84412   ac_status=$?
84413   grep -v '^ *+' conftest.er1 >conftest.err
84414   rm -f conftest.er1
84415   cat conftest.err >&5
84416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84417   (exit $ac_status); } >/dev/null; then
84418   if test -s conftest.err; then
84419     ac_cpp_err=$ac_c_preproc_warn_flag
84420     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84421   else
84422     ac_cpp_err=
84423   fi
84424 else
84425   ac_cpp_err=yes
84426 fi
84427 if test -z "$ac_cpp_err"; then
84428   ac_header_preproc=yes
84429 else
84430   echo "$as_me: failed program was:" >&5
84431 sed 's/^/| /' conftest.$ac_ext >&5
84432
84433   ac_header_preproc=no
84434 fi
84435 rm -f conftest.err conftest.$ac_ext
84436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84437 echo "${ECHO_T}$ac_header_preproc" >&6
84438
84439 # So?  What about this header?
84440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84441   yes:no: )
84442     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84443 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84444     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84445 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84446     ac_header_preproc=yes
84447     ;;
84448   no:yes:* )
84449     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84450 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84451     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
84452 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
84453     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84454 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84455     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
84456 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84457     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84458 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84459     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84460 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84461     (
84462       cat <<\_ASBOX
84463 ## ----------------------------------------- ##
84464 ## Report this to the package-unused lists.  ##
84465 ## ----------------------------------------- ##
84466 _ASBOX
84467     ) |
84468       sed "s/^/$as_me: WARNING:     /" >&2
84469     ;;
84470 esac
84471 echo "$as_me:$LINENO: checking for iconv.h" >&5
84472 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84473 if test "${ac_cv_header_iconv_h+set}" = set; then
84474   echo $ECHO_N "(cached) $ECHO_C" >&6
84475 else
84476   ac_cv_header_iconv_h=$ac_header_preproc
84477 fi
84478 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84479 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84480
84481 fi
84482 if test $ac_cv_header_iconv_h = yes; then
84483   ac_has_iconv_h=yes
84484 else
84485   ac_has_iconv_h=no
84486 fi
84487
84488
84489     if test "${ac_cv_header_langinfo_h+set}" = set; then
84490   echo "$as_me:$LINENO: checking for langinfo.h" >&5
84491 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84492 if test "${ac_cv_header_langinfo_h+set}" = set; then
84493   echo $ECHO_N "(cached) $ECHO_C" >&6
84494 fi
84495 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84496 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84497 else
84498   # Is the header compilable?
84499 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84500 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84501 cat >conftest.$ac_ext <<_ACEOF
84502 /* confdefs.h.  */
84503 _ACEOF
84504 cat confdefs.h >>conftest.$ac_ext
84505 cat >>conftest.$ac_ext <<_ACEOF
84506 /* end confdefs.h.  */
84507 $ac_includes_default
84508 #include <langinfo.h>
84509 _ACEOF
84510 rm -f conftest.$ac_objext
84511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84512   (eval $ac_compile) 2>conftest.er1
84513   ac_status=$?
84514   grep -v '^ *+' conftest.er1 >conftest.err
84515   rm -f conftest.er1
84516   cat conftest.err >&5
84517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84518   (exit $ac_status); } &&
84519          { ac_try='test -z "$ac_c_werror_flag"
84520                          || test ! -s conftest.err'
84521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84522   (eval $ac_try) 2>&5
84523   ac_status=$?
84524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84525   (exit $ac_status); }; } &&
84526          { ac_try='test -s conftest.$ac_objext'
84527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84528   (eval $ac_try) 2>&5
84529   ac_status=$?
84530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84531   (exit $ac_status); }; }; then
84532   ac_header_compiler=yes
84533 else
84534   echo "$as_me: failed program was:" >&5
84535 sed 's/^/| /' conftest.$ac_ext >&5
84536
84537 ac_header_compiler=no
84538 fi
84539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84541 echo "${ECHO_T}$ac_header_compiler" >&6
84542
84543 # Is the header present?
84544 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84545 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84546 cat >conftest.$ac_ext <<_ACEOF
84547 /* confdefs.h.  */
84548 _ACEOF
84549 cat confdefs.h >>conftest.$ac_ext
84550 cat >>conftest.$ac_ext <<_ACEOF
84551 /* end confdefs.h.  */
84552 #include <langinfo.h>
84553 _ACEOF
84554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84555   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84556   ac_status=$?
84557   grep -v '^ *+' conftest.er1 >conftest.err
84558   rm -f conftest.er1
84559   cat conftest.err >&5
84560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84561   (exit $ac_status); } >/dev/null; then
84562   if test -s conftest.err; then
84563     ac_cpp_err=$ac_c_preproc_warn_flag
84564     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84565   else
84566     ac_cpp_err=
84567   fi
84568 else
84569   ac_cpp_err=yes
84570 fi
84571 if test -z "$ac_cpp_err"; then
84572   ac_header_preproc=yes
84573 else
84574   echo "$as_me: failed program was:" >&5
84575 sed 's/^/| /' conftest.$ac_ext >&5
84576
84577   ac_header_preproc=no
84578 fi
84579 rm -f conftest.err conftest.$ac_ext
84580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84581 echo "${ECHO_T}$ac_header_preproc" >&6
84582
84583 # So?  What about this header?
84584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84585   yes:no: )
84586     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84587 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84588     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84589 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84590     ac_header_preproc=yes
84591     ;;
84592   no:yes:* )
84593     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84594 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84595     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
84596 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
84597     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84598 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84599     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
84600 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84601     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84602 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84603     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84604 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84605     (
84606       cat <<\_ASBOX
84607 ## ----------------------------------------- ##
84608 ## Report this to the package-unused lists.  ##
84609 ## ----------------------------------------- ##
84610 _ASBOX
84611     ) |
84612       sed "s/^/$as_me: WARNING:     /" >&2
84613     ;;
84614 esac
84615 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84616 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84617 if test "${ac_cv_header_langinfo_h+set}" = set; then
84618   echo $ECHO_N "(cached) $ECHO_C" >&6
84619 else
84620   ac_cv_header_langinfo_h=$ac_header_preproc
84621 fi
84622 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84623 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84624
84625 fi
84626 if test $ac_cv_header_langinfo_h = yes; then
84627   ac_has_langinfo_h=yes
84628 else
84629   ac_has_langinfo_h=no
84630 fi
84631
84632
84633
84634     # Check for existence of libiconv.a providing XPG2 wchar_t support.
84635     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84636 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84637 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84638   echo $ECHO_N "(cached) $ECHO_C" >&6
84639 else
84640   ac_check_lib_save_LIBS=$LIBS
84641 LIBS="-liconv  $LIBS"
84642 if test x$gcc_no_link = xyes; then
84643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84645    { (exit 1); exit 1; }; }
84646 fi
84647 cat >conftest.$ac_ext <<_ACEOF
84648 /* confdefs.h.  */
84649 _ACEOF
84650 cat confdefs.h >>conftest.$ac_ext
84651 cat >>conftest.$ac_ext <<_ACEOF
84652 /* end confdefs.h.  */
84653
84654 /* Override any gcc2 internal prototype to avoid an error.  */
84655 #ifdef __cplusplus
84656 extern "C"
84657 #endif
84658 /* We use char because int might match the return type of a gcc2
84659    builtin and then its argument prototype would still apply.  */
84660 char iconv ();
84661 int
84662 main ()
84663 {
84664 iconv ();
84665   ;
84666   return 0;
84667 }
84668 _ACEOF
84669 rm -f conftest.$ac_objext conftest$ac_exeext
84670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84671   (eval $ac_link) 2>conftest.er1
84672   ac_status=$?
84673   grep -v '^ *+' conftest.er1 >conftest.err
84674   rm -f conftest.er1
84675   cat conftest.err >&5
84676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84677   (exit $ac_status); } &&
84678          { ac_try='test -z "$ac_c_werror_flag"
84679                          || test ! -s conftest.err'
84680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84681   (eval $ac_try) 2>&5
84682   ac_status=$?
84683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84684   (exit $ac_status); }; } &&
84685          { ac_try='test -s conftest$ac_exeext'
84686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84687   (eval $ac_try) 2>&5
84688   ac_status=$?
84689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84690   (exit $ac_status); }; }; then
84691   ac_cv_lib_iconv_iconv=yes
84692 else
84693   echo "$as_me: failed program was:" >&5
84694 sed 's/^/| /' conftest.$ac_ext >&5
84695
84696 ac_cv_lib_iconv_iconv=no
84697 fi
84698 rm -f conftest.err conftest.$ac_objext \
84699       conftest$ac_exeext conftest.$ac_ext
84700 LIBS=$ac_check_lib_save_LIBS
84701 fi
84702 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84703 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84704 if test $ac_cv_lib_iconv_iconv = yes; then
84705   LIBICONV="-liconv"
84706 fi
84707
84708     ac_save_LIBS="$LIBS"
84709     LIBS="$LIBS $LIBICONV"
84710
84711
84712
84713
84714
84715
84716 for ac_func in iconv_open iconv_close iconv nl_langinfo
84717 do
84718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84719 echo "$as_me:$LINENO: checking for $ac_func" >&5
84720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84721 if eval "test \"\${$as_ac_var+set}\" = set"; then
84722   echo $ECHO_N "(cached) $ECHO_C" >&6
84723 else
84724   if test x$gcc_no_link = xyes; then
84725   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84727    { (exit 1); exit 1; }; }
84728 fi
84729 cat >conftest.$ac_ext <<_ACEOF
84730 /* confdefs.h.  */
84731 _ACEOF
84732 cat confdefs.h >>conftest.$ac_ext
84733 cat >>conftest.$ac_ext <<_ACEOF
84734 /* end confdefs.h.  */
84735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84736    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84737 #define $ac_func innocuous_$ac_func
84738
84739 /* System header to define __stub macros and hopefully few prototypes,
84740     which can conflict with char $ac_func (); below.
84741     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84742     <limits.h> exists even on freestanding compilers.  */
84743
84744 #ifdef __STDC__
84745 # include <limits.h>
84746 #else
84747 # include <assert.h>
84748 #endif
84749
84750 #undef $ac_func
84751
84752 /* Override any gcc2 internal prototype to avoid an error.  */
84753 #ifdef __cplusplus
84754 extern "C"
84755 {
84756 #endif
84757 /* We use char because int might match the return type of a gcc2
84758    builtin and then its argument prototype would still apply.  */
84759 char $ac_func ();
84760 /* The GNU C library defines this for functions which it implements
84761     to always fail with ENOSYS.  Some functions are actually named
84762     something starting with __ and the normal name is an alias.  */
84763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84764 choke me
84765 #else
84766 char (*f) () = $ac_func;
84767 #endif
84768 #ifdef __cplusplus
84769 }
84770 #endif
84771
84772 int
84773 main ()
84774 {
84775 return f != $ac_func;
84776   ;
84777   return 0;
84778 }
84779 _ACEOF
84780 rm -f conftest.$ac_objext conftest$ac_exeext
84781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84782   (eval $ac_link) 2>conftest.er1
84783   ac_status=$?
84784   grep -v '^ *+' conftest.er1 >conftest.err
84785   rm -f conftest.er1
84786   cat conftest.err >&5
84787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84788   (exit $ac_status); } &&
84789          { ac_try='test -z "$ac_c_werror_flag"
84790                          || test ! -s conftest.err'
84791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84792   (eval $ac_try) 2>&5
84793   ac_status=$?
84794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84795   (exit $ac_status); }; } &&
84796          { ac_try='test -s conftest$ac_exeext'
84797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84798   (eval $ac_try) 2>&5
84799   ac_status=$?
84800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84801   (exit $ac_status); }; }; then
84802   eval "$as_ac_var=yes"
84803 else
84804   echo "$as_me: failed program was:" >&5
84805 sed 's/^/| /' conftest.$ac_ext >&5
84806
84807 eval "$as_ac_var=no"
84808 fi
84809 rm -f conftest.err conftest.$ac_objext \
84810       conftest$ac_exeext conftest.$ac_ext
84811 fi
84812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84814 if test `eval echo '${'$as_ac_var'}'` = yes; then
84815   cat >>confdefs.h <<_ACEOF
84816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84817 _ACEOF
84818  ac_XPG2funcs=yes
84819 else
84820   ac_XPG2funcs=no
84821 fi
84822 done
84823
84824
84825     LIBS="$ac_save_LIBS"
84826
84827     if test x"$ac_has_iconv_h" = xyes &&
84828        test x"$ac_has_langinfo_h" = xyes &&
84829        test x"$ac_XPG2funcs" = xyes;
84830     then
84831
84832 cat >>confdefs.h <<\_ACEOF
84833 #define _GLIBCXX_USE_ICONV 1
84834 _ACEOF
84835
84836       enable_iconv=yes
84837     fi
84838   fi
84839   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84840 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84841   echo "$as_me:$LINENO: result: $enable_iconv" >&5
84842 echo "${ECHO_T}$enable_iconv" >&6
84843
84844     cat >>confdefs.h <<\_ACEOF
84845 #define HAVE_COSF 1
84846 _ACEOF
84847
84848     cat >>confdefs.h <<\_ACEOF
84849 #define HAVE_COSL 1
84850 _ACEOF
84851
84852     cat >>confdefs.h <<\_ACEOF
84853 #define HAVE_COSHF 1
84854 _ACEOF
84855
84856     cat >>confdefs.h <<\_ACEOF
84857 #define HAVE_COSHL 1
84858 _ACEOF
84859
84860     cat >>confdefs.h <<\_ACEOF
84861 #define HAVE_LOGF 1
84862 _ACEOF
84863
84864     cat >>confdefs.h <<\_ACEOF
84865 #define HAVE_LOGL 1
84866 _ACEOF
84867
84868     cat >>confdefs.h <<\_ACEOF
84869 #define HAVE_LOG10F 1
84870 _ACEOF
84871
84872     cat >>confdefs.h <<\_ACEOF
84873 #define HAVE_LOG10L 1
84874 _ACEOF
84875
84876     cat >>confdefs.h <<\_ACEOF
84877 #define HAVE_SINF 1
84878 _ACEOF
84879
84880     cat >>confdefs.h <<\_ACEOF
84881 #define HAVE_SINL 1
84882 _ACEOF
84883
84884     cat >>confdefs.h <<\_ACEOF
84885 #define HAVE_SINHF 1
84886 _ACEOF
84887
84888     cat >>confdefs.h <<\_ACEOF
84889 #define HAVE_SINHL 1
84890 _ACEOF
84891
84892     ;;
84893   *-solaris*)
84894     case "$target" in
84895     #  *-solaris2.5)
84896     #    os_include_dir="os/solaris/solaris2.5"
84897     #    ;;
84898     #  *-solaris2.6)
84899     #    os_include_dir="os/solaris/solaris2.6"
84900     #    ;;
84901       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
84902          cat >>confdefs.h <<\_ACEOF
84903 #define HAVE_GETPAGESIZE 1
84904 _ACEOF
84905
84906          cat >>confdefs.h <<\_ACEOF
84907 #define HAVE_SIGSETJMP 1
84908 _ACEOF
84909
84910          cat >>confdefs.h <<\_ACEOF
84911 #define HAVE_MBSTATE_T 1
84912 _ACEOF
84913
84914          cat >>confdefs.h <<\_ACEOF
84915 #define HAVE_POLL 1
84916 _ACEOF
84917
84918          cat >>confdefs.h <<\_ACEOF
84919 #define HAVE_S_ISREG 1
84920 _ACEOF
84921
84922          cat >>confdefs.h <<\_ACEOF
84923 #define HAVE_LC_MESSAGES 1
84924 _ACEOF
84925
84926          cat >>confdefs.h <<\_ACEOF
84927 #define HAVE_FINITE 1
84928 _ACEOF
84929
84930          cat >>confdefs.h <<\_ACEOF
84931 #define HAVE_FPCLASS 1
84932 _ACEOF
84933
84934          cat >>confdefs.h <<\_ACEOF
84935 #define HAVE_GETPAGESIZE 1
84936 _ACEOF
84937
84938          cat >>confdefs.h <<\_ACEOF
84939 #define HAVE_NL_LANGINFO 1
84940 _ACEOF
84941
84942          cat >>confdefs.h <<\_ACEOF
84943 #define HAVE_ICONV 1
84944 _ACEOF
84945
84946          cat >>confdefs.h <<\_ACEOF
84947 #define HAVE_ICONV_CLOSE 1
84948 _ACEOF
84949
84950          cat >>confdefs.h <<\_ACEOF
84951 #define HAVE_ICONV_OPEN 1
84952 _ACEOF
84953
84954          # Look for the pieces required for wchar_t support in order to
84955          # get all the right HAVE_* macros defined.
84956
84957
84958   enable_iconv=no
84959   # Only continue checking if the ISO C99 headers exist and support is on.
84960   if test x"$enable_wchar_t" = xyes; then
84961
84962     # Use iconv for wchar_t to char conversions. As such, check for
84963     # X/Open Portability Guide, version 2 features (XPG2).
84964     if test "${ac_cv_header_iconv_h+set}" = set; then
84965   echo "$as_me:$LINENO: checking for iconv.h" >&5
84966 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84967 if test "${ac_cv_header_iconv_h+set}" = set; then
84968   echo $ECHO_N "(cached) $ECHO_C" >&6
84969 fi
84970 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84971 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84972 else
84973   # Is the header compilable?
84974 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84975 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84976 cat >conftest.$ac_ext <<_ACEOF
84977 /* confdefs.h.  */
84978 _ACEOF
84979 cat confdefs.h >>conftest.$ac_ext
84980 cat >>conftest.$ac_ext <<_ACEOF
84981 /* end confdefs.h.  */
84982 $ac_includes_default
84983 #include <iconv.h>
84984 _ACEOF
84985 rm -f conftest.$ac_objext
84986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84987   (eval $ac_compile) 2>conftest.er1
84988   ac_status=$?
84989   grep -v '^ *+' conftest.er1 >conftest.err
84990   rm -f conftest.er1
84991   cat conftest.err >&5
84992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84993   (exit $ac_status); } &&
84994          { ac_try='test -z "$ac_c_werror_flag"
84995                          || test ! -s conftest.err'
84996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84997   (eval $ac_try) 2>&5
84998   ac_status=$?
84999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85000   (exit $ac_status); }; } &&
85001          { ac_try='test -s conftest.$ac_objext'
85002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85003   (eval $ac_try) 2>&5
85004   ac_status=$?
85005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85006   (exit $ac_status); }; }; then
85007   ac_header_compiler=yes
85008 else
85009   echo "$as_me: failed program was:" >&5
85010 sed 's/^/| /' conftest.$ac_ext >&5
85011
85012 ac_header_compiler=no
85013 fi
85014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85016 echo "${ECHO_T}$ac_header_compiler" >&6
85017
85018 # Is the header present?
85019 echo "$as_me:$LINENO: checking iconv.h presence" >&5
85020 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
85021 cat >conftest.$ac_ext <<_ACEOF
85022 /* confdefs.h.  */
85023 _ACEOF
85024 cat confdefs.h >>conftest.$ac_ext
85025 cat >>conftest.$ac_ext <<_ACEOF
85026 /* end confdefs.h.  */
85027 #include <iconv.h>
85028 _ACEOF
85029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85030   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85031   ac_status=$?
85032   grep -v '^ *+' conftest.er1 >conftest.err
85033   rm -f conftest.er1
85034   cat conftest.err >&5
85035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85036   (exit $ac_status); } >/dev/null; then
85037   if test -s conftest.err; then
85038     ac_cpp_err=$ac_c_preproc_warn_flag
85039     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85040   else
85041     ac_cpp_err=
85042   fi
85043 else
85044   ac_cpp_err=yes
85045 fi
85046 if test -z "$ac_cpp_err"; then
85047   ac_header_preproc=yes
85048 else
85049   echo "$as_me: failed program was:" >&5
85050 sed 's/^/| /' conftest.$ac_ext >&5
85051
85052   ac_header_preproc=no
85053 fi
85054 rm -f conftest.err conftest.$ac_ext
85055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85056 echo "${ECHO_T}$ac_header_preproc" >&6
85057
85058 # So?  What about this header?
85059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85060   yes:no: )
85061     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
85062 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85063     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
85064 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
85065     ac_header_preproc=yes
85066     ;;
85067   no:yes:* )
85068     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
85069 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
85070     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
85071 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
85072     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
85073 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
85074     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
85075 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
85076     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
85077 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
85078     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
85079 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
85080     (
85081       cat <<\_ASBOX
85082 ## ----------------------------------------- ##
85083 ## Report this to the package-unused lists.  ##
85084 ## ----------------------------------------- ##
85085 _ASBOX
85086     ) |
85087       sed "s/^/$as_me: WARNING:     /" >&2
85088     ;;
85089 esac
85090 echo "$as_me:$LINENO: checking for iconv.h" >&5
85091 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85092 if test "${ac_cv_header_iconv_h+set}" = set; then
85093   echo $ECHO_N "(cached) $ECHO_C" >&6
85094 else
85095   ac_cv_header_iconv_h=$ac_header_preproc
85096 fi
85097 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85098 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85099
85100 fi
85101 if test $ac_cv_header_iconv_h = yes; then
85102   ac_has_iconv_h=yes
85103 else
85104   ac_has_iconv_h=no
85105 fi
85106
85107
85108     if test "${ac_cv_header_langinfo_h+set}" = set; then
85109   echo "$as_me:$LINENO: checking for langinfo.h" >&5
85110 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85111 if test "${ac_cv_header_langinfo_h+set}" = set; then
85112   echo $ECHO_N "(cached) $ECHO_C" >&6
85113 fi
85114 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85115 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85116 else
85117   # Is the header compilable?
85118 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
85119 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
85120 cat >conftest.$ac_ext <<_ACEOF
85121 /* confdefs.h.  */
85122 _ACEOF
85123 cat confdefs.h >>conftest.$ac_ext
85124 cat >>conftest.$ac_ext <<_ACEOF
85125 /* end confdefs.h.  */
85126 $ac_includes_default
85127 #include <langinfo.h>
85128 _ACEOF
85129 rm -f conftest.$ac_objext
85130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85131   (eval $ac_compile) 2>conftest.er1
85132   ac_status=$?
85133   grep -v '^ *+' conftest.er1 >conftest.err
85134   rm -f conftest.er1
85135   cat conftest.err >&5
85136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85137   (exit $ac_status); } &&
85138          { ac_try='test -z "$ac_c_werror_flag"
85139                          || test ! -s conftest.err'
85140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85141   (eval $ac_try) 2>&5
85142   ac_status=$?
85143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85144   (exit $ac_status); }; } &&
85145          { ac_try='test -s conftest.$ac_objext'
85146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85147   (eval $ac_try) 2>&5
85148   ac_status=$?
85149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85150   (exit $ac_status); }; }; then
85151   ac_header_compiler=yes
85152 else
85153   echo "$as_me: failed program was:" >&5
85154 sed 's/^/| /' conftest.$ac_ext >&5
85155
85156 ac_header_compiler=no
85157 fi
85158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85159 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85160 echo "${ECHO_T}$ac_header_compiler" >&6
85161
85162 # Is the header present?
85163 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85164 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85165 cat >conftest.$ac_ext <<_ACEOF
85166 /* confdefs.h.  */
85167 _ACEOF
85168 cat confdefs.h >>conftest.$ac_ext
85169 cat >>conftest.$ac_ext <<_ACEOF
85170 /* end confdefs.h.  */
85171 #include <langinfo.h>
85172 _ACEOF
85173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85174   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85175   ac_status=$?
85176   grep -v '^ *+' conftest.er1 >conftest.err
85177   rm -f conftest.er1
85178   cat conftest.err >&5
85179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85180   (exit $ac_status); } >/dev/null; then
85181   if test -s conftest.err; then
85182     ac_cpp_err=$ac_c_preproc_warn_flag
85183     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85184   else
85185     ac_cpp_err=
85186   fi
85187 else
85188   ac_cpp_err=yes
85189 fi
85190 if test -z "$ac_cpp_err"; then
85191   ac_header_preproc=yes
85192 else
85193   echo "$as_me: failed program was:" >&5
85194 sed 's/^/| /' conftest.$ac_ext >&5
85195
85196   ac_header_preproc=no
85197 fi
85198 rm -f conftest.err conftest.$ac_ext
85199 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85200 echo "${ECHO_T}$ac_header_preproc" >&6
85201
85202 # So?  What about this header?
85203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85204   yes:no: )
85205     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85206 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85207     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85208 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85209     ac_header_preproc=yes
85210     ;;
85211   no:yes:* )
85212     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85213 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85214     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
85215 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
85216     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85217 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85218     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
85219 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
85220     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85221 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85222     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85223 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85224     (
85225       cat <<\_ASBOX
85226 ## ----------------------------------------- ##
85227 ## Report this to the package-unused lists.  ##
85228 ## ----------------------------------------- ##
85229 _ASBOX
85230     ) |
85231       sed "s/^/$as_me: WARNING:     /" >&2
85232     ;;
85233 esac
85234 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85235 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85236 if test "${ac_cv_header_langinfo_h+set}" = set; then
85237   echo $ECHO_N "(cached) $ECHO_C" >&6
85238 else
85239   ac_cv_header_langinfo_h=$ac_header_preproc
85240 fi
85241 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85242 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85243
85244 fi
85245 if test $ac_cv_header_langinfo_h = yes; then
85246   ac_has_langinfo_h=yes
85247 else
85248   ac_has_langinfo_h=no
85249 fi
85250
85251
85252
85253     # Check for existence of libiconv.a providing XPG2 wchar_t support.
85254     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85255 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85256 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85257   echo $ECHO_N "(cached) $ECHO_C" >&6
85258 else
85259   ac_check_lib_save_LIBS=$LIBS
85260 LIBS="-liconv  $LIBS"
85261 if test x$gcc_no_link = xyes; then
85262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85264    { (exit 1); exit 1; }; }
85265 fi
85266 cat >conftest.$ac_ext <<_ACEOF
85267 /* confdefs.h.  */
85268 _ACEOF
85269 cat confdefs.h >>conftest.$ac_ext
85270 cat >>conftest.$ac_ext <<_ACEOF
85271 /* end confdefs.h.  */
85272
85273 /* Override any gcc2 internal prototype to avoid an error.  */
85274 #ifdef __cplusplus
85275 extern "C"
85276 #endif
85277 /* We use char because int might match the return type of a gcc2
85278    builtin and then its argument prototype would still apply.  */
85279 char iconv ();
85280 int
85281 main ()
85282 {
85283 iconv ();
85284   ;
85285   return 0;
85286 }
85287 _ACEOF
85288 rm -f conftest.$ac_objext conftest$ac_exeext
85289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85290   (eval $ac_link) 2>conftest.er1
85291   ac_status=$?
85292   grep -v '^ *+' conftest.er1 >conftest.err
85293   rm -f conftest.er1
85294   cat conftest.err >&5
85295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85296   (exit $ac_status); } &&
85297          { ac_try='test -z "$ac_c_werror_flag"
85298                          || test ! -s conftest.err'
85299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85300   (eval $ac_try) 2>&5
85301   ac_status=$?
85302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85303   (exit $ac_status); }; } &&
85304          { ac_try='test -s conftest$ac_exeext'
85305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85306   (eval $ac_try) 2>&5
85307   ac_status=$?
85308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85309   (exit $ac_status); }; }; then
85310   ac_cv_lib_iconv_iconv=yes
85311 else
85312   echo "$as_me: failed program was:" >&5
85313 sed 's/^/| /' conftest.$ac_ext >&5
85314
85315 ac_cv_lib_iconv_iconv=no
85316 fi
85317 rm -f conftest.err conftest.$ac_objext \
85318       conftest$ac_exeext conftest.$ac_ext
85319 LIBS=$ac_check_lib_save_LIBS
85320 fi
85321 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85322 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85323 if test $ac_cv_lib_iconv_iconv = yes; then
85324   LIBICONV="-liconv"
85325 fi
85326
85327     ac_save_LIBS="$LIBS"
85328     LIBS="$LIBS $LIBICONV"
85329
85330
85331
85332
85333
85334
85335 for ac_func in iconv_open iconv_close iconv nl_langinfo
85336 do
85337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85338 echo "$as_me:$LINENO: checking for $ac_func" >&5
85339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85340 if eval "test \"\${$as_ac_var+set}\" = set"; then
85341   echo $ECHO_N "(cached) $ECHO_C" >&6
85342 else
85343   if test x$gcc_no_link = xyes; then
85344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85346    { (exit 1); exit 1; }; }
85347 fi
85348 cat >conftest.$ac_ext <<_ACEOF
85349 /* confdefs.h.  */
85350 _ACEOF
85351 cat confdefs.h >>conftest.$ac_ext
85352 cat >>conftest.$ac_ext <<_ACEOF
85353 /* end confdefs.h.  */
85354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85356 #define $ac_func innocuous_$ac_func
85357
85358 /* System header to define __stub macros and hopefully few prototypes,
85359     which can conflict with char $ac_func (); below.
85360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85361     <limits.h> exists even on freestanding compilers.  */
85362
85363 #ifdef __STDC__
85364 # include <limits.h>
85365 #else
85366 # include <assert.h>
85367 #endif
85368
85369 #undef $ac_func
85370
85371 /* Override any gcc2 internal prototype to avoid an error.  */
85372 #ifdef __cplusplus
85373 extern "C"
85374 {
85375 #endif
85376 /* We use char because int might match the return type of a gcc2
85377    builtin and then its argument prototype would still apply.  */
85378 char $ac_func ();
85379 /* The GNU C library defines this for functions which it implements
85380     to always fail with ENOSYS.  Some functions are actually named
85381     something starting with __ and the normal name is an alias.  */
85382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85383 choke me
85384 #else
85385 char (*f) () = $ac_func;
85386 #endif
85387 #ifdef __cplusplus
85388 }
85389 #endif
85390
85391 int
85392 main ()
85393 {
85394 return f != $ac_func;
85395   ;
85396   return 0;
85397 }
85398 _ACEOF
85399 rm -f conftest.$ac_objext conftest$ac_exeext
85400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85401   (eval $ac_link) 2>conftest.er1
85402   ac_status=$?
85403   grep -v '^ *+' conftest.er1 >conftest.err
85404   rm -f conftest.er1
85405   cat conftest.err >&5
85406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85407   (exit $ac_status); } &&
85408          { ac_try='test -z "$ac_c_werror_flag"
85409                          || test ! -s conftest.err'
85410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85411   (eval $ac_try) 2>&5
85412   ac_status=$?
85413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85414   (exit $ac_status); }; } &&
85415          { ac_try='test -s conftest$ac_exeext'
85416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85417   (eval $ac_try) 2>&5
85418   ac_status=$?
85419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85420   (exit $ac_status); }; }; then
85421   eval "$as_ac_var=yes"
85422 else
85423   echo "$as_me: failed program was:" >&5
85424 sed 's/^/| /' conftest.$ac_ext >&5
85425
85426 eval "$as_ac_var=no"
85427 fi
85428 rm -f conftest.err conftest.$ac_objext \
85429       conftest$ac_exeext conftest.$ac_ext
85430 fi
85431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85433 if test `eval echo '${'$as_ac_var'}'` = yes; then
85434   cat >>confdefs.h <<_ACEOF
85435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85436 _ACEOF
85437  ac_XPG2funcs=yes
85438 else
85439   ac_XPG2funcs=no
85440 fi
85441 done
85442
85443
85444     LIBS="$ac_save_LIBS"
85445
85446     if test x"$ac_has_iconv_h" = xyes &&
85447        test x"$ac_has_langinfo_h" = xyes &&
85448        test x"$ac_XPG2funcs" = xyes;
85449     then
85450
85451 cat >>confdefs.h <<\_ACEOF
85452 #define _GLIBCXX_USE_ICONV 1
85453 _ACEOF
85454
85455       enable_iconv=yes
85456     fi
85457   fi
85458   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85459 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85460   echo "$as_me:$LINENO: result: $enable_iconv" >&5
85461 echo "${ECHO_T}$enable_iconv" >&6
85462
85463          # All of the dependencies for wide character support are here, so
85464          # turn it on.  This requires some syncronization with the
85465          # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85466          cat >>confdefs.h <<\_ACEOF
85467 #define _GLIBCXX_USE_WCHAR_T 1
85468 _ACEOF
85469
85470          # Are these tested for even when cross?
85471          cat >>confdefs.h <<\_ACEOF
85472 #define HAVE_FLOAT_H 1
85473 _ACEOF
85474
85475          cat >>confdefs.h <<\_ACEOF
85476 #define HAVE_IEEEFP_H 1
85477 _ACEOF
85478
85479          cat >>confdefs.h <<\_ACEOF
85480 #define HAVE_INTTYPES_H 1
85481 _ACEOF
85482
85483          cat >>confdefs.h <<\_ACEOF
85484 #define HAVE_LOCALE_H 1
85485 _ACEOF
85486
85487          cat >>confdefs.h <<\_ACEOF
85488 #define HAVE_NAN_H 1
85489 _ACEOF
85490
85491          cat >>confdefs.h <<\_ACEOF
85492 #define HAVE_SYS_FILIO_H 1
85493 _ACEOF
85494
85495          cat >>confdefs.h <<\_ACEOF
85496 #define HAVE_SYS_IOCTL_H 1
85497 _ACEOF
85498
85499          cat >>confdefs.h <<\_ACEOF
85500 #define HAVE_SYS_ISA_DEFS_H 1
85501 _ACEOF
85502
85503          cat >>confdefs.h <<\_ACEOF
85504 #define HAVE_SYS_RESOURCE_H 1
85505 _ACEOF
85506
85507          cat >>confdefs.h <<\_ACEOF
85508 #define HAVE_SYS_TIME_H 1
85509 _ACEOF
85510
85511          cat >>confdefs.h <<\_ACEOF
85512 #define HAVE_SYS_TYPES_H 1
85513 _ACEOF
85514
85515          cat >>confdefs.h <<\_ACEOF
85516 #define HAVE_UNISTD_H 1
85517 _ACEOF
85518
85519          cat >>confdefs.h <<\_ACEOF
85520 #define HAVE_WCHAR_H 1
85521 _ACEOF
85522
85523          cat >>confdefs.h <<\_ACEOF
85524 #define HAVE_WCTYPE_H 1
85525 _ACEOF
85526
85527          cat >>confdefs.h <<\_ACEOF
85528 #define HAVE_LIBM 1
85529 _ACEOF
85530
85531         ;;
85532     esac
85533     case "$target" in
85534       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85535         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85536         cat >>confdefs.h <<\_ACEOF
85537 #define HAVE___BUILTIN_ABS 1
85538 _ACEOF
85539
85540         cat >>confdefs.h <<\_ACEOF
85541 #define HAVE___BUILTIN_LABS 1
85542 _ACEOF
85543
85544         cat >>confdefs.h <<\_ACEOF
85545 #define HAVE___BUILTIN_FABS 1
85546 _ACEOF
85547
85548         cat >>confdefs.h <<\_ACEOF
85549 #define HAVE___BUILTIN_FABSF 1
85550 _ACEOF
85551
85552         cat >>confdefs.h <<\_ACEOF
85553 #define HAVE___BUILTIN_FABSL 1
85554 _ACEOF
85555
85556         cat >>confdefs.h <<\_ACEOF
85557 #define HAVE___BUILTIN_COS 1
85558 _ACEOF
85559
85560         cat >>confdefs.h <<\_ACEOF
85561 #define HAVE___BUILTIN_COSF 1
85562 _ACEOF
85563
85564         cat >>confdefs.h <<\_ACEOF
85565 #define HAVE___BUILTIN_SIN 1
85566 _ACEOF
85567
85568         cat >>confdefs.h <<\_ACEOF
85569 #define HAVE___BUILTIN_SINF 1
85570 _ACEOF
85571
85572        ;;
85573     esac
85574     case "$target" in
85575       *-*-solaris2.10)
85576       # These two C99 functions are present only in Solaris >= 10
85577       cat >>confdefs.h <<\_ACEOF
85578 #define HAVE_STRTOF 1
85579 _ACEOF
85580
85581       cat >>confdefs.h <<\_ACEOF
85582 #define HAVE_STRTOLD 1
85583 _ACEOF
85584
85585      ;;
85586     esac
85587     cat >>confdefs.h <<\_ACEOF
85588 #define HAVE_MMAP 1
85589 _ACEOF
85590
85591     cat >>confdefs.h <<\_ACEOF
85592 #define HAVE_COPYSIGN 1
85593 _ACEOF
85594
85595     cat >>confdefs.h <<\_ACEOF
85596 #define HAVE_ISNAN 1
85597 _ACEOF
85598
85599     cat >>confdefs.h <<\_ACEOF
85600 #define HAVE_ISNANF 1
85601 _ACEOF
85602
85603     cat >>confdefs.h <<\_ACEOF
85604 #define HAVE_MODFF 1
85605 _ACEOF
85606
85607     cat >>confdefs.h <<\_ACEOF
85608 #define HAVE_HYPOT 1
85609 _ACEOF
85610
85611     ;;
85612   *-tpf)
85613
85614
85615
85616
85617
85618
85619
85620
85621 for ac_header in nan.h endian.h machine/endian.h  \
85622       sys/param.h sys/types.h locale.h float.h inttypes.h
85623 do
85624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85626   echo "$as_me:$LINENO: checking for $ac_header" >&5
85627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85629   echo $ECHO_N "(cached) $ECHO_C" >&6
85630 fi
85631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85633 else
85634   # Is the header compilable?
85635 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85637 cat >conftest.$ac_ext <<_ACEOF
85638 /* confdefs.h.  */
85639 _ACEOF
85640 cat confdefs.h >>conftest.$ac_ext
85641 cat >>conftest.$ac_ext <<_ACEOF
85642 /* end confdefs.h.  */
85643 $ac_includes_default
85644 #include <$ac_header>
85645 _ACEOF
85646 rm -f conftest.$ac_objext
85647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85648   (eval $ac_compile) 2>conftest.er1
85649   ac_status=$?
85650   grep -v '^ *+' conftest.er1 >conftest.err
85651   rm -f conftest.er1
85652   cat conftest.err >&5
85653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85654   (exit $ac_status); } &&
85655          { ac_try='test -z "$ac_c_werror_flag"
85656                          || test ! -s conftest.err'
85657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85658   (eval $ac_try) 2>&5
85659   ac_status=$?
85660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85661   (exit $ac_status); }; } &&
85662          { ac_try='test -s conftest.$ac_objext'
85663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85664   (eval $ac_try) 2>&5
85665   ac_status=$?
85666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85667   (exit $ac_status); }; }; then
85668   ac_header_compiler=yes
85669 else
85670   echo "$as_me: failed program was:" >&5
85671 sed 's/^/| /' conftest.$ac_ext >&5
85672
85673 ac_header_compiler=no
85674 fi
85675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85676 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85677 echo "${ECHO_T}$ac_header_compiler" >&6
85678
85679 # Is the header present?
85680 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85682 cat >conftest.$ac_ext <<_ACEOF
85683 /* confdefs.h.  */
85684 _ACEOF
85685 cat confdefs.h >>conftest.$ac_ext
85686 cat >>conftest.$ac_ext <<_ACEOF
85687 /* end confdefs.h.  */
85688 #include <$ac_header>
85689 _ACEOF
85690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85691   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85692   ac_status=$?
85693   grep -v '^ *+' conftest.er1 >conftest.err
85694   rm -f conftest.er1
85695   cat conftest.err >&5
85696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85697   (exit $ac_status); } >/dev/null; then
85698   if test -s conftest.err; then
85699     ac_cpp_err=$ac_c_preproc_warn_flag
85700     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85701   else
85702     ac_cpp_err=
85703   fi
85704 else
85705   ac_cpp_err=yes
85706 fi
85707 if test -z "$ac_cpp_err"; then
85708   ac_header_preproc=yes
85709 else
85710   echo "$as_me: failed program was:" >&5
85711 sed 's/^/| /' conftest.$ac_ext >&5
85712
85713   ac_header_preproc=no
85714 fi
85715 rm -f conftest.err conftest.$ac_ext
85716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85717 echo "${ECHO_T}$ac_header_preproc" >&6
85718
85719 # So?  What about this header?
85720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85721   yes:no: )
85722     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85724     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85725 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85726     ac_header_preproc=yes
85727     ;;
85728   no:yes:* )
85729     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85730 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85731     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85732 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85733     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85734 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85735     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85736 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85737     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85739     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85740 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85741     (
85742       cat <<\_ASBOX
85743 ## ----------------------------------------- ##
85744 ## Report this to the package-unused lists.  ##
85745 ## ----------------------------------------- ##
85746 _ASBOX
85747     ) |
85748       sed "s/^/$as_me: WARNING:     /" >&2
85749     ;;
85750 esac
85751 echo "$as_me:$LINENO: checking for $ac_header" >&5
85752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85754   echo $ECHO_N "(cached) $ECHO_C" >&6
85755 else
85756   eval "$as_ac_Header=\$ac_header_preproc"
85757 fi
85758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85760
85761 fi
85762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85763   cat >>confdefs.h <<_ACEOF
85764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85765 _ACEOF
85766
85767 fi
85768
85769 done
85770
85771     SECTION_FLAGS='-ffunction-sections -fdata-sections'
85772
85773
85774   # If we're not using GNU ld, then there's no point in even trying these
85775   # tests.  Check for that first.  We should have already tested for gld
85776   # by now (in libtool), but require it now just to be safe...
85777   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85778   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85779
85780
85781
85782   # The name set by libtool depends on the version of libtool.  Shame on us
85783   # for depending on an impl detail, but c'est la vie.  Older versions used
85784   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85785   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85786   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
85787   # set (hence we're using an older libtool), then set it.
85788   if test x${with_gnu_ld+set} != xset; then
85789     if test x${ac_cv_prog_gnu_ld+set} != xset; then
85790       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
85791       with_gnu_ld=no
85792     else
85793       with_gnu_ld=$ac_cv_prog_gnu_ld
85794     fi
85795   fi
85796
85797   # Start by getting the version number.  I think the libtool test already
85798   # does some of this, but throws away the result.
85799
85800   ldver=`$LD --version 2>/dev/null | head -1 | \
85801          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85802
85803   glibcxx_gnu_ld_version=`echo $ldver | \
85804          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85805
85806   # Set --gc-sections.
85807   if test "$with_gnu_ld" = "notbroken"; then
85808     # GNU ld it is!  Joy and bunny rabbits!
85809
85810     # All these tests are for C++; save the language and the compiler flags.
85811     # Need to do this so that g++ won't try to link in libstdc++
85812     ac_test_CFLAGS="${CFLAGS+set}"
85813     ac_save_CFLAGS="$CFLAGS"
85814     CFLAGS='-x c++  -Wl,--gc-sections'
85815
85816     # Check for -Wl,--gc-sections
85817     # XXX This test is broken at the moment, as symbols required for linking
85818     # are now in libsupc++ (not built yet).  In addition, this test has
85819     # cored on solaris in the past.  In addition, --gc-sections doesn't
85820     # really work at the moment (keeps on discarding used sections, first
85821     # .eh_frame and now some of the glibc sections for iconv).
85822     # Bzzzzt.  Thanks for playing, maybe next time.
85823     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85824 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85825     if test "$cross_compiling" = yes; then
85826   ac_sectionLDflags=yes
85827 else
85828   cat >conftest.$ac_ext <<_ACEOF
85829 /* confdefs.h.  */
85830 _ACEOF
85831 cat confdefs.h >>conftest.$ac_ext
85832 cat >>conftest.$ac_ext <<_ACEOF
85833 /* end confdefs.h.  */
85834
85835      int main(void)
85836      {
85837        try { throw 1; }
85838        catch (...) { };
85839        return 0;
85840      }
85841
85842 _ACEOF
85843 rm -f conftest$ac_exeext
85844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85845   (eval $ac_link) 2>&5
85846   ac_status=$?
85847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85848   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85850   (eval $ac_try) 2>&5
85851   ac_status=$?
85852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85853   (exit $ac_status); }; }; then
85854   ac_sectionLDflags=yes
85855 else
85856   echo "$as_me: program exited with status $ac_status" >&5
85857 echo "$as_me: failed program was:" >&5
85858 sed 's/^/| /' conftest.$ac_ext >&5
85859
85860 ( exit $ac_status )
85861 ac_sectionLDflags=no
85862 fi
85863 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85864 fi
85865     if test "$ac_test_CFLAGS" = set; then
85866       CFLAGS="$ac_save_CFLAGS"
85867     else
85868       # this is the suspicious part
85869       CFLAGS=''
85870     fi
85871     if test "$ac_sectionLDflags" = "yes"; then
85872       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85873     fi
85874     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85875 echo "${ECHO_T}$ac_sectionLDflags" >&6
85876   fi
85877
85878   # Set linker optimization flags.
85879   if test x"$with_gnu_ld" = x"yes"; then
85880     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85881   fi
85882
85883
85884
85885
85886
85887
85888 echo "$as_me:$LINENO: checking for main in -lm" >&5
85889 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85890 if test "${ac_cv_lib_m_main+set}" = set; then
85891   echo $ECHO_N "(cached) $ECHO_C" >&6
85892 else
85893   ac_check_lib_save_LIBS=$LIBS
85894 LIBS="-lm  $LIBS"
85895 if test x$gcc_no_link = xyes; then
85896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85898    { (exit 1); exit 1; }; }
85899 fi
85900 cat >conftest.$ac_ext <<_ACEOF
85901 /* confdefs.h.  */
85902 _ACEOF
85903 cat confdefs.h >>conftest.$ac_ext
85904 cat >>conftest.$ac_ext <<_ACEOF
85905 /* end confdefs.h.  */
85906
85907
85908 int
85909 main ()
85910 {
85911 main ();
85912   ;
85913   return 0;
85914 }
85915 _ACEOF
85916 rm -f conftest.$ac_objext conftest$ac_exeext
85917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85918   (eval $ac_link) 2>conftest.er1
85919   ac_status=$?
85920   grep -v '^ *+' conftest.er1 >conftest.err
85921   rm -f conftest.er1
85922   cat conftest.err >&5
85923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85924   (exit $ac_status); } &&
85925          { ac_try='test -z "$ac_c_werror_flag"
85926                          || test ! -s conftest.err'
85927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85928   (eval $ac_try) 2>&5
85929   ac_status=$?
85930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85931   (exit $ac_status); }; } &&
85932          { ac_try='test -s conftest$ac_exeext'
85933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85934   (eval $ac_try) 2>&5
85935   ac_status=$?
85936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85937   (exit $ac_status); }; }; then
85938   ac_cv_lib_m_main=yes
85939 else
85940   echo "$as_me: failed program was:" >&5
85941 sed 's/^/| /' conftest.$ac_ext >&5
85942
85943 ac_cv_lib_m_main=no
85944 fi
85945 rm -f conftest.err conftest.$ac_objext \
85946       conftest$ac_exeext conftest.$ac_ext
85947 LIBS=$ac_check_lib_save_LIBS
85948 fi
85949 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85950 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85951 if test $ac_cv_lib_m_main = yes; then
85952   cat >>confdefs.h <<_ACEOF
85953 #define HAVE_LIBM 1
85954 _ACEOF
85955
85956   LIBS="-lm $LIBS"
85957
85958 fi
85959
85960
85961 for ac_func in copysignf
85962 do
85963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85964 echo "$as_me:$LINENO: checking for $ac_func" >&5
85965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85966 if eval "test \"\${$as_ac_var+set}\" = set"; then
85967   echo $ECHO_N "(cached) $ECHO_C" >&6
85968 else
85969   if test x$gcc_no_link = xyes; then
85970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85972    { (exit 1); exit 1; }; }
85973 fi
85974 cat >conftest.$ac_ext <<_ACEOF
85975 /* confdefs.h.  */
85976 _ACEOF
85977 cat confdefs.h >>conftest.$ac_ext
85978 cat >>conftest.$ac_ext <<_ACEOF
85979 /* end confdefs.h.  */
85980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85981    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85982 #define $ac_func innocuous_$ac_func
85983
85984 /* System header to define __stub macros and hopefully few prototypes,
85985     which can conflict with char $ac_func (); below.
85986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85987     <limits.h> exists even on freestanding compilers.  */
85988
85989 #ifdef __STDC__
85990 # include <limits.h>
85991 #else
85992 # include <assert.h>
85993 #endif
85994
85995 #undef $ac_func
85996
85997 /* Override any gcc2 internal prototype to avoid an error.  */
85998 #ifdef __cplusplus
85999 extern "C"
86000 {
86001 #endif
86002 /* We use char because int might match the return type of a gcc2
86003    builtin and then its argument prototype would still apply.  */
86004 char $ac_func ();
86005 /* The GNU C library defines this for functions which it implements
86006     to always fail with ENOSYS.  Some functions are actually named
86007     something starting with __ and the normal name is an alias.  */
86008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86009 choke me
86010 #else
86011 char (*f) () = $ac_func;
86012 #endif
86013 #ifdef __cplusplus
86014 }
86015 #endif
86016
86017 int
86018 main ()
86019 {
86020 return f != $ac_func;
86021   ;
86022   return 0;
86023 }
86024 _ACEOF
86025 rm -f conftest.$ac_objext conftest$ac_exeext
86026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86027   (eval $ac_link) 2>conftest.er1
86028   ac_status=$?
86029   grep -v '^ *+' conftest.er1 >conftest.err
86030   rm -f conftest.er1
86031   cat conftest.err >&5
86032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86033   (exit $ac_status); } &&
86034          { ac_try='test -z "$ac_c_werror_flag"
86035                          || test ! -s conftest.err'
86036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86037   (eval $ac_try) 2>&5
86038   ac_status=$?
86039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86040   (exit $ac_status); }; } &&
86041          { ac_try='test -s conftest$ac_exeext'
86042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86043   (eval $ac_try) 2>&5
86044   ac_status=$?
86045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86046   (exit $ac_status); }; }; then
86047   eval "$as_ac_var=yes"
86048 else
86049   echo "$as_me: failed program was:" >&5
86050 sed 's/^/| /' conftest.$ac_ext >&5
86051
86052 eval "$as_ac_var=no"
86053 fi
86054 rm -f conftest.err conftest.$ac_objext \
86055       conftest$ac_exeext conftest.$ac_ext
86056 fi
86057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86059 if test `eval echo '${'$as_ac_var'}'` = yes; then
86060   cat >>confdefs.h <<_ACEOF
86061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86062 _ACEOF
86063
86064 else
86065   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86066 fi
86067 done
86068
86069
86070
86071 for ac_func in __signbit
86072 do
86073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86074 echo "$as_me:$LINENO: checking for $ac_func" >&5
86075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86076 if eval "test \"\${$as_ac_var+set}\" = set"; then
86077   echo $ECHO_N "(cached) $ECHO_C" >&6
86078 else
86079   if test x$gcc_no_link = xyes; then
86080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86082    { (exit 1); exit 1; }; }
86083 fi
86084 cat >conftest.$ac_ext <<_ACEOF
86085 /* confdefs.h.  */
86086 _ACEOF
86087 cat confdefs.h >>conftest.$ac_ext
86088 cat >>conftest.$ac_ext <<_ACEOF
86089 /* end confdefs.h.  */
86090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86092 #define $ac_func innocuous_$ac_func
86093
86094 /* System header to define __stub macros and hopefully few prototypes,
86095     which can conflict with char $ac_func (); below.
86096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86097     <limits.h> exists even on freestanding compilers.  */
86098
86099 #ifdef __STDC__
86100 # include <limits.h>
86101 #else
86102 # include <assert.h>
86103 #endif
86104
86105 #undef $ac_func
86106
86107 /* Override any gcc2 internal prototype to avoid an error.  */
86108 #ifdef __cplusplus
86109 extern "C"
86110 {
86111 #endif
86112 /* We use char because int might match the return type of a gcc2
86113    builtin and then its argument prototype would still apply.  */
86114 char $ac_func ();
86115 /* The GNU C library defines this for functions which it implements
86116     to always fail with ENOSYS.  Some functions are actually named
86117     something starting with __ and the normal name is an alias.  */
86118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86119 choke me
86120 #else
86121 char (*f) () = $ac_func;
86122 #endif
86123 #ifdef __cplusplus
86124 }
86125 #endif
86126
86127 int
86128 main ()
86129 {
86130 return f != $ac_func;
86131   ;
86132   return 0;
86133 }
86134 _ACEOF
86135 rm -f conftest.$ac_objext conftest$ac_exeext
86136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86137   (eval $ac_link) 2>conftest.er1
86138   ac_status=$?
86139   grep -v '^ *+' conftest.er1 >conftest.err
86140   rm -f conftest.er1
86141   cat conftest.err >&5
86142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86143   (exit $ac_status); } &&
86144          { ac_try='test -z "$ac_c_werror_flag"
86145                          || test ! -s conftest.err'
86146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86147   (eval $ac_try) 2>&5
86148   ac_status=$?
86149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86150   (exit $ac_status); }; } &&
86151          { ac_try='test -s conftest$ac_exeext'
86152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86153   (eval $ac_try) 2>&5
86154   ac_status=$?
86155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86156   (exit $ac_status); }; }; then
86157   eval "$as_ac_var=yes"
86158 else
86159   echo "$as_me: failed program was:" >&5
86160 sed 's/^/| /' conftest.$ac_ext >&5
86161
86162 eval "$as_ac_var=no"
86163 fi
86164 rm -f conftest.err conftest.$ac_objext \
86165       conftest$ac_exeext conftest.$ac_ext
86166 fi
86167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86169 if test `eval echo '${'$as_ac_var'}'` = yes; then
86170   cat >>confdefs.h <<_ACEOF
86171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86172 _ACEOF
86173
86174 else
86175   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86176 fi
86177 done
86178
86179
86180
86181 for ac_func in __signbitf
86182 do
86183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86184 echo "$as_me:$LINENO: checking for $ac_func" >&5
86185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86186 if eval "test \"\${$as_ac_var+set}\" = set"; then
86187   echo $ECHO_N "(cached) $ECHO_C" >&6
86188 else
86189   if test x$gcc_no_link = xyes; then
86190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86192    { (exit 1); exit 1; }; }
86193 fi
86194 cat >conftest.$ac_ext <<_ACEOF
86195 /* confdefs.h.  */
86196 _ACEOF
86197 cat confdefs.h >>conftest.$ac_ext
86198 cat >>conftest.$ac_ext <<_ACEOF
86199 /* end confdefs.h.  */
86200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86201    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86202 #define $ac_func innocuous_$ac_func
86203
86204 /* System header to define __stub macros and hopefully few prototypes,
86205     which can conflict with char $ac_func (); below.
86206     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86207     <limits.h> exists even on freestanding compilers.  */
86208
86209 #ifdef __STDC__
86210 # include <limits.h>
86211 #else
86212 # include <assert.h>
86213 #endif
86214
86215 #undef $ac_func
86216
86217 /* Override any gcc2 internal prototype to avoid an error.  */
86218 #ifdef __cplusplus
86219 extern "C"
86220 {
86221 #endif
86222 /* We use char because int might match the return type of a gcc2
86223    builtin and then its argument prototype would still apply.  */
86224 char $ac_func ();
86225 /* The GNU C library defines this for functions which it implements
86226     to always fail with ENOSYS.  Some functions are actually named
86227     something starting with __ and the normal name is an alias.  */
86228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86229 choke me
86230 #else
86231 char (*f) () = $ac_func;
86232 #endif
86233 #ifdef __cplusplus
86234 }
86235 #endif
86236
86237 int
86238 main ()
86239 {
86240 return f != $ac_func;
86241   ;
86242   return 0;
86243 }
86244 _ACEOF
86245 rm -f conftest.$ac_objext conftest$ac_exeext
86246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86247   (eval $ac_link) 2>conftest.er1
86248   ac_status=$?
86249   grep -v '^ *+' conftest.er1 >conftest.err
86250   rm -f conftest.er1
86251   cat conftest.err >&5
86252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86253   (exit $ac_status); } &&
86254          { ac_try='test -z "$ac_c_werror_flag"
86255                          || test ! -s conftest.err'
86256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86257   (eval $ac_try) 2>&5
86258   ac_status=$?
86259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86260   (exit $ac_status); }; } &&
86261          { ac_try='test -s conftest$ac_exeext'
86262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86263   (eval $ac_try) 2>&5
86264   ac_status=$?
86265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86266   (exit $ac_status); }; }; then
86267   eval "$as_ac_var=yes"
86268 else
86269   echo "$as_me: failed program was:" >&5
86270 sed 's/^/| /' conftest.$ac_ext >&5
86271
86272 eval "$as_ac_var=no"
86273 fi
86274 rm -f conftest.err conftest.$ac_objext \
86275       conftest$ac_exeext conftest.$ac_ext
86276 fi
86277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86279 if test `eval echo '${'$as_ac_var'}'` = yes; then
86280   cat >>confdefs.h <<_ACEOF
86281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86282 _ACEOF
86283
86284 else
86285   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86286 fi
86287 done
86288
86289
86290           if test x$ac_cv_func_copysignl = x"yes"; then
86291
86292 for ac_func in __signbitl
86293 do
86294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86295 echo "$as_me:$LINENO: checking for $ac_func" >&5
86296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86297 if eval "test \"\${$as_ac_var+set}\" = set"; then
86298   echo $ECHO_N "(cached) $ECHO_C" >&6
86299 else
86300   if test x$gcc_no_link = xyes; then
86301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86303    { (exit 1); exit 1; }; }
86304 fi
86305 cat >conftest.$ac_ext <<_ACEOF
86306 /* confdefs.h.  */
86307 _ACEOF
86308 cat confdefs.h >>conftest.$ac_ext
86309 cat >>conftest.$ac_ext <<_ACEOF
86310 /* end confdefs.h.  */
86311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86313 #define $ac_func innocuous_$ac_func
86314
86315 /* System header to define __stub macros and hopefully few prototypes,
86316     which can conflict with char $ac_func (); below.
86317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86318     <limits.h> exists even on freestanding compilers.  */
86319
86320 #ifdef __STDC__
86321 # include <limits.h>
86322 #else
86323 # include <assert.h>
86324 #endif
86325
86326 #undef $ac_func
86327
86328 /* Override any gcc2 internal prototype to avoid an error.  */
86329 #ifdef __cplusplus
86330 extern "C"
86331 {
86332 #endif
86333 /* We use char because int might match the return type of a gcc2
86334    builtin and then its argument prototype would still apply.  */
86335 char $ac_func ();
86336 /* The GNU C library defines this for functions which it implements
86337     to always fail with ENOSYS.  Some functions are actually named
86338     something starting with __ and the normal name is an alias.  */
86339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86340 choke me
86341 #else
86342 char (*f) () = $ac_func;
86343 #endif
86344 #ifdef __cplusplus
86345 }
86346 #endif
86347
86348 int
86349 main ()
86350 {
86351 return f != $ac_func;
86352   ;
86353   return 0;
86354 }
86355 _ACEOF
86356 rm -f conftest.$ac_objext conftest$ac_exeext
86357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86358   (eval $ac_link) 2>conftest.er1
86359   ac_status=$?
86360   grep -v '^ *+' conftest.er1 >conftest.err
86361   rm -f conftest.er1
86362   cat conftest.err >&5
86363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86364   (exit $ac_status); } &&
86365          { ac_try='test -z "$ac_c_werror_flag"
86366                          || test ! -s conftest.err'
86367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86368   (eval $ac_try) 2>&5
86369   ac_status=$?
86370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86371   (exit $ac_status); }; } &&
86372          { ac_try='test -s conftest$ac_exeext'
86373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86374   (eval $ac_try) 2>&5
86375   ac_status=$?
86376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86377   (exit $ac_status); }; }; then
86378   eval "$as_ac_var=yes"
86379 else
86380   echo "$as_me: failed program was:" >&5
86381 sed 's/^/| /' conftest.$ac_ext >&5
86382
86383 eval "$as_ac_var=no"
86384 fi
86385 rm -f conftest.err conftest.$ac_objext \
86386       conftest$ac_exeext conftest.$ac_ext
86387 fi
86388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86390 if test `eval echo '${'$as_ac_var'}'` = yes; then
86391   cat >>confdefs.h <<_ACEOF
86392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86393 _ACEOF
86394
86395 else
86396   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86397 fi
86398 done
86399
86400   fi
86401
86402   # Used in libmath/Makefile.am.
86403   if test -n "$LIBMATHOBJS"; then
86404     need_libmath=yes
86405   fi
86406
86407
86408
86409
86410   enable_iconv=no
86411   # Only continue checking if the ISO C99 headers exist and support is on.
86412   if test x"$enable_wchar_t" = xyes; then
86413
86414     # Use iconv for wchar_t to char conversions. As such, check for
86415     # X/Open Portability Guide, version 2 features (XPG2).
86416     if test "${ac_cv_header_iconv_h+set}" = set; then
86417   echo "$as_me:$LINENO: checking for iconv.h" >&5
86418 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86419 if test "${ac_cv_header_iconv_h+set}" = set; then
86420   echo $ECHO_N "(cached) $ECHO_C" >&6
86421 fi
86422 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86423 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86424 else
86425   # Is the header compilable?
86426 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86427 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86428 cat >conftest.$ac_ext <<_ACEOF
86429 /* confdefs.h.  */
86430 _ACEOF
86431 cat confdefs.h >>conftest.$ac_ext
86432 cat >>conftest.$ac_ext <<_ACEOF
86433 /* end confdefs.h.  */
86434 $ac_includes_default
86435 #include <iconv.h>
86436 _ACEOF
86437 rm -f conftest.$ac_objext
86438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86439   (eval $ac_compile) 2>conftest.er1
86440   ac_status=$?
86441   grep -v '^ *+' conftest.er1 >conftest.err
86442   rm -f conftest.er1
86443   cat conftest.err >&5
86444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86445   (exit $ac_status); } &&
86446          { ac_try='test -z "$ac_c_werror_flag"
86447                          || test ! -s conftest.err'
86448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86449   (eval $ac_try) 2>&5
86450   ac_status=$?
86451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86452   (exit $ac_status); }; } &&
86453          { ac_try='test -s conftest.$ac_objext'
86454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86455   (eval $ac_try) 2>&5
86456   ac_status=$?
86457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86458   (exit $ac_status); }; }; then
86459   ac_header_compiler=yes
86460 else
86461   echo "$as_me: failed program was:" >&5
86462 sed 's/^/| /' conftest.$ac_ext >&5
86463
86464 ac_header_compiler=no
86465 fi
86466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86468 echo "${ECHO_T}$ac_header_compiler" >&6
86469
86470 # Is the header present?
86471 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86472 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86473 cat >conftest.$ac_ext <<_ACEOF
86474 /* confdefs.h.  */
86475 _ACEOF
86476 cat confdefs.h >>conftest.$ac_ext
86477 cat >>conftest.$ac_ext <<_ACEOF
86478 /* end confdefs.h.  */
86479 #include <iconv.h>
86480 _ACEOF
86481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86482   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86483   ac_status=$?
86484   grep -v '^ *+' conftest.er1 >conftest.err
86485   rm -f conftest.er1
86486   cat conftest.err >&5
86487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86488   (exit $ac_status); } >/dev/null; then
86489   if test -s conftest.err; then
86490     ac_cpp_err=$ac_c_preproc_warn_flag
86491     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86492   else
86493     ac_cpp_err=
86494   fi
86495 else
86496   ac_cpp_err=yes
86497 fi
86498 if test -z "$ac_cpp_err"; then
86499   ac_header_preproc=yes
86500 else
86501   echo "$as_me: failed program was:" >&5
86502 sed 's/^/| /' conftest.$ac_ext >&5
86503
86504   ac_header_preproc=no
86505 fi
86506 rm -f conftest.err conftest.$ac_ext
86507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86508 echo "${ECHO_T}$ac_header_preproc" >&6
86509
86510 # So?  What about this header?
86511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86512   yes:no: )
86513     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86514 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86515     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86516 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86517     ac_header_preproc=yes
86518     ;;
86519   no:yes:* )
86520     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86521 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86522     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
86523 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
86524     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86525 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86526     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
86527 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86528     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86529 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86530     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86531 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86532     (
86533       cat <<\_ASBOX
86534 ## ----------------------------------------- ##
86535 ## Report this to the package-unused lists.  ##
86536 ## ----------------------------------------- ##
86537 _ASBOX
86538     ) |
86539       sed "s/^/$as_me: WARNING:     /" >&2
86540     ;;
86541 esac
86542 echo "$as_me:$LINENO: checking for iconv.h" >&5
86543 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86544 if test "${ac_cv_header_iconv_h+set}" = set; then
86545   echo $ECHO_N "(cached) $ECHO_C" >&6
86546 else
86547   ac_cv_header_iconv_h=$ac_header_preproc
86548 fi
86549 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86550 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86551
86552 fi
86553 if test $ac_cv_header_iconv_h = yes; then
86554   ac_has_iconv_h=yes
86555 else
86556   ac_has_iconv_h=no
86557 fi
86558
86559
86560     if test "${ac_cv_header_langinfo_h+set}" = set; then
86561   echo "$as_me:$LINENO: checking for langinfo.h" >&5
86562 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86563 if test "${ac_cv_header_langinfo_h+set}" = set; then
86564   echo $ECHO_N "(cached) $ECHO_C" >&6
86565 fi
86566 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86567 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86568 else
86569   # Is the header compilable?
86570 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86571 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86572 cat >conftest.$ac_ext <<_ACEOF
86573 /* confdefs.h.  */
86574 _ACEOF
86575 cat confdefs.h >>conftest.$ac_ext
86576 cat >>conftest.$ac_ext <<_ACEOF
86577 /* end confdefs.h.  */
86578 $ac_includes_default
86579 #include <langinfo.h>
86580 _ACEOF
86581 rm -f conftest.$ac_objext
86582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86583   (eval $ac_compile) 2>conftest.er1
86584   ac_status=$?
86585   grep -v '^ *+' conftest.er1 >conftest.err
86586   rm -f conftest.er1
86587   cat conftest.err >&5
86588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86589   (exit $ac_status); } &&
86590          { ac_try='test -z "$ac_c_werror_flag"
86591                          || test ! -s conftest.err'
86592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86593   (eval $ac_try) 2>&5
86594   ac_status=$?
86595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86596   (exit $ac_status); }; } &&
86597          { ac_try='test -s conftest.$ac_objext'
86598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86599   (eval $ac_try) 2>&5
86600   ac_status=$?
86601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86602   (exit $ac_status); }; }; then
86603   ac_header_compiler=yes
86604 else
86605   echo "$as_me: failed program was:" >&5
86606 sed 's/^/| /' conftest.$ac_ext >&5
86607
86608 ac_header_compiler=no
86609 fi
86610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86612 echo "${ECHO_T}$ac_header_compiler" >&6
86613
86614 # Is the header present?
86615 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86616 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86617 cat >conftest.$ac_ext <<_ACEOF
86618 /* confdefs.h.  */
86619 _ACEOF
86620 cat confdefs.h >>conftest.$ac_ext
86621 cat >>conftest.$ac_ext <<_ACEOF
86622 /* end confdefs.h.  */
86623 #include <langinfo.h>
86624 _ACEOF
86625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86626   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86627   ac_status=$?
86628   grep -v '^ *+' conftest.er1 >conftest.err
86629   rm -f conftest.er1
86630   cat conftest.err >&5
86631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86632   (exit $ac_status); } >/dev/null; then
86633   if test -s conftest.err; then
86634     ac_cpp_err=$ac_c_preproc_warn_flag
86635     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86636   else
86637     ac_cpp_err=
86638   fi
86639 else
86640   ac_cpp_err=yes
86641 fi
86642 if test -z "$ac_cpp_err"; then
86643   ac_header_preproc=yes
86644 else
86645   echo "$as_me: failed program was:" >&5
86646 sed 's/^/| /' conftest.$ac_ext >&5
86647
86648   ac_header_preproc=no
86649 fi
86650 rm -f conftest.err conftest.$ac_ext
86651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86652 echo "${ECHO_T}$ac_header_preproc" >&6
86653
86654 # So?  What about this header?
86655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86656   yes:no: )
86657     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86658 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86659     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86660 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86661     ac_header_preproc=yes
86662     ;;
86663   no:yes:* )
86664     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86665 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86666     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
86667 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
86668     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86669 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86670     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
86671 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86672     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86673 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86674     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86675 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86676     (
86677       cat <<\_ASBOX
86678 ## ----------------------------------------- ##
86679 ## Report this to the package-unused lists.  ##
86680 ## ----------------------------------------- ##
86681 _ASBOX
86682     ) |
86683       sed "s/^/$as_me: WARNING:     /" >&2
86684     ;;
86685 esac
86686 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86687 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86688 if test "${ac_cv_header_langinfo_h+set}" = set; then
86689   echo $ECHO_N "(cached) $ECHO_C" >&6
86690 else
86691   ac_cv_header_langinfo_h=$ac_header_preproc
86692 fi
86693 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86694 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86695
86696 fi
86697 if test $ac_cv_header_langinfo_h = yes; then
86698   ac_has_langinfo_h=yes
86699 else
86700   ac_has_langinfo_h=no
86701 fi
86702
86703
86704
86705     # Check for existence of libiconv.a providing XPG2 wchar_t support.
86706     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86707 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86708 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86709   echo $ECHO_N "(cached) $ECHO_C" >&6
86710 else
86711   ac_check_lib_save_LIBS=$LIBS
86712 LIBS="-liconv  $LIBS"
86713 if test x$gcc_no_link = xyes; then
86714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86716    { (exit 1); exit 1; }; }
86717 fi
86718 cat >conftest.$ac_ext <<_ACEOF
86719 /* confdefs.h.  */
86720 _ACEOF
86721 cat confdefs.h >>conftest.$ac_ext
86722 cat >>conftest.$ac_ext <<_ACEOF
86723 /* end confdefs.h.  */
86724
86725 /* Override any gcc2 internal prototype to avoid an error.  */
86726 #ifdef __cplusplus
86727 extern "C"
86728 #endif
86729 /* We use char because int might match the return type of a gcc2
86730    builtin and then its argument prototype would still apply.  */
86731 char iconv ();
86732 int
86733 main ()
86734 {
86735 iconv ();
86736   ;
86737   return 0;
86738 }
86739 _ACEOF
86740 rm -f conftest.$ac_objext conftest$ac_exeext
86741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86742   (eval $ac_link) 2>conftest.er1
86743   ac_status=$?
86744   grep -v '^ *+' conftest.er1 >conftest.err
86745   rm -f conftest.er1
86746   cat conftest.err >&5
86747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86748   (exit $ac_status); } &&
86749          { ac_try='test -z "$ac_c_werror_flag"
86750                          || test ! -s conftest.err'
86751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86752   (eval $ac_try) 2>&5
86753   ac_status=$?
86754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86755   (exit $ac_status); }; } &&
86756          { ac_try='test -s conftest$ac_exeext'
86757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86758   (eval $ac_try) 2>&5
86759   ac_status=$?
86760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86761   (exit $ac_status); }; }; then
86762   ac_cv_lib_iconv_iconv=yes
86763 else
86764   echo "$as_me: failed program was:" >&5
86765 sed 's/^/| /' conftest.$ac_ext >&5
86766
86767 ac_cv_lib_iconv_iconv=no
86768 fi
86769 rm -f conftest.err conftest.$ac_objext \
86770       conftest$ac_exeext conftest.$ac_ext
86771 LIBS=$ac_check_lib_save_LIBS
86772 fi
86773 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86774 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86775 if test $ac_cv_lib_iconv_iconv = yes; then
86776   LIBICONV="-liconv"
86777 fi
86778
86779     ac_save_LIBS="$LIBS"
86780     LIBS="$LIBS $LIBICONV"
86781
86782
86783
86784
86785
86786
86787 for ac_func in iconv_open iconv_close iconv nl_langinfo
86788 do
86789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86790 echo "$as_me:$LINENO: checking for $ac_func" >&5
86791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86792 if eval "test \"\${$as_ac_var+set}\" = set"; then
86793   echo $ECHO_N "(cached) $ECHO_C" >&6
86794 else
86795   if test x$gcc_no_link = xyes; then
86796   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86798    { (exit 1); exit 1; }; }
86799 fi
86800 cat >conftest.$ac_ext <<_ACEOF
86801 /* confdefs.h.  */
86802 _ACEOF
86803 cat confdefs.h >>conftest.$ac_ext
86804 cat >>conftest.$ac_ext <<_ACEOF
86805 /* end confdefs.h.  */
86806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86807    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86808 #define $ac_func innocuous_$ac_func
86809
86810 /* System header to define __stub macros and hopefully few prototypes,
86811     which can conflict with char $ac_func (); below.
86812     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86813     <limits.h> exists even on freestanding compilers.  */
86814
86815 #ifdef __STDC__
86816 # include <limits.h>
86817 #else
86818 # include <assert.h>
86819 #endif
86820
86821 #undef $ac_func
86822
86823 /* Override any gcc2 internal prototype to avoid an error.  */
86824 #ifdef __cplusplus
86825 extern "C"
86826 {
86827 #endif
86828 /* We use char because int might match the return type of a gcc2
86829    builtin and then its argument prototype would still apply.  */
86830 char $ac_func ();
86831 /* The GNU C library defines this for functions which it implements
86832     to always fail with ENOSYS.  Some functions are actually named
86833     something starting with __ and the normal name is an alias.  */
86834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86835 choke me
86836 #else
86837 char (*f) () = $ac_func;
86838 #endif
86839 #ifdef __cplusplus
86840 }
86841 #endif
86842
86843 int
86844 main ()
86845 {
86846 return f != $ac_func;
86847   ;
86848   return 0;
86849 }
86850 _ACEOF
86851 rm -f conftest.$ac_objext conftest$ac_exeext
86852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86853   (eval $ac_link) 2>conftest.er1
86854   ac_status=$?
86855   grep -v '^ *+' conftest.er1 >conftest.err
86856   rm -f conftest.er1
86857   cat conftest.err >&5
86858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86859   (exit $ac_status); } &&
86860          { ac_try='test -z "$ac_c_werror_flag"
86861                          || test ! -s conftest.err'
86862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86863   (eval $ac_try) 2>&5
86864   ac_status=$?
86865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86866   (exit $ac_status); }; } &&
86867          { ac_try='test -s conftest$ac_exeext'
86868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86869   (eval $ac_try) 2>&5
86870   ac_status=$?
86871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86872   (exit $ac_status); }; }; then
86873   eval "$as_ac_var=yes"
86874 else
86875   echo "$as_me: failed program was:" >&5
86876 sed 's/^/| /' conftest.$ac_ext >&5
86877
86878 eval "$as_ac_var=no"
86879 fi
86880 rm -f conftest.err conftest.$ac_objext \
86881       conftest$ac_exeext conftest.$ac_ext
86882 fi
86883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86885 if test `eval echo '${'$as_ac_var'}'` = yes; then
86886   cat >>confdefs.h <<_ACEOF
86887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86888 _ACEOF
86889  ac_XPG2funcs=yes
86890 else
86891   ac_XPG2funcs=no
86892 fi
86893 done
86894
86895
86896     LIBS="$ac_save_LIBS"
86897
86898     if test x"$ac_has_iconv_h" = xyes &&
86899        test x"$ac_has_langinfo_h" = xyes &&
86900        test x"$ac_XPG2funcs" = xyes;
86901     then
86902
86903 cat >>confdefs.h <<\_ACEOF
86904 #define _GLIBCXX_USE_ICONV 1
86905 _ACEOF
86906
86907       enable_iconv=yes
86908     fi
86909   fi
86910   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86911 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86912   echo "$as_me:$LINENO: result: $enable_iconv" >&5
86913 echo "${ECHO_T}$enable_iconv" >&6
86914
86915     cat >>confdefs.h <<\_ACEOF
86916 #define HAVE_COPYSIGN 1
86917 _ACEOF
86918
86919     cat >>confdefs.h <<\_ACEOF
86920 #define HAVE_COPYSIGNF 1
86921 _ACEOF
86922
86923     cat >>confdefs.h <<\_ACEOF
86924 #define HAVE_FINITE 1
86925 _ACEOF
86926
86927     cat >>confdefs.h <<\_ACEOF
86928 #define HAVE_FINITEF 1
86929 _ACEOF
86930
86931     cat >>confdefs.h <<\_ACEOF
86932 #define HAVE_FREXPF 1
86933 _ACEOF
86934
86935     cat >>confdefs.h <<\_ACEOF
86936 #define HAVE_HYPOTF 1
86937 _ACEOF
86938
86939     cat >>confdefs.h <<\_ACEOF
86940 #define HAVE_ISINF 1
86941 _ACEOF
86942
86943     cat >>confdefs.h <<\_ACEOF
86944 #define HAVE_ISINFF 1
86945 _ACEOF
86946
86947     cat >>confdefs.h <<\_ACEOF
86948 #define HAVE_ISNAN 1
86949 _ACEOF
86950
86951     cat >>confdefs.h <<\_ACEOF
86952 #define HAVE_ISNANF 1
86953 _ACEOF
86954
86955     cat >>confdefs.h <<\_ACEOF
86956 #define HAVE_SINCOS 1
86957 _ACEOF
86958
86959     cat >>confdefs.h <<\_ACEOF
86960 #define HAVE_SINCOSF 1
86961 _ACEOF
86962
86963     if test x"long_double_math_on_this_cpu" = x"yes"; then
86964       cat >>confdefs.h <<\_ACEOF
86965 #define HAVE_FINITEL 1
86966 _ACEOF
86967
86968       cat >>confdefs.h <<\_ACEOF
86969 #define HAVE_HYPOTL 1
86970 _ACEOF
86971
86972       cat >>confdefs.h <<\_ACEOF
86973 #define HAVE_ISINFL 1
86974 _ACEOF
86975
86976       cat >>confdefs.h <<\_ACEOF
86977 #define HAVE_ISNANL 1
86978 _ACEOF
86979
86980     fi
86981     ;;
86982   *-vxworks)
86983     cat >>confdefs.h <<\_ACEOF
86984 #define HAVE_MMAP 1
86985 _ACEOF
86986
86987     cat >>confdefs.h <<\_ACEOF
86988 #define HAVE_ACOSF 1
86989 _ACEOF
86990
86991     cat >>confdefs.h <<\_ACEOF
86992 #define HAVE_ASINF 1
86993 _ACEOF
86994
86995     cat >>confdefs.h <<\_ACEOF
86996 #define HAVE_ATAN2F 1
86997 _ACEOF
86998
86999     cat >>confdefs.h <<\_ACEOF
87000 #define HAVE_ATANF 1
87001 _ACEOF
87002
87003     cat >>confdefs.h <<\_ACEOF
87004 #define HAVE_CEILF 1
87005 _ACEOF
87006
87007     cat >>confdefs.h <<\_ACEOF
87008 #define HAVE_COSF 1
87009 _ACEOF
87010
87011     cat >>confdefs.h <<\_ACEOF
87012 #define HAVE_COSHF 1
87013 _ACEOF
87014
87015     cat >>confdefs.h <<\_ACEOF
87016 #define HAVE_EXPF 1
87017 _ACEOF
87018
87019     cat >>confdefs.h <<\_ACEOF
87020 #define HAVE_FABSF 1
87021 _ACEOF
87022
87023     cat >>confdefs.h <<\_ACEOF
87024 #define HAVE_FLOORF 1
87025 _ACEOF
87026
87027     cat >>confdefs.h <<\_ACEOF
87028 #define HAVE_FMODF 1
87029 _ACEOF
87030
87031     cat >>confdefs.h <<\_ACEOF
87032 #define HAVE_HYPOT 1
87033 _ACEOF
87034
87035     cat >>confdefs.h <<\_ACEOF
87036 #define HAVE_LOG10F 1
87037 _ACEOF
87038
87039     cat >>confdefs.h <<\_ACEOF
87040 #define HAVE_LOGF 1
87041 _ACEOF
87042
87043     cat >>confdefs.h <<\_ACEOF
87044 #define HAVE_POWF 1
87045 _ACEOF
87046
87047     cat >>confdefs.h <<\_ACEOF
87048 #define HAVE_SINF 1
87049 _ACEOF
87050
87051     cat >>confdefs.h <<\_ACEOF
87052 #define HAVE_SINHF 1
87053 _ACEOF
87054
87055     cat >>confdefs.h <<\_ACEOF
87056 #define HAVE_SQRTF 1
87057 _ACEOF
87058
87059     cat >>confdefs.h <<\_ACEOF
87060 #define HAVE_TANF 1
87061 _ACEOF
87062
87063     cat >>confdefs.h <<\_ACEOF
87064 #define HAVE_TANHF 1
87065 _ACEOF
87066
87067     ;;
87068   *-windiss*)
87069     cat >>confdefs.h <<\_ACEOF
87070 #define HAVE_ACOSF 1
87071 _ACEOF
87072
87073     cat >>confdefs.h <<\_ACEOF
87074 #define HAVE_ACOSL 1
87075 _ACEOF
87076
87077     cat >>confdefs.h <<\_ACEOF
87078 #define HAVE_ASINF 1
87079 _ACEOF
87080
87081     cat >>confdefs.h <<\_ACEOF
87082 #define HAVE_ASINL 1
87083 _ACEOF
87084
87085     cat >>confdefs.h <<\_ACEOF
87086 #define HAVE_ATAN2F 1
87087 _ACEOF
87088
87089     cat >>confdefs.h <<\_ACEOF
87090 #define HAVE_ATAN2L 1
87091 _ACEOF
87092
87093     cat >>confdefs.h <<\_ACEOF
87094 #define HAVE_ATANF 1
87095 _ACEOF
87096
87097     cat >>confdefs.h <<\_ACEOF
87098 #define HAVE_ATANL 1
87099 _ACEOF
87100
87101     cat >>confdefs.h <<\_ACEOF
87102 #define HAVE_CEILF 1
87103 _ACEOF
87104
87105     cat >>confdefs.h <<\_ACEOF
87106 #define HAVE_CEILL 1
87107 _ACEOF
87108
87109     cat >>confdefs.h <<\_ACEOF
87110 #define HAVE_COPYSIGN 1
87111 _ACEOF
87112
87113     cat >>confdefs.h <<\_ACEOF
87114 #define HAVE_COPYSIGNF 1
87115 _ACEOF
87116
87117     cat >>confdefs.h <<\_ACEOF
87118 #define HAVE_COSF 1
87119 _ACEOF
87120
87121     cat >>confdefs.h <<\_ACEOF
87122 #define HAVE_COSL 1
87123 _ACEOF
87124
87125     cat >>confdefs.h <<\_ACEOF
87126 #define HAVE_COSHF 1
87127 _ACEOF
87128
87129     cat >>confdefs.h <<\_ACEOF
87130 #define HAVE_COSHL 1
87131 _ACEOF
87132
87133     cat >>confdefs.h <<\_ACEOF
87134 #define HAVE_EXPF 1
87135 _ACEOF
87136
87137     cat >>confdefs.h <<\_ACEOF
87138 #define HAVE_EXPL 1
87139 _ACEOF
87140
87141     cat >>confdefs.h <<\_ACEOF
87142 #define HAVE_FABSF 1
87143 _ACEOF
87144
87145     cat >>confdefs.h <<\_ACEOF
87146 #define HAVE_FABSL 1
87147 _ACEOF
87148
87149     cat >>confdefs.h <<\_ACEOF
87150 #define HAVE_FLOORF 1
87151 _ACEOF
87152
87153     cat >>confdefs.h <<\_ACEOF
87154 #define HAVE_FLOORL 1
87155 _ACEOF
87156
87157     cat >>confdefs.h <<\_ACEOF
87158 #define HAVE_FMODF 1
87159 _ACEOF
87160
87161     cat >>confdefs.h <<\_ACEOF
87162 #define HAVE_FMODL 1
87163 _ACEOF
87164
87165     cat >>confdefs.h <<\_ACEOF
87166 #define HAVE_FREXPF 1
87167 _ACEOF
87168
87169     cat >>confdefs.h <<\_ACEOF
87170 #define HAVE_FREXPL 1
87171 _ACEOF
87172
87173     cat >>confdefs.h <<\_ACEOF
87174 #define HAVE_LDEXPF 1
87175 _ACEOF
87176
87177     cat >>confdefs.h <<\_ACEOF
87178 #define HAVE_LDEXPL 1
87179 _ACEOF
87180
87181     cat >>confdefs.h <<\_ACEOF
87182 #define HAVE_LOG10F 1
87183 _ACEOF
87184
87185     cat >>confdefs.h <<\_ACEOF
87186 #define HAVE_LOG10L 1
87187 _ACEOF
87188
87189     cat >>confdefs.h <<\_ACEOF
87190 #define HAVE_LOGF 1
87191 _ACEOF
87192
87193     cat >>confdefs.h <<\_ACEOF
87194 #define HAVE_MODFF 1
87195 _ACEOF
87196
87197     cat >>confdefs.h <<\_ACEOF
87198 #define HAVE_MODFL 1
87199 _ACEOF
87200
87201     cat >>confdefs.h <<\_ACEOF
87202 #define HAVE_POWF 1
87203 _ACEOF
87204
87205     cat >>confdefs.h <<\_ACEOF
87206 #define HAVE_POWL 1
87207 _ACEOF
87208
87209     cat >>confdefs.h <<\_ACEOF
87210 #define HAVE_SINF 1
87211 _ACEOF
87212
87213     cat >>confdefs.h <<\_ACEOF
87214 #define HAVE_SINL 1
87215 _ACEOF
87216
87217     cat >>confdefs.h <<\_ACEOF
87218 #define HAVE_SINHF 1
87219 _ACEOF
87220
87221     cat >>confdefs.h <<\_ACEOF
87222 #define HAVE_SINHL 1
87223 _ACEOF
87224
87225     cat >>confdefs.h <<\_ACEOF
87226 #define HAVE_SQRTF 1
87227 _ACEOF
87228
87229     cat >>confdefs.h <<\_ACEOF
87230 #define HAVE_SQRTL 1
87231 _ACEOF
87232
87233     cat >>confdefs.h <<\_ACEOF
87234 #define HAVE_TANF 1
87235 _ACEOF
87236
87237     cat >>confdefs.h <<\_ACEOF
87238 #define HAVE_TANL 1
87239 _ACEOF
87240
87241     cat >>confdefs.h <<\_ACEOF
87242 #define HAVE_TANHF 1
87243 _ACEOF
87244
87245     cat >>confdefs.h <<\_ACEOF
87246 #define HAVE_TANHL 1
87247 _ACEOF
87248
87249     ;;
87250   *)
87251     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87252 echo "$as_me: error: No support for this host/target combination." >&2;}
87253    { (exit 1); exit 1; }; }
87254    ;;
87255 esac
87256
87257   fi
87258
87259   # At some point, we should differentiate between architectures
87260   # like x86, which have long double versions, and alpha/powerpc/etc.,
87261   # which don't. For the time being, punt.
87262   if test x"long_double_math_on_this_cpu" = x"yes"; then
87263     cat >>confdefs.h <<\_ACEOF
87264 #define HAVE_ACOSL 1
87265 _ACEOF
87266
87267     cat >>confdefs.h <<\_ACEOF
87268 #define HAVE_ASINL 1
87269 _ACEOF
87270
87271     cat >>confdefs.h <<\_ACEOF
87272 #define HAVE_ATAN2L 1
87273 _ACEOF
87274
87275     cat >>confdefs.h <<\_ACEOF
87276 #define HAVE_ATANL 1
87277 _ACEOF
87278
87279     cat >>confdefs.h <<\_ACEOF
87280 #define HAVE_CEILL 1
87281 _ACEOF
87282
87283     cat >>confdefs.h <<\_ACEOF
87284 #define HAVE_COPYSIGNL 1
87285 _ACEOF
87286
87287     cat >>confdefs.h <<\_ACEOF
87288 #define HAVE_COSL 1
87289 _ACEOF
87290
87291     cat >>confdefs.h <<\_ACEOF
87292 #define HAVE_COSHL 1
87293 _ACEOF
87294
87295     cat >>confdefs.h <<\_ACEOF
87296 #define HAVE_EXPL 1
87297 _ACEOF
87298
87299     cat >>confdefs.h <<\_ACEOF
87300 #define HAVE_FABSL 1
87301 _ACEOF
87302
87303     cat >>confdefs.h <<\_ACEOF
87304 #define HAVE_FLOORL 1
87305 _ACEOF
87306
87307     cat >>confdefs.h <<\_ACEOF
87308 #define HAVE_FMODL 1
87309 _ACEOF
87310
87311     cat >>confdefs.h <<\_ACEOF
87312 #define HAVE_FREXPL 1
87313 _ACEOF
87314
87315     cat >>confdefs.h <<\_ACEOF
87316 #define HAVE_LDEXPL 1
87317 _ACEOF
87318
87319     cat >>confdefs.h <<\_ACEOF
87320 #define HAVE_LOG10L 1
87321 _ACEOF
87322
87323     cat >>confdefs.h <<\_ACEOF
87324 #define HAVE_LOGL 1
87325 _ACEOF
87326
87327     cat >>confdefs.h <<\_ACEOF
87328 #define HAVE_MODFL 1
87329 _ACEOF
87330
87331     cat >>confdefs.h <<\_ACEOF
87332 #define HAVE_POWL 1
87333 _ACEOF
87334
87335     cat >>confdefs.h <<\_ACEOF
87336 #define HAVE_SINCOSL 1
87337 _ACEOF
87338
87339     cat >>confdefs.h <<\_ACEOF
87340 #define HAVE_SINL 1
87341 _ACEOF
87342
87343     cat >>confdefs.h <<\_ACEOF
87344 #define HAVE_SINHL 1
87345 _ACEOF
87346
87347     cat >>confdefs.h <<\_ACEOF
87348 #define HAVE_SQRTL 1
87349 _ACEOF
87350
87351     cat >>confdefs.h <<\_ACEOF
87352 #define HAVE_TANL 1
87353 _ACEOF
87354
87355     cat >>confdefs.h <<\_ACEOF
87356 #define HAVE_TANHL 1
87357 _ACEOF
87358
87359   fi
87360
87361 fi
87362
87363 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87364
87365
87366  # Check whether --enable-symvers or --disable-symvers was given.
87367 if test "${enable_symvers+set}" = set; then
87368   enableval="$enable_symvers"
87369
87370       case "$enableval" in
87371        yes|no|gnu|darwin|darwin-export) ;;
87372        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87373 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87374    { (exit 1); exit 1; }; } ;;
87375                           esac
87376
87377 else
87378   enable_symvers=yes
87379 fi;
87380
87381
87382 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87383 # don't know enough about $LD to do tricks...
87384
87385
87386 # Turn a 'yes' into a suitable default.
87387 if test x$enable_symvers = xyes ; then
87388   if test $enable_shared = no || test "x$LD" = x ; then
87389     enable_symvers=no
87390   else
87391     if test $with_gnu_ld = yes ; then
87392       enable_symvers=gnu
87393     else
87394       case ${target_os} in
87395         darwin*)
87396           enable_symvers=darwin ;;
87397         *)
87398           enable_symvers=no ;;
87399       esac
87400     fi
87401   fi
87402 fi
87403
87404 # Check to see if 'darwin' or 'darwin-export' can win.
87405 if test x$enable_symvers = xdarwin-export ; then
87406     enable_symvers=darwin
87407 fi
87408
87409 # Check to see if 'gnu' can win.
87410 if test $enable_symvers = gnu; then
87411   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87412   echo "$as_me:$LINENO: checking for shared libgcc" >&5
87413 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87414   ac_save_CFLAGS="$CFLAGS"
87415   CFLAGS=' -lgcc_s'
87416   if test x$gcc_no_link = xyes; then
87417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87419    { (exit 1); exit 1; }; }
87420 fi
87421 cat >conftest.$ac_ext <<_ACEOF
87422 /* confdefs.h.  */
87423 _ACEOF
87424 cat confdefs.h >>conftest.$ac_ext
87425 cat >>conftest.$ac_ext <<_ACEOF
87426 /* end confdefs.h.  */
87427
87428 int
87429 main ()
87430 {
87431 return 0;
87432   ;
87433   return 0;
87434 }
87435 _ACEOF
87436 rm -f conftest.$ac_objext conftest$ac_exeext
87437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87438   (eval $ac_link) 2>conftest.er1
87439   ac_status=$?
87440   grep -v '^ *+' conftest.er1 >conftest.err
87441   rm -f conftest.er1
87442   cat conftest.err >&5
87443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87444   (exit $ac_status); } &&
87445          { ac_try='test -z "$ac_c_werror_flag"
87446                          || test ! -s conftest.err'
87447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87448   (eval $ac_try) 2>&5
87449   ac_status=$?
87450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87451   (exit $ac_status); }; } &&
87452          { ac_try='test -s conftest$ac_exeext'
87453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87454   (eval $ac_try) 2>&5
87455   ac_status=$?
87456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87457   (exit $ac_status); }; }; then
87458   glibcxx_shared_libgcc=yes
87459 else
87460   echo "$as_me: failed program was:" >&5
87461 sed 's/^/| /' conftest.$ac_ext >&5
87462
87463 glibcxx_shared_libgcc=no
87464 fi
87465 rm -f conftest.err conftest.$ac_objext \
87466       conftest$ac_exeext conftest.$ac_ext
87467   CFLAGS="$ac_save_CFLAGS"
87468   if test $glibcxx_shared_libgcc = no; then
87469     cat > conftest.c <<EOF
87470 int main (void) { return 0; }
87471 EOF
87472     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87473                              -shared -shared-libgcc -o conftest.so \
87474                              conftest.c -v 2>&1 >/dev/null \
87475                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87476     rm -f conftest.c conftest.so
87477     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87478       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87479       if test x$gcc_no_link = xyes; then
87480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87482    { (exit 1); exit 1; }; }
87483 fi
87484 cat >conftest.$ac_ext <<_ACEOF
87485 /* confdefs.h.  */
87486 _ACEOF
87487 cat confdefs.h >>conftest.$ac_ext
87488 cat >>conftest.$ac_ext <<_ACEOF
87489 /* end confdefs.h.  */
87490
87491 int
87492 main ()
87493 {
87494 return 0;
87495   ;
87496   return 0;
87497 }
87498 _ACEOF
87499 rm -f conftest.$ac_objext conftest$ac_exeext
87500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87501   (eval $ac_link) 2>conftest.er1
87502   ac_status=$?
87503   grep -v '^ *+' conftest.er1 >conftest.err
87504   rm -f conftest.er1
87505   cat conftest.err >&5
87506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87507   (exit $ac_status); } &&
87508          { ac_try='test -z "$ac_c_werror_flag"
87509                          || test ! -s conftest.err'
87510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87511   (eval $ac_try) 2>&5
87512   ac_status=$?
87513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87514   (exit $ac_status); }; } &&
87515          { ac_try='test -s conftest$ac_exeext'
87516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87517   (eval $ac_try) 2>&5
87518   ac_status=$?
87519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87520   (exit $ac_status); }; }; then
87521   glibcxx_shared_libgcc=yes
87522 else
87523   echo "$as_me: failed program was:" >&5
87524 sed 's/^/| /' conftest.$ac_ext >&5
87525
87526 fi
87527 rm -f conftest.err conftest.$ac_objext \
87528       conftest$ac_exeext conftest.$ac_ext
87529       CFLAGS="$ac_save_CFLAGS"
87530     fi
87531   fi
87532   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87533 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87534
87535   # For GNU ld, we need at least this version.  The format is described in
87536   # GLIBCXX_CHECK_LINKER_FEATURES above.
87537   glibcxx_min_gnu_ld_version=21400
87538
87539   # If no shared libgcc, can't win.
87540   if test $glibcxx_shared_libgcc != yes; then
87541       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87542 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87543       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
87544 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
87545       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87546 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87547       enable_symvers=no
87548   elif test $with_gnu_ld != yes ; then
87549     # just fail for now
87550     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87551 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87552     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
87553 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
87554     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87555 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87556     enable_symvers=no
87557   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
87558     # The right tools, the right setup, but too old.  Fallbacks?
87559     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87560 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87561     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87562 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87563     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87564 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87565     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87566 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87567     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87568 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87569     enable_symvers=no
87570   fi
87571 fi
87572
87573 # Everything parsed; figure out what file to use.
87574 case $enable_symvers in
87575   no)
87576     SYMVER_FILE=config/abi/pre/none.ver
87577     ;;
87578   gnu)
87579     SYMVER_FILE=config/abi/pre/gnu.ver
87580
87581 cat >>confdefs.h <<\_ACEOF
87582 #define _GLIBCXX_SYMVER_GNU 1
87583 _ACEOF
87584
87585     ;;
87586   darwin)
87587     SYMVER_FILE=config/abi/pre/gnu.ver
87588
87589 cat >>confdefs.h <<\_ACEOF
87590 #define _GLIBCXX_SYMVER_DARWIN 1
87591 _ACEOF
87592
87593     ;;
87594 esac
87595
87596 if test x$enable_symvers != xno ; then
87597
87598 cat >>confdefs.h <<\_ACEOF
87599 #define _GLIBCXX_SYMVER 1
87600 _ACEOF
87601
87602 fi
87603
87604
87605
87606
87607
87608
87609 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87610 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87611
87612 # Now, set up compatibility support, if any.
87613 # In addition, need this to deal with std::size_t mangling in
87614 # src/compatibility.cc.  In a perfect world, could use
87615 # typeid(std::size_t).name()[0] to do direct substitution.
87616 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
87617 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
87618 ac_save_CFLAGS="$CFLAGS"
87619 CFLAGS="-Werror"
87620 cat >conftest.$ac_ext <<_ACEOF
87621 /* confdefs.h.  */
87622 _ACEOF
87623 cat confdefs.h >>conftest.$ac_ext
87624 cat >>conftest.$ac_ext <<_ACEOF
87625 /* end confdefs.h.  */
87626
87627 int
87628 main ()
87629 {
87630 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
87631   ;
87632   return 0;
87633 }
87634 _ACEOF
87635 rm -f conftest.$ac_objext
87636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87637   (eval $ac_compile) 2>conftest.er1
87638   ac_status=$?
87639   grep -v '^ *+' conftest.er1 >conftest.err
87640   rm -f conftest.er1
87641   cat conftest.err >&5
87642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87643   (exit $ac_status); } &&
87644          { ac_try='test -z "$ac_c_werror_flag"
87645                          || test ! -s conftest.err'
87646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87647   (eval $ac_try) 2>&5
87648   ac_status=$?
87649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87650   (exit $ac_status); }; } &&
87651          { ac_try='test -s conftest.$ac_objext'
87652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87653   (eval $ac_try) 2>&5
87654   ac_status=$?
87655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87656   (exit $ac_status); }; }; then
87657   glibcxx_size_t_is_i=yes
87658 else
87659   echo "$as_me: failed program was:" >&5
87660 sed 's/^/| /' conftest.$ac_ext >&5
87661
87662 glibcxx_size_t_is_i=no
87663 fi
87664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87665 CFLAGS=$ac_save_CFLAGS
87666 if test "$glibcxx_size_t_is_i" = yes; then
87667
87668 cat >>confdefs.h <<\_ACEOF
87669 #define _GLIBCXX_SIZE_T_IS_UINT 1
87670 _ACEOF
87671
87672 fi
87673 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
87674 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
87675
87676 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
87677 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
87678 ac_save_CFLAGS="$CFLAGS"
87679 CFLAGS="-Werror"
87680 cat >conftest.$ac_ext <<_ACEOF
87681 /* confdefs.h.  */
87682 _ACEOF
87683 cat confdefs.h >>conftest.$ac_ext
87684 cat >>conftest.$ac_ext <<_ACEOF
87685 /* end confdefs.h.  */
87686
87687 int
87688 main ()
87689 {
87690 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
87691   ;
87692   return 0;
87693 }
87694 _ACEOF
87695 rm -f conftest.$ac_objext
87696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87697   (eval $ac_compile) 2>conftest.er1
87698   ac_status=$?
87699   grep -v '^ *+' conftest.er1 >conftest.err
87700   rm -f conftest.er1
87701   cat conftest.err >&5
87702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87703   (exit $ac_status); } &&
87704          { ac_try='test -z "$ac_c_werror_flag"
87705                          || test ! -s conftest.err'
87706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87707   (eval $ac_try) 2>&5
87708   ac_status=$?
87709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87710   (exit $ac_status); }; } &&
87711          { ac_try='test -s conftest.$ac_objext'
87712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87713   (eval $ac_try) 2>&5
87714   ac_status=$?
87715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87716   (exit $ac_status); }; }; then
87717   glibcxx_ptrdiff_t_is_i=yes
87718 else
87719   echo "$as_me: failed program was:" >&5
87720 sed 's/^/| /' conftest.$ac_ext >&5
87721
87722 glibcxx_ptrdiff_t_is_i=no
87723 fi
87724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87725 CFLAGS=$ac_save_CFLAGS
87726 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
87727
87728 cat >>confdefs.h <<\_ACEOF
87729 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
87730 _ACEOF
87731
87732 fi
87733 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
87734 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
87735
87736
87737 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87738
87739   if $GLIBCXX_IS_NATIVE ; then
87740     # Do checks for resource limit functions.
87741
87742   setrlimit_have_headers=yes
87743
87744
87745
87746 for ac_header in unistd.h sys/time.h sys/resource.h
87747 do
87748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87750   echo "$as_me:$LINENO: checking for $ac_header" >&5
87751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87753   echo $ECHO_N "(cached) $ECHO_C" >&6
87754 fi
87755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87757 else
87758   # Is the header compilable?
87759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87761 cat >conftest.$ac_ext <<_ACEOF
87762 /* confdefs.h.  */
87763 _ACEOF
87764 cat confdefs.h >>conftest.$ac_ext
87765 cat >>conftest.$ac_ext <<_ACEOF
87766 /* end confdefs.h.  */
87767 $ac_includes_default
87768 #include <$ac_header>
87769 _ACEOF
87770 rm -f conftest.$ac_objext
87771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87772   (eval $ac_compile) 2>conftest.er1
87773   ac_status=$?
87774   grep -v '^ *+' conftest.er1 >conftest.err
87775   rm -f conftest.er1
87776   cat conftest.err >&5
87777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87778   (exit $ac_status); } &&
87779          { ac_try='test -z "$ac_c_werror_flag"
87780                          || test ! -s conftest.err'
87781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87782   (eval $ac_try) 2>&5
87783   ac_status=$?
87784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87785   (exit $ac_status); }; } &&
87786          { ac_try='test -s conftest.$ac_objext'
87787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87788   (eval $ac_try) 2>&5
87789   ac_status=$?
87790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87791   (exit $ac_status); }; }; then
87792   ac_header_compiler=yes
87793 else
87794   echo "$as_me: failed program was:" >&5
87795 sed 's/^/| /' conftest.$ac_ext >&5
87796
87797 ac_header_compiler=no
87798 fi
87799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87801 echo "${ECHO_T}$ac_header_compiler" >&6
87802
87803 # Is the header present?
87804 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87806 cat >conftest.$ac_ext <<_ACEOF
87807 /* confdefs.h.  */
87808 _ACEOF
87809 cat confdefs.h >>conftest.$ac_ext
87810 cat >>conftest.$ac_ext <<_ACEOF
87811 /* end confdefs.h.  */
87812 #include <$ac_header>
87813 _ACEOF
87814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87815   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87816   ac_status=$?
87817   grep -v '^ *+' conftest.er1 >conftest.err
87818   rm -f conftest.er1
87819   cat conftest.err >&5
87820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87821   (exit $ac_status); } >/dev/null; then
87822   if test -s conftest.err; then
87823     ac_cpp_err=$ac_c_preproc_warn_flag
87824     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87825   else
87826     ac_cpp_err=
87827   fi
87828 else
87829   ac_cpp_err=yes
87830 fi
87831 if test -z "$ac_cpp_err"; then
87832   ac_header_preproc=yes
87833 else
87834   echo "$as_me: failed program was:" >&5
87835 sed 's/^/| /' conftest.$ac_ext >&5
87836
87837   ac_header_preproc=no
87838 fi
87839 rm -f conftest.err conftest.$ac_ext
87840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87841 echo "${ECHO_T}$ac_header_preproc" >&6
87842
87843 # So?  What about this header?
87844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87845   yes:no: )
87846     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87847 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87848     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87849 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87850     ac_header_preproc=yes
87851     ;;
87852   no:yes:* )
87853     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87855     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87856 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87857     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87858 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87859     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87860 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87861     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87863     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87864 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87865     (
87866       cat <<\_ASBOX
87867 ## ----------------------------------------- ##
87868 ## Report this to the package-unused lists.  ##
87869 ## ----------------------------------------- ##
87870 _ASBOX
87871     ) |
87872       sed "s/^/$as_me: WARNING:     /" >&2
87873     ;;
87874 esac
87875 echo "$as_me:$LINENO: checking for $ac_header" >&5
87876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87878   echo $ECHO_N "(cached) $ECHO_C" >&6
87879 else
87880   eval "$as_ac_Header=\$ac_header_preproc"
87881 fi
87882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87884
87885 fi
87886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87887   cat >>confdefs.h <<_ACEOF
87888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87889 _ACEOF
87890
87891 else
87892   setrlimit_have_headers=no
87893 fi
87894
87895 done
87896
87897   # If don't have the headers, then we can't run the tests now, and we
87898   # won't be seeing any of these during testsuite compilation.
87899   if test $setrlimit_have_headers = yes; then
87900     # Can't do these in a loop, else the resulting syntax is wrong.
87901
87902   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
87903 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
87904   cat >conftest.$ac_ext <<_ACEOF
87905 /* confdefs.h.  */
87906 _ACEOF
87907 cat confdefs.h >>conftest.$ac_ext
87908 cat >>conftest.$ac_ext <<_ACEOF
87909 /* end confdefs.h.  */
87910 #include <unistd.h>
87911      #include <sys/time.h>
87912      #include <sys/resource.h>
87913
87914 int
87915 main ()
87916 {
87917  int f = RLIMIT_DATA ;
87918   ;
87919   return 0;
87920 }
87921 _ACEOF
87922 rm -f conftest.$ac_objext
87923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87924   (eval $ac_compile) 2>conftest.er1
87925   ac_status=$?
87926   grep -v '^ *+' conftest.er1 >conftest.err
87927   rm -f conftest.er1
87928   cat conftest.err >&5
87929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87930   (exit $ac_status); } &&
87931          { ac_try='test -z "$ac_c_werror_flag"
87932                          || test ! -s conftest.err'
87933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87934   (eval $ac_try) 2>&5
87935   ac_status=$?
87936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87937   (exit $ac_status); }; } &&
87938          { ac_try='test -s conftest.$ac_objext'
87939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87940   (eval $ac_try) 2>&5
87941   ac_status=$?
87942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87943   (exit $ac_status); }; }; then
87944   glibcxx_mresult=1
87945 else
87946   echo "$as_me: failed program was:" >&5
87947 sed 's/^/| /' conftest.$ac_ext >&5
87948
87949 glibcxx_mresult=0
87950 fi
87951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87952
87953 cat >>confdefs.h <<_ACEOF
87954 #define HAVE_LIMIT_DATA $glibcxx_mresult
87955 _ACEOF
87956
87957   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87958   echo "$as_me:$LINENO: result: $res" >&5
87959 echo "${ECHO_T}$res" >&6
87960
87961
87962   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
87963 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
87964   cat >conftest.$ac_ext <<_ACEOF
87965 /* confdefs.h.  */
87966 _ACEOF
87967 cat confdefs.h >>conftest.$ac_ext
87968 cat >>conftest.$ac_ext <<_ACEOF
87969 /* end confdefs.h.  */
87970 #include <unistd.h>
87971      #include <sys/time.h>
87972      #include <sys/resource.h>
87973
87974 int
87975 main ()
87976 {
87977  int f = RLIMIT_RSS ;
87978   ;
87979   return 0;
87980 }
87981 _ACEOF
87982 rm -f conftest.$ac_objext
87983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87984   (eval $ac_compile) 2>conftest.er1
87985   ac_status=$?
87986   grep -v '^ *+' conftest.er1 >conftest.err
87987   rm -f conftest.er1
87988   cat conftest.err >&5
87989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87990   (exit $ac_status); } &&
87991          { ac_try='test -z "$ac_c_werror_flag"
87992                          || test ! -s conftest.err'
87993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87994   (eval $ac_try) 2>&5
87995   ac_status=$?
87996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87997   (exit $ac_status); }; } &&
87998          { ac_try='test -s conftest.$ac_objext'
87999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88000   (eval $ac_try) 2>&5
88001   ac_status=$?
88002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88003   (exit $ac_status); }; }; then
88004   glibcxx_mresult=1
88005 else
88006   echo "$as_me: failed program was:" >&5
88007 sed 's/^/| /' conftest.$ac_ext >&5
88008
88009 glibcxx_mresult=0
88010 fi
88011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88012
88013 cat >>confdefs.h <<_ACEOF
88014 #define HAVE_LIMIT_RSS $glibcxx_mresult
88015 _ACEOF
88016
88017   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88018   echo "$as_me:$LINENO: result: $res" >&5
88019 echo "${ECHO_T}$res" >&6
88020
88021
88022   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
88023 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
88024   cat >conftest.$ac_ext <<_ACEOF
88025 /* confdefs.h.  */
88026 _ACEOF
88027 cat confdefs.h >>conftest.$ac_ext
88028 cat >>conftest.$ac_ext <<_ACEOF
88029 /* end confdefs.h.  */
88030 #include <unistd.h>
88031      #include <sys/time.h>
88032      #include <sys/resource.h>
88033
88034 int
88035 main ()
88036 {
88037  int f = RLIMIT_VMEM ;
88038   ;
88039   return 0;
88040 }
88041 _ACEOF
88042 rm -f conftest.$ac_objext
88043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88044   (eval $ac_compile) 2>conftest.er1
88045   ac_status=$?
88046   grep -v '^ *+' conftest.er1 >conftest.err
88047   rm -f conftest.er1
88048   cat conftest.err >&5
88049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88050   (exit $ac_status); } &&
88051          { ac_try='test -z "$ac_c_werror_flag"
88052                          || test ! -s conftest.err'
88053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88054   (eval $ac_try) 2>&5
88055   ac_status=$?
88056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88057   (exit $ac_status); }; } &&
88058          { ac_try='test -s conftest.$ac_objext'
88059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88060   (eval $ac_try) 2>&5
88061   ac_status=$?
88062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88063   (exit $ac_status); }; }; then
88064   glibcxx_mresult=1
88065 else
88066   echo "$as_me: failed program was:" >&5
88067 sed 's/^/| /' conftest.$ac_ext >&5
88068
88069 glibcxx_mresult=0
88070 fi
88071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88072
88073 cat >>confdefs.h <<_ACEOF
88074 #define HAVE_LIMIT_VMEM $glibcxx_mresult
88075 _ACEOF
88076
88077   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88078   echo "$as_me:$LINENO: result: $res" >&5
88079 echo "${ECHO_T}$res" >&6
88080
88081
88082   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
88083 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
88084   cat >conftest.$ac_ext <<_ACEOF
88085 /* confdefs.h.  */
88086 _ACEOF
88087 cat confdefs.h >>conftest.$ac_ext
88088 cat >>conftest.$ac_ext <<_ACEOF
88089 /* end confdefs.h.  */
88090 #include <unistd.h>
88091      #include <sys/time.h>
88092      #include <sys/resource.h>
88093
88094 int
88095 main ()
88096 {
88097  int f = RLIMIT_AS ;
88098   ;
88099   return 0;
88100 }
88101 _ACEOF
88102 rm -f conftest.$ac_objext
88103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88104   (eval $ac_compile) 2>conftest.er1
88105   ac_status=$?
88106   grep -v '^ *+' conftest.er1 >conftest.err
88107   rm -f conftest.er1
88108   cat conftest.err >&5
88109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88110   (exit $ac_status); } &&
88111          { ac_try='test -z "$ac_c_werror_flag"
88112                          || test ! -s conftest.err'
88113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88114   (eval $ac_try) 2>&5
88115   ac_status=$?
88116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88117   (exit $ac_status); }; } &&
88118          { ac_try='test -s conftest.$ac_objext'
88119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88120   (eval $ac_try) 2>&5
88121   ac_status=$?
88122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88123   (exit $ac_status); }; }; then
88124   glibcxx_mresult=1
88125 else
88126   echo "$as_me: failed program was:" >&5
88127 sed 's/^/| /' conftest.$ac_ext >&5
88128
88129 glibcxx_mresult=0
88130 fi
88131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88132
88133 cat >>confdefs.h <<_ACEOF
88134 #define HAVE_LIMIT_AS $glibcxx_mresult
88135 _ACEOF
88136
88137   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88138   echo "$as_me:$LINENO: result: $res" >&5
88139 echo "${ECHO_T}$res" >&6
88140
88141
88142   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
88143 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
88144   cat >conftest.$ac_ext <<_ACEOF
88145 /* confdefs.h.  */
88146 _ACEOF
88147 cat confdefs.h >>conftest.$ac_ext
88148 cat >>conftest.$ac_ext <<_ACEOF
88149 /* end confdefs.h.  */
88150 #include <unistd.h>
88151      #include <sys/time.h>
88152      #include <sys/resource.h>
88153
88154 int
88155 main ()
88156 {
88157  int f = RLIMIT_FSIZE ;
88158   ;
88159   return 0;
88160 }
88161 _ACEOF
88162 rm -f conftest.$ac_objext
88163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88164   (eval $ac_compile) 2>conftest.er1
88165   ac_status=$?
88166   grep -v '^ *+' conftest.er1 >conftest.err
88167   rm -f conftest.er1
88168   cat conftest.err >&5
88169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88170   (exit $ac_status); } &&
88171          { ac_try='test -z "$ac_c_werror_flag"
88172                          || test ! -s conftest.err'
88173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88174   (eval $ac_try) 2>&5
88175   ac_status=$?
88176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88177   (exit $ac_status); }; } &&
88178          { ac_try='test -s conftest.$ac_objext'
88179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88180   (eval $ac_try) 2>&5
88181   ac_status=$?
88182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88183   (exit $ac_status); }; }; then
88184   glibcxx_mresult=1
88185 else
88186   echo "$as_me: failed program was:" >&5
88187 sed 's/^/| /' conftest.$ac_ext >&5
88188
88189 glibcxx_mresult=0
88190 fi
88191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88192
88193 cat >>confdefs.h <<_ACEOF
88194 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
88195 _ACEOF
88196
88197   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88198   echo "$as_me:$LINENO: result: $res" >&5
88199 echo "${ECHO_T}$res" >&6
88200
88201
88202     # Check for rlimit, setrlimit.
88203     if test "${ac_setrlimit+set}" = set; then
88204   echo $ECHO_N "(cached) $ECHO_C" >&6
88205 else
88206
88207       cat >conftest.$ac_ext <<_ACEOF
88208 /* confdefs.h.  */
88209 _ACEOF
88210 cat confdefs.h >>conftest.$ac_ext
88211 cat >>conftest.$ac_ext <<_ACEOF
88212 /* end confdefs.h.  */
88213 #include <unistd.h>
88214          #include <sys/time.h>
88215          #include <sys/resource.h>
88216
88217 int
88218 main ()
88219 {
88220 struct rlimit r;
88221          setrlimit(0, &r);
88222   ;
88223   return 0;
88224 }
88225 _ACEOF
88226 rm -f conftest.$ac_objext
88227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88228   (eval $ac_compile) 2>conftest.er1
88229   ac_status=$?
88230   grep -v '^ *+' conftest.er1 >conftest.err
88231   rm -f conftest.er1
88232   cat conftest.err >&5
88233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88234   (exit $ac_status); } &&
88235          { ac_try='test -z "$ac_c_werror_flag"
88236                          || test ! -s conftest.err'
88237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88238   (eval $ac_try) 2>&5
88239   ac_status=$?
88240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88241   (exit $ac_status); }; } &&
88242          { ac_try='test -s conftest.$ac_objext'
88243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88244   (eval $ac_try) 2>&5
88245   ac_status=$?
88246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88247   (exit $ac_status); }; }; then
88248   ac_setrlimit=yes
88249 else
88250   echo "$as_me: failed program was:" >&5
88251 sed 's/^/| /' conftest.$ac_ext >&5
88252
88253 ac_setrlimit=no
88254 fi
88255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88256
88257 fi
88258
88259   fi
88260
88261   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
88262 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
88263   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
88264     ac_res_limits=yes
88265
88266 cat >>confdefs.h <<\_ACEOF
88267 #define _GLIBCXX_RES_LIMITS 1
88268 _ACEOF
88269
88270   else
88271     ac_res_limits=no
88272   fi
88273   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
88274 echo "${ECHO_T}$ac_res_limits" >&6
88275
88276
88277     # Look for setenv, so that extended locale tests can be performed.
88278
88279   echo "$as_me:$LINENO: checking for setenv declaration" >&5
88280 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
88281   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
88282     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
88283   echo $ECHO_N "(cached) $ECHO_C" >&6
88284 else
88285
88286
88287
88288       ac_ext=cc
88289 ac_cpp='$CXXCPP $CPPFLAGS'
88290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88293
88294       cat >conftest.$ac_ext <<_ACEOF
88295 /* confdefs.h.  */
88296 _ACEOF
88297 cat confdefs.h >>conftest.$ac_ext
88298 cat >>conftest.$ac_ext <<_ACEOF
88299 /* end confdefs.h.  */
88300 #include <stdlib.h>
88301 int
88302 main ()
88303 {
88304  setenv(0, 0, 0);
88305   ;
88306   return 0;
88307 }
88308 _ACEOF
88309 rm -f conftest.$ac_objext
88310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88311   (eval $ac_compile) 2>conftest.er1
88312   ac_status=$?
88313   grep -v '^ *+' conftest.er1 >conftest.err
88314   rm -f conftest.er1
88315   cat conftest.err >&5
88316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88317   (exit $ac_status); } &&
88318          { ac_try='test -z "$ac_cxx_werror_flag"
88319                          || test ! -s conftest.err'
88320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88321   (eval $ac_try) 2>&5
88322   ac_status=$?
88323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88324   (exit $ac_status); }; } &&
88325          { ac_try='test -s conftest.$ac_objext'
88326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88327   (eval $ac_try) 2>&5
88328   ac_status=$?
88329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88330   (exit $ac_status); }; }; then
88331   glibcxx_cv_func_setenv_use=yes
88332 else
88333   echo "$as_me: failed program was:" >&5
88334 sed 's/^/| /' conftest.$ac_ext >&5
88335
88336 glibcxx_cv_func_setenv_use=no
88337 fi
88338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88339       ac_ext=c
88340 ac_cpp='$CPP $CPPFLAGS'
88341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88344
88345
88346 fi
88347
88348   fi
88349   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
88350 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
88351   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
88352
88353 for ac_func in setenv
88354 do
88355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88356 echo "$as_me:$LINENO: checking for $ac_func" >&5
88357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88358 if eval "test \"\${$as_ac_var+set}\" = set"; then
88359   echo $ECHO_N "(cached) $ECHO_C" >&6
88360 else
88361   if test x$gcc_no_link = xyes; then
88362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88364    { (exit 1); exit 1; }; }
88365 fi
88366 cat >conftest.$ac_ext <<_ACEOF
88367 /* confdefs.h.  */
88368 _ACEOF
88369 cat confdefs.h >>conftest.$ac_ext
88370 cat >>conftest.$ac_ext <<_ACEOF
88371 /* end confdefs.h.  */
88372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88373    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88374 #define $ac_func innocuous_$ac_func
88375
88376 /* System header to define __stub macros and hopefully few prototypes,
88377     which can conflict with char $ac_func (); below.
88378     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88379     <limits.h> exists even on freestanding compilers.  */
88380
88381 #ifdef __STDC__
88382 # include <limits.h>
88383 #else
88384 # include <assert.h>
88385 #endif
88386
88387 #undef $ac_func
88388
88389 /* Override any gcc2 internal prototype to avoid an error.  */
88390 #ifdef __cplusplus
88391 extern "C"
88392 {
88393 #endif
88394 /* We use char because int might match the return type of a gcc2
88395    builtin and then its argument prototype would still apply.  */
88396 char $ac_func ();
88397 /* The GNU C library defines this for functions which it implements
88398     to always fail with ENOSYS.  Some functions are actually named
88399     something starting with __ and the normal name is an alias.  */
88400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88401 choke me
88402 #else
88403 char (*f) () = $ac_func;
88404 #endif
88405 #ifdef __cplusplus
88406 }
88407 #endif
88408
88409 int
88410 main ()
88411 {
88412 return f != $ac_func;
88413   ;
88414   return 0;
88415 }
88416 _ACEOF
88417 rm -f conftest.$ac_objext conftest$ac_exeext
88418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88419   (eval $ac_link) 2>conftest.er1
88420   ac_status=$?
88421   grep -v '^ *+' conftest.er1 >conftest.err
88422   rm -f conftest.er1
88423   cat conftest.err >&5
88424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88425   (exit $ac_status); } &&
88426          { ac_try='test -z "$ac_c_werror_flag"
88427                          || test ! -s conftest.err'
88428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88429   (eval $ac_try) 2>&5
88430   ac_status=$?
88431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88432   (exit $ac_status); }; } &&
88433          { ac_try='test -s conftest$ac_exeext'
88434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88435   (eval $ac_try) 2>&5
88436   ac_status=$?
88437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88438   (exit $ac_status); }; }; then
88439   eval "$as_ac_var=yes"
88440 else
88441   echo "$as_me: failed program was:" >&5
88442 sed 's/^/| /' conftest.$ac_ext >&5
88443
88444 eval "$as_ac_var=no"
88445 fi
88446 rm -f conftest.err conftest.$ac_objext \
88447       conftest$ac_exeext conftest.$ac_ext
88448 fi
88449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88451 if test `eval echo '${'$as_ac_var'}'` = yes; then
88452   cat >>confdefs.h <<_ACEOF
88453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88454 _ACEOF
88455
88456 fi
88457 done
88458
88459   fi
88460
88461   fi
88462
88463   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
88464      test $enable_symvers != no; then
88465     case "$host" in
88466       *-*-cygwin*)
88467         enable_abi_check=no ;;
88468       *)
88469         enable_abi_check=yes ;;
88470     esac
88471   else
88472     # Only build this as native, since automake does not understand
88473     # CXX_FOR_BUILD.
88474     enable_abi_check=no
88475   fi
88476
88477   # Export file names for ABI checking.
88478   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
88479
88480
88481
88482 # Propagate the target-specific source directories through the build chain.
88483 ATOMICITY_SRCDIR=config/${atomicity_dir}
88484 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88485 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
88486 OS_INC_SRCDIR=config/${os_include_dir}
88487 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88488
88489
88490
88491
88492
88493
88494 # Determine cross-compile flags and AM_CONDITIONALs.
88495 #AC_SUBST(GLIBCXX_IS_NATIVE)
88496 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88497 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88498 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
88499
88500
88501 if test $is_hosted = yes; then
88502   GLIBCXX_HOSTED_TRUE=
88503   GLIBCXX_HOSTED_FALSE='#'
88504 else
88505   GLIBCXX_HOSTED_TRUE='#'
88506   GLIBCXX_HOSTED_FALSE=
88507 fi
88508
88509
88510
88511
88512 if test $enable_libstdcxx_pch = yes; then
88513   GLIBCXX_BUILD_PCH_TRUE=
88514   GLIBCXX_BUILD_PCH_FALSE='#'
88515 else
88516   GLIBCXX_BUILD_PCH_TRUE='#'
88517   GLIBCXX_BUILD_PCH_FALSE=
88518 fi
88519
88520
88521
88522
88523 if test $enable_cheaders = c; then
88524   GLIBCXX_C_HEADERS_C_TRUE=
88525   GLIBCXX_C_HEADERS_C_FALSE='#'
88526 else
88527   GLIBCXX_C_HEADERS_C_TRUE='#'
88528   GLIBCXX_C_HEADERS_C_FALSE=
88529 fi
88530
88531
88532
88533
88534 if test $enable_cheaders = c_std; then
88535   GLIBCXX_C_HEADERS_C_STD_TRUE=
88536   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88537 else
88538   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88539   GLIBCXX_C_HEADERS_C_STD_FALSE=
88540 fi
88541
88542
88543
88544
88545 if test $c_compatibility = yes; then
88546   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88547   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88548 else
88549   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88550   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88551 fi
88552
88553
88554
88555
88556 if test $enable_libstdcxx_debug = yes; then
88557   GLIBCXX_BUILD_DEBUG_TRUE=
88558   GLIBCXX_BUILD_DEBUG_FALSE='#'
88559 else
88560   GLIBCXX_BUILD_DEBUG_TRUE='#'
88561   GLIBCXX_BUILD_DEBUG_FALSE=
88562 fi
88563
88564
88565
88566
88567 if test $enable_symvers != no; then
88568   ENABLE_SYMVERS_TRUE=
88569   ENABLE_SYMVERS_FALSE='#'
88570 else
88571   ENABLE_SYMVERS_TRUE='#'
88572   ENABLE_SYMVERS_FALSE=
88573 fi
88574
88575
88576
88577
88578 if test $enable_symvers = gnu; then
88579   ENABLE_SYMVERS_GNU_TRUE=
88580   ENABLE_SYMVERS_GNU_FALSE='#'
88581 else
88582   ENABLE_SYMVERS_GNU_TRUE='#'
88583   ENABLE_SYMVERS_GNU_FALSE=
88584 fi
88585
88586
88587
88588
88589 if test $enable_symvers = darwin; then
88590   ENABLE_SYMVERS_DARWIN_TRUE=
88591   ENABLE_SYMVERS_DARWIN_FALSE='#'
88592 else
88593   ENABLE_SYMVERS_DARWIN_TRUE='#'
88594   ENABLE_SYMVERS_DARWIN_FALSE=
88595 fi
88596
88597
88598
88599
88600 cat >confcache <<\_ACEOF
88601 # This file is a shell script that caches the results of configure
88602 # tests run on this system so they can be shared between configure
88603 # scripts and configure runs, see configure's option --config-cache.
88604 # It is not useful on other systems.  If it contains results you don't
88605 # want to keep, you may remove or edit it.
88606 #
88607 # config.status only pays attention to the cache file if you give it
88608 # the --recheck option to rerun configure.
88609 #
88610 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88611 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88612 # following values.
88613
88614 _ACEOF
88615
88616 # The following way of writing the cache mishandles newlines in values,
88617 # but we know of no workaround that is simple, portable, and efficient.
88618 # So, don't put newlines in cache variables' values.
88619 # Ultrix sh set writes to stderr and can't be redirected directly,
88620 # and sets the high bit in the cache file unless we assign to the vars.
88621 {
88622   (set) 2>&1 |
88623     case `(ac_space=' '; set | grep ac_space) 2>&1` in
88624     *ac_space=\ *)
88625       # `set' does not quote correctly, so add quotes (double-quote
88626       # substitution turns \\\\ into \\, and sed turns \\ into \).
88627       sed -n \
88628         "s/'/'\\\\''/g;
88629           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88630       ;;
88631     *)
88632       # `set' quotes correctly as required by POSIX, so do not add quotes.
88633       sed -n \
88634         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88635       ;;
88636     esac;
88637 } |
88638   sed '
88639      t clear
88640      : clear
88641      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88642      t end
88643      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88644      : end' >>confcache
88645 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88646   if test -w $cache_file; then
88647     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88648     cat confcache >$cache_file
88649   else
88650     echo "not updating unwritable cache $cache_file"
88651   fi
88652 fi
88653 rm -f confcache
88654
88655 if test ${multilib} = yes; then
88656   multilib_arg="--enable-multilib"
88657 else
88658   multilib_arg=
88659 fi
88660
88661 # Export all the install information.
88662
88663   glibcxx_toolexecdir=no
88664   glibcxx_toolexeclibdir=no
88665   glibcxx_prefixdir=$prefix
88666
88667   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88668 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88669
88670 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88671 if test "${with_gxx_include_dir+set}" = set; then
88672   withval="$with_gxx_include_dir"
88673   case "$withval" in
88674       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88675 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88676    { (exit 1); exit 1; }; } ;;
88677       no)  gxx_include_dir=no ;;
88678       *)   gxx_include_dir=$withval ;;
88679      esac
88680 else
88681   gxx_include_dir=no
88682 fi;
88683   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88684 echo "${ECHO_T}$gxx_include_dir" >&6
88685
88686   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88687 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88688   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88689 if test "${enable_version_specific_runtime_libs+set}" = set; then
88690   enableval="$enable_version_specific_runtime_libs"
88691   case "$enableval" in
88692       yes) version_specific_libs=yes ;;
88693       no)  version_specific_libs=no ;;
88694       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88695 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88696    { (exit 1); exit 1; }; };;
88697      esac
88698 else
88699   version_specific_libs=no
88700 fi;
88701   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88702 echo "${ECHO_T}$version_specific_libs" >&6
88703
88704   # Default case for install directory for include files.
88705   if test $version_specific_libs = no && test $gxx_include_dir = no; then
88706     gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88707   fi
88708
88709   # Version-specific runtime libs processing.
88710   if test $version_specific_libs = yes; then
88711     # Need the gcc compiler version to know where to install libraries
88712     # and header files if --enable-version-specific-runtime-libs option
88713     # is selected.  FIXME: these variables are misnamed, there are
88714     # no executables installed in _toolexecdir or _toolexeclibdir.
88715     if test x"$gxx_include_dir" = x"no"; then
88716       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88717     fi
88718     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88719     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88720   fi
88721
88722   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88723   # Install a library built with a cross compiler in tooldir, not libdir.
88724   if test x"$glibcxx_toolexecdir" = x"no"; then
88725     if test -n "$with_cross_host" &&
88726        test x"$with_cross_host" != x"no"; then
88727       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88728       glibcxx_toolexeclibdir='${toolexecdir}/lib'
88729     else
88730       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88731       glibcxx_toolexeclibdir='${libdir}'
88732     fi
88733     multi_os_directory=`$CXX -print-multi-os-directory`
88734     case $multi_os_directory in
88735       .) ;; # Avoid trailing /.
88736       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88737     esac
88738   fi
88739
88740   echo "$as_me:$LINENO: checking for install location" >&5
88741 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88742   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88743 echo "${ECHO_T}$gxx_include_dir" >&6
88744
88745
88746
88747
88748
88749
88750
88751 # Export all the include and flag information to Makefiles.
88752
88753   # Used for every C++ compile we perform.
88754   GLIBCXX_INCLUDES="\
88755 -I$glibcxx_builddir/include/$host_alias \
88756 -I$glibcxx_builddir/include \
88757 -I$glibcxx_srcdir/libsupc++"
88758
88759   # For Canadian crosses, pick this up too.
88760   if test $CANADIAN = yes; then
88761     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
88762   fi
88763
88764   # Stuff in the actual top level.  Currently only used by libsupc++ to
88765   # get unwind* headers from the gcc dir.
88766   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
88767   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
88768
88769   # Now, export this to all the little Makefiles....
88770
88771
88772
88773
88774   # Optimization flags that are probably a good idea for thrill-seekers. Just
88775   # uncomment the lines below and make, everything else is ready to go...
88776   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
88777   OPTIMIZE_CXXFLAGS=
88778
88779
88780   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
88781
88782
88783
88784 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
88785    grep "enable shared" > /dev/null;
88786 then
88787   LIBSUPCXX_PICFLAGS=-prefer-pic
88788 else
88789   LIBSUPCXX_PICFLAGS=
88790 fi
88791
88792
88793                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
88794
88795           ac_config_files="$ac_config_files scripts/testsuite_flags"
88796
88797
88798           ac_config_commands="$ac_config_commands default"
88799
88800
88801 cat >confcache <<\_ACEOF
88802 # This file is a shell script that caches the results of configure
88803 # tests run on this system so they can be shared between configure
88804 # scripts and configure runs, see configure's option --config-cache.
88805 # It is not useful on other systems.  If it contains results you don't
88806 # want to keep, you may remove or edit it.
88807 #
88808 # config.status only pays attention to the cache file if you give it
88809 # the --recheck option to rerun configure.
88810 #
88811 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88812 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88813 # following values.
88814
88815 _ACEOF
88816
88817 # The following way of writing the cache mishandles newlines in values,
88818 # but we know of no workaround that is simple, portable, and efficient.
88819 # So, don't put newlines in cache variables' values.
88820 # Ultrix sh set writes to stderr and can't be redirected directly,
88821 # and sets the high bit in the cache file unless we assign to the vars.
88822 {
88823   (set) 2>&1 |
88824     case `(ac_space=' '; set | grep ac_space) 2>&1` in
88825     *ac_space=\ *)
88826       # `set' does not quote correctly, so add quotes (double-quote
88827       # substitution turns \\\\ into \\, and sed turns \\ into \).
88828       sed -n \
88829         "s/'/'\\\\''/g;
88830           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88831       ;;
88832     *)
88833       # `set' quotes correctly as required by POSIX, so do not add quotes.
88834       sed -n \
88835         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88836       ;;
88837     esac;
88838 } |
88839   sed '
88840      t clear
88841      : clear
88842      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88843      t end
88844      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88845      : end' >>confcache
88846 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88847   if test -w $cache_file; then
88848     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88849     cat confcache >$cache_file
88850   else
88851     echo "not updating unwritable cache $cache_file"
88852   fi
88853 fi
88854 rm -f confcache
88855
88856 test "x$prefix" = xNONE && prefix=$ac_default_prefix
88857 # Let make expand exec_prefix.
88858 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
88859
88860 # VPATH may cause trouble with some makes, so we remove $(srcdir),
88861 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
88862 # trailing colons and then remove the whole line if VPATH becomes empty
88863 # (actually we leave an empty line to preserve line numbers).
88864 if test "x$srcdir" = x.; then
88865   ac_vpsub='/^[  ]*VPATH[        ]*=/{
88866 s/:*\$(srcdir):*/:/;
88867 s/:*\${srcdir}:*/:/;
88868 s/:*@srcdir@:*/:/;
88869 s/^\([^=]*=[     ]*\):*/\1/;
88870 s/:*$//;
88871 s/^[^=]*=[       ]*$//;
88872 }'
88873 fi
88874
88875 DEFS=-DHAVE_CONFIG_H
88876
88877 ac_libobjs=
88878 ac_ltlibobjs=
88879 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
88880   # 1. Remove the extension, and $U if already installed.
88881   ac_i=`echo "$ac_i" |
88882          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
88883   # 2. Add them.
88884   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
88885   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
88886 done
88887 LIBOBJS=$ac_libobjs
88888
88889 LTLIBOBJS=$ac_ltlibobjs
88890
88891
88892 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
88893   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
88894 Usually this means the macro was only invoked conditionally." >&5
88895 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
88896 Usually this means the macro was only invoked conditionally." >&2;}
88897    { (exit 1); exit 1; }; }
88898 fi
88899 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
88900   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88901 Usually this means the macro was only invoked conditionally." >&5
88902 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88903 Usually this means the macro was only invoked conditionally." >&2;}
88904    { (exit 1); exit 1; }; }
88905 fi
88906 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
88907   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88908 Usually this means the macro was only invoked conditionally." >&5
88909 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88910 Usually this means the macro was only invoked conditionally." >&2;}
88911    { (exit 1); exit 1; }; }
88912 fi
88913 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
88914   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88915 Usually this means the macro was only invoked conditionally." >&5
88916 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88917 Usually this means the macro was only invoked conditionally." >&2;}
88918    { (exit 1); exit 1; }; }
88919 fi
88920 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
88921   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88922 Usually this means the macro was only invoked conditionally." >&5
88923 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88924 Usually this means the macro was only invoked conditionally." >&2;}
88925    { (exit 1); exit 1; }; }
88926 fi
88927 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
88928   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88929 Usually this means the macro was only invoked conditionally." >&5
88930 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88931 Usually this means the macro was only invoked conditionally." >&2;}
88932    { (exit 1); exit 1; }; }
88933 fi
88934 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
88935   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88936 Usually this means the macro was only invoked conditionally." >&5
88937 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88938 Usually this means the macro was only invoked conditionally." >&2;}
88939    { (exit 1); exit 1; }; }
88940 fi
88941 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
88942   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
88943 Usually this means the macro was only invoked conditionally." >&5
88944 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
88945 Usually this means the macro was only invoked conditionally." >&2;}
88946    { (exit 1); exit 1; }; }
88947 fi
88948 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
88949   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
88950 Usually this means the macro was only invoked conditionally." >&5
88951 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
88952 Usually this means the macro was only invoked conditionally." >&2;}
88953    { (exit 1); exit 1; }; }
88954 fi
88955 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
88956   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
88957 Usually this means the macro was only invoked conditionally." >&5
88958 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
88959 Usually this means the macro was only invoked conditionally." >&2;}
88960    { (exit 1); exit 1; }; }
88961 fi
88962
88963 : ${CONFIG_STATUS=./config.status}
88964 ac_clean_files_save=$ac_clean_files
88965 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
88966 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
88967 echo "$as_me: creating $CONFIG_STATUS" >&6;}
88968 cat >$CONFIG_STATUS <<_ACEOF
88969 #! $SHELL
88970 # Generated by $as_me.
88971 # Run this file to recreate the current configuration.
88972 # Compiler output produced by configure, useful for debugging
88973 # configure, is in config.log if it exists.
88974
88975 debug=false
88976 ac_cs_recheck=false
88977 ac_cs_silent=false
88978 SHELL=\${CONFIG_SHELL-$SHELL}
88979 _ACEOF
88980
88981 cat >>$CONFIG_STATUS <<\_ACEOF
88982 ## --------------------- ##
88983 ## M4sh Initialization.  ##
88984 ## --------------------- ##
88985
88986 # Be Bourne compatible
88987 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
88988   emulate sh
88989   NULLCMD=:
88990   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
88991   # is contrary to our usage.  Disable this feature.
88992   alias -g '${1+"$@"}'='"$@"'
88993 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
88994   set -o posix
88995 fi
88996 DUALCASE=1; export DUALCASE # for MKS sh
88997
88998 # Support unset when possible.
88999 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89000   as_unset=unset
89001 else
89002   as_unset=false
89003 fi
89004
89005
89006 # Work around bugs in pre-3.0 UWIN ksh.
89007 $as_unset ENV MAIL MAILPATH
89008 PS1='$ '
89009 PS2='> '
89010 PS4='+ '
89011
89012 # NLS nuisances.
89013 for as_var in \
89014   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
89015   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
89016   LC_TELEPHONE LC_TIME
89017 do
89018   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
89019     eval $as_var=C; export $as_var
89020   else
89021     $as_unset $as_var
89022   fi
89023 done
89024
89025 # Required to use basename.
89026 if expr a : '\(a\)' >/dev/null 2>&1; then
89027   as_expr=expr
89028 else
89029   as_expr=false
89030 fi
89031
89032 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
89033   as_basename=basename
89034 else
89035   as_basename=false
89036 fi
89037
89038
89039 # Name of the executable.
89040 as_me=`$as_basename "$0" ||
89041 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
89042          X"$0" : 'X\(//\)$' \| \
89043          X"$0" : 'X\(/\)$' \| \
89044          .     : '\(.\)' 2>/dev/null ||
89045 echo X/"$0" |
89046     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
89047           /^X\/\(\/\/\)$/{ s//\1/; q; }
89048           /^X\/\(\/\).*/{ s//\1/; q; }
89049           s/.*/./; q'`
89050
89051
89052 # PATH needs CR, and LINENO needs CR and PATH.
89053 # Avoid depending upon Character Ranges.
89054 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89055 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89056 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
89057 as_cr_digits='0123456789'
89058 as_cr_alnum=$as_cr_Letters$as_cr_digits
89059
89060 # The user is always right.
89061 if test "${PATH_SEPARATOR+set}" != set; then
89062   echo "#! /bin/sh" >conf$$.sh
89063   echo  "exit 0"   >>conf$$.sh
89064   chmod +x conf$$.sh
89065   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89066     PATH_SEPARATOR=';'
89067   else
89068     PATH_SEPARATOR=:
89069   fi
89070   rm -f conf$$.sh
89071 fi
89072
89073
89074   as_lineno_1=$LINENO
89075   as_lineno_2=$LINENO
89076   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89077   test "x$as_lineno_1" != "x$as_lineno_2" &&
89078   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
89079   # Find who we are.  Look in the path if we contain no path at all
89080   # relative or not.
89081   case $0 in
89082     *[\\/]* ) as_myself=$0 ;;
89083     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89084 for as_dir in $PATH
89085 do
89086   IFS=$as_save_IFS
89087   test -z "$as_dir" && as_dir=.
89088   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89089 done
89090
89091        ;;
89092   esac
89093   # We did not find ourselves, most probably we were run as `sh COMMAND'
89094   # in which case we are not to be found in the path.
89095   if test "x$as_myself" = x; then
89096     as_myself=$0
89097   fi
89098   if test ! -f "$as_myself"; then
89099     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
89100 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
89101    { (exit 1); exit 1; }; }
89102   fi
89103   case $CONFIG_SHELL in
89104   '')
89105     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89106 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
89107 do
89108   IFS=$as_save_IFS
89109   test -z "$as_dir" && as_dir=.
89110   for as_base in sh bash ksh sh5; do
89111          case $as_dir in
89112          /*)
89113            if ("$as_dir/$as_base" -c '
89114   as_lineno_1=$LINENO
89115   as_lineno_2=$LINENO
89116   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89117   test "x$as_lineno_1" != "x$as_lineno_2" &&
89118   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
89119              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
89120              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
89121              CONFIG_SHELL=$as_dir/$as_base
89122              export CONFIG_SHELL
89123              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
89124            fi;;
89125          esac
89126        done
89127 done
89128 ;;
89129   esac
89130
89131   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
89132   # uniformly replaced by the line number.  The first 'sed' inserts a
89133   # line-number line before each line; the second 'sed' does the real
89134   # work.  The second script uses 'N' to pair each line-number line
89135   # with the numbered line, and appends trailing '-' during
89136   # substitution so that $LINENO is not a special case at line end.
89137   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
89138   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
89139   sed '=' <$as_myself |
89140     sed '
89141       N
89142       s,$,-,
89143       : loop
89144       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
89145       t loop
89146       s,-$,,
89147       s,^['$as_cr_digits']*\n,,
89148     ' >$as_me.lineno &&
89149   chmod +x $as_me.lineno ||
89150     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
89151 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
89152    { (exit 1); exit 1; }; }
89153
89154   # Don't try to exec as it changes $[0], causing all sort of problems
89155   # (the dirname of $[0] is not the place where we might find the
89156   # original and so on.  Autoconf is especially sensible to this).
89157   . ./$as_me.lineno
89158   # Exit status is that of the last command.
89159   exit
89160 }
89161
89162
89163 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
89164   *c*,-n*) ECHO_N= ECHO_C='
89165 ' ECHO_T='      ' ;;
89166   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
89167   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
89168 esac
89169
89170 if expr a : '\(a\)' >/dev/null 2>&1; then
89171   as_expr=expr
89172 else
89173   as_expr=false
89174 fi
89175
89176 rm -f conf$$ conf$$.exe conf$$.file
89177 echo >conf$$.file
89178 if ln -s conf$$.file conf$$ 2>/dev/null; then
89179   # We could just check for DJGPP; but this test a) works b) is more generic
89180   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
89181   if test -f conf$$.exe; then
89182     # Don't use ln at all; we don't have any links
89183     as_ln_s='cp -p'
89184   else
89185     as_ln_s='ln -s'
89186   fi
89187 elif ln conf$$.file conf$$ 2>/dev/null; then
89188   as_ln_s=ln
89189 else
89190   as_ln_s='cp -p'
89191 fi
89192 rm -f conf$$ conf$$.exe conf$$.file
89193
89194 if mkdir -p . 2>/dev/null; then
89195   as_mkdir_p=:
89196 else
89197   test -d ./-p && rmdir ./-p
89198   as_mkdir_p=false
89199 fi
89200
89201 as_executable_p="test -f"
89202
89203 # Sed expression to map a string onto a valid CPP name.
89204 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
89205
89206 # Sed expression to map a string onto a valid variable name.
89207 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
89208
89209
89210 # IFS
89211 # We need space, tab and new line, in precisely that order.
89212 as_nl='
89213 '
89214 IFS="   $as_nl"
89215
89216 # CDPATH.
89217 $as_unset CDPATH
89218
89219 exec 6>&1
89220
89221 # Open the log real soon, to keep \$[0] and so on meaningful, and to
89222 # report actual input values of CONFIG_FILES etc. instead of their
89223 # values after options handling.  Logging --version etc. is OK.
89224 exec 5>>config.log
89225 {
89226   echo
89227   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
89228 ## Running $as_me. ##
89229 _ASBOX
89230 } >&5
89231 cat >&5 <<_CSEOF
89232
89233 This file was extended by package-unused $as_me version-unused, which was
89234 generated by GNU Autoconf 2.59.  Invocation command line was
89235
89236   CONFIG_FILES    = $CONFIG_FILES
89237   CONFIG_HEADERS  = $CONFIG_HEADERS
89238   CONFIG_LINKS    = $CONFIG_LINKS
89239   CONFIG_COMMANDS = $CONFIG_COMMANDS
89240   $ $0 $@
89241
89242 _CSEOF
89243 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
89244 echo >&5
89245 _ACEOF
89246
89247 # Files that config.status was made for.
89248 if test -n "$ac_config_files"; then
89249   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
89250 fi
89251
89252 if test -n "$ac_config_headers"; then
89253   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
89254 fi
89255
89256 if test -n "$ac_config_links"; then
89257   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
89258 fi
89259
89260 if test -n "$ac_config_commands"; then
89261   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
89262 fi
89263
89264 cat >>$CONFIG_STATUS <<\_ACEOF
89265
89266 ac_cs_usage="\
89267 \`$as_me' instantiates files from templates according to the
89268 current configuration.
89269
89270 Usage: $0 [OPTIONS] [FILE]...
89271
89272   -h, --help       print this help, then exit
89273   -V, --version    print version number, then exit
89274   -q, --quiet      do not print progress messages
89275   -d, --debug      don't remove temporary files
89276       --recheck    update $as_me by reconfiguring in the same conditions
89277   --file=FILE[:TEMPLATE]
89278                    instantiate the configuration file FILE
89279   --header=FILE[:TEMPLATE]
89280                    instantiate the configuration header FILE
89281
89282 Configuration files:
89283 $config_files
89284
89285 Configuration headers:
89286 $config_headers
89287
89288 Configuration commands:
89289 $config_commands
89290
89291 Report bugs to <bug-autoconf@gnu.org>."
89292 _ACEOF
89293
89294 cat >>$CONFIG_STATUS <<_ACEOF
89295 ac_cs_version="\\
89296 package-unused config.status version-unused
89297 configured by $0, generated by GNU Autoconf 2.59,
89298   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
89299
89300 Copyright (C) 2003 Free Software Foundation, Inc.
89301 This config.status script is free software; the Free Software Foundation
89302 gives unlimited permission to copy, distribute and modify it."
89303 srcdir=$srcdir
89304 INSTALL="$INSTALL"
89305 _ACEOF
89306
89307 cat >>$CONFIG_STATUS <<\_ACEOF
89308 # If no file are specified by the user, then we need to provide default
89309 # value.  By we need to know if files were specified by the user.
89310 ac_need_defaults=:
89311 while test $# != 0
89312 do
89313   case $1 in
89314   --*=*)
89315     ac_option=`expr "x$1" : 'x\([^=]*\)='`
89316     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
89317     ac_shift=:
89318     ;;
89319   -*)
89320     ac_option=$1
89321     ac_optarg=$2
89322     ac_shift=shift
89323     ;;
89324   *) # This is not an option, so the user has probably given explicit
89325      # arguments.
89326      ac_option=$1
89327      ac_need_defaults=false;;
89328   esac
89329
89330   case $ac_option in
89331   # Handling of the options.
89332 _ACEOF
89333 cat >>$CONFIG_STATUS <<\_ACEOF
89334   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
89335     ac_cs_recheck=: ;;
89336   --version | --vers* | -V )
89337     echo "$ac_cs_version"; exit 0 ;;
89338   --he | --h)
89339     # Conflict between --help and --header
89340     { { echo "$as_me:$LINENO: error: ambiguous option: $1
89341 Try \`$0 --help' for more information." >&5
89342 echo "$as_me: error: ambiguous option: $1
89343 Try \`$0 --help' for more information." >&2;}
89344    { (exit 1); exit 1; }; };;
89345   --help | --hel | -h )
89346     echo "$ac_cs_usage"; exit 0 ;;
89347   --debug | --d* | -d )
89348     debug=: ;;
89349   --file | --fil | --fi | --f )
89350     $ac_shift
89351     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
89352     ac_need_defaults=false;;
89353   --header | --heade | --head | --hea )
89354     $ac_shift
89355     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
89356     ac_need_defaults=false;;
89357   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89358   | -silent | --silent | --silen | --sile | --sil | --si | --s)
89359     ac_cs_silent=: ;;
89360
89361   # This is an error.
89362   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
89363 Try \`$0 --help' for more information." >&5
89364 echo "$as_me: error: unrecognized option: $1
89365 Try \`$0 --help' for more information." >&2;}
89366    { (exit 1); exit 1; }; } ;;
89367
89368   *) ac_config_targets="$ac_config_targets $1" ;;
89369
89370   esac
89371   shift
89372 done
89373
89374 ac_configure_extra_args=
89375
89376 if $ac_cs_silent; then
89377   exec 6>/dev/null
89378   ac_configure_extra_args="$ac_configure_extra_args --silent"
89379 fi
89380
89381 _ACEOF
89382 cat >>$CONFIG_STATUS <<_ACEOF
89383 if \$ac_cs_recheck; then
89384   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
89385   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
89386 fi
89387
89388 _ACEOF
89389
89390 cat >>$CONFIG_STATUS <<_ACEOF
89391 #
89392 # INIT-COMMANDS section.
89393 #
89394
89395
89396 srcdir="$srcdir"
89397 host="$host"
89398 target="$target"
89399 with_multisubdir="$with_multisubdir"
89400 with_multisrctop="$with_multisrctop"
89401 with_target_subdir="$with_target_subdir"
89402 ac_configure_args="${multilib_arg} ${ac_configure_args}"
89403 multi_basedir="$multi_basedir"
89404 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
89405 CC="$CC"
89406
89407 # Variables needed in config.status (file generation) which aren't already
89408 # passed by autoconf.
89409 SUBDIRS="$SUBDIRS"
89410
89411
89412 _ACEOF
89413
89414
89415
89416 cat >>$CONFIG_STATUS <<\_ACEOF
89417 for ac_config_target in $ac_config_targets
89418 do
89419   case "$ac_config_target" in
89420   # Handling of arguments.
89421   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89422   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89423   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89424   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89425   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89426   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89427   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89428   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89429   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89430   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89431   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89432   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89433 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89434    { (exit 1); exit 1; }; };;
89435   esac
89436 done
89437
89438 # If the user did not use the arguments to specify the items to instantiate,
89439 # then the envvar interface is used.  Set only those that are not.
89440 # We use the long form for the default assignment because of an extremely
89441 # bizarre bug on SunOS 4.1.3.
89442 if $ac_need_defaults; then
89443   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89444   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89445   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89446 fi
89447
89448 # Have a temporary directory for convenience.  Make it in the build tree
89449 # simply because there is no reason to put it here, and in addition,
89450 # creating and moving files from /tmp can sometimes cause problems.
89451 # Create a temporary directory, and hook for its removal unless debugging.
89452 $debug ||
89453 {
89454   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89455   trap '{ (exit 1); exit 1; }' 1 2 13 15
89456 }
89457
89458 # Create a (secure) tmp directory for tmp files.
89459
89460 {
89461   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89462   test -n "$tmp" && test -d "$tmp"
89463 }  ||
89464 {
89465   tmp=./confstat$$-$RANDOM
89466   (umask 077 && mkdir $tmp)
89467 } ||
89468 {
89469    echo "$me: cannot create a temporary directory in ." >&2
89470    { (exit 1); exit 1; }
89471 }
89472
89473 _ACEOF
89474
89475 cat >>$CONFIG_STATUS <<_ACEOF
89476
89477 #
89478 # CONFIG_FILES section.
89479 #
89480
89481 # No need to generate the scripts if there are no CONFIG_FILES.
89482 # This happens for instance when ./config.status config.h
89483 if test -n "\$CONFIG_FILES"; then
89484   # Protect against being on the right side of a sed subst in config.status.
89485   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89486    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89487 s,@SHELL@,$SHELL,;t t
89488 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89489 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89490 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89491 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89492 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89493 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89494 s,@exec_prefix@,$exec_prefix,;t t
89495 s,@prefix@,$prefix,;t t
89496 s,@program_transform_name@,$program_transform_name,;t t
89497 s,@bindir@,$bindir,;t t
89498 s,@sbindir@,$sbindir,;t t
89499 s,@libexecdir@,$libexecdir,;t t
89500 s,@datadir@,$datadir,;t t
89501 s,@sysconfdir@,$sysconfdir,;t t
89502 s,@sharedstatedir@,$sharedstatedir,;t t
89503 s,@localstatedir@,$localstatedir,;t t
89504 s,@libdir@,$libdir,;t t
89505 s,@includedir@,$includedir,;t t
89506 s,@oldincludedir@,$oldincludedir,;t t
89507 s,@infodir@,$infodir,;t t
89508 s,@mandir@,$mandir,;t t
89509 s,@build_alias@,$build_alias,;t t
89510 s,@host_alias@,$host_alias,;t t
89511 s,@target_alias@,$target_alias,;t t
89512 s,@DEFS@,$DEFS,;t t
89513 s,@ECHO_C@,$ECHO_C,;t t
89514 s,@ECHO_N@,$ECHO_N,;t t
89515 s,@ECHO_T@,$ECHO_T,;t t
89516 s,@LIBS@,$LIBS,;t t
89517 s,@libtool_VERSION@,$libtool_VERSION,;t t
89518 s,@multi_basedir@,$multi_basedir,;t t
89519 s,@build@,$build,;t t
89520 s,@build_cpu@,$build_cpu,;t t
89521 s,@build_vendor@,$build_vendor,;t t
89522 s,@build_os@,$build_os,;t t
89523 s,@host@,$host,;t t
89524 s,@host_cpu@,$host_cpu,;t t
89525 s,@host_vendor@,$host_vendor,;t t
89526 s,@host_os@,$host_os,;t t
89527 s,@target@,$target,;t t
89528 s,@target_cpu@,$target_cpu,;t t
89529 s,@target_vendor@,$target_vendor,;t t
89530 s,@target_os@,$target_os,;t t
89531 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89532 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89533 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89534 s,@CYGPATH_W@,$CYGPATH_W,;t t
89535 s,@PACKAGE@,$PACKAGE,;t t
89536 s,@VERSION@,$VERSION,;t t
89537 s,@ACLOCAL@,$ACLOCAL,;t t
89538 s,@AUTOCONF@,$AUTOCONF,;t t
89539 s,@AUTOMAKE@,$AUTOMAKE,;t t
89540 s,@AUTOHEADER@,$AUTOHEADER,;t t
89541 s,@MAKEINFO@,$MAKEINFO,;t t
89542 s,@install_sh@,$install_sh,;t t
89543 s,@STRIP@,$STRIP,;t t
89544 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89545 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89546 s,@mkdir_p@,$mkdir_p,;t t
89547 s,@AWK@,$AWK,;t t
89548 s,@SET_MAKE@,$SET_MAKE,;t t
89549 s,@am__leading_dot@,$am__leading_dot,;t t
89550 s,@AMTAR@,$AMTAR,;t t
89551 s,@am__tar@,$am__tar,;t t
89552 s,@am__untar@,$am__untar,;t t
89553 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89554 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89555 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89556 s,@CC@,$CC,;t t
89557 s,@ac_ct_CC@,$ac_ct_CC,;t t
89558 s,@EXEEXT@,$EXEEXT,;t t
89559 s,@OBJEXT@,$OBJEXT,;t t
89560 s,@CXX@,$CXX,;t t
89561 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89562 s,@CFLAGS@,$CFLAGS,;t t
89563 s,@CXXFLAGS@,$CXXFLAGS,;t t
89564 s,@LN_S@,$LN_S,;t t
89565 s,@AS@,$AS,;t t
89566 s,@ac_ct_AS@,$ac_ct_AS,;t t
89567 s,@AR@,$AR,;t t
89568 s,@ac_ct_AR@,$ac_ct_AR,;t t
89569 s,@RANLIB@,$RANLIB,;t t
89570 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89571 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89572 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89573 s,@MAINT@,$MAINT,;t t
89574 s,@LIBTOOL@,$LIBTOOL,;t t
89575 s,@CXXCPP@,$CXXCPP,;t t
89576 s,@CPPFLAGS@,$CPPFLAGS,;t t
89577 s,@enable_shared@,$enable_shared,;t t
89578 s,@enable_static@,$enable_static,;t t
89579 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89580 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89581 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89582 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89583 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89584 s,@CSTDIO_H@,$CSTDIO_H,;t t
89585 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89586 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89587 s,@CPP@,$CPP,;t t
89588 s,@EGREP@,$EGREP,;t t
89589 s,@check_msgfmt@,$check_msgfmt,;t t
89590 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89591 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89592 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89593 s,@USE_NLS@,$USE_NLS,;t t
89594 s,@CLOCALE_H@,$CLOCALE_H,;t t
89595 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89596 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89597 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89598 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89599 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89600 s,@CMONEY_CC@,$CMONEY_CC,;t t
89601 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89602 s,@CTIME_H@,$CTIME_H,;t t
89603 s,@CTIME_CC@,$CTIME_CC,;t t
89604 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89605 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89606 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89607 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89608 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89609 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89610 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89611 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89612 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89613 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89614 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89615 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89616 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89617 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89618 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89619 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89620 s,@WERROR@,$WERROR,;t t
89621 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89622 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89623 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89624 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89625 s,@LIBICONV@,$LIBICONV,;t t
89626 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
89627 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89628 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
89629 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
89630 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
89631 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
89632 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
89633 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
89634 s,@baseline_dir@,$baseline_dir,;t t
89635 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89636 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89637 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
89638 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89639 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89640 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89641 s,@gxx_include_dir@,$gxx_include_dir,;t t
89642 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89643 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89644 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89645 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89646 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89647 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89648 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89649 s,@LIBOBJS@,$LIBOBJS,;t t
89650 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89651 CEOF
89652
89653 _ACEOF
89654
89655   cat >>$CONFIG_STATUS <<\_ACEOF
89656   # Split the substitutions into bite-sized pieces for seds with
89657   # small command number limits, like on Digital OSF/1 and HP-UX.
89658   ac_max_sed_lines=48
89659   ac_sed_frag=1 # Number of current file.
89660   ac_beg=1 # First line for current file.
89661   ac_end=$ac_max_sed_lines # Line after last line for current file.
89662   ac_more_lines=:
89663   ac_sed_cmds=
89664   while $ac_more_lines; do
89665     if test $ac_beg -gt 1; then
89666       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89667     else
89668       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89669     fi
89670     if test ! -s $tmp/subs.frag; then
89671       ac_more_lines=false
89672     else
89673       # The purpose of the label and of the branching condition is to
89674       # speed up the sed processing (if there are no `@' at all, there
89675       # is no need to browse any of the substitutions).
89676       # These are the two extra sed commands mentioned above.
89677       (echo ':t
89678   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89679       if test -z "$ac_sed_cmds"; then
89680         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89681       else
89682         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89683       fi
89684       ac_sed_frag=`expr $ac_sed_frag + 1`
89685       ac_beg=$ac_end
89686       ac_end=`expr $ac_end + $ac_max_sed_lines`
89687     fi
89688   done
89689   if test -z "$ac_sed_cmds"; then
89690     ac_sed_cmds=cat
89691   fi
89692 fi # test -n "$CONFIG_FILES"
89693
89694 _ACEOF
89695 cat >>$CONFIG_STATUS <<\_ACEOF
89696 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89697   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89698   case $ac_file in
89699   - | *:- | *:-:* ) # input from stdin
89700         cat >$tmp/stdin
89701         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89702         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89703   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89704         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89705   * )   ac_file_in=$ac_file.in ;;
89706   esac
89707
89708   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89709   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89710 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89711          X"$ac_file" : 'X\(//\)[^/]' \| \
89712          X"$ac_file" : 'X\(//\)$' \| \
89713          X"$ac_file" : 'X\(/\)' \| \
89714          .     : '\(.\)' 2>/dev/null ||
89715 echo X"$ac_file" |
89716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89718           /^X\(\/\/\)$/{ s//\1/; q; }
89719           /^X\(\/\).*/{ s//\1/; q; }
89720           s/.*/./; q'`
89721   { if $as_mkdir_p; then
89722     mkdir -p "$ac_dir"
89723   else
89724     as_dir="$ac_dir"
89725     as_dirs=
89726     while test ! -d "$as_dir"; do
89727       as_dirs="$as_dir $as_dirs"
89728       as_dir=`(dirname "$as_dir") 2>/dev/null ||
89729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89730          X"$as_dir" : 'X\(//\)[^/]' \| \
89731          X"$as_dir" : 'X\(//\)$' \| \
89732          X"$as_dir" : 'X\(/\)' \| \
89733          .     : '\(.\)' 2>/dev/null ||
89734 echo X"$as_dir" |
89735     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89736           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89737           /^X\(\/\/\)$/{ s//\1/; q; }
89738           /^X\(\/\).*/{ s//\1/; q; }
89739           s/.*/./; q'`
89740     done
89741     test ! -n "$as_dirs" || mkdir $as_dirs
89742   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89743 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89744    { (exit 1); exit 1; }; }; }
89745
89746   ac_builddir=.
89747
89748 if test "$ac_dir" != .; then
89749   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89750   # A "../" for each directory in $ac_dir_suffix.
89751   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89752 else
89753   ac_dir_suffix= ac_top_builddir=
89754 fi
89755
89756 case $srcdir in
89757   .)  # No --srcdir option.  We are building in place.
89758     ac_srcdir=.
89759     if test -z "$ac_top_builddir"; then
89760        ac_top_srcdir=.
89761     else
89762        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89763     fi ;;
89764   [\\/]* | ?:[\\/]* )  # Absolute path.
89765     ac_srcdir=$srcdir$ac_dir_suffix;
89766     ac_top_srcdir=$srcdir ;;
89767   *) # Relative path.
89768     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89769     ac_top_srcdir=$ac_top_builddir$srcdir ;;
89770 esac
89771
89772 # Do not use `cd foo && pwd` to compute absolute paths, because
89773 # the directories may not exist.
89774 case `pwd` in
89775 .) ac_abs_builddir="$ac_dir";;
89776 *)
89777   case "$ac_dir" in
89778   .) ac_abs_builddir=`pwd`;;
89779   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89780   *) ac_abs_builddir=`pwd`/"$ac_dir";;
89781   esac;;
89782 esac
89783 case $ac_abs_builddir in
89784 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89785 *)
89786   case ${ac_top_builddir}. in
89787   .) ac_abs_top_builddir=$ac_abs_builddir;;
89788   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89789   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89790   esac;;
89791 esac
89792 case $ac_abs_builddir in
89793 .) ac_abs_srcdir=$ac_srcdir;;
89794 *)
89795   case $ac_srcdir in
89796   .) ac_abs_srcdir=$ac_abs_builddir;;
89797   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89798   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89799   esac;;
89800 esac
89801 case $ac_abs_builddir in
89802 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89803 *)
89804   case $ac_top_srcdir in
89805   .) ac_abs_top_srcdir=$ac_abs_builddir;;
89806   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89807   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89808   esac;;
89809 esac
89810
89811
89812   case $INSTALL in
89813   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
89814   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
89815   esac
89816
89817   if test x"$ac_file" != x-; then
89818     { echo "$as_me:$LINENO: creating $ac_file" >&5
89819 echo "$as_me: creating $ac_file" >&6;}
89820     rm -f "$ac_file"
89821   fi
89822   # Let's still pretend it is `configure' which instantiates (i.e., don't
89823   # use $as_me), people would be surprised to read:
89824   #    /* config.h.  Generated by config.status.  */
89825   if test x"$ac_file" = x-; then
89826     configure_input=
89827   else
89828     configure_input="$ac_file.  "
89829   fi
89830   configure_input=$configure_input"Generated from `echo $ac_file_in |
89831                                      sed 's,.*/,,'` by configure."
89832
89833   # First look for the input files in the build tree, otherwise in the
89834   # src tree.
89835   ac_file_inputs=`IFS=:
89836     for f in $ac_file_in; do
89837       case $f in
89838       -) echo $tmp/stdin ;;
89839       [\\/$]*)
89840          # Absolute (can't be DOS-style, as IFS=:)
89841          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89842 echo "$as_me: error: cannot find input file: $f" >&2;}
89843    { (exit 1); exit 1; }; }
89844          echo "$f";;
89845       *) # Relative
89846          if test -f "$f"; then
89847            # Build tree
89848            echo "$f"
89849          elif test -f "$srcdir/$f"; then
89850            # Source tree
89851            echo "$srcdir/$f"
89852          else
89853            # /dev/null tree
89854            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89855 echo "$as_me: error: cannot find input file: $f" >&2;}
89856    { (exit 1); exit 1; }; }
89857          fi;;
89858       esac
89859     done` || { (exit 1); exit 1; }
89860 _ACEOF
89861 cat >>$CONFIG_STATUS <<_ACEOF
89862   sed "$ac_vpsub
89863 $extrasub
89864 _ACEOF
89865 cat >>$CONFIG_STATUS <<\_ACEOF
89866 :t
89867 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
89868 s,@configure_input@,$configure_input,;t t
89869 s,@srcdir@,$ac_srcdir,;t t
89870 s,@abs_srcdir@,$ac_abs_srcdir,;t t
89871 s,@top_srcdir@,$ac_top_srcdir,;t t
89872 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
89873 s,@builddir@,$ac_builddir,;t t
89874 s,@abs_builddir@,$ac_abs_builddir,;t t
89875 s,@top_builddir@,$ac_top_builddir,;t t
89876 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
89877 s,@INSTALL@,$ac_INSTALL,;t t
89878 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
89879   rm -f $tmp/stdin
89880   if test x"$ac_file" != x-; then
89881     mv $tmp/out $ac_file
89882   else
89883     cat $tmp/out
89884     rm -f $tmp/out
89885   fi
89886
89887   # Run the commands associated with the file.
89888   case $ac_file in
89889     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
89890   esac
89891 done
89892 _ACEOF
89893 cat >>$CONFIG_STATUS <<\_ACEOF
89894
89895 #
89896 # CONFIG_HEADER section.
89897 #
89898
89899 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
89900 # NAME is the cpp macro being defined and VALUE is the value it is being given.
89901 #
89902 # ac_d sets the value in "#define NAME VALUE" lines.
89903 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
89904 ac_dB='[         ].*$,\1#\2'
89905 ac_dC=' '
89906 ac_dD=',;t'
89907 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
89908 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
89909 ac_uB='$,\1#\2define\3'
89910 ac_uC=' '
89911 ac_uD=',;t'
89912
89913 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
89914   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89915   case $ac_file in
89916   - | *:- | *:-:* ) # input from stdin
89917         cat >$tmp/stdin
89918         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89919         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89920   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89921         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89922   * )   ac_file_in=$ac_file.in ;;
89923   esac
89924
89925   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
89926 echo "$as_me: creating $ac_file" >&6;}
89927
89928   # First look for the input files in the build tree, otherwise in the
89929   # src tree.
89930   ac_file_inputs=`IFS=:
89931     for f in $ac_file_in; do
89932       case $f in
89933       -) echo $tmp/stdin ;;
89934       [\\/$]*)
89935          # Absolute (can't be DOS-style, as IFS=:)
89936          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89937 echo "$as_me: error: cannot find input file: $f" >&2;}
89938    { (exit 1); exit 1; }; }
89939          # Do quote $f, to prevent DOS paths from being IFS'd.
89940          echo "$f";;
89941       *) # Relative
89942          if test -f "$f"; then
89943            # Build tree
89944            echo "$f"
89945          elif test -f "$srcdir/$f"; then
89946            # Source tree
89947            echo "$srcdir/$f"
89948          else
89949            # /dev/null tree
89950            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89951 echo "$as_me: error: cannot find input file: $f" >&2;}
89952    { (exit 1); exit 1; }; }
89953          fi;;
89954       esac
89955     done` || { (exit 1); exit 1; }
89956   # Remove the trailing spaces.
89957   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
89958
89959 _ACEOF
89960
89961 # Transform confdefs.h into two sed scripts, `conftest.defines' and
89962 # `conftest.undefs', that substitutes the proper values into
89963 # config.h.in to produce config.h.  The first handles `#define'
89964 # templates, and the second `#undef' templates.
89965 # And first: Protect against being on the right side of a sed subst in
89966 # config.status.  Protect against being in an unquoted here document
89967 # in config.status.
89968 rm -f conftest.defines conftest.undefs
89969 # Using a here document instead of a string reduces the quoting nightmare.
89970 # Putting comments in sed scripts is not portable.
89971 #
89972 # `end' is used to avoid that the second main sed command (meant for
89973 # 0-ary CPP macros) applies to n-ary macro definitions.
89974 # See the Autoconf documentation for `clear'.
89975 cat >confdef2sed.sed <<\_ACEOF
89976 s/[\\&,]/\\&/g
89977 s,[\\$`],\\&,g
89978 t clear
89979 : clear
89980 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
89981 t end
89982 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
89983 : end
89984 _ACEOF
89985 # If some macros were called several times there might be several times
89986 # the same #defines, which is useless.  Nevertheless, we may not want to
89987 # sort them, since we want the *last* AC-DEFINE to be honored.
89988 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
89989 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
89990 rm -f confdef2sed.sed
89991
89992 # This sed command replaces #undef with comments.  This is necessary, for
89993 # example, in the case of _POSIX_SOURCE, which is predefined and required
89994 # on some systems where configure will not decide to define it.
89995 cat >>conftest.undefs <<\_ACEOF
89996 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
89997 _ACEOF
89998
89999 # Break up conftest.defines because some shells have a limit on the size
90000 # of here documents, and old seds have small limits too (100 cmds).
90001 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
90002 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
90003 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
90004 echo '  :' >>$CONFIG_STATUS
90005 rm -f conftest.tail
90006 while grep . conftest.defines >/dev/null
90007 do
90008   # Write a limited-size here document to $tmp/defines.sed.
90009   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
90010   # Speed up: don't consider the non `#define' lines.
90011   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
90012   # Work around the forget-to-reset-the-flag bug.
90013   echo 't clr' >>$CONFIG_STATUS
90014   echo ': clr' >>$CONFIG_STATUS
90015   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
90016   echo 'CEOF
90017   sed -f $tmp/defines.sed $tmp/in >$tmp/out
90018   rm -f $tmp/in
90019   mv $tmp/out $tmp/in
90020 ' >>$CONFIG_STATUS
90021   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
90022   rm -f conftest.defines
90023   mv conftest.tail conftest.defines
90024 done
90025 rm -f conftest.defines
90026 echo '  fi # grep' >>$CONFIG_STATUS
90027 echo >>$CONFIG_STATUS
90028
90029 # Break up conftest.undefs because some shells have a limit on the size
90030 # of here documents, and old seds have small limits too (100 cmds).
90031 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
90032 rm -f conftest.tail
90033 while grep . conftest.undefs >/dev/null
90034 do
90035   # Write a limited-size here document to $tmp/undefs.sed.
90036   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
90037   # Speed up: don't consider the non `#undef'
90038   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
90039   # Work around the forget-to-reset-the-flag bug.
90040   echo 't clr' >>$CONFIG_STATUS
90041   echo ': clr' >>$CONFIG_STATUS
90042   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
90043   echo 'CEOF
90044   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
90045   rm -f $tmp/in
90046   mv $tmp/out $tmp/in
90047 ' >>$CONFIG_STATUS
90048   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
90049   rm -f conftest.undefs
90050   mv conftest.tail conftest.undefs
90051 done
90052 rm -f conftest.undefs
90053
90054 cat >>$CONFIG_STATUS <<\_ACEOF
90055   # Let's still pretend it is `configure' which instantiates (i.e., don't
90056   # use $as_me), people would be surprised to read:
90057   #    /* config.h.  Generated by config.status.  */
90058   if test x"$ac_file" = x-; then
90059     echo "/* Generated by configure.  */" >$tmp/config.h
90060   else
90061     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
90062   fi
90063   cat $tmp/in >>$tmp/config.h
90064   rm -f $tmp/in
90065   if test x"$ac_file" != x-; then
90066     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
90067       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
90068 echo "$as_me: $ac_file is unchanged" >&6;}
90069     else
90070       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
90071 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90072          X"$ac_file" : 'X\(//\)[^/]' \| \
90073          X"$ac_file" : 'X\(//\)$' \| \
90074          X"$ac_file" : 'X\(/\)' \| \
90075          .     : '\(.\)' 2>/dev/null ||
90076 echo X"$ac_file" |
90077     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90078           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90079           /^X\(\/\/\)$/{ s//\1/; q; }
90080           /^X\(\/\).*/{ s//\1/; q; }
90081           s/.*/./; q'`
90082       { if $as_mkdir_p; then
90083     mkdir -p "$ac_dir"
90084   else
90085     as_dir="$ac_dir"
90086     as_dirs=
90087     while test ! -d "$as_dir"; do
90088       as_dirs="$as_dir $as_dirs"
90089       as_dir=`(dirname "$as_dir") 2>/dev/null ||
90090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90091          X"$as_dir" : 'X\(//\)[^/]' \| \
90092          X"$as_dir" : 'X\(//\)$' \| \
90093          X"$as_dir" : 'X\(/\)' \| \
90094          .     : '\(.\)' 2>/dev/null ||
90095 echo X"$as_dir" |
90096     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90097           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90098           /^X\(\/\/\)$/{ s//\1/; q; }
90099           /^X\(\/\).*/{ s//\1/; q; }
90100           s/.*/./; q'`
90101     done
90102     test ! -n "$as_dirs" || mkdir $as_dirs
90103   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90105    { (exit 1); exit 1; }; }; }
90106
90107       rm -f $ac_file
90108       mv $tmp/config.h $ac_file
90109     fi
90110   else
90111     cat $tmp/config.h
90112     rm -f $tmp/config.h
90113   fi
90114 # Compute $ac_file's index in $config_headers.
90115 _am_stamp_count=1
90116 for _am_header in $config_headers :; do
90117   case $_am_header in
90118     $ac_file | $ac_file:* )
90119       break ;;
90120     * )
90121       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
90122   esac
90123 done
90124 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
90125 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90126          X$ac_file : 'X\(//\)[^/]' \| \
90127          X$ac_file : 'X\(//\)$' \| \
90128          X$ac_file : 'X\(/\)' \| \
90129          .     : '\(.\)' 2>/dev/null ||
90130 echo X$ac_file |
90131     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90132           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90133           /^X\(\/\/\)$/{ s//\1/; q; }
90134           /^X\(\/\).*/{ s//\1/; q; }
90135           s/.*/./; q'`/stamp-h$_am_stamp_count
90136 done
90137 _ACEOF
90138 cat >>$CONFIG_STATUS <<\_ACEOF
90139
90140 #
90141 # CONFIG_COMMANDS section.
90142 #
90143 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
90144   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
90145   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
90146   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
90147 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90148          X"$ac_dest" : 'X\(//\)[^/]' \| \
90149          X"$ac_dest" : 'X\(//\)$' \| \
90150          X"$ac_dest" : 'X\(/\)' \| \
90151          .     : '\(.\)' 2>/dev/null ||
90152 echo X"$ac_dest" |
90153     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90154           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90155           /^X\(\/\/\)$/{ s//\1/; q; }
90156           /^X\(\/\).*/{ s//\1/; q; }
90157           s/.*/./; q'`
90158   { if $as_mkdir_p; then
90159     mkdir -p "$ac_dir"
90160   else
90161     as_dir="$ac_dir"
90162     as_dirs=
90163     while test ! -d "$as_dir"; do
90164       as_dirs="$as_dir $as_dirs"
90165       as_dir=`(dirname "$as_dir") 2>/dev/null ||
90166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90167          X"$as_dir" : 'X\(//\)[^/]' \| \
90168          X"$as_dir" : 'X\(//\)$' \| \
90169          X"$as_dir" : 'X\(/\)' \| \
90170          .     : '\(.\)' 2>/dev/null ||
90171 echo X"$as_dir" |
90172     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90173           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90174           /^X\(\/\/\)$/{ s//\1/; q; }
90175           /^X\(\/\).*/{ s//\1/; q; }
90176           s/.*/./; q'`
90177     done
90178     test ! -n "$as_dirs" || mkdir $as_dirs
90179   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90180 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90181    { (exit 1); exit 1; }; }; }
90182
90183   ac_builddir=.
90184
90185 if test "$ac_dir" != .; then
90186   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90187   # A "../" for each directory in $ac_dir_suffix.
90188   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90189 else
90190   ac_dir_suffix= ac_top_builddir=
90191 fi
90192
90193 case $srcdir in
90194   .)  # No --srcdir option.  We are building in place.
90195     ac_srcdir=.
90196     if test -z "$ac_top_builddir"; then
90197        ac_top_srcdir=.
90198     else
90199        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90200     fi ;;
90201   [\\/]* | ?:[\\/]* )  # Absolute path.
90202     ac_srcdir=$srcdir$ac_dir_suffix;
90203     ac_top_srcdir=$srcdir ;;
90204   *) # Relative path.
90205     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90206     ac_top_srcdir=$ac_top_builddir$srcdir ;;
90207 esac
90208
90209 # Do not use `cd foo && pwd` to compute absolute paths, because
90210 # the directories may not exist.
90211 case `pwd` in
90212 .) ac_abs_builddir="$ac_dir";;
90213 *)
90214   case "$ac_dir" in
90215   .) ac_abs_builddir=`pwd`;;
90216   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90217   *) ac_abs_builddir=`pwd`/"$ac_dir";;
90218   esac;;
90219 esac
90220 case $ac_abs_builddir in
90221 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90222 *)
90223   case ${ac_top_builddir}. in
90224   .) ac_abs_top_builddir=$ac_abs_builddir;;
90225   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90226   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90227   esac;;
90228 esac
90229 case $ac_abs_builddir in
90230 .) ac_abs_srcdir=$ac_srcdir;;
90231 *)
90232   case $ac_srcdir in
90233   .) ac_abs_srcdir=$ac_abs_builddir;;
90234   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90235   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90236   esac;;
90237 esac
90238 case $ac_abs_builddir in
90239 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90240 *)
90241   case $ac_top_srcdir in
90242   .) ac_abs_top_srcdir=$ac_abs_builddir;;
90243   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90244   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90245   esac;;
90246 esac
90247
90248
90249   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
90250 echo "$as_me: executing $ac_dest commands" >&6;}
90251   case $ac_dest in
90252     default-1 )
90253 # Only add multilib support code if we just rebuilt the top-level
90254 # Makefile.
90255 case " $CONFIG_FILES " in
90256  *" Makefile "*)
90257    ac_file=Makefile . ${multi_basedir}/config-ml.in
90258    ;;
90259 esac ;;
90260     default ) if test -n "$CONFIG_FILES"; then
90261    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
90262    # that multilib installs will end up installed in the correct place.
90263    # The testsuite needs it for multilib-aware ABI baseline files.
90264    # To work around this not being passed down from config-ml.in ->
90265    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
90266    # append it here.  Only modify Makefiles that have just been created.
90267    #
90268    # Also, get rid of this simulated-VPATH thing that automake does.
90269    cat > vpsed << \_EOF
90270 s!`test -f '$<' || echo '$(srcdir)/'`!!
90271 _EOF
90272    for i in $SUBDIRS; do
90273     case $CONFIG_FILES in
90274      *${i}/Makefile*)
90275        #echo "Adding MULTISUBDIR to $i/Makefile"
90276        sed -f vpsed $i/Makefile > tmp
90277        grep '^MULTISUBDIR =' Makefile >> tmp
90278        mv tmp $i/Makefile
90279        ;;
90280     esac
90281    done
90282    rm vpsed
90283  fi
90284  (cd include && ${MAKE-make})
90285  ;;
90286   esac
90287 done
90288 _ACEOF
90289
90290 cat >>$CONFIG_STATUS <<\_ACEOF
90291
90292 { (exit 0); exit 0; }
90293 _ACEOF
90294 chmod +x $CONFIG_STATUS
90295 ac_clean_files=$ac_clean_files_save
90296
90297
90298 # configure is writing to config.log, and then calls config.status.
90299 # config.status does its own redirection, appending to config.log.
90300 # Unfortunately, on DOS this fails, as config.log is still kept open
90301 # by configure, so config.status won't be able to write to it; its
90302 # output is simply discarded.  So we exec the FD to /dev/null,
90303 # effectively closing config.log, so it can be properly (re)opened and
90304 # appended to by config.status.  When coming back to configure, we
90305 # need to make the FD available again.
90306 if test "$no_create" != yes; then
90307   ac_cs_success=:
90308   ac_config_status_args=
90309   test "$silent" = yes &&
90310     ac_config_status_args="$ac_config_status_args --quiet"
90311   exec 5>/dev/null
90312   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
90313   exec 5>>config.log
90314   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
90315   # would make configure fail if this is the last instruction.
90316   $ac_cs_success || { (exit 1); exit 1; }
90317 fi
90318