Makefile.am: Use it.
[platform/upstream/gcc.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       # Tru64's nm complains that /dev/null is an invalid object file
1740       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1741         ac_cv_path_NM="$tmp_nm -B"
1742         break
1743       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1744         ac_cv_path_NM="$tmp_nm -p"
1745         break
1746       else
1747         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1748         continue # so that we can try to find one that supports BSD flags
1749       fi
1750     fi
1751   done
1752   IFS="$ac_save_ifs"
1753   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1754 fi
1755 fi
1756
1757 NM="$ac_cv_path_NM"
1758 echo "$ac_t""$NM" 1>&6
1759
1760 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1761 echo "configure:1762: checking whether ln -s works" >&5
1762 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1763   echo $ac_n "(cached) $ac_c" 1>&6
1764 else
1765   rm -f conftestdata
1766 if ln -s X conftestdata 2>/dev/null
1767 then
1768   rm -f conftestdata
1769   ac_cv_prog_LN_S="ln -s"
1770 else
1771   ac_cv_prog_LN_S=ln
1772 fi
1773 fi
1774 LN_S="$ac_cv_prog_LN_S"
1775 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1776   echo "$ac_t""yes" 1>&6
1777 else
1778   echo "$ac_t""no" 1>&6
1779 fi
1780
1781 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1782 echo "configure:1783: checking how to recognise dependant libraries" >&5
1783 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1784   echo $ac_n "(cached) $ac_c" 1>&6
1785 else
1786   lt_cv_file_magic_cmd='$MAGIC_CMD'
1787 lt_cv_file_magic_test_file=
1788 lt_cv_deplibs_check_method='unknown'
1789 # Need to set the preceding variable on all platforms that support
1790 # interlibrary dependencies.
1791 # 'none' -- dependencies not supported.
1792 # `unknown' -- same as none, but documents that we really don't know.
1793 # 'pass_all' -- all dependencies passed with no checks.
1794 # 'test_compile' -- check by making test program.
1795 # 'file_magic [regex]' -- check by looking for files in library path
1796 # which responds to the $file_magic_cmd with a given egrep regex.
1797 # If you have `file' or equivalent on your system and you're not sure
1798 # whether `pass_all' will *always* work, you probably want this one.
1799
1800 case "$host_os" in
1801 aix4*)
1802   lt_cv_deplibs_check_method=pass_all
1803   ;;
1804
1805 beos*)
1806   lt_cv_deplibs_check_method=pass_all
1807   ;;
1808
1809 bsdi4*)
1810     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1811     lt_cv_file_magic_cmd='/usr/bin/file -L'
1812   lt_cv_file_magic_test_file=/shlib/libc.so
1813   ;;
1814
1815 cygwin* | mingw* |pw32*)
1816   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1817   lt_cv_file_magic_cmd='$OBJDUMP -f'
1818   ;;
1819
1820 freebsd* )
1821   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1822     case "$host_cpu" in
1823     i*86 )
1824       # Not sure whether the presence of OpenBSD here was a mistake.
1825       # Let's accept both of them until this is cleared up.
1826             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1827             lt_cv_file_magic_cmd=/usr/bin/file
1828       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1829       ;;
1830     esac
1831   else
1832     lt_cv_deplibs_check_method=pass_all
1833   fi
1834   ;;
1835
1836 gnu*)
1837   lt_cv_deplibs_check_method=pass_all
1838   ;;
1839
1840 hpux10.20*)
1841   # TODO:  Does this work for hpux-11 too?
1842   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1843   lt_cv_file_magic_cmd=/usr/bin/file
1844   lt_cv_file_magic_test_file=/usr/lib/libc.sl
1845   ;;
1846
1847 irix5* | irix6*)
1848   case "$host_os" in
1849   irix5*)
1850     # this will be overridden with pass_all, but let us keep it just in case
1851     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1852     ;;
1853   *)
1854     case "$LD" in
1855     *-32|*"-32 ") libmagic=32-bit;;
1856     *-n32|*"-n32 ") libmagic=N32;;
1857     *-64|*"-64 ") libmagic=64-bit;;
1858     *) libmagic=never-match;;
1859     esac
1860     # this will be overridden with pass_all, but let us keep it just in case
1861         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1862         ;;
1863   esac
1864   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1865   lt_cv_deplibs_check_method=pass_all
1866   ;;
1867
1868 # This must be Linux ELF.
1869 linux-gnu*)
1870   case "$host_cpu" in
1871   alpha* | i*86 | powerpc* | sparc* | ia64* )
1872     lt_cv_deplibs_check_method=pass_all ;;
1873   *)
1874     # glibc up to 2.1.1 does not perform some relocations on ARM
1875         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1876       esac
1877   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1878   ;;
1879
1880 netbsd*)
1881   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1882   else
1883         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1884         lt_cv_file_magic_cmd='/usr/bin/file -L'
1885     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1886   fi
1887   ;;
1888
1889 osf3* | osf4* | osf5*)
1890   # this will be overridden with pass_all, but let us keep it just in case
1891   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1892   lt_cv_file_magic_test_file=/shlib/libc.so
1893   lt_cv_deplibs_check_method=pass_all
1894   ;;
1895
1896 sco3.2v5*)
1897   lt_cv_deplibs_check_method=pass_all
1898   ;;
1899
1900 solaris*)
1901   lt_cv_deplibs_check_method=pass_all
1902   lt_cv_file_magic_test_file=/lib/libc.so
1903   ;;
1904
1905 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1906   case "$host_vendor" in
1907   ncr)
1908     lt_cv_deplibs_check_method=pass_all
1909     ;;
1910   motorola)
1911         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]'
1912         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1913     ;;
1914   esac
1915   ;;
1916 esac
1917
1918 fi
1919
1920 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1921 file_magic_cmd=$lt_cv_file_magic_cmd
1922 deplibs_check_method=$lt_cv_deplibs_check_method
1923
1924 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1925 echo "configure:1926: checking for object suffix" >&5
1926 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1927   echo $ac_n "(cached) $ac_c" 1>&6
1928 else
1929   rm -f conftest*
1930 echo 'int i = 1;' > conftest.$ac_ext
1931 if { (eval echo configure:1932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1932   for ac_file in conftest.*; do
1933     case $ac_file in
1934     *.c) ;;
1935     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1936     esac
1937   done
1938 else
1939   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1940 fi
1941 rm -f conftest*
1942 fi
1943
1944 echo "$ac_t""$ac_cv_objext" 1>&6
1945 OBJEXT=$ac_cv_objext
1946 ac_objext=$ac_cv_objext
1947
1948 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1949
1950 # Only perform the check for file, if the check method requires it
1951 case "$deplibs_check_method" in
1952 file_magic*)
1953   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1954     echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1955 echo "configure:1956: checking for ${ac_tool_prefix}file" >&5
1956 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1957   echo $ac_n "(cached) $ac_c" 1>&6
1958 else
1959   case "$MAGIC_CMD" in
1960   /*)
1961   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1962   ;;
1963   ?:/*)
1964   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1965   ;;
1966   *)
1967   ac_save_MAGIC_CMD="$MAGIC_CMD"
1968   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1969   ac_dummy="/usr/bin:$PATH"
1970   for ac_dir in $ac_dummy; do
1971     test -z "$ac_dir" && ac_dir=.
1972     if test -f $ac_dir/${ac_tool_prefix}file; then
1973       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1974       if test -n "$file_magic_test_file"; then
1975         case "$deplibs_check_method" in
1976         "file_magic "*)
1977           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1978           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1979           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1980             egrep "$file_magic_regex" > /dev/null; then
1981             :
1982           else
1983             cat <<EOF 1>&2
1984
1985 *** Warning: the command libtool uses to detect shared libraries,
1986 *** $file_magic_cmd, produces output that libtool cannot recognize.
1987 *** The result is that libtool may fail to recognize shared libraries
1988 *** as such.  This will affect the creation of libtool libraries that
1989 *** depend on shared libraries, but programs linked with such libtool
1990 *** libraries will work regardless of this problem.  Nevertheless, you
1991 *** may want to report the problem to your system manager and/or to
1992 *** bug-libtool@gnu.org
1993
1994 EOF
1995           fi ;;
1996         esac
1997       fi
1998       break
1999     fi
2000   done
2001   IFS="$ac_save_ifs"
2002   MAGIC_CMD="$ac_save_MAGIC_CMD"
2003   ;;
2004 esac
2005 fi
2006
2007 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2008 if test -n "$MAGIC_CMD"; then
2009   echo "$ac_t""$MAGIC_CMD" 1>&6
2010 else
2011   echo "$ac_t""no" 1>&6
2012 fi
2013
2014 if test -z "$lt_cv_path_MAGIC_CMD"; then
2015   if test -n "$ac_tool_prefix"; then
2016     echo $ac_n "checking for file""... $ac_c" 1>&6
2017 echo "configure:2018: checking for file" >&5
2018 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2019   echo $ac_n "(cached) $ac_c" 1>&6
2020 else
2021   case "$MAGIC_CMD" in
2022   /*)
2023   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2024   ;;
2025   ?:/*)
2026   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2027   ;;
2028   *)
2029   ac_save_MAGIC_CMD="$MAGIC_CMD"
2030   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2031   ac_dummy="/usr/bin:$PATH"
2032   for ac_dir in $ac_dummy; do
2033     test -z "$ac_dir" && ac_dir=.
2034     if test -f $ac_dir/file; then
2035       lt_cv_path_MAGIC_CMD="$ac_dir/file"
2036       if test -n "$file_magic_test_file"; then
2037         case "$deplibs_check_method" in
2038         "file_magic "*)
2039           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2040           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2041           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2042             egrep "$file_magic_regex" > /dev/null; then
2043             :
2044           else
2045             cat <<EOF 1>&2
2046
2047 *** Warning: the command libtool uses to detect shared libraries,
2048 *** $file_magic_cmd, produces output that libtool cannot recognize.
2049 *** The result is that libtool may fail to recognize shared libraries
2050 *** as such.  This will affect the creation of libtool libraries that
2051 *** depend on shared libraries, but programs linked with such libtool
2052 *** libraries will work regardless of this problem.  Nevertheless, you
2053 *** may want to report the problem to your system manager and/or to
2054 *** bug-libtool@gnu.org
2055
2056 EOF
2057           fi ;;
2058         esac
2059       fi
2060       break
2061     fi
2062   done
2063   IFS="$ac_save_ifs"
2064   MAGIC_CMD="$ac_save_MAGIC_CMD"
2065   ;;
2066 esac
2067 fi
2068
2069 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2070 if test -n "$MAGIC_CMD"; then
2071   echo "$ac_t""$MAGIC_CMD" 1>&6
2072 else
2073   echo "$ac_t""no" 1>&6
2074 fi
2075
2076   else
2077     MAGIC_CMD=:
2078   fi
2079 fi
2080
2081   fi
2082   ;;
2083 esac
2084
2085 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2086 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2087 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2088 echo "configure:2089: checking for $ac_word" >&5
2089 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2090   echo $ac_n "(cached) $ac_c" 1>&6
2091 else
2092   if test -n "$RANLIB"; then
2093   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2094 else
2095   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2096   ac_dummy="$PATH"
2097   for ac_dir in $ac_dummy; do
2098     test -z "$ac_dir" && ac_dir=.
2099     if test -f $ac_dir/$ac_word; then
2100       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2101       break
2102     fi
2103   done
2104   IFS="$ac_save_ifs"
2105 fi
2106 fi
2107 RANLIB="$ac_cv_prog_RANLIB"
2108 if test -n "$RANLIB"; then
2109   echo "$ac_t""$RANLIB" 1>&6
2110 else
2111   echo "$ac_t""no" 1>&6
2112 fi
2113
2114
2115 if test -z "$ac_cv_prog_RANLIB"; then
2116 if test -n "$ac_tool_prefix"; then
2117   # Extract the first word of "ranlib", so it can be a program name with args.
2118 set dummy ranlib; ac_word=$2
2119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2120 echo "configure:2121: checking for $ac_word" >&5
2121 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2122   echo $ac_n "(cached) $ac_c" 1>&6
2123 else
2124   if test -n "$RANLIB"; then
2125   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2126 else
2127   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2128   ac_dummy="$PATH"
2129   for ac_dir in $ac_dummy; do
2130     test -z "$ac_dir" && ac_dir=.
2131     if test -f $ac_dir/$ac_word; then
2132       ac_cv_prog_RANLIB="ranlib"
2133       break
2134     fi
2135   done
2136   IFS="$ac_save_ifs"
2137   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2138 fi
2139 fi
2140 RANLIB="$ac_cv_prog_RANLIB"
2141 if test -n "$RANLIB"; then
2142   echo "$ac_t""$RANLIB" 1>&6
2143 else
2144   echo "$ac_t""no" 1>&6
2145 fi
2146
2147 else
2148   RANLIB=":"
2149 fi
2150 fi
2151
2152 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2153 set dummy ${ac_tool_prefix}strip; ac_word=$2
2154 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2155 echo "configure:2156: checking for $ac_word" >&5
2156 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2157   echo $ac_n "(cached) $ac_c" 1>&6
2158 else
2159   if test -n "$STRIP"; then
2160   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2161 else
2162   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2163   ac_dummy="$PATH"
2164   for ac_dir in $ac_dummy; do
2165     test -z "$ac_dir" && ac_dir=.
2166     if test -f $ac_dir/$ac_word; then
2167       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2168       break
2169     fi
2170   done
2171   IFS="$ac_save_ifs"
2172 fi
2173 fi
2174 STRIP="$ac_cv_prog_STRIP"
2175 if test -n "$STRIP"; then
2176   echo "$ac_t""$STRIP" 1>&6
2177 else
2178   echo "$ac_t""no" 1>&6
2179 fi
2180
2181
2182 if test -z "$ac_cv_prog_STRIP"; then
2183 if test -n "$ac_tool_prefix"; then
2184   # Extract the first word of "strip", so it can be a program name with args.
2185 set dummy strip; ac_word=$2
2186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2187 echo "configure:2188: checking for $ac_word" >&5
2188 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2189   echo $ac_n "(cached) $ac_c" 1>&6
2190 else
2191   if test -n "$STRIP"; then
2192   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2193 else
2194   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2195   ac_dummy="$PATH"
2196   for ac_dir in $ac_dummy; do
2197     test -z "$ac_dir" && ac_dir=.
2198     if test -f $ac_dir/$ac_word; then
2199       ac_cv_prog_STRIP="strip"
2200       break
2201     fi
2202   done
2203   IFS="$ac_save_ifs"
2204   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2205 fi
2206 fi
2207 STRIP="$ac_cv_prog_STRIP"
2208 if test -n "$STRIP"; then
2209   echo "$ac_t""$STRIP" 1>&6
2210 else
2211   echo "$ac_t""no" 1>&6
2212 fi
2213
2214 else
2215   STRIP=":"
2216 fi
2217 fi
2218
2219
2220 # Check for any special flags to pass to ltconfig.
2221 libtool_flags="--cache-file=$cache_file"
2222 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2223 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2224 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2225 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2226 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2227 libtool_flags="$libtool_flags --enable-dlopen"
2228
2229 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2230 if test "${enable_libtool_lock+set}" = set; then
2231   enableval="$enable_libtool_lock"
2232   :
2233 fi
2234
2235 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2236 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2237
2238 # Check whether --with-pic or --without-pic was given.
2239 if test "${with_pic+set}" = set; then
2240   withval="$with_pic"
2241   pic_mode="$withval"
2242 else
2243   pic_mode=default
2244 fi
2245
2246 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2247 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2248
2249 # Some flags need to be propagated to the compiler or linker for good
2250 # libtool support.
2251 case "$host" in
2252 *-*-irix6*)
2253   # Find out which ABI we are using.
2254   echo '#line 2255 "configure"' > conftest.$ac_ext
2255   if { (eval echo configure:2256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2256     case "`/usr/bin/file conftest.o`" in
2257     *32-bit*)
2258       LD="${LD-ld} -32"
2259       ;;
2260     *N32*)
2261       LD="${LD-ld} -n32"
2262       ;;
2263     *64-bit*)
2264       LD="${LD-ld} -64"
2265       ;;
2266     esac
2267   fi
2268   rm -rf conftest*
2269   ;;
2270
2271 *-*-sco3.2v5*)
2272   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2273   SAVE_CFLAGS="$CFLAGS"
2274   CFLAGS="$CFLAGS -belf"
2275   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2276 echo "configure:2277: checking whether the C compiler needs -belf" >&5
2277 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2278   echo $ac_n "(cached) $ac_c" 1>&6
2279 else
2280   
2281      ac_ext=c
2282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2283 ac_cpp='$CPP $CPPFLAGS'
2284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2286 cross_compiling=$ac_cv_prog_cc_cross
2287
2288      cat > conftest.$ac_ext <<EOF
2289 #line 2290 "configure"
2290 #include "confdefs.h"
2291
2292 int main() {
2293
2294 ; return 0; }
2295 EOF
2296 if { (eval echo configure:2297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2297   rm -rf conftest*
2298   lt_cv_cc_needs_belf=yes
2299 else
2300   echo "configure: failed program was:" >&5
2301   cat conftest.$ac_ext >&5
2302   rm -rf conftest*
2303   lt_cv_cc_needs_belf=no
2304 fi
2305 rm -f conftest*
2306      ac_ext=c
2307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2308 ac_cpp='$CPP $CPPFLAGS'
2309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2311 cross_compiling=$ac_cv_prog_cc_cross
2312
2313 fi
2314
2315 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2316   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2317     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2318     CFLAGS="$SAVE_CFLAGS"
2319   fi
2320   ;;
2321
2322
2323 esac
2324
2325 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2326 echo "configure:2327: checking how to run the C++ preprocessor" >&5
2327 if test -z "$CXXCPP"; then
2328 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2329   echo $ac_n "(cached) $ac_c" 1>&6
2330 else
2331   ac_ext=C
2332 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2333 ac_cpp='$CXXCPP $CPPFLAGS'
2334 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2335 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2336 cross_compiling=$ac_cv_prog_cxx_cross
2337   CXXCPP="${CXX-g++} -E"
2338   cat > conftest.$ac_ext <<EOF
2339 #line 2340 "configure"
2340 #include "confdefs.h"
2341 #include <stdlib.h>
2342 EOF
2343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2344 { (eval echo configure:2345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2346 if test -z "$ac_err"; then
2347   :
2348 else
2349   echo "$ac_err" >&5
2350   echo "configure: failed program was:" >&5
2351   cat conftest.$ac_ext >&5
2352   rm -rf conftest*
2353   CXXCPP=/lib/cpp
2354 fi
2355 rm -f conftest*
2356   ac_cv_prog_CXXCPP="$CXXCPP"
2357 ac_ext=c
2358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2359 ac_cpp='$CPP $CPPFLAGS'
2360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2362 cross_compiling=$ac_cv_prog_cc_cross
2363 fi
2364 fi
2365 CXXCPP="$ac_cv_prog_CXXCPP"
2366 echo "$ac_t""$CXXCPP" 1>&6
2367
2368
2369 # Save cache, so that ltconfig can load it
2370 cat > confcache <<\EOF
2371 # This file is a shell script that caches the results of configure
2372 # tests run on this system so they can be shared between configure
2373 # scripts and configure runs.  It is not useful on other systems.
2374 # If it contains results you don't want to keep, you may remove or edit it.
2375 #
2376 # By default, configure uses ./config.cache as the cache file,
2377 # creating it if it does not exist already.  You can give configure
2378 # the --cache-file=FILE option to use a different cache file; that is
2379 # what configure does when it calls configure scripts in
2380 # subdirectories, so they share the cache.
2381 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2382 # config.status only pays attention to the cache file if you give it the
2383 # --recheck option to rerun configure.
2384 #
2385 EOF
2386 # The following way of writing the cache mishandles newlines in values,
2387 # but we know of no workaround that is simple, portable, and efficient.
2388 # So, don't put newlines in cache variables' values.
2389 # Ultrix sh set writes to stderr and can't be redirected directly,
2390 # and sets the high bit in the cache file unless we assign to the vars.
2391 (set) 2>&1 |
2392   case `(ac_space=' '; set | grep ac_space) 2>&1` in
2393   *ac_space=\ *)
2394     # `set' does not quote correctly, so add quotes (double-quote substitution
2395     # turns \\\\ into \\, and sed turns \\ into \).
2396     sed -n \
2397       -e "s/'/'\\\\''/g" \
2398       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2399     ;;
2400   *)
2401     # `set' quotes correctly as required by POSIX, so do not add quotes.
2402     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2403     ;;
2404   esac >> confcache
2405 if cmp -s $cache_file confcache; then
2406   :
2407 else
2408   if test -w $cache_file; then
2409     echo "updating cache $cache_file"
2410     cat confcache > $cache_file
2411   else
2412     echo "not updating unwritable cache $cache_file"
2413   fi
2414 fi
2415 rm -f confcache
2416
2417
2418 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
2419 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2420 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2421 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2422 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2423 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2424 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2425 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2426 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2427 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2428
2429 # Reload cache, that may have been modified by ltconfig
2430 if test -r "$cache_file"; then
2431   echo "loading cache $cache_file"
2432   . $cache_file
2433 else
2434   echo "creating cache $cache_file"
2435   > $cache_file
2436 fi
2437
2438
2439 # This can be used to rebuild libtool when needed
2440 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2441
2442 # Always use our own libtool.
2443 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2444
2445 # Redirect the config.log output again, so that the ltconfig log is not
2446 # clobbered by the next message.
2447 exec 5>>./config.log
2448
2449
2450
2451
2452 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2453 lt_save_CC="$CC"
2454 lt_save_CFLAGS="$CFLAGS"
2455 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2456 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2457 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2458 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2459 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2460 deplibs_check_method="$deplibs_check_method" \
2461 file_magic_cmd="$file_magic_cmd" \
2462 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2463 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2464 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2465 CC="$lt_save_CC"
2466 CFLAGS="$lt_save_CFLAGS"
2467
2468 # Redirect the config.log output again, so that the ltconfig log is not
2469 # clobbered by the next message.
2470 exec 5>>./config.log
2471
2472
2473   
2474
2475   
2476          
2477          
2478 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2479 echo "configure:2480: checking for GNU make" >&5
2480 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2481   echo $ac_n "(cached) $ac_c" 1>&6
2482 else
2483   _cv_gnu_make_command='' ;
2484           for a in "${MAKE:-make}" make gmake gnumake ; do
2485                   if ( $a --version 2> /dev/null | grep -c GNU )
2486                   then
2487                           _cv_gnu_make_command=$a ;
2488                           break;
2489                   fi
2490           done ;
2491   
2492 fi
2493
2494 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2495   if test  "x$_cv_gnu_make_command" != "x"  ; then
2496           ifGNUmake='' ;
2497   else
2498           ifGNUmake='#' ;
2499   fi
2500   
2501
2502   if test "x$_cv_gnu_make_command" = "x"; then
2503     { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2504   fi
2505
2506
2507
2508
2509 # Check for c++ or library specific bits that don't require linking.
2510 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2511 echo "configure:2512: checking how to run the C preprocessor" >&5
2512 # On Suns, sometimes $CPP names a directory.
2513 if test -n "$CPP" && test -d "$CPP"; then
2514   CPP=
2515 fi
2516 if test -z "$CPP"; then
2517 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2518   echo $ac_n "(cached) $ac_c" 1>&6
2519 else
2520     # This must be in double quotes, not single quotes, because CPP may get
2521   # substituted into the Makefile and "${CC-cc}" will confuse make.
2522   CPP="${CC-cc} -E"
2523   # On the NeXT, cc -E runs the code through the compiler's parser,
2524   # not just through cpp.
2525   cat > conftest.$ac_ext <<EOF
2526 #line 2527 "configure"
2527 #include "confdefs.h"
2528 #include <assert.h>
2529 Syntax Error
2530 EOF
2531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2532 { (eval echo configure:2533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2534 if test -z "$ac_err"; then
2535   :
2536 else
2537   echo "$ac_err" >&5
2538   echo "configure: failed program was:" >&5
2539   cat conftest.$ac_ext >&5
2540   rm -rf conftest*
2541   CPP="${CC-cc} -E -traditional-cpp"
2542   cat > conftest.$ac_ext <<EOF
2543 #line 2544 "configure"
2544 #include "confdefs.h"
2545 #include <assert.h>
2546 Syntax Error
2547 EOF
2548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2549 { (eval echo configure:2550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2551 if test -z "$ac_err"; then
2552   :
2553 else
2554   echo "$ac_err" >&5
2555   echo "configure: failed program was:" >&5
2556   cat conftest.$ac_ext >&5
2557   rm -rf conftest*
2558   CPP="${CC-cc} -nologo -E"
2559   cat > conftest.$ac_ext <<EOF
2560 #line 2561 "configure"
2561 #include "confdefs.h"
2562 #include <assert.h>
2563 Syntax Error
2564 EOF
2565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2566 { (eval echo configure:2567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2568 if test -z "$ac_err"; then
2569   :
2570 else
2571   echo "$ac_err" >&5
2572   echo "configure: failed program was:" >&5
2573   cat conftest.$ac_ext >&5
2574   rm -rf conftest*
2575   CPP=/lib/cpp
2576 fi
2577 rm -f conftest*
2578 fi
2579 rm -f conftest*
2580 fi
2581 rm -f conftest*
2582   ac_cv_prog_CPP="$CPP"
2583 fi
2584   CPP="$ac_cv_prog_CPP"
2585 else
2586   ac_cv_prog_CPP="$CPP"
2587 fi
2588 echo "$ac_t""$CPP" 1>&6
2589
2590
2591   # Sanity check that g++ is capable of dealing with v-3.
2592   echo $ac_n "checking for g++ that will successfully compile this code""... $ac_c" 1>&6
2593 echo "configure:2594: checking for g++ that will successfully compile this code" >&5
2594   cat > conftest.$ac_ext <<EOF
2595 #line 2596 "configure"
2596 #include "confdefs.h"
2597
2598   #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
2599     ok
2600   #endif
2601   
2602 EOF
2603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2604   egrep "ok" >/dev/null 2>&1; then
2605   rm -rf conftest*
2606   gpp_satisfactory=yes
2607 else
2608   rm -rf conftest*
2609   { echo "configure: error: "please upgrade to gcc-2.95 or above"" 1>&2; exit 1; }
2610 fi
2611 rm -f conftest*
2612
2613   echo "$ac_t""$gpp_satisfactory" 1>&6
2614
2615
2616     echo $ac_n "checking for cpu config directory""... $ac_c" 1>&6
2617 echo "configure:2618: checking for cpu config directory" >&5
2618 # Currently unused, but could be useful.
2619 #    CPU_FLAGS=                 
2620     case "${target_cpu}" in
2621       alpha*)
2622         cpu_include_dir="config/cpu/alpha"
2623         ;;
2624       arm*)
2625         cpu_include_dir="config/cpu/arm"
2626         ;;
2627       ia64)
2628         cpu_include_dir="config/cpu/ia64"
2629         ;;
2630       i386)
2631         cpu_include_dir="config/cpu/i386"
2632         ;;
2633       i486 | i586 | i686 | i786)
2634         cpu_include_dir="config/cpu/i486"
2635         ;;
2636       powerpc | rs6000)
2637         cpu_include_dir="config/cpu/powerpc"
2638         ;;
2639       sparc64 | ultrasparc)
2640         cpu_include_dir="config/cpu/sparc/sparc64"
2641         ;;
2642       sparc*)
2643         cpu_include_dir="config/cpu/sparc/sparc32"
2644         ;;
2645       *)
2646         cpu_include_dir="config/cpu/generic"
2647         ;;
2648     esac
2649     echo "$ac_t""$cpu_include_dir" 1>&6
2650
2651
2652     echo $ac_n "checking for os config directory""... $ac_c" 1>&6
2653 echo "configure:2654: checking for os config directory" >&5
2654 # Currently unused, but could be useful.
2655 #    OS_FLAGS=
2656     case "${target_os}" in
2657       aix*)
2658         os_include_dir="config/os/aix"
2659         ;;
2660       bsd* | freebsd*)
2661         os_include_dir="config/os/bsd"
2662         ;;
2663       linux*)
2664         os_include_dir="config/os/gnu-linux"
2665         ;;
2666       irix*)
2667         os_include_dir="config/os/irix"
2668         ;;
2669       solaris2.5*)
2670         os_include_dir="config/os/solaris/solaris2.5"
2671         ;;
2672       solaris2.6*)
2673         os_include_dir="config/os/solaris/solaris2.6"
2674         ;;
2675       solaris2.7* | solaris2.8*)
2676         os_include_dir="config/os/solaris/solaris2.7"
2677         ;;
2678       *)
2679         os_include_dir="config/os/generic"
2680         ;;
2681     esac
2682     echo "$ac_t""$os_include_dir" 1>&6
2683     
2684
2685
2686 cat > confcache <<\EOF
2687 # This file is a shell script that caches the results of configure
2688 # tests run on this system so they can be shared between configure
2689 # scripts and configure runs.  It is not useful on other systems.
2690 # If it contains results you don't want to keep, you may remove or edit it.
2691 #
2692 # By default, configure uses ./config.cache as the cache file,
2693 # creating it if it does not exist already.  You can give configure
2694 # the --cache-file=FILE option to use a different cache file; that is
2695 # what configure does when it calls configure scripts in
2696 # subdirectories, so they share the cache.
2697 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2698 # config.status only pays attention to the cache file if you give it the
2699 # --recheck option to rerun configure.
2700 #
2701 EOF
2702 # The following way of writing the cache mishandles newlines in values,
2703 # but we know of no workaround that is simple, portable, and efficient.
2704 # So, don't put newlines in cache variables' values.
2705 # Ultrix sh set writes to stderr and can't be redirected directly,
2706 # and sets the high bit in the cache file unless we assign to the vars.
2707 (set) 2>&1 |
2708   case `(ac_space=' '; set | grep ac_space) 2>&1` in
2709   *ac_space=\ *)
2710     # `set' does not quote correctly, so add quotes (double-quote substitution
2711     # turns \\\\ into \\, and sed turns \\ into \).
2712     sed -n \
2713       -e "s/'/'\\\\''/g" \
2714       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2715     ;;
2716   *)
2717     # `set' quotes correctly as required by POSIX, so do not add quotes.
2718     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2719     ;;
2720   esac >> confcache
2721 if cmp -s $cache_file confcache; then
2722   :
2723 else
2724   if test -w $cache_file; then
2725     echo "updating cache $cache_file"
2726     cat confcache > $cache_file
2727   else
2728     echo "not updating unwritable cache $cache_file"
2729   fi
2730 fi
2731 rm -f confcache
2732
2733
2734 # Enable all the crazy c++ stuff.
2735 # Check whether --enable-debug or --disable-debug was given.
2736 if test "${enable_debug+set}" = set; then
2737   enableval="$enable_debug"
2738   case "${enableval}" in
2739  yes) enable_debug=yes ;;
2740  no)  enable_debug=no ;;
2741  *)   { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2742  esac
2743 else
2744   enable_debug=no
2745 fi
2746
2747 case "${enable_debug}" in
2748     yes) 
2749         DEBUG_FLAGS='-O0 -ggdb'                 
2750         ;;
2751     no)   
2752         DEBUG_FLAGS='-g'
2753         ;;
2754 esac
2755
2756
2757
2758   echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2759 echo "configure:2760: checking for cstdio to use" >&5
2760   # Check whether --enable-cstdio or --disable-cstdio was given.
2761 if test "${enable_cstdio+set}" = set; then
2762   enableval="$enable_cstdio"
2763   if test x$enable_cstdio = xno; then
2764     enable_cstdio=libio
2765   fi
2766 else
2767   enable_cstdio=libio
2768 fi
2769
2770
2771   enable_cstdio_flag=$enable_cstdio
2772
2773     case x${enable_cstdio_flag} in
2774     xlibio | x | xno | xnone | xyes)
2775       # default
2776       CSTDIO_H=config/c_io_libio.h
2777       CSTDIO_CC=config/c_io_libio.cc
2778       echo "$ac_t""libio" 1>&6
2779
2780       # see if we are on a system with libio native (ie, linux)
2781       ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2782 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2783 echo "configure:2784: checking for libio.h" >&5
2784 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2785   echo $ac_n "(cached) $ac_c" 1>&6
2786 else
2787   cat > conftest.$ac_ext <<EOF
2788 #line 2789 "configure"
2789 #include "confdefs.h"
2790 #include <libio.h>
2791 EOF
2792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2793 { (eval echo configure:2794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2795 if test -z "$ac_err"; then
2796   rm -rf conftest*
2797   eval "ac_cv_header_$ac_safe=yes"
2798 else
2799   echo "$ac_err" >&5
2800   echo "configure: failed program was:" >&5
2801   cat conftest.$ac_ext >&5
2802   rm -rf conftest*
2803   eval "ac_cv_header_$ac_safe=no"
2804 fi
2805 rm -f conftest*
2806 fi
2807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2808   echo "$ac_t""yes" 1>&6
2809   has_libio=yes
2810 else
2811   echo "$ac_t""no" 1>&6
2812 has_libio=no
2813 fi
2814
2815
2816       # Need to check and see what version of glibc is being used. If
2817       # it's not glibc-2.2 or higher, then we'll need to go ahead and 
2818       # compile most of libio for linux systems.
2819       if test x$has_libio = x"yes"; then
2820         case "$target" in
2821           *-*-linux*)
2822             echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2823 echo "configure:2824: checking for glibc version >= 2.2" >&5
2824             cat > conftest.$ac_ext <<EOF
2825 #line 2826 "configure"
2826 #include "confdefs.h"
2827
2828             #include <features.h>
2829             #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) 
2830                 ok
2831             #endif
2832             
2833 EOF
2834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2835   egrep "ok" >/dev/null 2>&1; then
2836   rm -rf conftest*
2837   glibc_satisfactory=yes
2838 else
2839   rm -rf conftest*
2840   glibc_satisfactory=no
2841 fi
2842 rm -f conftest*
2843
2844             echo "$ac_t""$glibc_satisfactory" 1>&6
2845             ;;
2846         esac
2847
2848         # XXX at the moment, admit defeat and force the recompilation
2849         # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2850         glibc_satisfactory=no   
2851
2852         if test x$glibc_satisfactory = x"yes"; then
2853           need_libio=no
2854           need_xtra_libio=no
2855           need_wlibio=no        
2856         else
2857           need_libio=yes
2858           need_xtra_libio=yes
2859           # bkoz XXX need to add checks to enable this
2860           need_wlibio=yes
2861         fi
2862
2863       # Using libio, but <libio.h> doesn't exist on the target system. . .
2864       else
2865         need_libio=yes
2866         need_xtra_libio=no
2867         # bkoz XXX need to add checks to enable this
2868         need_wlibio=no
2869       fi
2870       ;;
2871
2872     xwince)
2873       CSTDIO_H=config/c_io_wince.h
2874       CSTDIO_CC=config/c_io_wince.cc
2875       echo "$ac_t""wince" 1>&6
2876
2877       need_libio=no
2878       ;;
2879     *)
2880       echo "$enable_cstdio is an unknown io package" 1>&2
2881       exit 1
2882       ;;
2883   esac
2884   
2885   
2886
2887   # 2000-08-04 bkoz hack
2888   CCODECVT_C=config/c_io_libio_codecvt.c
2889   
2890   # 2000-08-04 bkoz hack
2891         
2892   
2893
2894 if test "$need_libio" = yes; then
2895   GLIBCPP_NEED_LIBIO_TRUE=
2896   GLIBCPP_NEED_LIBIO_FALSE='#'
2897 else
2898   GLIBCPP_NEED_LIBIO_TRUE='#'
2899   GLIBCPP_NEED_LIBIO_FALSE=
2900 fi
2901   
2902
2903 if test "$need_xtra_libio" = yes; then
2904   GLIBCPP_NEED_XTRA_LIBIO_TRUE=
2905   GLIBCPP_NEED_XTRA_LIBIO_FALSE='#'
2906 else
2907   GLIBCPP_NEED_XTRA_LIBIO_TRUE='#'
2908   GLIBCPP_NEED_XTRA_LIBIO_FALSE=
2909 fi
2910   
2911
2912 if test "$need_wlibio" = yes; then
2913   GLIBCPP_NEED_WLIBIO_TRUE=
2914   GLIBCPP_NEED_WLIBIO_FALSE='#'
2915 else
2916   GLIBCPP_NEED_WLIBIO_TRUE='#'
2917   GLIBCPP_NEED_WLIBIO_FALSE=
2918 fi
2919
2920   
2921   # Check whether --enable-long-long or --disable-long-long was given.
2922 if test "${enable_long_long+set}" = set; then
2923   enableval="$enable_long_long"
2924     case "$enableval" in
2925    yes) enable_long_long=yes ;;
2926    no)  enable_long_long=no ;;
2927    *)   { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2928    esac
2929 else
2930   enable_long_long=yes
2931 fi
2932
2933   # Check for the existance of functions used if long long is enabled.
2934   echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2935 echo "configure:2936: checking for strtoll" >&5
2936 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2937   echo $ac_n "(cached) $ac_c" 1>&6
2938 else
2939   cat > conftest.$ac_ext <<EOF
2940 #line 2941 "configure"
2941 #include "confdefs.h"
2942 /* System header to define __stub macros and hopefully few prototypes,
2943     which can conflict with char strtoll(); below.  */
2944 #include <assert.h>
2945 /* Override any gcc2 internal prototype to avoid an error.  */
2946 /* We use char because int might match the return type of a gcc2
2947     builtin and then its argument prototype would still apply.  */
2948 char strtoll();
2949
2950 int main() {
2951
2952 /* The GNU C library defines this for functions which it implements
2953     to always fail with ENOSYS.  Some functions are actually named
2954     something starting with __ and the normal name is an alias.  */
2955 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2956 choke me
2957 #else
2958 strtoll();
2959 #endif
2960
2961 ; return 0; }
2962 EOF
2963 if { (eval echo configure:2964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2964   rm -rf conftest*
2965   eval "ac_cv_func_strtoll=yes"
2966 else
2967   echo "configure: failed program was:" >&5
2968   cat conftest.$ac_ext >&5
2969   rm -rf conftest*
2970   eval "ac_cv_func_strtoll=no"
2971 fi
2972 rm -f conftest*
2973 fi
2974
2975 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2976   echo "$ac_t""yes" 1>&6
2977   :
2978 else
2979   echo "$ac_t""no" 1>&6
2980 ac_strtoll=no
2981 fi
2982
2983   echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2984 echo "configure:2985: checking for strtoull" >&5
2985 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2986   echo $ac_n "(cached) $ac_c" 1>&6
2987 else
2988   cat > conftest.$ac_ext <<EOF
2989 #line 2990 "configure"
2990 #include "confdefs.h"
2991 /* System header to define __stub macros and hopefully few prototypes,
2992     which can conflict with char strtoull(); below.  */
2993 #include <assert.h>
2994 /* Override any gcc2 internal prototype to avoid an error.  */
2995 /* We use char because int might match the return type of a gcc2
2996     builtin and then its argument prototype would still apply.  */
2997 char strtoull();
2998
2999 int main() {
3000
3001 /* The GNU C library defines this for functions which it implements
3002     to always fail with ENOSYS.  Some functions are actually named
3003     something starting with __ and the normal name is an alias.  */
3004 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3005 choke me
3006 #else
3007 strtoull();
3008 #endif
3009
3010 ; return 0; }
3011 EOF
3012 if { (eval echo configure:3013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3013   rm -rf conftest*
3014   eval "ac_cv_func_strtoull=yes"
3015 else
3016   echo "configure: failed program was:" >&5
3017   cat conftest.$ac_ext >&5
3018   rm -rf conftest*
3019   eval "ac_cv_func_strtoull=no"
3020 fi
3021 rm -f conftest*
3022 fi
3023
3024 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3025   echo "$ac_t""yes" 1>&6
3026   :
3027 else
3028   echo "$ac_t""no" 1>&6
3029 ac_strtoull=no
3030 fi
3031
3032
3033   echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3034 echo "configure:3035: checking for enabled long long" >&5
3035   if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then 
3036     enable_long_long=no; 
3037   fi; 
3038   echo "$ac_t""$enable_long_long" 1>&6
3039
3040     case "$enable_long_long" in
3041     yes)  cat >> confdefs.h <<\EOF
3042 #define _GLIBCPP_USE_LONG_LONG 1
3043 EOF
3044
3045           ;;
3046   esac
3047
3048 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
3049 echo "configure:3050: checking for enabled cshadow headers" >&5
3050 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
3051 if test "${enable_cshadow_headers+set}" = set; then
3052   enableval="$enable_cshadow_headers"
3053   
3054   case "$enableval" in
3055    yes) enable_cshadow_headers=yes 
3056         ;;
3057    no)  enable_cshadow_headers=no 
3058         ;;
3059    *)   { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; } 
3060         ;;
3061   esac
3062 else
3063   enable_cshadow_headers=no
3064 fi
3065
3066   echo "$ac_t""$enable_cshadow_headers" 1>&6
3067
3068       case "$enable_cshadow_headers" in
3069     yes) 
3070         CSHADOW_FLAGS="-fno-builtin"
3071         C_INCLUDE_DIR='$(top_srcdir)/include/c_std'
3072         cat >> confdefs.h <<\EOF
3073 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3074 EOF
3075
3076         ;;
3077     no)   
3078         CSHADOW_FLAGS=""
3079         C_INCLUDE_DIR='$(top_srcdir)/include/c'
3080         ;;
3081   esac
3082
3083   
3084   
3085   
3086
3087 if test "$enable_cshadow_headers" = yes; then
3088   GLIBCPP_USE_CSHADOW_TRUE=
3089   GLIBCPP_USE_CSHADOW_FALSE='#'
3090 else
3091   GLIBCPP_USE_CSHADOW_TRUE='#'
3092   GLIBCPP_USE_CSHADOW_FALSE=
3093 fi
3094
3095
3096       echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3097 echo "configure:3098: checking for threads package to use" >&5
3098   # Check whether --enable-threads or --disable-threads was given.
3099 if test "${enable_threads+set}" = set; then
3100   enableval="$enable_threads"
3101   if test x$enable_threads = xno; then
3102     enable_threads=''
3103   fi
3104 else
3105   enable_threads=''
3106 fi
3107
3108
3109   enable_threads_flag=$enable_threads
3110
3111     case x${enable_threads_flag} in
3112         x | xno | xnone)
3113                 # No threads
3114                 target_thread_file='single'
3115                 ;;
3116         xyes)
3117                 # default
3118                 target_thread_file=''
3119                 ;;
3120         xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3121         xsolaris | xwin32 | xdce | xvxworks)
3122                 target_thread_file=$enable_threads_flag
3123                 ;;
3124         *)
3125                 echo "$enable_threads is an unknown thread package" 1>&2
3126                 exit 1
3127                 ;;
3128   esac
3129
3130     THREADH=
3131   case "$target_thread_file" in
3132     no | none | single)
3133       THREADH=threads-no.h
3134       ;;
3135     posix | pthreads)
3136       THREADH=threads-posix.h
3137       ;;
3138     decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3139       { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3140       ;;
3141     *)
3142       { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
3143       ;;
3144   esac
3145   echo "$ac_t""$THREADH" 1>&6
3146
3147   
3148
3149
3150     echo $ac_n "checking for atomicity.h""... $ac_c" 1>&6
3151 echo "configure:3152: checking for atomicity.h" >&5
3152     case "$target" in
3153       *-*-linux*)
3154         ATOMICITYH=$cpu_include_dir
3155         ;;      
3156       *-*-aix*)
3157         ATOMICITYH=$os_include_dir
3158         ;;
3159       *)
3160         echo "$enable_threads is an unknown thread package" 1>&2
3161         exit 1
3162         ;;
3163     esac
3164     echo "$ac_t""$ATOMICITYH/bits/atomicity.h" 1>&6
3165     
3166
3167 #GLIBCPP_ENABLE_RELIBGCC([../..])
3168 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3169 if test "${enable_cxx_flags+set}" = set; then
3170   enableval="$enable_cxx_flags"
3171   case "x$enableval" in
3172  xyes)   
3173         { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3174  xno|x)  
3175         enable_cxx_flags='' ;;
3176  *)      
3177         enable_cxx_flags="$enableval" ;;
3178  esac
3179 else
3180   enable_cxx_flags='none'
3181 fi
3182
3183
3184 if test "$enable_cxx_flags" = "none"; then 
3185   enable_cxx_flags=''; 
3186 fi
3187
3188 if test -n "$enable_cxx_flags"; then
3189     for f in $enable_cxx_flags; do
3190         case "$f" in
3191             -fhonor-std)  ;;
3192             -*)  ;;
3193             *)   # and we're trying to pass /what/ exactly?
3194                  { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3195         esac
3196     done
3197 fi
3198 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3199
3200
3201
3202
3203 if test -n "$with_cross_host"; then
3204
3205   # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
3206   # may not work correctly, because the compiler may not be able to
3207   # link executables.
3208
3209   xcompiling=1
3210   NATIVE=no
3211   # If Canadian cross, then don't pick up tools from the build
3212   # directory.
3213   if test "$build" != "$with_cross_host"; then
3214     CANADIAN=yes
3215     NULL_TARGET=yes
3216   else
3217     CANADIAN=no
3218     NULL_TARGET=no
3219   fi
3220
3221   case "$target_alias" in
3222     *-wince-*)
3223         # Configure for Microsoft Windows CE, or whatever they are
3224         # currently calling it.
3225         cat >> confdefs.h <<\EOF
3226 #define HAVE_FLOAT_H 1
3227 EOF
3228
3229
3230         cat >> confdefs.h <<\EOF
3231 #define HAVE__FINITE 1
3232 EOF
3233
3234         cat >> confdefs.h <<\EOF
3235 #define HAVE__ISNAN 1
3236 EOF
3237
3238         cat >> confdefs.h <<\EOF
3239 #define HAVE__COPYSIGN 1
3240 EOF
3241
3242         cat >> confdefs.h <<\EOF
3243 #define HAVE__FPCLASS 1
3244 EOF
3245
3246         cat >> confdefs.h <<\EOF
3247 #define HAVE_MODF 1
3248 EOF
3249
3250
3251         ctype_include_dir="config/os/wince"
3252         
3253         
3254         
3255
3256
3257         cat >> confdefs.h <<\EOF
3258 #define _GLIBCPP_NEED_MBSTATE_T 1
3259 EOF
3260
3261
3262         cat >> confdefs.h <<\EOF
3263 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3264 EOF
3265
3266         cat >> confdefs.h <<\EOF
3267 #define _GLIBCPP_BUGGY_COMPLEX 1
3268 EOF
3269
3270         ;;
3271     *)
3272         # We assume newlib.  This lets us hard-code the functions we know
3273         # we'll have.
3274         cat >> confdefs.h <<\EOF
3275 #define HAVE_FINITE 1
3276 EOF
3277
3278         cat >> confdefs.h <<\EOF
3279 #define HAVE_ISNAN 1
3280 EOF
3281
3282         cat >> confdefs.h <<\EOF
3283 #define HAVE_ISNANF 1
3284 EOF
3285
3286         cat >> confdefs.h <<\EOF
3287 #define HAVE_ISINF 1
3288 EOF
3289
3290         cat >> confdefs.h <<\EOF
3291 #define HAVE_ISINFF 1
3292 EOF
3293
3294
3295         ctype_include_dir="config/os/newlib"
3296         
3297         
3298         
3299
3300         cat >> confdefs.h <<\EOF
3301 #define _GLIBCPP_NEED_MBSTATE_T 1
3302 EOF
3303
3304
3305         cat >> confdefs.h <<\EOF
3306 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3307 EOF
3308
3309         cat >> confdefs.h <<\EOF
3310 #define _GLIBCPP_BUGGY_COMPLEX 1
3311 EOF
3312
3313         # need to ceck for faster f versions of math functions, ie sinf?
3314         ;;
3315   esac
3316 else
3317
3318   # We are being configured natively. We can do more elaborate tests
3319   # that include AC_TRY_COMPILE now, as the linker is assumed to be
3320   # working.
3321
3322   xcompiling=0
3323   NATIVE=yes
3324   CANADIAN=no
3325   NULL_TARGET=no
3326
3327   # Check for available headers.
3328   for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3329   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h
3330 do
3331 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3332 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3333 echo "configure:3334: checking for $ac_hdr" >&5
3334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3335   echo $ac_n "(cached) $ac_c" 1>&6
3336 else
3337   cat > conftest.$ac_ext <<EOF
3338 #line 3339 "configure"
3339 #include "confdefs.h"
3340 #include <$ac_hdr>
3341 EOF
3342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3343 { (eval echo configure:3344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3345 if test -z "$ac_err"; then
3346   rm -rf conftest*
3347   eval "ac_cv_header_$ac_safe=yes"
3348 else
3349   echo "$ac_err" >&5
3350   echo "configure: failed program was:" >&5
3351   cat conftest.$ac_ext >&5
3352   rm -rf conftest*
3353   eval "ac_cv_header_$ac_safe=no"
3354 fi
3355 rm -f conftest*
3356 fi
3357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3358   echo "$ac_t""yes" 1>&6
3359     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3360   cat >> confdefs.h <<EOF
3361 #define $ac_tr_hdr 1
3362 EOF
3363  
3364 else
3365   echo "$ac_t""no" 1>&6
3366 fi
3367 done
3368
3369
3370   
3371   # All these tests are for C++; save the language and the compiler flags.
3372   # The CXXFLAGS thing is suspicious, but based on similar bits 
3373   # found in GLIBCPP_CONFIGURE.
3374   
3375   ac_ext=C
3376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3377 ac_cpp='$CXXCPP $CPPFLAGS'
3378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3380 cross_compiling=$ac_cv_prog_cxx_cross
3381
3382   ac_test_CXXFLAGS="${CXXFLAGS+set}"
3383   ac_save_CXXFLAGS="$CXXFLAGS"
3384
3385   # Check for maintainer-mode bits.
3386   if test x"$USE_MAINTAINER_MODE" = xno; then
3387     WERROR=''
3388   else
3389     WERROR='-Werror'
3390   fi
3391
3392   # Check for more sophisticated diagnostic control.
3393   echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3394 echo "configure:3395: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3395   CXXFLAGS='-Werror -fdiagnostics-show-location=once'
3396   cat > conftest.$ac_ext <<EOF
3397 #line 3398 "configure"
3398 #include "confdefs.h"
3399
3400 int main() {
3401 int foo;
3402   
3403 ; return 0; }
3404 EOF
3405 if { (eval echo configure:3406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3406   rm -rf conftest*
3407   ac_gabydiags=yes
3408 else
3409   echo "configure: failed program was:" >&5
3410   cat conftest.$ac_ext >&5
3411   rm -rf conftest*
3412   ac_gabydiags=no
3413 fi
3414 rm -f conftest*
3415   if test "$ac_test_CXXFLAGS" = set; then
3416     CXXFLAGS="$ac_save_CXXFLAGS"
3417   else
3418     # this is the suspicious part
3419     CXXFLAGS=''
3420   fi
3421   if test "$ac_gabydiags" = "yes"; then
3422     WFMT_FLAGS='-fdiagnostics-show-location=once'
3423   fi
3424   echo "$ac_t""$ac_gabydiags" 1>&6
3425
3426   # Check for -ffunction-sections -fdata-sections
3427   echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3428 echo "configure:3429: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3429   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
3430   cat > conftest.$ac_ext <<EOF
3431 #line 3432 "configure"
3432 #include "confdefs.h"
3433
3434 int main() {
3435 int foo;
3436   
3437 ; return 0; }
3438 EOF
3439 if { (eval echo configure:3440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3440   rm -rf conftest*
3441   ac_fdsections=yes
3442 else
3443   echo "configure: failed program was:" >&5
3444   cat conftest.$ac_ext >&5
3445   rm -rf conftest*
3446   ac_fdsections=no
3447 fi
3448 rm -f conftest*
3449   if test "$ac_test_CXXFLAGS" = set; then
3450     CXXFLAGS="$ac_save_CXXFLAGS"
3451   else
3452     # this is the suspicious part
3453     CXXFLAGS=''
3454   fi
3455   if test "$ac_fdsections" = "yes"; then
3456     SECTION_FLAGS='-ffunction-sections -fdata-sections'
3457   fi
3458   echo "$ac_t""$ac_fdsections" 1>&6
3459
3460   ac_ext=c
3461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3462 ac_cpp='$CPP $CPPFLAGS'
3463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3465 cross_compiling=$ac_cv_prog_cc_cross
3466
3467   
3468   
3469   
3470
3471   
3472   # If we're not using GNU ld, then there's no point in even trying these
3473   # tests.  Check for that first.  We should have already tested for gld
3474   # by now (in libtool), but require it now just to be safe...
3475   
3476   if test "$ac_cv_prog_gnu_ld" = "no"; then
3477     SECTION_LDFLAGS=''
3478     OPT_LDFLAGS=''
3479
3480   else   # GNU ld it is!  Joy and bunny rabbits!
3481
3482     # All these tests are for C++; save the language and the compiler flags.
3483     # Need to do this so that g++ won't try to link in libstdc++
3484     ac_test_CFLAGS="${CFLAGS+set}"
3485     ac_save_CFLAGS="$CFLAGS"
3486     CFLAGS='-x c++  -Wl,--gc-sections'
3487
3488     # Check for -Wl,--gc-sections
3489     # XXX This test is broken at the moment, as symbols required for
3490     # linking are now in libsupc++ (not built yet.....). In addition, 
3491     # this test has cored on solaris in the past.
3492     echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3493 echo "configure:3494: checking for ld that supports -Wl,--gc-sections" >&5
3494     if test "$cross_compiling" = yes; then
3495   ac_sectionLDflags=yes
3496 else
3497   cat > conftest.$ac_ext <<EOF
3498 #line 3499 "configure"
3499 #include "confdefs.h"
3500
3501      int main(void) 
3502      {
3503        //try { throw 1; }
3504        //catch (...) { };
3505        return 0;
3506      }
3507     
3508 EOF
3509 if { (eval echo configure:3510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3510 then
3511   ac_sectionLDflags=yes
3512 else
3513   echo "configure: failed program was:" >&5
3514   cat conftest.$ac_ext >&5
3515   rm -fr conftest*
3516   ac_sectionLFflags=no
3517 fi
3518 rm -fr conftest*
3519 fi
3520
3521     if test "$ac_test_CFLAGS" = set; then
3522       CFLAGS="$ac_save_CFLAGS"
3523     else
3524       # this is the suspicious part
3525       CFLAGS=''
3526     fi
3527     if test "$ac_sectionLDflags" = "yes"; then
3528       SECTION_LDFLAGS='-Wl,--gc-sections'
3529     fi
3530     echo "$ac_t""$ac_sectionLDflags" 1>&6
3531     OPT_LDFLAGS='-Wl,-O1'
3532
3533   fi
3534   
3535   
3536
3537   
3538       
3539   echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3540 echo "configure:3541: checking for __builtin_abs declaration" >&5
3541   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3542   echo $ac_n "(cached) $ac_c" 1>&6
3543 else
3544   
3545     
3546     ac_ext=C
3547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3548 ac_cpp='$CXXCPP $CPPFLAGS'
3549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3551 cross_compiling=$ac_cv_prog_cxx_cross
3552
3553     cat > conftest.$ac_ext <<EOF
3554 #line 3555 "configure"
3555 #include "confdefs.h"
3556 #include <math.h>
3557 int main() {
3558  __builtin_abs(0);
3559 ; return 0; }
3560 EOF
3561 if { (eval echo configure:3562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3562   rm -rf conftest*
3563   glibcpp_cv_func___builtin_abs_use=yes
3564 else
3565   echo "configure: failed program was:" >&5
3566   cat conftest.$ac_ext >&5
3567   rm -rf conftest*
3568   glibcpp_cv_func___builtin_abs_use=no
3569 fi
3570 rm -f conftest*
3571     ac_ext=c
3572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3573 ac_cpp='$CPP $CPPFLAGS'
3574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3576 cross_compiling=$ac_cv_prog_cc_cross
3577
3578   
3579 fi
3580
3581   echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3582   if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3583     echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3584 echo "configure:3585: checking for __builtin_abs linkage" >&5
3585     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3586   echo $ac_n "(cached) $ac_c" 1>&6
3587 else
3588   
3589       cat > conftest.$ac_ext <<EOF
3590 #line 3591 "configure"
3591 #include "confdefs.h"
3592 #include <math.h>
3593 int main() {
3594  __builtin_abs(0);
3595 ; return 0; }
3596 EOF
3597 if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3598   rm -rf conftest*
3599   glibcpp_cv_func___builtin_abs_link=yes
3600 else
3601   echo "configure: failed program was:" >&5
3602   cat conftest.$ac_ext >&5
3603   rm -rf conftest*
3604   glibcpp_cv_func___builtin_abs_link=no
3605 fi
3606 rm -f conftest*
3607     
3608 fi
3609
3610     echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3611     if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3612       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3613       cat >> confdefs.h <<EOF
3614 #define ${ac_tr_func} 1
3615 EOF
3616
3617     fi
3618   fi
3619
3620   
3621   echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3622 echo "configure:3623: checking for __builtin_fabsf declaration" >&5
3623   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3624   echo $ac_n "(cached) $ac_c" 1>&6
3625 else
3626   
3627     
3628     ac_ext=C
3629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3630 ac_cpp='$CXXCPP $CPPFLAGS'
3631 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3632 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3633 cross_compiling=$ac_cv_prog_cxx_cross
3634
3635     cat > conftest.$ac_ext <<EOF
3636 #line 3637 "configure"
3637 #include "confdefs.h"
3638 #include <math.h>
3639 int main() {
3640  __builtin_fabsf(0);
3641 ; return 0; }
3642 EOF
3643 if { (eval echo configure:3644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3644   rm -rf conftest*
3645   glibcpp_cv_func___builtin_fabsf_use=yes
3646 else
3647   echo "configure: failed program was:" >&5
3648   cat conftest.$ac_ext >&5
3649   rm -rf conftest*
3650   glibcpp_cv_func___builtin_fabsf_use=no
3651 fi
3652 rm -f conftest*
3653     ac_ext=c
3654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3655 ac_cpp='$CPP $CPPFLAGS'
3656 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3657 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3658 cross_compiling=$ac_cv_prog_cc_cross
3659
3660   
3661 fi
3662
3663   echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3664   if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3665     echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3666 echo "configure:3667: checking for __builtin_fabsf linkage" >&5
3667     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3668   echo $ac_n "(cached) $ac_c" 1>&6
3669 else
3670   
3671       cat > conftest.$ac_ext <<EOF
3672 #line 3673 "configure"
3673 #include "confdefs.h"
3674 #include <math.h>
3675 int main() {
3676  __builtin_fabsf(0);
3677 ; return 0; }
3678 EOF
3679 if { (eval echo configure:3680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3680   rm -rf conftest*
3681   glibcpp_cv_func___builtin_fabsf_link=yes
3682 else
3683   echo "configure: failed program was:" >&5
3684   cat conftest.$ac_ext >&5
3685   rm -rf conftest*
3686   glibcpp_cv_func___builtin_fabsf_link=no
3687 fi
3688 rm -f conftest*
3689     
3690 fi
3691
3692     echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3693     if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3694       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3695       cat >> confdefs.h <<EOF
3696 #define ${ac_tr_func} 1
3697 EOF
3698
3699     fi
3700   fi
3701
3702   
3703   echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3704 echo "configure:3705: checking for __builtin_fabs declaration" >&5
3705   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3706   echo $ac_n "(cached) $ac_c" 1>&6
3707 else
3708   
3709     
3710     ac_ext=C
3711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3712 ac_cpp='$CXXCPP $CPPFLAGS'
3713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3715 cross_compiling=$ac_cv_prog_cxx_cross
3716
3717     cat > conftest.$ac_ext <<EOF
3718 #line 3719 "configure"
3719 #include "confdefs.h"
3720 #include <math.h>
3721 int main() {
3722  __builtin_fabs(0);
3723 ; return 0; }
3724 EOF
3725 if { (eval echo configure:3726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3726   rm -rf conftest*
3727   glibcpp_cv_func___builtin_fabs_use=yes
3728 else
3729   echo "configure: failed program was:" >&5
3730   cat conftest.$ac_ext >&5
3731   rm -rf conftest*
3732   glibcpp_cv_func___builtin_fabs_use=no
3733 fi
3734 rm -f conftest*
3735     ac_ext=c
3736 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3737 ac_cpp='$CPP $CPPFLAGS'
3738 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3739 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3740 cross_compiling=$ac_cv_prog_cc_cross
3741
3742   
3743 fi
3744
3745   echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3746   if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3747     echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3748 echo "configure:3749: checking for __builtin_fabs linkage" >&5
3749     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3750   echo $ac_n "(cached) $ac_c" 1>&6
3751 else
3752   
3753       cat > conftest.$ac_ext <<EOF
3754 #line 3755 "configure"
3755 #include "confdefs.h"
3756 #include <math.h>
3757 int main() {
3758  __builtin_fabs(0);
3759 ; return 0; }
3760 EOF
3761 if { (eval echo configure:3762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3762   rm -rf conftest*
3763   glibcpp_cv_func___builtin_fabs_link=yes
3764 else
3765   echo "configure: failed program was:" >&5
3766   cat conftest.$ac_ext >&5
3767   rm -rf conftest*
3768   glibcpp_cv_func___builtin_fabs_link=no
3769 fi
3770 rm -f conftest*
3771     
3772 fi
3773
3774     echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3775     if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3776       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3777       cat >> confdefs.h <<EOF
3778 #define ${ac_tr_func} 1
3779 EOF
3780
3781     fi
3782   fi
3783
3784   
3785   echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3786 echo "configure:3787: checking for __builtin_fabsl declaration" >&5
3787   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3788   echo $ac_n "(cached) $ac_c" 1>&6
3789 else
3790   
3791     
3792     ac_ext=C
3793 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3794 ac_cpp='$CXXCPP $CPPFLAGS'
3795 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3796 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3797 cross_compiling=$ac_cv_prog_cxx_cross
3798
3799     cat > conftest.$ac_ext <<EOF
3800 #line 3801 "configure"
3801 #include "confdefs.h"
3802 #include <math.h>
3803 int main() {
3804  __builtin_fabsl(0);
3805 ; return 0; }
3806 EOF
3807 if { (eval echo configure:3808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3808   rm -rf conftest*
3809   glibcpp_cv_func___builtin_fabsl_use=yes
3810 else
3811   echo "configure: failed program was:" >&5
3812   cat conftest.$ac_ext >&5
3813   rm -rf conftest*
3814   glibcpp_cv_func___builtin_fabsl_use=no
3815 fi
3816 rm -f conftest*
3817     ac_ext=c
3818 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3819 ac_cpp='$CPP $CPPFLAGS'
3820 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3821 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3822 cross_compiling=$ac_cv_prog_cc_cross
3823
3824   
3825 fi
3826
3827   echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3828   if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3829     echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3830 echo "configure:3831: checking for __builtin_fabsl linkage" >&5
3831     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3832   echo $ac_n "(cached) $ac_c" 1>&6
3833 else
3834   
3835       cat > conftest.$ac_ext <<EOF
3836 #line 3837 "configure"
3837 #include "confdefs.h"
3838 #include <math.h>
3839 int main() {
3840  __builtin_fabsl(0);
3841 ; return 0; }
3842 EOF
3843 if { (eval echo configure:3844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3844   rm -rf conftest*
3845   glibcpp_cv_func___builtin_fabsl_link=yes
3846 else
3847   echo "configure: failed program was:" >&5
3848   cat conftest.$ac_ext >&5
3849   rm -rf conftest*
3850   glibcpp_cv_func___builtin_fabsl_link=no
3851 fi
3852 rm -f conftest*
3853     
3854 fi
3855
3856     echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3857     if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3858       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3859       cat >> confdefs.h <<EOF
3860 #define ${ac_tr_func} 1
3861 EOF
3862
3863     fi
3864   fi
3865
3866   
3867   echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3868 echo "configure:3869: checking for __builtin_labs declaration" >&5
3869   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
3870   echo $ac_n "(cached) $ac_c" 1>&6
3871 else
3872   
3873     
3874     ac_ext=C
3875 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3876 ac_cpp='$CXXCPP $CPPFLAGS'
3877 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3878 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3879 cross_compiling=$ac_cv_prog_cxx_cross
3880
3881     cat > conftest.$ac_ext <<EOF
3882 #line 3883 "configure"
3883 #include "confdefs.h"
3884 #include <math.h>
3885 int main() {
3886  __builtin_labs(0);
3887 ; return 0; }
3888 EOF
3889 if { (eval echo configure:3890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3890   rm -rf conftest*
3891   glibcpp_cv_func___builtin_labs_use=yes
3892 else
3893   echo "configure: failed program was:" >&5
3894   cat conftest.$ac_ext >&5
3895   rm -rf conftest*
3896   glibcpp_cv_func___builtin_labs_use=no
3897 fi
3898 rm -f conftest*
3899     ac_ext=c
3900 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3901 ac_cpp='$CPP $CPPFLAGS'
3902 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3903 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3904 cross_compiling=$ac_cv_prog_cc_cross
3905
3906   
3907 fi
3908
3909   echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3910   if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3911     echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3912 echo "configure:3913: checking for __builtin_labs linkage" >&5
3913     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3914   echo $ac_n "(cached) $ac_c" 1>&6
3915 else
3916   
3917       cat > conftest.$ac_ext <<EOF
3918 #line 3919 "configure"
3919 #include "confdefs.h"
3920 #include <math.h>
3921 int main() {
3922  __builtin_labs(0);
3923 ; return 0; }
3924 EOF
3925 if { (eval echo configure:3926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3926   rm -rf conftest*
3927   glibcpp_cv_func___builtin_labs_link=yes
3928 else
3929   echo "configure: failed program was:" >&5
3930   cat conftest.$ac_ext >&5
3931   rm -rf conftest*
3932   glibcpp_cv_func___builtin_labs_link=no
3933 fi
3934 rm -f conftest*
3935     
3936 fi
3937
3938     echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3939     if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3940       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3941       cat >> confdefs.h <<EOF
3942 #define ${ac_tr_func} 1
3943 EOF
3944
3945     fi
3946   fi
3947
3948
3949   
3950   echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3951 echo "configure:3952: checking for __builtin_sqrtf declaration" >&5
3952   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3953   echo $ac_n "(cached) $ac_c" 1>&6
3954 else
3955   
3956     
3957     ac_ext=C
3958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3959 ac_cpp='$CXXCPP $CPPFLAGS'
3960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3962 cross_compiling=$ac_cv_prog_cxx_cross
3963
3964     cat > conftest.$ac_ext <<EOF
3965 #line 3966 "configure"
3966 #include "confdefs.h"
3967 #include <math.h>
3968 int main() {
3969  __builtin_sqrtf(0);
3970 ; return 0; }
3971 EOF
3972 if { (eval echo configure:3973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3973   rm -rf conftest*
3974   glibcpp_cv_func___builtin_sqrtf_use=yes
3975 else
3976   echo "configure: failed program was:" >&5
3977   cat conftest.$ac_ext >&5
3978   rm -rf conftest*
3979   glibcpp_cv_func___builtin_sqrtf_use=no
3980 fi
3981 rm -f conftest*
3982     ac_ext=c
3983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3984 ac_cpp='$CPP $CPPFLAGS'
3985 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3986 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3987 cross_compiling=$ac_cv_prog_cc_cross
3988
3989   
3990 fi
3991
3992   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
3993   if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
3994     echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
3995 echo "configure:3996: checking for __builtin_sqrtf linkage" >&5
3996     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
3997   echo $ac_n "(cached) $ac_c" 1>&6
3998 else
3999   
4000       cat > conftest.$ac_ext <<EOF
4001 #line 4002 "configure"
4002 #include "confdefs.h"
4003 #include <math.h>
4004 int main() {
4005  __builtin_sqrtf(0);
4006 ; return 0; }
4007 EOF
4008 if { (eval echo configure:4009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4009   rm -rf conftest*
4010   glibcpp_cv_func___builtin_sqrtf_link=yes
4011 else
4012   echo "configure: failed program was:" >&5
4013   cat conftest.$ac_ext >&5
4014   rm -rf conftest*
4015   glibcpp_cv_func___builtin_sqrtf_link=no
4016 fi
4017 rm -f conftest*
4018     
4019 fi
4020
4021     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
4022     if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
4023       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4024       cat >> confdefs.h <<EOF
4025 #define ${ac_tr_func} 1
4026 EOF
4027
4028     fi
4029   fi
4030
4031   
4032   echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
4033 echo "configure:4034: checking for __builtin_fsqrt declaration" >&5
4034   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
4035   echo $ac_n "(cached) $ac_c" 1>&6
4036 else
4037   
4038     
4039     ac_ext=C
4040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4041 ac_cpp='$CXXCPP $CPPFLAGS'
4042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4044 cross_compiling=$ac_cv_prog_cxx_cross
4045
4046     cat > conftest.$ac_ext <<EOF
4047 #line 4048 "configure"
4048 #include "confdefs.h"
4049 #include <math.h>
4050 int main() {
4051  __builtin_fsqrt(0);
4052 ; return 0; }
4053 EOF
4054 if { (eval echo configure:4055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4055   rm -rf conftest*
4056   glibcpp_cv_func___builtin_fsqrt_use=yes
4057 else
4058   echo "configure: failed program was:" >&5
4059   cat conftest.$ac_ext >&5
4060   rm -rf conftest*
4061   glibcpp_cv_func___builtin_fsqrt_use=no
4062 fi
4063 rm -f conftest*
4064     ac_ext=c
4065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4066 ac_cpp='$CPP $CPPFLAGS'
4067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4069 cross_compiling=$ac_cv_prog_cc_cross
4070
4071   
4072 fi
4073
4074   echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4075   if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4076     echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4077 echo "configure:4078: checking for __builtin_fsqrt linkage" >&5
4078     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4079   echo $ac_n "(cached) $ac_c" 1>&6
4080 else
4081   
4082       cat > conftest.$ac_ext <<EOF
4083 #line 4084 "configure"
4084 #include "confdefs.h"
4085 #include <math.h>
4086 int main() {
4087  __builtin_fsqrt(0);
4088 ; return 0; }
4089 EOF
4090 if { (eval echo configure:4091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4091   rm -rf conftest*
4092   glibcpp_cv_func___builtin_fsqrt_link=yes
4093 else
4094   echo "configure: failed program was:" >&5
4095   cat conftest.$ac_ext >&5
4096   rm -rf conftest*
4097   glibcpp_cv_func___builtin_fsqrt_link=no
4098 fi
4099 rm -f conftest*
4100     
4101 fi
4102
4103     echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4104     if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4105       ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4106       cat >> confdefs.h <<EOF
4107 #define ${ac_tr_func} 1
4108 EOF
4109
4110     fi
4111   fi
4112
4113   
4114   echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4115 echo "configure:4116: checking for __builtin_sqrtl declaration" >&5
4116   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4117   echo $ac_n "(cached) $ac_c" 1>&6
4118 else
4119   
4120     
4121     ac_ext=C
4122 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4123 ac_cpp='$CXXCPP $CPPFLAGS'
4124 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4125 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4126 cross_compiling=$ac_cv_prog_cxx_cross
4127
4128     cat > conftest.$ac_ext <<EOF
4129 #line 4130 "configure"
4130 #include "confdefs.h"
4131 #include <math.h>
4132 int main() {
4133  __builtin_sqrtl(0);
4134 ; return 0; }
4135 EOF
4136 if { (eval echo configure:4137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4137   rm -rf conftest*
4138   glibcpp_cv_func___builtin_sqrtl_use=yes
4139 else
4140   echo "configure: failed program was:" >&5
4141   cat conftest.$ac_ext >&5
4142   rm -rf conftest*
4143   glibcpp_cv_func___builtin_sqrtl_use=no
4144 fi
4145 rm -f conftest*
4146     ac_ext=c
4147 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4148 ac_cpp='$CPP $CPPFLAGS'
4149 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4150 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4151 cross_compiling=$ac_cv_prog_cc_cross
4152
4153   
4154 fi
4155
4156   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4157   if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4158     echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4159 echo "configure:4160: checking for __builtin_sqrtl linkage" >&5
4160     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4161   echo $ac_n "(cached) $ac_c" 1>&6
4162 else
4163   
4164       cat > conftest.$ac_ext <<EOF
4165 #line 4166 "configure"
4166 #include "confdefs.h"
4167 #include <math.h>
4168 int main() {
4169  __builtin_sqrtl(0);
4170 ; return 0; }
4171 EOF
4172 if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4173   rm -rf conftest*
4174   glibcpp_cv_func___builtin_sqrtl_link=yes
4175 else
4176   echo "configure: failed program was:" >&5
4177   cat conftest.$ac_ext >&5
4178   rm -rf conftest*
4179   glibcpp_cv_func___builtin_sqrtl_link=no
4180 fi
4181 rm -f conftest*
4182     
4183 fi
4184
4185     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4186     if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4187       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4188       cat >> confdefs.h <<EOF
4189 #define ${ac_tr_func} 1
4190 EOF
4191
4192     fi
4193   fi
4194
4195
4196   
4197   echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4198 echo "configure:4199: checking for __builtin_sinf declaration" >&5
4199   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4200   echo $ac_n "(cached) $ac_c" 1>&6
4201 else
4202   
4203     
4204     ac_ext=C
4205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4206 ac_cpp='$CXXCPP $CPPFLAGS'
4207 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4208 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4209 cross_compiling=$ac_cv_prog_cxx_cross
4210
4211     cat > conftest.$ac_ext <<EOF
4212 #line 4213 "configure"
4213 #include "confdefs.h"
4214 #include <math.h>
4215 int main() {
4216  __builtin_sinf(0);
4217 ; return 0; }
4218 EOF
4219 if { (eval echo configure:4220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4220   rm -rf conftest*
4221   glibcpp_cv_func___builtin_sinf_use=yes
4222 else
4223   echo "configure: failed program was:" >&5
4224   cat conftest.$ac_ext >&5
4225   rm -rf conftest*
4226   glibcpp_cv_func___builtin_sinf_use=no
4227 fi
4228 rm -f conftest*
4229     ac_ext=c
4230 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4231 ac_cpp='$CPP $CPPFLAGS'
4232 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4233 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4234 cross_compiling=$ac_cv_prog_cc_cross
4235
4236   
4237 fi
4238
4239   echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4240   if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4241     echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4242 echo "configure:4243: checking for __builtin_sinf linkage" >&5
4243     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4244   echo $ac_n "(cached) $ac_c" 1>&6
4245 else
4246   
4247       cat > conftest.$ac_ext <<EOF
4248 #line 4249 "configure"
4249 #include "confdefs.h"
4250 #include <math.h>
4251 int main() {
4252  __builtin_sinf(0);
4253 ; return 0; }
4254 EOF
4255 if { (eval echo configure:4256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4256   rm -rf conftest*
4257   glibcpp_cv_func___builtin_sinf_link=yes
4258 else
4259   echo "configure: failed program was:" >&5
4260   cat conftest.$ac_ext >&5
4261   rm -rf conftest*
4262   glibcpp_cv_func___builtin_sinf_link=no
4263 fi
4264 rm -f conftest*
4265     
4266 fi
4267
4268     echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4269     if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4270       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4271       cat >> confdefs.h <<EOF
4272 #define ${ac_tr_func} 1
4273 EOF
4274
4275     fi
4276   fi
4277
4278   
4279   echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4280 echo "configure:4281: checking for __builtin_sin declaration" >&5
4281   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4282   echo $ac_n "(cached) $ac_c" 1>&6
4283 else
4284   
4285     
4286     ac_ext=C
4287 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4288 ac_cpp='$CXXCPP $CPPFLAGS'
4289 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4290 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4291 cross_compiling=$ac_cv_prog_cxx_cross
4292
4293     cat > conftest.$ac_ext <<EOF
4294 #line 4295 "configure"
4295 #include "confdefs.h"
4296 #include <math.h>
4297 int main() {
4298  __builtin_sin(0);
4299 ; return 0; }
4300 EOF
4301 if { (eval echo configure:4302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4302   rm -rf conftest*
4303   glibcpp_cv_func___builtin_sin_use=yes
4304 else
4305   echo "configure: failed program was:" >&5
4306   cat conftest.$ac_ext >&5
4307   rm -rf conftest*
4308   glibcpp_cv_func___builtin_sin_use=no
4309 fi
4310 rm -f conftest*
4311     ac_ext=c
4312 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4313 ac_cpp='$CPP $CPPFLAGS'
4314 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4315 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4316 cross_compiling=$ac_cv_prog_cc_cross
4317
4318   
4319 fi
4320
4321   echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4322   if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4323     echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4324 echo "configure:4325: checking for __builtin_sin linkage" >&5
4325     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4326   echo $ac_n "(cached) $ac_c" 1>&6
4327 else
4328   
4329       cat > conftest.$ac_ext <<EOF
4330 #line 4331 "configure"
4331 #include "confdefs.h"
4332 #include <math.h>
4333 int main() {
4334  __builtin_sin(0);
4335 ; return 0; }
4336 EOF
4337 if { (eval echo configure:4338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4338   rm -rf conftest*
4339   glibcpp_cv_func___builtin_sin_link=yes
4340 else
4341   echo "configure: failed program was:" >&5
4342   cat conftest.$ac_ext >&5
4343   rm -rf conftest*
4344   glibcpp_cv_func___builtin_sin_link=no
4345 fi
4346 rm -f conftest*
4347     
4348 fi
4349
4350     echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4351     if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4352       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4353       cat >> confdefs.h <<EOF
4354 #define ${ac_tr_func} 1
4355 EOF
4356
4357     fi
4358   fi
4359
4360   
4361   echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4362 echo "configure:4363: checking for __builtin_sinl declaration" >&5
4363   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4364   echo $ac_n "(cached) $ac_c" 1>&6
4365 else
4366   
4367     
4368     ac_ext=C
4369 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4370 ac_cpp='$CXXCPP $CPPFLAGS'
4371 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4372 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4373 cross_compiling=$ac_cv_prog_cxx_cross
4374
4375     cat > conftest.$ac_ext <<EOF
4376 #line 4377 "configure"
4377 #include "confdefs.h"
4378 #include <math.h>
4379 int main() {
4380  __builtin_sinl(0);
4381 ; return 0; }
4382 EOF
4383 if { (eval echo configure:4384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4384   rm -rf conftest*
4385   glibcpp_cv_func___builtin_sinl_use=yes
4386 else
4387   echo "configure: failed program was:" >&5
4388   cat conftest.$ac_ext >&5
4389   rm -rf conftest*
4390   glibcpp_cv_func___builtin_sinl_use=no
4391 fi
4392 rm -f conftest*
4393     ac_ext=c
4394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4395 ac_cpp='$CPP $CPPFLAGS'
4396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4398 cross_compiling=$ac_cv_prog_cc_cross
4399
4400   
4401 fi
4402
4403   echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4404   if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4405     echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4406 echo "configure:4407: checking for __builtin_sinl linkage" >&5
4407     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4408   echo $ac_n "(cached) $ac_c" 1>&6
4409 else
4410   
4411       cat > conftest.$ac_ext <<EOF
4412 #line 4413 "configure"
4413 #include "confdefs.h"
4414 #include <math.h>
4415 int main() {
4416  __builtin_sinl(0);
4417 ; return 0; }
4418 EOF
4419 if { (eval echo configure:4420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4420   rm -rf conftest*
4421   glibcpp_cv_func___builtin_sinl_link=yes
4422 else
4423   echo "configure: failed program was:" >&5
4424   cat conftest.$ac_ext >&5
4425   rm -rf conftest*
4426   glibcpp_cv_func___builtin_sinl_link=no
4427 fi
4428 rm -f conftest*
4429     
4430 fi
4431
4432     echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4433     if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4434       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4435       cat >> confdefs.h <<EOF
4436 #define ${ac_tr_func} 1
4437 EOF
4438
4439     fi
4440   fi
4441
4442
4443   
4444   echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4445 echo "configure:4446: checking for __builtin_cosf declaration" >&5
4446   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4447   echo $ac_n "(cached) $ac_c" 1>&6
4448 else
4449   
4450     
4451     ac_ext=C
4452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4453 ac_cpp='$CXXCPP $CPPFLAGS'
4454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4456 cross_compiling=$ac_cv_prog_cxx_cross
4457
4458     cat > conftest.$ac_ext <<EOF
4459 #line 4460 "configure"
4460 #include "confdefs.h"
4461 #include <math.h>
4462 int main() {
4463  __builtin_cosf(0);
4464 ; return 0; }
4465 EOF
4466 if { (eval echo configure:4467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4467   rm -rf conftest*
4468   glibcpp_cv_func___builtin_cosf_use=yes
4469 else
4470   echo "configure: failed program was:" >&5
4471   cat conftest.$ac_ext >&5
4472   rm -rf conftest*
4473   glibcpp_cv_func___builtin_cosf_use=no
4474 fi
4475 rm -f conftest*
4476     ac_ext=c
4477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4478 ac_cpp='$CPP $CPPFLAGS'
4479 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4480 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4481 cross_compiling=$ac_cv_prog_cc_cross
4482
4483   
4484 fi
4485
4486   echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4487   if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4488     echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4489 echo "configure:4490: checking for __builtin_cosf linkage" >&5
4490     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4491   echo $ac_n "(cached) $ac_c" 1>&6
4492 else
4493   
4494       cat > conftest.$ac_ext <<EOF
4495 #line 4496 "configure"
4496 #include "confdefs.h"
4497 #include <math.h>
4498 int main() {
4499  __builtin_cosf(0);
4500 ; return 0; }
4501 EOF
4502 if { (eval echo configure:4503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4503   rm -rf conftest*
4504   glibcpp_cv_func___builtin_cosf_link=yes
4505 else
4506   echo "configure: failed program was:" >&5
4507   cat conftest.$ac_ext >&5
4508   rm -rf conftest*
4509   glibcpp_cv_func___builtin_cosf_link=no
4510 fi
4511 rm -f conftest*
4512     
4513 fi
4514
4515     echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4516     if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4517       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4518       cat >> confdefs.h <<EOF
4519 #define ${ac_tr_func} 1
4520 EOF
4521
4522     fi
4523   fi
4524
4525   
4526   echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4527 echo "configure:4528: checking for __builtin_cos declaration" >&5
4528   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4529   echo $ac_n "(cached) $ac_c" 1>&6
4530 else
4531   
4532     
4533     ac_ext=C
4534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4535 ac_cpp='$CXXCPP $CPPFLAGS'
4536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4538 cross_compiling=$ac_cv_prog_cxx_cross
4539
4540     cat > conftest.$ac_ext <<EOF
4541 #line 4542 "configure"
4542 #include "confdefs.h"
4543 #include <math.h>
4544 int main() {
4545  __builtin_cos(0);
4546 ; return 0; }
4547 EOF
4548 if { (eval echo configure:4549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4549   rm -rf conftest*
4550   glibcpp_cv_func___builtin_cos_use=yes
4551 else
4552   echo "configure: failed program was:" >&5
4553   cat conftest.$ac_ext >&5
4554   rm -rf conftest*
4555   glibcpp_cv_func___builtin_cos_use=no
4556 fi
4557 rm -f conftest*
4558     ac_ext=c
4559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4560 ac_cpp='$CPP $CPPFLAGS'
4561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4563 cross_compiling=$ac_cv_prog_cc_cross
4564
4565   
4566 fi
4567
4568   echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4569   if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4570     echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4571 echo "configure:4572: checking for __builtin_cos linkage" >&5
4572     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4573   echo $ac_n "(cached) $ac_c" 1>&6
4574 else
4575   
4576       cat > conftest.$ac_ext <<EOF
4577 #line 4578 "configure"
4578 #include "confdefs.h"
4579 #include <math.h>
4580 int main() {
4581  __builtin_cos(0);
4582 ; return 0; }
4583 EOF
4584 if { (eval echo configure:4585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4585   rm -rf conftest*
4586   glibcpp_cv_func___builtin_cos_link=yes
4587 else
4588   echo "configure: failed program was:" >&5
4589   cat conftest.$ac_ext >&5
4590   rm -rf conftest*
4591   glibcpp_cv_func___builtin_cos_link=no
4592 fi
4593 rm -f conftest*
4594     
4595 fi
4596
4597     echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4598     if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4599       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4600       cat >> confdefs.h <<EOF
4601 #define ${ac_tr_func} 1
4602 EOF
4603
4604     fi
4605   fi
4606
4607   
4608   echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4609 echo "configure:4610: checking for __builtin_cosl declaration" >&5
4610   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4611   echo $ac_n "(cached) $ac_c" 1>&6
4612 else
4613   
4614     
4615     ac_ext=C
4616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4617 ac_cpp='$CXXCPP $CPPFLAGS'
4618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4620 cross_compiling=$ac_cv_prog_cxx_cross
4621
4622     cat > conftest.$ac_ext <<EOF
4623 #line 4624 "configure"
4624 #include "confdefs.h"
4625 #include <math.h>
4626 int main() {
4627  __builtin_cosl(0);
4628 ; return 0; }
4629 EOF
4630 if { (eval echo configure:4631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4631   rm -rf conftest*
4632   glibcpp_cv_func___builtin_cosl_use=yes
4633 else
4634   echo "configure: failed program was:" >&5
4635   cat conftest.$ac_ext >&5
4636   rm -rf conftest*
4637   glibcpp_cv_func___builtin_cosl_use=no
4638 fi
4639 rm -f conftest*
4640     ac_ext=c
4641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4642 ac_cpp='$CPP $CPPFLAGS'
4643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4645 cross_compiling=$ac_cv_prog_cc_cross
4646
4647   
4648 fi
4649
4650   echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4651   if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4652     echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4653 echo "configure:4654: checking for __builtin_cosl linkage" >&5
4654     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4655   echo $ac_n "(cached) $ac_c" 1>&6
4656 else
4657   
4658       cat > conftest.$ac_ext <<EOF
4659 #line 4660 "configure"
4660 #include "confdefs.h"
4661 #include <math.h>
4662 int main() {
4663  __builtin_cosl(0);
4664 ; return 0; }
4665 EOF
4666 if { (eval echo configure:4667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4667   rm -rf conftest*
4668   glibcpp_cv_func___builtin_cosl_link=yes
4669 else
4670   echo "configure: failed program was:" >&5
4671   cat conftest.$ac_ext >&5
4672   rm -rf conftest*
4673   glibcpp_cv_func___builtin_cosl_link=no
4674 fi
4675 rm -f conftest*
4676     
4677 fi
4678
4679     echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4680     if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4681       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4682       cat >> confdefs.h <<EOF
4683 #define ${ac_tr_func} 1
4684 EOF
4685
4686     fi
4687   fi
4688
4689
4690               dummyvar=no
4691   if test x$dummyvar = x"yes"; then
4692     cat >> confdefs.h <<\EOF
4693 #define HAVE___BUILTIN_ABS 1
4694 EOF
4695
4696     cat >> confdefs.h <<\EOF
4697 #define HAVE___BUILTIN_LABS 1
4698 EOF
4699
4700     cat >> confdefs.h <<\EOF
4701 #define HAVE___BUILTIN_COS 1
4702 EOF
4703
4704     cat >> confdefs.h <<\EOF
4705 #define HAVE___BUILTIN_COSF 1
4706 EOF
4707
4708     cat >> confdefs.h <<\EOF
4709 #define HAVE___BUILTIN_COSL 1
4710 EOF
4711
4712     cat >> confdefs.h <<\EOF
4713 #define HAVE___BUILTIN_FABS 1
4714 EOF
4715
4716     cat >> confdefs.h <<\EOF
4717 #define HAVE___BUILTIN_FABSF 1
4718 EOF
4719
4720     cat >> confdefs.h <<\EOF
4721 #define HAVE___BUILTIN_FABSL 1
4722 EOF
4723
4724     cat >> confdefs.h <<\EOF
4725 #define HAVE___BUILTIN_SIN 1
4726 EOF
4727
4728     cat >> confdefs.h <<\EOF
4729 #define HAVE___BUILTIN_SINF 1
4730 EOF
4731
4732     cat >> confdefs.h <<\EOF
4733 #define HAVE___BUILTIN_SINL 1
4734 EOF
4735
4736     cat >> confdefs.h <<\EOF
4737 #define HAVE___BUILTIN_FSQRT 1
4738 EOF
4739
4740     cat >> confdefs.h <<\EOF
4741 #define HAVE___BUILTIN_SQRTF 1
4742 EOF
4743
4744     cat >> confdefs.h <<\EOF
4745 #define HAVE___BUILTIN_SQRTL 1
4746 EOF
4747
4748   fi
4749
4750   
4751   ac_test_CXXFLAGS="${CXXFLAGS+set}"
4752   ac_save_CXXFLAGS="$CXXFLAGS"
4753   CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4754
4755     echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4756 echo "configure:4757: checking for sin in -lm" >&5
4757 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4758 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4759   echo $ac_n "(cached) $ac_c" 1>&6
4760 else
4761   ac_save_LIBS="$LIBS"
4762 LIBS="-lm  $LIBS"
4763 cat > conftest.$ac_ext <<EOF
4764 #line 4765 "configure"
4765 #include "confdefs.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 sin();
4770
4771 int main() {
4772 sin()
4773 ; return 0; }
4774 EOF
4775 if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4776   rm -rf conftest*
4777   eval "ac_cv_lib_$ac_lib_var=yes"
4778 else
4779   echo "configure: failed program was:" >&5
4780   cat conftest.$ac_ext >&5
4781   rm -rf conftest*
4782   eval "ac_cv_lib_$ac_lib_var=no"
4783 fi
4784 rm -f conftest*
4785 LIBS="$ac_save_LIBS"
4786
4787 fi
4788 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4789   echo "$ac_t""yes" 1>&6
4790   libm="-lm"
4791 else
4792   echo "$ac_t""no" 1>&6
4793 fi
4794
4795   ac_save_LIBS="$LIBS"
4796   LIBS="$LIBS $libm"
4797
4798     for ac_func in strtof strtold
4799 do
4800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4801 echo "configure:4802: checking for $ac_func" >&5
4802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4803   echo $ac_n "(cached) $ac_c" 1>&6
4804 else
4805   cat > conftest.$ac_ext <<EOF
4806 #line 4807 "configure"
4807 #include "confdefs.h"
4808 /* System header to define __stub macros and hopefully few prototypes,
4809     which can conflict with char $ac_func(); below.  */
4810 #include <assert.h>
4811 /* Override any gcc2 internal prototype to avoid an error.  */
4812 /* We use char because int might match the return type of a gcc2
4813     builtin and then its argument prototype would still apply.  */
4814 char $ac_func();
4815
4816 int main() {
4817
4818 /* The GNU C library defines this for functions which it implements
4819     to always fail with ENOSYS.  Some functions are actually named
4820     something starting with __ and the normal name is an alias.  */
4821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4822 choke me
4823 #else
4824 $ac_func();
4825 #endif
4826
4827 ; return 0; }
4828 EOF
4829 if { (eval echo configure:4830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4830   rm -rf conftest*
4831   eval "ac_cv_func_$ac_func=yes"
4832 else
4833   echo "configure: failed program was:" >&5
4834   cat conftest.$ac_ext >&5
4835   rm -rf conftest*
4836   eval "ac_cv_func_$ac_func=no"
4837 fi
4838 rm -f conftest*
4839 fi
4840
4841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4842   echo "$ac_t""yes" 1>&6
4843     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4844   cat >> confdefs.h <<EOF
4845 #define $ac_tr_func 1
4846 EOF
4847  
4848 else
4849   echo "$ac_t""no" 1>&6
4850 fi
4851 done
4852
4853
4854     
4855   echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4856 echo "configure:4857: checking for isinf declaration" >&5
4857   if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4858   echo $ac_n "(cached) $ac_c" 1>&6
4859 else
4860   
4861     
4862     ac_ext=C
4863 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4864 ac_cpp='$CXXCPP $CPPFLAGS'
4865 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4866 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4867 cross_compiling=$ac_cv_prog_cxx_cross
4868
4869     cat > conftest.$ac_ext <<EOF
4870 #line 4871 "configure"
4871 #include "confdefs.h"
4872 #include <math.h>
4873 int main() {
4874  isinf(0);
4875 ; return 0; }
4876 EOF
4877 if { (eval echo configure:4878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4878   rm -rf conftest*
4879   glibcpp_cv_func_isinf_use=yes
4880 else
4881   echo "configure: failed program was:" >&5
4882   cat conftest.$ac_ext >&5
4883   rm -rf conftest*
4884   glibcpp_cv_func_isinf_use=no
4885 fi
4886 rm -f conftest*
4887     ac_ext=c
4888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4889 ac_cpp='$CPP $CPPFLAGS'
4890 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4891 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4892 cross_compiling=$ac_cv_prog_cc_cross
4893
4894   
4895 fi
4896
4897   echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4898   if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4899     for ac_func in isinf
4900 do
4901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4902 echo "configure:4903: checking for $ac_func" >&5
4903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4904   echo $ac_n "(cached) $ac_c" 1>&6
4905 else
4906   cat > conftest.$ac_ext <<EOF
4907 #line 4908 "configure"
4908 #include "confdefs.h"
4909 /* System header to define __stub macros and hopefully few prototypes,
4910     which can conflict with char $ac_func(); below.  */
4911 #include <assert.h>
4912 /* Override any gcc2 internal prototype to avoid an error.  */
4913 /* We use char because int might match the return type of a gcc2
4914     builtin and then its argument prototype would still apply.  */
4915 char $ac_func();
4916
4917 int main() {
4918
4919 /* The GNU C library defines this for functions which it implements
4920     to always fail with ENOSYS.  Some functions are actually named
4921     something starting with __ and the normal name is an alias.  */
4922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4923 choke me
4924 #else
4925 $ac_func();
4926 #endif
4927
4928 ; return 0; }
4929 EOF
4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4931   rm -rf conftest*
4932   eval "ac_cv_func_$ac_func=yes"
4933 else
4934   echo "configure: failed program was:" >&5
4935   cat conftest.$ac_ext >&5
4936   rm -rf conftest*
4937   eval "ac_cv_func_$ac_func=no"
4938 fi
4939 rm -f conftest*
4940 fi
4941
4942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4943   echo "$ac_t""yes" 1>&6
4944     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4945   cat >> confdefs.h <<EOF
4946 #define $ac_tr_func 1
4947 EOF
4948  
4949 else
4950   echo "$ac_t""no" 1>&6
4951 fi
4952 done
4953     
4954   fi
4955
4956   
4957   echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4958 echo "configure:4959: checking for isnan declaration" >&5
4959   if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4960   echo $ac_n "(cached) $ac_c" 1>&6
4961 else
4962   
4963     
4964     ac_ext=C
4965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4966 ac_cpp='$CXXCPP $CPPFLAGS'
4967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4969 cross_compiling=$ac_cv_prog_cxx_cross
4970
4971     cat > conftest.$ac_ext <<EOF
4972 #line 4973 "configure"
4973 #include "confdefs.h"
4974 #include <math.h>
4975 int main() {
4976  isnan(0);
4977 ; return 0; }
4978 EOF
4979 if { (eval echo configure:4980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4980   rm -rf conftest*
4981   glibcpp_cv_func_isnan_use=yes
4982 else
4983   echo "configure: failed program was:" >&5
4984   cat conftest.$ac_ext >&5
4985   rm -rf conftest*
4986   glibcpp_cv_func_isnan_use=no
4987 fi
4988 rm -f conftest*
4989     ac_ext=c
4990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4991 ac_cpp='$CPP $CPPFLAGS'
4992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4994 cross_compiling=$ac_cv_prog_cc_cross
4995
4996   
4997 fi
4998
4999   echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
5000   if test x$glibcpp_cv_func_isnan_use = x"yes"; then
5001     for ac_func in isnan
5002 do
5003 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5004 echo "configure:5005: checking for $ac_func" >&5
5005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5006   echo $ac_n "(cached) $ac_c" 1>&6
5007 else
5008   cat > conftest.$ac_ext <<EOF
5009 #line 5010 "configure"
5010 #include "confdefs.h"
5011 /* System header to define __stub macros and hopefully few prototypes,
5012     which can conflict with char $ac_func(); below.  */
5013 #include <assert.h>
5014 /* Override any gcc2 internal prototype to avoid an error.  */
5015 /* We use char because int might match the return type of a gcc2
5016     builtin and then its argument prototype would still apply.  */
5017 char $ac_func();
5018
5019 int main() {
5020
5021 /* The GNU C library defines this for functions which it implements
5022     to always fail with ENOSYS.  Some functions are actually named
5023     something starting with __ and the normal name is an alias.  */
5024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5025 choke me
5026 #else
5027 $ac_func();
5028 #endif
5029
5030 ; return 0; }
5031 EOF
5032 if { (eval echo configure:5033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5033   rm -rf conftest*
5034   eval "ac_cv_func_$ac_func=yes"
5035 else
5036   echo "configure: failed program was:" >&5
5037   cat conftest.$ac_ext >&5
5038   rm -rf conftest*
5039   eval "ac_cv_func_$ac_func=no"
5040 fi
5041 rm -f conftest*
5042 fi
5043
5044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5045   echo "$ac_t""yes" 1>&6
5046     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5047   cat >> confdefs.h <<EOF
5048 #define $ac_tr_func 1
5049 EOF
5050  
5051 else
5052   echo "$ac_t""no" 1>&6
5053 fi
5054 done
5055     
5056   fi
5057
5058   
5059   echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
5060 echo "configure:5061: checking for finite declaration" >&5
5061   if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
5062   echo $ac_n "(cached) $ac_c" 1>&6
5063 else
5064   
5065     
5066     ac_ext=C
5067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5068 ac_cpp='$CXXCPP $CPPFLAGS'
5069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5071 cross_compiling=$ac_cv_prog_cxx_cross
5072
5073     cat > conftest.$ac_ext <<EOF
5074 #line 5075 "configure"
5075 #include "confdefs.h"
5076 #include <math.h>
5077 int main() {
5078  finite(0);
5079 ; return 0; }
5080 EOF
5081 if { (eval echo configure:5082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5082   rm -rf conftest*
5083   glibcpp_cv_func_finite_use=yes
5084 else
5085   echo "configure: failed program was:" >&5
5086   cat conftest.$ac_ext >&5
5087   rm -rf conftest*
5088   glibcpp_cv_func_finite_use=no
5089 fi
5090 rm -f conftest*
5091     ac_ext=c
5092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5093 ac_cpp='$CPP $CPPFLAGS'
5094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5096 cross_compiling=$ac_cv_prog_cc_cross
5097
5098   
5099 fi
5100
5101   echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
5102   if test x$glibcpp_cv_func_finite_use = x"yes"; then
5103     for ac_func in finite
5104 do
5105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5106 echo "configure:5107: checking for $ac_func" >&5
5107 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5108   echo $ac_n "(cached) $ac_c" 1>&6
5109 else
5110   cat > conftest.$ac_ext <<EOF
5111 #line 5112 "configure"
5112 #include "confdefs.h"
5113 /* System header to define __stub macros and hopefully few prototypes,
5114     which can conflict with char $ac_func(); below.  */
5115 #include <assert.h>
5116 /* Override any gcc2 internal prototype to avoid an error.  */
5117 /* We use char because int might match the return type of a gcc2
5118     builtin and then its argument prototype would still apply.  */
5119 char $ac_func();
5120
5121 int main() {
5122
5123 /* The GNU C library defines this for functions which it implements
5124     to always fail with ENOSYS.  Some functions are actually named
5125     something starting with __ and the normal name is an alias.  */
5126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5127 choke me
5128 #else
5129 $ac_func();
5130 #endif
5131
5132 ; return 0; }
5133 EOF
5134 if { (eval echo configure:5135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5135   rm -rf conftest*
5136   eval "ac_cv_func_$ac_func=yes"
5137 else
5138   echo "configure: failed program was:" >&5
5139   cat conftest.$ac_ext >&5
5140   rm -rf conftest*
5141   eval "ac_cv_func_$ac_func=no"
5142 fi
5143 rm -f conftest*
5144 fi
5145
5146 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5147   echo "$ac_t""yes" 1>&6
5148     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5149   cat >> confdefs.h <<EOF
5150 #define $ac_tr_func 1
5151 EOF
5152  
5153 else
5154   echo "$ac_t""no" 1>&6
5155 fi
5156 done
5157     
5158   fi
5159
5160   
5161   echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5162 echo "configure:5163: checking for copysign declaration" >&5
5163   if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5164   echo $ac_n "(cached) $ac_c" 1>&6
5165 else
5166   
5167     
5168     ac_ext=C
5169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5170 ac_cpp='$CXXCPP $CPPFLAGS'
5171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5173 cross_compiling=$ac_cv_prog_cxx_cross
5174
5175     cat > conftest.$ac_ext <<EOF
5176 #line 5177 "configure"
5177 #include "confdefs.h"
5178 #include <math.h>
5179 int main() {
5180  copysign(0, 0);
5181 ; return 0; }
5182 EOF
5183 if { (eval echo configure:5184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5184   rm -rf conftest*
5185   glibcpp_cv_func_copysign_use=yes
5186 else
5187   echo "configure: failed program was:" >&5
5188   cat conftest.$ac_ext >&5
5189   rm -rf conftest*
5190   glibcpp_cv_func_copysign_use=no
5191 fi
5192 rm -f conftest*
5193     ac_ext=c
5194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5195 ac_cpp='$CPP $CPPFLAGS'
5196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5198 cross_compiling=$ac_cv_prog_cc_cross
5199
5200   
5201 fi
5202
5203   echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5204   if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5205     for ac_func in copysign
5206 do
5207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5208 echo "configure:5209: checking for $ac_func" >&5
5209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5210   echo $ac_n "(cached) $ac_c" 1>&6
5211 else
5212   cat > conftest.$ac_ext <<EOF
5213 #line 5214 "configure"
5214 #include "confdefs.h"
5215 /* System header to define __stub macros and hopefully few prototypes,
5216     which can conflict with char $ac_func(); below.  */
5217 #include <assert.h>
5218 /* Override any gcc2 internal prototype to avoid an error.  */
5219 /* We use char because int might match the return type of a gcc2
5220     builtin and then its argument prototype would still apply.  */
5221 char $ac_func();
5222
5223 int main() {
5224
5225 /* The GNU C library defines this for functions which it implements
5226     to always fail with ENOSYS.  Some functions are actually named
5227     something starting with __ and the normal name is an alias.  */
5228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5229 choke me
5230 #else
5231 $ac_func();
5232 #endif
5233
5234 ; return 0; }
5235 EOF
5236 if { (eval echo configure:5237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5237   rm -rf conftest*
5238   eval "ac_cv_func_$ac_func=yes"
5239 else
5240   echo "configure: failed program was:" >&5
5241   cat conftest.$ac_ext >&5
5242   rm -rf conftest*
5243   eval "ac_cv_func_$ac_func=no"
5244 fi
5245 rm -f conftest*
5246 fi
5247
5248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5249   echo "$ac_t""yes" 1>&6
5250     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5251   cat >> confdefs.h <<EOF
5252 #define $ac_tr_func 1
5253 EOF
5254  
5255 else
5256   echo "$ac_t""no" 1>&6
5257 fi
5258 done
5259     
5260   fi
5261
5262   
5263   echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5264 echo "configure:5265: checking for sincos declaration" >&5
5265   if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5266   echo $ac_n "(cached) $ac_c" 1>&6
5267 else
5268   
5269     
5270     ac_ext=C
5271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5272 ac_cpp='$CXXCPP $CPPFLAGS'
5273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5275 cross_compiling=$ac_cv_prog_cxx_cross
5276
5277     cat > conftest.$ac_ext <<EOF
5278 #line 5279 "configure"
5279 #include "confdefs.h"
5280 #include <math.h>
5281 int main() {
5282  sincos(0, 0, 0);
5283 ; return 0; }
5284 EOF
5285 if { (eval echo configure:5286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5286   rm -rf conftest*
5287   glibcpp_cv_func_sincos_use=yes
5288 else
5289   echo "configure: failed program was:" >&5
5290   cat conftest.$ac_ext >&5
5291   rm -rf conftest*
5292   glibcpp_cv_func_sincos_use=no
5293 fi
5294 rm -f conftest*
5295     ac_ext=c
5296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5297 ac_cpp='$CPP $CPPFLAGS'
5298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5300 cross_compiling=$ac_cv_prog_cc_cross
5301
5302   
5303 fi
5304
5305   echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5306   if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5307     for ac_func in sincos
5308 do
5309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5310 echo "configure:5311: checking for $ac_func" >&5
5311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5312   echo $ac_n "(cached) $ac_c" 1>&6
5313 else
5314   cat > conftest.$ac_ext <<EOF
5315 #line 5316 "configure"
5316 #include "confdefs.h"
5317 /* System header to define __stub macros and hopefully few prototypes,
5318     which can conflict with char $ac_func(); below.  */
5319 #include <assert.h>
5320 /* Override any gcc2 internal prototype to avoid an error.  */
5321 /* We use char because int might match the return type of a gcc2
5322     builtin and then its argument prototype would still apply.  */
5323 char $ac_func();
5324
5325 int main() {
5326
5327 /* The GNU C library defines this for functions which it implements
5328     to always fail with ENOSYS.  Some functions are actually named
5329     something starting with __ and the normal name is an alias.  */
5330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5331 choke me
5332 #else
5333 $ac_func();
5334 #endif
5335
5336 ; return 0; }
5337 EOF
5338 if { (eval echo configure:5339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5339   rm -rf conftest*
5340   eval "ac_cv_func_$ac_func=yes"
5341 else
5342   echo "configure: failed program was:" >&5
5343   cat conftest.$ac_ext >&5
5344   rm -rf conftest*
5345   eval "ac_cv_func_$ac_func=no"
5346 fi
5347 rm -f conftest*
5348 fi
5349
5350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5351   echo "$ac_t""yes" 1>&6
5352     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5353   cat >> confdefs.h <<EOF
5354 #define $ac_tr_func 1
5355 EOF
5356  
5357 else
5358   echo "$ac_t""no" 1>&6
5359 fi
5360 done
5361     
5362   fi
5363
5364   
5365   echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5366 echo "configure:5367: checking for fpclass declaration" >&5
5367   if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5368   echo $ac_n "(cached) $ac_c" 1>&6
5369 else
5370   
5371     
5372     ac_ext=C
5373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5374 ac_cpp='$CXXCPP $CPPFLAGS'
5375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5377 cross_compiling=$ac_cv_prog_cxx_cross
5378
5379     cat > conftest.$ac_ext <<EOF
5380 #line 5381 "configure"
5381 #include "confdefs.h"
5382 #include <math.h>
5383 int main() {
5384  fpclass(0);
5385 ; return 0; }
5386 EOF
5387 if { (eval echo configure:5388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5388   rm -rf conftest*
5389   glibcpp_cv_func_fpclass_use=yes
5390 else
5391   echo "configure: failed program was:" >&5
5392   cat conftest.$ac_ext >&5
5393   rm -rf conftest*
5394   glibcpp_cv_func_fpclass_use=no
5395 fi
5396 rm -f conftest*
5397     ac_ext=c
5398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5399 ac_cpp='$CPP $CPPFLAGS'
5400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5402 cross_compiling=$ac_cv_prog_cc_cross
5403
5404   
5405 fi
5406
5407   echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5408   if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5409     for ac_func in fpclass
5410 do
5411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5412 echo "configure:5413: checking for $ac_func" >&5
5413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5414   echo $ac_n "(cached) $ac_c" 1>&6
5415 else
5416   cat > conftest.$ac_ext <<EOF
5417 #line 5418 "configure"
5418 #include "confdefs.h"
5419 /* System header to define __stub macros and hopefully few prototypes,
5420     which can conflict with char $ac_func(); below.  */
5421 #include <assert.h>
5422 /* Override any gcc2 internal prototype to avoid an error.  */
5423 /* We use char because int might match the return type of a gcc2
5424     builtin and then its argument prototype would still apply.  */
5425 char $ac_func();
5426
5427 int main() {
5428
5429 /* The GNU C library defines this for functions which it implements
5430     to always fail with ENOSYS.  Some functions are actually named
5431     something starting with __ and the normal name is an alias.  */
5432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5433 choke me
5434 #else
5435 $ac_func();
5436 #endif
5437
5438 ; return 0; }
5439 EOF
5440 if { (eval echo configure:5441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5441   rm -rf conftest*
5442   eval "ac_cv_func_$ac_func=yes"
5443 else
5444   echo "configure: failed program was:" >&5
5445   cat conftest.$ac_ext >&5
5446   rm -rf conftest*
5447   eval "ac_cv_func_$ac_func=no"
5448 fi
5449 rm -f conftest*
5450 fi
5451
5452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5453   echo "$ac_t""yes" 1>&6
5454     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5455   cat >> confdefs.h <<EOF
5456 #define $ac_tr_func 1
5457 EOF
5458  
5459 else
5460   echo "$ac_t""no" 1>&6
5461 fi
5462 done
5463     
5464   fi
5465
5466   
5467   echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5468 echo "configure:5469: checking for qfpclass declaration" >&5
5469   if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5470   echo $ac_n "(cached) $ac_c" 1>&6
5471 else
5472   
5473     
5474     ac_ext=C
5475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5476 ac_cpp='$CXXCPP $CPPFLAGS'
5477 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5478 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5479 cross_compiling=$ac_cv_prog_cxx_cross
5480
5481     cat > conftest.$ac_ext <<EOF
5482 #line 5483 "configure"
5483 #include "confdefs.h"
5484 #include <math.h>
5485 int main() {
5486  qfpclass(0);
5487 ; return 0; }
5488 EOF
5489 if { (eval echo configure:5490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5490   rm -rf conftest*
5491   glibcpp_cv_func_qfpclass_use=yes
5492 else
5493   echo "configure: failed program was:" >&5
5494   cat conftest.$ac_ext >&5
5495   rm -rf conftest*
5496   glibcpp_cv_func_qfpclass_use=no
5497 fi
5498 rm -f conftest*
5499     ac_ext=c
5500 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5501 ac_cpp='$CPP $CPPFLAGS'
5502 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5503 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5504 cross_compiling=$ac_cv_prog_cc_cross
5505
5506   
5507 fi
5508
5509   echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5510   if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5511     for ac_func in qfpclass
5512 do
5513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5514 echo "configure:5515: checking for $ac_func" >&5
5515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5516   echo $ac_n "(cached) $ac_c" 1>&6
5517 else
5518   cat > conftest.$ac_ext <<EOF
5519 #line 5520 "configure"
5520 #include "confdefs.h"
5521 /* System header to define __stub macros and hopefully few prototypes,
5522     which can conflict with char $ac_func(); below.  */
5523 #include <assert.h>
5524 /* Override any gcc2 internal prototype to avoid an error.  */
5525 /* We use char because int might match the return type of a gcc2
5526     builtin and then its argument prototype would still apply.  */
5527 char $ac_func();
5528
5529 int main() {
5530
5531 /* The GNU C library defines this for functions which it implements
5532     to always fail with ENOSYS.  Some functions are actually named
5533     something starting with __ and the normal name is an alias.  */
5534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5535 choke me
5536 #else
5537 $ac_func();
5538 #endif
5539
5540 ; return 0; }
5541 EOF
5542 if { (eval echo configure:5543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5543   rm -rf conftest*
5544   eval "ac_cv_func_$ac_func=yes"
5545 else
5546   echo "configure: failed program was:" >&5
5547   cat conftest.$ac_ext >&5
5548   rm -rf conftest*
5549   eval "ac_cv_func_$ac_func=no"
5550 fi
5551 rm -f conftest*
5552 fi
5553
5554 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5555   echo "$ac_t""yes" 1>&6
5556     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5557   cat >> confdefs.h <<EOF
5558 #define $ac_tr_func 1
5559 EOF
5560  
5561 else
5562   echo "$ac_t""no" 1>&6
5563 fi
5564 done
5565     
5566   fi
5567
5568
5569     
5570   echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5571 echo "configure:5572: checking for isnanf declaration" >&5
5572   if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5573   echo $ac_n "(cached) $ac_c" 1>&6
5574 else
5575   
5576     
5577     ac_ext=C
5578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5579 ac_cpp='$CXXCPP $CPPFLAGS'
5580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5582 cross_compiling=$ac_cv_prog_cxx_cross
5583
5584     cat > conftest.$ac_ext <<EOF
5585 #line 5586 "configure"
5586 #include "confdefs.h"
5587 #include <math.h>
5588 int main() {
5589  isnanf(0);
5590 ; return 0; }
5591 EOF
5592 if { (eval echo configure:5593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5593   rm -rf conftest*
5594   glibcpp_cv_func_isnanf_use=yes
5595 else
5596   echo "configure: failed program was:" >&5
5597   cat conftest.$ac_ext >&5
5598   rm -rf conftest*
5599   glibcpp_cv_func_isnanf_use=no
5600 fi
5601 rm -f conftest*
5602     ac_ext=c
5603 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5604 ac_cpp='$CPP $CPPFLAGS'
5605 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5606 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5607 cross_compiling=$ac_cv_prog_cc_cross
5608
5609   
5610 fi
5611
5612   echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5613   if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5614     for ac_func in isnanf
5615 do
5616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5617 echo "configure:5618: checking for $ac_func" >&5
5618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5619   echo $ac_n "(cached) $ac_c" 1>&6
5620 else
5621   cat > conftest.$ac_ext <<EOF
5622 #line 5623 "configure"
5623 #include "confdefs.h"
5624 /* System header to define __stub macros and hopefully few prototypes,
5625     which can conflict with char $ac_func(); below.  */
5626 #include <assert.h>
5627 /* Override any gcc2 internal prototype to avoid an error.  */
5628 /* We use char because int might match the return type of a gcc2
5629     builtin and then its argument prototype would still apply.  */
5630 char $ac_func();
5631
5632 int main() {
5633
5634 /* The GNU C library defines this for functions which it implements
5635     to always fail with ENOSYS.  Some functions are actually named
5636     something starting with __ and the normal name is an alias.  */
5637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5638 choke me
5639 #else
5640 $ac_func();
5641 #endif
5642
5643 ; return 0; }
5644 EOF
5645 if { (eval echo configure:5646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5646   rm -rf conftest*
5647   eval "ac_cv_func_$ac_func=yes"
5648 else
5649   echo "configure: failed program was:" >&5
5650   cat conftest.$ac_ext >&5
5651   rm -rf conftest*
5652   eval "ac_cv_func_$ac_func=no"
5653 fi
5654 rm -f conftest*
5655 fi
5656
5657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5658   echo "$ac_t""yes" 1>&6
5659     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5660   cat >> confdefs.h <<EOF
5661 #define $ac_tr_func 1
5662 EOF
5663  
5664 else
5665   echo "$ac_t""no" 1>&6
5666 fi
5667 done
5668     
5669   fi
5670
5671   
5672   echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5673 echo "configure:5674: checking for isinff declaration" >&5
5674   if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5675   echo $ac_n "(cached) $ac_c" 1>&6
5676 else
5677   
5678     
5679     ac_ext=C
5680 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5681 ac_cpp='$CXXCPP $CPPFLAGS'
5682 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5683 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5684 cross_compiling=$ac_cv_prog_cxx_cross
5685
5686     cat > conftest.$ac_ext <<EOF
5687 #line 5688 "configure"
5688 #include "confdefs.h"
5689 #include <math.h>
5690 int main() {
5691  isinff(0);
5692 ; return 0; }
5693 EOF
5694 if { (eval echo configure:5695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5695   rm -rf conftest*
5696   glibcpp_cv_func_isinff_use=yes
5697 else
5698   echo "configure: failed program was:" >&5
5699   cat conftest.$ac_ext >&5
5700   rm -rf conftest*
5701   glibcpp_cv_func_isinff_use=no
5702 fi
5703 rm -f conftest*
5704     ac_ext=c
5705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5706 ac_cpp='$CPP $CPPFLAGS'
5707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5709 cross_compiling=$ac_cv_prog_cc_cross
5710
5711   
5712 fi
5713
5714   echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5715   if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5716     for ac_func in isinff
5717 do
5718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5719 echo "configure:5720: checking for $ac_func" >&5
5720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5721   echo $ac_n "(cached) $ac_c" 1>&6
5722 else
5723   cat > conftest.$ac_ext <<EOF
5724 #line 5725 "configure"
5725 #include "confdefs.h"
5726 /* System header to define __stub macros and hopefully few prototypes,
5727     which can conflict with char $ac_func(); below.  */
5728 #include <assert.h>
5729 /* Override any gcc2 internal prototype to avoid an error.  */
5730 /* We use char because int might match the return type of a gcc2
5731     builtin and then its argument prototype would still apply.  */
5732 char $ac_func();
5733
5734 int main() {
5735
5736 /* The GNU C library defines this for functions which it implements
5737     to always fail with ENOSYS.  Some functions are actually named
5738     something starting with __ and the normal name is an alias.  */
5739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5740 choke me
5741 #else
5742 $ac_func();
5743 #endif
5744
5745 ; return 0; }
5746 EOF
5747 if { (eval echo configure:5748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5748   rm -rf conftest*
5749   eval "ac_cv_func_$ac_func=yes"
5750 else
5751   echo "configure: failed program was:" >&5
5752   cat conftest.$ac_ext >&5
5753   rm -rf conftest*
5754   eval "ac_cv_func_$ac_func=no"
5755 fi
5756 rm -f conftest*
5757 fi
5758
5759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5760   echo "$ac_t""yes" 1>&6
5761     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5762   cat >> confdefs.h <<EOF
5763 #define $ac_tr_func 1
5764 EOF
5765  
5766 else
5767   echo "$ac_t""no" 1>&6
5768 fi
5769 done
5770     
5771   fi
5772
5773   
5774   echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5775 echo "configure:5776: checking for acosf declaration" >&5
5776   if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5777   echo $ac_n "(cached) $ac_c" 1>&6
5778 else
5779   
5780     
5781     ac_ext=C
5782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5783 ac_cpp='$CXXCPP $CPPFLAGS'
5784 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5785 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5786 cross_compiling=$ac_cv_prog_cxx_cross
5787
5788     cat > conftest.$ac_ext <<EOF
5789 #line 5790 "configure"
5790 #include "confdefs.h"
5791 #include <math.h>
5792 int main() {
5793  acosf(0);
5794 ; return 0; }
5795 EOF
5796 if { (eval echo configure:5797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5797   rm -rf conftest*
5798   glibcpp_cv_func_acosf_use=yes
5799 else
5800   echo "configure: failed program was:" >&5
5801   cat conftest.$ac_ext >&5
5802   rm -rf conftest*
5803   glibcpp_cv_func_acosf_use=no
5804 fi
5805 rm -f conftest*
5806     ac_ext=c
5807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5808 ac_cpp='$CPP $CPPFLAGS'
5809 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5810 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5811 cross_compiling=$ac_cv_prog_cc_cross
5812
5813   
5814 fi
5815
5816   echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5817   if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5818     for ac_func in acosf
5819 do
5820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5821 echo "configure:5822: checking for $ac_func" >&5
5822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5823   echo $ac_n "(cached) $ac_c" 1>&6
5824 else
5825   cat > conftest.$ac_ext <<EOF
5826 #line 5827 "configure"
5827 #include "confdefs.h"
5828 /* System header to define __stub macros and hopefully few prototypes,
5829     which can conflict with char $ac_func(); below.  */
5830 #include <assert.h>
5831 /* Override any gcc2 internal prototype to avoid an error.  */
5832 /* We use char because int might match the return type of a gcc2
5833     builtin and then its argument prototype would still apply.  */
5834 char $ac_func();
5835
5836 int main() {
5837
5838 /* The GNU C library defines this for functions which it implements
5839     to always fail with ENOSYS.  Some functions are actually named
5840     something starting with __ and the normal name is an alias.  */
5841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5842 choke me
5843 #else
5844 $ac_func();
5845 #endif
5846
5847 ; return 0; }
5848 EOF
5849 if { (eval echo configure:5850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5850   rm -rf conftest*
5851   eval "ac_cv_func_$ac_func=yes"
5852 else
5853   echo "configure: failed program was:" >&5
5854   cat conftest.$ac_ext >&5
5855   rm -rf conftest*
5856   eval "ac_cv_func_$ac_func=no"
5857 fi
5858 rm -f conftest*
5859 fi
5860
5861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5862   echo "$ac_t""yes" 1>&6
5863     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5864   cat >> confdefs.h <<EOF
5865 #define $ac_tr_func 1
5866 EOF
5867  
5868 else
5869   echo "$ac_t""no" 1>&6
5870 fi
5871 done
5872     
5873   fi
5874
5875   
5876   echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5877 echo "configure:5878: checking for asinf declaration" >&5
5878   if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5879   echo $ac_n "(cached) $ac_c" 1>&6
5880 else
5881   
5882     
5883     ac_ext=C
5884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5885 ac_cpp='$CXXCPP $CPPFLAGS'
5886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5888 cross_compiling=$ac_cv_prog_cxx_cross
5889
5890     cat > conftest.$ac_ext <<EOF
5891 #line 5892 "configure"
5892 #include "confdefs.h"
5893 #include <math.h>
5894 int main() {
5895  asinf(0);
5896 ; return 0; }
5897 EOF
5898 if { (eval echo configure:5899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5899   rm -rf conftest*
5900   glibcpp_cv_func_asinf_use=yes
5901 else
5902   echo "configure: failed program was:" >&5
5903   cat conftest.$ac_ext >&5
5904   rm -rf conftest*
5905   glibcpp_cv_func_asinf_use=no
5906 fi
5907 rm -f conftest*
5908     ac_ext=c
5909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5910 ac_cpp='$CPP $CPPFLAGS'
5911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5913 cross_compiling=$ac_cv_prog_cc_cross
5914
5915   
5916 fi
5917
5918   echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5919   if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5920     for ac_func in asinf
5921 do
5922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5923 echo "configure:5924: checking for $ac_func" >&5
5924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5925   echo $ac_n "(cached) $ac_c" 1>&6
5926 else
5927   cat > conftest.$ac_ext <<EOF
5928 #line 5929 "configure"
5929 #include "confdefs.h"
5930 /* System header to define __stub macros and hopefully few prototypes,
5931     which can conflict with char $ac_func(); below.  */
5932 #include <assert.h>
5933 /* Override any gcc2 internal prototype to avoid an error.  */
5934 /* We use char because int might match the return type of a gcc2
5935     builtin and then its argument prototype would still apply.  */
5936 char $ac_func();
5937
5938 int main() {
5939
5940 /* The GNU C library defines this for functions which it implements
5941     to always fail with ENOSYS.  Some functions are actually named
5942     something starting with __ and the normal name is an alias.  */
5943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5944 choke me
5945 #else
5946 $ac_func();
5947 #endif
5948
5949 ; return 0; }
5950 EOF
5951 if { (eval echo configure:5952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5952   rm -rf conftest*
5953   eval "ac_cv_func_$ac_func=yes"
5954 else
5955   echo "configure: failed program was:" >&5
5956   cat conftest.$ac_ext >&5
5957   rm -rf conftest*
5958   eval "ac_cv_func_$ac_func=no"
5959 fi
5960 rm -f conftest*
5961 fi
5962
5963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5964   echo "$ac_t""yes" 1>&6
5965     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5966   cat >> confdefs.h <<EOF
5967 #define $ac_tr_func 1
5968 EOF
5969  
5970 else
5971   echo "$ac_t""no" 1>&6
5972 fi
5973 done
5974     
5975   fi
5976
5977   
5978   echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
5979 echo "configure:5980: checking for atanf declaration" >&5
5980   if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
5981   echo $ac_n "(cached) $ac_c" 1>&6
5982 else
5983   
5984     
5985     ac_ext=C
5986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5987 ac_cpp='$CXXCPP $CPPFLAGS'
5988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5990 cross_compiling=$ac_cv_prog_cxx_cross
5991
5992     cat > conftest.$ac_ext <<EOF
5993 #line 5994 "configure"
5994 #include "confdefs.h"
5995 #include <math.h>
5996 int main() {
5997  atanf(0);
5998 ; return 0; }
5999 EOF
6000 if { (eval echo configure:6001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6001   rm -rf conftest*
6002   glibcpp_cv_func_atanf_use=yes
6003 else
6004   echo "configure: failed program was:" >&5
6005   cat conftest.$ac_ext >&5
6006   rm -rf conftest*
6007   glibcpp_cv_func_atanf_use=no
6008 fi
6009 rm -f conftest*
6010     ac_ext=c
6011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6012 ac_cpp='$CPP $CPPFLAGS'
6013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6015 cross_compiling=$ac_cv_prog_cc_cross
6016
6017   
6018 fi
6019
6020   echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
6021   if test x$glibcpp_cv_func_atanf_use = x"yes"; then
6022     for ac_func in atanf
6023 do
6024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6025 echo "configure:6026: checking for $ac_func" >&5
6026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6027   echo $ac_n "(cached) $ac_c" 1>&6
6028 else
6029   cat > conftest.$ac_ext <<EOF
6030 #line 6031 "configure"
6031 #include "confdefs.h"
6032 /* System header to define __stub macros and hopefully few prototypes,
6033     which can conflict with char $ac_func(); below.  */
6034 #include <assert.h>
6035 /* Override any gcc2 internal prototype to avoid an error.  */
6036 /* We use char because int might match the return type of a gcc2
6037     builtin and then its argument prototype would still apply.  */
6038 char $ac_func();
6039
6040 int main() {
6041
6042 /* The GNU C library defines this for functions which it implements
6043     to always fail with ENOSYS.  Some functions are actually named
6044     something starting with __ and the normal name is an alias.  */
6045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6046 choke me
6047 #else
6048 $ac_func();
6049 #endif
6050
6051 ; return 0; }
6052 EOF
6053 if { (eval echo configure:6054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6054   rm -rf conftest*
6055   eval "ac_cv_func_$ac_func=yes"
6056 else
6057   echo "configure: failed program was:" >&5
6058   cat conftest.$ac_ext >&5
6059   rm -rf conftest*
6060   eval "ac_cv_func_$ac_func=no"
6061 fi
6062 rm -f conftest*
6063 fi
6064
6065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6066   echo "$ac_t""yes" 1>&6
6067     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6068   cat >> confdefs.h <<EOF
6069 #define $ac_tr_func 1
6070 EOF
6071  
6072 else
6073   echo "$ac_t""no" 1>&6
6074 fi
6075 done
6076     
6077   fi
6078
6079   
6080   echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
6081 echo "configure:6082: checking for atan2f declaration" >&5
6082   if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
6083   echo $ac_n "(cached) $ac_c" 1>&6
6084 else
6085   
6086     
6087     ac_ext=C
6088 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6089 ac_cpp='$CXXCPP $CPPFLAGS'
6090 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6091 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6092 cross_compiling=$ac_cv_prog_cxx_cross
6093
6094     cat > conftest.$ac_ext <<EOF
6095 #line 6096 "configure"
6096 #include "confdefs.h"
6097 #include <math.h>
6098 int main() {
6099  atan2f(0, 0);
6100 ; return 0; }
6101 EOF
6102 if { (eval echo configure:6103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6103   rm -rf conftest*
6104   glibcpp_cv_func_atan2f_use=yes
6105 else
6106   echo "configure: failed program was:" >&5
6107   cat conftest.$ac_ext >&5
6108   rm -rf conftest*
6109   glibcpp_cv_func_atan2f_use=no
6110 fi
6111 rm -f conftest*
6112     ac_ext=c
6113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6114 ac_cpp='$CPP $CPPFLAGS'
6115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6117 cross_compiling=$ac_cv_prog_cc_cross
6118
6119   
6120 fi
6121
6122   echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6123   if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6124     for ac_func in atan2f
6125 do
6126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6127 echo "configure:6128: checking for $ac_func" >&5
6128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6129   echo $ac_n "(cached) $ac_c" 1>&6
6130 else
6131   cat > conftest.$ac_ext <<EOF
6132 #line 6133 "configure"
6133 #include "confdefs.h"
6134 /* System header to define __stub macros and hopefully few prototypes,
6135     which can conflict with char $ac_func(); below.  */
6136 #include <assert.h>
6137 /* Override any gcc2 internal prototype to avoid an error.  */
6138 /* We use char because int might match the return type of a gcc2
6139     builtin and then its argument prototype would still apply.  */
6140 char $ac_func();
6141
6142 int main() {
6143
6144 /* The GNU C library defines this for functions which it implements
6145     to always fail with ENOSYS.  Some functions are actually named
6146     something starting with __ and the normal name is an alias.  */
6147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6148 choke me
6149 #else
6150 $ac_func();
6151 #endif
6152
6153 ; return 0; }
6154 EOF
6155 if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6156   rm -rf conftest*
6157   eval "ac_cv_func_$ac_func=yes"
6158 else
6159   echo "configure: failed program was:" >&5
6160   cat conftest.$ac_ext >&5
6161   rm -rf conftest*
6162   eval "ac_cv_func_$ac_func=no"
6163 fi
6164 rm -f conftest*
6165 fi
6166
6167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6168   echo "$ac_t""yes" 1>&6
6169     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6170   cat >> confdefs.h <<EOF
6171 #define $ac_tr_func 1
6172 EOF
6173  
6174 else
6175   echo "$ac_t""no" 1>&6
6176 fi
6177 done
6178     
6179   fi
6180
6181   
6182   echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6183 echo "configure:6184: checking for ceilf declaration" >&5
6184   if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6185   echo $ac_n "(cached) $ac_c" 1>&6
6186 else
6187   
6188     
6189     ac_ext=C
6190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6191 ac_cpp='$CXXCPP $CPPFLAGS'
6192 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6193 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6194 cross_compiling=$ac_cv_prog_cxx_cross
6195
6196     cat > conftest.$ac_ext <<EOF
6197 #line 6198 "configure"
6198 #include "confdefs.h"
6199 #include <math.h>
6200 int main() {
6201  ceilf(0);
6202 ; return 0; }
6203 EOF
6204 if { (eval echo configure:6205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6205   rm -rf conftest*
6206   glibcpp_cv_func_ceilf_use=yes
6207 else
6208   echo "configure: failed program was:" >&5
6209   cat conftest.$ac_ext >&5
6210   rm -rf conftest*
6211   glibcpp_cv_func_ceilf_use=no
6212 fi
6213 rm -f conftest*
6214     ac_ext=c
6215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6216 ac_cpp='$CPP $CPPFLAGS'
6217 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6218 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6219 cross_compiling=$ac_cv_prog_cc_cross
6220
6221   
6222 fi
6223
6224   echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6225   if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6226     for ac_func in ceilf
6227 do
6228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6229 echo "configure:6230: checking for $ac_func" >&5
6230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6231   echo $ac_n "(cached) $ac_c" 1>&6
6232 else
6233   cat > conftest.$ac_ext <<EOF
6234 #line 6235 "configure"
6235 #include "confdefs.h"
6236 /* System header to define __stub macros and hopefully few prototypes,
6237     which can conflict with char $ac_func(); below.  */
6238 #include <assert.h>
6239 /* Override any gcc2 internal prototype to avoid an error.  */
6240 /* We use char because int might match the return type of a gcc2
6241     builtin and then its argument prototype would still apply.  */
6242 char $ac_func();
6243
6244 int main() {
6245
6246 /* The GNU C library defines this for functions which it implements
6247     to always fail with ENOSYS.  Some functions are actually named
6248     something starting with __ and the normal name is an alias.  */
6249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6250 choke me
6251 #else
6252 $ac_func();
6253 #endif
6254
6255 ; return 0; }
6256 EOF
6257 if { (eval echo configure:6258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6258   rm -rf conftest*
6259   eval "ac_cv_func_$ac_func=yes"
6260 else
6261   echo "configure: failed program was:" >&5
6262   cat conftest.$ac_ext >&5
6263   rm -rf conftest*
6264   eval "ac_cv_func_$ac_func=no"
6265 fi
6266 rm -f conftest*
6267 fi
6268
6269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6270   echo "$ac_t""yes" 1>&6
6271     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6272   cat >> confdefs.h <<EOF
6273 #define $ac_tr_func 1
6274 EOF
6275  
6276 else
6277   echo "$ac_t""no" 1>&6
6278 fi
6279 done
6280     
6281   fi
6282
6283   
6284   echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6285 echo "configure:6286: checking for cosf declaration" >&5
6286   if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6287   echo $ac_n "(cached) $ac_c" 1>&6
6288 else
6289   
6290     
6291     ac_ext=C
6292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6293 ac_cpp='$CXXCPP $CPPFLAGS'
6294 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6295 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6296 cross_compiling=$ac_cv_prog_cxx_cross
6297
6298     cat > conftest.$ac_ext <<EOF
6299 #line 6300 "configure"
6300 #include "confdefs.h"
6301 #include <math.h>
6302 int main() {
6303  cosf(0);
6304 ; return 0; }
6305 EOF
6306 if { (eval echo configure:6307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6307   rm -rf conftest*
6308   glibcpp_cv_func_cosf_use=yes
6309 else
6310   echo "configure: failed program was:" >&5
6311   cat conftest.$ac_ext >&5
6312   rm -rf conftest*
6313   glibcpp_cv_func_cosf_use=no
6314 fi
6315 rm -f conftest*
6316     ac_ext=c
6317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6318 ac_cpp='$CPP $CPPFLAGS'
6319 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6320 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6321 cross_compiling=$ac_cv_prog_cc_cross
6322
6323   
6324 fi
6325
6326   echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6327   if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6328     for ac_func in cosf
6329 do
6330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6331 echo "configure:6332: checking for $ac_func" >&5
6332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6333   echo $ac_n "(cached) $ac_c" 1>&6
6334 else
6335   cat > conftest.$ac_ext <<EOF
6336 #line 6337 "configure"
6337 #include "confdefs.h"
6338 /* System header to define __stub macros and hopefully few prototypes,
6339     which can conflict with char $ac_func(); below.  */
6340 #include <assert.h>
6341 /* Override any gcc2 internal prototype to avoid an error.  */
6342 /* We use char because int might match the return type of a gcc2
6343     builtin and then its argument prototype would still apply.  */
6344 char $ac_func();
6345
6346 int main() {
6347
6348 /* The GNU C library defines this for functions which it implements
6349     to always fail with ENOSYS.  Some functions are actually named
6350     something starting with __ and the normal name is an alias.  */
6351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6352 choke me
6353 #else
6354 $ac_func();
6355 #endif
6356
6357 ; return 0; }
6358 EOF
6359 if { (eval echo configure:6360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6360   rm -rf conftest*
6361   eval "ac_cv_func_$ac_func=yes"
6362 else
6363   echo "configure: failed program was:" >&5
6364   cat conftest.$ac_ext >&5
6365   rm -rf conftest*
6366   eval "ac_cv_func_$ac_func=no"
6367 fi
6368 rm -f conftest*
6369 fi
6370
6371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6372   echo "$ac_t""yes" 1>&6
6373     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6374   cat >> confdefs.h <<EOF
6375 #define $ac_tr_func 1
6376 EOF
6377  
6378 else
6379   echo "$ac_t""no" 1>&6
6380 fi
6381 done
6382     
6383   fi
6384
6385   
6386   echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6387 echo "configure:6388: checking for coshf declaration" >&5
6388   if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6389   echo $ac_n "(cached) $ac_c" 1>&6
6390 else
6391   
6392     
6393     ac_ext=C
6394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6395 ac_cpp='$CXXCPP $CPPFLAGS'
6396 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6397 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6398 cross_compiling=$ac_cv_prog_cxx_cross
6399
6400     cat > conftest.$ac_ext <<EOF
6401 #line 6402 "configure"
6402 #include "confdefs.h"
6403 #include <math.h>
6404 int main() {
6405  coshf(0);
6406 ; return 0; }
6407 EOF
6408 if { (eval echo configure:6409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6409   rm -rf conftest*
6410   glibcpp_cv_func_coshf_use=yes
6411 else
6412   echo "configure: failed program was:" >&5
6413   cat conftest.$ac_ext >&5
6414   rm -rf conftest*
6415   glibcpp_cv_func_coshf_use=no
6416 fi
6417 rm -f conftest*
6418     ac_ext=c
6419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6420 ac_cpp='$CPP $CPPFLAGS'
6421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6423 cross_compiling=$ac_cv_prog_cc_cross
6424
6425   
6426 fi
6427
6428   echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6429   if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6430     for ac_func in coshf
6431 do
6432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6433 echo "configure:6434: checking for $ac_func" >&5
6434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6435   echo $ac_n "(cached) $ac_c" 1>&6
6436 else
6437   cat > conftest.$ac_ext <<EOF
6438 #line 6439 "configure"
6439 #include "confdefs.h"
6440 /* System header to define __stub macros and hopefully few prototypes,
6441     which can conflict with char $ac_func(); below.  */
6442 #include <assert.h>
6443 /* Override any gcc2 internal prototype to avoid an error.  */
6444 /* We use char because int might match the return type of a gcc2
6445     builtin and then its argument prototype would still apply.  */
6446 char $ac_func();
6447
6448 int main() {
6449
6450 /* The GNU C library defines this for functions which it implements
6451     to always fail with ENOSYS.  Some functions are actually named
6452     something starting with __ and the normal name is an alias.  */
6453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6454 choke me
6455 #else
6456 $ac_func();
6457 #endif
6458
6459 ; return 0; }
6460 EOF
6461 if { (eval echo configure:6462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6462   rm -rf conftest*
6463   eval "ac_cv_func_$ac_func=yes"
6464 else
6465   echo "configure: failed program was:" >&5
6466   cat conftest.$ac_ext >&5
6467   rm -rf conftest*
6468   eval "ac_cv_func_$ac_func=no"
6469 fi
6470 rm -f conftest*
6471 fi
6472
6473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6474   echo "$ac_t""yes" 1>&6
6475     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6476   cat >> confdefs.h <<EOF
6477 #define $ac_tr_func 1
6478 EOF
6479  
6480 else
6481   echo "$ac_t""no" 1>&6
6482 fi
6483 done
6484     
6485   fi
6486
6487   
6488   echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6489 echo "configure:6490: checking for expf declaration" >&5
6490   if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6491   echo $ac_n "(cached) $ac_c" 1>&6
6492 else
6493   
6494     
6495     ac_ext=C
6496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6497 ac_cpp='$CXXCPP $CPPFLAGS'
6498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6500 cross_compiling=$ac_cv_prog_cxx_cross
6501
6502     cat > conftest.$ac_ext <<EOF
6503 #line 6504 "configure"
6504 #include "confdefs.h"
6505 #include <math.h>
6506 int main() {
6507  expf(0);
6508 ; return 0; }
6509 EOF
6510 if { (eval echo configure:6511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6511   rm -rf conftest*
6512   glibcpp_cv_func_expf_use=yes
6513 else
6514   echo "configure: failed program was:" >&5
6515   cat conftest.$ac_ext >&5
6516   rm -rf conftest*
6517   glibcpp_cv_func_expf_use=no
6518 fi
6519 rm -f conftest*
6520     ac_ext=c
6521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6522 ac_cpp='$CPP $CPPFLAGS'
6523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6525 cross_compiling=$ac_cv_prog_cc_cross
6526
6527   
6528 fi
6529
6530   echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6531   if test x$glibcpp_cv_func_expf_use = x"yes"; then
6532     for ac_func in expf
6533 do
6534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6535 echo "configure:6536: checking for $ac_func" >&5
6536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6537   echo $ac_n "(cached) $ac_c" 1>&6
6538 else
6539   cat > conftest.$ac_ext <<EOF
6540 #line 6541 "configure"
6541 #include "confdefs.h"
6542 /* System header to define __stub macros and hopefully few prototypes,
6543     which can conflict with char $ac_func(); below.  */
6544 #include <assert.h>
6545 /* Override any gcc2 internal prototype to avoid an error.  */
6546 /* We use char because int might match the return type of a gcc2
6547     builtin and then its argument prototype would still apply.  */
6548 char $ac_func();
6549
6550 int main() {
6551
6552 /* The GNU C library defines this for functions which it implements
6553     to always fail with ENOSYS.  Some functions are actually named
6554     something starting with __ and the normal name is an alias.  */
6555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6556 choke me
6557 #else
6558 $ac_func();
6559 #endif
6560
6561 ; return 0; }
6562 EOF
6563 if { (eval echo configure:6564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6564   rm -rf conftest*
6565   eval "ac_cv_func_$ac_func=yes"
6566 else
6567   echo "configure: failed program was:" >&5
6568   cat conftest.$ac_ext >&5
6569   rm -rf conftest*
6570   eval "ac_cv_func_$ac_func=no"
6571 fi
6572 rm -f conftest*
6573 fi
6574
6575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6576   echo "$ac_t""yes" 1>&6
6577     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6578   cat >> confdefs.h <<EOF
6579 #define $ac_tr_func 1
6580 EOF
6581  
6582 else
6583   echo "$ac_t""no" 1>&6
6584 fi
6585 done
6586     
6587   fi
6588
6589   
6590   echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6591 echo "configure:6592: checking for fabsf declaration" >&5
6592   if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6593   echo $ac_n "(cached) $ac_c" 1>&6
6594 else
6595   
6596     
6597     ac_ext=C
6598 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6599 ac_cpp='$CXXCPP $CPPFLAGS'
6600 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6601 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6602 cross_compiling=$ac_cv_prog_cxx_cross
6603
6604     cat > conftest.$ac_ext <<EOF
6605 #line 6606 "configure"
6606 #include "confdefs.h"
6607 #include <math.h>
6608 int main() {
6609  fabsf(0);
6610 ; return 0; }
6611 EOF
6612 if { (eval echo configure:6613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6613   rm -rf conftest*
6614   glibcpp_cv_func_fabsf_use=yes
6615 else
6616   echo "configure: failed program was:" >&5
6617   cat conftest.$ac_ext >&5
6618   rm -rf conftest*
6619   glibcpp_cv_func_fabsf_use=no
6620 fi
6621 rm -f conftest*
6622     ac_ext=c
6623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6624 ac_cpp='$CPP $CPPFLAGS'
6625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6627 cross_compiling=$ac_cv_prog_cc_cross
6628
6629   
6630 fi
6631
6632   echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6633   if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6634     for ac_func in fabsf
6635 do
6636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6637 echo "configure:6638: checking for $ac_func" >&5
6638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6639   echo $ac_n "(cached) $ac_c" 1>&6
6640 else
6641   cat > conftest.$ac_ext <<EOF
6642 #line 6643 "configure"
6643 #include "confdefs.h"
6644 /* System header to define __stub macros and hopefully few prototypes,
6645     which can conflict with char $ac_func(); below.  */
6646 #include <assert.h>
6647 /* Override any gcc2 internal prototype to avoid an error.  */
6648 /* We use char because int might match the return type of a gcc2
6649     builtin and then its argument prototype would still apply.  */
6650 char $ac_func();
6651
6652 int main() {
6653
6654 /* The GNU C library defines this for functions which it implements
6655     to always fail with ENOSYS.  Some functions are actually named
6656     something starting with __ and the normal name is an alias.  */
6657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6658 choke me
6659 #else
6660 $ac_func();
6661 #endif
6662
6663 ; return 0; }
6664 EOF
6665 if { (eval echo configure:6666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6666   rm -rf conftest*
6667   eval "ac_cv_func_$ac_func=yes"
6668 else
6669   echo "configure: failed program was:" >&5
6670   cat conftest.$ac_ext >&5
6671   rm -rf conftest*
6672   eval "ac_cv_func_$ac_func=no"
6673 fi
6674 rm -f conftest*
6675 fi
6676
6677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6678   echo "$ac_t""yes" 1>&6
6679     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6680   cat >> confdefs.h <<EOF
6681 #define $ac_tr_func 1
6682 EOF
6683  
6684 else
6685   echo "$ac_t""no" 1>&6
6686 fi
6687 done
6688     
6689   fi
6690
6691   
6692   echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6693 echo "configure:6694: checking for floorf declaration" >&5
6694   if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6695   echo $ac_n "(cached) $ac_c" 1>&6
6696 else
6697   
6698     
6699     ac_ext=C
6700 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6701 ac_cpp='$CXXCPP $CPPFLAGS'
6702 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6703 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6704 cross_compiling=$ac_cv_prog_cxx_cross
6705
6706     cat > conftest.$ac_ext <<EOF
6707 #line 6708 "configure"
6708 #include "confdefs.h"
6709 #include <math.h>
6710 int main() {
6711  floorf(0);
6712 ; return 0; }
6713 EOF
6714 if { (eval echo configure:6715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6715   rm -rf conftest*
6716   glibcpp_cv_func_floorf_use=yes
6717 else
6718   echo "configure: failed program was:" >&5
6719   cat conftest.$ac_ext >&5
6720   rm -rf conftest*
6721   glibcpp_cv_func_floorf_use=no
6722 fi
6723 rm -f conftest*
6724     ac_ext=c
6725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6726 ac_cpp='$CPP $CPPFLAGS'
6727 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6728 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6729 cross_compiling=$ac_cv_prog_cc_cross
6730
6731   
6732 fi
6733
6734   echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6735   if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6736     for ac_func in floorf
6737 do
6738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6739 echo "configure:6740: checking for $ac_func" >&5
6740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6741   echo $ac_n "(cached) $ac_c" 1>&6
6742 else
6743   cat > conftest.$ac_ext <<EOF
6744 #line 6745 "configure"
6745 #include "confdefs.h"
6746 /* System header to define __stub macros and hopefully few prototypes,
6747     which can conflict with char $ac_func(); below.  */
6748 #include <assert.h>
6749 /* Override any gcc2 internal prototype to avoid an error.  */
6750 /* We use char because int might match the return type of a gcc2
6751     builtin and then its argument prototype would still apply.  */
6752 char $ac_func();
6753
6754 int main() {
6755
6756 /* The GNU C library defines this for functions which it implements
6757     to always fail with ENOSYS.  Some functions are actually named
6758     something starting with __ and the normal name is an alias.  */
6759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6760 choke me
6761 #else
6762 $ac_func();
6763 #endif
6764
6765 ; return 0; }
6766 EOF
6767 if { (eval echo configure:6768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6768   rm -rf conftest*
6769   eval "ac_cv_func_$ac_func=yes"
6770 else
6771   echo "configure: failed program was:" >&5
6772   cat conftest.$ac_ext >&5
6773   rm -rf conftest*
6774   eval "ac_cv_func_$ac_func=no"
6775 fi
6776 rm -f conftest*
6777 fi
6778
6779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6780   echo "$ac_t""yes" 1>&6
6781     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6782   cat >> confdefs.h <<EOF
6783 #define $ac_tr_func 1
6784 EOF
6785  
6786 else
6787   echo "$ac_t""no" 1>&6
6788 fi
6789 done
6790     
6791   fi
6792
6793   
6794   echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6795 echo "configure:6796: checking for fmodf declaration" >&5
6796   if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6797   echo $ac_n "(cached) $ac_c" 1>&6
6798 else
6799   
6800     
6801     ac_ext=C
6802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6803 ac_cpp='$CXXCPP $CPPFLAGS'
6804 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6805 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6806 cross_compiling=$ac_cv_prog_cxx_cross
6807
6808     cat > conftest.$ac_ext <<EOF
6809 #line 6810 "configure"
6810 #include "confdefs.h"
6811 #include <math.h>
6812 int main() {
6813  fmodf(0, 0);
6814 ; return 0; }
6815 EOF
6816 if { (eval echo configure:6817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6817   rm -rf conftest*
6818   glibcpp_cv_func_fmodf_use=yes
6819 else
6820   echo "configure: failed program was:" >&5
6821   cat conftest.$ac_ext >&5
6822   rm -rf conftest*
6823   glibcpp_cv_func_fmodf_use=no
6824 fi
6825 rm -f conftest*
6826     ac_ext=c
6827 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6828 ac_cpp='$CPP $CPPFLAGS'
6829 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6830 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6831 cross_compiling=$ac_cv_prog_cc_cross
6832
6833   
6834 fi
6835
6836   echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6837   if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6838     for ac_func in fmodf
6839 do
6840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6841 echo "configure:6842: checking for $ac_func" >&5
6842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6843   echo $ac_n "(cached) $ac_c" 1>&6
6844 else
6845   cat > conftest.$ac_ext <<EOF
6846 #line 6847 "configure"
6847 #include "confdefs.h"
6848 /* System header to define __stub macros and hopefully few prototypes,
6849     which can conflict with char $ac_func(); below.  */
6850 #include <assert.h>
6851 /* Override any gcc2 internal prototype to avoid an error.  */
6852 /* We use char because int might match the return type of a gcc2
6853     builtin and then its argument prototype would still apply.  */
6854 char $ac_func();
6855
6856 int main() {
6857
6858 /* The GNU C library defines this for functions which it implements
6859     to always fail with ENOSYS.  Some functions are actually named
6860     something starting with __ and the normal name is an alias.  */
6861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6862 choke me
6863 #else
6864 $ac_func();
6865 #endif
6866
6867 ; return 0; }
6868 EOF
6869 if { (eval echo configure:6870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6870   rm -rf conftest*
6871   eval "ac_cv_func_$ac_func=yes"
6872 else
6873   echo "configure: failed program was:" >&5
6874   cat conftest.$ac_ext >&5
6875   rm -rf conftest*
6876   eval "ac_cv_func_$ac_func=no"
6877 fi
6878 rm -f conftest*
6879 fi
6880
6881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6882   echo "$ac_t""yes" 1>&6
6883     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6884   cat >> confdefs.h <<EOF
6885 #define $ac_tr_func 1
6886 EOF
6887  
6888 else
6889   echo "$ac_t""no" 1>&6
6890 fi
6891 done
6892     
6893   fi
6894
6895   
6896   echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6897 echo "configure:6898: checking for frexpf declaration" >&5
6898   if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6899   echo $ac_n "(cached) $ac_c" 1>&6
6900 else
6901   
6902     
6903     ac_ext=C
6904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6905 ac_cpp='$CXXCPP $CPPFLAGS'
6906 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6907 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6908 cross_compiling=$ac_cv_prog_cxx_cross
6909
6910     cat > conftest.$ac_ext <<EOF
6911 #line 6912 "configure"
6912 #include "confdefs.h"
6913 #include <math.h>
6914 int main() {
6915  frexpf(0, 0);
6916 ; return 0; }
6917 EOF
6918 if { (eval echo configure:6919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6919   rm -rf conftest*
6920   glibcpp_cv_func_frexpf_use=yes
6921 else
6922   echo "configure: failed program was:" >&5
6923   cat conftest.$ac_ext >&5
6924   rm -rf conftest*
6925   glibcpp_cv_func_frexpf_use=no
6926 fi
6927 rm -f conftest*
6928     ac_ext=c
6929 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6930 ac_cpp='$CPP $CPPFLAGS'
6931 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6932 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6933 cross_compiling=$ac_cv_prog_cc_cross
6934
6935   
6936 fi
6937
6938   echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6939   if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6940     for ac_func in frexpf
6941 do
6942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6943 echo "configure:6944: checking for $ac_func" >&5
6944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6945   echo $ac_n "(cached) $ac_c" 1>&6
6946 else
6947   cat > conftest.$ac_ext <<EOF
6948 #line 6949 "configure"
6949 #include "confdefs.h"
6950 /* System header to define __stub macros and hopefully few prototypes,
6951     which can conflict with char $ac_func(); below.  */
6952 #include <assert.h>
6953 /* Override any gcc2 internal prototype to avoid an error.  */
6954 /* We use char because int might match the return type of a gcc2
6955     builtin and then its argument prototype would still apply.  */
6956 char $ac_func();
6957
6958 int main() {
6959
6960 /* The GNU C library defines this for functions which it implements
6961     to always fail with ENOSYS.  Some functions are actually named
6962     something starting with __ and the normal name is an alias.  */
6963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6964 choke me
6965 #else
6966 $ac_func();
6967 #endif
6968
6969 ; return 0; }
6970 EOF
6971 if { (eval echo configure:6972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6972   rm -rf conftest*
6973   eval "ac_cv_func_$ac_func=yes"
6974 else
6975   echo "configure: failed program was:" >&5
6976   cat conftest.$ac_ext >&5
6977   rm -rf conftest*
6978   eval "ac_cv_func_$ac_func=no"
6979 fi
6980 rm -f conftest*
6981 fi
6982
6983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6984   echo "$ac_t""yes" 1>&6
6985     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6986   cat >> confdefs.h <<EOF
6987 #define $ac_tr_func 1
6988 EOF
6989  
6990 else
6991   echo "$ac_t""no" 1>&6
6992 fi
6993 done
6994     
6995   fi
6996
6997   
6998   echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
6999 echo "configure:7000: checking for ldexpf declaration" >&5
7000   if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
7001   echo $ac_n "(cached) $ac_c" 1>&6
7002 else
7003   
7004     
7005     ac_ext=C
7006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7007 ac_cpp='$CXXCPP $CPPFLAGS'
7008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7010 cross_compiling=$ac_cv_prog_cxx_cross
7011
7012     cat > conftest.$ac_ext <<EOF
7013 #line 7014 "configure"
7014 #include "confdefs.h"
7015 #include <math.h>
7016 int main() {
7017  ldexpf(0, 0);
7018 ; return 0; }
7019 EOF
7020 if { (eval echo configure:7021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7021   rm -rf conftest*
7022   glibcpp_cv_func_ldexpf_use=yes
7023 else
7024   echo "configure: failed program was:" >&5
7025   cat conftest.$ac_ext >&5
7026   rm -rf conftest*
7027   glibcpp_cv_func_ldexpf_use=no
7028 fi
7029 rm -f conftest*
7030     ac_ext=c
7031 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7032 ac_cpp='$CPP $CPPFLAGS'
7033 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7034 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7035 cross_compiling=$ac_cv_prog_cc_cross
7036
7037   
7038 fi
7039
7040   echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
7041   if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
7042     for ac_func in ldexpf
7043 do
7044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7045 echo "configure:7046: checking for $ac_func" >&5
7046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7047   echo $ac_n "(cached) $ac_c" 1>&6
7048 else
7049   cat > conftest.$ac_ext <<EOF
7050 #line 7051 "configure"
7051 #include "confdefs.h"
7052 /* System header to define __stub macros and hopefully few prototypes,
7053     which can conflict with char $ac_func(); below.  */
7054 #include <assert.h>
7055 /* Override any gcc2 internal prototype to avoid an error.  */
7056 /* We use char because int might match the return type of a gcc2
7057     builtin and then its argument prototype would still apply.  */
7058 char $ac_func();
7059
7060 int main() {
7061
7062 /* The GNU C library defines this for functions which it implements
7063     to always fail with ENOSYS.  Some functions are actually named
7064     something starting with __ and the normal name is an alias.  */
7065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7066 choke me
7067 #else
7068 $ac_func();
7069 #endif
7070
7071 ; return 0; }
7072 EOF
7073 if { (eval echo configure:7074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7074   rm -rf conftest*
7075   eval "ac_cv_func_$ac_func=yes"
7076 else
7077   echo "configure: failed program was:" >&5
7078   cat conftest.$ac_ext >&5
7079   rm -rf conftest*
7080   eval "ac_cv_func_$ac_func=no"
7081 fi
7082 rm -f conftest*
7083 fi
7084
7085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7086   echo "$ac_t""yes" 1>&6
7087     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7088   cat >> confdefs.h <<EOF
7089 #define $ac_tr_func 1
7090 EOF
7091  
7092 else
7093   echo "$ac_t""no" 1>&6
7094 fi
7095 done
7096     
7097   fi
7098
7099   
7100   echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7101 echo "configure:7102: checking for logf declaration" >&5
7102   if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7103   echo $ac_n "(cached) $ac_c" 1>&6
7104 else
7105   
7106     
7107     ac_ext=C
7108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7109 ac_cpp='$CXXCPP $CPPFLAGS'
7110 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7111 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7112 cross_compiling=$ac_cv_prog_cxx_cross
7113
7114     cat > conftest.$ac_ext <<EOF
7115 #line 7116 "configure"
7116 #include "confdefs.h"
7117 #include <math.h>
7118 int main() {
7119  logf(0);
7120 ; return 0; }
7121 EOF
7122 if { (eval echo configure:7123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7123   rm -rf conftest*
7124   glibcpp_cv_func_logf_use=yes
7125 else
7126   echo "configure: failed program was:" >&5
7127   cat conftest.$ac_ext >&5
7128   rm -rf conftest*
7129   glibcpp_cv_func_logf_use=no
7130 fi
7131 rm -f conftest*
7132     ac_ext=c
7133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7134 ac_cpp='$CPP $CPPFLAGS'
7135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7137 cross_compiling=$ac_cv_prog_cc_cross
7138
7139   
7140 fi
7141
7142   echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7143   if test x$glibcpp_cv_func_logf_use = x"yes"; then
7144     for ac_func in logf
7145 do
7146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7147 echo "configure:7148: checking for $ac_func" >&5
7148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7149   echo $ac_n "(cached) $ac_c" 1>&6
7150 else
7151   cat > conftest.$ac_ext <<EOF
7152 #line 7153 "configure"
7153 #include "confdefs.h"
7154 /* System header to define __stub macros and hopefully few prototypes,
7155     which can conflict with char $ac_func(); below.  */
7156 #include <assert.h>
7157 /* Override any gcc2 internal prototype to avoid an error.  */
7158 /* We use char because int might match the return type of a gcc2
7159     builtin and then its argument prototype would still apply.  */
7160 char $ac_func();
7161
7162 int main() {
7163
7164 /* The GNU C library defines this for functions which it implements
7165     to always fail with ENOSYS.  Some functions are actually named
7166     something starting with __ and the normal name is an alias.  */
7167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7168 choke me
7169 #else
7170 $ac_func();
7171 #endif
7172
7173 ; return 0; }
7174 EOF
7175 if { (eval echo configure:7176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7176   rm -rf conftest*
7177   eval "ac_cv_func_$ac_func=yes"
7178 else
7179   echo "configure: failed program was:" >&5
7180   cat conftest.$ac_ext >&5
7181   rm -rf conftest*
7182   eval "ac_cv_func_$ac_func=no"
7183 fi
7184 rm -f conftest*
7185 fi
7186
7187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7188   echo "$ac_t""yes" 1>&6
7189     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7190   cat >> confdefs.h <<EOF
7191 #define $ac_tr_func 1
7192 EOF
7193  
7194 else
7195   echo "$ac_t""no" 1>&6
7196 fi
7197 done
7198     
7199   fi
7200
7201   
7202   echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7203 echo "configure:7204: checking for log10f declaration" >&5
7204   if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7205   echo $ac_n "(cached) $ac_c" 1>&6
7206 else
7207   
7208     
7209     ac_ext=C
7210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7211 ac_cpp='$CXXCPP $CPPFLAGS'
7212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7214 cross_compiling=$ac_cv_prog_cxx_cross
7215
7216     cat > conftest.$ac_ext <<EOF
7217 #line 7218 "configure"
7218 #include "confdefs.h"
7219 #include <math.h>
7220 int main() {
7221  log10f(0);
7222 ; return 0; }
7223 EOF
7224 if { (eval echo configure:7225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7225   rm -rf conftest*
7226   glibcpp_cv_func_log10f_use=yes
7227 else
7228   echo "configure: failed program was:" >&5
7229   cat conftest.$ac_ext >&5
7230   rm -rf conftest*
7231   glibcpp_cv_func_log10f_use=no
7232 fi
7233 rm -f conftest*
7234     ac_ext=c
7235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7236 ac_cpp='$CPP $CPPFLAGS'
7237 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7238 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7239 cross_compiling=$ac_cv_prog_cc_cross
7240
7241   
7242 fi
7243
7244   echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7245   if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7246     for ac_func in log10f
7247 do
7248 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7249 echo "configure:7250: checking for $ac_func" >&5
7250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7251   echo $ac_n "(cached) $ac_c" 1>&6
7252 else
7253   cat > conftest.$ac_ext <<EOF
7254 #line 7255 "configure"
7255 #include "confdefs.h"
7256 /* System header to define __stub macros and hopefully few prototypes,
7257     which can conflict with char $ac_func(); below.  */
7258 #include <assert.h>
7259 /* Override any gcc2 internal prototype to avoid an error.  */
7260 /* We use char because int might match the return type of a gcc2
7261     builtin and then its argument prototype would still apply.  */
7262 char $ac_func();
7263
7264 int main() {
7265
7266 /* The GNU C library defines this for functions which it implements
7267     to always fail with ENOSYS.  Some functions are actually named
7268     something starting with __ and the normal name is an alias.  */
7269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7270 choke me
7271 #else
7272 $ac_func();
7273 #endif
7274
7275 ; return 0; }
7276 EOF
7277 if { (eval echo configure:7278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7278   rm -rf conftest*
7279   eval "ac_cv_func_$ac_func=yes"
7280 else
7281   echo "configure: failed program was:" >&5
7282   cat conftest.$ac_ext >&5
7283   rm -rf conftest*
7284   eval "ac_cv_func_$ac_func=no"
7285 fi
7286 rm -f conftest*
7287 fi
7288
7289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7290   echo "$ac_t""yes" 1>&6
7291     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7292   cat >> confdefs.h <<EOF
7293 #define $ac_tr_func 1
7294 EOF
7295  
7296 else
7297   echo "$ac_t""no" 1>&6
7298 fi
7299 done
7300     
7301   fi
7302
7303   
7304   echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7305 echo "configure:7306: checking for modff declaration" >&5
7306   if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7307   echo $ac_n "(cached) $ac_c" 1>&6
7308 else
7309   
7310     
7311     ac_ext=C
7312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7313 ac_cpp='$CXXCPP $CPPFLAGS'
7314 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7315 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7316 cross_compiling=$ac_cv_prog_cxx_cross
7317
7318     cat > conftest.$ac_ext <<EOF
7319 #line 7320 "configure"
7320 #include "confdefs.h"
7321 #include <math.h>
7322 int main() {
7323  modff(0, 0);
7324 ; return 0; }
7325 EOF
7326 if { (eval echo configure:7327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7327   rm -rf conftest*
7328   glibcpp_cv_func_modff_use=yes
7329 else
7330   echo "configure: failed program was:" >&5
7331   cat conftest.$ac_ext >&5
7332   rm -rf conftest*
7333   glibcpp_cv_func_modff_use=no
7334 fi
7335 rm -f conftest*
7336     ac_ext=c
7337 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7338 ac_cpp='$CPP $CPPFLAGS'
7339 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7340 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7341 cross_compiling=$ac_cv_prog_cc_cross
7342
7343   
7344 fi
7345
7346   echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7347   if test x$glibcpp_cv_func_modff_use = x"yes"; then
7348     for ac_func in modff
7349 do
7350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7351 echo "configure:7352: checking for $ac_func" >&5
7352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7353   echo $ac_n "(cached) $ac_c" 1>&6
7354 else
7355   cat > conftest.$ac_ext <<EOF
7356 #line 7357 "configure"
7357 #include "confdefs.h"
7358 /* System header to define __stub macros and hopefully few prototypes,
7359     which can conflict with char $ac_func(); below.  */
7360 #include <assert.h>
7361 /* Override any gcc2 internal prototype to avoid an error.  */
7362 /* We use char because int might match the return type of a gcc2
7363     builtin and then its argument prototype would still apply.  */
7364 char $ac_func();
7365
7366 int main() {
7367
7368 /* The GNU C library defines this for functions which it implements
7369     to always fail with ENOSYS.  Some functions are actually named
7370     something starting with __ and the normal name is an alias.  */
7371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7372 choke me
7373 #else
7374 $ac_func();
7375 #endif
7376
7377 ; return 0; }
7378 EOF
7379 if { (eval echo configure:7380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7380   rm -rf conftest*
7381   eval "ac_cv_func_$ac_func=yes"
7382 else
7383   echo "configure: failed program was:" >&5
7384   cat conftest.$ac_ext >&5
7385   rm -rf conftest*
7386   eval "ac_cv_func_$ac_func=no"
7387 fi
7388 rm -f conftest*
7389 fi
7390
7391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7392   echo "$ac_t""yes" 1>&6
7393     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7394   cat >> confdefs.h <<EOF
7395 #define $ac_tr_func 1
7396 EOF
7397  
7398 else
7399   echo "$ac_t""no" 1>&6
7400 fi
7401 done
7402     
7403   fi
7404
7405   
7406   echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7407 echo "configure:7408: checking for powf declaration" >&5
7408   if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7409   echo $ac_n "(cached) $ac_c" 1>&6
7410 else
7411   
7412     
7413     ac_ext=C
7414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7415 ac_cpp='$CXXCPP $CPPFLAGS'
7416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7418 cross_compiling=$ac_cv_prog_cxx_cross
7419
7420     cat > conftest.$ac_ext <<EOF
7421 #line 7422 "configure"
7422 #include "confdefs.h"
7423 #include <math.h>
7424 int main() {
7425  powf(0, 0);
7426 ; return 0; }
7427 EOF
7428 if { (eval echo configure:7429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7429   rm -rf conftest*
7430   glibcpp_cv_func_powf_use=yes
7431 else
7432   echo "configure: failed program was:" >&5
7433   cat conftest.$ac_ext >&5
7434   rm -rf conftest*
7435   glibcpp_cv_func_powf_use=no
7436 fi
7437 rm -f conftest*
7438     ac_ext=c
7439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7440 ac_cpp='$CPP $CPPFLAGS'
7441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7443 cross_compiling=$ac_cv_prog_cc_cross
7444
7445   
7446 fi
7447
7448   echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7449   if test x$glibcpp_cv_func_powf_use = x"yes"; then
7450     for ac_func in powf
7451 do
7452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7453 echo "configure:7454: checking for $ac_func" >&5
7454 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7455   echo $ac_n "(cached) $ac_c" 1>&6
7456 else
7457   cat > conftest.$ac_ext <<EOF
7458 #line 7459 "configure"
7459 #include "confdefs.h"
7460 /* System header to define __stub macros and hopefully few prototypes,
7461     which can conflict with char $ac_func(); below.  */
7462 #include <assert.h>
7463 /* Override any gcc2 internal prototype to avoid an error.  */
7464 /* We use char because int might match the return type of a gcc2
7465     builtin and then its argument prototype would still apply.  */
7466 char $ac_func();
7467
7468 int main() {
7469
7470 /* The GNU C library defines this for functions which it implements
7471     to always fail with ENOSYS.  Some functions are actually named
7472     something starting with __ and the normal name is an alias.  */
7473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7474 choke me
7475 #else
7476 $ac_func();
7477 #endif
7478
7479 ; return 0; }
7480 EOF
7481 if { (eval echo configure:7482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7482   rm -rf conftest*
7483   eval "ac_cv_func_$ac_func=yes"
7484 else
7485   echo "configure: failed program was:" >&5
7486   cat conftest.$ac_ext >&5
7487   rm -rf conftest*
7488   eval "ac_cv_func_$ac_func=no"
7489 fi
7490 rm -f conftest*
7491 fi
7492
7493 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7494   echo "$ac_t""yes" 1>&6
7495     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7496   cat >> confdefs.h <<EOF
7497 #define $ac_tr_func 1
7498 EOF
7499  
7500 else
7501   echo "$ac_t""no" 1>&6
7502 fi
7503 done
7504     
7505   fi
7506
7507   
7508   echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7509 echo "configure:7510: checking for sinf declaration" >&5
7510   if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7511   echo $ac_n "(cached) $ac_c" 1>&6
7512 else
7513   
7514     
7515     ac_ext=C
7516 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7517 ac_cpp='$CXXCPP $CPPFLAGS'
7518 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7519 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7520 cross_compiling=$ac_cv_prog_cxx_cross
7521
7522     cat > conftest.$ac_ext <<EOF
7523 #line 7524 "configure"
7524 #include "confdefs.h"
7525 #include <math.h>
7526 int main() {
7527  sinf(0);
7528 ; return 0; }
7529 EOF
7530 if { (eval echo configure:7531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7531   rm -rf conftest*
7532   glibcpp_cv_func_sinf_use=yes
7533 else
7534   echo "configure: failed program was:" >&5
7535   cat conftest.$ac_ext >&5
7536   rm -rf conftest*
7537   glibcpp_cv_func_sinf_use=no
7538 fi
7539 rm -f conftest*
7540     ac_ext=c
7541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7542 ac_cpp='$CPP $CPPFLAGS'
7543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7545 cross_compiling=$ac_cv_prog_cc_cross
7546
7547   
7548 fi
7549
7550   echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7551   if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7552     for ac_func in sinf
7553 do
7554 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7555 echo "configure:7556: checking for $ac_func" >&5
7556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7557   echo $ac_n "(cached) $ac_c" 1>&6
7558 else
7559   cat > conftest.$ac_ext <<EOF
7560 #line 7561 "configure"
7561 #include "confdefs.h"
7562 /* System header to define __stub macros and hopefully few prototypes,
7563     which can conflict with char $ac_func(); below.  */
7564 #include <assert.h>
7565 /* Override any gcc2 internal prototype to avoid an error.  */
7566 /* We use char because int might match the return type of a gcc2
7567     builtin and then its argument prototype would still apply.  */
7568 char $ac_func();
7569
7570 int main() {
7571
7572 /* The GNU C library defines this for functions which it implements
7573     to always fail with ENOSYS.  Some functions are actually named
7574     something starting with __ and the normal name is an alias.  */
7575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7576 choke me
7577 #else
7578 $ac_func();
7579 #endif
7580
7581 ; return 0; }
7582 EOF
7583 if { (eval echo configure:7584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7584   rm -rf conftest*
7585   eval "ac_cv_func_$ac_func=yes"
7586 else
7587   echo "configure: failed program was:" >&5
7588   cat conftest.$ac_ext >&5
7589   rm -rf conftest*
7590   eval "ac_cv_func_$ac_func=no"
7591 fi
7592 rm -f conftest*
7593 fi
7594
7595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7596   echo "$ac_t""yes" 1>&6
7597     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7598   cat >> confdefs.h <<EOF
7599 #define $ac_tr_func 1
7600 EOF
7601  
7602 else
7603   echo "$ac_t""no" 1>&6
7604 fi
7605 done
7606     
7607   fi
7608
7609   
7610   echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7611 echo "configure:7612: checking for sinhf declaration" >&5
7612   if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7613   echo $ac_n "(cached) $ac_c" 1>&6
7614 else
7615   
7616     
7617     ac_ext=C
7618 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7619 ac_cpp='$CXXCPP $CPPFLAGS'
7620 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7621 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7622 cross_compiling=$ac_cv_prog_cxx_cross
7623
7624     cat > conftest.$ac_ext <<EOF
7625 #line 7626 "configure"
7626 #include "confdefs.h"
7627 #include <math.h>
7628 int main() {
7629  sinhf(0);
7630 ; return 0; }
7631 EOF
7632 if { (eval echo configure:7633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7633   rm -rf conftest*
7634   glibcpp_cv_func_sinhf_use=yes
7635 else
7636   echo "configure: failed program was:" >&5
7637   cat conftest.$ac_ext >&5
7638   rm -rf conftest*
7639   glibcpp_cv_func_sinhf_use=no
7640 fi
7641 rm -f conftest*
7642     ac_ext=c
7643 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7644 ac_cpp='$CPP $CPPFLAGS'
7645 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7646 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7647 cross_compiling=$ac_cv_prog_cc_cross
7648
7649   
7650 fi
7651
7652   echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7653   if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7654     for ac_func in sinhf
7655 do
7656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7657 echo "configure:7658: checking for $ac_func" >&5
7658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7659   echo $ac_n "(cached) $ac_c" 1>&6
7660 else
7661   cat > conftest.$ac_ext <<EOF
7662 #line 7663 "configure"
7663 #include "confdefs.h"
7664 /* System header to define __stub macros and hopefully few prototypes,
7665     which can conflict with char $ac_func(); below.  */
7666 #include <assert.h>
7667 /* Override any gcc2 internal prototype to avoid an error.  */
7668 /* We use char because int might match the return type of a gcc2
7669     builtin and then its argument prototype would still apply.  */
7670 char $ac_func();
7671
7672 int main() {
7673
7674 /* The GNU C library defines this for functions which it implements
7675     to always fail with ENOSYS.  Some functions are actually named
7676     something starting with __ and the normal name is an alias.  */
7677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7678 choke me
7679 #else
7680 $ac_func();
7681 #endif
7682
7683 ; return 0; }
7684 EOF
7685 if { (eval echo configure:7686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7686   rm -rf conftest*
7687   eval "ac_cv_func_$ac_func=yes"
7688 else
7689   echo "configure: failed program was:" >&5
7690   cat conftest.$ac_ext >&5
7691   rm -rf conftest*
7692   eval "ac_cv_func_$ac_func=no"
7693 fi
7694 rm -f conftest*
7695 fi
7696
7697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7698   echo "$ac_t""yes" 1>&6
7699     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7700   cat >> confdefs.h <<EOF
7701 #define $ac_tr_func 1
7702 EOF
7703  
7704 else
7705   echo "$ac_t""no" 1>&6
7706 fi
7707 done
7708     
7709   fi
7710
7711   
7712   echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7713 echo "configure:7714: checking for sqrtf declaration" >&5
7714   if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7715   echo $ac_n "(cached) $ac_c" 1>&6
7716 else
7717   
7718     
7719     ac_ext=C
7720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7721 ac_cpp='$CXXCPP $CPPFLAGS'
7722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7724 cross_compiling=$ac_cv_prog_cxx_cross
7725
7726     cat > conftest.$ac_ext <<EOF
7727 #line 7728 "configure"
7728 #include "confdefs.h"
7729 #include <math.h>
7730 int main() {
7731  sqrtf(0);
7732 ; return 0; }
7733 EOF
7734 if { (eval echo configure:7735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7735   rm -rf conftest*
7736   glibcpp_cv_func_sqrtf_use=yes
7737 else
7738   echo "configure: failed program was:" >&5
7739   cat conftest.$ac_ext >&5
7740   rm -rf conftest*
7741   glibcpp_cv_func_sqrtf_use=no
7742 fi
7743 rm -f conftest*
7744     ac_ext=c
7745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7746 ac_cpp='$CPP $CPPFLAGS'
7747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7749 cross_compiling=$ac_cv_prog_cc_cross
7750
7751   
7752 fi
7753
7754   echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7755   if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7756     for ac_func in sqrtf
7757 do
7758 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7759 echo "configure:7760: checking for $ac_func" >&5
7760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7761   echo $ac_n "(cached) $ac_c" 1>&6
7762 else
7763   cat > conftest.$ac_ext <<EOF
7764 #line 7765 "configure"
7765 #include "confdefs.h"
7766 /* System header to define __stub macros and hopefully few prototypes,
7767     which can conflict with char $ac_func(); below.  */
7768 #include <assert.h>
7769 /* Override any gcc2 internal prototype to avoid an error.  */
7770 /* We use char because int might match the return type of a gcc2
7771     builtin and then its argument prototype would still apply.  */
7772 char $ac_func();
7773
7774 int main() {
7775
7776 /* The GNU C library defines this for functions which it implements
7777     to always fail with ENOSYS.  Some functions are actually named
7778     something starting with __ and the normal name is an alias.  */
7779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7780 choke me
7781 #else
7782 $ac_func();
7783 #endif
7784
7785 ; return 0; }
7786 EOF
7787 if { (eval echo configure:7788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7788   rm -rf conftest*
7789   eval "ac_cv_func_$ac_func=yes"
7790 else
7791   echo "configure: failed program was:" >&5
7792   cat conftest.$ac_ext >&5
7793   rm -rf conftest*
7794   eval "ac_cv_func_$ac_func=no"
7795 fi
7796 rm -f conftest*
7797 fi
7798
7799 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7800   echo "$ac_t""yes" 1>&6
7801     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7802   cat >> confdefs.h <<EOF
7803 #define $ac_tr_func 1
7804 EOF
7805  
7806 else
7807   echo "$ac_t""no" 1>&6
7808 fi
7809 done
7810     
7811   fi
7812
7813   
7814   echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7815 echo "configure:7816: checking for tanf declaration" >&5
7816   if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7817   echo $ac_n "(cached) $ac_c" 1>&6
7818 else
7819   
7820     
7821     ac_ext=C
7822 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7823 ac_cpp='$CXXCPP $CPPFLAGS'
7824 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7825 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7826 cross_compiling=$ac_cv_prog_cxx_cross
7827
7828     cat > conftest.$ac_ext <<EOF
7829 #line 7830 "configure"
7830 #include "confdefs.h"
7831 #include <math.h>
7832 int main() {
7833  tanf(0);
7834 ; return 0; }
7835 EOF
7836 if { (eval echo configure:7837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7837   rm -rf conftest*
7838   glibcpp_cv_func_tanf_use=yes
7839 else
7840   echo "configure: failed program was:" >&5
7841   cat conftest.$ac_ext >&5
7842   rm -rf conftest*
7843   glibcpp_cv_func_tanf_use=no
7844 fi
7845 rm -f conftest*
7846     ac_ext=c
7847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7848 ac_cpp='$CPP $CPPFLAGS'
7849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7851 cross_compiling=$ac_cv_prog_cc_cross
7852
7853   
7854 fi
7855
7856   echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7857   if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7858     for ac_func in tanf
7859 do
7860 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7861 echo "configure:7862: checking for $ac_func" >&5
7862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7863   echo $ac_n "(cached) $ac_c" 1>&6
7864 else
7865   cat > conftest.$ac_ext <<EOF
7866 #line 7867 "configure"
7867 #include "confdefs.h"
7868 /* System header to define __stub macros and hopefully few prototypes,
7869     which can conflict with char $ac_func(); below.  */
7870 #include <assert.h>
7871 /* Override any gcc2 internal prototype to avoid an error.  */
7872 /* We use char because int might match the return type of a gcc2
7873     builtin and then its argument prototype would still apply.  */
7874 char $ac_func();
7875
7876 int main() {
7877
7878 /* The GNU C library defines this for functions which it implements
7879     to always fail with ENOSYS.  Some functions are actually named
7880     something starting with __ and the normal name is an alias.  */
7881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7882 choke me
7883 #else
7884 $ac_func();
7885 #endif
7886
7887 ; return 0; }
7888 EOF
7889 if { (eval echo configure:7890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7890   rm -rf conftest*
7891   eval "ac_cv_func_$ac_func=yes"
7892 else
7893   echo "configure: failed program was:" >&5
7894   cat conftest.$ac_ext >&5
7895   rm -rf conftest*
7896   eval "ac_cv_func_$ac_func=no"
7897 fi
7898 rm -f conftest*
7899 fi
7900
7901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7902   echo "$ac_t""yes" 1>&6
7903     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7904   cat >> confdefs.h <<EOF
7905 #define $ac_tr_func 1
7906 EOF
7907  
7908 else
7909   echo "$ac_t""no" 1>&6
7910 fi
7911 done
7912     
7913   fi
7914
7915   
7916   echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7917 echo "configure:7918: checking for tanhf declaration" >&5
7918   if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7919   echo $ac_n "(cached) $ac_c" 1>&6
7920 else
7921   
7922     
7923     ac_ext=C
7924 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7925 ac_cpp='$CXXCPP $CPPFLAGS'
7926 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7927 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7928 cross_compiling=$ac_cv_prog_cxx_cross
7929
7930     cat > conftest.$ac_ext <<EOF
7931 #line 7932 "configure"
7932 #include "confdefs.h"
7933 #include <math.h>
7934 int main() {
7935  tanhf(0);
7936 ; return 0; }
7937 EOF
7938 if { (eval echo configure:7939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7939   rm -rf conftest*
7940   glibcpp_cv_func_tanhf_use=yes
7941 else
7942   echo "configure: failed program was:" >&5
7943   cat conftest.$ac_ext >&5
7944   rm -rf conftest*
7945   glibcpp_cv_func_tanhf_use=no
7946 fi
7947 rm -f conftest*
7948     ac_ext=c
7949 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7950 ac_cpp='$CPP $CPPFLAGS'
7951 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7952 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7953 cross_compiling=$ac_cv_prog_cc_cross
7954
7955   
7956 fi
7957
7958   echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
7959   if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
7960     for ac_func in tanhf
7961 do
7962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7963 echo "configure:7964: checking for $ac_func" >&5
7964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7965   echo $ac_n "(cached) $ac_c" 1>&6
7966 else
7967   cat > conftest.$ac_ext <<EOF
7968 #line 7969 "configure"
7969 #include "confdefs.h"
7970 /* System header to define __stub macros and hopefully few prototypes,
7971     which can conflict with char $ac_func(); below.  */
7972 #include <assert.h>
7973 /* Override any gcc2 internal prototype to avoid an error.  */
7974 /* We use char because int might match the return type of a gcc2
7975     builtin and then its argument prototype would still apply.  */
7976 char $ac_func();
7977
7978 int main() {
7979
7980 /* The GNU C library defines this for functions which it implements
7981     to always fail with ENOSYS.  Some functions are actually named
7982     something starting with __ and the normal name is an alias.  */
7983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7984 choke me
7985 #else
7986 $ac_func();
7987 #endif
7988
7989 ; return 0; }
7990 EOF
7991 if { (eval echo configure:7992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7992   rm -rf conftest*
7993   eval "ac_cv_func_$ac_func=yes"
7994 else
7995   echo "configure: failed program was:" >&5
7996   cat conftest.$ac_ext >&5
7997   rm -rf conftest*
7998   eval "ac_cv_func_$ac_func=no"
7999 fi
8000 rm -f conftest*
8001 fi
8002
8003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8004   echo "$ac_t""yes" 1>&6
8005     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8006   cat >> confdefs.h <<EOF
8007 #define $ac_tr_func 1
8008 EOF
8009  
8010 else
8011   echo "$ac_t""no" 1>&6
8012 fi
8013 done
8014     
8015   fi
8016
8017   
8018   echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
8019 echo "configure:8020: checking for sincosf declaration" >&5
8020   if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
8021   echo $ac_n "(cached) $ac_c" 1>&6
8022 else
8023   
8024     
8025     ac_ext=C
8026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8027 ac_cpp='$CXXCPP $CPPFLAGS'
8028 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8029 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8030 cross_compiling=$ac_cv_prog_cxx_cross
8031
8032     cat > conftest.$ac_ext <<EOF
8033 #line 8034 "configure"
8034 #include "confdefs.h"
8035 #include <math.h>
8036 int main() {
8037  sincosf(0, 0, 0);
8038 ; return 0; }
8039 EOF
8040 if { (eval echo configure:8041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8041   rm -rf conftest*
8042   glibcpp_cv_func_sincosf_use=yes
8043 else
8044   echo "configure: failed program was:" >&5
8045   cat conftest.$ac_ext >&5
8046   rm -rf conftest*
8047   glibcpp_cv_func_sincosf_use=no
8048 fi
8049 rm -f conftest*
8050     ac_ext=c
8051 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8052 ac_cpp='$CPP $CPPFLAGS'
8053 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8054 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8055 cross_compiling=$ac_cv_prog_cc_cross
8056
8057   
8058 fi
8059
8060   echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
8061   if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
8062     for ac_func in sincosf
8063 do
8064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8065 echo "configure:8066: checking for $ac_func" >&5
8066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8067   echo $ac_n "(cached) $ac_c" 1>&6
8068 else
8069   cat > conftest.$ac_ext <<EOF
8070 #line 8071 "configure"
8071 #include "confdefs.h"
8072 /* System header to define __stub macros and hopefully few prototypes,
8073     which can conflict with char $ac_func(); below.  */
8074 #include <assert.h>
8075 /* Override any gcc2 internal prototype to avoid an error.  */
8076 /* We use char because int might match the return type of a gcc2
8077     builtin and then its argument prototype would still apply.  */
8078 char $ac_func();
8079
8080 int main() {
8081
8082 /* The GNU C library defines this for functions which it implements
8083     to always fail with ENOSYS.  Some functions are actually named
8084     something starting with __ and the normal name is an alias.  */
8085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8086 choke me
8087 #else
8088 $ac_func();
8089 #endif
8090
8091 ; return 0; }
8092 EOF
8093 if { (eval echo configure:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8094   rm -rf conftest*
8095   eval "ac_cv_func_$ac_func=yes"
8096 else
8097   echo "configure: failed program was:" >&5
8098   cat conftest.$ac_ext >&5
8099   rm -rf conftest*
8100   eval "ac_cv_func_$ac_func=no"
8101 fi
8102 rm -f conftest*
8103 fi
8104
8105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8106   echo "$ac_t""yes" 1>&6
8107     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8108   cat >> confdefs.h <<EOF
8109 #define $ac_tr_func 1
8110 EOF
8111  
8112 else
8113   echo "$ac_t""no" 1>&6
8114 fi
8115 done
8116     
8117   fi
8118
8119   
8120   echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8121 echo "configure:8122: checking for finitef declaration" >&5
8122   if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8123   echo $ac_n "(cached) $ac_c" 1>&6
8124 else
8125   
8126     
8127     ac_ext=C
8128 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8129 ac_cpp='$CXXCPP $CPPFLAGS'
8130 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8131 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8132 cross_compiling=$ac_cv_prog_cxx_cross
8133
8134     cat > conftest.$ac_ext <<EOF
8135 #line 8136 "configure"
8136 #include "confdefs.h"
8137 #include <math.h>
8138 int main() {
8139  finitef(0);
8140 ; return 0; }
8141 EOF
8142 if { (eval echo configure:8143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8143   rm -rf conftest*
8144   glibcpp_cv_func_finitef_use=yes
8145 else
8146   echo "configure: failed program was:" >&5
8147   cat conftest.$ac_ext >&5
8148   rm -rf conftest*
8149   glibcpp_cv_func_finitef_use=no
8150 fi
8151 rm -f conftest*
8152     ac_ext=c
8153 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8154 ac_cpp='$CPP $CPPFLAGS'
8155 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8156 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8157 cross_compiling=$ac_cv_prog_cc_cross
8158
8159   
8160 fi
8161
8162   echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8163   if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8164     for ac_func in finitef
8165 do
8166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8167 echo "configure:8168: checking for $ac_func" >&5
8168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8169   echo $ac_n "(cached) $ac_c" 1>&6
8170 else
8171   cat > conftest.$ac_ext <<EOF
8172 #line 8173 "configure"
8173 #include "confdefs.h"
8174 /* System header to define __stub macros and hopefully few prototypes,
8175     which can conflict with char $ac_func(); below.  */
8176 #include <assert.h>
8177 /* Override any gcc2 internal prototype to avoid an error.  */
8178 /* We use char because int might match the return type of a gcc2
8179     builtin and then its argument prototype would still apply.  */
8180 char $ac_func();
8181
8182 int main() {
8183
8184 /* The GNU C library defines this for functions which it implements
8185     to always fail with ENOSYS.  Some functions are actually named
8186     something starting with __ and the normal name is an alias.  */
8187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8188 choke me
8189 #else
8190 $ac_func();
8191 #endif
8192
8193 ; return 0; }
8194 EOF
8195 if { (eval echo configure:8196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8196   rm -rf conftest*
8197   eval "ac_cv_func_$ac_func=yes"
8198 else
8199   echo "configure: failed program was:" >&5
8200   cat conftest.$ac_ext >&5
8201   rm -rf conftest*
8202   eval "ac_cv_func_$ac_func=no"
8203 fi
8204 rm -f conftest*
8205 fi
8206
8207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8208   echo "$ac_t""yes" 1>&6
8209     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8210   cat >> confdefs.h <<EOF
8211 #define $ac_tr_func 1
8212 EOF
8213  
8214 else
8215   echo "$ac_t""no" 1>&6
8216 fi
8217 done
8218     
8219   fi
8220
8221
8222     
8223   echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8224 echo "configure:8225: checking for isnanl declaration" >&5
8225   if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8226   echo $ac_n "(cached) $ac_c" 1>&6
8227 else
8228   
8229     
8230     ac_ext=C
8231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8232 ac_cpp='$CXXCPP $CPPFLAGS'
8233 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8234 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8235 cross_compiling=$ac_cv_prog_cxx_cross
8236
8237     cat > conftest.$ac_ext <<EOF
8238 #line 8239 "configure"
8239 #include "confdefs.h"
8240 #include <math.h>
8241 int main() {
8242  isnanl(0);
8243 ; return 0; }
8244 EOF
8245 if { (eval echo configure:8246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8246   rm -rf conftest*
8247   glibcpp_cv_func_isnanl_use=yes
8248 else
8249   echo "configure: failed program was:" >&5
8250   cat conftest.$ac_ext >&5
8251   rm -rf conftest*
8252   glibcpp_cv_func_isnanl_use=no
8253 fi
8254 rm -f conftest*
8255     ac_ext=c
8256 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8257 ac_cpp='$CPP $CPPFLAGS'
8258 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8259 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8260 cross_compiling=$ac_cv_prog_cc_cross
8261
8262   
8263 fi
8264
8265   echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8266   if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8267     for ac_func in isnanl
8268 do
8269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8270 echo "configure:8271: checking for $ac_func" >&5
8271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8272   echo $ac_n "(cached) $ac_c" 1>&6
8273 else
8274   cat > conftest.$ac_ext <<EOF
8275 #line 8276 "configure"
8276 #include "confdefs.h"
8277 /* System header to define __stub macros and hopefully few prototypes,
8278     which can conflict with char $ac_func(); below.  */
8279 #include <assert.h>
8280 /* Override any gcc2 internal prototype to avoid an error.  */
8281 /* We use char because int might match the return type of a gcc2
8282     builtin and then its argument prototype would still apply.  */
8283 char $ac_func();
8284
8285 int main() {
8286
8287 /* The GNU C library defines this for functions which it implements
8288     to always fail with ENOSYS.  Some functions are actually named
8289     something starting with __ and the normal name is an alias.  */
8290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8291 choke me
8292 #else
8293 $ac_func();
8294 #endif
8295
8296 ; return 0; }
8297 EOF
8298 if { (eval echo configure:8299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8299   rm -rf conftest*
8300   eval "ac_cv_func_$ac_func=yes"
8301 else
8302   echo "configure: failed program was:" >&5
8303   cat conftest.$ac_ext >&5
8304   rm -rf conftest*
8305   eval "ac_cv_func_$ac_func=no"
8306 fi
8307 rm -f conftest*
8308 fi
8309
8310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8311   echo "$ac_t""yes" 1>&6
8312     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8313   cat >> confdefs.h <<EOF
8314 #define $ac_tr_func 1
8315 EOF
8316  
8317 else
8318   echo "$ac_t""no" 1>&6
8319 fi
8320 done
8321     
8322   fi
8323
8324   
8325   echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8326 echo "configure:8327: checking for isinfl declaration" >&5
8327   if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8328   echo $ac_n "(cached) $ac_c" 1>&6
8329 else
8330   
8331     
8332     ac_ext=C
8333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8334 ac_cpp='$CXXCPP $CPPFLAGS'
8335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8337 cross_compiling=$ac_cv_prog_cxx_cross
8338
8339     cat > conftest.$ac_ext <<EOF
8340 #line 8341 "configure"
8341 #include "confdefs.h"
8342 #include <math.h>
8343 int main() {
8344  isinfl(0);
8345 ; return 0; }
8346 EOF
8347 if { (eval echo configure:8348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8348   rm -rf conftest*
8349   glibcpp_cv_func_isinfl_use=yes
8350 else
8351   echo "configure: failed program was:" >&5
8352   cat conftest.$ac_ext >&5
8353   rm -rf conftest*
8354   glibcpp_cv_func_isinfl_use=no
8355 fi
8356 rm -f conftest*
8357     ac_ext=c
8358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8359 ac_cpp='$CPP $CPPFLAGS'
8360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8362 cross_compiling=$ac_cv_prog_cc_cross
8363
8364   
8365 fi
8366
8367   echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8368   if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8369     for ac_func in isinfl
8370 do
8371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8372 echo "configure:8373: checking for $ac_func" >&5
8373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8374   echo $ac_n "(cached) $ac_c" 1>&6
8375 else
8376   cat > conftest.$ac_ext <<EOF
8377 #line 8378 "configure"
8378 #include "confdefs.h"
8379 /* System header to define __stub macros and hopefully few prototypes,
8380     which can conflict with char $ac_func(); below.  */
8381 #include <assert.h>
8382 /* Override any gcc2 internal prototype to avoid an error.  */
8383 /* We use char because int might match the return type of a gcc2
8384     builtin and then its argument prototype would still apply.  */
8385 char $ac_func();
8386
8387 int main() {
8388
8389 /* The GNU C library defines this for functions which it implements
8390     to always fail with ENOSYS.  Some functions are actually named
8391     something starting with __ and the normal name is an alias.  */
8392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8393 choke me
8394 #else
8395 $ac_func();
8396 #endif
8397
8398 ; return 0; }
8399 EOF
8400 if { (eval echo configure:8401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8401   rm -rf conftest*
8402   eval "ac_cv_func_$ac_func=yes"
8403 else
8404   echo "configure: failed program was:" >&5
8405   cat conftest.$ac_ext >&5
8406   rm -rf conftest*
8407   eval "ac_cv_func_$ac_func=no"
8408 fi
8409 rm -f conftest*
8410 fi
8411
8412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8413   echo "$ac_t""yes" 1>&6
8414     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8415   cat >> confdefs.h <<EOF
8416 #define $ac_tr_func 1
8417 EOF
8418  
8419 else
8420   echo "$ac_t""no" 1>&6
8421 fi
8422 done
8423     
8424   fi
8425
8426   
8427   echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8428 echo "configure:8429: checking for copysignl declaration" >&5
8429   if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8430   echo $ac_n "(cached) $ac_c" 1>&6
8431 else
8432   
8433     
8434     ac_ext=C
8435 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8436 ac_cpp='$CXXCPP $CPPFLAGS'
8437 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8438 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8439 cross_compiling=$ac_cv_prog_cxx_cross
8440
8441     cat > conftest.$ac_ext <<EOF
8442 #line 8443 "configure"
8443 #include "confdefs.h"
8444 #include <math.h>
8445 int main() {
8446  copysignl(0, 0);
8447 ; return 0; }
8448 EOF
8449 if { (eval echo configure:8450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8450   rm -rf conftest*
8451   glibcpp_cv_func_copysignl_use=yes
8452 else
8453   echo "configure: failed program was:" >&5
8454   cat conftest.$ac_ext >&5
8455   rm -rf conftest*
8456   glibcpp_cv_func_copysignl_use=no
8457 fi
8458 rm -f conftest*
8459     ac_ext=c
8460 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8461 ac_cpp='$CPP $CPPFLAGS'
8462 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8463 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8464 cross_compiling=$ac_cv_prog_cc_cross
8465
8466   
8467 fi
8468
8469   echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8470   if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8471     for ac_func in copysignl
8472 do
8473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8474 echo "configure:8475: checking for $ac_func" >&5
8475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8476   echo $ac_n "(cached) $ac_c" 1>&6
8477 else
8478   cat > conftest.$ac_ext <<EOF
8479 #line 8480 "configure"
8480 #include "confdefs.h"
8481 /* System header to define __stub macros and hopefully few prototypes,
8482     which can conflict with char $ac_func(); below.  */
8483 #include <assert.h>
8484 /* Override any gcc2 internal prototype to avoid an error.  */
8485 /* We use char because int might match the return type of a gcc2
8486     builtin and then its argument prototype would still apply.  */
8487 char $ac_func();
8488
8489 int main() {
8490
8491 /* The GNU C library defines this for functions which it implements
8492     to always fail with ENOSYS.  Some functions are actually named
8493     something starting with __ and the normal name is an alias.  */
8494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8495 choke me
8496 #else
8497 $ac_func();
8498 #endif
8499
8500 ; return 0; }
8501 EOF
8502 if { (eval echo configure:8503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8503   rm -rf conftest*
8504   eval "ac_cv_func_$ac_func=yes"
8505 else
8506   echo "configure: failed program was:" >&5
8507   cat conftest.$ac_ext >&5
8508   rm -rf conftest*
8509   eval "ac_cv_func_$ac_func=no"
8510 fi
8511 rm -f conftest*
8512 fi
8513
8514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8515   echo "$ac_t""yes" 1>&6
8516     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8517   cat >> confdefs.h <<EOF
8518 #define $ac_tr_func 1
8519 EOF
8520  
8521 else
8522   echo "$ac_t""no" 1>&6
8523 fi
8524 done
8525     
8526   fi
8527
8528   
8529   echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8530 echo "configure:8531: checking for acosl declaration" >&5
8531   if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8532   echo $ac_n "(cached) $ac_c" 1>&6
8533 else
8534   
8535     
8536     ac_ext=C
8537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8538 ac_cpp='$CXXCPP $CPPFLAGS'
8539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8541 cross_compiling=$ac_cv_prog_cxx_cross
8542
8543     cat > conftest.$ac_ext <<EOF
8544 #line 8545 "configure"
8545 #include "confdefs.h"
8546 #include <math.h>
8547 int main() {
8548  acosl(0);
8549 ; return 0; }
8550 EOF
8551 if { (eval echo configure:8552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8552   rm -rf conftest*
8553   glibcpp_cv_func_acosl_use=yes
8554 else
8555   echo "configure: failed program was:" >&5
8556   cat conftest.$ac_ext >&5
8557   rm -rf conftest*
8558   glibcpp_cv_func_acosl_use=no
8559 fi
8560 rm -f conftest*
8561     ac_ext=c
8562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8563 ac_cpp='$CPP $CPPFLAGS'
8564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8566 cross_compiling=$ac_cv_prog_cc_cross
8567
8568   
8569 fi
8570
8571   echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8572   if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8573     for ac_func in acosl
8574 do
8575 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8576 echo "configure:8577: checking for $ac_func" >&5
8577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8578   echo $ac_n "(cached) $ac_c" 1>&6
8579 else
8580   cat > conftest.$ac_ext <<EOF
8581 #line 8582 "configure"
8582 #include "confdefs.h"
8583 /* System header to define __stub macros and hopefully few prototypes,
8584     which can conflict with char $ac_func(); below.  */
8585 #include <assert.h>
8586 /* Override any gcc2 internal prototype to avoid an error.  */
8587 /* We use char because int might match the return type of a gcc2
8588     builtin and then its argument prototype would still apply.  */
8589 char $ac_func();
8590
8591 int main() {
8592
8593 /* The GNU C library defines this for functions which it implements
8594     to always fail with ENOSYS.  Some functions are actually named
8595     something starting with __ and the normal name is an alias.  */
8596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8597 choke me
8598 #else
8599 $ac_func();
8600 #endif
8601
8602 ; return 0; }
8603 EOF
8604 if { (eval echo configure:8605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8605   rm -rf conftest*
8606   eval "ac_cv_func_$ac_func=yes"
8607 else
8608   echo "configure: failed program was:" >&5
8609   cat conftest.$ac_ext >&5
8610   rm -rf conftest*
8611   eval "ac_cv_func_$ac_func=no"
8612 fi
8613 rm -f conftest*
8614 fi
8615
8616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8617   echo "$ac_t""yes" 1>&6
8618     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8619   cat >> confdefs.h <<EOF
8620 #define $ac_tr_func 1
8621 EOF
8622  
8623 else
8624   echo "$ac_t""no" 1>&6
8625 fi
8626 done
8627     
8628   fi
8629
8630   
8631   echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8632 echo "configure:8633: checking for asinl declaration" >&5
8633   if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8634   echo $ac_n "(cached) $ac_c" 1>&6
8635 else
8636   
8637     
8638     ac_ext=C
8639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8640 ac_cpp='$CXXCPP $CPPFLAGS'
8641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8643 cross_compiling=$ac_cv_prog_cxx_cross
8644
8645     cat > conftest.$ac_ext <<EOF
8646 #line 8647 "configure"
8647 #include "confdefs.h"
8648 #include <math.h>
8649 int main() {
8650  asinl(0);
8651 ; return 0; }
8652 EOF
8653 if { (eval echo configure:8654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8654   rm -rf conftest*
8655   glibcpp_cv_func_asinl_use=yes
8656 else
8657   echo "configure: failed program was:" >&5
8658   cat conftest.$ac_ext >&5
8659   rm -rf conftest*
8660   glibcpp_cv_func_asinl_use=no
8661 fi
8662 rm -f conftest*
8663     ac_ext=c
8664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8665 ac_cpp='$CPP $CPPFLAGS'
8666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8668 cross_compiling=$ac_cv_prog_cc_cross
8669
8670   
8671 fi
8672
8673   echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8674   if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8675     for ac_func in asinl
8676 do
8677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8678 echo "configure:8679: checking for $ac_func" >&5
8679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8680   echo $ac_n "(cached) $ac_c" 1>&6
8681 else
8682   cat > conftest.$ac_ext <<EOF
8683 #line 8684 "configure"
8684 #include "confdefs.h"
8685 /* System header to define __stub macros and hopefully few prototypes,
8686     which can conflict with char $ac_func(); below.  */
8687 #include <assert.h>
8688 /* Override any gcc2 internal prototype to avoid an error.  */
8689 /* We use char because int might match the return type of a gcc2
8690     builtin and then its argument prototype would still apply.  */
8691 char $ac_func();
8692
8693 int main() {
8694
8695 /* The GNU C library defines this for functions which it implements
8696     to always fail with ENOSYS.  Some functions are actually named
8697     something starting with __ and the normal name is an alias.  */
8698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8699 choke me
8700 #else
8701 $ac_func();
8702 #endif
8703
8704 ; return 0; }
8705 EOF
8706 if { (eval echo configure:8707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8707   rm -rf conftest*
8708   eval "ac_cv_func_$ac_func=yes"
8709 else
8710   echo "configure: failed program was:" >&5
8711   cat conftest.$ac_ext >&5
8712   rm -rf conftest*
8713   eval "ac_cv_func_$ac_func=no"
8714 fi
8715 rm -f conftest*
8716 fi
8717
8718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8719   echo "$ac_t""yes" 1>&6
8720     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8721   cat >> confdefs.h <<EOF
8722 #define $ac_tr_func 1
8723 EOF
8724  
8725 else
8726   echo "$ac_t""no" 1>&6
8727 fi
8728 done
8729     
8730   fi
8731
8732   
8733   echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8734 echo "configure:8735: checking for atanl declaration" >&5
8735   if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8736   echo $ac_n "(cached) $ac_c" 1>&6
8737 else
8738   
8739     
8740     ac_ext=C
8741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8742 ac_cpp='$CXXCPP $CPPFLAGS'
8743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8745 cross_compiling=$ac_cv_prog_cxx_cross
8746
8747     cat > conftest.$ac_ext <<EOF
8748 #line 8749 "configure"
8749 #include "confdefs.h"
8750 #include <math.h>
8751 int main() {
8752  atanl(0);
8753 ; return 0; }
8754 EOF
8755 if { (eval echo configure:8756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8756   rm -rf conftest*
8757   glibcpp_cv_func_atanl_use=yes
8758 else
8759   echo "configure: failed program was:" >&5
8760   cat conftest.$ac_ext >&5
8761   rm -rf conftest*
8762   glibcpp_cv_func_atanl_use=no
8763 fi
8764 rm -f conftest*
8765     ac_ext=c
8766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8767 ac_cpp='$CPP $CPPFLAGS'
8768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8770 cross_compiling=$ac_cv_prog_cc_cross
8771
8772   
8773 fi
8774
8775   echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8776   if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8777     for ac_func in atanl
8778 do
8779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8780 echo "configure:8781: checking for $ac_func" >&5
8781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8782   echo $ac_n "(cached) $ac_c" 1>&6
8783 else
8784   cat > conftest.$ac_ext <<EOF
8785 #line 8786 "configure"
8786 #include "confdefs.h"
8787 /* System header to define __stub macros and hopefully few prototypes,
8788     which can conflict with char $ac_func(); below.  */
8789 #include <assert.h>
8790 /* Override any gcc2 internal prototype to avoid an error.  */
8791 /* We use char because int might match the return type of a gcc2
8792     builtin and then its argument prototype would still apply.  */
8793 char $ac_func();
8794
8795 int main() {
8796
8797 /* The GNU C library defines this for functions which it implements
8798     to always fail with ENOSYS.  Some functions are actually named
8799     something starting with __ and the normal name is an alias.  */
8800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8801 choke me
8802 #else
8803 $ac_func();
8804 #endif
8805
8806 ; return 0; }
8807 EOF
8808 if { (eval echo configure:8809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8809   rm -rf conftest*
8810   eval "ac_cv_func_$ac_func=yes"
8811 else
8812   echo "configure: failed program was:" >&5
8813   cat conftest.$ac_ext >&5
8814   rm -rf conftest*
8815   eval "ac_cv_func_$ac_func=no"
8816 fi
8817 rm -f conftest*
8818 fi
8819
8820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8821   echo "$ac_t""yes" 1>&6
8822     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8823   cat >> confdefs.h <<EOF
8824 #define $ac_tr_func 1
8825 EOF
8826  
8827 else
8828   echo "$ac_t""no" 1>&6
8829 fi
8830 done
8831     
8832   fi
8833
8834   
8835   echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8836 echo "configure:8837: checking for atan2l declaration" >&5
8837   if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8838   echo $ac_n "(cached) $ac_c" 1>&6
8839 else
8840   
8841     
8842     ac_ext=C
8843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8844 ac_cpp='$CXXCPP $CPPFLAGS'
8845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8847 cross_compiling=$ac_cv_prog_cxx_cross
8848
8849     cat > conftest.$ac_ext <<EOF
8850 #line 8851 "configure"
8851 #include "confdefs.h"
8852 #include <math.h>
8853 int main() {
8854  atan2l(0, 0);
8855 ; return 0; }
8856 EOF
8857 if { (eval echo configure:8858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8858   rm -rf conftest*
8859   glibcpp_cv_func_atan2l_use=yes
8860 else
8861   echo "configure: failed program was:" >&5
8862   cat conftest.$ac_ext >&5
8863   rm -rf conftest*
8864   glibcpp_cv_func_atan2l_use=no
8865 fi
8866 rm -f conftest*
8867     ac_ext=c
8868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8869 ac_cpp='$CPP $CPPFLAGS'
8870 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8871 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8872 cross_compiling=$ac_cv_prog_cc_cross
8873
8874   
8875 fi
8876
8877   echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8878   if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8879     for ac_func in atan2l
8880 do
8881 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8882 echo "configure:8883: checking for $ac_func" >&5
8883 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8884   echo $ac_n "(cached) $ac_c" 1>&6
8885 else
8886   cat > conftest.$ac_ext <<EOF
8887 #line 8888 "configure"
8888 #include "confdefs.h"
8889 /* System header to define __stub macros and hopefully few prototypes,
8890     which can conflict with char $ac_func(); below.  */
8891 #include <assert.h>
8892 /* Override any gcc2 internal prototype to avoid an error.  */
8893 /* We use char because int might match the return type of a gcc2
8894     builtin and then its argument prototype would still apply.  */
8895 char $ac_func();
8896
8897 int main() {
8898
8899 /* The GNU C library defines this for functions which it implements
8900     to always fail with ENOSYS.  Some functions are actually named
8901     something starting with __ and the normal name is an alias.  */
8902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8903 choke me
8904 #else
8905 $ac_func();
8906 #endif
8907
8908 ; return 0; }
8909 EOF
8910 if { (eval echo configure:8911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8911   rm -rf conftest*
8912   eval "ac_cv_func_$ac_func=yes"
8913 else
8914   echo "configure: failed program was:" >&5
8915   cat conftest.$ac_ext >&5
8916   rm -rf conftest*
8917   eval "ac_cv_func_$ac_func=no"
8918 fi
8919 rm -f conftest*
8920 fi
8921
8922 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8923   echo "$ac_t""yes" 1>&6
8924     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8925   cat >> confdefs.h <<EOF
8926 #define $ac_tr_func 1
8927 EOF
8928  
8929 else
8930   echo "$ac_t""no" 1>&6
8931 fi
8932 done
8933     
8934   fi
8935
8936   
8937   echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
8938 echo "configure:8939: checking for ceill declaration" >&5
8939   if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
8940   echo $ac_n "(cached) $ac_c" 1>&6
8941 else
8942   
8943     
8944     ac_ext=C
8945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8946 ac_cpp='$CXXCPP $CPPFLAGS'
8947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8949 cross_compiling=$ac_cv_prog_cxx_cross
8950
8951     cat > conftest.$ac_ext <<EOF
8952 #line 8953 "configure"
8953 #include "confdefs.h"
8954 #include <math.h>
8955 int main() {
8956  ceill(0);
8957 ; return 0; }
8958 EOF
8959 if { (eval echo configure:8960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8960   rm -rf conftest*
8961   glibcpp_cv_func_ceill_use=yes
8962 else
8963   echo "configure: failed program was:" >&5
8964   cat conftest.$ac_ext >&5
8965   rm -rf conftest*
8966   glibcpp_cv_func_ceill_use=no
8967 fi
8968 rm -f conftest*
8969     ac_ext=c
8970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8971 ac_cpp='$CPP $CPPFLAGS'
8972 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8973 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8974 cross_compiling=$ac_cv_prog_cc_cross
8975
8976   
8977 fi
8978
8979   echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
8980   if test x$glibcpp_cv_func_ceill_use = x"yes"; then
8981     for ac_func in ceill
8982 do
8983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8984 echo "configure:8985: checking for $ac_func" >&5
8985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8986   echo $ac_n "(cached) $ac_c" 1>&6
8987 else
8988   cat > conftest.$ac_ext <<EOF
8989 #line 8990 "configure"
8990 #include "confdefs.h"
8991 /* System header to define __stub macros and hopefully few prototypes,
8992     which can conflict with char $ac_func(); below.  */
8993 #include <assert.h>
8994 /* Override any gcc2 internal prototype to avoid an error.  */
8995 /* We use char because int might match the return type of a gcc2
8996     builtin and then its argument prototype would still apply.  */
8997 char $ac_func();
8998
8999 int main() {
9000
9001 /* The GNU C library defines this for functions which it implements
9002     to always fail with ENOSYS.  Some functions are actually named
9003     something starting with __ and the normal name is an alias.  */
9004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9005 choke me
9006 #else
9007 $ac_func();
9008 #endif
9009
9010 ; return 0; }
9011 EOF
9012 if { (eval echo configure:9013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9013   rm -rf conftest*
9014   eval "ac_cv_func_$ac_func=yes"
9015 else
9016   echo "configure: failed program was:" >&5
9017   cat conftest.$ac_ext >&5
9018   rm -rf conftest*
9019   eval "ac_cv_func_$ac_func=no"
9020 fi
9021 rm -f conftest*
9022 fi
9023
9024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9025   echo "$ac_t""yes" 1>&6
9026     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9027   cat >> confdefs.h <<EOF
9028 #define $ac_tr_func 1
9029 EOF
9030  
9031 else
9032   echo "$ac_t""no" 1>&6
9033 fi
9034 done
9035     
9036   fi
9037
9038   
9039   echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
9040 echo "configure:9041: checking for cosl declaration" >&5
9041   if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
9042   echo $ac_n "(cached) $ac_c" 1>&6
9043 else
9044   
9045     
9046     ac_ext=C
9047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9048 ac_cpp='$CXXCPP $CPPFLAGS'
9049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9051 cross_compiling=$ac_cv_prog_cxx_cross
9052
9053     cat > conftest.$ac_ext <<EOF
9054 #line 9055 "configure"
9055 #include "confdefs.h"
9056 #include <math.h>
9057 int main() {
9058  cosl(0);
9059 ; return 0; }
9060 EOF
9061 if { (eval echo configure:9062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9062   rm -rf conftest*
9063   glibcpp_cv_func_cosl_use=yes
9064 else
9065   echo "configure: failed program was:" >&5
9066   cat conftest.$ac_ext >&5
9067   rm -rf conftest*
9068   glibcpp_cv_func_cosl_use=no
9069 fi
9070 rm -f conftest*
9071     ac_ext=c
9072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9073 ac_cpp='$CPP $CPPFLAGS'
9074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9076 cross_compiling=$ac_cv_prog_cc_cross
9077
9078   
9079 fi
9080
9081   echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
9082   if test x$glibcpp_cv_func_cosl_use = x"yes"; then
9083     for ac_func in cosl
9084 do
9085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9086 echo "configure:9087: checking for $ac_func" >&5
9087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9088   echo $ac_n "(cached) $ac_c" 1>&6
9089 else
9090   cat > conftest.$ac_ext <<EOF
9091 #line 9092 "configure"
9092 #include "confdefs.h"
9093 /* System header to define __stub macros and hopefully few prototypes,
9094     which can conflict with char $ac_func(); below.  */
9095 #include <assert.h>
9096 /* Override any gcc2 internal prototype to avoid an error.  */
9097 /* We use char because int might match the return type of a gcc2
9098     builtin and then its argument prototype would still apply.  */
9099 char $ac_func();
9100
9101 int main() {
9102
9103 /* The GNU C library defines this for functions which it implements
9104     to always fail with ENOSYS.  Some functions are actually named
9105     something starting with __ and the normal name is an alias.  */
9106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9107 choke me
9108 #else
9109 $ac_func();
9110 #endif
9111
9112 ; return 0; }
9113 EOF
9114 if { (eval echo configure:9115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9115   rm -rf conftest*
9116   eval "ac_cv_func_$ac_func=yes"
9117 else
9118   echo "configure: failed program was:" >&5
9119   cat conftest.$ac_ext >&5
9120   rm -rf conftest*
9121   eval "ac_cv_func_$ac_func=no"
9122 fi
9123 rm -f conftest*
9124 fi
9125
9126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9127   echo "$ac_t""yes" 1>&6
9128     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9129   cat >> confdefs.h <<EOF
9130 #define $ac_tr_func 1
9131 EOF
9132  
9133 else
9134   echo "$ac_t""no" 1>&6
9135 fi
9136 done
9137     
9138   fi
9139
9140   
9141   echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9142 echo "configure:9143: checking for coshl declaration" >&5
9143   if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9144   echo $ac_n "(cached) $ac_c" 1>&6
9145 else
9146   
9147     
9148     ac_ext=C
9149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9150 ac_cpp='$CXXCPP $CPPFLAGS'
9151 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9152 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9153 cross_compiling=$ac_cv_prog_cxx_cross
9154
9155     cat > conftest.$ac_ext <<EOF
9156 #line 9157 "configure"
9157 #include "confdefs.h"
9158 #include <math.h>
9159 int main() {
9160  coshl(0);
9161 ; return 0; }
9162 EOF
9163 if { (eval echo configure:9164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9164   rm -rf conftest*
9165   glibcpp_cv_func_coshl_use=yes
9166 else
9167   echo "configure: failed program was:" >&5
9168   cat conftest.$ac_ext >&5
9169   rm -rf conftest*
9170   glibcpp_cv_func_coshl_use=no
9171 fi
9172 rm -f conftest*
9173     ac_ext=c
9174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9175 ac_cpp='$CPP $CPPFLAGS'
9176 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9177 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9178 cross_compiling=$ac_cv_prog_cc_cross
9179
9180   
9181 fi
9182
9183   echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9184   if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9185     for ac_func in coshl
9186 do
9187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9188 echo "configure:9189: checking for $ac_func" >&5
9189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9190   echo $ac_n "(cached) $ac_c" 1>&6
9191 else
9192   cat > conftest.$ac_ext <<EOF
9193 #line 9194 "configure"
9194 #include "confdefs.h"
9195 /* System header to define __stub macros and hopefully few prototypes,
9196     which can conflict with char $ac_func(); below.  */
9197 #include <assert.h>
9198 /* Override any gcc2 internal prototype to avoid an error.  */
9199 /* We use char because int might match the return type of a gcc2
9200     builtin and then its argument prototype would still apply.  */
9201 char $ac_func();
9202
9203 int main() {
9204
9205 /* The GNU C library defines this for functions which it implements
9206     to always fail with ENOSYS.  Some functions are actually named
9207     something starting with __ and the normal name is an alias.  */
9208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9209 choke me
9210 #else
9211 $ac_func();
9212 #endif
9213
9214 ; return 0; }
9215 EOF
9216 if { (eval echo configure:9217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9217   rm -rf conftest*
9218   eval "ac_cv_func_$ac_func=yes"
9219 else
9220   echo "configure: failed program was:" >&5
9221   cat conftest.$ac_ext >&5
9222   rm -rf conftest*
9223   eval "ac_cv_func_$ac_func=no"
9224 fi
9225 rm -f conftest*
9226 fi
9227
9228 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9229   echo "$ac_t""yes" 1>&6
9230     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9231   cat >> confdefs.h <<EOF
9232 #define $ac_tr_func 1
9233 EOF
9234  
9235 else
9236   echo "$ac_t""no" 1>&6
9237 fi
9238 done
9239     
9240   fi
9241
9242   
9243   echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9244 echo "configure:9245: checking for expl declaration" >&5
9245   if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9246   echo $ac_n "(cached) $ac_c" 1>&6
9247 else
9248   
9249     
9250     ac_ext=C
9251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9252 ac_cpp='$CXXCPP $CPPFLAGS'
9253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9255 cross_compiling=$ac_cv_prog_cxx_cross
9256
9257     cat > conftest.$ac_ext <<EOF
9258 #line 9259 "configure"
9259 #include "confdefs.h"
9260 #include <math.h>
9261 int main() {
9262  expl(0);
9263 ; return 0; }
9264 EOF
9265 if { (eval echo configure:9266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9266   rm -rf conftest*
9267   glibcpp_cv_func_expl_use=yes
9268 else
9269   echo "configure: failed program was:" >&5
9270   cat conftest.$ac_ext >&5
9271   rm -rf conftest*
9272   glibcpp_cv_func_expl_use=no
9273 fi
9274 rm -f conftest*
9275     ac_ext=c
9276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9277 ac_cpp='$CPP $CPPFLAGS'
9278 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9279 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9280 cross_compiling=$ac_cv_prog_cc_cross
9281
9282   
9283 fi
9284
9285   echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9286   if test x$glibcpp_cv_func_expl_use = x"yes"; then
9287     for ac_func in expl
9288 do
9289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9290 echo "configure:9291: checking for $ac_func" >&5
9291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9292   echo $ac_n "(cached) $ac_c" 1>&6
9293 else
9294   cat > conftest.$ac_ext <<EOF
9295 #line 9296 "configure"
9296 #include "confdefs.h"
9297 /* System header to define __stub macros and hopefully few prototypes,
9298     which can conflict with char $ac_func(); below.  */
9299 #include <assert.h>
9300 /* Override any gcc2 internal prototype to avoid an error.  */
9301 /* We use char because int might match the return type of a gcc2
9302     builtin and then its argument prototype would still apply.  */
9303 char $ac_func();
9304
9305 int main() {
9306
9307 /* The GNU C library defines this for functions which it implements
9308     to always fail with ENOSYS.  Some functions are actually named
9309     something starting with __ and the normal name is an alias.  */
9310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9311 choke me
9312 #else
9313 $ac_func();
9314 #endif
9315
9316 ; return 0; }
9317 EOF
9318 if { (eval echo configure:9319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9319   rm -rf conftest*
9320   eval "ac_cv_func_$ac_func=yes"
9321 else
9322   echo "configure: failed program was:" >&5
9323   cat conftest.$ac_ext >&5
9324   rm -rf conftest*
9325   eval "ac_cv_func_$ac_func=no"
9326 fi
9327 rm -f conftest*
9328 fi
9329
9330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9331   echo "$ac_t""yes" 1>&6
9332     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9333   cat >> confdefs.h <<EOF
9334 #define $ac_tr_func 1
9335 EOF
9336  
9337 else
9338   echo "$ac_t""no" 1>&6
9339 fi
9340 done
9341     
9342   fi
9343
9344   
9345   echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9346 echo "configure:9347: checking for fabsl declaration" >&5
9347   if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9348   echo $ac_n "(cached) $ac_c" 1>&6
9349 else
9350   
9351     
9352     ac_ext=C
9353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9354 ac_cpp='$CXXCPP $CPPFLAGS'
9355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9357 cross_compiling=$ac_cv_prog_cxx_cross
9358
9359     cat > conftest.$ac_ext <<EOF
9360 #line 9361 "configure"
9361 #include "confdefs.h"
9362 #include <math.h>
9363 int main() {
9364  fabsl(0);
9365 ; return 0; }
9366 EOF
9367 if { (eval echo configure:9368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9368   rm -rf conftest*
9369   glibcpp_cv_func_fabsl_use=yes
9370 else
9371   echo "configure: failed program was:" >&5
9372   cat conftest.$ac_ext >&5
9373   rm -rf conftest*
9374   glibcpp_cv_func_fabsl_use=no
9375 fi
9376 rm -f conftest*
9377     ac_ext=c
9378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9379 ac_cpp='$CPP $CPPFLAGS'
9380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9382 cross_compiling=$ac_cv_prog_cc_cross
9383
9384   
9385 fi
9386
9387   echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9388   if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9389     for ac_func in fabsl
9390 do
9391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9392 echo "configure:9393: checking for $ac_func" >&5
9393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9394   echo $ac_n "(cached) $ac_c" 1>&6
9395 else
9396   cat > conftest.$ac_ext <<EOF
9397 #line 9398 "configure"
9398 #include "confdefs.h"
9399 /* System header to define __stub macros and hopefully few prototypes,
9400     which can conflict with char $ac_func(); below.  */
9401 #include <assert.h>
9402 /* Override any gcc2 internal prototype to avoid an error.  */
9403 /* We use char because int might match the return type of a gcc2
9404     builtin and then its argument prototype would still apply.  */
9405 char $ac_func();
9406
9407 int main() {
9408
9409 /* The GNU C library defines this for functions which it implements
9410     to always fail with ENOSYS.  Some functions are actually named
9411     something starting with __ and the normal name is an alias.  */
9412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9413 choke me
9414 #else
9415 $ac_func();
9416 #endif
9417
9418 ; return 0; }
9419 EOF
9420 if { (eval echo configure:9421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9421   rm -rf conftest*
9422   eval "ac_cv_func_$ac_func=yes"
9423 else
9424   echo "configure: failed program was:" >&5
9425   cat conftest.$ac_ext >&5
9426   rm -rf conftest*
9427   eval "ac_cv_func_$ac_func=no"
9428 fi
9429 rm -f conftest*
9430 fi
9431
9432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9433   echo "$ac_t""yes" 1>&6
9434     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9435   cat >> confdefs.h <<EOF
9436 #define $ac_tr_func 1
9437 EOF
9438  
9439 else
9440   echo "$ac_t""no" 1>&6
9441 fi
9442 done
9443     
9444   fi
9445
9446   
9447   echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9448 echo "configure:9449: checking for floorl declaration" >&5
9449   if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9450   echo $ac_n "(cached) $ac_c" 1>&6
9451 else
9452   
9453     
9454     ac_ext=C
9455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9456 ac_cpp='$CXXCPP $CPPFLAGS'
9457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9459 cross_compiling=$ac_cv_prog_cxx_cross
9460
9461     cat > conftest.$ac_ext <<EOF
9462 #line 9463 "configure"
9463 #include "confdefs.h"
9464 #include <math.h>
9465 int main() {
9466  floorl(0);
9467 ; return 0; }
9468 EOF
9469 if { (eval echo configure:9470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9470   rm -rf conftest*
9471   glibcpp_cv_func_floorl_use=yes
9472 else
9473   echo "configure: failed program was:" >&5
9474   cat conftest.$ac_ext >&5
9475   rm -rf conftest*
9476   glibcpp_cv_func_floorl_use=no
9477 fi
9478 rm -f conftest*
9479     ac_ext=c
9480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9481 ac_cpp='$CPP $CPPFLAGS'
9482 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9483 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9484 cross_compiling=$ac_cv_prog_cc_cross
9485
9486   
9487 fi
9488
9489   echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9490   if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9491     for ac_func in floorl
9492 do
9493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9494 echo "configure:9495: checking for $ac_func" >&5
9495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9496   echo $ac_n "(cached) $ac_c" 1>&6
9497 else
9498   cat > conftest.$ac_ext <<EOF
9499 #line 9500 "configure"
9500 #include "confdefs.h"
9501 /* System header to define __stub macros and hopefully few prototypes,
9502     which can conflict with char $ac_func(); below.  */
9503 #include <assert.h>
9504 /* Override any gcc2 internal prototype to avoid an error.  */
9505 /* We use char because int might match the return type of a gcc2
9506     builtin and then its argument prototype would still apply.  */
9507 char $ac_func();
9508
9509 int main() {
9510
9511 /* The GNU C library defines this for functions which it implements
9512     to always fail with ENOSYS.  Some functions are actually named
9513     something starting with __ and the normal name is an alias.  */
9514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9515 choke me
9516 #else
9517 $ac_func();
9518 #endif
9519
9520 ; return 0; }
9521 EOF
9522 if { (eval echo configure:9523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9523   rm -rf conftest*
9524   eval "ac_cv_func_$ac_func=yes"
9525 else
9526   echo "configure: failed program was:" >&5
9527   cat conftest.$ac_ext >&5
9528   rm -rf conftest*
9529   eval "ac_cv_func_$ac_func=no"
9530 fi
9531 rm -f conftest*
9532 fi
9533
9534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9535   echo "$ac_t""yes" 1>&6
9536     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9537   cat >> confdefs.h <<EOF
9538 #define $ac_tr_func 1
9539 EOF
9540  
9541 else
9542   echo "$ac_t""no" 1>&6
9543 fi
9544 done
9545     
9546   fi
9547
9548   
9549   echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9550 echo "configure:9551: checking for fmodl declaration" >&5
9551   if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9552   echo $ac_n "(cached) $ac_c" 1>&6
9553 else
9554   
9555     
9556     ac_ext=C
9557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9558 ac_cpp='$CXXCPP $CPPFLAGS'
9559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9561 cross_compiling=$ac_cv_prog_cxx_cross
9562
9563     cat > conftest.$ac_ext <<EOF
9564 #line 9565 "configure"
9565 #include "confdefs.h"
9566 #include <math.h>
9567 int main() {
9568  fmodl(0, 0);
9569 ; return 0; }
9570 EOF
9571 if { (eval echo configure:9572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9572   rm -rf conftest*
9573   glibcpp_cv_func_fmodl_use=yes
9574 else
9575   echo "configure: failed program was:" >&5
9576   cat conftest.$ac_ext >&5
9577   rm -rf conftest*
9578   glibcpp_cv_func_fmodl_use=no
9579 fi
9580 rm -f conftest*
9581     ac_ext=c
9582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9583 ac_cpp='$CPP $CPPFLAGS'
9584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9586 cross_compiling=$ac_cv_prog_cc_cross
9587
9588   
9589 fi
9590
9591   echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9592   if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9593     for ac_func in fmodl
9594 do
9595 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9596 echo "configure:9597: checking for $ac_func" >&5
9597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9598   echo $ac_n "(cached) $ac_c" 1>&6
9599 else
9600   cat > conftest.$ac_ext <<EOF
9601 #line 9602 "configure"
9602 #include "confdefs.h"
9603 /* System header to define __stub macros and hopefully few prototypes,
9604     which can conflict with char $ac_func(); below.  */
9605 #include <assert.h>
9606 /* Override any gcc2 internal prototype to avoid an error.  */
9607 /* We use char because int might match the return type of a gcc2
9608     builtin and then its argument prototype would still apply.  */
9609 char $ac_func();
9610
9611 int main() {
9612
9613 /* The GNU C library defines this for functions which it implements
9614     to always fail with ENOSYS.  Some functions are actually named
9615     something starting with __ and the normal name is an alias.  */
9616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9617 choke me
9618 #else
9619 $ac_func();
9620 #endif
9621
9622 ; return 0; }
9623 EOF
9624 if { (eval echo configure:9625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9625   rm -rf conftest*
9626   eval "ac_cv_func_$ac_func=yes"
9627 else
9628   echo "configure: failed program was:" >&5
9629   cat conftest.$ac_ext >&5
9630   rm -rf conftest*
9631   eval "ac_cv_func_$ac_func=no"
9632 fi
9633 rm -f conftest*
9634 fi
9635
9636 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9637   echo "$ac_t""yes" 1>&6
9638     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9639   cat >> confdefs.h <<EOF
9640 #define $ac_tr_func 1
9641 EOF
9642  
9643 else
9644   echo "$ac_t""no" 1>&6
9645 fi
9646 done
9647     
9648   fi
9649
9650   
9651   echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9652 echo "configure:9653: checking for frexpl declaration" >&5
9653   if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9654   echo $ac_n "(cached) $ac_c" 1>&6
9655 else
9656   
9657     
9658     ac_ext=C
9659 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9660 ac_cpp='$CXXCPP $CPPFLAGS'
9661 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9662 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9663 cross_compiling=$ac_cv_prog_cxx_cross
9664
9665     cat > conftest.$ac_ext <<EOF
9666 #line 9667 "configure"
9667 #include "confdefs.h"
9668 #include <math.h>
9669 int main() {
9670  frexpl(0, 0);
9671 ; return 0; }
9672 EOF
9673 if { (eval echo configure:9674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9674   rm -rf conftest*
9675   glibcpp_cv_func_frexpl_use=yes
9676 else
9677   echo "configure: failed program was:" >&5
9678   cat conftest.$ac_ext >&5
9679   rm -rf conftest*
9680   glibcpp_cv_func_frexpl_use=no
9681 fi
9682 rm -f conftest*
9683     ac_ext=c
9684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9685 ac_cpp='$CPP $CPPFLAGS'
9686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9688 cross_compiling=$ac_cv_prog_cc_cross
9689
9690   
9691 fi
9692
9693   echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9694   if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9695     for ac_func in frexpl
9696 do
9697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9698 echo "configure:9699: checking for $ac_func" >&5
9699 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9700   echo $ac_n "(cached) $ac_c" 1>&6
9701 else
9702   cat > conftest.$ac_ext <<EOF
9703 #line 9704 "configure"
9704 #include "confdefs.h"
9705 /* System header to define __stub macros and hopefully few prototypes,
9706     which can conflict with char $ac_func(); below.  */
9707 #include <assert.h>
9708 /* Override any gcc2 internal prototype to avoid an error.  */
9709 /* We use char because int might match the return type of a gcc2
9710     builtin and then its argument prototype would still apply.  */
9711 char $ac_func();
9712
9713 int main() {
9714
9715 /* The GNU C library defines this for functions which it implements
9716     to always fail with ENOSYS.  Some functions are actually named
9717     something starting with __ and the normal name is an alias.  */
9718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9719 choke me
9720 #else
9721 $ac_func();
9722 #endif
9723
9724 ; return 0; }
9725 EOF
9726 if { (eval echo configure:9727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9727   rm -rf conftest*
9728   eval "ac_cv_func_$ac_func=yes"
9729 else
9730   echo "configure: failed program was:" >&5
9731   cat conftest.$ac_ext >&5
9732   rm -rf conftest*
9733   eval "ac_cv_func_$ac_func=no"
9734 fi
9735 rm -f conftest*
9736 fi
9737
9738 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9739   echo "$ac_t""yes" 1>&6
9740     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9741   cat >> confdefs.h <<EOF
9742 #define $ac_tr_func 1
9743 EOF
9744  
9745 else
9746   echo "$ac_t""no" 1>&6
9747 fi
9748 done
9749     
9750   fi
9751
9752   
9753   echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9754 echo "configure:9755: checking for ldexpl declaration" >&5
9755   if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9756   echo $ac_n "(cached) $ac_c" 1>&6
9757 else
9758   
9759     
9760     ac_ext=C
9761 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9762 ac_cpp='$CXXCPP $CPPFLAGS'
9763 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9764 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9765 cross_compiling=$ac_cv_prog_cxx_cross
9766
9767     cat > conftest.$ac_ext <<EOF
9768 #line 9769 "configure"
9769 #include "confdefs.h"
9770 #include <math.h>
9771 int main() {
9772  ldexpl(0, 0);
9773 ; return 0; }
9774 EOF
9775 if { (eval echo configure:9776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9776   rm -rf conftest*
9777   glibcpp_cv_func_ldexpl_use=yes
9778 else
9779   echo "configure: failed program was:" >&5
9780   cat conftest.$ac_ext >&5
9781   rm -rf conftest*
9782   glibcpp_cv_func_ldexpl_use=no
9783 fi
9784 rm -f conftest*
9785     ac_ext=c
9786 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9787 ac_cpp='$CPP $CPPFLAGS'
9788 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9789 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9790 cross_compiling=$ac_cv_prog_cc_cross
9791
9792   
9793 fi
9794
9795   echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9796   if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9797     for ac_func in ldexpl
9798 do
9799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9800 echo "configure:9801: checking for $ac_func" >&5
9801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9802   echo $ac_n "(cached) $ac_c" 1>&6
9803 else
9804   cat > conftest.$ac_ext <<EOF
9805 #line 9806 "configure"
9806 #include "confdefs.h"
9807 /* System header to define __stub macros and hopefully few prototypes,
9808     which can conflict with char $ac_func(); below.  */
9809 #include <assert.h>
9810 /* Override any gcc2 internal prototype to avoid an error.  */
9811 /* We use char because int might match the return type of a gcc2
9812     builtin and then its argument prototype would still apply.  */
9813 char $ac_func();
9814
9815 int main() {
9816
9817 /* The GNU C library defines this for functions which it implements
9818     to always fail with ENOSYS.  Some functions are actually named
9819     something starting with __ and the normal name is an alias.  */
9820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9821 choke me
9822 #else
9823 $ac_func();
9824 #endif
9825
9826 ; return 0; }
9827 EOF
9828 if { (eval echo configure:9829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9829   rm -rf conftest*
9830   eval "ac_cv_func_$ac_func=yes"
9831 else
9832   echo "configure: failed program was:" >&5
9833   cat conftest.$ac_ext >&5
9834   rm -rf conftest*
9835   eval "ac_cv_func_$ac_func=no"
9836 fi
9837 rm -f conftest*
9838 fi
9839
9840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9841   echo "$ac_t""yes" 1>&6
9842     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9843   cat >> confdefs.h <<EOF
9844 #define $ac_tr_func 1
9845 EOF
9846  
9847 else
9848   echo "$ac_t""no" 1>&6
9849 fi
9850 done
9851     
9852   fi
9853
9854   
9855   echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9856 echo "configure:9857: checking for logl declaration" >&5
9857   if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9858   echo $ac_n "(cached) $ac_c" 1>&6
9859 else
9860   
9861     
9862     ac_ext=C
9863 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9864 ac_cpp='$CXXCPP $CPPFLAGS'
9865 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9866 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9867 cross_compiling=$ac_cv_prog_cxx_cross
9868
9869     cat > conftest.$ac_ext <<EOF
9870 #line 9871 "configure"
9871 #include "confdefs.h"
9872 #include <math.h>
9873 int main() {
9874  logl(0);
9875 ; return 0; }
9876 EOF
9877 if { (eval echo configure:9878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9878   rm -rf conftest*
9879   glibcpp_cv_func_logl_use=yes
9880 else
9881   echo "configure: failed program was:" >&5
9882   cat conftest.$ac_ext >&5
9883   rm -rf conftest*
9884   glibcpp_cv_func_logl_use=no
9885 fi
9886 rm -f conftest*
9887     ac_ext=c
9888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9889 ac_cpp='$CPP $CPPFLAGS'
9890 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9891 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9892 cross_compiling=$ac_cv_prog_cc_cross
9893
9894   
9895 fi
9896
9897   echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9898   if test x$glibcpp_cv_func_logl_use = x"yes"; then
9899     for ac_func in logl
9900 do
9901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9902 echo "configure:9903: checking for $ac_func" >&5
9903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9904   echo $ac_n "(cached) $ac_c" 1>&6
9905 else
9906   cat > conftest.$ac_ext <<EOF
9907 #line 9908 "configure"
9908 #include "confdefs.h"
9909 /* System header to define __stub macros and hopefully few prototypes,
9910     which can conflict with char $ac_func(); below.  */
9911 #include <assert.h>
9912 /* Override any gcc2 internal prototype to avoid an error.  */
9913 /* We use char because int might match the return type of a gcc2
9914     builtin and then its argument prototype would still apply.  */
9915 char $ac_func();
9916
9917 int main() {
9918
9919 /* The GNU C library defines this for functions which it implements
9920     to always fail with ENOSYS.  Some functions are actually named
9921     something starting with __ and the normal name is an alias.  */
9922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9923 choke me
9924 #else
9925 $ac_func();
9926 #endif
9927
9928 ; return 0; }
9929 EOF
9930 if { (eval echo configure:9931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9931   rm -rf conftest*
9932   eval "ac_cv_func_$ac_func=yes"
9933 else
9934   echo "configure: failed program was:" >&5
9935   cat conftest.$ac_ext >&5
9936   rm -rf conftest*
9937   eval "ac_cv_func_$ac_func=no"
9938 fi
9939 rm -f conftest*
9940 fi
9941
9942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9943   echo "$ac_t""yes" 1>&6
9944     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9945   cat >> confdefs.h <<EOF
9946 #define $ac_tr_func 1
9947 EOF
9948  
9949 else
9950   echo "$ac_t""no" 1>&6
9951 fi
9952 done
9953     
9954   fi
9955
9956   
9957   echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9958 echo "configure:9959: checking for log10l declaration" >&5
9959   if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9960   echo $ac_n "(cached) $ac_c" 1>&6
9961 else
9962   
9963     
9964     ac_ext=C
9965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9966 ac_cpp='$CXXCPP $CPPFLAGS'
9967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9969 cross_compiling=$ac_cv_prog_cxx_cross
9970
9971     cat > conftest.$ac_ext <<EOF
9972 #line 9973 "configure"
9973 #include "confdefs.h"
9974 #include <math.h>
9975 int main() {
9976  log10l(0);
9977 ; return 0; }
9978 EOF
9979 if { (eval echo configure:9980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9980   rm -rf conftest*
9981   glibcpp_cv_func_log10l_use=yes
9982 else
9983   echo "configure: failed program was:" >&5
9984   cat conftest.$ac_ext >&5
9985   rm -rf conftest*
9986   glibcpp_cv_func_log10l_use=no
9987 fi
9988 rm -f conftest*
9989     ac_ext=c
9990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9991 ac_cpp='$CPP $CPPFLAGS'
9992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9994 cross_compiling=$ac_cv_prog_cc_cross
9995
9996   
9997 fi
9998
9999   echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
10000   if test x$glibcpp_cv_func_log10l_use = x"yes"; then
10001     for ac_func in log10l
10002 do
10003 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10004 echo "configure:10005: checking for $ac_func" >&5
10005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10006   echo $ac_n "(cached) $ac_c" 1>&6
10007 else
10008   cat > conftest.$ac_ext <<EOF
10009 #line 10010 "configure"
10010 #include "confdefs.h"
10011 /* System header to define __stub macros and hopefully few prototypes,
10012     which can conflict with char $ac_func(); below.  */
10013 #include <assert.h>
10014 /* Override any gcc2 internal prototype to avoid an error.  */
10015 /* We use char because int might match the return type of a gcc2
10016     builtin and then its argument prototype would still apply.  */
10017 char $ac_func();
10018
10019 int main() {
10020
10021 /* The GNU C library defines this for functions which it implements
10022     to always fail with ENOSYS.  Some functions are actually named
10023     something starting with __ and the normal name is an alias.  */
10024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10025 choke me
10026 #else
10027 $ac_func();
10028 #endif
10029
10030 ; return 0; }
10031 EOF
10032 if { (eval echo configure:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10033   rm -rf conftest*
10034   eval "ac_cv_func_$ac_func=yes"
10035 else
10036   echo "configure: failed program was:" >&5
10037   cat conftest.$ac_ext >&5
10038   rm -rf conftest*
10039   eval "ac_cv_func_$ac_func=no"
10040 fi
10041 rm -f conftest*
10042 fi
10043
10044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10045   echo "$ac_t""yes" 1>&6
10046     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10047   cat >> confdefs.h <<EOF
10048 #define $ac_tr_func 1
10049 EOF
10050  
10051 else
10052   echo "$ac_t""no" 1>&6
10053 fi
10054 done
10055     
10056   fi
10057
10058   
10059   echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
10060 echo "configure:10061: checking for modfl declaration" >&5
10061   if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
10062   echo $ac_n "(cached) $ac_c" 1>&6
10063 else
10064   
10065     
10066     ac_ext=C
10067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10068 ac_cpp='$CXXCPP $CPPFLAGS'
10069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10071 cross_compiling=$ac_cv_prog_cxx_cross
10072
10073     cat > conftest.$ac_ext <<EOF
10074 #line 10075 "configure"
10075 #include "confdefs.h"
10076 #include <math.h>
10077 int main() {
10078  modfl(0, 0);
10079 ; return 0; }
10080 EOF
10081 if { (eval echo configure:10082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10082   rm -rf conftest*
10083   glibcpp_cv_func_modfl_use=yes
10084 else
10085   echo "configure: failed program was:" >&5
10086   cat conftest.$ac_ext >&5
10087   rm -rf conftest*
10088   glibcpp_cv_func_modfl_use=no
10089 fi
10090 rm -f conftest*
10091     ac_ext=c
10092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10093 ac_cpp='$CPP $CPPFLAGS'
10094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10096 cross_compiling=$ac_cv_prog_cc_cross
10097
10098   
10099 fi
10100
10101   echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
10102   if test x$glibcpp_cv_func_modfl_use = x"yes"; then
10103     for ac_func in modfl
10104 do
10105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10106 echo "configure:10107: checking for $ac_func" >&5
10107 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10108   echo $ac_n "(cached) $ac_c" 1>&6
10109 else
10110   cat > conftest.$ac_ext <<EOF
10111 #line 10112 "configure"
10112 #include "confdefs.h"
10113 /* System header to define __stub macros and hopefully few prototypes,
10114     which can conflict with char $ac_func(); below.  */
10115 #include <assert.h>
10116 /* Override any gcc2 internal prototype to avoid an error.  */
10117 /* We use char because int might match the return type of a gcc2
10118     builtin and then its argument prototype would still apply.  */
10119 char $ac_func();
10120
10121 int main() {
10122
10123 /* The GNU C library defines this for functions which it implements
10124     to always fail with ENOSYS.  Some functions are actually named
10125     something starting with __ and the normal name is an alias.  */
10126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10127 choke me
10128 #else
10129 $ac_func();
10130 #endif
10131
10132 ; return 0; }
10133 EOF
10134 if { (eval echo configure:10135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10135   rm -rf conftest*
10136   eval "ac_cv_func_$ac_func=yes"
10137 else
10138   echo "configure: failed program was:" >&5
10139   cat conftest.$ac_ext >&5
10140   rm -rf conftest*
10141   eval "ac_cv_func_$ac_func=no"
10142 fi
10143 rm -f conftest*
10144 fi
10145
10146 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10147   echo "$ac_t""yes" 1>&6
10148     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10149   cat >> confdefs.h <<EOF
10150 #define $ac_tr_func 1
10151 EOF
10152  
10153 else
10154   echo "$ac_t""no" 1>&6
10155 fi
10156 done
10157     
10158   fi
10159
10160   
10161   echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10162 echo "configure:10163: checking for powl declaration" >&5
10163   if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10164   echo $ac_n "(cached) $ac_c" 1>&6
10165 else
10166   
10167     
10168     ac_ext=C
10169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10170 ac_cpp='$CXXCPP $CPPFLAGS'
10171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10173 cross_compiling=$ac_cv_prog_cxx_cross
10174
10175     cat > conftest.$ac_ext <<EOF
10176 #line 10177 "configure"
10177 #include "confdefs.h"
10178 #include <math.h>
10179 int main() {
10180  powl(0, 0);
10181 ; return 0; }
10182 EOF
10183 if { (eval echo configure:10184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10184   rm -rf conftest*
10185   glibcpp_cv_func_powl_use=yes
10186 else
10187   echo "configure: failed program was:" >&5
10188   cat conftest.$ac_ext >&5
10189   rm -rf conftest*
10190   glibcpp_cv_func_powl_use=no
10191 fi
10192 rm -f conftest*
10193     ac_ext=c
10194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10195 ac_cpp='$CPP $CPPFLAGS'
10196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10198 cross_compiling=$ac_cv_prog_cc_cross
10199
10200   
10201 fi
10202
10203   echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10204   if test x$glibcpp_cv_func_powl_use = x"yes"; then
10205     for ac_func in powl
10206 do
10207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10208 echo "configure:10209: checking for $ac_func" >&5
10209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10210   echo $ac_n "(cached) $ac_c" 1>&6
10211 else
10212   cat > conftest.$ac_ext <<EOF
10213 #line 10214 "configure"
10214 #include "confdefs.h"
10215 /* System header to define __stub macros and hopefully few prototypes,
10216     which can conflict with char $ac_func(); below.  */
10217 #include <assert.h>
10218 /* Override any gcc2 internal prototype to avoid an error.  */
10219 /* We use char because int might match the return type of a gcc2
10220     builtin and then its argument prototype would still apply.  */
10221 char $ac_func();
10222
10223 int main() {
10224
10225 /* The GNU C library defines this for functions which it implements
10226     to always fail with ENOSYS.  Some functions are actually named
10227     something starting with __ and the normal name is an alias.  */
10228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10229 choke me
10230 #else
10231 $ac_func();
10232 #endif
10233
10234 ; return 0; }
10235 EOF
10236 if { (eval echo configure:10237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10237   rm -rf conftest*
10238   eval "ac_cv_func_$ac_func=yes"
10239 else
10240   echo "configure: failed program was:" >&5
10241   cat conftest.$ac_ext >&5
10242   rm -rf conftest*
10243   eval "ac_cv_func_$ac_func=no"
10244 fi
10245 rm -f conftest*
10246 fi
10247
10248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10249   echo "$ac_t""yes" 1>&6
10250     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10251   cat >> confdefs.h <<EOF
10252 #define $ac_tr_func 1
10253 EOF
10254  
10255 else
10256   echo "$ac_t""no" 1>&6
10257 fi
10258 done
10259     
10260   fi
10261
10262   
10263   echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10264 echo "configure:10265: checking for sinl declaration" >&5
10265   if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10266   echo $ac_n "(cached) $ac_c" 1>&6
10267 else
10268   
10269     
10270     ac_ext=C
10271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10272 ac_cpp='$CXXCPP $CPPFLAGS'
10273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10275 cross_compiling=$ac_cv_prog_cxx_cross
10276
10277     cat > conftest.$ac_ext <<EOF
10278 #line 10279 "configure"
10279 #include "confdefs.h"
10280 #include <math.h>
10281 int main() {
10282  sinl(0);
10283 ; return 0; }
10284 EOF
10285 if { (eval echo configure:10286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10286   rm -rf conftest*
10287   glibcpp_cv_func_sinl_use=yes
10288 else
10289   echo "configure: failed program was:" >&5
10290   cat conftest.$ac_ext >&5
10291   rm -rf conftest*
10292   glibcpp_cv_func_sinl_use=no
10293 fi
10294 rm -f conftest*
10295     ac_ext=c
10296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10297 ac_cpp='$CPP $CPPFLAGS'
10298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10300 cross_compiling=$ac_cv_prog_cc_cross
10301
10302   
10303 fi
10304
10305   echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10306   if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10307     for ac_func in sinl
10308 do
10309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10310 echo "configure:10311: checking for $ac_func" >&5
10311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10312   echo $ac_n "(cached) $ac_c" 1>&6
10313 else
10314   cat > conftest.$ac_ext <<EOF
10315 #line 10316 "configure"
10316 #include "confdefs.h"
10317 /* System header to define __stub macros and hopefully few prototypes,
10318     which can conflict with char $ac_func(); below.  */
10319 #include <assert.h>
10320 /* Override any gcc2 internal prototype to avoid an error.  */
10321 /* We use char because int might match the return type of a gcc2
10322     builtin and then its argument prototype would still apply.  */
10323 char $ac_func();
10324
10325 int main() {
10326
10327 /* The GNU C library defines this for functions which it implements
10328     to always fail with ENOSYS.  Some functions are actually named
10329     something starting with __ and the normal name is an alias.  */
10330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10331 choke me
10332 #else
10333 $ac_func();
10334 #endif
10335
10336 ; return 0; }
10337 EOF
10338 if { (eval echo configure:10339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10339   rm -rf conftest*
10340   eval "ac_cv_func_$ac_func=yes"
10341 else
10342   echo "configure: failed program was:" >&5
10343   cat conftest.$ac_ext >&5
10344   rm -rf conftest*
10345   eval "ac_cv_func_$ac_func=no"
10346 fi
10347 rm -f conftest*
10348 fi
10349
10350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10351   echo "$ac_t""yes" 1>&6
10352     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10353   cat >> confdefs.h <<EOF
10354 #define $ac_tr_func 1
10355 EOF
10356  
10357 else
10358   echo "$ac_t""no" 1>&6
10359 fi
10360 done
10361     
10362   fi
10363
10364   
10365   echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10366 echo "configure:10367: checking for sinhl declaration" >&5
10367   if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10368   echo $ac_n "(cached) $ac_c" 1>&6
10369 else
10370   
10371     
10372     ac_ext=C
10373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10374 ac_cpp='$CXXCPP $CPPFLAGS'
10375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10377 cross_compiling=$ac_cv_prog_cxx_cross
10378
10379     cat > conftest.$ac_ext <<EOF
10380 #line 10381 "configure"
10381 #include "confdefs.h"
10382 #include <math.h>
10383 int main() {
10384  sinhl(0);
10385 ; return 0; }
10386 EOF
10387 if { (eval echo configure:10388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10388   rm -rf conftest*
10389   glibcpp_cv_func_sinhl_use=yes
10390 else
10391   echo "configure: failed program was:" >&5
10392   cat conftest.$ac_ext >&5
10393   rm -rf conftest*
10394   glibcpp_cv_func_sinhl_use=no
10395 fi
10396 rm -f conftest*
10397     ac_ext=c
10398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10399 ac_cpp='$CPP $CPPFLAGS'
10400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10402 cross_compiling=$ac_cv_prog_cc_cross
10403
10404   
10405 fi
10406
10407   echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10408   if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10409     for ac_func in sinhl
10410 do
10411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10412 echo "configure:10413: checking for $ac_func" >&5
10413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10414   echo $ac_n "(cached) $ac_c" 1>&6
10415 else
10416   cat > conftest.$ac_ext <<EOF
10417 #line 10418 "configure"
10418 #include "confdefs.h"
10419 /* System header to define __stub macros and hopefully few prototypes,
10420     which can conflict with char $ac_func(); below.  */
10421 #include <assert.h>
10422 /* Override any gcc2 internal prototype to avoid an error.  */
10423 /* We use char because int might match the return type of a gcc2
10424     builtin and then its argument prototype would still apply.  */
10425 char $ac_func();
10426
10427 int main() {
10428
10429 /* The GNU C library defines this for functions which it implements
10430     to always fail with ENOSYS.  Some functions are actually named
10431     something starting with __ and the normal name is an alias.  */
10432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10433 choke me
10434 #else
10435 $ac_func();
10436 #endif
10437
10438 ; return 0; }
10439 EOF
10440 if { (eval echo configure:10441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10441   rm -rf conftest*
10442   eval "ac_cv_func_$ac_func=yes"
10443 else
10444   echo "configure: failed program was:" >&5
10445   cat conftest.$ac_ext >&5
10446   rm -rf conftest*
10447   eval "ac_cv_func_$ac_func=no"
10448 fi
10449 rm -f conftest*
10450 fi
10451
10452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10453   echo "$ac_t""yes" 1>&6
10454     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10455   cat >> confdefs.h <<EOF
10456 #define $ac_tr_func 1
10457 EOF
10458  
10459 else
10460   echo "$ac_t""no" 1>&6
10461 fi
10462 done
10463     
10464   fi
10465
10466   
10467   echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10468 echo "configure:10469: checking for sqrtl declaration" >&5
10469   if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10470   echo $ac_n "(cached) $ac_c" 1>&6
10471 else
10472   
10473     
10474     ac_ext=C
10475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10476 ac_cpp='$CXXCPP $CPPFLAGS'
10477 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10478 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10479 cross_compiling=$ac_cv_prog_cxx_cross
10480
10481     cat > conftest.$ac_ext <<EOF
10482 #line 10483 "configure"
10483 #include "confdefs.h"
10484 #include <math.h>
10485 int main() {
10486  sqrtl(0);
10487 ; return 0; }
10488 EOF
10489 if { (eval echo configure:10490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10490   rm -rf conftest*
10491   glibcpp_cv_func_sqrtl_use=yes
10492 else
10493   echo "configure: failed program was:" >&5
10494   cat conftest.$ac_ext >&5
10495   rm -rf conftest*
10496   glibcpp_cv_func_sqrtl_use=no
10497 fi
10498 rm -f conftest*
10499     ac_ext=c
10500 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10501 ac_cpp='$CPP $CPPFLAGS'
10502 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10503 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10504 cross_compiling=$ac_cv_prog_cc_cross
10505
10506   
10507 fi
10508
10509   echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10510   if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10511     for ac_func in sqrtl
10512 do
10513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10514 echo "configure:10515: checking for $ac_func" >&5
10515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10516   echo $ac_n "(cached) $ac_c" 1>&6
10517 else
10518   cat > conftest.$ac_ext <<EOF
10519 #line 10520 "configure"
10520 #include "confdefs.h"
10521 /* System header to define __stub macros and hopefully few prototypes,
10522     which can conflict with char $ac_func(); below.  */
10523 #include <assert.h>
10524 /* Override any gcc2 internal prototype to avoid an error.  */
10525 /* We use char because int might match the return type of a gcc2
10526     builtin and then its argument prototype would still apply.  */
10527 char $ac_func();
10528
10529 int main() {
10530
10531 /* The GNU C library defines this for functions which it implements
10532     to always fail with ENOSYS.  Some functions are actually named
10533     something starting with __ and the normal name is an alias.  */
10534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10535 choke me
10536 #else
10537 $ac_func();
10538 #endif
10539
10540 ; return 0; }
10541 EOF
10542 if { (eval echo configure:10543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10543   rm -rf conftest*
10544   eval "ac_cv_func_$ac_func=yes"
10545 else
10546   echo "configure: failed program was:" >&5
10547   cat conftest.$ac_ext >&5
10548   rm -rf conftest*
10549   eval "ac_cv_func_$ac_func=no"
10550 fi
10551 rm -f conftest*
10552 fi
10553
10554 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10555   echo "$ac_t""yes" 1>&6
10556     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10557   cat >> confdefs.h <<EOF
10558 #define $ac_tr_func 1
10559 EOF
10560  
10561 else
10562   echo "$ac_t""no" 1>&6
10563 fi
10564 done
10565     
10566   fi
10567
10568   
10569   echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10570 echo "configure:10571: checking for tanl declaration" >&5
10571   if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10572   echo $ac_n "(cached) $ac_c" 1>&6
10573 else
10574   
10575     
10576     ac_ext=C
10577 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10578 ac_cpp='$CXXCPP $CPPFLAGS'
10579 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10580 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10581 cross_compiling=$ac_cv_prog_cxx_cross
10582
10583     cat > conftest.$ac_ext <<EOF
10584 #line 10585 "configure"
10585 #include "confdefs.h"
10586 #include <math.h>
10587 int main() {
10588  tanl(0);
10589 ; return 0; }
10590 EOF
10591 if { (eval echo configure:10592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10592   rm -rf conftest*
10593   glibcpp_cv_func_tanl_use=yes
10594 else
10595   echo "configure: failed program was:" >&5
10596   cat conftest.$ac_ext >&5
10597   rm -rf conftest*
10598   glibcpp_cv_func_tanl_use=no
10599 fi
10600 rm -f conftest*
10601     ac_ext=c
10602 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10603 ac_cpp='$CPP $CPPFLAGS'
10604 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10605 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10606 cross_compiling=$ac_cv_prog_cc_cross
10607
10608   
10609 fi
10610
10611   echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10612   if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10613     for ac_func in tanl
10614 do
10615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10616 echo "configure:10617: checking for $ac_func" >&5
10617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10618   echo $ac_n "(cached) $ac_c" 1>&6
10619 else
10620   cat > conftest.$ac_ext <<EOF
10621 #line 10622 "configure"
10622 #include "confdefs.h"
10623 /* System header to define __stub macros and hopefully few prototypes,
10624     which can conflict with char $ac_func(); below.  */
10625 #include <assert.h>
10626 /* Override any gcc2 internal prototype to avoid an error.  */
10627 /* We use char because int might match the return type of a gcc2
10628     builtin and then its argument prototype would still apply.  */
10629 char $ac_func();
10630
10631 int main() {
10632
10633 /* The GNU C library defines this for functions which it implements
10634     to always fail with ENOSYS.  Some functions are actually named
10635     something starting with __ and the normal name is an alias.  */
10636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10637 choke me
10638 #else
10639 $ac_func();
10640 #endif
10641
10642 ; return 0; }
10643 EOF
10644 if { (eval echo configure:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10645   rm -rf conftest*
10646   eval "ac_cv_func_$ac_func=yes"
10647 else
10648   echo "configure: failed program was:" >&5
10649   cat conftest.$ac_ext >&5
10650   rm -rf conftest*
10651   eval "ac_cv_func_$ac_func=no"
10652 fi
10653 rm -f conftest*
10654 fi
10655
10656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10657   echo "$ac_t""yes" 1>&6
10658     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10659   cat >> confdefs.h <<EOF
10660 #define $ac_tr_func 1
10661 EOF
10662  
10663 else
10664   echo "$ac_t""no" 1>&6
10665 fi
10666 done
10667     
10668   fi
10669
10670   
10671   echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10672 echo "configure:10673: checking for tanhl declaration" >&5
10673   if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10674   echo $ac_n "(cached) $ac_c" 1>&6
10675 else
10676   
10677     
10678     ac_ext=C
10679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10680 ac_cpp='$CXXCPP $CPPFLAGS'
10681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10683 cross_compiling=$ac_cv_prog_cxx_cross
10684
10685     cat > conftest.$ac_ext <<EOF
10686 #line 10687 "configure"
10687 #include "confdefs.h"
10688 #include <math.h>
10689 int main() {
10690  tanhl(0);
10691 ; return 0; }
10692 EOF
10693 if { (eval echo configure:10694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10694   rm -rf conftest*
10695   glibcpp_cv_func_tanhl_use=yes
10696 else
10697   echo "configure: failed program was:" >&5
10698   cat conftest.$ac_ext >&5
10699   rm -rf conftest*
10700   glibcpp_cv_func_tanhl_use=no
10701 fi
10702 rm -f conftest*
10703     ac_ext=c
10704 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10705 ac_cpp='$CPP $CPPFLAGS'
10706 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10707 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10708 cross_compiling=$ac_cv_prog_cc_cross
10709
10710   
10711 fi
10712
10713   echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10714   if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10715     for ac_func in tanhl
10716 do
10717 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10718 echo "configure:10719: checking for $ac_func" >&5
10719 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10720   echo $ac_n "(cached) $ac_c" 1>&6
10721 else
10722   cat > conftest.$ac_ext <<EOF
10723 #line 10724 "configure"
10724 #include "confdefs.h"
10725 /* System header to define __stub macros and hopefully few prototypes,
10726     which can conflict with char $ac_func(); below.  */
10727 #include <assert.h>
10728 /* Override any gcc2 internal prototype to avoid an error.  */
10729 /* We use char because int might match the return type of a gcc2
10730     builtin and then its argument prototype would still apply.  */
10731 char $ac_func();
10732
10733 int main() {
10734
10735 /* The GNU C library defines this for functions which it implements
10736     to always fail with ENOSYS.  Some functions are actually named
10737     something starting with __ and the normal name is an alias.  */
10738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10739 choke me
10740 #else
10741 $ac_func();
10742 #endif
10743
10744 ; return 0; }
10745 EOF
10746 if { (eval echo configure:10747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10747   rm -rf conftest*
10748   eval "ac_cv_func_$ac_func=yes"
10749 else
10750   echo "configure: failed program was:" >&5
10751   cat conftest.$ac_ext >&5
10752   rm -rf conftest*
10753   eval "ac_cv_func_$ac_func=no"
10754 fi
10755 rm -f conftest*
10756 fi
10757
10758 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10759   echo "$ac_t""yes" 1>&6
10760     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10761   cat >> confdefs.h <<EOF
10762 #define $ac_tr_func 1
10763 EOF
10764  
10765 else
10766   echo "$ac_t""no" 1>&6
10767 fi
10768 done
10769     
10770   fi
10771
10772   
10773   echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10774 echo "configure:10775: checking for sincosl declaration" >&5
10775   if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10776   echo $ac_n "(cached) $ac_c" 1>&6
10777 else
10778   
10779     
10780     ac_ext=C
10781 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10782 ac_cpp='$CXXCPP $CPPFLAGS'
10783 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10784 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10785 cross_compiling=$ac_cv_prog_cxx_cross
10786
10787     cat > conftest.$ac_ext <<EOF
10788 #line 10789 "configure"
10789 #include "confdefs.h"
10790 #include <math.h>
10791 int main() {
10792  sincosl(0, 0, 0);
10793 ; return 0; }
10794 EOF
10795 if { (eval echo configure:10796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10796   rm -rf conftest*
10797   glibcpp_cv_func_sincosl_use=yes
10798 else
10799   echo "configure: failed program was:" >&5
10800   cat conftest.$ac_ext >&5
10801   rm -rf conftest*
10802   glibcpp_cv_func_sincosl_use=no
10803 fi
10804 rm -f conftest*
10805     ac_ext=c
10806 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10807 ac_cpp='$CPP $CPPFLAGS'
10808 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10809 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10810 cross_compiling=$ac_cv_prog_cc_cross
10811
10812   
10813 fi
10814
10815   echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10816   if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10817     for ac_func in sincosl
10818 do
10819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10820 echo "configure:10821: checking for $ac_func" >&5
10821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10822   echo $ac_n "(cached) $ac_c" 1>&6
10823 else
10824   cat > conftest.$ac_ext <<EOF
10825 #line 10826 "configure"
10826 #include "confdefs.h"
10827 /* System header to define __stub macros and hopefully few prototypes,
10828     which can conflict with char $ac_func(); below.  */
10829 #include <assert.h>
10830 /* Override any gcc2 internal prototype to avoid an error.  */
10831 /* We use char because int might match the return type of a gcc2
10832     builtin and then its argument prototype would still apply.  */
10833 char $ac_func();
10834
10835 int main() {
10836
10837 /* The GNU C library defines this for functions which it implements
10838     to always fail with ENOSYS.  Some functions are actually named
10839     something starting with __ and the normal name is an alias.  */
10840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10841 choke me
10842 #else
10843 $ac_func();
10844 #endif
10845
10846 ; return 0; }
10847 EOF
10848 if { (eval echo configure:10849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10849   rm -rf conftest*
10850   eval "ac_cv_func_$ac_func=yes"
10851 else
10852   echo "configure: failed program was:" >&5
10853   cat conftest.$ac_ext >&5
10854   rm -rf conftest*
10855   eval "ac_cv_func_$ac_func=no"
10856 fi
10857 rm -f conftest*
10858 fi
10859
10860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10861   echo "$ac_t""yes" 1>&6
10862     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10863   cat >> confdefs.h <<EOF
10864 #define $ac_tr_func 1
10865 EOF
10866  
10867 else
10868   echo "$ac_t""no" 1>&6
10869 fi
10870 done
10871     
10872   fi
10873
10874   
10875   echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
10876 echo "configure:10877: checking for finitel declaration" >&5
10877   if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
10878   echo $ac_n "(cached) $ac_c" 1>&6
10879 else
10880   
10881     
10882     ac_ext=C
10883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10884 ac_cpp='$CXXCPP $CPPFLAGS'
10885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10887 cross_compiling=$ac_cv_prog_cxx_cross
10888
10889     cat > conftest.$ac_ext <<EOF
10890 #line 10891 "configure"
10891 #include "confdefs.h"
10892 #include <math.h>
10893 int main() {
10894  finitel(0);
10895 ; return 0; }
10896 EOF
10897 if { (eval echo configure:10898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10898   rm -rf conftest*
10899   glibcpp_cv_func_finitel_use=yes
10900 else
10901   echo "configure: failed program was:" >&5
10902   cat conftest.$ac_ext >&5
10903   rm -rf conftest*
10904   glibcpp_cv_func_finitel_use=no
10905 fi
10906 rm -f conftest*
10907     ac_ext=c
10908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10909 ac_cpp='$CPP $CPPFLAGS'
10910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10912 cross_compiling=$ac_cv_prog_cc_cross
10913
10914   
10915 fi
10916
10917   echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10918   if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10919     for ac_func in finitel
10920 do
10921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10922 echo "configure:10923: checking for $ac_func" >&5
10923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10924   echo $ac_n "(cached) $ac_c" 1>&6
10925 else
10926   cat > conftest.$ac_ext <<EOF
10927 #line 10928 "configure"
10928 #include "confdefs.h"
10929 /* System header to define __stub macros and hopefully few prototypes,
10930     which can conflict with char $ac_func(); below.  */
10931 #include <assert.h>
10932 /* Override any gcc2 internal prototype to avoid an error.  */
10933 /* We use char because int might match the return type of a gcc2
10934     builtin and then its argument prototype would still apply.  */
10935 char $ac_func();
10936
10937 int main() {
10938
10939 /* The GNU C library defines this for functions which it implements
10940     to always fail with ENOSYS.  Some functions are actually named
10941     something starting with __ and the normal name is an alias.  */
10942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10943 choke me
10944 #else
10945 $ac_func();
10946 #endif
10947
10948 ; return 0; }
10949 EOF
10950 if { (eval echo configure:10951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10951   rm -rf conftest*
10952   eval "ac_cv_func_$ac_func=yes"
10953 else
10954   echo "configure: failed program was:" >&5
10955   cat conftest.$ac_ext >&5
10956   rm -rf conftest*
10957   eval "ac_cv_func_$ac_func=no"
10958 fi
10959 rm -f conftest*
10960 fi
10961
10962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10963   echo "$ac_t""yes" 1>&6
10964     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10965   cat >> confdefs.h <<EOF
10966 #define $ac_tr_func 1
10967 EOF
10968  
10969 else
10970   echo "$ac_t""no" 1>&6
10971 fi
10972 done
10973     
10974   fi
10975
10976
10977           
10978   echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10979 echo "configure:10980: checking for _isinf declaration" >&5
10980   if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10981   echo $ac_n "(cached) $ac_c" 1>&6
10982 else
10983   
10984     
10985     ac_ext=C
10986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10987 ac_cpp='$CXXCPP $CPPFLAGS'
10988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10990 cross_compiling=$ac_cv_prog_cxx_cross
10991
10992     cat > conftest.$ac_ext <<EOF
10993 #line 10994 "configure"
10994 #include "confdefs.h"
10995 #include <math.h>
10996 int main() {
10997  _isinf(0);
10998 ; return 0; }
10999 EOF
11000 if { (eval echo configure:11001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11001   rm -rf conftest*
11002   glibcpp_cv_func__isinf_use=yes
11003 else
11004   echo "configure: failed program was:" >&5
11005   cat conftest.$ac_ext >&5
11006   rm -rf conftest*
11007   glibcpp_cv_func__isinf_use=no
11008 fi
11009 rm -f conftest*
11010     ac_ext=c
11011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11012 ac_cpp='$CPP $CPPFLAGS'
11013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11015 cross_compiling=$ac_cv_prog_cc_cross
11016
11017   
11018 fi
11019
11020   echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11021   if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11022     for ac_func in _isinf
11023 do
11024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11025 echo "configure:11026: checking for $ac_func" >&5
11026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11027   echo $ac_n "(cached) $ac_c" 1>&6
11028 else
11029   cat > conftest.$ac_ext <<EOF
11030 #line 11031 "configure"
11031 #include "confdefs.h"
11032 /* System header to define __stub macros and hopefully few prototypes,
11033     which can conflict with char $ac_func(); below.  */
11034 #include <assert.h>
11035 /* Override any gcc2 internal prototype to avoid an error.  */
11036 /* We use char because int might match the return type of a gcc2
11037     builtin and then its argument prototype would still apply.  */
11038 char $ac_func();
11039
11040 int main() {
11041
11042 /* The GNU C library defines this for functions which it implements
11043     to always fail with ENOSYS.  Some functions are actually named
11044     something starting with __ and the normal name is an alias.  */
11045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11046 choke me
11047 #else
11048 $ac_func();
11049 #endif
11050
11051 ; return 0; }
11052 EOF
11053 if { (eval echo configure:11054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11054   rm -rf conftest*
11055   eval "ac_cv_func_$ac_func=yes"
11056 else
11057   echo "configure: failed program was:" >&5
11058   cat conftest.$ac_ext >&5
11059   rm -rf conftest*
11060   eval "ac_cv_func_$ac_func=no"
11061 fi
11062 rm -f conftest*
11063 fi
11064
11065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11066   echo "$ac_t""yes" 1>&6
11067     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11068   cat >> confdefs.h <<EOF
11069 #define $ac_tr_func 1
11070 EOF
11071  
11072 else
11073   echo "$ac_t""no" 1>&6
11074 fi
11075 done
11076     
11077   fi
11078
11079   
11080   echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11081 echo "configure:11082: checking for _isnan declaration" >&5
11082   if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11083   echo $ac_n "(cached) $ac_c" 1>&6
11084 else
11085   
11086     
11087     ac_ext=C
11088 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11089 ac_cpp='$CXXCPP $CPPFLAGS'
11090 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11091 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11092 cross_compiling=$ac_cv_prog_cxx_cross
11093
11094     cat > conftest.$ac_ext <<EOF
11095 #line 11096 "configure"
11096 #include "confdefs.h"
11097 #include <math.h>
11098 int main() {
11099  _isnan(0);
11100 ; return 0; }
11101 EOF
11102 if { (eval echo configure:11103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11103   rm -rf conftest*
11104   glibcpp_cv_func__isnan_use=yes
11105 else
11106   echo "configure: failed program was:" >&5
11107   cat conftest.$ac_ext >&5
11108   rm -rf conftest*
11109   glibcpp_cv_func__isnan_use=no
11110 fi
11111 rm -f conftest*
11112     ac_ext=c
11113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11114 ac_cpp='$CPP $CPPFLAGS'
11115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11117 cross_compiling=$ac_cv_prog_cc_cross
11118
11119   
11120 fi
11121
11122   echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11123   if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11124     for ac_func in _isnan
11125 do
11126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11127 echo "configure:11128: checking for $ac_func" >&5
11128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11129   echo $ac_n "(cached) $ac_c" 1>&6
11130 else
11131   cat > conftest.$ac_ext <<EOF
11132 #line 11133 "configure"
11133 #include "confdefs.h"
11134 /* System header to define __stub macros and hopefully few prototypes,
11135     which can conflict with char $ac_func(); below.  */
11136 #include <assert.h>
11137 /* Override any gcc2 internal prototype to avoid an error.  */
11138 /* We use char because int might match the return type of a gcc2
11139     builtin and then its argument prototype would still apply.  */
11140 char $ac_func();
11141
11142 int main() {
11143
11144 /* The GNU C library defines this for functions which it implements
11145     to always fail with ENOSYS.  Some functions are actually named
11146     something starting with __ and the normal name is an alias.  */
11147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11148 choke me
11149 #else
11150 $ac_func();
11151 #endif
11152
11153 ; return 0; }
11154 EOF
11155 if { (eval echo configure:11156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11156   rm -rf conftest*
11157   eval "ac_cv_func_$ac_func=yes"
11158 else
11159   echo "configure: failed program was:" >&5
11160   cat conftest.$ac_ext >&5
11161   rm -rf conftest*
11162   eval "ac_cv_func_$ac_func=no"
11163 fi
11164 rm -f conftest*
11165 fi
11166
11167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11168   echo "$ac_t""yes" 1>&6
11169     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11170   cat >> confdefs.h <<EOF
11171 #define $ac_tr_func 1
11172 EOF
11173  
11174 else
11175   echo "$ac_t""no" 1>&6
11176 fi
11177 done
11178     
11179   fi
11180
11181   
11182   echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11183 echo "configure:11184: checking for _finite declaration" >&5
11184   if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11185   echo $ac_n "(cached) $ac_c" 1>&6
11186 else
11187   
11188     
11189     ac_ext=C
11190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11191 ac_cpp='$CXXCPP $CPPFLAGS'
11192 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11193 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11194 cross_compiling=$ac_cv_prog_cxx_cross
11195
11196     cat > conftest.$ac_ext <<EOF
11197 #line 11198 "configure"
11198 #include "confdefs.h"
11199 #include <math.h>
11200 int main() {
11201  _finite(0);
11202 ; return 0; }
11203 EOF
11204 if { (eval echo configure:11205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11205   rm -rf conftest*
11206   glibcpp_cv_func__finite_use=yes
11207 else
11208   echo "configure: failed program was:" >&5
11209   cat conftest.$ac_ext >&5
11210   rm -rf conftest*
11211   glibcpp_cv_func__finite_use=no
11212 fi
11213 rm -f conftest*
11214     ac_ext=c
11215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11216 ac_cpp='$CPP $CPPFLAGS'
11217 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11218 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11219 cross_compiling=$ac_cv_prog_cc_cross
11220
11221   
11222 fi
11223
11224   echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11225   if test x$glibcpp_cv_func__finite_use = x"yes"; then
11226     for ac_func in _finite
11227 do
11228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11229 echo "configure:11230: checking for $ac_func" >&5
11230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11231   echo $ac_n "(cached) $ac_c" 1>&6
11232 else
11233   cat > conftest.$ac_ext <<EOF
11234 #line 11235 "configure"
11235 #include "confdefs.h"
11236 /* System header to define __stub macros and hopefully few prototypes,
11237     which can conflict with char $ac_func(); below.  */
11238 #include <assert.h>
11239 /* Override any gcc2 internal prototype to avoid an error.  */
11240 /* We use char because int might match the return type of a gcc2
11241     builtin and then its argument prototype would still apply.  */
11242 char $ac_func();
11243
11244 int main() {
11245
11246 /* The GNU C library defines this for functions which it implements
11247     to always fail with ENOSYS.  Some functions are actually named
11248     something starting with __ and the normal name is an alias.  */
11249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11250 choke me
11251 #else
11252 $ac_func();
11253 #endif
11254
11255 ; return 0; }
11256 EOF
11257 if { (eval echo configure:11258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11258   rm -rf conftest*
11259   eval "ac_cv_func_$ac_func=yes"
11260 else
11261   echo "configure: failed program was:" >&5
11262   cat conftest.$ac_ext >&5
11263   rm -rf conftest*
11264   eval "ac_cv_func_$ac_func=no"
11265 fi
11266 rm -f conftest*
11267 fi
11268
11269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11270   echo "$ac_t""yes" 1>&6
11271     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11272   cat >> confdefs.h <<EOF
11273 #define $ac_tr_func 1
11274 EOF
11275  
11276 else
11277   echo "$ac_t""no" 1>&6
11278 fi
11279 done
11280     
11281   fi
11282
11283   
11284   echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11285 echo "configure:11286: checking for _copysign declaration" >&5
11286   if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11287   echo $ac_n "(cached) $ac_c" 1>&6
11288 else
11289   
11290     
11291     ac_ext=C
11292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11293 ac_cpp='$CXXCPP $CPPFLAGS'
11294 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11295 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11296 cross_compiling=$ac_cv_prog_cxx_cross
11297
11298     cat > conftest.$ac_ext <<EOF
11299 #line 11300 "configure"
11300 #include "confdefs.h"
11301 #include <math.h>
11302 int main() {
11303  _copysign(0, 0);
11304 ; return 0; }
11305 EOF
11306 if { (eval echo configure:11307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11307   rm -rf conftest*
11308   glibcpp_cv_func__copysign_use=yes
11309 else
11310   echo "configure: failed program was:" >&5
11311   cat conftest.$ac_ext >&5
11312   rm -rf conftest*
11313   glibcpp_cv_func__copysign_use=no
11314 fi
11315 rm -f conftest*
11316     ac_ext=c
11317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11318 ac_cpp='$CPP $CPPFLAGS'
11319 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11320 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11321 cross_compiling=$ac_cv_prog_cc_cross
11322
11323   
11324 fi
11325
11326   echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11327   if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11328     for ac_func in _copysign
11329 do
11330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11331 echo "configure:11332: checking for $ac_func" >&5
11332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11333   echo $ac_n "(cached) $ac_c" 1>&6
11334 else
11335   cat > conftest.$ac_ext <<EOF
11336 #line 11337 "configure"
11337 #include "confdefs.h"
11338 /* System header to define __stub macros and hopefully few prototypes,
11339     which can conflict with char $ac_func(); below.  */
11340 #include <assert.h>
11341 /* Override any gcc2 internal prototype to avoid an error.  */
11342 /* We use char because int might match the return type of a gcc2
11343     builtin and then its argument prototype would still apply.  */
11344 char $ac_func();
11345
11346 int main() {
11347
11348 /* The GNU C library defines this for functions which it implements
11349     to always fail with ENOSYS.  Some functions are actually named
11350     something starting with __ and the normal name is an alias.  */
11351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11352 choke me
11353 #else
11354 $ac_func();
11355 #endif
11356
11357 ; return 0; }
11358 EOF
11359 if { (eval echo configure:11360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11360   rm -rf conftest*
11361   eval "ac_cv_func_$ac_func=yes"
11362 else
11363   echo "configure: failed program was:" >&5
11364   cat conftest.$ac_ext >&5
11365   rm -rf conftest*
11366   eval "ac_cv_func_$ac_func=no"
11367 fi
11368 rm -f conftest*
11369 fi
11370
11371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11372   echo "$ac_t""yes" 1>&6
11373     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11374   cat >> confdefs.h <<EOF
11375 #define $ac_tr_func 1
11376 EOF
11377  
11378 else
11379   echo "$ac_t""no" 1>&6
11380 fi
11381 done
11382     
11383   fi
11384
11385   
11386   echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11387 echo "configure:11388: checking for _sincos declaration" >&5
11388   if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11389   echo $ac_n "(cached) $ac_c" 1>&6
11390 else
11391   
11392     
11393     ac_ext=C
11394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11395 ac_cpp='$CXXCPP $CPPFLAGS'
11396 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11397 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11398 cross_compiling=$ac_cv_prog_cxx_cross
11399
11400     cat > conftest.$ac_ext <<EOF
11401 #line 11402 "configure"
11402 #include "confdefs.h"
11403 #include <math.h>
11404 int main() {
11405  _sincos(0, 0, 0);
11406 ; return 0; }
11407 EOF
11408 if { (eval echo configure:11409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11409   rm -rf conftest*
11410   glibcpp_cv_func__sincos_use=yes
11411 else
11412   echo "configure: failed program was:" >&5
11413   cat conftest.$ac_ext >&5
11414   rm -rf conftest*
11415   glibcpp_cv_func__sincos_use=no
11416 fi
11417 rm -f conftest*
11418     ac_ext=c
11419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11420 ac_cpp='$CPP $CPPFLAGS'
11421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11423 cross_compiling=$ac_cv_prog_cc_cross
11424
11425   
11426 fi
11427
11428   echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11429   if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11430     for ac_func in _sincos
11431 do
11432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11433 echo "configure:11434: checking for $ac_func" >&5
11434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11435   echo $ac_n "(cached) $ac_c" 1>&6
11436 else
11437   cat > conftest.$ac_ext <<EOF
11438 #line 11439 "configure"
11439 #include "confdefs.h"
11440 /* System header to define __stub macros and hopefully few prototypes,
11441     which can conflict with char $ac_func(); below.  */
11442 #include <assert.h>
11443 /* Override any gcc2 internal prototype to avoid an error.  */
11444 /* We use char because int might match the return type of a gcc2
11445     builtin and then its argument prototype would still apply.  */
11446 char $ac_func();
11447
11448 int main() {
11449
11450 /* The GNU C library defines this for functions which it implements
11451     to always fail with ENOSYS.  Some functions are actually named
11452     something starting with __ and the normal name is an alias.  */
11453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11454 choke me
11455 #else
11456 $ac_func();
11457 #endif
11458
11459 ; return 0; }
11460 EOF
11461 if { (eval echo configure:11462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11462   rm -rf conftest*
11463   eval "ac_cv_func_$ac_func=yes"
11464 else
11465   echo "configure: failed program was:" >&5
11466   cat conftest.$ac_ext >&5
11467   rm -rf conftest*
11468   eval "ac_cv_func_$ac_func=no"
11469 fi
11470 rm -f conftest*
11471 fi
11472
11473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11474   echo "$ac_t""yes" 1>&6
11475     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11476   cat >> confdefs.h <<EOF
11477 #define $ac_tr_func 1
11478 EOF
11479  
11480 else
11481   echo "$ac_t""no" 1>&6
11482 fi
11483 done
11484     
11485   fi
11486
11487   
11488   echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11489 echo "configure:11490: checking for _fpclass declaration" >&5
11490   if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11491   echo $ac_n "(cached) $ac_c" 1>&6
11492 else
11493   
11494     
11495     ac_ext=C
11496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11497 ac_cpp='$CXXCPP $CPPFLAGS'
11498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11500 cross_compiling=$ac_cv_prog_cxx_cross
11501
11502     cat > conftest.$ac_ext <<EOF
11503 #line 11504 "configure"
11504 #include "confdefs.h"
11505 #include <math.h>
11506 int main() {
11507  _fpclass(0);
11508 ; return 0; }
11509 EOF
11510 if { (eval echo configure:11511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11511   rm -rf conftest*
11512   glibcpp_cv_func__fpclass_use=yes
11513 else
11514   echo "configure: failed program was:" >&5
11515   cat conftest.$ac_ext >&5
11516   rm -rf conftest*
11517   glibcpp_cv_func__fpclass_use=no
11518 fi
11519 rm -f conftest*
11520     ac_ext=c
11521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11522 ac_cpp='$CPP $CPPFLAGS'
11523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11525 cross_compiling=$ac_cv_prog_cc_cross
11526
11527   
11528 fi
11529
11530   echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11531   if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11532     for ac_func in _fpclass
11533 do
11534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11535 echo "configure:11536: checking for $ac_func" >&5
11536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11537   echo $ac_n "(cached) $ac_c" 1>&6
11538 else
11539   cat > conftest.$ac_ext <<EOF
11540 #line 11541 "configure"
11541 #include "confdefs.h"
11542 /* System header to define __stub macros and hopefully few prototypes,
11543     which can conflict with char $ac_func(); below.  */
11544 #include <assert.h>
11545 /* Override any gcc2 internal prototype to avoid an error.  */
11546 /* We use char because int might match the return type of a gcc2
11547     builtin and then its argument prototype would still apply.  */
11548 char $ac_func();
11549
11550 int main() {
11551
11552 /* The GNU C library defines this for functions which it implements
11553     to always fail with ENOSYS.  Some functions are actually named
11554     something starting with __ and the normal name is an alias.  */
11555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11556 choke me
11557 #else
11558 $ac_func();
11559 #endif
11560
11561 ; return 0; }
11562 EOF
11563 if { (eval echo configure:11564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11564   rm -rf conftest*
11565   eval "ac_cv_func_$ac_func=yes"
11566 else
11567   echo "configure: failed program was:" >&5
11568   cat conftest.$ac_ext >&5
11569   rm -rf conftest*
11570   eval "ac_cv_func_$ac_func=no"
11571 fi
11572 rm -f conftest*
11573 fi
11574
11575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11576   echo "$ac_t""yes" 1>&6
11577     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11578   cat >> confdefs.h <<EOF
11579 #define $ac_tr_func 1
11580 EOF
11581  
11582 else
11583   echo "$ac_t""no" 1>&6
11584 fi
11585 done
11586     
11587   fi
11588
11589   
11590   echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11591 echo "configure:11592: checking for _qfpclass declaration" >&5
11592   if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11593   echo $ac_n "(cached) $ac_c" 1>&6
11594 else
11595   
11596     
11597     ac_ext=C
11598 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11599 ac_cpp='$CXXCPP $CPPFLAGS'
11600 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11601 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11602 cross_compiling=$ac_cv_prog_cxx_cross
11603
11604     cat > conftest.$ac_ext <<EOF
11605 #line 11606 "configure"
11606 #include "confdefs.h"
11607 #include <math.h>
11608 int main() {
11609  _qfpclass(0);
11610 ; return 0; }
11611 EOF
11612 if { (eval echo configure:11613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11613   rm -rf conftest*
11614   glibcpp_cv_func__qfpclass_use=yes
11615 else
11616   echo "configure: failed program was:" >&5
11617   cat conftest.$ac_ext >&5
11618   rm -rf conftest*
11619   glibcpp_cv_func__qfpclass_use=no
11620 fi
11621 rm -f conftest*
11622     ac_ext=c
11623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11624 ac_cpp='$CPP $CPPFLAGS'
11625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11627 cross_compiling=$ac_cv_prog_cc_cross
11628
11629   
11630 fi
11631
11632   echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11633   if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11634     for ac_func in _qfpclass
11635 do
11636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11637 echo "configure:11638: checking for $ac_func" >&5
11638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11639   echo $ac_n "(cached) $ac_c" 1>&6
11640 else
11641   cat > conftest.$ac_ext <<EOF
11642 #line 11643 "configure"
11643 #include "confdefs.h"
11644 /* System header to define __stub macros and hopefully few prototypes,
11645     which can conflict with char $ac_func(); below.  */
11646 #include <assert.h>
11647 /* Override any gcc2 internal prototype to avoid an error.  */
11648 /* We use char because int might match the return type of a gcc2
11649     builtin and then its argument prototype would still apply.  */
11650 char $ac_func();
11651
11652 int main() {
11653
11654 /* The GNU C library defines this for functions which it implements
11655     to always fail with ENOSYS.  Some functions are actually named
11656     something starting with __ and the normal name is an alias.  */
11657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11658 choke me
11659 #else
11660 $ac_func();
11661 #endif
11662
11663 ; return 0; }
11664 EOF
11665 if { (eval echo configure:11666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11666   rm -rf conftest*
11667   eval "ac_cv_func_$ac_func=yes"
11668 else
11669   echo "configure: failed program was:" >&5
11670   cat conftest.$ac_ext >&5
11671   rm -rf conftest*
11672   eval "ac_cv_func_$ac_func=no"
11673 fi
11674 rm -f conftest*
11675 fi
11676
11677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11678   echo "$ac_t""yes" 1>&6
11679     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11680   cat >> confdefs.h <<EOF
11681 #define $ac_tr_func 1
11682 EOF
11683  
11684 else
11685   echo "$ac_t""no" 1>&6
11686 fi
11687 done
11688     
11689   fi
11690
11691
11692     
11693   echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11694 echo "configure:11695: checking for _isnanf declaration" >&5
11695   if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11696   echo $ac_n "(cached) $ac_c" 1>&6
11697 else
11698   
11699     
11700     ac_ext=C
11701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11702 ac_cpp='$CXXCPP $CPPFLAGS'
11703 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11704 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11705 cross_compiling=$ac_cv_prog_cxx_cross
11706
11707     cat > conftest.$ac_ext <<EOF
11708 #line 11709 "configure"
11709 #include "confdefs.h"
11710 #include <math.h>
11711 int main() {
11712  _isnanf(0);
11713 ; return 0; }
11714 EOF
11715 if { (eval echo configure:11716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11716   rm -rf conftest*
11717   glibcpp_cv_func__isnanf_use=yes
11718 else
11719   echo "configure: failed program was:" >&5
11720   cat conftest.$ac_ext >&5
11721   rm -rf conftest*
11722   glibcpp_cv_func__isnanf_use=no
11723 fi
11724 rm -f conftest*
11725     ac_ext=c
11726 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11727 ac_cpp='$CPP $CPPFLAGS'
11728 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11729 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11730 cross_compiling=$ac_cv_prog_cc_cross
11731
11732   
11733 fi
11734
11735   echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11736   if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11737     for ac_func in _isnanf
11738 do
11739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11740 echo "configure:11741: checking for $ac_func" >&5
11741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11742   echo $ac_n "(cached) $ac_c" 1>&6
11743 else
11744   cat > conftest.$ac_ext <<EOF
11745 #line 11746 "configure"
11746 #include "confdefs.h"
11747 /* System header to define __stub macros and hopefully few prototypes,
11748     which can conflict with char $ac_func(); below.  */
11749 #include <assert.h>
11750 /* Override any gcc2 internal prototype to avoid an error.  */
11751 /* We use char because int might match the return type of a gcc2
11752     builtin and then its argument prototype would still apply.  */
11753 char $ac_func();
11754
11755 int main() {
11756
11757 /* The GNU C library defines this for functions which it implements
11758     to always fail with ENOSYS.  Some functions are actually named
11759     something starting with __ and the normal name is an alias.  */
11760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11761 choke me
11762 #else
11763 $ac_func();
11764 #endif
11765
11766 ; return 0; }
11767 EOF
11768 if { (eval echo configure:11769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11769   rm -rf conftest*
11770   eval "ac_cv_func_$ac_func=yes"
11771 else
11772   echo "configure: failed program was:" >&5
11773   cat conftest.$ac_ext >&5
11774   rm -rf conftest*
11775   eval "ac_cv_func_$ac_func=no"
11776 fi
11777 rm -f conftest*
11778 fi
11779
11780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11781   echo "$ac_t""yes" 1>&6
11782     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11783   cat >> confdefs.h <<EOF
11784 #define $ac_tr_func 1
11785 EOF
11786  
11787 else
11788   echo "$ac_t""no" 1>&6
11789 fi
11790 done
11791     
11792   fi
11793
11794   
11795   echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11796 echo "configure:11797: checking for _isinff declaration" >&5
11797   if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11798   echo $ac_n "(cached) $ac_c" 1>&6
11799 else
11800   
11801     
11802     ac_ext=C
11803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11804 ac_cpp='$CXXCPP $CPPFLAGS'
11805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11807 cross_compiling=$ac_cv_prog_cxx_cross
11808
11809     cat > conftest.$ac_ext <<EOF
11810 #line 11811 "configure"
11811 #include "confdefs.h"
11812 #include <math.h>
11813 int main() {
11814  _isinff(0);
11815 ; return 0; }
11816 EOF
11817 if { (eval echo configure:11818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11818   rm -rf conftest*
11819   glibcpp_cv_func__isinff_use=yes
11820 else
11821   echo "configure: failed program was:" >&5
11822   cat conftest.$ac_ext >&5
11823   rm -rf conftest*
11824   glibcpp_cv_func__isinff_use=no
11825 fi
11826 rm -f conftest*
11827     ac_ext=c
11828 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11829 ac_cpp='$CPP $CPPFLAGS'
11830 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11831 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11832 cross_compiling=$ac_cv_prog_cc_cross
11833
11834   
11835 fi
11836
11837   echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11838   if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11839     for ac_func in _isinff
11840 do
11841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11842 echo "configure:11843: checking for $ac_func" >&5
11843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11844   echo $ac_n "(cached) $ac_c" 1>&6
11845 else
11846   cat > conftest.$ac_ext <<EOF
11847 #line 11848 "configure"
11848 #include "confdefs.h"
11849 /* System header to define __stub macros and hopefully few prototypes,
11850     which can conflict with char $ac_func(); below.  */
11851 #include <assert.h>
11852 /* Override any gcc2 internal prototype to avoid an error.  */
11853 /* We use char because int might match the return type of a gcc2
11854     builtin and then its argument prototype would still apply.  */
11855 char $ac_func();
11856
11857 int main() {
11858
11859 /* The GNU C library defines this for functions which it implements
11860     to always fail with ENOSYS.  Some functions are actually named
11861     something starting with __ and the normal name is an alias.  */
11862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11863 choke me
11864 #else
11865 $ac_func();
11866 #endif
11867
11868 ; return 0; }
11869 EOF
11870 if { (eval echo configure:11871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11871   rm -rf conftest*
11872   eval "ac_cv_func_$ac_func=yes"
11873 else
11874   echo "configure: failed program was:" >&5
11875   cat conftest.$ac_ext >&5
11876   rm -rf conftest*
11877   eval "ac_cv_func_$ac_func=no"
11878 fi
11879 rm -f conftest*
11880 fi
11881
11882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11883   echo "$ac_t""yes" 1>&6
11884     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11885   cat >> confdefs.h <<EOF
11886 #define $ac_tr_func 1
11887 EOF
11888  
11889 else
11890   echo "$ac_t""no" 1>&6
11891 fi
11892 done
11893     
11894   fi
11895
11896   
11897   echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
11898 echo "configure:11899: checking for _acosf declaration" >&5
11899   if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
11900   echo $ac_n "(cached) $ac_c" 1>&6
11901 else
11902   
11903     
11904     ac_ext=C
11905 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11906 ac_cpp='$CXXCPP $CPPFLAGS'
11907 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11908 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11909 cross_compiling=$ac_cv_prog_cxx_cross
11910
11911     cat > conftest.$ac_ext <<EOF
11912 #line 11913 "configure"
11913 #include "confdefs.h"
11914 #include <math.h>
11915 int main() {
11916  _acosf(0);
11917 ; return 0; }
11918 EOF
11919 if { (eval echo configure:11920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11920   rm -rf conftest*
11921   glibcpp_cv_func__acosf_use=yes
11922 else
11923   echo "configure: failed program was:" >&5
11924   cat conftest.$ac_ext >&5
11925   rm -rf conftest*
11926   glibcpp_cv_func__acosf_use=no
11927 fi
11928 rm -f conftest*
11929     ac_ext=c
11930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11931 ac_cpp='$CPP $CPPFLAGS'
11932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11934 cross_compiling=$ac_cv_prog_cc_cross
11935
11936   
11937 fi
11938
11939   echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
11940   if test x$glibcpp_cv_func__acosf_use = x"yes"; then
11941     for ac_func in _acosf
11942 do
11943 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11944 echo "configure:11945: checking for $ac_func" >&5
11945 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11946   echo $ac_n "(cached) $ac_c" 1>&6
11947 else
11948   cat > conftest.$ac_ext <<EOF
11949 #line 11950 "configure"
11950 #include "confdefs.h"
11951 /* System header to define __stub macros and hopefully few prototypes,
11952     which can conflict with char $ac_func(); below.  */
11953 #include <assert.h>
11954 /* Override any gcc2 internal prototype to avoid an error.  */
11955 /* We use char because int might match the return type of a gcc2
11956     builtin and then its argument prototype would still apply.  */
11957 char $ac_func();
11958
11959 int main() {
11960
11961 /* The GNU C library defines this for functions which it implements
11962     to always fail with ENOSYS.  Some functions are actually named
11963     something starting with __ and the normal name is an alias.  */
11964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11965 choke me
11966 #else
11967 $ac_func();
11968 #endif
11969
11970 ; return 0; }
11971 EOF
11972 if { (eval echo configure:11973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11973   rm -rf conftest*
11974   eval "ac_cv_func_$ac_func=yes"
11975 else
11976   echo "configure: failed program was:" >&5
11977   cat conftest.$ac_ext >&5
11978   rm -rf conftest*
11979   eval "ac_cv_func_$ac_func=no"
11980 fi
11981 rm -f conftest*
11982 fi
11983
11984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11985   echo "$ac_t""yes" 1>&6
11986     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11987   cat >> confdefs.h <<EOF
11988 #define $ac_tr_func 1
11989 EOF
11990  
11991 else
11992   echo "$ac_t""no" 1>&6
11993 fi
11994 done
11995     
11996   fi
11997
11998   
11999   echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
12000 echo "configure:12001: checking for _asinf declaration" >&5
12001   if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
12002   echo $ac_n "(cached) $ac_c" 1>&6
12003 else
12004   
12005     
12006     ac_ext=C
12007 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12008 ac_cpp='$CXXCPP $CPPFLAGS'
12009 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12010 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12011 cross_compiling=$ac_cv_prog_cxx_cross
12012
12013     cat > conftest.$ac_ext <<EOF
12014 #line 12015 "configure"
12015 #include "confdefs.h"
12016 #include <math.h>
12017 int main() {
12018  _asinf(0);
12019 ; return 0; }
12020 EOF
12021 if { (eval echo configure:12022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12022   rm -rf conftest*
12023   glibcpp_cv_func__asinf_use=yes
12024 else
12025   echo "configure: failed program was:" >&5
12026   cat conftest.$ac_ext >&5
12027   rm -rf conftest*
12028   glibcpp_cv_func__asinf_use=no
12029 fi
12030 rm -f conftest*
12031     ac_ext=c
12032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12033 ac_cpp='$CPP $CPPFLAGS'
12034 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12035 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12036 cross_compiling=$ac_cv_prog_cc_cross
12037
12038   
12039 fi
12040
12041   echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
12042   if test x$glibcpp_cv_func__asinf_use = x"yes"; then
12043     for ac_func in _asinf
12044 do
12045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12046 echo "configure:12047: checking for $ac_func" >&5
12047 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12048   echo $ac_n "(cached) $ac_c" 1>&6
12049 else
12050   cat > conftest.$ac_ext <<EOF
12051 #line 12052 "configure"
12052 #include "confdefs.h"
12053 /* System header to define __stub macros and hopefully few prototypes,
12054     which can conflict with char $ac_func(); below.  */
12055 #include <assert.h>
12056 /* Override any gcc2 internal prototype to avoid an error.  */
12057 /* We use char because int might match the return type of a gcc2
12058     builtin and then its argument prototype would still apply.  */
12059 char $ac_func();
12060
12061 int main() {
12062
12063 /* The GNU C library defines this for functions which it implements
12064     to always fail with ENOSYS.  Some functions are actually named
12065     something starting with __ and the normal name is an alias.  */
12066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12067 choke me
12068 #else
12069 $ac_func();
12070 #endif
12071
12072 ; return 0; }
12073 EOF
12074 if { (eval echo configure:12075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12075   rm -rf conftest*
12076   eval "ac_cv_func_$ac_func=yes"
12077 else
12078   echo "configure: failed program was:" >&5
12079   cat conftest.$ac_ext >&5
12080   rm -rf conftest*
12081   eval "ac_cv_func_$ac_func=no"
12082 fi
12083 rm -f conftest*
12084 fi
12085
12086 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12087   echo "$ac_t""yes" 1>&6
12088     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12089   cat >> confdefs.h <<EOF
12090 #define $ac_tr_func 1
12091 EOF
12092  
12093 else
12094   echo "$ac_t""no" 1>&6
12095 fi
12096 done
12097     
12098   fi
12099
12100   
12101   echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
12102 echo "configure:12103: checking for _atanf declaration" >&5
12103   if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
12104   echo $ac_n "(cached) $ac_c" 1>&6
12105 else
12106   
12107     
12108     ac_ext=C
12109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12110 ac_cpp='$CXXCPP $CPPFLAGS'
12111 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12112 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12113 cross_compiling=$ac_cv_prog_cxx_cross
12114
12115     cat > conftest.$ac_ext <<EOF
12116 #line 12117 "configure"
12117 #include "confdefs.h"
12118 #include <math.h>
12119 int main() {
12120  _atanf(0);
12121 ; return 0; }
12122 EOF
12123 if { (eval echo configure:12124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12124   rm -rf conftest*
12125   glibcpp_cv_func__atanf_use=yes
12126 else
12127   echo "configure: failed program was:" >&5
12128   cat conftest.$ac_ext >&5
12129   rm -rf conftest*
12130   glibcpp_cv_func__atanf_use=no
12131 fi
12132 rm -f conftest*
12133     ac_ext=c
12134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12135 ac_cpp='$CPP $CPPFLAGS'
12136 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12137 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12138 cross_compiling=$ac_cv_prog_cc_cross
12139
12140   
12141 fi
12142
12143   echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12144   if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12145     for ac_func in _atanf
12146 do
12147 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12148 echo "configure:12149: checking for $ac_func" >&5
12149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12150   echo $ac_n "(cached) $ac_c" 1>&6
12151 else
12152   cat > conftest.$ac_ext <<EOF
12153 #line 12154 "configure"
12154 #include "confdefs.h"
12155 /* System header to define __stub macros and hopefully few prototypes,
12156     which can conflict with char $ac_func(); below.  */
12157 #include <assert.h>
12158 /* Override any gcc2 internal prototype to avoid an error.  */
12159 /* We use char because int might match the return type of a gcc2
12160     builtin and then its argument prototype would still apply.  */
12161 char $ac_func();
12162
12163 int main() {
12164
12165 /* The GNU C library defines this for functions which it implements
12166     to always fail with ENOSYS.  Some functions are actually named
12167     something starting with __ and the normal name is an alias.  */
12168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12169 choke me
12170 #else
12171 $ac_func();
12172 #endif
12173
12174 ; return 0; }
12175 EOF
12176 if { (eval echo configure:12177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12177   rm -rf conftest*
12178   eval "ac_cv_func_$ac_func=yes"
12179 else
12180   echo "configure: failed program was:" >&5
12181   cat conftest.$ac_ext >&5
12182   rm -rf conftest*
12183   eval "ac_cv_func_$ac_func=no"
12184 fi
12185 rm -f conftest*
12186 fi
12187
12188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12189   echo "$ac_t""yes" 1>&6
12190     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12191   cat >> confdefs.h <<EOF
12192 #define $ac_tr_func 1
12193 EOF
12194  
12195 else
12196   echo "$ac_t""no" 1>&6
12197 fi
12198 done
12199     
12200   fi
12201
12202   
12203   echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12204 echo "configure:12205: checking for _atan2f declaration" >&5
12205   if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12206   echo $ac_n "(cached) $ac_c" 1>&6
12207 else
12208   
12209     
12210     ac_ext=C
12211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12212 ac_cpp='$CXXCPP $CPPFLAGS'
12213 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12214 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12215 cross_compiling=$ac_cv_prog_cxx_cross
12216
12217     cat > conftest.$ac_ext <<EOF
12218 #line 12219 "configure"
12219 #include "confdefs.h"
12220 #include <math.h>
12221 int main() {
12222  _atan2f(0, 0);
12223 ; return 0; }
12224 EOF
12225 if { (eval echo configure:12226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12226   rm -rf conftest*
12227   glibcpp_cv_func__atan2f_use=yes
12228 else
12229   echo "configure: failed program was:" >&5
12230   cat conftest.$ac_ext >&5
12231   rm -rf conftest*
12232   glibcpp_cv_func__atan2f_use=no
12233 fi
12234 rm -f conftest*
12235     ac_ext=c
12236 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12237 ac_cpp='$CPP $CPPFLAGS'
12238 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12239 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12240 cross_compiling=$ac_cv_prog_cc_cross
12241
12242   
12243 fi
12244
12245   echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12246   if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12247     for ac_func in _atan2f
12248 do
12249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12250 echo "configure:12251: checking for $ac_func" >&5
12251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12252   echo $ac_n "(cached) $ac_c" 1>&6
12253 else
12254   cat > conftest.$ac_ext <<EOF
12255 #line 12256 "configure"
12256 #include "confdefs.h"
12257 /* System header to define __stub macros and hopefully few prototypes,
12258     which can conflict with char $ac_func(); below.  */
12259 #include <assert.h>
12260 /* Override any gcc2 internal prototype to avoid an error.  */
12261 /* We use char because int might match the return type of a gcc2
12262     builtin and then its argument prototype would still apply.  */
12263 char $ac_func();
12264
12265 int main() {
12266
12267 /* The GNU C library defines this for functions which it implements
12268     to always fail with ENOSYS.  Some functions are actually named
12269     something starting with __ and the normal name is an alias.  */
12270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12271 choke me
12272 #else
12273 $ac_func();
12274 #endif
12275
12276 ; return 0; }
12277 EOF
12278 if { (eval echo configure:12279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12279   rm -rf conftest*
12280   eval "ac_cv_func_$ac_func=yes"
12281 else
12282   echo "configure: failed program was:" >&5
12283   cat conftest.$ac_ext >&5
12284   rm -rf conftest*
12285   eval "ac_cv_func_$ac_func=no"
12286 fi
12287 rm -f conftest*
12288 fi
12289
12290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12291   echo "$ac_t""yes" 1>&6
12292     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12293   cat >> confdefs.h <<EOF
12294 #define $ac_tr_func 1
12295 EOF
12296  
12297 else
12298   echo "$ac_t""no" 1>&6
12299 fi
12300 done
12301     
12302   fi
12303
12304   
12305   echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12306 echo "configure:12307: checking for _ceilf declaration" >&5
12307   if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12308   echo $ac_n "(cached) $ac_c" 1>&6
12309 else
12310   
12311     
12312     ac_ext=C
12313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12314 ac_cpp='$CXXCPP $CPPFLAGS'
12315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12317 cross_compiling=$ac_cv_prog_cxx_cross
12318
12319     cat > conftest.$ac_ext <<EOF
12320 #line 12321 "configure"
12321 #include "confdefs.h"
12322 #include <math.h>
12323 int main() {
12324  _ceilf(0);
12325 ; return 0; }
12326 EOF
12327 if { (eval echo configure:12328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12328   rm -rf conftest*
12329   glibcpp_cv_func__ceilf_use=yes
12330 else
12331   echo "configure: failed program was:" >&5
12332   cat conftest.$ac_ext >&5
12333   rm -rf conftest*
12334   glibcpp_cv_func__ceilf_use=no
12335 fi
12336 rm -f conftest*
12337     ac_ext=c
12338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12339 ac_cpp='$CPP $CPPFLAGS'
12340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12342 cross_compiling=$ac_cv_prog_cc_cross
12343
12344   
12345 fi
12346
12347   echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12348   if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12349     for ac_func in _ceilf
12350 do
12351 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12352 echo "configure:12353: checking for $ac_func" >&5
12353 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12354   echo $ac_n "(cached) $ac_c" 1>&6
12355 else
12356   cat > conftest.$ac_ext <<EOF
12357 #line 12358 "configure"
12358 #include "confdefs.h"
12359 /* System header to define __stub macros and hopefully few prototypes,
12360     which can conflict with char $ac_func(); below.  */
12361 #include <assert.h>
12362 /* Override any gcc2 internal prototype to avoid an error.  */
12363 /* We use char because int might match the return type of a gcc2
12364     builtin and then its argument prototype would still apply.  */
12365 char $ac_func();
12366
12367 int main() {
12368
12369 /* The GNU C library defines this for functions which it implements
12370     to always fail with ENOSYS.  Some functions are actually named
12371     something starting with __ and the normal name is an alias.  */
12372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12373 choke me
12374 #else
12375 $ac_func();
12376 #endif
12377
12378 ; return 0; }
12379 EOF
12380 if { (eval echo configure:12381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12381   rm -rf conftest*
12382   eval "ac_cv_func_$ac_func=yes"
12383 else
12384   echo "configure: failed program was:" >&5
12385   cat conftest.$ac_ext >&5
12386   rm -rf conftest*
12387   eval "ac_cv_func_$ac_func=no"
12388 fi
12389 rm -f conftest*
12390 fi
12391
12392 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12393   echo "$ac_t""yes" 1>&6
12394     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12395   cat >> confdefs.h <<EOF
12396 #define $ac_tr_func 1
12397 EOF
12398  
12399 else
12400   echo "$ac_t""no" 1>&6
12401 fi
12402 done
12403     
12404   fi
12405
12406   
12407   echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12408 echo "configure:12409: checking for _cosf declaration" >&5
12409   if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12410   echo $ac_n "(cached) $ac_c" 1>&6
12411 else
12412   
12413     
12414     ac_ext=C
12415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12416 ac_cpp='$CXXCPP $CPPFLAGS'
12417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12419 cross_compiling=$ac_cv_prog_cxx_cross
12420
12421     cat > conftest.$ac_ext <<EOF
12422 #line 12423 "configure"
12423 #include "confdefs.h"
12424 #include <math.h>
12425 int main() {
12426  _cosf(0);
12427 ; return 0; }
12428 EOF
12429 if { (eval echo configure:12430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12430   rm -rf conftest*
12431   glibcpp_cv_func__cosf_use=yes
12432 else
12433   echo "configure: failed program was:" >&5
12434   cat conftest.$ac_ext >&5
12435   rm -rf conftest*
12436   glibcpp_cv_func__cosf_use=no
12437 fi
12438 rm -f conftest*
12439     ac_ext=c
12440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12441 ac_cpp='$CPP $CPPFLAGS'
12442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12444 cross_compiling=$ac_cv_prog_cc_cross
12445
12446   
12447 fi
12448
12449   echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12450   if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12451     for ac_func in _cosf
12452 do
12453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12454 echo "configure:12455: checking for $ac_func" >&5
12455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12456   echo $ac_n "(cached) $ac_c" 1>&6
12457 else
12458   cat > conftest.$ac_ext <<EOF
12459 #line 12460 "configure"
12460 #include "confdefs.h"
12461 /* System header to define __stub macros and hopefully few prototypes,
12462     which can conflict with char $ac_func(); below.  */
12463 #include <assert.h>
12464 /* Override any gcc2 internal prototype to avoid an error.  */
12465 /* We use char because int might match the return type of a gcc2
12466     builtin and then its argument prototype would still apply.  */
12467 char $ac_func();
12468
12469 int main() {
12470
12471 /* The GNU C library defines this for functions which it implements
12472     to always fail with ENOSYS.  Some functions are actually named
12473     something starting with __ and the normal name is an alias.  */
12474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12475 choke me
12476 #else
12477 $ac_func();
12478 #endif
12479
12480 ; return 0; }
12481 EOF
12482 if { (eval echo configure:12483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12483   rm -rf conftest*
12484   eval "ac_cv_func_$ac_func=yes"
12485 else
12486   echo "configure: failed program was:" >&5
12487   cat conftest.$ac_ext >&5
12488   rm -rf conftest*
12489   eval "ac_cv_func_$ac_func=no"
12490 fi
12491 rm -f conftest*
12492 fi
12493
12494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12495   echo "$ac_t""yes" 1>&6
12496     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12497   cat >> confdefs.h <<EOF
12498 #define $ac_tr_func 1
12499 EOF
12500  
12501 else
12502   echo "$ac_t""no" 1>&6
12503 fi
12504 done
12505     
12506   fi
12507
12508   
12509   echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12510 echo "configure:12511: checking for _coshf declaration" >&5
12511   if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12512   echo $ac_n "(cached) $ac_c" 1>&6
12513 else
12514   
12515     
12516     ac_ext=C
12517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12518 ac_cpp='$CXXCPP $CPPFLAGS'
12519 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12520 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12521 cross_compiling=$ac_cv_prog_cxx_cross
12522
12523     cat > conftest.$ac_ext <<EOF
12524 #line 12525 "configure"
12525 #include "confdefs.h"
12526 #include <math.h>
12527 int main() {
12528  _coshf(0);
12529 ; return 0; }
12530 EOF
12531 if { (eval echo configure:12532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12532   rm -rf conftest*
12533   glibcpp_cv_func__coshf_use=yes
12534 else
12535   echo "configure: failed program was:" >&5
12536   cat conftest.$ac_ext >&5
12537   rm -rf conftest*
12538   glibcpp_cv_func__coshf_use=no
12539 fi
12540 rm -f conftest*
12541     ac_ext=c
12542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12543 ac_cpp='$CPP $CPPFLAGS'
12544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12546 cross_compiling=$ac_cv_prog_cc_cross
12547
12548   
12549 fi
12550
12551   echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12552   if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12553     for ac_func in _coshf
12554 do
12555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12556 echo "configure:12557: checking for $ac_func" >&5
12557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12558   echo $ac_n "(cached) $ac_c" 1>&6
12559 else
12560   cat > conftest.$ac_ext <<EOF
12561 #line 12562 "configure"
12562 #include "confdefs.h"
12563 /* System header to define __stub macros and hopefully few prototypes,
12564     which can conflict with char $ac_func(); below.  */
12565 #include <assert.h>
12566 /* Override any gcc2 internal prototype to avoid an error.  */
12567 /* We use char because int might match the return type of a gcc2
12568     builtin and then its argument prototype would still apply.  */
12569 char $ac_func();
12570
12571 int main() {
12572
12573 /* The GNU C library defines this for functions which it implements
12574     to always fail with ENOSYS.  Some functions are actually named
12575     something starting with __ and the normal name is an alias.  */
12576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12577 choke me
12578 #else
12579 $ac_func();
12580 #endif
12581
12582 ; return 0; }
12583 EOF
12584 if { (eval echo configure:12585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12585   rm -rf conftest*
12586   eval "ac_cv_func_$ac_func=yes"
12587 else
12588   echo "configure: failed program was:" >&5
12589   cat conftest.$ac_ext >&5
12590   rm -rf conftest*
12591   eval "ac_cv_func_$ac_func=no"
12592 fi
12593 rm -f conftest*
12594 fi
12595
12596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12597   echo "$ac_t""yes" 1>&6
12598     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12599   cat >> confdefs.h <<EOF
12600 #define $ac_tr_func 1
12601 EOF
12602  
12603 else
12604   echo "$ac_t""no" 1>&6
12605 fi
12606 done
12607     
12608   fi
12609
12610   
12611   echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12612 echo "configure:12613: checking for _expf declaration" >&5
12613   if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12614   echo $ac_n "(cached) $ac_c" 1>&6
12615 else
12616   
12617     
12618     ac_ext=C
12619 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12620 ac_cpp='$CXXCPP $CPPFLAGS'
12621 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12622 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12623 cross_compiling=$ac_cv_prog_cxx_cross
12624
12625     cat > conftest.$ac_ext <<EOF
12626 #line 12627 "configure"
12627 #include "confdefs.h"
12628 #include <math.h>
12629 int main() {
12630  _expf(0);
12631 ; return 0; }
12632 EOF
12633 if { (eval echo configure:12634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12634   rm -rf conftest*
12635   glibcpp_cv_func__expf_use=yes
12636 else
12637   echo "configure: failed program was:" >&5
12638   cat conftest.$ac_ext >&5
12639   rm -rf conftest*
12640   glibcpp_cv_func__expf_use=no
12641 fi
12642 rm -f conftest*
12643     ac_ext=c
12644 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12645 ac_cpp='$CPP $CPPFLAGS'
12646 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12647 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12648 cross_compiling=$ac_cv_prog_cc_cross
12649
12650   
12651 fi
12652
12653   echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12654   if test x$glibcpp_cv_func__expf_use = x"yes"; then
12655     for ac_func in _expf
12656 do
12657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12658 echo "configure:12659: checking for $ac_func" >&5
12659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12660   echo $ac_n "(cached) $ac_c" 1>&6
12661 else
12662   cat > conftest.$ac_ext <<EOF
12663 #line 12664 "configure"
12664 #include "confdefs.h"
12665 /* System header to define __stub macros and hopefully few prototypes,
12666     which can conflict with char $ac_func(); below.  */
12667 #include <assert.h>
12668 /* Override any gcc2 internal prototype to avoid an error.  */
12669 /* We use char because int might match the return type of a gcc2
12670     builtin and then its argument prototype would still apply.  */
12671 char $ac_func();
12672
12673 int main() {
12674
12675 /* The GNU C library defines this for functions which it implements
12676     to always fail with ENOSYS.  Some functions are actually named
12677     something starting with __ and the normal name is an alias.  */
12678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12679 choke me
12680 #else
12681 $ac_func();
12682 #endif
12683
12684 ; return 0; }
12685 EOF
12686 if { (eval echo configure:12687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12687   rm -rf conftest*
12688   eval "ac_cv_func_$ac_func=yes"
12689 else
12690   echo "configure: failed program was:" >&5
12691   cat conftest.$ac_ext >&5
12692   rm -rf conftest*
12693   eval "ac_cv_func_$ac_func=no"
12694 fi
12695 rm -f conftest*
12696 fi
12697
12698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12699   echo "$ac_t""yes" 1>&6
12700     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12701   cat >> confdefs.h <<EOF
12702 #define $ac_tr_func 1
12703 EOF
12704  
12705 else
12706   echo "$ac_t""no" 1>&6
12707 fi
12708 done
12709     
12710   fi
12711
12712   
12713   echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12714 echo "configure:12715: checking for _fabsf declaration" >&5
12715   if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12716   echo $ac_n "(cached) $ac_c" 1>&6
12717 else
12718   
12719     
12720     ac_ext=C
12721 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12722 ac_cpp='$CXXCPP $CPPFLAGS'
12723 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12724 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12725 cross_compiling=$ac_cv_prog_cxx_cross
12726
12727     cat > conftest.$ac_ext <<EOF
12728 #line 12729 "configure"
12729 #include "confdefs.h"
12730 #include <math.h>
12731 int main() {
12732  _fabsf(0);
12733 ; return 0; }
12734 EOF
12735 if { (eval echo configure:12736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12736   rm -rf conftest*
12737   glibcpp_cv_func__fabsf_use=yes
12738 else
12739   echo "configure: failed program was:" >&5
12740   cat conftest.$ac_ext >&5
12741   rm -rf conftest*
12742   glibcpp_cv_func__fabsf_use=no
12743 fi
12744 rm -f conftest*
12745     ac_ext=c
12746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12747 ac_cpp='$CPP $CPPFLAGS'
12748 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12749 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12750 cross_compiling=$ac_cv_prog_cc_cross
12751
12752   
12753 fi
12754
12755   echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12756   if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12757     for ac_func in _fabsf
12758 do
12759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12760 echo "configure:12761: checking for $ac_func" >&5
12761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12762   echo $ac_n "(cached) $ac_c" 1>&6
12763 else
12764   cat > conftest.$ac_ext <<EOF
12765 #line 12766 "configure"
12766 #include "confdefs.h"
12767 /* System header to define __stub macros and hopefully few prototypes,
12768     which can conflict with char $ac_func(); below.  */
12769 #include <assert.h>
12770 /* Override any gcc2 internal prototype to avoid an error.  */
12771 /* We use char because int might match the return type of a gcc2
12772     builtin and then its argument prototype would still apply.  */
12773 char $ac_func();
12774
12775 int main() {
12776
12777 /* The GNU C library defines this for functions which it implements
12778     to always fail with ENOSYS.  Some functions are actually named
12779     something starting with __ and the normal name is an alias.  */
12780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12781 choke me
12782 #else
12783 $ac_func();
12784 #endif
12785
12786 ; return 0; }
12787 EOF
12788 if { (eval echo configure:12789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12789   rm -rf conftest*
12790   eval "ac_cv_func_$ac_func=yes"
12791 else
12792   echo "configure: failed program was:" >&5
12793   cat conftest.$ac_ext >&5
12794   rm -rf conftest*
12795   eval "ac_cv_func_$ac_func=no"
12796 fi
12797 rm -f conftest*
12798 fi
12799
12800 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12801   echo "$ac_t""yes" 1>&6
12802     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12803   cat >> confdefs.h <<EOF
12804 #define $ac_tr_func 1
12805 EOF
12806  
12807 else
12808   echo "$ac_t""no" 1>&6
12809 fi
12810 done
12811     
12812   fi
12813
12814   
12815   echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12816 echo "configure:12817: checking for _floorf declaration" >&5
12817   if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12818   echo $ac_n "(cached) $ac_c" 1>&6
12819 else
12820   
12821     
12822     ac_ext=C
12823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12824 ac_cpp='$CXXCPP $CPPFLAGS'
12825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12827 cross_compiling=$ac_cv_prog_cxx_cross
12828
12829     cat > conftest.$ac_ext <<EOF
12830 #line 12831 "configure"
12831 #include "confdefs.h"
12832 #include <math.h>
12833 int main() {
12834  _floorf(0);
12835 ; return 0; }
12836 EOF
12837 if { (eval echo configure:12838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12838   rm -rf conftest*
12839   glibcpp_cv_func__floorf_use=yes
12840 else
12841   echo "configure: failed program was:" >&5
12842   cat conftest.$ac_ext >&5
12843   rm -rf conftest*
12844   glibcpp_cv_func__floorf_use=no
12845 fi
12846 rm -f conftest*
12847     ac_ext=c
12848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12849 ac_cpp='$CPP $CPPFLAGS'
12850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12852 cross_compiling=$ac_cv_prog_cc_cross
12853
12854   
12855 fi
12856
12857   echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
12858   if test x$glibcpp_cv_func__floorf_use = x"yes"; then
12859     for ac_func in _floorf
12860 do
12861 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12862 echo "configure:12863: checking for $ac_func" >&5
12863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12864   echo $ac_n "(cached) $ac_c" 1>&6
12865 else
12866   cat > conftest.$ac_ext <<EOF
12867 #line 12868 "configure"
12868 #include "confdefs.h"
12869 /* System header to define __stub macros and hopefully few prototypes,
12870     which can conflict with char $ac_func(); below.  */
12871 #include <assert.h>
12872 /* Override any gcc2 internal prototype to avoid an error.  */
12873 /* We use char because int might match the return type of a gcc2
12874     builtin and then its argument prototype would still apply.  */
12875 char $ac_func();
12876
12877 int main() {
12878
12879 /* The GNU C library defines this for functions which it implements
12880     to always fail with ENOSYS.  Some functions are actually named
12881     something starting with __ and the normal name is an alias.  */
12882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12883 choke me
12884 #else
12885 $ac_func();
12886 #endif
12887
12888 ; return 0; }
12889 EOF
12890 if { (eval echo configure:12891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12891   rm -rf conftest*
12892   eval "ac_cv_func_$ac_func=yes"
12893 else
12894   echo "configure: failed program was:" >&5
12895   cat conftest.$ac_ext >&5
12896   rm -rf conftest*
12897   eval "ac_cv_func_$ac_func=no"
12898 fi
12899 rm -f conftest*
12900 fi
12901
12902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12903   echo "$ac_t""yes" 1>&6
12904     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12905   cat >> confdefs.h <<EOF
12906 #define $ac_tr_func 1
12907 EOF
12908  
12909 else
12910   echo "$ac_t""no" 1>&6
12911 fi
12912 done
12913     
12914   fi
12915
12916   
12917   echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12918 echo "configure:12919: checking for _fmodf declaration" >&5
12919   if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12920   echo $ac_n "(cached) $ac_c" 1>&6
12921 else
12922   
12923     
12924     ac_ext=C
12925 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12926 ac_cpp='$CXXCPP $CPPFLAGS'
12927 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12928 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12929 cross_compiling=$ac_cv_prog_cxx_cross
12930
12931     cat > conftest.$ac_ext <<EOF
12932 #line 12933 "configure"
12933 #include "confdefs.h"
12934 #include <math.h>
12935 int main() {
12936  _fmodf(0, 0);
12937 ; return 0; }
12938 EOF
12939 if { (eval echo configure:12940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12940   rm -rf conftest*
12941   glibcpp_cv_func__fmodf_use=yes
12942 else
12943   echo "configure: failed program was:" >&5
12944   cat conftest.$ac_ext >&5
12945   rm -rf conftest*
12946   glibcpp_cv_func__fmodf_use=no
12947 fi
12948 rm -f conftest*
12949     ac_ext=c
12950 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12951 ac_cpp='$CPP $CPPFLAGS'
12952 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12953 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12954 cross_compiling=$ac_cv_prog_cc_cross
12955
12956   
12957 fi
12958
12959   echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12960   if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12961     for ac_func in _fmodf
12962 do
12963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12964 echo "configure:12965: checking for $ac_func" >&5
12965 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12966   echo $ac_n "(cached) $ac_c" 1>&6
12967 else
12968   cat > conftest.$ac_ext <<EOF
12969 #line 12970 "configure"
12970 #include "confdefs.h"
12971 /* System header to define __stub macros and hopefully few prototypes,
12972     which can conflict with char $ac_func(); below.  */
12973 #include <assert.h>
12974 /* Override any gcc2 internal prototype to avoid an error.  */
12975 /* We use char because int might match the return type of a gcc2
12976     builtin and then its argument prototype would still apply.  */
12977 char $ac_func();
12978
12979 int main() {
12980
12981 /* The GNU C library defines this for functions which it implements
12982     to always fail with ENOSYS.  Some functions are actually named
12983     something starting with __ and the normal name is an alias.  */
12984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12985 choke me
12986 #else
12987 $ac_func();
12988 #endif
12989
12990 ; return 0; }
12991 EOF
12992 if { (eval echo configure:12993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12993   rm -rf conftest*
12994   eval "ac_cv_func_$ac_func=yes"
12995 else
12996   echo "configure: failed program was:" >&5
12997   cat conftest.$ac_ext >&5
12998   rm -rf conftest*
12999   eval "ac_cv_func_$ac_func=no"
13000 fi
13001 rm -f conftest*
13002 fi
13003
13004 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13005   echo "$ac_t""yes" 1>&6
13006     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13007   cat >> confdefs.h <<EOF
13008 #define $ac_tr_func 1
13009 EOF
13010  
13011 else
13012   echo "$ac_t""no" 1>&6
13013 fi
13014 done
13015     
13016   fi
13017
13018   
13019   echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
13020 echo "configure:13021: checking for _frexpf declaration" >&5
13021   if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13022   echo $ac_n "(cached) $ac_c" 1>&6
13023 else
13024   
13025     
13026     ac_ext=C
13027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13028 ac_cpp='$CXXCPP $CPPFLAGS'
13029 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13030 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13031 cross_compiling=$ac_cv_prog_cxx_cross
13032
13033     cat > conftest.$ac_ext <<EOF
13034 #line 13035 "configure"
13035 #include "confdefs.h"
13036 #include <math.h>
13037 int main() {
13038  _frexpf(0, 0);
13039 ; return 0; }
13040 EOF
13041 if { (eval echo configure:13042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13042   rm -rf conftest*
13043   glibcpp_cv_func__frexpf_use=yes
13044 else
13045   echo "configure: failed program was:" >&5
13046   cat conftest.$ac_ext >&5
13047   rm -rf conftest*
13048   glibcpp_cv_func__frexpf_use=no
13049 fi
13050 rm -f conftest*
13051     ac_ext=c
13052 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13053 ac_cpp='$CPP $CPPFLAGS'
13054 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13055 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13056 cross_compiling=$ac_cv_prog_cc_cross
13057
13058   
13059 fi
13060
13061   echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13062   if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13063     for ac_func in _frexpf
13064 do
13065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13066 echo "configure:13067: checking for $ac_func" >&5
13067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13068   echo $ac_n "(cached) $ac_c" 1>&6
13069 else
13070   cat > conftest.$ac_ext <<EOF
13071 #line 13072 "configure"
13072 #include "confdefs.h"
13073 /* System header to define __stub macros and hopefully few prototypes,
13074     which can conflict with char $ac_func(); below.  */
13075 #include <assert.h>
13076 /* Override any gcc2 internal prototype to avoid an error.  */
13077 /* We use char because int might match the return type of a gcc2
13078     builtin and then its argument prototype would still apply.  */
13079 char $ac_func();
13080
13081 int main() {
13082
13083 /* The GNU C library defines this for functions which it implements
13084     to always fail with ENOSYS.  Some functions are actually named
13085     something starting with __ and the normal name is an alias.  */
13086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13087 choke me
13088 #else
13089 $ac_func();
13090 #endif
13091
13092 ; return 0; }
13093 EOF
13094 if { (eval echo configure:13095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13095   rm -rf conftest*
13096   eval "ac_cv_func_$ac_func=yes"
13097 else
13098   echo "configure: failed program was:" >&5
13099   cat conftest.$ac_ext >&5
13100   rm -rf conftest*
13101   eval "ac_cv_func_$ac_func=no"
13102 fi
13103 rm -f conftest*
13104 fi
13105
13106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13107   echo "$ac_t""yes" 1>&6
13108     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13109   cat >> confdefs.h <<EOF
13110 #define $ac_tr_func 1
13111 EOF
13112  
13113 else
13114   echo "$ac_t""no" 1>&6
13115 fi
13116 done
13117     
13118   fi
13119
13120   
13121   echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13122 echo "configure:13123: checking for _ldexpf declaration" >&5
13123   if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13124   echo $ac_n "(cached) $ac_c" 1>&6
13125 else
13126   
13127     
13128     ac_ext=C
13129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13130 ac_cpp='$CXXCPP $CPPFLAGS'
13131 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13132 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13133 cross_compiling=$ac_cv_prog_cxx_cross
13134
13135     cat > conftest.$ac_ext <<EOF
13136 #line 13137 "configure"
13137 #include "confdefs.h"
13138 #include <math.h>
13139 int main() {
13140  _ldexpf(0, 0);
13141 ; return 0; }
13142 EOF
13143 if { (eval echo configure:13144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13144   rm -rf conftest*
13145   glibcpp_cv_func__ldexpf_use=yes
13146 else
13147   echo "configure: failed program was:" >&5
13148   cat conftest.$ac_ext >&5
13149   rm -rf conftest*
13150   glibcpp_cv_func__ldexpf_use=no
13151 fi
13152 rm -f conftest*
13153     ac_ext=c
13154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13155 ac_cpp='$CPP $CPPFLAGS'
13156 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13157 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13158 cross_compiling=$ac_cv_prog_cc_cross
13159
13160   
13161 fi
13162
13163   echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13164   if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13165     for ac_func in _ldexpf
13166 do
13167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13168 echo "configure:13169: checking for $ac_func" >&5
13169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13170   echo $ac_n "(cached) $ac_c" 1>&6
13171 else
13172   cat > conftest.$ac_ext <<EOF
13173 #line 13174 "configure"
13174 #include "confdefs.h"
13175 /* System header to define __stub macros and hopefully few prototypes,
13176     which can conflict with char $ac_func(); below.  */
13177 #include <assert.h>
13178 /* Override any gcc2 internal prototype to avoid an error.  */
13179 /* We use char because int might match the return type of a gcc2
13180     builtin and then its argument prototype would still apply.  */
13181 char $ac_func();
13182
13183 int main() {
13184
13185 /* The GNU C library defines this for functions which it implements
13186     to always fail with ENOSYS.  Some functions are actually named
13187     something starting with __ and the normal name is an alias.  */
13188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13189 choke me
13190 #else
13191 $ac_func();
13192 #endif
13193
13194 ; return 0; }
13195 EOF
13196 if { (eval echo configure:13197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13197   rm -rf conftest*
13198   eval "ac_cv_func_$ac_func=yes"
13199 else
13200   echo "configure: failed program was:" >&5
13201   cat conftest.$ac_ext >&5
13202   rm -rf conftest*
13203   eval "ac_cv_func_$ac_func=no"
13204 fi
13205 rm -f conftest*
13206 fi
13207
13208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13209   echo "$ac_t""yes" 1>&6
13210     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13211   cat >> confdefs.h <<EOF
13212 #define $ac_tr_func 1
13213 EOF
13214  
13215 else
13216   echo "$ac_t""no" 1>&6
13217 fi
13218 done
13219     
13220   fi
13221
13222   
13223   echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13224 echo "configure:13225: checking for _logf declaration" >&5
13225   if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13226   echo $ac_n "(cached) $ac_c" 1>&6
13227 else
13228   
13229     
13230     ac_ext=C
13231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13232 ac_cpp='$CXXCPP $CPPFLAGS'
13233 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13234 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13235 cross_compiling=$ac_cv_prog_cxx_cross
13236
13237     cat > conftest.$ac_ext <<EOF
13238 #line 13239 "configure"
13239 #include "confdefs.h"
13240 #include <math.h>
13241 int main() {
13242  _logf(0);
13243 ; return 0; }
13244 EOF
13245 if { (eval echo configure:13246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13246   rm -rf conftest*
13247   glibcpp_cv_func__logf_use=yes
13248 else
13249   echo "configure: failed program was:" >&5
13250   cat conftest.$ac_ext >&5
13251   rm -rf conftest*
13252   glibcpp_cv_func__logf_use=no
13253 fi
13254 rm -f conftest*
13255     ac_ext=c
13256 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13257 ac_cpp='$CPP $CPPFLAGS'
13258 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13259 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13260 cross_compiling=$ac_cv_prog_cc_cross
13261
13262   
13263 fi
13264
13265   echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13266   if test x$glibcpp_cv_func__logf_use = x"yes"; then
13267     for ac_func in _logf
13268 do
13269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13270 echo "configure:13271: checking for $ac_func" >&5
13271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13272   echo $ac_n "(cached) $ac_c" 1>&6
13273 else
13274   cat > conftest.$ac_ext <<EOF
13275 #line 13276 "configure"
13276 #include "confdefs.h"
13277 /* System header to define __stub macros and hopefully few prototypes,
13278     which can conflict with char $ac_func(); below.  */
13279 #include <assert.h>
13280 /* Override any gcc2 internal prototype to avoid an error.  */
13281 /* We use char because int might match the return type of a gcc2
13282     builtin and then its argument prototype would still apply.  */
13283 char $ac_func();
13284
13285 int main() {
13286
13287 /* The GNU C library defines this for functions which it implements
13288     to always fail with ENOSYS.  Some functions are actually named
13289     something starting with __ and the normal name is an alias.  */
13290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13291 choke me
13292 #else
13293 $ac_func();
13294 #endif
13295
13296 ; return 0; }
13297 EOF
13298 if { (eval echo configure:13299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13299   rm -rf conftest*
13300   eval "ac_cv_func_$ac_func=yes"
13301 else
13302   echo "configure: failed program was:" >&5
13303   cat conftest.$ac_ext >&5
13304   rm -rf conftest*
13305   eval "ac_cv_func_$ac_func=no"
13306 fi
13307 rm -f conftest*
13308 fi
13309
13310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13311   echo "$ac_t""yes" 1>&6
13312     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13313   cat >> confdefs.h <<EOF
13314 #define $ac_tr_func 1
13315 EOF
13316  
13317 else
13318   echo "$ac_t""no" 1>&6
13319 fi
13320 done
13321     
13322   fi
13323
13324   
13325   echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13326 echo "configure:13327: checking for _log10f declaration" >&5
13327   if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13328   echo $ac_n "(cached) $ac_c" 1>&6
13329 else
13330   
13331     
13332     ac_ext=C
13333 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13334 ac_cpp='$CXXCPP $CPPFLAGS'
13335 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13336 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13337 cross_compiling=$ac_cv_prog_cxx_cross
13338
13339     cat > conftest.$ac_ext <<EOF
13340 #line 13341 "configure"
13341 #include "confdefs.h"
13342 #include <math.h>
13343 int main() {
13344  _log10f(0);
13345 ; return 0; }
13346 EOF
13347 if { (eval echo configure:13348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13348   rm -rf conftest*
13349   glibcpp_cv_func__log10f_use=yes
13350 else
13351   echo "configure: failed program was:" >&5
13352   cat conftest.$ac_ext >&5
13353   rm -rf conftest*
13354   glibcpp_cv_func__log10f_use=no
13355 fi
13356 rm -f conftest*
13357     ac_ext=c
13358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13359 ac_cpp='$CPP $CPPFLAGS'
13360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13362 cross_compiling=$ac_cv_prog_cc_cross
13363
13364   
13365 fi
13366
13367   echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13368   if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13369     for ac_func in _log10f
13370 do
13371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13372 echo "configure:13373: checking for $ac_func" >&5
13373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13374   echo $ac_n "(cached) $ac_c" 1>&6
13375 else
13376   cat > conftest.$ac_ext <<EOF
13377 #line 13378 "configure"
13378 #include "confdefs.h"
13379 /* System header to define __stub macros and hopefully few prototypes,
13380     which can conflict with char $ac_func(); below.  */
13381 #include <assert.h>
13382 /* Override any gcc2 internal prototype to avoid an error.  */
13383 /* We use char because int might match the return type of a gcc2
13384     builtin and then its argument prototype would still apply.  */
13385 char $ac_func();
13386
13387 int main() {
13388
13389 /* The GNU C library defines this for functions which it implements
13390     to always fail with ENOSYS.  Some functions are actually named
13391     something starting with __ and the normal name is an alias.  */
13392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13393 choke me
13394 #else
13395 $ac_func();
13396 #endif
13397
13398 ; return 0; }
13399 EOF
13400 if { (eval echo configure:13401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13401   rm -rf conftest*
13402   eval "ac_cv_func_$ac_func=yes"
13403 else
13404   echo "configure: failed program was:" >&5
13405   cat conftest.$ac_ext >&5
13406   rm -rf conftest*
13407   eval "ac_cv_func_$ac_func=no"
13408 fi
13409 rm -f conftest*
13410 fi
13411
13412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13413   echo "$ac_t""yes" 1>&6
13414     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13415   cat >> confdefs.h <<EOF
13416 #define $ac_tr_func 1
13417 EOF
13418  
13419 else
13420   echo "$ac_t""no" 1>&6
13421 fi
13422 done
13423     
13424   fi
13425
13426   
13427   echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13428 echo "configure:13429: checking for _modff declaration" >&5
13429   if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13430   echo $ac_n "(cached) $ac_c" 1>&6
13431 else
13432   
13433     
13434     ac_ext=C
13435 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13436 ac_cpp='$CXXCPP $CPPFLAGS'
13437 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13438 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13439 cross_compiling=$ac_cv_prog_cxx_cross
13440
13441     cat > conftest.$ac_ext <<EOF
13442 #line 13443 "configure"
13443 #include "confdefs.h"
13444 #include <math.h>
13445 int main() {
13446  _modff(0, 0);
13447 ; return 0; }
13448 EOF
13449 if { (eval echo configure:13450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13450   rm -rf conftest*
13451   glibcpp_cv_func__modff_use=yes
13452 else
13453   echo "configure: failed program was:" >&5
13454   cat conftest.$ac_ext >&5
13455   rm -rf conftest*
13456   glibcpp_cv_func__modff_use=no
13457 fi
13458 rm -f conftest*
13459     ac_ext=c
13460 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13461 ac_cpp='$CPP $CPPFLAGS'
13462 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13463 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13464 cross_compiling=$ac_cv_prog_cc_cross
13465
13466   
13467 fi
13468
13469   echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13470   if test x$glibcpp_cv_func__modff_use = x"yes"; then
13471     for ac_func in _modff
13472 do
13473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13474 echo "configure:13475: checking for $ac_func" >&5
13475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13476   echo $ac_n "(cached) $ac_c" 1>&6
13477 else
13478   cat > conftest.$ac_ext <<EOF
13479 #line 13480 "configure"
13480 #include "confdefs.h"
13481 /* System header to define __stub macros and hopefully few prototypes,
13482     which can conflict with char $ac_func(); below.  */
13483 #include <assert.h>
13484 /* Override any gcc2 internal prototype to avoid an error.  */
13485 /* We use char because int might match the return type of a gcc2
13486     builtin and then its argument prototype would still apply.  */
13487 char $ac_func();
13488
13489 int main() {
13490
13491 /* The GNU C library defines this for functions which it implements
13492     to always fail with ENOSYS.  Some functions are actually named
13493     something starting with __ and the normal name is an alias.  */
13494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13495 choke me
13496 #else
13497 $ac_func();
13498 #endif
13499
13500 ; return 0; }
13501 EOF
13502 if { (eval echo configure:13503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13503   rm -rf conftest*
13504   eval "ac_cv_func_$ac_func=yes"
13505 else
13506   echo "configure: failed program was:" >&5
13507   cat conftest.$ac_ext >&5
13508   rm -rf conftest*
13509   eval "ac_cv_func_$ac_func=no"
13510 fi
13511 rm -f conftest*
13512 fi
13513
13514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13515   echo "$ac_t""yes" 1>&6
13516     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13517   cat >> confdefs.h <<EOF
13518 #define $ac_tr_func 1
13519 EOF
13520  
13521 else
13522   echo "$ac_t""no" 1>&6
13523 fi
13524 done
13525     
13526   fi
13527
13528   
13529   echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13530 echo "configure:13531: checking for _powf declaration" >&5
13531   if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13532   echo $ac_n "(cached) $ac_c" 1>&6
13533 else
13534   
13535     
13536     ac_ext=C
13537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13538 ac_cpp='$CXXCPP $CPPFLAGS'
13539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13541 cross_compiling=$ac_cv_prog_cxx_cross
13542
13543     cat > conftest.$ac_ext <<EOF
13544 #line 13545 "configure"
13545 #include "confdefs.h"
13546 #include <math.h>
13547 int main() {
13548  _powf(0, 0);
13549 ; return 0; }
13550 EOF
13551 if { (eval echo configure:13552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13552   rm -rf conftest*
13553   glibcpp_cv_func__powf_use=yes
13554 else
13555   echo "configure: failed program was:" >&5
13556   cat conftest.$ac_ext >&5
13557   rm -rf conftest*
13558   glibcpp_cv_func__powf_use=no
13559 fi
13560 rm -f conftest*
13561     ac_ext=c
13562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13563 ac_cpp='$CPP $CPPFLAGS'
13564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13566 cross_compiling=$ac_cv_prog_cc_cross
13567
13568   
13569 fi
13570
13571   echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13572   if test x$glibcpp_cv_func__powf_use = x"yes"; then
13573     for ac_func in _powf
13574 do
13575 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13576 echo "configure:13577: checking for $ac_func" >&5
13577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13578   echo $ac_n "(cached) $ac_c" 1>&6
13579 else
13580   cat > conftest.$ac_ext <<EOF
13581 #line 13582 "configure"
13582 #include "confdefs.h"
13583 /* System header to define __stub macros and hopefully few prototypes,
13584     which can conflict with char $ac_func(); below.  */
13585 #include <assert.h>
13586 /* Override any gcc2 internal prototype to avoid an error.  */
13587 /* We use char because int might match the return type of a gcc2
13588     builtin and then its argument prototype would still apply.  */
13589 char $ac_func();
13590
13591 int main() {
13592
13593 /* The GNU C library defines this for functions which it implements
13594     to always fail with ENOSYS.  Some functions are actually named
13595     something starting with __ and the normal name is an alias.  */
13596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13597 choke me
13598 #else
13599 $ac_func();
13600 #endif
13601
13602 ; return 0; }
13603 EOF
13604 if { (eval echo configure:13605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13605   rm -rf conftest*
13606   eval "ac_cv_func_$ac_func=yes"
13607 else
13608   echo "configure: failed program was:" >&5
13609   cat conftest.$ac_ext >&5
13610   rm -rf conftest*
13611   eval "ac_cv_func_$ac_func=no"
13612 fi
13613 rm -f conftest*
13614 fi
13615
13616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13617   echo "$ac_t""yes" 1>&6
13618     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13619   cat >> confdefs.h <<EOF
13620 #define $ac_tr_func 1
13621 EOF
13622  
13623 else
13624   echo "$ac_t""no" 1>&6
13625 fi
13626 done
13627     
13628   fi
13629
13630   
13631   echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13632 echo "configure:13633: checking for _sinf declaration" >&5
13633   if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13634   echo $ac_n "(cached) $ac_c" 1>&6
13635 else
13636   
13637     
13638     ac_ext=C
13639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13640 ac_cpp='$CXXCPP $CPPFLAGS'
13641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13643 cross_compiling=$ac_cv_prog_cxx_cross
13644
13645     cat > conftest.$ac_ext <<EOF
13646 #line 13647 "configure"
13647 #include "confdefs.h"
13648 #include <math.h>
13649 int main() {
13650  _sinf(0);
13651 ; return 0; }
13652 EOF
13653 if { (eval echo configure:13654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13654   rm -rf conftest*
13655   glibcpp_cv_func__sinf_use=yes
13656 else
13657   echo "configure: failed program was:" >&5
13658   cat conftest.$ac_ext >&5
13659   rm -rf conftest*
13660   glibcpp_cv_func__sinf_use=no
13661 fi
13662 rm -f conftest*
13663     ac_ext=c
13664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13665 ac_cpp='$CPP $CPPFLAGS'
13666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13668 cross_compiling=$ac_cv_prog_cc_cross
13669
13670   
13671 fi
13672
13673   echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13674   if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13675     for ac_func in _sinf
13676 do
13677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13678 echo "configure:13679: checking for $ac_func" >&5
13679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13680   echo $ac_n "(cached) $ac_c" 1>&6
13681 else
13682   cat > conftest.$ac_ext <<EOF
13683 #line 13684 "configure"
13684 #include "confdefs.h"
13685 /* System header to define __stub macros and hopefully few prototypes,
13686     which can conflict with char $ac_func(); below.  */
13687 #include <assert.h>
13688 /* Override any gcc2 internal prototype to avoid an error.  */
13689 /* We use char because int might match the return type of a gcc2
13690     builtin and then its argument prototype would still apply.  */
13691 char $ac_func();
13692
13693 int main() {
13694
13695 /* The GNU C library defines this for functions which it implements
13696     to always fail with ENOSYS.  Some functions are actually named
13697     something starting with __ and the normal name is an alias.  */
13698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13699 choke me
13700 #else
13701 $ac_func();
13702 #endif
13703
13704 ; return 0; }
13705 EOF
13706 if { (eval echo configure:13707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13707   rm -rf conftest*
13708   eval "ac_cv_func_$ac_func=yes"
13709 else
13710   echo "configure: failed program was:" >&5
13711   cat conftest.$ac_ext >&5
13712   rm -rf conftest*
13713   eval "ac_cv_func_$ac_func=no"
13714 fi
13715 rm -f conftest*
13716 fi
13717
13718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13719   echo "$ac_t""yes" 1>&6
13720     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13721   cat >> confdefs.h <<EOF
13722 #define $ac_tr_func 1
13723 EOF
13724  
13725 else
13726   echo "$ac_t""no" 1>&6
13727 fi
13728 done
13729     
13730   fi
13731
13732   
13733   echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13734 echo "configure:13735: checking for _sinhf declaration" >&5
13735   if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13736   echo $ac_n "(cached) $ac_c" 1>&6
13737 else
13738   
13739     
13740     ac_ext=C
13741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13742 ac_cpp='$CXXCPP $CPPFLAGS'
13743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13745 cross_compiling=$ac_cv_prog_cxx_cross
13746
13747     cat > conftest.$ac_ext <<EOF
13748 #line 13749 "configure"
13749 #include "confdefs.h"
13750 #include <math.h>
13751 int main() {
13752  _sinhf(0);
13753 ; return 0; }
13754 EOF
13755 if { (eval echo configure:13756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13756   rm -rf conftest*
13757   glibcpp_cv_func__sinhf_use=yes
13758 else
13759   echo "configure: failed program was:" >&5
13760   cat conftest.$ac_ext >&5
13761   rm -rf conftest*
13762   glibcpp_cv_func__sinhf_use=no
13763 fi
13764 rm -f conftest*
13765     ac_ext=c
13766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13767 ac_cpp='$CPP $CPPFLAGS'
13768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13770 cross_compiling=$ac_cv_prog_cc_cross
13771
13772   
13773 fi
13774
13775   echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13776   if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13777     for ac_func in _sinhf
13778 do
13779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13780 echo "configure:13781: checking for $ac_func" >&5
13781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13782   echo $ac_n "(cached) $ac_c" 1>&6
13783 else
13784   cat > conftest.$ac_ext <<EOF
13785 #line 13786 "configure"
13786 #include "confdefs.h"
13787 /* System header to define __stub macros and hopefully few prototypes,
13788     which can conflict with char $ac_func(); below.  */
13789 #include <assert.h>
13790 /* Override any gcc2 internal prototype to avoid an error.  */
13791 /* We use char because int might match the return type of a gcc2
13792     builtin and then its argument prototype would still apply.  */
13793 char $ac_func();
13794
13795 int main() {
13796
13797 /* The GNU C library defines this for functions which it implements
13798     to always fail with ENOSYS.  Some functions are actually named
13799     something starting with __ and the normal name is an alias.  */
13800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13801 choke me
13802 #else
13803 $ac_func();
13804 #endif
13805
13806 ; return 0; }
13807 EOF
13808 if { (eval echo configure:13809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13809   rm -rf conftest*
13810   eval "ac_cv_func_$ac_func=yes"
13811 else
13812   echo "configure: failed program was:" >&5
13813   cat conftest.$ac_ext >&5
13814   rm -rf conftest*
13815   eval "ac_cv_func_$ac_func=no"
13816 fi
13817 rm -f conftest*
13818 fi
13819
13820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13821   echo "$ac_t""yes" 1>&6
13822     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13823   cat >> confdefs.h <<EOF
13824 #define $ac_tr_func 1
13825 EOF
13826  
13827 else
13828   echo "$ac_t""no" 1>&6
13829 fi
13830 done
13831     
13832   fi
13833
13834   
13835   echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13836 echo "configure:13837: checking for _sqrtf declaration" >&5
13837   if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13838   echo $ac_n "(cached) $ac_c" 1>&6
13839 else
13840   
13841     
13842     ac_ext=C
13843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13844 ac_cpp='$CXXCPP $CPPFLAGS'
13845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13847 cross_compiling=$ac_cv_prog_cxx_cross
13848
13849     cat > conftest.$ac_ext <<EOF
13850 #line 13851 "configure"
13851 #include "confdefs.h"
13852 #include <math.h>
13853 int main() {
13854  _sqrtf(0);
13855 ; return 0; }
13856 EOF
13857 if { (eval echo configure:13858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13858   rm -rf conftest*
13859   glibcpp_cv_func__sqrtf_use=yes
13860 else
13861   echo "configure: failed program was:" >&5
13862   cat conftest.$ac_ext >&5
13863   rm -rf conftest*
13864   glibcpp_cv_func__sqrtf_use=no
13865 fi
13866 rm -f conftest*
13867     ac_ext=c
13868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13869 ac_cpp='$CPP $CPPFLAGS'
13870 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13871 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13872 cross_compiling=$ac_cv_prog_cc_cross
13873
13874   
13875 fi
13876
13877   echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13878   if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13879     for ac_func in _sqrtf
13880 do
13881 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13882 echo "configure:13883: checking for $ac_func" >&5
13883 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13884   echo $ac_n "(cached) $ac_c" 1>&6
13885 else
13886   cat > conftest.$ac_ext <<EOF
13887 #line 13888 "configure"
13888 #include "confdefs.h"
13889 /* System header to define __stub macros and hopefully few prototypes,
13890     which can conflict with char $ac_func(); below.  */
13891 #include <assert.h>
13892 /* Override any gcc2 internal prototype to avoid an error.  */
13893 /* We use char because int might match the return type of a gcc2
13894     builtin and then its argument prototype would still apply.  */
13895 char $ac_func();
13896
13897 int main() {
13898
13899 /* The GNU C library defines this for functions which it implements
13900     to always fail with ENOSYS.  Some functions are actually named
13901     something starting with __ and the normal name is an alias.  */
13902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13903 choke me
13904 #else
13905 $ac_func();
13906 #endif
13907
13908 ; return 0; }
13909 EOF
13910 if { (eval echo configure:13911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13911   rm -rf conftest*
13912   eval "ac_cv_func_$ac_func=yes"
13913 else
13914   echo "configure: failed program was:" >&5
13915   cat conftest.$ac_ext >&5
13916   rm -rf conftest*
13917   eval "ac_cv_func_$ac_func=no"
13918 fi
13919 rm -f conftest*
13920 fi
13921
13922 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13923   echo "$ac_t""yes" 1>&6
13924     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13925   cat >> confdefs.h <<EOF
13926 #define $ac_tr_func 1
13927 EOF
13928  
13929 else
13930   echo "$ac_t""no" 1>&6
13931 fi
13932 done
13933     
13934   fi
13935
13936   
13937   echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
13938 echo "configure:13939: checking for _tanf declaration" >&5
13939   if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
13940   echo $ac_n "(cached) $ac_c" 1>&6
13941 else
13942   
13943     
13944     ac_ext=C
13945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13946 ac_cpp='$CXXCPP $CPPFLAGS'
13947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13949 cross_compiling=$ac_cv_prog_cxx_cross
13950
13951     cat > conftest.$ac_ext <<EOF
13952 #line 13953 "configure"
13953 #include "confdefs.h"
13954 #include <math.h>
13955 int main() {
13956  _tanf(0);
13957 ; return 0; }
13958 EOF
13959 if { (eval echo configure:13960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13960   rm -rf conftest*
13961   glibcpp_cv_func__tanf_use=yes
13962 else
13963   echo "configure: failed program was:" >&5
13964   cat conftest.$ac_ext >&5
13965   rm -rf conftest*
13966   glibcpp_cv_func__tanf_use=no
13967 fi
13968 rm -f conftest*
13969     ac_ext=c
13970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13971 ac_cpp='$CPP $CPPFLAGS'
13972 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13973 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13974 cross_compiling=$ac_cv_prog_cc_cross
13975
13976   
13977 fi
13978
13979   echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
13980   if test x$glibcpp_cv_func__tanf_use = x"yes"; then
13981     for ac_func in _tanf
13982 do
13983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13984 echo "configure:13985: checking for $ac_func" >&5
13985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13986   echo $ac_n "(cached) $ac_c" 1>&6
13987 else
13988   cat > conftest.$ac_ext <<EOF
13989 #line 13990 "configure"
13990 #include "confdefs.h"
13991 /* System header to define __stub macros and hopefully few prototypes,
13992     which can conflict with char $ac_func(); below.  */
13993 #include <assert.h>
13994 /* Override any gcc2 internal prototype to avoid an error.  */
13995 /* We use char because int might match the return type of a gcc2
13996     builtin and then its argument prototype would still apply.  */
13997 char $ac_func();
13998
13999 int main() {
14000
14001 /* The GNU C library defines this for functions which it implements
14002     to always fail with ENOSYS.  Some functions are actually named
14003     something starting with __ and the normal name is an alias.  */
14004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14005 choke me
14006 #else
14007 $ac_func();
14008 #endif
14009
14010 ; return 0; }
14011 EOF
14012 if { (eval echo configure:14013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14013   rm -rf conftest*
14014   eval "ac_cv_func_$ac_func=yes"
14015 else
14016   echo "configure: failed program was:" >&5
14017   cat conftest.$ac_ext >&5
14018   rm -rf conftest*
14019   eval "ac_cv_func_$ac_func=no"
14020 fi
14021 rm -f conftest*
14022 fi
14023
14024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14025   echo "$ac_t""yes" 1>&6
14026     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14027   cat >> confdefs.h <<EOF
14028 #define $ac_tr_func 1
14029 EOF
14030  
14031 else
14032   echo "$ac_t""no" 1>&6
14033 fi
14034 done
14035     
14036   fi
14037
14038   
14039   echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
14040 echo "configure:14041: checking for _tanhf declaration" >&5
14041   if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
14042   echo $ac_n "(cached) $ac_c" 1>&6
14043 else
14044   
14045     
14046     ac_ext=C
14047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14048 ac_cpp='$CXXCPP $CPPFLAGS'
14049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14051 cross_compiling=$ac_cv_prog_cxx_cross
14052
14053     cat > conftest.$ac_ext <<EOF
14054 #line 14055 "configure"
14055 #include "confdefs.h"
14056 #include <math.h>
14057 int main() {
14058  _tanhf(0);
14059 ; return 0; }
14060 EOF
14061 if { (eval echo configure:14062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14062   rm -rf conftest*
14063   glibcpp_cv_func__tanhf_use=yes
14064 else
14065   echo "configure: failed program was:" >&5
14066   cat conftest.$ac_ext >&5
14067   rm -rf conftest*
14068   glibcpp_cv_func__tanhf_use=no
14069 fi
14070 rm -f conftest*
14071     ac_ext=c
14072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14073 ac_cpp='$CPP $CPPFLAGS'
14074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14076 cross_compiling=$ac_cv_prog_cc_cross
14077
14078   
14079 fi
14080
14081   echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
14082   if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
14083     for ac_func in _tanhf
14084 do
14085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14086 echo "configure:14087: checking for $ac_func" >&5
14087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14088   echo $ac_n "(cached) $ac_c" 1>&6
14089 else
14090   cat > conftest.$ac_ext <<EOF
14091 #line 14092 "configure"
14092 #include "confdefs.h"
14093 /* System header to define __stub macros and hopefully few prototypes,
14094     which can conflict with char $ac_func(); below.  */
14095 #include <assert.h>
14096 /* Override any gcc2 internal prototype to avoid an error.  */
14097 /* We use char because int might match the return type of a gcc2
14098     builtin and then its argument prototype would still apply.  */
14099 char $ac_func();
14100
14101 int main() {
14102
14103 /* The GNU C library defines this for functions which it implements
14104     to always fail with ENOSYS.  Some functions are actually named
14105     something starting with __ and the normal name is an alias.  */
14106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14107 choke me
14108 #else
14109 $ac_func();
14110 #endif
14111
14112 ; return 0; }
14113 EOF
14114 if { (eval echo configure:14115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14115   rm -rf conftest*
14116   eval "ac_cv_func_$ac_func=yes"
14117 else
14118   echo "configure: failed program was:" >&5
14119   cat conftest.$ac_ext >&5
14120   rm -rf conftest*
14121   eval "ac_cv_func_$ac_func=no"
14122 fi
14123 rm -f conftest*
14124 fi
14125
14126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14127   echo "$ac_t""yes" 1>&6
14128     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14129   cat >> confdefs.h <<EOF
14130 #define $ac_tr_func 1
14131 EOF
14132  
14133 else
14134   echo "$ac_t""no" 1>&6
14135 fi
14136 done
14137     
14138   fi
14139
14140   
14141   echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14142 echo "configure:14143: checking for _sincosf declaration" >&5
14143   if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14144   echo $ac_n "(cached) $ac_c" 1>&6
14145 else
14146   
14147     
14148     ac_ext=C
14149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14150 ac_cpp='$CXXCPP $CPPFLAGS'
14151 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14152 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14153 cross_compiling=$ac_cv_prog_cxx_cross
14154
14155     cat > conftest.$ac_ext <<EOF
14156 #line 14157 "configure"
14157 #include "confdefs.h"
14158 #include <math.h>
14159 int main() {
14160  _sincosf(0, 0, 0);
14161 ; return 0; }
14162 EOF
14163 if { (eval echo configure:14164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14164   rm -rf conftest*
14165   glibcpp_cv_func__sincosf_use=yes
14166 else
14167   echo "configure: failed program was:" >&5
14168   cat conftest.$ac_ext >&5
14169   rm -rf conftest*
14170   glibcpp_cv_func__sincosf_use=no
14171 fi
14172 rm -f conftest*
14173     ac_ext=c
14174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14175 ac_cpp='$CPP $CPPFLAGS'
14176 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14177 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14178 cross_compiling=$ac_cv_prog_cc_cross
14179
14180   
14181 fi
14182
14183   echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14184   if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14185     for ac_func in _sincosf
14186 do
14187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14188 echo "configure:14189: checking for $ac_func" >&5
14189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14190   echo $ac_n "(cached) $ac_c" 1>&6
14191 else
14192   cat > conftest.$ac_ext <<EOF
14193 #line 14194 "configure"
14194 #include "confdefs.h"
14195 /* System header to define __stub macros and hopefully few prototypes,
14196     which can conflict with char $ac_func(); below.  */
14197 #include <assert.h>
14198 /* Override any gcc2 internal prototype to avoid an error.  */
14199 /* We use char because int might match the return type of a gcc2
14200     builtin and then its argument prototype would still apply.  */
14201 char $ac_func();
14202
14203 int main() {
14204
14205 /* The GNU C library defines this for functions which it implements
14206     to always fail with ENOSYS.  Some functions are actually named
14207     something starting with __ and the normal name is an alias.  */
14208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14209 choke me
14210 #else
14211 $ac_func();
14212 #endif
14213
14214 ; return 0; }
14215 EOF
14216 if { (eval echo configure:14217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14217   rm -rf conftest*
14218   eval "ac_cv_func_$ac_func=yes"
14219 else
14220   echo "configure: failed program was:" >&5
14221   cat conftest.$ac_ext >&5
14222   rm -rf conftest*
14223   eval "ac_cv_func_$ac_func=no"
14224 fi
14225 rm -f conftest*
14226 fi
14227
14228 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14229   echo "$ac_t""yes" 1>&6
14230     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14231   cat >> confdefs.h <<EOF
14232 #define $ac_tr_func 1
14233 EOF
14234  
14235 else
14236   echo "$ac_t""no" 1>&6
14237 fi
14238 done
14239     
14240   fi
14241
14242   
14243   echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14244 echo "configure:14245: checking for _finitef declaration" >&5
14245   if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14246   echo $ac_n "(cached) $ac_c" 1>&6
14247 else
14248   
14249     
14250     ac_ext=C
14251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14252 ac_cpp='$CXXCPP $CPPFLAGS'
14253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14255 cross_compiling=$ac_cv_prog_cxx_cross
14256
14257     cat > conftest.$ac_ext <<EOF
14258 #line 14259 "configure"
14259 #include "confdefs.h"
14260 #include <math.h>
14261 int main() {
14262  _finitef(0);
14263 ; return 0; }
14264 EOF
14265 if { (eval echo configure:14266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14266   rm -rf conftest*
14267   glibcpp_cv_func__finitef_use=yes
14268 else
14269   echo "configure: failed program was:" >&5
14270   cat conftest.$ac_ext >&5
14271   rm -rf conftest*
14272   glibcpp_cv_func__finitef_use=no
14273 fi
14274 rm -f conftest*
14275     ac_ext=c
14276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14277 ac_cpp='$CPP $CPPFLAGS'
14278 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14279 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14280 cross_compiling=$ac_cv_prog_cc_cross
14281
14282   
14283 fi
14284
14285   echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14286   if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14287     for ac_func in _finitef
14288 do
14289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14290 echo "configure:14291: checking for $ac_func" >&5
14291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14292   echo $ac_n "(cached) $ac_c" 1>&6
14293 else
14294   cat > conftest.$ac_ext <<EOF
14295 #line 14296 "configure"
14296 #include "confdefs.h"
14297 /* System header to define __stub macros and hopefully few prototypes,
14298     which can conflict with char $ac_func(); below.  */
14299 #include <assert.h>
14300 /* Override any gcc2 internal prototype to avoid an error.  */
14301 /* We use char because int might match the return type of a gcc2
14302     builtin and then its argument prototype would still apply.  */
14303 char $ac_func();
14304
14305 int main() {
14306
14307 /* The GNU C library defines this for functions which it implements
14308     to always fail with ENOSYS.  Some functions are actually named
14309     something starting with __ and the normal name is an alias.  */
14310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14311 choke me
14312 #else
14313 $ac_func();
14314 #endif
14315
14316 ; return 0; }
14317 EOF
14318 if { (eval echo configure:14319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14319   rm -rf conftest*
14320   eval "ac_cv_func_$ac_func=yes"
14321 else
14322   echo "configure: failed program was:" >&5
14323   cat conftest.$ac_ext >&5
14324   rm -rf conftest*
14325   eval "ac_cv_func_$ac_func=no"
14326 fi
14327 rm -f conftest*
14328 fi
14329
14330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14331   echo "$ac_t""yes" 1>&6
14332     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14333   cat >> confdefs.h <<EOF
14334 #define $ac_tr_func 1
14335 EOF
14336  
14337 else
14338   echo "$ac_t""no" 1>&6
14339 fi
14340 done
14341     
14342   fi
14343
14344
14345     
14346   echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14347 echo "configure:14348: checking for _isnanl declaration" >&5
14348   if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14349   echo $ac_n "(cached) $ac_c" 1>&6
14350 else
14351   
14352     
14353     ac_ext=C
14354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14355 ac_cpp='$CXXCPP $CPPFLAGS'
14356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14358 cross_compiling=$ac_cv_prog_cxx_cross
14359
14360     cat > conftest.$ac_ext <<EOF
14361 #line 14362 "configure"
14362 #include "confdefs.h"
14363 #include <math.h>
14364 int main() {
14365  _isnanl(0);
14366 ; return 0; }
14367 EOF
14368 if { (eval echo configure:14369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14369   rm -rf conftest*
14370   glibcpp_cv_func__isnanl_use=yes
14371 else
14372   echo "configure: failed program was:" >&5
14373   cat conftest.$ac_ext >&5
14374   rm -rf conftest*
14375   glibcpp_cv_func__isnanl_use=no
14376 fi
14377 rm -f conftest*
14378     ac_ext=c
14379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14380 ac_cpp='$CPP $CPPFLAGS'
14381 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14382 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14383 cross_compiling=$ac_cv_prog_cc_cross
14384
14385   
14386 fi
14387
14388   echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14389   if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14390     for ac_func in _isnanl
14391 do
14392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14393 echo "configure:14394: checking for $ac_func" >&5
14394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14395   echo $ac_n "(cached) $ac_c" 1>&6
14396 else
14397   cat > conftest.$ac_ext <<EOF
14398 #line 14399 "configure"
14399 #include "confdefs.h"
14400 /* System header to define __stub macros and hopefully few prototypes,
14401     which can conflict with char $ac_func(); below.  */
14402 #include <assert.h>
14403 /* Override any gcc2 internal prototype to avoid an error.  */
14404 /* We use char because int might match the return type of a gcc2
14405     builtin and then its argument prototype would still apply.  */
14406 char $ac_func();
14407
14408 int main() {
14409
14410 /* The GNU C library defines this for functions which it implements
14411     to always fail with ENOSYS.  Some functions are actually named
14412     something starting with __ and the normal name is an alias.  */
14413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14414 choke me
14415 #else
14416 $ac_func();
14417 #endif
14418
14419 ; return 0; }
14420 EOF
14421 if { (eval echo configure:14422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14422   rm -rf conftest*
14423   eval "ac_cv_func_$ac_func=yes"
14424 else
14425   echo "configure: failed program was:" >&5
14426   cat conftest.$ac_ext >&5
14427   rm -rf conftest*
14428   eval "ac_cv_func_$ac_func=no"
14429 fi
14430 rm -f conftest*
14431 fi
14432
14433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14434   echo "$ac_t""yes" 1>&6
14435     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14436   cat >> confdefs.h <<EOF
14437 #define $ac_tr_func 1
14438 EOF
14439  
14440 else
14441   echo "$ac_t""no" 1>&6
14442 fi
14443 done
14444     
14445   fi
14446
14447   
14448   echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14449 echo "configure:14450: checking for _isinfl declaration" >&5
14450   if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14451   echo $ac_n "(cached) $ac_c" 1>&6
14452 else
14453   
14454     
14455     ac_ext=C
14456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14457 ac_cpp='$CXXCPP $CPPFLAGS'
14458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14460 cross_compiling=$ac_cv_prog_cxx_cross
14461
14462     cat > conftest.$ac_ext <<EOF
14463 #line 14464 "configure"
14464 #include "confdefs.h"
14465 #include <math.h>
14466 int main() {
14467  _isinfl(0);
14468 ; return 0; }
14469 EOF
14470 if { (eval echo configure:14471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14471   rm -rf conftest*
14472   glibcpp_cv_func__isinfl_use=yes
14473 else
14474   echo "configure: failed program was:" >&5
14475   cat conftest.$ac_ext >&5
14476   rm -rf conftest*
14477   glibcpp_cv_func__isinfl_use=no
14478 fi
14479 rm -f conftest*
14480     ac_ext=c
14481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14482 ac_cpp='$CPP $CPPFLAGS'
14483 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14484 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14485 cross_compiling=$ac_cv_prog_cc_cross
14486
14487   
14488 fi
14489
14490   echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14491   if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14492     for ac_func in _isinfl
14493 do
14494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14495 echo "configure:14496: checking for $ac_func" >&5
14496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14497   echo $ac_n "(cached) $ac_c" 1>&6
14498 else
14499   cat > conftest.$ac_ext <<EOF
14500 #line 14501 "configure"
14501 #include "confdefs.h"
14502 /* System header to define __stub macros and hopefully few prototypes,
14503     which can conflict with char $ac_func(); below.  */
14504 #include <assert.h>
14505 /* Override any gcc2 internal prototype to avoid an error.  */
14506 /* We use char because int might match the return type of a gcc2
14507     builtin and then its argument prototype would still apply.  */
14508 char $ac_func();
14509
14510 int main() {
14511
14512 /* The GNU C library defines this for functions which it implements
14513     to always fail with ENOSYS.  Some functions are actually named
14514     something starting with __ and the normal name is an alias.  */
14515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14516 choke me
14517 #else
14518 $ac_func();
14519 #endif
14520
14521 ; return 0; }
14522 EOF
14523 if { (eval echo configure:14524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14524   rm -rf conftest*
14525   eval "ac_cv_func_$ac_func=yes"
14526 else
14527   echo "configure: failed program was:" >&5
14528   cat conftest.$ac_ext >&5
14529   rm -rf conftest*
14530   eval "ac_cv_func_$ac_func=no"
14531 fi
14532 rm -f conftest*
14533 fi
14534
14535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14536   echo "$ac_t""yes" 1>&6
14537     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14538   cat >> confdefs.h <<EOF
14539 #define $ac_tr_func 1
14540 EOF
14541  
14542 else
14543   echo "$ac_t""no" 1>&6
14544 fi
14545 done
14546     
14547   fi
14548
14549   
14550   echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14551 echo "configure:14552: checking for _copysignl declaration" >&5
14552   if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14553   echo $ac_n "(cached) $ac_c" 1>&6
14554 else
14555   
14556     
14557     ac_ext=C
14558 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14559 ac_cpp='$CXXCPP $CPPFLAGS'
14560 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14561 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14562 cross_compiling=$ac_cv_prog_cxx_cross
14563
14564     cat > conftest.$ac_ext <<EOF
14565 #line 14566 "configure"
14566 #include "confdefs.h"
14567 #include <math.h>
14568 int main() {
14569  _copysignl(0, 0);
14570 ; return 0; }
14571 EOF
14572 if { (eval echo configure:14573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14573   rm -rf conftest*
14574   glibcpp_cv_func__copysignl_use=yes
14575 else
14576   echo "configure: failed program was:" >&5
14577   cat conftest.$ac_ext >&5
14578   rm -rf conftest*
14579   glibcpp_cv_func__copysignl_use=no
14580 fi
14581 rm -f conftest*
14582     ac_ext=c
14583 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14584 ac_cpp='$CPP $CPPFLAGS'
14585 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14586 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14587 cross_compiling=$ac_cv_prog_cc_cross
14588
14589   
14590 fi
14591
14592   echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14593   if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14594     for ac_func in _copysignl
14595 do
14596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14597 echo "configure:14598: checking for $ac_func" >&5
14598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14599   echo $ac_n "(cached) $ac_c" 1>&6
14600 else
14601   cat > conftest.$ac_ext <<EOF
14602 #line 14603 "configure"
14603 #include "confdefs.h"
14604 /* System header to define __stub macros and hopefully few prototypes,
14605     which can conflict with char $ac_func(); below.  */
14606 #include <assert.h>
14607 /* Override any gcc2 internal prototype to avoid an error.  */
14608 /* We use char because int might match the return type of a gcc2
14609     builtin and then its argument prototype would still apply.  */
14610 char $ac_func();
14611
14612 int main() {
14613
14614 /* The GNU C library defines this for functions which it implements
14615     to always fail with ENOSYS.  Some functions are actually named
14616     something starting with __ and the normal name is an alias.  */
14617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14618 choke me
14619 #else
14620 $ac_func();
14621 #endif
14622
14623 ; return 0; }
14624 EOF
14625 if { (eval echo configure:14626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14626   rm -rf conftest*
14627   eval "ac_cv_func_$ac_func=yes"
14628 else
14629   echo "configure: failed program was:" >&5
14630   cat conftest.$ac_ext >&5
14631   rm -rf conftest*
14632   eval "ac_cv_func_$ac_func=no"
14633 fi
14634 rm -f conftest*
14635 fi
14636
14637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14638   echo "$ac_t""yes" 1>&6
14639     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14640   cat >> confdefs.h <<EOF
14641 #define $ac_tr_func 1
14642 EOF
14643  
14644 else
14645   echo "$ac_t""no" 1>&6
14646 fi
14647 done
14648     
14649   fi
14650
14651   
14652   echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14653 echo "configure:14654: checking for _acosl declaration" >&5
14654   if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14655   echo $ac_n "(cached) $ac_c" 1>&6
14656 else
14657   
14658     
14659     ac_ext=C
14660 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14661 ac_cpp='$CXXCPP $CPPFLAGS'
14662 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14663 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14664 cross_compiling=$ac_cv_prog_cxx_cross
14665
14666     cat > conftest.$ac_ext <<EOF
14667 #line 14668 "configure"
14668 #include "confdefs.h"
14669 #include <math.h>
14670 int main() {
14671  _acosl(0);
14672 ; return 0; }
14673 EOF
14674 if { (eval echo configure:14675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14675   rm -rf conftest*
14676   glibcpp_cv_func__acosl_use=yes
14677 else
14678   echo "configure: failed program was:" >&5
14679   cat conftest.$ac_ext >&5
14680   rm -rf conftest*
14681   glibcpp_cv_func__acosl_use=no
14682 fi
14683 rm -f conftest*
14684     ac_ext=c
14685 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14686 ac_cpp='$CPP $CPPFLAGS'
14687 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14688 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14689 cross_compiling=$ac_cv_prog_cc_cross
14690
14691   
14692 fi
14693
14694   echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14695   if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14696     for ac_func in _acosl
14697 do
14698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14699 echo "configure:14700: checking for $ac_func" >&5
14700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14701   echo $ac_n "(cached) $ac_c" 1>&6
14702 else
14703   cat > conftest.$ac_ext <<EOF
14704 #line 14705 "configure"
14705 #include "confdefs.h"
14706 /* System header to define __stub macros and hopefully few prototypes,
14707     which can conflict with char $ac_func(); below.  */
14708 #include <assert.h>
14709 /* Override any gcc2 internal prototype to avoid an error.  */
14710 /* We use char because int might match the return type of a gcc2
14711     builtin and then its argument prototype would still apply.  */
14712 char $ac_func();
14713
14714 int main() {
14715
14716 /* The GNU C library defines this for functions which it implements
14717     to always fail with ENOSYS.  Some functions are actually named
14718     something starting with __ and the normal name is an alias.  */
14719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14720 choke me
14721 #else
14722 $ac_func();
14723 #endif
14724
14725 ; return 0; }
14726 EOF
14727 if { (eval echo configure:14728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14728   rm -rf conftest*
14729   eval "ac_cv_func_$ac_func=yes"
14730 else
14731   echo "configure: failed program was:" >&5
14732   cat conftest.$ac_ext >&5
14733   rm -rf conftest*
14734   eval "ac_cv_func_$ac_func=no"
14735 fi
14736 rm -f conftest*
14737 fi
14738
14739 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14740   echo "$ac_t""yes" 1>&6
14741     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14742   cat >> confdefs.h <<EOF
14743 #define $ac_tr_func 1
14744 EOF
14745  
14746 else
14747   echo "$ac_t""no" 1>&6
14748 fi
14749 done
14750     
14751   fi
14752
14753   
14754   echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14755 echo "configure:14756: checking for _asinl declaration" >&5
14756   if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14757   echo $ac_n "(cached) $ac_c" 1>&6
14758 else
14759   
14760     
14761     ac_ext=C
14762 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14763 ac_cpp='$CXXCPP $CPPFLAGS'
14764 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14765 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14766 cross_compiling=$ac_cv_prog_cxx_cross
14767
14768     cat > conftest.$ac_ext <<EOF
14769 #line 14770 "configure"
14770 #include "confdefs.h"
14771 #include <math.h>
14772 int main() {
14773  _asinl(0);
14774 ; return 0; }
14775 EOF
14776 if { (eval echo configure:14777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14777   rm -rf conftest*
14778   glibcpp_cv_func__asinl_use=yes
14779 else
14780   echo "configure: failed program was:" >&5
14781   cat conftest.$ac_ext >&5
14782   rm -rf conftest*
14783   glibcpp_cv_func__asinl_use=no
14784 fi
14785 rm -f conftest*
14786     ac_ext=c
14787 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14788 ac_cpp='$CPP $CPPFLAGS'
14789 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14790 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14791 cross_compiling=$ac_cv_prog_cc_cross
14792
14793   
14794 fi
14795
14796   echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14797   if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14798     for ac_func in _asinl
14799 do
14800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14801 echo "configure:14802: checking for $ac_func" >&5
14802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14803   echo $ac_n "(cached) $ac_c" 1>&6
14804 else
14805   cat > conftest.$ac_ext <<EOF
14806 #line 14807 "configure"
14807 #include "confdefs.h"
14808 /* System header to define __stub macros and hopefully few prototypes,
14809     which can conflict with char $ac_func(); below.  */
14810 #include <assert.h>
14811 /* Override any gcc2 internal prototype to avoid an error.  */
14812 /* We use char because int might match the return type of a gcc2
14813     builtin and then its argument prototype would still apply.  */
14814 char $ac_func();
14815
14816 int main() {
14817
14818 /* The GNU C library defines this for functions which it implements
14819     to always fail with ENOSYS.  Some functions are actually named
14820     something starting with __ and the normal name is an alias.  */
14821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14822 choke me
14823 #else
14824 $ac_func();
14825 #endif
14826
14827 ; return 0; }
14828 EOF
14829 if { (eval echo configure:14830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14830   rm -rf conftest*
14831   eval "ac_cv_func_$ac_func=yes"
14832 else
14833   echo "configure: failed program was:" >&5
14834   cat conftest.$ac_ext >&5
14835   rm -rf conftest*
14836   eval "ac_cv_func_$ac_func=no"
14837 fi
14838 rm -f conftest*
14839 fi
14840
14841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14842   echo "$ac_t""yes" 1>&6
14843     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14844   cat >> confdefs.h <<EOF
14845 #define $ac_tr_func 1
14846 EOF
14847  
14848 else
14849   echo "$ac_t""no" 1>&6
14850 fi
14851 done
14852     
14853   fi
14854
14855   
14856   echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
14857 echo "configure:14858: checking for _atanl declaration" >&5
14858   if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
14859   echo $ac_n "(cached) $ac_c" 1>&6
14860 else
14861   
14862     
14863     ac_ext=C
14864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14865 ac_cpp='$CXXCPP $CPPFLAGS'
14866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14868 cross_compiling=$ac_cv_prog_cxx_cross
14869
14870     cat > conftest.$ac_ext <<EOF
14871 #line 14872 "configure"
14872 #include "confdefs.h"
14873 #include <math.h>
14874 int main() {
14875  _atanl(0);
14876 ; return 0; }
14877 EOF
14878 if { (eval echo configure:14879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14879   rm -rf conftest*
14880   glibcpp_cv_func__atanl_use=yes
14881 else
14882   echo "configure: failed program was:" >&5
14883   cat conftest.$ac_ext >&5
14884   rm -rf conftest*
14885   glibcpp_cv_func__atanl_use=no
14886 fi
14887 rm -f conftest*
14888     ac_ext=c
14889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14890 ac_cpp='$CPP $CPPFLAGS'
14891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14893 cross_compiling=$ac_cv_prog_cc_cross
14894
14895   
14896 fi
14897
14898   echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
14899   if test x$glibcpp_cv_func__atanl_use = x"yes"; then
14900     for ac_func in _atanl
14901 do
14902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14903 echo "configure:14904: checking for $ac_func" >&5
14904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14905   echo $ac_n "(cached) $ac_c" 1>&6
14906 else
14907   cat > conftest.$ac_ext <<EOF
14908 #line 14909 "configure"
14909 #include "confdefs.h"
14910 /* System header to define __stub macros and hopefully few prototypes,
14911     which can conflict with char $ac_func(); below.  */
14912 #include <assert.h>
14913 /* Override any gcc2 internal prototype to avoid an error.  */
14914 /* We use char because int might match the return type of a gcc2
14915     builtin and then its argument prototype would still apply.  */
14916 char $ac_func();
14917
14918 int main() {
14919
14920 /* The GNU C library defines this for functions which it implements
14921     to always fail with ENOSYS.  Some functions are actually named
14922     something starting with __ and the normal name is an alias.  */
14923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14924 choke me
14925 #else
14926 $ac_func();
14927 #endif
14928
14929 ; return 0; }
14930 EOF
14931 if { (eval echo configure:14932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14932   rm -rf conftest*
14933   eval "ac_cv_func_$ac_func=yes"
14934 else
14935   echo "configure: failed program was:" >&5
14936   cat conftest.$ac_ext >&5
14937   rm -rf conftest*
14938   eval "ac_cv_func_$ac_func=no"
14939 fi
14940 rm -f conftest*
14941 fi
14942
14943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14944   echo "$ac_t""yes" 1>&6
14945     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14946   cat >> confdefs.h <<EOF
14947 #define $ac_tr_func 1
14948 EOF
14949  
14950 else
14951   echo "$ac_t""no" 1>&6
14952 fi
14953 done
14954     
14955   fi
14956
14957   
14958   echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14959 echo "configure:14960: checking for _atan2l declaration" >&5
14960   if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14961   echo $ac_n "(cached) $ac_c" 1>&6
14962 else
14963   
14964     
14965     ac_ext=C
14966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14967 ac_cpp='$CXXCPP $CPPFLAGS'
14968 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14969 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14970 cross_compiling=$ac_cv_prog_cxx_cross
14971
14972     cat > conftest.$ac_ext <<EOF
14973 #line 14974 "configure"
14974 #include "confdefs.h"
14975 #include <math.h>
14976 int main() {
14977  _atan2l(0, 0);
14978 ; return 0; }
14979 EOF
14980 if { (eval echo configure:14981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14981   rm -rf conftest*
14982   glibcpp_cv_func__atan2l_use=yes
14983 else
14984   echo "configure: failed program was:" >&5
14985   cat conftest.$ac_ext >&5
14986   rm -rf conftest*
14987   glibcpp_cv_func__atan2l_use=no
14988 fi
14989 rm -f conftest*
14990     ac_ext=c
14991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14992 ac_cpp='$CPP $CPPFLAGS'
14993 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14994 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14995 cross_compiling=$ac_cv_prog_cc_cross
14996
14997   
14998 fi
14999
15000   echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
15001   if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
15002     for ac_func in _atan2l
15003 do
15004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15005 echo "configure:15006: checking for $ac_func" >&5
15006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15007   echo $ac_n "(cached) $ac_c" 1>&6
15008 else
15009   cat > conftest.$ac_ext <<EOF
15010 #line 15011 "configure"
15011 #include "confdefs.h"
15012 /* System header to define __stub macros and hopefully few prototypes,
15013     which can conflict with char $ac_func(); below.  */
15014 #include <assert.h>
15015 /* Override any gcc2 internal prototype to avoid an error.  */
15016 /* We use char because int might match the return type of a gcc2
15017     builtin and then its argument prototype would still apply.  */
15018 char $ac_func();
15019
15020 int main() {
15021
15022 /* The GNU C library defines this for functions which it implements
15023     to always fail with ENOSYS.  Some functions are actually named
15024     something starting with __ and the normal name is an alias.  */
15025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15026 choke me
15027 #else
15028 $ac_func();
15029 #endif
15030
15031 ; return 0; }
15032 EOF
15033 if { (eval echo configure:15034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15034   rm -rf conftest*
15035   eval "ac_cv_func_$ac_func=yes"
15036 else
15037   echo "configure: failed program was:" >&5
15038   cat conftest.$ac_ext >&5
15039   rm -rf conftest*
15040   eval "ac_cv_func_$ac_func=no"
15041 fi
15042 rm -f conftest*
15043 fi
15044
15045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15046   echo "$ac_t""yes" 1>&6
15047     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15048   cat >> confdefs.h <<EOF
15049 #define $ac_tr_func 1
15050 EOF
15051  
15052 else
15053   echo "$ac_t""no" 1>&6
15054 fi
15055 done
15056     
15057   fi
15058
15059   
15060   echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
15061 echo "configure:15062: checking for _ceill declaration" >&5
15062   if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
15063   echo $ac_n "(cached) $ac_c" 1>&6
15064 else
15065   
15066     
15067     ac_ext=C
15068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15069 ac_cpp='$CXXCPP $CPPFLAGS'
15070 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15071 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15072 cross_compiling=$ac_cv_prog_cxx_cross
15073
15074     cat > conftest.$ac_ext <<EOF
15075 #line 15076 "configure"
15076 #include "confdefs.h"
15077 #include <math.h>
15078 int main() {
15079  _ceill(0);
15080 ; return 0; }
15081 EOF
15082 if { (eval echo configure:15083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15083   rm -rf conftest*
15084   glibcpp_cv_func__ceill_use=yes
15085 else
15086   echo "configure: failed program was:" >&5
15087   cat conftest.$ac_ext >&5
15088   rm -rf conftest*
15089   glibcpp_cv_func__ceill_use=no
15090 fi
15091 rm -f conftest*
15092     ac_ext=c
15093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15094 ac_cpp='$CPP $CPPFLAGS'
15095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15097 cross_compiling=$ac_cv_prog_cc_cross
15098
15099   
15100 fi
15101
15102   echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
15103   if test x$glibcpp_cv_func__ceill_use = x"yes"; then
15104     for ac_func in _ceill
15105 do
15106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15107 echo "configure:15108: checking for $ac_func" >&5
15108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15109   echo $ac_n "(cached) $ac_c" 1>&6
15110 else
15111   cat > conftest.$ac_ext <<EOF
15112 #line 15113 "configure"
15113 #include "confdefs.h"
15114 /* System header to define __stub macros and hopefully few prototypes,
15115     which can conflict with char $ac_func(); below.  */
15116 #include <assert.h>
15117 /* Override any gcc2 internal prototype to avoid an error.  */
15118 /* We use char because int might match the return type of a gcc2
15119     builtin and then its argument prototype would still apply.  */
15120 char $ac_func();
15121
15122 int main() {
15123
15124 /* The GNU C library defines this for functions which it implements
15125     to always fail with ENOSYS.  Some functions are actually named
15126     something starting with __ and the normal name is an alias.  */
15127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15128 choke me
15129 #else
15130 $ac_func();
15131 #endif
15132
15133 ; return 0; }
15134 EOF
15135 if { (eval echo configure:15136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15136   rm -rf conftest*
15137   eval "ac_cv_func_$ac_func=yes"
15138 else
15139   echo "configure: failed program was:" >&5
15140   cat conftest.$ac_ext >&5
15141   rm -rf conftest*
15142   eval "ac_cv_func_$ac_func=no"
15143 fi
15144 rm -f conftest*
15145 fi
15146
15147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15148   echo "$ac_t""yes" 1>&6
15149     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15150   cat >> confdefs.h <<EOF
15151 #define $ac_tr_func 1
15152 EOF
15153  
15154 else
15155   echo "$ac_t""no" 1>&6
15156 fi
15157 done
15158     
15159   fi
15160
15161   
15162   echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15163 echo "configure:15164: checking for _cosl declaration" >&5
15164   if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15165   echo $ac_n "(cached) $ac_c" 1>&6
15166 else
15167   
15168     
15169     ac_ext=C
15170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15171 ac_cpp='$CXXCPP $CPPFLAGS'
15172 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15173 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15174 cross_compiling=$ac_cv_prog_cxx_cross
15175
15176     cat > conftest.$ac_ext <<EOF
15177 #line 15178 "configure"
15178 #include "confdefs.h"
15179 #include <math.h>
15180 int main() {
15181  _cosl(0);
15182 ; return 0; }
15183 EOF
15184 if { (eval echo configure:15185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15185   rm -rf conftest*
15186   glibcpp_cv_func__cosl_use=yes
15187 else
15188   echo "configure: failed program was:" >&5
15189   cat conftest.$ac_ext >&5
15190   rm -rf conftest*
15191   glibcpp_cv_func__cosl_use=no
15192 fi
15193 rm -f conftest*
15194     ac_ext=c
15195 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15196 ac_cpp='$CPP $CPPFLAGS'
15197 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15198 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15199 cross_compiling=$ac_cv_prog_cc_cross
15200
15201   
15202 fi
15203
15204   echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15205   if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15206     for ac_func in _cosl
15207 do
15208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15209 echo "configure:15210: checking for $ac_func" >&5
15210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15211   echo $ac_n "(cached) $ac_c" 1>&6
15212 else
15213   cat > conftest.$ac_ext <<EOF
15214 #line 15215 "configure"
15215 #include "confdefs.h"
15216 /* System header to define __stub macros and hopefully few prototypes,
15217     which can conflict with char $ac_func(); below.  */
15218 #include <assert.h>
15219 /* Override any gcc2 internal prototype to avoid an error.  */
15220 /* We use char because int might match the return type of a gcc2
15221     builtin and then its argument prototype would still apply.  */
15222 char $ac_func();
15223
15224 int main() {
15225
15226 /* The GNU C library defines this for functions which it implements
15227     to always fail with ENOSYS.  Some functions are actually named
15228     something starting with __ and the normal name is an alias.  */
15229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15230 choke me
15231 #else
15232 $ac_func();
15233 #endif
15234
15235 ; return 0; }
15236 EOF
15237 if { (eval echo configure:15238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15238   rm -rf conftest*
15239   eval "ac_cv_func_$ac_func=yes"
15240 else
15241   echo "configure: failed program was:" >&5
15242   cat conftest.$ac_ext >&5
15243   rm -rf conftest*
15244   eval "ac_cv_func_$ac_func=no"
15245 fi
15246 rm -f conftest*
15247 fi
15248
15249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15250   echo "$ac_t""yes" 1>&6
15251     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15252   cat >> confdefs.h <<EOF
15253 #define $ac_tr_func 1
15254 EOF
15255  
15256 else
15257   echo "$ac_t""no" 1>&6
15258 fi
15259 done
15260     
15261   fi
15262
15263   
15264   echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15265 echo "configure:15266: checking for _coshl declaration" >&5
15266   if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15267   echo $ac_n "(cached) $ac_c" 1>&6
15268 else
15269   
15270     
15271     ac_ext=C
15272 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15273 ac_cpp='$CXXCPP $CPPFLAGS'
15274 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15275 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15276 cross_compiling=$ac_cv_prog_cxx_cross
15277
15278     cat > conftest.$ac_ext <<EOF
15279 #line 15280 "configure"
15280 #include "confdefs.h"
15281 #include <math.h>
15282 int main() {
15283  _coshl(0);
15284 ; return 0; }
15285 EOF
15286 if { (eval echo configure:15287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15287   rm -rf conftest*
15288   glibcpp_cv_func__coshl_use=yes
15289 else
15290   echo "configure: failed program was:" >&5
15291   cat conftest.$ac_ext >&5
15292   rm -rf conftest*
15293   glibcpp_cv_func__coshl_use=no
15294 fi
15295 rm -f conftest*
15296     ac_ext=c
15297 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15298 ac_cpp='$CPP $CPPFLAGS'
15299 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15300 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15301 cross_compiling=$ac_cv_prog_cc_cross
15302
15303   
15304 fi
15305
15306   echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15307   if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15308     for ac_func in _coshl
15309 do
15310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15311 echo "configure:15312: checking for $ac_func" >&5
15312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15313   echo $ac_n "(cached) $ac_c" 1>&6
15314 else
15315   cat > conftest.$ac_ext <<EOF
15316 #line 15317 "configure"
15317 #include "confdefs.h"
15318 /* System header to define __stub macros and hopefully few prototypes,
15319     which can conflict with char $ac_func(); below.  */
15320 #include <assert.h>
15321 /* Override any gcc2 internal prototype to avoid an error.  */
15322 /* We use char because int might match the return type of a gcc2
15323     builtin and then its argument prototype would still apply.  */
15324 char $ac_func();
15325
15326 int main() {
15327
15328 /* The GNU C library defines this for functions which it implements
15329     to always fail with ENOSYS.  Some functions are actually named
15330     something starting with __ and the normal name is an alias.  */
15331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15332 choke me
15333 #else
15334 $ac_func();
15335 #endif
15336
15337 ; return 0; }
15338 EOF
15339 if { (eval echo configure:15340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15340   rm -rf conftest*
15341   eval "ac_cv_func_$ac_func=yes"
15342 else
15343   echo "configure: failed program was:" >&5
15344   cat conftest.$ac_ext >&5
15345   rm -rf conftest*
15346   eval "ac_cv_func_$ac_func=no"
15347 fi
15348 rm -f conftest*
15349 fi
15350
15351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15352   echo "$ac_t""yes" 1>&6
15353     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15354   cat >> confdefs.h <<EOF
15355 #define $ac_tr_func 1
15356 EOF
15357  
15358 else
15359   echo "$ac_t""no" 1>&6
15360 fi
15361 done
15362     
15363   fi
15364
15365   
15366   echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15367 echo "configure:15368: checking for _expl declaration" >&5
15368   if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15369   echo $ac_n "(cached) $ac_c" 1>&6
15370 else
15371   
15372     
15373     ac_ext=C
15374 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15375 ac_cpp='$CXXCPP $CPPFLAGS'
15376 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15377 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15378 cross_compiling=$ac_cv_prog_cxx_cross
15379
15380     cat > conftest.$ac_ext <<EOF
15381 #line 15382 "configure"
15382 #include "confdefs.h"
15383 #include <math.h>
15384 int main() {
15385  _expl(0);
15386 ; return 0; }
15387 EOF
15388 if { (eval echo configure:15389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15389   rm -rf conftest*
15390   glibcpp_cv_func__expl_use=yes
15391 else
15392   echo "configure: failed program was:" >&5
15393   cat conftest.$ac_ext >&5
15394   rm -rf conftest*
15395   glibcpp_cv_func__expl_use=no
15396 fi
15397 rm -f conftest*
15398     ac_ext=c
15399 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15400 ac_cpp='$CPP $CPPFLAGS'
15401 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15402 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15403 cross_compiling=$ac_cv_prog_cc_cross
15404
15405   
15406 fi
15407
15408   echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15409   if test x$glibcpp_cv_func__expl_use = x"yes"; then
15410     for ac_func in _expl
15411 do
15412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15413 echo "configure:15414: checking for $ac_func" >&5
15414 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15415   echo $ac_n "(cached) $ac_c" 1>&6
15416 else
15417   cat > conftest.$ac_ext <<EOF
15418 #line 15419 "configure"
15419 #include "confdefs.h"
15420 /* System header to define __stub macros and hopefully few prototypes,
15421     which can conflict with char $ac_func(); below.  */
15422 #include <assert.h>
15423 /* Override any gcc2 internal prototype to avoid an error.  */
15424 /* We use char because int might match the return type of a gcc2
15425     builtin and then its argument prototype would still apply.  */
15426 char $ac_func();
15427
15428 int main() {
15429
15430 /* The GNU C library defines this for functions which it implements
15431     to always fail with ENOSYS.  Some functions are actually named
15432     something starting with __ and the normal name is an alias.  */
15433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15434 choke me
15435 #else
15436 $ac_func();
15437 #endif
15438
15439 ; return 0; }
15440 EOF
15441 if { (eval echo configure:15442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15442   rm -rf conftest*
15443   eval "ac_cv_func_$ac_func=yes"
15444 else
15445   echo "configure: failed program was:" >&5
15446   cat conftest.$ac_ext >&5
15447   rm -rf conftest*
15448   eval "ac_cv_func_$ac_func=no"
15449 fi
15450 rm -f conftest*
15451 fi
15452
15453 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15454   echo "$ac_t""yes" 1>&6
15455     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15456   cat >> confdefs.h <<EOF
15457 #define $ac_tr_func 1
15458 EOF
15459  
15460 else
15461   echo "$ac_t""no" 1>&6
15462 fi
15463 done
15464     
15465   fi
15466
15467   
15468   echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15469 echo "configure:15470: checking for _fabsl declaration" >&5
15470   if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15471   echo $ac_n "(cached) $ac_c" 1>&6
15472 else
15473   
15474     
15475     ac_ext=C
15476 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15477 ac_cpp='$CXXCPP $CPPFLAGS'
15478 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15479 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15480 cross_compiling=$ac_cv_prog_cxx_cross
15481
15482     cat > conftest.$ac_ext <<EOF
15483 #line 15484 "configure"
15484 #include "confdefs.h"
15485 #include <math.h>
15486 int main() {
15487  _fabsl(0);
15488 ; return 0; }
15489 EOF
15490 if { (eval echo configure:15491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15491   rm -rf conftest*
15492   glibcpp_cv_func__fabsl_use=yes
15493 else
15494   echo "configure: failed program was:" >&5
15495   cat conftest.$ac_ext >&5
15496   rm -rf conftest*
15497   glibcpp_cv_func__fabsl_use=no
15498 fi
15499 rm -f conftest*
15500     ac_ext=c
15501 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15502 ac_cpp='$CPP $CPPFLAGS'
15503 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15504 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15505 cross_compiling=$ac_cv_prog_cc_cross
15506
15507   
15508 fi
15509
15510   echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15511   if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15512     for ac_func in _fabsl
15513 do
15514 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15515 echo "configure:15516: checking for $ac_func" >&5
15516 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15517   echo $ac_n "(cached) $ac_c" 1>&6
15518 else
15519   cat > conftest.$ac_ext <<EOF
15520 #line 15521 "configure"
15521 #include "confdefs.h"
15522 /* System header to define __stub macros and hopefully few prototypes,
15523     which can conflict with char $ac_func(); below.  */
15524 #include <assert.h>
15525 /* Override any gcc2 internal prototype to avoid an error.  */
15526 /* We use char because int might match the return type of a gcc2
15527     builtin and then its argument prototype would still apply.  */
15528 char $ac_func();
15529
15530 int main() {
15531
15532 /* The GNU C library defines this for functions which it implements
15533     to always fail with ENOSYS.  Some functions are actually named
15534     something starting with __ and the normal name is an alias.  */
15535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15536 choke me
15537 #else
15538 $ac_func();
15539 #endif
15540
15541 ; return 0; }
15542 EOF
15543 if { (eval echo configure:15544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15544   rm -rf conftest*
15545   eval "ac_cv_func_$ac_func=yes"
15546 else
15547   echo "configure: failed program was:" >&5
15548   cat conftest.$ac_ext >&5
15549   rm -rf conftest*
15550   eval "ac_cv_func_$ac_func=no"
15551 fi
15552 rm -f conftest*
15553 fi
15554
15555 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15556   echo "$ac_t""yes" 1>&6
15557     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15558   cat >> confdefs.h <<EOF
15559 #define $ac_tr_func 1
15560 EOF
15561  
15562 else
15563   echo "$ac_t""no" 1>&6
15564 fi
15565 done
15566     
15567   fi
15568
15569   
15570   echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15571 echo "configure:15572: checking for _floorl declaration" >&5
15572   if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15573   echo $ac_n "(cached) $ac_c" 1>&6
15574 else
15575   
15576     
15577     ac_ext=C
15578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15579 ac_cpp='$CXXCPP $CPPFLAGS'
15580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15582 cross_compiling=$ac_cv_prog_cxx_cross
15583
15584     cat > conftest.$ac_ext <<EOF
15585 #line 15586 "configure"
15586 #include "confdefs.h"
15587 #include <math.h>
15588 int main() {
15589  _floorl(0);
15590 ; return 0; }
15591 EOF
15592 if { (eval echo configure:15593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15593   rm -rf conftest*
15594   glibcpp_cv_func__floorl_use=yes
15595 else
15596   echo "configure: failed program was:" >&5
15597   cat conftest.$ac_ext >&5
15598   rm -rf conftest*
15599   glibcpp_cv_func__floorl_use=no
15600 fi
15601 rm -f conftest*
15602     ac_ext=c
15603 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15604 ac_cpp='$CPP $CPPFLAGS'
15605 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15606 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15607 cross_compiling=$ac_cv_prog_cc_cross
15608
15609   
15610 fi
15611
15612   echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15613   if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15614     for ac_func in _floorl
15615 do
15616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15617 echo "configure:15618: checking for $ac_func" >&5
15618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15619   echo $ac_n "(cached) $ac_c" 1>&6
15620 else
15621   cat > conftest.$ac_ext <<EOF
15622 #line 15623 "configure"
15623 #include "confdefs.h"
15624 /* System header to define __stub macros and hopefully few prototypes,
15625     which can conflict with char $ac_func(); below.  */
15626 #include <assert.h>
15627 /* Override any gcc2 internal prototype to avoid an error.  */
15628 /* We use char because int might match the return type of a gcc2
15629     builtin and then its argument prototype would still apply.  */
15630 char $ac_func();
15631
15632 int main() {
15633
15634 /* The GNU C library defines this for functions which it implements
15635     to always fail with ENOSYS.  Some functions are actually named
15636     something starting with __ and the normal name is an alias.  */
15637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15638 choke me
15639 #else
15640 $ac_func();
15641 #endif
15642
15643 ; return 0; }
15644 EOF
15645 if { (eval echo configure:15646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15646   rm -rf conftest*
15647   eval "ac_cv_func_$ac_func=yes"
15648 else
15649   echo "configure: failed program was:" >&5
15650   cat conftest.$ac_ext >&5
15651   rm -rf conftest*
15652   eval "ac_cv_func_$ac_func=no"
15653 fi
15654 rm -f conftest*
15655 fi
15656
15657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15658   echo "$ac_t""yes" 1>&6
15659     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15660   cat >> confdefs.h <<EOF
15661 #define $ac_tr_func 1
15662 EOF
15663  
15664 else
15665   echo "$ac_t""no" 1>&6
15666 fi
15667 done
15668     
15669   fi
15670
15671   
15672   echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15673 echo "configure:15674: checking for _fmodl declaration" >&5
15674   if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15675   echo $ac_n "(cached) $ac_c" 1>&6
15676 else
15677   
15678     
15679     ac_ext=C
15680 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15681 ac_cpp='$CXXCPP $CPPFLAGS'
15682 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15683 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15684 cross_compiling=$ac_cv_prog_cxx_cross
15685
15686     cat > conftest.$ac_ext <<EOF
15687 #line 15688 "configure"
15688 #include "confdefs.h"
15689 #include <math.h>
15690 int main() {
15691  _fmodl(0, 0);
15692 ; return 0; }
15693 EOF
15694 if { (eval echo configure:15695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15695   rm -rf conftest*
15696   glibcpp_cv_func__fmodl_use=yes
15697 else
15698   echo "configure: failed program was:" >&5
15699   cat conftest.$ac_ext >&5
15700   rm -rf conftest*
15701   glibcpp_cv_func__fmodl_use=no
15702 fi
15703 rm -f conftest*
15704     ac_ext=c
15705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15706 ac_cpp='$CPP $CPPFLAGS'
15707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15709 cross_compiling=$ac_cv_prog_cc_cross
15710
15711   
15712 fi
15713
15714   echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15715   if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15716     for ac_func in _fmodl
15717 do
15718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15719 echo "configure:15720: checking for $ac_func" >&5
15720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15721   echo $ac_n "(cached) $ac_c" 1>&6
15722 else
15723   cat > conftest.$ac_ext <<EOF
15724 #line 15725 "configure"
15725 #include "confdefs.h"
15726 /* System header to define __stub macros and hopefully few prototypes,
15727     which can conflict with char $ac_func(); below.  */
15728 #include <assert.h>
15729 /* Override any gcc2 internal prototype to avoid an error.  */
15730 /* We use char because int might match the return type of a gcc2
15731     builtin and then its argument prototype would still apply.  */
15732 char $ac_func();
15733
15734 int main() {
15735
15736 /* The GNU C library defines this for functions which it implements
15737     to always fail with ENOSYS.  Some functions are actually named
15738     something starting with __ and the normal name is an alias.  */
15739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15740 choke me
15741 #else
15742 $ac_func();
15743 #endif
15744
15745 ; return 0; }
15746 EOF
15747 if { (eval echo configure:15748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15748   rm -rf conftest*
15749   eval "ac_cv_func_$ac_func=yes"
15750 else
15751   echo "configure: failed program was:" >&5
15752   cat conftest.$ac_ext >&5
15753   rm -rf conftest*
15754   eval "ac_cv_func_$ac_func=no"
15755 fi
15756 rm -f conftest*
15757 fi
15758
15759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15760   echo "$ac_t""yes" 1>&6
15761     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15762   cat >> confdefs.h <<EOF
15763 #define $ac_tr_func 1
15764 EOF
15765  
15766 else
15767   echo "$ac_t""no" 1>&6
15768 fi
15769 done
15770     
15771   fi
15772
15773   
15774   echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15775 echo "configure:15776: checking for _frexpl declaration" >&5
15776   if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15777   echo $ac_n "(cached) $ac_c" 1>&6
15778 else
15779   
15780     
15781     ac_ext=C
15782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15783 ac_cpp='$CXXCPP $CPPFLAGS'
15784 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15785 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15786 cross_compiling=$ac_cv_prog_cxx_cross
15787
15788     cat > conftest.$ac_ext <<EOF
15789 #line 15790 "configure"
15790 #include "confdefs.h"
15791 #include <math.h>
15792 int main() {
15793  _frexpl(0, 0);
15794 ; return 0; }
15795 EOF
15796 if { (eval echo configure:15797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15797   rm -rf conftest*
15798   glibcpp_cv_func__frexpl_use=yes
15799 else
15800   echo "configure: failed program was:" >&5
15801   cat conftest.$ac_ext >&5
15802   rm -rf conftest*
15803   glibcpp_cv_func__frexpl_use=no
15804 fi
15805 rm -f conftest*
15806     ac_ext=c
15807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15808 ac_cpp='$CPP $CPPFLAGS'
15809 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15810 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15811 cross_compiling=$ac_cv_prog_cc_cross
15812
15813   
15814 fi
15815
15816   echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15817   if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15818     for ac_func in _frexpl
15819 do
15820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15821 echo "configure:15822: checking for $ac_func" >&5
15822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15823   echo $ac_n "(cached) $ac_c" 1>&6
15824 else
15825   cat > conftest.$ac_ext <<EOF
15826 #line 15827 "configure"
15827 #include "confdefs.h"
15828 /* System header to define __stub macros and hopefully few prototypes,
15829     which can conflict with char $ac_func(); below.  */
15830 #include <assert.h>
15831 /* Override any gcc2 internal prototype to avoid an error.  */
15832 /* We use char because int might match the return type of a gcc2
15833     builtin and then its argument prototype would still apply.  */
15834 char $ac_func();
15835
15836 int main() {
15837
15838 /* The GNU C library defines this for functions which it implements
15839     to always fail with ENOSYS.  Some functions are actually named
15840     something starting with __ and the normal name is an alias.  */
15841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15842 choke me
15843 #else
15844 $ac_func();
15845 #endif
15846
15847 ; return 0; }
15848 EOF
15849 if { (eval echo configure:15850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15850   rm -rf conftest*
15851   eval "ac_cv_func_$ac_func=yes"
15852 else
15853   echo "configure: failed program was:" >&5
15854   cat conftest.$ac_ext >&5
15855   rm -rf conftest*
15856   eval "ac_cv_func_$ac_func=no"
15857 fi
15858 rm -f conftest*
15859 fi
15860
15861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15862   echo "$ac_t""yes" 1>&6
15863     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15864   cat >> confdefs.h <<EOF
15865 #define $ac_tr_func 1
15866 EOF
15867  
15868 else
15869   echo "$ac_t""no" 1>&6
15870 fi
15871 done
15872     
15873   fi
15874
15875   
15876   echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15877 echo "configure:15878: checking for _ldexpl declaration" >&5
15878   if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15879   echo $ac_n "(cached) $ac_c" 1>&6
15880 else
15881   
15882     
15883     ac_ext=C
15884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15885 ac_cpp='$CXXCPP $CPPFLAGS'
15886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15888 cross_compiling=$ac_cv_prog_cxx_cross
15889
15890     cat > conftest.$ac_ext <<EOF
15891 #line 15892 "configure"
15892 #include "confdefs.h"
15893 #include <math.h>
15894 int main() {
15895  _ldexpl(0, 0);
15896 ; return 0; }
15897 EOF
15898 if { (eval echo configure:15899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15899   rm -rf conftest*
15900   glibcpp_cv_func__ldexpl_use=yes
15901 else
15902   echo "configure: failed program was:" >&5
15903   cat conftest.$ac_ext >&5
15904   rm -rf conftest*
15905   glibcpp_cv_func__ldexpl_use=no
15906 fi
15907 rm -f conftest*
15908     ac_ext=c
15909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15910 ac_cpp='$CPP $CPPFLAGS'
15911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15913 cross_compiling=$ac_cv_prog_cc_cross
15914
15915   
15916 fi
15917
15918   echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15919   if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15920     for ac_func in _ldexpl
15921 do
15922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15923 echo "configure:15924: checking for $ac_func" >&5
15924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15925   echo $ac_n "(cached) $ac_c" 1>&6
15926 else
15927   cat > conftest.$ac_ext <<EOF
15928 #line 15929 "configure"
15929 #include "confdefs.h"
15930 /* System header to define __stub macros and hopefully few prototypes,
15931     which can conflict with char $ac_func(); below.  */
15932 #include <assert.h>
15933 /* Override any gcc2 internal prototype to avoid an error.  */
15934 /* We use char because int might match the return type of a gcc2
15935     builtin and then its argument prototype would still apply.  */
15936 char $ac_func();
15937
15938 int main() {
15939
15940 /* The GNU C library defines this for functions which it implements
15941     to always fail with ENOSYS.  Some functions are actually named
15942     something starting with __ and the normal name is an alias.  */
15943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15944 choke me
15945 #else
15946 $ac_func();
15947 #endif
15948
15949 ; return 0; }
15950 EOF
15951 if { (eval echo configure:15952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15952   rm -rf conftest*
15953   eval "ac_cv_func_$ac_func=yes"
15954 else
15955   echo "configure: failed program was:" >&5
15956   cat conftest.$ac_ext >&5
15957   rm -rf conftest*
15958   eval "ac_cv_func_$ac_func=no"
15959 fi
15960 rm -f conftest*
15961 fi
15962
15963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15964   echo "$ac_t""yes" 1>&6
15965     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15966   cat >> confdefs.h <<EOF
15967 #define $ac_tr_func 1
15968 EOF
15969  
15970 else
15971   echo "$ac_t""no" 1>&6
15972 fi
15973 done
15974     
15975   fi
15976
15977   
15978   echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15979 echo "configure:15980: checking for _logl declaration" >&5
15980   if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15981   echo $ac_n "(cached) $ac_c" 1>&6
15982 else
15983   
15984     
15985     ac_ext=C
15986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15987 ac_cpp='$CXXCPP $CPPFLAGS'
15988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15990 cross_compiling=$ac_cv_prog_cxx_cross
15991
15992     cat > conftest.$ac_ext <<EOF
15993 #line 15994 "configure"
15994 #include "confdefs.h"
15995 #include <math.h>
15996 int main() {
15997  _logl(0);
15998 ; return 0; }
15999 EOF
16000 if { (eval echo configure:16001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16001   rm -rf conftest*
16002   glibcpp_cv_func__logl_use=yes
16003 else
16004   echo "configure: failed program was:" >&5
16005   cat conftest.$ac_ext >&5
16006   rm -rf conftest*
16007   glibcpp_cv_func__logl_use=no
16008 fi
16009 rm -f conftest*
16010     ac_ext=c
16011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16012 ac_cpp='$CPP $CPPFLAGS'
16013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16015 cross_compiling=$ac_cv_prog_cc_cross
16016
16017   
16018 fi
16019
16020   echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
16021   if test x$glibcpp_cv_func__logl_use = x"yes"; then
16022     for ac_func in _logl
16023 do
16024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16025 echo "configure:16026: checking for $ac_func" >&5
16026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16027   echo $ac_n "(cached) $ac_c" 1>&6
16028 else
16029   cat > conftest.$ac_ext <<EOF
16030 #line 16031 "configure"
16031 #include "confdefs.h"
16032 /* System header to define __stub macros and hopefully few prototypes,
16033     which can conflict with char $ac_func(); below.  */
16034 #include <assert.h>
16035 /* Override any gcc2 internal prototype to avoid an error.  */
16036 /* We use char because int might match the return type of a gcc2
16037     builtin and then its argument prototype would still apply.  */
16038 char $ac_func();
16039
16040 int main() {
16041
16042 /* The GNU C library defines this for functions which it implements
16043     to always fail with ENOSYS.  Some functions are actually named
16044     something starting with __ and the normal name is an alias.  */
16045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16046 choke me
16047 #else
16048 $ac_func();
16049 #endif
16050
16051 ; return 0; }
16052 EOF
16053 if { (eval echo configure:16054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16054   rm -rf conftest*
16055   eval "ac_cv_func_$ac_func=yes"
16056 else
16057   echo "configure: failed program was:" >&5
16058   cat conftest.$ac_ext >&5
16059   rm -rf conftest*
16060   eval "ac_cv_func_$ac_func=no"
16061 fi
16062 rm -f conftest*
16063 fi
16064
16065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16066   echo "$ac_t""yes" 1>&6
16067     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16068   cat >> confdefs.h <<EOF
16069 #define $ac_tr_func 1
16070 EOF
16071  
16072 else
16073   echo "$ac_t""no" 1>&6
16074 fi
16075 done
16076     
16077   fi
16078
16079   
16080   echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16081 echo "configure:16082: checking for _log10l declaration" >&5
16082   if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16083   echo $ac_n "(cached) $ac_c" 1>&6
16084 else
16085   
16086     
16087     ac_ext=C
16088 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16089 ac_cpp='$CXXCPP $CPPFLAGS'
16090 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16091 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16092 cross_compiling=$ac_cv_prog_cxx_cross
16093
16094     cat > conftest.$ac_ext <<EOF
16095 #line 16096 "configure"
16096 #include "confdefs.h"
16097 #include <math.h>
16098 int main() {
16099  _log10l(0);
16100 ; return 0; }
16101 EOF
16102 if { (eval echo configure:16103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16103   rm -rf conftest*
16104   glibcpp_cv_func__log10l_use=yes
16105 else
16106   echo "configure: failed program was:" >&5
16107   cat conftest.$ac_ext >&5
16108   rm -rf conftest*
16109   glibcpp_cv_func__log10l_use=no
16110 fi
16111 rm -f conftest*
16112     ac_ext=c
16113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16114 ac_cpp='$CPP $CPPFLAGS'
16115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16117 cross_compiling=$ac_cv_prog_cc_cross
16118
16119   
16120 fi
16121
16122   echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16123   if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16124     for ac_func in _log10l
16125 do
16126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16127 echo "configure:16128: checking for $ac_func" >&5
16128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16129   echo $ac_n "(cached) $ac_c" 1>&6
16130 else
16131   cat > conftest.$ac_ext <<EOF
16132 #line 16133 "configure"
16133 #include "confdefs.h"
16134 /* System header to define __stub macros and hopefully few prototypes,
16135     which can conflict with char $ac_func(); below.  */
16136 #include <assert.h>
16137 /* Override any gcc2 internal prototype to avoid an error.  */
16138 /* We use char because int might match the return type of a gcc2
16139     builtin and then its argument prototype would still apply.  */
16140 char $ac_func();
16141
16142 int main() {
16143
16144 /* The GNU C library defines this for functions which it implements
16145     to always fail with ENOSYS.  Some functions are actually named
16146     something starting with __ and the normal name is an alias.  */
16147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16148 choke me
16149 #else
16150 $ac_func();
16151 #endif
16152
16153 ; return 0; }
16154 EOF
16155 if { (eval echo configure:16156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16156   rm -rf conftest*
16157   eval "ac_cv_func_$ac_func=yes"
16158 else
16159   echo "configure: failed program was:" >&5
16160   cat conftest.$ac_ext >&5
16161   rm -rf conftest*
16162   eval "ac_cv_func_$ac_func=no"
16163 fi
16164 rm -f conftest*
16165 fi
16166
16167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16168   echo "$ac_t""yes" 1>&6
16169     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16170   cat >> confdefs.h <<EOF
16171 #define $ac_tr_func 1
16172 EOF
16173  
16174 else
16175   echo "$ac_t""no" 1>&6
16176 fi
16177 done
16178     
16179   fi
16180
16181   
16182   echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16183 echo "configure:16184: checking for _modfl declaration" >&5
16184   if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16185   echo $ac_n "(cached) $ac_c" 1>&6
16186 else
16187   
16188     
16189     ac_ext=C
16190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16191 ac_cpp='$CXXCPP $CPPFLAGS'
16192 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16193 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16194 cross_compiling=$ac_cv_prog_cxx_cross
16195
16196     cat > conftest.$ac_ext <<EOF
16197 #line 16198 "configure"
16198 #include "confdefs.h"
16199 #include <math.h>
16200 int main() {
16201  _modfl(0, 0);
16202 ; return 0; }
16203 EOF
16204 if { (eval echo configure:16205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16205   rm -rf conftest*
16206   glibcpp_cv_func__modfl_use=yes
16207 else
16208   echo "configure: failed program was:" >&5
16209   cat conftest.$ac_ext >&5
16210   rm -rf conftest*
16211   glibcpp_cv_func__modfl_use=no
16212 fi
16213 rm -f conftest*
16214     ac_ext=c
16215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16216 ac_cpp='$CPP $CPPFLAGS'
16217 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16218 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16219 cross_compiling=$ac_cv_prog_cc_cross
16220
16221   
16222 fi
16223
16224   echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16225   if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16226     for ac_func in _modfl
16227 do
16228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16229 echo "configure:16230: checking for $ac_func" >&5
16230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16231   echo $ac_n "(cached) $ac_c" 1>&6
16232 else
16233   cat > conftest.$ac_ext <<EOF
16234 #line 16235 "configure"
16235 #include "confdefs.h"
16236 /* System header to define __stub macros and hopefully few prototypes,
16237     which can conflict with char $ac_func(); below.  */
16238 #include <assert.h>
16239 /* Override any gcc2 internal prototype to avoid an error.  */
16240 /* We use char because int might match the return type of a gcc2
16241     builtin and then its argument prototype would still apply.  */
16242 char $ac_func();
16243
16244 int main() {
16245
16246 /* The GNU C library defines this for functions which it implements
16247     to always fail with ENOSYS.  Some functions are actually named
16248     something starting with __ and the normal name is an alias.  */
16249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16250 choke me
16251 #else
16252 $ac_func();
16253 #endif
16254
16255 ; return 0; }
16256 EOF
16257 if { (eval echo configure:16258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16258   rm -rf conftest*
16259   eval "ac_cv_func_$ac_func=yes"
16260 else
16261   echo "configure: failed program was:" >&5
16262   cat conftest.$ac_ext >&5
16263   rm -rf conftest*
16264   eval "ac_cv_func_$ac_func=no"
16265 fi
16266 rm -f conftest*
16267 fi
16268
16269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16270   echo "$ac_t""yes" 1>&6
16271     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16272   cat >> confdefs.h <<EOF
16273 #define $ac_tr_func 1
16274 EOF
16275  
16276 else
16277   echo "$ac_t""no" 1>&6
16278 fi
16279 done
16280     
16281   fi
16282
16283   
16284   echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16285 echo "configure:16286: checking for _powl declaration" >&5
16286   if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16287   echo $ac_n "(cached) $ac_c" 1>&6
16288 else
16289   
16290     
16291     ac_ext=C
16292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16293 ac_cpp='$CXXCPP $CPPFLAGS'
16294 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16295 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16296 cross_compiling=$ac_cv_prog_cxx_cross
16297
16298     cat > conftest.$ac_ext <<EOF
16299 #line 16300 "configure"
16300 #include "confdefs.h"
16301 #include <math.h>
16302 int main() {
16303  _powl(0, 0);
16304 ; return 0; }
16305 EOF
16306 if { (eval echo configure:16307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16307   rm -rf conftest*
16308   glibcpp_cv_func__powl_use=yes
16309 else
16310   echo "configure: failed program was:" >&5
16311   cat conftest.$ac_ext >&5
16312   rm -rf conftest*
16313   glibcpp_cv_func__powl_use=no
16314 fi
16315 rm -f conftest*
16316     ac_ext=c
16317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16318 ac_cpp='$CPP $CPPFLAGS'
16319 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16320 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16321 cross_compiling=$ac_cv_prog_cc_cross
16322
16323   
16324 fi
16325
16326   echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16327   if test x$glibcpp_cv_func__powl_use = x"yes"; then
16328     for ac_func in _powl
16329 do
16330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16331 echo "configure:16332: checking for $ac_func" >&5
16332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16333   echo $ac_n "(cached) $ac_c" 1>&6
16334 else
16335   cat > conftest.$ac_ext <<EOF
16336 #line 16337 "configure"
16337 #include "confdefs.h"
16338 /* System header to define __stub macros and hopefully few prototypes,
16339     which can conflict with char $ac_func(); below.  */
16340 #include <assert.h>
16341 /* Override any gcc2 internal prototype to avoid an error.  */
16342 /* We use char because int might match the return type of a gcc2
16343     builtin and then its argument prototype would still apply.  */
16344 char $ac_func();
16345
16346 int main() {
16347
16348 /* The GNU C library defines this for functions which it implements
16349     to always fail with ENOSYS.  Some functions are actually named
16350     something starting with __ and the normal name is an alias.  */
16351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16352 choke me
16353 #else
16354 $ac_func();
16355 #endif
16356
16357 ; return 0; }
16358 EOF
16359 if { (eval echo configure:16360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16360   rm -rf conftest*
16361   eval "ac_cv_func_$ac_func=yes"
16362 else
16363   echo "configure: failed program was:" >&5
16364   cat conftest.$ac_ext >&5
16365   rm -rf conftest*
16366   eval "ac_cv_func_$ac_func=no"
16367 fi
16368 rm -f conftest*
16369 fi
16370
16371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16372   echo "$ac_t""yes" 1>&6
16373     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16374   cat >> confdefs.h <<EOF
16375 #define $ac_tr_func 1
16376 EOF
16377  
16378 else
16379   echo "$ac_t""no" 1>&6
16380 fi
16381 done
16382     
16383   fi
16384
16385   
16386   echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16387 echo "configure:16388: checking for _sinl declaration" >&5
16388   if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16389   echo $ac_n "(cached) $ac_c" 1>&6
16390 else
16391   
16392     
16393     ac_ext=C
16394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16395 ac_cpp='$CXXCPP $CPPFLAGS'
16396 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16397 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16398 cross_compiling=$ac_cv_prog_cxx_cross
16399
16400     cat > conftest.$ac_ext <<EOF
16401 #line 16402 "configure"
16402 #include "confdefs.h"
16403 #include <math.h>
16404 int main() {
16405  _sinl(0);
16406 ; return 0; }
16407 EOF
16408 if { (eval echo configure:16409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16409   rm -rf conftest*
16410   glibcpp_cv_func__sinl_use=yes
16411 else
16412   echo "configure: failed program was:" >&5
16413   cat conftest.$ac_ext >&5
16414   rm -rf conftest*
16415   glibcpp_cv_func__sinl_use=no
16416 fi
16417 rm -f conftest*
16418     ac_ext=c
16419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16420 ac_cpp='$CPP $CPPFLAGS'
16421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16423 cross_compiling=$ac_cv_prog_cc_cross
16424
16425   
16426 fi
16427
16428   echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16429   if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16430     for ac_func in _sinl
16431 do
16432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16433 echo "configure:16434: checking for $ac_func" >&5
16434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16435   echo $ac_n "(cached) $ac_c" 1>&6
16436 else
16437   cat > conftest.$ac_ext <<EOF
16438 #line 16439 "configure"
16439 #include "confdefs.h"
16440 /* System header to define __stub macros and hopefully few prototypes,
16441     which can conflict with char $ac_func(); below.  */
16442 #include <assert.h>
16443 /* Override any gcc2 internal prototype to avoid an error.  */
16444 /* We use char because int might match the return type of a gcc2
16445     builtin and then its argument prototype would still apply.  */
16446 char $ac_func();
16447
16448 int main() {
16449
16450 /* The GNU C library defines this for functions which it implements
16451     to always fail with ENOSYS.  Some functions are actually named
16452     something starting with __ and the normal name is an alias.  */
16453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16454 choke me
16455 #else
16456 $ac_func();
16457 #endif
16458
16459 ; return 0; }
16460 EOF
16461 if { (eval echo configure:16462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16462   rm -rf conftest*
16463   eval "ac_cv_func_$ac_func=yes"
16464 else
16465   echo "configure: failed program was:" >&5
16466   cat conftest.$ac_ext >&5
16467   rm -rf conftest*
16468   eval "ac_cv_func_$ac_func=no"
16469 fi
16470 rm -f conftest*
16471 fi
16472
16473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16474   echo "$ac_t""yes" 1>&6
16475     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16476   cat >> confdefs.h <<EOF
16477 #define $ac_tr_func 1
16478 EOF
16479  
16480 else
16481   echo "$ac_t""no" 1>&6
16482 fi
16483 done
16484     
16485   fi
16486
16487   
16488   echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16489 echo "configure:16490: checking for _sinhl declaration" >&5
16490   if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16491   echo $ac_n "(cached) $ac_c" 1>&6
16492 else
16493   
16494     
16495     ac_ext=C
16496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16497 ac_cpp='$CXXCPP $CPPFLAGS'
16498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16500 cross_compiling=$ac_cv_prog_cxx_cross
16501
16502     cat > conftest.$ac_ext <<EOF
16503 #line 16504 "configure"
16504 #include "confdefs.h"
16505 #include <math.h>
16506 int main() {
16507  _sinhl(0);
16508 ; return 0; }
16509 EOF
16510 if { (eval echo configure:16511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16511   rm -rf conftest*
16512   glibcpp_cv_func__sinhl_use=yes
16513 else
16514   echo "configure: failed program was:" >&5
16515   cat conftest.$ac_ext >&5
16516   rm -rf conftest*
16517   glibcpp_cv_func__sinhl_use=no
16518 fi
16519 rm -f conftest*
16520     ac_ext=c
16521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16522 ac_cpp='$CPP $CPPFLAGS'
16523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16525 cross_compiling=$ac_cv_prog_cc_cross
16526
16527   
16528 fi
16529
16530   echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16531   if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16532     for ac_func in _sinhl
16533 do
16534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16535 echo "configure:16536: checking for $ac_func" >&5
16536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16537   echo $ac_n "(cached) $ac_c" 1>&6
16538 else
16539   cat > conftest.$ac_ext <<EOF
16540 #line 16541 "configure"
16541 #include "confdefs.h"
16542 /* System header to define __stub macros and hopefully few prototypes,
16543     which can conflict with char $ac_func(); below.  */
16544 #include <assert.h>
16545 /* Override any gcc2 internal prototype to avoid an error.  */
16546 /* We use char because int might match the return type of a gcc2
16547     builtin and then its argument prototype would still apply.  */
16548 char $ac_func();
16549
16550 int main() {
16551
16552 /* The GNU C library defines this for functions which it implements
16553     to always fail with ENOSYS.  Some functions are actually named
16554     something starting with __ and the normal name is an alias.  */
16555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16556 choke me
16557 #else
16558 $ac_func();
16559 #endif
16560
16561 ; return 0; }
16562 EOF
16563 if { (eval echo configure:16564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16564   rm -rf conftest*
16565   eval "ac_cv_func_$ac_func=yes"
16566 else
16567   echo "configure: failed program was:" >&5
16568   cat conftest.$ac_ext >&5
16569   rm -rf conftest*
16570   eval "ac_cv_func_$ac_func=no"
16571 fi
16572 rm -f conftest*
16573 fi
16574
16575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16576   echo "$ac_t""yes" 1>&6
16577     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16578   cat >> confdefs.h <<EOF
16579 #define $ac_tr_func 1
16580 EOF
16581  
16582 else
16583   echo "$ac_t""no" 1>&6
16584 fi
16585 done
16586     
16587   fi
16588
16589   
16590   echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16591 echo "configure:16592: checking for _sqrtl declaration" >&5
16592   if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16593   echo $ac_n "(cached) $ac_c" 1>&6
16594 else
16595   
16596     
16597     ac_ext=C
16598 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16599 ac_cpp='$CXXCPP $CPPFLAGS'
16600 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16601 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16602 cross_compiling=$ac_cv_prog_cxx_cross
16603
16604     cat > conftest.$ac_ext <<EOF
16605 #line 16606 "configure"
16606 #include "confdefs.h"
16607 #include <math.h>
16608 int main() {
16609  _sqrtl(0);
16610 ; return 0; }
16611 EOF
16612 if { (eval echo configure:16613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16613   rm -rf conftest*
16614   glibcpp_cv_func__sqrtl_use=yes
16615 else
16616   echo "configure: failed program was:" >&5
16617   cat conftest.$ac_ext >&5
16618   rm -rf conftest*
16619   glibcpp_cv_func__sqrtl_use=no
16620 fi
16621 rm -f conftest*
16622     ac_ext=c
16623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16624 ac_cpp='$CPP $CPPFLAGS'
16625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16627 cross_compiling=$ac_cv_prog_cc_cross
16628
16629   
16630 fi
16631
16632   echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16633   if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16634     for ac_func in _sqrtl
16635 do
16636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16637 echo "configure:16638: checking for $ac_func" >&5
16638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16639   echo $ac_n "(cached) $ac_c" 1>&6
16640 else
16641   cat > conftest.$ac_ext <<EOF
16642 #line 16643 "configure"
16643 #include "confdefs.h"
16644 /* System header to define __stub macros and hopefully few prototypes,
16645     which can conflict with char $ac_func(); below.  */
16646 #include <assert.h>
16647 /* Override any gcc2 internal prototype to avoid an error.  */
16648 /* We use char because int might match the return type of a gcc2
16649     builtin and then its argument prototype would still apply.  */
16650 char $ac_func();
16651
16652 int main() {
16653
16654 /* The GNU C library defines this for functions which it implements
16655     to always fail with ENOSYS.  Some functions are actually named
16656     something starting with __ and the normal name is an alias.  */
16657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16658 choke me
16659 #else
16660 $ac_func();
16661 #endif
16662
16663 ; return 0; }
16664 EOF
16665 if { (eval echo configure:16666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16666   rm -rf conftest*
16667   eval "ac_cv_func_$ac_func=yes"
16668 else
16669   echo "configure: failed program was:" >&5
16670   cat conftest.$ac_ext >&5
16671   rm -rf conftest*
16672   eval "ac_cv_func_$ac_func=no"
16673 fi
16674 rm -f conftest*
16675 fi
16676
16677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16678   echo "$ac_t""yes" 1>&6
16679     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16680   cat >> confdefs.h <<EOF
16681 #define $ac_tr_func 1
16682 EOF
16683  
16684 else
16685   echo "$ac_t""no" 1>&6
16686 fi
16687 done
16688     
16689   fi
16690
16691   
16692   echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16693 echo "configure:16694: checking for _tanl declaration" >&5
16694   if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16695   echo $ac_n "(cached) $ac_c" 1>&6
16696 else
16697   
16698     
16699     ac_ext=C
16700 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16701 ac_cpp='$CXXCPP $CPPFLAGS'
16702 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16703 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16704 cross_compiling=$ac_cv_prog_cxx_cross
16705
16706     cat > conftest.$ac_ext <<EOF
16707 #line 16708 "configure"
16708 #include "confdefs.h"
16709 #include <math.h>
16710 int main() {
16711  _tanl(0);
16712 ; return 0; }
16713 EOF
16714 if { (eval echo configure:16715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16715   rm -rf conftest*
16716   glibcpp_cv_func__tanl_use=yes
16717 else
16718   echo "configure: failed program was:" >&5
16719   cat conftest.$ac_ext >&5
16720   rm -rf conftest*
16721   glibcpp_cv_func__tanl_use=no
16722 fi
16723 rm -f conftest*
16724     ac_ext=c
16725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16726 ac_cpp='$CPP $CPPFLAGS'
16727 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16728 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16729 cross_compiling=$ac_cv_prog_cc_cross
16730
16731   
16732 fi
16733
16734   echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16735   if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16736     for ac_func in _tanl
16737 do
16738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16739 echo "configure:16740: checking for $ac_func" >&5
16740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16741   echo $ac_n "(cached) $ac_c" 1>&6
16742 else
16743   cat > conftest.$ac_ext <<EOF
16744 #line 16745 "configure"
16745 #include "confdefs.h"
16746 /* System header to define __stub macros and hopefully few prototypes,
16747     which can conflict with char $ac_func(); below.  */
16748 #include <assert.h>
16749 /* Override any gcc2 internal prototype to avoid an error.  */
16750 /* We use char because int might match the return type of a gcc2
16751     builtin and then its argument prototype would still apply.  */
16752 char $ac_func();
16753
16754 int main() {
16755
16756 /* The GNU C library defines this for functions which it implements
16757     to always fail with ENOSYS.  Some functions are actually named
16758     something starting with __ and the normal name is an alias.  */
16759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16760 choke me
16761 #else
16762 $ac_func();
16763 #endif
16764
16765 ; return 0; }
16766 EOF
16767 if { (eval echo configure:16768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16768   rm -rf conftest*
16769   eval "ac_cv_func_$ac_func=yes"
16770 else
16771   echo "configure: failed program was:" >&5
16772   cat conftest.$ac_ext >&5
16773   rm -rf conftest*
16774   eval "ac_cv_func_$ac_func=no"
16775 fi
16776 rm -f conftest*
16777 fi
16778
16779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16780   echo "$ac_t""yes" 1>&6
16781     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16782   cat >> confdefs.h <<EOF
16783 #define $ac_tr_func 1
16784 EOF
16785  
16786 else
16787   echo "$ac_t""no" 1>&6
16788 fi
16789 done
16790     
16791   fi
16792
16793   
16794   echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16795 echo "configure:16796: checking for _tanhl declaration" >&5
16796   if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16797   echo $ac_n "(cached) $ac_c" 1>&6
16798 else
16799   
16800     
16801     ac_ext=C
16802 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16803 ac_cpp='$CXXCPP $CPPFLAGS'
16804 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16805 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16806 cross_compiling=$ac_cv_prog_cxx_cross
16807
16808     cat > conftest.$ac_ext <<EOF
16809 #line 16810 "configure"
16810 #include "confdefs.h"
16811 #include <math.h>
16812 int main() {
16813  _tanhl(0);
16814 ; return 0; }
16815 EOF
16816 if { (eval echo configure:16817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16817   rm -rf conftest*
16818   glibcpp_cv_func__tanhl_use=yes
16819 else
16820   echo "configure: failed program was:" >&5
16821   cat conftest.$ac_ext >&5
16822   rm -rf conftest*
16823   glibcpp_cv_func__tanhl_use=no
16824 fi
16825 rm -f conftest*
16826     ac_ext=c
16827 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16828 ac_cpp='$CPP $CPPFLAGS'
16829 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16830 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16831 cross_compiling=$ac_cv_prog_cc_cross
16832
16833   
16834 fi
16835
16836   echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
16837   if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
16838     for ac_func in _tanhl
16839 do
16840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16841 echo "configure:16842: checking for $ac_func" >&5
16842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16843   echo $ac_n "(cached) $ac_c" 1>&6
16844 else
16845   cat > conftest.$ac_ext <<EOF
16846 #line 16847 "configure"
16847 #include "confdefs.h"
16848 /* System header to define __stub macros and hopefully few prototypes,
16849     which can conflict with char $ac_func(); below.  */
16850 #include <assert.h>
16851 /* Override any gcc2 internal prototype to avoid an error.  */
16852 /* We use char because int might match the return type of a gcc2
16853     builtin and then its argument prototype would still apply.  */
16854 char $ac_func();
16855
16856 int main() {
16857
16858 /* The GNU C library defines this for functions which it implements
16859     to always fail with ENOSYS.  Some functions are actually named
16860     something starting with __ and the normal name is an alias.  */
16861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16862 choke me
16863 #else
16864 $ac_func();
16865 #endif
16866
16867 ; return 0; }
16868 EOF
16869 if { (eval echo configure:16870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16870   rm -rf conftest*
16871   eval "ac_cv_func_$ac_func=yes"
16872 else
16873   echo "configure: failed program was:" >&5
16874   cat conftest.$ac_ext >&5
16875   rm -rf conftest*
16876   eval "ac_cv_func_$ac_func=no"
16877 fi
16878 rm -f conftest*
16879 fi
16880
16881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16882   echo "$ac_t""yes" 1>&6
16883     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16884   cat >> confdefs.h <<EOF
16885 #define $ac_tr_func 1
16886 EOF
16887  
16888 else
16889   echo "$ac_t""no" 1>&6
16890 fi
16891 done
16892     
16893   fi
16894
16895   
16896   echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16897 echo "configure:16898: checking for _sincosl declaration" >&5
16898   if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16899   echo $ac_n "(cached) $ac_c" 1>&6
16900 else
16901   
16902     
16903     ac_ext=C
16904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16905 ac_cpp='$CXXCPP $CPPFLAGS'
16906 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16907 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16908 cross_compiling=$ac_cv_prog_cxx_cross
16909
16910     cat > conftest.$ac_ext <<EOF
16911 #line 16912 "configure"
16912 #include "confdefs.h"
16913 #include <math.h>
16914 int main() {
16915  _sincosl(0, 0, 0);
16916 ; return 0; }
16917 EOF
16918 if { (eval echo configure:16919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16919   rm -rf conftest*
16920   glibcpp_cv_func__sincosl_use=yes
16921 else
16922   echo "configure: failed program was:" >&5
16923   cat conftest.$ac_ext >&5
16924   rm -rf conftest*
16925   glibcpp_cv_func__sincosl_use=no
16926 fi
16927 rm -f conftest*
16928     ac_ext=c
16929 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16930 ac_cpp='$CPP $CPPFLAGS'
16931 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16932 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16933 cross_compiling=$ac_cv_prog_cc_cross
16934
16935   
16936 fi
16937
16938   echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16939   if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16940     for ac_func in _sincosl
16941 do
16942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16943 echo "configure:16944: checking for $ac_func" >&5
16944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16945   echo $ac_n "(cached) $ac_c" 1>&6
16946 else
16947   cat > conftest.$ac_ext <<EOF
16948 #line 16949 "configure"
16949 #include "confdefs.h"
16950 /* System header to define __stub macros and hopefully few prototypes,
16951     which can conflict with char $ac_func(); below.  */
16952 #include <assert.h>
16953 /* Override any gcc2 internal prototype to avoid an error.  */
16954 /* We use char because int might match the return type of a gcc2
16955     builtin and then its argument prototype would still apply.  */
16956 char $ac_func();
16957
16958 int main() {
16959
16960 /* The GNU C library defines this for functions which it implements
16961     to always fail with ENOSYS.  Some functions are actually named
16962     something starting with __ and the normal name is an alias.  */
16963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16964 choke me
16965 #else
16966 $ac_func();
16967 #endif
16968
16969 ; return 0; }
16970 EOF
16971 if { (eval echo configure:16972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16972   rm -rf conftest*
16973   eval "ac_cv_func_$ac_func=yes"
16974 else
16975   echo "configure: failed program was:" >&5
16976   cat conftest.$ac_ext >&5
16977   rm -rf conftest*
16978   eval "ac_cv_func_$ac_func=no"
16979 fi
16980 rm -f conftest*
16981 fi
16982
16983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16984   echo "$ac_t""yes" 1>&6
16985     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16986   cat >> confdefs.h <<EOF
16987 #define $ac_tr_func 1
16988 EOF
16989  
16990 else
16991   echo "$ac_t""no" 1>&6
16992 fi
16993 done
16994     
16995   fi
16996
16997   
16998   echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
16999 echo "configure:17000: checking for _finitel declaration" >&5
17000   if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17001   echo $ac_n "(cached) $ac_c" 1>&6
17002 else
17003   
17004     
17005     ac_ext=C
17006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17007 ac_cpp='$CXXCPP $CPPFLAGS'
17008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17010 cross_compiling=$ac_cv_prog_cxx_cross
17011
17012     cat > conftest.$ac_ext <<EOF
17013 #line 17014 "configure"
17014 #include "confdefs.h"
17015 #include <math.h>
17016 int main() {
17017  _finitel(0);
17018 ; return 0; }
17019 EOF
17020 if { (eval echo configure:17021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17021   rm -rf conftest*
17022   glibcpp_cv_func__finitel_use=yes
17023 else
17024   echo "configure: failed program was:" >&5
17025   cat conftest.$ac_ext >&5
17026   rm -rf conftest*
17027   glibcpp_cv_func__finitel_use=no
17028 fi
17029 rm -f conftest*
17030     ac_ext=c
17031 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17032 ac_cpp='$CPP $CPPFLAGS'
17033 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17034 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17035 cross_compiling=$ac_cv_prog_cc_cross
17036
17037   
17038 fi
17039
17040   echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17041   if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17042     for ac_func in _finitel
17043 do
17044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17045 echo "configure:17046: checking for $ac_func" >&5
17046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17047   echo $ac_n "(cached) $ac_c" 1>&6
17048 else
17049   cat > conftest.$ac_ext <<EOF
17050 #line 17051 "configure"
17051 #include "confdefs.h"
17052 /* System header to define __stub macros and hopefully few prototypes,
17053     which can conflict with char $ac_func(); below.  */
17054 #include <assert.h>
17055 /* Override any gcc2 internal prototype to avoid an error.  */
17056 /* We use char because int might match the return type of a gcc2
17057     builtin and then its argument prototype would still apply.  */
17058 char $ac_func();
17059
17060 int main() {
17061
17062 /* The GNU C library defines this for functions which it implements
17063     to always fail with ENOSYS.  Some functions are actually named
17064     something starting with __ and the normal name is an alias.  */
17065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17066 choke me
17067 #else
17068 $ac_func();
17069 #endif
17070
17071 ; return 0; }
17072 EOF
17073 if { (eval echo configure:17074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17074   rm -rf conftest*
17075   eval "ac_cv_func_$ac_func=yes"
17076 else
17077   echo "configure: failed program was:" >&5
17078   cat conftest.$ac_ext >&5
17079   rm -rf conftest*
17080   eval "ac_cv_func_$ac_func=no"
17081 fi
17082 rm -f conftest*
17083 fi
17084
17085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17086   echo "$ac_t""yes" 1>&6
17087     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17088   cat >> confdefs.h <<EOF
17089 #define $ac_tr_func 1
17090 EOF
17091  
17092 else
17093   echo "$ac_t""no" 1>&6
17094 fi
17095 done
17096     
17097   fi
17098
17099
17100   LIBS="$ac_save_LIBS"
17101   CXXFLAGS="$ac_save_CXXFLAGS"
17102
17103   
17104     for ac_hdr in complex.h
17105 do
17106 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17107 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17108 echo "configure:17109: checking for $ac_hdr" >&5
17109 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17110   echo $ac_n "(cached) $ac_c" 1>&6
17111 else
17112   cat > conftest.$ac_ext <<EOF
17113 #line 17114 "configure"
17114 #include "confdefs.h"
17115 #include <$ac_hdr>
17116 EOF
17117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17118 { (eval echo configure:17119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17120 if test -z "$ac_err"; then
17121   rm -rf conftest*
17122   eval "ac_cv_header_$ac_safe=yes"
17123 else
17124   echo "$ac_err" >&5
17125   echo "configure: failed program was:" >&5
17126   cat conftest.$ac_ext >&5
17127   rm -rf conftest*
17128   eval "ac_cv_header_$ac_safe=no"
17129 fi
17130 rm -f conftest*
17131 fi
17132 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17133   echo "$ac_t""yes" 1>&6
17134     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17135   cat >> confdefs.h <<EOF
17136 #define $ac_tr_hdr 1
17137 EOF
17138  
17139 else
17140   echo "$ac_t""no" 1>&6
17141 fi
17142 done
17143
17144   for ac_func in ccos ccosf ccosh ccoshf cexp cexpf c_log c_logf \
17145   clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt csqrtf \
17146   ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf copysignf
17147 do
17148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17149 echo "configure:17150: checking for $ac_func" >&5
17150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17151   echo $ac_n "(cached) $ac_c" 1>&6
17152 else
17153   cat > conftest.$ac_ext <<EOF
17154 #line 17155 "configure"
17155 #include "confdefs.h"
17156 /* System header to define __stub macros and hopefully few prototypes,
17157     which can conflict with char $ac_func(); below.  */
17158 #include <assert.h>
17159 /* Override any gcc2 internal prototype to avoid an error.  */
17160 /* We use char because int might match the return type of a gcc2
17161     builtin and then its argument prototype would still apply.  */
17162 char $ac_func();
17163
17164 int main() {
17165
17166 /* The GNU C library defines this for functions which it implements
17167     to always fail with ENOSYS.  Some functions are actually named
17168     something starting with __ and the normal name is an alias.  */
17169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17170 choke me
17171 #else
17172 $ac_func();
17173 #endif
17174
17175 ; return 0; }
17176 EOF
17177 if { (eval echo configure:17178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17178   rm -rf conftest*
17179   eval "ac_cv_func_$ac_func=yes"
17180 else
17181   echo "configure: failed program was:" >&5
17182   cat conftest.$ac_ext >&5
17183   rm -rf conftest*
17184   eval "ac_cv_func_$ac_func=no"
17185 fi
17186 rm -f conftest*
17187 fi
17188
17189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17190   echo "$ac_t""yes" 1>&6
17191     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17192   cat >> confdefs.h <<EOF
17193 #define $ac_tr_func 1
17194 EOF
17195  
17196 else
17197   echo "$ac_t""no" 1>&6
17198 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17199 fi
17200 done
17201
17202
17203
17204           USE_COMPLEX_LONG_DOUBLE=no
17205   if test x$ac_cv_func_atan2l = x"yes" \
17206      && test x$ac_cv_func_copysignl = x"yes"; then
17207     USE_COMPLEX_LONG_DOUBLE=yes
17208     for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
17209     csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17210 do
17211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17212 echo "configure:17213: checking for $ac_func" >&5
17213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17214   echo $ac_n "(cached) $ac_c" 1>&6
17215 else
17216   cat > conftest.$ac_ext <<EOF
17217 #line 17218 "configure"
17218 #include "confdefs.h"
17219 /* System header to define __stub macros and hopefully few prototypes,
17220     which can conflict with char $ac_func(); below.  */
17221 #include <assert.h>
17222 /* Override any gcc2 internal prototype to avoid an error.  */
17223 /* We use char because int might match the return type of a gcc2
17224     builtin and then its argument prototype would still apply.  */
17225 char $ac_func();
17226
17227 int main() {
17228
17229 /* The GNU C library defines this for functions which it implements
17230     to always fail with ENOSYS.  Some functions are actually named
17231     something starting with __ and the normal name is an alias.  */
17232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17233 choke me
17234 #else
17235 $ac_func();
17236 #endif
17237
17238 ; return 0; }
17239 EOF
17240 if { (eval echo configure:17241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17241   rm -rf conftest*
17242   eval "ac_cv_func_$ac_func=yes"
17243 else
17244   echo "configure: failed program was:" >&5
17245   cat conftest.$ac_ext >&5
17246   rm -rf conftest*
17247   eval "ac_cv_func_$ac_func=no"
17248 fi
17249 rm -f conftest*
17250 fi
17251
17252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17253   echo "$ac_t""yes" 1>&6
17254     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17255   cat >> confdefs.h <<EOF
17256 #define $ac_tr_func 1
17257 EOF
17258  
17259 else
17260   echo "$ac_t""no" 1>&6
17261 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17262 fi
17263 done
17264
17265
17266   fi
17267
17268   
17269
17270   
17271   
17272
17273   echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17274 echo "configure:17275: checking for GNU C++ __complex__ support" >&5
17275   if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17276   echo $ac_n "(cached) $ac_c" 1>&6
17277 else
17278   
17279     
17280     ac_ext=C
17281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17282 ac_cpp='$CXXCPP $CPPFLAGS'
17283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17285 cross_compiling=$ac_cv_prog_cxx_cross
17286
17287     cat > conftest.$ac_ext <<EOF
17288 #line 17289 "configure"
17289 #include "confdefs.h"
17290 struct dcomplex { __complex__ double x; }; \
17291                     dcomplex f(const dcomplex& x) { return dcomplex(x); }
17292 int main() {
17293 \
17294                      dcomplex x; f(x); 
17295 ; return 0; }
17296 EOF
17297 if { (eval echo configure:17298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17298   rm -rf conftest*
17299   glibcpp_cv_complex=ok
17300 else
17301   echo "configure: failed program was:" >&5
17302   cat conftest.$ac_ext >&5
17303   rm -rf conftest*
17304   glibcpp_cv_complex=buggy
17305     
17306 fi
17307 rm -f conftest*
17308     ac_ext=c
17309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17310 ac_cpp='$CPP $CPPFLAGS'
17311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17313 cross_compiling=$ac_cv_prog_cc_cross
17314
17315   
17316 fi
17317
17318   echo "$ac_t""$glibcpp_cv_complex" 1>&6
17319   if test $glibcpp_cv_complex = buggy; then
17320     cat >> confdefs.h <<\EOF
17321 #define _GLIBCPP_BUGGY_COMPLEX 1
17322 EOF
17323
17324   fi
17325
17326   echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17327 echo "configure:17328: checking for GNU C++ __complex__ float support" >&5
17328   if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17329   echo $ac_n "(cached) $ac_c" 1>&6
17330 else
17331   
17332     
17333     ac_ext=C
17334 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17335 ac_cpp='$CXXCPP $CPPFLAGS'
17336 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17337 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17338 cross_compiling=$ac_cv_prog_cxx_cross
17339
17340     rm -f conftest.h
17341     cat > conftest.h <<EOB
17342       //
17343       // Check for buggy __complex__ that causes ICE in most versions of egcs
17344       // and gcc-2.95.x on certain platforms (eg., x86-win32).
17345       //
17346       // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
17347       // more info on the bug itself.
17348       //
17349       struct
17350       float_complex
17351       {
17352        __complex__ float m_value;
17353        float_complex (float = 0.0f, float = 0.0f);
17354        float_complex (__complex__ float val) : m_value (val) {}
17355        float_complex foo (const float_complex &val)
17356          { return float_complex (~val.m_value); }
17357       };
17358 EOB
17359     cat > conftest.$ac_ext <<EOF
17360 #line 17361 "configure"
17361 #include "confdefs.h"
17362 #include "conftest.h"
17363 int main() {
17364
17365 ; return 0; }
17366 EOF
17367 if { (eval echo configure:17368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17368   rm -rf conftest*
17369   glibcpp_cv_float_complex=ok
17370 else
17371   echo "configure: failed program was:" >&5
17372   cat conftest.$ac_ext >&5
17373   rm -rf conftest*
17374   glibcpp_cv_float_complex=buggy
17375     
17376 fi
17377 rm -f conftest*
17378     ac_ext=c
17379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17380 ac_cpp='$CPP $CPPFLAGS'
17381 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17382 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17383 cross_compiling=$ac_cv_prog_cc_cross
17384
17385   
17386 fi
17387
17388   echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17389   if test $glibcpp_cv_float_complex = buggy; then
17390     cat >> confdefs.h <<\EOF
17391 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17392 EOF
17393
17394   fi
17395
17396   cat > confcache <<\EOF
17397 # This file is a shell script that caches the results of configure
17398 # tests run on this system so they can be shared between configure
17399 # scripts and configure runs.  It is not useful on other systems.
17400 # If it contains results you don't want to keep, you may remove or edit it.
17401 #
17402 # By default, configure uses ./config.cache as the cache file,
17403 # creating it if it does not exist already.  You can give configure
17404 # the --cache-file=FILE option to use a different cache file; that is
17405 # what configure does when it calls configure scripts in
17406 # subdirectories, so they share the cache.
17407 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17408 # config.status only pays attention to the cache file if you give it the
17409 # --recheck option to rerun configure.
17410 #
17411 EOF
17412 # The following way of writing the cache mishandles newlines in values,
17413 # but we know of no workaround that is simple, portable, and efficient.
17414 # So, don't put newlines in cache variables' values.
17415 # Ultrix sh set writes to stderr and can't be redirected directly,
17416 # and sets the high bit in the cache file unless we assign to the vars.
17417 (set) 2>&1 |
17418   case `(ac_space=' '; set | grep ac_space) 2>&1` in
17419   *ac_space=\ *)
17420     # `set' does not quote correctly, so add quotes (double-quote substitution
17421     # turns \\\\ into \\, and sed turns \\ into \).
17422     sed -n \
17423       -e "s/'/'\\\\''/g" \
17424       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17425     ;;
17426   *)
17427     # `set' quotes correctly as required by POSIX, so do not add quotes.
17428     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17429     ;;
17430   esac >> confcache
17431 if cmp -s $cache_file confcache; then
17432   :
17433 else
17434   if test -w $cache_file; then
17435     echo "updating cache $cache_file"
17436     cat confcache > $cache_file
17437   else
17438     echo "not updating unwritable cache $cache_file"
17439   fi
17440 fi
17441 rm -f confcache
17442
17443   
17444
17445     ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17446 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17447 echo "configure:17448: checking for wchar.h" >&5
17448 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17449   echo $ac_n "(cached) $ac_c" 1>&6
17450 else
17451   cat > conftest.$ac_ext <<EOF
17452 #line 17453 "configure"
17453 #include "confdefs.h"
17454 #include <wchar.h>
17455 EOF
17456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17457 { (eval echo configure:17458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17459 if test -z "$ac_err"; then
17460   rm -rf conftest*
17461   eval "ac_cv_header_$ac_safe=yes"
17462 else
17463   echo "$ac_err" >&5
17464   echo "configure: failed program was:" >&5
17465   cat conftest.$ac_ext >&5
17466   rm -rf conftest*
17467   eval "ac_cv_header_$ac_safe=no"
17468 fi
17469 rm -f conftest*
17470 fi
17471 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17472   echo "$ac_t""yes" 1>&6
17473   ac_has_wchar_h=yes
17474 else
17475   echo "$ac_t""no" 1>&6
17476 ac_has_wchar_h=no
17477 fi
17478
17479   ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17480 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17481 echo "configure:17482: checking for wctype.h" >&5
17482 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17483   echo $ac_n "(cached) $ac_c" 1>&6
17484 else
17485   cat > conftest.$ac_ext <<EOF
17486 #line 17487 "configure"
17487 #include "confdefs.h"
17488 #include <wctype.h>
17489 EOF
17490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17491 { (eval echo configure:17492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17493 if test -z "$ac_err"; then
17494   rm -rf conftest*
17495   eval "ac_cv_header_$ac_safe=yes"
17496 else
17497   echo "$ac_err" >&5
17498   echo "configure: failed program was:" >&5
17499   cat conftest.$ac_ext >&5
17500   rm -rf conftest*
17501   eval "ac_cv_header_$ac_safe=no"
17502 fi
17503 rm -f conftest*
17504 fi
17505 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17506   echo "$ac_t""yes" 1>&6
17507   ac_has_wctype_h=yes
17508 else
17509   echo "$ac_t""no" 1>&6
17510 ac_has_wctype_h=no
17511 fi
17512
17513         
17514     if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17515
17516         echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17517 echo "configure:17518: checking for mbstate_t" >&5
17518     cat > conftest.$ac_ext <<EOF
17519 #line 17520 "configure"
17520 #include "confdefs.h"
17521 #include <wchar.h>
17522 int main() {
17523 mbstate_t teststate;
17524 ; return 0; }
17525 EOF
17526 if { (eval echo configure:17527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17527   rm -rf conftest*
17528   use_native_mbstatet=yes
17529 else
17530   echo "configure: failed program was:" >&5
17531   cat conftest.$ac_ext >&5
17532   rm -rf conftest*
17533   use_native_mbstatet=no
17534 fi
17535 rm -f conftest*
17536     echo "$ac_t""$use_native_mbstatet" 1>&6
17537     if test x"$use_native_mbstatet" = xno; then
17538       cat >> confdefs.h <<\EOF
17539 #define _GLIBCPP_NEED_MBSTATE_T 1
17540 EOF
17541
17542     fi
17543   
17544             echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17545 echo "configure:17546: checking for WCHAR_MIN and WCHAR_MAX" >&5
17546     cat > conftest.$ac_ext <<EOF
17547 #line 17548 "configure"
17548 #include "confdefs.h"
17549 #include <wchar.h>
17550 int main() {
17551 int i = WCHAR_MIN; int j = WCHAR_MAX;
17552 ; return 0; }
17553 EOF
17554 if { (eval echo configure:17555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17555   rm -rf conftest*
17556   has_wchar_minmax=yes
17557 else
17558   echo "configure: failed program was:" >&5
17559   cat conftest.$ac_ext >&5
17560   rm -rf conftest*
17561   has_wchar_minmax=no
17562 fi
17563 rm -f conftest*
17564     echo "$ac_t""$has_wchar_minmax" 1>&6
17565   
17566             echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17567 echo "configure:17568: checking for WEOF" >&5
17568     cat > conftest.$ac_ext <<EOF
17569 #line 17570 "configure"
17570 #include "confdefs.h"
17571
17572       #include <wchar.h>
17573       #include <stddef.h>
17574 int main() {
17575 wint_t i = WEOF;
17576 ; return 0; }
17577 EOF
17578 if { (eval echo configure:17579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17579   rm -rf conftest*
17580   has_weof=yes
17581 else
17582   echo "configure: failed program was:" >&5
17583   cat conftest.$ac_ext >&5
17584   rm -rf conftest*
17585   has_weof=no
17586 fi
17587 rm -f conftest*
17588     echo "$ac_t""$has_weof" 1>&6
17589
17590         for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
17591     wcsrtombs mbsrtowcs
17592 do
17593 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17594 echo "configure:17595: checking for $ac_func" >&5
17595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17596   echo $ac_n "(cached) $ac_c" 1>&6
17597 else
17598   cat > conftest.$ac_ext <<EOF
17599 #line 17600 "configure"
17600 #include "confdefs.h"
17601 /* System header to define __stub macros and hopefully few prototypes,
17602     which can conflict with char $ac_func(); below.  */
17603 #include <assert.h>
17604 /* Override any gcc2 internal prototype to avoid an error.  */
17605 /* We use char because int might match the return type of a gcc2
17606     builtin and then its argument prototype would still apply.  */
17607 char $ac_func();
17608
17609 int main() {
17610
17611 /* The GNU C library defines this for functions which it implements
17612     to always fail with ENOSYS.  Some functions are actually named
17613     something starting with __ and the normal name is an alias.  */
17614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17615 choke me
17616 #else
17617 $ac_func();
17618 #endif
17619
17620 ; return 0; }
17621 EOF
17622 if { (eval echo configure:17623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17623   rm -rf conftest*
17624   eval "ac_cv_func_$ac_func=yes"
17625 else
17626   echo "configure: failed program was:" >&5
17627   cat conftest.$ac_ext >&5
17628   rm -rf conftest*
17629   eval "ac_cv_func_$ac_func=no"
17630 fi
17631 rm -f conftest*
17632 fi
17633
17634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17635   echo "$ac_t""yes" 1>&6
17636     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17637   cat >> confdefs.h <<EOF
17638 #define $ac_tr_func 1
17639 EOF
17640  ac_wfuncs=yes
17641 else
17642   echo "$ac_t""no" 1>&6
17643 ac_wfuncs=no
17644 fi
17645 done
17646
17647
17648     echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6
17649 echo "configure:17650: checking for ISO C9X wchar_t support" >&5
17650     if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
17651        && test x"$ac_wfuncs" = xyes; then
17652       ac_isoC9X_wchar_t=yes
17653     else
17654       ac_isoC9X_wchar_t=no
17655     fi
17656     echo "$ac_t""$ac_isoC9X_wchar_t" 1>&6
17657
17658             ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17659 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17660 echo "configure:17661: checking for iconv.h" >&5
17661 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17662   echo $ac_n "(cached) $ac_c" 1>&6
17663 else
17664   cat > conftest.$ac_ext <<EOF
17665 #line 17666 "configure"
17666 #include "confdefs.h"
17667 #include <iconv.h>
17668 EOF
17669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17670 { (eval echo configure:17671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17672 if test -z "$ac_err"; then
17673   rm -rf conftest*
17674   eval "ac_cv_header_$ac_safe=yes"
17675 else
17676   echo "$ac_err" >&5
17677   echo "configure: failed program was:" >&5
17678   cat conftest.$ac_ext >&5
17679   rm -rf conftest*
17680   eval "ac_cv_header_$ac_safe=no"
17681 fi
17682 rm -f conftest*
17683 fi
17684 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17685   echo "$ac_t""yes" 1>&6
17686   ac_has_iconv_h=yes
17687 else
17688   echo "$ac_t""no" 1>&6
17689 ac_has_iconv_h=no
17690 fi
17691
17692     ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17693 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17694 echo "configure:17695: checking for langinfo.h" >&5
17695 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17696   echo $ac_n "(cached) $ac_c" 1>&6
17697 else
17698   cat > conftest.$ac_ext <<EOF
17699 #line 17700 "configure"
17700 #include "confdefs.h"
17701 #include <langinfo.h>
17702 EOF
17703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17704 { (eval echo configure:17705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17706 if test -z "$ac_err"; then
17707   rm -rf conftest*
17708   eval "ac_cv_header_$ac_safe=yes"
17709 else
17710   echo "$ac_err" >&5
17711   echo "configure: failed program was:" >&5
17712   cat conftest.$ac_ext >&5
17713   rm -rf conftest*
17714   eval "ac_cv_header_$ac_safe=no"
17715 fi
17716 rm -f conftest*
17717 fi
17718 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17719   echo "$ac_t""yes" 1>&6
17720   ac_has_langinfo_h=yes
17721 else
17722   echo "$ac_t""no" 1>&6
17723 ac_has_langinfo_h=no
17724 fi
17725
17726     for ac_func in iconv_open iconv_close iconv nl_langinfo
17727 do
17728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17729 echo "configure:17730: checking for $ac_func" >&5
17730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17731   echo $ac_n "(cached) $ac_c" 1>&6
17732 else
17733   cat > conftest.$ac_ext <<EOF
17734 #line 17735 "configure"
17735 #include "confdefs.h"
17736 /* System header to define __stub macros and hopefully few prototypes,
17737     which can conflict with char $ac_func(); below.  */
17738 #include <assert.h>
17739 /* Override any gcc2 internal prototype to avoid an error.  */
17740 /* We use char because int might match the return type of a gcc2
17741     builtin and then its argument prototype would still apply.  */
17742 char $ac_func();
17743
17744 int main() {
17745
17746 /* The GNU C library defines this for functions which it implements
17747     to always fail with ENOSYS.  Some functions are actually named
17748     something starting with __ and the normal name is an alias.  */
17749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17750 choke me
17751 #else
17752 $ac_func();
17753 #endif
17754
17755 ; return 0; }
17756 EOF
17757 if { (eval echo configure:17758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17758   rm -rf conftest*
17759   eval "ac_cv_func_$ac_func=yes"
17760 else
17761   echo "configure: failed program was:" >&5
17762   cat conftest.$ac_ext >&5
17763   rm -rf conftest*
17764   eval "ac_cv_func_$ac_func=no"
17765 fi
17766 rm -f conftest*
17767 fi
17768
17769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17770   echo "$ac_t""yes" 1>&6
17771     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17772   cat >> confdefs.h <<EOF
17773 #define $ac_tr_func 1
17774 EOF
17775  \
17776     ac_XPG2funcs=yes
17777 else
17778   echo "$ac_t""no" 1>&6
17779 ac_XPG2funcs=no
17780 fi
17781 done
17782
17783
17784     echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17785 echo "configure:17786: checking for XPG2 wchar_t support" >&5
17786     if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
17787        && test x"$ac_XPG2funcs" = xyes; then
17788       ac_XPG2_wchar_t=yes
17789     else
17790       ac_XPG2_wchar_t=no
17791     fi
17792     echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17793
17794             echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17795 echo "configure:17796: checking for enabled wchar_t specializations" >&5
17796     if test x"$ac_isoC9X_wchar_t" = xyes \
17797        && test x"$ac_XPG2_wchar_t" = xyes; then
17798       libinst_wstring_la="libinst-wstring.la"
17799       cat >> confdefs.h <<\EOF
17800 #define _GLIBCPP_USE_WCHAR_T 1
17801 EOF
17802
17803       echo "$ac_t"""yes"" 1>&6
17804     else
17805       libinst_wstring_la=""
17806       echo "$ac_t"""no"" 1>&6
17807     fi
17808     
17809
17810   else
17811     echo "configure: warning: <wchar.h> not found" 1>&2
17812     cat >> confdefs.h <<\EOF
17813 #define _GLIBCPP_NEED_MBSTATE_T 1
17814 EOF
17815
17816   fi
17817
17818   
17819   ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17820 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17821 echo "configure:17822: checking for ctype.h" >&5
17822 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17823   echo $ac_n "(cached) $ac_c" 1>&6
17824 else
17825   cat > conftest.$ac_ext <<EOF
17826 #line 17827 "configure"
17827 #include "confdefs.h"
17828 #include <ctype.h>
17829 EOF
17830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17831 { (eval echo configure:17832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17833 if test -z "$ac_err"; then
17834   rm -rf conftest*
17835   eval "ac_cv_header_$ac_safe=yes"
17836 else
17837   echo "$ac_err" >&5
17838   echo "configure: failed program was:" >&5
17839   cat conftest.$ac_ext >&5
17840   rm -rf conftest*
17841   eval "ac_cv_header_$ac_safe=no"
17842 fi
17843 rm -f conftest*
17844 fi
17845 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17846   echo "$ac_t""yes" 1>&6
17847   
17848     
17849         ctype_default=yes
17850
17851         echo $ac_n "checking <ctype> for GNU/Linux""... $ac_c" 1>&6
17852 echo "configure:17853: checking <ctype> for GNU/Linux" >&5
17853     cat > conftest.$ac_ext <<EOF
17854 #line 17855 "configure"
17855 #include "confdefs.h"
17856 #include <ctype.h>
17857 int main() {
17858 int
17859     foo (int a)
17860     { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
17861         + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
17862         + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
17863 ; return 0; }
17864 EOF
17865 if { (eval echo configure:17866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17866   rm -rf conftest*
17867   \
17868     ctype_linux=yes
17869 else
17870   echo "configure: failed program was:" >&5
17871   cat conftest.$ac_ext >&5
17872   rm -rf conftest*
17873   ctype_linux=no
17874 fi
17875 rm -f conftest*
17876     echo "$ac_t""$ctype_linux" 1>&6
17877     if test $ctype_linux = "yes"; then
17878       ctype_include_dir="config/os/gnu-linux"
17879       ctype_default=no
17880     fi
17881
17882         if test $ctype_default = "yes"; then
17883     echo $ac_n "checking <ctype> for FreeBSD 4.0""... $ac_c" 1>&6
17884 echo "configure:17885: checking <ctype> for FreeBSD 4.0" >&5
17885     cat > conftest.$ac_ext <<EOF
17886 #line 17887 "configure"
17887 #include "confdefs.h"
17888 #include <ctype.h>
17889 int main() {
17890 int
17891     foo (int a)
17892     { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
17893         + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
17894 ; return 0; }
17895 EOF
17896 if { (eval echo configure:17897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17897   rm -rf conftest*
17898   \
17899     ctype_bsd=yes
17900 else
17901   echo "configure: failed program was:" >&5
17902   cat conftest.$ac_ext >&5
17903   rm -rf conftest*
17904   ctype_bsd=no
17905 fi
17906 rm -f conftest*
17907     echo "$ac_t""$ctype_bsd" 1>&6
17908     if test $ctype_bsd = "yes"; then
17909       ctype_include_dir="config/os/bsd"
17910       ctype_default=no
17911     fi
17912     fi
17913
17914         if test $ctype_default = "yes"; then
17915     echo $ac_n "checking <ctype> for FreeBSD 3.4""... $ac_c" 1>&6
17916 echo "configure:17917: checking <ctype> for FreeBSD 3.4" >&5
17917     cat > conftest.$ac_ext <<EOF
17918 #line 17919 "configure"
17919 #include "confdefs.h"
17920 #include <ctype.h>
17921 int main() {
17922 int
17923     foo (int a)
17924     { return _S + _R + _C + _U + _L + _A \
17925       + _D + _P + _X + _G + __istype (a, 0);}
17926 ; return 0; }
17927 EOF
17928 if { (eval echo configure:17929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17929   rm -rf conftest*
17930   \
17931     ctype_freebsd34=yes
17932 else
17933   echo "configure: failed program was:" >&5
17934   cat conftest.$ac_ext >&5
17935   rm -rf conftest*
17936   ctype_freebsd34=no
17937 fi
17938 rm -f conftest*
17939     echo "$ac_t""$ctype_freebsd34" 1>&6
17940     if test $ctype_freebsd34 = "yes"; then
17941       ctype_include_dir="config/os/bsd"
17942       ctype_default=no
17943     fi
17944     fi
17945
17946         if test $ctype_default = "yes"; then
17947     echo $ac_n "checking <ctype> for Solaris 2.6,7,8""... $ac_c" 1>&6
17948 echo "configure:17949: checking <ctype> for Solaris 2.6,7,8" >&5
17949     cat > conftest.$ac_ext <<EOF
17950 #line 17951 "configure"
17951 #include "confdefs.h"
17952 #include <ctype.h>
17953 int main() {
17954 int
17955     foo (int a)
17956     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17957         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17958         + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
17959 ; return 0; }
17960 EOF
17961 if { (eval echo configure:17962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17962   rm -rf conftest*
17963   \
17964     ctype_solaris=yes
17965 else
17966   echo "configure: failed program was:" >&5
17967   cat conftest.$ac_ext >&5
17968   rm -rf conftest*
17969   ctype_solaris=no
17970 fi
17971 rm -f conftest*
17972     echo "$ac_t""$ctype_solaris" 1>&6
17973
17974     if test $ctype_solaris = "yes"; then
17975       echo $ac_n "checking   for version""... $ac_c" 1>&6
17976 echo "configure:17977: checking   for version" >&5
17977       ac_ext=C
17978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17979 ac_cpp='$CXXCPP $CPPFLAGS'
17980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17982 cross_compiling=$ac_cv_prog_cxx_cross
17983  
17984       cat > conftest.$ac_ext <<EOF
17985 #line 17986 "configure"
17986 #include "confdefs.h"
17987 #include <ctype.h>
17988 int main() {
17989 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
17990 ; return 0; }
17991 EOF
17992 if { (eval echo configure:17993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17993   rm -rf conftest*
17994   \
17995       ctype_solaris26=yes
17996 else
17997   echo "configure: failed program was:" >&5
17998   cat conftest.$ac_ext >&5
17999   rm -rf conftest*
18000   ctype_solaris26=no
18001 fi
18002 rm -f conftest*
18003       ac_ext=c
18004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18005 ac_cpp='$CPP $CPPFLAGS'
18006 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18007 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18008 cross_compiling=$ac_cv_prog_cc_cross
18009
18010       if test $ctype_solaris26 = "yes"; then
18011         ctype_include_dir="config/os/solaris/solaris2.6"
18012         echo "$ac_t""Solaris 2.6" 1>&6
18013         ctype_default=no
18014       else
18015         ctype_include_dir="config/os/solaris/solaris2.7"
18016         echo "$ac_t""Solaris 7,8" 1>&6
18017         ctype_default=no
18018       fi
18019     fi
18020     fi  
18021
18022         if test $ctype_default = "yes"; then
18023     echo $ac_n "checking <ctype> for Solaris 2.5.1""... $ac_c" 1>&6
18024 echo "configure:18025: checking <ctype> for Solaris 2.5.1" >&5
18025     cat > conftest.$ac_ext <<EOF
18026 #line 18027 "configure"
18027 #include "confdefs.h"
18028 #include <ctype.h>
18029 int main() {
18030 int
18031     foo (int a)
18032     { return _U + _L + _N + _S + _P + _C + _X + _B \
18033         + __ctype[a];}
18034 ; return 0; }
18035 EOF
18036 if { (eval echo configure:18037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18037   rm -rf conftest*
18038   \
18039     ctype_solaris25=yes
18040 else
18041   echo "configure: failed program was:" >&5
18042   cat conftest.$ac_ext >&5
18043   rm -rf conftest*
18044   ctype_solaris25=no
18045 fi
18046 rm -f conftest*
18047     echo "$ac_t""$ctype_solaris25" 1>&6
18048     if test $ctype_solaris25 = "yes"; then
18049       ctype_include_dir="config/os/solaris/solaris2.5"
18050       ctype_default=no
18051     fi
18052     fi
18053
18054         if test $ctype_default = "yes"; then
18055     echo $ac_n "checking <ctype> for AIX""... $ac_c" 1>&6
18056 echo "configure:18057: checking <ctype> for AIX" >&5
18057     cat > conftest.$ac_ext <<EOF
18058 #line 18059 "configure"
18059 #include "confdefs.h"
18060 #include <ctype.h>
18061 int main() {
18062 int
18063     foo (int a)
18064     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
18065         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
18066         + _VALC('a') + _IS('c', 0);}
18067 ; return 0; }
18068 EOF
18069 if { (eval echo configure:18070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18070   rm -rf conftest*
18071   \
18072     ctype_aix=yes
18073 else
18074   echo "configure: failed program was:" >&5
18075   cat conftest.$ac_ext >&5
18076   rm -rf conftest*
18077   ctype_aix=no
18078 fi
18079 rm -f conftest*
18080     echo "$ac_t""$ctype_aix" 1>&6
18081     if test $ctype_aix = "yes"; then
18082       ctype_include_dir="config/os/aix"
18083       ctype_default=no
18084     fi
18085     fi
18086
18087         if test $ctype_default = "yes"; then
18088     echo $ac_n "checking <ctype> for newlib""... $ac_c" 1>&6
18089 echo "configure:18090: checking <ctype> for newlib" >&5
18090     cat > conftest.$ac_ext <<EOF
18091 #line 18092 "configure"
18092 #include "confdefs.h"
18093 #include <ctype.h>
18094 int main() {
18095 int
18096     foo (int a)
18097     { return _U + _L + _N + _S + _P + _C + _X + _B \
18098         + _ctype_[a];}
18099 ; return 0; }
18100 EOF
18101 if { (eval echo configure:18102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18102   rm -rf conftest*
18103   \
18104     ctype_newlib=yes
18105 else
18106   echo "configure: failed program was:" >&5
18107   cat conftest.$ac_ext >&5
18108   rm -rf conftest*
18109   ctype_newlib=no
18110 fi
18111 rm -f conftest*
18112     echo "$ac_t""$ctype_newlib" 1>&6
18113     if test $ctype_newlib = "yes"; then
18114       ctype_include_dir="config/newlib"
18115       ctype_default=no
18116     fi
18117     fi
18118
18119     if test $ctype_default = "yes"; then
18120       ctype_include_dir="config/os/generic"
18121       echo "configure: warning: "Using default ctype headers."" 1>&2
18122     fi
18123
18124     
18125     
18126     
18127   
18128 else
18129   echo "$ac_t""no" 1>&6
18130 fi
18131
18132
18133
18134   for ac_hdr in unistd.h
18135 do
18136 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18137 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18138 echo "configure:18139: checking for $ac_hdr" >&5
18139 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18140   echo $ac_n "(cached) $ac_c" 1>&6
18141 else
18142   cat > conftest.$ac_ext <<EOF
18143 #line 18144 "configure"
18144 #include "confdefs.h"
18145 #include <$ac_hdr>
18146 EOF
18147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18148 { (eval echo configure:18149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18150 if test -z "$ac_err"; then
18151   rm -rf conftest*
18152   eval "ac_cv_header_$ac_safe=yes"
18153 else
18154   echo "$ac_err" >&5
18155   echo "configure: failed program was:" >&5
18156   cat conftest.$ac_ext >&5
18157   rm -rf conftest*
18158   eval "ac_cv_header_$ac_safe=no"
18159 fi
18160 rm -f conftest*
18161 fi
18162 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18163   echo "$ac_t""yes" 1>&6
18164     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18165   cat >> confdefs.h <<EOF
18166 #define $ac_tr_hdr 1
18167 EOF
18168  
18169 else
18170   echo "$ac_t""no" 1>&6
18171 fi
18172 done
18173
18174 for ac_func in getpagesize
18175 do
18176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18177 echo "configure:18178: checking for $ac_func" >&5
18178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18179   echo $ac_n "(cached) $ac_c" 1>&6
18180 else
18181   cat > conftest.$ac_ext <<EOF
18182 #line 18183 "configure"
18183 #include "confdefs.h"
18184 /* System header to define __stub macros and hopefully few prototypes,
18185     which can conflict with char $ac_func(); below.  */
18186 #include <assert.h>
18187 /* Override any gcc2 internal prototype to avoid an error.  */
18188 /* We use char because int might match the return type of a gcc2
18189     builtin and then its argument prototype would still apply.  */
18190 char $ac_func();
18191
18192 int main() {
18193
18194 /* The GNU C library defines this for functions which it implements
18195     to always fail with ENOSYS.  Some functions are actually named
18196     something starting with __ and the normal name is an alias.  */
18197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18198 choke me
18199 #else
18200 $ac_func();
18201 #endif
18202
18203 ; return 0; }
18204 EOF
18205 if { (eval echo configure:18206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18206   rm -rf conftest*
18207   eval "ac_cv_func_$ac_func=yes"
18208 else
18209   echo "configure: failed program was:" >&5
18210   cat conftest.$ac_ext >&5
18211   rm -rf conftest*
18212   eval "ac_cv_func_$ac_func=no"
18213 fi
18214 rm -f conftest*
18215 fi
18216
18217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18218   echo "$ac_t""yes" 1>&6
18219     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18220   cat >> confdefs.h <<EOF
18221 #define $ac_tr_func 1
18222 EOF
18223  
18224 else
18225   echo "$ac_t""no" 1>&6
18226 fi
18227 done
18228
18229 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18230 echo "configure:18231: checking for working mmap" >&5
18231 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18232   echo $ac_n "(cached) $ac_c" 1>&6
18233 else
18234   if test "$cross_compiling" = yes; then
18235   ac_cv_func_mmap_fixed_mapped=no
18236 else
18237   cat > conftest.$ac_ext <<EOF
18238 #line 18239 "configure"
18239 #include "confdefs.h"
18240
18241 /* Thanks to Mike Haertel and Jim Avera for this test.
18242    Here is a matrix of mmap possibilities:
18243         mmap private not fixed
18244         mmap private fixed at somewhere currently unmapped
18245         mmap private fixed at somewhere already mapped
18246         mmap shared not fixed
18247         mmap shared fixed at somewhere currently unmapped
18248         mmap shared fixed at somewhere already mapped
18249    For private mappings, we should verify that changes cannot be read()
18250    back from the file, nor mmap's back from the file at a different
18251    address.  (There have been systems where private was not correctly
18252    implemented like the infamous i386 svr4.0, and systems where the
18253    VM page cache was not coherent with the filesystem buffer cache
18254    like early versions of FreeBSD and possibly contemporary NetBSD.)
18255    For shared mappings, we should conversely verify that changes get
18256    propogated back to all the places they're supposed to be.
18257
18258    Grep wants private fixed already mapped.
18259    The main things grep needs to know about mmap are:
18260    * does it exist and is it safe to write into the mmap'd area
18261    * how to use it (BSD variants)  */
18262 #include <sys/types.h>
18263 #include <fcntl.h>
18264 #include <sys/mman.h>
18265
18266 /* This mess was copied from the GNU getpagesize.h.  */
18267 #ifndef HAVE_GETPAGESIZE
18268 # ifdef HAVE_UNISTD_H
18269 #  include <unistd.h>
18270 # endif
18271
18272 /* Assume that all systems that can run configure have sys/param.h.  */
18273 # ifndef HAVE_SYS_PARAM_H
18274 #  define HAVE_SYS_PARAM_H 1
18275 # endif
18276
18277 # ifdef _SC_PAGESIZE
18278 #  define getpagesize() sysconf(_SC_PAGESIZE)
18279 # else /* no _SC_PAGESIZE */
18280 #  ifdef HAVE_SYS_PARAM_H
18281 #   include <sys/param.h>
18282 #   ifdef EXEC_PAGESIZE
18283 #    define getpagesize() EXEC_PAGESIZE
18284 #   else /* no EXEC_PAGESIZE */
18285 #    ifdef NBPG
18286 #     define getpagesize() NBPG * CLSIZE
18287 #     ifndef CLSIZE
18288 #      define CLSIZE 1
18289 #     endif /* no CLSIZE */
18290 #    else /* no NBPG */
18291 #     ifdef NBPC
18292 #      define getpagesize() NBPC
18293 #     else /* no NBPC */
18294 #      ifdef PAGESIZE
18295 #       define getpagesize() PAGESIZE
18296 #      endif /* PAGESIZE */
18297 #     endif /* no NBPC */
18298 #    endif /* no NBPG */
18299 #   endif /* no EXEC_PAGESIZE */
18300 #  else /* no HAVE_SYS_PARAM_H */
18301 #   define getpagesize() 8192   /* punt totally */
18302 #  endif /* no HAVE_SYS_PARAM_H */
18303 # endif /* no _SC_PAGESIZE */
18304
18305 #endif /* no HAVE_GETPAGESIZE */
18306
18307 #ifdef __cplusplus
18308 extern "C" { void *malloc(unsigned); }
18309 #else
18310 char *malloc();
18311 #endif
18312
18313 int
18314 main()
18315 {
18316         char *data, *data2, *data3;
18317         int i, pagesize;
18318         int fd;
18319
18320         pagesize = getpagesize();
18321
18322         /*
18323          * First, make a file with some known garbage in it.
18324          */
18325         data = malloc(pagesize);
18326         if (!data)
18327                 exit(1);
18328         for (i = 0; i < pagesize; ++i)
18329                 *(data + i) = rand();
18330         umask(0);
18331         fd = creat("conftestmmap", 0600);
18332         if (fd < 0)
18333                 exit(1);
18334         if (write(fd, data, pagesize) != pagesize)
18335                 exit(1);
18336         close(fd);
18337
18338         /*
18339          * Next, try to mmap the file at a fixed address which
18340          * already has something else allocated at it.  If we can,
18341          * also make sure that we see the same garbage.
18342          */
18343         fd = open("conftestmmap", O_RDWR);
18344         if (fd < 0)
18345                 exit(1);
18346         data2 = malloc(2 * pagesize);
18347         if (!data2)
18348                 exit(1);
18349         data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18350         if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18351             MAP_PRIVATE | MAP_FIXED, fd, 0L))
18352                 exit(1);
18353         for (i = 0; i < pagesize; ++i)
18354                 if (*(data + i) != *(data2 + i))
18355                         exit(1);
18356
18357         /*
18358          * Finally, make sure that changes to the mapped area
18359          * do not percolate back to the file as seen by read().
18360          * (This is a bug on some variants of i386 svr4.0.)
18361          */
18362         for (i = 0; i < pagesize; ++i)
18363                 *(data2 + i) = *(data2 + i) + 1;
18364         data3 = malloc(pagesize);
18365         if (!data3)
18366                 exit(1);
18367         if (read(fd, data3, pagesize) != pagesize)
18368                 exit(1);
18369         for (i = 0; i < pagesize; ++i)
18370                 if (*(data + i) != *(data3 + i))
18371                         exit(1);
18372         close(fd);
18373         unlink("conftestmmap");
18374         exit(0);
18375 }
18376
18377 EOF
18378 if { (eval echo configure:18379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18379 then
18380   ac_cv_func_mmap_fixed_mapped=yes
18381 else
18382   echo "configure: failed program was:" >&5
18383   cat conftest.$ac_ext >&5
18384   rm -fr conftest*
18385   ac_cv_func_mmap_fixed_mapped=no
18386 fi
18387 rm -fr conftest*
18388 fi
18389
18390 fi
18391
18392 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18393 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18394   cat >> confdefs.h <<\EOF
18395 #define HAVE_MMAP 1
18396 EOF
18397
18398 fi
18399
18400 fi
18401
18402
18403
18404 if test "$CANADIAN" = yes; then
18405   CANADIAN_TRUE=
18406   CANADIAN_FALSE='#'
18407 else
18408   CANADIAN_TRUE='#'
18409   CANADIAN_FALSE=
18410 fi
18411
18412
18413 if test "$NULL_TARGET" = yes; then
18414   NULL_TARGET_TRUE=
18415   NULL_TARGET_FALSE='#'
18416 else
18417   NULL_TARGET_TRUE='#'
18418   NULL_TARGET_FALSE=
18419 fi
18420
18421
18422 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18423   NATIVE_TRUE=
18424   NATIVE_FALSE='#'
18425 else
18426   NATIVE_TRUE='#'
18427   NATIVE_FALSE=
18428 fi
18429
18430
18431 if test -z "$with_cross_host"; then
18432   USE_LIBDIR_TRUE=
18433   USE_LIBDIR_FALSE='#'
18434 else
18435   USE_LIBDIR_TRUE='#'
18436   USE_LIBDIR_FALSE=
18437 fi
18438
18439 if test $ac_cv_header_locale_h = yes; then
18440     echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18441 echo "configure:18442: checking for LC_MESSAGES" >&5
18442 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18443   echo $ac_n "(cached) $ac_c" 1>&6
18444 else
18445   cat > conftest.$ac_ext <<EOF
18446 #line 18447 "configure"
18447 #include "confdefs.h"
18448 #include <locale.h>
18449 int main() {
18450 return LC_MESSAGES
18451 ; return 0; }
18452 EOF
18453 if { (eval echo configure:18454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18454   rm -rf conftest*
18455   ac_cv_val_LC_MESSAGES=yes
18456 else
18457   echo "configure: failed program was:" >&5
18458   cat conftest.$ac_ext >&5
18459   rm -rf conftest*
18460   ac_cv_val_LC_MESSAGES=no
18461 fi
18462 rm -f conftest*
18463 fi
18464
18465 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18466     if test $ac_cv_val_LC_MESSAGES = yes; then
18467       cat >> confdefs.h <<\EOF
18468 #define HAVE_LC_MESSAGES 1
18469 EOF
18470
18471     fi
18472   fi
18473
18474 if test "${multilib}" = "yes"; then
18475   multilib_arg="--enable-multilib"
18476 else
18477   multilib_arg=
18478 fi
18479
18480
18481 # Generate the various Makefiles, include files, and scripts.
18482
18483 # Export all the include and flag information to makefiles.
18484
18485   # Root level of the include sources.
18486   GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
18487
18488   # Can either use include/c or include/c_std to grab "C" headers. This
18489   # variable is set to the include directory currently in use.
18490   # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_SHADOW
18491    
18492   # Passed down for cross compilers, canadian crosses.
18493   TOPLEVEL_INCLUDES='-I$(includedir)'
18494
18495   LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
18496
18497   LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
18498
18499   #if GLIBCPP_NEED_LIBIO
18500   LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
18501   #else
18502   #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
18503   #endif
18504
18505   #if GLIBCPP_USE_CSHADOW
18506   #  CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
18507   #                   -I$(top_blddir)/cshadow'
18508   #else
18509   CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
18510   #endif
18511
18512   # Now, export this to all the little Makefiles....
18513   
18514   
18515   
18516   
18517   
18518   
18519
18520
18521   # Optimization flags that are probably a good idea for thrill-seekers. Just
18522   # uncomment the lines below and make, everything else is ready to go... 
18523   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc 
18524   OPTIMIZE_CXXFLAGS=
18525   
18526
18527   WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
18528   
18529
18530
18531 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18532 # so that multilib installs will end up installed in the correct
18533 # place. To work around this not being passed down from config-ml.in
18534 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18535 # append it here.
18536 trap '' 1 2 15
18537 cat > confcache <<\EOF
18538 # This file is a shell script that caches the results of configure
18539 # tests run on this system so they can be shared between configure
18540 # scripts and configure runs.  It is not useful on other systems.
18541 # If it contains results you don't want to keep, you may remove or edit it.
18542 #
18543 # By default, configure uses ./config.cache as the cache file,
18544 # creating it if it does not exist already.  You can give configure
18545 # the --cache-file=FILE option to use a different cache file; that is
18546 # what configure does when it calls configure scripts in
18547 # subdirectories, so they share the cache.
18548 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18549 # config.status only pays attention to the cache file if you give it the
18550 # --recheck option to rerun configure.
18551 #
18552 EOF
18553 # The following way of writing the cache mishandles newlines in values,
18554 # but we know of no workaround that is simple, portable, and efficient.
18555 # So, don't put newlines in cache variables' values.
18556 # Ultrix sh set writes to stderr and can't be redirected directly,
18557 # and sets the high bit in the cache file unless we assign to the vars.
18558 (set) 2>&1 |
18559   case `(ac_space=' '; set | grep ac_space) 2>&1` in
18560   *ac_space=\ *)
18561     # `set' does not quote correctly, so add quotes (double-quote substitution
18562     # turns \\\\ into \\, and sed turns \\ into \).
18563     sed -n \
18564       -e "s/'/'\\\\''/g" \
18565       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18566     ;;
18567   *)
18568     # `set' quotes correctly as required by POSIX, so do not add quotes.
18569     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18570     ;;
18571   esac >> confcache
18572 if cmp -s $cache_file confcache; then
18573   :
18574 else
18575   if test -w $cache_file; then
18576     echo "updating cache $cache_file"
18577     cat confcache > $cache_file
18578   else
18579     echo "not updating unwritable cache $cache_file"
18580   fi
18581 fi
18582 rm -f confcache
18583
18584 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18585
18586 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18587 # Let make expand exec_prefix.
18588 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18589
18590 # Any assignment to VPATH causes Sun make to only execute
18591 # the first set of double-colon rules, so remove it if not needed.
18592 # If there is a colon in the path, we need to keep it.
18593 if test "x$srcdir" = x.; then
18594   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
18595 fi
18596
18597 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18598
18599 DEFS=-DHAVE_CONFIG_H
18600
18601 # Without the "./", some shells look in PATH for config.status.
18602 : ${CONFIG_STATUS=./config.status}
18603
18604 echo creating $CONFIG_STATUS
18605 rm -f $CONFIG_STATUS
18606 cat > $CONFIG_STATUS <<EOF
18607 #! /bin/sh
18608 # Generated automatically by configure.
18609 # Run this file to recreate the current configuration.
18610 # This directory was configured as follows,
18611 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18612 #
18613 # $0 $ac_configure_args
18614 #
18615 # Compiler output produced by configure, useful for debugging
18616 # configure, is in ./config.log if it exists.
18617
18618 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18619 for ac_option
18620 do
18621   case "\$ac_option" in
18622   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18623     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18624     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18625   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18626     echo "$CONFIG_STATUS generated by autoconf version 2.13"
18627     exit 0 ;;
18628   -help | --help | --hel | --he | --h)
18629     echo "\$ac_cs_usage"; exit 0 ;;
18630   *) echo "\$ac_cs_usage"; exit 1 ;;
18631   esac
18632 done
18633
18634 ac_given_srcdir=$srcdir
18635 ac_given_INSTALL="$INSTALL"
18636
18637 trap 'rm -fr `echo "mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18638 EOF
18639 cat >> $CONFIG_STATUS <<EOF
18640
18641 # Protect against being on the right side of a sed subst in config.status.
18642 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18643  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18644 $ac_vpsub
18645 $extrasub
18646 s%@SHELL@%$SHELL%g
18647 s%@CFLAGS@%$CFLAGS%g
18648 s%@CPPFLAGS@%$CPPFLAGS%g
18649 s%@CXXFLAGS@%$CXXFLAGS%g
18650 s%@FFLAGS@%$FFLAGS%g
18651 s%@DEFS@%$DEFS%g
18652 s%@LDFLAGS@%$LDFLAGS%g
18653 s%@LIBS@%$LIBS%g
18654 s%@exec_prefix@%$exec_prefix%g
18655 s%@prefix@%$prefix%g
18656 s%@program_transform_name@%$program_transform_name%g
18657 s%@bindir@%$bindir%g
18658 s%@sbindir@%$sbindir%g
18659 s%@libexecdir@%$libexecdir%g
18660 s%@datadir@%$datadir%g
18661 s%@sysconfdir@%$sysconfdir%g
18662 s%@sharedstatedir@%$sharedstatedir%g
18663 s%@localstatedir@%$localstatedir%g
18664 s%@libdir@%$libdir%g
18665 s%@includedir@%$includedir%g
18666 s%@oldincludedir@%$oldincludedir%g
18667 s%@infodir@%$infodir%g
18668 s%@mandir@%$mandir%g
18669 s%@host@%$host%g
18670 s%@host_alias@%$host_alias%g
18671 s%@host_cpu@%$host_cpu%g
18672 s%@host_vendor@%$host_vendor%g
18673 s%@host_os@%$host_os%g
18674 s%@target@%$target%g
18675 s%@target_alias@%$target_alias%g
18676 s%@target_cpu@%$target_cpu%g
18677 s%@target_vendor@%$target_vendor%g
18678 s%@target_os@%$target_os%g
18679 s%@build@%$build%g
18680 s%@build_alias@%$build_alias%g
18681 s%@build_cpu@%$build_cpu%g
18682 s%@build_vendor@%$build_vendor%g
18683 s%@build_os@%$build_os%g
18684 s%@glibcpp_basedir@%$glibcpp_basedir%g
18685 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18686 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18687 s%@INSTALL_DATA@%$INSTALL_DATA%g
18688 s%@PACKAGE@%$PACKAGE%g
18689 s%@VERSION@%$VERSION%g
18690 s%@ACLOCAL@%$ACLOCAL%g
18691 s%@AUTOCONF@%$AUTOCONF%g
18692 s%@AUTOMAKE@%$AUTOMAKE%g
18693 s%@AUTOHEADER@%$AUTOHEADER%g
18694 s%@MAKEINFO@%$MAKEINFO%g
18695 s%@SET_MAKE@%$SET_MAKE%g
18696 s%@CC@%$CC%g
18697 s%@CXX@%$CXX%g
18698 s%@AS@%$AS%g
18699 s%@AR@%$AR%g
18700 s%@RANLIB@%$RANLIB%g
18701 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18702 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18703 s%@MAINT@%$MAINT%g
18704 s%@EXEEXT@%$EXEEXT%g
18705 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
18706 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
18707 s%@LN_S@%$LN_S%g
18708 s%@OBJEXT@%$OBJEXT%g
18709 s%@STRIP@%$STRIP%g
18710 s%@LIBTOOL@%$LIBTOOL%g
18711 s%@CXXCPP@%$CXXCPP%g
18712 s%@ifGNUmake@%$ifGNUmake%g
18713 s%@CPP@%$CPP%g
18714 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18715 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18716 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18717 s%@GLIBCPP_NEED_XTRA_LIBIO_TRUE@%$GLIBCPP_NEED_XTRA_LIBIO_TRUE%g
18718 s%@GLIBCPP_NEED_XTRA_LIBIO_FALSE@%$GLIBCPP_NEED_XTRA_LIBIO_FALSE%g
18719 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18720 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18721 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
18722 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
18723 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18724 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18725 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18726 s%@WERROR@%$WERROR%g
18727 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
18728 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18729 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18730 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18731 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18732 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18733 s%@libinst_wstring_la@%$libinst_wstring_la%g
18734 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
18735 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
18736 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
18737 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
18738 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
18739 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
18740 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
18741 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
18742 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
18743 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
18744 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
18745 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
18746 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
18747 s%@CSHADOW_INCLUDES@%$CSHADOW_INCLUDES%g
18748 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
18749 s%@WARN_FLAGS@%$WARN_FLAGS%g
18750
18751 CEOF
18752 EOF
18753
18754 cat >> $CONFIG_STATUS <<\EOF
18755
18756 # Split the substitutions into bite-sized pieces for seds with
18757 # small command number limits, like on Digital OSF/1 and HP-UX.
18758 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18759 ac_file=1 # Number of current file.
18760 ac_beg=1 # First line for current file.
18761 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18762 ac_more_lines=:
18763 ac_sed_cmds=""
18764 while $ac_more_lines; do
18765   if test $ac_beg -gt 1; then
18766     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18767   else
18768     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18769   fi
18770   if test ! -s conftest.s$ac_file; then
18771     ac_more_lines=false
18772     rm -f conftest.s$ac_file
18773   else
18774     if test -z "$ac_sed_cmds"; then
18775       ac_sed_cmds="sed -f conftest.s$ac_file"
18776     else
18777       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18778     fi
18779     ac_file=`expr $ac_file + 1`
18780     ac_beg=$ac_end
18781     ac_end=`expr $ac_end + $ac_max_sed_cmds`
18782   fi
18783 done
18784 if test -z "$ac_sed_cmds"; then
18785   ac_sed_cmds=cat
18786 fi
18787 EOF
18788
18789 cat >> $CONFIG_STATUS <<EOF
18790
18791 CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
18792 EOF
18793 cat >> $CONFIG_STATUS <<\EOF
18794 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18795   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18796   case "$ac_file" in
18797   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18798        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18799   *) ac_file_in="${ac_file}.in" ;;
18800   esac
18801
18802   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18803
18804   # Remove last slash and all that follows it.  Not all systems have dirname.
18805   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18806   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18807     # The file is in a subdirectory.
18808     test ! -d "$ac_dir" && mkdir "$ac_dir"
18809     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18810     # A "../" for each directory in $ac_dir_suffix.
18811     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18812   else
18813     ac_dir_suffix= ac_dots=
18814   fi
18815
18816   case "$ac_given_srcdir" in
18817   .)  srcdir=.
18818       if test -z "$ac_dots"; then top_srcdir=.
18819       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18820   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18821   *) # Relative path.
18822     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18823     top_srcdir="$ac_dots$ac_given_srcdir" ;;
18824   esac
18825
18826   case "$ac_given_INSTALL" in
18827   [/$]*) INSTALL="$ac_given_INSTALL" ;;
18828   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18829   esac
18830
18831   echo creating "$ac_file"
18832   rm -f "$ac_file"
18833   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18834   case "$ac_file" in
18835   *Makefile*) ac_comsub="1i\\
18836 # $configure_input" ;;
18837   *) ac_comsub= ;;
18838   esac
18839
18840   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18841   sed -e "$ac_comsub
18842 s%@configure_input@%$configure_input%g
18843 s%@srcdir@%$srcdir%g
18844 s%@top_srcdir@%$top_srcdir%g
18845 s%@INSTALL@%$INSTALL%g
18846 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18847 fi; done
18848 rm -f conftest.s*
18849
18850 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18851 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18852 #
18853 # ac_d sets the value in "#define NAME VALUE" lines.
18854 ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
18855 ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
18856 ac_dC='\3'
18857 ac_dD='%g'
18858 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18859 ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
18860 ac_uB='\([      ]\)%\1#\2define\3'
18861 ac_uC=' '
18862 ac_uD='\4%g'
18863 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18864 ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
18865 ac_eB='$%\1#\2define\3'
18866 ac_eC=' '
18867 ac_eD='%g'
18868
18869 if test "${CONFIG_HEADERS+set}" != set; then
18870 EOF
18871 cat >> $CONFIG_STATUS <<EOF
18872   CONFIG_HEADERS="config.h"
18873 EOF
18874 cat >> $CONFIG_STATUS <<\EOF
18875 fi
18876 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18877   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18878   case "$ac_file" in
18879   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18880        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18881   *) ac_file_in="${ac_file}.in" ;;
18882   esac
18883
18884   echo creating $ac_file
18885
18886   rm -f conftest.frag conftest.in conftest.out
18887   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18888   cat $ac_file_inputs > conftest.in
18889
18890 EOF
18891
18892 # Transform confdefs.h into a sed script conftest.vals that substitutes
18893 # the proper values into config.h.in to produce config.h.  And first:
18894 # Protect against being on the right side of a sed subst in config.status.
18895 # Protect against being in an unquoted here document in config.status.
18896 rm -f conftest.vals
18897 cat > conftest.hdr <<\EOF
18898 s/[\\&%]/\\&/g
18899 s%[\\$`]%\\&%g
18900 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18901 s%ac_d%ac_u%gp
18902 s%ac_u%ac_e%gp
18903 EOF
18904 sed -n -f conftest.hdr confdefs.h > conftest.vals
18905 rm -f conftest.hdr
18906
18907 # This sed command replaces #undef with comments.  This is necessary, for
18908 # example, in the case of _POSIX_SOURCE, which is predefined and required
18909 # on some systems where configure will not decide to define it.
18910 cat >> conftest.vals <<\EOF
18911 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18912 EOF
18913
18914 # Break up conftest.vals because some shells have a limit on
18915 # the size of here documents, and old seds have small limits too.
18916
18917 rm -f conftest.tail
18918 while :
18919 do
18920   ac_lines=`grep -c . conftest.vals`
18921   # grep -c gives empty output for an empty file on some AIX systems.
18922   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18923   # Write a limited-size here document to conftest.frag.
18924   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18925   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18926   echo 'CEOF
18927   sed -f conftest.frag conftest.in > conftest.out
18928   rm -f conftest.in
18929   mv conftest.out conftest.in
18930 ' >> $CONFIG_STATUS
18931   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18932   rm -f conftest.vals
18933   mv conftest.tail conftest.vals
18934 done
18935 rm -f conftest.vals
18936
18937 cat >> $CONFIG_STATUS <<\EOF
18938   rm -f conftest.frag conftest.h
18939   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
18940   cat conftest.in >> conftest.h
18941   rm -f conftest.in
18942   if cmp -s $ac_file conftest.h 2>/dev/null; then
18943     echo "$ac_file is unchanged"
18944     rm -f conftest.h
18945   else
18946     # Remove last slash and all that follows it.  Not all systems have dirname.
18947       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18948       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18949       # The file is in a subdirectory.
18950       test ! -d "$ac_dir" && mkdir "$ac_dir"
18951     fi
18952     rm -f $ac_file
18953     mv conftest.h $ac_file
18954   fi
18955 fi; done
18956
18957 EOF
18958
18959 cat >> $CONFIG_STATUS <<EOF
18960 ac_sources="$os_include_dir/bits/os_defines.h $CSTDIO_H $CSTDIO_CC $CCODECVT_C config/$THREADH $ATOMICITYH/bits/atomicity.h $ctype_include_dir/bits/ctype_base.h $ctype_include_dir/bits/ctype_inline.h $ctype_include_dir/bits/ctype_noninline.h $ctype_include_dir/bits/ctype_base.h $ctype_include_dir/bits/ctype_inline.h $ctype_include_dir/bits/ctype_noninline.h $ctype_include_dir/bits/ctype_base.h $ctype_include_dir/bits/ctype_inline.h $ctype_include_dir/bits/ctype_noninline.h"
18961 ac_dests="bits/os_defines.h bits/c++io.h src/c++io.cc libio/c_codecvt.c bits/c++threads.h bits/atomicity.h bits/ctype_base.h \
18962         bits/ctype_inline.h \
18963         bits/ctype_noninline.h bits/ctype_base.h \
18964         bits/ctype_inline.h \
18965         bits/ctype_noninline.h bits/ctype_base.h bits/ctype_inline.h \
18966     bits/ctype_noninline.h"
18967 EOF
18968
18969 cat >> $CONFIG_STATUS <<\EOF
18970 srcdir=$ac_given_srcdir
18971 while test -n "$ac_sources"; do
18972   set $ac_dests; ac_dest=$1; shift; ac_dests=$*
18973   set $ac_sources; ac_source=$1; shift; ac_sources=$*
18974
18975   echo "linking $srcdir/$ac_source to $ac_dest"
18976
18977   if test ! -r $srcdir/$ac_source; then
18978     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
18979   fi
18980   rm -f $ac_dest
18981
18982   # Make relative symlinks.
18983   # Remove last slash and all that follows it.  Not all systems have dirname.
18984   ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
18985   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
18986     # The dest file is in a subdirectory.
18987     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
18988     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
18989     # A "../" for each directory in $ac_dest_dir_suffix.
18990     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
18991   else
18992     ac_dest_dir_suffix= ac_dots=
18993   fi
18994
18995   case "$srcdir" in
18996   [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
18997   *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
18998   esac
18999
19000   # Make a symlink if possible; otherwise try a hard link.
19001   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19002     ln $srcdir/$ac_source $ac_dest; then :
19003   else
19004     { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19005   fi
19006 done
19007 EOF
19008 cat >> $CONFIG_STATUS <<EOF
19009
19010 srcdir=${srcdir}
19011 host=${host}
19012 target=${target}
19013 with_multisubdir=${with_multisubdir}
19014 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19015 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19016 glibcpp_basedir=${glibcpp_basedir}
19017 CC="${CC}"
19018 CXX="${CXX}"
19019
19020 EOF
19021 cat >> $CONFIG_STATUS <<\EOF
19022 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19023 if test -n "$CONFIG_FILES"; then
19024   ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19025   grep '^MULTISUBDIR =' Makefile >> src/Makefile
19026 fi
19027 exit 0
19028 EOF
19029 chmod +x $CONFIG_STATUS
19030 rm -fr confdefs* $ac_clean_files
19031 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19032
19033
19034
19035 blddir=`pwd`
19036 # Generate bits/c++config.h
19037 # NB: This must be the first generated file as others include it. . .
19038
19039
19040 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
19041
19042
19043
19044 # Sanity checking & User-visible messages.
19045 # Checks down here, otherwise they get scrolled off before
19046 # the user will notice.
19047 if test "$enable_namespaces" = "yes" && test "$enable_libgcc_rebuild" = "no"
19048 then
19049   echo "configure: warning: libgcc.a will not match mangled symbols unless it is rebuilt" 1>&2
19050 fi
19051 if test "$enable_namespaces" = "no" && test "$enable_libgcc_rebuild" != "no"
19052 then
19053   # Other things besides namespaces can make this true as well, but none
19054   # of them are done automatically... yet
19055   echo "configure: warning: no point in rebuilding libgcc.a if namespaces aren't used" 1>&2
19056 fi
19057
19058 # Trying to get more people to read documentation.  Possibly remove
19059 # check and warn all the time. There is no "informational" AC_MSG_
19060 # macro, so these are going to be printed even when --quiet/--silent
19061 # is given.
19062 if test ! -f stamp-sanity-warned; then
19063   touch stamp-sanity-warned
19064   echo ""
19065   echo "Please make certain that you read the installation information here:"
19066   echo "  faster => ${srcdir}/docs/install.html"
19067   echo "  slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
19068   echo ""
19069   echo "and the configuration information here:"
19070   echo "  faster => ${srcdir}/docs/configopts.html"
19071   echo "  slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
19072   echo ""
19073   echo "before proceeding with ${_cv_gnu_make_command}."
19074   echo ""
19075 fi
19076
19077
19078 $srcdir/mkc++config $blddir $srcdir
19079 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
19080
19081