OSDN Git Service

2000-07-28 Alexandre Oliva <aoliva@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13 
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6 #
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9
10 # Defaults:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_help="$ac_help
15   --with-target-subdir=SUBDIR
16                            configuring in a subdirectory"
17 ac_help="$ac_help
18   --with-cross-host=HOST  configuring with a cross compiler"
19 ac_help="$ac_help
20   --enable-multilib       build hella library versions (default)"
21 ac_help="$ac_help
22   --enable-maintainer-mode enable make rules and dependencies not useful
23                           (and sometimes confusing) to the casual installer"
24 ac_help="$ac_help
25   --enable-shared[=PKGS]  build shared libraries [default=yes]"
26 ac_help="$ac_help
27   --enable-static[=PKGS]  build static libraries [default=yes]"
28 ac_help="$ac_help
29   --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
30 ac_help="$ac_help
31   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
32 ac_help="$ac_help
33   --disable-libtool-lock  avoid locking (might break parallel builds)"
34 ac_help="$ac_help
35   --with-pic              try to use only PIC/non-PIC objects [default=use both]"
36 ac_help="$ac_help
37   --enable-debug          extra debugging, turn off optimization [default=no]"
38 ac_help="$ac_help
39   --enable-cstdio         enable GNU libio for target io package. (default)
40   --enable-cstdio=LIB     use LIB target-speific io package."
41 ac_help="$ac_help
42   --enable-long-long      turns on 'long long' [default=yes]"
43 ac_help="$ac_help
44   --enable-cshadow-headers construct "shadowed" C header files for
45                            g++ [default=no]"
46 ac_help="$ac_help
47   --enable-threads        enable thread usage for target GCC.
48   --enable-threads=LIB    use LIB thread package for target GCC."
49 ac_help="$ac_help
50   --enable-cxx-flags=FLAGS      pass compiler FLAGS when building library;
51                                 [default=none]"
52
53 # Initialize some variables set by options.
54 # The variables have the same names as the options, with
55 # dashes changed to underlines.
56 build=NONE
57 cache_file=./config.cache
58 exec_prefix=NONE
59 host=NONE
60 no_create=
61 nonopt=NONE
62 no_recursion=
63 prefix=NONE
64 program_prefix=NONE
65 program_suffix=NONE
66 program_transform_name=s,x,x,
67 silent=
68 site=
69 srcdir=
70 target=NONE
71 verbose=
72 x_includes=NONE
73 x_libraries=NONE
74 bindir='${exec_prefix}/bin'
75 sbindir='${exec_prefix}/sbin'
76 libexecdir='${exec_prefix}/libexec'
77 datadir='${prefix}/share'
78 sysconfdir='${prefix}/etc'
79 sharedstatedir='${prefix}/com'
80 localstatedir='${prefix}/var'
81 libdir='${exec_prefix}/lib'
82 includedir='${prefix}/include'
83 oldincludedir='/usr/include'
84 infodir='${prefix}/info'
85 mandir='${prefix}/man'
86
87 # Initialize some other variables.
88 subdirs=
89 MFLAGS= MAKEFLAGS=
90 SHELL=${CONFIG_SHELL-/bin/sh}
91 # Maximum number of lines to put in a shell here document.
92 ac_max_here_lines=12
93
94 ac_prev=
95 for ac_option
96 do
97
98   # If the previous option needs an argument, assign it.
99   if test -n "$ac_prev"; then
100     eval "$ac_prev=\$ac_option"
101     ac_prev=
102     continue
103   fi
104
105   case "$ac_option" in
106   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
107   *) ac_optarg= ;;
108   esac
109
110   # Accept the important Cygnus configure options, so we can diagnose typos.
111
112   case "$ac_option" in
113
114   -bindir | --bindir | --bindi | --bind | --bin | --bi)
115     ac_prev=bindir ;;
116   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
117     bindir="$ac_optarg" ;;
118
119   -build | --build | --buil | --bui | --bu)
120     ac_prev=build ;;
121   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
122     build="$ac_optarg" ;;
123
124   -cache-file | --cache-file | --cache-fil | --cache-fi \
125   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
126     ac_prev=cache_file ;;
127   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
128   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
129     cache_file="$ac_optarg" ;;
130
131   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
132     ac_prev=datadir ;;
133   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
134   | --da=*)
135     datadir="$ac_optarg" ;;
136
137   -disable-* | --disable-*)
138     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
139     # Reject names that are not valid shell variable names.
140     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
141       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
142     fi
143     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
144     eval "enable_${ac_feature}=no" ;;
145
146   -enable-* | --enable-*)
147     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
148     # Reject names that are not valid shell variable names.
149     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
150       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
151     fi
152     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
153     case "$ac_option" in
154       *=*) ;;
155       *) ac_optarg=yes ;;
156     esac
157     eval "enable_${ac_feature}='$ac_optarg'" ;;
158
159   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
160   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
161   | --exec | --exe | --ex)
162     ac_prev=exec_prefix ;;
163   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
164   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
165   | --exec=* | --exe=* | --ex=*)
166     exec_prefix="$ac_optarg" ;;
167
168   -gas | --gas | --ga | --g)
169     # Obsolete; use --with-gas.
170     with_gas=yes ;;
171
172   -help | --help | --hel | --he)
173     # Omit some internal or obsolete options to make the list less imposing.
174     # This message is too long to be a string in the A/UX 3.1 sh.
175     cat << EOF
176 Usage: configure [options] [host]
177 Options: [defaults in brackets after descriptions]
178 Configuration:
179   --cache-file=FILE       cache test results in FILE
180   --help                  print this message
181   --no-create             do not create output files
182   --quiet, --silent       do not print \`checking...' messages
183   --version               print the version of autoconf that created configure
184 Directory and file names:
185   --prefix=PREFIX         install architecture-independent files in PREFIX
186                           [$ac_default_prefix]
187   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
188                           [same as prefix]
189   --bindir=DIR            user executables in DIR [EPREFIX/bin]
190   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
191   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
192   --datadir=DIR           read-only architecture-independent data in DIR
193                           [PREFIX/share]
194   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
195   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
196                           [PREFIX/com]
197   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
198   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
199   --includedir=DIR        C header files in DIR [PREFIX/include]
200   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
201   --infodir=DIR           info documentation in DIR [PREFIX/info]
202   --mandir=DIR            man documentation in DIR [PREFIX/man]
203   --srcdir=DIR            find the sources in DIR [configure dir or ..]
204   --program-prefix=PREFIX prepend PREFIX to installed program names
205   --program-suffix=SUFFIX append SUFFIX to installed program names
206   --program-transform-name=PROGRAM
207                           run sed PROGRAM on installed program names
208 EOF
209     cat << EOF
210 Host type:
211   --build=BUILD           configure for building on BUILD [BUILD=HOST]
212   --host=HOST             configure for HOST [guessed]
213   --target=TARGET         configure for TARGET [TARGET=HOST]
214 Features and packages:
215   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
216   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
217   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
218   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
219   --x-includes=DIR        X include files are in DIR
220   --x-libraries=DIR       X library files are in DIR
221 EOF
222     if test -n "$ac_help"; then
223       echo "--enable and --with options recognized:$ac_help"
224     fi
225     exit 0 ;;
226
227   -host | --host | --hos | --ho)
228     ac_prev=host ;;
229   -host=* | --host=* | --hos=* | --ho=*)
230     host="$ac_optarg" ;;
231
232   -includedir | --includedir | --includedi | --included | --include \
233   | --includ | --inclu | --incl | --inc)
234     ac_prev=includedir ;;
235   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
236   | --includ=* | --inclu=* | --incl=* | --inc=*)
237     includedir="$ac_optarg" ;;
238
239   -infodir | --infodir | --infodi | --infod | --info | --inf)
240     ac_prev=infodir ;;
241   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
242     infodir="$ac_optarg" ;;
243
244   -libdir | --libdir | --libdi | --libd)
245     ac_prev=libdir ;;
246   -libdir=* | --libdir=* | --libdi=* | --libd=*)
247     libdir="$ac_optarg" ;;
248
249   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
250   | --libexe | --libex | --libe)
251     ac_prev=libexecdir ;;
252   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
253   | --libexe=* | --libex=* | --libe=*)
254     libexecdir="$ac_optarg" ;;
255
256   -localstatedir | --localstatedir | --localstatedi | --localstated \
257   | --localstate | --localstat | --localsta | --localst \
258   | --locals | --local | --loca | --loc | --lo)
259     ac_prev=localstatedir ;;
260   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
261   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
262   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
263     localstatedir="$ac_optarg" ;;
264
265   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
266     ac_prev=mandir ;;
267   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
268     mandir="$ac_optarg" ;;
269
270   -nfp | --nfp | --nf)
271     # Obsolete; use --without-fp.
272     with_fp=no ;;
273
274   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
275   | --no-cr | --no-c)
276     no_create=yes ;;
277
278   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
279   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
280     no_recursion=yes ;;
281
282   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
283   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
284   | --oldin | --oldi | --old | --ol | --o)
285     ac_prev=oldincludedir ;;
286   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
287   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
288   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
289     oldincludedir="$ac_optarg" ;;
290
291   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
292     ac_prev=prefix ;;
293   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
294     prefix="$ac_optarg" ;;
295
296   -program-prefix | --program-prefix | --program-prefi | --program-pref \
297   | --program-pre | --program-pr | --program-p)
298     ac_prev=program_prefix ;;
299   -program-prefix=* | --program-prefix=* | --program-prefi=* \
300   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
301     program_prefix="$ac_optarg" ;;
302
303   -program-suffix | --program-suffix | --program-suffi | --program-suff \
304   | --program-suf | --program-su | --program-s)
305     ac_prev=program_suffix ;;
306   -program-suffix=* | --program-suffix=* | --program-suffi=* \
307   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
308     program_suffix="$ac_optarg" ;;
309
310   -program-transform-name | --program-transform-name \
311   | --program-transform-nam | --program-transform-na \
312   | --program-transform-n | --program-transform- \
313   | --program-transform | --program-transfor \
314   | --program-transfo | --program-transf \
315   | --program-trans | --program-tran \
316   | --progr-tra | --program-tr | --program-t)
317     ac_prev=program_transform_name ;;
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     program_transform_name="$ac_optarg" ;;
326
327   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
328   | -silent | --silent | --silen | --sile | --sil)
329     silent=yes ;;
330
331   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
332     ac_prev=sbindir ;;
333   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
334   | --sbi=* | --sb=*)
335     sbindir="$ac_optarg" ;;
336
337   -sharedstatedir | --sharedstatedir | --sharedstatedi \
338   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
339   | --sharedst | --shareds | --shared | --share | --shar \
340   | --sha | --sh)
341     ac_prev=sharedstatedir ;;
342   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
343   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
344   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
345   | --sha=* | --sh=*)
346     sharedstatedir="$ac_optarg" ;;
347
348   -site | --site | --sit)
349     ac_prev=site ;;
350   -site=* | --site=* | --sit=*)
351     site="$ac_optarg" ;;
352
353   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
354     ac_prev=srcdir ;;
355   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
356     srcdir="$ac_optarg" ;;
357
358   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
359   | --syscon | --sysco | --sysc | --sys | --sy)
360     ac_prev=sysconfdir ;;
361   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
362   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
363     sysconfdir="$ac_optarg" ;;
364
365   -target | --target | --targe | --targ | --tar | --ta | --t)
366     ac_prev=target ;;
367   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
368     target="$ac_optarg" ;;
369
370   -v | -verbose | --verbose | --verbos | --verbo | --verb)
371     verbose=yes ;;
372
373   -version | --version | --versio | --versi | --vers)
374     echo "configure generated by autoconf version 2.13"
375     exit 0 ;;
376
377   -with-* | --with-*)
378     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
379     # Reject names that are not valid shell variable names.
380     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
381       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
382     fi
383     ac_package=`echo $ac_package| sed 's/-/_/g'`
384     case "$ac_option" in
385       *=*) ;;
386       *) ac_optarg=yes ;;
387     esac
388     eval "with_${ac_package}='$ac_optarg'" ;;
389
390   -without-* | --without-*)
391     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
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     eval "with_${ac_package}=no" ;;
398
399   --x)
400     # Obsolete; use --with-x.
401     with_x=yes ;;
402
403   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
404   | --x-incl | --x-inc | --x-in | --x-i)
405     ac_prev=x_includes ;;
406   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
407   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
408     x_includes="$ac_optarg" ;;
409
410   -x-libraries | --x-libraries | --x-librarie | --x-librari \
411   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
412     ac_prev=x_libraries ;;
413   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
414   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
415     x_libraries="$ac_optarg" ;;
416
417   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
418     ;;
419
420   *)
421     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
422       echo "configure: warning: $ac_option: invalid host type" 1>&2
423     fi
424     if test "x$nonopt" != xNONE; then
425       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
426     fi
427     nonopt="$ac_option"
428     ;;
429
430   esac
431 done
432
433 if test -n "$ac_prev"; then
434   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
435 fi
436
437 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
438
439 # File descriptor usage:
440 # 0 standard input
441 # 1 file creation
442 # 2 errors and warnings
443 # 3 some systems may open it to /dev/tty
444 # 4 used on the Kubota Titan
445 # 6 checking for... messages and results
446 # 5 compiler messages saved in config.log
447 if test "$silent" = yes; then
448   exec 6>/dev/null
449 else
450   exec 6>&1
451 fi
452 exec 5>./config.log
453
454 echo "\
455 This file contains any messages produced by compilers while
456 running configure, to aid debugging if configure makes a mistake.
457 " 1>&5
458
459 # Strip out --no-create and --no-recursion so they do not pile up.
460 # Also quote any args containing shell metacharacters.
461 ac_configure_args=
462 for ac_arg
463 do
464   case "$ac_arg" in
465   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
466   | --no-cr | --no-c) ;;
467   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
468   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
469   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
470   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
471   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
472   esac
473 done
474
475 # NLS nuisances.
476 # Only set these to C if already set.  These must not be set unconditionally
477 # because not all systems understand e.g. LANG=C (notably SCO).
478 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
479 # Non-C LC_CTYPE values break the ctype check.
480 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
481 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
482 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
483 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
484
485 # confdefs.h avoids OS command line length limits that DEFS can exceed.
486 rm -rf conftest* confdefs.h
487 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
488 echo > confdefs.h
489
490 # A filename unique to this package, relative to the directory that
491 # configure is in, which we can look for to find out if srcdir is correct.
492 ac_unique_file=src/complex.cc
493
494 # Find the source files, if location was not specified.
495 if test -z "$srcdir"; then
496   ac_srcdir_defaulted=yes
497   # Try the directory containing this script, then its parent.
498   ac_prog=$0
499   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
500   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
501   srcdir=$ac_confdir
502   if test ! -r $srcdir/$ac_unique_file; then
503     srcdir=..
504   fi
505 else
506   ac_srcdir_defaulted=no
507 fi
508 if test ! -r $srcdir/$ac_unique_file; then
509   if test "$ac_srcdir_defaulted" = yes; then
510     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
511   else
512     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
513   fi
514 fi
515 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
516
517 # Prefer explicitly selected file to automatically selected ones.
518 if test -z "$CONFIG_SITE"; then
519   if test "x$prefix" != xNONE; then
520     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
521   else
522     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
523   fi
524 fi
525 for ac_site_file in $CONFIG_SITE; do
526   if test -r "$ac_site_file"; then
527     echo "loading site script $ac_site_file"
528     . "$ac_site_file"
529   fi
530 done
531
532 if test -r "$cache_file"; then
533   echo "loading cache $cache_file"
534   . $cache_file
535 else
536   echo "creating cache $cache_file"
537   > $cache_file
538 fi
539
540 ac_ext=c
541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
542 ac_cpp='$CPP $CPPFLAGS'
543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
545 cross_compiling=$ac_cv_prog_cc_cross
546
547 ac_exeext=
548 ac_objext=o
549 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
550   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
551   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
552     ac_n= ac_c='
553 ' ac_t='        '
554   else
555     ac_n=-n ac_c= ac_t=
556   fi
557 else
558   ac_n= ac_c='\c' ac_t=
559 fi
560
561
562 ac_aux_dir=
563 for ac_dir in .. $srcdir/..; do
564   if test -f $ac_dir/install-sh; then
565     ac_aux_dir=$ac_dir
566     ac_install_sh="$ac_aux_dir/install-sh -c"
567     break
568   elif test -f $ac_dir/install.sh; then
569     ac_aux_dir=$ac_dir
570     ac_install_sh="$ac_aux_dir/install.sh -c"
571     break
572   fi
573 done
574 if test -z "$ac_aux_dir"; then
575   { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
576 fi
577 ac_config_guess=$ac_aux_dir/config.guess
578 ac_config_sub=$ac_aux_dir/config.sub
579 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
580
581
582 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
583
584 # Do some error checking and defaulting for the host and target type.
585 # The inputs are:
586 #    configure --host=HOST --target=TARGET --build=BUILD NONOPT
587 #
588 # The rules are:
589 # 1. You are not allowed to specify --host, --target, and nonopt at the
590 #    same time.
591 # 2. Host defaults to nonopt.
592 # 3. If nonopt is not specified, then host defaults to the current host,
593 #    as determined by config.guess.
594 # 4. Target and build default to nonopt.
595 # 5. If nonopt is not specified, then target and build default to host.
596
597 # The aliases save the names the user supplied, while $host etc.
598 # will get canonicalized.
599 case $host---$target---$nonopt in
600 NONE---*---* | *---NONE---* | *---*---NONE) ;;
601 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
602 esac
603
604
605 # Make sure we can run config.sub.
606 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
607 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
608 fi
609
610 echo $ac_n "checking host system type""... $ac_c" 1>&6
611 echo "configure:612: checking host system type" >&5
612
613 host_alias=$host
614 case "$host_alias" in
615 NONE)
616   case $nonopt in
617   NONE)
618     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
619     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
620     fi ;;
621   *) host_alias=$nonopt ;;
622   esac ;;
623 esac
624
625 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
626 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
627 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
628 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
629 echo "$ac_t""$host" 1>&6
630
631 echo $ac_n "checking target system type""... $ac_c" 1>&6
632 echo "configure:633: checking target system type" >&5
633
634 target_alias=$target
635 case "$target_alias" in
636 NONE)
637   case $nonopt in
638   NONE) target_alias=$host_alias ;;
639   *) target_alias=$nonopt ;;
640   esac ;;
641 esac
642
643 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
644 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
645 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
646 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
647 echo "$ac_t""$target" 1>&6
648
649 echo $ac_n "checking build system type""... $ac_c" 1>&6
650 echo "configure:651: checking build system type" >&5
651
652 build_alias=$build
653 case "$build_alias" in
654 NONE)
655   case $nonopt in
656   NONE) build_alias=$host_alias ;;
657   *) build_alias=$nonopt ;;
658   esac ;;
659 esac
660
661 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
662 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
663 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
664 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
665 echo "$ac_t""$build" 1>&6
666
667 test "$host_alias" != "$target_alias" &&
668   test "$program_prefix$program_suffix$program_transform_name" = \
669     NONENONEs,x,x, &&
670   program_prefix=${target_alias}-
671
672
673 # We use these options to decide which functions to include.
674 # Check whether --with-target-subdir or --without-target-subdir was given.
675 if test "${with_target_subdir+set}" = set; then
676   withval="$with_target_subdir"
677   :
678 fi
679
680 # Check whether --with-cross-host or --without-cross-host was given.
681 if test "${with_cross_host+set}" = set; then
682   withval="$with_cross_host"
683   :
684 fi
685
686
687 # Find a good install program.  We prefer a C program (faster),
688 # so one script is as good as another.  But avoid the broken or
689 # incompatible versions:
690 # SysV /etc/install, /usr/sbin/install
691 # SunOS /usr/etc/install
692 # IRIX /sbin/install
693 # AIX /bin/install
694 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
695 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
696 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
697 # ./install, which can be erroneously created by make from ./install.sh.
698 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
699 echo "configure:700: checking for a BSD compatible install" >&5
700 if test -z "$INSTALL"; then
701 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
702   echo $ac_n "(cached) $ac_c" 1>&6
703 else
704     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
705   for ac_dir in $PATH; do
706     # Account for people who put trailing slashes in PATH elements.
707     case "$ac_dir/" in
708     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
709     *)
710       # OSF1 and SCO ODT 3.0 have their own names for install.
711       # Don't use installbsd from OSF since it installs stuff as root
712       # by default.
713       for ac_prog in ginstall scoinst install; do
714         if test -f $ac_dir/$ac_prog; then
715           if test $ac_prog = install &&
716             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
717             # AIX install.  It has an incompatible calling convention.
718             :
719           else
720             ac_cv_path_install="$ac_dir/$ac_prog -c"
721             break 2
722           fi
723         fi
724       done
725       ;;
726     esac
727   done
728   IFS="$ac_save_IFS"
729
730 fi
731   if test "${ac_cv_path_install+set}" = set; then
732     INSTALL="$ac_cv_path_install"
733   else
734     # As a last resort, use the slow shell script.  We don't cache a
735     # path for INSTALL within a source directory, because that will
736     # break other packages using the cache if that directory is
737     # removed, or if the path is relative.
738     INSTALL="$ac_install_sh"
739   fi
740 fi
741 echo "$ac_t""$INSTALL" 1>&6
742
743 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
744 # It thinks the first close brace ends the variable substitution.
745 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
746
747 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
748
749 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
750
751 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
752 echo "configure:753: checking whether build environment is sane" >&5
753 # Just in case
754 sleep 1
755 echo timestamp > conftestfile
756 # Do `set' in a subshell so we don't clobber the current shell's
757 # arguments.  Must try -L first in case configure is actually a
758 # symlink; some systems play weird games with the mod time of symlinks
759 # (eg FreeBSD returns the mod time of the symlink's containing
760 # directory).
761 if (
762    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
763    if test "$*" = "X"; then
764       # -L didn't work.
765       set X `ls -t $srcdir/configure conftestfile`
766    fi
767    if test "$*" != "X $srcdir/configure conftestfile" \
768       && test "$*" != "X conftestfile $srcdir/configure"; then
769
770       # If neither matched, then we have a broken ls.  This can happen
771       # if, for instance, CONFIG_SHELL is bash and it inherits a
772       # broken ls alias from the environment.  This has actually
773       # happened.  Such a system could not be considered "sane".
774       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
775 alias in your environment" 1>&2; exit 1; }
776    fi
777
778    test "$2" = conftestfile
779    )
780 then
781    # Ok.
782    :
783 else
784    { echo "configure: error: newly created file is older than distributed files!
785 Check your system clock" 1>&2; exit 1; }
786 fi
787 rm -f conftest*
788 echo "$ac_t""yes" 1>&6
789 if test "$program_transform_name" = s,x,x,; then
790   program_transform_name=
791 else
792   # Double any \ or $.  echo might interpret backslashes.
793   cat <<\EOF_SED > conftestsed
794 s,\\,\\\\,g; s,\$,$$,g
795 EOF_SED
796   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
797   rm -f conftestsed
798 fi
799 test "$program_prefix" != NONE &&
800   program_transform_name="s,^,${program_prefix},; $program_transform_name"
801 # Use a double $ so make ignores it.
802 test "$program_suffix" != NONE &&
803   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
804
805 # sed with no file args requires a program.
806 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
807
808 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
809 echo "configure:810: checking whether ${MAKE-make} sets \${MAKE}" >&5
810 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
811 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
812   echo $ac_n "(cached) $ac_c" 1>&6
813 else
814   cat > conftestmake <<\EOF
815 all:
816         @echo 'ac_maketemp="${MAKE}"'
817 EOF
818 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
819 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
820 if test -n "$ac_maketemp"; then
821   eval ac_cv_prog_make_${ac_make}_set=yes
822 else
823   eval ac_cv_prog_make_${ac_make}_set=no
824 fi
825 rm -f conftestmake
826 fi
827 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
828   echo "$ac_t""yes" 1>&6
829   SET_MAKE=
830 else
831   echo "$ac_t""no" 1>&6
832   SET_MAKE="MAKE=${MAKE-make}"
833 fi
834
835 if test $host != $build; then
836   ac_tool_prefix=${host_alias}-
837 else
838   ac_tool_prefix=
839 fi
840
841 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
842 echo "configure:843: checking for Cygwin environment" >&5
843 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
844   echo $ac_n "(cached) $ac_c" 1>&6
845 else
846   cat > conftest.$ac_ext <<EOF
847 #line 848 "configure"
848 #include "confdefs.h"
849
850 int main() {
851
852 #ifndef __CYGWIN__
853 #define __CYGWIN__ __CYGWIN32__
854 #endif
855 return __CYGWIN__;
856 ; return 0; }
857 EOF
858 if { (eval echo configure:859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
859   rm -rf conftest*
860   ac_cv_cygwin=yes
861 else
862   echo "configure: failed program was:" >&5
863   cat conftest.$ac_ext >&5
864   rm -rf conftest*
865   ac_cv_cygwin=no
866 fi
867 rm -f conftest*
868 rm -f conftest*
869 fi
870
871 echo "$ac_t""$ac_cv_cygwin" 1>&6
872 CYGWIN=
873 test "$ac_cv_cygwin" = yes && CYGWIN=yes
874 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
875 echo "configure:876: checking for mingw32 environment" >&5
876 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
877   echo $ac_n "(cached) $ac_c" 1>&6
878 else
879   cat > conftest.$ac_ext <<EOF
880 #line 881 "configure"
881 #include "confdefs.h"
882
883 int main() {
884 return __MINGW32__;
885 ; return 0; }
886 EOF
887 if { (eval echo configure:888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
888   rm -rf conftest*
889   ac_cv_mingw32=yes
890 else
891   echo "configure: failed program was:" >&5
892   cat conftest.$ac_ext >&5
893   rm -rf conftest*
894   ac_cv_mingw32=no
895 fi
896 rm -f conftest*
897 rm -f conftest*
898 fi
899
900 echo "$ac_t""$ac_cv_mingw32" 1>&6
901 MINGW32=
902 test "$ac_cv_mingw32" = yes && MINGW32=yes
903
904     # Check whether --enable-multilib or --disable-multilib was given.
905 if test "${enable_multilib+set}" = set; then
906   enableval="$enable_multilib"
907   case "${enableval}" in
908     yes) multilib=yes ;;
909     no)  multilib=no ;;
910     *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
911    esac
912 else
913   multilib=yes
914 fi
915
916       if test "${srcdir}" = "."; then
917     if test "${with_target_subdir}" != "."; then
918       glibcpp_basedir="${srcdir}/${with_multisrctop}../."
919     else
920       glibcpp_basedir="${srcdir}/${with_multisrctop}."
921     fi
922   else
923     glibcpp_basedir="${srcdir}/."
924   fi
925   
926
927   
928 PACKAGE=libstdc++
929
930 VERSION=2.90.8
931
932 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
933   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
934 fi
935 cat >> confdefs.h <<EOF
936 #define PACKAGE "$PACKAGE"
937 EOF
938
939 cat >> confdefs.h <<EOF
940 #define VERSION "$VERSION"
941 EOF
942
943
944
945 missing_dir=`cd $ac_aux_dir && pwd`
946 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
947 echo "configure:948: checking for working aclocal" >&5
948 # Run test in a subshell; some versions of sh will print an error if
949 # an executable is not found, even if stderr is redirected.
950 # Redirect stdin to placate older versions of autoconf.  Sigh.
951 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
952    ACLOCAL=aclocal
953    echo "$ac_t""found" 1>&6
954 else
955    ACLOCAL="$missing_dir/missing aclocal"
956    echo "$ac_t""missing" 1>&6
957 fi
958
959 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
960 echo "configure:961: checking for working autoconf" >&5
961 # Run test in a subshell; some versions of sh will print an error if
962 # an executable is not found, even if stderr is redirected.
963 # Redirect stdin to placate older versions of autoconf.  Sigh.
964 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
965    AUTOCONF=autoconf
966    echo "$ac_t""found" 1>&6
967 else
968    AUTOCONF="$missing_dir/missing autoconf"
969    echo "$ac_t""missing" 1>&6
970 fi
971
972 echo $ac_n "checking for working automake""... $ac_c" 1>&6
973 echo "configure:974: checking for working automake" >&5
974 # Run test in a subshell; some versions of sh will print an error if
975 # an executable is not found, even if stderr is redirected.
976 # Redirect stdin to placate older versions of autoconf.  Sigh.
977 if (automake --version) < /dev/null > /dev/null 2>&1; then
978    AUTOMAKE=automake
979    echo "$ac_t""found" 1>&6
980 else
981    AUTOMAKE="$missing_dir/missing automake"
982    echo "$ac_t""missing" 1>&6
983 fi
984
985 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
986 echo "configure:987: checking for working autoheader" >&5
987 # Run test in a subshell; some versions of sh will print an error if
988 # an executable is not found, even if stderr is redirected.
989 # Redirect stdin to placate older versions of autoconf.  Sigh.
990 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
991    AUTOHEADER=autoheader
992    echo "$ac_t""found" 1>&6
993 else
994    AUTOHEADER="$missing_dir/missing autoheader"
995    echo "$ac_t""missing" 1>&6
996 fi
997
998 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
999 echo "configure:1000: checking for working makeinfo" >&5
1000 # Run test in a subshell; some versions of sh will print an error if
1001 # an executable is not found, even if stderr is redirected.
1002 # Redirect stdin to placate older versions of autoconf.  Sigh.
1003 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1004    MAKEINFO=makeinfo
1005    echo "$ac_t""found" 1>&6
1006 else
1007    MAKEINFO="$missing_dir/missing makeinfo"
1008    echo "$ac_t""missing" 1>&6
1009 fi
1010
1011
1012
1013   # Never versions of autoconf add an underscore to these functions.
1014   # Prevent future problems ...
1015   
1016   
1017   
1018   
1019
1020 #  AC_PROG_CC
1021
1022 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
1023 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
1024 # are probably using a cross compiler, which will not be able to fully
1025 # link an executable.  This should really be fixed in autoconf
1026 # itself.
1027
1028
1029
1030
1031 # Extract the first word of "gcc", so it can be a program name with args.
1032 set dummy gcc; ac_word=$2
1033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1034 echo "configure:1035: checking for $ac_word" >&5
1035 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1036   echo $ac_n "(cached) $ac_c" 1>&6
1037 else
1038   if test -n "$CC"; then
1039   ac_cv_prog_CC="$CC" # Let the user override the test.
1040 else
1041   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1042   ac_dummy="$PATH"
1043   for ac_dir in $ac_dummy; do
1044     test -z "$ac_dir" && ac_dir=.
1045     if test -f $ac_dir/$ac_word; then
1046       ac_cv_prog_CC="gcc"
1047       break
1048     fi
1049   done
1050   IFS="$ac_save_ifs"
1051 fi
1052 fi
1053 CC="$ac_cv_prog_CC"
1054 if test -n "$CC"; then
1055   echo "$ac_t""$CC" 1>&6
1056 else
1057   echo "$ac_t""no" 1>&6
1058 fi
1059
1060 if test -z "$CC"; then
1061   # Extract the first word of "cc", so it can be a program name with args.
1062 set dummy cc; ac_word=$2
1063 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1064 echo "configure:1065: checking for $ac_word" >&5
1065 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1066   echo $ac_n "(cached) $ac_c" 1>&6
1067 else
1068   if test -n "$CC"; then
1069   ac_cv_prog_CC="$CC" # Let the user override the test.
1070 else
1071   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1072   ac_prog_rejected=no
1073   ac_dummy="$PATH"
1074   for ac_dir in $ac_dummy; do
1075     test -z "$ac_dir" && ac_dir=.
1076     if test -f $ac_dir/$ac_word; then
1077       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1078         ac_prog_rejected=yes
1079         continue
1080       fi
1081       ac_cv_prog_CC="cc"
1082       break
1083     fi
1084   done
1085   IFS="$ac_save_ifs"
1086 if test $ac_prog_rejected = yes; then
1087   # We found a bogon in the path, so make sure we never use it.
1088   set dummy $ac_cv_prog_CC
1089   shift
1090   if test $# -gt 0; then
1091     # We chose a different compiler from the bogus one.
1092     # However, it has the same basename, so the bogon will be chosen
1093     # first if we set CC to just the basename; use the full file name.
1094     shift
1095     set dummy "$ac_dir/$ac_word" "$@"
1096     shift
1097     ac_cv_prog_CC="$@"
1098   fi
1099 fi
1100 fi
1101 fi
1102 CC="$ac_cv_prog_CC"
1103 if test -n "$CC"; then
1104   echo "$ac_t""$CC" 1>&6
1105 else
1106   echo "$ac_t""no" 1>&6
1107 fi
1108
1109   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1110 fi
1111
1112 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1113 echo "configure:1114: checking whether we are using GNU C" >&5
1114 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1115   echo $ac_n "(cached) $ac_c" 1>&6
1116 else
1117   cat > conftest.c <<EOF
1118 #ifdef __GNUC__
1119   yes;
1120 #endif
1121 EOF
1122 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1123   ac_cv_prog_gcc=yes
1124 else
1125   ac_cv_prog_gcc=no
1126 fi
1127 fi
1128
1129 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1130
1131 if test $ac_cv_prog_gcc = yes; then
1132   GCC=yes
1133   ac_test_CFLAGS="${CFLAGS+set}"
1134   ac_save_CFLAGS="$CFLAGS"
1135   CFLAGS=
1136   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1137 echo "configure:1138: checking whether ${CC-cc} accepts -g" >&5
1138 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1139   echo $ac_n "(cached) $ac_c" 1>&6
1140 else
1141   echo 'void f(){}' > conftest.c
1142 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1143   ac_cv_prog_cc_g=yes
1144 else
1145   ac_cv_prog_cc_g=no
1146 fi
1147 rm -f conftest*
1148
1149 fi
1150
1151 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1152   if test "$ac_test_CFLAGS" = set; then
1153     CFLAGS="$ac_save_CFLAGS"
1154   elif test $ac_cv_prog_cc_g = yes; then
1155     CFLAGS="-g -O2"
1156   else
1157     CFLAGS="-O2"
1158   fi
1159 else
1160   GCC=
1161   test "${CFLAGS+set}" = set || CFLAGS="-g"
1162 fi
1163
1164
1165 # Can't just call these here as g++ requires libstc++ to be built....
1166 #  AC_PROG_CXX
1167
1168 # Likewise for AC_PROG_CXX.
1169
1170
1171
1172 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1173 do
1174 # Extract the first word of "$ac_prog", so it can be a program name with args.
1175 set dummy $ac_prog; ac_word=$2
1176 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1177 echo "configure:1178: checking for $ac_word" >&5
1178 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1179   echo $ac_n "(cached) $ac_c" 1>&6
1180 else
1181   if test -n "$CXX"; then
1182   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1183 else
1184   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1185   ac_dummy="$PATH"
1186   for ac_dir in $ac_dummy; do
1187     test -z "$ac_dir" && ac_dir=.
1188     if test -f $ac_dir/$ac_word; then
1189       ac_cv_prog_CXX="$ac_prog"
1190       break
1191     fi
1192   done
1193   IFS="$ac_save_ifs"
1194 fi
1195 fi
1196 CXX="$ac_cv_prog_CXX"
1197 if test -n "$CXX"; then
1198   echo "$ac_t""$CXX" 1>&6
1199 else
1200   echo "$ac_t""no" 1>&6
1201 fi
1202
1203 test -n "$CXX" && break
1204 done
1205 test -n "$CXX" || CXX="gcc"
1206
1207 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1208
1209 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1210 echo "configure:1211: checking whether we are using GNU C++" >&5
1211 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1212   echo $ac_n "(cached) $ac_c" 1>&6
1213 else
1214   cat > conftest.C <<EOF
1215 #ifdef __GNUC__
1216   yes;
1217 #endif
1218 EOF
1219 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1220   ac_cv_prog_gxx=yes
1221 else
1222   ac_cv_prog_gxx=no
1223 fi
1224 fi
1225
1226 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1227
1228 if test $ac_cv_prog_gxx = yes; then
1229   GXX=yes
1230   ac_test_CXXFLAGS="${CXXFLAGS+set}"
1231   ac_save_CXXFLAGS="$CXXFLAGS"
1232   CXXFLAGS=
1233   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1234 echo "configure:1235: checking whether ${CXX-g++} accepts -g" >&5
1235 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1236   echo $ac_n "(cached) $ac_c" 1>&6
1237 else
1238   echo 'void f(){}' > conftest.cc
1239 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1240   ac_cv_prog_cxx_g=yes
1241 else
1242   ac_cv_prog_cxx_g=no
1243 fi
1244 rm -f conftest*
1245
1246 fi
1247
1248 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1249   if test "$ac_test_CXXFLAGS" = set; then
1250     CXXFLAGS="$ac_save_CXXFLAGS"
1251   elif test $ac_cv_prog_cxx_g = yes; then
1252     CXXFLAGS="-g -O2"
1253   else
1254     CXXFLAGS="-O2"
1255   fi
1256 else
1257   GXX=
1258   test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1259 fi
1260
1261
1262   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1263 set dummy ${ac_tool_prefix}as; ac_word=$2
1264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1265 echo "configure:1266: checking for $ac_word" >&5
1266 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1267   echo $ac_n "(cached) $ac_c" 1>&6
1268 else
1269   if test -n "$AS"; then
1270   ac_cv_prog_AS="$AS" # Let the user override the test.
1271 else
1272   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1273   ac_dummy="$PATH"
1274   for ac_dir in $ac_dummy; do
1275     test -z "$ac_dir" && ac_dir=.
1276     if test -f $ac_dir/$ac_word; then
1277       ac_cv_prog_AS="${ac_tool_prefix}as"
1278       break
1279     fi
1280   done
1281   IFS="$ac_save_ifs"
1282   test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1283 fi
1284 fi
1285 AS="$ac_cv_prog_AS"
1286 if test -n "$AS"; then
1287   echo "$ac_t""$AS" 1>&6
1288 else
1289   echo "$ac_t""no" 1>&6
1290 fi
1291
1292
1293
1294   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1295 set dummy ${ac_tool_prefix}ar; ac_word=$2
1296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1297 echo "configure:1298: checking for $ac_word" >&5
1298 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1299   echo $ac_n "(cached) $ac_c" 1>&6
1300 else
1301   if test -n "$AR"; then
1302   ac_cv_prog_AR="$AR" # Let the user override the test.
1303 else
1304   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1305   ac_dummy="$PATH"
1306   for ac_dir in $ac_dummy; do
1307     test -z "$ac_dir" && ac_dir=.
1308     if test -f $ac_dir/$ac_word; then
1309       ac_cv_prog_AR="${ac_tool_prefix}ar"
1310       break
1311     fi
1312   done
1313   IFS="$ac_save_ifs"
1314   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1315 fi
1316 fi
1317 AR="$ac_cv_prog_AR"
1318 if test -n "$AR"; then
1319   echo "$ac_t""$AR" 1>&6
1320 else
1321   echo "$ac_t""no" 1>&6
1322 fi
1323
1324
1325
1326   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1329 echo "configure:1330: checking for $ac_word" >&5
1330 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1331   echo $ac_n "(cached) $ac_c" 1>&6
1332 else
1333   if test -n "$RANLIB"; then
1334   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1335 else
1336   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1337   ac_dummy="$PATH"
1338   for ac_dir in $ac_dummy; do
1339     test -z "$ac_dir" && ac_dir=.
1340     if test -f $ac_dir/$ac_word; then
1341       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1342       break
1343     fi
1344   done
1345   IFS="$ac_save_ifs"
1346 fi
1347 fi
1348 RANLIB="$ac_cv_prog_RANLIB"
1349 if test -n "$RANLIB"; then
1350   echo "$ac_t""$RANLIB" 1>&6
1351 else
1352   echo "$ac_t""no" 1>&6
1353 fi
1354
1355
1356 if test -z "$ac_cv_prog_RANLIB"; then
1357 if test -n "$ac_tool_prefix"; then
1358   # Extract the first word of "ranlib", so it can be a program name with args.
1359 set dummy ranlib; ac_word=$2
1360 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1361 echo "configure:1362: checking for $ac_word" >&5
1362 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1363   echo $ac_n "(cached) $ac_c" 1>&6
1364 else
1365   if test -n "$RANLIB"; then
1366   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1367 else
1368   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1369   ac_dummy="$PATH"
1370   for ac_dir in $ac_dummy; do
1371     test -z "$ac_dir" && ac_dir=.
1372     if test -f $ac_dir/$ac_word; then
1373       ac_cv_prog_RANLIB="ranlib"
1374       break
1375     fi
1376   done
1377   IFS="$ac_save_ifs"
1378   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1379 fi
1380 fi
1381 RANLIB="$ac_cv_prog_RANLIB"
1382 if test -n "$RANLIB"; then
1383   echo "$ac_t""$RANLIB" 1>&6
1384 else
1385   echo "$ac_t""no" 1>&6
1386 fi
1387
1388 else
1389   RANLIB=":"
1390 fi
1391 fi
1392
1393
1394   # Find a good install program.  We prefer a C program (faster),
1395 # so one script is as good as another.  But avoid the broken or
1396 # incompatible versions:
1397 # SysV /etc/install, /usr/sbin/install
1398 # SunOS /usr/etc/install
1399 # IRIX /sbin/install
1400 # AIX /bin/install
1401 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1402 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1403 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1404 # ./install, which can be erroneously created by make from ./install.sh.
1405 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1406 echo "configure:1407: checking for a BSD compatible install" >&5
1407 if test -z "$INSTALL"; then
1408 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1409   echo $ac_n "(cached) $ac_c" 1>&6
1410 else
1411     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
1412   for ac_dir in $PATH; do
1413     # Account for people who put trailing slashes in PATH elements.
1414     case "$ac_dir/" in
1415     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1416     *)
1417       # OSF1 and SCO ODT 3.0 have their own names for install.
1418       # Don't use installbsd from OSF since it installs stuff as root
1419       # by default.
1420       for ac_prog in ginstall scoinst install; do
1421         if test -f $ac_dir/$ac_prog; then
1422           if test $ac_prog = install &&
1423             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1424             # AIX install.  It has an incompatible calling convention.
1425             :
1426           else
1427             ac_cv_path_install="$ac_dir/$ac_prog -c"
1428             break 2
1429           fi
1430         fi
1431       done
1432       ;;
1433     esac
1434   done
1435   IFS="$ac_save_IFS"
1436
1437 fi
1438   if test "${ac_cv_path_install+set}" = set; then
1439     INSTALL="$ac_cv_path_install"
1440   else
1441     # As a last resort, use the slow shell script.  We don't cache a
1442     # path for INSTALL within a source directory, because that will
1443     # break other packages using the cache if that directory is
1444     # removed, or if the path is relative.
1445     INSTALL="$ac_install_sh"
1446   fi
1447 fi
1448 echo "$ac_t""$INSTALL" 1>&6
1449
1450 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1451 # It thinks the first close brace ends the variable substitution.
1452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1453
1454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1455
1456 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1457
1458
1459   echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1460 echo "configure:1461: checking whether to enable maintainer-specific portions of Makefiles" >&5
1461     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1462 if test "${enable_maintainer_mode+set}" = set; then
1463   enableval="$enable_maintainer_mode"
1464   USE_MAINTAINER_MODE=$enableval
1465 else
1466   USE_MAINTAINER_MODE=no
1467 fi
1468
1469   echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1470   
1471
1472 if test $USE_MAINTAINER_MODE = yes; then
1473   MAINTAINER_MODE_TRUE=
1474   MAINTAINER_MODE_FALSE='#'
1475 else
1476   MAINTAINER_MODE_TRUE='#'
1477   MAINTAINER_MODE_FALSE=
1478 fi
1479   MAINT=$MAINTAINER_MODE_TRUE
1480   
1481
1482
1483   # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
1484   # at least currently, we never actually build a program, so we never
1485   # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
1486   # fails, because we are probably configuring with a cross compiler
1487   # which cant create executables.  So we include AC_EXEEXT to keep
1488   # automake happy, but we dont execute it, since we dont care about
1489   # the result.
1490   if false; then
1491     
1492
1493 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1494 echo "configure:1495: checking for executable suffix" >&5
1495 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1496   echo $ac_n "(cached) $ac_c" 1>&6
1497 else
1498   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1499   ac_cv_exeext=.exe
1500 else
1501   rm -f conftest*
1502   echo 'int main () { return 0; }' > conftest.$ac_ext
1503   ac_cv_exeext=
1504   if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1505     for file in conftest.*; do
1506       case $file in
1507       *.c | *.o | *.obj) ;;
1508       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1509       esac
1510     done
1511   else
1512     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1513   fi
1514   rm -f conftest*
1515   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1516 fi
1517 fi
1518
1519 EXEEXT=""
1520 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1521 echo "$ac_t""${ac_cv_exeext}" 1>&6
1522 ac_exeext=$EXEEXT
1523
1524   fi
1525
1526   # configure.host sets the following important variables
1527   #     glibcpp_cflags    - host specific C compiler flags
1528   #     glibcpp_cxxflags  - host specific C++ compiler flags
1529   glibcpp_cflags=
1530   glibcpp_cxxflags=
1531
1532   . ${glibcpp_basedir}/configure.host
1533
1534   case ${glibcpp_basedir} in
1535     /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1536     *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1537   esac
1538
1539   GLIBCPP_CFLAGS="${glibcpp_cflags}"
1540   GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1541   
1542   
1543
1544
1545 # Check whether --enable-shared or --disable-shared was given.
1546 if test "${enable_shared+set}" = set; then
1547   enableval="$enable_shared"
1548   p=${PACKAGE-default}
1549 case "$enableval" in
1550 yes) enable_shared=yes ;;
1551 no) enable_shared=no ;;
1552 *)
1553   enable_shared=no
1554   # Look at the argument we got.  We use all the common list separators.
1555   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1556   for pkg in $enableval; do
1557     if test "X$pkg" = "X$p"; then
1558       enable_shared=yes
1559     fi
1560   done
1561   IFS="$ac_save_ifs"
1562   ;;
1563 esac
1564 else
1565   enable_shared=yes
1566 fi
1567
1568 # Check whether --enable-static or --disable-static was given.
1569 if test "${enable_static+set}" = set; then
1570   enableval="$enable_static"
1571   p=${PACKAGE-default}
1572 case "$enableval" in
1573 yes) enable_static=yes ;;
1574 no) enable_static=no ;;
1575 *)
1576   enable_static=no
1577   # Look at the argument we got.  We use all the common list separators.
1578   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1579   for pkg in $enableval; do
1580     if test "X$pkg" = "X$p"; then
1581       enable_static=yes
1582     fi
1583   done
1584   IFS="$ac_save_ifs"
1585   ;;
1586 esac
1587 else
1588   enable_static=yes
1589 fi
1590
1591 # Check whether --enable-fast-install or --disable-fast-install was given.
1592 if test "${enable_fast_install+set}" = set; then
1593   enableval="$enable_fast_install"
1594   p=${PACKAGE-default}
1595 case "$enableval" in
1596 yes) enable_fast_install=yes ;;
1597 no) enable_fast_install=no ;;
1598 *)
1599   enable_fast_install=no
1600   # Look at the argument we got.  We use all the common list separators.
1601   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1602   for pkg in $enableval; do
1603     if test "X$pkg" = "X$p"; then
1604       enable_fast_install=yes
1605     fi
1606   done
1607   IFS="$ac_save_ifs"
1608   ;;
1609 esac
1610 else
1611   enable_fast_install=yes
1612 fi
1613
1614 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1615 if test "${with_gnu_ld+set}" = set; then
1616   withval="$with_gnu_ld"
1617   test "$withval" = no || with_gnu_ld=yes
1618 else
1619   with_gnu_ld=no
1620 fi
1621
1622 ac_prog=ld
1623 if test "$ac_cv_prog_gcc" = yes; then
1624   # Check if gcc -print-prog-name=ld gives a path.
1625   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1626 echo "configure:1627: checking for ld used by GCC" >&5
1627   case $host in
1628   *-*-mingw*)
1629     # gcc leaves a trailing carriage return which upsets mingw
1630     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1631   *)
1632     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1633   esac
1634   case "$ac_prog" in
1635     # Accept absolute paths.
1636     [\\/]* | [A-Za-z]:[\\/]*)
1637       re_direlt='/[^/][^/]*/\.\./'
1638       # Canonicalize the path of ld
1639       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1640       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1641         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1642       done
1643       test -z "$LD" && LD="$ac_prog"
1644       ;;
1645   "")
1646     # If it fails, then pretend we aren't using GCC.
1647     ac_prog=ld
1648     ;;
1649   *)
1650     # If it is relative, then search for the first ld in PATH.
1651     with_gnu_ld=unknown
1652     ;;
1653   esac
1654 elif test "$with_gnu_ld" = yes; then
1655   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1656 echo "configure:1657: checking for GNU ld" >&5
1657 else
1658   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1659 echo "configure:1660: checking for non-GNU ld" >&5
1660 fi
1661 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1662   echo $ac_n "(cached) $ac_c" 1>&6
1663 else
1664   if test -z "$LD"; then
1665   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1666   for ac_dir in $PATH; do
1667     test -z "$ac_dir" && ac_dir=.
1668     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1669       ac_cv_path_LD="$ac_dir/$ac_prog"
1670       # Check to see if the program is GNU ld.  I'd rather use --version,
1671       # but apparently some GNU ld's only accept -v.
1672       # Break only if it was the GNU/non-GNU ld that we prefer.
1673       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1674         test "$with_gnu_ld" != no && break
1675       else
1676         test "$with_gnu_ld" != yes && break
1677       fi
1678     fi
1679   done
1680   IFS="$ac_save_ifs"
1681 else
1682   ac_cv_path_LD="$LD" # Let the user override the test with a path.
1683 fi
1684 fi
1685
1686 LD="$ac_cv_path_LD"
1687 if test -n "$LD"; then
1688   echo "$ac_t""$LD" 1>&6
1689 else
1690   echo "$ac_t""no" 1>&6
1691 fi
1692 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1693 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1694 echo "configure:1695: checking if the linker ($LD) is GNU ld" >&5
1695 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1696   echo $ac_n "(cached) $ac_c" 1>&6
1697 else
1698   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1699 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1700   ac_cv_prog_gnu_ld=yes
1701 else
1702   ac_cv_prog_gnu_ld=no
1703 fi
1704 fi
1705
1706 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1707 with_gnu_ld=$ac_cv_prog_gnu_ld
1708
1709
1710 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1711 echo "configure:1712: checking for $LD option to reload object files" >&5
1712 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1713   echo $ac_n "(cached) $ac_c" 1>&6
1714 else
1715   lt_cv_ld_reload_flag='-r'
1716 fi
1717
1718 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1719 reload_flag=$lt_cv_ld_reload_flag
1720 test -n "$reload_flag" && reload_flag=" $reload_flag"
1721
1722 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1723 echo "configure:1724: checking for BSD-compatible nm" >&5
1724 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1725   echo $ac_n "(cached) $ac_c" 1>&6
1726 else
1727   if test -n "$NM"; then
1728   # Let the user override the test.
1729   ac_cv_path_NM="$NM"
1730 else
1731   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1732   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1733     test -z "$ac_dir" && ac_dir=.
1734     tmp_nm=$ac_dir/${ac_tool_prefix}nm
1735     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1736       # Check to see if the nm accepts a BSD-compat flag.
1737       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1738       #   nm: unknown option "B" ignored
1739       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1740         ac_cv_path_NM="$tmp_nm -B"
1741         break
1742       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1743         ac_cv_path_NM="$tmp_nm -p"
1744         break
1745       else
1746         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1747         continue # so that we can try to find one that supports BSD flags
1748       fi
1749     fi
1750   done
1751   IFS="$ac_save_ifs"
1752   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1753 fi
1754 fi
1755
1756 NM="$ac_cv_path_NM"
1757 echo "$ac_t""$NM" 1>&6
1758
1759 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1760 echo "configure:1761: checking whether ln -s works" >&5
1761 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1762   echo $ac_n "(cached) $ac_c" 1>&6
1763 else
1764   rm -f conftestdata
1765 if ln -s X conftestdata 2>/dev/null
1766 then
1767   rm -f conftestdata
1768   ac_cv_prog_LN_S="ln -s"
1769 else
1770   ac_cv_prog_LN_S=ln
1771 fi
1772 fi
1773 LN_S="$ac_cv_prog_LN_S"
1774 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1775   echo "$ac_t""yes" 1>&6
1776 else
1777   echo "$ac_t""no" 1>&6
1778 fi
1779
1780 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1781 echo "configure:1782: checking how to recognise dependant libraries" >&5
1782 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1783   echo $ac_n "(cached) $ac_c" 1>&6
1784 else
1785   lt_cv_file_magic_cmd='${MAGIC}'
1786 lt_cv_file_magic_test_file=
1787 lt_cv_deplibs_check_method='unknown'
1788 # Need to set the preceding variable on all platforms that support
1789 # interlibrary dependencies.
1790 # 'none' -- dependencies not supported.
1791 # `unknown' -- same as none, but documents that we really don't know.
1792 # 'pass_all' -- all dependencies passed with no checks.
1793 # 'test_compile' -- check by making test program.
1794 # 'file_magic [regex]' -- check by looking for files in library path
1795 # which responds to the $file_magic_cmd with a given egrep regex.
1796 # If you have `file' or equivalent on your system and you're not sure
1797 # whether `pass_all' will *always* work, you probably want this one.
1798
1799 case "$host_os" in
1800 aix4*)
1801   lt_cv_deplibs_check_method=pass_all
1802   ;;
1803
1804 beos*)
1805   lt_cv_deplibs_check_method=pass_all
1806   ;;
1807
1808 bsdi4*)
1809     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1810     lt_cv_file_magic_cmd='/usr/bin/file -L'
1811   lt_cv_file_magic_test_file=/shlib/libc.so
1812   ;;
1813
1814 cygwin* | mingw*)
1815   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1816   lt_cv_file_magic_cmd='${OBJDUMP} -f'
1817   ;;
1818
1819 freebsd* )
1820   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1821     case "$host_cpu" in
1822     i*86 )
1823             lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library'
1824             lt_cv_file_magic_cmd=/usr/bin/file
1825       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1826       ;;
1827     esac
1828   else
1829     lt_cv_deplibs_check_method=pass_all
1830   fi
1831   ;;
1832
1833 gnu*)
1834   lt_cv_deplibs_check_method=pass_all
1835   ;;
1836
1837 hpux10.20*)
1838   # TODO:  Does this work for hpux-11 too?
1839   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1840   lt_cv_file_magic_cmd=/usr/bin/file
1841   lt_cv_file_magic_test_file=/usr/lib/libc.sl
1842   ;;
1843
1844 irix5* | irix6*)
1845   case "$host_os" in
1846   irix5*)
1847     # this will be overridden with pass_all, but let us keep it just in case
1848     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1849     ;;
1850   *)
1851     case "$LD" in
1852     *-32|*"-32 ") libmagic=32-bit;;
1853     *-n32|*"-n32 ") libmagic=N32;;
1854     *-64|*"-64 ") libmagic=64-bit;;
1855     *) libmagic=never-match;;
1856     esac
1857     # this will be overridden with pass_all, but let us keep it just in case
1858         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1859         ;;
1860   esac
1861   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1862   lt_cv_deplibs_check_method=pass_all
1863   ;;
1864
1865 # This must be Linux ELF.
1866 linux-gnu*)
1867   case "$host_cpu" in
1868   alpha* | i*86 | powerpc* | sparc* | ia64* )
1869     lt_cv_deplibs_check_method=pass_all ;;
1870   *)
1871     # glibc up to 2.1.1 does not perform some relocations on ARM
1872         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1873       esac
1874   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1875   ;;
1876
1877 netbsd*)
1878   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1879   else
1880         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1881         lt_cv_file_magic_cmd='/usr/bin/file -L'
1882     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1883   fi
1884   ;;
1885
1886 osf3* | osf4* | osf5*)
1887   # this will be overridden with pass_all, but let us keep it just in case
1888   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1889   lt_cv_file_magic_test_file=/shlib/libc.so
1890   lt_cv_deplibs_check_method=pass_all
1891   ;;
1892
1893 sco3.2v5*)
1894   lt_cv_deplibs_check_method=pass_all
1895   ;;
1896
1897 solaris*)
1898   lt_cv_deplibs_check_method=pass_all
1899   lt_cv_file_magic_test_file=/lib/libc.so
1900   ;;
1901
1902 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1903   case "$host_vendor" in
1904   ncr)
1905     lt_cv_deplibs_check_method=pass_all
1906     ;;
1907   motorola)
1908         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]'
1909         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1910     ;;
1911   esac
1912   ;;
1913 esac
1914
1915 fi
1916
1917 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1918 file_magic_cmd=$lt_cv_file_magic_cmd
1919 deplibs_check_method=$lt_cv_deplibs_check_method
1920
1921 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1922 echo "configure:1923: checking for object suffix" >&5
1923 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1924   echo $ac_n "(cached) $ac_c" 1>&6
1925 else
1926   rm -f conftest*
1927 echo 'int i = 1;' > conftest.$ac_ext
1928 if { (eval echo configure:1929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1929   for ac_file in conftest.*; do
1930     case $ac_file in
1931     *.c) ;;
1932     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1933     esac
1934   done
1935 else
1936   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1937 fi
1938 rm -f conftest*
1939 fi
1940
1941 echo "$ac_t""$ac_cv_objext" 1>&6
1942 OBJEXT=$ac_cv_objext
1943 ac_objext=$ac_cv_objext
1944
1945 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1946
1947 # Only perform the check for file, if the check method requires it
1948 case "$deplibs_check_method" in
1949 file_magic*)
1950   if test "$file_magic_cmd" = '${MAGIC}'; then
1951     echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1952 echo "configure:1953: checking for ${ac_tool_prefix}file" >&5
1953 if eval "test \"`echo '$''{'lt_cv_path_MAGIC'+set}'`\" = set"; then
1954   echo $ac_n "(cached) $ac_c" 1>&6
1955 else
1956   case "$MAGIC" in
1957   /*)
1958   lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
1959   ;;
1960   ?:/*)
1961   ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
1962   ;;
1963   *)
1964   ac_save_MAGIC="$MAGIC"
1965   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1966   ac_dummy="/usr/bin:$PATH"
1967   for ac_dir in $ac_dummy; do
1968     test -z "$ac_dir" && ac_dir=.
1969     if test -f $ac_dir/${ac_tool_prefix}file; then
1970       lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"
1971       if test -n "$file_magic_test_file"; then
1972         case "$deplibs_check_method" in
1973         "file_magic "*)
1974           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1975           MAGIC="$lt_cv_path_MAGIC"
1976           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1977             egrep "$file_magic_regex" > /dev/null; then
1978             :
1979           else
1980             cat <<EOF 1>&2
1981
1982 *** Warning: the command libtool uses to detect shared libraries,
1983 *** $file_magic_cmd, produces output that libtool cannot recognize.
1984 *** The result is that libtool may fail to recognize shared libraries
1985 *** as such.  This will affect the creation of libtool libraries that
1986 *** depend on shared libraries, but programs linked with such libtool
1987 *** libraries will work regardless of this problem.  Nevertheless, you
1988 *** may want to report the problem to your system manager and/or to
1989 *** bug-libtool@gnu.org
1990
1991 EOF
1992           fi ;;
1993         esac
1994       fi
1995       break
1996     fi
1997   done
1998   IFS="$ac_save_ifs"
1999   MAGIC="$ac_save_MAGIC"
2000   ;;
2001 esac
2002 fi
2003
2004 MAGIC="$lt_cv_path_MAGIC"
2005 if test -n "$MAGIC"; then
2006   echo "$ac_t""$MAGIC" 1>&6
2007 else
2008   echo "$ac_t""no" 1>&6
2009 fi
2010
2011 if test -z "$lt_cv_path_MAGIC"; then
2012   if test -n "$ac_tool_prefix"; then
2013     echo $ac_n "checking for file""... $ac_c" 1>&6
2014 echo "configure:2015: checking for file" >&5
2015 if eval "test \"`echo '$''{'lt_cv_path_MAGIC'+set}'`\" = set"; then
2016   echo $ac_n "(cached) $ac_c" 1>&6
2017 else
2018   case "$MAGIC" in
2019   /*)
2020   lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
2021   ;;
2022   ?:/*)
2023   ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
2024   ;;
2025   *)
2026   ac_save_MAGIC="$MAGIC"
2027   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2028   ac_dummy="/usr/bin:$PATH"
2029   for ac_dir in $ac_dummy; do
2030     test -z "$ac_dir" && ac_dir=.
2031     if test -f $ac_dir/file; then
2032       lt_cv_path_MAGIC="$ac_dir/file"
2033       if test -n "$file_magic_test_file"; then
2034         case "$deplibs_check_method" in
2035         "file_magic "*)
2036           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2037           MAGIC="$lt_cv_path_MAGIC"
2038           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2039             egrep "$file_magic_regex" > /dev/null; then
2040             :
2041           else
2042             cat <<EOF 1>&2
2043
2044 *** Warning: the command libtool uses to detect shared libraries,
2045 *** $file_magic_cmd, produces output that libtool cannot recognize.
2046 *** The result is that libtool may fail to recognize shared libraries
2047 *** as such.  This will affect the creation of libtool libraries that
2048 *** depend on shared libraries, but programs linked with such libtool
2049 *** libraries will work regardless of this problem.  Nevertheless, you
2050 *** may want to report the problem to your system manager and/or to
2051 *** bug-libtool@gnu.org
2052
2053 EOF
2054           fi ;;
2055         esac
2056       fi
2057       break
2058     fi
2059   done
2060   IFS="$ac_save_ifs"
2061   MAGIC="$ac_save_MAGIC"
2062   ;;
2063 esac
2064 fi
2065
2066 MAGIC="$lt_cv_path_MAGIC"
2067 if test -n "$MAGIC"; then
2068   echo "$ac_t""$MAGIC" 1>&6
2069 else
2070   echo "$ac_t""no" 1>&6
2071 fi
2072
2073   else
2074     MAGIC=:
2075   fi
2076 fi
2077
2078   fi
2079   ;;
2080 esac
2081
2082 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2083 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2085 echo "configure:2086: checking for $ac_word" >&5
2086 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2087   echo $ac_n "(cached) $ac_c" 1>&6
2088 else
2089   if test -n "$RANLIB"; then
2090   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2091 else
2092   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2093   ac_dummy="$PATH"
2094   for ac_dir in $ac_dummy; do
2095     test -z "$ac_dir" && ac_dir=.
2096     if test -f $ac_dir/$ac_word; then
2097       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2098       break
2099     fi
2100   done
2101   IFS="$ac_save_ifs"
2102 fi
2103 fi
2104 RANLIB="$ac_cv_prog_RANLIB"
2105 if test -n "$RANLIB"; then
2106   echo "$ac_t""$RANLIB" 1>&6
2107 else
2108   echo "$ac_t""no" 1>&6
2109 fi
2110
2111
2112 if test -z "$ac_cv_prog_RANLIB"; then
2113 if test -n "$ac_tool_prefix"; then
2114   # Extract the first word of "ranlib", so it can be a program name with args.
2115 set dummy ranlib; ac_word=$2
2116 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2117 echo "configure:2118: checking for $ac_word" >&5
2118 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2119   echo $ac_n "(cached) $ac_c" 1>&6
2120 else
2121   if test -n "$RANLIB"; then
2122   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2123 else
2124   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2125   ac_dummy="$PATH"
2126   for ac_dir in $ac_dummy; do
2127     test -z "$ac_dir" && ac_dir=.
2128     if test -f $ac_dir/$ac_word; then
2129       ac_cv_prog_RANLIB="ranlib"
2130       break
2131     fi
2132   done
2133   IFS="$ac_save_ifs"
2134   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2135 fi
2136 fi
2137 RANLIB="$ac_cv_prog_RANLIB"
2138 if test -n "$RANLIB"; then
2139   echo "$ac_t""$RANLIB" 1>&6
2140 else
2141   echo "$ac_t""no" 1>&6
2142 fi
2143
2144 else
2145   RANLIB=":"
2146 fi
2147 fi
2148
2149 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2150 set dummy ${ac_tool_prefix}strip; ac_word=$2
2151 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2152 echo "configure:2153: checking for $ac_word" >&5
2153 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2154   echo $ac_n "(cached) $ac_c" 1>&6
2155 else
2156   if test -n "$STRIP"; then
2157   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2158 else
2159   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2160   ac_dummy="$PATH"
2161   for ac_dir in $ac_dummy; do
2162     test -z "$ac_dir" && ac_dir=.
2163     if test -f $ac_dir/$ac_word; then
2164       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2165       break
2166     fi
2167   done
2168   IFS="$ac_save_ifs"
2169 fi
2170 fi
2171 STRIP="$ac_cv_prog_STRIP"
2172 if test -n "$STRIP"; then
2173   echo "$ac_t""$STRIP" 1>&6
2174 else
2175   echo "$ac_t""no" 1>&6
2176 fi
2177
2178
2179 if test -z "$ac_cv_prog_STRIP"; then
2180 if test -n "$ac_tool_prefix"; then
2181   # Extract the first word of "strip", so it can be a program name with args.
2182 set dummy strip; ac_word=$2
2183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2184 echo "configure:2185: checking for $ac_word" >&5
2185 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2186   echo $ac_n "(cached) $ac_c" 1>&6
2187 else
2188   if test -n "$STRIP"; then
2189   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2190 else
2191   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2192   ac_dummy="$PATH"
2193   for ac_dir in $ac_dummy; do
2194     test -z "$ac_dir" && ac_dir=.
2195     if test -f $ac_dir/$ac_word; then
2196       ac_cv_prog_STRIP="strip"
2197       break
2198     fi
2199   done
2200   IFS="$ac_save_ifs"
2201   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2202 fi
2203 fi
2204 STRIP="$ac_cv_prog_STRIP"
2205 if test -n "$STRIP"; then
2206   echo "$ac_t""$STRIP" 1>&6
2207 else
2208   echo "$ac_t""no" 1>&6
2209 fi
2210
2211 else
2212   STRIP=":"
2213 fi
2214 fi
2215
2216
2217 # Check for any special flags to pass to ltconfig.
2218 libtool_flags="--cache-file=$cache_file"
2219 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2220 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2221 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2222 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2223 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2224 libtool_flags="$libtool_flags --enable-dlopen"
2225
2226 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2227 if test "${enable_libtool_lock+set}" = set; then
2228   enableval="$enable_libtool_lock"
2229   :
2230 fi
2231
2232 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2233 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2234
2235 # Check whether --with-pic or --without-pic was given.
2236 if test "${with_pic+set}" = set; then
2237   withval="$with_pic"
2238   pic_mode="$withval"
2239 else
2240   pic_mode=default
2241 fi
2242
2243 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2244 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2245
2246 # Some flags need to be propagated to the compiler or linker for good
2247 # libtool support.
2248 case "$host" in
2249 *-*-irix6*)
2250   # Find out which ABI we are using.
2251   echo '#line 2252 "configure"' > conftest.$ac_ext
2252   if { (eval echo configure:2253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2253     case "`/usr/bin/file conftest.o`" in
2254     *32-bit*)
2255       LD="${LD-ld} -32"
2256       ;;
2257     *N32*)
2258       LD="${LD-ld} -n32"
2259       ;;
2260     *64-bit*)
2261       LD="${LD-ld} -64"
2262       ;;
2263     esac
2264   fi
2265   rm -rf conftest*
2266   ;;
2267
2268 *-*-sco3.2v5*)
2269   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2270   SAVE_CFLAGS="$CFLAGS"
2271   CFLAGS="$CFLAGS -belf"
2272   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2273 echo "configure:2274: checking whether the C compiler needs -belf" >&5
2274 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2275   echo $ac_n "(cached) $ac_c" 1>&6
2276 else
2277   
2278      ac_ext=c
2279 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2282 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2283 cross_compiling=$ac_cv_prog_cc_cross
2284
2285      cat > conftest.$ac_ext <<EOF
2286 #line 2287 "configure"
2287 #include "confdefs.h"
2288
2289 int main() {
2290
2291 ; return 0; }
2292 EOF
2293 if { (eval echo configure:2294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2294   rm -rf conftest*
2295   lt_cv_cc_needs_belf=yes
2296 else
2297   echo "configure: failed program was:" >&5
2298   cat conftest.$ac_ext >&5
2299   rm -rf conftest*
2300   lt_cv_cc_needs_belf=no
2301 fi
2302 rm -f conftest*
2303      ac_ext=c
2304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2305 ac_cpp='$CPP $CPPFLAGS'
2306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2308 cross_compiling=$ac_cv_prog_cc_cross
2309
2310 fi
2311
2312 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2313   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2314     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2315     CFLAGS="$SAVE_CFLAGS"
2316   fi
2317   ;;
2318
2319
2320 esac
2321
2322 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2323 echo "configure:2324: checking how to run the C++ preprocessor" >&5
2324 if test -z "$CXXCPP"; then
2325 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2326   echo $ac_n "(cached) $ac_c" 1>&6
2327 else
2328   ac_ext=C
2329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2330 ac_cpp='$CXXCPP $CPPFLAGS'
2331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2333 cross_compiling=$ac_cv_prog_cxx_cross
2334   CXXCPP="${CXX-g++} -E"
2335   cat > conftest.$ac_ext <<EOF
2336 #line 2337 "configure"
2337 #include "confdefs.h"
2338 #include <stdlib.h>
2339 EOF
2340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2341 { (eval echo configure:2342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2343 if test -z "$ac_err"; then
2344   :
2345 else
2346   echo "$ac_err" >&5
2347   echo "configure: failed program was:" >&5
2348   cat conftest.$ac_ext >&5
2349   rm -rf conftest*
2350   CXXCPP=/lib/cpp
2351 fi
2352 rm -f conftest*
2353   ac_cv_prog_CXXCPP="$CXXCPP"
2354 ac_ext=c
2355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2356 ac_cpp='$CPP $CPPFLAGS'
2357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2359 cross_compiling=$ac_cv_prog_cc_cross
2360 fi
2361 fi
2362 CXXCPP="$ac_cv_prog_CXXCPP"
2363 echo "$ac_t""$CXXCPP" 1>&6
2364
2365
2366 # Save cache, so that ltconfig can load it
2367 cat > confcache <<\EOF
2368 # This file is a shell script that caches the results of configure
2369 # tests run on this system so they can be shared between configure
2370 # scripts and configure runs.  It is not useful on other systems.
2371 # If it contains results you don't want to keep, you may remove or edit it.
2372 #
2373 # By default, configure uses ./config.cache as the cache file,
2374 # creating it if it does not exist already.  You can give configure
2375 # the --cache-file=FILE option to use a different cache file; that is
2376 # what configure does when it calls configure scripts in
2377 # subdirectories, so they share the cache.
2378 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2379 # config.status only pays attention to the cache file if you give it the
2380 # --recheck option to rerun configure.
2381 #
2382 EOF
2383 # The following way of writing the cache mishandles newlines in values,
2384 # but we know of no workaround that is simple, portable, and efficient.
2385 # So, don't put newlines in cache variables' values.
2386 # Ultrix sh set writes to stderr and can't be redirected directly,
2387 # and sets the high bit in the cache file unless we assign to the vars.
2388 (set) 2>&1 |
2389   case `(ac_space=' '; set | grep ac_space) 2>&1` in
2390   *ac_space=\ *)
2391     # `set' does not quote correctly, so add quotes (double-quote substitution
2392     # turns \\\\ into \\, and sed turns \\ into \).
2393     sed -n \
2394       -e "s/'/'\\\\''/g" \
2395       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2396     ;;
2397   *)
2398     # `set' quotes correctly as required by POSIX, so do not add quotes.
2399     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2400     ;;
2401   esac >> confcache
2402 if cmp -s $cache_file confcache; then
2403   :
2404 else
2405   if test -w $cache_file; then
2406     echo "updating cache $cache_file"
2407     cat confcache > $cache_file
2408   else
2409     echo "not updating unwritable cache $cache_file"
2410   fi
2411 fi
2412 rm -f confcache
2413
2414
2415 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
2416 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2417 MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2418 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2419 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2420 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2421 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2422 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2423 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2424 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2425
2426 # Reload cache, that may have been modified by ltconfig
2427 if test -r "$cache_file"; then
2428   echo "loading cache $cache_file"
2429   . $cache_file
2430 else
2431   echo "creating cache $cache_file"
2432   > $cache_file
2433 fi
2434
2435
2436 # This can be used to rebuild libtool when needed
2437 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2438
2439 # Always use our own libtool.
2440 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2441
2442 # Redirect the config.log output again, so that the ltconfig log is not
2443 # clobbered by the next message.
2444 exec 5>>./config.log
2445
2446
2447
2448
2449 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2450 lt_save_CC="$CC"
2451 lt_save_CFLAGS="$CFLAGS"
2452 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2453 MAGIC="$MAGIC" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2454 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2455 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2456 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2457 deplibs_check_method="$deplibs_check_method" \
2458 file_magic_cmd="$file_magic_cmd" \
2459 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2460 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2461 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2462 CC="$lt_save_CC"
2463 CFLAGS="$lt_save_CFLAGS"
2464
2465 # Redirect the config.log output again, so that the ltconfig log is not
2466 # clobbered by the next message.
2467 exec 5>>./config.log
2468
2469
2470   
2471
2472   
2473          
2474 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2475 echo "configure:2476: checking for GNU make" >&5
2476 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2477   echo $ac_n "(cached) $ac_c" 1>&6
2478 else
2479   _cv_gnu_make_command='' ;
2480           for a in "${MAKE:-make}" make gmake gnumake ; do
2481                   if  ( $a --version 2> /dev/null | grep  -q GNU  ) ;  then
2482                           _cv_gnu_make_command=$a ;
2483                           break;
2484                   fi
2485           done ;
2486   
2487 fi
2488
2489 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2490   if test  "x$_cv_gnu_make_command" != "x"  ; then
2491           ifGNUmake='' ;
2492   else
2493           ifGNUmake='#' ;
2494   fi
2495   
2496
2497   if test "x$_cv_gnu_make_command" = "x"; then
2498     { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2499   fi
2500
2501
2502
2503
2504 # Check for c++ or library specific bits that don't require linking.
2505 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2506 echo "configure:2507: checking how to run the C preprocessor" >&5
2507 # On Suns, sometimes $CPP names a directory.
2508 if test -n "$CPP" && test -d "$CPP"; then
2509   CPP=
2510 fi
2511 if test -z "$CPP"; then
2512 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2513   echo $ac_n "(cached) $ac_c" 1>&6
2514 else
2515     # This must be in double quotes, not single quotes, because CPP may get
2516   # substituted into the Makefile and "${CC-cc}" will confuse make.
2517   CPP="${CC-cc} -E"
2518   # On the NeXT, cc -E runs the code through the compiler's parser,
2519   # not just through cpp.
2520   cat > conftest.$ac_ext <<EOF
2521 #line 2522 "configure"
2522 #include "confdefs.h"
2523 #include <assert.h>
2524 Syntax Error
2525 EOF
2526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2527 { (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2529 if test -z "$ac_err"; then
2530   :
2531 else
2532   echo "$ac_err" >&5
2533   echo "configure: failed program was:" >&5
2534   cat conftest.$ac_ext >&5
2535   rm -rf conftest*
2536   CPP="${CC-cc} -E -traditional-cpp"
2537   cat > conftest.$ac_ext <<EOF
2538 #line 2539 "configure"
2539 #include "confdefs.h"
2540 #include <assert.h>
2541 Syntax Error
2542 EOF
2543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2544 { (eval echo configure:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2546 if test -z "$ac_err"; then
2547   :
2548 else
2549   echo "$ac_err" >&5
2550   echo "configure: failed program was:" >&5
2551   cat conftest.$ac_ext >&5
2552   rm -rf conftest*
2553   CPP="${CC-cc} -nologo -E"
2554   cat > conftest.$ac_ext <<EOF
2555 #line 2556 "configure"
2556 #include "confdefs.h"
2557 #include <assert.h>
2558 Syntax Error
2559 EOF
2560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2561 { (eval echo configure:2562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2563 if test -z "$ac_err"; then
2564   :
2565 else
2566   echo "$ac_err" >&5
2567   echo "configure: failed program was:" >&5
2568   cat conftest.$ac_ext >&5
2569   rm -rf conftest*
2570   CPP=/lib/cpp
2571 fi
2572 rm -f conftest*
2573 fi
2574 rm -f conftest*
2575 fi
2576 rm -f conftest*
2577   ac_cv_prog_CPP="$CPP"
2578 fi
2579   CPP="$ac_cv_prog_CPP"
2580 else
2581   ac_cv_prog_CPP="$CPP"
2582 fi
2583 echo "$ac_t""$CPP" 1>&6
2584
2585
2586   # Sanity check that g++ is capable of dealing with v-3.
2587   echo $ac_n "checking for g++ that will successfully compile this code""... $ac_c" 1>&6
2588 echo "configure:2589: checking for g++ that will successfully compile this code" >&5
2589   cat > conftest.$ac_ext <<EOF
2590 #line 2591 "configure"
2591 #include "confdefs.h"
2592
2593   #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
2594     ok
2595   #endif
2596   
2597 EOF
2598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2599   egrep "ok" >/dev/null 2>&1; then
2600   rm -rf conftest*
2601   gpp_satisfactory=yes
2602 else
2603   rm -rf conftest*
2604   { echo "configure: error: "please upgrade to gcc-2.95 or above"" 1>&2; exit 1; }
2605 fi
2606 rm -f conftest*
2607
2608   echo "$ac_t""$gpp_satisfactory" 1>&6
2609
2610
2611     echo $ac_n "checking for cpu primitives directory""... $ac_c" 1>&6
2612 echo "configure:2613: checking for cpu primitives directory" >&5
2613     CPU_FLAGS=                  
2614     case "${target_cpu}" in
2615       alpha*)
2616         cpu_include_dir="config/cpu/alpha"
2617         ;;
2618       arm*)
2619         cpu_include_dir="config/cpu/arm"
2620         ;;
2621       i386)
2622         cpu_include_dir="config/cpu/i386"
2623         ;;
2624       i486 | i586 | i686 | i786)
2625         cpu_include_dir="config/cpu/i486"
2626         ;;
2627       powerpc | rs6000)
2628         cpu_include_dir="config/cpu/powerpc"
2629         CPU_FLAGS='-mcpu=powerpc'
2630         ;;
2631       sparc64 | ultrasparc)
2632         cpu_include_dir="config/cpu/sparc/sparc64"
2633         ;;
2634       sparc*)
2635         cpu_include_dir="config/cpu/sparc/sparc32"
2636         ;;
2637       *)
2638         cpu_include_dir="config/cpu/generic"
2639         ;;
2640     esac
2641     echo "$ac_t""$cpu_include_dir" 1>&6
2642     
2643     
2644
2645
2646 # Enable all the crazy c++ stuff.
2647 # Check whether --enable-debug or --disable-debug was given.
2648 if test "${enable_debug+set}" = set; then
2649   enableval="$enable_debug"
2650   case "${enableval}" in
2651  yes) enable_debug=yes ;;
2652  no)  enable_debug=no ;;
2653  *)   { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2654  esac
2655 else
2656   enable_debug=no
2657 fi
2658
2659 case "${enable_debug}" in
2660     yes) 
2661         DEBUG_FLAGS='-O0 -ggdb'                 
2662         ;;
2663     no)   
2664         DEBUG_FLAGS='-g'
2665         ;;
2666 esac
2667
2668
2669
2670   echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2671 echo "configure:2672: checking for cstdio to use" >&5
2672   # Check whether --enable-cstdio or --disable-cstdio was given.
2673 if test "${enable_cstdio+set}" = set; then
2674   enableval="$enable_cstdio"
2675   if test x$enable_cstdio = xno; then
2676     enable_cstdio=libio
2677   fi
2678 else
2679   enable_cstdio=libio
2680 fi
2681
2682
2683   enable_cstdio_flag=$enable_cstdio
2684
2685     case x${enable_cstdio_flag} in
2686     xlibio | x | xno | xnone | xyes)
2687       # default
2688       CSTDIO_H=config/c_io_libio.h
2689       CSTDIO_CC=config/c_io_libio.cc
2690       echo "$ac_t""libio" 1>&6
2691
2692       # see if we are on a system with libio native (ie, linux)
2693       ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2694 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2695 echo "configure:2696: checking for libio.h" >&5
2696 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2697   echo $ac_n "(cached) $ac_c" 1>&6
2698 else
2699   cat > conftest.$ac_ext <<EOF
2700 #line 2701 "configure"
2701 #include "confdefs.h"
2702 #include <libio.h>
2703 EOF
2704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2705 { (eval echo configure:2706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2707 if test -z "$ac_err"; then
2708   rm -rf conftest*
2709   eval "ac_cv_header_$ac_safe=yes"
2710 else
2711   echo "$ac_err" >&5
2712   echo "configure: failed program was:" >&5
2713   cat conftest.$ac_ext >&5
2714   rm -rf conftest*
2715   eval "ac_cv_header_$ac_safe=no"
2716 fi
2717 rm -f conftest*
2718 fi
2719 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2720   echo "$ac_t""yes" 1>&6
2721   has_libio=yes
2722 else
2723   echo "$ac_t""no" 1>&6
2724 has_libio=no
2725 fi
2726
2727
2728       # Need to check and see what version of glibc is being used. If
2729       # it's not glibc-2.2 or higher, then we'll need to go ahead and 
2730       # compile most of libio for linux systems.
2731       if test x$has_libio = x"yes"; then
2732         case "$target" in
2733           *-*-linux*)
2734             echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2735 echo "configure:2736: checking for glibc version >= 2.2" >&5
2736             cat > conftest.$ac_ext <<EOF
2737 #line 2738 "configure"
2738 #include "confdefs.h"
2739
2740             #include <features.h>
2741             #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) 
2742                 ok
2743             #endif
2744             
2745 EOF
2746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2747   egrep "ok" >/dev/null 2>&1; then
2748   rm -rf conftest*
2749   glibc_satisfactory=yes
2750 else
2751   rm -rf conftest*
2752   glibc_satisfactory=no
2753 fi
2754 rm -f conftest*
2755
2756             echo "$ac_t""$glibc_satisfactory" 1>&6
2757             ;;
2758         esac
2759
2760         if test x$glibc_satisfactory = x"yes"; then
2761           need_libio=no
2762           need_xtra_libio=no
2763           need_wlibio=no        
2764         else
2765           need_libio=yes
2766           need_xtra_libio=yes
2767           # bkoz XXX need to add checks to enable this
2768           need_wlibio=yes
2769         fi
2770
2771       # Using libio, but <libio.h> doesn't exist on the target system. . .
2772       else
2773         need_libio=yes
2774         need_xtra_libio=no
2775         # bkoz XXX need to add checks to enable this
2776         need_wlibio=no
2777       fi
2778       ;;
2779
2780     xwince)
2781       CSTDIO_H=config/c_io_wince.h
2782       CSTDIO_CC=config/c_io_wince.cc
2783       echo "$ac_t""wince" 1>&6
2784
2785       need_libio=no
2786       ;;
2787     *)
2788       echo "$enable_cstdio is an unknown io package" 1>&2
2789       exit 1
2790       ;;
2791   esac
2792   
2793   
2794   
2795
2796 if test "$need_libio" = yes; then
2797   GLIBCPP_NEED_LIBIO_TRUE=
2798   GLIBCPP_NEED_LIBIO_FALSE='#'
2799 else
2800   GLIBCPP_NEED_LIBIO_TRUE='#'
2801   GLIBCPP_NEED_LIBIO_FALSE=
2802 fi
2803   
2804
2805 if test "$need_xtra_libio" = yes; then
2806   GLIBCPP_NEED_XTRA_LIBIO_TRUE=
2807   GLIBCPP_NEED_XTRA_LIBIO_FALSE='#'
2808 else
2809   GLIBCPP_NEED_XTRA_LIBIO_TRUE='#'
2810   GLIBCPP_NEED_XTRA_LIBIO_FALSE=
2811 fi
2812   
2813
2814 if test "$need_wlibio" = yes; then
2815   GLIBCPP_NEED_WLIBIO_TRUE=
2816   GLIBCPP_NEED_WLIBIO_FALSE='#'
2817 else
2818   GLIBCPP_NEED_WLIBIO_TRUE='#'
2819   GLIBCPP_NEED_WLIBIO_FALSE=
2820 fi
2821
2822   
2823   # Check whether --enable-long-long or --disable-long-long was given.
2824 if test "${enable_long_long+set}" = set; then
2825   enableval="$enable_long_long"
2826     case "$enableval" in
2827    yes) enable_long_long=yes ;;
2828    no)  enable_long_long=no ;;
2829    *)   { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2830    esac
2831 else
2832   enable_long_long=yes
2833 fi
2834
2835   # Check for the existance of functions used if long long is enabled.
2836   echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2837 echo "configure:2838: checking for strtoll" >&5
2838 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2839   echo $ac_n "(cached) $ac_c" 1>&6
2840 else
2841   cat > conftest.$ac_ext <<EOF
2842 #line 2843 "configure"
2843 #include "confdefs.h"
2844 /* System header to define __stub macros and hopefully few prototypes,
2845     which can conflict with char strtoll(); below.  */
2846 #include <assert.h>
2847 /* Override any gcc2 internal prototype to avoid an error.  */
2848 /* We use char because int might match the return type of a gcc2
2849     builtin and then its argument prototype would still apply.  */
2850 char strtoll();
2851
2852 int main() {
2853
2854 /* The GNU C library defines this for functions which it implements
2855     to always fail with ENOSYS.  Some functions are actually named
2856     something starting with __ and the normal name is an alias.  */
2857 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2858 choke me
2859 #else
2860 strtoll();
2861 #endif
2862
2863 ; return 0; }
2864 EOF
2865 if { (eval echo configure:2866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2866   rm -rf conftest*
2867   eval "ac_cv_func_strtoll=yes"
2868 else
2869   echo "configure: failed program was:" >&5
2870   cat conftest.$ac_ext >&5
2871   rm -rf conftest*
2872   eval "ac_cv_func_strtoll=no"
2873 fi
2874 rm -f conftest*
2875 fi
2876
2877 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2878   echo "$ac_t""yes" 1>&6
2879   :
2880 else
2881   echo "$ac_t""no" 1>&6
2882 ac_strtoll=no
2883 fi
2884
2885   echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2886 echo "configure:2887: checking for strtoull" >&5
2887 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2888   echo $ac_n "(cached) $ac_c" 1>&6
2889 else
2890   cat > conftest.$ac_ext <<EOF
2891 #line 2892 "configure"
2892 #include "confdefs.h"
2893 /* System header to define __stub macros and hopefully few prototypes,
2894     which can conflict with char strtoull(); below.  */
2895 #include <assert.h>
2896 /* Override any gcc2 internal prototype to avoid an error.  */
2897 /* We use char because int might match the return type of a gcc2
2898     builtin and then its argument prototype would still apply.  */
2899 char strtoull();
2900
2901 int main() {
2902
2903 /* The GNU C library defines this for functions which it implements
2904     to always fail with ENOSYS.  Some functions are actually named
2905     something starting with __ and the normal name is an alias.  */
2906 #if defined (__stub_strtoull) || defined (__stub___strtoull)
2907 choke me
2908 #else
2909 strtoull();
2910 #endif
2911
2912 ; return 0; }
2913 EOF
2914 if { (eval echo configure:2915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2915   rm -rf conftest*
2916   eval "ac_cv_func_strtoull=yes"
2917 else
2918   echo "configure: failed program was:" >&5
2919   cat conftest.$ac_ext >&5
2920   rm -rf conftest*
2921   eval "ac_cv_func_strtoull=no"
2922 fi
2923 rm -f conftest*
2924 fi
2925
2926 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
2927   echo "$ac_t""yes" 1>&6
2928   :
2929 else
2930   echo "$ac_t""no" 1>&6
2931 ac_strtoull=no
2932 fi
2933
2934
2935   echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
2936 echo "configure:2937: checking for enabled long long" >&5
2937   if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then 
2938     enable_long_long=no; 
2939   fi; 
2940   echo "$ac_t""$enable_long_long" 1>&6
2941
2942     case "$enable_long_long" in
2943     yes)  cat >> confdefs.h <<\EOF
2944 #define _GLIBCPP_USE_LONG_LONG 1
2945 EOF
2946
2947           ;;
2948   esac
2949
2950 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
2951 echo "configure:2952: checking for enabled cshadow headers" >&5
2952 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
2953 if test "${enable_cshadow_headers+set}" = set; then
2954   enableval="$enable_cshadow_headers"
2955   
2956   case "$enableval" in
2957    yes) enable_cshadow_headers=yes 
2958         ;;
2959    no)  enable_cshadow_headers=no 
2960         ;;
2961    *)   { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; } 
2962         ;;
2963   esac
2964 else
2965   enable_cshadow_headers=no
2966 fi
2967
2968   echo "$ac_t""$enable_cshadow_headers" 1>&6
2969
2970       case "$enable_cshadow_headers" in
2971     yes) 
2972         CSHADOWFLAGS=""
2973         ;;
2974     no)   
2975         CSHADOWFLAGS=""
2976         ;;
2977   esac
2978
2979   
2980   
2981
2982 if test "$enable_cshadow_headers" = yes; then
2983   GLIBCPP_USE_CSHADOW_TRUE=
2984   GLIBCPP_USE_CSHADOW_FALSE='#'
2985 else
2986   GLIBCPP_USE_CSHADOW_TRUE='#'
2987   GLIBCPP_USE_CSHADOW_FALSE=
2988 fi
2989
2990
2991       echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
2992 echo "configure:2993: checking for threads package to use" >&5
2993   # Check whether --enable-threads or --disable-threads was given.
2994 if test "${enable_threads+set}" = set; then
2995   enableval="$enable_threads"
2996   if test x$enable_threads = xno; then
2997     enable_threads=''
2998   fi
2999 else
3000   enable_threads=''
3001 fi
3002
3003
3004   enable_threads_flag=$enable_threads
3005
3006     case x${enable_threads_flag} in
3007         x | xno | xnone)
3008                 # No threads
3009                 target_thread_file='single'
3010                 ;;
3011         xyes)
3012                 # default
3013                 target_thread_file=''
3014                 ;;
3015         xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3016         xsolaris | xwin32 | xdce | xvxworks)
3017                 target_thread_file=$enable_threads_flag
3018                 ;;
3019         *)
3020                 echo "$enable_threads is an unknown thread package" 1>&2
3021                 exit 1
3022                 ;;
3023   esac
3024
3025     case "$target_thread_file" in
3026     no | none | single)
3027       THREADS=none
3028       ;;
3029     posix | pthreads)
3030       THREADS=posix
3031       case "$target" in
3032         *-*-linux*)
3033         ;;
3034       esac
3035       ;;
3036     decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3037       { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3038       ;;
3039     *)
3040       { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
3041       ;;
3042   esac
3043   echo "$ac_t""$THREADS" 1>&6
3044
3045   THREADLIBS=
3046   THREADINCS=
3047   THREADDEPS=
3048   THREADOBJS=
3049   THREADH=
3050   THREADSPEC=
3051   case "$THREADS" in
3052     posix)
3053       ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
3054 echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
3055 echo "configure:3056: checking for pthread.h" >&5
3056 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3057   echo $ac_n "(cached) $ac_c" 1>&6
3058 else
3059   cat > conftest.$ac_ext <<EOF
3060 #line 3061 "configure"
3061 #include "confdefs.h"
3062 #include <pthread.h>
3063 EOF
3064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3065 { (eval echo configure:3066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3067 if test -z "$ac_err"; then
3068   rm -rf conftest*
3069   eval "ac_cv_header_$ac_safe=yes"
3070 else
3071   echo "$ac_err" >&5
3072   echo "configure: failed program was:" >&5
3073   cat conftest.$ac_ext >&5
3074   rm -rf conftest*
3075   eval "ac_cv_header_$ac_safe=no"
3076 fi
3077 rm -f conftest*
3078 fi
3079 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3080   echo "$ac_t""yes" 1>&6
3081   have_pthread_h=yes
3082 else
3083   echo "$ac_t""no" 1>&6
3084 have_pthread_h=
3085 fi
3086
3087       THREADLIBS=-lpthread
3088       THREADSPEC=-lpthread
3089                   THREADH=threads-posix.h
3090       ;;
3091     none)
3092                   THREADH=threads-no.h
3093       ;;
3094   esac
3095   
3096   
3097   
3098   
3099   
3100   
3101
3102 #GLIBCPP_ENABLE_RELIBGCC([../..])
3103 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3104 if test "${enable_cxx_flags+set}" = set; then
3105   enableval="$enable_cxx_flags"
3106   case "x$enableval" in
3107  xyes)   
3108         { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3109  xno|x)  
3110         enable_cxx_flags='' ;;
3111  *)      
3112         enable_cxx_flags="$enableval" ;;
3113  esac
3114 else
3115   enable_cxx_flags='none'
3116 fi
3117
3118
3119 if test "$enable_cxx_flags" = "none"; then 
3120   enable_cxx_flags=''; 
3121 fi
3122
3123 if test -n "$enable_cxx_flags"; then
3124     for f in $enable_cxx_flags; do
3125         case "$f" in
3126             -fhonor-std)  ;;
3127             -*)  ;;
3128             *)   # and we're trying to pass /what/ exactly?
3129                  { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3130         esac
3131     done
3132 fi
3133 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3134
3135
3136
3137
3138 if test -n "$with_cross_host"; then
3139
3140   # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
3141   # may not work correctly, because the compiler may not be able to
3142   # link executables.
3143
3144   xcompiling=1
3145   NATIVE=no
3146   # If Canadian cross, then don't pick up tools from the build
3147   # directory.
3148   if test "$build" != "$with_cross_host"; then
3149     CANADIAN=yes
3150     NULL_TARGET=yes
3151   else
3152     CANADIAN=no
3153     NULL_TARGET=no
3154   fi
3155
3156   case "$target_alias" in
3157     *-wince-*)
3158         # Configure for Microsoft Windows CE, or whatever they are
3159         # currently calling it.
3160         cat >> confdefs.h <<\EOF
3161 #define HAVE_FLOAT_H 1
3162 EOF
3163
3164
3165         cat >> confdefs.h <<\EOF
3166 #define HAVE__FINITE 1
3167 EOF
3168
3169         cat >> confdefs.h <<\EOF
3170 #define HAVE__ISNAN 1
3171 EOF
3172
3173         cat >> confdefs.h <<\EOF
3174 #define HAVE__COPYSIGN 1
3175 EOF
3176
3177         cat >> confdefs.h <<\EOF
3178 #define HAVE__FPCLASS 1
3179 EOF
3180
3181         cat >> confdefs.h <<\EOF
3182 #define HAVE_MODF 1
3183 EOF
3184
3185
3186         ctype_include_dir="config/wince"
3187         
3188
3189         cat >> confdefs.h <<\EOF
3190 #define _GLIBCPP_NEED_MBSTATE_T 1
3191 EOF
3192
3193
3194         cat >> confdefs.h <<\EOF
3195 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3196 EOF
3197
3198         cat >> confdefs.h <<\EOF
3199 #define _GLIBCPP_BUGGY_COMPLEX 1
3200 EOF
3201
3202         ;;
3203     *)
3204         # We assume newlib.  This lets us hard-code the functions we know
3205         # we'll have.
3206         cat >> confdefs.h <<\EOF
3207 #define HAVE_FINITE 1
3208 EOF
3209
3210         cat >> confdefs.h <<\EOF
3211 #define HAVE_ISNAN 1
3212 EOF
3213
3214         cat >> confdefs.h <<\EOF
3215 #define HAVE_ISNANF 1
3216 EOF
3217
3218         cat >> confdefs.h <<\EOF
3219 #define HAVE_ISINF 1
3220 EOF
3221
3222         cat >> confdefs.h <<\EOF
3223 #define HAVE_ISINFF 1
3224 EOF
3225
3226
3227         ctype_include_dir="config/newlib"
3228         
3229
3230         cat >> confdefs.h <<\EOF
3231 #define _GLIBCPP_NEED_MBSTATE_T 1
3232 EOF
3233
3234
3235         cat >> confdefs.h <<\EOF
3236 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3237 EOF
3238
3239         cat >> confdefs.h <<\EOF
3240 #define _GLIBCPP_BUGGY_COMPLEX 1
3241 EOF
3242
3243         # need to ceck for faster f versions of math functions, ie sinf?
3244         ;;
3245   esac
3246 else
3247
3248   # We are being configured natively. We can do more elaborate tests
3249   # that include AC_TRY_COMPILE now, as the linker is assumed to be
3250   # working.
3251
3252   xcompiling=0
3253   NATIVE=yes
3254   CANADIAN=no
3255   NULL_TARGET=no
3256
3257   # Check for available headers.
3258   for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3259   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h
3260 do
3261 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3262 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3263 echo "configure:3264: checking for $ac_hdr" >&5
3264 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3265   echo $ac_n "(cached) $ac_c" 1>&6
3266 else
3267   cat > conftest.$ac_ext <<EOF
3268 #line 3269 "configure"
3269 #include "confdefs.h"
3270 #include <$ac_hdr>
3271 EOF
3272 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3273 { (eval echo configure:3274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3274 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3275 if test -z "$ac_err"; then
3276   rm -rf conftest*
3277   eval "ac_cv_header_$ac_safe=yes"
3278 else
3279   echo "$ac_err" >&5
3280   echo "configure: failed program was:" >&5
3281   cat conftest.$ac_ext >&5
3282   rm -rf conftest*
3283   eval "ac_cv_header_$ac_safe=no"
3284 fi
3285 rm -f conftest*
3286 fi
3287 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3288   echo "$ac_t""yes" 1>&6
3289     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3290   cat >> confdefs.h <<EOF
3291 #define $ac_tr_hdr 1
3292 EOF
3293  
3294 else
3295   echo "$ac_t""no" 1>&6
3296 fi
3297 done
3298
3299
3300   
3301   # All these tests are for C++; save the language and the compiler flags.
3302   # The CXXFLAGS thing is suspicious, but based on similar bits 
3303   # found in GLIBCPP_CONFIGURE.
3304   
3305   ac_ext=C
3306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3307 ac_cpp='$CXXCPP $CPPFLAGS'
3308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3310 cross_compiling=$ac_cv_prog_cxx_cross
3311
3312   ac_test_CXXFLAGS="${CXXFLAGS+set}"
3313   ac_save_CXXFLAGS="$CXXFLAGS"
3314   WERROR='-Werror'
3315
3316   # Check for pragma system_header.
3317   echo $ac_n "checking for g++ that supports pragma system_header""... $ac_c" 1>&6
3318 echo "configure:3319: checking for g++ that supports pragma system_header" >&5
3319   CXXFLAGS='-Wunknown-pragmas -Werror'
3320   cat > conftest.$ac_ext <<EOF
3321 #line 3322 "configure"
3322 #include "confdefs.h"
3323 #pragma GCC system_header
3324 int main() {
3325 int foo;
3326   
3327 ; return 0; }
3328 EOF
3329 if { (eval echo configure:3330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3330   rm -rf conftest*
3331   ac_newpragma=yes
3332 else
3333   echo "configure: failed program was:" >&5
3334   cat conftest.$ac_ext >&5
3335   rm -rf conftest*
3336   ac_newpragma=no
3337 fi
3338 rm -f conftest*
3339   if test "$ac_test_CXXFLAGS" = set; then
3340     CXXFLAGS="$ac_save_CXXFLAGS"
3341   else
3342     # this is the suspicious part
3343     CXXFLAGS=''
3344   fi
3345   if test "$ac_newpragma" = "no"; then
3346     WERROR="$WERROR -Wno-unknown-pragmas"
3347   fi
3348   echo "$ac_t""$ac_newpragma" 1>&6
3349
3350   # Check for more sophisticated diagnostic control.
3351   echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3352 echo "configure:3353: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3353   CXXFLAGS='-fdiagnostics-show-location=once'
3354   cat > conftest.$ac_ext <<EOF
3355 #line 3356 "configure"
3356 #include "confdefs.h"
3357
3358 int main() {
3359 int foo;
3360   
3361 ; return 0; }
3362 EOF
3363 if { (eval echo configure:3364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3364   rm -rf conftest*
3365   ac_gabydiags=yes
3366 else
3367   echo "configure: failed program was:" >&5
3368   cat conftest.$ac_ext >&5
3369   rm -rf conftest*
3370   ac_gabydiags=no
3371 fi
3372 rm -f conftest*
3373   if test "$ac_test_CXXFLAGS" = set; then
3374     CXXFLAGS="$ac_save_CXXFLAGS"
3375   else
3376     # this is the suspicious part
3377     CXXFLAGS=''
3378   fi
3379   if test "$ac_gabydiags" = "yes"; then
3380     WFMT_FLAGS='-fdiagnostics-show-location=once'
3381   fi
3382   echo "$ac_t""$ac_gabydiags" 1>&6
3383
3384   # Check for -ffunction-sections -fdata-sections
3385   echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3386 echo "configure:3387: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3387   CXXFLAGS='-ffunction-sections -fdata-sections'
3388   cat > conftest.$ac_ext <<EOF
3389 #line 3390 "configure"
3390 #include "confdefs.h"
3391
3392 int main() {
3393 int foo;
3394   
3395 ; return 0; }
3396 EOF
3397 if { (eval echo configure:3398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3398   rm -rf conftest*
3399   ac_fdsections=yes
3400 else
3401   echo "configure: failed program was:" >&5
3402   cat conftest.$ac_ext >&5
3403   rm -rf conftest*
3404   ac_fdsections=no
3405 fi
3406 rm -f conftest*
3407   if test "$ac_test_CXXFLAGS" = set; then
3408     CXXFLAGS="$ac_save_CXXFLAGS"
3409   else
3410     # this is the suspicious part
3411     CXXFLAGS=''
3412   fi
3413   if test "$ac_fdsections" = "yes"; then
3414     SECTION_FLAGS='-ffunction-sections -fdata-sections'
3415   fi
3416   echo "$ac_t""$ac_fdsections" 1>&6
3417
3418   ac_ext=c
3419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3420 ac_cpp='$CPP $CPPFLAGS'
3421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3423 cross_compiling=$ac_cv_prog_cc_cross
3424
3425   
3426   
3427   
3428
3429   
3430   # If we're not using GNU ld, then there's no point in even trying these
3431   # tests.  Check for that first.  We should have already tested for gld
3432   # by now (in libtool), but require it now just to be safe...
3433   
3434   if test "$ac_cv_prog_gnu_ld" = "no"; then
3435     SECTION_LDFLAGS=''
3436     OPT_LDFLAGS=''
3437
3438   else   # GNU ld it is!  Joy and bunny rabbits!
3439
3440     # All these tests are for C++; save the language and the compiler flags.
3441     # Need to do this so that g++ won't try to link in libstdc++
3442     ac_test_CFLAGS="${CFLAGS+set}"
3443     ac_save_CFLAGS="$CFLAGS"
3444     CFLAGS='-x c++  -Wl,--gc-sections'
3445
3446     # Check for -Wl,--gc-sections
3447     echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3448 echo "configure:3449: checking for ld that supports -Wl,--gc-sections" >&5
3449     if test "$cross_compiling" = yes; then
3450   ac_sectionLDflags=yes
3451 else
3452   cat > conftest.$ac_ext <<EOF
3453 #line 3454 "configure"
3454 #include "confdefs.h"
3455
3456      int main(void) 
3457      {
3458        try { throw 1; }
3459        catch (...) { };
3460        return 0;
3461      }
3462     
3463 EOF
3464 if { (eval echo configure:3465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3465 then
3466   ac_sectionLDflags=yes
3467 else
3468   echo "configure: failed program was:" >&5
3469   cat conftest.$ac_ext >&5
3470   rm -fr conftest*
3471   ac_sectionLFflags=no
3472 fi
3473 rm -fr conftest*
3474 fi
3475
3476     if test "$ac_test_CFLAGS" = set; then
3477       CFLAGS="$ac_save_CFLAGS"
3478     else
3479       # this is the suspicious part
3480       CFLAGS=''
3481     fi
3482     if test "$ac_sectionLDflags" = "yes"; then
3483       SECTION_LDFLAGS='-Wl,--gc-sections'
3484     fi
3485     echo "$ac_t""$ac_sectionLDflags" 1>&6
3486     OPT_LDFLAGS='-Wl,-O1'
3487
3488   fi
3489   
3490   
3491
3492   
3493       
3494   echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3495 echo "configure:3496: checking for __builtin_abs declaration" >&5
3496   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3497   echo $ac_n "(cached) $ac_c" 1>&6
3498 else
3499   
3500     
3501     ac_ext=C
3502 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3503 ac_cpp='$CXXCPP $CPPFLAGS'
3504 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3505 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3506 cross_compiling=$ac_cv_prog_cxx_cross
3507
3508     cat > conftest.$ac_ext <<EOF
3509 #line 3510 "configure"
3510 #include "confdefs.h"
3511 #include <math.h>
3512 int main() {
3513  __builtin_abs(0);
3514 ; return 0; }
3515 EOF
3516 if { (eval echo configure:3517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3517   rm -rf conftest*
3518   glibcpp_cv_func___builtin_abs_use=yes
3519 else
3520   echo "configure: failed program was:" >&5
3521   cat conftest.$ac_ext >&5
3522   rm -rf conftest*
3523   glibcpp_cv_func___builtin_abs_use=no
3524 fi
3525 rm -f conftest*
3526     ac_ext=c
3527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3528 ac_cpp='$CPP $CPPFLAGS'
3529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3531 cross_compiling=$ac_cv_prog_cc_cross
3532
3533   
3534 fi
3535
3536   echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3537   if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3538     echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3539 echo "configure:3540: checking for __builtin_abs linkage" >&5
3540     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3541   echo $ac_n "(cached) $ac_c" 1>&6
3542 else
3543   
3544       cat > conftest.$ac_ext <<EOF
3545 #line 3546 "configure"
3546 #include "confdefs.h"
3547 #include <math.h>
3548 int main() {
3549  __builtin_abs(0);
3550 ; return 0; }
3551 EOF
3552 if { (eval echo configure:3553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3553   rm -rf conftest*
3554   glibcpp_cv_func___builtin_abs_link=yes
3555 else
3556   echo "configure: failed program was:" >&5
3557   cat conftest.$ac_ext >&5
3558   rm -rf conftest*
3559   glibcpp_cv_func___builtin_abs_link=no
3560 fi
3561 rm -f conftest*
3562     
3563 fi
3564
3565     echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3566     if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3567       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3568       cat >> confdefs.h <<EOF
3569 #define ${ac_tr_func} 1
3570 EOF
3571
3572     fi
3573   fi
3574
3575   
3576   echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3577 echo "configure:3578: checking for __builtin_fabsf declaration" >&5
3578   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3579   echo $ac_n "(cached) $ac_c" 1>&6
3580 else
3581   
3582     
3583     ac_ext=C
3584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3585 ac_cpp='$CXXCPP $CPPFLAGS'
3586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3588 cross_compiling=$ac_cv_prog_cxx_cross
3589
3590     cat > conftest.$ac_ext <<EOF
3591 #line 3592 "configure"
3592 #include "confdefs.h"
3593 #include <math.h>
3594 int main() {
3595  __builtin_fabsf(0);
3596 ; return 0; }
3597 EOF
3598 if { (eval echo configure:3599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3599   rm -rf conftest*
3600   glibcpp_cv_func___builtin_fabsf_use=yes
3601 else
3602   echo "configure: failed program was:" >&5
3603   cat conftest.$ac_ext >&5
3604   rm -rf conftest*
3605   glibcpp_cv_func___builtin_fabsf_use=no
3606 fi
3607 rm -f conftest*
3608     ac_ext=c
3609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3610 ac_cpp='$CPP $CPPFLAGS'
3611 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3612 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3613 cross_compiling=$ac_cv_prog_cc_cross
3614
3615   
3616 fi
3617
3618   echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3619   if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3620     echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3621 echo "configure:3622: checking for __builtin_fabsf linkage" >&5
3622     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3623   echo $ac_n "(cached) $ac_c" 1>&6
3624 else
3625   
3626       cat > conftest.$ac_ext <<EOF
3627 #line 3628 "configure"
3628 #include "confdefs.h"
3629 #include <math.h>
3630 int main() {
3631  __builtin_fabsf(0);
3632 ; return 0; }
3633 EOF
3634 if { (eval echo configure:3635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3635   rm -rf conftest*
3636   glibcpp_cv_func___builtin_fabsf_link=yes
3637 else
3638   echo "configure: failed program was:" >&5
3639   cat conftest.$ac_ext >&5
3640   rm -rf conftest*
3641   glibcpp_cv_func___builtin_fabsf_link=no
3642 fi
3643 rm -f conftest*
3644     
3645 fi
3646
3647     echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3648     if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3649       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3650       cat >> confdefs.h <<EOF
3651 #define ${ac_tr_func} 1
3652 EOF
3653
3654     fi
3655   fi
3656
3657   
3658   echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3659 echo "configure:3660: checking for __builtin_fabs declaration" >&5
3660   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3661   echo $ac_n "(cached) $ac_c" 1>&6
3662 else
3663   
3664     
3665     ac_ext=C
3666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3667 ac_cpp='$CXXCPP $CPPFLAGS'
3668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3670 cross_compiling=$ac_cv_prog_cxx_cross
3671
3672     cat > conftest.$ac_ext <<EOF
3673 #line 3674 "configure"
3674 #include "confdefs.h"
3675 #include <math.h>
3676 int main() {
3677  __builtin_fabs(0);
3678 ; return 0; }
3679 EOF
3680 if { (eval echo configure:3681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3681   rm -rf conftest*
3682   glibcpp_cv_func___builtin_fabs_use=yes
3683 else
3684   echo "configure: failed program was:" >&5
3685   cat conftest.$ac_ext >&5
3686   rm -rf conftest*
3687   glibcpp_cv_func___builtin_fabs_use=no
3688 fi
3689 rm -f conftest*
3690     ac_ext=c
3691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3692 ac_cpp='$CPP $CPPFLAGS'
3693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3695 cross_compiling=$ac_cv_prog_cc_cross
3696
3697   
3698 fi
3699
3700   echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3701   if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3702     echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3703 echo "configure:3704: checking for __builtin_fabs linkage" >&5
3704     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3705   echo $ac_n "(cached) $ac_c" 1>&6
3706 else
3707   
3708       cat > conftest.$ac_ext <<EOF
3709 #line 3710 "configure"
3710 #include "confdefs.h"
3711 #include <math.h>
3712 int main() {
3713  __builtin_fabs(0);
3714 ; return 0; }
3715 EOF
3716 if { (eval echo configure:3717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3717   rm -rf conftest*
3718   glibcpp_cv_func___builtin_fabs_link=yes
3719 else
3720   echo "configure: failed program was:" >&5
3721   cat conftest.$ac_ext >&5
3722   rm -rf conftest*
3723   glibcpp_cv_func___builtin_fabs_link=no
3724 fi
3725 rm -f conftest*
3726     
3727 fi
3728
3729     echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3730     if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3731       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3732       cat >> confdefs.h <<EOF
3733 #define ${ac_tr_func} 1
3734 EOF
3735
3736     fi
3737   fi
3738
3739   
3740   echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3741 echo "configure:3742: checking for __builtin_fabsl declaration" >&5
3742   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3743   echo $ac_n "(cached) $ac_c" 1>&6
3744 else
3745   
3746     
3747     ac_ext=C
3748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3749 ac_cpp='$CXXCPP $CPPFLAGS'
3750 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3751 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3752 cross_compiling=$ac_cv_prog_cxx_cross
3753
3754     cat > conftest.$ac_ext <<EOF
3755 #line 3756 "configure"
3756 #include "confdefs.h"
3757 #include <math.h>
3758 int main() {
3759  __builtin_fabsl(0);
3760 ; return 0; }
3761 EOF
3762 if { (eval echo configure:3763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3763   rm -rf conftest*
3764   glibcpp_cv_func___builtin_fabsl_use=yes
3765 else
3766   echo "configure: failed program was:" >&5
3767   cat conftest.$ac_ext >&5
3768   rm -rf conftest*
3769   glibcpp_cv_func___builtin_fabsl_use=no
3770 fi
3771 rm -f conftest*
3772     ac_ext=c
3773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3774 ac_cpp='$CPP $CPPFLAGS'
3775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3776 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3777 cross_compiling=$ac_cv_prog_cc_cross
3778
3779   
3780 fi
3781
3782   echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3783   if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3784     echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3785 echo "configure:3786: checking for __builtin_fabsl linkage" >&5
3786     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3787   echo $ac_n "(cached) $ac_c" 1>&6
3788 else
3789   
3790       cat > conftest.$ac_ext <<EOF
3791 #line 3792 "configure"
3792 #include "confdefs.h"
3793 #include <math.h>
3794 int main() {
3795  __builtin_fabsl(0);
3796 ; return 0; }
3797 EOF
3798 if { (eval echo configure:3799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3799   rm -rf conftest*
3800   glibcpp_cv_func___builtin_fabsl_link=yes
3801 else
3802   echo "configure: failed program was:" >&5
3803   cat conftest.$ac_ext >&5
3804   rm -rf conftest*
3805   glibcpp_cv_func___builtin_fabsl_link=no
3806 fi
3807 rm -f conftest*
3808     
3809 fi
3810
3811     echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3812     if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3813       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3814       cat >> confdefs.h <<EOF
3815 #define ${ac_tr_func} 1
3816 EOF
3817
3818     fi
3819   fi
3820
3821   
3822   echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3823 echo "configure:3824: checking for __builtin_labs declaration" >&5
3824   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
3825   echo $ac_n "(cached) $ac_c" 1>&6
3826 else
3827   
3828     
3829     ac_ext=C
3830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3831 ac_cpp='$CXXCPP $CPPFLAGS'
3832 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3833 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3834 cross_compiling=$ac_cv_prog_cxx_cross
3835
3836     cat > conftest.$ac_ext <<EOF
3837 #line 3838 "configure"
3838 #include "confdefs.h"
3839 #include <math.h>
3840 int main() {
3841  __builtin_labs(0);
3842 ; return 0; }
3843 EOF
3844 if { (eval echo configure:3845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3845   rm -rf conftest*
3846   glibcpp_cv_func___builtin_labs_use=yes
3847 else
3848   echo "configure: failed program was:" >&5
3849   cat conftest.$ac_ext >&5
3850   rm -rf conftest*
3851   glibcpp_cv_func___builtin_labs_use=no
3852 fi
3853 rm -f conftest*
3854     ac_ext=c
3855 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3856 ac_cpp='$CPP $CPPFLAGS'
3857 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3858 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3859 cross_compiling=$ac_cv_prog_cc_cross
3860
3861   
3862 fi
3863
3864   echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3865   if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3866     echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3867 echo "configure:3868: checking for __builtin_labs linkage" >&5
3868     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3869   echo $ac_n "(cached) $ac_c" 1>&6
3870 else
3871   
3872       cat > conftest.$ac_ext <<EOF
3873 #line 3874 "configure"
3874 #include "confdefs.h"
3875 #include <math.h>
3876 int main() {
3877  __builtin_labs(0);
3878 ; return 0; }
3879 EOF
3880 if { (eval echo configure:3881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3881   rm -rf conftest*
3882   glibcpp_cv_func___builtin_labs_link=yes
3883 else
3884   echo "configure: failed program was:" >&5
3885   cat conftest.$ac_ext >&5
3886   rm -rf conftest*
3887   glibcpp_cv_func___builtin_labs_link=no
3888 fi
3889 rm -f conftest*
3890     
3891 fi
3892
3893     echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3894     if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3895       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3896       cat >> confdefs.h <<EOF
3897 #define ${ac_tr_func} 1
3898 EOF
3899
3900     fi
3901   fi
3902
3903
3904   
3905   echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3906 echo "configure:3907: checking for __builtin_sqrtf declaration" >&5
3907   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3908   echo $ac_n "(cached) $ac_c" 1>&6
3909 else
3910   
3911     
3912     ac_ext=C
3913 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3914 ac_cpp='$CXXCPP $CPPFLAGS'
3915 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3916 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3917 cross_compiling=$ac_cv_prog_cxx_cross
3918
3919     cat > conftest.$ac_ext <<EOF
3920 #line 3921 "configure"
3921 #include "confdefs.h"
3922 #include <math.h>
3923 int main() {
3924  __builtin_sqrtf(0);
3925 ; return 0; }
3926 EOF
3927 if { (eval echo configure:3928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3928   rm -rf conftest*
3929   glibcpp_cv_func___builtin_sqrtf_use=yes
3930 else
3931   echo "configure: failed program was:" >&5
3932   cat conftest.$ac_ext >&5
3933   rm -rf conftest*
3934   glibcpp_cv_func___builtin_sqrtf_use=no
3935 fi
3936 rm -f conftest*
3937     ac_ext=c
3938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3941 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3942 cross_compiling=$ac_cv_prog_cc_cross
3943
3944   
3945 fi
3946
3947   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
3948   if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
3949     echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
3950 echo "configure:3951: checking for __builtin_sqrtf linkage" >&5
3951     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
3952   echo $ac_n "(cached) $ac_c" 1>&6
3953 else
3954   
3955       cat > conftest.$ac_ext <<EOF
3956 #line 3957 "configure"
3957 #include "confdefs.h"
3958 #include <math.h>
3959 int main() {
3960  __builtin_sqrtf(0);
3961 ; return 0; }
3962 EOF
3963 if { (eval echo configure:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3964   rm -rf conftest*
3965   glibcpp_cv_func___builtin_sqrtf_link=yes
3966 else
3967   echo "configure: failed program was:" >&5
3968   cat conftest.$ac_ext >&5
3969   rm -rf conftest*
3970   glibcpp_cv_func___builtin_sqrtf_link=no
3971 fi
3972 rm -f conftest*
3973     
3974 fi
3975
3976     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
3977     if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
3978       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3979       cat >> confdefs.h <<EOF
3980 #define ${ac_tr_func} 1
3981 EOF
3982
3983     fi
3984   fi
3985
3986   
3987   echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
3988 echo "configure:3989: checking for __builtin_fsqrt declaration" >&5
3989   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
3990   echo $ac_n "(cached) $ac_c" 1>&6
3991 else
3992   
3993     
3994     ac_ext=C
3995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3996 ac_cpp='$CXXCPP $CPPFLAGS'
3997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3999 cross_compiling=$ac_cv_prog_cxx_cross
4000
4001     cat > conftest.$ac_ext <<EOF
4002 #line 4003 "configure"
4003 #include "confdefs.h"
4004 #include <math.h>
4005 int main() {
4006  __builtin_fsqrt(0);
4007 ; return 0; }
4008 EOF
4009 if { (eval echo configure:4010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4010   rm -rf conftest*
4011   glibcpp_cv_func___builtin_fsqrt_use=yes
4012 else
4013   echo "configure: failed program was:" >&5
4014   cat conftest.$ac_ext >&5
4015   rm -rf conftest*
4016   glibcpp_cv_func___builtin_fsqrt_use=no
4017 fi
4018 rm -f conftest*
4019     ac_ext=c
4020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4021 ac_cpp='$CPP $CPPFLAGS'
4022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4024 cross_compiling=$ac_cv_prog_cc_cross
4025
4026   
4027 fi
4028
4029   echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4030   if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4031     echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4032 echo "configure:4033: checking for __builtin_fsqrt linkage" >&5
4033     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4034   echo $ac_n "(cached) $ac_c" 1>&6
4035 else
4036   
4037       cat > conftest.$ac_ext <<EOF
4038 #line 4039 "configure"
4039 #include "confdefs.h"
4040 #include <math.h>
4041 int main() {
4042  __builtin_fsqrt(0);
4043 ; return 0; }
4044 EOF
4045 if { (eval echo configure:4046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4046   rm -rf conftest*
4047   glibcpp_cv_func___builtin_fsqrt_link=yes
4048 else
4049   echo "configure: failed program was:" >&5
4050   cat conftest.$ac_ext >&5
4051   rm -rf conftest*
4052   glibcpp_cv_func___builtin_fsqrt_link=no
4053 fi
4054 rm -f conftest*
4055     
4056 fi
4057
4058     echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4059     if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4060       ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4061       cat >> confdefs.h <<EOF
4062 #define ${ac_tr_func} 1
4063 EOF
4064
4065     fi
4066   fi
4067
4068   
4069   echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4070 echo "configure:4071: checking for __builtin_sqrtl declaration" >&5
4071   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4072   echo $ac_n "(cached) $ac_c" 1>&6
4073 else
4074   
4075     
4076     ac_ext=C
4077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4078 ac_cpp='$CXXCPP $CPPFLAGS'
4079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4081 cross_compiling=$ac_cv_prog_cxx_cross
4082
4083     cat > conftest.$ac_ext <<EOF
4084 #line 4085 "configure"
4085 #include "confdefs.h"
4086 #include <math.h>
4087 int main() {
4088  __builtin_sqrtl(0);
4089 ; return 0; }
4090 EOF
4091 if { (eval echo configure:4092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4092   rm -rf conftest*
4093   glibcpp_cv_func___builtin_sqrtl_use=yes
4094 else
4095   echo "configure: failed program was:" >&5
4096   cat conftest.$ac_ext >&5
4097   rm -rf conftest*
4098   glibcpp_cv_func___builtin_sqrtl_use=no
4099 fi
4100 rm -f conftest*
4101     ac_ext=c
4102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4103 ac_cpp='$CPP $CPPFLAGS'
4104 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4105 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4106 cross_compiling=$ac_cv_prog_cc_cross
4107
4108   
4109 fi
4110
4111   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4112   if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4113     echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4114 echo "configure:4115: checking for __builtin_sqrtl linkage" >&5
4115     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4116   echo $ac_n "(cached) $ac_c" 1>&6
4117 else
4118   
4119       cat > conftest.$ac_ext <<EOF
4120 #line 4121 "configure"
4121 #include "confdefs.h"
4122 #include <math.h>
4123 int main() {
4124  __builtin_sqrtl(0);
4125 ; return 0; }
4126 EOF
4127 if { (eval echo configure:4128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4128   rm -rf conftest*
4129   glibcpp_cv_func___builtin_sqrtl_link=yes
4130 else
4131   echo "configure: failed program was:" >&5
4132   cat conftest.$ac_ext >&5
4133   rm -rf conftest*
4134   glibcpp_cv_func___builtin_sqrtl_link=no
4135 fi
4136 rm -f conftest*
4137     
4138 fi
4139
4140     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4141     if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4142       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4143       cat >> confdefs.h <<EOF
4144 #define ${ac_tr_func} 1
4145 EOF
4146
4147     fi
4148   fi
4149
4150
4151   
4152   echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4153 echo "configure:4154: checking for __builtin_sinf declaration" >&5
4154   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4155   echo $ac_n "(cached) $ac_c" 1>&6
4156 else
4157   
4158     
4159     ac_ext=C
4160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4161 ac_cpp='$CXXCPP $CPPFLAGS'
4162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4164 cross_compiling=$ac_cv_prog_cxx_cross
4165
4166     cat > conftest.$ac_ext <<EOF
4167 #line 4168 "configure"
4168 #include "confdefs.h"
4169 #include <math.h>
4170 int main() {
4171  __builtin_sinf(0);
4172 ; return 0; }
4173 EOF
4174 if { (eval echo configure:4175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4175   rm -rf conftest*
4176   glibcpp_cv_func___builtin_sinf_use=yes
4177 else
4178   echo "configure: failed program was:" >&5
4179   cat conftest.$ac_ext >&5
4180   rm -rf conftest*
4181   glibcpp_cv_func___builtin_sinf_use=no
4182 fi
4183 rm -f conftest*
4184     ac_ext=c
4185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4186 ac_cpp='$CPP $CPPFLAGS'
4187 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4188 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4189 cross_compiling=$ac_cv_prog_cc_cross
4190
4191   
4192 fi
4193
4194   echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4195   if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4196     echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4197 echo "configure:4198: checking for __builtin_sinf linkage" >&5
4198     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4199   echo $ac_n "(cached) $ac_c" 1>&6
4200 else
4201   
4202       cat > conftest.$ac_ext <<EOF
4203 #line 4204 "configure"
4204 #include "confdefs.h"
4205 #include <math.h>
4206 int main() {
4207  __builtin_sinf(0);
4208 ; return 0; }
4209 EOF
4210 if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4211   rm -rf conftest*
4212   glibcpp_cv_func___builtin_sinf_link=yes
4213 else
4214   echo "configure: failed program was:" >&5
4215   cat conftest.$ac_ext >&5
4216   rm -rf conftest*
4217   glibcpp_cv_func___builtin_sinf_link=no
4218 fi
4219 rm -f conftest*
4220     
4221 fi
4222
4223     echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4224     if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4225       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4226       cat >> confdefs.h <<EOF
4227 #define ${ac_tr_func} 1
4228 EOF
4229
4230     fi
4231   fi
4232
4233   
4234   echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4235 echo "configure:4236: checking for __builtin_sin declaration" >&5
4236   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4237   echo $ac_n "(cached) $ac_c" 1>&6
4238 else
4239   
4240     
4241     ac_ext=C
4242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4243 ac_cpp='$CXXCPP $CPPFLAGS'
4244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4246 cross_compiling=$ac_cv_prog_cxx_cross
4247
4248     cat > conftest.$ac_ext <<EOF
4249 #line 4250 "configure"
4250 #include "confdefs.h"
4251 #include <math.h>
4252 int main() {
4253  __builtin_sin(0);
4254 ; return 0; }
4255 EOF
4256 if { (eval echo configure:4257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4257   rm -rf conftest*
4258   glibcpp_cv_func___builtin_sin_use=yes
4259 else
4260   echo "configure: failed program was:" >&5
4261   cat conftest.$ac_ext >&5
4262   rm -rf conftest*
4263   glibcpp_cv_func___builtin_sin_use=no
4264 fi
4265 rm -f conftest*
4266     ac_ext=c
4267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4268 ac_cpp='$CPP $CPPFLAGS'
4269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4271 cross_compiling=$ac_cv_prog_cc_cross
4272
4273   
4274 fi
4275
4276   echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4277   if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4278     echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4279 echo "configure:4280: checking for __builtin_sin linkage" >&5
4280     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4281   echo $ac_n "(cached) $ac_c" 1>&6
4282 else
4283   
4284       cat > conftest.$ac_ext <<EOF
4285 #line 4286 "configure"
4286 #include "confdefs.h"
4287 #include <math.h>
4288 int main() {
4289  __builtin_sin(0);
4290 ; return 0; }
4291 EOF
4292 if { (eval echo configure:4293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4293   rm -rf conftest*
4294   glibcpp_cv_func___builtin_sin_link=yes
4295 else
4296   echo "configure: failed program was:" >&5
4297   cat conftest.$ac_ext >&5
4298   rm -rf conftest*
4299   glibcpp_cv_func___builtin_sin_link=no
4300 fi
4301 rm -f conftest*
4302     
4303 fi
4304
4305     echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4306     if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4307       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4308       cat >> confdefs.h <<EOF
4309 #define ${ac_tr_func} 1
4310 EOF
4311
4312     fi
4313   fi
4314
4315   
4316   echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4317 echo "configure:4318: checking for __builtin_sinl declaration" >&5
4318   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4319   echo $ac_n "(cached) $ac_c" 1>&6
4320 else
4321   
4322     
4323     ac_ext=C
4324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4325 ac_cpp='$CXXCPP $CPPFLAGS'
4326 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4327 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4328 cross_compiling=$ac_cv_prog_cxx_cross
4329
4330     cat > conftest.$ac_ext <<EOF
4331 #line 4332 "configure"
4332 #include "confdefs.h"
4333 #include <math.h>
4334 int main() {
4335  __builtin_sinl(0);
4336 ; return 0; }
4337 EOF
4338 if { (eval echo configure:4339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4339   rm -rf conftest*
4340   glibcpp_cv_func___builtin_sinl_use=yes
4341 else
4342   echo "configure: failed program was:" >&5
4343   cat conftest.$ac_ext >&5
4344   rm -rf conftest*
4345   glibcpp_cv_func___builtin_sinl_use=no
4346 fi
4347 rm -f conftest*
4348     ac_ext=c
4349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4350 ac_cpp='$CPP $CPPFLAGS'
4351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4353 cross_compiling=$ac_cv_prog_cc_cross
4354
4355   
4356 fi
4357
4358   echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4359   if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4360     echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4361 echo "configure:4362: checking for __builtin_sinl linkage" >&5
4362     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4363   echo $ac_n "(cached) $ac_c" 1>&6
4364 else
4365   
4366       cat > conftest.$ac_ext <<EOF
4367 #line 4368 "configure"
4368 #include "confdefs.h"
4369 #include <math.h>
4370 int main() {
4371  __builtin_sinl(0);
4372 ; return 0; }
4373 EOF
4374 if { (eval echo configure:4375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4375   rm -rf conftest*
4376   glibcpp_cv_func___builtin_sinl_link=yes
4377 else
4378   echo "configure: failed program was:" >&5
4379   cat conftest.$ac_ext >&5
4380   rm -rf conftest*
4381   glibcpp_cv_func___builtin_sinl_link=no
4382 fi
4383 rm -f conftest*
4384     
4385 fi
4386
4387     echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4388     if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4389       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4390       cat >> confdefs.h <<EOF
4391 #define ${ac_tr_func} 1
4392 EOF
4393
4394     fi
4395   fi
4396
4397
4398   
4399   echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4400 echo "configure:4401: checking for __builtin_cosf declaration" >&5
4401   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4402   echo $ac_n "(cached) $ac_c" 1>&6
4403 else
4404   
4405     
4406     ac_ext=C
4407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4408 ac_cpp='$CXXCPP $CPPFLAGS'
4409 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4410 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4411 cross_compiling=$ac_cv_prog_cxx_cross
4412
4413     cat > conftest.$ac_ext <<EOF
4414 #line 4415 "configure"
4415 #include "confdefs.h"
4416 #include <math.h>
4417 int main() {
4418  __builtin_cosf(0);
4419 ; return 0; }
4420 EOF
4421 if { (eval echo configure:4422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4422   rm -rf conftest*
4423   glibcpp_cv_func___builtin_cosf_use=yes
4424 else
4425   echo "configure: failed program was:" >&5
4426   cat conftest.$ac_ext >&5
4427   rm -rf conftest*
4428   glibcpp_cv_func___builtin_cosf_use=no
4429 fi
4430 rm -f conftest*
4431     ac_ext=c
4432 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4433 ac_cpp='$CPP $CPPFLAGS'
4434 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4435 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4436 cross_compiling=$ac_cv_prog_cc_cross
4437
4438   
4439 fi
4440
4441   echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4442   if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4443     echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4444 echo "configure:4445: checking for __builtin_cosf linkage" >&5
4445     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4446   echo $ac_n "(cached) $ac_c" 1>&6
4447 else
4448   
4449       cat > conftest.$ac_ext <<EOF
4450 #line 4451 "configure"
4451 #include "confdefs.h"
4452 #include <math.h>
4453 int main() {
4454  __builtin_cosf(0);
4455 ; return 0; }
4456 EOF
4457 if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4458   rm -rf conftest*
4459   glibcpp_cv_func___builtin_cosf_link=yes
4460 else
4461   echo "configure: failed program was:" >&5
4462   cat conftest.$ac_ext >&5
4463   rm -rf conftest*
4464   glibcpp_cv_func___builtin_cosf_link=no
4465 fi
4466 rm -f conftest*
4467     
4468 fi
4469
4470     echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4471     if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4472       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4473       cat >> confdefs.h <<EOF
4474 #define ${ac_tr_func} 1
4475 EOF
4476
4477     fi
4478   fi
4479
4480   
4481   echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4482 echo "configure:4483: checking for __builtin_cos declaration" >&5
4483   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4484   echo $ac_n "(cached) $ac_c" 1>&6
4485 else
4486   
4487     
4488     ac_ext=C
4489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4490 ac_cpp='$CXXCPP $CPPFLAGS'
4491 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4492 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4493 cross_compiling=$ac_cv_prog_cxx_cross
4494
4495     cat > conftest.$ac_ext <<EOF
4496 #line 4497 "configure"
4497 #include "confdefs.h"
4498 #include <math.h>
4499 int main() {
4500  __builtin_cos(0);
4501 ; return 0; }
4502 EOF
4503 if { (eval echo configure:4504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4504   rm -rf conftest*
4505   glibcpp_cv_func___builtin_cos_use=yes
4506 else
4507   echo "configure: failed program was:" >&5
4508   cat conftest.$ac_ext >&5
4509   rm -rf conftest*
4510   glibcpp_cv_func___builtin_cos_use=no
4511 fi
4512 rm -f conftest*
4513     ac_ext=c
4514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4515 ac_cpp='$CPP $CPPFLAGS'
4516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4518 cross_compiling=$ac_cv_prog_cc_cross
4519
4520   
4521 fi
4522
4523   echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4524   if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4525     echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4526 echo "configure:4527: checking for __builtin_cos linkage" >&5
4527     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4528   echo $ac_n "(cached) $ac_c" 1>&6
4529 else
4530   
4531       cat > conftest.$ac_ext <<EOF
4532 #line 4533 "configure"
4533 #include "confdefs.h"
4534 #include <math.h>
4535 int main() {
4536  __builtin_cos(0);
4537 ; return 0; }
4538 EOF
4539 if { (eval echo configure:4540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4540   rm -rf conftest*
4541   glibcpp_cv_func___builtin_cos_link=yes
4542 else
4543   echo "configure: failed program was:" >&5
4544   cat conftest.$ac_ext >&5
4545   rm -rf conftest*
4546   glibcpp_cv_func___builtin_cos_link=no
4547 fi
4548 rm -f conftest*
4549     
4550 fi
4551
4552     echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4553     if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4554       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4555       cat >> confdefs.h <<EOF
4556 #define ${ac_tr_func} 1
4557 EOF
4558
4559     fi
4560   fi
4561
4562   
4563   echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4564 echo "configure:4565: checking for __builtin_cosl declaration" >&5
4565   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4566   echo $ac_n "(cached) $ac_c" 1>&6
4567 else
4568   
4569     
4570     ac_ext=C
4571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4572 ac_cpp='$CXXCPP $CPPFLAGS'
4573 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4574 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4575 cross_compiling=$ac_cv_prog_cxx_cross
4576
4577     cat > conftest.$ac_ext <<EOF
4578 #line 4579 "configure"
4579 #include "confdefs.h"
4580 #include <math.h>
4581 int main() {
4582  __builtin_cosl(0);
4583 ; return 0; }
4584 EOF
4585 if { (eval echo configure:4586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4586   rm -rf conftest*
4587   glibcpp_cv_func___builtin_cosl_use=yes
4588 else
4589   echo "configure: failed program was:" >&5
4590   cat conftest.$ac_ext >&5
4591   rm -rf conftest*
4592   glibcpp_cv_func___builtin_cosl_use=no
4593 fi
4594 rm -f conftest*
4595     ac_ext=c
4596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4599 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4600 cross_compiling=$ac_cv_prog_cc_cross
4601
4602   
4603 fi
4604
4605   echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4606   if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4607     echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4608 echo "configure:4609: checking for __builtin_cosl linkage" >&5
4609     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4610   echo $ac_n "(cached) $ac_c" 1>&6
4611 else
4612   
4613       cat > conftest.$ac_ext <<EOF
4614 #line 4615 "configure"
4615 #include "confdefs.h"
4616 #include <math.h>
4617 int main() {
4618  __builtin_cosl(0);
4619 ; return 0; }
4620 EOF
4621 if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4622   rm -rf conftest*
4623   glibcpp_cv_func___builtin_cosl_link=yes
4624 else
4625   echo "configure: failed program was:" >&5
4626   cat conftest.$ac_ext >&5
4627   rm -rf conftest*
4628   glibcpp_cv_func___builtin_cosl_link=no
4629 fi
4630 rm -f conftest*
4631     
4632 fi
4633
4634     echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4635     if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4636       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4637       cat >> confdefs.h <<EOF
4638 #define ${ac_tr_func} 1
4639 EOF
4640
4641     fi
4642   fi
4643
4644
4645               dummyvar=no
4646   if test x$dummyvar = x"yes"; then
4647     cat >> confdefs.h <<\EOF
4648 #define HAVE___BUILTIN_ABS 1
4649 EOF
4650
4651     cat >> confdefs.h <<\EOF
4652 #define HAVE___BUILTIN_LABS 1
4653 EOF
4654
4655     cat >> confdefs.h <<\EOF
4656 #define HAVE___BUILTIN_COS 1
4657 EOF
4658
4659     cat >> confdefs.h <<\EOF
4660 #define HAVE___BUILTIN_COSF 1
4661 EOF
4662
4663     cat >> confdefs.h <<\EOF
4664 #define HAVE___BUILTIN_COSL 1
4665 EOF
4666
4667     cat >> confdefs.h <<\EOF
4668 #define HAVE___BUILTIN_FABS 1
4669 EOF
4670
4671     cat >> confdefs.h <<\EOF
4672 #define HAVE___BUILTIN_FABSF 1
4673 EOF
4674
4675     cat >> confdefs.h <<\EOF
4676 #define HAVE___BUILTIN_FABSL 1
4677 EOF
4678
4679     cat >> confdefs.h <<\EOF
4680 #define HAVE___BUILTIN_SIN 1
4681 EOF
4682
4683     cat >> confdefs.h <<\EOF
4684 #define HAVE___BUILTIN_SINF 1
4685 EOF
4686
4687     cat >> confdefs.h <<\EOF
4688 #define HAVE___BUILTIN_SINL 1
4689 EOF
4690
4691     cat >> confdefs.h <<\EOF
4692 #define HAVE___BUILTIN_FSQRT 1
4693 EOF
4694
4695     cat >> confdefs.h <<\EOF
4696 #define HAVE___BUILTIN_SQRTF 1
4697 EOF
4698
4699     cat >> confdefs.h <<\EOF
4700 #define HAVE___BUILTIN_SQRTL 1
4701 EOF
4702
4703   fi
4704
4705   
4706   ac_test_CXXFLAGS="${CXXFLAGS+set}"
4707   ac_save_CXXFLAGS="$CXXFLAGS"
4708   CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4709
4710     echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4711 echo "configure:4712: checking for sin in -lm" >&5
4712 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4713 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4714   echo $ac_n "(cached) $ac_c" 1>&6
4715 else
4716   ac_save_LIBS="$LIBS"
4717 LIBS="-lm  $LIBS"
4718 cat > conftest.$ac_ext <<EOF
4719 #line 4720 "configure"
4720 #include "confdefs.h"
4721 /* Override any gcc2 internal prototype to avoid an error.  */
4722 /* We use char because int might match the return type of a gcc2
4723     builtin and then its argument prototype would still apply.  */
4724 char sin();
4725
4726 int main() {
4727 sin()
4728 ; return 0; }
4729 EOF
4730 if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4731   rm -rf conftest*
4732   eval "ac_cv_lib_$ac_lib_var=yes"
4733 else
4734   echo "configure: failed program was:" >&5
4735   cat conftest.$ac_ext >&5
4736   rm -rf conftest*
4737   eval "ac_cv_lib_$ac_lib_var=no"
4738 fi
4739 rm -f conftest*
4740 LIBS="$ac_save_LIBS"
4741
4742 fi
4743 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4744   echo "$ac_t""yes" 1>&6
4745   libm="-lm"
4746 else
4747   echo "$ac_t""no" 1>&6
4748 fi
4749
4750   ac_save_LIBS="$LIBS"
4751   LIBS="$LIBS $libm"
4752
4753     for ac_func in strtof strtold
4754 do
4755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4756 echo "configure:4757: checking for $ac_func" >&5
4757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4758   echo $ac_n "(cached) $ac_c" 1>&6
4759 else
4760   cat > conftest.$ac_ext <<EOF
4761 #line 4762 "configure"
4762 #include "confdefs.h"
4763 /* System header to define __stub macros and hopefully few prototypes,
4764     which can conflict with char $ac_func(); below.  */
4765 #include <assert.h>
4766 /* Override any gcc2 internal prototype to avoid an error.  */
4767 /* We use char because int might match the return type of a gcc2
4768     builtin and then its argument prototype would still apply.  */
4769 char $ac_func();
4770
4771 int main() {
4772
4773 /* The GNU C library defines this for functions which it implements
4774     to always fail with ENOSYS.  Some functions are actually named
4775     something starting with __ and the normal name is an alias.  */
4776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4777 choke me
4778 #else
4779 $ac_func();
4780 #endif
4781
4782 ; return 0; }
4783 EOF
4784 if { (eval echo configure:4785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4785   rm -rf conftest*
4786   eval "ac_cv_func_$ac_func=yes"
4787 else
4788   echo "configure: failed program was:" >&5
4789   cat conftest.$ac_ext >&5
4790   rm -rf conftest*
4791   eval "ac_cv_func_$ac_func=no"
4792 fi
4793 rm -f conftest*
4794 fi
4795
4796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4797   echo "$ac_t""yes" 1>&6
4798     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4799   cat >> confdefs.h <<EOF
4800 #define $ac_tr_func 1
4801 EOF
4802  
4803 else
4804   echo "$ac_t""no" 1>&6
4805 fi
4806 done
4807
4808
4809     
4810   echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4811 echo "configure:4812: checking for isinf declaration" >&5
4812   if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4813   echo $ac_n "(cached) $ac_c" 1>&6
4814 else
4815   
4816     
4817     ac_ext=C
4818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4819 ac_cpp='$CXXCPP $CPPFLAGS'
4820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4822 cross_compiling=$ac_cv_prog_cxx_cross
4823
4824     cat > conftest.$ac_ext <<EOF
4825 #line 4826 "configure"
4826 #include "confdefs.h"
4827 #include <math.h>
4828 int main() {
4829  isinf(0);
4830 ; return 0; }
4831 EOF
4832 if { (eval echo configure:4833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4833   rm -rf conftest*
4834   glibcpp_cv_func_isinf_use=yes
4835 else
4836   echo "configure: failed program was:" >&5
4837   cat conftest.$ac_ext >&5
4838   rm -rf conftest*
4839   glibcpp_cv_func_isinf_use=no
4840 fi
4841 rm -f conftest*
4842     ac_ext=c
4843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4844 ac_cpp='$CPP $CPPFLAGS'
4845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4847 cross_compiling=$ac_cv_prog_cc_cross
4848
4849   
4850 fi
4851
4852   echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4853   if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4854     for ac_func in isinf
4855 do
4856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4857 echo "configure:4858: checking for $ac_func" >&5
4858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4859   echo $ac_n "(cached) $ac_c" 1>&6
4860 else
4861   cat > conftest.$ac_ext <<EOF
4862 #line 4863 "configure"
4863 #include "confdefs.h"
4864 /* System header to define __stub macros and hopefully few prototypes,
4865     which can conflict with char $ac_func(); below.  */
4866 #include <assert.h>
4867 /* Override any gcc2 internal prototype to avoid an error.  */
4868 /* We use char because int might match the return type of a gcc2
4869     builtin and then its argument prototype would still apply.  */
4870 char $ac_func();
4871
4872 int main() {
4873
4874 /* The GNU C library defines this for functions which it implements
4875     to always fail with ENOSYS.  Some functions are actually named
4876     something starting with __ and the normal name is an alias.  */
4877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4878 choke me
4879 #else
4880 $ac_func();
4881 #endif
4882
4883 ; return 0; }
4884 EOF
4885 if { (eval echo configure:4886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4886   rm -rf conftest*
4887   eval "ac_cv_func_$ac_func=yes"
4888 else
4889   echo "configure: failed program was:" >&5
4890   cat conftest.$ac_ext >&5
4891   rm -rf conftest*
4892   eval "ac_cv_func_$ac_func=no"
4893 fi
4894 rm -f conftest*
4895 fi
4896
4897 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4898   echo "$ac_t""yes" 1>&6
4899     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4900   cat >> confdefs.h <<EOF
4901 #define $ac_tr_func 1
4902 EOF
4903  
4904 else
4905   echo "$ac_t""no" 1>&6
4906 fi
4907 done
4908     
4909   fi
4910
4911   
4912   echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4913 echo "configure:4914: checking for isnan declaration" >&5
4914   if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4915   echo $ac_n "(cached) $ac_c" 1>&6
4916 else
4917   
4918     
4919     ac_ext=C
4920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4921 ac_cpp='$CXXCPP $CPPFLAGS'
4922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4924 cross_compiling=$ac_cv_prog_cxx_cross
4925
4926     cat > conftest.$ac_ext <<EOF
4927 #line 4928 "configure"
4928 #include "confdefs.h"
4929 #include <math.h>
4930 int main() {
4931  isnan(0);
4932 ; return 0; }
4933 EOF
4934 if { (eval echo configure:4935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4935   rm -rf conftest*
4936   glibcpp_cv_func_isnan_use=yes
4937 else
4938   echo "configure: failed program was:" >&5
4939   cat conftest.$ac_ext >&5
4940   rm -rf conftest*
4941   glibcpp_cv_func_isnan_use=no
4942 fi
4943 rm -f conftest*
4944     ac_ext=c
4945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4946 ac_cpp='$CPP $CPPFLAGS'
4947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4949 cross_compiling=$ac_cv_prog_cc_cross
4950
4951   
4952 fi
4953
4954   echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
4955   if test x$glibcpp_cv_func_isnan_use = x"yes"; then
4956     for ac_func in isnan
4957 do
4958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4959 echo "configure:4960: checking for $ac_func" >&5
4960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4961   echo $ac_n "(cached) $ac_c" 1>&6
4962 else
4963   cat > conftest.$ac_ext <<EOF
4964 #line 4965 "configure"
4965 #include "confdefs.h"
4966 /* System header to define __stub macros and hopefully few prototypes,
4967     which can conflict with char $ac_func(); below.  */
4968 #include <assert.h>
4969 /* Override any gcc2 internal prototype to avoid an error.  */
4970 /* We use char because int might match the return type of a gcc2
4971     builtin and then its argument prototype would still apply.  */
4972 char $ac_func();
4973
4974 int main() {
4975
4976 /* The GNU C library defines this for functions which it implements
4977     to always fail with ENOSYS.  Some functions are actually named
4978     something starting with __ and the normal name is an alias.  */
4979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4980 choke me
4981 #else
4982 $ac_func();
4983 #endif
4984
4985 ; return 0; }
4986 EOF
4987 if { (eval echo configure:4988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4988   rm -rf conftest*
4989   eval "ac_cv_func_$ac_func=yes"
4990 else
4991   echo "configure: failed program was:" >&5
4992   cat conftest.$ac_ext >&5
4993   rm -rf conftest*
4994   eval "ac_cv_func_$ac_func=no"
4995 fi
4996 rm -f conftest*
4997 fi
4998
4999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5000   echo "$ac_t""yes" 1>&6
5001     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5002   cat >> confdefs.h <<EOF
5003 #define $ac_tr_func 1
5004 EOF
5005  
5006 else
5007   echo "$ac_t""no" 1>&6
5008 fi
5009 done
5010     
5011   fi
5012
5013   
5014   echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
5015 echo "configure:5016: checking for finite declaration" >&5
5016   if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
5017   echo $ac_n "(cached) $ac_c" 1>&6
5018 else
5019   
5020     
5021     ac_ext=C
5022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5023 ac_cpp='$CXXCPP $CPPFLAGS'
5024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5026 cross_compiling=$ac_cv_prog_cxx_cross
5027
5028     cat > conftest.$ac_ext <<EOF
5029 #line 5030 "configure"
5030 #include "confdefs.h"
5031 #include <math.h>
5032 int main() {
5033  finite(0);
5034 ; return 0; }
5035 EOF
5036 if { (eval echo configure:5037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5037   rm -rf conftest*
5038   glibcpp_cv_func_finite_use=yes
5039 else
5040   echo "configure: failed program was:" >&5
5041   cat conftest.$ac_ext >&5
5042   rm -rf conftest*
5043   glibcpp_cv_func_finite_use=no
5044 fi
5045 rm -f conftest*
5046     ac_ext=c
5047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5048 ac_cpp='$CPP $CPPFLAGS'
5049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5051 cross_compiling=$ac_cv_prog_cc_cross
5052
5053   
5054 fi
5055
5056   echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
5057   if test x$glibcpp_cv_func_finite_use = x"yes"; then
5058     for ac_func in finite
5059 do
5060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5061 echo "configure:5062: checking for $ac_func" >&5
5062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5063   echo $ac_n "(cached) $ac_c" 1>&6
5064 else
5065   cat > conftest.$ac_ext <<EOF
5066 #line 5067 "configure"
5067 #include "confdefs.h"
5068 /* System header to define __stub macros and hopefully few prototypes,
5069     which can conflict with char $ac_func(); below.  */
5070 #include <assert.h>
5071 /* Override any gcc2 internal prototype to avoid an error.  */
5072 /* We use char because int might match the return type of a gcc2
5073     builtin and then its argument prototype would still apply.  */
5074 char $ac_func();
5075
5076 int main() {
5077
5078 /* The GNU C library defines this for functions which it implements
5079     to always fail with ENOSYS.  Some functions are actually named
5080     something starting with __ and the normal name is an alias.  */
5081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5082 choke me
5083 #else
5084 $ac_func();
5085 #endif
5086
5087 ; return 0; }
5088 EOF
5089 if { (eval echo configure:5090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5090   rm -rf conftest*
5091   eval "ac_cv_func_$ac_func=yes"
5092 else
5093   echo "configure: failed program was:" >&5
5094   cat conftest.$ac_ext >&5
5095   rm -rf conftest*
5096   eval "ac_cv_func_$ac_func=no"
5097 fi
5098 rm -f conftest*
5099 fi
5100
5101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5102   echo "$ac_t""yes" 1>&6
5103     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5104   cat >> confdefs.h <<EOF
5105 #define $ac_tr_func 1
5106 EOF
5107  
5108 else
5109   echo "$ac_t""no" 1>&6
5110 fi
5111 done
5112     
5113   fi
5114
5115   
5116   echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5117 echo "configure:5118: checking for copysign declaration" >&5
5118   if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5119   echo $ac_n "(cached) $ac_c" 1>&6
5120 else
5121   
5122     
5123     ac_ext=C
5124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5125 ac_cpp='$CXXCPP $CPPFLAGS'
5126 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5127 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5128 cross_compiling=$ac_cv_prog_cxx_cross
5129
5130     cat > conftest.$ac_ext <<EOF
5131 #line 5132 "configure"
5132 #include "confdefs.h"
5133 #include <math.h>
5134 int main() {
5135  copysign(0, 0);
5136 ; return 0; }
5137 EOF
5138 if { (eval echo configure:5139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5139   rm -rf conftest*
5140   glibcpp_cv_func_copysign_use=yes
5141 else
5142   echo "configure: failed program was:" >&5
5143   cat conftest.$ac_ext >&5
5144   rm -rf conftest*
5145   glibcpp_cv_func_copysign_use=no
5146 fi
5147 rm -f conftest*
5148     ac_ext=c
5149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5150 ac_cpp='$CPP $CPPFLAGS'
5151 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5152 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5153 cross_compiling=$ac_cv_prog_cc_cross
5154
5155   
5156 fi
5157
5158   echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5159   if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5160     for ac_func in copysign
5161 do
5162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5163 echo "configure:5164: checking for $ac_func" >&5
5164 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5165   echo $ac_n "(cached) $ac_c" 1>&6
5166 else
5167   cat > conftest.$ac_ext <<EOF
5168 #line 5169 "configure"
5169 #include "confdefs.h"
5170 /* System header to define __stub macros and hopefully few prototypes,
5171     which can conflict with char $ac_func(); below.  */
5172 #include <assert.h>
5173 /* Override any gcc2 internal prototype to avoid an error.  */
5174 /* We use char because int might match the return type of a gcc2
5175     builtin and then its argument prototype would still apply.  */
5176 char $ac_func();
5177
5178 int main() {
5179
5180 /* The GNU C library defines this for functions which it implements
5181     to always fail with ENOSYS.  Some functions are actually named
5182     something starting with __ and the normal name is an alias.  */
5183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5184 choke me
5185 #else
5186 $ac_func();
5187 #endif
5188
5189 ; return 0; }
5190 EOF
5191 if { (eval echo configure:5192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5192   rm -rf conftest*
5193   eval "ac_cv_func_$ac_func=yes"
5194 else
5195   echo "configure: failed program was:" >&5
5196   cat conftest.$ac_ext >&5
5197   rm -rf conftest*
5198   eval "ac_cv_func_$ac_func=no"
5199 fi
5200 rm -f conftest*
5201 fi
5202
5203 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5204   echo "$ac_t""yes" 1>&6
5205     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5206   cat >> confdefs.h <<EOF
5207 #define $ac_tr_func 1
5208 EOF
5209  
5210 else
5211   echo "$ac_t""no" 1>&6
5212 fi
5213 done
5214     
5215   fi
5216
5217   
5218   echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5219 echo "configure:5220: checking for sincos declaration" >&5
5220   if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5221   echo $ac_n "(cached) $ac_c" 1>&6
5222 else
5223   
5224     
5225     ac_ext=C
5226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5227 ac_cpp='$CXXCPP $CPPFLAGS'
5228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5230 cross_compiling=$ac_cv_prog_cxx_cross
5231
5232     cat > conftest.$ac_ext <<EOF
5233 #line 5234 "configure"
5234 #include "confdefs.h"
5235 #include <math.h>
5236 int main() {
5237  sincos(0, 0, 0);
5238 ; return 0; }
5239 EOF
5240 if { (eval echo configure:5241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5241   rm -rf conftest*
5242   glibcpp_cv_func_sincos_use=yes
5243 else
5244   echo "configure: failed program was:" >&5
5245   cat conftest.$ac_ext >&5
5246   rm -rf conftest*
5247   glibcpp_cv_func_sincos_use=no
5248 fi
5249 rm -f conftest*
5250     ac_ext=c
5251 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5252 ac_cpp='$CPP $CPPFLAGS'
5253 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5254 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5255 cross_compiling=$ac_cv_prog_cc_cross
5256
5257   
5258 fi
5259
5260   echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5261   if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5262     for ac_func in sincos
5263 do
5264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5265 echo "configure:5266: checking for $ac_func" >&5
5266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5267   echo $ac_n "(cached) $ac_c" 1>&6
5268 else
5269   cat > conftest.$ac_ext <<EOF
5270 #line 5271 "configure"
5271 #include "confdefs.h"
5272 /* System header to define __stub macros and hopefully few prototypes,
5273     which can conflict with char $ac_func(); below.  */
5274 #include <assert.h>
5275 /* Override any gcc2 internal prototype to avoid an error.  */
5276 /* We use char because int might match the return type of a gcc2
5277     builtin and then its argument prototype would still apply.  */
5278 char $ac_func();
5279
5280 int main() {
5281
5282 /* The GNU C library defines this for functions which it implements
5283     to always fail with ENOSYS.  Some functions are actually named
5284     something starting with __ and the normal name is an alias.  */
5285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5286 choke me
5287 #else
5288 $ac_func();
5289 #endif
5290
5291 ; return 0; }
5292 EOF
5293 if { (eval echo configure:5294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5294   rm -rf conftest*
5295   eval "ac_cv_func_$ac_func=yes"
5296 else
5297   echo "configure: failed program was:" >&5
5298   cat conftest.$ac_ext >&5
5299   rm -rf conftest*
5300   eval "ac_cv_func_$ac_func=no"
5301 fi
5302 rm -f conftest*
5303 fi
5304
5305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5306   echo "$ac_t""yes" 1>&6
5307     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5308   cat >> confdefs.h <<EOF
5309 #define $ac_tr_func 1
5310 EOF
5311  
5312 else
5313   echo "$ac_t""no" 1>&6
5314 fi
5315 done
5316     
5317   fi
5318
5319   
5320   echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5321 echo "configure:5322: checking for fpclass declaration" >&5
5322   if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5323   echo $ac_n "(cached) $ac_c" 1>&6
5324 else
5325   
5326     
5327     ac_ext=C
5328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5329 ac_cpp='$CXXCPP $CPPFLAGS'
5330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5332 cross_compiling=$ac_cv_prog_cxx_cross
5333
5334     cat > conftest.$ac_ext <<EOF
5335 #line 5336 "configure"
5336 #include "confdefs.h"
5337 #include <math.h>
5338 int main() {
5339  fpclass(0);
5340 ; return 0; }
5341 EOF
5342 if { (eval echo configure:5343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5343   rm -rf conftest*
5344   glibcpp_cv_func_fpclass_use=yes
5345 else
5346   echo "configure: failed program was:" >&5
5347   cat conftest.$ac_ext >&5
5348   rm -rf conftest*
5349   glibcpp_cv_func_fpclass_use=no
5350 fi
5351 rm -f conftest*
5352     ac_ext=c
5353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5354 ac_cpp='$CPP $CPPFLAGS'
5355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5357 cross_compiling=$ac_cv_prog_cc_cross
5358
5359   
5360 fi
5361
5362   echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5363   if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5364     for ac_func in fpclass
5365 do
5366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5367 echo "configure:5368: checking for $ac_func" >&5
5368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5369   echo $ac_n "(cached) $ac_c" 1>&6
5370 else
5371   cat > conftest.$ac_ext <<EOF
5372 #line 5373 "configure"
5373 #include "confdefs.h"
5374 /* System header to define __stub macros and hopefully few prototypes,
5375     which can conflict with char $ac_func(); below.  */
5376 #include <assert.h>
5377 /* Override any gcc2 internal prototype to avoid an error.  */
5378 /* We use char because int might match the return type of a gcc2
5379     builtin and then its argument prototype would still apply.  */
5380 char $ac_func();
5381
5382 int main() {
5383
5384 /* The GNU C library defines this for functions which it implements
5385     to always fail with ENOSYS.  Some functions are actually named
5386     something starting with __ and the normal name is an alias.  */
5387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5388 choke me
5389 #else
5390 $ac_func();
5391 #endif
5392
5393 ; return 0; }
5394 EOF
5395 if { (eval echo configure:5396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5396   rm -rf conftest*
5397   eval "ac_cv_func_$ac_func=yes"
5398 else
5399   echo "configure: failed program was:" >&5
5400   cat conftest.$ac_ext >&5
5401   rm -rf conftest*
5402   eval "ac_cv_func_$ac_func=no"
5403 fi
5404 rm -f conftest*
5405 fi
5406
5407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5408   echo "$ac_t""yes" 1>&6
5409     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5410   cat >> confdefs.h <<EOF
5411 #define $ac_tr_func 1
5412 EOF
5413  
5414 else
5415   echo "$ac_t""no" 1>&6
5416 fi
5417 done
5418     
5419   fi
5420
5421   
5422   echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5423 echo "configure:5424: checking for qfpclass declaration" >&5
5424   if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5425   echo $ac_n "(cached) $ac_c" 1>&6
5426 else
5427   
5428     
5429     ac_ext=C
5430 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5431 ac_cpp='$CXXCPP $CPPFLAGS'
5432 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5433 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5434 cross_compiling=$ac_cv_prog_cxx_cross
5435
5436     cat > conftest.$ac_ext <<EOF
5437 #line 5438 "configure"
5438 #include "confdefs.h"
5439 #include <math.h>
5440 int main() {
5441  qfpclass(0);
5442 ; return 0; }
5443 EOF
5444 if { (eval echo configure:5445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5445   rm -rf conftest*
5446   glibcpp_cv_func_qfpclass_use=yes
5447 else
5448   echo "configure: failed program was:" >&5
5449   cat conftest.$ac_ext >&5
5450   rm -rf conftest*
5451   glibcpp_cv_func_qfpclass_use=no
5452 fi
5453 rm -f conftest*
5454     ac_ext=c
5455 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5456 ac_cpp='$CPP $CPPFLAGS'
5457 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5458 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5459 cross_compiling=$ac_cv_prog_cc_cross
5460
5461   
5462 fi
5463
5464   echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5465   if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5466     for ac_func in qfpclass
5467 do
5468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5469 echo "configure:5470: checking for $ac_func" >&5
5470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5471   echo $ac_n "(cached) $ac_c" 1>&6
5472 else
5473   cat > conftest.$ac_ext <<EOF
5474 #line 5475 "configure"
5475 #include "confdefs.h"
5476 /* System header to define __stub macros and hopefully few prototypes,
5477     which can conflict with char $ac_func(); below.  */
5478 #include <assert.h>
5479 /* Override any gcc2 internal prototype to avoid an error.  */
5480 /* We use char because int might match the return type of a gcc2
5481     builtin and then its argument prototype would still apply.  */
5482 char $ac_func();
5483
5484 int main() {
5485
5486 /* The GNU C library defines this for functions which it implements
5487     to always fail with ENOSYS.  Some functions are actually named
5488     something starting with __ and the normal name is an alias.  */
5489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5490 choke me
5491 #else
5492 $ac_func();
5493 #endif
5494
5495 ; return 0; }
5496 EOF
5497 if { (eval echo configure:5498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5498   rm -rf conftest*
5499   eval "ac_cv_func_$ac_func=yes"
5500 else
5501   echo "configure: failed program was:" >&5
5502   cat conftest.$ac_ext >&5
5503   rm -rf conftest*
5504   eval "ac_cv_func_$ac_func=no"
5505 fi
5506 rm -f conftest*
5507 fi
5508
5509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5510   echo "$ac_t""yes" 1>&6
5511     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5512   cat >> confdefs.h <<EOF
5513 #define $ac_tr_func 1
5514 EOF
5515  
5516 else
5517   echo "$ac_t""no" 1>&6
5518 fi
5519 done
5520     
5521   fi
5522
5523
5524     
5525   echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5526 echo "configure:5527: checking for isnanf declaration" >&5
5527   if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5528   echo $ac_n "(cached) $ac_c" 1>&6
5529 else
5530   
5531     
5532     ac_ext=C
5533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5534 ac_cpp='$CXXCPP $CPPFLAGS'
5535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5537 cross_compiling=$ac_cv_prog_cxx_cross
5538
5539     cat > conftest.$ac_ext <<EOF
5540 #line 5541 "configure"
5541 #include "confdefs.h"
5542 #include <math.h>
5543 int main() {
5544  isnanf(0);
5545 ; return 0; }
5546 EOF
5547 if { (eval echo configure:5548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5548   rm -rf conftest*
5549   glibcpp_cv_func_isnanf_use=yes
5550 else
5551   echo "configure: failed program was:" >&5
5552   cat conftest.$ac_ext >&5
5553   rm -rf conftest*
5554   glibcpp_cv_func_isnanf_use=no
5555 fi
5556 rm -f conftest*
5557     ac_ext=c
5558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5559 ac_cpp='$CPP $CPPFLAGS'
5560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5562 cross_compiling=$ac_cv_prog_cc_cross
5563
5564   
5565 fi
5566
5567   echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5568   if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5569     for ac_func in isnanf
5570 do
5571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5572 echo "configure:5573: checking for $ac_func" >&5
5573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5574   echo $ac_n "(cached) $ac_c" 1>&6
5575 else
5576   cat > conftest.$ac_ext <<EOF
5577 #line 5578 "configure"
5578 #include "confdefs.h"
5579 /* System header to define __stub macros and hopefully few prototypes,
5580     which can conflict with char $ac_func(); below.  */
5581 #include <assert.h>
5582 /* Override any gcc2 internal prototype to avoid an error.  */
5583 /* We use char because int might match the return type of a gcc2
5584     builtin and then its argument prototype would still apply.  */
5585 char $ac_func();
5586
5587 int main() {
5588
5589 /* The GNU C library defines this for functions which it implements
5590     to always fail with ENOSYS.  Some functions are actually named
5591     something starting with __ and the normal name is an alias.  */
5592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5593 choke me
5594 #else
5595 $ac_func();
5596 #endif
5597
5598 ; return 0; }
5599 EOF
5600 if { (eval echo configure:5601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5601   rm -rf conftest*
5602   eval "ac_cv_func_$ac_func=yes"
5603 else
5604   echo "configure: failed program was:" >&5
5605   cat conftest.$ac_ext >&5
5606   rm -rf conftest*
5607   eval "ac_cv_func_$ac_func=no"
5608 fi
5609 rm -f conftest*
5610 fi
5611
5612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5613   echo "$ac_t""yes" 1>&6
5614     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5615   cat >> confdefs.h <<EOF
5616 #define $ac_tr_func 1
5617 EOF
5618  
5619 else
5620   echo "$ac_t""no" 1>&6
5621 fi
5622 done
5623     
5624   fi
5625
5626   
5627   echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5628 echo "configure:5629: checking for isinff declaration" >&5
5629   if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5630   echo $ac_n "(cached) $ac_c" 1>&6
5631 else
5632   
5633     
5634     ac_ext=C
5635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5636 ac_cpp='$CXXCPP $CPPFLAGS'
5637 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5638 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5639 cross_compiling=$ac_cv_prog_cxx_cross
5640
5641     cat > conftest.$ac_ext <<EOF
5642 #line 5643 "configure"
5643 #include "confdefs.h"
5644 #include <math.h>
5645 int main() {
5646  isinff(0);
5647 ; return 0; }
5648 EOF
5649 if { (eval echo configure:5650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5650   rm -rf conftest*
5651   glibcpp_cv_func_isinff_use=yes
5652 else
5653   echo "configure: failed program was:" >&5
5654   cat conftest.$ac_ext >&5
5655   rm -rf conftest*
5656   glibcpp_cv_func_isinff_use=no
5657 fi
5658 rm -f conftest*
5659     ac_ext=c
5660 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5661 ac_cpp='$CPP $CPPFLAGS'
5662 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5663 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5664 cross_compiling=$ac_cv_prog_cc_cross
5665
5666   
5667 fi
5668
5669   echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5670   if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5671     for ac_func in isinff
5672 do
5673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5674 echo "configure:5675: checking for $ac_func" >&5
5675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5676   echo $ac_n "(cached) $ac_c" 1>&6
5677 else
5678   cat > conftest.$ac_ext <<EOF
5679 #line 5680 "configure"
5680 #include "confdefs.h"
5681 /* System header to define __stub macros and hopefully few prototypes,
5682     which can conflict with char $ac_func(); below.  */
5683 #include <assert.h>
5684 /* Override any gcc2 internal prototype to avoid an error.  */
5685 /* We use char because int might match the return type of a gcc2
5686     builtin and then its argument prototype would still apply.  */
5687 char $ac_func();
5688
5689 int main() {
5690
5691 /* The GNU C library defines this for functions which it implements
5692     to always fail with ENOSYS.  Some functions are actually named
5693     something starting with __ and the normal name is an alias.  */
5694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5695 choke me
5696 #else
5697 $ac_func();
5698 #endif
5699
5700 ; return 0; }
5701 EOF
5702 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5703   rm -rf conftest*
5704   eval "ac_cv_func_$ac_func=yes"
5705 else
5706   echo "configure: failed program was:" >&5
5707   cat conftest.$ac_ext >&5
5708   rm -rf conftest*
5709   eval "ac_cv_func_$ac_func=no"
5710 fi
5711 rm -f conftest*
5712 fi
5713
5714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5715   echo "$ac_t""yes" 1>&6
5716     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5717   cat >> confdefs.h <<EOF
5718 #define $ac_tr_func 1
5719 EOF
5720  
5721 else
5722   echo "$ac_t""no" 1>&6
5723 fi
5724 done
5725     
5726   fi
5727
5728   
5729   echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5730 echo "configure:5731: checking for acosf declaration" >&5
5731   if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5732   echo $ac_n "(cached) $ac_c" 1>&6
5733 else
5734   
5735     
5736     ac_ext=C
5737 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5738 ac_cpp='$CXXCPP $CPPFLAGS'
5739 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5740 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5741 cross_compiling=$ac_cv_prog_cxx_cross
5742
5743     cat > conftest.$ac_ext <<EOF
5744 #line 5745 "configure"
5745 #include "confdefs.h"
5746 #include <math.h>
5747 int main() {
5748  acosf(0);
5749 ; return 0; }
5750 EOF
5751 if { (eval echo configure:5752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5752   rm -rf conftest*
5753   glibcpp_cv_func_acosf_use=yes
5754 else
5755   echo "configure: failed program was:" >&5
5756   cat conftest.$ac_ext >&5
5757   rm -rf conftest*
5758   glibcpp_cv_func_acosf_use=no
5759 fi
5760 rm -f conftest*
5761     ac_ext=c
5762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5763 ac_cpp='$CPP $CPPFLAGS'
5764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5766 cross_compiling=$ac_cv_prog_cc_cross
5767
5768   
5769 fi
5770
5771   echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5772   if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5773     for ac_func in acosf
5774 do
5775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5776 echo "configure:5777: checking for $ac_func" >&5
5777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5778   echo $ac_n "(cached) $ac_c" 1>&6
5779 else
5780   cat > conftest.$ac_ext <<EOF
5781 #line 5782 "configure"
5782 #include "confdefs.h"
5783 /* System header to define __stub macros and hopefully few prototypes,
5784     which can conflict with char $ac_func(); below.  */
5785 #include <assert.h>
5786 /* Override any gcc2 internal prototype to avoid an error.  */
5787 /* We use char because int might match the return type of a gcc2
5788     builtin and then its argument prototype would still apply.  */
5789 char $ac_func();
5790
5791 int main() {
5792
5793 /* The GNU C library defines this for functions which it implements
5794     to always fail with ENOSYS.  Some functions are actually named
5795     something starting with __ and the normal name is an alias.  */
5796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5797 choke me
5798 #else
5799 $ac_func();
5800 #endif
5801
5802 ; return 0; }
5803 EOF
5804 if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5805   rm -rf conftest*
5806   eval "ac_cv_func_$ac_func=yes"
5807 else
5808   echo "configure: failed program was:" >&5
5809   cat conftest.$ac_ext >&5
5810   rm -rf conftest*
5811   eval "ac_cv_func_$ac_func=no"
5812 fi
5813 rm -f conftest*
5814 fi
5815
5816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5817   echo "$ac_t""yes" 1>&6
5818     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5819   cat >> confdefs.h <<EOF
5820 #define $ac_tr_func 1
5821 EOF
5822  
5823 else
5824   echo "$ac_t""no" 1>&6
5825 fi
5826 done
5827     
5828   fi
5829
5830   
5831   echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5832 echo "configure:5833: checking for asinf declaration" >&5
5833   if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5834   echo $ac_n "(cached) $ac_c" 1>&6
5835 else
5836   
5837     
5838     ac_ext=C
5839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5840 ac_cpp='$CXXCPP $CPPFLAGS'
5841 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5842 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5843 cross_compiling=$ac_cv_prog_cxx_cross
5844
5845     cat > conftest.$ac_ext <<EOF
5846 #line 5847 "configure"
5847 #include "confdefs.h"
5848 #include <math.h>
5849 int main() {
5850  asinf(0);
5851 ; return 0; }
5852 EOF
5853 if { (eval echo configure:5854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5854   rm -rf conftest*
5855   glibcpp_cv_func_asinf_use=yes
5856 else
5857   echo "configure: failed program was:" >&5
5858   cat conftest.$ac_ext >&5
5859   rm -rf conftest*
5860   glibcpp_cv_func_asinf_use=no
5861 fi
5862 rm -f conftest*
5863     ac_ext=c
5864 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5865 ac_cpp='$CPP $CPPFLAGS'
5866 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5867 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5868 cross_compiling=$ac_cv_prog_cc_cross
5869
5870   
5871 fi
5872
5873   echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5874   if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5875     for ac_func in asinf
5876 do
5877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5878 echo "configure:5879: checking for $ac_func" >&5
5879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5880   echo $ac_n "(cached) $ac_c" 1>&6
5881 else
5882   cat > conftest.$ac_ext <<EOF
5883 #line 5884 "configure"
5884 #include "confdefs.h"
5885 /* System header to define __stub macros and hopefully few prototypes,
5886     which can conflict with char $ac_func(); below.  */
5887 #include <assert.h>
5888 /* Override any gcc2 internal prototype to avoid an error.  */
5889 /* We use char because int might match the return type of a gcc2
5890     builtin and then its argument prototype would still apply.  */
5891 char $ac_func();
5892
5893 int main() {
5894
5895 /* The GNU C library defines this for functions which it implements
5896     to always fail with ENOSYS.  Some functions are actually named
5897     something starting with __ and the normal name is an alias.  */
5898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5899 choke me
5900 #else
5901 $ac_func();
5902 #endif
5903
5904 ; return 0; }
5905 EOF
5906 if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5907   rm -rf conftest*
5908   eval "ac_cv_func_$ac_func=yes"
5909 else
5910   echo "configure: failed program was:" >&5
5911   cat conftest.$ac_ext >&5
5912   rm -rf conftest*
5913   eval "ac_cv_func_$ac_func=no"
5914 fi
5915 rm -f conftest*
5916 fi
5917
5918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5919   echo "$ac_t""yes" 1>&6
5920     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5921   cat >> confdefs.h <<EOF
5922 #define $ac_tr_func 1
5923 EOF
5924  
5925 else
5926   echo "$ac_t""no" 1>&6
5927 fi
5928 done
5929     
5930   fi
5931
5932   
5933   echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
5934 echo "configure:5935: checking for atanf declaration" >&5
5935   if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
5936   echo $ac_n "(cached) $ac_c" 1>&6
5937 else
5938   
5939     
5940     ac_ext=C
5941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5942 ac_cpp='$CXXCPP $CPPFLAGS'
5943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5945 cross_compiling=$ac_cv_prog_cxx_cross
5946
5947     cat > conftest.$ac_ext <<EOF
5948 #line 5949 "configure"
5949 #include "confdefs.h"
5950 #include <math.h>
5951 int main() {
5952  atanf(0);
5953 ; return 0; }
5954 EOF
5955 if { (eval echo configure:5956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5956   rm -rf conftest*
5957   glibcpp_cv_func_atanf_use=yes
5958 else
5959   echo "configure: failed program was:" >&5
5960   cat conftest.$ac_ext >&5
5961   rm -rf conftest*
5962   glibcpp_cv_func_atanf_use=no
5963 fi
5964 rm -f conftest*
5965     ac_ext=c
5966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5967 ac_cpp='$CPP $CPPFLAGS'
5968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5970 cross_compiling=$ac_cv_prog_cc_cross
5971
5972   
5973 fi
5974
5975   echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
5976   if test x$glibcpp_cv_func_atanf_use = x"yes"; then
5977     for ac_func in atanf
5978 do
5979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5980 echo "configure:5981: checking for $ac_func" >&5
5981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5982   echo $ac_n "(cached) $ac_c" 1>&6
5983 else
5984   cat > conftest.$ac_ext <<EOF
5985 #line 5986 "configure"
5986 #include "confdefs.h"
5987 /* System header to define __stub macros and hopefully few prototypes,
5988     which can conflict with char $ac_func(); below.  */
5989 #include <assert.h>
5990 /* Override any gcc2 internal prototype to avoid an error.  */
5991 /* We use char because int might match the return type of a gcc2
5992     builtin and then its argument prototype would still apply.  */
5993 char $ac_func();
5994
5995 int main() {
5996
5997 /* The GNU C library defines this for functions which it implements
5998     to always fail with ENOSYS.  Some functions are actually named
5999     something starting with __ and the normal name is an alias.  */
6000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6001 choke me
6002 #else
6003 $ac_func();
6004 #endif
6005
6006 ; return 0; }
6007 EOF
6008 if { (eval echo configure:6009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6009   rm -rf conftest*
6010   eval "ac_cv_func_$ac_func=yes"
6011 else
6012   echo "configure: failed program was:" >&5
6013   cat conftest.$ac_ext >&5
6014   rm -rf conftest*
6015   eval "ac_cv_func_$ac_func=no"
6016 fi
6017 rm -f conftest*
6018 fi
6019
6020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6021   echo "$ac_t""yes" 1>&6
6022     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6023   cat >> confdefs.h <<EOF
6024 #define $ac_tr_func 1
6025 EOF
6026  
6027 else
6028   echo "$ac_t""no" 1>&6
6029 fi
6030 done
6031     
6032   fi
6033
6034   
6035   echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
6036 echo "configure:6037: checking for atan2f declaration" >&5
6037   if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
6038   echo $ac_n "(cached) $ac_c" 1>&6
6039 else
6040   
6041     
6042     ac_ext=C
6043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6044 ac_cpp='$CXXCPP $CPPFLAGS'
6045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6047 cross_compiling=$ac_cv_prog_cxx_cross
6048
6049     cat > conftest.$ac_ext <<EOF
6050 #line 6051 "configure"
6051 #include "confdefs.h"
6052 #include <math.h>
6053 int main() {
6054  atan2f(0, 0);
6055 ; return 0; }
6056 EOF
6057 if { (eval echo configure:6058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6058   rm -rf conftest*
6059   glibcpp_cv_func_atan2f_use=yes
6060 else
6061   echo "configure: failed program was:" >&5
6062   cat conftest.$ac_ext >&5
6063   rm -rf conftest*
6064   glibcpp_cv_func_atan2f_use=no
6065 fi
6066 rm -f conftest*
6067     ac_ext=c
6068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6069 ac_cpp='$CPP $CPPFLAGS'
6070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6072 cross_compiling=$ac_cv_prog_cc_cross
6073
6074   
6075 fi
6076
6077   echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6078   if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6079     for ac_func in atan2f
6080 do
6081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6082 echo "configure:6083: checking for $ac_func" >&5
6083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6084   echo $ac_n "(cached) $ac_c" 1>&6
6085 else
6086   cat > conftest.$ac_ext <<EOF
6087 #line 6088 "configure"
6088 #include "confdefs.h"
6089 /* System header to define __stub macros and hopefully few prototypes,
6090     which can conflict with char $ac_func(); below.  */
6091 #include <assert.h>
6092 /* Override any gcc2 internal prototype to avoid an error.  */
6093 /* We use char because int might match the return type of a gcc2
6094     builtin and then its argument prototype would still apply.  */
6095 char $ac_func();
6096
6097 int main() {
6098
6099 /* The GNU C library defines this for functions which it implements
6100     to always fail with ENOSYS.  Some functions are actually named
6101     something starting with __ and the normal name is an alias.  */
6102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6103 choke me
6104 #else
6105 $ac_func();
6106 #endif
6107
6108 ; return 0; }
6109 EOF
6110 if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6111   rm -rf conftest*
6112   eval "ac_cv_func_$ac_func=yes"
6113 else
6114   echo "configure: failed program was:" >&5
6115   cat conftest.$ac_ext >&5
6116   rm -rf conftest*
6117   eval "ac_cv_func_$ac_func=no"
6118 fi
6119 rm -f conftest*
6120 fi
6121
6122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6123   echo "$ac_t""yes" 1>&6
6124     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6125   cat >> confdefs.h <<EOF
6126 #define $ac_tr_func 1
6127 EOF
6128  
6129 else
6130   echo "$ac_t""no" 1>&6
6131 fi
6132 done
6133     
6134   fi
6135
6136   
6137   echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6138 echo "configure:6139: checking for ceilf declaration" >&5
6139   if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6140   echo $ac_n "(cached) $ac_c" 1>&6
6141 else
6142   
6143     
6144     ac_ext=C
6145 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6146 ac_cpp='$CXXCPP $CPPFLAGS'
6147 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6148 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6149 cross_compiling=$ac_cv_prog_cxx_cross
6150
6151     cat > conftest.$ac_ext <<EOF
6152 #line 6153 "configure"
6153 #include "confdefs.h"
6154 #include <math.h>
6155 int main() {
6156  ceilf(0);
6157 ; return 0; }
6158 EOF
6159 if { (eval echo configure:6160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6160   rm -rf conftest*
6161   glibcpp_cv_func_ceilf_use=yes
6162 else
6163   echo "configure: failed program was:" >&5
6164   cat conftest.$ac_ext >&5
6165   rm -rf conftest*
6166   glibcpp_cv_func_ceilf_use=no
6167 fi
6168 rm -f conftest*
6169     ac_ext=c
6170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6171 ac_cpp='$CPP $CPPFLAGS'
6172 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6173 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6174 cross_compiling=$ac_cv_prog_cc_cross
6175
6176   
6177 fi
6178
6179   echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6180   if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6181     for ac_func in ceilf
6182 do
6183 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6184 echo "configure:6185: checking for $ac_func" >&5
6185 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6186   echo $ac_n "(cached) $ac_c" 1>&6
6187 else
6188   cat > conftest.$ac_ext <<EOF
6189 #line 6190 "configure"
6190 #include "confdefs.h"
6191 /* System header to define __stub macros and hopefully few prototypes,
6192     which can conflict with char $ac_func(); below.  */
6193 #include <assert.h>
6194 /* Override any gcc2 internal prototype to avoid an error.  */
6195 /* We use char because int might match the return type of a gcc2
6196     builtin and then its argument prototype would still apply.  */
6197 char $ac_func();
6198
6199 int main() {
6200
6201 /* The GNU C library defines this for functions which it implements
6202     to always fail with ENOSYS.  Some functions are actually named
6203     something starting with __ and the normal name is an alias.  */
6204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6205 choke me
6206 #else
6207 $ac_func();
6208 #endif
6209
6210 ; return 0; }
6211 EOF
6212 if { (eval echo configure:6213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6213   rm -rf conftest*
6214   eval "ac_cv_func_$ac_func=yes"
6215 else
6216   echo "configure: failed program was:" >&5
6217   cat conftest.$ac_ext >&5
6218   rm -rf conftest*
6219   eval "ac_cv_func_$ac_func=no"
6220 fi
6221 rm -f conftest*
6222 fi
6223
6224 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6225   echo "$ac_t""yes" 1>&6
6226     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6227   cat >> confdefs.h <<EOF
6228 #define $ac_tr_func 1
6229 EOF
6230  
6231 else
6232   echo "$ac_t""no" 1>&6
6233 fi
6234 done
6235     
6236   fi
6237
6238   
6239   echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6240 echo "configure:6241: checking for cosf declaration" >&5
6241   if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6242   echo $ac_n "(cached) $ac_c" 1>&6
6243 else
6244   
6245     
6246     ac_ext=C
6247 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6248 ac_cpp='$CXXCPP $CPPFLAGS'
6249 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6250 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6251 cross_compiling=$ac_cv_prog_cxx_cross
6252
6253     cat > conftest.$ac_ext <<EOF
6254 #line 6255 "configure"
6255 #include "confdefs.h"
6256 #include <math.h>
6257 int main() {
6258  cosf(0);
6259 ; return 0; }
6260 EOF
6261 if { (eval echo configure:6262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6262   rm -rf conftest*
6263   glibcpp_cv_func_cosf_use=yes
6264 else
6265   echo "configure: failed program was:" >&5
6266   cat conftest.$ac_ext >&5
6267   rm -rf conftest*
6268   glibcpp_cv_func_cosf_use=no
6269 fi
6270 rm -f conftest*
6271     ac_ext=c
6272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6273 ac_cpp='$CPP $CPPFLAGS'
6274 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6275 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6276 cross_compiling=$ac_cv_prog_cc_cross
6277
6278   
6279 fi
6280
6281   echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6282   if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6283     for ac_func in cosf
6284 do
6285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6286 echo "configure:6287: checking for $ac_func" >&5
6287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6288   echo $ac_n "(cached) $ac_c" 1>&6
6289 else
6290   cat > conftest.$ac_ext <<EOF
6291 #line 6292 "configure"
6292 #include "confdefs.h"
6293 /* System header to define __stub macros and hopefully few prototypes,
6294     which can conflict with char $ac_func(); below.  */
6295 #include <assert.h>
6296 /* Override any gcc2 internal prototype to avoid an error.  */
6297 /* We use char because int might match the return type of a gcc2
6298     builtin and then its argument prototype would still apply.  */
6299 char $ac_func();
6300
6301 int main() {
6302
6303 /* The GNU C library defines this for functions which it implements
6304     to always fail with ENOSYS.  Some functions are actually named
6305     something starting with __ and the normal name is an alias.  */
6306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6307 choke me
6308 #else
6309 $ac_func();
6310 #endif
6311
6312 ; return 0; }
6313 EOF
6314 if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6315   rm -rf conftest*
6316   eval "ac_cv_func_$ac_func=yes"
6317 else
6318   echo "configure: failed program was:" >&5
6319   cat conftest.$ac_ext >&5
6320   rm -rf conftest*
6321   eval "ac_cv_func_$ac_func=no"
6322 fi
6323 rm -f conftest*
6324 fi
6325
6326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6327   echo "$ac_t""yes" 1>&6
6328     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6329   cat >> confdefs.h <<EOF
6330 #define $ac_tr_func 1
6331 EOF
6332  
6333 else
6334   echo "$ac_t""no" 1>&6
6335 fi
6336 done
6337     
6338   fi
6339
6340   
6341   echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6342 echo "configure:6343: checking for coshf declaration" >&5
6343   if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6344   echo $ac_n "(cached) $ac_c" 1>&6
6345 else
6346   
6347     
6348     ac_ext=C
6349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6350 ac_cpp='$CXXCPP $CPPFLAGS'
6351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6353 cross_compiling=$ac_cv_prog_cxx_cross
6354
6355     cat > conftest.$ac_ext <<EOF
6356 #line 6357 "configure"
6357 #include "confdefs.h"
6358 #include <math.h>
6359 int main() {
6360  coshf(0);
6361 ; return 0; }
6362 EOF
6363 if { (eval echo configure:6364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6364   rm -rf conftest*
6365   glibcpp_cv_func_coshf_use=yes
6366 else
6367   echo "configure: failed program was:" >&5
6368   cat conftest.$ac_ext >&5
6369   rm -rf conftest*
6370   glibcpp_cv_func_coshf_use=no
6371 fi
6372 rm -f conftest*
6373     ac_ext=c
6374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6375 ac_cpp='$CPP $CPPFLAGS'
6376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6378 cross_compiling=$ac_cv_prog_cc_cross
6379
6380   
6381 fi
6382
6383   echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6384   if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6385     for ac_func in coshf
6386 do
6387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6388 echo "configure:6389: checking for $ac_func" >&5
6389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6390   echo $ac_n "(cached) $ac_c" 1>&6
6391 else
6392   cat > conftest.$ac_ext <<EOF
6393 #line 6394 "configure"
6394 #include "confdefs.h"
6395 /* System header to define __stub macros and hopefully few prototypes,
6396     which can conflict with char $ac_func(); below.  */
6397 #include <assert.h>
6398 /* Override any gcc2 internal prototype to avoid an error.  */
6399 /* We use char because int might match the return type of a gcc2
6400     builtin and then its argument prototype would still apply.  */
6401 char $ac_func();
6402
6403 int main() {
6404
6405 /* The GNU C library defines this for functions which it implements
6406     to always fail with ENOSYS.  Some functions are actually named
6407     something starting with __ and the normal name is an alias.  */
6408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6409 choke me
6410 #else
6411 $ac_func();
6412 #endif
6413
6414 ; return 0; }
6415 EOF
6416 if { (eval echo configure:6417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6417   rm -rf conftest*
6418   eval "ac_cv_func_$ac_func=yes"
6419 else
6420   echo "configure: failed program was:" >&5
6421   cat conftest.$ac_ext >&5
6422   rm -rf conftest*
6423   eval "ac_cv_func_$ac_func=no"
6424 fi
6425 rm -f conftest*
6426 fi
6427
6428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6429   echo "$ac_t""yes" 1>&6
6430     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6431   cat >> confdefs.h <<EOF
6432 #define $ac_tr_func 1
6433 EOF
6434  
6435 else
6436   echo "$ac_t""no" 1>&6
6437 fi
6438 done
6439     
6440   fi
6441
6442   
6443   echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6444 echo "configure:6445: checking for expf declaration" >&5
6445   if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6446   echo $ac_n "(cached) $ac_c" 1>&6
6447 else
6448   
6449     
6450     ac_ext=C
6451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6452 ac_cpp='$CXXCPP $CPPFLAGS'
6453 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6454 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6455 cross_compiling=$ac_cv_prog_cxx_cross
6456
6457     cat > conftest.$ac_ext <<EOF
6458 #line 6459 "configure"
6459 #include "confdefs.h"
6460 #include <math.h>
6461 int main() {
6462  expf(0);
6463 ; return 0; }
6464 EOF
6465 if { (eval echo configure:6466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6466   rm -rf conftest*
6467   glibcpp_cv_func_expf_use=yes
6468 else
6469   echo "configure: failed program was:" >&5
6470   cat conftest.$ac_ext >&5
6471   rm -rf conftest*
6472   glibcpp_cv_func_expf_use=no
6473 fi
6474 rm -f conftest*
6475     ac_ext=c
6476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6477 ac_cpp='$CPP $CPPFLAGS'
6478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6480 cross_compiling=$ac_cv_prog_cc_cross
6481
6482   
6483 fi
6484
6485   echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6486   if test x$glibcpp_cv_func_expf_use = x"yes"; then
6487     for ac_func in expf
6488 do
6489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6490 echo "configure:6491: checking for $ac_func" >&5
6491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6492   echo $ac_n "(cached) $ac_c" 1>&6
6493 else
6494   cat > conftest.$ac_ext <<EOF
6495 #line 6496 "configure"
6496 #include "confdefs.h"
6497 /* System header to define __stub macros and hopefully few prototypes,
6498     which can conflict with char $ac_func(); below.  */
6499 #include <assert.h>
6500 /* Override any gcc2 internal prototype to avoid an error.  */
6501 /* We use char because int might match the return type of a gcc2
6502     builtin and then its argument prototype would still apply.  */
6503 char $ac_func();
6504
6505 int main() {
6506
6507 /* The GNU C library defines this for functions which it implements
6508     to always fail with ENOSYS.  Some functions are actually named
6509     something starting with __ and the normal name is an alias.  */
6510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6511 choke me
6512 #else
6513 $ac_func();
6514 #endif
6515
6516 ; return 0; }
6517 EOF
6518 if { (eval echo configure:6519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6519   rm -rf conftest*
6520   eval "ac_cv_func_$ac_func=yes"
6521 else
6522   echo "configure: failed program was:" >&5
6523   cat conftest.$ac_ext >&5
6524   rm -rf conftest*
6525   eval "ac_cv_func_$ac_func=no"
6526 fi
6527 rm -f conftest*
6528 fi
6529
6530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6531   echo "$ac_t""yes" 1>&6
6532     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6533   cat >> confdefs.h <<EOF
6534 #define $ac_tr_func 1
6535 EOF
6536  
6537 else
6538   echo "$ac_t""no" 1>&6
6539 fi
6540 done
6541     
6542   fi
6543
6544   
6545   echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6546 echo "configure:6547: checking for fabsf declaration" >&5
6547   if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6548   echo $ac_n "(cached) $ac_c" 1>&6
6549 else
6550   
6551     
6552     ac_ext=C
6553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6554 ac_cpp='$CXXCPP $CPPFLAGS'
6555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6557 cross_compiling=$ac_cv_prog_cxx_cross
6558
6559     cat > conftest.$ac_ext <<EOF
6560 #line 6561 "configure"
6561 #include "confdefs.h"
6562 #include <math.h>
6563 int main() {
6564  fabsf(0);
6565 ; return 0; }
6566 EOF
6567 if { (eval echo configure:6568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6568   rm -rf conftest*
6569   glibcpp_cv_func_fabsf_use=yes
6570 else
6571   echo "configure: failed program was:" >&5
6572   cat conftest.$ac_ext >&5
6573   rm -rf conftest*
6574   glibcpp_cv_func_fabsf_use=no
6575 fi
6576 rm -f conftest*
6577     ac_ext=c
6578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6579 ac_cpp='$CPP $CPPFLAGS'
6580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6582 cross_compiling=$ac_cv_prog_cc_cross
6583
6584   
6585 fi
6586
6587   echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6588   if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6589     for ac_func in fabsf
6590 do
6591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6592 echo "configure:6593: checking for $ac_func" >&5
6593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6594   echo $ac_n "(cached) $ac_c" 1>&6
6595 else
6596   cat > conftest.$ac_ext <<EOF
6597 #line 6598 "configure"
6598 #include "confdefs.h"
6599 /* System header to define __stub macros and hopefully few prototypes,
6600     which can conflict with char $ac_func(); below.  */
6601 #include <assert.h>
6602 /* Override any gcc2 internal prototype to avoid an error.  */
6603 /* We use char because int might match the return type of a gcc2
6604     builtin and then its argument prototype would still apply.  */
6605 char $ac_func();
6606
6607 int main() {
6608
6609 /* The GNU C library defines this for functions which it implements
6610     to always fail with ENOSYS.  Some functions are actually named
6611     something starting with __ and the normal name is an alias.  */
6612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6613 choke me
6614 #else
6615 $ac_func();
6616 #endif
6617
6618 ; return 0; }
6619 EOF
6620 if { (eval echo configure:6621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6621   rm -rf conftest*
6622   eval "ac_cv_func_$ac_func=yes"
6623 else
6624   echo "configure: failed program was:" >&5
6625   cat conftest.$ac_ext >&5
6626   rm -rf conftest*
6627   eval "ac_cv_func_$ac_func=no"
6628 fi
6629 rm -f conftest*
6630 fi
6631
6632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6633   echo "$ac_t""yes" 1>&6
6634     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6635   cat >> confdefs.h <<EOF
6636 #define $ac_tr_func 1
6637 EOF
6638  
6639 else
6640   echo "$ac_t""no" 1>&6
6641 fi
6642 done
6643     
6644   fi
6645
6646   
6647   echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6648 echo "configure:6649: checking for floorf declaration" >&5
6649   if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6650   echo $ac_n "(cached) $ac_c" 1>&6
6651 else
6652   
6653     
6654     ac_ext=C
6655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6656 ac_cpp='$CXXCPP $CPPFLAGS'
6657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6659 cross_compiling=$ac_cv_prog_cxx_cross
6660
6661     cat > conftest.$ac_ext <<EOF
6662 #line 6663 "configure"
6663 #include "confdefs.h"
6664 #include <math.h>
6665 int main() {
6666  floorf(0);
6667 ; return 0; }
6668 EOF
6669 if { (eval echo configure:6670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6670   rm -rf conftest*
6671   glibcpp_cv_func_floorf_use=yes
6672 else
6673   echo "configure: failed program was:" >&5
6674   cat conftest.$ac_ext >&5
6675   rm -rf conftest*
6676   glibcpp_cv_func_floorf_use=no
6677 fi
6678 rm -f conftest*
6679     ac_ext=c
6680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6681 ac_cpp='$CPP $CPPFLAGS'
6682 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6683 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6684 cross_compiling=$ac_cv_prog_cc_cross
6685
6686   
6687 fi
6688
6689   echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6690   if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6691     for ac_func in floorf
6692 do
6693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6694 echo "configure:6695: checking for $ac_func" >&5
6695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6696   echo $ac_n "(cached) $ac_c" 1>&6
6697 else
6698   cat > conftest.$ac_ext <<EOF
6699 #line 6700 "configure"
6700 #include "confdefs.h"
6701 /* System header to define __stub macros and hopefully few prototypes,
6702     which can conflict with char $ac_func(); below.  */
6703 #include <assert.h>
6704 /* Override any gcc2 internal prototype to avoid an error.  */
6705 /* We use char because int might match the return type of a gcc2
6706     builtin and then its argument prototype would still apply.  */
6707 char $ac_func();
6708
6709 int main() {
6710
6711 /* The GNU C library defines this for functions which it implements
6712     to always fail with ENOSYS.  Some functions are actually named
6713     something starting with __ and the normal name is an alias.  */
6714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6715 choke me
6716 #else
6717 $ac_func();
6718 #endif
6719
6720 ; return 0; }
6721 EOF
6722 if { (eval echo configure:6723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6723   rm -rf conftest*
6724   eval "ac_cv_func_$ac_func=yes"
6725 else
6726   echo "configure: failed program was:" >&5
6727   cat conftest.$ac_ext >&5
6728   rm -rf conftest*
6729   eval "ac_cv_func_$ac_func=no"
6730 fi
6731 rm -f conftest*
6732 fi
6733
6734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6735   echo "$ac_t""yes" 1>&6
6736     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6737   cat >> confdefs.h <<EOF
6738 #define $ac_tr_func 1
6739 EOF
6740  
6741 else
6742   echo "$ac_t""no" 1>&6
6743 fi
6744 done
6745     
6746   fi
6747
6748   
6749   echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6750 echo "configure:6751: checking for fmodf declaration" >&5
6751   if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6752   echo $ac_n "(cached) $ac_c" 1>&6
6753 else
6754   
6755     
6756     ac_ext=C
6757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6758 ac_cpp='$CXXCPP $CPPFLAGS'
6759 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6760 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6761 cross_compiling=$ac_cv_prog_cxx_cross
6762
6763     cat > conftest.$ac_ext <<EOF
6764 #line 6765 "configure"
6765 #include "confdefs.h"
6766 #include <math.h>
6767 int main() {
6768  fmodf(0, 0);
6769 ; return 0; }
6770 EOF
6771 if { (eval echo configure:6772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6772   rm -rf conftest*
6773   glibcpp_cv_func_fmodf_use=yes
6774 else
6775   echo "configure: failed program was:" >&5
6776   cat conftest.$ac_ext >&5
6777   rm -rf conftest*
6778   glibcpp_cv_func_fmodf_use=no
6779 fi
6780 rm -f conftest*
6781     ac_ext=c
6782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6783 ac_cpp='$CPP $CPPFLAGS'
6784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6786 cross_compiling=$ac_cv_prog_cc_cross
6787
6788   
6789 fi
6790
6791   echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6792   if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6793     for ac_func in fmodf
6794 do
6795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6796 echo "configure:6797: checking for $ac_func" >&5
6797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6798   echo $ac_n "(cached) $ac_c" 1>&6
6799 else
6800   cat > conftest.$ac_ext <<EOF
6801 #line 6802 "configure"
6802 #include "confdefs.h"
6803 /* System header to define __stub macros and hopefully few prototypes,
6804     which can conflict with char $ac_func(); below.  */
6805 #include <assert.h>
6806 /* Override any gcc2 internal prototype to avoid an error.  */
6807 /* We use char because int might match the return type of a gcc2
6808     builtin and then its argument prototype would still apply.  */
6809 char $ac_func();
6810
6811 int main() {
6812
6813 /* The GNU C library defines this for functions which it implements
6814     to always fail with ENOSYS.  Some functions are actually named
6815     something starting with __ and the normal name is an alias.  */
6816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6817 choke me
6818 #else
6819 $ac_func();
6820 #endif
6821
6822 ; return 0; }
6823 EOF
6824 if { (eval echo configure:6825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6825   rm -rf conftest*
6826   eval "ac_cv_func_$ac_func=yes"
6827 else
6828   echo "configure: failed program was:" >&5
6829   cat conftest.$ac_ext >&5
6830   rm -rf conftest*
6831   eval "ac_cv_func_$ac_func=no"
6832 fi
6833 rm -f conftest*
6834 fi
6835
6836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6837   echo "$ac_t""yes" 1>&6
6838     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6839   cat >> confdefs.h <<EOF
6840 #define $ac_tr_func 1
6841 EOF
6842  
6843 else
6844   echo "$ac_t""no" 1>&6
6845 fi
6846 done
6847     
6848   fi
6849
6850   
6851   echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6852 echo "configure:6853: checking for frexpf declaration" >&5
6853   if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6854   echo $ac_n "(cached) $ac_c" 1>&6
6855 else
6856   
6857     
6858     ac_ext=C
6859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6860 ac_cpp='$CXXCPP $CPPFLAGS'
6861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6863 cross_compiling=$ac_cv_prog_cxx_cross
6864
6865     cat > conftest.$ac_ext <<EOF
6866 #line 6867 "configure"
6867 #include "confdefs.h"
6868 #include <math.h>
6869 int main() {
6870  frexpf(0, 0);
6871 ; return 0; }
6872 EOF
6873 if { (eval echo configure:6874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6874   rm -rf conftest*
6875   glibcpp_cv_func_frexpf_use=yes
6876 else
6877   echo "configure: failed program was:" >&5
6878   cat conftest.$ac_ext >&5
6879   rm -rf conftest*
6880   glibcpp_cv_func_frexpf_use=no
6881 fi
6882 rm -f conftest*
6883     ac_ext=c
6884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6885 ac_cpp='$CPP $CPPFLAGS'
6886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6888 cross_compiling=$ac_cv_prog_cc_cross
6889
6890   
6891 fi
6892
6893   echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6894   if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6895     for ac_func in frexpf
6896 do
6897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6898 echo "configure:6899: checking for $ac_func" >&5
6899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6900   echo $ac_n "(cached) $ac_c" 1>&6
6901 else
6902   cat > conftest.$ac_ext <<EOF
6903 #line 6904 "configure"
6904 #include "confdefs.h"
6905 /* System header to define __stub macros and hopefully few prototypes,
6906     which can conflict with char $ac_func(); below.  */
6907 #include <assert.h>
6908 /* Override any gcc2 internal prototype to avoid an error.  */
6909 /* We use char because int might match the return type of a gcc2
6910     builtin and then its argument prototype would still apply.  */
6911 char $ac_func();
6912
6913 int main() {
6914
6915 /* The GNU C library defines this for functions which it implements
6916     to always fail with ENOSYS.  Some functions are actually named
6917     something starting with __ and the normal name is an alias.  */
6918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6919 choke me
6920 #else
6921 $ac_func();
6922 #endif
6923
6924 ; return 0; }
6925 EOF
6926 if { (eval echo configure:6927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6927   rm -rf conftest*
6928   eval "ac_cv_func_$ac_func=yes"
6929 else
6930   echo "configure: failed program was:" >&5
6931   cat conftest.$ac_ext >&5
6932   rm -rf conftest*
6933   eval "ac_cv_func_$ac_func=no"
6934 fi
6935 rm -f conftest*
6936 fi
6937
6938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6939   echo "$ac_t""yes" 1>&6
6940     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6941   cat >> confdefs.h <<EOF
6942 #define $ac_tr_func 1
6943 EOF
6944  
6945 else
6946   echo "$ac_t""no" 1>&6
6947 fi
6948 done
6949     
6950   fi
6951
6952   
6953   echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
6954 echo "configure:6955: checking for ldexpf declaration" >&5
6955   if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
6956   echo $ac_n "(cached) $ac_c" 1>&6
6957 else
6958   
6959     
6960     ac_ext=C
6961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6962 ac_cpp='$CXXCPP $CPPFLAGS'
6963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6965 cross_compiling=$ac_cv_prog_cxx_cross
6966
6967     cat > conftest.$ac_ext <<EOF
6968 #line 6969 "configure"
6969 #include "confdefs.h"
6970 #include <math.h>
6971 int main() {
6972  ldexpf(0, 0);
6973 ; return 0; }
6974 EOF
6975 if { (eval echo configure:6976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6976   rm -rf conftest*
6977   glibcpp_cv_func_ldexpf_use=yes
6978 else
6979   echo "configure: failed program was:" >&5
6980   cat conftest.$ac_ext >&5
6981   rm -rf conftest*
6982   glibcpp_cv_func_ldexpf_use=no
6983 fi
6984 rm -f conftest*
6985     ac_ext=c
6986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6987 ac_cpp='$CPP $CPPFLAGS'
6988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6990 cross_compiling=$ac_cv_prog_cc_cross
6991
6992   
6993 fi
6994
6995   echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
6996   if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
6997     for ac_func in ldexpf
6998 do
6999 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7000 echo "configure:7001: checking for $ac_func" >&5
7001 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7002   echo $ac_n "(cached) $ac_c" 1>&6
7003 else
7004   cat > conftest.$ac_ext <<EOF
7005 #line 7006 "configure"
7006 #include "confdefs.h"
7007 /* System header to define __stub macros and hopefully few prototypes,
7008     which can conflict with char $ac_func(); below.  */
7009 #include <assert.h>
7010 /* Override any gcc2 internal prototype to avoid an error.  */
7011 /* We use char because int might match the return type of a gcc2
7012     builtin and then its argument prototype would still apply.  */
7013 char $ac_func();
7014
7015 int main() {
7016
7017 /* The GNU C library defines this for functions which it implements
7018     to always fail with ENOSYS.  Some functions are actually named
7019     something starting with __ and the normal name is an alias.  */
7020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7021 choke me
7022 #else
7023 $ac_func();
7024 #endif
7025
7026 ; return 0; }
7027 EOF
7028 if { (eval echo configure:7029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7029   rm -rf conftest*
7030   eval "ac_cv_func_$ac_func=yes"
7031 else
7032   echo "configure: failed program was:" >&5
7033   cat conftest.$ac_ext >&5
7034   rm -rf conftest*
7035   eval "ac_cv_func_$ac_func=no"
7036 fi
7037 rm -f conftest*
7038 fi
7039
7040 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7041   echo "$ac_t""yes" 1>&6
7042     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7043   cat >> confdefs.h <<EOF
7044 #define $ac_tr_func 1
7045 EOF
7046  
7047 else
7048   echo "$ac_t""no" 1>&6
7049 fi
7050 done
7051     
7052   fi
7053
7054   
7055   echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7056 echo "configure:7057: checking for logf declaration" >&5
7057   if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7058   echo $ac_n "(cached) $ac_c" 1>&6
7059 else
7060   
7061     
7062     ac_ext=C
7063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7064 ac_cpp='$CXXCPP $CPPFLAGS'
7065 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7066 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7067 cross_compiling=$ac_cv_prog_cxx_cross
7068
7069     cat > conftest.$ac_ext <<EOF
7070 #line 7071 "configure"
7071 #include "confdefs.h"
7072 #include <math.h>
7073 int main() {
7074  logf(0);
7075 ; return 0; }
7076 EOF
7077 if { (eval echo configure:7078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7078   rm -rf conftest*
7079   glibcpp_cv_func_logf_use=yes
7080 else
7081   echo "configure: failed program was:" >&5
7082   cat conftest.$ac_ext >&5
7083   rm -rf conftest*
7084   glibcpp_cv_func_logf_use=no
7085 fi
7086 rm -f conftest*
7087     ac_ext=c
7088 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7089 ac_cpp='$CPP $CPPFLAGS'
7090 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7091 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7092 cross_compiling=$ac_cv_prog_cc_cross
7093
7094   
7095 fi
7096
7097   echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7098   if test x$glibcpp_cv_func_logf_use = x"yes"; then
7099     for ac_func in logf
7100 do
7101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7102 echo "configure:7103: checking for $ac_func" >&5
7103 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7104   echo $ac_n "(cached) $ac_c" 1>&6
7105 else
7106   cat > conftest.$ac_ext <<EOF
7107 #line 7108 "configure"
7108 #include "confdefs.h"
7109 /* System header to define __stub macros and hopefully few prototypes,
7110     which can conflict with char $ac_func(); below.  */
7111 #include <assert.h>
7112 /* Override any gcc2 internal prototype to avoid an error.  */
7113 /* We use char because int might match the return type of a gcc2
7114     builtin and then its argument prototype would still apply.  */
7115 char $ac_func();
7116
7117 int main() {
7118
7119 /* The GNU C library defines this for functions which it implements
7120     to always fail with ENOSYS.  Some functions are actually named
7121     something starting with __ and the normal name is an alias.  */
7122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7123 choke me
7124 #else
7125 $ac_func();
7126 #endif
7127
7128 ; return 0; }
7129 EOF
7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7131   rm -rf conftest*
7132   eval "ac_cv_func_$ac_func=yes"
7133 else
7134   echo "configure: failed program was:" >&5
7135   cat conftest.$ac_ext >&5
7136   rm -rf conftest*
7137   eval "ac_cv_func_$ac_func=no"
7138 fi
7139 rm -f conftest*
7140 fi
7141
7142 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7143   echo "$ac_t""yes" 1>&6
7144     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7145   cat >> confdefs.h <<EOF
7146 #define $ac_tr_func 1
7147 EOF
7148  
7149 else
7150   echo "$ac_t""no" 1>&6
7151 fi
7152 done
7153     
7154   fi
7155
7156   
7157   echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7158 echo "configure:7159: checking for log10f declaration" >&5
7159   if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7160   echo $ac_n "(cached) $ac_c" 1>&6
7161 else
7162   
7163     
7164     ac_ext=C
7165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7166 ac_cpp='$CXXCPP $CPPFLAGS'
7167 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7168 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7169 cross_compiling=$ac_cv_prog_cxx_cross
7170
7171     cat > conftest.$ac_ext <<EOF
7172 #line 7173 "configure"
7173 #include "confdefs.h"
7174 #include <math.h>
7175 int main() {
7176  log10f(0);
7177 ; return 0; }
7178 EOF
7179 if { (eval echo configure:7180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7180   rm -rf conftest*
7181   glibcpp_cv_func_log10f_use=yes
7182 else
7183   echo "configure: failed program was:" >&5
7184   cat conftest.$ac_ext >&5
7185   rm -rf conftest*
7186   glibcpp_cv_func_log10f_use=no
7187 fi
7188 rm -f conftest*
7189     ac_ext=c
7190 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7191 ac_cpp='$CPP $CPPFLAGS'
7192 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7193 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7194 cross_compiling=$ac_cv_prog_cc_cross
7195
7196   
7197 fi
7198
7199   echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7200   if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7201     for ac_func in log10f
7202 do
7203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7204 echo "configure:7205: checking for $ac_func" >&5
7205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7206   echo $ac_n "(cached) $ac_c" 1>&6
7207 else
7208   cat > conftest.$ac_ext <<EOF
7209 #line 7210 "configure"
7210 #include "confdefs.h"
7211 /* System header to define __stub macros and hopefully few prototypes,
7212     which can conflict with char $ac_func(); below.  */
7213 #include <assert.h>
7214 /* Override any gcc2 internal prototype to avoid an error.  */
7215 /* We use char because int might match the return type of a gcc2
7216     builtin and then its argument prototype would still apply.  */
7217 char $ac_func();
7218
7219 int main() {
7220
7221 /* The GNU C library defines this for functions which it implements
7222     to always fail with ENOSYS.  Some functions are actually named
7223     something starting with __ and the normal name is an alias.  */
7224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7225 choke me
7226 #else
7227 $ac_func();
7228 #endif
7229
7230 ; return 0; }
7231 EOF
7232 if { (eval echo configure:7233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7233   rm -rf conftest*
7234   eval "ac_cv_func_$ac_func=yes"
7235 else
7236   echo "configure: failed program was:" >&5
7237   cat conftest.$ac_ext >&5
7238   rm -rf conftest*
7239   eval "ac_cv_func_$ac_func=no"
7240 fi
7241 rm -f conftest*
7242 fi
7243
7244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7245   echo "$ac_t""yes" 1>&6
7246     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7247   cat >> confdefs.h <<EOF
7248 #define $ac_tr_func 1
7249 EOF
7250  
7251 else
7252   echo "$ac_t""no" 1>&6
7253 fi
7254 done
7255     
7256   fi
7257
7258   
7259   echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7260 echo "configure:7261: checking for modff declaration" >&5
7261   if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7262   echo $ac_n "(cached) $ac_c" 1>&6
7263 else
7264   
7265     
7266     ac_ext=C
7267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7268 ac_cpp='$CXXCPP $CPPFLAGS'
7269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7271 cross_compiling=$ac_cv_prog_cxx_cross
7272
7273     cat > conftest.$ac_ext <<EOF
7274 #line 7275 "configure"
7275 #include "confdefs.h"
7276 #include <math.h>
7277 int main() {
7278  modff(0, 0);
7279 ; return 0; }
7280 EOF
7281 if { (eval echo configure:7282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7282   rm -rf conftest*
7283   glibcpp_cv_func_modff_use=yes
7284 else
7285   echo "configure: failed program was:" >&5
7286   cat conftest.$ac_ext >&5
7287   rm -rf conftest*
7288   glibcpp_cv_func_modff_use=no
7289 fi
7290 rm -f conftest*
7291     ac_ext=c
7292 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7293 ac_cpp='$CPP $CPPFLAGS'
7294 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7295 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7296 cross_compiling=$ac_cv_prog_cc_cross
7297
7298   
7299 fi
7300
7301   echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7302   if test x$glibcpp_cv_func_modff_use = x"yes"; then
7303     for ac_func in modff
7304 do
7305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7306 echo "configure:7307: checking for $ac_func" >&5
7307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7308   echo $ac_n "(cached) $ac_c" 1>&6
7309 else
7310   cat > conftest.$ac_ext <<EOF
7311 #line 7312 "configure"
7312 #include "confdefs.h"
7313 /* System header to define __stub macros and hopefully few prototypes,
7314     which can conflict with char $ac_func(); below.  */
7315 #include <assert.h>
7316 /* Override any gcc2 internal prototype to avoid an error.  */
7317 /* We use char because int might match the return type of a gcc2
7318     builtin and then its argument prototype would still apply.  */
7319 char $ac_func();
7320
7321 int main() {
7322
7323 /* The GNU C library defines this for functions which it implements
7324     to always fail with ENOSYS.  Some functions are actually named
7325     something starting with __ and the normal name is an alias.  */
7326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7327 choke me
7328 #else
7329 $ac_func();
7330 #endif
7331
7332 ; return 0; }
7333 EOF
7334 if { (eval echo configure:7335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7335   rm -rf conftest*
7336   eval "ac_cv_func_$ac_func=yes"
7337 else
7338   echo "configure: failed program was:" >&5
7339   cat conftest.$ac_ext >&5
7340   rm -rf conftest*
7341   eval "ac_cv_func_$ac_func=no"
7342 fi
7343 rm -f conftest*
7344 fi
7345
7346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7347   echo "$ac_t""yes" 1>&6
7348     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7349   cat >> confdefs.h <<EOF
7350 #define $ac_tr_func 1
7351 EOF
7352  
7353 else
7354   echo "$ac_t""no" 1>&6
7355 fi
7356 done
7357     
7358   fi
7359
7360   
7361   echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7362 echo "configure:7363: checking for powf declaration" >&5
7363   if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7364   echo $ac_n "(cached) $ac_c" 1>&6
7365 else
7366   
7367     
7368     ac_ext=C
7369 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7370 ac_cpp='$CXXCPP $CPPFLAGS'
7371 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7372 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7373 cross_compiling=$ac_cv_prog_cxx_cross
7374
7375     cat > conftest.$ac_ext <<EOF
7376 #line 7377 "configure"
7377 #include "confdefs.h"
7378 #include <math.h>
7379 int main() {
7380  powf(0, 0);
7381 ; return 0; }
7382 EOF
7383 if { (eval echo configure:7384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7384   rm -rf conftest*
7385   glibcpp_cv_func_powf_use=yes
7386 else
7387   echo "configure: failed program was:" >&5
7388   cat conftest.$ac_ext >&5
7389   rm -rf conftest*
7390   glibcpp_cv_func_powf_use=no
7391 fi
7392 rm -f conftest*
7393     ac_ext=c
7394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7395 ac_cpp='$CPP $CPPFLAGS'
7396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7398 cross_compiling=$ac_cv_prog_cc_cross
7399
7400   
7401 fi
7402
7403   echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7404   if test x$glibcpp_cv_func_powf_use = x"yes"; then
7405     for ac_func in powf
7406 do
7407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7408 echo "configure:7409: checking for $ac_func" >&5
7409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7410   echo $ac_n "(cached) $ac_c" 1>&6
7411 else
7412   cat > conftest.$ac_ext <<EOF
7413 #line 7414 "configure"
7414 #include "confdefs.h"
7415 /* System header to define __stub macros and hopefully few prototypes,
7416     which can conflict with char $ac_func(); below.  */
7417 #include <assert.h>
7418 /* Override any gcc2 internal prototype to avoid an error.  */
7419 /* We use char because int might match the return type of a gcc2
7420     builtin and then its argument prototype would still apply.  */
7421 char $ac_func();
7422
7423 int main() {
7424
7425 /* The GNU C library defines this for functions which it implements
7426     to always fail with ENOSYS.  Some functions are actually named
7427     something starting with __ and the normal name is an alias.  */
7428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7429 choke me
7430 #else
7431 $ac_func();
7432 #endif
7433
7434 ; return 0; }
7435 EOF
7436 if { (eval echo configure:7437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7437   rm -rf conftest*
7438   eval "ac_cv_func_$ac_func=yes"
7439 else
7440   echo "configure: failed program was:" >&5
7441   cat conftest.$ac_ext >&5
7442   rm -rf conftest*
7443   eval "ac_cv_func_$ac_func=no"
7444 fi
7445 rm -f conftest*
7446 fi
7447
7448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7449   echo "$ac_t""yes" 1>&6
7450     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7451   cat >> confdefs.h <<EOF
7452 #define $ac_tr_func 1
7453 EOF
7454  
7455 else
7456   echo "$ac_t""no" 1>&6
7457 fi
7458 done
7459     
7460   fi
7461
7462   
7463   echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7464 echo "configure:7465: checking for sinf declaration" >&5
7465   if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_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  sinf(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_sinf_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_sinf_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   echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7506   if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7507     for ac_func in sinf
7508 do
7509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7510 echo "configure:7511: checking for $ac_func" >&5
7511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7512   echo $ac_n "(cached) $ac_c" 1>&6
7513 else
7514   cat > conftest.$ac_ext <<EOF
7515 #line 7516 "configure"
7516 #include "confdefs.h"
7517 /* System header to define __stub macros and hopefully few prototypes,
7518     which can conflict with char $ac_func(); below.  */
7519 #include <assert.h>
7520 /* Override any gcc2 internal prototype to avoid an error.  */
7521 /* We use char because int might match the return type of a gcc2
7522     builtin and then its argument prototype would still apply.  */
7523 char $ac_func();
7524
7525 int main() {
7526
7527 /* The GNU C library defines this for functions which it implements
7528     to always fail with ENOSYS.  Some functions are actually named
7529     something starting with __ and the normal name is an alias.  */
7530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7531 choke me
7532 #else
7533 $ac_func();
7534 #endif
7535
7536 ; return 0; }
7537 EOF
7538 if { (eval echo configure:7539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7539   rm -rf conftest*
7540   eval "ac_cv_func_$ac_func=yes"
7541 else
7542   echo "configure: failed program was:" >&5
7543   cat conftest.$ac_ext >&5
7544   rm -rf conftest*
7545   eval "ac_cv_func_$ac_func=no"
7546 fi
7547 rm -f conftest*
7548 fi
7549
7550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7551   echo "$ac_t""yes" 1>&6
7552     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7553   cat >> confdefs.h <<EOF
7554 #define $ac_tr_func 1
7555 EOF
7556  
7557 else
7558   echo "$ac_t""no" 1>&6
7559 fi
7560 done
7561     
7562   fi
7563
7564   
7565   echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7566 echo "configure:7567: checking for sinhf declaration" >&5
7567   if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7568   echo $ac_n "(cached) $ac_c" 1>&6
7569 else
7570   
7571     
7572     ac_ext=C
7573 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7574 ac_cpp='$CXXCPP $CPPFLAGS'
7575 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7576 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7577 cross_compiling=$ac_cv_prog_cxx_cross
7578
7579     cat > conftest.$ac_ext <<EOF
7580 #line 7581 "configure"
7581 #include "confdefs.h"
7582 #include <math.h>
7583 int main() {
7584  sinhf(0);
7585 ; return 0; }
7586 EOF
7587 if { (eval echo configure:7588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7588   rm -rf conftest*
7589   glibcpp_cv_func_sinhf_use=yes
7590 else
7591   echo "configure: failed program was:" >&5
7592   cat conftest.$ac_ext >&5
7593   rm -rf conftest*
7594   glibcpp_cv_func_sinhf_use=no
7595 fi
7596 rm -f conftest*
7597     ac_ext=c
7598 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7599 ac_cpp='$CPP $CPPFLAGS'
7600 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7601 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7602 cross_compiling=$ac_cv_prog_cc_cross
7603
7604   
7605 fi
7606
7607   echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7608   if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7609     for ac_func in sinhf
7610 do
7611 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7612 echo "configure:7613: checking for $ac_func" >&5
7613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7614   echo $ac_n "(cached) $ac_c" 1>&6
7615 else
7616   cat > conftest.$ac_ext <<EOF
7617 #line 7618 "configure"
7618 #include "confdefs.h"
7619 /* System header to define __stub macros and hopefully few prototypes,
7620     which can conflict with char $ac_func(); below.  */
7621 #include <assert.h>
7622 /* Override any gcc2 internal prototype to avoid an error.  */
7623 /* We use char because int might match the return type of a gcc2
7624     builtin and then its argument prototype would still apply.  */
7625 char $ac_func();
7626
7627 int main() {
7628
7629 /* The GNU C library defines this for functions which it implements
7630     to always fail with ENOSYS.  Some functions are actually named
7631     something starting with __ and the normal name is an alias.  */
7632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7633 choke me
7634 #else
7635 $ac_func();
7636 #endif
7637
7638 ; return 0; }
7639 EOF
7640 if { (eval echo configure:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7641   rm -rf conftest*
7642   eval "ac_cv_func_$ac_func=yes"
7643 else
7644   echo "configure: failed program was:" >&5
7645   cat conftest.$ac_ext >&5
7646   rm -rf conftest*
7647   eval "ac_cv_func_$ac_func=no"
7648 fi
7649 rm -f conftest*
7650 fi
7651
7652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7653   echo "$ac_t""yes" 1>&6
7654     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7655   cat >> confdefs.h <<EOF
7656 #define $ac_tr_func 1
7657 EOF
7658  
7659 else
7660   echo "$ac_t""no" 1>&6
7661 fi
7662 done
7663     
7664   fi
7665
7666   
7667   echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7668 echo "configure:7669: checking for sqrtf declaration" >&5
7669   if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7670   echo $ac_n "(cached) $ac_c" 1>&6
7671 else
7672   
7673     
7674     ac_ext=C
7675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7676 ac_cpp='$CXXCPP $CPPFLAGS'
7677 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7678 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7679 cross_compiling=$ac_cv_prog_cxx_cross
7680
7681     cat > conftest.$ac_ext <<EOF
7682 #line 7683 "configure"
7683 #include "confdefs.h"
7684 #include <math.h>
7685 int main() {
7686  sqrtf(0);
7687 ; return 0; }
7688 EOF
7689 if { (eval echo configure:7690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7690   rm -rf conftest*
7691   glibcpp_cv_func_sqrtf_use=yes
7692 else
7693   echo "configure: failed program was:" >&5
7694   cat conftest.$ac_ext >&5
7695   rm -rf conftest*
7696   glibcpp_cv_func_sqrtf_use=no
7697 fi
7698 rm -f conftest*
7699     ac_ext=c
7700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7701 ac_cpp='$CPP $CPPFLAGS'
7702 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7703 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7704 cross_compiling=$ac_cv_prog_cc_cross
7705
7706   
7707 fi
7708
7709   echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7710   if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7711     for ac_func in sqrtf
7712 do
7713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7714 echo "configure:7715: checking for $ac_func" >&5
7715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7716   echo $ac_n "(cached) $ac_c" 1>&6
7717 else
7718   cat > conftest.$ac_ext <<EOF
7719 #line 7720 "configure"
7720 #include "confdefs.h"
7721 /* System header to define __stub macros and hopefully few prototypes,
7722     which can conflict with char $ac_func(); below.  */
7723 #include <assert.h>
7724 /* Override any gcc2 internal prototype to avoid an error.  */
7725 /* We use char because int might match the return type of a gcc2
7726     builtin and then its argument prototype would still apply.  */
7727 char $ac_func();
7728
7729 int main() {
7730
7731 /* The GNU C library defines this for functions which it implements
7732     to always fail with ENOSYS.  Some functions are actually named
7733     something starting with __ and the normal name is an alias.  */
7734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7735 choke me
7736 #else
7737 $ac_func();
7738 #endif
7739
7740 ; return 0; }
7741 EOF
7742 if { (eval echo configure:7743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7743   rm -rf conftest*
7744   eval "ac_cv_func_$ac_func=yes"
7745 else
7746   echo "configure: failed program was:" >&5
7747   cat conftest.$ac_ext >&5
7748   rm -rf conftest*
7749   eval "ac_cv_func_$ac_func=no"
7750 fi
7751 rm -f conftest*
7752 fi
7753
7754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7755   echo "$ac_t""yes" 1>&6
7756     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7757   cat >> confdefs.h <<EOF
7758 #define $ac_tr_func 1
7759 EOF
7760  
7761 else
7762   echo "$ac_t""no" 1>&6
7763 fi
7764 done
7765     
7766   fi
7767
7768   
7769   echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7770 echo "configure:7771: checking for tanf declaration" >&5
7771   if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7772   echo $ac_n "(cached) $ac_c" 1>&6
7773 else
7774   
7775     
7776     ac_ext=C
7777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7778 ac_cpp='$CXXCPP $CPPFLAGS'
7779 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7780 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7781 cross_compiling=$ac_cv_prog_cxx_cross
7782
7783     cat > conftest.$ac_ext <<EOF
7784 #line 7785 "configure"
7785 #include "confdefs.h"
7786 #include <math.h>
7787 int main() {
7788  tanf(0);
7789 ; return 0; }
7790 EOF
7791 if { (eval echo configure:7792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7792   rm -rf conftest*
7793   glibcpp_cv_func_tanf_use=yes
7794 else
7795   echo "configure: failed program was:" >&5
7796   cat conftest.$ac_ext >&5
7797   rm -rf conftest*
7798   glibcpp_cv_func_tanf_use=no
7799 fi
7800 rm -f conftest*
7801     ac_ext=c
7802 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7803 ac_cpp='$CPP $CPPFLAGS'
7804 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7805 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7806 cross_compiling=$ac_cv_prog_cc_cross
7807
7808   
7809 fi
7810
7811   echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7812   if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7813     for ac_func in tanf
7814 do
7815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7816 echo "configure:7817: checking for $ac_func" >&5
7817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7818   echo $ac_n "(cached) $ac_c" 1>&6
7819 else
7820   cat > conftest.$ac_ext <<EOF
7821 #line 7822 "configure"
7822 #include "confdefs.h"
7823 /* System header to define __stub macros and hopefully few prototypes,
7824     which can conflict with char $ac_func(); below.  */
7825 #include <assert.h>
7826 /* Override any gcc2 internal prototype to avoid an error.  */
7827 /* We use char because int might match the return type of a gcc2
7828     builtin and then its argument prototype would still apply.  */
7829 char $ac_func();
7830
7831 int main() {
7832
7833 /* The GNU C library defines this for functions which it implements
7834     to always fail with ENOSYS.  Some functions are actually named
7835     something starting with __ and the normal name is an alias.  */
7836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7837 choke me
7838 #else
7839 $ac_func();
7840 #endif
7841
7842 ; return 0; }
7843 EOF
7844 if { (eval echo configure:7845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7845   rm -rf conftest*
7846   eval "ac_cv_func_$ac_func=yes"
7847 else
7848   echo "configure: failed program was:" >&5
7849   cat conftest.$ac_ext >&5
7850   rm -rf conftest*
7851   eval "ac_cv_func_$ac_func=no"
7852 fi
7853 rm -f conftest*
7854 fi
7855
7856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7857   echo "$ac_t""yes" 1>&6
7858     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7859   cat >> confdefs.h <<EOF
7860 #define $ac_tr_func 1
7861 EOF
7862  
7863 else
7864   echo "$ac_t""no" 1>&6
7865 fi
7866 done
7867     
7868   fi
7869
7870   
7871   echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7872 echo "configure:7873: checking for tanhf declaration" >&5
7873   if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7874   echo $ac_n "(cached) $ac_c" 1>&6
7875 else
7876   
7877     
7878     ac_ext=C
7879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7880 ac_cpp='$CXXCPP $CPPFLAGS'
7881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7883 cross_compiling=$ac_cv_prog_cxx_cross
7884
7885     cat > conftest.$ac_ext <<EOF
7886 #line 7887 "configure"
7887 #include "confdefs.h"
7888 #include <math.h>
7889 int main() {
7890  tanhf(0);
7891 ; return 0; }
7892 EOF
7893 if { (eval echo configure:7894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7894   rm -rf conftest*
7895   glibcpp_cv_func_tanhf_use=yes
7896 else
7897   echo "configure: failed program was:" >&5
7898   cat conftest.$ac_ext >&5
7899   rm -rf conftest*
7900   glibcpp_cv_func_tanhf_use=no
7901 fi
7902 rm -f conftest*
7903     ac_ext=c
7904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7905 ac_cpp='$CPP $CPPFLAGS'
7906 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7907 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7908 cross_compiling=$ac_cv_prog_cc_cross
7909
7910   
7911 fi
7912
7913   echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
7914   if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
7915     for ac_func in tanhf
7916 do
7917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7918 echo "configure:7919: checking for $ac_func" >&5
7919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7920   echo $ac_n "(cached) $ac_c" 1>&6
7921 else
7922   cat > conftest.$ac_ext <<EOF
7923 #line 7924 "configure"
7924 #include "confdefs.h"
7925 /* System header to define __stub macros and hopefully few prototypes,
7926     which can conflict with char $ac_func(); below.  */
7927 #include <assert.h>
7928 /* Override any gcc2 internal prototype to avoid an error.  */
7929 /* We use char because int might match the return type of a gcc2
7930     builtin and then its argument prototype would still apply.  */
7931 char $ac_func();
7932
7933 int main() {
7934
7935 /* The GNU C library defines this for functions which it implements
7936     to always fail with ENOSYS.  Some functions are actually named
7937     something starting with __ and the normal name is an alias.  */
7938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7939 choke me
7940 #else
7941 $ac_func();
7942 #endif
7943
7944 ; return 0; }
7945 EOF
7946 if { (eval echo configure:7947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7947   rm -rf conftest*
7948   eval "ac_cv_func_$ac_func=yes"
7949 else
7950   echo "configure: failed program was:" >&5
7951   cat conftest.$ac_ext >&5
7952   rm -rf conftest*
7953   eval "ac_cv_func_$ac_func=no"
7954 fi
7955 rm -f conftest*
7956 fi
7957
7958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7959   echo "$ac_t""yes" 1>&6
7960     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7961   cat >> confdefs.h <<EOF
7962 #define $ac_tr_func 1
7963 EOF
7964  
7965 else
7966   echo "$ac_t""no" 1>&6
7967 fi
7968 done
7969     
7970   fi
7971
7972   
7973   echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
7974 echo "configure:7975: checking for sincosf declaration" >&5
7975   if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
7976   echo $ac_n "(cached) $ac_c" 1>&6
7977 else
7978   
7979     
7980     ac_ext=C
7981 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7982 ac_cpp='$CXXCPP $CPPFLAGS'
7983 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7984 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7985 cross_compiling=$ac_cv_prog_cxx_cross
7986
7987     cat > conftest.$ac_ext <<EOF
7988 #line 7989 "configure"
7989 #include "confdefs.h"
7990 #include <math.h>
7991 int main() {
7992  sincosf(0, 0, 0);
7993 ; return 0; }
7994 EOF
7995 if { (eval echo configure:7996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7996   rm -rf conftest*
7997   glibcpp_cv_func_sincosf_use=yes
7998 else
7999   echo "configure: failed program was:" >&5
8000   cat conftest.$ac_ext >&5
8001   rm -rf conftest*
8002   glibcpp_cv_func_sincosf_use=no
8003 fi
8004 rm -f conftest*
8005     ac_ext=c
8006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8007 ac_cpp='$CPP $CPPFLAGS'
8008 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8009 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8010 cross_compiling=$ac_cv_prog_cc_cross
8011
8012   
8013 fi
8014
8015   echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
8016   if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
8017     for ac_func in sincosf
8018 do
8019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8020 echo "configure:8021: checking for $ac_func" >&5
8021 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8022   echo $ac_n "(cached) $ac_c" 1>&6
8023 else
8024   cat > conftest.$ac_ext <<EOF
8025 #line 8026 "configure"
8026 #include "confdefs.h"
8027 /* System header to define __stub macros and hopefully few prototypes,
8028     which can conflict with char $ac_func(); below.  */
8029 #include <assert.h>
8030 /* Override any gcc2 internal prototype to avoid an error.  */
8031 /* We use char because int might match the return type of a gcc2
8032     builtin and then its argument prototype would still apply.  */
8033 char $ac_func();
8034
8035 int main() {
8036
8037 /* The GNU C library defines this for functions which it implements
8038     to always fail with ENOSYS.  Some functions are actually named
8039     something starting with __ and the normal name is an alias.  */
8040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8041 choke me
8042 #else
8043 $ac_func();
8044 #endif
8045
8046 ; return 0; }
8047 EOF
8048 if { (eval echo configure:8049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8049   rm -rf conftest*
8050   eval "ac_cv_func_$ac_func=yes"
8051 else
8052   echo "configure: failed program was:" >&5
8053   cat conftest.$ac_ext >&5
8054   rm -rf conftest*
8055   eval "ac_cv_func_$ac_func=no"
8056 fi
8057 rm -f conftest*
8058 fi
8059
8060 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8061   echo "$ac_t""yes" 1>&6
8062     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8063   cat >> confdefs.h <<EOF
8064 #define $ac_tr_func 1
8065 EOF
8066  
8067 else
8068   echo "$ac_t""no" 1>&6
8069 fi
8070 done
8071     
8072   fi
8073
8074   
8075   echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8076 echo "configure:8077: checking for finitef declaration" >&5
8077   if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8078   echo $ac_n "(cached) $ac_c" 1>&6
8079 else
8080   
8081     
8082     ac_ext=C
8083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8084 ac_cpp='$CXXCPP $CPPFLAGS'
8085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8087 cross_compiling=$ac_cv_prog_cxx_cross
8088
8089     cat > conftest.$ac_ext <<EOF
8090 #line 8091 "configure"
8091 #include "confdefs.h"
8092 #include <math.h>
8093 int main() {
8094  finitef(0);
8095 ; return 0; }
8096 EOF
8097 if { (eval echo configure:8098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8098   rm -rf conftest*
8099   glibcpp_cv_func_finitef_use=yes
8100 else
8101   echo "configure: failed program was:" >&5
8102   cat conftest.$ac_ext >&5
8103   rm -rf conftest*
8104   glibcpp_cv_func_finitef_use=no
8105 fi
8106 rm -f conftest*
8107     ac_ext=c
8108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8109 ac_cpp='$CPP $CPPFLAGS'
8110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8112 cross_compiling=$ac_cv_prog_cc_cross
8113
8114   
8115 fi
8116
8117   echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8118   if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8119     for ac_func in finitef
8120 do
8121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8122 echo "configure:8123: checking for $ac_func" >&5
8123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8124   echo $ac_n "(cached) $ac_c" 1>&6
8125 else
8126   cat > conftest.$ac_ext <<EOF
8127 #line 8128 "configure"
8128 #include "confdefs.h"
8129 /* System header to define __stub macros and hopefully few prototypes,
8130     which can conflict with char $ac_func(); below.  */
8131 #include <assert.h>
8132 /* Override any gcc2 internal prototype to avoid an error.  */
8133 /* We use char because int might match the return type of a gcc2
8134     builtin and then its argument prototype would still apply.  */
8135 char $ac_func();
8136
8137 int main() {
8138
8139 /* The GNU C library defines this for functions which it implements
8140     to always fail with ENOSYS.  Some functions are actually named
8141     something starting with __ and the normal name is an alias.  */
8142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8143 choke me
8144 #else
8145 $ac_func();
8146 #endif
8147
8148 ; return 0; }
8149 EOF
8150 if { (eval echo configure:8151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8151   rm -rf conftest*
8152   eval "ac_cv_func_$ac_func=yes"
8153 else
8154   echo "configure: failed program was:" >&5
8155   cat conftest.$ac_ext >&5
8156   rm -rf conftest*
8157   eval "ac_cv_func_$ac_func=no"
8158 fi
8159 rm -f conftest*
8160 fi
8161
8162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8163   echo "$ac_t""yes" 1>&6
8164     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8165   cat >> confdefs.h <<EOF
8166 #define $ac_tr_func 1
8167 EOF
8168  
8169 else
8170   echo "$ac_t""no" 1>&6
8171 fi
8172 done
8173     
8174   fi
8175
8176
8177     
8178   echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8179 echo "configure:8180: checking for isnanl declaration" >&5
8180   if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8181   echo $ac_n "(cached) $ac_c" 1>&6
8182 else
8183   
8184     
8185     ac_ext=C
8186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8187 ac_cpp='$CXXCPP $CPPFLAGS'
8188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8190 cross_compiling=$ac_cv_prog_cxx_cross
8191
8192     cat > conftest.$ac_ext <<EOF
8193 #line 8194 "configure"
8194 #include "confdefs.h"
8195 #include <math.h>
8196 int main() {
8197  isnanl(0);
8198 ; return 0; }
8199 EOF
8200 if { (eval echo configure:8201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8201   rm -rf conftest*
8202   glibcpp_cv_func_isnanl_use=yes
8203 else
8204   echo "configure: failed program was:" >&5
8205   cat conftest.$ac_ext >&5
8206   rm -rf conftest*
8207   glibcpp_cv_func_isnanl_use=no
8208 fi
8209 rm -f conftest*
8210     ac_ext=c
8211 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8212 ac_cpp='$CPP $CPPFLAGS'
8213 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8214 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8215 cross_compiling=$ac_cv_prog_cc_cross
8216
8217   
8218 fi
8219
8220   echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8221   if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8222     for ac_func in isnanl
8223 do
8224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8225 echo "configure:8226: checking for $ac_func" >&5
8226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8227   echo $ac_n "(cached) $ac_c" 1>&6
8228 else
8229   cat > conftest.$ac_ext <<EOF
8230 #line 8231 "configure"
8231 #include "confdefs.h"
8232 /* System header to define __stub macros and hopefully few prototypes,
8233     which can conflict with char $ac_func(); below.  */
8234 #include <assert.h>
8235 /* Override any gcc2 internal prototype to avoid an error.  */
8236 /* We use char because int might match the return type of a gcc2
8237     builtin and then its argument prototype would still apply.  */
8238 char $ac_func();
8239
8240 int main() {
8241
8242 /* The GNU C library defines this for functions which it implements
8243     to always fail with ENOSYS.  Some functions are actually named
8244     something starting with __ and the normal name is an alias.  */
8245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8246 choke me
8247 #else
8248 $ac_func();
8249 #endif
8250
8251 ; return 0; }
8252 EOF
8253 if { (eval echo configure:8254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8254   rm -rf conftest*
8255   eval "ac_cv_func_$ac_func=yes"
8256 else
8257   echo "configure: failed program was:" >&5
8258   cat conftest.$ac_ext >&5
8259   rm -rf conftest*
8260   eval "ac_cv_func_$ac_func=no"
8261 fi
8262 rm -f conftest*
8263 fi
8264
8265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8266   echo "$ac_t""yes" 1>&6
8267     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8268   cat >> confdefs.h <<EOF
8269 #define $ac_tr_func 1
8270 EOF
8271  
8272 else
8273   echo "$ac_t""no" 1>&6
8274 fi
8275 done
8276     
8277   fi
8278
8279   
8280   echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8281 echo "configure:8282: checking for isinfl declaration" >&5
8282   if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8283   echo $ac_n "(cached) $ac_c" 1>&6
8284 else
8285   
8286     
8287     ac_ext=C
8288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8289 ac_cpp='$CXXCPP $CPPFLAGS'
8290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8292 cross_compiling=$ac_cv_prog_cxx_cross
8293
8294     cat > conftest.$ac_ext <<EOF
8295 #line 8296 "configure"
8296 #include "confdefs.h"
8297 #include <math.h>
8298 int main() {
8299  isinfl(0);
8300 ; return 0; }
8301 EOF
8302 if { (eval echo configure:8303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8303   rm -rf conftest*
8304   glibcpp_cv_func_isinfl_use=yes
8305 else
8306   echo "configure: failed program was:" >&5
8307   cat conftest.$ac_ext >&5
8308   rm -rf conftest*
8309   glibcpp_cv_func_isinfl_use=no
8310 fi
8311 rm -f conftest*
8312     ac_ext=c
8313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8314 ac_cpp='$CPP $CPPFLAGS'
8315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8317 cross_compiling=$ac_cv_prog_cc_cross
8318
8319   
8320 fi
8321
8322   echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8323   if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8324     for ac_func in isinfl
8325 do
8326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8327 echo "configure:8328: checking for $ac_func" >&5
8328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8329   echo $ac_n "(cached) $ac_c" 1>&6
8330 else
8331   cat > conftest.$ac_ext <<EOF
8332 #line 8333 "configure"
8333 #include "confdefs.h"
8334 /* System header to define __stub macros and hopefully few prototypes,
8335     which can conflict with char $ac_func(); below.  */
8336 #include <assert.h>
8337 /* Override any gcc2 internal prototype to avoid an error.  */
8338 /* We use char because int might match the return type of a gcc2
8339     builtin and then its argument prototype would still apply.  */
8340 char $ac_func();
8341
8342 int main() {
8343
8344 /* The GNU C library defines this for functions which it implements
8345     to always fail with ENOSYS.  Some functions are actually named
8346     something starting with __ and the normal name is an alias.  */
8347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8348 choke me
8349 #else
8350 $ac_func();
8351 #endif
8352
8353 ; return 0; }
8354 EOF
8355 if { (eval echo configure:8356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8356   rm -rf conftest*
8357   eval "ac_cv_func_$ac_func=yes"
8358 else
8359   echo "configure: failed program was:" >&5
8360   cat conftest.$ac_ext >&5
8361   rm -rf conftest*
8362   eval "ac_cv_func_$ac_func=no"
8363 fi
8364 rm -f conftest*
8365 fi
8366
8367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8368   echo "$ac_t""yes" 1>&6
8369     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8370   cat >> confdefs.h <<EOF
8371 #define $ac_tr_func 1
8372 EOF
8373  
8374 else
8375   echo "$ac_t""no" 1>&6
8376 fi
8377 done
8378     
8379   fi
8380
8381   
8382   echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8383 echo "configure:8384: checking for copysignl declaration" >&5
8384   if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8385   echo $ac_n "(cached) $ac_c" 1>&6
8386 else
8387   
8388     
8389     ac_ext=C
8390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8391 ac_cpp='$CXXCPP $CPPFLAGS'
8392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8394 cross_compiling=$ac_cv_prog_cxx_cross
8395
8396     cat > conftest.$ac_ext <<EOF
8397 #line 8398 "configure"
8398 #include "confdefs.h"
8399 #include <math.h>
8400 int main() {
8401  copysignl(0, 0);
8402 ; return 0; }
8403 EOF
8404 if { (eval echo configure:8405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8405   rm -rf conftest*
8406   glibcpp_cv_func_copysignl_use=yes
8407 else
8408   echo "configure: failed program was:" >&5
8409   cat conftest.$ac_ext >&5
8410   rm -rf conftest*
8411   glibcpp_cv_func_copysignl_use=no
8412 fi
8413 rm -f conftest*
8414     ac_ext=c
8415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8416 ac_cpp='$CPP $CPPFLAGS'
8417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8419 cross_compiling=$ac_cv_prog_cc_cross
8420
8421   
8422 fi
8423
8424   echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8425   if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8426     for ac_func in copysignl
8427 do
8428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8429 echo "configure:8430: checking for $ac_func" >&5
8430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8431   echo $ac_n "(cached) $ac_c" 1>&6
8432 else
8433   cat > conftest.$ac_ext <<EOF
8434 #line 8435 "configure"
8435 #include "confdefs.h"
8436 /* System header to define __stub macros and hopefully few prototypes,
8437     which can conflict with char $ac_func(); below.  */
8438 #include <assert.h>
8439 /* Override any gcc2 internal prototype to avoid an error.  */
8440 /* We use char because int might match the return type of a gcc2
8441     builtin and then its argument prototype would still apply.  */
8442 char $ac_func();
8443
8444 int main() {
8445
8446 /* The GNU C library defines this for functions which it implements
8447     to always fail with ENOSYS.  Some functions are actually named
8448     something starting with __ and the normal name is an alias.  */
8449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8450 choke me
8451 #else
8452 $ac_func();
8453 #endif
8454
8455 ; return 0; }
8456 EOF
8457 if { (eval echo configure:8458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8458   rm -rf conftest*
8459   eval "ac_cv_func_$ac_func=yes"
8460 else
8461   echo "configure: failed program was:" >&5
8462   cat conftest.$ac_ext >&5
8463   rm -rf conftest*
8464   eval "ac_cv_func_$ac_func=no"
8465 fi
8466 rm -f conftest*
8467 fi
8468
8469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8470   echo "$ac_t""yes" 1>&6
8471     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8472   cat >> confdefs.h <<EOF
8473 #define $ac_tr_func 1
8474 EOF
8475  
8476 else
8477   echo "$ac_t""no" 1>&6
8478 fi
8479 done
8480     
8481   fi
8482
8483   
8484   echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8485 echo "configure:8486: checking for acosl declaration" >&5
8486   if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8487   echo $ac_n "(cached) $ac_c" 1>&6
8488 else
8489   
8490     
8491     ac_ext=C
8492 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8493 ac_cpp='$CXXCPP $CPPFLAGS'
8494 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8495 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8496 cross_compiling=$ac_cv_prog_cxx_cross
8497
8498     cat > conftest.$ac_ext <<EOF
8499 #line 8500 "configure"
8500 #include "confdefs.h"
8501 #include <math.h>
8502 int main() {
8503  acosl(0);
8504 ; return 0; }
8505 EOF
8506 if { (eval echo configure:8507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8507   rm -rf conftest*
8508   glibcpp_cv_func_acosl_use=yes
8509 else
8510   echo "configure: failed program was:" >&5
8511   cat conftest.$ac_ext >&5
8512   rm -rf conftest*
8513   glibcpp_cv_func_acosl_use=no
8514 fi
8515 rm -f conftest*
8516     ac_ext=c
8517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8518 ac_cpp='$CPP $CPPFLAGS'
8519 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8520 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8521 cross_compiling=$ac_cv_prog_cc_cross
8522
8523   
8524 fi
8525
8526   echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8527   if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8528     for ac_func in acosl
8529 do
8530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8531 echo "configure:8532: checking for $ac_func" >&5
8532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8533   echo $ac_n "(cached) $ac_c" 1>&6
8534 else
8535   cat > conftest.$ac_ext <<EOF
8536 #line 8537 "configure"
8537 #include "confdefs.h"
8538 /* System header to define __stub macros and hopefully few prototypes,
8539     which can conflict with char $ac_func(); below.  */
8540 #include <assert.h>
8541 /* Override any gcc2 internal prototype to avoid an error.  */
8542 /* We use char because int might match the return type of a gcc2
8543     builtin and then its argument prototype would still apply.  */
8544 char $ac_func();
8545
8546 int main() {
8547
8548 /* The GNU C library defines this for functions which it implements
8549     to always fail with ENOSYS.  Some functions are actually named
8550     something starting with __ and the normal name is an alias.  */
8551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8552 choke me
8553 #else
8554 $ac_func();
8555 #endif
8556
8557 ; return 0; }
8558 EOF
8559 if { (eval echo configure:8560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8560   rm -rf conftest*
8561   eval "ac_cv_func_$ac_func=yes"
8562 else
8563   echo "configure: failed program was:" >&5
8564   cat conftest.$ac_ext >&5
8565   rm -rf conftest*
8566   eval "ac_cv_func_$ac_func=no"
8567 fi
8568 rm -f conftest*
8569 fi
8570
8571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8572   echo "$ac_t""yes" 1>&6
8573     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8574   cat >> confdefs.h <<EOF
8575 #define $ac_tr_func 1
8576 EOF
8577  
8578 else
8579   echo "$ac_t""no" 1>&6
8580 fi
8581 done
8582     
8583   fi
8584
8585   
8586   echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8587 echo "configure:8588: checking for asinl declaration" >&5
8588   if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8589   echo $ac_n "(cached) $ac_c" 1>&6
8590 else
8591   
8592     
8593     ac_ext=C
8594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8595 ac_cpp='$CXXCPP $CPPFLAGS'
8596 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8597 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8598 cross_compiling=$ac_cv_prog_cxx_cross
8599
8600     cat > conftest.$ac_ext <<EOF
8601 #line 8602 "configure"
8602 #include "confdefs.h"
8603 #include <math.h>
8604 int main() {
8605  asinl(0);
8606 ; return 0; }
8607 EOF
8608 if { (eval echo configure:8609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8609   rm -rf conftest*
8610   glibcpp_cv_func_asinl_use=yes
8611 else
8612   echo "configure: failed program was:" >&5
8613   cat conftest.$ac_ext >&5
8614   rm -rf conftest*
8615   glibcpp_cv_func_asinl_use=no
8616 fi
8617 rm -f conftest*
8618     ac_ext=c
8619 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8620 ac_cpp='$CPP $CPPFLAGS'
8621 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8622 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8623 cross_compiling=$ac_cv_prog_cc_cross
8624
8625   
8626 fi
8627
8628   echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8629   if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8630     for ac_func in asinl
8631 do
8632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8633 echo "configure:8634: checking for $ac_func" >&5
8634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8635   echo $ac_n "(cached) $ac_c" 1>&6
8636 else
8637   cat > conftest.$ac_ext <<EOF
8638 #line 8639 "configure"
8639 #include "confdefs.h"
8640 /* System header to define __stub macros and hopefully few prototypes,
8641     which can conflict with char $ac_func(); below.  */
8642 #include <assert.h>
8643 /* Override any gcc2 internal prototype to avoid an error.  */
8644 /* We use char because int might match the return type of a gcc2
8645     builtin and then its argument prototype would still apply.  */
8646 char $ac_func();
8647
8648 int main() {
8649
8650 /* The GNU C library defines this for functions which it implements
8651     to always fail with ENOSYS.  Some functions are actually named
8652     something starting with __ and the normal name is an alias.  */
8653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8654 choke me
8655 #else
8656 $ac_func();
8657 #endif
8658
8659 ; return 0; }
8660 EOF
8661 if { (eval echo configure:8662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8662   rm -rf conftest*
8663   eval "ac_cv_func_$ac_func=yes"
8664 else
8665   echo "configure: failed program was:" >&5
8666   cat conftest.$ac_ext >&5
8667   rm -rf conftest*
8668   eval "ac_cv_func_$ac_func=no"
8669 fi
8670 rm -f conftest*
8671 fi
8672
8673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8674   echo "$ac_t""yes" 1>&6
8675     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8676   cat >> confdefs.h <<EOF
8677 #define $ac_tr_func 1
8678 EOF
8679  
8680 else
8681   echo "$ac_t""no" 1>&6
8682 fi
8683 done
8684     
8685   fi
8686
8687   
8688   echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8689 echo "configure:8690: checking for atanl declaration" >&5
8690   if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8691   echo $ac_n "(cached) $ac_c" 1>&6
8692 else
8693   
8694     
8695     ac_ext=C
8696 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8697 ac_cpp='$CXXCPP $CPPFLAGS'
8698 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8699 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8700 cross_compiling=$ac_cv_prog_cxx_cross
8701
8702     cat > conftest.$ac_ext <<EOF
8703 #line 8704 "configure"
8704 #include "confdefs.h"
8705 #include <math.h>
8706 int main() {
8707  atanl(0);
8708 ; return 0; }
8709 EOF
8710 if { (eval echo configure:8711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8711   rm -rf conftest*
8712   glibcpp_cv_func_atanl_use=yes
8713 else
8714   echo "configure: failed program was:" >&5
8715   cat conftest.$ac_ext >&5
8716   rm -rf conftest*
8717   glibcpp_cv_func_atanl_use=no
8718 fi
8719 rm -f conftest*
8720     ac_ext=c
8721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8722 ac_cpp='$CPP $CPPFLAGS'
8723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8725 cross_compiling=$ac_cv_prog_cc_cross
8726
8727   
8728 fi
8729
8730   echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8731   if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8732     for ac_func in atanl
8733 do
8734 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8735 echo "configure:8736: checking for $ac_func" >&5
8736 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8737   echo $ac_n "(cached) $ac_c" 1>&6
8738 else
8739   cat > conftest.$ac_ext <<EOF
8740 #line 8741 "configure"
8741 #include "confdefs.h"
8742 /* System header to define __stub macros and hopefully few prototypes,
8743     which can conflict with char $ac_func(); below.  */
8744 #include <assert.h>
8745 /* Override any gcc2 internal prototype to avoid an error.  */
8746 /* We use char because int might match the return type of a gcc2
8747     builtin and then its argument prototype would still apply.  */
8748 char $ac_func();
8749
8750 int main() {
8751
8752 /* The GNU C library defines this for functions which it implements
8753     to always fail with ENOSYS.  Some functions are actually named
8754     something starting with __ and the normal name is an alias.  */
8755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8756 choke me
8757 #else
8758 $ac_func();
8759 #endif
8760
8761 ; return 0; }
8762 EOF
8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8764   rm -rf conftest*
8765   eval "ac_cv_func_$ac_func=yes"
8766 else
8767   echo "configure: failed program was:" >&5
8768   cat conftest.$ac_ext >&5
8769   rm -rf conftest*
8770   eval "ac_cv_func_$ac_func=no"
8771 fi
8772 rm -f conftest*
8773 fi
8774
8775 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8776   echo "$ac_t""yes" 1>&6
8777     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8778   cat >> confdefs.h <<EOF
8779 #define $ac_tr_func 1
8780 EOF
8781  
8782 else
8783   echo "$ac_t""no" 1>&6
8784 fi
8785 done
8786     
8787   fi
8788
8789   
8790   echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8791 echo "configure:8792: checking for atan2l declaration" >&5
8792   if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8793   echo $ac_n "(cached) $ac_c" 1>&6
8794 else
8795   
8796     
8797     ac_ext=C
8798 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8799 ac_cpp='$CXXCPP $CPPFLAGS'
8800 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8801 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8802 cross_compiling=$ac_cv_prog_cxx_cross
8803
8804     cat > conftest.$ac_ext <<EOF
8805 #line 8806 "configure"
8806 #include "confdefs.h"
8807 #include <math.h>
8808 int main() {
8809  atan2l(0, 0);
8810 ; return 0; }
8811 EOF
8812 if { (eval echo configure:8813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8813   rm -rf conftest*
8814   glibcpp_cv_func_atan2l_use=yes
8815 else
8816   echo "configure: failed program was:" >&5
8817   cat conftest.$ac_ext >&5
8818   rm -rf conftest*
8819   glibcpp_cv_func_atan2l_use=no
8820 fi
8821 rm -f conftest*
8822     ac_ext=c
8823 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8824 ac_cpp='$CPP $CPPFLAGS'
8825 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8826 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8827 cross_compiling=$ac_cv_prog_cc_cross
8828
8829   
8830 fi
8831
8832   echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8833   if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8834     for ac_func in atan2l
8835 do
8836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8837 echo "configure:8838: checking for $ac_func" >&5
8838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8839   echo $ac_n "(cached) $ac_c" 1>&6
8840 else
8841   cat > conftest.$ac_ext <<EOF
8842 #line 8843 "configure"
8843 #include "confdefs.h"
8844 /* System header to define __stub macros and hopefully few prototypes,
8845     which can conflict with char $ac_func(); below.  */
8846 #include <assert.h>
8847 /* Override any gcc2 internal prototype to avoid an error.  */
8848 /* We use char because int might match the return type of a gcc2
8849     builtin and then its argument prototype would still apply.  */
8850 char $ac_func();
8851
8852 int main() {
8853
8854 /* The GNU C library defines this for functions which it implements
8855     to always fail with ENOSYS.  Some functions are actually named
8856     something starting with __ and the normal name is an alias.  */
8857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8858 choke me
8859 #else
8860 $ac_func();
8861 #endif
8862
8863 ; return 0; }
8864 EOF
8865 if { (eval echo configure:8866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8866   rm -rf conftest*
8867   eval "ac_cv_func_$ac_func=yes"
8868 else
8869   echo "configure: failed program was:" >&5
8870   cat conftest.$ac_ext >&5
8871   rm -rf conftest*
8872   eval "ac_cv_func_$ac_func=no"
8873 fi
8874 rm -f conftest*
8875 fi
8876
8877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8878   echo "$ac_t""yes" 1>&6
8879     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8880   cat >> confdefs.h <<EOF
8881 #define $ac_tr_func 1
8882 EOF
8883  
8884 else
8885   echo "$ac_t""no" 1>&6
8886 fi
8887 done
8888     
8889   fi
8890
8891   
8892   echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
8893 echo "configure:8894: checking for ceill declaration" >&5
8894   if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
8895   echo $ac_n "(cached) $ac_c" 1>&6
8896 else
8897   
8898     
8899     ac_ext=C
8900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8901 ac_cpp='$CXXCPP $CPPFLAGS'
8902 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8903 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8904 cross_compiling=$ac_cv_prog_cxx_cross
8905
8906     cat > conftest.$ac_ext <<EOF
8907 #line 8908 "configure"
8908 #include "confdefs.h"
8909 #include <math.h>
8910 int main() {
8911  ceill(0);
8912 ; return 0; }
8913 EOF
8914 if { (eval echo configure:8915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8915   rm -rf conftest*
8916   glibcpp_cv_func_ceill_use=yes
8917 else
8918   echo "configure: failed program was:" >&5
8919   cat conftest.$ac_ext >&5
8920   rm -rf conftest*
8921   glibcpp_cv_func_ceill_use=no
8922 fi
8923 rm -f conftest*
8924     ac_ext=c
8925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8926 ac_cpp='$CPP $CPPFLAGS'
8927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8929 cross_compiling=$ac_cv_prog_cc_cross
8930
8931   
8932 fi
8933
8934   echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
8935   if test x$glibcpp_cv_func_ceill_use = x"yes"; then
8936     for ac_func in ceill
8937 do
8938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8939 echo "configure:8940: checking for $ac_func" >&5
8940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8941   echo $ac_n "(cached) $ac_c" 1>&6
8942 else
8943   cat > conftest.$ac_ext <<EOF
8944 #line 8945 "configure"
8945 #include "confdefs.h"
8946 /* System header to define __stub macros and hopefully few prototypes,
8947     which can conflict with char $ac_func(); below.  */
8948 #include <assert.h>
8949 /* Override any gcc2 internal prototype to avoid an error.  */
8950 /* We use char because int might match the return type of a gcc2
8951     builtin and then its argument prototype would still apply.  */
8952 char $ac_func();
8953
8954 int main() {
8955
8956 /* The GNU C library defines this for functions which it implements
8957     to always fail with ENOSYS.  Some functions are actually named
8958     something starting with __ and the normal name is an alias.  */
8959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8960 choke me
8961 #else
8962 $ac_func();
8963 #endif
8964
8965 ; return 0; }
8966 EOF
8967 if { (eval echo configure:8968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8968   rm -rf conftest*
8969   eval "ac_cv_func_$ac_func=yes"
8970 else
8971   echo "configure: failed program was:" >&5
8972   cat conftest.$ac_ext >&5
8973   rm -rf conftest*
8974   eval "ac_cv_func_$ac_func=no"
8975 fi
8976 rm -f conftest*
8977 fi
8978
8979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8980   echo "$ac_t""yes" 1>&6
8981     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8982   cat >> confdefs.h <<EOF
8983 #define $ac_tr_func 1
8984 EOF
8985  
8986 else
8987   echo "$ac_t""no" 1>&6
8988 fi
8989 done
8990     
8991   fi
8992
8993   
8994   echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
8995 echo "configure:8996: checking for cosl declaration" >&5
8996   if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
8997   echo $ac_n "(cached) $ac_c" 1>&6
8998 else
8999   
9000     
9001     ac_ext=C
9002 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9003 ac_cpp='$CXXCPP $CPPFLAGS'
9004 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9005 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9006 cross_compiling=$ac_cv_prog_cxx_cross
9007
9008     cat > conftest.$ac_ext <<EOF
9009 #line 9010 "configure"
9010 #include "confdefs.h"
9011 #include <math.h>
9012 int main() {
9013  cosl(0);
9014 ; return 0; }
9015 EOF
9016 if { (eval echo configure:9017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9017   rm -rf conftest*
9018   glibcpp_cv_func_cosl_use=yes
9019 else
9020   echo "configure: failed program was:" >&5
9021   cat conftest.$ac_ext >&5
9022   rm -rf conftest*
9023   glibcpp_cv_func_cosl_use=no
9024 fi
9025 rm -f conftest*
9026     ac_ext=c
9027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9028 ac_cpp='$CPP $CPPFLAGS'
9029 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9030 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9031 cross_compiling=$ac_cv_prog_cc_cross
9032
9033   
9034 fi
9035
9036   echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
9037   if test x$glibcpp_cv_func_cosl_use = x"yes"; then
9038     for ac_func in cosl
9039 do
9040 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9041 echo "configure:9042: checking for $ac_func" >&5
9042 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9043   echo $ac_n "(cached) $ac_c" 1>&6
9044 else
9045   cat > conftest.$ac_ext <<EOF
9046 #line 9047 "configure"
9047 #include "confdefs.h"
9048 /* System header to define __stub macros and hopefully few prototypes,
9049     which can conflict with char $ac_func(); below.  */
9050 #include <assert.h>
9051 /* Override any gcc2 internal prototype to avoid an error.  */
9052 /* We use char because int might match the return type of a gcc2
9053     builtin and then its argument prototype would still apply.  */
9054 char $ac_func();
9055
9056 int main() {
9057
9058 /* The GNU C library defines this for functions which it implements
9059     to always fail with ENOSYS.  Some functions are actually named
9060     something starting with __ and the normal name is an alias.  */
9061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9062 choke me
9063 #else
9064 $ac_func();
9065 #endif
9066
9067 ; return 0; }
9068 EOF
9069 if { (eval echo configure:9070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9070   rm -rf conftest*
9071   eval "ac_cv_func_$ac_func=yes"
9072 else
9073   echo "configure: failed program was:" >&5
9074   cat conftest.$ac_ext >&5
9075   rm -rf conftest*
9076   eval "ac_cv_func_$ac_func=no"
9077 fi
9078 rm -f conftest*
9079 fi
9080
9081 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9082   echo "$ac_t""yes" 1>&6
9083     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9084   cat >> confdefs.h <<EOF
9085 #define $ac_tr_func 1
9086 EOF
9087  
9088 else
9089   echo "$ac_t""no" 1>&6
9090 fi
9091 done
9092     
9093   fi
9094
9095   
9096   echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9097 echo "configure:9098: checking for coshl declaration" >&5
9098   if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9099   echo $ac_n "(cached) $ac_c" 1>&6
9100 else
9101   
9102     
9103     ac_ext=C
9104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9105 ac_cpp='$CXXCPP $CPPFLAGS'
9106 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9107 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9108 cross_compiling=$ac_cv_prog_cxx_cross
9109
9110     cat > conftest.$ac_ext <<EOF
9111 #line 9112 "configure"
9112 #include "confdefs.h"
9113 #include <math.h>
9114 int main() {
9115  coshl(0);
9116 ; return 0; }
9117 EOF
9118 if { (eval echo configure:9119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9119   rm -rf conftest*
9120   glibcpp_cv_func_coshl_use=yes
9121 else
9122   echo "configure: failed program was:" >&5
9123   cat conftest.$ac_ext >&5
9124   rm -rf conftest*
9125   glibcpp_cv_func_coshl_use=no
9126 fi
9127 rm -f conftest*
9128     ac_ext=c
9129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9130 ac_cpp='$CPP $CPPFLAGS'
9131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9133 cross_compiling=$ac_cv_prog_cc_cross
9134
9135   
9136 fi
9137
9138   echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9139   if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9140     for ac_func in coshl
9141 do
9142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9143 echo "configure:9144: checking for $ac_func" >&5
9144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9145   echo $ac_n "(cached) $ac_c" 1>&6
9146 else
9147   cat > conftest.$ac_ext <<EOF
9148 #line 9149 "configure"
9149 #include "confdefs.h"
9150 /* System header to define __stub macros and hopefully few prototypes,
9151     which can conflict with char $ac_func(); below.  */
9152 #include <assert.h>
9153 /* Override any gcc2 internal prototype to avoid an error.  */
9154 /* We use char because int might match the return type of a gcc2
9155     builtin and then its argument prototype would still apply.  */
9156 char $ac_func();
9157
9158 int main() {
9159
9160 /* The GNU C library defines this for functions which it implements
9161     to always fail with ENOSYS.  Some functions are actually named
9162     something starting with __ and the normal name is an alias.  */
9163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9164 choke me
9165 #else
9166 $ac_func();
9167 #endif
9168
9169 ; return 0; }
9170 EOF
9171 if { (eval echo configure:9172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9172   rm -rf conftest*
9173   eval "ac_cv_func_$ac_func=yes"
9174 else
9175   echo "configure: failed program was:" >&5
9176   cat conftest.$ac_ext >&5
9177   rm -rf conftest*
9178   eval "ac_cv_func_$ac_func=no"
9179 fi
9180 rm -f conftest*
9181 fi
9182
9183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9184   echo "$ac_t""yes" 1>&6
9185     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9186   cat >> confdefs.h <<EOF
9187 #define $ac_tr_func 1
9188 EOF
9189  
9190 else
9191   echo "$ac_t""no" 1>&6
9192 fi
9193 done
9194     
9195   fi
9196
9197   
9198   echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9199 echo "configure:9200: checking for expl declaration" >&5
9200   if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9201   echo $ac_n "(cached) $ac_c" 1>&6
9202 else
9203   
9204     
9205     ac_ext=C
9206 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9207 ac_cpp='$CXXCPP $CPPFLAGS'
9208 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9209 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9210 cross_compiling=$ac_cv_prog_cxx_cross
9211
9212     cat > conftest.$ac_ext <<EOF
9213 #line 9214 "configure"
9214 #include "confdefs.h"
9215 #include <math.h>
9216 int main() {
9217  expl(0);
9218 ; return 0; }
9219 EOF
9220 if { (eval echo configure:9221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9221   rm -rf conftest*
9222   glibcpp_cv_func_expl_use=yes
9223 else
9224   echo "configure: failed program was:" >&5
9225   cat conftest.$ac_ext >&5
9226   rm -rf conftest*
9227   glibcpp_cv_func_expl_use=no
9228 fi
9229 rm -f conftest*
9230     ac_ext=c
9231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9232 ac_cpp='$CPP $CPPFLAGS'
9233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9235 cross_compiling=$ac_cv_prog_cc_cross
9236
9237   
9238 fi
9239
9240   echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9241   if test x$glibcpp_cv_func_expl_use = x"yes"; then
9242     for ac_func in expl
9243 do
9244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9245 echo "configure:9246: checking for $ac_func" >&5
9246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9247   echo $ac_n "(cached) $ac_c" 1>&6
9248 else
9249   cat > conftest.$ac_ext <<EOF
9250 #line 9251 "configure"
9251 #include "confdefs.h"
9252 /* System header to define __stub macros and hopefully few prototypes,
9253     which can conflict with char $ac_func(); below.  */
9254 #include <assert.h>
9255 /* Override any gcc2 internal prototype to avoid an error.  */
9256 /* We use char because int might match the return type of a gcc2
9257     builtin and then its argument prototype would still apply.  */
9258 char $ac_func();
9259
9260 int main() {
9261
9262 /* The GNU C library defines this for functions which it implements
9263     to always fail with ENOSYS.  Some functions are actually named
9264     something starting with __ and the normal name is an alias.  */
9265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9266 choke me
9267 #else
9268 $ac_func();
9269 #endif
9270
9271 ; return 0; }
9272 EOF
9273 if { (eval echo configure:9274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9274   rm -rf conftest*
9275   eval "ac_cv_func_$ac_func=yes"
9276 else
9277   echo "configure: failed program was:" >&5
9278   cat conftest.$ac_ext >&5
9279   rm -rf conftest*
9280   eval "ac_cv_func_$ac_func=no"
9281 fi
9282 rm -f conftest*
9283 fi
9284
9285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9286   echo "$ac_t""yes" 1>&6
9287     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9288   cat >> confdefs.h <<EOF
9289 #define $ac_tr_func 1
9290 EOF
9291  
9292 else
9293   echo "$ac_t""no" 1>&6
9294 fi
9295 done
9296     
9297   fi
9298
9299   
9300   echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9301 echo "configure:9302: checking for fabsl declaration" >&5
9302   if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9303   echo $ac_n "(cached) $ac_c" 1>&6
9304 else
9305   
9306     
9307     ac_ext=C
9308 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9309 ac_cpp='$CXXCPP $CPPFLAGS'
9310 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9311 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9312 cross_compiling=$ac_cv_prog_cxx_cross
9313
9314     cat > conftest.$ac_ext <<EOF
9315 #line 9316 "configure"
9316 #include "confdefs.h"
9317 #include <math.h>
9318 int main() {
9319  fabsl(0);
9320 ; return 0; }
9321 EOF
9322 if { (eval echo configure:9323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9323   rm -rf conftest*
9324   glibcpp_cv_func_fabsl_use=yes
9325 else
9326   echo "configure: failed program was:" >&5
9327   cat conftest.$ac_ext >&5
9328   rm -rf conftest*
9329   glibcpp_cv_func_fabsl_use=no
9330 fi
9331 rm -f conftest*
9332     ac_ext=c
9333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9334 ac_cpp='$CPP $CPPFLAGS'
9335 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9336 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9337 cross_compiling=$ac_cv_prog_cc_cross
9338
9339   
9340 fi
9341
9342   echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9343   if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9344     for ac_func in fabsl
9345 do
9346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9347 echo "configure:9348: checking for $ac_func" >&5
9348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9349   echo $ac_n "(cached) $ac_c" 1>&6
9350 else
9351   cat > conftest.$ac_ext <<EOF
9352 #line 9353 "configure"
9353 #include "confdefs.h"
9354 /* System header to define __stub macros and hopefully few prototypes,
9355     which can conflict with char $ac_func(); below.  */
9356 #include <assert.h>
9357 /* Override any gcc2 internal prototype to avoid an error.  */
9358 /* We use char because int might match the return type of a gcc2
9359     builtin and then its argument prototype would still apply.  */
9360 char $ac_func();
9361
9362 int main() {
9363
9364 /* The GNU C library defines this for functions which it implements
9365     to always fail with ENOSYS.  Some functions are actually named
9366     something starting with __ and the normal name is an alias.  */
9367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9368 choke me
9369 #else
9370 $ac_func();
9371 #endif
9372
9373 ; return 0; }
9374 EOF
9375 if { (eval echo configure:9376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9376   rm -rf conftest*
9377   eval "ac_cv_func_$ac_func=yes"
9378 else
9379   echo "configure: failed program was:" >&5
9380   cat conftest.$ac_ext >&5
9381   rm -rf conftest*
9382   eval "ac_cv_func_$ac_func=no"
9383 fi
9384 rm -f conftest*
9385 fi
9386
9387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9388   echo "$ac_t""yes" 1>&6
9389     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9390   cat >> confdefs.h <<EOF
9391 #define $ac_tr_func 1
9392 EOF
9393  
9394 else
9395   echo "$ac_t""no" 1>&6
9396 fi
9397 done
9398     
9399   fi
9400
9401   
9402   echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9403 echo "configure:9404: checking for floorl declaration" >&5
9404   if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9405   echo $ac_n "(cached) $ac_c" 1>&6
9406 else
9407   
9408     
9409     ac_ext=C
9410 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9411 ac_cpp='$CXXCPP $CPPFLAGS'
9412 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9413 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9414 cross_compiling=$ac_cv_prog_cxx_cross
9415
9416     cat > conftest.$ac_ext <<EOF
9417 #line 9418 "configure"
9418 #include "confdefs.h"
9419 #include <math.h>
9420 int main() {
9421  floorl(0);
9422 ; return 0; }
9423 EOF
9424 if { (eval echo configure:9425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9425   rm -rf conftest*
9426   glibcpp_cv_func_floorl_use=yes
9427 else
9428   echo "configure: failed program was:" >&5
9429   cat conftest.$ac_ext >&5
9430   rm -rf conftest*
9431   glibcpp_cv_func_floorl_use=no
9432 fi
9433 rm -f conftest*
9434     ac_ext=c
9435 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9436 ac_cpp='$CPP $CPPFLAGS'
9437 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9438 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9439 cross_compiling=$ac_cv_prog_cc_cross
9440
9441   
9442 fi
9443
9444   echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9445   if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9446     for ac_func in floorl
9447 do
9448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9449 echo "configure:9450: checking for $ac_func" >&5
9450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9451   echo $ac_n "(cached) $ac_c" 1>&6
9452 else
9453   cat > conftest.$ac_ext <<EOF
9454 #line 9455 "configure"
9455 #include "confdefs.h"
9456 /* System header to define __stub macros and hopefully few prototypes,
9457     which can conflict with char $ac_func(); below.  */
9458 #include <assert.h>
9459 /* Override any gcc2 internal prototype to avoid an error.  */
9460 /* We use char because int might match the return type of a gcc2
9461     builtin and then its argument prototype would still apply.  */
9462 char $ac_func();
9463
9464 int main() {
9465
9466 /* The GNU C library defines this for functions which it implements
9467     to always fail with ENOSYS.  Some functions are actually named
9468     something starting with __ and the normal name is an alias.  */
9469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9470 choke me
9471 #else
9472 $ac_func();
9473 #endif
9474
9475 ; return 0; }
9476 EOF
9477 if { (eval echo configure:9478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9478   rm -rf conftest*
9479   eval "ac_cv_func_$ac_func=yes"
9480 else
9481   echo "configure: failed program was:" >&5
9482   cat conftest.$ac_ext >&5
9483   rm -rf conftest*
9484   eval "ac_cv_func_$ac_func=no"
9485 fi
9486 rm -f conftest*
9487 fi
9488
9489 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9490   echo "$ac_t""yes" 1>&6
9491     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9492   cat >> confdefs.h <<EOF
9493 #define $ac_tr_func 1
9494 EOF
9495  
9496 else
9497   echo "$ac_t""no" 1>&6
9498 fi
9499 done
9500     
9501   fi
9502
9503   
9504   echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9505 echo "configure:9506: checking for fmodl declaration" >&5
9506   if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9507   echo $ac_n "(cached) $ac_c" 1>&6
9508 else
9509   
9510     
9511     ac_ext=C
9512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9513 ac_cpp='$CXXCPP $CPPFLAGS'
9514 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9515 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9516 cross_compiling=$ac_cv_prog_cxx_cross
9517
9518     cat > conftest.$ac_ext <<EOF
9519 #line 9520 "configure"
9520 #include "confdefs.h"
9521 #include <math.h>
9522 int main() {
9523  fmodl(0, 0);
9524 ; return 0; }
9525 EOF
9526 if { (eval echo configure:9527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9527   rm -rf conftest*
9528   glibcpp_cv_func_fmodl_use=yes
9529 else
9530   echo "configure: failed program was:" >&5
9531   cat conftest.$ac_ext >&5
9532   rm -rf conftest*
9533   glibcpp_cv_func_fmodl_use=no
9534 fi
9535 rm -f conftest*
9536     ac_ext=c
9537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9538 ac_cpp='$CPP $CPPFLAGS'
9539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9541 cross_compiling=$ac_cv_prog_cc_cross
9542
9543   
9544 fi
9545
9546   echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9547   if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9548     for ac_func in fmodl
9549 do
9550 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9551 echo "configure:9552: checking for $ac_func" >&5
9552 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9553   echo $ac_n "(cached) $ac_c" 1>&6
9554 else
9555   cat > conftest.$ac_ext <<EOF
9556 #line 9557 "configure"
9557 #include "confdefs.h"
9558 /* System header to define __stub macros and hopefully few prototypes,
9559     which can conflict with char $ac_func(); below.  */
9560 #include <assert.h>
9561 /* Override any gcc2 internal prototype to avoid an error.  */
9562 /* We use char because int might match the return type of a gcc2
9563     builtin and then its argument prototype would still apply.  */
9564 char $ac_func();
9565
9566 int main() {
9567
9568 /* The GNU C library defines this for functions which it implements
9569     to always fail with ENOSYS.  Some functions are actually named
9570     something starting with __ and the normal name is an alias.  */
9571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9572 choke me
9573 #else
9574 $ac_func();
9575 #endif
9576
9577 ; return 0; }
9578 EOF
9579 if { (eval echo configure:9580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9580   rm -rf conftest*
9581   eval "ac_cv_func_$ac_func=yes"
9582 else
9583   echo "configure: failed program was:" >&5
9584   cat conftest.$ac_ext >&5
9585   rm -rf conftest*
9586   eval "ac_cv_func_$ac_func=no"
9587 fi
9588 rm -f conftest*
9589 fi
9590
9591 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9592   echo "$ac_t""yes" 1>&6
9593     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9594   cat >> confdefs.h <<EOF
9595 #define $ac_tr_func 1
9596 EOF
9597  
9598 else
9599   echo "$ac_t""no" 1>&6
9600 fi
9601 done
9602     
9603   fi
9604
9605   
9606   echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9607 echo "configure:9608: checking for frexpl declaration" >&5
9608   if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9609   echo $ac_n "(cached) $ac_c" 1>&6
9610 else
9611   
9612     
9613     ac_ext=C
9614 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9615 ac_cpp='$CXXCPP $CPPFLAGS'
9616 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9617 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9618 cross_compiling=$ac_cv_prog_cxx_cross
9619
9620     cat > conftest.$ac_ext <<EOF
9621 #line 9622 "configure"
9622 #include "confdefs.h"
9623 #include <math.h>
9624 int main() {
9625  frexpl(0, 0);
9626 ; return 0; }
9627 EOF
9628 if { (eval echo configure:9629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9629   rm -rf conftest*
9630   glibcpp_cv_func_frexpl_use=yes
9631 else
9632   echo "configure: failed program was:" >&5
9633   cat conftest.$ac_ext >&5
9634   rm -rf conftest*
9635   glibcpp_cv_func_frexpl_use=no
9636 fi
9637 rm -f conftest*
9638     ac_ext=c
9639 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9640 ac_cpp='$CPP $CPPFLAGS'
9641 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9642 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9643 cross_compiling=$ac_cv_prog_cc_cross
9644
9645   
9646 fi
9647
9648   echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9649   if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9650     for ac_func in frexpl
9651 do
9652 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9653 echo "configure:9654: checking for $ac_func" >&5
9654 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9655   echo $ac_n "(cached) $ac_c" 1>&6
9656 else
9657   cat > conftest.$ac_ext <<EOF
9658 #line 9659 "configure"
9659 #include "confdefs.h"
9660 /* System header to define __stub macros and hopefully few prototypes,
9661     which can conflict with char $ac_func(); below.  */
9662 #include <assert.h>
9663 /* Override any gcc2 internal prototype to avoid an error.  */
9664 /* We use char because int might match the return type of a gcc2
9665     builtin and then its argument prototype would still apply.  */
9666 char $ac_func();
9667
9668 int main() {
9669
9670 /* The GNU C library defines this for functions which it implements
9671     to always fail with ENOSYS.  Some functions are actually named
9672     something starting with __ and the normal name is an alias.  */
9673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9674 choke me
9675 #else
9676 $ac_func();
9677 #endif
9678
9679 ; return 0; }
9680 EOF
9681 if { (eval echo configure:9682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9682   rm -rf conftest*
9683   eval "ac_cv_func_$ac_func=yes"
9684 else
9685   echo "configure: failed program was:" >&5
9686   cat conftest.$ac_ext >&5
9687   rm -rf conftest*
9688   eval "ac_cv_func_$ac_func=no"
9689 fi
9690 rm -f conftest*
9691 fi
9692
9693 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9694   echo "$ac_t""yes" 1>&6
9695     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9696   cat >> confdefs.h <<EOF
9697 #define $ac_tr_func 1
9698 EOF
9699  
9700 else
9701   echo "$ac_t""no" 1>&6
9702 fi
9703 done
9704     
9705   fi
9706
9707   
9708   echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9709 echo "configure:9710: checking for ldexpl declaration" >&5
9710   if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9711   echo $ac_n "(cached) $ac_c" 1>&6
9712 else
9713   
9714     
9715     ac_ext=C
9716 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9717 ac_cpp='$CXXCPP $CPPFLAGS'
9718 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9719 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9720 cross_compiling=$ac_cv_prog_cxx_cross
9721
9722     cat > conftest.$ac_ext <<EOF
9723 #line 9724 "configure"
9724 #include "confdefs.h"
9725 #include <math.h>
9726 int main() {
9727  ldexpl(0, 0);
9728 ; return 0; }
9729 EOF
9730 if { (eval echo configure:9731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9731   rm -rf conftest*
9732   glibcpp_cv_func_ldexpl_use=yes
9733 else
9734   echo "configure: failed program was:" >&5
9735   cat conftest.$ac_ext >&5
9736   rm -rf conftest*
9737   glibcpp_cv_func_ldexpl_use=no
9738 fi
9739 rm -f conftest*
9740     ac_ext=c
9741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9742 ac_cpp='$CPP $CPPFLAGS'
9743 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9744 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9745 cross_compiling=$ac_cv_prog_cc_cross
9746
9747   
9748 fi
9749
9750   echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9751   if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9752     for ac_func in ldexpl
9753 do
9754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9755 echo "configure:9756: checking for $ac_func" >&5
9756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9757   echo $ac_n "(cached) $ac_c" 1>&6
9758 else
9759   cat > conftest.$ac_ext <<EOF
9760 #line 9761 "configure"
9761 #include "confdefs.h"
9762 /* System header to define __stub macros and hopefully few prototypes,
9763     which can conflict with char $ac_func(); below.  */
9764 #include <assert.h>
9765 /* Override any gcc2 internal prototype to avoid an error.  */
9766 /* We use char because int might match the return type of a gcc2
9767     builtin and then its argument prototype would still apply.  */
9768 char $ac_func();
9769
9770 int main() {
9771
9772 /* The GNU C library defines this for functions which it implements
9773     to always fail with ENOSYS.  Some functions are actually named
9774     something starting with __ and the normal name is an alias.  */
9775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9776 choke me
9777 #else
9778 $ac_func();
9779 #endif
9780
9781 ; return 0; }
9782 EOF
9783 if { (eval echo configure:9784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9784   rm -rf conftest*
9785   eval "ac_cv_func_$ac_func=yes"
9786 else
9787   echo "configure: failed program was:" >&5
9788   cat conftest.$ac_ext >&5
9789   rm -rf conftest*
9790   eval "ac_cv_func_$ac_func=no"
9791 fi
9792 rm -f conftest*
9793 fi
9794
9795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9796   echo "$ac_t""yes" 1>&6
9797     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9798   cat >> confdefs.h <<EOF
9799 #define $ac_tr_func 1
9800 EOF
9801  
9802 else
9803   echo "$ac_t""no" 1>&6
9804 fi
9805 done
9806     
9807   fi
9808
9809   
9810   echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9811 echo "configure:9812: checking for logl declaration" >&5
9812   if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9813   echo $ac_n "(cached) $ac_c" 1>&6
9814 else
9815   
9816     
9817     ac_ext=C
9818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9819 ac_cpp='$CXXCPP $CPPFLAGS'
9820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9822 cross_compiling=$ac_cv_prog_cxx_cross
9823
9824     cat > conftest.$ac_ext <<EOF
9825 #line 9826 "configure"
9826 #include "confdefs.h"
9827 #include <math.h>
9828 int main() {
9829  logl(0);
9830 ; return 0; }
9831 EOF
9832 if { (eval echo configure:9833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9833   rm -rf conftest*
9834   glibcpp_cv_func_logl_use=yes
9835 else
9836   echo "configure: failed program was:" >&5
9837   cat conftest.$ac_ext >&5
9838   rm -rf conftest*
9839   glibcpp_cv_func_logl_use=no
9840 fi
9841 rm -f conftest*
9842     ac_ext=c
9843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9844 ac_cpp='$CPP $CPPFLAGS'
9845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9847 cross_compiling=$ac_cv_prog_cc_cross
9848
9849   
9850 fi
9851
9852   echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9853   if test x$glibcpp_cv_func_logl_use = x"yes"; then
9854     for ac_func in logl
9855 do
9856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9857 echo "configure:9858: checking for $ac_func" >&5
9858 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9859   echo $ac_n "(cached) $ac_c" 1>&6
9860 else
9861   cat > conftest.$ac_ext <<EOF
9862 #line 9863 "configure"
9863 #include "confdefs.h"
9864 /* System header to define __stub macros and hopefully few prototypes,
9865     which can conflict with char $ac_func(); below.  */
9866 #include <assert.h>
9867 /* Override any gcc2 internal prototype to avoid an error.  */
9868 /* We use char because int might match the return type of a gcc2
9869     builtin and then its argument prototype would still apply.  */
9870 char $ac_func();
9871
9872 int main() {
9873
9874 /* The GNU C library defines this for functions which it implements
9875     to always fail with ENOSYS.  Some functions are actually named
9876     something starting with __ and the normal name is an alias.  */
9877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9878 choke me
9879 #else
9880 $ac_func();
9881 #endif
9882
9883 ; return 0; }
9884 EOF
9885 if { (eval echo configure:9886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9886   rm -rf conftest*
9887   eval "ac_cv_func_$ac_func=yes"
9888 else
9889   echo "configure: failed program was:" >&5
9890   cat conftest.$ac_ext >&5
9891   rm -rf conftest*
9892   eval "ac_cv_func_$ac_func=no"
9893 fi
9894 rm -f conftest*
9895 fi
9896
9897 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9898   echo "$ac_t""yes" 1>&6
9899     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9900   cat >> confdefs.h <<EOF
9901 #define $ac_tr_func 1
9902 EOF
9903  
9904 else
9905   echo "$ac_t""no" 1>&6
9906 fi
9907 done
9908     
9909   fi
9910
9911   
9912   echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9913 echo "configure:9914: checking for log10l declaration" >&5
9914   if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9915   echo $ac_n "(cached) $ac_c" 1>&6
9916 else
9917   
9918     
9919     ac_ext=C
9920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9921 ac_cpp='$CXXCPP $CPPFLAGS'
9922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9924 cross_compiling=$ac_cv_prog_cxx_cross
9925
9926     cat > conftest.$ac_ext <<EOF
9927 #line 9928 "configure"
9928 #include "confdefs.h"
9929 #include <math.h>
9930 int main() {
9931  log10l(0);
9932 ; return 0; }
9933 EOF
9934 if { (eval echo configure:9935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9935   rm -rf conftest*
9936   glibcpp_cv_func_log10l_use=yes
9937 else
9938   echo "configure: failed program was:" >&5
9939   cat conftest.$ac_ext >&5
9940   rm -rf conftest*
9941   glibcpp_cv_func_log10l_use=no
9942 fi
9943 rm -f conftest*
9944     ac_ext=c
9945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9946 ac_cpp='$CPP $CPPFLAGS'
9947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9949 cross_compiling=$ac_cv_prog_cc_cross
9950
9951   
9952 fi
9953
9954   echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
9955   if test x$glibcpp_cv_func_log10l_use = x"yes"; then
9956     for ac_func in log10l
9957 do
9958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9959 echo "configure:9960: checking for $ac_func" >&5
9960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9961   echo $ac_n "(cached) $ac_c" 1>&6
9962 else
9963   cat > conftest.$ac_ext <<EOF
9964 #line 9965 "configure"
9965 #include "confdefs.h"
9966 /* System header to define __stub macros and hopefully few prototypes,
9967     which can conflict with char $ac_func(); below.  */
9968 #include <assert.h>
9969 /* Override any gcc2 internal prototype to avoid an error.  */
9970 /* We use char because int might match the return type of a gcc2
9971     builtin and then its argument prototype would still apply.  */
9972 char $ac_func();
9973
9974 int main() {
9975
9976 /* The GNU C library defines this for functions which it implements
9977     to always fail with ENOSYS.  Some functions are actually named
9978     something starting with __ and the normal name is an alias.  */
9979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9980 choke me
9981 #else
9982 $ac_func();
9983 #endif
9984
9985 ; return 0; }
9986 EOF
9987 if { (eval echo configure:9988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9988   rm -rf conftest*
9989   eval "ac_cv_func_$ac_func=yes"
9990 else
9991   echo "configure: failed program was:" >&5
9992   cat conftest.$ac_ext >&5
9993   rm -rf conftest*
9994   eval "ac_cv_func_$ac_func=no"
9995 fi
9996 rm -f conftest*
9997 fi
9998
9999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10000   echo "$ac_t""yes" 1>&6
10001     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10002   cat >> confdefs.h <<EOF
10003 #define $ac_tr_func 1
10004 EOF
10005  
10006 else
10007   echo "$ac_t""no" 1>&6
10008 fi
10009 done
10010     
10011   fi
10012
10013   
10014   echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
10015 echo "configure:10016: checking for modfl declaration" >&5
10016   if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
10017   echo $ac_n "(cached) $ac_c" 1>&6
10018 else
10019   
10020     
10021     ac_ext=C
10022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10023 ac_cpp='$CXXCPP $CPPFLAGS'
10024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10026 cross_compiling=$ac_cv_prog_cxx_cross
10027
10028     cat > conftest.$ac_ext <<EOF
10029 #line 10030 "configure"
10030 #include "confdefs.h"
10031 #include <math.h>
10032 int main() {
10033  modfl(0, 0);
10034 ; return 0; }
10035 EOF
10036 if { (eval echo configure:10037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10037   rm -rf conftest*
10038   glibcpp_cv_func_modfl_use=yes
10039 else
10040   echo "configure: failed program was:" >&5
10041   cat conftest.$ac_ext >&5
10042   rm -rf conftest*
10043   glibcpp_cv_func_modfl_use=no
10044 fi
10045 rm -f conftest*
10046     ac_ext=c
10047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10048 ac_cpp='$CPP $CPPFLAGS'
10049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10051 cross_compiling=$ac_cv_prog_cc_cross
10052
10053   
10054 fi
10055
10056   echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
10057   if test x$glibcpp_cv_func_modfl_use = x"yes"; then
10058     for ac_func in modfl
10059 do
10060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10061 echo "configure:10062: checking for $ac_func" >&5
10062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10063   echo $ac_n "(cached) $ac_c" 1>&6
10064 else
10065   cat > conftest.$ac_ext <<EOF
10066 #line 10067 "configure"
10067 #include "confdefs.h"
10068 /* System header to define __stub macros and hopefully few prototypes,
10069     which can conflict with char $ac_func(); below.  */
10070 #include <assert.h>
10071 /* Override any gcc2 internal prototype to avoid an error.  */
10072 /* We use char because int might match the return type of a gcc2
10073     builtin and then its argument prototype would still apply.  */
10074 char $ac_func();
10075
10076 int main() {
10077
10078 /* The GNU C library defines this for functions which it implements
10079     to always fail with ENOSYS.  Some functions are actually named
10080     something starting with __ and the normal name is an alias.  */
10081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10082 choke me
10083 #else
10084 $ac_func();
10085 #endif
10086
10087 ; return 0; }
10088 EOF
10089 if { (eval echo configure:10090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10090   rm -rf conftest*
10091   eval "ac_cv_func_$ac_func=yes"
10092 else
10093   echo "configure: failed program was:" >&5
10094   cat conftest.$ac_ext >&5
10095   rm -rf conftest*
10096   eval "ac_cv_func_$ac_func=no"
10097 fi
10098 rm -f conftest*
10099 fi
10100
10101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10102   echo "$ac_t""yes" 1>&6
10103     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10104   cat >> confdefs.h <<EOF
10105 #define $ac_tr_func 1
10106 EOF
10107  
10108 else
10109   echo "$ac_t""no" 1>&6
10110 fi
10111 done
10112     
10113   fi
10114
10115   
10116   echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10117 echo "configure:10118: checking for powl declaration" >&5
10118   if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10119   echo $ac_n "(cached) $ac_c" 1>&6
10120 else
10121   
10122     
10123     ac_ext=C
10124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10125 ac_cpp='$CXXCPP $CPPFLAGS'
10126 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10127 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10128 cross_compiling=$ac_cv_prog_cxx_cross
10129
10130     cat > conftest.$ac_ext <<EOF
10131 #line 10132 "configure"
10132 #include "confdefs.h"
10133 #include <math.h>
10134 int main() {
10135  powl(0, 0);
10136 ; return 0; }
10137 EOF
10138 if { (eval echo configure:10139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10139   rm -rf conftest*
10140   glibcpp_cv_func_powl_use=yes
10141 else
10142   echo "configure: failed program was:" >&5
10143   cat conftest.$ac_ext >&5
10144   rm -rf conftest*
10145   glibcpp_cv_func_powl_use=no
10146 fi
10147 rm -f conftest*
10148     ac_ext=c
10149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10150 ac_cpp='$CPP $CPPFLAGS'
10151 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10152 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10153 cross_compiling=$ac_cv_prog_cc_cross
10154
10155   
10156 fi
10157
10158   echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10159   if test x$glibcpp_cv_func_powl_use = x"yes"; then
10160     for ac_func in powl
10161 do
10162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10163 echo "configure:10164: checking for $ac_func" >&5
10164 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10165   echo $ac_n "(cached) $ac_c" 1>&6
10166 else
10167   cat > conftest.$ac_ext <<EOF
10168 #line 10169 "configure"
10169 #include "confdefs.h"
10170 /* System header to define __stub macros and hopefully few prototypes,
10171     which can conflict with char $ac_func(); below.  */
10172 #include <assert.h>
10173 /* Override any gcc2 internal prototype to avoid an error.  */
10174 /* We use char because int might match the return type of a gcc2
10175     builtin and then its argument prototype would still apply.  */
10176 char $ac_func();
10177
10178 int main() {
10179
10180 /* The GNU C library defines this for functions which it implements
10181     to always fail with ENOSYS.  Some functions are actually named
10182     something starting with __ and the normal name is an alias.  */
10183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10184 choke me
10185 #else
10186 $ac_func();
10187 #endif
10188
10189 ; return 0; }
10190 EOF
10191 if { (eval echo configure:10192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10192   rm -rf conftest*
10193   eval "ac_cv_func_$ac_func=yes"
10194 else
10195   echo "configure: failed program was:" >&5
10196   cat conftest.$ac_ext >&5
10197   rm -rf conftest*
10198   eval "ac_cv_func_$ac_func=no"
10199 fi
10200 rm -f conftest*
10201 fi
10202
10203 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10204   echo "$ac_t""yes" 1>&6
10205     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10206   cat >> confdefs.h <<EOF
10207 #define $ac_tr_func 1
10208 EOF
10209  
10210 else
10211   echo "$ac_t""no" 1>&6
10212 fi
10213 done
10214     
10215   fi
10216
10217   
10218   echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10219 echo "configure:10220: checking for sinl declaration" >&5
10220   if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10221   echo $ac_n "(cached) $ac_c" 1>&6
10222 else
10223   
10224     
10225     ac_ext=C
10226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10227 ac_cpp='$CXXCPP $CPPFLAGS'
10228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10230 cross_compiling=$ac_cv_prog_cxx_cross
10231
10232     cat > conftest.$ac_ext <<EOF
10233 #line 10234 "configure"
10234 #include "confdefs.h"
10235 #include <math.h>
10236 int main() {
10237  sinl(0);
10238 ; return 0; }
10239 EOF
10240 if { (eval echo configure:10241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10241   rm -rf conftest*
10242   glibcpp_cv_func_sinl_use=yes
10243 else
10244   echo "configure: failed program was:" >&5
10245   cat conftest.$ac_ext >&5
10246   rm -rf conftest*
10247   glibcpp_cv_func_sinl_use=no
10248 fi
10249 rm -f conftest*
10250     ac_ext=c
10251 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10252 ac_cpp='$CPP $CPPFLAGS'
10253 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10254 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10255 cross_compiling=$ac_cv_prog_cc_cross
10256
10257   
10258 fi
10259
10260   echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10261   if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10262     for ac_func in sinl
10263 do
10264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10265 echo "configure:10266: checking for $ac_func" >&5
10266 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10267   echo $ac_n "(cached) $ac_c" 1>&6
10268 else
10269   cat > conftest.$ac_ext <<EOF
10270 #line 10271 "configure"
10271 #include "confdefs.h"
10272 /* System header to define __stub macros and hopefully few prototypes,
10273     which can conflict with char $ac_func(); below.  */
10274 #include <assert.h>
10275 /* Override any gcc2 internal prototype to avoid an error.  */
10276 /* We use char because int might match the return type of a gcc2
10277     builtin and then its argument prototype would still apply.  */
10278 char $ac_func();
10279
10280 int main() {
10281
10282 /* The GNU C library defines this for functions which it implements
10283     to always fail with ENOSYS.  Some functions are actually named
10284     something starting with __ and the normal name is an alias.  */
10285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10286 choke me
10287 #else
10288 $ac_func();
10289 #endif
10290
10291 ; return 0; }
10292 EOF
10293 if { (eval echo configure:10294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10294   rm -rf conftest*
10295   eval "ac_cv_func_$ac_func=yes"
10296 else
10297   echo "configure: failed program was:" >&5
10298   cat conftest.$ac_ext >&5
10299   rm -rf conftest*
10300   eval "ac_cv_func_$ac_func=no"
10301 fi
10302 rm -f conftest*
10303 fi
10304
10305 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10306   echo "$ac_t""yes" 1>&6
10307     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10308   cat >> confdefs.h <<EOF
10309 #define $ac_tr_func 1
10310 EOF
10311  
10312 else
10313   echo "$ac_t""no" 1>&6
10314 fi
10315 done
10316     
10317   fi
10318
10319   
10320   echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10321 echo "configure:10322: checking for sinhl declaration" >&5
10322   if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10323   echo $ac_n "(cached) $ac_c" 1>&6
10324 else
10325   
10326     
10327     ac_ext=C
10328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10329 ac_cpp='$CXXCPP $CPPFLAGS'
10330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10332 cross_compiling=$ac_cv_prog_cxx_cross
10333
10334     cat > conftest.$ac_ext <<EOF
10335 #line 10336 "configure"
10336 #include "confdefs.h"
10337 #include <math.h>
10338 int main() {
10339  sinhl(0);
10340 ; return 0; }
10341 EOF
10342 if { (eval echo configure:10343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10343   rm -rf conftest*
10344   glibcpp_cv_func_sinhl_use=yes
10345 else
10346   echo "configure: failed program was:" >&5
10347   cat conftest.$ac_ext >&5
10348   rm -rf conftest*
10349   glibcpp_cv_func_sinhl_use=no
10350 fi
10351 rm -f conftest*
10352     ac_ext=c
10353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10354 ac_cpp='$CPP $CPPFLAGS'
10355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10357 cross_compiling=$ac_cv_prog_cc_cross
10358
10359   
10360 fi
10361
10362   echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10363   if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10364     for ac_func in sinhl
10365 do
10366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10367 echo "configure:10368: checking for $ac_func" >&5
10368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10369   echo $ac_n "(cached) $ac_c" 1>&6
10370 else
10371   cat > conftest.$ac_ext <<EOF
10372 #line 10373 "configure"
10373 #include "confdefs.h"
10374 /* System header to define __stub macros and hopefully few prototypes,
10375     which can conflict with char $ac_func(); below.  */
10376 #include <assert.h>
10377 /* Override any gcc2 internal prototype to avoid an error.  */
10378 /* We use char because int might match the return type of a gcc2
10379     builtin and then its argument prototype would still apply.  */
10380 char $ac_func();
10381
10382 int main() {
10383
10384 /* The GNU C library defines this for functions which it implements
10385     to always fail with ENOSYS.  Some functions are actually named
10386     something starting with __ and the normal name is an alias.  */
10387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10388 choke me
10389 #else
10390 $ac_func();
10391 #endif
10392
10393 ; return 0; }
10394 EOF
10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10396   rm -rf conftest*
10397   eval "ac_cv_func_$ac_func=yes"
10398 else
10399   echo "configure: failed program was:" >&5
10400   cat conftest.$ac_ext >&5
10401   rm -rf conftest*
10402   eval "ac_cv_func_$ac_func=no"
10403 fi
10404 rm -f conftest*
10405 fi
10406
10407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10408   echo "$ac_t""yes" 1>&6
10409     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10410   cat >> confdefs.h <<EOF
10411 #define $ac_tr_func 1
10412 EOF
10413  
10414 else
10415   echo "$ac_t""no" 1>&6
10416 fi
10417 done
10418     
10419   fi
10420
10421   
10422   echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10423 echo "configure:10424: checking for sqrtl declaration" >&5
10424   if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10425   echo $ac_n "(cached) $ac_c" 1>&6
10426 else
10427   
10428     
10429     ac_ext=C
10430 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10431 ac_cpp='$CXXCPP $CPPFLAGS'
10432 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10433 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10434 cross_compiling=$ac_cv_prog_cxx_cross
10435
10436     cat > conftest.$ac_ext <<EOF
10437 #line 10438 "configure"
10438 #include "confdefs.h"
10439 #include <math.h>
10440 int main() {
10441  sqrtl(0);
10442 ; return 0; }
10443 EOF
10444 if { (eval echo configure:10445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10445   rm -rf conftest*
10446   glibcpp_cv_func_sqrtl_use=yes
10447 else
10448   echo "configure: failed program was:" >&5
10449   cat conftest.$ac_ext >&5
10450   rm -rf conftest*
10451   glibcpp_cv_func_sqrtl_use=no
10452 fi
10453 rm -f conftest*
10454     ac_ext=c
10455 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10456 ac_cpp='$CPP $CPPFLAGS'
10457 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10458 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10459 cross_compiling=$ac_cv_prog_cc_cross
10460
10461   
10462 fi
10463
10464   echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10465   if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10466     for ac_func in sqrtl
10467 do
10468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10469 echo "configure:10470: checking for $ac_func" >&5
10470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10471   echo $ac_n "(cached) $ac_c" 1>&6
10472 else
10473   cat > conftest.$ac_ext <<EOF
10474 #line 10475 "configure"
10475 #include "confdefs.h"
10476 /* System header to define __stub macros and hopefully few prototypes,
10477     which can conflict with char $ac_func(); below.  */
10478 #include <assert.h>
10479 /* Override any gcc2 internal prototype to avoid an error.  */
10480 /* We use char because int might match the return type of a gcc2
10481     builtin and then its argument prototype would still apply.  */
10482 char $ac_func();
10483
10484 int main() {
10485
10486 /* The GNU C library defines this for functions which it implements
10487     to always fail with ENOSYS.  Some functions are actually named
10488     something starting with __ and the normal name is an alias.  */
10489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10490 choke me
10491 #else
10492 $ac_func();
10493 #endif
10494
10495 ; return 0; }
10496 EOF
10497 if { (eval echo configure:10498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10498   rm -rf conftest*
10499   eval "ac_cv_func_$ac_func=yes"
10500 else
10501   echo "configure: failed program was:" >&5
10502   cat conftest.$ac_ext >&5
10503   rm -rf conftest*
10504   eval "ac_cv_func_$ac_func=no"
10505 fi
10506 rm -f conftest*
10507 fi
10508
10509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10510   echo "$ac_t""yes" 1>&6
10511     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10512   cat >> confdefs.h <<EOF
10513 #define $ac_tr_func 1
10514 EOF
10515  
10516 else
10517   echo "$ac_t""no" 1>&6
10518 fi
10519 done
10520     
10521   fi
10522
10523   
10524   echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10525 echo "configure:10526: checking for tanl declaration" >&5
10526   if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10527   echo $ac_n "(cached) $ac_c" 1>&6
10528 else
10529   
10530     
10531     ac_ext=C
10532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10533 ac_cpp='$CXXCPP $CPPFLAGS'
10534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10536 cross_compiling=$ac_cv_prog_cxx_cross
10537
10538     cat > conftest.$ac_ext <<EOF
10539 #line 10540 "configure"
10540 #include "confdefs.h"
10541 #include <math.h>
10542 int main() {
10543  tanl(0);
10544 ; return 0; }
10545 EOF
10546 if { (eval echo configure:10547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10547   rm -rf conftest*
10548   glibcpp_cv_func_tanl_use=yes
10549 else
10550   echo "configure: failed program was:" >&5
10551   cat conftest.$ac_ext >&5
10552   rm -rf conftest*
10553   glibcpp_cv_func_tanl_use=no
10554 fi
10555 rm -f conftest*
10556     ac_ext=c
10557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10558 ac_cpp='$CPP $CPPFLAGS'
10559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10561 cross_compiling=$ac_cv_prog_cc_cross
10562
10563   
10564 fi
10565
10566   echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10567   if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10568     for ac_func in tanl
10569 do
10570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10571 echo "configure:10572: checking for $ac_func" >&5
10572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10573   echo $ac_n "(cached) $ac_c" 1>&6
10574 else
10575   cat > conftest.$ac_ext <<EOF
10576 #line 10577 "configure"
10577 #include "confdefs.h"
10578 /* System header to define __stub macros and hopefully few prototypes,
10579     which can conflict with char $ac_func(); below.  */
10580 #include <assert.h>
10581 /* Override any gcc2 internal prototype to avoid an error.  */
10582 /* We use char because int might match the return type of a gcc2
10583     builtin and then its argument prototype would still apply.  */
10584 char $ac_func();
10585
10586 int main() {
10587
10588 /* The GNU C library defines this for functions which it implements
10589     to always fail with ENOSYS.  Some functions are actually named
10590     something starting with __ and the normal name is an alias.  */
10591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10592 choke me
10593 #else
10594 $ac_func();
10595 #endif
10596
10597 ; return 0; }
10598 EOF
10599 if { (eval echo configure:10600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10600   rm -rf conftest*
10601   eval "ac_cv_func_$ac_func=yes"
10602 else
10603   echo "configure: failed program was:" >&5
10604   cat conftest.$ac_ext >&5
10605   rm -rf conftest*
10606   eval "ac_cv_func_$ac_func=no"
10607 fi
10608 rm -f conftest*
10609 fi
10610
10611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10612   echo "$ac_t""yes" 1>&6
10613     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10614   cat >> confdefs.h <<EOF
10615 #define $ac_tr_func 1
10616 EOF
10617  
10618 else
10619   echo "$ac_t""no" 1>&6
10620 fi
10621 done
10622     
10623   fi
10624
10625   
10626   echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10627 echo "configure:10628: checking for tanhl declaration" >&5
10628   if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10629   echo $ac_n "(cached) $ac_c" 1>&6
10630 else
10631   
10632     
10633     ac_ext=C
10634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10635 ac_cpp='$CXXCPP $CPPFLAGS'
10636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10638 cross_compiling=$ac_cv_prog_cxx_cross
10639
10640     cat > conftest.$ac_ext <<EOF
10641 #line 10642 "configure"
10642 #include "confdefs.h"
10643 #include <math.h>
10644 int main() {
10645  tanhl(0);
10646 ; return 0; }
10647 EOF
10648 if { (eval echo configure:10649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10649   rm -rf conftest*
10650   glibcpp_cv_func_tanhl_use=yes
10651 else
10652   echo "configure: failed program was:" >&5
10653   cat conftest.$ac_ext >&5
10654   rm -rf conftest*
10655   glibcpp_cv_func_tanhl_use=no
10656 fi
10657 rm -f conftest*
10658     ac_ext=c
10659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10660 ac_cpp='$CPP $CPPFLAGS'
10661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10663 cross_compiling=$ac_cv_prog_cc_cross
10664
10665   
10666 fi
10667
10668   echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10669   if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10670     for ac_func in tanhl
10671 do
10672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10673 echo "configure:10674: checking for $ac_func" >&5
10674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10675   echo $ac_n "(cached) $ac_c" 1>&6
10676 else
10677   cat > conftest.$ac_ext <<EOF
10678 #line 10679 "configure"
10679 #include "confdefs.h"
10680 /* System header to define __stub macros and hopefully few prototypes,
10681     which can conflict with char $ac_func(); below.  */
10682 #include <assert.h>
10683 /* Override any gcc2 internal prototype to avoid an error.  */
10684 /* We use char because int might match the return type of a gcc2
10685     builtin and then its argument prototype would still apply.  */
10686 char $ac_func();
10687
10688 int main() {
10689
10690 /* The GNU C library defines this for functions which it implements
10691     to always fail with ENOSYS.  Some functions are actually named
10692     something starting with __ and the normal name is an alias.  */
10693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10694 choke me
10695 #else
10696 $ac_func();
10697 #endif
10698
10699 ; return 0; }
10700 EOF
10701 if { (eval echo configure:10702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10702   rm -rf conftest*
10703   eval "ac_cv_func_$ac_func=yes"
10704 else
10705   echo "configure: failed program was:" >&5
10706   cat conftest.$ac_ext >&5
10707   rm -rf conftest*
10708   eval "ac_cv_func_$ac_func=no"
10709 fi
10710 rm -f conftest*
10711 fi
10712
10713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10714   echo "$ac_t""yes" 1>&6
10715     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10716   cat >> confdefs.h <<EOF
10717 #define $ac_tr_func 1
10718 EOF
10719  
10720 else
10721   echo "$ac_t""no" 1>&6
10722 fi
10723 done
10724     
10725   fi
10726
10727   
10728   echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10729 echo "configure:10730: checking for sincosl declaration" >&5
10730   if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10731   echo $ac_n "(cached) $ac_c" 1>&6
10732 else
10733   
10734     
10735     ac_ext=C
10736 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10737 ac_cpp='$CXXCPP $CPPFLAGS'
10738 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10739 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10740 cross_compiling=$ac_cv_prog_cxx_cross
10741
10742     cat > conftest.$ac_ext <<EOF
10743 #line 10744 "configure"
10744 #include "confdefs.h"
10745 #include <math.h>
10746 int main() {
10747  sincosl(0, 0, 0);
10748 ; return 0; }
10749 EOF
10750 if { (eval echo configure:10751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10751   rm -rf conftest*
10752   glibcpp_cv_func_sincosl_use=yes
10753 else
10754   echo "configure: failed program was:" >&5
10755   cat conftest.$ac_ext >&5
10756   rm -rf conftest*
10757   glibcpp_cv_func_sincosl_use=no
10758 fi
10759 rm -f conftest*
10760     ac_ext=c
10761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10762 ac_cpp='$CPP $CPPFLAGS'
10763 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10764 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10765 cross_compiling=$ac_cv_prog_cc_cross
10766
10767   
10768 fi
10769
10770   echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10771   if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10772     for ac_func in sincosl
10773 do
10774 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10775 echo "configure:10776: checking for $ac_func" >&5
10776 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10777   echo $ac_n "(cached) $ac_c" 1>&6
10778 else
10779   cat > conftest.$ac_ext <<EOF
10780 #line 10781 "configure"
10781 #include "confdefs.h"
10782 /* System header to define __stub macros and hopefully few prototypes,
10783     which can conflict with char $ac_func(); below.  */
10784 #include <assert.h>
10785 /* Override any gcc2 internal prototype to avoid an error.  */
10786 /* We use char because int might match the return type of a gcc2
10787     builtin and then its argument prototype would still apply.  */
10788 char $ac_func();
10789
10790 int main() {
10791
10792 /* The GNU C library defines this for functions which it implements
10793     to always fail with ENOSYS.  Some functions are actually named
10794     something starting with __ and the normal name is an alias.  */
10795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10796 choke me
10797 #else
10798 $ac_func();
10799 #endif
10800
10801 ; return 0; }
10802 EOF
10803 if { (eval echo configure:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10804   rm -rf conftest*
10805   eval "ac_cv_func_$ac_func=yes"
10806 else
10807   echo "configure: failed program was:" >&5
10808   cat conftest.$ac_ext >&5
10809   rm -rf conftest*
10810   eval "ac_cv_func_$ac_func=no"
10811 fi
10812 rm -f conftest*
10813 fi
10814
10815 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10816   echo "$ac_t""yes" 1>&6
10817     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10818   cat >> confdefs.h <<EOF
10819 #define $ac_tr_func 1
10820 EOF
10821  
10822 else
10823   echo "$ac_t""no" 1>&6
10824 fi
10825 done
10826     
10827   fi
10828
10829   
10830   echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
10831 echo "configure:10832: checking for finitel declaration" >&5
10832   if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
10833   echo $ac_n "(cached) $ac_c" 1>&6
10834 else
10835   
10836     
10837     ac_ext=C
10838 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10839 ac_cpp='$CXXCPP $CPPFLAGS'
10840 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10841 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10842 cross_compiling=$ac_cv_prog_cxx_cross
10843
10844     cat > conftest.$ac_ext <<EOF
10845 #line 10846 "configure"
10846 #include "confdefs.h"
10847 #include <math.h>
10848 int main() {
10849  finitel(0);
10850 ; return 0; }
10851 EOF
10852 if { (eval echo configure:10853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10853   rm -rf conftest*
10854   glibcpp_cv_func_finitel_use=yes
10855 else
10856   echo "configure: failed program was:" >&5
10857   cat conftest.$ac_ext >&5
10858   rm -rf conftest*
10859   glibcpp_cv_func_finitel_use=no
10860 fi
10861 rm -f conftest*
10862     ac_ext=c
10863 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10864 ac_cpp='$CPP $CPPFLAGS'
10865 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10866 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10867 cross_compiling=$ac_cv_prog_cc_cross
10868
10869   
10870 fi
10871
10872   echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10873   if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10874     for ac_func in finitel
10875 do
10876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10877 echo "configure:10878: checking for $ac_func" >&5
10878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10879   echo $ac_n "(cached) $ac_c" 1>&6
10880 else
10881   cat > conftest.$ac_ext <<EOF
10882 #line 10883 "configure"
10883 #include "confdefs.h"
10884 /* System header to define __stub macros and hopefully few prototypes,
10885     which can conflict with char $ac_func(); below.  */
10886 #include <assert.h>
10887 /* Override any gcc2 internal prototype to avoid an error.  */
10888 /* We use char because int might match the return type of a gcc2
10889     builtin and then its argument prototype would still apply.  */
10890 char $ac_func();
10891
10892 int main() {
10893
10894 /* The GNU C library defines this for functions which it implements
10895     to always fail with ENOSYS.  Some functions are actually named
10896     something starting with __ and the normal name is an alias.  */
10897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10898 choke me
10899 #else
10900 $ac_func();
10901 #endif
10902
10903 ; return 0; }
10904 EOF
10905 if { (eval echo configure:10906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10906   rm -rf conftest*
10907   eval "ac_cv_func_$ac_func=yes"
10908 else
10909   echo "configure: failed program was:" >&5
10910   cat conftest.$ac_ext >&5
10911   rm -rf conftest*
10912   eval "ac_cv_func_$ac_func=no"
10913 fi
10914 rm -f conftest*
10915 fi
10916
10917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10918   echo "$ac_t""yes" 1>&6
10919     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10920   cat >> confdefs.h <<EOF
10921 #define $ac_tr_func 1
10922 EOF
10923  
10924 else
10925   echo "$ac_t""no" 1>&6
10926 fi
10927 done
10928     
10929   fi
10930
10931
10932             
10933   echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10934 echo "configure:10935: checking for _isinf declaration" >&5
10935   if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10936   echo $ac_n "(cached) $ac_c" 1>&6
10937 else
10938   
10939     
10940     ac_ext=C
10941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10942 ac_cpp='$CXXCPP $CPPFLAGS'
10943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10945 cross_compiling=$ac_cv_prog_cxx_cross
10946
10947     cat > conftest.$ac_ext <<EOF
10948 #line 10949 "configure"
10949 #include "confdefs.h"
10950 #include <math.h>
10951 int main() {
10952  _isinf(0);
10953 ; return 0; }
10954 EOF
10955 if { (eval echo configure:10956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10956   rm -rf conftest*
10957   glibcpp_cv_func__isinf_use=yes
10958 else
10959   echo "configure: failed program was:" >&5
10960   cat conftest.$ac_ext >&5
10961   rm -rf conftest*
10962   glibcpp_cv_func__isinf_use=no
10963 fi
10964 rm -f conftest*
10965     ac_ext=c
10966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10967 ac_cpp='$CPP $CPPFLAGS'
10968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10970 cross_compiling=$ac_cv_prog_cc_cross
10971
10972   
10973 fi
10974
10975   echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10976   if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10977     for ac_func in _isinf
10978 do
10979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10980 echo "configure:10981: checking for $ac_func" >&5
10981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10982   echo $ac_n "(cached) $ac_c" 1>&6
10983 else
10984   cat > conftest.$ac_ext <<EOF
10985 #line 10986 "configure"
10986 #include "confdefs.h"
10987 /* System header to define __stub macros and hopefully few prototypes,
10988     which can conflict with char $ac_func(); below.  */
10989 #include <assert.h>
10990 /* Override any gcc2 internal prototype to avoid an error.  */
10991 /* We use char because int might match the return type of a gcc2
10992     builtin and then its argument prototype would still apply.  */
10993 char $ac_func();
10994
10995 int main() {
10996
10997 /* The GNU C library defines this for functions which it implements
10998     to always fail with ENOSYS.  Some functions are actually named
10999     something starting with __ and the normal name is an alias.  */
11000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11001 choke me
11002 #else
11003 $ac_func();
11004 #endif
11005
11006 ; return 0; }
11007 EOF
11008 if { (eval echo configure:11009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11009   rm -rf conftest*
11010   eval "ac_cv_func_$ac_func=yes"
11011 else
11012   echo "configure: failed program was:" >&5
11013   cat conftest.$ac_ext >&5
11014   rm -rf conftest*
11015   eval "ac_cv_func_$ac_func=no"
11016 fi
11017 rm -f conftest*
11018 fi
11019
11020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11021   echo "$ac_t""yes" 1>&6
11022     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11023   cat >> confdefs.h <<EOF
11024 #define $ac_tr_func 1
11025 EOF
11026  
11027 else
11028   echo "$ac_t""no" 1>&6
11029 fi
11030 done
11031     
11032   fi
11033
11034   
11035   echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11036 echo "configure:11037: checking for _isnan declaration" >&5
11037   if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11038   echo $ac_n "(cached) $ac_c" 1>&6
11039 else
11040   
11041     
11042     ac_ext=C
11043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11044 ac_cpp='$CXXCPP $CPPFLAGS'
11045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11047 cross_compiling=$ac_cv_prog_cxx_cross
11048
11049     cat > conftest.$ac_ext <<EOF
11050 #line 11051 "configure"
11051 #include "confdefs.h"
11052 #include <math.h>
11053 int main() {
11054  _isnan(0);
11055 ; return 0; }
11056 EOF
11057 if { (eval echo configure:11058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11058   rm -rf conftest*
11059   glibcpp_cv_func__isnan_use=yes
11060 else
11061   echo "configure: failed program was:" >&5
11062   cat conftest.$ac_ext >&5
11063   rm -rf conftest*
11064   glibcpp_cv_func__isnan_use=no
11065 fi
11066 rm -f conftest*
11067     ac_ext=c
11068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11069 ac_cpp='$CPP $CPPFLAGS'
11070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11072 cross_compiling=$ac_cv_prog_cc_cross
11073
11074   
11075 fi
11076
11077   echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11078   if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11079     for ac_func in _isnan
11080 do
11081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11082 echo "configure:11083: checking for $ac_func" >&5
11083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11084   echo $ac_n "(cached) $ac_c" 1>&6
11085 else
11086   cat > conftest.$ac_ext <<EOF
11087 #line 11088 "configure"
11088 #include "confdefs.h"
11089 /* System header to define __stub macros and hopefully few prototypes,
11090     which can conflict with char $ac_func(); below.  */
11091 #include <assert.h>
11092 /* Override any gcc2 internal prototype to avoid an error.  */
11093 /* We use char because int might match the return type of a gcc2
11094     builtin and then its argument prototype would still apply.  */
11095 char $ac_func();
11096
11097 int main() {
11098
11099 /* The GNU C library defines this for functions which it implements
11100     to always fail with ENOSYS.  Some functions are actually named
11101     something starting with __ and the normal name is an alias.  */
11102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11103 choke me
11104 #else
11105 $ac_func();
11106 #endif
11107
11108 ; return 0; }
11109 EOF
11110 if { (eval echo configure:11111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11111   rm -rf conftest*
11112   eval "ac_cv_func_$ac_func=yes"
11113 else
11114   echo "configure: failed program was:" >&5
11115   cat conftest.$ac_ext >&5
11116   rm -rf conftest*
11117   eval "ac_cv_func_$ac_func=no"
11118 fi
11119 rm -f conftest*
11120 fi
11121
11122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11123   echo "$ac_t""yes" 1>&6
11124     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11125   cat >> confdefs.h <<EOF
11126 #define $ac_tr_func 1
11127 EOF
11128  
11129 else
11130   echo "$ac_t""no" 1>&6
11131 fi
11132 done
11133     
11134   fi
11135
11136   
11137   echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11138 echo "configure:11139: checking for _finite declaration" >&5
11139   if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11140   echo $ac_n "(cached) $ac_c" 1>&6
11141 else
11142   
11143     
11144     ac_ext=C
11145 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11146 ac_cpp='$CXXCPP $CPPFLAGS'
11147 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11148 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11149 cross_compiling=$ac_cv_prog_cxx_cross
11150
11151     cat > conftest.$ac_ext <<EOF
11152 #line 11153 "configure"
11153 #include "confdefs.h"
11154 #include <math.h>
11155 int main() {
11156  _finite(0);
11157 ; return 0; }
11158 EOF
11159 if { (eval echo configure:11160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11160   rm -rf conftest*
11161   glibcpp_cv_func__finite_use=yes
11162 else
11163   echo "configure: failed program was:" >&5
11164   cat conftest.$ac_ext >&5
11165   rm -rf conftest*
11166   glibcpp_cv_func__finite_use=no
11167 fi
11168 rm -f conftest*
11169     ac_ext=c
11170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11171 ac_cpp='$CPP $CPPFLAGS'
11172 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11173 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11174 cross_compiling=$ac_cv_prog_cc_cross
11175
11176   
11177 fi
11178
11179   echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11180   if test x$glibcpp_cv_func__finite_use = x"yes"; then
11181     for ac_func in _finite
11182 do
11183 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11184 echo "configure:11185: checking for $ac_func" >&5
11185 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11186   echo $ac_n "(cached) $ac_c" 1>&6
11187 else
11188   cat > conftest.$ac_ext <<EOF
11189 #line 11190 "configure"
11190 #include "confdefs.h"
11191 /* System header to define __stub macros and hopefully few prototypes,
11192     which can conflict with char $ac_func(); below.  */
11193 #include <assert.h>
11194 /* Override any gcc2 internal prototype to avoid an error.  */
11195 /* We use char because int might match the return type of a gcc2
11196     builtin and then its argument prototype would still apply.  */
11197 char $ac_func();
11198
11199 int main() {
11200
11201 /* The GNU C library defines this for functions which it implements
11202     to always fail with ENOSYS.  Some functions are actually named
11203     something starting with __ and the normal name is an alias.  */
11204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11205 choke me
11206 #else
11207 $ac_func();
11208 #endif
11209
11210 ; return 0; }
11211 EOF
11212 if { (eval echo configure:11213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11213   rm -rf conftest*
11214   eval "ac_cv_func_$ac_func=yes"
11215 else
11216   echo "configure: failed program was:" >&5
11217   cat conftest.$ac_ext >&5
11218   rm -rf conftest*
11219   eval "ac_cv_func_$ac_func=no"
11220 fi
11221 rm -f conftest*
11222 fi
11223
11224 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11225   echo "$ac_t""yes" 1>&6
11226     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11227   cat >> confdefs.h <<EOF
11228 #define $ac_tr_func 1
11229 EOF
11230  
11231 else
11232   echo "$ac_t""no" 1>&6
11233 fi
11234 done
11235     
11236   fi
11237
11238   
11239   echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11240 echo "configure:11241: checking for _copysign declaration" >&5
11241   if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11242   echo $ac_n "(cached) $ac_c" 1>&6
11243 else
11244   
11245     
11246     ac_ext=C
11247 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11248 ac_cpp='$CXXCPP $CPPFLAGS'
11249 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11250 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11251 cross_compiling=$ac_cv_prog_cxx_cross
11252
11253     cat > conftest.$ac_ext <<EOF
11254 #line 11255 "configure"
11255 #include "confdefs.h"
11256 #include <math.h>
11257 int main() {
11258  _copysign(0, 0);
11259 ; return 0; }
11260 EOF
11261 if { (eval echo configure:11262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11262   rm -rf conftest*
11263   glibcpp_cv_func__copysign_use=yes
11264 else
11265   echo "configure: failed program was:" >&5
11266   cat conftest.$ac_ext >&5
11267   rm -rf conftest*
11268   glibcpp_cv_func__copysign_use=no
11269 fi
11270 rm -f conftest*
11271     ac_ext=c
11272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11273 ac_cpp='$CPP $CPPFLAGS'
11274 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11275 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11276 cross_compiling=$ac_cv_prog_cc_cross
11277
11278   
11279 fi
11280
11281   echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11282   if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11283     for ac_func in _copysign
11284 do
11285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11286 echo "configure:11287: checking for $ac_func" >&5
11287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11288   echo $ac_n "(cached) $ac_c" 1>&6
11289 else
11290   cat > conftest.$ac_ext <<EOF
11291 #line 11292 "configure"
11292 #include "confdefs.h"
11293 /* System header to define __stub macros and hopefully few prototypes,
11294     which can conflict with char $ac_func(); below.  */
11295 #include <assert.h>
11296 /* Override any gcc2 internal prototype to avoid an error.  */
11297 /* We use char because int might match the return type of a gcc2
11298     builtin and then its argument prototype would still apply.  */
11299 char $ac_func();
11300
11301 int main() {
11302
11303 /* The GNU C library defines this for functions which it implements
11304     to always fail with ENOSYS.  Some functions are actually named
11305     something starting with __ and the normal name is an alias.  */
11306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11307 choke me
11308 #else
11309 $ac_func();
11310 #endif
11311
11312 ; return 0; }
11313 EOF
11314 if { (eval echo configure:11315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11315   rm -rf conftest*
11316   eval "ac_cv_func_$ac_func=yes"
11317 else
11318   echo "configure: failed program was:" >&5
11319   cat conftest.$ac_ext >&5
11320   rm -rf conftest*
11321   eval "ac_cv_func_$ac_func=no"
11322 fi
11323 rm -f conftest*
11324 fi
11325
11326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11327   echo "$ac_t""yes" 1>&6
11328     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11329   cat >> confdefs.h <<EOF
11330 #define $ac_tr_func 1
11331 EOF
11332  
11333 else
11334   echo "$ac_t""no" 1>&6
11335 fi
11336 done
11337     
11338   fi
11339
11340   
11341   echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11342 echo "configure:11343: checking for _sincos declaration" >&5
11343   if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11344   echo $ac_n "(cached) $ac_c" 1>&6
11345 else
11346   
11347     
11348     ac_ext=C
11349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11350 ac_cpp='$CXXCPP $CPPFLAGS'
11351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11353 cross_compiling=$ac_cv_prog_cxx_cross
11354
11355     cat > conftest.$ac_ext <<EOF
11356 #line 11357 "configure"
11357 #include "confdefs.h"
11358 #include <math.h>
11359 int main() {
11360  _sincos(0, 0, 0);
11361 ; return 0; }
11362 EOF
11363 if { (eval echo configure:11364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11364   rm -rf conftest*
11365   glibcpp_cv_func__sincos_use=yes
11366 else
11367   echo "configure: failed program was:" >&5
11368   cat conftest.$ac_ext >&5
11369   rm -rf conftest*
11370   glibcpp_cv_func__sincos_use=no
11371 fi
11372 rm -f conftest*
11373     ac_ext=c
11374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11375 ac_cpp='$CPP $CPPFLAGS'
11376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11378 cross_compiling=$ac_cv_prog_cc_cross
11379
11380   
11381 fi
11382
11383   echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11384   if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11385     for ac_func in _sincos
11386 do
11387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11388 echo "configure:11389: checking for $ac_func" >&5
11389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11390   echo $ac_n "(cached) $ac_c" 1>&6
11391 else
11392   cat > conftest.$ac_ext <<EOF
11393 #line 11394 "configure"
11394 #include "confdefs.h"
11395 /* System header to define __stub macros and hopefully few prototypes,
11396     which can conflict with char $ac_func(); below.  */
11397 #include <assert.h>
11398 /* Override any gcc2 internal prototype to avoid an error.  */
11399 /* We use char because int might match the return type of a gcc2
11400     builtin and then its argument prototype would still apply.  */
11401 char $ac_func();
11402
11403 int main() {
11404
11405 /* The GNU C library defines this for functions which it implements
11406     to always fail with ENOSYS.  Some functions are actually named
11407     something starting with __ and the normal name is an alias.  */
11408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11409 choke me
11410 #else
11411 $ac_func();
11412 #endif
11413
11414 ; return 0; }
11415 EOF
11416 if { (eval echo configure:11417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11417   rm -rf conftest*
11418   eval "ac_cv_func_$ac_func=yes"
11419 else
11420   echo "configure: failed program was:" >&5
11421   cat conftest.$ac_ext >&5
11422   rm -rf conftest*
11423   eval "ac_cv_func_$ac_func=no"
11424 fi
11425 rm -f conftest*
11426 fi
11427
11428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11429   echo "$ac_t""yes" 1>&6
11430     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11431   cat >> confdefs.h <<EOF
11432 #define $ac_tr_func 1
11433 EOF
11434  
11435 else
11436   echo "$ac_t""no" 1>&6
11437 fi
11438 done
11439     
11440   fi
11441
11442   
11443   echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11444 echo "configure:11445: checking for _fpclass declaration" >&5
11445   if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11446   echo $ac_n "(cached) $ac_c" 1>&6
11447 else
11448   
11449     
11450     ac_ext=C
11451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11452 ac_cpp='$CXXCPP $CPPFLAGS'
11453 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11454 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11455 cross_compiling=$ac_cv_prog_cxx_cross
11456
11457     cat > conftest.$ac_ext <<EOF
11458 #line 11459 "configure"
11459 #include "confdefs.h"
11460 #include <math.h>
11461 int main() {
11462  _fpclass(0);
11463 ; return 0; }
11464 EOF
11465 if { (eval echo configure:11466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11466   rm -rf conftest*
11467   glibcpp_cv_func__fpclass_use=yes
11468 else
11469   echo "configure: failed program was:" >&5
11470   cat conftest.$ac_ext >&5
11471   rm -rf conftest*
11472   glibcpp_cv_func__fpclass_use=no
11473 fi
11474 rm -f conftest*
11475     ac_ext=c
11476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11477 ac_cpp='$CPP $CPPFLAGS'
11478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11480 cross_compiling=$ac_cv_prog_cc_cross
11481
11482   
11483 fi
11484
11485   echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11486   if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11487     for ac_func in _fpclass
11488 do
11489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11490 echo "configure:11491: checking for $ac_func" >&5
11491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11492   echo $ac_n "(cached) $ac_c" 1>&6
11493 else
11494   cat > conftest.$ac_ext <<EOF
11495 #line 11496 "configure"
11496 #include "confdefs.h"
11497 /* System header to define __stub macros and hopefully few prototypes,
11498     which can conflict with char $ac_func(); below.  */
11499 #include <assert.h>
11500 /* Override any gcc2 internal prototype to avoid an error.  */
11501 /* We use char because int might match the return type of a gcc2
11502     builtin and then its argument prototype would still apply.  */
11503 char $ac_func();
11504
11505 int main() {
11506
11507 /* The GNU C library defines this for functions which it implements
11508     to always fail with ENOSYS.  Some functions are actually named
11509     something starting with __ and the normal name is an alias.  */
11510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11511 choke me
11512 #else
11513 $ac_func();
11514 #endif
11515
11516 ; return 0; }
11517 EOF
11518 if { (eval echo configure:11519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11519   rm -rf conftest*
11520   eval "ac_cv_func_$ac_func=yes"
11521 else
11522   echo "configure: failed program was:" >&5
11523   cat conftest.$ac_ext >&5
11524   rm -rf conftest*
11525   eval "ac_cv_func_$ac_func=no"
11526 fi
11527 rm -f conftest*
11528 fi
11529
11530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11531   echo "$ac_t""yes" 1>&6
11532     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11533   cat >> confdefs.h <<EOF
11534 #define $ac_tr_func 1
11535 EOF
11536  
11537 else
11538   echo "$ac_t""no" 1>&6
11539 fi
11540 done
11541     
11542   fi
11543
11544   
11545   echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11546 echo "configure:11547: checking for _qfpclass declaration" >&5
11547   if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11548   echo $ac_n "(cached) $ac_c" 1>&6
11549 else
11550   
11551     
11552     ac_ext=C
11553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11554 ac_cpp='$CXXCPP $CPPFLAGS'
11555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11557 cross_compiling=$ac_cv_prog_cxx_cross
11558
11559     cat > conftest.$ac_ext <<EOF
11560 #line 11561 "configure"
11561 #include "confdefs.h"
11562 #include <math.h>
11563 int main() {
11564  _qfpclass(0);
11565 ; return 0; }
11566 EOF
11567 if { (eval echo configure:11568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11568   rm -rf conftest*
11569   glibcpp_cv_func__qfpclass_use=yes
11570 else
11571   echo "configure: failed program was:" >&5
11572   cat conftest.$ac_ext >&5
11573   rm -rf conftest*
11574   glibcpp_cv_func__qfpclass_use=no
11575 fi
11576 rm -f conftest*
11577     ac_ext=c
11578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11579 ac_cpp='$CPP $CPPFLAGS'
11580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11582 cross_compiling=$ac_cv_prog_cc_cross
11583
11584   
11585 fi
11586
11587   echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11588   if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11589     for ac_func in _qfpclass
11590 do
11591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11592 echo "configure:11593: checking for $ac_func" >&5
11593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11594   echo $ac_n "(cached) $ac_c" 1>&6
11595 else
11596   cat > conftest.$ac_ext <<EOF
11597 #line 11598 "configure"
11598 #include "confdefs.h"
11599 /* System header to define __stub macros and hopefully few prototypes,
11600     which can conflict with char $ac_func(); below.  */
11601 #include <assert.h>
11602 /* Override any gcc2 internal prototype to avoid an error.  */
11603 /* We use char because int might match the return type of a gcc2
11604     builtin and then its argument prototype would still apply.  */
11605 char $ac_func();
11606
11607 int main() {
11608
11609 /* The GNU C library defines this for functions which it implements
11610     to always fail with ENOSYS.  Some functions are actually named
11611     something starting with __ and the normal name is an alias.  */
11612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11613 choke me
11614 #else
11615 $ac_func();
11616 #endif
11617
11618 ; return 0; }
11619 EOF
11620 if { (eval echo configure:11621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11621   rm -rf conftest*
11622   eval "ac_cv_func_$ac_func=yes"
11623 else
11624   echo "configure: failed program was:" >&5
11625   cat conftest.$ac_ext >&5
11626   rm -rf conftest*
11627   eval "ac_cv_func_$ac_func=no"
11628 fi
11629 rm -f conftest*
11630 fi
11631
11632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11633   echo "$ac_t""yes" 1>&6
11634     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11635   cat >> confdefs.h <<EOF
11636 #define $ac_tr_func 1
11637 EOF
11638  
11639 else
11640   echo "$ac_t""no" 1>&6
11641 fi
11642 done
11643     
11644   fi
11645
11646
11647     
11648   echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11649 echo "configure:11650: checking for _isnanf declaration" >&5
11650   if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11651   echo $ac_n "(cached) $ac_c" 1>&6
11652 else
11653   
11654     
11655     ac_ext=C
11656 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11657 ac_cpp='$CXXCPP $CPPFLAGS'
11658 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11659 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11660 cross_compiling=$ac_cv_prog_cxx_cross
11661
11662     cat > conftest.$ac_ext <<EOF
11663 #line 11664 "configure"
11664 #include "confdefs.h"
11665 #include <math.h>
11666 int main() {
11667  _isnanf(0);
11668 ; return 0; }
11669 EOF
11670 if { (eval echo configure:11671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11671   rm -rf conftest*
11672   glibcpp_cv_func__isnanf_use=yes
11673 else
11674   echo "configure: failed program was:" >&5
11675   cat conftest.$ac_ext >&5
11676   rm -rf conftest*
11677   glibcpp_cv_func__isnanf_use=no
11678 fi
11679 rm -f conftest*
11680     ac_ext=c
11681 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11682 ac_cpp='$CPP $CPPFLAGS'
11683 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11684 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11685 cross_compiling=$ac_cv_prog_cc_cross
11686
11687   
11688 fi
11689
11690   echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11691   if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11692     for ac_func in _isnanf
11693 do
11694 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11695 echo "configure:11696: checking for $ac_func" >&5
11696 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11697   echo $ac_n "(cached) $ac_c" 1>&6
11698 else
11699   cat > conftest.$ac_ext <<EOF
11700 #line 11701 "configure"
11701 #include "confdefs.h"
11702 /* System header to define __stub macros and hopefully few prototypes,
11703     which can conflict with char $ac_func(); below.  */
11704 #include <assert.h>
11705 /* Override any gcc2 internal prototype to avoid an error.  */
11706 /* We use char because int might match the return type of a gcc2
11707     builtin and then its argument prototype would still apply.  */
11708 char $ac_func();
11709
11710 int main() {
11711
11712 /* The GNU C library defines this for functions which it implements
11713     to always fail with ENOSYS.  Some functions are actually named
11714     something starting with __ and the normal name is an alias.  */
11715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11716 choke me
11717 #else
11718 $ac_func();
11719 #endif
11720
11721 ; return 0; }
11722 EOF
11723 if { (eval echo configure:11724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11724   rm -rf conftest*
11725   eval "ac_cv_func_$ac_func=yes"
11726 else
11727   echo "configure: failed program was:" >&5
11728   cat conftest.$ac_ext >&5
11729   rm -rf conftest*
11730   eval "ac_cv_func_$ac_func=no"
11731 fi
11732 rm -f conftest*
11733 fi
11734
11735 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11736   echo "$ac_t""yes" 1>&6
11737     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11738   cat >> confdefs.h <<EOF
11739 #define $ac_tr_func 1
11740 EOF
11741  
11742 else
11743   echo "$ac_t""no" 1>&6
11744 fi
11745 done
11746     
11747   fi
11748
11749   
11750   echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11751 echo "configure:11752: checking for _isinff declaration" >&5
11752   if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11753   echo $ac_n "(cached) $ac_c" 1>&6
11754 else
11755   
11756     
11757     ac_ext=C
11758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11759 ac_cpp='$CXXCPP $CPPFLAGS'
11760 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11761 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11762 cross_compiling=$ac_cv_prog_cxx_cross
11763
11764     cat > conftest.$ac_ext <<EOF
11765 #line 11766 "configure"
11766 #include "confdefs.h"
11767 #include <math.h>
11768 int main() {
11769  _isinff(0);
11770 ; return 0; }
11771 EOF
11772 if { (eval echo configure:11773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11773   rm -rf conftest*
11774   glibcpp_cv_func__isinff_use=yes
11775 else
11776   echo "configure: failed program was:" >&5
11777   cat conftest.$ac_ext >&5
11778   rm -rf conftest*
11779   glibcpp_cv_func__isinff_use=no
11780 fi
11781 rm -f conftest*
11782     ac_ext=c
11783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11784 ac_cpp='$CPP $CPPFLAGS'
11785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11787 cross_compiling=$ac_cv_prog_cc_cross
11788
11789   
11790 fi
11791
11792   echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11793   if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11794     for ac_func in _isinff
11795 do
11796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11797 echo "configure:11798: checking for $ac_func" >&5
11798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11799   echo $ac_n "(cached) $ac_c" 1>&6
11800 else
11801   cat > conftest.$ac_ext <<EOF
11802 #line 11803 "configure"
11803 #include "confdefs.h"
11804 /* System header to define __stub macros and hopefully few prototypes,
11805     which can conflict with char $ac_func(); below.  */
11806 #include <assert.h>
11807 /* Override any gcc2 internal prototype to avoid an error.  */
11808 /* We use char because int might match the return type of a gcc2
11809     builtin and then its argument prototype would still apply.  */
11810 char $ac_func();
11811
11812 int main() {
11813
11814 /* The GNU C library defines this for functions which it implements
11815     to always fail with ENOSYS.  Some functions are actually named
11816     something starting with __ and the normal name is an alias.  */
11817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11818 choke me
11819 #else
11820 $ac_func();
11821 #endif
11822
11823 ; return 0; }
11824 EOF
11825 if { (eval echo configure:11826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11826   rm -rf conftest*
11827   eval "ac_cv_func_$ac_func=yes"
11828 else
11829   echo "configure: failed program was:" >&5
11830   cat conftest.$ac_ext >&5
11831   rm -rf conftest*
11832   eval "ac_cv_func_$ac_func=no"
11833 fi
11834 rm -f conftest*
11835 fi
11836
11837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11838   echo "$ac_t""yes" 1>&6
11839     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11840   cat >> confdefs.h <<EOF
11841 #define $ac_tr_func 1
11842 EOF
11843  
11844 else
11845   echo "$ac_t""no" 1>&6
11846 fi
11847 done
11848     
11849   fi
11850
11851   
11852   echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
11853 echo "configure:11854: checking for _acosf declaration" >&5
11854   if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
11855   echo $ac_n "(cached) $ac_c" 1>&6
11856 else
11857   
11858     
11859     ac_ext=C
11860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11861 ac_cpp='$CXXCPP $CPPFLAGS'
11862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11864 cross_compiling=$ac_cv_prog_cxx_cross
11865
11866     cat > conftest.$ac_ext <<EOF
11867 #line 11868 "configure"
11868 #include "confdefs.h"
11869 #include <math.h>
11870 int main() {
11871  _acosf(0);
11872 ; return 0; }
11873 EOF
11874 if { (eval echo configure:11875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11875   rm -rf conftest*
11876   glibcpp_cv_func__acosf_use=yes
11877 else
11878   echo "configure: failed program was:" >&5
11879   cat conftest.$ac_ext >&5
11880   rm -rf conftest*
11881   glibcpp_cv_func__acosf_use=no
11882 fi
11883 rm -f conftest*
11884     ac_ext=c
11885 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11886 ac_cpp='$CPP $CPPFLAGS'
11887 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11888 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11889 cross_compiling=$ac_cv_prog_cc_cross
11890
11891   
11892 fi
11893
11894   echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
11895   if test x$glibcpp_cv_func__acosf_use = x"yes"; then
11896     for ac_func in _acosf
11897 do
11898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11899 echo "configure:11900: checking for $ac_func" >&5
11900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11901   echo $ac_n "(cached) $ac_c" 1>&6
11902 else
11903   cat > conftest.$ac_ext <<EOF
11904 #line 11905 "configure"
11905 #include "confdefs.h"
11906 /* System header to define __stub macros and hopefully few prototypes,
11907     which can conflict with char $ac_func(); below.  */
11908 #include <assert.h>
11909 /* Override any gcc2 internal prototype to avoid an error.  */
11910 /* We use char because int might match the return type of a gcc2
11911     builtin and then its argument prototype would still apply.  */
11912 char $ac_func();
11913
11914 int main() {
11915
11916 /* The GNU C library defines this for functions which it implements
11917     to always fail with ENOSYS.  Some functions are actually named
11918     something starting with __ and the normal name is an alias.  */
11919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11920 choke me
11921 #else
11922 $ac_func();
11923 #endif
11924
11925 ; return 0; }
11926 EOF
11927 if { (eval echo configure:11928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11928   rm -rf conftest*
11929   eval "ac_cv_func_$ac_func=yes"
11930 else
11931   echo "configure: failed program was:" >&5
11932   cat conftest.$ac_ext >&5
11933   rm -rf conftest*
11934   eval "ac_cv_func_$ac_func=no"
11935 fi
11936 rm -f conftest*
11937 fi
11938
11939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11940   echo "$ac_t""yes" 1>&6
11941     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11942   cat >> confdefs.h <<EOF
11943 #define $ac_tr_func 1
11944 EOF
11945  
11946 else
11947   echo "$ac_t""no" 1>&6
11948 fi
11949 done
11950     
11951   fi
11952
11953   
11954   echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
11955 echo "configure:11956: checking for _asinf declaration" >&5
11956   if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
11957   echo $ac_n "(cached) $ac_c" 1>&6
11958 else
11959   
11960     
11961     ac_ext=C
11962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11963 ac_cpp='$CXXCPP $CPPFLAGS'
11964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11966 cross_compiling=$ac_cv_prog_cxx_cross
11967
11968     cat > conftest.$ac_ext <<EOF
11969 #line 11970 "configure"
11970 #include "confdefs.h"
11971 #include <math.h>
11972 int main() {
11973  _asinf(0);
11974 ; return 0; }
11975 EOF
11976 if { (eval echo configure:11977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11977   rm -rf conftest*
11978   glibcpp_cv_func__asinf_use=yes
11979 else
11980   echo "configure: failed program was:" >&5
11981   cat conftest.$ac_ext >&5
11982   rm -rf conftest*
11983   glibcpp_cv_func__asinf_use=no
11984 fi
11985 rm -f conftest*
11986     ac_ext=c
11987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11988 ac_cpp='$CPP $CPPFLAGS'
11989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11991 cross_compiling=$ac_cv_prog_cc_cross
11992
11993   
11994 fi
11995
11996   echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
11997   if test x$glibcpp_cv_func__asinf_use = x"yes"; then
11998     for ac_func in _asinf
11999 do
12000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12001 echo "configure:12002: checking for $ac_func" >&5
12002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12003   echo $ac_n "(cached) $ac_c" 1>&6
12004 else
12005   cat > conftest.$ac_ext <<EOF
12006 #line 12007 "configure"
12007 #include "confdefs.h"
12008 /* System header to define __stub macros and hopefully few prototypes,
12009     which can conflict with char $ac_func(); below.  */
12010 #include <assert.h>
12011 /* Override any gcc2 internal prototype to avoid an error.  */
12012 /* We use char because int might match the return type of a gcc2
12013     builtin and then its argument prototype would still apply.  */
12014 char $ac_func();
12015
12016 int main() {
12017
12018 /* The GNU C library defines this for functions which it implements
12019     to always fail with ENOSYS.  Some functions are actually named
12020     something starting with __ and the normal name is an alias.  */
12021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12022 choke me
12023 #else
12024 $ac_func();
12025 #endif
12026
12027 ; return 0; }
12028 EOF
12029 if { (eval echo configure:12030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12030   rm -rf conftest*
12031   eval "ac_cv_func_$ac_func=yes"
12032 else
12033   echo "configure: failed program was:" >&5
12034   cat conftest.$ac_ext >&5
12035   rm -rf conftest*
12036   eval "ac_cv_func_$ac_func=no"
12037 fi
12038 rm -f conftest*
12039 fi
12040
12041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12042   echo "$ac_t""yes" 1>&6
12043     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12044   cat >> confdefs.h <<EOF
12045 #define $ac_tr_func 1
12046 EOF
12047  
12048 else
12049   echo "$ac_t""no" 1>&6
12050 fi
12051 done
12052     
12053   fi
12054
12055   
12056   echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
12057 echo "configure:12058: checking for _atanf declaration" >&5
12058   if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
12059   echo $ac_n "(cached) $ac_c" 1>&6
12060 else
12061   
12062     
12063     ac_ext=C
12064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12065 ac_cpp='$CXXCPP $CPPFLAGS'
12066 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12067 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12068 cross_compiling=$ac_cv_prog_cxx_cross
12069
12070     cat > conftest.$ac_ext <<EOF
12071 #line 12072 "configure"
12072 #include "confdefs.h"
12073 #include <math.h>
12074 int main() {
12075  _atanf(0);
12076 ; return 0; }
12077 EOF
12078 if { (eval echo configure:12079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12079   rm -rf conftest*
12080   glibcpp_cv_func__atanf_use=yes
12081 else
12082   echo "configure: failed program was:" >&5
12083   cat conftest.$ac_ext >&5
12084   rm -rf conftest*
12085   glibcpp_cv_func__atanf_use=no
12086 fi
12087 rm -f conftest*
12088     ac_ext=c
12089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12090 ac_cpp='$CPP $CPPFLAGS'
12091 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12092 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12093 cross_compiling=$ac_cv_prog_cc_cross
12094
12095   
12096 fi
12097
12098   echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12099   if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12100     for ac_func in _atanf
12101 do
12102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12103 echo "configure:12104: checking for $ac_func" >&5
12104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12105   echo $ac_n "(cached) $ac_c" 1>&6
12106 else
12107   cat > conftest.$ac_ext <<EOF
12108 #line 12109 "configure"
12109 #include "confdefs.h"
12110 /* System header to define __stub macros and hopefully few prototypes,
12111     which can conflict with char $ac_func(); below.  */
12112 #include <assert.h>
12113 /* Override any gcc2 internal prototype to avoid an error.  */
12114 /* We use char because int might match the return type of a gcc2
12115     builtin and then its argument prototype would still apply.  */
12116 char $ac_func();
12117
12118 int main() {
12119
12120 /* The GNU C library defines this for functions which it implements
12121     to always fail with ENOSYS.  Some functions are actually named
12122     something starting with __ and the normal name is an alias.  */
12123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12124 choke me
12125 #else
12126 $ac_func();
12127 #endif
12128
12129 ; return 0; }
12130 EOF
12131 if { (eval echo configure:12132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12132   rm -rf conftest*
12133   eval "ac_cv_func_$ac_func=yes"
12134 else
12135   echo "configure: failed program was:" >&5
12136   cat conftest.$ac_ext >&5
12137   rm -rf conftest*
12138   eval "ac_cv_func_$ac_func=no"
12139 fi
12140 rm -f conftest*
12141 fi
12142
12143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12144   echo "$ac_t""yes" 1>&6
12145     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12146   cat >> confdefs.h <<EOF
12147 #define $ac_tr_func 1
12148 EOF
12149  
12150 else
12151   echo "$ac_t""no" 1>&6
12152 fi
12153 done
12154     
12155   fi
12156
12157   
12158   echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12159 echo "configure:12160: checking for _atan2f declaration" >&5
12160   if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12161   echo $ac_n "(cached) $ac_c" 1>&6
12162 else
12163   
12164     
12165     ac_ext=C
12166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12167 ac_cpp='$CXXCPP $CPPFLAGS'
12168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12170 cross_compiling=$ac_cv_prog_cxx_cross
12171
12172     cat > conftest.$ac_ext <<EOF
12173 #line 12174 "configure"
12174 #include "confdefs.h"
12175 #include <math.h>
12176 int main() {
12177  _atan2f(0, 0);
12178 ; return 0; }
12179 EOF
12180 if { (eval echo configure:12181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12181   rm -rf conftest*
12182   glibcpp_cv_func__atan2f_use=yes
12183 else
12184   echo "configure: failed program was:" >&5
12185   cat conftest.$ac_ext >&5
12186   rm -rf conftest*
12187   glibcpp_cv_func__atan2f_use=no
12188 fi
12189 rm -f conftest*
12190     ac_ext=c
12191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12192 ac_cpp='$CPP $CPPFLAGS'
12193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12195 cross_compiling=$ac_cv_prog_cc_cross
12196
12197   
12198 fi
12199
12200   echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12201   if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12202     for ac_func in _atan2f
12203 do
12204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12205 echo "configure:12206: checking for $ac_func" >&5
12206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12207   echo $ac_n "(cached) $ac_c" 1>&6
12208 else
12209   cat > conftest.$ac_ext <<EOF
12210 #line 12211 "configure"
12211 #include "confdefs.h"
12212 /* System header to define __stub macros and hopefully few prototypes,
12213     which can conflict with char $ac_func(); below.  */
12214 #include <assert.h>
12215 /* Override any gcc2 internal prototype to avoid an error.  */
12216 /* We use char because int might match the return type of a gcc2
12217     builtin and then its argument prototype would still apply.  */
12218 char $ac_func();
12219
12220 int main() {
12221
12222 /* The GNU C library defines this for functions which it implements
12223     to always fail with ENOSYS.  Some functions are actually named
12224     something starting with __ and the normal name is an alias.  */
12225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12226 choke me
12227 #else
12228 $ac_func();
12229 #endif
12230
12231 ; return 0; }
12232 EOF
12233 if { (eval echo configure:12234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12234   rm -rf conftest*
12235   eval "ac_cv_func_$ac_func=yes"
12236 else
12237   echo "configure: failed program was:" >&5
12238   cat conftest.$ac_ext >&5
12239   rm -rf conftest*
12240   eval "ac_cv_func_$ac_func=no"
12241 fi
12242 rm -f conftest*
12243 fi
12244
12245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12246   echo "$ac_t""yes" 1>&6
12247     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12248   cat >> confdefs.h <<EOF
12249 #define $ac_tr_func 1
12250 EOF
12251  
12252 else
12253   echo "$ac_t""no" 1>&6
12254 fi
12255 done
12256     
12257   fi
12258
12259   
12260   echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12261 echo "configure:12262: checking for _ceilf declaration" >&5
12262   if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12263   echo $ac_n "(cached) $ac_c" 1>&6
12264 else
12265   
12266     
12267     ac_ext=C
12268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12269 ac_cpp='$CXXCPP $CPPFLAGS'
12270 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12271 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12272 cross_compiling=$ac_cv_prog_cxx_cross
12273
12274     cat > conftest.$ac_ext <<EOF
12275 #line 12276 "configure"
12276 #include "confdefs.h"
12277 #include <math.h>
12278 int main() {
12279  _ceilf(0);
12280 ; return 0; }
12281 EOF
12282 if { (eval echo configure:12283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12283   rm -rf conftest*
12284   glibcpp_cv_func__ceilf_use=yes
12285 else
12286   echo "configure: failed program was:" >&5
12287   cat conftest.$ac_ext >&5
12288   rm -rf conftest*
12289   glibcpp_cv_func__ceilf_use=no
12290 fi
12291 rm -f conftest*
12292     ac_ext=c
12293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12294 ac_cpp='$CPP $CPPFLAGS'
12295 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12296 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12297 cross_compiling=$ac_cv_prog_cc_cross
12298
12299   
12300 fi
12301
12302   echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12303   if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12304     for ac_func in _ceilf
12305 do
12306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12307 echo "configure:12308: checking for $ac_func" >&5
12308 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12309   echo $ac_n "(cached) $ac_c" 1>&6
12310 else
12311   cat > conftest.$ac_ext <<EOF
12312 #line 12313 "configure"
12313 #include "confdefs.h"
12314 /* System header to define __stub macros and hopefully few prototypes,
12315     which can conflict with char $ac_func(); below.  */
12316 #include <assert.h>
12317 /* Override any gcc2 internal prototype to avoid an error.  */
12318 /* We use char because int might match the return type of a gcc2
12319     builtin and then its argument prototype would still apply.  */
12320 char $ac_func();
12321
12322 int main() {
12323
12324 /* The GNU C library defines this for functions which it implements
12325     to always fail with ENOSYS.  Some functions are actually named
12326     something starting with __ and the normal name is an alias.  */
12327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12328 choke me
12329 #else
12330 $ac_func();
12331 #endif
12332
12333 ; return 0; }
12334 EOF
12335 if { (eval echo configure:12336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12336   rm -rf conftest*
12337   eval "ac_cv_func_$ac_func=yes"
12338 else
12339   echo "configure: failed program was:" >&5
12340   cat conftest.$ac_ext >&5
12341   rm -rf conftest*
12342   eval "ac_cv_func_$ac_func=no"
12343 fi
12344 rm -f conftest*
12345 fi
12346
12347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12348   echo "$ac_t""yes" 1>&6
12349     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12350   cat >> confdefs.h <<EOF
12351 #define $ac_tr_func 1
12352 EOF
12353  
12354 else
12355   echo "$ac_t""no" 1>&6
12356 fi
12357 done
12358     
12359   fi
12360
12361   
12362   echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12363 echo "configure:12364: checking for _cosf declaration" >&5
12364   if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12365   echo $ac_n "(cached) $ac_c" 1>&6
12366 else
12367   
12368     
12369     ac_ext=C
12370 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12371 ac_cpp='$CXXCPP $CPPFLAGS'
12372 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12373 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12374 cross_compiling=$ac_cv_prog_cxx_cross
12375
12376     cat > conftest.$ac_ext <<EOF
12377 #line 12378 "configure"
12378 #include "confdefs.h"
12379 #include <math.h>
12380 int main() {
12381  _cosf(0);
12382 ; return 0; }
12383 EOF
12384 if { (eval echo configure:12385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12385   rm -rf conftest*
12386   glibcpp_cv_func__cosf_use=yes
12387 else
12388   echo "configure: failed program was:" >&5
12389   cat conftest.$ac_ext >&5
12390   rm -rf conftest*
12391   glibcpp_cv_func__cosf_use=no
12392 fi
12393 rm -f conftest*
12394     ac_ext=c
12395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12396 ac_cpp='$CPP $CPPFLAGS'
12397 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12398 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12399 cross_compiling=$ac_cv_prog_cc_cross
12400
12401   
12402 fi
12403
12404   echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12405   if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12406     for ac_func in _cosf
12407 do
12408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12409 echo "configure:12410: checking for $ac_func" >&5
12410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12411   echo $ac_n "(cached) $ac_c" 1>&6
12412 else
12413   cat > conftest.$ac_ext <<EOF
12414 #line 12415 "configure"
12415 #include "confdefs.h"
12416 /* System header to define __stub macros and hopefully few prototypes,
12417     which can conflict with char $ac_func(); below.  */
12418 #include <assert.h>
12419 /* Override any gcc2 internal prototype to avoid an error.  */
12420 /* We use char because int might match the return type of a gcc2
12421     builtin and then its argument prototype would still apply.  */
12422 char $ac_func();
12423
12424 int main() {
12425
12426 /* The GNU C library defines this for functions which it implements
12427     to always fail with ENOSYS.  Some functions are actually named
12428     something starting with __ and the normal name is an alias.  */
12429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12430 choke me
12431 #else
12432 $ac_func();
12433 #endif
12434
12435 ; return 0; }
12436 EOF
12437 if { (eval echo configure:12438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12438   rm -rf conftest*
12439   eval "ac_cv_func_$ac_func=yes"
12440 else
12441   echo "configure: failed program was:" >&5
12442   cat conftest.$ac_ext >&5
12443   rm -rf conftest*
12444   eval "ac_cv_func_$ac_func=no"
12445 fi
12446 rm -f conftest*
12447 fi
12448
12449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12450   echo "$ac_t""yes" 1>&6
12451     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12452   cat >> confdefs.h <<EOF
12453 #define $ac_tr_func 1
12454 EOF
12455  
12456 else
12457   echo "$ac_t""no" 1>&6
12458 fi
12459 done
12460     
12461   fi
12462
12463   
12464   echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12465 echo "configure:12466: checking for _coshf declaration" >&5
12466   if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12467   echo $ac_n "(cached) $ac_c" 1>&6
12468 else
12469   
12470     
12471     ac_ext=C
12472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12473 ac_cpp='$CXXCPP $CPPFLAGS'
12474 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12475 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12476 cross_compiling=$ac_cv_prog_cxx_cross
12477
12478     cat > conftest.$ac_ext <<EOF
12479 #line 12480 "configure"
12480 #include "confdefs.h"
12481 #include <math.h>
12482 int main() {
12483  _coshf(0);
12484 ; return 0; }
12485 EOF
12486 if { (eval echo configure:12487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12487   rm -rf conftest*
12488   glibcpp_cv_func__coshf_use=yes
12489 else
12490   echo "configure: failed program was:" >&5
12491   cat conftest.$ac_ext >&5
12492   rm -rf conftest*
12493   glibcpp_cv_func__coshf_use=no
12494 fi
12495 rm -f conftest*
12496     ac_ext=c
12497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12498 ac_cpp='$CPP $CPPFLAGS'
12499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12501 cross_compiling=$ac_cv_prog_cc_cross
12502
12503   
12504 fi
12505
12506   echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12507   if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12508     for ac_func in _coshf
12509 do
12510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12511 echo "configure:12512: checking for $ac_func" >&5
12512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12513   echo $ac_n "(cached) $ac_c" 1>&6
12514 else
12515   cat > conftest.$ac_ext <<EOF
12516 #line 12517 "configure"
12517 #include "confdefs.h"
12518 /* System header to define __stub macros and hopefully few prototypes,
12519     which can conflict with char $ac_func(); below.  */
12520 #include <assert.h>
12521 /* Override any gcc2 internal prototype to avoid an error.  */
12522 /* We use char because int might match the return type of a gcc2
12523     builtin and then its argument prototype would still apply.  */
12524 char $ac_func();
12525
12526 int main() {
12527
12528 /* The GNU C library defines this for functions which it implements
12529     to always fail with ENOSYS.  Some functions are actually named
12530     something starting with __ and the normal name is an alias.  */
12531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12532 choke me
12533 #else
12534 $ac_func();
12535 #endif
12536
12537 ; return 0; }
12538 EOF
12539 if { (eval echo configure:12540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12540   rm -rf conftest*
12541   eval "ac_cv_func_$ac_func=yes"
12542 else
12543   echo "configure: failed program was:" >&5
12544   cat conftest.$ac_ext >&5
12545   rm -rf conftest*
12546   eval "ac_cv_func_$ac_func=no"
12547 fi
12548 rm -f conftest*
12549 fi
12550
12551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12552   echo "$ac_t""yes" 1>&6
12553     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12554   cat >> confdefs.h <<EOF
12555 #define $ac_tr_func 1
12556 EOF
12557  
12558 else
12559   echo "$ac_t""no" 1>&6
12560 fi
12561 done
12562     
12563   fi
12564
12565   
12566   echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12567 echo "configure:12568: checking for _expf declaration" >&5
12568   if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12569   echo $ac_n "(cached) $ac_c" 1>&6
12570 else
12571   
12572     
12573     ac_ext=C
12574 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12575 ac_cpp='$CXXCPP $CPPFLAGS'
12576 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12577 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12578 cross_compiling=$ac_cv_prog_cxx_cross
12579
12580     cat > conftest.$ac_ext <<EOF
12581 #line 12582 "configure"
12582 #include "confdefs.h"
12583 #include <math.h>
12584 int main() {
12585  _expf(0);
12586 ; return 0; }
12587 EOF
12588 if { (eval echo configure:12589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12589   rm -rf conftest*
12590   glibcpp_cv_func__expf_use=yes
12591 else
12592   echo "configure: failed program was:" >&5
12593   cat conftest.$ac_ext >&5
12594   rm -rf conftest*
12595   glibcpp_cv_func__expf_use=no
12596 fi
12597 rm -f conftest*
12598     ac_ext=c
12599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12600 ac_cpp='$CPP $CPPFLAGS'
12601 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12602 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12603 cross_compiling=$ac_cv_prog_cc_cross
12604
12605   
12606 fi
12607
12608   echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12609   if test x$glibcpp_cv_func__expf_use = x"yes"; then
12610     for ac_func in _expf
12611 do
12612 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12613 echo "configure:12614: checking for $ac_func" >&5
12614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12615   echo $ac_n "(cached) $ac_c" 1>&6
12616 else
12617   cat > conftest.$ac_ext <<EOF
12618 #line 12619 "configure"
12619 #include "confdefs.h"
12620 /* System header to define __stub macros and hopefully few prototypes,
12621     which can conflict with char $ac_func(); below.  */
12622 #include <assert.h>
12623 /* Override any gcc2 internal prototype to avoid an error.  */
12624 /* We use char because int might match the return type of a gcc2
12625     builtin and then its argument prototype would still apply.  */
12626 char $ac_func();
12627
12628 int main() {
12629
12630 /* The GNU C library defines this for functions which it implements
12631     to always fail with ENOSYS.  Some functions are actually named
12632     something starting with __ and the normal name is an alias.  */
12633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12634 choke me
12635 #else
12636 $ac_func();
12637 #endif
12638
12639 ; return 0; }
12640 EOF
12641 if { (eval echo configure:12642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12642   rm -rf conftest*
12643   eval "ac_cv_func_$ac_func=yes"
12644 else
12645   echo "configure: failed program was:" >&5
12646   cat conftest.$ac_ext >&5
12647   rm -rf conftest*
12648   eval "ac_cv_func_$ac_func=no"
12649 fi
12650 rm -f conftest*
12651 fi
12652
12653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12654   echo "$ac_t""yes" 1>&6
12655     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12656   cat >> confdefs.h <<EOF
12657 #define $ac_tr_func 1
12658 EOF
12659  
12660 else
12661   echo "$ac_t""no" 1>&6
12662 fi
12663 done
12664     
12665   fi
12666
12667   
12668   echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12669 echo "configure:12670: checking for _fabsf declaration" >&5
12670   if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12671   echo $ac_n "(cached) $ac_c" 1>&6
12672 else
12673   
12674     
12675     ac_ext=C
12676 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12677 ac_cpp='$CXXCPP $CPPFLAGS'
12678 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12679 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12680 cross_compiling=$ac_cv_prog_cxx_cross
12681
12682     cat > conftest.$ac_ext <<EOF
12683 #line 12684 "configure"
12684 #include "confdefs.h"
12685 #include <math.h>
12686 int main() {
12687  _fabsf(0);
12688 ; return 0; }
12689 EOF
12690 if { (eval echo configure:12691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12691   rm -rf conftest*
12692   glibcpp_cv_func__fabsf_use=yes
12693 else
12694   echo "configure: failed program was:" >&5
12695   cat conftest.$ac_ext >&5
12696   rm -rf conftest*
12697   glibcpp_cv_func__fabsf_use=no
12698 fi
12699 rm -f conftest*
12700     ac_ext=c
12701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12702 ac_cpp='$CPP $CPPFLAGS'
12703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12705 cross_compiling=$ac_cv_prog_cc_cross
12706
12707   
12708 fi
12709
12710   echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12711   if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12712     for ac_func in _fabsf
12713 do
12714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12715 echo "configure:12716: checking for $ac_func" >&5
12716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12717   echo $ac_n "(cached) $ac_c" 1>&6
12718 else
12719   cat > conftest.$ac_ext <<EOF
12720 #line 12721 "configure"
12721 #include "confdefs.h"
12722 /* System header to define __stub macros and hopefully few prototypes,
12723     which can conflict with char $ac_func(); below.  */
12724 #include <assert.h>
12725 /* Override any gcc2 internal prototype to avoid an error.  */
12726 /* We use char because int might match the return type of a gcc2
12727     builtin and then its argument prototype would still apply.  */
12728 char $ac_func();
12729
12730 int main() {
12731
12732 /* The GNU C library defines this for functions which it implements
12733     to always fail with ENOSYS.  Some functions are actually named
12734     something starting with __ and the normal name is an alias.  */
12735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12736 choke me
12737 #else
12738 $ac_func();
12739 #endif
12740
12741 ; return 0; }
12742 EOF
12743 if { (eval echo configure:12744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12744   rm -rf conftest*
12745   eval "ac_cv_func_$ac_func=yes"
12746 else
12747   echo "configure: failed program was:" >&5
12748   cat conftest.$ac_ext >&5
12749   rm -rf conftest*
12750   eval "ac_cv_func_$ac_func=no"
12751 fi
12752 rm -f conftest*
12753 fi
12754
12755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12756   echo "$ac_t""yes" 1>&6
12757     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12758   cat >> confdefs.h <<EOF
12759 #define $ac_tr_func 1
12760 EOF
12761  
12762 else
12763   echo "$ac_t""no" 1>&6
12764 fi
12765 done
12766     
12767   fi
12768
12769   
12770   echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12771 echo "configure:12772: checking for _floorf declaration" >&5
12772   if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_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  _floorf(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__floorf_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__floorf_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   echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
12813   if test x$glibcpp_cv_func__floorf_use = x"yes"; then
12814     for ac_func in _floorf
12815 do
12816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12817 echo "configure:12818: checking for $ac_func" >&5
12818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12819   echo $ac_n "(cached) $ac_c" 1>&6
12820 else
12821   cat > conftest.$ac_ext <<EOF
12822 #line 12823 "configure"
12823 #include "confdefs.h"
12824 /* System header to define __stub macros and hopefully few prototypes,
12825     which can conflict with char $ac_func(); below.  */
12826 #include <assert.h>
12827 /* Override any gcc2 internal prototype to avoid an error.  */
12828 /* We use char because int might match the return type of a gcc2
12829     builtin and then its argument prototype would still apply.  */
12830 char $ac_func();
12831
12832 int main() {
12833
12834 /* The GNU C library defines this for functions which it implements
12835     to always fail with ENOSYS.  Some functions are actually named
12836     something starting with __ and the normal name is an alias.  */
12837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12838 choke me
12839 #else
12840 $ac_func();
12841 #endif
12842
12843 ; return 0; }
12844 EOF
12845 if { (eval echo configure:12846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12846   rm -rf conftest*
12847   eval "ac_cv_func_$ac_func=yes"
12848 else
12849   echo "configure: failed program was:" >&5
12850   cat conftest.$ac_ext >&5
12851   rm -rf conftest*
12852   eval "ac_cv_func_$ac_func=no"
12853 fi
12854 rm -f conftest*
12855 fi
12856
12857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12858   echo "$ac_t""yes" 1>&6
12859     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12860   cat >> confdefs.h <<EOF
12861 #define $ac_tr_func 1
12862 EOF
12863  
12864 else
12865   echo "$ac_t""no" 1>&6
12866 fi
12867 done
12868     
12869   fi
12870
12871   
12872   echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12873 echo "configure:12874: checking for _fmodf declaration" >&5
12874   if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12875   echo $ac_n "(cached) $ac_c" 1>&6
12876 else
12877   
12878     
12879     ac_ext=C
12880 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12881 ac_cpp='$CXXCPP $CPPFLAGS'
12882 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12883 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12884 cross_compiling=$ac_cv_prog_cxx_cross
12885
12886     cat > conftest.$ac_ext <<EOF
12887 #line 12888 "configure"
12888 #include "confdefs.h"
12889 #include <math.h>
12890 int main() {
12891  _fmodf(0, 0);
12892 ; return 0; }
12893 EOF
12894 if { (eval echo configure:12895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12895   rm -rf conftest*
12896   glibcpp_cv_func__fmodf_use=yes
12897 else
12898   echo "configure: failed program was:" >&5
12899   cat conftest.$ac_ext >&5
12900   rm -rf conftest*
12901   glibcpp_cv_func__fmodf_use=no
12902 fi
12903 rm -f conftest*
12904     ac_ext=c
12905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12906 ac_cpp='$CPP $CPPFLAGS'
12907 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12908 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12909 cross_compiling=$ac_cv_prog_cc_cross
12910
12911   
12912 fi
12913
12914   echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12915   if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12916     for ac_func in _fmodf
12917 do
12918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12919 echo "configure:12920: checking for $ac_func" >&5
12920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12921   echo $ac_n "(cached) $ac_c" 1>&6
12922 else
12923   cat > conftest.$ac_ext <<EOF
12924 #line 12925 "configure"
12925 #include "confdefs.h"
12926 /* System header to define __stub macros and hopefully few prototypes,
12927     which can conflict with char $ac_func(); below.  */
12928 #include <assert.h>
12929 /* Override any gcc2 internal prototype to avoid an error.  */
12930 /* We use char because int might match the return type of a gcc2
12931     builtin and then its argument prototype would still apply.  */
12932 char $ac_func();
12933
12934 int main() {
12935
12936 /* The GNU C library defines this for functions which it implements
12937     to always fail with ENOSYS.  Some functions are actually named
12938     something starting with __ and the normal name is an alias.  */
12939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12940 choke me
12941 #else
12942 $ac_func();
12943 #endif
12944
12945 ; return 0; }
12946 EOF
12947 if { (eval echo configure:12948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12948   rm -rf conftest*
12949   eval "ac_cv_func_$ac_func=yes"
12950 else
12951   echo "configure: failed program was:" >&5
12952   cat conftest.$ac_ext >&5
12953   rm -rf conftest*
12954   eval "ac_cv_func_$ac_func=no"
12955 fi
12956 rm -f conftest*
12957 fi
12958
12959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12960   echo "$ac_t""yes" 1>&6
12961     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12962   cat >> confdefs.h <<EOF
12963 #define $ac_tr_func 1
12964 EOF
12965  
12966 else
12967   echo "$ac_t""no" 1>&6
12968 fi
12969 done
12970     
12971   fi
12972
12973   
12974   echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
12975 echo "configure:12976: checking for _frexpf declaration" >&5
12976   if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
12977   echo $ac_n "(cached) $ac_c" 1>&6
12978 else
12979   
12980     
12981     ac_ext=C
12982 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12983 ac_cpp='$CXXCPP $CPPFLAGS'
12984 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12985 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12986 cross_compiling=$ac_cv_prog_cxx_cross
12987
12988     cat > conftest.$ac_ext <<EOF
12989 #line 12990 "configure"
12990 #include "confdefs.h"
12991 #include <math.h>
12992 int main() {
12993  _frexpf(0, 0);
12994 ; return 0; }
12995 EOF
12996 if { (eval echo configure:12997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12997   rm -rf conftest*
12998   glibcpp_cv_func__frexpf_use=yes
12999 else
13000   echo "configure: failed program was:" >&5
13001   cat conftest.$ac_ext >&5
13002   rm -rf conftest*
13003   glibcpp_cv_func__frexpf_use=no
13004 fi
13005 rm -f conftest*
13006     ac_ext=c
13007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13008 ac_cpp='$CPP $CPPFLAGS'
13009 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13010 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13011 cross_compiling=$ac_cv_prog_cc_cross
13012
13013   
13014 fi
13015
13016   echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13017   if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13018     for ac_func in _frexpf
13019 do
13020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13021 echo "configure:13022: checking for $ac_func" >&5
13022 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13023   echo $ac_n "(cached) $ac_c" 1>&6
13024 else
13025   cat > conftest.$ac_ext <<EOF
13026 #line 13027 "configure"
13027 #include "confdefs.h"
13028 /* System header to define __stub macros and hopefully few prototypes,
13029     which can conflict with char $ac_func(); below.  */
13030 #include <assert.h>
13031 /* Override any gcc2 internal prototype to avoid an error.  */
13032 /* We use char because int might match the return type of a gcc2
13033     builtin and then its argument prototype would still apply.  */
13034 char $ac_func();
13035
13036 int main() {
13037
13038 /* The GNU C library defines this for functions which it implements
13039     to always fail with ENOSYS.  Some functions are actually named
13040     something starting with __ and the normal name is an alias.  */
13041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13042 choke me
13043 #else
13044 $ac_func();
13045 #endif
13046
13047 ; return 0; }
13048 EOF
13049 if { (eval echo configure:13050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13050   rm -rf conftest*
13051   eval "ac_cv_func_$ac_func=yes"
13052 else
13053   echo "configure: failed program was:" >&5
13054   cat conftest.$ac_ext >&5
13055   rm -rf conftest*
13056   eval "ac_cv_func_$ac_func=no"
13057 fi
13058 rm -f conftest*
13059 fi
13060
13061 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13062   echo "$ac_t""yes" 1>&6
13063     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13064   cat >> confdefs.h <<EOF
13065 #define $ac_tr_func 1
13066 EOF
13067  
13068 else
13069   echo "$ac_t""no" 1>&6
13070 fi
13071 done
13072     
13073   fi
13074
13075   
13076   echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13077 echo "configure:13078: checking for _ldexpf declaration" >&5
13078   if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13079   echo $ac_n "(cached) $ac_c" 1>&6
13080 else
13081   
13082     
13083     ac_ext=C
13084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13085 ac_cpp='$CXXCPP $CPPFLAGS'
13086 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13087 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13088 cross_compiling=$ac_cv_prog_cxx_cross
13089
13090     cat > conftest.$ac_ext <<EOF
13091 #line 13092 "configure"
13092 #include "confdefs.h"
13093 #include <math.h>
13094 int main() {
13095  _ldexpf(0, 0);
13096 ; return 0; }
13097 EOF
13098 if { (eval echo configure:13099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13099   rm -rf conftest*
13100   glibcpp_cv_func__ldexpf_use=yes
13101 else
13102   echo "configure: failed program was:" >&5
13103   cat conftest.$ac_ext >&5
13104   rm -rf conftest*
13105   glibcpp_cv_func__ldexpf_use=no
13106 fi
13107 rm -f conftest*
13108     ac_ext=c
13109 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13110 ac_cpp='$CPP $CPPFLAGS'
13111 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13112 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13113 cross_compiling=$ac_cv_prog_cc_cross
13114
13115   
13116 fi
13117
13118   echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13119   if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13120     for ac_func in _ldexpf
13121 do
13122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13123 echo "configure:13124: checking for $ac_func" >&5
13124 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13125   echo $ac_n "(cached) $ac_c" 1>&6
13126 else
13127   cat > conftest.$ac_ext <<EOF
13128 #line 13129 "configure"
13129 #include "confdefs.h"
13130 /* System header to define __stub macros and hopefully few prototypes,
13131     which can conflict with char $ac_func(); below.  */
13132 #include <assert.h>
13133 /* Override any gcc2 internal prototype to avoid an error.  */
13134 /* We use char because int might match the return type of a gcc2
13135     builtin and then its argument prototype would still apply.  */
13136 char $ac_func();
13137
13138 int main() {
13139
13140 /* The GNU C library defines this for functions which it implements
13141     to always fail with ENOSYS.  Some functions are actually named
13142     something starting with __ and the normal name is an alias.  */
13143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13144 choke me
13145 #else
13146 $ac_func();
13147 #endif
13148
13149 ; return 0; }
13150 EOF
13151 if { (eval echo configure:13152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13152   rm -rf conftest*
13153   eval "ac_cv_func_$ac_func=yes"
13154 else
13155   echo "configure: failed program was:" >&5
13156   cat conftest.$ac_ext >&5
13157   rm -rf conftest*
13158   eval "ac_cv_func_$ac_func=no"
13159 fi
13160 rm -f conftest*
13161 fi
13162
13163 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13164   echo "$ac_t""yes" 1>&6
13165     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13166   cat >> confdefs.h <<EOF
13167 #define $ac_tr_func 1
13168 EOF
13169  
13170 else
13171   echo "$ac_t""no" 1>&6
13172 fi
13173 done
13174     
13175   fi
13176
13177   
13178   echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13179 echo "configure:13180: checking for _logf declaration" >&5
13180   if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13181   echo $ac_n "(cached) $ac_c" 1>&6
13182 else
13183   
13184     
13185     ac_ext=C
13186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13187 ac_cpp='$CXXCPP $CPPFLAGS'
13188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13190 cross_compiling=$ac_cv_prog_cxx_cross
13191
13192     cat > conftest.$ac_ext <<EOF
13193 #line 13194 "configure"
13194 #include "confdefs.h"
13195 #include <math.h>
13196 int main() {
13197  _logf(0);
13198 ; return 0; }
13199 EOF
13200 if { (eval echo configure:13201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13201   rm -rf conftest*
13202   glibcpp_cv_func__logf_use=yes
13203 else
13204   echo "configure: failed program was:" >&5
13205   cat conftest.$ac_ext >&5
13206   rm -rf conftest*
13207   glibcpp_cv_func__logf_use=no
13208 fi
13209 rm -f conftest*
13210     ac_ext=c
13211 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13212 ac_cpp='$CPP $CPPFLAGS'
13213 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13214 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13215 cross_compiling=$ac_cv_prog_cc_cross
13216
13217   
13218 fi
13219
13220   echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13221   if test x$glibcpp_cv_func__logf_use = x"yes"; then
13222     for ac_func in _logf
13223 do
13224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13225 echo "configure:13226: checking for $ac_func" >&5
13226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13227   echo $ac_n "(cached) $ac_c" 1>&6
13228 else
13229   cat > conftest.$ac_ext <<EOF
13230 #line 13231 "configure"
13231 #include "confdefs.h"
13232 /* System header to define __stub macros and hopefully few prototypes,
13233     which can conflict with char $ac_func(); below.  */
13234 #include <assert.h>
13235 /* Override any gcc2 internal prototype to avoid an error.  */
13236 /* We use char because int might match the return type of a gcc2
13237     builtin and then its argument prototype would still apply.  */
13238 char $ac_func();
13239
13240 int main() {
13241
13242 /* The GNU C library defines this for functions which it implements
13243     to always fail with ENOSYS.  Some functions are actually named
13244     something starting with __ and the normal name is an alias.  */
13245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13246 choke me
13247 #else
13248 $ac_func();
13249 #endif
13250
13251 ; return 0; }
13252 EOF
13253 if { (eval echo configure:13254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13254   rm -rf conftest*
13255   eval "ac_cv_func_$ac_func=yes"
13256 else
13257   echo "configure: failed program was:" >&5
13258   cat conftest.$ac_ext >&5
13259   rm -rf conftest*
13260   eval "ac_cv_func_$ac_func=no"
13261 fi
13262 rm -f conftest*
13263 fi
13264
13265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13266   echo "$ac_t""yes" 1>&6
13267     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13268   cat >> confdefs.h <<EOF
13269 #define $ac_tr_func 1
13270 EOF
13271  
13272 else
13273   echo "$ac_t""no" 1>&6
13274 fi
13275 done
13276     
13277   fi
13278
13279   
13280   echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13281 echo "configure:13282: checking for _log10f declaration" >&5
13282   if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13283   echo $ac_n "(cached) $ac_c" 1>&6
13284 else
13285   
13286     
13287     ac_ext=C
13288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13289 ac_cpp='$CXXCPP $CPPFLAGS'
13290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13292 cross_compiling=$ac_cv_prog_cxx_cross
13293
13294     cat > conftest.$ac_ext <<EOF
13295 #line 13296 "configure"
13296 #include "confdefs.h"
13297 #include <math.h>
13298 int main() {
13299  _log10f(0);
13300 ; return 0; }
13301 EOF
13302 if { (eval echo configure:13303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13303   rm -rf conftest*
13304   glibcpp_cv_func__log10f_use=yes
13305 else
13306   echo "configure: failed program was:" >&5
13307   cat conftest.$ac_ext >&5
13308   rm -rf conftest*
13309   glibcpp_cv_func__log10f_use=no
13310 fi
13311 rm -f conftest*
13312     ac_ext=c
13313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13314 ac_cpp='$CPP $CPPFLAGS'
13315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13317 cross_compiling=$ac_cv_prog_cc_cross
13318
13319   
13320 fi
13321
13322   echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13323   if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13324     for ac_func in _log10f
13325 do
13326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13327 echo "configure:13328: checking for $ac_func" >&5
13328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13329   echo $ac_n "(cached) $ac_c" 1>&6
13330 else
13331   cat > conftest.$ac_ext <<EOF
13332 #line 13333 "configure"
13333 #include "confdefs.h"
13334 /* System header to define __stub macros and hopefully few prototypes,
13335     which can conflict with char $ac_func(); below.  */
13336 #include <assert.h>
13337 /* Override any gcc2 internal prototype to avoid an error.  */
13338 /* We use char because int might match the return type of a gcc2
13339     builtin and then its argument prototype would still apply.  */
13340 char $ac_func();
13341
13342 int main() {
13343
13344 /* The GNU C library defines this for functions which it implements
13345     to always fail with ENOSYS.  Some functions are actually named
13346     something starting with __ and the normal name is an alias.  */
13347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13348 choke me
13349 #else
13350 $ac_func();
13351 #endif
13352
13353 ; return 0; }
13354 EOF
13355 if { (eval echo configure:13356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13356   rm -rf conftest*
13357   eval "ac_cv_func_$ac_func=yes"
13358 else
13359   echo "configure: failed program was:" >&5
13360   cat conftest.$ac_ext >&5
13361   rm -rf conftest*
13362   eval "ac_cv_func_$ac_func=no"
13363 fi
13364 rm -f conftest*
13365 fi
13366
13367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13368   echo "$ac_t""yes" 1>&6
13369     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13370   cat >> confdefs.h <<EOF
13371 #define $ac_tr_func 1
13372 EOF
13373  
13374 else
13375   echo "$ac_t""no" 1>&6
13376 fi
13377 done
13378     
13379   fi
13380
13381   
13382   echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13383 echo "configure:13384: checking for _modff declaration" >&5
13384   if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13385   echo $ac_n "(cached) $ac_c" 1>&6
13386 else
13387   
13388     
13389     ac_ext=C
13390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13391 ac_cpp='$CXXCPP $CPPFLAGS'
13392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13394 cross_compiling=$ac_cv_prog_cxx_cross
13395
13396     cat > conftest.$ac_ext <<EOF
13397 #line 13398 "configure"
13398 #include "confdefs.h"
13399 #include <math.h>
13400 int main() {
13401  _modff(0, 0);
13402 ; return 0; }
13403 EOF
13404 if { (eval echo configure:13405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13405   rm -rf conftest*
13406   glibcpp_cv_func__modff_use=yes
13407 else
13408   echo "configure: failed program was:" >&5
13409   cat conftest.$ac_ext >&5
13410   rm -rf conftest*
13411   glibcpp_cv_func__modff_use=no
13412 fi
13413 rm -f conftest*
13414     ac_ext=c
13415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13416 ac_cpp='$CPP $CPPFLAGS'
13417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13419 cross_compiling=$ac_cv_prog_cc_cross
13420
13421   
13422 fi
13423
13424   echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13425   if test x$glibcpp_cv_func__modff_use = x"yes"; then
13426     for ac_func in _modff
13427 do
13428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13429 echo "configure:13430: checking for $ac_func" >&5
13430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13431   echo $ac_n "(cached) $ac_c" 1>&6
13432 else
13433   cat > conftest.$ac_ext <<EOF
13434 #line 13435 "configure"
13435 #include "confdefs.h"
13436 /* System header to define __stub macros and hopefully few prototypes,
13437     which can conflict with char $ac_func(); below.  */
13438 #include <assert.h>
13439 /* Override any gcc2 internal prototype to avoid an error.  */
13440 /* We use char because int might match the return type of a gcc2
13441     builtin and then its argument prototype would still apply.  */
13442 char $ac_func();
13443
13444 int main() {
13445
13446 /* The GNU C library defines this for functions which it implements
13447     to always fail with ENOSYS.  Some functions are actually named
13448     something starting with __ and the normal name is an alias.  */
13449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13450 choke me
13451 #else
13452 $ac_func();
13453 #endif
13454
13455 ; return 0; }
13456 EOF
13457 if { (eval echo configure:13458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13458   rm -rf conftest*
13459   eval "ac_cv_func_$ac_func=yes"
13460 else
13461   echo "configure: failed program was:" >&5
13462   cat conftest.$ac_ext >&5
13463   rm -rf conftest*
13464   eval "ac_cv_func_$ac_func=no"
13465 fi
13466 rm -f conftest*
13467 fi
13468
13469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13470   echo "$ac_t""yes" 1>&6
13471     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13472   cat >> confdefs.h <<EOF
13473 #define $ac_tr_func 1
13474 EOF
13475  
13476 else
13477   echo "$ac_t""no" 1>&6
13478 fi
13479 done
13480     
13481   fi
13482
13483   
13484   echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13485 echo "configure:13486: checking for _powf declaration" >&5
13486   if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13487   echo $ac_n "(cached) $ac_c" 1>&6
13488 else
13489   
13490     
13491     ac_ext=C
13492 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13493 ac_cpp='$CXXCPP $CPPFLAGS'
13494 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13495 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13496 cross_compiling=$ac_cv_prog_cxx_cross
13497
13498     cat > conftest.$ac_ext <<EOF
13499 #line 13500 "configure"
13500 #include "confdefs.h"
13501 #include <math.h>
13502 int main() {
13503  _powf(0, 0);
13504 ; return 0; }
13505 EOF
13506 if { (eval echo configure:13507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13507   rm -rf conftest*
13508   glibcpp_cv_func__powf_use=yes
13509 else
13510   echo "configure: failed program was:" >&5
13511   cat conftest.$ac_ext >&5
13512   rm -rf conftest*
13513   glibcpp_cv_func__powf_use=no
13514 fi
13515 rm -f conftest*
13516     ac_ext=c
13517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13518 ac_cpp='$CPP $CPPFLAGS'
13519 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13520 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13521 cross_compiling=$ac_cv_prog_cc_cross
13522
13523   
13524 fi
13525
13526   echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13527   if test x$glibcpp_cv_func__powf_use = x"yes"; then
13528     for ac_func in _powf
13529 do
13530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13531 echo "configure:13532: checking for $ac_func" >&5
13532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13533   echo $ac_n "(cached) $ac_c" 1>&6
13534 else
13535   cat > conftest.$ac_ext <<EOF
13536 #line 13537 "configure"
13537 #include "confdefs.h"
13538 /* System header to define __stub macros and hopefully few prototypes,
13539     which can conflict with char $ac_func(); below.  */
13540 #include <assert.h>
13541 /* Override any gcc2 internal prototype to avoid an error.  */
13542 /* We use char because int might match the return type of a gcc2
13543     builtin and then its argument prototype would still apply.  */
13544 char $ac_func();
13545
13546 int main() {
13547
13548 /* The GNU C library defines this for functions which it implements
13549     to always fail with ENOSYS.  Some functions are actually named
13550     something starting with __ and the normal name is an alias.  */
13551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13552 choke me
13553 #else
13554 $ac_func();
13555 #endif
13556
13557 ; return 0; }
13558 EOF
13559 if { (eval echo configure:13560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13560   rm -rf conftest*
13561   eval "ac_cv_func_$ac_func=yes"
13562 else
13563   echo "configure: failed program was:" >&5
13564   cat conftest.$ac_ext >&5
13565   rm -rf conftest*
13566   eval "ac_cv_func_$ac_func=no"
13567 fi
13568 rm -f conftest*
13569 fi
13570
13571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13572   echo "$ac_t""yes" 1>&6
13573     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13574   cat >> confdefs.h <<EOF
13575 #define $ac_tr_func 1
13576 EOF
13577  
13578 else
13579   echo "$ac_t""no" 1>&6
13580 fi
13581 done
13582     
13583   fi
13584
13585   
13586   echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13587 echo "configure:13588: checking for _sinf declaration" >&5
13588   if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13589   echo $ac_n "(cached) $ac_c" 1>&6
13590 else
13591   
13592     
13593     ac_ext=C
13594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13595 ac_cpp='$CXXCPP $CPPFLAGS'
13596 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13597 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13598 cross_compiling=$ac_cv_prog_cxx_cross
13599
13600     cat > conftest.$ac_ext <<EOF
13601 #line 13602 "configure"
13602 #include "confdefs.h"
13603 #include <math.h>
13604 int main() {
13605  _sinf(0);
13606 ; return 0; }
13607 EOF
13608 if { (eval echo configure:13609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13609   rm -rf conftest*
13610   glibcpp_cv_func__sinf_use=yes
13611 else
13612   echo "configure: failed program was:" >&5
13613   cat conftest.$ac_ext >&5
13614   rm -rf conftest*
13615   glibcpp_cv_func__sinf_use=no
13616 fi
13617 rm -f conftest*
13618     ac_ext=c
13619 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13620 ac_cpp='$CPP $CPPFLAGS'
13621 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13622 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13623 cross_compiling=$ac_cv_prog_cc_cross
13624
13625   
13626 fi
13627
13628   echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13629   if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13630     for ac_func in _sinf
13631 do
13632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13633 echo "configure:13634: checking for $ac_func" >&5
13634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13635   echo $ac_n "(cached) $ac_c" 1>&6
13636 else
13637   cat > conftest.$ac_ext <<EOF
13638 #line 13639 "configure"
13639 #include "confdefs.h"
13640 /* System header to define __stub macros and hopefully few prototypes,
13641     which can conflict with char $ac_func(); below.  */
13642 #include <assert.h>
13643 /* Override any gcc2 internal prototype to avoid an error.  */
13644 /* We use char because int might match the return type of a gcc2
13645     builtin and then its argument prototype would still apply.  */
13646 char $ac_func();
13647
13648 int main() {
13649
13650 /* The GNU C library defines this for functions which it implements
13651     to always fail with ENOSYS.  Some functions are actually named
13652     something starting with __ and the normal name is an alias.  */
13653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13654 choke me
13655 #else
13656 $ac_func();
13657 #endif
13658
13659 ; return 0; }
13660 EOF
13661 if { (eval echo configure:13662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13662   rm -rf conftest*
13663   eval "ac_cv_func_$ac_func=yes"
13664 else
13665   echo "configure: failed program was:" >&5
13666   cat conftest.$ac_ext >&5
13667   rm -rf conftest*
13668   eval "ac_cv_func_$ac_func=no"
13669 fi
13670 rm -f conftest*
13671 fi
13672
13673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13674   echo "$ac_t""yes" 1>&6
13675     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13676   cat >> confdefs.h <<EOF
13677 #define $ac_tr_func 1
13678 EOF
13679  
13680 else
13681   echo "$ac_t""no" 1>&6
13682 fi
13683 done
13684     
13685   fi
13686
13687   
13688   echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13689 echo "configure:13690: checking for _sinhf declaration" >&5
13690   if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13691   echo $ac_n "(cached) $ac_c" 1>&6
13692 else
13693   
13694     
13695     ac_ext=C
13696 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13697 ac_cpp='$CXXCPP $CPPFLAGS'
13698 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13699 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13700 cross_compiling=$ac_cv_prog_cxx_cross
13701
13702     cat > conftest.$ac_ext <<EOF
13703 #line 13704 "configure"
13704 #include "confdefs.h"
13705 #include <math.h>
13706 int main() {
13707  _sinhf(0);
13708 ; return 0; }
13709 EOF
13710 if { (eval echo configure:13711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13711   rm -rf conftest*
13712   glibcpp_cv_func__sinhf_use=yes
13713 else
13714   echo "configure: failed program was:" >&5
13715   cat conftest.$ac_ext >&5
13716   rm -rf conftest*
13717   glibcpp_cv_func__sinhf_use=no
13718 fi
13719 rm -f conftest*
13720     ac_ext=c
13721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13722 ac_cpp='$CPP $CPPFLAGS'
13723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13725 cross_compiling=$ac_cv_prog_cc_cross
13726
13727   
13728 fi
13729
13730   echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13731   if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13732     for ac_func in _sinhf
13733 do
13734 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13735 echo "configure:13736: checking for $ac_func" >&5
13736 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13737   echo $ac_n "(cached) $ac_c" 1>&6
13738 else
13739   cat > conftest.$ac_ext <<EOF
13740 #line 13741 "configure"
13741 #include "confdefs.h"
13742 /* System header to define __stub macros and hopefully few prototypes,
13743     which can conflict with char $ac_func(); below.  */
13744 #include <assert.h>
13745 /* Override any gcc2 internal prototype to avoid an error.  */
13746 /* We use char because int might match the return type of a gcc2
13747     builtin and then its argument prototype would still apply.  */
13748 char $ac_func();
13749
13750 int main() {
13751
13752 /* The GNU C library defines this for functions which it implements
13753     to always fail with ENOSYS.  Some functions are actually named
13754     something starting with __ and the normal name is an alias.  */
13755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13756 choke me
13757 #else
13758 $ac_func();
13759 #endif
13760
13761 ; return 0; }
13762 EOF
13763 if { (eval echo configure:13764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13764   rm -rf conftest*
13765   eval "ac_cv_func_$ac_func=yes"
13766 else
13767   echo "configure: failed program was:" >&5
13768   cat conftest.$ac_ext >&5
13769   rm -rf conftest*
13770   eval "ac_cv_func_$ac_func=no"
13771 fi
13772 rm -f conftest*
13773 fi
13774
13775 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13776   echo "$ac_t""yes" 1>&6
13777     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13778   cat >> confdefs.h <<EOF
13779 #define $ac_tr_func 1
13780 EOF
13781  
13782 else
13783   echo "$ac_t""no" 1>&6
13784 fi
13785 done
13786     
13787   fi
13788
13789   
13790   echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13791 echo "configure:13792: checking for _sqrtf declaration" >&5
13792   if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13793   echo $ac_n "(cached) $ac_c" 1>&6
13794 else
13795   
13796     
13797     ac_ext=C
13798 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13799 ac_cpp='$CXXCPP $CPPFLAGS'
13800 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13801 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13802 cross_compiling=$ac_cv_prog_cxx_cross
13803
13804     cat > conftest.$ac_ext <<EOF
13805 #line 13806 "configure"
13806 #include "confdefs.h"
13807 #include <math.h>
13808 int main() {
13809  _sqrtf(0);
13810 ; return 0; }
13811 EOF
13812 if { (eval echo configure:13813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13813   rm -rf conftest*
13814   glibcpp_cv_func__sqrtf_use=yes
13815 else
13816   echo "configure: failed program was:" >&5
13817   cat conftest.$ac_ext >&5
13818   rm -rf conftest*
13819   glibcpp_cv_func__sqrtf_use=no
13820 fi
13821 rm -f conftest*
13822     ac_ext=c
13823 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13824 ac_cpp='$CPP $CPPFLAGS'
13825 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13826 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13827 cross_compiling=$ac_cv_prog_cc_cross
13828
13829   
13830 fi
13831
13832   echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13833   if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13834     for ac_func in _sqrtf
13835 do
13836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13837 echo "configure:13838: checking for $ac_func" >&5
13838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13839   echo $ac_n "(cached) $ac_c" 1>&6
13840 else
13841   cat > conftest.$ac_ext <<EOF
13842 #line 13843 "configure"
13843 #include "confdefs.h"
13844 /* System header to define __stub macros and hopefully few prototypes,
13845     which can conflict with char $ac_func(); below.  */
13846 #include <assert.h>
13847 /* Override any gcc2 internal prototype to avoid an error.  */
13848 /* We use char because int might match the return type of a gcc2
13849     builtin and then its argument prototype would still apply.  */
13850 char $ac_func();
13851
13852 int main() {
13853
13854 /* The GNU C library defines this for functions which it implements
13855     to always fail with ENOSYS.  Some functions are actually named
13856     something starting with __ and the normal name is an alias.  */
13857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13858 choke me
13859 #else
13860 $ac_func();
13861 #endif
13862
13863 ; return 0; }
13864 EOF
13865 if { (eval echo configure:13866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13866   rm -rf conftest*
13867   eval "ac_cv_func_$ac_func=yes"
13868 else
13869   echo "configure: failed program was:" >&5
13870   cat conftest.$ac_ext >&5
13871   rm -rf conftest*
13872   eval "ac_cv_func_$ac_func=no"
13873 fi
13874 rm -f conftest*
13875 fi
13876
13877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13878   echo "$ac_t""yes" 1>&6
13879     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13880   cat >> confdefs.h <<EOF
13881 #define $ac_tr_func 1
13882 EOF
13883  
13884 else
13885   echo "$ac_t""no" 1>&6
13886 fi
13887 done
13888     
13889   fi
13890
13891   
13892   echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
13893 echo "configure:13894: checking for _tanf declaration" >&5
13894   if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
13895   echo $ac_n "(cached) $ac_c" 1>&6
13896 else
13897   
13898     
13899     ac_ext=C
13900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13901 ac_cpp='$CXXCPP $CPPFLAGS'
13902 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13903 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13904 cross_compiling=$ac_cv_prog_cxx_cross
13905
13906     cat > conftest.$ac_ext <<EOF
13907 #line 13908 "configure"
13908 #include "confdefs.h"
13909 #include <math.h>
13910 int main() {
13911  _tanf(0);
13912 ; return 0; }
13913 EOF
13914 if { (eval echo configure:13915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13915   rm -rf conftest*
13916   glibcpp_cv_func__tanf_use=yes
13917 else
13918   echo "configure: failed program was:" >&5
13919   cat conftest.$ac_ext >&5
13920   rm -rf conftest*
13921   glibcpp_cv_func__tanf_use=no
13922 fi
13923 rm -f conftest*
13924     ac_ext=c
13925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13926 ac_cpp='$CPP $CPPFLAGS'
13927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13929 cross_compiling=$ac_cv_prog_cc_cross
13930
13931   
13932 fi
13933
13934   echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
13935   if test x$glibcpp_cv_func__tanf_use = x"yes"; then
13936     for ac_func in _tanf
13937 do
13938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13939 echo "configure:13940: checking for $ac_func" >&5
13940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13941   echo $ac_n "(cached) $ac_c" 1>&6
13942 else
13943   cat > conftest.$ac_ext <<EOF
13944 #line 13945 "configure"
13945 #include "confdefs.h"
13946 /* System header to define __stub macros and hopefully few prototypes,
13947     which can conflict with char $ac_func(); below.  */
13948 #include <assert.h>
13949 /* Override any gcc2 internal prototype to avoid an error.  */
13950 /* We use char because int might match the return type of a gcc2
13951     builtin and then its argument prototype would still apply.  */
13952 char $ac_func();
13953
13954 int main() {
13955
13956 /* The GNU C library defines this for functions which it implements
13957     to always fail with ENOSYS.  Some functions are actually named
13958     something starting with __ and the normal name is an alias.  */
13959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13960 choke me
13961 #else
13962 $ac_func();
13963 #endif
13964
13965 ; return 0; }
13966 EOF
13967 if { (eval echo configure:13968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13968   rm -rf conftest*
13969   eval "ac_cv_func_$ac_func=yes"
13970 else
13971   echo "configure: failed program was:" >&5
13972   cat conftest.$ac_ext >&5
13973   rm -rf conftest*
13974   eval "ac_cv_func_$ac_func=no"
13975 fi
13976 rm -f conftest*
13977 fi
13978
13979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13980   echo "$ac_t""yes" 1>&6
13981     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13982   cat >> confdefs.h <<EOF
13983 #define $ac_tr_func 1
13984 EOF
13985  
13986 else
13987   echo "$ac_t""no" 1>&6
13988 fi
13989 done
13990     
13991   fi
13992
13993   
13994   echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
13995 echo "configure:13996: checking for _tanhf declaration" >&5
13996   if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
13997   echo $ac_n "(cached) $ac_c" 1>&6
13998 else
13999   
14000     
14001     ac_ext=C
14002 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14003 ac_cpp='$CXXCPP $CPPFLAGS'
14004 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14005 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14006 cross_compiling=$ac_cv_prog_cxx_cross
14007
14008     cat > conftest.$ac_ext <<EOF
14009 #line 14010 "configure"
14010 #include "confdefs.h"
14011 #include <math.h>
14012 int main() {
14013  _tanhf(0);
14014 ; return 0; }
14015 EOF
14016 if { (eval echo configure:14017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14017   rm -rf conftest*
14018   glibcpp_cv_func__tanhf_use=yes
14019 else
14020   echo "configure: failed program was:" >&5
14021   cat conftest.$ac_ext >&5
14022   rm -rf conftest*
14023   glibcpp_cv_func__tanhf_use=no
14024 fi
14025 rm -f conftest*
14026     ac_ext=c
14027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14028 ac_cpp='$CPP $CPPFLAGS'
14029 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14030 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14031 cross_compiling=$ac_cv_prog_cc_cross
14032
14033   
14034 fi
14035
14036   echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
14037   if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
14038     for ac_func in _tanhf
14039 do
14040 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14041 echo "configure:14042: checking for $ac_func" >&5
14042 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14043   echo $ac_n "(cached) $ac_c" 1>&6
14044 else
14045   cat > conftest.$ac_ext <<EOF
14046 #line 14047 "configure"
14047 #include "confdefs.h"
14048 /* System header to define __stub macros and hopefully few prototypes,
14049     which can conflict with char $ac_func(); below.  */
14050 #include <assert.h>
14051 /* Override any gcc2 internal prototype to avoid an error.  */
14052 /* We use char because int might match the return type of a gcc2
14053     builtin and then its argument prototype would still apply.  */
14054 char $ac_func();
14055
14056 int main() {
14057
14058 /* The GNU C library defines this for functions which it implements
14059     to always fail with ENOSYS.  Some functions are actually named
14060     something starting with __ and the normal name is an alias.  */
14061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14062 choke me
14063 #else
14064 $ac_func();
14065 #endif
14066
14067 ; return 0; }
14068 EOF
14069 if { (eval echo configure:14070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14070   rm -rf conftest*
14071   eval "ac_cv_func_$ac_func=yes"
14072 else
14073   echo "configure: failed program was:" >&5
14074   cat conftest.$ac_ext >&5
14075   rm -rf conftest*
14076   eval "ac_cv_func_$ac_func=no"
14077 fi
14078 rm -f conftest*
14079 fi
14080
14081 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14082   echo "$ac_t""yes" 1>&6
14083     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14084   cat >> confdefs.h <<EOF
14085 #define $ac_tr_func 1
14086 EOF
14087  
14088 else
14089   echo "$ac_t""no" 1>&6
14090 fi
14091 done
14092     
14093   fi
14094
14095   
14096   echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14097 echo "configure:14098: checking for _sincosf declaration" >&5
14098   if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14099   echo $ac_n "(cached) $ac_c" 1>&6
14100 else
14101   
14102     
14103     ac_ext=C
14104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14105 ac_cpp='$CXXCPP $CPPFLAGS'
14106 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14107 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14108 cross_compiling=$ac_cv_prog_cxx_cross
14109
14110     cat > conftest.$ac_ext <<EOF
14111 #line 14112 "configure"
14112 #include "confdefs.h"
14113 #include <math.h>
14114 int main() {
14115  _sincosf(0, 0, 0);
14116 ; return 0; }
14117 EOF
14118 if { (eval echo configure:14119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14119   rm -rf conftest*
14120   glibcpp_cv_func__sincosf_use=yes
14121 else
14122   echo "configure: failed program was:" >&5
14123   cat conftest.$ac_ext >&5
14124   rm -rf conftest*
14125   glibcpp_cv_func__sincosf_use=no
14126 fi
14127 rm -f conftest*
14128     ac_ext=c
14129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14130 ac_cpp='$CPP $CPPFLAGS'
14131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14133 cross_compiling=$ac_cv_prog_cc_cross
14134
14135   
14136 fi
14137
14138   echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14139   if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14140     for ac_func in _sincosf
14141 do
14142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14143 echo "configure:14144: checking for $ac_func" >&5
14144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14145   echo $ac_n "(cached) $ac_c" 1>&6
14146 else
14147   cat > conftest.$ac_ext <<EOF
14148 #line 14149 "configure"
14149 #include "confdefs.h"
14150 /* System header to define __stub macros and hopefully few prototypes,
14151     which can conflict with char $ac_func(); below.  */
14152 #include <assert.h>
14153 /* Override any gcc2 internal prototype to avoid an error.  */
14154 /* We use char because int might match the return type of a gcc2
14155     builtin and then its argument prototype would still apply.  */
14156 char $ac_func();
14157
14158 int main() {
14159
14160 /* The GNU C library defines this for functions which it implements
14161     to always fail with ENOSYS.  Some functions are actually named
14162     something starting with __ and the normal name is an alias.  */
14163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14164 choke me
14165 #else
14166 $ac_func();
14167 #endif
14168
14169 ; return 0; }
14170 EOF
14171 if { (eval echo configure:14172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14172   rm -rf conftest*
14173   eval "ac_cv_func_$ac_func=yes"
14174 else
14175   echo "configure: failed program was:" >&5
14176   cat conftest.$ac_ext >&5
14177   rm -rf conftest*
14178   eval "ac_cv_func_$ac_func=no"
14179 fi
14180 rm -f conftest*
14181 fi
14182
14183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14184   echo "$ac_t""yes" 1>&6
14185     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14186   cat >> confdefs.h <<EOF
14187 #define $ac_tr_func 1
14188 EOF
14189  
14190 else
14191   echo "$ac_t""no" 1>&6
14192 fi
14193 done
14194     
14195   fi
14196
14197   
14198   echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14199 echo "configure:14200: checking for _finitef declaration" >&5
14200   if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14201   echo $ac_n "(cached) $ac_c" 1>&6
14202 else
14203   
14204     
14205     ac_ext=C
14206 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14207 ac_cpp='$CXXCPP $CPPFLAGS'
14208 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14209 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14210 cross_compiling=$ac_cv_prog_cxx_cross
14211
14212     cat > conftest.$ac_ext <<EOF
14213 #line 14214 "configure"
14214 #include "confdefs.h"
14215 #include <math.h>
14216 int main() {
14217  _finitef(0);
14218 ; return 0; }
14219 EOF
14220 if { (eval echo configure:14221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14221   rm -rf conftest*
14222   glibcpp_cv_func__finitef_use=yes
14223 else
14224   echo "configure: failed program was:" >&5
14225   cat conftest.$ac_ext >&5
14226   rm -rf conftest*
14227   glibcpp_cv_func__finitef_use=no
14228 fi
14229 rm -f conftest*
14230     ac_ext=c
14231 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14232 ac_cpp='$CPP $CPPFLAGS'
14233 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14234 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14235 cross_compiling=$ac_cv_prog_cc_cross
14236
14237   
14238 fi
14239
14240   echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14241   if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14242     for ac_func in _finitef
14243 do
14244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14245 echo "configure:14246: checking for $ac_func" >&5
14246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14247   echo $ac_n "(cached) $ac_c" 1>&6
14248 else
14249   cat > conftest.$ac_ext <<EOF
14250 #line 14251 "configure"
14251 #include "confdefs.h"
14252 /* System header to define __stub macros and hopefully few prototypes,
14253     which can conflict with char $ac_func(); below.  */
14254 #include <assert.h>
14255 /* Override any gcc2 internal prototype to avoid an error.  */
14256 /* We use char because int might match the return type of a gcc2
14257     builtin and then its argument prototype would still apply.  */
14258 char $ac_func();
14259
14260 int main() {
14261
14262 /* The GNU C library defines this for functions which it implements
14263     to always fail with ENOSYS.  Some functions are actually named
14264     something starting with __ and the normal name is an alias.  */
14265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14266 choke me
14267 #else
14268 $ac_func();
14269 #endif
14270
14271 ; return 0; }
14272 EOF
14273 if { (eval echo configure:14274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14274   rm -rf conftest*
14275   eval "ac_cv_func_$ac_func=yes"
14276 else
14277   echo "configure: failed program was:" >&5
14278   cat conftest.$ac_ext >&5
14279   rm -rf conftest*
14280   eval "ac_cv_func_$ac_func=no"
14281 fi
14282 rm -f conftest*
14283 fi
14284
14285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14286   echo "$ac_t""yes" 1>&6
14287     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14288   cat >> confdefs.h <<EOF
14289 #define $ac_tr_func 1
14290 EOF
14291  
14292 else
14293   echo "$ac_t""no" 1>&6
14294 fi
14295 done
14296     
14297   fi
14298
14299
14300     
14301   echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14302 echo "configure:14303: checking for _isnanl declaration" >&5
14303   if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14304   echo $ac_n "(cached) $ac_c" 1>&6
14305 else
14306   
14307     
14308     ac_ext=C
14309 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14310 ac_cpp='$CXXCPP $CPPFLAGS'
14311 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14312 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14313 cross_compiling=$ac_cv_prog_cxx_cross
14314
14315     cat > conftest.$ac_ext <<EOF
14316 #line 14317 "configure"
14317 #include "confdefs.h"
14318 #include <math.h>
14319 int main() {
14320  _isnanl(0);
14321 ; return 0; }
14322 EOF
14323 if { (eval echo configure:14324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14324   rm -rf conftest*
14325   glibcpp_cv_func__isnanl_use=yes
14326 else
14327   echo "configure: failed program was:" >&5
14328   cat conftest.$ac_ext >&5
14329   rm -rf conftest*
14330   glibcpp_cv_func__isnanl_use=no
14331 fi
14332 rm -f conftest*
14333     ac_ext=c
14334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14335 ac_cpp='$CPP $CPPFLAGS'
14336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14338 cross_compiling=$ac_cv_prog_cc_cross
14339
14340   
14341 fi
14342
14343   echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14344   if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14345     for ac_func in _isnanl
14346 do
14347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14348 echo "configure:14349: checking for $ac_func" >&5
14349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14350   echo $ac_n "(cached) $ac_c" 1>&6
14351 else
14352   cat > conftest.$ac_ext <<EOF
14353 #line 14354 "configure"
14354 #include "confdefs.h"
14355 /* System header to define __stub macros and hopefully few prototypes,
14356     which can conflict with char $ac_func(); below.  */
14357 #include <assert.h>
14358 /* Override any gcc2 internal prototype to avoid an error.  */
14359 /* We use char because int might match the return type of a gcc2
14360     builtin and then its argument prototype would still apply.  */
14361 char $ac_func();
14362
14363 int main() {
14364
14365 /* The GNU C library defines this for functions which it implements
14366     to always fail with ENOSYS.  Some functions are actually named
14367     something starting with __ and the normal name is an alias.  */
14368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14369 choke me
14370 #else
14371 $ac_func();
14372 #endif
14373
14374 ; return 0; }
14375 EOF
14376 if { (eval echo configure:14377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14377   rm -rf conftest*
14378   eval "ac_cv_func_$ac_func=yes"
14379 else
14380   echo "configure: failed program was:" >&5
14381   cat conftest.$ac_ext >&5
14382   rm -rf conftest*
14383   eval "ac_cv_func_$ac_func=no"
14384 fi
14385 rm -f conftest*
14386 fi
14387
14388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14389   echo "$ac_t""yes" 1>&6
14390     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14391   cat >> confdefs.h <<EOF
14392 #define $ac_tr_func 1
14393 EOF
14394  
14395 else
14396   echo "$ac_t""no" 1>&6
14397 fi
14398 done
14399     
14400   fi
14401
14402   
14403   echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14404 echo "configure:14405: checking for _isinfl declaration" >&5
14405   if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14406   echo $ac_n "(cached) $ac_c" 1>&6
14407 else
14408   
14409     
14410     ac_ext=C
14411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14412 ac_cpp='$CXXCPP $CPPFLAGS'
14413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14415 cross_compiling=$ac_cv_prog_cxx_cross
14416
14417     cat > conftest.$ac_ext <<EOF
14418 #line 14419 "configure"
14419 #include "confdefs.h"
14420 #include <math.h>
14421 int main() {
14422  _isinfl(0);
14423 ; return 0; }
14424 EOF
14425 if { (eval echo configure:14426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14426   rm -rf conftest*
14427   glibcpp_cv_func__isinfl_use=yes
14428 else
14429   echo "configure: failed program was:" >&5
14430   cat conftest.$ac_ext >&5
14431   rm -rf conftest*
14432   glibcpp_cv_func__isinfl_use=no
14433 fi
14434 rm -f conftest*
14435     ac_ext=c
14436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14437 ac_cpp='$CPP $CPPFLAGS'
14438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14440 cross_compiling=$ac_cv_prog_cc_cross
14441
14442   
14443 fi
14444
14445   echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14446   if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14447     for ac_func in _isinfl
14448 do
14449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14450 echo "configure:14451: checking for $ac_func" >&5
14451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14452   echo $ac_n "(cached) $ac_c" 1>&6
14453 else
14454   cat > conftest.$ac_ext <<EOF
14455 #line 14456 "configure"
14456 #include "confdefs.h"
14457 /* System header to define __stub macros and hopefully few prototypes,
14458     which can conflict with char $ac_func(); below.  */
14459 #include <assert.h>
14460 /* Override any gcc2 internal prototype to avoid an error.  */
14461 /* We use char because int might match the return type of a gcc2
14462     builtin and then its argument prototype would still apply.  */
14463 char $ac_func();
14464
14465 int main() {
14466
14467 /* The GNU C library defines this for functions which it implements
14468     to always fail with ENOSYS.  Some functions are actually named
14469     something starting with __ and the normal name is an alias.  */
14470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14471 choke me
14472 #else
14473 $ac_func();
14474 #endif
14475
14476 ; return 0; }
14477 EOF
14478 if { (eval echo configure:14479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14479   rm -rf conftest*
14480   eval "ac_cv_func_$ac_func=yes"
14481 else
14482   echo "configure: failed program was:" >&5
14483   cat conftest.$ac_ext >&5
14484   rm -rf conftest*
14485   eval "ac_cv_func_$ac_func=no"
14486 fi
14487 rm -f conftest*
14488 fi
14489
14490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14491   echo "$ac_t""yes" 1>&6
14492     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14493   cat >> confdefs.h <<EOF
14494 #define $ac_tr_func 1
14495 EOF
14496  
14497 else
14498   echo "$ac_t""no" 1>&6
14499 fi
14500 done
14501     
14502   fi
14503
14504   
14505   echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14506 echo "configure:14507: checking for _copysignl declaration" >&5
14507   if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14508   echo $ac_n "(cached) $ac_c" 1>&6
14509 else
14510   
14511     
14512     ac_ext=C
14513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14514 ac_cpp='$CXXCPP $CPPFLAGS'
14515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14517 cross_compiling=$ac_cv_prog_cxx_cross
14518
14519     cat > conftest.$ac_ext <<EOF
14520 #line 14521 "configure"
14521 #include "confdefs.h"
14522 #include <math.h>
14523 int main() {
14524  _copysignl(0, 0);
14525 ; return 0; }
14526 EOF
14527 if { (eval echo configure:14528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14528   rm -rf conftest*
14529   glibcpp_cv_func__copysignl_use=yes
14530 else
14531   echo "configure: failed program was:" >&5
14532   cat conftest.$ac_ext >&5
14533   rm -rf conftest*
14534   glibcpp_cv_func__copysignl_use=no
14535 fi
14536 rm -f conftest*
14537     ac_ext=c
14538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14539 ac_cpp='$CPP $CPPFLAGS'
14540 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14541 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14542 cross_compiling=$ac_cv_prog_cc_cross
14543
14544   
14545 fi
14546
14547   echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14548   if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14549     for ac_func in _copysignl
14550 do
14551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14552 echo "configure:14553: checking for $ac_func" >&5
14553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14554   echo $ac_n "(cached) $ac_c" 1>&6
14555 else
14556   cat > conftest.$ac_ext <<EOF
14557 #line 14558 "configure"
14558 #include "confdefs.h"
14559 /* System header to define __stub macros and hopefully few prototypes,
14560     which can conflict with char $ac_func(); below.  */
14561 #include <assert.h>
14562 /* Override any gcc2 internal prototype to avoid an error.  */
14563 /* We use char because int might match the return type of a gcc2
14564     builtin and then its argument prototype would still apply.  */
14565 char $ac_func();
14566
14567 int main() {
14568
14569 /* The GNU C library defines this for functions which it implements
14570     to always fail with ENOSYS.  Some functions are actually named
14571     something starting with __ and the normal name is an alias.  */
14572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14573 choke me
14574 #else
14575 $ac_func();
14576 #endif
14577
14578 ; return 0; }
14579 EOF
14580 if { (eval echo configure:14581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14581   rm -rf conftest*
14582   eval "ac_cv_func_$ac_func=yes"
14583 else
14584   echo "configure: failed program was:" >&5
14585   cat conftest.$ac_ext >&5
14586   rm -rf conftest*
14587   eval "ac_cv_func_$ac_func=no"
14588 fi
14589 rm -f conftest*
14590 fi
14591
14592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14593   echo "$ac_t""yes" 1>&6
14594     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14595   cat >> confdefs.h <<EOF
14596 #define $ac_tr_func 1
14597 EOF
14598  
14599 else
14600   echo "$ac_t""no" 1>&6
14601 fi
14602 done
14603     
14604   fi
14605
14606   
14607   echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14608 echo "configure:14609: checking for _acosl declaration" >&5
14609   if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14610   echo $ac_n "(cached) $ac_c" 1>&6
14611 else
14612   
14613     
14614     ac_ext=C
14615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14616 ac_cpp='$CXXCPP $CPPFLAGS'
14617 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14618 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14619 cross_compiling=$ac_cv_prog_cxx_cross
14620
14621     cat > conftest.$ac_ext <<EOF
14622 #line 14623 "configure"
14623 #include "confdefs.h"
14624 #include <math.h>
14625 int main() {
14626  _acosl(0);
14627 ; return 0; }
14628 EOF
14629 if { (eval echo configure:14630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14630   rm -rf conftest*
14631   glibcpp_cv_func__acosl_use=yes
14632 else
14633   echo "configure: failed program was:" >&5
14634   cat conftest.$ac_ext >&5
14635   rm -rf conftest*
14636   glibcpp_cv_func__acosl_use=no
14637 fi
14638 rm -f conftest*
14639     ac_ext=c
14640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14641 ac_cpp='$CPP $CPPFLAGS'
14642 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14643 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14644 cross_compiling=$ac_cv_prog_cc_cross
14645
14646   
14647 fi
14648
14649   echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14650   if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14651     for ac_func in _acosl
14652 do
14653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14654 echo "configure:14655: checking for $ac_func" >&5
14655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14656   echo $ac_n "(cached) $ac_c" 1>&6
14657 else
14658   cat > conftest.$ac_ext <<EOF
14659 #line 14660 "configure"
14660 #include "confdefs.h"
14661 /* System header to define __stub macros and hopefully few prototypes,
14662     which can conflict with char $ac_func(); below.  */
14663 #include <assert.h>
14664 /* Override any gcc2 internal prototype to avoid an error.  */
14665 /* We use char because int might match the return type of a gcc2
14666     builtin and then its argument prototype would still apply.  */
14667 char $ac_func();
14668
14669 int main() {
14670
14671 /* The GNU C library defines this for functions which it implements
14672     to always fail with ENOSYS.  Some functions are actually named
14673     something starting with __ and the normal name is an alias.  */
14674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14675 choke me
14676 #else
14677 $ac_func();
14678 #endif
14679
14680 ; return 0; }
14681 EOF
14682 if { (eval echo configure:14683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14683   rm -rf conftest*
14684   eval "ac_cv_func_$ac_func=yes"
14685 else
14686   echo "configure: failed program was:" >&5
14687   cat conftest.$ac_ext >&5
14688   rm -rf conftest*
14689   eval "ac_cv_func_$ac_func=no"
14690 fi
14691 rm -f conftest*
14692 fi
14693
14694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14695   echo "$ac_t""yes" 1>&6
14696     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14697   cat >> confdefs.h <<EOF
14698 #define $ac_tr_func 1
14699 EOF
14700  
14701 else
14702   echo "$ac_t""no" 1>&6
14703 fi
14704 done
14705     
14706   fi
14707
14708   
14709   echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14710 echo "configure:14711: checking for _asinl declaration" >&5
14711   if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14712   echo $ac_n "(cached) $ac_c" 1>&6
14713 else
14714   
14715     
14716     ac_ext=C
14717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14718 ac_cpp='$CXXCPP $CPPFLAGS'
14719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14721 cross_compiling=$ac_cv_prog_cxx_cross
14722
14723     cat > conftest.$ac_ext <<EOF
14724 #line 14725 "configure"
14725 #include "confdefs.h"
14726 #include <math.h>
14727 int main() {
14728  _asinl(0);
14729 ; return 0; }
14730 EOF
14731 if { (eval echo configure:14732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14732   rm -rf conftest*
14733   glibcpp_cv_func__asinl_use=yes
14734 else
14735   echo "configure: failed program was:" >&5
14736   cat conftest.$ac_ext >&5
14737   rm -rf conftest*
14738   glibcpp_cv_func__asinl_use=no
14739 fi
14740 rm -f conftest*
14741     ac_ext=c
14742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14743 ac_cpp='$CPP $CPPFLAGS'
14744 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14745 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14746 cross_compiling=$ac_cv_prog_cc_cross
14747
14748   
14749 fi
14750
14751   echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14752   if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14753     for ac_func in _asinl
14754 do
14755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14756 echo "configure:14757: checking for $ac_func" >&5
14757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14758   echo $ac_n "(cached) $ac_c" 1>&6
14759 else
14760   cat > conftest.$ac_ext <<EOF
14761 #line 14762 "configure"
14762 #include "confdefs.h"
14763 /* System header to define __stub macros and hopefully few prototypes,
14764     which can conflict with char $ac_func(); below.  */
14765 #include <assert.h>
14766 /* Override any gcc2 internal prototype to avoid an error.  */
14767 /* We use char because int might match the return type of a gcc2
14768     builtin and then its argument prototype would still apply.  */
14769 char $ac_func();
14770
14771 int main() {
14772
14773 /* The GNU C library defines this for functions which it implements
14774     to always fail with ENOSYS.  Some functions are actually named
14775     something starting with __ and the normal name is an alias.  */
14776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14777 choke me
14778 #else
14779 $ac_func();
14780 #endif
14781
14782 ; return 0; }
14783 EOF
14784 if { (eval echo configure:14785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14785   rm -rf conftest*
14786   eval "ac_cv_func_$ac_func=yes"
14787 else
14788   echo "configure: failed program was:" >&5
14789   cat conftest.$ac_ext >&5
14790   rm -rf conftest*
14791   eval "ac_cv_func_$ac_func=no"
14792 fi
14793 rm -f conftest*
14794 fi
14795
14796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14797   echo "$ac_t""yes" 1>&6
14798     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14799   cat >> confdefs.h <<EOF
14800 #define $ac_tr_func 1
14801 EOF
14802  
14803 else
14804   echo "$ac_t""no" 1>&6
14805 fi
14806 done
14807     
14808   fi
14809
14810   
14811   echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
14812 echo "configure:14813: checking for _atanl declaration" >&5
14813   if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
14814   echo $ac_n "(cached) $ac_c" 1>&6
14815 else
14816   
14817     
14818     ac_ext=C
14819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14820 ac_cpp='$CXXCPP $CPPFLAGS'
14821 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14822 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14823 cross_compiling=$ac_cv_prog_cxx_cross
14824
14825     cat > conftest.$ac_ext <<EOF
14826 #line 14827 "configure"
14827 #include "confdefs.h"
14828 #include <math.h>
14829 int main() {
14830  _atanl(0);
14831 ; return 0; }
14832 EOF
14833 if { (eval echo configure:14834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14834   rm -rf conftest*
14835   glibcpp_cv_func__atanl_use=yes
14836 else
14837   echo "configure: failed program was:" >&5
14838   cat conftest.$ac_ext >&5
14839   rm -rf conftest*
14840   glibcpp_cv_func__atanl_use=no
14841 fi
14842 rm -f conftest*
14843     ac_ext=c
14844 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14845 ac_cpp='$CPP $CPPFLAGS'
14846 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14847 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14848 cross_compiling=$ac_cv_prog_cc_cross
14849
14850   
14851 fi
14852
14853   echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
14854   if test x$glibcpp_cv_func__atanl_use = x"yes"; then
14855     for ac_func in _atanl
14856 do
14857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14858 echo "configure:14859: checking for $ac_func" >&5
14859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14860   echo $ac_n "(cached) $ac_c" 1>&6
14861 else
14862   cat > conftest.$ac_ext <<EOF
14863 #line 14864 "configure"
14864 #include "confdefs.h"
14865 /* System header to define __stub macros and hopefully few prototypes,
14866     which can conflict with char $ac_func(); below.  */
14867 #include <assert.h>
14868 /* Override any gcc2 internal prototype to avoid an error.  */
14869 /* We use char because int might match the return type of a gcc2
14870     builtin and then its argument prototype would still apply.  */
14871 char $ac_func();
14872
14873 int main() {
14874
14875 /* The GNU C library defines this for functions which it implements
14876     to always fail with ENOSYS.  Some functions are actually named
14877     something starting with __ and the normal name is an alias.  */
14878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14879 choke me
14880 #else
14881 $ac_func();
14882 #endif
14883
14884 ; return 0; }
14885 EOF
14886 if { (eval echo configure:14887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14887   rm -rf conftest*
14888   eval "ac_cv_func_$ac_func=yes"
14889 else
14890   echo "configure: failed program was:" >&5
14891   cat conftest.$ac_ext >&5
14892   rm -rf conftest*
14893   eval "ac_cv_func_$ac_func=no"
14894 fi
14895 rm -f conftest*
14896 fi
14897
14898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14899   echo "$ac_t""yes" 1>&6
14900     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14901   cat >> confdefs.h <<EOF
14902 #define $ac_tr_func 1
14903 EOF
14904  
14905 else
14906   echo "$ac_t""no" 1>&6
14907 fi
14908 done
14909     
14910   fi
14911
14912   
14913   echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14914 echo "configure:14915: checking for _atan2l declaration" >&5
14915   if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14916   echo $ac_n "(cached) $ac_c" 1>&6
14917 else
14918   
14919     
14920     ac_ext=C
14921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14922 ac_cpp='$CXXCPP $CPPFLAGS'
14923 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14924 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14925 cross_compiling=$ac_cv_prog_cxx_cross
14926
14927     cat > conftest.$ac_ext <<EOF
14928 #line 14929 "configure"
14929 #include "confdefs.h"
14930 #include <math.h>
14931 int main() {
14932  _atan2l(0, 0);
14933 ; return 0; }
14934 EOF
14935 if { (eval echo configure:14936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14936   rm -rf conftest*
14937   glibcpp_cv_func__atan2l_use=yes
14938 else
14939   echo "configure: failed program was:" >&5
14940   cat conftest.$ac_ext >&5
14941   rm -rf conftest*
14942   glibcpp_cv_func__atan2l_use=no
14943 fi
14944 rm -f conftest*
14945     ac_ext=c
14946 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14947 ac_cpp='$CPP $CPPFLAGS'
14948 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14949 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14950 cross_compiling=$ac_cv_prog_cc_cross
14951
14952   
14953 fi
14954
14955   echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14956   if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14957     for ac_func in _atan2l
14958 do
14959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14960 echo "configure:14961: checking for $ac_func" >&5
14961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14962   echo $ac_n "(cached) $ac_c" 1>&6
14963 else
14964   cat > conftest.$ac_ext <<EOF
14965 #line 14966 "configure"
14966 #include "confdefs.h"
14967 /* System header to define __stub macros and hopefully few prototypes,
14968     which can conflict with char $ac_func(); below.  */
14969 #include <assert.h>
14970 /* Override any gcc2 internal prototype to avoid an error.  */
14971 /* We use char because int might match the return type of a gcc2
14972     builtin and then its argument prototype would still apply.  */
14973 char $ac_func();
14974
14975 int main() {
14976
14977 /* The GNU C library defines this for functions which it implements
14978     to always fail with ENOSYS.  Some functions are actually named
14979     something starting with __ and the normal name is an alias.  */
14980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14981 choke me
14982 #else
14983 $ac_func();
14984 #endif
14985
14986 ; return 0; }
14987 EOF
14988 if { (eval echo configure:14989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14989   rm -rf conftest*
14990   eval "ac_cv_func_$ac_func=yes"
14991 else
14992   echo "configure: failed program was:" >&5
14993   cat conftest.$ac_ext >&5
14994   rm -rf conftest*
14995   eval "ac_cv_func_$ac_func=no"
14996 fi
14997 rm -f conftest*
14998 fi
14999
15000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15001   echo "$ac_t""yes" 1>&6
15002     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15003   cat >> confdefs.h <<EOF
15004 #define $ac_tr_func 1
15005 EOF
15006  
15007 else
15008   echo "$ac_t""no" 1>&6
15009 fi
15010 done
15011     
15012   fi
15013
15014   
15015   echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
15016 echo "configure:15017: checking for _ceill declaration" >&5
15017   if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
15018   echo $ac_n "(cached) $ac_c" 1>&6
15019 else
15020   
15021     
15022     ac_ext=C
15023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15024 ac_cpp='$CXXCPP $CPPFLAGS'
15025 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15026 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15027 cross_compiling=$ac_cv_prog_cxx_cross
15028
15029     cat > conftest.$ac_ext <<EOF
15030 #line 15031 "configure"
15031 #include "confdefs.h"
15032 #include <math.h>
15033 int main() {
15034  _ceill(0);
15035 ; return 0; }
15036 EOF
15037 if { (eval echo configure:15038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15038   rm -rf conftest*
15039   glibcpp_cv_func__ceill_use=yes
15040 else
15041   echo "configure: failed program was:" >&5
15042   cat conftest.$ac_ext >&5
15043   rm -rf conftest*
15044   glibcpp_cv_func__ceill_use=no
15045 fi
15046 rm -f conftest*
15047     ac_ext=c
15048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15049 ac_cpp='$CPP $CPPFLAGS'
15050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15052 cross_compiling=$ac_cv_prog_cc_cross
15053
15054   
15055 fi
15056
15057   echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
15058   if test x$glibcpp_cv_func__ceill_use = x"yes"; then
15059     for ac_func in _ceill
15060 do
15061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15062 echo "configure:15063: checking for $ac_func" >&5
15063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15064   echo $ac_n "(cached) $ac_c" 1>&6
15065 else
15066   cat > conftest.$ac_ext <<EOF
15067 #line 15068 "configure"
15068 #include "confdefs.h"
15069 /* System header to define __stub macros and hopefully few prototypes,
15070     which can conflict with char $ac_func(); below.  */
15071 #include <assert.h>
15072 /* Override any gcc2 internal prototype to avoid an error.  */
15073 /* We use char because int might match the return type of a gcc2
15074     builtin and then its argument prototype would still apply.  */
15075 char $ac_func();
15076
15077 int main() {
15078
15079 /* The GNU C library defines this for functions which it implements
15080     to always fail with ENOSYS.  Some functions are actually named
15081     something starting with __ and the normal name is an alias.  */
15082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15083 choke me
15084 #else
15085 $ac_func();
15086 #endif
15087
15088 ; return 0; }
15089 EOF
15090 if { (eval echo configure:15091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15091   rm -rf conftest*
15092   eval "ac_cv_func_$ac_func=yes"
15093 else
15094   echo "configure: failed program was:" >&5
15095   cat conftest.$ac_ext >&5
15096   rm -rf conftest*
15097   eval "ac_cv_func_$ac_func=no"
15098 fi
15099 rm -f conftest*
15100 fi
15101
15102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15103   echo "$ac_t""yes" 1>&6
15104     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15105   cat >> confdefs.h <<EOF
15106 #define $ac_tr_func 1
15107 EOF
15108  
15109 else
15110   echo "$ac_t""no" 1>&6
15111 fi
15112 done
15113     
15114   fi
15115
15116   
15117   echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15118 echo "configure:15119: checking for _cosl declaration" >&5
15119   if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15120   echo $ac_n "(cached) $ac_c" 1>&6
15121 else
15122   
15123     
15124     ac_ext=C
15125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15126 ac_cpp='$CXXCPP $CPPFLAGS'
15127 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15128 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15129 cross_compiling=$ac_cv_prog_cxx_cross
15130
15131     cat > conftest.$ac_ext <<EOF
15132 #line 15133 "configure"
15133 #include "confdefs.h"
15134 #include <math.h>
15135 int main() {
15136  _cosl(0);
15137 ; return 0; }
15138 EOF
15139 if { (eval echo configure:15140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15140   rm -rf conftest*
15141   glibcpp_cv_func__cosl_use=yes
15142 else
15143   echo "configure: failed program was:" >&5
15144   cat conftest.$ac_ext >&5
15145   rm -rf conftest*
15146   glibcpp_cv_func__cosl_use=no
15147 fi
15148 rm -f conftest*
15149     ac_ext=c
15150 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15151 ac_cpp='$CPP $CPPFLAGS'
15152 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15153 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15154 cross_compiling=$ac_cv_prog_cc_cross
15155
15156   
15157 fi
15158
15159   echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15160   if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15161     for ac_func in _cosl
15162 do
15163 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15164 echo "configure:15165: checking for $ac_func" >&5
15165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15166   echo $ac_n "(cached) $ac_c" 1>&6
15167 else
15168   cat > conftest.$ac_ext <<EOF
15169 #line 15170 "configure"
15170 #include "confdefs.h"
15171 /* System header to define __stub macros and hopefully few prototypes,
15172     which can conflict with char $ac_func(); below.  */
15173 #include <assert.h>
15174 /* Override any gcc2 internal prototype to avoid an error.  */
15175 /* We use char because int might match the return type of a gcc2
15176     builtin and then its argument prototype would still apply.  */
15177 char $ac_func();
15178
15179 int main() {
15180
15181 /* The GNU C library defines this for functions which it implements
15182     to always fail with ENOSYS.  Some functions are actually named
15183     something starting with __ and the normal name is an alias.  */
15184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15185 choke me
15186 #else
15187 $ac_func();
15188 #endif
15189
15190 ; return 0; }
15191 EOF
15192 if { (eval echo configure:15193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15193   rm -rf conftest*
15194   eval "ac_cv_func_$ac_func=yes"
15195 else
15196   echo "configure: failed program was:" >&5
15197   cat conftest.$ac_ext >&5
15198   rm -rf conftest*
15199   eval "ac_cv_func_$ac_func=no"
15200 fi
15201 rm -f conftest*
15202 fi
15203
15204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15205   echo "$ac_t""yes" 1>&6
15206     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15207   cat >> confdefs.h <<EOF
15208 #define $ac_tr_func 1
15209 EOF
15210  
15211 else
15212   echo "$ac_t""no" 1>&6
15213 fi
15214 done
15215     
15216   fi
15217
15218   
15219   echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15220 echo "configure:15221: checking for _coshl declaration" >&5
15221   if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15222   echo $ac_n "(cached) $ac_c" 1>&6
15223 else
15224   
15225     
15226     ac_ext=C
15227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15228 ac_cpp='$CXXCPP $CPPFLAGS'
15229 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15230 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15231 cross_compiling=$ac_cv_prog_cxx_cross
15232
15233     cat > conftest.$ac_ext <<EOF
15234 #line 15235 "configure"
15235 #include "confdefs.h"
15236 #include <math.h>
15237 int main() {
15238  _coshl(0);
15239 ; return 0; }
15240 EOF
15241 if { (eval echo configure:15242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15242   rm -rf conftest*
15243   glibcpp_cv_func__coshl_use=yes
15244 else
15245   echo "configure: failed program was:" >&5
15246   cat conftest.$ac_ext >&5
15247   rm -rf conftest*
15248   glibcpp_cv_func__coshl_use=no
15249 fi
15250 rm -f conftest*
15251     ac_ext=c
15252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15253 ac_cpp='$CPP $CPPFLAGS'
15254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15256 cross_compiling=$ac_cv_prog_cc_cross
15257
15258   
15259 fi
15260
15261   echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15262   if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15263     for ac_func in _coshl
15264 do
15265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15266 echo "configure:15267: checking for $ac_func" >&5
15267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15268   echo $ac_n "(cached) $ac_c" 1>&6
15269 else
15270   cat > conftest.$ac_ext <<EOF
15271 #line 15272 "configure"
15272 #include "confdefs.h"
15273 /* System header to define __stub macros and hopefully few prototypes,
15274     which can conflict with char $ac_func(); below.  */
15275 #include <assert.h>
15276 /* Override any gcc2 internal prototype to avoid an error.  */
15277 /* We use char because int might match the return type of a gcc2
15278     builtin and then its argument prototype would still apply.  */
15279 char $ac_func();
15280
15281 int main() {
15282
15283 /* The GNU C library defines this for functions which it implements
15284     to always fail with ENOSYS.  Some functions are actually named
15285     something starting with __ and the normal name is an alias.  */
15286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15287 choke me
15288 #else
15289 $ac_func();
15290 #endif
15291
15292 ; return 0; }
15293 EOF
15294 if { (eval echo configure:15295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15295   rm -rf conftest*
15296   eval "ac_cv_func_$ac_func=yes"
15297 else
15298   echo "configure: failed program was:" >&5
15299   cat conftest.$ac_ext >&5
15300   rm -rf conftest*
15301   eval "ac_cv_func_$ac_func=no"
15302 fi
15303 rm -f conftest*
15304 fi
15305
15306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15307   echo "$ac_t""yes" 1>&6
15308     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15309   cat >> confdefs.h <<EOF
15310 #define $ac_tr_func 1
15311 EOF
15312  
15313 else
15314   echo "$ac_t""no" 1>&6
15315 fi
15316 done
15317     
15318   fi
15319
15320   
15321   echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15322 echo "configure:15323: checking for _expl declaration" >&5
15323   if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15324   echo $ac_n "(cached) $ac_c" 1>&6
15325 else
15326   
15327     
15328     ac_ext=C
15329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15330 ac_cpp='$CXXCPP $CPPFLAGS'
15331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15333 cross_compiling=$ac_cv_prog_cxx_cross
15334
15335     cat > conftest.$ac_ext <<EOF
15336 #line 15337 "configure"
15337 #include "confdefs.h"
15338 #include <math.h>
15339 int main() {
15340  _expl(0);
15341 ; return 0; }
15342 EOF
15343 if { (eval echo configure:15344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15344   rm -rf conftest*
15345   glibcpp_cv_func__expl_use=yes
15346 else
15347   echo "configure: failed program was:" >&5
15348   cat conftest.$ac_ext >&5
15349   rm -rf conftest*
15350   glibcpp_cv_func__expl_use=no
15351 fi
15352 rm -f conftest*
15353     ac_ext=c
15354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15355 ac_cpp='$CPP $CPPFLAGS'
15356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15358 cross_compiling=$ac_cv_prog_cc_cross
15359
15360   
15361 fi
15362
15363   echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15364   if test x$glibcpp_cv_func__expl_use = x"yes"; then
15365     for ac_func in _expl
15366 do
15367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15368 echo "configure:15369: checking for $ac_func" >&5
15369 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15370   echo $ac_n "(cached) $ac_c" 1>&6
15371 else
15372   cat > conftest.$ac_ext <<EOF
15373 #line 15374 "configure"
15374 #include "confdefs.h"
15375 /* System header to define __stub macros and hopefully few prototypes,
15376     which can conflict with char $ac_func(); below.  */
15377 #include <assert.h>
15378 /* Override any gcc2 internal prototype to avoid an error.  */
15379 /* We use char because int might match the return type of a gcc2
15380     builtin and then its argument prototype would still apply.  */
15381 char $ac_func();
15382
15383 int main() {
15384
15385 /* The GNU C library defines this for functions which it implements
15386     to always fail with ENOSYS.  Some functions are actually named
15387     something starting with __ and the normal name is an alias.  */
15388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15389 choke me
15390 #else
15391 $ac_func();
15392 #endif
15393
15394 ; return 0; }
15395 EOF
15396 if { (eval echo configure:15397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15397   rm -rf conftest*
15398   eval "ac_cv_func_$ac_func=yes"
15399 else
15400   echo "configure: failed program was:" >&5
15401   cat conftest.$ac_ext >&5
15402   rm -rf conftest*
15403   eval "ac_cv_func_$ac_func=no"
15404 fi
15405 rm -f conftest*
15406 fi
15407
15408 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15409   echo "$ac_t""yes" 1>&6
15410     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15411   cat >> confdefs.h <<EOF
15412 #define $ac_tr_func 1
15413 EOF
15414  
15415 else
15416   echo "$ac_t""no" 1>&6
15417 fi
15418 done
15419     
15420   fi
15421
15422   
15423   echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15424 echo "configure:15425: checking for _fabsl declaration" >&5
15425   if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15426   echo $ac_n "(cached) $ac_c" 1>&6
15427 else
15428   
15429     
15430     ac_ext=C
15431 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15432 ac_cpp='$CXXCPP $CPPFLAGS'
15433 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15434 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15435 cross_compiling=$ac_cv_prog_cxx_cross
15436
15437     cat > conftest.$ac_ext <<EOF
15438 #line 15439 "configure"
15439 #include "confdefs.h"
15440 #include <math.h>
15441 int main() {
15442  _fabsl(0);
15443 ; return 0; }
15444 EOF
15445 if { (eval echo configure:15446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15446   rm -rf conftest*
15447   glibcpp_cv_func__fabsl_use=yes
15448 else
15449   echo "configure: failed program was:" >&5
15450   cat conftest.$ac_ext >&5
15451   rm -rf conftest*
15452   glibcpp_cv_func__fabsl_use=no
15453 fi
15454 rm -f conftest*
15455     ac_ext=c
15456 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15457 ac_cpp='$CPP $CPPFLAGS'
15458 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15459 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15460 cross_compiling=$ac_cv_prog_cc_cross
15461
15462   
15463 fi
15464
15465   echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15466   if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15467     for ac_func in _fabsl
15468 do
15469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15470 echo "configure:15471: checking for $ac_func" >&5
15471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15472   echo $ac_n "(cached) $ac_c" 1>&6
15473 else
15474   cat > conftest.$ac_ext <<EOF
15475 #line 15476 "configure"
15476 #include "confdefs.h"
15477 /* System header to define __stub macros and hopefully few prototypes,
15478     which can conflict with char $ac_func(); below.  */
15479 #include <assert.h>
15480 /* Override any gcc2 internal prototype to avoid an error.  */
15481 /* We use char because int might match the return type of a gcc2
15482     builtin and then its argument prototype would still apply.  */
15483 char $ac_func();
15484
15485 int main() {
15486
15487 /* The GNU C library defines this for functions which it implements
15488     to always fail with ENOSYS.  Some functions are actually named
15489     something starting with __ and the normal name is an alias.  */
15490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15491 choke me
15492 #else
15493 $ac_func();
15494 #endif
15495
15496 ; return 0; }
15497 EOF
15498 if { (eval echo configure:15499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15499   rm -rf conftest*
15500   eval "ac_cv_func_$ac_func=yes"
15501 else
15502   echo "configure: failed program was:" >&5
15503   cat conftest.$ac_ext >&5
15504   rm -rf conftest*
15505   eval "ac_cv_func_$ac_func=no"
15506 fi
15507 rm -f conftest*
15508 fi
15509
15510 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15511   echo "$ac_t""yes" 1>&6
15512     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15513   cat >> confdefs.h <<EOF
15514 #define $ac_tr_func 1
15515 EOF
15516  
15517 else
15518   echo "$ac_t""no" 1>&6
15519 fi
15520 done
15521     
15522   fi
15523
15524   
15525   echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15526 echo "configure:15527: checking for _floorl declaration" >&5
15527   if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15528   echo $ac_n "(cached) $ac_c" 1>&6
15529 else
15530   
15531     
15532     ac_ext=C
15533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15534 ac_cpp='$CXXCPP $CPPFLAGS'
15535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15537 cross_compiling=$ac_cv_prog_cxx_cross
15538
15539     cat > conftest.$ac_ext <<EOF
15540 #line 15541 "configure"
15541 #include "confdefs.h"
15542 #include <math.h>
15543 int main() {
15544  _floorl(0);
15545 ; return 0; }
15546 EOF
15547 if { (eval echo configure:15548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15548   rm -rf conftest*
15549   glibcpp_cv_func__floorl_use=yes
15550 else
15551   echo "configure: failed program was:" >&5
15552   cat conftest.$ac_ext >&5
15553   rm -rf conftest*
15554   glibcpp_cv_func__floorl_use=no
15555 fi
15556 rm -f conftest*
15557     ac_ext=c
15558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15559 ac_cpp='$CPP $CPPFLAGS'
15560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15562 cross_compiling=$ac_cv_prog_cc_cross
15563
15564   
15565 fi
15566
15567   echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15568   if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15569     for ac_func in _floorl
15570 do
15571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15572 echo "configure:15573: checking for $ac_func" >&5
15573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15574   echo $ac_n "(cached) $ac_c" 1>&6
15575 else
15576   cat > conftest.$ac_ext <<EOF
15577 #line 15578 "configure"
15578 #include "confdefs.h"
15579 /* System header to define __stub macros and hopefully few prototypes,
15580     which can conflict with char $ac_func(); below.  */
15581 #include <assert.h>
15582 /* Override any gcc2 internal prototype to avoid an error.  */
15583 /* We use char because int might match the return type of a gcc2
15584     builtin and then its argument prototype would still apply.  */
15585 char $ac_func();
15586
15587 int main() {
15588
15589 /* The GNU C library defines this for functions which it implements
15590     to always fail with ENOSYS.  Some functions are actually named
15591     something starting with __ and the normal name is an alias.  */
15592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15593 choke me
15594 #else
15595 $ac_func();
15596 #endif
15597
15598 ; return 0; }
15599 EOF
15600 if { (eval echo configure:15601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15601   rm -rf conftest*
15602   eval "ac_cv_func_$ac_func=yes"
15603 else
15604   echo "configure: failed program was:" >&5
15605   cat conftest.$ac_ext >&5
15606   rm -rf conftest*
15607   eval "ac_cv_func_$ac_func=no"
15608 fi
15609 rm -f conftest*
15610 fi
15611
15612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15613   echo "$ac_t""yes" 1>&6
15614     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15615   cat >> confdefs.h <<EOF
15616 #define $ac_tr_func 1
15617 EOF
15618  
15619 else
15620   echo "$ac_t""no" 1>&6
15621 fi
15622 done
15623     
15624   fi
15625
15626   
15627   echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15628 echo "configure:15629: checking for _fmodl declaration" >&5
15629   if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15630   echo $ac_n "(cached) $ac_c" 1>&6
15631 else
15632   
15633     
15634     ac_ext=C
15635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15636 ac_cpp='$CXXCPP $CPPFLAGS'
15637 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15638 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15639 cross_compiling=$ac_cv_prog_cxx_cross
15640
15641     cat > conftest.$ac_ext <<EOF
15642 #line 15643 "configure"
15643 #include "confdefs.h"
15644 #include <math.h>
15645 int main() {
15646  _fmodl(0, 0);
15647 ; return 0; }
15648 EOF
15649 if { (eval echo configure:15650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15650   rm -rf conftest*
15651   glibcpp_cv_func__fmodl_use=yes
15652 else
15653   echo "configure: failed program was:" >&5
15654   cat conftest.$ac_ext >&5
15655   rm -rf conftest*
15656   glibcpp_cv_func__fmodl_use=no
15657 fi
15658 rm -f conftest*
15659     ac_ext=c
15660 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15661 ac_cpp='$CPP $CPPFLAGS'
15662 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15663 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15664 cross_compiling=$ac_cv_prog_cc_cross
15665
15666   
15667 fi
15668
15669   echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15670   if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15671     for ac_func in _fmodl
15672 do
15673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15674 echo "configure:15675: checking for $ac_func" >&5
15675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15676   echo $ac_n "(cached) $ac_c" 1>&6
15677 else
15678   cat > conftest.$ac_ext <<EOF
15679 #line 15680 "configure"
15680 #include "confdefs.h"
15681 /* System header to define __stub macros and hopefully few prototypes,
15682     which can conflict with char $ac_func(); below.  */
15683 #include <assert.h>
15684 /* Override any gcc2 internal prototype to avoid an error.  */
15685 /* We use char because int might match the return type of a gcc2
15686     builtin and then its argument prototype would still apply.  */
15687 char $ac_func();
15688
15689 int main() {
15690
15691 /* The GNU C library defines this for functions which it implements
15692     to always fail with ENOSYS.  Some functions are actually named
15693     something starting with __ and the normal name is an alias.  */
15694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15695 choke me
15696 #else
15697 $ac_func();
15698 #endif
15699
15700 ; return 0; }
15701 EOF
15702 if { (eval echo configure:15703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15703   rm -rf conftest*
15704   eval "ac_cv_func_$ac_func=yes"
15705 else
15706   echo "configure: failed program was:" >&5
15707   cat conftest.$ac_ext >&5
15708   rm -rf conftest*
15709   eval "ac_cv_func_$ac_func=no"
15710 fi
15711 rm -f conftest*
15712 fi
15713
15714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15715   echo "$ac_t""yes" 1>&6
15716     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15717   cat >> confdefs.h <<EOF
15718 #define $ac_tr_func 1
15719 EOF
15720  
15721 else
15722   echo "$ac_t""no" 1>&6
15723 fi
15724 done
15725     
15726   fi
15727
15728   
15729   echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15730 echo "configure:15731: checking for _frexpl declaration" >&5
15731   if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15732   echo $ac_n "(cached) $ac_c" 1>&6
15733 else
15734   
15735     
15736     ac_ext=C
15737 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15738 ac_cpp='$CXXCPP $CPPFLAGS'
15739 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15740 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15741 cross_compiling=$ac_cv_prog_cxx_cross
15742
15743     cat > conftest.$ac_ext <<EOF
15744 #line 15745 "configure"
15745 #include "confdefs.h"
15746 #include <math.h>
15747 int main() {
15748  _frexpl(0, 0);
15749 ; return 0; }
15750 EOF
15751 if { (eval echo configure:15752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15752   rm -rf conftest*
15753   glibcpp_cv_func__frexpl_use=yes
15754 else
15755   echo "configure: failed program was:" >&5
15756   cat conftest.$ac_ext >&5
15757   rm -rf conftest*
15758   glibcpp_cv_func__frexpl_use=no
15759 fi
15760 rm -f conftest*
15761     ac_ext=c
15762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15763 ac_cpp='$CPP $CPPFLAGS'
15764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15766 cross_compiling=$ac_cv_prog_cc_cross
15767
15768   
15769 fi
15770
15771   echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15772   if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15773     for ac_func in _frexpl
15774 do
15775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15776 echo "configure:15777: checking for $ac_func" >&5
15777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15778   echo $ac_n "(cached) $ac_c" 1>&6
15779 else
15780   cat > conftest.$ac_ext <<EOF
15781 #line 15782 "configure"
15782 #include "confdefs.h"
15783 /* System header to define __stub macros and hopefully few prototypes,
15784     which can conflict with char $ac_func(); below.  */
15785 #include <assert.h>
15786 /* Override any gcc2 internal prototype to avoid an error.  */
15787 /* We use char because int might match the return type of a gcc2
15788     builtin and then its argument prototype would still apply.  */
15789 char $ac_func();
15790
15791 int main() {
15792
15793 /* The GNU C library defines this for functions which it implements
15794     to always fail with ENOSYS.  Some functions are actually named
15795     something starting with __ and the normal name is an alias.  */
15796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15797 choke me
15798 #else
15799 $ac_func();
15800 #endif
15801
15802 ; return 0; }
15803 EOF
15804 if { (eval echo configure:15805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15805   rm -rf conftest*
15806   eval "ac_cv_func_$ac_func=yes"
15807 else
15808   echo "configure: failed program was:" >&5
15809   cat conftest.$ac_ext >&5
15810   rm -rf conftest*
15811   eval "ac_cv_func_$ac_func=no"
15812 fi
15813 rm -f conftest*
15814 fi
15815
15816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15817   echo "$ac_t""yes" 1>&6
15818     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15819   cat >> confdefs.h <<EOF
15820 #define $ac_tr_func 1
15821 EOF
15822  
15823 else
15824   echo "$ac_t""no" 1>&6
15825 fi
15826 done
15827     
15828   fi
15829
15830   
15831   echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15832 echo "configure:15833: checking for _ldexpl declaration" >&5
15833   if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15834   echo $ac_n "(cached) $ac_c" 1>&6
15835 else
15836   
15837     
15838     ac_ext=C
15839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15840 ac_cpp='$CXXCPP $CPPFLAGS'
15841 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15842 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15843 cross_compiling=$ac_cv_prog_cxx_cross
15844
15845     cat > conftest.$ac_ext <<EOF
15846 #line 15847 "configure"
15847 #include "confdefs.h"
15848 #include <math.h>
15849 int main() {
15850  _ldexpl(0, 0);
15851 ; return 0; }
15852 EOF
15853 if { (eval echo configure:15854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15854   rm -rf conftest*
15855   glibcpp_cv_func__ldexpl_use=yes
15856 else
15857   echo "configure: failed program was:" >&5
15858   cat conftest.$ac_ext >&5
15859   rm -rf conftest*
15860   glibcpp_cv_func__ldexpl_use=no
15861 fi
15862 rm -f conftest*
15863     ac_ext=c
15864 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15865 ac_cpp='$CPP $CPPFLAGS'
15866 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15867 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15868 cross_compiling=$ac_cv_prog_cc_cross
15869
15870   
15871 fi
15872
15873   echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15874   if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15875     for ac_func in _ldexpl
15876 do
15877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15878 echo "configure:15879: checking for $ac_func" >&5
15879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15880   echo $ac_n "(cached) $ac_c" 1>&6
15881 else
15882   cat > conftest.$ac_ext <<EOF
15883 #line 15884 "configure"
15884 #include "confdefs.h"
15885 /* System header to define __stub macros and hopefully few prototypes,
15886     which can conflict with char $ac_func(); below.  */
15887 #include <assert.h>
15888 /* Override any gcc2 internal prototype to avoid an error.  */
15889 /* We use char because int might match the return type of a gcc2
15890     builtin and then its argument prototype would still apply.  */
15891 char $ac_func();
15892
15893 int main() {
15894
15895 /* The GNU C library defines this for functions which it implements
15896     to always fail with ENOSYS.  Some functions are actually named
15897     something starting with __ and the normal name is an alias.  */
15898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15899 choke me
15900 #else
15901 $ac_func();
15902 #endif
15903
15904 ; return 0; }
15905 EOF
15906 if { (eval echo configure:15907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15907   rm -rf conftest*
15908   eval "ac_cv_func_$ac_func=yes"
15909 else
15910   echo "configure: failed program was:" >&5
15911   cat conftest.$ac_ext >&5
15912   rm -rf conftest*
15913   eval "ac_cv_func_$ac_func=no"
15914 fi
15915 rm -f conftest*
15916 fi
15917
15918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15919   echo "$ac_t""yes" 1>&6
15920     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15921   cat >> confdefs.h <<EOF
15922 #define $ac_tr_func 1
15923 EOF
15924  
15925 else
15926   echo "$ac_t""no" 1>&6
15927 fi
15928 done
15929     
15930   fi
15931
15932   
15933   echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15934 echo "configure:15935: checking for _logl declaration" >&5
15935   if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15936   echo $ac_n "(cached) $ac_c" 1>&6
15937 else
15938   
15939     
15940     ac_ext=C
15941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15942 ac_cpp='$CXXCPP $CPPFLAGS'
15943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15945 cross_compiling=$ac_cv_prog_cxx_cross
15946
15947     cat > conftest.$ac_ext <<EOF
15948 #line 15949 "configure"
15949 #include "confdefs.h"
15950 #include <math.h>
15951 int main() {
15952  _logl(0);
15953 ; return 0; }
15954 EOF
15955 if { (eval echo configure:15956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15956   rm -rf conftest*
15957   glibcpp_cv_func__logl_use=yes
15958 else
15959   echo "configure: failed program was:" >&5
15960   cat conftest.$ac_ext >&5
15961   rm -rf conftest*
15962   glibcpp_cv_func__logl_use=no
15963 fi
15964 rm -f conftest*
15965     ac_ext=c
15966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15967 ac_cpp='$CPP $CPPFLAGS'
15968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15970 cross_compiling=$ac_cv_prog_cc_cross
15971
15972   
15973 fi
15974
15975   echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15976   if test x$glibcpp_cv_func__logl_use = x"yes"; then
15977     for ac_func in _logl
15978 do
15979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15980 echo "configure:15981: checking for $ac_func" >&5
15981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15982   echo $ac_n "(cached) $ac_c" 1>&6
15983 else
15984   cat > conftest.$ac_ext <<EOF
15985 #line 15986 "configure"
15986 #include "confdefs.h"
15987 /* System header to define __stub macros and hopefully few prototypes,
15988     which can conflict with char $ac_func(); below.  */
15989 #include <assert.h>
15990 /* Override any gcc2 internal prototype to avoid an error.  */
15991 /* We use char because int might match the return type of a gcc2
15992     builtin and then its argument prototype would still apply.  */
15993 char $ac_func();
15994
15995 int main() {
15996
15997 /* The GNU C library defines this for functions which it implements
15998     to always fail with ENOSYS.  Some functions are actually named
15999     something starting with __ and the normal name is an alias.  */
16000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16001 choke me
16002 #else
16003 $ac_func();
16004 #endif
16005
16006 ; return 0; }
16007 EOF
16008 if { (eval echo configure:16009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16009   rm -rf conftest*
16010   eval "ac_cv_func_$ac_func=yes"
16011 else
16012   echo "configure: failed program was:" >&5
16013   cat conftest.$ac_ext >&5
16014   rm -rf conftest*
16015   eval "ac_cv_func_$ac_func=no"
16016 fi
16017 rm -f conftest*
16018 fi
16019
16020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16021   echo "$ac_t""yes" 1>&6
16022     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16023   cat >> confdefs.h <<EOF
16024 #define $ac_tr_func 1
16025 EOF
16026  
16027 else
16028   echo "$ac_t""no" 1>&6
16029 fi
16030 done
16031     
16032   fi
16033
16034   
16035   echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16036 echo "configure:16037: checking for _log10l declaration" >&5
16037   if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16038   echo $ac_n "(cached) $ac_c" 1>&6
16039 else
16040   
16041     
16042     ac_ext=C
16043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16044 ac_cpp='$CXXCPP $CPPFLAGS'
16045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16047 cross_compiling=$ac_cv_prog_cxx_cross
16048
16049     cat > conftest.$ac_ext <<EOF
16050 #line 16051 "configure"
16051 #include "confdefs.h"
16052 #include <math.h>
16053 int main() {
16054  _log10l(0);
16055 ; return 0; }
16056 EOF
16057 if { (eval echo configure:16058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16058   rm -rf conftest*
16059   glibcpp_cv_func__log10l_use=yes
16060 else
16061   echo "configure: failed program was:" >&5
16062   cat conftest.$ac_ext >&5
16063   rm -rf conftest*
16064   glibcpp_cv_func__log10l_use=no
16065 fi
16066 rm -f conftest*
16067     ac_ext=c
16068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16069 ac_cpp='$CPP $CPPFLAGS'
16070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16072 cross_compiling=$ac_cv_prog_cc_cross
16073
16074   
16075 fi
16076
16077   echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16078   if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16079     for ac_func in _log10l
16080 do
16081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16082 echo "configure:16083: checking for $ac_func" >&5
16083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16084   echo $ac_n "(cached) $ac_c" 1>&6
16085 else
16086   cat > conftest.$ac_ext <<EOF
16087 #line 16088 "configure"
16088 #include "confdefs.h"
16089 /* System header to define __stub macros and hopefully few prototypes,
16090     which can conflict with char $ac_func(); below.  */
16091 #include <assert.h>
16092 /* Override any gcc2 internal prototype to avoid an error.  */
16093 /* We use char because int might match the return type of a gcc2
16094     builtin and then its argument prototype would still apply.  */
16095 char $ac_func();
16096
16097 int main() {
16098
16099 /* The GNU C library defines this for functions which it implements
16100     to always fail with ENOSYS.  Some functions are actually named
16101     something starting with __ and the normal name is an alias.  */
16102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16103 choke me
16104 #else
16105 $ac_func();
16106 #endif
16107
16108 ; return 0; }
16109 EOF
16110 if { (eval echo configure:16111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16111   rm -rf conftest*
16112   eval "ac_cv_func_$ac_func=yes"
16113 else
16114   echo "configure: failed program was:" >&5
16115   cat conftest.$ac_ext >&5
16116   rm -rf conftest*
16117   eval "ac_cv_func_$ac_func=no"
16118 fi
16119 rm -f conftest*
16120 fi
16121
16122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16123   echo "$ac_t""yes" 1>&6
16124     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16125   cat >> confdefs.h <<EOF
16126 #define $ac_tr_func 1
16127 EOF
16128  
16129 else
16130   echo "$ac_t""no" 1>&6
16131 fi
16132 done
16133     
16134   fi
16135
16136   
16137   echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16138 echo "configure:16139: checking for _modfl declaration" >&5
16139   if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16140   echo $ac_n "(cached) $ac_c" 1>&6
16141 else
16142   
16143     
16144     ac_ext=C
16145 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16146 ac_cpp='$CXXCPP $CPPFLAGS'
16147 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16148 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16149 cross_compiling=$ac_cv_prog_cxx_cross
16150
16151     cat > conftest.$ac_ext <<EOF
16152 #line 16153 "configure"
16153 #include "confdefs.h"
16154 #include <math.h>
16155 int main() {
16156  _modfl(0, 0);
16157 ; return 0; }
16158 EOF
16159 if { (eval echo configure:16160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16160   rm -rf conftest*
16161   glibcpp_cv_func__modfl_use=yes
16162 else
16163   echo "configure: failed program was:" >&5
16164   cat conftest.$ac_ext >&5
16165   rm -rf conftest*
16166   glibcpp_cv_func__modfl_use=no
16167 fi
16168 rm -f conftest*
16169     ac_ext=c
16170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16171 ac_cpp='$CPP $CPPFLAGS'
16172 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16173 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16174 cross_compiling=$ac_cv_prog_cc_cross
16175
16176   
16177 fi
16178
16179   echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16180   if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16181     for ac_func in _modfl
16182 do
16183 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16184 echo "configure:16185: checking for $ac_func" >&5
16185 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16186   echo $ac_n "(cached) $ac_c" 1>&6
16187 else
16188   cat > conftest.$ac_ext <<EOF
16189 #line 16190 "configure"
16190 #include "confdefs.h"
16191 /* System header to define __stub macros and hopefully few prototypes,
16192     which can conflict with char $ac_func(); below.  */
16193 #include <assert.h>
16194 /* Override any gcc2 internal prototype to avoid an error.  */
16195 /* We use char because int might match the return type of a gcc2
16196     builtin and then its argument prototype would still apply.  */
16197 char $ac_func();
16198
16199 int main() {
16200
16201 /* The GNU C library defines this for functions which it implements
16202     to always fail with ENOSYS.  Some functions are actually named
16203     something starting with __ and the normal name is an alias.  */
16204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16205 choke me
16206 #else
16207 $ac_func();
16208 #endif
16209
16210 ; return 0; }
16211 EOF
16212 if { (eval echo configure:16213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16213   rm -rf conftest*
16214   eval "ac_cv_func_$ac_func=yes"
16215 else
16216   echo "configure: failed program was:" >&5
16217   cat conftest.$ac_ext >&5
16218   rm -rf conftest*
16219   eval "ac_cv_func_$ac_func=no"
16220 fi
16221 rm -f conftest*
16222 fi
16223
16224 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16225   echo "$ac_t""yes" 1>&6
16226     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16227   cat >> confdefs.h <<EOF
16228 #define $ac_tr_func 1
16229 EOF
16230  
16231 else
16232   echo "$ac_t""no" 1>&6
16233 fi
16234 done
16235     
16236   fi
16237
16238   
16239   echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16240 echo "configure:16241: checking for _powl declaration" >&5
16241   if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16242   echo $ac_n "(cached) $ac_c" 1>&6
16243 else
16244   
16245     
16246     ac_ext=C
16247 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16248 ac_cpp='$CXXCPP $CPPFLAGS'
16249 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16250 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16251 cross_compiling=$ac_cv_prog_cxx_cross
16252
16253     cat > conftest.$ac_ext <<EOF
16254 #line 16255 "configure"
16255 #include "confdefs.h"
16256 #include <math.h>
16257 int main() {
16258  _powl(0, 0);
16259 ; return 0; }
16260 EOF
16261 if { (eval echo configure:16262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16262   rm -rf conftest*
16263   glibcpp_cv_func__powl_use=yes
16264 else
16265   echo "configure: failed program was:" >&5
16266   cat conftest.$ac_ext >&5
16267   rm -rf conftest*
16268   glibcpp_cv_func__powl_use=no
16269 fi
16270 rm -f conftest*
16271     ac_ext=c
16272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16273 ac_cpp='$CPP $CPPFLAGS'
16274 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16275 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16276 cross_compiling=$ac_cv_prog_cc_cross
16277
16278   
16279 fi
16280
16281   echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16282   if test x$glibcpp_cv_func__powl_use = x"yes"; then
16283     for ac_func in _powl
16284 do
16285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16286 echo "configure:16287: checking for $ac_func" >&5
16287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16288   echo $ac_n "(cached) $ac_c" 1>&6
16289 else
16290   cat > conftest.$ac_ext <<EOF
16291 #line 16292 "configure"
16292 #include "confdefs.h"
16293 /* System header to define __stub macros and hopefully few prototypes,
16294     which can conflict with char $ac_func(); below.  */
16295 #include <assert.h>
16296 /* Override any gcc2 internal prototype to avoid an error.  */
16297 /* We use char because int might match the return type of a gcc2
16298     builtin and then its argument prototype would still apply.  */
16299 char $ac_func();
16300
16301 int main() {
16302
16303 /* The GNU C library defines this for functions which it implements
16304     to always fail with ENOSYS.  Some functions are actually named
16305     something starting with __ and the normal name is an alias.  */
16306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16307 choke me
16308 #else
16309 $ac_func();
16310 #endif
16311
16312 ; return 0; }
16313 EOF
16314 if { (eval echo configure:16315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16315   rm -rf conftest*
16316   eval "ac_cv_func_$ac_func=yes"
16317 else
16318   echo "configure: failed program was:" >&5
16319   cat conftest.$ac_ext >&5
16320   rm -rf conftest*
16321   eval "ac_cv_func_$ac_func=no"
16322 fi
16323 rm -f conftest*
16324 fi
16325
16326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16327   echo "$ac_t""yes" 1>&6
16328     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16329   cat >> confdefs.h <<EOF
16330 #define $ac_tr_func 1
16331 EOF
16332  
16333 else
16334   echo "$ac_t""no" 1>&6
16335 fi
16336 done
16337     
16338   fi
16339
16340   
16341   echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16342 echo "configure:16343: checking for _sinl declaration" >&5
16343   if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16344   echo $ac_n "(cached) $ac_c" 1>&6
16345 else
16346   
16347     
16348     ac_ext=C
16349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16350 ac_cpp='$CXXCPP $CPPFLAGS'
16351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16353 cross_compiling=$ac_cv_prog_cxx_cross
16354
16355     cat > conftest.$ac_ext <<EOF
16356 #line 16357 "configure"
16357 #include "confdefs.h"
16358 #include <math.h>
16359 int main() {
16360  _sinl(0);
16361 ; return 0; }
16362 EOF
16363 if { (eval echo configure:16364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16364   rm -rf conftest*
16365   glibcpp_cv_func__sinl_use=yes
16366 else
16367   echo "configure: failed program was:" >&5
16368   cat conftest.$ac_ext >&5
16369   rm -rf conftest*
16370   glibcpp_cv_func__sinl_use=no
16371 fi
16372 rm -f conftest*
16373     ac_ext=c
16374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16375 ac_cpp='$CPP $CPPFLAGS'
16376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16378 cross_compiling=$ac_cv_prog_cc_cross
16379
16380   
16381 fi
16382
16383   echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16384   if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16385     for ac_func in _sinl
16386 do
16387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16388 echo "configure:16389: checking for $ac_func" >&5
16389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16390   echo $ac_n "(cached) $ac_c" 1>&6
16391 else
16392   cat > conftest.$ac_ext <<EOF
16393 #line 16394 "configure"
16394 #include "confdefs.h"
16395 /* System header to define __stub macros and hopefully few prototypes,
16396     which can conflict with char $ac_func(); below.  */
16397 #include <assert.h>
16398 /* Override any gcc2 internal prototype to avoid an error.  */
16399 /* We use char because int might match the return type of a gcc2
16400     builtin and then its argument prototype would still apply.  */
16401 char $ac_func();
16402
16403 int main() {
16404
16405 /* The GNU C library defines this for functions which it implements
16406     to always fail with ENOSYS.  Some functions are actually named
16407     something starting with __ and the normal name is an alias.  */
16408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16409 choke me
16410 #else
16411 $ac_func();
16412 #endif
16413
16414 ; return 0; }
16415 EOF
16416 if { (eval echo configure:16417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16417   rm -rf conftest*
16418   eval "ac_cv_func_$ac_func=yes"
16419 else
16420   echo "configure: failed program was:" >&5
16421   cat conftest.$ac_ext >&5
16422   rm -rf conftest*
16423   eval "ac_cv_func_$ac_func=no"
16424 fi
16425 rm -f conftest*
16426 fi
16427
16428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16429   echo "$ac_t""yes" 1>&6
16430     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16431   cat >> confdefs.h <<EOF
16432 #define $ac_tr_func 1
16433 EOF
16434  
16435 else
16436   echo "$ac_t""no" 1>&6
16437 fi
16438 done
16439     
16440   fi
16441
16442   
16443   echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16444 echo "configure:16445: checking for _sinhl declaration" >&5
16445   if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16446   echo $ac_n "(cached) $ac_c" 1>&6
16447 else
16448   
16449     
16450     ac_ext=C
16451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16452 ac_cpp='$CXXCPP $CPPFLAGS'
16453 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16454 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16455 cross_compiling=$ac_cv_prog_cxx_cross
16456
16457     cat > conftest.$ac_ext <<EOF
16458 #line 16459 "configure"
16459 #include "confdefs.h"
16460 #include <math.h>
16461 int main() {
16462  _sinhl(0);
16463 ; return 0; }
16464 EOF
16465 if { (eval echo configure:16466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16466   rm -rf conftest*
16467   glibcpp_cv_func__sinhl_use=yes
16468 else
16469   echo "configure: failed program was:" >&5
16470   cat conftest.$ac_ext >&5
16471   rm -rf conftest*
16472   glibcpp_cv_func__sinhl_use=no
16473 fi
16474 rm -f conftest*
16475     ac_ext=c
16476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16477 ac_cpp='$CPP $CPPFLAGS'
16478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16480 cross_compiling=$ac_cv_prog_cc_cross
16481
16482   
16483 fi
16484
16485   echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16486   if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16487     for ac_func in _sinhl
16488 do
16489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16490 echo "configure:16491: checking for $ac_func" >&5
16491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16492   echo $ac_n "(cached) $ac_c" 1>&6
16493 else
16494   cat > conftest.$ac_ext <<EOF
16495 #line 16496 "configure"
16496 #include "confdefs.h"
16497 /* System header to define __stub macros and hopefully few prototypes,
16498     which can conflict with char $ac_func(); below.  */
16499 #include <assert.h>
16500 /* Override any gcc2 internal prototype to avoid an error.  */
16501 /* We use char because int might match the return type of a gcc2
16502     builtin and then its argument prototype would still apply.  */
16503 char $ac_func();
16504
16505 int main() {
16506
16507 /* The GNU C library defines this for functions which it implements
16508     to always fail with ENOSYS.  Some functions are actually named
16509     something starting with __ and the normal name is an alias.  */
16510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16511 choke me
16512 #else
16513 $ac_func();
16514 #endif
16515
16516 ; return 0; }
16517 EOF
16518 if { (eval echo configure:16519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16519   rm -rf conftest*
16520   eval "ac_cv_func_$ac_func=yes"
16521 else
16522   echo "configure: failed program was:" >&5
16523   cat conftest.$ac_ext >&5
16524   rm -rf conftest*
16525   eval "ac_cv_func_$ac_func=no"
16526 fi
16527 rm -f conftest*
16528 fi
16529
16530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16531   echo "$ac_t""yes" 1>&6
16532     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16533   cat >> confdefs.h <<EOF
16534 #define $ac_tr_func 1
16535 EOF
16536  
16537 else
16538   echo "$ac_t""no" 1>&6
16539 fi
16540 done
16541     
16542   fi
16543
16544   
16545   echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16546 echo "configure:16547: checking for _sqrtl declaration" >&5
16547   if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16548   echo $ac_n "(cached) $ac_c" 1>&6
16549 else
16550   
16551     
16552     ac_ext=C
16553 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16554 ac_cpp='$CXXCPP $CPPFLAGS'
16555 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16556 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16557 cross_compiling=$ac_cv_prog_cxx_cross
16558
16559     cat > conftest.$ac_ext <<EOF
16560 #line 16561 "configure"
16561 #include "confdefs.h"
16562 #include <math.h>
16563 int main() {
16564  _sqrtl(0);
16565 ; return 0; }
16566 EOF
16567 if { (eval echo configure:16568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16568   rm -rf conftest*
16569   glibcpp_cv_func__sqrtl_use=yes
16570 else
16571   echo "configure: failed program was:" >&5
16572   cat conftest.$ac_ext >&5
16573   rm -rf conftest*
16574   glibcpp_cv_func__sqrtl_use=no
16575 fi
16576 rm -f conftest*
16577     ac_ext=c
16578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16579 ac_cpp='$CPP $CPPFLAGS'
16580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16582 cross_compiling=$ac_cv_prog_cc_cross
16583
16584   
16585 fi
16586
16587   echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16588   if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16589     for ac_func in _sqrtl
16590 do
16591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16592 echo "configure:16593: checking for $ac_func" >&5
16593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16594   echo $ac_n "(cached) $ac_c" 1>&6
16595 else
16596   cat > conftest.$ac_ext <<EOF
16597 #line 16598 "configure"
16598 #include "confdefs.h"
16599 /* System header to define __stub macros and hopefully few prototypes,
16600     which can conflict with char $ac_func(); below.  */
16601 #include <assert.h>
16602 /* Override any gcc2 internal prototype to avoid an error.  */
16603 /* We use char because int might match the return type of a gcc2
16604     builtin and then its argument prototype would still apply.  */
16605 char $ac_func();
16606
16607 int main() {
16608
16609 /* The GNU C library defines this for functions which it implements
16610     to always fail with ENOSYS.  Some functions are actually named
16611     something starting with __ and the normal name is an alias.  */
16612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16613 choke me
16614 #else
16615 $ac_func();
16616 #endif
16617
16618 ; return 0; }
16619 EOF
16620 if { (eval echo configure:16621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16621   rm -rf conftest*
16622   eval "ac_cv_func_$ac_func=yes"
16623 else
16624   echo "configure: failed program was:" >&5
16625   cat conftest.$ac_ext >&5
16626   rm -rf conftest*
16627   eval "ac_cv_func_$ac_func=no"
16628 fi
16629 rm -f conftest*
16630 fi
16631
16632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16633   echo "$ac_t""yes" 1>&6
16634     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16635   cat >> confdefs.h <<EOF
16636 #define $ac_tr_func 1
16637 EOF
16638  
16639 else
16640   echo "$ac_t""no" 1>&6
16641 fi
16642 done
16643     
16644   fi
16645
16646   
16647   echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16648 echo "configure:16649: checking for _tanl declaration" >&5
16649   if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16650   echo $ac_n "(cached) $ac_c" 1>&6
16651 else
16652   
16653     
16654     ac_ext=C
16655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16656 ac_cpp='$CXXCPP $CPPFLAGS'
16657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16659 cross_compiling=$ac_cv_prog_cxx_cross
16660
16661     cat > conftest.$ac_ext <<EOF
16662 #line 16663 "configure"
16663 #include "confdefs.h"
16664 #include <math.h>
16665 int main() {
16666  _tanl(0);
16667 ; return 0; }
16668 EOF
16669 if { (eval echo configure:16670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16670   rm -rf conftest*
16671   glibcpp_cv_func__tanl_use=yes
16672 else
16673   echo "configure: failed program was:" >&5
16674   cat conftest.$ac_ext >&5
16675   rm -rf conftest*
16676   glibcpp_cv_func__tanl_use=no
16677 fi
16678 rm -f conftest*
16679     ac_ext=c
16680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16681 ac_cpp='$CPP $CPPFLAGS'
16682 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16683 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16684 cross_compiling=$ac_cv_prog_cc_cross
16685
16686   
16687 fi
16688
16689   echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16690   if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16691     for ac_func in _tanl
16692 do
16693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16694 echo "configure:16695: checking for $ac_func" >&5
16695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16696   echo $ac_n "(cached) $ac_c" 1>&6
16697 else
16698   cat > conftest.$ac_ext <<EOF
16699 #line 16700 "configure"
16700 #include "confdefs.h"
16701 /* System header to define __stub macros and hopefully few prototypes,
16702     which can conflict with char $ac_func(); below.  */
16703 #include <assert.h>
16704 /* Override any gcc2 internal prototype to avoid an error.  */
16705 /* We use char because int might match the return type of a gcc2
16706     builtin and then its argument prototype would still apply.  */
16707 char $ac_func();
16708
16709 int main() {
16710
16711 /* The GNU C library defines this for functions which it implements
16712     to always fail with ENOSYS.  Some functions are actually named
16713     something starting with __ and the normal name is an alias.  */
16714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16715 choke me
16716 #else
16717 $ac_func();
16718 #endif
16719
16720 ; return 0; }
16721 EOF
16722 if { (eval echo configure:16723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16723   rm -rf conftest*
16724   eval "ac_cv_func_$ac_func=yes"
16725 else
16726   echo "configure: failed program was:" >&5
16727   cat conftest.$ac_ext >&5
16728   rm -rf conftest*
16729   eval "ac_cv_func_$ac_func=no"
16730 fi
16731 rm -f conftest*
16732 fi
16733
16734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16735   echo "$ac_t""yes" 1>&6
16736     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16737   cat >> confdefs.h <<EOF
16738 #define $ac_tr_func 1
16739 EOF
16740  
16741 else
16742   echo "$ac_t""no" 1>&6
16743 fi
16744 done
16745     
16746   fi
16747
16748   
16749   echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16750 echo "configure:16751: checking for _tanhl declaration" >&5
16751   if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16752   echo $ac_n "(cached) $ac_c" 1>&6
16753 else
16754   
16755     
16756     ac_ext=C
16757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16758 ac_cpp='$CXXCPP $CPPFLAGS'
16759 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16760 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16761 cross_compiling=$ac_cv_prog_cxx_cross
16762
16763     cat > conftest.$ac_ext <<EOF
16764 #line 16765 "configure"
16765 #include "confdefs.h"
16766 #include <math.h>
16767 int main() {
16768  _tanhl(0);
16769 ; return 0; }
16770 EOF
16771 if { (eval echo configure:16772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16772   rm -rf conftest*
16773   glibcpp_cv_func__tanhl_use=yes
16774 else
16775   echo "configure: failed program was:" >&5
16776   cat conftest.$ac_ext >&5
16777   rm -rf conftest*
16778   glibcpp_cv_func__tanhl_use=no
16779 fi
16780 rm -f conftest*
16781     ac_ext=c
16782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16783 ac_cpp='$CPP $CPPFLAGS'
16784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16786 cross_compiling=$ac_cv_prog_cc_cross
16787
16788   
16789 fi
16790
16791   echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
16792   if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
16793     for ac_func in _tanhl
16794 do
16795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16796 echo "configure:16797: checking for $ac_func" >&5
16797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16798   echo $ac_n "(cached) $ac_c" 1>&6
16799 else
16800   cat > conftest.$ac_ext <<EOF
16801 #line 16802 "configure"
16802 #include "confdefs.h"
16803 /* System header to define __stub macros and hopefully few prototypes,
16804     which can conflict with char $ac_func(); below.  */
16805 #include <assert.h>
16806 /* Override any gcc2 internal prototype to avoid an error.  */
16807 /* We use char because int might match the return type of a gcc2
16808     builtin and then its argument prototype would still apply.  */
16809 char $ac_func();
16810
16811 int main() {
16812
16813 /* The GNU C library defines this for functions which it implements
16814     to always fail with ENOSYS.  Some functions are actually named
16815     something starting with __ and the normal name is an alias.  */
16816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16817 choke me
16818 #else
16819 $ac_func();
16820 #endif
16821
16822 ; return 0; }
16823 EOF
16824 if { (eval echo configure:16825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16825   rm -rf conftest*
16826   eval "ac_cv_func_$ac_func=yes"
16827 else
16828   echo "configure: failed program was:" >&5
16829   cat conftest.$ac_ext >&5
16830   rm -rf conftest*
16831   eval "ac_cv_func_$ac_func=no"
16832 fi
16833 rm -f conftest*
16834 fi
16835
16836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16837   echo "$ac_t""yes" 1>&6
16838     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16839   cat >> confdefs.h <<EOF
16840 #define $ac_tr_func 1
16841 EOF
16842  
16843 else
16844   echo "$ac_t""no" 1>&6
16845 fi
16846 done
16847     
16848   fi
16849
16850   
16851   echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16852 echo "configure:16853: checking for _sincosl declaration" >&5
16853   if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16854   echo $ac_n "(cached) $ac_c" 1>&6
16855 else
16856   
16857     
16858     ac_ext=C
16859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16860 ac_cpp='$CXXCPP $CPPFLAGS'
16861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16863 cross_compiling=$ac_cv_prog_cxx_cross
16864
16865     cat > conftest.$ac_ext <<EOF
16866 #line 16867 "configure"
16867 #include "confdefs.h"
16868 #include <math.h>
16869 int main() {
16870  _sincosl(0, 0, 0);
16871 ; return 0; }
16872 EOF
16873 if { (eval echo configure:16874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16874   rm -rf conftest*
16875   glibcpp_cv_func__sincosl_use=yes
16876 else
16877   echo "configure: failed program was:" >&5
16878   cat conftest.$ac_ext >&5
16879   rm -rf conftest*
16880   glibcpp_cv_func__sincosl_use=no
16881 fi
16882 rm -f conftest*
16883     ac_ext=c
16884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16885 ac_cpp='$CPP $CPPFLAGS'
16886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16888 cross_compiling=$ac_cv_prog_cc_cross
16889
16890   
16891 fi
16892
16893   echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16894   if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16895     for ac_func in _sincosl
16896 do
16897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16898 echo "configure:16899: checking for $ac_func" >&5
16899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16900   echo $ac_n "(cached) $ac_c" 1>&6
16901 else
16902   cat > conftest.$ac_ext <<EOF
16903 #line 16904 "configure"
16904 #include "confdefs.h"
16905 /* System header to define __stub macros and hopefully few prototypes,
16906     which can conflict with char $ac_func(); below.  */
16907 #include <assert.h>
16908 /* Override any gcc2 internal prototype to avoid an error.  */
16909 /* We use char because int might match the return type of a gcc2
16910     builtin and then its argument prototype would still apply.  */
16911 char $ac_func();
16912
16913 int main() {
16914
16915 /* The GNU C library defines this for functions which it implements
16916     to always fail with ENOSYS.  Some functions are actually named
16917     something starting with __ and the normal name is an alias.  */
16918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16919 choke me
16920 #else
16921 $ac_func();
16922 #endif
16923
16924 ; return 0; }
16925 EOF
16926 if { (eval echo configure:16927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16927   rm -rf conftest*
16928   eval "ac_cv_func_$ac_func=yes"
16929 else
16930   echo "configure: failed program was:" >&5
16931   cat conftest.$ac_ext >&5
16932   rm -rf conftest*
16933   eval "ac_cv_func_$ac_func=no"
16934 fi
16935 rm -f conftest*
16936 fi
16937
16938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16939   echo "$ac_t""yes" 1>&6
16940     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16941   cat >> confdefs.h <<EOF
16942 #define $ac_tr_func 1
16943 EOF
16944  
16945 else
16946   echo "$ac_t""no" 1>&6
16947 fi
16948 done
16949     
16950   fi
16951
16952   
16953   echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
16954 echo "configure:16955: checking for _finitel declaration" >&5
16955   if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
16956   echo $ac_n "(cached) $ac_c" 1>&6
16957 else
16958   
16959     
16960     ac_ext=C
16961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16962 ac_cpp='$CXXCPP $CPPFLAGS'
16963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16965 cross_compiling=$ac_cv_prog_cxx_cross
16966
16967     cat > conftest.$ac_ext <<EOF
16968 #line 16969 "configure"
16969 #include "confdefs.h"
16970 #include <math.h>
16971 int main() {
16972  _finitel(0);
16973 ; return 0; }
16974 EOF
16975 if { (eval echo configure:16976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16976   rm -rf conftest*
16977   glibcpp_cv_func__finitel_use=yes
16978 else
16979   echo "configure: failed program was:" >&5
16980   cat conftest.$ac_ext >&5
16981   rm -rf conftest*
16982   glibcpp_cv_func__finitel_use=no
16983 fi
16984 rm -f conftest*
16985     ac_ext=c
16986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16987 ac_cpp='$CPP $CPPFLAGS'
16988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16990 cross_compiling=$ac_cv_prog_cc_cross
16991
16992   
16993 fi
16994
16995   echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
16996   if test x$glibcpp_cv_func__finitel_use = x"yes"; then
16997     for ac_func in _finitel
16998 do
16999 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17000 echo "configure:17001: checking for $ac_func" >&5
17001 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17002   echo $ac_n "(cached) $ac_c" 1>&6
17003 else
17004   cat > conftest.$ac_ext <<EOF
17005 #line 17006 "configure"
17006 #include "confdefs.h"
17007 /* System header to define __stub macros and hopefully few prototypes,
17008     which can conflict with char $ac_func(); below.  */
17009 #include <assert.h>
17010 /* Override any gcc2 internal prototype to avoid an error.  */
17011 /* We use char because int might match the return type of a gcc2
17012     builtin and then its argument prototype would still apply.  */
17013 char $ac_func();
17014
17015 int main() {
17016
17017 /* The GNU C library defines this for functions which it implements
17018     to always fail with ENOSYS.  Some functions are actually named
17019     something starting with __ and the normal name is an alias.  */
17020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17021 choke me
17022 #else
17023 $ac_func();
17024 #endif
17025
17026 ; return 0; }
17027 EOF
17028 if { (eval echo configure:17029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17029   rm -rf conftest*
17030   eval "ac_cv_func_$ac_func=yes"
17031 else
17032   echo "configure: failed program was:" >&5
17033   cat conftest.$ac_ext >&5
17034   rm -rf conftest*
17035   eval "ac_cv_func_$ac_func=no"
17036 fi
17037 rm -f conftest*
17038 fi
17039
17040 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17041   echo "$ac_t""yes" 1>&6
17042     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17043   cat >> confdefs.h <<EOF
17044 #define $ac_tr_func 1
17045 EOF
17046  
17047 else
17048   echo "$ac_t""no" 1>&6
17049 fi
17050 done
17051     
17052   fi
17053
17054
17055   LIBS="$ac_save_LIBS"
17056   CXXFLAGS="$ac_save_CXXFLAGS"
17057
17058   
17059     for ac_hdr in complex.h
17060 do
17061 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17062 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17063 echo "configure:17064: checking for $ac_hdr" >&5
17064 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17065   echo $ac_n "(cached) $ac_c" 1>&6
17066 else
17067   cat > conftest.$ac_ext <<EOF
17068 #line 17069 "configure"
17069 #include "confdefs.h"
17070 #include <$ac_hdr>
17071 EOF
17072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17073 { (eval echo configure:17074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17075 if test -z "$ac_err"; then
17076   rm -rf conftest*
17077   eval "ac_cv_header_$ac_safe=yes"
17078 else
17079   echo "$ac_err" >&5
17080   echo "configure: failed program was:" >&5
17081   cat conftest.$ac_ext >&5
17082   rm -rf conftest*
17083   eval "ac_cv_header_$ac_safe=no"
17084 fi
17085 rm -f conftest*
17086 fi
17087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17088   echo "$ac_t""yes" 1>&6
17089     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17090   cat >> confdefs.h <<EOF
17091 #define $ac_tr_hdr 1
17092 EOF
17093  
17094 else
17095   echo "$ac_t""no" 1>&6
17096 fi
17097 done
17098
17099   for ac_func in ccos ccosf ccosh ccoshf cexp cexpf c_log c_logf \
17100   clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt csqrtf \
17101   ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf copysignf
17102 do
17103 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17104 echo "configure:17105: checking for $ac_func" >&5
17105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17106   echo $ac_n "(cached) $ac_c" 1>&6
17107 else
17108   cat > conftest.$ac_ext <<EOF
17109 #line 17110 "configure"
17110 #include "confdefs.h"
17111 /* System header to define __stub macros and hopefully few prototypes,
17112     which can conflict with char $ac_func(); below.  */
17113 #include <assert.h>
17114 /* Override any gcc2 internal prototype to avoid an error.  */
17115 /* We use char because int might match the return type of a gcc2
17116     builtin and then its argument prototype would still apply.  */
17117 char $ac_func();
17118
17119 int main() {
17120
17121 /* The GNU C library defines this for functions which it implements
17122     to always fail with ENOSYS.  Some functions are actually named
17123     something starting with __ and the normal name is an alias.  */
17124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17125 choke me
17126 #else
17127 $ac_func();
17128 #endif
17129
17130 ; return 0; }
17131 EOF
17132 if { (eval echo configure:17133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17133   rm -rf conftest*
17134   eval "ac_cv_func_$ac_func=yes"
17135 else
17136   echo "configure: failed program was:" >&5
17137   cat conftest.$ac_ext >&5
17138   rm -rf conftest*
17139   eval "ac_cv_func_$ac_func=no"
17140 fi
17141 rm -f conftest*
17142 fi
17143
17144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17145   echo "$ac_t""yes" 1>&6
17146     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17147   cat >> confdefs.h <<EOF
17148 #define $ac_tr_func 1
17149 EOF
17150  
17151 else
17152   echo "$ac_t""no" 1>&6
17153 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17154 fi
17155 done
17156
17157
17158
17159           USE_COMPLEX_LONG_DOUBLE=no
17160   if test x$ac_cv_func_atan2l = x"yes" \
17161      && test x$ac_cv_func_copysignl = x"yes"; then
17162     USE_COMPLEX_LONG_DOUBLE=yes
17163     for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
17164     csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17165 do
17166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17167 echo "configure:17168: checking for $ac_func" >&5
17168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17169   echo $ac_n "(cached) $ac_c" 1>&6
17170 else
17171   cat > conftest.$ac_ext <<EOF
17172 #line 17173 "configure"
17173 #include "confdefs.h"
17174 /* System header to define __stub macros and hopefully few prototypes,
17175     which can conflict with char $ac_func(); below.  */
17176 #include <assert.h>
17177 /* Override any gcc2 internal prototype to avoid an error.  */
17178 /* We use char because int might match the return type of a gcc2
17179     builtin and then its argument prototype would still apply.  */
17180 char $ac_func();
17181
17182 int main() {
17183
17184 /* The GNU C library defines this for functions which it implements
17185     to always fail with ENOSYS.  Some functions are actually named
17186     something starting with __ and the normal name is an alias.  */
17187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17188 choke me
17189 #else
17190 $ac_func();
17191 #endif
17192
17193 ; return 0; }
17194 EOF
17195 if { (eval echo configure:17196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17196   rm -rf conftest*
17197   eval "ac_cv_func_$ac_func=yes"
17198 else
17199   echo "configure: failed program was:" >&5
17200   cat conftest.$ac_ext >&5
17201   rm -rf conftest*
17202   eval "ac_cv_func_$ac_func=no"
17203 fi
17204 rm -f conftest*
17205 fi
17206
17207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17208   echo "$ac_t""yes" 1>&6
17209     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17210   cat >> confdefs.h <<EOF
17211 #define $ac_tr_func 1
17212 EOF
17213  
17214 else
17215   echo "$ac_t""no" 1>&6
17216 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17217 fi
17218 done
17219
17220
17221   fi
17222
17223   
17224
17225   
17226   
17227
17228   echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17229 echo "configure:17230: checking for GNU C++ __complex__ support" >&5
17230   if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17231   echo $ac_n "(cached) $ac_c" 1>&6
17232 else
17233   
17234     
17235     ac_ext=C
17236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17237 ac_cpp='$CXXCPP $CPPFLAGS'
17238 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17239 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17240 cross_compiling=$ac_cv_prog_cxx_cross
17241
17242     cat > conftest.$ac_ext <<EOF
17243 #line 17244 "configure"
17244 #include "confdefs.h"
17245 struct dcomplex { __complex__ double x; }; \
17246                     dcomplex f(const dcomplex& x) { return dcomplex(x); }
17247 int main() {
17248 \
17249                      dcomplex x; f(x); 
17250 ; return 0; }
17251 EOF
17252 if { (eval echo configure:17253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17253   rm -rf conftest*
17254   glibcpp_cv_complex=ok
17255 else
17256   echo "configure: failed program was:" >&5
17257   cat conftest.$ac_ext >&5
17258   rm -rf conftest*
17259   glibcpp_cv_complex=buggy
17260     
17261 fi
17262 rm -f conftest*
17263     ac_ext=c
17264 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17265 ac_cpp='$CPP $CPPFLAGS'
17266 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17267 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17268 cross_compiling=$ac_cv_prog_cc_cross
17269
17270   
17271 fi
17272
17273   echo "$ac_t""$glibcpp_cv_complex" 1>&6
17274   if test $glibcpp_cv_complex = buggy; then
17275     cat >> confdefs.h <<\EOF
17276 #define _GLIBCPP_BUGGY_COMPLEX 1
17277 EOF
17278
17279   fi
17280
17281   echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17282 echo "configure:17283: checking for GNU C++ __complex__ float support" >&5
17283   if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17284   echo $ac_n "(cached) $ac_c" 1>&6
17285 else
17286   
17287     
17288     ac_ext=C
17289 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17290 ac_cpp='$CXXCPP $CPPFLAGS'
17291 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17292 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17293 cross_compiling=$ac_cv_prog_cxx_cross
17294
17295     rm -f conftest.h
17296     cat > conftest.h <<EOB
17297       //
17298       // Check for buggy __complex__ that causes ICE in most versions of egcs
17299       // and gcc-2.95.x on certain platforms (eg., x86-win32).
17300       //
17301       // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
17302       // more info on the bug itself.
17303       //
17304       struct
17305       float_complex
17306       {
17307        __complex__ float m_value;
17308        float_complex (float = 0.0f, float = 0.0f);
17309        float_complex (__complex__ float val) : m_value (val) {}
17310        float_complex foo (const float_complex &val)
17311          { return float_complex (~val.m_value); }
17312       };
17313 EOB
17314     cat > conftest.$ac_ext <<EOF
17315 #line 17316 "configure"
17316 #include "confdefs.h"
17317 #include "conftest.h"
17318 int main() {
17319
17320 ; return 0; }
17321 EOF
17322 if { (eval echo configure:17323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17323   rm -rf conftest*
17324   glibcpp_cv_float_complex=ok
17325 else
17326   echo "configure: failed program was:" >&5
17327   cat conftest.$ac_ext >&5
17328   rm -rf conftest*
17329   glibcpp_cv_float_complex=buggy
17330     
17331 fi
17332 rm -f conftest*
17333     ac_ext=c
17334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17335 ac_cpp='$CPP $CPPFLAGS'
17336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17338 cross_compiling=$ac_cv_prog_cc_cross
17339
17340   
17341 fi
17342
17343   echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17344   if test $glibcpp_cv_float_complex = buggy; then
17345     cat >> confdefs.h <<\EOF
17346 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17347 EOF
17348
17349   fi
17350
17351   
17352
17353     ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17354 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17355 echo "configure:17356: checking for wchar.h" >&5
17356 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17357   echo $ac_n "(cached) $ac_c" 1>&6
17358 else
17359   cat > conftest.$ac_ext <<EOF
17360 #line 17361 "configure"
17361 #include "confdefs.h"
17362 #include <wchar.h>
17363 EOF
17364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17365 { (eval echo configure:17366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17367 if test -z "$ac_err"; then
17368   rm -rf conftest*
17369   eval "ac_cv_header_$ac_safe=yes"
17370 else
17371   echo "$ac_err" >&5
17372   echo "configure: failed program was:" >&5
17373   cat conftest.$ac_ext >&5
17374   rm -rf conftest*
17375   eval "ac_cv_header_$ac_safe=no"
17376 fi
17377 rm -f conftest*
17378 fi
17379 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17380   echo "$ac_t""yes" 1>&6
17381   ac_has_wchar_h=yes
17382 else
17383   echo "$ac_t""no" 1>&6
17384 ac_has_wchar_h=no
17385 fi
17386
17387   ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17388 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17389 echo "configure:17390: checking for wctype.h" >&5
17390 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17391   echo $ac_n "(cached) $ac_c" 1>&6
17392 else
17393   cat > conftest.$ac_ext <<EOF
17394 #line 17395 "configure"
17395 #include "confdefs.h"
17396 #include <wctype.h>
17397 EOF
17398 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17399 { (eval echo configure:17400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17400 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17401 if test -z "$ac_err"; then
17402   rm -rf conftest*
17403   eval "ac_cv_header_$ac_safe=yes"
17404 else
17405   echo "$ac_err" >&5
17406   echo "configure: failed program was:" >&5
17407   cat conftest.$ac_ext >&5
17408   rm -rf conftest*
17409   eval "ac_cv_header_$ac_safe=no"
17410 fi
17411 rm -f conftest*
17412 fi
17413 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17414   echo "$ac_t""yes" 1>&6
17415   ac_has_wctype_h=yes
17416 else
17417   echo "$ac_t""no" 1>&6
17418 ac_has_wctype_h=no
17419 fi
17420
17421         
17422     if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17423
17424         echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17425 echo "configure:17426: checking for mbstate_t" >&5
17426     cat > conftest.$ac_ext <<EOF
17427 #line 17428 "configure"
17428 #include "confdefs.h"
17429 #include <wchar.h>
17430 int main() {
17431 mbstate_t teststate;
17432 ; return 0; }
17433 EOF
17434 if { (eval echo configure:17435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17435   rm -rf conftest*
17436   use_native_mbstatet=yes
17437 else
17438   echo "configure: failed program was:" >&5
17439   cat conftest.$ac_ext >&5
17440   rm -rf conftest*
17441   use_native_mbstatet=no
17442 fi
17443 rm -f conftest*
17444     echo "$ac_t""$use_native_mbstatet" 1>&6
17445     if test x"$use_native_mbstatet" = xno; then
17446       cat >> confdefs.h <<\EOF
17447 #define _GLIBCPP_NEED_MBSTATE_T 1
17448 EOF
17449
17450     fi
17451   
17452             echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17453 echo "configure:17454: checking for WCHAR_MIN and WCHAR_MAX" >&5
17454     cat > conftest.$ac_ext <<EOF
17455 #line 17456 "configure"
17456 #include "confdefs.h"
17457 #include <wchar.h>
17458 int main() {
17459 int i = WCHAR_MIN; int j = WCHAR_MAX;
17460 ; return 0; }
17461 EOF
17462 if { (eval echo configure:17463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17463   rm -rf conftest*
17464   has_wchar_minmax=yes
17465 else
17466   echo "configure: failed program was:" >&5
17467   cat conftest.$ac_ext >&5
17468   rm -rf conftest*
17469   has_wchar_minmax=no
17470 fi
17471 rm -f conftest*
17472     echo "$ac_t""$has_wchar_minmax" 1>&6
17473   
17474             echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17475 echo "configure:17476: checking for WEOF" >&5
17476     cat > conftest.$ac_ext <<EOF
17477 #line 17478 "configure"
17478 #include "confdefs.h"
17479
17480       #include <wchar.h>
17481       #include <stddef.h>
17482 int main() {
17483 wint_t i = WEOF;
17484 ; return 0; }
17485 EOF
17486 if { (eval echo configure:17487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17487   rm -rf conftest*
17488   has_weof=yes
17489 else
17490   echo "configure: failed program was:" >&5
17491   cat conftest.$ac_ext >&5
17492   rm -rf conftest*
17493   has_weof=no
17494 fi
17495 rm -f conftest*
17496     echo "$ac_t""$has_weof" 1>&6
17497
17498         for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
17499 do
17500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17501 echo "configure:17502: checking for $ac_func" >&5
17502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17503   echo $ac_n "(cached) $ac_c" 1>&6
17504 else
17505   cat > conftest.$ac_ext <<EOF
17506 #line 17507 "configure"
17507 #include "confdefs.h"
17508 /* System header to define __stub macros and hopefully few prototypes,
17509     which can conflict with char $ac_func(); below.  */
17510 #include <assert.h>
17511 /* Override any gcc2 internal prototype to avoid an error.  */
17512 /* We use char because int might match the return type of a gcc2
17513     builtin and then its argument prototype would still apply.  */
17514 char $ac_func();
17515
17516 int main() {
17517
17518 /* The GNU C library defines this for functions which it implements
17519     to always fail with ENOSYS.  Some functions are actually named
17520     something starting with __ and the normal name is an alias.  */
17521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17522 choke me
17523 #else
17524 $ac_func();
17525 #endif
17526
17527 ; return 0; }
17528 EOF
17529 if { (eval echo configure:17530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17530   rm -rf conftest*
17531   eval "ac_cv_func_$ac_func=yes"
17532 else
17533   echo "configure: failed program was:" >&5
17534   cat conftest.$ac_ext >&5
17535   rm -rf conftest*
17536   eval "ac_cv_func_$ac_func=no"
17537 fi
17538 rm -f conftest*
17539 fi
17540
17541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17542   echo "$ac_t""yes" 1>&6
17543     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17544   cat >> confdefs.h <<EOF
17545 #define $ac_tr_func 1
17546 EOF
17547  ac_wfuncs=yes
17548 else
17549   echo "$ac_t""no" 1>&6
17550 ac_wfuncs=no
17551 fi
17552 done
17553
17554
17555     echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6
17556 echo "configure:17557: checking for ISO C9X wchar_t support" >&5
17557     if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes && test x"$ac_wfuncs" = xyes; then
17558       ac_isoC9X_wchar_t=yes
17559     else
17560       ac_isoC9X_wchar_t=no
17561     fi
17562     echo "$ac_t""$ac_isoC9X_wchar_t" 1>&6
17563
17564             ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17565 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17566 echo "configure:17567: checking for iconv.h" >&5
17567 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17568   echo $ac_n "(cached) $ac_c" 1>&6
17569 else
17570   cat > conftest.$ac_ext <<EOF
17571 #line 17572 "configure"
17572 #include "confdefs.h"
17573 #include <iconv.h>
17574 EOF
17575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17576 { (eval echo configure:17577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17578 if test -z "$ac_err"; then
17579   rm -rf conftest*
17580   eval "ac_cv_header_$ac_safe=yes"
17581 else
17582   echo "$ac_err" >&5
17583   echo "configure: failed program was:" >&5
17584   cat conftest.$ac_ext >&5
17585   rm -rf conftest*
17586   eval "ac_cv_header_$ac_safe=no"
17587 fi
17588 rm -f conftest*
17589 fi
17590 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17591   echo "$ac_t""yes" 1>&6
17592   ac_has_iconv_h=yes
17593 else
17594   echo "$ac_t""no" 1>&6
17595 ac_has_iconv_h=no
17596 fi
17597
17598     for ac_func in iconv_open iconv_close iconv
17599 do
17600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17601 echo "configure:17602: checking for $ac_func" >&5
17602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17603   echo $ac_n "(cached) $ac_c" 1>&6
17604 else
17605   cat > conftest.$ac_ext <<EOF
17606 #line 17607 "configure"
17607 #include "confdefs.h"
17608 /* System header to define __stub macros and hopefully few prototypes,
17609     which can conflict with char $ac_func(); below.  */
17610 #include <assert.h>
17611 /* Override any gcc2 internal prototype to avoid an error.  */
17612 /* We use char because int might match the return type of a gcc2
17613     builtin and then its argument prototype would still apply.  */
17614 char $ac_func();
17615
17616 int main() {
17617
17618 /* The GNU C library defines this for functions which it implements
17619     to always fail with ENOSYS.  Some functions are actually named
17620     something starting with __ and the normal name is an alias.  */
17621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17622 choke me
17623 #else
17624 $ac_func();
17625 #endif
17626
17627 ; return 0; }
17628 EOF
17629 if { (eval echo configure:17630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17630   rm -rf conftest*
17631   eval "ac_cv_func_$ac_func=yes"
17632 else
17633   echo "configure: failed program was:" >&5
17634   cat conftest.$ac_ext >&5
17635   rm -rf conftest*
17636   eval "ac_cv_func_$ac_func=no"
17637 fi
17638 rm -f conftest*
17639 fi
17640
17641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17642   echo "$ac_t""yes" 1>&6
17643     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17644   cat >> confdefs.h <<EOF
17645 #define $ac_tr_func 1
17646 EOF
17647  ac_XPG2funcs=yes
17648 else
17649   echo "$ac_t""no" 1>&6
17650 ac_XPG2funcs=no
17651 fi
17652 done
17653
17654
17655     echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17656 echo "configure:17657: checking for XPG2 wchar_t support" >&5
17657     if test x"$ac_has_iconv_h" = xyes && test x"$ac_XPG2funcs" = xyes; then
17658       ac_XPG2_wchar_t=yes
17659     else
17660       ac_XPG2_wchar_t=no
17661     fi
17662     echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17663
17664             #    ac_isoC9X_wchar_t=no
17665     
17666     echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17667 echo "configure:17668: checking for enabled wchar_t specializations" >&5
17668     if test x"$ac_isoC9X_wchar_t" = xyes && test x"$ac_XPG2_wchar_t" = xyes; then
17669       libinst_wstring_la="libinst-wstring.la"
17670       cat >> confdefs.h <<\EOF
17671 #define _GLIBCPP_USE_WCHAR_T 1
17672 EOF
17673
17674       echo "$ac_t"""yes"" 1>&6
17675     else
17676       libinst_wstring_la=""
17677       echo "$ac_t"""no"" 1>&6
17678     fi
17679     
17680
17681   else
17682     echo "configure: warning: <wchar.h> not found" 1>&2
17683     cat >> confdefs.h <<\EOF
17684 #define _GLIBCPP_NEED_MBSTATE_T 1
17685 EOF
17686
17687   fi
17688
17689   
17690   ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17691 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17692 echo "configure:17693: checking for ctype.h" >&5
17693 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17694   echo $ac_n "(cached) $ac_c" 1>&6
17695 else
17696   cat > conftest.$ac_ext <<EOF
17697 #line 17698 "configure"
17698 #include "confdefs.h"
17699 #include <ctype.h>
17700 EOF
17701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17702 { (eval echo configure:17703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17704 if test -z "$ac_err"; then
17705   rm -rf conftest*
17706   eval "ac_cv_header_$ac_safe=yes"
17707 else
17708   echo "$ac_err" >&5
17709   echo "configure: failed program was:" >&5
17710   cat conftest.$ac_ext >&5
17711   rm -rf conftest*
17712   eval "ac_cv_header_$ac_safe=no"
17713 fi
17714 rm -f conftest*
17715 fi
17716 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17717   echo "$ac_t""yes" 1>&6
17718   
17719     
17720         ctype_default=yes
17721
17722         echo $ac_n "checking <ctype> for gnu-linux ""... $ac_c" 1>&6
17723 echo "configure:17724: checking <ctype> for gnu-linux " >&5
17724     cat > conftest.$ac_ext <<EOF
17725 #line 17726 "configure"
17726 #include "confdefs.h"
17727 #include <ctype.h>
17728 int main() {
17729 int
17730     foo (int a)
17731     { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
17732         + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
17733         + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
17734 ; return 0; }
17735 EOF
17736 if { (eval echo configure:17737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17737   rm -rf conftest*
17738   \
17739     ctype_linux=yes
17740 else
17741   echo "configure: failed program was:" >&5
17742   cat conftest.$ac_ext >&5
17743   rm -rf conftest*
17744   ctype_linux=no
17745 fi
17746 rm -f conftest*
17747     echo "$ac_t""$ctype_linux" 1>&6
17748     if test $ctype_linux = "yes"; then
17749       ctype_include_dir="config/gnu-linux"
17750       ctype_default=no
17751     fi
17752
17753         if test $ctype_default = "yes"; then
17754     echo $ac_n "checking <ctype> for freebsd 4.0 ""... $ac_c" 1>&6
17755 echo "configure:17756: checking <ctype> for freebsd 4.0 " >&5
17756     cat > conftest.$ac_ext <<EOF
17757 #line 17758 "configure"
17758 #include "confdefs.h"
17759 #include <ctype.h>
17760 int main() {
17761 int
17762     foo (int a)
17763     { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
17764         + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
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   \
17770     ctype_bsd=yes
17771 else
17772   echo "configure: failed program was:" >&5
17773   cat conftest.$ac_ext >&5
17774   rm -rf conftest*
17775   ctype_bsd=no
17776 fi
17777 rm -f conftest*
17778     echo "$ac_t""$ctype_bsd" 1>&6
17779     if test $ctype_bsd = "yes"; then
17780       ctype_include_dir="config/bsd"
17781       ctype_default=no
17782     fi
17783     fi
17784
17785         if test $ctype_default = "yes"; then
17786     echo $ac_n "checking <ctype> for freebsd 3.4 ""... $ac_c" 1>&6
17787 echo "configure:17788: checking <ctype> for freebsd 3.4 " >&5
17788     cat > conftest.$ac_ext <<EOF
17789 #line 17790 "configure"
17790 #include "confdefs.h"
17791 #include <ctype.h>
17792 int main() {
17793 int
17794     foo (int a)
17795     { return _S + _R + _C + _U + _L + _A \
17796       + _D + _P + _X + _G + __istype (a, 0);}
17797 ; return 0; }
17798 EOF
17799 if { (eval echo configure:17800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17800   rm -rf conftest*
17801   \
17802     ctype_freebsd34=yes
17803 else
17804   echo "configure: failed program was:" >&5
17805   cat conftest.$ac_ext >&5
17806   rm -rf conftest*
17807   ctype_freebsd34=no
17808 fi
17809 rm -f conftest*
17810     echo "$ac_t""$ctype_freebsd34" 1>&6
17811     if test $ctype_freebsd34 = "yes"; then
17812       ctype_include_dir="config/bsd"
17813       ctype_default=no
17814     fi
17815     fi
17816
17817         if test $ctype_default = "yes"; then
17818     echo $ac_n "checking <ctype> for solaris 2.6,7,8 ""... $ac_c" 1>&6
17819 echo "configure:17820: checking <ctype> for solaris 2.6,7,8 " >&5
17820     cat > conftest.$ac_ext <<EOF
17821 #line 17822 "configure"
17822 #include "confdefs.h"
17823 #include <ctype.h>
17824 int main() {
17825 int
17826     foo (int a)
17827     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17828         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17829         + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
17830 ; return 0; }
17831 EOF
17832 if { (eval echo configure:17833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17833   rm -rf conftest*
17834   \
17835     ctype_solaris=yes
17836 else
17837   echo "configure: failed program was:" >&5
17838   cat conftest.$ac_ext >&5
17839   rm -rf conftest*
17840   ctype_solaris=no
17841 fi
17842 rm -f conftest*
17843     echo "$ac_t""$ctype_solaris" 1>&6
17844
17845     if test $ctype_solaris = "yes"; then
17846       echo $ac_n "checking   for version""... $ac_c" 1>&6
17847 echo "configure:17848: checking   for version" >&5
17848       ac_ext=C
17849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17850 ac_cpp='$CXXCPP $CPPFLAGS'
17851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17853 cross_compiling=$ac_cv_prog_cxx_cross
17854  
17855       cat > conftest.$ac_ext <<EOF
17856 #line 17857 "configure"
17857 #include "confdefs.h"
17858 #include <ctype.h>
17859 int main() {
17860 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
17861 ; return 0; }
17862 EOF
17863 if { (eval echo configure:17864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17864   rm -rf conftest*
17865   \
17866       ctype_solaris26=yes
17867 else
17868   echo "configure: failed program was:" >&5
17869   cat conftest.$ac_ext >&5
17870   rm -rf conftest*
17871   ctype_solaris26=no
17872 fi
17873 rm -f conftest*
17874       ac_ext=c
17875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17876 ac_cpp='$CPP $CPPFLAGS'
17877 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17878 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17879 cross_compiling=$ac_cv_prog_cc_cross
17880
17881       if test $ctype_solaris26 = "yes"; then
17882         ctype_include_dir="config/solaris/solaris2.6"
17883         echo "$ac_t"""solaris2.6"" 1>&6
17884         ctype_default=no
17885       else
17886         ctype_include_dir="config/solaris/solaris2.7"
17887         echo "$ac_t"""solaris2.7,8"" 1>&6
17888         ctype_default=no
17889       fi
17890     fi
17891     fi  
17892
17893         if test $ctype_default = "yes"; then
17894     echo $ac_n "checking <ctype> for solaris 2.5.1 ""... $ac_c" 1>&6
17895 echo "configure:17896: checking <ctype> for solaris 2.5.1 " >&5
17896     cat > conftest.$ac_ext <<EOF
17897 #line 17898 "configure"
17898 #include "confdefs.h"
17899 #include <ctype.h>
17900 int main() {
17901 int
17902     foo (int a)
17903     { return _U + _L + _N + _S + _P + _C + _X + _B \
17904         + __ctype[a];}
17905 ; return 0; }
17906 EOF
17907 if { (eval echo configure:17908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17908   rm -rf conftest*
17909   \
17910     ctype_solaris25=yes
17911 else
17912   echo "configure: failed program was:" >&5
17913   cat conftest.$ac_ext >&5
17914   rm -rf conftest*
17915   ctype_solaris25=no
17916 fi
17917 rm -f conftest*
17918     echo "$ac_t""$ctype_solaris25" 1>&6
17919     if test $ctype_solaris25 = "yes"; then
17920       ctype_include_dir="config/solaris/solaris2.5"
17921       ctype_default=no
17922     fi
17923     fi
17924
17925         if test $ctype_default = "yes"; then
17926     echo $ac_n "checking <ctype> for aix ""... $ac_c" 1>&6
17927 echo "configure:17928: checking <ctype> for aix " >&5
17928     cat > conftest.$ac_ext <<EOF
17929 #line 17930 "configure"
17930 #include "confdefs.h"
17931 #include <ctype.h>
17932 int main() {
17933 int
17934     foo (int a)
17935     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17936         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17937         + _VALC('a') + _IS('c', 0);}
17938 ; return 0; }
17939 EOF
17940 if { (eval echo configure:17941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17941   rm -rf conftest*
17942   \
17943     ctype_aix=yes
17944 else
17945   echo "configure: failed program was:" >&5
17946   cat conftest.$ac_ext >&5
17947   rm -rf conftest*
17948   ctype_aix=no
17949 fi
17950 rm -f conftest*
17951     echo "$ac_t""$ctype_aix" 1>&6
17952     if test $ctype_aix = "yes"; then
17953       ctype_include_dir="config/aix"
17954       ctype_default=no
17955     fi
17956     fi
17957
17958         if test $ctype_default = "yes"; then
17959     echo $ac_n "checking <ctype> for newlib ""... $ac_c" 1>&6
17960 echo "configure:17961: checking <ctype> for newlib " >&5
17961     cat > conftest.$ac_ext <<EOF
17962 #line 17963 "configure"
17963 #include "confdefs.h"
17964 #include <ctype.h>
17965 int main() {
17966 int
17967     foo (int a)
17968     { return _U + _L + _N + _S + _P + _C + _X + _B \
17969         + _ctype_[a];}
17970 ; return 0; }
17971 EOF
17972 if { (eval echo configure:17973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17973   rm -rf conftest*
17974   \
17975     ctype_newlib=yes
17976 else
17977   echo "configure: failed program was:" >&5
17978   cat conftest.$ac_ext >&5
17979   rm -rf conftest*
17980   ctype_newlib=no
17981 fi
17982 rm -f conftest*
17983     echo "$ac_t""$ctype_newlib" 1>&6
17984     if test $ctype_newlib = "yes"; then
17985       ctype_include_dir="config/newlib"
17986       ctype_default=no
17987     fi
17988     fi
17989
17990     if test $ctype_default = "yes"; then
17991       ctype_include_dir="config/generic"
17992       echo "configure: warning: "Using default ctype headers."" 1>&2
17993     fi
17994     
17995   
17996 else
17997   echo "$ac_t""no" 1>&6
17998 fi
17999
18000
18001
18002   for ac_hdr in unistd.h
18003 do
18004 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18005 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18006 echo "configure:18007: checking for $ac_hdr" >&5
18007 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18008   echo $ac_n "(cached) $ac_c" 1>&6
18009 else
18010   cat > conftest.$ac_ext <<EOF
18011 #line 18012 "configure"
18012 #include "confdefs.h"
18013 #include <$ac_hdr>
18014 EOF
18015 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18016 { (eval echo configure:18017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18017 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18018 if test -z "$ac_err"; then
18019   rm -rf conftest*
18020   eval "ac_cv_header_$ac_safe=yes"
18021 else
18022   echo "$ac_err" >&5
18023   echo "configure: failed program was:" >&5
18024   cat conftest.$ac_ext >&5
18025   rm -rf conftest*
18026   eval "ac_cv_header_$ac_safe=no"
18027 fi
18028 rm -f conftest*
18029 fi
18030 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18031   echo "$ac_t""yes" 1>&6
18032     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18033   cat >> confdefs.h <<EOF
18034 #define $ac_tr_hdr 1
18035 EOF
18036  
18037 else
18038   echo "$ac_t""no" 1>&6
18039 fi
18040 done
18041
18042 for ac_func in getpagesize
18043 do
18044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18045 echo "configure:18046: checking for $ac_func" >&5
18046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18047   echo $ac_n "(cached) $ac_c" 1>&6
18048 else
18049   cat > conftest.$ac_ext <<EOF
18050 #line 18051 "configure"
18051 #include "confdefs.h"
18052 /* System header to define __stub macros and hopefully few prototypes,
18053     which can conflict with char $ac_func(); below.  */
18054 #include <assert.h>
18055 /* Override any gcc2 internal prototype to avoid an error.  */
18056 /* We use char because int might match the return type of a gcc2
18057     builtin and then its argument prototype would still apply.  */
18058 char $ac_func();
18059
18060 int main() {
18061
18062 /* The GNU C library defines this for functions which it implements
18063     to always fail with ENOSYS.  Some functions are actually named
18064     something starting with __ and the normal name is an alias.  */
18065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18066 choke me
18067 #else
18068 $ac_func();
18069 #endif
18070
18071 ; return 0; }
18072 EOF
18073 if { (eval echo configure:18074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18074   rm -rf conftest*
18075   eval "ac_cv_func_$ac_func=yes"
18076 else
18077   echo "configure: failed program was:" >&5
18078   cat conftest.$ac_ext >&5
18079   rm -rf conftest*
18080   eval "ac_cv_func_$ac_func=no"
18081 fi
18082 rm -f conftest*
18083 fi
18084
18085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18086   echo "$ac_t""yes" 1>&6
18087     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18088   cat >> confdefs.h <<EOF
18089 #define $ac_tr_func 1
18090 EOF
18091  
18092 else
18093   echo "$ac_t""no" 1>&6
18094 fi
18095 done
18096
18097 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18098 echo "configure:18099: checking for working mmap" >&5
18099 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18100   echo $ac_n "(cached) $ac_c" 1>&6
18101 else
18102   if test "$cross_compiling" = yes; then
18103   ac_cv_func_mmap_fixed_mapped=no
18104 else
18105   cat > conftest.$ac_ext <<EOF
18106 #line 18107 "configure"
18107 #include "confdefs.h"
18108
18109 /* Thanks to Mike Haertel and Jim Avera for this test.
18110    Here is a matrix of mmap possibilities:
18111         mmap private not fixed
18112         mmap private fixed at somewhere currently unmapped
18113         mmap private fixed at somewhere already mapped
18114         mmap shared not fixed
18115         mmap shared fixed at somewhere currently unmapped
18116         mmap shared fixed at somewhere already mapped
18117    For private mappings, we should verify that changes cannot be read()
18118    back from the file, nor mmap's back from the file at a different
18119    address.  (There have been systems where private was not correctly
18120    implemented like the infamous i386 svr4.0, and systems where the
18121    VM page cache was not coherent with the filesystem buffer cache
18122    like early versions of FreeBSD and possibly contemporary NetBSD.)
18123    For shared mappings, we should conversely verify that changes get
18124    propogated back to all the places they're supposed to be.
18125
18126    Grep wants private fixed already mapped.
18127    The main things grep needs to know about mmap are:
18128    * does it exist and is it safe to write into the mmap'd area
18129    * how to use it (BSD variants)  */
18130 #include <sys/types.h>
18131 #include <fcntl.h>
18132 #include <sys/mman.h>
18133
18134 /* This mess was copied from the GNU getpagesize.h.  */
18135 #ifndef HAVE_GETPAGESIZE
18136 # ifdef HAVE_UNISTD_H
18137 #  include <unistd.h>
18138 # endif
18139
18140 /* Assume that all systems that can run configure have sys/param.h.  */
18141 # ifndef HAVE_SYS_PARAM_H
18142 #  define HAVE_SYS_PARAM_H 1
18143 # endif
18144
18145 # ifdef _SC_PAGESIZE
18146 #  define getpagesize() sysconf(_SC_PAGESIZE)
18147 # else /* no _SC_PAGESIZE */
18148 #  ifdef HAVE_SYS_PARAM_H
18149 #   include <sys/param.h>
18150 #   ifdef EXEC_PAGESIZE
18151 #    define getpagesize() EXEC_PAGESIZE
18152 #   else /* no EXEC_PAGESIZE */
18153 #    ifdef NBPG
18154 #     define getpagesize() NBPG * CLSIZE
18155 #     ifndef CLSIZE
18156 #      define CLSIZE 1
18157 #     endif /* no CLSIZE */
18158 #    else /* no NBPG */
18159 #     ifdef NBPC
18160 #      define getpagesize() NBPC
18161 #     else /* no NBPC */
18162 #      ifdef PAGESIZE
18163 #       define getpagesize() PAGESIZE
18164 #      endif /* PAGESIZE */
18165 #     endif /* no NBPC */
18166 #    endif /* no NBPG */
18167 #   endif /* no EXEC_PAGESIZE */
18168 #  else /* no HAVE_SYS_PARAM_H */
18169 #   define getpagesize() 8192   /* punt totally */
18170 #  endif /* no HAVE_SYS_PARAM_H */
18171 # endif /* no _SC_PAGESIZE */
18172
18173 #endif /* no HAVE_GETPAGESIZE */
18174
18175 #ifdef __cplusplus
18176 extern "C" { void *malloc(unsigned); }
18177 #else
18178 char *malloc();
18179 #endif
18180
18181 int
18182 main()
18183 {
18184         char *data, *data2, *data3;
18185         int i, pagesize;
18186         int fd;
18187
18188         pagesize = getpagesize();
18189
18190         /*
18191          * First, make a file with some known garbage in it.
18192          */
18193         data = malloc(pagesize);
18194         if (!data)
18195                 exit(1);
18196         for (i = 0; i < pagesize; ++i)
18197                 *(data + i) = rand();
18198         umask(0);
18199         fd = creat("conftestmmap", 0600);
18200         if (fd < 0)
18201                 exit(1);
18202         if (write(fd, data, pagesize) != pagesize)
18203                 exit(1);
18204         close(fd);
18205
18206         /*
18207          * Next, try to mmap the file at a fixed address which
18208          * already has something else allocated at it.  If we can,
18209          * also make sure that we see the same garbage.
18210          */
18211         fd = open("conftestmmap", O_RDWR);
18212         if (fd < 0)
18213                 exit(1);
18214         data2 = malloc(2 * pagesize);
18215         if (!data2)
18216                 exit(1);
18217         data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18218         if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18219             MAP_PRIVATE | MAP_FIXED, fd, 0L))
18220                 exit(1);
18221         for (i = 0; i < pagesize; ++i)
18222                 if (*(data + i) != *(data2 + i))
18223                         exit(1);
18224
18225         /*
18226          * Finally, make sure that changes to the mapped area
18227          * do not percolate back to the file as seen by read().
18228          * (This is a bug on some variants of i386 svr4.0.)
18229          */
18230         for (i = 0; i < pagesize; ++i)
18231                 *(data2 + i) = *(data2 + i) + 1;
18232         data3 = malloc(pagesize);
18233         if (!data3)
18234                 exit(1);
18235         if (read(fd, data3, pagesize) != pagesize)
18236                 exit(1);
18237         for (i = 0; i < pagesize; ++i)
18238                 if (*(data + i) != *(data3 + i))
18239                         exit(1);
18240         close(fd);
18241         unlink("conftestmmap");
18242         exit(0);
18243 }
18244
18245 EOF
18246 if { (eval echo configure:18247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18247 then
18248   ac_cv_func_mmap_fixed_mapped=yes
18249 else
18250   echo "configure: failed program was:" >&5
18251   cat conftest.$ac_ext >&5
18252   rm -fr conftest*
18253   ac_cv_func_mmap_fixed_mapped=no
18254 fi
18255 rm -fr conftest*
18256 fi
18257
18258 fi
18259
18260 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18261 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18262   cat >> confdefs.h <<\EOF
18263 #define HAVE_MMAP 1
18264 EOF
18265
18266 fi
18267
18268 fi
18269
18270
18271
18272 if test "$CANADIAN" = yes; then
18273   CANADIAN_TRUE=
18274   CANADIAN_FALSE='#'
18275 else
18276   CANADIAN_TRUE='#'
18277   CANADIAN_FALSE=
18278 fi
18279
18280
18281 if test "$NULL_TARGET" = yes; then
18282   NULL_TARGET_TRUE=
18283   NULL_TARGET_FALSE='#'
18284 else
18285   NULL_TARGET_TRUE='#'
18286   NULL_TARGET_FALSE=
18287 fi
18288
18289
18290 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18291   NATIVE_TRUE=
18292   NATIVE_FALSE='#'
18293 else
18294   NATIVE_TRUE='#'
18295   NATIVE_FALSE=
18296 fi
18297
18298
18299 if test -z "$with_cross_host"; then
18300   USE_LIBDIR_TRUE=
18301   USE_LIBDIR_FALSE='#'
18302 else
18303   USE_LIBDIR_TRUE='#'
18304   USE_LIBDIR_FALSE=
18305 fi
18306
18307 if test $ac_cv_header_locale_h = yes; then
18308     echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18309 echo "configure:18310: checking for LC_MESSAGES" >&5
18310 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18311   echo $ac_n "(cached) $ac_c" 1>&6
18312 else
18313   cat > conftest.$ac_ext <<EOF
18314 #line 18315 "configure"
18315 #include "confdefs.h"
18316 #include <locale.h>
18317 int main() {
18318 return LC_MESSAGES
18319 ; return 0; }
18320 EOF
18321 if { (eval echo configure:18322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18322   rm -rf conftest*
18323   ac_cv_val_LC_MESSAGES=yes
18324 else
18325   echo "configure: failed program was:" >&5
18326   cat conftest.$ac_ext >&5
18327   rm -rf conftest*
18328   ac_cv_val_LC_MESSAGES=no
18329 fi
18330 rm -f conftest*
18331 fi
18332
18333 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18334     if test $ac_cv_val_LC_MESSAGES = yes; then
18335       cat >> confdefs.h <<\EOF
18336 #define HAVE_LC_MESSAGES 1
18337 EOF
18338
18339     fi
18340   fi
18341
18342
18343 if test "${multilib}" = "yes"; then
18344   multilib_arg="--enable-multilib"
18345 else
18346   multilib_arg=
18347 fi
18348
18349
18350 # Generate the various Makefiles, include files, and scripts.
18351
18352 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18353 # so that multilib installs will end up installed in the correct
18354 # place. To work around this not being passed down from config-ml.in
18355 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18356 # append it here.
18357
18358 trap '' 1 2 15
18359 cat > confcache <<\EOF
18360 # This file is a shell script that caches the results of configure
18361 # tests run on this system so they can be shared between configure
18362 # scripts and configure runs.  It is not useful on other systems.
18363 # If it contains results you don't want to keep, you may remove or edit it.
18364 #
18365 # By default, configure uses ./config.cache as the cache file,
18366 # creating it if it does not exist already.  You can give configure
18367 # the --cache-file=FILE option to use a different cache file; that is
18368 # what configure does when it calls configure scripts in
18369 # subdirectories, so they share the cache.
18370 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18371 # config.status only pays attention to the cache file if you give it the
18372 # --recheck option to rerun configure.
18373 #
18374 EOF
18375 # The following way of writing the cache mishandles newlines in values,
18376 # but we know of no workaround that is simple, portable, and efficient.
18377 # So, don't put newlines in cache variables' values.
18378 # Ultrix sh set writes to stderr and can't be redirected directly,
18379 # and sets the high bit in the cache file unless we assign to the vars.
18380 (set) 2>&1 |
18381   case `(ac_space=' '; set | grep ac_space) 2>&1` in
18382   *ac_space=\ *)
18383     # `set' does not quote correctly, so add quotes (double-quote substitution
18384     # turns \\\\ into \\, and sed turns \\ into \).
18385     sed -n \
18386       -e "s/'/'\\\\''/g" \
18387       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18388     ;;
18389   *)
18390     # `set' quotes correctly as required by POSIX, so do not add quotes.
18391     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18392     ;;
18393   esac >> confcache
18394 if cmp -s $cache_file confcache; then
18395   :
18396 else
18397   if test -w $cache_file; then
18398     echo "updating cache $cache_file"
18399     cat confcache > $cache_file
18400   else
18401     echo "not updating unwritable cache $cache_file"
18402   fi
18403 fi
18404 rm -f confcache
18405
18406 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18407
18408 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18409 # Let make expand exec_prefix.
18410 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18411
18412 # Any assignment to VPATH causes Sun make to only execute
18413 # the first set of double-colon rules, so remove it if not needed.
18414 # If there is a colon in the path, we need to keep it.
18415 if test "x$srcdir" = x.; then
18416   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
18417 fi
18418
18419 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18420
18421 DEFS=-DHAVE_CONFIG_H
18422
18423 # Without the "./", some shells look in PATH for config.status.
18424 : ${CONFIG_STATUS=./config.status}
18425
18426 echo creating $CONFIG_STATUS
18427 rm -f $CONFIG_STATUS
18428 cat > $CONFIG_STATUS <<EOF
18429 #! /bin/sh
18430 # Generated automatically by configure.
18431 # Run this file to recreate the current configuration.
18432 # This directory was configured as follows,
18433 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18434 #
18435 # $0 $ac_configure_args
18436 #
18437 # Compiler output produced by configure, useful for debugging
18438 # configure, is in ./config.log if it exists.
18439
18440 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18441 for ac_option
18442 do
18443   case "\$ac_option" in
18444   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18445     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18446     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18447   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18448     echo "$CONFIG_STATUS generated by autoconf version 2.13"
18449     exit 0 ;;
18450   -help | --help | --hel | --he | --h)
18451     echo "\$ac_cs_usage"; exit 0 ;;
18452   *) echo "\$ac_cs_usage"; exit 1 ;;
18453   esac
18454 done
18455
18456 ac_given_srcdir=$srcdir
18457 ac_given_INSTALL="$INSTALL"
18458
18459 trap 'rm -fr `echo "mkcheck Makefile src/Makefile math/Makefile libio/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18460 EOF
18461 cat >> $CONFIG_STATUS <<EOF
18462
18463 # Protect against being on the right side of a sed subst in config.status.
18464 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18465  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18466 $ac_vpsub
18467 $extrasub
18468 s%@SHELL@%$SHELL%g
18469 s%@CFLAGS@%$CFLAGS%g
18470 s%@CPPFLAGS@%$CPPFLAGS%g
18471 s%@CXXFLAGS@%$CXXFLAGS%g
18472 s%@FFLAGS@%$FFLAGS%g
18473 s%@DEFS@%$DEFS%g
18474 s%@LDFLAGS@%$LDFLAGS%g
18475 s%@LIBS@%$LIBS%g
18476 s%@exec_prefix@%$exec_prefix%g
18477 s%@prefix@%$prefix%g
18478 s%@program_transform_name@%$program_transform_name%g
18479 s%@bindir@%$bindir%g
18480 s%@sbindir@%$sbindir%g
18481 s%@libexecdir@%$libexecdir%g
18482 s%@datadir@%$datadir%g
18483 s%@sysconfdir@%$sysconfdir%g
18484 s%@sharedstatedir@%$sharedstatedir%g
18485 s%@localstatedir@%$localstatedir%g
18486 s%@libdir@%$libdir%g
18487 s%@includedir@%$includedir%g
18488 s%@oldincludedir@%$oldincludedir%g
18489 s%@infodir@%$infodir%g
18490 s%@mandir@%$mandir%g
18491 s%@host@%$host%g
18492 s%@host_alias@%$host_alias%g
18493 s%@host_cpu@%$host_cpu%g
18494 s%@host_vendor@%$host_vendor%g
18495 s%@host_os@%$host_os%g
18496 s%@target@%$target%g
18497 s%@target_alias@%$target_alias%g
18498 s%@target_cpu@%$target_cpu%g
18499 s%@target_vendor@%$target_vendor%g
18500 s%@target_os@%$target_os%g
18501 s%@build@%$build%g
18502 s%@build_alias@%$build_alias%g
18503 s%@build_cpu@%$build_cpu%g
18504 s%@build_vendor@%$build_vendor%g
18505 s%@build_os@%$build_os%g
18506 s%@glibcpp_basedir@%$glibcpp_basedir%g
18507 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18508 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18509 s%@INSTALL_DATA@%$INSTALL_DATA%g
18510 s%@PACKAGE@%$PACKAGE%g
18511 s%@VERSION@%$VERSION%g
18512 s%@ACLOCAL@%$ACLOCAL%g
18513 s%@AUTOCONF@%$AUTOCONF%g
18514 s%@AUTOMAKE@%$AUTOMAKE%g
18515 s%@AUTOHEADER@%$AUTOHEADER%g
18516 s%@MAKEINFO@%$MAKEINFO%g
18517 s%@SET_MAKE@%$SET_MAKE%g
18518 s%@CC@%$CC%g
18519 s%@CXX@%$CXX%g
18520 s%@AS@%$AS%g
18521 s%@AR@%$AR%g
18522 s%@RANLIB@%$RANLIB%g
18523 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18524 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18525 s%@MAINT@%$MAINT%g
18526 s%@EXEEXT@%$EXEEXT%g
18527 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
18528 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
18529 s%@LN_S@%$LN_S%g
18530 s%@OBJEXT@%$OBJEXT%g
18531 s%@STRIP@%$STRIP%g
18532 s%@LIBTOOL@%$LIBTOOL%g
18533 s%@CXXCPP@%$CXXCPP%g
18534 s%@ifGNUmake@%$ifGNUmake%g
18535 s%@CPP@%$CPP%g
18536 s%@cpu_include_dir@%$cpu_include_dir%g
18537 s%@CPU_FLAGS@%$CPU_FLAGS%g
18538 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18539 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18540 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18541 s%@GLIBCPP_NEED_XTRA_LIBIO_TRUE@%$GLIBCPP_NEED_XTRA_LIBIO_TRUE%g
18542 s%@GLIBCPP_NEED_XTRA_LIBIO_FALSE@%$GLIBCPP_NEED_XTRA_LIBIO_FALSE%g
18543 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18544 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18545 s%@CSHADOWFLAGS@%$CSHADOWFLAGS%g
18546 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18547 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18548 s%@THREADLIBS@%$THREADLIBS%g
18549 s%@THREADINCS@%$THREADINCS%g
18550 s%@THREADDEPS@%$THREADDEPS%g
18551 s%@THREADOBJS@%$THREADOBJS%g
18552 s%@THREADSPEC@%$THREADSPEC%g
18553 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18554 s%@ctype_include_dir@%$ctype_include_dir%g
18555 s%@WERROR@%$WERROR%g
18556 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
18557 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18558 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18559 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18560 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18561 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18562 s%@libinst_wstring_la@%$libinst_wstring_la%g
18563 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
18564 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
18565 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
18566 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
18567 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
18568 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
18569 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
18570 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
18571
18572 CEOF
18573 EOF
18574
18575 cat >> $CONFIG_STATUS <<\EOF
18576
18577 # Split the substitutions into bite-sized pieces for seds with
18578 # small command number limits, like on Digital OSF/1 and HP-UX.
18579 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18580 ac_file=1 # Number of current file.
18581 ac_beg=1 # First line for current file.
18582 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18583 ac_more_lines=:
18584 ac_sed_cmds=""
18585 while $ac_more_lines; do
18586   if test $ac_beg -gt 1; then
18587     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18588   else
18589     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18590   fi
18591   if test ! -s conftest.s$ac_file; then
18592     ac_more_lines=false
18593     rm -f conftest.s$ac_file
18594   else
18595     if test -z "$ac_sed_cmds"; then
18596       ac_sed_cmds="sed -f conftest.s$ac_file"
18597     else
18598       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18599     fi
18600     ac_file=`expr $ac_file + 1`
18601     ac_beg=$ac_end
18602     ac_end=`expr $ac_end + $ac_max_sed_cmds`
18603   fi
18604 done
18605 if test -z "$ac_sed_cmds"; then
18606   ac_sed_cmds=cat
18607 fi
18608 EOF
18609
18610 cat >> $CONFIG_STATUS <<EOF
18611
18612 CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile math/Makefile libio/Makefile"}
18613 EOF
18614 cat >> $CONFIG_STATUS <<\EOF
18615 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18616   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18617   case "$ac_file" in
18618   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18619        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18620   *) ac_file_in="${ac_file}.in" ;;
18621   esac
18622
18623   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18624
18625   # Remove last slash and all that follows it.  Not all systems have dirname.
18626   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18627   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18628     # The file is in a subdirectory.
18629     test ! -d "$ac_dir" && mkdir "$ac_dir"
18630     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18631     # A "../" for each directory in $ac_dir_suffix.
18632     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18633   else
18634     ac_dir_suffix= ac_dots=
18635   fi
18636
18637   case "$ac_given_srcdir" in
18638   .)  srcdir=.
18639       if test -z "$ac_dots"; then top_srcdir=.
18640       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18641   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18642   *) # Relative path.
18643     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18644     top_srcdir="$ac_dots$ac_given_srcdir" ;;
18645   esac
18646
18647   case "$ac_given_INSTALL" in
18648   [/$]*) INSTALL="$ac_given_INSTALL" ;;
18649   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18650   esac
18651
18652   echo creating "$ac_file"
18653   rm -f "$ac_file"
18654   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18655   case "$ac_file" in
18656   *Makefile*) ac_comsub="1i\\
18657 # $configure_input" ;;
18658   *) ac_comsub= ;;
18659   esac
18660
18661   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18662   sed -e "$ac_comsub
18663 s%@configure_input@%$configure_input%g
18664 s%@srcdir@%$srcdir%g
18665 s%@top_srcdir@%$top_srcdir%g
18666 s%@INSTALL@%$INSTALL%g
18667 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18668 fi; done
18669 rm -f conftest.s*
18670
18671 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18672 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18673 #
18674 # ac_d sets the value in "#define NAME VALUE" lines.
18675 ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
18676 ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
18677 ac_dC='\3'
18678 ac_dD='%g'
18679 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18680 ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
18681 ac_uB='\([      ]\)%\1#\2define\3'
18682 ac_uC=' '
18683 ac_uD='\4%g'
18684 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18685 ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
18686 ac_eB='$%\1#\2define\3'
18687 ac_eC=' '
18688 ac_eD='%g'
18689
18690 if test "${CONFIG_HEADERS+set}" != set; then
18691 EOF
18692 cat >> $CONFIG_STATUS <<EOF
18693   CONFIG_HEADERS="config.h"
18694 EOF
18695 cat >> $CONFIG_STATUS <<\EOF
18696 fi
18697 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18698   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18699   case "$ac_file" in
18700   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18701        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18702   *) ac_file_in="${ac_file}.in" ;;
18703   esac
18704
18705   echo creating $ac_file
18706
18707   rm -f conftest.frag conftest.in conftest.out
18708   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18709   cat $ac_file_inputs > conftest.in
18710
18711 EOF
18712
18713 # Transform confdefs.h into a sed script conftest.vals that substitutes
18714 # the proper values into config.h.in to produce config.h.  And first:
18715 # Protect against being on the right side of a sed subst in config.status.
18716 # Protect against being in an unquoted here document in config.status.
18717 rm -f conftest.vals
18718 cat > conftest.hdr <<\EOF
18719 s/[\\&%]/\\&/g
18720 s%[\\$`]%\\&%g
18721 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18722 s%ac_d%ac_u%gp
18723 s%ac_u%ac_e%gp
18724 EOF
18725 sed -n -f conftest.hdr confdefs.h > conftest.vals
18726 rm -f conftest.hdr
18727
18728 # This sed command replaces #undef with comments.  This is necessary, for
18729 # example, in the case of _POSIX_SOURCE, which is predefined and required
18730 # on some systems where configure will not decide to define it.
18731 cat >> conftest.vals <<\EOF
18732 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18733 EOF
18734
18735 # Break up conftest.vals because some shells have a limit on
18736 # the size of here documents, and old seds have small limits too.
18737
18738 rm -f conftest.tail
18739 while :
18740 do
18741   ac_lines=`grep -c . conftest.vals`
18742   # grep -c gives empty output for an empty file on some AIX systems.
18743   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18744   # Write a limited-size here document to conftest.frag.
18745   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18746   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18747   echo 'CEOF
18748   sed -f conftest.frag conftest.in > conftest.out
18749   rm -f conftest.in
18750   mv conftest.out conftest.in
18751 ' >> $CONFIG_STATUS
18752   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18753   rm -f conftest.vals
18754   mv conftest.tail conftest.vals
18755 done
18756 rm -f conftest.vals
18757
18758 cat >> $CONFIG_STATUS <<\EOF
18759   rm -f conftest.frag conftest.h
18760   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
18761   cat conftest.in >> conftest.h
18762   rm -f conftest.in
18763   if cmp -s $ac_file conftest.h 2>/dev/null; then
18764     echo "$ac_file is unchanged"
18765     rm -f conftest.h
18766   else
18767     # Remove last slash and all that follows it.  Not all systems have dirname.
18768       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18769       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18770       # The file is in a subdirectory.
18771       test ! -d "$ac_dir" && mkdir "$ac_dir"
18772     fi
18773     rm -f $ac_file
18774     mv conftest.h $ac_file
18775   fi
18776 fi; done
18777
18778 EOF
18779
18780 cat >> $CONFIG_STATUS <<EOF
18781 ac_sources="$CSTDIO_H $CSTDIO_CC config/$THREADH"
18782 ac_dests="bits/c++io.h src/c++io.cc bits/c++threads.h"
18783 EOF
18784
18785 cat >> $CONFIG_STATUS <<\EOF
18786 srcdir=$ac_given_srcdir
18787 while test -n "$ac_sources"; do
18788   set $ac_dests; ac_dest=$1; shift; ac_dests=$*
18789   set $ac_sources; ac_source=$1; shift; ac_sources=$*
18790
18791   echo "linking $srcdir/$ac_source to $ac_dest"
18792
18793   if test ! -r $srcdir/$ac_source; then
18794     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
18795   fi
18796   rm -f $ac_dest
18797
18798   # Make relative symlinks.
18799   # Remove last slash and all that follows it.  Not all systems have dirname.
18800   ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
18801   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
18802     # The dest file is in a subdirectory.
18803     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
18804     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
18805     # A "../" for each directory in $ac_dest_dir_suffix.
18806     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
18807   else
18808     ac_dest_dir_suffix= ac_dots=
18809   fi
18810
18811   case "$srcdir" in
18812   [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
18813   *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
18814   esac
18815
18816   # Make a symlink if possible; otherwise try a hard link.
18817   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
18818     ln $srcdir/$ac_source $ac_dest; then :
18819   else
18820     { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
18821   fi
18822 done
18823 EOF
18824 cat >> $CONFIG_STATUS <<EOF
18825
18826 srcdir=${srcdir}
18827 host=${host}
18828 target=${target}
18829 with_multisubdir=${with_multisubdir}
18830 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18831 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18832 glibcpp_basedir=${glibcpp_basedir}
18833 CC="${CC}"
18834 CXX="${CXX}"
18835
18836 EOF
18837 cat >> $CONFIG_STATUS <<\EOF
18838 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
18839 if test -n "$CONFIG_FILES"; then
18840   ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
18841   grep '^MULTISUBDIR =' Makefile >> src/Makefile
18842 fi
18843 exit 0
18844 EOF
18845 chmod +x $CONFIG_STATUS
18846 rm -fr confdefs* $ac_clean_files
18847 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18848
18849
18850
18851 blddir=`pwd`
18852 # Generate bits/c++config.h
18853 # NB: This must be the first generated file as others include it. . .
18854
18855
18856 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
18857
18858
18859
18860 # Sanity checking & User-visible messages.
18861 # Checks down here, otherwise they get scrolled off before
18862 # the user will notice.
18863 if test "$enable_namespaces" = "yes" && test "$enable_libgcc_rebuild" = "no"
18864 then
18865   echo "configure: warning: libgcc.a will not match mangled symbols unless it is rebuilt" 1>&2
18866 fi
18867 if test "$enable_namespaces" = "no" && test "$enable_libgcc_rebuild" != "no"
18868 then
18869   # Other things besides namespaces can make this true as well, but none
18870   # of them are done automatically... yet
18871   echo "configure: warning: no point in rebuilding libgcc.a if namespaces aren't used" 1>&2
18872 fi
18873
18874 # Trying to get more people to read documentation.  Possibly remove
18875 # check and warn all the time. There is no "informational" AC_MSG_
18876 # macro, so these are going to be printed even when --quiet/--silent
18877 # is given.
18878 if test ! -f stamp-sanity-warned; then
18879   touch stamp-sanity-warned
18880   echo ""
18881   echo "Please make certain that you read the installation information here:"
18882   echo "  faster => ${srcdir}/docs/install.html"
18883   echo "  slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
18884   echo ""
18885   echo "and the configuration information here:"
18886   echo "  faster => ${srcdir}/docs/configopts.html"
18887   echo "  slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
18888   echo ""
18889   echo "before proceeding with ${_cv_gnu_make_command}."
18890   echo ""
18891 fi
18892
18893
18894 $srcdir/mkc++config $blddir $srcdir
18895 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
18896
18897