OSDN Git Service

2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13 
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6 #
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9
10 # Defaults:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_help="$ac_help
15   --with-target-subdir=SUBDIR
16                            configuring in a subdirectory"
17 ac_help="$ac_help
18   --with-cross-host=HOST  configuring with a cross compiler"
19 ac_help="$ac_help
20   --enable-multilib       build hella library versions (default)"
21 ac_help="$ac_help
22   --enable-maintainer-mode enable make rules and dependencies not useful
23                           (and sometimes confusing) to the casual installer"
24 ac_help="$ac_help
25   --enable-shared[=PKGS]  build shared libraries [default=yes]"
26 ac_help="$ac_help
27   --enable-static[=PKGS]  build static libraries [default=yes]"
28 ac_help="$ac_help
29   --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
30 ac_help="$ac_help
31   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
32 ac_help="$ac_help
33   --disable-libtool-lock  avoid locking (might break parallel builds)"
34 ac_help="$ac_help
35   --with-pic              try to use only PIC/non-PIC objects [default=use both]"
36 ac_help="$ac_help
37   --enable-debug          extra debugging, turn off optimization [default=no]"
38 ac_help="$ac_help
39   --enable-cstdio        enable stdio for target io package. (default)
40      --enable-cstdio=LIB    use LIB target-speific io package."
41 ac_help="$ac_help
42   --enable-c-mbchar       enable multibyte (wide) characters [default=yes]"
43 ac_help="$ac_help
44   --enable-long-long      turns on 'long long' [default=yes]"
45 ac_help="$ac_help
46   --enable-cshadow-headers construct "shadowed" C header files for
47                            g++ [default=no]"
48 ac_help="$ac_help
49   --enable-threads        enable thread usage for target GCC.
50      --enable-threads=LIB    use LIB thread package for target GCC."
51 ac_help="$ac_help
52   --enable-cxx-flags=FLAGS      pass compiler FLAGS when building library;
53                                 [default=none]"
54 ac_help="$ac_help
55  --with-gxx-include-dir  the installation directory for include files"
56 ac_help="$ac_help
57   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory "
58
59 # Initialize some variables set by options.
60 # The variables have the same names as the options, with
61 # dashes changed to underlines.
62 build=NONE
63 cache_file=./config.cache
64 exec_prefix=NONE
65 host=NONE
66 no_create=
67 nonopt=NONE
68 no_recursion=
69 prefix=NONE
70 program_prefix=NONE
71 program_suffix=NONE
72 program_transform_name=s,x,x,
73 silent=
74 site=
75 sitefile=
76 srcdir=
77 target=NONE
78 verbose=
79 x_includes=NONE
80 x_libraries=NONE
81 bindir='${exec_prefix}/bin'
82 sbindir='${exec_prefix}/sbin'
83 libexecdir='${exec_prefix}/libexec'
84 datadir='${prefix}/share'
85 sysconfdir='${prefix}/etc'
86 sharedstatedir='${prefix}/com'
87 localstatedir='${prefix}/var'
88 libdir='${exec_prefix}/lib'
89 includedir='${prefix}/include'
90 oldincludedir='/usr/include'
91 infodir='${prefix}/info'
92 mandir='${prefix}/man'
93
94 # Initialize some other variables.
95 subdirs=
96 MFLAGS= MAKEFLAGS=
97 SHELL=${CONFIG_SHELL-/bin/sh}
98 # Maximum number of lines to put in a shell here document.
99 ac_max_here_lines=12
100
101 ac_prev=
102 for ac_option
103 do
104
105   # If the previous option needs an argument, assign it.
106   if test -n "$ac_prev"; then
107     eval "$ac_prev=\$ac_option"
108     ac_prev=
109     continue
110   fi
111
112   case "$ac_option" in
113   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
114   *) ac_optarg= ;;
115   esac
116
117   # Accept the important Cygnus configure options, so we can diagnose typos.
118
119   case "$ac_option" in
120
121   -bindir | --bindir | --bindi | --bind | --bin | --bi)
122     ac_prev=bindir ;;
123   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
124     bindir="$ac_optarg" ;;
125
126   -build | --build | --buil | --bui | --bu)
127     ac_prev=build ;;
128   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
129     build="$ac_optarg" ;;
130
131   -cache-file | --cache-file | --cache-fil | --cache-fi \
132   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
133     ac_prev=cache_file ;;
134   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
135   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
136     cache_file="$ac_optarg" ;;
137
138   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
139     ac_prev=datadir ;;
140   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
141   | --da=*)
142     datadir="$ac_optarg" ;;
143
144   -disable-* | --disable-*)
145     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
146     # Reject names that are not valid shell variable names.
147     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
148       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
149     fi
150     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
151     eval "enable_${ac_feature}=no" ;;
152
153   -enable-* | --enable-*)
154     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
155     # Reject names that are not valid shell variable names.
156     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
157       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
158     fi
159     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
160     case "$ac_option" in
161       *=*) ;;
162       *) ac_optarg=yes ;;
163     esac
164     eval "enable_${ac_feature}='$ac_optarg'" ;;
165
166   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
167   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
168   | --exec | --exe | --ex)
169     ac_prev=exec_prefix ;;
170   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
171   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
172   | --exec=* | --exe=* | --ex=*)
173     exec_prefix="$ac_optarg" ;;
174
175   -gas | --gas | --ga | --g)
176     # Obsolete; use --with-gas.
177     with_gas=yes ;;
178
179   -help | --help | --hel | --he)
180     # Omit some internal or obsolete options to make the list less imposing.
181     # This message is too long to be a string in the A/UX 3.1 sh.
182     cat << EOF
183 Usage: configure [options] [host]
184 Options: [defaults in brackets after descriptions]
185 Configuration:
186   --cache-file=FILE       cache test results in FILE
187   --help                  print this message
188   --no-create             do not create output files
189   --quiet, --silent       do not print \`checking...' messages
190   --site-file=FILE        use FILE as the site file
191   --version               print the version of autoconf that created configure
192 Directory and file names:
193   --prefix=PREFIX         install architecture-independent files in PREFIX
194                           [$ac_default_prefix]
195   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
196                           [same as prefix]
197   --bindir=DIR            user executables in DIR [EPREFIX/bin]
198   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
199   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
200   --datadir=DIR           read-only architecture-independent data in DIR
201                           [PREFIX/share]
202   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
203   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
204                           [PREFIX/com]
205   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
206   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
207   --includedir=DIR        C header files in DIR [PREFIX/include]
208   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
209   --infodir=DIR           info documentation in DIR [PREFIX/info]
210   --mandir=DIR            man documentation in DIR [PREFIX/man]
211   --srcdir=DIR            find the sources in DIR [configure dir or ..]
212   --program-prefix=PREFIX prepend PREFIX to installed program names
213   --program-suffix=SUFFIX append SUFFIX to installed program names
214   --program-transform-name=PROGRAM
215                           run sed PROGRAM on installed program names
216 EOF
217     cat << EOF
218 Host type:
219   --build=BUILD           configure for building on BUILD [BUILD=HOST]
220   --host=HOST             configure for HOST [guessed]
221   --target=TARGET         configure for TARGET [TARGET=HOST]
222 Features and packages:
223   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
224   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
225   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
226   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
227   --x-includes=DIR        X include files are in DIR
228   --x-libraries=DIR       X library files are in DIR
229 EOF
230     if test -n "$ac_help"; then
231       echo "--enable and --with options recognized:$ac_help"
232     fi
233     exit 0 ;;
234
235   -host | --host | --hos | --ho)
236     ac_prev=host ;;
237   -host=* | --host=* | --hos=* | --ho=*)
238     host="$ac_optarg" ;;
239
240   -includedir | --includedir | --includedi | --included | --include \
241   | --includ | --inclu | --incl | --inc)
242     ac_prev=includedir ;;
243   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
244   | --includ=* | --inclu=* | --incl=* | --inc=*)
245     includedir="$ac_optarg" ;;
246
247   -infodir | --infodir | --infodi | --infod | --info | --inf)
248     ac_prev=infodir ;;
249   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
250     infodir="$ac_optarg" ;;
251
252   -libdir | --libdir | --libdi | --libd)
253     ac_prev=libdir ;;
254   -libdir=* | --libdir=* | --libdi=* | --libd=*)
255     libdir="$ac_optarg" ;;
256
257   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
258   | --libexe | --libex | --libe)
259     ac_prev=libexecdir ;;
260   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
261   | --libexe=* | --libex=* | --libe=*)
262     libexecdir="$ac_optarg" ;;
263
264   -localstatedir | --localstatedir | --localstatedi | --localstated \
265   | --localstate | --localstat | --localsta | --localst \
266   | --locals | --local | --loca | --loc | --lo)
267     ac_prev=localstatedir ;;
268   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
269   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
270   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
271     localstatedir="$ac_optarg" ;;
272
273   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
274     ac_prev=mandir ;;
275   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
276     mandir="$ac_optarg" ;;
277
278   -nfp | --nfp | --nf)
279     # Obsolete; use --without-fp.
280     with_fp=no ;;
281
282   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
283   | --no-cr | --no-c)
284     no_create=yes ;;
285
286   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
287   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
288     no_recursion=yes ;;
289
290   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
291   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
292   | --oldin | --oldi | --old | --ol | --o)
293     ac_prev=oldincludedir ;;
294   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
295   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
296   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
297     oldincludedir="$ac_optarg" ;;
298
299   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
300     ac_prev=prefix ;;
301   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
302     prefix="$ac_optarg" ;;
303
304   -program-prefix | --program-prefix | --program-prefi | --program-pref \
305   | --program-pre | --program-pr | --program-p)
306     ac_prev=program_prefix ;;
307   -program-prefix=* | --program-prefix=* | --program-prefi=* \
308   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
309     program_prefix="$ac_optarg" ;;
310
311   -program-suffix | --program-suffix | --program-suffi | --program-suff \
312   | --program-suf | --program-su | --program-s)
313     ac_prev=program_suffix ;;
314   -program-suffix=* | --program-suffix=* | --program-suffi=* \
315   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
316     program_suffix="$ac_optarg" ;;
317
318   -program-transform-name | --program-transform-name \
319   | --program-transform-nam | --program-transform-na \
320   | --program-transform-n | --program-transform- \
321   | --program-transform | --program-transfor \
322   | --program-transfo | --program-transf \
323   | --program-trans | --program-tran \
324   | --progr-tra | --program-tr | --program-t)
325     ac_prev=program_transform_name ;;
326   -program-transform-name=* | --program-transform-name=* \
327   | --program-transform-nam=* | --program-transform-na=* \
328   | --program-transform-n=* | --program-transform-=* \
329   | --program-transform=* | --program-transfor=* \
330   | --program-transfo=* | --program-transf=* \
331   | --program-trans=* | --program-tran=* \
332   | --progr-tra=* | --program-tr=* | --program-t=*)
333     program_transform_name="$ac_optarg" ;;
334
335   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
336   | -silent | --silent | --silen | --sile | --sil)
337     silent=yes ;;
338
339   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
340     ac_prev=sbindir ;;
341   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
342   | --sbi=* | --sb=*)
343     sbindir="$ac_optarg" ;;
344
345   -sharedstatedir | --sharedstatedir | --sharedstatedi \
346   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
347   | --sharedst | --shareds | --shared | --share | --shar \
348   | --sha | --sh)
349     ac_prev=sharedstatedir ;;
350   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
351   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
352   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
353   | --sha=* | --sh=*)
354     sharedstatedir="$ac_optarg" ;;
355
356   -site | --site | --sit)
357     ac_prev=site ;;
358   -site=* | --site=* | --sit=*)
359     site="$ac_optarg" ;;
360
361   -site-file | --site-file | --site-fil | --site-fi | --site-f)
362     ac_prev=sitefile ;;
363   -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
364     sitefile="$ac_optarg" ;;
365
366   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
367     ac_prev=srcdir ;;
368   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
369     srcdir="$ac_optarg" ;;
370
371   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
372   | --syscon | --sysco | --sysc | --sys | --sy)
373     ac_prev=sysconfdir ;;
374   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
375   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
376     sysconfdir="$ac_optarg" ;;
377
378   -target | --target | --targe | --targ | --tar | --ta | --t)
379     ac_prev=target ;;
380   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
381     target="$ac_optarg" ;;
382
383   -v | -verbose | --verbose | --verbos | --verbo | --verb)
384     verbose=yes ;;
385
386   -version | --version | --versio | --versi | --vers)
387     echo "configure generated by autoconf version 2.13"
388     exit 0 ;;
389
390   -with-* | --with-*)
391     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
392     # Reject names that are not valid shell variable names.
393     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
394       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
395     fi
396     ac_package=`echo $ac_package| sed 's/-/_/g'`
397     case "$ac_option" in
398       *=*) ;;
399       *) ac_optarg=yes ;;
400     esac
401     eval "with_${ac_package}='$ac_optarg'" ;;
402
403   -without-* | --without-*)
404     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
405     # Reject names that are not valid shell variable names.
406     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
407       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
408     fi
409     ac_package=`echo $ac_package| sed 's/-/_/g'`
410     eval "with_${ac_package}=no" ;;
411
412   --x)
413     # Obsolete; use --with-x.
414     with_x=yes ;;
415
416   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
417   | --x-incl | --x-inc | --x-in | --x-i)
418     ac_prev=x_includes ;;
419   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
420   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
421     x_includes="$ac_optarg" ;;
422
423   -x-libraries | --x-libraries | --x-librarie | --x-librari \
424   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
425     ac_prev=x_libraries ;;
426   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
427   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
428     x_libraries="$ac_optarg" ;;
429
430   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
431     ;;
432
433   *)
434     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
435       echo "configure: warning: $ac_option: invalid host type" 1>&2
436     fi
437     if test "x$nonopt" != xNONE; then
438       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
439     fi
440     nonopt="$ac_option"
441     ;;
442
443   esac
444 done
445
446 if test -n "$ac_prev"; then
447   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
448 fi
449
450 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
451
452 # File descriptor usage:
453 # 0 standard input
454 # 1 file creation
455 # 2 errors and warnings
456 # 3 some systems may open it to /dev/tty
457 # 4 used on the Kubota Titan
458 # 6 checking for... messages and results
459 # 5 compiler messages saved in config.log
460 if test "$silent" = yes; then
461   exec 6>/dev/null
462 else
463   exec 6>&1
464 fi
465 exec 5>./config.log
466
467 echo "\
468 This file contains any messages produced by compilers while
469 running configure, to aid debugging if configure makes a mistake.
470 " 1>&5
471
472 # Strip out --no-create and --no-recursion so they do not pile up.
473 # Also quote any args containing shell metacharacters.
474 ac_configure_args=
475 for ac_arg
476 do
477   case "$ac_arg" in
478   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
479   | --no-cr | --no-c) ;;
480   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
481   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
482   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
483   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
484   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
485   esac
486 done
487
488 # NLS nuisances.
489 # Only set these to C if already set.  These must not be set unconditionally
490 # because not all systems understand e.g. LANG=C (notably SCO).
491 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
492 # Non-C LC_CTYPE values break the ctype check.
493 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
494 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
495 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
496 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
497
498 # confdefs.h avoids OS command line length limits that DEFS can exceed.
499 rm -rf conftest* confdefs.h
500 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
501 echo > confdefs.h
502
503 # A filename unique to this package, relative to the directory that
504 # configure is in, which we can look for to find out if srcdir is correct.
505 ac_unique_file=src/complex.cc
506
507 # Find the source files, if location was not specified.
508 if test -z "$srcdir"; then
509   ac_srcdir_defaulted=yes
510   # Try the directory containing this script, then its parent.
511   ac_prog=$0
512   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
513   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
514   srcdir=$ac_confdir
515   if test ! -r $srcdir/$ac_unique_file; then
516     srcdir=..
517   fi
518 else
519   ac_srcdir_defaulted=no
520 fi
521 if test ! -r $srcdir/$ac_unique_file; then
522   if test "$ac_srcdir_defaulted" = yes; then
523     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
524   else
525     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
526   fi
527 fi
528 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
529
530 # Prefer explicitly selected file to automatically selected ones.
531 if test -z "$sitefile"; then
532   if test -z "$CONFIG_SITE"; then
533     if test "x$prefix" != xNONE; then
534       CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
535     else
536       CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
537     fi
538   fi
539 else
540   CONFIG_SITE="$sitefile"
541 fi
542 for ac_site_file in $CONFIG_SITE; do
543   if test -r "$ac_site_file"; then
544     echo "loading site script $ac_site_file"
545     . "$ac_site_file"
546   fi
547 done
548
549 if test -r "$cache_file"; then
550   echo "loading cache $cache_file"
551   . $cache_file
552 else
553   echo "creating cache $cache_file"
554   > $cache_file
555 fi
556
557 ac_ext=c
558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
559 ac_cpp='$CPP $CPPFLAGS'
560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
562 cross_compiling=$ac_cv_prog_cc_cross
563
564 ac_exeext=
565 ac_objext=o
566 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
567   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
568   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
569     ac_n= ac_c='
570 ' ac_t='        '
571   else
572     ac_n=-n ac_c= ac_t=
573   fi
574 else
575   ac_n= ac_c='\c' ac_t=
576 fi
577
578
579 ac_aux_dir=
580 for ac_dir in .. $srcdir/..; do
581   if test -f $ac_dir/install-sh; then
582     ac_aux_dir=$ac_dir
583     ac_install_sh="$ac_aux_dir/install-sh -c"
584     break
585   elif test -f $ac_dir/install.sh; then
586     ac_aux_dir=$ac_dir
587     ac_install_sh="$ac_aux_dir/install.sh -c"
588     break
589   fi
590 done
591 if test -z "$ac_aux_dir"; then
592   { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
593 fi
594 ac_config_guess=$ac_aux_dir/config.guess
595 ac_config_sub=$ac_aux_dir/config.sub
596 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
597
598
599 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
600
601 # Do some error checking and defaulting for the host and target type.
602 # The inputs are:
603 #    configure --host=HOST --target=TARGET --build=BUILD NONOPT
604 #
605 # The rules are:
606 # 1. You are not allowed to specify --host, --target, and nonopt at the
607 #    same time.
608 # 2. Host defaults to nonopt.
609 # 3. If nonopt is not specified, then host defaults to the current host,
610 #    as determined by config.guess.
611 # 4. Target and build default to nonopt.
612 # 5. If nonopt is not specified, then target and build default to host.
613
614 # The aliases save the names the user supplied, while $host etc.
615 # will get canonicalized.
616 case $host---$target---$nonopt in
617 NONE---*---* | *---NONE---* | *---*---NONE) ;;
618 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
619 esac
620
621
622 # Make sure we can run config.sub.
623 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
624 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
625 fi
626
627 echo $ac_n "checking host system type""... $ac_c" 1>&6
628 echo "configure:629: checking host system type" >&5
629
630 host_alias=$host
631 case "$host_alias" in
632 NONE)
633   case $nonopt in
634   NONE)
635     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
636     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
637     fi ;;
638   *) host_alias=$nonopt ;;
639   esac ;;
640 esac
641
642 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
643 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
644 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
645 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
646 echo "$ac_t""$host" 1>&6
647
648 echo $ac_n "checking target system type""... $ac_c" 1>&6
649 echo "configure:650: checking target system type" >&5
650
651 target_alias=$target
652 case "$target_alias" in
653 NONE)
654   case $nonopt in
655   NONE) target_alias=$host_alias ;;
656   *) target_alias=$nonopt ;;
657   esac ;;
658 esac
659
660 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
661 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
662 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
663 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
664 echo "$ac_t""$target" 1>&6
665
666 echo $ac_n "checking build system type""... $ac_c" 1>&6
667 echo "configure:668: checking build system type" >&5
668
669 build_alias=$build
670 case "$build_alias" in
671 NONE)
672   case $nonopt in
673   NONE) build_alias=$host_alias ;;
674   *) build_alias=$nonopt ;;
675   esac ;;
676 esac
677
678 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
679 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
680 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
681 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
682 echo "$ac_t""$build" 1>&6
683
684 test "$host_alias" != "$target_alias" &&
685   test "$program_prefix$program_suffix$program_transform_name" = \
686     NONENONEs,x,x, &&
687   program_prefix=${target_alias}-
688
689
690 # We use these options to decide which functions to include.
691 # Check whether --with-target-subdir or --without-target-subdir was given.
692 if test "${with_target_subdir+set}" = set; then
693   withval="$with_target_subdir"
694   :
695 fi
696
697 # Check whether --with-cross-host or --without-cross-host was given.
698 if test "${with_cross_host+set}" = set; then
699   withval="$with_cross_host"
700   :
701 fi
702
703
704 # Find a good install program.  We prefer a C program (faster),
705 # so one script is as good as another.  But avoid the broken or
706 # incompatible versions:
707 # SysV /etc/install, /usr/sbin/install
708 # SunOS /usr/etc/install
709 # IRIX /sbin/install
710 # AIX /bin/install
711 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
712 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
713 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
714 # ./install, which can be erroneously created by make from ./install.sh.
715 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
716 echo "configure:717: checking for a BSD compatible install" >&5
717 if test -z "$INSTALL"; then
718 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
719   echo $ac_n "(cached) $ac_c" 1>&6
720 else
721     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
722   for ac_dir in $PATH; do
723     # Account for people who put trailing slashes in PATH elements.
724     case "$ac_dir/" in
725     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
726     *)
727       # OSF1 and SCO ODT 3.0 have their own names for install.
728       # Don't use installbsd from OSF since it installs stuff as root
729       # by default.
730       for ac_prog in ginstall scoinst install; do
731         if test -f $ac_dir/$ac_prog; then
732           if test $ac_prog = install &&
733             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
734             # AIX install.  It has an incompatible calling convention.
735             :
736           else
737             ac_cv_path_install="$ac_dir/$ac_prog -c"
738             break 2
739           fi
740         fi
741       done
742       ;;
743     esac
744   done
745   IFS="$ac_save_IFS"
746
747 fi
748   if test "${ac_cv_path_install+set}" = set; then
749     INSTALL="$ac_cv_path_install"
750   else
751     # As a last resort, use the slow shell script.  We don't cache a
752     # path for INSTALL within a source directory, because that will
753     # break other packages using the cache if that directory is
754     # removed, or if the path is relative.
755     INSTALL="$ac_install_sh"
756   fi
757 fi
758 echo "$ac_t""$INSTALL" 1>&6
759
760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
761 # It thinks the first close brace ends the variable substitution.
762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
763
764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
765
766 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
767
768 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
769 echo "configure:770: checking whether build environment is sane" >&5
770 # Just in case
771 sleep 1
772 echo timestamp > conftestfile
773 # Do `set' in a subshell so we don't clobber the current shell's
774 # arguments.  Must try -L first in case configure is actually a
775 # symlink; some systems play weird games with the mod time of symlinks
776 # (eg FreeBSD returns the mod time of the symlink's containing
777 # directory).
778 if (
779    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
780    if test "$*" = "X"; then
781       # -L didn't work.
782       set X `ls -t $srcdir/configure conftestfile`
783    fi
784    if test "$*" != "X $srcdir/configure conftestfile" \
785       && test "$*" != "X conftestfile $srcdir/configure"; then
786
787       # If neither matched, then we have a broken ls.  This can happen
788       # if, for instance, CONFIG_SHELL is bash and it inherits a
789       # broken ls alias from the environment.  This has actually
790       # happened.  Such a system could not be considered "sane".
791       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
792 alias in your environment" 1>&2; exit 1; }
793    fi
794
795    test "$2" = conftestfile
796    )
797 then
798    # Ok.
799    :
800 else
801    { echo "configure: error: newly created file is older than distributed files!
802 Check your system clock" 1>&2; exit 1; }
803 fi
804 rm -f conftest*
805 echo "$ac_t""yes" 1>&6
806 if test "$program_transform_name" = s,x,x,; then
807   program_transform_name=
808 else
809   # Double any \ or $.  echo might interpret backslashes.
810   cat <<\EOF_SED > conftestsed
811 s,\\,\\\\,g; s,\$,$$,g
812 EOF_SED
813   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
814   rm -f conftestsed
815 fi
816 test "$program_prefix" != NONE &&
817   program_transform_name="s,^,${program_prefix},; $program_transform_name"
818 # Use a double $ so make ignores it.
819 test "$program_suffix" != NONE &&
820   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
821
822 # sed with no file args requires a program.
823 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
824
825 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
826 echo "configure:827: checking whether ${MAKE-make} sets \${MAKE}" >&5
827 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
828 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
829   echo $ac_n "(cached) $ac_c" 1>&6
830 else
831   cat > conftestmake <<\EOF
832 all:
833         @echo 'ac_maketemp="${MAKE}"'
834 EOF
835 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
836 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
837 if test -n "$ac_maketemp"; then
838   eval ac_cv_prog_make_${ac_make}_set=yes
839 else
840   eval ac_cv_prog_make_${ac_make}_set=no
841 fi
842 rm -f conftestmake
843 fi
844 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
845   echo "$ac_t""yes" 1>&6
846   SET_MAKE=
847 else
848   echo "$ac_t""no" 1>&6
849   SET_MAKE="MAKE=${MAKE-make}"
850 fi
851
852 if test $host != $build; then
853   ac_tool_prefix=${host_alias}-
854 else
855   ac_tool_prefix=
856 fi
857
858 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
859 echo "configure:860: checking for Cygwin environment" >&5
860 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
861   echo $ac_n "(cached) $ac_c" 1>&6
862 else
863   cat > conftest.$ac_ext <<EOF
864 #line 865 "configure"
865 #include "confdefs.h"
866
867 int main() {
868
869 #ifndef __CYGWIN__
870 #define __CYGWIN__ __CYGWIN32__
871 #endif
872 return __CYGWIN__;
873 ; return 0; }
874 EOF
875 if { (eval echo configure:876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
876   rm -rf conftest*
877   ac_cv_cygwin=yes
878 else
879   echo "configure: failed program was:" >&5
880   cat conftest.$ac_ext >&5
881   rm -rf conftest*
882   ac_cv_cygwin=no
883 fi
884 rm -f conftest*
885 rm -f conftest*
886 fi
887
888 echo "$ac_t""$ac_cv_cygwin" 1>&6
889 CYGWIN=
890 test "$ac_cv_cygwin" = yes && CYGWIN=yes
891 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
892 echo "configure:893: checking for mingw32 environment" >&5
893 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
894   echo $ac_n "(cached) $ac_c" 1>&6
895 else
896   cat > conftest.$ac_ext <<EOF
897 #line 898 "configure"
898 #include "confdefs.h"
899
900 int main() {
901 return __MINGW32__;
902 ; return 0; }
903 EOF
904 if { (eval echo configure:905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
905   rm -rf conftest*
906   ac_cv_mingw32=yes
907 else
908   echo "configure: failed program was:" >&5
909   cat conftest.$ac_ext >&5
910   rm -rf conftest*
911   ac_cv_mingw32=no
912 fi
913 rm -f conftest*
914 rm -f conftest*
915 fi
916
917 echo "$ac_t""$ac_cv_mingw32" 1>&6
918 MINGW32=
919 test "$ac_cv_mingw32" = yes && MINGW32=yes
920
921     # Check whether --enable-multilib or --disable-multilib was given.
922 if test "${enable_multilib+set}" = set; then
923   enableval="$enable_multilib"
924   case "${enableval}" in
925     yes) multilib=yes ;;
926     no)  multilib=no ;;
927     *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
928    esac
929 else
930   multilib=yes
931 fi
932
933       if test "${srcdir}" = "."; then
934     if test "${with_target_subdir}" != "."; then
935       glibcpp_basedir="${srcdir}/${with_multisrctop}../."
936     else
937       glibcpp_basedir="${srcdir}/${with_multisrctop}."
938     fi
939   else
940     glibcpp_basedir="${srcdir}/."
941   fi
942   
943
944   
945 PACKAGE=libstdc++
946
947 VERSION=2.90.8
948
949 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
950   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
951 fi
952 cat >> confdefs.h <<EOF
953 #define PACKAGE "$PACKAGE"
954 EOF
955
956 cat >> confdefs.h <<EOF
957 #define VERSION "$VERSION"
958 EOF
959
960
961
962 missing_dir=`cd $ac_aux_dir && pwd`
963 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
964 echo "configure:965: checking for working aclocal" >&5
965 # Run test in a subshell; some versions of sh will print an error if
966 # an executable is not found, even if stderr is redirected.
967 # Redirect stdin to placate older versions of autoconf.  Sigh.
968 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
969    ACLOCAL=aclocal
970    echo "$ac_t""found" 1>&6
971 else
972    ACLOCAL="$missing_dir/missing aclocal"
973    echo "$ac_t""missing" 1>&6
974 fi
975
976 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
977 echo "configure:978: checking for working autoconf" >&5
978 # Run test in a subshell; some versions of sh will print an error if
979 # an executable is not found, even if stderr is redirected.
980 # Redirect stdin to placate older versions of autoconf.  Sigh.
981 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
982    AUTOCONF=autoconf
983    echo "$ac_t""found" 1>&6
984 else
985    AUTOCONF="$missing_dir/missing autoconf"
986    echo "$ac_t""missing" 1>&6
987 fi
988
989 echo $ac_n "checking for working automake""... $ac_c" 1>&6
990 echo "configure:991: checking for working automake" >&5
991 # Run test in a subshell; some versions of sh will print an error if
992 # an executable is not found, even if stderr is redirected.
993 # Redirect stdin to placate older versions of autoconf.  Sigh.
994 if (automake --version) < /dev/null > /dev/null 2>&1; then
995    AUTOMAKE=automake
996    echo "$ac_t""found" 1>&6
997 else
998    AUTOMAKE="$missing_dir/missing automake"
999    echo "$ac_t""missing" 1>&6
1000 fi
1001
1002 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1003 echo "configure:1004: checking for working autoheader" >&5
1004 # Run test in a subshell; some versions of sh will print an error if
1005 # an executable is not found, even if stderr is redirected.
1006 # Redirect stdin to placate older versions of autoconf.  Sigh.
1007 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1008    AUTOHEADER=autoheader
1009    echo "$ac_t""found" 1>&6
1010 else
1011    AUTOHEADER="$missing_dir/missing autoheader"
1012    echo "$ac_t""missing" 1>&6
1013 fi
1014
1015 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1016 echo "configure:1017: checking for working makeinfo" >&5
1017 # Run test in a subshell; some versions of sh will print an error if
1018 # an executable is not found, even if stderr is redirected.
1019 # Redirect stdin to placate older versions of autoconf.  Sigh.
1020 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1021    MAKEINFO=makeinfo
1022    echo "$ac_t""found" 1>&6
1023 else
1024    MAKEINFO="$missing_dir/missing makeinfo"
1025    echo "$ac_t""missing" 1>&6
1026 fi
1027
1028
1029
1030   # Never versions of autoconf add an underscore to these functions.
1031   # Prevent future problems ...
1032   
1033   
1034   
1035   
1036
1037 #  AC_PROG_CC
1038
1039 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
1040 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
1041 # are probably using a cross compiler, which will not be able to fully
1042 # link an executable.  This should really be fixed in autoconf
1043 # itself.
1044
1045
1046
1047
1048 # Extract the first word of "gcc", so it can be a program name with args.
1049 set dummy gcc; ac_word=$2
1050 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1051 echo "configure:1052: checking for $ac_word" >&5
1052 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1053   echo $ac_n "(cached) $ac_c" 1>&6
1054 else
1055   if test -n "$CC"; then
1056   ac_cv_prog_CC="$CC" # Let the user override the test.
1057 else
1058   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1059   ac_dummy="$PATH"
1060   for ac_dir in $ac_dummy; do
1061     test -z "$ac_dir" && ac_dir=.
1062     if test -f $ac_dir/$ac_word; then
1063       ac_cv_prog_CC="gcc"
1064       break
1065     fi
1066   done
1067   IFS="$ac_save_ifs"
1068 fi
1069 fi
1070 CC="$ac_cv_prog_CC"
1071 if test -n "$CC"; then
1072   echo "$ac_t""$CC" 1>&6
1073 else
1074   echo "$ac_t""no" 1>&6
1075 fi
1076
1077 if test -z "$CC"; then
1078   # Extract the first word of "cc", so it can be a program name with args.
1079 set dummy cc; ac_word=$2
1080 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1081 echo "configure:1082: checking for $ac_word" >&5
1082 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1083   echo $ac_n "(cached) $ac_c" 1>&6
1084 else
1085   if test -n "$CC"; then
1086   ac_cv_prog_CC="$CC" # Let the user override the test.
1087 else
1088   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1089   ac_prog_rejected=no
1090   ac_dummy="$PATH"
1091   for ac_dir in $ac_dummy; do
1092     test -z "$ac_dir" && ac_dir=.
1093     if test -f $ac_dir/$ac_word; then
1094       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1095         ac_prog_rejected=yes
1096         continue
1097       fi
1098       ac_cv_prog_CC="cc"
1099       break
1100     fi
1101   done
1102   IFS="$ac_save_ifs"
1103 if test $ac_prog_rejected = yes; then
1104   # We found a bogon in the path, so make sure we never use it.
1105   set dummy $ac_cv_prog_CC
1106   shift
1107   if test $# -gt 0; then
1108     # We chose a different compiler from the bogus one.
1109     # However, it has the same basename, so the bogon will be chosen
1110     # first if we set CC to just the basename; use the full file name.
1111     shift
1112     set dummy "$ac_dir/$ac_word" "$@"
1113     shift
1114     ac_cv_prog_CC="$@"
1115   fi
1116 fi
1117 fi
1118 fi
1119 CC="$ac_cv_prog_CC"
1120 if test -n "$CC"; then
1121   echo "$ac_t""$CC" 1>&6
1122 else
1123   echo "$ac_t""no" 1>&6
1124 fi
1125
1126   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1127 fi
1128
1129 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1130 echo "configure:1131: checking whether we are using GNU C" >&5
1131 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1132   echo $ac_n "(cached) $ac_c" 1>&6
1133 else
1134   cat > conftest.c <<EOF
1135 #ifdef __GNUC__
1136   yes;
1137 #endif
1138 EOF
1139 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1140   ac_cv_prog_gcc=yes
1141 else
1142   ac_cv_prog_gcc=no
1143 fi
1144 fi
1145
1146 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1147
1148 if test $ac_cv_prog_gcc = yes; then
1149   GCC=yes
1150   ac_test_CFLAGS="${CFLAGS+set}"
1151   ac_save_CFLAGS="$CFLAGS"
1152   CFLAGS=
1153   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1154 echo "configure:1155: checking whether ${CC-cc} accepts -g" >&5
1155 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1156   echo $ac_n "(cached) $ac_c" 1>&6
1157 else
1158   echo 'void f(){}' > conftest.c
1159 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1160   ac_cv_prog_cc_g=yes
1161 else
1162   ac_cv_prog_cc_g=no
1163 fi
1164 rm -f conftest*
1165
1166 fi
1167
1168 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1169   if test "$ac_test_CFLAGS" = set; then
1170     CFLAGS="$ac_save_CFLAGS"
1171   elif test $ac_cv_prog_cc_g = yes; then
1172     CFLAGS="-g -O2"
1173   else
1174     CFLAGS="-O2"
1175   fi
1176 else
1177   GCC=
1178   test "${CFLAGS+set}" = set || CFLAGS="-g"
1179 fi
1180
1181
1182 # Can't just call these here as g++ requires libstc++ to be built....
1183 #  AC_PROG_CXX
1184
1185 # Likewise for AC_PROG_CXX.
1186
1187
1188
1189 # Use CXX_libstdcxx so that we do not cause CXX to be cached with the
1190 # flags that come in CXX while configuring libstdc++.  They're different
1191 # from those used for all other target libraries.  If CXX is set in
1192 # the environment, respect that here.
1193 CXX_libstdcxx=$CXX
1194 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1195 do
1196 # Extract the first word of "$ac_prog", so it can be a program name with args.
1197 set dummy $ac_prog; ac_word=$2
1198 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1199 echo "configure:1200: checking for $ac_word" >&5
1200 if eval "test \"`echo '$''{'ac_cv_prog_CXX_libstdcxx'+set}'`\" = set"; then
1201   echo $ac_n "(cached) $ac_c" 1>&6
1202 else
1203   if test -n "$CXX_libstdcxx"; then
1204   ac_cv_prog_CXX_libstdcxx="$CXX_libstdcxx" # Let the user override the test.
1205 else
1206   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1207   ac_dummy="$PATH"
1208   for ac_dir in $ac_dummy; do
1209     test -z "$ac_dir" && ac_dir=.
1210     if test -f $ac_dir/$ac_word; then
1211       ac_cv_prog_CXX_libstdcxx="$ac_prog"
1212       break
1213     fi
1214   done
1215   IFS="$ac_save_ifs"
1216 fi
1217 fi
1218 CXX_libstdcxx="$ac_cv_prog_CXX_libstdcxx"
1219 if test -n "$CXX_libstdcxx"; then
1220   echo "$ac_t""$CXX_libstdcxx" 1>&6
1221 else
1222   echo "$ac_t""no" 1>&6
1223 fi
1224
1225 test -n "$CXX_libstdcxx" && break
1226 done
1227 test -n "$CXX_libstdcxx" || CXX_libstdcxx="gcc"
1228
1229 CXX=$CXX_libstdcxx
1230
1231 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1232
1233 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1234 echo "configure:1235: checking whether we are using GNU C++" >&5
1235 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1236   echo $ac_n "(cached) $ac_c" 1>&6
1237 else
1238   cat > conftest.C <<EOF
1239 #ifdef __GNUC__
1240   yes;
1241 #endif
1242 EOF
1243 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1244   ac_cv_prog_gxx=yes
1245 else
1246   ac_cv_prog_gxx=no
1247 fi
1248 fi
1249
1250 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1251
1252 if test $ac_cv_prog_gxx = yes; then
1253   GXX=yes
1254   ac_test_CXXFLAGS="${CXXFLAGS+set}"
1255   ac_save_CXXFLAGS="$CXXFLAGS"
1256   CXXFLAGS=
1257   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1258 echo "configure:1259: checking whether ${CXX-g++} accepts -g" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1260   echo $ac_n "(cached) $ac_c" 1>&6
1261 else
1262   echo 'void f(){}' > conftest.cc
1263 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1264   ac_cv_prog_cxx_g=yes
1265 else
1266   ac_cv_prog_cxx_g=no
1267 fi
1268 rm -f conftest*
1269
1270 fi
1271
1272 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1273   if test "$ac_test_CXXFLAGS" = set; then
1274     CXXFLAGS="$ac_save_CXXFLAGS"
1275   elif test $ac_cv_prog_cxx_g = yes; then
1276     CXXFLAGS="-g -O2"
1277   else
1278     CXXFLAGS="-O2"
1279   fi
1280 else
1281   GXX=
1282   test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1283 fi
1284
1285
1286   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1287 set dummy ${ac_tool_prefix}as; ac_word=$2
1288 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1289 echo "configure:1290: checking for $ac_word" >&5
1290 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1291   echo $ac_n "(cached) $ac_c" 1>&6
1292 else
1293   if test -n "$AS"; then
1294   ac_cv_prog_AS="$AS" # Let the user override the test.
1295 else
1296   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1297   ac_dummy="$PATH"
1298   for ac_dir in $ac_dummy; do
1299     test -z "$ac_dir" && ac_dir=.
1300     if test -f $ac_dir/$ac_word; then
1301       ac_cv_prog_AS="${ac_tool_prefix}as"
1302       break
1303     fi
1304   done
1305   IFS="$ac_save_ifs"
1306   test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1307 fi
1308 fi
1309 AS="$ac_cv_prog_AS"
1310 if test -n "$AS"; then
1311   echo "$ac_t""$AS" 1>&6
1312 else
1313   echo "$ac_t""no" 1>&6
1314 fi
1315
1316
1317
1318   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1319 set dummy ${ac_tool_prefix}ar; ac_word=$2
1320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1321 echo "configure:1322: checking for $ac_word" >&5
1322 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1323   echo $ac_n "(cached) $ac_c" 1>&6
1324 else
1325   if test -n "$AR"; then
1326   ac_cv_prog_AR="$AR" # Let the user override the test.
1327 else
1328   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1329   ac_dummy="$PATH"
1330   for ac_dir in $ac_dummy; do
1331     test -z "$ac_dir" && ac_dir=.
1332     if test -f $ac_dir/$ac_word; then
1333       ac_cv_prog_AR="${ac_tool_prefix}ar"
1334       break
1335     fi
1336   done
1337   IFS="$ac_save_ifs"
1338   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1339 fi
1340 fi
1341 AR="$ac_cv_prog_AR"
1342 if test -n "$AR"; then
1343   echo "$ac_t""$AR" 1>&6
1344 else
1345   echo "$ac_t""no" 1>&6
1346 fi
1347
1348
1349
1350   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1351 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1352 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1353 echo "configure:1354: checking for $ac_word" >&5
1354 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1355   echo $ac_n "(cached) $ac_c" 1>&6
1356 else
1357   if test -n "$RANLIB"; then
1358   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1359 else
1360   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1361   ac_dummy="$PATH"
1362   for ac_dir in $ac_dummy; do
1363     test -z "$ac_dir" && ac_dir=.
1364     if test -f $ac_dir/$ac_word; then
1365       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1366       break
1367     fi
1368   done
1369   IFS="$ac_save_ifs"
1370 fi
1371 fi
1372 RANLIB="$ac_cv_prog_RANLIB"
1373 if test -n "$RANLIB"; then
1374   echo "$ac_t""$RANLIB" 1>&6
1375 else
1376   echo "$ac_t""no" 1>&6
1377 fi
1378
1379
1380 if test -z "$ac_cv_prog_RANLIB"; then
1381 if test -n "$ac_tool_prefix"; then
1382   # Extract the first word of "ranlib", so it can be a program name with args.
1383 set dummy ranlib; ac_word=$2
1384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1385 echo "configure:1386: checking for $ac_word" >&5
1386 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1387   echo $ac_n "(cached) $ac_c" 1>&6
1388 else
1389   if test -n "$RANLIB"; then
1390   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1391 else
1392   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1393   ac_dummy="$PATH"
1394   for ac_dir in $ac_dummy; do
1395     test -z "$ac_dir" && ac_dir=.
1396     if test -f $ac_dir/$ac_word; then
1397       ac_cv_prog_RANLIB="ranlib"
1398       break
1399     fi
1400   done
1401   IFS="$ac_save_ifs"
1402   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1403 fi
1404 fi
1405 RANLIB="$ac_cv_prog_RANLIB"
1406 if test -n "$RANLIB"; then
1407   echo "$ac_t""$RANLIB" 1>&6
1408 else
1409   echo "$ac_t""no" 1>&6
1410 fi
1411
1412 else
1413   RANLIB=":"
1414 fi
1415 fi
1416
1417
1418   # Find a good install program.  We prefer a C program (faster),
1419 # so one script is as good as another.  But avoid the broken or
1420 # incompatible versions:
1421 # SysV /etc/install, /usr/sbin/install
1422 # SunOS /usr/etc/install
1423 # IRIX /sbin/install
1424 # AIX /bin/install
1425 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1426 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1427 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1428 # ./install, which can be erroneously created by make from ./install.sh.
1429 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1430 echo "configure:1431: checking for a BSD compatible install" >&5
1431 if test -z "$INSTALL"; then
1432 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1433   echo $ac_n "(cached) $ac_c" 1>&6
1434 else
1435     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
1436   for ac_dir in $PATH; do
1437     # Account for people who put trailing slashes in PATH elements.
1438     case "$ac_dir/" in
1439     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1440     *)
1441       # OSF1 and SCO ODT 3.0 have their own names for install.
1442       # Don't use installbsd from OSF since it installs stuff as root
1443       # by default.
1444       for ac_prog in ginstall scoinst install; do
1445         if test -f $ac_dir/$ac_prog; then
1446           if test $ac_prog = install &&
1447             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1448             # AIX install.  It has an incompatible calling convention.
1449             :
1450           else
1451             ac_cv_path_install="$ac_dir/$ac_prog -c"
1452             break 2
1453           fi
1454         fi
1455       done
1456       ;;
1457     esac
1458   done
1459   IFS="$ac_save_IFS"
1460
1461 fi
1462   if test "${ac_cv_path_install+set}" = set; then
1463     INSTALL="$ac_cv_path_install"
1464   else
1465     # As a last resort, use the slow shell script.  We don't cache a
1466     # path for INSTALL within a source directory, because that will
1467     # break other packages using the cache if that directory is
1468     # removed, or if the path is relative.
1469     INSTALL="$ac_install_sh"
1470   fi
1471 fi
1472 echo "$ac_t""$INSTALL" 1>&6
1473
1474 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1475 # It thinks the first close brace ends the variable substitution.
1476 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1477
1478 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1479
1480 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1481
1482
1483   echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1484 echo "configure:1485: checking whether to enable maintainer-specific portions of Makefiles" >&5
1485     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1486 if test "${enable_maintainer_mode+set}" = set; then
1487   enableval="$enable_maintainer_mode"
1488   USE_MAINTAINER_MODE=$enableval
1489 else
1490   USE_MAINTAINER_MODE=no
1491 fi
1492
1493   echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1494   
1495
1496 if test $USE_MAINTAINER_MODE = yes; then
1497   MAINTAINER_MODE_TRUE=
1498   MAINTAINER_MODE_FALSE='#'
1499 else
1500   MAINTAINER_MODE_TRUE='#'
1501   MAINTAINER_MODE_FALSE=
1502 fi
1503   MAINT=$MAINTAINER_MODE_TRUE
1504   
1505
1506
1507   # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
1508   # at least currently, we never actually build a program, so we never
1509   # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
1510   # fails, because we are probably configuring with a cross compiler
1511   # which cant create executables.  So we include AC_EXEEXT to keep
1512   # automake happy, but we dont execute it, since we dont care about
1513   # the result.
1514   if false; then
1515     
1516
1517 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1518 echo "configure:1519: checking for executable suffix" >&5
1519 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1520   echo $ac_n "(cached) $ac_c" 1>&6
1521 else
1522   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1523   ac_cv_exeext=.exe
1524 else
1525   rm -f conftest*
1526   echo 'int main () { return 0; }' > conftest.$ac_ext
1527   ac_cv_exeext=
1528   if { (eval echo configure:1529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1529     for file in conftest.*; do
1530       case $file in
1531       *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1532       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1533       esac
1534     done
1535   else
1536     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1537   fi
1538   rm -f conftest*
1539   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1540 fi
1541 fi
1542
1543 EXEEXT=""
1544 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1545 echo "$ac_t""${ac_cv_exeext}" 1>&6
1546 ac_exeext=$EXEEXT
1547
1548   fi
1549
1550   # configure.host sets the following important variables
1551   #        glibcpp_cflags    - host specific C compiler flags
1552   #        glibcpp_cxxflags  - host specific C++ compiler flags
1553   glibcpp_cflags=
1554   glibcpp_cxxflags=
1555
1556   . ${glibcpp_basedir}/configure.host
1557
1558   case ${glibcpp_basedir} in
1559     /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1560     *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1561   esac
1562
1563   # This does for the target what configure.host does for the host.  In
1564   # addition to modifying the same flags, it also sets up symlinks.
1565   
1566     . ${glibcpp_basedir}/configure.target
1567     echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1568     echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1569     
1570
1571
1572   GLIBCPP_CFLAGS="${glibcpp_cflags}"
1573   GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1574   
1575   
1576
1577
1578 # Check whether --enable-shared or --disable-shared was given.
1579 if test "${enable_shared+set}" = set; then
1580   enableval="$enable_shared"
1581   p=${PACKAGE-default}
1582 case "$enableval" in
1583 yes) enable_shared=yes ;;
1584 no) enable_shared=no ;;
1585 *)
1586   enable_shared=no
1587   # Look at the argument we got.  We use all the common list separators.
1588   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1589   for pkg in $enableval; do
1590     if test "X$pkg" = "X$p"; then
1591       enable_shared=yes
1592     fi
1593   done
1594   IFS="$ac_save_ifs"
1595   ;;
1596 esac
1597 else
1598   enable_shared=yes
1599 fi
1600
1601 # Check whether --enable-static or --disable-static was given.
1602 if test "${enable_static+set}" = set; then
1603   enableval="$enable_static"
1604   p=${PACKAGE-default}
1605 case "$enableval" in
1606 yes) enable_static=yes ;;
1607 no) enable_static=no ;;
1608 *)
1609   enable_static=no
1610   # Look at the argument we got.  We use all the common list separators.
1611   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1612   for pkg in $enableval; do
1613     if test "X$pkg" = "X$p"; then
1614       enable_static=yes
1615     fi
1616   done
1617   IFS="$ac_save_ifs"
1618   ;;
1619 esac
1620 else
1621   enable_static=yes
1622 fi
1623
1624 # Check whether --enable-fast-install or --disable-fast-install was given.
1625 if test "${enable_fast_install+set}" = set; then
1626   enableval="$enable_fast_install"
1627   p=${PACKAGE-default}
1628 case "$enableval" in
1629 yes) enable_fast_install=yes ;;
1630 no) enable_fast_install=no ;;
1631 *)
1632   enable_fast_install=no
1633   # Look at the argument we got.  We use all the common list separators.
1634   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1635   for pkg in $enableval; do
1636     if test "X$pkg" = "X$p"; then
1637       enable_fast_install=yes
1638     fi
1639   done
1640   IFS="$ac_save_ifs"
1641   ;;
1642 esac
1643 else
1644   enable_fast_install=yes
1645 fi
1646
1647 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1648 if test "${with_gnu_ld+set}" = set; then
1649   withval="$with_gnu_ld"
1650   test "$withval" = no || with_gnu_ld=yes
1651 else
1652   with_gnu_ld=no
1653 fi
1654
1655 ac_prog=ld
1656 if test "$ac_cv_prog_gcc" = yes; then
1657   # Check if gcc -print-prog-name=ld gives a path.
1658   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1659 echo "configure:1660: checking for ld used by GCC" >&5
1660   case $host in
1661   *-*-mingw*)
1662     # gcc leaves a trailing carriage return which upsets mingw
1663     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1664   *)
1665     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1666   esac
1667   case "$ac_prog" in
1668     # Accept absolute paths.
1669     [\\/]* | [A-Za-z]:[\\/]*)
1670       re_direlt='/[^/][^/]*/\.\./'
1671       # Canonicalize the path of ld
1672       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1673       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1674         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1675       done
1676       test -z "$LD" && LD="$ac_prog"
1677       ;;
1678   "")
1679     # If it fails, then pretend we aren't using GCC.
1680     ac_prog=ld
1681     ;;
1682   *)
1683     # If it is relative, then search for the first ld in PATH.
1684     with_gnu_ld=unknown
1685     ;;
1686   esac
1687 elif test "$with_gnu_ld" = yes; then
1688   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1689 echo "configure:1690: checking for GNU ld" >&5
1690 else
1691   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1692 echo "configure:1693: checking for non-GNU ld" >&5
1693 fi
1694 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1695   echo $ac_n "(cached) $ac_c" 1>&6
1696 else
1697   if test -z "$LD"; then
1698   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1699   for ac_dir in $PATH; do
1700     test -z "$ac_dir" && ac_dir=.
1701     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1702       ac_cv_path_LD="$ac_dir/$ac_prog"
1703       # Check to see if the program is GNU ld.  I'd rather use --version,
1704       # but apparently some GNU ld's only accept -v.
1705       # Break only if it was the GNU/non-GNU ld that we prefer.
1706       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1707         test "$with_gnu_ld" != no && break
1708       else
1709         test "$with_gnu_ld" != yes && break
1710       fi
1711     fi
1712   done
1713   IFS="$ac_save_ifs"
1714 else
1715   ac_cv_path_LD="$LD" # Let the user override the test with a path.
1716 fi
1717 fi
1718
1719 LD="$ac_cv_path_LD"
1720 if test -n "$LD"; then
1721   echo "$ac_t""$LD" 1>&6
1722 else
1723   echo "$ac_t""no" 1>&6
1724 fi
1725 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1726 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1727 echo "configure:1728: checking if the linker ($LD) is GNU ld" >&5
1728 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1729   echo $ac_n "(cached) $ac_c" 1>&6
1730 else
1731   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1732 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1733   ac_cv_prog_gnu_ld=yes
1734 else
1735   ac_cv_prog_gnu_ld=no
1736 fi
1737 fi
1738
1739 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1740 with_gnu_ld=$ac_cv_prog_gnu_ld
1741
1742
1743 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1744 echo "configure:1745: checking for $LD option to reload object files" >&5
1745 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1746   echo $ac_n "(cached) $ac_c" 1>&6
1747 else
1748   lt_cv_ld_reload_flag='-r'
1749 fi
1750
1751 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1752 reload_flag=$lt_cv_ld_reload_flag
1753 test -n "$reload_flag" && reload_flag=" $reload_flag"
1754
1755 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1756 echo "configure:1757: checking for BSD-compatible nm" >&5
1757 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1758   echo $ac_n "(cached) $ac_c" 1>&6
1759 else
1760   if test -n "$NM"; then
1761   # Let the user override the test.
1762   ac_cv_path_NM="$NM"
1763 else
1764   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1765   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1766     test -z "$ac_dir" && ac_dir=.
1767     tmp_nm=$ac_dir/${ac_tool_prefix}nm
1768     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1769       # Check to see if the nm accepts a BSD-compat flag.
1770       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1771       #   nm: unknown option "B" ignored
1772       # Tru64's nm complains that /dev/null is an invalid object file
1773       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1774         ac_cv_path_NM="$tmp_nm -B"
1775         break
1776       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1777         ac_cv_path_NM="$tmp_nm -p"
1778         break
1779       else
1780         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1781         continue # so that we can try to find one that supports BSD flags
1782       fi
1783     fi
1784   done
1785   IFS="$ac_save_ifs"
1786   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1787 fi
1788 fi
1789
1790 NM="$ac_cv_path_NM"
1791 echo "$ac_t""$NM" 1>&6
1792
1793 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1794 echo "configure:1795: checking whether ln -s works" >&5
1795 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1796   echo $ac_n "(cached) $ac_c" 1>&6
1797 else
1798   rm -f conftestdata
1799 if ln -s X conftestdata 2>/dev/null
1800 then
1801   rm -f conftestdata
1802   ac_cv_prog_LN_S="ln -s"
1803 else
1804   ac_cv_prog_LN_S=ln
1805 fi
1806 fi
1807 LN_S="$ac_cv_prog_LN_S"
1808 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1809   echo "$ac_t""yes" 1>&6
1810 else
1811   echo "$ac_t""no" 1>&6
1812 fi
1813
1814 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1815 echo "configure:1816: checking how to recognise dependant libraries" >&5
1816 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1817   echo $ac_n "(cached) $ac_c" 1>&6
1818 else
1819   lt_cv_file_magic_cmd='$MAGIC_CMD'
1820 lt_cv_file_magic_test_file=
1821 lt_cv_deplibs_check_method='unknown'
1822 # Need to set the preceding variable on all platforms that support
1823 # interlibrary dependencies.
1824 # 'none' -- dependencies not supported.
1825 # `unknown' -- same as none, but documents that we really don't know.
1826 # 'pass_all' -- all dependencies passed with no checks.
1827 # 'test_compile' -- check by making test program.
1828 # 'file_magic [regex]' -- check by looking for files in library path
1829 # which responds to the $file_magic_cmd with a given egrep regex.
1830 # If you have `file' or equivalent on your system and you're not sure
1831 # whether `pass_all' will *always* work, you probably want this one.
1832
1833 case "$host_os" in
1834 aix4*)
1835   lt_cv_deplibs_check_method=pass_all
1836   ;;
1837
1838 beos*)
1839   lt_cv_deplibs_check_method=pass_all
1840   ;;
1841
1842 bsdi4*)
1843     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1844     lt_cv_file_magic_cmd='/usr/bin/file -L'
1845   lt_cv_file_magic_test_file=/shlib/libc.so
1846   ;;
1847
1848 cygwin* | mingw* |pw32*)
1849   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1850   lt_cv_file_magic_cmd='$OBJDUMP -f'
1851   ;;
1852
1853 freebsd* )
1854   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1855     case "$host_cpu" in
1856     i*86 )
1857       # Not sure whether the presence of OpenBSD here was a mistake.
1858       # Let's accept both of them until this is cleared up.
1859             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1860             lt_cv_file_magic_cmd=/usr/bin/file
1861       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1862       ;;
1863     esac
1864   else
1865     lt_cv_deplibs_check_method=pass_all
1866   fi
1867   ;;
1868
1869 gnu*)
1870   lt_cv_deplibs_check_method=pass_all
1871   ;;
1872
1873 hpux10.20*)
1874   # TODO:  Does this work for hpux-11 too?
1875   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1876   lt_cv_file_magic_cmd=/usr/bin/file
1877   lt_cv_file_magic_test_file=/usr/lib/libc.sl
1878   ;;
1879
1880 irix5* | irix6*)
1881   case "$host_os" in
1882   irix5*)
1883     # this will be overridden with pass_all, but let us keep it just in case
1884     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1885     ;;
1886   *)
1887     case "$LD" in
1888     *-32|*"-32 ") libmagic=32-bit;;
1889     *-n32|*"-n32 ") libmagic=N32;;
1890     *-64|*"-64 ") libmagic=64-bit;;
1891     *) libmagic=never-match;;
1892     esac
1893     # this will be overridden with pass_all, but let us keep it just in case
1894         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1895         ;;
1896   esac
1897   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1898   lt_cv_deplibs_check_method=pass_all
1899   ;;
1900
1901 # This must be Linux ELF.
1902 linux-gnu*)
1903   case "$host_cpu" in
1904   alpha* | i*86 | powerpc* | sparc* | ia64* )
1905     lt_cv_deplibs_check_method=pass_all ;;
1906   *)
1907     # glibc up to 2.1.1 does not perform some relocations on ARM
1908         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1909       esac
1910   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1911   ;;
1912
1913 netbsd*)
1914   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1915   else
1916         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1917         lt_cv_file_magic_cmd='/usr/bin/file -L'
1918     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1919   fi
1920   ;;
1921
1922 osf3* | osf4* | osf5*)
1923   # this will be overridden with pass_all, but let us keep it just in case
1924   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1925   lt_cv_file_magic_test_file=/shlib/libc.so
1926   lt_cv_deplibs_check_method=pass_all
1927   ;;
1928
1929 sco3.2v5*)
1930   lt_cv_deplibs_check_method=pass_all
1931   ;;
1932
1933 solaris*)
1934   lt_cv_deplibs_check_method=pass_all
1935   lt_cv_file_magic_test_file=/lib/libc.so
1936   ;;
1937
1938 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1939   case "$host_vendor" in
1940   ncr)
1941     lt_cv_deplibs_check_method=pass_all
1942     ;;
1943   motorola)
1944         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]'
1945         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1946     ;;
1947   esac
1948   ;;
1949 esac
1950
1951 fi
1952
1953 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1954 file_magic_cmd=$lt_cv_file_magic_cmd
1955 deplibs_check_method=$lt_cv_deplibs_check_method
1956
1957 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1958 echo "configure:1959: checking for object suffix" >&5
1959 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1960   echo $ac_n "(cached) $ac_c" 1>&6
1961 else
1962   rm -f conftest*
1963 echo 'int i = 1;' > conftest.$ac_ext
1964 if { (eval echo configure:1965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1965   for ac_file in conftest.*; do
1966     case $ac_file in
1967     *.c) ;;
1968     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1969     esac
1970   done
1971 else
1972   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1973 fi
1974 rm -f conftest*
1975 fi
1976
1977 echo "$ac_t""$ac_cv_objext" 1>&6
1978 OBJEXT=$ac_cv_objext
1979 ac_objext=$ac_cv_objext
1980
1981 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1982
1983 # Only perform the check for file, if the check method requires it
1984 case "$deplibs_check_method" in
1985 file_magic*)
1986   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1987     echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1988 echo "configure:1989: checking for ${ac_tool_prefix}file" >&5
1989 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1990   echo $ac_n "(cached) $ac_c" 1>&6
1991 else
1992   case "$MAGIC_CMD" in
1993   /*)
1994   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1995   ;;
1996   ?:/*)
1997   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1998   ;;
1999   *)
2000   ac_save_MAGIC_CMD="$MAGIC_CMD"
2001   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2002   ac_dummy="/usr/bin:$PATH"
2003   for ac_dir in $ac_dummy; do
2004     test -z "$ac_dir" && ac_dir=.
2005     if test -f $ac_dir/${ac_tool_prefix}file; then
2006       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2007       if test -n "$file_magic_test_file"; then
2008         case "$deplibs_check_method" in
2009         "file_magic "*)
2010           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2011           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2012           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2013             egrep "$file_magic_regex" > /dev/null; then
2014             :
2015           else
2016             cat <<EOF 1>&2
2017
2018 *** Warning: the command libtool uses to detect shared libraries,
2019 *** $file_magic_cmd, produces output that libtool cannot recognize.
2020 *** The result is that libtool may fail to recognize shared libraries
2021 *** as such.  This will affect the creation of libtool libraries that
2022 *** depend on shared libraries, but programs linked with such libtool
2023 *** libraries will work regardless of this problem.  Nevertheless, you
2024 *** may want to report the problem to your system manager and/or to
2025 *** bug-libtool@gnu.org
2026
2027 EOF
2028           fi ;;
2029         esac
2030       fi
2031       break
2032     fi
2033   done
2034   IFS="$ac_save_ifs"
2035   MAGIC_CMD="$ac_save_MAGIC_CMD"
2036   ;;
2037 esac
2038 fi
2039
2040 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2041 if test -n "$MAGIC_CMD"; then
2042   echo "$ac_t""$MAGIC_CMD" 1>&6
2043 else
2044   echo "$ac_t""no" 1>&6
2045 fi
2046
2047 if test -z "$lt_cv_path_MAGIC_CMD"; then
2048   if test -n "$ac_tool_prefix"; then
2049     echo $ac_n "checking for file""... $ac_c" 1>&6
2050 echo "configure:2051: checking for file" >&5
2051 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2052   echo $ac_n "(cached) $ac_c" 1>&6
2053 else
2054   case "$MAGIC_CMD" in
2055   /*)
2056   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2057   ;;
2058   ?:/*)
2059   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2060   ;;
2061   *)
2062   ac_save_MAGIC_CMD="$MAGIC_CMD"
2063   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2064   ac_dummy="/usr/bin:$PATH"
2065   for ac_dir in $ac_dummy; do
2066     test -z "$ac_dir" && ac_dir=.
2067     if test -f $ac_dir/file; then
2068       lt_cv_path_MAGIC_CMD="$ac_dir/file"
2069       if test -n "$file_magic_test_file"; then
2070         case "$deplibs_check_method" in
2071         "file_magic "*)
2072           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2073           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2074           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2075             egrep "$file_magic_regex" > /dev/null; then
2076             :
2077           else
2078             cat <<EOF 1>&2
2079
2080 *** Warning: the command libtool uses to detect shared libraries,
2081 *** $file_magic_cmd, produces output that libtool cannot recognize.
2082 *** The result is that libtool may fail to recognize shared libraries
2083 *** as such.  This will affect the creation of libtool libraries that
2084 *** depend on shared libraries, but programs linked with such libtool
2085 *** libraries will work regardless of this problem.  Nevertheless, you
2086 *** may want to report the problem to your system manager and/or to
2087 *** bug-libtool@gnu.org
2088
2089 EOF
2090           fi ;;
2091         esac
2092       fi
2093       break
2094     fi
2095   done
2096   IFS="$ac_save_ifs"
2097   MAGIC_CMD="$ac_save_MAGIC_CMD"
2098   ;;
2099 esac
2100 fi
2101
2102 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2103 if test -n "$MAGIC_CMD"; then
2104   echo "$ac_t""$MAGIC_CMD" 1>&6
2105 else
2106   echo "$ac_t""no" 1>&6
2107 fi
2108
2109   else
2110     MAGIC_CMD=:
2111   fi
2112 fi
2113
2114   fi
2115   ;;
2116 esac
2117
2118 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2120 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2121 echo "configure:2122: checking for $ac_word" >&5
2122 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2123   echo $ac_n "(cached) $ac_c" 1>&6
2124 else
2125   if test -n "$RANLIB"; then
2126   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2127 else
2128   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2129   ac_dummy="$PATH"
2130   for ac_dir in $ac_dummy; do
2131     test -z "$ac_dir" && ac_dir=.
2132     if test -f $ac_dir/$ac_word; then
2133       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2134       break
2135     fi
2136   done
2137   IFS="$ac_save_ifs"
2138 fi
2139 fi
2140 RANLIB="$ac_cv_prog_RANLIB"
2141 if test -n "$RANLIB"; then
2142   echo "$ac_t""$RANLIB" 1>&6
2143 else
2144   echo "$ac_t""no" 1>&6
2145 fi
2146
2147
2148 if test -z "$ac_cv_prog_RANLIB"; then
2149 if test -n "$ac_tool_prefix"; then
2150   # Extract the first word of "ranlib", so it can be a program name with args.
2151 set dummy ranlib; ac_word=$2
2152 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2153 echo "configure:2154: checking for $ac_word" >&5
2154 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2155   echo $ac_n "(cached) $ac_c" 1>&6
2156 else
2157   if test -n "$RANLIB"; then
2158   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2159 else
2160   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2161   ac_dummy="$PATH"
2162   for ac_dir in $ac_dummy; do
2163     test -z "$ac_dir" && ac_dir=.
2164     if test -f $ac_dir/$ac_word; then
2165       ac_cv_prog_RANLIB="ranlib"
2166       break
2167     fi
2168   done
2169   IFS="$ac_save_ifs"
2170   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2171 fi
2172 fi
2173 RANLIB="$ac_cv_prog_RANLIB"
2174 if test -n "$RANLIB"; then
2175   echo "$ac_t""$RANLIB" 1>&6
2176 else
2177   echo "$ac_t""no" 1>&6
2178 fi
2179
2180 else
2181   RANLIB=":"
2182 fi
2183 fi
2184
2185 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2186 set dummy ${ac_tool_prefix}strip; ac_word=$2
2187 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2188 echo "configure:2189: checking for $ac_word" >&5
2189 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2190   echo $ac_n "(cached) $ac_c" 1>&6
2191 else
2192   if test -n "$STRIP"; then
2193   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2194 else
2195   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2196   ac_dummy="$PATH"
2197   for ac_dir in $ac_dummy; do
2198     test -z "$ac_dir" && ac_dir=.
2199     if test -f $ac_dir/$ac_word; then
2200       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2201       break
2202     fi
2203   done
2204   IFS="$ac_save_ifs"
2205 fi
2206 fi
2207 STRIP="$ac_cv_prog_STRIP"
2208 if test -n "$STRIP"; then
2209   echo "$ac_t""$STRIP" 1>&6
2210 else
2211   echo "$ac_t""no" 1>&6
2212 fi
2213
2214
2215 if test -z "$ac_cv_prog_STRIP"; then
2216 if test -n "$ac_tool_prefix"; then
2217   # Extract the first word of "strip", so it can be a program name with args.
2218 set dummy strip; ac_word=$2
2219 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2220 echo "configure:2221: checking for $ac_word" >&5
2221 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2222   echo $ac_n "(cached) $ac_c" 1>&6
2223 else
2224   if test -n "$STRIP"; then
2225   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2226 else
2227   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2228   ac_dummy="$PATH"
2229   for ac_dir in $ac_dummy; do
2230     test -z "$ac_dir" && ac_dir=.
2231     if test -f $ac_dir/$ac_word; then
2232       ac_cv_prog_STRIP="strip"
2233       break
2234     fi
2235   done
2236   IFS="$ac_save_ifs"
2237   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2238 fi
2239 fi
2240 STRIP="$ac_cv_prog_STRIP"
2241 if test -n "$STRIP"; then
2242   echo "$ac_t""$STRIP" 1>&6
2243 else
2244   echo "$ac_t""no" 1>&6
2245 fi
2246
2247 else
2248   STRIP=":"
2249 fi
2250 fi
2251
2252
2253 # Check for any special flags to pass to ltconfig.
2254 libtool_flags="--cache-file=$cache_file"
2255 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2256 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2257 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2258 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2259 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2260 libtool_flags="$libtool_flags --enable-dlopen"
2261
2262 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2263 if test "${enable_libtool_lock+set}" = set; then
2264   enableval="$enable_libtool_lock"
2265   :
2266 fi
2267
2268 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2269 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2270
2271 # Check whether --with-pic or --without-pic was given.
2272 if test "${with_pic+set}" = set; then
2273   withval="$with_pic"
2274   pic_mode="$withval"
2275 else
2276   pic_mode=default
2277 fi
2278
2279 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2280 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2281
2282 # Some flags need to be propagated to the compiler or linker for good
2283 # libtool support.
2284 case "$host" in
2285 *-*-irix6*)
2286   # Find out which ABI we are using.
2287   echo '#line 2288 "configure"' > conftest.$ac_ext
2288   if { (eval echo configure:2289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2289     case "`/usr/bin/file conftest.o`" in
2290     *32-bit*)
2291       LD="${LD-ld} -32"
2292       ;;
2293     *N32*)
2294       LD="${LD-ld} -n32"
2295       ;;
2296     *64-bit*)
2297       LD="${LD-ld} -64"
2298       ;;
2299     esac
2300   fi
2301   rm -rf conftest*
2302   ;;
2303
2304 *-*-sco3.2v5*)
2305   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2306   SAVE_CFLAGS="$CFLAGS"
2307   CFLAGS="$CFLAGS -belf"
2308   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2309 echo "configure:2310: checking whether the C compiler needs -belf" >&5
2310 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2311   echo $ac_n "(cached) $ac_c" 1>&6
2312 else
2313   
2314      ac_ext=c
2315 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2316 ac_cpp='$CPP $CPPFLAGS'
2317 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2318 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2319 cross_compiling=$ac_cv_prog_cc_cross
2320
2321      cat > conftest.$ac_ext <<EOF
2322 #line 2323 "configure"
2323 #include "confdefs.h"
2324
2325 int main() {
2326
2327 ; return 0; }
2328 EOF
2329 if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2330   rm -rf conftest*
2331   lt_cv_cc_needs_belf=yes
2332 else
2333   echo "configure: failed program was:" >&5
2334   cat conftest.$ac_ext >&5
2335   rm -rf conftest*
2336   lt_cv_cc_needs_belf=no
2337 fi
2338 rm -f conftest*
2339      ac_ext=c
2340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2341 ac_cpp='$CPP $CPPFLAGS'
2342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2344 cross_compiling=$ac_cv_prog_cc_cross
2345
2346 fi
2347
2348 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2349   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2350     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2351     CFLAGS="$SAVE_CFLAGS"
2352   fi
2353   ;;
2354
2355
2356 esac
2357
2358 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2359 echo "configure:2360: checking how to run the C++ preprocessor" >&5
2360 if test -z "$CXXCPP"; then
2361 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2362   echo $ac_n "(cached) $ac_c" 1>&6
2363 else
2364   ac_ext=C
2365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2366 ac_cpp='$CXXCPP $CPPFLAGS'
2367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2369 cross_compiling=$ac_cv_prog_cxx_cross
2370   CXXCPP="${CXX-g++} -E"
2371   cat > conftest.$ac_ext <<EOF
2372 #line 2373 "configure"
2373 #include "confdefs.h"
2374 #include <stdlib.h>
2375 EOF
2376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2377 { (eval echo configure:2378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2378 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2379 if test -z "$ac_err"; then
2380   :
2381 else
2382   echo "$ac_err" >&5
2383   echo "configure: failed program was:" >&5
2384   cat conftest.$ac_ext >&5
2385   rm -rf conftest*
2386   CXXCPP=/lib/cpp
2387 fi
2388 rm -f conftest*
2389   ac_cv_prog_CXXCPP="$CXXCPP"
2390 ac_ext=c
2391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2392 ac_cpp='$CPP $CPPFLAGS'
2393 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2394 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2395 cross_compiling=$ac_cv_prog_cc_cross
2396 fi
2397 fi
2398 CXXCPP="$ac_cv_prog_CXXCPP"
2399 echo "$ac_t""$CXXCPP" 1>&6
2400
2401
2402 # Save cache, so that ltconfig can load it
2403 cat > confcache <<\EOF
2404 # This file is a shell script that caches the results of configure
2405 # tests run on this system so they can be shared between configure
2406 # scripts and configure runs.  It is not useful on other systems.
2407 # If it contains results you don't want to keep, you may remove or edit it.
2408 #
2409 # By default, configure uses ./config.cache as the cache file,
2410 # creating it if it does not exist already.  You can give configure
2411 # the --cache-file=FILE option to use a different cache file; that is
2412 # what configure does when it calls configure scripts in
2413 # subdirectories, so they share the cache.
2414 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2415 # config.status only pays attention to the cache file if you give it the
2416 # --recheck option to rerun configure.
2417 #
2418 EOF
2419 # The following way of writing the cache mishandles newlines in values,
2420 # but we know of no workaround that is simple, portable, and efficient.
2421 # So, don't put newlines in cache variables' values.
2422 # Ultrix sh set writes to stderr and can't be redirected directly,
2423 # and sets the high bit in the cache file unless we assign to the vars.
2424 (set) 2>&1 |
2425   case `(ac_space=' '; set | grep ac_space) 2>&1` in
2426   *ac_space=\ *)
2427     # `set' does not quote correctly, so add quotes (double-quote substitution
2428     # turns \\\\ into \\, and sed turns \\ into \).
2429     sed -n \
2430       -e "s/'/'\\\\''/g" \
2431       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2432     ;;
2433   *)
2434     # `set' quotes correctly as required by POSIX, so do not add quotes.
2435     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2436     ;;
2437   esac >> confcache
2438 if cmp -s $cache_file confcache; then
2439   :
2440 else
2441   if test -w $cache_file; then
2442     echo "updating cache $cache_file"
2443     cat confcache > $cache_file
2444   else
2445     echo "not updating unwritable cache $cache_file"
2446   fi
2447 fi
2448 rm -f confcache
2449
2450
2451 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
2452 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2453 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2454 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2455 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2456 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2457 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2458 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2459 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2460 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2461
2462 # Reload cache, that may have been modified by ltconfig
2463 if test -r "$cache_file"; then
2464   echo "loading cache $cache_file"
2465   . $cache_file
2466 else
2467   echo "creating cache $cache_file"
2468   > $cache_file
2469 fi
2470
2471
2472 # This can be used to rebuild libtool when needed
2473 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2474
2475 # Always use our own libtool.
2476 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2477
2478 # Redirect the config.log output again, so that the ltconfig log is not
2479 # clobbered by the next message.
2480 exec 5>>./config.log
2481
2482
2483
2484
2485 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2486 lt_save_CC="$CC"
2487 lt_save_CFLAGS="$CFLAGS"
2488 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2489 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2490 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2491 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2492 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2493 deplibs_check_method="$deplibs_check_method" \
2494 file_magic_cmd="$file_magic_cmd" \
2495 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2496 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2497 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2498 CC="$lt_save_CC"
2499 CFLAGS="$lt_save_CFLAGS"
2500
2501 # Redirect the config.log output again, so that the ltconfig log is not
2502 # clobbered by the next message.
2503 exec 5>>./config.log
2504
2505
2506   
2507
2508   
2509          
2510          
2511
2512
2513 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2514 echo "configure:2515: checking for GNU make" >&5
2515 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2516   echo $ac_n "(cached) $ac_c" 1>&6
2517 else
2518   _cv_gnu_make_command='' ;
2519           for a in "${MAKE:-make}" make gmake gnumake ; do
2520                   if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2521                   then
2522                           _cv_gnu_make_command=$a ;
2523                           break;
2524                   fi
2525           done ;
2526   
2527 fi
2528
2529 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2530   if test  "x$_cv_gnu_make_command" != "x"  ; then
2531           ifGNUmake='' ;
2532   else
2533           ifGNUmake='#' ;
2534   fi
2535   
2536
2537   if test "x$_cv_gnu_make_command" = "x"; then
2538     { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2539   fi
2540
2541
2542
2543
2544 # Check for c++ or library specific bits that don't require linking.
2545 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2546 echo "configure:2547: checking how to run the C preprocessor" >&5
2547 # On Suns, sometimes $CPP names a directory.
2548 if test -n "$CPP" && test -d "$CPP"; then
2549   CPP=
2550 fi
2551 if test -z "$CPP"; then
2552 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2553   echo $ac_n "(cached) $ac_c" 1>&6
2554 else
2555     # This must be in double quotes, not single quotes, because CPP may get
2556   # substituted into the Makefile and "${CC-cc}" will confuse make.
2557   CPP="${CC-cc} -E"
2558   # On the NeXT, cc -E runs the code through the compiler's parser,
2559   # not just through cpp.
2560   cat > conftest.$ac_ext <<EOF
2561 #line 2562 "configure"
2562 #include "confdefs.h"
2563 #include <assert.h>
2564 Syntax Error
2565 EOF
2566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2567 { (eval echo configure:2568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2568 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2569 if test -z "$ac_err"; then
2570   :
2571 else
2572   echo "$ac_err" >&5
2573   echo "configure: failed program was:" >&5
2574   cat conftest.$ac_ext >&5
2575   rm -rf conftest*
2576   CPP="${CC-cc} -E -traditional-cpp"
2577   cat > conftest.$ac_ext <<EOF
2578 #line 2579 "configure"
2579 #include "confdefs.h"
2580 #include <assert.h>
2581 Syntax Error
2582 EOF
2583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2584 { (eval echo configure:2585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2586 if test -z "$ac_err"; then
2587   :
2588 else
2589   echo "$ac_err" >&5
2590   echo "configure: failed program was:" >&5
2591   cat conftest.$ac_ext >&5
2592   rm -rf conftest*
2593   CPP="${CC-cc} -nologo -E"
2594   cat > conftest.$ac_ext <<EOF
2595 #line 2596 "configure"
2596 #include "confdefs.h"
2597 #include <assert.h>
2598 Syntax Error
2599 EOF
2600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2601 { (eval echo configure:2602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2603 if test -z "$ac_err"; then
2604   :
2605 else
2606   echo "$ac_err" >&5
2607   echo "configure: failed program was:" >&5
2608   cat conftest.$ac_ext >&5
2609   rm -rf conftest*
2610   CPP=/lib/cpp
2611 fi
2612 rm -f conftest*
2613 fi
2614 rm -f conftest*
2615 fi
2616 rm -f conftest*
2617   ac_cv_prog_CPP="$CPP"
2618 fi
2619   CPP="$ac_cv_prog_CPP"
2620 else
2621   ac_cv_prog_CPP="$CPP"
2622 fi
2623 echo "$ac_t""$CPP" 1>&6
2624
2625
2626   # Sanity check that g++ is capable of dealing with v-3.
2627   echo $ac_n "checking for g++ that will successfully compile this code""... $ac_c" 1>&6
2628 echo "configure:2629: checking for g++ that will successfully compile this code" >&5
2629   cat > conftest.$ac_ext <<EOF
2630 #line 2631 "configure"
2631 #include "confdefs.h"
2632
2633   #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
2634     ok
2635   #endif
2636   
2637 EOF
2638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2639   egrep "ok" >/dev/null 2>&1; then
2640   rm -rf conftest*
2641   gpp_satisfactory=yes
2642 else
2643   rm -rf conftest*
2644   { echo "configure: error: please upgrade to gcc-2.95 or above" 1>&2; exit 1; }
2645 fi
2646 rm -f conftest*
2647
2648   echo "$ac_t""$gpp_satisfactory" 1>&6
2649
2650
2651 # Enable all the crazy c++ stuff.  C_MBCHAR must come early.
2652 # Check whether --enable-debug or --disable-debug was given.
2653 if test "${enable_debug+set}" = set; then
2654   enableval="$enable_debug"
2655   case "${enableval}" in
2656  yes) enable_debug=yes ;;
2657  no)  enable_debug=no ;;
2658  *)   { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2659  esac
2660 else
2661   enable_debug=no
2662 fi
2663
2664 case "${enable_debug}" in
2665     yes) 
2666         DEBUG_FLAGS='-O0 -ggdb3'                        
2667         ;;
2668     no)   
2669         DEBUG_FLAGS='-g'
2670         ;;
2671 esac
2672
2673
2674
2675   echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2676 echo "configure:2677: checking for cstdio to use" >&5
2677   # Check whether --enable-cstdio or --disable-cstdio was given.
2678 if test "${enable_cstdio+set}" = set; then
2679   enableval="$enable_cstdio"
2680   if test x$enable_cstdio = xno; then
2681      enable_cstdio=stdio
2682   fi
2683 else
2684   enable_cstdio=stdio
2685 fi
2686
2687
2688   enable_cstdio_flag=$enable_cstdio
2689
2690     case x${enable_cstdio_flag} in
2691     xlibio)
2692       CSTDIO_H=config/c_io_libio.h
2693       CSTDIO_CC=config/c_io_libio.cc
2694       echo "$ac_t""libio" 1>&6
2695
2696       # see if we are on a system with libio native (ie, linux)
2697       ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2698 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2699 echo "configure:2700: checking for libio.h" >&5
2700 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2701   echo $ac_n "(cached) $ac_c" 1>&6
2702 else
2703   cat > conftest.$ac_ext <<EOF
2704 #line 2705 "configure"
2705 #include "confdefs.h"
2706 #include <libio.h>
2707 EOF
2708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2709 { (eval echo configure:2710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2711 if test -z "$ac_err"; then
2712   rm -rf conftest*
2713   eval "ac_cv_header_$ac_safe=yes"
2714 else
2715   echo "$ac_err" >&5
2716   echo "configure: failed program was:" >&5
2717   cat conftest.$ac_ext >&5
2718   rm -rf conftest*
2719   eval "ac_cv_header_$ac_safe=no"
2720 fi
2721 rm -f conftest*
2722 fi
2723 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2724   echo "$ac_t""yes" 1>&6
2725   has_libio=yes
2726 else
2727   echo "$ac_t""no" 1>&6
2728 has_libio=no
2729 fi
2730
2731
2732       # Need to check and see what version of glibc is being used. If
2733       # it's not glibc-2.2 or higher, then we'll need to go ahead and 
2734       # compile most of libio for linux systems.
2735       if test x$has_libio = x"yes"; then
2736         case "$target" in
2737           *-*-linux*)
2738               echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2739 echo "configure:2740: checking for glibc version >= 2.2" >&5
2740               cat > conftest.$ac_ext <<EOF
2741 #line 2742 "configure"
2742 #include "confdefs.h"
2743
2744             #include <features.h>
2745               #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) 
2746                     ok
2747               #endif
2748               
2749 EOF
2750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2751   egrep "ok" >/dev/null 2>&1; then
2752   rm -rf conftest*
2753   glibc_satisfactory=yes
2754 else
2755   rm -rf conftest*
2756   glibc_satisfactory=no
2757 fi
2758 rm -f conftest*
2759
2760               echo "$ac_t""$glibc_satisfactory" 1>&6
2761             ;;
2762         esac
2763
2764         # XXX at the moment, admit defeat and force the recompilation
2765         # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2766         glibc_satisfactory=no        
2767
2768         if test x$glibc_satisfactory = x"yes"; then
2769            need_libio=no
2770            need_wlibio=no        
2771         else
2772            need_libio=yes
2773            # bkoz XXX need to add checks to enable this
2774            # pme XXX here's a first pass at such a check
2775            if test x$enable_c_mbchar != xno; then
2776               need_wlibio=yes
2777            else
2778               need_wlibio=no
2779            fi
2780         fi
2781
2782       else
2783          # Using libio, but <libio.h> doesn't exist on the target system. . .
2784          need_libio=yes
2785          # bkoz XXX need to add checks to enable this
2786          # pme XXX here's a first pass at such a check
2787          if test x$enable_c_mbchar != xno; then
2788              need_wlibio=yes
2789          else
2790              need_wlibio=no
2791          fi
2792       fi
2793       ;;
2794     xstdio | x | xno | xnone | xyes)
2795       # default
2796       CSTDIO_H=config/c_io_stdio.h
2797       CSTDIO_CC=config/c_io_stdio.cc
2798       echo "$ac_t""stdio" 1>&6
2799
2800       # We're not using stdio.
2801       need_libio=no
2802       need_wlibio=no
2803       # Wide characters are not supported with this package.
2804       enable_c_mbchar=no
2805       ;;
2806     *)
2807       echo "$enable_cstdio is an unknown io package" 1>&2
2808       exit 1
2809       ;;
2810   esac
2811   
2812   
2813
2814   # 2000-08-04 bkoz hack
2815   CCODECVT_C=config/c_io_libio_codecvt.c
2816   
2817   # 2000-08-04 bkoz hack
2818
2819   
2820
2821 if test "$need_libio" = yes; then
2822   GLIBCPP_NEED_LIBIO_TRUE=
2823   GLIBCPP_NEED_LIBIO_FALSE='#'
2824 else
2825   GLIBCPP_NEED_LIBIO_TRUE='#'
2826   GLIBCPP_NEED_LIBIO_FALSE=
2827 fi
2828   
2829
2830 if test "$need_wlibio" = yes; then
2831   GLIBCPP_NEED_WLIBIO_TRUE=
2832   GLIBCPP_NEED_WLIBIO_FALSE='#'
2833 else
2834   GLIBCPP_NEED_WLIBIO_TRUE='#'
2835   GLIBCPP_NEED_WLIBIO_FALSE=
2836 fi
2837   if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2838         libio_la=../libio/libio.la
2839   else
2840         libio_la=
2841   fi
2842   
2843
2844 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2845 if test "${enable_c_mbchar+set}" = set; then
2846   enableval="$enable_c_mbchar"
2847   case "$enableval" in
2848  yes) enable_c_mbchar=yes ;;
2849  no)  enable_c_mbchar=no ;;
2850  *)   { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2851  esac
2852 else
2853   enable_c_mbchar=yes
2854 fi
2855
2856   
2857   # Check whether --enable-long-long or --disable-long-long was given.
2858 if test "${enable_long_long+set}" = set; then
2859   enableval="$enable_long_long"
2860     case "$enableval" in
2861    yes) enable_long_long=yes ;;
2862    no)  enable_long_long=no ;;
2863    *)   { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2864    esac
2865 else
2866   enable_long_long=yes
2867 fi
2868
2869   # Check for the existance of functions used if long long is enabled.
2870   echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2871 echo "configure:2872: checking for strtoll" >&5
2872 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2873   echo $ac_n "(cached) $ac_c" 1>&6
2874 else
2875   cat > conftest.$ac_ext <<EOF
2876 #line 2877 "configure"
2877 #include "confdefs.h"
2878 /* System header to define __stub macros and hopefully few prototypes,
2879     which can conflict with char strtoll(); below.  */
2880 #include <assert.h>
2881 /* Override any gcc2 internal prototype to avoid an error.  */
2882 /* We use char because int might match the return type of a gcc2
2883     builtin and then its argument prototype would still apply.  */
2884 char strtoll();
2885
2886 int main() {
2887
2888 /* The GNU C library defines this for functions which it implements
2889     to always fail with ENOSYS.  Some functions are actually named
2890     something starting with __ and the normal name is an alias.  */
2891 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2892 choke me
2893 #else
2894 strtoll();
2895 #endif
2896
2897 ; return 0; }
2898 EOF
2899 if { (eval echo configure:2900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2900   rm -rf conftest*
2901   eval "ac_cv_func_strtoll=yes"
2902 else
2903   echo "configure: failed program was:" >&5
2904   cat conftest.$ac_ext >&5
2905   rm -rf conftest*
2906   eval "ac_cv_func_strtoll=no"
2907 fi
2908 rm -f conftest*
2909 fi
2910
2911 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2912   echo "$ac_t""yes" 1>&6
2913   :
2914 else
2915   echo "$ac_t""no" 1>&6
2916 ac_strtoll=no
2917 fi
2918
2919   echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2920 echo "configure:2921: checking for strtoull" >&5
2921 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2922   echo $ac_n "(cached) $ac_c" 1>&6
2923 else
2924   cat > conftest.$ac_ext <<EOF
2925 #line 2926 "configure"
2926 #include "confdefs.h"
2927 /* System header to define __stub macros and hopefully few prototypes,
2928     which can conflict with char strtoull(); below.  */
2929 #include <assert.h>
2930 /* Override any gcc2 internal prototype to avoid an error.  */
2931 /* We use char because int might match the return type of a gcc2
2932     builtin and then its argument prototype would still apply.  */
2933 char strtoull();
2934
2935 int main() {
2936
2937 /* The GNU C library defines this for functions which it implements
2938     to always fail with ENOSYS.  Some functions are actually named
2939     something starting with __ and the normal name is an alias.  */
2940 #if defined (__stub_strtoull) || defined (__stub___strtoull)
2941 choke me
2942 #else
2943 strtoull();
2944 #endif
2945
2946 ; return 0; }
2947 EOF
2948 if { (eval echo configure:2949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2949   rm -rf conftest*
2950   eval "ac_cv_func_strtoull=yes"
2951 else
2952   echo "configure: failed program was:" >&5
2953   cat conftest.$ac_ext >&5
2954   rm -rf conftest*
2955   eval "ac_cv_func_strtoull=no"
2956 fi
2957 rm -f conftest*
2958 fi
2959
2960 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
2961   echo "$ac_t""yes" 1>&6
2962   :
2963 else
2964   echo "$ac_t""no" 1>&6
2965 ac_strtoull=no
2966 fi
2967
2968
2969   echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
2970 echo "configure:2971: checking for enabled long long" >&5
2971   if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then 
2972     enable_long_long=no; 
2973   fi; 
2974   echo "$ac_t""$enable_long_long" 1>&6
2975
2976     if test x"$enable_long_long" = xyes; then
2977     cat >> confdefs.h <<\EOF
2978 #define _GLIBCPP_USE_LONG_LONG 1
2979 EOF
2980
2981   fi
2982
2983 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
2984 echo "configure:2985: checking for enabled cshadow headers" >&5
2985 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
2986 if test "${enable_cshadow_headers+set}" = set; then
2987   enableval="$enable_cshadow_headers"
2988   
2989   case "$enableval" in
2990    yes) enable_cshadow_headers=yes 
2991         ;;
2992    no)  enable_cshadow_headers=no 
2993         ;;
2994    *)   { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; } 
2995         ;;
2996   esac
2997 else
2998   enable_cshadow_headers=no
2999 fi
3000
3001   echo "$ac_t""$enable_cshadow_headers" 1>&6
3002
3003       case "$enable_cshadow_headers" in
3004     yes) 
3005         CSHADOW_FLAGS="-fno-builtin"
3006         C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3007         cat >> confdefs.h <<\EOF
3008 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3009 EOF
3010
3011         ;;
3012     no)   
3013         CSHADOW_FLAGS=""
3014         C_INCLUDE_DIR='${top_srcdir}/include/c'
3015         ;;
3016   esac
3017
3018   
3019   
3020   
3021
3022 if test "$enable_cshadow_headers" = yes; then
3023   GLIBCPP_USE_CSHADOW_TRUE=
3024   GLIBCPP_USE_CSHADOW_FALSE='#'
3025 else
3026   GLIBCPP_USE_CSHADOW_TRUE='#'
3027   GLIBCPP_USE_CSHADOW_FALSE=
3028 fi
3029
3030
3031       echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3032 echo "configure:3033: checking for threads package to use" >&5
3033   # Check whether --enable-threads or --disable-threads was given.
3034 if test "${enable_threads+set}" = set; then
3035   enableval="$enable_threads"
3036   if test x$enable_threads = xno; then
3037     enable_threads=''
3038   fi
3039 else
3040   enable_threads=''
3041 fi
3042
3043
3044   enable_threads_flag=$enable_threads
3045
3046     case x${enable_threads_flag} in
3047         x | xno | xnone)
3048                 # No threads
3049                 target_thread_file='single'
3050                 ;;
3051         xyes)
3052                 # default
3053                 target_thread_file='posix'
3054                 ;;
3055         xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3056         xsolaris | xwin32 | xdce | xvxworks)
3057                 target_thread_file=$enable_threads_flag
3058                 ;;
3059         *)
3060                 echo "$enable_threads is an unknown thread package" 1>&2
3061                 exit 1
3062                 ;;
3063   esac
3064
3065     THREADH=
3066   case "$target_thread_file" in
3067     no | none | single)
3068       THREADH=threads-no.h
3069       ;;
3070     posix | pthreads)
3071       THREADH=threads-posix.h
3072       ;;
3073     decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3074       { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3075       ;;
3076     *)
3077       { echo "configure: error: $THREADS is an unsupported/unknown thread package" 1>&2; exit 1; }
3078       ;;
3079   esac
3080   echo "$ac_t""$THREADH" 1>&6
3081
3082   
3083   if test $THREADH != threads-no.h; then
3084     cat >> confdefs.h <<\EOF
3085 #define _GLIBCPP_USE_THREADS 1
3086 EOF
3087
3088   fi
3089
3090
3091     echo $ac_n "checking for atomicity.h""... $ac_c" 1>&6
3092 echo "configure:3093: checking for atomicity.h" >&5
3093     # We have ATOMICITY already from GLIBCPP_CONFIGURE
3094     if test "$ATOMICITYH" = "config/cpu/generic"; then
3095       echo "configure: warning: No ATOMICITY settings found, using generic atomic ops." 1>&2
3096     fi
3097     echo "$ac_t""$ATOMICITYH/bits/atomicity.h" 1>&6
3098     
3099
3100 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3101 if test "${enable_cxx_flags+set}" = set; then
3102   enableval="$enable_cxx_flags"
3103   case "x$enableval" in
3104  xyes)   
3105         { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3106  xno|x)  
3107         enable_cxx_flags='' ;;
3108  *)      
3109         enable_cxx_flags="$enableval" ;;
3110  esac
3111 else
3112   enable_cxx_flags='none'
3113 fi
3114
3115
3116 if test "$enable_cxx_flags" = "none"; then 
3117   enable_cxx_flags=''; 
3118 fi
3119
3120 if test -n "$enable_cxx_flags"; then
3121     for f in $enable_cxx_flags; do
3122         case "$f" in
3123             -fhonor-std)  ;;
3124             -*)  ;;
3125             *)   # and we're trying to pass /what/ exactly?
3126                  { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3127         esac
3128     done
3129 fi
3130 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3131
3132
3133
3134
3135 if test -n "$with_cross_host"; then
3136
3137   # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
3138   # may not work correctly, because the compiler may not be able to
3139   # link executables.
3140
3141   xcompiling=1
3142   NATIVE=no
3143   # If Canadian cross, then don't pick up tools from the build
3144   # directory.
3145   if test "$build" != "$with_cross_host"; then
3146     CANADIAN=yes
3147     NULL_TARGET=yes
3148   else
3149     CANADIAN=no
3150     NULL_TARGET=no
3151   fi
3152
3153   case "$target_alias" in
3154     *-wince-*)
3155         # Configure for Microsoft Windows CE, or whatever they are
3156         # currently calling it.
3157         cat >> confdefs.h <<\EOF
3158 #define HAVE_FLOAT_H 1
3159 EOF
3160
3161
3162         cat >> confdefs.h <<\EOF
3163 #define HAVE__FINITE 1
3164 EOF
3165
3166         cat >> confdefs.h <<\EOF
3167 #define HAVE__ISNAN 1
3168 EOF
3169
3170         cat >> confdefs.h <<\EOF
3171 #define HAVE__COPYSIGN 1
3172 EOF
3173
3174         cat >> confdefs.h <<\EOF
3175 #define HAVE__FPCLASS 1
3176 EOF
3177
3178         cat >> confdefs.h <<\EOF
3179 #define HAVE_MODF 1
3180 EOF
3181
3182
3183         ctype_include_dir="config/os/wince"
3184         
3185         
3186         
3187
3188
3189         cat >> confdefs.h <<\EOF
3190 #define _GLIBCPP_NEED_MBSTATE_T 1
3191 EOF
3192
3193
3194         cat >> confdefs.h <<\EOF
3195 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3196 EOF
3197
3198         cat >> confdefs.h <<\EOF
3199 #define _GLIBCPP_BUGGY_COMPLEX 1
3200 EOF
3201
3202         ;;
3203     *)
3204         # We assume newlib.  This lets us hard-code the functions we know
3205         # we'll have.
3206         cat >> confdefs.h <<\EOF
3207 #define HAVE_FINITE 1
3208 EOF
3209
3210         cat >> confdefs.h <<\EOF
3211 #define HAVE_ISNAN 1
3212 EOF
3213
3214         cat >> confdefs.h <<\EOF
3215 #define HAVE_ISNANF 1
3216 EOF
3217
3218         cat >> confdefs.h <<\EOF
3219 #define HAVE_ISINF 1
3220 EOF
3221
3222         cat >> confdefs.h <<\EOF
3223 #define HAVE_ISINFF 1
3224 EOF
3225
3226
3227         ctype_include_dir="config/os/newlib"
3228         
3229         
3230         
3231
3232         cat >> confdefs.h <<\EOF
3233 #define _GLIBCPP_NEED_MBSTATE_T 1
3234 EOF
3235
3236
3237         cat >> confdefs.h <<\EOF
3238 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3239 EOF
3240
3241         cat >> confdefs.h <<\EOF
3242 #define _GLIBCPP_BUGGY_COMPLEX 1
3243 EOF
3244
3245         # need to check for faster f versions of math functions, ie sinf?
3246         ;;
3247   esac
3248 else
3249
3250   # We are being configured natively. We can do more elaborate tests
3251   # that include AC_TRY_COMPILE now, as the linker is assumed to be
3252   # working.
3253
3254   xcompiling=0
3255   NATIVE=yes
3256   CANADIAN=no
3257   NULL_TARGET=no
3258
3259   # Check for available headers.
3260   for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3261   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
3262 do
3263 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3264 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3265 echo "configure:3266: checking for $ac_hdr" >&5
3266 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3267   echo $ac_n "(cached) $ac_c" 1>&6
3268 else
3269   cat > conftest.$ac_ext <<EOF
3270 #line 3271 "configure"
3271 #include "confdefs.h"
3272 #include <$ac_hdr>
3273 EOF
3274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3275 { (eval echo configure:3276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3277 if test -z "$ac_err"; then
3278   rm -rf conftest*
3279   eval "ac_cv_header_$ac_safe=yes"
3280 else
3281   echo "$ac_err" >&5
3282   echo "configure: failed program was:" >&5
3283   cat conftest.$ac_ext >&5
3284   rm -rf conftest*
3285   eval "ac_cv_header_$ac_safe=no"
3286 fi
3287 rm -f conftest*
3288 fi
3289 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3290   echo "$ac_t""yes" 1>&6
3291     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3292   cat >> confdefs.h <<EOF
3293 #define $ac_tr_hdr 1
3294 EOF
3295  
3296 else
3297   echo "$ac_t""no" 1>&6
3298 fi
3299 done
3300
3301
3302   
3303   # All these tests are for C++; save the language and the compiler flags.
3304   # The CXXFLAGS thing is suspicious, but based on similar bits 
3305   # found in GLIBCPP_CONFIGURE.
3306   
3307   ac_ext=C
3308 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3309 ac_cpp='$CXXCPP $CPPFLAGS'
3310 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3311 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3312 cross_compiling=$ac_cv_prog_cxx_cross
3313
3314   ac_test_CXXFLAGS="${CXXFLAGS+set}"
3315   ac_save_CXXFLAGS="$CXXFLAGS"
3316
3317   # Check for maintainer-mode bits.
3318   if test x"$USE_MAINTAINER_MODE" = xno; then
3319     WERROR=''
3320   else
3321     WERROR='-Werror'
3322   fi
3323
3324   # Check for more sophisticated diagnostic control.
3325   echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3326 echo "configure:3327: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3327   CXXFLAGS='-Werror -fdiagnostics-show-location=once'
3328   cat > conftest.$ac_ext <<EOF
3329 #line 3330 "configure"
3330 #include "confdefs.h"
3331
3332 int main() {
3333 int foo;
3334   
3335 ; return 0; }
3336 EOF
3337 if { (eval echo configure:3338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3338   rm -rf conftest*
3339   ac_gabydiags=yes
3340 else
3341   echo "configure: failed program was:" >&5
3342   cat conftest.$ac_ext >&5
3343   rm -rf conftest*
3344   ac_gabydiags=no
3345 fi
3346 rm -f conftest*
3347   if test "$ac_test_CXXFLAGS" = set; then
3348     CXXFLAGS="$ac_save_CXXFLAGS"
3349   else
3350     # this is the suspicious part
3351     CXXFLAGS=''
3352   fi
3353   if test "$ac_gabydiags" = "yes"; then
3354     WFMT_FLAGS='-fdiagnostics-show-location=once'
3355   fi
3356   echo "$ac_t""$ac_gabydiags" 1>&6
3357
3358   # Check for -ffunction-sections -fdata-sections
3359   echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3360 echo "configure:3361: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3361   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
3362   cat > conftest.$ac_ext <<EOF
3363 #line 3364 "configure"
3364 #include "confdefs.h"
3365
3366 int main() {
3367 int foo;
3368   
3369 ; return 0; }
3370 EOF
3371 if { (eval echo configure:3372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3372   rm -rf conftest*
3373   ac_fdsections=yes
3374 else
3375   echo "configure: failed program was:" >&5
3376   cat conftest.$ac_ext >&5
3377   rm -rf conftest*
3378   ac_fdsections=no
3379 fi
3380 rm -f conftest*
3381   if test "$ac_test_CXXFLAGS" = set; then
3382     CXXFLAGS="$ac_save_CXXFLAGS"
3383   else
3384     # this is the suspicious part
3385     CXXFLAGS=''
3386   fi
3387   if test "$ac_fdsections" = "yes"; then
3388     SECTION_FLAGS='-ffunction-sections -fdata-sections'
3389   fi
3390   echo "$ac_t""$ac_fdsections" 1>&6
3391
3392   ac_ext=c
3393 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3394 ac_cpp='$CPP $CPPFLAGS'
3395 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3396 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3397 cross_compiling=$ac_cv_prog_cc_cross
3398
3399   
3400   
3401   
3402
3403   
3404   # If we're not using GNU ld, then there's no point in even trying these
3405   # tests.  Check for that first.  We should have already tested for gld
3406   # by now (in libtool), but require it now just to be safe...
3407   SECTION_LDFLAGS=''
3408   OPT_LDFLAGS=''
3409   
3410
3411   # Set --gc-sections.
3412   if test "$ac_cv_prog_gnu_ld" = "broken"; then
3413     # GNU ld it is!  Joy and bunny rabbits!
3414
3415     # All these tests are for C++; save the language and the compiler flags.
3416     # Need to do this so that g++ won't try to link in libstdc++
3417     ac_test_CFLAGS="${CFLAGS+set}"
3418     ac_save_CFLAGS="$CFLAGS"
3419     CFLAGS='-x c++  -Wl,--gc-sections'
3420
3421     # Check for -Wl,--gc-sections
3422     # XXX This test is broken at the moment, as symbols required for
3423     # linking are now in libsupc++ (not built yet.....). In addition, 
3424     # this test has cored on solaris in the past. In addition,
3425     # --gc-sections doesn't really work at the moment (keeps on discarding
3426     # used sections, first .eh_frame and now some of the glibc sections for
3427     # iconv). Bzzzzt. Thanks for playing, maybe next time.
3428     echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3429 echo "configure:3430: checking for ld that supports -Wl,--gc-sections" >&5
3430     if test "$cross_compiling" = yes; then
3431   ac_sectionLDflags=yes
3432 else
3433   cat > conftest.$ac_ext <<EOF
3434 #line 3435 "configure"
3435 #include "confdefs.h"
3436
3437      int main(void) 
3438      {
3439        try { throw 1; }
3440        catch (...) { };
3441        return 0;
3442      }
3443     
3444 EOF
3445 if { (eval echo configure:3446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3446 then
3447   ac_sectionLDflags=yes
3448 else
3449   echo "configure: failed program was:" >&5
3450   cat conftest.$ac_ext >&5
3451   rm -fr conftest*
3452   ac_sectionLFflags=no
3453 fi
3454 rm -fr conftest*
3455 fi
3456
3457     if test "$ac_test_CFLAGS" = set; then
3458       CFLAGS="$ac_save_CFLAGS"
3459     else
3460       # this is the suspicious part
3461       CFLAGS=''
3462     fi
3463     if test "$ac_sectionLDflags" = "yes"; then
3464       SECTION_LDFLAGS='-Wl,--gc-sections'
3465     fi
3466     echo "$ac_t""$ac_sectionLDflags" 1>&6
3467   fi
3468
3469   # Set linker optimization flags.
3470   if test "$ac_cv_prog_gnu_ld" = "yes"; then
3471     OPT_LDFLAGS='-Wl,-O1'
3472   fi
3473
3474   
3475   
3476
3477   
3478       
3479   echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3480 echo "configure:3481: checking for __builtin_abs declaration" >&5
3481   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3482   echo $ac_n "(cached) $ac_c" 1>&6
3483 else
3484   
3485     
3486     ac_ext=C
3487 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3488 ac_cpp='$CXXCPP $CPPFLAGS'
3489 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3490 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3491 cross_compiling=$ac_cv_prog_cxx_cross
3492
3493     cat > conftest.$ac_ext <<EOF
3494 #line 3495 "configure"
3495 #include "confdefs.h"
3496 #include <math.h>
3497 int main() {
3498  __builtin_abs(0);
3499 ; return 0; }
3500 EOF
3501 if { (eval echo configure:3502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3502   rm -rf conftest*
3503   glibcpp_cv_func___builtin_abs_use=yes
3504 else
3505   echo "configure: failed program was:" >&5
3506   cat conftest.$ac_ext >&5
3507   rm -rf conftest*
3508   glibcpp_cv_func___builtin_abs_use=no
3509 fi
3510 rm -f conftest*
3511     ac_ext=c
3512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3513 ac_cpp='$CPP $CPPFLAGS'
3514 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3515 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3516 cross_compiling=$ac_cv_prog_cc_cross
3517
3518   
3519 fi
3520
3521   echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3522   if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3523     echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3524 echo "configure:3525: checking for __builtin_abs linkage" >&5
3525     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3526   echo $ac_n "(cached) $ac_c" 1>&6
3527 else
3528   
3529       cat > conftest.$ac_ext <<EOF
3530 #line 3531 "configure"
3531 #include "confdefs.h"
3532 #include <math.h>
3533 int main() {
3534  __builtin_abs(0);
3535 ; return 0; }
3536 EOF
3537 if { (eval echo configure:3538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3538   rm -rf conftest*
3539   glibcpp_cv_func___builtin_abs_link=yes
3540 else
3541   echo "configure: failed program was:" >&5
3542   cat conftest.$ac_ext >&5
3543   rm -rf conftest*
3544   glibcpp_cv_func___builtin_abs_link=no
3545 fi
3546 rm -f conftest*
3547     
3548 fi
3549
3550     echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3551     if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3552       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3553       cat >> confdefs.h <<EOF
3554 #define ${ac_tr_func} 1
3555 EOF
3556
3557     fi
3558   fi
3559
3560   
3561   echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3562 echo "configure:3563: checking for __builtin_fabsf declaration" >&5
3563   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3564   echo $ac_n "(cached) $ac_c" 1>&6
3565 else
3566   
3567     
3568     ac_ext=C
3569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3570 ac_cpp='$CXXCPP $CPPFLAGS'
3571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3573 cross_compiling=$ac_cv_prog_cxx_cross
3574
3575     cat > conftest.$ac_ext <<EOF
3576 #line 3577 "configure"
3577 #include "confdefs.h"
3578 #include <math.h>
3579 int main() {
3580  __builtin_fabsf(0);
3581 ; return 0; }
3582 EOF
3583 if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3584   rm -rf conftest*
3585   glibcpp_cv_func___builtin_fabsf_use=yes
3586 else
3587   echo "configure: failed program was:" >&5
3588   cat conftest.$ac_ext >&5
3589   rm -rf conftest*
3590   glibcpp_cv_func___builtin_fabsf_use=no
3591 fi
3592 rm -f conftest*
3593     ac_ext=c
3594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3595 ac_cpp='$CPP $CPPFLAGS'
3596 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3597 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3598 cross_compiling=$ac_cv_prog_cc_cross
3599
3600   
3601 fi
3602
3603   echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3604   if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3605     echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3606 echo "configure:3607: checking for __builtin_fabsf linkage" >&5
3607     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3608   echo $ac_n "(cached) $ac_c" 1>&6
3609 else
3610   
3611       cat > conftest.$ac_ext <<EOF
3612 #line 3613 "configure"
3613 #include "confdefs.h"
3614 #include <math.h>
3615 int main() {
3616  __builtin_fabsf(0);
3617 ; return 0; }
3618 EOF
3619 if { (eval echo configure:3620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3620   rm -rf conftest*
3621   glibcpp_cv_func___builtin_fabsf_link=yes
3622 else
3623   echo "configure: failed program was:" >&5
3624   cat conftest.$ac_ext >&5
3625   rm -rf conftest*
3626   glibcpp_cv_func___builtin_fabsf_link=no
3627 fi
3628 rm -f conftest*
3629     
3630 fi
3631
3632     echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3633     if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3634       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3635       cat >> confdefs.h <<EOF
3636 #define ${ac_tr_func} 1
3637 EOF
3638
3639     fi
3640   fi
3641
3642   
3643   echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3644 echo "configure:3645: checking for __builtin_fabs declaration" >&5
3645   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3646   echo $ac_n "(cached) $ac_c" 1>&6
3647 else
3648   
3649     
3650     ac_ext=C
3651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3652 ac_cpp='$CXXCPP $CPPFLAGS'
3653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3655 cross_compiling=$ac_cv_prog_cxx_cross
3656
3657     cat > conftest.$ac_ext <<EOF
3658 #line 3659 "configure"
3659 #include "confdefs.h"
3660 #include <math.h>
3661 int main() {
3662  __builtin_fabs(0);
3663 ; return 0; }
3664 EOF
3665 if { (eval echo configure:3666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3666   rm -rf conftest*
3667   glibcpp_cv_func___builtin_fabs_use=yes
3668 else
3669   echo "configure: failed program was:" >&5
3670   cat conftest.$ac_ext >&5
3671   rm -rf conftest*
3672   glibcpp_cv_func___builtin_fabs_use=no
3673 fi
3674 rm -f conftest*
3675     ac_ext=c
3676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3680 cross_compiling=$ac_cv_prog_cc_cross
3681
3682   
3683 fi
3684
3685   echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3686   if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3687     echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3688 echo "configure:3689: checking for __builtin_fabs linkage" >&5
3689     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3690   echo $ac_n "(cached) $ac_c" 1>&6
3691 else
3692   
3693       cat > conftest.$ac_ext <<EOF
3694 #line 3695 "configure"
3695 #include "confdefs.h"
3696 #include <math.h>
3697 int main() {
3698  __builtin_fabs(0);
3699 ; return 0; }
3700 EOF
3701 if { (eval echo configure:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3702   rm -rf conftest*
3703   glibcpp_cv_func___builtin_fabs_link=yes
3704 else
3705   echo "configure: failed program was:" >&5
3706   cat conftest.$ac_ext >&5
3707   rm -rf conftest*
3708   glibcpp_cv_func___builtin_fabs_link=no
3709 fi
3710 rm -f conftest*
3711     
3712 fi
3713
3714     echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3715     if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3716       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3717       cat >> confdefs.h <<EOF
3718 #define ${ac_tr_func} 1
3719 EOF
3720
3721     fi
3722   fi
3723
3724   
3725   echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3726 echo "configure:3727: checking for __builtin_fabsl declaration" >&5
3727   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3728   echo $ac_n "(cached) $ac_c" 1>&6
3729 else
3730   
3731     
3732     ac_ext=C
3733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3734 ac_cpp='$CXXCPP $CPPFLAGS'
3735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3737 cross_compiling=$ac_cv_prog_cxx_cross
3738
3739     cat > conftest.$ac_ext <<EOF
3740 #line 3741 "configure"
3741 #include "confdefs.h"
3742 #include <math.h>
3743 int main() {
3744  __builtin_fabsl(0);
3745 ; return 0; }
3746 EOF
3747 if { (eval echo configure:3748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3748   rm -rf conftest*
3749   glibcpp_cv_func___builtin_fabsl_use=yes
3750 else
3751   echo "configure: failed program was:" >&5
3752   cat conftest.$ac_ext >&5
3753   rm -rf conftest*
3754   glibcpp_cv_func___builtin_fabsl_use=no
3755 fi
3756 rm -f conftest*
3757     ac_ext=c
3758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3759 ac_cpp='$CPP $CPPFLAGS'
3760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3762 cross_compiling=$ac_cv_prog_cc_cross
3763
3764   
3765 fi
3766
3767   echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3768   if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3769     echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3770 echo "configure:3771: checking for __builtin_fabsl linkage" >&5
3771     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3772   echo $ac_n "(cached) $ac_c" 1>&6
3773 else
3774   
3775       cat > conftest.$ac_ext <<EOF
3776 #line 3777 "configure"
3777 #include "confdefs.h"
3778 #include <math.h>
3779 int main() {
3780  __builtin_fabsl(0);
3781 ; return 0; }
3782 EOF
3783 if { (eval echo configure:3784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3784   rm -rf conftest*
3785   glibcpp_cv_func___builtin_fabsl_link=yes
3786 else
3787   echo "configure: failed program was:" >&5
3788   cat conftest.$ac_ext >&5
3789   rm -rf conftest*
3790   glibcpp_cv_func___builtin_fabsl_link=no
3791 fi
3792 rm -f conftest*
3793     
3794 fi
3795
3796     echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3797     if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3798       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3799       cat >> confdefs.h <<EOF
3800 #define ${ac_tr_func} 1
3801 EOF
3802
3803     fi
3804   fi
3805
3806   
3807   echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3808 echo "configure:3809: checking for __builtin_labs declaration" >&5
3809   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
3810   echo $ac_n "(cached) $ac_c" 1>&6
3811 else
3812   
3813     
3814     ac_ext=C
3815 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3816 ac_cpp='$CXXCPP $CPPFLAGS'
3817 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3818 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3819 cross_compiling=$ac_cv_prog_cxx_cross
3820
3821     cat > conftest.$ac_ext <<EOF
3822 #line 3823 "configure"
3823 #include "confdefs.h"
3824 #include <math.h>
3825 int main() {
3826  __builtin_labs(0);
3827 ; return 0; }
3828 EOF
3829 if { (eval echo configure:3830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3830   rm -rf conftest*
3831   glibcpp_cv_func___builtin_labs_use=yes
3832 else
3833   echo "configure: failed program was:" >&5
3834   cat conftest.$ac_ext >&5
3835   rm -rf conftest*
3836   glibcpp_cv_func___builtin_labs_use=no
3837 fi
3838 rm -f conftest*
3839     ac_ext=c
3840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3841 ac_cpp='$CPP $CPPFLAGS'
3842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3844 cross_compiling=$ac_cv_prog_cc_cross
3845
3846   
3847 fi
3848
3849   echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3850   if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3851     echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3852 echo "configure:3853: checking for __builtin_labs linkage" >&5
3853     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3854   echo $ac_n "(cached) $ac_c" 1>&6
3855 else
3856   
3857       cat > conftest.$ac_ext <<EOF
3858 #line 3859 "configure"
3859 #include "confdefs.h"
3860 #include <math.h>
3861 int main() {
3862  __builtin_labs(0);
3863 ; return 0; }
3864 EOF
3865 if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3866   rm -rf conftest*
3867   glibcpp_cv_func___builtin_labs_link=yes
3868 else
3869   echo "configure: failed program was:" >&5
3870   cat conftest.$ac_ext >&5
3871   rm -rf conftest*
3872   glibcpp_cv_func___builtin_labs_link=no
3873 fi
3874 rm -f conftest*
3875     
3876 fi
3877
3878     echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3879     if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3880       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3881       cat >> confdefs.h <<EOF
3882 #define ${ac_tr_func} 1
3883 EOF
3884
3885     fi
3886   fi
3887
3888
3889   
3890   echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3891 echo "configure:3892: checking for __builtin_sqrtf declaration" >&5
3892   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3893   echo $ac_n "(cached) $ac_c" 1>&6
3894 else
3895   
3896     
3897     ac_ext=C
3898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3899 ac_cpp='$CXXCPP $CPPFLAGS'
3900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3902 cross_compiling=$ac_cv_prog_cxx_cross
3903
3904     cat > conftest.$ac_ext <<EOF
3905 #line 3906 "configure"
3906 #include "confdefs.h"
3907 #include <math.h>
3908 int main() {
3909  __builtin_sqrtf(0);
3910 ; return 0; }
3911 EOF
3912 if { (eval echo configure:3913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3913   rm -rf conftest*
3914   glibcpp_cv_func___builtin_sqrtf_use=yes
3915 else
3916   echo "configure: failed program was:" >&5
3917   cat conftest.$ac_ext >&5
3918   rm -rf conftest*
3919   glibcpp_cv_func___builtin_sqrtf_use=no
3920 fi
3921 rm -f conftest*
3922     ac_ext=c
3923 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3924 ac_cpp='$CPP $CPPFLAGS'
3925 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3926 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3927 cross_compiling=$ac_cv_prog_cc_cross
3928
3929   
3930 fi
3931
3932   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
3933   if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
3934     echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
3935 echo "configure:3936: checking for __builtin_sqrtf linkage" >&5
3936     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
3937   echo $ac_n "(cached) $ac_c" 1>&6
3938 else
3939   
3940       cat > conftest.$ac_ext <<EOF
3941 #line 3942 "configure"
3942 #include "confdefs.h"
3943 #include <math.h>
3944 int main() {
3945  __builtin_sqrtf(0);
3946 ; return 0; }
3947 EOF
3948 if { (eval echo configure:3949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3949   rm -rf conftest*
3950   glibcpp_cv_func___builtin_sqrtf_link=yes
3951 else
3952   echo "configure: failed program was:" >&5
3953   cat conftest.$ac_ext >&5
3954   rm -rf conftest*
3955   glibcpp_cv_func___builtin_sqrtf_link=no
3956 fi
3957 rm -f conftest*
3958     
3959 fi
3960
3961     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
3962     if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
3963       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3964       cat >> confdefs.h <<EOF
3965 #define ${ac_tr_func} 1
3966 EOF
3967
3968     fi
3969   fi
3970
3971   
3972   echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
3973 echo "configure:3974: checking for __builtin_fsqrt declaration" >&5
3974   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
3975   echo $ac_n "(cached) $ac_c" 1>&6
3976 else
3977   
3978     
3979     ac_ext=C
3980 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3981 ac_cpp='$CXXCPP $CPPFLAGS'
3982 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3983 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3984 cross_compiling=$ac_cv_prog_cxx_cross
3985
3986     cat > conftest.$ac_ext <<EOF
3987 #line 3988 "configure"
3988 #include "confdefs.h"
3989 #include <math.h>
3990 int main() {
3991  __builtin_fsqrt(0);
3992 ; return 0; }
3993 EOF
3994 if { (eval echo configure:3995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3995   rm -rf conftest*
3996   glibcpp_cv_func___builtin_fsqrt_use=yes
3997 else
3998   echo "configure: failed program was:" >&5
3999   cat conftest.$ac_ext >&5
4000   rm -rf conftest*
4001   glibcpp_cv_func___builtin_fsqrt_use=no
4002 fi
4003 rm -f conftest*
4004     ac_ext=c
4005 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4006 ac_cpp='$CPP $CPPFLAGS'
4007 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4008 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4009 cross_compiling=$ac_cv_prog_cc_cross
4010
4011   
4012 fi
4013
4014   echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4015   if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4016     echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4017 echo "configure:4018: checking for __builtin_fsqrt linkage" >&5
4018     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4019   echo $ac_n "(cached) $ac_c" 1>&6
4020 else
4021   
4022       cat > conftest.$ac_ext <<EOF
4023 #line 4024 "configure"
4024 #include "confdefs.h"
4025 #include <math.h>
4026 int main() {
4027  __builtin_fsqrt(0);
4028 ; return 0; }
4029 EOF
4030 if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4031   rm -rf conftest*
4032   glibcpp_cv_func___builtin_fsqrt_link=yes
4033 else
4034   echo "configure: failed program was:" >&5
4035   cat conftest.$ac_ext >&5
4036   rm -rf conftest*
4037   glibcpp_cv_func___builtin_fsqrt_link=no
4038 fi
4039 rm -f conftest*
4040     
4041 fi
4042
4043     echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4044     if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4045       ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4046       cat >> confdefs.h <<EOF
4047 #define ${ac_tr_func} 1
4048 EOF
4049
4050     fi
4051   fi
4052
4053   
4054   echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4055 echo "configure:4056: checking for __builtin_sqrtl declaration" >&5
4056   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4057   echo $ac_n "(cached) $ac_c" 1>&6
4058 else
4059   
4060     
4061     ac_ext=C
4062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4063 ac_cpp='$CXXCPP $CPPFLAGS'
4064 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4065 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4066 cross_compiling=$ac_cv_prog_cxx_cross
4067
4068     cat > conftest.$ac_ext <<EOF
4069 #line 4070 "configure"
4070 #include "confdefs.h"
4071 #include <math.h>
4072 int main() {
4073  __builtin_sqrtl(0);
4074 ; return 0; }
4075 EOF
4076 if { (eval echo configure:4077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4077   rm -rf conftest*
4078   glibcpp_cv_func___builtin_sqrtl_use=yes
4079 else
4080   echo "configure: failed program was:" >&5
4081   cat conftest.$ac_ext >&5
4082   rm -rf conftest*
4083   glibcpp_cv_func___builtin_sqrtl_use=no
4084 fi
4085 rm -f conftest*
4086     ac_ext=c
4087 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4088 ac_cpp='$CPP $CPPFLAGS'
4089 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4090 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4091 cross_compiling=$ac_cv_prog_cc_cross
4092
4093   
4094 fi
4095
4096   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4097   if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4098     echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4099 echo "configure:4100: checking for __builtin_sqrtl linkage" >&5
4100     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4101   echo $ac_n "(cached) $ac_c" 1>&6
4102 else
4103   
4104       cat > conftest.$ac_ext <<EOF
4105 #line 4106 "configure"
4106 #include "confdefs.h"
4107 #include <math.h>
4108 int main() {
4109  __builtin_sqrtl(0);
4110 ; return 0; }
4111 EOF
4112 if { (eval echo configure:4113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4113   rm -rf conftest*
4114   glibcpp_cv_func___builtin_sqrtl_link=yes
4115 else
4116   echo "configure: failed program was:" >&5
4117   cat conftest.$ac_ext >&5
4118   rm -rf conftest*
4119   glibcpp_cv_func___builtin_sqrtl_link=no
4120 fi
4121 rm -f conftest*
4122     
4123 fi
4124
4125     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4126     if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4127       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4128       cat >> confdefs.h <<EOF
4129 #define ${ac_tr_func} 1
4130 EOF
4131
4132     fi
4133   fi
4134
4135
4136   
4137   echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4138 echo "configure:4139: checking for __builtin_sinf declaration" >&5
4139   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4140   echo $ac_n "(cached) $ac_c" 1>&6
4141 else
4142   
4143     
4144     ac_ext=C
4145 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4146 ac_cpp='$CXXCPP $CPPFLAGS'
4147 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4148 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4149 cross_compiling=$ac_cv_prog_cxx_cross
4150
4151     cat > conftest.$ac_ext <<EOF
4152 #line 4153 "configure"
4153 #include "confdefs.h"
4154 #include <math.h>
4155 int main() {
4156  __builtin_sinf(0);
4157 ; return 0; }
4158 EOF
4159 if { (eval echo configure:4160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4160   rm -rf conftest*
4161   glibcpp_cv_func___builtin_sinf_use=yes
4162 else
4163   echo "configure: failed program was:" >&5
4164   cat conftest.$ac_ext >&5
4165   rm -rf conftest*
4166   glibcpp_cv_func___builtin_sinf_use=no
4167 fi
4168 rm -f conftest*
4169     ac_ext=c
4170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4171 ac_cpp='$CPP $CPPFLAGS'
4172 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4173 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4174 cross_compiling=$ac_cv_prog_cc_cross
4175
4176   
4177 fi
4178
4179   echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4180   if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4181     echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4182 echo "configure:4183: checking for __builtin_sinf linkage" >&5
4183     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4184   echo $ac_n "(cached) $ac_c" 1>&6
4185 else
4186   
4187       cat > conftest.$ac_ext <<EOF
4188 #line 4189 "configure"
4189 #include "confdefs.h"
4190 #include <math.h>
4191 int main() {
4192  __builtin_sinf(0);
4193 ; return 0; }
4194 EOF
4195 if { (eval echo configure:4196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4196   rm -rf conftest*
4197   glibcpp_cv_func___builtin_sinf_link=yes
4198 else
4199   echo "configure: failed program was:" >&5
4200   cat conftest.$ac_ext >&5
4201   rm -rf conftest*
4202   glibcpp_cv_func___builtin_sinf_link=no
4203 fi
4204 rm -f conftest*
4205     
4206 fi
4207
4208     echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4209     if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4210       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4211       cat >> confdefs.h <<EOF
4212 #define ${ac_tr_func} 1
4213 EOF
4214
4215     fi
4216   fi
4217
4218   
4219   echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4220 echo "configure:4221: checking for __builtin_sin declaration" >&5
4221   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4222   echo $ac_n "(cached) $ac_c" 1>&6
4223 else
4224   
4225     
4226     ac_ext=C
4227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4228 ac_cpp='$CXXCPP $CPPFLAGS'
4229 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4230 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4231 cross_compiling=$ac_cv_prog_cxx_cross
4232
4233     cat > conftest.$ac_ext <<EOF
4234 #line 4235 "configure"
4235 #include "confdefs.h"
4236 #include <math.h>
4237 int main() {
4238  __builtin_sin(0);
4239 ; return 0; }
4240 EOF
4241 if { (eval echo configure:4242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4242   rm -rf conftest*
4243   glibcpp_cv_func___builtin_sin_use=yes
4244 else
4245   echo "configure: failed program was:" >&5
4246   cat conftest.$ac_ext >&5
4247   rm -rf conftest*
4248   glibcpp_cv_func___builtin_sin_use=no
4249 fi
4250 rm -f conftest*
4251     ac_ext=c
4252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4253 ac_cpp='$CPP $CPPFLAGS'
4254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4256 cross_compiling=$ac_cv_prog_cc_cross
4257
4258   
4259 fi
4260
4261   echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4262   if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4263     echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4264 echo "configure:4265: checking for __builtin_sin linkage" >&5
4265     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4266   echo $ac_n "(cached) $ac_c" 1>&6
4267 else
4268   
4269       cat > conftest.$ac_ext <<EOF
4270 #line 4271 "configure"
4271 #include "confdefs.h"
4272 #include <math.h>
4273 int main() {
4274  __builtin_sin(0);
4275 ; return 0; }
4276 EOF
4277 if { (eval echo configure:4278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4278   rm -rf conftest*
4279   glibcpp_cv_func___builtin_sin_link=yes
4280 else
4281   echo "configure: failed program was:" >&5
4282   cat conftest.$ac_ext >&5
4283   rm -rf conftest*
4284   glibcpp_cv_func___builtin_sin_link=no
4285 fi
4286 rm -f conftest*
4287     
4288 fi
4289
4290     echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4291     if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4292       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4293       cat >> confdefs.h <<EOF
4294 #define ${ac_tr_func} 1
4295 EOF
4296
4297     fi
4298   fi
4299
4300   
4301   echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4302 echo "configure:4303: checking for __builtin_sinl declaration" >&5
4303   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4304   echo $ac_n "(cached) $ac_c" 1>&6
4305 else
4306   
4307     
4308     ac_ext=C
4309 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4310 ac_cpp='$CXXCPP $CPPFLAGS'
4311 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4312 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4313 cross_compiling=$ac_cv_prog_cxx_cross
4314
4315     cat > conftest.$ac_ext <<EOF
4316 #line 4317 "configure"
4317 #include "confdefs.h"
4318 #include <math.h>
4319 int main() {
4320  __builtin_sinl(0);
4321 ; return 0; }
4322 EOF
4323 if { (eval echo configure:4324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4324   rm -rf conftest*
4325   glibcpp_cv_func___builtin_sinl_use=yes
4326 else
4327   echo "configure: failed program was:" >&5
4328   cat conftest.$ac_ext >&5
4329   rm -rf conftest*
4330   glibcpp_cv_func___builtin_sinl_use=no
4331 fi
4332 rm -f conftest*
4333     ac_ext=c
4334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4335 ac_cpp='$CPP $CPPFLAGS'
4336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4338 cross_compiling=$ac_cv_prog_cc_cross
4339
4340   
4341 fi
4342
4343   echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4344   if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4345     echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4346 echo "configure:4347: checking for __builtin_sinl linkage" >&5
4347     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4348   echo $ac_n "(cached) $ac_c" 1>&6
4349 else
4350   
4351       cat > conftest.$ac_ext <<EOF
4352 #line 4353 "configure"
4353 #include "confdefs.h"
4354 #include <math.h>
4355 int main() {
4356  __builtin_sinl(0);
4357 ; return 0; }
4358 EOF
4359 if { (eval echo configure:4360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4360   rm -rf conftest*
4361   glibcpp_cv_func___builtin_sinl_link=yes
4362 else
4363   echo "configure: failed program was:" >&5
4364   cat conftest.$ac_ext >&5
4365   rm -rf conftest*
4366   glibcpp_cv_func___builtin_sinl_link=no
4367 fi
4368 rm -f conftest*
4369     
4370 fi
4371
4372     echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4373     if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4374       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4375       cat >> confdefs.h <<EOF
4376 #define ${ac_tr_func} 1
4377 EOF
4378
4379     fi
4380   fi
4381
4382
4383   
4384   echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4385 echo "configure:4386: checking for __builtin_cosf declaration" >&5
4386   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4387   echo $ac_n "(cached) $ac_c" 1>&6
4388 else
4389   
4390     
4391     ac_ext=C
4392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4393 ac_cpp='$CXXCPP $CPPFLAGS'
4394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4396 cross_compiling=$ac_cv_prog_cxx_cross
4397
4398     cat > conftest.$ac_ext <<EOF
4399 #line 4400 "configure"
4400 #include "confdefs.h"
4401 #include <math.h>
4402 int main() {
4403  __builtin_cosf(0);
4404 ; return 0; }
4405 EOF
4406 if { (eval echo configure:4407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4407   rm -rf conftest*
4408   glibcpp_cv_func___builtin_cosf_use=yes
4409 else
4410   echo "configure: failed program was:" >&5
4411   cat conftest.$ac_ext >&5
4412   rm -rf conftest*
4413   glibcpp_cv_func___builtin_cosf_use=no
4414 fi
4415 rm -f conftest*
4416     ac_ext=c
4417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4418 ac_cpp='$CPP $CPPFLAGS'
4419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4421 cross_compiling=$ac_cv_prog_cc_cross
4422
4423   
4424 fi
4425
4426   echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4427   if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4428     echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4429 echo "configure:4430: checking for __builtin_cosf linkage" >&5
4430     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4431   echo $ac_n "(cached) $ac_c" 1>&6
4432 else
4433   
4434       cat > conftest.$ac_ext <<EOF
4435 #line 4436 "configure"
4436 #include "confdefs.h"
4437 #include <math.h>
4438 int main() {
4439  __builtin_cosf(0);
4440 ; return 0; }
4441 EOF
4442 if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4443   rm -rf conftest*
4444   glibcpp_cv_func___builtin_cosf_link=yes
4445 else
4446   echo "configure: failed program was:" >&5
4447   cat conftest.$ac_ext >&5
4448   rm -rf conftest*
4449   glibcpp_cv_func___builtin_cosf_link=no
4450 fi
4451 rm -f conftest*
4452     
4453 fi
4454
4455     echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4456     if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4457       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4458       cat >> confdefs.h <<EOF
4459 #define ${ac_tr_func} 1
4460 EOF
4461
4462     fi
4463   fi
4464
4465   
4466   echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4467 echo "configure:4468: checking for __builtin_cos declaration" >&5
4468   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4469   echo $ac_n "(cached) $ac_c" 1>&6
4470 else
4471   
4472     
4473     ac_ext=C
4474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4475 ac_cpp='$CXXCPP $CPPFLAGS'
4476 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4477 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4478 cross_compiling=$ac_cv_prog_cxx_cross
4479
4480     cat > conftest.$ac_ext <<EOF
4481 #line 4482 "configure"
4482 #include "confdefs.h"
4483 #include <math.h>
4484 int main() {
4485  __builtin_cos(0);
4486 ; return 0; }
4487 EOF
4488 if { (eval echo configure:4489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4489   rm -rf conftest*
4490   glibcpp_cv_func___builtin_cos_use=yes
4491 else
4492   echo "configure: failed program was:" >&5
4493   cat conftest.$ac_ext >&5
4494   rm -rf conftest*
4495   glibcpp_cv_func___builtin_cos_use=no
4496 fi
4497 rm -f conftest*
4498     ac_ext=c
4499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4500 ac_cpp='$CPP $CPPFLAGS'
4501 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4502 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4503 cross_compiling=$ac_cv_prog_cc_cross
4504
4505   
4506 fi
4507
4508   echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4509   if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4510     echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4511 echo "configure:4512: checking for __builtin_cos linkage" >&5
4512     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4513   echo $ac_n "(cached) $ac_c" 1>&6
4514 else
4515   
4516       cat > conftest.$ac_ext <<EOF
4517 #line 4518 "configure"
4518 #include "confdefs.h"
4519 #include <math.h>
4520 int main() {
4521  __builtin_cos(0);
4522 ; return 0; }
4523 EOF
4524 if { (eval echo configure:4525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4525   rm -rf conftest*
4526   glibcpp_cv_func___builtin_cos_link=yes
4527 else
4528   echo "configure: failed program was:" >&5
4529   cat conftest.$ac_ext >&5
4530   rm -rf conftest*
4531   glibcpp_cv_func___builtin_cos_link=no
4532 fi
4533 rm -f conftest*
4534     
4535 fi
4536
4537     echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4538     if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4539       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4540       cat >> confdefs.h <<EOF
4541 #define ${ac_tr_func} 1
4542 EOF
4543
4544     fi
4545   fi
4546
4547   
4548   echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4549 echo "configure:4550: checking for __builtin_cosl declaration" >&5
4550   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4551   echo $ac_n "(cached) $ac_c" 1>&6
4552 else
4553   
4554     
4555     ac_ext=C
4556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4557 ac_cpp='$CXXCPP $CPPFLAGS'
4558 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4559 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4560 cross_compiling=$ac_cv_prog_cxx_cross
4561
4562     cat > conftest.$ac_ext <<EOF
4563 #line 4564 "configure"
4564 #include "confdefs.h"
4565 #include <math.h>
4566 int main() {
4567  __builtin_cosl(0);
4568 ; return 0; }
4569 EOF
4570 if { (eval echo configure:4571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4571   rm -rf conftest*
4572   glibcpp_cv_func___builtin_cosl_use=yes
4573 else
4574   echo "configure: failed program was:" >&5
4575   cat conftest.$ac_ext >&5
4576   rm -rf conftest*
4577   glibcpp_cv_func___builtin_cosl_use=no
4578 fi
4579 rm -f conftest*
4580     ac_ext=c
4581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4582 ac_cpp='$CPP $CPPFLAGS'
4583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4585 cross_compiling=$ac_cv_prog_cc_cross
4586
4587   
4588 fi
4589
4590   echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4591   if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4592     echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4593 echo "configure:4594: checking for __builtin_cosl linkage" >&5
4594     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4595   echo $ac_n "(cached) $ac_c" 1>&6
4596 else
4597   
4598       cat > conftest.$ac_ext <<EOF
4599 #line 4600 "configure"
4600 #include "confdefs.h"
4601 #include <math.h>
4602 int main() {
4603  __builtin_cosl(0);
4604 ; return 0; }
4605 EOF
4606 if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4607   rm -rf conftest*
4608   glibcpp_cv_func___builtin_cosl_link=yes
4609 else
4610   echo "configure: failed program was:" >&5
4611   cat conftest.$ac_ext >&5
4612   rm -rf conftest*
4613   glibcpp_cv_func___builtin_cosl_link=no
4614 fi
4615 rm -f conftest*
4616     
4617 fi
4618
4619     echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4620     if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4621       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4622       cat >> confdefs.h <<EOF
4623 #define ${ac_tr_func} 1
4624 EOF
4625
4626     fi
4627   fi
4628
4629
4630               dummyvar=no
4631   if test x$dummyvar = x"yes"; then
4632     cat >> confdefs.h <<\EOF
4633 #define HAVE___BUILTIN_ABS 1
4634 EOF
4635
4636     cat >> confdefs.h <<\EOF
4637 #define HAVE___BUILTIN_LABS 1
4638 EOF
4639
4640     cat >> confdefs.h <<\EOF
4641 #define HAVE___BUILTIN_COS 1
4642 EOF
4643
4644     cat >> confdefs.h <<\EOF
4645 #define HAVE___BUILTIN_COSF 1
4646 EOF
4647
4648     cat >> confdefs.h <<\EOF
4649 #define HAVE___BUILTIN_COSL 1
4650 EOF
4651
4652     cat >> confdefs.h <<\EOF
4653 #define HAVE___BUILTIN_FABS 1
4654 EOF
4655
4656     cat >> confdefs.h <<\EOF
4657 #define HAVE___BUILTIN_FABSF 1
4658 EOF
4659
4660     cat >> confdefs.h <<\EOF
4661 #define HAVE___BUILTIN_FABSL 1
4662 EOF
4663
4664     cat >> confdefs.h <<\EOF
4665 #define HAVE___BUILTIN_SIN 1
4666 EOF
4667
4668     cat >> confdefs.h <<\EOF
4669 #define HAVE___BUILTIN_SINF 1
4670 EOF
4671
4672     cat >> confdefs.h <<\EOF
4673 #define HAVE___BUILTIN_SINL 1
4674 EOF
4675
4676     cat >> confdefs.h <<\EOF
4677 #define HAVE___BUILTIN_FSQRT 1
4678 EOF
4679
4680     cat >> confdefs.h <<\EOF
4681 #define HAVE___BUILTIN_SQRTF 1
4682 EOF
4683
4684     cat >> confdefs.h <<\EOF
4685 #define HAVE___BUILTIN_SQRTL 1
4686 EOF
4687
4688   fi
4689
4690   
4691   ac_test_CXXFLAGS="${CXXFLAGS+set}"
4692   ac_save_CXXFLAGS="$CXXFLAGS"
4693   CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4694
4695     echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4696 echo "configure:4697: checking for sin in -lm" >&5
4697 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4698 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4699   echo $ac_n "(cached) $ac_c" 1>&6
4700 else
4701   ac_save_LIBS="$LIBS"
4702 LIBS="-lm  $LIBS"
4703 cat > conftest.$ac_ext <<EOF
4704 #line 4705 "configure"
4705 #include "confdefs.h"
4706 /* Override any gcc2 internal prototype to avoid an error.  */
4707 /* We use char because int might match the return type of a gcc2
4708     builtin and then its argument prototype would still apply.  */
4709 char sin();
4710
4711 int main() {
4712 sin()
4713 ; return 0; }
4714 EOF
4715 if { (eval echo configure:4716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4716   rm -rf conftest*
4717   eval "ac_cv_lib_$ac_lib_var=yes"
4718 else
4719   echo "configure: failed program was:" >&5
4720   cat conftest.$ac_ext >&5
4721   rm -rf conftest*
4722   eval "ac_cv_lib_$ac_lib_var=no"
4723 fi
4724 rm -f conftest*
4725 LIBS="$ac_save_LIBS"
4726
4727 fi
4728 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4729   echo "$ac_t""yes" 1>&6
4730   libm="-lm"
4731 else
4732   echo "$ac_t""no" 1>&6
4733 fi
4734
4735   ac_save_LIBS="$LIBS"
4736   LIBS="$LIBS $libm"
4737
4738     
4739   echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4740 echo "configure:4741: checking for isinf declaration" >&5
4741   if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4742   echo $ac_n "(cached) $ac_c" 1>&6
4743 else
4744   
4745     
4746     ac_ext=C
4747 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4748 ac_cpp='$CXXCPP $CPPFLAGS'
4749 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4750 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4751 cross_compiling=$ac_cv_prog_cxx_cross
4752
4753     cat > conftest.$ac_ext <<EOF
4754 #line 4755 "configure"
4755 #include "confdefs.h"
4756 #include <math.h>
4757 int main() {
4758  isinf(0);
4759 ; return 0; }
4760 EOF
4761 if { (eval echo configure:4762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4762   rm -rf conftest*
4763   glibcpp_cv_func_isinf_use=yes
4764 else
4765   echo "configure: failed program was:" >&5
4766   cat conftest.$ac_ext >&5
4767   rm -rf conftest*
4768   glibcpp_cv_func_isinf_use=no
4769 fi
4770 rm -f conftest*
4771     ac_ext=c
4772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4773 ac_cpp='$CPP $CPPFLAGS'
4774 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4775 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4776 cross_compiling=$ac_cv_prog_cc_cross
4777
4778   
4779 fi
4780
4781   echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4782   if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4783     for ac_func in isinf
4784 do
4785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4786 echo "configure:4787: checking for $ac_func" >&5
4787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4788   echo $ac_n "(cached) $ac_c" 1>&6
4789 else
4790   cat > conftest.$ac_ext <<EOF
4791 #line 4792 "configure"
4792 #include "confdefs.h"
4793 /* System header to define __stub macros and hopefully few prototypes,
4794     which can conflict with char $ac_func(); below.  */
4795 #include <assert.h>
4796 /* Override any gcc2 internal prototype to avoid an error.  */
4797 /* We use char because int might match the return type of a gcc2
4798     builtin and then its argument prototype would still apply.  */
4799 char $ac_func();
4800
4801 int main() {
4802
4803 /* The GNU C library defines this for functions which it implements
4804     to always fail with ENOSYS.  Some functions are actually named
4805     something starting with __ and the normal name is an alias.  */
4806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4807 choke me
4808 #else
4809 $ac_func();
4810 #endif
4811
4812 ; return 0; }
4813 EOF
4814 if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4815   rm -rf conftest*
4816   eval "ac_cv_func_$ac_func=yes"
4817 else
4818   echo "configure: failed program was:" >&5
4819   cat conftest.$ac_ext >&5
4820   rm -rf conftest*
4821   eval "ac_cv_func_$ac_func=no"
4822 fi
4823 rm -f conftest*
4824 fi
4825
4826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4827   echo "$ac_t""yes" 1>&6
4828     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4829   cat >> confdefs.h <<EOF
4830 #define $ac_tr_func 1
4831 EOF
4832  
4833 else
4834   echo "$ac_t""no" 1>&6
4835 fi
4836 done
4837     
4838   fi
4839
4840   
4841   echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4842 echo "configure:4843: checking for isnan declaration" >&5
4843   if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4844   echo $ac_n "(cached) $ac_c" 1>&6
4845 else
4846   
4847     
4848     ac_ext=C
4849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4850 ac_cpp='$CXXCPP $CPPFLAGS'
4851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4853 cross_compiling=$ac_cv_prog_cxx_cross
4854
4855     cat > conftest.$ac_ext <<EOF
4856 #line 4857 "configure"
4857 #include "confdefs.h"
4858 #include <math.h>
4859 int main() {
4860  isnan(0);
4861 ; return 0; }
4862 EOF
4863 if { (eval echo configure:4864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4864   rm -rf conftest*
4865   glibcpp_cv_func_isnan_use=yes
4866 else
4867   echo "configure: failed program was:" >&5
4868   cat conftest.$ac_ext >&5
4869   rm -rf conftest*
4870   glibcpp_cv_func_isnan_use=no
4871 fi
4872 rm -f conftest*
4873     ac_ext=c
4874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4875 ac_cpp='$CPP $CPPFLAGS'
4876 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4877 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4878 cross_compiling=$ac_cv_prog_cc_cross
4879
4880   
4881 fi
4882
4883   echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
4884   if test x$glibcpp_cv_func_isnan_use = x"yes"; then
4885     for ac_func in isnan
4886 do
4887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4888 echo "configure:4889: checking for $ac_func" >&5
4889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4890   echo $ac_n "(cached) $ac_c" 1>&6
4891 else
4892   cat > conftest.$ac_ext <<EOF
4893 #line 4894 "configure"
4894 #include "confdefs.h"
4895 /* System header to define __stub macros and hopefully few prototypes,
4896     which can conflict with char $ac_func(); below.  */
4897 #include <assert.h>
4898 /* Override any gcc2 internal prototype to avoid an error.  */
4899 /* We use char because int might match the return type of a gcc2
4900     builtin and then its argument prototype would still apply.  */
4901 char $ac_func();
4902
4903 int main() {
4904
4905 /* The GNU C library defines this for functions which it implements
4906     to always fail with ENOSYS.  Some functions are actually named
4907     something starting with __ and the normal name is an alias.  */
4908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4909 choke me
4910 #else
4911 $ac_func();
4912 #endif
4913
4914 ; return 0; }
4915 EOF
4916 if { (eval echo configure:4917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4917   rm -rf conftest*
4918   eval "ac_cv_func_$ac_func=yes"
4919 else
4920   echo "configure: failed program was:" >&5
4921   cat conftest.$ac_ext >&5
4922   rm -rf conftest*
4923   eval "ac_cv_func_$ac_func=no"
4924 fi
4925 rm -f conftest*
4926 fi
4927
4928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4929   echo "$ac_t""yes" 1>&6
4930     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4931   cat >> confdefs.h <<EOF
4932 #define $ac_tr_func 1
4933 EOF
4934  
4935 else
4936   echo "$ac_t""no" 1>&6
4937 fi
4938 done
4939     
4940   fi
4941
4942   
4943   echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
4944 echo "configure:4945: checking for finite declaration" >&5
4945   if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
4946   echo $ac_n "(cached) $ac_c" 1>&6
4947 else
4948   
4949     
4950     ac_ext=C
4951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4952 ac_cpp='$CXXCPP $CPPFLAGS'
4953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4955 cross_compiling=$ac_cv_prog_cxx_cross
4956
4957     cat > conftest.$ac_ext <<EOF
4958 #line 4959 "configure"
4959 #include "confdefs.h"
4960 #include <math.h>
4961 int main() {
4962  finite(0);
4963 ; return 0; }
4964 EOF
4965 if { (eval echo configure:4966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4966   rm -rf conftest*
4967   glibcpp_cv_func_finite_use=yes
4968 else
4969   echo "configure: failed program was:" >&5
4970   cat conftest.$ac_ext >&5
4971   rm -rf conftest*
4972   glibcpp_cv_func_finite_use=no
4973 fi
4974 rm -f conftest*
4975     ac_ext=c
4976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4977 ac_cpp='$CPP $CPPFLAGS'
4978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4980 cross_compiling=$ac_cv_prog_cc_cross
4981
4982   
4983 fi
4984
4985   echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
4986   if test x$glibcpp_cv_func_finite_use = x"yes"; then
4987     for ac_func in finite
4988 do
4989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4990 echo "configure:4991: checking for $ac_func" >&5
4991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4992   echo $ac_n "(cached) $ac_c" 1>&6
4993 else
4994   cat > conftest.$ac_ext <<EOF
4995 #line 4996 "configure"
4996 #include "confdefs.h"
4997 /* System header to define __stub macros and hopefully few prototypes,
4998     which can conflict with char $ac_func(); below.  */
4999 #include <assert.h>
5000 /* Override any gcc2 internal prototype to avoid an error.  */
5001 /* We use char because int might match the return type of a gcc2
5002     builtin and then its argument prototype would still apply.  */
5003 char $ac_func();
5004
5005 int main() {
5006
5007 /* The GNU C library defines this for functions which it implements
5008     to always fail with ENOSYS.  Some functions are actually named
5009     something starting with __ and the normal name is an alias.  */
5010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5011 choke me
5012 #else
5013 $ac_func();
5014 #endif
5015
5016 ; return 0; }
5017 EOF
5018 if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5019   rm -rf conftest*
5020   eval "ac_cv_func_$ac_func=yes"
5021 else
5022   echo "configure: failed program was:" >&5
5023   cat conftest.$ac_ext >&5
5024   rm -rf conftest*
5025   eval "ac_cv_func_$ac_func=no"
5026 fi
5027 rm -f conftest*
5028 fi
5029
5030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5031   echo "$ac_t""yes" 1>&6
5032     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5033   cat >> confdefs.h <<EOF
5034 #define $ac_tr_func 1
5035 EOF
5036  
5037 else
5038   echo "$ac_t""no" 1>&6
5039 fi
5040 done
5041     
5042   fi
5043
5044   
5045   echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5046 echo "configure:5047: checking for copysign declaration" >&5
5047   if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5048   echo $ac_n "(cached) $ac_c" 1>&6
5049 else
5050   
5051     
5052     ac_ext=C
5053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5054 ac_cpp='$CXXCPP $CPPFLAGS'
5055 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5056 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5057 cross_compiling=$ac_cv_prog_cxx_cross
5058
5059     cat > conftest.$ac_ext <<EOF
5060 #line 5061 "configure"
5061 #include "confdefs.h"
5062 #include <math.h>
5063 int main() {
5064  copysign(0, 0);
5065 ; return 0; }
5066 EOF
5067 if { (eval echo configure:5068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5068   rm -rf conftest*
5069   glibcpp_cv_func_copysign_use=yes
5070 else
5071   echo "configure: failed program was:" >&5
5072   cat conftest.$ac_ext >&5
5073   rm -rf conftest*
5074   glibcpp_cv_func_copysign_use=no
5075 fi
5076 rm -f conftest*
5077     ac_ext=c
5078 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5079 ac_cpp='$CPP $CPPFLAGS'
5080 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5081 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5082 cross_compiling=$ac_cv_prog_cc_cross
5083
5084   
5085 fi
5086
5087   echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5088   if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5089     for ac_func in copysign
5090 do
5091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5092 echo "configure:5093: checking for $ac_func" >&5
5093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5094   echo $ac_n "(cached) $ac_c" 1>&6
5095 else
5096   cat > conftest.$ac_ext <<EOF
5097 #line 5098 "configure"
5098 #include "confdefs.h"
5099 /* System header to define __stub macros and hopefully few prototypes,
5100     which can conflict with char $ac_func(); below.  */
5101 #include <assert.h>
5102 /* Override any gcc2 internal prototype to avoid an error.  */
5103 /* We use char because int might match the return type of a gcc2
5104     builtin and then its argument prototype would still apply.  */
5105 char $ac_func();
5106
5107 int main() {
5108
5109 /* The GNU C library defines this for functions which it implements
5110     to always fail with ENOSYS.  Some functions are actually named
5111     something starting with __ and the normal name is an alias.  */
5112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5113 choke me
5114 #else
5115 $ac_func();
5116 #endif
5117
5118 ; return 0; }
5119 EOF
5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5121   rm -rf conftest*
5122   eval "ac_cv_func_$ac_func=yes"
5123 else
5124   echo "configure: failed program was:" >&5
5125   cat conftest.$ac_ext >&5
5126   rm -rf conftest*
5127   eval "ac_cv_func_$ac_func=no"
5128 fi
5129 rm -f conftest*
5130 fi
5131
5132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5133   echo "$ac_t""yes" 1>&6
5134     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5135   cat >> confdefs.h <<EOF
5136 #define $ac_tr_func 1
5137 EOF
5138  
5139 else
5140   echo "$ac_t""no" 1>&6
5141 fi
5142 done
5143     
5144   fi
5145
5146   
5147   echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5148 echo "configure:5149: checking for sincos declaration" >&5
5149   if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5150   echo $ac_n "(cached) $ac_c" 1>&6
5151 else
5152   
5153     
5154     ac_ext=C
5155 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5156 ac_cpp='$CXXCPP $CPPFLAGS'
5157 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5158 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5159 cross_compiling=$ac_cv_prog_cxx_cross
5160
5161     cat > conftest.$ac_ext <<EOF
5162 #line 5163 "configure"
5163 #include "confdefs.h"
5164 #include <math.h>
5165 int main() {
5166  sincos(0, 0, 0);
5167 ; return 0; }
5168 EOF
5169 if { (eval echo configure:5170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5170   rm -rf conftest*
5171   glibcpp_cv_func_sincos_use=yes
5172 else
5173   echo "configure: failed program was:" >&5
5174   cat conftest.$ac_ext >&5
5175   rm -rf conftest*
5176   glibcpp_cv_func_sincos_use=no
5177 fi
5178 rm -f conftest*
5179     ac_ext=c
5180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5181 ac_cpp='$CPP $CPPFLAGS'
5182 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5183 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5184 cross_compiling=$ac_cv_prog_cc_cross
5185
5186   
5187 fi
5188
5189   echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5190   if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5191     for ac_func in sincos
5192 do
5193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5194 echo "configure:5195: checking for $ac_func" >&5
5195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5196   echo $ac_n "(cached) $ac_c" 1>&6
5197 else
5198   cat > conftest.$ac_ext <<EOF
5199 #line 5200 "configure"
5200 #include "confdefs.h"
5201 /* System header to define __stub macros and hopefully few prototypes,
5202     which can conflict with char $ac_func(); below.  */
5203 #include <assert.h>
5204 /* Override any gcc2 internal prototype to avoid an error.  */
5205 /* We use char because int might match the return type of a gcc2
5206     builtin and then its argument prototype would still apply.  */
5207 char $ac_func();
5208
5209 int main() {
5210
5211 /* The GNU C library defines this for functions which it implements
5212     to always fail with ENOSYS.  Some functions are actually named
5213     something starting with __ and the normal name is an alias.  */
5214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5215 choke me
5216 #else
5217 $ac_func();
5218 #endif
5219
5220 ; return 0; }
5221 EOF
5222 if { (eval echo configure:5223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5223   rm -rf conftest*
5224   eval "ac_cv_func_$ac_func=yes"
5225 else
5226   echo "configure: failed program was:" >&5
5227   cat conftest.$ac_ext >&5
5228   rm -rf conftest*
5229   eval "ac_cv_func_$ac_func=no"
5230 fi
5231 rm -f conftest*
5232 fi
5233
5234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5235   echo "$ac_t""yes" 1>&6
5236     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5237   cat >> confdefs.h <<EOF
5238 #define $ac_tr_func 1
5239 EOF
5240  
5241 else
5242   echo "$ac_t""no" 1>&6
5243 fi
5244 done
5245     
5246   fi
5247
5248   
5249   echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5250 echo "configure:5251: checking for fpclass declaration" >&5
5251   if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5252   echo $ac_n "(cached) $ac_c" 1>&6
5253 else
5254   
5255     
5256     ac_ext=C
5257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5258 ac_cpp='$CXXCPP $CPPFLAGS'
5259 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5260 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5261 cross_compiling=$ac_cv_prog_cxx_cross
5262
5263     cat > conftest.$ac_ext <<EOF
5264 #line 5265 "configure"
5265 #include "confdefs.h"
5266 #include <math.h>
5267 int main() {
5268  fpclass(0);
5269 ; return 0; }
5270 EOF
5271 if { (eval echo configure:5272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5272   rm -rf conftest*
5273   glibcpp_cv_func_fpclass_use=yes
5274 else
5275   echo "configure: failed program was:" >&5
5276   cat conftest.$ac_ext >&5
5277   rm -rf conftest*
5278   glibcpp_cv_func_fpclass_use=no
5279 fi
5280 rm -f conftest*
5281     ac_ext=c
5282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5283 ac_cpp='$CPP $CPPFLAGS'
5284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5286 cross_compiling=$ac_cv_prog_cc_cross
5287
5288   
5289 fi
5290
5291   echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5292   if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5293     for ac_func in fpclass
5294 do
5295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5296 echo "configure:5297: checking for $ac_func" >&5
5297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5298   echo $ac_n "(cached) $ac_c" 1>&6
5299 else
5300   cat > conftest.$ac_ext <<EOF
5301 #line 5302 "configure"
5302 #include "confdefs.h"
5303 /* System header to define __stub macros and hopefully few prototypes,
5304     which can conflict with char $ac_func(); below.  */
5305 #include <assert.h>
5306 /* Override any gcc2 internal prototype to avoid an error.  */
5307 /* We use char because int might match the return type of a gcc2
5308     builtin and then its argument prototype would still apply.  */
5309 char $ac_func();
5310
5311 int main() {
5312
5313 /* The GNU C library defines this for functions which it implements
5314     to always fail with ENOSYS.  Some functions are actually named
5315     something starting with __ and the normal name is an alias.  */
5316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5317 choke me
5318 #else
5319 $ac_func();
5320 #endif
5321
5322 ; return 0; }
5323 EOF
5324 if { (eval echo configure:5325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5325   rm -rf conftest*
5326   eval "ac_cv_func_$ac_func=yes"
5327 else
5328   echo "configure: failed program was:" >&5
5329   cat conftest.$ac_ext >&5
5330   rm -rf conftest*
5331   eval "ac_cv_func_$ac_func=no"
5332 fi
5333 rm -f conftest*
5334 fi
5335
5336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5337   echo "$ac_t""yes" 1>&6
5338     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5339   cat >> confdefs.h <<EOF
5340 #define $ac_tr_func 1
5341 EOF
5342  
5343 else
5344   echo "$ac_t""no" 1>&6
5345 fi
5346 done
5347     
5348   fi
5349
5350   
5351   echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5352 echo "configure:5353: checking for qfpclass declaration" >&5
5353   if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5354   echo $ac_n "(cached) $ac_c" 1>&6
5355 else
5356   
5357     
5358     ac_ext=C
5359 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5360 ac_cpp='$CXXCPP $CPPFLAGS'
5361 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5362 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5363 cross_compiling=$ac_cv_prog_cxx_cross
5364
5365     cat > conftest.$ac_ext <<EOF
5366 #line 5367 "configure"
5367 #include "confdefs.h"
5368 #include <math.h>
5369 int main() {
5370  qfpclass(0);
5371 ; return 0; }
5372 EOF
5373 if { (eval echo configure:5374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5374   rm -rf conftest*
5375   glibcpp_cv_func_qfpclass_use=yes
5376 else
5377   echo "configure: failed program was:" >&5
5378   cat conftest.$ac_ext >&5
5379   rm -rf conftest*
5380   glibcpp_cv_func_qfpclass_use=no
5381 fi
5382 rm -f conftest*
5383     ac_ext=c
5384 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5387 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5388 cross_compiling=$ac_cv_prog_cc_cross
5389
5390   
5391 fi
5392
5393   echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5394   if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5395     for ac_func in qfpclass
5396 do
5397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5398 echo "configure:5399: checking for $ac_func" >&5
5399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5400   echo $ac_n "(cached) $ac_c" 1>&6
5401 else
5402   cat > conftest.$ac_ext <<EOF
5403 #line 5404 "configure"
5404 #include "confdefs.h"
5405 /* System header to define __stub macros and hopefully few prototypes,
5406     which can conflict with char $ac_func(); below.  */
5407 #include <assert.h>
5408 /* Override any gcc2 internal prototype to avoid an error.  */
5409 /* We use char because int might match the return type of a gcc2
5410     builtin and then its argument prototype would still apply.  */
5411 char $ac_func();
5412
5413 int main() {
5414
5415 /* The GNU C library defines this for functions which it implements
5416     to always fail with ENOSYS.  Some functions are actually named
5417     something starting with __ and the normal name is an alias.  */
5418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5419 choke me
5420 #else
5421 $ac_func();
5422 #endif
5423
5424 ; return 0; }
5425 EOF
5426 if { (eval echo configure:5427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5427   rm -rf conftest*
5428   eval "ac_cv_func_$ac_func=yes"
5429 else
5430   echo "configure: failed program was:" >&5
5431   cat conftest.$ac_ext >&5
5432   rm -rf conftest*
5433   eval "ac_cv_func_$ac_func=no"
5434 fi
5435 rm -f conftest*
5436 fi
5437
5438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5439   echo "$ac_t""yes" 1>&6
5440     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5441   cat >> confdefs.h <<EOF
5442 #define $ac_tr_func 1
5443 EOF
5444  
5445 else
5446   echo "$ac_t""no" 1>&6
5447 fi
5448 done
5449     
5450   fi
5451
5452
5453     
5454   echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5455 echo "configure:5456: checking for isnanf declaration" >&5
5456   if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5457   echo $ac_n "(cached) $ac_c" 1>&6
5458 else
5459   
5460     
5461     ac_ext=C
5462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5463 ac_cpp='$CXXCPP $CPPFLAGS'
5464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5466 cross_compiling=$ac_cv_prog_cxx_cross
5467
5468     cat > conftest.$ac_ext <<EOF
5469 #line 5470 "configure"
5470 #include "confdefs.h"
5471 #include <math.h>
5472 int main() {
5473  isnanf(0);
5474 ; return 0; }
5475 EOF
5476 if { (eval echo configure:5477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5477   rm -rf conftest*
5478   glibcpp_cv_func_isnanf_use=yes
5479 else
5480   echo "configure: failed program was:" >&5
5481   cat conftest.$ac_ext >&5
5482   rm -rf conftest*
5483   glibcpp_cv_func_isnanf_use=no
5484 fi
5485 rm -f conftest*
5486     ac_ext=c
5487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5488 ac_cpp='$CPP $CPPFLAGS'
5489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5491 cross_compiling=$ac_cv_prog_cc_cross
5492
5493   
5494 fi
5495
5496   echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5497   if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5498     for ac_func in isnanf
5499 do
5500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5501 echo "configure:5502: checking for $ac_func" >&5
5502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5503   echo $ac_n "(cached) $ac_c" 1>&6
5504 else
5505   cat > conftest.$ac_ext <<EOF
5506 #line 5507 "configure"
5507 #include "confdefs.h"
5508 /* System header to define __stub macros and hopefully few prototypes,
5509     which can conflict with char $ac_func(); below.  */
5510 #include <assert.h>
5511 /* Override any gcc2 internal prototype to avoid an error.  */
5512 /* We use char because int might match the return type of a gcc2
5513     builtin and then its argument prototype would still apply.  */
5514 char $ac_func();
5515
5516 int main() {
5517
5518 /* The GNU C library defines this for functions which it implements
5519     to always fail with ENOSYS.  Some functions are actually named
5520     something starting with __ and the normal name is an alias.  */
5521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5522 choke me
5523 #else
5524 $ac_func();
5525 #endif
5526
5527 ; return 0; }
5528 EOF
5529 if { (eval echo configure:5530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5530   rm -rf conftest*
5531   eval "ac_cv_func_$ac_func=yes"
5532 else
5533   echo "configure: failed program was:" >&5
5534   cat conftest.$ac_ext >&5
5535   rm -rf conftest*
5536   eval "ac_cv_func_$ac_func=no"
5537 fi
5538 rm -f conftest*
5539 fi
5540
5541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5542   echo "$ac_t""yes" 1>&6
5543     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5544   cat >> confdefs.h <<EOF
5545 #define $ac_tr_func 1
5546 EOF
5547  
5548 else
5549   echo "$ac_t""no" 1>&6
5550 fi
5551 done
5552     
5553   fi
5554
5555   
5556   echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5557 echo "configure:5558: checking for isinff declaration" >&5
5558   if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5559   echo $ac_n "(cached) $ac_c" 1>&6
5560 else
5561   
5562     
5563     ac_ext=C
5564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5565 ac_cpp='$CXXCPP $CPPFLAGS'
5566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5568 cross_compiling=$ac_cv_prog_cxx_cross
5569
5570     cat > conftest.$ac_ext <<EOF
5571 #line 5572 "configure"
5572 #include "confdefs.h"
5573 #include <math.h>
5574 int main() {
5575  isinff(0);
5576 ; return 0; }
5577 EOF
5578 if { (eval echo configure:5579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5579   rm -rf conftest*
5580   glibcpp_cv_func_isinff_use=yes
5581 else
5582   echo "configure: failed program was:" >&5
5583   cat conftest.$ac_ext >&5
5584   rm -rf conftest*
5585   glibcpp_cv_func_isinff_use=no
5586 fi
5587 rm -f conftest*
5588     ac_ext=c
5589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5590 ac_cpp='$CPP $CPPFLAGS'
5591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5593 cross_compiling=$ac_cv_prog_cc_cross
5594
5595   
5596 fi
5597
5598   echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5599   if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5600     for ac_func in isinff
5601 do
5602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5603 echo "configure:5604: checking for $ac_func" >&5
5604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5605   echo $ac_n "(cached) $ac_c" 1>&6
5606 else
5607   cat > conftest.$ac_ext <<EOF
5608 #line 5609 "configure"
5609 #include "confdefs.h"
5610 /* System header to define __stub macros and hopefully few prototypes,
5611     which can conflict with char $ac_func(); below.  */
5612 #include <assert.h>
5613 /* Override any gcc2 internal prototype to avoid an error.  */
5614 /* We use char because int might match the return type of a gcc2
5615     builtin and then its argument prototype would still apply.  */
5616 char $ac_func();
5617
5618 int main() {
5619
5620 /* The GNU C library defines this for functions which it implements
5621     to always fail with ENOSYS.  Some functions are actually named
5622     something starting with __ and the normal name is an alias.  */
5623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5624 choke me
5625 #else
5626 $ac_func();
5627 #endif
5628
5629 ; return 0; }
5630 EOF
5631 if { (eval echo configure:5632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5632   rm -rf conftest*
5633   eval "ac_cv_func_$ac_func=yes"
5634 else
5635   echo "configure: failed program was:" >&5
5636   cat conftest.$ac_ext >&5
5637   rm -rf conftest*
5638   eval "ac_cv_func_$ac_func=no"
5639 fi
5640 rm -f conftest*
5641 fi
5642
5643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5644   echo "$ac_t""yes" 1>&6
5645     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5646   cat >> confdefs.h <<EOF
5647 #define $ac_tr_func 1
5648 EOF
5649  
5650 else
5651   echo "$ac_t""no" 1>&6
5652 fi
5653 done
5654     
5655   fi
5656
5657   
5658   echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5659 echo "configure:5660: checking for acosf declaration" >&5
5660   if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5661   echo $ac_n "(cached) $ac_c" 1>&6
5662 else
5663   
5664     
5665     ac_ext=C
5666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5667 ac_cpp='$CXXCPP $CPPFLAGS'
5668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5670 cross_compiling=$ac_cv_prog_cxx_cross
5671
5672     cat > conftest.$ac_ext <<EOF
5673 #line 5674 "configure"
5674 #include "confdefs.h"
5675 #include <math.h>
5676 int main() {
5677  acosf(0);
5678 ; return 0; }
5679 EOF
5680 if { (eval echo configure:5681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5681   rm -rf conftest*
5682   glibcpp_cv_func_acosf_use=yes
5683 else
5684   echo "configure: failed program was:" >&5
5685   cat conftest.$ac_ext >&5
5686   rm -rf conftest*
5687   glibcpp_cv_func_acosf_use=no
5688 fi
5689 rm -f conftest*
5690     ac_ext=c
5691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5692 ac_cpp='$CPP $CPPFLAGS'
5693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5695 cross_compiling=$ac_cv_prog_cc_cross
5696
5697   
5698 fi
5699
5700   echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5701   if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5702     for ac_func in acosf
5703 do
5704 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5705 echo "configure:5706: checking for $ac_func" >&5
5706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5707   echo $ac_n "(cached) $ac_c" 1>&6
5708 else
5709   cat > conftest.$ac_ext <<EOF
5710 #line 5711 "configure"
5711 #include "confdefs.h"
5712 /* System header to define __stub macros and hopefully few prototypes,
5713     which can conflict with char $ac_func(); below.  */
5714 #include <assert.h>
5715 /* Override any gcc2 internal prototype to avoid an error.  */
5716 /* We use char because int might match the return type of a gcc2
5717     builtin and then its argument prototype would still apply.  */
5718 char $ac_func();
5719
5720 int main() {
5721
5722 /* The GNU C library defines this for functions which it implements
5723     to always fail with ENOSYS.  Some functions are actually named
5724     something starting with __ and the normal name is an alias.  */
5725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5726 choke me
5727 #else
5728 $ac_func();
5729 #endif
5730
5731 ; return 0; }
5732 EOF
5733 if { (eval echo configure:5734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5734   rm -rf conftest*
5735   eval "ac_cv_func_$ac_func=yes"
5736 else
5737   echo "configure: failed program was:" >&5
5738   cat conftest.$ac_ext >&5
5739   rm -rf conftest*
5740   eval "ac_cv_func_$ac_func=no"
5741 fi
5742 rm -f conftest*
5743 fi
5744
5745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5746   echo "$ac_t""yes" 1>&6
5747     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5748   cat >> confdefs.h <<EOF
5749 #define $ac_tr_func 1
5750 EOF
5751  
5752 else
5753   echo "$ac_t""no" 1>&6
5754 fi
5755 done
5756     
5757   fi
5758
5759   
5760   echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5761 echo "configure:5762: checking for asinf declaration" >&5
5762   if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5763   echo $ac_n "(cached) $ac_c" 1>&6
5764 else
5765   
5766     
5767     ac_ext=C
5768 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5769 ac_cpp='$CXXCPP $CPPFLAGS'
5770 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5771 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5772 cross_compiling=$ac_cv_prog_cxx_cross
5773
5774     cat > conftest.$ac_ext <<EOF
5775 #line 5776 "configure"
5776 #include "confdefs.h"
5777 #include <math.h>
5778 int main() {
5779  asinf(0);
5780 ; return 0; }
5781 EOF
5782 if { (eval echo configure:5783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5783   rm -rf conftest*
5784   glibcpp_cv_func_asinf_use=yes
5785 else
5786   echo "configure: failed program was:" >&5
5787   cat conftest.$ac_ext >&5
5788   rm -rf conftest*
5789   glibcpp_cv_func_asinf_use=no
5790 fi
5791 rm -f conftest*
5792     ac_ext=c
5793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5796 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5797 cross_compiling=$ac_cv_prog_cc_cross
5798
5799   
5800 fi
5801
5802   echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5803   if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5804     for ac_func in asinf
5805 do
5806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5807 echo "configure:5808: checking for $ac_func" >&5
5808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5809   echo $ac_n "(cached) $ac_c" 1>&6
5810 else
5811   cat > conftest.$ac_ext <<EOF
5812 #line 5813 "configure"
5813 #include "confdefs.h"
5814 /* System header to define __stub macros and hopefully few prototypes,
5815     which can conflict with char $ac_func(); below.  */
5816 #include <assert.h>
5817 /* Override any gcc2 internal prototype to avoid an error.  */
5818 /* We use char because int might match the return type of a gcc2
5819     builtin and then its argument prototype would still apply.  */
5820 char $ac_func();
5821
5822 int main() {
5823
5824 /* The GNU C library defines this for functions which it implements
5825     to always fail with ENOSYS.  Some functions are actually named
5826     something starting with __ and the normal name is an alias.  */
5827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5828 choke me
5829 #else
5830 $ac_func();
5831 #endif
5832
5833 ; return 0; }
5834 EOF
5835 if { (eval echo configure:5836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5836   rm -rf conftest*
5837   eval "ac_cv_func_$ac_func=yes"
5838 else
5839   echo "configure: failed program was:" >&5
5840   cat conftest.$ac_ext >&5
5841   rm -rf conftest*
5842   eval "ac_cv_func_$ac_func=no"
5843 fi
5844 rm -f conftest*
5845 fi
5846
5847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5848   echo "$ac_t""yes" 1>&6
5849     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5850   cat >> confdefs.h <<EOF
5851 #define $ac_tr_func 1
5852 EOF
5853  
5854 else
5855   echo "$ac_t""no" 1>&6
5856 fi
5857 done
5858     
5859   fi
5860
5861   
5862   echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
5863 echo "configure:5864: checking for atanf declaration" >&5
5864   if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
5865   echo $ac_n "(cached) $ac_c" 1>&6
5866 else
5867   
5868     
5869     ac_ext=C
5870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5871 ac_cpp='$CXXCPP $CPPFLAGS'
5872 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5873 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5874 cross_compiling=$ac_cv_prog_cxx_cross
5875
5876     cat > conftest.$ac_ext <<EOF
5877 #line 5878 "configure"
5878 #include "confdefs.h"
5879 #include <math.h>
5880 int main() {
5881  atanf(0);
5882 ; return 0; }
5883 EOF
5884 if { (eval echo configure:5885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5885   rm -rf conftest*
5886   glibcpp_cv_func_atanf_use=yes
5887 else
5888   echo "configure: failed program was:" >&5
5889   cat conftest.$ac_ext >&5
5890   rm -rf conftest*
5891   glibcpp_cv_func_atanf_use=no
5892 fi
5893 rm -f conftest*
5894     ac_ext=c
5895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5896 ac_cpp='$CPP $CPPFLAGS'
5897 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5898 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5899 cross_compiling=$ac_cv_prog_cc_cross
5900
5901   
5902 fi
5903
5904   echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
5905   if test x$glibcpp_cv_func_atanf_use = x"yes"; then
5906     for ac_func in atanf
5907 do
5908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5909 echo "configure:5910: checking for $ac_func" >&5
5910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5911   echo $ac_n "(cached) $ac_c" 1>&6
5912 else
5913   cat > conftest.$ac_ext <<EOF
5914 #line 5915 "configure"
5915 #include "confdefs.h"
5916 /* System header to define __stub macros and hopefully few prototypes,
5917     which can conflict with char $ac_func(); below.  */
5918 #include <assert.h>
5919 /* Override any gcc2 internal prototype to avoid an error.  */
5920 /* We use char because int might match the return type of a gcc2
5921     builtin and then its argument prototype would still apply.  */
5922 char $ac_func();
5923
5924 int main() {
5925
5926 /* The GNU C library defines this for functions which it implements
5927     to always fail with ENOSYS.  Some functions are actually named
5928     something starting with __ and the normal name is an alias.  */
5929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5930 choke me
5931 #else
5932 $ac_func();
5933 #endif
5934
5935 ; return 0; }
5936 EOF
5937 if { (eval echo configure:5938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5938   rm -rf conftest*
5939   eval "ac_cv_func_$ac_func=yes"
5940 else
5941   echo "configure: failed program was:" >&5
5942   cat conftest.$ac_ext >&5
5943   rm -rf conftest*
5944   eval "ac_cv_func_$ac_func=no"
5945 fi
5946 rm -f conftest*
5947 fi
5948
5949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5950   echo "$ac_t""yes" 1>&6
5951     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5952   cat >> confdefs.h <<EOF
5953 #define $ac_tr_func 1
5954 EOF
5955  
5956 else
5957   echo "$ac_t""no" 1>&6
5958 fi
5959 done
5960     
5961   fi
5962
5963   
5964   echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
5965 echo "configure:5966: checking for atan2f declaration" >&5
5966   if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
5967   echo $ac_n "(cached) $ac_c" 1>&6
5968 else
5969   
5970     
5971     ac_ext=C
5972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5973 ac_cpp='$CXXCPP $CPPFLAGS'
5974 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5975 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5976 cross_compiling=$ac_cv_prog_cxx_cross
5977
5978     cat > conftest.$ac_ext <<EOF
5979 #line 5980 "configure"
5980 #include "confdefs.h"
5981 #include <math.h>
5982 int main() {
5983  atan2f(0, 0);
5984 ; return 0; }
5985 EOF
5986 if { (eval echo configure:5987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5987   rm -rf conftest*
5988   glibcpp_cv_func_atan2f_use=yes
5989 else
5990   echo "configure: failed program was:" >&5
5991   cat conftest.$ac_ext >&5
5992   rm -rf conftest*
5993   glibcpp_cv_func_atan2f_use=no
5994 fi
5995 rm -f conftest*
5996     ac_ext=c
5997 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5998 ac_cpp='$CPP $CPPFLAGS'
5999 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6000 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6001 cross_compiling=$ac_cv_prog_cc_cross
6002
6003   
6004 fi
6005
6006   echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6007   if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6008     for ac_func in atan2f
6009 do
6010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6011 echo "configure:6012: checking for $ac_func" >&5
6012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6013   echo $ac_n "(cached) $ac_c" 1>&6
6014 else
6015   cat > conftest.$ac_ext <<EOF
6016 #line 6017 "configure"
6017 #include "confdefs.h"
6018 /* System header to define __stub macros and hopefully few prototypes,
6019     which can conflict with char $ac_func(); below.  */
6020 #include <assert.h>
6021 /* Override any gcc2 internal prototype to avoid an error.  */
6022 /* We use char because int might match the return type of a gcc2
6023     builtin and then its argument prototype would still apply.  */
6024 char $ac_func();
6025
6026 int main() {
6027
6028 /* The GNU C library defines this for functions which it implements
6029     to always fail with ENOSYS.  Some functions are actually named
6030     something starting with __ and the normal name is an alias.  */
6031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6032 choke me
6033 #else
6034 $ac_func();
6035 #endif
6036
6037 ; return 0; }
6038 EOF
6039 if { (eval echo configure:6040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6040   rm -rf conftest*
6041   eval "ac_cv_func_$ac_func=yes"
6042 else
6043   echo "configure: failed program was:" >&5
6044   cat conftest.$ac_ext >&5
6045   rm -rf conftest*
6046   eval "ac_cv_func_$ac_func=no"
6047 fi
6048 rm -f conftest*
6049 fi
6050
6051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6052   echo "$ac_t""yes" 1>&6
6053     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6054   cat >> confdefs.h <<EOF
6055 #define $ac_tr_func 1
6056 EOF
6057  
6058 else
6059   echo "$ac_t""no" 1>&6
6060 fi
6061 done
6062     
6063   fi
6064
6065   
6066   echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6067 echo "configure:6068: checking for ceilf declaration" >&5
6068   if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6069   echo $ac_n "(cached) $ac_c" 1>&6
6070 else
6071   
6072     
6073     ac_ext=C
6074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6075 ac_cpp='$CXXCPP $CPPFLAGS'
6076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6078 cross_compiling=$ac_cv_prog_cxx_cross
6079
6080     cat > conftest.$ac_ext <<EOF
6081 #line 6082 "configure"
6082 #include "confdefs.h"
6083 #include <math.h>
6084 int main() {
6085  ceilf(0);
6086 ; return 0; }
6087 EOF
6088 if { (eval echo configure:6089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6089   rm -rf conftest*
6090   glibcpp_cv_func_ceilf_use=yes
6091 else
6092   echo "configure: failed program was:" >&5
6093   cat conftest.$ac_ext >&5
6094   rm -rf conftest*
6095   glibcpp_cv_func_ceilf_use=no
6096 fi
6097 rm -f conftest*
6098     ac_ext=c
6099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6100 ac_cpp='$CPP $CPPFLAGS'
6101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6103 cross_compiling=$ac_cv_prog_cc_cross
6104
6105   
6106 fi
6107
6108   echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6109   if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6110     for ac_func in ceilf
6111 do
6112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6113 echo "configure:6114: checking for $ac_func" >&5
6114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6115   echo $ac_n "(cached) $ac_c" 1>&6
6116 else
6117   cat > conftest.$ac_ext <<EOF
6118 #line 6119 "configure"
6119 #include "confdefs.h"
6120 /* System header to define __stub macros and hopefully few prototypes,
6121     which can conflict with char $ac_func(); below.  */
6122 #include <assert.h>
6123 /* Override any gcc2 internal prototype to avoid an error.  */
6124 /* We use char because int might match the return type of a gcc2
6125     builtin and then its argument prototype would still apply.  */
6126 char $ac_func();
6127
6128 int main() {
6129
6130 /* The GNU C library defines this for functions which it implements
6131     to always fail with ENOSYS.  Some functions are actually named
6132     something starting with __ and the normal name is an alias.  */
6133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6134 choke me
6135 #else
6136 $ac_func();
6137 #endif
6138
6139 ; return 0; }
6140 EOF
6141 if { (eval echo configure:6142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6142   rm -rf conftest*
6143   eval "ac_cv_func_$ac_func=yes"
6144 else
6145   echo "configure: failed program was:" >&5
6146   cat conftest.$ac_ext >&5
6147   rm -rf conftest*
6148   eval "ac_cv_func_$ac_func=no"
6149 fi
6150 rm -f conftest*
6151 fi
6152
6153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6154   echo "$ac_t""yes" 1>&6
6155     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6156   cat >> confdefs.h <<EOF
6157 #define $ac_tr_func 1
6158 EOF
6159  
6160 else
6161   echo "$ac_t""no" 1>&6
6162 fi
6163 done
6164     
6165   fi
6166
6167   
6168   echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6169 echo "configure:6170: checking for cosf declaration" >&5
6170   if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6171   echo $ac_n "(cached) $ac_c" 1>&6
6172 else
6173   
6174     
6175     ac_ext=C
6176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6177 ac_cpp='$CXXCPP $CPPFLAGS'
6178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6180 cross_compiling=$ac_cv_prog_cxx_cross
6181
6182     cat > conftest.$ac_ext <<EOF
6183 #line 6184 "configure"
6184 #include "confdefs.h"
6185 #include <math.h>
6186 int main() {
6187  cosf(0);
6188 ; return 0; }
6189 EOF
6190 if { (eval echo configure:6191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6191   rm -rf conftest*
6192   glibcpp_cv_func_cosf_use=yes
6193 else
6194   echo "configure: failed program was:" >&5
6195   cat conftest.$ac_ext >&5
6196   rm -rf conftest*
6197   glibcpp_cv_func_cosf_use=no
6198 fi
6199 rm -f conftest*
6200     ac_ext=c
6201 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6202 ac_cpp='$CPP $CPPFLAGS'
6203 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6204 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6205 cross_compiling=$ac_cv_prog_cc_cross
6206
6207   
6208 fi
6209
6210   echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6211   if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6212     for ac_func in cosf
6213 do
6214 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6215 echo "configure:6216: checking for $ac_func" >&5
6216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6217   echo $ac_n "(cached) $ac_c" 1>&6
6218 else
6219   cat > conftest.$ac_ext <<EOF
6220 #line 6221 "configure"
6221 #include "confdefs.h"
6222 /* System header to define __stub macros and hopefully few prototypes,
6223     which can conflict with char $ac_func(); below.  */
6224 #include <assert.h>
6225 /* Override any gcc2 internal prototype to avoid an error.  */
6226 /* We use char because int might match the return type of a gcc2
6227     builtin and then its argument prototype would still apply.  */
6228 char $ac_func();
6229
6230 int main() {
6231
6232 /* The GNU C library defines this for functions which it implements
6233     to always fail with ENOSYS.  Some functions are actually named
6234     something starting with __ and the normal name is an alias.  */
6235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6236 choke me
6237 #else
6238 $ac_func();
6239 #endif
6240
6241 ; return 0; }
6242 EOF
6243 if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6244   rm -rf conftest*
6245   eval "ac_cv_func_$ac_func=yes"
6246 else
6247   echo "configure: failed program was:" >&5
6248   cat conftest.$ac_ext >&5
6249   rm -rf conftest*
6250   eval "ac_cv_func_$ac_func=no"
6251 fi
6252 rm -f conftest*
6253 fi
6254
6255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6256   echo "$ac_t""yes" 1>&6
6257     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6258   cat >> confdefs.h <<EOF
6259 #define $ac_tr_func 1
6260 EOF
6261  
6262 else
6263   echo "$ac_t""no" 1>&6
6264 fi
6265 done
6266     
6267   fi
6268
6269   
6270   echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6271 echo "configure:6272: checking for coshf declaration" >&5
6272   if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6273   echo $ac_n "(cached) $ac_c" 1>&6
6274 else
6275   
6276     
6277     ac_ext=C
6278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6279 ac_cpp='$CXXCPP $CPPFLAGS'
6280 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6281 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6282 cross_compiling=$ac_cv_prog_cxx_cross
6283
6284     cat > conftest.$ac_ext <<EOF
6285 #line 6286 "configure"
6286 #include "confdefs.h"
6287 #include <math.h>
6288 int main() {
6289  coshf(0);
6290 ; return 0; }
6291 EOF
6292 if { (eval echo configure:6293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6293   rm -rf conftest*
6294   glibcpp_cv_func_coshf_use=yes
6295 else
6296   echo "configure: failed program was:" >&5
6297   cat conftest.$ac_ext >&5
6298   rm -rf conftest*
6299   glibcpp_cv_func_coshf_use=no
6300 fi
6301 rm -f conftest*
6302     ac_ext=c
6303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6304 ac_cpp='$CPP $CPPFLAGS'
6305 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6306 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6307 cross_compiling=$ac_cv_prog_cc_cross
6308
6309   
6310 fi
6311
6312   echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6313   if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6314     for ac_func in coshf
6315 do
6316 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6317 echo "configure:6318: checking for $ac_func" >&5
6318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6319   echo $ac_n "(cached) $ac_c" 1>&6
6320 else
6321   cat > conftest.$ac_ext <<EOF
6322 #line 6323 "configure"
6323 #include "confdefs.h"
6324 /* System header to define __stub macros and hopefully few prototypes,
6325     which can conflict with char $ac_func(); below.  */
6326 #include <assert.h>
6327 /* Override any gcc2 internal prototype to avoid an error.  */
6328 /* We use char because int might match the return type of a gcc2
6329     builtin and then its argument prototype would still apply.  */
6330 char $ac_func();
6331
6332 int main() {
6333
6334 /* The GNU C library defines this for functions which it implements
6335     to always fail with ENOSYS.  Some functions are actually named
6336     something starting with __ and the normal name is an alias.  */
6337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6338 choke me
6339 #else
6340 $ac_func();
6341 #endif
6342
6343 ; return 0; }
6344 EOF
6345 if { (eval echo configure:6346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6346   rm -rf conftest*
6347   eval "ac_cv_func_$ac_func=yes"
6348 else
6349   echo "configure: failed program was:" >&5
6350   cat conftest.$ac_ext >&5
6351   rm -rf conftest*
6352   eval "ac_cv_func_$ac_func=no"
6353 fi
6354 rm -f conftest*
6355 fi
6356
6357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6358   echo "$ac_t""yes" 1>&6
6359     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6360   cat >> confdefs.h <<EOF
6361 #define $ac_tr_func 1
6362 EOF
6363  
6364 else
6365   echo "$ac_t""no" 1>&6
6366 fi
6367 done
6368     
6369   fi
6370
6371   
6372   echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6373 echo "configure:6374: checking for expf declaration" >&5
6374   if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6375   echo $ac_n "(cached) $ac_c" 1>&6
6376 else
6377   
6378     
6379     ac_ext=C
6380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6381 ac_cpp='$CXXCPP $CPPFLAGS'
6382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6384 cross_compiling=$ac_cv_prog_cxx_cross
6385
6386     cat > conftest.$ac_ext <<EOF
6387 #line 6388 "configure"
6388 #include "confdefs.h"
6389 #include <math.h>
6390 int main() {
6391  expf(0);
6392 ; return 0; }
6393 EOF
6394 if { (eval echo configure:6395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6395   rm -rf conftest*
6396   glibcpp_cv_func_expf_use=yes
6397 else
6398   echo "configure: failed program was:" >&5
6399   cat conftest.$ac_ext >&5
6400   rm -rf conftest*
6401   glibcpp_cv_func_expf_use=no
6402 fi
6403 rm -f conftest*
6404     ac_ext=c
6405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6406 ac_cpp='$CPP $CPPFLAGS'
6407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6409 cross_compiling=$ac_cv_prog_cc_cross
6410
6411   
6412 fi
6413
6414   echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6415   if test x$glibcpp_cv_func_expf_use = x"yes"; then
6416     for ac_func in expf
6417 do
6418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6419 echo "configure:6420: checking for $ac_func" >&5
6420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6421   echo $ac_n "(cached) $ac_c" 1>&6
6422 else
6423   cat > conftest.$ac_ext <<EOF
6424 #line 6425 "configure"
6425 #include "confdefs.h"
6426 /* System header to define __stub macros and hopefully few prototypes,
6427     which can conflict with char $ac_func(); below.  */
6428 #include <assert.h>
6429 /* Override any gcc2 internal prototype to avoid an error.  */
6430 /* We use char because int might match the return type of a gcc2
6431     builtin and then its argument prototype would still apply.  */
6432 char $ac_func();
6433
6434 int main() {
6435
6436 /* The GNU C library defines this for functions which it implements
6437     to always fail with ENOSYS.  Some functions are actually named
6438     something starting with __ and the normal name is an alias.  */
6439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6440 choke me
6441 #else
6442 $ac_func();
6443 #endif
6444
6445 ; return 0; }
6446 EOF
6447 if { (eval echo configure:6448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6448   rm -rf conftest*
6449   eval "ac_cv_func_$ac_func=yes"
6450 else
6451   echo "configure: failed program was:" >&5
6452   cat conftest.$ac_ext >&5
6453   rm -rf conftest*
6454   eval "ac_cv_func_$ac_func=no"
6455 fi
6456 rm -f conftest*
6457 fi
6458
6459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6460   echo "$ac_t""yes" 1>&6
6461     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6462   cat >> confdefs.h <<EOF
6463 #define $ac_tr_func 1
6464 EOF
6465  
6466 else
6467   echo "$ac_t""no" 1>&6
6468 fi
6469 done
6470     
6471   fi
6472
6473   
6474   echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6475 echo "configure:6476: checking for fabsf declaration" >&5
6476   if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6477   echo $ac_n "(cached) $ac_c" 1>&6
6478 else
6479   
6480     
6481     ac_ext=C
6482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6483 ac_cpp='$CXXCPP $CPPFLAGS'
6484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6486 cross_compiling=$ac_cv_prog_cxx_cross
6487
6488     cat > conftest.$ac_ext <<EOF
6489 #line 6490 "configure"
6490 #include "confdefs.h"
6491 #include <math.h>
6492 int main() {
6493  fabsf(0);
6494 ; return 0; }
6495 EOF
6496 if { (eval echo configure:6497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6497   rm -rf conftest*
6498   glibcpp_cv_func_fabsf_use=yes
6499 else
6500   echo "configure: failed program was:" >&5
6501   cat conftest.$ac_ext >&5
6502   rm -rf conftest*
6503   glibcpp_cv_func_fabsf_use=no
6504 fi
6505 rm -f conftest*
6506     ac_ext=c
6507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6508 ac_cpp='$CPP $CPPFLAGS'
6509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6511 cross_compiling=$ac_cv_prog_cc_cross
6512
6513   
6514 fi
6515
6516   echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6517   if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6518     for ac_func in fabsf
6519 do
6520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6521 echo "configure:6522: checking for $ac_func" >&5
6522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6523   echo $ac_n "(cached) $ac_c" 1>&6
6524 else
6525   cat > conftest.$ac_ext <<EOF
6526 #line 6527 "configure"
6527 #include "confdefs.h"
6528 /* System header to define __stub macros and hopefully few prototypes,
6529     which can conflict with char $ac_func(); below.  */
6530 #include <assert.h>
6531 /* Override any gcc2 internal prototype to avoid an error.  */
6532 /* We use char because int might match the return type of a gcc2
6533     builtin and then its argument prototype would still apply.  */
6534 char $ac_func();
6535
6536 int main() {
6537
6538 /* The GNU C library defines this for functions which it implements
6539     to always fail with ENOSYS.  Some functions are actually named
6540     something starting with __ and the normal name is an alias.  */
6541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6542 choke me
6543 #else
6544 $ac_func();
6545 #endif
6546
6547 ; return 0; }
6548 EOF
6549 if { (eval echo configure:6550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6550   rm -rf conftest*
6551   eval "ac_cv_func_$ac_func=yes"
6552 else
6553   echo "configure: failed program was:" >&5
6554   cat conftest.$ac_ext >&5
6555   rm -rf conftest*
6556   eval "ac_cv_func_$ac_func=no"
6557 fi
6558 rm -f conftest*
6559 fi
6560
6561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6562   echo "$ac_t""yes" 1>&6
6563     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6564   cat >> confdefs.h <<EOF
6565 #define $ac_tr_func 1
6566 EOF
6567  
6568 else
6569   echo "$ac_t""no" 1>&6
6570 fi
6571 done
6572     
6573   fi
6574
6575   
6576   echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6577 echo "configure:6578: checking for floorf declaration" >&5
6578   if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6579   echo $ac_n "(cached) $ac_c" 1>&6
6580 else
6581   
6582     
6583     ac_ext=C
6584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6585 ac_cpp='$CXXCPP $CPPFLAGS'
6586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6588 cross_compiling=$ac_cv_prog_cxx_cross
6589
6590     cat > conftest.$ac_ext <<EOF
6591 #line 6592 "configure"
6592 #include "confdefs.h"
6593 #include <math.h>
6594 int main() {
6595  floorf(0);
6596 ; return 0; }
6597 EOF
6598 if { (eval echo configure:6599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6599   rm -rf conftest*
6600   glibcpp_cv_func_floorf_use=yes
6601 else
6602   echo "configure: failed program was:" >&5
6603   cat conftest.$ac_ext >&5
6604   rm -rf conftest*
6605   glibcpp_cv_func_floorf_use=no
6606 fi
6607 rm -f conftest*
6608     ac_ext=c
6609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6610 ac_cpp='$CPP $CPPFLAGS'
6611 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6612 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6613 cross_compiling=$ac_cv_prog_cc_cross
6614
6615   
6616 fi
6617
6618   echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6619   if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6620     for ac_func in floorf
6621 do
6622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6623 echo "configure:6624: checking for $ac_func" >&5
6624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6625   echo $ac_n "(cached) $ac_c" 1>&6
6626 else
6627   cat > conftest.$ac_ext <<EOF
6628 #line 6629 "configure"
6629 #include "confdefs.h"
6630 /* System header to define __stub macros and hopefully few prototypes,
6631     which can conflict with char $ac_func(); below.  */
6632 #include <assert.h>
6633 /* Override any gcc2 internal prototype to avoid an error.  */
6634 /* We use char because int might match the return type of a gcc2
6635     builtin and then its argument prototype would still apply.  */
6636 char $ac_func();
6637
6638 int main() {
6639
6640 /* The GNU C library defines this for functions which it implements
6641     to always fail with ENOSYS.  Some functions are actually named
6642     something starting with __ and the normal name is an alias.  */
6643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6644 choke me
6645 #else
6646 $ac_func();
6647 #endif
6648
6649 ; return 0; }
6650 EOF
6651 if { (eval echo configure:6652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6652   rm -rf conftest*
6653   eval "ac_cv_func_$ac_func=yes"
6654 else
6655   echo "configure: failed program was:" >&5
6656   cat conftest.$ac_ext >&5
6657   rm -rf conftest*
6658   eval "ac_cv_func_$ac_func=no"
6659 fi
6660 rm -f conftest*
6661 fi
6662
6663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6664   echo "$ac_t""yes" 1>&6
6665     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6666   cat >> confdefs.h <<EOF
6667 #define $ac_tr_func 1
6668 EOF
6669  
6670 else
6671   echo "$ac_t""no" 1>&6
6672 fi
6673 done
6674     
6675   fi
6676
6677   
6678   echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6679 echo "configure:6680: checking for fmodf declaration" >&5
6680   if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6681   echo $ac_n "(cached) $ac_c" 1>&6
6682 else
6683   
6684     
6685     ac_ext=C
6686 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6687 ac_cpp='$CXXCPP $CPPFLAGS'
6688 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6689 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6690 cross_compiling=$ac_cv_prog_cxx_cross
6691
6692     cat > conftest.$ac_ext <<EOF
6693 #line 6694 "configure"
6694 #include "confdefs.h"
6695 #include <math.h>
6696 int main() {
6697  fmodf(0, 0);
6698 ; return 0; }
6699 EOF
6700 if { (eval echo configure:6701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6701   rm -rf conftest*
6702   glibcpp_cv_func_fmodf_use=yes
6703 else
6704   echo "configure: failed program was:" >&5
6705   cat conftest.$ac_ext >&5
6706   rm -rf conftest*
6707   glibcpp_cv_func_fmodf_use=no
6708 fi
6709 rm -f conftest*
6710     ac_ext=c
6711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6712 ac_cpp='$CPP $CPPFLAGS'
6713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6715 cross_compiling=$ac_cv_prog_cc_cross
6716
6717   
6718 fi
6719
6720   echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6721   if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6722     for ac_func in fmodf
6723 do
6724 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6725 echo "configure:6726: checking for $ac_func" >&5
6726 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6727   echo $ac_n "(cached) $ac_c" 1>&6
6728 else
6729   cat > conftest.$ac_ext <<EOF
6730 #line 6731 "configure"
6731 #include "confdefs.h"
6732 /* System header to define __stub macros and hopefully few prototypes,
6733     which can conflict with char $ac_func(); below.  */
6734 #include <assert.h>
6735 /* Override any gcc2 internal prototype to avoid an error.  */
6736 /* We use char because int might match the return type of a gcc2
6737     builtin and then its argument prototype would still apply.  */
6738 char $ac_func();
6739
6740 int main() {
6741
6742 /* The GNU C library defines this for functions which it implements
6743     to always fail with ENOSYS.  Some functions are actually named
6744     something starting with __ and the normal name is an alias.  */
6745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6746 choke me
6747 #else
6748 $ac_func();
6749 #endif
6750
6751 ; return 0; }
6752 EOF
6753 if { (eval echo configure:6754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6754   rm -rf conftest*
6755   eval "ac_cv_func_$ac_func=yes"
6756 else
6757   echo "configure: failed program was:" >&5
6758   cat conftest.$ac_ext >&5
6759   rm -rf conftest*
6760   eval "ac_cv_func_$ac_func=no"
6761 fi
6762 rm -f conftest*
6763 fi
6764
6765 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6766   echo "$ac_t""yes" 1>&6
6767     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6768   cat >> confdefs.h <<EOF
6769 #define $ac_tr_func 1
6770 EOF
6771  
6772 else
6773   echo "$ac_t""no" 1>&6
6774 fi
6775 done
6776     
6777   fi
6778
6779   
6780   echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6781 echo "configure:6782: checking for frexpf declaration" >&5
6782   if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6783   echo $ac_n "(cached) $ac_c" 1>&6
6784 else
6785   
6786     
6787     ac_ext=C
6788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6789 ac_cpp='$CXXCPP $CPPFLAGS'
6790 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6791 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6792 cross_compiling=$ac_cv_prog_cxx_cross
6793
6794     cat > conftest.$ac_ext <<EOF
6795 #line 6796 "configure"
6796 #include "confdefs.h"
6797 #include <math.h>
6798 int main() {
6799  frexpf(0, 0);
6800 ; return 0; }
6801 EOF
6802 if { (eval echo configure:6803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6803   rm -rf conftest*
6804   glibcpp_cv_func_frexpf_use=yes
6805 else
6806   echo "configure: failed program was:" >&5
6807   cat conftest.$ac_ext >&5
6808   rm -rf conftest*
6809   glibcpp_cv_func_frexpf_use=no
6810 fi
6811 rm -f conftest*
6812     ac_ext=c
6813 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6814 ac_cpp='$CPP $CPPFLAGS'
6815 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6816 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6817 cross_compiling=$ac_cv_prog_cc_cross
6818
6819   
6820 fi
6821
6822   echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6823   if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6824     for ac_func in frexpf
6825 do
6826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6827 echo "configure:6828: checking for $ac_func" >&5
6828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6829   echo $ac_n "(cached) $ac_c" 1>&6
6830 else
6831   cat > conftest.$ac_ext <<EOF
6832 #line 6833 "configure"
6833 #include "confdefs.h"
6834 /* System header to define __stub macros and hopefully few prototypes,
6835     which can conflict with char $ac_func(); below.  */
6836 #include <assert.h>
6837 /* Override any gcc2 internal prototype to avoid an error.  */
6838 /* We use char because int might match the return type of a gcc2
6839     builtin and then its argument prototype would still apply.  */
6840 char $ac_func();
6841
6842 int main() {
6843
6844 /* The GNU C library defines this for functions which it implements
6845     to always fail with ENOSYS.  Some functions are actually named
6846     something starting with __ and the normal name is an alias.  */
6847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6848 choke me
6849 #else
6850 $ac_func();
6851 #endif
6852
6853 ; return 0; }
6854 EOF
6855 if { (eval echo configure:6856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6856   rm -rf conftest*
6857   eval "ac_cv_func_$ac_func=yes"
6858 else
6859   echo "configure: failed program was:" >&5
6860   cat conftest.$ac_ext >&5
6861   rm -rf conftest*
6862   eval "ac_cv_func_$ac_func=no"
6863 fi
6864 rm -f conftest*
6865 fi
6866
6867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6868   echo "$ac_t""yes" 1>&6
6869     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6870   cat >> confdefs.h <<EOF
6871 #define $ac_tr_func 1
6872 EOF
6873  
6874 else
6875   echo "$ac_t""no" 1>&6
6876 fi
6877 done
6878     
6879   fi
6880
6881   
6882   echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
6883 echo "configure:6884: checking for ldexpf declaration" >&5
6884   if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
6885   echo $ac_n "(cached) $ac_c" 1>&6
6886 else
6887   
6888     
6889     ac_ext=C
6890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6891 ac_cpp='$CXXCPP $CPPFLAGS'
6892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6894 cross_compiling=$ac_cv_prog_cxx_cross
6895
6896     cat > conftest.$ac_ext <<EOF
6897 #line 6898 "configure"
6898 #include "confdefs.h"
6899 #include <math.h>
6900 int main() {
6901  ldexpf(0, 0);
6902 ; return 0; }
6903 EOF
6904 if { (eval echo configure:6905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6905   rm -rf conftest*
6906   glibcpp_cv_func_ldexpf_use=yes
6907 else
6908   echo "configure: failed program was:" >&5
6909   cat conftest.$ac_ext >&5
6910   rm -rf conftest*
6911   glibcpp_cv_func_ldexpf_use=no
6912 fi
6913 rm -f conftest*
6914     ac_ext=c
6915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6916 ac_cpp='$CPP $CPPFLAGS'
6917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6919 cross_compiling=$ac_cv_prog_cc_cross
6920
6921   
6922 fi
6923
6924   echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
6925   if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
6926     for ac_func in ldexpf
6927 do
6928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6929 echo "configure:6930: checking for $ac_func" >&5
6930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6931   echo $ac_n "(cached) $ac_c" 1>&6
6932 else
6933   cat > conftest.$ac_ext <<EOF
6934 #line 6935 "configure"
6935 #include "confdefs.h"
6936 /* System header to define __stub macros and hopefully few prototypes,
6937     which can conflict with char $ac_func(); below.  */
6938 #include <assert.h>
6939 /* Override any gcc2 internal prototype to avoid an error.  */
6940 /* We use char because int might match the return type of a gcc2
6941     builtin and then its argument prototype would still apply.  */
6942 char $ac_func();
6943
6944 int main() {
6945
6946 /* The GNU C library defines this for functions which it implements
6947     to always fail with ENOSYS.  Some functions are actually named
6948     something starting with __ and the normal name is an alias.  */
6949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6950 choke me
6951 #else
6952 $ac_func();
6953 #endif
6954
6955 ; return 0; }
6956 EOF
6957 if { (eval echo configure:6958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6958   rm -rf conftest*
6959   eval "ac_cv_func_$ac_func=yes"
6960 else
6961   echo "configure: failed program was:" >&5
6962   cat conftest.$ac_ext >&5
6963   rm -rf conftest*
6964   eval "ac_cv_func_$ac_func=no"
6965 fi
6966 rm -f conftest*
6967 fi
6968
6969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6970   echo "$ac_t""yes" 1>&6
6971     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6972   cat >> confdefs.h <<EOF
6973 #define $ac_tr_func 1
6974 EOF
6975  
6976 else
6977   echo "$ac_t""no" 1>&6
6978 fi
6979 done
6980     
6981   fi
6982
6983   
6984   echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
6985 echo "configure:6986: checking for logf declaration" >&5
6986   if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
6987   echo $ac_n "(cached) $ac_c" 1>&6
6988 else
6989   
6990     
6991     ac_ext=C
6992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6993 ac_cpp='$CXXCPP $CPPFLAGS'
6994 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6995 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6996 cross_compiling=$ac_cv_prog_cxx_cross
6997
6998     cat > conftest.$ac_ext <<EOF
6999 #line 7000 "configure"
7000 #include "confdefs.h"
7001 #include <math.h>
7002 int main() {
7003  logf(0);
7004 ; return 0; }
7005 EOF
7006 if { (eval echo configure:7007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7007   rm -rf conftest*
7008   glibcpp_cv_func_logf_use=yes
7009 else
7010   echo "configure: failed program was:" >&5
7011   cat conftest.$ac_ext >&5
7012   rm -rf conftest*
7013   glibcpp_cv_func_logf_use=no
7014 fi
7015 rm -f conftest*
7016     ac_ext=c
7017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7018 ac_cpp='$CPP $CPPFLAGS'
7019 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7020 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7021 cross_compiling=$ac_cv_prog_cc_cross
7022
7023   
7024 fi
7025
7026   echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7027   if test x$glibcpp_cv_func_logf_use = x"yes"; then
7028     for ac_func in logf
7029 do
7030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7031 echo "configure:7032: checking for $ac_func" >&5
7032 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7033   echo $ac_n "(cached) $ac_c" 1>&6
7034 else
7035   cat > conftest.$ac_ext <<EOF
7036 #line 7037 "configure"
7037 #include "confdefs.h"
7038 /* System header to define __stub macros and hopefully few prototypes,
7039     which can conflict with char $ac_func(); below.  */
7040 #include <assert.h>
7041 /* Override any gcc2 internal prototype to avoid an error.  */
7042 /* We use char because int might match the return type of a gcc2
7043     builtin and then its argument prototype would still apply.  */
7044 char $ac_func();
7045
7046 int main() {
7047
7048 /* The GNU C library defines this for functions which it implements
7049     to always fail with ENOSYS.  Some functions are actually named
7050     something starting with __ and the normal name is an alias.  */
7051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7052 choke me
7053 #else
7054 $ac_func();
7055 #endif
7056
7057 ; return 0; }
7058 EOF
7059 if { (eval echo configure:7060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7060   rm -rf conftest*
7061   eval "ac_cv_func_$ac_func=yes"
7062 else
7063   echo "configure: failed program was:" >&5
7064   cat conftest.$ac_ext >&5
7065   rm -rf conftest*
7066   eval "ac_cv_func_$ac_func=no"
7067 fi
7068 rm -f conftest*
7069 fi
7070
7071 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7072   echo "$ac_t""yes" 1>&6
7073     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7074   cat >> confdefs.h <<EOF
7075 #define $ac_tr_func 1
7076 EOF
7077  
7078 else
7079   echo "$ac_t""no" 1>&6
7080 fi
7081 done
7082     
7083   fi
7084
7085   
7086   echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7087 echo "configure:7088: checking for log10f declaration" >&5
7088   if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7089   echo $ac_n "(cached) $ac_c" 1>&6
7090 else
7091   
7092     
7093     ac_ext=C
7094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7095 ac_cpp='$CXXCPP $CPPFLAGS'
7096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7098 cross_compiling=$ac_cv_prog_cxx_cross
7099
7100     cat > conftest.$ac_ext <<EOF
7101 #line 7102 "configure"
7102 #include "confdefs.h"
7103 #include <math.h>
7104 int main() {
7105  log10f(0);
7106 ; return 0; }
7107 EOF
7108 if { (eval echo configure:7109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7109   rm -rf conftest*
7110   glibcpp_cv_func_log10f_use=yes
7111 else
7112   echo "configure: failed program was:" >&5
7113   cat conftest.$ac_ext >&5
7114   rm -rf conftest*
7115   glibcpp_cv_func_log10f_use=no
7116 fi
7117 rm -f conftest*
7118     ac_ext=c
7119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7120 ac_cpp='$CPP $CPPFLAGS'
7121 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7122 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7123 cross_compiling=$ac_cv_prog_cc_cross
7124
7125   
7126 fi
7127
7128   echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7129   if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7130     for ac_func in log10f
7131 do
7132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7133 echo "configure:7134: checking for $ac_func" >&5
7134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7135   echo $ac_n "(cached) $ac_c" 1>&6
7136 else
7137   cat > conftest.$ac_ext <<EOF
7138 #line 7139 "configure"
7139 #include "confdefs.h"
7140 /* System header to define __stub macros and hopefully few prototypes,
7141     which can conflict with char $ac_func(); below.  */
7142 #include <assert.h>
7143 /* Override any gcc2 internal prototype to avoid an error.  */
7144 /* We use char because int might match the return type of a gcc2
7145     builtin and then its argument prototype would still apply.  */
7146 char $ac_func();
7147
7148 int main() {
7149
7150 /* The GNU C library defines this for functions which it implements
7151     to always fail with ENOSYS.  Some functions are actually named
7152     something starting with __ and the normal name is an alias.  */
7153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7154 choke me
7155 #else
7156 $ac_func();
7157 #endif
7158
7159 ; return 0; }
7160 EOF
7161 if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7162   rm -rf conftest*
7163   eval "ac_cv_func_$ac_func=yes"
7164 else
7165   echo "configure: failed program was:" >&5
7166   cat conftest.$ac_ext >&5
7167   rm -rf conftest*
7168   eval "ac_cv_func_$ac_func=no"
7169 fi
7170 rm -f conftest*
7171 fi
7172
7173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7174   echo "$ac_t""yes" 1>&6
7175     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7176   cat >> confdefs.h <<EOF
7177 #define $ac_tr_func 1
7178 EOF
7179  
7180 else
7181   echo "$ac_t""no" 1>&6
7182 fi
7183 done
7184     
7185   fi
7186
7187   
7188   echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7189 echo "configure:7190: checking for modff declaration" >&5
7190   if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7191   echo $ac_n "(cached) $ac_c" 1>&6
7192 else
7193   
7194     
7195     ac_ext=C
7196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7197 ac_cpp='$CXXCPP $CPPFLAGS'
7198 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7199 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7200 cross_compiling=$ac_cv_prog_cxx_cross
7201
7202     cat > conftest.$ac_ext <<EOF
7203 #line 7204 "configure"
7204 #include "confdefs.h"
7205 #include <math.h>
7206 int main() {
7207  modff(0, 0);
7208 ; return 0; }
7209 EOF
7210 if { (eval echo configure:7211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7211   rm -rf conftest*
7212   glibcpp_cv_func_modff_use=yes
7213 else
7214   echo "configure: failed program was:" >&5
7215   cat conftest.$ac_ext >&5
7216   rm -rf conftest*
7217   glibcpp_cv_func_modff_use=no
7218 fi
7219 rm -f conftest*
7220     ac_ext=c
7221 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7222 ac_cpp='$CPP $CPPFLAGS'
7223 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7224 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7225 cross_compiling=$ac_cv_prog_cc_cross
7226
7227   
7228 fi
7229
7230   echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7231   if test x$glibcpp_cv_func_modff_use = x"yes"; then
7232     for ac_func in modff
7233 do
7234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7235 echo "configure:7236: checking for $ac_func" >&5
7236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7237   echo $ac_n "(cached) $ac_c" 1>&6
7238 else
7239   cat > conftest.$ac_ext <<EOF
7240 #line 7241 "configure"
7241 #include "confdefs.h"
7242 /* System header to define __stub macros and hopefully few prototypes,
7243     which can conflict with char $ac_func(); below.  */
7244 #include <assert.h>
7245 /* Override any gcc2 internal prototype to avoid an error.  */
7246 /* We use char because int might match the return type of a gcc2
7247     builtin and then its argument prototype would still apply.  */
7248 char $ac_func();
7249
7250 int main() {
7251
7252 /* The GNU C library defines this for functions which it implements
7253     to always fail with ENOSYS.  Some functions are actually named
7254     something starting with __ and the normal name is an alias.  */
7255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7256 choke me
7257 #else
7258 $ac_func();
7259 #endif
7260
7261 ; return 0; }
7262 EOF
7263 if { (eval echo configure:7264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7264   rm -rf conftest*
7265   eval "ac_cv_func_$ac_func=yes"
7266 else
7267   echo "configure: failed program was:" >&5
7268   cat conftest.$ac_ext >&5
7269   rm -rf conftest*
7270   eval "ac_cv_func_$ac_func=no"
7271 fi
7272 rm -f conftest*
7273 fi
7274
7275 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7276   echo "$ac_t""yes" 1>&6
7277     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7278   cat >> confdefs.h <<EOF
7279 #define $ac_tr_func 1
7280 EOF
7281  
7282 else
7283   echo "$ac_t""no" 1>&6
7284 fi
7285 done
7286     
7287   fi
7288
7289   
7290   echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7291 echo "configure:7292: checking for powf declaration" >&5
7292   if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7293   echo $ac_n "(cached) $ac_c" 1>&6
7294 else
7295   
7296     
7297     ac_ext=C
7298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7299 ac_cpp='$CXXCPP $CPPFLAGS'
7300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7301 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7302 cross_compiling=$ac_cv_prog_cxx_cross
7303
7304     cat > conftest.$ac_ext <<EOF
7305 #line 7306 "configure"
7306 #include "confdefs.h"
7307 #include <math.h>
7308 int main() {
7309  powf(0, 0);
7310 ; return 0; }
7311 EOF
7312 if { (eval echo configure:7313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7313   rm -rf conftest*
7314   glibcpp_cv_func_powf_use=yes
7315 else
7316   echo "configure: failed program was:" >&5
7317   cat conftest.$ac_ext >&5
7318   rm -rf conftest*
7319   glibcpp_cv_func_powf_use=no
7320 fi
7321 rm -f conftest*
7322     ac_ext=c
7323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7324 ac_cpp='$CPP $CPPFLAGS'
7325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7327 cross_compiling=$ac_cv_prog_cc_cross
7328
7329   
7330 fi
7331
7332   echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7333   if test x$glibcpp_cv_func_powf_use = x"yes"; then
7334     for ac_func in powf
7335 do
7336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7337 echo "configure:7338: checking for $ac_func" >&5
7338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7339   echo $ac_n "(cached) $ac_c" 1>&6
7340 else
7341   cat > conftest.$ac_ext <<EOF
7342 #line 7343 "configure"
7343 #include "confdefs.h"
7344 /* System header to define __stub macros and hopefully few prototypes,
7345     which can conflict with char $ac_func(); below.  */
7346 #include <assert.h>
7347 /* Override any gcc2 internal prototype to avoid an error.  */
7348 /* We use char because int might match the return type of a gcc2
7349     builtin and then its argument prototype would still apply.  */
7350 char $ac_func();
7351
7352 int main() {
7353
7354 /* The GNU C library defines this for functions which it implements
7355     to always fail with ENOSYS.  Some functions are actually named
7356     something starting with __ and the normal name is an alias.  */
7357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7358 choke me
7359 #else
7360 $ac_func();
7361 #endif
7362
7363 ; return 0; }
7364 EOF
7365 if { (eval echo configure:7366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7366   rm -rf conftest*
7367   eval "ac_cv_func_$ac_func=yes"
7368 else
7369   echo "configure: failed program was:" >&5
7370   cat conftest.$ac_ext >&5
7371   rm -rf conftest*
7372   eval "ac_cv_func_$ac_func=no"
7373 fi
7374 rm -f conftest*
7375 fi
7376
7377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7378   echo "$ac_t""yes" 1>&6
7379     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7380   cat >> confdefs.h <<EOF
7381 #define $ac_tr_func 1
7382 EOF
7383  
7384 else
7385   echo "$ac_t""no" 1>&6
7386 fi
7387 done
7388     
7389   fi
7390
7391   
7392   echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7393 echo "configure:7394: checking for sinf declaration" >&5
7394   if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7395   echo $ac_n "(cached) $ac_c" 1>&6
7396 else
7397   
7398     
7399     ac_ext=C
7400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7401 ac_cpp='$CXXCPP $CPPFLAGS'
7402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7404 cross_compiling=$ac_cv_prog_cxx_cross
7405
7406     cat > conftest.$ac_ext <<EOF
7407 #line 7408 "configure"
7408 #include "confdefs.h"
7409 #include <math.h>
7410 int main() {
7411  sinf(0);
7412 ; return 0; }
7413 EOF
7414 if { (eval echo configure:7415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7415   rm -rf conftest*
7416   glibcpp_cv_func_sinf_use=yes
7417 else
7418   echo "configure: failed program was:" >&5
7419   cat conftest.$ac_ext >&5
7420   rm -rf conftest*
7421   glibcpp_cv_func_sinf_use=no
7422 fi
7423 rm -f conftest*
7424     ac_ext=c
7425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7426 ac_cpp='$CPP $CPPFLAGS'
7427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7429 cross_compiling=$ac_cv_prog_cc_cross
7430
7431   
7432 fi
7433
7434   echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7435   if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7436     for ac_func in sinf
7437 do
7438 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7439 echo "configure:7440: checking for $ac_func" >&5
7440 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7441   echo $ac_n "(cached) $ac_c" 1>&6
7442 else
7443   cat > conftest.$ac_ext <<EOF
7444 #line 7445 "configure"
7445 #include "confdefs.h"
7446 /* System header to define __stub macros and hopefully few prototypes,
7447     which can conflict with char $ac_func(); below.  */
7448 #include <assert.h>
7449 /* Override any gcc2 internal prototype to avoid an error.  */
7450 /* We use char because int might match the return type of a gcc2
7451     builtin and then its argument prototype would still apply.  */
7452 char $ac_func();
7453
7454 int main() {
7455
7456 /* The GNU C library defines this for functions which it implements
7457     to always fail with ENOSYS.  Some functions are actually named
7458     something starting with __ and the normal name is an alias.  */
7459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7460 choke me
7461 #else
7462 $ac_func();
7463 #endif
7464
7465 ; return 0; }
7466 EOF
7467 if { (eval echo configure:7468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7468   rm -rf conftest*
7469   eval "ac_cv_func_$ac_func=yes"
7470 else
7471   echo "configure: failed program was:" >&5
7472   cat conftest.$ac_ext >&5
7473   rm -rf conftest*
7474   eval "ac_cv_func_$ac_func=no"
7475 fi
7476 rm -f conftest*
7477 fi
7478
7479 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7480   echo "$ac_t""yes" 1>&6
7481     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7482   cat >> confdefs.h <<EOF
7483 #define $ac_tr_func 1
7484 EOF
7485  
7486 else
7487   echo "$ac_t""no" 1>&6
7488 fi
7489 done
7490     
7491   fi
7492
7493   
7494   echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7495 echo "configure:7496: checking for sinhf declaration" >&5
7496   if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7497   echo $ac_n "(cached) $ac_c" 1>&6
7498 else
7499   
7500     
7501     ac_ext=C
7502 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7503 ac_cpp='$CXXCPP $CPPFLAGS'
7504 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7505 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7506 cross_compiling=$ac_cv_prog_cxx_cross
7507
7508     cat > conftest.$ac_ext <<EOF
7509 #line 7510 "configure"
7510 #include "confdefs.h"
7511 #include <math.h>
7512 int main() {
7513  sinhf(0);
7514 ; return 0; }
7515 EOF
7516 if { (eval echo configure:7517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7517   rm -rf conftest*
7518   glibcpp_cv_func_sinhf_use=yes
7519 else
7520   echo "configure: failed program was:" >&5
7521   cat conftest.$ac_ext >&5
7522   rm -rf conftest*
7523   glibcpp_cv_func_sinhf_use=no
7524 fi
7525 rm -f conftest*
7526     ac_ext=c
7527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7528 ac_cpp='$CPP $CPPFLAGS'
7529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7531 cross_compiling=$ac_cv_prog_cc_cross
7532
7533   
7534 fi
7535
7536   echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7537   if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7538     for ac_func in sinhf
7539 do
7540 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7541 echo "configure:7542: checking for $ac_func" >&5
7542 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7543   echo $ac_n "(cached) $ac_c" 1>&6
7544 else
7545   cat > conftest.$ac_ext <<EOF
7546 #line 7547 "configure"
7547 #include "confdefs.h"
7548 /* System header to define __stub macros and hopefully few prototypes,
7549     which can conflict with char $ac_func(); below.  */
7550 #include <assert.h>
7551 /* Override any gcc2 internal prototype to avoid an error.  */
7552 /* We use char because int might match the return type of a gcc2
7553     builtin and then its argument prototype would still apply.  */
7554 char $ac_func();
7555
7556 int main() {
7557
7558 /* The GNU C library defines this for functions which it implements
7559     to always fail with ENOSYS.  Some functions are actually named
7560     something starting with __ and the normal name is an alias.  */
7561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7562 choke me
7563 #else
7564 $ac_func();
7565 #endif
7566
7567 ; return 0; }
7568 EOF
7569 if { (eval echo configure:7570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7570   rm -rf conftest*
7571   eval "ac_cv_func_$ac_func=yes"
7572 else
7573   echo "configure: failed program was:" >&5
7574   cat conftest.$ac_ext >&5
7575   rm -rf conftest*
7576   eval "ac_cv_func_$ac_func=no"
7577 fi
7578 rm -f conftest*
7579 fi
7580
7581 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7582   echo "$ac_t""yes" 1>&6
7583     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7584   cat >> confdefs.h <<EOF
7585 #define $ac_tr_func 1
7586 EOF
7587  
7588 else
7589   echo "$ac_t""no" 1>&6
7590 fi
7591 done
7592     
7593   fi
7594
7595   
7596   echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7597 echo "configure:7598: checking for sqrtf declaration" >&5
7598   if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7599   echo $ac_n "(cached) $ac_c" 1>&6
7600 else
7601   
7602     
7603     ac_ext=C
7604 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7605 ac_cpp='$CXXCPP $CPPFLAGS'
7606 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7607 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7608 cross_compiling=$ac_cv_prog_cxx_cross
7609
7610     cat > conftest.$ac_ext <<EOF
7611 #line 7612 "configure"
7612 #include "confdefs.h"
7613 #include <math.h>
7614 int main() {
7615  sqrtf(0);
7616 ; return 0; }
7617 EOF
7618 if { (eval echo configure:7619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7619   rm -rf conftest*
7620   glibcpp_cv_func_sqrtf_use=yes
7621 else
7622   echo "configure: failed program was:" >&5
7623   cat conftest.$ac_ext >&5
7624   rm -rf conftest*
7625   glibcpp_cv_func_sqrtf_use=no
7626 fi
7627 rm -f conftest*
7628     ac_ext=c
7629 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7630 ac_cpp='$CPP $CPPFLAGS'
7631 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7632 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7633 cross_compiling=$ac_cv_prog_cc_cross
7634
7635   
7636 fi
7637
7638   echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7639   if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7640     for ac_func in sqrtf
7641 do
7642 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7643 echo "configure:7644: checking for $ac_func" >&5
7644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7645   echo $ac_n "(cached) $ac_c" 1>&6
7646 else
7647   cat > conftest.$ac_ext <<EOF
7648 #line 7649 "configure"
7649 #include "confdefs.h"
7650 /* System header to define __stub macros and hopefully few prototypes,
7651     which can conflict with char $ac_func(); below.  */
7652 #include <assert.h>
7653 /* Override any gcc2 internal prototype to avoid an error.  */
7654 /* We use char because int might match the return type of a gcc2
7655     builtin and then its argument prototype would still apply.  */
7656 char $ac_func();
7657
7658 int main() {
7659
7660 /* The GNU C library defines this for functions which it implements
7661     to always fail with ENOSYS.  Some functions are actually named
7662     something starting with __ and the normal name is an alias.  */
7663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7664 choke me
7665 #else
7666 $ac_func();
7667 #endif
7668
7669 ; return 0; }
7670 EOF
7671 if { (eval echo configure:7672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7672   rm -rf conftest*
7673   eval "ac_cv_func_$ac_func=yes"
7674 else
7675   echo "configure: failed program was:" >&5
7676   cat conftest.$ac_ext >&5
7677   rm -rf conftest*
7678   eval "ac_cv_func_$ac_func=no"
7679 fi
7680 rm -f conftest*
7681 fi
7682
7683 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7684   echo "$ac_t""yes" 1>&6
7685     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7686   cat >> confdefs.h <<EOF
7687 #define $ac_tr_func 1
7688 EOF
7689  
7690 else
7691   echo "$ac_t""no" 1>&6
7692 fi
7693 done
7694     
7695   fi
7696
7697   
7698   echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7699 echo "configure:7700: checking for tanf declaration" >&5
7700   if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7701   echo $ac_n "(cached) $ac_c" 1>&6
7702 else
7703   
7704     
7705     ac_ext=C
7706 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7707 ac_cpp='$CXXCPP $CPPFLAGS'
7708 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7709 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7710 cross_compiling=$ac_cv_prog_cxx_cross
7711
7712     cat > conftest.$ac_ext <<EOF
7713 #line 7714 "configure"
7714 #include "confdefs.h"
7715 #include <math.h>
7716 int main() {
7717  tanf(0);
7718 ; return 0; }
7719 EOF
7720 if { (eval echo configure:7721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7721   rm -rf conftest*
7722   glibcpp_cv_func_tanf_use=yes
7723 else
7724   echo "configure: failed program was:" >&5
7725   cat conftest.$ac_ext >&5
7726   rm -rf conftest*
7727   glibcpp_cv_func_tanf_use=no
7728 fi
7729 rm -f conftest*
7730     ac_ext=c
7731 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7732 ac_cpp='$CPP $CPPFLAGS'
7733 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7734 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7735 cross_compiling=$ac_cv_prog_cc_cross
7736
7737   
7738 fi
7739
7740   echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7741   if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7742     for ac_func in tanf
7743 do
7744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7745 echo "configure:7746: checking for $ac_func" >&5
7746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7747   echo $ac_n "(cached) $ac_c" 1>&6
7748 else
7749   cat > conftest.$ac_ext <<EOF
7750 #line 7751 "configure"
7751 #include "confdefs.h"
7752 /* System header to define __stub macros and hopefully few prototypes,
7753     which can conflict with char $ac_func(); below.  */
7754 #include <assert.h>
7755 /* Override any gcc2 internal prototype to avoid an error.  */
7756 /* We use char because int might match the return type of a gcc2
7757     builtin and then its argument prototype would still apply.  */
7758 char $ac_func();
7759
7760 int main() {
7761
7762 /* The GNU C library defines this for functions which it implements
7763     to always fail with ENOSYS.  Some functions are actually named
7764     something starting with __ and the normal name is an alias.  */
7765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7766 choke me
7767 #else
7768 $ac_func();
7769 #endif
7770
7771 ; return 0; }
7772 EOF
7773 if { (eval echo configure:7774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7774   rm -rf conftest*
7775   eval "ac_cv_func_$ac_func=yes"
7776 else
7777   echo "configure: failed program was:" >&5
7778   cat conftest.$ac_ext >&5
7779   rm -rf conftest*
7780   eval "ac_cv_func_$ac_func=no"
7781 fi
7782 rm -f conftest*
7783 fi
7784
7785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7786   echo "$ac_t""yes" 1>&6
7787     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7788   cat >> confdefs.h <<EOF
7789 #define $ac_tr_func 1
7790 EOF
7791  
7792 else
7793   echo "$ac_t""no" 1>&6
7794 fi
7795 done
7796     
7797   fi
7798
7799   
7800   echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7801 echo "configure:7802: checking for tanhf declaration" >&5
7802   if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7803   echo $ac_n "(cached) $ac_c" 1>&6
7804 else
7805   
7806     
7807     ac_ext=C
7808 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7809 ac_cpp='$CXXCPP $CPPFLAGS'
7810 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7811 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7812 cross_compiling=$ac_cv_prog_cxx_cross
7813
7814     cat > conftest.$ac_ext <<EOF
7815 #line 7816 "configure"
7816 #include "confdefs.h"
7817 #include <math.h>
7818 int main() {
7819  tanhf(0);
7820 ; return 0; }
7821 EOF
7822 if { (eval echo configure:7823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7823   rm -rf conftest*
7824   glibcpp_cv_func_tanhf_use=yes
7825 else
7826   echo "configure: failed program was:" >&5
7827   cat conftest.$ac_ext >&5
7828   rm -rf conftest*
7829   glibcpp_cv_func_tanhf_use=no
7830 fi
7831 rm -f conftest*
7832     ac_ext=c
7833 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7834 ac_cpp='$CPP $CPPFLAGS'
7835 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7836 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7837 cross_compiling=$ac_cv_prog_cc_cross
7838
7839   
7840 fi
7841
7842   echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
7843   if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
7844     for ac_func in tanhf
7845 do
7846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7847 echo "configure:7848: checking for $ac_func" >&5
7848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7849   echo $ac_n "(cached) $ac_c" 1>&6
7850 else
7851   cat > conftest.$ac_ext <<EOF
7852 #line 7853 "configure"
7853 #include "confdefs.h"
7854 /* System header to define __stub macros and hopefully few prototypes,
7855     which can conflict with char $ac_func(); below.  */
7856 #include <assert.h>
7857 /* Override any gcc2 internal prototype to avoid an error.  */
7858 /* We use char because int might match the return type of a gcc2
7859     builtin and then its argument prototype would still apply.  */
7860 char $ac_func();
7861
7862 int main() {
7863
7864 /* The GNU C library defines this for functions which it implements
7865     to always fail with ENOSYS.  Some functions are actually named
7866     something starting with __ and the normal name is an alias.  */
7867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7868 choke me
7869 #else
7870 $ac_func();
7871 #endif
7872
7873 ; return 0; }
7874 EOF
7875 if { (eval echo configure:7876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7876   rm -rf conftest*
7877   eval "ac_cv_func_$ac_func=yes"
7878 else
7879   echo "configure: failed program was:" >&5
7880   cat conftest.$ac_ext >&5
7881   rm -rf conftest*
7882   eval "ac_cv_func_$ac_func=no"
7883 fi
7884 rm -f conftest*
7885 fi
7886
7887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7888   echo "$ac_t""yes" 1>&6
7889     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7890   cat >> confdefs.h <<EOF
7891 #define $ac_tr_func 1
7892 EOF
7893  
7894 else
7895   echo "$ac_t""no" 1>&6
7896 fi
7897 done
7898     
7899   fi
7900
7901   
7902   echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
7903 echo "configure:7904: checking for sincosf declaration" >&5
7904   if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
7905   echo $ac_n "(cached) $ac_c" 1>&6
7906 else
7907   
7908     
7909     ac_ext=C
7910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7911 ac_cpp='$CXXCPP $CPPFLAGS'
7912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7914 cross_compiling=$ac_cv_prog_cxx_cross
7915
7916     cat > conftest.$ac_ext <<EOF
7917 #line 7918 "configure"
7918 #include "confdefs.h"
7919 #include <math.h>
7920 int main() {
7921  sincosf(0, 0, 0);
7922 ; return 0; }
7923 EOF
7924 if { (eval echo configure:7925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7925   rm -rf conftest*
7926   glibcpp_cv_func_sincosf_use=yes
7927 else
7928   echo "configure: failed program was:" >&5
7929   cat conftest.$ac_ext >&5
7930   rm -rf conftest*
7931   glibcpp_cv_func_sincosf_use=no
7932 fi
7933 rm -f conftest*
7934     ac_ext=c
7935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7936 ac_cpp='$CPP $CPPFLAGS'
7937 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7938 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7939 cross_compiling=$ac_cv_prog_cc_cross
7940
7941   
7942 fi
7943
7944   echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
7945   if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
7946     for ac_func in sincosf
7947 do
7948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7949 echo "configure:7950: checking for $ac_func" >&5
7950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7951   echo $ac_n "(cached) $ac_c" 1>&6
7952 else
7953   cat > conftest.$ac_ext <<EOF
7954 #line 7955 "configure"
7955 #include "confdefs.h"
7956 /* System header to define __stub macros and hopefully few prototypes,
7957     which can conflict with char $ac_func(); below.  */
7958 #include <assert.h>
7959 /* Override any gcc2 internal prototype to avoid an error.  */
7960 /* We use char because int might match the return type of a gcc2
7961     builtin and then its argument prototype would still apply.  */
7962 char $ac_func();
7963
7964 int main() {
7965
7966 /* The GNU C library defines this for functions which it implements
7967     to always fail with ENOSYS.  Some functions are actually named
7968     something starting with __ and the normal name is an alias.  */
7969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7970 choke me
7971 #else
7972 $ac_func();
7973 #endif
7974
7975 ; return 0; }
7976 EOF
7977 if { (eval echo configure:7978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7978   rm -rf conftest*
7979   eval "ac_cv_func_$ac_func=yes"
7980 else
7981   echo "configure: failed program was:" >&5
7982   cat conftest.$ac_ext >&5
7983   rm -rf conftest*
7984   eval "ac_cv_func_$ac_func=no"
7985 fi
7986 rm -f conftest*
7987 fi
7988
7989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7990   echo "$ac_t""yes" 1>&6
7991     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7992   cat >> confdefs.h <<EOF
7993 #define $ac_tr_func 1
7994 EOF
7995  
7996 else
7997   echo "$ac_t""no" 1>&6
7998 fi
7999 done
8000     
8001   fi
8002
8003   
8004   echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8005 echo "configure:8006: checking for finitef declaration" >&5
8006   if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8007   echo $ac_n "(cached) $ac_c" 1>&6
8008 else
8009   
8010     
8011     ac_ext=C
8012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8013 ac_cpp='$CXXCPP $CPPFLAGS'
8014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8016 cross_compiling=$ac_cv_prog_cxx_cross
8017
8018     cat > conftest.$ac_ext <<EOF
8019 #line 8020 "configure"
8020 #include "confdefs.h"
8021 #include <math.h>
8022 int main() {
8023  finitef(0);
8024 ; return 0; }
8025 EOF
8026 if { (eval echo configure:8027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8027   rm -rf conftest*
8028   glibcpp_cv_func_finitef_use=yes
8029 else
8030   echo "configure: failed program was:" >&5
8031   cat conftest.$ac_ext >&5
8032   rm -rf conftest*
8033   glibcpp_cv_func_finitef_use=no
8034 fi
8035 rm -f conftest*
8036     ac_ext=c
8037 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8038 ac_cpp='$CPP $CPPFLAGS'
8039 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8040 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8041 cross_compiling=$ac_cv_prog_cc_cross
8042
8043   
8044 fi
8045
8046   echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8047   if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8048     for ac_func in finitef
8049 do
8050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8051 echo "configure:8052: checking for $ac_func" >&5
8052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8053   echo $ac_n "(cached) $ac_c" 1>&6
8054 else
8055   cat > conftest.$ac_ext <<EOF
8056 #line 8057 "configure"
8057 #include "confdefs.h"
8058 /* System header to define __stub macros and hopefully few prototypes,
8059     which can conflict with char $ac_func(); below.  */
8060 #include <assert.h>
8061 /* Override any gcc2 internal prototype to avoid an error.  */
8062 /* We use char because int might match the return type of a gcc2
8063     builtin and then its argument prototype would still apply.  */
8064 char $ac_func();
8065
8066 int main() {
8067
8068 /* The GNU C library defines this for functions which it implements
8069     to always fail with ENOSYS.  Some functions are actually named
8070     something starting with __ and the normal name is an alias.  */
8071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8072 choke me
8073 #else
8074 $ac_func();
8075 #endif
8076
8077 ; return 0; }
8078 EOF
8079 if { (eval echo configure:8080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8080   rm -rf conftest*
8081   eval "ac_cv_func_$ac_func=yes"
8082 else
8083   echo "configure: failed program was:" >&5
8084   cat conftest.$ac_ext >&5
8085   rm -rf conftest*
8086   eval "ac_cv_func_$ac_func=no"
8087 fi
8088 rm -f conftest*
8089 fi
8090
8091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8092   echo "$ac_t""yes" 1>&6
8093     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8094   cat >> confdefs.h <<EOF
8095 #define $ac_tr_func 1
8096 EOF
8097  
8098 else
8099   echo "$ac_t""no" 1>&6
8100 fi
8101 done
8102     
8103   fi
8104
8105
8106     
8107   echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8108 echo "configure:8109: checking for isnanl declaration" >&5
8109   if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8110   echo $ac_n "(cached) $ac_c" 1>&6
8111 else
8112   
8113     
8114     ac_ext=C
8115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8116 ac_cpp='$CXXCPP $CPPFLAGS'
8117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8119 cross_compiling=$ac_cv_prog_cxx_cross
8120
8121     cat > conftest.$ac_ext <<EOF
8122 #line 8123 "configure"
8123 #include "confdefs.h"
8124 #include <math.h>
8125 int main() {
8126  isnanl(0);
8127 ; return 0; }
8128 EOF
8129 if { (eval echo configure:8130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8130   rm -rf conftest*
8131   glibcpp_cv_func_isnanl_use=yes
8132 else
8133   echo "configure: failed program was:" >&5
8134   cat conftest.$ac_ext >&5
8135   rm -rf conftest*
8136   glibcpp_cv_func_isnanl_use=no
8137 fi
8138 rm -f conftest*
8139     ac_ext=c
8140 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8141 ac_cpp='$CPP $CPPFLAGS'
8142 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8143 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8144 cross_compiling=$ac_cv_prog_cc_cross
8145
8146   
8147 fi
8148
8149   echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8150   if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8151     for ac_func in isnanl
8152 do
8153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8154 echo "configure:8155: checking for $ac_func" >&5
8155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8156   echo $ac_n "(cached) $ac_c" 1>&6
8157 else
8158   cat > conftest.$ac_ext <<EOF
8159 #line 8160 "configure"
8160 #include "confdefs.h"
8161 /* System header to define __stub macros and hopefully few prototypes,
8162     which can conflict with char $ac_func(); below.  */
8163 #include <assert.h>
8164 /* Override any gcc2 internal prototype to avoid an error.  */
8165 /* We use char because int might match the return type of a gcc2
8166     builtin and then its argument prototype would still apply.  */
8167 char $ac_func();
8168
8169 int main() {
8170
8171 /* The GNU C library defines this for functions which it implements
8172     to always fail with ENOSYS.  Some functions are actually named
8173     something starting with __ and the normal name is an alias.  */
8174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8175 choke me
8176 #else
8177 $ac_func();
8178 #endif
8179
8180 ; return 0; }
8181 EOF
8182 if { (eval echo configure:8183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8183   rm -rf conftest*
8184   eval "ac_cv_func_$ac_func=yes"
8185 else
8186   echo "configure: failed program was:" >&5
8187   cat conftest.$ac_ext >&5
8188   rm -rf conftest*
8189   eval "ac_cv_func_$ac_func=no"
8190 fi
8191 rm -f conftest*
8192 fi
8193
8194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8195   echo "$ac_t""yes" 1>&6
8196     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8197   cat >> confdefs.h <<EOF
8198 #define $ac_tr_func 1
8199 EOF
8200  
8201 else
8202   echo "$ac_t""no" 1>&6
8203 fi
8204 done
8205     
8206   fi
8207
8208   
8209   echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8210 echo "configure:8211: checking for isinfl declaration" >&5
8211   if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8212   echo $ac_n "(cached) $ac_c" 1>&6
8213 else
8214   
8215     
8216     ac_ext=C
8217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8218 ac_cpp='$CXXCPP $CPPFLAGS'
8219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8221 cross_compiling=$ac_cv_prog_cxx_cross
8222
8223     cat > conftest.$ac_ext <<EOF
8224 #line 8225 "configure"
8225 #include "confdefs.h"
8226 #include <math.h>
8227 int main() {
8228  isinfl(0);
8229 ; return 0; }
8230 EOF
8231 if { (eval echo configure:8232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8232   rm -rf conftest*
8233   glibcpp_cv_func_isinfl_use=yes
8234 else
8235   echo "configure: failed program was:" >&5
8236   cat conftest.$ac_ext >&5
8237   rm -rf conftest*
8238   glibcpp_cv_func_isinfl_use=no
8239 fi
8240 rm -f conftest*
8241     ac_ext=c
8242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8243 ac_cpp='$CPP $CPPFLAGS'
8244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8246 cross_compiling=$ac_cv_prog_cc_cross
8247
8248   
8249 fi
8250
8251   echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8252   if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8253     for ac_func in isinfl
8254 do
8255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8256 echo "configure:8257: checking for $ac_func" >&5
8257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8258   echo $ac_n "(cached) $ac_c" 1>&6
8259 else
8260   cat > conftest.$ac_ext <<EOF
8261 #line 8262 "configure"
8262 #include "confdefs.h"
8263 /* System header to define __stub macros and hopefully few prototypes,
8264     which can conflict with char $ac_func(); below.  */
8265 #include <assert.h>
8266 /* Override any gcc2 internal prototype to avoid an error.  */
8267 /* We use char because int might match the return type of a gcc2
8268     builtin and then its argument prototype would still apply.  */
8269 char $ac_func();
8270
8271 int main() {
8272
8273 /* The GNU C library defines this for functions which it implements
8274     to always fail with ENOSYS.  Some functions are actually named
8275     something starting with __ and the normal name is an alias.  */
8276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8277 choke me
8278 #else
8279 $ac_func();
8280 #endif
8281
8282 ; return 0; }
8283 EOF
8284 if { (eval echo configure:8285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8285   rm -rf conftest*
8286   eval "ac_cv_func_$ac_func=yes"
8287 else
8288   echo "configure: failed program was:" >&5
8289   cat conftest.$ac_ext >&5
8290   rm -rf conftest*
8291   eval "ac_cv_func_$ac_func=no"
8292 fi
8293 rm -f conftest*
8294 fi
8295
8296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8297   echo "$ac_t""yes" 1>&6
8298     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8299   cat >> confdefs.h <<EOF
8300 #define $ac_tr_func 1
8301 EOF
8302  
8303 else
8304   echo "$ac_t""no" 1>&6
8305 fi
8306 done
8307     
8308   fi
8309
8310   
8311   echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8312 echo "configure:8313: checking for copysignl declaration" >&5
8313   if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8314   echo $ac_n "(cached) $ac_c" 1>&6
8315 else
8316   
8317     
8318     ac_ext=C
8319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8320 ac_cpp='$CXXCPP $CPPFLAGS'
8321 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8322 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8323 cross_compiling=$ac_cv_prog_cxx_cross
8324
8325     cat > conftest.$ac_ext <<EOF
8326 #line 8327 "configure"
8327 #include "confdefs.h"
8328 #include <math.h>
8329 int main() {
8330  copysignl(0, 0);
8331 ; return 0; }
8332 EOF
8333 if { (eval echo configure:8334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8334   rm -rf conftest*
8335   glibcpp_cv_func_copysignl_use=yes
8336 else
8337   echo "configure: failed program was:" >&5
8338   cat conftest.$ac_ext >&5
8339   rm -rf conftest*
8340   glibcpp_cv_func_copysignl_use=no
8341 fi
8342 rm -f conftest*
8343     ac_ext=c
8344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8345 ac_cpp='$CPP $CPPFLAGS'
8346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8348 cross_compiling=$ac_cv_prog_cc_cross
8349
8350   
8351 fi
8352
8353   echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8354   if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8355     for ac_func in copysignl
8356 do
8357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8358 echo "configure:8359: checking for $ac_func" >&5
8359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8360   echo $ac_n "(cached) $ac_c" 1>&6
8361 else
8362   cat > conftest.$ac_ext <<EOF
8363 #line 8364 "configure"
8364 #include "confdefs.h"
8365 /* System header to define __stub macros and hopefully few prototypes,
8366     which can conflict with char $ac_func(); below.  */
8367 #include <assert.h>
8368 /* Override any gcc2 internal prototype to avoid an error.  */
8369 /* We use char because int might match the return type of a gcc2
8370     builtin and then its argument prototype would still apply.  */
8371 char $ac_func();
8372
8373 int main() {
8374
8375 /* The GNU C library defines this for functions which it implements
8376     to always fail with ENOSYS.  Some functions are actually named
8377     something starting with __ and the normal name is an alias.  */
8378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8379 choke me
8380 #else
8381 $ac_func();
8382 #endif
8383
8384 ; return 0; }
8385 EOF
8386 if { (eval echo configure:8387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8387   rm -rf conftest*
8388   eval "ac_cv_func_$ac_func=yes"
8389 else
8390   echo "configure: failed program was:" >&5
8391   cat conftest.$ac_ext >&5
8392   rm -rf conftest*
8393   eval "ac_cv_func_$ac_func=no"
8394 fi
8395 rm -f conftest*
8396 fi
8397
8398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8399   echo "$ac_t""yes" 1>&6
8400     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8401   cat >> confdefs.h <<EOF
8402 #define $ac_tr_func 1
8403 EOF
8404  
8405 else
8406   echo "$ac_t""no" 1>&6
8407 fi
8408 done
8409     
8410   fi
8411
8412   
8413   echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8414 echo "configure:8415: checking for acosl declaration" >&5
8415   if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8416   echo $ac_n "(cached) $ac_c" 1>&6
8417 else
8418   
8419     
8420     ac_ext=C
8421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8422 ac_cpp='$CXXCPP $CPPFLAGS'
8423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8425 cross_compiling=$ac_cv_prog_cxx_cross
8426
8427     cat > conftest.$ac_ext <<EOF
8428 #line 8429 "configure"
8429 #include "confdefs.h"
8430 #include <math.h>
8431 int main() {
8432  acosl(0);
8433 ; return 0; }
8434 EOF
8435 if { (eval echo configure:8436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8436   rm -rf conftest*
8437   glibcpp_cv_func_acosl_use=yes
8438 else
8439   echo "configure: failed program was:" >&5
8440   cat conftest.$ac_ext >&5
8441   rm -rf conftest*
8442   glibcpp_cv_func_acosl_use=no
8443 fi
8444 rm -f conftest*
8445     ac_ext=c
8446 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8447 ac_cpp='$CPP $CPPFLAGS'
8448 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8449 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8450 cross_compiling=$ac_cv_prog_cc_cross
8451
8452   
8453 fi
8454
8455   echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8456   if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8457     for ac_func in acosl
8458 do
8459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8460 echo "configure:8461: checking for $ac_func" >&5
8461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8462   echo $ac_n "(cached) $ac_c" 1>&6
8463 else
8464   cat > conftest.$ac_ext <<EOF
8465 #line 8466 "configure"
8466 #include "confdefs.h"
8467 /* System header to define __stub macros and hopefully few prototypes,
8468     which can conflict with char $ac_func(); below.  */
8469 #include <assert.h>
8470 /* Override any gcc2 internal prototype to avoid an error.  */
8471 /* We use char because int might match the return type of a gcc2
8472     builtin and then its argument prototype would still apply.  */
8473 char $ac_func();
8474
8475 int main() {
8476
8477 /* The GNU C library defines this for functions which it implements
8478     to always fail with ENOSYS.  Some functions are actually named
8479     something starting with __ and the normal name is an alias.  */
8480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8481 choke me
8482 #else
8483 $ac_func();
8484 #endif
8485
8486 ; return 0; }
8487 EOF
8488 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8489   rm -rf conftest*
8490   eval "ac_cv_func_$ac_func=yes"
8491 else
8492   echo "configure: failed program was:" >&5
8493   cat conftest.$ac_ext >&5
8494   rm -rf conftest*
8495   eval "ac_cv_func_$ac_func=no"
8496 fi
8497 rm -f conftest*
8498 fi
8499
8500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8501   echo "$ac_t""yes" 1>&6
8502     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8503   cat >> confdefs.h <<EOF
8504 #define $ac_tr_func 1
8505 EOF
8506  
8507 else
8508   echo "$ac_t""no" 1>&6
8509 fi
8510 done
8511     
8512   fi
8513
8514   
8515   echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8516 echo "configure:8517: checking for asinl declaration" >&5
8517   if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8518   echo $ac_n "(cached) $ac_c" 1>&6
8519 else
8520   
8521     
8522     ac_ext=C
8523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8524 ac_cpp='$CXXCPP $CPPFLAGS'
8525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8527 cross_compiling=$ac_cv_prog_cxx_cross
8528
8529     cat > conftest.$ac_ext <<EOF
8530 #line 8531 "configure"
8531 #include "confdefs.h"
8532 #include <math.h>
8533 int main() {
8534  asinl(0);
8535 ; return 0; }
8536 EOF
8537 if { (eval echo configure:8538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8538   rm -rf conftest*
8539   glibcpp_cv_func_asinl_use=yes
8540 else
8541   echo "configure: failed program was:" >&5
8542   cat conftest.$ac_ext >&5
8543   rm -rf conftest*
8544   glibcpp_cv_func_asinl_use=no
8545 fi
8546 rm -f conftest*
8547     ac_ext=c
8548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8549 ac_cpp='$CPP $CPPFLAGS'
8550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8552 cross_compiling=$ac_cv_prog_cc_cross
8553
8554   
8555 fi
8556
8557   echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8558   if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8559     for ac_func in asinl
8560 do
8561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8562 echo "configure:8563: checking for $ac_func" >&5
8563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8564   echo $ac_n "(cached) $ac_c" 1>&6
8565 else
8566   cat > conftest.$ac_ext <<EOF
8567 #line 8568 "configure"
8568 #include "confdefs.h"
8569 /* System header to define __stub macros and hopefully few prototypes,
8570     which can conflict with char $ac_func(); below.  */
8571 #include <assert.h>
8572 /* Override any gcc2 internal prototype to avoid an error.  */
8573 /* We use char because int might match the return type of a gcc2
8574     builtin and then its argument prototype would still apply.  */
8575 char $ac_func();
8576
8577 int main() {
8578
8579 /* The GNU C library defines this for functions which it implements
8580     to always fail with ENOSYS.  Some functions are actually named
8581     something starting with __ and the normal name is an alias.  */
8582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8583 choke me
8584 #else
8585 $ac_func();
8586 #endif
8587
8588 ; return 0; }
8589 EOF
8590 if { (eval echo configure:8591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8591   rm -rf conftest*
8592   eval "ac_cv_func_$ac_func=yes"
8593 else
8594   echo "configure: failed program was:" >&5
8595   cat conftest.$ac_ext >&5
8596   rm -rf conftest*
8597   eval "ac_cv_func_$ac_func=no"
8598 fi
8599 rm -f conftest*
8600 fi
8601
8602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8603   echo "$ac_t""yes" 1>&6
8604     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8605   cat >> confdefs.h <<EOF
8606 #define $ac_tr_func 1
8607 EOF
8608  
8609 else
8610   echo "$ac_t""no" 1>&6
8611 fi
8612 done
8613     
8614   fi
8615
8616   
8617   echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8618 echo "configure:8619: checking for atanl declaration" >&5
8619   if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8620   echo $ac_n "(cached) $ac_c" 1>&6
8621 else
8622   
8623     
8624     ac_ext=C
8625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8626 ac_cpp='$CXXCPP $CPPFLAGS'
8627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8629 cross_compiling=$ac_cv_prog_cxx_cross
8630
8631     cat > conftest.$ac_ext <<EOF
8632 #line 8633 "configure"
8633 #include "confdefs.h"
8634 #include <math.h>
8635 int main() {
8636  atanl(0);
8637 ; return 0; }
8638 EOF
8639 if { (eval echo configure:8640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8640   rm -rf conftest*
8641   glibcpp_cv_func_atanl_use=yes
8642 else
8643   echo "configure: failed program was:" >&5
8644   cat conftest.$ac_ext >&5
8645   rm -rf conftest*
8646   glibcpp_cv_func_atanl_use=no
8647 fi
8648 rm -f conftest*
8649     ac_ext=c
8650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8651 ac_cpp='$CPP $CPPFLAGS'
8652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8654 cross_compiling=$ac_cv_prog_cc_cross
8655
8656   
8657 fi
8658
8659   echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8660   if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8661     for ac_func in atanl
8662 do
8663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8664 echo "configure:8665: checking for $ac_func" >&5
8665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8666   echo $ac_n "(cached) $ac_c" 1>&6
8667 else
8668   cat > conftest.$ac_ext <<EOF
8669 #line 8670 "configure"
8670 #include "confdefs.h"
8671 /* System header to define __stub macros and hopefully few prototypes,
8672     which can conflict with char $ac_func(); below.  */
8673 #include <assert.h>
8674 /* Override any gcc2 internal prototype to avoid an error.  */
8675 /* We use char because int might match the return type of a gcc2
8676     builtin and then its argument prototype would still apply.  */
8677 char $ac_func();
8678
8679 int main() {
8680
8681 /* The GNU C library defines this for functions which it implements
8682     to always fail with ENOSYS.  Some functions are actually named
8683     something starting with __ and the normal name is an alias.  */
8684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8685 choke me
8686 #else
8687 $ac_func();
8688 #endif
8689
8690 ; return 0; }
8691 EOF
8692 if { (eval echo configure:8693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8693   rm -rf conftest*
8694   eval "ac_cv_func_$ac_func=yes"
8695 else
8696   echo "configure: failed program was:" >&5
8697   cat conftest.$ac_ext >&5
8698   rm -rf conftest*
8699   eval "ac_cv_func_$ac_func=no"
8700 fi
8701 rm -f conftest*
8702 fi
8703
8704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8705   echo "$ac_t""yes" 1>&6
8706     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8707   cat >> confdefs.h <<EOF
8708 #define $ac_tr_func 1
8709 EOF
8710  
8711 else
8712   echo "$ac_t""no" 1>&6
8713 fi
8714 done
8715     
8716   fi
8717
8718   
8719   echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8720 echo "configure:8721: checking for atan2l declaration" >&5
8721   if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8722   echo $ac_n "(cached) $ac_c" 1>&6
8723 else
8724   
8725     
8726     ac_ext=C
8727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8728 ac_cpp='$CXXCPP $CPPFLAGS'
8729 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8730 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8731 cross_compiling=$ac_cv_prog_cxx_cross
8732
8733     cat > conftest.$ac_ext <<EOF
8734 #line 8735 "configure"
8735 #include "confdefs.h"
8736 #include <math.h>
8737 int main() {
8738  atan2l(0, 0);
8739 ; return 0; }
8740 EOF
8741 if { (eval echo configure:8742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8742   rm -rf conftest*
8743   glibcpp_cv_func_atan2l_use=yes
8744 else
8745   echo "configure: failed program was:" >&5
8746   cat conftest.$ac_ext >&5
8747   rm -rf conftest*
8748   glibcpp_cv_func_atan2l_use=no
8749 fi
8750 rm -f conftest*
8751     ac_ext=c
8752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8753 ac_cpp='$CPP $CPPFLAGS'
8754 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8755 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8756 cross_compiling=$ac_cv_prog_cc_cross
8757
8758   
8759 fi
8760
8761   echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8762   if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8763     for ac_func in atan2l
8764 do
8765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8766 echo "configure:8767: checking for $ac_func" >&5
8767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8768   echo $ac_n "(cached) $ac_c" 1>&6
8769 else
8770   cat > conftest.$ac_ext <<EOF
8771 #line 8772 "configure"
8772 #include "confdefs.h"
8773 /* System header to define __stub macros and hopefully few prototypes,
8774     which can conflict with char $ac_func(); below.  */
8775 #include <assert.h>
8776 /* Override any gcc2 internal prototype to avoid an error.  */
8777 /* We use char because int might match the return type of a gcc2
8778     builtin and then its argument prototype would still apply.  */
8779 char $ac_func();
8780
8781 int main() {
8782
8783 /* The GNU C library defines this for functions which it implements
8784     to always fail with ENOSYS.  Some functions are actually named
8785     something starting with __ and the normal name is an alias.  */
8786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8787 choke me
8788 #else
8789 $ac_func();
8790 #endif
8791
8792 ; return 0; }
8793 EOF
8794 if { (eval echo configure:8795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8795   rm -rf conftest*
8796   eval "ac_cv_func_$ac_func=yes"
8797 else
8798   echo "configure: failed program was:" >&5
8799   cat conftest.$ac_ext >&5
8800   rm -rf conftest*
8801   eval "ac_cv_func_$ac_func=no"
8802 fi
8803 rm -f conftest*
8804 fi
8805
8806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8807   echo "$ac_t""yes" 1>&6
8808     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8809   cat >> confdefs.h <<EOF
8810 #define $ac_tr_func 1
8811 EOF
8812  
8813 else
8814   echo "$ac_t""no" 1>&6
8815 fi
8816 done
8817     
8818   fi
8819
8820   
8821   echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
8822 echo "configure:8823: checking for ceill declaration" >&5
8823   if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
8824   echo $ac_n "(cached) $ac_c" 1>&6
8825 else
8826   
8827     
8828     ac_ext=C
8829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8830 ac_cpp='$CXXCPP $CPPFLAGS'
8831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8833 cross_compiling=$ac_cv_prog_cxx_cross
8834
8835     cat > conftest.$ac_ext <<EOF
8836 #line 8837 "configure"
8837 #include "confdefs.h"
8838 #include <math.h>
8839 int main() {
8840  ceill(0);
8841 ; return 0; }
8842 EOF
8843 if { (eval echo configure:8844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8844   rm -rf conftest*
8845   glibcpp_cv_func_ceill_use=yes
8846 else
8847   echo "configure: failed program was:" >&5
8848   cat conftest.$ac_ext >&5
8849   rm -rf conftest*
8850   glibcpp_cv_func_ceill_use=no
8851 fi
8852 rm -f conftest*
8853     ac_ext=c
8854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8855 ac_cpp='$CPP $CPPFLAGS'
8856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8858 cross_compiling=$ac_cv_prog_cc_cross
8859
8860   
8861 fi
8862
8863   echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
8864   if test x$glibcpp_cv_func_ceill_use = x"yes"; then
8865     for ac_func in ceill
8866 do
8867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8868 echo "configure:8869: checking for $ac_func" >&5
8869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8870   echo $ac_n "(cached) $ac_c" 1>&6
8871 else
8872   cat > conftest.$ac_ext <<EOF
8873 #line 8874 "configure"
8874 #include "confdefs.h"
8875 /* System header to define __stub macros and hopefully few prototypes,
8876     which can conflict with char $ac_func(); below.  */
8877 #include <assert.h>
8878 /* Override any gcc2 internal prototype to avoid an error.  */
8879 /* We use char because int might match the return type of a gcc2
8880     builtin and then its argument prototype would still apply.  */
8881 char $ac_func();
8882
8883 int main() {
8884
8885 /* The GNU C library defines this for functions which it implements
8886     to always fail with ENOSYS.  Some functions are actually named
8887     something starting with __ and the normal name is an alias.  */
8888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8889 choke me
8890 #else
8891 $ac_func();
8892 #endif
8893
8894 ; return 0; }
8895 EOF
8896 if { (eval echo configure:8897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8897   rm -rf conftest*
8898   eval "ac_cv_func_$ac_func=yes"
8899 else
8900   echo "configure: failed program was:" >&5
8901   cat conftest.$ac_ext >&5
8902   rm -rf conftest*
8903   eval "ac_cv_func_$ac_func=no"
8904 fi
8905 rm -f conftest*
8906 fi
8907
8908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8909   echo "$ac_t""yes" 1>&6
8910     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8911   cat >> confdefs.h <<EOF
8912 #define $ac_tr_func 1
8913 EOF
8914  
8915 else
8916   echo "$ac_t""no" 1>&6
8917 fi
8918 done
8919     
8920   fi
8921
8922   
8923   echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
8924 echo "configure:8925: checking for cosl declaration" >&5
8925   if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
8926   echo $ac_n "(cached) $ac_c" 1>&6
8927 else
8928   
8929     
8930     ac_ext=C
8931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8932 ac_cpp='$CXXCPP $CPPFLAGS'
8933 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8934 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8935 cross_compiling=$ac_cv_prog_cxx_cross
8936
8937     cat > conftest.$ac_ext <<EOF
8938 #line 8939 "configure"
8939 #include "confdefs.h"
8940 #include <math.h>
8941 int main() {
8942  cosl(0);
8943 ; return 0; }
8944 EOF
8945 if { (eval echo configure:8946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8946   rm -rf conftest*
8947   glibcpp_cv_func_cosl_use=yes
8948 else
8949   echo "configure: failed program was:" >&5
8950   cat conftest.$ac_ext >&5
8951   rm -rf conftest*
8952   glibcpp_cv_func_cosl_use=no
8953 fi
8954 rm -f conftest*
8955     ac_ext=c
8956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8957 ac_cpp='$CPP $CPPFLAGS'
8958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8960 cross_compiling=$ac_cv_prog_cc_cross
8961
8962   
8963 fi
8964
8965   echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
8966   if test x$glibcpp_cv_func_cosl_use = x"yes"; then
8967     for ac_func in cosl
8968 do
8969 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8970 echo "configure:8971: checking for $ac_func" >&5
8971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8972   echo $ac_n "(cached) $ac_c" 1>&6
8973 else
8974   cat > conftest.$ac_ext <<EOF
8975 #line 8976 "configure"
8976 #include "confdefs.h"
8977 /* System header to define __stub macros and hopefully few prototypes,
8978     which can conflict with char $ac_func(); below.  */
8979 #include <assert.h>
8980 /* Override any gcc2 internal prototype to avoid an error.  */
8981 /* We use char because int might match the return type of a gcc2
8982     builtin and then its argument prototype would still apply.  */
8983 char $ac_func();
8984
8985 int main() {
8986
8987 /* The GNU C library defines this for functions which it implements
8988     to always fail with ENOSYS.  Some functions are actually named
8989     something starting with __ and the normal name is an alias.  */
8990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8991 choke me
8992 #else
8993 $ac_func();
8994 #endif
8995
8996 ; return 0; }
8997 EOF
8998 if { (eval echo configure:8999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8999   rm -rf conftest*
9000   eval "ac_cv_func_$ac_func=yes"
9001 else
9002   echo "configure: failed program was:" >&5
9003   cat conftest.$ac_ext >&5
9004   rm -rf conftest*
9005   eval "ac_cv_func_$ac_func=no"
9006 fi
9007 rm -f conftest*
9008 fi
9009
9010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9011   echo "$ac_t""yes" 1>&6
9012     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9013   cat >> confdefs.h <<EOF
9014 #define $ac_tr_func 1
9015 EOF
9016  
9017 else
9018   echo "$ac_t""no" 1>&6
9019 fi
9020 done
9021     
9022   fi
9023
9024   
9025   echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9026 echo "configure:9027: checking for coshl declaration" >&5
9027   if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9028   echo $ac_n "(cached) $ac_c" 1>&6
9029 else
9030   
9031     
9032     ac_ext=C
9033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9034 ac_cpp='$CXXCPP $CPPFLAGS'
9035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9037 cross_compiling=$ac_cv_prog_cxx_cross
9038
9039     cat > conftest.$ac_ext <<EOF
9040 #line 9041 "configure"
9041 #include "confdefs.h"
9042 #include <math.h>
9043 int main() {
9044  coshl(0);
9045 ; return 0; }
9046 EOF
9047 if { (eval echo configure:9048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9048   rm -rf conftest*
9049   glibcpp_cv_func_coshl_use=yes
9050 else
9051   echo "configure: failed program was:" >&5
9052   cat conftest.$ac_ext >&5
9053   rm -rf conftest*
9054   glibcpp_cv_func_coshl_use=no
9055 fi
9056 rm -f conftest*
9057     ac_ext=c
9058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9059 ac_cpp='$CPP $CPPFLAGS'
9060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9062 cross_compiling=$ac_cv_prog_cc_cross
9063
9064   
9065 fi
9066
9067   echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9068   if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9069     for ac_func in coshl
9070 do
9071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9072 echo "configure:9073: checking for $ac_func" >&5
9073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9074   echo $ac_n "(cached) $ac_c" 1>&6
9075 else
9076   cat > conftest.$ac_ext <<EOF
9077 #line 9078 "configure"
9078 #include "confdefs.h"
9079 /* System header to define __stub macros and hopefully few prototypes,
9080     which can conflict with char $ac_func(); below.  */
9081 #include <assert.h>
9082 /* Override any gcc2 internal prototype to avoid an error.  */
9083 /* We use char because int might match the return type of a gcc2
9084     builtin and then its argument prototype would still apply.  */
9085 char $ac_func();
9086
9087 int main() {
9088
9089 /* The GNU C library defines this for functions which it implements
9090     to always fail with ENOSYS.  Some functions are actually named
9091     something starting with __ and the normal name is an alias.  */
9092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9093 choke me
9094 #else
9095 $ac_func();
9096 #endif
9097
9098 ; return 0; }
9099 EOF
9100 if { (eval echo configure:9101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9101   rm -rf conftest*
9102   eval "ac_cv_func_$ac_func=yes"
9103 else
9104   echo "configure: failed program was:" >&5
9105   cat conftest.$ac_ext >&5
9106   rm -rf conftest*
9107   eval "ac_cv_func_$ac_func=no"
9108 fi
9109 rm -f conftest*
9110 fi
9111
9112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9113   echo "$ac_t""yes" 1>&6
9114     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9115   cat >> confdefs.h <<EOF
9116 #define $ac_tr_func 1
9117 EOF
9118  
9119 else
9120   echo "$ac_t""no" 1>&6
9121 fi
9122 done
9123     
9124   fi
9125
9126   
9127   echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9128 echo "configure:9129: checking for expl declaration" >&5
9129   if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9130   echo $ac_n "(cached) $ac_c" 1>&6
9131 else
9132   
9133     
9134     ac_ext=C
9135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9136 ac_cpp='$CXXCPP $CPPFLAGS'
9137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9139 cross_compiling=$ac_cv_prog_cxx_cross
9140
9141     cat > conftest.$ac_ext <<EOF
9142 #line 9143 "configure"
9143 #include "confdefs.h"
9144 #include <math.h>
9145 int main() {
9146  expl(0);
9147 ; return 0; }
9148 EOF
9149 if { (eval echo configure:9150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9150   rm -rf conftest*
9151   glibcpp_cv_func_expl_use=yes
9152 else
9153   echo "configure: failed program was:" >&5
9154   cat conftest.$ac_ext >&5
9155   rm -rf conftest*
9156   glibcpp_cv_func_expl_use=no
9157 fi
9158 rm -f conftest*
9159     ac_ext=c
9160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9161 ac_cpp='$CPP $CPPFLAGS'
9162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9164 cross_compiling=$ac_cv_prog_cc_cross
9165
9166   
9167 fi
9168
9169   echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9170   if test x$glibcpp_cv_func_expl_use = x"yes"; then
9171     for ac_func in expl
9172 do
9173 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9174 echo "configure:9175: checking for $ac_func" >&5
9175 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9176   echo $ac_n "(cached) $ac_c" 1>&6
9177 else
9178   cat > conftest.$ac_ext <<EOF
9179 #line 9180 "configure"
9180 #include "confdefs.h"
9181 /* System header to define __stub macros and hopefully few prototypes,
9182     which can conflict with char $ac_func(); below.  */
9183 #include <assert.h>
9184 /* Override any gcc2 internal prototype to avoid an error.  */
9185 /* We use char because int might match the return type of a gcc2
9186     builtin and then its argument prototype would still apply.  */
9187 char $ac_func();
9188
9189 int main() {
9190
9191 /* The GNU C library defines this for functions which it implements
9192     to always fail with ENOSYS.  Some functions are actually named
9193     something starting with __ and the normal name is an alias.  */
9194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9195 choke me
9196 #else
9197 $ac_func();
9198 #endif
9199
9200 ; return 0; }
9201 EOF
9202 if { (eval echo configure:9203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9203   rm -rf conftest*
9204   eval "ac_cv_func_$ac_func=yes"
9205 else
9206   echo "configure: failed program was:" >&5
9207   cat conftest.$ac_ext >&5
9208   rm -rf conftest*
9209   eval "ac_cv_func_$ac_func=no"
9210 fi
9211 rm -f conftest*
9212 fi
9213
9214 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9215   echo "$ac_t""yes" 1>&6
9216     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9217   cat >> confdefs.h <<EOF
9218 #define $ac_tr_func 1
9219 EOF
9220  
9221 else
9222   echo "$ac_t""no" 1>&6
9223 fi
9224 done
9225     
9226   fi
9227
9228   
9229   echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9230 echo "configure:9231: checking for fabsl declaration" >&5
9231   if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9232   echo $ac_n "(cached) $ac_c" 1>&6
9233 else
9234   
9235     
9236     ac_ext=C
9237 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9238 ac_cpp='$CXXCPP $CPPFLAGS'
9239 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9240 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9241 cross_compiling=$ac_cv_prog_cxx_cross
9242
9243     cat > conftest.$ac_ext <<EOF
9244 #line 9245 "configure"
9245 #include "confdefs.h"
9246 #include <math.h>
9247 int main() {
9248  fabsl(0);
9249 ; return 0; }
9250 EOF
9251 if { (eval echo configure:9252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9252   rm -rf conftest*
9253   glibcpp_cv_func_fabsl_use=yes
9254 else
9255   echo "configure: failed program was:" >&5
9256   cat conftest.$ac_ext >&5
9257   rm -rf conftest*
9258   glibcpp_cv_func_fabsl_use=no
9259 fi
9260 rm -f conftest*
9261     ac_ext=c
9262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9263 ac_cpp='$CPP $CPPFLAGS'
9264 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9265 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9266 cross_compiling=$ac_cv_prog_cc_cross
9267
9268   
9269 fi
9270
9271   echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9272   if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9273     for ac_func in fabsl
9274 do
9275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9276 echo "configure:9277: checking for $ac_func" >&5
9277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9278   echo $ac_n "(cached) $ac_c" 1>&6
9279 else
9280   cat > conftest.$ac_ext <<EOF
9281 #line 9282 "configure"
9282 #include "confdefs.h"
9283 /* System header to define __stub macros and hopefully few prototypes,
9284     which can conflict with char $ac_func(); below.  */
9285 #include <assert.h>
9286 /* Override any gcc2 internal prototype to avoid an error.  */
9287 /* We use char because int might match the return type of a gcc2
9288     builtin and then its argument prototype would still apply.  */
9289 char $ac_func();
9290
9291 int main() {
9292
9293 /* The GNU C library defines this for functions which it implements
9294     to always fail with ENOSYS.  Some functions are actually named
9295     something starting with __ and the normal name is an alias.  */
9296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9297 choke me
9298 #else
9299 $ac_func();
9300 #endif
9301
9302 ; return 0; }
9303 EOF
9304 if { (eval echo configure:9305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9305   rm -rf conftest*
9306   eval "ac_cv_func_$ac_func=yes"
9307 else
9308   echo "configure: failed program was:" >&5
9309   cat conftest.$ac_ext >&5
9310   rm -rf conftest*
9311   eval "ac_cv_func_$ac_func=no"
9312 fi
9313 rm -f conftest*
9314 fi
9315
9316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9317   echo "$ac_t""yes" 1>&6
9318     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9319   cat >> confdefs.h <<EOF
9320 #define $ac_tr_func 1
9321 EOF
9322  
9323 else
9324   echo "$ac_t""no" 1>&6
9325 fi
9326 done
9327     
9328   fi
9329
9330   
9331   echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9332 echo "configure:9333: checking for floorl declaration" >&5
9333   if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9334   echo $ac_n "(cached) $ac_c" 1>&6
9335 else
9336   
9337     
9338     ac_ext=C
9339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9340 ac_cpp='$CXXCPP $CPPFLAGS'
9341 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9342 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9343 cross_compiling=$ac_cv_prog_cxx_cross
9344
9345     cat > conftest.$ac_ext <<EOF
9346 #line 9347 "configure"
9347 #include "confdefs.h"
9348 #include <math.h>
9349 int main() {
9350  floorl(0);
9351 ; return 0; }
9352 EOF
9353 if { (eval echo configure:9354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9354   rm -rf conftest*
9355   glibcpp_cv_func_floorl_use=yes
9356 else
9357   echo "configure: failed program was:" >&5
9358   cat conftest.$ac_ext >&5
9359   rm -rf conftest*
9360   glibcpp_cv_func_floorl_use=no
9361 fi
9362 rm -f conftest*
9363     ac_ext=c
9364 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9365 ac_cpp='$CPP $CPPFLAGS'
9366 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9367 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9368 cross_compiling=$ac_cv_prog_cc_cross
9369
9370   
9371 fi
9372
9373   echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9374   if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9375     for ac_func in floorl
9376 do
9377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9378 echo "configure:9379: checking for $ac_func" >&5
9379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9380   echo $ac_n "(cached) $ac_c" 1>&6
9381 else
9382   cat > conftest.$ac_ext <<EOF
9383 #line 9384 "configure"
9384 #include "confdefs.h"
9385 /* System header to define __stub macros and hopefully few prototypes,
9386     which can conflict with char $ac_func(); below.  */
9387 #include <assert.h>
9388 /* Override any gcc2 internal prototype to avoid an error.  */
9389 /* We use char because int might match the return type of a gcc2
9390     builtin and then its argument prototype would still apply.  */
9391 char $ac_func();
9392
9393 int main() {
9394
9395 /* The GNU C library defines this for functions which it implements
9396     to always fail with ENOSYS.  Some functions are actually named
9397     something starting with __ and the normal name is an alias.  */
9398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9399 choke me
9400 #else
9401 $ac_func();
9402 #endif
9403
9404 ; return 0; }
9405 EOF
9406 if { (eval echo configure:9407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9407   rm -rf conftest*
9408   eval "ac_cv_func_$ac_func=yes"
9409 else
9410   echo "configure: failed program was:" >&5
9411   cat conftest.$ac_ext >&5
9412   rm -rf conftest*
9413   eval "ac_cv_func_$ac_func=no"
9414 fi
9415 rm -f conftest*
9416 fi
9417
9418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9419   echo "$ac_t""yes" 1>&6
9420     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9421   cat >> confdefs.h <<EOF
9422 #define $ac_tr_func 1
9423 EOF
9424  
9425 else
9426   echo "$ac_t""no" 1>&6
9427 fi
9428 done
9429     
9430   fi
9431
9432   
9433   echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9434 echo "configure:9435: checking for fmodl declaration" >&5
9435   if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9436   echo $ac_n "(cached) $ac_c" 1>&6
9437 else
9438   
9439     
9440     ac_ext=C
9441 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9442 ac_cpp='$CXXCPP $CPPFLAGS'
9443 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9444 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9445 cross_compiling=$ac_cv_prog_cxx_cross
9446
9447     cat > conftest.$ac_ext <<EOF
9448 #line 9449 "configure"
9449 #include "confdefs.h"
9450 #include <math.h>
9451 int main() {
9452  fmodl(0, 0);
9453 ; return 0; }
9454 EOF
9455 if { (eval echo configure:9456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9456   rm -rf conftest*
9457   glibcpp_cv_func_fmodl_use=yes
9458 else
9459   echo "configure: failed program was:" >&5
9460   cat conftest.$ac_ext >&5
9461   rm -rf conftest*
9462   glibcpp_cv_func_fmodl_use=no
9463 fi
9464 rm -f conftest*
9465     ac_ext=c
9466 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9467 ac_cpp='$CPP $CPPFLAGS'
9468 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9469 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9470 cross_compiling=$ac_cv_prog_cc_cross
9471
9472   
9473 fi
9474
9475   echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9476   if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9477     for ac_func in fmodl
9478 do
9479 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9480 echo "configure:9481: checking for $ac_func" >&5
9481 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9482   echo $ac_n "(cached) $ac_c" 1>&6
9483 else
9484   cat > conftest.$ac_ext <<EOF
9485 #line 9486 "configure"
9486 #include "confdefs.h"
9487 /* System header to define __stub macros and hopefully few prototypes,
9488     which can conflict with char $ac_func(); below.  */
9489 #include <assert.h>
9490 /* Override any gcc2 internal prototype to avoid an error.  */
9491 /* We use char because int might match the return type of a gcc2
9492     builtin and then its argument prototype would still apply.  */
9493 char $ac_func();
9494
9495 int main() {
9496
9497 /* The GNU C library defines this for functions which it implements
9498     to always fail with ENOSYS.  Some functions are actually named
9499     something starting with __ and the normal name is an alias.  */
9500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9501 choke me
9502 #else
9503 $ac_func();
9504 #endif
9505
9506 ; return 0; }
9507 EOF
9508 if { (eval echo configure:9509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9509   rm -rf conftest*
9510   eval "ac_cv_func_$ac_func=yes"
9511 else
9512   echo "configure: failed program was:" >&5
9513   cat conftest.$ac_ext >&5
9514   rm -rf conftest*
9515   eval "ac_cv_func_$ac_func=no"
9516 fi
9517 rm -f conftest*
9518 fi
9519
9520 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9521   echo "$ac_t""yes" 1>&6
9522     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9523   cat >> confdefs.h <<EOF
9524 #define $ac_tr_func 1
9525 EOF
9526  
9527 else
9528   echo "$ac_t""no" 1>&6
9529 fi
9530 done
9531     
9532   fi
9533
9534   
9535   echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9536 echo "configure:9537: checking for frexpl declaration" >&5
9537   if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9538   echo $ac_n "(cached) $ac_c" 1>&6
9539 else
9540   
9541     
9542     ac_ext=C
9543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9544 ac_cpp='$CXXCPP $CPPFLAGS'
9545 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9546 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9547 cross_compiling=$ac_cv_prog_cxx_cross
9548
9549     cat > conftest.$ac_ext <<EOF
9550 #line 9551 "configure"
9551 #include "confdefs.h"
9552 #include <math.h>
9553 int main() {
9554  frexpl(0, 0);
9555 ; return 0; }
9556 EOF
9557 if { (eval echo configure:9558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9558   rm -rf conftest*
9559   glibcpp_cv_func_frexpl_use=yes
9560 else
9561   echo "configure: failed program was:" >&5
9562   cat conftest.$ac_ext >&5
9563   rm -rf conftest*
9564   glibcpp_cv_func_frexpl_use=no
9565 fi
9566 rm -f conftest*
9567     ac_ext=c
9568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9569 ac_cpp='$CPP $CPPFLAGS'
9570 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9571 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9572 cross_compiling=$ac_cv_prog_cc_cross
9573
9574   
9575 fi
9576
9577   echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9578   if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9579     for ac_func in frexpl
9580 do
9581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9582 echo "configure:9583: checking for $ac_func" >&5
9583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9584   echo $ac_n "(cached) $ac_c" 1>&6
9585 else
9586   cat > conftest.$ac_ext <<EOF
9587 #line 9588 "configure"
9588 #include "confdefs.h"
9589 /* System header to define __stub macros and hopefully few prototypes,
9590     which can conflict with char $ac_func(); below.  */
9591 #include <assert.h>
9592 /* Override any gcc2 internal prototype to avoid an error.  */
9593 /* We use char because int might match the return type of a gcc2
9594     builtin and then its argument prototype would still apply.  */
9595 char $ac_func();
9596
9597 int main() {
9598
9599 /* The GNU C library defines this for functions which it implements
9600     to always fail with ENOSYS.  Some functions are actually named
9601     something starting with __ and the normal name is an alias.  */
9602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9603 choke me
9604 #else
9605 $ac_func();
9606 #endif
9607
9608 ; return 0; }
9609 EOF
9610 if { (eval echo configure:9611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9611   rm -rf conftest*
9612   eval "ac_cv_func_$ac_func=yes"
9613 else
9614   echo "configure: failed program was:" >&5
9615   cat conftest.$ac_ext >&5
9616   rm -rf conftest*
9617   eval "ac_cv_func_$ac_func=no"
9618 fi
9619 rm -f conftest*
9620 fi
9621
9622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9623   echo "$ac_t""yes" 1>&6
9624     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9625   cat >> confdefs.h <<EOF
9626 #define $ac_tr_func 1
9627 EOF
9628  
9629 else
9630   echo "$ac_t""no" 1>&6
9631 fi
9632 done
9633     
9634   fi
9635
9636   
9637   echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9638 echo "configure:9639: checking for ldexpl declaration" >&5
9639   if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9640   echo $ac_n "(cached) $ac_c" 1>&6
9641 else
9642   
9643     
9644     ac_ext=C
9645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9646 ac_cpp='$CXXCPP $CPPFLAGS'
9647 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9648 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9649 cross_compiling=$ac_cv_prog_cxx_cross
9650
9651     cat > conftest.$ac_ext <<EOF
9652 #line 9653 "configure"
9653 #include "confdefs.h"
9654 #include <math.h>
9655 int main() {
9656  ldexpl(0, 0);
9657 ; return 0; }
9658 EOF
9659 if { (eval echo configure:9660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9660   rm -rf conftest*
9661   glibcpp_cv_func_ldexpl_use=yes
9662 else
9663   echo "configure: failed program was:" >&5
9664   cat conftest.$ac_ext >&5
9665   rm -rf conftest*
9666   glibcpp_cv_func_ldexpl_use=no
9667 fi
9668 rm -f conftest*
9669     ac_ext=c
9670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9671 ac_cpp='$CPP $CPPFLAGS'
9672 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9673 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9674 cross_compiling=$ac_cv_prog_cc_cross
9675
9676   
9677 fi
9678
9679   echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9680   if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9681     for ac_func in ldexpl
9682 do
9683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9684 echo "configure:9685: checking for $ac_func" >&5
9685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9686   echo $ac_n "(cached) $ac_c" 1>&6
9687 else
9688   cat > conftest.$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9691 /* System header to define __stub macros and hopefully few prototypes,
9692     which can conflict with char $ac_func(); below.  */
9693 #include <assert.h>
9694 /* Override any gcc2 internal prototype to avoid an error.  */
9695 /* We use char because int might match the return type of a gcc2
9696     builtin and then its argument prototype would still apply.  */
9697 char $ac_func();
9698
9699 int main() {
9700
9701 /* The GNU C library defines this for functions which it implements
9702     to always fail with ENOSYS.  Some functions are actually named
9703     something starting with __ and the normal name is an alias.  */
9704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9705 choke me
9706 #else
9707 $ac_func();
9708 #endif
9709
9710 ; return 0; }
9711 EOF
9712 if { (eval echo configure:9713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9713   rm -rf conftest*
9714   eval "ac_cv_func_$ac_func=yes"
9715 else
9716   echo "configure: failed program was:" >&5
9717   cat conftest.$ac_ext >&5
9718   rm -rf conftest*
9719   eval "ac_cv_func_$ac_func=no"
9720 fi
9721 rm -f conftest*
9722 fi
9723
9724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9725   echo "$ac_t""yes" 1>&6
9726     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9727   cat >> confdefs.h <<EOF
9728 #define $ac_tr_func 1
9729 EOF
9730  
9731 else
9732   echo "$ac_t""no" 1>&6
9733 fi
9734 done
9735     
9736   fi
9737
9738   
9739   echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9740 echo "configure:9741: checking for logl declaration" >&5
9741   if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9742   echo $ac_n "(cached) $ac_c" 1>&6
9743 else
9744   
9745     
9746     ac_ext=C
9747 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9748 ac_cpp='$CXXCPP $CPPFLAGS'
9749 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9750 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9751 cross_compiling=$ac_cv_prog_cxx_cross
9752
9753     cat > conftest.$ac_ext <<EOF
9754 #line 9755 "configure"
9755 #include "confdefs.h"
9756 #include <math.h>
9757 int main() {
9758  logl(0);
9759 ; return 0; }
9760 EOF
9761 if { (eval echo configure:9762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9762   rm -rf conftest*
9763   glibcpp_cv_func_logl_use=yes
9764 else
9765   echo "configure: failed program was:" >&5
9766   cat conftest.$ac_ext >&5
9767   rm -rf conftest*
9768   glibcpp_cv_func_logl_use=no
9769 fi
9770 rm -f conftest*
9771     ac_ext=c
9772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9773 ac_cpp='$CPP $CPPFLAGS'
9774 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9775 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9776 cross_compiling=$ac_cv_prog_cc_cross
9777
9778   
9779 fi
9780
9781   echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9782   if test x$glibcpp_cv_func_logl_use = x"yes"; then
9783     for ac_func in logl
9784 do
9785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9786 echo "configure:9787: checking for $ac_func" >&5
9787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9788   echo $ac_n "(cached) $ac_c" 1>&6
9789 else
9790   cat > conftest.$ac_ext <<EOF
9791 #line 9792 "configure"
9792 #include "confdefs.h"
9793 /* System header to define __stub macros and hopefully few prototypes,
9794     which can conflict with char $ac_func(); below.  */
9795 #include <assert.h>
9796 /* Override any gcc2 internal prototype to avoid an error.  */
9797 /* We use char because int might match the return type of a gcc2
9798     builtin and then its argument prototype would still apply.  */
9799 char $ac_func();
9800
9801 int main() {
9802
9803 /* The GNU C library defines this for functions which it implements
9804     to always fail with ENOSYS.  Some functions are actually named
9805     something starting with __ and the normal name is an alias.  */
9806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9807 choke me
9808 #else
9809 $ac_func();
9810 #endif
9811
9812 ; return 0; }
9813 EOF
9814 if { (eval echo configure:9815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9815   rm -rf conftest*
9816   eval "ac_cv_func_$ac_func=yes"
9817 else
9818   echo "configure: failed program was:" >&5
9819   cat conftest.$ac_ext >&5
9820   rm -rf conftest*
9821   eval "ac_cv_func_$ac_func=no"
9822 fi
9823 rm -f conftest*
9824 fi
9825
9826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9827   echo "$ac_t""yes" 1>&6
9828     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9829   cat >> confdefs.h <<EOF
9830 #define $ac_tr_func 1
9831 EOF
9832  
9833 else
9834   echo "$ac_t""no" 1>&6
9835 fi
9836 done
9837     
9838   fi
9839
9840   
9841   echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9842 echo "configure:9843: checking for log10l declaration" >&5
9843   if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9844   echo $ac_n "(cached) $ac_c" 1>&6
9845 else
9846   
9847     
9848     ac_ext=C
9849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9850 ac_cpp='$CXXCPP $CPPFLAGS'
9851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9853 cross_compiling=$ac_cv_prog_cxx_cross
9854
9855     cat > conftest.$ac_ext <<EOF
9856 #line 9857 "configure"
9857 #include "confdefs.h"
9858 #include <math.h>
9859 int main() {
9860  log10l(0);
9861 ; return 0; }
9862 EOF
9863 if { (eval echo configure:9864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9864   rm -rf conftest*
9865   glibcpp_cv_func_log10l_use=yes
9866 else
9867   echo "configure: failed program was:" >&5
9868   cat conftest.$ac_ext >&5
9869   rm -rf conftest*
9870   glibcpp_cv_func_log10l_use=no
9871 fi
9872 rm -f conftest*
9873     ac_ext=c
9874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9875 ac_cpp='$CPP $CPPFLAGS'
9876 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9877 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9878 cross_compiling=$ac_cv_prog_cc_cross
9879
9880   
9881 fi
9882
9883   echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
9884   if test x$glibcpp_cv_func_log10l_use = x"yes"; then
9885     for ac_func in log10l
9886 do
9887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9888 echo "configure:9889: checking for $ac_func" >&5
9889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9890   echo $ac_n "(cached) $ac_c" 1>&6
9891 else
9892   cat > conftest.$ac_ext <<EOF
9893 #line 9894 "configure"
9894 #include "confdefs.h"
9895 /* System header to define __stub macros and hopefully few prototypes,
9896     which can conflict with char $ac_func(); below.  */
9897 #include <assert.h>
9898 /* Override any gcc2 internal prototype to avoid an error.  */
9899 /* We use char because int might match the return type of a gcc2
9900     builtin and then its argument prototype would still apply.  */
9901 char $ac_func();
9902
9903 int main() {
9904
9905 /* The GNU C library defines this for functions which it implements
9906     to always fail with ENOSYS.  Some functions are actually named
9907     something starting with __ and the normal name is an alias.  */
9908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9909 choke me
9910 #else
9911 $ac_func();
9912 #endif
9913
9914 ; return 0; }
9915 EOF
9916 if { (eval echo configure:9917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9917   rm -rf conftest*
9918   eval "ac_cv_func_$ac_func=yes"
9919 else
9920   echo "configure: failed program was:" >&5
9921   cat conftest.$ac_ext >&5
9922   rm -rf conftest*
9923   eval "ac_cv_func_$ac_func=no"
9924 fi
9925 rm -f conftest*
9926 fi
9927
9928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9929   echo "$ac_t""yes" 1>&6
9930     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9931   cat >> confdefs.h <<EOF
9932 #define $ac_tr_func 1
9933 EOF
9934  
9935 else
9936   echo "$ac_t""no" 1>&6
9937 fi
9938 done
9939     
9940   fi
9941
9942   
9943   echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
9944 echo "configure:9945: checking for modfl declaration" >&5
9945   if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
9946   echo $ac_n "(cached) $ac_c" 1>&6
9947 else
9948   
9949     
9950     ac_ext=C
9951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9952 ac_cpp='$CXXCPP $CPPFLAGS'
9953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9955 cross_compiling=$ac_cv_prog_cxx_cross
9956
9957     cat > conftest.$ac_ext <<EOF
9958 #line 9959 "configure"
9959 #include "confdefs.h"
9960 #include <math.h>
9961 int main() {
9962  modfl(0, 0);
9963 ; return 0; }
9964 EOF
9965 if { (eval echo configure:9966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9966   rm -rf conftest*
9967   glibcpp_cv_func_modfl_use=yes
9968 else
9969   echo "configure: failed program was:" >&5
9970   cat conftest.$ac_ext >&5
9971   rm -rf conftest*
9972   glibcpp_cv_func_modfl_use=no
9973 fi
9974 rm -f conftest*
9975     ac_ext=c
9976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9977 ac_cpp='$CPP $CPPFLAGS'
9978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9980 cross_compiling=$ac_cv_prog_cc_cross
9981
9982   
9983 fi
9984
9985   echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
9986   if test x$glibcpp_cv_func_modfl_use = x"yes"; then
9987     for ac_func in modfl
9988 do
9989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9990 echo "configure:9991: checking for $ac_func" >&5
9991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9992   echo $ac_n "(cached) $ac_c" 1>&6
9993 else
9994   cat > conftest.$ac_ext <<EOF
9995 #line 9996 "configure"
9996 #include "confdefs.h"
9997 /* System header to define __stub macros and hopefully few prototypes,
9998     which can conflict with char $ac_func(); below.  */
9999 #include <assert.h>
10000 /* Override any gcc2 internal prototype to avoid an error.  */
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
10005 int main() {
10006
10007 /* The GNU C library defines this for functions which it implements
10008     to always fail with ENOSYS.  Some functions are actually named
10009     something starting with __ and the normal name is an alias.  */
10010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10011 choke me
10012 #else
10013 $ac_func();
10014 #endif
10015
10016 ; return 0; }
10017 EOF
10018 if { (eval echo configure:10019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10019   rm -rf conftest*
10020   eval "ac_cv_func_$ac_func=yes"
10021 else
10022   echo "configure: failed program was:" >&5
10023   cat conftest.$ac_ext >&5
10024   rm -rf conftest*
10025   eval "ac_cv_func_$ac_func=no"
10026 fi
10027 rm -f conftest*
10028 fi
10029
10030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10031   echo "$ac_t""yes" 1>&6
10032     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10033   cat >> confdefs.h <<EOF
10034 #define $ac_tr_func 1
10035 EOF
10036  
10037 else
10038   echo "$ac_t""no" 1>&6
10039 fi
10040 done
10041     
10042   fi
10043
10044   
10045   echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10046 echo "configure:10047: checking for powl declaration" >&5
10047   if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10048   echo $ac_n "(cached) $ac_c" 1>&6
10049 else
10050   
10051     
10052     ac_ext=C
10053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10054 ac_cpp='$CXXCPP $CPPFLAGS'
10055 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10056 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10057 cross_compiling=$ac_cv_prog_cxx_cross
10058
10059     cat > conftest.$ac_ext <<EOF
10060 #line 10061 "configure"
10061 #include "confdefs.h"
10062 #include <math.h>
10063 int main() {
10064  powl(0, 0);
10065 ; return 0; }
10066 EOF
10067 if { (eval echo configure:10068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10068   rm -rf conftest*
10069   glibcpp_cv_func_powl_use=yes
10070 else
10071   echo "configure: failed program was:" >&5
10072   cat conftest.$ac_ext >&5
10073   rm -rf conftest*
10074   glibcpp_cv_func_powl_use=no
10075 fi
10076 rm -f conftest*
10077     ac_ext=c
10078 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10079 ac_cpp='$CPP $CPPFLAGS'
10080 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10081 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10082 cross_compiling=$ac_cv_prog_cc_cross
10083
10084   
10085 fi
10086
10087   echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10088   if test x$glibcpp_cv_func_powl_use = x"yes"; then
10089     for ac_func in powl
10090 do
10091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10092 echo "configure:10093: checking for $ac_func" >&5
10093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10094   echo $ac_n "(cached) $ac_c" 1>&6
10095 else
10096   cat > conftest.$ac_ext <<EOF
10097 #line 10098 "configure"
10098 #include "confdefs.h"
10099 /* System header to define __stub macros and hopefully few prototypes,
10100     which can conflict with char $ac_func(); below.  */
10101 #include <assert.h>
10102 /* Override any gcc2 internal prototype to avoid an error.  */
10103 /* We use char because int might match the return type of a gcc2
10104     builtin and then its argument prototype would still apply.  */
10105 char $ac_func();
10106
10107 int main() {
10108
10109 /* The GNU C library defines this for functions which it implements
10110     to always fail with ENOSYS.  Some functions are actually named
10111     something starting with __ and the normal name is an alias.  */
10112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10113 choke me
10114 #else
10115 $ac_func();
10116 #endif
10117
10118 ; return 0; }
10119 EOF
10120 if { (eval echo configure:10121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10121   rm -rf conftest*
10122   eval "ac_cv_func_$ac_func=yes"
10123 else
10124   echo "configure: failed program was:" >&5
10125   cat conftest.$ac_ext >&5
10126   rm -rf conftest*
10127   eval "ac_cv_func_$ac_func=no"
10128 fi
10129 rm -f conftest*
10130 fi
10131
10132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10133   echo "$ac_t""yes" 1>&6
10134     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10135   cat >> confdefs.h <<EOF
10136 #define $ac_tr_func 1
10137 EOF
10138  
10139 else
10140   echo "$ac_t""no" 1>&6
10141 fi
10142 done
10143     
10144   fi
10145
10146   
10147   echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10148 echo "configure:10149: checking for sinl declaration" >&5
10149   if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10150   echo $ac_n "(cached) $ac_c" 1>&6
10151 else
10152   
10153     
10154     ac_ext=C
10155 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10156 ac_cpp='$CXXCPP $CPPFLAGS'
10157 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10158 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10159 cross_compiling=$ac_cv_prog_cxx_cross
10160
10161     cat > conftest.$ac_ext <<EOF
10162 #line 10163 "configure"
10163 #include "confdefs.h"
10164 #include <math.h>
10165 int main() {
10166  sinl(0);
10167 ; return 0; }
10168 EOF
10169 if { (eval echo configure:10170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10170   rm -rf conftest*
10171   glibcpp_cv_func_sinl_use=yes
10172 else
10173   echo "configure: failed program was:" >&5
10174   cat conftest.$ac_ext >&5
10175   rm -rf conftest*
10176   glibcpp_cv_func_sinl_use=no
10177 fi
10178 rm -f conftest*
10179     ac_ext=c
10180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10181 ac_cpp='$CPP $CPPFLAGS'
10182 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10183 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10184 cross_compiling=$ac_cv_prog_cc_cross
10185
10186   
10187 fi
10188
10189   echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10190   if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10191     for ac_func in sinl
10192 do
10193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10194 echo "configure:10195: checking for $ac_func" >&5
10195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10196   echo $ac_n "(cached) $ac_c" 1>&6
10197 else
10198   cat > conftest.$ac_ext <<EOF
10199 #line 10200 "configure"
10200 #include "confdefs.h"
10201 /* System header to define __stub macros and hopefully few prototypes,
10202     which can conflict with char $ac_func(); below.  */
10203 #include <assert.h>
10204 /* Override any gcc2 internal prototype to avoid an error.  */
10205 /* We use char because int might match the return type of a gcc2
10206     builtin and then its argument prototype would still apply.  */
10207 char $ac_func();
10208
10209 int main() {
10210
10211 /* The GNU C library defines this for functions which it implements
10212     to always fail with ENOSYS.  Some functions are actually named
10213     something starting with __ and the normal name is an alias.  */
10214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10215 choke me
10216 #else
10217 $ac_func();
10218 #endif
10219
10220 ; return 0; }
10221 EOF
10222 if { (eval echo configure:10223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10223   rm -rf conftest*
10224   eval "ac_cv_func_$ac_func=yes"
10225 else
10226   echo "configure: failed program was:" >&5
10227   cat conftest.$ac_ext >&5
10228   rm -rf conftest*
10229   eval "ac_cv_func_$ac_func=no"
10230 fi
10231 rm -f conftest*
10232 fi
10233
10234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10235   echo "$ac_t""yes" 1>&6
10236     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10237   cat >> confdefs.h <<EOF
10238 #define $ac_tr_func 1
10239 EOF
10240  
10241 else
10242   echo "$ac_t""no" 1>&6
10243 fi
10244 done
10245     
10246   fi
10247
10248   
10249   echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10250 echo "configure:10251: checking for sinhl declaration" >&5
10251   if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10252   echo $ac_n "(cached) $ac_c" 1>&6
10253 else
10254   
10255     
10256     ac_ext=C
10257 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10258 ac_cpp='$CXXCPP $CPPFLAGS'
10259 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10260 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10261 cross_compiling=$ac_cv_prog_cxx_cross
10262
10263     cat > conftest.$ac_ext <<EOF
10264 #line 10265 "configure"
10265 #include "confdefs.h"
10266 #include <math.h>
10267 int main() {
10268  sinhl(0);
10269 ; return 0; }
10270 EOF
10271 if { (eval echo configure:10272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10272   rm -rf conftest*
10273   glibcpp_cv_func_sinhl_use=yes
10274 else
10275   echo "configure: failed program was:" >&5
10276   cat conftest.$ac_ext >&5
10277   rm -rf conftest*
10278   glibcpp_cv_func_sinhl_use=no
10279 fi
10280 rm -f conftest*
10281     ac_ext=c
10282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10283 ac_cpp='$CPP $CPPFLAGS'
10284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10286 cross_compiling=$ac_cv_prog_cc_cross
10287
10288   
10289 fi
10290
10291   echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10292   if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10293     for ac_func in sinhl
10294 do
10295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10296 echo "configure:10297: checking for $ac_func" >&5
10297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10298   echo $ac_n "(cached) $ac_c" 1>&6
10299 else
10300   cat > conftest.$ac_ext <<EOF
10301 #line 10302 "configure"
10302 #include "confdefs.h"
10303 /* System header to define __stub macros and hopefully few prototypes,
10304     which can conflict with char $ac_func(); below.  */
10305 #include <assert.h>
10306 /* Override any gcc2 internal prototype to avoid an error.  */
10307 /* We use char because int might match the return type of a gcc2
10308     builtin and then its argument prototype would still apply.  */
10309 char $ac_func();
10310
10311 int main() {
10312
10313 /* The GNU C library defines this for functions which it implements
10314     to always fail with ENOSYS.  Some functions are actually named
10315     something starting with __ and the normal name is an alias.  */
10316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10317 choke me
10318 #else
10319 $ac_func();
10320 #endif
10321
10322 ; return 0; }
10323 EOF
10324 if { (eval echo configure:10325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10325   rm -rf conftest*
10326   eval "ac_cv_func_$ac_func=yes"
10327 else
10328   echo "configure: failed program was:" >&5
10329   cat conftest.$ac_ext >&5
10330   rm -rf conftest*
10331   eval "ac_cv_func_$ac_func=no"
10332 fi
10333 rm -f conftest*
10334 fi
10335
10336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10337   echo "$ac_t""yes" 1>&6
10338     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10339   cat >> confdefs.h <<EOF
10340 #define $ac_tr_func 1
10341 EOF
10342  
10343 else
10344   echo "$ac_t""no" 1>&6
10345 fi
10346 done
10347     
10348   fi
10349
10350   
10351   echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10352 echo "configure:10353: checking for sqrtl declaration" >&5
10353   if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10354   echo $ac_n "(cached) $ac_c" 1>&6
10355 else
10356   
10357     
10358     ac_ext=C
10359 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10360 ac_cpp='$CXXCPP $CPPFLAGS'
10361 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10362 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10363 cross_compiling=$ac_cv_prog_cxx_cross
10364
10365     cat > conftest.$ac_ext <<EOF
10366 #line 10367 "configure"
10367 #include "confdefs.h"
10368 #include <math.h>
10369 int main() {
10370  sqrtl(0);
10371 ; return 0; }
10372 EOF
10373 if { (eval echo configure:10374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10374   rm -rf conftest*
10375   glibcpp_cv_func_sqrtl_use=yes
10376 else
10377   echo "configure: failed program was:" >&5
10378   cat conftest.$ac_ext >&5
10379   rm -rf conftest*
10380   glibcpp_cv_func_sqrtl_use=no
10381 fi
10382 rm -f conftest*
10383     ac_ext=c
10384 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10385 ac_cpp='$CPP $CPPFLAGS'
10386 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10387 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10388 cross_compiling=$ac_cv_prog_cc_cross
10389
10390   
10391 fi
10392
10393   echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10394   if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10395     for ac_func in sqrtl
10396 do
10397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10398 echo "configure:10399: checking for $ac_func" >&5
10399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10400   echo $ac_n "(cached) $ac_c" 1>&6
10401 else
10402   cat > conftest.$ac_ext <<EOF
10403 #line 10404 "configure"
10404 #include "confdefs.h"
10405 /* System header to define __stub macros and hopefully few prototypes,
10406     which can conflict with char $ac_func(); below.  */
10407 #include <assert.h>
10408 /* Override any gcc2 internal prototype to avoid an error.  */
10409 /* We use char because int might match the return type of a gcc2
10410     builtin and then its argument prototype would still apply.  */
10411 char $ac_func();
10412
10413 int main() {
10414
10415 /* The GNU C library defines this for functions which it implements
10416     to always fail with ENOSYS.  Some functions are actually named
10417     something starting with __ and the normal name is an alias.  */
10418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10419 choke me
10420 #else
10421 $ac_func();
10422 #endif
10423
10424 ; return 0; }
10425 EOF
10426 if { (eval echo configure:10427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10427   rm -rf conftest*
10428   eval "ac_cv_func_$ac_func=yes"
10429 else
10430   echo "configure: failed program was:" >&5
10431   cat conftest.$ac_ext >&5
10432   rm -rf conftest*
10433   eval "ac_cv_func_$ac_func=no"
10434 fi
10435 rm -f conftest*
10436 fi
10437
10438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10439   echo "$ac_t""yes" 1>&6
10440     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10441   cat >> confdefs.h <<EOF
10442 #define $ac_tr_func 1
10443 EOF
10444  
10445 else
10446   echo "$ac_t""no" 1>&6
10447 fi
10448 done
10449     
10450   fi
10451
10452   
10453   echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10454 echo "configure:10455: checking for tanl declaration" >&5
10455   if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10456   echo $ac_n "(cached) $ac_c" 1>&6
10457 else
10458   
10459     
10460     ac_ext=C
10461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10462 ac_cpp='$CXXCPP $CPPFLAGS'
10463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10465 cross_compiling=$ac_cv_prog_cxx_cross
10466
10467     cat > conftest.$ac_ext <<EOF
10468 #line 10469 "configure"
10469 #include "confdefs.h"
10470 #include <math.h>
10471 int main() {
10472  tanl(0);
10473 ; return 0; }
10474 EOF
10475 if { (eval echo configure:10476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10476   rm -rf conftest*
10477   glibcpp_cv_func_tanl_use=yes
10478 else
10479   echo "configure: failed program was:" >&5
10480   cat conftest.$ac_ext >&5
10481   rm -rf conftest*
10482   glibcpp_cv_func_tanl_use=no
10483 fi
10484 rm -f conftest*
10485     ac_ext=c
10486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10487 ac_cpp='$CPP $CPPFLAGS'
10488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10490 cross_compiling=$ac_cv_prog_cc_cross
10491
10492   
10493 fi
10494
10495   echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10496   if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10497     for ac_func in tanl
10498 do
10499 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10500 echo "configure:10501: checking for $ac_func" >&5
10501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10502   echo $ac_n "(cached) $ac_c" 1>&6
10503 else
10504   cat > conftest.$ac_ext <<EOF
10505 #line 10506 "configure"
10506 #include "confdefs.h"
10507 /* System header to define __stub macros and hopefully few prototypes,
10508     which can conflict with char $ac_func(); below.  */
10509 #include <assert.h>
10510 /* Override any gcc2 internal prototype to avoid an error.  */
10511 /* We use char because int might match the return type of a gcc2
10512     builtin and then its argument prototype would still apply.  */
10513 char $ac_func();
10514
10515 int main() {
10516
10517 /* The GNU C library defines this for functions which it implements
10518     to always fail with ENOSYS.  Some functions are actually named
10519     something starting with __ and the normal name is an alias.  */
10520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10521 choke me
10522 #else
10523 $ac_func();
10524 #endif
10525
10526 ; return 0; }
10527 EOF
10528 if { (eval echo configure:10529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10529   rm -rf conftest*
10530   eval "ac_cv_func_$ac_func=yes"
10531 else
10532   echo "configure: failed program was:" >&5
10533   cat conftest.$ac_ext >&5
10534   rm -rf conftest*
10535   eval "ac_cv_func_$ac_func=no"
10536 fi
10537 rm -f conftest*
10538 fi
10539
10540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10541   echo "$ac_t""yes" 1>&6
10542     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10543   cat >> confdefs.h <<EOF
10544 #define $ac_tr_func 1
10545 EOF
10546  
10547 else
10548   echo "$ac_t""no" 1>&6
10549 fi
10550 done
10551     
10552   fi
10553
10554   
10555   echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10556 echo "configure:10557: checking for tanhl declaration" >&5
10557   if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10558   echo $ac_n "(cached) $ac_c" 1>&6
10559 else
10560   
10561     
10562     ac_ext=C
10563 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10564 ac_cpp='$CXXCPP $CPPFLAGS'
10565 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10566 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10567 cross_compiling=$ac_cv_prog_cxx_cross
10568
10569     cat > conftest.$ac_ext <<EOF
10570 #line 10571 "configure"
10571 #include "confdefs.h"
10572 #include <math.h>
10573 int main() {
10574  tanhl(0);
10575 ; return 0; }
10576 EOF
10577 if { (eval echo configure:10578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10578   rm -rf conftest*
10579   glibcpp_cv_func_tanhl_use=yes
10580 else
10581   echo "configure: failed program was:" >&5
10582   cat conftest.$ac_ext >&5
10583   rm -rf conftest*
10584   glibcpp_cv_func_tanhl_use=no
10585 fi
10586 rm -f conftest*
10587     ac_ext=c
10588 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10589 ac_cpp='$CPP $CPPFLAGS'
10590 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10591 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10592 cross_compiling=$ac_cv_prog_cc_cross
10593
10594   
10595 fi
10596
10597   echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10598   if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10599     for ac_func in tanhl
10600 do
10601 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10602 echo "configure:10603: checking for $ac_func" >&5
10603 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10604   echo $ac_n "(cached) $ac_c" 1>&6
10605 else
10606   cat > conftest.$ac_ext <<EOF
10607 #line 10608 "configure"
10608 #include "confdefs.h"
10609 /* System header to define __stub macros and hopefully few prototypes,
10610     which can conflict with char $ac_func(); below.  */
10611 #include <assert.h>
10612 /* Override any gcc2 internal prototype to avoid an error.  */
10613 /* We use char because int might match the return type of a gcc2
10614     builtin and then its argument prototype would still apply.  */
10615 char $ac_func();
10616
10617 int main() {
10618
10619 /* The GNU C library defines this for functions which it implements
10620     to always fail with ENOSYS.  Some functions are actually named
10621     something starting with __ and the normal name is an alias.  */
10622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10623 choke me
10624 #else
10625 $ac_func();
10626 #endif
10627
10628 ; return 0; }
10629 EOF
10630 if { (eval echo configure:10631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10631   rm -rf conftest*
10632   eval "ac_cv_func_$ac_func=yes"
10633 else
10634   echo "configure: failed program was:" >&5
10635   cat conftest.$ac_ext >&5
10636   rm -rf conftest*
10637   eval "ac_cv_func_$ac_func=no"
10638 fi
10639 rm -f conftest*
10640 fi
10641
10642 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10643   echo "$ac_t""yes" 1>&6
10644     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10645   cat >> confdefs.h <<EOF
10646 #define $ac_tr_func 1
10647 EOF
10648  
10649 else
10650   echo "$ac_t""no" 1>&6
10651 fi
10652 done
10653     
10654   fi
10655
10656   
10657   echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10658 echo "configure:10659: checking for sincosl declaration" >&5
10659   if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10660   echo $ac_n "(cached) $ac_c" 1>&6
10661 else
10662   
10663     
10664     ac_ext=C
10665 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10666 ac_cpp='$CXXCPP $CPPFLAGS'
10667 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10668 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10669 cross_compiling=$ac_cv_prog_cxx_cross
10670
10671     cat > conftest.$ac_ext <<EOF
10672 #line 10673 "configure"
10673 #include "confdefs.h"
10674 #include <math.h>
10675 int main() {
10676  sincosl(0, 0, 0);
10677 ; return 0; }
10678 EOF
10679 if { (eval echo configure:10680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10680   rm -rf conftest*
10681   glibcpp_cv_func_sincosl_use=yes
10682 else
10683   echo "configure: failed program was:" >&5
10684   cat conftest.$ac_ext >&5
10685   rm -rf conftest*
10686   glibcpp_cv_func_sincosl_use=no
10687 fi
10688 rm -f conftest*
10689     ac_ext=c
10690 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10691 ac_cpp='$CPP $CPPFLAGS'
10692 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10693 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10694 cross_compiling=$ac_cv_prog_cc_cross
10695
10696   
10697 fi
10698
10699   echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10700   if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10701     for ac_func in sincosl
10702 do
10703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10704 echo "configure:10705: checking for $ac_func" >&5
10705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10706   echo $ac_n "(cached) $ac_c" 1>&6
10707 else
10708   cat > conftest.$ac_ext <<EOF
10709 #line 10710 "configure"
10710 #include "confdefs.h"
10711 /* System header to define __stub macros and hopefully few prototypes,
10712     which can conflict with char $ac_func(); below.  */
10713 #include <assert.h>
10714 /* Override any gcc2 internal prototype to avoid an error.  */
10715 /* We use char because int might match the return type of a gcc2
10716     builtin and then its argument prototype would still apply.  */
10717 char $ac_func();
10718
10719 int main() {
10720
10721 /* The GNU C library defines this for functions which it implements
10722     to always fail with ENOSYS.  Some functions are actually named
10723     something starting with __ and the normal name is an alias.  */
10724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10725 choke me
10726 #else
10727 $ac_func();
10728 #endif
10729
10730 ; return 0; }
10731 EOF
10732 if { (eval echo configure:10733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10733   rm -rf conftest*
10734   eval "ac_cv_func_$ac_func=yes"
10735 else
10736   echo "configure: failed program was:" >&5
10737   cat conftest.$ac_ext >&5
10738   rm -rf conftest*
10739   eval "ac_cv_func_$ac_func=no"
10740 fi
10741 rm -f conftest*
10742 fi
10743
10744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10745   echo "$ac_t""yes" 1>&6
10746     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10747   cat >> confdefs.h <<EOF
10748 #define $ac_tr_func 1
10749 EOF
10750  
10751 else
10752   echo "$ac_t""no" 1>&6
10753 fi
10754 done
10755     
10756   fi
10757
10758   
10759   echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
10760 echo "configure:10761: checking for finitel declaration" >&5
10761   if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
10762   echo $ac_n "(cached) $ac_c" 1>&6
10763 else
10764   
10765     
10766     ac_ext=C
10767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10768 ac_cpp='$CXXCPP $CPPFLAGS'
10769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10771 cross_compiling=$ac_cv_prog_cxx_cross
10772
10773     cat > conftest.$ac_ext <<EOF
10774 #line 10775 "configure"
10775 #include "confdefs.h"
10776 #include <math.h>
10777 int main() {
10778  finitel(0);
10779 ; return 0; }
10780 EOF
10781 if { (eval echo configure:10782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10782   rm -rf conftest*
10783   glibcpp_cv_func_finitel_use=yes
10784 else
10785   echo "configure: failed program was:" >&5
10786   cat conftest.$ac_ext >&5
10787   rm -rf conftest*
10788   glibcpp_cv_func_finitel_use=no
10789 fi
10790 rm -f conftest*
10791     ac_ext=c
10792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10793 ac_cpp='$CPP $CPPFLAGS'
10794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10796 cross_compiling=$ac_cv_prog_cc_cross
10797
10798   
10799 fi
10800
10801   echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10802   if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10803     for ac_func in finitel
10804 do
10805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10806 echo "configure:10807: checking for $ac_func" >&5
10807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10808   echo $ac_n "(cached) $ac_c" 1>&6
10809 else
10810   cat > conftest.$ac_ext <<EOF
10811 #line 10812 "configure"
10812 #include "confdefs.h"
10813 /* System header to define __stub macros and hopefully few prototypes,
10814     which can conflict with char $ac_func(); below.  */
10815 #include <assert.h>
10816 /* Override any gcc2 internal prototype to avoid an error.  */
10817 /* We use char because int might match the return type of a gcc2
10818     builtin and then its argument prototype would still apply.  */
10819 char $ac_func();
10820
10821 int main() {
10822
10823 /* The GNU C library defines this for functions which it implements
10824     to always fail with ENOSYS.  Some functions are actually named
10825     something starting with __ and the normal name is an alias.  */
10826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10827 choke me
10828 #else
10829 $ac_func();
10830 #endif
10831
10832 ; return 0; }
10833 EOF
10834 if { (eval echo configure:10835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10835   rm -rf conftest*
10836   eval "ac_cv_func_$ac_func=yes"
10837 else
10838   echo "configure: failed program was:" >&5
10839   cat conftest.$ac_ext >&5
10840   rm -rf conftest*
10841   eval "ac_cv_func_$ac_func=no"
10842 fi
10843 rm -f conftest*
10844 fi
10845
10846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10847   echo "$ac_t""yes" 1>&6
10848     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10849   cat >> confdefs.h <<EOF
10850 #define $ac_tr_func 1
10851 EOF
10852  
10853 else
10854   echo "$ac_t""no" 1>&6
10855 fi
10856 done
10857     
10858   fi
10859
10860
10861           
10862   echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10863 echo "configure:10864: checking for _isinf declaration" >&5
10864   if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10865   echo $ac_n "(cached) $ac_c" 1>&6
10866 else
10867   
10868     
10869     ac_ext=C
10870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10871 ac_cpp='$CXXCPP $CPPFLAGS'
10872 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10873 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10874 cross_compiling=$ac_cv_prog_cxx_cross
10875
10876     cat > conftest.$ac_ext <<EOF
10877 #line 10878 "configure"
10878 #include "confdefs.h"
10879 #include <math.h>
10880 int main() {
10881  _isinf(0);
10882 ; return 0; }
10883 EOF
10884 if { (eval echo configure:10885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10885   rm -rf conftest*
10886   glibcpp_cv_func__isinf_use=yes
10887 else
10888   echo "configure: failed program was:" >&5
10889   cat conftest.$ac_ext >&5
10890   rm -rf conftest*
10891   glibcpp_cv_func__isinf_use=no
10892 fi
10893 rm -f conftest*
10894     ac_ext=c
10895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10896 ac_cpp='$CPP $CPPFLAGS'
10897 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10898 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10899 cross_compiling=$ac_cv_prog_cc_cross
10900
10901   
10902 fi
10903
10904   echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10905   if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10906     for ac_func in _isinf
10907 do
10908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10909 echo "configure:10910: checking for $ac_func" >&5
10910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10911   echo $ac_n "(cached) $ac_c" 1>&6
10912 else
10913   cat > conftest.$ac_ext <<EOF
10914 #line 10915 "configure"
10915 #include "confdefs.h"
10916 /* System header to define __stub macros and hopefully few prototypes,
10917     which can conflict with char $ac_func(); below.  */
10918 #include <assert.h>
10919 /* Override any gcc2 internal prototype to avoid an error.  */
10920 /* We use char because int might match the return type of a gcc2
10921     builtin and then its argument prototype would still apply.  */
10922 char $ac_func();
10923
10924 int main() {
10925
10926 /* The GNU C library defines this for functions which it implements
10927     to always fail with ENOSYS.  Some functions are actually named
10928     something starting with __ and the normal name is an alias.  */
10929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10930 choke me
10931 #else
10932 $ac_func();
10933 #endif
10934
10935 ; return 0; }
10936 EOF
10937 if { (eval echo configure:10938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10938   rm -rf conftest*
10939   eval "ac_cv_func_$ac_func=yes"
10940 else
10941   echo "configure: failed program was:" >&5
10942   cat conftest.$ac_ext >&5
10943   rm -rf conftest*
10944   eval "ac_cv_func_$ac_func=no"
10945 fi
10946 rm -f conftest*
10947 fi
10948
10949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10950   echo "$ac_t""yes" 1>&6
10951     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10952   cat >> confdefs.h <<EOF
10953 #define $ac_tr_func 1
10954 EOF
10955  
10956 else
10957   echo "$ac_t""no" 1>&6
10958 fi
10959 done
10960     
10961   fi
10962
10963   
10964   echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
10965 echo "configure:10966: checking for _isnan declaration" >&5
10966   if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
10967   echo $ac_n "(cached) $ac_c" 1>&6
10968 else
10969   
10970     
10971     ac_ext=C
10972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10973 ac_cpp='$CXXCPP $CPPFLAGS'
10974 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10975 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10976 cross_compiling=$ac_cv_prog_cxx_cross
10977
10978     cat > conftest.$ac_ext <<EOF
10979 #line 10980 "configure"
10980 #include "confdefs.h"
10981 #include <math.h>
10982 int main() {
10983  _isnan(0);
10984 ; return 0; }
10985 EOF
10986 if { (eval echo configure:10987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10987   rm -rf conftest*
10988   glibcpp_cv_func__isnan_use=yes
10989 else
10990   echo "configure: failed program was:" >&5
10991   cat conftest.$ac_ext >&5
10992   rm -rf conftest*
10993   glibcpp_cv_func__isnan_use=no
10994 fi
10995 rm -f conftest*
10996     ac_ext=c
10997 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10998 ac_cpp='$CPP $CPPFLAGS'
10999 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11000 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11001 cross_compiling=$ac_cv_prog_cc_cross
11002
11003   
11004 fi
11005
11006   echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11007   if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11008     for ac_func in _isnan
11009 do
11010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11011 echo "configure:11012: checking for $ac_func" >&5
11012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11013   echo $ac_n "(cached) $ac_c" 1>&6
11014 else
11015   cat > conftest.$ac_ext <<EOF
11016 #line 11017 "configure"
11017 #include "confdefs.h"
11018 /* System header to define __stub macros and hopefully few prototypes,
11019     which can conflict with char $ac_func(); below.  */
11020 #include <assert.h>
11021 /* Override any gcc2 internal prototype to avoid an error.  */
11022 /* We use char because int might match the return type of a gcc2
11023     builtin and then its argument prototype would still apply.  */
11024 char $ac_func();
11025
11026 int main() {
11027
11028 /* The GNU C library defines this for functions which it implements
11029     to always fail with ENOSYS.  Some functions are actually named
11030     something starting with __ and the normal name is an alias.  */
11031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11032 choke me
11033 #else
11034 $ac_func();
11035 #endif
11036
11037 ; return 0; }
11038 EOF
11039 if { (eval echo configure:11040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11040   rm -rf conftest*
11041   eval "ac_cv_func_$ac_func=yes"
11042 else
11043   echo "configure: failed program was:" >&5
11044   cat conftest.$ac_ext >&5
11045   rm -rf conftest*
11046   eval "ac_cv_func_$ac_func=no"
11047 fi
11048 rm -f conftest*
11049 fi
11050
11051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11052   echo "$ac_t""yes" 1>&6
11053     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11054   cat >> confdefs.h <<EOF
11055 #define $ac_tr_func 1
11056 EOF
11057  
11058 else
11059   echo "$ac_t""no" 1>&6
11060 fi
11061 done
11062     
11063   fi
11064
11065   
11066   echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11067 echo "configure:11068: checking for _finite declaration" >&5
11068   if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11069   echo $ac_n "(cached) $ac_c" 1>&6
11070 else
11071   
11072     
11073     ac_ext=C
11074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11075 ac_cpp='$CXXCPP $CPPFLAGS'
11076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11078 cross_compiling=$ac_cv_prog_cxx_cross
11079
11080     cat > conftest.$ac_ext <<EOF
11081 #line 11082 "configure"
11082 #include "confdefs.h"
11083 #include <math.h>
11084 int main() {
11085  _finite(0);
11086 ; return 0; }
11087 EOF
11088 if { (eval echo configure:11089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11089   rm -rf conftest*
11090   glibcpp_cv_func__finite_use=yes
11091 else
11092   echo "configure: failed program was:" >&5
11093   cat conftest.$ac_ext >&5
11094   rm -rf conftest*
11095   glibcpp_cv_func__finite_use=no
11096 fi
11097 rm -f conftest*
11098     ac_ext=c
11099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11100 ac_cpp='$CPP $CPPFLAGS'
11101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11103 cross_compiling=$ac_cv_prog_cc_cross
11104
11105   
11106 fi
11107
11108   echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11109   if test x$glibcpp_cv_func__finite_use = x"yes"; then
11110     for ac_func in _finite
11111 do
11112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11113 echo "configure:11114: checking for $ac_func" >&5
11114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11115   echo $ac_n "(cached) $ac_c" 1>&6
11116 else
11117   cat > conftest.$ac_ext <<EOF
11118 #line 11119 "configure"
11119 #include "confdefs.h"
11120 /* System header to define __stub macros and hopefully few prototypes,
11121     which can conflict with char $ac_func(); below.  */
11122 #include <assert.h>
11123 /* Override any gcc2 internal prototype to avoid an error.  */
11124 /* We use char because int might match the return type of a gcc2
11125     builtin and then its argument prototype would still apply.  */
11126 char $ac_func();
11127
11128 int main() {
11129
11130 /* The GNU C library defines this for functions which it implements
11131     to always fail with ENOSYS.  Some functions are actually named
11132     something starting with __ and the normal name is an alias.  */
11133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11134 choke me
11135 #else
11136 $ac_func();
11137 #endif
11138
11139 ; return 0; }
11140 EOF
11141 if { (eval echo configure:11142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11142   rm -rf conftest*
11143   eval "ac_cv_func_$ac_func=yes"
11144 else
11145   echo "configure: failed program was:" >&5
11146   cat conftest.$ac_ext >&5
11147   rm -rf conftest*
11148   eval "ac_cv_func_$ac_func=no"
11149 fi
11150 rm -f conftest*
11151 fi
11152
11153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11154   echo "$ac_t""yes" 1>&6
11155     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11156   cat >> confdefs.h <<EOF
11157 #define $ac_tr_func 1
11158 EOF
11159  
11160 else
11161   echo "$ac_t""no" 1>&6
11162 fi
11163 done
11164     
11165   fi
11166
11167   
11168   echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11169 echo "configure:11170: checking for _copysign declaration" >&5
11170   if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11171   echo $ac_n "(cached) $ac_c" 1>&6
11172 else
11173   
11174     
11175     ac_ext=C
11176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11177 ac_cpp='$CXXCPP $CPPFLAGS'
11178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11180 cross_compiling=$ac_cv_prog_cxx_cross
11181
11182     cat > conftest.$ac_ext <<EOF
11183 #line 11184 "configure"
11184 #include "confdefs.h"
11185 #include <math.h>
11186 int main() {
11187  _copysign(0, 0);
11188 ; return 0; }
11189 EOF
11190 if { (eval echo configure:11191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11191   rm -rf conftest*
11192   glibcpp_cv_func__copysign_use=yes
11193 else
11194   echo "configure: failed program was:" >&5
11195   cat conftest.$ac_ext >&5
11196   rm -rf conftest*
11197   glibcpp_cv_func__copysign_use=no
11198 fi
11199 rm -f conftest*
11200     ac_ext=c
11201 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11202 ac_cpp='$CPP $CPPFLAGS'
11203 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11204 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11205 cross_compiling=$ac_cv_prog_cc_cross
11206
11207   
11208 fi
11209
11210   echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11211   if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11212     for ac_func in _copysign
11213 do
11214 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11215 echo "configure:11216: checking for $ac_func" >&5
11216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11217   echo $ac_n "(cached) $ac_c" 1>&6
11218 else
11219   cat > conftest.$ac_ext <<EOF
11220 #line 11221 "configure"
11221 #include "confdefs.h"
11222 /* System header to define __stub macros and hopefully few prototypes,
11223     which can conflict with char $ac_func(); below.  */
11224 #include <assert.h>
11225 /* Override any gcc2 internal prototype to avoid an error.  */
11226 /* We use char because int might match the return type of a gcc2
11227     builtin and then its argument prototype would still apply.  */
11228 char $ac_func();
11229
11230 int main() {
11231
11232 /* The GNU C library defines this for functions which it implements
11233     to always fail with ENOSYS.  Some functions are actually named
11234     something starting with __ and the normal name is an alias.  */
11235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11236 choke me
11237 #else
11238 $ac_func();
11239 #endif
11240
11241 ; return 0; }
11242 EOF
11243 if { (eval echo configure:11244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11244   rm -rf conftest*
11245   eval "ac_cv_func_$ac_func=yes"
11246 else
11247   echo "configure: failed program was:" >&5
11248   cat conftest.$ac_ext >&5
11249   rm -rf conftest*
11250   eval "ac_cv_func_$ac_func=no"
11251 fi
11252 rm -f conftest*
11253 fi
11254
11255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11256   echo "$ac_t""yes" 1>&6
11257     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11258   cat >> confdefs.h <<EOF
11259 #define $ac_tr_func 1
11260 EOF
11261  
11262 else
11263   echo "$ac_t""no" 1>&6
11264 fi
11265 done
11266     
11267   fi
11268
11269   
11270   echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11271 echo "configure:11272: checking for _sincos declaration" >&5
11272   if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11273   echo $ac_n "(cached) $ac_c" 1>&6
11274 else
11275   
11276     
11277     ac_ext=C
11278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11279 ac_cpp='$CXXCPP $CPPFLAGS'
11280 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11281 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11282 cross_compiling=$ac_cv_prog_cxx_cross
11283
11284     cat > conftest.$ac_ext <<EOF
11285 #line 11286 "configure"
11286 #include "confdefs.h"
11287 #include <math.h>
11288 int main() {
11289  _sincos(0, 0, 0);
11290 ; return 0; }
11291 EOF
11292 if { (eval echo configure:11293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11293   rm -rf conftest*
11294   glibcpp_cv_func__sincos_use=yes
11295 else
11296   echo "configure: failed program was:" >&5
11297   cat conftest.$ac_ext >&5
11298   rm -rf conftest*
11299   glibcpp_cv_func__sincos_use=no
11300 fi
11301 rm -f conftest*
11302     ac_ext=c
11303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11304 ac_cpp='$CPP $CPPFLAGS'
11305 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11306 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11307 cross_compiling=$ac_cv_prog_cc_cross
11308
11309   
11310 fi
11311
11312   echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11313   if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11314     for ac_func in _sincos
11315 do
11316 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11317 echo "configure:11318: checking for $ac_func" >&5
11318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11319   echo $ac_n "(cached) $ac_c" 1>&6
11320 else
11321   cat > conftest.$ac_ext <<EOF
11322 #line 11323 "configure"
11323 #include "confdefs.h"
11324 /* System header to define __stub macros and hopefully few prototypes,
11325     which can conflict with char $ac_func(); below.  */
11326 #include <assert.h>
11327 /* Override any gcc2 internal prototype to avoid an error.  */
11328 /* We use char because int might match the return type of a gcc2
11329     builtin and then its argument prototype would still apply.  */
11330 char $ac_func();
11331
11332 int main() {
11333
11334 /* The GNU C library defines this for functions which it implements
11335     to always fail with ENOSYS.  Some functions are actually named
11336     something starting with __ and the normal name is an alias.  */
11337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11338 choke me
11339 #else
11340 $ac_func();
11341 #endif
11342
11343 ; return 0; }
11344 EOF
11345 if { (eval echo configure:11346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11346   rm -rf conftest*
11347   eval "ac_cv_func_$ac_func=yes"
11348 else
11349   echo "configure: failed program was:" >&5
11350   cat conftest.$ac_ext >&5
11351   rm -rf conftest*
11352   eval "ac_cv_func_$ac_func=no"
11353 fi
11354 rm -f conftest*
11355 fi
11356
11357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11358   echo "$ac_t""yes" 1>&6
11359     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11360   cat >> confdefs.h <<EOF
11361 #define $ac_tr_func 1
11362 EOF
11363  
11364 else
11365   echo "$ac_t""no" 1>&6
11366 fi
11367 done
11368     
11369   fi
11370
11371   
11372   echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11373 echo "configure:11374: checking for _fpclass declaration" >&5
11374   if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11375   echo $ac_n "(cached) $ac_c" 1>&6
11376 else
11377   
11378     
11379     ac_ext=C
11380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11381 ac_cpp='$CXXCPP $CPPFLAGS'
11382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11384 cross_compiling=$ac_cv_prog_cxx_cross
11385
11386     cat > conftest.$ac_ext <<EOF
11387 #line 11388 "configure"
11388 #include "confdefs.h"
11389 #include <math.h>
11390 int main() {
11391  _fpclass(0);
11392 ; return 0; }
11393 EOF
11394 if { (eval echo configure:11395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11395   rm -rf conftest*
11396   glibcpp_cv_func__fpclass_use=yes
11397 else
11398   echo "configure: failed program was:" >&5
11399   cat conftest.$ac_ext >&5
11400   rm -rf conftest*
11401   glibcpp_cv_func__fpclass_use=no
11402 fi
11403 rm -f conftest*
11404     ac_ext=c
11405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11406 ac_cpp='$CPP $CPPFLAGS'
11407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11409 cross_compiling=$ac_cv_prog_cc_cross
11410
11411   
11412 fi
11413
11414   echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11415   if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11416     for ac_func in _fpclass
11417 do
11418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11419 echo "configure:11420: checking for $ac_func" >&5
11420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11421   echo $ac_n "(cached) $ac_c" 1>&6
11422 else
11423   cat > conftest.$ac_ext <<EOF
11424 #line 11425 "configure"
11425 #include "confdefs.h"
11426 /* System header to define __stub macros and hopefully few prototypes,
11427     which can conflict with char $ac_func(); below.  */
11428 #include <assert.h>
11429 /* Override any gcc2 internal prototype to avoid an error.  */
11430 /* We use char because int might match the return type of a gcc2
11431     builtin and then its argument prototype would still apply.  */
11432 char $ac_func();
11433
11434 int main() {
11435
11436 /* The GNU C library defines this for functions which it implements
11437     to always fail with ENOSYS.  Some functions are actually named
11438     something starting with __ and the normal name is an alias.  */
11439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11440 choke me
11441 #else
11442 $ac_func();
11443 #endif
11444
11445 ; return 0; }
11446 EOF
11447 if { (eval echo configure:11448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11448   rm -rf conftest*
11449   eval "ac_cv_func_$ac_func=yes"
11450 else
11451   echo "configure: failed program was:" >&5
11452   cat conftest.$ac_ext >&5
11453   rm -rf conftest*
11454   eval "ac_cv_func_$ac_func=no"
11455 fi
11456 rm -f conftest*
11457 fi
11458
11459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11460   echo "$ac_t""yes" 1>&6
11461     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11462   cat >> confdefs.h <<EOF
11463 #define $ac_tr_func 1
11464 EOF
11465  
11466 else
11467   echo "$ac_t""no" 1>&6
11468 fi
11469 done
11470     
11471   fi
11472
11473   
11474   echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11475 echo "configure:11476: checking for _qfpclass declaration" >&5
11476   if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11477   echo $ac_n "(cached) $ac_c" 1>&6
11478 else
11479   
11480     
11481     ac_ext=C
11482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11483 ac_cpp='$CXXCPP $CPPFLAGS'
11484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11486 cross_compiling=$ac_cv_prog_cxx_cross
11487
11488     cat > conftest.$ac_ext <<EOF
11489 #line 11490 "configure"
11490 #include "confdefs.h"
11491 #include <math.h>
11492 int main() {
11493  _qfpclass(0);
11494 ; return 0; }
11495 EOF
11496 if { (eval echo configure:11497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11497   rm -rf conftest*
11498   glibcpp_cv_func__qfpclass_use=yes
11499 else
11500   echo "configure: failed program was:" >&5
11501   cat conftest.$ac_ext >&5
11502   rm -rf conftest*
11503   glibcpp_cv_func__qfpclass_use=no
11504 fi
11505 rm -f conftest*
11506     ac_ext=c
11507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11508 ac_cpp='$CPP $CPPFLAGS'
11509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11511 cross_compiling=$ac_cv_prog_cc_cross
11512
11513   
11514 fi
11515
11516   echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11517   if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11518     for ac_func in _qfpclass
11519 do
11520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11521 echo "configure:11522: checking for $ac_func" >&5
11522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11523   echo $ac_n "(cached) $ac_c" 1>&6
11524 else
11525   cat > conftest.$ac_ext <<EOF
11526 #line 11527 "configure"
11527 #include "confdefs.h"
11528 /* System header to define __stub macros and hopefully few prototypes,
11529     which can conflict with char $ac_func(); below.  */
11530 #include <assert.h>
11531 /* Override any gcc2 internal prototype to avoid an error.  */
11532 /* We use char because int might match the return type of a gcc2
11533     builtin and then its argument prototype would still apply.  */
11534 char $ac_func();
11535
11536 int main() {
11537
11538 /* The GNU C library defines this for functions which it implements
11539     to always fail with ENOSYS.  Some functions are actually named
11540     something starting with __ and the normal name is an alias.  */
11541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11542 choke me
11543 #else
11544 $ac_func();
11545 #endif
11546
11547 ; return 0; }
11548 EOF
11549 if { (eval echo configure:11550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11550   rm -rf conftest*
11551   eval "ac_cv_func_$ac_func=yes"
11552 else
11553   echo "configure: failed program was:" >&5
11554   cat conftest.$ac_ext >&5
11555   rm -rf conftest*
11556   eval "ac_cv_func_$ac_func=no"
11557 fi
11558 rm -f conftest*
11559 fi
11560
11561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11562   echo "$ac_t""yes" 1>&6
11563     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11564   cat >> confdefs.h <<EOF
11565 #define $ac_tr_func 1
11566 EOF
11567  
11568 else
11569   echo "$ac_t""no" 1>&6
11570 fi
11571 done
11572     
11573   fi
11574
11575
11576     
11577   echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11578 echo "configure:11579: checking for _isnanf declaration" >&5
11579   if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11580   echo $ac_n "(cached) $ac_c" 1>&6
11581 else
11582   
11583     
11584     ac_ext=C
11585 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11586 ac_cpp='$CXXCPP $CPPFLAGS'
11587 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11588 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11589 cross_compiling=$ac_cv_prog_cxx_cross
11590
11591     cat > conftest.$ac_ext <<EOF
11592 #line 11593 "configure"
11593 #include "confdefs.h"
11594 #include <math.h>
11595 int main() {
11596  _isnanf(0);
11597 ; return 0; }
11598 EOF
11599 if { (eval echo configure:11600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11600   rm -rf conftest*
11601   glibcpp_cv_func__isnanf_use=yes
11602 else
11603   echo "configure: failed program was:" >&5
11604   cat conftest.$ac_ext >&5
11605   rm -rf conftest*
11606   glibcpp_cv_func__isnanf_use=no
11607 fi
11608 rm -f conftest*
11609     ac_ext=c
11610 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11611 ac_cpp='$CPP $CPPFLAGS'
11612 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11613 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11614 cross_compiling=$ac_cv_prog_cc_cross
11615
11616   
11617 fi
11618
11619   echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11620   if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11621     for ac_func in _isnanf
11622 do
11623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11624 echo "configure:11625: checking for $ac_func" >&5
11625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11626   echo $ac_n "(cached) $ac_c" 1>&6
11627 else
11628   cat > conftest.$ac_ext <<EOF
11629 #line 11630 "configure"
11630 #include "confdefs.h"
11631 /* System header to define __stub macros and hopefully few prototypes,
11632     which can conflict with char $ac_func(); below.  */
11633 #include <assert.h>
11634 /* Override any gcc2 internal prototype to avoid an error.  */
11635 /* We use char because int might match the return type of a gcc2
11636     builtin and then its argument prototype would still apply.  */
11637 char $ac_func();
11638
11639 int main() {
11640
11641 /* The GNU C library defines this for functions which it implements
11642     to always fail with ENOSYS.  Some functions are actually named
11643     something starting with __ and the normal name is an alias.  */
11644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11645 choke me
11646 #else
11647 $ac_func();
11648 #endif
11649
11650 ; return 0; }
11651 EOF
11652 if { (eval echo configure:11653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11653   rm -rf conftest*
11654   eval "ac_cv_func_$ac_func=yes"
11655 else
11656   echo "configure: failed program was:" >&5
11657   cat conftest.$ac_ext >&5
11658   rm -rf conftest*
11659   eval "ac_cv_func_$ac_func=no"
11660 fi
11661 rm -f conftest*
11662 fi
11663
11664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11665   echo "$ac_t""yes" 1>&6
11666     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11667   cat >> confdefs.h <<EOF
11668 #define $ac_tr_func 1
11669 EOF
11670  
11671 else
11672   echo "$ac_t""no" 1>&6
11673 fi
11674 done
11675     
11676   fi
11677
11678   
11679   echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11680 echo "configure:11681: checking for _isinff declaration" >&5
11681   if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11682   echo $ac_n "(cached) $ac_c" 1>&6
11683 else
11684   
11685     
11686     ac_ext=C
11687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11688 ac_cpp='$CXXCPP $CPPFLAGS'
11689 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11690 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11691 cross_compiling=$ac_cv_prog_cxx_cross
11692
11693     cat > conftest.$ac_ext <<EOF
11694 #line 11695 "configure"
11695 #include "confdefs.h"
11696 #include <math.h>
11697 int main() {
11698  _isinff(0);
11699 ; return 0; }
11700 EOF
11701 if { (eval echo configure:11702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11702   rm -rf conftest*
11703   glibcpp_cv_func__isinff_use=yes
11704 else
11705   echo "configure: failed program was:" >&5
11706   cat conftest.$ac_ext >&5
11707   rm -rf conftest*
11708   glibcpp_cv_func__isinff_use=no
11709 fi
11710 rm -f conftest*
11711     ac_ext=c
11712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11713 ac_cpp='$CPP $CPPFLAGS'
11714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11716 cross_compiling=$ac_cv_prog_cc_cross
11717
11718   
11719 fi
11720
11721   echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11722   if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11723     for ac_func in _isinff
11724 do
11725 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11726 echo "configure:11727: checking for $ac_func" >&5
11727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11728   echo $ac_n "(cached) $ac_c" 1>&6
11729 else
11730   cat > conftest.$ac_ext <<EOF
11731 #line 11732 "configure"
11732 #include "confdefs.h"
11733 /* System header to define __stub macros and hopefully few prototypes,
11734     which can conflict with char $ac_func(); below.  */
11735 #include <assert.h>
11736 /* Override any gcc2 internal prototype to avoid an error.  */
11737 /* We use char because int might match the return type of a gcc2
11738     builtin and then its argument prototype would still apply.  */
11739 char $ac_func();
11740
11741 int main() {
11742
11743 /* The GNU C library defines this for functions which it implements
11744     to always fail with ENOSYS.  Some functions are actually named
11745     something starting with __ and the normal name is an alias.  */
11746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11747 choke me
11748 #else
11749 $ac_func();
11750 #endif
11751
11752 ; return 0; }
11753 EOF
11754 if { (eval echo configure:11755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11755   rm -rf conftest*
11756   eval "ac_cv_func_$ac_func=yes"
11757 else
11758   echo "configure: failed program was:" >&5
11759   cat conftest.$ac_ext >&5
11760   rm -rf conftest*
11761   eval "ac_cv_func_$ac_func=no"
11762 fi
11763 rm -f conftest*
11764 fi
11765
11766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11767   echo "$ac_t""yes" 1>&6
11768     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11769   cat >> confdefs.h <<EOF
11770 #define $ac_tr_func 1
11771 EOF
11772  
11773 else
11774   echo "$ac_t""no" 1>&6
11775 fi
11776 done
11777     
11778   fi
11779
11780   
11781   echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
11782 echo "configure:11783: checking for _acosf declaration" >&5
11783   if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
11784   echo $ac_n "(cached) $ac_c" 1>&6
11785 else
11786   
11787     
11788     ac_ext=C
11789 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11790 ac_cpp='$CXXCPP $CPPFLAGS'
11791 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11792 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11793 cross_compiling=$ac_cv_prog_cxx_cross
11794
11795     cat > conftest.$ac_ext <<EOF
11796 #line 11797 "configure"
11797 #include "confdefs.h"
11798 #include <math.h>
11799 int main() {
11800  _acosf(0);
11801 ; return 0; }
11802 EOF
11803 if { (eval echo configure:11804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11804   rm -rf conftest*
11805   glibcpp_cv_func__acosf_use=yes
11806 else
11807   echo "configure: failed program was:" >&5
11808   cat conftest.$ac_ext >&5
11809   rm -rf conftest*
11810   glibcpp_cv_func__acosf_use=no
11811 fi
11812 rm -f conftest*
11813     ac_ext=c
11814 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11815 ac_cpp='$CPP $CPPFLAGS'
11816 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11817 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11818 cross_compiling=$ac_cv_prog_cc_cross
11819
11820   
11821 fi
11822
11823   echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
11824   if test x$glibcpp_cv_func__acosf_use = x"yes"; then
11825     for ac_func in _acosf
11826 do
11827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11828 echo "configure:11829: checking for $ac_func" >&5
11829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11830   echo $ac_n "(cached) $ac_c" 1>&6
11831 else
11832   cat > conftest.$ac_ext <<EOF
11833 #line 11834 "configure"
11834 #include "confdefs.h"
11835 /* System header to define __stub macros and hopefully few prototypes,
11836     which can conflict with char $ac_func(); below.  */
11837 #include <assert.h>
11838 /* Override any gcc2 internal prototype to avoid an error.  */
11839 /* We use char because int might match the return type of a gcc2
11840     builtin and then its argument prototype would still apply.  */
11841 char $ac_func();
11842
11843 int main() {
11844
11845 /* The GNU C library defines this for functions which it implements
11846     to always fail with ENOSYS.  Some functions are actually named
11847     something starting with __ and the normal name is an alias.  */
11848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11849 choke me
11850 #else
11851 $ac_func();
11852 #endif
11853
11854 ; return 0; }
11855 EOF
11856 if { (eval echo configure:11857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11857   rm -rf conftest*
11858   eval "ac_cv_func_$ac_func=yes"
11859 else
11860   echo "configure: failed program was:" >&5
11861   cat conftest.$ac_ext >&5
11862   rm -rf conftest*
11863   eval "ac_cv_func_$ac_func=no"
11864 fi
11865 rm -f conftest*
11866 fi
11867
11868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11869   echo "$ac_t""yes" 1>&6
11870     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11871   cat >> confdefs.h <<EOF
11872 #define $ac_tr_func 1
11873 EOF
11874  
11875 else
11876   echo "$ac_t""no" 1>&6
11877 fi
11878 done
11879     
11880   fi
11881
11882   
11883   echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
11884 echo "configure:11885: checking for _asinf declaration" >&5
11885   if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
11886   echo $ac_n "(cached) $ac_c" 1>&6
11887 else
11888   
11889     
11890     ac_ext=C
11891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11892 ac_cpp='$CXXCPP $CPPFLAGS'
11893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11895 cross_compiling=$ac_cv_prog_cxx_cross
11896
11897     cat > conftest.$ac_ext <<EOF
11898 #line 11899 "configure"
11899 #include "confdefs.h"
11900 #include <math.h>
11901 int main() {
11902  _asinf(0);
11903 ; return 0; }
11904 EOF
11905 if { (eval echo configure:11906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11906   rm -rf conftest*
11907   glibcpp_cv_func__asinf_use=yes
11908 else
11909   echo "configure: failed program was:" >&5
11910   cat conftest.$ac_ext >&5
11911   rm -rf conftest*
11912   glibcpp_cv_func__asinf_use=no
11913 fi
11914 rm -f conftest*
11915     ac_ext=c
11916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11917 ac_cpp='$CPP $CPPFLAGS'
11918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11920 cross_compiling=$ac_cv_prog_cc_cross
11921
11922   
11923 fi
11924
11925   echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
11926   if test x$glibcpp_cv_func__asinf_use = x"yes"; then
11927     for ac_func in _asinf
11928 do
11929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11930 echo "configure:11931: checking for $ac_func" >&5
11931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11932   echo $ac_n "(cached) $ac_c" 1>&6
11933 else
11934   cat > conftest.$ac_ext <<EOF
11935 #line 11936 "configure"
11936 #include "confdefs.h"
11937 /* System header to define __stub macros and hopefully few prototypes,
11938     which can conflict with char $ac_func(); below.  */
11939 #include <assert.h>
11940 /* Override any gcc2 internal prototype to avoid an error.  */
11941 /* We use char because int might match the return type of a gcc2
11942     builtin and then its argument prototype would still apply.  */
11943 char $ac_func();
11944
11945 int main() {
11946
11947 /* The GNU C library defines this for functions which it implements
11948     to always fail with ENOSYS.  Some functions are actually named
11949     something starting with __ and the normal name is an alias.  */
11950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11951 choke me
11952 #else
11953 $ac_func();
11954 #endif
11955
11956 ; return 0; }
11957 EOF
11958 if { (eval echo configure:11959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11959   rm -rf conftest*
11960   eval "ac_cv_func_$ac_func=yes"
11961 else
11962   echo "configure: failed program was:" >&5
11963   cat conftest.$ac_ext >&5
11964   rm -rf conftest*
11965   eval "ac_cv_func_$ac_func=no"
11966 fi
11967 rm -f conftest*
11968 fi
11969
11970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11971   echo "$ac_t""yes" 1>&6
11972     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11973   cat >> confdefs.h <<EOF
11974 #define $ac_tr_func 1
11975 EOF
11976  
11977 else
11978   echo "$ac_t""no" 1>&6
11979 fi
11980 done
11981     
11982   fi
11983
11984   
11985   echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
11986 echo "configure:11987: checking for _atanf declaration" >&5
11987   if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
11988   echo $ac_n "(cached) $ac_c" 1>&6
11989 else
11990   
11991     
11992     ac_ext=C
11993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11994 ac_cpp='$CXXCPP $CPPFLAGS'
11995 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11996 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11997 cross_compiling=$ac_cv_prog_cxx_cross
11998
11999     cat > conftest.$ac_ext <<EOF
12000 #line 12001 "configure"
12001 #include "confdefs.h"
12002 #include <math.h>
12003 int main() {
12004  _atanf(0);
12005 ; return 0; }
12006 EOF
12007 if { (eval echo configure:12008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12008   rm -rf conftest*
12009   glibcpp_cv_func__atanf_use=yes
12010 else
12011   echo "configure: failed program was:" >&5
12012   cat conftest.$ac_ext >&5
12013   rm -rf conftest*
12014   glibcpp_cv_func__atanf_use=no
12015 fi
12016 rm -f conftest*
12017     ac_ext=c
12018 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12019 ac_cpp='$CPP $CPPFLAGS'
12020 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12021 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12022 cross_compiling=$ac_cv_prog_cc_cross
12023
12024   
12025 fi
12026
12027   echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12028   if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12029     for ac_func in _atanf
12030 do
12031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12032 echo "configure:12033: checking for $ac_func" >&5
12033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12034   echo $ac_n "(cached) $ac_c" 1>&6
12035 else
12036   cat > conftest.$ac_ext <<EOF
12037 #line 12038 "configure"
12038 #include "confdefs.h"
12039 /* System header to define __stub macros and hopefully few prototypes,
12040     which can conflict with char $ac_func(); below.  */
12041 #include <assert.h>
12042 /* Override any gcc2 internal prototype to avoid an error.  */
12043 /* We use char because int might match the return type of a gcc2
12044     builtin and then its argument prototype would still apply.  */
12045 char $ac_func();
12046
12047 int main() {
12048
12049 /* The GNU C library defines this for functions which it implements
12050     to always fail with ENOSYS.  Some functions are actually named
12051     something starting with __ and the normal name is an alias.  */
12052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12053 choke me
12054 #else
12055 $ac_func();
12056 #endif
12057
12058 ; return 0; }
12059 EOF
12060 if { (eval echo configure:12061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12061   rm -rf conftest*
12062   eval "ac_cv_func_$ac_func=yes"
12063 else
12064   echo "configure: failed program was:" >&5
12065   cat conftest.$ac_ext >&5
12066   rm -rf conftest*
12067   eval "ac_cv_func_$ac_func=no"
12068 fi
12069 rm -f conftest*
12070 fi
12071
12072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12073   echo "$ac_t""yes" 1>&6
12074     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12075   cat >> confdefs.h <<EOF
12076 #define $ac_tr_func 1
12077 EOF
12078  
12079 else
12080   echo "$ac_t""no" 1>&6
12081 fi
12082 done
12083     
12084   fi
12085
12086   
12087   echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12088 echo "configure:12089: checking for _atan2f declaration" >&5
12089   if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12090   echo $ac_n "(cached) $ac_c" 1>&6
12091 else
12092   
12093     
12094     ac_ext=C
12095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12096 ac_cpp='$CXXCPP $CPPFLAGS'
12097 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12098 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12099 cross_compiling=$ac_cv_prog_cxx_cross
12100
12101     cat > conftest.$ac_ext <<EOF
12102 #line 12103 "configure"
12103 #include "confdefs.h"
12104 #include <math.h>
12105 int main() {
12106  _atan2f(0, 0);
12107 ; return 0; }
12108 EOF
12109 if { (eval echo configure:12110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12110   rm -rf conftest*
12111   glibcpp_cv_func__atan2f_use=yes
12112 else
12113   echo "configure: failed program was:" >&5
12114   cat conftest.$ac_ext >&5
12115   rm -rf conftest*
12116   glibcpp_cv_func__atan2f_use=no
12117 fi
12118 rm -f conftest*
12119     ac_ext=c
12120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12121 ac_cpp='$CPP $CPPFLAGS'
12122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12124 cross_compiling=$ac_cv_prog_cc_cross
12125
12126   
12127 fi
12128
12129   echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12130   if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12131     for ac_func in _atan2f
12132 do
12133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12134 echo "configure:12135: checking for $ac_func" >&5
12135 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12136   echo $ac_n "(cached) $ac_c" 1>&6
12137 else
12138   cat > conftest.$ac_ext <<EOF
12139 #line 12140 "configure"
12140 #include "confdefs.h"
12141 /* System header to define __stub macros and hopefully few prototypes,
12142     which can conflict with char $ac_func(); below.  */
12143 #include <assert.h>
12144 /* Override any gcc2 internal prototype to avoid an error.  */
12145 /* We use char because int might match the return type of a gcc2
12146     builtin and then its argument prototype would still apply.  */
12147 char $ac_func();
12148
12149 int main() {
12150
12151 /* The GNU C library defines this for functions which it implements
12152     to always fail with ENOSYS.  Some functions are actually named
12153     something starting with __ and the normal name is an alias.  */
12154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12155 choke me
12156 #else
12157 $ac_func();
12158 #endif
12159
12160 ; return 0; }
12161 EOF
12162 if { (eval echo configure:12163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12163   rm -rf conftest*
12164   eval "ac_cv_func_$ac_func=yes"
12165 else
12166   echo "configure: failed program was:" >&5
12167   cat conftest.$ac_ext >&5
12168   rm -rf conftest*
12169   eval "ac_cv_func_$ac_func=no"
12170 fi
12171 rm -f conftest*
12172 fi
12173
12174 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12175   echo "$ac_t""yes" 1>&6
12176     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12177   cat >> confdefs.h <<EOF
12178 #define $ac_tr_func 1
12179 EOF
12180  
12181 else
12182   echo "$ac_t""no" 1>&6
12183 fi
12184 done
12185     
12186   fi
12187
12188   
12189   echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12190 echo "configure:12191: checking for _ceilf declaration" >&5
12191   if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12192   echo $ac_n "(cached) $ac_c" 1>&6
12193 else
12194   
12195     
12196     ac_ext=C
12197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12198 ac_cpp='$CXXCPP $CPPFLAGS'
12199 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12200 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12201 cross_compiling=$ac_cv_prog_cxx_cross
12202
12203     cat > conftest.$ac_ext <<EOF
12204 #line 12205 "configure"
12205 #include "confdefs.h"
12206 #include <math.h>
12207 int main() {
12208  _ceilf(0);
12209 ; return 0; }
12210 EOF
12211 if { (eval echo configure:12212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12212   rm -rf conftest*
12213   glibcpp_cv_func__ceilf_use=yes
12214 else
12215   echo "configure: failed program was:" >&5
12216   cat conftest.$ac_ext >&5
12217   rm -rf conftest*
12218   glibcpp_cv_func__ceilf_use=no
12219 fi
12220 rm -f conftest*
12221     ac_ext=c
12222 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12223 ac_cpp='$CPP $CPPFLAGS'
12224 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12225 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12226 cross_compiling=$ac_cv_prog_cc_cross
12227
12228   
12229 fi
12230
12231   echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12232   if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12233     for ac_func in _ceilf
12234 do
12235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12236 echo "configure:12237: checking for $ac_func" >&5
12237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12238   echo $ac_n "(cached) $ac_c" 1>&6
12239 else
12240   cat > conftest.$ac_ext <<EOF
12241 #line 12242 "configure"
12242 #include "confdefs.h"
12243 /* System header to define __stub macros and hopefully few prototypes,
12244     which can conflict with char $ac_func(); below.  */
12245 #include <assert.h>
12246 /* Override any gcc2 internal prototype to avoid an error.  */
12247 /* We use char because int might match the return type of a gcc2
12248     builtin and then its argument prototype would still apply.  */
12249 char $ac_func();
12250
12251 int main() {
12252
12253 /* The GNU C library defines this for functions which it implements
12254     to always fail with ENOSYS.  Some functions are actually named
12255     something starting with __ and the normal name is an alias.  */
12256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12257 choke me
12258 #else
12259 $ac_func();
12260 #endif
12261
12262 ; return 0; }
12263 EOF
12264 if { (eval echo configure:12265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12265   rm -rf conftest*
12266   eval "ac_cv_func_$ac_func=yes"
12267 else
12268   echo "configure: failed program was:" >&5
12269   cat conftest.$ac_ext >&5
12270   rm -rf conftest*
12271   eval "ac_cv_func_$ac_func=no"
12272 fi
12273 rm -f conftest*
12274 fi
12275
12276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12277   echo "$ac_t""yes" 1>&6
12278     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12279   cat >> confdefs.h <<EOF
12280 #define $ac_tr_func 1
12281 EOF
12282  
12283 else
12284   echo "$ac_t""no" 1>&6
12285 fi
12286 done
12287     
12288   fi
12289
12290   
12291   echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12292 echo "configure:12293: checking for _cosf declaration" >&5
12293   if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12294   echo $ac_n "(cached) $ac_c" 1>&6
12295 else
12296   
12297     
12298     ac_ext=C
12299 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12300 ac_cpp='$CXXCPP $CPPFLAGS'
12301 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12302 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12303 cross_compiling=$ac_cv_prog_cxx_cross
12304
12305     cat > conftest.$ac_ext <<EOF
12306 #line 12307 "configure"
12307 #include "confdefs.h"
12308 #include <math.h>
12309 int main() {
12310  _cosf(0);
12311 ; return 0; }
12312 EOF
12313 if { (eval echo configure:12314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12314   rm -rf conftest*
12315   glibcpp_cv_func__cosf_use=yes
12316 else
12317   echo "configure: failed program was:" >&5
12318   cat conftest.$ac_ext >&5
12319   rm -rf conftest*
12320   glibcpp_cv_func__cosf_use=no
12321 fi
12322 rm -f conftest*
12323     ac_ext=c
12324 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12325 ac_cpp='$CPP $CPPFLAGS'
12326 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12327 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12328 cross_compiling=$ac_cv_prog_cc_cross
12329
12330   
12331 fi
12332
12333   echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12334   if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12335     for ac_func in _cosf
12336 do
12337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12338 echo "configure:12339: checking for $ac_func" >&5
12339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12340   echo $ac_n "(cached) $ac_c" 1>&6
12341 else
12342   cat > conftest.$ac_ext <<EOF
12343 #line 12344 "configure"
12344 #include "confdefs.h"
12345 /* System header to define __stub macros and hopefully few prototypes,
12346     which can conflict with char $ac_func(); below.  */
12347 #include <assert.h>
12348 /* Override any gcc2 internal prototype to avoid an error.  */
12349 /* We use char because int might match the return type of a gcc2
12350     builtin and then its argument prototype would still apply.  */
12351 char $ac_func();
12352
12353 int main() {
12354
12355 /* The GNU C library defines this for functions which it implements
12356     to always fail with ENOSYS.  Some functions are actually named
12357     something starting with __ and the normal name is an alias.  */
12358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12359 choke me
12360 #else
12361 $ac_func();
12362 #endif
12363
12364 ; return 0; }
12365 EOF
12366 if { (eval echo configure:12367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12367   rm -rf conftest*
12368   eval "ac_cv_func_$ac_func=yes"
12369 else
12370   echo "configure: failed program was:" >&5
12371   cat conftest.$ac_ext >&5
12372   rm -rf conftest*
12373   eval "ac_cv_func_$ac_func=no"
12374 fi
12375 rm -f conftest*
12376 fi
12377
12378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12379   echo "$ac_t""yes" 1>&6
12380     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12381   cat >> confdefs.h <<EOF
12382 #define $ac_tr_func 1
12383 EOF
12384  
12385 else
12386   echo "$ac_t""no" 1>&6
12387 fi
12388 done
12389     
12390   fi
12391
12392   
12393   echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12394 echo "configure:12395: checking for _coshf declaration" >&5
12395   if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12396   echo $ac_n "(cached) $ac_c" 1>&6
12397 else
12398   
12399     
12400     ac_ext=C
12401 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12402 ac_cpp='$CXXCPP $CPPFLAGS'
12403 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12404 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12405 cross_compiling=$ac_cv_prog_cxx_cross
12406
12407     cat > conftest.$ac_ext <<EOF
12408 #line 12409 "configure"
12409 #include "confdefs.h"
12410 #include <math.h>
12411 int main() {
12412  _coshf(0);
12413 ; return 0; }
12414 EOF
12415 if { (eval echo configure:12416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12416   rm -rf conftest*
12417   glibcpp_cv_func__coshf_use=yes
12418 else
12419   echo "configure: failed program was:" >&5
12420   cat conftest.$ac_ext >&5
12421   rm -rf conftest*
12422   glibcpp_cv_func__coshf_use=no
12423 fi
12424 rm -f conftest*
12425     ac_ext=c
12426 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12427 ac_cpp='$CPP $CPPFLAGS'
12428 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12429 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12430 cross_compiling=$ac_cv_prog_cc_cross
12431
12432   
12433 fi
12434
12435   echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12436   if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12437     for ac_func in _coshf
12438 do
12439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12440 echo "configure:12441: checking for $ac_func" >&5
12441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12442   echo $ac_n "(cached) $ac_c" 1>&6
12443 else
12444   cat > conftest.$ac_ext <<EOF
12445 #line 12446 "configure"
12446 #include "confdefs.h"
12447 /* System header to define __stub macros and hopefully few prototypes,
12448     which can conflict with char $ac_func(); below.  */
12449 #include <assert.h>
12450 /* Override any gcc2 internal prototype to avoid an error.  */
12451 /* We use char because int might match the return type of a gcc2
12452     builtin and then its argument prototype would still apply.  */
12453 char $ac_func();
12454
12455 int main() {
12456
12457 /* The GNU C library defines this for functions which it implements
12458     to always fail with ENOSYS.  Some functions are actually named
12459     something starting with __ and the normal name is an alias.  */
12460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12461 choke me
12462 #else
12463 $ac_func();
12464 #endif
12465
12466 ; return 0; }
12467 EOF
12468 if { (eval echo configure:12469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12469   rm -rf conftest*
12470   eval "ac_cv_func_$ac_func=yes"
12471 else
12472   echo "configure: failed program was:" >&5
12473   cat conftest.$ac_ext >&5
12474   rm -rf conftest*
12475   eval "ac_cv_func_$ac_func=no"
12476 fi
12477 rm -f conftest*
12478 fi
12479
12480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12481   echo "$ac_t""yes" 1>&6
12482     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12483   cat >> confdefs.h <<EOF
12484 #define $ac_tr_func 1
12485 EOF
12486  
12487 else
12488   echo "$ac_t""no" 1>&6
12489 fi
12490 done
12491     
12492   fi
12493
12494   
12495   echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12496 echo "configure:12497: checking for _expf declaration" >&5
12497   if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12498   echo $ac_n "(cached) $ac_c" 1>&6
12499 else
12500   
12501     
12502     ac_ext=C
12503 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12504 ac_cpp='$CXXCPP $CPPFLAGS'
12505 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12506 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12507 cross_compiling=$ac_cv_prog_cxx_cross
12508
12509     cat > conftest.$ac_ext <<EOF
12510 #line 12511 "configure"
12511 #include "confdefs.h"
12512 #include <math.h>
12513 int main() {
12514  _expf(0);
12515 ; return 0; }
12516 EOF
12517 if { (eval echo configure:12518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12518   rm -rf conftest*
12519   glibcpp_cv_func__expf_use=yes
12520 else
12521   echo "configure: failed program was:" >&5
12522   cat conftest.$ac_ext >&5
12523   rm -rf conftest*
12524   glibcpp_cv_func__expf_use=no
12525 fi
12526 rm -f conftest*
12527     ac_ext=c
12528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12529 ac_cpp='$CPP $CPPFLAGS'
12530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12531 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12532 cross_compiling=$ac_cv_prog_cc_cross
12533
12534   
12535 fi
12536
12537   echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12538   if test x$glibcpp_cv_func__expf_use = x"yes"; then
12539     for ac_func in _expf
12540 do
12541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12542 echo "configure:12543: checking for $ac_func" >&5
12543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12544   echo $ac_n "(cached) $ac_c" 1>&6
12545 else
12546   cat > conftest.$ac_ext <<EOF
12547 #line 12548 "configure"
12548 #include "confdefs.h"
12549 /* System header to define __stub macros and hopefully few prototypes,
12550     which can conflict with char $ac_func(); below.  */
12551 #include <assert.h>
12552 /* Override any gcc2 internal prototype to avoid an error.  */
12553 /* We use char because int might match the return type of a gcc2
12554     builtin and then its argument prototype would still apply.  */
12555 char $ac_func();
12556
12557 int main() {
12558
12559 /* The GNU C library defines this for functions which it implements
12560     to always fail with ENOSYS.  Some functions are actually named
12561     something starting with __ and the normal name is an alias.  */
12562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12563 choke me
12564 #else
12565 $ac_func();
12566 #endif
12567
12568 ; return 0; }
12569 EOF
12570 if { (eval echo configure:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12571   rm -rf conftest*
12572   eval "ac_cv_func_$ac_func=yes"
12573 else
12574   echo "configure: failed program was:" >&5
12575   cat conftest.$ac_ext >&5
12576   rm -rf conftest*
12577   eval "ac_cv_func_$ac_func=no"
12578 fi
12579 rm -f conftest*
12580 fi
12581
12582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12583   echo "$ac_t""yes" 1>&6
12584     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12585   cat >> confdefs.h <<EOF
12586 #define $ac_tr_func 1
12587 EOF
12588  
12589 else
12590   echo "$ac_t""no" 1>&6
12591 fi
12592 done
12593     
12594   fi
12595
12596   
12597   echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12598 echo "configure:12599: checking for _fabsf declaration" >&5
12599   if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12600   echo $ac_n "(cached) $ac_c" 1>&6
12601 else
12602   
12603     
12604     ac_ext=C
12605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12606 ac_cpp='$CXXCPP $CPPFLAGS'
12607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12609 cross_compiling=$ac_cv_prog_cxx_cross
12610
12611     cat > conftest.$ac_ext <<EOF
12612 #line 12613 "configure"
12613 #include "confdefs.h"
12614 #include <math.h>
12615 int main() {
12616  _fabsf(0);
12617 ; return 0; }
12618 EOF
12619 if { (eval echo configure:12620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12620   rm -rf conftest*
12621   glibcpp_cv_func__fabsf_use=yes
12622 else
12623   echo "configure: failed program was:" >&5
12624   cat conftest.$ac_ext >&5
12625   rm -rf conftest*
12626   glibcpp_cv_func__fabsf_use=no
12627 fi
12628 rm -f conftest*
12629     ac_ext=c
12630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12631 ac_cpp='$CPP $CPPFLAGS'
12632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12634 cross_compiling=$ac_cv_prog_cc_cross
12635
12636   
12637 fi
12638
12639   echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12640   if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12641     for ac_func in _fabsf
12642 do
12643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12644 echo "configure:12645: checking for $ac_func" >&5
12645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12646   echo $ac_n "(cached) $ac_c" 1>&6
12647 else
12648   cat > conftest.$ac_ext <<EOF
12649 #line 12650 "configure"
12650 #include "confdefs.h"
12651 /* System header to define __stub macros and hopefully few prototypes,
12652     which can conflict with char $ac_func(); below.  */
12653 #include <assert.h>
12654 /* Override any gcc2 internal prototype to avoid an error.  */
12655 /* We use char because int might match the return type of a gcc2
12656     builtin and then its argument prototype would still apply.  */
12657 char $ac_func();
12658
12659 int main() {
12660
12661 /* The GNU C library defines this for functions which it implements
12662     to always fail with ENOSYS.  Some functions are actually named
12663     something starting with __ and the normal name is an alias.  */
12664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12665 choke me
12666 #else
12667 $ac_func();
12668 #endif
12669
12670 ; return 0; }
12671 EOF
12672 if { (eval echo configure:12673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12673   rm -rf conftest*
12674   eval "ac_cv_func_$ac_func=yes"
12675 else
12676   echo "configure: failed program was:" >&5
12677   cat conftest.$ac_ext >&5
12678   rm -rf conftest*
12679   eval "ac_cv_func_$ac_func=no"
12680 fi
12681 rm -f conftest*
12682 fi
12683
12684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12685   echo "$ac_t""yes" 1>&6
12686     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12687   cat >> confdefs.h <<EOF
12688 #define $ac_tr_func 1
12689 EOF
12690  
12691 else
12692   echo "$ac_t""no" 1>&6
12693 fi
12694 done
12695     
12696   fi
12697
12698   
12699   echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12700 echo "configure:12701: checking for _floorf declaration" >&5
12701   if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12702   echo $ac_n "(cached) $ac_c" 1>&6
12703 else
12704   
12705     
12706     ac_ext=C
12707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12708 ac_cpp='$CXXCPP $CPPFLAGS'
12709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12711 cross_compiling=$ac_cv_prog_cxx_cross
12712
12713     cat > conftest.$ac_ext <<EOF
12714 #line 12715 "configure"
12715 #include "confdefs.h"
12716 #include <math.h>
12717 int main() {
12718  _floorf(0);
12719 ; return 0; }
12720 EOF
12721 if { (eval echo configure:12722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12722   rm -rf conftest*
12723   glibcpp_cv_func__floorf_use=yes
12724 else
12725   echo "configure: failed program was:" >&5
12726   cat conftest.$ac_ext >&5
12727   rm -rf conftest*
12728   glibcpp_cv_func__floorf_use=no
12729 fi
12730 rm -f conftest*
12731     ac_ext=c
12732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12733 ac_cpp='$CPP $CPPFLAGS'
12734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12736 cross_compiling=$ac_cv_prog_cc_cross
12737
12738   
12739 fi
12740
12741   echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
12742   if test x$glibcpp_cv_func__floorf_use = x"yes"; then
12743     for ac_func in _floorf
12744 do
12745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12746 echo "configure:12747: checking for $ac_func" >&5
12747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12748   echo $ac_n "(cached) $ac_c" 1>&6
12749 else
12750   cat > conftest.$ac_ext <<EOF
12751 #line 12752 "configure"
12752 #include "confdefs.h"
12753 /* System header to define __stub macros and hopefully few prototypes,
12754     which can conflict with char $ac_func(); below.  */
12755 #include <assert.h>
12756 /* Override any gcc2 internal prototype to avoid an error.  */
12757 /* We use char because int might match the return type of a gcc2
12758     builtin and then its argument prototype would still apply.  */
12759 char $ac_func();
12760
12761 int main() {
12762
12763 /* The GNU C library defines this for functions which it implements
12764     to always fail with ENOSYS.  Some functions are actually named
12765     something starting with __ and the normal name is an alias.  */
12766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12767 choke me
12768 #else
12769 $ac_func();
12770 #endif
12771
12772 ; return 0; }
12773 EOF
12774 if { (eval echo configure:12775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12775   rm -rf conftest*
12776   eval "ac_cv_func_$ac_func=yes"
12777 else
12778   echo "configure: failed program was:" >&5
12779   cat conftest.$ac_ext >&5
12780   rm -rf conftest*
12781   eval "ac_cv_func_$ac_func=no"
12782 fi
12783 rm -f conftest*
12784 fi
12785
12786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12787   echo "$ac_t""yes" 1>&6
12788     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12789   cat >> confdefs.h <<EOF
12790 #define $ac_tr_func 1
12791 EOF
12792  
12793 else
12794   echo "$ac_t""no" 1>&6
12795 fi
12796 done
12797     
12798   fi
12799
12800   
12801   echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12802 echo "configure:12803: checking for _fmodf declaration" >&5
12803   if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12804   echo $ac_n "(cached) $ac_c" 1>&6
12805 else
12806   
12807     
12808     ac_ext=C
12809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12810 ac_cpp='$CXXCPP $CPPFLAGS'
12811 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12812 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12813 cross_compiling=$ac_cv_prog_cxx_cross
12814
12815     cat > conftest.$ac_ext <<EOF
12816 #line 12817 "configure"
12817 #include "confdefs.h"
12818 #include <math.h>
12819 int main() {
12820  _fmodf(0, 0);
12821 ; return 0; }
12822 EOF
12823 if { (eval echo configure:12824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12824   rm -rf conftest*
12825   glibcpp_cv_func__fmodf_use=yes
12826 else
12827   echo "configure: failed program was:" >&5
12828   cat conftest.$ac_ext >&5
12829   rm -rf conftest*
12830   glibcpp_cv_func__fmodf_use=no
12831 fi
12832 rm -f conftest*
12833     ac_ext=c
12834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12835 ac_cpp='$CPP $CPPFLAGS'
12836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12838 cross_compiling=$ac_cv_prog_cc_cross
12839
12840   
12841 fi
12842
12843   echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12844   if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12845     for ac_func in _fmodf
12846 do
12847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12848 echo "configure:12849: checking for $ac_func" >&5
12849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12850   echo $ac_n "(cached) $ac_c" 1>&6
12851 else
12852   cat > conftest.$ac_ext <<EOF
12853 #line 12854 "configure"
12854 #include "confdefs.h"
12855 /* System header to define __stub macros and hopefully few prototypes,
12856     which can conflict with char $ac_func(); below.  */
12857 #include <assert.h>
12858 /* Override any gcc2 internal prototype to avoid an error.  */
12859 /* We use char because int might match the return type of a gcc2
12860     builtin and then its argument prototype would still apply.  */
12861 char $ac_func();
12862
12863 int main() {
12864
12865 /* The GNU C library defines this for functions which it implements
12866     to always fail with ENOSYS.  Some functions are actually named
12867     something starting with __ and the normal name is an alias.  */
12868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12869 choke me
12870 #else
12871 $ac_func();
12872 #endif
12873
12874 ; return 0; }
12875 EOF
12876 if { (eval echo configure:12877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12877   rm -rf conftest*
12878   eval "ac_cv_func_$ac_func=yes"
12879 else
12880   echo "configure: failed program was:" >&5
12881   cat conftest.$ac_ext >&5
12882   rm -rf conftest*
12883   eval "ac_cv_func_$ac_func=no"
12884 fi
12885 rm -f conftest*
12886 fi
12887
12888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12889   echo "$ac_t""yes" 1>&6
12890     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12891   cat >> confdefs.h <<EOF
12892 #define $ac_tr_func 1
12893 EOF
12894  
12895 else
12896   echo "$ac_t""no" 1>&6
12897 fi
12898 done
12899     
12900   fi
12901
12902   
12903   echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
12904 echo "configure:12905: checking for _frexpf declaration" >&5
12905   if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
12906   echo $ac_n "(cached) $ac_c" 1>&6
12907 else
12908   
12909     
12910     ac_ext=C
12911 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12912 ac_cpp='$CXXCPP $CPPFLAGS'
12913 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12914 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12915 cross_compiling=$ac_cv_prog_cxx_cross
12916
12917     cat > conftest.$ac_ext <<EOF
12918 #line 12919 "configure"
12919 #include "confdefs.h"
12920 #include <math.h>
12921 int main() {
12922  _frexpf(0, 0);
12923 ; return 0; }
12924 EOF
12925 if { (eval echo configure:12926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12926   rm -rf conftest*
12927   glibcpp_cv_func__frexpf_use=yes
12928 else
12929   echo "configure: failed program was:" >&5
12930   cat conftest.$ac_ext >&5
12931   rm -rf conftest*
12932   glibcpp_cv_func__frexpf_use=no
12933 fi
12934 rm -f conftest*
12935     ac_ext=c
12936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12937 ac_cpp='$CPP $CPPFLAGS'
12938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12940 cross_compiling=$ac_cv_prog_cc_cross
12941
12942   
12943 fi
12944
12945   echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
12946   if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
12947     for ac_func in _frexpf
12948 do
12949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12950 echo "configure:12951: checking for $ac_func" >&5
12951 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12952   echo $ac_n "(cached) $ac_c" 1>&6
12953 else
12954   cat > conftest.$ac_ext <<EOF
12955 #line 12956 "configure"
12956 #include "confdefs.h"
12957 /* System header to define __stub macros and hopefully few prototypes,
12958     which can conflict with char $ac_func(); below.  */
12959 #include <assert.h>
12960 /* Override any gcc2 internal prototype to avoid an error.  */
12961 /* We use char because int might match the return type of a gcc2
12962     builtin and then its argument prototype would still apply.  */
12963 char $ac_func();
12964
12965 int main() {
12966
12967 /* The GNU C library defines this for functions which it implements
12968     to always fail with ENOSYS.  Some functions are actually named
12969     something starting with __ and the normal name is an alias.  */
12970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12971 choke me
12972 #else
12973 $ac_func();
12974 #endif
12975
12976 ; return 0; }
12977 EOF
12978 if { (eval echo configure:12979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12979   rm -rf conftest*
12980   eval "ac_cv_func_$ac_func=yes"
12981 else
12982   echo "configure: failed program was:" >&5
12983   cat conftest.$ac_ext >&5
12984   rm -rf conftest*
12985   eval "ac_cv_func_$ac_func=no"
12986 fi
12987 rm -f conftest*
12988 fi
12989
12990 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12991   echo "$ac_t""yes" 1>&6
12992     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12993   cat >> confdefs.h <<EOF
12994 #define $ac_tr_func 1
12995 EOF
12996  
12997 else
12998   echo "$ac_t""no" 1>&6
12999 fi
13000 done
13001     
13002   fi
13003
13004   
13005   echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13006 echo "configure:13007: checking for _ldexpf declaration" >&5
13007   if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13008   echo $ac_n "(cached) $ac_c" 1>&6
13009 else
13010   
13011     
13012     ac_ext=C
13013 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13014 ac_cpp='$CXXCPP $CPPFLAGS'
13015 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13016 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13017 cross_compiling=$ac_cv_prog_cxx_cross
13018
13019     cat > conftest.$ac_ext <<EOF
13020 #line 13021 "configure"
13021 #include "confdefs.h"
13022 #include <math.h>
13023 int main() {
13024  _ldexpf(0, 0);
13025 ; return 0; }
13026 EOF
13027 if { (eval echo configure:13028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13028   rm -rf conftest*
13029   glibcpp_cv_func__ldexpf_use=yes
13030 else
13031   echo "configure: failed program was:" >&5
13032   cat conftest.$ac_ext >&5
13033   rm -rf conftest*
13034   glibcpp_cv_func__ldexpf_use=no
13035 fi
13036 rm -f conftest*
13037     ac_ext=c
13038 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13039 ac_cpp='$CPP $CPPFLAGS'
13040 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13041 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13042 cross_compiling=$ac_cv_prog_cc_cross
13043
13044   
13045 fi
13046
13047   echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13048   if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13049     for ac_func in _ldexpf
13050 do
13051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13052 echo "configure:13053: checking for $ac_func" >&5
13053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13054   echo $ac_n "(cached) $ac_c" 1>&6
13055 else
13056   cat > conftest.$ac_ext <<EOF
13057 #line 13058 "configure"
13058 #include "confdefs.h"
13059 /* System header to define __stub macros and hopefully few prototypes,
13060     which can conflict with char $ac_func(); below.  */
13061 #include <assert.h>
13062 /* Override any gcc2 internal prototype to avoid an error.  */
13063 /* We use char because int might match the return type of a gcc2
13064     builtin and then its argument prototype would still apply.  */
13065 char $ac_func();
13066
13067 int main() {
13068
13069 /* The GNU C library defines this for functions which it implements
13070     to always fail with ENOSYS.  Some functions are actually named
13071     something starting with __ and the normal name is an alias.  */
13072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13073 choke me
13074 #else
13075 $ac_func();
13076 #endif
13077
13078 ; return 0; }
13079 EOF
13080 if { (eval echo configure:13081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13081   rm -rf conftest*
13082   eval "ac_cv_func_$ac_func=yes"
13083 else
13084   echo "configure: failed program was:" >&5
13085   cat conftest.$ac_ext >&5
13086   rm -rf conftest*
13087   eval "ac_cv_func_$ac_func=no"
13088 fi
13089 rm -f conftest*
13090 fi
13091
13092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13093   echo "$ac_t""yes" 1>&6
13094     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13095   cat >> confdefs.h <<EOF
13096 #define $ac_tr_func 1
13097 EOF
13098  
13099 else
13100   echo "$ac_t""no" 1>&6
13101 fi
13102 done
13103     
13104   fi
13105
13106   
13107   echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13108 echo "configure:13109: checking for _logf declaration" >&5
13109   if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13110   echo $ac_n "(cached) $ac_c" 1>&6
13111 else
13112   
13113     
13114     ac_ext=C
13115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13116 ac_cpp='$CXXCPP $CPPFLAGS'
13117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13119 cross_compiling=$ac_cv_prog_cxx_cross
13120
13121     cat > conftest.$ac_ext <<EOF
13122 #line 13123 "configure"
13123 #include "confdefs.h"
13124 #include <math.h>
13125 int main() {
13126  _logf(0);
13127 ; return 0; }
13128 EOF
13129 if { (eval echo configure:13130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13130   rm -rf conftest*
13131   glibcpp_cv_func__logf_use=yes
13132 else
13133   echo "configure: failed program was:" >&5
13134   cat conftest.$ac_ext >&5
13135   rm -rf conftest*
13136   glibcpp_cv_func__logf_use=no
13137 fi
13138 rm -f conftest*
13139     ac_ext=c
13140 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13141 ac_cpp='$CPP $CPPFLAGS'
13142 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13143 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13144 cross_compiling=$ac_cv_prog_cc_cross
13145
13146   
13147 fi
13148
13149   echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13150   if test x$glibcpp_cv_func__logf_use = x"yes"; then
13151     for ac_func in _logf
13152 do
13153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13154 echo "configure:13155: checking for $ac_func" >&5
13155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13156   echo $ac_n "(cached) $ac_c" 1>&6
13157 else
13158   cat > conftest.$ac_ext <<EOF
13159 #line 13160 "configure"
13160 #include "confdefs.h"
13161 /* System header to define __stub macros and hopefully few prototypes,
13162     which can conflict with char $ac_func(); below.  */
13163 #include <assert.h>
13164 /* Override any gcc2 internal prototype to avoid an error.  */
13165 /* We use char because int might match the return type of a gcc2
13166     builtin and then its argument prototype would still apply.  */
13167 char $ac_func();
13168
13169 int main() {
13170
13171 /* The GNU C library defines this for functions which it implements
13172     to always fail with ENOSYS.  Some functions are actually named
13173     something starting with __ and the normal name is an alias.  */
13174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13175 choke me
13176 #else
13177 $ac_func();
13178 #endif
13179
13180 ; return 0; }
13181 EOF
13182 if { (eval echo configure:13183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13183   rm -rf conftest*
13184   eval "ac_cv_func_$ac_func=yes"
13185 else
13186   echo "configure: failed program was:" >&5
13187   cat conftest.$ac_ext >&5
13188   rm -rf conftest*
13189   eval "ac_cv_func_$ac_func=no"
13190 fi
13191 rm -f conftest*
13192 fi
13193
13194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13195   echo "$ac_t""yes" 1>&6
13196     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13197   cat >> confdefs.h <<EOF
13198 #define $ac_tr_func 1
13199 EOF
13200  
13201 else
13202   echo "$ac_t""no" 1>&6
13203 fi
13204 done
13205     
13206   fi
13207
13208   
13209   echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13210 echo "configure:13211: checking for _log10f declaration" >&5
13211   if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13212   echo $ac_n "(cached) $ac_c" 1>&6
13213 else
13214   
13215     
13216     ac_ext=C
13217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13218 ac_cpp='$CXXCPP $CPPFLAGS'
13219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13221 cross_compiling=$ac_cv_prog_cxx_cross
13222
13223     cat > conftest.$ac_ext <<EOF
13224 #line 13225 "configure"
13225 #include "confdefs.h"
13226 #include <math.h>
13227 int main() {
13228  _log10f(0);
13229 ; return 0; }
13230 EOF
13231 if { (eval echo configure:13232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13232   rm -rf conftest*
13233   glibcpp_cv_func__log10f_use=yes
13234 else
13235   echo "configure: failed program was:" >&5
13236   cat conftest.$ac_ext >&5
13237   rm -rf conftest*
13238   glibcpp_cv_func__log10f_use=no
13239 fi
13240 rm -f conftest*
13241     ac_ext=c
13242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13243 ac_cpp='$CPP $CPPFLAGS'
13244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13246 cross_compiling=$ac_cv_prog_cc_cross
13247
13248   
13249 fi
13250
13251   echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13252   if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13253     for ac_func in _log10f
13254 do
13255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13256 echo "configure:13257: checking for $ac_func" >&5
13257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13258   echo $ac_n "(cached) $ac_c" 1>&6
13259 else
13260   cat > conftest.$ac_ext <<EOF
13261 #line 13262 "configure"
13262 #include "confdefs.h"
13263 /* System header to define __stub macros and hopefully few prototypes,
13264     which can conflict with char $ac_func(); below.  */
13265 #include <assert.h>
13266 /* Override any gcc2 internal prototype to avoid an error.  */
13267 /* We use char because int might match the return type of a gcc2
13268     builtin and then its argument prototype would still apply.  */
13269 char $ac_func();
13270
13271 int main() {
13272
13273 /* The GNU C library defines this for functions which it implements
13274     to always fail with ENOSYS.  Some functions are actually named
13275     something starting with __ and the normal name is an alias.  */
13276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13277 choke me
13278 #else
13279 $ac_func();
13280 #endif
13281
13282 ; return 0; }
13283 EOF
13284 if { (eval echo configure:13285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13285   rm -rf conftest*
13286   eval "ac_cv_func_$ac_func=yes"
13287 else
13288   echo "configure: failed program was:" >&5
13289   cat conftest.$ac_ext >&5
13290   rm -rf conftest*
13291   eval "ac_cv_func_$ac_func=no"
13292 fi
13293 rm -f conftest*
13294 fi
13295
13296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13297   echo "$ac_t""yes" 1>&6
13298     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13299   cat >> confdefs.h <<EOF
13300 #define $ac_tr_func 1
13301 EOF
13302  
13303 else
13304   echo "$ac_t""no" 1>&6
13305 fi
13306 done
13307     
13308   fi
13309
13310   
13311   echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13312 echo "configure:13313: checking for _modff declaration" >&5
13313   if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13314   echo $ac_n "(cached) $ac_c" 1>&6
13315 else
13316   
13317     
13318     ac_ext=C
13319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13320 ac_cpp='$CXXCPP $CPPFLAGS'
13321 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13322 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13323 cross_compiling=$ac_cv_prog_cxx_cross
13324
13325     cat > conftest.$ac_ext <<EOF
13326 #line 13327 "configure"
13327 #include "confdefs.h"
13328 #include <math.h>
13329 int main() {
13330  _modff(0, 0);
13331 ; return 0; }
13332 EOF
13333 if { (eval echo configure:13334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13334   rm -rf conftest*
13335   glibcpp_cv_func__modff_use=yes
13336 else
13337   echo "configure: failed program was:" >&5
13338   cat conftest.$ac_ext >&5
13339   rm -rf conftest*
13340   glibcpp_cv_func__modff_use=no
13341 fi
13342 rm -f conftest*
13343     ac_ext=c
13344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13345 ac_cpp='$CPP $CPPFLAGS'
13346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13348 cross_compiling=$ac_cv_prog_cc_cross
13349
13350   
13351 fi
13352
13353   echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13354   if test x$glibcpp_cv_func__modff_use = x"yes"; then
13355     for ac_func in _modff
13356 do
13357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13358 echo "configure:13359: checking for $ac_func" >&5
13359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13360   echo $ac_n "(cached) $ac_c" 1>&6
13361 else
13362   cat > conftest.$ac_ext <<EOF
13363 #line 13364 "configure"
13364 #include "confdefs.h"
13365 /* System header to define __stub macros and hopefully few prototypes,
13366     which can conflict with char $ac_func(); below.  */
13367 #include <assert.h>
13368 /* Override any gcc2 internal prototype to avoid an error.  */
13369 /* We use char because int might match the return type of a gcc2
13370     builtin and then its argument prototype would still apply.  */
13371 char $ac_func();
13372
13373 int main() {
13374
13375 /* The GNU C library defines this for functions which it implements
13376     to always fail with ENOSYS.  Some functions are actually named
13377     something starting with __ and the normal name is an alias.  */
13378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13379 choke me
13380 #else
13381 $ac_func();
13382 #endif
13383
13384 ; return 0; }
13385 EOF
13386 if { (eval echo configure:13387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13387   rm -rf conftest*
13388   eval "ac_cv_func_$ac_func=yes"
13389 else
13390   echo "configure: failed program was:" >&5
13391   cat conftest.$ac_ext >&5
13392   rm -rf conftest*
13393   eval "ac_cv_func_$ac_func=no"
13394 fi
13395 rm -f conftest*
13396 fi
13397
13398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13399   echo "$ac_t""yes" 1>&6
13400     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13401   cat >> confdefs.h <<EOF
13402 #define $ac_tr_func 1
13403 EOF
13404  
13405 else
13406   echo "$ac_t""no" 1>&6
13407 fi
13408 done
13409     
13410   fi
13411
13412   
13413   echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13414 echo "configure:13415: checking for _powf declaration" >&5
13415   if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13416   echo $ac_n "(cached) $ac_c" 1>&6
13417 else
13418   
13419     
13420     ac_ext=C
13421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13422 ac_cpp='$CXXCPP $CPPFLAGS'
13423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13425 cross_compiling=$ac_cv_prog_cxx_cross
13426
13427     cat > conftest.$ac_ext <<EOF
13428 #line 13429 "configure"
13429 #include "confdefs.h"
13430 #include <math.h>
13431 int main() {
13432  _powf(0, 0);
13433 ; return 0; }
13434 EOF
13435 if { (eval echo configure:13436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13436   rm -rf conftest*
13437   glibcpp_cv_func__powf_use=yes
13438 else
13439   echo "configure: failed program was:" >&5
13440   cat conftest.$ac_ext >&5
13441   rm -rf conftest*
13442   glibcpp_cv_func__powf_use=no
13443 fi
13444 rm -f conftest*
13445     ac_ext=c
13446 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13447 ac_cpp='$CPP $CPPFLAGS'
13448 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13449 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13450 cross_compiling=$ac_cv_prog_cc_cross
13451
13452   
13453 fi
13454
13455   echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13456   if test x$glibcpp_cv_func__powf_use = x"yes"; then
13457     for ac_func in _powf
13458 do
13459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13460 echo "configure:13461: checking for $ac_func" >&5
13461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13462   echo $ac_n "(cached) $ac_c" 1>&6
13463 else
13464   cat > conftest.$ac_ext <<EOF
13465 #line 13466 "configure"
13466 #include "confdefs.h"
13467 /* System header to define __stub macros and hopefully few prototypes,
13468     which can conflict with char $ac_func(); below.  */
13469 #include <assert.h>
13470 /* Override any gcc2 internal prototype to avoid an error.  */
13471 /* We use char because int might match the return type of a gcc2
13472     builtin and then its argument prototype would still apply.  */
13473 char $ac_func();
13474
13475 int main() {
13476
13477 /* The GNU C library defines this for functions which it implements
13478     to always fail with ENOSYS.  Some functions are actually named
13479     something starting with __ and the normal name is an alias.  */
13480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13481 choke me
13482 #else
13483 $ac_func();
13484 #endif
13485
13486 ; return 0; }
13487 EOF
13488 if { (eval echo configure:13489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13489   rm -rf conftest*
13490   eval "ac_cv_func_$ac_func=yes"
13491 else
13492   echo "configure: failed program was:" >&5
13493   cat conftest.$ac_ext >&5
13494   rm -rf conftest*
13495   eval "ac_cv_func_$ac_func=no"
13496 fi
13497 rm -f conftest*
13498 fi
13499
13500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13501   echo "$ac_t""yes" 1>&6
13502     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13503   cat >> confdefs.h <<EOF
13504 #define $ac_tr_func 1
13505 EOF
13506  
13507 else
13508   echo "$ac_t""no" 1>&6
13509 fi
13510 done
13511     
13512   fi
13513
13514   
13515   echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13516 echo "configure:13517: checking for _sinf declaration" >&5
13517   if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13518   echo $ac_n "(cached) $ac_c" 1>&6
13519 else
13520   
13521     
13522     ac_ext=C
13523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13524 ac_cpp='$CXXCPP $CPPFLAGS'
13525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13527 cross_compiling=$ac_cv_prog_cxx_cross
13528
13529     cat > conftest.$ac_ext <<EOF
13530 #line 13531 "configure"
13531 #include "confdefs.h"
13532 #include <math.h>
13533 int main() {
13534  _sinf(0);
13535 ; return 0; }
13536 EOF
13537 if { (eval echo configure:13538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13538   rm -rf conftest*
13539   glibcpp_cv_func__sinf_use=yes
13540 else
13541   echo "configure: failed program was:" >&5
13542   cat conftest.$ac_ext >&5
13543   rm -rf conftest*
13544   glibcpp_cv_func__sinf_use=no
13545 fi
13546 rm -f conftest*
13547     ac_ext=c
13548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13549 ac_cpp='$CPP $CPPFLAGS'
13550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13552 cross_compiling=$ac_cv_prog_cc_cross
13553
13554   
13555 fi
13556
13557   echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13558   if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13559     for ac_func in _sinf
13560 do
13561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13562 echo "configure:13563: checking for $ac_func" >&5
13563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13564   echo $ac_n "(cached) $ac_c" 1>&6
13565 else
13566   cat > conftest.$ac_ext <<EOF
13567 #line 13568 "configure"
13568 #include "confdefs.h"
13569 /* System header to define __stub macros and hopefully few prototypes,
13570     which can conflict with char $ac_func(); below.  */
13571 #include <assert.h>
13572 /* Override any gcc2 internal prototype to avoid an error.  */
13573 /* We use char because int might match the return type of a gcc2
13574     builtin and then its argument prototype would still apply.  */
13575 char $ac_func();
13576
13577 int main() {
13578
13579 /* The GNU C library defines this for functions which it implements
13580     to always fail with ENOSYS.  Some functions are actually named
13581     something starting with __ and the normal name is an alias.  */
13582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13583 choke me
13584 #else
13585 $ac_func();
13586 #endif
13587
13588 ; return 0; }
13589 EOF
13590 if { (eval echo configure:13591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13591   rm -rf conftest*
13592   eval "ac_cv_func_$ac_func=yes"
13593 else
13594   echo "configure: failed program was:" >&5
13595   cat conftest.$ac_ext >&5
13596   rm -rf conftest*
13597   eval "ac_cv_func_$ac_func=no"
13598 fi
13599 rm -f conftest*
13600 fi
13601
13602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13603   echo "$ac_t""yes" 1>&6
13604     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13605   cat >> confdefs.h <<EOF
13606 #define $ac_tr_func 1
13607 EOF
13608  
13609 else
13610   echo "$ac_t""no" 1>&6
13611 fi
13612 done
13613     
13614   fi
13615
13616   
13617   echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13618 echo "configure:13619: checking for _sinhf declaration" >&5
13619   if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13620   echo $ac_n "(cached) $ac_c" 1>&6
13621 else
13622   
13623     
13624     ac_ext=C
13625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13626 ac_cpp='$CXXCPP $CPPFLAGS'
13627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13629 cross_compiling=$ac_cv_prog_cxx_cross
13630
13631     cat > conftest.$ac_ext <<EOF
13632 #line 13633 "configure"
13633 #include "confdefs.h"
13634 #include <math.h>
13635 int main() {
13636  _sinhf(0);
13637 ; return 0; }
13638 EOF
13639 if { (eval echo configure:13640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13640   rm -rf conftest*
13641   glibcpp_cv_func__sinhf_use=yes
13642 else
13643   echo "configure: failed program was:" >&5
13644   cat conftest.$ac_ext >&5
13645   rm -rf conftest*
13646   glibcpp_cv_func__sinhf_use=no
13647 fi
13648 rm -f conftest*
13649     ac_ext=c
13650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13651 ac_cpp='$CPP $CPPFLAGS'
13652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13654 cross_compiling=$ac_cv_prog_cc_cross
13655
13656   
13657 fi
13658
13659   echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13660   if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13661     for ac_func in _sinhf
13662 do
13663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13664 echo "configure:13665: checking for $ac_func" >&5
13665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13666   echo $ac_n "(cached) $ac_c" 1>&6
13667 else
13668   cat > conftest.$ac_ext <<EOF
13669 #line 13670 "configure"
13670 #include "confdefs.h"
13671 /* System header to define __stub macros and hopefully few prototypes,
13672     which can conflict with char $ac_func(); below.  */
13673 #include <assert.h>
13674 /* Override any gcc2 internal prototype to avoid an error.  */
13675 /* We use char because int might match the return type of a gcc2
13676     builtin and then its argument prototype would still apply.  */
13677 char $ac_func();
13678
13679 int main() {
13680
13681 /* The GNU C library defines this for functions which it implements
13682     to always fail with ENOSYS.  Some functions are actually named
13683     something starting with __ and the normal name is an alias.  */
13684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13685 choke me
13686 #else
13687 $ac_func();
13688 #endif
13689
13690 ; return 0; }
13691 EOF
13692 if { (eval echo configure:13693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13693   rm -rf conftest*
13694   eval "ac_cv_func_$ac_func=yes"
13695 else
13696   echo "configure: failed program was:" >&5
13697   cat conftest.$ac_ext >&5
13698   rm -rf conftest*
13699   eval "ac_cv_func_$ac_func=no"
13700 fi
13701 rm -f conftest*
13702 fi
13703
13704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13705   echo "$ac_t""yes" 1>&6
13706     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13707   cat >> confdefs.h <<EOF
13708 #define $ac_tr_func 1
13709 EOF
13710  
13711 else
13712   echo "$ac_t""no" 1>&6
13713 fi
13714 done
13715     
13716   fi
13717
13718   
13719   echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13720 echo "configure:13721: checking for _sqrtf declaration" >&5
13721   if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13722   echo $ac_n "(cached) $ac_c" 1>&6
13723 else
13724   
13725     
13726     ac_ext=C
13727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13728 ac_cpp='$CXXCPP $CPPFLAGS'
13729 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13730 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13731 cross_compiling=$ac_cv_prog_cxx_cross
13732
13733     cat > conftest.$ac_ext <<EOF
13734 #line 13735 "configure"
13735 #include "confdefs.h"
13736 #include <math.h>
13737 int main() {
13738  _sqrtf(0);
13739 ; return 0; }
13740 EOF
13741 if { (eval echo configure:13742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13742   rm -rf conftest*
13743   glibcpp_cv_func__sqrtf_use=yes
13744 else
13745   echo "configure: failed program was:" >&5
13746   cat conftest.$ac_ext >&5
13747   rm -rf conftest*
13748   glibcpp_cv_func__sqrtf_use=no
13749 fi
13750 rm -f conftest*
13751     ac_ext=c
13752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13753 ac_cpp='$CPP $CPPFLAGS'
13754 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13755 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13756 cross_compiling=$ac_cv_prog_cc_cross
13757
13758   
13759 fi
13760
13761   echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13762   if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13763     for ac_func in _sqrtf
13764 do
13765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13766 echo "configure:13767: checking for $ac_func" >&5
13767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13768   echo $ac_n "(cached) $ac_c" 1>&6
13769 else
13770   cat > conftest.$ac_ext <<EOF
13771 #line 13772 "configure"
13772 #include "confdefs.h"
13773 /* System header to define __stub macros and hopefully few prototypes,
13774     which can conflict with char $ac_func(); below.  */
13775 #include <assert.h>
13776 /* Override any gcc2 internal prototype to avoid an error.  */
13777 /* We use char because int might match the return type of a gcc2
13778     builtin and then its argument prototype would still apply.  */
13779 char $ac_func();
13780
13781 int main() {
13782
13783 /* The GNU C library defines this for functions which it implements
13784     to always fail with ENOSYS.  Some functions are actually named
13785     something starting with __ and the normal name is an alias.  */
13786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13787 choke me
13788 #else
13789 $ac_func();
13790 #endif
13791
13792 ; return 0; }
13793 EOF
13794 if { (eval echo configure:13795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13795   rm -rf conftest*
13796   eval "ac_cv_func_$ac_func=yes"
13797 else
13798   echo "configure: failed program was:" >&5
13799   cat conftest.$ac_ext >&5
13800   rm -rf conftest*
13801   eval "ac_cv_func_$ac_func=no"
13802 fi
13803 rm -f conftest*
13804 fi
13805
13806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13807   echo "$ac_t""yes" 1>&6
13808     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13809   cat >> confdefs.h <<EOF
13810 #define $ac_tr_func 1
13811 EOF
13812  
13813 else
13814   echo "$ac_t""no" 1>&6
13815 fi
13816 done
13817     
13818   fi
13819
13820   
13821   echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
13822 echo "configure:13823: checking for _tanf declaration" >&5
13823   if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
13824   echo $ac_n "(cached) $ac_c" 1>&6
13825 else
13826   
13827     
13828     ac_ext=C
13829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13830 ac_cpp='$CXXCPP $CPPFLAGS'
13831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13833 cross_compiling=$ac_cv_prog_cxx_cross
13834
13835     cat > conftest.$ac_ext <<EOF
13836 #line 13837 "configure"
13837 #include "confdefs.h"
13838 #include <math.h>
13839 int main() {
13840  _tanf(0);
13841 ; return 0; }
13842 EOF
13843 if { (eval echo configure:13844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13844   rm -rf conftest*
13845   glibcpp_cv_func__tanf_use=yes
13846 else
13847   echo "configure: failed program was:" >&5
13848   cat conftest.$ac_ext >&5
13849   rm -rf conftest*
13850   glibcpp_cv_func__tanf_use=no
13851 fi
13852 rm -f conftest*
13853     ac_ext=c
13854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13855 ac_cpp='$CPP $CPPFLAGS'
13856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13858 cross_compiling=$ac_cv_prog_cc_cross
13859
13860   
13861 fi
13862
13863   echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
13864   if test x$glibcpp_cv_func__tanf_use = x"yes"; then
13865     for ac_func in _tanf
13866 do
13867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13868 echo "configure:13869: checking for $ac_func" >&5
13869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13870   echo $ac_n "(cached) $ac_c" 1>&6
13871 else
13872   cat > conftest.$ac_ext <<EOF
13873 #line 13874 "configure"
13874 #include "confdefs.h"
13875 /* System header to define __stub macros and hopefully few prototypes,
13876     which can conflict with char $ac_func(); below.  */
13877 #include <assert.h>
13878 /* Override any gcc2 internal prototype to avoid an error.  */
13879 /* We use char because int might match the return type of a gcc2
13880     builtin and then its argument prototype would still apply.  */
13881 char $ac_func();
13882
13883 int main() {
13884
13885 /* The GNU C library defines this for functions which it implements
13886     to always fail with ENOSYS.  Some functions are actually named
13887     something starting with __ and the normal name is an alias.  */
13888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13889 choke me
13890 #else
13891 $ac_func();
13892 #endif
13893
13894 ; return 0; }
13895 EOF
13896 if { (eval echo configure:13897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13897   rm -rf conftest*
13898   eval "ac_cv_func_$ac_func=yes"
13899 else
13900   echo "configure: failed program was:" >&5
13901   cat conftest.$ac_ext >&5
13902   rm -rf conftest*
13903   eval "ac_cv_func_$ac_func=no"
13904 fi
13905 rm -f conftest*
13906 fi
13907
13908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13909   echo "$ac_t""yes" 1>&6
13910     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13911   cat >> confdefs.h <<EOF
13912 #define $ac_tr_func 1
13913 EOF
13914  
13915 else
13916   echo "$ac_t""no" 1>&6
13917 fi
13918 done
13919     
13920   fi
13921
13922   
13923   echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
13924 echo "configure:13925: checking for _tanhf declaration" >&5
13925   if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
13926   echo $ac_n "(cached) $ac_c" 1>&6
13927 else
13928   
13929     
13930     ac_ext=C
13931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13932 ac_cpp='$CXXCPP $CPPFLAGS'
13933 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13934 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13935 cross_compiling=$ac_cv_prog_cxx_cross
13936
13937     cat > conftest.$ac_ext <<EOF
13938 #line 13939 "configure"
13939 #include "confdefs.h"
13940 #include <math.h>
13941 int main() {
13942  _tanhf(0);
13943 ; return 0; }
13944 EOF
13945 if { (eval echo configure:13946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13946   rm -rf conftest*
13947   glibcpp_cv_func__tanhf_use=yes
13948 else
13949   echo "configure: failed program was:" >&5
13950   cat conftest.$ac_ext >&5
13951   rm -rf conftest*
13952   glibcpp_cv_func__tanhf_use=no
13953 fi
13954 rm -f conftest*
13955     ac_ext=c
13956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13957 ac_cpp='$CPP $CPPFLAGS'
13958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13960 cross_compiling=$ac_cv_prog_cc_cross
13961
13962   
13963 fi
13964
13965   echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
13966   if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
13967     for ac_func in _tanhf
13968 do
13969 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13970 echo "configure:13971: checking for $ac_func" >&5
13971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13972   echo $ac_n "(cached) $ac_c" 1>&6
13973 else
13974   cat > conftest.$ac_ext <<EOF
13975 #line 13976 "configure"
13976 #include "confdefs.h"
13977 /* System header to define __stub macros and hopefully few prototypes,
13978     which can conflict with char $ac_func(); below.  */
13979 #include <assert.h>
13980 /* Override any gcc2 internal prototype to avoid an error.  */
13981 /* We use char because int might match the return type of a gcc2
13982     builtin and then its argument prototype would still apply.  */
13983 char $ac_func();
13984
13985 int main() {
13986
13987 /* The GNU C library defines this for functions which it implements
13988     to always fail with ENOSYS.  Some functions are actually named
13989     something starting with __ and the normal name is an alias.  */
13990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13991 choke me
13992 #else
13993 $ac_func();
13994 #endif
13995
13996 ; return 0; }
13997 EOF
13998 if { (eval echo configure:13999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13999   rm -rf conftest*
14000   eval "ac_cv_func_$ac_func=yes"
14001 else
14002   echo "configure: failed program was:" >&5
14003   cat conftest.$ac_ext >&5
14004   rm -rf conftest*
14005   eval "ac_cv_func_$ac_func=no"
14006 fi
14007 rm -f conftest*
14008 fi
14009
14010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14011   echo "$ac_t""yes" 1>&6
14012     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14013   cat >> confdefs.h <<EOF
14014 #define $ac_tr_func 1
14015 EOF
14016  
14017 else
14018   echo "$ac_t""no" 1>&6
14019 fi
14020 done
14021     
14022   fi
14023
14024   
14025   echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14026 echo "configure:14027: checking for _sincosf declaration" >&5
14027   if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14028   echo $ac_n "(cached) $ac_c" 1>&6
14029 else
14030   
14031     
14032     ac_ext=C
14033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14034 ac_cpp='$CXXCPP $CPPFLAGS'
14035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14037 cross_compiling=$ac_cv_prog_cxx_cross
14038
14039     cat > conftest.$ac_ext <<EOF
14040 #line 14041 "configure"
14041 #include "confdefs.h"
14042 #include <math.h>
14043 int main() {
14044  _sincosf(0, 0, 0);
14045 ; return 0; }
14046 EOF
14047 if { (eval echo configure:14048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14048   rm -rf conftest*
14049   glibcpp_cv_func__sincosf_use=yes
14050 else
14051   echo "configure: failed program was:" >&5
14052   cat conftest.$ac_ext >&5
14053   rm -rf conftest*
14054   glibcpp_cv_func__sincosf_use=no
14055 fi
14056 rm -f conftest*
14057     ac_ext=c
14058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14059 ac_cpp='$CPP $CPPFLAGS'
14060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14062 cross_compiling=$ac_cv_prog_cc_cross
14063
14064   
14065 fi
14066
14067   echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14068   if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14069     for ac_func in _sincosf
14070 do
14071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14072 echo "configure:14073: checking for $ac_func" >&5
14073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14074   echo $ac_n "(cached) $ac_c" 1>&6
14075 else
14076   cat > conftest.$ac_ext <<EOF
14077 #line 14078 "configure"
14078 #include "confdefs.h"
14079 /* System header to define __stub macros and hopefully few prototypes,
14080     which can conflict with char $ac_func(); below.  */
14081 #include <assert.h>
14082 /* Override any gcc2 internal prototype to avoid an error.  */
14083 /* We use char because int might match the return type of a gcc2
14084     builtin and then its argument prototype would still apply.  */
14085 char $ac_func();
14086
14087 int main() {
14088
14089 /* The GNU C library defines this for functions which it implements
14090     to always fail with ENOSYS.  Some functions are actually named
14091     something starting with __ and the normal name is an alias.  */
14092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14093 choke me
14094 #else
14095 $ac_func();
14096 #endif
14097
14098 ; return 0; }
14099 EOF
14100 if { (eval echo configure:14101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14101   rm -rf conftest*
14102   eval "ac_cv_func_$ac_func=yes"
14103 else
14104   echo "configure: failed program was:" >&5
14105   cat conftest.$ac_ext >&5
14106   rm -rf conftest*
14107   eval "ac_cv_func_$ac_func=no"
14108 fi
14109 rm -f conftest*
14110 fi
14111
14112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14113   echo "$ac_t""yes" 1>&6
14114     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14115   cat >> confdefs.h <<EOF
14116 #define $ac_tr_func 1
14117 EOF
14118  
14119 else
14120   echo "$ac_t""no" 1>&6
14121 fi
14122 done
14123     
14124   fi
14125
14126   
14127   echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14128 echo "configure:14129: checking for _finitef declaration" >&5
14129   if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14130   echo $ac_n "(cached) $ac_c" 1>&6
14131 else
14132   
14133     
14134     ac_ext=C
14135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14136 ac_cpp='$CXXCPP $CPPFLAGS'
14137 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14138 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14139 cross_compiling=$ac_cv_prog_cxx_cross
14140
14141     cat > conftest.$ac_ext <<EOF
14142 #line 14143 "configure"
14143 #include "confdefs.h"
14144 #include <math.h>
14145 int main() {
14146  _finitef(0);
14147 ; return 0; }
14148 EOF
14149 if { (eval echo configure:14150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14150   rm -rf conftest*
14151   glibcpp_cv_func__finitef_use=yes
14152 else
14153   echo "configure: failed program was:" >&5
14154   cat conftest.$ac_ext >&5
14155   rm -rf conftest*
14156   glibcpp_cv_func__finitef_use=no
14157 fi
14158 rm -f conftest*
14159     ac_ext=c
14160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14161 ac_cpp='$CPP $CPPFLAGS'
14162 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14163 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14164 cross_compiling=$ac_cv_prog_cc_cross
14165
14166   
14167 fi
14168
14169   echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14170   if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14171     for ac_func in _finitef
14172 do
14173 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14174 echo "configure:14175: checking for $ac_func" >&5
14175 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14176   echo $ac_n "(cached) $ac_c" 1>&6
14177 else
14178   cat > conftest.$ac_ext <<EOF
14179 #line 14180 "configure"
14180 #include "confdefs.h"
14181 /* System header to define __stub macros and hopefully few prototypes,
14182     which can conflict with char $ac_func(); below.  */
14183 #include <assert.h>
14184 /* Override any gcc2 internal prototype to avoid an error.  */
14185 /* We use char because int might match the return type of a gcc2
14186     builtin and then its argument prototype would still apply.  */
14187 char $ac_func();
14188
14189 int main() {
14190
14191 /* The GNU C library defines this for functions which it implements
14192     to always fail with ENOSYS.  Some functions are actually named
14193     something starting with __ and the normal name is an alias.  */
14194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14195 choke me
14196 #else
14197 $ac_func();
14198 #endif
14199
14200 ; return 0; }
14201 EOF
14202 if { (eval echo configure:14203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14203   rm -rf conftest*
14204   eval "ac_cv_func_$ac_func=yes"
14205 else
14206   echo "configure: failed program was:" >&5
14207   cat conftest.$ac_ext >&5
14208   rm -rf conftest*
14209   eval "ac_cv_func_$ac_func=no"
14210 fi
14211 rm -f conftest*
14212 fi
14213
14214 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14215   echo "$ac_t""yes" 1>&6
14216     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14217   cat >> confdefs.h <<EOF
14218 #define $ac_tr_func 1
14219 EOF
14220  
14221 else
14222   echo "$ac_t""no" 1>&6
14223 fi
14224 done
14225     
14226   fi
14227
14228
14229     
14230   echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14231 echo "configure:14232: checking for _isnanl declaration" >&5
14232   if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14233   echo $ac_n "(cached) $ac_c" 1>&6
14234 else
14235   
14236     
14237     ac_ext=C
14238 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14239 ac_cpp='$CXXCPP $CPPFLAGS'
14240 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14241 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14242 cross_compiling=$ac_cv_prog_cxx_cross
14243
14244     cat > conftest.$ac_ext <<EOF
14245 #line 14246 "configure"
14246 #include "confdefs.h"
14247 #include <math.h>
14248 int main() {
14249  _isnanl(0);
14250 ; return 0; }
14251 EOF
14252 if { (eval echo configure:14253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14253   rm -rf conftest*
14254   glibcpp_cv_func__isnanl_use=yes
14255 else
14256   echo "configure: failed program was:" >&5
14257   cat conftest.$ac_ext >&5
14258   rm -rf conftest*
14259   glibcpp_cv_func__isnanl_use=no
14260 fi
14261 rm -f conftest*
14262     ac_ext=c
14263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14264 ac_cpp='$CPP $CPPFLAGS'
14265 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14266 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14267 cross_compiling=$ac_cv_prog_cc_cross
14268
14269   
14270 fi
14271
14272   echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14273   if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14274     for ac_func in _isnanl
14275 do
14276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14277 echo "configure:14278: checking for $ac_func" >&5
14278 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14279   echo $ac_n "(cached) $ac_c" 1>&6
14280 else
14281   cat > conftest.$ac_ext <<EOF
14282 #line 14283 "configure"
14283 #include "confdefs.h"
14284 /* System header to define __stub macros and hopefully few prototypes,
14285     which can conflict with char $ac_func(); below.  */
14286 #include <assert.h>
14287 /* Override any gcc2 internal prototype to avoid an error.  */
14288 /* We use char because int might match the return type of a gcc2
14289     builtin and then its argument prototype would still apply.  */
14290 char $ac_func();
14291
14292 int main() {
14293
14294 /* The GNU C library defines this for functions which it implements
14295     to always fail with ENOSYS.  Some functions are actually named
14296     something starting with __ and the normal name is an alias.  */
14297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14298 choke me
14299 #else
14300 $ac_func();
14301 #endif
14302
14303 ; return 0; }
14304 EOF
14305 if { (eval echo configure:14306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14306   rm -rf conftest*
14307   eval "ac_cv_func_$ac_func=yes"
14308 else
14309   echo "configure: failed program was:" >&5
14310   cat conftest.$ac_ext >&5
14311   rm -rf conftest*
14312   eval "ac_cv_func_$ac_func=no"
14313 fi
14314 rm -f conftest*
14315 fi
14316
14317 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14318   echo "$ac_t""yes" 1>&6
14319     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14320   cat >> confdefs.h <<EOF
14321 #define $ac_tr_func 1
14322 EOF
14323  
14324 else
14325   echo "$ac_t""no" 1>&6
14326 fi
14327 done
14328     
14329   fi
14330
14331   
14332   echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14333 echo "configure:14334: checking for _isinfl declaration" >&5
14334   if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14335   echo $ac_n "(cached) $ac_c" 1>&6
14336 else
14337   
14338     
14339     ac_ext=C
14340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14341 ac_cpp='$CXXCPP $CPPFLAGS'
14342 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14343 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14344 cross_compiling=$ac_cv_prog_cxx_cross
14345
14346     cat > conftest.$ac_ext <<EOF
14347 #line 14348 "configure"
14348 #include "confdefs.h"
14349 #include <math.h>
14350 int main() {
14351  _isinfl(0);
14352 ; return 0; }
14353 EOF
14354 if { (eval echo configure:14355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14355   rm -rf conftest*
14356   glibcpp_cv_func__isinfl_use=yes
14357 else
14358   echo "configure: failed program was:" >&5
14359   cat conftest.$ac_ext >&5
14360   rm -rf conftest*
14361   glibcpp_cv_func__isinfl_use=no
14362 fi
14363 rm -f conftest*
14364     ac_ext=c
14365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14366 ac_cpp='$CPP $CPPFLAGS'
14367 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14368 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14369 cross_compiling=$ac_cv_prog_cc_cross
14370
14371   
14372 fi
14373
14374   echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14375   if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14376     for ac_func in _isinfl
14377 do
14378 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14379 echo "configure:14380: checking for $ac_func" >&5
14380 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14381   echo $ac_n "(cached) $ac_c" 1>&6
14382 else
14383   cat > conftest.$ac_ext <<EOF
14384 #line 14385 "configure"
14385 #include "confdefs.h"
14386 /* System header to define __stub macros and hopefully few prototypes,
14387     which can conflict with char $ac_func(); below.  */
14388 #include <assert.h>
14389 /* Override any gcc2 internal prototype to avoid an error.  */
14390 /* We use char because int might match the return type of a gcc2
14391     builtin and then its argument prototype would still apply.  */
14392 char $ac_func();
14393
14394 int main() {
14395
14396 /* The GNU C library defines this for functions which it implements
14397     to always fail with ENOSYS.  Some functions are actually named
14398     something starting with __ and the normal name is an alias.  */
14399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14400 choke me
14401 #else
14402 $ac_func();
14403 #endif
14404
14405 ; return 0; }
14406 EOF
14407 if { (eval echo configure:14408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14408   rm -rf conftest*
14409   eval "ac_cv_func_$ac_func=yes"
14410 else
14411   echo "configure: failed program was:" >&5
14412   cat conftest.$ac_ext >&5
14413   rm -rf conftest*
14414   eval "ac_cv_func_$ac_func=no"
14415 fi
14416 rm -f conftest*
14417 fi
14418
14419 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14420   echo "$ac_t""yes" 1>&6
14421     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14422   cat >> confdefs.h <<EOF
14423 #define $ac_tr_func 1
14424 EOF
14425  
14426 else
14427   echo "$ac_t""no" 1>&6
14428 fi
14429 done
14430     
14431   fi
14432
14433   
14434   echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14435 echo "configure:14436: checking for _copysignl declaration" >&5
14436   if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14437   echo $ac_n "(cached) $ac_c" 1>&6
14438 else
14439   
14440     
14441     ac_ext=C
14442 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14443 ac_cpp='$CXXCPP $CPPFLAGS'
14444 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14445 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14446 cross_compiling=$ac_cv_prog_cxx_cross
14447
14448     cat > conftest.$ac_ext <<EOF
14449 #line 14450 "configure"
14450 #include "confdefs.h"
14451 #include <math.h>
14452 int main() {
14453  _copysignl(0, 0);
14454 ; return 0; }
14455 EOF
14456 if { (eval echo configure:14457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14457   rm -rf conftest*
14458   glibcpp_cv_func__copysignl_use=yes
14459 else
14460   echo "configure: failed program was:" >&5
14461   cat conftest.$ac_ext >&5
14462   rm -rf conftest*
14463   glibcpp_cv_func__copysignl_use=no
14464 fi
14465 rm -f conftest*
14466     ac_ext=c
14467 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14468 ac_cpp='$CPP $CPPFLAGS'
14469 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14470 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14471 cross_compiling=$ac_cv_prog_cc_cross
14472
14473   
14474 fi
14475
14476   echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14477   if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14478     for ac_func in _copysignl
14479 do
14480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14481 echo "configure:14482: checking for $ac_func" >&5
14482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14483   echo $ac_n "(cached) $ac_c" 1>&6
14484 else
14485   cat > conftest.$ac_ext <<EOF
14486 #line 14487 "configure"
14487 #include "confdefs.h"
14488 /* System header to define __stub macros and hopefully few prototypes,
14489     which can conflict with char $ac_func(); below.  */
14490 #include <assert.h>
14491 /* Override any gcc2 internal prototype to avoid an error.  */
14492 /* We use char because int might match the return type of a gcc2
14493     builtin and then its argument prototype would still apply.  */
14494 char $ac_func();
14495
14496 int main() {
14497
14498 /* The GNU C library defines this for functions which it implements
14499     to always fail with ENOSYS.  Some functions are actually named
14500     something starting with __ and the normal name is an alias.  */
14501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14502 choke me
14503 #else
14504 $ac_func();
14505 #endif
14506
14507 ; return 0; }
14508 EOF
14509 if { (eval echo configure:14510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14510   rm -rf conftest*
14511   eval "ac_cv_func_$ac_func=yes"
14512 else
14513   echo "configure: failed program was:" >&5
14514   cat conftest.$ac_ext >&5
14515   rm -rf conftest*
14516   eval "ac_cv_func_$ac_func=no"
14517 fi
14518 rm -f conftest*
14519 fi
14520
14521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14522   echo "$ac_t""yes" 1>&6
14523     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14524   cat >> confdefs.h <<EOF
14525 #define $ac_tr_func 1
14526 EOF
14527  
14528 else
14529   echo "$ac_t""no" 1>&6
14530 fi
14531 done
14532     
14533   fi
14534
14535   
14536   echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14537 echo "configure:14538: checking for _acosl declaration" >&5
14538   if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14539   echo $ac_n "(cached) $ac_c" 1>&6
14540 else
14541   
14542     
14543     ac_ext=C
14544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14545 ac_cpp='$CXXCPP $CPPFLAGS'
14546 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14547 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14548 cross_compiling=$ac_cv_prog_cxx_cross
14549
14550     cat > conftest.$ac_ext <<EOF
14551 #line 14552 "configure"
14552 #include "confdefs.h"
14553 #include <math.h>
14554 int main() {
14555  _acosl(0);
14556 ; return 0; }
14557 EOF
14558 if { (eval echo configure:14559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14559   rm -rf conftest*
14560   glibcpp_cv_func__acosl_use=yes
14561 else
14562   echo "configure: failed program was:" >&5
14563   cat conftest.$ac_ext >&5
14564   rm -rf conftest*
14565   glibcpp_cv_func__acosl_use=no
14566 fi
14567 rm -f conftest*
14568     ac_ext=c
14569 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14570 ac_cpp='$CPP $CPPFLAGS'
14571 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14572 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14573 cross_compiling=$ac_cv_prog_cc_cross
14574
14575   
14576 fi
14577
14578   echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14579   if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14580     for ac_func in _acosl
14581 do
14582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14583 echo "configure:14584: checking for $ac_func" >&5
14584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14585   echo $ac_n "(cached) $ac_c" 1>&6
14586 else
14587   cat > conftest.$ac_ext <<EOF
14588 #line 14589 "configure"
14589 #include "confdefs.h"
14590 /* System header to define __stub macros and hopefully few prototypes,
14591     which can conflict with char $ac_func(); below.  */
14592 #include <assert.h>
14593 /* Override any gcc2 internal prototype to avoid an error.  */
14594 /* We use char because int might match the return type of a gcc2
14595     builtin and then its argument prototype would still apply.  */
14596 char $ac_func();
14597
14598 int main() {
14599
14600 /* The GNU C library defines this for functions which it implements
14601     to always fail with ENOSYS.  Some functions are actually named
14602     something starting with __ and the normal name is an alias.  */
14603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14604 choke me
14605 #else
14606 $ac_func();
14607 #endif
14608
14609 ; return 0; }
14610 EOF
14611 if { (eval echo configure:14612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14612   rm -rf conftest*
14613   eval "ac_cv_func_$ac_func=yes"
14614 else
14615   echo "configure: failed program was:" >&5
14616   cat conftest.$ac_ext >&5
14617   rm -rf conftest*
14618   eval "ac_cv_func_$ac_func=no"
14619 fi
14620 rm -f conftest*
14621 fi
14622
14623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14624   echo "$ac_t""yes" 1>&6
14625     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14626   cat >> confdefs.h <<EOF
14627 #define $ac_tr_func 1
14628 EOF
14629  
14630 else
14631   echo "$ac_t""no" 1>&6
14632 fi
14633 done
14634     
14635   fi
14636
14637   
14638   echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14639 echo "configure:14640: checking for _asinl declaration" >&5
14640   if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14641   echo $ac_n "(cached) $ac_c" 1>&6
14642 else
14643   
14644     
14645     ac_ext=C
14646 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14647 ac_cpp='$CXXCPP $CPPFLAGS'
14648 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14649 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14650 cross_compiling=$ac_cv_prog_cxx_cross
14651
14652     cat > conftest.$ac_ext <<EOF
14653 #line 14654 "configure"
14654 #include "confdefs.h"
14655 #include <math.h>
14656 int main() {
14657  _asinl(0);
14658 ; return 0; }
14659 EOF
14660 if { (eval echo configure:14661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14661   rm -rf conftest*
14662   glibcpp_cv_func__asinl_use=yes
14663 else
14664   echo "configure: failed program was:" >&5
14665   cat conftest.$ac_ext >&5
14666   rm -rf conftest*
14667   glibcpp_cv_func__asinl_use=no
14668 fi
14669 rm -f conftest*
14670     ac_ext=c
14671 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14672 ac_cpp='$CPP $CPPFLAGS'
14673 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14674 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14675 cross_compiling=$ac_cv_prog_cc_cross
14676
14677   
14678 fi
14679
14680   echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14681   if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14682     for ac_func in _asinl
14683 do
14684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14685 echo "configure:14686: checking for $ac_func" >&5
14686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14687   echo $ac_n "(cached) $ac_c" 1>&6
14688 else
14689   cat > conftest.$ac_ext <<EOF
14690 #line 14691 "configure"
14691 #include "confdefs.h"
14692 /* System header to define __stub macros and hopefully few prototypes,
14693     which can conflict with char $ac_func(); below.  */
14694 #include <assert.h>
14695 /* Override any gcc2 internal prototype to avoid an error.  */
14696 /* We use char because int might match the return type of a gcc2
14697     builtin and then its argument prototype would still apply.  */
14698 char $ac_func();
14699
14700 int main() {
14701
14702 /* The GNU C library defines this for functions which it implements
14703     to always fail with ENOSYS.  Some functions are actually named
14704     something starting with __ and the normal name is an alias.  */
14705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14706 choke me
14707 #else
14708 $ac_func();
14709 #endif
14710
14711 ; return 0; }
14712 EOF
14713 if { (eval echo configure:14714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14714   rm -rf conftest*
14715   eval "ac_cv_func_$ac_func=yes"
14716 else
14717   echo "configure: failed program was:" >&5
14718   cat conftest.$ac_ext >&5
14719   rm -rf conftest*
14720   eval "ac_cv_func_$ac_func=no"
14721 fi
14722 rm -f conftest*
14723 fi
14724
14725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14726   echo "$ac_t""yes" 1>&6
14727     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14728   cat >> confdefs.h <<EOF
14729 #define $ac_tr_func 1
14730 EOF
14731  
14732 else
14733   echo "$ac_t""no" 1>&6
14734 fi
14735 done
14736     
14737   fi
14738
14739   
14740   echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
14741 echo "configure:14742: checking for _atanl declaration" >&5
14742   if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
14743   echo $ac_n "(cached) $ac_c" 1>&6
14744 else
14745   
14746     
14747     ac_ext=C
14748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14749 ac_cpp='$CXXCPP $CPPFLAGS'
14750 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14751 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14752 cross_compiling=$ac_cv_prog_cxx_cross
14753
14754     cat > conftest.$ac_ext <<EOF
14755 #line 14756 "configure"
14756 #include "confdefs.h"
14757 #include <math.h>
14758 int main() {
14759  _atanl(0);
14760 ; return 0; }
14761 EOF
14762 if { (eval echo configure:14763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14763   rm -rf conftest*
14764   glibcpp_cv_func__atanl_use=yes
14765 else
14766   echo "configure: failed program was:" >&5
14767   cat conftest.$ac_ext >&5
14768   rm -rf conftest*
14769   glibcpp_cv_func__atanl_use=no
14770 fi
14771 rm -f conftest*
14772     ac_ext=c
14773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14774 ac_cpp='$CPP $CPPFLAGS'
14775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14776 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14777 cross_compiling=$ac_cv_prog_cc_cross
14778
14779   
14780 fi
14781
14782   echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
14783   if test x$glibcpp_cv_func__atanl_use = x"yes"; then
14784     for ac_func in _atanl
14785 do
14786 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14787 echo "configure:14788: checking for $ac_func" >&5
14788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14789   echo $ac_n "(cached) $ac_c" 1>&6
14790 else
14791   cat > conftest.$ac_ext <<EOF
14792 #line 14793 "configure"
14793 #include "confdefs.h"
14794 /* System header to define __stub macros and hopefully few prototypes,
14795     which can conflict with char $ac_func(); below.  */
14796 #include <assert.h>
14797 /* Override any gcc2 internal prototype to avoid an error.  */
14798 /* We use char because int might match the return type of a gcc2
14799     builtin and then its argument prototype would still apply.  */
14800 char $ac_func();
14801
14802 int main() {
14803
14804 /* The GNU C library defines this for functions which it implements
14805     to always fail with ENOSYS.  Some functions are actually named
14806     something starting with __ and the normal name is an alias.  */
14807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14808 choke me
14809 #else
14810 $ac_func();
14811 #endif
14812
14813 ; return 0; }
14814 EOF
14815 if { (eval echo configure:14816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14816   rm -rf conftest*
14817   eval "ac_cv_func_$ac_func=yes"
14818 else
14819   echo "configure: failed program was:" >&5
14820   cat conftest.$ac_ext >&5
14821   rm -rf conftest*
14822   eval "ac_cv_func_$ac_func=no"
14823 fi
14824 rm -f conftest*
14825 fi
14826
14827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14828   echo "$ac_t""yes" 1>&6
14829     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14830   cat >> confdefs.h <<EOF
14831 #define $ac_tr_func 1
14832 EOF
14833  
14834 else
14835   echo "$ac_t""no" 1>&6
14836 fi
14837 done
14838     
14839   fi
14840
14841   
14842   echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14843 echo "configure:14844: checking for _atan2l declaration" >&5
14844   if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14845   echo $ac_n "(cached) $ac_c" 1>&6
14846 else
14847   
14848     
14849     ac_ext=C
14850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14851 ac_cpp='$CXXCPP $CPPFLAGS'
14852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14854 cross_compiling=$ac_cv_prog_cxx_cross
14855
14856     cat > conftest.$ac_ext <<EOF
14857 #line 14858 "configure"
14858 #include "confdefs.h"
14859 #include <math.h>
14860 int main() {
14861  _atan2l(0, 0);
14862 ; return 0; }
14863 EOF
14864 if { (eval echo configure:14865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14865   rm -rf conftest*
14866   glibcpp_cv_func__atan2l_use=yes
14867 else
14868   echo "configure: failed program was:" >&5
14869   cat conftest.$ac_ext >&5
14870   rm -rf conftest*
14871   glibcpp_cv_func__atan2l_use=no
14872 fi
14873 rm -f conftest*
14874     ac_ext=c
14875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14876 ac_cpp='$CPP $CPPFLAGS'
14877 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14878 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14879 cross_compiling=$ac_cv_prog_cc_cross
14880
14881   
14882 fi
14883
14884   echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14885   if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14886     for ac_func in _atan2l
14887 do
14888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14889 echo "configure:14890: checking for $ac_func" >&5
14890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14891   echo $ac_n "(cached) $ac_c" 1>&6
14892 else
14893   cat > conftest.$ac_ext <<EOF
14894 #line 14895 "configure"
14895 #include "confdefs.h"
14896 /* System header to define __stub macros and hopefully few prototypes,
14897     which can conflict with char $ac_func(); below.  */
14898 #include <assert.h>
14899 /* Override any gcc2 internal prototype to avoid an error.  */
14900 /* We use char because int might match the return type of a gcc2
14901     builtin and then its argument prototype would still apply.  */
14902 char $ac_func();
14903
14904 int main() {
14905
14906 /* The GNU C library defines this for functions which it implements
14907     to always fail with ENOSYS.  Some functions are actually named
14908     something starting with __ and the normal name is an alias.  */
14909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14910 choke me
14911 #else
14912 $ac_func();
14913 #endif
14914
14915 ; return 0; }
14916 EOF
14917 if { (eval echo configure:14918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14918   rm -rf conftest*
14919   eval "ac_cv_func_$ac_func=yes"
14920 else
14921   echo "configure: failed program was:" >&5
14922   cat conftest.$ac_ext >&5
14923   rm -rf conftest*
14924   eval "ac_cv_func_$ac_func=no"
14925 fi
14926 rm -f conftest*
14927 fi
14928
14929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14930   echo "$ac_t""yes" 1>&6
14931     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14932   cat >> confdefs.h <<EOF
14933 #define $ac_tr_func 1
14934 EOF
14935  
14936 else
14937   echo "$ac_t""no" 1>&6
14938 fi
14939 done
14940     
14941   fi
14942
14943   
14944   echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
14945 echo "configure:14946: checking for _ceill declaration" >&5
14946   if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
14947   echo $ac_n "(cached) $ac_c" 1>&6
14948 else
14949   
14950     
14951     ac_ext=C
14952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14953 ac_cpp='$CXXCPP $CPPFLAGS'
14954 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14955 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14956 cross_compiling=$ac_cv_prog_cxx_cross
14957
14958     cat > conftest.$ac_ext <<EOF
14959 #line 14960 "configure"
14960 #include "confdefs.h"
14961 #include <math.h>
14962 int main() {
14963  _ceill(0);
14964 ; return 0; }
14965 EOF
14966 if { (eval echo configure:14967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14967   rm -rf conftest*
14968   glibcpp_cv_func__ceill_use=yes
14969 else
14970   echo "configure: failed program was:" >&5
14971   cat conftest.$ac_ext >&5
14972   rm -rf conftest*
14973   glibcpp_cv_func__ceill_use=no
14974 fi
14975 rm -f conftest*
14976     ac_ext=c
14977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14978 ac_cpp='$CPP $CPPFLAGS'
14979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14981 cross_compiling=$ac_cv_prog_cc_cross
14982
14983   
14984 fi
14985
14986   echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
14987   if test x$glibcpp_cv_func__ceill_use = x"yes"; then
14988     for ac_func in _ceill
14989 do
14990 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14991 echo "configure:14992: checking for $ac_func" >&5
14992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14993   echo $ac_n "(cached) $ac_c" 1>&6
14994 else
14995   cat > conftest.$ac_ext <<EOF
14996 #line 14997 "configure"
14997 #include "confdefs.h"
14998 /* System header to define __stub macros and hopefully few prototypes,
14999     which can conflict with char $ac_func(); below.  */
15000 #include <assert.h>
15001 /* Override any gcc2 internal prototype to avoid an error.  */
15002 /* We use char because int might match the return type of a gcc2
15003     builtin and then its argument prototype would still apply.  */
15004 char $ac_func();
15005
15006 int main() {
15007
15008 /* The GNU C library defines this for functions which it implements
15009     to always fail with ENOSYS.  Some functions are actually named
15010     something starting with __ and the normal name is an alias.  */
15011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15012 choke me
15013 #else
15014 $ac_func();
15015 #endif
15016
15017 ; return 0; }
15018 EOF
15019 if { (eval echo configure:15020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15020   rm -rf conftest*
15021   eval "ac_cv_func_$ac_func=yes"
15022 else
15023   echo "configure: failed program was:" >&5
15024   cat conftest.$ac_ext >&5
15025   rm -rf conftest*
15026   eval "ac_cv_func_$ac_func=no"
15027 fi
15028 rm -f conftest*
15029 fi
15030
15031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15032   echo "$ac_t""yes" 1>&6
15033     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15034   cat >> confdefs.h <<EOF
15035 #define $ac_tr_func 1
15036 EOF
15037  
15038 else
15039   echo "$ac_t""no" 1>&6
15040 fi
15041 done
15042     
15043   fi
15044
15045   
15046   echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15047 echo "configure:15048: checking for _cosl declaration" >&5
15048   if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15049   echo $ac_n "(cached) $ac_c" 1>&6
15050 else
15051   
15052     
15053     ac_ext=C
15054 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15055 ac_cpp='$CXXCPP $CPPFLAGS'
15056 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15057 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15058 cross_compiling=$ac_cv_prog_cxx_cross
15059
15060     cat > conftest.$ac_ext <<EOF
15061 #line 15062 "configure"
15062 #include "confdefs.h"
15063 #include <math.h>
15064 int main() {
15065  _cosl(0);
15066 ; return 0; }
15067 EOF
15068 if { (eval echo configure:15069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15069   rm -rf conftest*
15070   glibcpp_cv_func__cosl_use=yes
15071 else
15072   echo "configure: failed program was:" >&5
15073   cat conftest.$ac_ext >&5
15074   rm -rf conftest*
15075   glibcpp_cv_func__cosl_use=no
15076 fi
15077 rm -f conftest*
15078     ac_ext=c
15079 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15080 ac_cpp='$CPP $CPPFLAGS'
15081 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15082 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15083 cross_compiling=$ac_cv_prog_cc_cross
15084
15085   
15086 fi
15087
15088   echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15089   if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15090     for ac_func in _cosl
15091 do
15092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15093 echo "configure:15094: checking for $ac_func" >&5
15094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15095   echo $ac_n "(cached) $ac_c" 1>&6
15096 else
15097   cat > conftest.$ac_ext <<EOF
15098 #line 15099 "configure"
15099 #include "confdefs.h"
15100 /* System header to define __stub macros and hopefully few prototypes,
15101     which can conflict with char $ac_func(); below.  */
15102 #include <assert.h>
15103 /* Override any gcc2 internal prototype to avoid an error.  */
15104 /* We use char because int might match the return type of a gcc2
15105     builtin and then its argument prototype would still apply.  */
15106 char $ac_func();
15107
15108 int main() {
15109
15110 /* The GNU C library defines this for functions which it implements
15111     to always fail with ENOSYS.  Some functions are actually named
15112     something starting with __ and the normal name is an alias.  */
15113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15114 choke me
15115 #else
15116 $ac_func();
15117 #endif
15118
15119 ; return 0; }
15120 EOF
15121 if { (eval echo configure:15122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15122   rm -rf conftest*
15123   eval "ac_cv_func_$ac_func=yes"
15124 else
15125   echo "configure: failed program was:" >&5
15126   cat conftest.$ac_ext >&5
15127   rm -rf conftest*
15128   eval "ac_cv_func_$ac_func=no"
15129 fi
15130 rm -f conftest*
15131 fi
15132
15133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15134   echo "$ac_t""yes" 1>&6
15135     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15136   cat >> confdefs.h <<EOF
15137 #define $ac_tr_func 1
15138 EOF
15139  
15140 else
15141   echo "$ac_t""no" 1>&6
15142 fi
15143 done
15144     
15145   fi
15146
15147   
15148   echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15149 echo "configure:15150: checking for _coshl declaration" >&5
15150   if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15151   echo $ac_n "(cached) $ac_c" 1>&6
15152 else
15153   
15154     
15155     ac_ext=C
15156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15157 ac_cpp='$CXXCPP $CPPFLAGS'
15158 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15159 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15160 cross_compiling=$ac_cv_prog_cxx_cross
15161
15162     cat > conftest.$ac_ext <<EOF
15163 #line 15164 "configure"
15164 #include "confdefs.h"
15165 #include <math.h>
15166 int main() {
15167  _coshl(0);
15168 ; return 0; }
15169 EOF
15170 if { (eval echo configure:15171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15171   rm -rf conftest*
15172   glibcpp_cv_func__coshl_use=yes
15173 else
15174   echo "configure: failed program was:" >&5
15175   cat conftest.$ac_ext >&5
15176   rm -rf conftest*
15177   glibcpp_cv_func__coshl_use=no
15178 fi
15179 rm -f conftest*
15180     ac_ext=c
15181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15182 ac_cpp='$CPP $CPPFLAGS'
15183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15185 cross_compiling=$ac_cv_prog_cc_cross
15186
15187   
15188 fi
15189
15190   echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15191   if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15192     for ac_func in _coshl
15193 do
15194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15195 echo "configure:15196: checking for $ac_func" >&5
15196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15197   echo $ac_n "(cached) $ac_c" 1>&6
15198 else
15199   cat > conftest.$ac_ext <<EOF
15200 #line 15201 "configure"
15201 #include "confdefs.h"
15202 /* System header to define __stub macros and hopefully few prototypes,
15203     which can conflict with char $ac_func(); below.  */
15204 #include <assert.h>
15205 /* Override any gcc2 internal prototype to avoid an error.  */
15206 /* We use char because int might match the return type of a gcc2
15207     builtin and then its argument prototype would still apply.  */
15208 char $ac_func();
15209
15210 int main() {
15211
15212 /* The GNU C library defines this for functions which it implements
15213     to always fail with ENOSYS.  Some functions are actually named
15214     something starting with __ and the normal name is an alias.  */
15215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15216 choke me
15217 #else
15218 $ac_func();
15219 #endif
15220
15221 ; return 0; }
15222 EOF
15223 if { (eval echo configure:15224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15224   rm -rf conftest*
15225   eval "ac_cv_func_$ac_func=yes"
15226 else
15227   echo "configure: failed program was:" >&5
15228   cat conftest.$ac_ext >&5
15229   rm -rf conftest*
15230   eval "ac_cv_func_$ac_func=no"
15231 fi
15232 rm -f conftest*
15233 fi
15234
15235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15236   echo "$ac_t""yes" 1>&6
15237     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15238   cat >> confdefs.h <<EOF
15239 #define $ac_tr_func 1
15240 EOF
15241  
15242 else
15243   echo "$ac_t""no" 1>&6
15244 fi
15245 done
15246     
15247   fi
15248
15249   
15250   echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15251 echo "configure:15252: checking for _expl declaration" >&5
15252   if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15253   echo $ac_n "(cached) $ac_c" 1>&6
15254 else
15255   
15256     
15257     ac_ext=C
15258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15259 ac_cpp='$CXXCPP $CPPFLAGS'
15260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15262 cross_compiling=$ac_cv_prog_cxx_cross
15263
15264     cat > conftest.$ac_ext <<EOF
15265 #line 15266 "configure"
15266 #include "confdefs.h"
15267 #include <math.h>
15268 int main() {
15269  _expl(0);
15270 ; return 0; }
15271 EOF
15272 if { (eval echo configure:15273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15273   rm -rf conftest*
15274   glibcpp_cv_func__expl_use=yes
15275 else
15276   echo "configure: failed program was:" >&5
15277   cat conftest.$ac_ext >&5
15278   rm -rf conftest*
15279   glibcpp_cv_func__expl_use=no
15280 fi
15281 rm -f conftest*
15282     ac_ext=c
15283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15284 ac_cpp='$CPP $CPPFLAGS'
15285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15287 cross_compiling=$ac_cv_prog_cc_cross
15288
15289   
15290 fi
15291
15292   echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15293   if test x$glibcpp_cv_func__expl_use = x"yes"; then
15294     for ac_func in _expl
15295 do
15296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15297 echo "configure:15298: checking for $ac_func" >&5
15298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15299   echo $ac_n "(cached) $ac_c" 1>&6
15300 else
15301   cat > conftest.$ac_ext <<EOF
15302 #line 15303 "configure"
15303 #include "confdefs.h"
15304 /* System header to define __stub macros and hopefully few prototypes,
15305     which can conflict with char $ac_func(); below.  */
15306 #include <assert.h>
15307 /* Override any gcc2 internal prototype to avoid an error.  */
15308 /* We use char because int might match the return type of a gcc2
15309     builtin and then its argument prototype would still apply.  */
15310 char $ac_func();
15311
15312 int main() {
15313
15314 /* The GNU C library defines this for functions which it implements
15315     to always fail with ENOSYS.  Some functions are actually named
15316     something starting with __ and the normal name is an alias.  */
15317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15318 choke me
15319 #else
15320 $ac_func();
15321 #endif
15322
15323 ; return 0; }
15324 EOF
15325 if { (eval echo configure:15326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15326   rm -rf conftest*
15327   eval "ac_cv_func_$ac_func=yes"
15328 else
15329   echo "configure: failed program was:" >&5
15330   cat conftest.$ac_ext >&5
15331   rm -rf conftest*
15332   eval "ac_cv_func_$ac_func=no"
15333 fi
15334 rm -f conftest*
15335 fi
15336
15337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15338   echo "$ac_t""yes" 1>&6
15339     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15340   cat >> confdefs.h <<EOF
15341 #define $ac_tr_func 1
15342 EOF
15343  
15344 else
15345   echo "$ac_t""no" 1>&6
15346 fi
15347 done
15348     
15349   fi
15350
15351   
15352   echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15353 echo "configure:15354: checking for _fabsl declaration" >&5
15354   if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15355   echo $ac_n "(cached) $ac_c" 1>&6
15356 else
15357   
15358     
15359     ac_ext=C
15360 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15361 ac_cpp='$CXXCPP $CPPFLAGS'
15362 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15363 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15364 cross_compiling=$ac_cv_prog_cxx_cross
15365
15366     cat > conftest.$ac_ext <<EOF
15367 #line 15368 "configure"
15368 #include "confdefs.h"
15369 #include <math.h>
15370 int main() {
15371  _fabsl(0);
15372 ; return 0; }
15373 EOF
15374 if { (eval echo configure:15375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15375   rm -rf conftest*
15376   glibcpp_cv_func__fabsl_use=yes
15377 else
15378   echo "configure: failed program was:" >&5
15379   cat conftest.$ac_ext >&5
15380   rm -rf conftest*
15381   glibcpp_cv_func__fabsl_use=no
15382 fi
15383 rm -f conftest*
15384     ac_ext=c
15385 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15386 ac_cpp='$CPP $CPPFLAGS'
15387 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15388 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15389 cross_compiling=$ac_cv_prog_cc_cross
15390
15391   
15392 fi
15393
15394   echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15395   if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15396     for ac_func in _fabsl
15397 do
15398 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15399 echo "configure:15400: checking for $ac_func" >&5
15400 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15401   echo $ac_n "(cached) $ac_c" 1>&6
15402 else
15403   cat > conftest.$ac_ext <<EOF
15404 #line 15405 "configure"
15405 #include "confdefs.h"
15406 /* System header to define __stub macros and hopefully few prototypes,
15407     which can conflict with char $ac_func(); below.  */
15408 #include <assert.h>
15409 /* Override any gcc2 internal prototype to avoid an error.  */
15410 /* We use char because int might match the return type of a gcc2
15411     builtin and then its argument prototype would still apply.  */
15412 char $ac_func();
15413
15414 int main() {
15415
15416 /* The GNU C library defines this for functions which it implements
15417     to always fail with ENOSYS.  Some functions are actually named
15418     something starting with __ and the normal name is an alias.  */
15419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15420 choke me
15421 #else
15422 $ac_func();
15423 #endif
15424
15425 ; return 0; }
15426 EOF
15427 if { (eval echo configure:15428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15428   rm -rf conftest*
15429   eval "ac_cv_func_$ac_func=yes"
15430 else
15431   echo "configure: failed program was:" >&5
15432   cat conftest.$ac_ext >&5
15433   rm -rf conftest*
15434   eval "ac_cv_func_$ac_func=no"
15435 fi
15436 rm -f conftest*
15437 fi
15438
15439 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15440   echo "$ac_t""yes" 1>&6
15441     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15442   cat >> confdefs.h <<EOF
15443 #define $ac_tr_func 1
15444 EOF
15445  
15446 else
15447   echo "$ac_t""no" 1>&6
15448 fi
15449 done
15450     
15451   fi
15452
15453   
15454   echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15455 echo "configure:15456: checking for _floorl declaration" >&5
15456   if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15457   echo $ac_n "(cached) $ac_c" 1>&6
15458 else
15459   
15460     
15461     ac_ext=C
15462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15463 ac_cpp='$CXXCPP $CPPFLAGS'
15464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15466 cross_compiling=$ac_cv_prog_cxx_cross
15467
15468     cat > conftest.$ac_ext <<EOF
15469 #line 15470 "configure"
15470 #include "confdefs.h"
15471 #include <math.h>
15472 int main() {
15473  _floorl(0);
15474 ; return 0; }
15475 EOF
15476 if { (eval echo configure:15477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15477   rm -rf conftest*
15478   glibcpp_cv_func__floorl_use=yes
15479 else
15480   echo "configure: failed program was:" >&5
15481   cat conftest.$ac_ext >&5
15482   rm -rf conftest*
15483   glibcpp_cv_func__floorl_use=no
15484 fi
15485 rm -f conftest*
15486     ac_ext=c
15487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15488 ac_cpp='$CPP $CPPFLAGS'
15489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15491 cross_compiling=$ac_cv_prog_cc_cross
15492
15493   
15494 fi
15495
15496   echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15497   if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15498     for ac_func in _floorl
15499 do
15500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15501 echo "configure:15502: checking for $ac_func" >&5
15502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15503   echo $ac_n "(cached) $ac_c" 1>&6
15504 else
15505   cat > conftest.$ac_ext <<EOF
15506 #line 15507 "configure"
15507 #include "confdefs.h"
15508 /* System header to define __stub macros and hopefully few prototypes,
15509     which can conflict with char $ac_func(); below.  */
15510 #include <assert.h>
15511 /* Override any gcc2 internal prototype to avoid an error.  */
15512 /* We use char because int might match the return type of a gcc2
15513     builtin and then its argument prototype would still apply.  */
15514 char $ac_func();
15515
15516 int main() {
15517
15518 /* The GNU C library defines this for functions which it implements
15519     to always fail with ENOSYS.  Some functions are actually named
15520     something starting with __ and the normal name is an alias.  */
15521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15522 choke me
15523 #else
15524 $ac_func();
15525 #endif
15526
15527 ; return 0; }
15528 EOF
15529 if { (eval echo configure:15530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15530   rm -rf conftest*
15531   eval "ac_cv_func_$ac_func=yes"
15532 else
15533   echo "configure: failed program was:" >&5
15534   cat conftest.$ac_ext >&5
15535   rm -rf conftest*
15536   eval "ac_cv_func_$ac_func=no"
15537 fi
15538 rm -f conftest*
15539 fi
15540
15541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15542   echo "$ac_t""yes" 1>&6
15543     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15544   cat >> confdefs.h <<EOF
15545 #define $ac_tr_func 1
15546 EOF
15547  
15548 else
15549   echo "$ac_t""no" 1>&6
15550 fi
15551 done
15552     
15553   fi
15554
15555   
15556   echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15557 echo "configure:15558: checking for _fmodl declaration" >&5
15558   if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15559   echo $ac_n "(cached) $ac_c" 1>&6
15560 else
15561   
15562     
15563     ac_ext=C
15564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15565 ac_cpp='$CXXCPP $CPPFLAGS'
15566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15568 cross_compiling=$ac_cv_prog_cxx_cross
15569
15570     cat > conftest.$ac_ext <<EOF
15571 #line 15572 "configure"
15572 #include "confdefs.h"
15573 #include <math.h>
15574 int main() {
15575  _fmodl(0, 0);
15576 ; return 0; }
15577 EOF
15578 if { (eval echo configure:15579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15579   rm -rf conftest*
15580   glibcpp_cv_func__fmodl_use=yes
15581 else
15582   echo "configure: failed program was:" >&5
15583   cat conftest.$ac_ext >&5
15584   rm -rf conftest*
15585   glibcpp_cv_func__fmodl_use=no
15586 fi
15587 rm -f conftest*
15588     ac_ext=c
15589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15590 ac_cpp='$CPP $CPPFLAGS'
15591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15593 cross_compiling=$ac_cv_prog_cc_cross
15594
15595   
15596 fi
15597
15598   echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15599   if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15600     for ac_func in _fmodl
15601 do
15602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15603 echo "configure:15604: checking for $ac_func" >&5
15604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15605   echo $ac_n "(cached) $ac_c" 1>&6
15606 else
15607   cat > conftest.$ac_ext <<EOF
15608 #line 15609 "configure"
15609 #include "confdefs.h"
15610 /* System header to define __stub macros and hopefully few prototypes,
15611     which can conflict with char $ac_func(); below.  */
15612 #include <assert.h>
15613 /* Override any gcc2 internal prototype to avoid an error.  */
15614 /* We use char because int might match the return type of a gcc2
15615     builtin and then its argument prototype would still apply.  */
15616 char $ac_func();
15617
15618 int main() {
15619
15620 /* The GNU C library defines this for functions which it implements
15621     to always fail with ENOSYS.  Some functions are actually named
15622     something starting with __ and the normal name is an alias.  */
15623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15624 choke me
15625 #else
15626 $ac_func();
15627 #endif
15628
15629 ; return 0; }
15630 EOF
15631 if { (eval echo configure:15632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15632   rm -rf conftest*
15633   eval "ac_cv_func_$ac_func=yes"
15634 else
15635   echo "configure: failed program was:" >&5
15636   cat conftest.$ac_ext >&5
15637   rm -rf conftest*
15638   eval "ac_cv_func_$ac_func=no"
15639 fi
15640 rm -f conftest*
15641 fi
15642
15643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15644   echo "$ac_t""yes" 1>&6
15645     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15646   cat >> confdefs.h <<EOF
15647 #define $ac_tr_func 1
15648 EOF
15649  
15650 else
15651   echo "$ac_t""no" 1>&6
15652 fi
15653 done
15654     
15655   fi
15656
15657   
15658   echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15659 echo "configure:15660: checking for _frexpl declaration" >&5
15660   if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15661   echo $ac_n "(cached) $ac_c" 1>&6
15662 else
15663   
15664     
15665     ac_ext=C
15666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15667 ac_cpp='$CXXCPP $CPPFLAGS'
15668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15670 cross_compiling=$ac_cv_prog_cxx_cross
15671
15672     cat > conftest.$ac_ext <<EOF
15673 #line 15674 "configure"
15674 #include "confdefs.h"
15675 #include <math.h>
15676 int main() {
15677  _frexpl(0, 0);
15678 ; return 0; }
15679 EOF
15680 if { (eval echo configure:15681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15681   rm -rf conftest*
15682   glibcpp_cv_func__frexpl_use=yes
15683 else
15684   echo "configure: failed program was:" >&5
15685   cat conftest.$ac_ext >&5
15686   rm -rf conftest*
15687   glibcpp_cv_func__frexpl_use=no
15688 fi
15689 rm -f conftest*
15690     ac_ext=c
15691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15695 cross_compiling=$ac_cv_prog_cc_cross
15696
15697   
15698 fi
15699
15700   echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15701   if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15702     for ac_func in _frexpl
15703 do
15704 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15705 echo "configure:15706: checking for $ac_func" >&5
15706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15707   echo $ac_n "(cached) $ac_c" 1>&6
15708 else
15709   cat > conftest.$ac_ext <<EOF
15710 #line 15711 "configure"
15711 #include "confdefs.h"
15712 /* System header to define __stub macros and hopefully few prototypes,
15713     which can conflict with char $ac_func(); below.  */
15714 #include <assert.h>
15715 /* Override any gcc2 internal prototype to avoid an error.  */
15716 /* We use char because int might match the return type of a gcc2
15717     builtin and then its argument prototype would still apply.  */
15718 char $ac_func();
15719
15720 int main() {
15721
15722 /* The GNU C library defines this for functions which it implements
15723     to always fail with ENOSYS.  Some functions are actually named
15724     something starting with __ and the normal name is an alias.  */
15725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15726 choke me
15727 #else
15728 $ac_func();
15729 #endif
15730
15731 ; return 0; }
15732 EOF
15733 if { (eval echo configure:15734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15734   rm -rf conftest*
15735   eval "ac_cv_func_$ac_func=yes"
15736 else
15737   echo "configure: failed program was:" >&5
15738   cat conftest.$ac_ext >&5
15739   rm -rf conftest*
15740   eval "ac_cv_func_$ac_func=no"
15741 fi
15742 rm -f conftest*
15743 fi
15744
15745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15746   echo "$ac_t""yes" 1>&6
15747     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15748   cat >> confdefs.h <<EOF
15749 #define $ac_tr_func 1
15750 EOF
15751  
15752 else
15753   echo "$ac_t""no" 1>&6
15754 fi
15755 done
15756     
15757   fi
15758
15759   
15760   echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15761 echo "configure:15762: checking for _ldexpl declaration" >&5
15762   if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15763   echo $ac_n "(cached) $ac_c" 1>&6
15764 else
15765   
15766     
15767     ac_ext=C
15768 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15769 ac_cpp='$CXXCPP $CPPFLAGS'
15770 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15771 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15772 cross_compiling=$ac_cv_prog_cxx_cross
15773
15774     cat > conftest.$ac_ext <<EOF
15775 #line 15776 "configure"
15776 #include "confdefs.h"
15777 #include <math.h>
15778 int main() {
15779  _ldexpl(0, 0);
15780 ; return 0; }
15781 EOF
15782 if { (eval echo configure:15783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15783   rm -rf conftest*
15784   glibcpp_cv_func__ldexpl_use=yes
15785 else
15786   echo "configure: failed program was:" >&5
15787   cat conftest.$ac_ext >&5
15788   rm -rf conftest*
15789   glibcpp_cv_func__ldexpl_use=no
15790 fi
15791 rm -f conftest*
15792     ac_ext=c
15793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15794 ac_cpp='$CPP $CPPFLAGS'
15795 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15796 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15797 cross_compiling=$ac_cv_prog_cc_cross
15798
15799   
15800 fi
15801
15802   echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15803   if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15804     for ac_func in _ldexpl
15805 do
15806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15807 echo "configure:15808: checking for $ac_func" >&5
15808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15809   echo $ac_n "(cached) $ac_c" 1>&6
15810 else
15811   cat > conftest.$ac_ext <<EOF
15812 #line 15813 "configure"
15813 #include "confdefs.h"
15814 /* System header to define __stub macros and hopefully few prototypes,
15815     which can conflict with char $ac_func(); below.  */
15816 #include <assert.h>
15817 /* Override any gcc2 internal prototype to avoid an error.  */
15818 /* We use char because int might match the return type of a gcc2
15819     builtin and then its argument prototype would still apply.  */
15820 char $ac_func();
15821
15822 int main() {
15823
15824 /* The GNU C library defines this for functions which it implements
15825     to always fail with ENOSYS.  Some functions are actually named
15826     something starting with __ and the normal name is an alias.  */
15827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15828 choke me
15829 #else
15830 $ac_func();
15831 #endif
15832
15833 ; return 0; }
15834 EOF
15835 if { (eval echo configure:15836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15836   rm -rf conftest*
15837   eval "ac_cv_func_$ac_func=yes"
15838 else
15839   echo "configure: failed program was:" >&5
15840   cat conftest.$ac_ext >&5
15841   rm -rf conftest*
15842   eval "ac_cv_func_$ac_func=no"
15843 fi
15844 rm -f conftest*
15845 fi
15846
15847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15848   echo "$ac_t""yes" 1>&6
15849     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15850   cat >> confdefs.h <<EOF
15851 #define $ac_tr_func 1
15852 EOF
15853  
15854 else
15855   echo "$ac_t""no" 1>&6
15856 fi
15857 done
15858     
15859   fi
15860
15861   
15862   echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15863 echo "configure:15864: checking for _logl declaration" >&5
15864   if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15865   echo $ac_n "(cached) $ac_c" 1>&6
15866 else
15867   
15868     
15869     ac_ext=C
15870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15871 ac_cpp='$CXXCPP $CPPFLAGS'
15872 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15873 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15874 cross_compiling=$ac_cv_prog_cxx_cross
15875
15876     cat > conftest.$ac_ext <<EOF
15877 #line 15878 "configure"
15878 #include "confdefs.h"
15879 #include <math.h>
15880 int main() {
15881  _logl(0);
15882 ; return 0; }
15883 EOF
15884 if { (eval echo configure:15885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15885   rm -rf conftest*
15886   glibcpp_cv_func__logl_use=yes
15887 else
15888   echo "configure: failed program was:" >&5
15889   cat conftest.$ac_ext >&5
15890   rm -rf conftest*
15891   glibcpp_cv_func__logl_use=no
15892 fi
15893 rm -f conftest*
15894     ac_ext=c
15895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15896 ac_cpp='$CPP $CPPFLAGS'
15897 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15898 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15899 cross_compiling=$ac_cv_prog_cc_cross
15900
15901   
15902 fi
15903
15904   echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15905   if test x$glibcpp_cv_func__logl_use = x"yes"; then
15906     for ac_func in _logl
15907 do
15908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15909 echo "configure:15910: checking for $ac_func" >&5
15910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15911   echo $ac_n "(cached) $ac_c" 1>&6
15912 else
15913   cat > conftest.$ac_ext <<EOF
15914 #line 15915 "configure"
15915 #include "confdefs.h"
15916 /* System header to define __stub macros and hopefully few prototypes,
15917     which can conflict with char $ac_func(); below.  */
15918 #include <assert.h>
15919 /* Override any gcc2 internal prototype to avoid an error.  */
15920 /* We use char because int might match the return type of a gcc2
15921     builtin and then its argument prototype would still apply.  */
15922 char $ac_func();
15923
15924 int main() {
15925
15926 /* The GNU C library defines this for functions which it implements
15927     to always fail with ENOSYS.  Some functions are actually named
15928     something starting with __ and the normal name is an alias.  */
15929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15930 choke me
15931 #else
15932 $ac_func();
15933 #endif
15934
15935 ; return 0; }
15936 EOF
15937 if { (eval echo configure:15938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15938   rm -rf conftest*
15939   eval "ac_cv_func_$ac_func=yes"
15940 else
15941   echo "configure: failed program was:" >&5
15942   cat conftest.$ac_ext >&5
15943   rm -rf conftest*
15944   eval "ac_cv_func_$ac_func=no"
15945 fi
15946 rm -f conftest*
15947 fi
15948
15949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15950   echo "$ac_t""yes" 1>&6
15951     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15952   cat >> confdefs.h <<EOF
15953 #define $ac_tr_func 1
15954 EOF
15955  
15956 else
15957   echo "$ac_t""no" 1>&6
15958 fi
15959 done
15960     
15961   fi
15962
15963   
15964   echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
15965 echo "configure:15966: checking for _log10l declaration" >&5
15966   if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
15967   echo $ac_n "(cached) $ac_c" 1>&6
15968 else
15969   
15970     
15971     ac_ext=C
15972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15973 ac_cpp='$CXXCPP $CPPFLAGS'
15974 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15975 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15976 cross_compiling=$ac_cv_prog_cxx_cross
15977
15978     cat > conftest.$ac_ext <<EOF
15979 #line 15980 "configure"
15980 #include "confdefs.h"
15981 #include <math.h>
15982 int main() {
15983  _log10l(0);
15984 ; return 0; }
15985 EOF
15986 if { (eval echo configure:15987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15987   rm -rf conftest*
15988   glibcpp_cv_func__log10l_use=yes
15989 else
15990   echo "configure: failed program was:" >&5
15991   cat conftest.$ac_ext >&5
15992   rm -rf conftest*
15993   glibcpp_cv_func__log10l_use=no
15994 fi
15995 rm -f conftest*
15996     ac_ext=c
15997 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15998 ac_cpp='$CPP $CPPFLAGS'
15999 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16000 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16001 cross_compiling=$ac_cv_prog_cc_cross
16002
16003   
16004 fi
16005
16006   echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16007   if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16008     for ac_func in _log10l
16009 do
16010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16011 echo "configure:16012: checking for $ac_func" >&5
16012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16013   echo $ac_n "(cached) $ac_c" 1>&6
16014 else
16015   cat > conftest.$ac_ext <<EOF
16016 #line 16017 "configure"
16017 #include "confdefs.h"
16018 /* System header to define __stub macros and hopefully few prototypes,
16019     which can conflict with char $ac_func(); below.  */
16020 #include <assert.h>
16021 /* Override any gcc2 internal prototype to avoid an error.  */
16022 /* We use char because int might match the return type of a gcc2
16023     builtin and then its argument prototype would still apply.  */
16024 char $ac_func();
16025
16026 int main() {
16027
16028 /* The GNU C library defines this for functions which it implements
16029     to always fail with ENOSYS.  Some functions are actually named
16030     something starting with __ and the normal name is an alias.  */
16031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16032 choke me
16033 #else
16034 $ac_func();
16035 #endif
16036
16037 ; return 0; }
16038 EOF
16039 if { (eval echo configure:16040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16040   rm -rf conftest*
16041   eval "ac_cv_func_$ac_func=yes"
16042 else
16043   echo "configure: failed program was:" >&5
16044   cat conftest.$ac_ext >&5
16045   rm -rf conftest*
16046   eval "ac_cv_func_$ac_func=no"
16047 fi
16048 rm -f conftest*
16049 fi
16050
16051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16052   echo "$ac_t""yes" 1>&6
16053     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16054   cat >> confdefs.h <<EOF
16055 #define $ac_tr_func 1
16056 EOF
16057  
16058 else
16059   echo "$ac_t""no" 1>&6
16060 fi
16061 done
16062     
16063   fi
16064
16065   
16066   echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16067 echo "configure:16068: checking for _modfl declaration" >&5
16068   if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16069   echo $ac_n "(cached) $ac_c" 1>&6
16070 else
16071   
16072     
16073     ac_ext=C
16074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16075 ac_cpp='$CXXCPP $CPPFLAGS'
16076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16078 cross_compiling=$ac_cv_prog_cxx_cross
16079
16080     cat > conftest.$ac_ext <<EOF
16081 #line 16082 "configure"
16082 #include "confdefs.h"
16083 #include <math.h>
16084 int main() {
16085  _modfl(0, 0);
16086 ; return 0; }
16087 EOF
16088 if { (eval echo configure:16089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16089   rm -rf conftest*
16090   glibcpp_cv_func__modfl_use=yes
16091 else
16092   echo "configure: failed program was:" >&5
16093   cat conftest.$ac_ext >&5
16094   rm -rf conftest*
16095   glibcpp_cv_func__modfl_use=no
16096 fi
16097 rm -f conftest*
16098     ac_ext=c
16099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16100 ac_cpp='$CPP $CPPFLAGS'
16101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16103 cross_compiling=$ac_cv_prog_cc_cross
16104
16105   
16106 fi
16107
16108   echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16109   if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16110     for ac_func in _modfl
16111 do
16112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16113 echo "configure:16114: checking for $ac_func" >&5
16114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16115   echo $ac_n "(cached) $ac_c" 1>&6
16116 else
16117   cat > conftest.$ac_ext <<EOF
16118 #line 16119 "configure"
16119 #include "confdefs.h"
16120 /* System header to define __stub macros and hopefully few prototypes,
16121     which can conflict with char $ac_func(); below.  */
16122 #include <assert.h>
16123 /* Override any gcc2 internal prototype to avoid an error.  */
16124 /* We use char because int might match the return type of a gcc2
16125     builtin and then its argument prototype would still apply.  */
16126 char $ac_func();
16127
16128 int main() {
16129
16130 /* The GNU C library defines this for functions which it implements
16131     to always fail with ENOSYS.  Some functions are actually named
16132     something starting with __ and the normal name is an alias.  */
16133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16134 choke me
16135 #else
16136 $ac_func();
16137 #endif
16138
16139 ; return 0; }
16140 EOF
16141 if { (eval echo configure:16142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16142   rm -rf conftest*
16143   eval "ac_cv_func_$ac_func=yes"
16144 else
16145   echo "configure: failed program was:" >&5
16146   cat conftest.$ac_ext >&5
16147   rm -rf conftest*
16148   eval "ac_cv_func_$ac_func=no"
16149 fi
16150 rm -f conftest*
16151 fi
16152
16153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16154   echo "$ac_t""yes" 1>&6
16155     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16156   cat >> confdefs.h <<EOF
16157 #define $ac_tr_func 1
16158 EOF
16159  
16160 else
16161   echo "$ac_t""no" 1>&6
16162 fi
16163 done
16164     
16165   fi
16166
16167   
16168   echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16169 echo "configure:16170: checking for _powl declaration" >&5
16170   if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16171   echo $ac_n "(cached) $ac_c" 1>&6
16172 else
16173   
16174     
16175     ac_ext=C
16176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16177 ac_cpp='$CXXCPP $CPPFLAGS'
16178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16180 cross_compiling=$ac_cv_prog_cxx_cross
16181
16182     cat > conftest.$ac_ext <<EOF
16183 #line 16184 "configure"
16184 #include "confdefs.h"
16185 #include <math.h>
16186 int main() {
16187  _powl(0, 0);
16188 ; return 0; }
16189 EOF
16190 if { (eval echo configure:16191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16191   rm -rf conftest*
16192   glibcpp_cv_func__powl_use=yes
16193 else
16194   echo "configure: failed program was:" >&5
16195   cat conftest.$ac_ext >&5
16196   rm -rf conftest*
16197   glibcpp_cv_func__powl_use=no
16198 fi
16199 rm -f conftest*
16200     ac_ext=c
16201 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16204 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16205 cross_compiling=$ac_cv_prog_cc_cross
16206
16207   
16208 fi
16209
16210   echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16211   if test x$glibcpp_cv_func__powl_use = x"yes"; then
16212     for ac_func in _powl
16213 do
16214 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16215 echo "configure:16216: checking for $ac_func" >&5
16216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16217   echo $ac_n "(cached) $ac_c" 1>&6
16218 else
16219   cat > conftest.$ac_ext <<EOF
16220 #line 16221 "configure"
16221 #include "confdefs.h"
16222 /* System header to define __stub macros and hopefully few prototypes,
16223     which can conflict with char $ac_func(); below.  */
16224 #include <assert.h>
16225 /* Override any gcc2 internal prototype to avoid an error.  */
16226 /* We use char because int might match the return type of a gcc2
16227     builtin and then its argument prototype would still apply.  */
16228 char $ac_func();
16229
16230 int main() {
16231
16232 /* The GNU C library defines this for functions which it implements
16233     to always fail with ENOSYS.  Some functions are actually named
16234     something starting with __ and the normal name is an alias.  */
16235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16236 choke me
16237 #else
16238 $ac_func();
16239 #endif
16240
16241 ; return 0; }
16242 EOF
16243 if { (eval echo configure:16244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16244   rm -rf conftest*
16245   eval "ac_cv_func_$ac_func=yes"
16246 else
16247   echo "configure: failed program was:" >&5
16248   cat conftest.$ac_ext >&5
16249   rm -rf conftest*
16250   eval "ac_cv_func_$ac_func=no"
16251 fi
16252 rm -f conftest*
16253 fi
16254
16255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16256   echo "$ac_t""yes" 1>&6
16257     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16258   cat >> confdefs.h <<EOF
16259 #define $ac_tr_func 1
16260 EOF
16261  
16262 else
16263   echo "$ac_t""no" 1>&6
16264 fi
16265 done
16266     
16267   fi
16268
16269   
16270   echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16271 echo "configure:16272: checking for _sinl declaration" >&5
16272   if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16273   echo $ac_n "(cached) $ac_c" 1>&6
16274 else
16275   
16276     
16277     ac_ext=C
16278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16279 ac_cpp='$CXXCPP $CPPFLAGS'
16280 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16281 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16282 cross_compiling=$ac_cv_prog_cxx_cross
16283
16284     cat > conftest.$ac_ext <<EOF
16285 #line 16286 "configure"
16286 #include "confdefs.h"
16287 #include <math.h>
16288 int main() {
16289  _sinl(0);
16290 ; return 0; }
16291 EOF
16292 if { (eval echo configure:16293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16293   rm -rf conftest*
16294   glibcpp_cv_func__sinl_use=yes
16295 else
16296   echo "configure: failed program was:" >&5
16297   cat conftest.$ac_ext >&5
16298   rm -rf conftest*
16299   glibcpp_cv_func__sinl_use=no
16300 fi
16301 rm -f conftest*
16302     ac_ext=c
16303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16304 ac_cpp='$CPP $CPPFLAGS'
16305 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16306 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16307 cross_compiling=$ac_cv_prog_cc_cross
16308
16309   
16310 fi
16311
16312   echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16313   if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16314     for ac_func in _sinl
16315 do
16316 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16317 echo "configure:16318: checking for $ac_func" >&5
16318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16319   echo $ac_n "(cached) $ac_c" 1>&6
16320 else
16321   cat > conftest.$ac_ext <<EOF
16322 #line 16323 "configure"
16323 #include "confdefs.h"
16324 /* System header to define __stub macros and hopefully few prototypes,
16325     which can conflict with char $ac_func(); below.  */
16326 #include <assert.h>
16327 /* Override any gcc2 internal prototype to avoid an error.  */
16328 /* We use char because int might match the return type of a gcc2
16329     builtin and then its argument prototype would still apply.  */
16330 char $ac_func();
16331
16332 int main() {
16333
16334 /* The GNU C library defines this for functions which it implements
16335     to always fail with ENOSYS.  Some functions are actually named
16336     something starting with __ and the normal name is an alias.  */
16337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16338 choke me
16339 #else
16340 $ac_func();
16341 #endif
16342
16343 ; return 0; }
16344 EOF
16345 if { (eval echo configure:16346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16346   rm -rf conftest*
16347   eval "ac_cv_func_$ac_func=yes"
16348 else
16349   echo "configure: failed program was:" >&5
16350   cat conftest.$ac_ext >&5
16351   rm -rf conftest*
16352   eval "ac_cv_func_$ac_func=no"
16353 fi
16354 rm -f conftest*
16355 fi
16356
16357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16358   echo "$ac_t""yes" 1>&6
16359     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16360   cat >> confdefs.h <<EOF
16361 #define $ac_tr_func 1
16362 EOF
16363  
16364 else
16365   echo "$ac_t""no" 1>&6
16366 fi
16367 done
16368     
16369   fi
16370
16371   
16372   echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16373 echo "configure:16374: checking for _sinhl declaration" >&5
16374   if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16375   echo $ac_n "(cached) $ac_c" 1>&6
16376 else
16377   
16378     
16379     ac_ext=C
16380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16381 ac_cpp='$CXXCPP $CPPFLAGS'
16382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16384 cross_compiling=$ac_cv_prog_cxx_cross
16385
16386     cat > conftest.$ac_ext <<EOF
16387 #line 16388 "configure"
16388 #include "confdefs.h"
16389 #include <math.h>
16390 int main() {
16391  _sinhl(0);
16392 ; return 0; }
16393 EOF
16394 if { (eval echo configure:16395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16395   rm -rf conftest*
16396   glibcpp_cv_func__sinhl_use=yes
16397 else
16398   echo "configure: failed program was:" >&5
16399   cat conftest.$ac_ext >&5
16400   rm -rf conftest*
16401   glibcpp_cv_func__sinhl_use=no
16402 fi
16403 rm -f conftest*
16404     ac_ext=c
16405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16406 ac_cpp='$CPP $CPPFLAGS'
16407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16409 cross_compiling=$ac_cv_prog_cc_cross
16410
16411   
16412 fi
16413
16414   echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16415   if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16416     for ac_func in _sinhl
16417 do
16418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16419 echo "configure:16420: checking for $ac_func" >&5
16420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16421   echo $ac_n "(cached) $ac_c" 1>&6
16422 else
16423   cat > conftest.$ac_ext <<EOF
16424 #line 16425 "configure"
16425 #include "confdefs.h"
16426 /* System header to define __stub macros and hopefully few prototypes,
16427     which can conflict with char $ac_func(); below.  */
16428 #include <assert.h>
16429 /* Override any gcc2 internal prototype to avoid an error.  */
16430 /* We use char because int might match the return type of a gcc2
16431     builtin and then its argument prototype would still apply.  */
16432 char $ac_func();
16433
16434 int main() {
16435
16436 /* The GNU C library defines this for functions which it implements
16437     to always fail with ENOSYS.  Some functions are actually named
16438     something starting with __ and the normal name is an alias.  */
16439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16440 choke me
16441 #else
16442 $ac_func();
16443 #endif
16444
16445 ; return 0; }
16446 EOF
16447 if { (eval echo configure:16448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16448   rm -rf conftest*
16449   eval "ac_cv_func_$ac_func=yes"
16450 else
16451   echo "configure: failed program was:" >&5
16452   cat conftest.$ac_ext >&5
16453   rm -rf conftest*
16454   eval "ac_cv_func_$ac_func=no"
16455 fi
16456 rm -f conftest*
16457 fi
16458
16459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16460   echo "$ac_t""yes" 1>&6
16461     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16462   cat >> confdefs.h <<EOF
16463 #define $ac_tr_func 1
16464 EOF
16465  
16466 else
16467   echo "$ac_t""no" 1>&6
16468 fi
16469 done
16470     
16471   fi
16472
16473   
16474   echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16475 echo "configure:16476: checking for _sqrtl declaration" >&5
16476   if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16477   echo $ac_n "(cached) $ac_c" 1>&6
16478 else
16479   
16480     
16481     ac_ext=C
16482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16483 ac_cpp='$CXXCPP $CPPFLAGS'
16484 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16485 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16486 cross_compiling=$ac_cv_prog_cxx_cross
16487
16488     cat > conftest.$ac_ext <<EOF
16489 #line 16490 "configure"
16490 #include "confdefs.h"
16491 #include <math.h>
16492 int main() {
16493  _sqrtl(0);
16494 ; return 0; }
16495 EOF
16496 if { (eval echo configure:16497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16497   rm -rf conftest*
16498   glibcpp_cv_func__sqrtl_use=yes
16499 else
16500   echo "configure: failed program was:" >&5
16501   cat conftest.$ac_ext >&5
16502   rm -rf conftest*
16503   glibcpp_cv_func__sqrtl_use=no
16504 fi
16505 rm -f conftest*
16506     ac_ext=c
16507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16508 ac_cpp='$CPP $CPPFLAGS'
16509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16511 cross_compiling=$ac_cv_prog_cc_cross
16512
16513   
16514 fi
16515
16516   echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16517   if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16518     for ac_func in _sqrtl
16519 do
16520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16521 echo "configure:16522: checking for $ac_func" >&5
16522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16523   echo $ac_n "(cached) $ac_c" 1>&6
16524 else
16525   cat > conftest.$ac_ext <<EOF
16526 #line 16527 "configure"
16527 #include "confdefs.h"
16528 /* System header to define __stub macros and hopefully few prototypes,
16529     which can conflict with char $ac_func(); below.  */
16530 #include <assert.h>
16531 /* Override any gcc2 internal prototype to avoid an error.  */
16532 /* We use char because int might match the return type of a gcc2
16533     builtin and then its argument prototype would still apply.  */
16534 char $ac_func();
16535
16536 int main() {
16537
16538 /* The GNU C library defines this for functions which it implements
16539     to always fail with ENOSYS.  Some functions are actually named
16540     something starting with __ and the normal name is an alias.  */
16541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16542 choke me
16543 #else
16544 $ac_func();
16545 #endif
16546
16547 ; return 0; }
16548 EOF
16549 if { (eval echo configure:16550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16550   rm -rf conftest*
16551   eval "ac_cv_func_$ac_func=yes"
16552 else
16553   echo "configure: failed program was:" >&5
16554   cat conftest.$ac_ext >&5
16555   rm -rf conftest*
16556   eval "ac_cv_func_$ac_func=no"
16557 fi
16558 rm -f conftest*
16559 fi
16560
16561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16562   echo "$ac_t""yes" 1>&6
16563     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16564   cat >> confdefs.h <<EOF
16565 #define $ac_tr_func 1
16566 EOF
16567  
16568 else
16569   echo "$ac_t""no" 1>&6
16570 fi
16571 done
16572     
16573   fi
16574
16575   
16576   echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16577 echo "configure:16578: checking for _tanl declaration" >&5
16578   if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16579   echo $ac_n "(cached) $ac_c" 1>&6
16580 else
16581   
16582     
16583     ac_ext=C
16584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16585 ac_cpp='$CXXCPP $CPPFLAGS'
16586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16588 cross_compiling=$ac_cv_prog_cxx_cross
16589
16590     cat > conftest.$ac_ext <<EOF
16591 #line 16592 "configure"
16592 #include "confdefs.h"
16593 #include <math.h>
16594 int main() {
16595  _tanl(0);
16596 ; return 0; }
16597 EOF
16598 if { (eval echo configure:16599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16599   rm -rf conftest*
16600   glibcpp_cv_func__tanl_use=yes
16601 else
16602   echo "configure: failed program was:" >&5
16603   cat conftest.$ac_ext >&5
16604   rm -rf conftest*
16605   glibcpp_cv_func__tanl_use=no
16606 fi
16607 rm -f conftest*
16608     ac_ext=c
16609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16610 ac_cpp='$CPP $CPPFLAGS'
16611 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16612 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16613 cross_compiling=$ac_cv_prog_cc_cross
16614
16615   
16616 fi
16617
16618   echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16619   if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16620     for ac_func in _tanl
16621 do
16622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16623 echo "configure:16624: checking for $ac_func" >&5
16624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16625   echo $ac_n "(cached) $ac_c" 1>&6
16626 else
16627   cat > conftest.$ac_ext <<EOF
16628 #line 16629 "configure"
16629 #include "confdefs.h"
16630 /* System header to define __stub macros and hopefully few prototypes,
16631     which can conflict with char $ac_func(); below.  */
16632 #include <assert.h>
16633 /* Override any gcc2 internal prototype to avoid an error.  */
16634 /* We use char because int might match the return type of a gcc2
16635     builtin and then its argument prototype would still apply.  */
16636 char $ac_func();
16637
16638 int main() {
16639
16640 /* The GNU C library defines this for functions which it implements
16641     to always fail with ENOSYS.  Some functions are actually named
16642     something starting with __ and the normal name is an alias.  */
16643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16644 choke me
16645 #else
16646 $ac_func();
16647 #endif
16648
16649 ; return 0; }
16650 EOF
16651 if { (eval echo configure:16652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16652   rm -rf conftest*
16653   eval "ac_cv_func_$ac_func=yes"
16654 else
16655   echo "configure: failed program was:" >&5
16656   cat conftest.$ac_ext >&5
16657   rm -rf conftest*
16658   eval "ac_cv_func_$ac_func=no"
16659 fi
16660 rm -f conftest*
16661 fi
16662
16663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16664   echo "$ac_t""yes" 1>&6
16665     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16666   cat >> confdefs.h <<EOF
16667 #define $ac_tr_func 1
16668 EOF
16669  
16670 else
16671   echo "$ac_t""no" 1>&6
16672 fi
16673 done
16674     
16675   fi
16676
16677   
16678   echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16679 echo "configure:16680: checking for _tanhl declaration" >&5
16680   if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16681   echo $ac_n "(cached) $ac_c" 1>&6
16682 else
16683   
16684     
16685     ac_ext=C
16686 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16687 ac_cpp='$CXXCPP $CPPFLAGS'
16688 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16689 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16690 cross_compiling=$ac_cv_prog_cxx_cross
16691
16692     cat > conftest.$ac_ext <<EOF
16693 #line 16694 "configure"
16694 #include "confdefs.h"
16695 #include <math.h>
16696 int main() {
16697  _tanhl(0);
16698 ; return 0; }
16699 EOF
16700 if { (eval echo configure:16701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16701   rm -rf conftest*
16702   glibcpp_cv_func__tanhl_use=yes
16703 else
16704   echo "configure: failed program was:" >&5
16705   cat conftest.$ac_ext >&5
16706   rm -rf conftest*
16707   glibcpp_cv_func__tanhl_use=no
16708 fi
16709 rm -f conftest*
16710     ac_ext=c
16711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16712 ac_cpp='$CPP $CPPFLAGS'
16713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16715 cross_compiling=$ac_cv_prog_cc_cross
16716
16717   
16718 fi
16719
16720   echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
16721   if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
16722     for ac_func in _tanhl
16723 do
16724 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16725 echo "configure:16726: checking for $ac_func" >&5
16726 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16727   echo $ac_n "(cached) $ac_c" 1>&6
16728 else
16729   cat > conftest.$ac_ext <<EOF
16730 #line 16731 "configure"
16731 #include "confdefs.h"
16732 /* System header to define __stub macros and hopefully few prototypes,
16733     which can conflict with char $ac_func(); below.  */
16734 #include <assert.h>
16735 /* Override any gcc2 internal prototype to avoid an error.  */
16736 /* We use char because int might match the return type of a gcc2
16737     builtin and then its argument prototype would still apply.  */
16738 char $ac_func();
16739
16740 int main() {
16741
16742 /* The GNU C library defines this for functions which it implements
16743     to always fail with ENOSYS.  Some functions are actually named
16744     something starting with __ and the normal name is an alias.  */
16745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16746 choke me
16747 #else
16748 $ac_func();
16749 #endif
16750
16751 ; return 0; }
16752 EOF
16753 if { (eval echo configure:16754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16754   rm -rf conftest*
16755   eval "ac_cv_func_$ac_func=yes"
16756 else
16757   echo "configure: failed program was:" >&5
16758   cat conftest.$ac_ext >&5
16759   rm -rf conftest*
16760   eval "ac_cv_func_$ac_func=no"
16761 fi
16762 rm -f conftest*
16763 fi
16764
16765 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16766   echo "$ac_t""yes" 1>&6
16767     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16768   cat >> confdefs.h <<EOF
16769 #define $ac_tr_func 1
16770 EOF
16771  
16772 else
16773   echo "$ac_t""no" 1>&6
16774 fi
16775 done
16776     
16777   fi
16778
16779   
16780   echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16781 echo "configure:16782: checking for _sincosl declaration" >&5
16782   if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16783   echo $ac_n "(cached) $ac_c" 1>&6
16784 else
16785   
16786     
16787     ac_ext=C
16788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16789 ac_cpp='$CXXCPP $CPPFLAGS'
16790 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16791 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16792 cross_compiling=$ac_cv_prog_cxx_cross
16793
16794     cat > conftest.$ac_ext <<EOF
16795 #line 16796 "configure"
16796 #include "confdefs.h"
16797 #include <math.h>
16798 int main() {
16799  _sincosl(0, 0, 0);
16800 ; return 0; }
16801 EOF
16802 if { (eval echo configure:16803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16803   rm -rf conftest*
16804   glibcpp_cv_func__sincosl_use=yes
16805 else
16806   echo "configure: failed program was:" >&5
16807   cat conftest.$ac_ext >&5
16808   rm -rf conftest*
16809   glibcpp_cv_func__sincosl_use=no
16810 fi
16811 rm -f conftest*
16812     ac_ext=c
16813 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16814 ac_cpp='$CPP $CPPFLAGS'
16815 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16816 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16817 cross_compiling=$ac_cv_prog_cc_cross
16818
16819   
16820 fi
16821
16822   echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16823   if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16824     for ac_func in _sincosl
16825 do
16826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16827 echo "configure:16828: checking for $ac_func" >&5
16828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16829   echo $ac_n "(cached) $ac_c" 1>&6
16830 else
16831   cat > conftest.$ac_ext <<EOF
16832 #line 16833 "configure"
16833 #include "confdefs.h"
16834 /* System header to define __stub macros and hopefully few prototypes,
16835     which can conflict with char $ac_func(); below.  */
16836 #include <assert.h>
16837 /* Override any gcc2 internal prototype to avoid an error.  */
16838 /* We use char because int might match the return type of a gcc2
16839     builtin and then its argument prototype would still apply.  */
16840 char $ac_func();
16841
16842 int main() {
16843
16844 /* The GNU C library defines this for functions which it implements
16845     to always fail with ENOSYS.  Some functions are actually named
16846     something starting with __ and the normal name is an alias.  */
16847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16848 choke me
16849 #else
16850 $ac_func();
16851 #endif
16852
16853 ; return 0; }
16854 EOF
16855 if { (eval echo configure:16856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16856   rm -rf conftest*
16857   eval "ac_cv_func_$ac_func=yes"
16858 else
16859   echo "configure: failed program was:" >&5
16860   cat conftest.$ac_ext >&5
16861   rm -rf conftest*
16862   eval "ac_cv_func_$ac_func=no"
16863 fi
16864 rm -f conftest*
16865 fi
16866
16867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16868   echo "$ac_t""yes" 1>&6
16869     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16870   cat >> confdefs.h <<EOF
16871 #define $ac_tr_func 1
16872 EOF
16873  
16874 else
16875   echo "$ac_t""no" 1>&6
16876 fi
16877 done
16878     
16879   fi
16880
16881   
16882   echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
16883 echo "configure:16884: checking for _finitel declaration" >&5
16884   if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
16885   echo $ac_n "(cached) $ac_c" 1>&6
16886 else
16887   
16888     
16889     ac_ext=C
16890 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16891 ac_cpp='$CXXCPP $CPPFLAGS'
16892 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16893 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16894 cross_compiling=$ac_cv_prog_cxx_cross
16895
16896     cat > conftest.$ac_ext <<EOF
16897 #line 16898 "configure"
16898 #include "confdefs.h"
16899 #include <math.h>
16900 int main() {
16901  _finitel(0);
16902 ; return 0; }
16903 EOF
16904 if { (eval echo configure:16905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16905   rm -rf conftest*
16906   glibcpp_cv_func__finitel_use=yes
16907 else
16908   echo "configure: failed program was:" >&5
16909   cat conftest.$ac_ext >&5
16910   rm -rf conftest*
16911   glibcpp_cv_func__finitel_use=no
16912 fi
16913 rm -f conftest*
16914     ac_ext=c
16915 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16916 ac_cpp='$CPP $CPPFLAGS'
16917 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16918 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16919 cross_compiling=$ac_cv_prog_cc_cross
16920
16921   
16922 fi
16923
16924   echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
16925   if test x$glibcpp_cv_func__finitel_use = x"yes"; then
16926     for ac_func in _finitel
16927 do
16928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16929 echo "configure:16930: checking for $ac_func" >&5
16930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16931   echo $ac_n "(cached) $ac_c" 1>&6
16932 else
16933   cat > conftest.$ac_ext <<EOF
16934 #line 16935 "configure"
16935 #include "confdefs.h"
16936 /* System header to define __stub macros and hopefully few prototypes,
16937     which can conflict with char $ac_func(); below.  */
16938 #include <assert.h>
16939 /* Override any gcc2 internal prototype to avoid an error.  */
16940 /* We use char because int might match the return type of a gcc2
16941     builtin and then its argument prototype would still apply.  */
16942 char $ac_func();
16943
16944 int main() {
16945
16946 /* The GNU C library defines this for functions which it implements
16947     to always fail with ENOSYS.  Some functions are actually named
16948     something starting with __ and the normal name is an alias.  */
16949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16950 choke me
16951 #else
16952 $ac_func();
16953 #endif
16954
16955 ; return 0; }
16956 EOF
16957 if { (eval echo configure:16958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16958   rm -rf conftest*
16959   eval "ac_cv_func_$ac_func=yes"
16960 else
16961   echo "configure: failed program was:" >&5
16962   cat conftest.$ac_ext >&5
16963   rm -rf conftest*
16964   eval "ac_cv_func_$ac_func=no"
16965 fi
16966 rm -f conftest*
16967 fi
16968
16969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16970   echo "$ac_t""yes" 1>&6
16971     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16972   cat >> confdefs.h <<EOF
16973 #define $ac_tr_func 1
16974 EOF
16975  
16976 else
16977   echo "$ac_t""no" 1>&6
16978 fi
16979 done
16980     
16981   fi
16982
16983
16984   LIBS="$ac_save_LIBS"
16985   CXXFLAGS="$ac_save_CXXFLAGS"
16986
16987   
16988     for ac_hdr in complex.h
16989 do
16990 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16991 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16992 echo "configure:16993: checking for $ac_hdr" >&5
16993 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16994   echo $ac_n "(cached) $ac_c" 1>&6
16995 else
16996   cat > conftest.$ac_ext <<EOF
16997 #line 16998 "configure"
16998 #include "confdefs.h"
16999 #include <$ac_hdr>
17000 EOF
17001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17002 { (eval echo configure:17003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17004 if test -z "$ac_err"; then
17005   rm -rf conftest*
17006   eval "ac_cv_header_$ac_safe=yes"
17007 else
17008   echo "$ac_err" >&5
17009   echo "configure: failed program was:" >&5
17010   cat conftest.$ac_ext >&5
17011   rm -rf conftest*
17012   eval "ac_cv_header_$ac_safe=no"
17013 fi
17014 rm -f conftest*
17015 fi
17016 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17017   echo "$ac_t""yes" 1>&6
17018     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17019   cat >> confdefs.h <<EOF
17020 #define $ac_tr_hdr 1
17021 EOF
17022  
17023 else
17024   echo "$ac_t""no" 1>&6
17025 fi
17026 done
17027
17028   echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
17029 echo "configure:17030: checking for main in -lm" >&5
17030 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
17031 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17032   echo $ac_n "(cached) $ac_c" 1>&6
17033 else
17034   ac_save_LIBS="$LIBS"
17035 LIBS="-lm  $LIBS"
17036 cat > conftest.$ac_ext <<EOF
17037 #line 17038 "configure"
17038 #include "confdefs.h"
17039
17040 int main() {
17041 main()
17042 ; return 0; }
17043 EOF
17044 if { (eval echo configure:17045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17045   rm -rf conftest*
17046   eval "ac_cv_lib_$ac_lib_var=yes"
17047 else
17048   echo "configure: failed program was:" >&5
17049   cat conftest.$ac_ext >&5
17050   rm -rf conftest*
17051   eval "ac_cv_lib_$ac_lib_var=no"
17052 fi
17053 rm -f conftest*
17054 LIBS="$ac_save_LIBS"
17055
17056 fi
17057 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17058   echo "$ac_t""yes" 1>&6
17059     ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
17060     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17061   cat >> confdefs.h <<EOF
17062 #define $ac_tr_lib 1
17063 EOF
17064
17065   LIBS="-lm $LIBS"
17066
17067 else
17068   echo "$ac_t""no" 1>&6
17069 fi
17070
17071   for ac_func in cabs cabsf ccos ccosf ccosh ccoshf cexp cexpf \
17072   c_log c_logf clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt \
17073   csqrtf ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf \
17074   copysignf
17075 do
17076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17077 echo "configure:17078: checking for $ac_func" >&5
17078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17079   echo $ac_n "(cached) $ac_c" 1>&6
17080 else
17081   cat > conftest.$ac_ext <<EOF
17082 #line 17083 "configure"
17083 #include "confdefs.h"
17084 /* System header to define __stub macros and hopefully few prototypes,
17085     which can conflict with char $ac_func(); below.  */
17086 #include <assert.h>
17087 /* Override any gcc2 internal prototype to avoid an error.  */
17088 /* We use char because int might match the return type of a gcc2
17089     builtin and then its argument prototype would still apply.  */
17090 char $ac_func();
17091
17092 int main() {
17093
17094 /* The GNU C library defines this for functions which it implements
17095     to always fail with ENOSYS.  Some functions are actually named
17096     something starting with __ and the normal name is an alias.  */
17097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17098 choke me
17099 #else
17100 $ac_func();
17101 #endif
17102
17103 ; return 0; }
17104 EOF
17105 if { (eval echo configure:17106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17106   rm -rf conftest*
17107   eval "ac_cv_func_$ac_func=yes"
17108 else
17109   echo "configure: failed program was:" >&5
17110   cat conftest.$ac_ext >&5
17111   rm -rf conftest*
17112   eval "ac_cv_func_$ac_func=no"
17113 fi
17114 rm -f conftest*
17115 fi
17116
17117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17118   echo "$ac_t""yes" 1>&6
17119     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17120   cat >> confdefs.h <<EOF
17121 #define $ac_tr_func 1
17122 EOF
17123  
17124 else
17125   echo "$ac_t""no" 1>&6
17126 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17127 fi
17128 done
17129
17130
17131
17132           USE_COMPLEX_LONG_DOUBLE=no
17133   if test x$ac_cv_func_atan2l = x"yes" \
17134      && test x$ac_cv_func_copysignl = x"yes"; then
17135     USE_COMPLEX_LONG_DOUBLE=yes
17136     for ac_func in cabsl ccoshl ccosl cexpl cpowl csinhl csinl \
17137     csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17138 do
17139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17140 echo "configure:17141: checking for $ac_func" >&5
17141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17142   echo $ac_n "(cached) $ac_c" 1>&6
17143 else
17144   cat > conftest.$ac_ext <<EOF
17145 #line 17146 "configure"
17146 #include "confdefs.h"
17147 /* System header to define __stub macros and hopefully few prototypes,
17148     which can conflict with char $ac_func(); below.  */
17149 #include <assert.h>
17150 /* Override any gcc2 internal prototype to avoid an error.  */
17151 /* We use char because int might match the return type of a gcc2
17152     builtin and then its argument prototype would still apply.  */
17153 char $ac_func();
17154
17155 int main() {
17156
17157 /* The GNU C library defines this for functions which it implements
17158     to always fail with ENOSYS.  Some functions are actually named
17159     something starting with __ and the normal name is an alias.  */
17160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17161 choke me
17162 #else
17163 $ac_func();
17164 #endif
17165
17166 ; return 0; }
17167 EOF
17168 if { (eval echo configure:17169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17169   rm -rf conftest*
17170   eval "ac_cv_func_$ac_func=yes"
17171 else
17172   echo "configure: failed program was:" >&5
17173   cat conftest.$ac_ext >&5
17174   rm -rf conftest*
17175   eval "ac_cv_func_$ac_func=no"
17176 fi
17177 rm -f conftest*
17178 fi
17179
17180 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17181   echo "$ac_t""yes" 1>&6
17182     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17183   cat >> confdefs.h <<EOF
17184 #define $ac_tr_func 1
17185 EOF
17186  
17187 else
17188   echo "$ac_t""no" 1>&6
17189 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17190 fi
17191 done
17192
17193
17194   fi
17195
17196   
17197
17198   
17199   
17200
17201   echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17202 echo "configure:17203: checking for GNU C++ __complex__ support" >&5
17203   if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17204   echo $ac_n "(cached) $ac_c" 1>&6
17205 else
17206   
17207     
17208     ac_ext=C
17209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17210 ac_cpp='$CXXCPP $CPPFLAGS'
17211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17213 cross_compiling=$ac_cv_prog_cxx_cross
17214
17215     cat > conftest.$ac_ext <<EOF
17216 #line 17217 "configure"
17217 #include "confdefs.h"
17218 struct dcomplex { __complex__ double x; }; \
17219                     dcomplex f(const dcomplex& x) { return dcomplex(x); }
17220 int main() {
17221 \
17222                      dcomplex x; f(x); 
17223 ; return 0; }
17224 EOF
17225 if { (eval echo configure:17226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17226   rm -rf conftest*
17227   glibcpp_cv_complex=ok
17228 else
17229   echo "configure: failed program was:" >&5
17230   cat conftest.$ac_ext >&5
17231   rm -rf conftest*
17232   glibcpp_cv_complex=buggy
17233     
17234 fi
17235 rm -f conftest*
17236     ac_ext=c
17237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17238 ac_cpp='$CPP $CPPFLAGS'
17239 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17240 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17241 cross_compiling=$ac_cv_prog_cc_cross
17242
17243   
17244 fi
17245
17246   echo "$ac_t""$glibcpp_cv_complex" 1>&6
17247   if test $glibcpp_cv_complex = buggy; then
17248     cat >> confdefs.h <<\EOF
17249 #define _GLIBCPP_BUGGY_COMPLEX 1
17250 EOF
17251
17252   fi
17253
17254   echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17255 echo "configure:17256: checking for GNU C++ __complex__ float support" >&5
17256   if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17257   echo $ac_n "(cached) $ac_c" 1>&6
17258 else
17259   
17260     
17261     ac_ext=C
17262 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17263 ac_cpp='$CXXCPP $CPPFLAGS'
17264 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17265 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17266 cross_compiling=$ac_cv_prog_cxx_cross
17267
17268     rm -f conftest.h
17269     cat > conftest.h <<EOB
17270       //
17271       // Check for buggy __complex__ that causes ICE in most versions of egcs
17272       // and gcc-2.95.x on certain platforms (eg., x86-win32).
17273       //
17274       // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
17275       // more info on the bug itself.
17276       //
17277       struct
17278       float_complex
17279       {
17280        __complex__ float m_value;
17281        float_complex (float = 0.0f, float = 0.0f);
17282        float_complex (__complex__ float val) : m_value (val) {}
17283        float_complex foo (const float_complex &val)
17284          { return float_complex (~val.m_value); }
17285       };
17286 EOB
17287     cat > conftest.$ac_ext <<EOF
17288 #line 17289 "configure"
17289 #include "confdefs.h"
17290 #include "conftest.h"
17291 int main() {
17292
17293 ; return 0; }
17294 EOF
17295 if { (eval echo configure:17296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17296   rm -rf conftest*
17297   glibcpp_cv_float_complex=ok
17298 else
17299   echo "configure: failed program was:" >&5
17300   cat conftest.$ac_ext >&5
17301   rm -rf conftest*
17302   glibcpp_cv_float_complex=buggy
17303     
17304 fi
17305 rm -f conftest*
17306     ac_ext=c
17307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17308 ac_cpp='$CPP $CPPFLAGS'
17309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17311 cross_compiling=$ac_cv_prog_cc_cross
17312
17313   
17314 fi
17315
17316   echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17317   if test $glibcpp_cv_float_complex = buggy; then
17318     cat >> confdefs.h <<\EOF
17319 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17320 EOF
17321
17322   fi
17323
17324   
17325   if test x$enable_c_mbchar != xno; then
17326
17327         ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17328 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17329 echo "configure:17330: checking for wchar.h" >&5
17330 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17331   echo $ac_n "(cached) $ac_c" 1>&6
17332 else
17333   cat > conftest.$ac_ext <<EOF
17334 #line 17335 "configure"
17335 #include "confdefs.h"
17336 #include <wchar.h>
17337 EOF
17338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17339 { (eval echo configure:17340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17341 if test -z "$ac_err"; then
17342   rm -rf conftest*
17343   eval "ac_cv_header_$ac_safe=yes"
17344 else
17345   echo "$ac_err" >&5
17346   echo "configure: failed program was:" >&5
17347   cat conftest.$ac_ext >&5
17348   rm -rf conftest*
17349   eval "ac_cv_header_$ac_safe=no"
17350 fi
17351 rm -f conftest*
17352 fi
17353 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17354   echo "$ac_t""yes" 1>&6
17355   ac_has_wchar_h=yes
17356 else
17357   echo "$ac_t""no" 1>&6
17358 ac_has_wchar_h=no
17359 fi
17360
17361     ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17362 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17363 echo "configure:17364: checking for wctype.h" >&5
17364 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17365   echo $ac_n "(cached) $ac_c" 1>&6
17366 else
17367   cat > conftest.$ac_ext <<EOF
17368 #line 17369 "configure"
17369 #include "confdefs.h"
17370 #include <wctype.h>
17371 EOF
17372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17373 { (eval echo configure:17374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17375 if test -z "$ac_err"; then
17376   rm -rf conftest*
17377   eval "ac_cv_header_$ac_safe=yes"
17378 else
17379   echo "$ac_err" >&5
17380   echo "configure: failed program was:" >&5
17381   cat conftest.$ac_ext >&5
17382   rm -rf conftest*
17383   eval "ac_cv_header_$ac_safe=no"
17384 fi
17385 rm -f conftest*
17386 fi
17387 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17388   echo "$ac_t""yes" 1>&6
17389   ac_has_wctype_h=yes
17390 else
17391   echo "$ac_t""no" 1>&6
17392 ac_has_wctype_h=no
17393 fi
17394
17395           
17396         if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17397   
17398                   echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17399 echo "configure:17400: checking for mbstate_t" >&5
17400       cat > conftest.$ac_ext <<EOF
17401 #line 17402 "configure"
17402 #include "confdefs.h"
17403 #include <wchar.h>
17404 int main() {
17405 mbstate_t teststate;
17406 ; return 0; }
17407 EOF
17408 if { (eval echo configure:17409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17409   rm -rf conftest*
17410   use_native_mbstatet=yes
17411 else
17412   echo "configure: failed program was:" >&5
17413   cat conftest.$ac_ext >&5
17414   rm -rf conftest*
17415   use_native_mbstatet=no
17416 fi
17417 rm -f conftest*
17418       echo "$ac_t""$use_native_mbstatet" 1>&6
17419       if test x"$use_native_mbstatet" = xno; then
17420         cat >> confdefs.h <<\EOF
17421 #define _GLIBCPP_NEED_MBSTATE_T 1
17422 EOF
17423
17424       fi
17425     
17426                   echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17427 echo "configure:17428: checking for WCHAR_MIN and WCHAR_MAX" >&5
17428       cat > conftest.$ac_ext <<EOF
17429 #line 17430 "configure"
17430 #include "confdefs.h"
17431 #include <wchar.h>
17432 int main() {
17433 int i = WCHAR_MIN; int j = WCHAR_MAX;
17434 ; return 0; }
17435 EOF
17436 if { (eval echo configure:17437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17437   rm -rf conftest*
17438   has_wchar_minmax=yes
17439 else
17440   echo "configure: failed program was:" >&5
17441   cat conftest.$ac_ext >&5
17442   rm -rf conftest*
17443   has_wchar_minmax=no
17444 fi
17445 rm -f conftest*
17446       echo "$ac_t""$has_wchar_minmax" 1>&6
17447     
17448                   echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17449 echo "configure:17450: checking for WEOF" >&5
17450       cat > conftest.$ac_ext <<EOF
17451 #line 17452 "configure"
17452 #include "confdefs.h"
17453
17454         #include <wchar.h>
17455         #include <stddef.h>
17456 int main() {
17457 wint_t i = WEOF;
17458 ; return 0; }
17459 EOF
17460 if { (eval echo configure:17461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17461   rm -rf conftest*
17462   has_weof=yes
17463 else
17464   echo "configure: failed program was:" >&5
17465   cat conftest.$ac_ext >&5
17466   rm -rf conftest*
17467   has_weof=no
17468 fi
17469 rm -f conftest*
17470       echo "$ac_t""$has_weof" 1>&6
17471   
17472             for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
17473       wcsrtombs mbsrtowcs
17474 do
17475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17476 echo "configure:17477: checking for $ac_func" >&5
17477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17478   echo $ac_n "(cached) $ac_c" 1>&6
17479 else
17480   cat > conftest.$ac_ext <<EOF
17481 #line 17482 "configure"
17482 #include "confdefs.h"
17483 /* System header to define __stub macros and hopefully few prototypes,
17484     which can conflict with char $ac_func(); below.  */
17485 #include <assert.h>
17486 /* Override any gcc2 internal prototype to avoid an error.  */
17487 /* We use char because int might match the return type of a gcc2
17488     builtin and then its argument prototype would still apply.  */
17489 char $ac_func();
17490
17491 int main() {
17492
17493 /* The GNU C library defines this for functions which it implements
17494     to always fail with ENOSYS.  Some functions are actually named
17495     something starting with __ and the normal name is an alias.  */
17496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17497 choke me
17498 #else
17499 $ac_func();
17500 #endif
17501
17502 ; return 0; }
17503 EOF
17504 if { (eval echo configure:17505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17505   rm -rf conftest*
17506   eval "ac_cv_func_$ac_func=yes"
17507 else
17508   echo "configure: failed program was:" >&5
17509   cat conftest.$ac_ext >&5
17510   rm -rf conftest*
17511   eval "ac_cv_func_$ac_func=no"
17512 fi
17513 rm -f conftest*
17514 fi
17515
17516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17517   echo "$ac_t""yes" 1>&6
17518     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17519   cat >> confdefs.h <<EOF
17520 #define $ac_tr_func 1
17521 EOF
17522  ac_wfuncs=yes
17523 else
17524   echo "$ac_t""no" 1>&6
17525 ac_wfuncs=no
17526 fi
17527 done
17528
17529   
17530       echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6
17531 echo "configure:17532: checking for ISO C9X wchar_t support" >&5
17532       if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
17533          && test x"$ac_wfuncs" = xyes; then
17534         ac_isoC9X_wchar_t=yes
17535       else
17536         ac_isoC9X_wchar_t=no
17537       fi
17538       echo "$ac_t""$ac_isoC9X_wchar_t" 1>&6
17539   
17540                   ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17541 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17542 echo "configure:17543: checking for iconv.h" >&5
17543 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17544   echo $ac_n "(cached) $ac_c" 1>&6
17545 else
17546   cat > conftest.$ac_ext <<EOF
17547 #line 17548 "configure"
17548 #include "confdefs.h"
17549 #include <iconv.h>
17550 EOF
17551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17552 { (eval echo configure:17553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17553 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17554 if test -z "$ac_err"; then
17555   rm -rf conftest*
17556   eval "ac_cv_header_$ac_safe=yes"
17557 else
17558   echo "$ac_err" >&5
17559   echo "configure: failed program was:" >&5
17560   cat conftest.$ac_ext >&5
17561   rm -rf conftest*
17562   eval "ac_cv_header_$ac_safe=no"
17563 fi
17564 rm -f conftest*
17565 fi
17566 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17567   echo "$ac_t""yes" 1>&6
17568   ac_has_iconv_h=yes
17569 else
17570   echo "$ac_t""no" 1>&6
17571 ac_has_iconv_h=no
17572 fi
17573
17574       ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17575 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17576 echo "configure:17577: checking for langinfo.h" >&5
17577 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17578   echo $ac_n "(cached) $ac_c" 1>&6
17579 else
17580   cat > conftest.$ac_ext <<EOF
17581 #line 17582 "configure"
17582 #include "confdefs.h"
17583 #include <langinfo.h>
17584 EOF
17585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17586 { (eval echo configure:17587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17588 if test -z "$ac_err"; then
17589   rm -rf conftest*
17590   eval "ac_cv_header_$ac_safe=yes"
17591 else
17592   echo "$ac_err" >&5
17593   echo "configure: failed program was:" >&5
17594   cat conftest.$ac_ext >&5
17595   rm -rf conftest*
17596   eval "ac_cv_header_$ac_safe=no"
17597 fi
17598 rm -f conftest*
17599 fi
17600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17601   echo "$ac_t""yes" 1>&6
17602   ac_has_langinfo_h=yes
17603 else
17604   echo "$ac_t""no" 1>&6
17605 ac_has_langinfo_h=no
17606 fi
17607
17608
17609             echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
17610 echo "configure:17611: checking for iconv in -liconv" >&5
17611 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
17612 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17613   echo $ac_n "(cached) $ac_c" 1>&6
17614 else
17615   ac_save_LIBS="$LIBS"
17616 LIBS="-liconv  $LIBS"
17617 cat > conftest.$ac_ext <<EOF
17618 #line 17619 "configure"
17619 #include "confdefs.h"
17620 /* Override any gcc2 internal prototype to avoid an error.  */
17621 /* We use char because int might match the return type of a gcc2
17622     builtin and then its argument prototype would still apply.  */
17623 char iconv();
17624
17625 int main() {
17626 iconv()
17627 ; return 0; }
17628 EOF
17629 if { (eval echo configure:17630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17630   rm -rf conftest*
17631   eval "ac_cv_lib_$ac_lib_var=yes"
17632 else
17633   echo "configure: failed program was:" >&5
17634   cat conftest.$ac_ext >&5
17635   rm -rf conftest*
17636   eval "ac_cv_lib_$ac_lib_var=no"
17637 fi
17638 rm -f conftest*
17639 LIBS="$ac_save_LIBS"
17640
17641 fi
17642 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17643   echo "$ac_t""yes" 1>&6
17644   libiconv="-liconv"
17645 else
17646   echo "$ac_t""no" 1>&6
17647 fi
17648
17649       ac_save_LIBS="$LIBS"
17650       LIBS="$LIBS $libiconv"
17651
17652       for ac_func in iconv_open iconv_close iconv nl_langinfo
17653 do
17654 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17655 echo "configure:17656: checking for $ac_func" >&5
17656 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17657   echo $ac_n "(cached) $ac_c" 1>&6
17658 else
17659   cat > conftest.$ac_ext <<EOF
17660 #line 17661 "configure"
17661 #include "confdefs.h"
17662 /* System header to define __stub macros and hopefully few prototypes,
17663     which can conflict with char $ac_func(); below.  */
17664 #include <assert.h>
17665 /* Override any gcc2 internal prototype to avoid an error.  */
17666 /* We use char because int might match the return type of a gcc2
17667     builtin and then its argument prototype would still apply.  */
17668 char $ac_func();
17669
17670 int main() {
17671
17672 /* The GNU C library defines this for functions which it implements
17673     to always fail with ENOSYS.  Some functions are actually named
17674     something starting with __ and the normal name is an alias.  */
17675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17676 choke me
17677 #else
17678 $ac_func();
17679 #endif
17680
17681 ; return 0; }
17682 EOF
17683 if { (eval echo configure:17684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17684   rm -rf conftest*
17685   eval "ac_cv_func_$ac_func=yes"
17686 else
17687   echo "configure: failed program was:" >&5
17688   cat conftest.$ac_ext >&5
17689   rm -rf conftest*
17690   eval "ac_cv_func_$ac_func=no"
17691 fi
17692 rm -f conftest*
17693 fi
17694
17695 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17696   echo "$ac_t""yes" 1>&6
17697     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17698   cat >> confdefs.h <<EOF
17699 #define $ac_tr_func 1
17700 EOF
17701  \
17702       ac_XPG2funcs=yes
17703 else
17704   echo "$ac_t""no" 1>&6
17705 ac_XPG2funcs=no
17706 fi
17707 done
17708
17709   
17710       LIBS="$ac_save_LIBS"
17711
17712       echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17713 echo "configure:17714: checking for XPG2 wchar_t support" >&5
17714       if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
17715          && test x"$ac_XPG2funcs" = xyes; then
17716         ac_XPG2_wchar_t=yes
17717       else
17718         ac_XPG2_wchar_t=no
17719       fi
17720       echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17721   
17722                   echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17723 echo "configure:17724: checking for enabled wchar_t specializations" >&5
17724       if test x"$ac_isoC9X_wchar_t" = xyes \
17725          && test x"$ac_XPG2_wchar_t" = xyes; then
17726         libinst_wstring_la="libinst-wstring.la"
17727         cat >> confdefs.h <<\EOF
17728 #define _GLIBCPP_USE_WCHAR_T 1
17729 EOF
17730
17731         echo "$ac_t"""yes"" 1>&6
17732       else
17733         libinst_wstring_la=""
17734         echo "$ac_t"""no"" 1>&6
17735       fi
17736       
17737   
17738     else
17739       echo "configure: warning: <wchar.h> not found" 1>&2
17740       cat >> confdefs.h <<\EOF
17741 #define _GLIBCPP_NEED_MBSTATE_T 1
17742 EOF
17743
17744     fi
17745
17746   else
17747         :
17748   fi
17749
17750   
17751   ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17752 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17753 echo "configure:17754: checking for ctype.h" >&5
17754 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17755   echo $ac_n "(cached) $ac_c" 1>&6
17756 else
17757   cat > conftest.$ac_ext <<EOF
17758 #line 17759 "configure"
17759 #include "confdefs.h"
17760 #include <ctype.h>
17761 EOF
17762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17763 { (eval echo configure:17764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17765 if test -z "$ac_err"; then
17766   rm -rf conftest*
17767   eval "ac_cv_header_$ac_safe=yes"
17768 else
17769   echo "$ac_err" >&5
17770   echo "configure: failed program was:" >&5
17771   cat conftest.$ac_ext >&5
17772   rm -rf conftest*
17773   eval "ac_cv_header_$ac_safe=no"
17774 fi
17775 rm -f conftest*
17776 fi
17777 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17778   echo "$ac_t""yes" 1>&6
17779   
17780     
17781         ctype_default=yes
17782
17783         echo $ac_n "checking <ctype> for GNU/Linux""... $ac_c" 1>&6
17784 echo "configure:17785: checking <ctype> for GNU/Linux" >&5
17785     cat > conftest.$ac_ext <<EOF
17786 #line 17787 "configure"
17787 #include "confdefs.h"
17788 #include <ctype.h>
17789 int main() {
17790 int
17791     foo (int a)
17792     { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
17793         + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
17794         + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
17795 ; return 0; }
17796 EOF
17797 if { (eval echo configure:17798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17798   rm -rf conftest*
17799   \
17800     ctype_linux=yes
17801 else
17802   echo "configure: failed program was:" >&5
17803   cat conftest.$ac_ext >&5
17804   rm -rf conftest*
17805   ctype_linux=no
17806 fi
17807 rm -f conftest*
17808     echo "$ac_t""$ctype_linux" 1>&6
17809     if test $ctype_linux = "yes"; then
17810       ctype_include_dir="config/os/gnu-linux"
17811       ctype_default=no
17812     fi
17813
17814         if test $ctype_default = "yes"; then
17815     echo $ac_n "checking <ctype> for FreeBSD 4.0""... $ac_c" 1>&6
17816 echo "configure:17817: checking <ctype> for FreeBSD 4.0" >&5
17817     cat > conftest.$ac_ext <<EOF
17818 #line 17819 "configure"
17819 #include "confdefs.h"
17820 #include <ctype.h>
17821 int main() {
17822 int
17823     foo (int a)
17824     { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
17825         + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
17826 ; return 0; }
17827 EOF
17828 if { (eval echo configure:17829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17829   rm -rf conftest*
17830   \
17831     ctype_bsd=yes
17832 else
17833   echo "configure: failed program was:" >&5
17834   cat conftest.$ac_ext >&5
17835   rm -rf conftest*
17836   ctype_bsd=no
17837 fi
17838 rm -f conftest*
17839     echo "$ac_t""$ctype_bsd" 1>&6
17840     if test $ctype_bsd = "yes"; then
17841       ctype_include_dir="config/os/bsd"
17842       ctype_default=no
17843     fi
17844     fi
17845
17846         if test $ctype_default = "yes"; then
17847     echo $ac_n "checking <ctype> for FreeBSD 3.4""... $ac_c" 1>&6
17848 echo "configure:17849: checking <ctype> for FreeBSD 3.4" >&5
17849     cat > conftest.$ac_ext <<EOF
17850 #line 17851 "configure"
17851 #include "confdefs.h"
17852 #include <ctype.h>
17853 int main() {
17854 int
17855     foo (int a)
17856     { return _S + _R + _C + _U + _L + _A \
17857       + _D + _P + _X + _G + __istype (a, 0);}
17858 ; return 0; }
17859 EOF
17860 if { (eval echo configure:17861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17861   rm -rf conftest*
17862   \
17863     ctype_freebsd34=yes
17864 else
17865   echo "configure: failed program was:" >&5
17866   cat conftest.$ac_ext >&5
17867   rm -rf conftest*
17868   ctype_freebsd34=no
17869 fi
17870 rm -f conftest*
17871     echo "$ac_t""$ctype_freebsd34" 1>&6
17872     if test $ctype_freebsd34 = "yes"; then
17873       ctype_include_dir="config/os/bsd"
17874       ctype_default=no
17875     fi
17876     fi
17877
17878         if test $ctype_default = "yes"; then
17879     echo $ac_n "checking <ctype> for Solaris 2.6,7,8""... $ac_c" 1>&6
17880 echo "configure:17881: checking <ctype> for Solaris 2.6,7,8" >&5
17881     cat > conftest.$ac_ext <<EOF
17882 #line 17883 "configure"
17883 #include "confdefs.h"
17884 #include <ctype.h>
17885 int main() {
17886 int
17887     foo (int a)
17888     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17889         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17890         + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
17891 ; return 0; }
17892 EOF
17893 if { (eval echo configure:17894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17894   rm -rf conftest*
17895   \
17896     ctype_solaris=yes
17897 else
17898   echo "configure: failed program was:" >&5
17899   cat conftest.$ac_ext >&5
17900   rm -rf conftest*
17901   ctype_solaris=no
17902 fi
17903 rm -f conftest*
17904     echo "$ac_t""$ctype_solaris" 1>&6
17905
17906     if test $ctype_solaris = "yes"; then
17907       echo $ac_n "checking   for version""... $ac_c" 1>&6
17908 echo "configure:17909: checking   for version" >&5
17909       ac_ext=C
17910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17911 ac_cpp='$CXXCPP $CPPFLAGS'
17912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17914 cross_compiling=$ac_cv_prog_cxx_cross
17915  
17916       cat > conftest.$ac_ext <<EOF
17917 #line 17918 "configure"
17918 #include "confdefs.h"
17919 #include <ctype.h>
17920 int main() {
17921 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
17922 ; return 0; }
17923 EOF
17924 if { (eval echo configure:17925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17925   rm -rf conftest*
17926   \
17927       ctype_solaris26=yes
17928 else
17929   echo "configure: failed program was:" >&5
17930   cat conftest.$ac_ext >&5
17931   rm -rf conftest*
17932   ctype_solaris26=no
17933 fi
17934 rm -f conftest*
17935       ac_ext=c
17936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17937 ac_cpp='$CPP $CPPFLAGS'
17938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17940 cross_compiling=$ac_cv_prog_cc_cross
17941
17942       if test $ctype_solaris26 = "yes"; then
17943         ctype_include_dir="config/os/solaris/solaris2.6"
17944         echo "$ac_t""Solaris 2.6" 1>&6
17945         ctype_default=no
17946       else
17947         ctype_include_dir="config/os/solaris/solaris2.7"
17948         echo "$ac_t""Solaris 7,8" 1>&6
17949         ctype_default=no
17950       fi
17951     fi
17952     fi  
17953
17954         if test $ctype_default = "yes"; then
17955     echo $ac_n "checking <ctype> for Solaris 2.5.1""... $ac_c" 1>&6
17956 echo "configure:17957: checking <ctype> for Solaris 2.5.1" >&5
17957     cat > conftest.$ac_ext <<EOF
17958 #line 17959 "configure"
17959 #include "confdefs.h"
17960 #include <ctype.h>
17961 int main() {
17962 int
17963     foo (int a)
17964     { return _U + _L + _N + _S + _P + _C + _X + _B \
17965         + __ctype[a];}
17966 ; return 0; }
17967 EOF
17968 if { (eval echo configure:17969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17969   rm -rf conftest*
17970   \
17971     ctype_solaris25=yes
17972 else
17973   echo "configure: failed program was:" >&5
17974   cat conftest.$ac_ext >&5
17975   rm -rf conftest*
17976   ctype_solaris25=no
17977 fi
17978 rm -f conftest*
17979     echo "$ac_t""$ctype_solaris25" 1>&6
17980     if test $ctype_solaris25 = "yes"; then
17981       ctype_include_dir="config/os/solaris/solaris2.5"
17982       ctype_default=no
17983     fi
17984     fi
17985
17986         if test $ctype_default = "yes"; then
17987     echo $ac_n "checking <ctype> for AIX""... $ac_c" 1>&6
17988 echo "configure:17989: checking <ctype> for AIX" >&5
17989     cat > conftest.$ac_ext <<EOF
17990 #line 17991 "configure"
17991 #include "confdefs.h"
17992 #include <ctype.h>
17993 int main() {
17994 int
17995     foo (int a)
17996     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17997         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17998         + _VALC('a') + _IS('c', 0);}
17999 ; return 0; }
18000 EOF
18001 if { (eval echo configure:18002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18002   rm -rf conftest*
18003   \
18004     ctype_aix=yes
18005 else
18006   echo "configure: failed program was:" >&5
18007   cat conftest.$ac_ext >&5
18008   rm -rf conftest*
18009   ctype_aix=no
18010 fi
18011 rm -f conftest*
18012     echo "$ac_t""$ctype_aix" 1>&6
18013     if test $ctype_aix = "yes"; then
18014       ctype_include_dir="config/os/aix"
18015       ctype_default=no
18016     fi
18017     fi
18018
18019         if test $ctype_default = "yes"; then 
18020     echo $ac_n "checking <ctype> for IRIX""... $ac_c" 1>&6
18021 echo "configure:18022: checking <ctype> for IRIX" >&5
18022     cat > conftest.$ac_ext <<EOF
18023 #line 18024 "configure"
18024 #include "confdefs.h"
18025 #include <ctype.h>
18026 int main() {
18027 int
18028     foo (int a)
18029     { return _U + _L + _N + _S + _P + _C + _B + _X + \
18030              _A + _PR + _G + _BL;}
18031 ; return 0; }
18032 EOF
18033 if { (eval echo configure:18034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18034   rm -rf conftest*
18035   \
18036     ctype_irix=yes
18037 else
18038   echo "configure: failed program was:" >&5
18039   cat conftest.$ac_ext >&5
18040   rm -rf conftest*
18041   ctype_irix=no
18042 fi
18043 rm -f conftest*
18044     echo "$ac_t""$ctype_irix" 1>&6
18045     if test $ctype_irix = "yes"; then
18046       ctype_include_dir="config/os/irix"
18047       ctype_default=no
18048     fi
18049     fi
18050
18051         if test $ctype_default = "yes"; then
18052     echo $ac_n "checking <ctype> for newlib""... $ac_c" 1>&6
18053 echo "configure:18054: checking <ctype> for newlib" >&5
18054     cat > conftest.$ac_ext <<EOF
18055 #line 18056 "configure"
18056 #include "confdefs.h"
18057 #include <ctype.h>
18058 int main() {
18059 int
18060     foo (int a)
18061     { return _U + _L + _N + _S + _P + _C + _X + _B \
18062         + _ctype_[a];}
18063 ; return 0; }
18064 EOF
18065 if { (eval echo configure:18066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18066   rm -rf conftest*
18067   \
18068     ctype_newlib=yes
18069 else
18070   echo "configure: failed program was:" >&5
18071   cat conftest.$ac_ext >&5
18072   rm -rf conftest*
18073   ctype_newlib=no
18074 fi
18075 rm -f conftest*
18076     echo "$ac_t""$ctype_newlib" 1>&6
18077     if test $ctype_newlib = "yes"; then
18078       ctype_include_dir="config/newlib"
18079       ctype_default=no
18080     fi
18081     fi
18082
18083     if test $ctype_default = "yes"; then
18084       ctype_include_dir="config/os/generic"
18085       echo "configure: warning: "Using default ctype headers."" 1>&2
18086     fi
18087
18088     
18089     
18090     
18091   
18092 else
18093   echo "$ac_t""no" 1>&6
18094 fi
18095
18096
18097   
18098   ac_test_CXXFLAGS="${CXXFLAGS+set}"
18099   ac_save_CXXFLAGS="$CXXFLAGS"
18100   CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
18101
18102   for ac_func in strtof
18103 do
18104 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18105 echo "configure:18106: checking for $ac_func" >&5
18106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18107   echo $ac_n "(cached) $ac_c" 1>&6
18108 else
18109   cat > conftest.$ac_ext <<EOF
18110 #line 18111 "configure"
18111 #include "confdefs.h"
18112 /* System header to define __stub macros and hopefully few prototypes,
18113     which can conflict with char $ac_func(); below.  */
18114 #include <assert.h>
18115 /* Override any gcc2 internal prototype to avoid an error.  */
18116 /* We use char because int might match the return type of a gcc2
18117     builtin and then its argument prototype would still apply.  */
18118 char $ac_func();
18119
18120 int main() {
18121
18122 /* The GNU C library defines this for functions which it implements
18123     to always fail with ENOSYS.  Some functions are actually named
18124     something starting with __ and the normal name is an alias.  */
18125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18126 choke me
18127 #else
18128 $ac_func();
18129 #endif
18130
18131 ; return 0; }
18132 EOF
18133 if { (eval echo configure:18134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18134   rm -rf conftest*
18135   eval "ac_cv_func_$ac_func=yes"
18136 else
18137   echo "configure: failed program was:" >&5
18138   cat conftest.$ac_ext >&5
18139   rm -rf conftest*
18140   eval "ac_cv_func_$ac_func=no"
18141 fi
18142 rm -f conftest*
18143 fi
18144
18145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18146   echo "$ac_t""yes" 1>&6
18147     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18148   cat >> confdefs.h <<EOF
18149 #define $ac_tr_func 1
18150 EOF
18151  
18152 else
18153   echo "$ac_t""no" 1>&6
18154 fi
18155 done
18156
18157   
18158   echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
18159 echo "configure:18160: checking for strtold declaration" >&5
18160   if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
18161   echo $ac_n "(cached) $ac_c" 1>&6
18162 else
18163   
18164     
18165     ac_ext=C
18166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18167 ac_cpp='$CXXCPP $CPPFLAGS'
18168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18170 cross_compiling=$ac_cv_prog_cxx_cross
18171
18172     cat > conftest.$ac_ext <<EOF
18173 #line 18174 "configure"
18174 #include "confdefs.h"
18175 #include <stdlib.h>
18176 int main() {
18177  strtold(0, 0);
18178 ; return 0; }
18179 EOF
18180 if { (eval echo configure:18181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18181   rm -rf conftest*
18182   glibcpp_cv_func_strtold_use=yes
18183 else
18184   echo "configure: failed program was:" >&5
18185   cat conftest.$ac_ext >&5
18186   rm -rf conftest*
18187   glibcpp_cv_func_strtold_use=no
18188 fi
18189 rm -f conftest*
18190     ac_ext=c
18191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18192 ac_cpp='$CPP $CPPFLAGS'
18193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18195 cross_compiling=$ac_cv_prog_cc_cross
18196
18197   
18198 fi
18199
18200   echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
18201   if test x$glibcpp_cv_func_strtold_use = x"yes"; then
18202     for ac_func in strtold
18203 do
18204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18205 echo "configure:18206: checking for $ac_func" >&5
18206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18207   echo $ac_n "(cached) $ac_c" 1>&6
18208 else
18209   cat > conftest.$ac_ext <<EOF
18210 #line 18211 "configure"
18211 #include "confdefs.h"
18212 /* System header to define __stub macros and hopefully few prototypes,
18213     which can conflict with char $ac_func(); below.  */
18214 #include <assert.h>
18215 /* Override any gcc2 internal prototype to avoid an error.  */
18216 /* We use char because int might match the return type of a gcc2
18217     builtin and then its argument prototype would still apply.  */
18218 char $ac_func();
18219
18220 int main() {
18221
18222 /* The GNU C library defines this for functions which it implements
18223     to always fail with ENOSYS.  Some functions are actually named
18224     something starting with __ and the normal name is an alias.  */
18225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18226 choke me
18227 #else
18228 $ac_func();
18229 #endif
18230
18231 ; return 0; }
18232 EOF
18233 if { (eval echo configure:18234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18234   rm -rf conftest*
18235   eval "ac_cv_func_$ac_func=yes"
18236 else
18237   echo "configure: failed program was:" >&5
18238   cat conftest.$ac_ext >&5
18239   rm -rf conftest*
18240   eval "ac_cv_func_$ac_func=no"
18241 fi
18242 rm -f conftest*
18243 fi
18244
18245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18246   echo "$ac_t""yes" 1>&6
18247     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18248   cat >> confdefs.h <<EOF
18249 #define $ac_tr_func 1
18250 EOF
18251  
18252 else
18253   echo "$ac_t""no" 1>&6
18254 fi
18255 done
18256     
18257   fi
18258
18259
18260   CXXFLAGS="$ac_save_CXXFLAGS"
18261
18262
18263   for ac_hdr in unistd.h
18264 do
18265 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18266 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18267 echo "configure:18268: checking for $ac_hdr" >&5
18268 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18269   echo $ac_n "(cached) $ac_c" 1>&6
18270 else
18271   cat > conftest.$ac_ext <<EOF
18272 #line 18273 "configure"
18273 #include "confdefs.h"
18274 #include <$ac_hdr>
18275 EOF
18276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18277 { (eval echo configure:18278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18279 if test -z "$ac_err"; then
18280   rm -rf conftest*
18281   eval "ac_cv_header_$ac_safe=yes"
18282 else
18283   echo "$ac_err" >&5
18284   echo "configure: failed program was:" >&5
18285   cat conftest.$ac_ext >&5
18286   rm -rf conftest*
18287   eval "ac_cv_header_$ac_safe=no"
18288 fi
18289 rm -f conftest*
18290 fi
18291 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18292   echo "$ac_t""yes" 1>&6
18293     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18294   cat >> confdefs.h <<EOF
18295 #define $ac_tr_hdr 1
18296 EOF
18297  
18298 else
18299   echo "$ac_t""no" 1>&6
18300 fi
18301 done
18302
18303 for ac_func in getpagesize
18304 do
18305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18306 echo "configure:18307: checking for $ac_func" >&5
18307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18308   echo $ac_n "(cached) $ac_c" 1>&6
18309 else
18310   cat > conftest.$ac_ext <<EOF
18311 #line 18312 "configure"
18312 #include "confdefs.h"
18313 /* System header to define __stub macros and hopefully few prototypes,
18314     which can conflict with char $ac_func(); below.  */
18315 #include <assert.h>
18316 /* Override any gcc2 internal prototype to avoid an error.  */
18317 /* We use char because int might match the return type of a gcc2
18318     builtin and then its argument prototype would still apply.  */
18319 char $ac_func();
18320
18321 int main() {
18322
18323 /* The GNU C library defines this for functions which it implements
18324     to always fail with ENOSYS.  Some functions are actually named
18325     something starting with __ and the normal name is an alias.  */
18326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18327 choke me
18328 #else
18329 $ac_func();
18330 #endif
18331
18332 ; return 0; }
18333 EOF
18334 if { (eval echo configure:18335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18335   rm -rf conftest*
18336   eval "ac_cv_func_$ac_func=yes"
18337 else
18338   echo "configure: failed program was:" >&5
18339   cat conftest.$ac_ext >&5
18340   rm -rf conftest*
18341   eval "ac_cv_func_$ac_func=no"
18342 fi
18343 rm -f conftest*
18344 fi
18345
18346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18347   echo "$ac_t""yes" 1>&6
18348     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18349   cat >> confdefs.h <<EOF
18350 #define $ac_tr_func 1
18351 EOF
18352  
18353 else
18354   echo "$ac_t""no" 1>&6
18355 fi
18356 done
18357
18358 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18359 echo "configure:18360: checking for working mmap" >&5
18360 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18361   echo $ac_n "(cached) $ac_c" 1>&6
18362 else
18363   if test "$cross_compiling" = yes; then
18364   ac_cv_func_mmap_fixed_mapped=no
18365 else
18366   cat > conftest.$ac_ext <<EOF
18367 #line 18368 "configure"
18368 #include "confdefs.h"
18369
18370 /* Thanks to Mike Haertel and Jim Avera for this test.
18371    Here is a matrix of mmap possibilities:
18372         mmap private not fixed
18373         mmap private fixed at somewhere currently unmapped
18374         mmap private fixed at somewhere already mapped
18375         mmap shared not fixed
18376         mmap shared fixed at somewhere currently unmapped
18377         mmap shared fixed at somewhere already mapped
18378    For private mappings, we should verify that changes cannot be read()
18379    back from the file, nor mmap's back from the file at a different
18380    address.  (There have been systems where private was not correctly
18381    implemented like the infamous i386 svr4.0, and systems where the
18382    VM page cache was not coherent with the filesystem buffer cache
18383    like early versions of FreeBSD and possibly contemporary NetBSD.)
18384    For shared mappings, we should conversely verify that changes get
18385    propogated back to all the places they're supposed to be.
18386
18387    Grep wants private fixed already mapped.
18388    The main things grep needs to know about mmap are:
18389    * does it exist and is it safe to write into the mmap'd area
18390    * how to use it (BSD variants)  */
18391 #include <sys/types.h>
18392 #include <fcntl.h>
18393 #include <sys/mman.h>
18394
18395 /* This mess was copied from the GNU getpagesize.h.  */
18396 #ifndef HAVE_GETPAGESIZE
18397 # ifdef HAVE_UNISTD_H
18398 #  include <unistd.h>
18399 # endif
18400
18401 /* Assume that all systems that can run configure have sys/param.h.  */
18402 # ifndef HAVE_SYS_PARAM_H
18403 #  define HAVE_SYS_PARAM_H 1
18404 # endif
18405
18406 # ifdef _SC_PAGESIZE
18407 #  define getpagesize() sysconf(_SC_PAGESIZE)
18408 # else /* no _SC_PAGESIZE */
18409 #  ifdef HAVE_SYS_PARAM_H
18410 #   include <sys/param.h>
18411 #   ifdef EXEC_PAGESIZE
18412 #    define getpagesize() EXEC_PAGESIZE
18413 #   else /* no EXEC_PAGESIZE */
18414 #    ifdef NBPG
18415 #     define getpagesize() NBPG * CLSIZE
18416 #     ifndef CLSIZE
18417 #      define CLSIZE 1
18418 #     endif /* no CLSIZE */
18419 #    else /* no NBPG */
18420 #     ifdef NBPC
18421 #      define getpagesize() NBPC
18422 #     else /* no NBPC */
18423 #      ifdef PAGESIZE
18424 #       define getpagesize() PAGESIZE
18425 #      endif /* PAGESIZE */
18426 #     endif /* no NBPC */
18427 #    endif /* no NBPG */
18428 #   endif /* no EXEC_PAGESIZE */
18429 #  else /* no HAVE_SYS_PARAM_H */
18430 #   define getpagesize() 8192   /* punt totally */
18431 #  endif /* no HAVE_SYS_PARAM_H */
18432 # endif /* no _SC_PAGESIZE */
18433
18434 #endif /* no HAVE_GETPAGESIZE */
18435
18436 #ifdef __cplusplus
18437 extern "C" { void *malloc(unsigned); }
18438 #else
18439 char *malloc();
18440 #endif
18441
18442 int
18443 main()
18444 {
18445         char *data, *data2, *data3;
18446         int i, pagesize;
18447         int fd;
18448
18449         pagesize = getpagesize();
18450
18451         /*
18452          * First, make a file with some known garbage in it.
18453          */
18454         data = malloc(pagesize);
18455         if (!data)
18456                 exit(1);
18457         for (i = 0; i < pagesize; ++i)
18458                 *(data + i) = rand();
18459         umask(0);
18460         fd = creat("conftestmmap", 0600);
18461         if (fd < 0)
18462                 exit(1);
18463         if (write(fd, data, pagesize) != pagesize)
18464                 exit(1);
18465         close(fd);
18466
18467         /*
18468          * Next, try to mmap the file at a fixed address which
18469          * already has something else allocated at it.  If we can,
18470          * also make sure that we see the same garbage.
18471          */
18472         fd = open("conftestmmap", O_RDWR);
18473         if (fd < 0)
18474                 exit(1);
18475         data2 = malloc(2 * pagesize);
18476         if (!data2)
18477                 exit(1);
18478         data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18479         if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18480             MAP_PRIVATE | MAP_FIXED, fd, 0L))
18481                 exit(1);
18482         for (i = 0; i < pagesize; ++i)
18483                 if (*(data + i) != *(data2 + i))
18484                         exit(1);
18485
18486         /*
18487          * Finally, make sure that changes to the mapped area
18488          * do not percolate back to the file as seen by read().
18489          * (This is a bug on some variants of i386 svr4.0.)
18490          */
18491         for (i = 0; i < pagesize; ++i)
18492                 *(data2 + i) = *(data2 + i) + 1;
18493         data3 = malloc(pagesize);
18494         if (!data3)
18495                 exit(1);
18496         if (read(fd, data3, pagesize) != pagesize)
18497                 exit(1);
18498         for (i = 0; i < pagesize; ++i)
18499                 if (*(data + i) != *(data3 + i))
18500                         exit(1);
18501         close(fd);
18502         unlink("conftestmmap");
18503         exit(0);
18504 }
18505
18506 EOF
18507 if { (eval echo configure:18508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18508 then
18509   ac_cv_func_mmap_fixed_mapped=yes
18510 else
18511   echo "configure: failed program was:" >&5
18512   cat conftest.$ac_ext >&5
18513   rm -fr conftest*
18514   ac_cv_func_mmap_fixed_mapped=no
18515 fi
18516 rm -fr conftest*
18517 fi
18518
18519 fi
18520
18521 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18522 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18523   cat >> confdefs.h <<\EOF
18524 #define HAVE_MMAP 1
18525 EOF
18526
18527 fi
18528
18529 fi
18530
18531
18532
18533 if test "$CANADIAN" = yes; then
18534   CANADIAN_TRUE=
18535   CANADIAN_FALSE='#'
18536 else
18537   CANADIAN_TRUE='#'
18538   CANADIAN_FALSE=
18539 fi
18540
18541
18542 if test "$NULL_TARGET" = yes; then
18543   NULL_TARGET_TRUE=
18544   NULL_TARGET_FALSE='#'
18545 else
18546   NULL_TARGET_TRUE='#'
18547   NULL_TARGET_FALSE=
18548 fi
18549
18550
18551 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18552   NATIVE_TRUE=
18553   NATIVE_FALSE='#'
18554 else
18555   NATIVE_TRUE='#'
18556   NATIVE_FALSE=
18557 fi
18558
18559
18560 if test -z "$with_cross_host"; then
18561   USE_LIBDIR_TRUE=
18562   USE_LIBDIR_FALSE='#'
18563 else
18564   USE_LIBDIR_TRUE='#'
18565   USE_LIBDIR_FALSE=
18566 fi
18567  
18568 cat > confcache <<\EOF
18569 # This file is a shell script that caches the results of configure
18570 # tests run on this system so they can be shared between configure
18571 # scripts and configure runs.  It is not useful on other systems.
18572 # If it contains results you don't want to keep, you may remove or edit it.
18573 #
18574 # By default, configure uses ./config.cache as the cache file,
18575 # creating it if it does not exist already.  You can give configure
18576 # the --cache-file=FILE option to use a different cache file; that is
18577 # what configure does when it calls configure scripts in
18578 # subdirectories, so they share the cache.
18579 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18580 # config.status only pays attention to the cache file if you give it the
18581 # --recheck option to rerun configure.
18582 #
18583 EOF
18584 # The following way of writing the cache mishandles newlines in values,
18585 # but we know of no workaround that is simple, portable, and efficient.
18586 # So, don't put newlines in cache variables' values.
18587 # Ultrix sh set writes to stderr and can't be redirected directly,
18588 # and sets the high bit in the cache file unless we assign to the vars.
18589 (set) 2>&1 |
18590   case `(ac_space=' '; set | grep ac_space) 2>&1` in
18591   *ac_space=\ *)
18592     # `set' does not quote correctly, so add quotes (double-quote substitution
18593     # turns \\\\ into \\, and sed turns \\ into \).
18594     sed -n \
18595       -e "s/'/'\\\\''/g" \
18596       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18597     ;;
18598   *)
18599     # `set' quotes correctly as required by POSIX, so do not add quotes.
18600     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18601     ;;
18602   esac >> confcache
18603 if cmp -s $cache_file confcache; then
18604   :
18605 else
18606   if test -w $cache_file; then
18607     echo "updating cache $cache_file"
18608     cat confcache > $cache_file
18609   else
18610     echo "not updating unwritable cache $cache_file"
18611   fi
18612 fi
18613 rm -f confcache
18614
18615 if test $ac_cv_header_locale_h = yes; then
18616     echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18617 echo "configure:18618: checking for LC_MESSAGES" >&5
18618 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18619   echo $ac_n "(cached) $ac_c" 1>&6
18620 else
18621   cat > conftest.$ac_ext <<EOF
18622 #line 18623 "configure"
18623 #include "confdefs.h"
18624 #include <locale.h>
18625 int main() {
18626 return LC_MESSAGES
18627 ; return 0; }
18628 EOF
18629 if { (eval echo configure:18630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18630   rm -rf conftest*
18631   ac_cv_val_LC_MESSAGES=yes
18632 else
18633   echo "configure: failed program was:" >&5
18634   cat conftest.$ac_ext >&5
18635   rm -rf conftest*
18636   ac_cv_val_LC_MESSAGES=no
18637 fi
18638 rm -f conftest*
18639 fi
18640
18641 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18642     if test $ac_cv_val_LC_MESSAGES = yes; then
18643       cat >> confdefs.h <<\EOF
18644 #define HAVE_LC_MESSAGES 1
18645 EOF
18646
18647     fi
18648   fi
18649
18650 if test "${multilib}" = "yes"; then
18651   multilib_arg="--enable-multilib"
18652 else
18653   multilib_arg=
18654 fi
18655
18656
18657 # Generate the various Makefiles, include files, and scripts.
18658
18659 # This helps subvert libstdcxx_interface, as calculated by devo/config.if
18660 # Needed so that g++ can find the correct include subdir automatically.
18661 INTERFACE=v3
18662
18663 # Check for the interface version number for specifying where header
18664 # files are installed, if a version number is provided.
18665 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
18666 echo "configure:18667: checking for interface version number" >&5
18667 libstdcxx_interface=$INTERFACE
18668 echo "$ac_t""$libstdcxx_interface" 1>&6
18669
18670
18671 # Process the option --with-gxx-include-dir=<path to include-files directory>
18672 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
18673 echo "configure:18674: checking for --with-gxx-include-dir" >&5
18674 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
18675 if test "${with_gxx_include_dir+set}" = set; then
18676   withval="$with_gxx_include_dir"
18677   case "${withval}" in
18678   yes)
18679     { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
18680     gxx_include_dir=no
18681     ;;
18682   no)
18683     gxx_include_dir=no
18684     ;;
18685   *)
18686     gxx_include_dir=${withval}
18687     ;;
18688 esac
18689 else
18690   gxx_include_dir=no
18691 fi
18692
18693 echo "$ac_t""$gxx_include_dir" 1>&6
18694
18695
18696
18697 if test x${gxx_include_dir} != xno; then
18698   GXX_INCLUDE_DIR_TRUE=
18699   GXX_INCLUDE_DIR_FALSE='#'
18700 else
18701   GXX_INCLUDE_DIR_TRUE='#'
18702   GXX_INCLUDE_DIR_FALSE=
18703 fi
18704
18705 # Process the option "--enable-version-specific-runtime-libs"
18706 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
18707 echo "configure:18708: checking for --enable-version-specific-runtime-libs" >&5
18708 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
18709 if test "${enable_version_specific_runtime_libs+set}" = set; then
18710   enableval="$enable_version_specific_runtime_libs"
18711     version_specific_libs=yes
18712 # Need the gcc compiler version to know where to install libraries
18713 # and header files if --enable-version-specific-runtime-libs option
18714 # is selected.
18715 gcc_tmp=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $6}'`
18716 gcc_num=`echo ${gcc_tmp} | sed 's/\"//g'`
18717 #gcc_date=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $7}'`
18718 #gcc_version=$gcc_num-$gcc_date
18719 gcc_version=$gcc_num
18720
18721
18722 else
18723   version_specific_libs=no
18724 fi
18725
18726 echo "$ac_t""$version_specific_libs" 1>&6
18727 if test x${version_specific_libs} = xyes; then
18728   
18729
18730 if test x${version_specific_libs} = xyes; then
18731   VERSION_SPECIFIC_LIBS_TRUE=
18732   VERSION_SPECIFIC_LIBS_FALSE='#'
18733 else
18734   VERSION_SPECIFIC_LIBS_TRUE='#'
18735   VERSION_SPECIFIC_LIBS_FALSE=
18736 fi
18737   echo "configure: warning: version specific directory is: $gcc_version" 1>&2
18738 fi
18739
18740
18741
18742 # Export all the include and flag information to makefiles.
18743
18744   # Root level of the include sources.
18745   GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
18746
18747   # Can either use include/c or include/c_std to grab "C" headers. This
18748   # variable is set to the include directory currently in use.
18749   # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_SHADOW
18750    
18751   # Passed down for canadian crosses.
18752   if  test x"$CANADIAN" = xyes; then
18753     TOPLEVEL_INCLUDES='-I$(includedir)'
18754   fi
18755
18756   LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
18757
18758   LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
18759
18760   #if GLIBCPP_NEED_LIBIO
18761   LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
18762   #else
18763   #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
18764   #endif
18765
18766   #if GLIBCPP_USE_CSHADOW
18767   #  CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
18768   #                   -I$(top_blddir)/cshadow'
18769   #else
18770   CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
18771   #endif
18772
18773   # Now, export this to all the little Makefiles....
18774   
18775   
18776   
18777   
18778   
18779   
18780
18781
18782   # Optimization flags that are probably a good idea for thrill-seekers. Just
18783   # uncomment the lines below and make, everything else is ready to go... 
18784   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc 
18785   OPTIMIZE_CXXFLAGS=
18786   
18787
18788   WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
18789   
18790
18791
18792 # This should be done by mkincludedir, but hack around it now.
18793 blddir=`pwd`
18794 echo "checking for $blddir/include"
18795
18796 if test ! -d "$blddir/include"; then
18797   mkdir "$blddir/include"
18798 fi
18799
18800 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18801 # so that multilib installs will end up installed in the correct
18802 # place. To work around this not being passed down from config-ml.in
18803 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18804 # append it here.
18805 trap '' 1 2 15
18806 cat > confcache <<\EOF
18807 # This file is a shell script that caches the results of configure
18808 # tests run on this system so they can be shared between configure
18809 # scripts and configure runs.  It is not useful on other systems.
18810 # If it contains results you don't want to keep, you may remove or edit it.
18811 #
18812 # By default, configure uses ./config.cache as the cache file,
18813 # creating it if it does not exist already.  You can give configure
18814 # the --cache-file=FILE option to use a different cache file; that is
18815 # what configure does when it calls configure scripts in
18816 # subdirectories, so they share the cache.
18817 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18818 # config.status only pays attention to the cache file if you give it the
18819 # --recheck option to rerun configure.
18820 #
18821 EOF
18822 # The following way of writing the cache mishandles newlines in values,
18823 # but we know of no workaround that is simple, portable, and efficient.
18824 # So, don't put newlines in cache variables' values.
18825 # Ultrix sh set writes to stderr and can't be redirected directly,
18826 # and sets the high bit in the cache file unless we assign to the vars.
18827 (set) 2>&1 |
18828   case `(ac_space=' '; set | grep ac_space) 2>&1` in
18829   *ac_space=\ *)
18830     # `set' does not quote correctly, so add quotes (double-quote substitution
18831     # turns \\\\ into \\, and sed turns \\ into \).
18832     sed -n \
18833       -e "s/'/'\\\\''/g" \
18834       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18835     ;;
18836   *)
18837     # `set' quotes correctly as required by POSIX, so do not add quotes.
18838     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18839     ;;
18840   esac >> confcache
18841 if cmp -s $cache_file confcache; then
18842   :
18843 else
18844   if test -w $cache_file; then
18845     echo "updating cache $cache_file"
18846     cat confcache > $cache_file
18847   else
18848     echo "not updating unwritable cache $cache_file"
18849   fi
18850 fi
18851 rm -f confcache
18852
18853 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18854
18855 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18856 # Let make expand exec_prefix.
18857 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18858
18859 # Any assignment to VPATH causes Sun make to only execute
18860 # the first set of double-colon rules, so remove it if not needed.
18861 # If there is a colon in the path, we need to keep it.
18862 if test "x$srcdir" = x.; then
18863   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
18864 fi
18865
18866 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18867
18868 DEFS=-DHAVE_CONFIG_H
18869
18870 # Without the "./", some shells look in PATH for config.status.
18871 : ${CONFIG_STATUS=./config.status}
18872
18873 echo creating $CONFIG_STATUS
18874 rm -f $CONFIG_STATUS
18875 cat > $CONFIG_STATUS <<EOF
18876 #! /bin/sh
18877 # Generated automatically by configure.
18878 # Run this file to recreate the current configuration.
18879 # This directory was configured as follows,
18880 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18881 #
18882 # $0 $ac_configure_args
18883 #
18884 # Compiler output produced by configure, useful for debugging
18885 # configure, is in ./config.log if it exists.
18886
18887 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18888 for ac_option
18889 do
18890   case "\$ac_option" in
18891   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18892     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18893     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18894   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18895     echo "$CONFIG_STATUS generated by autoconf version 2.13"
18896     exit 0 ;;
18897   -help | --help | --hel | --he | --h)
18898     echo "\$ac_cs_usage"; exit 0 ;;
18899   *) echo "\$ac_cs_usage"; exit 1 ;;
18900   esac
18901 done
18902
18903 ac_given_srcdir=$srcdir
18904 ac_given_INSTALL="$INSTALL"
18905
18906 trap 'rm -fr `echo "mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18907 EOF
18908 cat >> $CONFIG_STATUS <<EOF
18909
18910 # Protect against being on the right side of a sed subst in config.status.
18911 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18912  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18913 $ac_vpsub
18914 $extrasub
18915 s%@SHELL@%$SHELL%g
18916 s%@CFLAGS@%$CFLAGS%g
18917 s%@CPPFLAGS@%$CPPFLAGS%g
18918 s%@CXXFLAGS@%$CXXFLAGS%g
18919 s%@FFLAGS@%$FFLAGS%g
18920 s%@DEFS@%$DEFS%g
18921 s%@LDFLAGS@%$LDFLAGS%g
18922 s%@LIBS@%$LIBS%g
18923 s%@exec_prefix@%$exec_prefix%g
18924 s%@prefix@%$prefix%g
18925 s%@program_transform_name@%$program_transform_name%g
18926 s%@bindir@%$bindir%g
18927 s%@sbindir@%$sbindir%g
18928 s%@libexecdir@%$libexecdir%g
18929 s%@datadir@%$datadir%g
18930 s%@sysconfdir@%$sysconfdir%g
18931 s%@sharedstatedir@%$sharedstatedir%g
18932 s%@localstatedir@%$localstatedir%g
18933 s%@libdir@%$libdir%g
18934 s%@includedir@%$includedir%g
18935 s%@oldincludedir@%$oldincludedir%g
18936 s%@infodir@%$infodir%g
18937 s%@mandir@%$mandir%g
18938 s%@host@%$host%g
18939 s%@host_alias@%$host_alias%g
18940 s%@host_cpu@%$host_cpu%g
18941 s%@host_vendor@%$host_vendor%g
18942 s%@host_os@%$host_os%g
18943 s%@target@%$target%g
18944 s%@target_alias@%$target_alias%g
18945 s%@target_cpu@%$target_cpu%g
18946 s%@target_vendor@%$target_vendor%g
18947 s%@target_os@%$target_os%g
18948 s%@build@%$build%g
18949 s%@build_alias@%$build_alias%g
18950 s%@build_cpu@%$build_cpu%g
18951 s%@build_vendor@%$build_vendor%g
18952 s%@build_os@%$build_os%g
18953 s%@glibcpp_basedir@%$glibcpp_basedir%g
18954 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18955 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18956 s%@INSTALL_DATA@%$INSTALL_DATA%g
18957 s%@PACKAGE@%$PACKAGE%g
18958 s%@VERSION@%$VERSION%g
18959 s%@ACLOCAL@%$ACLOCAL%g
18960 s%@AUTOCONF@%$AUTOCONF%g
18961 s%@AUTOMAKE@%$AUTOMAKE%g
18962 s%@AUTOHEADER@%$AUTOHEADER%g
18963 s%@MAKEINFO@%$MAKEINFO%g
18964 s%@SET_MAKE@%$SET_MAKE%g
18965 s%@CC@%$CC%g
18966 s%@CXX_libstdcxx@%$CXX_libstdcxx%g
18967 s%@CXX@%$CXX%g
18968 s%@AS@%$AS%g
18969 s%@AR@%$AR%g
18970 s%@RANLIB@%$RANLIB%g
18971 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18972 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18973 s%@MAINT@%$MAINT%g
18974 s%@EXEEXT@%$EXEEXT%g
18975 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
18976 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
18977 s%@LN_S@%$LN_S%g
18978 s%@OBJEXT@%$OBJEXT%g
18979 s%@STRIP@%$STRIP%g
18980 s%@LIBTOOL@%$LIBTOOL%g
18981 s%@CXXCPP@%$CXXCPP%g
18982 s%@enable_shared@%$enable_shared%g
18983 s%@enable_static@%$enable_static%g
18984 s%@ifGNUmake@%$ifGNUmake%g
18985 s%@CPP@%$CPP%g
18986 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18987 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18988 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18989 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18990 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18991 s%@libio_la@%$libio_la%g
18992 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
18993 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
18994 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18995 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18996 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18997 s%@WERROR@%$WERROR%g
18998 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
18999 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
19000 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
19001 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
19002 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
19003 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
19004 s%@libinst_wstring_la@%$libinst_wstring_la%g
19005 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
19006 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
19007 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
19008 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
19009 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
19010 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
19011 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
19012 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
19013 s%@libstdcxx_interface@%$libstdcxx_interface%g
19014 s%@gxx_include_dir@%$gxx_include_dir%g
19015 s%@GXX_INCLUDE_DIR_TRUE@%$GXX_INCLUDE_DIR_TRUE%g
19016 s%@GXX_INCLUDE_DIR_FALSE@%$GXX_INCLUDE_DIR_FALSE%g
19017 s%@gcc_version@%$gcc_version%g
19018 s%@VERSION_SPECIFIC_LIBS_TRUE@%$VERSION_SPECIFIC_LIBS_TRUE%g
19019 s%@VERSION_SPECIFIC_LIBS_FALSE@%$VERSION_SPECIFIC_LIBS_FALSE%g
19020 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
19021 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
19022 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
19023 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
19024 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
19025 s%@CSHADOW_INCLUDES@%$CSHADOW_INCLUDES%g
19026 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
19027 s%@WARN_FLAGS@%$WARN_FLAGS%g
19028
19029 CEOF
19030 EOF
19031
19032 cat >> $CONFIG_STATUS <<\EOF
19033
19034 # Split the substitutions into bite-sized pieces for seds with
19035 # small command number limits, like on Digital OSF/1 and HP-UX.
19036 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19037 ac_file=1 # Number of current file.
19038 ac_beg=1 # First line for current file.
19039 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19040 ac_more_lines=:
19041 ac_sed_cmds=""
19042 while $ac_more_lines; do
19043   if test $ac_beg -gt 1; then
19044     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19045   else
19046     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19047   fi
19048   if test ! -s conftest.s$ac_file; then
19049     ac_more_lines=false
19050     rm -f conftest.s$ac_file
19051   else
19052     if test -z "$ac_sed_cmds"; then
19053       ac_sed_cmds="sed -f conftest.s$ac_file"
19054     else
19055       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19056     fi
19057     ac_file=`expr $ac_file + 1`
19058     ac_beg=$ac_end
19059     ac_end=`expr $ac_end + $ac_max_sed_cmds`
19060   fi
19061 done
19062 if test -z "$ac_sed_cmds"; then
19063   ac_sed_cmds=cat
19064 fi
19065 EOF
19066
19067 cat >> $CONFIG_STATUS <<EOF
19068
19069 CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
19070 EOF
19071 cat >> $CONFIG_STATUS <<\EOF
19072 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19073   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19074   case "$ac_file" in
19075   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19076        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19077   *) ac_file_in="${ac_file}.in" ;;
19078   esac
19079
19080   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19081
19082   # Remove last slash and all that follows it.  Not all systems have dirname.
19083   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19084   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19085     # The file is in a subdirectory.
19086     test ! -d "$ac_dir" && mkdir "$ac_dir"
19087     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19088     # A "../" for each directory in $ac_dir_suffix.
19089     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19090   else
19091     ac_dir_suffix= ac_dots=
19092   fi
19093
19094   case "$ac_given_srcdir" in
19095   .)  srcdir=.
19096       if test -z "$ac_dots"; then top_srcdir=.
19097       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19098   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19099   *) # Relative path.
19100     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19101     top_srcdir="$ac_dots$ac_given_srcdir" ;;
19102   esac
19103
19104   case "$ac_given_INSTALL" in
19105   [/$]*) INSTALL="$ac_given_INSTALL" ;;
19106   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19107   esac
19108
19109   echo creating "$ac_file"
19110   rm -f "$ac_file"
19111   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19112   case "$ac_file" in
19113   *Makefile*) ac_comsub="1i\\
19114 # $configure_input" ;;
19115   *) ac_comsub= ;;
19116   esac
19117
19118   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19119   sed -e "$ac_comsub
19120 s%@configure_input@%$configure_input%g
19121 s%@srcdir@%$srcdir%g
19122 s%@top_srcdir@%$top_srcdir%g
19123 s%@INSTALL@%$INSTALL%g
19124 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19125 fi; done
19126 rm -f conftest.s*
19127
19128 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19129 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19130 #
19131 # ac_d sets the value in "#define NAME VALUE" lines.
19132 ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
19133 ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
19134 ac_dC='\3'
19135 ac_dD='%g'
19136 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19137 ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
19138 ac_uB='\([      ]\)%\1#\2define\3'
19139 ac_uC=' '
19140 ac_uD='\4%g'
19141 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19142 ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
19143 ac_eB='$%\1#\2define\3'
19144 ac_eC=' '
19145 ac_eD='%g'
19146
19147 if test "${CONFIG_HEADERS+set}" != set; then
19148 EOF
19149 cat >> $CONFIG_STATUS <<EOF
19150   CONFIG_HEADERS="config.h"
19151 EOF
19152 cat >> $CONFIG_STATUS <<\EOF
19153 fi
19154 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
19155   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19156   case "$ac_file" in
19157   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19158        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19159   *) ac_file_in="${ac_file}.in" ;;
19160   esac
19161
19162   echo creating $ac_file
19163
19164   rm -f conftest.frag conftest.in conftest.out
19165   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19166   cat $ac_file_inputs > conftest.in
19167
19168 EOF
19169
19170 # Transform confdefs.h into a sed script conftest.vals that substitutes
19171 # the proper values into config.h.in to produce config.h.  And first:
19172 # Protect against being on the right side of a sed subst in config.status.
19173 # Protect against being in an unquoted here document in config.status.
19174 rm -f conftest.vals
19175 cat > conftest.hdr <<\EOF
19176 s/[\\&%]/\\&/g
19177 s%[\\$`]%\\&%g
19178 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19179 s%ac_d%ac_u%gp
19180 s%ac_u%ac_e%gp
19181 EOF
19182 sed -n -f conftest.hdr confdefs.h > conftest.vals
19183 rm -f conftest.hdr
19184
19185 # This sed command replaces #undef with comments.  This is necessary, for
19186 # example, in the case of _POSIX_SOURCE, which is predefined and required
19187 # on some systems where configure will not decide to define it.
19188 cat >> conftest.vals <<\EOF
19189 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19190 EOF
19191
19192 # Break up conftest.vals because some shells have a limit on
19193 # the size of here documents, and old seds have small limits too.
19194
19195 rm -f conftest.tail
19196 while :
19197 do
19198   ac_lines=`grep -c . conftest.vals`
19199   # grep -c gives empty output for an empty file on some AIX systems.
19200   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19201   # Write a limited-size here document to conftest.frag.
19202   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19203   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19204   echo 'CEOF
19205   sed -f conftest.frag conftest.in > conftest.out
19206   rm -f conftest.in
19207   mv conftest.out conftest.in
19208 ' >> $CONFIG_STATUS
19209   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19210   rm -f conftest.vals
19211   mv conftest.tail conftest.vals
19212 done
19213 rm -f conftest.vals
19214
19215 cat >> $CONFIG_STATUS <<\EOF
19216   rm -f conftest.frag conftest.h
19217   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
19218   cat conftest.in >> conftest.h
19219   rm -f conftest.in
19220   if cmp -s $ac_file conftest.h 2>/dev/null; then
19221     echo "$ac_file is unchanged"
19222     rm -f conftest.h
19223   else
19224     # Remove last slash and all that follows it.  Not all systems have dirname.
19225       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19226       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19227       # The file is in a subdirectory.
19228       test ! -d "$ac_dir" && mkdir "$ac_dir"
19229     fi
19230     rm -f $ac_file
19231     mv conftest.h $ac_file
19232   fi
19233 fi; done
19234
19235 EOF
19236
19237 cat >> $CONFIG_STATUS <<EOF
19238 ac_sources="$os_include_dir/bits/os_defines.h $CSTDIO_H $CSTDIO_CC $CCODECVT_C config/$THREADH $ATOMICITYH/bits/atomicity.h $ctype_include_dir/bits/ctype_base.h $ctype_include_dir/bits/ctype_inline.h $ctype_include_dir/bits/ctype_noninline.h $ctype_include_dir/bits/ctype_base.h $ctype_include_dir/bits/ctype_inline.h $ctype_include_dir/bits/ctype_noninline.h $ctype_include_dir/bits/ctype_base.h $ctype_include_dir/bits/ctype_inline.h $ctype_include_dir/bits/ctype_noninline.h"
19239 ac_dests="include/bits/os_defines.h include/bits/c++io.h src/c++io.cc libio/c_codecvt.c include/bits/c++threads.h include/bits/atomicity.h include/bits/ctype_base.h \
19240         include/bits/ctype_inline.h \
19241         include/bits/ctype_noninline.h include/bits/ctype_base.h \
19242         include/bits/ctype_inline.h \
19243         include/bits/ctype_noninline.h include/bits/ctype_base.h include/bits/ctype_inline.h \
19244     include/bits/ctype_noninline.h"
19245 EOF
19246
19247 cat >> $CONFIG_STATUS <<\EOF
19248 srcdir=$ac_given_srcdir
19249 while test -n "$ac_sources"; do
19250   set $ac_dests; ac_dest=$1; shift; ac_dests=$*
19251   set $ac_sources; ac_source=$1; shift; ac_sources=$*
19252
19253   echo "linking $srcdir/$ac_source to $ac_dest"
19254
19255   if test ! -r $srcdir/$ac_source; then
19256     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
19257   fi
19258   rm -f $ac_dest
19259
19260   # Make relative symlinks.
19261   # Remove last slash and all that follows it.  Not all systems have dirname.
19262   ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
19263   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
19264     # The dest file is in a subdirectory.
19265     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
19266     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
19267     # A "../" for each directory in $ac_dest_dir_suffix.
19268     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
19269   else
19270     ac_dest_dir_suffix= ac_dots=
19271   fi
19272
19273   case "$srcdir" in
19274   [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
19275   *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
19276   esac
19277
19278   # Make a symlink if possible; otherwise try a hard link.
19279   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19280     ln $srcdir/$ac_source $ac_dest; then :
19281   else
19282     { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19283   fi
19284 done
19285 EOF
19286 cat >> $CONFIG_STATUS <<EOF
19287
19288 srcdir=${srcdir}
19289 host=${host}
19290 target=${target}
19291 with_multisubdir=${with_multisubdir}
19292 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19293 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19294 glibcpp_basedir=${glibcpp_basedir}
19295 CC="${CC}"
19296 CXX="${CXX}"
19297
19298 EOF
19299 cat >> $CONFIG_STATUS <<\EOF
19300 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19301 if test -n "$CONFIG_FILES"; then
19302   ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19303   grep '^MULTISUBDIR =' Makefile >> src/Makefile
19304 fi
19305 chmod +x mkcheck
19306
19307 exit 0
19308 EOF
19309 chmod +x $CONFIG_STATUS
19310 rm -fr confdefs* $ac_clean_files
19311 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19312
19313
19314
19315 # Generate bits/c++config.h
19316 # NB: This must be the first generated file as others include it. . .
19317
19318
19319 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
19320 if test ! -f stamp-limits; then
19321   
19322   touch stamp-limits
19323 fi
19324
19325
19326 # Sanity checking & User-visible messages.
19327 # Checks down here, otherwise they get scrolled off before
19328 # the user will notice.
19329
19330 # Trying to get more people to read documentation.  Possibly remove
19331 # check and warn all the time. There is no "informational" AC_MSG_
19332 # macro, so these are going to be printed even when --quiet/--silent
19333 # is given.
19334 if test ! -f stamp-sanity-warned; then
19335   touch stamp-sanity-warned
19336   echo ""
19337   echo "Please make certain that you read the installation information here:"
19338   echo "  faster => ${srcdir}/docs/install.html"
19339   echo "  slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
19340   echo ""
19341   echo "and the configuration information here:"
19342   echo "  faster => ${srcdir}/docs/configopts.html"
19343   echo "  slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
19344   echo ""
19345   echo "before proceeding with ${_cv_gnu_make_command}."
19346   echo ""
19347 fi
19348
19349
19350 $srcdir/mkc++config $blddir $srcdir
19351 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
19352
19353