OSDN Git Service

From Phil Edwards:
[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 # Runs configure.host and configure.target. Have to run this before
705 # the GLIBCPP_ENABLE_* macros below.
706 # Find a good install program.  We prefer a C program (faster),
707 # so one script is as good as another.  But avoid the broken or
708 # incompatible versions:
709 # SysV /etc/install, /usr/sbin/install
710 # SunOS /usr/etc/install
711 # IRIX /sbin/install
712 # AIX /bin/install
713 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
714 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
715 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
716 # ./install, which can be erroneously created by make from ./install.sh.
717 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
718 echo "configure:719: checking for a BSD compatible install" >&5
719 if test -z "$INSTALL"; then
720 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
721   echo $ac_n "(cached) $ac_c" 1>&6
722 else
723     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
724   for ac_dir in $PATH; do
725     # Account for people who put trailing slashes in PATH elements.
726     case "$ac_dir/" in
727     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
728     *)
729       # OSF1 and SCO ODT 3.0 have their own names for install.
730       # Don't use installbsd from OSF since it installs stuff as root
731       # by default.
732       for ac_prog in ginstall scoinst install; do
733         if test -f $ac_dir/$ac_prog; then
734           if test $ac_prog = install &&
735             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
736             # AIX install.  It has an incompatible calling convention.
737             :
738           else
739             ac_cv_path_install="$ac_dir/$ac_prog -c"
740             break 2
741           fi
742         fi
743       done
744       ;;
745     esac
746   done
747   IFS="$ac_save_IFS"
748
749 fi
750   if test "${ac_cv_path_install+set}" = set; then
751     INSTALL="$ac_cv_path_install"
752   else
753     # As a last resort, use the slow shell script.  We don't cache a
754     # path for INSTALL within a source directory, because that will
755     # break other packages using the cache if that directory is
756     # removed, or if the path is relative.
757     INSTALL="$ac_install_sh"
758   fi
759 fi
760 echo "$ac_t""$INSTALL" 1>&6
761
762 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
763 # It thinks the first close brace ends the variable substitution.
764 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
765
766 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
767
768 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
769
770 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
771 echo "configure:772: checking whether build environment is sane" >&5
772 # Just in case
773 sleep 1
774 echo timestamp > conftestfile
775 # Do `set' in a subshell so we don't clobber the current shell's
776 # arguments.  Must try -L first in case configure is actually a
777 # symlink; some systems play weird games with the mod time of symlinks
778 # (eg FreeBSD returns the mod time of the symlink's containing
779 # directory).
780 if (
781    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
782    if test "$*" = "X"; then
783       # -L didn't work.
784       set X `ls -t $srcdir/configure conftestfile`
785    fi
786    if test "$*" != "X $srcdir/configure conftestfile" \
787       && test "$*" != "X conftestfile $srcdir/configure"; then
788
789       # If neither matched, then we have a broken ls.  This can happen
790       # if, for instance, CONFIG_SHELL is bash and it inherits a
791       # broken ls alias from the environment.  This has actually
792       # happened.  Such a system could not be considered "sane".
793       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
794 alias in your environment" 1>&2; exit 1; }
795    fi
796
797    test "$2" = conftestfile
798    )
799 then
800    # Ok.
801    :
802 else
803    { echo "configure: error: newly created file is older than distributed files!
804 Check your system clock" 1>&2; exit 1; }
805 fi
806 rm -f conftest*
807 echo "$ac_t""yes" 1>&6
808 if test "$program_transform_name" = s,x,x,; then
809   program_transform_name=
810 else
811   # Double any \ or $.  echo might interpret backslashes.
812   cat <<\EOF_SED > conftestsed
813 s,\\,\\\\,g; s,\$,$$,g
814 EOF_SED
815   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
816   rm -f conftestsed
817 fi
818 test "$program_prefix" != NONE &&
819   program_transform_name="s,^,${program_prefix},; $program_transform_name"
820 # Use a double $ so make ignores it.
821 test "$program_suffix" != NONE &&
822   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
823
824 # sed with no file args requires a program.
825 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
826
827 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
828 echo "configure:829: checking whether ${MAKE-make} sets \${MAKE}" >&5
829 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
830 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
831   echo $ac_n "(cached) $ac_c" 1>&6
832 else
833   cat > conftestmake <<\EOF
834 all:
835         @echo 'ac_maketemp="${MAKE}"'
836 EOF
837 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
838 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
839 if test -n "$ac_maketemp"; then
840   eval ac_cv_prog_make_${ac_make}_set=yes
841 else
842   eval ac_cv_prog_make_${ac_make}_set=no
843 fi
844 rm -f conftestmake
845 fi
846 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
847   echo "$ac_t""yes" 1>&6
848   SET_MAKE=
849 else
850   echo "$ac_t""no" 1>&6
851   SET_MAKE="MAKE=${MAKE-make}"
852 fi
853
854 if test $host != $build; then
855   ac_tool_prefix=${host_alias}-
856 else
857   ac_tool_prefix=
858 fi
859
860 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
861 echo "configure:862: checking for Cygwin environment" >&5
862 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
863   echo $ac_n "(cached) $ac_c" 1>&6
864 else
865   cat > conftest.$ac_ext <<EOF
866 #line 867 "configure"
867 #include "confdefs.h"
868
869 int main() {
870
871 #ifndef __CYGWIN__
872 #define __CYGWIN__ __CYGWIN32__
873 #endif
874 return __CYGWIN__;
875 ; return 0; }
876 EOF
877 if { (eval echo configure:878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
878   rm -rf conftest*
879   ac_cv_cygwin=yes
880 else
881   echo "configure: failed program was:" >&5
882   cat conftest.$ac_ext >&5
883   rm -rf conftest*
884   ac_cv_cygwin=no
885 fi
886 rm -f conftest*
887 rm -f conftest*
888 fi
889
890 echo "$ac_t""$ac_cv_cygwin" 1>&6
891 CYGWIN=
892 test "$ac_cv_cygwin" = yes && CYGWIN=yes
893 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
894 echo "configure:895: checking for mingw32 environment" >&5
895 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
896   echo $ac_n "(cached) $ac_c" 1>&6
897 else
898   cat > conftest.$ac_ext <<EOF
899 #line 900 "configure"
900 #include "confdefs.h"
901
902 int main() {
903 return __MINGW32__;
904 ; return 0; }
905 EOF
906 if { (eval echo configure:907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
907   rm -rf conftest*
908   ac_cv_mingw32=yes
909 else
910   echo "configure: failed program was:" >&5
911   cat conftest.$ac_ext >&5
912   rm -rf conftest*
913   ac_cv_mingw32=no
914 fi
915 rm -f conftest*
916 rm -f conftest*
917 fi
918
919 echo "$ac_t""$ac_cv_mingw32" 1>&6
920 MINGW32=
921 test "$ac_cv_mingw32" = yes && MINGW32=yes
922
923     # Check whether --enable-multilib or --disable-multilib was given.
924 if test "${enable_multilib+set}" = set; then
925   enableval="$enable_multilib"
926   case "${enableval}" in
927     yes) multilib=yes ;;
928     no)  multilib=no ;;
929     *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
930    esac
931 else
932   multilib=yes
933 fi
934
935       if test "${srcdir}" = "."; then
936     if test "${with_target_subdir}" != "."; then
937       glibcpp_basedir="${srcdir}/${with_multisrctop}../."
938     else
939       glibcpp_basedir="${srcdir}/${with_multisrctop}."
940     fi
941   else
942     glibcpp_basedir="${srcdir}/."
943   fi
944   
945
946   
947 PACKAGE=libstdc++
948
949 VERSION=2.90.8
950
951 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
952   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
953 fi
954 cat >> confdefs.h <<EOF
955 #define PACKAGE "$PACKAGE"
956 EOF
957
958 cat >> confdefs.h <<EOF
959 #define VERSION "$VERSION"
960 EOF
961
962
963
964 missing_dir=`cd $ac_aux_dir && pwd`
965 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
966 echo "configure:967: checking for working aclocal" >&5
967 # Run test in a subshell; some versions of sh will print an error if
968 # an executable is not found, even if stderr is redirected.
969 # Redirect stdin to placate older versions of autoconf.  Sigh.
970 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
971    ACLOCAL=aclocal
972    echo "$ac_t""found" 1>&6
973 else
974    ACLOCAL="$missing_dir/missing aclocal"
975    echo "$ac_t""missing" 1>&6
976 fi
977
978 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
979 echo "configure:980: checking for working autoconf" >&5
980 # Run test in a subshell; some versions of sh will print an error if
981 # an executable is not found, even if stderr is redirected.
982 # Redirect stdin to placate older versions of autoconf.  Sigh.
983 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
984    AUTOCONF=autoconf
985    echo "$ac_t""found" 1>&6
986 else
987    AUTOCONF="$missing_dir/missing autoconf"
988    echo "$ac_t""missing" 1>&6
989 fi
990
991 echo $ac_n "checking for working automake""... $ac_c" 1>&6
992 echo "configure:993: checking for working automake" >&5
993 # Run test in a subshell; some versions of sh will print an error if
994 # an executable is not found, even if stderr is redirected.
995 # Redirect stdin to placate older versions of autoconf.  Sigh.
996 if (automake --version) < /dev/null > /dev/null 2>&1; then
997    AUTOMAKE=automake
998    echo "$ac_t""found" 1>&6
999 else
1000    AUTOMAKE="$missing_dir/missing automake"
1001    echo "$ac_t""missing" 1>&6
1002 fi
1003
1004 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1005 echo "configure:1006: checking for working autoheader" >&5
1006 # Run test in a subshell; some versions of sh will print an error if
1007 # an executable is not found, even if stderr is redirected.
1008 # Redirect stdin to placate older versions of autoconf.  Sigh.
1009 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1010    AUTOHEADER=autoheader
1011    echo "$ac_t""found" 1>&6
1012 else
1013    AUTOHEADER="$missing_dir/missing autoheader"
1014    echo "$ac_t""missing" 1>&6
1015 fi
1016
1017 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1018 echo "configure:1019: checking for working makeinfo" >&5
1019 # Run test in a subshell; some versions of sh will print an error if
1020 # an executable is not found, even if stderr is redirected.
1021 # Redirect stdin to placate older versions of autoconf.  Sigh.
1022 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1023    MAKEINFO=makeinfo
1024    echo "$ac_t""found" 1>&6
1025 else
1026    MAKEINFO="$missing_dir/missing makeinfo"
1027    echo "$ac_t""missing" 1>&6
1028 fi
1029
1030
1031
1032   # Never versions of autoconf add an underscore to these functions.
1033   # Prevent future problems ...
1034   
1035   
1036   
1037   
1038
1039 #  AC_PROG_CC
1040
1041 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
1042 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
1043 # are probably using a cross compiler, which will not be able to fully
1044 # link an executable.  This should really be fixed in autoconf
1045 # itself.
1046
1047
1048
1049
1050 # Extract the first word of "gcc", so it can be a program name with args.
1051 set dummy gcc; ac_word=$2
1052 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1053 echo "configure:1054: checking for $ac_word" >&5
1054 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1055   echo $ac_n "(cached) $ac_c" 1>&6
1056 else
1057   if test -n "$CC"; then
1058   ac_cv_prog_CC="$CC" # Let the user override the test.
1059 else
1060   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1061   ac_dummy="$PATH"
1062   for ac_dir in $ac_dummy; do
1063     test -z "$ac_dir" && ac_dir=.
1064     if test -f $ac_dir/$ac_word; then
1065       ac_cv_prog_CC="gcc"
1066       break
1067     fi
1068   done
1069   IFS="$ac_save_ifs"
1070 fi
1071 fi
1072 CC="$ac_cv_prog_CC"
1073 if test -n "$CC"; then
1074   echo "$ac_t""$CC" 1>&6
1075 else
1076   echo "$ac_t""no" 1>&6
1077 fi
1078
1079 if test -z "$CC"; then
1080   # Extract the first word of "cc", so it can be a program name with args.
1081 set dummy cc; ac_word=$2
1082 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1083 echo "configure:1084: checking for $ac_word" >&5
1084 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1085   echo $ac_n "(cached) $ac_c" 1>&6
1086 else
1087   if test -n "$CC"; then
1088   ac_cv_prog_CC="$CC" # Let the user override the test.
1089 else
1090   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1091   ac_prog_rejected=no
1092   ac_dummy="$PATH"
1093   for ac_dir in $ac_dummy; do
1094     test -z "$ac_dir" && ac_dir=.
1095     if test -f $ac_dir/$ac_word; then
1096       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1097         ac_prog_rejected=yes
1098         continue
1099       fi
1100       ac_cv_prog_CC="cc"
1101       break
1102     fi
1103   done
1104   IFS="$ac_save_ifs"
1105 if test $ac_prog_rejected = yes; then
1106   # We found a bogon in the path, so make sure we never use it.
1107   set dummy $ac_cv_prog_CC
1108   shift
1109   if test $# -gt 0; then
1110     # We chose a different compiler from the bogus one.
1111     # However, it has the same basename, so the bogon will be chosen
1112     # first if we set CC to just the basename; use the full file name.
1113     shift
1114     set dummy "$ac_dir/$ac_word" "$@"
1115     shift
1116     ac_cv_prog_CC="$@"
1117   fi
1118 fi
1119 fi
1120 fi
1121 CC="$ac_cv_prog_CC"
1122 if test -n "$CC"; then
1123   echo "$ac_t""$CC" 1>&6
1124 else
1125   echo "$ac_t""no" 1>&6
1126 fi
1127
1128   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1129 fi
1130
1131 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1132 echo "configure:1133: checking whether we are using GNU C" >&5
1133 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1134   echo $ac_n "(cached) $ac_c" 1>&6
1135 else
1136   cat > conftest.c <<EOF
1137 #ifdef __GNUC__
1138   yes;
1139 #endif
1140 EOF
1141 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1142   ac_cv_prog_gcc=yes
1143 else
1144   ac_cv_prog_gcc=no
1145 fi
1146 fi
1147
1148 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1149
1150 if test $ac_cv_prog_gcc = yes; then
1151   GCC=yes
1152   ac_test_CFLAGS="${CFLAGS+set}"
1153   ac_save_CFLAGS="$CFLAGS"
1154   CFLAGS=
1155   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1156 echo "configure:1157: checking whether ${CC-cc} accepts -g" >&5
1157 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1158   echo $ac_n "(cached) $ac_c" 1>&6
1159 else
1160   echo 'void f(){}' > conftest.c
1161 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1162   ac_cv_prog_cc_g=yes
1163 else
1164   ac_cv_prog_cc_g=no
1165 fi
1166 rm -f conftest*
1167
1168 fi
1169
1170 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1171   if test "$ac_test_CFLAGS" = set; then
1172     CFLAGS="$ac_save_CFLAGS"
1173   elif test $ac_cv_prog_cc_g = yes; then
1174     CFLAGS="-g -O2"
1175   else
1176     CFLAGS="-O2"
1177   fi
1178 else
1179   GCC=
1180   test "${CFLAGS+set}" = set || CFLAGS="-g"
1181 fi
1182
1183
1184 # Can't just call these here as g++ requires libstc++ to be built....
1185 #  AC_PROG_CXX
1186
1187 # Likewise for AC_PROG_CXX.
1188
1189
1190
1191 # Use CXX_libstdcxx so that we do not cause CXX to be cached with the
1192 # flags that come in CXX while configuring libstdc++.  They're different
1193 # from those used for all other target libraries.  If CXX is set in
1194 # the environment, respect that here.
1195 CXX_libstdcxx=$CXX
1196 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1197 do
1198 # Extract the first word of "$ac_prog", so it can be a program name with args.
1199 set dummy $ac_prog; ac_word=$2
1200 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1201 echo "configure:1202: checking for $ac_word" >&5
1202 if eval "test \"`echo '$''{'ac_cv_prog_CXX_libstdcxx'+set}'`\" = set"; then
1203   echo $ac_n "(cached) $ac_c" 1>&6
1204 else
1205   if test -n "$CXX_libstdcxx"; then
1206   ac_cv_prog_CXX_libstdcxx="$CXX_libstdcxx" # Let the user override the test.
1207 else
1208   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1209   ac_dummy="$PATH"
1210   for ac_dir in $ac_dummy; do
1211     test -z "$ac_dir" && ac_dir=.
1212     if test -f $ac_dir/$ac_word; then
1213       ac_cv_prog_CXX_libstdcxx="$ac_prog"
1214       break
1215     fi
1216   done
1217   IFS="$ac_save_ifs"
1218 fi
1219 fi
1220 CXX_libstdcxx="$ac_cv_prog_CXX_libstdcxx"
1221 if test -n "$CXX_libstdcxx"; then
1222   echo "$ac_t""$CXX_libstdcxx" 1>&6
1223 else
1224   echo "$ac_t""no" 1>&6
1225 fi
1226
1227 test -n "$CXX_libstdcxx" && break
1228 done
1229 test -n "$CXX_libstdcxx" || CXX_libstdcxx="gcc"
1230
1231 CXX=$CXX_libstdcxx
1232
1233 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1234
1235 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1236 echo "configure:1237: checking whether we are using GNU C++" >&5
1237 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1238   echo $ac_n "(cached) $ac_c" 1>&6
1239 else
1240   cat > conftest.C <<EOF
1241 #ifdef __GNUC__
1242   yes;
1243 #endif
1244 EOF
1245 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1246   ac_cv_prog_gxx=yes
1247 else
1248   ac_cv_prog_gxx=no
1249 fi
1250 fi
1251
1252 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1253
1254 if test $ac_cv_prog_gxx = yes; then
1255   GXX=yes
1256   ac_test_CXXFLAGS="${CXXFLAGS+set}"
1257   ac_save_CXXFLAGS="$CXXFLAGS"
1258   CXXFLAGS=
1259   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1260 echo "configure:1261: checking whether ${CXX-g++} accepts -g" >&5
1261 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1262   echo $ac_n "(cached) $ac_c" 1>&6
1263 else
1264   echo 'void f(){}' > conftest.cc
1265 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1266   ac_cv_prog_cxx_g=yes
1267 else
1268   ac_cv_prog_cxx_g=no
1269 fi
1270 rm -f conftest*
1271
1272 fi
1273
1274 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1275   if test "$ac_test_CXXFLAGS" = set; then
1276     CXXFLAGS="$ac_save_CXXFLAGS"
1277   elif test $ac_cv_prog_cxx_g = yes; then
1278     CXXFLAGS="-g -O2"
1279   else
1280     CXXFLAGS="-O2"
1281   fi
1282 else
1283   GXX=
1284   test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1285 fi
1286
1287
1288   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1289 set dummy ${ac_tool_prefix}as; ac_word=$2
1290 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1291 echo "configure:1292: checking for $ac_word" >&5
1292 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1293   echo $ac_n "(cached) $ac_c" 1>&6
1294 else
1295   if test -n "$AS"; then
1296   ac_cv_prog_AS="$AS" # Let the user override the test.
1297 else
1298   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1299   ac_dummy="$PATH"
1300   for ac_dir in $ac_dummy; do
1301     test -z "$ac_dir" && ac_dir=.
1302     if test -f $ac_dir/$ac_word; then
1303       ac_cv_prog_AS="${ac_tool_prefix}as"
1304       break
1305     fi
1306   done
1307   IFS="$ac_save_ifs"
1308   test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1309 fi
1310 fi
1311 AS="$ac_cv_prog_AS"
1312 if test -n "$AS"; then
1313   echo "$ac_t""$AS" 1>&6
1314 else
1315   echo "$ac_t""no" 1>&6
1316 fi
1317
1318
1319
1320   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1321 set dummy ${ac_tool_prefix}ar; ac_word=$2
1322 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1323 echo "configure:1324: checking for $ac_word" >&5
1324 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1325   echo $ac_n "(cached) $ac_c" 1>&6
1326 else
1327   if test -n "$AR"; then
1328   ac_cv_prog_AR="$AR" # Let the user override the test.
1329 else
1330   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1331   ac_dummy="$PATH"
1332   for ac_dir in $ac_dummy; do
1333     test -z "$ac_dir" && ac_dir=.
1334     if test -f $ac_dir/$ac_word; then
1335       ac_cv_prog_AR="${ac_tool_prefix}ar"
1336       break
1337     fi
1338   done
1339   IFS="$ac_save_ifs"
1340   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1341 fi
1342 fi
1343 AR="$ac_cv_prog_AR"
1344 if test -n "$AR"; then
1345   echo "$ac_t""$AR" 1>&6
1346 else
1347   echo "$ac_t""no" 1>&6
1348 fi
1349
1350
1351
1352   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1353 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1354 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1355 echo "configure:1356: checking for $ac_word" >&5
1356 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1357   echo $ac_n "(cached) $ac_c" 1>&6
1358 else
1359   if test -n "$RANLIB"; then
1360   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1361 else
1362   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1363   ac_dummy="$PATH"
1364   for ac_dir in $ac_dummy; do
1365     test -z "$ac_dir" && ac_dir=.
1366     if test -f $ac_dir/$ac_word; then
1367       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1368       break
1369     fi
1370   done
1371   IFS="$ac_save_ifs"
1372 fi
1373 fi
1374 RANLIB="$ac_cv_prog_RANLIB"
1375 if test -n "$RANLIB"; then
1376   echo "$ac_t""$RANLIB" 1>&6
1377 else
1378   echo "$ac_t""no" 1>&6
1379 fi
1380
1381
1382 if test -z "$ac_cv_prog_RANLIB"; then
1383 if test -n "$ac_tool_prefix"; then
1384   # Extract the first word of "ranlib", so it can be a program name with args.
1385 set dummy ranlib; ac_word=$2
1386 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1387 echo "configure:1388: checking for $ac_word" >&5
1388 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1389   echo $ac_n "(cached) $ac_c" 1>&6
1390 else
1391   if test -n "$RANLIB"; then
1392   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1393 else
1394   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1395   ac_dummy="$PATH"
1396   for ac_dir in $ac_dummy; do
1397     test -z "$ac_dir" && ac_dir=.
1398     if test -f $ac_dir/$ac_word; then
1399       ac_cv_prog_RANLIB="ranlib"
1400       break
1401     fi
1402   done
1403   IFS="$ac_save_ifs"
1404   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1405 fi
1406 fi
1407 RANLIB="$ac_cv_prog_RANLIB"
1408 if test -n "$RANLIB"; then
1409   echo "$ac_t""$RANLIB" 1>&6
1410 else
1411   echo "$ac_t""no" 1>&6
1412 fi
1413
1414 else
1415   RANLIB=":"
1416 fi
1417 fi
1418
1419
1420   # Find a good install program.  We prefer a C program (faster),
1421 # so one script is as good as another.  But avoid the broken or
1422 # incompatible versions:
1423 # SysV /etc/install, /usr/sbin/install
1424 # SunOS /usr/etc/install
1425 # IRIX /sbin/install
1426 # AIX /bin/install
1427 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1428 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1429 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1430 # ./install, which can be erroneously created by make from ./install.sh.
1431 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1432 echo "configure:1433: checking for a BSD compatible install" >&5
1433 if test -z "$INSTALL"; then
1434 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1435   echo $ac_n "(cached) $ac_c" 1>&6
1436 else
1437     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
1438   for ac_dir in $PATH; do
1439     # Account for people who put trailing slashes in PATH elements.
1440     case "$ac_dir/" in
1441     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1442     *)
1443       # OSF1 and SCO ODT 3.0 have their own names for install.
1444       # Don't use installbsd from OSF since it installs stuff as root
1445       # by default.
1446       for ac_prog in ginstall scoinst install; do
1447         if test -f $ac_dir/$ac_prog; then
1448           if test $ac_prog = install &&
1449             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1450             # AIX install.  It has an incompatible calling convention.
1451             :
1452           else
1453             ac_cv_path_install="$ac_dir/$ac_prog -c"
1454             break 2
1455           fi
1456         fi
1457       done
1458       ;;
1459     esac
1460   done
1461   IFS="$ac_save_IFS"
1462
1463 fi
1464   if test "${ac_cv_path_install+set}" = set; then
1465     INSTALL="$ac_cv_path_install"
1466   else
1467     # As a last resort, use the slow shell script.  We don't cache a
1468     # path for INSTALL within a source directory, because that will
1469     # break other packages using the cache if that directory is
1470     # removed, or if the path is relative.
1471     INSTALL="$ac_install_sh"
1472   fi
1473 fi
1474 echo "$ac_t""$INSTALL" 1>&6
1475
1476 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1477 # It thinks the first close brace ends the variable substitution.
1478 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1479
1480 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1481
1482 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1483
1484
1485   echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1486 echo "configure:1487: checking whether to enable maintainer-specific portions of Makefiles" >&5
1487     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1488 if test "${enable_maintainer_mode+set}" = set; then
1489   enableval="$enable_maintainer_mode"
1490   USE_MAINTAINER_MODE=$enableval
1491 else
1492   USE_MAINTAINER_MODE=no
1493 fi
1494
1495   echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1496   
1497
1498 if test $USE_MAINTAINER_MODE = yes; then
1499   MAINTAINER_MODE_TRUE=
1500   MAINTAINER_MODE_FALSE='#'
1501 else
1502   MAINTAINER_MODE_TRUE='#'
1503   MAINTAINER_MODE_FALSE=
1504 fi
1505   MAINT=$MAINTAINER_MODE_TRUE
1506   
1507
1508
1509   # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
1510   # at least currently, we never actually build a program, so we never
1511   # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
1512   # fails, because we are probably configuring with a cross compiler
1513   # which cant create executables.  So we include AC_EXEEXT to keep
1514   # automake happy, but we dont execute it, since we dont care about
1515   # the result.
1516   if false; then
1517     
1518
1519 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1520 echo "configure:1521: checking for executable suffix" >&5
1521 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1522   echo $ac_n "(cached) $ac_c" 1>&6
1523 else
1524   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1525   ac_cv_exeext=.exe
1526 else
1527   rm -f conftest*
1528   echo 'int main () { return 0; }' > conftest.$ac_ext
1529   ac_cv_exeext=
1530   if { (eval echo configure:1531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1531     for file in conftest.*; do
1532       case $file in
1533       *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1534       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1535       esac
1536     done
1537   else
1538     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1539   fi
1540   rm -f conftest*
1541   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1542 fi
1543 fi
1544
1545 EXEEXT=""
1546 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1547 echo "$ac_t""${ac_cv_exeext}" 1>&6
1548 ac_exeext=$EXEEXT
1549
1550   fi
1551
1552   # configure.host sets the following important variables
1553   #        glibcpp_cflags    - host specific C compiler flags
1554   #        glibcpp_cxxflags  - host specific C++ compiler flags
1555   glibcpp_cflags=
1556   glibcpp_cxxflags=
1557
1558   . ${glibcpp_basedir}/configure.host
1559
1560   case ${glibcpp_basedir} in
1561     /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1562     *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1563   esac
1564
1565   # This does for the target what configure.host does for the host.  In
1566   # addition to modifying the same flags, it also sets up symlinks.
1567   
1568     . ${glibcpp_basedir}/configure.target
1569     echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1570     echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1571     
1572
1573
1574   GLIBCPP_CFLAGS="${glibcpp_cflags}"
1575   GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1576   
1577   
1578
1579
1580
1581 # Check whether --enable-shared or --disable-shared was given.
1582 if test "${enable_shared+set}" = set; then
1583   enableval="$enable_shared"
1584   p=${PACKAGE-default}
1585 case "$enableval" in
1586 yes) enable_shared=yes ;;
1587 no) enable_shared=no ;;
1588 *)
1589   enable_shared=no
1590   # Look at the argument we got.  We use all the common list separators.
1591   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1592   for pkg in $enableval; do
1593     if test "X$pkg" = "X$p"; then
1594       enable_shared=yes
1595     fi
1596   done
1597   IFS="$ac_save_ifs"
1598   ;;
1599 esac
1600 else
1601   enable_shared=yes
1602 fi
1603
1604 # Check whether --enable-static or --disable-static was given.
1605 if test "${enable_static+set}" = set; then
1606   enableval="$enable_static"
1607   p=${PACKAGE-default}
1608 case "$enableval" in
1609 yes) enable_static=yes ;;
1610 no) enable_static=no ;;
1611 *)
1612   enable_static=no
1613   # Look at the argument we got.  We use all the common list separators.
1614   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1615   for pkg in $enableval; do
1616     if test "X$pkg" = "X$p"; then
1617       enable_static=yes
1618     fi
1619   done
1620   IFS="$ac_save_ifs"
1621   ;;
1622 esac
1623 else
1624   enable_static=yes
1625 fi
1626
1627 # Check whether --enable-fast-install or --disable-fast-install was given.
1628 if test "${enable_fast_install+set}" = set; then
1629   enableval="$enable_fast_install"
1630   p=${PACKAGE-default}
1631 case "$enableval" in
1632 yes) enable_fast_install=yes ;;
1633 no) enable_fast_install=no ;;
1634 *)
1635   enable_fast_install=no
1636   # Look at the argument we got.  We use all the common list separators.
1637   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1638   for pkg in $enableval; do
1639     if test "X$pkg" = "X$p"; then
1640       enable_fast_install=yes
1641     fi
1642   done
1643   IFS="$ac_save_ifs"
1644   ;;
1645 esac
1646 else
1647   enable_fast_install=yes
1648 fi
1649
1650 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1651 if test "${with_gnu_ld+set}" = set; then
1652   withval="$with_gnu_ld"
1653   test "$withval" = no || with_gnu_ld=yes
1654 else
1655   with_gnu_ld=no
1656 fi
1657
1658 ac_prog=ld
1659 if test "$ac_cv_prog_gcc" = yes; then
1660   # Check if gcc -print-prog-name=ld gives a path.
1661   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1662 echo "configure:1663: checking for ld used by GCC" >&5
1663   case $host in
1664   *-*-mingw*)
1665     # gcc leaves a trailing carriage return which upsets mingw
1666     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1667   *)
1668     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1669   esac
1670   case "$ac_prog" in
1671     # Accept absolute paths.
1672     [\\/]* | [A-Za-z]:[\\/]*)
1673       re_direlt='/[^/][^/]*/\.\./'
1674       # Canonicalize the path of ld
1675       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1676       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1677         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1678       done
1679       test -z "$LD" && LD="$ac_prog"
1680       ;;
1681   "")
1682     # If it fails, then pretend we aren't using GCC.
1683     ac_prog=ld
1684     ;;
1685   *)
1686     # If it is relative, then search for the first ld in PATH.
1687     with_gnu_ld=unknown
1688     ;;
1689   esac
1690 elif test "$with_gnu_ld" = yes; then
1691   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1692 echo "configure:1693: checking for GNU ld" >&5
1693 else
1694   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1695 echo "configure:1696: checking for non-GNU ld" >&5
1696 fi
1697 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1698   echo $ac_n "(cached) $ac_c" 1>&6
1699 else
1700   if test -z "$LD"; then
1701   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1702   for ac_dir in $PATH; do
1703     test -z "$ac_dir" && ac_dir=.
1704     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1705       ac_cv_path_LD="$ac_dir/$ac_prog"
1706       # Check to see if the program is GNU ld.  I'd rather use --version,
1707       # but apparently some GNU ld's only accept -v.
1708       # Break only if it was the GNU/non-GNU ld that we prefer.
1709       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1710         test "$with_gnu_ld" != no && break
1711       else
1712         test "$with_gnu_ld" != yes && break
1713       fi
1714     fi
1715   done
1716   IFS="$ac_save_ifs"
1717 else
1718   ac_cv_path_LD="$LD" # Let the user override the test with a path.
1719 fi
1720 fi
1721
1722 LD="$ac_cv_path_LD"
1723 if test -n "$LD"; then
1724   echo "$ac_t""$LD" 1>&6
1725 else
1726   echo "$ac_t""no" 1>&6
1727 fi
1728 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1729 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1730 echo "configure:1731: checking if the linker ($LD) is GNU ld" >&5
1731 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1732   echo $ac_n "(cached) $ac_c" 1>&6
1733 else
1734   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1735 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1736   ac_cv_prog_gnu_ld=yes
1737 else
1738   ac_cv_prog_gnu_ld=no
1739 fi
1740 fi
1741
1742 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1743 with_gnu_ld=$ac_cv_prog_gnu_ld
1744
1745
1746 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1747 echo "configure:1748: checking for $LD option to reload object files" >&5
1748 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1749   echo $ac_n "(cached) $ac_c" 1>&6
1750 else
1751   lt_cv_ld_reload_flag='-r'
1752 fi
1753
1754 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1755 reload_flag=$lt_cv_ld_reload_flag
1756 test -n "$reload_flag" && reload_flag=" $reload_flag"
1757
1758 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1759 echo "configure:1760: checking for BSD-compatible nm" >&5
1760 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1761   echo $ac_n "(cached) $ac_c" 1>&6
1762 else
1763   if test -n "$NM"; then
1764   # Let the user override the test.
1765   ac_cv_path_NM="$NM"
1766 else
1767   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1768   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1769     test -z "$ac_dir" && ac_dir=.
1770     tmp_nm=$ac_dir/${ac_tool_prefix}nm
1771     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1772       # Check to see if the nm accepts a BSD-compat flag.
1773       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1774       #   nm: unknown option "B" ignored
1775       # Tru64's nm complains that /dev/null is an invalid object file
1776       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1777         ac_cv_path_NM="$tmp_nm -B"
1778         break
1779       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1780         ac_cv_path_NM="$tmp_nm -p"
1781         break
1782       else
1783         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1784         continue # so that we can try to find one that supports BSD flags
1785       fi
1786     fi
1787   done
1788   IFS="$ac_save_ifs"
1789   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1790 fi
1791 fi
1792
1793 NM="$ac_cv_path_NM"
1794 echo "$ac_t""$NM" 1>&6
1795
1796 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1797 echo "configure:1798: checking whether ln -s works" >&5
1798 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1799   echo $ac_n "(cached) $ac_c" 1>&6
1800 else
1801   rm -f conftestdata
1802 if ln -s X conftestdata 2>/dev/null
1803 then
1804   rm -f conftestdata
1805   ac_cv_prog_LN_S="ln -s"
1806 else
1807   ac_cv_prog_LN_S=ln
1808 fi
1809 fi
1810 LN_S="$ac_cv_prog_LN_S"
1811 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1812   echo "$ac_t""yes" 1>&6
1813 else
1814   echo "$ac_t""no" 1>&6
1815 fi
1816
1817 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1818 echo "configure:1819: checking how to recognise dependant libraries" >&5
1819 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1820   echo $ac_n "(cached) $ac_c" 1>&6
1821 else
1822   lt_cv_file_magic_cmd='$MAGIC_CMD'
1823 lt_cv_file_magic_test_file=
1824 lt_cv_deplibs_check_method='unknown'
1825 # Need to set the preceding variable on all platforms that support
1826 # interlibrary dependencies.
1827 # 'none' -- dependencies not supported.
1828 # `unknown' -- same as none, but documents that we really don't know.
1829 # 'pass_all' -- all dependencies passed with no checks.
1830 # 'test_compile' -- check by making test program.
1831 # 'file_magic [regex]' -- check by looking for files in library path
1832 # which responds to the $file_magic_cmd with a given egrep regex.
1833 # If you have `file' or equivalent on your system and you're not sure
1834 # whether `pass_all' will *always* work, you probably want this one.
1835
1836 case "$host_os" in
1837 aix4*)
1838   lt_cv_deplibs_check_method=pass_all
1839   ;;
1840
1841 beos*)
1842   lt_cv_deplibs_check_method=pass_all
1843   ;;
1844
1845 bsdi4*)
1846     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1847     lt_cv_file_magic_cmd='/usr/bin/file -L'
1848   lt_cv_file_magic_test_file=/shlib/libc.so
1849   ;;
1850
1851 cygwin* | mingw* |pw32*)
1852   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1853   lt_cv_file_magic_cmd='$OBJDUMP -f'
1854   ;;
1855
1856 freebsd* )
1857   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1858     case "$host_cpu" in
1859     i*86 )
1860       # Not sure whether the presence of OpenBSD here was a mistake.
1861       # Let's accept both of them until this is cleared up.
1862             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1863             lt_cv_file_magic_cmd=/usr/bin/file
1864       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1865       ;;
1866     esac
1867   else
1868     lt_cv_deplibs_check_method=pass_all
1869   fi
1870   ;;
1871
1872 gnu*)
1873   lt_cv_deplibs_check_method=pass_all
1874   ;;
1875
1876 hpux10.20*)
1877   # TODO:  Does this work for hpux-11 too?
1878   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1879   lt_cv_file_magic_cmd=/usr/bin/file
1880   lt_cv_file_magic_test_file=/usr/lib/libc.sl
1881   ;;
1882
1883 irix5* | irix6*)
1884   case "$host_os" in
1885   irix5*)
1886     # this will be overridden with pass_all, but let us keep it just in case
1887     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1888     ;;
1889   *)
1890     case "$LD" in
1891     *-32|*"-32 ") libmagic=32-bit;;
1892     *-n32|*"-n32 ") libmagic=N32;;
1893     *-64|*"-64 ") libmagic=64-bit;;
1894     *) libmagic=never-match;;
1895     esac
1896     # this will be overridden with pass_all, but let us keep it just in case
1897         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1898         ;;
1899   esac
1900   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1901   lt_cv_deplibs_check_method=pass_all
1902   ;;
1903
1904 # This must be Linux ELF.
1905 linux-gnu*)
1906   case "$host_cpu" in
1907   alpha* | i*86 | powerpc* | sparc* | ia64* )
1908     lt_cv_deplibs_check_method=pass_all ;;
1909   *)
1910     # glibc up to 2.1.1 does not perform some relocations on ARM
1911         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1912       esac
1913   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1914   ;;
1915
1916 netbsd*)
1917   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1918   else
1919         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1920         lt_cv_file_magic_cmd='/usr/bin/file -L'
1921     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1922   fi
1923   ;;
1924
1925 osf3* | osf4* | osf5*)
1926   # this will be overridden with pass_all, but let us keep it just in case
1927   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1928   lt_cv_file_magic_test_file=/shlib/libc.so
1929   lt_cv_deplibs_check_method=pass_all
1930   ;;
1931
1932 sco3.2v5*)
1933   lt_cv_deplibs_check_method=pass_all
1934   ;;
1935
1936 solaris*)
1937   lt_cv_deplibs_check_method=pass_all
1938   lt_cv_file_magic_test_file=/lib/libc.so
1939   ;;
1940
1941 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1942   case "$host_vendor" in
1943   ncr)
1944     lt_cv_deplibs_check_method=pass_all
1945     ;;
1946   motorola)
1947         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]'
1948         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1949     ;;
1950   esac
1951   ;;
1952 esac
1953
1954 fi
1955
1956 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1957 file_magic_cmd=$lt_cv_file_magic_cmd
1958 deplibs_check_method=$lt_cv_deplibs_check_method
1959
1960 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1961 echo "configure:1962: checking for object suffix" >&5
1962 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1963   echo $ac_n "(cached) $ac_c" 1>&6
1964 else
1965   rm -f conftest*
1966 echo 'int i = 1;' > conftest.$ac_ext
1967 if { (eval echo configure:1968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1968   for ac_file in conftest.*; do
1969     case $ac_file in
1970     *.c) ;;
1971     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1972     esac
1973   done
1974 else
1975   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1976 fi
1977 rm -f conftest*
1978 fi
1979
1980 echo "$ac_t""$ac_cv_objext" 1>&6
1981 OBJEXT=$ac_cv_objext
1982 ac_objext=$ac_cv_objext
1983
1984 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1985
1986 # Only perform the check for file, if the check method requires it
1987 case "$deplibs_check_method" in
1988 file_magic*)
1989   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1990     echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1991 echo "configure:1992: checking for ${ac_tool_prefix}file" >&5
1992 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1993   echo $ac_n "(cached) $ac_c" 1>&6
1994 else
1995   case "$MAGIC_CMD" in
1996   /*)
1997   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1998   ;;
1999   ?:/*)
2000   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2001   ;;
2002   *)
2003   ac_save_MAGIC_CMD="$MAGIC_CMD"
2004   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2005   ac_dummy="/usr/bin:$PATH"
2006   for ac_dir in $ac_dummy; do
2007     test -z "$ac_dir" && ac_dir=.
2008     if test -f $ac_dir/${ac_tool_prefix}file; then
2009       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2010       if test -n "$file_magic_test_file"; then
2011         case "$deplibs_check_method" in
2012         "file_magic "*)
2013           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2014           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2015           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2016             egrep "$file_magic_regex" > /dev/null; then
2017             :
2018           else
2019             cat <<EOF 1>&2
2020
2021 *** Warning: the command libtool uses to detect shared libraries,
2022 *** $file_magic_cmd, produces output that libtool cannot recognize.
2023 *** The result is that libtool may fail to recognize shared libraries
2024 *** as such.  This will affect the creation of libtool libraries that
2025 *** depend on shared libraries, but programs linked with such libtool
2026 *** libraries will work regardless of this problem.  Nevertheless, you
2027 *** may want to report the problem to your system manager and/or to
2028 *** bug-libtool@gnu.org
2029
2030 EOF
2031           fi ;;
2032         esac
2033       fi
2034       break
2035     fi
2036   done
2037   IFS="$ac_save_ifs"
2038   MAGIC_CMD="$ac_save_MAGIC_CMD"
2039   ;;
2040 esac
2041 fi
2042
2043 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2044 if test -n "$MAGIC_CMD"; then
2045   echo "$ac_t""$MAGIC_CMD" 1>&6
2046 else
2047   echo "$ac_t""no" 1>&6
2048 fi
2049
2050 if test -z "$lt_cv_path_MAGIC_CMD"; then
2051   if test -n "$ac_tool_prefix"; then
2052     echo $ac_n "checking for file""... $ac_c" 1>&6
2053 echo "configure:2054: checking for file" >&5
2054 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2055   echo $ac_n "(cached) $ac_c" 1>&6
2056 else
2057   case "$MAGIC_CMD" in
2058   /*)
2059   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2060   ;;
2061   ?:/*)
2062   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2063   ;;
2064   *)
2065   ac_save_MAGIC_CMD="$MAGIC_CMD"
2066   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2067   ac_dummy="/usr/bin:$PATH"
2068   for ac_dir in $ac_dummy; do
2069     test -z "$ac_dir" && ac_dir=.
2070     if test -f $ac_dir/file; then
2071       lt_cv_path_MAGIC_CMD="$ac_dir/file"
2072       if test -n "$file_magic_test_file"; then
2073         case "$deplibs_check_method" in
2074         "file_magic "*)
2075           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2076           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2077           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2078             egrep "$file_magic_regex" > /dev/null; then
2079             :
2080           else
2081             cat <<EOF 1>&2
2082
2083 *** Warning: the command libtool uses to detect shared libraries,
2084 *** $file_magic_cmd, produces output that libtool cannot recognize.
2085 *** The result is that libtool may fail to recognize shared libraries
2086 *** as such.  This will affect the creation of libtool libraries that
2087 *** depend on shared libraries, but programs linked with such libtool
2088 *** libraries will work regardless of this problem.  Nevertheless, you
2089 *** may want to report the problem to your system manager and/or to
2090 *** bug-libtool@gnu.org
2091
2092 EOF
2093           fi ;;
2094         esac
2095       fi
2096       break
2097     fi
2098   done
2099   IFS="$ac_save_ifs"
2100   MAGIC_CMD="$ac_save_MAGIC_CMD"
2101   ;;
2102 esac
2103 fi
2104
2105 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2106 if test -n "$MAGIC_CMD"; then
2107   echo "$ac_t""$MAGIC_CMD" 1>&6
2108 else
2109   echo "$ac_t""no" 1>&6
2110 fi
2111
2112   else
2113     MAGIC_CMD=:
2114   fi
2115 fi
2116
2117   fi
2118   ;;
2119 esac
2120
2121 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2122 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2123 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2124 echo "configure:2125: checking for $ac_word" >&5
2125 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2126   echo $ac_n "(cached) $ac_c" 1>&6
2127 else
2128   if test -n "$RANLIB"; then
2129   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2130 else
2131   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2132   ac_dummy="$PATH"
2133   for ac_dir in $ac_dummy; do
2134     test -z "$ac_dir" && ac_dir=.
2135     if test -f $ac_dir/$ac_word; then
2136       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2137       break
2138     fi
2139   done
2140   IFS="$ac_save_ifs"
2141 fi
2142 fi
2143 RANLIB="$ac_cv_prog_RANLIB"
2144 if test -n "$RANLIB"; then
2145   echo "$ac_t""$RANLIB" 1>&6
2146 else
2147   echo "$ac_t""no" 1>&6
2148 fi
2149
2150
2151 if test -z "$ac_cv_prog_RANLIB"; then
2152 if test -n "$ac_tool_prefix"; then
2153   # Extract the first word of "ranlib", so it can be a program name with args.
2154 set dummy ranlib; ac_word=$2
2155 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2156 echo "configure:2157: checking for $ac_word" >&5
2157 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2158   echo $ac_n "(cached) $ac_c" 1>&6
2159 else
2160   if test -n "$RANLIB"; then
2161   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2162 else
2163   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2164   ac_dummy="$PATH"
2165   for ac_dir in $ac_dummy; do
2166     test -z "$ac_dir" && ac_dir=.
2167     if test -f $ac_dir/$ac_word; then
2168       ac_cv_prog_RANLIB="ranlib"
2169       break
2170     fi
2171   done
2172   IFS="$ac_save_ifs"
2173   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2174 fi
2175 fi
2176 RANLIB="$ac_cv_prog_RANLIB"
2177 if test -n "$RANLIB"; then
2178   echo "$ac_t""$RANLIB" 1>&6
2179 else
2180   echo "$ac_t""no" 1>&6
2181 fi
2182
2183 else
2184   RANLIB=":"
2185 fi
2186 fi
2187
2188 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2189 set dummy ${ac_tool_prefix}strip; ac_word=$2
2190 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2191 echo "configure:2192: checking for $ac_word" >&5
2192 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2193   echo $ac_n "(cached) $ac_c" 1>&6
2194 else
2195   if test -n "$STRIP"; then
2196   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2197 else
2198   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2199   ac_dummy="$PATH"
2200   for ac_dir in $ac_dummy; do
2201     test -z "$ac_dir" && ac_dir=.
2202     if test -f $ac_dir/$ac_word; then
2203       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2204       break
2205     fi
2206   done
2207   IFS="$ac_save_ifs"
2208 fi
2209 fi
2210 STRIP="$ac_cv_prog_STRIP"
2211 if test -n "$STRIP"; then
2212   echo "$ac_t""$STRIP" 1>&6
2213 else
2214   echo "$ac_t""no" 1>&6
2215 fi
2216
2217
2218 if test -z "$ac_cv_prog_STRIP"; then
2219 if test -n "$ac_tool_prefix"; then
2220   # Extract the first word of "strip", so it can be a program name with args.
2221 set dummy strip; ac_word=$2
2222 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2223 echo "configure:2224: checking for $ac_word" >&5
2224 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2225   echo $ac_n "(cached) $ac_c" 1>&6
2226 else
2227   if test -n "$STRIP"; then
2228   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2229 else
2230   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2231   ac_dummy="$PATH"
2232   for ac_dir in $ac_dummy; do
2233     test -z "$ac_dir" && ac_dir=.
2234     if test -f $ac_dir/$ac_word; then
2235       ac_cv_prog_STRIP="strip"
2236       break
2237     fi
2238   done
2239   IFS="$ac_save_ifs"
2240   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2241 fi
2242 fi
2243 STRIP="$ac_cv_prog_STRIP"
2244 if test -n "$STRIP"; then
2245   echo "$ac_t""$STRIP" 1>&6
2246 else
2247   echo "$ac_t""no" 1>&6
2248 fi
2249
2250 else
2251   STRIP=":"
2252 fi
2253 fi
2254
2255
2256 # Check for any special flags to pass to ltconfig.
2257 libtool_flags="--cache-file=$cache_file"
2258 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2259 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2260 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2261 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2262 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2263 libtool_flags="$libtool_flags --enable-dlopen"
2264
2265 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2266 if test "${enable_libtool_lock+set}" = set; then
2267   enableval="$enable_libtool_lock"
2268   :
2269 fi
2270
2271 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2272 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2273
2274 # Check whether --with-pic or --without-pic was given.
2275 if test "${with_pic+set}" = set; then
2276   withval="$with_pic"
2277   pic_mode="$withval"
2278 else
2279   pic_mode=default
2280 fi
2281
2282 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2283 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2284
2285 # Some flags need to be propagated to the compiler or linker for good
2286 # libtool support.
2287 case "$host" in
2288 *-*-irix6*)
2289   # Find out which ABI we are using.
2290   echo '#line 2291 "configure"' > conftest.$ac_ext
2291   if { (eval echo configure:2292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2292     case "`/usr/bin/file conftest.o`" in
2293     *32-bit*)
2294       LD="${LD-ld} -32"
2295       ;;
2296     *N32*)
2297       LD="${LD-ld} -n32"
2298       ;;
2299     *64-bit*)
2300       LD="${LD-ld} -64"
2301       ;;
2302     esac
2303   fi
2304   rm -rf conftest*
2305   ;;
2306
2307 *-*-sco3.2v5*)
2308   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2309   SAVE_CFLAGS="$CFLAGS"
2310   CFLAGS="$CFLAGS -belf"
2311   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2312 echo "configure:2313: checking whether the C compiler needs -belf" >&5
2313 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2314   echo $ac_n "(cached) $ac_c" 1>&6
2315 else
2316   
2317      ac_ext=c
2318 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2319 ac_cpp='$CPP $CPPFLAGS'
2320 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2321 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2322 cross_compiling=$ac_cv_prog_cc_cross
2323
2324      cat > conftest.$ac_ext <<EOF
2325 #line 2326 "configure"
2326 #include "confdefs.h"
2327
2328 int main() {
2329
2330 ; return 0; }
2331 EOF
2332 if { (eval echo configure:2333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2333   rm -rf conftest*
2334   lt_cv_cc_needs_belf=yes
2335 else
2336   echo "configure: failed program was:" >&5
2337   cat conftest.$ac_ext >&5
2338   rm -rf conftest*
2339   lt_cv_cc_needs_belf=no
2340 fi
2341 rm -f conftest*
2342      ac_ext=c
2343 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2344 ac_cpp='$CPP $CPPFLAGS'
2345 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2346 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2347 cross_compiling=$ac_cv_prog_cc_cross
2348
2349 fi
2350
2351 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2352   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2353     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2354     CFLAGS="$SAVE_CFLAGS"
2355   fi
2356   ;;
2357
2358
2359 esac
2360
2361 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2362 echo "configure:2363: checking how to run the C++ preprocessor" >&5
2363 if test -z "$CXXCPP"; then
2364 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2365   echo $ac_n "(cached) $ac_c" 1>&6
2366 else
2367   ac_ext=C
2368 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2369 ac_cpp='$CXXCPP $CPPFLAGS'
2370 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2371 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2372 cross_compiling=$ac_cv_prog_cxx_cross
2373   CXXCPP="${CXX-g++} -E"
2374   cat > conftest.$ac_ext <<EOF
2375 #line 2376 "configure"
2376 #include "confdefs.h"
2377 #include <stdlib.h>
2378 EOF
2379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2380 { (eval echo configure:2381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2382 if test -z "$ac_err"; then
2383   :
2384 else
2385   echo "$ac_err" >&5
2386   echo "configure: failed program was:" >&5
2387   cat conftest.$ac_ext >&5
2388   rm -rf conftest*
2389   CXXCPP=/lib/cpp
2390 fi
2391 rm -f conftest*
2392   ac_cv_prog_CXXCPP="$CXXCPP"
2393 ac_ext=c
2394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2395 ac_cpp='$CPP $CPPFLAGS'
2396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2398 cross_compiling=$ac_cv_prog_cc_cross
2399 fi
2400 fi
2401 CXXCPP="$ac_cv_prog_CXXCPP"
2402 echo "$ac_t""$CXXCPP" 1>&6
2403
2404
2405 # Save cache, so that ltconfig can load it
2406 cat > confcache <<\EOF
2407 # This file is a shell script that caches the results of configure
2408 # tests run on this system so they can be shared between configure
2409 # scripts and configure runs.  It is not useful on other systems.
2410 # If it contains results you don't want to keep, you may remove or edit it.
2411 #
2412 # By default, configure uses ./config.cache as the cache file,
2413 # creating it if it does not exist already.  You can give configure
2414 # the --cache-file=FILE option to use a different cache file; that is
2415 # what configure does when it calls configure scripts in
2416 # subdirectories, so they share the cache.
2417 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2418 # config.status only pays attention to the cache file if you give it the
2419 # --recheck option to rerun configure.
2420 #
2421 EOF
2422 # The following way of writing the cache mishandles newlines in values,
2423 # but we know of no workaround that is simple, portable, and efficient.
2424 # So, don't put newlines in cache variables' values.
2425 # Ultrix sh set writes to stderr and can't be redirected directly,
2426 # and sets the high bit in the cache file unless we assign to the vars.
2427 (set) 2>&1 |
2428   case `(ac_space=' '; set | grep ac_space) 2>&1` in
2429   *ac_space=\ *)
2430     # `set' does not quote correctly, so add quotes (double-quote substitution
2431     # turns \\\\ into \\, and sed turns \\ into \).
2432     sed -n \
2433       -e "s/'/'\\\\''/g" \
2434       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2435     ;;
2436   *)
2437     # `set' quotes correctly as required by POSIX, so do not add quotes.
2438     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2439     ;;
2440   esac >> confcache
2441 if cmp -s $cache_file confcache; then
2442   :
2443 else
2444   if test -w $cache_file; then
2445     echo "updating cache $cache_file"
2446     cat confcache > $cache_file
2447   else
2448     echo "not updating unwritable cache $cache_file"
2449   fi
2450 fi
2451 rm -f confcache
2452
2453
2454 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
2455 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2456 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2457 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2458 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2459 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2460 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2461 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2462 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2463 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2464
2465 # Reload cache, that may have been modified by ltconfig
2466 if test -r "$cache_file"; then
2467   echo "loading cache $cache_file"
2468   . $cache_file
2469 else
2470   echo "creating cache $cache_file"
2471   > $cache_file
2472 fi
2473
2474
2475 # This can be used to rebuild libtool when needed
2476 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2477
2478 # Always use our own libtool.
2479 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2480
2481 # Redirect the config.log output again, so that the ltconfig log is not
2482 # clobbered by the next message.
2483 exec 5>>./config.log
2484
2485
2486
2487
2488 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2489 lt_save_CC="$CC"
2490 lt_save_CFLAGS="$CFLAGS"
2491 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2492 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2493 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2494 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2495 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2496 deplibs_check_method="$deplibs_check_method" \
2497 file_magic_cmd="$file_magic_cmd" \
2498 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2499 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2500 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2501 CC="$lt_save_CC"
2502 CFLAGS="$lt_save_CFLAGS"
2503
2504 # Redirect the config.log output again, so that the ltconfig log is not
2505 # clobbered by the next message.
2506 exec 5>>./config.log
2507
2508
2509   
2510
2511   
2512          
2513          
2514
2515
2516 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2517 echo "configure:2518: checking for GNU make" >&5
2518 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2519   echo $ac_n "(cached) $ac_c" 1>&6
2520 else
2521   _cv_gnu_make_command='' ;
2522           for a in "${MAKE:-make}" make gmake gnumake ; do
2523                   if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2524                   then
2525                           _cv_gnu_make_command=$a ;
2526                           break;
2527                   fi
2528           done ;
2529   
2530 fi
2531
2532 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2533   if test  "x$_cv_gnu_make_command" != "x"  ; then
2534           ifGNUmake='' ;
2535   else
2536           ifGNUmake='#' ;
2537   fi
2538   
2539
2540   if test "x$_cv_gnu_make_command" = "x"; then
2541     { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2542   fi
2543
2544
2545
2546
2547 # Check for c++ or library specific bits that don't require linking.
2548
2549 if test ! -f stamp-sanity-compiler; then
2550   echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2551 echo "configure:2552: checking for g++ that will successfully compile libstdc++-v3" >&5
2552   
2553   ac_ext=C
2554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2555 ac_cpp='$CXXCPP $CPPFLAGS'
2556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2558 cross_compiling=$ac_cv_prog_cxx_cross
2559
2560   cat > conftest.$ac_ext <<EOF
2561 #line 2562 "configure"
2562 #include "confdefs.h"
2563
2564   #if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
2565     ok
2566   #endif
2567   
2568 EOF
2569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2570   egrep "ok" >/dev/null 2>&1; then
2571   rm -rf conftest*
2572   gpp_satisfactory=yes
2573 else
2574   rm -rf conftest*
2575   { echo "configure: error: please upgrade to gcc-2.95 or above" 1>&2; exit 1; }
2576 fi
2577 rm -f conftest*
2578
2579   ac_ext=c
2580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2581 ac_cpp='$CPP $CPPFLAGS'
2582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2584 cross_compiling=$ac_cv_prog_cc_cross
2585
2586   echo "$ac_t""$gpp_satisfactory" 1>&6
2587   touch stamp-sanity-compiler
2588 fi
2589
2590
2591 # Enable all the crazy c++ stuff.  C_MBCHAR must come early.
2592 # Check whether --enable-debug or --disable-debug was given.
2593 if test "${enable_debug+set}" = set; then
2594   enableval="$enable_debug"
2595   case "${enableval}" in
2596  yes) enable_debug=yes ;;
2597  no)  enable_debug=no ;;
2598  *)   { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2599  esac
2600 else
2601   enable_debug=no
2602 fi
2603
2604 case "${enable_debug}" in
2605     yes) 
2606         DEBUG_FLAGS='-O0 -ggdb3'                        
2607         ;;
2608     no)   
2609         DEBUG_FLAGS='-g'
2610         ;;
2611 esac
2612
2613
2614 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2615 echo "configure:2616: checking how to run the C preprocessor" >&5
2616 # On Suns, sometimes $CPP names a directory.
2617 if test -n "$CPP" && test -d "$CPP"; then
2618   CPP=
2619 fi
2620 if test -z "$CPP"; then
2621 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2622   echo $ac_n "(cached) $ac_c" 1>&6
2623 else
2624     # This must be in double quotes, not single quotes, because CPP may get
2625   # substituted into the Makefile and "${CC-cc}" will confuse make.
2626   CPP="${CC-cc} -E"
2627   # On the NeXT, cc -E runs the code through the compiler's parser,
2628   # not just through cpp.
2629   cat > conftest.$ac_ext <<EOF
2630 #line 2631 "configure"
2631 #include "confdefs.h"
2632 #include <assert.h>
2633 Syntax Error
2634 EOF
2635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2636 { (eval echo configure:2637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2638 if test -z "$ac_err"; then
2639   :
2640 else
2641   echo "$ac_err" >&5
2642   echo "configure: failed program was:" >&5
2643   cat conftest.$ac_ext >&5
2644   rm -rf conftest*
2645   CPP="${CC-cc} -E -traditional-cpp"
2646   cat > conftest.$ac_ext <<EOF
2647 #line 2648 "configure"
2648 #include "confdefs.h"
2649 #include <assert.h>
2650 Syntax Error
2651 EOF
2652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2653 { (eval echo configure:2654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2655 if test -z "$ac_err"; then
2656   :
2657 else
2658   echo "$ac_err" >&5
2659   echo "configure: failed program was:" >&5
2660   cat conftest.$ac_ext >&5
2661   rm -rf conftest*
2662   CPP="${CC-cc} -nologo -E"
2663   cat > conftest.$ac_ext <<EOF
2664 #line 2665 "configure"
2665 #include "confdefs.h"
2666 #include <assert.h>
2667 Syntax Error
2668 EOF
2669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2670 { (eval echo configure:2671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2672 if test -z "$ac_err"; then
2673   :
2674 else
2675   echo "$ac_err" >&5
2676   echo "configure: failed program was:" >&5
2677   cat conftest.$ac_ext >&5
2678   rm -rf conftest*
2679   CPP=/lib/cpp
2680 fi
2681 rm -f conftest*
2682 fi
2683 rm -f conftest*
2684 fi
2685 rm -f conftest*
2686   ac_cv_prog_CPP="$CPP"
2687 fi
2688   CPP="$ac_cv_prog_CPP"
2689 else
2690   ac_cv_prog_CPP="$CPP"
2691 fi
2692 echo "$ac_t""$CPP" 1>&6
2693
2694
2695   echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2696 echo "configure:2697: checking for cstdio to use" >&5
2697   # Check whether --enable-cstdio or --disable-cstdio was given.
2698 if test "${enable_cstdio+set}" = set; then
2699   enableval="$enable_cstdio"
2700   if test x$enable_cstdio = xno; then
2701      enable_cstdio=stdio
2702   fi
2703 else
2704   enable_cstdio=stdio
2705 fi
2706
2707
2708   enable_cstdio_flag=$enable_cstdio
2709
2710     case x${enable_cstdio_flag} in
2711     xlibio)
2712       CSTDIO_H=config/c_io_libio.h
2713       CSTDIO_CC=config/c_io_libio.cc
2714       echo "$ac_t""libio" 1>&6
2715
2716       # see if we are on a system with libio native (ie, linux)
2717       ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2718 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2719 echo "configure:2720: checking for libio.h" >&5
2720 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2721   echo $ac_n "(cached) $ac_c" 1>&6
2722 else
2723   cat > conftest.$ac_ext <<EOF
2724 #line 2725 "configure"
2725 #include "confdefs.h"
2726 #include <libio.h>
2727 EOF
2728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2729 { (eval echo configure:2730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2731 if test -z "$ac_err"; then
2732   rm -rf conftest*
2733   eval "ac_cv_header_$ac_safe=yes"
2734 else
2735   echo "$ac_err" >&5
2736   echo "configure: failed program was:" >&5
2737   cat conftest.$ac_ext >&5
2738   rm -rf conftest*
2739   eval "ac_cv_header_$ac_safe=no"
2740 fi
2741 rm -f conftest*
2742 fi
2743 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2744   echo "$ac_t""yes" 1>&6
2745   has_libio=yes
2746 else
2747   echo "$ac_t""no" 1>&6
2748 has_libio=no
2749 fi
2750
2751
2752       # Need to check and see what version of glibc is being used. If
2753       # it's not glibc-2.2 or higher, then we'll need to go ahead and 
2754       # compile most of libio for linux systems.
2755       if test x$has_libio = x"yes"; then
2756         case "$target" in
2757           *-*-linux*)
2758               echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2759 echo "configure:2760: checking for glibc version >= 2.2" >&5
2760               cat > conftest.$ac_ext <<EOF
2761 #line 2762 "configure"
2762 #include "confdefs.h"
2763
2764             #include <features.h>
2765               #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) 
2766                     ok
2767               #endif
2768               
2769 EOF
2770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2771   egrep "ok" >/dev/null 2>&1; then
2772   rm -rf conftest*
2773   glibc_satisfactory=yes
2774 else
2775   rm -rf conftest*
2776   glibc_satisfactory=no
2777 fi
2778 rm -f conftest*
2779
2780               echo "$ac_t""$glibc_satisfactory" 1>&6
2781             ;;
2782         esac
2783
2784         # XXX at the moment, admit defeat and force the recompilation
2785         # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2786         glibc_satisfactory=no        
2787
2788         if test x$glibc_satisfactory = x"yes"; then
2789            need_libio=no
2790            need_wlibio=no        
2791         else
2792            need_libio=yes
2793            # bkoz XXX need to add checks to enable this
2794            # pme XXX here's a first pass at such a check
2795            if test x$enable_c_mbchar != xno; then
2796               need_wlibio=yes
2797            else
2798               need_wlibio=no
2799            fi
2800         fi
2801
2802       else
2803          # Using libio, but <libio.h> doesn't exist on the target system. . .
2804          need_libio=yes
2805          # bkoz XXX need to add checks to enable this
2806          # pme XXX here's a first pass at such a check
2807          if test x$enable_c_mbchar != xno; then
2808              need_wlibio=yes
2809          else
2810              need_wlibio=no
2811          fi
2812       fi
2813       ;;
2814     xstdio | x | xno | xnone | xyes)
2815       # default
2816       CSTDIO_H=config/c_io_stdio.h
2817       CSTDIO_CC=config/c_io_stdio.cc
2818       echo "$ac_t""stdio" 1>&6
2819
2820       # We're not using stdio.
2821       need_libio=no
2822       need_wlibio=no
2823       # Wide characters are not supported with this package.
2824       enable_c_mbchar=no
2825       ;;
2826     *)
2827       echo "$enable_cstdio is an unknown io package" 1>&2
2828       exit 1
2829       ;;
2830   esac
2831   
2832   
2833
2834   # 2000-08-04 bkoz hack
2835   CCODECVT_C=config/c_io_libio_codecvt.c
2836   
2837   # 2000-08-04 bkoz hack
2838
2839   
2840
2841 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2842   GLIBCPP_BUILD_LIBIO_TRUE=
2843   GLIBCPP_BUILD_LIBIO_FALSE='#'
2844 else
2845   GLIBCPP_BUILD_LIBIO_TRUE='#'
2846   GLIBCPP_BUILD_LIBIO_FALSE=
2847 fi
2848   
2849
2850 if test "$need_libio" = yes; then
2851   GLIBCPP_NEED_LIBIO_TRUE=
2852   GLIBCPP_NEED_LIBIO_FALSE='#'
2853 else
2854   GLIBCPP_NEED_LIBIO_TRUE='#'
2855   GLIBCPP_NEED_LIBIO_FALSE=
2856 fi
2857   
2858
2859 if test "$need_wlibio" = yes; then
2860   GLIBCPP_NEED_WLIBIO_TRUE=
2861   GLIBCPP_NEED_WLIBIO_FALSE='#'
2862 else
2863   GLIBCPP_NEED_WLIBIO_TRUE='#'
2864   GLIBCPP_NEED_WLIBIO_FALSE=
2865 fi
2866   if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2867         libio_la=../libio/libio.la
2868   else
2869         libio_la=
2870   fi
2871   
2872
2873 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2874 if test "${enable_c_mbchar+set}" = set; then
2875   enableval="$enable_c_mbchar"
2876   case "$enableval" in
2877  yes) enable_c_mbchar=yes ;;
2878  no)  enable_c_mbchar=no ;;
2879  *)   { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2880  esac
2881 else
2882   enable_c_mbchar=yes
2883 fi
2884
2885   
2886   # Check whether --enable-long-long or --disable-long-long was given.
2887 if test "${enable_long_long+set}" = set; then
2888   enableval="$enable_long_long"
2889     case "$enableval" in
2890    yes) enable_long_long=yes ;;
2891    no)  enable_long_long=no ;;
2892    *)   { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2893    esac
2894 else
2895   enable_long_long=yes
2896 fi
2897  
2898   # Allow use of os-dependent settings, so that macros that turn on
2899   # C99 capabilities can be defined and used in a consistent way.
2900   OS_INC_PATH=${srcdir}/$os_include_dir
2901   ac_test_CFLAGS="${CFLAGS+set}"
2902   ac_save_CFLAGS="$CFLAGS"
2903   CFLAGS="-I$OS_INC_PATH"
2904
2905   # Check for the existence of functions used if long long is enabled.
2906   echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2907 echo "configure:2908: checking for strtoll" >&5
2908 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2909   echo $ac_n "(cached) $ac_c" 1>&6
2910 else
2911   cat > conftest.$ac_ext <<EOF
2912 #line 2913 "configure"
2913 #include "confdefs.h"
2914 /* System header to define __stub macros and hopefully few prototypes,
2915     which can conflict with char strtoll(); below.  */
2916 #include <assert.h>
2917 /* Override any gcc2 internal prototype to avoid an error.  */
2918 /* We use char because int might match the return type of a gcc2
2919     builtin and then its argument prototype would still apply.  */
2920 char strtoll();
2921
2922 int main() {
2923
2924 /* The GNU C library defines this for functions which it implements
2925     to always fail with ENOSYS.  Some functions are actually named
2926     something starting with __ and the normal name is an alias.  */
2927 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2928 choke me
2929 #else
2930 strtoll();
2931 #endif
2932
2933 ; return 0; }
2934 EOF
2935 if { (eval echo configure:2936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2936   rm -rf conftest*
2937   eval "ac_cv_func_strtoll=yes"
2938 else
2939   echo "configure: failed program was:" >&5
2940   cat conftest.$ac_ext >&5
2941   rm -rf conftest*
2942   eval "ac_cv_func_strtoll=no"
2943 fi
2944 rm -f conftest*
2945 fi
2946
2947 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2948   echo "$ac_t""yes" 1>&6
2949   :
2950 else
2951   echo "$ac_t""no" 1>&6
2952 ac_strtoll=no
2953 fi
2954
2955   echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2956 echo "configure:2957: checking for strtoull" >&5
2957 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2958   echo $ac_n "(cached) $ac_c" 1>&6
2959 else
2960   cat > conftest.$ac_ext <<EOF
2961 #line 2962 "configure"
2962 #include "confdefs.h"
2963 /* System header to define __stub macros and hopefully few prototypes,
2964     which can conflict with char strtoull(); below.  */
2965 #include <assert.h>
2966 /* Override any gcc2 internal prototype to avoid an error.  */
2967 /* We use char because int might match the return type of a gcc2
2968     builtin and then its argument prototype would still apply.  */
2969 char strtoull();
2970
2971 int main() {
2972
2973 /* The GNU C library defines this for functions which it implements
2974     to always fail with ENOSYS.  Some functions are actually named
2975     something starting with __ and the normal name is an alias.  */
2976 #if defined (__stub_strtoull) || defined (__stub___strtoull)
2977 choke me
2978 #else
2979 strtoull();
2980 #endif
2981
2982 ; return 0; }
2983 EOF
2984 if { (eval echo configure:2985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2985   rm -rf conftest*
2986   eval "ac_cv_func_strtoull=yes"
2987 else
2988   echo "configure: failed program was:" >&5
2989   cat conftest.$ac_ext >&5
2990   rm -rf conftest*
2991   eval "ac_cv_func_strtoull=no"
2992 fi
2993 rm -f conftest*
2994 fi
2995
2996 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
2997   echo "$ac_t""yes" 1>&6
2998   :
2999 else
3000   echo "$ac_t""no" 1>&6
3001 ac_strtoull=no
3002 fi
3003
3004
3005   # Check for lldiv_t, et. al.
3006   echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3007 echo "configure:3008: checking for lldiv_t declaration" >&5
3008   if eval "test \"`echo '$''{'glibcpp_lldiv_t_use'+set}'`\" = set"; then
3009   echo $ac_n "(cached) $ac_c" 1>&6
3010 else
3011   
3012   cat > conftest.$ac_ext <<EOF
3013 #line 3014 "configure"
3014 #include "confdefs.h"
3015 #include <bits/os_defines.h>
3016                   #include <stdlib.h>
3017 int main() {
3018  lldiv_t mydivt;
3019 ; return 0; }
3020 EOF
3021 if { (eval echo configure:3022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3022   rm -rf conftest*
3023   glibcpp_lldiv_t_use=yes
3024 else
3025   echo "configure: failed program was:" >&5
3026   cat conftest.$ac_ext >&5
3027   rm -rf conftest*
3028   glibcpp_lldiv_t_use=no
3029 fi
3030 rm -f conftest*
3031   
3032 fi
3033
3034   echo "$ac_t""$glibcpp_lldiv_t_use" 1>&6
3035   if test x$glibcpp_lldiv_t_use = x"yes"; then
3036     cat >> confdefs.h <<\EOF
3037 #define HAVE_LLDIV_T 1
3038 EOF
3039
3040   fi
3041
3042   echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3043 echo "configure:3044: checking for enabled long long" >&5
3044   if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then 
3045     enable_long_long=no; 
3046   fi; 
3047   echo "$ac_t""$enable_long_long" 1>&6
3048
3049   # Option parsed, now set things appropriately
3050   if test x"$enable_long_long" = xyes; then
3051     cat >> confdefs.h <<\EOF
3052 #define _GLIBCPP_USE_LONG_LONG 1
3053 EOF
3054
3055   fi
3056         
3057   # Reset CFLAGS
3058   CFLAGS="$ac_save_CFLAGS"
3059
3060 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
3061 echo "configure:3062: checking for enabled cshadow headers" >&5
3062 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
3063 if test "${enable_cshadow_headers+set}" = set; then
3064   enableval="$enable_cshadow_headers"
3065   
3066   case "$enableval" in
3067    yes) enable_cshadow_headers=yes 
3068         ;;
3069    no)  enable_cshadow_headers=no 
3070         ;;
3071    *)   { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; } 
3072         ;;
3073   esac
3074 else
3075   enable_cshadow_headers=no
3076 fi
3077
3078   echo "$ac_t""$enable_cshadow_headers" 1>&6
3079
3080       case "$enable_cshadow_headers" in
3081     yes) 
3082         CSHADOW_FLAGS="-fno-builtin"
3083         C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3084         cat >> confdefs.h <<\EOF
3085 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3086 EOF
3087
3088         ;;
3089     no)   
3090         CSHADOW_FLAGS=""
3091         C_INCLUDE_DIR='${top_srcdir}/include/c'
3092         ;;
3093   esac
3094
3095   
3096   
3097   
3098
3099 if test "$enable_cshadow_headers" = yes; then
3100   GLIBCPP_USE_CSHADOW_TRUE=
3101   GLIBCPP_USE_CSHADOW_FALSE='#'
3102 else
3103   GLIBCPP_USE_CSHADOW_TRUE='#'
3104   GLIBCPP_USE_CSHADOW_FALSE=
3105 fi
3106
3107
3108       echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3109 echo "configure:3110: checking for threads package to use" >&5
3110   # Check whether --enable-threads or --disable-threads was given.
3111 if test "${enable_threads+set}" = set; then
3112   enableval="$enable_threads"
3113   if test x$enable_threads = xno; then
3114     enable_threads=''
3115   fi
3116 else
3117   enable_threads=''
3118 fi
3119
3120
3121   enable_threads_flag=$enable_threads
3122
3123     case x${enable_threads_flag} in
3124         x | xno | xnone)
3125                 # No threads
3126                 target_thread_file='single'
3127                 ;;
3128         xyes)
3129                 # default
3130                 target_thread_file='posix'
3131                 ;;
3132         xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3133         xsolaris | xwin32 | xdce | xvxworks)
3134                 target_thread_file=$enable_threads_flag
3135                 ;;
3136         *)
3137                 echo "$enable_threads is an unknown thread package" 1>&2
3138                 exit 1
3139                 ;;
3140   esac
3141
3142     THREADH=
3143   case "$target_thread_file" in
3144     no | none | single)
3145       THREADH=threads-no.h
3146       ;;
3147     posix | pthreads)
3148       THREADH=threads-posix.h
3149       ;;
3150     decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3151       { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3152       ;;
3153     *)
3154       { echo "configure: error: $THREADS is an unsupported/unknown thread package" 1>&2; exit 1; }
3155       ;;
3156   esac
3157   echo "$ac_t""$THREADH" 1>&6
3158
3159   
3160   if test $THREADH != threads-no.h; then
3161     cat >> confdefs.h <<\EOF
3162 #define _GLIBCPP_USE_THREADS 1
3163 EOF
3164
3165   fi
3166
3167
3168     echo $ac_n "checking for atomicity.h""... $ac_c" 1>&6
3169 echo "configure:3170: checking for atomicity.h" >&5
3170     # We have ATOMICITY already from GLIBCPP_CONFIGURE
3171     if test "$ATOMICITYH" = "config/cpu/generic"; then
3172       echo "configure: warning: No ATOMICITY settings found, using generic atomic ops." 1>&2
3173     fi
3174     echo "$ac_t""$ATOMICITYH/bits/atomicity.h" 1>&6
3175     
3176
3177 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3178 if test "${enable_cxx_flags+set}" = set; then
3179   enableval="$enable_cxx_flags"
3180   case "x$enableval" in
3181  xyes)   
3182         { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3183  xno|x)  
3184         enable_cxx_flags='' ;;
3185  *)      
3186         enable_cxx_flags="$enableval" ;;
3187  esac
3188 else
3189   enable_cxx_flags='none'
3190 fi
3191
3192
3193 if test "$enable_cxx_flags" = "none"; then 
3194   enable_cxx_flags=''; 
3195 fi
3196
3197 if test -n "$enable_cxx_flags"; then
3198     for f in $enable_cxx_flags; do
3199         case "$f" in
3200             -fhonor-std)  ;;
3201             -*)  ;;
3202             *)   # and we're trying to pass /what/ exactly?
3203                  { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3204         esac
3205     done
3206 fi
3207 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3208
3209
3210
3211
3212 if test -n "$with_cross_host"; then
3213
3214   # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
3215   # may not work correctly, because the compiler may not be able to
3216   # link executables.
3217
3218   xcompiling=1
3219   NATIVE=no
3220   # If Canadian cross, then don't pick up tools from the build
3221   # directory.
3222   if test "$build" != "$with_cross_host"; then
3223     CANADIAN=yes
3224     NULL_TARGET=yes
3225   else
3226     CANADIAN=no
3227     NULL_TARGET=no
3228   fi
3229
3230   case "$target_alias" in
3231     *-wince-*)
3232         # Configure for Microsoft Windows CE, or whatever they are
3233         # currently calling it.
3234         cat >> confdefs.h <<\EOF
3235 #define HAVE_FLOAT_H 1
3236 EOF
3237
3238
3239         cat >> confdefs.h <<\EOF
3240 #define HAVE__FINITE 1
3241 EOF
3242
3243         cat >> confdefs.h <<\EOF
3244 #define HAVE__ISNAN 1
3245 EOF
3246
3247         cat >> confdefs.h <<\EOF
3248 #define HAVE__COPYSIGN 1
3249 EOF
3250
3251         cat >> confdefs.h <<\EOF
3252 #define HAVE__FPCLASS 1
3253 EOF
3254
3255         cat >> confdefs.h <<\EOF
3256 #define HAVE_MODF 1
3257 EOF
3258
3259
3260         ctype_include_dir="config/os/wince"
3261         
3262         
3263         
3264
3265         cat >> confdefs.h <<\EOF
3266 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3267 EOF
3268
3269         cat >> confdefs.h <<\EOF
3270 #define _GLIBCPP_BUGGY_COMPLEX 1
3271 EOF
3272
3273         ;;
3274     *)
3275         # We assume newlib.  This lets us hard-code the functions we know
3276         # we'll have.
3277         cat >> confdefs.h <<\EOF
3278 #define HAVE_FINITE 1
3279 EOF
3280
3281         cat >> confdefs.h <<\EOF
3282 #define HAVE_ISNAN 1
3283 EOF
3284
3285         cat >> confdefs.h <<\EOF
3286 #define HAVE_ISNANF 1
3287 EOF
3288
3289         cat >> confdefs.h <<\EOF
3290 #define HAVE_ISINF 1
3291 EOF
3292
3293         cat >> confdefs.h <<\EOF
3294 #define HAVE_ISINFF 1
3295 EOF
3296
3297
3298         ctype_include_dir="config/os/newlib"
3299         
3300         
3301         
3302
3303         cat >> confdefs.h <<\EOF
3304 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3305 EOF
3306
3307         cat >> confdefs.h <<\EOF
3308 #define _GLIBCPP_BUGGY_COMPLEX 1
3309 EOF
3310
3311         # need to check for faster f versions of math functions, ie sinf?
3312         ;;
3313   esac
3314 else
3315
3316   # We are being configured natively. We can do more elaborate tests
3317   # that include AC_TRY_COMPILE now, as the linker is assumed to be
3318   # working.
3319
3320   xcompiling=0
3321   NATIVE=yes
3322   CANADIAN=no
3323   NULL_TARGET=no
3324
3325   # Check for available headers.
3326   for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3327   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
3328 do
3329 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3330 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3331 echo "configure:3332: checking for $ac_hdr" >&5
3332 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3333   echo $ac_n "(cached) $ac_c" 1>&6
3334 else
3335   cat > conftest.$ac_ext <<EOF
3336 #line 3337 "configure"
3337 #include "confdefs.h"
3338 #include <$ac_hdr>
3339 EOF
3340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3341 { (eval echo configure:3342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3343 if test -z "$ac_err"; then
3344   rm -rf conftest*
3345   eval "ac_cv_header_$ac_safe=yes"
3346 else
3347   echo "$ac_err" >&5
3348   echo "configure: failed program was:" >&5
3349   cat conftest.$ac_ext >&5
3350   rm -rf conftest*
3351   eval "ac_cv_header_$ac_safe=no"
3352 fi
3353 rm -f conftest*
3354 fi
3355 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3356   echo "$ac_t""yes" 1>&6
3357     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3358   cat >> confdefs.h <<EOF
3359 #define $ac_tr_hdr 1
3360 EOF
3361  
3362 else
3363   echo "$ac_t""no" 1>&6
3364 fi
3365 done
3366
3367
3368   
3369   # All these tests are for C++; save the language and the compiler flags.
3370   # The CXXFLAGS thing is suspicious, but based on similar bits 
3371   # found in GLIBCPP_CONFIGURE.
3372   
3373   ac_ext=C
3374 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3375 ac_cpp='$CXXCPP $CPPFLAGS'
3376 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3377 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3378 cross_compiling=$ac_cv_prog_cxx_cross
3379
3380   ac_test_CXXFLAGS="${CXXFLAGS+set}"
3381   ac_save_CXXFLAGS="$CXXFLAGS"
3382
3383   # Check for maintainer-mode bits.
3384   if test x"$USE_MAINTAINER_MODE" = xno; then
3385     WERROR=''
3386   else
3387     WERROR='-Werror'
3388   fi
3389
3390   # Check for more sophisticated diagnostic control.
3391   echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3392 echo "configure:3393: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3393   CXXFLAGS='-Werror -fdiagnostics-show-location=once'
3394   cat > conftest.$ac_ext <<EOF
3395 #line 3396 "configure"
3396 #include "confdefs.h"
3397
3398 int main() {
3399 int foo;
3400   
3401 ; return 0; }
3402 EOF
3403 if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3404   rm -rf conftest*
3405   ac_gabydiags=yes
3406 else
3407   echo "configure: failed program was:" >&5
3408   cat conftest.$ac_ext >&5
3409   rm -rf conftest*
3410   ac_gabydiags=no
3411 fi
3412 rm -f conftest*
3413   if test "$ac_test_CXXFLAGS" = set; then
3414     CXXFLAGS="$ac_save_CXXFLAGS"
3415   else
3416     # this is the suspicious part
3417     CXXFLAGS=''
3418   fi
3419   if test "$ac_gabydiags" = "yes"; then
3420     WFMT_FLAGS='-fdiagnostics-show-location=once'
3421   fi
3422   echo "$ac_t""$ac_gabydiags" 1>&6
3423
3424   # Check for -ffunction-sections -fdata-sections
3425   echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3426 echo "configure:3427: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3427   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
3428   cat > conftest.$ac_ext <<EOF
3429 #line 3430 "configure"
3430 #include "confdefs.h"
3431
3432 int main() {
3433 int foo;
3434   
3435 ; return 0; }
3436 EOF
3437 if { (eval echo configure:3438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3438   rm -rf conftest*
3439   ac_fdsections=yes
3440 else
3441   echo "configure: failed program was:" >&5
3442   cat conftest.$ac_ext >&5
3443   rm -rf conftest*
3444   ac_fdsections=no
3445 fi
3446 rm -f conftest*
3447   if test "$ac_test_CXXFLAGS" = set; then
3448     CXXFLAGS="$ac_save_CXXFLAGS"
3449   else
3450     # this is the suspicious part
3451     CXXFLAGS=''
3452   fi
3453   if test "$ac_fdsections" = "yes"; then
3454     SECTION_FLAGS='-ffunction-sections -fdata-sections'
3455   fi
3456   echo "$ac_t""$ac_fdsections" 1>&6
3457
3458   ac_ext=c
3459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3460 ac_cpp='$CPP $CPPFLAGS'
3461 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3462 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3463 cross_compiling=$ac_cv_prog_cc_cross
3464
3465   
3466   
3467   
3468
3469   
3470   # If we're not using GNU ld, then there's no point in even trying these
3471   # tests.  Check for that first.  We should have already tested for gld
3472   # by now (in libtool), but require it now just to be safe...
3473   SECTION_LDFLAGS=''
3474   OPT_LDFLAGS=''
3475   
3476
3477   # Set --gc-sections.
3478   if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3479     # GNU ld it is!  Joy and bunny rabbits!
3480
3481     # All these tests are for C++; save the language and the compiler flags.
3482     # Need to do this so that g++ won't try to link in libstdc++
3483     ac_test_CFLAGS="${CFLAGS+set}"
3484     ac_save_CFLAGS="$CFLAGS"
3485     CFLAGS='-x c++  -Wl,--gc-sections'
3486
3487     # Check for -Wl,--gc-sections
3488     # XXX This test is broken at the moment, as symbols required for
3489     # linking are now in libsupc++ (not built yet.....). In addition, 
3490     # this test has cored on solaris in the past. In addition,
3491     # --gc-sections doesn't really work at the moment (keeps on discarding
3492     # used sections, first .eh_frame and now some of the glibc sections for
3493     # iconv). Bzzzzt. Thanks for playing, maybe next time.
3494     echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3495 echo "configure:3496: checking for ld that supports -Wl,--gc-sections" >&5
3496     if test "$cross_compiling" = yes; then
3497   ac_sectionLDflags=yes
3498 else
3499   cat > conftest.$ac_ext <<EOF
3500 #line 3501 "configure"
3501 #include "confdefs.h"
3502
3503      int main(void) 
3504      {
3505        try { throw 1; }
3506        catch (...) { };
3507        return 0;
3508      }
3509     
3510 EOF
3511 if { (eval echo configure:3512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3512 then
3513   ac_sectionLDflags=yes
3514 else
3515   echo "configure: failed program was:" >&5
3516   cat conftest.$ac_ext >&5
3517   rm -fr conftest*
3518   ac_sectionLFflags=no
3519 fi
3520 rm -fr conftest*
3521 fi
3522
3523     if test "$ac_test_CFLAGS" = set; then
3524       CFLAGS="$ac_save_CFLAGS"
3525     else
3526       # this is the suspicious part
3527       CFLAGS=''
3528     fi
3529     if test "$ac_sectionLDflags" = "yes"; then
3530       SECTION_LDFLAGS='-Wl,--gc-sections'
3531     fi
3532     echo "$ac_t""$ac_sectionLDflags" 1>&6
3533   fi
3534
3535   # Set linker optimization flags.
3536   if test "$ac_cv_prog_gnu_ld" = "yes"; then
3537     OPT_LDFLAGS='-Wl,-O1'
3538   fi
3539
3540   
3541   
3542
3543   
3544       
3545   echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3546 echo "configure:3547: checking for __builtin_abs declaration" >&5
3547   if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
3548     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3549   echo $ac_n "(cached) $ac_c" 1>&6
3550 else
3551   
3552       
3553       ac_ext=C
3554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3555 ac_cpp='$CXXCPP $CPPFLAGS'
3556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3558 cross_compiling=$ac_cv_prog_cxx_cross
3559
3560       cat > conftest.$ac_ext <<EOF
3561 #line 3562 "configure"
3562 #include "confdefs.h"
3563 #include <math.h>
3564 int main() {
3565  __builtin_abs(0);
3566 ; return 0; }
3567 EOF
3568 if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3569   rm -rf conftest*
3570   glibcpp_cv_func___builtin_abs_use=yes
3571 else
3572   echo "configure: failed program was:" >&5
3573   cat conftest.$ac_ext >&5
3574   rm -rf conftest*
3575   glibcpp_cv_func___builtin_abs_use=no
3576 fi
3577 rm -f conftest*
3578       ac_ext=c
3579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3580 ac_cpp='$CPP $CPPFLAGS'
3581 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3582 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3583 cross_compiling=$ac_cv_prog_cc_cross
3584
3585     
3586 fi
3587
3588   fi
3589   echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3590   if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3591     echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3592 echo "configure:3593: checking for __builtin_abs linkage" >&5
3593     if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
3594       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3595   echo $ac_n "(cached) $ac_c" 1>&6
3596 else
3597   
3598         cat > conftest.$ac_ext <<EOF
3599 #line 3600 "configure"
3600 #include "confdefs.h"
3601 #include <math.h>
3602 int main() {
3603  __builtin_abs(0);
3604 ; return 0; }
3605 EOF
3606 if { (eval echo configure:3607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3607   rm -rf conftest*
3608   glibcpp_cv_func___builtin_abs_link=yes
3609 else
3610   echo "configure: failed program was:" >&5
3611   cat conftest.$ac_ext >&5
3612   rm -rf conftest*
3613   glibcpp_cv_func___builtin_abs_link=no
3614 fi
3615 rm -f conftest*
3616       
3617 fi
3618
3619     fi
3620     echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3621     if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3622       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3623       cat >> confdefs.h <<EOF
3624 #define ${ac_tr_func} 1
3625 EOF
3626
3627     fi
3628   fi
3629
3630   
3631   echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3632 echo "configure:3633: checking for __builtin_fabsf declaration" >&5
3633   if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
3634     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3635   echo $ac_n "(cached) $ac_c" 1>&6
3636 else
3637   
3638       
3639       ac_ext=C
3640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3641 ac_cpp='$CXXCPP $CPPFLAGS'
3642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3644 cross_compiling=$ac_cv_prog_cxx_cross
3645
3646       cat > conftest.$ac_ext <<EOF
3647 #line 3648 "configure"
3648 #include "confdefs.h"
3649 #include <math.h>
3650 int main() {
3651  __builtin_fabsf(0);
3652 ; return 0; }
3653 EOF
3654 if { (eval echo configure:3655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3655   rm -rf conftest*
3656   glibcpp_cv_func___builtin_fabsf_use=yes
3657 else
3658   echo "configure: failed program was:" >&5
3659   cat conftest.$ac_ext >&5
3660   rm -rf conftest*
3661   glibcpp_cv_func___builtin_fabsf_use=no
3662 fi
3663 rm -f conftest*
3664       ac_ext=c
3665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3666 ac_cpp='$CPP $CPPFLAGS'
3667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3669 cross_compiling=$ac_cv_prog_cc_cross
3670
3671     
3672 fi
3673
3674   fi
3675   echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3676   if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3677     echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3678 echo "configure:3679: checking for __builtin_fabsf linkage" >&5
3679     if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
3680       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3681   echo $ac_n "(cached) $ac_c" 1>&6
3682 else
3683   
3684         cat > conftest.$ac_ext <<EOF
3685 #line 3686 "configure"
3686 #include "confdefs.h"
3687 #include <math.h>
3688 int main() {
3689  __builtin_fabsf(0);
3690 ; return 0; }
3691 EOF
3692 if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3693   rm -rf conftest*
3694   glibcpp_cv_func___builtin_fabsf_link=yes
3695 else
3696   echo "configure: failed program was:" >&5
3697   cat conftest.$ac_ext >&5
3698   rm -rf conftest*
3699   glibcpp_cv_func___builtin_fabsf_link=no
3700 fi
3701 rm -f conftest*
3702       
3703 fi
3704
3705     fi
3706     echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3707     if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3708       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3709       cat >> confdefs.h <<EOF
3710 #define ${ac_tr_func} 1
3711 EOF
3712
3713     fi
3714   fi
3715
3716   
3717   echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3718 echo "configure:3719: checking for __builtin_fabs declaration" >&5
3719   if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
3720     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3721   echo $ac_n "(cached) $ac_c" 1>&6
3722 else
3723   
3724       
3725       ac_ext=C
3726 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3727 ac_cpp='$CXXCPP $CPPFLAGS'
3728 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3729 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3730 cross_compiling=$ac_cv_prog_cxx_cross
3731
3732       cat > conftest.$ac_ext <<EOF
3733 #line 3734 "configure"
3734 #include "confdefs.h"
3735 #include <math.h>
3736 int main() {
3737  __builtin_fabs(0);
3738 ; return 0; }
3739 EOF
3740 if { (eval echo configure:3741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3741   rm -rf conftest*
3742   glibcpp_cv_func___builtin_fabs_use=yes
3743 else
3744   echo "configure: failed program was:" >&5
3745   cat conftest.$ac_ext >&5
3746   rm -rf conftest*
3747   glibcpp_cv_func___builtin_fabs_use=no
3748 fi
3749 rm -f conftest*
3750       ac_ext=c
3751 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3752 ac_cpp='$CPP $CPPFLAGS'
3753 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3754 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3755 cross_compiling=$ac_cv_prog_cc_cross
3756
3757     
3758 fi
3759
3760   fi
3761   echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3762   if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3763     echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3764 echo "configure:3765: checking for __builtin_fabs linkage" >&5
3765     if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
3766       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3767   echo $ac_n "(cached) $ac_c" 1>&6
3768 else
3769   
3770         cat > conftest.$ac_ext <<EOF
3771 #line 3772 "configure"
3772 #include "confdefs.h"
3773 #include <math.h>
3774 int main() {
3775  __builtin_fabs(0);
3776 ; return 0; }
3777 EOF
3778 if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3779   rm -rf conftest*
3780   glibcpp_cv_func___builtin_fabs_link=yes
3781 else
3782   echo "configure: failed program was:" >&5
3783   cat conftest.$ac_ext >&5
3784   rm -rf conftest*
3785   glibcpp_cv_func___builtin_fabs_link=no
3786 fi
3787 rm -f conftest*
3788       
3789 fi
3790
3791     fi
3792     echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3793     if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3794       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3795       cat >> confdefs.h <<EOF
3796 #define ${ac_tr_func} 1
3797 EOF
3798
3799     fi
3800   fi
3801
3802   
3803   echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3804 echo "configure:3805: checking for __builtin_fabsl declaration" >&5
3805   if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
3806     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3807   echo $ac_n "(cached) $ac_c" 1>&6
3808 else
3809   
3810       
3811       ac_ext=C
3812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3813 ac_cpp='$CXXCPP $CPPFLAGS'
3814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3816 cross_compiling=$ac_cv_prog_cxx_cross
3817
3818       cat > conftest.$ac_ext <<EOF
3819 #line 3820 "configure"
3820 #include "confdefs.h"
3821 #include <math.h>
3822 int main() {
3823  __builtin_fabsl(0);
3824 ; return 0; }
3825 EOF
3826 if { (eval echo configure:3827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3827   rm -rf conftest*
3828   glibcpp_cv_func___builtin_fabsl_use=yes
3829 else
3830   echo "configure: failed program was:" >&5
3831   cat conftest.$ac_ext >&5
3832   rm -rf conftest*
3833   glibcpp_cv_func___builtin_fabsl_use=no
3834 fi
3835 rm -f conftest*
3836       ac_ext=c
3837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3838 ac_cpp='$CPP $CPPFLAGS'
3839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3841 cross_compiling=$ac_cv_prog_cc_cross
3842
3843     
3844 fi
3845
3846   fi
3847   echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3848   if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3849     echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3850 echo "configure:3851: checking for __builtin_fabsl linkage" >&5
3851     if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
3852       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3853   echo $ac_n "(cached) $ac_c" 1>&6
3854 else
3855   
3856         cat > conftest.$ac_ext <<EOF
3857 #line 3858 "configure"
3858 #include "confdefs.h"
3859 #include <math.h>
3860 int main() {
3861  __builtin_fabsl(0);
3862 ; return 0; }
3863 EOF
3864 if { (eval echo configure:3865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3865   rm -rf conftest*
3866   glibcpp_cv_func___builtin_fabsl_link=yes
3867 else
3868   echo "configure: failed program was:" >&5
3869   cat conftest.$ac_ext >&5
3870   rm -rf conftest*
3871   glibcpp_cv_func___builtin_fabsl_link=no
3872 fi
3873 rm -f conftest*
3874       
3875 fi
3876
3877     fi
3878     echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3879     if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3880       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3881       cat >> confdefs.h <<EOF
3882 #define ${ac_tr_func} 1
3883 EOF
3884
3885     fi
3886   fi
3887
3888   
3889   echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3890 echo "configure:3891: checking for __builtin_labs declaration" >&5
3891   if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
3892     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_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_labs(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_labs_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_labs_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   fi
3933   echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3934   if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3935     echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3936 echo "configure:3937: checking for __builtin_labs linkage" >&5
3937     if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
3938       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3939   echo $ac_n "(cached) $ac_c" 1>&6
3940 else
3941   
3942         cat > conftest.$ac_ext <<EOF
3943 #line 3944 "configure"
3944 #include "confdefs.h"
3945 #include <math.h>
3946 int main() {
3947  __builtin_labs(0);
3948 ; return 0; }
3949 EOF
3950 if { (eval echo configure:3951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3951   rm -rf conftest*
3952   glibcpp_cv_func___builtin_labs_link=yes
3953 else
3954   echo "configure: failed program was:" >&5
3955   cat conftest.$ac_ext >&5
3956   rm -rf conftest*
3957   glibcpp_cv_func___builtin_labs_link=no
3958 fi
3959 rm -f conftest*
3960       
3961 fi
3962
3963     fi
3964     echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3965     if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3966       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3967       cat >> confdefs.h <<EOF
3968 #define ${ac_tr_func} 1
3969 EOF
3970
3971     fi
3972   fi
3973
3974
3975   
3976   echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3977 echo "configure:3978: checking for __builtin_sqrtf declaration" >&5
3978   if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
3979     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3980   echo $ac_n "(cached) $ac_c" 1>&6
3981 else
3982   
3983       
3984       ac_ext=C
3985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3986 ac_cpp='$CXXCPP $CPPFLAGS'
3987 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3988 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3989 cross_compiling=$ac_cv_prog_cxx_cross
3990
3991       cat > conftest.$ac_ext <<EOF
3992 #line 3993 "configure"
3993 #include "confdefs.h"
3994 #include <math.h>
3995 int main() {
3996  __builtin_sqrtf(0);
3997 ; return 0; }
3998 EOF
3999 if { (eval echo configure:4000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4000   rm -rf conftest*
4001   glibcpp_cv_func___builtin_sqrtf_use=yes
4002 else
4003   echo "configure: failed program was:" >&5
4004   cat conftest.$ac_ext >&5
4005   rm -rf conftest*
4006   glibcpp_cv_func___builtin_sqrtf_use=no
4007 fi
4008 rm -f conftest*
4009       ac_ext=c
4010 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4011 ac_cpp='$CPP $CPPFLAGS'
4012 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4013 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4014 cross_compiling=$ac_cv_prog_cc_cross
4015
4016     
4017 fi
4018
4019   fi
4020   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
4021   if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
4022     echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
4023 echo "configure:4024: checking for __builtin_sqrtf linkage" >&5
4024     if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
4025       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
4026   echo $ac_n "(cached) $ac_c" 1>&6
4027 else
4028   
4029         cat > conftest.$ac_ext <<EOF
4030 #line 4031 "configure"
4031 #include "confdefs.h"
4032 #include <math.h>
4033 int main() {
4034  __builtin_sqrtf(0);
4035 ; return 0; }
4036 EOF
4037 if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4038   rm -rf conftest*
4039   glibcpp_cv_func___builtin_sqrtf_link=yes
4040 else
4041   echo "configure: failed program was:" >&5
4042   cat conftest.$ac_ext >&5
4043   rm -rf conftest*
4044   glibcpp_cv_func___builtin_sqrtf_link=no
4045 fi
4046 rm -f conftest*
4047       
4048 fi
4049
4050     fi
4051     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
4052     if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
4053       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4054       cat >> confdefs.h <<EOF
4055 #define ${ac_tr_func} 1
4056 EOF
4057
4058     fi
4059   fi
4060
4061   
4062   echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
4063 echo "configure:4064: checking for __builtin_fsqrt declaration" >&5
4064   if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
4065     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
4066   echo $ac_n "(cached) $ac_c" 1>&6
4067 else
4068   
4069       
4070       ac_ext=C
4071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4072 ac_cpp='$CXXCPP $CPPFLAGS'
4073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4075 cross_compiling=$ac_cv_prog_cxx_cross
4076
4077       cat > conftest.$ac_ext <<EOF
4078 #line 4079 "configure"
4079 #include "confdefs.h"
4080 #include <math.h>
4081 int main() {
4082  __builtin_fsqrt(0);
4083 ; return 0; }
4084 EOF
4085 if { (eval echo configure:4086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4086   rm -rf conftest*
4087   glibcpp_cv_func___builtin_fsqrt_use=yes
4088 else
4089   echo "configure: failed program was:" >&5
4090   cat conftest.$ac_ext >&5
4091   rm -rf conftest*
4092   glibcpp_cv_func___builtin_fsqrt_use=no
4093 fi
4094 rm -f conftest*
4095       ac_ext=c
4096 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4097 ac_cpp='$CPP $CPPFLAGS'
4098 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4099 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4100 cross_compiling=$ac_cv_prog_cc_cross
4101
4102     
4103 fi
4104
4105   fi
4106   echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4107   if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4108     echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4109 echo "configure:4110: checking for __builtin_fsqrt linkage" >&5
4110     if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
4111       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4112   echo $ac_n "(cached) $ac_c" 1>&6
4113 else
4114   
4115         cat > conftest.$ac_ext <<EOF
4116 #line 4117 "configure"
4117 #include "confdefs.h"
4118 #include <math.h>
4119 int main() {
4120  __builtin_fsqrt(0);
4121 ; return 0; }
4122 EOF
4123 if { (eval echo configure:4124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4124   rm -rf conftest*
4125   glibcpp_cv_func___builtin_fsqrt_link=yes
4126 else
4127   echo "configure: failed program was:" >&5
4128   cat conftest.$ac_ext >&5
4129   rm -rf conftest*
4130   glibcpp_cv_func___builtin_fsqrt_link=no
4131 fi
4132 rm -f conftest*
4133       
4134 fi
4135
4136     fi
4137     echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4138     if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4139       ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4140       cat >> confdefs.h <<EOF
4141 #define ${ac_tr_func} 1
4142 EOF
4143
4144     fi
4145   fi
4146
4147   
4148   echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4149 echo "configure:4150: checking for __builtin_sqrtl declaration" >&5
4150   if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
4151     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4152   echo $ac_n "(cached) $ac_c" 1>&6
4153 else
4154   
4155       
4156       ac_ext=C
4157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4158 ac_cpp='$CXXCPP $CPPFLAGS'
4159 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4160 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4161 cross_compiling=$ac_cv_prog_cxx_cross
4162
4163       cat > conftest.$ac_ext <<EOF
4164 #line 4165 "configure"
4165 #include "confdefs.h"
4166 #include <math.h>
4167 int main() {
4168  __builtin_sqrtl(0);
4169 ; return 0; }
4170 EOF
4171 if { (eval echo configure:4172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4172   rm -rf conftest*
4173   glibcpp_cv_func___builtin_sqrtl_use=yes
4174 else
4175   echo "configure: failed program was:" >&5
4176   cat conftest.$ac_ext >&5
4177   rm -rf conftest*
4178   glibcpp_cv_func___builtin_sqrtl_use=no
4179 fi
4180 rm -f conftest*
4181       ac_ext=c
4182 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4183 ac_cpp='$CPP $CPPFLAGS'
4184 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4185 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4186 cross_compiling=$ac_cv_prog_cc_cross
4187
4188     
4189 fi
4190
4191   fi
4192   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4193   if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4194     echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4195 echo "configure:4196: checking for __builtin_sqrtl linkage" >&5
4196     if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
4197       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4198   echo $ac_n "(cached) $ac_c" 1>&6
4199 else
4200   
4201         cat > conftest.$ac_ext <<EOF
4202 #line 4203 "configure"
4203 #include "confdefs.h"
4204 #include <math.h>
4205 int main() {
4206  __builtin_sqrtl(0);
4207 ; return 0; }
4208 EOF
4209 if { (eval echo configure:4210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4210   rm -rf conftest*
4211   glibcpp_cv_func___builtin_sqrtl_link=yes
4212 else
4213   echo "configure: failed program was:" >&5
4214   cat conftest.$ac_ext >&5
4215   rm -rf conftest*
4216   glibcpp_cv_func___builtin_sqrtl_link=no
4217 fi
4218 rm -f conftest*
4219       
4220 fi
4221
4222     fi
4223     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4224     if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4225       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4226       cat >> confdefs.h <<EOF
4227 #define ${ac_tr_func} 1
4228 EOF
4229
4230     fi
4231   fi
4232
4233
4234   
4235   echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4236 echo "configure:4237: checking for __builtin_sinf declaration" >&5
4237   if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
4238     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4239   echo $ac_n "(cached) $ac_c" 1>&6
4240 else
4241   
4242       
4243       ac_ext=C
4244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4245 ac_cpp='$CXXCPP $CPPFLAGS'
4246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4248 cross_compiling=$ac_cv_prog_cxx_cross
4249
4250       cat > conftest.$ac_ext <<EOF
4251 #line 4252 "configure"
4252 #include "confdefs.h"
4253 #include <math.h>
4254 int main() {
4255  __builtin_sinf(0);
4256 ; return 0; }
4257 EOF
4258 if { (eval echo configure:4259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4259   rm -rf conftest*
4260   glibcpp_cv_func___builtin_sinf_use=yes
4261 else
4262   echo "configure: failed program was:" >&5
4263   cat conftest.$ac_ext >&5
4264   rm -rf conftest*
4265   glibcpp_cv_func___builtin_sinf_use=no
4266 fi
4267 rm -f conftest*
4268       ac_ext=c
4269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4270 ac_cpp='$CPP $CPPFLAGS'
4271 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4272 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4273 cross_compiling=$ac_cv_prog_cc_cross
4274
4275     
4276 fi
4277
4278   fi
4279   echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4280   if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4281     echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4282 echo "configure:4283: checking for __builtin_sinf linkage" >&5
4283     if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
4284       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4285   echo $ac_n "(cached) $ac_c" 1>&6
4286 else
4287   
4288         cat > conftest.$ac_ext <<EOF
4289 #line 4290 "configure"
4290 #include "confdefs.h"
4291 #include <math.h>
4292 int main() {
4293  __builtin_sinf(0);
4294 ; return 0; }
4295 EOF
4296 if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4297   rm -rf conftest*
4298   glibcpp_cv_func___builtin_sinf_link=yes
4299 else
4300   echo "configure: failed program was:" >&5
4301   cat conftest.$ac_ext >&5
4302   rm -rf conftest*
4303   glibcpp_cv_func___builtin_sinf_link=no
4304 fi
4305 rm -f conftest*
4306       
4307 fi
4308
4309     fi
4310     echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4311     if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4312       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4313       cat >> confdefs.h <<EOF
4314 #define ${ac_tr_func} 1
4315 EOF
4316
4317     fi
4318   fi
4319
4320   
4321   echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4322 echo "configure:4323: checking for __builtin_sin declaration" >&5
4323   if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
4324     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4325   echo $ac_n "(cached) $ac_c" 1>&6
4326 else
4327   
4328       
4329       ac_ext=C
4330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4331 ac_cpp='$CXXCPP $CPPFLAGS'
4332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4333 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4334 cross_compiling=$ac_cv_prog_cxx_cross
4335
4336       cat > conftest.$ac_ext <<EOF
4337 #line 4338 "configure"
4338 #include "confdefs.h"
4339 #include <math.h>
4340 int main() {
4341  __builtin_sin(0);
4342 ; return 0; }
4343 EOF
4344 if { (eval echo configure:4345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4345   rm -rf conftest*
4346   glibcpp_cv_func___builtin_sin_use=yes
4347 else
4348   echo "configure: failed program was:" >&5
4349   cat conftest.$ac_ext >&5
4350   rm -rf conftest*
4351   glibcpp_cv_func___builtin_sin_use=no
4352 fi
4353 rm -f conftest*
4354       ac_ext=c
4355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4356 ac_cpp='$CPP $CPPFLAGS'
4357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4359 cross_compiling=$ac_cv_prog_cc_cross
4360
4361     
4362 fi
4363
4364   fi
4365   echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4366   if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4367     echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4368 echo "configure:4369: checking for __builtin_sin linkage" >&5
4369     if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
4370       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4371   echo $ac_n "(cached) $ac_c" 1>&6
4372 else
4373   
4374         cat > conftest.$ac_ext <<EOF
4375 #line 4376 "configure"
4376 #include "confdefs.h"
4377 #include <math.h>
4378 int main() {
4379  __builtin_sin(0);
4380 ; return 0; }
4381 EOF
4382 if { (eval echo configure:4383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4383   rm -rf conftest*
4384   glibcpp_cv_func___builtin_sin_link=yes
4385 else
4386   echo "configure: failed program was:" >&5
4387   cat conftest.$ac_ext >&5
4388   rm -rf conftest*
4389   glibcpp_cv_func___builtin_sin_link=no
4390 fi
4391 rm -f conftest*
4392       
4393 fi
4394
4395     fi
4396     echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4397     if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4398       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4399       cat >> confdefs.h <<EOF
4400 #define ${ac_tr_func} 1
4401 EOF
4402
4403     fi
4404   fi
4405
4406   
4407   echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4408 echo "configure:4409: checking for __builtin_sinl declaration" >&5
4409   if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
4410     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4411   echo $ac_n "(cached) $ac_c" 1>&6
4412 else
4413   
4414       
4415       ac_ext=C
4416 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4417 ac_cpp='$CXXCPP $CPPFLAGS'
4418 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4419 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4420 cross_compiling=$ac_cv_prog_cxx_cross
4421
4422       cat > conftest.$ac_ext <<EOF
4423 #line 4424 "configure"
4424 #include "confdefs.h"
4425 #include <math.h>
4426 int main() {
4427  __builtin_sinl(0);
4428 ; return 0; }
4429 EOF
4430 if { (eval echo configure:4431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4431   rm -rf conftest*
4432   glibcpp_cv_func___builtin_sinl_use=yes
4433 else
4434   echo "configure: failed program was:" >&5
4435   cat conftest.$ac_ext >&5
4436   rm -rf conftest*
4437   glibcpp_cv_func___builtin_sinl_use=no
4438 fi
4439 rm -f conftest*
4440       ac_ext=c
4441 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4442 ac_cpp='$CPP $CPPFLAGS'
4443 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4444 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4445 cross_compiling=$ac_cv_prog_cc_cross
4446
4447     
4448 fi
4449
4450   fi
4451   echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4452   if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4453     echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4454 echo "configure:4455: checking for __builtin_sinl linkage" >&5
4455     if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
4456       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4457   echo $ac_n "(cached) $ac_c" 1>&6
4458 else
4459   
4460         cat > conftest.$ac_ext <<EOF
4461 #line 4462 "configure"
4462 #include "confdefs.h"
4463 #include <math.h>
4464 int main() {
4465  __builtin_sinl(0);
4466 ; return 0; }
4467 EOF
4468 if { (eval echo configure:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4469   rm -rf conftest*
4470   glibcpp_cv_func___builtin_sinl_link=yes
4471 else
4472   echo "configure: failed program was:" >&5
4473   cat conftest.$ac_ext >&5
4474   rm -rf conftest*
4475   glibcpp_cv_func___builtin_sinl_link=no
4476 fi
4477 rm -f conftest*
4478       
4479 fi
4480
4481     fi
4482     echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4483     if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4484       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4485       cat >> confdefs.h <<EOF
4486 #define ${ac_tr_func} 1
4487 EOF
4488
4489     fi
4490   fi
4491
4492
4493   
4494   echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4495 echo "configure:4496: checking for __builtin_cosf declaration" >&5
4496   if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
4497     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4498   echo $ac_n "(cached) $ac_c" 1>&6
4499 else
4500   
4501       
4502       ac_ext=C
4503 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4504 ac_cpp='$CXXCPP $CPPFLAGS'
4505 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4506 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4507 cross_compiling=$ac_cv_prog_cxx_cross
4508
4509       cat > conftest.$ac_ext <<EOF
4510 #line 4511 "configure"
4511 #include "confdefs.h"
4512 #include <math.h>
4513 int main() {
4514  __builtin_cosf(0);
4515 ; return 0; }
4516 EOF
4517 if { (eval echo configure:4518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4518   rm -rf conftest*
4519   glibcpp_cv_func___builtin_cosf_use=yes
4520 else
4521   echo "configure: failed program was:" >&5
4522   cat conftest.$ac_ext >&5
4523   rm -rf conftest*
4524   glibcpp_cv_func___builtin_cosf_use=no
4525 fi
4526 rm -f conftest*
4527       ac_ext=c
4528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4529 ac_cpp='$CPP $CPPFLAGS'
4530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4531 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4532 cross_compiling=$ac_cv_prog_cc_cross
4533
4534     
4535 fi
4536
4537   fi
4538   echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4539   if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4540     echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4541 echo "configure:4542: checking for __builtin_cosf linkage" >&5
4542     if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
4543       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4544   echo $ac_n "(cached) $ac_c" 1>&6
4545 else
4546   
4547         cat > conftest.$ac_ext <<EOF
4548 #line 4549 "configure"
4549 #include "confdefs.h"
4550 #include <math.h>
4551 int main() {
4552  __builtin_cosf(0);
4553 ; return 0; }
4554 EOF
4555 if { (eval echo configure:4556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4556   rm -rf conftest*
4557   glibcpp_cv_func___builtin_cosf_link=yes
4558 else
4559   echo "configure: failed program was:" >&5
4560   cat conftest.$ac_ext >&5
4561   rm -rf conftest*
4562   glibcpp_cv_func___builtin_cosf_link=no
4563 fi
4564 rm -f conftest*
4565       
4566 fi
4567
4568     fi
4569     echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4570     if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4571       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4572       cat >> confdefs.h <<EOF
4573 #define ${ac_tr_func} 1
4574 EOF
4575
4576     fi
4577   fi
4578
4579   
4580   echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4581 echo "configure:4582: checking for __builtin_cos declaration" >&5
4582   if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
4583     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4584   echo $ac_n "(cached) $ac_c" 1>&6
4585 else
4586   
4587       
4588       ac_ext=C
4589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4590 ac_cpp='$CXXCPP $CPPFLAGS'
4591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4593 cross_compiling=$ac_cv_prog_cxx_cross
4594
4595       cat > conftest.$ac_ext <<EOF
4596 #line 4597 "configure"
4597 #include "confdefs.h"
4598 #include <math.h>
4599 int main() {
4600  __builtin_cos(0);
4601 ; return 0; }
4602 EOF
4603 if { (eval echo configure:4604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4604   rm -rf conftest*
4605   glibcpp_cv_func___builtin_cos_use=yes
4606 else
4607   echo "configure: failed program was:" >&5
4608   cat conftest.$ac_ext >&5
4609   rm -rf conftest*
4610   glibcpp_cv_func___builtin_cos_use=no
4611 fi
4612 rm -f conftest*
4613       ac_ext=c
4614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4617 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4618 cross_compiling=$ac_cv_prog_cc_cross
4619
4620     
4621 fi
4622
4623   fi
4624   echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4625   if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4626     echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4627 echo "configure:4628: checking for __builtin_cos linkage" >&5
4628     if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
4629       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4630   echo $ac_n "(cached) $ac_c" 1>&6
4631 else
4632   
4633         cat > conftest.$ac_ext <<EOF
4634 #line 4635 "configure"
4635 #include "confdefs.h"
4636 #include <math.h>
4637 int main() {
4638  __builtin_cos(0);
4639 ; return 0; }
4640 EOF
4641 if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4642   rm -rf conftest*
4643   glibcpp_cv_func___builtin_cos_link=yes
4644 else
4645   echo "configure: failed program was:" >&5
4646   cat conftest.$ac_ext >&5
4647   rm -rf conftest*
4648   glibcpp_cv_func___builtin_cos_link=no
4649 fi
4650 rm -f conftest*
4651       
4652 fi
4653
4654     fi
4655     echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4656     if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4657       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4658       cat >> confdefs.h <<EOF
4659 #define ${ac_tr_func} 1
4660 EOF
4661
4662     fi
4663   fi
4664
4665   
4666   echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4667 echo "configure:4668: checking for __builtin_cosl declaration" >&5
4668   if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
4669     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4670   echo $ac_n "(cached) $ac_c" 1>&6
4671 else
4672   
4673       
4674       ac_ext=C
4675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4676 ac_cpp='$CXXCPP $CPPFLAGS'
4677 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4678 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4679 cross_compiling=$ac_cv_prog_cxx_cross
4680
4681       cat > conftest.$ac_ext <<EOF
4682 #line 4683 "configure"
4683 #include "confdefs.h"
4684 #include <math.h>
4685 int main() {
4686  __builtin_cosl(0);
4687 ; return 0; }
4688 EOF
4689 if { (eval echo configure:4690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4690   rm -rf conftest*
4691   glibcpp_cv_func___builtin_cosl_use=yes
4692 else
4693   echo "configure: failed program was:" >&5
4694   cat conftest.$ac_ext >&5
4695   rm -rf conftest*
4696   glibcpp_cv_func___builtin_cosl_use=no
4697 fi
4698 rm -f conftest*
4699       ac_ext=c
4700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4701 ac_cpp='$CPP $CPPFLAGS'
4702 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4703 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4704 cross_compiling=$ac_cv_prog_cc_cross
4705
4706     
4707 fi
4708
4709   fi
4710   echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4711   if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4712     echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4713 echo "configure:4714: checking for __builtin_cosl linkage" >&5
4714     if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
4715       if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4716   echo $ac_n "(cached) $ac_c" 1>&6
4717 else
4718   
4719         cat > conftest.$ac_ext <<EOF
4720 #line 4721 "configure"
4721 #include "confdefs.h"
4722 #include <math.h>
4723 int main() {
4724  __builtin_cosl(0);
4725 ; return 0; }
4726 EOF
4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4728   rm -rf conftest*
4729   glibcpp_cv_func___builtin_cosl_link=yes
4730 else
4731   echo "configure: failed program was:" >&5
4732   cat conftest.$ac_ext >&5
4733   rm -rf conftest*
4734   glibcpp_cv_func___builtin_cosl_link=no
4735 fi
4736 rm -f conftest*
4737       
4738 fi
4739
4740     fi
4741     echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4742     if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4743       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4744       cat >> confdefs.h <<EOF
4745 #define ${ac_tr_func} 1
4746 EOF
4747
4748     fi
4749   fi
4750
4751
4752               dummyvar=no
4753   if test x$dummyvar = x"yes"; then
4754     cat >> confdefs.h <<\EOF
4755 #define HAVE___BUILTIN_ABS 1
4756 EOF
4757
4758     cat >> confdefs.h <<\EOF
4759 #define HAVE___BUILTIN_LABS 1
4760 EOF
4761
4762     cat >> confdefs.h <<\EOF
4763 #define HAVE___BUILTIN_COS 1
4764 EOF
4765
4766     cat >> confdefs.h <<\EOF
4767 #define HAVE___BUILTIN_COSF 1
4768 EOF
4769
4770     cat >> confdefs.h <<\EOF
4771 #define HAVE___BUILTIN_COSL 1
4772 EOF
4773
4774     cat >> confdefs.h <<\EOF
4775 #define HAVE___BUILTIN_FABS 1
4776 EOF
4777
4778     cat >> confdefs.h <<\EOF
4779 #define HAVE___BUILTIN_FABSF 1
4780 EOF
4781
4782     cat >> confdefs.h <<\EOF
4783 #define HAVE___BUILTIN_FABSL 1
4784 EOF
4785
4786     cat >> confdefs.h <<\EOF
4787 #define HAVE___BUILTIN_SIN 1
4788 EOF
4789
4790     cat >> confdefs.h <<\EOF
4791 #define HAVE___BUILTIN_SINF 1
4792 EOF
4793
4794     cat >> confdefs.h <<\EOF
4795 #define HAVE___BUILTIN_SINL 1
4796 EOF
4797
4798     cat >> confdefs.h <<\EOF
4799 #define HAVE___BUILTIN_FSQRT 1
4800 EOF
4801
4802     cat >> confdefs.h <<\EOF
4803 #define HAVE___BUILTIN_SQRTF 1
4804 EOF
4805
4806     cat >> confdefs.h <<\EOF
4807 #define HAVE___BUILTIN_SQRTL 1
4808 EOF
4809
4810   fi
4811
4812   
4813   ac_test_CXXFLAGS="${CXXFLAGS+set}"
4814   ac_save_CXXFLAGS="$CXXFLAGS"
4815   CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4816
4817     echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4818 echo "configure:4819: checking for sin in -lm" >&5
4819 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4820 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4821   echo $ac_n "(cached) $ac_c" 1>&6
4822 else
4823   ac_save_LIBS="$LIBS"
4824 LIBS="-lm  $LIBS"
4825 cat > conftest.$ac_ext <<EOF
4826 #line 4827 "configure"
4827 #include "confdefs.h"
4828 /* Override any gcc2 internal prototype to avoid an error.  */
4829 /* We use char because int might match the return type of a gcc2
4830     builtin and then its argument prototype would still apply.  */
4831 char sin();
4832
4833 int main() {
4834 sin()
4835 ; return 0; }
4836 EOF
4837 if { (eval echo configure:4838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4838   rm -rf conftest*
4839   eval "ac_cv_lib_$ac_lib_var=yes"
4840 else
4841   echo "configure: failed program was:" >&5
4842   cat conftest.$ac_ext >&5
4843   rm -rf conftest*
4844   eval "ac_cv_lib_$ac_lib_var=no"
4845 fi
4846 rm -f conftest*
4847 LIBS="$ac_save_LIBS"
4848
4849 fi
4850 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4851   echo "$ac_t""yes" 1>&6
4852   libm="-lm"
4853 else
4854   echo "$ac_t""no" 1>&6
4855 fi
4856
4857   ac_save_LIBS="$LIBS"
4858   LIBS="$LIBS $libm"
4859
4860     
4861   echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4862 echo "configure:4863: checking for isinf declaration" >&5
4863   if test x${glibcpp_cv_func_isinf_use+set} != xset; then
4864     if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4865   echo $ac_n "(cached) $ac_c" 1>&6
4866 else
4867   
4868       
4869       ac_ext=C
4870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4871 ac_cpp='$CXXCPP $CPPFLAGS'
4872 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4873 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4874 cross_compiling=$ac_cv_prog_cxx_cross
4875
4876       cat > conftest.$ac_ext <<EOF
4877 #line 4878 "configure"
4878 #include "confdefs.h"
4879 #include <math.h>
4880 int main() {
4881  isinf(0);
4882 ; return 0; }
4883 EOF
4884 if { (eval echo configure:4885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4885   rm -rf conftest*
4886   glibcpp_cv_func_isinf_use=yes
4887 else
4888   echo "configure: failed program was:" >&5
4889   cat conftest.$ac_ext >&5
4890   rm -rf conftest*
4891   glibcpp_cv_func_isinf_use=no
4892 fi
4893 rm -f conftest*
4894       ac_ext=c
4895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4896 ac_cpp='$CPP $CPPFLAGS'
4897 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4898 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4899 cross_compiling=$ac_cv_prog_cc_cross
4900
4901     
4902 fi
4903
4904   fi
4905   echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4906   if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4907     for ac_func in isinf
4908 do
4909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4910 echo "configure:4911: checking for $ac_func" >&5
4911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4912   echo $ac_n "(cached) $ac_c" 1>&6
4913 else
4914   cat > conftest.$ac_ext <<EOF
4915 #line 4916 "configure"
4916 #include "confdefs.h"
4917 /* System header to define __stub macros and hopefully few prototypes,
4918     which can conflict with char $ac_func(); below.  */
4919 #include <assert.h>
4920 /* Override any gcc2 internal prototype to avoid an error.  */
4921 /* We use char because int might match the return type of a gcc2
4922     builtin and then its argument prototype would still apply.  */
4923 char $ac_func();
4924
4925 int main() {
4926
4927 /* The GNU C library defines this for functions which it implements
4928     to always fail with ENOSYS.  Some functions are actually named
4929     something starting with __ and the normal name is an alias.  */
4930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4931 choke me
4932 #else
4933 $ac_func();
4934 #endif
4935
4936 ; return 0; }
4937 EOF
4938 if { (eval echo configure:4939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4939   rm -rf conftest*
4940   eval "ac_cv_func_$ac_func=yes"
4941 else
4942   echo "configure: failed program was:" >&5
4943   cat conftest.$ac_ext >&5
4944   rm -rf conftest*
4945   eval "ac_cv_func_$ac_func=no"
4946 fi
4947 rm -f conftest*
4948 fi
4949
4950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4951   echo "$ac_t""yes" 1>&6
4952     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4953   cat >> confdefs.h <<EOF
4954 #define $ac_tr_func 1
4955 EOF
4956  
4957 else
4958   echo "$ac_t""no" 1>&6
4959 fi
4960 done
4961     
4962   fi
4963
4964   
4965   echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4966 echo "configure:4967: checking for isnan declaration" >&5
4967   if test x${glibcpp_cv_func_isnan_use+set} != xset; then
4968     if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4969   echo $ac_n "(cached) $ac_c" 1>&6
4970 else
4971   
4972       
4973       ac_ext=C
4974 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4975 ac_cpp='$CXXCPP $CPPFLAGS'
4976 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4977 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4978 cross_compiling=$ac_cv_prog_cxx_cross
4979
4980       cat > conftest.$ac_ext <<EOF
4981 #line 4982 "configure"
4982 #include "confdefs.h"
4983 #include <math.h>
4984 int main() {
4985  isnan(0);
4986 ; return 0; }
4987 EOF
4988 if { (eval echo configure:4989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4989   rm -rf conftest*
4990   glibcpp_cv_func_isnan_use=yes
4991 else
4992   echo "configure: failed program was:" >&5
4993   cat conftest.$ac_ext >&5
4994   rm -rf conftest*
4995   glibcpp_cv_func_isnan_use=no
4996 fi
4997 rm -f conftest*
4998       ac_ext=c
4999 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5000 ac_cpp='$CPP $CPPFLAGS'
5001 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5002 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5003 cross_compiling=$ac_cv_prog_cc_cross
5004
5005     
5006 fi
5007
5008   fi
5009   echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
5010   if test x$glibcpp_cv_func_isnan_use = x"yes"; then
5011     for ac_func in isnan
5012 do
5013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5014 echo "configure:5015: checking for $ac_func" >&5
5015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5016   echo $ac_n "(cached) $ac_c" 1>&6
5017 else
5018   cat > conftest.$ac_ext <<EOF
5019 #line 5020 "configure"
5020 #include "confdefs.h"
5021 /* System header to define __stub macros and hopefully few prototypes,
5022     which can conflict with char $ac_func(); below.  */
5023 #include <assert.h>
5024 /* Override any gcc2 internal prototype to avoid an error.  */
5025 /* We use char because int might match the return type of a gcc2
5026     builtin and then its argument prototype would still apply.  */
5027 char $ac_func();
5028
5029 int main() {
5030
5031 /* The GNU C library defines this for functions which it implements
5032     to always fail with ENOSYS.  Some functions are actually named
5033     something starting with __ and the normal name is an alias.  */
5034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5035 choke me
5036 #else
5037 $ac_func();
5038 #endif
5039
5040 ; return 0; }
5041 EOF
5042 if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5043   rm -rf conftest*
5044   eval "ac_cv_func_$ac_func=yes"
5045 else
5046   echo "configure: failed program was:" >&5
5047   cat conftest.$ac_ext >&5
5048   rm -rf conftest*
5049   eval "ac_cv_func_$ac_func=no"
5050 fi
5051 rm -f conftest*
5052 fi
5053
5054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5055   echo "$ac_t""yes" 1>&6
5056     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5057   cat >> confdefs.h <<EOF
5058 #define $ac_tr_func 1
5059 EOF
5060  
5061 else
5062   echo "$ac_t""no" 1>&6
5063 fi
5064 done
5065     
5066   fi
5067
5068   
5069   echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
5070 echo "configure:5071: checking for finite declaration" >&5
5071   if test x${glibcpp_cv_func_finite_use+set} != xset; then
5072     if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
5073   echo $ac_n "(cached) $ac_c" 1>&6
5074 else
5075   
5076       
5077       ac_ext=C
5078 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5079 ac_cpp='$CXXCPP $CPPFLAGS'
5080 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5081 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5082 cross_compiling=$ac_cv_prog_cxx_cross
5083
5084       cat > conftest.$ac_ext <<EOF
5085 #line 5086 "configure"
5086 #include "confdefs.h"
5087 #include <math.h>
5088 int main() {
5089  finite(0);
5090 ; return 0; }
5091 EOF
5092 if { (eval echo configure:5093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5093   rm -rf conftest*
5094   glibcpp_cv_func_finite_use=yes
5095 else
5096   echo "configure: failed program was:" >&5
5097   cat conftest.$ac_ext >&5
5098   rm -rf conftest*
5099   glibcpp_cv_func_finite_use=no
5100 fi
5101 rm -f conftest*
5102       ac_ext=c
5103 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5104 ac_cpp='$CPP $CPPFLAGS'
5105 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5106 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5107 cross_compiling=$ac_cv_prog_cc_cross
5108
5109     
5110 fi
5111
5112   fi
5113   echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
5114   if test x$glibcpp_cv_func_finite_use = x"yes"; then
5115     for ac_func in finite
5116 do
5117 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5118 echo "configure:5119: checking for $ac_func" >&5
5119 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5120   echo $ac_n "(cached) $ac_c" 1>&6
5121 else
5122   cat > conftest.$ac_ext <<EOF
5123 #line 5124 "configure"
5124 #include "confdefs.h"
5125 /* System header to define __stub macros and hopefully few prototypes,
5126     which can conflict with char $ac_func(); below.  */
5127 #include <assert.h>
5128 /* Override any gcc2 internal prototype to avoid an error.  */
5129 /* We use char because int might match the return type of a gcc2
5130     builtin and then its argument prototype would still apply.  */
5131 char $ac_func();
5132
5133 int main() {
5134
5135 /* The GNU C library defines this for functions which it implements
5136     to always fail with ENOSYS.  Some functions are actually named
5137     something starting with __ and the normal name is an alias.  */
5138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5139 choke me
5140 #else
5141 $ac_func();
5142 #endif
5143
5144 ; return 0; }
5145 EOF
5146 if { (eval echo configure:5147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5147   rm -rf conftest*
5148   eval "ac_cv_func_$ac_func=yes"
5149 else
5150   echo "configure: failed program was:" >&5
5151   cat conftest.$ac_ext >&5
5152   rm -rf conftest*
5153   eval "ac_cv_func_$ac_func=no"
5154 fi
5155 rm -f conftest*
5156 fi
5157
5158 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5159   echo "$ac_t""yes" 1>&6
5160     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5161   cat >> confdefs.h <<EOF
5162 #define $ac_tr_func 1
5163 EOF
5164  
5165 else
5166   echo "$ac_t""no" 1>&6
5167 fi
5168 done
5169     
5170   fi
5171
5172   
5173   echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5174 echo "configure:5175: checking for copysign declaration" >&5
5175   if test x${glibcpp_cv_func_copysign_use+set} != xset; then
5176     if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5177   echo $ac_n "(cached) $ac_c" 1>&6
5178 else
5179   
5180       
5181       ac_ext=C
5182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5183 ac_cpp='$CXXCPP $CPPFLAGS'
5184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5186 cross_compiling=$ac_cv_prog_cxx_cross
5187
5188       cat > conftest.$ac_ext <<EOF
5189 #line 5190 "configure"
5190 #include "confdefs.h"
5191 #include <math.h>
5192 int main() {
5193  copysign(0, 0);
5194 ; return 0; }
5195 EOF
5196 if { (eval echo configure:5197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5197   rm -rf conftest*
5198   glibcpp_cv_func_copysign_use=yes
5199 else
5200   echo "configure: failed program was:" >&5
5201   cat conftest.$ac_ext >&5
5202   rm -rf conftest*
5203   glibcpp_cv_func_copysign_use=no
5204 fi
5205 rm -f conftest*
5206       ac_ext=c
5207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5208 ac_cpp='$CPP $CPPFLAGS'
5209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5211 cross_compiling=$ac_cv_prog_cc_cross
5212
5213     
5214 fi
5215
5216   fi
5217   echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5218   if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5219     for ac_func in copysign
5220 do
5221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5222 echo "configure:5223: checking for $ac_func" >&5
5223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5224   echo $ac_n "(cached) $ac_c" 1>&6
5225 else
5226   cat > conftest.$ac_ext <<EOF
5227 #line 5228 "configure"
5228 #include "confdefs.h"
5229 /* System header to define __stub macros and hopefully few prototypes,
5230     which can conflict with char $ac_func(); below.  */
5231 #include <assert.h>
5232 /* Override any gcc2 internal prototype to avoid an error.  */
5233 /* We use char because int might match the return type of a gcc2
5234     builtin and then its argument prototype would still apply.  */
5235 char $ac_func();
5236
5237 int main() {
5238
5239 /* The GNU C library defines this for functions which it implements
5240     to always fail with ENOSYS.  Some functions are actually named
5241     something starting with __ and the normal name is an alias.  */
5242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5243 choke me
5244 #else
5245 $ac_func();
5246 #endif
5247
5248 ; return 0; }
5249 EOF
5250 if { (eval echo configure:5251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5251   rm -rf conftest*
5252   eval "ac_cv_func_$ac_func=yes"
5253 else
5254   echo "configure: failed program was:" >&5
5255   cat conftest.$ac_ext >&5
5256   rm -rf conftest*
5257   eval "ac_cv_func_$ac_func=no"
5258 fi
5259 rm -f conftest*
5260 fi
5261
5262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5263   echo "$ac_t""yes" 1>&6
5264     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5265   cat >> confdefs.h <<EOF
5266 #define $ac_tr_func 1
5267 EOF
5268  
5269 else
5270   echo "$ac_t""no" 1>&6
5271 fi
5272 done
5273     
5274   fi
5275
5276   
5277   echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5278 echo "configure:5279: checking for sincos declaration" >&5
5279   if test x${glibcpp_cv_func_sincos_use+set} != xset; then
5280     if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5281   echo $ac_n "(cached) $ac_c" 1>&6
5282 else
5283   
5284       
5285       ac_ext=C
5286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5287 ac_cpp='$CXXCPP $CPPFLAGS'
5288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5290 cross_compiling=$ac_cv_prog_cxx_cross
5291
5292       cat > conftest.$ac_ext <<EOF
5293 #line 5294 "configure"
5294 #include "confdefs.h"
5295 #include <math.h>
5296 int main() {
5297  sincos(0, 0, 0);
5298 ; return 0; }
5299 EOF
5300 if { (eval echo configure:5301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5301   rm -rf conftest*
5302   glibcpp_cv_func_sincos_use=yes
5303 else
5304   echo "configure: failed program was:" >&5
5305   cat conftest.$ac_ext >&5
5306   rm -rf conftest*
5307   glibcpp_cv_func_sincos_use=no
5308 fi
5309 rm -f conftest*
5310       ac_ext=c
5311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5312 ac_cpp='$CPP $CPPFLAGS'
5313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5315 cross_compiling=$ac_cv_prog_cc_cross
5316
5317     
5318 fi
5319
5320   fi
5321   echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5322   if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5323     for ac_func in sincos
5324 do
5325 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5326 echo "configure:5327: checking for $ac_func" >&5
5327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5328   echo $ac_n "(cached) $ac_c" 1>&6
5329 else
5330   cat > conftest.$ac_ext <<EOF
5331 #line 5332 "configure"
5332 #include "confdefs.h"
5333 /* System header to define __stub macros and hopefully few prototypes,
5334     which can conflict with char $ac_func(); below.  */
5335 #include <assert.h>
5336 /* Override any gcc2 internal prototype to avoid an error.  */
5337 /* We use char because int might match the return type of a gcc2
5338     builtin and then its argument prototype would still apply.  */
5339 char $ac_func();
5340
5341 int main() {
5342
5343 /* The GNU C library defines this for functions which it implements
5344     to always fail with ENOSYS.  Some functions are actually named
5345     something starting with __ and the normal name is an alias.  */
5346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5347 choke me
5348 #else
5349 $ac_func();
5350 #endif
5351
5352 ; return 0; }
5353 EOF
5354 if { (eval echo configure:5355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5355   rm -rf conftest*
5356   eval "ac_cv_func_$ac_func=yes"
5357 else
5358   echo "configure: failed program was:" >&5
5359   cat conftest.$ac_ext >&5
5360   rm -rf conftest*
5361   eval "ac_cv_func_$ac_func=no"
5362 fi
5363 rm -f conftest*
5364 fi
5365
5366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5367   echo "$ac_t""yes" 1>&6
5368     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5369   cat >> confdefs.h <<EOF
5370 #define $ac_tr_func 1
5371 EOF
5372  
5373 else
5374   echo "$ac_t""no" 1>&6
5375 fi
5376 done
5377     
5378   fi
5379
5380   
5381   echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5382 echo "configure:5383: checking for fpclass declaration" >&5
5383   if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
5384     if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5385   echo $ac_n "(cached) $ac_c" 1>&6
5386 else
5387   
5388       
5389       ac_ext=C
5390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5391 ac_cpp='$CXXCPP $CPPFLAGS'
5392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5394 cross_compiling=$ac_cv_prog_cxx_cross
5395
5396       cat > conftest.$ac_ext <<EOF
5397 #line 5398 "configure"
5398 #include "confdefs.h"
5399 #include <math.h>
5400 int main() {
5401  fpclass(0);
5402 ; return 0; }
5403 EOF
5404 if { (eval echo configure:5405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5405   rm -rf conftest*
5406   glibcpp_cv_func_fpclass_use=yes
5407 else
5408   echo "configure: failed program was:" >&5
5409   cat conftest.$ac_ext >&5
5410   rm -rf conftest*
5411   glibcpp_cv_func_fpclass_use=no
5412 fi
5413 rm -f conftest*
5414       ac_ext=c
5415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5416 ac_cpp='$CPP $CPPFLAGS'
5417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5419 cross_compiling=$ac_cv_prog_cc_cross
5420
5421     
5422 fi
5423
5424   fi
5425   echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5426   if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5427     for ac_func in fpclass
5428 do
5429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5430 echo "configure:5431: checking for $ac_func" >&5
5431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5432   echo $ac_n "(cached) $ac_c" 1>&6
5433 else
5434   cat > conftest.$ac_ext <<EOF
5435 #line 5436 "configure"
5436 #include "confdefs.h"
5437 /* System header to define __stub macros and hopefully few prototypes,
5438     which can conflict with char $ac_func(); below.  */
5439 #include <assert.h>
5440 /* Override any gcc2 internal prototype to avoid an error.  */
5441 /* We use char because int might match the return type of a gcc2
5442     builtin and then its argument prototype would still apply.  */
5443 char $ac_func();
5444
5445 int main() {
5446
5447 /* The GNU C library defines this for functions which it implements
5448     to always fail with ENOSYS.  Some functions are actually named
5449     something starting with __ and the normal name is an alias.  */
5450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5451 choke me
5452 #else
5453 $ac_func();
5454 #endif
5455
5456 ; return 0; }
5457 EOF
5458 if { (eval echo configure:5459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5459   rm -rf conftest*
5460   eval "ac_cv_func_$ac_func=yes"
5461 else
5462   echo "configure: failed program was:" >&5
5463   cat conftest.$ac_ext >&5
5464   rm -rf conftest*
5465   eval "ac_cv_func_$ac_func=no"
5466 fi
5467 rm -f conftest*
5468 fi
5469
5470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5471   echo "$ac_t""yes" 1>&6
5472     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5473   cat >> confdefs.h <<EOF
5474 #define $ac_tr_func 1
5475 EOF
5476  
5477 else
5478   echo "$ac_t""no" 1>&6
5479 fi
5480 done
5481     
5482   fi
5483
5484   
5485   echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5486 echo "configure:5487: checking for qfpclass declaration" >&5
5487   if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
5488     if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5489   echo $ac_n "(cached) $ac_c" 1>&6
5490 else
5491   
5492       
5493       ac_ext=C
5494 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5495 ac_cpp='$CXXCPP $CPPFLAGS'
5496 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5497 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5498 cross_compiling=$ac_cv_prog_cxx_cross
5499
5500       cat > conftest.$ac_ext <<EOF
5501 #line 5502 "configure"
5502 #include "confdefs.h"
5503 #include <math.h>
5504 int main() {
5505  qfpclass(0);
5506 ; return 0; }
5507 EOF
5508 if { (eval echo configure:5509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5509   rm -rf conftest*
5510   glibcpp_cv_func_qfpclass_use=yes
5511 else
5512   echo "configure: failed program was:" >&5
5513   cat conftest.$ac_ext >&5
5514   rm -rf conftest*
5515   glibcpp_cv_func_qfpclass_use=no
5516 fi
5517 rm -f conftest*
5518       ac_ext=c
5519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5520 ac_cpp='$CPP $CPPFLAGS'
5521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5523 cross_compiling=$ac_cv_prog_cc_cross
5524
5525     
5526 fi
5527
5528   fi
5529   echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5530   if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5531     for ac_func in qfpclass
5532 do
5533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5534 echo "configure:5535: checking for $ac_func" >&5
5535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5536   echo $ac_n "(cached) $ac_c" 1>&6
5537 else
5538   cat > conftest.$ac_ext <<EOF
5539 #line 5540 "configure"
5540 #include "confdefs.h"
5541 /* System header to define __stub macros and hopefully few prototypes,
5542     which can conflict with char $ac_func(); below.  */
5543 #include <assert.h>
5544 /* Override any gcc2 internal prototype to avoid an error.  */
5545 /* We use char because int might match the return type of a gcc2
5546     builtin and then its argument prototype would still apply.  */
5547 char $ac_func();
5548
5549 int main() {
5550
5551 /* The GNU C library defines this for functions which it implements
5552     to always fail with ENOSYS.  Some functions are actually named
5553     something starting with __ and the normal name is an alias.  */
5554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5555 choke me
5556 #else
5557 $ac_func();
5558 #endif
5559
5560 ; return 0; }
5561 EOF
5562 if { (eval echo configure:5563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5563   rm -rf conftest*
5564   eval "ac_cv_func_$ac_func=yes"
5565 else
5566   echo "configure: failed program was:" >&5
5567   cat conftest.$ac_ext >&5
5568   rm -rf conftest*
5569   eval "ac_cv_func_$ac_func=no"
5570 fi
5571 rm -f conftest*
5572 fi
5573
5574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5575   echo "$ac_t""yes" 1>&6
5576     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5577   cat >> confdefs.h <<EOF
5578 #define $ac_tr_func 1
5579 EOF
5580  
5581 else
5582   echo "$ac_t""no" 1>&6
5583 fi
5584 done
5585     
5586   fi
5587
5588
5589     
5590   echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5591 echo "configure:5592: checking for isnanf declaration" >&5
5592   if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
5593     if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5594   echo $ac_n "(cached) $ac_c" 1>&6
5595 else
5596   
5597       
5598       ac_ext=C
5599 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5600 ac_cpp='$CXXCPP $CPPFLAGS'
5601 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5602 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5603 cross_compiling=$ac_cv_prog_cxx_cross
5604
5605       cat > conftest.$ac_ext <<EOF
5606 #line 5607 "configure"
5607 #include "confdefs.h"
5608 #include <math.h>
5609 int main() {
5610  isnanf(0);
5611 ; return 0; }
5612 EOF
5613 if { (eval echo configure:5614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5614   rm -rf conftest*
5615   glibcpp_cv_func_isnanf_use=yes
5616 else
5617   echo "configure: failed program was:" >&5
5618   cat conftest.$ac_ext >&5
5619   rm -rf conftest*
5620   glibcpp_cv_func_isnanf_use=no
5621 fi
5622 rm -f conftest*
5623       ac_ext=c
5624 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5625 ac_cpp='$CPP $CPPFLAGS'
5626 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5627 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5628 cross_compiling=$ac_cv_prog_cc_cross
5629
5630     
5631 fi
5632
5633   fi
5634   echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5635   if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5636     for ac_func in isnanf
5637 do
5638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5639 echo "configure:5640: checking for $ac_func" >&5
5640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5641   echo $ac_n "(cached) $ac_c" 1>&6
5642 else
5643   cat > conftest.$ac_ext <<EOF
5644 #line 5645 "configure"
5645 #include "confdefs.h"
5646 /* System header to define __stub macros and hopefully few prototypes,
5647     which can conflict with char $ac_func(); below.  */
5648 #include <assert.h>
5649 /* Override any gcc2 internal prototype to avoid an error.  */
5650 /* We use char because int might match the return type of a gcc2
5651     builtin and then its argument prototype would still apply.  */
5652 char $ac_func();
5653
5654 int main() {
5655
5656 /* The GNU C library defines this for functions which it implements
5657     to always fail with ENOSYS.  Some functions are actually named
5658     something starting with __ and the normal name is an alias.  */
5659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5660 choke me
5661 #else
5662 $ac_func();
5663 #endif
5664
5665 ; return 0; }
5666 EOF
5667 if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5668   rm -rf conftest*
5669   eval "ac_cv_func_$ac_func=yes"
5670 else
5671   echo "configure: failed program was:" >&5
5672   cat conftest.$ac_ext >&5
5673   rm -rf conftest*
5674   eval "ac_cv_func_$ac_func=no"
5675 fi
5676 rm -f conftest*
5677 fi
5678
5679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5680   echo "$ac_t""yes" 1>&6
5681     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5682   cat >> confdefs.h <<EOF
5683 #define $ac_tr_func 1
5684 EOF
5685  
5686 else
5687   echo "$ac_t""no" 1>&6
5688 fi
5689 done
5690     
5691   fi
5692
5693   
5694   echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5695 echo "configure:5696: checking for isinff declaration" >&5
5696   if test x${glibcpp_cv_func_isinff_use+set} != xset; then
5697     if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5698   echo $ac_n "(cached) $ac_c" 1>&6
5699 else
5700   
5701       
5702       ac_ext=C
5703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5704 ac_cpp='$CXXCPP $CPPFLAGS'
5705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5707 cross_compiling=$ac_cv_prog_cxx_cross
5708
5709       cat > conftest.$ac_ext <<EOF
5710 #line 5711 "configure"
5711 #include "confdefs.h"
5712 #include <math.h>
5713 int main() {
5714  isinff(0);
5715 ; return 0; }
5716 EOF
5717 if { (eval echo configure:5718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5718   rm -rf conftest*
5719   glibcpp_cv_func_isinff_use=yes
5720 else
5721   echo "configure: failed program was:" >&5
5722   cat conftest.$ac_ext >&5
5723   rm -rf conftest*
5724   glibcpp_cv_func_isinff_use=no
5725 fi
5726 rm -f conftest*
5727       ac_ext=c
5728 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5729 ac_cpp='$CPP $CPPFLAGS'
5730 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5731 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5732 cross_compiling=$ac_cv_prog_cc_cross
5733
5734     
5735 fi
5736
5737   fi
5738   echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5739   if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5740     for ac_func in isinff
5741 do
5742 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5743 echo "configure:5744: checking for $ac_func" >&5
5744 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5745   echo $ac_n "(cached) $ac_c" 1>&6
5746 else
5747   cat > conftest.$ac_ext <<EOF
5748 #line 5749 "configure"
5749 #include "confdefs.h"
5750 /* System header to define __stub macros and hopefully few prototypes,
5751     which can conflict with char $ac_func(); below.  */
5752 #include <assert.h>
5753 /* Override any gcc2 internal prototype to avoid an error.  */
5754 /* We use char because int might match the return type of a gcc2
5755     builtin and then its argument prototype would still apply.  */
5756 char $ac_func();
5757
5758 int main() {
5759
5760 /* The GNU C library defines this for functions which it implements
5761     to always fail with ENOSYS.  Some functions are actually named
5762     something starting with __ and the normal name is an alias.  */
5763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5764 choke me
5765 #else
5766 $ac_func();
5767 #endif
5768
5769 ; return 0; }
5770 EOF
5771 if { (eval echo configure:5772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5772   rm -rf conftest*
5773   eval "ac_cv_func_$ac_func=yes"
5774 else
5775   echo "configure: failed program was:" >&5
5776   cat conftest.$ac_ext >&5
5777   rm -rf conftest*
5778   eval "ac_cv_func_$ac_func=no"
5779 fi
5780 rm -f conftest*
5781 fi
5782
5783 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5784   echo "$ac_t""yes" 1>&6
5785     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5786   cat >> confdefs.h <<EOF
5787 #define $ac_tr_func 1
5788 EOF
5789  
5790 else
5791   echo "$ac_t""no" 1>&6
5792 fi
5793 done
5794     
5795   fi
5796
5797   
5798   echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5799 echo "configure:5800: checking for acosf declaration" >&5
5800   if test x${glibcpp_cv_func_acosf_use+set} != xset; then
5801     if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5802   echo $ac_n "(cached) $ac_c" 1>&6
5803 else
5804   
5805       
5806       ac_ext=C
5807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5808 ac_cpp='$CXXCPP $CPPFLAGS'
5809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5811 cross_compiling=$ac_cv_prog_cxx_cross
5812
5813       cat > conftest.$ac_ext <<EOF
5814 #line 5815 "configure"
5815 #include "confdefs.h"
5816 #include <math.h>
5817 int main() {
5818  acosf(0);
5819 ; return 0; }
5820 EOF
5821 if { (eval echo configure:5822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5822   rm -rf conftest*
5823   glibcpp_cv_func_acosf_use=yes
5824 else
5825   echo "configure: failed program was:" >&5
5826   cat conftest.$ac_ext >&5
5827   rm -rf conftest*
5828   glibcpp_cv_func_acosf_use=no
5829 fi
5830 rm -f conftest*
5831       ac_ext=c
5832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5833 ac_cpp='$CPP $CPPFLAGS'
5834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5836 cross_compiling=$ac_cv_prog_cc_cross
5837
5838     
5839 fi
5840
5841   fi
5842   echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5843   if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5844     for ac_func in acosf
5845 do
5846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5847 echo "configure:5848: checking for $ac_func" >&5
5848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5849   echo $ac_n "(cached) $ac_c" 1>&6
5850 else
5851   cat > conftest.$ac_ext <<EOF
5852 #line 5853 "configure"
5853 #include "confdefs.h"
5854 /* System header to define __stub macros and hopefully few prototypes,
5855     which can conflict with char $ac_func(); below.  */
5856 #include <assert.h>
5857 /* Override any gcc2 internal prototype to avoid an error.  */
5858 /* We use char because int might match the return type of a gcc2
5859     builtin and then its argument prototype would still apply.  */
5860 char $ac_func();
5861
5862 int main() {
5863
5864 /* The GNU C library defines this for functions which it implements
5865     to always fail with ENOSYS.  Some functions are actually named
5866     something starting with __ and the normal name is an alias.  */
5867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5868 choke me
5869 #else
5870 $ac_func();
5871 #endif
5872
5873 ; return 0; }
5874 EOF
5875 if { (eval echo configure:5876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5876   rm -rf conftest*
5877   eval "ac_cv_func_$ac_func=yes"
5878 else
5879   echo "configure: failed program was:" >&5
5880   cat conftest.$ac_ext >&5
5881   rm -rf conftest*
5882   eval "ac_cv_func_$ac_func=no"
5883 fi
5884 rm -f conftest*
5885 fi
5886
5887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5888   echo "$ac_t""yes" 1>&6
5889     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5890   cat >> confdefs.h <<EOF
5891 #define $ac_tr_func 1
5892 EOF
5893  
5894 else
5895   echo "$ac_t""no" 1>&6
5896 fi
5897 done
5898     
5899   fi
5900
5901   
5902   echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5903 echo "configure:5904: checking for asinf declaration" >&5
5904   if test x${glibcpp_cv_func_asinf_use+set} != xset; then
5905     if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5906   echo $ac_n "(cached) $ac_c" 1>&6
5907 else
5908   
5909       
5910       ac_ext=C
5911 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5912 ac_cpp='$CXXCPP $CPPFLAGS'
5913 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5914 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5915 cross_compiling=$ac_cv_prog_cxx_cross
5916
5917       cat > conftest.$ac_ext <<EOF
5918 #line 5919 "configure"
5919 #include "confdefs.h"
5920 #include <math.h>
5921 int main() {
5922  asinf(0);
5923 ; return 0; }
5924 EOF
5925 if { (eval echo configure:5926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5926   rm -rf conftest*
5927   glibcpp_cv_func_asinf_use=yes
5928 else
5929   echo "configure: failed program was:" >&5
5930   cat conftest.$ac_ext >&5
5931   rm -rf conftest*
5932   glibcpp_cv_func_asinf_use=no
5933 fi
5934 rm -f conftest*
5935       ac_ext=c
5936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5937 ac_cpp='$CPP $CPPFLAGS'
5938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5940 cross_compiling=$ac_cv_prog_cc_cross
5941
5942     
5943 fi
5944
5945   fi
5946   echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5947   if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5948     for ac_func in asinf
5949 do
5950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5951 echo "configure:5952: checking for $ac_func" >&5
5952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5953   echo $ac_n "(cached) $ac_c" 1>&6
5954 else
5955   cat > conftest.$ac_ext <<EOF
5956 #line 5957 "configure"
5957 #include "confdefs.h"
5958 /* System header to define __stub macros and hopefully few prototypes,
5959     which can conflict with char $ac_func(); below.  */
5960 #include <assert.h>
5961 /* Override any gcc2 internal prototype to avoid an error.  */
5962 /* We use char because int might match the return type of a gcc2
5963     builtin and then its argument prototype would still apply.  */
5964 char $ac_func();
5965
5966 int main() {
5967
5968 /* The GNU C library defines this for functions which it implements
5969     to always fail with ENOSYS.  Some functions are actually named
5970     something starting with __ and the normal name is an alias.  */
5971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5972 choke me
5973 #else
5974 $ac_func();
5975 #endif
5976
5977 ; return 0; }
5978 EOF
5979 if { (eval echo configure:5980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5980   rm -rf conftest*
5981   eval "ac_cv_func_$ac_func=yes"
5982 else
5983   echo "configure: failed program was:" >&5
5984   cat conftest.$ac_ext >&5
5985   rm -rf conftest*
5986   eval "ac_cv_func_$ac_func=no"
5987 fi
5988 rm -f conftest*
5989 fi
5990
5991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5992   echo "$ac_t""yes" 1>&6
5993     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5994   cat >> confdefs.h <<EOF
5995 #define $ac_tr_func 1
5996 EOF
5997  
5998 else
5999   echo "$ac_t""no" 1>&6
6000 fi
6001 done
6002     
6003   fi
6004
6005   
6006   echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
6007 echo "configure:6008: checking for atanf declaration" >&5
6008   if test x${glibcpp_cv_func_atanf_use+set} != xset; then
6009     if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
6010   echo $ac_n "(cached) $ac_c" 1>&6
6011 else
6012   
6013       
6014       ac_ext=C
6015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6016 ac_cpp='$CXXCPP $CPPFLAGS'
6017 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6018 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6019 cross_compiling=$ac_cv_prog_cxx_cross
6020
6021       cat > conftest.$ac_ext <<EOF
6022 #line 6023 "configure"
6023 #include "confdefs.h"
6024 #include <math.h>
6025 int main() {
6026  atanf(0);
6027 ; return 0; }
6028 EOF
6029 if { (eval echo configure:6030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6030   rm -rf conftest*
6031   glibcpp_cv_func_atanf_use=yes
6032 else
6033   echo "configure: failed program was:" >&5
6034   cat conftest.$ac_ext >&5
6035   rm -rf conftest*
6036   glibcpp_cv_func_atanf_use=no
6037 fi
6038 rm -f conftest*
6039       ac_ext=c
6040 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6041 ac_cpp='$CPP $CPPFLAGS'
6042 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6043 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6044 cross_compiling=$ac_cv_prog_cc_cross
6045
6046     
6047 fi
6048
6049   fi
6050   echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
6051   if test x$glibcpp_cv_func_atanf_use = x"yes"; then
6052     for ac_func in atanf
6053 do
6054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6055 echo "configure:6056: checking for $ac_func" >&5
6056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6057   echo $ac_n "(cached) $ac_c" 1>&6
6058 else
6059   cat > conftest.$ac_ext <<EOF
6060 #line 6061 "configure"
6061 #include "confdefs.h"
6062 /* System header to define __stub macros and hopefully few prototypes,
6063     which can conflict with char $ac_func(); below.  */
6064 #include <assert.h>
6065 /* Override any gcc2 internal prototype to avoid an error.  */
6066 /* We use char because int might match the return type of a gcc2
6067     builtin and then its argument prototype would still apply.  */
6068 char $ac_func();
6069
6070 int main() {
6071
6072 /* The GNU C library defines this for functions which it implements
6073     to always fail with ENOSYS.  Some functions are actually named
6074     something starting with __ and the normal name is an alias.  */
6075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6076 choke me
6077 #else
6078 $ac_func();
6079 #endif
6080
6081 ; return 0; }
6082 EOF
6083 if { (eval echo configure:6084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6084   rm -rf conftest*
6085   eval "ac_cv_func_$ac_func=yes"
6086 else
6087   echo "configure: failed program was:" >&5
6088   cat conftest.$ac_ext >&5
6089   rm -rf conftest*
6090   eval "ac_cv_func_$ac_func=no"
6091 fi
6092 rm -f conftest*
6093 fi
6094
6095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6096   echo "$ac_t""yes" 1>&6
6097     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6098   cat >> confdefs.h <<EOF
6099 #define $ac_tr_func 1
6100 EOF
6101  
6102 else
6103   echo "$ac_t""no" 1>&6
6104 fi
6105 done
6106     
6107   fi
6108
6109   
6110   echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
6111 echo "configure:6112: checking for atan2f declaration" >&5
6112   if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
6113     if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
6114   echo $ac_n "(cached) $ac_c" 1>&6
6115 else
6116   
6117       
6118       ac_ext=C
6119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6120 ac_cpp='$CXXCPP $CPPFLAGS'
6121 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6122 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6123 cross_compiling=$ac_cv_prog_cxx_cross
6124
6125       cat > conftest.$ac_ext <<EOF
6126 #line 6127 "configure"
6127 #include "confdefs.h"
6128 #include <math.h>
6129 int main() {
6130  atan2f(0, 0);
6131 ; return 0; }
6132 EOF
6133 if { (eval echo configure:6134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6134   rm -rf conftest*
6135   glibcpp_cv_func_atan2f_use=yes
6136 else
6137   echo "configure: failed program was:" >&5
6138   cat conftest.$ac_ext >&5
6139   rm -rf conftest*
6140   glibcpp_cv_func_atan2f_use=no
6141 fi
6142 rm -f conftest*
6143       ac_ext=c
6144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6145 ac_cpp='$CPP $CPPFLAGS'
6146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6148 cross_compiling=$ac_cv_prog_cc_cross
6149
6150     
6151 fi
6152
6153   fi
6154   echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6155   if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6156     for ac_func in atan2f
6157 do
6158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6159 echo "configure:6160: checking for $ac_func" >&5
6160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6161   echo $ac_n "(cached) $ac_c" 1>&6
6162 else
6163   cat > conftest.$ac_ext <<EOF
6164 #line 6165 "configure"
6165 #include "confdefs.h"
6166 /* System header to define __stub macros and hopefully few prototypes,
6167     which can conflict with char $ac_func(); below.  */
6168 #include <assert.h>
6169 /* Override any gcc2 internal prototype to avoid an error.  */
6170 /* We use char because int might match the return type of a gcc2
6171     builtin and then its argument prototype would still apply.  */
6172 char $ac_func();
6173
6174 int main() {
6175
6176 /* The GNU C library defines this for functions which it implements
6177     to always fail with ENOSYS.  Some functions are actually named
6178     something starting with __ and the normal name is an alias.  */
6179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6180 choke me
6181 #else
6182 $ac_func();
6183 #endif
6184
6185 ; return 0; }
6186 EOF
6187 if { (eval echo configure:6188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6188   rm -rf conftest*
6189   eval "ac_cv_func_$ac_func=yes"
6190 else
6191   echo "configure: failed program was:" >&5
6192   cat conftest.$ac_ext >&5
6193   rm -rf conftest*
6194   eval "ac_cv_func_$ac_func=no"
6195 fi
6196 rm -f conftest*
6197 fi
6198
6199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6200   echo "$ac_t""yes" 1>&6
6201     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6202   cat >> confdefs.h <<EOF
6203 #define $ac_tr_func 1
6204 EOF
6205  
6206 else
6207   echo "$ac_t""no" 1>&6
6208 fi
6209 done
6210     
6211   fi
6212
6213   
6214   echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6215 echo "configure:6216: checking for ceilf declaration" >&5
6216   if test x${glibcpp_cv_func_ceilf_use+set} != xset; then
6217     if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6218   echo $ac_n "(cached) $ac_c" 1>&6
6219 else
6220   
6221       
6222       ac_ext=C
6223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6224 ac_cpp='$CXXCPP $CPPFLAGS'
6225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6227 cross_compiling=$ac_cv_prog_cxx_cross
6228
6229       cat > conftest.$ac_ext <<EOF
6230 #line 6231 "configure"
6231 #include "confdefs.h"
6232 #include <math.h>
6233 int main() {
6234  ceilf(0);
6235 ; return 0; }
6236 EOF
6237 if { (eval echo configure:6238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6238   rm -rf conftest*
6239   glibcpp_cv_func_ceilf_use=yes
6240 else
6241   echo "configure: failed program was:" >&5
6242   cat conftest.$ac_ext >&5
6243   rm -rf conftest*
6244   glibcpp_cv_func_ceilf_use=no
6245 fi
6246 rm -f conftest*
6247       ac_ext=c
6248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6249 ac_cpp='$CPP $CPPFLAGS'
6250 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6251 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6252 cross_compiling=$ac_cv_prog_cc_cross
6253
6254     
6255 fi
6256
6257   fi
6258   echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6259   if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6260     for ac_func in ceilf
6261 do
6262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6263 echo "configure:6264: checking for $ac_func" >&5
6264 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6265   echo $ac_n "(cached) $ac_c" 1>&6
6266 else
6267   cat > conftest.$ac_ext <<EOF
6268 #line 6269 "configure"
6269 #include "confdefs.h"
6270 /* System header to define __stub macros and hopefully few prototypes,
6271     which can conflict with char $ac_func(); below.  */
6272 #include <assert.h>
6273 /* Override any gcc2 internal prototype to avoid an error.  */
6274 /* We use char because int might match the return type of a gcc2
6275     builtin and then its argument prototype would still apply.  */
6276 char $ac_func();
6277
6278 int main() {
6279
6280 /* The GNU C library defines this for functions which it implements
6281     to always fail with ENOSYS.  Some functions are actually named
6282     something starting with __ and the normal name is an alias.  */
6283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6284 choke me
6285 #else
6286 $ac_func();
6287 #endif
6288
6289 ; return 0; }
6290 EOF
6291 if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6292   rm -rf conftest*
6293   eval "ac_cv_func_$ac_func=yes"
6294 else
6295   echo "configure: failed program was:" >&5
6296   cat conftest.$ac_ext >&5
6297   rm -rf conftest*
6298   eval "ac_cv_func_$ac_func=no"
6299 fi
6300 rm -f conftest*
6301 fi
6302
6303 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6304   echo "$ac_t""yes" 1>&6
6305     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6306   cat >> confdefs.h <<EOF
6307 #define $ac_tr_func 1
6308 EOF
6309  
6310 else
6311   echo "$ac_t""no" 1>&6
6312 fi
6313 done
6314     
6315   fi
6316
6317   
6318   echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6319 echo "configure:6320: checking for cosf declaration" >&5
6320   if test x${glibcpp_cv_func_cosf_use+set} != xset; then
6321     if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6322   echo $ac_n "(cached) $ac_c" 1>&6
6323 else
6324   
6325       
6326       ac_ext=C
6327 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6328 ac_cpp='$CXXCPP $CPPFLAGS'
6329 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6330 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6331 cross_compiling=$ac_cv_prog_cxx_cross
6332
6333       cat > conftest.$ac_ext <<EOF
6334 #line 6335 "configure"
6335 #include "confdefs.h"
6336 #include <math.h>
6337 int main() {
6338  cosf(0);
6339 ; return 0; }
6340 EOF
6341 if { (eval echo configure:6342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6342   rm -rf conftest*
6343   glibcpp_cv_func_cosf_use=yes
6344 else
6345   echo "configure: failed program was:" >&5
6346   cat conftest.$ac_ext >&5
6347   rm -rf conftest*
6348   glibcpp_cv_func_cosf_use=no
6349 fi
6350 rm -f conftest*
6351       ac_ext=c
6352 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6353 ac_cpp='$CPP $CPPFLAGS'
6354 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6355 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6356 cross_compiling=$ac_cv_prog_cc_cross
6357
6358     
6359 fi
6360
6361   fi
6362   echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6363   if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6364     for ac_func in cosf
6365 do
6366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6367 echo "configure:6368: checking for $ac_func" >&5
6368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6369   echo $ac_n "(cached) $ac_c" 1>&6
6370 else
6371   cat > conftest.$ac_ext <<EOF
6372 #line 6373 "configure"
6373 #include "confdefs.h"
6374 /* System header to define __stub macros and hopefully few prototypes,
6375     which can conflict with char $ac_func(); below.  */
6376 #include <assert.h>
6377 /* Override any gcc2 internal prototype to avoid an error.  */
6378 /* We use char because int might match the return type of a gcc2
6379     builtin and then its argument prototype would still apply.  */
6380 char $ac_func();
6381
6382 int main() {
6383
6384 /* The GNU C library defines this for functions which it implements
6385     to always fail with ENOSYS.  Some functions are actually named
6386     something starting with __ and the normal name is an alias.  */
6387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6388 choke me
6389 #else
6390 $ac_func();
6391 #endif
6392
6393 ; return 0; }
6394 EOF
6395 if { (eval echo configure:6396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6396   rm -rf conftest*
6397   eval "ac_cv_func_$ac_func=yes"
6398 else
6399   echo "configure: failed program was:" >&5
6400   cat conftest.$ac_ext >&5
6401   rm -rf conftest*
6402   eval "ac_cv_func_$ac_func=no"
6403 fi
6404 rm -f conftest*
6405 fi
6406
6407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6408   echo "$ac_t""yes" 1>&6
6409     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6410   cat >> confdefs.h <<EOF
6411 #define $ac_tr_func 1
6412 EOF
6413  
6414 else
6415   echo "$ac_t""no" 1>&6
6416 fi
6417 done
6418     
6419   fi
6420
6421   
6422   echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6423 echo "configure:6424: checking for coshf declaration" >&5
6424   if test x${glibcpp_cv_func_coshf_use+set} != xset; then
6425     if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6426   echo $ac_n "(cached) $ac_c" 1>&6
6427 else
6428   
6429       
6430       ac_ext=C
6431 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6432 ac_cpp='$CXXCPP $CPPFLAGS'
6433 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6434 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6435 cross_compiling=$ac_cv_prog_cxx_cross
6436
6437       cat > conftest.$ac_ext <<EOF
6438 #line 6439 "configure"
6439 #include "confdefs.h"
6440 #include <math.h>
6441 int main() {
6442  coshf(0);
6443 ; return 0; }
6444 EOF
6445 if { (eval echo configure:6446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6446   rm -rf conftest*
6447   glibcpp_cv_func_coshf_use=yes
6448 else
6449   echo "configure: failed program was:" >&5
6450   cat conftest.$ac_ext >&5
6451   rm -rf conftest*
6452   glibcpp_cv_func_coshf_use=no
6453 fi
6454 rm -f conftest*
6455       ac_ext=c
6456 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6457 ac_cpp='$CPP $CPPFLAGS'
6458 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6459 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6460 cross_compiling=$ac_cv_prog_cc_cross
6461
6462     
6463 fi
6464
6465   fi
6466   echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6467   if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6468     for ac_func in coshf
6469 do
6470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6471 echo "configure:6472: checking for $ac_func" >&5
6472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6473   echo $ac_n "(cached) $ac_c" 1>&6
6474 else
6475   cat > conftest.$ac_ext <<EOF
6476 #line 6477 "configure"
6477 #include "confdefs.h"
6478 /* System header to define __stub macros and hopefully few prototypes,
6479     which can conflict with char $ac_func(); below.  */
6480 #include <assert.h>
6481 /* Override any gcc2 internal prototype to avoid an error.  */
6482 /* We use char because int might match the return type of a gcc2
6483     builtin and then its argument prototype would still apply.  */
6484 char $ac_func();
6485
6486 int main() {
6487
6488 /* The GNU C library defines this for functions which it implements
6489     to always fail with ENOSYS.  Some functions are actually named
6490     something starting with __ and the normal name is an alias.  */
6491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6492 choke me
6493 #else
6494 $ac_func();
6495 #endif
6496
6497 ; return 0; }
6498 EOF
6499 if { (eval echo configure:6500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6500   rm -rf conftest*
6501   eval "ac_cv_func_$ac_func=yes"
6502 else
6503   echo "configure: failed program was:" >&5
6504   cat conftest.$ac_ext >&5
6505   rm -rf conftest*
6506   eval "ac_cv_func_$ac_func=no"
6507 fi
6508 rm -f conftest*
6509 fi
6510
6511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6512   echo "$ac_t""yes" 1>&6
6513     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6514   cat >> confdefs.h <<EOF
6515 #define $ac_tr_func 1
6516 EOF
6517  
6518 else
6519   echo "$ac_t""no" 1>&6
6520 fi
6521 done
6522     
6523   fi
6524
6525   
6526   echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6527 echo "configure:6528: checking for expf declaration" >&5
6528   if test x${glibcpp_cv_func_expf_use+set} != xset; then
6529     if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6530   echo $ac_n "(cached) $ac_c" 1>&6
6531 else
6532   
6533       
6534       ac_ext=C
6535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6536 ac_cpp='$CXXCPP $CPPFLAGS'
6537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6539 cross_compiling=$ac_cv_prog_cxx_cross
6540
6541       cat > conftest.$ac_ext <<EOF
6542 #line 6543 "configure"
6543 #include "confdefs.h"
6544 #include <math.h>
6545 int main() {
6546  expf(0);
6547 ; return 0; }
6548 EOF
6549 if { (eval echo configure:6550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6550   rm -rf conftest*
6551   glibcpp_cv_func_expf_use=yes
6552 else
6553   echo "configure: failed program was:" >&5
6554   cat conftest.$ac_ext >&5
6555   rm -rf conftest*
6556   glibcpp_cv_func_expf_use=no
6557 fi
6558 rm -f conftest*
6559       ac_ext=c
6560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6561 ac_cpp='$CPP $CPPFLAGS'
6562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6564 cross_compiling=$ac_cv_prog_cc_cross
6565
6566     
6567 fi
6568
6569   fi
6570   echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6571   if test x$glibcpp_cv_func_expf_use = x"yes"; then
6572     for ac_func in expf
6573 do
6574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6575 echo "configure:6576: checking for $ac_func" >&5
6576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6577   echo $ac_n "(cached) $ac_c" 1>&6
6578 else
6579   cat > conftest.$ac_ext <<EOF
6580 #line 6581 "configure"
6581 #include "confdefs.h"
6582 /* System header to define __stub macros and hopefully few prototypes,
6583     which can conflict with char $ac_func(); below.  */
6584 #include <assert.h>
6585 /* Override any gcc2 internal prototype to avoid an error.  */
6586 /* We use char because int might match the return type of a gcc2
6587     builtin and then its argument prototype would still apply.  */
6588 char $ac_func();
6589
6590 int main() {
6591
6592 /* The GNU C library defines this for functions which it implements
6593     to always fail with ENOSYS.  Some functions are actually named
6594     something starting with __ and the normal name is an alias.  */
6595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6596 choke me
6597 #else
6598 $ac_func();
6599 #endif
6600
6601 ; return 0; }
6602 EOF
6603 if { (eval echo configure:6604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6604   rm -rf conftest*
6605   eval "ac_cv_func_$ac_func=yes"
6606 else
6607   echo "configure: failed program was:" >&5
6608   cat conftest.$ac_ext >&5
6609   rm -rf conftest*
6610   eval "ac_cv_func_$ac_func=no"
6611 fi
6612 rm -f conftest*
6613 fi
6614
6615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6616   echo "$ac_t""yes" 1>&6
6617     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6618   cat >> confdefs.h <<EOF
6619 #define $ac_tr_func 1
6620 EOF
6621  
6622 else
6623   echo "$ac_t""no" 1>&6
6624 fi
6625 done
6626     
6627   fi
6628
6629   
6630   echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6631 echo "configure:6632: checking for fabsf declaration" >&5
6632   if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
6633     if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6634   echo $ac_n "(cached) $ac_c" 1>&6
6635 else
6636   
6637       
6638       ac_ext=C
6639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6640 ac_cpp='$CXXCPP $CPPFLAGS'
6641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6643 cross_compiling=$ac_cv_prog_cxx_cross
6644
6645       cat > conftest.$ac_ext <<EOF
6646 #line 6647 "configure"
6647 #include "confdefs.h"
6648 #include <math.h>
6649 int main() {
6650  fabsf(0);
6651 ; return 0; }
6652 EOF
6653 if { (eval echo configure:6654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6654   rm -rf conftest*
6655   glibcpp_cv_func_fabsf_use=yes
6656 else
6657   echo "configure: failed program was:" >&5
6658   cat conftest.$ac_ext >&5
6659   rm -rf conftest*
6660   glibcpp_cv_func_fabsf_use=no
6661 fi
6662 rm -f conftest*
6663       ac_ext=c
6664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6665 ac_cpp='$CPP $CPPFLAGS'
6666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6668 cross_compiling=$ac_cv_prog_cc_cross
6669
6670     
6671 fi
6672
6673   fi
6674   echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6675   if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6676     for ac_func in fabsf
6677 do
6678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6679 echo "configure:6680: checking for $ac_func" >&5
6680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6681   echo $ac_n "(cached) $ac_c" 1>&6
6682 else
6683   cat > conftest.$ac_ext <<EOF
6684 #line 6685 "configure"
6685 #include "confdefs.h"
6686 /* System header to define __stub macros and hopefully few prototypes,
6687     which can conflict with char $ac_func(); below.  */
6688 #include <assert.h>
6689 /* Override any gcc2 internal prototype to avoid an error.  */
6690 /* We use char because int might match the return type of a gcc2
6691     builtin and then its argument prototype would still apply.  */
6692 char $ac_func();
6693
6694 int main() {
6695
6696 /* The GNU C library defines this for functions which it implements
6697     to always fail with ENOSYS.  Some functions are actually named
6698     something starting with __ and the normal name is an alias.  */
6699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6700 choke me
6701 #else
6702 $ac_func();
6703 #endif
6704
6705 ; return 0; }
6706 EOF
6707 if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6708   rm -rf conftest*
6709   eval "ac_cv_func_$ac_func=yes"
6710 else
6711   echo "configure: failed program was:" >&5
6712   cat conftest.$ac_ext >&5
6713   rm -rf conftest*
6714   eval "ac_cv_func_$ac_func=no"
6715 fi
6716 rm -f conftest*
6717 fi
6718
6719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6720   echo "$ac_t""yes" 1>&6
6721     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6722   cat >> confdefs.h <<EOF
6723 #define $ac_tr_func 1
6724 EOF
6725  
6726 else
6727   echo "$ac_t""no" 1>&6
6728 fi
6729 done
6730     
6731   fi
6732
6733   
6734   echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6735 echo "configure:6736: checking for floorf declaration" >&5
6736   if test x${glibcpp_cv_func_floorf_use+set} != xset; then
6737     if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6738   echo $ac_n "(cached) $ac_c" 1>&6
6739 else
6740   
6741       
6742       ac_ext=C
6743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6744 ac_cpp='$CXXCPP $CPPFLAGS'
6745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6747 cross_compiling=$ac_cv_prog_cxx_cross
6748
6749       cat > conftest.$ac_ext <<EOF
6750 #line 6751 "configure"
6751 #include "confdefs.h"
6752 #include <math.h>
6753 int main() {
6754  floorf(0);
6755 ; return 0; }
6756 EOF
6757 if { (eval echo configure:6758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6758   rm -rf conftest*
6759   glibcpp_cv_func_floorf_use=yes
6760 else
6761   echo "configure: failed program was:" >&5
6762   cat conftest.$ac_ext >&5
6763   rm -rf conftest*
6764   glibcpp_cv_func_floorf_use=no
6765 fi
6766 rm -f conftest*
6767       ac_ext=c
6768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6769 ac_cpp='$CPP $CPPFLAGS'
6770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6772 cross_compiling=$ac_cv_prog_cc_cross
6773
6774     
6775 fi
6776
6777   fi
6778   echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6779   if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6780     for ac_func in floorf
6781 do
6782 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6783 echo "configure:6784: checking for $ac_func" >&5
6784 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6785   echo $ac_n "(cached) $ac_c" 1>&6
6786 else
6787   cat > conftest.$ac_ext <<EOF
6788 #line 6789 "configure"
6789 #include "confdefs.h"
6790 /* System header to define __stub macros and hopefully few prototypes,
6791     which can conflict with char $ac_func(); below.  */
6792 #include <assert.h>
6793 /* Override any gcc2 internal prototype to avoid an error.  */
6794 /* We use char because int might match the return type of a gcc2
6795     builtin and then its argument prototype would still apply.  */
6796 char $ac_func();
6797
6798 int main() {
6799
6800 /* The GNU C library defines this for functions which it implements
6801     to always fail with ENOSYS.  Some functions are actually named
6802     something starting with __ and the normal name is an alias.  */
6803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6804 choke me
6805 #else
6806 $ac_func();
6807 #endif
6808
6809 ; return 0; }
6810 EOF
6811 if { (eval echo configure:6812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6812   rm -rf conftest*
6813   eval "ac_cv_func_$ac_func=yes"
6814 else
6815   echo "configure: failed program was:" >&5
6816   cat conftest.$ac_ext >&5
6817   rm -rf conftest*
6818   eval "ac_cv_func_$ac_func=no"
6819 fi
6820 rm -f conftest*
6821 fi
6822
6823 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6824   echo "$ac_t""yes" 1>&6
6825     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6826   cat >> confdefs.h <<EOF
6827 #define $ac_tr_func 1
6828 EOF
6829  
6830 else
6831   echo "$ac_t""no" 1>&6
6832 fi
6833 done
6834     
6835   fi
6836
6837   
6838   echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6839 echo "configure:6840: checking for fmodf declaration" >&5
6840   if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
6841     if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6842   echo $ac_n "(cached) $ac_c" 1>&6
6843 else
6844   
6845       
6846       ac_ext=C
6847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6848 ac_cpp='$CXXCPP $CPPFLAGS'
6849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6851 cross_compiling=$ac_cv_prog_cxx_cross
6852
6853       cat > conftest.$ac_ext <<EOF
6854 #line 6855 "configure"
6855 #include "confdefs.h"
6856 #include <math.h>
6857 int main() {
6858  fmodf(0, 0);
6859 ; return 0; }
6860 EOF
6861 if { (eval echo configure:6862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6862   rm -rf conftest*
6863   glibcpp_cv_func_fmodf_use=yes
6864 else
6865   echo "configure: failed program was:" >&5
6866   cat conftest.$ac_ext >&5
6867   rm -rf conftest*
6868   glibcpp_cv_func_fmodf_use=no
6869 fi
6870 rm -f conftest*
6871       ac_ext=c
6872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6873 ac_cpp='$CPP $CPPFLAGS'
6874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6876 cross_compiling=$ac_cv_prog_cc_cross
6877
6878     
6879 fi
6880
6881   fi
6882   echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6883   if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6884     for ac_func in fmodf
6885 do
6886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6887 echo "configure:6888: checking for $ac_func" >&5
6888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6889   echo $ac_n "(cached) $ac_c" 1>&6
6890 else
6891   cat > conftest.$ac_ext <<EOF
6892 #line 6893 "configure"
6893 #include "confdefs.h"
6894 /* System header to define __stub macros and hopefully few prototypes,
6895     which can conflict with char $ac_func(); below.  */
6896 #include <assert.h>
6897 /* Override any gcc2 internal prototype to avoid an error.  */
6898 /* We use char because int might match the return type of a gcc2
6899     builtin and then its argument prototype would still apply.  */
6900 char $ac_func();
6901
6902 int main() {
6903
6904 /* The GNU C library defines this for functions which it implements
6905     to always fail with ENOSYS.  Some functions are actually named
6906     something starting with __ and the normal name is an alias.  */
6907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6908 choke me
6909 #else
6910 $ac_func();
6911 #endif
6912
6913 ; return 0; }
6914 EOF
6915 if { (eval echo configure:6916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6916   rm -rf conftest*
6917   eval "ac_cv_func_$ac_func=yes"
6918 else
6919   echo "configure: failed program was:" >&5
6920   cat conftest.$ac_ext >&5
6921   rm -rf conftest*
6922   eval "ac_cv_func_$ac_func=no"
6923 fi
6924 rm -f conftest*
6925 fi
6926
6927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6928   echo "$ac_t""yes" 1>&6
6929     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6930   cat >> confdefs.h <<EOF
6931 #define $ac_tr_func 1
6932 EOF
6933  
6934 else
6935   echo "$ac_t""no" 1>&6
6936 fi
6937 done
6938     
6939   fi
6940
6941   
6942   echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6943 echo "configure:6944: checking for frexpf declaration" >&5
6944   if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
6945     if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6946   echo $ac_n "(cached) $ac_c" 1>&6
6947 else
6948   
6949       
6950       ac_ext=C
6951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6952 ac_cpp='$CXXCPP $CPPFLAGS'
6953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6955 cross_compiling=$ac_cv_prog_cxx_cross
6956
6957       cat > conftest.$ac_ext <<EOF
6958 #line 6959 "configure"
6959 #include "confdefs.h"
6960 #include <math.h>
6961 int main() {
6962  frexpf(0, 0);
6963 ; return 0; }
6964 EOF
6965 if { (eval echo configure:6966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6966   rm -rf conftest*
6967   glibcpp_cv_func_frexpf_use=yes
6968 else
6969   echo "configure: failed program was:" >&5
6970   cat conftest.$ac_ext >&5
6971   rm -rf conftest*
6972   glibcpp_cv_func_frexpf_use=no
6973 fi
6974 rm -f conftest*
6975       ac_ext=c
6976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6977 ac_cpp='$CPP $CPPFLAGS'
6978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6980 cross_compiling=$ac_cv_prog_cc_cross
6981
6982     
6983 fi
6984
6985   fi
6986   echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6987   if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6988     for ac_func in frexpf
6989 do
6990 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6991 echo "configure:6992: checking for $ac_func" >&5
6992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6993   echo $ac_n "(cached) $ac_c" 1>&6
6994 else
6995   cat > conftest.$ac_ext <<EOF
6996 #line 6997 "configure"
6997 #include "confdefs.h"
6998 /* System header to define __stub macros and hopefully few prototypes,
6999     which can conflict with char $ac_func(); below.  */
7000 #include <assert.h>
7001 /* Override any gcc2 internal prototype to avoid an error.  */
7002 /* We use char because int might match the return type of a gcc2
7003     builtin and then its argument prototype would still apply.  */
7004 char $ac_func();
7005
7006 int main() {
7007
7008 /* The GNU C library defines this for functions which it implements
7009     to always fail with ENOSYS.  Some functions are actually named
7010     something starting with __ and the normal name is an alias.  */
7011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7012 choke me
7013 #else
7014 $ac_func();
7015 #endif
7016
7017 ; return 0; }
7018 EOF
7019 if { (eval echo configure:7020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7020   rm -rf conftest*
7021   eval "ac_cv_func_$ac_func=yes"
7022 else
7023   echo "configure: failed program was:" >&5
7024   cat conftest.$ac_ext >&5
7025   rm -rf conftest*
7026   eval "ac_cv_func_$ac_func=no"
7027 fi
7028 rm -f conftest*
7029 fi
7030
7031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7032   echo "$ac_t""yes" 1>&6
7033     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7034   cat >> confdefs.h <<EOF
7035 #define $ac_tr_func 1
7036 EOF
7037  
7038 else
7039   echo "$ac_t""no" 1>&6
7040 fi
7041 done
7042     
7043   fi
7044
7045   
7046   echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
7047 echo "configure:7048: checking for ldexpf declaration" >&5
7048   if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
7049     if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
7050   echo $ac_n "(cached) $ac_c" 1>&6
7051 else
7052   
7053       
7054       ac_ext=C
7055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7056 ac_cpp='$CXXCPP $CPPFLAGS'
7057 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7058 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7059 cross_compiling=$ac_cv_prog_cxx_cross
7060
7061       cat > conftest.$ac_ext <<EOF
7062 #line 7063 "configure"
7063 #include "confdefs.h"
7064 #include <math.h>
7065 int main() {
7066  ldexpf(0, 0);
7067 ; return 0; }
7068 EOF
7069 if { (eval echo configure:7070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7070   rm -rf conftest*
7071   glibcpp_cv_func_ldexpf_use=yes
7072 else
7073   echo "configure: failed program was:" >&5
7074   cat conftest.$ac_ext >&5
7075   rm -rf conftest*
7076   glibcpp_cv_func_ldexpf_use=no
7077 fi
7078 rm -f conftest*
7079       ac_ext=c
7080 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7081 ac_cpp='$CPP $CPPFLAGS'
7082 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7083 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7084 cross_compiling=$ac_cv_prog_cc_cross
7085
7086     
7087 fi
7088
7089   fi
7090   echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
7091   if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
7092     for ac_func in ldexpf
7093 do
7094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7095 echo "configure:7096: checking for $ac_func" >&5
7096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7097   echo $ac_n "(cached) $ac_c" 1>&6
7098 else
7099   cat > conftest.$ac_ext <<EOF
7100 #line 7101 "configure"
7101 #include "confdefs.h"
7102 /* System header to define __stub macros and hopefully few prototypes,
7103     which can conflict with char $ac_func(); below.  */
7104 #include <assert.h>
7105 /* Override any gcc2 internal prototype to avoid an error.  */
7106 /* We use char because int might match the return type of a gcc2
7107     builtin and then its argument prototype would still apply.  */
7108 char $ac_func();
7109
7110 int main() {
7111
7112 /* The GNU C library defines this for functions which it implements
7113     to always fail with ENOSYS.  Some functions are actually named
7114     something starting with __ and the normal name is an alias.  */
7115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7116 choke me
7117 #else
7118 $ac_func();
7119 #endif
7120
7121 ; return 0; }
7122 EOF
7123 if { (eval echo configure:7124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7124   rm -rf conftest*
7125   eval "ac_cv_func_$ac_func=yes"
7126 else
7127   echo "configure: failed program was:" >&5
7128   cat conftest.$ac_ext >&5
7129   rm -rf conftest*
7130   eval "ac_cv_func_$ac_func=no"
7131 fi
7132 rm -f conftest*
7133 fi
7134
7135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7136   echo "$ac_t""yes" 1>&6
7137     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7138   cat >> confdefs.h <<EOF
7139 #define $ac_tr_func 1
7140 EOF
7141  
7142 else
7143   echo "$ac_t""no" 1>&6
7144 fi
7145 done
7146     
7147   fi
7148
7149   
7150   echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7151 echo "configure:7152: checking for logf declaration" >&5
7152   if test x${glibcpp_cv_func_logf_use+set} != xset; then
7153     if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7154   echo $ac_n "(cached) $ac_c" 1>&6
7155 else
7156   
7157       
7158       ac_ext=C
7159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7160 ac_cpp='$CXXCPP $CPPFLAGS'
7161 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7162 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7163 cross_compiling=$ac_cv_prog_cxx_cross
7164
7165       cat > conftest.$ac_ext <<EOF
7166 #line 7167 "configure"
7167 #include "confdefs.h"
7168 #include <math.h>
7169 int main() {
7170  logf(0);
7171 ; return 0; }
7172 EOF
7173 if { (eval echo configure:7174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7174   rm -rf conftest*
7175   glibcpp_cv_func_logf_use=yes
7176 else
7177   echo "configure: failed program was:" >&5
7178   cat conftest.$ac_ext >&5
7179   rm -rf conftest*
7180   glibcpp_cv_func_logf_use=no
7181 fi
7182 rm -f conftest*
7183       ac_ext=c
7184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7185 ac_cpp='$CPP $CPPFLAGS'
7186 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7187 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7188 cross_compiling=$ac_cv_prog_cc_cross
7189
7190     
7191 fi
7192
7193   fi
7194   echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7195   if test x$glibcpp_cv_func_logf_use = x"yes"; then
7196     for ac_func in logf
7197 do
7198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7199 echo "configure:7200: checking for $ac_func" >&5
7200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7201   echo $ac_n "(cached) $ac_c" 1>&6
7202 else
7203   cat > conftest.$ac_ext <<EOF
7204 #line 7205 "configure"
7205 #include "confdefs.h"
7206 /* System header to define __stub macros and hopefully few prototypes,
7207     which can conflict with char $ac_func(); below.  */
7208 #include <assert.h>
7209 /* Override any gcc2 internal prototype to avoid an error.  */
7210 /* We use char because int might match the return type of a gcc2
7211     builtin and then its argument prototype would still apply.  */
7212 char $ac_func();
7213
7214 int main() {
7215
7216 /* The GNU C library defines this for functions which it implements
7217     to always fail with ENOSYS.  Some functions are actually named
7218     something starting with __ and the normal name is an alias.  */
7219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7220 choke me
7221 #else
7222 $ac_func();
7223 #endif
7224
7225 ; return 0; }
7226 EOF
7227 if { (eval echo configure:7228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7228   rm -rf conftest*
7229   eval "ac_cv_func_$ac_func=yes"
7230 else
7231   echo "configure: failed program was:" >&5
7232   cat conftest.$ac_ext >&5
7233   rm -rf conftest*
7234   eval "ac_cv_func_$ac_func=no"
7235 fi
7236 rm -f conftest*
7237 fi
7238
7239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7240   echo "$ac_t""yes" 1>&6
7241     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7242   cat >> confdefs.h <<EOF
7243 #define $ac_tr_func 1
7244 EOF
7245  
7246 else
7247   echo "$ac_t""no" 1>&6
7248 fi
7249 done
7250     
7251   fi
7252
7253   
7254   echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7255 echo "configure:7256: checking for log10f declaration" >&5
7256   if test x${glibcpp_cv_func_log10f_use+set} != xset; then
7257     if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7258   echo $ac_n "(cached) $ac_c" 1>&6
7259 else
7260   
7261       
7262       ac_ext=C
7263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7264 ac_cpp='$CXXCPP $CPPFLAGS'
7265 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7266 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7267 cross_compiling=$ac_cv_prog_cxx_cross
7268
7269       cat > conftest.$ac_ext <<EOF
7270 #line 7271 "configure"
7271 #include "confdefs.h"
7272 #include <math.h>
7273 int main() {
7274  log10f(0);
7275 ; return 0; }
7276 EOF
7277 if { (eval echo configure:7278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7278   rm -rf conftest*
7279   glibcpp_cv_func_log10f_use=yes
7280 else
7281   echo "configure: failed program was:" >&5
7282   cat conftest.$ac_ext >&5
7283   rm -rf conftest*
7284   glibcpp_cv_func_log10f_use=no
7285 fi
7286 rm -f conftest*
7287       ac_ext=c
7288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7289 ac_cpp='$CPP $CPPFLAGS'
7290 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7291 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7292 cross_compiling=$ac_cv_prog_cc_cross
7293
7294     
7295 fi
7296
7297   fi
7298   echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7299   if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7300     for ac_func in log10f
7301 do
7302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7303 echo "configure:7304: checking for $ac_func" >&5
7304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7305   echo $ac_n "(cached) $ac_c" 1>&6
7306 else
7307   cat > conftest.$ac_ext <<EOF
7308 #line 7309 "configure"
7309 #include "confdefs.h"
7310 /* System header to define __stub macros and hopefully few prototypes,
7311     which can conflict with char $ac_func(); below.  */
7312 #include <assert.h>
7313 /* Override any gcc2 internal prototype to avoid an error.  */
7314 /* We use char because int might match the return type of a gcc2
7315     builtin and then its argument prototype would still apply.  */
7316 char $ac_func();
7317
7318 int main() {
7319
7320 /* The GNU C library defines this for functions which it implements
7321     to always fail with ENOSYS.  Some functions are actually named
7322     something starting with __ and the normal name is an alias.  */
7323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7324 choke me
7325 #else
7326 $ac_func();
7327 #endif
7328
7329 ; return 0; }
7330 EOF
7331 if { (eval echo configure:7332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7332   rm -rf conftest*
7333   eval "ac_cv_func_$ac_func=yes"
7334 else
7335   echo "configure: failed program was:" >&5
7336   cat conftest.$ac_ext >&5
7337   rm -rf conftest*
7338   eval "ac_cv_func_$ac_func=no"
7339 fi
7340 rm -f conftest*
7341 fi
7342
7343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7344   echo "$ac_t""yes" 1>&6
7345     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7346   cat >> confdefs.h <<EOF
7347 #define $ac_tr_func 1
7348 EOF
7349  
7350 else
7351   echo "$ac_t""no" 1>&6
7352 fi
7353 done
7354     
7355   fi
7356
7357   
7358   echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7359 echo "configure:7360: checking for modff declaration" >&5
7360   if test x${glibcpp_cv_func_modff_use+set} != xset; then
7361     if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7362   echo $ac_n "(cached) $ac_c" 1>&6
7363 else
7364   
7365       
7366       ac_ext=C
7367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7368 ac_cpp='$CXXCPP $CPPFLAGS'
7369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7371 cross_compiling=$ac_cv_prog_cxx_cross
7372
7373       cat > conftest.$ac_ext <<EOF
7374 #line 7375 "configure"
7375 #include "confdefs.h"
7376 #include <math.h>
7377 int main() {
7378  modff(0, 0);
7379 ; return 0; }
7380 EOF
7381 if { (eval echo configure:7382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7382   rm -rf conftest*
7383   glibcpp_cv_func_modff_use=yes
7384 else
7385   echo "configure: failed program was:" >&5
7386   cat conftest.$ac_ext >&5
7387   rm -rf conftest*
7388   glibcpp_cv_func_modff_use=no
7389 fi
7390 rm -f conftest*
7391       ac_ext=c
7392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7393 ac_cpp='$CPP $CPPFLAGS'
7394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7396 cross_compiling=$ac_cv_prog_cc_cross
7397
7398     
7399 fi
7400
7401   fi
7402   echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7403   if test x$glibcpp_cv_func_modff_use = x"yes"; then
7404     for ac_func in modff
7405 do
7406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7407 echo "configure:7408: checking for $ac_func" >&5
7408 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7409   echo $ac_n "(cached) $ac_c" 1>&6
7410 else
7411   cat > conftest.$ac_ext <<EOF
7412 #line 7413 "configure"
7413 #include "confdefs.h"
7414 /* System header to define __stub macros and hopefully few prototypes,
7415     which can conflict with char $ac_func(); below.  */
7416 #include <assert.h>
7417 /* Override any gcc2 internal prototype to avoid an error.  */
7418 /* We use char because int might match the return type of a gcc2
7419     builtin and then its argument prototype would still apply.  */
7420 char $ac_func();
7421
7422 int main() {
7423
7424 /* The GNU C library defines this for functions which it implements
7425     to always fail with ENOSYS.  Some functions are actually named
7426     something starting with __ and the normal name is an alias.  */
7427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7428 choke me
7429 #else
7430 $ac_func();
7431 #endif
7432
7433 ; return 0; }
7434 EOF
7435 if { (eval echo configure:7436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7436   rm -rf conftest*
7437   eval "ac_cv_func_$ac_func=yes"
7438 else
7439   echo "configure: failed program was:" >&5
7440   cat conftest.$ac_ext >&5
7441   rm -rf conftest*
7442   eval "ac_cv_func_$ac_func=no"
7443 fi
7444 rm -f conftest*
7445 fi
7446
7447 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7448   echo "$ac_t""yes" 1>&6
7449     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7450   cat >> confdefs.h <<EOF
7451 #define $ac_tr_func 1
7452 EOF
7453  
7454 else
7455   echo "$ac_t""no" 1>&6
7456 fi
7457 done
7458     
7459   fi
7460
7461   
7462   echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7463 echo "configure:7464: checking for powf declaration" >&5
7464   if test x${glibcpp_cv_func_powf_use+set} != xset; then
7465     if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7466   echo $ac_n "(cached) $ac_c" 1>&6
7467 else
7468   
7469       
7470       ac_ext=C
7471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7472 ac_cpp='$CXXCPP $CPPFLAGS'
7473 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7474 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7475 cross_compiling=$ac_cv_prog_cxx_cross
7476
7477       cat > conftest.$ac_ext <<EOF
7478 #line 7479 "configure"
7479 #include "confdefs.h"
7480 #include <math.h>
7481 int main() {
7482  powf(0, 0);
7483 ; return 0; }
7484 EOF
7485 if { (eval echo configure:7486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7486   rm -rf conftest*
7487   glibcpp_cv_func_powf_use=yes
7488 else
7489   echo "configure: failed program was:" >&5
7490   cat conftest.$ac_ext >&5
7491   rm -rf conftest*
7492   glibcpp_cv_func_powf_use=no
7493 fi
7494 rm -f conftest*
7495       ac_ext=c
7496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7497 ac_cpp='$CPP $CPPFLAGS'
7498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7500 cross_compiling=$ac_cv_prog_cc_cross
7501
7502     
7503 fi
7504
7505   fi
7506   echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7507   if test x$glibcpp_cv_func_powf_use = x"yes"; then
7508     for ac_func in powf
7509 do
7510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7511 echo "configure:7512: checking for $ac_func" >&5
7512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7513   echo $ac_n "(cached) $ac_c" 1>&6
7514 else
7515   cat > conftest.$ac_ext <<EOF
7516 #line 7517 "configure"
7517 #include "confdefs.h"
7518 /* System header to define __stub macros and hopefully few prototypes,
7519     which can conflict with char $ac_func(); below.  */
7520 #include <assert.h>
7521 /* Override any gcc2 internal prototype to avoid an error.  */
7522 /* We use char because int might match the return type of a gcc2
7523     builtin and then its argument prototype would still apply.  */
7524 char $ac_func();
7525
7526 int main() {
7527
7528 /* The GNU C library defines this for functions which it implements
7529     to always fail with ENOSYS.  Some functions are actually named
7530     something starting with __ and the normal name is an alias.  */
7531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7532 choke me
7533 #else
7534 $ac_func();
7535 #endif
7536
7537 ; return 0; }
7538 EOF
7539 if { (eval echo configure:7540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7540   rm -rf conftest*
7541   eval "ac_cv_func_$ac_func=yes"
7542 else
7543   echo "configure: failed program was:" >&5
7544   cat conftest.$ac_ext >&5
7545   rm -rf conftest*
7546   eval "ac_cv_func_$ac_func=no"
7547 fi
7548 rm -f conftest*
7549 fi
7550
7551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7552   echo "$ac_t""yes" 1>&6
7553     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7554   cat >> confdefs.h <<EOF
7555 #define $ac_tr_func 1
7556 EOF
7557  
7558 else
7559   echo "$ac_t""no" 1>&6
7560 fi
7561 done
7562     
7563   fi
7564
7565   
7566   echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7567 echo "configure:7568: checking for sinf declaration" >&5
7568   if test x${glibcpp_cv_func_sinf_use+set} != xset; then
7569     if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7570   echo $ac_n "(cached) $ac_c" 1>&6
7571 else
7572   
7573       
7574       ac_ext=C
7575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7576 ac_cpp='$CXXCPP $CPPFLAGS'
7577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7579 cross_compiling=$ac_cv_prog_cxx_cross
7580
7581       cat > conftest.$ac_ext <<EOF
7582 #line 7583 "configure"
7583 #include "confdefs.h"
7584 #include <math.h>
7585 int main() {
7586  sinf(0);
7587 ; return 0; }
7588 EOF
7589 if { (eval echo configure:7590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7590   rm -rf conftest*
7591   glibcpp_cv_func_sinf_use=yes
7592 else
7593   echo "configure: failed program was:" >&5
7594   cat conftest.$ac_ext >&5
7595   rm -rf conftest*
7596   glibcpp_cv_func_sinf_use=no
7597 fi
7598 rm -f conftest*
7599       ac_ext=c
7600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7601 ac_cpp='$CPP $CPPFLAGS'
7602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7604 cross_compiling=$ac_cv_prog_cc_cross
7605
7606     
7607 fi
7608
7609   fi
7610   echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7611   if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7612     for ac_func in sinf
7613 do
7614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7615 echo "configure:7616: checking for $ac_func" >&5
7616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7617   echo $ac_n "(cached) $ac_c" 1>&6
7618 else
7619   cat > conftest.$ac_ext <<EOF
7620 #line 7621 "configure"
7621 #include "confdefs.h"
7622 /* System header to define __stub macros and hopefully few prototypes,
7623     which can conflict with char $ac_func(); below.  */
7624 #include <assert.h>
7625 /* Override any gcc2 internal prototype to avoid an error.  */
7626 /* We use char because int might match the return type of a gcc2
7627     builtin and then its argument prototype would still apply.  */
7628 char $ac_func();
7629
7630 int main() {
7631
7632 /* The GNU C library defines this for functions which it implements
7633     to always fail with ENOSYS.  Some functions are actually named
7634     something starting with __ and the normal name is an alias.  */
7635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7636 choke me
7637 #else
7638 $ac_func();
7639 #endif
7640
7641 ; return 0; }
7642 EOF
7643 if { (eval echo configure:7644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7644   rm -rf conftest*
7645   eval "ac_cv_func_$ac_func=yes"
7646 else
7647   echo "configure: failed program was:" >&5
7648   cat conftest.$ac_ext >&5
7649   rm -rf conftest*
7650   eval "ac_cv_func_$ac_func=no"
7651 fi
7652 rm -f conftest*
7653 fi
7654
7655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7656   echo "$ac_t""yes" 1>&6
7657     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7658   cat >> confdefs.h <<EOF
7659 #define $ac_tr_func 1
7660 EOF
7661  
7662 else
7663   echo "$ac_t""no" 1>&6
7664 fi
7665 done
7666     
7667   fi
7668
7669   
7670   echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7671 echo "configure:7672: checking for sinhf declaration" >&5
7672   if test x${glibcpp_cv_func_sinhf_use+set} != xset; then
7673     if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7674   echo $ac_n "(cached) $ac_c" 1>&6
7675 else
7676   
7677       
7678       ac_ext=C
7679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7680 ac_cpp='$CXXCPP $CPPFLAGS'
7681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7683 cross_compiling=$ac_cv_prog_cxx_cross
7684
7685       cat > conftest.$ac_ext <<EOF
7686 #line 7687 "configure"
7687 #include "confdefs.h"
7688 #include <math.h>
7689 int main() {
7690  sinhf(0);
7691 ; return 0; }
7692 EOF
7693 if { (eval echo configure:7694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7694   rm -rf conftest*
7695   glibcpp_cv_func_sinhf_use=yes
7696 else
7697   echo "configure: failed program was:" >&5
7698   cat conftest.$ac_ext >&5
7699   rm -rf conftest*
7700   glibcpp_cv_func_sinhf_use=no
7701 fi
7702 rm -f conftest*
7703       ac_ext=c
7704 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7705 ac_cpp='$CPP $CPPFLAGS'
7706 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7707 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7708 cross_compiling=$ac_cv_prog_cc_cross
7709
7710     
7711 fi
7712
7713   fi
7714   echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7715   if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7716     for ac_func in sinhf
7717 do
7718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7719 echo "configure:7720: checking for $ac_func" >&5
7720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7721   echo $ac_n "(cached) $ac_c" 1>&6
7722 else
7723   cat > conftest.$ac_ext <<EOF
7724 #line 7725 "configure"
7725 #include "confdefs.h"
7726 /* System header to define __stub macros and hopefully few prototypes,
7727     which can conflict with char $ac_func(); below.  */
7728 #include <assert.h>
7729 /* Override any gcc2 internal prototype to avoid an error.  */
7730 /* We use char because int might match the return type of a gcc2
7731     builtin and then its argument prototype would still apply.  */
7732 char $ac_func();
7733
7734 int main() {
7735
7736 /* The GNU C library defines this for functions which it implements
7737     to always fail with ENOSYS.  Some functions are actually named
7738     something starting with __ and the normal name is an alias.  */
7739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7740 choke me
7741 #else
7742 $ac_func();
7743 #endif
7744
7745 ; return 0; }
7746 EOF
7747 if { (eval echo configure:7748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7748   rm -rf conftest*
7749   eval "ac_cv_func_$ac_func=yes"
7750 else
7751   echo "configure: failed program was:" >&5
7752   cat conftest.$ac_ext >&5
7753   rm -rf conftest*
7754   eval "ac_cv_func_$ac_func=no"
7755 fi
7756 rm -f conftest*
7757 fi
7758
7759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7760   echo "$ac_t""yes" 1>&6
7761     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7762   cat >> confdefs.h <<EOF
7763 #define $ac_tr_func 1
7764 EOF
7765  
7766 else
7767   echo "$ac_t""no" 1>&6
7768 fi
7769 done
7770     
7771   fi
7772
7773   
7774   echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7775 echo "configure:7776: checking for sqrtf declaration" >&5
7776   if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
7777     if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7778   echo $ac_n "(cached) $ac_c" 1>&6
7779 else
7780   
7781       
7782       ac_ext=C
7783 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7784 ac_cpp='$CXXCPP $CPPFLAGS'
7785 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7786 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7787 cross_compiling=$ac_cv_prog_cxx_cross
7788
7789       cat > conftest.$ac_ext <<EOF
7790 #line 7791 "configure"
7791 #include "confdefs.h"
7792 #include <math.h>
7793 int main() {
7794  sqrtf(0);
7795 ; return 0; }
7796 EOF
7797 if { (eval echo configure:7798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7798   rm -rf conftest*
7799   glibcpp_cv_func_sqrtf_use=yes
7800 else
7801   echo "configure: failed program was:" >&5
7802   cat conftest.$ac_ext >&5
7803   rm -rf conftest*
7804   glibcpp_cv_func_sqrtf_use=no
7805 fi
7806 rm -f conftest*
7807       ac_ext=c
7808 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7809 ac_cpp='$CPP $CPPFLAGS'
7810 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7811 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7812 cross_compiling=$ac_cv_prog_cc_cross
7813
7814     
7815 fi
7816
7817   fi
7818   echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7819   if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7820     for ac_func in sqrtf
7821 do
7822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7823 echo "configure:7824: checking for $ac_func" >&5
7824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7825   echo $ac_n "(cached) $ac_c" 1>&6
7826 else
7827   cat > conftest.$ac_ext <<EOF
7828 #line 7829 "configure"
7829 #include "confdefs.h"
7830 /* System header to define __stub macros and hopefully few prototypes,
7831     which can conflict with char $ac_func(); below.  */
7832 #include <assert.h>
7833 /* Override any gcc2 internal prototype to avoid an error.  */
7834 /* We use char because int might match the return type of a gcc2
7835     builtin and then its argument prototype would still apply.  */
7836 char $ac_func();
7837
7838 int main() {
7839
7840 /* The GNU C library defines this for functions which it implements
7841     to always fail with ENOSYS.  Some functions are actually named
7842     something starting with __ and the normal name is an alias.  */
7843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7844 choke me
7845 #else
7846 $ac_func();
7847 #endif
7848
7849 ; return 0; }
7850 EOF
7851 if { (eval echo configure:7852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7852   rm -rf conftest*
7853   eval "ac_cv_func_$ac_func=yes"
7854 else
7855   echo "configure: failed program was:" >&5
7856   cat conftest.$ac_ext >&5
7857   rm -rf conftest*
7858   eval "ac_cv_func_$ac_func=no"
7859 fi
7860 rm -f conftest*
7861 fi
7862
7863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7864   echo "$ac_t""yes" 1>&6
7865     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7866   cat >> confdefs.h <<EOF
7867 #define $ac_tr_func 1
7868 EOF
7869  
7870 else
7871   echo "$ac_t""no" 1>&6
7872 fi
7873 done
7874     
7875   fi
7876
7877   
7878   echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7879 echo "configure:7880: checking for tanf declaration" >&5
7880   if test x${glibcpp_cv_func_tanf_use+set} != xset; then
7881     if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7882   echo $ac_n "(cached) $ac_c" 1>&6
7883 else
7884   
7885       
7886       ac_ext=C
7887 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7888 ac_cpp='$CXXCPP $CPPFLAGS'
7889 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7890 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7891 cross_compiling=$ac_cv_prog_cxx_cross
7892
7893       cat > conftest.$ac_ext <<EOF
7894 #line 7895 "configure"
7895 #include "confdefs.h"
7896 #include <math.h>
7897 int main() {
7898  tanf(0);
7899 ; return 0; }
7900 EOF
7901 if { (eval echo configure:7902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7902   rm -rf conftest*
7903   glibcpp_cv_func_tanf_use=yes
7904 else
7905   echo "configure: failed program was:" >&5
7906   cat conftest.$ac_ext >&5
7907   rm -rf conftest*
7908   glibcpp_cv_func_tanf_use=no
7909 fi
7910 rm -f conftest*
7911       ac_ext=c
7912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7913 ac_cpp='$CPP $CPPFLAGS'
7914 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7915 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7916 cross_compiling=$ac_cv_prog_cc_cross
7917
7918     
7919 fi
7920
7921   fi
7922   echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7923   if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7924     for ac_func in tanf
7925 do
7926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7927 echo "configure:7928: checking for $ac_func" >&5
7928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7929   echo $ac_n "(cached) $ac_c" 1>&6
7930 else
7931   cat > conftest.$ac_ext <<EOF
7932 #line 7933 "configure"
7933 #include "confdefs.h"
7934 /* System header to define __stub macros and hopefully few prototypes,
7935     which can conflict with char $ac_func(); below.  */
7936 #include <assert.h>
7937 /* Override any gcc2 internal prototype to avoid an error.  */
7938 /* We use char because int might match the return type of a gcc2
7939     builtin and then its argument prototype would still apply.  */
7940 char $ac_func();
7941
7942 int main() {
7943
7944 /* The GNU C library defines this for functions which it implements
7945     to always fail with ENOSYS.  Some functions are actually named
7946     something starting with __ and the normal name is an alias.  */
7947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7948 choke me
7949 #else
7950 $ac_func();
7951 #endif
7952
7953 ; return 0; }
7954 EOF
7955 if { (eval echo configure:7956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7956   rm -rf conftest*
7957   eval "ac_cv_func_$ac_func=yes"
7958 else
7959   echo "configure: failed program was:" >&5
7960   cat conftest.$ac_ext >&5
7961   rm -rf conftest*
7962   eval "ac_cv_func_$ac_func=no"
7963 fi
7964 rm -f conftest*
7965 fi
7966
7967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7968   echo "$ac_t""yes" 1>&6
7969     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7970   cat >> confdefs.h <<EOF
7971 #define $ac_tr_func 1
7972 EOF
7973  
7974 else
7975   echo "$ac_t""no" 1>&6
7976 fi
7977 done
7978     
7979   fi
7980
7981   
7982   echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7983 echo "configure:7984: checking for tanhf declaration" >&5
7984   if test x${glibcpp_cv_func_tanhf_use+set} != xset; then
7985     if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7986   echo $ac_n "(cached) $ac_c" 1>&6
7987 else
7988   
7989       
7990       ac_ext=C
7991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7992 ac_cpp='$CXXCPP $CPPFLAGS'
7993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7995 cross_compiling=$ac_cv_prog_cxx_cross
7996
7997       cat > conftest.$ac_ext <<EOF
7998 #line 7999 "configure"
7999 #include "confdefs.h"
8000 #include <math.h>
8001 int main() {
8002  tanhf(0);
8003 ; return 0; }
8004 EOF
8005 if { (eval echo configure:8006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8006   rm -rf conftest*
8007   glibcpp_cv_func_tanhf_use=yes
8008 else
8009   echo "configure: failed program was:" >&5
8010   cat conftest.$ac_ext >&5
8011   rm -rf conftest*
8012   glibcpp_cv_func_tanhf_use=no
8013 fi
8014 rm -f conftest*
8015       ac_ext=c
8016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8017 ac_cpp='$CPP $CPPFLAGS'
8018 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8019 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8020 cross_compiling=$ac_cv_prog_cc_cross
8021
8022     
8023 fi
8024
8025   fi
8026   echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
8027   if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
8028     for ac_func in tanhf
8029 do
8030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8031 echo "configure:8032: checking for $ac_func" >&5
8032 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8033   echo $ac_n "(cached) $ac_c" 1>&6
8034 else
8035   cat > conftest.$ac_ext <<EOF
8036 #line 8037 "configure"
8037 #include "confdefs.h"
8038 /* System header to define __stub macros and hopefully few prototypes,
8039     which can conflict with char $ac_func(); below.  */
8040 #include <assert.h>
8041 /* Override any gcc2 internal prototype to avoid an error.  */
8042 /* We use char because int might match the return type of a gcc2
8043     builtin and then its argument prototype would still apply.  */
8044 char $ac_func();
8045
8046 int main() {
8047
8048 /* The GNU C library defines this for functions which it implements
8049     to always fail with ENOSYS.  Some functions are actually named
8050     something starting with __ and the normal name is an alias.  */
8051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8052 choke me
8053 #else
8054 $ac_func();
8055 #endif
8056
8057 ; return 0; }
8058 EOF
8059 if { (eval echo configure:8060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8060   rm -rf conftest*
8061   eval "ac_cv_func_$ac_func=yes"
8062 else
8063   echo "configure: failed program was:" >&5
8064   cat conftest.$ac_ext >&5
8065   rm -rf conftest*
8066   eval "ac_cv_func_$ac_func=no"
8067 fi
8068 rm -f conftest*
8069 fi
8070
8071 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8072   echo "$ac_t""yes" 1>&6
8073     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8074   cat >> confdefs.h <<EOF
8075 #define $ac_tr_func 1
8076 EOF
8077  
8078 else
8079   echo "$ac_t""no" 1>&6
8080 fi
8081 done
8082     
8083   fi
8084
8085   
8086   echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
8087 echo "configure:8088: checking for sincosf declaration" >&5
8088   if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
8089     if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
8090   echo $ac_n "(cached) $ac_c" 1>&6
8091 else
8092   
8093       
8094       ac_ext=C
8095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8096 ac_cpp='$CXXCPP $CPPFLAGS'
8097 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8098 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8099 cross_compiling=$ac_cv_prog_cxx_cross
8100
8101       cat > conftest.$ac_ext <<EOF
8102 #line 8103 "configure"
8103 #include "confdefs.h"
8104 #include <math.h>
8105 int main() {
8106  sincosf(0, 0, 0);
8107 ; return 0; }
8108 EOF
8109 if { (eval echo configure:8110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8110   rm -rf conftest*
8111   glibcpp_cv_func_sincosf_use=yes
8112 else
8113   echo "configure: failed program was:" >&5
8114   cat conftest.$ac_ext >&5
8115   rm -rf conftest*
8116   glibcpp_cv_func_sincosf_use=no
8117 fi
8118 rm -f conftest*
8119       ac_ext=c
8120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8121 ac_cpp='$CPP $CPPFLAGS'
8122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8124 cross_compiling=$ac_cv_prog_cc_cross
8125
8126     
8127 fi
8128
8129   fi
8130   echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
8131   if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
8132     for ac_func in sincosf
8133 do
8134 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8135 echo "configure:8136: checking for $ac_func" >&5
8136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8137   echo $ac_n "(cached) $ac_c" 1>&6
8138 else
8139   cat > conftest.$ac_ext <<EOF
8140 #line 8141 "configure"
8141 #include "confdefs.h"
8142 /* System header to define __stub macros and hopefully few prototypes,
8143     which can conflict with char $ac_func(); below.  */
8144 #include <assert.h>
8145 /* Override any gcc2 internal prototype to avoid an error.  */
8146 /* We use char because int might match the return type of a gcc2
8147     builtin and then its argument prototype would still apply.  */
8148 char $ac_func();
8149
8150 int main() {
8151
8152 /* The GNU C library defines this for functions which it implements
8153     to always fail with ENOSYS.  Some functions are actually named
8154     something starting with __ and the normal name is an alias.  */
8155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8156 choke me
8157 #else
8158 $ac_func();
8159 #endif
8160
8161 ; return 0; }
8162 EOF
8163 if { (eval echo configure:8164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8164   rm -rf conftest*
8165   eval "ac_cv_func_$ac_func=yes"
8166 else
8167   echo "configure: failed program was:" >&5
8168   cat conftest.$ac_ext >&5
8169   rm -rf conftest*
8170   eval "ac_cv_func_$ac_func=no"
8171 fi
8172 rm -f conftest*
8173 fi
8174
8175 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8176   echo "$ac_t""yes" 1>&6
8177     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8178   cat >> confdefs.h <<EOF
8179 #define $ac_tr_func 1
8180 EOF
8181  
8182 else
8183   echo "$ac_t""no" 1>&6
8184 fi
8185 done
8186     
8187   fi
8188
8189   
8190   echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8191 echo "configure:8192: checking for finitef declaration" >&5
8192   if test x${glibcpp_cv_func_finitef_use+set} != xset; then
8193     if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8194   echo $ac_n "(cached) $ac_c" 1>&6
8195 else
8196   
8197       
8198       ac_ext=C
8199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8200 ac_cpp='$CXXCPP $CPPFLAGS'
8201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8203 cross_compiling=$ac_cv_prog_cxx_cross
8204
8205       cat > conftest.$ac_ext <<EOF
8206 #line 8207 "configure"
8207 #include "confdefs.h"
8208 #include <math.h>
8209 int main() {
8210  finitef(0);
8211 ; return 0; }
8212 EOF
8213 if { (eval echo configure:8214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8214   rm -rf conftest*
8215   glibcpp_cv_func_finitef_use=yes
8216 else
8217   echo "configure: failed program was:" >&5
8218   cat conftest.$ac_ext >&5
8219   rm -rf conftest*
8220   glibcpp_cv_func_finitef_use=no
8221 fi
8222 rm -f conftest*
8223       ac_ext=c
8224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8225 ac_cpp='$CPP $CPPFLAGS'
8226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8228 cross_compiling=$ac_cv_prog_cc_cross
8229
8230     
8231 fi
8232
8233   fi
8234   echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8235   if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8236     for ac_func in finitef
8237 do
8238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8239 echo "configure:8240: checking for $ac_func" >&5
8240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8241   echo $ac_n "(cached) $ac_c" 1>&6
8242 else
8243   cat > conftest.$ac_ext <<EOF
8244 #line 8245 "configure"
8245 #include "confdefs.h"
8246 /* System header to define __stub macros and hopefully few prototypes,
8247     which can conflict with char $ac_func(); below.  */
8248 #include <assert.h>
8249 /* Override any gcc2 internal prototype to avoid an error.  */
8250 /* We use char because int might match the return type of a gcc2
8251     builtin and then its argument prototype would still apply.  */
8252 char $ac_func();
8253
8254 int main() {
8255
8256 /* The GNU C library defines this for functions which it implements
8257     to always fail with ENOSYS.  Some functions are actually named
8258     something starting with __ and the normal name is an alias.  */
8259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8260 choke me
8261 #else
8262 $ac_func();
8263 #endif
8264
8265 ; return 0; }
8266 EOF
8267 if { (eval echo configure:8268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8268   rm -rf conftest*
8269   eval "ac_cv_func_$ac_func=yes"
8270 else
8271   echo "configure: failed program was:" >&5
8272   cat conftest.$ac_ext >&5
8273   rm -rf conftest*
8274   eval "ac_cv_func_$ac_func=no"
8275 fi
8276 rm -f conftest*
8277 fi
8278
8279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8280   echo "$ac_t""yes" 1>&6
8281     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8282   cat >> confdefs.h <<EOF
8283 #define $ac_tr_func 1
8284 EOF
8285  
8286 else
8287   echo "$ac_t""no" 1>&6
8288 fi
8289 done
8290     
8291   fi
8292
8293
8294     
8295   echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8296 echo "configure:8297: checking for isnanl declaration" >&5
8297   if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
8298     if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8299   echo $ac_n "(cached) $ac_c" 1>&6
8300 else
8301   
8302       
8303       ac_ext=C
8304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8305 ac_cpp='$CXXCPP $CPPFLAGS'
8306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8308 cross_compiling=$ac_cv_prog_cxx_cross
8309
8310       cat > conftest.$ac_ext <<EOF
8311 #line 8312 "configure"
8312 #include "confdefs.h"
8313 #include <math.h>
8314 int main() {
8315  isnanl(0);
8316 ; return 0; }
8317 EOF
8318 if { (eval echo configure:8319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8319   rm -rf conftest*
8320   glibcpp_cv_func_isnanl_use=yes
8321 else
8322   echo "configure: failed program was:" >&5
8323   cat conftest.$ac_ext >&5
8324   rm -rf conftest*
8325   glibcpp_cv_func_isnanl_use=no
8326 fi
8327 rm -f conftest*
8328       ac_ext=c
8329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8330 ac_cpp='$CPP $CPPFLAGS'
8331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8333 cross_compiling=$ac_cv_prog_cc_cross
8334
8335     
8336 fi
8337
8338   fi
8339   echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8340   if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8341     for ac_func in isnanl
8342 do
8343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8344 echo "configure:8345: checking for $ac_func" >&5
8345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8346   echo $ac_n "(cached) $ac_c" 1>&6
8347 else
8348   cat > conftest.$ac_ext <<EOF
8349 #line 8350 "configure"
8350 #include "confdefs.h"
8351 /* System header to define __stub macros and hopefully few prototypes,
8352     which can conflict with char $ac_func(); below.  */
8353 #include <assert.h>
8354 /* Override any gcc2 internal prototype to avoid an error.  */
8355 /* We use char because int might match the return type of a gcc2
8356     builtin and then its argument prototype would still apply.  */
8357 char $ac_func();
8358
8359 int main() {
8360
8361 /* The GNU C library defines this for functions which it implements
8362     to always fail with ENOSYS.  Some functions are actually named
8363     something starting with __ and the normal name is an alias.  */
8364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8365 choke me
8366 #else
8367 $ac_func();
8368 #endif
8369
8370 ; return 0; }
8371 EOF
8372 if { (eval echo configure:8373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8373   rm -rf conftest*
8374   eval "ac_cv_func_$ac_func=yes"
8375 else
8376   echo "configure: failed program was:" >&5
8377   cat conftest.$ac_ext >&5
8378   rm -rf conftest*
8379   eval "ac_cv_func_$ac_func=no"
8380 fi
8381 rm -f conftest*
8382 fi
8383
8384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8385   echo "$ac_t""yes" 1>&6
8386     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8387   cat >> confdefs.h <<EOF
8388 #define $ac_tr_func 1
8389 EOF
8390  
8391 else
8392   echo "$ac_t""no" 1>&6
8393 fi
8394 done
8395     
8396   fi
8397
8398   
8399   echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8400 echo "configure:8401: checking for isinfl declaration" >&5
8401   if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
8402     if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8403   echo $ac_n "(cached) $ac_c" 1>&6
8404 else
8405   
8406       
8407       ac_ext=C
8408 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8409 ac_cpp='$CXXCPP $CPPFLAGS'
8410 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8411 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8412 cross_compiling=$ac_cv_prog_cxx_cross
8413
8414       cat > conftest.$ac_ext <<EOF
8415 #line 8416 "configure"
8416 #include "confdefs.h"
8417 #include <math.h>
8418 int main() {
8419  isinfl(0);
8420 ; return 0; }
8421 EOF
8422 if { (eval echo configure:8423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8423   rm -rf conftest*
8424   glibcpp_cv_func_isinfl_use=yes
8425 else
8426   echo "configure: failed program was:" >&5
8427   cat conftest.$ac_ext >&5
8428   rm -rf conftest*
8429   glibcpp_cv_func_isinfl_use=no
8430 fi
8431 rm -f conftest*
8432       ac_ext=c
8433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8434 ac_cpp='$CPP $CPPFLAGS'
8435 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8436 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8437 cross_compiling=$ac_cv_prog_cc_cross
8438
8439     
8440 fi
8441
8442   fi
8443   echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8444   if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8445     for ac_func in isinfl
8446 do
8447 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8448 echo "configure:8449: checking for $ac_func" >&5
8449 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8450   echo $ac_n "(cached) $ac_c" 1>&6
8451 else
8452   cat > conftest.$ac_ext <<EOF
8453 #line 8454 "configure"
8454 #include "confdefs.h"
8455 /* System header to define __stub macros and hopefully few prototypes,
8456     which can conflict with char $ac_func(); below.  */
8457 #include <assert.h>
8458 /* Override any gcc2 internal prototype to avoid an error.  */
8459 /* We use char because int might match the return type of a gcc2
8460     builtin and then its argument prototype would still apply.  */
8461 char $ac_func();
8462
8463 int main() {
8464
8465 /* The GNU C library defines this for functions which it implements
8466     to always fail with ENOSYS.  Some functions are actually named
8467     something starting with __ and the normal name is an alias.  */
8468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8469 choke me
8470 #else
8471 $ac_func();
8472 #endif
8473
8474 ; return 0; }
8475 EOF
8476 if { (eval echo configure:8477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8477   rm -rf conftest*
8478   eval "ac_cv_func_$ac_func=yes"
8479 else
8480   echo "configure: failed program was:" >&5
8481   cat conftest.$ac_ext >&5
8482   rm -rf conftest*
8483   eval "ac_cv_func_$ac_func=no"
8484 fi
8485 rm -f conftest*
8486 fi
8487
8488 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8489   echo "$ac_t""yes" 1>&6
8490     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8491   cat >> confdefs.h <<EOF
8492 #define $ac_tr_func 1
8493 EOF
8494  
8495 else
8496   echo "$ac_t""no" 1>&6
8497 fi
8498 done
8499     
8500   fi
8501
8502   
8503   echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8504 echo "configure:8505: checking for copysignl declaration" >&5
8505   if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
8506     if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8507   echo $ac_n "(cached) $ac_c" 1>&6
8508 else
8509   
8510       
8511       ac_ext=C
8512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8513 ac_cpp='$CXXCPP $CPPFLAGS'
8514 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8515 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8516 cross_compiling=$ac_cv_prog_cxx_cross
8517
8518       cat > conftest.$ac_ext <<EOF
8519 #line 8520 "configure"
8520 #include "confdefs.h"
8521 #include <math.h>
8522 int main() {
8523  copysignl(0, 0);
8524 ; return 0; }
8525 EOF
8526 if { (eval echo configure:8527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8527   rm -rf conftest*
8528   glibcpp_cv_func_copysignl_use=yes
8529 else
8530   echo "configure: failed program was:" >&5
8531   cat conftest.$ac_ext >&5
8532   rm -rf conftest*
8533   glibcpp_cv_func_copysignl_use=no
8534 fi
8535 rm -f conftest*
8536       ac_ext=c
8537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8538 ac_cpp='$CPP $CPPFLAGS'
8539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8541 cross_compiling=$ac_cv_prog_cc_cross
8542
8543     
8544 fi
8545
8546   fi
8547   echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8548   if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8549     for ac_func in copysignl
8550 do
8551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8552 echo "configure:8553: checking for $ac_func" >&5
8553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8554   echo $ac_n "(cached) $ac_c" 1>&6
8555 else
8556   cat > conftest.$ac_ext <<EOF
8557 #line 8558 "configure"
8558 #include "confdefs.h"
8559 /* System header to define __stub macros and hopefully few prototypes,
8560     which can conflict with char $ac_func(); below.  */
8561 #include <assert.h>
8562 /* Override any gcc2 internal prototype to avoid an error.  */
8563 /* We use char because int might match the return type of a gcc2
8564     builtin and then its argument prototype would still apply.  */
8565 char $ac_func();
8566
8567 int main() {
8568
8569 /* The GNU C library defines this for functions which it implements
8570     to always fail with ENOSYS.  Some functions are actually named
8571     something starting with __ and the normal name is an alias.  */
8572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8573 choke me
8574 #else
8575 $ac_func();
8576 #endif
8577
8578 ; return 0; }
8579 EOF
8580 if { (eval echo configure:8581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8581   rm -rf conftest*
8582   eval "ac_cv_func_$ac_func=yes"
8583 else
8584   echo "configure: failed program was:" >&5
8585   cat conftest.$ac_ext >&5
8586   rm -rf conftest*
8587   eval "ac_cv_func_$ac_func=no"
8588 fi
8589 rm -f conftest*
8590 fi
8591
8592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8593   echo "$ac_t""yes" 1>&6
8594     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8595   cat >> confdefs.h <<EOF
8596 #define $ac_tr_func 1
8597 EOF
8598  
8599 else
8600   echo "$ac_t""no" 1>&6
8601 fi
8602 done
8603     
8604   fi
8605
8606   
8607   echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8608 echo "configure:8609: checking for acosl declaration" >&5
8609   if test x${glibcpp_cv_func_acosl_use+set} != xset; then
8610     if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8611   echo $ac_n "(cached) $ac_c" 1>&6
8612 else
8613   
8614       
8615       ac_ext=C
8616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8617 ac_cpp='$CXXCPP $CPPFLAGS'
8618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8620 cross_compiling=$ac_cv_prog_cxx_cross
8621
8622       cat > conftest.$ac_ext <<EOF
8623 #line 8624 "configure"
8624 #include "confdefs.h"
8625 #include <math.h>
8626 int main() {
8627  acosl(0);
8628 ; return 0; }
8629 EOF
8630 if { (eval echo configure:8631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8631   rm -rf conftest*
8632   glibcpp_cv_func_acosl_use=yes
8633 else
8634   echo "configure: failed program was:" >&5
8635   cat conftest.$ac_ext >&5
8636   rm -rf conftest*
8637   glibcpp_cv_func_acosl_use=no
8638 fi
8639 rm -f conftest*
8640       ac_ext=c
8641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8642 ac_cpp='$CPP $CPPFLAGS'
8643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8645 cross_compiling=$ac_cv_prog_cc_cross
8646
8647     
8648 fi
8649
8650   fi
8651   echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8652   if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8653     for ac_func in acosl
8654 do
8655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8656 echo "configure:8657: checking for $ac_func" >&5
8657 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8658   echo $ac_n "(cached) $ac_c" 1>&6
8659 else
8660   cat > conftest.$ac_ext <<EOF
8661 #line 8662 "configure"
8662 #include "confdefs.h"
8663 /* System header to define __stub macros and hopefully few prototypes,
8664     which can conflict with char $ac_func(); below.  */
8665 #include <assert.h>
8666 /* Override any gcc2 internal prototype to avoid an error.  */
8667 /* We use char because int might match the return type of a gcc2
8668     builtin and then its argument prototype would still apply.  */
8669 char $ac_func();
8670
8671 int main() {
8672
8673 /* The GNU C library defines this for functions which it implements
8674     to always fail with ENOSYS.  Some functions are actually named
8675     something starting with __ and the normal name is an alias.  */
8676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8677 choke me
8678 #else
8679 $ac_func();
8680 #endif
8681
8682 ; return 0; }
8683 EOF
8684 if { (eval echo configure:8685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8685   rm -rf conftest*
8686   eval "ac_cv_func_$ac_func=yes"
8687 else
8688   echo "configure: failed program was:" >&5
8689   cat conftest.$ac_ext >&5
8690   rm -rf conftest*
8691   eval "ac_cv_func_$ac_func=no"
8692 fi
8693 rm -f conftest*
8694 fi
8695
8696 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8697   echo "$ac_t""yes" 1>&6
8698     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8699   cat >> confdefs.h <<EOF
8700 #define $ac_tr_func 1
8701 EOF
8702  
8703 else
8704   echo "$ac_t""no" 1>&6
8705 fi
8706 done
8707     
8708   fi
8709
8710   
8711   echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8712 echo "configure:8713: checking for asinl declaration" >&5
8713   if test x${glibcpp_cv_func_asinl_use+set} != xset; then
8714     if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8715   echo $ac_n "(cached) $ac_c" 1>&6
8716 else
8717   
8718       
8719       ac_ext=C
8720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8721 ac_cpp='$CXXCPP $CPPFLAGS'
8722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8724 cross_compiling=$ac_cv_prog_cxx_cross
8725
8726       cat > conftest.$ac_ext <<EOF
8727 #line 8728 "configure"
8728 #include "confdefs.h"
8729 #include <math.h>
8730 int main() {
8731  asinl(0);
8732 ; return 0; }
8733 EOF
8734 if { (eval echo configure:8735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8735   rm -rf conftest*
8736   glibcpp_cv_func_asinl_use=yes
8737 else
8738   echo "configure: failed program was:" >&5
8739   cat conftest.$ac_ext >&5
8740   rm -rf conftest*
8741   glibcpp_cv_func_asinl_use=no
8742 fi
8743 rm -f conftest*
8744       ac_ext=c
8745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8746 ac_cpp='$CPP $CPPFLAGS'
8747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8749 cross_compiling=$ac_cv_prog_cc_cross
8750
8751     
8752 fi
8753
8754   fi
8755   echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8756   if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8757     for ac_func in asinl
8758 do
8759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8760 echo "configure:8761: checking for $ac_func" >&5
8761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8762   echo $ac_n "(cached) $ac_c" 1>&6
8763 else
8764   cat > conftest.$ac_ext <<EOF
8765 #line 8766 "configure"
8766 #include "confdefs.h"
8767 /* System header to define __stub macros and hopefully few prototypes,
8768     which can conflict with char $ac_func(); below.  */
8769 #include <assert.h>
8770 /* Override any gcc2 internal prototype to avoid an error.  */
8771 /* We use char because int might match the return type of a gcc2
8772     builtin and then its argument prototype would still apply.  */
8773 char $ac_func();
8774
8775 int main() {
8776
8777 /* The GNU C library defines this for functions which it implements
8778     to always fail with ENOSYS.  Some functions are actually named
8779     something starting with __ and the normal name is an alias.  */
8780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8781 choke me
8782 #else
8783 $ac_func();
8784 #endif
8785
8786 ; return 0; }
8787 EOF
8788 if { (eval echo configure:8789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8789   rm -rf conftest*
8790   eval "ac_cv_func_$ac_func=yes"
8791 else
8792   echo "configure: failed program was:" >&5
8793   cat conftest.$ac_ext >&5
8794   rm -rf conftest*
8795   eval "ac_cv_func_$ac_func=no"
8796 fi
8797 rm -f conftest*
8798 fi
8799
8800 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8801   echo "$ac_t""yes" 1>&6
8802     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8803   cat >> confdefs.h <<EOF
8804 #define $ac_tr_func 1
8805 EOF
8806  
8807 else
8808   echo "$ac_t""no" 1>&6
8809 fi
8810 done
8811     
8812   fi
8813
8814   
8815   echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8816 echo "configure:8817: checking for atanl declaration" >&5
8817   if test x${glibcpp_cv_func_atanl_use+set} != xset; then
8818     if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8819   echo $ac_n "(cached) $ac_c" 1>&6
8820 else
8821   
8822       
8823       ac_ext=C
8824 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8825 ac_cpp='$CXXCPP $CPPFLAGS'
8826 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8827 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8828 cross_compiling=$ac_cv_prog_cxx_cross
8829
8830       cat > conftest.$ac_ext <<EOF
8831 #line 8832 "configure"
8832 #include "confdefs.h"
8833 #include <math.h>
8834 int main() {
8835  atanl(0);
8836 ; return 0; }
8837 EOF
8838 if { (eval echo configure:8839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8839   rm -rf conftest*
8840   glibcpp_cv_func_atanl_use=yes
8841 else
8842   echo "configure: failed program was:" >&5
8843   cat conftest.$ac_ext >&5
8844   rm -rf conftest*
8845   glibcpp_cv_func_atanl_use=no
8846 fi
8847 rm -f conftest*
8848       ac_ext=c
8849 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8850 ac_cpp='$CPP $CPPFLAGS'
8851 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8852 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8853 cross_compiling=$ac_cv_prog_cc_cross
8854
8855     
8856 fi
8857
8858   fi
8859   echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8860   if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8861     for ac_func in atanl
8862 do
8863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8864 echo "configure:8865: checking for $ac_func" >&5
8865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8866   echo $ac_n "(cached) $ac_c" 1>&6
8867 else
8868   cat > conftest.$ac_ext <<EOF
8869 #line 8870 "configure"
8870 #include "confdefs.h"
8871 /* System header to define __stub macros and hopefully few prototypes,
8872     which can conflict with char $ac_func(); below.  */
8873 #include <assert.h>
8874 /* Override any gcc2 internal prototype to avoid an error.  */
8875 /* We use char because int might match the return type of a gcc2
8876     builtin and then its argument prototype would still apply.  */
8877 char $ac_func();
8878
8879 int main() {
8880
8881 /* The GNU C library defines this for functions which it implements
8882     to always fail with ENOSYS.  Some functions are actually named
8883     something starting with __ and the normal name is an alias.  */
8884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8885 choke me
8886 #else
8887 $ac_func();
8888 #endif
8889
8890 ; return 0; }
8891 EOF
8892 if { (eval echo configure:8893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8893   rm -rf conftest*
8894   eval "ac_cv_func_$ac_func=yes"
8895 else
8896   echo "configure: failed program was:" >&5
8897   cat conftest.$ac_ext >&5
8898   rm -rf conftest*
8899   eval "ac_cv_func_$ac_func=no"
8900 fi
8901 rm -f conftest*
8902 fi
8903
8904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8905   echo "$ac_t""yes" 1>&6
8906     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8907   cat >> confdefs.h <<EOF
8908 #define $ac_tr_func 1
8909 EOF
8910  
8911 else
8912   echo "$ac_t""no" 1>&6
8913 fi
8914 done
8915     
8916   fi
8917
8918   
8919   echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8920 echo "configure:8921: checking for atan2l declaration" >&5
8921   if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
8922     if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8923   echo $ac_n "(cached) $ac_c" 1>&6
8924 else
8925   
8926       
8927       ac_ext=C
8928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8929 ac_cpp='$CXXCPP $CPPFLAGS'
8930 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8931 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8932 cross_compiling=$ac_cv_prog_cxx_cross
8933
8934       cat > conftest.$ac_ext <<EOF
8935 #line 8936 "configure"
8936 #include "confdefs.h"
8937 #include <math.h>
8938 int main() {
8939  atan2l(0, 0);
8940 ; return 0; }
8941 EOF
8942 if { (eval echo configure:8943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8943   rm -rf conftest*
8944   glibcpp_cv_func_atan2l_use=yes
8945 else
8946   echo "configure: failed program was:" >&5
8947   cat conftest.$ac_ext >&5
8948   rm -rf conftest*
8949   glibcpp_cv_func_atan2l_use=no
8950 fi
8951 rm -f conftest*
8952       ac_ext=c
8953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8954 ac_cpp='$CPP $CPPFLAGS'
8955 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8956 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8957 cross_compiling=$ac_cv_prog_cc_cross
8958
8959     
8960 fi
8961
8962   fi
8963   echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8964   if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8965     for ac_func in atan2l
8966 do
8967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8968 echo "configure:8969: checking for $ac_func" >&5
8969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8970   echo $ac_n "(cached) $ac_c" 1>&6
8971 else
8972   cat > conftest.$ac_ext <<EOF
8973 #line 8974 "configure"
8974 #include "confdefs.h"
8975 /* System header to define __stub macros and hopefully few prototypes,
8976     which can conflict with char $ac_func(); below.  */
8977 #include <assert.h>
8978 /* Override any gcc2 internal prototype to avoid an error.  */
8979 /* We use char because int might match the return type of a gcc2
8980     builtin and then its argument prototype would still apply.  */
8981 char $ac_func();
8982
8983 int main() {
8984
8985 /* The GNU C library defines this for functions which it implements
8986     to always fail with ENOSYS.  Some functions are actually named
8987     something starting with __ and the normal name is an alias.  */
8988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8989 choke me
8990 #else
8991 $ac_func();
8992 #endif
8993
8994 ; return 0; }
8995 EOF
8996 if { (eval echo configure:8997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8997   rm -rf conftest*
8998   eval "ac_cv_func_$ac_func=yes"
8999 else
9000   echo "configure: failed program was:" >&5
9001   cat conftest.$ac_ext >&5
9002   rm -rf conftest*
9003   eval "ac_cv_func_$ac_func=no"
9004 fi
9005 rm -f conftest*
9006 fi
9007
9008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9009   echo "$ac_t""yes" 1>&6
9010     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9011   cat >> confdefs.h <<EOF
9012 #define $ac_tr_func 1
9013 EOF
9014  
9015 else
9016   echo "$ac_t""no" 1>&6
9017 fi
9018 done
9019     
9020   fi
9021
9022   
9023   echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
9024 echo "configure:9025: checking for ceill declaration" >&5
9025   if test x${glibcpp_cv_func_ceill_use+set} != xset; then
9026     if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
9027   echo $ac_n "(cached) $ac_c" 1>&6
9028 else
9029   
9030       
9031       ac_ext=C
9032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9033 ac_cpp='$CXXCPP $CPPFLAGS'
9034 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9035 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9036 cross_compiling=$ac_cv_prog_cxx_cross
9037
9038       cat > conftest.$ac_ext <<EOF
9039 #line 9040 "configure"
9040 #include "confdefs.h"
9041 #include <math.h>
9042 int main() {
9043  ceill(0);
9044 ; return 0; }
9045 EOF
9046 if { (eval echo configure:9047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9047   rm -rf conftest*
9048   glibcpp_cv_func_ceill_use=yes
9049 else
9050   echo "configure: failed program was:" >&5
9051   cat conftest.$ac_ext >&5
9052   rm -rf conftest*
9053   glibcpp_cv_func_ceill_use=no
9054 fi
9055 rm -f conftest*
9056       ac_ext=c
9057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9058 ac_cpp='$CPP $CPPFLAGS'
9059 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9060 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9061 cross_compiling=$ac_cv_prog_cc_cross
9062
9063     
9064 fi
9065
9066   fi
9067   echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
9068   if test x$glibcpp_cv_func_ceill_use = x"yes"; then
9069     for ac_func in ceill
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 cosl declaration""... $ac_c" 1>&6
9128 echo "configure:9129: checking for cosl declaration" >&5
9129   if test x${glibcpp_cv_func_cosl_use+set} != xset; then
9130     if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
9131   echo $ac_n "(cached) $ac_c" 1>&6
9132 else
9133   
9134       
9135       ac_ext=C
9136 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9137 ac_cpp='$CXXCPP $CPPFLAGS'
9138 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9139 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9140 cross_compiling=$ac_cv_prog_cxx_cross
9141
9142       cat > conftest.$ac_ext <<EOF
9143 #line 9144 "configure"
9144 #include "confdefs.h"
9145 #include <math.h>
9146 int main() {
9147  cosl(0);
9148 ; return 0; }
9149 EOF
9150 if { (eval echo configure:9151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9151   rm -rf conftest*
9152   glibcpp_cv_func_cosl_use=yes
9153 else
9154   echo "configure: failed program was:" >&5
9155   cat conftest.$ac_ext >&5
9156   rm -rf conftest*
9157   glibcpp_cv_func_cosl_use=no
9158 fi
9159 rm -f conftest*
9160       ac_ext=c
9161 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9162 ac_cpp='$CPP $CPPFLAGS'
9163 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9164 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9165 cross_compiling=$ac_cv_prog_cc_cross
9166
9167     
9168 fi
9169
9170   fi
9171   echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
9172   if test x$glibcpp_cv_func_cosl_use = x"yes"; then
9173     for ac_func in cosl
9174 do
9175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9176 echo "configure:9177: checking for $ac_func" >&5
9177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9178   echo $ac_n "(cached) $ac_c" 1>&6
9179 else
9180   cat > conftest.$ac_ext <<EOF
9181 #line 9182 "configure"
9182 #include "confdefs.h"
9183 /* System header to define __stub macros and hopefully few prototypes,
9184     which can conflict with char $ac_func(); below.  */
9185 #include <assert.h>
9186 /* Override any gcc2 internal prototype to avoid an error.  */
9187 /* We use char because int might match the return type of a gcc2
9188     builtin and then its argument prototype would still apply.  */
9189 char $ac_func();
9190
9191 int main() {
9192
9193 /* The GNU C library defines this for functions which it implements
9194     to always fail with ENOSYS.  Some functions are actually named
9195     something starting with __ and the normal name is an alias.  */
9196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9197 choke me
9198 #else
9199 $ac_func();
9200 #endif
9201
9202 ; return 0; }
9203 EOF
9204 if { (eval echo configure:9205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9205   rm -rf conftest*
9206   eval "ac_cv_func_$ac_func=yes"
9207 else
9208   echo "configure: failed program was:" >&5
9209   cat conftest.$ac_ext >&5
9210   rm -rf conftest*
9211   eval "ac_cv_func_$ac_func=no"
9212 fi
9213 rm -f conftest*
9214 fi
9215
9216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9217   echo "$ac_t""yes" 1>&6
9218     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9219   cat >> confdefs.h <<EOF
9220 #define $ac_tr_func 1
9221 EOF
9222  
9223 else
9224   echo "$ac_t""no" 1>&6
9225 fi
9226 done
9227     
9228   fi
9229
9230   
9231   echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9232 echo "configure:9233: checking for coshl declaration" >&5
9233   if test x${glibcpp_cv_func_coshl_use+set} != xset; then
9234     if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9235   echo $ac_n "(cached) $ac_c" 1>&6
9236 else
9237   
9238       
9239       ac_ext=C
9240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9241 ac_cpp='$CXXCPP $CPPFLAGS'
9242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9244 cross_compiling=$ac_cv_prog_cxx_cross
9245
9246       cat > conftest.$ac_ext <<EOF
9247 #line 9248 "configure"
9248 #include "confdefs.h"
9249 #include <math.h>
9250 int main() {
9251  coshl(0);
9252 ; return 0; }
9253 EOF
9254 if { (eval echo configure:9255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9255   rm -rf conftest*
9256   glibcpp_cv_func_coshl_use=yes
9257 else
9258   echo "configure: failed program was:" >&5
9259   cat conftest.$ac_ext >&5
9260   rm -rf conftest*
9261   glibcpp_cv_func_coshl_use=no
9262 fi
9263 rm -f conftest*
9264       ac_ext=c
9265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9266 ac_cpp='$CPP $CPPFLAGS'
9267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9269 cross_compiling=$ac_cv_prog_cc_cross
9270
9271     
9272 fi
9273
9274   fi
9275   echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9276   if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9277     for ac_func in coshl
9278 do
9279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9280 echo "configure:9281: checking for $ac_func" >&5
9281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9282   echo $ac_n "(cached) $ac_c" 1>&6
9283 else
9284   cat > conftest.$ac_ext <<EOF
9285 #line 9286 "configure"
9286 #include "confdefs.h"
9287 /* System header to define __stub macros and hopefully few prototypes,
9288     which can conflict with char $ac_func(); below.  */
9289 #include <assert.h>
9290 /* Override any gcc2 internal prototype to avoid an error.  */
9291 /* We use char because int might match the return type of a gcc2
9292     builtin and then its argument prototype would still apply.  */
9293 char $ac_func();
9294
9295 int main() {
9296
9297 /* The GNU C library defines this for functions which it implements
9298     to always fail with ENOSYS.  Some functions are actually named
9299     something starting with __ and the normal name is an alias.  */
9300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9301 choke me
9302 #else
9303 $ac_func();
9304 #endif
9305
9306 ; return 0; }
9307 EOF
9308 if { (eval echo configure:9309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9309   rm -rf conftest*
9310   eval "ac_cv_func_$ac_func=yes"
9311 else
9312   echo "configure: failed program was:" >&5
9313   cat conftest.$ac_ext >&5
9314   rm -rf conftest*
9315   eval "ac_cv_func_$ac_func=no"
9316 fi
9317 rm -f conftest*
9318 fi
9319
9320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9321   echo "$ac_t""yes" 1>&6
9322     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9323   cat >> confdefs.h <<EOF
9324 #define $ac_tr_func 1
9325 EOF
9326  
9327 else
9328   echo "$ac_t""no" 1>&6
9329 fi
9330 done
9331     
9332   fi
9333
9334   
9335   echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9336 echo "configure:9337: checking for expl declaration" >&5
9337   if test x${glibcpp_cv_func_expl_use+set} != xset; then
9338     if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9339   echo $ac_n "(cached) $ac_c" 1>&6
9340 else
9341   
9342       
9343       ac_ext=C
9344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9345 ac_cpp='$CXXCPP $CPPFLAGS'
9346 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9347 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9348 cross_compiling=$ac_cv_prog_cxx_cross
9349
9350       cat > conftest.$ac_ext <<EOF
9351 #line 9352 "configure"
9352 #include "confdefs.h"
9353 #include <math.h>
9354 int main() {
9355  expl(0);
9356 ; return 0; }
9357 EOF
9358 if { (eval echo configure:9359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9359   rm -rf conftest*
9360   glibcpp_cv_func_expl_use=yes
9361 else
9362   echo "configure: failed program was:" >&5
9363   cat conftest.$ac_ext >&5
9364   rm -rf conftest*
9365   glibcpp_cv_func_expl_use=no
9366 fi
9367 rm -f conftest*
9368       ac_ext=c
9369 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9370 ac_cpp='$CPP $CPPFLAGS'
9371 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9372 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9373 cross_compiling=$ac_cv_prog_cc_cross
9374
9375     
9376 fi
9377
9378   fi
9379   echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9380   if test x$glibcpp_cv_func_expl_use = x"yes"; then
9381     for ac_func in expl
9382 do
9383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9384 echo "configure:9385: checking for $ac_func" >&5
9385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9386   echo $ac_n "(cached) $ac_c" 1>&6
9387 else
9388   cat > conftest.$ac_ext <<EOF
9389 #line 9390 "configure"
9390 #include "confdefs.h"
9391 /* System header to define __stub macros and hopefully few prototypes,
9392     which can conflict with char $ac_func(); below.  */
9393 #include <assert.h>
9394 /* Override any gcc2 internal prototype to avoid an error.  */
9395 /* We use char because int might match the return type of a gcc2
9396     builtin and then its argument prototype would still apply.  */
9397 char $ac_func();
9398
9399 int main() {
9400
9401 /* The GNU C library defines this for functions which it implements
9402     to always fail with ENOSYS.  Some functions are actually named
9403     something starting with __ and the normal name is an alias.  */
9404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9405 choke me
9406 #else
9407 $ac_func();
9408 #endif
9409
9410 ; return 0; }
9411 EOF
9412 if { (eval echo configure:9413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9413   rm -rf conftest*
9414   eval "ac_cv_func_$ac_func=yes"
9415 else
9416   echo "configure: failed program was:" >&5
9417   cat conftest.$ac_ext >&5
9418   rm -rf conftest*
9419   eval "ac_cv_func_$ac_func=no"
9420 fi
9421 rm -f conftest*
9422 fi
9423
9424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9425   echo "$ac_t""yes" 1>&6
9426     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9427   cat >> confdefs.h <<EOF
9428 #define $ac_tr_func 1
9429 EOF
9430  
9431 else
9432   echo "$ac_t""no" 1>&6
9433 fi
9434 done
9435     
9436   fi
9437
9438   
9439   echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9440 echo "configure:9441: checking for fabsl declaration" >&5
9441   if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
9442     if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9443   echo $ac_n "(cached) $ac_c" 1>&6
9444 else
9445   
9446       
9447       ac_ext=C
9448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9449 ac_cpp='$CXXCPP $CPPFLAGS'
9450 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9451 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9452 cross_compiling=$ac_cv_prog_cxx_cross
9453
9454       cat > conftest.$ac_ext <<EOF
9455 #line 9456 "configure"
9456 #include "confdefs.h"
9457 #include <math.h>
9458 int main() {
9459  fabsl(0);
9460 ; return 0; }
9461 EOF
9462 if { (eval echo configure:9463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9463   rm -rf conftest*
9464   glibcpp_cv_func_fabsl_use=yes
9465 else
9466   echo "configure: failed program was:" >&5
9467   cat conftest.$ac_ext >&5
9468   rm -rf conftest*
9469   glibcpp_cv_func_fabsl_use=no
9470 fi
9471 rm -f conftest*
9472       ac_ext=c
9473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9474 ac_cpp='$CPP $CPPFLAGS'
9475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9477 cross_compiling=$ac_cv_prog_cc_cross
9478
9479     
9480 fi
9481
9482   fi
9483   echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9484   if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9485     for ac_func in fabsl
9486 do
9487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9488 echo "configure:9489: checking for $ac_func" >&5
9489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9490   echo $ac_n "(cached) $ac_c" 1>&6
9491 else
9492   cat > conftest.$ac_ext <<EOF
9493 #line 9494 "configure"
9494 #include "confdefs.h"
9495 /* System header to define __stub macros and hopefully few prototypes,
9496     which can conflict with char $ac_func(); below.  */
9497 #include <assert.h>
9498 /* Override any gcc2 internal prototype to avoid an error.  */
9499 /* We use char because int might match the return type of a gcc2
9500     builtin and then its argument prototype would still apply.  */
9501 char $ac_func();
9502
9503 int main() {
9504
9505 /* The GNU C library defines this for functions which it implements
9506     to always fail with ENOSYS.  Some functions are actually named
9507     something starting with __ and the normal name is an alias.  */
9508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9509 choke me
9510 #else
9511 $ac_func();
9512 #endif
9513
9514 ; return 0; }
9515 EOF
9516 if { (eval echo configure:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9517   rm -rf conftest*
9518   eval "ac_cv_func_$ac_func=yes"
9519 else
9520   echo "configure: failed program was:" >&5
9521   cat conftest.$ac_ext >&5
9522   rm -rf conftest*
9523   eval "ac_cv_func_$ac_func=no"
9524 fi
9525 rm -f conftest*
9526 fi
9527
9528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9529   echo "$ac_t""yes" 1>&6
9530     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9531   cat >> confdefs.h <<EOF
9532 #define $ac_tr_func 1
9533 EOF
9534  
9535 else
9536   echo "$ac_t""no" 1>&6
9537 fi
9538 done
9539     
9540   fi
9541
9542   
9543   echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9544 echo "configure:9545: checking for floorl declaration" >&5
9545   if test x${glibcpp_cv_func_floorl_use+set} != xset; then
9546     if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9547   echo $ac_n "(cached) $ac_c" 1>&6
9548 else
9549   
9550       
9551       ac_ext=C
9552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9553 ac_cpp='$CXXCPP $CPPFLAGS'
9554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9556 cross_compiling=$ac_cv_prog_cxx_cross
9557
9558       cat > conftest.$ac_ext <<EOF
9559 #line 9560 "configure"
9560 #include "confdefs.h"
9561 #include <math.h>
9562 int main() {
9563  floorl(0);
9564 ; return 0; }
9565 EOF
9566 if { (eval echo configure:9567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9567   rm -rf conftest*
9568   glibcpp_cv_func_floorl_use=yes
9569 else
9570   echo "configure: failed program was:" >&5
9571   cat conftest.$ac_ext >&5
9572   rm -rf conftest*
9573   glibcpp_cv_func_floorl_use=no
9574 fi
9575 rm -f conftest*
9576       ac_ext=c
9577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9578 ac_cpp='$CPP $CPPFLAGS'
9579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9581 cross_compiling=$ac_cv_prog_cc_cross
9582
9583     
9584 fi
9585
9586   fi
9587   echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9588   if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9589     for ac_func in floorl
9590 do
9591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9592 echo "configure:9593: checking for $ac_func" >&5
9593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9594   echo $ac_n "(cached) $ac_c" 1>&6
9595 else
9596   cat > conftest.$ac_ext <<EOF
9597 #line 9598 "configure"
9598 #include "confdefs.h"
9599 /* System header to define __stub macros and hopefully few prototypes,
9600     which can conflict with char $ac_func(); below.  */
9601 #include <assert.h>
9602 /* Override any gcc2 internal prototype to avoid an error.  */
9603 /* We use char because int might match the return type of a gcc2
9604     builtin and then its argument prototype would still apply.  */
9605 char $ac_func();
9606
9607 int main() {
9608
9609 /* The GNU C library defines this for functions which it implements
9610     to always fail with ENOSYS.  Some functions are actually named
9611     something starting with __ and the normal name is an alias.  */
9612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9613 choke me
9614 #else
9615 $ac_func();
9616 #endif
9617
9618 ; return 0; }
9619 EOF
9620 if { (eval echo configure:9621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9621   rm -rf conftest*
9622   eval "ac_cv_func_$ac_func=yes"
9623 else
9624   echo "configure: failed program was:" >&5
9625   cat conftest.$ac_ext >&5
9626   rm -rf conftest*
9627   eval "ac_cv_func_$ac_func=no"
9628 fi
9629 rm -f conftest*
9630 fi
9631
9632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9633   echo "$ac_t""yes" 1>&6
9634     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9635   cat >> confdefs.h <<EOF
9636 #define $ac_tr_func 1
9637 EOF
9638  
9639 else
9640   echo "$ac_t""no" 1>&6
9641 fi
9642 done
9643     
9644   fi
9645
9646   
9647   echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9648 echo "configure:9649: checking for fmodl declaration" >&5
9649   if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
9650     if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9651   echo $ac_n "(cached) $ac_c" 1>&6
9652 else
9653   
9654       
9655       ac_ext=C
9656 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9657 ac_cpp='$CXXCPP $CPPFLAGS'
9658 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9659 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9660 cross_compiling=$ac_cv_prog_cxx_cross
9661
9662       cat > conftest.$ac_ext <<EOF
9663 #line 9664 "configure"
9664 #include "confdefs.h"
9665 #include <math.h>
9666 int main() {
9667  fmodl(0, 0);
9668 ; return 0; }
9669 EOF
9670 if { (eval echo configure:9671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9671   rm -rf conftest*
9672   glibcpp_cv_func_fmodl_use=yes
9673 else
9674   echo "configure: failed program was:" >&5
9675   cat conftest.$ac_ext >&5
9676   rm -rf conftest*
9677   glibcpp_cv_func_fmodl_use=no
9678 fi
9679 rm -f conftest*
9680       ac_ext=c
9681 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9682 ac_cpp='$CPP $CPPFLAGS'
9683 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9684 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9685 cross_compiling=$ac_cv_prog_cc_cross
9686
9687     
9688 fi
9689
9690   fi
9691   echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9692   if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9693     for ac_func in fmodl
9694 do
9695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9696 echo "configure:9697: checking for $ac_func" >&5
9697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9698   echo $ac_n "(cached) $ac_c" 1>&6
9699 else
9700   cat > conftest.$ac_ext <<EOF
9701 #line 9702 "configure"
9702 #include "confdefs.h"
9703 /* System header to define __stub macros and hopefully few prototypes,
9704     which can conflict with char $ac_func(); below.  */
9705 #include <assert.h>
9706 /* Override any gcc2 internal prototype to avoid an error.  */
9707 /* We use char because int might match the return type of a gcc2
9708     builtin and then its argument prototype would still apply.  */
9709 char $ac_func();
9710
9711 int main() {
9712
9713 /* The GNU C library defines this for functions which it implements
9714     to always fail with ENOSYS.  Some functions are actually named
9715     something starting with __ and the normal name is an alias.  */
9716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9717 choke me
9718 #else
9719 $ac_func();
9720 #endif
9721
9722 ; return 0; }
9723 EOF
9724 if { (eval echo configure:9725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9725   rm -rf conftest*
9726   eval "ac_cv_func_$ac_func=yes"
9727 else
9728   echo "configure: failed program was:" >&5
9729   cat conftest.$ac_ext >&5
9730   rm -rf conftest*
9731   eval "ac_cv_func_$ac_func=no"
9732 fi
9733 rm -f conftest*
9734 fi
9735
9736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9737   echo "$ac_t""yes" 1>&6
9738     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9739   cat >> confdefs.h <<EOF
9740 #define $ac_tr_func 1
9741 EOF
9742  
9743 else
9744   echo "$ac_t""no" 1>&6
9745 fi
9746 done
9747     
9748   fi
9749
9750   
9751   echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9752 echo "configure:9753: checking for frexpl declaration" >&5
9753   if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
9754     if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9755   echo $ac_n "(cached) $ac_c" 1>&6
9756 else
9757   
9758       
9759       ac_ext=C
9760 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9761 ac_cpp='$CXXCPP $CPPFLAGS'
9762 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9763 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9764 cross_compiling=$ac_cv_prog_cxx_cross
9765
9766       cat > conftest.$ac_ext <<EOF
9767 #line 9768 "configure"
9768 #include "confdefs.h"
9769 #include <math.h>
9770 int main() {
9771  frexpl(0, 0);
9772 ; return 0; }
9773 EOF
9774 if { (eval echo configure:9775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9775   rm -rf conftest*
9776   glibcpp_cv_func_frexpl_use=yes
9777 else
9778   echo "configure: failed program was:" >&5
9779   cat conftest.$ac_ext >&5
9780   rm -rf conftest*
9781   glibcpp_cv_func_frexpl_use=no
9782 fi
9783 rm -f conftest*
9784       ac_ext=c
9785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9786 ac_cpp='$CPP $CPPFLAGS'
9787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9789 cross_compiling=$ac_cv_prog_cc_cross
9790
9791     
9792 fi
9793
9794   fi
9795   echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9796   if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9797     for ac_func in frexpl
9798 do
9799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9800 echo "configure:9801: checking for $ac_func" >&5
9801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9802   echo $ac_n "(cached) $ac_c" 1>&6
9803 else
9804   cat > conftest.$ac_ext <<EOF
9805 #line 9806 "configure"
9806 #include "confdefs.h"
9807 /* System header to define __stub macros and hopefully few prototypes,
9808     which can conflict with char $ac_func(); below.  */
9809 #include <assert.h>
9810 /* Override any gcc2 internal prototype to avoid an error.  */
9811 /* We use char because int might match the return type of a gcc2
9812     builtin and then its argument prototype would still apply.  */
9813 char $ac_func();
9814
9815 int main() {
9816
9817 /* The GNU C library defines this for functions which it implements
9818     to always fail with ENOSYS.  Some functions are actually named
9819     something starting with __ and the normal name is an alias.  */
9820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9821 choke me
9822 #else
9823 $ac_func();
9824 #endif
9825
9826 ; return 0; }
9827 EOF
9828 if { (eval echo configure:9829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9829   rm -rf conftest*
9830   eval "ac_cv_func_$ac_func=yes"
9831 else
9832   echo "configure: failed program was:" >&5
9833   cat conftest.$ac_ext >&5
9834   rm -rf conftest*
9835   eval "ac_cv_func_$ac_func=no"
9836 fi
9837 rm -f conftest*
9838 fi
9839
9840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9841   echo "$ac_t""yes" 1>&6
9842     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9843   cat >> confdefs.h <<EOF
9844 #define $ac_tr_func 1
9845 EOF
9846  
9847 else
9848   echo "$ac_t""no" 1>&6
9849 fi
9850 done
9851     
9852   fi
9853
9854   
9855   echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9856 echo "configure:9857: checking for ldexpl declaration" >&5
9857   if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
9858     if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9859   echo $ac_n "(cached) $ac_c" 1>&6
9860 else
9861   
9862       
9863       ac_ext=C
9864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9865 ac_cpp='$CXXCPP $CPPFLAGS'
9866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9868 cross_compiling=$ac_cv_prog_cxx_cross
9869
9870       cat > conftest.$ac_ext <<EOF
9871 #line 9872 "configure"
9872 #include "confdefs.h"
9873 #include <math.h>
9874 int main() {
9875  ldexpl(0, 0);
9876 ; return 0; }
9877 EOF
9878 if { (eval echo configure:9879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9879   rm -rf conftest*
9880   glibcpp_cv_func_ldexpl_use=yes
9881 else
9882   echo "configure: failed program was:" >&5
9883   cat conftest.$ac_ext >&5
9884   rm -rf conftest*
9885   glibcpp_cv_func_ldexpl_use=no
9886 fi
9887 rm -f conftest*
9888       ac_ext=c
9889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9890 ac_cpp='$CPP $CPPFLAGS'
9891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9893 cross_compiling=$ac_cv_prog_cc_cross
9894
9895     
9896 fi
9897
9898   fi
9899   echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9900   if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9901     for ac_func in ldexpl
9902 do
9903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9904 echo "configure:9905: checking for $ac_func" >&5
9905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9906   echo $ac_n "(cached) $ac_c" 1>&6
9907 else
9908   cat > conftest.$ac_ext <<EOF
9909 #line 9910 "configure"
9910 #include "confdefs.h"
9911 /* System header to define __stub macros and hopefully few prototypes,
9912     which can conflict with char $ac_func(); below.  */
9913 #include <assert.h>
9914 /* Override any gcc2 internal prototype to avoid an error.  */
9915 /* We use char because int might match the return type of a gcc2
9916     builtin and then its argument prototype would still apply.  */
9917 char $ac_func();
9918
9919 int main() {
9920
9921 /* The GNU C library defines this for functions which it implements
9922     to always fail with ENOSYS.  Some functions are actually named
9923     something starting with __ and the normal name is an alias.  */
9924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9925 choke me
9926 #else
9927 $ac_func();
9928 #endif
9929
9930 ; return 0; }
9931 EOF
9932 if { (eval echo configure:9933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9933   rm -rf conftest*
9934   eval "ac_cv_func_$ac_func=yes"
9935 else
9936   echo "configure: failed program was:" >&5
9937   cat conftest.$ac_ext >&5
9938   rm -rf conftest*
9939   eval "ac_cv_func_$ac_func=no"
9940 fi
9941 rm -f conftest*
9942 fi
9943
9944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9945   echo "$ac_t""yes" 1>&6
9946     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9947   cat >> confdefs.h <<EOF
9948 #define $ac_tr_func 1
9949 EOF
9950  
9951 else
9952   echo "$ac_t""no" 1>&6
9953 fi
9954 done
9955     
9956   fi
9957
9958   
9959   echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9960 echo "configure:9961: checking for logl declaration" >&5
9961   if test x${glibcpp_cv_func_logl_use+set} != xset; then
9962     if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9963   echo $ac_n "(cached) $ac_c" 1>&6
9964 else
9965   
9966       
9967       ac_ext=C
9968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9969 ac_cpp='$CXXCPP $CPPFLAGS'
9970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9972 cross_compiling=$ac_cv_prog_cxx_cross
9973
9974       cat > conftest.$ac_ext <<EOF
9975 #line 9976 "configure"
9976 #include "confdefs.h"
9977 #include <math.h>
9978 int main() {
9979  logl(0);
9980 ; return 0; }
9981 EOF
9982 if { (eval echo configure:9983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9983   rm -rf conftest*
9984   glibcpp_cv_func_logl_use=yes
9985 else
9986   echo "configure: failed program was:" >&5
9987   cat conftest.$ac_ext >&5
9988   rm -rf conftest*
9989   glibcpp_cv_func_logl_use=no
9990 fi
9991 rm -f conftest*
9992       ac_ext=c
9993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9994 ac_cpp='$CPP $CPPFLAGS'
9995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9997 cross_compiling=$ac_cv_prog_cc_cross
9998
9999     
10000 fi
10001
10002   fi
10003   echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
10004   if test x$glibcpp_cv_func_logl_use = x"yes"; then
10005     for ac_func in logl
10006 do
10007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10008 echo "configure:10009: checking for $ac_func" >&5
10009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10010   echo $ac_n "(cached) $ac_c" 1>&6
10011 else
10012   cat > conftest.$ac_ext <<EOF
10013 #line 10014 "configure"
10014 #include "confdefs.h"
10015 /* System header to define __stub macros and hopefully few prototypes,
10016     which can conflict with char $ac_func(); below.  */
10017 #include <assert.h>
10018 /* Override any gcc2 internal prototype to avoid an error.  */
10019 /* We use char because int might match the return type of a gcc2
10020     builtin and then its argument prototype would still apply.  */
10021 char $ac_func();
10022
10023 int main() {
10024
10025 /* The GNU C library defines this for functions which it implements
10026     to always fail with ENOSYS.  Some functions are actually named
10027     something starting with __ and the normal name is an alias.  */
10028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10029 choke me
10030 #else
10031 $ac_func();
10032 #endif
10033
10034 ; return 0; }
10035 EOF
10036 if { (eval echo configure:10037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10037   rm -rf conftest*
10038   eval "ac_cv_func_$ac_func=yes"
10039 else
10040   echo "configure: failed program was:" >&5
10041   cat conftest.$ac_ext >&5
10042   rm -rf conftest*
10043   eval "ac_cv_func_$ac_func=no"
10044 fi
10045 rm -f conftest*
10046 fi
10047
10048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10049   echo "$ac_t""yes" 1>&6
10050     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10051   cat >> confdefs.h <<EOF
10052 #define $ac_tr_func 1
10053 EOF
10054  
10055 else
10056   echo "$ac_t""no" 1>&6
10057 fi
10058 done
10059     
10060   fi
10061
10062   
10063   echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
10064 echo "configure:10065: checking for log10l declaration" >&5
10065   if test x${glibcpp_cv_func_log10l_use+set} != xset; then
10066     if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
10067   echo $ac_n "(cached) $ac_c" 1>&6
10068 else
10069   
10070       
10071       ac_ext=C
10072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10073 ac_cpp='$CXXCPP $CPPFLAGS'
10074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10076 cross_compiling=$ac_cv_prog_cxx_cross
10077
10078       cat > conftest.$ac_ext <<EOF
10079 #line 10080 "configure"
10080 #include "confdefs.h"
10081 #include <math.h>
10082 int main() {
10083  log10l(0);
10084 ; return 0; }
10085 EOF
10086 if { (eval echo configure:10087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10087   rm -rf conftest*
10088   glibcpp_cv_func_log10l_use=yes
10089 else
10090   echo "configure: failed program was:" >&5
10091   cat conftest.$ac_ext >&5
10092   rm -rf conftest*
10093   glibcpp_cv_func_log10l_use=no
10094 fi
10095 rm -f conftest*
10096       ac_ext=c
10097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10098 ac_cpp='$CPP $CPPFLAGS'
10099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10101 cross_compiling=$ac_cv_prog_cc_cross
10102
10103     
10104 fi
10105
10106   fi
10107   echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
10108   if test x$glibcpp_cv_func_log10l_use = x"yes"; then
10109     for ac_func in log10l
10110 do
10111 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10112 echo "configure:10113: checking for $ac_func" >&5
10113 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10114   echo $ac_n "(cached) $ac_c" 1>&6
10115 else
10116   cat > conftest.$ac_ext <<EOF
10117 #line 10118 "configure"
10118 #include "confdefs.h"
10119 /* System header to define __stub macros and hopefully few prototypes,
10120     which can conflict with char $ac_func(); below.  */
10121 #include <assert.h>
10122 /* Override any gcc2 internal prototype to avoid an error.  */
10123 /* We use char because int might match the return type of a gcc2
10124     builtin and then its argument prototype would still apply.  */
10125 char $ac_func();
10126
10127 int main() {
10128
10129 /* The GNU C library defines this for functions which it implements
10130     to always fail with ENOSYS.  Some functions are actually named
10131     something starting with __ and the normal name is an alias.  */
10132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10133 choke me
10134 #else
10135 $ac_func();
10136 #endif
10137
10138 ; return 0; }
10139 EOF
10140 if { (eval echo configure:10141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10141   rm -rf conftest*
10142   eval "ac_cv_func_$ac_func=yes"
10143 else
10144   echo "configure: failed program was:" >&5
10145   cat conftest.$ac_ext >&5
10146   rm -rf conftest*
10147   eval "ac_cv_func_$ac_func=no"
10148 fi
10149 rm -f conftest*
10150 fi
10151
10152 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10153   echo "$ac_t""yes" 1>&6
10154     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10155   cat >> confdefs.h <<EOF
10156 #define $ac_tr_func 1
10157 EOF
10158  
10159 else
10160   echo "$ac_t""no" 1>&6
10161 fi
10162 done
10163     
10164   fi
10165
10166   
10167   echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
10168 echo "configure:10169: checking for modfl declaration" >&5
10169   if test x${glibcpp_cv_func_modfl_use+set} != xset; then
10170     if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
10171   echo $ac_n "(cached) $ac_c" 1>&6
10172 else
10173   
10174       
10175       ac_ext=C
10176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10177 ac_cpp='$CXXCPP $CPPFLAGS'
10178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10180 cross_compiling=$ac_cv_prog_cxx_cross
10181
10182       cat > conftest.$ac_ext <<EOF
10183 #line 10184 "configure"
10184 #include "confdefs.h"
10185 #include <math.h>
10186 int main() {
10187  modfl(0, 0);
10188 ; return 0; }
10189 EOF
10190 if { (eval echo configure:10191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10191   rm -rf conftest*
10192   glibcpp_cv_func_modfl_use=yes
10193 else
10194   echo "configure: failed program was:" >&5
10195   cat conftest.$ac_ext >&5
10196   rm -rf conftest*
10197   glibcpp_cv_func_modfl_use=no
10198 fi
10199 rm -f conftest*
10200       ac_ext=c
10201 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10202 ac_cpp='$CPP $CPPFLAGS'
10203 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10204 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10205 cross_compiling=$ac_cv_prog_cc_cross
10206
10207     
10208 fi
10209
10210   fi
10211   echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
10212   if test x$glibcpp_cv_func_modfl_use = x"yes"; then
10213     for ac_func in modfl
10214 do
10215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10216 echo "configure:10217: checking for $ac_func" >&5
10217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10218   echo $ac_n "(cached) $ac_c" 1>&6
10219 else
10220   cat > conftest.$ac_ext <<EOF
10221 #line 10222 "configure"
10222 #include "confdefs.h"
10223 /* System header to define __stub macros and hopefully few prototypes,
10224     which can conflict with char $ac_func(); below.  */
10225 #include <assert.h>
10226 /* Override any gcc2 internal prototype to avoid an error.  */
10227 /* We use char because int might match the return type of a gcc2
10228     builtin and then its argument prototype would still apply.  */
10229 char $ac_func();
10230
10231 int main() {
10232
10233 /* The GNU C library defines this for functions which it implements
10234     to always fail with ENOSYS.  Some functions are actually named
10235     something starting with __ and the normal name is an alias.  */
10236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10237 choke me
10238 #else
10239 $ac_func();
10240 #endif
10241
10242 ; return 0; }
10243 EOF
10244 if { (eval echo configure:10245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10245   rm -rf conftest*
10246   eval "ac_cv_func_$ac_func=yes"
10247 else
10248   echo "configure: failed program was:" >&5
10249   cat conftest.$ac_ext >&5
10250   rm -rf conftest*
10251   eval "ac_cv_func_$ac_func=no"
10252 fi
10253 rm -f conftest*
10254 fi
10255
10256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10257   echo "$ac_t""yes" 1>&6
10258     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10259   cat >> confdefs.h <<EOF
10260 #define $ac_tr_func 1
10261 EOF
10262  
10263 else
10264   echo "$ac_t""no" 1>&6
10265 fi
10266 done
10267     
10268   fi
10269
10270   
10271   echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10272 echo "configure:10273: checking for powl declaration" >&5
10273   if test x${glibcpp_cv_func_powl_use+set} != xset; then
10274     if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10275   echo $ac_n "(cached) $ac_c" 1>&6
10276 else
10277   
10278       
10279       ac_ext=C
10280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10281 ac_cpp='$CXXCPP $CPPFLAGS'
10282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10284 cross_compiling=$ac_cv_prog_cxx_cross
10285
10286       cat > conftest.$ac_ext <<EOF
10287 #line 10288 "configure"
10288 #include "confdefs.h"
10289 #include <math.h>
10290 int main() {
10291  powl(0, 0);
10292 ; return 0; }
10293 EOF
10294 if { (eval echo configure:10295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10295   rm -rf conftest*
10296   glibcpp_cv_func_powl_use=yes
10297 else
10298   echo "configure: failed program was:" >&5
10299   cat conftest.$ac_ext >&5
10300   rm -rf conftest*
10301   glibcpp_cv_func_powl_use=no
10302 fi
10303 rm -f conftest*
10304       ac_ext=c
10305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10306 ac_cpp='$CPP $CPPFLAGS'
10307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10309 cross_compiling=$ac_cv_prog_cc_cross
10310
10311     
10312 fi
10313
10314   fi
10315   echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10316   if test x$glibcpp_cv_func_powl_use = x"yes"; then
10317     for ac_func in powl
10318 do
10319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10320 echo "configure:10321: checking for $ac_func" >&5
10321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10322   echo $ac_n "(cached) $ac_c" 1>&6
10323 else
10324   cat > conftest.$ac_ext <<EOF
10325 #line 10326 "configure"
10326 #include "confdefs.h"
10327 /* System header to define __stub macros and hopefully few prototypes,
10328     which can conflict with char $ac_func(); below.  */
10329 #include <assert.h>
10330 /* Override any gcc2 internal prototype to avoid an error.  */
10331 /* We use char because int might match the return type of a gcc2
10332     builtin and then its argument prototype would still apply.  */
10333 char $ac_func();
10334
10335 int main() {
10336
10337 /* The GNU C library defines this for functions which it implements
10338     to always fail with ENOSYS.  Some functions are actually named
10339     something starting with __ and the normal name is an alias.  */
10340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10341 choke me
10342 #else
10343 $ac_func();
10344 #endif
10345
10346 ; return 0; }
10347 EOF
10348 if { (eval echo configure:10349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10349   rm -rf conftest*
10350   eval "ac_cv_func_$ac_func=yes"
10351 else
10352   echo "configure: failed program was:" >&5
10353   cat conftest.$ac_ext >&5
10354   rm -rf conftest*
10355   eval "ac_cv_func_$ac_func=no"
10356 fi
10357 rm -f conftest*
10358 fi
10359
10360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10361   echo "$ac_t""yes" 1>&6
10362     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10363   cat >> confdefs.h <<EOF
10364 #define $ac_tr_func 1
10365 EOF
10366  
10367 else
10368   echo "$ac_t""no" 1>&6
10369 fi
10370 done
10371     
10372   fi
10373
10374   
10375   echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10376 echo "configure:10377: checking for sinl declaration" >&5
10377   if test x${glibcpp_cv_func_sinl_use+set} != xset; then
10378     if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10379   echo $ac_n "(cached) $ac_c" 1>&6
10380 else
10381   
10382       
10383       ac_ext=C
10384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10385 ac_cpp='$CXXCPP $CPPFLAGS'
10386 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10387 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10388 cross_compiling=$ac_cv_prog_cxx_cross
10389
10390       cat > conftest.$ac_ext <<EOF
10391 #line 10392 "configure"
10392 #include "confdefs.h"
10393 #include <math.h>
10394 int main() {
10395  sinl(0);
10396 ; return 0; }
10397 EOF
10398 if { (eval echo configure:10399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10399   rm -rf conftest*
10400   glibcpp_cv_func_sinl_use=yes
10401 else
10402   echo "configure: failed program was:" >&5
10403   cat conftest.$ac_ext >&5
10404   rm -rf conftest*
10405   glibcpp_cv_func_sinl_use=no
10406 fi
10407 rm -f conftest*
10408       ac_ext=c
10409 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10410 ac_cpp='$CPP $CPPFLAGS'
10411 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10412 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10413 cross_compiling=$ac_cv_prog_cc_cross
10414
10415     
10416 fi
10417
10418   fi
10419   echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10420   if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10421     for ac_func in sinl
10422 do
10423 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10424 echo "configure:10425: checking for $ac_func" >&5
10425 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10426   echo $ac_n "(cached) $ac_c" 1>&6
10427 else
10428   cat > conftest.$ac_ext <<EOF
10429 #line 10430 "configure"
10430 #include "confdefs.h"
10431 /* System header to define __stub macros and hopefully few prototypes,
10432     which can conflict with char $ac_func(); below.  */
10433 #include <assert.h>
10434 /* Override any gcc2 internal prototype to avoid an error.  */
10435 /* We use char because int might match the return type of a gcc2
10436     builtin and then its argument prototype would still apply.  */
10437 char $ac_func();
10438
10439 int main() {
10440
10441 /* The GNU C library defines this for functions which it implements
10442     to always fail with ENOSYS.  Some functions are actually named
10443     something starting with __ and the normal name is an alias.  */
10444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10445 choke me
10446 #else
10447 $ac_func();
10448 #endif
10449
10450 ; return 0; }
10451 EOF
10452 if { (eval echo configure:10453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10453   rm -rf conftest*
10454   eval "ac_cv_func_$ac_func=yes"
10455 else
10456   echo "configure: failed program was:" >&5
10457   cat conftest.$ac_ext >&5
10458   rm -rf conftest*
10459   eval "ac_cv_func_$ac_func=no"
10460 fi
10461 rm -f conftest*
10462 fi
10463
10464 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10465   echo "$ac_t""yes" 1>&6
10466     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10467   cat >> confdefs.h <<EOF
10468 #define $ac_tr_func 1
10469 EOF
10470  
10471 else
10472   echo "$ac_t""no" 1>&6
10473 fi
10474 done
10475     
10476   fi
10477
10478   
10479   echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10480 echo "configure:10481: checking for sinhl declaration" >&5
10481   if test x${glibcpp_cv_func_sinhl_use+set} != xset; then
10482     if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10483   echo $ac_n "(cached) $ac_c" 1>&6
10484 else
10485   
10486       
10487       ac_ext=C
10488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10489 ac_cpp='$CXXCPP $CPPFLAGS'
10490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10492 cross_compiling=$ac_cv_prog_cxx_cross
10493
10494       cat > conftest.$ac_ext <<EOF
10495 #line 10496 "configure"
10496 #include "confdefs.h"
10497 #include <math.h>
10498 int main() {
10499  sinhl(0);
10500 ; return 0; }
10501 EOF
10502 if { (eval echo configure:10503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10503   rm -rf conftest*
10504   glibcpp_cv_func_sinhl_use=yes
10505 else
10506   echo "configure: failed program was:" >&5
10507   cat conftest.$ac_ext >&5
10508   rm -rf conftest*
10509   glibcpp_cv_func_sinhl_use=no
10510 fi
10511 rm -f conftest*
10512       ac_ext=c
10513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10514 ac_cpp='$CPP $CPPFLAGS'
10515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10517 cross_compiling=$ac_cv_prog_cc_cross
10518
10519     
10520 fi
10521
10522   fi
10523   echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10524   if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10525     for ac_func in sinhl
10526 do
10527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10528 echo "configure:10529: checking for $ac_func" >&5
10529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10530   echo $ac_n "(cached) $ac_c" 1>&6
10531 else
10532   cat > conftest.$ac_ext <<EOF
10533 #line 10534 "configure"
10534 #include "confdefs.h"
10535 /* System header to define __stub macros and hopefully few prototypes,
10536     which can conflict with char $ac_func(); below.  */
10537 #include <assert.h>
10538 /* Override any gcc2 internal prototype to avoid an error.  */
10539 /* We use char because int might match the return type of a gcc2
10540     builtin and then its argument prototype would still apply.  */
10541 char $ac_func();
10542
10543 int main() {
10544
10545 /* The GNU C library defines this for functions which it implements
10546     to always fail with ENOSYS.  Some functions are actually named
10547     something starting with __ and the normal name is an alias.  */
10548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10549 choke me
10550 #else
10551 $ac_func();
10552 #endif
10553
10554 ; return 0; }
10555 EOF
10556 if { (eval echo configure:10557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10557   rm -rf conftest*
10558   eval "ac_cv_func_$ac_func=yes"
10559 else
10560   echo "configure: failed program was:" >&5
10561   cat conftest.$ac_ext >&5
10562   rm -rf conftest*
10563   eval "ac_cv_func_$ac_func=no"
10564 fi
10565 rm -f conftest*
10566 fi
10567
10568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10569   echo "$ac_t""yes" 1>&6
10570     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10571   cat >> confdefs.h <<EOF
10572 #define $ac_tr_func 1
10573 EOF
10574  
10575 else
10576   echo "$ac_t""no" 1>&6
10577 fi
10578 done
10579     
10580   fi
10581
10582   
10583   echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10584 echo "configure:10585: checking for sqrtl declaration" >&5
10585   if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
10586     if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10587   echo $ac_n "(cached) $ac_c" 1>&6
10588 else
10589   
10590       
10591       ac_ext=C
10592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10593 ac_cpp='$CXXCPP $CPPFLAGS'
10594 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10595 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10596 cross_compiling=$ac_cv_prog_cxx_cross
10597
10598       cat > conftest.$ac_ext <<EOF
10599 #line 10600 "configure"
10600 #include "confdefs.h"
10601 #include <math.h>
10602 int main() {
10603  sqrtl(0);
10604 ; return 0; }
10605 EOF
10606 if { (eval echo configure:10607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10607   rm -rf conftest*
10608   glibcpp_cv_func_sqrtl_use=yes
10609 else
10610   echo "configure: failed program was:" >&5
10611   cat conftest.$ac_ext >&5
10612   rm -rf conftest*
10613   glibcpp_cv_func_sqrtl_use=no
10614 fi
10615 rm -f conftest*
10616       ac_ext=c
10617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10618 ac_cpp='$CPP $CPPFLAGS'
10619 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10620 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10621 cross_compiling=$ac_cv_prog_cc_cross
10622
10623     
10624 fi
10625
10626   fi
10627   echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10628   if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10629     for ac_func in sqrtl
10630 do
10631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10632 echo "configure:10633: checking for $ac_func" >&5
10633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10634   echo $ac_n "(cached) $ac_c" 1>&6
10635 else
10636   cat > conftest.$ac_ext <<EOF
10637 #line 10638 "configure"
10638 #include "confdefs.h"
10639 /* System header to define __stub macros and hopefully few prototypes,
10640     which can conflict with char $ac_func(); below.  */
10641 #include <assert.h>
10642 /* Override any gcc2 internal prototype to avoid an error.  */
10643 /* We use char because int might match the return type of a gcc2
10644     builtin and then its argument prototype would still apply.  */
10645 char $ac_func();
10646
10647 int main() {
10648
10649 /* The GNU C library defines this for functions which it implements
10650     to always fail with ENOSYS.  Some functions are actually named
10651     something starting with __ and the normal name is an alias.  */
10652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10653 choke me
10654 #else
10655 $ac_func();
10656 #endif
10657
10658 ; return 0; }
10659 EOF
10660 if { (eval echo configure:10661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10661   rm -rf conftest*
10662   eval "ac_cv_func_$ac_func=yes"
10663 else
10664   echo "configure: failed program was:" >&5
10665   cat conftest.$ac_ext >&5
10666   rm -rf conftest*
10667   eval "ac_cv_func_$ac_func=no"
10668 fi
10669 rm -f conftest*
10670 fi
10671
10672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10673   echo "$ac_t""yes" 1>&6
10674     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10675   cat >> confdefs.h <<EOF
10676 #define $ac_tr_func 1
10677 EOF
10678  
10679 else
10680   echo "$ac_t""no" 1>&6
10681 fi
10682 done
10683     
10684   fi
10685
10686   
10687   echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10688 echo "configure:10689: checking for tanl declaration" >&5
10689   if test x${glibcpp_cv_func_tanl_use+set} != xset; then
10690     if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10691   echo $ac_n "(cached) $ac_c" 1>&6
10692 else
10693   
10694       
10695       ac_ext=C
10696 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10697 ac_cpp='$CXXCPP $CPPFLAGS'
10698 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10699 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10700 cross_compiling=$ac_cv_prog_cxx_cross
10701
10702       cat > conftest.$ac_ext <<EOF
10703 #line 10704 "configure"
10704 #include "confdefs.h"
10705 #include <math.h>
10706 int main() {
10707  tanl(0);
10708 ; return 0; }
10709 EOF
10710 if { (eval echo configure:10711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10711   rm -rf conftest*
10712   glibcpp_cv_func_tanl_use=yes
10713 else
10714   echo "configure: failed program was:" >&5
10715   cat conftest.$ac_ext >&5
10716   rm -rf conftest*
10717   glibcpp_cv_func_tanl_use=no
10718 fi
10719 rm -f conftest*
10720       ac_ext=c
10721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10722 ac_cpp='$CPP $CPPFLAGS'
10723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10725 cross_compiling=$ac_cv_prog_cc_cross
10726
10727     
10728 fi
10729
10730   fi
10731   echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10732   if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10733     for ac_func in tanl
10734 do
10735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10736 echo "configure:10737: checking for $ac_func" >&5
10737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10738   echo $ac_n "(cached) $ac_c" 1>&6
10739 else
10740   cat > conftest.$ac_ext <<EOF
10741 #line 10742 "configure"
10742 #include "confdefs.h"
10743 /* System header to define __stub macros and hopefully few prototypes,
10744     which can conflict with char $ac_func(); below.  */
10745 #include <assert.h>
10746 /* Override any gcc2 internal prototype to avoid an error.  */
10747 /* We use char because int might match the return type of a gcc2
10748     builtin and then its argument prototype would still apply.  */
10749 char $ac_func();
10750
10751 int main() {
10752
10753 /* The GNU C library defines this for functions which it implements
10754     to always fail with ENOSYS.  Some functions are actually named
10755     something starting with __ and the normal name is an alias.  */
10756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10757 choke me
10758 #else
10759 $ac_func();
10760 #endif
10761
10762 ; return 0; }
10763 EOF
10764 if { (eval echo configure:10765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10765   rm -rf conftest*
10766   eval "ac_cv_func_$ac_func=yes"
10767 else
10768   echo "configure: failed program was:" >&5
10769   cat conftest.$ac_ext >&5
10770   rm -rf conftest*
10771   eval "ac_cv_func_$ac_func=no"
10772 fi
10773 rm -f conftest*
10774 fi
10775
10776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10777   echo "$ac_t""yes" 1>&6
10778     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10779   cat >> confdefs.h <<EOF
10780 #define $ac_tr_func 1
10781 EOF
10782  
10783 else
10784   echo "$ac_t""no" 1>&6
10785 fi
10786 done
10787     
10788   fi
10789
10790   
10791   echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10792 echo "configure:10793: checking for tanhl declaration" >&5
10793   if test x${glibcpp_cv_func_tanhl_use+set} != xset; then
10794     if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10795   echo $ac_n "(cached) $ac_c" 1>&6
10796 else
10797   
10798       
10799       ac_ext=C
10800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10801 ac_cpp='$CXXCPP $CPPFLAGS'
10802 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10803 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10804 cross_compiling=$ac_cv_prog_cxx_cross
10805
10806       cat > conftest.$ac_ext <<EOF
10807 #line 10808 "configure"
10808 #include "confdefs.h"
10809 #include <math.h>
10810 int main() {
10811  tanhl(0);
10812 ; return 0; }
10813 EOF
10814 if { (eval echo configure:10815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10815   rm -rf conftest*
10816   glibcpp_cv_func_tanhl_use=yes
10817 else
10818   echo "configure: failed program was:" >&5
10819   cat conftest.$ac_ext >&5
10820   rm -rf conftest*
10821   glibcpp_cv_func_tanhl_use=no
10822 fi
10823 rm -f conftest*
10824       ac_ext=c
10825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10826 ac_cpp='$CPP $CPPFLAGS'
10827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10829 cross_compiling=$ac_cv_prog_cc_cross
10830
10831     
10832 fi
10833
10834   fi
10835   echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10836   if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10837     for ac_func in tanhl
10838 do
10839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10840 echo "configure:10841: checking for $ac_func" >&5
10841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10842   echo $ac_n "(cached) $ac_c" 1>&6
10843 else
10844   cat > conftest.$ac_ext <<EOF
10845 #line 10846 "configure"
10846 #include "confdefs.h"
10847 /* System header to define __stub macros and hopefully few prototypes,
10848     which can conflict with char $ac_func(); below.  */
10849 #include <assert.h>
10850 /* Override any gcc2 internal prototype to avoid an error.  */
10851 /* We use char because int might match the return type of a gcc2
10852     builtin and then its argument prototype would still apply.  */
10853 char $ac_func();
10854
10855 int main() {
10856
10857 /* The GNU C library defines this for functions which it implements
10858     to always fail with ENOSYS.  Some functions are actually named
10859     something starting with __ and the normal name is an alias.  */
10860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10861 choke me
10862 #else
10863 $ac_func();
10864 #endif
10865
10866 ; return 0; }
10867 EOF
10868 if { (eval echo configure:10869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10869   rm -rf conftest*
10870   eval "ac_cv_func_$ac_func=yes"
10871 else
10872   echo "configure: failed program was:" >&5
10873   cat conftest.$ac_ext >&5
10874   rm -rf conftest*
10875   eval "ac_cv_func_$ac_func=no"
10876 fi
10877 rm -f conftest*
10878 fi
10879
10880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10881   echo "$ac_t""yes" 1>&6
10882     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10883   cat >> confdefs.h <<EOF
10884 #define $ac_tr_func 1
10885 EOF
10886  
10887 else
10888   echo "$ac_t""no" 1>&6
10889 fi
10890 done
10891     
10892   fi
10893
10894   
10895   echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10896 echo "configure:10897: checking for sincosl declaration" >&5
10897   if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
10898     if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10899   echo $ac_n "(cached) $ac_c" 1>&6
10900 else
10901   
10902       
10903       ac_ext=C
10904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10905 ac_cpp='$CXXCPP $CPPFLAGS'
10906 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10907 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10908 cross_compiling=$ac_cv_prog_cxx_cross
10909
10910       cat > conftest.$ac_ext <<EOF
10911 #line 10912 "configure"
10912 #include "confdefs.h"
10913 #include <math.h>
10914 int main() {
10915  sincosl(0, 0, 0);
10916 ; return 0; }
10917 EOF
10918 if { (eval echo configure:10919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10919   rm -rf conftest*
10920   glibcpp_cv_func_sincosl_use=yes
10921 else
10922   echo "configure: failed program was:" >&5
10923   cat conftest.$ac_ext >&5
10924   rm -rf conftest*
10925   glibcpp_cv_func_sincosl_use=no
10926 fi
10927 rm -f conftest*
10928       ac_ext=c
10929 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10930 ac_cpp='$CPP $CPPFLAGS'
10931 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10932 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10933 cross_compiling=$ac_cv_prog_cc_cross
10934
10935     
10936 fi
10937
10938   fi
10939   echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10940   if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10941     for ac_func in sincosl
10942 do
10943 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10944 echo "configure:10945: checking for $ac_func" >&5
10945 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10946   echo $ac_n "(cached) $ac_c" 1>&6
10947 else
10948   cat > conftest.$ac_ext <<EOF
10949 #line 10950 "configure"
10950 #include "confdefs.h"
10951 /* System header to define __stub macros and hopefully few prototypes,
10952     which can conflict with char $ac_func(); below.  */
10953 #include <assert.h>
10954 /* Override any gcc2 internal prototype to avoid an error.  */
10955 /* We use char because int might match the return type of a gcc2
10956     builtin and then its argument prototype would still apply.  */
10957 char $ac_func();
10958
10959 int main() {
10960
10961 /* The GNU C library defines this for functions which it implements
10962     to always fail with ENOSYS.  Some functions are actually named
10963     something starting with __ and the normal name is an alias.  */
10964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10965 choke me
10966 #else
10967 $ac_func();
10968 #endif
10969
10970 ; return 0; }
10971 EOF
10972 if { (eval echo configure:10973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10973   rm -rf conftest*
10974   eval "ac_cv_func_$ac_func=yes"
10975 else
10976   echo "configure: failed program was:" >&5
10977   cat conftest.$ac_ext >&5
10978   rm -rf conftest*
10979   eval "ac_cv_func_$ac_func=no"
10980 fi
10981 rm -f conftest*
10982 fi
10983
10984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10985   echo "$ac_t""yes" 1>&6
10986     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10987   cat >> confdefs.h <<EOF
10988 #define $ac_tr_func 1
10989 EOF
10990  
10991 else
10992   echo "$ac_t""no" 1>&6
10993 fi
10994 done
10995     
10996   fi
10997
10998   
10999   echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
11000 echo "configure:11001: checking for finitel declaration" >&5
11001   if test x${glibcpp_cv_func_finitel_use+set} != xset; then
11002     if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
11003   echo $ac_n "(cached) $ac_c" 1>&6
11004 else
11005   
11006       
11007       ac_ext=C
11008 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11009 ac_cpp='$CXXCPP $CPPFLAGS'
11010 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11011 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11012 cross_compiling=$ac_cv_prog_cxx_cross
11013
11014       cat > conftest.$ac_ext <<EOF
11015 #line 11016 "configure"
11016 #include "confdefs.h"
11017 #include <math.h>
11018 int main() {
11019  finitel(0);
11020 ; return 0; }
11021 EOF
11022 if { (eval echo configure:11023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11023   rm -rf conftest*
11024   glibcpp_cv_func_finitel_use=yes
11025 else
11026   echo "configure: failed program was:" >&5
11027   cat conftest.$ac_ext >&5
11028   rm -rf conftest*
11029   glibcpp_cv_func_finitel_use=no
11030 fi
11031 rm -f conftest*
11032       ac_ext=c
11033 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11034 ac_cpp='$CPP $CPPFLAGS'
11035 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11036 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11037 cross_compiling=$ac_cv_prog_cc_cross
11038
11039     
11040 fi
11041
11042   fi
11043   echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
11044   if test x$glibcpp_cv_func_finitel_use = x"yes"; then
11045     for ac_func in finitel
11046 do
11047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11048 echo "configure:11049: checking for $ac_func" >&5
11049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11050   echo $ac_n "(cached) $ac_c" 1>&6
11051 else
11052   cat > conftest.$ac_ext <<EOF
11053 #line 11054 "configure"
11054 #include "confdefs.h"
11055 /* System header to define __stub macros and hopefully few prototypes,
11056     which can conflict with char $ac_func(); below.  */
11057 #include <assert.h>
11058 /* Override any gcc2 internal prototype to avoid an error.  */
11059 /* We use char because int might match the return type of a gcc2
11060     builtin and then its argument prototype would still apply.  */
11061 char $ac_func();
11062
11063 int main() {
11064
11065 /* The GNU C library defines this for functions which it implements
11066     to always fail with ENOSYS.  Some functions are actually named
11067     something starting with __ and the normal name is an alias.  */
11068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11069 choke me
11070 #else
11071 $ac_func();
11072 #endif
11073
11074 ; return 0; }
11075 EOF
11076 if { (eval echo configure:11077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11077   rm -rf conftest*
11078   eval "ac_cv_func_$ac_func=yes"
11079 else
11080   echo "configure: failed program was:" >&5
11081   cat conftest.$ac_ext >&5
11082   rm -rf conftest*
11083   eval "ac_cv_func_$ac_func=no"
11084 fi
11085 rm -f conftest*
11086 fi
11087
11088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11089   echo "$ac_t""yes" 1>&6
11090     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11091   cat >> confdefs.h <<EOF
11092 #define $ac_tr_func 1
11093 EOF
11094  
11095 else
11096   echo "$ac_t""no" 1>&6
11097 fi
11098 done
11099     
11100   fi
11101
11102
11103           
11104   echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
11105 echo "configure:11106: checking for _isinf declaration" >&5
11106   if test x${glibcpp_cv_func__isinf_use+set} != xset; then
11107     if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
11108   echo $ac_n "(cached) $ac_c" 1>&6
11109 else
11110   
11111       
11112       ac_ext=C
11113 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11114 ac_cpp='$CXXCPP $CPPFLAGS'
11115 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11116 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11117 cross_compiling=$ac_cv_prog_cxx_cross
11118
11119       cat > conftest.$ac_ext <<EOF
11120 #line 11121 "configure"
11121 #include "confdefs.h"
11122 #include <math.h>
11123 int main() {
11124  _isinf(0);
11125 ; return 0; }
11126 EOF
11127 if { (eval echo configure:11128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11128   rm -rf conftest*
11129   glibcpp_cv_func__isinf_use=yes
11130 else
11131   echo "configure: failed program was:" >&5
11132   cat conftest.$ac_ext >&5
11133   rm -rf conftest*
11134   glibcpp_cv_func__isinf_use=no
11135 fi
11136 rm -f conftest*
11137       ac_ext=c
11138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11139 ac_cpp='$CPP $CPPFLAGS'
11140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11142 cross_compiling=$ac_cv_prog_cc_cross
11143
11144     
11145 fi
11146
11147   fi
11148   echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11149   if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11150     for ac_func in _isinf
11151 do
11152 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11153 echo "configure:11154: checking for $ac_func" >&5
11154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11155   echo $ac_n "(cached) $ac_c" 1>&6
11156 else
11157   cat > conftest.$ac_ext <<EOF
11158 #line 11159 "configure"
11159 #include "confdefs.h"
11160 /* System header to define __stub macros and hopefully few prototypes,
11161     which can conflict with char $ac_func(); below.  */
11162 #include <assert.h>
11163 /* Override any gcc2 internal prototype to avoid an error.  */
11164 /* We use char because int might match the return type of a gcc2
11165     builtin and then its argument prototype would still apply.  */
11166 char $ac_func();
11167
11168 int main() {
11169
11170 /* The GNU C library defines this for functions which it implements
11171     to always fail with ENOSYS.  Some functions are actually named
11172     something starting with __ and the normal name is an alias.  */
11173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11174 choke me
11175 #else
11176 $ac_func();
11177 #endif
11178
11179 ; return 0; }
11180 EOF
11181 if { (eval echo configure:11182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11182   rm -rf conftest*
11183   eval "ac_cv_func_$ac_func=yes"
11184 else
11185   echo "configure: failed program was:" >&5
11186   cat conftest.$ac_ext >&5
11187   rm -rf conftest*
11188   eval "ac_cv_func_$ac_func=no"
11189 fi
11190 rm -f conftest*
11191 fi
11192
11193 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11194   echo "$ac_t""yes" 1>&6
11195     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11196   cat >> confdefs.h <<EOF
11197 #define $ac_tr_func 1
11198 EOF
11199  
11200 else
11201   echo "$ac_t""no" 1>&6
11202 fi
11203 done
11204     
11205   fi
11206
11207   
11208   echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11209 echo "configure:11210: checking for _isnan declaration" >&5
11210   if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11211     if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11212   echo $ac_n "(cached) $ac_c" 1>&6
11213 else
11214   
11215       
11216       ac_ext=C
11217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11218 ac_cpp='$CXXCPP $CPPFLAGS'
11219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11221 cross_compiling=$ac_cv_prog_cxx_cross
11222
11223       cat > conftest.$ac_ext <<EOF
11224 #line 11225 "configure"
11225 #include "confdefs.h"
11226 #include <math.h>
11227 int main() {
11228  _isnan(0);
11229 ; return 0; }
11230 EOF
11231 if { (eval echo configure:11232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11232   rm -rf conftest*
11233   glibcpp_cv_func__isnan_use=yes
11234 else
11235   echo "configure: failed program was:" >&5
11236   cat conftest.$ac_ext >&5
11237   rm -rf conftest*
11238   glibcpp_cv_func__isnan_use=no
11239 fi
11240 rm -f conftest*
11241       ac_ext=c
11242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11243 ac_cpp='$CPP $CPPFLAGS'
11244 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11245 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11246 cross_compiling=$ac_cv_prog_cc_cross
11247
11248     
11249 fi
11250
11251   fi
11252   echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11253   if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11254     for ac_func in _isnan
11255 do
11256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11257 echo "configure:11258: checking for $ac_func" >&5
11258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11259   echo $ac_n "(cached) $ac_c" 1>&6
11260 else
11261   cat > conftest.$ac_ext <<EOF
11262 #line 11263 "configure"
11263 #include "confdefs.h"
11264 /* System header to define __stub macros and hopefully few prototypes,
11265     which can conflict with char $ac_func(); below.  */
11266 #include <assert.h>
11267 /* Override any gcc2 internal prototype to avoid an error.  */
11268 /* We use char because int might match the return type of a gcc2
11269     builtin and then its argument prototype would still apply.  */
11270 char $ac_func();
11271
11272 int main() {
11273
11274 /* The GNU C library defines this for functions which it implements
11275     to always fail with ENOSYS.  Some functions are actually named
11276     something starting with __ and the normal name is an alias.  */
11277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11278 choke me
11279 #else
11280 $ac_func();
11281 #endif
11282
11283 ; return 0; }
11284 EOF
11285 if { (eval echo configure:11286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11286   rm -rf conftest*
11287   eval "ac_cv_func_$ac_func=yes"
11288 else
11289   echo "configure: failed program was:" >&5
11290   cat conftest.$ac_ext >&5
11291   rm -rf conftest*
11292   eval "ac_cv_func_$ac_func=no"
11293 fi
11294 rm -f conftest*
11295 fi
11296
11297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11298   echo "$ac_t""yes" 1>&6
11299     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11300   cat >> confdefs.h <<EOF
11301 #define $ac_tr_func 1
11302 EOF
11303  
11304 else
11305   echo "$ac_t""no" 1>&6
11306 fi
11307 done
11308     
11309   fi
11310
11311   
11312   echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11313 echo "configure:11314: checking for _finite declaration" >&5
11314   if test x${glibcpp_cv_func__finite_use+set} != xset; then
11315     if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11316   echo $ac_n "(cached) $ac_c" 1>&6
11317 else
11318   
11319       
11320       ac_ext=C
11321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11322 ac_cpp='$CXXCPP $CPPFLAGS'
11323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11325 cross_compiling=$ac_cv_prog_cxx_cross
11326
11327       cat > conftest.$ac_ext <<EOF
11328 #line 11329 "configure"
11329 #include "confdefs.h"
11330 #include <math.h>
11331 int main() {
11332  _finite(0);
11333 ; return 0; }
11334 EOF
11335 if { (eval echo configure:11336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11336   rm -rf conftest*
11337   glibcpp_cv_func__finite_use=yes
11338 else
11339   echo "configure: failed program was:" >&5
11340   cat conftest.$ac_ext >&5
11341   rm -rf conftest*
11342   glibcpp_cv_func__finite_use=no
11343 fi
11344 rm -f conftest*
11345       ac_ext=c
11346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11347 ac_cpp='$CPP $CPPFLAGS'
11348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11350 cross_compiling=$ac_cv_prog_cc_cross
11351
11352     
11353 fi
11354
11355   fi
11356   echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11357   if test x$glibcpp_cv_func__finite_use = x"yes"; then
11358     for ac_func in _finite
11359 do
11360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11361 echo "configure:11362: checking for $ac_func" >&5
11362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11363   echo $ac_n "(cached) $ac_c" 1>&6
11364 else
11365   cat > conftest.$ac_ext <<EOF
11366 #line 11367 "configure"
11367 #include "confdefs.h"
11368 /* System header to define __stub macros and hopefully few prototypes,
11369     which can conflict with char $ac_func(); below.  */
11370 #include <assert.h>
11371 /* Override any gcc2 internal prototype to avoid an error.  */
11372 /* We use char because int might match the return type of a gcc2
11373     builtin and then its argument prototype would still apply.  */
11374 char $ac_func();
11375
11376 int main() {
11377
11378 /* The GNU C library defines this for functions which it implements
11379     to always fail with ENOSYS.  Some functions are actually named
11380     something starting with __ and the normal name is an alias.  */
11381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11382 choke me
11383 #else
11384 $ac_func();
11385 #endif
11386
11387 ; return 0; }
11388 EOF
11389 if { (eval echo configure:11390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11390   rm -rf conftest*
11391   eval "ac_cv_func_$ac_func=yes"
11392 else
11393   echo "configure: failed program was:" >&5
11394   cat conftest.$ac_ext >&5
11395   rm -rf conftest*
11396   eval "ac_cv_func_$ac_func=no"
11397 fi
11398 rm -f conftest*
11399 fi
11400
11401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11402   echo "$ac_t""yes" 1>&6
11403     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11404   cat >> confdefs.h <<EOF
11405 #define $ac_tr_func 1
11406 EOF
11407  
11408 else
11409   echo "$ac_t""no" 1>&6
11410 fi
11411 done
11412     
11413   fi
11414
11415   
11416   echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11417 echo "configure:11418: checking for _copysign declaration" >&5
11418   if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11419     if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11420   echo $ac_n "(cached) $ac_c" 1>&6
11421 else
11422   
11423       
11424       ac_ext=C
11425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11426 ac_cpp='$CXXCPP $CPPFLAGS'
11427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11429 cross_compiling=$ac_cv_prog_cxx_cross
11430
11431       cat > conftest.$ac_ext <<EOF
11432 #line 11433 "configure"
11433 #include "confdefs.h"
11434 #include <math.h>
11435 int main() {
11436  _copysign(0, 0);
11437 ; return 0; }
11438 EOF
11439 if { (eval echo configure:11440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11440   rm -rf conftest*
11441   glibcpp_cv_func__copysign_use=yes
11442 else
11443   echo "configure: failed program was:" >&5
11444   cat conftest.$ac_ext >&5
11445   rm -rf conftest*
11446   glibcpp_cv_func__copysign_use=no
11447 fi
11448 rm -f conftest*
11449       ac_ext=c
11450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11451 ac_cpp='$CPP $CPPFLAGS'
11452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11454 cross_compiling=$ac_cv_prog_cc_cross
11455
11456     
11457 fi
11458
11459   fi
11460   echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11461   if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11462     for ac_func in _copysign
11463 do
11464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11465 echo "configure:11466: checking for $ac_func" >&5
11466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11467   echo $ac_n "(cached) $ac_c" 1>&6
11468 else
11469   cat > conftest.$ac_ext <<EOF
11470 #line 11471 "configure"
11471 #include "confdefs.h"
11472 /* System header to define __stub macros and hopefully few prototypes,
11473     which can conflict with char $ac_func(); below.  */
11474 #include <assert.h>
11475 /* Override any gcc2 internal prototype to avoid an error.  */
11476 /* We use char because int might match the return type of a gcc2
11477     builtin and then its argument prototype would still apply.  */
11478 char $ac_func();
11479
11480 int main() {
11481
11482 /* The GNU C library defines this for functions which it implements
11483     to always fail with ENOSYS.  Some functions are actually named
11484     something starting with __ and the normal name is an alias.  */
11485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11486 choke me
11487 #else
11488 $ac_func();
11489 #endif
11490
11491 ; return 0; }
11492 EOF
11493 if { (eval echo configure:11494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11494   rm -rf conftest*
11495   eval "ac_cv_func_$ac_func=yes"
11496 else
11497   echo "configure: failed program was:" >&5
11498   cat conftest.$ac_ext >&5
11499   rm -rf conftest*
11500   eval "ac_cv_func_$ac_func=no"
11501 fi
11502 rm -f conftest*
11503 fi
11504
11505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11506   echo "$ac_t""yes" 1>&6
11507     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11508   cat >> confdefs.h <<EOF
11509 #define $ac_tr_func 1
11510 EOF
11511  
11512 else
11513   echo "$ac_t""no" 1>&6
11514 fi
11515 done
11516     
11517   fi
11518
11519   
11520   echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11521 echo "configure:11522: checking for _sincos declaration" >&5
11522   if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11523     if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11524   echo $ac_n "(cached) $ac_c" 1>&6
11525 else
11526   
11527       
11528       ac_ext=C
11529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11530 ac_cpp='$CXXCPP $CPPFLAGS'
11531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11533 cross_compiling=$ac_cv_prog_cxx_cross
11534
11535       cat > conftest.$ac_ext <<EOF
11536 #line 11537 "configure"
11537 #include "confdefs.h"
11538 #include <math.h>
11539 int main() {
11540  _sincos(0, 0, 0);
11541 ; return 0; }
11542 EOF
11543 if { (eval echo configure:11544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11544   rm -rf conftest*
11545   glibcpp_cv_func__sincos_use=yes
11546 else
11547   echo "configure: failed program was:" >&5
11548   cat conftest.$ac_ext >&5
11549   rm -rf conftest*
11550   glibcpp_cv_func__sincos_use=no
11551 fi
11552 rm -f conftest*
11553       ac_ext=c
11554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11555 ac_cpp='$CPP $CPPFLAGS'
11556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11558 cross_compiling=$ac_cv_prog_cc_cross
11559
11560     
11561 fi
11562
11563   fi
11564   echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11565   if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11566     for ac_func in _sincos
11567 do
11568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11569 echo "configure:11570: checking for $ac_func" >&5
11570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11571   echo $ac_n "(cached) $ac_c" 1>&6
11572 else
11573   cat > conftest.$ac_ext <<EOF
11574 #line 11575 "configure"
11575 #include "confdefs.h"
11576 /* System header to define __stub macros and hopefully few prototypes,
11577     which can conflict with char $ac_func(); below.  */
11578 #include <assert.h>
11579 /* Override any gcc2 internal prototype to avoid an error.  */
11580 /* We use char because int might match the return type of a gcc2
11581     builtin and then its argument prototype would still apply.  */
11582 char $ac_func();
11583
11584 int main() {
11585
11586 /* The GNU C library defines this for functions which it implements
11587     to always fail with ENOSYS.  Some functions are actually named
11588     something starting with __ and the normal name is an alias.  */
11589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11590 choke me
11591 #else
11592 $ac_func();
11593 #endif
11594
11595 ; return 0; }
11596 EOF
11597 if { (eval echo configure:11598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11598   rm -rf conftest*
11599   eval "ac_cv_func_$ac_func=yes"
11600 else
11601   echo "configure: failed program was:" >&5
11602   cat conftest.$ac_ext >&5
11603   rm -rf conftest*
11604   eval "ac_cv_func_$ac_func=no"
11605 fi
11606 rm -f conftest*
11607 fi
11608
11609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11610   echo "$ac_t""yes" 1>&6
11611     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11612   cat >> confdefs.h <<EOF
11613 #define $ac_tr_func 1
11614 EOF
11615  
11616 else
11617   echo "$ac_t""no" 1>&6
11618 fi
11619 done
11620     
11621   fi
11622
11623   
11624   echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11625 echo "configure:11626: checking for _fpclass declaration" >&5
11626   if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11627     if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11628   echo $ac_n "(cached) $ac_c" 1>&6
11629 else
11630   
11631       
11632       ac_ext=C
11633 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11634 ac_cpp='$CXXCPP $CPPFLAGS'
11635 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11636 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11637 cross_compiling=$ac_cv_prog_cxx_cross
11638
11639       cat > conftest.$ac_ext <<EOF
11640 #line 11641 "configure"
11641 #include "confdefs.h"
11642 #include <math.h>
11643 int main() {
11644  _fpclass(0);
11645 ; return 0; }
11646 EOF
11647 if { (eval echo configure:11648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11648   rm -rf conftest*
11649   glibcpp_cv_func__fpclass_use=yes
11650 else
11651   echo "configure: failed program was:" >&5
11652   cat conftest.$ac_ext >&5
11653   rm -rf conftest*
11654   glibcpp_cv_func__fpclass_use=no
11655 fi
11656 rm -f conftest*
11657       ac_ext=c
11658 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11659 ac_cpp='$CPP $CPPFLAGS'
11660 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11661 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11662 cross_compiling=$ac_cv_prog_cc_cross
11663
11664     
11665 fi
11666
11667   fi
11668   echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11669   if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11670     for ac_func in _fpclass
11671 do
11672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11673 echo "configure:11674: checking for $ac_func" >&5
11674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11675   echo $ac_n "(cached) $ac_c" 1>&6
11676 else
11677   cat > conftest.$ac_ext <<EOF
11678 #line 11679 "configure"
11679 #include "confdefs.h"
11680 /* System header to define __stub macros and hopefully few prototypes,
11681     which can conflict with char $ac_func(); below.  */
11682 #include <assert.h>
11683 /* Override any gcc2 internal prototype to avoid an error.  */
11684 /* We use char because int might match the return type of a gcc2
11685     builtin and then its argument prototype would still apply.  */
11686 char $ac_func();
11687
11688 int main() {
11689
11690 /* The GNU C library defines this for functions which it implements
11691     to always fail with ENOSYS.  Some functions are actually named
11692     something starting with __ and the normal name is an alias.  */
11693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11694 choke me
11695 #else
11696 $ac_func();
11697 #endif
11698
11699 ; return 0; }
11700 EOF
11701 if { (eval echo configure:11702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11702   rm -rf conftest*
11703   eval "ac_cv_func_$ac_func=yes"
11704 else
11705   echo "configure: failed program was:" >&5
11706   cat conftest.$ac_ext >&5
11707   rm -rf conftest*
11708   eval "ac_cv_func_$ac_func=no"
11709 fi
11710 rm -f conftest*
11711 fi
11712
11713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11714   echo "$ac_t""yes" 1>&6
11715     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11716   cat >> confdefs.h <<EOF
11717 #define $ac_tr_func 1
11718 EOF
11719  
11720 else
11721   echo "$ac_t""no" 1>&6
11722 fi
11723 done
11724     
11725   fi
11726
11727   
11728   echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11729 echo "configure:11730: checking for _qfpclass declaration" >&5
11730   if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
11731     if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11732   echo $ac_n "(cached) $ac_c" 1>&6
11733 else
11734   
11735       
11736       ac_ext=C
11737 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11738 ac_cpp='$CXXCPP $CPPFLAGS'
11739 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11740 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11741 cross_compiling=$ac_cv_prog_cxx_cross
11742
11743       cat > conftest.$ac_ext <<EOF
11744 #line 11745 "configure"
11745 #include "confdefs.h"
11746 #include <math.h>
11747 int main() {
11748  _qfpclass(0);
11749 ; return 0; }
11750 EOF
11751 if { (eval echo configure:11752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11752   rm -rf conftest*
11753   glibcpp_cv_func__qfpclass_use=yes
11754 else
11755   echo "configure: failed program was:" >&5
11756   cat conftest.$ac_ext >&5
11757   rm -rf conftest*
11758   glibcpp_cv_func__qfpclass_use=no
11759 fi
11760 rm -f conftest*
11761       ac_ext=c
11762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11763 ac_cpp='$CPP $CPPFLAGS'
11764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11766 cross_compiling=$ac_cv_prog_cc_cross
11767
11768     
11769 fi
11770
11771   fi
11772   echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11773   if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11774     for ac_func in _qfpclass
11775 do
11776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11777 echo "configure:11778: checking for $ac_func" >&5
11778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11779   echo $ac_n "(cached) $ac_c" 1>&6
11780 else
11781   cat > conftest.$ac_ext <<EOF
11782 #line 11783 "configure"
11783 #include "confdefs.h"
11784 /* System header to define __stub macros and hopefully few prototypes,
11785     which can conflict with char $ac_func(); below.  */
11786 #include <assert.h>
11787 /* Override any gcc2 internal prototype to avoid an error.  */
11788 /* We use char because int might match the return type of a gcc2
11789     builtin and then its argument prototype would still apply.  */
11790 char $ac_func();
11791
11792 int main() {
11793
11794 /* The GNU C library defines this for functions which it implements
11795     to always fail with ENOSYS.  Some functions are actually named
11796     something starting with __ and the normal name is an alias.  */
11797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11798 choke me
11799 #else
11800 $ac_func();
11801 #endif
11802
11803 ; return 0; }
11804 EOF
11805 if { (eval echo configure:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11806   rm -rf conftest*
11807   eval "ac_cv_func_$ac_func=yes"
11808 else
11809   echo "configure: failed program was:" >&5
11810   cat conftest.$ac_ext >&5
11811   rm -rf conftest*
11812   eval "ac_cv_func_$ac_func=no"
11813 fi
11814 rm -f conftest*
11815 fi
11816
11817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11818   echo "$ac_t""yes" 1>&6
11819     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11820   cat >> confdefs.h <<EOF
11821 #define $ac_tr_func 1
11822 EOF
11823  
11824 else
11825   echo "$ac_t""no" 1>&6
11826 fi
11827 done
11828     
11829   fi
11830
11831
11832     
11833   echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11834 echo "configure:11835: checking for _isnanf declaration" >&5
11835   if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
11836     if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11837   echo $ac_n "(cached) $ac_c" 1>&6
11838 else
11839   
11840       
11841       ac_ext=C
11842 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11845 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11846 cross_compiling=$ac_cv_prog_cxx_cross
11847
11848       cat > conftest.$ac_ext <<EOF
11849 #line 11850 "configure"
11850 #include "confdefs.h"
11851 #include <math.h>
11852 int main() {
11853  _isnanf(0);
11854 ; return 0; }
11855 EOF
11856 if { (eval echo configure:11857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11857   rm -rf conftest*
11858   glibcpp_cv_func__isnanf_use=yes
11859 else
11860   echo "configure: failed program was:" >&5
11861   cat conftest.$ac_ext >&5
11862   rm -rf conftest*
11863   glibcpp_cv_func__isnanf_use=no
11864 fi
11865 rm -f conftest*
11866       ac_ext=c
11867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11868 ac_cpp='$CPP $CPPFLAGS'
11869 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11870 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11871 cross_compiling=$ac_cv_prog_cc_cross
11872
11873     
11874 fi
11875
11876   fi
11877   echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11878   if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11879     for ac_func in _isnanf
11880 do
11881 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11882 echo "configure:11883: checking for $ac_func" >&5
11883 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11884   echo $ac_n "(cached) $ac_c" 1>&6
11885 else
11886   cat > conftest.$ac_ext <<EOF
11887 #line 11888 "configure"
11888 #include "confdefs.h"
11889 /* System header to define __stub macros and hopefully few prototypes,
11890     which can conflict with char $ac_func(); below.  */
11891 #include <assert.h>
11892 /* Override any gcc2 internal prototype to avoid an error.  */
11893 /* We use char because int might match the return type of a gcc2
11894     builtin and then its argument prototype would still apply.  */
11895 char $ac_func();
11896
11897 int main() {
11898
11899 /* The GNU C library defines this for functions which it implements
11900     to always fail with ENOSYS.  Some functions are actually named
11901     something starting with __ and the normal name is an alias.  */
11902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11903 choke me
11904 #else
11905 $ac_func();
11906 #endif
11907
11908 ; return 0; }
11909 EOF
11910 if { (eval echo configure:11911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11911   rm -rf conftest*
11912   eval "ac_cv_func_$ac_func=yes"
11913 else
11914   echo "configure: failed program was:" >&5
11915   cat conftest.$ac_ext >&5
11916   rm -rf conftest*
11917   eval "ac_cv_func_$ac_func=no"
11918 fi
11919 rm -f conftest*
11920 fi
11921
11922 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11923   echo "$ac_t""yes" 1>&6
11924     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11925   cat >> confdefs.h <<EOF
11926 #define $ac_tr_func 1
11927 EOF
11928  
11929 else
11930   echo "$ac_t""no" 1>&6
11931 fi
11932 done
11933     
11934   fi
11935
11936   
11937   echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11938 echo "configure:11939: checking for _isinff declaration" >&5
11939   if test x${glibcpp_cv_func__isinff_use+set} != xset; then
11940     if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11941   echo $ac_n "(cached) $ac_c" 1>&6
11942 else
11943   
11944       
11945       ac_ext=C
11946 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11947 ac_cpp='$CXXCPP $CPPFLAGS'
11948 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11949 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11950 cross_compiling=$ac_cv_prog_cxx_cross
11951
11952       cat > conftest.$ac_ext <<EOF
11953 #line 11954 "configure"
11954 #include "confdefs.h"
11955 #include <math.h>
11956 int main() {
11957  _isinff(0);
11958 ; return 0; }
11959 EOF
11960 if { (eval echo configure:11961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11961   rm -rf conftest*
11962   glibcpp_cv_func__isinff_use=yes
11963 else
11964   echo "configure: failed program was:" >&5
11965   cat conftest.$ac_ext >&5
11966   rm -rf conftest*
11967   glibcpp_cv_func__isinff_use=no
11968 fi
11969 rm -f conftest*
11970       ac_ext=c
11971 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11972 ac_cpp='$CPP $CPPFLAGS'
11973 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11974 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11975 cross_compiling=$ac_cv_prog_cc_cross
11976
11977     
11978 fi
11979
11980   fi
11981   echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11982   if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11983     for ac_func in _isinff
11984 do
11985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11986 echo "configure:11987: checking for $ac_func" >&5
11987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11988   echo $ac_n "(cached) $ac_c" 1>&6
11989 else
11990   cat > conftest.$ac_ext <<EOF
11991 #line 11992 "configure"
11992 #include "confdefs.h"
11993 /* System header to define __stub macros and hopefully few prototypes,
11994     which can conflict with char $ac_func(); below.  */
11995 #include <assert.h>
11996 /* Override any gcc2 internal prototype to avoid an error.  */
11997 /* We use char because int might match the return type of a gcc2
11998     builtin and then its argument prototype would still apply.  */
11999 char $ac_func();
12000
12001 int main() {
12002
12003 /* The GNU C library defines this for functions which it implements
12004     to always fail with ENOSYS.  Some functions are actually named
12005     something starting with __ and the normal name is an alias.  */
12006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12007 choke me
12008 #else
12009 $ac_func();
12010 #endif
12011
12012 ; return 0; }
12013 EOF
12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12015   rm -rf conftest*
12016   eval "ac_cv_func_$ac_func=yes"
12017 else
12018   echo "configure: failed program was:" >&5
12019   cat conftest.$ac_ext >&5
12020   rm -rf conftest*
12021   eval "ac_cv_func_$ac_func=no"
12022 fi
12023 rm -f conftest*
12024 fi
12025
12026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12027   echo "$ac_t""yes" 1>&6
12028     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12029   cat >> confdefs.h <<EOF
12030 #define $ac_tr_func 1
12031 EOF
12032  
12033 else
12034   echo "$ac_t""no" 1>&6
12035 fi
12036 done
12037     
12038   fi
12039
12040   
12041   echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
12042 echo "configure:12043: checking for _acosf declaration" >&5
12043   if test x${glibcpp_cv_func__acosf_use+set} != xset; then
12044     if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
12045   echo $ac_n "(cached) $ac_c" 1>&6
12046 else
12047   
12048       
12049       ac_ext=C
12050 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12051 ac_cpp='$CXXCPP $CPPFLAGS'
12052 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12053 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12054 cross_compiling=$ac_cv_prog_cxx_cross
12055
12056       cat > conftest.$ac_ext <<EOF
12057 #line 12058 "configure"
12058 #include "confdefs.h"
12059 #include <math.h>
12060 int main() {
12061  _acosf(0);
12062 ; return 0; }
12063 EOF
12064 if { (eval echo configure:12065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12065   rm -rf conftest*
12066   glibcpp_cv_func__acosf_use=yes
12067 else
12068   echo "configure: failed program was:" >&5
12069   cat conftest.$ac_ext >&5
12070   rm -rf conftest*
12071   glibcpp_cv_func__acosf_use=no
12072 fi
12073 rm -f conftest*
12074       ac_ext=c
12075 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12076 ac_cpp='$CPP $CPPFLAGS'
12077 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12078 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12079 cross_compiling=$ac_cv_prog_cc_cross
12080
12081     
12082 fi
12083
12084   fi
12085   echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
12086   if test x$glibcpp_cv_func__acosf_use = x"yes"; then
12087     for ac_func in _acosf
12088 do
12089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12090 echo "configure:12091: checking for $ac_func" >&5
12091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12092   echo $ac_n "(cached) $ac_c" 1>&6
12093 else
12094   cat > conftest.$ac_ext <<EOF
12095 #line 12096 "configure"
12096 #include "confdefs.h"
12097 /* System header to define __stub macros and hopefully few prototypes,
12098     which can conflict with char $ac_func(); below.  */
12099 #include <assert.h>
12100 /* Override any gcc2 internal prototype to avoid an error.  */
12101 /* We use char because int might match the return type of a gcc2
12102     builtin and then its argument prototype would still apply.  */
12103 char $ac_func();
12104
12105 int main() {
12106
12107 /* The GNU C library defines this for functions which it implements
12108     to always fail with ENOSYS.  Some functions are actually named
12109     something starting with __ and the normal name is an alias.  */
12110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12111 choke me
12112 #else
12113 $ac_func();
12114 #endif
12115
12116 ; return 0; }
12117 EOF
12118 if { (eval echo configure:12119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12119   rm -rf conftest*
12120   eval "ac_cv_func_$ac_func=yes"
12121 else
12122   echo "configure: failed program was:" >&5
12123   cat conftest.$ac_ext >&5
12124   rm -rf conftest*
12125   eval "ac_cv_func_$ac_func=no"
12126 fi
12127 rm -f conftest*
12128 fi
12129
12130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12131   echo "$ac_t""yes" 1>&6
12132     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12133   cat >> confdefs.h <<EOF
12134 #define $ac_tr_func 1
12135 EOF
12136  
12137 else
12138   echo "$ac_t""no" 1>&6
12139 fi
12140 done
12141     
12142   fi
12143
12144   
12145   echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
12146 echo "configure:12147: checking for _asinf declaration" >&5
12147   if test x${glibcpp_cv_func__asinf_use+set} != xset; then
12148     if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
12149   echo $ac_n "(cached) $ac_c" 1>&6
12150 else
12151   
12152       
12153       ac_ext=C
12154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12155 ac_cpp='$CXXCPP $CPPFLAGS'
12156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12158 cross_compiling=$ac_cv_prog_cxx_cross
12159
12160       cat > conftest.$ac_ext <<EOF
12161 #line 12162 "configure"
12162 #include "confdefs.h"
12163 #include <math.h>
12164 int main() {
12165  _asinf(0);
12166 ; return 0; }
12167 EOF
12168 if { (eval echo configure:12169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12169   rm -rf conftest*
12170   glibcpp_cv_func__asinf_use=yes
12171 else
12172   echo "configure: failed program was:" >&5
12173   cat conftest.$ac_ext >&5
12174   rm -rf conftest*
12175   glibcpp_cv_func__asinf_use=no
12176 fi
12177 rm -f conftest*
12178       ac_ext=c
12179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12180 ac_cpp='$CPP $CPPFLAGS'
12181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12183 cross_compiling=$ac_cv_prog_cc_cross
12184
12185     
12186 fi
12187
12188   fi
12189   echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
12190   if test x$glibcpp_cv_func__asinf_use = x"yes"; then
12191     for ac_func in _asinf
12192 do
12193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12194 echo "configure:12195: checking for $ac_func" >&5
12195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12196   echo $ac_n "(cached) $ac_c" 1>&6
12197 else
12198   cat > conftest.$ac_ext <<EOF
12199 #line 12200 "configure"
12200 #include "confdefs.h"
12201 /* System header to define __stub macros and hopefully few prototypes,
12202     which can conflict with char $ac_func(); below.  */
12203 #include <assert.h>
12204 /* Override any gcc2 internal prototype to avoid an error.  */
12205 /* We use char because int might match the return type of a gcc2
12206     builtin and then its argument prototype would still apply.  */
12207 char $ac_func();
12208
12209 int main() {
12210
12211 /* The GNU C library defines this for functions which it implements
12212     to always fail with ENOSYS.  Some functions are actually named
12213     something starting with __ and the normal name is an alias.  */
12214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12215 choke me
12216 #else
12217 $ac_func();
12218 #endif
12219
12220 ; return 0; }
12221 EOF
12222 if { (eval echo configure:12223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12223   rm -rf conftest*
12224   eval "ac_cv_func_$ac_func=yes"
12225 else
12226   echo "configure: failed program was:" >&5
12227   cat conftest.$ac_ext >&5
12228   rm -rf conftest*
12229   eval "ac_cv_func_$ac_func=no"
12230 fi
12231 rm -f conftest*
12232 fi
12233
12234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12235   echo "$ac_t""yes" 1>&6
12236     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12237   cat >> confdefs.h <<EOF
12238 #define $ac_tr_func 1
12239 EOF
12240  
12241 else
12242   echo "$ac_t""no" 1>&6
12243 fi
12244 done
12245     
12246   fi
12247
12248   
12249   echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
12250 echo "configure:12251: checking for _atanf declaration" >&5
12251   if test x${glibcpp_cv_func__atanf_use+set} != xset; then
12252     if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
12253   echo $ac_n "(cached) $ac_c" 1>&6
12254 else
12255   
12256       
12257       ac_ext=C
12258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12259 ac_cpp='$CXXCPP $CPPFLAGS'
12260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12262 cross_compiling=$ac_cv_prog_cxx_cross
12263
12264       cat > conftest.$ac_ext <<EOF
12265 #line 12266 "configure"
12266 #include "confdefs.h"
12267 #include <math.h>
12268 int main() {
12269  _atanf(0);
12270 ; return 0; }
12271 EOF
12272 if { (eval echo configure:12273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12273   rm -rf conftest*
12274   glibcpp_cv_func__atanf_use=yes
12275 else
12276   echo "configure: failed program was:" >&5
12277   cat conftest.$ac_ext >&5
12278   rm -rf conftest*
12279   glibcpp_cv_func__atanf_use=no
12280 fi
12281 rm -f conftest*
12282       ac_ext=c
12283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12284 ac_cpp='$CPP $CPPFLAGS'
12285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12287 cross_compiling=$ac_cv_prog_cc_cross
12288
12289     
12290 fi
12291
12292   fi
12293   echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12294   if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12295     for ac_func in _atanf
12296 do
12297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12298 echo "configure:12299: checking for $ac_func" >&5
12299 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12300   echo $ac_n "(cached) $ac_c" 1>&6
12301 else
12302   cat > conftest.$ac_ext <<EOF
12303 #line 12304 "configure"
12304 #include "confdefs.h"
12305 /* System header to define __stub macros and hopefully few prototypes,
12306     which can conflict with char $ac_func(); below.  */
12307 #include <assert.h>
12308 /* Override any gcc2 internal prototype to avoid an error.  */
12309 /* We use char because int might match the return type of a gcc2
12310     builtin and then its argument prototype would still apply.  */
12311 char $ac_func();
12312
12313 int main() {
12314
12315 /* The GNU C library defines this for functions which it implements
12316     to always fail with ENOSYS.  Some functions are actually named
12317     something starting with __ and the normal name is an alias.  */
12318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12319 choke me
12320 #else
12321 $ac_func();
12322 #endif
12323
12324 ; return 0; }
12325 EOF
12326 if { (eval echo configure:12327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12327   rm -rf conftest*
12328   eval "ac_cv_func_$ac_func=yes"
12329 else
12330   echo "configure: failed program was:" >&5
12331   cat conftest.$ac_ext >&5
12332   rm -rf conftest*
12333   eval "ac_cv_func_$ac_func=no"
12334 fi
12335 rm -f conftest*
12336 fi
12337
12338 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12339   echo "$ac_t""yes" 1>&6
12340     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12341   cat >> confdefs.h <<EOF
12342 #define $ac_tr_func 1
12343 EOF
12344  
12345 else
12346   echo "$ac_t""no" 1>&6
12347 fi
12348 done
12349     
12350   fi
12351
12352   
12353   echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12354 echo "configure:12355: checking for _atan2f declaration" >&5
12355   if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
12356     if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12357   echo $ac_n "(cached) $ac_c" 1>&6
12358 else
12359   
12360       
12361       ac_ext=C
12362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12363 ac_cpp='$CXXCPP $CPPFLAGS'
12364 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12365 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12366 cross_compiling=$ac_cv_prog_cxx_cross
12367
12368       cat > conftest.$ac_ext <<EOF
12369 #line 12370 "configure"
12370 #include "confdefs.h"
12371 #include <math.h>
12372 int main() {
12373  _atan2f(0, 0);
12374 ; return 0; }
12375 EOF
12376 if { (eval echo configure:12377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12377   rm -rf conftest*
12378   glibcpp_cv_func__atan2f_use=yes
12379 else
12380   echo "configure: failed program was:" >&5
12381   cat conftest.$ac_ext >&5
12382   rm -rf conftest*
12383   glibcpp_cv_func__atan2f_use=no
12384 fi
12385 rm -f conftest*
12386       ac_ext=c
12387 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12388 ac_cpp='$CPP $CPPFLAGS'
12389 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12390 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12391 cross_compiling=$ac_cv_prog_cc_cross
12392
12393     
12394 fi
12395
12396   fi
12397   echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12398   if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12399     for ac_func in _atan2f
12400 do
12401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12402 echo "configure:12403: checking for $ac_func" >&5
12403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12404   echo $ac_n "(cached) $ac_c" 1>&6
12405 else
12406   cat > conftest.$ac_ext <<EOF
12407 #line 12408 "configure"
12408 #include "confdefs.h"
12409 /* System header to define __stub macros and hopefully few prototypes,
12410     which can conflict with char $ac_func(); below.  */
12411 #include <assert.h>
12412 /* Override any gcc2 internal prototype to avoid an error.  */
12413 /* We use char because int might match the return type of a gcc2
12414     builtin and then its argument prototype would still apply.  */
12415 char $ac_func();
12416
12417 int main() {
12418
12419 /* The GNU C library defines this for functions which it implements
12420     to always fail with ENOSYS.  Some functions are actually named
12421     something starting with __ and the normal name is an alias.  */
12422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12423 choke me
12424 #else
12425 $ac_func();
12426 #endif
12427
12428 ; return 0; }
12429 EOF
12430 if { (eval echo configure:12431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12431   rm -rf conftest*
12432   eval "ac_cv_func_$ac_func=yes"
12433 else
12434   echo "configure: failed program was:" >&5
12435   cat conftest.$ac_ext >&5
12436   rm -rf conftest*
12437   eval "ac_cv_func_$ac_func=no"
12438 fi
12439 rm -f conftest*
12440 fi
12441
12442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12443   echo "$ac_t""yes" 1>&6
12444     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12445   cat >> confdefs.h <<EOF
12446 #define $ac_tr_func 1
12447 EOF
12448  
12449 else
12450   echo "$ac_t""no" 1>&6
12451 fi
12452 done
12453     
12454   fi
12455
12456   
12457   echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12458 echo "configure:12459: checking for _ceilf declaration" >&5
12459   if test x${glibcpp_cv_func__ceilf_use+set} != xset; then
12460     if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12461   echo $ac_n "(cached) $ac_c" 1>&6
12462 else
12463   
12464       
12465       ac_ext=C
12466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12467 ac_cpp='$CXXCPP $CPPFLAGS'
12468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12470 cross_compiling=$ac_cv_prog_cxx_cross
12471
12472       cat > conftest.$ac_ext <<EOF
12473 #line 12474 "configure"
12474 #include "confdefs.h"
12475 #include <math.h>
12476 int main() {
12477  _ceilf(0);
12478 ; return 0; }
12479 EOF
12480 if { (eval echo configure:12481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12481   rm -rf conftest*
12482   glibcpp_cv_func__ceilf_use=yes
12483 else
12484   echo "configure: failed program was:" >&5
12485   cat conftest.$ac_ext >&5
12486   rm -rf conftest*
12487   glibcpp_cv_func__ceilf_use=no
12488 fi
12489 rm -f conftest*
12490       ac_ext=c
12491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12492 ac_cpp='$CPP $CPPFLAGS'
12493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12495 cross_compiling=$ac_cv_prog_cc_cross
12496
12497     
12498 fi
12499
12500   fi
12501   echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12502   if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12503     for ac_func in _ceilf
12504 do
12505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12506 echo "configure:12507: checking for $ac_func" >&5
12507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12508   echo $ac_n "(cached) $ac_c" 1>&6
12509 else
12510   cat > conftest.$ac_ext <<EOF
12511 #line 12512 "configure"
12512 #include "confdefs.h"
12513 /* System header to define __stub macros and hopefully few prototypes,
12514     which can conflict with char $ac_func(); below.  */
12515 #include <assert.h>
12516 /* Override any gcc2 internal prototype to avoid an error.  */
12517 /* We use char because int might match the return type of a gcc2
12518     builtin and then its argument prototype would still apply.  */
12519 char $ac_func();
12520
12521 int main() {
12522
12523 /* The GNU C library defines this for functions which it implements
12524     to always fail with ENOSYS.  Some functions are actually named
12525     something starting with __ and the normal name is an alias.  */
12526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12527 choke me
12528 #else
12529 $ac_func();
12530 #endif
12531
12532 ; return 0; }
12533 EOF
12534 if { (eval echo configure:12535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12535   rm -rf conftest*
12536   eval "ac_cv_func_$ac_func=yes"
12537 else
12538   echo "configure: failed program was:" >&5
12539   cat conftest.$ac_ext >&5
12540   rm -rf conftest*
12541   eval "ac_cv_func_$ac_func=no"
12542 fi
12543 rm -f conftest*
12544 fi
12545
12546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12547   echo "$ac_t""yes" 1>&6
12548     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12549   cat >> confdefs.h <<EOF
12550 #define $ac_tr_func 1
12551 EOF
12552  
12553 else
12554   echo "$ac_t""no" 1>&6
12555 fi
12556 done
12557     
12558   fi
12559
12560   
12561   echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12562 echo "configure:12563: checking for _cosf declaration" >&5
12563   if test x${glibcpp_cv_func__cosf_use+set} != xset; then
12564     if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12565   echo $ac_n "(cached) $ac_c" 1>&6
12566 else
12567   
12568       
12569       ac_ext=C
12570 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12571 ac_cpp='$CXXCPP $CPPFLAGS'
12572 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12573 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12574 cross_compiling=$ac_cv_prog_cxx_cross
12575
12576       cat > conftest.$ac_ext <<EOF
12577 #line 12578 "configure"
12578 #include "confdefs.h"
12579 #include <math.h>
12580 int main() {
12581  _cosf(0);
12582 ; return 0; }
12583 EOF
12584 if { (eval echo configure:12585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12585   rm -rf conftest*
12586   glibcpp_cv_func__cosf_use=yes
12587 else
12588   echo "configure: failed program was:" >&5
12589   cat conftest.$ac_ext >&5
12590   rm -rf conftest*
12591   glibcpp_cv_func__cosf_use=no
12592 fi
12593 rm -f conftest*
12594       ac_ext=c
12595 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12596 ac_cpp='$CPP $CPPFLAGS'
12597 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12598 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12599 cross_compiling=$ac_cv_prog_cc_cross
12600
12601     
12602 fi
12603
12604   fi
12605   echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12606   if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12607     for ac_func in _cosf
12608 do
12609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12610 echo "configure:12611: checking for $ac_func" >&5
12611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12612   echo $ac_n "(cached) $ac_c" 1>&6
12613 else
12614   cat > conftest.$ac_ext <<EOF
12615 #line 12616 "configure"
12616 #include "confdefs.h"
12617 /* System header to define __stub macros and hopefully few prototypes,
12618     which can conflict with char $ac_func(); below.  */
12619 #include <assert.h>
12620 /* Override any gcc2 internal prototype to avoid an error.  */
12621 /* We use char because int might match the return type of a gcc2
12622     builtin and then its argument prototype would still apply.  */
12623 char $ac_func();
12624
12625 int main() {
12626
12627 /* The GNU C library defines this for functions which it implements
12628     to always fail with ENOSYS.  Some functions are actually named
12629     something starting with __ and the normal name is an alias.  */
12630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12631 choke me
12632 #else
12633 $ac_func();
12634 #endif
12635
12636 ; return 0; }
12637 EOF
12638 if { (eval echo configure:12639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12639   rm -rf conftest*
12640   eval "ac_cv_func_$ac_func=yes"
12641 else
12642   echo "configure: failed program was:" >&5
12643   cat conftest.$ac_ext >&5
12644   rm -rf conftest*
12645   eval "ac_cv_func_$ac_func=no"
12646 fi
12647 rm -f conftest*
12648 fi
12649
12650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12651   echo "$ac_t""yes" 1>&6
12652     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12653   cat >> confdefs.h <<EOF
12654 #define $ac_tr_func 1
12655 EOF
12656  
12657 else
12658   echo "$ac_t""no" 1>&6
12659 fi
12660 done
12661     
12662   fi
12663
12664   
12665   echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12666 echo "configure:12667: checking for _coshf declaration" >&5
12667   if test x${glibcpp_cv_func__coshf_use+set} != xset; then
12668     if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12669   echo $ac_n "(cached) $ac_c" 1>&6
12670 else
12671   
12672       
12673       ac_ext=C
12674 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12675 ac_cpp='$CXXCPP $CPPFLAGS'
12676 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12677 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12678 cross_compiling=$ac_cv_prog_cxx_cross
12679
12680       cat > conftest.$ac_ext <<EOF
12681 #line 12682 "configure"
12682 #include "confdefs.h"
12683 #include <math.h>
12684 int main() {
12685  _coshf(0);
12686 ; return 0; }
12687 EOF
12688 if { (eval echo configure:12689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12689   rm -rf conftest*
12690   glibcpp_cv_func__coshf_use=yes
12691 else
12692   echo "configure: failed program was:" >&5
12693   cat conftest.$ac_ext >&5
12694   rm -rf conftest*
12695   glibcpp_cv_func__coshf_use=no
12696 fi
12697 rm -f conftest*
12698       ac_ext=c
12699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12700 ac_cpp='$CPP $CPPFLAGS'
12701 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12702 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12703 cross_compiling=$ac_cv_prog_cc_cross
12704
12705     
12706 fi
12707
12708   fi
12709   echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12710   if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12711     for ac_func in _coshf
12712 do
12713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12714 echo "configure:12715: checking for $ac_func" >&5
12715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12716   echo $ac_n "(cached) $ac_c" 1>&6
12717 else
12718   cat > conftest.$ac_ext <<EOF
12719 #line 12720 "configure"
12720 #include "confdefs.h"
12721 /* System header to define __stub macros and hopefully few prototypes,
12722     which can conflict with char $ac_func(); below.  */
12723 #include <assert.h>
12724 /* Override any gcc2 internal prototype to avoid an error.  */
12725 /* We use char because int might match the return type of a gcc2
12726     builtin and then its argument prototype would still apply.  */
12727 char $ac_func();
12728
12729 int main() {
12730
12731 /* The GNU C library defines this for functions which it implements
12732     to always fail with ENOSYS.  Some functions are actually named
12733     something starting with __ and the normal name is an alias.  */
12734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12735 choke me
12736 #else
12737 $ac_func();
12738 #endif
12739
12740 ; return 0; }
12741 EOF
12742 if { (eval echo configure:12743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12743   rm -rf conftest*
12744   eval "ac_cv_func_$ac_func=yes"
12745 else
12746   echo "configure: failed program was:" >&5
12747   cat conftest.$ac_ext >&5
12748   rm -rf conftest*
12749   eval "ac_cv_func_$ac_func=no"
12750 fi
12751 rm -f conftest*
12752 fi
12753
12754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12755   echo "$ac_t""yes" 1>&6
12756     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12757   cat >> confdefs.h <<EOF
12758 #define $ac_tr_func 1
12759 EOF
12760  
12761 else
12762   echo "$ac_t""no" 1>&6
12763 fi
12764 done
12765     
12766   fi
12767
12768   
12769   echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12770 echo "configure:12771: checking for _expf declaration" >&5
12771   if test x${glibcpp_cv_func__expf_use+set} != xset; then
12772     if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12773   echo $ac_n "(cached) $ac_c" 1>&6
12774 else
12775   
12776       
12777       ac_ext=C
12778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12779 ac_cpp='$CXXCPP $CPPFLAGS'
12780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12782 cross_compiling=$ac_cv_prog_cxx_cross
12783
12784       cat > conftest.$ac_ext <<EOF
12785 #line 12786 "configure"
12786 #include "confdefs.h"
12787 #include <math.h>
12788 int main() {
12789  _expf(0);
12790 ; return 0; }
12791 EOF
12792 if { (eval echo configure:12793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12793   rm -rf conftest*
12794   glibcpp_cv_func__expf_use=yes
12795 else
12796   echo "configure: failed program was:" >&5
12797   cat conftest.$ac_ext >&5
12798   rm -rf conftest*
12799   glibcpp_cv_func__expf_use=no
12800 fi
12801 rm -f conftest*
12802       ac_ext=c
12803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12804 ac_cpp='$CPP $CPPFLAGS'
12805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12807 cross_compiling=$ac_cv_prog_cc_cross
12808
12809     
12810 fi
12811
12812   fi
12813   echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12814   if test x$glibcpp_cv_func__expf_use = x"yes"; then
12815     for ac_func in _expf
12816 do
12817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12818 echo "configure:12819: checking for $ac_func" >&5
12819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12820   echo $ac_n "(cached) $ac_c" 1>&6
12821 else
12822   cat > conftest.$ac_ext <<EOF
12823 #line 12824 "configure"
12824 #include "confdefs.h"
12825 /* System header to define __stub macros and hopefully few prototypes,
12826     which can conflict with char $ac_func(); below.  */
12827 #include <assert.h>
12828 /* Override any gcc2 internal prototype to avoid an error.  */
12829 /* We use char because int might match the return type of a gcc2
12830     builtin and then its argument prototype would still apply.  */
12831 char $ac_func();
12832
12833 int main() {
12834
12835 /* The GNU C library defines this for functions which it implements
12836     to always fail with ENOSYS.  Some functions are actually named
12837     something starting with __ and the normal name is an alias.  */
12838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12839 choke me
12840 #else
12841 $ac_func();
12842 #endif
12843
12844 ; return 0; }
12845 EOF
12846 if { (eval echo configure:12847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12847   rm -rf conftest*
12848   eval "ac_cv_func_$ac_func=yes"
12849 else
12850   echo "configure: failed program was:" >&5
12851   cat conftest.$ac_ext >&5
12852   rm -rf conftest*
12853   eval "ac_cv_func_$ac_func=no"
12854 fi
12855 rm -f conftest*
12856 fi
12857
12858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12859   echo "$ac_t""yes" 1>&6
12860     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12861   cat >> confdefs.h <<EOF
12862 #define $ac_tr_func 1
12863 EOF
12864  
12865 else
12866   echo "$ac_t""no" 1>&6
12867 fi
12868 done
12869     
12870   fi
12871
12872   
12873   echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12874 echo "configure:12875: checking for _fabsf declaration" >&5
12875   if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
12876     if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12877   echo $ac_n "(cached) $ac_c" 1>&6
12878 else
12879   
12880       
12881       ac_ext=C
12882 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12883 ac_cpp='$CXXCPP $CPPFLAGS'
12884 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12885 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12886 cross_compiling=$ac_cv_prog_cxx_cross
12887
12888       cat > conftest.$ac_ext <<EOF
12889 #line 12890 "configure"
12890 #include "confdefs.h"
12891 #include <math.h>
12892 int main() {
12893  _fabsf(0);
12894 ; return 0; }
12895 EOF
12896 if { (eval echo configure:12897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12897   rm -rf conftest*
12898   glibcpp_cv_func__fabsf_use=yes
12899 else
12900   echo "configure: failed program was:" >&5
12901   cat conftest.$ac_ext >&5
12902   rm -rf conftest*
12903   glibcpp_cv_func__fabsf_use=no
12904 fi
12905 rm -f conftest*
12906       ac_ext=c
12907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12908 ac_cpp='$CPP $CPPFLAGS'
12909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12911 cross_compiling=$ac_cv_prog_cc_cross
12912
12913     
12914 fi
12915
12916   fi
12917   echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12918   if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12919     for ac_func in _fabsf
12920 do
12921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12922 echo "configure:12923: checking for $ac_func" >&5
12923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12924   echo $ac_n "(cached) $ac_c" 1>&6
12925 else
12926   cat > conftest.$ac_ext <<EOF
12927 #line 12928 "configure"
12928 #include "confdefs.h"
12929 /* System header to define __stub macros and hopefully few prototypes,
12930     which can conflict with char $ac_func(); below.  */
12931 #include <assert.h>
12932 /* Override any gcc2 internal prototype to avoid an error.  */
12933 /* We use char because int might match the return type of a gcc2
12934     builtin and then its argument prototype would still apply.  */
12935 char $ac_func();
12936
12937 int main() {
12938
12939 /* The GNU C library defines this for functions which it implements
12940     to always fail with ENOSYS.  Some functions are actually named
12941     something starting with __ and the normal name is an alias.  */
12942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12943 choke me
12944 #else
12945 $ac_func();
12946 #endif
12947
12948 ; return 0; }
12949 EOF
12950 if { (eval echo configure:12951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12951   rm -rf conftest*
12952   eval "ac_cv_func_$ac_func=yes"
12953 else
12954   echo "configure: failed program was:" >&5
12955   cat conftest.$ac_ext >&5
12956   rm -rf conftest*
12957   eval "ac_cv_func_$ac_func=no"
12958 fi
12959 rm -f conftest*
12960 fi
12961
12962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12963   echo "$ac_t""yes" 1>&6
12964     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12965   cat >> confdefs.h <<EOF
12966 #define $ac_tr_func 1
12967 EOF
12968  
12969 else
12970   echo "$ac_t""no" 1>&6
12971 fi
12972 done
12973     
12974   fi
12975
12976   
12977   echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12978 echo "configure:12979: checking for _floorf declaration" >&5
12979   if test x${glibcpp_cv_func__floorf_use+set} != xset; then
12980     if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12981   echo $ac_n "(cached) $ac_c" 1>&6
12982 else
12983   
12984       
12985       ac_ext=C
12986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12987 ac_cpp='$CXXCPP $CPPFLAGS'
12988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12990 cross_compiling=$ac_cv_prog_cxx_cross
12991
12992       cat > conftest.$ac_ext <<EOF
12993 #line 12994 "configure"
12994 #include "confdefs.h"
12995 #include <math.h>
12996 int main() {
12997  _floorf(0);
12998 ; return 0; }
12999 EOF
13000 if { (eval echo configure:13001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13001   rm -rf conftest*
13002   glibcpp_cv_func__floorf_use=yes
13003 else
13004   echo "configure: failed program was:" >&5
13005   cat conftest.$ac_ext >&5
13006   rm -rf conftest*
13007   glibcpp_cv_func__floorf_use=no
13008 fi
13009 rm -f conftest*
13010       ac_ext=c
13011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13012 ac_cpp='$CPP $CPPFLAGS'
13013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13015 cross_compiling=$ac_cv_prog_cc_cross
13016
13017     
13018 fi
13019
13020   fi
13021   echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
13022   if test x$glibcpp_cv_func__floorf_use = x"yes"; then
13023     for ac_func in _floorf
13024 do
13025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13026 echo "configure:13027: checking for $ac_func" >&5
13027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13028   echo $ac_n "(cached) $ac_c" 1>&6
13029 else
13030   cat > conftest.$ac_ext <<EOF
13031 #line 13032 "configure"
13032 #include "confdefs.h"
13033 /* System header to define __stub macros and hopefully few prototypes,
13034     which can conflict with char $ac_func(); below.  */
13035 #include <assert.h>
13036 /* Override any gcc2 internal prototype to avoid an error.  */
13037 /* We use char because int might match the return type of a gcc2
13038     builtin and then its argument prototype would still apply.  */
13039 char $ac_func();
13040
13041 int main() {
13042
13043 /* The GNU C library defines this for functions which it implements
13044     to always fail with ENOSYS.  Some functions are actually named
13045     something starting with __ and the normal name is an alias.  */
13046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13047 choke me
13048 #else
13049 $ac_func();
13050 #endif
13051
13052 ; return 0; }
13053 EOF
13054 if { (eval echo configure:13055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13055   rm -rf conftest*
13056   eval "ac_cv_func_$ac_func=yes"
13057 else
13058   echo "configure: failed program was:" >&5
13059   cat conftest.$ac_ext >&5
13060   rm -rf conftest*
13061   eval "ac_cv_func_$ac_func=no"
13062 fi
13063 rm -f conftest*
13064 fi
13065
13066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13067   echo "$ac_t""yes" 1>&6
13068     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13069   cat >> confdefs.h <<EOF
13070 #define $ac_tr_func 1
13071 EOF
13072  
13073 else
13074   echo "$ac_t""no" 1>&6
13075 fi
13076 done
13077     
13078   fi
13079
13080   
13081   echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13082 echo "configure:13083: checking for _fmodf declaration" >&5
13083   if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13084     if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13085   echo $ac_n "(cached) $ac_c" 1>&6
13086 else
13087   
13088       
13089       ac_ext=C
13090 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13091 ac_cpp='$CXXCPP $CPPFLAGS'
13092 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13093 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13094 cross_compiling=$ac_cv_prog_cxx_cross
13095
13096       cat > conftest.$ac_ext <<EOF
13097 #line 13098 "configure"
13098 #include "confdefs.h"
13099 #include <math.h>
13100 int main() {
13101  _fmodf(0, 0);
13102 ; return 0; }
13103 EOF
13104 if { (eval echo configure:13105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13105   rm -rf conftest*
13106   glibcpp_cv_func__fmodf_use=yes
13107 else
13108   echo "configure: failed program was:" >&5
13109   cat conftest.$ac_ext >&5
13110   rm -rf conftest*
13111   glibcpp_cv_func__fmodf_use=no
13112 fi
13113 rm -f conftest*
13114       ac_ext=c
13115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13116 ac_cpp='$CPP $CPPFLAGS'
13117 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13118 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13119 cross_compiling=$ac_cv_prog_cc_cross
13120
13121     
13122 fi
13123
13124   fi
13125   echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13126   if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13127     for ac_func in _fmodf
13128 do
13129 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13130 echo "configure:13131: checking for $ac_func" >&5
13131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13132   echo $ac_n "(cached) $ac_c" 1>&6
13133 else
13134   cat > conftest.$ac_ext <<EOF
13135 #line 13136 "configure"
13136 #include "confdefs.h"
13137 /* System header to define __stub macros and hopefully few prototypes,
13138     which can conflict with char $ac_func(); below.  */
13139 #include <assert.h>
13140 /* Override any gcc2 internal prototype to avoid an error.  */
13141 /* We use char because int might match the return type of a gcc2
13142     builtin and then its argument prototype would still apply.  */
13143 char $ac_func();
13144
13145 int main() {
13146
13147 /* The GNU C library defines this for functions which it implements
13148     to always fail with ENOSYS.  Some functions are actually named
13149     something starting with __ and the normal name is an alias.  */
13150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13151 choke me
13152 #else
13153 $ac_func();
13154 #endif
13155
13156 ; return 0; }
13157 EOF
13158 if { (eval echo configure:13159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13159   rm -rf conftest*
13160   eval "ac_cv_func_$ac_func=yes"
13161 else
13162   echo "configure: failed program was:" >&5
13163   cat conftest.$ac_ext >&5
13164   rm -rf conftest*
13165   eval "ac_cv_func_$ac_func=no"
13166 fi
13167 rm -f conftest*
13168 fi
13169
13170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13171   echo "$ac_t""yes" 1>&6
13172     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13173   cat >> confdefs.h <<EOF
13174 #define $ac_tr_func 1
13175 EOF
13176  
13177 else
13178   echo "$ac_t""no" 1>&6
13179 fi
13180 done
13181     
13182   fi
13183
13184   
13185   echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
13186 echo "configure:13187: checking for _frexpf declaration" >&5
13187   if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
13188     if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13189   echo $ac_n "(cached) $ac_c" 1>&6
13190 else
13191   
13192       
13193       ac_ext=C
13194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13195 ac_cpp='$CXXCPP $CPPFLAGS'
13196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13198 cross_compiling=$ac_cv_prog_cxx_cross
13199
13200       cat > conftest.$ac_ext <<EOF
13201 #line 13202 "configure"
13202 #include "confdefs.h"
13203 #include <math.h>
13204 int main() {
13205  _frexpf(0, 0);
13206 ; return 0; }
13207 EOF
13208 if { (eval echo configure:13209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13209   rm -rf conftest*
13210   glibcpp_cv_func__frexpf_use=yes
13211 else
13212   echo "configure: failed program was:" >&5
13213   cat conftest.$ac_ext >&5
13214   rm -rf conftest*
13215   glibcpp_cv_func__frexpf_use=no
13216 fi
13217 rm -f conftest*
13218       ac_ext=c
13219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13220 ac_cpp='$CPP $CPPFLAGS'
13221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13223 cross_compiling=$ac_cv_prog_cc_cross
13224
13225     
13226 fi
13227
13228   fi
13229   echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13230   if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13231     for ac_func in _frexpf
13232 do
13233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13234 echo "configure:13235: checking for $ac_func" >&5
13235 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13236   echo $ac_n "(cached) $ac_c" 1>&6
13237 else
13238   cat > conftest.$ac_ext <<EOF
13239 #line 13240 "configure"
13240 #include "confdefs.h"
13241 /* System header to define __stub macros and hopefully few prototypes,
13242     which can conflict with char $ac_func(); below.  */
13243 #include <assert.h>
13244 /* Override any gcc2 internal prototype to avoid an error.  */
13245 /* We use char because int might match the return type of a gcc2
13246     builtin and then its argument prototype would still apply.  */
13247 char $ac_func();
13248
13249 int main() {
13250
13251 /* The GNU C library defines this for functions which it implements
13252     to always fail with ENOSYS.  Some functions are actually named
13253     something starting with __ and the normal name is an alias.  */
13254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13255 choke me
13256 #else
13257 $ac_func();
13258 #endif
13259
13260 ; return 0; }
13261 EOF
13262 if { (eval echo configure:13263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13263   rm -rf conftest*
13264   eval "ac_cv_func_$ac_func=yes"
13265 else
13266   echo "configure: failed program was:" >&5
13267   cat conftest.$ac_ext >&5
13268   rm -rf conftest*
13269   eval "ac_cv_func_$ac_func=no"
13270 fi
13271 rm -f conftest*
13272 fi
13273
13274 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13275   echo "$ac_t""yes" 1>&6
13276     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13277   cat >> confdefs.h <<EOF
13278 #define $ac_tr_func 1
13279 EOF
13280  
13281 else
13282   echo "$ac_t""no" 1>&6
13283 fi
13284 done
13285     
13286   fi
13287
13288   
13289   echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13290 echo "configure:13291: checking for _ldexpf declaration" >&5
13291   if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
13292     if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13293   echo $ac_n "(cached) $ac_c" 1>&6
13294 else
13295   
13296       
13297       ac_ext=C
13298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13299 ac_cpp='$CXXCPP $CPPFLAGS'
13300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13301 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13302 cross_compiling=$ac_cv_prog_cxx_cross
13303
13304       cat > conftest.$ac_ext <<EOF
13305 #line 13306 "configure"
13306 #include "confdefs.h"
13307 #include <math.h>
13308 int main() {
13309  _ldexpf(0, 0);
13310 ; return 0; }
13311 EOF
13312 if { (eval echo configure:13313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13313   rm -rf conftest*
13314   glibcpp_cv_func__ldexpf_use=yes
13315 else
13316   echo "configure: failed program was:" >&5
13317   cat conftest.$ac_ext >&5
13318   rm -rf conftest*
13319   glibcpp_cv_func__ldexpf_use=no
13320 fi
13321 rm -f conftest*
13322       ac_ext=c
13323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13324 ac_cpp='$CPP $CPPFLAGS'
13325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13327 cross_compiling=$ac_cv_prog_cc_cross
13328
13329     
13330 fi
13331
13332   fi
13333   echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13334   if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13335     for ac_func in _ldexpf
13336 do
13337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13338 echo "configure:13339: checking for $ac_func" >&5
13339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13340   echo $ac_n "(cached) $ac_c" 1>&6
13341 else
13342   cat > conftest.$ac_ext <<EOF
13343 #line 13344 "configure"
13344 #include "confdefs.h"
13345 /* System header to define __stub macros and hopefully few prototypes,
13346     which can conflict with char $ac_func(); below.  */
13347 #include <assert.h>
13348 /* Override any gcc2 internal prototype to avoid an error.  */
13349 /* We use char because int might match the return type of a gcc2
13350     builtin and then its argument prototype would still apply.  */
13351 char $ac_func();
13352
13353 int main() {
13354
13355 /* The GNU C library defines this for functions which it implements
13356     to always fail with ENOSYS.  Some functions are actually named
13357     something starting with __ and the normal name is an alias.  */
13358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13359 choke me
13360 #else
13361 $ac_func();
13362 #endif
13363
13364 ; return 0; }
13365 EOF
13366 if { (eval echo configure:13367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13367   rm -rf conftest*
13368   eval "ac_cv_func_$ac_func=yes"
13369 else
13370   echo "configure: failed program was:" >&5
13371   cat conftest.$ac_ext >&5
13372   rm -rf conftest*
13373   eval "ac_cv_func_$ac_func=no"
13374 fi
13375 rm -f conftest*
13376 fi
13377
13378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13379   echo "$ac_t""yes" 1>&6
13380     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13381   cat >> confdefs.h <<EOF
13382 #define $ac_tr_func 1
13383 EOF
13384  
13385 else
13386   echo "$ac_t""no" 1>&6
13387 fi
13388 done
13389     
13390   fi
13391
13392   
13393   echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13394 echo "configure:13395: checking for _logf declaration" >&5
13395   if test x${glibcpp_cv_func__logf_use+set} != xset; then
13396     if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13397   echo $ac_n "(cached) $ac_c" 1>&6
13398 else
13399   
13400       
13401       ac_ext=C
13402 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13403 ac_cpp='$CXXCPP $CPPFLAGS'
13404 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13405 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13406 cross_compiling=$ac_cv_prog_cxx_cross
13407
13408       cat > conftest.$ac_ext <<EOF
13409 #line 13410 "configure"
13410 #include "confdefs.h"
13411 #include <math.h>
13412 int main() {
13413  _logf(0);
13414 ; return 0; }
13415 EOF
13416 if { (eval echo configure:13417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13417   rm -rf conftest*
13418   glibcpp_cv_func__logf_use=yes
13419 else
13420   echo "configure: failed program was:" >&5
13421   cat conftest.$ac_ext >&5
13422   rm -rf conftest*
13423   glibcpp_cv_func__logf_use=no
13424 fi
13425 rm -f conftest*
13426       ac_ext=c
13427 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13428 ac_cpp='$CPP $CPPFLAGS'
13429 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13430 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13431 cross_compiling=$ac_cv_prog_cc_cross
13432
13433     
13434 fi
13435
13436   fi
13437   echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13438   if test x$glibcpp_cv_func__logf_use = x"yes"; then
13439     for ac_func in _logf
13440 do
13441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13442 echo "configure:13443: checking for $ac_func" >&5
13443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13444   echo $ac_n "(cached) $ac_c" 1>&6
13445 else
13446   cat > conftest.$ac_ext <<EOF
13447 #line 13448 "configure"
13448 #include "confdefs.h"
13449 /* System header to define __stub macros and hopefully few prototypes,
13450     which can conflict with char $ac_func(); below.  */
13451 #include <assert.h>
13452 /* Override any gcc2 internal prototype to avoid an error.  */
13453 /* We use char because int might match the return type of a gcc2
13454     builtin and then its argument prototype would still apply.  */
13455 char $ac_func();
13456
13457 int main() {
13458
13459 /* The GNU C library defines this for functions which it implements
13460     to always fail with ENOSYS.  Some functions are actually named
13461     something starting with __ and the normal name is an alias.  */
13462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13463 choke me
13464 #else
13465 $ac_func();
13466 #endif
13467
13468 ; return 0; }
13469 EOF
13470 if { (eval echo configure:13471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13471   rm -rf conftest*
13472   eval "ac_cv_func_$ac_func=yes"
13473 else
13474   echo "configure: failed program was:" >&5
13475   cat conftest.$ac_ext >&5
13476   rm -rf conftest*
13477   eval "ac_cv_func_$ac_func=no"
13478 fi
13479 rm -f conftest*
13480 fi
13481
13482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13483   echo "$ac_t""yes" 1>&6
13484     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13485   cat >> confdefs.h <<EOF
13486 #define $ac_tr_func 1
13487 EOF
13488  
13489 else
13490   echo "$ac_t""no" 1>&6
13491 fi
13492 done
13493     
13494   fi
13495
13496   
13497   echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13498 echo "configure:13499: checking for _log10f declaration" >&5
13499   if test x${glibcpp_cv_func__log10f_use+set} != xset; then
13500     if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13501   echo $ac_n "(cached) $ac_c" 1>&6
13502 else
13503   
13504       
13505       ac_ext=C
13506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13507 ac_cpp='$CXXCPP $CPPFLAGS'
13508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13510 cross_compiling=$ac_cv_prog_cxx_cross
13511
13512       cat > conftest.$ac_ext <<EOF
13513 #line 13514 "configure"
13514 #include "confdefs.h"
13515 #include <math.h>
13516 int main() {
13517  _log10f(0);
13518 ; return 0; }
13519 EOF
13520 if { (eval echo configure:13521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13521   rm -rf conftest*
13522   glibcpp_cv_func__log10f_use=yes
13523 else
13524   echo "configure: failed program was:" >&5
13525   cat conftest.$ac_ext >&5
13526   rm -rf conftest*
13527   glibcpp_cv_func__log10f_use=no
13528 fi
13529 rm -f conftest*
13530       ac_ext=c
13531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13532 ac_cpp='$CPP $CPPFLAGS'
13533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13535 cross_compiling=$ac_cv_prog_cc_cross
13536
13537     
13538 fi
13539
13540   fi
13541   echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13542   if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13543     for ac_func in _log10f
13544 do
13545 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13546 echo "configure:13547: checking for $ac_func" >&5
13547 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13548   echo $ac_n "(cached) $ac_c" 1>&6
13549 else
13550   cat > conftest.$ac_ext <<EOF
13551 #line 13552 "configure"
13552 #include "confdefs.h"
13553 /* System header to define __stub macros and hopefully few prototypes,
13554     which can conflict with char $ac_func(); below.  */
13555 #include <assert.h>
13556 /* Override any gcc2 internal prototype to avoid an error.  */
13557 /* We use char because int might match the return type of a gcc2
13558     builtin and then its argument prototype would still apply.  */
13559 char $ac_func();
13560
13561 int main() {
13562
13563 /* The GNU C library defines this for functions which it implements
13564     to always fail with ENOSYS.  Some functions are actually named
13565     something starting with __ and the normal name is an alias.  */
13566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13567 choke me
13568 #else
13569 $ac_func();
13570 #endif
13571
13572 ; return 0; }
13573 EOF
13574 if { (eval echo configure:13575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13575   rm -rf conftest*
13576   eval "ac_cv_func_$ac_func=yes"
13577 else
13578   echo "configure: failed program was:" >&5
13579   cat conftest.$ac_ext >&5
13580   rm -rf conftest*
13581   eval "ac_cv_func_$ac_func=no"
13582 fi
13583 rm -f conftest*
13584 fi
13585
13586 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13587   echo "$ac_t""yes" 1>&6
13588     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13589   cat >> confdefs.h <<EOF
13590 #define $ac_tr_func 1
13591 EOF
13592  
13593 else
13594   echo "$ac_t""no" 1>&6
13595 fi
13596 done
13597     
13598   fi
13599
13600   
13601   echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13602 echo "configure:13603: checking for _modff declaration" >&5
13603   if test x${glibcpp_cv_func__modff_use+set} != xset; then
13604     if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13605   echo $ac_n "(cached) $ac_c" 1>&6
13606 else
13607   
13608       
13609       ac_ext=C
13610 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13611 ac_cpp='$CXXCPP $CPPFLAGS'
13612 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13613 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13614 cross_compiling=$ac_cv_prog_cxx_cross
13615
13616       cat > conftest.$ac_ext <<EOF
13617 #line 13618 "configure"
13618 #include "confdefs.h"
13619 #include <math.h>
13620 int main() {
13621  _modff(0, 0);
13622 ; return 0; }
13623 EOF
13624 if { (eval echo configure:13625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13625   rm -rf conftest*
13626   glibcpp_cv_func__modff_use=yes
13627 else
13628   echo "configure: failed program was:" >&5
13629   cat conftest.$ac_ext >&5
13630   rm -rf conftest*
13631   glibcpp_cv_func__modff_use=no
13632 fi
13633 rm -f conftest*
13634       ac_ext=c
13635 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13636 ac_cpp='$CPP $CPPFLAGS'
13637 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13638 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13639 cross_compiling=$ac_cv_prog_cc_cross
13640
13641     
13642 fi
13643
13644   fi
13645   echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13646   if test x$glibcpp_cv_func__modff_use = x"yes"; then
13647     for ac_func in _modff
13648 do
13649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13650 echo "configure:13651: checking for $ac_func" >&5
13651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13652   echo $ac_n "(cached) $ac_c" 1>&6
13653 else
13654   cat > conftest.$ac_ext <<EOF
13655 #line 13656 "configure"
13656 #include "confdefs.h"
13657 /* System header to define __stub macros and hopefully few prototypes,
13658     which can conflict with char $ac_func(); below.  */
13659 #include <assert.h>
13660 /* Override any gcc2 internal prototype to avoid an error.  */
13661 /* We use char because int might match the return type of a gcc2
13662     builtin and then its argument prototype would still apply.  */
13663 char $ac_func();
13664
13665 int main() {
13666
13667 /* The GNU C library defines this for functions which it implements
13668     to always fail with ENOSYS.  Some functions are actually named
13669     something starting with __ and the normal name is an alias.  */
13670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13671 choke me
13672 #else
13673 $ac_func();
13674 #endif
13675
13676 ; return 0; }
13677 EOF
13678 if { (eval echo configure:13679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13679   rm -rf conftest*
13680   eval "ac_cv_func_$ac_func=yes"
13681 else
13682   echo "configure: failed program was:" >&5
13683   cat conftest.$ac_ext >&5
13684   rm -rf conftest*
13685   eval "ac_cv_func_$ac_func=no"
13686 fi
13687 rm -f conftest*
13688 fi
13689
13690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13691   echo "$ac_t""yes" 1>&6
13692     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13693   cat >> confdefs.h <<EOF
13694 #define $ac_tr_func 1
13695 EOF
13696  
13697 else
13698   echo "$ac_t""no" 1>&6
13699 fi
13700 done
13701     
13702   fi
13703
13704   
13705   echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13706 echo "configure:13707: checking for _powf declaration" >&5
13707   if test x${glibcpp_cv_func__powf_use+set} != xset; then
13708     if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13709   echo $ac_n "(cached) $ac_c" 1>&6
13710 else
13711   
13712       
13713       ac_ext=C
13714 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13715 ac_cpp='$CXXCPP $CPPFLAGS'
13716 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13717 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13718 cross_compiling=$ac_cv_prog_cxx_cross
13719
13720       cat > conftest.$ac_ext <<EOF
13721 #line 13722 "configure"
13722 #include "confdefs.h"
13723 #include <math.h>
13724 int main() {
13725  _powf(0, 0);
13726 ; return 0; }
13727 EOF
13728 if { (eval echo configure:13729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13729   rm -rf conftest*
13730   glibcpp_cv_func__powf_use=yes
13731 else
13732   echo "configure: failed program was:" >&5
13733   cat conftest.$ac_ext >&5
13734   rm -rf conftest*
13735   glibcpp_cv_func__powf_use=no
13736 fi
13737 rm -f conftest*
13738       ac_ext=c
13739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13740 ac_cpp='$CPP $CPPFLAGS'
13741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13743 cross_compiling=$ac_cv_prog_cc_cross
13744
13745     
13746 fi
13747
13748   fi
13749   echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13750   if test x$glibcpp_cv_func__powf_use = x"yes"; then
13751     for ac_func in _powf
13752 do
13753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13754 echo "configure:13755: checking for $ac_func" >&5
13755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13756   echo $ac_n "(cached) $ac_c" 1>&6
13757 else
13758   cat > conftest.$ac_ext <<EOF
13759 #line 13760 "configure"
13760 #include "confdefs.h"
13761 /* System header to define __stub macros and hopefully few prototypes,
13762     which can conflict with char $ac_func(); below.  */
13763 #include <assert.h>
13764 /* Override any gcc2 internal prototype to avoid an error.  */
13765 /* We use char because int might match the return type of a gcc2
13766     builtin and then its argument prototype would still apply.  */
13767 char $ac_func();
13768
13769 int main() {
13770
13771 /* The GNU C library defines this for functions which it implements
13772     to always fail with ENOSYS.  Some functions are actually named
13773     something starting with __ and the normal name is an alias.  */
13774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13775 choke me
13776 #else
13777 $ac_func();
13778 #endif
13779
13780 ; return 0; }
13781 EOF
13782 if { (eval echo configure:13783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13783   rm -rf conftest*
13784   eval "ac_cv_func_$ac_func=yes"
13785 else
13786   echo "configure: failed program was:" >&5
13787   cat conftest.$ac_ext >&5
13788   rm -rf conftest*
13789   eval "ac_cv_func_$ac_func=no"
13790 fi
13791 rm -f conftest*
13792 fi
13793
13794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13795   echo "$ac_t""yes" 1>&6
13796     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13797   cat >> confdefs.h <<EOF
13798 #define $ac_tr_func 1
13799 EOF
13800  
13801 else
13802   echo "$ac_t""no" 1>&6
13803 fi
13804 done
13805     
13806   fi
13807
13808   
13809   echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13810 echo "configure:13811: checking for _sinf declaration" >&5
13811   if test x${glibcpp_cv_func__sinf_use+set} != xset; then
13812     if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13813   echo $ac_n "(cached) $ac_c" 1>&6
13814 else
13815   
13816       
13817       ac_ext=C
13818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13819 ac_cpp='$CXXCPP $CPPFLAGS'
13820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13822 cross_compiling=$ac_cv_prog_cxx_cross
13823
13824       cat > conftest.$ac_ext <<EOF
13825 #line 13826 "configure"
13826 #include "confdefs.h"
13827 #include <math.h>
13828 int main() {
13829  _sinf(0);
13830 ; return 0; }
13831 EOF
13832 if { (eval echo configure:13833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13833   rm -rf conftest*
13834   glibcpp_cv_func__sinf_use=yes
13835 else
13836   echo "configure: failed program was:" >&5
13837   cat conftest.$ac_ext >&5
13838   rm -rf conftest*
13839   glibcpp_cv_func__sinf_use=no
13840 fi
13841 rm -f conftest*
13842       ac_ext=c
13843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13844 ac_cpp='$CPP $CPPFLAGS'
13845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13847 cross_compiling=$ac_cv_prog_cc_cross
13848
13849     
13850 fi
13851
13852   fi
13853   echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13854   if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13855     for ac_func in _sinf
13856 do
13857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13858 echo "configure:13859: checking for $ac_func" >&5
13859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13860   echo $ac_n "(cached) $ac_c" 1>&6
13861 else
13862   cat > conftest.$ac_ext <<EOF
13863 #line 13864 "configure"
13864 #include "confdefs.h"
13865 /* System header to define __stub macros and hopefully few prototypes,
13866     which can conflict with char $ac_func(); below.  */
13867 #include <assert.h>
13868 /* Override any gcc2 internal prototype to avoid an error.  */
13869 /* We use char because int might match the return type of a gcc2
13870     builtin and then its argument prototype would still apply.  */
13871 char $ac_func();
13872
13873 int main() {
13874
13875 /* The GNU C library defines this for functions which it implements
13876     to always fail with ENOSYS.  Some functions are actually named
13877     something starting with __ and the normal name is an alias.  */
13878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13879 choke me
13880 #else
13881 $ac_func();
13882 #endif
13883
13884 ; return 0; }
13885 EOF
13886 if { (eval echo configure:13887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13887   rm -rf conftest*
13888   eval "ac_cv_func_$ac_func=yes"
13889 else
13890   echo "configure: failed program was:" >&5
13891   cat conftest.$ac_ext >&5
13892   rm -rf conftest*
13893   eval "ac_cv_func_$ac_func=no"
13894 fi
13895 rm -f conftest*
13896 fi
13897
13898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13899   echo "$ac_t""yes" 1>&6
13900     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13901   cat >> confdefs.h <<EOF
13902 #define $ac_tr_func 1
13903 EOF
13904  
13905 else
13906   echo "$ac_t""no" 1>&6
13907 fi
13908 done
13909     
13910   fi
13911
13912   
13913   echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13914 echo "configure:13915: checking for _sinhf declaration" >&5
13915   if test x${glibcpp_cv_func__sinhf_use+set} != xset; then
13916     if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13917   echo $ac_n "(cached) $ac_c" 1>&6
13918 else
13919   
13920       
13921       ac_ext=C
13922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13923 ac_cpp='$CXXCPP $CPPFLAGS'
13924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13926 cross_compiling=$ac_cv_prog_cxx_cross
13927
13928       cat > conftest.$ac_ext <<EOF
13929 #line 13930 "configure"
13930 #include "confdefs.h"
13931 #include <math.h>
13932 int main() {
13933  _sinhf(0);
13934 ; return 0; }
13935 EOF
13936 if { (eval echo configure:13937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13937   rm -rf conftest*
13938   glibcpp_cv_func__sinhf_use=yes
13939 else
13940   echo "configure: failed program was:" >&5
13941   cat conftest.$ac_ext >&5
13942   rm -rf conftest*
13943   glibcpp_cv_func__sinhf_use=no
13944 fi
13945 rm -f conftest*
13946       ac_ext=c
13947 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13948 ac_cpp='$CPP $CPPFLAGS'
13949 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13950 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13951 cross_compiling=$ac_cv_prog_cc_cross
13952
13953     
13954 fi
13955
13956   fi
13957   echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13958   if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13959     for ac_func in _sinhf
13960 do
13961 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13962 echo "configure:13963: checking for $ac_func" >&5
13963 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13964   echo $ac_n "(cached) $ac_c" 1>&6
13965 else
13966   cat > conftest.$ac_ext <<EOF
13967 #line 13968 "configure"
13968 #include "confdefs.h"
13969 /* System header to define __stub macros and hopefully few prototypes,
13970     which can conflict with char $ac_func(); below.  */
13971 #include <assert.h>
13972 /* Override any gcc2 internal prototype to avoid an error.  */
13973 /* We use char because int might match the return type of a gcc2
13974     builtin and then its argument prototype would still apply.  */
13975 char $ac_func();
13976
13977 int main() {
13978
13979 /* The GNU C library defines this for functions which it implements
13980     to always fail with ENOSYS.  Some functions are actually named
13981     something starting with __ and the normal name is an alias.  */
13982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13983 choke me
13984 #else
13985 $ac_func();
13986 #endif
13987
13988 ; return 0; }
13989 EOF
13990 if { (eval echo configure:13991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13991   rm -rf conftest*
13992   eval "ac_cv_func_$ac_func=yes"
13993 else
13994   echo "configure: failed program was:" >&5
13995   cat conftest.$ac_ext >&5
13996   rm -rf conftest*
13997   eval "ac_cv_func_$ac_func=no"
13998 fi
13999 rm -f conftest*
14000 fi
14001
14002 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14003   echo "$ac_t""yes" 1>&6
14004     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14005   cat >> confdefs.h <<EOF
14006 #define $ac_tr_func 1
14007 EOF
14008  
14009 else
14010   echo "$ac_t""no" 1>&6
14011 fi
14012 done
14013     
14014   fi
14015
14016   
14017   echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
14018 echo "configure:14019: checking for _sqrtf declaration" >&5
14019   if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
14020     if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
14021   echo $ac_n "(cached) $ac_c" 1>&6
14022 else
14023   
14024       
14025       ac_ext=C
14026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14027 ac_cpp='$CXXCPP $CPPFLAGS'
14028 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14029 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14030 cross_compiling=$ac_cv_prog_cxx_cross
14031
14032       cat > conftest.$ac_ext <<EOF
14033 #line 14034 "configure"
14034 #include "confdefs.h"
14035 #include <math.h>
14036 int main() {
14037  _sqrtf(0);
14038 ; return 0; }
14039 EOF
14040 if { (eval echo configure:14041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14041   rm -rf conftest*
14042   glibcpp_cv_func__sqrtf_use=yes
14043 else
14044   echo "configure: failed program was:" >&5
14045   cat conftest.$ac_ext >&5
14046   rm -rf conftest*
14047   glibcpp_cv_func__sqrtf_use=no
14048 fi
14049 rm -f conftest*
14050       ac_ext=c
14051 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14052 ac_cpp='$CPP $CPPFLAGS'
14053 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14054 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14055 cross_compiling=$ac_cv_prog_cc_cross
14056
14057     
14058 fi
14059
14060   fi
14061   echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
14062   if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
14063     for ac_func in _sqrtf
14064 do
14065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14066 echo "configure:14067: checking for $ac_func" >&5
14067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14068   echo $ac_n "(cached) $ac_c" 1>&6
14069 else
14070   cat > conftest.$ac_ext <<EOF
14071 #line 14072 "configure"
14072 #include "confdefs.h"
14073 /* System header to define __stub macros and hopefully few prototypes,
14074     which can conflict with char $ac_func(); below.  */
14075 #include <assert.h>
14076 /* Override any gcc2 internal prototype to avoid an error.  */
14077 /* We use char because int might match the return type of a gcc2
14078     builtin and then its argument prototype would still apply.  */
14079 char $ac_func();
14080
14081 int main() {
14082
14083 /* The GNU C library defines this for functions which it implements
14084     to always fail with ENOSYS.  Some functions are actually named
14085     something starting with __ and the normal name is an alias.  */
14086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14087 choke me
14088 #else
14089 $ac_func();
14090 #endif
14091
14092 ; return 0; }
14093 EOF
14094 if { (eval echo configure:14095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14095   rm -rf conftest*
14096   eval "ac_cv_func_$ac_func=yes"
14097 else
14098   echo "configure: failed program was:" >&5
14099   cat conftest.$ac_ext >&5
14100   rm -rf conftest*
14101   eval "ac_cv_func_$ac_func=no"
14102 fi
14103 rm -f conftest*
14104 fi
14105
14106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14107   echo "$ac_t""yes" 1>&6
14108     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14109   cat >> confdefs.h <<EOF
14110 #define $ac_tr_func 1
14111 EOF
14112  
14113 else
14114   echo "$ac_t""no" 1>&6
14115 fi
14116 done
14117     
14118   fi
14119
14120   
14121   echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
14122 echo "configure:14123: checking for _tanf declaration" >&5
14123   if test x${glibcpp_cv_func__tanf_use+set} != xset; then
14124     if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
14125   echo $ac_n "(cached) $ac_c" 1>&6
14126 else
14127   
14128       
14129       ac_ext=C
14130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14131 ac_cpp='$CXXCPP $CPPFLAGS'
14132 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14133 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14134 cross_compiling=$ac_cv_prog_cxx_cross
14135
14136       cat > conftest.$ac_ext <<EOF
14137 #line 14138 "configure"
14138 #include "confdefs.h"
14139 #include <math.h>
14140 int main() {
14141  _tanf(0);
14142 ; return 0; }
14143 EOF
14144 if { (eval echo configure:14145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14145   rm -rf conftest*
14146   glibcpp_cv_func__tanf_use=yes
14147 else
14148   echo "configure: failed program was:" >&5
14149   cat conftest.$ac_ext >&5
14150   rm -rf conftest*
14151   glibcpp_cv_func__tanf_use=no
14152 fi
14153 rm -f conftest*
14154       ac_ext=c
14155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14156 ac_cpp='$CPP $CPPFLAGS'
14157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14159 cross_compiling=$ac_cv_prog_cc_cross
14160
14161     
14162 fi
14163
14164   fi
14165   echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
14166   if test x$glibcpp_cv_func__tanf_use = x"yes"; then
14167     for ac_func in _tanf
14168 do
14169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14170 echo "configure:14171: checking for $ac_func" >&5
14171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14172   echo $ac_n "(cached) $ac_c" 1>&6
14173 else
14174   cat > conftest.$ac_ext <<EOF
14175 #line 14176 "configure"
14176 #include "confdefs.h"
14177 /* System header to define __stub macros and hopefully few prototypes,
14178     which can conflict with char $ac_func(); below.  */
14179 #include <assert.h>
14180 /* Override any gcc2 internal prototype to avoid an error.  */
14181 /* We use char because int might match the return type of a gcc2
14182     builtin and then its argument prototype would still apply.  */
14183 char $ac_func();
14184
14185 int main() {
14186
14187 /* The GNU C library defines this for functions which it implements
14188     to always fail with ENOSYS.  Some functions are actually named
14189     something starting with __ and the normal name is an alias.  */
14190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14191 choke me
14192 #else
14193 $ac_func();
14194 #endif
14195
14196 ; return 0; }
14197 EOF
14198 if { (eval echo configure:14199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14199   rm -rf conftest*
14200   eval "ac_cv_func_$ac_func=yes"
14201 else
14202   echo "configure: failed program was:" >&5
14203   cat conftest.$ac_ext >&5
14204   rm -rf conftest*
14205   eval "ac_cv_func_$ac_func=no"
14206 fi
14207 rm -f conftest*
14208 fi
14209
14210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14211   echo "$ac_t""yes" 1>&6
14212     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14213   cat >> confdefs.h <<EOF
14214 #define $ac_tr_func 1
14215 EOF
14216  
14217 else
14218   echo "$ac_t""no" 1>&6
14219 fi
14220 done
14221     
14222   fi
14223
14224   
14225   echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
14226 echo "configure:14227: checking for _tanhf declaration" >&5
14227   if test x${glibcpp_cv_func__tanhf_use+set} != xset; then
14228     if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
14229   echo $ac_n "(cached) $ac_c" 1>&6
14230 else
14231   
14232       
14233       ac_ext=C
14234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14235 ac_cpp='$CXXCPP $CPPFLAGS'
14236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14238 cross_compiling=$ac_cv_prog_cxx_cross
14239
14240       cat > conftest.$ac_ext <<EOF
14241 #line 14242 "configure"
14242 #include "confdefs.h"
14243 #include <math.h>
14244 int main() {
14245  _tanhf(0);
14246 ; return 0; }
14247 EOF
14248 if { (eval echo configure:14249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14249   rm -rf conftest*
14250   glibcpp_cv_func__tanhf_use=yes
14251 else
14252   echo "configure: failed program was:" >&5
14253   cat conftest.$ac_ext >&5
14254   rm -rf conftest*
14255   glibcpp_cv_func__tanhf_use=no
14256 fi
14257 rm -f conftest*
14258       ac_ext=c
14259 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14260 ac_cpp='$CPP $CPPFLAGS'
14261 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14262 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14263 cross_compiling=$ac_cv_prog_cc_cross
14264
14265     
14266 fi
14267
14268   fi
14269   echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
14270   if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
14271     for ac_func in _tanhf
14272 do
14273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14274 echo "configure:14275: checking for $ac_func" >&5
14275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14276   echo $ac_n "(cached) $ac_c" 1>&6
14277 else
14278   cat > conftest.$ac_ext <<EOF
14279 #line 14280 "configure"
14280 #include "confdefs.h"
14281 /* System header to define __stub macros and hopefully few prototypes,
14282     which can conflict with char $ac_func(); below.  */
14283 #include <assert.h>
14284 /* Override any gcc2 internal prototype to avoid an error.  */
14285 /* We use char because int might match the return type of a gcc2
14286     builtin and then its argument prototype would still apply.  */
14287 char $ac_func();
14288
14289 int main() {
14290
14291 /* The GNU C library defines this for functions which it implements
14292     to always fail with ENOSYS.  Some functions are actually named
14293     something starting with __ and the normal name is an alias.  */
14294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14295 choke me
14296 #else
14297 $ac_func();
14298 #endif
14299
14300 ; return 0; }
14301 EOF
14302 if { (eval echo configure:14303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14303   rm -rf conftest*
14304   eval "ac_cv_func_$ac_func=yes"
14305 else
14306   echo "configure: failed program was:" >&5
14307   cat conftest.$ac_ext >&5
14308   rm -rf conftest*
14309   eval "ac_cv_func_$ac_func=no"
14310 fi
14311 rm -f conftest*
14312 fi
14313
14314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14315   echo "$ac_t""yes" 1>&6
14316     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14317   cat >> confdefs.h <<EOF
14318 #define $ac_tr_func 1
14319 EOF
14320  
14321 else
14322   echo "$ac_t""no" 1>&6
14323 fi
14324 done
14325     
14326   fi
14327
14328   
14329   echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14330 echo "configure:14331: checking for _sincosf declaration" >&5
14331   if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
14332     if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14333   echo $ac_n "(cached) $ac_c" 1>&6
14334 else
14335   
14336       
14337       ac_ext=C
14338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14339 ac_cpp='$CXXCPP $CPPFLAGS'
14340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14342 cross_compiling=$ac_cv_prog_cxx_cross
14343
14344       cat > conftest.$ac_ext <<EOF
14345 #line 14346 "configure"
14346 #include "confdefs.h"
14347 #include <math.h>
14348 int main() {
14349  _sincosf(0, 0, 0);
14350 ; return 0; }
14351 EOF
14352 if { (eval echo configure:14353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14353   rm -rf conftest*
14354   glibcpp_cv_func__sincosf_use=yes
14355 else
14356   echo "configure: failed program was:" >&5
14357   cat conftest.$ac_ext >&5
14358   rm -rf conftest*
14359   glibcpp_cv_func__sincosf_use=no
14360 fi
14361 rm -f conftest*
14362       ac_ext=c
14363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14364 ac_cpp='$CPP $CPPFLAGS'
14365 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14366 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14367 cross_compiling=$ac_cv_prog_cc_cross
14368
14369     
14370 fi
14371
14372   fi
14373   echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14374   if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14375     for ac_func in _sincosf
14376 do
14377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14378 echo "configure:14379: checking for $ac_func" >&5
14379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14380   echo $ac_n "(cached) $ac_c" 1>&6
14381 else
14382   cat > conftest.$ac_ext <<EOF
14383 #line 14384 "configure"
14384 #include "confdefs.h"
14385 /* System header to define __stub macros and hopefully few prototypes,
14386     which can conflict with char $ac_func(); below.  */
14387 #include <assert.h>
14388 /* Override any gcc2 internal prototype to avoid an error.  */
14389 /* We use char because int might match the return type of a gcc2
14390     builtin and then its argument prototype would still apply.  */
14391 char $ac_func();
14392
14393 int main() {
14394
14395 /* The GNU C library defines this for functions which it implements
14396     to always fail with ENOSYS.  Some functions are actually named
14397     something starting with __ and the normal name is an alias.  */
14398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14399 choke me
14400 #else
14401 $ac_func();
14402 #endif
14403
14404 ; return 0; }
14405 EOF
14406 if { (eval echo configure:14407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14407   rm -rf conftest*
14408   eval "ac_cv_func_$ac_func=yes"
14409 else
14410   echo "configure: failed program was:" >&5
14411   cat conftest.$ac_ext >&5
14412   rm -rf conftest*
14413   eval "ac_cv_func_$ac_func=no"
14414 fi
14415 rm -f conftest*
14416 fi
14417
14418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14419   echo "$ac_t""yes" 1>&6
14420     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14421   cat >> confdefs.h <<EOF
14422 #define $ac_tr_func 1
14423 EOF
14424  
14425 else
14426   echo "$ac_t""no" 1>&6
14427 fi
14428 done
14429     
14430   fi
14431
14432   
14433   echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14434 echo "configure:14435: checking for _finitef declaration" >&5
14435   if test x${glibcpp_cv_func__finitef_use+set} != xset; then
14436     if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_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  _finitef(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__finitef_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__finitef_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   fi
14477   echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14478   if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14479     for ac_func in _finitef
14480 do
14481 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14482 echo "configure:14483: checking for $ac_func" >&5
14483 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14484   echo $ac_n "(cached) $ac_c" 1>&6
14485 else
14486   cat > conftest.$ac_ext <<EOF
14487 #line 14488 "configure"
14488 #include "confdefs.h"
14489 /* System header to define __stub macros and hopefully few prototypes,
14490     which can conflict with char $ac_func(); below.  */
14491 #include <assert.h>
14492 /* Override any gcc2 internal prototype to avoid an error.  */
14493 /* We use char because int might match the return type of a gcc2
14494     builtin and then its argument prototype would still apply.  */
14495 char $ac_func();
14496
14497 int main() {
14498
14499 /* The GNU C library defines this for functions which it implements
14500     to always fail with ENOSYS.  Some functions are actually named
14501     something starting with __ and the normal name is an alias.  */
14502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14503 choke me
14504 #else
14505 $ac_func();
14506 #endif
14507
14508 ; return 0; }
14509 EOF
14510 if { (eval echo configure:14511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14511   rm -rf conftest*
14512   eval "ac_cv_func_$ac_func=yes"
14513 else
14514   echo "configure: failed program was:" >&5
14515   cat conftest.$ac_ext >&5
14516   rm -rf conftest*
14517   eval "ac_cv_func_$ac_func=no"
14518 fi
14519 rm -f conftest*
14520 fi
14521
14522 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14523   echo "$ac_t""yes" 1>&6
14524     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14525   cat >> confdefs.h <<EOF
14526 #define $ac_tr_func 1
14527 EOF
14528  
14529 else
14530   echo "$ac_t""no" 1>&6
14531 fi
14532 done
14533     
14534   fi
14535
14536
14537     
14538   echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14539 echo "configure:14540: checking for _isnanl declaration" >&5
14540   if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
14541     if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14542   echo $ac_n "(cached) $ac_c" 1>&6
14543 else
14544   
14545       
14546       ac_ext=C
14547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14548 ac_cpp='$CXXCPP $CPPFLAGS'
14549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14551 cross_compiling=$ac_cv_prog_cxx_cross
14552
14553       cat > conftest.$ac_ext <<EOF
14554 #line 14555 "configure"
14555 #include "confdefs.h"
14556 #include <math.h>
14557 int main() {
14558  _isnanl(0);
14559 ; return 0; }
14560 EOF
14561 if { (eval echo configure:14562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14562   rm -rf conftest*
14563   glibcpp_cv_func__isnanl_use=yes
14564 else
14565   echo "configure: failed program was:" >&5
14566   cat conftest.$ac_ext >&5
14567   rm -rf conftest*
14568   glibcpp_cv_func__isnanl_use=no
14569 fi
14570 rm -f conftest*
14571       ac_ext=c
14572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14573 ac_cpp='$CPP $CPPFLAGS'
14574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14576 cross_compiling=$ac_cv_prog_cc_cross
14577
14578     
14579 fi
14580
14581   fi
14582   echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14583   if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14584     for ac_func in _isnanl
14585 do
14586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14587 echo "configure:14588: checking for $ac_func" >&5
14588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14589   echo $ac_n "(cached) $ac_c" 1>&6
14590 else
14591   cat > conftest.$ac_ext <<EOF
14592 #line 14593 "configure"
14593 #include "confdefs.h"
14594 /* System header to define __stub macros and hopefully few prototypes,
14595     which can conflict with char $ac_func(); below.  */
14596 #include <assert.h>
14597 /* Override any gcc2 internal prototype to avoid an error.  */
14598 /* We use char because int might match the return type of a gcc2
14599     builtin and then its argument prototype would still apply.  */
14600 char $ac_func();
14601
14602 int main() {
14603
14604 /* The GNU C library defines this for functions which it implements
14605     to always fail with ENOSYS.  Some functions are actually named
14606     something starting with __ and the normal name is an alias.  */
14607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14608 choke me
14609 #else
14610 $ac_func();
14611 #endif
14612
14613 ; return 0; }
14614 EOF
14615 if { (eval echo configure:14616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14616   rm -rf conftest*
14617   eval "ac_cv_func_$ac_func=yes"
14618 else
14619   echo "configure: failed program was:" >&5
14620   cat conftest.$ac_ext >&5
14621   rm -rf conftest*
14622   eval "ac_cv_func_$ac_func=no"
14623 fi
14624 rm -f conftest*
14625 fi
14626
14627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14628   echo "$ac_t""yes" 1>&6
14629     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14630   cat >> confdefs.h <<EOF
14631 #define $ac_tr_func 1
14632 EOF
14633  
14634 else
14635   echo "$ac_t""no" 1>&6
14636 fi
14637 done
14638     
14639   fi
14640
14641   
14642   echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14643 echo "configure:14644: checking for _isinfl declaration" >&5
14644   if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
14645     if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14646   echo $ac_n "(cached) $ac_c" 1>&6
14647 else
14648   
14649       
14650       ac_ext=C
14651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14652 ac_cpp='$CXXCPP $CPPFLAGS'
14653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14655 cross_compiling=$ac_cv_prog_cxx_cross
14656
14657       cat > conftest.$ac_ext <<EOF
14658 #line 14659 "configure"
14659 #include "confdefs.h"
14660 #include <math.h>
14661 int main() {
14662  _isinfl(0);
14663 ; return 0; }
14664 EOF
14665 if { (eval echo configure:14666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14666   rm -rf conftest*
14667   glibcpp_cv_func__isinfl_use=yes
14668 else
14669   echo "configure: failed program was:" >&5
14670   cat conftest.$ac_ext >&5
14671   rm -rf conftest*
14672   glibcpp_cv_func__isinfl_use=no
14673 fi
14674 rm -f conftest*
14675       ac_ext=c
14676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14677 ac_cpp='$CPP $CPPFLAGS'
14678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14680 cross_compiling=$ac_cv_prog_cc_cross
14681
14682     
14683 fi
14684
14685   fi
14686   echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14687   if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14688     for ac_func in _isinfl
14689 do
14690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14691 echo "configure:14692: checking for $ac_func" >&5
14692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14693   echo $ac_n "(cached) $ac_c" 1>&6
14694 else
14695   cat > conftest.$ac_ext <<EOF
14696 #line 14697 "configure"
14697 #include "confdefs.h"
14698 /* System header to define __stub macros and hopefully few prototypes,
14699     which can conflict with char $ac_func(); below.  */
14700 #include <assert.h>
14701 /* Override any gcc2 internal prototype to avoid an error.  */
14702 /* We use char because int might match the return type of a gcc2
14703     builtin and then its argument prototype would still apply.  */
14704 char $ac_func();
14705
14706 int main() {
14707
14708 /* The GNU C library defines this for functions which it implements
14709     to always fail with ENOSYS.  Some functions are actually named
14710     something starting with __ and the normal name is an alias.  */
14711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14712 choke me
14713 #else
14714 $ac_func();
14715 #endif
14716
14717 ; return 0; }
14718 EOF
14719 if { (eval echo configure:14720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14720   rm -rf conftest*
14721   eval "ac_cv_func_$ac_func=yes"
14722 else
14723   echo "configure: failed program was:" >&5
14724   cat conftest.$ac_ext >&5
14725   rm -rf conftest*
14726   eval "ac_cv_func_$ac_func=no"
14727 fi
14728 rm -f conftest*
14729 fi
14730
14731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14732   echo "$ac_t""yes" 1>&6
14733     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14734   cat >> confdefs.h <<EOF
14735 #define $ac_tr_func 1
14736 EOF
14737  
14738 else
14739   echo "$ac_t""no" 1>&6
14740 fi
14741 done
14742     
14743   fi
14744
14745   
14746   echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14747 echo "configure:14748: checking for _copysignl declaration" >&5
14748   if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
14749     if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14750   echo $ac_n "(cached) $ac_c" 1>&6
14751 else
14752   
14753       
14754       ac_ext=C
14755 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14756 ac_cpp='$CXXCPP $CPPFLAGS'
14757 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14758 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14759 cross_compiling=$ac_cv_prog_cxx_cross
14760
14761       cat > conftest.$ac_ext <<EOF
14762 #line 14763 "configure"
14763 #include "confdefs.h"
14764 #include <math.h>
14765 int main() {
14766  _copysignl(0, 0);
14767 ; return 0; }
14768 EOF
14769 if { (eval echo configure:14770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14770   rm -rf conftest*
14771   glibcpp_cv_func__copysignl_use=yes
14772 else
14773   echo "configure: failed program was:" >&5
14774   cat conftest.$ac_ext >&5
14775   rm -rf conftest*
14776   glibcpp_cv_func__copysignl_use=no
14777 fi
14778 rm -f conftest*
14779       ac_ext=c
14780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14781 ac_cpp='$CPP $CPPFLAGS'
14782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14784 cross_compiling=$ac_cv_prog_cc_cross
14785
14786     
14787 fi
14788
14789   fi
14790   echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14791   if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14792     for ac_func in _copysignl
14793 do
14794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14795 echo "configure:14796: checking for $ac_func" >&5
14796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14797   echo $ac_n "(cached) $ac_c" 1>&6
14798 else
14799   cat > conftest.$ac_ext <<EOF
14800 #line 14801 "configure"
14801 #include "confdefs.h"
14802 /* System header to define __stub macros and hopefully few prototypes,
14803     which can conflict with char $ac_func(); below.  */
14804 #include <assert.h>
14805 /* Override any gcc2 internal prototype to avoid an error.  */
14806 /* We use char because int might match the return type of a gcc2
14807     builtin and then its argument prototype would still apply.  */
14808 char $ac_func();
14809
14810 int main() {
14811
14812 /* The GNU C library defines this for functions which it implements
14813     to always fail with ENOSYS.  Some functions are actually named
14814     something starting with __ and the normal name is an alias.  */
14815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14816 choke me
14817 #else
14818 $ac_func();
14819 #endif
14820
14821 ; return 0; }
14822 EOF
14823 if { (eval echo configure:14824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14824   rm -rf conftest*
14825   eval "ac_cv_func_$ac_func=yes"
14826 else
14827   echo "configure: failed program was:" >&5
14828   cat conftest.$ac_ext >&5
14829   rm -rf conftest*
14830   eval "ac_cv_func_$ac_func=no"
14831 fi
14832 rm -f conftest*
14833 fi
14834
14835 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14836   echo "$ac_t""yes" 1>&6
14837     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14838   cat >> confdefs.h <<EOF
14839 #define $ac_tr_func 1
14840 EOF
14841  
14842 else
14843   echo "$ac_t""no" 1>&6
14844 fi
14845 done
14846     
14847   fi
14848
14849   
14850   echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14851 echo "configure:14852: checking for _acosl declaration" >&5
14852   if test x${glibcpp_cv_func__acosl_use+set} != xset; then
14853     if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14854   echo $ac_n "(cached) $ac_c" 1>&6
14855 else
14856   
14857       
14858       ac_ext=C
14859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14860 ac_cpp='$CXXCPP $CPPFLAGS'
14861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14863 cross_compiling=$ac_cv_prog_cxx_cross
14864
14865       cat > conftest.$ac_ext <<EOF
14866 #line 14867 "configure"
14867 #include "confdefs.h"
14868 #include <math.h>
14869 int main() {
14870  _acosl(0);
14871 ; return 0; }
14872 EOF
14873 if { (eval echo configure:14874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14874   rm -rf conftest*
14875   glibcpp_cv_func__acosl_use=yes
14876 else
14877   echo "configure: failed program was:" >&5
14878   cat conftest.$ac_ext >&5
14879   rm -rf conftest*
14880   glibcpp_cv_func__acosl_use=no
14881 fi
14882 rm -f conftest*
14883       ac_ext=c
14884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14885 ac_cpp='$CPP $CPPFLAGS'
14886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14888 cross_compiling=$ac_cv_prog_cc_cross
14889
14890     
14891 fi
14892
14893   fi
14894   echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14895   if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14896     for ac_func in _acosl
14897 do
14898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14899 echo "configure:14900: checking for $ac_func" >&5
14900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14901   echo $ac_n "(cached) $ac_c" 1>&6
14902 else
14903   cat > conftest.$ac_ext <<EOF
14904 #line 14905 "configure"
14905 #include "confdefs.h"
14906 /* System header to define __stub macros and hopefully few prototypes,
14907     which can conflict with char $ac_func(); below.  */
14908 #include <assert.h>
14909 /* Override any gcc2 internal prototype to avoid an error.  */
14910 /* We use char because int might match the return type of a gcc2
14911     builtin and then its argument prototype would still apply.  */
14912 char $ac_func();
14913
14914 int main() {
14915
14916 /* The GNU C library defines this for functions which it implements
14917     to always fail with ENOSYS.  Some functions are actually named
14918     something starting with __ and the normal name is an alias.  */
14919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14920 choke me
14921 #else
14922 $ac_func();
14923 #endif
14924
14925 ; return 0; }
14926 EOF
14927 if { (eval echo configure:14928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14928   rm -rf conftest*
14929   eval "ac_cv_func_$ac_func=yes"
14930 else
14931   echo "configure: failed program was:" >&5
14932   cat conftest.$ac_ext >&5
14933   rm -rf conftest*
14934   eval "ac_cv_func_$ac_func=no"
14935 fi
14936 rm -f conftest*
14937 fi
14938
14939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14940   echo "$ac_t""yes" 1>&6
14941     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14942   cat >> confdefs.h <<EOF
14943 #define $ac_tr_func 1
14944 EOF
14945  
14946 else
14947   echo "$ac_t""no" 1>&6
14948 fi
14949 done
14950     
14951   fi
14952
14953   
14954   echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14955 echo "configure:14956: checking for _asinl declaration" >&5
14956   if test x${glibcpp_cv_func__asinl_use+set} != xset; then
14957     if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14958   echo $ac_n "(cached) $ac_c" 1>&6
14959 else
14960   
14961       
14962       ac_ext=C
14963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14964 ac_cpp='$CXXCPP $CPPFLAGS'
14965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14967 cross_compiling=$ac_cv_prog_cxx_cross
14968
14969       cat > conftest.$ac_ext <<EOF
14970 #line 14971 "configure"
14971 #include "confdefs.h"
14972 #include <math.h>
14973 int main() {
14974  _asinl(0);
14975 ; return 0; }
14976 EOF
14977 if { (eval echo configure:14978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14978   rm -rf conftest*
14979   glibcpp_cv_func__asinl_use=yes
14980 else
14981   echo "configure: failed program was:" >&5
14982   cat conftest.$ac_ext >&5
14983   rm -rf conftest*
14984   glibcpp_cv_func__asinl_use=no
14985 fi
14986 rm -f conftest*
14987       ac_ext=c
14988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14989 ac_cpp='$CPP $CPPFLAGS'
14990 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14991 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14992 cross_compiling=$ac_cv_prog_cc_cross
14993
14994     
14995 fi
14996
14997   fi
14998   echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14999   if test x$glibcpp_cv_func__asinl_use = x"yes"; then
15000     for ac_func in _asinl
15001 do
15002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15003 echo "configure:15004: checking for $ac_func" >&5
15004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15005   echo $ac_n "(cached) $ac_c" 1>&6
15006 else
15007   cat > conftest.$ac_ext <<EOF
15008 #line 15009 "configure"
15009 #include "confdefs.h"
15010 /* System header to define __stub macros and hopefully few prototypes,
15011     which can conflict with char $ac_func(); below.  */
15012 #include <assert.h>
15013 /* Override any gcc2 internal prototype to avoid an error.  */
15014 /* We use char because int might match the return type of a gcc2
15015     builtin and then its argument prototype would still apply.  */
15016 char $ac_func();
15017
15018 int main() {
15019
15020 /* The GNU C library defines this for functions which it implements
15021     to always fail with ENOSYS.  Some functions are actually named
15022     something starting with __ and the normal name is an alias.  */
15023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15024 choke me
15025 #else
15026 $ac_func();
15027 #endif
15028
15029 ; return 0; }
15030 EOF
15031 if { (eval echo configure:15032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15032   rm -rf conftest*
15033   eval "ac_cv_func_$ac_func=yes"
15034 else
15035   echo "configure: failed program was:" >&5
15036   cat conftest.$ac_ext >&5
15037   rm -rf conftest*
15038   eval "ac_cv_func_$ac_func=no"
15039 fi
15040 rm -f conftest*
15041 fi
15042
15043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15044   echo "$ac_t""yes" 1>&6
15045     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15046   cat >> confdefs.h <<EOF
15047 #define $ac_tr_func 1
15048 EOF
15049  
15050 else
15051   echo "$ac_t""no" 1>&6
15052 fi
15053 done
15054     
15055   fi
15056
15057   
15058   echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
15059 echo "configure:15060: checking for _atanl declaration" >&5
15060   if test x${glibcpp_cv_func__atanl_use+set} != xset; then
15061     if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
15062   echo $ac_n "(cached) $ac_c" 1>&6
15063 else
15064   
15065       
15066       ac_ext=C
15067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15068 ac_cpp='$CXXCPP $CPPFLAGS'
15069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15071 cross_compiling=$ac_cv_prog_cxx_cross
15072
15073       cat > conftest.$ac_ext <<EOF
15074 #line 15075 "configure"
15075 #include "confdefs.h"
15076 #include <math.h>
15077 int main() {
15078  _atanl(0);
15079 ; return 0; }
15080 EOF
15081 if { (eval echo configure:15082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15082   rm -rf conftest*
15083   glibcpp_cv_func__atanl_use=yes
15084 else
15085   echo "configure: failed program was:" >&5
15086   cat conftest.$ac_ext >&5
15087   rm -rf conftest*
15088   glibcpp_cv_func__atanl_use=no
15089 fi
15090 rm -f conftest*
15091       ac_ext=c
15092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15093 ac_cpp='$CPP $CPPFLAGS'
15094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15096 cross_compiling=$ac_cv_prog_cc_cross
15097
15098     
15099 fi
15100
15101   fi
15102   echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
15103   if test x$glibcpp_cv_func__atanl_use = x"yes"; then
15104     for ac_func in _atanl
15105 do
15106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15107 echo "configure:15108: checking for $ac_func" >&5
15108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15109   echo $ac_n "(cached) $ac_c" 1>&6
15110 else
15111   cat > conftest.$ac_ext <<EOF
15112 #line 15113 "configure"
15113 #include "confdefs.h"
15114 /* System header to define __stub macros and hopefully few prototypes,
15115     which can conflict with char $ac_func(); below.  */
15116 #include <assert.h>
15117 /* Override any gcc2 internal prototype to avoid an error.  */
15118 /* We use char because int might match the return type of a gcc2
15119     builtin and then its argument prototype would still apply.  */
15120 char $ac_func();
15121
15122 int main() {
15123
15124 /* The GNU C library defines this for functions which it implements
15125     to always fail with ENOSYS.  Some functions are actually named
15126     something starting with __ and the normal name is an alias.  */
15127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15128 choke me
15129 #else
15130 $ac_func();
15131 #endif
15132
15133 ; return 0; }
15134 EOF
15135 if { (eval echo configure:15136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15136   rm -rf conftest*
15137   eval "ac_cv_func_$ac_func=yes"
15138 else
15139   echo "configure: failed program was:" >&5
15140   cat conftest.$ac_ext >&5
15141   rm -rf conftest*
15142   eval "ac_cv_func_$ac_func=no"
15143 fi
15144 rm -f conftest*
15145 fi
15146
15147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15148   echo "$ac_t""yes" 1>&6
15149     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15150   cat >> confdefs.h <<EOF
15151 #define $ac_tr_func 1
15152 EOF
15153  
15154 else
15155   echo "$ac_t""no" 1>&6
15156 fi
15157 done
15158     
15159   fi
15160
15161   
15162   echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
15163 echo "configure:15164: checking for _atan2l declaration" >&5
15164   if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
15165     if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
15166   echo $ac_n "(cached) $ac_c" 1>&6
15167 else
15168   
15169       
15170       ac_ext=C
15171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15172 ac_cpp='$CXXCPP $CPPFLAGS'
15173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15175 cross_compiling=$ac_cv_prog_cxx_cross
15176
15177       cat > conftest.$ac_ext <<EOF
15178 #line 15179 "configure"
15179 #include "confdefs.h"
15180 #include <math.h>
15181 int main() {
15182  _atan2l(0, 0);
15183 ; return 0; }
15184 EOF
15185 if { (eval echo configure:15186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15186   rm -rf conftest*
15187   glibcpp_cv_func__atan2l_use=yes
15188 else
15189   echo "configure: failed program was:" >&5
15190   cat conftest.$ac_ext >&5
15191   rm -rf conftest*
15192   glibcpp_cv_func__atan2l_use=no
15193 fi
15194 rm -f conftest*
15195       ac_ext=c
15196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15197 ac_cpp='$CPP $CPPFLAGS'
15198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15200 cross_compiling=$ac_cv_prog_cc_cross
15201
15202     
15203 fi
15204
15205   fi
15206   echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
15207   if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
15208     for ac_func in _atan2l
15209 do
15210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15211 echo "configure:15212: checking for $ac_func" >&5
15212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15213   echo $ac_n "(cached) $ac_c" 1>&6
15214 else
15215   cat > conftest.$ac_ext <<EOF
15216 #line 15217 "configure"
15217 #include "confdefs.h"
15218 /* System header to define __stub macros and hopefully few prototypes,
15219     which can conflict with char $ac_func(); below.  */
15220 #include <assert.h>
15221 /* Override any gcc2 internal prototype to avoid an error.  */
15222 /* We use char because int might match the return type of a gcc2
15223     builtin and then its argument prototype would still apply.  */
15224 char $ac_func();
15225
15226 int main() {
15227
15228 /* The GNU C library defines this for functions which it implements
15229     to always fail with ENOSYS.  Some functions are actually named
15230     something starting with __ and the normal name is an alias.  */
15231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15232 choke me
15233 #else
15234 $ac_func();
15235 #endif
15236
15237 ; return 0; }
15238 EOF
15239 if { (eval echo configure:15240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15240   rm -rf conftest*
15241   eval "ac_cv_func_$ac_func=yes"
15242 else
15243   echo "configure: failed program was:" >&5
15244   cat conftest.$ac_ext >&5
15245   rm -rf conftest*
15246   eval "ac_cv_func_$ac_func=no"
15247 fi
15248 rm -f conftest*
15249 fi
15250
15251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15252   echo "$ac_t""yes" 1>&6
15253     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15254   cat >> confdefs.h <<EOF
15255 #define $ac_tr_func 1
15256 EOF
15257  
15258 else
15259   echo "$ac_t""no" 1>&6
15260 fi
15261 done
15262     
15263   fi
15264
15265   
15266   echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
15267 echo "configure:15268: checking for _ceill declaration" >&5
15268   if test x${glibcpp_cv_func__ceill_use+set} != xset; then
15269     if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
15270   echo $ac_n "(cached) $ac_c" 1>&6
15271 else
15272   
15273       
15274       ac_ext=C
15275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15276 ac_cpp='$CXXCPP $CPPFLAGS'
15277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15279 cross_compiling=$ac_cv_prog_cxx_cross
15280
15281       cat > conftest.$ac_ext <<EOF
15282 #line 15283 "configure"
15283 #include "confdefs.h"
15284 #include <math.h>
15285 int main() {
15286  _ceill(0);
15287 ; return 0; }
15288 EOF
15289 if { (eval echo configure:15290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15290   rm -rf conftest*
15291   glibcpp_cv_func__ceill_use=yes
15292 else
15293   echo "configure: failed program was:" >&5
15294   cat conftest.$ac_ext >&5
15295   rm -rf conftest*
15296   glibcpp_cv_func__ceill_use=no
15297 fi
15298 rm -f conftest*
15299       ac_ext=c
15300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15301 ac_cpp='$CPP $CPPFLAGS'
15302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15304 cross_compiling=$ac_cv_prog_cc_cross
15305
15306     
15307 fi
15308
15309   fi
15310   echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
15311   if test x$glibcpp_cv_func__ceill_use = x"yes"; then
15312     for ac_func in _ceill
15313 do
15314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15315 echo "configure:15316: checking for $ac_func" >&5
15316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15317   echo $ac_n "(cached) $ac_c" 1>&6
15318 else
15319   cat > conftest.$ac_ext <<EOF
15320 #line 15321 "configure"
15321 #include "confdefs.h"
15322 /* System header to define __stub macros and hopefully few prototypes,
15323     which can conflict with char $ac_func(); below.  */
15324 #include <assert.h>
15325 /* Override any gcc2 internal prototype to avoid an error.  */
15326 /* We use char because int might match the return type of a gcc2
15327     builtin and then its argument prototype would still apply.  */
15328 char $ac_func();
15329
15330 int main() {
15331
15332 /* The GNU C library defines this for functions which it implements
15333     to always fail with ENOSYS.  Some functions are actually named
15334     something starting with __ and the normal name is an alias.  */
15335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15336 choke me
15337 #else
15338 $ac_func();
15339 #endif
15340
15341 ; return 0; }
15342 EOF
15343 if { (eval echo configure:15344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15344   rm -rf conftest*
15345   eval "ac_cv_func_$ac_func=yes"
15346 else
15347   echo "configure: failed program was:" >&5
15348   cat conftest.$ac_ext >&5
15349   rm -rf conftest*
15350   eval "ac_cv_func_$ac_func=no"
15351 fi
15352 rm -f conftest*
15353 fi
15354
15355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15356   echo "$ac_t""yes" 1>&6
15357     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15358   cat >> confdefs.h <<EOF
15359 #define $ac_tr_func 1
15360 EOF
15361  
15362 else
15363   echo "$ac_t""no" 1>&6
15364 fi
15365 done
15366     
15367   fi
15368
15369   
15370   echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15371 echo "configure:15372: checking for _cosl declaration" >&5
15372   if test x${glibcpp_cv_func__cosl_use+set} != xset; then
15373     if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15374   echo $ac_n "(cached) $ac_c" 1>&6
15375 else
15376   
15377       
15378       ac_ext=C
15379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15380 ac_cpp='$CXXCPP $CPPFLAGS'
15381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15383 cross_compiling=$ac_cv_prog_cxx_cross
15384
15385       cat > conftest.$ac_ext <<EOF
15386 #line 15387 "configure"
15387 #include "confdefs.h"
15388 #include <math.h>
15389 int main() {
15390  _cosl(0);
15391 ; return 0; }
15392 EOF
15393 if { (eval echo configure:15394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15394   rm -rf conftest*
15395   glibcpp_cv_func__cosl_use=yes
15396 else
15397   echo "configure: failed program was:" >&5
15398   cat conftest.$ac_ext >&5
15399   rm -rf conftest*
15400   glibcpp_cv_func__cosl_use=no
15401 fi
15402 rm -f conftest*
15403       ac_ext=c
15404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15405 ac_cpp='$CPP $CPPFLAGS'
15406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15408 cross_compiling=$ac_cv_prog_cc_cross
15409
15410     
15411 fi
15412
15413   fi
15414   echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15415   if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15416     for ac_func in _cosl
15417 do
15418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15419 echo "configure:15420: checking for $ac_func" >&5
15420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15421   echo $ac_n "(cached) $ac_c" 1>&6
15422 else
15423   cat > conftest.$ac_ext <<EOF
15424 #line 15425 "configure"
15425 #include "confdefs.h"
15426 /* System header to define __stub macros and hopefully few prototypes,
15427     which can conflict with char $ac_func(); below.  */
15428 #include <assert.h>
15429 /* Override any gcc2 internal prototype to avoid an error.  */
15430 /* We use char because int might match the return type of a gcc2
15431     builtin and then its argument prototype would still apply.  */
15432 char $ac_func();
15433
15434 int main() {
15435
15436 /* The GNU C library defines this for functions which it implements
15437     to always fail with ENOSYS.  Some functions are actually named
15438     something starting with __ and the normal name is an alias.  */
15439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15440 choke me
15441 #else
15442 $ac_func();
15443 #endif
15444
15445 ; return 0; }
15446 EOF
15447 if { (eval echo configure:15448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15448   rm -rf conftest*
15449   eval "ac_cv_func_$ac_func=yes"
15450 else
15451   echo "configure: failed program was:" >&5
15452   cat conftest.$ac_ext >&5
15453   rm -rf conftest*
15454   eval "ac_cv_func_$ac_func=no"
15455 fi
15456 rm -f conftest*
15457 fi
15458
15459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15460   echo "$ac_t""yes" 1>&6
15461     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15462   cat >> confdefs.h <<EOF
15463 #define $ac_tr_func 1
15464 EOF
15465  
15466 else
15467   echo "$ac_t""no" 1>&6
15468 fi
15469 done
15470     
15471   fi
15472
15473   
15474   echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15475 echo "configure:15476: checking for _coshl declaration" >&5
15476   if test x${glibcpp_cv_func__coshl_use+set} != xset; then
15477     if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15478   echo $ac_n "(cached) $ac_c" 1>&6
15479 else
15480   
15481       
15482       ac_ext=C
15483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15484 ac_cpp='$CXXCPP $CPPFLAGS'
15485 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15486 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15487 cross_compiling=$ac_cv_prog_cxx_cross
15488
15489       cat > conftest.$ac_ext <<EOF
15490 #line 15491 "configure"
15491 #include "confdefs.h"
15492 #include <math.h>
15493 int main() {
15494  _coshl(0);
15495 ; return 0; }
15496 EOF
15497 if { (eval echo configure:15498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15498   rm -rf conftest*
15499   glibcpp_cv_func__coshl_use=yes
15500 else
15501   echo "configure: failed program was:" >&5
15502   cat conftest.$ac_ext >&5
15503   rm -rf conftest*
15504   glibcpp_cv_func__coshl_use=no
15505 fi
15506 rm -f conftest*
15507       ac_ext=c
15508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15509 ac_cpp='$CPP $CPPFLAGS'
15510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15512 cross_compiling=$ac_cv_prog_cc_cross
15513
15514     
15515 fi
15516
15517   fi
15518   echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15519   if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15520     for ac_func in _coshl
15521 do
15522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15523 echo "configure:15524: checking for $ac_func" >&5
15524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15525   echo $ac_n "(cached) $ac_c" 1>&6
15526 else
15527   cat > conftest.$ac_ext <<EOF
15528 #line 15529 "configure"
15529 #include "confdefs.h"
15530 /* System header to define __stub macros and hopefully few prototypes,
15531     which can conflict with char $ac_func(); below.  */
15532 #include <assert.h>
15533 /* Override any gcc2 internal prototype to avoid an error.  */
15534 /* We use char because int might match the return type of a gcc2
15535     builtin and then its argument prototype would still apply.  */
15536 char $ac_func();
15537
15538 int main() {
15539
15540 /* The GNU C library defines this for functions which it implements
15541     to always fail with ENOSYS.  Some functions are actually named
15542     something starting with __ and the normal name is an alias.  */
15543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15544 choke me
15545 #else
15546 $ac_func();
15547 #endif
15548
15549 ; return 0; }
15550 EOF
15551 if { (eval echo configure:15552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15552   rm -rf conftest*
15553   eval "ac_cv_func_$ac_func=yes"
15554 else
15555   echo "configure: failed program was:" >&5
15556   cat conftest.$ac_ext >&5
15557   rm -rf conftest*
15558   eval "ac_cv_func_$ac_func=no"
15559 fi
15560 rm -f conftest*
15561 fi
15562
15563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15564   echo "$ac_t""yes" 1>&6
15565     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15566   cat >> confdefs.h <<EOF
15567 #define $ac_tr_func 1
15568 EOF
15569  
15570 else
15571   echo "$ac_t""no" 1>&6
15572 fi
15573 done
15574     
15575   fi
15576
15577   
15578   echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15579 echo "configure:15580: checking for _expl declaration" >&5
15580   if test x${glibcpp_cv_func__expl_use+set} != xset; then
15581     if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15582   echo $ac_n "(cached) $ac_c" 1>&6
15583 else
15584   
15585       
15586       ac_ext=C
15587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15588 ac_cpp='$CXXCPP $CPPFLAGS'
15589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15591 cross_compiling=$ac_cv_prog_cxx_cross
15592
15593       cat > conftest.$ac_ext <<EOF
15594 #line 15595 "configure"
15595 #include "confdefs.h"
15596 #include <math.h>
15597 int main() {
15598  _expl(0);
15599 ; return 0; }
15600 EOF
15601 if { (eval echo configure:15602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15602   rm -rf conftest*
15603   glibcpp_cv_func__expl_use=yes
15604 else
15605   echo "configure: failed program was:" >&5
15606   cat conftest.$ac_ext >&5
15607   rm -rf conftest*
15608   glibcpp_cv_func__expl_use=no
15609 fi
15610 rm -f conftest*
15611       ac_ext=c
15612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15613 ac_cpp='$CPP $CPPFLAGS'
15614 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15615 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15616 cross_compiling=$ac_cv_prog_cc_cross
15617
15618     
15619 fi
15620
15621   fi
15622   echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15623   if test x$glibcpp_cv_func__expl_use = x"yes"; then
15624     for ac_func in _expl
15625 do
15626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15627 echo "configure:15628: checking for $ac_func" >&5
15628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15629   echo $ac_n "(cached) $ac_c" 1>&6
15630 else
15631   cat > conftest.$ac_ext <<EOF
15632 #line 15633 "configure"
15633 #include "confdefs.h"
15634 /* System header to define __stub macros and hopefully few prototypes,
15635     which can conflict with char $ac_func(); below.  */
15636 #include <assert.h>
15637 /* Override any gcc2 internal prototype to avoid an error.  */
15638 /* We use char because int might match the return type of a gcc2
15639     builtin and then its argument prototype would still apply.  */
15640 char $ac_func();
15641
15642 int main() {
15643
15644 /* The GNU C library defines this for functions which it implements
15645     to always fail with ENOSYS.  Some functions are actually named
15646     something starting with __ and the normal name is an alias.  */
15647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15648 choke me
15649 #else
15650 $ac_func();
15651 #endif
15652
15653 ; return 0; }
15654 EOF
15655 if { (eval echo configure:15656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15656   rm -rf conftest*
15657   eval "ac_cv_func_$ac_func=yes"
15658 else
15659   echo "configure: failed program was:" >&5
15660   cat conftest.$ac_ext >&5
15661   rm -rf conftest*
15662   eval "ac_cv_func_$ac_func=no"
15663 fi
15664 rm -f conftest*
15665 fi
15666
15667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15668   echo "$ac_t""yes" 1>&6
15669     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15670   cat >> confdefs.h <<EOF
15671 #define $ac_tr_func 1
15672 EOF
15673  
15674 else
15675   echo "$ac_t""no" 1>&6
15676 fi
15677 done
15678     
15679   fi
15680
15681   
15682   echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15683 echo "configure:15684: checking for _fabsl declaration" >&5
15684   if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
15685     if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15686   echo $ac_n "(cached) $ac_c" 1>&6
15687 else
15688   
15689       
15690       ac_ext=C
15691 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15692 ac_cpp='$CXXCPP $CPPFLAGS'
15693 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15694 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15695 cross_compiling=$ac_cv_prog_cxx_cross
15696
15697       cat > conftest.$ac_ext <<EOF
15698 #line 15699 "configure"
15699 #include "confdefs.h"
15700 #include <math.h>
15701 int main() {
15702  _fabsl(0);
15703 ; return 0; }
15704 EOF
15705 if { (eval echo configure:15706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15706   rm -rf conftest*
15707   glibcpp_cv_func__fabsl_use=yes
15708 else
15709   echo "configure: failed program was:" >&5
15710   cat conftest.$ac_ext >&5
15711   rm -rf conftest*
15712   glibcpp_cv_func__fabsl_use=no
15713 fi
15714 rm -f conftest*
15715       ac_ext=c
15716 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15717 ac_cpp='$CPP $CPPFLAGS'
15718 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15719 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15720 cross_compiling=$ac_cv_prog_cc_cross
15721
15722     
15723 fi
15724
15725   fi
15726   echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15727   if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15728     for ac_func in _fabsl
15729 do
15730 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15731 echo "configure:15732: checking for $ac_func" >&5
15732 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15733   echo $ac_n "(cached) $ac_c" 1>&6
15734 else
15735   cat > conftest.$ac_ext <<EOF
15736 #line 15737 "configure"
15737 #include "confdefs.h"
15738 /* System header to define __stub macros and hopefully few prototypes,
15739     which can conflict with char $ac_func(); below.  */
15740 #include <assert.h>
15741 /* Override any gcc2 internal prototype to avoid an error.  */
15742 /* We use char because int might match the return type of a gcc2
15743     builtin and then its argument prototype would still apply.  */
15744 char $ac_func();
15745
15746 int main() {
15747
15748 /* The GNU C library defines this for functions which it implements
15749     to always fail with ENOSYS.  Some functions are actually named
15750     something starting with __ and the normal name is an alias.  */
15751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15752 choke me
15753 #else
15754 $ac_func();
15755 #endif
15756
15757 ; return 0; }
15758 EOF
15759 if { (eval echo configure:15760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15760   rm -rf conftest*
15761   eval "ac_cv_func_$ac_func=yes"
15762 else
15763   echo "configure: failed program was:" >&5
15764   cat conftest.$ac_ext >&5
15765   rm -rf conftest*
15766   eval "ac_cv_func_$ac_func=no"
15767 fi
15768 rm -f conftest*
15769 fi
15770
15771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15772   echo "$ac_t""yes" 1>&6
15773     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15774   cat >> confdefs.h <<EOF
15775 #define $ac_tr_func 1
15776 EOF
15777  
15778 else
15779   echo "$ac_t""no" 1>&6
15780 fi
15781 done
15782     
15783   fi
15784
15785   
15786   echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15787 echo "configure:15788: checking for _floorl declaration" >&5
15788   if test x${glibcpp_cv_func__floorl_use+set} != xset; then
15789     if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15790   echo $ac_n "(cached) $ac_c" 1>&6
15791 else
15792   
15793       
15794       ac_ext=C
15795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15796 ac_cpp='$CXXCPP $CPPFLAGS'
15797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15799 cross_compiling=$ac_cv_prog_cxx_cross
15800
15801       cat > conftest.$ac_ext <<EOF
15802 #line 15803 "configure"
15803 #include "confdefs.h"
15804 #include <math.h>
15805 int main() {
15806  _floorl(0);
15807 ; return 0; }
15808 EOF
15809 if { (eval echo configure:15810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15810   rm -rf conftest*
15811   glibcpp_cv_func__floorl_use=yes
15812 else
15813   echo "configure: failed program was:" >&5
15814   cat conftest.$ac_ext >&5
15815   rm -rf conftest*
15816   glibcpp_cv_func__floorl_use=no
15817 fi
15818 rm -f conftest*
15819       ac_ext=c
15820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15821 ac_cpp='$CPP $CPPFLAGS'
15822 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15823 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15824 cross_compiling=$ac_cv_prog_cc_cross
15825
15826     
15827 fi
15828
15829   fi
15830   echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15831   if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15832     for ac_func in _floorl
15833 do
15834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15835 echo "configure:15836: checking for $ac_func" >&5
15836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15837   echo $ac_n "(cached) $ac_c" 1>&6
15838 else
15839   cat > conftest.$ac_ext <<EOF
15840 #line 15841 "configure"
15841 #include "confdefs.h"
15842 /* System header to define __stub macros and hopefully few prototypes,
15843     which can conflict with char $ac_func(); below.  */
15844 #include <assert.h>
15845 /* Override any gcc2 internal prototype to avoid an error.  */
15846 /* We use char because int might match the return type of a gcc2
15847     builtin and then its argument prototype would still apply.  */
15848 char $ac_func();
15849
15850 int main() {
15851
15852 /* The GNU C library defines this for functions which it implements
15853     to always fail with ENOSYS.  Some functions are actually named
15854     something starting with __ and the normal name is an alias.  */
15855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15856 choke me
15857 #else
15858 $ac_func();
15859 #endif
15860
15861 ; return 0; }
15862 EOF
15863 if { (eval echo configure:15864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15864   rm -rf conftest*
15865   eval "ac_cv_func_$ac_func=yes"
15866 else
15867   echo "configure: failed program was:" >&5
15868   cat conftest.$ac_ext >&5
15869   rm -rf conftest*
15870   eval "ac_cv_func_$ac_func=no"
15871 fi
15872 rm -f conftest*
15873 fi
15874
15875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15876   echo "$ac_t""yes" 1>&6
15877     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15878   cat >> confdefs.h <<EOF
15879 #define $ac_tr_func 1
15880 EOF
15881  
15882 else
15883   echo "$ac_t""no" 1>&6
15884 fi
15885 done
15886     
15887   fi
15888
15889   
15890   echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15891 echo "configure:15892: checking for _fmodl declaration" >&5
15892   if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
15893     if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15894   echo $ac_n "(cached) $ac_c" 1>&6
15895 else
15896   
15897       
15898       ac_ext=C
15899 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15900 ac_cpp='$CXXCPP $CPPFLAGS'
15901 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15902 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15903 cross_compiling=$ac_cv_prog_cxx_cross
15904
15905       cat > conftest.$ac_ext <<EOF
15906 #line 15907 "configure"
15907 #include "confdefs.h"
15908 #include <math.h>
15909 int main() {
15910  _fmodl(0, 0);
15911 ; return 0; }
15912 EOF
15913 if { (eval echo configure:15914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15914   rm -rf conftest*
15915   glibcpp_cv_func__fmodl_use=yes
15916 else
15917   echo "configure: failed program was:" >&5
15918   cat conftest.$ac_ext >&5
15919   rm -rf conftest*
15920   glibcpp_cv_func__fmodl_use=no
15921 fi
15922 rm -f conftest*
15923       ac_ext=c
15924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15925 ac_cpp='$CPP $CPPFLAGS'
15926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15928 cross_compiling=$ac_cv_prog_cc_cross
15929
15930     
15931 fi
15932
15933   fi
15934   echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15935   if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15936     for ac_func in _fmodl
15937 do
15938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15939 echo "configure:15940: checking for $ac_func" >&5
15940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15941   echo $ac_n "(cached) $ac_c" 1>&6
15942 else
15943   cat > conftest.$ac_ext <<EOF
15944 #line 15945 "configure"
15945 #include "confdefs.h"
15946 /* System header to define __stub macros and hopefully few prototypes,
15947     which can conflict with char $ac_func(); below.  */
15948 #include <assert.h>
15949 /* Override any gcc2 internal prototype to avoid an error.  */
15950 /* We use char because int might match the return type of a gcc2
15951     builtin and then its argument prototype would still apply.  */
15952 char $ac_func();
15953
15954 int main() {
15955
15956 /* The GNU C library defines this for functions which it implements
15957     to always fail with ENOSYS.  Some functions are actually named
15958     something starting with __ and the normal name is an alias.  */
15959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15960 choke me
15961 #else
15962 $ac_func();
15963 #endif
15964
15965 ; return 0; }
15966 EOF
15967 if { (eval echo configure:15968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15968   rm -rf conftest*
15969   eval "ac_cv_func_$ac_func=yes"
15970 else
15971   echo "configure: failed program was:" >&5
15972   cat conftest.$ac_ext >&5
15973   rm -rf conftest*
15974   eval "ac_cv_func_$ac_func=no"
15975 fi
15976 rm -f conftest*
15977 fi
15978
15979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15980   echo "$ac_t""yes" 1>&6
15981     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15982   cat >> confdefs.h <<EOF
15983 #define $ac_tr_func 1
15984 EOF
15985  
15986 else
15987   echo "$ac_t""no" 1>&6
15988 fi
15989 done
15990     
15991   fi
15992
15993   
15994   echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15995 echo "configure:15996: checking for _frexpl declaration" >&5
15996   if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
15997     if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15998   echo $ac_n "(cached) $ac_c" 1>&6
15999 else
16000   
16001       
16002       ac_ext=C
16003 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16004 ac_cpp='$CXXCPP $CPPFLAGS'
16005 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16006 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16007 cross_compiling=$ac_cv_prog_cxx_cross
16008
16009       cat > conftest.$ac_ext <<EOF
16010 #line 16011 "configure"
16011 #include "confdefs.h"
16012 #include <math.h>
16013 int main() {
16014  _frexpl(0, 0);
16015 ; return 0; }
16016 EOF
16017 if { (eval echo configure:16018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16018   rm -rf conftest*
16019   glibcpp_cv_func__frexpl_use=yes
16020 else
16021   echo "configure: failed program was:" >&5
16022   cat conftest.$ac_ext >&5
16023   rm -rf conftest*
16024   glibcpp_cv_func__frexpl_use=no
16025 fi
16026 rm -f conftest*
16027       ac_ext=c
16028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16029 ac_cpp='$CPP $CPPFLAGS'
16030 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16031 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16032 cross_compiling=$ac_cv_prog_cc_cross
16033
16034     
16035 fi
16036
16037   fi
16038   echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
16039   if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
16040     for ac_func in _frexpl
16041 do
16042 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16043 echo "configure:16044: checking for $ac_func" >&5
16044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16045   echo $ac_n "(cached) $ac_c" 1>&6
16046 else
16047   cat > conftest.$ac_ext <<EOF
16048 #line 16049 "configure"
16049 #include "confdefs.h"
16050 /* System header to define __stub macros and hopefully few prototypes,
16051     which can conflict with char $ac_func(); below.  */
16052 #include <assert.h>
16053 /* Override any gcc2 internal prototype to avoid an error.  */
16054 /* We use char because int might match the return type of a gcc2
16055     builtin and then its argument prototype would still apply.  */
16056 char $ac_func();
16057
16058 int main() {
16059
16060 /* The GNU C library defines this for functions which it implements
16061     to always fail with ENOSYS.  Some functions are actually named
16062     something starting with __ and the normal name is an alias.  */
16063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16064 choke me
16065 #else
16066 $ac_func();
16067 #endif
16068
16069 ; return 0; }
16070 EOF
16071 if { (eval echo configure:16072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16072   rm -rf conftest*
16073   eval "ac_cv_func_$ac_func=yes"
16074 else
16075   echo "configure: failed program was:" >&5
16076   cat conftest.$ac_ext >&5
16077   rm -rf conftest*
16078   eval "ac_cv_func_$ac_func=no"
16079 fi
16080 rm -f conftest*
16081 fi
16082
16083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16084   echo "$ac_t""yes" 1>&6
16085     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16086   cat >> confdefs.h <<EOF
16087 #define $ac_tr_func 1
16088 EOF
16089  
16090 else
16091   echo "$ac_t""no" 1>&6
16092 fi
16093 done
16094     
16095   fi
16096
16097   
16098   echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
16099 echo "configure:16100: checking for _ldexpl declaration" >&5
16100   if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
16101     if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
16102   echo $ac_n "(cached) $ac_c" 1>&6
16103 else
16104   
16105       
16106       ac_ext=C
16107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16108 ac_cpp='$CXXCPP $CPPFLAGS'
16109 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16110 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16111 cross_compiling=$ac_cv_prog_cxx_cross
16112
16113       cat > conftest.$ac_ext <<EOF
16114 #line 16115 "configure"
16115 #include "confdefs.h"
16116 #include <math.h>
16117 int main() {
16118  _ldexpl(0, 0);
16119 ; return 0; }
16120 EOF
16121 if { (eval echo configure:16122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16122   rm -rf conftest*
16123   glibcpp_cv_func__ldexpl_use=yes
16124 else
16125   echo "configure: failed program was:" >&5
16126   cat conftest.$ac_ext >&5
16127   rm -rf conftest*
16128   glibcpp_cv_func__ldexpl_use=no
16129 fi
16130 rm -f conftest*
16131       ac_ext=c
16132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16133 ac_cpp='$CPP $CPPFLAGS'
16134 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16135 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16136 cross_compiling=$ac_cv_prog_cc_cross
16137
16138     
16139 fi
16140
16141   fi
16142   echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
16143   if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
16144     for ac_func in _ldexpl
16145 do
16146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16147 echo "configure:16148: checking for $ac_func" >&5
16148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16149   echo $ac_n "(cached) $ac_c" 1>&6
16150 else
16151   cat > conftest.$ac_ext <<EOF
16152 #line 16153 "configure"
16153 #include "confdefs.h"
16154 /* System header to define __stub macros and hopefully few prototypes,
16155     which can conflict with char $ac_func(); below.  */
16156 #include <assert.h>
16157 /* Override any gcc2 internal prototype to avoid an error.  */
16158 /* We use char because int might match the return type of a gcc2
16159     builtin and then its argument prototype would still apply.  */
16160 char $ac_func();
16161
16162 int main() {
16163
16164 /* The GNU C library defines this for functions which it implements
16165     to always fail with ENOSYS.  Some functions are actually named
16166     something starting with __ and the normal name is an alias.  */
16167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16168 choke me
16169 #else
16170 $ac_func();
16171 #endif
16172
16173 ; return 0; }
16174 EOF
16175 if { (eval echo configure:16176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16176   rm -rf conftest*
16177   eval "ac_cv_func_$ac_func=yes"
16178 else
16179   echo "configure: failed program was:" >&5
16180   cat conftest.$ac_ext >&5
16181   rm -rf conftest*
16182   eval "ac_cv_func_$ac_func=no"
16183 fi
16184 rm -f conftest*
16185 fi
16186
16187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16188   echo "$ac_t""yes" 1>&6
16189     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16190   cat >> confdefs.h <<EOF
16191 #define $ac_tr_func 1
16192 EOF
16193  
16194 else
16195   echo "$ac_t""no" 1>&6
16196 fi
16197 done
16198     
16199   fi
16200
16201   
16202   echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
16203 echo "configure:16204: checking for _logl declaration" >&5
16204   if test x${glibcpp_cv_func__logl_use+set} != xset; then
16205     if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
16206   echo $ac_n "(cached) $ac_c" 1>&6
16207 else
16208   
16209       
16210       ac_ext=C
16211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16212 ac_cpp='$CXXCPP $CPPFLAGS'
16213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16215 cross_compiling=$ac_cv_prog_cxx_cross
16216
16217       cat > conftest.$ac_ext <<EOF
16218 #line 16219 "configure"
16219 #include "confdefs.h"
16220 #include <math.h>
16221 int main() {
16222  _logl(0);
16223 ; return 0; }
16224 EOF
16225 if { (eval echo configure:16226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16226   rm -rf conftest*
16227   glibcpp_cv_func__logl_use=yes
16228 else
16229   echo "configure: failed program was:" >&5
16230   cat conftest.$ac_ext >&5
16231   rm -rf conftest*
16232   glibcpp_cv_func__logl_use=no
16233 fi
16234 rm -f conftest*
16235       ac_ext=c
16236 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16237 ac_cpp='$CPP $CPPFLAGS'
16238 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16239 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16240 cross_compiling=$ac_cv_prog_cc_cross
16241
16242     
16243 fi
16244
16245   fi
16246   echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
16247   if test x$glibcpp_cv_func__logl_use = x"yes"; then
16248     for ac_func in _logl
16249 do
16250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16251 echo "configure:16252: checking for $ac_func" >&5
16252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16253   echo $ac_n "(cached) $ac_c" 1>&6
16254 else
16255   cat > conftest.$ac_ext <<EOF
16256 #line 16257 "configure"
16257 #include "confdefs.h"
16258 /* System header to define __stub macros and hopefully few prototypes,
16259     which can conflict with char $ac_func(); below.  */
16260 #include <assert.h>
16261 /* Override any gcc2 internal prototype to avoid an error.  */
16262 /* We use char because int might match the return type of a gcc2
16263     builtin and then its argument prototype would still apply.  */
16264 char $ac_func();
16265
16266 int main() {
16267
16268 /* The GNU C library defines this for functions which it implements
16269     to always fail with ENOSYS.  Some functions are actually named
16270     something starting with __ and the normal name is an alias.  */
16271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16272 choke me
16273 #else
16274 $ac_func();
16275 #endif
16276
16277 ; return 0; }
16278 EOF
16279 if { (eval echo configure:16280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16280   rm -rf conftest*
16281   eval "ac_cv_func_$ac_func=yes"
16282 else
16283   echo "configure: failed program was:" >&5
16284   cat conftest.$ac_ext >&5
16285   rm -rf conftest*
16286   eval "ac_cv_func_$ac_func=no"
16287 fi
16288 rm -f conftest*
16289 fi
16290
16291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16292   echo "$ac_t""yes" 1>&6
16293     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16294   cat >> confdefs.h <<EOF
16295 #define $ac_tr_func 1
16296 EOF
16297  
16298 else
16299   echo "$ac_t""no" 1>&6
16300 fi
16301 done
16302     
16303   fi
16304
16305   
16306   echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16307 echo "configure:16308: checking for _log10l declaration" >&5
16308   if test x${glibcpp_cv_func__log10l_use+set} != xset; then
16309     if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16310   echo $ac_n "(cached) $ac_c" 1>&6
16311 else
16312   
16313       
16314       ac_ext=C
16315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16316 ac_cpp='$CXXCPP $CPPFLAGS'
16317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16319 cross_compiling=$ac_cv_prog_cxx_cross
16320
16321       cat > conftest.$ac_ext <<EOF
16322 #line 16323 "configure"
16323 #include "confdefs.h"
16324 #include <math.h>
16325 int main() {
16326  _log10l(0);
16327 ; return 0; }
16328 EOF
16329 if { (eval echo configure:16330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16330   rm -rf conftest*
16331   glibcpp_cv_func__log10l_use=yes
16332 else
16333   echo "configure: failed program was:" >&5
16334   cat conftest.$ac_ext >&5
16335   rm -rf conftest*
16336   glibcpp_cv_func__log10l_use=no
16337 fi
16338 rm -f conftest*
16339       ac_ext=c
16340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16341 ac_cpp='$CPP $CPPFLAGS'
16342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16344 cross_compiling=$ac_cv_prog_cc_cross
16345
16346     
16347 fi
16348
16349   fi
16350   echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16351   if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16352     for ac_func in _log10l
16353 do
16354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16355 echo "configure:16356: checking for $ac_func" >&5
16356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16357   echo $ac_n "(cached) $ac_c" 1>&6
16358 else
16359   cat > conftest.$ac_ext <<EOF
16360 #line 16361 "configure"
16361 #include "confdefs.h"
16362 /* System header to define __stub macros and hopefully few prototypes,
16363     which can conflict with char $ac_func(); below.  */
16364 #include <assert.h>
16365 /* Override any gcc2 internal prototype to avoid an error.  */
16366 /* We use char because int might match the return type of a gcc2
16367     builtin and then its argument prototype would still apply.  */
16368 char $ac_func();
16369
16370 int main() {
16371
16372 /* The GNU C library defines this for functions which it implements
16373     to always fail with ENOSYS.  Some functions are actually named
16374     something starting with __ and the normal name is an alias.  */
16375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16376 choke me
16377 #else
16378 $ac_func();
16379 #endif
16380
16381 ; return 0; }
16382 EOF
16383 if { (eval echo configure:16384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16384   rm -rf conftest*
16385   eval "ac_cv_func_$ac_func=yes"
16386 else
16387   echo "configure: failed program was:" >&5
16388   cat conftest.$ac_ext >&5
16389   rm -rf conftest*
16390   eval "ac_cv_func_$ac_func=no"
16391 fi
16392 rm -f conftest*
16393 fi
16394
16395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16396   echo "$ac_t""yes" 1>&6
16397     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16398   cat >> confdefs.h <<EOF
16399 #define $ac_tr_func 1
16400 EOF
16401  
16402 else
16403   echo "$ac_t""no" 1>&6
16404 fi
16405 done
16406     
16407   fi
16408
16409   
16410   echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16411 echo "configure:16412: checking for _modfl declaration" >&5
16412   if test x${glibcpp_cv_func__modfl_use+set} != xset; then
16413     if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16414   echo $ac_n "(cached) $ac_c" 1>&6
16415 else
16416   
16417       
16418       ac_ext=C
16419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16420 ac_cpp='$CXXCPP $CPPFLAGS'
16421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16423 cross_compiling=$ac_cv_prog_cxx_cross
16424
16425       cat > conftest.$ac_ext <<EOF
16426 #line 16427 "configure"
16427 #include "confdefs.h"
16428 #include <math.h>
16429 int main() {
16430  _modfl(0, 0);
16431 ; return 0; }
16432 EOF
16433 if { (eval echo configure:16434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16434   rm -rf conftest*
16435   glibcpp_cv_func__modfl_use=yes
16436 else
16437   echo "configure: failed program was:" >&5
16438   cat conftest.$ac_ext >&5
16439   rm -rf conftest*
16440   glibcpp_cv_func__modfl_use=no
16441 fi
16442 rm -f conftest*
16443       ac_ext=c
16444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16445 ac_cpp='$CPP $CPPFLAGS'
16446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16448 cross_compiling=$ac_cv_prog_cc_cross
16449
16450     
16451 fi
16452
16453   fi
16454   echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16455   if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16456     for ac_func in _modfl
16457 do
16458 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16459 echo "configure:16460: checking for $ac_func" >&5
16460 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16461   echo $ac_n "(cached) $ac_c" 1>&6
16462 else
16463   cat > conftest.$ac_ext <<EOF
16464 #line 16465 "configure"
16465 #include "confdefs.h"
16466 /* System header to define __stub macros and hopefully few prototypes,
16467     which can conflict with char $ac_func(); below.  */
16468 #include <assert.h>
16469 /* Override any gcc2 internal prototype to avoid an error.  */
16470 /* We use char because int might match the return type of a gcc2
16471     builtin and then its argument prototype would still apply.  */
16472 char $ac_func();
16473
16474 int main() {
16475
16476 /* The GNU C library defines this for functions which it implements
16477     to always fail with ENOSYS.  Some functions are actually named
16478     something starting with __ and the normal name is an alias.  */
16479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16480 choke me
16481 #else
16482 $ac_func();
16483 #endif
16484
16485 ; return 0; }
16486 EOF
16487 if { (eval echo configure:16488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16488   rm -rf conftest*
16489   eval "ac_cv_func_$ac_func=yes"
16490 else
16491   echo "configure: failed program was:" >&5
16492   cat conftest.$ac_ext >&5
16493   rm -rf conftest*
16494   eval "ac_cv_func_$ac_func=no"
16495 fi
16496 rm -f conftest*
16497 fi
16498
16499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16500   echo "$ac_t""yes" 1>&6
16501     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16502   cat >> confdefs.h <<EOF
16503 #define $ac_tr_func 1
16504 EOF
16505  
16506 else
16507   echo "$ac_t""no" 1>&6
16508 fi
16509 done
16510     
16511   fi
16512
16513   
16514   echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16515 echo "configure:16516: checking for _powl declaration" >&5
16516   if test x${glibcpp_cv_func__powl_use+set} != xset; then
16517     if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16518   echo $ac_n "(cached) $ac_c" 1>&6
16519 else
16520   
16521       
16522       ac_ext=C
16523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16524 ac_cpp='$CXXCPP $CPPFLAGS'
16525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16527 cross_compiling=$ac_cv_prog_cxx_cross
16528
16529       cat > conftest.$ac_ext <<EOF
16530 #line 16531 "configure"
16531 #include "confdefs.h"
16532 #include <math.h>
16533 int main() {
16534  _powl(0, 0);
16535 ; return 0; }
16536 EOF
16537 if { (eval echo configure:16538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16538   rm -rf conftest*
16539   glibcpp_cv_func__powl_use=yes
16540 else
16541   echo "configure: failed program was:" >&5
16542   cat conftest.$ac_ext >&5
16543   rm -rf conftest*
16544   glibcpp_cv_func__powl_use=no
16545 fi
16546 rm -f conftest*
16547       ac_ext=c
16548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16549 ac_cpp='$CPP $CPPFLAGS'
16550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16552 cross_compiling=$ac_cv_prog_cc_cross
16553
16554     
16555 fi
16556
16557   fi
16558   echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16559   if test x$glibcpp_cv_func__powl_use = x"yes"; then
16560     for ac_func in _powl
16561 do
16562 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16563 echo "configure:16564: checking for $ac_func" >&5
16564 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16565   echo $ac_n "(cached) $ac_c" 1>&6
16566 else
16567   cat > conftest.$ac_ext <<EOF
16568 #line 16569 "configure"
16569 #include "confdefs.h"
16570 /* System header to define __stub macros and hopefully few prototypes,
16571     which can conflict with char $ac_func(); below.  */
16572 #include <assert.h>
16573 /* Override any gcc2 internal prototype to avoid an error.  */
16574 /* We use char because int might match the return type of a gcc2
16575     builtin and then its argument prototype would still apply.  */
16576 char $ac_func();
16577
16578 int main() {
16579
16580 /* The GNU C library defines this for functions which it implements
16581     to always fail with ENOSYS.  Some functions are actually named
16582     something starting with __ and the normal name is an alias.  */
16583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16584 choke me
16585 #else
16586 $ac_func();
16587 #endif
16588
16589 ; return 0; }
16590 EOF
16591 if { (eval echo configure:16592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16592   rm -rf conftest*
16593   eval "ac_cv_func_$ac_func=yes"
16594 else
16595   echo "configure: failed program was:" >&5
16596   cat conftest.$ac_ext >&5
16597   rm -rf conftest*
16598   eval "ac_cv_func_$ac_func=no"
16599 fi
16600 rm -f conftest*
16601 fi
16602
16603 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16604   echo "$ac_t""yes" 1>&6
16605     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16606   cat >> confdefs.h <<EOF
16607 #define $ac_tr_func 1
16608 EOF
16609  
16610 else
16611   echo "$ac_t""no" 1>&6
16612 fi
16613 done
16614     
16615   fi
16616
16617   
16618   echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16619 echo "configure:16620: checking for _sinl declaration" >&5
16620   if test x${glibcpp_cv_func__sinl_use+set} != xset; then
16621     if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16622   echo $ac_n "(cached) $ac_c" 1>&6
16623 else
16624   
16625       
16626       ac_ext=C
16627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16628 ac_cpp='$CXXCPP $CPPFLAGS'
16629 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16630 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16631 cross_compiling=$ac_cv_prog_cxx_cross
16632
16633       cat > conftest.$ac_ext <<EOF
16634 #line 16635 "configure"
16635 #include "confdefs.h"
16636 #include <math.h>
16637 int main() {
16638  _sinl(0);
16639 ; return 0; }
16640 EOF
16641 if { (eval echo configure:16642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16642   rm -rf conftest*
16643   glibcpp_cv_func__sinl_use=yes
16644 else
16645   echo "configure: failed program was:" >&5
16646   cat conftest.$ac_ext >&5
16647   rm -rf conftest*
16648   glibcpp_cv_func__sinl_use=no
16649 fi
16650 rm -f conftest*
16651       ac_ext=c
16652 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16653 ac_cpp='$CPP $CPPFLAGS'
16654 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16655 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16656 cross_compiling=$ac_cv_prog_cc_cross
16657
16658     
16659 fi
16660
16661   fi
16662   echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16663   if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16664     for ac_func in _sinl
16665 do
16666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16667 echo "configure:16668: checking for $ac_func" >&5
16668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16669   echo $ac_n "(cached) $ac_c" 1>&6
16670 else
16671   cat > conftest.$ac_ext <<EOF
16672 #line 16673 "configure"
16673 #include "confdefs.h"
16674 /* System header to define __stub macros and hopefully few prototypes,
16675     which can conflict with char $ac_func(); below.  */
16676 #include <assert.h>
16677 /* Override any gcc2 internal prototype to avoid an error.  */
16678 /* We use char because int might match the return type of a gcc2
16679     builtin and then its argument prototype would still apply.  */
16680 char $ac_func();
16681
16682 int main() {
16683
16684 /* The GNU C library defines this for functions which it implements
16685     to always fail with ENOSYS.  Some functions are actually named
16686     something starting with __ and the normal name is an alias.  */
16687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16688 choke me
16689 #else
16690 $ac_func();
16691 #endif
16692
16693 ; return 0; }
16694 EOF
16695 if { (eval echo configure:16696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16696   rm -rf conftest*
16697   eval "ac_cv_func_$ac_func=yes"
16698 else
16699   echo "configure: failed program was:" >&5
16700   cat conftest.$ac_ext >&5
16701   rm -rf conftest*
16702   eval "ac_cv_func_$ac_func=no"
16703 fi
16704 rm -f conftest*
16705 fi
16706
16707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16708   echo "$ac_t""yes" 1>&6
16709     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16710   cat >> confdefs.h <<EOF
16711 #define $ac_tr_func 1
16712 EOF
16713  
16714 else
16715   echo "$ac_t""no" 1>&6
16716 fi
16717 done
16718     
16719   fi
16720
16721   
16722   echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16723 echo "configure:16724: checking for _sinhl declaration" >&5
16724   if test x${glibcpp_cv_func__sinhl_use+set} != xset; then
16725     if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16726   echo $ac_n "(cached) $ac_c" 1>&6
16727 else
16728   
16729       
16730       ac_ext=C
16731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16732 ac_cpp='$CXXCPP $CPPFLAGS'
16733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16735 cross_compiling=$ac_cv_prog_cxx_cross
16736
16737       cat > conftest.$ac_ext <<EOF
16738 #line 16739 "configure"
16739 #include "confdefs.h"
16740 #include <math.h>
16741 int main() {
16742  _sinhl(0);
16743 ; return 0; }
16744 EOF
16745 if { (eval echo configure:16746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16746   rm -rf conftest*
16747   glibcpp_cv_func__sinhl_use=yes
16748 else
16749   echo "configure: failed program was:" >&5
16750   cat conftest.$ac_ext >&5
16751   rm -rf conftest*
16752   glibcpp_cv_func__sinhl_use=no
16753 fi
16754 rm -f conftest*
16755       ac_ext=c
16756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16757 ac_cpp='$CPP $CPPFLAGS'
16758 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16759 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16760 cross_compiling=$ac_cv_prog_cc_cross
16761
16762     
16763 fi
16764
16765   fi
16766   echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16767   if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16768     for ac_func in _sinhl
16769 do
16770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16771 echo "configure:16772: checking for $ac_func" >&5
16772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16773   echo $ac_n "(cached) $ac_c" 1>&6
16774 else
16775   cat > conftest.$ac_ext <<EOF
16776 #line 16777 "configure"
16777 #include "confdefs.h"
16778 /* System header to define __stub macros and hopefully few prototypes,
16779     which can conflict with char $ac_func(); below.  */
16780 #include <assert.h>
16781 /* Override any gcc2 internal prototype to avoid an error.  */
16782 /* We use char because int might match the return type of a gcc2
16783     builtin and then its argument prototype would still apply.  */
16784 char $ac_func();
16785
16786 int main() {
16787
16788 /* The GNU C library defines this for functions which it implements
16789     to always fail with ENOSYS.  Some functions are actually named
16790     something starting with __ and the normal name is an alias.  */
16791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16792 choke me
16793 #else
16794 $ac_func();
16795 #endif
16796
16797 ; return 0; }
16798 EOF
16799 if { (eval echo configure:16800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16800   rm -rf conftest*
16801   eval "ac_cv_func_$ac_func=yes"
16802 else
16803   echo "configure: failed program was:" >&5
16804   cat conftest.$ac_ext >&5
16805   rm -rf conftest*
16806   eval "ac_cv_func_$ac_func=no"
16807 fi
16808 rm -f conftest*
16809 fi
16810
16811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16812   echo "$ac_t""yes" 1>&6
16813     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16814   cat >> confdefs.h <<EOF
16815 #define $ac_tr_func 1
16816 EOF
16817  
16818 else
16819   echo "$ac_t""no" 1>&6
16820 fi
16821 done
16822     
16823   fi
16824
16825   
16826   echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16827 echo "configure:16828: checking for _sqrtl declaration" >&5
16828   if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
16829     if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16830   echo $ac_n "(cached) $ac_c" 1>&6
16831 else
16832   
16833       
16834       ac_ext=C
16835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16836 ac_cpp='$CXXCPP $CPPFLAGS'
16837 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16838 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16839 cross_compiling=$ac_cv_prog_cxx_cross
16840
16841       cat > conftest.$ac_ext <<EOF
16842 #line 16843 "configure"
16843 #include "confdefs.h"
16844 #include <math.h>
16845 int main() {
16846  _sqrtl(0);
16847 ; return 0; }
16848 EOF
16849 if { (eval echo configure:16850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16850   rm -rf conftest*
16851   glibcpp_cv_func__sqrtl_use=yes
16852 else
16853   echo "configure: failed program was:" >&5
16854   cat conftest.$ac_ext >&5
16855   rm -rf conftest*
16856   glibcpp_cv_func__sqrtl_use=no
16857 fi
16858 rm -f conftest*
16859       ac_ext=c
16860 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16861 ac_cpp='$CPP $CPPFLAGS'
16862 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16863 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16864 cross_compiling=$ac_cv_prog_cc_cross
16865
16866     
16867 fi
16868
16869   fi
16870   echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16871   if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16872     for ac_func in _sqrtl
16873 do
16874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16875 echo "configure:16876: checking for $ac_func" >&5
16876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16877   echo $ac_n "(cached) $ac_c" 1>&6
16878 else
16879   cat > conftest.$ac_ext <<EOF
16880 #line 16881 "configure"
16881 #include "confdefs.h"
16882 /* System header to define __stub macros and hopefully few prototypes,
16883     which can conflict with char $ac_func(); below.  */
16884 #include <assert.h>
16885 /* Override any gcc2 internal prototype to avoid an error.  */
16886 /* We use char because int might match the return type of a gcc2
16887     builtin and then its argument prototype would still apply.  */
16888 char $ac_func();
16889
16890 int main() {
16891
16892 /* The GNU C library defines this for functions which it implements
16893     to always fail with ENOSYS.  Some functions are actually named
16894     something starting with __ and the normal name is an alias.  */
16895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16896 choke me
16897 #else
16898 $ac_func();
16899 #endif
16900
16901 ; return 0; }
16902 EOF
16903 if { (eval echo configure:16904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16904   rm -rf conftest*
16905   eval "ac_cv_func_$ac_func=yes"
16906 else
16907   echo "configure: failed program was:" >&5
16908   cat conftest.$ac_ext >&5
16909   rm -rf conftest*
16910   eval "ac_cv_func_$ac_func=no"
16911 fi
16912 rm -f conftest*
16913 fi
16914
16915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16916   echo "$ac_t""yes" 1>&6
16917     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16918   cat >> confdefs.h <<EOF
16919 #define $ac_tr_func 1
16920 EOF
16921  
16922 else
16923   echo "$ac_t""no" 1>&6
16924 fi
16925 done
16926     
16927   fi
16928
16929   
16930   echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16931 echo "configure:16932: checking for _tanl declaration" >&5
16932   if test x${glibcpp_cv_func__tanl_use+set} != xset; then
16933     if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16934   echo $ac_n "(cached) $ac_c" 1>&6
16935 else
16936   
16937       
16938       ac_ext=C
16939 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16940 ac_cpp='$CXXCPP $CPPFLAGS'
16941 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16942 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16943 cross_compiling=$ac_cv_prog_cxx_cross
16944
16945       cat > conftest.$ac_ext <<EOF
16946 #line 16947 "configure"
16947 #include "confdefs.h"
16948 #include <math.h>
16949 int main() {
16950  _tanl(0);
16951 ; return 0; }
16952 EOF
16953 if { (eval echo configure:16954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16954   rm -rf conftest*
16955   glibcpp_cv_func__tanl_use=yes
16956 else
16957   echo "configure: failed program was:" >&5
16958   cat conftest.$ac_ext >&5
16959   rm -rf conftest*
16960   glibcpp_cv_func__tanl_use=no
16961 fi
16962 rm -f conftest*
16963       ac_ext=c
16964 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16965 ac_cpp='$CPP $CPPFLAGS'
16966 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16967 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16968 cross_compiling=$ac_cv_prog_cc_cross
16969
16970     
16971 fi
16972
16973   fi
16974   echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16975   if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16976     for ac_func in _tanl
16977 do
16978 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16979 echo "configure:16980: checking for $ac_func" >&5
16980 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16981   echo $ac_n "(cached) $ac_c" 1>&6
16982 else
16983   cat > conftest.$ac_ext <<EOF
16984 #line 16985 "configure"
16985 #include "confdefs.h"
16986 /* System header to define __stub macros and hopefully few prototypes,
16987     which can conflict with char $ac_func(); below.  */
16988 #include <assert.h>
16989 /* Override any gcc2 internal prototype to avoid an error.  */
16990 /* We use char because int might match the return type of a gcc2
16991     builtin and then its argument prototype would still apply.  */
16992 char $ac_func();
16993
16994 int main() {
16995
16996 /* The GNU C library defines this for functions which it implements
16997     to always fail with ENOSYS.  Some functions are actually named
16998     something starting with __ and the normal name is an alias.  */
16999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17000 choke me
17001 #else
17002 $ac_func();
17003 #endif
17004
17005 ; return 0; }
17006 EOF
17007 if { (eval echo configure:17008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17008   rm -rf conftest*
17009   eval "ac_cv_func_$ac_func=yes"
17010 else
17011   echo "configure: failed program was:" >&5
17012   cat conftest.$ac_ext >&5
17013   rm -rf conftest*
17014   eval "ac_cv_func_$ac_func=no"
17015 fi
17016 rm -f conftest*
17017 fi
17018
17019 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17020   echo "$ac_t""yes" 1>&6
17021     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17022   cat >> confdefs.h <<EOF
17023 #define $ac_tr_func 1
17024 EOF
17025  
17026 else
17027   echo "$ac_t""no" 1>&6
17028 fi
17029 done
17030     
17031   fi
17032
17033   
17034   echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
17035 echo "configure:17036: checking for _tanhl declaration" >&5
17036   if test x${glibcpp_cv_func__tanhl_use+set} != xset; then
17037     if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
17038   echo $ac_n "(cached) $ac_c" 1>&6
17039 else
17040   
17041       
17042       ac_ext=C
17043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17044 ac_cpp='$CXXCPP $CPPFLAGS'
17045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17047 cross_compiling=$ac_cv_prog_cxx_cross
17048
17049       cat > conftest.$ac_ext <<EOF
17050 #line 17051 "configure"
17051 #include "confdefs.h"
17052 #include <math.h>
17053 int main() {
17054  _tanhl(0);
17055 ; return 0; }
17056 EOF
17057 if { (eval echo configure:17058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17058   rm -rf conftest*
17059   glibcpp_cv_func__tanhl_use=yes
17060 else
17061   echo "configure: failed program was:" >&5
17062   cat conftest.$ac_ext >&5
17063   rm -rf conftest*
17064   glibcpp_cv_func__tanhl_use=no
17065 fi
17066 rm -f conftest*
17067       ac_ext=c
17068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17069 ac_cpp='$CPP $CPPFLAGS'
17070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17072 cross_compiling=$ac_cv_prog_cc_cross
17073
17074     
17075 fi
17076
17077   fi
17078   echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
17079   if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
17080     for ac_func in _tanhl
17081 do
17082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17083 echo "configure:17084: checking for $ac_func" >&5
17084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17085   echo $ac_n "(cached) $ac_c" 1>&6
17086 else
17087   cat > conftest.$ac_ext <<EOF
17088 #line 17089 "configure"
17089 #include "confdefs.h"
17090 /* System header to define __stub macros and hopefully few prototypes,
17091     which can conflict with char $ac_func(); below.  */
17092 #include <assert.h>
17093 /* Override any gcc2 internal prototype to avoid an error.  */
17094 /* We use char because int might match the return type of a gcc2
17095     builtin and then its argument prototype would still apply.  */
17096 char $ac_func();
17097
17098 int main() {
17099
17100 /* The GNU C library defines this for functions which it implements
17101     to always fail with ENOSYS.  Some functions are actually named
17102     something starting with __ and the normal name is an alias.  */
17103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17104 choke me
17105 #else
17106 $ac_func();
17107 #endif
17108
17109 ; return 0; }
17110 EOF
17111 if { (eval echo configure:17112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17112   rm -rf conftest*
17113   eval "ac_cv_func_$ac_func=yes"
17114 else
17115   echo "configure: failed program was:" >&5
17116   cat conftest.$ac_ext >&5
17117   rm -rf conftest*
17118   eval "ac_cv_func_$ac_func=no"
17119 fi
17120 rm -f conftest*
17121 fi
17122
17123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17124   echo "$ac_t""yes" 1>&6
17125     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17126   cat >> confdefs.h <<EOF
17127 #define $ac_tr_func 1
17128 EOF
17129  
17130 else
17131   echo "$ac_t""no" 1>&6
17132 fi
17133 done
17134     
17135   fi
17136
17137   
17138   echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
17139 echo "configure:17140: checking for _sincosl declaration" >&5
17140   if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
17141     if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
17142   echo $ac_n "(cached) $ac_c" 1>&6
17143 else
17144   
17145       
17146       ac_ext=C
17147 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17148 ac_cpp='$CXXCPP $CPPFLAGS'
17149 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17150 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17151 cross_compiling=$ac_cv_prog_cxx_cross
17152
17153       cat > conftest.$ac_ext <<EOF
17154 #line 17155 "configure"
17155 #include "confdefs.h"
17156 #include <math.h>
17157 int main() {
17158  _sincosl(0, 0, 0);
17159 ; return 0; }
17160 EOF
17161 if { (eval echo configure:17162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17162   rm -rf conftest*
17163   glibcpp_cv_func__sincosl_use=yes
17164 else
17165   echo "configure: failed program was:" >&5
17166   cat conftest.$ac_ext >&5
17167   rm -rf conftest*
17168   glibcpp_cv_func__sincosl_use=no
17169 fi
17170 rm -f conftest*
17171       ac_ext=c
17172 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17173 ac_cpp='$CPP $CPPFLAGS'
17174 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17175 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17176 cross_compiling=$ac_cv_prog_cc_cross
17177
17178     
17179 fi
17180
17181   fi
17182   echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
17183   if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
17184     for ac_func in _sincosl
17185 do
17186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17187 echo "configure:17188: checking for $ac_func" >&5
17188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17189   echo $ac_n "(cached) $ac_c" 1>&6
17190 else
17191   cat > conftest.$ac_ext <<EOF
17192 #line 17193 "configure"
17193 #include "confdefs.h"
17194 /* System header to define __stub macros and hopefully few prototypes,
17195     which can conflict with char $ac_func(); below.  */
17196 #include <assert.h>
17197 /* Override any gcc2 internal prototype to avoid an error.  */
17198 /* We use char because int might match the return type of a gcc2
17199     builtin and then its argument prototype would still apply.  */
17200 char $ac_func();
17201
17202 int main() {
17203
17204 /* The GNU C library defines this for functions which it implements
17205     to always fail with ENOSYS.  Some functions are actually named
17206     something starting with __ and the normal name is an alias.  */
17207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17208 choke me
17209 #else
17210 $ac_func();
17211 #endif
17212
17213 ; return 0; }
17214 EOF
17215 if { (eval echo configure:17216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17216   rm -rf conftest*
17217   eval "ac_cv_func_$ac_func=yes"
17218 else
17219   echo "configure: failed program was:" >&5
17220   cat conftest.$ac_ext >&5
17221   rm -rf conftest*
17222   eval "ac_cv_func_$ac_func=no"
17223 fi
17224 rm -f conftest*
17225 fi
17226
17227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17228   echo "$ac_t""yes" 1>&6
17229     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17230   cat >> confdefs.h <<EOF
17231 #define $ac_tr_func 1
17232 EOF
17233  
17234 else
17235   echo "$ac_t""no" 1>&6
17236 fi
17237 done
17238     
17239   fi
17240
17241   
17242   echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
17243 echo "configure:17244: checking for _finitel declaration" >&5
17244   if test x${glibcpp_cv_func__finitel_use+set} != xset; then
17245     if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17246   echo $ac_n "(cached) $ac_c" 1>&6
17247 else
17248   
17249       
17250       ac_ext=C
17251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17252 ac_cpp='$CXXCPP $CPPFLAGS'
17253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17255 cross_compiling=$ac_cv_prog_cxx_cross
17256
17257       cat > conftest.$ac_ext <<EOF
17258 #line 17259 "configure"
17259 #include "confdefs.h"
17260 #include <math.h>
17261 int main() {
17262  _finitel(0);
17263 ; return 0; }
17264 EOF
17265 if { (eval echo configure:17266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17266   rm -rf conftest*
17267   glibcpp_cv_func__finitel_use=yes
17268 else
17269   echo "configure: failed program was:" >&5
17270   cat conftest.$ac_ext >&5
17271   rm -rf conftest*
17272   glibcpp_cv_func__finitel_use=no
17273 fi
17274 rm -f conftest*
17275       ac_ext=c
17276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17277 ac_cpp='$CPP $CPPFLAGS'
17278 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17279 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17280 cross_compiling=$ac_cv_prog_cc_cross
17281
17282     
17283 fi
17284
17285   fi
17286   echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17287   if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17288     for ac_func in _finitel
17289 do
17290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17291 echo "configure:17292: checking for $ac_func" >&5
17292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17293   echo $ac_n "(cached) $ac_c" 1>&6
17294 else
17295   cat > conftest.$ac_ext <<EOF
17296 #line 17297 "configure"
17297 #include "confdefs.h"
17298 /* System header to define __stub macros and hopefully few prototypes,
17299     which can conflict with char $ac_func(); below.  */
17300 #include <assert.h>
17301 /* Override any gcc2 internal prototype to avoid an error.  */
17302 /* We use char because int might match the return type of a gcc2
17303     builtin and then its argument prototype would still apply.  */
17304 char $ac_func();
17305
17306 int main() {
17307
17308 /* The GNU C library defines this for functions which it implements
17309     to always fail with ENOSYS.  Some functions are actually named
17310     something starting with __ and the normal name is an alias.  */
17311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17312 choke me
17313 #else
17314 $ac_func();
17315 #endif
17316
17317 ; return 0; }
17318 EOF
17319 if { (eval echo configure:17320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17320   rm -rf conftest*
17321   eval "ac_cv_func_$ac_func=yes"
17322 else
17323   echo "configure: failed program was:" >&5
17324   cat conftest.$ac_ext >&5
17325   rm -rf conftest*
17326   eval "ac_cv_func_$ac_func=no"
17327 fi
17328 rm -f conftest*
17329 fi
17330
17331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17332   echo "$ac_t""yes" 1>&6
17333     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17334   cat >> confdefs.h <<EOF
17335 #define $ac_tr_func 1
17336 EOF
17337  
17338 else
17339   echo "$ac_t""no" 1>&6
17340 fi
17341 done
17342     
17343   fi
17344
17345
17346   LIBS="$ac_save_LIBS"
17347   CXXFLAGS="$ac_save_CXXFLAGS"
17348
17349   
17350     for ac_hdr in complex.h
17351 do
17352 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17353 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17354 echo "configure:17355: checking for $ac_hdr" >&5
17355 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17356   echo $ac_n "(cached) $ac_c" 1>&6
17357 else
17358   cat > conftest.$ac_ext <<EOF
17359 #line 17360 "configure"
17360 #include "confdefs.h"
17361 #include <$ac_hdr>
17362 EOF
17363 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17364 { (eval echo configure:17365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17365 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17366 if test -z "$ac_err"; then
17367   rm -rf conftest*
17368   eval "ac_cv_header_$ac_safe=yes"
17369 else
17370   echo "$ac_err" >&5
17371   echo "configure: failed program was:" >&5
17372   cat conftest.$ac_ext >&5
17373   rm -rf conftest*
17374   eval "ac_cv_header_$ac_safe=no"
17375 fi
17376 rm -f conftest*
17377 fi
17378 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17379   echo "$ac_t""yes" 1>&6
17380     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17381   cat >> confdefs.h <<EOF
17382 #define $ac_tr_hdr 1
17383 EOF
17384  
17385 else
17386   echo "$ac_t""no" 1>&6
17387 fi
17388 done
17389
17390   echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
17391 echo "configure:17392: checking for main in -lm" >&5
17392 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
17393 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17394   echo $ac_n "(cached) $ac_c" 1>&6
17395 else
17396   ac_save_LIBS="$LIBS"
17397 LIBS="-lm  $LIBS"
17398 cat > conftest.$ac_ext <<EOF
17399 #line 17400 "configure"
17400 #include "confdefs.h"
17401
17402 int main() {
17403 main()
17404 ; return 0; }
17405 EOF
17406 if { (eval echo configure:17407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17407   rm -rf conftest*
17408   eval "ac_cv_lib_$ac_lib_var=yes"
17409 else
17410   echo "configure: failed program was:" >&5
17411   cat conftest.$ac_ext >&5
17412   rm -rf conftest*
17413   eval "ac_cv_lib_$ac_lib_var=no"
17414 fi
17415 rm -f conftest*
17416 LIBS="$ac_save_LIBS"
17417
17418 fi
17419 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17420   echo "$ac_t""yes" 1>&6
17421     ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
17422     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17423   cat >> confdefs.h <<EOF
17424 #define $ac_tr_lib 1
17425 EOF
17426
17427   LIBS="-lm $LIBS"
17428
17429 else
17430   echo "$ac_t""no" 1>&6
17431 fi
17432
17433   for ac_func in csqrt csqrtf nan hypot hypotf atan2f expf \
17434   copysignf
17435 do
17436 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17437 echo "configure:17438: checking for $ac_func" >&5
17438 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17439   echo $ac_n "(cached) $ac_c" 1>&6
17440 else
17441   cat > conftest.$ac_ext <<EOF
17442 #line 17443 "configure"
17443 #include "confdefs.h"
17444 /* System header to define __stub macros and hopefully few prototypes,
17445     which can conflict with char $ac_func(); below.  */
17446 #include <assert.h>
17447 /* Override any gcc2 internal prototype to avoid an error.  */
17448 /* We use char because int might match the return type of a gcc2
17449     builtin and then its argument prototype would still apply.  */
17450 char $ac_func();
17451
17452 int main() {
17453
17454 /* The GNU C library defines this for functions which it implements
17455     to always fail with ENOSYS.  Some functions are actually named
17456     something starting with __ and the normal name is an alias.  */
17457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17458 choke me
17459 #else
17460 $ac_func();
17461 #endif
17462
17463 ; return 0; }
17464 EOF
17465 if { (eval echo configure:17466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17466   rm -rf conftest*
17467   eval "ac_cv_func_$ac_func=yes"
17468 else
17469   echo "configure: failed program was:" >&5
17470   cat conftest.$ac_ext >&5
17471   rm -rf conftest*
17472   eval "ac_cv_func_$ac_func=no"
17473 fi
17474 rm -f conftest*
17475 fi
17476
17477 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17478   echo "$ac_t""yes" 1>&6
17479     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17480   cat >> confdefs.h <<EOF
17481 #define $ac_tr_func 1
17482 EOF
17483  
17484 else
17485   echo "$ac_t""no" 1>&6
17486 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17487 fi
17488 done
17489
17490
17491
17492           USE_COMPLEX_LONG_DOUBLE=no
17493   if test x$ac_cv_func_atan2l = x"yes" \
17494      && test x$ac_cv_func_copysignl = x"yes"; then
17495     USE_COMPLEX_LONG_DOUBLE=yes
17496     for ac_func in csqrtl hypotl signbitl
17497 do
17498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17499 echo "configure:17500: checking for $ac_func" >&5
17500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17501   echo $ac_n "(cached) $ac_c" 1>&6
17502 else
17503   cat > conftest.$ac_ext <<EOF
17504 #line 17505 "configure"
17505 #include "confdefs.h"
17506 /* System header to define __stub macros and hopefully few prototypes,
17507     which can conflict with char $ac_func(); below.  */
17508 #include <assert.h>
17509 /* Override any gcc2 internal prototype to avoid an error.  */
17510 /* We use char because int might match the return type of a gcc2
17511     builtin and then its argument prototype would still apply.  */
17512 char $ac_func();
17513
17514 int main() {
17515
17516 /* The GNU C library defines this for functions which it implements
17517     to always fail with ENOSYS.  Some functions are actually named
17518     something starting with __ and the normal name is an alias.  */
17519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17520 choke me
17521 #else
17522 $ac_func();
17523 #endif
17524
17525 ; return 0; }
17526 EOF
17527 if { (eval echo configure:17528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17528   rm -rf conftest*
17529   eval "ac_cv_func_$ac_func=yes"
17530 else
17531   echo "configure: failed program was:" >&5
17532   cat conftest.$ac_ext >&5
17533   rm -rf conftest*
17534   eval "ac_cv_func_$ac_func=no"
17535 fi
17536 rm -f conftest*
17537 fi
17538
17539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17540   echo "$ac_t""yes" 1>&6
17541     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17542   cat >> confdefs.h <<EOF
17543 #define $ac_tr_func 1
17544 EOF
17545  
17546 else
17547   echo "$ac_t""no" 1>&6
17548 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17549 fi
17550 done
17551
17552
17553   fi
17554
17555   
17556
17557   
17558   
17559
17560   echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17561 echo "configure:17562: checking for GNU C++ __complex__ support" >&5
17562   if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17563   echo $ac_n "(cached) $ac_c" 1>&6
17564 else
17565   
17566     
17567     ac_ext=C
17568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17569 ac_cpp='$CXXCPP $CPPFLAGS'
17570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17572 cross_compiling=$ac_cv_prog_cxx_cross
17573
17574     cat > conftest.$ac_ext <<EOF
17575 #line 17576 "configure"
17576 #include "confdefs.h"
17577 struct dcomplex { __complex__ double x; }; \
17578                     dcomplex f(const dcomplex& x) { return dcomplex(x); }
17579 int main() {
17580 \
17581                      dcomplex x; f(x); 
17582 ; return 0; }
17583 EOF
17584 if { (eval echo configure:17585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17585   rm -rf conftest*
17586   glibcpp_cv_complex=ok
17587 else
17588   echo "configure: failed program was:" >&5
17589   cat conftest.$ac_ext >&5
17590   rm -rf conftest*
17591   glibcpp_cv_complex=buggy
17592     
17593 fi
17594 rm -f conftest*
17595     ac_ext=c
17596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17597 ac_cpp='$CPP $CPPFLAGS'
17598 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17599 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17600 cross_compiling=$ac_cv_prog_cc_cross
17601
17602   
17603 fi
17604
17605   echo "$ac_t""$glibcpp_cv_complex" 1>&6
17606   if test $glibcpp_cv_complex = buggy; then
17607     cat >> confdefs.h <<\EOF
17608 #define _GLIBCPP_BUGGY_COMPLEX 1
17609 EOF
17610
17611   fi
17612
17613   echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17614 echo "configure:17615: checking for GNU C++ __complex__ float support" >&5
17615   if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17616   echo $ac_n "(cached) $ac_c" 1>&6
17617 else
17618   
17619     
17620     ac_ext=C
17621 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17622 ac_cpp='$CXXCPP $CPPFLAGS'
17623 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17624 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17625 cross_compiling=$ac_cv_prog_cxx_cross
17626
17627     rm -f conftest.h
17628     cat > conftest.h <<EOB
17629       //
17630       // Check for buggy __complex__ that causes ICE in most versions of egcs
17631       // and gcc-2.95.x on certain platforms (eg., x86-win32).
17632       //
17633       // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
17634       // more info on the bug itself.
17635       //
17636       struct
17637       float_complex
17638       {
17639        __complex__ float m_value;
17640        float_complex (float = 0.0f, float = 0.0f);
17641        float_complex (__complex__ float val) : m_value (val) {}
17642        float_complex foo (const float_complex &val)
17643          { return float_complex (~val.m_value); }
17644       };
17645 EOB
17646     cat > conftest.$ac_ext <<EOF
17647 #line 17648 "configure"
17648 #include "confdefs.h"
17649 #include "conftest.h"
17650 int main() {
17651
17652 ; return 0; }
17653 EOF
17654 if { (eval echo configure:17655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17655   rm -rf conftest*
17656   glibcpp_cv_float_complex=ok
17657 else
17658   echo "configure: failed program was:" >&5
17659   cat conftest.$ac_ext >&5
17660   rm -rf conftest*
17661   glibcpp_cv_float_complex=buggy
17662     
17663 fi
17664 rm -f conftest*
17665     ac_ext=c
17666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17667 ac_cpp='$CPP $CPPFLAGS'
17668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17670 cross_compiling=$ac_cv_prog_cc_cross
17671
17672   
17673 fi
17674
17675   echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17676   if test $glibcpp_cv_float_complex = buggy; then
17677     cat >> confdefs.h <<\EOF
17678 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17679 EOF
17680
17681   fi
17682
17683   
17684   if test x$enable_c_mbchar != xno; then
17685
17686         ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17687 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17688 echo "configure:17689: checking for wchar.h" >&5
17689 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17690   echo $ac_n "(cached) $ac_c" 1>&6
17691 else
17692   cat > conftest.$ac_ext <<EOF
17693 #line 17694 "configure"
17694 #include "confdefs.h"
17695 #include <wchar.h>
17696 EOF
17697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17698 { (eval echo configure:17699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17700 if test -z "$ac_err"; then
17701   rm -rf conftest*
17702   eval "ac_cv_header_$ac_safe=yes"
17703 else
17704   echo "$ac_err" >&5
17705   echo "configure: failed program was:" >&5
17706   cat conftest.$ac_ext >&5
17707   rm -rf conftest*
17708   eval "ac_cv_header_$ac_safe=no"
17709 fi
17710 rm -f conftest*
17711 fi
17712 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17713   echo "$ac_t""yes" 1>&6
17714   ac_has_wchar_h=yes
17715 else
17716   echo "$ac_t""no" 1>&6
17717 ac_has_wchar_h=no
17718 fi
17719
17720     ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17721 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17722 echo "configure:17723: checking for wctype.h" >&5
17723 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17724   echo $ac_n "(cached) $ac_c" 1>&6
17725 else
17726   cat > conftest.$ac_ext <<EOF
17727 #line 17728 "configure"
17728 #include "confdefs.h"
17729 #include <wctype.h>
17730 EOF
17731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17732 { (eval echo configure:17733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17734 if test -z "$ac_err"; then
17735   rm -rf conftest*
17736   eval "ac_cv_header_$ac_safe=yes"
17737 else
17738   echo "$ac_err" >&5
17739   echo "configure: failed program was:" >&5
17740   cat conftest.$ac_ext >&5
17741   rm -rf conftest*
17742   eval "ac_cv_header_$ac_safe=no"
17743 fi
17744 rm -f conftest*
17745 fi
17746 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17747   echo "$ac_t""yes" 1>&6
17748   ac_has_wctype_h=yes
17749 else
17750   echo "$ac_t""no" 1>&6
17751 ac_has_wctype_h=no
17752 fi
17753
17754           
17755         if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17756   
17757                   echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17758 echo "configure:17759: checking for mbstate_t" >&5
17759       cat > conftest.$ac_ext <<EOF
17760 #line 17761 "configure"
17761 #include "confdefs.h"
17762 #include <wchar.h>
17763 int main() {
17764 mbstate_t teststate;
17765 ; return 0; }
17766 EOF
17767 if { (eval echo configure:17768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17768   rm -rf conftest*
17769   use_native_mbstatet=yes
17770 else
17771   echo "configure: failed program was:" >&5
17772   cat conftest.$ac_ext >&5
17773   rm -rf conftest*
17774   use_native_mbstatet=no
17775 fi
17776 rm -f conftest*
17777       echo "$ac_t""$use_native_mbstatet" 1>&6
17778     
17779                   echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17780 echo "configure:17781: checking for WCHAR_MIN and WCHAR_MAX" >&5
17781       cat > conftest.$ac_ext <<EOF
17782 #line 17783 "configure"
17783 #include "confdefs.h"
17784 #include <wchar.h>
17785 int main() {
17786 int i = WCHAR_MIN; int j = WCHAR_MAX;
17787 ; return 0; }
17788 EOF
17789 if { (eval echo configure:17790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17790   rm -rf conftest*
17791   has_wchar_minmax=yes
17792 else
17793   echo "configure: failed program was:" >&5
17794   cat conftest.$ac_ext >&5
17795   rm -rf conftest*
17796   has_wchar_minmax=no
17797 fi
17798 rm -f conftest*
17799       echo "$ac_t""$has_wchar_minmax" 1>&6
17800     
17801                   echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17802 echo "configure:17803: checking for WEOF" >&5
17803       cat > conftest.$ac_ext <<EOF
17804 #line 17805 "configure"
17805 #include "confdefs.h"
17806
17807         #include <wchar.h>
17808         #include <stddef.h>
17809 int main() {
17810 wint_t i = WEOF;
17811 ; return 0; }
17812 EOF
17813 if { (eval echo configure:17814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17814   rm -rf conftest*
17815   has_weof=yes
17816 else
17817   echo "configure: failed program was:" >&5
17818   cat conftest.$ac_ext >&5
17819   rm -rf conftest*
17820   has_weof=no
17821 fi
17822 rm -f conftest*
17823       echo "$ac_t""$has_weof" 1>&6
17824   
17825             for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
17826       wcsrtombs mbsrtowcs
17827 do
17828 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17829 echo "configure:17830: checking for $ac_func" >&5
17830 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17831   echo $ac_n "(cached) $ac_c" 1>&6
17832 else
17833   cat > conftest.$ac_ext <<EOF
17834 #line 17835 "configure"
17835 #include "confdefs.h"
17836 /* System header to define __stub macros and hopefully few prototypes,
17837     which can conflict with char $ac_func(); below.  */
17838 #include <assert.h>
17839 /* Override any gcc2 internal prototype to avoid an error.  */
17840 /* We use char because int might match the return type of a gcc2
17841     builtin and then its argument prototype would still apply.  */
17842 char $ac_func();
17843
17844 int main() {
17845
17846 /* The GNU C library defines this for functions which it implements
17847     to always fail with ENOSYS.  Some functions are actually named
17848     something starting with __ and the normal name is an alias.  */
17849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17850 choke me
17851 #else
17852 $ac_func();
17853 #endif
17854
17855 ; return 0; }
17856 EOF
17857 if { (eval echo configure:17858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17858   rm -rf conftest*
17859   eval "ac_cv_func_$ac_func=yes"
17860 else
17861   echo "configure: failed program was:" >&5
17862   cat conftest.$ac_ext >&5
17863   rm -rf conftest*
17864   eval "ac_cv_func_$ac_func=no"
17865 fi
17866 rm -f conftest*
17867 fi
17868
17869 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17870   echo "$ac_t""yes" 1>&6
17871     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17872   cat >> confdefs.h <<EOF
17873 #define $ac_tr_func 1
17874 EOF
17875  ac_wfuncs=yes
17876 else
17877   echo "$ac_t""no" 1>&6
17878 ac_wfuncs=no
17879 fi
17880 done
17881
17882   
17883       echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
17884 echo "configure:17885: checking for ISO C99 wchar_t support" >&5
17885       if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
17886          && test x"$ac_wfuncs" = xyes; then
17887         ac_isoC99_wchar_t=yes
17888       else
17889         ac_isoC99_wchar_t=no
17890       fi
17891       echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
17892   
17893                   ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17894 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17895 echo "configure:17896: checking for iconv.h" >&5
17896 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17897   echo $ac_n "(cached) $ac_c" 1>&6
17898 else
17899   cat > conftest.$ac_ext <<EOF
17900 #line 17901 "configure"
17901 #include "confdefs.h"
17902 #include <iconv.h>
17903 EOF
17904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17905 { (eval echo configure:17906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17907 if test -z "$ac_err"; then
17908   rm -rf conftest*
17909   eval "ac_cv_header_$ac_safe=yes"
17910 else
17911   echo "$ac_err" >&5
17912   echo "configure: failed program was:" >&5
17913   cat conftest.$ac_ext >&5
17914   rm -rf conftest*
17915   eval "ac_cv_header_$ac_safe=no"
17916 fi
17917 rm -f conftest*
17918 fi
17919 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17920   echo "$ac_t""yes" 1>&6
17921   ac_has_iconv_h=yes
17922 else
17923   echo "$ac_t""no" 1>&6
17924 ac_has_iconv_h=no
17925 fi
17926
17927       ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17928 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17929 echo "configure:17930: checking for langinfo.h" >&5
17930 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17931   echo $ac_n "(cached) $ac_c" 1>&6
17932 else
17933   cat > conftest.$ac_ext <<EOF
17934 #line 17935 "configure"
17935 #include "confdefs.h"
17936 #include <langinfo.h>
17937 EOF
17938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17939 { (eval echo configure:17940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17940 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17941 if test -z "$ac_err"; then
17942   rm -rf conftest*
17943   eval "ac_cv_header_$ac_safe=yes"
17944 else
17945   echo "$ac_err" >&5
17946   echo "configure: failed program was:" >&5
17947   cat conftest.$ac_ext >&5
17948   rm -rf conftest*
17949   eval "ac_cv_header_$ac_safe=no"
17950 fi
17951 rm -f conftest*
17952 fi
17953 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17954   echo "$ac_t""yes" 1>&6
17955   ac_has_langinfo_h=yes
17956 else
17957   echo "$ac_t""no" 1>&6
17958 ac_has_langinfo_h=no
17959 fi
17960
17961
17962             echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
17963 echo "configure:17964: checking for iconv in -liconv" >&5
17964 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
17965 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17966   echo $ac_n "(cached) $ac_c" 1>&6
17967 else
17968   ac_save_LIBS="$LIBS"
17969 LIBS="-liconv  $LIBS"
17970 cat > conftest.$ac_ext <<EOF
17971 #line 17972 "configure"
17972 #include "confdefs.h"
17973 /* Override any gcc2 internal prototype to avoid an error.  */
17974 /* We use char because int might match the return type of a gcc2
17975     builtin and then its argument prototype would still apply.  */
17976 char iconv();
17977
17978 int main() {
17979 iconv()
17980 ; return 0; }
17981 EOF
17982 if { (eval echo configure:17983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17983   rm -rf conftest*
17984   eval "ac_cv_lib_$ac_lib_var=yes"
17985 else
17986   echo "configure: failed program was:" >&5
17987   cat conftest.$ac_ext >&5
17988   rm -rf conftest*
17989   eval "ac_cv_lib_$ac_lib_var=no"
17990 fi
17991 rm -f conftest*
17992 LIBS="$ac_save_LIBS"
17993
17994 fi
17995 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17996   echo "$ac_t""yes" 1>&6
17997   libiconv="-liconv"
17998 else
17999   echo "$ac_t""no" 1>&6
18000 fi
18001
18002       ac_save_LIBS="$LIBS"
18003       LIBS="$LIBS $libiconv"
18004
18005       for ac_func in iconv_open iconv_close iconv nl_langinfo
18006 do
18007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18008 echo "configure:18009: checking for $ac_func" >&5
18009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18010   echo $ac_n "(cached) $ac_c" 1>&6
18011 else
18012   cat > conftest.$ac_ext <<EOF
18013 #line 18014 "configure"
18014 #include "confdefs.h"
18015 /* System header to define __stub macros and hopefully few prototypes,
18016     which can conflict with char $ac_func(); below.  */
18017 #include <assert.h>
18018 /* Override any gcc2 internal prototype to avoid an error.  */
18019 /* We use char because int might match the return type of a gcc2
18020     builtin and then its argument prototype would still apply.  */
18021 char $ac_func();
18022
18023 int main() {
18024
18025 /* The GNU C library defines this for functions which it implements
18026     to always fail with ENOSYS.  Some functions are actually named
18027     something starting with __ and the normal name is an alias.  */
18028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18029 choke me
18030 #else
18031 $ac_func();
18032 #endif
18033
18034 ; return 0; }
18035 EOF
18036 if { (eval echo configure:18037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18037   rm -rf conftest*
18038   eval "ac_cv_func_$ac_func=yes"
18039 else
18040   echo "configure: failed program was:" >&5
18041   cat conftest.$ac_ext >&5
18042   rm -rf conftest*
18043   eval "ac_cv_func_$ac_func=no"
18044 fi
18045 rm -f conftest*
18046 fi
18047
18048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18049   echo "$ac_t""yes" 1>&6
18050     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18051   cat >> confdefs.h <<EOF
18052 #define $ac_tr_func 1
18053 EOF
18054  \
18055       ac_XPG2funcs=yes
18056 else
18057   echo "$ac_t""no" 1>&6
18058 ac_XPG2funcs=no
18059 fi
18060 done
18061
18062   
18063       LIBS="$ac_save_LIBS"
18064
18065       echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
18066 echo "configure:18067: checking for XPG2 wchar_t support" >&5
18067       if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
18068          && test x"$ac_XPG2funcs" = xyes; then
18069         ac_XPG2_wchar_t=yes
18070       else
18071         ac_XPG2_wchar_t=no
18072       fi
18073       echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
18074   
18075                   echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
18076 echo "configure:18077: checking for enabled wchar_t specializations" >&5
18077       if test x"$ac_isoC99_wchar_t" = xyes \
18078          && test x"$ac_XPG2_wchar_t" = xyes; then
18079         libinst_wstring_la="libinst-wstring.la"
18080         cat >> confdefs.h <<\EOF
18081 #define _GLIBCPP_USE_WCHAR_T 1
18082 EOF
18083
18084         echo "$ac_t"""yes"" 1>&6
18085       else
18086         libinst_wstring_la=""
18087         echo "$ac_t"""no"" 1>&6
18088       fi
18089       
18090   
18091     else
18092       echo "configure: warning: <wchar.h> not found" 1>&2
18093     fi
18094
18095   else
18096         :
18097   fi
18098
18099   
18100   ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
18101 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
18102 echo "configure:18103: checking for ctype.h" >&5
18103 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18104   echo $ac_n "(cached) $ac_c" 1>&6
18105 else
18106   cat > conftest.$ac_ext <<EOF
18107 #line 18108 "configure"
18108 #include "confdefs.h"
18109 #include <ctype.h>
18110 EOF
18111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18112 { (eval echo configure:18113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18114 if test -z "$ac_err"; then
18115   rm -rf conftest*
18116   eval "ac_cv_header_$ac_safe=yes"
18117 else
18118   echo "$ac_err" >&5
18119   echo "configure: failed program was:" >&5
18120   cat conftest.$ac_ext >&5
18121   rm -rf conftest*
18122   eval "ac_cv_header_$ac_safe=no"
18123 fi
18124 rm -f conftest*
18125 fi
18126 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18127   echo "$ac_t""yes" 1>&6
18128   
18129     
18130         ctype_default=yes
18131
18132         echo $ac_n "checking <ctype> for GNU/Linux""... $ac_c" 1>&6
18133 echo "configure:18134: checking <ctype> for GNU/Linux" >&5
18134     cat > conftest.$ac_ext <<EOF
18135 #line 18136 "configure"
18136 #include "confdefs.h"
18137 #include <ctype.h>
18138 int main() {
18139 int
18140     foo (int a)
18141     { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
18142         + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
18143         + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
18144 ; return 0; }
18145 EOF
18146 if { (eval echo configure:18147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18147   rm -rf conftest*
18148   \
18149     ctype_linux=yes
18150 else
18151   echo "configure: failed program was:" >&5
18152   cat conftest.$ac_ext >&5
18153   rm -rf conftest*
18154   ctype_linux=no
18155 fi
18156 rm -f conftest*
18157     echo "$ac_t""$ctype_linux" 1>&6
18158     if test $ctype_linux = "yes"; then
18159       ctype_include_dir="config/os/gnu-linux"
18160       ctype_default=no
18161     fi
18162
18163         if test $ctype_default = "yes"; then
18164     echo $ac_n "checking <ctype> for FreeBSD 4.0""... $ac_c" 1>&6
18165 echo "configure:18166: checking <ctype> for FreeBSD 4.0" >&5
18166     cat > conftest.$ac_ext <<EOF
18167 #line 18168 "configure"
18168 #include "confdefs.h"
18169 #include <ctype.h>
18170 int main() {
18171 int
18172     foo (int a)
18173     { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
18174         + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
18175 ; return 0; }
18176 EOF
18177 if { (eval echo configure:18178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18178   rm -rf conftest*
18179   \
18180     ctype_bsd=yes
18181 else
18182   echo "configure: failed program was:" >&5
18183   cat conftest.$ac_ext >&5
18184   rm -rf conftest*
18185   ctype_bsd=no
18186 fi
18187 rm -f conftest*
18188     echo "$ac_t""$ctype_bsd" 1>&6
18189     if test $ctype_bsd = "yes"; then
18190       ctype_include_dir="config/os/bsd/freebsd"
18191       ctype_default=no
18192     fi
18193     fi
18194
18195         if test $ctype_default = "yes"; then
18196     echo $ac_n "checking <ctype> for FreeBSD 3.4""... $ac_c" 1>&6
18197 echo "configure:18198: checking <ctype> for FreeBSD 3.4" >&5
18198     cat > conftest.$ac_ext <<EOF
18199 #line 18200 "configure"
18200 #include "confdefs.h"
18201 #include <ctype.h>
18202 int main() {
18203 int
18204     foo (int a)
18205     { return _S + _R + _C + _U + _L + _A \
18206       + _D + _P + _X + _G + __istype (a, 0);}
18207 ; return 0; }
18208 EOF
18209 if { (eval echo configure:18210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18210   rm -rf conftest*
18211   \
18212     ctype_freebsd34=yes
18213 else
18214   echo "configure: failed program was:" >&5
18215   cat conftest.$ac_ext >&5
18216   rm -rf conftest*
18217   ctype_freebsd34=no
18218 fi
18219 rm -f conftest*
18220     echo "$ac_t""$ctype_freebsd34" 1>&6
18221     if test $ctype_freebsd34 = "yes"; then
18222       ctype_include_dir="config/os/bsd/freebsd"
18223       ctype_default=no
18224     fi
18225     fi
18226
18227         if test $ctype_default = "yes"; then
18228     echo $ac_n "checking <ctype> for NetBSD""... $ac_c" 1>&6
18229 echo "configure:18230: checking <ctype> for NetBSD" >&5
18230     cat > conftest.$ac_ext <<EOF
18231 #line 18232 "configure"
18232 #include "confdefs.h"
18233 #include <ctype.h>
18234 int main() {
18235 int
18236     foo (int a)
18237     { return _S + _C + _U + _L \
18238       + _N + _P + _X + _tolower_tab_[a] + _toupper_tab_[a];}
18239 ; return 0; }
18240 EOF
18241 if { (eval echo configure:18242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18242   rm -rf conftest*
18243   \
18244     ctype_netbsd=yes
18245 else
18246   echo "configure: failed program was:" >&5
18247   cat conftest.$ac_ext >&5
18248   rm -rf conftest*
18249   ctype_netbsd=no
18250 fi
18251 rm -f conftest*
18252     echo "$ac_t""$ctype_netbsd" 1>&6
18253     if test $ctype_netbsd = "yes"; then
18254       ctype_include_dir="config/os/bsd/netbsd"
18255       ctype_default=no
18256     fi
18257     fi
18258
18259         if test $ctype_default = "yes"; then
18260     echo $ac_n "checking <ctype> for Solaris 2.6,7,8""... $ac_c" 1>&6
18261 echo "configure:18262: checking <ctype> for Solaris 2.6,7,8" >&5
18262     cat > conftest.$ac_ext <<EOF
18263 #line 18264 "configure"
18264 #include "confdefs.h"
18265 #include <ctype.h>
18266 int main() {
18267 int
18268     foo (int a)
18269     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
18270         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
18271         + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
18272 ; return 0; }
18273 EOF
18274 if { (eval echo configure:18275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18275   rm -rf conftest*
18276   \
18277     ctype_solaris=yes
18278 else
18279   echo "configure: failed program was:" >&5
18280   cat conftest.$ac_ext >&5
18281   rm -rf conftest*
18282   ctype_solaris=no
18283 fi
18284 rm -f conftest*
18285     echo "$ac_t""$ctype_solaris" 1>&6
18286
18287     if test $ctype_solaris = "yes"; then
18288       echo $ac_n "checking   for version""... $ac_c" 1>&6
18289 echo "configure:18290: checking   for version" >&5
18290       ac_ext=C
18291 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18292 ac_cpp='$CXXCPP $CPPFLAGS'
18293 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18294 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18295 cross_compiling=$ac_cv_prog_cxx_cross
18296  
18297       cat > conftest.$ac_ext <<EOF
18298 #line 18299 "configure"
18299 #include "confdefs.h"
18300 #include <ctype.h>
18301 int main() {
18302 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
18303 ; return 0; }
18304 EOF
18305 if { (eval echo configure:18306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18306   rm -rf conftest*
18307   \
18308       ctype_solaris26=yes
18309 else
18310   echo "configure: failed program was:" >&5
18311   cat conftest.$ac_ext >&5
18312   rm -rf conftest*
18313   ctype_solaris26=no
18314 fi
18315 rm -f conftest*
18316       ac_ext=c
18317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18318 ac_cpp='$CPP $CPPFLAGS'
18319 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18320 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18321 cross_compiling=$ac_cv_prog_cc_cross
18322
18323       if test $ctype_solaris26 = "yes"; then
18324         ctype_include_dir="config/os/solaris/solaris2.6"
18325         echo "$ac_t""Solaris 2.6" 1>&6
18326         ctype_default=no
18327       else
18328         ctype_include_dir="config/os/solaris/solaris2.7"
18329         echo "$ac_t""Solaris 7,8" 1>&6
18330         ctype_default=no
18331       fi
18332     fi
18333     fi  
18334
18335         if test $ctype_default = "yes"; then
18336     echo $ac_n "checking <ctype> for Solaris 2.5.1""... $ac_c" 1>&6
18337 echo "configure:18338: checking <ctype> for Solaris 2.5.1" >&5
18338     cat > conftest.$ac_ext <<EOF
18339 #line 18340 "configure"
18340 #include "confdefs.h"
18341 #include <ctype.h>
18342 int main() {
18343 int
18344     foo (int a)
18345     { return _U + _L + _N + _S + _P + _C + _X + _B \
18346         + __ctype[a];}
18347 ; return 0; }
18348 EOF
18349 if { (eval echo configure:18350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18350   rm -rf conftest*
18351   \
18352     ctype_solaris25=yes
18353 else
18354   echo "configure: failed program was:" >&5
18355   cat conftest.$ac_ext >&5
18356   rm -rf conftest*
18357   ctype_solaris25=no
18358 fi
18359 rm -f conftest*
18360     echo "$ac_t""$ctype_solaris25" 1>&6
18361     if test $ctype_solaris25 = "yes"; then
18362       ctype_include_dir="config/os/solaris/solaris2.5"
18363       ctype_default=no
18364     fi
18365     fi
18366
18367         if test $ctype_default = "yes"; then
18368     echo $ac_n "checking <ctype> for AIX""... $ac_c" 1>&6
18369 echo "configure:18370: checking <ctype> for AIX" >&5
18370     cat > conftest.$ac_ext <<EOF
18371 #line 18372 "configure"
18372 #include "confdefs.h"
18373 #include <ctype.h>
18374 int main() {
18375 int
18376     foo (int a)
18377     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
18378         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
18379         + _VALC('a') + _IS('c', 0);}
18380 ; return 0; }
18381 EOF
18382 if { (eval echo configure:18383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18383   rm -rf conftest*
18384   \
18385     ctype_aix=yes
18386 else
18387   echo "configure: failed program was:" >&5
18388   cat conftest.$ac_ext >&5
18389   rm -rf conftest*
18390   ctype_aix=no
18391 fi
18392 rm -f conftest*
18393     echo "$ac_t""$ctype_aix" 1>&6
18394     if test $ctype_aix = "yes"; then
18395       ctype_include_dir="config/os/aix"
18396       ctype_default=no
18397     fi
18398     fi
18399
18400         if test $ctype_default = "yes"; then 
18401     echo $ac_n "checking <ctype> for IRIX""... $ac_c" 1>&6
18402 echo "configure:18403: checking <ctype> for IRIX" >&5
18403     cat > conftest.$ac_ext <<EOF
18404 #line 18405 "configure"
18405 #include "confdefs.h"
18406 #include <ctype.h>
18407 int main() {
18408 int
18409     foo (int a)
18410     { return _U + _L + _N + _S + _P + _C + _B + _X + \
18411              _A + _PR + _G + _BL;}
18412 ; return 0; }
18413 EOF
18414 if { (eval echo configure:18415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18415   rm -rf conftest*
18416   \
18417     ctype_irix=yes
18418 else
18419   echo "configure: failed program was:" >&5
18420   cat conftest.$ac_ext >&5
18421   rm -rf conftest*
18422   ctype_irix=no
18423 fi
18424 rm -f conftest*
18425     echo "$ac_t""$ctype_irix" 1>&6
18426     if test $ctype_irix = "yes"; then
18427       ctype_include_dir="config/os/irix"
18428       ctype_default=no
18429     fi
18430     fi
18431
18432         if test $ctype_default = "yes"; then
18433     echo $ac_n "checking <ctype> for newlib""... $ac_c" 1>&6
18434 echo "configure:18435: checking <ctype> for newlib" >&5
18435     cat > conftest.$ac_ext <<EOF
18436 #line 18437 "configure"
18437 #include "confdefs.h"
18438 #include <ctype.h>
18439 int main() {
18440 int
18441     foo (int a)
18442     { return _U + _L + _N + _S + _P + _C + _X + _B \
18443         + _ctype_[a];}
18444 ; return 0; }
18445 EOF
18446 if { (eval echo configure:18447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18447   rm -rf conftest*
18448   \
18449     ctype_newlib=yes
18450 else
18451   echo "configure: failed program was:" >&5
18452   cat conftest.$ac_ext >&5
18453   rm -rf conftest*
18454   ctype_newlib=no
18455 fi
18456 rm -f conftest*
18457     echo "$ac_t""$ctype_newlib" 1>&6
18458     if test $ctype_newlib = "yes"; then
18459       ctype_include_dir="config/os/newlib"
18460       ctype_default=no
18461     fi
18462     fi
18463
18464     if test $ctype_default = "yes"; then
18465       ctype_include_dir="config/os/generic"
18466       echo "configure: warning: "Using default ctype headers."" 1>&2
18467     fi
18468
18469     
18470     
18471     
18472   
18473 else
18474   echo "$ac_t""no" 1>&6
18475 fi
18476
18477
18478   
18479   ac_test_CXXFLAGS="${CXXFLAGS+set}"
18480   ac_save_CXXFLAGS="$CXXFLAGS"
18481   CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
18482
18483   for ac_func in strtof
18484 do
18485 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18486 echo "configure:18487: checking for $ac_func" >&5
18487 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18488   echo $ac_n "(cached) $ac_c" 1>&6
18489 else
18490   cat > conftest.$ac_ext <<EOF
18491 #line 18492 "configure"
18492 #include "confdefs.h"
18493 /* System header to define __stub macros and hopefully few prototypes,
18494     which can conflict with char $ac_func(); below.  */
18495 #include <assert.h>
18496 /* Override any gcc2 internal prototype to avoid an error.  */
18497 /* We use char because int might match the return type of a gcc2
18498     builtin and then its argument prototype would still apply.  */
18499 char $ac_func();
18500
18501 int main() {
18502
18503 /* The GNU C library defines this for functions which it implements
18504     to always fail with ENOSYS.  Some functions are actually named
18505     something starting with __ and the normal name is an alias.  */
18506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18507 choke me
18508 #else
18509 $ac_func();
18510 #endif
18511
18512 ; return 0; }
18513 EOF
18514 if { (eval echo configure:18515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18515   rm -rf conftest*
18516   eval "ac_cv_func_$ac_func=yes"
18517 else
18518   echo "configure: failed program was:" >&5
18519   cat conftest.$ac_ext >&5
18520   rm -rf conftest*
18521   eval "ac_cv_func_$ac_func=no"
18522 fi
18523 rm -f conftest*
18524 fi
18525
18526 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18527   echo "$ac_t""yes" 1>&6
18528     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18529   cat >> confdefs.h <<EOF
18530 #define $ac_tr_func 1
18531 EOF
18532  
18533 else
18534   echo "$ac_t""no" 1>&6
18535 fi
18536 done
18537
18538   
18539   echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
18540 echo "configure:18541: checking for strtold declaration" >&5
18541   if test x${glibcpp_cv_func_strtold_use+set} != xset; then
18542     if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
18543   echo $ac_n "(cached) $ac_c" 1>&6
18544 else
18545   
18546       
18547       ac_ext=C
18548 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18549 ac_cpp='$CXXCPP $CPPFLAGS'
18550 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18551 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18552 cross_compiling=$ac_cv_prog_cxx_cross
18553
18554       cat > conftest.$ac_ext <<EOF
18555 #line 18556 "configure"
18556 #include "confdefs.h"
18557 #include <stdlib.h>
18558 int main() {
18559  strtold(0, 0);
18560 ; return 0; }
18561 EOF
18562 if { (eval echo configure:18563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18563   rm -rf conftest*
18564   glibcpp_cv_func_strtold_use=yes
18565 else
18566   echo "configure: failed program was:" >&5
18567   cat conftest.$ac_ext >&5
18568   rm -rf conftest*
18569   glibcpp_cv_func_strtold_use=no
18570 fi
18571 rm -f conftest*
18572       ac_ext=c
18573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18574 ac_cpp='$CPP $CPPFLAGS'
18575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18577 cross_compiling=$ac_cv_prog_cc_cross
18578
18579     
18580 fi
18581
18582   fi
18583   echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
18584   if test x$glibcpp_cv_func_strtold_use = x"yes"; then
18585     for ac_func in strtold
18586 do
18587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18588 echo "configure:18589: checking for $ac_func" >&5
18589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18590   echo $ac_n "(cached) $ac_c" 1>&6
18591 else
18592   cat > conftest.$ac_ext <<EOF
18593 #line 18594 "configure"
18594 #include "confdefs.h"
18595 /* System header to define __stub macros and hopefully few prototypes,
18596     which can conflict with char $ac_func(); below.  */
18597 #include <assert.h>
18598 /* Override any gcc2 internal prototype to avoid an error.  */
18599 /* We use char because int might match the return type of a gcc2
18600     builtin and then its argument prototype would still apply.  */
18601 char $ac_func();
18602
18603 int main() {
18604
18605 /* The GNU C library defines this for functions which it implements
18606     to always fail with ENOSYS.  Some functions are actually named
18607     something starting with __ and the normal name is an alias.  */
18608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18609 choke me
18610 #else
18611 $ac_func();
18612 #endif
18613
18614 ; return 0; }
18615 EOF
18616 if { (eval echo configure:18617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18617   rm -rf conftest*
18618   eval "ac_cv_func_$ac_func=yes"
18619 else
18620   echo "configure: failed program was:" >&5
18621   cat conftest.$ac_ext >&5
18622   rm -rf conftest*
18623   eval "ac_cv_func_$ac_func=no"
18624 fi
18625 rm -f conftest*
18626 fi
18627
18628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18629   echo "$ac_t""yes" 1>&6
18630     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18631   cat >> confdefs.h <<EOF
18632 #define $ac_tr_func 1
18633 EOF
18634  
18635 else
18636   echo "$ac_t""no" 1>&6
18637 fi
18638 done
18639     
18640   fi
18641
18642
18643   CXXFLAGS="$ac_save_CXXFLAGS"
18644
18645
18646   for ac_hdr in unistd.h
18647 do
18648 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18649 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18650 echo "configure:18651: checking for $ac_hdr" >&5
18651 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18652   echo $ac_n "(cached) $ac_c" 1>&6
18653 else
18654   cat > conftest.$ac_ext <<EOF
18655 #line 18656 "configure"
18656 #include "confdefs.h"
18657 #include <$ac_hdr>
18658 EOF
18659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18660 { (eval echo configure:18661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18662 if test -z "$ac_err"; then
18663   rm -rf conftest*
18664   eval "ac_cv_header_$ac_safe=yes"
18665 else
18666   echo "$ac_err" >&5
18667   echo "configure: failed program was:" >&5
18668   cat conftest.$ac_ext >&5
18669   rm -rf conftest*
18670   eval "ac_cv_header_$ac_safe=no"
18671 fi
18672 rm -f conftest*
18673 fi
18674 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18675   echo "$ac_t""yes" 1>&6
18676     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18677   cat >> confdefs.h <<EOF
18678 #define $ac_tr_hdr 1
18679 EOF
18680  
18681 else
18682   echo "$ac_t""no" 1>&6
18683 fi
18684 done
18685
18686 for ac_func in getpagesize
18687 do
18688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18689 echo "configure:18690: checking for $ac_func" >&5
18690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18691   echo $ac_n "(cached) $ac_c" 1>&6
18692 else
18693   cat > conftest.$ac_ext <<EOF
18694 #line 18695 "configure"
18695 #include "confdefs.h"
18696 /* System header to define __stub macros and hopefully few prototypes,
18697     which can conflict with char $ac_func(); below.  */
18698 #include <assert.h>
18699 /* Override any gcc2 internal prototype to avoid an error.  */
18700 /* We use char because int might match the return type of a gcc2
18701     builtin and then its argument prototype would still apply.  */
18702 char $ac_func();
18703
18704 int main() {
18705
18706 /* The GNU C library defines this for functions which it implements
18707     to always fail with ENOSYS.  Some functions are actually named
18708     something starting with __ and the normal name is an alias.  */
18709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18710 choke me
18711 #else
18712 $ac_func();
18713 #endif
18714
18715 ; return 0; }
18716 EOF
18717 if { (eval echo configure:18718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18718   rm -rf conftest*
18719   eval "ac_cv_func_$ac_func=yes"
18720 else
18721   echo "configure: failed program was:" >&5
18722   cat conftest.$ac_ext >&5
18723   rm -rf conftest*
18724   eval "ac_cv_func_$ac_func=no"
18725 fi
18726 rm -f conftest*
18727 fi
18728
18729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18730   echo "$ac_t""yes" 1>&6
18731     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18732   cat >> confdefs.h <<EOF
18733 #define $ac_tr_func 1
18734 EOF
18735  
18736 else
18737   echo "$ac_t""no" 1>&6
18738 fi
18739 done
18740
18741 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18742 echo "configure:18743: checking for working mmap" >&5
18743 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18744   echo $ac_n "(cached) $ac_c" 1>&6
18745 else
18746   if test "$cross_compiling" = yes; then
18747   ac_cv_func_mmap_fixed_mapped=no
18748 else
18749   cat > conftest.$ac_ext <<EOF
18750 #line 18751 "configure"
18751 #include "confdefs.h"
18752
18753 /* Thanks to Mike Haertel and Jim Avera for this test.
18754    Here is a matrix of mmap possibilities:
18755         mmap private not fixed
18756         mmap private fixed at somewhere currently unmapped
18757         mmap private fixed at somewhere already mapped
18758         mmap shared not fixed
18759         mmap shared fixed at somewhere currently unmapped
18760         mmap shared fixed at somewhere already mapped
18761    For private mappings, we should verify that changes cannot be read()
18762    back from the file, nor mmap's back from the file at a different
18763    address.  (There have been systems where private was not correctly
18764    implemented like the infamous i386 svr4.0, and systems where the
18765    VM page cache was not coherent with the filesystem buffer cache
18766    like early versions of FreeBSD and possibly contemporary NetBSD.)
18767    For shared mappings, we should conversely verify that changes get
18768    propogated back to all the places they're supposed to be.
18769
18770    Grep wants private fixed already mapped.
18771    The main things grep needs to know about mmap are:
18772    * does it exist and is it safe to write into the mmap'd area
18773    * how to use it (BSD variants)  */
18774 #include <sys/types.h>
18775 #include <fcntl.h>
18776 #include <sys/mman.h>
18777
18778 /* This mess was copied from the GNU getpagesize.h.  */
18779 #ifndef HAVE_GETPAGESIZE
18780 # ifdef HAVE_UNISTD_H
18781 #  include <unistd.h>
18782 # endif
18783
18784 /* Assume that all systems that can run configure have sys/param.h.  */
18785 # ifndef HAVE_SYS_PARAM_H
18786 #  define HAVE_SYS_PARAM_H 1
18787 # endif
18788
18789 # ifdef _SC_PAGESIZE
18790 #  define getpagesize() sysconf(_SC_PAGESIZE)
18791 # else /* no _SC_PAGESIZE */
18792 #  ifdef HAVE_SYS_PARAM_H
18793 #   include <sys/param.h>
18794 #   ifdef EXEC_PAGESIZE
18795 #    define getpagesize() EXEC_PAGESIZE
18796 #   else /* no EXEC_PAGESIZE */
18797 #    ifdef NBPG
18798 #     define getpagesize() NBPG * CLSIZE
18799 #     ifndef CLSIZE
18800 #      define CLSIZE 1
18801 #     endif /* no CLSIZE */
18802 #    else /* no NBPG */
18803 #     ifdef NBPC
18804 #      define getpagesize() NBPC
18805 #     else /* no NBPC */
18806 #      ifdef PAGESIZE
18807 #       define getpagesize() PAGESIZE
18808 #      endif /* PAGESIZE */
18809 #     endif /* no NBPC */
18810 #    endif /* no NBPG */
18811 #   endif /* no EXEC_PAGESIZE */
18812 #  else /* no HAVE_SYS_PARAM_H */
18813 #   define getpagesize() 8192   /* punt totally */
18814 #  endif /* no HAVE_SYS_PARAM_H */
18815 # endif /* no _SC_PAGESIZE */
18816
18817 #endif /* no HAVE_GETPAGESIZE */
18818
18819 #ifdef __cplusplus
18820 extern "C" { void *malloc(unsigned); }
18821 #else
18822 char *malloc();
18823 #endif
18824
18825 int
18826 main()
18827 {
18828         char *data, *data2, *data3;
18829         int i, pagesize;
18830         int fd;
18831
18832         pagesize = getpagesize();
18833
18834         /*
18835          * First, make a file with some known garbage in it.
18836          */
18837         data = malloc(pagesize);
18838         if (!data)
18839                 exit(1);
18840         for (i = 0; i < pagesize; ++i)
18841                 *(data + i) = rand();
18842         umask(0);
18843         fd = creat("conftestmmap", 0600);
18844         if (fd < 0)
18845                 exit(1);
18846         if (write(fd, data, pagesize) != pagesize)
18847                 exit(1);
18848         close(fd);
18849
18850         /*
18851          * Next, try to mmap the file at a fixed address which
18852          * already has something else allocated at it.  If we can,
18853          * also make sure that we see the same garbage.
18854          */
18855         fd = open("conftestmmap", O_RDWR);
18856         if (fd < 0)
18857                 exit(1);
18858         data2 = malloc(2 * pagesize);
18859         if (!data2)
18860                 exit(1);
18861         data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18862         if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18863             MAP_PRIVATE | MAP_FIXED, fd, 0L))
18864                 exit(1);
18865         for (i = 0; i < pagesize; ++i)
18866                 if (*(data + i) != *(data2 + i))
18867                         exit(1);
18868
18869         /*
18870          * Finally, make sure that changes to the mapped area
18871          * do not percolate back to the file as seen by read().
18872          * (This is a bug on some variants of i386 svr4.0.)
18873          */
18874         for (i = 0; i < pagesize; ++i)
18875                 *(data2 + i) = *(data2 + i) + 1;
18876         data3 = malloc(pagesize);
18877         if (!data3)
18878                 exit(1);
18879         if (read(fd, data3, pagesize) != pagesize)
18880                 exit(1);
18881         for (i = 0; i < pagesize; ++i)
18882                 if (*(data + i) != *(data3 + i))
18883                         exit(1);
18884         close(fd);
18885         unlink("conftestmmap");
18886         exit(0);
18887 }
18888
18889 EOF
18890 if { (eval echo configure:18891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18891 then
18892   ac_cv_func_mmap_fixed_mapped=yes
18893 else
18894   echo "configure: failed program was:" >&5
18895   cat conftest.$ac_ext >&5
18896   rm -fr conftest*
18897   ac_cv_func_mmap_fixed_mapped=no
18898 fi
18899 rm -fr conftest*
18900 fi
18901
18902 fi
18903
18904 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18905 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18906   cat >> confdefs.h <<\EOF
18907 #define HAVE_MMAP 1
18908 EOF
18909
18910 fi
18911
18912 fi
18913
18914
18915
18916 if test "$CANADIAN" = yes; then
18917   CANADIAN_TRUE=
18918   CANADIAN_FALSE='#'
18919 else
18920   CANADIAN_TRUE='#'
18921   CANADIAN_FALSE=
18922 fi
18923
18924
18925 if test "$NULL_TARGET" = yes; then
18926   NULL_TARGET_TRUE=
18927   NULL_TARGET_FALSE='#'
18928 else
18929   NULL_TARGET_TRUE='#'
18930   NULL_TARGET_FALSE=
18931 fi
18932
18933
18934 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18935   NATIVE_TRUE=
18936   NATIVE_FALSE='#'
18937 else
18938   NATIVE_TRUE='#'
18939   NATIVE_FALSE=
18940 fi
18941
18942
18943 if test -z "$with_cross_host"; then
18944   USE_LIBDIR_TRUE=
18945   USE_LIBDIR_FALSE='#'
18946 else
18947   USE_LIBDIR_TRUE='#'
18948   USE_LIBDIR_FALSE=
18949 fi
18950  
18951 cat > confcache <<\EOF
18952 # This file is a shell script that caches the results of configure
18953 # tests run on this system so they can be shared between configure
18954 # scripts and configure runs.  It is not useful on other systems.
18955 # If it contains results you don't want to keep, you may remove or edit it.
18956 #
18957 # By default, configure uses ./config.cache as the cache file,
18958 # creating it if it does not exist already.  You can give configure
18959 # the --cache-file=FILE option to use a different cache file; that is
18960 # what configure does when it calls configure scripts in
18961 # subdirectories, so they share the cache.
18962 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18963 # config.status only pays attention to the cache file if you give it the
18964 # --recheck option to rerun configure.
18965 #
18966 EOF
18967 # The following way of writing the cache mishandles newlines in values,
18968 # but we know of no workaround that is simple, portable, and efficient.
18969 # So, don't put newlines in cache variables' values.
18970 # Ultrix sh set writes to stderr and can't be redirected directly,
18971 # and sets the high bit in the cache file unless we assign to the vars.
18972 (set) 2>&1 |
18973   case `(ac_space=' '; set | grep ac_space) 2>&1` in
18974   *ac_space=\ *)
18975     # `set' does not quote correctly, so add quotes (double-quote substitution
18976     # turns \\\\ into \\, and sed turns \\ into \).
18977     sed -n \
18978       -e "s/'/'\\\\''/g" \
18979       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18980     ;;
18981   *)
18982     # `set' quotes correctly as required by POSIX, so do not add quotes.
18983     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18984     ;;
18985   esac >> confcache
18986 if cmp -s $cache_file confcache; then
18987   :
18988 else
18989   if test -w $cache_file; then
18990     echo "updating cache $cache_file"
18991     cat confcache > $cache_file
18992   else
18993     echo "not updating unwritable cache $cache_file"
18994   fi
18995 fi
18996 rm -f confcache
18997
18998
18999   ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
19000 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
19001 echo "configure:19002: checking for locale.h" >&5
19002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19003   echo $ac_n "(cached) $ac_c" 1>&6
19004 else
19005   cat > conftest.$ac_ext <<EOF
19006 #line 19007 "configure"
19007 #include "confdefs.h"
19008 #include <locale.h>
19009 EOF
19010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19011 { (eval echo configure:19012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19013 if test -z "$ac_err"; then
19014   rm -rf conftest*
19015   eval "ac_cv_header_$ac_safe=yes"
19016 else
19017   echo "$ac_err" >&5
19018   echo "configure: failed program was:" >&5
19019   cat conftest.$ac_ext >&5
19020   rm -rf conftest*
19021   eval "ac_cv_header_$ac_safe=no"
19022 fi
19023 rm -f conftest*
19024 fi
19025 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19026   echo "$ac_t""yes" 1>&6
19027   
19028     echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
19029 echo "configure:19030: checking for LC_MESSAGES" >&5
19030 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
19031   echo $ac_n "(cached) $ac_c" 1>&6
19032 else
19033   cat > conftest.$ac_ext <<EOF
19034 #line 19035 "configure"
19035 #include "confdefs.h"
19036 #include <locale.h>
19037 int main() {
19038 return LC_MESSAGES
19039 ; return 0; }
19040 EOF
19041 if { (eval echo configure:19042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19042   rm -rf conftest*
19043   ac_cv_val_LC_MESSAGES=yes
19044 else
19045   echo "configure: failed program was:" >&5
19046   cat conftest.$ac_ext >&5
19047   rm -rf conftest*
19048   ac_cv_val_LC_MESSAGES=no
19049 fi
19050 rm -f conftest*
19051 fi
19052
19053 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
19054     if test $ac_cv_val_LC_MESSAGES = yes; then
19055       cat >> confdefs.h <<\EOF
19056 #define HAVE_LC_MESSAGES 1
19057 EOF
19058
19059     fi
19060   
19061 else
19062   echo "$ac_t""no" 1>&6
19063 fi
19064
19065
19066
19067 if test "${multilib}" = "yes"; then
19068   multilib_arg="--enable-multilib"
19069 else
19070   multilib_arg=
19071 fi
19072
19073
19074 # Generate the various Makefiles, include files, and scripts.
19075
19076 # This helps subvert libstdcxx_interface, as calculated by devo/config.if
19077 # Needed so that g++ can find the correct include subdir automatically.
19078 INTERFACE=v3
19079
19080 # Check for the interface version number for specifying where header
19081 # files are installed, if a version number is provided.
19082 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
19083 echo "configure:19084: checking for interface version number" >&5
19084 libstdcxx_interface=$INTERFACE
19085 echo "$ac_t""$libstdcxx_interface" 1>&6
19086
19087
19088 # Process the option --with-gxx-include-dir=<path to include-files directory>
19089 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
19090 echo "configure:19091: checking for --with-gxx-include-dir" >&5
19091 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
19092 if test "${with_gxx_include_dir+set}" = set; then
19093   withval="$with_gxx_include_dir"
19094   case "${withval}" in
19095   yes)
19096     { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
19097     gxx_include_dir=no
19098     ;;
19099   no)
19100     gxx_include_dir=no
19101     ;;
19102   *)
19103     gxx_include_dir=${withval}
19104     ;;
19105 esac
19106 else
19107   gxx_include_dir=no
19108 fi
19109
19110 echo "$ac_t""$gxx_include_dir" 1>&6
19111
19112
19113
19114 if test x${gxx_include_dir} != xno; then
19115   GXX_INCLUDE_DIR_TRUE=
19116   GXX_INCLUDE_DIR_FALSE='#'
19117 else
19118   GXX_INCLUDE_DIR_TRUE='#'
19119   GXX_INCLUDE_DIR_FALSE=
19120 fi
19121
19122 # Process the option "--enable-version-specific-runtime-libs"
19123 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
19124 echo "configure:19125: checking for --enable-version-specific-runtime-libs" >&5
19125 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
19126 if test "${enable_version_specific_runtime_libs+set}" = set; then
19127   enableval="$enable_version_specific_runtime_libs"
19128     version_specific_libs=yes
19129 # Need the gcc compiler version to know where to install libraries
19130 # and header files if --enable-version-specific-runtime-libs option
19131 # is selected.
19132 gcc_tmp=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $6}'`
19133 gcc_num=`echo ${gcc_tmp} | sed 's/\"//g'`
19134 #gcc_date=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $7}'`
19135 #gcc_version=$gcc_num-$gcc_date
19136 gcc_version=$gcc_num
19137
19138
19139 else
19140   version_specific_libs=no
19141 fi
19142
19143 echo "$ac_t""$version_specific_libs" 1>&6
19144 if test x${version_specific_libs} = xyes; then
19145   
19146
19147 if test x${version_specific_libs} = xyes; then
19148   VERSION_SPECIFIC_LIBS_TRUE=
19149   VERSION_SPECIFIC_LIBS_FALSE='#'
19150 else
19151   VERSION_SPECIFIC_LIBS_TRUE='#'
19152   VERSION_SPECIFIC_LIBS_FALSE=
19153 fi
19154   echo "configure: warning: version specific directory is: $gcc_version" 1>&2
19155 fi
19156
19157
19158
19159 # Export all the include and flag information to makefiles.
19160
19161   # Root level of the include sources.
19162   GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
19163
19164   # Can either use include/c or include/c_std to grab "C" headers. This
19165   # variable is set to the include directory currently in use.
19166   # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_SHADOW
19167    
19168   # Passed down for canadian crosses.
19169   if  test x"$CANADIAN" = xyes; then
19170     TOPLEVEL_INCLUDES='-I$(includedir)'
19171   fi
19172
19173   LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
19174
19175   LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
19176
19177   #if GLIBCPP_NEED_LIBIO
19178   LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
19179   #else
19180   #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
19181   #endif
19182
19183   #if GLIBCPP_USE_CSHADOW
19184   #  CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
19185   #                   -I$(top_blddir)/cshadow'
19186   #else
19187   CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
19188   #endif
19189
19190   # Now, export this to all the little Makefiles....
19191   
19192   
19193   
19194   
19195   
19196   
19197
19198
19199   # Optimization flags that are probably a good idea for thrill-seekers. Just
19200   # uncomment the lines below and make, everything else is ready to go... 
19201   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc 
19202   OPTIMIZE_CXXFLAGS=
19203   
19204
19205   WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
19206   
19207
19208
19209 # This should be done by mkincludedir, but hack around it now.
19210 blddir=`pwd`
19211 echo "checking for $blddir/include"
19212
19213 if test ! -d "$blddir/include"; then
19214   mkdir "$blddir/include"
19215 fi
19216
19217 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
19218 # so that multilib installs will end up installed in the correct
19219 # place. To work around this not being passed down from config-ml.in
19220 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
19221 # append it here.
19222 trap '' 1 2 15
19223 cat > confcache <<\EOF
19224 # This file is a shell script that caches the results of configure
19225 # tests run on this system so they can be shared between configure
19226 # scripts and configure runs.  It is not useful on other systems.
19227 # If it contains results you don't want to keep, you may remove or edit it.
19228 #
19229 # By default, configure uses ./config.cache as the cache file,
19230 # creating it if it does not exist already.  You can give configure
19231 # the --cache-file=FILE option to use a different cache file; that is
19232 # what configure does when it calls configure scripts in
19233 # subdirectories, so they share the cache.
19234 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19235 # config.status only pays attention to the cache file if you give it the
19236 # --recheck option to rerun configure.
19237 #
19238 EOF
19239 # The following way of writing the cache mishandles newlines in values,
19240 # but we know of no workaround that is simple, portable, and efficient.
19241 # So, don't put newlines in cache variables' values.
19242 # Ultrix sh set writes to stderr and can't be redirected directly,
19243 # and sets the high bit in the cache file unless we assign to the vars.
19244 (set) 2>&1 |
19245   case `(ac_space=' '; set | grep ac_space) 2>&1` in
19246   *ac_space=\ *)
19247     # `set' does not quote correctly, so add quotes (double-quote substitution
19248     # turns \\\\ into \\, and sed turns \\ into \).
19249     sed -n \
19250       -e "s/'/'\\\\''/g" \
19251       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19252     ;;
19253   *)
19254     # `set' quotes correctly as required by POSIX, so do not add quotes.
19255     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19256     ;;
19257   esac >> confcache
19258 if cmp -s $cache_file confcache; then
19259   :
19260 else
19261   if test -w $cache_file; then
19262     echo "updating cache $cache_file"
19263     cat confcache > $cache_file
19264   else
19265     echo "not updating unwritable cache $cache_file"
19266   fi
19267 fi
19268 rm -f confcache
19269
19270 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19271
19272 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19273 # Let make expand exec_prefix.
19274 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19275
19276 # Any assignment to VPATH causes Sun make to only execute
19277 # the first set of double-colon rules, so remove it if not needed.
19278 # If there is a colon in the path, we need to keep it.
19279 if test "x$srcdir" = x.; then
19280   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
19281 fi
19282
19283 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19284
19285 DEFS=-DHAVE_CONFIG_H
19286
19287 # Without the "./", some shells look in PATH for config.status.
19288 : ${CONFIG_STATUS=./config.status}
19289
19290 echo creating $CONFIG_STATUS
19291 rm -f $CONFIG_STATUS
19292 cat > $CONFIG_STATUS <<EOF
19293 #! /bin/sh
19294 # Generated automatically by configure.
19295 # Run this file to recreate the current configuration.
19296 # This directory was configured as follows,
19297 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19298 #
19299 # $0 $ac_configure_args
19300 #
19301 # Compiler output produced by configure, useful for debugging
19302 # configure, is in ./config.log if it exists.
19303
19304 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19305 for ac_option
19306 do
19307   case "\$ac_option" in
19308   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19309     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19310     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19311   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19312     echo "$CONFIG_STATUS generated by autoconf version 2.13"
19313     exit 0 ;;
19314   -help | --help | --hel | --he | --h)
19315     echo "\$ac_cs_usage"; exit 0 ;;
19316   *) echo "\$ac_cs_usage"; exit 1 ;;
19317   esac
19318 done
19319
19320 ac_given_srcdir=$srcdir
19321 ac_given_INSTALL="$INSTALL"
19322
19323 trap 'rm -fr `echo "tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19324 EOF
19325 cat >> $CONFIG_STATUS <<EOF
19326
19327 # Protect against being on the right side of a sed subst in config.status.
19328 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19329  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19330 $ac_vpsub
19331 $extrasub
19332 s%@SHELL@%$SHELL%g
19333 s%@CFLAGS@%$CFLAGS%g
19334 s%@CPPFLAGS@%$CPPFLAGS%g
19335 s%@CXXFLAGS@%$CXXFLAGS%g
19336 s%@FFLAGS@%$FFLAGS%g
19337 s%@DEFS@%$DEFS%g
19338 s%@LDFLAGS@%$LDFLAGS%g
19339 s%@LIBS@%$LIBS%g
19340 s%@exec_prefix@%$exec_prefix%g
19341 s%@prefix@%$prefix%g
19342 s%@program_transform_name@%$program_transform_name%g
19343 s%@bindir@%$bindir%g
19344 s%@sbindir@%$sbindir%g
19345 s%@libexecdir@%$libexecdir%g
19346 s%@datadir@%$datadir%g
19347 s%@sysconfdir@%$sysconfdir%g
19348 s%@sharedstatedir@%$sharedstatedir%g
19349 s%@localstatedir@%$localstatedir%g
19350 s%@libdir@%$libdir%g
19351 s%@includedir@%$includedir%g
19352 s%@oldincludedir@%$oldincludedir%g
19353 s%@infodir@%$infodir%g
19354 s%@mandir@%$mandir%g
19355 s%@host@%$host%g
19356 s%@host_alias@%$host_alias%g
19357 s%@host_cpu@%$host_cpu%g
19358 s%@host_vendor@%$host_vendor%g
19359 s%@host_os@%$host_os%g
19360 s%@target@%$target%g
19361 s%@target_alias@%$target_alias%g
19362 s%@target_cpu@%$target_cpu%g
19363 s%@target_vendor@%$target_vendor%g
19364 s%@target_os@%$target_os%g
19365 s%@build@%$build%g
19366 s%@build_alias@%$build_alias%g
19367 s%@build_cpu@%$build_cpu%g
19368 s%@build_vendor@%$build_vendor%g
19369 s%@build_os@%$build_os%g
19370 s%@glibcpp_basedir@%$glibcpp_basedir%g
19371 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19372 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19373 s%@INSTALL_DATA@%$INSTALL_DATA%g
19374 s%@PACKAGE@%$PACKAGE%g
19375 s%@VERSION@%$VERSION%g
19376 s%@ACLOCAL@%$ACLOCAL%g
19377 s%@AUTOCONF@%$AUTOCONF%g
19378 s%@AUTOMAKE@%$AUTOMAKE%g
19379 s%@AUTOHEADER@%$AUTOHEADER%g
19380 s%@MAKEINFO@%$MAKEINFO%g
19381 s%@SET_MAKE@%$SET_MAKE%g
19382 s%@CC@%$CC%g
19383 s%@CXX_libstdcxx@%$CXX_libstdcxx%g
19384 s%@CXX@%$CXX%g
19385 s%@AS@%$AS%g
19386 s%@AR@%$AR%g
19387 s%@RANLIB@%$RANLIB%g
19388 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
19389 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
19390 s%@MAINT@%$MAINT%g
19391 s%@EXEEXT@%$EXEEXT%g
19392 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
19393 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
19394 s%@LN_S@%$LN_S%g
19395 s%@OBJEXT@%$OBJEXT%g
19396 s%@STRIP@%$STRIP%g
19397 s%@LIBTOOL@%$LIBTOOL%g
19398 s%@CXXCPP@%$CXXCPP%g
19399 s%@enable_shared@%$enable_shared%g
19400 s%@enable_static@%$enable_static%g
19401 s%@ifGNUmake@%$ifGNUmake%g
19402 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
19403 s%@CPP@%$CPP%g
19404 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
19405 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
19406 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
19407 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
19408 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
19409 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
19410 s%@libio_la@%$libio_la%g
19411 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
19412 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
19413 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
19414 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
19415 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
19416 s%@WERROR@%$WERROR%g
19417 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
19418 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
19419 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
19420 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
19421 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
19422 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
19423 s%@libinst_wstring_la@%$libinst_wstring_la%g
19424 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
19425 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
19426 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
19427 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
19428 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
19429 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
19430 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
19431 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
19432 s%@libstdcxx_interface@%$libstdcxx_interface%g
19433 s%@gxx_include_dir@%$gxx_include_dir%g
19434 s%@GXX_INCLUDE_DIR_TRUE@%$GXX_INCLUDE_DIR_TRUE%g
19435 s%@GXX_INCLUDE_DIR_FALSE@%$GXX_INCLUDE_DIR_FALSE%g
19436 s%@gcc_version@%$gcc_version%g
19437 s%@VERSION_SPECIFIC_LIBS_TRUE@%$VERSION_SPECIFIC_LIBS_TRUE%g
19438 s%@VERSION_SPECIFIC_LIBS_FALSE@%$VERSION_SPECIFIC_LIBS_FALSE%g
19439 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
19440 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
19441 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
19442 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
19443 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
19444 s%@CSHADOW_INCLUDES@%$CSHADOW_INCLUDES%g
19445 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
19446 s%@WARN_FLAGS@%$WARN_FLAGS%g
19447
19448 CEOF
19449 EOF
19450
19451 cat >> $CONFIG_STATUS <<\EOF
19452
19453 # Split the substitutions into bite-sized pieces for seds with
19454 # small command number limits, like on Digital OSF/1 and HP-UX.
19455 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19456 ac_file=1 # Number of current file.
19457 ac_beg=1 # First line for current file.
19458 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19459 ac_more_lines=:
19460 ac_sed_cmds=""
19461 while $ac_more_lines; do
19462   if test $ac_beg -gt 1; then
19463     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19464   else
19465     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19466   fi
19467   if test ! -s conftest.s$ac_file; then
19468     ac_more_lines=false
19469     rm -f conftest.s$ac_file
19470   else
19471     if test -z "$ac_sed_cmds"; then
19472       ac_sed_cmds="sed -f conftest.s$ac_file"
19473     else
19474       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19475     fi
19476     ac_file=`expr $ac_file + 1`
19477     ac_beg=$ac_end
19478     ac_end=`expr $ac_end + $ac_max_sed_cmds`
19479   fi
19480 done
19481 if test -z "$ac_sed_cmds"; then
19482   ac_sed_cmds=cat
19483 fi
19484 EOF
19485
19486 cat >> $CONFIG_STATUS <<EOF
19487
19488 CONFIG_FILES=\${CONFIG_FILES-"tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
19489 EOF
19490 cat >> $CONFIG_STATUS <<\EOF
19491 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19492   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19493   case "$ac_file" in
19494   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19495        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19496   *) ac_file_in="${ac_file}.in" ;;
19497   esac
19498
19499   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19500
19501   # Remove last slash and all that follows it.  Not all systems have dirname.
19502   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19503   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19504     # The file is in a subdirectory.
19505     test ! -d "$ac_dir" && mkdir "$ac_dir"
19506     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19507     # A "../" for each directory in $ac_dir_suffix.
19508     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19509   else
19510     ac_dir_suffix= ac_dots=
19511   fi
19512
19513   case "$ac_given_srcdir" in
19514   .)  srcdir=.
19515       if test -z "$ac_dots"; then top_srcdir=.
19516       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19517   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19518   *) # Relative path.
19519     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19520     top_srcdir="$ac_dots$ac_given_srcdir" ;;
19521   esac
19522
19523   case "$ac_given_INSTALL" in
19524   [/$]*) INSTALL="$ac_given_INSTALL" ;;
19525   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19526   esac
19527
19528   echo creating "$ac_file"
19529   rm -f "$ac_file"
19530   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19531   case "$ac_file" in
19532   *Makefile*) ac_comsub="1i\\
19533 # $configure_input" ;;
19534   *) ac_comsub= ;;
19535   esac
19536
19537   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19538   sed -e "$ac_comsub
19539 s%@configure_input@%$configure_input%g
19540 s%@srcdir@%$srcdir%g
19541 s%@top_srcdir@%$top_srcdir%g
19542 s%@INSTALL@%$INSTALL%g
19543 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19544 fi; done
19545 rm -f conftest.s*
19546
19547 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19548 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19549 #
19550 # ac_d sets the value in "#define NAME VALUE" lines.
19551 ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
19552 ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
19553 ac_dC='\3'
19554 ac_dD='%g'
19555 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19556 ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
19557 ac_uB='\([      ]\)%\1#\2define\3'
19558 ac_uC=' '
19559 ac_uD='\4%g'
19560 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19561 ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
19562 ac_eB='$%\1#\2define\3'
19563 ac_eC=' '
19564 ac_eD='%g'
19565
19566 if test "${CONFIG_HEADERS+set}" != set; then
19567 EOF
19568 cat >> $CONFIG_STATUS <<EOF
19569   CONFIG_HEADERS="config.h"
19570 EOF
19571 cat >> $CONFIG_STATUS <<\EOF
19572 fi
19573 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
19574   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19575   case "$ac_file" in
19576   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19577        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19578   *) ac_file_in="${ac_file}.in" ;;
19579   esac
19580
19581   echo creating $ac_file
19582
19583   rm -f conftest.frag conftest.in conftest.out
19584   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19585   cat $ac_file_inputs > conftest.in
19586
19587 EOF
19588
19589 # Transform confdefs.h into a sed script conftest.vals that substitutes
19590 # the proper values into config.h.in to produce config.h.  And first:
19591 # Protect against being on the right side of a sed subst in config.status.
19592 # Protect against being in an unquoted here document in config.status.
19593 rm -f conftest.vals
19594 cat > conftest.hdr <<\EOF
19595 s/[\\&%]/\\&/g
19596 s%[\\$`]%\\&%g
19597 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19598 s%ac_d%ac_u%gp
19599 s%ac_u%ac_e%gp
19600 EOF
19601 sed -n -f conftest.hdr confdefs.h > conftest.vals
19602 rm -f conftest.hdr
19603
19604 # This sed command replaces #undef with comments.  This is necessary, for
19605 # example, in the case of _POSIX_SOURCE, which is predefined and required
19606 # on some systems where configure will not decide to define it.
19607 cat >> conftest.vals <<\EOF
19608 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19609 EOF
19610
19611 # Break up conftest.vals because some shells have a limit on
19612 # the size of here documents, and old seds have small limits too.
19613
19614 rm -f conftest.tail
19615 while :
19616 do
19617   ac_lines=`grep -c . conftest.vals`
19618   # grep -c gives empty output for an empty file on some AIX systems.
19619   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19620   # Write a limited-size here document to conftest.frag.
19621   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19622   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19623   echo 'CEOF
19624   sed -f conftest.frag conftest.in > conftest.out
19625   rm -f conftest.in
19626   mv conftest.out conftest.in
19627 ' >> $CONFIG_STATUS
19628   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19629   rm -f conftest.vals
19630   mv conftest.tail conftest.vals
19631 done
19632 rm -f conftest.vals
19633
19634 cat >> $CONFIG_STATUS <<\EOF
19635   rm -f conftest.frag conftest.h
19636   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
19637   cat conftest.in >> conftest.h
19638   rm -f conftest.in
19639   if cmp -s $ac_file conftest.h 2>/dev/null; then
19640     echo "$ac_file is unchanged"
19641     rm -f conftest.h
19642   else
19643     # Remove last slash and all that follows it.  Not all systems have dirname.
19644       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19645       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19646       # The file is in a subdirectory.
19647       test ! -d "$ac_dir" && mkdir "$ac_dir"
19648     fi
19649     rm -f $ac_file
19650     mv conftest.h $ac_file
19651   fi
19652 fi; done
19653
19654 EOF
19655
19656 cat >> $CONFIG_STATUS <<EOF
19657 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"
19658 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 \
19659         include/bits/ctype_inline.h \
19660         include/bits/ctype_noninline.h include/bits/ctype_base.h \
19661         include/bits/ctype_inline.h \
19662         include/bits/ctype_noninline.h include/bits/ctype_base.h include/bits/ctype_inline.h \
19663     include/bits/ctype_noninline.h"
19664 EOF
19665
19666 cat >> $CONFIG_STATUS <<\EOF
19667 srcdir=$ac_given_srcdir
19668 while test -n "$ac_sources"; do
19669   set $ac_dests; ac_dest=$1; shift; ac_dests=$*
19670   set $ac_sources; ac_source=$1; shift; ac_sources=$*
19671
19672   echo "linking $srcdir/$ac_source to $ac_dest"
19673
19674   if test ! -r $srcdir/$ac_source; then
19675     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
19676   fi
19677   rm -f $ac_dest
19678
19679   # Make relative symlinks.
19680   # Remove last slash and all that follows it.  Not all systems have dirname.
19681   ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
19682   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
19683     # The dest file is in a subdirectory.
19684     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
19685     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
19686     # A "../" for each directory in $ac_dest_dir_suffix.
19687     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
19688   else
19689     ac_dest_dir_suffix= ac_dots=
19690   fi
19691
19692   case "$srcdir" in
19693   [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
19694   *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
19695   esac
19696
19697   # Make a symlink if possible; otherwise try a hard link.
19698   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19699     ln $srcdir/$ac_source $ac_dest; then :
19700   else
19701     { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19702   fi
19703 done
19704 EOF
19705 cat >> $CONFIG_STATUS <<EOF
19706
19707 srcdir=${srcdir}
19708 host=${host}
19709 target=${target}
19710 with_multisubdir=${with_multisubdir}
19711 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19712 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19713 glibcpp_basedir=${glibcpp_basedir}
19714 CC="${CC}"
19715 CXX="${CXX}"
19716
19717 EOF
19718 cat >> $CONFIG_STATUS <<\EOF
19719 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19720 if test -n "$CONFIG_FILES"; then
19721   ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19722   grep '^MULTISUBDIR =' Makefile >> src/Makefile
19723 fi
19724 chmod +x tests_flags
19725 chmod +x mkcheck
19726
19727 exit 0
19728 EOF
19729 chmod +x $CONFIG_STATUS
19730 rm -fr confdefs* $ac_clean_files
19731 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19732
19733
19734
19735 # Generate bits/c++config.h
19736 # NB: This must be the first generated file as others include it. . .
19737 $srcdir/mkc++config $blddir $srcdir
19738
19739 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
19740 if test ! -f stamp-limits; then
19741   $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
19742   touch stamp-limits
19743 fi
19744
19745
19746 # Sanity checking & User-visible messages.
19747 # Checks down here, otherwise they get scrolled off before
19748 # the user will notice.
19749
19750 # Trying to get more people to read documentation.  Possibly remove
19751 # check and warn all the time. There is no "informational" AC_MSG_
19752 # macro, so these are going to be printed even when --quiet/--silent
19753 # is given.
19754 if test ! -f stamp-sanity-warned; then
19755   touch stamp-sanity-warned
19756   echo ""
19757   echo "Please make certain that you read the installation information here:"
19758   echo "  faster => ${srcdir}/docs/install.html"
19759   echo "  slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
19760   echo ""
19761   echo "and the configuration information here:"
19762   echo "  faster => ${srcdir}/docs/configopts.html"
19763   echo "  slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
19764   echo ""
19765   echo "before proceeding with ${_cv_gnu_make_command}."
19766   echo ""
19767 fi