Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
[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-c-mbchar       enable multibyte (wide) characters [default=yes]"
40 ac_help="$ac_help
41   --enable-cstdio        enable GNU libio for target io package. (default)
42      --enable-cstdio=LIB    use LIB target-speific io package."
43 ac_help="$ac_help
44   --enable-long-long      turns on 'long long' [default=yes]"
45 ac_help="$ac_help
46   --enable-long-double      turns on 'long double' [default=yes]"
47 ac_help="$ac_help
48   --enable-cshadow-headers construct "shadowed" C header files for
49                            g++ [default=no]"
50 ac_help="$ac_help
51   --enable-threads        enable thread usage for target GCC.
52      --enable-threads=LIB    use LIB thread package for target GCC."
53 ac_help="$ac_help
54   --enable-cxx-flags=FLAGS      pass compiler FLAGS when building library;
55                                 [default=none]"
56 ac_help="$ac_help
57  --with-gxx-include-dir  the installation directory for include files"
58 ac_help="$ac_help
59   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory "
60
61 # Initialize some variables set by options.
62 # The variables have the same names as the options, with
63 # dashes changed to underlines.
64 build=NONE
65 cache_file=./config.cache
66 exec_prefix=NONE
67 host=NONE
68 no_create=
69 nonopt=NONE
70 no_recursion=
71 prefix=NONE
72 program_prefix=NONE
73 program_suffix=NONE
74 program_transform_name=s,x,x,
75 silent=
76 site=
77 srcdir=
78 target=NONE
79 verbose=
80 x_includes=NONE
81 x_libraries=NONE
82 bindir='${exec_prefix}/bin'
83 sbindir='${exec_prefix}/sbin'
84 libexecdir='${exec_prefix}/libexec'
85 datadir='${prefix}/share'
86 sysconfdir='${prefix}/etc'
87 sharedstatedir='${prefix}/com'
88 localstatedir='${prefix}/var'
89 libdir='${exec_prefix}/lib'
90 includedir='${prefix}/include'
91 oldincludedir='/usr/include'
92 infodir='${prefix}/info'
93 mandir='${prefix}/man'
94
95 # Initialize some other variables.
96 subdirs=
97 MFLAGS= MAKEFLAGS=
98 SHELL=${CONFIG_SHELL-/bin/sh}
99 # Maximum number of lines to put in a shell here document.
100 ac_max_here_lines=12
101
102 ac_prev=
103 for ac_option
104 do
105
106   # If the previous option needs an argument, assign it.
107   if test -n "$ac_prev"; then
108     eval "$ac_prev=\$ac_option"
109     ac_prev=
110     continue
111   fi
112
113   case "$ac_option" in
114   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
115   *) ac_optarg= ;;
116   esac
117
118   # Accept the important Cygnus configure options, so we can diagnose typos.
119
120   case "$ac_option" in
121
122   -bindir | --bindir | --bindi | --bind | --bin | --bi)
123     ac_prev=bindir ;;
124   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
125     bindir="$ac_optarg" ;;
126
127   -build | --build | --buil | --bui | --bu)
128     ac_prev=build ;;
129   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
130     build="$ac_optarg" ;;
131
132   -cache-file | --cache-file | --cache-fil | --cache-fi \
133   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
134     ac_prev=cache_file ;;
135   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
136   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
137     cache_file="$ac_optarg" ;;
138
139   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
140     ac_prev=datadir ;;
141   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
142   | --da=*)
143     datadir="$ac_optarg" ;;
144
145   -disable-* | --disable-*)
146     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
147     # Reject names that are not valid shell variable names.
148     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
149       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
150     fi
151     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
152     eval "enable_${ac_feature}=no" ;;
153
154   -enable-* | --enable-*)
155     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
156     # Reject names that are not valid shell variable names.
157     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
158       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
159     fi
160     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
161     case "$ac_option" in
162       *=*) ;;
163       *) ac_optarg=yes ;;
164     esac
165     eval "enable_${ac_feature}='$ac_optarg'" ;;
166
167   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
168   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
169   | --exec | --exe | --ex)
170     ac_prev=exec_prefix ;;
171   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
172   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
173   | --exec=* | --exe=* | --ex=*)
174     exec_prefix="$ac_optarg" ;;
175
176   -gas | --gas | --ga | --g)
177     # Obsolete; use --with-gas.
178     with_gas=yes ;;
179
180   -help | --help | --hel | --he)
181     # Omit some internal or obsolete options to make the list less imposing.
182     # This message is too long to be a string in the A/UX 3.1 sh.
183     cat << EOF
184 Usage: configure [options] [host]
185 Options: [defaults in brackets after descriptions]
186 Configuration:
187   --cache-file=FILE       cache test results in FILE
188   --help                  print this message
189   --no-create             do not create output files
190   --quiet, --silent       do not print \`checking...' messages
191   --version               print the version of autoconf that created configure
192 Directory and file names:
193   --prefix=PREFIX         install architecture-independent files in PREFIX
194                           [$ac_default_prefix]
195   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
196                           [same as prefix]
197   --bindir=DIR            user executables in DIR [EPREFIX/bin]
198   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
199   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
200   --datadir=DIR           read-only architecture-independent data in DIR
201                           [PREFIX/share]
202   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
203   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
204                           [PREFIX/com]
205   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
206   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
207   --includedir=DIR        C header files in DIR [PREFIX/include]
208   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
209   --infodir=DIR           info documentation in DIR [PREFIX/info]
210   --mandir=DIR            man documentation in DIR [PREFIX/man]
211   --srcdir=DIR            find the sources in DIR [configure dir or ..]
212   --program-prefix=PREFIX prepend PREFIX to installed program names
213   --program-suffix=SUFFIX append SUFFIX to installed program names
214   --program-transform-name=PROGRAM
215                           run sed PROGRAM on installed program names
216 EOF
217     cat << EOF
218 Host type:
219   --build=BUILD           configure for building on BUILD [BUILD=HOST]
220   --host=HOST             configure for HOST [guessed]
221   --target=TARGET         configure for TARGET [TARGET=HOST]
222 Features and packages:
223   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
224   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
225   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
226   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
227   --x-includes=DIR        X include files are in DIR
228   --x-libraries=DIR       X library files are in DIR
229 EOF
230     if test -n "$ac_help"; then
231       echo "--enable and --with options recognized:$ac_help"
232     fi
233     exit 0 ;;
234
235   -host | --host | --hos | --ho)
236     ac_prev=host ;;
237   -host=* | --host=* | --hos=* | --ho=*)
238     host="$ac_optarg" ;;
239
240   -includedir | --includedir | --includedi | --included | --include \
241   | --includ | --inclu | --incl | --inc)
242     ac_prev=includedir ;;
243   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
244   | --includ=* | --inclu=* | --incl=* | --inc=*)
245     includedir="$ac_optarg" ;;
246
247   -infodir | --infodir | --infodi | --infod | --info | --inf)
248     ac_prev=infodir ;;
249   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
250     infodir="$ac_optarg" ;;
251
252   -libdir | --libdir | --libdi | --libd)
253     ac_prev=libdir ;;
254   -libdir=* | --libdir=* | --libdi=* | --libd=*)
255     libdir="$ac_optarg" ;;
256
257   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
258   | --libexe | --libex | --libe)
259     ac_prev=libexecdir ;;
260   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
261   | --libexe=* | --libex=* | --libe=*)
262     libexecdir="$ac_optarg" ;;
263
264   -localstatedir | --localstatedir | --localstatedi | --localstated \
265   | --localstate | --localstat | --localsta | --localst \
266   | --locals | --local | --loca | --loc | --lo)
267     ac_prev=localstatedir ;;
268   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
269   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
270   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
271     localstatedir="$ac_optarg" ;;
272
273   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
274     ac_prev=mandir ;;
275   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
276     mandir="$ac_optarg" ;;
277
278   -nfp | --nfp | --nf)
279     # Obsolete; use --without-fp.
280     with_fp=no ;;
281
282   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
283   | --no-cr | --no-c)
284     no_create=yes ;;
285
286   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
287   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
288     no_recursion=yes ;;
289
290   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
291   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
292   | --oldin | --oldi | --old | --ol | --o)
293     ac_prev=oldincludedir ;;
294   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
295   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
296   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
297     oldincludedir="$ac_optarg" ;;
298
299   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
300     ac_prev=prefix ;;
301   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
302     prefix="$ac_optarg" ;;
303
304   -program-prefix | --program-prefix | --program-prefi | --program-pref \
305   | --program-pre | --program-pr | --program-p)
306     ac_prev=program_prefix ;;
307   -program-prefix=* | --program-prefix=* | --program-prefi=* \
308   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
309     program_prefix="$ac_optarg" ;;
310
311   -program-suffix | --program-suffix | --program-suffi | --program-suff \
312   | --program-suf | --program-su | --program-s)
313     ac_prev=program_suffix ;;
314   -program-suffix=* | --program-suffix=* | --program-suffi=* \
315   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
316     program_suffix="$ac_optarg" ;;
317
318   -program-transform-name | --program-transform-name \
319   | --program-transform-nam | --program-transform-na \
320   | --program-transform-n | --program-transform- \
321   | --program-transform | --program-transfor \
322   | --program-transfo | --program-transf \
323   | --program-trans | --program-tran \
324   | --progr-tra | --program-tr | --program-t)
325     ac_prev=program_transform_name ;;
326   -program-transform-name=* | --program-transform-name=* \
327   | --program-transform-nam=* | --program-transform-na=* \
328   | --program-transform-n=* | --program-transform-=* \
329   | --program-transform=* | --program-transfor=* \
330   | --program-transfo=* | --program-transf=* \
331   | --program-trans=* | --program-tran=* \
332   | --progr-tra=* | --program-tr=* | --program-t=*)
333     program_transform_name="$ac_optarg" ;;
334
335   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
336   | -silent | --silent | --silen | --sile | --sil)
337     silent=yes ;;
338
339   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
340     ac_prev=sbindir ;;
341   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
342   | --sbi=* | --sb=*)
343     sbindir="$ac_optarg" ;;
344
345   -sharedstatedir | --sharedstatedir | --sharedstatedi \
346   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
347   | --sharedst | --shareds | --shared | --share | --shar \
348   | --sha | --sh)
349     ac_prev=sharedstatedir ;;
350   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
351   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
352   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
353   | --sha=* | --sh=*)
354     sharedstatedir="$ac_optarg" ;;
355
356   -site | --site | --sit)
357     ac_prev=site ;;
358   -site=* | --site=* | --sit=*)
359     site="$ac_optarg" ;;
360
361   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
362     ac_prev=srcdir ;;
363   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
364     srcdir="$ac_optarg" ;;
365
366   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
367   | --syscon | --sysco | --sysc | --sys | --sy)
368     ac_prev=sysconfdir ;;
369   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
370   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
371     sysconfdir="$ac_optarg" ;;
372
373   -target | --target | --targe | --targ | --tar | --ta | --t)
374     ac_prev=target ;;
375   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
376     target="$ac_optarg" ;;
377
378   -v | -verbose | --verbose | --verbos | --verbo | --verb)
379     verbose=yes ;;
380
381   -version | --version | --versio | --versi | --vers)
382     echo "configure generated by autoconf version 2.13"
383     exit 0 ;;
384
385   -with-* | --with-*)
386     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
387     # Reject names that are not valid shell variable names.
388     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
389       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
390     fi
391     ac_package=`echo $ac_package| sed 's/-/_/g'`
392     case "$ac_option" in
393       *=*) ;;
394       *) ac_optarg=yes ;;
395     esac
396     eval "with_${ac_package}='$ac_optarg'" ;;
397
398   -without-* | --without-*)
399     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
400     # Reject names that are not valid shell variable names.
401     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
402       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
403     fi
404     ac_package=`echo $ac_package| sed 's/-/_/g'`
405     eval "with_${ac_package}=no" ;;
406
407   --x)
408     # Obsolete; use --with-x.
409     with_x=yes ;;
410
411   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
412   | --x-incl | --x-inc | --x-in | --x-i)
413     ac_prev=x_includes ;;
414   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
415   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
416     x_includes="$ac_optarg" ;;
417
418   -x-libraries | --x-libraries | --x-librarie | --x-librari \
419   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
420     ac_prev=x_libraries ;;
421   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
422   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
423     x_libraries="$ac_optarg" ;;
424
425   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
426     ;;
427
428   *)
429     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
430       echo "configure: warning: $ac_option: invalid host type" 1>&2
431     fi
432     if test "x$nonopt" != xNONE; then
433       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
434     fi
435     nonopt="$ac_option"
436     ;;
437
438   esac
439 done
440
441 if test -n "$ac_prev"; then
442   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
443 fi
444
445 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
446
447 # File descriptor usage:
448 # 0 standard input
449 # 1 file creation
450 # 2 errors and warnings
451 # 3 some systems may open it to /dev/tty
452 # 4 used on the Kubota Titan
453 # 6 checking for... messages and results
454 # 5 compiler messages saved in config.log
455 if test "$silent" = yes; then
456   exec 6>/dev/null
457 else
458   exec 6>&1
459 fi
460 exec 5>./config.log
461
462 echo "\
463 This file contains any messages produced by compilers while
464 running configure, to aid debugging if configure makes a mistake.
465 " 1>&5
466
467 # Strip out --no-create and --no-recursion so they do not pile up.
468 # Also quote any args containing shell metacharacters.
469 ac_configure_args=
470 for ac_arg
471 do
472   case "$ac_arg" in
473   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
474   | --no-cr | --no-c) ;;
475   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
476   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
477   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
478   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
479   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
480   esac
481 done
482
483 # NLS nuisances.
484 # Only set these to C if already set.  These must not be set unconditionally
485 # because not all systems understand e.g. LANG=C (notably SCO).
486 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
487 # Non-C LC_CTYPE values break the ctype check.
488 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
489 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
490 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
491 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
492
493 # confdefs.h avoids OS command line length limits that DEFS can exceed.
494 rm -rf conftest* confdefs.h
495 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
496 echo > confdefs.h
497
498 # A filename unique to this package, relative to the directory that
499 # configure is in, which we can look for to find out if srcdir is correct.
500 ac_unique_file=src/complex.cc
501
502 # Find the source files, if location was not specified.
503 if test -z "$srcdir"; then
504   ac_srcdir_defaulted=yes
505   # Try the directory containing this script, then its parent.
506   ac_prog=$0
507   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
508   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
509   srcdir=$ac_confdir
510   if test ! -r $srcdir/$ac_unique_file; then
511     srcdir=..
512   fi
513 else
514   ac_srcdir_defaulted=no
515 fi
516 if test ! -r $srcdir/$ac_unique_file; then
517   if test "$ac_srcdir_defaulted" = yes; then
518     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
519   else
520     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
521   fi
522 fi
523 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
524
525 # Prefer explicitly selected file to automatically selected ones.
526 if test -z "$CONFIG_SITE"; then
527   if test "x$prefix" != xNONE; then
528     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
529   else
530     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
531   fi
532 fi
533 for ac_site_file in $CONFIG_SITE; do
534   if test -r "$ac_site_file"; then
535     echo "loading site script $ac_site_file"
536     . "$ac_site_file"
537   fi
538 done
539
540 if test -r "$cache_file"; then
541   echo "loading cache $cache_file"
542   . $cache_file
543 else
544   echo "creating cache $cache_file"
545   > $cache_file
546 fi
547
548 ac_ext=c
549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
550 ac_cpp='$CPP $CPPFLAGS'
551 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
552 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
553 cross_compiling=$ac_cv_prog_cc_cross
554
555 ac_exeext=
556 ac_objext=o
557 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
558   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
559   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
560     ac_n= ac_c='
561 ' ac_t='        '
562   else
563     ac_n=-n ac_c= ac_t=
564   fi
565 else
566   ac_n= ac_c='\c' ac_t=
567 fi
568
569
570 ac_aux_dir=
571 for ac_dir in .. $srcdir/..; do
572   if test -f $ac_dir/install-sh; then
573     ac_aux_dir=$ac_dir
574     ac_install_sh="$ac_aux_dir/install-sh -c"
575     break
576   elif test -f $ac_dir/install.sh; then
577     ac_aux_dir=$ac_dir
578     ac_install_sh="$ac_aux_dir/install.sh -c"
579     break
580   fi
581 done
582 if test -z "$ac_aux_dir"; then
583   { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
584 fi
585 ac_config_guess=$ac_aux_dir/config.guess
586 ac_config_sub=$ac_aux_dir/config.sub
587 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
588
589
590 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
591
592 # Do some error checking and defaulting for the host and target type.
593 # The inputs are:
594 #    configure --host=HOST --target=TARGET --build=BUILD NONOPT
595 #
596 # The rules are:
597 # 1. You are not allowed to specify --host, --target, and nonopt at the
598 #    same time.
599 # 2. Host defaults to nonopt.
600 # 3. If nonopt is not specified, then host defaults to the current host,
601 #    as determined by config.guess.
602 # 4. Target and build default to nonopt.
603 # 5. If nonopt is not specified, then target and build default to host.
604
605 # The aliases save the names the user supplied, while $host etc.
606 # will get canonicalized.
607 case $host---$target---$nonopt in
608 NONE---*---* | *---NONE---* | *---*---NONE) ;;
609 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
610 esac
611
612
613 # Make sure we can run config.sub.
614 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
615 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
616 fi
617
618 echo $ac_n "checking host system type""... $ac_c" 1>&6
619 echo "configure:620: checking host system type" >&5
620
621 host_alias=$host
622 case "$host_alias" in
623 NONE)
624   case $nonopt in
625   NONE)
626     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
627     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
628     fi ;;
629   *) host_alias=$nonopt ;;
630   esac ;;
631 esac
632
633 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
634 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
635 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
636 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
637 echo "$ac_t""$host" 1>&6
638
639 echo $ac_n "checking target system type""... $ac_c" 1>&6
640 echo "configure:641: checking target system type" >&5
641
642 target_alias=$target
643 case "$target_alias" in
644 NONE)
645   case $nonopt in
646   NONE) target_alias=$host_alias ;;
647   *) target_alias=$nonopt ;;
648   esac ;;
649 esac
650
651 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
652 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
653 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
654 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
655 echo "$ac_t""$target" 1>&6
656
657 echo $ac_n "checking build system type""... $ac_c" 1>&6
658 echo "configure:659: checking build system type" >&5
659
660 build_alias=$build
661 case "$build_alias" in
662 NONE)
663   case $nonopt in
664   NONE) build_alias=$host_alias ;;
665   *) build_alias=$nonopt ;;
666   esac ;;
667 esac
668
669 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
670 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
671 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
672 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
673 echo "$ac_t""$build" 1>&6
674
675 test "$host_alias" != "$target_alias" &&
676   test "$program_prefix$program_suffix$program_transform_name" = \
677     NONENONEs,x,x, &&
678   program_prefix=${target_alias}-
679
680
681 # We use these options to decide which functions to include.
682 # Check whether --with-target-subdir or --without-target-subdir was given.
683 if test "${with_target_subdir+set}" = set; then
684   withval="$with_target_subdir"
685   :
686 fi
687
688 # Check whether --with-cross-host or --without-cross-host was given.
689 if test "${with_cross_host+set}" = set; then
690   withval="$with_cross_host"
691   :
692 fi
693
694
695 # Find a good install program.  We prefer a C program (faster),
696 # so one script is as good as another.  But avoid the broken or
697 # incompatible versions:
698 # SysV /etc/install, /usr/sbin/install
699 # SunOS /usr/etc/install
700 # IRIX /sbin/install
701 # AIX /bin/install
702 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
703 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
704 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
705 # ./install, which can be erroneously created by make from ./install.sh.
706 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
707 echo "configure:708: checking for a BSD compatible install" >&5
708 if test -z "$INSTALL"; then
709 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
710   echo $ac_n "(cached) $ac_c" 1>&6
711 else
712     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
713   for ac_dir in $PATH; do
714     # Account for people who put trailing slashes in PATH elements.
715     case "$ac_dir/" in
716     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
717     *)
718       # OSF1 and SCO ODT 3.0 have their own names for install.
719       # Don't use installbsd from OSF since it installs stuff as root
720       # by default.
721       for ac_prog in ginstall scoinst install; do
722         if test -f $ac_dir/$ac_prog; then
723           if test $ac_prog = install &&
724             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
725             # AIX install.  It has an incompatible calling convention.
726             :
727           else
728             ac_cv_path_install="$ac_dir/$ac_prog -c"
729             break 2
730           fi
731         fi
732       done
733       ;;
734     esac
735   done
736   IFS="$ac_save_IFS"
737
738 fi
739   if test "${ac_cv_path_install+set}" = set; then
740     INSTALL="$ac_cv_path_install"
741   else
742     # As a last resort, use the slow shell script.  We don't cache a
743     # path for INSTALL within a source directory, because that will
744     # break other packages using the cache if that directory is
745     # removed, or if the path is relative.
746     INSTALL="$ac_install_sh"
747   fi
748 fi
749 echo "$ac_t""$INSTALL" 1>&6
750
751 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
752 # It thinks the first close brace ends the variable substitution.
753 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
754
755 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
756
757 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
758
759 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
760 echo "configure:761: checking whether build environment is sane" >&5
761 # Just in case
762 sleep 1
763 echo timestamp > conftestfile
764 # Do `set' in a subshell so we don't clobber the current shell's
765 # arguments.  Must try -L first in case configure is actually a
766 # symlink; some systems play weird games with the mod time of symlinks
767 # (eg FreeBSD returns the mod time of the symlink's containing
768 # directory).
769 if (
770    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
771    if test "$*" = "X"; then
772       # -L didn't work.
773       set X `ls -t $srcdir/configure conftestfile`
774    fi
775    if test "$*" != "X $srcdir/configure conftestfile" \
776       && test "$*" != "X conftestfile $srcdir/configure"; then
777
778       # If neither matched, then we have a broken ls.  This can happen
779       # if, for instance, CONFIG_SHELL is bash and it inherits a
780       # broken ls alias from the environment.  This has actually
781       # happened.  Such a system could not be considered "sane".
782       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
783 alias in your environment" 1>&2; exit 1; }
784    fi
785
786    test "$2" = conftestfile
787    )
788 then
789    # Ok.
790    :
791 else
792    { echo "configure: error: newly created file is older than distributed files!
793 Check your system clock" 1>&2; exit 1; }
794 fi
795 rm -f conftest*
796 echo "$ac_t""yes" 1>&6
797 if test "$program_transform_name" = s,x,x,; then
798   program_transform_name=
799 else
800   # Double any \ or $.  echo might interpret backslashes.
801   cat <<\EOF_SED > conftestsed
802 s,\\,\\\\,g; s,\$,$$,g
803 EOF_SED
804   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
805   rm -f conftestsed
806 fi
807 test "$program_prefix" != NONE &&
808   program_transform_name="s,^,${program_prefix},; $program_transform_name"
809 # Use a double $ so make ignores it.
810 test "$program_suffix" != NONE &&
811   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
812
813 # sed with no file args requires a program.
814 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
815
816 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
817 echo "configure:818: checking whether ${MAKE-make} sets \${MAKE}" >&5
818 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
819 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
820   echo $ac_n "(cached) $ac_c" 1>&6
821 else
822   cat > conftestmake <<\EOF
823 all:
824         @echo 'ac_maketemp="${MAKE}"'
825 EOF
826 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
827 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
828 if test -n "$ac_maketemp"; then
829   eval ac_cv_prog_make_${ac_make}_set=yes
830 else
831   eval ac_cv_prog_make_${ac_make}_set=no
832 fi
833 rm -f conftestmake
834 fi
835 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
836   echo "$ac_t""yes" 1>&6
837   SET_MAKE=
838 else
839   echo "$ac_t""no" 1>&6
840   SET_MAKE="MAKE=${MAKE-make}"
841 fi
842
843 if test $host != $build; then
844   ac_tool_prefix=${host_alias}-
845 else
846   ac_tool_prefix=
847 fi
848
849 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
850 echo "configure:851: checking for Cygwin environment" >&5
851 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
852   echo $ac_n "(cached) $ac_c" 1>&6
853 else
854   cat > conftest.$ac_ext <<EOF
855 #line 856 "configure"
856 #include "confdefs.h"
857
858 int main() {
859
860 #ifndef __CYGWIN__
861 #define __CYGWIN__ __CYGWIN32__
862 #endif
863 return __CYGWIN__;
864 ; return 0; }
865 EOF
866 if { (eval echo configure:867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
867   rm -rf conftest*
868   ac_cv_cygwin=yes
869 else
870   echo "configure: failed program was:" >&5
871   cat conftest.$ac_ext >&5
872   rm -rf conftest*
873   ac_cv_cygwin=no
874 fi
875 rm -f conftest*
876 rm -f conftest*
877 fi
878
879 echo "$ac_t""$ac_cv_cygwin" 1>&6
880 CYGWIN=
881 test "$ac_cv_cygwin" = yes && CYGWIN=yes
882 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
883 echo "configure:884: checking for mingw32 environment" >&5
884 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
885   echo $ac_n "(cached) $ac_c" 1>&6
886 else
887   cat > conftest.$ac_ext <<EOF
888 #line 889 "configure"
889 #include "confdefs.h"
890
891 int main() {
892 return __MINGW32__;
893 ; return 0; }
894 EOF
895 if { (eval echo configure:896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
896   rm -rf conftest*
897   ac_cv_mingw32=yes
898 else
899   echo "configure: failed program was:" >&5
900   cat conftest.$ac_ext >&5
901   rm -rf conftest*
902   ac_cv_mingw32=no
903 fi
904 rm -f conftest*
905 rm -f conftest*
906 fi
907
908 echo "$ac_t""$ac_cv_mingw32" 1>&6
909 MINGW32=
910 test "$ac_cv_mingw32" = yes && MINGW32=yes
911
912     # Check whether --enable-multilib or --disable-multilib was given.
913 if test "${enable_multilib+set}" = set; then
914   enableval="$enable_multilib"
915   case "${enableval}" in
916     yes) multilib=yes ;;
917     no)  multilib=no ;;
918     *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
919    esac
920 else
921   multilib=yes
922 fi
923
924       if test "${srcdir}" = "."; then
925     if test "${with_target_subdir}" != "."; then
926       glibcpp_basedir="${srcdir}/${with_multisrctop}../."
927     else
928       glibcpp_basedir="${srcdir}/${with_multisrctop}."
929     fi
930   else
931     glibcpp_basedir="${srcdir}/."
932   fi
933   
934
935   
936 PACKAGE=libstdc++
937
938 VERSION=2.90.8
939
940 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
941   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
942 fi
943 cat >> confdefs.h <<EOF
944 #define PACKAGE "$PACKAGE"
945 EOF
946
947 cat >> confdefs.h <<EOF
948 #define VERSION "$VERSION"
949 EOF
950
951
952
953 missing_dir=`cd $ac_aux_dir && pwd`
954 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
955 echo "configure:956: checking for working aclocal" >&5
956 # Run test in a subshell; some versions of sh will print an error if
957 # an executable is not found, even if stderr is redirected.
958 # Redirect stdin to placate older versions of autoconf.  Sigh.
959 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
960    ACLOCAL=aclocal
961    echo "$ac_t""found" 1>&6
962 else
963    ACLOCAL="$missing_dir/missing aclocal"
964    echo "$ac_t""missing" 1>&6
965 fi
966
967 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
968 echo "configure:969: checking for working autoconf" >&5
969 # Run test in a subshell; some versions of sh will print an error if
970 # an executable is not found, even if stderr is redirected.
971 # Redirect stdin to placate older versions of autoconf.  Sigh.
972 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
973    AUTOCONF=autoconf
974    echo "$ac_t""found" 1>&6
975 else
976    AUTOCONF="$missing_dir/missing autoconf"
977    echo "$ac_t""missing" 1>&6
978 fi
979
980 echo $ac_n "checking for working automake""... $ac_c" 1>&6
981 echo "configure:982: checking for working automake" >&5
982 # Run test in a subshell; some versions of sh will print an error if
983 # an executable is not found, even if stderr is redirected.
984 # Redirect stdin to placate older versions of autoconf.  Sigh.
985 if (automake --version) < /dev/null > /dev/null 2>&1; then
986    AUTOMAKE=automake
987    echo "$ac_t""found" 1>&6
988 else
989    AUTOMAKE="$missing_dir/missing automake"
990    echo "$ac_t""missing" 1>&6
991 fi
992
993 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
994 echo "configure:995: checking for working autoheader" >&5
995 # Run test in a subshell; some versions of sh will print an error if
996 # an executable is not found, even if stderr is redirected.
997 # Redirect stdin to placate older versions of autoconf.  Sigh.
998 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
999    AUTOHEADER=autoheader
1000    echo "$ac_t""found" 1>&6
1001 else
1002    AUTOHEADER="$missing_dir/missing autoheader"
1003    echo "$ac_t""missing" 1>&6
1004 fi
1005
1006 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1007 echo "configure:1008: checking for working makeinfo" >&5
1008 # Run test in a subshell; some versions of sh will print an error if
1009 # an executable is not found, even if stderr is redirected.
1010 # Redirect stdin to placate older versions of autoconf.  Sigh.
1011 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1012    MAKEINFO=makeinfo
1013    echo "$ac_t""found" 1>&6
1014 else
1015    MAKEINFO="$missing_dir/missing makeinfo"
1016    echo "$ac_t""missing" 1>&6
1017 fi
1018
1019
1020
1021   # Never versions of autoconf add an underscore to these functions.
1022   # Prevent future problems ...
1023   
1024   
1025   
1026   
1027
1028 #  AC_PROG_CC
1029
1030 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
1031 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
1032 # are probably using a cross compiler, which will not be able to fully
1033 # link an executable.  This should really be fixed in autoconf
1034 # itself.
1035
1036
1037
1038
1039 # Extract the first word of "gcc", so it can be a program name with args.
1040 set dummy gcc; ac_word=$2
1041 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1042 echo "configure:1043: checking for $ac_word" >&5
1043 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1044   echo $ac_n "(cached) $ac_c" 1>&6
1045 else
1046   if test -n "$CC"; then
1047   ac_cv_prog_CC="$CC" # Let the user override the test.
1048 else
1049   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1050   ac_dummy="$PATH"
1051   for ac_dir in $ac_dummy; do
1052     test -z "$ac_dir" && ac_dir=.
1053     if test -f $ac_dir/$ac_word; then
1054       ac_cv_prog_CC="gcc"
1055       break
1056     fi
1057   done
1058   IFS="$ac_save_ifs"
1059 fi
1060 fi
1061 CC="$ac_cv_prog_CC"
1062 if test -n "$CC"; then
1063   echo "$ac_t""$CC" 1>&6
1064 else
1065   echo "$ac_t""no" 1>&6
1066 fi
1067
1068 if test -z "$CC"; then
1069   # Extract the first word of "cc", so it can be a program name with args.
1070 set dummy cc; ac_word=$2
1071 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1072 echo "configure:1073: checking for $ac_word" >&5
1073 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1074   echo $ac_n "(cached) $ac_c" 1>&6
1075 else
1076   if test -n "$CC"; then
1077   ac_cv_prog_CC="$CC" # Let the user override the test.
1078 else
1079   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1080   ac_prog_rejected=no
1081   ac_dummy="$PATH"
1082   for ac_dir in $ac_dummy; do
1083     test -z "$ac_dir" && ac_dir=.
1084     if test -f $ac_dir/$ac_word; then
1085       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1086         ac_prog_rejected=yes
1087         continue
1088       fi
1089       ac_cv_prog_CC="cc"
1090       break
1091     fi
1092   done
1093   IFS="$ac_save_ifs"
1094 if test $ac_prog_rejected = yes; then
1095   # We found a bogon in the path, so make sure we never use it.
1096   set dummy $ac_cv_prog_CC
1097   shift
1098   if test $# -gt 0; then
1099     # We chose a different compiler from the bogus one.
1100     # However, it has the same basename, so the bogon will be chosen
1101     # first if we set CC to just the basename; use the full file name.
1102     shift
1103     set dummy "$ac_dir/$ac_word" "$@"
1104     shift
1105     ac_cv_prog_CC="$@"
1106   fi
1107 fi
1108 fi
1109 fi
1110 CC="$ac_cv_prog_CC"
1111 if test -n "$CC"; then
1112   echo "$ac_t""$CC" 1>&6
1113 else
1114   echo "$ac_t""no" 1>&6
1115 fi
1116
1117   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1118 fi
1119
1120 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1121 echo "configure:1122: checking whether we are using GNU C" >&5
1122 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1123   echo $ac_n "(cached) $ac_c" 1>&6
1124 else
1125   cat > conftest.c <<EOF
1126 #ifdef __GNUC__
1127   yes;
1128 #endif
1129 EOF
1130 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1131   ac_cv_prog_gcc=yes
1132 else
1133   ac_cv_prog_gcc=no
1134 fi
1135 fi
1136
1137 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1138
1139 if test $ac_cv_prog_gcc = yes; then
1140   GCC=yes
1141   ac_test_CFLAGS="${CFLAGS+set}"
1142   ac_save_CFLAGS="$CFLAGS"
1143   CFLAGS=
1144   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1145 echo "configure:1146: checking whether ${CC-cc} accepts -g" >&5
1146 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1147   echo $ac_n "(cached) $ac_c" 1>&6
1148 else
1149   echo 'void f(){}' > conftest.c
1150 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1151   ac_cv_prog_cc_g=yes
1152 else
1153   ac_cv_prog_cc_g=no
1154 fi
1155 rm -f conftest*
1156
1157 fi
1158
1159 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1160   if test "$ac_test_CFLAGS" = set; then
1161     CFLAGS="$ac_save_CFLAGS"
1162   elif test $ac_cv_prog_cc_g = yes; then
1163     CFLAGS="-g -O2"
1164   else
1165     CFLAGS="-O2"
1166   fi
1167 else
1168   GCC=
1169   test "${CFLAGS+set}" = set || CFLAGS="-g"
1170 fi
1171
1172
1173 # Can't just call these here as g++ requires libstc++ to be built....
1174 #  AC_PROG_CXX
1175
1176 # Likewise for AC_PROG_CXX.
1177
1178
1179
1180 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1181 do
1182 # Extract the first word of "$ac_prog", so it can be a program name with args.
1183 set dummy $ac_prog; ac_word=$2
1184 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1185 echo "configure:1186: checking for $ac_word" >&5
1186 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1187   echo $ac_n "(cached) $ac_c" 1>&6
1188 else
1189   if test -n "$CXX"; then
1190   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1191 else
1192   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1193   ac_dummy="$PATH"
1194   for ac_dir in $ac_dummy; do
1195     test -z "$ac_dir" && ac_dir=.
1196     if test -f $ac_dir/$ac_word; then
1197       ac_cv_prog_CXX="$ac_prog"
1198       break
1199     fi
1200   done
1201   IFS="$ac_save_ifs"
1202 fi
1203 fi
1204 CXX="$ac_cv_prog_CXX"
1205 if test -n "$CXX"; then
1206   echo "$ac_t""$CXX" 1>&6
1207 else
1208   echo "$ac_t""no" 1>&6
1209 fi
1210
1211 test -n "$CXX" && break
1212 done
1213 test -n "$CXX" || CXX="gcc"
1214
1215 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1216
1217 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1218 echo "configure:1219: checking whether we are using GNU C++" >&5
1219 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1220   echo $ac_n "(cached) $ac_c" 1>&6
1221 else
1222   cat > conftest.C <<EOF
1223 #ifdef __GNUC__
1224   yes;
1225 #endif
1226 EOF
1227 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1228   ac_cv_prog_gxx=yes
1229 else
1230   ac_cv_prog_gxx=no
1231 fi
1232 fi
1233
1234 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1235
1236 if test $ac_cv_prog_gxx = yes; then
1237   GXX=yes
1238   ac_test_CXXFLAGS="${CXXFLAGS+set}"
1239   ac_save_CXXFLAGS="$CXXFLAGS"
1240   CXXFLAGS=
1241   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1242 echo "configure:1243: checking whether ${CXX-g++} accepts -g" >&5
1243 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1244   echo $ac_n "(cached) $ac_c" 1>&6
1245 else
1246   echo 'void f(){}' > conftest.cc
1247 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1248   ac_cv_prog_cxx_g=yes
1249 else
1250   ac_cv_prog_cxx_g=no
1251 fi
1252 rm -f conftest*
1253
1254 fi
1255
1256 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1257   if test "$ac_test_CXXFLAGS" = set; then
1258     CXXFLAGS="$ac_save_CXXFLAGS"
1259   elif test $ac_cv_prog_cxx_g = yes; then
1260     CXXFLAGS="-g -O2"
1261   else
1262     CXXFLAGS="-O2"
1263   fi
1264 else
1265   GXX=
1266   test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1267 fi
1268
1269
1270   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1271 set dummy ${ac_tool_prefix}as; ac_word=$2
1272 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1273 echo "configure:1274: checking for $ac_word" >&5
1274 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1275   echo $ac_n "(cached) $ac_c" 1>&6
1276 else
1277   if test -n "$AS"; then
1278   ac_cv_prog_AS="$AS" # Let the user override the test.
1279 else
1280   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1281   ac_dummy="$PATH"
1282   for ac_dir in $ac_dummy; do
1283     test -z "$ac_dir" && ac_dir=.
1284     if test -f $ac_dir/$ac_word; then
1285       ac_cv_prog_AS="${ac_tool_prefix}as"
1286       break
1287     fi
1288   done
1289   IFS="$ac_save_ifs"
1290   test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1291 fi
1292 fi
1293 AS="$ac_cv_prog_AS"
1294 if test -n "$AS"; then
1295   echo "$ac_t""$AS" 1>&6
1296 else
1297   echo "$ac_t""no" 1>&6
1298 fi
1299
1300
1301
1302   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1303 set dummy ${ac_tool_prefix}ar; ac_word=$2
1304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1305 echo "configure:1306: checking for $ac_word" >&5
1306 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1307   echo $ac_n "(cached) $ac_c" 1>&6
1308 else
1309   if test -n "$AR"; then
1310   ac_cv_prog_AR="$AR" # Let the user override the test.
1311 else
1312   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1313   ac_dummy="$PATH"
1314   for ac_dir in $ac_dummy; do
1315     test -z "$ac_dir" && ac_dir=.
1316     if test -f $ac_dir/$ac_word; then
1317       ac_cv_prog_AR="${ac_tool_prefix}ar"
1318       break
1319     fi
1320   done
1321   IFS="$ac_save_ifs"
1322   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1323 fi
1324 fi
1325 AR="$ac_cv_prog_AR"
1326 if test -n "$AR"; then
1327   echo "$ac_t""$AR" 1>&6
1328 else
1329   echo "$ac_t""no" 1>&6
1330 fi
1331
1332
1333
1334   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1335 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1336 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1337 echo "configure:1338: checking for $ac_word" >&5
1338 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1339   echo $ac_n "(cached) $ac_c" 1>&6
1340 else
1341   if test -n "$RANLIB"; then
1342   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1343 else
1344   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1345   ac_dummy="$PATH"
1346   for ac_dir in $ac_dummy; do
1347     test -z "$ac_dir" && ac_dir=.
1348     if test -f $ac_dir/$ac_word; then
1349       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1350       break
1351     fi
1352   done
1353   IFS="$ac_save_ifs"
1354 fi
1355 fi
1356 RANLIB="$ac_cv_prog_RANLIB"
1357 if test -n "$RANLIB"; then
1358   echo "$ac_t""$RANLIB" 1>&6
1359 else
1360   echo "$ac_t""no" 1>&6
1361 fi
1362
1363
1364 if test -z "$ac_cv_prog_RANLIB"; then
1365 if test -n "$ac_tool_prefix"; then
1366   # Extract the first word of "ranlib", so it can be a program name with args.
1367 set dummy ranlib; ac_word=$2
1368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1369 echo "configure:1370: checking for $ac_word" >&5
1370 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1371   echo $ac_n "(cached) $ac_c" 1>&6
1372 else
1373   if test -n "$RANLIB"; then
1374   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1375 else
1376   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1377   ac_dummy="$PATH"
1378   for ac_dir in $ac_dummy; do
1379     test -z "$ac_dir" && ac_dir=.
1380     if test -f $ac_dir/$ac_word; then
1381       ac_cv_prog_RANLIB="ranlib"
1382       break
1383     fi
1384   done
1385   IFS="$ac_save_ifs"
1386   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1387 fi
1388 fi
1389 RANLIB="$ac_cv_prog_RANLIB"
1390 if test -n "$RANLIB"; then
1391   echo "$ac_t""$RANLIB" 1>&6
1392 else
1393   echo "$ac_t""no" 1>&6
1394 fi
1395
1396 else
1397   RANLIB=":"
1398 fi
1399 fi
1400
1401
1402   # Find a good install program.  We prefer a C program (faster),
1403 # so one script is as good as another.  But avoid the broken or
1404 # incompatible versions:
1405 # SysV /etc/install, /usr/sbin/install
1406 # SunOS /usr/etc/install
1407 # IRIX /sbin/install
1408 # AIX /bin/install
1409 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1410 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1411 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1412 # ./install, which can be erroneously created by make from ./install.sh.
1413 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1414 echo "configure:1415: checking for a BSD compatible install" >&5
1415 if test -z "$INSTALL"; then
1416 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1417   echo $ac_n "(cached) $ac_c" 1>&6
1418 else
1419     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
1420   for ac_dir in $PATH; do
1421     # Account for people who put trailing slashes in PATH elements.
1422     case "$ac_dir/" in
1423     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1424     *)
1425       # OSF1 and SCO ODT 3.0 have their own names for install.
1426       # Don't use installbsd from OSF since it installs stuff as root
1427       # by default.
1428       for ac_prog in ginstall scoinst install; do
1429         if test -f $ac_dir/$ac_prog; then
1430           if test $ac_prog = install &&
1431             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1432             # AIX install.  It has an incompatible calling convention.
1433             :
1434           else
1435             ac_cv_path_install="$ac_dir/$ac_prog -c"
1436             break 2
1437           fi
1438         fi
1439       done
1440       ;;
1441     esac
1442   done
1443   IFS="$ac_save_IFS"
1444
1445 fi
1446   if test "${ac_cv_path_install+set}" = set; then
1447     INSTALL="$ac_cv_path_install"
1448   else
1449     # As a last resort, use the slow shell script.  We don't cache a
1450     # path for INSTALL within a source directory, because that will
1451     # break other packages using the cache if that directory is
1452     # removed, or if the path is relative.
1453     INSTALL="$ac_install_sh"
1454   fi
1455 fi
1456 echo "$ac_t""$INSTALL" 1>&6
1457
1458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1459 # It thinks the first close brace ends the variable substitution.
1460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1461
1462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1463
1464 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1465
1466
1467   echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1468 echo "configure:1469: checking whether to enable maintainer-specific portions of Makefiles" >&5
1469     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1470 if test "${enable_maintainer_mode+set}" = set; then
1471   enableval="$enable_maintainer_mode"
1472   USE_MAINTAINER_MODE=$enableval
1473 else
1474   USE_MAINTAINER_MODE=no
1475 fi
1476
1477   echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1478   
1479
1480 if test $USE_MAINTAINER_MODE = yes; then
1481   MAINTAINER_MODE_TRUE=
1482   MAINTAINER_MODE_FALSE='#'
1483 else
1484   MAINTAINER_MODE_TRUE='#'
1485   MAINTAINER_MODE_FALSE=
1486 fi
1487   MAINT=$MAINTAINER_MODE_TRUE
1488   
1489
1490
1491   # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
1492   # at least currently, we never actually build a program, so we never
1493   # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
1494   # fails, because we are probably configuring with a cross compiler
1495   # which cant create executables.  So we include AC_EXEEXT to keep
1496   # automake happy, but we dont execute it, since we dont care about
1497   # the result.
1498   if false; then
1499     
1500
1501 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1502 echo "configure:1503: checking for executable suffix" >&5
1503 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1504   echo $ac_n "(cached) $ac_c" 1>&6
1505 else
1506   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1507   ac_cv_exeext=.exe
1508 else
1509   rm -f conftest*
1510   echo 'int main () { return 0; }' > conftest.$ac_ext
1511   ac_cv_exeext=
1512   if { (eval echo configure:1513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1513     for file in conftest.*; do
1514       case $file in
1515       *.c | *.o | *.obj) ;;
1516       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1517       esac
1518     done
1519   else
1520     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1521   fi
1522   rm -f conftest*
1523   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1524 fi
1525 fi
1526
1527 EXEEXT=""
1528 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1529 echo "$ac_t""${ac_cv_exeext}" 1>&6
1530 ac_exeext=$EXEEXT
1531
1532   fi
1533
1534   # configure.host sets the following important variables
1535   #        glibcpp_cflags    - host specific C compiler flags
1536   #        glibcpp_cxxflags  - host specific C++ compiler flags
1537   glibcpp_cflags=
1538   glibcpp_cxxflags=
1539
1540   . ${glibcpp_basedir}/configure.host
1541
1542   case ${glibcpp_basedir} in
1543     /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1544     *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1545   esac
1546
1547   GLIBCPP_CFLAGS="${glibcpp_cflags}"
1548   GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1549   
1550   
1551
1552
1553 # Check whether --enable-shared or --disable-shared was given.
1554 if test "${enable_shared+set}" = set; then
1555   enableval="$enable_shared"
1556   p=${PACKAGE-default}
1557 case "$enableval" in
1558 yes) enable_shared=yes ;;
1559 no) enable_shared=no ;;
1560 *)
1561   enable_shared=no
1562   # Look at the argument we got.  We use all the common list separators.
1563   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1564   for pkg in $enableval; do
1565     if test "X$pkg" = "X$p"; then
1566       enable_shared=yes
1567     fi
1568   done
1569   IFS="$ac_save_ifs"
1570   ;;
1571 esac
1572 else
1573   enable_shared=yes
1574 fi
1575
1576 # Check whether --enable-static or --disable-static was given.
1577 if test "${enable_static+set}" = set; then
1578   enableval="$enable_static"
1579   p=${PACKAGE-default}
1580 case "$enableval" in
1581 yes) enable_static=yes ;;
1582 no) enable_static=no ;;
1583 *)
1584   enable_static=no
1585   # Look at the argument we got.  We use all the common list separators.
1586   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1587   for pkg in $enableval; do
1588     if test "X$pkg" = "X$p"; then
1589       enable_static=yes
1590     fi
1591   done
1592   IFS="$ac_save_ifs"
1593   ;;
1594 esac
1595 else
1596   enable_static=yes
1597 fi
1598
1599 # Check whether --enable-fast-install or --disable-fast-install was given.
1600 if test "${enable_fast_install+set}" = set; then
1601   enableval="$enable_fast_install"
1602   p=${PACKAGE-default}
1603 case "$enableval" in
1604 yes) enable_fast_install=yes ;;
1605 no) enable_fast_install=no ;;
1606 *)
1607   enable_fast_install=no
1608   # Look at the argument we got.  We use all the common list separators.
1609   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1610   for pkg in $enableval; do
1611     if test "X$pkg" = "X$p"; then
1612       enable_fast_install=yes
1613     fi
1614   done
1615   IFS="$ac_save_ifs"
1616   ;;
1617 esac
1618 else
1619   enable_fast_install=yes
1620 fi
1621
1622 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1623 if test "${with_gnu_ld+set}" = set; then
1624   withval="$with_gnu_ld"
1625   test "$withval" = no || with_gnu_ld=yes
1626 else
1627   with_gnu_ld=no
1628 fi
1629
1630 ac_prog=ld
1631 if test "$ac_cv_prog_gcc" = yes; then
1632   # Check if gcc -print-prog-name=ld gives a path.
1633   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1634 echo "configure:1635: checking for ld used by GCC" >&5
1635   case $host in
1636   *-*-mingw*)
1637     # gcc leaves a trailing carriage return which upsets mingw
1638     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1639   *)
1640     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1641   esac
1642   case "$ac_prog" in
1643     # Accept absolute paths.
1644     [\\/]* | [A-Za-z]:[\\/]*)
1645       re_direlt='/[^/][^/]*/\.\./'
1646       # Canonicalize the path of ld
1647       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1648       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1649         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1650       done
1651       test -z "$LD" && LD="$ac_prog"
1652       ;;
1653   "")
1654     # If it fails, then pretend we aren't using GCC.
1655     ac_prog=ld
1656     ;;
1657   *)
1658     # If it is relative, then search for the first ld in PATH.
1659     with_gnu_ld=unknown
1660     ;;
1661   esac
1662 elif test "$with_gnu_ld" = yes; then
1663   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1664 echo "configure:1665: checking for GNU ld" >&5
1665 else
1666   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1667 echo "configure:1668: checking for non-GNU ld" >&5
1668 fi
1669 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1670   echo $ac_n "(cached) $ac_c" 1>&6
1671 else
1672   if test -z "$LD"; then
1673   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1674   for ac_dir in $PATH; do
1675     test -z "$ac_dir" && ac_dir=.
1676     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1677       ac_cv_path_LD="$ac_dir/$ac_prog"
1678       # Check to see if the program is GNU ld.  I'd rather use --version,
1679       # but apparently some GNU ld's only accept -v.
1680       # Break only if it was the GNU/non-GNU ld that we prefer.
1681       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1682         test "$with_gnu_ld" != no && break
1683       else
1684         test "$with_gnu_ld" != yes && break
1685       fi
1686     fi
1687   done
1688   IFS="$ac_save_ifs"
1689 else
1690   ac_cv_path_LD="$LD" # Let the user override the test with a path.
1691 fi
1692 fi
1693
1694 LD="$ac_cv_path_LD"
1695 if test -n "$LD"; then
1696   echo "$ac_t""$LD" 1>&6
1697 else
1698   echo "$ac_t""no" 1>&6
1699 fi
1700 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1701 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1702 echo "configure:1703: checking if the linker ($LD) is GNU ld" >&5
1703 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1704   echo $ac_n "(cached) $ac_c" 1>&6
1705 else
1706   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1707 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1708   ac_cv_prog_gnu_ld=yes
1709 else
1710   ac_cv_prog_gnu_ld=no
1711 fi
1712 fi
1713
1714 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1715 with_gnu_ld=$ac_cv_prog_gnu_ld
1716
1717
1718 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1719 echo "configure:1720: checking for $LD option to reload object files" >&5
1720 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1721   echo $ac_n "(cached) $ac_c" 1>&6
1722 else
1723   lt_cv_ld_reload_flag='-r'
1724 fi
1725
1726 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1727 reload_flag=$lt_cv_ld_reload_flag
1728 test -n "$reload_flag" && reload_flag=" $reload_flag"
1729
1730 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1731 echo "configure:1732: checking for BSD-compatible nm" >&5
1732 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1733   echo $ac_n "(cached) $ac_c" 1>&6
1734 else
1735   if test -n "$NM"; then
1736   # Let the user override the test.
1737   ac_cv_path_NM="$NM"
1738 else
1739   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1740   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1741     test -z "$ac_dir" && ac_dir=.
1742     tmp_nm=$ac_dir/${ac_tool_prefix}nm
1743     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1744       # Check to see if the nm accepts a BSD-compat flag.
1745       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1746       #   nm: unknown option "B" ignored
1747       # Tru64's nm complains that /dev/null is an invalid object file
1748       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1749         ac_cv_path_NM="$tmp_nm -B"
1750         break
1751       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1752         ac_cv_path_NM="$tmp_nm -p"
1753         break
1754       else
1755         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1756         continue # so that we can try to find one that supports BSD flags
1757       fi
1758     fi
1759   done
1760   IFS="$ac_save_ifs"
1761   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1762 fi
1763 fi
1764
1765 NM="$ac_cv_path_NM"
1766 echo "$ac_t""$NM" 1>&6
1767
1768 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1769 echo "configure:1770: checking whether ln -s works" >&5
1770 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1771   echo $ac_n "(cached) $ac_c" 1>&6
1772 else
1773   rm -f conftestdata
1774 if ln -s X conftestdata 2>/dev/null
1775 then
1776   rm -f conftestdata
1777   ac_cv_prog_LN_S="ln -s"
1778 else
1779   ac_cv_prog_LN_S=ln
1780 fi
1781 fi
1782 LN_S="$ac_cv_prog_LN_S"
1783 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1784   echo "$ac_t""yes" 1>&6
1785 else
1786   echo "$ac_t""no" 1>&6
1787 fi
1788
1789 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1790 echo "configure:1791: checking how to recognise dependant libraries" >&5
1791 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1792   echo $ac_n "(cached) $ac_c" 1>&6
1793 else
1794   lt_cv_file_magic_cmd='$MAGIC_CMD'
1795 lt_cv_file_magic_test_file=
1796 lt_cv_deplibs_check_method='unknown'
1797 # Need to set the preceding variable on all platforms that support
1798 # interlibrary dependencies.
1799 # 'none' -- dependencies not supported.
1800 # `unknown' -- same as none, but documents that we really don't know.
1801 # 'pass_all' -- all dependencies passed with no checks.
1802 # 'test_compile' -- check by making test program.
1803 # 'file_magic [regex]' -- check by looking for files in library path
1804 # which responds to the $file_magic_cmd with a given egrep regex.
1805 # If you have `file' or equivalent on your system and you're not sure
1806 # whether `pass_all' will *always* work, you probably want this one.
1807
1808 case "$host_os" in
1809 aix4*)
1810   lt_cv_deplibs_check_method=pass_all
1811   ;;
1812
1813 beos*)
1814   lt_cv_deplibs_check_method=pass_all
1815   ;;
1816
1817 bsdi4*)
1818     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1819     lt_cv_file_magic_cmd='/usr/bin/file -L'
1820   lt_cv_file_magic_test_file=/shlib/libc.so
1821   ;;
1822
1823 cygwin* | mingw* |pw32*)
1824   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1825   lt_cv_file_magic_cmd='$OBJDUMP -f'
1826   ;;
1827
1828 freebsd* )
1829   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1830     case "$host_cpu" in
1831     i*86 )
1832       # Not sure whether the presence of OpenBSD here was a mistake.
1833       # Let's accept both of them until this is cleared up.
1834             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1835             lt_cv_file_magic_cmd=/usr/bin/file
1836       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1837       ;;
1838     esac
1839   else
1840     lt_cv_deplibs_check_method=pass_all
1841   fi
1842   ;;
1843
1844 gnu*)
1845   lt_cv_deplibs_check_method=pass_all
1846   ;;
1847
1848 hpux10.20*)
1849   # TODO:  Does this work for hpux-11 too?
1850   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1851   lt_cv_file_magic_cmd=/usr/bin/file
1852   lt_cv_file_magic_test_file=/usr/lib/libc.sl
1853   ;;
1854
1855 irix5* | irix6*)
1856   case "$host_os" in
1857   irix5*)
1858     # this will be overridden with pass_all, but let us keep it just in case
1859     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1860     ;;
1861   *)
1862     case "$LD" in
1863     *-32|*"-32 ") libmagic=32-bit;;
1864     *-n32|*"-n32 ") libmagic=N32;;
1865     *-64|*"-64 ") libmagic=64-bit;;
1866     *) libmagic=never-match;;
1867     esac
1868     # this will be overridden with pass_all, but let us keep it just in case
1869         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1870         ;;
1871   esac
1872   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1873   lt_cv_deplibs_check_method=pass_all
1874   ;;
1875
1876 # This must be Linux ELF.
1877 linux-gnu*)
1878   case "$host_cpu" in
1879   alpha* | i*86 | powerpc* | sparc* | ia64* )
1880     lt_cv_deplibs_check_method=pass_all ;;
1881   *)
1882     # glibc up to 2.1.1 does not perform some relocations on ARM
1883         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1884       esac
1885   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1886   ;;
1887
1888 netbsd*)
1889   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1890   else
1891         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1892         lt_cv_file_magic_cmd='/usr/bin/file -L'
1893     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1894   fi
1895   ;;
1896
1897 osf3* | osf4* | osf5*)
1898   # this will be overridden with pass_all, but let us keep it just in case
1899   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1900   lt_cv_file_magic_test_file=/shlib/libc.so
1901   lt_cv_deplibs_check_method=pass_all
1902   ;;
1903
1904 sco3.2v5*)
1905   lt_cv_deplibs_check_method=pass_all
1906   ;;
1907
1908 solaris*)
1909   lt_cv_deplibs_check_method=pass_all
1910   lt_cv_file_magic_test_file=/lib/libc.so
1911   ;;
1912
1913 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1914   case "$host_vendor" in
1915   ncr)
1916     lt_cv_deplibs_check_method=pass_all
1917     ;;
1918   motorola)
1919         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]'
1920         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1921     ;;
1922   esac
1923   ;;
1924 esac
1925
1926 fi
1927
1928 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1929 file_magic_cmd=$lt_cv_file_magic_cmd
1930 deplibs_check_method=$lt_cv_deplibs_check_method
1931
1932 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1933 echo "configure:1934: checking for object suffix" >&5
1934 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1935   echo $ac_n "(cached) $ac_c" 1>&6
1936 else
1937   rm -f conftest*
1938 echo 'int i = 1;' > conftest.$ac_ext
1939 if { (eval echo configure:1940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1940   for ac_file in conftest.*; do
1941     case $ac_file in
1942     *.c) ;;
1943     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1944     esac
1945   done
1946 else
1947   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1948 fi
1949 rm -f conftest*
1950 fi
1951
1952 echo "$ac_t""$ac_cv_objext" 1>&6
1953 OBJEXT=$ac_cv_objext
1954 ac_objext=$ac_cv_objext
1955
1956 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1957
1958 # Only perform the check for file, if the check method requires it
1959 case "$deplibs_check_method" in
1960 file_magic*)
1961   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1962     echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1963 echo "configure:1964: checking for ${ac_tool_prefix}file" >&5
1964 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1965   echo $ac_n "(cached) $ac_c" 1>&6
1966 else
1967   case "$MAGIC_CMD" in
1968   /*)
1969   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1970   ;;
1971   ?:/*)
1972   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1973   ;;
1974   *)
1975   ac_save_MAGIC_CMD="$MAGIC_CMD"
1976   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1977   ac_dummy="/usr/bin:$PATH"
1978   for ac_dir in $ac_dummy; do
1979     test -z "$ac_dir" && ac_dir=.
1980     if test -f $ac_dir/${ac_tool_prefix}file; then
1981       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1982       if test -n "$file_magic_test_file"; then
1983         case "$deplibs_check_method" in
1984         "file_magic "*)
1985           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1986           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1987           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1988             egrep "$file_magic_regex" > /dev/null; then
1989             :
1990           else
1991             cat <<EOF 1>&2
1992
1993 *** Warning: the command libtool uses to detect shared libraries,
1994 *** $file_magic_cmd, produces output that libtool cannot recognize.
1995 *** The result is that libtool may fail to recognize shared libraries
1996 *** as such.  This will affect the creation of libtool libraries that
1997 *** depend on shared libraries, but programs linked with such libtool
1998 *** libraries will work regardless of this problem.  Nevertheless, you
1999 *** may want to report the problem to your system manager and/or to
2000 *** bug-libtool@gnu.org
2001
2002 EOF
2003           fi ;;
2004         esac
2005       fi
2006       break
2007     fi
2008   done
2009   IFS="$ac_save_ifs"
2010   MAGIC_CMD="$ac_save_MAGIC_CMD"
2011   ;;
2012 esac
2013 fi
2014
2015 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2016 if test -n "$MAGIC_CMD"; then
2017   echo "$ac_t""$MAGIC_CMD" 1>&6
2018 else
2019   echo "$ac_t""no" 1>&6
2020 fi
2021
2022 if test -z "$lt_cv_path_MAGIC_CMD"; then
2023   if test -n "$ac_tool_prefix"; then
2024     echo $ac_n "checking for file""... $ac_c" 1>&6
2025 echo "configure:2026: checking for file" >&5
2026 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2027   echo $ac_n "(cached) $ac_c" 1>&6
2028 else
2029   case "$MAGIC_CMD" in
2030   /*)
2031   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2032   ;;
2033   ?:/*)
2034   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2035   ;;
2036   *)
2037   ac_save_MAGIC_CMD="$MAGIC_CMD"
2038   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2039   ac_dummy="/usr/bin:$PATH"
2040   for ac_dir in $ac_dummy; do
2041     test -z "$ac_dir" && ac_dir=.
2042     if test -f $ac_dir/file; then
2043       lt_cv_path_MAGIC_CMD="$ac_dir/file"
2044       if test -n "$file_magic_test_file"; then
2045         case "$deplibs_check_method" in
2046         "file_magic "*)
2047           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2048           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2049           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2050             egrep "$file_magic_regex" > /dev/null; then
2051             :
2052           else
2053             cat <<EOF 1>&2
2054
2055 *** Warning: the command libtool uses to detect shared libraries,
2056 *** $file_magic_cmd, produces output that libtool cannot recognize.
2057 *** The result is that libtool may fail to recognize shared libraries
2058 *** as such.  This will affect the creation of libtool libraries that
2059 *** depend on shared libraries, but programs linked with such libtool
2060 *** libraries will work regardless of this problem.  Nevertheless, you
2061 *** may want to report the problem to your system manager and/or to
2062 *** bug-libtool@gnu.org
2063
2064 EOF
2065           fi ;;
2066         esac
2067       fi
2068       break
2069     fi
2070   done
2071   IFS="$ac_save_ifs"
2072   MAGIC_CMD="$ac_save_MAGIC_CMD"
2073   ;;
2074 esac
2075 fi
2076
2077 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2078 if test -n "$MAGIC_CMD"; then
2079   echo "$ac_t""$MAGIC_CMD" 1>&6
2080 else
2081   echo "$ac_t""no" 1>&6
2082 fi
2083
2084   else
2085     MAGIC_CMD=:
2086   fi
2087 fi
2088
2089   fi
2090   ;;
2091 esac
2092
2093 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2094 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2096 echo "configure:2097: checking for $ac_word" >&5
2097 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2098   echo $ac_n "(cached) $ac_c" 1>&6
2099 else
2100   if test -n "$RANLIB"; then
2101   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2102 else
2103   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2104   ac_dummy="$PATH"
2105   for ac_dir in $ac_dummy; do
2106     test -z "$ac_dir" && ac_dir=.
2107     if test -f $ac_dir/$ac_word; then
2108       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2109       break
2110     fi
2111   done
2112   IFS="$ac_save_ifs"
2113 fi
2114 fi
2115 RANLIB="$ac_cv_prog_RANLIB"
2116 if test -n "$RANLIB"; then
2117   echo "$ac_t""$RANLIB" 1>&6
2118 else
2119   echo "$ac_t""no" 1>&6
2120 fi
2121
2122
2123 if test -z "$ac_cv_prog_RANLIB"; then
2124 if test -n "$ac_tool_prefix"; then
2125   # Extract the first word of "ranlib", so it can be a program name with args.
2126 set dummy ranlib; ac_word=$2
2127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2128 echo "configure:2129: checking for $ac_word" >&5
2129 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2130   echo $ac_n "(cached) $ac_c" 1>&6
2131 else
2132   if test -n "$RANLIB"; then
2133   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2134 else
2135   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2136   ac_dummy="$PATH"
2137   for ac_dir in $ac_dummy; do
2138     test -z "$ac_dir" && ac_dir=.
2139     if test -f $ac_dir/$ac_word; then
2140       ac_cv_prog_RANLIB="ranlib"
2141       break
2142     fi
2143   done
2144   IFS="$ac_save_ifs"
2145   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2146 fi
2147 fi
2148 RANLIB="$ac_cv_prog_RANLIB"
2149 if test -n "$RANLIB"; then
2150   echo "$ac_t""$RANLIB" 1>&6
2151 else
2152   echo "$ac_t""no" 1>&6
2153 fi
2154
2155 else
2156   RANLIB=":"
2157 fi
2158 fi
2159
2160 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2161 set dummy ${ac_tool_prefix}strip; ac_word=$2
2162 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2163 echo "configure:2164: checking for $ac_word" >&5
2164 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2165   echo $ac_n "(cached) $ac_c" 1>&6
2166 else
2167   if test -n "$STRIP"; then
2168   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2169 else
2170   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2171   ac_dummy="$PATH"
2172   for ac_dir in $ac_dummy; do
2173     test -z "$ac_dir" && ac_dir=.
2174     if test -f $ac_dir/$ac_word; then
2175       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2176       break
2177     fi
2178   done
2179   IFS="$ac_save_ifs"
2180 fi
2181 fi
2182 STRIP="$ac_cv_prog_STRIP"
2183 if test -n "$STRIP"; then
2184   echo "$ac_t""$STRIP" 1>&6
2185 else
2186   echo "$ac_t""no" 1>&6
2187 fi
2188
2189
2190 if test -z "$ac_cv_prog_STRIP"; then
2191 if test -n "$ac_tool_prefix"; then
2192   # Extract the first word of "strip", so it can be a program name with args.
2193 set dummy strip; ac_word=$2
2194 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2195 echo "configure:2196: checking for $ac_word" >&5
2196 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2197   echo $ac_n "(cached) $ac_c" 1>&6
2198 else
2199   if test -n "$STRIP"; then
2200   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2201 else
2202   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2203   ac_dummy="$PATH"
2204   for ac_dir in $ac_dummy; do
2205     test -z "$ac_dir" && ac_dir=.
2206     if test -f $ac_dir/$ac_word; then
2207       ac_cv_prog_STRIP="strip"
2208       break
2209     fi
2210   done
2211   IFS="$ac_save_ifs"
2212   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2213 fi
2214 fi
2215 STRIP="$ac_cv_prog_STRIP"
2216 if test -n "$STRIP"; then
2217   echo "$ac_t""$STRIP" 1>&6
2218 else
2219   echo "$ac_t""no" 1>&6
2220 fi
2221
2222 else
2223   STRIP=":"
2224 fi
2225 fi
2226
2227
2228 # Check for any special flags to pass to ltconfig.
2229 libtool_flags="--cache-file=$cache_file"
2230 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2231 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2232 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2233 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2234 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2235 libtool_flags="$libtool_flags --enable-dlopen"
2236
2237 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2238 if test "${enable_libtool_lock+set}" = set; then
2239   enableval="$enable_libtool_lock"
2240   :
2241 fi
2242
2243 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2244 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2245
2246 # Check whether --with-pic or --without-pic was given.
2247 if test "${with_pic+set}" = set; then
2248   withval="$with_pic"
2249   pic_mode="$withval"
2250 else
2251   pic_mode=default
2252 fi
2253
2254 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2255 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2256
2257 # Some flags need to be propagated to the compiler or linker for good
2258 # libtool support.
2259 case "$host" in
2260 *-*-irix6*)
2261   # Find out which ABI we are using.
2262   echo '#line 2263 "configure"' > conftest.$ac_ext
2263   if { (eval echo configure:2264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2264     case "`/usr/bin/file conftest.o`" in
2265     *32-bit*)
2266       LD="${LD-ld} -32"
2267       ;;
2268     *N32*)
2269       LD="${LD-ld} -n32"
2270       ;;
2271     *64-bit*)
2272       LD="${LD-ld} -64"
2273       ;;
2274     esac
2275   fi
2276   rm -rf conftest*
2277   ;;
2278
2279 *-*-sco3.2v5*)
2280   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2281   SAVE_CFLAGS="$CFLAGS"
2282   CFLAGS="$CFLAGS -belf"
2283   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2284 echo "configure:2285: checking whether the C compiler needs -belf" >&5
2285 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2286   echo $ac_n "(cached) $ac_c" 1>&6
2287 else
2288   
2289      ac_ext=c
2290 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2291 ac_cpp='$CPP $CPPFLAGS'
2292 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2293 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2294 cross_compiling=$ac_cv_prog_cc_cross
2295
2296      cat > conftest.$ac_ext <<EOF
2297 #line 2298 "configure"
2298 #include "confdefs.h"
2299
2300 int main() {
2301
2302 ; return 0; }
2303 EOF
2304 if { (eval echo configure:2305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2305   rm -rf conftest*
2306   lt_cv_cc_needs_belf=yes
2307 else
2308   echo "configure: failed program was:" >&5
2309   cat conftest.$ac_ext >&5
2310   rm -rf conftest*
2311   lt_cv_cc_needs_belf=no
2312 fi
2313 rm -f conftest*
2314      ac_ext=c
2315 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2316 ac_cpp='$CPP $CPPFLAGS'
2317 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2318 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2319 cross_compiling=$ac_cv_prog_cc_cross
2320
2321 fi
2322
2323 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2324   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2325     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2326     CFLAGS="$SAVE_CFLAGS"
2327   fi
2328   ;;
2329
2330
2331 esac
2332
2333 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2334 echo "configure:2335: checking how to run the C++ preprocessor" >&5
2335 if test -z "$CXXCPP"; then
2336 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2337   echo $ac_n "(cached) $ac_c" 1>&6
2338 else
2339   ac_ext=C
2340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2341 ac_cpp='$CXXCPP $CPPFLAGS'
2342 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2343 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2344 cross_compiling=$ac_cv_prog_cxx_cross
2345   CXXCPP="${CXX-g++} -E"
2346   cat > conftest.$ac_ext <<EOF
2347 #line 2348 "configure"
2348 #include "confdefs.h"
2349 #include <stdlib.h>
2350 EOF
2351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2352 { (eval echo configure:2353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2354 if test -z "$ac_err"; then
2355   :
2356 else
2357   echo "$ac_err" >&5
2358   echo "configure: failed program was:" >&5
2359   cat conftest.$ac_ext >&5
2360   rm -rf conftest*
2361   CXXCPP=/lib/cpp
2362 fi
2363 rm -f conftest*
2364   ac_cv_prog_CXXCPP="$CXXCPP"
2365 ac_ext=c
2366 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2367 ac_cpp='$CPP $CPPFLAGS'
2368 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2369 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2370 cross_compiling=$ac_cv_prog_cc_cross
2371 fi
2372 fi
2373 CXXCPP="$ac_cv_prog_CXXCPP"
2374 echo "$ac_t""$CXXCPP" 1>&6
2375
2376
2377 # Save cache, so that ltconfig can load it
2378 cat > confcache <<\EOF
2379 # This file is a shell script that caches the results of configure
2380 # tests run on this system so they can be shared between configure
2381 # scripts and configure runs.  It is not useful on other systems.
2382 # If it contains results you don't want to keep, you may remove or edit it.
2383 #
2384 # By default, configure uses ./config.cache as the cache file,
2385 # creating it if it does not exist already.  You can give configure
2386 # the --cache-file=FILE option to use a different cache file; that is
2387 # what configure does when it calls configure scripts in
2388 # subdirectories, so they share the cache.
2389 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2390 # config.status only pays attention to the cache file if you give it the
2391 # --recheck option to rerun configure.
2392 #
2393 EOF
2394 # The following way of writing the cache mishandles newlines in values,
2395 # but we know of no workaround that is simple, portable, and efficient.
2396 # So, don't put newlines in cache variables' values.
2397 # Ultrix sh set writes to stderr and can't be redirected directly,
2398 # and sets the high bit in the cache file unless we assign to the vars.
2399 (set) 2>&1 |
2400   case `(ac_space=' '; set | grep ac_space) 2>&1` in
2401   *ac_space=\ *)
2402     # `set' does not quote correctly, so add quotes (double-quote substitution
2403     # turns \\\\ into \\, and sed turns \\ into \).
2404     sed -n \
2405       -e "s/'/'\\\\''/g" \
2406       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2407     ;;
2408   *)
2409     # `set' quotes correctly as required by POSIX, so do not add quotes.
2410     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2411     ;;
2412   esac >> confcache
2413 if cmp -s $cache_file confcache; then
2414   :
2415 else
2416   if test -w $cache_file; then
2417     echo "updating cache $cache_file"
2418     cat confcache > $cache_file
2419   else
2420     echo "not updating unwritable cache $cache_file"
2421   fi
2422 fi
2423 rm -f confcache
2424
2425
2426 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
2427 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2428 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2429 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2430 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2431 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2432 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2433 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2434 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2435 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2436
2437 # Reload cache, that may have been modified by ltconfig
2438 if test -r "$cache_file"; then
2439   echo "loading cache $cache_file"
2440   . $cache_file
2441 else
2442   echo "creating cache $cache_file"
2443   > $cache_file
2444 fi
2445
2446
2447 # This can be used to rebuild libtool when needed
2448 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2449
2450 # Always use our own libtool.
2451 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2452
2453 # Redirect the config.log output again, so that the ltconfig log is not
2454 # clobbered by the next message.
2455 exec 5>>./config.log
2456
2457
2458
2459
2460 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2461 lt_save_CC="$CC"
2462 lt_save_CFLAGS="$CFLAGS"
2463 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2464 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2465 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2466 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2467 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2468 deplibs_check_method="$deplibs_check_method" \
2469 file_magic_cmd="$file_magic_cmd" \
2470 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2471 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2472 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2473 CC="$lt_save_CC"
2474 CFLAGS="$lt_save_CFLAGS"
2475
2476 # Redirect the config.log output again, so that the ltconfig log is not
2477 # clobbered by the next message.
2478 exec 5>>./config.log
2479
2480
2481   
2482
2483   
2484          
2485          
2486 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2487 echo "configure:2488: checking for GNU make" >&5
2488 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2489   echo $ac_n "(cached) $ac_c" 1>&6
2490 else
2491   _cv_gnu_make_command='' ;
2492           for a in "${MAKE:-make}" make gmake gnumake ; do
2493                   if ( $a --version 2> /dev/null | grep -c GNU )
2494                   then
2495                           _cv_gnu_make_command=$a ;
2496                           break;
2497                   fi
2498           done ;
2499   
2500 fi
2501
2502 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2503   if test  "x$_cv_gnu_make_command" != "x"  ; then
2504           ifGNUmake='' ;
2505   else
2506           ifGNUmake='#' ;
2507   fi
2508   
2509
2510   if test "x$_cv_gnu_make_command" = "x"; then
2511     { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2512   fi
2513
2514
2515
2516
2517 # Check for c++ or library specific bits that don't require linking.
2518 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2519 echo "configure:2520: checking how to run the C preprocessor" >&5
2520 # On Suns, sometimes $CPP names a directory.
2521 if test -n "$CPP" && test -d "$CPP"; then
2522   CPP=
2523 fi
2524 if test -z "$CPP"; then
2525 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2526   echo $ac_n "(cached) $ac_c" 1>&6
2527 else
2528     # This must be in double quotes, not single quotes, because CPP may get
2529   # substituted into the Makefile and "${CC-cc}" will confuse make.
2530   CPP="${CC-cc} -E"
2531   # On the NeXT, cc -E runs the code through the compiler's parser,
2532   # not just through cpp.
2533   cat > conftest.$ac_ext <<EOF
2534 #line 2535 "configure"
2535 #include "confdefs.h"
2536 #include <assert.h>
2537 Syntax Error
2538 EOF
2539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2540 { (eval echo configure:2541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2542 if test -z "$ac_err"; then
2543   :
2544 else
2545   echo "$ac_err" >&5
2546   echo "configure: failed program was:" >&5
2547   cat conftest.$ac_ext >&5
2548   rm -rf conftest*
2549   CPP="${CC-cc} -E -traditional-cpp"
2550   cat > conftest.$ac_ext <<EOF
2551 #line 2552 "configure"
2552 #include "confdefs.h"
2553 #include <assert.h>
2554 Syntax Error
2555 EOF
2556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2557 { (eval echo configure:2558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2559 if test -z "$ac_err"; then
2560   :
2561 else
2562   echo "$ac_err" >&5
2563   echo "configure: failed program was:" >&5
2564   cat conftest.$ac_ext >&5
2565   rm -rf conftest*
2566   CPP="${CC-cc} -nologo -E"
2567   cat > conftest.$ac_ext <<EOF
2568 #line 2569 "configure"
2569 #include "confdefs.h"
2570 #include <assert.h>
2571 Syntax Error
2572 EOF
2573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2574 { (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2576 if test -z "$ac_err"; then
2577   :
2578 else
2579   echo "$ac_err" >&5
2580   echo "configure: failed program was:" >&5
2581   cat conftest.$ac_ext >&5
2582   rm -rf conftest*
2583   CPP=/lib/cpp
2584 fi
2585 rm -f conftest*
2586 fi
2587 rm -f conftest*
2588 fi
2589 rm -f conftest*
2590   ac_cv_prog_CPP="$CPP"
2591 fi
2592   CPP="$ac_cv_prog_CPP"
2593 else
2594   ac_cv_prog_CPP="$CPP"
2595 fi
2596 echo "$ac_t""$CPP" 1>&6
2597
2598
2599   # Sanity check that g++ is capable of dealing with v-3.
2600   echo $ac_n "checking for g++ that will successfully compile this code""... $ac_c" 1>&6
2601 echo "configure:2602: checking for g++ that will successfully compile this code" >&5
2602   cat > conftest.$ac_ext <<EOF
2603 #line 2604 "configure"
2604 #include "confdefs.h"
2605
2606   #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
2607     ok
2608   #endif
2609   
2610 EOF
2611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2612   egrep "ok" >/dev/null 2>&1; then
2613   rm -rf conftest*
2614   gpp_satisfactory=yes
2615 else
2616   rm -rf conftest*
2617   { echo "configure: error: please upgrade to gcc-2.95 or above" 1>&2; exit 1; }
2618 fi
2619 rm -f conftest*
2620
2621   echo "$ac_t""$gpp_satisfactory" 1>&6
2622
2623
2624     echo $ac_n "checking for cpu config directory""... $ac_c" 1>&6
2625 echo "configure:2626: checking for cpu config directory" >&5
2626 # Currently unused, but could be useful.
2627 #    CPU_FLAGS=                        
2628     case "${target_cpu}" in
2629       alpha*)
2630         cpu_include_dir="config/cpu/alpha"
2631         ;;
2632       arm*)
2633         cpu_include_dir="config/cpu/arm"
2634         ;;
2635       ia64)
2636         cpu_include_dir="config/cpu/ia64"
2637         ;;
2638       i386)
2639         cpu_include_dir="config/cpu/i386"
2640         ;;
2641       i486 | i586 | i686 | i786)
2642         cpu_include_dir="config/cpu/i486"
2643         ;;
2644       powerpc | rs6000)
2645         cpu_include_dir="config/cpu/powerpc"
2646         ;;
2647       sparc64 | ultrasparc)
2648         cpu_include_dir="config/cpu/sparc/sparc64"
2649         ;;
2650       sparc*)
2651         cpu_include_dir="config/cpu/sparc/sparc32"
2652         ;;
2653       *)
2654         cpu_include_dir="config/cpu/generic"
2655         ;;
2656     esac
2657     echo "$ac_t""$cpu_include_dir" 1>&6
2658
2659
2660     echo $ac_n "checking for os config directory""... $ac_c" 1>&6
2661 echo "configure:2662: checking for os config directory" >&5
2662 # Currently unused, but could be useful.
2663 #    OS_FLAGS=
2664     case "${target_os}" in
2665       aix*)
2666         os_include_dir="config/os/aix"
2667         ;;
2668       bsd* | freebsd*)
2669         os_include_dir="config/os/bsd"
2670         ;;
2671       linux*)
2672         os_include_dir="config/os/gnu-linux"
2673         ;;
2674       irix*)
2675         os_include_dir="config/os/irix"
2676         ;;
2677       solaris2.5*)
2678         os_include_dir="config/os/solaris/solaris2.5"
2679         ;;
2680       solaris2.6*)
2681         os_include_dir="config/os/solaris/solaris2.6"
2682         ;;
2683       solaris2.7* | solaris2.8*)
2684         os_include_dir="config/os/solaris/solaris2.7"
2685         ;;
2686       *)
2687         os_include_dir="config/os/generic"
2688         ;;
2689     esac
2690     echo "$ac_t""$os_include_dir" 1>&6
2691     
2692
2693
2694 cat > confcache <<\EOF
2695 # This file is a shell script that caches the results of configure
2696 # tests run on this system so they can be shared between configure
2697 # scripts and configure runs.  It is not useful on other systems.
2698 # If it contains results you don't want to keep, you may remove or edit it.
2699 #
2700 # By default, configure uses ./config.cache as the cache file,
2701 # creating it if it does not exist already.  You can give configure
2702 # the --cache-file=FILE option to use a different cache file; that is
2703 # what configure does when it calls configure scripts in
2704 # subdirectories, so they share the cache.
2705 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2706 # config.status only pays attention to the cache file if you give it the
2707 # --recheck option to rerun configure.
2708 #
2709 EOF
2710 # The following way of writing the cache mishandles newlines in values,
2711 # but we know of no workaround that is simple, portable, and efficient.
2712 # So, don't put newlines in cache variables' values.
2713 # Ultrix sh set writes to stderr and can't be redirected directly,
2714 # and sets the high bit in the cache file unless we assign to the vars.
2715 (set) 2>&1 |
2716   case `(ac_space=' '; set | grep ac_space) 2>&1` in
2717   *ac_space=\ *)
2718     # `set' does not quote correctly, so add quotes (double-quote substitution
2719     # turns \\\\ into \\, and sed turns \\ into \).
2720     sed -n \
2721       -e "s/'/'\\\\''/g" \
2722       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2723     ;;
2724   *)
2725     # `set' quotes correctly as required by POSIX, so do not add quotes.
2726     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2727     ;;
2728   esac >> confcache
2729 if cmp -s $cache_file confcache; then
2730   :
2731 else
2732   if test -w $cache_file; then
2733     echo "updating cache $cache_file"
2734     cat confcache > $cache_file
2735   else
2736     echo "not updating unwritable cache $cache_file"
2737   fi
2738 fi
2739 rm -f confcache
2740
2741
2742 # Enable all the crazy c++ stuff.  C_MBCHAR must come early.
2743 # Check whether --enable-debug or --disable-debug was given.
2744 if test "${enable_debug+set}" = set; then
2745   enableval="$enable_debug"
2746   case "${enableval}" in
2747  yes) enable_debug=yes ;;
2748  no)  enable_debug=no ;;
2749  *)   { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2750  esac
2751 else
2752   enable_debug=no
2753 fi
2754
2755 case "${enable_debug}" in
2756     yes) 
2757         DEBUG_FLAGS='-O0 -ggdb'                        
2758         ;;
2759     no)   
2760         DEBUG_FLAGS='-g'
2761         ;;
2762 esac
2763
2764
2765 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2766 if test "${enable_c_mbchar+set}" = set; then
2767   enableval="$enable_c_mbchar"
2768   case "$enableval" in
2769  yes) enable_c_mbchar=yes ;;
2770  no)  enable_c_mbchar=no ;;
2771  *)   { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2772  esac
2773 else
2774   enable_c_mbchar=yes
2775 fi
2776
2777
2778   echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2779 echo "configure:2780: checking for cstdio to use" >&5
2780   # Check whether --enable-cstdio or --disable-cstdio was given.
2781 if test "${enable_cstdio+set}" = set; then
2782   enableval="$enable_cstdio"
2783   if test x$enable_cstdio = xno; then
2784      enable_cstdio=libio
2785   fi
2786 else
2787   enable_cstdio=libio
2788 fi
2789
2790
2791   enable_cstdio_flag=$enable_cstdio
2792
2793     case x${enable_cstdio_flag} in
2794     xlibio | x | xno | xnone | xyes)
2795       # default
2796       CSTDIO_H=config/c_io_libio.h
2797       CSTDIO_CC=config/c_io_libio.cc
2798       echo "$ac_t""libio" 1>&6
2799
2800       # see if we are on a system with libio native (ie, linux)
2801       ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2802 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2803 echo "configure:2804: checking for libio.h" >&5
2804 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2805   echo $ac_n "(cached) $ac_c" 1>&6
2806 else
2807   cat > conftest.$ac_ext <<EOF
2808 #line 2809 "configure"
2809 #include "confdefs.h"
2810 #include <libio.h>
2811 EOF
2812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2813 { (eval echo configure:2814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2815 if test -z "$ac_err"; then
2816   rm -rf conftest*
2817   eval "ac_cv_header_$ac_safe=yes"
2818 else
2819   echo "$ac_err" >&5
2820   echo "configure: failed program was:" >&5
2821   cat conftest.$ac_ext >&5
2822   rm -rf conftest*
2823   eval "ac_cv_header_$ac_safe=no"
2824 fi
2825 rm -f conftest*
2826 fi
2827 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2828   echo "$ac_t""yes" 1>&6
2829   has_libio=yes
2830 else
2831   echo "$ac_t""no" 1>&6
2832 has_libio=no
2833 fi
2834
2835
2836       # Need to check and see what version of glibc is being used. If
2837       # it's not glibc-2.2 or higher, then we'll need to go ahead and 
2838       # compile most of libio for linux systems.
2839       if test x$has_libio = x"yes"; then
2840         case "$target" in
2841           *-*-linux*)
2842               echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2843 echo "configure:2844: checking for glibc version >= 2.2" >&5
2844               cat > conftest.$ac_ext <<EOF
2845 #line 2846 "configure"
2846 #include "confdefs.h"
2847
2848             #include <features.h>
2849               #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) 
2850                     ok
2851               #endif
2852               
2853 EOF
2854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2855   egrep "ok" >/dev/null 2>&1; then
2856   rm -rf conftest*
2857   glibc_satisfactory=yes
2858 else
2859   rm -rf conftest*
2860   glibc_satisfactory=no
2861 fi
2862 rm -f conftest*
2863
2864               echo "$ac_t""$glibc_satisfactory" 1>&6
2865             ;;
2866         esac
2867
2868         # XXX at the moment, admit defeat and force the recompilation
2869         # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2870         glibc_satisfactory=no        
2871
2872         if test x$glibc_satisfactory = x"yes"; then
2873            need_libio=no
2874            need_xtra_libio=no
2875            need_wlibio=no        
2876         else
2877            need_libio=yes
2878            need_xtra_libio=yes
2879            # bkoz XXX need to add checks to enable this
2880            # pme XXX here's a first pass at such a check
2881            if test x$enable_c_mbchar != xno; then
2882               need_wlibio=yes
2883            else
2884               need_wlibio=no
2885            fi
2886         fi
2887
2888       # Using libio, but <libio.h> doesn't exist on the target system. . .
2889       else
2890          need_libio=yes
2891          need_xtra_libio=no
2892          # bkoz XXX need to add checks to enable this
2893          # pme XXX here's a first pass at such a check
2894          if test x$enable_c_mbchar != xno; then
2895              need_wlibio=yes
2896          else
2897              need_wlibio=no
2898          fi
2899       fi
2900       ;;
2901
2902     xwince)
2903       CSTDIO_H=config/c_io_wince.h
2904       CSTDIO_CC=config/c_io_wince.cc
2905       echo "$ac_t""wince" 1>&6
2906
2907       need_libio=no
2908       ;;
2909     *)
2910       echo "$enable_cstdio is an unknown io package" 1>&2
2911       exit 1
2912       ;;
2913   esac
2914   
2915   
2916
2917   # 2000-08-04 bkoz hack
2918   CCODECVT_C=config/c_io_libio_codecvt.c
2919   
2920   # 2000-08-04 bkoz hack
2921
2922   
2923
2924 if test "$need_libio" = yes; then
2925   GLIBCPP_NEED_LIBIO_TRUE=
2926   GLIBCPP_NEED_LIBIO_FALSE='#'
2927 else
2928   GLIBCPP_NEED_LIBIO_TRUE='#'
2929   GLIBCPP_NEED_LIBIO_FALSE=
2930 fi
2931   
2932
2933 if test "$need_xtra_libio" = yes; then
2934   GLIBCPP_NEED_XTRA_LIBIO_TRUE=
2935   GLIBCPP_NEED_XTRA_LIBIO_FALSE='#'
2936 else
2937   GLIBCPP_NEED_XTRA_LIBIO_TRUE='#'
2938   GLIBCPP_NEED_XTRA_LIBIO_FALSE=
2939 fi
2940   
2941
2942 if test "$need_wlibio" = yes; then
2943   GLIBCPP_NEED_WLIBIO_TRUE=
2944   GLIBCPP_NEED_WLIBIO_FALSE='#'
2945 else
2946   GLIBCPP_NEED_WLIBIO_TRUE='#'
2947   GLIBCPP_NEED_WLIBIO_FALSE=
2948 fi
2949
2950   
2951   # Check whether --enable-long-long or --disable-long-long was given.
2952 if test "${enable_long_long+set}" = set; then
2953   enableval="$enable_long_long"
2954     case "$enableval" in
2955    yes) enable_long_long=yes ;;
2956    no)  enable_long_long=no ;;
2957    *)   { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2958    esac
2959 else
2960   enable_long_long=yes
2961 fi
2962
2963   # Check for the existance of functions used if long long is enabled.
2964   echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2965 echo "configure:2966: checking for strtoll" >&5
2966 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2967   echo $ac_n "(cached) $ac_c" 1>&6
2968 else
2969   cat > conftest.$ac_ext <<EOF
2970 #line 2971 "configure"
2971 #include "confdefs.h"
2972 /* System header to define __stub macros and hopefully few prototypes,
2973     which can conflict with char strtoll(); below.  */
2974 #include <assert.h>
2975 /* Override any gcc2 internal prototype to avoid an error.  */
2976 /* We use char because int might match the return type of a gcc2
2977     builtin and then its argument prototype would still apply.  */
2978 char strtoll();
2979
2980 int main() {
2981
2982 /* The GNU C library defines this for functions which it implements
2983     to always fail with ENOSYS.  Some functions are actually named
2984     something starting with __ and the normal name is an alias.  */
2985 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2986 choke me
2987 #else
2988 strtoll();
2989 #endif
2990
2991 ; return 0; }
2992 EOF
2993 if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2994   rm -rf conftest*
2995   eval "ac_cv_func_strtoll=yes"
2996 else
2997   echo "configure: failed program was:" >&5
2998   cat conftest.$ac_ext >&5
2999   rm -rf conftest*
3000   eval "ac_cv_func_strtoll=no"
3001 fi
3002 rm -f conftest*
3003 fi
3004
3005 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
3006   echo "$ac_t""yes" 1>&6
3007   :
3008 else
3009   echo "$ac_t""no" 1>&6
3010 ac_strtoll=no
3011 fi
3012
3013   echo $ac_n "checking for strtoull""... $ac_c" 1>&6
3014 echo "configure:3015: checking for strtoull" >&5
3015 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
3016   echo $ac_n "(cached) $ac_c" 1>&6
3017 else
3018   cat > conftest.$ac_ext <<EOF
3019 #line 3020 "configure"
3020 #include "confdefs.h"
3021 /* System header to define __stub macros and hopefully few prototypes,
3022     which can conflict with char strtoull(); below.  */
3023 #include <assert.h>
3024 /* Override any gcc2 internal prototype to avoid an error.  */
3025 /* We use char because int might match the return type of a gcc2
3026     builtin and then its argument prototype would still apply.  */
3027 char strtoull();
3028
3029 int main() {
3030
3031 /* The GNU C library defines this for functions which it implements
3032     to always fail with ENOSYS.  Some functions are actually named
3033     something starting with __ and the normal name is an alias.  */
3034 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3035 choke me
3036 #else
3037 strtoull();
3038 #endif
3039
3040 ; return 0; }
3041 EOF
3042 if { (eval echo configure:3043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3043   rm -rf conftest*
3044   eval "ac_cv_func_strtoull=yes"
3045 else
3046   echo "configure: failed program was:" >&5
3047   cat conftest.$ac_ext >&5
3048   rm -rf conftest*
3049   eval "ac_cv_func_strtoull=no"
3050 fi
3051 rm -f conftest*
3052 fi
3053
3054 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3055   echo "$ac_t""yes" 1>&6
3056   :
3057 else
3058   echo "$ac_t""no" 1>&6
3059 ac_strtoull=no
3060 fi
3061
3062
3063   echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3064 echo "configure:3065: checking for enabled long long" >&5
3065   if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then 
3066     enable_long_long=no; 
3067   fi; 
3068   echo "$ac_t""$enable_long_long" 1>&6
3069
3070     if test x"$enable_long_long" = xyes; then
3071     cat >> confdefs.h <<\EOF
3072 #define _GLIBCPP_USE_LONG_LONG 1
3073 EOF
3074
3075   fi
3076
3077   
3078   # Check whether --enable-long-double or --disable-long-double was given.
3079 if test "${enable_long_double+set}" = set; then
3080   enableval="$enable_long_double"
3081     case "$enableval" in
3082    yes) enable_long_double=yes ;;
3083    no)  enable_long_double=no ;;
3084    *)   { echo "configure: error: Unknown argument to enable/disable long double" 1>&2; exit 1; } ;;
3085    esac
3086 else
3087   enable_long_double=yes
3088 fi
3089
3090   # Check for the existance of functions used if long double is enabled.
3091   echo $ac_n "checking for cosl""... $ac_c" 1>&6
3092 echo "configure:3093: checking for cosl" >&5
3093 if eval "test \"`echo '$''{'ac_cv_func_cosl'+set}'`\" = set"; then
3094   echo $ac_n "(cached) $ac_c" 1>&6
3095 else
3096   cat > conftest.$ac_ext <<EOF
3097 #line 3098 "configure"
3098 #include "confdefs.h"
3099 /* System header to define __stub macros and hopefully few prototypes,
3100     which can conflict with char cosl(); below.  */
3101 #include <assert.h>
3102 /* Override any gcc2 internal prototype to avoid an error.  */
3103 /* We use char because int might match the return type of a gcc2
3104     builtin and then its argument prototype would still apply.  */
3105 char cosl();
3106
3107 int main() {
3108
3109 /* The GNU C library defines this for functions which it implements
3110     to always fail with ENOSYS.  Some functions are actually named
3111     something starting with __ and the normal name is an alias.  */
3112 #if defined (__stub_cosl) || defined (__stub___cosl)
3113 choke me
3114 #else
3115 cosl();
3116 #endif
3117
3118 ; return 0; }
3119 EOF
3120 if { (eval echo configure:3121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3121   rm -rf conftest*
3122   eval "ac_cv_func_cosl=yes"
3123 else
3124   echo "configure: failed program was:" >&5
3125   cat conftest.$ac_ext >&5
3126   rm -rf conftest*
3127   eval "ac_cv_func_cosl=no"
3128 fi
3129 rm -f conftest*
3130 fi
3131
3132 if eval "test \"`echo '$ac_cv_func_'cosl`\" = yes"; then
3133   echo "$ac_t""yes" 1>&6
3134   :
3135 else
3136   echo "$ac_t""no" 1>&6
3137 ac_cosl=no
3138 fi
3139
3140   echo $ac_n "checking for sinl""... $ac_c" 1>&6
3141 echo "configure:3142: checking for sinl" >&5
3142 if eval "test \"`echo '$''{'ac_cv_func_sinl'+set}'`\" = set"; then
3143   echo $ac_n "(cached) $ac_c" 1>&6
3144 else
3145   cat > conftest.$ac_ext <<EOF
3146 #line 3147 "configure"
3147 #include "confdefs.h"
3148 /* System header to define __stub macros and hopefully few prototypes,
3149     which can conflict with char sinl(); below.  */
3150 #include <assert.h>
3151 /* Override any gcc2 internal prototype to avoid an error.  */
3152 /* We use char because int might match the return type of a gcc2
3153     builtin and then its argument prototype would still apply.  */
3154 char sinl();
3155
3156 int main() {
3157
3158 /* The GNU C library defines this for functions which it implements
3159     to always fail with ENOSYS.  Some functions are actually named
3160     something starting with __ and the normal name is an alias.  */
3161 #if defined (__stub_sinl) || defined (__stub___sinl)
3162 choke me
3163 #else
3164 sinl();
3165 #endif
3166
3167 ; return 0; }
3168 EOF
3169 if { (eval echo configure:3170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3170   rm -rf conftest*
3171   eval "ac_cv_func_sinl=yes"
3172 else
3173   echo "configure: failed program was:" >&5
3174   cat conftest.$ac_ext >&5
3175   rm -rf conftest*
3176   eval "ac_cv_func_sinl=no"
3177 fi
3178 rm -f conftest*
3179 fi
3180
3181 if eval "test \"`echo '$ac_cv_func_'sinl`\" = yes"; then
3182   echo "$ac_t""yes" 1>&6
3183   :
3184 else
3185   echo "$ac_t""no" 1>&6
3186 ac_sinl=no
3187 fi
3188
3189
3190   echo $ac_n "checking for enabled long double""... $ac_c" 1>&6
3191 echo "configure:3192: checking for enabled long double" >&5
3192   if test x"$ac_cosl" = xno || test x"$ac_sinl" = xno; then 
3193     enable_long_double=no; 
3194   fi; 
3195   echo "$ac_t""$enable_long_double" 1>&6
3196
3197     if test x"$enable_long_double" = xyes; then
3198     cat >> confdefs.h <<\EOF
3199 #define _GLIBCPP_USE_LONG_DOUBLE 1
3200 EOF
3201
3202   fi
3203
3204 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
3205 echo "configure:3206: checking for enabled cshadow headers" >&5
3206 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
3207 if test "${enable_cshadow_headers+set}" = set; then
3208   enableval="$enable_cshadow_headers"
3209   
3210   case "$enableval" in
3211    yes) enable_cshadow_headers=yes 
3212         ;;
3213    no)  enable_cshadow_headers=no 
3214         ;;
3215    *)   { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; } 
3216         ;;
3217   esac
3218 else
3219   enable_cshadow_headers=no
3220 fi
3221
3222   echo "$ac_t""$enable_cshadow_headers" 1>&6
3223
3224       case "$enable_cshadow_headers" in
3225     yes) 
3226         CSHADOW_FLAGS="-fno-builtin"
3227         C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3228         cat >> confdefs.h <<\EOF
3229 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3230 EOF
3231
3232         ;;
3233     no)   
3234         CSHADOW_FLAGS=""
3235         C_INCLUDE_DIR='${top_srcdir}/include/c'
3236         ;;
3237   esac
3238
3239   
3240   
3241   
3242
3243 if test "$enable_cshadow_headers" = yes; then
3244   GLIBCPP_USE_CSHADOW_TRUE=
3245   GLIBCPP_USE_CSHADOW_FALSE='#'
3246 else
3247   GLIBCPP_USE_CSHADOW_TRUE='#'
3248   GLIBCPP_USE_CSHADOW_FALSE=
3249 fi
3250
3251
3252       echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3253 echo "configure:3254: checking for threads package to use" >&5
3254   # Check whether --enable-threads or --disable-threads was given.
3255 if test "${enable_threads+set}" = set; then
3256   enableval="$enable_threads"
3257   if test x$enable_threads = xno; then
3258     enable_threads=''
3259   fi
3260 else
3261   enable_threads=''
3262 fi
3263
3264
3265   enable_threads_flag=$enable_threads
3266
3267     case x${enable_threads_flag} in
3268         x | xno | xnone)
3269                 # No threads
3270                 target_thread_file='single'
3271                 ;;
3272         xyes)
3273                 # default
3274                 target_thread_file=''
3275                 ;;
3276         xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3277         xsolaris | xwin32 | xdce | xvxworks)
3278                 target_thread_file=$enable_threads_flag
3279                 ;;
3280         *)
3281                 echo "$enable_threads is an unknown thread package" 1>&2
3282                 exit 1
3283                 ;;
3284   esac
3285
3286     THREADH=
3287   case "$target_thread_file" in
3288     no | none | single)
3289       THREADH=threads-no.h
3290       ;;
3291     posix | pthreads)
3292       THREADH=threads-posix.h
3293       ;;
3294     decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3295       { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3296       ;;
3297     *)
3298       { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
3299       ;;
3300   esac
3301   echo "$ac_t""$THREADH" 1>&6
3302
3303   
3304   if test $THREADH != threads-no.h; then
3305     cat >> confdefs.h <<\EOF
3306 #define _GLIBCPP_USE_THREADS 1
3307 EOF
3308
3309   fi
3310
3311
3312     echo $ac_n "checking for atomicity.h""... $ac_c" 1>&6
3313 echo "configure:3314: checking for atomicity.h" >&5
3314     case "$target" in
3315       *-*-linux* | sparc*-*-*)
3316         ATOMICITYH=$cpu_include_dir
3317         ;;    
3318       *-*-aix*)
3319         ATOMICITYH=$os_include_dir
3320         ;;
3321       *)
3322         # bit of overkill on this text...
3323         { echo "configure: error: Atomic locking requested, but $enable_threads is an unknown thread package and atomic operations are not present in the CPU" 1>&2; exit 1; }
3324         ;;
3325     esac
3326     echo "$ac_t""$ATOMICITYH/bits/atomicity.h" 1>&6
3327     
3328
3329 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3330 if test "${enable_cxx_flags+set}" = set; then
3331   enableval="$enable_cxx_flags"
3332   case "x$enableval" in
3333  xyes)   
3334         { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3335  xno|x)  
3336         enable_cxx_flags='' ;;
3337  *)      
3338         enable_cxx_flags="$enableval" ;;
3339  esac
3340 else
3341   enable_cxx_flags='none'
3342 fi
3343
3344
3345 if test "$enable_cxx_flags" = "none"; then 
3346   enable_cxx_flags=''; 
3347 fi
3348
3349 if test -n "$enable_cxx_flags"; then
3350     for f in $enable_cxx_flags; do
3351         case "$f" in
3352             -fhonor-std)  ;;
3353             -*)  ;;
3354             *)   # and we're trying to pass /what/ exactly?
3355                  { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3356         esac
3357     done
3358 fi
3359 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3360
3361
3362
3363
3364 if test -n "$with_cross_host"; then
3365
3366   # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
3367   # may not work correctly, because the compiler may not be able to
3368   # link executables.
3369
3370   xcompiling=1
3371   NATIVE=no
3372   # If Canadian cross, then don't pick up tools from the build
3373   # directory.
3374   if test "$build" != "$with_cross_host"; then
3375     CANADIAN=yes
3376     NULL_TARGET=yes
3377   else
3378     CANADIAN=no
3379     NULL_TARGET=no
3380   fi
3381
3382   case "$target_alias" in
3383     *-wince-*)
3384         # Configure for Microsoft Windows CE, or whatever they are
3385         # currently calling it.
3386         cat >> confdefs.h <<\EOF
3387 #define HAVE_FLOAT_H 1
3388 EOF
3389
3390
3391         cat >> confdefs.h <<\EOF
3392 #define HAVE__FINITE 1
3393 EOF
3394
3395         cat >> confdefs.h <<\EOF
3396 #define HAVE__ISNAN 1
3397 EOF
3398
3399         cat >> confdefs.h <<\EOF
3400 #define HAVE__COPYSIGN 1
3401 EOF
3402
3403         cat >> confdefs.h <<\EOF
3404 #define HAVE__FPCLASS 1
3405 EOF
3406
3407         cat >> confdefs.h <<\EOF
3408 #define HAVE_MODF 1
3409 EOF
3410
3411
3412         ctype_include_dir="config/os/wince"
3413         
3414         
3415         
3416
3417
3418         cat >> confdefs.h <<\EOF
3419 #define _GLIBCPP_NEED_MBSTATE_T 1
3420 EOF
3421
3422
3423         cat >> confdefs.h <<\EOF
3424 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3425 EOF
3426
3427         cat >> confdefs.h <<\EOF
3428 #define _GLIBCPP_BUGGY_COMPLEX 1
3429 EOF
3430
3431         ;;
3432     *)
3433         # We assume newlib.  This lets us hard-code the functions we know
3434         # we'll have.
3435         cat >> confdefs.h <<\EOF
3436 #define HAVE_FINITE 1
3437 EOF
3438
3439         cat >> confdefs.h <<\EOF
3440 #define HAVE_ISNAN 1
3441 EOF
3442
3443         cat >> confdefs.h <<\EOF
3444 #define HAVE_ISNANF 1
3445 EOF
3446
3447         cat >> confdefs.h <<\EOF
3448 #define HAVE_ISINF 1
3449 EOF
3450
3451         cat >> confdefs.h <<\EOF
3452 #define HAVE_ISINFF 1
3453 EOF
3454
3455
3456         ctype_include_dir="config/os/newlib"
3457         
3458         
3459         
3460
3461         cat >> confdefs.h <<\EOF
3462 #define _GLIBCPP_NEED_MBSTATE_T 1
3463 EOF
3464
3465
3466         cat >> confdefs.h <<\EOF
3467 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3468 EOF
3469
3470         cat >> confdefs.h <<\EOF
3471 #define _GLIBCPP_BUGGY_COMPLEX 1
3472 EOF
3473
3474         # need to ceck for faster f versions of math functions, ie sinf?
3475         ;;
3476   esac
3477 else
3478
3479   # We are being configured natively. We can do more elaborate tests
3480   # that include AC_TRY_COMPILE now, as the linker is assumed to be
3481   # working.
3482
3483   xcompiling=0
3484   NATIVE=yes
3485   CANADIAN=no
3486   NULL_TARGET=no
3487
3488   # Check for available headers.
3489   for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3490   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h
3491 do
3492 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3493 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3494 echo "configure:3495: checking for $ac_hdr" >&5
3495 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3496   echo $ac_n "(cached) $ac_c" 1>&6
3497 else
3498   cat > conftest.$ac_ext <<EOF
3499 #line 3500 "configure"
3500 #include "confdefs.h"
3501 #include <$ac_hdr>
3502 EOF
3503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3504 { (eval echo configure:3505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3506 if test -z "$ac_err"; then
3507   rm -rf conftest*
3508   eval "ac_cv_header_$ac_safe=yes"
3509 else
3510   echo "$ac_err" >&5
3511   echo "configure: failed program was:" >&5
3512   cat conftest.$ac_ext >&5
3513   rm -rf conftest*
3514   eval "ac_cv_header_$ac_safe=no"
3515 fi
3516 rm -f conftest*
3517 fi
3518 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3519   echo "$ac_t""yes" 1>&6
3520     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3521   cat >> confdefs.h <<EOF
3522 #define $ac_tr_hdr 1
3523 EOF
3524  
3525 else
3526   echo "$ac_t""no" 1>&6
3527 fi
3528 done
3529
3530
3531   
3532   # All these tests are for C++; save the language and the compiler flags.
3533   # The CXXFLAGS thing is suspicious, but based on similar bits 
3534   # found in GLIBCPP_CONFIGURE.
3535   
3536   ac_ext=C
3537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3538 ac_cpp='$CXXCPP $CPPFLAGS'
3539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3541 cross_compiling=$ac_cv_prog_cxx_cross
3542
3543   ac_test_CXXFLAGS="${CXXFLAGS+set}"
3544   ac_save_CXXFLAGS="$CXXFLAGS"
3545
3546   # Check for maintainer-mode bits.
3547   if test x"$USE_MAINTAINER_MODE" = xno; then
3548     WERROR=''
3549   else
3550     WERROR='-Werror'
3551   fi
3552
3553   # Check for more sophisticated diagnostic control.
3554   echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3555 echo "configure:3556: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3556   CXXFLAGS='-Werror -fdiagnostics-show-location=once'
3557   cat > conftest.$ac_ext <<EOF
3558 #line 3559 "configure"
3559 #include "confdefs.h"
3560
3561 int main() {
3562 int foo;
3563   
3564 ; return 0; }
3565 EOF
3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3567   rm -rf conftest*
3568   ac_gabydiags=yes
3569 else
3570   echo "configure: failed program was:" >&5
3571   cat conftest.$ac_ext >&5
3572   rm -rf conftest*
3573   ac_gabydiags=no
3574 fi
3575 rm -f conftest*
3576   if test "$ac_test_CXXFLAGS" = set; then
3577     CXXFLAGS="$ac_save_CXXFLAGS"
3578   else
3579     # this is the suspicious part
3580     CXXFLAGS=''
3581   fi
3582   if test "$ac_gabydiags" = "yes"; then
3583     WFMT_FLAGS='-fdiagnostics-show-location=once'
3584   fi
3585   echo "$ac_t""$ac_gabydiags" 1>&6
3586
3587   # Check for -ffunction-sections -fdata-sections
3588   echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3589 echo "configure:3590: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3590   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
3591   cat > conftest.$ac_ext <<EOF
3592 #line 3593 "configure"
3593 #include "confdefs.h"
3594
3595 int main() {
3596 int foo;
3597   
3598 ; return 0; }
3599 EOF
3600 if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3601   rm -rf conftest*
3602   ac_fdsections=yes
3603 else
3604   echo "configure: failed program was:" >&5
3605   cat conftest.$ac_ext >&5
3606   rm -rf conftest*
3607   ac_fdsections=no
3608 fi
3609 rm -f conftest*
3610   if test "$ac_test_CXXFLAGS" = set; then
3611     CXXFLAGS="$ac_save_CXXFLAGS"
3612   else
3613     # this is the suspicious part
3614     CXXFLAGS=''
3615   fi
3616   if test "$ac_fdsections" = "yes"; then
3617     SECTION_FLAGS='-ffunction-sections -fdata-sections'
3618   fi
3619   echo "$ac_t""$ac_fdsections" 1>&6
3620
3621   ac_ext=c
3622 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3623 ac_cpp='$CPP $CPPFLAGS'
3624 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3625 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3626 cross_compiling=$ac_cv_prog_cc_cross
3627
3628   
3629   
3630   
3631
3632   
3633   # If we're not using GNU ld, then there's no point in even trying these
3634   # tests.  Check for that first.  We should have already tested for gld
3635   # by now (in libtool), but require it now just to be safe...
3636   SECTION_LDFLAGS=''
3637   OPT_LDFLAGS=''
3638   
3639   if test "$ac_cv_prog_gnu_ld" = "yes"; then
3640     # GNU ld it is!  Joy and bunny rabbits!
3641
3642     # All these tests are for C++; save the language and the compiler flags.
3643     # Need to do this so that g++ won't try to link in libstdc++
3644     ac_test_CFLAGS="${CFLAGS+set}"
3645     ac_save_CFLAGS="$CFLAGS"
3646 #    CFLAGS='-x c++  -Wl,--gc-sections'
3647 #XXX
3648     CFLAGS=''
3649
3650     # Check for -Wl,--gc-sections
3651     # XXX This test is broken at the moment, as symbols required for
3652     # linking are now in libsupc++ (not built yet.....). In addition, 
3653     # this test has cored on solaris in the past. In addition,
3654     # --gc-sections doesn't really work at the moment (keeps on discarding
3655     # used sections, first .eh_frame and now some of the glibc sections for
3656     # iconv). Bzzzzt. Thanks for playing, maybe next time.
3657     echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3658 echo "configure:3659: checking for ld that supports -Wl,--gc-sections" >&5
3659     if test "$cross_compiling" = yes; then
3660   ac_sectionLDflags=yes
3661 else
3662   cat > conftest.$ac_ext <<EOF
3663 #line 3664 "configure"
3664 #include "confdefs.h"
3665
3666      int main(void) 
3667      {
3668        try { throw 1; }
3669        catch (...) { };
3670        return 0;
3671      }
3672     
3673 EOF
3674 if { (eval echo configure:3675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3675 then
3676   ac_sectionLDflags=yes
3677 else
3678   echo "configure: failed program was:" >&5
3679   cat conftest.$ac_ext >&5
3680   rm -fr conftest*
3681   ac_sectionLFflags=no
3682 fi
3683 rm -fr conftest*
3684 fi
3685
3686     if test "$ac_test_CFLAGS" = set; then
3687       CFLAGS="$ac_save_CFLAGS"
3688     else
3689       # this is the suspicious part
3690       CFLAGS=''
3691     fi
3692     if test "$ac_sectionLDflags" = "yes"; then
3693 #      SECTION_LDFLAGS='-Wl,--gc-sections'
3694 #XXX
3695       SECTION_LDFLAGS=''
3696     fi
3697     echo "$ac_t""$ac_sectionLDflags" 1>&6
3698
3699     OPT_LDFLAGS='-Wl,-O1'
3700
3701   fi
3702   
3703   
3704
3705   
3706       
3707   echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3708 echo "configure:3709: checking for __builtin_abs declaration" >&5
3709   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3710   echo $ac_n "(cached) $ac_c" 1>&6
3711 else
3712   
3713     
3714     ac_ext=C
3715 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3716 ac_cpp='$CXXCPP $CPPFLAGS'
3717 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3718 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3719 cross_compiling=$ac_cv_prog_cxx_cross
3720
3721     cat > conftest.$ac_ext <<EOF
3722 #line 3723 "configure"
3723 #include "confdefs.h"
3724 #include <math.h>
3725 int main() {
3726  __builtin_abs(0);
3727 ; return 0; }
3728 EOF
3729 if { (eval echo configure:3730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3730   rm -rf conftest*
3731   glibcpp_cv_func___builtin_abs_use=yes
3732 else
3733   echo "configure: failed program was:" >&5
3734   cat conftest.$ac_ext >&5
3735   rm -rf conftest*
3736   glibcpp_cv_func___builtin_abs_use=no
3737 fi
3738 rm -f conftest*
3739     ac_ext=c
3740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3741 ac_cpp='$CPP $CPPFLAGS'
3742 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3743 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3744 cross_compiling=$ac_cv_prog_cc_cross
3745
3746   
3747 fi
3748
3749   echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3750   if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3751     echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3752 echo "configure:3753: checking for __builtin_abs linkage" >&5
3753     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3754   echo $ac_n "(cached) $ac_c" 1>&6
3755 else
3756   
3757       cat > conftest.$ac_ext <<EOF
3758 #line 3759 "configure"
3759 #include "confdefs.h"
3760 #include <math.h>
3761 int main() {
3762  __builtin_abs(0);
3763 ; return 0; }
3764 EOF
3765 if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3766   rm -rf conftest*
3767   glibcpp_cv_func___builtin_abs_link=yes
3768 else
3769   echo "configure: failed program was:" >&5
3770   cat conftest.$ac_ext >&5
3771   rm -rf conftest*
3772   glibcpp_cv_func___builtin_abs_link=no
3773 fi
3774 rm -f conftest*
3775     
3776 fi
3777
3778     echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3779     if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3780       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3781       cat >> confdefs.h <<EOF
3782 #define ${ac_tr_func} 1
3783 EOF
3784
3785     fi
3786   fi
3787
3788   
3789   echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3790 echo "configure:3791: checking for __builtin_fabsf declaration" >&5
3791   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3792   echo $ac_n "(cached) $ac_c" 1>&6
3793 else
3794   
3795     
3796     ac_ext=C
3797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3798 ac_cpp='$CXXCPP $CPPFLAGS'
3799 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3800 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3801 cross_compiling=$ac_cv_prog_cxx_cross
3802
3803     cat > conftest.$ac_ext <<EOF
3804 #line 3805 "configure"
3805 #include "confdefs.h"
3806 #include <math.h>
3807 int main() {
3808  __builtin_fabsf(0);
3809 ; return 0; }
3810 EOF
3811 if { (eval echo configure:3812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3812   rm -rf conftest*
3813   glibcpp_cv_func___builtin_fabsf_use=yes
3814 else
3815   echo "configure: failed program was:" >&5
3816   cat conftest.$ac_ext >&5
3817   rm -rf conftest*
3818   glibcpp_cv_func___builtin_fabsf_use=no
3819 fi
3820 rm -f conftest*
3821     ac_ext=c
3822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3823 ac_cpp='$CPP $CPPFLAGS'
3824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3826 cross_compiling=$ac_cv_prog_cc_cross
3827
3828   
3829 fi
3830
3831   echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3832   if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3833     echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3834 echo "configure:3835: checking for __builtin_fabsf linkage" >&5
3835     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3836   echo $ac_n "(cached) $ac_c" 1>&6
3837 else
3838   
3839       cat > conftest.$ac_ext <<EOF
3840 #line 3841 "configure"
3841 #include "confdefs.h"
3842 #include <math.h>
3843 int main() {
3844  __builtin_fabsf(0);
3845 ; return 0; }
3846 EOF
3847 if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3848   rm -rf conftest*
3849   glibcpp_cv_func___builtin_fabsf_link=yes
3850 else
3851   echo "configure: failed program was:" >&5
3852   cat conftest.$ac_ext >&5
3853   rm -rf conftest*
3854   glibcpp_cv_func___builtin_fabsf_link=no
3855 fi
3856 rm -f conftest*
3857     
3858 fi
3859
3860     echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3861     if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3862       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3863       cat >> confdefs.h <<EOF
3864 #define ${ac_tr_func} 1
3865 EOF
3866
3867     fi
3868   fi
3869
3870   
3871   echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3872 echo "configure:3873: checking for __builtin_fabs declaration" >&5
3873   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3874   echo $ac_n "(cached) $ac_c" 1>&6
3875 else
3876   
3877     
3878     ac_ext=C
3879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3880 ac_cpp='$CXXCPP $CPPFLAGS'
3881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3883 cross_compiling=$ac_cv_prog_cxx_cross
3884
3885     cat > conftest.$ac_ext <<EOF
3886 #line 3887 "configure"
3887 #include "confdefs.h"
3888 #include <math.h>
3889 int main() {
3890  __builtin_fabs(0);
3891 ; return 0; }
3892 EOF
3893 if { (eval echo configure:3894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3894   rm -rf conftest*
3895   glibcpp_cv_func___builtin_fabs_use=yes
3896 else
3897   echo "configure: failed program was:" >&5
3898   cat conftest.$ac_ext >&5
3899   rm -rf conftest*
3900   glibcpp_cv_func___builtin_fabs_use=no
3901 fi
3902 rm -f conftest*
3903     ac_ext=c
3904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3905 ac_cpp='$CPP $CPPFLAGS'
3906 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3907 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3908 cross_compiling=$ac_cv_prog_cc_cross
3909
3910   
3911 fi
3912
3913   echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3914   if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3915     echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3916 echo "configure:3917: checking for __builtin_fabs linkage" >&5
3917     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3918   echo $ac_n "(cached) $ac_c" 1>&6
3919 else
3920   
3921       cat > conftest.$ac_ext <<EOF
3922 #line 3923 "configure"
3923 #include "confdefs.h"
3924 #include <math.h>
3925 int main() {
3926  __builtin_fabs(0);
3927 ; return 0; }
3928 EOF
3929 if { (eval echo configure:3930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3930   rm -rf conftest*
3931   glibcpp_cv_func___builtin_fabs_link=yes
3932 else
3933   echo "configure: failed program was:" >&5
3934   cat conftest.$ac_ext >&5
3935   rm -rf conftest*
3936   glibcpp_cv_func___builtin_fabs_link=no
3937 fi
3938 rm -f conftest*
3939     
3940 fi
3941
3942     echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3943     if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3944       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3945       cat >> confdefs.h <<EOF
3946 #define ${ac_tr_func} 1
3947 EOF
3948
3949     fi
3950   fi
3951
3952   
3953   echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3954 echo "configure:3955: checking for __builtin_fabsl declaration" >&5
3955   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3956   echo $ac_n "(cached) $ac_c" 1>&6
3957 else
3958   
3959     
3960     ac_ext=C
3961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3962 ac_cpp='$CXXCPP $CPPFLAGS'
3963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3965 cross_compiling=$ac_cv_prog_cxx_cross
3966
3967     cat > conftest.$ac_ext <<EOF
3968 #line 3969 "configure"
3969 #include "confdefs.h"
3970 #include <math.h>
3971 int main() {
3972  __builtin_fabsl(0);
3973 ; return 0; }
3974 EOF
3975 if { (eval echo configure:3976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3976   rm -rf conftest*
3977   glibcpp_cv_func___builtin_fabsl_use=yes
3978 else
3979   echo "configure: failed program was:" >&5
3980   cat conftest.$ac_ext >&5
3981   rm -rf conftest*
3982   glibcpp_cv_func___builtin_fabsl_use=no
3983 fi
3984 rm -f conftest*
3985     ac_ext=c
3986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3987 ac_cpp='$CPP $CPPFLAGS'
3988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3990 cross_compiling=$ac_cv_prog_cc_cross
3991
3992   
3993 fi
3994
3995   echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3996   if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3997     echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3998 echo "configure:3999: checking for __builtin_fabsl linkage" >&5
3999     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
4000   echo $ac_n "(cached) $ac_c" 1>&6
4001 else
4002   
4003       cat > conftest.$ac_ext <<EOF
4004 #line 4005 "configure"
4005 #include "confdefs.h"
4006 #include <math.h>
4007 int main() {
4008  __builtin_fabsl(0);
4009 ; return 0; }
4010 EOF
4011 if { (eval echo configure:4012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4012   rm -rf conftest*
4013   glibcpp_cv_func___builtin_fabsl_link=yes
4014 else
4015   echo "configure: failed program was:" >&5
4016   cat conftest.$ac_ext >&5
4017   rm -rf conftest*
4018   glibcpp_cv_func___builtin_fabsl_link=no
4019 fi
4020 rm -f conftest*
4021     
4022 fi
4023
4024     echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
4025     if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
4026       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4027       cat >> confdefs.h <<EOF
4028 #define ${ac_tr_func} 1
4029 EOF
4030
4031     fi
4032   fi
4033
4034   
4035   echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
4036 echo "configure:4037: checking for __builtin_labs declaration" >&5
4037   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
4038   echo $ac_n "(cached) $ac_c" 1>&6
4039 else
4040   
4041     
4042     ac_ext=C
4043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4044 ac_cpp='$CXXCPP $CPPFLAGS'
4045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4047 cross_compiling=$ac_cv_prog_cxx_cross
4048
4049     cat > conftest.$ac_ext <<EOF
4050 #line 4051 "configure"
4051 #include "confdefs.h"
4052 #include <math.h>
4053 int main() {
4054  __builtin_labs(0);
4055 ; return 0; }
4056 EOF
4057 if { (eval echo configure:4058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4058   rm -rf conftest*
4059   glibcpp_cv_func___builtin_labs_use=yes
4060 else
4061   echo "configure: failed program was:" >&5
4062   cat conftest.$ac_ext >&5
4063   rm -rf conftest*
4064   glibcpp_cv_func___builtin_labs_use=no
4065 fi
4066 rm -f conftest*
4067     ac_ext=c
4068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4069 ac_cpp='$CPP $CPPFLAGS'
4070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4072 cross_compiling=$ac_cv_prog_cc_cross
4073
4074   
4075 fi
4076
4077   echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
4078   if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
4079     echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
4080 echo "configure:4081: checking for __builtin_labs linkage" >&5
4081     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
4082   echo $ac_n "(cached) $ac_c" 1>&6
4083 else
4084   
4085       cat > conftest.$ac_ext <<EOF
4086 #line 4087 "configure"
4087 #include "confdefs.h"
4088 #include <math.h>
4089 int main() {
4090  __builtin_labs(0);
4091 ; return 0; }
4092 EOF
4093 if { (eval echo configure:4094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4094   rm -rf conftest*
4095   glibcpp_cv_func___builtin_labs_link=yes
4096 else
4097   echo "configure: failed program was:" >&5
4098   cat conftest.$ac_ext >&5
4099   rm -rf conftest*
4100   glibcpp_cv_func___builtin_labs_link=no
4101 fi
4102 rm -f conftest*
4103     
4104 fi
4105
4106     echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
4107     if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
4108       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4109       cat >> confdefs.h <<EOF
4110 #define ${ac_tr_func} 1
4111 EOF
4112
4113     fi
4114   fi
4115
4116
4117   
4118   echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
4119 echo "configure:4120: checking for __builtin_sqrtf declaration" >&5
4120   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
4121   echo $ac_n "(cached) $ac_c" 1>&6
4122 else
4123   
4124     
4125     ac_ext=C
4126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4127 ac_cpp='$CXXCPP $CPPFLAGS'
4128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4130 cross_compiling=$ac_cv_prog_cxx_cross
4131
4132     cat > conftest.$ac_ext <<EOF
4133 #line 4134 "configure"
4134 #include "confdefs.h"
4135 #include <math.h>
4136 int main() {
4137  __builtin_sqrtf(0);
4138 ; return 0; }
4139 EOF
4140 if { (eval echo configure:4141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4141   rm -rf conftest*
4142   glibcpp_cv_func___builtin_sqrtf_use=yes
4143 else
4144   echo "configure: failed program was:" >&5
4145   cat conftest.$ac_ext >&5
4146   rm -rf conftest*
4147   glibcpp_cv_func___builtin_sqrtf_use=no
4148 fi
4149 rm -f conftest*
4150     ac_ext=c
4151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4152 ac_cpp='$CPP $CPPFLAGS'
4153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4155 cross_compiling=$ac_cv_prog_cc_cross
4156
4157   
4158 fi
4159
4160   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
4161   if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
4162     echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
4163 echo "configure:4164: checking for __builtin_sqrtf linkage" >&5
4164     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
4165   echo $ac_n "(cached) $ac_c" 1>&6
4166 else
4167   
4168       cat > conftest.$ac_ext <<EOF
4169 #line 4170 "configure"
4170 #include "confdefs.h"
4171 #include <math.h>
4172 int main() {
4173  __builtin_sqrtf(0);
4174 ; return 0; }
4175 EOF
4176 if { (eval echo configure:4177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4177   rm -rf conftest*
4178   glibcpp_cv_func___builtin_sqrtf_link=yes
4179 else
4180   echo "configure: failed program was:" >&5
4181   cat conftest.$ac_ext >&5
4182   rm -rf conftest*
4183   glibcpp_cv_func___builtin_sqrtf_link=no
4184 fi
4185 rm -f conftest*
4186     
4187 fi
4188
4189     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
4190     if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
4191       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4192       cat >> confdefs.h <<EOF
4193 #define ${ac_tr_func} 1
4194 EOF
4195
4196     fi
4197   fi
4198
4199   
4200   echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
4201 echo "configure:4202: checking for __builtin_fsqrt declaration" >&5
4202   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
4203   echo $ac_n "(cached) $ac_c" 1>&6
4204 else
4205   
4206     
4207     ac_ext=C
4208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4209 ac_cpp='$CXXCPP $CPPFLAGS'
4210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4212 cross_compiling=$ac_cv_prog_cxx_cross
4213
4214     cat > conftest.$ac_ext <<EOF
4215 #line 4216 "configure"
4216 #include "confdefs.h"
4217 #include <math.h>
4218 int main() {
4219  __builtin_fsqrt(0);
4220 ; return 0; }
4221 EOF
4222 if { (eval echo configure:4223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4223   rm -rf conftest*
4224   glibcpp_cv_func___builtin_fsqrt_use=yes
4225 else
4226   echo "configure: failed program was:" >&5
4227   cat conftest.$ac_ext >&5
4228   rm -rf conftest*
4229   glibcpp_cv_func___builtin_fsqrt_use=no
4230 fi
4231 rm -f conftest*
4232     ac_ext=c
4233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4234 ac_cpp='$CPP $CPPFLAGS'
4235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4237 cross_compiling=$ac_cv_prog_cc_cross
4238
4239   
4240 fi
4241
4242   echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4243   if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4244     echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4245 echo "configure:4246: checking for __builtin_fsqrt linkage" >&5
4246     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4247   echo $ac_n "(cached) $ac_c" 1>&6
4248 else
4249   
4250       cat > conftest.$ac_ext <<EOF
4251 #line 4252 "configure"
4252 #include "confdefs.h"
4253 #include <math.h>
4254 int main() {
4255  __builtin_fsqrt(0);
4256 ; return 0; }
4257 EOF
4258 if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4259   rm -rf conftest*
4260   glibcpp_cv_func___builtin_fsqrt_link=yes
4261 else
4262   echo "configure: failed program was:" >&5
4263   cat conftest.$ac_ext >&5
4264   rm -rf conftest*
4265   glibcpp_cv_func___builtin_fsqrt_link=no
4266 fi
4267 rm -f conftest*
4268     
4269 fi
4270
4271     echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4272     if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4273       ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4274       cat >> confdefs.h <<EOF
4275 #define ${ac_tr_func} 1
4276 EOF
4277
4278     fi
4279   fi
4280
4281   
4282   echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4283 echo "configure:4284: checking for __builtin_sqrtl declaration" >&5
4284   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4285   echo $ac_n "(cached) $ac_c" 1>&6
4286 else
4287   
4288     
4289     ac_ext=C
4290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4291 ac_cpp='$CXXCPP $CPPFLAGS'
4292 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4293 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4294 cross_compiling=$ac_cv_prog_cxx_cross
4295
4296     cat > conftest.$ac_ext <<EOF
4297 #line 4298 "configure"
4298 #include "confdefs.h"
4299 #include <math.h>
4300 int main() {
4301  __builtin_sqrtl(0);
4302 ; return 0; }
4303 EOF
4304 if { (eval echo configure:4305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4305   rm -rf conftest*
4306   glibcpp_cv_func___builtin_sqrtl_use=yes
4307 else
4308   echo "configure: failed program was:" >&5
4309   cat conftest.$ac_ext >&5
4310   rm -rf conftest*
4311   glibcpp_cv_func___builtin_sqrtl_use=no
4312 fi
4313 rm -f conftest*
4314     ac_ext=c
4315 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4316 ac_cpp='$CPP $CPPFLAGS'
4317 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4318 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4319 cross_compiling=$ac_cv_prog_cc_cross
4320
4321   
4322 fi
4323
4324   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4325   if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4326     echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4327 echo "configure:4328: checking for __builtin_sqrtl linkage" >&5
4328     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4329   echo $ac_n "(cached) $ac_c" 1>&6
4330 else
4331   
4332       cat > conftest.$ac_ext <<EOF
4333 #line 4334 "configure"
4334 #include "confdefs.h"
4335 #include <math.h>
4336 int main() {
4337  __builtin_sqrtl(0);
4338 ; return 0; }
4339 EOF
4340 if { (eval echo configure:4341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4341   rm -rf conftest*
4342   glibcpp_cv_func___builtin_sqrtl_link=yes
4343 else
4344   echo "configure: failed program was:" >&5
4345   cat conftest.$ac_ext >&5
4346   rm -rf conftest*
4347   glibcpp_cv_func___builtin_sqrtl_link=no
4348 fi
4349 rm -f conftest*
4350     
4351 fi
4352
4353     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4354     if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4355       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4356       cat >> confdefs.h <<EOF
4357 #define ${ac_tr_func} 1
4358 EOF
4359
4360     fi
4361   fi
4362
4363
4364   
4365   echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4366 echo "configure:4367: checking for __builtin_sinf declaration" >&5
4367   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4368   echo $ac_n "(cached) $ac_c" 1>&6
4369 else
4370   
4371     
4372     ac_ext=C
4373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4374 ac_cpp='$CXXCPP $CPPFLAGS'
4375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4377 cross_compiling=$ac_cv_prog_cxx_cross
4378
4379     cat > conftest.$ac_ext <<EOF
4380 #line 4381 "configure"
4381 #include "confdefs.h"
4382 #include <math.h>
4383 int main() {
4384  __builtin_sinf(0);
4385 ; return 0; }
4386 EOF
4387 if { (eval echo configure:4388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4388   rm -rf conftest*
4389   glibcpp_cv_func___builtin_sinf_use=yes
4390 else
4391   echo "configure: failed program was:" >&5
4392   cat conftest.$ac_ext >&5
4393   rm -rf conftest*
4394   glibcpp_cv_func___builtin_sinf_use=no
4395 fi
4396 rm -f conftest*
4397     ac_ext=c
4398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4399 ac_cpp='$CPP $CPPFLAGS'
4400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4402 cross_compiling=$ac_cv_prog_cc_cross
4403
4404   
4405 fi
4406
4407   echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4408   if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4409     echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4410 echo "configure:4411: checking for __builtin_sinf linkage" >&5
4411     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4412   echo $ac_n "(cached) $ac_c" 1>&6
4413 else
4414   
4415       cat > conftest.$ac_ext <<EOF
4416 #line 4417 "configure"
4417 #include "confdefs.h"
4418 #include <math.h>
4419 int main() {
4420  __builtin_sinf(0);
4421 ; return 0; }
4422 EOF
4423 if { (eval echo configure:4424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4424   rm -rf conftest*
4425   glibcpp_cv_func___builtin_sinf_link=yes
4426 else
4427   echo "configure: failed program was:" >&5
4428   cat conftest.$ac_ext >&5
4429   rm -rf conftest*
4430   glibcpp_cv_func___builtin_sinf_link=no
4431 fi
4432 rm -f conftest*
4433     
4434 fi
4435
4436     echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4437     if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4438       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4439       cat >> confdefs.h <<EOF
4440 #define ${ac_tr_func} 1
4441 EOF
4442
4443     fi
4444   fi
4445
4446   
4447   echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4448 echo "configure:4449: checking for __builtin_sin declaration" >&5
4449   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4450   echo $ac_n "(cached) $ac_c" 1>&6
4451 else
4452   
4453     
4454     ac_ext=C
4455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4456 ac_cpp='$CXXCPP $CPPFLAGS'
4457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4459 cross_compiling=$ac_cv_prog_cxx_cross
4460
4461     cat > conftest.$ac_ext <<EOF
4462 #line 4463 "configure"
4463 #include "confdefs.h"
4464 #include <math.h>
4465 int main() {
4466  __builtin_sin(0);
4467 ; return 0; }
4468 EOF
4469 if { (eval echo configure:4470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4470   rm -rf conftest*
4471   glibcpp_cv_func___builtin_sin_use=yes
4472 else
4473   echo "configure: failed program was:" >&5
4474   cat conftest.$ac_ext >&5
4475   rm -rf conftest*
4476   glibcpp_cv_func___builtin_sin_use=no
4477 fi
4478 rm -f conftest*
4479     ac_ext=c
4480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4481 ac_cpp='$CPP $CPPFLAGS'
4482 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4483 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4484 cross_compiling=$ac_cv_prog_cc_cross
4485
4486   
4487 fi
4488
4489   echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4490   if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4491     echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4492 echo "configure:4493: checking for __builtin_sin linkage" >&5
4493     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4494   echo $ac_n "(cached) $ac_c" 1>&6
4495 else
4496   
4497       cat > conftest.$ac_ext <<EOF
4498 #line 4499 "configure"
4499 #include "confdefs.h"
4500 #include <math.h>
4501 int main() {
4502  __builtin_sin(0);
4503 ; return 0; }
4504 EOF
4505 if { (eval echo configure:4506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4506   rm -rf conftest*
4507   glibcpp_cv_func___builtin_sin_link=yes
4508 else
4509   echo "configure: failed program was:" >&5
4510   cat conftest.$ac_ext >&5
4511   rm -rf conftest*
4512   glibcpp_cv_func___builtin_sin_link=no
4513 fi
4514 rm -f conftest*
4515     
4516 fi
4517
4518     echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4519     if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4520       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4521       cat >> confdefs.h <<EOF
4522 #define ${ac_tr_func} 1
4523 EOF
4524
4525     fi
4526   fi
4527
4528   
4529   echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4530 echo "configure:4531: checking for __builtin_sinl declaration" >&5
4531   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4532   echo $ac_n "(cached) $ac_c" 1>&6
4533 else
4534   
4535     
4536     ac_ext=C
4537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4538 ac_cpp='$CXXCPP $CPPFLAGS'
4539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4541 cross_compiling=$ac_cv_prog_cxx_cross
4542
4543     cat > conftest.$ac_ext <<EOF
4544 #line 4545 "configure"
4545 #include "confdefs.h"
4546 #include <math.h>
4547 int main() {
4548  __builtin_sinl(0);
4549 ; return 0; }
4550 EOF
4551 if { (eval echo configure:4552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4552   rm -rf conftest*
4553   glibcpp_cv_func___builtin_sinl_use=yes
4554 else
4555   echo "configure: failed program was:" >&5
4556   cat conftest.$ac_ext >&5
4557   rm -rf conftest*
4558   glibcpp_cv_func___builtin_sinl_use=no
4559 fi
4560 rm -f conftest*
4561     ac_ext=c
4562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4563 ac_cpp='$CPP $CPPFLAGS'
4564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4566 cross_compiling=$ac_cv_prog_cc_cross
4567
4568   
4569 fi
4570
4571   echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4572   if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4573     echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4574 echo "configure:4575: checking for __builtin_sinl linkage" >&5
4575     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4576   echo $ac_n "(cached) $ac_c" 1>&6
4577 else
4578   
4579       cat > conftest.$ac_ext <<EOF
4580 #line 4581 "configure"
4581 #include "confdefs.h"
4582 #include <math.h>
4583 int main() {
4584  __builtin_sinl(0);
4585 ; return 0; }
4586 EOF
4587 if { (eval echo configure:4588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4588   rm -rf conftest*
4589   glibcpp_cv_func___builtin_sinl_link=yes
4590 else
4591   echo "configure: failed program was:" >&5
4592   cat conftest.$ac_ext >&5
4593   rm -rf conftest*
4594   glibcpp_cv_func___builtin_sinl_link=no
4595 fi
4596 rm -f conftest*
4597     
4598 fi
4599
4600     echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4601     if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4602       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4603       cat >> confdefs.h <<EOF
4604 #define ${ac_tr_func} 1
4605 EOF
4606
4607     fi
4608   fi
4609
4610
4611   
4612   echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4613 echo "configure:4614: checking for __builtin_cosf declaration" >&5
4614   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4615   echo $ac_n "(cached) $ac_c" 1>&6
4616 else
4617   
4618     
4619     ac_ext=C
4620 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4621 ac_cpp='$CXXCPP $CPPFLAGS'
4622 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4623 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4624 cross_compiling=$ac_cv_prog_cxx_cross
4625
4626     cat > conftest.$ac_ext <<EOF
4627 #line 4628 "configure"
4628 #include "confdefs.h"
4629 #include <math.h>
4630 int main() {
4631  __builtin_cosf(0);
4632 ; return 0; }
4633 EOF
4634 if { (eval echo configure:4635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4635   rm -rf conftest*
4636   glibcpp_cv_func___builtin_cosf_use=yes
4637 else
4638   echo "configure: failed program was:" >&5
4639   cat conftest.$ac_ext >&5
4640   rm -rf conftest*
4641   glibcpp_cv_func___builtin_cosf_use=no
4642 fi
4643 rm -f conftest*
4644     ac_ext=c
4645 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4646 ac_cpp='$CPP $CPPFLAGS'
4647 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4648 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4649 cross_compiling=$ac_cv_prog_cc_cross
4650
4651   
4652 fi
4653
4654   echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4655   if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4656     echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4657 echo "configure:4658: checking for __builtin_cosf linkage" >&5
4658     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4659   echo $ac_n "(cached) $ac_c" 1>&6
4660 else
4661   
4662       cat > conftest.$ac_ext <<EOF
4663 #line 4664 "configure"
4664 #include "confdefs.h"
4665 #include <math.h>
4666 int main() {
4667  __builtin_cosf(0);
4668 ; return 0; }
4669 EOF
4670 if { (eval echo configure:4671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4671   rm -rf conftest*
4672   glibcpp_cv_func___builtin_cosf_link=yes
4673 else
4674   echo "configure: failed program was:" >&5
4675   cat conftest.$ac_ext >&5
4676   rm -rf conftest*
4677   glibcpp_cv_func___builtin_cosf_link=no
4678 fi
4679 rm -f conftest*
4680     
4681 fi
4682
4683     echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4684     if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4685       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4686       cat >> confdefs.h <<EOF
4687 #define ${ac_tr_func} 1
4688 EOF
4689
4690     fi
4691   fi
4692
4693   
4694   echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4695 echo "configure:4696: checking for __builtin_cos declaration" >&5
4696   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4697   echo $ac_n "(cached) $ac_c" 1>&6
4698 else
4699   
4700     
4701     ac_ext=C
4702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4703 ac_cpp='$CXXCPP $CPPFLAGS'
4704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4706 cross_compiling=$ac_cv_prog_cxx_cross
4707
4708     cat > conftest.$ac_ext <<EOF
4709 #line 4710 "configure"
4710 #include "confdefs.h"
4711 #include <math.h>
4712 int main() {
4713  __builtin_cos(0);
4714 ; return 0; }
4715 EOF
4716 if { (eval echo configure:4717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4717   rm -rf conftest*
4718   glibcpp_cv_func___builtin_cos_use=yes
4719 else
4720   echo "configure: failed program was:" >&5
4721   cat conftest.$ac_ext >&5
4722   rm -rf conftest*
4723   glibcpp_cv_func___builtin_cos_use=no
4724 fi
4725 rm -f conftest*
4726     ac_ext=c
4727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4728 ac_cpp='$CPP $CPPFLAGS'
4729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4731 cross_compiling=$ac_cv_prog_cc_cross
4732
4733   
4734 fi
4735
4736   echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4737   if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4738     echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4739 echo "configure:4740: checking for __builtin_cos linkage" >&5
4740     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4741   echo $ac_n "(cached) $ac_c" 1>&6
4742 else
4743   
4744       cat > conftest.$ac_ext <<EOF
4745 #line 4746 "configure"
4746 #include "confdefs.h"
4747 #include <math.h>
4748 int main() {
4749  __builtin_cos(0);
4750 ; return 0; }
4751 EOF
4752 if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4753   rm -rf conftest*
4754   glibcpp_cv_func___builtin_cos_link=yes
4755 else
4756   echo "configure: failed program was:" >&5
4757   cat conftest.$ac_ext >&5
4758   rm -rf conftest*
4759   glibcpp_cv_func___builtin_cos_link=no
4760 fi
4761 rm -f conftest*
4762     
4763 fi
4764
4765     echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4766     if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4767       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4768       cat >> confdefs.h <<EOF
4769 #define ${ac_tr_func} 1
4770 EOF
4771
4772     fi
4773   fi
4774
4775   
4776   echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4777 echo "configure:4778: checking for __builtin_cosl declaration" >&5
4778   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4779   echo $ac_n "(cached) $ac_c" 1>&6
4780 else
4781   
4782     
4783     ac_ext=C
4784 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4785 ac_cpp='$CXXCPP $CPPFLAGS'
4786 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4787 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4788 cross_compiling=$ac_cv_prog_cxx_cross
4789
4790     cat > conftest.$ac_ext <<EOF
4791 #line 4792 "configure"
4792 #include "confdefs.h"
4793 #include <math.h>
4794 int main() {
4795  __builtin_cosl(0);
4796 ; return 0; }
4797 EOF
4798 if { (eval echo configure:4799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4799   rm -rf conftest*
4800   glibcpp_cv_func___builtin_cosl_use=yes
4801 else
4802   echo "configure: failed program was:" >&5
4803   cat conftest.$ac_ext >&5
4804   rm -rf conftest*
4805   glibcpp_cv_func___builtin_cosl_use=no
4806 fi
4807 rm -f conftest*
4808     ac_ext=c
4809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4810 ac_cpp='$CPP $CPPFLAGS'
4811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4813 cross_compiling=$ac_cv_prog_cc_cross
4814
4815   
4816 fi
4817
4818   echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4819   if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4820     echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4821 echo "configure:4822: checking for __builtin_cosl linkage" >&5
4822     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4823   echo $ac_n "(cached) $ac_c" 1>&6
4824 else
4825   
4826       cat > conftest.$ac_ext <<EOF
4827 #line 4828 "configure"
4828 #include "confdefs.h"
4829 #include <math.h>
4830 int main() {
4831  __builtin_cosl(0);
4832 ; return 0; }
4833 EOF
4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4835   rm -rf conftest*
4836   glibcpp_cv_func___builtin_cosl_link=yes
4837 else
4838   echo "configure: failed program was:" >&5
4839   cat conftest.$ac_ext >&5
4840   rm -rf conftest*
4841   glibcpp_cv_func___builtin_cosl_link=no
4842 fi
4843 rm -f conftest*
4844     
4845 fi
4846
4847     echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4848     if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4849       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4850       cat >> confdefs.h <<EOF
4851 #define ${ac_tr_func} 1
4852 EOF
4853
4854     fi
4855   fi
4856
4857
4858               dummyvar=no
4859   if test x$dummyvar = x"yes"; then
4860     cat >> confdefs.h <<\EOF
4861 #define HAVE___BUILTIN_ABS 1
4862 EOF
4863
4864     cat >> confdefs.h <<\EOF
4865 #define HAVE___BUILTIN_LABS 1
4866 EOF
4867
4868     cat >> confdefs.h <<\EOF
4869 #define HAVE___BUILTIN_COS 1
4870 EOF
4871
4872     cat >> confdefs.h <<\EOF
4873 #define HAVE___BUILTIN_COSF 1
4874 EOF
4875
4876     cat >> confdefs.h <<\EOF
4877 #define HAVE___BUILTIN_COSL 1
4878 EOF
4879
4880     cat >> confdefs.h <<\EOF
4881 #define HAVE___BUILTIN_FABS 1
4882 EOF
4883
4884     cat >> confdefs.h <<\EOF
4885 #define HAVE___BUILTIN_FABSF 1
4886 EOF
4887
4888     cat >> confdefs.h <<\EOF
4889 #define HAVE___BUILTIN_FABSL 1
4890 EOF
4891
4892     cat >> confdefs.h <<\EOF
4893 #define HAVE___BUILTIN_SIN 1
4894 EOF
4895
4896     cat >> confdefs.h <<\EOF
4897 #define HAVE___BUILTIN_SINF 1
4898 EOF
4899
4900     cat >> confdefs.h <<\EOF
4901 #define HAVE___BUILTIN_SINL 1
4902 EOF
4903
4904     cat >> confdefs.h <<\EOF
4905 #define HAVE___BUILTIN_FSQRT 1
4906 EOF
4907
4908     cat >> confdefs.h <<\EOF
4909 #define HAVE___BUILTIN_SQRTF 1
4910 EOF
4911
4912     cat >> confdefs.h <<\EOF
4913 #define HAVE___BUILTIN_SQRTL 1
4914 EOF
4915
4916   fi
4917
4918   
4919   ac_test_CXXFLAGS="${CXXFLAGS+set}"
4920   ac_save_CXXFLAGS="$CXXFLAGS"
4921   CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4922
4923     echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4924 echo "configure:4925: checking for sin in -lm" >&5
4925 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4926 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4927   echo $ac_n "(cached) $ac_c" 1>&6
4928 else
4929   ac_save_LIBS="$LIBS"
4930 LIBS="-lm  $LIBS"
4931 cat > conftest.$ac_ext <<EOF
4932 #line 4933 "configure"
4933 #include "confdefs.h"
4934 /* Override any gcc2 internal prototype to avoid an error.  */
4935 /* We use char because int might match the return type of a gcc2
4936     builtin and then its argument prototype would still apply.  */
4937 char sin();
4938
4939 int main() {
4940 sin()
4941 ; return 0; }
4942 EOF
4943 if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4944   rm -rf conftest*
4945   eval "ac_cv_lib_$ac_lib_var=yes"
4946 else
4947   echo "configure: failed program was:" >&5
4948   cat conftest.$ac_ext >&5
4949   rm -rf conftest*
4950   eval "ac_cv_lib_$ac_lib_var=no"
4951 fi
4952 rm -f conftest*
4953 LIBS="$ac_save_LIBS"
4954
4955 fi
4956 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4957   echo "$ac_t""yes" 1>&6
4958   libm="-lm"
4959 else
4960   echo "$ac_t""no" 1>&6
4961 fi
4962
4963   ac_save_LIBS="$LIBS"
4964   LIBS="$LIBS $libm"
4965
4966     for ac_func in strtof strtold
4967 do
4968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4969 echo "configure:4970: checking for $ac_func" >&5
4970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4971   echo $ac_n "(cached) $ac_c" 1>&6
4972 else
4973   cat > conftest.$ac_ext <<EOF
4974 #line 4975 "configure"
4975 #include "confdefs.h"
4976 /* System header to define __stub macros and hopefully few prototypes,
4977     which can conflict with char $ac_func(); below.  */
4978 #include <assert.h>
4979 /* Override any gcc2 internal prototype to avoid an error.  */
4980 /* We use char because int might match the return type of a gcc2
4981     builtin and then its argument prototype would still apply.  */
4982 char $ac_func();
4983
4984 int main() {
4985
4986 /* The GNU C library defines this for functions which it implements
4987     to always fail with ENOSYS.  Some functions are actually named
4988     something starting with __ and the normal name is an alias.  */
4989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4990 choke me
4991 #else
4992 $ac_func();
4993 #endif
4994
4995 ; return 0; }
4996 EOF
4997 if { (eval echo configure:4998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4998   rm -rf conftest*
4999   eval "ac_cv_func_$ac_func=yes"
5000 else
5001   echo "configure: failed program was:" >&5
5002   cat conftest.$ac_ext >&5
5003   rm -rf conftest*
5004   eval "ac_cv_func_$ac_func=no"
5005 fi
5006 rm -f conftest*
5007 fi
5008
5009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5010   echo "$ac_t""yes" 1>&6
5011     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5012   cat >> confdefs.h <<EOF
5013 #define $ac_tr_func 1
5014 EOF
5015  
5016 else
5017   echo "$ac_t""no" 1>&6
5018 fi
5019 done
5020
5021
5022     
5023   echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
5024 echo "configure:5025: checking for isinf declaration" >&5
5025   if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
5026   echo $ac_n "(cached) $ac_c" 1>&6
5027 else
5028   
5029     
5030     ac_ext=C
5031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5032 ac_cpp='$CXXCPP $CPPFLAGS'
5033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5035 cross_compiling=$ac_cv_prog_cxx_cross
5036
5037     cat > conftest.$ac_ext <<EOF
5038 #line 5039 "configure"
5039 #include "confdefs.h"
5040 #include <math.h>
5041 int main() {
5042  isinf(0);
5043 ; return 0; }
5044 EOF
5045 if { (eval echo configure:5046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5046   rm -rf conftest*
5047   glibcpp_cv_func_isinf_use=yes
5048 else
5049   echo "configure: failed program was:" >&5
5050   cat conftest.$ac_ext >&5
5051   rm -rf conftest*
5052   glibcpp_cv_func_isinf_use=no
5053 fi
5054 rm -f conftest*
5055     ac_ext=c
5056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5057 ac_cpp='$CPP $CPPFLAGS'
5058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5060 cross_compiling=$ac_cv_prog_cc_cross
5061
5062   
5063 fi
5064
5065   echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
5066   if test x$glibcpp_cv_func_isinf_use = x"yes"; then
5067     for ac_func in isinf
5068 do
5069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5070 echo "configure:5071: checking for $ac_func" >&5
5071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5072   echo $ac_n "(cached) $ac_c" 1>&6
5073 else
5074   cat > conftest.$ac_ext <<EOF
5075 #line 5076 "configure"
5076 #include "confdefs.h"
5077 /* System header to define __stub macros and hopefully few prototypes,
5078     which can conflict with char $ac_func(); below.  */
5079 #include <assert.h>
5080 /* Override any gcc2 internal prototype to avoid an error.  */
5081 /* We use char because int might match the return type of a gcc2
5082     builtin and then its argument prototype would still apply.  */
5083 char $ac_func();
5084
5085 int main() {
5086
5087 /* The GNU C library defines this for functions which it implements
5088     to always fail with ENOSYS.  Some functions are actually named
5089     something starting with __ and the normal name is an alias.  */
5090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5091 choke me
5092 #else
5093 $ac_func();
5094 #endif
5095
5096 ; return 0; }
5097 EOF
5098 if { (eval echo configure:5099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5099   rm -rf conftest*
5100   eval "ac_cv_func_$ac_func=yes"
5101 else
5102   echo "configure: failed program was:" >&5
5103   cat conftest.$ac_ext >&5
5104   rm -rf conftest*
5105   eval "ac_cv_func_$ac_func=no"
5106 fi
5107 rm -f conftest*
5108 fi
5109
5110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5111   echo "$ac_t""yes" 1>&6
5112     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5113   cat >> confdefs.h <<EOF
5114 #define $ac_tr_func 1
5115 EOF
5116  
5117 else
5118   echo "$ac_t""no" 1>&6
5119 fi
5120 done
5121     
5122   fi
5123
5124   
5125   echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
5126 echo "configure:5127: checking for isnan declaration" >&5
5127   if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
5128   echo $ac_n "(cached) $ac_c" 1>&6
5129 else
5130   
5131     
5132     ac_ext=C
5133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5134 ac_cpp='$CXXCPP $CPPFLAGS'
5135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5137 cross_compiling=$ac_cv_prog_cxx_cross
5138
5139     cat > conftest.$ac_ext <<EOF
5140 #line 5141 "configure"
5141 #include "confdefs.h"
5142 #include <math.h>
5143 int main() {
5144  isnan(0);
5145 ; return 0; }
5146 EOF
5147 if { (eval echo configure:5148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5148   rm -rf conftest*
5149   glibcpp_cv_func_isnan_use=yes
5150 else
5151   echo "configure: failed program was:" >&5
5152   cat conftest.$ac_ext >&5
5153   rm -rf conftest*
5154   glibcpp_cv_func_isnan_use=no
5155 fi
5156 rm -f conftest*
5157     ac_ext=c
5158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5159 ac_cpp='$CPP $CPPFLAGS'
5160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5162 cross_compiling=$ac_cv_prog_cc_cross
5163
5164   
5165 fi
5166
5167   echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
5168   if test x$glibcpp_cv_func_isnan_use = x"yes"; then
5169     for ac_func in isnan
5170 do
5171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5172 echo "configure:5173: checking for $ac_func" >&5
5173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5174   echo $ac_n "(cached) $ac_c" 1>&6
5175 else
5176   cat > conftest.$ac_ext <<EOF
5177 #line 5178 "configure"
5178 #include "confdefs.h"
5179 /* System header to define __stub macros and hopefully few prototypes,
5180     which can conflict with char $ac_func(); below.  */
5181 #include <assert.h>
5182 /* Override any gcc2 internal prototype to avoid an error.  */
5183 /* We use char because int might match the return type of a gcc2
5184     builtin and then its argument prototype would still apply.  */
5185 char $ac_func();
5186
5187 int main() {
5188
5189 /* The GNU C library defines this for functions which it implements
5190     to always fail with ENOSYS.  Some functions are actually named
5191     something starting with __ and the normal name is an alias.  */
5192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5193 choke me
5194 #else
5195 $ac_func();
5196 #endif
5197
5198 ; return 0; }
5199 EOF
5200 if { (eval echo configure:5201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5201   rm -rf conftest*
5202   eval "ac_cv_func_$ac_func=yes"
5203 else
5204   echo "configure: failed program was:" >&5
5205   cat conftest.$ac_ext >&5
5206   rm -rf conftest*
5207   eval "ac_cv_func_$ac_func=no"
5208 fi
5209 rm -f conftest*
5210 fi
5211
5212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5213   echo "$ac_t""yes" 1>&6
5214     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5215   cat >> confdefs.h <<EOF
5216 #define $ac_tr_func 1
5217 EOF
5218  
5219 else
5220   echo "$ac_t""no" 1>&6
5221 fi
5222 done
5223     
5224   fi
5225
5226   
5227   echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
5228 echo "configure:5229: checking for finite declaration" >&5
5229   if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
5230   echo $ac_n "(cached) $ac_c" 1>&6
5231 else
5232   
5233     
5234     ac_ext=C
5235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5236 ac_cpp='$CXXCPP $CPPFLAGS'
5237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5239 cross_compiling=$ac_cv_prog_cxx_cross
5240
5241     cat > conftest.$ac_ext <<EOF
5242 #line 5243 "configure"
5243 #include "confdefs.h"
5244 #include <math.h>
5245 int main() {
5246  finite(0);
5247 ; return 0; }
5248 EOF
5249 if { (eval echo configure:5250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5250   rm -rf conftest*
5251   glibcpp_cv_func_finite_use=yes
5252 else
5253   echo "configure: failed program was:" >&5
5254   cat conftest.$ac_ext >&5
5255   rm -rf conftest*
5256   glibcpp_cv_func_finite_use=no
5257 fi
5258 rm -f conftest*
5259     ac_ext=c
5260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5261 ac_cpp='$CPP $CPPFLAGS'
5262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5264 cross_compiling=$ac_cv_prog_cc_cross
5265
5266   
5267 fi
5268
5269   echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
5270   if test x$glibcpp_cv_func_finite_use = x"yes"; then
5271     for ac_func in finite
5272 do
5273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5274 echo "configure:5275: checking for $ac_func" >&5
5275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5276   echo $ac_n "(cached) $ac_c" 1>&6
5277 else
5278   cat > conftest.$ac_ext <<EOF
5279 #line 5280 "configure"
5280 #include "confdefs.h"
5281 /* System header to define __stub macros and hopefully few prototypes,
5282     which can conflict with char $ac_func(); below.  */
5283 #include <assert.h>
5284 /* Override any gcc2 internal prototype to avoid an error.  */
5285 /* We use char because int might match the return type of a gcc2
5286     builtin and then its argument prototype would still apply.  */
5287 char $ac_func();
5288
5289 int main() {
5290
5291 /* The GNU C library defines this for functions which it implements
5292     to always fail with ENOSYS.  Some functions are actually named
5293     something starting with __ and the normal name is an alias.  */
5294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5295 choke me
5296 #else
5297 $ac_func();
5298 #endif
5299
5300 ; return 0; }
5301 EOF
5302 if { (eval echo configure:5303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5303   rm -rf conftest*
5304   eval "ac_cv_func_$ac_func=yes"
5305 else
5306   echo "configure: failed program was:" >&5
5307   cat conftest.$ac_ext >&5
5308   rm -rf conftest*
5309   eval "ac_cv_func_$ac_func=no"
5310 fi
5311 rm -f conftest*
5312 fi
5313
5314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5315   echo "$ac_t""yes" 1>&6
5316     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5317   cat >> confdefs.h <<EOF
5318 #define $ac_tr_func 1
5319 EOF
5320  
5321 else
5322   echo "$ac_t""no" 1>&6
5323 fi
5324 done
5325     
5326   fi
5327
5328   
5329   echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5330 echo "configure:5331: checking for copysign declaration" >&5
5331   if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5332   echo $ac_n "(cached) $ac_c" 1>&6
5333 else
5334   
5335     
5336     ac_ext=C
5337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5338 ac_cpp='$CXXCPP $CPPFLAGS'
5339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5341 cross_compiling=$ac_cv_prog_cxx_cross
5342
5343     cat > conftest.$ac_ext <<EOF
5344 #line 5345 "configure"
5345 #include "confdefs.h"
5346 #include <math.h>
5347 int main() {
5348  copysign(0, 0);
5349 ; return 0; }
5350 EOF
5351 if { (eval echo configure:5352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5352   rm -rf conftest*
5353   glibcpp_cv_func_copysign_use=yes
5354 else
5355   echo "configure: failed program was:" >&5
5356   cat conftest.$ac_ext >&5
5357   rm -rf conftest*
5358   glibcpp_cv_func_copysign_use=no
5359 fi
5360 rm -f conftest*
5361     ac_ext=c
5362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5363 ac_cpp='$CPP $CPPFLAGS'
5364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5366 cross_compiling=$ac_cv_prog_cc_cross
5367
5368   
5369 fi
5370
5371   echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5372   if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5373     for ac_func in copysign
5374 do
5375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5376 echo "configure:5377: checking for $ac_func" >&5
5377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5378   echo $ac_n "(cached) $ac_c" 1>&6
5379 else
5380   cat > conftest.$ac_ext <<EOF
5381 #line 5382 "configure"
5382 #include "confdefs.h"
5383 /* System header to define __stub macros and hopefully few prototypes,
5384     which can conflict with char $ac_func(); below.  */
5385 #include <assert.h>
5386 /* Override any gcc2 internal prototype to avoid an error.  */
5387 /* We use char because int might match the return type of a gcc2
5388     builtin and then its argument prototype would still apply.  */
5389 char $ac_func();
5390
5391 int main() {
5392
5393 /* The GNU C library defines this for functions which it implements
5394     to always fail with ENOSYS.  Some functions are actually named
5395     something starting with __ and the normal name is an alias.  */
5396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5397 choke me
5398 #else
5399 $ac_func();
5400 #endif
5401
5402 ; return 0; }
5403 EOF
5404 if { (eval echo configure:5405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5405   rm -rf conftest*
5406   eval "ac_cv_func_$ac_func=yes"
5407 else
5408   echo "configure: failed program was:" >&5
5409   cat conftest.$ac_ext >&5
5410   rm -rf conftest*
5411   eval "ac_cv_func_$ac_func=no"
5412 fi
5413 rm -f conftest*
5414 fi
5415
5416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5417   echo "$ac_t""yes" 1>&6
5418     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5419   cat >> confdefs.h <<EOF
5420 #define $ac_tr_func 1
5421 EOF
5422  
5423 else
5424   echo "$ac_t""no" 1>&6
5425 fi
5426 done
5427     
5428   fi
5429
5430   
5431   echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5432 echo "configure:5433: checking for sincos declaration" >&5
5433   if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5434   echo $ac_n "(cached) $ac_c" 1>&6
5435 else
5436   
5437     
5438     ac_ext=C
5439 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5440 ac_cpp='$CXXCPP $CPPFLAGS'
5441 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5442 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5443 cross_compiling=$ac_cv_prog_cxx_cross
5444
5445     cat > conftest.$ac_ext <<EOF
5446 #line 5447 "configure"
5447 #include "confdefs.h"
5448 #include <math.h>
5449 int main() {
5450  sincos(0, 0, 0);
5451 ; return 0; }
5452 EOF
5453 if { (eval echo configure:5454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5454   rm -rf conftest*
5455   glibcpp_cv_func_sincos_use=yes
5456 else
5457   echo "configure: failed program was:" >&5
5458   cat conftest.$ac_ext >&5
5459   rm -rf conftest*
5460   glibcpp_cv_func_sincos_use=no
5461 fi
5462 rm -f conftest*
5463     ac_ext=c
5464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5465 ac_cpp='$CPP $CPPFLAGS'
5466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5468 cross_compiling=$ac_cv_prog_cc_cross
5469
5470   
5471 fi
5472
5473   echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5474   if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5475     for ac_func in sincos
5476 do
5477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5478 echo "configure:5479: checking for $ac_func" >&5
5479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5480   echo $ac_n "(cached) $ac_c" 1>&6
5481 else
5482   cat > conftest.$ac_ext <<EOF
5483 #line 5484 "configure"
5484 #include "confdefs.h"
5485 /* System header to define __stub macros and hopefully few prototypes,
5486     which can conflict with char $ac_func(); below.  */
5487 #include <assert.h>
5488 /* Override any gcc2 internal prototype to avoid an error.  */
5489 /* We use char because int might match the return type of a gcc2
5490     builtin and then its argument prototype would still apply.  */
5491 char $ac_func();
5492
5493 int main() {
5494
5495 /* The GNU C library defines this for functions which it implements
5496     to always fail with ENOSYS.  Some functions are actually named
5497     something starting with __ and the normal name is an alias.  */
5498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5499 choke me
5500 #else
5501 $ac_func();
5502 #endif
5503
5504 ; return 0; }
5505 EOF
5506 if { (eval echo configure:5507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5507   rm -rf conftest*
5508   eval "ac_cv_func_$ac_func=yes"
5509 else
5510   echo "configure: failed program was:" >&5
5511   cat conftest.$ac_ext >&5
5512   rm -rf conftest*
5513   eval "ac_cv_func_$ac_func=no"
5514 fi
5515 rm -f conftest*
5516 fi
5517
5518 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5519   echo "$ac_t""yes" 1>&6
5520     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5521   cat >> confdefs.h <<EOF
5522 #define $ac_tr_func 1
5523 EOF
5524  
5525 else
5526   echo "$ac_t""no" 1>&6
5527 fi
5528 done
5529     
5530   fi
5531
5532   
5533   echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5534 echo "configure:5535: checking for fpclass declaration" >&5
5535   if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5536   echo $ac_n "(cached) $ac_c" 1>&6
5537 else
5538   
5539     
5540     ac_ext=C
5541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5542 ac_cpp='$CXXCPP $CPPFLAGS'
5543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5545 cross_compiling=$ac_cv_prog_cxx_cross
5546
5547     cat > conftest.$ac_ext <<EOF
5548 #line 5549 "configure"
5549 #include "confdefs.h"
5550 #include <math.h>
5551 int main() {
5552  fpclass(0);
5553 ; return 0; }
5554 EOF
5555 if { (eval echo configure:5556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5556   rm -rf conftest*
5557   glibcpp_cv_func_fpclass_use=yes
5558 else
5559   echo "configure: failed program was:" >&5
5560   cat conftest.$ac_ext >&5
5561   rm -rf conftest*
5562   glibcpp_cv_func_fpclass_use=no
5563 fi
5564 rm -f conftest*
5565     ac_ext=c
5566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5567 ac_cpp='$CPP $CPPFLAGS'
5568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5570 cross_compiling=$ac_cv_prog_cc_cross
5571
5572   
5573 fi
5574
5575   echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5576   if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5577     for ac_func in fpclass
5578 do
5579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5580 echo "configure:5581: checking for $ac_func" >&5
5581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5582   echo $ac_n "(cached) $ac_c" 1>&6
5583 else
5584   cat > conftest.$ac_ext <<EOF
5585 #line 5586 "configure"
5586 #include "confdefs.h"
5587 /* System header to define __stub macros and hopefully few prototypes,
5588     which can conflict with char $ac_func(); below.  */
5589 #include <assert.h>
5590 /* Override any gcc2 internal prototype to avoid an error.  */
5591 /* We use char because int might match the return type of a gcc2
5592     builtin and then its argument prototype would still apply.  */
5593 char $ac_func();
5594
5595 int main() {
5596
5597 /* The GNU C library defines this for functions which it implements
5598     to always fail with ENOSYS.  Some functions are actually named
5599     something starting with __ and the normal name is an alias.  */
5600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5601 choke me
5602 #else
5603 $ac_func();
5604 #endif
5605
5606 ; return 0; }
5607 EOF
5608 if { (eval echo configure:5609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5609   rm -rf conftest*
5610   eval "ac_cv_func_$ac_func=yes"
5611 else
5612   echo "configure: failed program was:" >&5
5613   cat conftest.$ac_ext >&5
5614   rm -rf conftest*
5615   eval "ac_cv_func_$ac_func=no"
5616 fi
5617 rm -f conftest*
5618 fi
5619
5620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5621   echo "$ac_t""yes" 1>&6
5622     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5623   cat >> confdefs.h <<EOF
5624 #define $ac_tr_func 1
5625 EOF
5626  
5627 else
5628   echo "$ac_t""no" 1>&6
5629 fi
5630 done
5631     
5632   fi
5633
5634   
5635   echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5636 echo "configure:5637: checking for qfpclass declaration" >&5
5637   if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5638   echo $ac_n "(cached) $ac_c" 1>&6
5639 else
5640   
5641     
5642     ac_ext=C
5643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5644 ac_cpp='$CXXCPP $CPPFLAGS'
5645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5647 cross_compiling=$ac_cv_prog_cxx_cross
5648
5649     cat > conftest.$ac_ext <<EOF
5650 #line 5651 "configure"
5651 #include "confdefs.h"
5652 #include <math.h>
5653 int main() {
5654  qfpclass(0);
5655 ; return 0; }
5656 EOF
5657 if { (eval echo configure:5658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5658   rm -rf conftest*
5659   glibcpp_cv_func_qfpclass_use=yes
5660 else
5661   echo "configure: failed program was:" >&5
5662   cat conftest.$ac_ext >&5
5663   rm -rf conftest*
5664   glibcpp_cv_func_qfpclass_use=no
5665 fi
5666 rm -f conftest*
5667     ac_ext=c
5668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5669 ac_cpp='$CPP $CPPFLAGS'
5670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5672 cross_compiling=$ac_cv_prog_cc_cross
5673
5674   
5675 fi
5676
5677   echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5678   if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5679     for ac_func in qfpclass
5680 do
5681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5682 echo "configure:5683: checking for $ac_func" >&5
5683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5684   echo $ac_n "(cached) $ac_c" 1>&6
5685 else
5686   cat > conftest.$ac_ext <<EOF
5687 #line 5688 "configure"
5688 #include "confdefs.h"
5689 /* System header to define __stub macros and hopefully few prototypes,
5690     which can conflict with char $ac_func(); below.  */
5691 #include <assert.h>
5692 /* Override any gcc2 internal prototype to avoid an error.  */
5693 /* We use char because int might match the return type of a gcc2
5694     builtin and then its argument prototype would still apply.  */
5695 char $ac_func();
5696
5697 int main() {
5698
5699 /* The GNU C library defines this for functions which it implements
5700     to always fail with ENOSYS.  Some functions are actually named
5701     something starting with __ and the normal name is an alias.  */
5702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5703 choke me
5704 #else
5705 $ac_func();
5706 #endif
5707
5708 ; return 0; }
5709 EOF
5710 if { (eval echo configure:5711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5711   rm -rf conftest*
5712   eval "ac_cv_func_$ac_func=yes"
5713 else
5714   echo "configure: failed program was:" >&5
5715   cat conftest.$ac_ext >&5
5716   rm -rf conftest*
5717   eval "ac_cv_func_$ac_func=no"
5718 fi
5719 rm -f conftest*
5720 fi
5721
5722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5723   echo "$ac_t""yes" 1>&6
5724     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5725   cat >> confdefs.h <<EOF
5726 #define $ac_tr_func 1
5727 EOF
5728  
5729 else
5730   echo "$ac_t""no" 1>&6
5731 fi
5732 done
5733     
5734   fi
5735
5736
5737     
5738   echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5739 echo "configure:5740: checking for isnanf declaration" >&5
5740   if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5741   echo $ac_n "(cached) $ac_c" 1>&6
5742 else
5743   
5744     
5745     ac_ext=C
5746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5747 ac_cpp='$CXXCPP $CPPFLAGS'
5748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5750 cross_compiling=$ac_cv_prog_cxx_cross
5751
5752     cat > conftest.$ac_ext <<EOF
5753 #line 5754 "configure"
5754 #include "confdefs.h"
5755 #include <math.h>
5756 int main() {
5757  isnanf(0);
5758 ; return 0; }
5759 EOF
5760 if { (eval echo configure:5761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5761   rm -rf conftest*
5762   glibcpp_cv_func_isnanf_use=yes
5763 else
5764   echo "configure: failed program was:" >&5
5765   cat conftest.$ac_ext >&5
5766   rm -rf conftest*
5767   glibcpp_cv_func_isnanf_use=no
5768 fi
5769 rm -f conftest*
5770     ac_ext=c
5771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5772 ac_cpp='$CPP $CPPFLAGS'
5773 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5774 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5775 cross_compiling=$ac_cv_prog_cc_cross
5776
5777   
5778 fi
5779
5780   echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5781   if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5782     for ac_func in isnanf
5783 do
5784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5785 echo "configure:5786: checking for $ac_func" >&5
5786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5787   echo $ac_n "(cached) $ac_c" 1>&6
5788 else
5789   cat > conftest.$ac_ext <<EOF
5790 #line 5791 "configure"
5791 #include "confdefs.h"
5792 /* System header to define __stub macros and hopefully few prototypes,
5793     which can conflict with char $ac_func(); below.  */
5794 #include <assert.h>
5795 /* Override any gcc2 internal prototype to avoid an error.  */
5796 /* We use char because int might match the return type of a gcc2
5797     builtin and then its argument prototype would still apply.  */
5798 char $ac_func();
5799
5800 int main() {
5801
5802 /* The GNU C library defines this for functions which it implements
5803     to always fail with ENOSYS.  Some functions are actually named
5804     something starting with __ and the normal name is an alias.  */
5805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5806 choke me
5807 #else
5808 $ac_func();
5809 #endif
5810
5811 ; return 0; }
5812 EOF
5813 if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5814   rm -rf conftest*
5815   eval "ac_cv_func_$ac_func=yes"
5816 else
5817   echo "configure: failed program was:" >&5
5818   cat conftest.$ac_ext >&5
5819   rm -rf conftest*
5820   eval "ac_cv_func_$ac_func=no"
5821 fi
5822 rm -f conftest*
5823 fi
5824
5825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5826   echo "$ac_t""yes" 1>&6
5827     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5828   cat >> confdefs.h <<EOF
5829 #define $ac_tr_func 1
5830 EOF
5831  
5832 else
5833   echo "$ac_t""no" 1>&6
5834 fi
5835 done
5836     
5837   fi
5838
5839   
5840   echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5841 echo "configure:5842: checking for isinff declaration" >&5
5842   if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5843   echo $ac_n "(cached) $ac_c" 1>&6
5844 else
5845   
5846     
5847     ac_ext=C
5848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5849 ac_cpp='$CXXCPP $CPPFLAGS'
5850 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5851 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5852 cross_compiling=$ac_cv_prog_cxx_cross
5853
5854     cat > conftest.$ac_ext <<EOF
5855 #line 5856 "configure"
5856 #include "confdefs.h"
5857 #include <math.h>
5858 int main() {
5859  isinff(0);
5860 ; return 0; }
5861 EOF
5862 if { (eval echo configure:5863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5863   rm -rf conftest*
5864   glibcpp_cv_func_isinff_use=yes
5865 else
5866   echo "configure: failed program was:" >&5
5867   cat conftest.$ac_ext >&5
5868   rm -rf conftest*
5869   glibcpp_cv_func_isinff_use=no
5870 fi
5871 rm -f conftest*
5872     ac_ext=c
5873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5874 ac_cpp='$CPP $CPPFLAGS'
5875 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5876 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5877 cross_compiling=$ac_cv_prog_cc_cross
5878
5879   
5880 fi
5881
5882   echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5883   if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5884     for ac_func in isinff
5885 do
5886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5887 echo "configure:5888: checking for $ac_func" >&5
5888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5889   echo $ac_n "(cached) $ac_c" 1>&6
5890 else
5891   cat > conftest.$ac_ext <<EOF
5892 #line 5893 "configure"
5893 #include "confdefs.h"
5894 /* System header to define __stub macros and hopefully few prototypes,
5895     which can conflict with char $ac_func(); below.  */
5896 #include <assert.h>
5897 /* Override any gcc2 internal prototype to avoid an error.  */
5898 /* We use char because int might match the return type of a gcc2
5899     builtin and then its argument prototype would still apply.  */
5900 char $ac_func();
5901
5902 int main() {
5903
5904 /* The GNU C library defines this for functions which it implements
5905     to always fail with ENOSYS.  Some functions are actually named
5906     something starting with __ and the normal name is an alias.  */
5907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5908 choke me
5909 #else
5910 $ac_func();
5911 #endif
5912
5913 ; return 0; }
5914 EOF
5915 if { (eval echo configure:5916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5916   rm -rf conftest*
5917   eval "ac_cv_func_$ac_func=yes"
5918 else
5919   echo "configure: failed program was:" >&5
5920   cat conftest.$ac_ext >&5
5921   rm -rf conftest*
5922   eval "ac_cv_func_$ac_func=no"
5923 fi
5924 rm -f conftest*
5925 fi
5926
5927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5928   echo "$ac_t""yes" 1>&6
5929     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5930   cat >> confdefs.h <<EOF
5931 #define $ac_tr_func 1
5932 EOF
5933  
5934 else
5935   echo "$ac_t""no" 1>&6
5936 fi
5937 done
5938     
5939   fi
5940
5941   
5942   echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5943 echo "configure:5944: checking for acosf declaration" >&5
5944   if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5945   echo $ac_n "(cached) $ac_c" 1>&6
5946 else
5947   
5948     
5949     ac_ext=C
5950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5951 ac_cpp='$CXXCPP $CPPFLAGS'
5952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5954 cross_compiling=$ac_cv_prog_cxx_cross
5955
5956     cat > conftest.$ac_ext <<EOF
5957 #line 5958 "configure"
5958 #include "confdefs.h"
5959 #include <math.h>
5960 int main() {
5961  acosf(0);
5962 ; return 0; }
5963 EOF
5964 if { (eval echo configure:5965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5965   rm -rf conftest*
5966   glibcpp_cv_func_acosf_use=yes
5967 else
5968   echo "configure: failed program was:" >&5
5969   cat conftest.$ac_ext >&5
5970   rm -rf conftest*
5971   glibcpp_cv_func_acosf_use=no
5972 fi
5973 rm -f conftest*
5974     ac_ext=c
5975 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5976 ac_cpp='$CPP $CPPFLAGS'
5977 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5978 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5979 cross_compiling=$ac_cv_prog_cc_cross
5980
5981   
5982 fi
5983
5984   echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5985   if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5986     for ac_func in acosf
5987 do
5988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5989 echo "configure:5990: checking for $ac_func" >&5
5990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5991   echo $ac_n "(cached) $ac_c" 1>&6
5992 else
5993   cat > conftest.$ac_ext <<EOF
5994 #line 5995 "configure"
5995 #include "confdefs.h"
5996 /* System header to define __stub macros and hopefully few prototypes,
5997     which can conflict with char $ac_func(); below.  */
5998 #include <assert.h>
5999 /* Override any gcc2 internal prototype to avoid an error.  */
6000 /* We use char because int might match the return type of a gcc2
6001     builtin and then its argument prototype would still apply.  */
6002 char $ac_func();
6003
6004 int main() {
6005
6006 /* The GNU C library defines this for functions which it implements
6007     to always fail with ENOSYS.  Some functions are actually named
6008     something starting with __ and the normal name is an alias.  */
6009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6010 choke me
6011 #else
6012 $ac_func();
6013 #endif
6014
6015 ; return 0; }
6016 EOF
6017 if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6018   rm -rf conftest*
6019   eval "ac_cv_func_$ac_func=yes"
6020 else
6021   echo "configure: failed program was:" >&5
6022   cat conftest.$ac_ext >&5
6023   rm -rf conftest*
6024   eval "ac_cv_func_$ac_func=no"
6025 fi
6026 rm -f conftest*
6027 fi
6028
6029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6030   echo "$ac_t""yes" 1>&6
6031     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6032   cat >> confdefs.h <<EOF
6033 #define $ac_tr_func 1
6034 EOF
6035  
6036 else
6037   echo "$ac_t""no" 1>&6
6038 fi
6039 done
6040     
6041   fi
6042
6043   
6044   echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
6045 echo "configure:6046: checking for asinf declaration" >&5
6046   if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
6047   echo $ac_n "(cached) $ac_c" 1>&6
6048 else
6049   
6050     
6051     ac_ext=C
6052 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6053 ac_cpp='$CXXCPP $CPPFLAGS'
6054 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6055 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6056 cross_compiling=$ac_cv_prog_cxx_cross
6057
6058     cat > conftest.$ac_ext <<EOF
6059 #line 6060 "configure"
6060 #include "confdefs.h"
6061 #include <math.h>
6062 int main() {
6063  asinf(0);
6064 ; return 0; }
6065 EOF
6066 if { (eval echo configure:6067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6067   rm -rf conftest*
6068   glibcpp_cv_func_asinf_use=yes
6069 else
6070   echo "configure: failed program was:" >&5
6071   cat conftest.$ac_ext >&5
6072   rm -rf conftest*
6073   glibcpp_cv_func_asinf_use=no
6074 fi
6075 rm -f conftest*
6076     ac_ext=c
6077 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6078 ac_cpp='$CPP $CPPFLAGS'
6079 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6080 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6081 cross_compiling=$ac_cv_prog_cc_cross
6082
6083   
6084 fi
6085
6086   echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
6087   if test x$glibcpp_cv_func_asinf_use = x"yes"; then
6088     for ac_func in asinf
6089 do
6090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6091 echo "configure:6092: checking for $ac_func" >&5
6092 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6093   echo $ac_n "(cached) $ac_c" 1>&6
6094 else
6095   cat > conftest.$ac_ext <<EOF
6096 #line 6097 "configure"
6097 #include "confdefs.h"
6098 /* System header to define __stub macros and hopefully few prototypes,
6099     which can conflict with char $ac_func(); below.  */
6100 #include <assert.h>
6101 /* Override any gcc2 internal prototype to avoid an error.  */
6102 /* We use char because int might match the return type of a gcc2
6103     builtin and then its argument prototype would still apply.  */
6104 char $ac_func();
6105
6106 int main() {
6107
6108 /* The GNU C library defines this for functions which it implements
6109     to always fail with ENOSYS.  Some functions are actually named
6110     something starting with __ and the normal name is an alias.  */
6111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6112 choke me
6113 #else
6114 $ac_func();
6115 #endif
6116
6117 ; return 0; }
6118 EOF
6119 if { (eval echo configure:6120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6120   rm -rf conftest*
6121   eval "ac_cv_func_$ac_func=yes"
6122 else
6123   echo "configure: failed program was:" >&5
6124   cat conftest.$ac_ext >&5
6125   rm -rf conftest*
6126   eval "ac_cv_func_$ac_func=no"
6127 fi
6128 rm -f conftest*
6129 fi
6130
6131 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6132   echo "$ac_t""yes" 1>&6
6133     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6134   cat >> confdefs.h <<EOF
6135 #define $ac_tr_func 1
6136 EOF
6137  
6138 else
6139   echo "$ac_t""no" 1>&6
6140 fi
6141 done
6142     
6143   fi
6144
6145   
6146   echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
6147 echo "configure:6148: checking for atanf declaration" >&5
6148   if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
6149   echo $ac_n "(cached) $ac_c" 1>&6
6150 else
6151   
6152     
6153     ac_ext=C
6154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6155 ac_cpp='$CXXCPP $CPPFLAGS'
6156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6158 cross_compiling=$ac_cv_prog_cxx_cross
6159
6160     cat > conftest.$ac_ext <<EOF
6161 #line 6162 "configure"
6162 #include "confdefs.h"
6163 #include <math.h>
6164 int main() {
6165  atanf(0);
6166 ; return 0; }
6167 EOF
6168 if { (eval echo configure:6169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6169   rm -rf conftest*
6170   glibcpp_cv_func_atanf_use=yes
6171 else
6172   echo "configure: failed program was:" >&5
6173   cat conftest.$ac_ext >&5
6174   rm -rf conftest*
6175   glibcpp_cv_func_atanf_use=no
6176 fi
6177 rm -f conftest*
6178     ac_ext=c
6179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6180 ac_cpp='$CPP $CPPFLAGS'
6181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6183 cross_compiling=$ac_cv_prog_cc_cross
6184
6185   
6186 fi
6187
6188   echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
6189   if test x$glibcpp_cv_func_atanf_use = x"yes"; then
6190     for ac_func in atanf
6191 do
6192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6193 echo "configure:6194: checking for $ac_func" >&5
6194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6195   echo $ac_n "(cached) $ac_c" 1>&6
6196 else
6197   cat > conftest.$ac_ext <<EOF
6198 #line 6199 "configure"
6199 #include "confdefs.h"
6200 /* System header to define __stub macros and hopefully few prototypes,
6201     which can conflict with char $ac_func(); below.  */
6202 #include <assert.h>
6203 /* Override any gcc2 internal prototype to avoid an error.  */
6204 /* We use char because int might match the return type of a gcc2
6205     builtin and then its argument prototype would still apply.  */
6206 char $ac_func();
6207
6208 int main() {
6209
6210 /* The GNU C library defines this for functions which it implements
6211     to always fail with ENOSYS.  Some functions are actually named
6212     something starting with __ and the normal name is an alias.  */
6213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6214 choke me
6215 #else
6216 $ac_func();
6217 #endif
6218
6219 ; return 0; }
6220 EOF
6221 if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6222   rm -rf conftest*
6223   eval "ac_cv_func_$ac_func=yes"
6224 else
6225   echo "configure: failed program was:" >&5
6226   cat conftest.$ac_ext >&5
6227   rm -rf conftest*
6228   eval "ac_cv_func_$ac_func=no"
6229 fi
6230 rm -f conftest*
6231 fi
6232
6233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6234   echo "$ac_t""yes" 1>&6
6235     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6236   cat >> confdefs.h <<EOF
6237 #define $ac_tr_func 1
6238 EOF
6239  
6240 else
6241   echo "$ac_t""no" 1>&6
6242 fi
6243 done
6244     
6245   fi
6246
6247   
6248   echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
6249 echo "configure:6250: checking for atan2f declaration" >&5
6250   if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
6251   echo $ac_n "(cached) $ac_c" 1>&6
6252 else
6253   
6254     
6255     ac_ext=C
6256 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6257 ac_cpp='$CXXCPP $CPPFLAGS'
6258 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6259 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6260 cross_compiling=$ac_cv_prog_cxx_cross
6261
6262     cat > conftest.$ac_ext <<EOF
6263 #line 6264 "configure"
6264 #include "confdefs.h"
6265 #include <math.h>
6266 int main() {
6267  atan2f(0, 0);
6268 ; return 0; }
6269 EOF
6270 if { (eval echo configure:6271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6271   rm -rf conftest*
6272   glibcpp_cv_func_atan2f_use=yes
6273 else
6274   echo "configure: failed program was:" >&5
6275   cat conftest.$ac_ext >&5
6276   rm -rf conftest*
6277   glibcpp_cv_func_atan2f_use=no
6278 fi
6279 rm -f conftest*
6280     ac_ext=c
6281 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6282 ac_cpp='$CPP $CPPFLAGS'
6283 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6284 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6285 cross_compiling=$ac_cv_prog_cc_cross
6286
6287   
6288 fi
6289
6290   echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6291   if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6292     for ac_func in atan2f
6293 do
6294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6295 echo "configure:6296: checking for $ac_func" >&5
6296 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6297   echo $ac_n "(cached) $ac_c" 1>&6
6298 else
6299   cat > conftest.$ac_ext <<EOF
6300 #line 6301 "configure"
6301 #include "confdefs.h"
6302 /* System header to define __stub macros and hopefully few prototypes,
6303     which can conflict with char $ac_func(); below.  */
6304 #include <assert.h>
6305 /* Override any gcc2 internal prototype to avoid an error.  */
6306 /* We use char because int might match the return type of a gcc2
6307     builtin and then its argument prototype would still apply.  */
6308 char $ac_func();
6309
6310 int main() {
6311
6312 /* The GNU C library defines this for functions which it implements
6313     to always fail with ENOSYS.  Some functions are actually named
6314     something starting with __ and the normal name is an alias.  */
6315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6316 choke me
6317 #else
6318 $ac_func();
6319 #endif
6320
6321 ; return 0; }
6322 EOF
6323 if { (eval echo configure:6324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6324   rm -rf conftest*
6325   eval "ac_cv_func_$ac_func=yes"
6326 else
6327   echo "configure: failed program was:" >&5
6328   cat conftest.$ac_ext >&5
6329   rm -rf conftest*
6330   eval "ac_cv_func_$ac_func=no"
6331 fi
6332 rm -f conftest*
6333 fi
6334
6335 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6336   echo "$ac_t""yes" 1>&6
6337     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6338   cat >> confdefs.h <<EOF
6339 #define $ac_tr_func 1
6340 EOF
6341  
6342 else
6343   echo "$ac_t""no" 1>&6
6344 fi
6345 done
6346     
6347   fi
6348
6349   
6350   echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6351 echo "configure:6352: checking for ceilf declaration" >&5
6352   if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6353   echo $ac_n "(cached) $ac_c" 1>&6
6354 else
6355   
6356     
6357     ac_ext=C
6358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6359 ac_cpp='$CXXCPP $CPPFLAGS'
6360 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6361 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6362 cross_compiling=$ac_cv_prog_cxx_cross
6363
6364     cat > conftest.$ac_ext <<EOF
6365 #line 6366 "configure"
6366 #include "confdefs.h"
6367 #include <math.h>
6368 int main() {
6369  ceilf(0);
6370 ; return 0; }
6371 EOF
6372 if { (eval echo configure:6373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6373   rm -rf conftest*
6374   glibcpp_cv_func_ceilf_use=yes
6375 else
6376   echo "configure: failed program was:" >&5
6377   cat conftest.$ac_ext >&5
6378   rm -rf conftest*
6379   glibcpp_cv_func_ceilf_use=no
6380 fi
6381 rm -f conftest*
6382     ac_ext=c
6383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6384 ac_cpp='$CPP $CPPFLAGS'
6385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6387 cross_compiling=$ac_cv_prog_cc_cross
6388
6389   
6390 fi
6391
6392   echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6393   if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6394     for ac_func in ceilf
6395 do
6396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6397 echo "configure:6398: checking for $ac_func" >&5
6398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6399   echo $ac_n "(cached) $ac_c" 1>&6
6400 else
6401   cat > conftest.$ac_ext <<EOF
6402 #line 6403 "configure"
6403 #include "confdefs.h"
6404 /* System header to define __stub macros and hopefully few prototypes,
6405     which can conflict with char $ac_func(); below.  */
6406 #include <assert.h>
6407 /* Override any gcc2 internal prototype to avoid an error.  */
6408 /* We use char because int might match the return type of a gcc2
6409     builtin and then its argument prototype would still apply.  */
6410 char $ac_func();
6411
6412 int main() {
6413
6414 /* The GNU C library defines this for functions which it implements
6415     to always fail with ENOSYS.  Some functions are actually named
6416     something starting with __ and the normal name is an alias.  */
6417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6418 choke me
6419 #else
6420 $ac_func();
6421 #endif
6422
6423 ; return 0; }
6424 EOF
6425 if { (eval echo configure:6426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6426   rm -rf conftest*
6427   eval "ac_cv_func_$ac_func=yes"
6428 else
6429   echo "configure: failed program was:" >&5
6430   cat conftest.$ac_ext >&5
6431   rm -rf conftest*
6432   eval "ac_cv_func_$ac_func=no"
6433 fi
6434 rm -f conftest*
6435 fi
6436
6437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6438   echo "$ac_t""yes" 1>&6
6439     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6440   cat >> confdefs.h <<EOF
6441 #define $ac_tr_func 1
6442 EOF
6443  
6444 else
6445   echo "$ac_t""no" 1>&6
6446 fi
6447 done
6448     
6449   fi
6450
6451   
6452   echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6453 echo "configure:6454: checking for cosf declaration" >&5
6454   if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6455   echo $ac_n "(cached) $ac_c" 1>&6
6456 else
6457   
6458     
6459     ac_ext=C
6460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6461 ac_cpp='$CXXCPP $CPPFLAGS'
6462 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6463 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6464 cross_compiling=$ac_cv_prog_cxx_cross
6465
6466     cat > conftest.$ac_ext <<EOF
6467 #line 6468 "configure"
6468 #include "confdefs.h"
6469 #include <math.h>
6470 int main() {
6471  cosf(0);
6472 ; return 0; }
6473 EOF
6474 if { (eval echo configure:6475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6475   rm -rf conftest*
6476   glibcpp_cv_func_cosf_use=yes
6477 else
6478   echo "configure: failed program was:" >&5
6479   cat conftest.$ac_ext >&5
6480   rm -rf conftest*
6481   glibcpp_cv_func_cosf_use=no
6482 fi
6483 rm -f conftest*
6484     ac_ext=c
6485 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6486 ac_cpp='$CPP $CPPFLAGS'
6487 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6488 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6489 cross_compiling=$ac_cv_prog_cc_cross
6490
6491   
6492 fi
6493
6494   echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6495   if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6496     for ac_func in cosf
6497 do
6498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6499 echo "configure:6500: checking for $ac_func" >&5
6500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6501   echo $ac_n "(cached) $ac_c" 1>&6
6502 else
6503   cat > conftest.$ac_ext <<EOF
6504 #line 6505 "configure"
6505 #include "confdefs.h"
6506 /* System header to define __stub macros and hopefully few prototypes,
6507     which can conflict with char $ac_func(); below.  */
6508 #include <assert.h>
6509 /* Override any gcc2 internal prototype to avoid an error.  */
6510 /* We use char because int might match the return type of a gcc2
6511     builtin and then its argument prototype would still apply.  */
6512 char $ac_func();
6513
6514 int main() {
6515
6516 /* The GNU C library defines this for functions which it implements
6517     to always fail with ENOSYS.  Some functions are actually named
6518     something starting with __ and the normal name is an alias.  */
6519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6520 choke me
6521 #else
6522 $ac_func();
6523 #endif
6524
6525 ; return 0; }
6526 EOF
6527 if { (eval echo configure:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6528   rm -rf conftest*
6529   eval "ac_cv_func_$ac_func=yes"
6530 else
6531   echo "configure: failed program was:" >&5
6532   cat conftest.$ac_ext >&5
6533   rm -rf conftest*
6534   eval "ac_cv_func_$ac_func=no"
6535 fi
6536 rm -f conftest*
6537 fi
6538
6539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6540   echo "$ac_t""yes" 1>&6
6541     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6542   cat >> confdefs.h <<EOF
6543 #define $ac_tr_func 1
6544 EOF
6545  
6546 else
6547   echo "$ac_t""no" 1>&6
6548 fi
6549 done
6550     
6551   fi
6552
6553   
6554   echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6555 echo "configure:6556: checking for coshf declaration" >&5
6556   if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6557   echo $ac_n "(cached) $ac_c" 1>&6
6558 else
6559   
6560     
6561     ac_ext=C
6562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6563 ac_cpp='$CXXCPP $CPPFLAGS'
6564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6566 cross_compiling=$ac_cv_prog_cxx_cross
6567
6568     cat > conftest.$ac_ext <<EOF
6569 #line 6570 "configure"
6570 #include "confdefs.h"
6571 #include <math.h>
6572 int main() {
6573  coshf(0);
6574 ; return 0; }
6575 EOF
6576 if { (eval echo configure:6577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6577   rm -rf conftest*
6578   glibcpp_cv_func_coshf_use=yes
6579 else
6580   echo "configure: failed program was:" >&5
6581   cat conftest.$ac_ext >&5
6582   rm -rf conftest*
6583   glibcpp_cv_func_coshf_use=no
6584 fi
6585 rm -f conftest*
6586     ac_ext=c
6587 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6588 ac_cpp='$CPP $CPPFLAGS'
6589 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6590 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6591 cross_compiling=$ac_cv_prog_cc_cross
6592
6593   
6594 fi
6595
6596   echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6597   if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6598     for ac_func in coshf
6599 do
6600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6601 echo "configure:6602: checking for $ac_func" >&5
6602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6603   echo $ac_n "(cached) $ac_c" 1>&6
6604 else
6605   cat > conftest.$ac_ext <<EOF
6606 #line 6607 "configure"
6607 #include "confdefs.h"
6608 /* System header to define __stub macros and hopefully few prototypes,
6609     which can conflict with char $ac_func(); below.  */
6610 #include <assert.h>
6611 /* Override any gcc2 internal prototype to avoid an error.  */
6612 /* We use char because int might match the return type of a gcc2
6613     builtin and then its argument prototype would still apply.  */
6614 char $ac_func();
6615
6616 int main() {
6617
6618 /* The GNU C library defines this for functions which it implements
6619     to always fail with ENOSYS.  Some functions are actually named
6620     something starting with __ and the normal name is an alias.  */
6621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6622 choke me
6623 #else
6624 $ac_func();
6625 #endif
6626
6627 ; return 0; }
6628 EOF
6629 if { (eval echo configure:6630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6630   rm -rf conftest*
6631   eval "ac_cv_func_$ac_func=yes"
6632 else
6633   echo "configure: failed program was:" >&5
6634   cat conftest.$ac_ext >&5
6635   rm -rf conftest*
6636   eval "ac_cv_func_$ac_func=no"
6637 fi
6638 rm -f conftest*
6639 fi
6640
6641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6642   echo "$ac_t""yes" 1>&6
6643     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6644   cat >> confdefs.h <<EOF
6645 #define $ac_tr_func 1
6646 EOF
6647  
6648 else
6649   echo "$ac_t""no" 1>&6
6650 fi
6651 done
6652     
6653   fi
6654
6655   
6656   echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6657 echo "configure:6658: checking for expf declaration" >&5
6658   if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6659   echo $ac_n "(cached) $ac_c" 1>&6
6660 else
6661   
6662     
6663     ac_ext=C
6664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6665 ac_cpp='$CXXCPP $CPPFLAGS'
6666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6668 cross_compiling=$ac_cv_prog_cxx_cross
6669
6670     cat > conftest.$ac_ext <<EOF
6671 #line 6672 "configure"
6672 #include "confdefs.h"
6673 #include <math.h>
6674 int main() {
6675  expf(0);
6676 ; return 0; }
6677 EOF
6678 if { (eval echo configure:6679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6679   rm -rf conftest*
6680   glibcpp_cv_func_expf_use=yes
6681 else
6682   echo "configure: failed program was:" >&5
6683   cat conftest.$ac_ext >&5
6684   rm -rf conftest*
6685   glibcpp_cv_func_expf_use=no
6686 fi
6687 rm -f conftest*
6688     ac_ext=c
6689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6690 ac_cpp='$CPP $CPPFLAGS'
6691 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6692 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6693 cross_compiling=$ac_cv_prog_cc_cross
6694
6695   
6696 fi
6697
6698   echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6699   if test x$glibcpp_cv_func_expf_use = x"yes"; then
6700     for ac_func in expf
6701 do
6702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6703 echo "configure:6704: checking for $ac_func" >&5
6704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6705   echo $ac_n "(cached) $ac_c" 1>&6
6706 else
6707   cat > conftest.$ac_ext <<EOF
6708 #line 6709 "configure"
6709 #include "confdefs.h"
6710 /* System header to define __stub macros and hopefully few prototypes,
6711     which can conflict with char $ac_func(); below.  */
6712 #include <assert.h>
6713 /* Override any gcc2 internal prototype to avoid an error.  */
6714 /* We use char because int might match the return type of a gcc2
6715     builtin and then its argument prototype would still apply.  */
6716 char $ac_func();
6717
6718 int main() {
6719
6720 /* The GNU C library defines this for functions which it implements
6721     to always fail with ENOSYS.  Some functions are actually named
6722     something starting with __ and the normal name is an alias.  */
6723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6724 choke me
6725 #else
6726 $ac_func();
6727 #endif
6728
6729 ; return 0; }
6730 EOF
6731 if { (eval echo configure:6732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6732   rm -rf conftest*
6733   eval "ac_cv_func_$ac_func=yes"
6734 else
6735   echo "configure: failed program was:" >&5
6736   cat conftest.$ac_ext >&5
6737   rm -rf conftest*
6738   eval "ac_cv_func_$ac_func=no"
6739 fi
6740 rm -f conftest*
6741 fi
6742
6743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6744   echo "$ac_t""yes" 1>&6
6745     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6746   cat >> confdefs.h <<EOF
6747 #define $ac_tr_func 1
6748 EOF
6749  
6750 else
6751   echo "$ac_t""no" 1>&6
6752 fi
6753 done
6754     
6755   fi
6756
6757   
6758   echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6759 echo "configure:6760: checking for fabsf declaration" >&5
6760   if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6761   echo $ac_n "(cached) $ac_c" 1>&6
6762 else
6763   
6764     
6765     ac_ext=C
6766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6767 ac_cpp='$CXXCPP $CPPFLAGS'
6768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6770 cross_compiling=$ac_cv_prog_cxx_cross
6771
6772     cat > conftest.$ac_ext <<EOF
6773 #line 6774 "configure"
6774 #include "confdefs.h"
6775 #include <math.h>
6776 int main() {
6777  fabsf(0);
6778 ; return 0; }
6779 EOF
6780 if { (eval echo configure:6781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6781   rm -rf conftest*
6782   glibcpp_cv_func_fabsf_use=yes
6783 else
6784   echo "configure: failed program was:" >&5
6785   cat conftest.$ac_ext >&5
6786   rm -rf conftest*
6787   glibcpp_cv_func_fabsf_use=no
6788 fi
6789 rm -f conftest*
6790     ac_ext=c
6791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6792 ac_cpp='$CPP $CPPFLAGS'
6793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6795 cross_compiling=$ac_cv_prog_cc_cross
6796
6797   
6798 fi
6799
6800   echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6801   if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6802     for ac_func in fabsf
6803 do
6804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6805 echo "configure:6806: checking for $ac_func" >&5
6806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6807   echo $ac_n "(cached) $ac_c" 1>&6
6808 else
6809   cat > conftest.$ac_ext <<EOF
6810 #line 6811 "configure"
6811 #include "confdefs.h"
6812 /* System header to define __stub macros and hopefully few prototypes,
6813     which can conflict with char $ac_func(); below.  */
6814 #include <assert.h>
6815 /* Override any gcc2 internal prototype to avoid an error.  */
6816 /* We use char because int might match the return type of a gcc2
6817     builtin and then its argument prototype would still apply.  */
6818 char $ac_func();
6819
6820 int main() {
6821
6822 /* The GNU C library defines this for functions which it implements
6823     to always fail with ENOSYS.  Some functions are actually named
6824     something starting with __ and the normal name is an alias.  */
6825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6826 choke me
6827 #else
6828 $ac_func();
6829 #endif
6830
6831 ; return 0; }
6832 EOF
6833 if { (eval echo configure:6834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6834   rm -rf conftest*
6835   eval "ac_cv_func_$ac_func=yes"
6836 else
6837   echo "configure: failed program was:" >&5
6838   cat conftest.$ac_ext >&5
6839   rm -rf conftest*
6840   eval "ac_cv_func_$ac_func=no"
6841 fi
6842 rm -f conftest*
6843 fi
6844
6845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6846   echo "$ac_t""yes" 1>&6
6847     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6848   cat >> confdefs.h <<EOF
6849 #define $ac_tr_func 1
6850 EOF
6851  
6852 else
6853   echo "$ac_t""no" 1>&6
6854 fi
6855 done
6856     
6857   fi
6858
6859   
6860   echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6861 echo "configure:6862: checking for floorf declaration" >&5
6862   if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6863   echo $ac_n "(cached) $ac_c" 1>&6
6864 else
6865   
6866     
6867     ac_ext=C
6868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6869 ac_cpp='$CXXCPP $CPPFLAGS'
6870 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6871 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6872 cross_compiling=$ac_cv_prog_cxx_cross
6873
6874     cat > conftest.$ac_ext <<EOF
6875 #line 6876 "configure"
6876 #include "confdefs.h"
6877 #include <math.h>
6878 int main() {
6879  floorf(0);
6880 ; return 0; }
6881 EOF
6882 if { (eval echo configure:6883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6883   rm -rf conftest*
6884   glibcpp_cv_func_floorf_use=yes
6885 else
6886   echo "configure: failed program was:" >&5
6887   cat conftest.$ac_ext >&5
6888   rm -rf conftest*
6889   glibcpp_cv_func_floorf_use=no
6890 fi
6891 rm -f conftest*
6892     ac_ext=c
6893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6894 ac_cpp='$CPP $CPPFLAGS'
6895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6897 cross_compiling=$ac_cv_prog_cc_cross
6898
6899   
6900 fi
6901
6902   echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6903   if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6904     for ac_func in floorf
6905 do
6906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6907 echo "configure:6908: checking for $ac_func" >&5
6908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6909   echo $ac_n "(cached) $ac_c" 1>&6
6910 else
6911   cat > conftest.$ac_ext <<EOF
6912 #line 6913 "configure"
6913 #include "confdefs.h"
6914 /* System header to define __stub macros and hopefully few prototypes,
6915     which can conflict with char $ac_func(); below.  */
6916 #include <assert.h>
6917 /* Override any gcc2 internal prototype to avoid an error.  */
6918 /* We use char because int might match the return type of a gcc2
6919     builtin and then its argument prototype would still apply.  */
6920 char $ac_func();
6921
6922 int main() {
6923
6924 /* The GNU C library defines this for functions which it implements
6925     to always fail with ENOSYS.  Some functions are actually named
6926     something starting with __ and the normal name is an alias.  */
6927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6928 choke me
6929 #else
6930 $ac_func();
6931 #endif
6932
6933 ; return 0; }
6934 EOF
6935 if { (eval echo configure:6936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6936   rm -rf conftest*
6937   eval "ac_cv_func_$ac_func=yes"
6938 else
6939   echo "configure: failed program was:" >&5
6940   cat conftest.$ac_ext >&5
6941   rm -rf conftest*
6942   eval "ac_cv_func_$ac_func=no"
6943 fi
6944 rm -f conftest*
6945 fi
6946
6947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6948   echo "$ac_t""yes" 1>&6
6949     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6950   cat >> confdefs.h <<EOF
6951 #define $ac_tr_func 1
6952 EOF
6953  
6954 else
6955   echo "$ac_t""no" 1>&6
6956 fi
6957 done
6958     
6959   fi
6960
6961   
6962   echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6963 echo "configure:6964: checking for fmodf declaration" >&5
6964   if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6965   echo $ac_n "(cached) $ac_c" 1>&6
6966 else
6967   
6968     
6969     ac_ext=C
6970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6971 ac_cpp='$CXXCPP $CPPFLAGS'
6972 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6973 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6974 cross_compiling=$ac_cv_prog_cxx_cross
6975
6976     cat > conftest.$ac_ext <<EOF
6977 #line 6978 "configure"
6978 #include "confdefs.h"
6979 #include <math.h>
6980 int main() {
6981  fmodf(0, 0);
6982 ; return 0; }
6983 EOF
6984 if { (eval echo configure:6985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6985   rm -rf conftest*
6986   glibcpp_cv_func_fmodf_use=yes
6987 else
6988   echo "configure: failed program was:" >&5
6989   cat conftest.$ac_ext >&5
6990   rm -rf conftest*
6991   glibcpp_cv_func_fmodf_use=no
6992 fi
6993 rm -f conftest*
6994     ac_ext=c
6995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6996 ac_cpp='$CPP $CPPFLAGS'
6997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6999 cross_compiling=$ac_cv_prog_cc_cross
7000
7001   
7002 fi
7003
7004   echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
7005   if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
7006     for ac_func in fmodf
7007 do
7008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7009 echo "configure:7010: checking for $ac_func" >&5
7010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7011   echo $ac_n "(cached) $ac_c" 1>&6
7012 else
7013   cat > conftest.$ac_ext <<EOF
7014 #line 7015 "configure"
7015 #include "confdefs.h"
7016 /* System header to define __stub macros and hopefully few prototypes,
7017     which can conflict with char $ac_func(); below.  */
7018 #include <assert.h>
7019 /* Override any gcc2 internal prototype to avoid an error.  */
7020 /* We use char because int might match the return type of a gcc2
7021     builtin and then its argument prototype would still apply.  */
7022 char $ac_func();
7023
7024 int main() {
7025
7026 /* The GNU C library defines this for functions which it implements
7027     to always fail with ENOSYS.  Some functions are actually named
7028     something starting with __ and the normal name is an alias.  */
7029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7030 choke me
7031 #else
7032 $ac_func();
7033 #endif
7034
7035 ; return 0; }
7036 EOF
7037 if { (eval echo configure:7038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7038   rm -rf conftest*
7039   eval "ac_cv_func_$ac_func=yes"
7040 else
7041   echo "configure: failed program was:" >&5
7042   cat conftest.$ac_ext >&5
7043   rm -rf conftest*
7044   eval "ac_cv_func_$ac_func=no"
7045 fi
7046 rm -f conftest*
7047 fi
7048
7049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7050   echo "$ac_t""yes" 1>&6
7051     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7052   cat >> confdefs.h <<EOF
7053 #define $ac_tr_func 1
7054 EOF
7055  
7056 else
7057   echo "$ac_t""no" 1>&6
7058 fi
7059 done
7060     
7061   fi
7062
7063   
7064   echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
7065 echo "configure:7066: checking for frexpf declaration" >&5
7066   if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
7067   echo $ac_n "(cached) $ac_c" 1>&6
7068 else
7069   
7070     
7071     ac_ext=C
7072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7073 ac_cpp='$CXXCPP $CPPFLAGS'
7074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7076 cross_compiling=$ac_cv_prog_cxx_cross
7077
7078     cat > conftest.$ac_ext <<EOF
7079 #line 7080 "configure"
7080 #include "confdefs.h"
7081 #include <math.h>
7082 int main() {
7083  frexpf(0, 0);
7084 ; return 0; }
7085 EOF
7086 if { (eval echo configure:7087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7087   rm -rf conftest*
7088   glibcpp_cv_func_frexpf_use=yes
7089 else
7090   echo "configure: failed program was:" >&5
7091   cat conftest.$ac_ext >&5
7092   rm -rf conftest*
7093   glibcpp_cv_func_frexpf_use=no
7094 fi
7095 rm -f conftest*
7096     ac_ext=c
7097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7098 ac_cpp='$CPP $CPPFLAGS'
7099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7101 cross_compiling=$ac_cv_prog_cc_cross
7102
7103   
7104 fi
7105
7106   echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
7107   if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
7108     for ac_func in frexpf
7109 do
7110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7111 echo "configure:7112: checking for $ac_func" >&5
7112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7113   echo $ac_n "(cached) $ac_c" 1>&6
7114 else
7115   cat > conftest.$ac_ext <<EOF
7116 #line 7117 "configure"
7117 #include "confdefs.h"
7118 /* System header to define __stub macros and hopefully few prototypes,
7119     which can conflict with char $ac_func(); below.  */
7120 #include <assert.h>
7121 /* Override any gcc2 internal prototype to avoid an error.  */
7122 /* We use char because int might match the return type of a gcc2
7123     builtin and then its argument prototype would still apply.  */
7124 char $ac_func();
7125
7126 int main() {
7127
7128 /* The GNU C library defines this for functions which it implements
7129     to always fail with ENOSYS.  Some functions are actually named
7130     something starting with __ and the normal name is an alias.  */
7131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7132 choke me
7133 #else
7134 $ac_func();
7135 #endif
7136
7137 ; return 0; }
7138 EOF
7139 if { (eval echo configure:7140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7140   rm -rf conftest*
7141   eval "ac_cv_func_$ac_func=yes"
7142 else
7143   echo "configure: failed program was:" >&5
7144   cat conftest.$ac_ext >&5
7145   rm -rf conftest*
7146   eval "ac_cv_func_$ac_func=no"
7147 fi
7148 rm -f conftest*
7149 fi
7150
7151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7152   echo "$ac_t""yes" 1>&6
7153     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7154   cat >> confdefs.h <<EOF
7155 #define $ac_tr_func 1
7156 EOF
7157  
7158 else
7159   echo "$ac_t""no" 1>&6
7160 fi
7161 done
7162     
7163   fi
7164
7165   
7166   echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
7167 echo "configure:7168: checking for ldexpf declaration" >&5
7168   if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
7169   echo $ac_n "(cached) $ac_c" 1>&6
7170 else
7171   
7172     
7173     ac_ext=C
7174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7175 ac_cpp='$CXXCPP $CPPFLAGS'
7176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7178 cross_compiling=$ac_cv_prog_cxx_cross
7179
7180     cat > conftest.$ac_ext <<EOF
7181 #line 7182 "configure"
7182 #include "confdefs.h"
7183 #include <math.h>
7184 int main() {
7185  ldexpf(0, 0);
7186 ; return 0; }
7187 EOF
7188 if { (eval echo configure:7189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7189   rm -rf conftest*
7190   glibcpp_cv_func_ldexpf_use=yes
7191 else
7192   echo "configure: failed program was:" >&5
7193   cat conftest.$ac_ext >&5
7194   rm -rf conftest*
7195   glibcpp_cv_func_ldexpf_use=no
7196 fi
7197 rm -f conftest*
7198     ac_ext=c
7199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7200 ac_cpp='$CPP $CPPFLAGS'
7201 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7202 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7203 cross_compiling=$ac_cv_prog_cc_cross
7204
7205   
7206 fi
7207
7208   echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
7209   if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
7210     for ac_func in ldexpf
7211 do
7212 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7213 echo "configure:7214: checking for $ac_func" >&5
7214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7215   echo $ac_n "(cached) $ac_c" 1>&6
7216 else
7217   cat > conftest.$ac_ext <<EOF
7218 #line 7219 "configure"
7219 #include "confdefs.h"
7220 /* System header to define __stub macros and hopefully few prototypes,
7221     which can conflict with char $ac_func(); below.  */
7222 #include <assert.h>
7223 /* Override any gcc2 internal prototype to avoid an error.  */
7224 /* We use char because int might match the return type of a gcc2
7225     builtin and then its argument prototype would still apply.  */
7226 char $ac_func();
7227
7228 int main() {
7229
7230 /* The GNU C library defines this for functions which it implements
7231     to always fail with ENOSYS.  Some functions are actually named
7232     something starting with __ and the normal name is an alias.  */
7233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7234 choke me
7235 #else
7236 $ac_func();
7237 #endif
7238
7239 ; return 0; }
7240 EOF
7241 if { (eval echo configure:7242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7242   rm -rf conftest*
7243   eval "ac_cv_func_$ac_func=yes"
7244 else
7245   echo "configure: failed program was:" >&5
7246   cat conftest.$ac_ext >&5
7247   rm -rf conftest*
7248   eval "ac_cv_func_$ac_func=no"
7249 fi
7250 rm -f conftest*
7251 fi
7252
7253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7254   echo "$ac_t""yes" 1>&6
7255     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7256   cat >> confdefs.h <<EOF
7257 #define $ac_tr_func 1
7258 EOF
7259  
7260 else
7261   echo "$ac_t""no" 1>&6
7262 fi
7263 done
7264     
7265   fi
7266
7267   
7268   echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7269 echo "configure:7270: checking for logf declaration" >&5
7270   if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7271   echo $ac_n "(cached) $ac_c" 1>&6
7272 else
7273   
7274     
7275     ac_ext=C
7276 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7277 ac_cpp='$CXXCPP $CPPFLAGS'
7278 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7279 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7280 cross_compiling=$ac_cv_prog_cxx_cross
7281
7282     cat > conftest.$ac_ext <<EOF
7283 #line 7284 "configure"
7284 #include "confdefs.h"
7285 #include <math.h>
7286 int main() {
7287  logf(0);
7288 ; return 0; }
7289 EOF
7290 if { (eval echo configure:7291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7291   rm -rf conftest*
7292   glibcpp_cv_func_logf_use=yes
7293 else
7294   echo "configure: failed program was:" >&5
7295   cat conftest.$ac_ext >&5
7296   rm -rf conftest*
7297   glibcpp_cv_func_logf_use=no
7298 fi
7299 rm -f conftest*
7300     ac_ext=c
7301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7302 ac_cpp='$CPP $CPPFLAGS'
7303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7305 cross_compiling=$ac_cv_prog_cc_cross
7306
7307   
7308 fi
7309
7310   echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7311   if test x$glibcpp_cv_func_logf_use = x"yes"; then
7312     for ac_func in logf
7313 do
7314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7315 echo "configure:7316: checking for $ac_func" >&5
7316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7317   echo $ac_n "(cached) $ac_c" 1>&6
7318 else
7319   cat > conftest.$ac_ext <<EOF
7320 #line 7321 "configure"
7321 #include "confdefs.h"
7322 /* System header to define __stub macros and hopefully few prototypes,
7323     which can conflict with char $ac_func(); below.  */
7324 #include <assert.h>
7325 /* Override any gcc2 internal prototype to avoid an error.  */
7326 /* We use char because int might match the return type of a gcc2
7327     builtin and then its argument prototype would still apply.  */
7328 char $ac_func();
7329
7330 int main() {
7331
7332 /* The GNU C library defines this for functions which it implements
7333     to always fail with ENOSYS.  Some functions are actually named
7334     something starting with __ and the normal name is an alias.  */
7335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7336 choke me
7337 #else
7338 $ac_func();
7339 #endif
7340
7341 ; return 0; }
7342 EOF
7343 if { (eval echo configure:7344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7344   rm -rf conftest*
7345   eval "ac_cv_func_$ac_func=yes"
7346 else
7347   echo "configure: failed program was:" >&5
7348   cat conftest.$ac_ext >&5
7349   rm -rf conftest*
7350   eval "ac_cv_func_$ac_func=no"
7351 fi
7352 rm -f conftest*
7353 fi
7354
7355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7356   echo "$ac_t""yes" 1>&6
7357     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7358   cat >> confdefs.h <<EOF
7359 #define $ac_tr_func 1
7360 EOF
7361  
7362 else
7363   echo "$ac_t""no" 1>&6
7364 fi
7365 done
7366     
7367   fi
7368
7369   
7370   echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7371 echo "configure:7372: checking for log10f declaration" >&5
7372   if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7373   echo $ac_n "(cached) $ac_c" 1>&6
7374 else
7375   
7376     
7377     ac_ext=C
7378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7379 ac_cpp='$CXXCPP $CPPFLAGS'
7380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7382 cross_compiling=$ac_cv_prog_cxx_cross
7383
7384     cat > conftest.$ac_ext <<EOF
7385 #line 7386 "configure"
7386 #include "confdefs.h"
7387 #include <math.h>
7388 int main() {
7389  log10f(0);
7390 ; return 0; }
7391 EOF
7392 if { (eval echo configure:7393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7393   rm -rf conftest*
7394   glibcpp_cv_func_log10f_use=yes
7395 else
7396   echo "configure: failed program was:" >&5
7397   cat conftest.$ac_ext >&5
7398   rm -rf conftest*
7399   glibcpp_cv_func_log10f_use=no
7400 fi
7401 rm -f conftest*
7402     ac_ext=c
7403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7404 ac_cpp='$CPP $CPPFLAGS'
7405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7407 cross_compiling=$ac_cv_prog_cc_cross
7408
7409   
7410 fi
7411
7412   echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7413   if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7414     for ac_func in log10f
7415 do
7416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7417 echo "configure:7418: checking for $ac_func" >&5
7418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7419   echo $ac_n "(cached) $ac_c" 1>&6
7420 else
7421   cat > conftest.$ac_ext <<EOF
7422 #line 7423 "configure"
7423 #include "confdefs.h"
7424 /* System header to define __stub macros and hopefully few prototypes,
7425     which can conflict with char $ac_func(); below.  */
7426 #include <assert.h>
7427 /* Override any gcc2 internal prototype to avoid an error.  */
7428 /* We use char because int might match the return type of a gcc2
7429     builtin and then its argument prototype would still apply.  */
7430 char $ac_func();
7431
7432 int main() {
7433
7434 /* The GNU C library defines this for functions which it implements
7435     to always fail with ENOSYS.  Some functions are actually named
7436     something starting with __ and the normal name is an alias.  */
7437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7438 choke me
7439 #else
7440 $ac_func();
7441 #endif
7442
7443 ; return 0; }
7444 EOF
7445 if { (eval echo configure:7446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7446   rm -rf conftest*
7447   eval "ac_cv_func_$ac_func=yes"
7448 else
7449   echo "configure: failed program was:" >&5
7450   cat conftest.$ac_ext >&5
7451   rm -rf conftest*
7452   eval "ac_cv_func_$ac_func=no"
7453 fi
7454 rm -f conftest*
7455 fi
7456
7457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7458   echo "$ac_t""yes" 1>&6
7459     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7460   cat >> confdefs.h <<EOF
7461 #define $ac_tr_func 1
7462 EOF
7463  
7464 else
7465   echo "$ac_t""no" 1>&6
7466 fi
7467 done
7468     
7469   fi
7470
7471   
7472   echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7473 echo "configure:7474: checking for modff declaration" >&5
7474   if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7475   echo $ac_n "(cached) $ac_c" 1>&6
7476 else
7477   
7478     
7479     ac_ext=C
7480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7481 ac_cpp='$CXXCPP $CPPFLAGS'
7482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7484 cross_compiling=$ac_cv_prog_cxx_cross
7485
7486     cat > conftest.$ac_ext <<EOF
7487 #line 7488 "configure"
7488 #include "confdefs.h"
7489 #include <math.h>
7490 int main() {
7491  modff(0, 0);
7492 ; return 0; }
7493 EOF
7494 if { (eval echo configure:7495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7495   rm -rf conftest*
7496   glibcpp_cv_func_modff_use=yes
7497 else
7498   echo "configure: failed program was:" >&5
7499   cat conftest.$ac_ext >&5
7500   rm -rf conftest*
7501   glibcpp_cv_func_modff_use=no
7502 fi
7503 rm -f conftest*
7504     ac_ext=c
7505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7506 ac_cpp='$CPP $CPPFLAGS'
7507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7509 cross_compiling=$ac_cv_prog_cc_cross
7510
7511   
7512 fi
7513
7514   echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7515   if test x$glibcpp_cv_func_modff_use = x"yes"; then
7516     for ac_func in modff
7517 do
7518 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7519 echo "configure:7520: checking for $ac_func" >&5
7520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7521   echo $ac_n "(cached) $ac_c" 1>&6
7522 else
7523   cat > conftest.$ac_ext <<EOF
7524 #line 7525 "configure"
7525 #include "confdefs.h"
7526 /* System header to define __stub macros and hopefully few prototypes,
7527     which can conflict with char $ac_func(); below.  */
7528 #include <assert.h>
7529 /* Override any gcc2 internal prototype to avoid an error.  */
7530 /* We use char because int might match the return type of a gcc2
7531     builtin and then its argument prototype would still apply.  */
7532 char $ac_func();
7533
7534 int main() {
7535
7536 /* The GNU C library defines this for functions which it implements
7537     to always fail with ENOSYS.  Some functions are actually named
7538     something starting with __ and the normal name is an alias.  */
7539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7540 choke me
7541 #else
7542 $ac_func();
7543 #endif
7544
7545 ; return 0; }
7546 EOF
7547 if { (eval echo configure:7548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7548   rm -rf conftest*
7549   eval "ac_cv_func_$ac_func=yes"
7550 else
7551   echo "configure: failed program was:" >&5
7552   cat conftest.$ac_ext >&5
7553   rm -rf conftest*
7554   eval "ac_cv_func_$ac_func=no"
7555 fi
7556 rm -f conftest*
7557 fi
7558
7559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7560   echo "$ac_t""yes" 1>&6
7561     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7562   cat >> confdefs.h <<EOF
7563 #define $ac_tr_func 1
7564 EOF
7565  
7566 else
7567   echo "$ac_t""no" 1>&6
7568 fi
7569 done
7570     
7571   fi
7572
7573   
7574   echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7575 echo "configure:7576: checking for powf declaration" >&5
7576   if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7577   echo $ac_n "(cached) $ac_c" 1>&6
7578 else
7579   
7580     
7581     ac_ext=C
7582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7583 ac_cpp='$CXXCPP $CPPFLAGS'
7584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7586 cross_compiling=$ac_cv_prog_cxx_cross
7587
7588     cat > conftest.$ac_ext <<EOF
7589 #line 7590 "configure"
7590 #include "confdefs.h"
7591 #include <math.h>
7592 int main() {
7593  powf(0, 0);
7594 ; return 0; }
7595 EOF
7596 if { (eval echo configure:7597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7597   rm -rf conftest*
7598   glibcpp_cv_func_powf_use=yes
7599 else
7600   echo "configure: failed program was:" >&5
7601   cat conftest.$ac_ext >&5
7602   rm -rf conftest*
7603   glibcpp_cv_func_powf_use=no
7604 fi
7605 rm -f conftest*
7606     ac_ext=c
7607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7608 ac_cpp='$CPP $CPPFLAGS'
7609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7611 cross_compiling=$ac_cv_prog_cc_cross
7612
7613   
7614 fi
7615
7616   echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7617   if test x$glibcpp_cv_func_powf_use = x"yes"; then
7618     for ac_func in powf
7619 do
7620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7621 echo "configure:7622: checking for $ac_func" >&5
7622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7623   echo $ac_n "(cached) $ac_c" 1>&6
7624 else
7625   cat > conftest.$ac_ext <<EOF
7626 #line 7627 "configure"
7627 #include "confdefs.h"
7628 /* System header to define __stub macros and hopefully few prototypes,
7629     which can conflict with char $ac_func(); below.  */
7630 #include <assert.h>
7631 /* Override any gcc2 internal prototype to avoid an error.  */
7632 /* We use char because int might match the return type of a gcc2
7633     builtin and then its argument prototype would still apply.  */
7634 char $ac_func();
7635
7636 int main() {
7637
7638 /* The GNU C library defines this for functions which it implements
7639     to always fail with ENOSYS.  Some functions are actually named
7640     something starting with __ and the normal name is an alias.  */
7641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7642 choke me
7643 #else
7644 $ac_func();
7645 #endif
7646
7647 ; return 0; }
7648 EOF
7649 if { (eval echo configure:7650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7650   rm -rf conftest*
7651   eval "ac_cv_func_$ac_func=yes"
7652 else
7653   echo "configure: failed program was:" >&5
7654   cat conftest.$ac_ext >&5
7655   rm -rf conftest*
7656   eval "ac_cv_func_$ac_func=no"
7657 fi
7658 rm -f conftest*
7659 fi
7660
7661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7662   echo "$ac_t""yes" 1>&6
7663     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7664   cat >> confdefs.h <<EOF
7665 #define $ac_tr_func 1
7666 EOF
7667  
7668 else
7669   echo "$ac_t""no" 1>&6
7670 fi
7671 done
7672     
7673   fi
7674
7675   
7676   echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7677 echo "configure:7678: checking for sinf declaration" >&5
7678   if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7679   echo $ac_n "(cached) $ac_c" 1>&6
7680 else
7681   
7682     
7683     ac_ext=C
7684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7685 ac_cpp='$CXXCPP $CPPFLAGS'
7686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7688 cross_compiling=$ac_cv_prog_cxx_cross
7689
7690     cat > conftest.$ac_ext <<EOF
7691 #line 7692 "configure"
7692 #include "confdefs.h"
7693 #include <math.h>
7694 int main() {
7695  sinf(0);
7696 ; return 0; }
7697 EOF
7698 if { (eval echo configure:7699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7699   rm -rf conftest*
7700   glibcpp_cv_func_sinf_use=yes
7701 else
7702   echo "configure: failed program was:" >&5
7703   cat conftest.$ac_ext >&5
7704   rm -rf conftest*
7705   glibcpp_cv_func_sinf_use=no
7706 fi
7707 rm -f conftest*
7708     ac_ext=c
7709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7710 ac_cpp='$CPP $CPPFLAGS'
7711 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7712 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7713 cross_compiling=$ac_cv_prog_cc_cross
7714
7715   
7716 fi
7717
7718   echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7719   if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7720     for ac_func in sinf
7721 do
7722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7723 echo "configure:7724: checking for $ac_func" >&5
7724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7725   echo $ac_n "(cached) $ac_c" 1>&6
7726 else
7727   cat > conftest.$ac_ext <<EOF
7728 #line 7729 "configure"
7729 #include "confdefs.h"
7730 /* System header to define __stub macros and hopefully few prototypes,
7731     which can conflict with char $ac_func(); below.  */
7732 #include <assert.h>
7733 /* Override any gcc2 internal prototype to avoid an error.  */
7734 /* We use char because int might match the return type of a gcc2
7735     builtin and then its argument prototype would still apply.  */
7736 char $ac_func();
7737
7738 int main() {
7739
7740 /* The GNU C library defines this for functions which it implements
7741     to always fail with ENOSYS.  Some functions are actually named
7742     something starting with __ and the normal name is an alias.  */
7743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7744 choke me
7745 #else
7746 $ac_func();
7747 #endif
7748
7749 ; return 0; }
7750 EOF
7751 if { (eval echo configure:7752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7752   rm -rf conftest*
7753   eval "ac_cv_func_$ac_func=yes"
7754 else
7755   echo "configure: failed program was:" >&5
7756   cat conftest.$ac_ext >&5
7757   rm -rf conftest*
7758   eval "ac_cv_func_$ac_func=no"
7759 fi
7760 rm -f conftest*
7761 fi
7762
7763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7764   echo "$ac_t""yes" 1>&6
7765     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7766   cat >> confdefs.h <<EOF
7767 #define $ac_tr_func 1
7768 EOF
7769  
7770 else
7771   echo "$ac_t""no" 1>&6
7772 fi
7773 done
7774     
7775   fi
7776
7777   
7778   echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7779 echo "configure:7780: checking for sinhf declaration" >&5
7780   if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7781   echo $ac_n "(cached) $ac_c" 1>&6
7782 else
7783   
7784     
7785     ac_ext=C
7786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7787 ac_cpp='$CXXCPP $CPPFLAGS'
7788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7790 cross_compiling=$ac_cv_prog_cxx_cross
7791
7792     cat > conftest.$ac_ext <<EOF
7793 #line 7794 "configure"
7794 #include "confdefs.h"
7795 #include <math.h>
7796 int main() {
7797  sinhf(0);
7798 ; return 0; }
7799 EOF
7800 if { (eval echo configure:7801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7801   rm -rf conftest*
7802   glibcpp_cv_func_sinhf_use=yes
7803 else
7804   echo "configure: failed program was:" >&5
7805   cat conftest.$ac_ext >&5
7806   rm -rf conftest*
7807   glibcpp_cv_func_sinhf_use=no
7808 fi
7809 rm -f conftest*
7810     ac_ext=c
7811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7812 ac_cpp='$CPP $CPPFLAGS'
7813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7815 cross_compiling=$ac_cv_prog_cc_cross
7816
7817   
7818 fi
7819
7820   echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7821   if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7822     for ac_func in sinhf
7823 do
7824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7825 echo "configure:7826: checking for $ac_func" >&5
7826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7827   echo $ac_n "(cached) $ac_c" 1>&6
7828 else
7829   cat > conftest.$ac_ext <<EOF
7830 #line 7831 "configure"
7831 #include "confdefs.h"
7832 /* System header to define __stub macros and hopefully few prototypes,
7833     which can conflict with char $ac_func(); below.  */
7834 #include <assert.h>
7835 /* Override any gcc2 internal prototype to avoid an error.  */
7836 /* We use char because int might match the return type of a gcc2
7837     builtin and then its argument prototype would still apply.  */
7838 char $ac_func();
7839
7840 int main() {
7841
7842 /* The GNU C library defines this for functions which it implements
7843     to always fail with ENOSYS.  Some functions are actually named
7844     something starting with __ and the normal name is an alias.  */
7845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7846 choke me
7847 #else
7848 $ac_func();
7849 #endif
7850
7851 ; return 0; }
7852 EOF
7853 if { (eval echo configure:7854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7854   rm -rf conftest*
7855   eval "ac_cv_func_$ac_func=yes"
7856 else
7857   echo "configure: failed program was:" >&5
7858   cat conftest.$ac_ext >&5
7859   rm -rf conftest*
7860   eval "ac_cv_func_$ac_func=no"
7861 fi
7862 rm -f conftest*
7863 fi
7864
7865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7866   echo "$ac_t""yes" 1>&6
7867     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7868   cat >> confdefs.h <<EOF
7869 #define $ac_tr_func 1
7870 EOF
7871  
7872 else
7873   echo "$ac_t""no" 1>&6
7874 fi
7875 done
7876     
7877   fi
7878
7879   
7880   echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7881 echo "configure:7882: checking for sqrtf declaration" >&5
7882   if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7883   echo $ac_n "(cached) $ac_c" 1>&6
7884 else
7885   
7886     
7887     ac_ext=C
7888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7889 ac_cpp='$CXXCPP $CPPFLAGS'
7890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7892 cross_compiling=$ac_cv_prog_cxx_cross
7893
7894     cat > conftest.$ac_ext <<EOF
7895 #line 7896 "configure"
7896 #include "confdefs.h"
7897 #include <math.h>
7898 int main() {
7899  sqrtf(0);
7900 ; return 0; }
7901 EOF
7902 if { (eval echo configure:7903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7903   rm -rf conftest*
7904   glibcpp_cv_func_sqrtf_use=yes
7905 else
7906   echo "configure: failed program was:" >&5
7907   cat conftest.$ac_ext >&5
7908   rm -rf conftest*
7909   glibcpp_cv_func_sqrtf_use=no
7910 fi
7911 rm -f conftest*
7912     ac_ext=c
7913 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7914 ac_cpp='$CPP $CPPFLAGS'
7915 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7916 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7917 cross_compiling=$ac_cv_prog_cc_cross
7918
7919   
7920 fi
7921
7922   echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7923   if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7924     for ac_func in sqrtf
7925 do
7926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7927 echo "configure:7928: checking for $ac_func" >&5
7928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7929   echo $ac_n "(cached) $ac_c" 1>&6
7930 else
7931   cat > conftest.$ac_ext <<EOF
7932 #line 7933 "configure"
7933 #include "confdefs.h"
7934 /* System header to define __stub macros and hopefully few prototypes,
7935     which can conflict with char $ac_func(); below.  */
7936 #include <assert.h>
7937 /* Override any gcc2 internal prototype to avoid an error.  */
7938 /* We use char because int might match the return type of a gcc2
7939     builtin and then its argument prototype would still apply.  */
7940 char $ac_func();
7941
7942 int main() {
7943
7944 /* The GNU C library defines this for functions which it implements
7945     to always fail with ENOSYS.  Some functions are actually named
7946     something starting with __ and the normal name is an alias.  */
7947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7948 choke me
7949 #else
7950 $ac_func();
7951 #endif
7952
7953 ; return 0; }
7954 EOF
7955 if { (eval echo configure:7956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7956   rm -rf conftest*
7957   eval "ac_cv_func_$ac_func=yes"
7958 else
7959   echo "configure: failed program was:" >&5
7960   cat conftest.$ac_ext >&5
7961   rm -rf conftest*
7962   eval "ac_cv_func_$ac_func=no"
7963 fi
7964 rm -f conftest*
7965 fi
7966
7967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7968   echo "$ac_t""yes" 1>&6
7969     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7970   cat >> confdefs.h <<EOF
7971 #define $ac_tr_func 1
7972 EOF
7973  
7974 else
7975   echo "$ac_t""no" 1>&6
7976 fi
7977 done
7978     
7979   fi
7980
7981   
7982   echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7983 echo "configure:7984: checking for tanf declaration" >&5
7984   if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7985   echo $ac_n "(cached) $ac_c" 1>&6
7986 else
7987   
7988     
7989     ac_ext=C
7990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7991 ac_cpp='$CXXCPP $CPPFLAGS'
7992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7994 cross_compiling=$ac_cv_prog_cxx_cross
7995
7996     cat > conftest.$ac_ext <<EOF
7997 #line 7998 "configure"
7998 #include "confdefs.h"
7999 #include <math.h>
8000 int main() {
8001  tanf(0);
8002 ; return 0; }
8003 EOF
8004 if { (eval echo configure:8005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8005   rm -rf conftest*
8006   glibcpp_cv_func_tanf_use=yes
8007 else
8008   echo "configure: failed program was:" >&5
8009   cat conftest.$ac_ext >&5
8010   rm -rf conftest*
8011   glibcpp_cv_func_tanf_use=no
8012 fi
8013 rm -f conftest*
8014     ac_ext=c
8015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8016 ac_cpp='$CPP $CPPFLAGS'
8017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8019 cross_compiling=$ac_cv_prog_cc_cross
8020
8021   
8022 fi
8023
8024   echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
8025   if test x$glibcpp_cv_func_tanf_use = x"yes"; then
8026     for ac_func in tanf
8027 do
8028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8029 echo "configure:8030: checking for $ac_func" >&5
8030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8031   echo $ac_n "(cached) $ac_c" 1>&6
8032 else
8033   cat > conftest.$ac_ext <<EOF
8034 #line 8035 "configure"
8035 #include "confdefs.h"
8036 /* System header to define __stub macros and hopefully few prototypes,
8037     which can conflict with char $ac_func(); below.  */
8038 #include <assert.h>
8039 /* Override any gcc2 internal prototype to avoid an error.  */
8040 /* We use char because int might match the return type of a gcc2
8041     builtin and then its argument prototype would still apply.  */
8042 char $ac_func();
8043
8044 int main() {
8045
8046 /* The GNU C library defines this for functions which it implements
8047     to always fail with ENOSYS.  Some functions are actually named
8048     something starting with __ and the normal name is an alias.  */
8049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8050 choke me
8051 #else
8052 $ac_func();
8053 #endif
8054
8055 ; return 0; }
8056 EOF
8057 if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8058   rm -rf conftest*
8059   eval "ac_cv_func_$ac_func=yes"
8060 else
8061   echo "configure: failed program was:" >&5
8062   cat conftest.$ac_ext >&5
8063   rm -rf conftest*
8064   eval "ac_cv_func_$ac_func=no"
8065 fi
8066 rm -f conftest*
8067 fi
8068
8069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8070   echo "$ac_t""yes" 1>&6
8071     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8072   cat >> confdefs.h <<EOF
8073 #define $ac_tr_func 1
8074 EOF
8075  
8076 else
8077   echo "$ac_t""no" 1>&6
8078 fi
8079 done
8080     
8081   fi
8082
8083   
8084   echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
8085 echo "configure:8086: checking for tanhf declaration" >&5
8086   if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
8087   echo $ac_n "(cached) $ac_c" 1>&6
8088 else
8089   
8090     
8091     ac_ext=C
8092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8093 ac_cpp='$CXXCPP $CPPFLAGS'
8094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8096 cross_compiling=$ac_cv_prog_cxx_cross
8097
8098     cat > conftest.$ac_ext <<EOF
8099 #line 8100 "configure"
8100 #include "confdefs.h"
8101 #include <math.h>
8102 int main() {
8103  tanhf(0);
8104 ; return 0; }
8105 EOF
8106 if { (eval echo configure:8107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8107   rm -rf conftest*
8108   glibcpp_cv_func_tanhf_use=yes
8109 else
8110   echo "configure: failed program was:" >&5
8111   cat conftest.$ac_ext >&5
8112   rm -rf conftest*
8113   glibcpp_cv_func_tanhf_use=no
8114 fi
8115 rm -f conftest*
8116     ac_ext=c
8117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8118 ac_cpp='$CPP $CPPFLAGS'
8119 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8120 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8121 cross_compiling=$ac_cv_prog_cc_cross
8122
8123   
8124 fi
8125
8126   echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
8127   if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
8128     for ac_func in tanhf
8129 do
8130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8131 echo "configure:8132: checking for $ac_func" >&5
8132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8133   echo $ac_n "(cached) $ac_c" 1>&6
8134 else
8135   cat > conftest.$ac_ext <<EOF
8136 #line 8137 "configure"
8137 #include "confdefs.h"
8138 /* System header to define __stub macros and hopefully few prototypes,
8139     which can conflict with char $ac_func(); below.  */
8140 #include <assert.h>
8141 /* Override any gcc2 internal prototype to avoid an error.  */
8142 /* We use char because int might match the return type of a gcc2
8143     builtin and then its argument prototype would still apply.  */
8144 char $ac_func();
8145
8146 int main() {
8147
8148 /* The GNU C library defines this for functions which it implements
8149     to always fail with ENOSYS.  Some functions are actually named
8150     something starting with __ and the normal name is an alias.  */
8151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8152 choke me
8153 #else
8154 $ac_func();
8155 #endif
8156
8157 ; return 0; }
8158 EOF
8159 if { (eval echo configure:8160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8160   rm -rf conftest*
8161   eval "ac_cv_func_$ac_func=yes"
8162 else
8163   echo "configure: failed program was:" >&5
8164   cat conftest.$ac_ext >&5
8165   rm -rf conftest*
8166   eval "ac_cv_func_$ac_func=no"
8167 fi
8168 rm -f conftest*
8169 fi
8170
8171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8172   echo "$ac_t""yes" 1>&6
8173     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8174   cat >> confdefs.h <<EOF
8175 #define $ac_tr_func 1
8176 EOF
8177  
8178 else
8179   echo "$ac_t""no" 1>&6
8180 fi
8181 done
8182     
8183   fi
8184
8185   
8186   echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
8187 echo "configure:8188: checking for sincosf declaration" >&5
8188   if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
8189   echo $ac_n "(cached) $ac_c" 1>&6
8190 else
8191   
8192     
8193     ac_ext=C
8194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8195 ac_cpp='$CXXCPP $CPPFLAGS'
8196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8198 cross_compiling=$ac_cv_prog_cxx_cross
8199
8200     cat > conftest.$ac_ext <<EOF
8201 #line 8202 "configure"
8202 #include "confdefs.h"
8203 #include <math.h>
8204 int main() {
8205  sincosf(0, 0, 0);
8206 ; return 0; }
8207 EOF
8208 if { (eval echo configure:8209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8209   rm -rf conftest*
8210   glibcpp_cv_func_sincosf_use=yes
8211 else
8212   echo "configure: failed program was:" >&5
8213   cat conftest.$ac_ext >&5
8214   rm -rf conftest*
8215   glibcpp_cv_func_sincosf_use=no
8216 fi
8217 rm -f conftest*
8218     ac_ext=c
8219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8220 ac_cpp='$CPP $CPPFLAGS'
8221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8223 cross_compiling=$ac_cv_prog_cc_cross
8224
8225   
8226 fi
8227
8228   echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
8229   if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
8230     for ac_func in sincosf
8231 do
8232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8233 echo "configure:8234: checking for $ac_func" >&5
8234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8235   echo $ac_n "(cached) $ac_c" 1>&6
8236 else
8237   cat > conftest.$ac_ext <<EOF
8238 #line 8239 "configure"
8239 #include "confdefs.h"
8240 /* System header to define __stub macros and hopefully few prototypes,
8241     which can conflict with char $ac_func(); below.  */
8242 #include <assert.h>
8243 /* Override any gcc2 internal prototype to avoid an error.  */
8244 /* We use char because int might match the return type of a gcc2
8245     builtin and then its argument prototype would still apply.  */
8246 char $ac_func();
8247
8248 int main() {
8249
8250 /* The GNU C library defines this for functions which it implements
8251     to always fail with ENOSYS.  Some functions are actually named
8252     something starting with __ and the normal name is an alias.  */
8253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8254 choke me
8255 #else
8256 $ac_func();
8257 #endif
8258
8259 ; return 0; }
8260 EOF
8261 if { (eval echo configure:8262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8262   rm -rf conftest*
8263   eval "ac_cv_func_$ac_func=yes"
8264 else
8265   echo "configure: failed program was:" >&5
8266   cat conftest.$ac_ext >&5
8267   rm -rf conftest*
8268   eval "ac_cv_func_$ac_func=no"
8269 fi
8270 rm -f conftest*
8271 fi
8272
8273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8274   echo "$ac_t""yes" 1>&6
8275     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8276   cat >> confdefs.h <<EOF
8277 #define $ac_tr_func 1
8278 EOF
8279  
8280 else
8281   echo "$ac_t""no" 1>&6
8282 fi
8283 done
8284     
8285   fi
8286
8287   
8288   echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8289 echo "configure:8290: checking for finitef declaration" >&5
8290   if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8291   echo $ac_n "(cached) $ac_c" 1>&6
8292 else
8293   
8294     
8295     ac_ext=C
8296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8297 ac_cpp='$CXXCPP $CPPFLAGS'
8298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8300 cross_compiling=$ac_cv_prog_cxx_cross
8301
8302     cat > conftest.$ac_ext <<EOF
8303 #line 8304 "configure"
8304 #include "confdefs.h"
8305 #include <math.h>
8306 int main() {
8307  finitef(0);
8308 ; return 0; }
8309 EOF
8310 if { (eval echo configure:8311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8311   rm -rf conftest*
8312   glibcpp_cv_func_finitef_use=yes
8313 else
8314   echo "configure: failed program was:" >&5
8315   cat conftest.$ac_ext >&5
8316   rm -rf conftest*
8317   glibcpp_cv_func_finitef_use=no
8318 fi
8319 rm -f conftest*
8320     ac_ext=c
8321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8322 ac_cpp='$CPP $CPPFLAGS'
8323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8325 cross_compiling=$ac_cv_prog_cc_cross
8326
8327   
8328 fi
8329
8330   echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8331   if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8332     for ac_func in finitef
8333 do
8334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8335 echo "configure:8336: checking for $ac_func" >&5
8336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8337   echo $ac_n "(cached) $ac_c" 1>&6
8338 else
8339   cat > conftest.$ac_ext <<EOF
8340 #line 8341 "configure"
8341 #include "confdefs.h"
8342 /* System header to define __stub macros and hopefully few prototypes,
8343     which can conflict with char $ac_func(); below.  */
8344 #include <assert.h>
8345 /* Override any gcc2 internal prototype to avoid an error.  */
8346 /* We use char because int might match the return type of a gcc2
8347     builtin and then its argument prototype would still apply.  */
8348 char $ac_func();
8349
8350 int main() {
8351
8352 /* The GNU C library defines this for functions which it implements
8353     to always fail with ENOSYS.  Some functions are actually named
8354     something starting with __ and the normal name is an alias.  */
8355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8356 choke me
8357 #else
8358 $ac_func();
8359 #endif
8360
8361 ; return 0; }
8362 EOF
8363 if { (eval echo configure:8364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8364   rm -rf conftest*
8365   eval "ac_cv_func_$ac_func=yes"
8366 else
8367   echo "configure: failed program was:" >&5
8368   cat conftest.$ac_ext >&5
8369   rm -rf conftest*
8370   eval "ac_cv_func_$ac_func=no"
8371 fi
8372 rm -f conftest*
8373 fi
8374
8375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8376   echo "$ac_t""yes" 1>&6
8377     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8378   cat >> confdefs.h <<EOF
8379 #define $ac_tr_func 1
8380 EOF
8381  
8382 else
8383   echo "$ac_t""no" 1>&6
8384 fi
8385 done
8386     
8387   fi
8388
8389
8390     
8391   echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8392 echo "configure:8393: checking for isnanl declaration" >&5
8393   if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8394   echo $ac_n "(cached) $ac_c" 1>&6
8395 else
8396   
8397     
8398     ac_ext=C
8399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8400 ac_cpp='$CXXCPP $CPPFLAGS'
8401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8403 cross_compiling=$ac_cv_prog_cxx_cross
8404
8405     cat > conftest.$ac_ext <<EOF
8406 #line 8407 "configure"
8407 #include "confdefs.h"
8408 #include <math.h>
8409 int main() {
8410  isnanl(0);
8411 ; return 0; }
8412 EOF
8413 if { (eval echo configure:8414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8414   rm -rf conftest*
8415   glibcpp_cv_func_isnanl_use=yes
8416 else
8417   echo "configure: failed program was:" >&5
8418   cat conftest.$ac_ext >&5
8419   rm -rf conftest*
8420   glibcpp_cv_func_isnanl_use=no
8421 fi
8422 rm -f conftest*
8423     ac_ext=c
8424 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8425 ac_cpp='$CPP $CPPFLAGS'
8426 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8427 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8428 cross_compiling=$ac_cv_prog_cc_cross
8429
8430   
8431 fi
8432
8433   echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8434   if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8435     for ac_func in isnanl
8436 do
8437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8438 echo "configure:8439: checking for $ac_func" >&5
8439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8440   echo $ac_n "(cached) $ac_c" 1>&6
8441 else
8442   cat > conftest.$ac_ext <<EOF
8443 #line 8444 "configure"
8444 #include "confdefs.h"
8445 /* System header to define __stub macros and hopefully few prototypes,
8446     which can conflict with char $ac_func(); below.  */
8447 #include <assert.h>
8448 /* Override any gcc2 internal prototype to avoid an error.  */
8449 /* We use char because int might match the return type of a gcc2
8450     builtin and then its argument prototype would still apply.  */
8451 char $ac_func();
8452
8453 int main() {
8454
8455 /* The GNU C library defines this for functions which it implements
8456     to always fail with ENOSYS.  Some functions are actually named
8457     something starting with __ and the normal name is an alias.  */
8458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8459 choke me
8460 #else
8461 $ac_func();
8462 #endif
8463
8464 ; return 0; }
8465 EOF
8466 if { (eval echo configure:8467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8467   rm -rf conftest*
8468   eval "ac_cv_func_$ac_func=yes"
8469 else
8470   echo "configure: failed program was:" >&5
8471   cat conftest.$ac_ext >&5
8472   rm -rf conftest*
8473   eval "ac_cv_func_$ac_func=no"
8474 fi
8475 rm -f conftest*
8476 fi
8477
8478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8479   echo "$ac_t""yes" 1>&6
8480     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8481   cat >> confdefs.h <<EOF
8482 #define $ac_tr_func 1
8483 EOF
8484  
8485 else
8486   echo "$ac_t""no" 1>&6
8487 fi
8488 done
8489     
8490   fi
8491
8492   
8493   echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8494 echo "configure:8495: checking for isinfl declaration" >&5
8495   if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8496   echo $ac_n "(cached) $ac_c" 1>&6
8497 else
8498   
8499     
8500     ac_ext=C
8501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8502 ac_cpp='$CXXCPP $CPPFLAGS'
8503 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8504 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8505 cross_compiling=$ac_cv_prog_cxx_cross
8506
8507     cat > conftest.$ac_ext <<EOF
8508 #line 8509 "configure"
8509 #include "confdefs.h"
8510 #include <math.h>
8511 int main() {
8512  isinfl(0);
8513 ; return 0; }
8514 EOF
8515 if { (eval echo configure:8516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8516   rm -rf conftest*
8517   glibcpp_cv_func_isinfl_use=yes
8518 else
8519   echo "configure: failed program was:" >&5
8520   cat conftest.$ac_ext >&5
8521   rm -rf conftest*
8522   glibcpp_cv_func_isinfl_use=no
8523 fi
8524 rm -f conftest*
8525     ac_ext=c
8526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8527 ac_cpp='$CPP $CPPFLAGS'
8528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8529 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8530 cross_compiling=$ac_cv_prog_cc_cross
8531
8532   
8533 fi
8534
8535   echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8536   if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8537     for ac_func in isinfl
8538 do
8539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8540 echo "configure:8541: checking for $ac_func" >&5
8541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8542   echo $ac_n "(cached) $ac_c" 1>&6
8543 else
8544   cat > conftest.$ac_ext <<EOF
8545 #line 8546 "configure"
8546 #include "confdefs.h"
8547 /* System header to define __stub macros and hopefully few prototypes,
8548     which can conflict with char $ac_func(); below.  */
8549 #include <assert.h>
8550 /* Override any gcc2 internal prototype to avoid an error.  */
8551 /* We use char because int might match the return type of a gcc2
8552     builtin and then its argument prototype would still apply.  */
8553 char $ac_func();
8554
8555 int main() {
8556
8557 /* The GNU C library defines this for functions which it implements
8558     to always fail with ENOSYS.  Some functions are actually named
8559     something starting with __ and the normal name is an alias.  */
8560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8561 choke me
8562 #else
8563 $ac_func();
8564 #endif
8565
8566 ; return 0; }
8567 EOF
8568 if { (eval echo configure:8569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8569   rm -rf conftest*
8570   eval "ac_cv_func_$ac_func=yes"
8571 else
8572   echo "configure: failed program was:" >&5
8573   cat conftest.$ac_ext >&5
8574   rm -rf conftest*
8575   eval "ac_cv_func_$ac_func=no"
8576 fi
8577 rm -f conftest*
8578 fi
8579
8580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8581   echo "$ac_t""yes" 1>&6
8582     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8583   cat >> confdefs.h <<EOF
8584 #define $ac_tr_func 1
8585 EOF
8586  
8587 else
8588   echo "$ac_t""no" 1>&6
8589 fi
8590 done
8591     
8592   fi
8593
8594   
8595   echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8596 echo "configure:8597: checking for copysignl declaration" >&5
8597   if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8598   echo $ac_n "(cached) $ac_c" 1>&6
8599 else
8600   
8601     
8602     ac_ext=C
8603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8604 ac_cpp='$CXXCPP $CPPFLAGS'
8605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8607 cross_compiling=$ac_cv_prog_cxx_cross
8608
8609     cat > conftest.$ac_ext <<EOF
8610 #line 8611 "configure"
8611 #include "confdefs.h"
8612 #include <math.h>
8613 int main() {
8614  copysignl(0, 0);
8615 ; return 0; }
8616 EOF
8617 if { (eval echo configure:8618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8618   rm -rf conftest*
8619   glibcpp_cv_func_copysignl_use=yes
8620 else
8621   echo "configure: failed program was:" >&5
8622   cat conftest.$ac_ext >&5
8623   rm -rf conftest*
8624   glibcpp_cv_func_copysignl_use=no
8625 fi
8626 rm -f conftest*
8627     ac_ext=c
8628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8629 ac_cpp='$CPP $CPPFLAGS'
8630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8632 cross_compiling=$ac_cv_prog_cc_cross
8633
8634   
8635 fi
8636
8637   echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8638   if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8639     for ac_func in copysignl
8640 do
8641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8642 echo "configure:8643: checking for $ac_func" >&5
8643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8644   echo $ac_n "(cached) $ac_c" 1>&6
8645 else
8646   cat > conftest.$ac_ext <<EOF
8647 #line 8648 "configure"
8648 #include "confdefs.h"
8649 /* System header to define __stub macros and hopefully few prototypes,
8650     which can conflict with char $ac_func(); below.  */
8651 #include <assert.h>
8652 /* Override any gcc2 internal prototype to avoid an error.  */
8653 /* We use char because int might match the return type of a gcc2
8654     builtin and then its argument prototype would still apply.  */
8655 char $ac_func();
8656
8657 int main() {
8658
8659 /* The GNU C library defines this for functions which it implements
8660     to always fail with ENOSYS.  Some functions are actually named
8661     something starting with __ and the normal name is an alias.  */
8662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8663 choke me
8664 #else
8665 $ac_func();
8666 #endif
8667
8668 ; return 0; }
8669 EOF
8670 if { (eval echo configure:8671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8671   rm -rf conftest*
8672   eval "ac_cv_func_$ac_func=yes"
8673 else
8674   echo "configure: failed program was:" >&5
8675   cat conftest.$ac_ext >&5
8676   rm -rf conftest*
8677   eval "ac_cv_func_$ac_func=no"
8678 fi
8679 rm -f conftest*
8680 fi
8681
8682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8683   echo "$ac_t""yes" 1>&6
8684     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8685   cat >> confdefs.h <<EOF
8686 #define $ac_tr_func 1
8687 EOF
8688  
8689 else
8690   echo "$ac_t""no" 1>&6
8691 fi
8692 done
8693     
8694   fi
8695
8696   
8697   echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8698 echo "configure:8699: checking for acosl declaration" >&5
8699   if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8700   echo $ac_n "(cached) $ac_c" 1>&6
8701 else
8702   
8703     
8704     ac_ext=C
8705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8706 ac_cpp='$CXXCPP $CPPFLAGS'
8707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8709 cross_compiling=$ac_cv_prog_cxx_cross
8710
8711     cat > conftest.$ac_ext <<EOF
8712 #line 8713 "configure"
8713 #include "confdefs.h"
8714 #include <math.h>
8715 int main() {
8716  acosl(0);
8717 ; return 0; }
8718 EOF
8719 if { (eval echo configure:8720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8720   rm -rf conftest*
8721   glibcpp_cv_func_acosl_use=yes
8722 else
8723   echo "configure: failed program was:" >&5
8724   cat conftest.$ac_ext >&5
8725   rm -rf conftest*
8726   glibcpp_cv_func_acosl_use=no
8727 fi
8728 rm -f conftest*
8729     ac_ext=c
8730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8731 ac_cpp='$CPP $CPPFLAGS'
8732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8734 cross_compiling=$ac_cv_prog_cc_cross
8735
8736   
8737 fi
8738
8739   echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8740   if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8741     for ac_func in acosl
8742 do
8743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8744 echo "configure:8745: checking for $ac_func" >&5
8745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8746   echo $ac_n "(cached) $ac_c" 1>&6
8747 else
8748   cat > conftest.$ac_ext <<EOF
8749 #line 8750 "configure"
8750 #include "confdefs.h"
8751 /* System header to define __stub macros and hopefully few prototypes,
8752     which can conflict with char $ac_func(); below.  */
8753 #include <assert.h>
8754 /* Override any gcc2 internal prototype to avoid an error.  */
8755 /* We use char because int might match the return type of a gcc2
8756     builtin and then its argument prototype would still apply.  */
8757 char $ac_func();
8758
8759 int main() {
8760
8761 /* The GNU C library defines this for functions which it implements
8762     to always fail with ENOSYS.  Some functions are actually named
8763     something starting with __ and the normal name is an alias.  */
8764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8765 choke me
8766 #else
8767 $ac_func();
8768 #endif
8769
8770 ; return 0; }
8771 EOF
8772 if { (eval echo configure:8773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8773   rm -rf conftest*
8774   eval "ac_cv_func_$ac_func=yes"
8775 else
8776   echo "configure: failed program was:" >&5
8777   cat conftest.$ac_ext >&5
8778   rm -rf conftest*
8779   eval "ac_cv_func_$ac_func=no"
8780 fi
8781 rm -f conftest*
8782 fi
8783
8784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8785   echo "$ac_t""yes" 1>&6
8786     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8787   cat >> confdefs.h <<EOF
8788 #define $ac_tr_func 1
8789 EOF
8790  
8791 else
8792   echo "$ac_t""no" 1>&6
8793 fi
8794 done
8795     
8796   fi
8797
8798   
8799   echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8800 echo "configure:8801: checking for asinl declaration" >&5
8801   if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8802   echo $ac_n "(cached) $ac_c" 1>&6
8803 else
8804   
8805     
8806     ac_ext=C
8807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8808 ac_cpp='$CXXCPP $CPPFLAGS'
8809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8811 cross_compiling=$ac_cv_prog_cxx_cross
8812
8813     cat > conftest.$ac_ext <<EOF
8814 #line 8815 "configure"
8815 #include "confdefs.h"
8816 #include <math.h>
8817 int main() {
8818  asinl(0);
8819 ; return 0; }
8820 EOF
8821 if { (eval echo configure:8822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8822   rm -rf conftest*
8823   glibcpp_cv_func_asinl_use=yes
8824 else
8825   echo "configure: failed program was:" >&5
8826   cat conftest.$ac_ext >&5
8827   rm -rf conftest*
8828   glibcpp_cv_func_asinl_use=no
8829 fi
8830 rm -f conftest*
8831     ac_ext=c
8832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8833 ac_cpp='$CPP $CPPFLAGS'
8834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8836 cross_compiling=$ac_cv_prog_cc_cross
8837
8838   
8839 fi
8840
8841   echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8842   if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8843     for ac_func in asinl
8844 do
8845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8846 echo "configure:8847: checking for $ac_func" >&5
8847 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8848   echo $ac_n "(cached) $ac_c" 1>&6
8849 else
8850   cat > conftest.$ac_ext <<EOF
8851 #line 8852 "configure"
8852 #include "confdefs.h"
8853 /* System header to define __stub macros and hopefully few prototypes,
8854     which can conflict with char $ac_func(); below.  */
8855 #include <assert.h>
8856 /* Override any gcc2 internal prototype to avoid an error.  */
8857 /* We use char because int might match the return type of a gcc2
8858     builtin and then its argument prototype would still apply.  */
8859 char $ac_func();
8860
8861 int main() {
8862
8863 /* The GNU C library defines this for functions which it implements
8864     to always fail with ENOSYS.  Some functions are actually named
8865     something starting with __ and the normal name is an alias.  */
8866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8867 choke me
8868 #else
8869 $ac_func();
8870 #endif
8871
8872 ; return 0; }
8873 EOF
8874 if { (eval echo configure:8875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8875   rm -rf conftest*
8876   eval "ac_cv_func_$ac_func=yes"
8877 else
8878   echo "configure: failed program was:" >&5
8879   cat conftest.$ac_ext >&5
8880   rm -rf conftest*
8881   eval "ac_cv_func_$ac_func=no"
8882 fi
8883 rm -f conftest*
8884 fi
8885
8886 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8887   echo "$ac_t""yes" 1>&6
8888     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8889   cat >> confdefs.h <<EOF
8890 #define $ac_tr_func 1
8891 EOF
8892  
8893 else
8894   echo "$ac_t""no" 1>&6
8895 fi
8896 done
8897     
8898   fi
8899
8900   
8901   echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8902 echo "configure:8903: checking for atanl declaration" >&5
8903   if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8904   echo $ac_n "(cached) $ac_c" 1>&6
8905 else
8906   
8907     
8908     ac_ext=C
8909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8910 ac_cpp='$CXXCPP $CPPFLAGS'
8911 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8912 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8913 cross_compiling=$ac_cv_prog_cxx_cross
8914
8915     cat > conftest.$ac_ext <<EOF
8916 #line 8917 "configure"
8917 #include "confdefs.h"
8918 #include <math.h>
8919 int main() {
8920  atanl(0);
8921 ; return 0; }
8922 EOF
8923 if { (eval echo configure:8924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8924   rm -rf conftest*
8925   glibcpp_cv_func_atanl_use=yes
8926 else
8927   echo "configure: failed program was:" >&5
8928   cat conftest.$ac_ext >&5
8929   rm -rf conftest*
8930   glibcpp_cv_func_atanl_use=no
8931 fi
8932 rm -f conftest*
8933     ac_ext=c
8934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8935 ac_cpp='$CPP $CPPFLAGS'
8936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8938 cross_compiling=$ac_cv_prog_cc_cross
8939
8940   
8941 fi
8942
8943   echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8944   if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8945     for ac_func in atanl
8946 do
8947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8948 echo "configure:8949: checking for $ac_func" >&5
8949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8950   echo $ac_n "(cached) $ac_c" 1>&6
8951 else
8952   cat > conftest.$ac_ext <<EOF
8953 #line 8954 "configure"
8954 #include "confdefs.h"
8955 /* System header to define __stub macros and hopefully few prototypes,
8956     which can conflict with char $ac_func(); below.  */
8957 #include <assert.h>
8958 /* Override any gcc2 internal prototype to avoid an error.  */
8959 /* We use char because int might match the return type of a gcc2
8960     builtin and then its argument prototype would still apply.  */
8961 char $ac_func();
8962
8963 int main() {
8964
8965 /* The GNU C library defines this for functions which it implements
8966     to always fail with ENOSYS.  Some functions are actually named
8967     something starting with __ and the normal name is an alias.  */
8968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8969 choke me
8970 #else
8971 $ac_func();
8972 #endif
8973
8974 ; return 0; }
8975 EOF
8976 if { (eval echo configure:8977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8977   rm -rf conftest*
8978   eval "ac_cv_func_$ac_func=yes"
8979 else
8980   echo "configure: failed program was:" >&5
8981   cat conftest.$ac_ext >&5
8982   rm -rf conftest*
8983   eval "ac_cv_func_$ac_func=no"
8984 fi
8985 rm -f conftest*
8986 fi
8987
8988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8989   echo "$ac_t""yes" 1>&6
8990     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8991   cat >> confdefs.h <<EOF
8992 #define $ac_tr_func 1
8993 EOF
8994  
8995 else
8996   echo "$ac_t""no" 1>&6
8997 fi
8998 done
8999     
9000   fi
9001
9002   
9003   echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
9004 echo "configure:9005: checking for atan2l declaration" >&5
9005   if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
9006   echo $ac_n "(cached) $ac_c" 1>&6
9007 else
9008   
9009     
9010     ac_ext=C
9011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9012 ac_cpp='$CXXCPP $CPPFLAGS'
9013 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9014 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9015 cross_compiling=$ac_cv_prog_cxx_cross
9016
9017     cat > conftest.$ac_ext <<EOF
9018 #line 9019 "configure"
9019 #include "confdefs.h"
9020 #include <math.h>
9021 int main() {
9022  atan2l(0, 0);
9023 ; return 0; }
9024 EOF
9025 if { (eval echo configure:9026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9026   rm -rf conftest*
9027   glibcpp_cv_func_atan2l_use=yes
9028 else
9029   echo "configure: failed program was:" >&5
9030   cat conftest.$ac_ext >&5
9031   rm -rf conftest*
9032   glibcpp_cv_func_atan2l_use=no
9033 fi
9034 rm -f conftest*
9035     ac_ext=c
9036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9037 ac_cpp='$CPP $CPPFLAGS'
9038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9040 cross_compiling=$ac_cv_prog_cc_cross
9041
9042   
9043 fi
9044
9045   echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
9046   if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
9047     for ac_func in atan2l
9048 do
9049 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9050 echo "configure:9051: checking for $ac_func" >&5
9051 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9052   echo $ac_n "(cached) $ac_c" 1>&6
9053 else
9054   cat > conftest.$ac_ext <<EOF
9055 #line 9056 "configure"
9056 #include "confdefs.h"
9057 /* System header to define __stub macros and hopefully few prototypes,
9058     which can conflict with char $ac_func(); below.  */
9059 #include <assert.h>
9060 /* Override any gcc2 internal prototype to avoid an error.  */
9061 /* We use char because int might match the return type of a gcc2
9062     builtin and then its argument prototype would still apply.  */
9063 char $ac_func();
9064
9065 int main() {
9066
9067 /* The GNU C library defines this for functions which it implements
9068     to always fail with ENOSYS.  Some functions are actually named
9069     something starting with __ and the normal name is an alias.  */
9070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9071 choke me
9072 #else
9073 $ac_func();
9074 #endif
9075
9076 ; return 0; }
9077 EOF
9078 if { (eval echo configure:9079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9079   rm -rf conftest*
9080   eval "ac_cv_func_$ac_func=yes"
9081 else
9082   echo "configure: failed program was:" >&5
9083   cat conftest.$ac_ext >&5
9084   rm -rf conftest*
9085   eval "ac_cv_func_$ac_func=no"
9086 fi
9087 rm -f conftest*
9088 fi
9089
9090 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9091   echo "$ac_t""yes" 1>&6
9092     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9093   cat >> confdefs.h <<EOF
9094 #define $ac_tr_func 1
9095 EOF
9096  
9097 else
9098   echo "$ac_t""no" 1>&6
9099 fi
9100 done
9101     
9102   fi
9103
9104   
9105   echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
9106 echo "configure:9107: checking for ceill declaration" >&5
9107   if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
9108   echo $ac_n "(cached) $ac_c" 1>&6
9109 else
9110   
9111     
9112     ac_ext=C
9113 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9114 ac_cpp='$CXXCPP $CPPFLAGS'
9115 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9116 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9117 cross_compiling=$ac_cv_prog_cxx_cross
9118
9119     cat > conftest.$ac_ext <<EOF
9120 #line 9121 "configure"
9121 #include "confdefs.h"
9122 #include <math.h>
9123 int main() {
9124  ceill(0);
9125 ; return 0; }
9126 EOF
9127 if { (eval echo configure:9128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9128   rm -rf conftest*
9129   glibcpp_cv_func_ceill_use=yes
9130 else
9131   echo "configure: failed program was:" >&5
9132   cat conftest.$ac_ext >&5
9133   rm -rf conftest*
9134   glibcpp_cv_func_ceill_use=no
9135 fi
9136 rm -f conftest*
9137     ac_ext=c
9138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9139 ac_cpp='$CPP $CPPFLAGS'
9140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9142 cross_compiling=$ac_cv_prog_cc_cross
9143
9144   
9145 fi
9146
9147   echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
9148   if test x$glibcpp_cv_func_ceill_use = x"yes"; then
9149     for ac_func in ceill
9150 do
9151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9152 echo "configure:9153: checking for $ac_func" >&5
9153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9154   echo $ac_n "(cached) $ac_c" 1>&6
9155 else
9156   cat > conftest.$ac_ext <<EOF
9157 #line 9158 "configure"
9158 #include "confdefs.h"
9159 /* System header to define __stub macros and hopefully few prototypes,
9160     which can conflict with char $ac_func(); below.  */
9161 #include <assert.h>
9162 /* Override any gcc2 internal prototype to avoid an error.  */
9163 /* We use char because int might match the return type of a gcc2
9164     builtin and then its argument prototype would still apply.  */
9165 char $ac_func();
9166
9167 int main() {
9168
9169 /* The GNU C library defines this for functions which it implements
9170     to always fail with ENOSYS.  Some functions are actually named
9171     something starting with __ and the normal name is an alias.  */
9172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9173 choke me
9174 #else
9175 $ac_func();
9176 #endif
9177
9178 ; return 0; }
9179 EOF
9180 if { (eval echo configure:9181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9181   rm -rf conftest*
9182   eval "ac_cv_func_$ac_func=yes"
9183 else
9184   echo "configure: failed program was:" >&5
9185   cat conftest.$ac_ext >&5
9186   rm -rf conftest*
9187   eval "ac_cv_func_$ac_func=no"
9188 fi
9189 rm -f conftest*
9190 fi
9191
9192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9193   echo "$ac_t""yes" 1>&6
9194     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9195   cat >> confdefs.h <<EOF
9196 #define $ac_tr_func 1
9197 EOF
9198  
9199 else
9200   echo "$ac_t""no" 1>&6
9201 fi
9202 done
9203     
9204   fi
9205
9206   
9207   echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
9208 echo "configure:9209: checking for cosl declaration" >&5
9209   if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
9210   echo $ac_n "(cached) $ac_c" 1>&6
9211 else
9212   
9213     
9214     ac_ext=C
9215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9216 ac_cpp='$CXXCPP $CPPFLAGS'
9217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9219 cross_compiling=$ac_cv_prog_cxx_cross
9220
9221     cat > conftest.$ac_ext <<EOF
9222 #line 9223 "configure"
9223 #include "confdefs.h"
9224 #include <math.h>
9225 int main() {
9226  cosl(0);
9227 ; return 0; }
9228 EOF
9229 if { (eval echo configure:9230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9230   rm -rf conftest*
9231   glibcpp_cv_func_cosl_use=yes
9232 else
9233   echo "configure: failed program was:" >&5
9234   cat conftest.$ac_ext >&5
9235   rm -rf conftest*
9236   glibcpp_cv_func_cosl_use=no
9237 fi
9238 rm -f conftest*
9239     ac_ext=c
9240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9241 ac_cpp='$CPP $CPPFLAGS'
9242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9244 cross_compiling=$ac_cv_prog_cc_cross
9245
9246   
9247 fi
9248
9249   echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
9250   if test x$glibcpp_cv_func_cosl_use = x"yes"; then
9251     for ac_func in cosl
9252 do
9253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9254 echo "configure:9255: checking for $ac_func" >&5
9255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9256   echo $ac_n "(cached) $ac_c" 1>&6
9257 else
9258   cat > conftest.$ac_ext <<EOF
9259 #line 9260 "configure"
9260 #include "confdefs.h"
9261 /* System header to define __stub macros and hopefully few prototypes,
9262     which can conflict with char $ac_func(); below.  */
9263 #include <assert.h>
9264 /* Override any gcc2 internal prototype to avoid an error.  */
9265 /* We use char because int might match the return type of a gcc2
9266     builtin and then its argument prototype would still apply.  */
9267 char $ac_func();
9268
9269 int main() {
9270
9271 /* The GNU C library defines this for functions which it implements
9272     to always fail with ENOSYS.  Some functions are actually named
9273     something starting with __ and the normal name is an alias.  */
9274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9275 choke me
9276 #else
9277 $ac_func();
9278 #endif
9279
9280 ; return 0; }
9281 EOF
9282 if { (eval echo configure:9283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9283   rm -rf conftest*
9284   eval "ac_cv_func_$ac_func=yes"
9285 else
9286   echo "configure: failed program was:" >&5
9287   cat conftest.$ac_ext >&5
9288   rm -rf conftest*
9289   eval "ac_cv_func_$ac_func=no"
9290 fi
9291 rm -f conftest*
9292 fi
9293
9294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9295   echo "$ac_t""yes" 1>&6
9296     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9297   cat >> confdefs.h <<EOF
9298 #define $ac_tr_func 1
9299 EOF
9300  
9301 else
9302   echo "$ac_t""no" 1>&6
9303 fi
9304 done
9305     
9306   fi
9307
9308   
9309   echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9310 echo "configure:9311: checking for coshl declaration" >&5
9311   if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9312   echo $ac_n "(cached) $ac_c" 1>&6
9313 else
9314   
9315     
9316     ac_ext=C
9317 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9318 ac_cpp='$CXXCPP $CPPFLAGS'
9319 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9320 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9321 cross_compiling=$ac_cv_prog_cxx_cross
9322
9323     cat > conftest.$ac_ext <<EOF
9324 #line 9325 "configure"
9325 #include "confdefs.h"
9326 #include <math.h>
9327 int main() {
9328  coshl(0);
9329 ; return 0; }
9330 EOF
9331 if { (eval echo configure:9332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9332   rm -rf conftest*
9333   glibcpp_cv_func_coshl_use=yes
9334 else
9335   echo "configure: failed program was:" >&5
9336   cat conftest.$ac_ext >&5
9337   rm -rf conftest*
9338   glibcpp_cv_func_coshl_use=no
9339 fi
9340 rm -f conftest*
9341     ac_ext=c
9342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9343 ac_cpp='$CPP $CPPFLAGS'
9344 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9345 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9346 cross_compiling=$ac_cv_prog_cc_cross
9347
9348   
9349 fi
9350
9351   echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9352   if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9353     for ac_func in coshl
9354 do
9355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9356 echo "configure:9357: checking for $ac_func" >&5
9357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9358   echo $ac_n "(cached) $ac_c" 1>&6
9359 else
9360   cat > conftest.$ac_ext <<EOF
9361 #line 9362 "configure"
9362 #include "confdefs.h"
9363 /* System header to define __stub macros and hopefully few prototypes,
9364     which can conflict with char $ac_func(); below.  */
9365 #include <assert.h>
9366 /* Override any gcc2 internal prototype to avoid an error.  */
9367 /* We use char because int might match the return type of a gcc2
9368     builtin and then its argument prototype would still apply.  */
9369 char $ac_func();
9370
9371 int main() {
9372
9373 /* The GNU C library defines this for functions which it implements
9374     to always fail with ENOSYS.  Some functions are actually named
9375     something starting with __ and the normal name is an alias.  */
9376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9377 choke me
9378 #else
9379 $ac_func();
9380 #endif
9381
9382 ; return 0; }
9383 EOF
9384 if { (eval echo configure:9385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9385   rm -rf conftest*
9386   eval "ac_cv_func_$ac_func=yes"
9387 else
9388   echo "configure: failed program was:" >&5
9389   cat conftest.$ac_ext >&5
9390   rm -rf conftest*
9391   eval "ac_cv_func_$ac_func=no"
9392 fi
9393 rm -f conftest*
9394 fi
9395
9396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9397   echo "$ac_t""yes" 1>&6
9398     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9399   cat >> confdefs.h <<EOF
9400 #define $ac_tr_func 1
9401 EOF
9402  
9403 else
9404   echo "$ac_t""no" 1>&6
9405 fi
9406 done
9407     
9408   fi
9409
9410   
9411   echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9412 echo "configure:9413: checking for expl declaration" >&5
9413   if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9414   echo $ac_n "(cached) $ac_c" 1>&6
9415 else
9416   
9417     
9418     ac_ext=C
9419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9420 ac_cpp='$CXXCPP $CPPFLAGS'
9421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9423 cross_compiling=$ac_cv_prog_cxx_cross
9424
9425     cat > conftest.$ac_ext <<EOF
9426 #line 9427 "configure"
9427 #include "confdefs.h"
9428 #include <math.h>
9429 int main() {
9430  expl(0);
9431 ; return 0; }
9432 EOF
9433 if { (eval echo configure:9434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9434   rm -rf conftest*
9435   glibcpp_cv_func_expl_use=yes
9436 else
9437   echo "configure: failed program was:" >&5
9438   cat conftest.$ac_ext >&5
9439   rm -rf conftest*
9440   glibcpp_cv_func_expl_use=no
9441 fi
9442 rm -f conftest*
9443     ac_ext=c
9444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9445 ac_cpp='$CPP $CPPFLAGS'
9446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9448 cross_compiling=$ac_cv_prog_cc_cross
9449
9450   
9451 fi
9452
9453   echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9454   if test x$glibcpp_cv_func_expl_use = x"yes"; then
9455     for ac_func in expl
9456 do
9457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9458 echo "configure:9459: checking for $ac_func" >&5
9459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9460   echo $ac_n "(cached) $ac_c" 1>&6
9461 else
9462   cat > conftest.$ac_ext <<EOF
9463 #line 9464 "configure"
9464 #include "confdefs.h"
9465 /* System header to define __stub macros and hopefully few prototypes,
9466     which can conflict with char $ac_func(); below.  */
9467 #include <assert.h>
9468 /* Override any gcc2 internal prototype to avoid an error.  */
9469 /* We use char because int might match the return type of a gcc2
9470     builtin and then its argument prototype would still apply.  */
9471 char $ac_func();
9472
9473 int main() {
9474
9475 /* The GNU C library defines this for functions which it implements
9476     to always fail with ENOSYS.  Some functions are actually named
9477     something starting with __ and the normal name is an alias.  */
9478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9479 choke me
9480 #else
9481 $ac_func();
9482 #endif
9483
9484 ; return 0; }
9485 EOF
9486 if { (eval echo configure:9487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9487   rm -rf conftest*
9488   eval "ac_cv_func_$ac_func=yes"
9489 else
9490   echo "configure: failed program was:" >&5
9491   cat conftest.$ac_ext >&5
9492   rm -rf conftest*
9493   eval "ac_cv_func_$ac_func=no"
9494 fi
9495 rm -f conftest*
9496 fi
9497
9498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9499   echo "$ac_t""yes" 1>&6
9500     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9501   cat >> confdefs.h <<EOF
9502 #define $ac_tr_func 1
9503 EOF
9504  
9505 else
9506   echo "$ac_t""no" 1>&6
9507 fi
9508 done
9509     
9510   fi
9511
9512   
9513   echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9514 echo "configure:9515: checking for fabsl declaration" >&5
9515   if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9516   echo $ac_n "(cached) $ac_c" 1>&6
9517 else
9518   
9519     
9520     ac_ext=C
9521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9522 ac_cpp='$CXXCPP $CPPFLAGS'
9523 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9524 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9525 cross_compiling=$ac_cv_prog_cxx_cross
9526
9527     cat > conftest.$ac_ext <<EOF
9528 #line 9529 "configure"
9529 #include "confdefs.h"
9530 #include <math.h>
9531 int main() {
9532  fabsl(0);
9533 ; return 0; }
9534 EOF
9535 if { (eval echo configure:9536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9536   rm -rf conftest*
9537   glibcpp_cv_func_fabsl_use=yes
9538 else
9539   echo "configure: failed program was:" >&5
9540   cat conftest.$ac_ext >&5
9541   rm -rf conftest*
9542   glibcpp_cv_func_fabsl_use=no
9543 fi
9544 rm -f conftest*
9545     ac_ext=c
9546 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9547 ac_cpp='$CPP $CPPFLAGS'
9548 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9549 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9550 cross_compiling=$ac_cv_prog_cc_cross
9551
9552   
9553 fi
9554
9555   echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9556   if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9557     for ac_func in fabsl
9558 do
9559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9560 echo "configure:9561: checking for $ac_func" >&5
9561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9562   echo $ac_n "(cached) $ac_c" 1>&6
9563 else
9564   cat > conftest.$ac_ext <<EOF
9565 #line 9566 "configure"
9566 #include "confdefs.h"
9567 /* System header to define __stub macros and hopefully few prototypes,
9568     which can conflict with char $ac_func(); below.  */
9569 #include <assert.h>
9570 /* Override any gcc2 internal prototype to avoid an error.  */
9571 /* We use char because int might match the return type of a gcc2
9572     builtin and then its argument prototype would still apply.  */
9573 char $ac_func();
9574
9575 int main() {
9576
9577 /* The GNU C library defines this for functions which it implements
9578     to always fail with ENOSYS.  Some functions are actually named
9579     something starting with __ and the normal name is an alias.  */
9580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9581 choke me
9582 #else
9583 $ac_func();
9584 #endif
9585
9586 ; return 0; }
9587 EOF
9588 if { (eval echo configure:9589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9589   rm -rf conftest*
9590   eval "ac_cv_func_$ac_func=yes"
9591 else
9592   echo "configure: failed program was:" >&5
9593   cat conftest.$ac_ext >&5
9594   rm -rf conftest*
9595   eval "ac_cv_func_$ac_func=no"
9596 fi
9597 rm -f conftest*
9598 fi
9599
9600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9601   echo "$ac_t""yes" 1>&6
9602     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9603   cat >> confdefs.h <<EOF
9604 #define $ac_tr_func 1
9605 EOF
9606  
9607 else
9608   echo "$ac_t""no" 1>&6
9609 fi
9610 done
9611     
9612   fi
9613
9614   
9615   echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9616 echo "configure:9617: checking for floorl declaration" >&5
9617   if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9618   echo $ac_n "(cached) $ac_c" 1>&6
9619 else
9620   
9621     
9622     ac_ext=C
9623 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9624 ac_cpp='$CXXCPP $CPPFLAGS'
9625 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9626 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9627 cross_compiling=$ac_cv_prog_cxx_cross
9628
9629     cat > conftest.$ac_ext <<EOF
9630 #line 9631 "configure"
9631 #include "confdefs.h"
9632 #include <math.h>
9633 int main() {
9634  floorl(0);
9635 ; return 0; }
9636 EOF
9637 if { (eval echo configure:9638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9638   rm -rf conftest*
9639   glibcpp_cv_func_floorl_use=yes
9640 else
9641   echo "configure: failed program was:" >&5
9642   cat conftest.$ac_ext >&5
9643   rm -rf conftest*
9644   glibcpp_cv_func_floorl_use=no
9645 fi
9646 rm -f conftest*
9647     ac_ext=c
9648 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9649 ac_cpp='$CPP $CPPFLAGS'
9650 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9651 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9652 cross_compiling=$ac_cv_prog_cc_cross
9653
9654   
9655 fi
9656
9657   echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9658   if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9659     for ac_func in floorl
9660 do
9661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9662 echo "configure:9663: checking for $ac_func" >&5
9663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9664   echo $ac_n "(cached) $ac_c" 1>&6
9665 else
9666   cat > conftest.$ac_ext <<EOF
9667 #line 9668 "configure"
9668 #include "confdefs.h"
9669 /* System header to define __stub macros and hopefully few prototypes,
9670     which can conflict with char $ac_func(); below.  */
9671 #include <assert.h>
9672 /* Override any gcc2 internal prototype to avoid an error.  */
9673 /* We use char because int might match the return type of a gcc2
9674     builtin and then its argument prototype would still apply.  */
9675 char $ac_func();
9676
9677 int main() {
9678
9679 /* The GNU C library defines this for functions which it implements
9680     to always fail with ENOSYS.  Some functions are actually named
9681     something starting with __ and the normal name is an alias.  */
9682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9683 choke me
9684 #else
9685 $ac_func();
9686 #endif
9687
9688 ; return 0; }
9689 EOF
9690 if { (eval echo configure:9691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9691   rm -rf conftest*
9692   eval "ac_cv_func_$ac_func=yes"
9693 else
9694   echo "configure: failed program was:" >&5
9695   cat conftest.$ac_ext >&5
9696   rm -rf conftest*
9697   eval "ac_cv_func_$ac_func=no"
9698 fi
9699 rm -f conftest*
9700 fi
9701
9702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9703   echo "$ac_t""yes" 1>&6
9704     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9705   cat >> confdefs.h <<EOF
9706 #define $ac_tr_func 1
9707 EOF
9708  
9709 else
9710   echo "$ac_t""no" 1>&6
9711 fi
9712 done
9713     
9714   fi
9715
9716   
9717   echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9718 echo "configure:9719: checking for fmodl declaration" >&5
9719   if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9720   echo $ac_n "(cached) $ac_c" 1>&6
9721 else
9722   
9723     
9724     ac_ext=C
9725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9726 ac_cpp='$CXXCPP $CPPFLAGS'
9727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9729 cross_compiling=$ac_cv_prog_cxx_cross
9730
9731     cat > conftest.$ac_ext <<EOF
9732 #line 9733 "configure"
9733 #include "confdefs.h"
9734 #include <math.h>
9735 int main() {
9736  fmodl(0, 0);
9737 ; return 0; }
9738 EOF
9739 if { (eval echo configure:9740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9740   rm -rf conftest*
9741   glibcpp_cv_func_fmodl_use=yes
9742 else
9743   echo "configure: failed program was:" >&5
9744   cat conftest.$ac_ext >&5
9745   rm -rf conftest*
9746   glibcpp_cv_func_fmodl_use=no
9747 fi
9748 rm -f conftest*
9749     ac_ext=c
9750 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9751 ac_cpp='$CPP $CPPFLAGS'
9752 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9753 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9754 cross_compiling=$ac_cv_prog_cc_cross
9755
9756   
9757 fi
9758
9759   echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9760   if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9761     for ac_func in fmodl
9762 do
9763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9764 echo "configure:9765: checking for $ac_func" >&5
9765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9766   echo $ac_n "(cached) $ac_c" 1>&6
9767 else
9768   cat > conftest.$ac_ext <<EOF
9769 #line 9770 "configure"
9770 #include "confdefs.h"
9771 /* System header to define __stub macros and hopefully few prototypes,
9772     which can conflict with char $ac_func(); below.  */
9773 #include <assert.h>
9774 /* Override any gcc2 internal prototype to avoid an error.  */
9775 /* We use char because int might match the return type of a gcc2
9776     builtin and then its argument prototype would still apply.  */
9777 char $ac_func();
9778
9779 int main() {
9780
9781 /* The GNU C library defines this for functions which it implements
9782     to always fail with ENOSYS.  Some functions are actually named
9783     something starting with __ and the normal name is an alias.  */
9784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9785 choke me
9786 #else
9787 $ac_func();
9788 #endif
9789
9790 ; return 0; }
9791 EOF
9792 if { (eval echo configure:9793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9793   rm -rf conftest*
9794   eval "ac_cv_func_$ac_func=yes"
9795 else
9796   echo "configure: failed program was:" >&5
9797   cat conftest.$ac_ext >&5
9798   rm -rf conftest*
9799   eval "ac_cv_func_$ac_func=no"
9800 fi
9801 rm -f conftest*
9802 fi
9803
9804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9805   echo "$ac_t""yes" 1>&6
9806     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9807   cat >> confdefs.h <<EOF
9808 #define $ac_tr_func 1
9809 EOF
9810  
9811 else
9812   echo "$ac_t""no" 1>&6
9813 fi
9814 done
9815     
9816   fi
9817
9818   
9819   echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9820 echo "configure:9821: checking for frexpl declaration" >&5
9821   if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9822   echo $ac_n "(cached) $ac_c" 1>&6
9823 else
9824   
9825     
9826     ac_ext=C
9827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9828 ac_cpp='$CXXCPP $CPPFLAGS'
9829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9831 cross_compiling=$ac_cv_prog_cxx_cross
9832
9833     cat > conftest.$ac_ext <<EOF
9834 #line 9835 "configure"
9835 #include "confdefs.h"
9836 #include <math.h>
9837 int main() {
9838  frexpl(0, 0);
9839 ; return 0; }
9840 EOF
9841 if { (eval echo configure:9842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9842   rm -rf conftest*
9843   glibcpp_cv_func_frexpl_use=yes
9844 else
9845   echo "configure: failed program was:" >&5
9846   cat conftest.$ac_ext >&5
9847   rm -rf conftest*
9848   glibcpp_cv_func_frexpl_use=no
9849 fi
9850 rm -f conftest*
9851     ac_ext=c
9852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9853 ac_cpp='$CPP $CPPFLAGS'
9854 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9855 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9856 cross_compiling=$ac_cv_prog_cc_cross
9857
9858   
9859 fi
9860
9861   echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9862   if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9863     for ac_func in frexpl
9864 do
9865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9866 echo "configure:9867: checking for $ac_func" >&5
9867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9868   echo $ac_n "(cached) $ac_c" 1>&6
9869 else
9870   cat > conftest.$ac_ext <<EOF
9871 #line 9872 "configure"
9872 #include "confdefs.h"
9873 /* System header to define __stub macros and hopefully few prototypes,
9874     which can conflict with char $ac_func(); below.  */
9875 #include <assert.h>
9876 /* Override any gcc2 internal prototype to avoid an error.  */
9877 /* We use char because int might match the return type of a gcc2
9878     builtin and then its argument prototype would still apply.  */
9879 char $ac_func();
9880
9881 int main() {
9882
9883 /* The GNU C library defines this for functions which it implements
9884     to always fail with ENOSYS.  Some functions are actually named
9885     something starting with __ and the normal name is an alias.  */
9886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9887 choke me
9888 #else
9889 $ac_func();
9890 #endif
9891
9892 ; return 0; }
9893 EOF
9894 if { (eval echo configure:9895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9895   rm -rf conftest*
9896   eval "ac_cv_func_$ac_func=yes"
9897 else
9898   echo "configure: failed program was:" >&5
9899   cat conftest.$ac_ext >&5
9900   rm -rf conftest*
9901   eval "ac_cv_func_$ac_func=no"
9902 fi
9903 rm -f conftest*
9904 fi
9905
9906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9907   echo "$ac_t""yes" 1>&6
9908     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9909   cat >> confdefs.h <<EOF
9910 #define $ac_tr_func 1
9911 EOF
9912  
9913 else
9914   echo "$ac_t""no" 1>&6
9915 fi
9916 done
9917     
9918   fi
9919
9920   
9921   echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9922 echo "configure:9923: checking for ldexpl declaration" >&5
9923   if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9924   echo $ac_n "(cached) $ac_c" 1>&6
9925 else
9926   
9927     
9928     ac_ext=C
9929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9930 ac_cpp='$CXXCPP $CPPFLAGS'
9931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9933 cross_compiling=$ac_cv_prog_cxx_cross
9934
9935     cat > conftest.$ac_ext <<EOF
9936 #line 9937 "configure"
9937 #include "confdefs.h"
9938 #include <math.h>
9939 int main() {
9940  ldexpl(0, 0);
9941 ; return 0; }
9942 EOF
9943 if { (eval echo configure:9944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9944   rm -rf conftest*
9945   glibcpp_cv_func_ldexpl_use=yes
9946 else
9947   echo "configure: failed program was:" >&5
9948   cat conftest.$ac_ext >&5
9949   rm -rf conftest*
9950   glibcpp_cv_func_ldexpl_use=no
9951 fi
9952 rm -f conftest*
9953     ac_ext=c
9954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9955 ac_cpp='$CPP $CPPFLAGS'
9956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9958 cross_compiling=$ac_cv_prog_cc_cross
9959
9960   
9961 fi
9962
9963   echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9964   if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9965     for ac_func in ldexpl
9966 do
9967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9968 echo "configure:9969: checking for $ac_func" >&5
9969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9970   echo $ac_n "(cached) $ac_c" 1>&6
9971 else
9972   cat > conftest.$ac_ext <<EOF
9973 #line 9974 "configure"
9974 #include "confdefs.h"
9975 /* System header to define __stub macros and hopefully few prototypes,
9976     which can conflict with char $ac_func(); below.  */
9977 #include <assert.h>
9978 /* Override any gcc2 internal prototype to avoid an error.  */
9979 /* We use char because int might match the return type of a gcc2
9980     builtin and then its argument prototype would still apply.  */
9981 char $ac_func();
9982
9983 int main() {
9984
9985 /* The GNU C library defines this for functions which it implements
9986     to always fail with ENOSYS.  Some functions are actually named
9987     something starting with __ and the normal name is an alias.  */
9988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9989 choke me
9990 #else
9991 $ac_func();
9992 #endif
9993
9994 ; return 0; }
9995 EOF
9996 if { (eval echo configure:9997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9997   rm -rf conftest*
9998   eval "ac_cv_func_$ac_func=yes"
9999 else
10000   echo "configure: failed program was:" >&5
10001   cat conftest.$ac_ext >&5
10002   rm -rf conftest*
10003   eval "ac_cv_func_$ac_func=no"
10004 fi
10005 rm -f conftest*
10006 fi
10007
10008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10009   echo "$ac_t""yes" 1>&6
10010     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10011   cat >> confdefs.h <<EOF
10012 #define $ac_tr_func 1
10013 EOF
10014  
10015 else
10016   echo "$ac_t""no" 1>&6
10017 fi
10018 done
10019     
10020   fi
10021
10022   
10023   echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
10024 echo "configure:10025: checking for logl declaration" >&5
10025   if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
10026   echo $ac_n "(cached) $ac_c" 1>&6
10027 else
10028   
10029     
10030     ac_ext=C
10031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10032 ac_cpp='$CXXCPP $CPPFLAGS'
10033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10035 cross_compiling=$ac_cv_prog_cxx_cross
10036
10037     cat > conftest.$ac_ext <<EOF
10038 #line 10039 "configure"
10039 #include "confdefs.h"
10040 #include <math.h>
10041 int main() {
10042  logl(0);
10043 ; return 0; }
10044 EOF
10045 if { (eval echo configure:10046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10046   rm -rf conftest*
10047   glibcpp_cv_func_logl_use=yes
10048 else
10049   echo "configure: failed program was:" >&5
10050   cat conftest.$ac_ext >&5
10051   rm -rf conftest*
10052   glibcpp_cv_func_logl_use=no
10053 fi
10054 rm -f conftest*
10055     ac_ext=c
10056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10057 ac_cpp='$CPP $CPPFLAGS'
10058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10060 cross_compiling=$ac_cv_prog_cc_cross
10061
10062   
10063 fi
10064
10065   echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
10066   if test x$glibcpp_cv_func_logl_use = x"yes"; then
10067     for ac_func in logl
10068 do
10069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10070 echo "configure:10071: checking for $ac_func" >&5
10071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10072   echo $ac_n "(cached) $ac_c" 1>&6
10073 else
10074   cat > conftest.$ac_ext <<EOF
10075 #line 10076 "configure"
10076 #include "confdefs.h"
10077 /* System header to define __stub macros and hopefully few prototypes,
10078     which can conflict with char $ac_func(); below.  */
10079 #include <assert.h>
10080 /* Override any gcc2 internal prototype to avoid an error.  */
10081 /* We use char because int might match the return type of a gcc2
10082     builtin and then its argument prototype would still apply.  */
10083 char $ac_func();
10084
10085 int main() {
10086
10087 /* The GNU C library defines this for functions which it implements
10088     to always fail with ENOSYS.  Some functions are actually named
10089     something starting with __ and the normal name is an alias.  */
10090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10091 choke me
10092 #else
10093 $ac_func();
10094 #endif
10095
10096 ; return 0; }
10097 EOF
10098 if { (eval echo configure:10099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10099   rm -rf conftest*
10100   eval "ac_cv_func_$ac_func=yes"
10101 else
10102   echo "configure: failed program was:" >&5
10103   cat conftest.$ac_ext >&5
10104   rm -rf conftest*
10105   eval "ac_cv_func_$ac_func=no"
10106 fi
10107 rm -f conftest*
10108 fi
10109
10110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10111   echo "$ac_t""yes" 1>&6
10112     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10113   cat >> confdefs.h <<EOF
10114 #define $ac_tr_func 1
10115 EOF
10116  
10117 else
10118   echo "$ac_t""no" 1>&6
10119 fi
10120 done
10121     
10122   fi
10123
10124   
10125   echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
10126 echo "configure:10127: checking for log10l declaration" >&5
10127   if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
10128   echo $ac_n "(cached) $ac_c" 1>&6
10129 else
10130   
10131     
10132     ac_ext=C
10133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10134 ac_cpp='$CXXCPP $CPPFLAGS'
10135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10137 cross_compiling=$ac_cv_prog_cxx_cross
10138
10139     cat > conftest.$ac_ext <<EOF
10140 #line 10141 "configure"
10141 #include "confdefs.h"
10142 #include <math.h>
10143 int main() {
10144  log10l(0);
10145 ; return 0; }
10146 EOF
10147 if { (eval echo configure:10148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10148   rm -rf conftest*
10149   glibcpp_cv_func_log10l_use=yes
10150 else
10151   echo "configure: failed program was:" >&5
10152   cat conftest.$ac_ext >&5
10153   rm -rf conftest*
10154   glibcpp_cv_func_log10l_use=no
10155 fi
10156 rm -f conftest*
10157     ac_ext=c
10158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10159 ac_cpp='$CPP $CPPFLAGS'
10160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10162 cross_compiling=$ac_cv_prog_cc_cross
10163
10164   
10165 fi
10166
10167   echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
10168   if test x$glibcpp_cv_func_log10l_use = x"yes"; then
10169     for ac_func in log10l
10170 do
10171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10172 echo "configure:10173: checking for $ac_func" >&5
10173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10174   echo $ac_n "(cached) $ac_c" 1>&6
10175 else
10176   cat > conftest.$ac_ext <<EOF
10177 #line 10178 "configure"
10178 #include "confdefs.h"
10179 /* System header to define __stub macros and hopefully few prototypes,
10180     which can conflict with char $ac_func(); below.  */
10181 #include <assert.h>
10182 /* Override any gcc2 internal prototype to avoid an error.  */
10183 /* We use char because int might match the return type of a gcc2
10184     builtin and then its argument prototype would still apply.  */
10185 char $ac_func();
10186
10187 int main() {
10188
10189 /* The GNU C library defines this for functions which it implements
10190     to always fail with ENOSYS.  Some functions are actually named
10191     something starting with __ and the normal name is an alias.  */
10192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10193 choke me
10194 #else
10195 $ac_func();
10196 #endif
10197
10198 ; return 0; }
10199 EOF
10200 if { (eval echo configure:10201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10201   rm -rf conftest*
10202   eval "ac_cv_func_$ac_func=yes"
10203 else
10204   echo "configure: failed program was:" >&5
10205   cat conftest.$ac_ext >&5
10206   rm -rf conftest*
10207   eval "ac_cv_func_$ac_func=no"
10208 fi
10209 rm -f conftest*
10210 fi
10211
10212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10213   echo "$ac_t""yes" 1>&6
10214     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10215   cat >> confdefs.h <<EOF
10216 #define $ac_tr_func 1
10217 EOF
10218  
10219 else
10220   echo "$ac_t""no" 1>&6
10221 fi
10222 done
10223     
10224   fi
10225
10226   
10227   echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
10228 echo "configure:10229: checking for modfl declaration" >&5
10229   if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
10230   echo $ac_n "(cached) $ac_c" 1>&6
10231 else
10232   
10233     
10234     ac_ext=C
10235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10236 ac_cpp='$CXXCPP $CPPFLAGS'
10237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10239 cross_compiling=$ac_cv_prog_cxx_cross
10240
10241     cat > conftest.$ac_ext <<EOF
10242 #line 10243 "configure"
10243 #include "confdefs.h"
10244 #include <math.h>
10245 int main() {
10246  modfl(0, 0);
10247 ; return 0; }
10248 EOF
10249 if { (eval echo configure:10250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10250   rm -rf conftest*
10251   glibcpp_cv_func_modfl_use=yes
10252 else
10253   echo "configure: failed program was:" >&5
10254   cat conftest.$ac_ext >&5
10255   rm -rf conftest*
10256   glibcpp_cv_func_modfl_use=no
10257 fi
10258 rm -f conftest*
10259     ac_ext=c
10260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10261 ac_cpp='$CPP $CPPFLAGS'
10262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10264 cross_compiling=$ac_cv_prog_cc_cross
10265
10266   
10267 fi
10268
10269   echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
10270   if test x$glibcpp_cv_func_modfl_use = x"yes"; then
10271     for ac_func in modfl
10272 do
10273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10274 echo "configure:10275: checking for $ac_func" >&5
10275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10276   echo $ac_n "(cached) $ac_c" 1>&6
10277 else
10278   cat > conftest.$ac_ext <<EOF
10279 #line 10280 "configure"
10280 #include "confdefs.h"
10281 /* System header to define __stub macros and hopefully few prototypes,
10282     which can conflict with char $ac_func(); below.  */
10283 #include <assert.h>
10284 /* Override any gcc2 internal prototype to avoid an error.  */
10285 /* We use char because int might match the return type of a gcc2
10286     builtin and then its argument prototype would still apply.  */
10287 char $ac_func();
10288
10289 int main() {
10290
10291 /* The GNU C library defines this for functions which it implements
10292     to always fail with ENOSYS.  Some functions are actually named
10293     something starting with __ and the normal name is an alias.  */
10294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10295 choke me
10296 #else
10297 $ac_func();
10298 #endif
10299
10300 ; return 0; }
10301 EOF
10302 if { (eval echo configure:10303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10303   rm -rf conftest*
10304   eval "ac_cv_func_$ac_func=yes"
10305 else
10306   echo "configure: failed program was:" >&5
10307   cat conftest.$ac_ext >&5
10308   rm -rf conftest*
10309   eval "ac_cv_func_$ac_func=no"
10310 fi
10311 rm -f conftest*
10312 fi
10313
10314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10315   echo "$ac_t""yes" 1>&6
10316     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10317   cat >> confdefs.h <<EOF
10318 #define $ac_tr_func 1
10319 EOF
10320  
10321 else
10322   echo "$ac_t""no" 1>&6
10323 fi
10324 done
10325     
10326   fi
10327
10328   
10329   echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10330 echo "configure:10331: checking for powl declaration" >&5
10331   if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10332   echo $ac_n "(cached) $ac_c" 1>&6
10333 else
10334   
10335     
10336     ac_ext=C
10337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10338 ac_cpp='$CXXCPP $CPPFLAGS'
10339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10341 cross_compiling=$ac_cv_prog_cxx_cross
10342
10343     cat > conftest.$ac_ext <<EOF
10344 #line 10345 "configure"
10345 #include "confdefs.h"
10346 #include <math.h>
10347 int main() {
10348  powl(0, 0);
10349 ; return 0; }
10350 EOF
10351 if { (eval echo configure:10352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10352   rm -rf conftest*
10353   glibcpp_cv_func_powl_use=yes
10354 else
10355   echo "configure: failed program was:" >&5
10356   cat conftest.$ac_ext >&5
10357   rm -rf conftest*
10358   glibcpp_cv_func_powl_use=no
10359 fi
10360 rm -f conftest*
10361     ac_ext=c
10362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10363 ac_cpp='$CPP $CPPFLAGS'
10364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10366 cross_compiling=$ac_cv_prog_cc_cross
10367
10368   
10369 fi
10370
10371   echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10372   if test x$glibcpp_cv_func_powl_use = x"yes"; then
10373     for ac_func in powl
10374 do
10375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10376 echo "configure:10377: checking for $ac_func" >&5
10377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10378   echo $ac_n "(cached) $ac_c" 1>&6
10379 else
10380   cat > conftest.$ac_ext <<EOF
10381 #line 10382 "configure"
10382 #include "confdefs.h"
10383 /* System header to define __stub macros and hopefully few prototypes,
10384     which can conflict with char $ac_func(); below.  */
10385 #include <assert.h>
10386 /* Override any gcc2 internal prototype to avoid an error.  */
10387 /* We use char because int might match the return type of a gcc2
10388     builtin and then its argument prototype would still apply.  */
10389 char $ac_func();
10390
10391 int main() {
10392
10393 /* The GNU C library defines this for functions which it implements
10394     to always fail with ENOSYS.  Some functions are actually named
10395     something starting with __ and the normal name is an alias.  */
10396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10397 choke me
10398 #else
10399 $ac_func();
10400 #endif
10401
10402 ; return 0; }
10403 EOF
10404 if { (eval echo configure:10405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10405   rm -rf conftest*
10406   eval "ac_cv_func_$ac_func=yes"
10407 else
10408   echo "configure: failed program was:" >&5
10409   cat conftest.$ac_ext >&5
10410   rm -rf conftest*
10411   eval "ac_cv_func_$ac_func=no"
10412 fi
10413 rm -f conftest*
10414 fi
10415
10416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10417   echo "$ac_t""yes" 1>&6
10418     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10419   cat >> confdefs.h <<EOF
10420 #define $ac_tr_func 1
10421 EOF
10422  
10423 else
10424   echo "$ac_t""no" 1>&6
10425 fi
10426 done
10427     
10428   fi
10429
10430   
10431   echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10432 echo "configure:10433: checking for sinl declaration" >&5
10433   if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10434   echo $ac_n "(cached) $ac_c" 1>&6
10435 else
10436   
10437     
10438     ac_ext=C
10439 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10440 ac_cpp='$CXXCPP $CPPFLAGS'
10441 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10442 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10443 cross_compiling=$ac_cv_prog_cxx_cross
10444
10445     cat > conftest.$ac_ext <<EOF
10446 #line 10447 "configure"
10447 #include "confdefs.h"
10448 #include <math.h>
10449 int main() {
10450  sinl(0);
10451 ; return 0; }
10452 EOF
10453 if { (eval echo configure:10454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10454   rm -rf conftest*
10455   glibcpp_cv_func_sinl_use=yes
10456 else
10457   echo "configure: failed program was:" >&5
10458   cat conftest.$ac_ext >&5
10459   rm -rf conftest*
10460   glibcpp_cv_func_sinl_use=no
10461 fi
10462 rm -f conftest*
10463     ac_ext=c
10464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10465 ac_cpp='$CPP $CPPFLAGS'
10466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10468 cross_compiling=$ac_cv_prog_cc_cross
10469
10470   
10471 fi
10472
10473   echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10474   if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10475     for ac_func in sinl
10476 do
10477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10478 echo "configure:10479: checking for $ac_func" >&5
10479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10480   echo $ac_n "(cached) $ac_c" 1>&6
10481 else
10482   cat > conftest.$ac_ext <<EOF
10483 #line 10484 "configure"
10484 #include "confdefs.h"
10485 /* System header to define __stub macros and hopefully few prototypes,
10486     which can conflict with char $ac_func(); below.  */
10487 #include <assert.h>
10488 /* Override any gcc2 internal prototype to avoid an error.  */
10489 /* We use char because int might match the return type of a gcc2
10490     builtin and then its argument prototype would still apply.  */
10491 char $ac_func();
10492
10493 int main() {
10494
10495 /* The GNU C library defines this for functions which it implements
10496     to always fail with ENOSYS.  Some functions are actually named
10497     something starting with __ and the normal name is an alias.  */
10498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10499 choke me
10500 #else
10501 $ac_func();
10502 #endif
10503
10504 ; return 0; }
10505 EOF
10506 if { (eval echo configure:10507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10507   rm -rf conftest*
10508   eval "ac_cv_func_$ac_func=yes"
10509 else
10510   echo "configure: failed program was:" >&5
10511   cat conftest.$ac_ext >&5
10512   rm -rf conftest*
10513   eval "ac_cv_func_$ac_func=no"
10514 fi
10515 rm -f conftest*
10516 fi
10517
10518 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10519   echo "$ac_t""yes" 1>&6
10520     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10521   cat >> confdefs.h <<EOF
10522 #define $ac_tr_func 1
10523 EOF
10524  
10525 else
10526   echo "$ac_t""no" 1>&6
10527 fi
10528 done
10529     
10530   fi
10531
10532   
10533   echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10534 echo "configure:10535: checking for sinhl declaration" >&5
10535   if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10536   echo $ac_n "(cached) $ac_c" 1>&6
10537 else
10538   
10539     
10540     ac_ext=C
10541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10542 ac_cpp='$CXXCPP $CPPFLAGS'
10543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10545 cross_compiling=$ac_cv_prog_cxx_cross
10546
10547     cat > conftest.$ac_ext <<EOF
10548 #line 10549 "configure"
10549 #include "confdefs.h"
10550 #include <math.h>
10551 int main() {
10552  sinhl(0);
10553 ; return 0; }
10554 EOF
10555 if { (eval echo configure:10556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10556   rm -rf conftest*
10557   glibcpp_cv_func_sinhl_use=yes
10558 else
10559   echo "configure: failed program was:" >&5
10560   cat conftest.$ac_ext >&5
10561   rm -rf conftest*
10562   glibcpp_cv_func_sinhl_use=no
10563 fi
10564 rm -f conftest*
10565     ac_ext=c
10566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10567 ac_cpp='$CPP $CPPFLAGS'
10568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10570 cross_compiling=$ac_cv_prog_cc_cross
10571
10572   
10573 fi
10574
10575   echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10576   if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10577     for ac_func in sinhl
10578 do
10579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10580 echo "configure:10581: checking for $ac_func" >&5
10581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10582   echo $ac_n "(cached) $ac_c" 1>&6
10583 else
10584   cat > conftest.$ac_ext <<EOF
10585 #line 10586 "configure"
10586 #include "confdefs.h"
10587 /* System header to define __stub macros and hopefully few prototypes,
10588     which can conflict with char $ac_func(); below.  */
10589 #include <assert.h>
10590 /* Override any gcc2 internal prototype to avoid an error.  */
10591 /* We use char because int might match the return type of a gcc2
10592     builtin and then its argument prototype would still apply.  */
10593 char $ac_func();
10594
10595 int main() {
10596
10597 /* The GNU C library defines this for functions which it implements
10598     to always fail with ENOSYS.  Some functions are actually named
10599     something starting with __ and the normal name is an alias.  */
10600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10601 choke me
10602 #else
10603 $ac_func();
10604 #endif
10605
10606 ; return 0; }
10607 EOF
10608 if { (eval echo configure:10609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10609   rm -rf conftest*
10610   eval "ac_cv_func_$ac_func=yes"
10611 else
10612   echo "configure: failed program was:" >&5
10613   cat conftest.$ac_ext >&5
10614   rm -rf conftest*
10615   eval "ac_cv_func_$ac_func=no"
10616 fi
10617 rm -f conftest*
10618 fi
10619
10620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10621   echo "$ac_t""yes" 1>&6
10622     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10623   cat >> confdefs.h <<EOF
10624 #define $ac_tr_func 1
10625 EOF
10626  
10627 else
10628   echo "$ac_t""no" 1>&6
10629 fi
10630 done
10631     
10632   fi
10633
10634   
10635   echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10636 echo "configure:10637: checking for sqrtl declaration" >&5
10637   if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10638   echo $ac_n "(cached) $ac_c" 1>&6
10639 else
10640   
10641     
10642     ac_ext=C
10643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10644 ac_cpp='$CXXCPP $CPPFLAGS'
10645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10647 cross_compiling=$ac_cv_prog_cxx_cross
10648
10649     cat > conftest.$ac_ext <<EOF
10650 #line 10651 "configure"
10651 #include "confdefs.h"
10652 #include <math.h>
10653 int main() {
10654  sqrtl(0);
10655 ; return 0; }
10656 EOF
10657 if { (eval echo configure:10658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10658   rm -rf conftest*
10659   glibcpp_cv_func_sqrtl_use=yes
10660 else
10661   echo "configure: failed program was:" >&5
10662   cat conftest.$ac_ext >&5
10663   rm -rf conftest*
10664   glibcpp_cv_func_sqrtl_use=no
10665 fi
10666 rm -f conftest*
10667     ac_ext=c
10668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10669 ac_cpp='$CPP $CPPFLAGS'
10670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10672 cross_compiling=$ac_cv_prog_cc_cross
10673
10674   
10675 fi
10676
10677   echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10678   if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10679     for ac_func in sqrtl
10680 do
10681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10682 echo "configure:10683: checking for $ac_func" >&5
10683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10684   echo $ac_n "(cached) $ac_c" 1>&6
10685 else
10686   cat > conftest.$ac_ext <<EOF
10687 #line 10688 "configure"
10688 #include "confdefs.h"
10689 /* System header to define __stub macros and hopefully few prototypes,
10690     which can conflict with char $ac_func(); below.  */
10691 #include <assert.h>
10692 /* Override any gcc2 internal prototype to avoid an error.  */
10693 /* We use char because int might match the return type of a gcc2
10694     builtin and then its argument prototype would still apply.  */
10695 char $ac_func();
10696
10697 int main() {
10698
10699 /* The GNU C library defines this for functions which it implements
10700     to always fail with ENOSYS.  Some functions are actually named
10701     something starting with __ and the normal name is an alias.  */
10702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10703 choke me
10704 #else
10705 $ac_func();
10706 #endif
10707
10708 ; return 0; }
10709 EOF
10710 if { (eval echo configure:10711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10711   rm -rf conftest*
10712   eval "ac_cv_func_$ac_func=yes"
10713 else
10714   echo "configure: failed program was:" >&5
10715   cat conftest.$ac_ext >&5
10716   rm -rf conftest*
10717   eval "ac_cv_func_$ac_func=no"
10718 fi
10719 rm -f conftest*
10720 fi
10721
10722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10723   echo "$ac_t""yes" 1>&6
10724     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10725   cat >> confdefs.h <<EOF
10726 #define $ac_tr_func 1
10727 EOF
10728  
10729 else
10730   echo "$ac_t""no" 1>&6
10731 fi
10732 done
10733     
10734   fi
10735
10736   
10737   echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10738 echo "configure:10739: checking for tanl declaration" >&5
10739   if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10740   echo $ac_n "(cached) $ac_c" 1>&6
10741 else
10742   
10743     
10744     ac_ext=C
10745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10746 ac_cpp='$CXXCPP $CPPFLAGS'
10747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10749 cross_compiling=$ac_cv_prog_cxx_cross
10750
10751     cat > conftest.$ac_ext <<EOF
10752 #line 10753 "configure"
10753 #include "confdefs.h"
10754 #include <math.h>
10755 int main() {
10756  tanl(0);
10757 ; return 0; }
10758 EOF
10759 if { (eval echo configure:10760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10760   rm -rf conftest*
10761   glibcpp_cv_func_tanl_use=yes
10762 else
10763   echo "configure: failed program was:" >&5
10764   cat conftest.$ac_ext >&5
10765   rm -rf conftest*
10766   glibcpp_cv_func_tanl_use=no
10767 fi
10768 rm -f conftest*
10769     ac_ext=c
10770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10771 ac_cpp='$CPP $CPPFLAGS'
10772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10774 cross_compiling=$ac_cv_prog_cc_cross
10775
10776   
10777 fi
10778
10779   echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10780   if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10781     for ac_func in tanl
10782 do
10783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10784 echo "configure:10785: checking for $ac_func" >&5
10785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10786   echo $ac_n "(cached) $ac_c" 1>&6
10787 else
10788   cat > conftest.$ac_ext <<EOF
10789 #line 10790 "configure"
10790 #include "confdefs.h"
10791 /* System header to define __stub macros and hopefully few prototypes,
10792     which can conflict with char $ac_func(); below.  */
10793 #include <assert.h>
10794 /* Override any gcc2 internal prototype to avoid an error.  */
10795 /* We use char because int might match the return type of a gcc2
10796     builtin and then its argument prototype would still apply.  */
10797 char $ac_func();
10798
10799 int main() {
10800
10801 /* The GNU C library defines this for functions which it implements
10802     to always fail with ENOSYS.  Some functions are actually named
10803     something starting with __ and the normal name is an alias.  */
10804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10805 choke me
10806 #else
10807 $ac_func();
10808 #endif
10809
10810 ; return 0; }
10811 EOF
10812 if { (eval echo configure:10813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10813   rm -rf conftest*
10814   eval "ac_cv_func_$ac_func=yes"
10815 else
10816   echo "configure: failed program was:" >&5
10817   cat conftest.$ac_ext >&5
10818   rm -rf conftest*
10819   eval "ac_cv_func_$ac_func=no"
10820 fi
10821 rm -f conftest*
10822 fi
10823
10824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10825   echo "$ac_t""yes" 1>&6
10826     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10827   cat >> confdefs.h <<EOF
10828 #define $ac_tr_func 1
10829 EOF
10830  
10831 else
10832   echo "$ac_t""no" 1>&6
10833 fi
10834 done
10835     
10836   fi
10837
10838   
10839   echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10840 echo "configure:10841: checking for tanhl declaration" >&5
10841   if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10842   echo $ac_n "(cached) $ac_c" 1>&6
10843 else
10844   
10845     
10846     ac_ext=C
10847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10848 ac_cpp='$CXXCPP $CPPFLAGS'
10849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10851 cross_compiling=$ac_cv_prog_cxx_cross
10852
10853     cat > conftest.$ac_ext <<EOF
10854 #line 10855 "configure"
10855 #include "confdefs.h"
10856 #include <math.h>
10857 int main() {
10858  tanhl(0);
10859 ; return 0; }
10860 EOF
10861 if { (eval echo configure:10862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10862   rm -rf conftest*
10863   glibcpp_cv_func_tanhl_use=yes
10864 else
10865   echo "configure: failed program was:" >&5
10866   cat conftest.$ac_ext >&5
10867   rm -rf conftest*
10868   glibcpp_cv_func_tanhl_use=no
10869 fi
10870 rm -f conftest*
10871     ac_ext=c
10872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10873 ac_cpp='$CPP $CPPFLAGS'
10874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10876 cross_compiling=$ac_cv_prog_cc_cross
10877
10878   
10879 fi
10880
10881   echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10882   if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10883     for ac_func in tanhl
10884 do
10885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10886 echo "configure:10887: checking for $ac_func" >&5
10887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10888   echo $ac_n "(cached) $ac_c" 1>&6
10889 else
10890   cat > conftest.$ac_ext <<EOF
10891 #line 10892 "configure"
10892 #include "confdefs.h"
10893 /* System header to define __stub macros and hopefully few prototypes,
10894     which can conflict with char $ac_func(); below.  */
10895 #include <assert.h>
10896 /* Override any gcc2 internal prototype to avoid an error.  */
10897 /* We use char because int might match the return type of a gcc2
10898     builtin and then its argument prototype would still apply.  */
10899 char $ac_func();
10900
10901 int main() {
10902
10903 /* The GNU C library defines this for functions which it implements
10904     to always fail with ENOSYS.  Some functions are actually named
10905     something starting with __ and the normal name is an alias.  */
10906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10907 choke me
10908 #else
10909 $ac_func();
10910 #endif
10911
10912 ; return 0; }
10913 EOF
10914 if { (eval echo configure:10915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10915   rm -rf conftest*
10916   eval "ac_cv_func_$ac_func=yes"
10917 else
10918   echo "configure: failed program was:" >&5
10919   cat conftest.$ac_ext >&5
10920   rm -rf conftest*
10921   eval "ac_cv_func_$ac_func=no"
10922 fi
10923 rm -f conftest*
10924 fi
10925
10926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10927   echo "$ac_t""yes" 1>&6
10928     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10929   cat >> confdefs.h <<EOF
10930 #define $ac_tr_func 1
10931 EOF
10932  
10933 else
10934   echo "$ac_t""no" 1>&6
10935 fi
10936 done
10937     
10938   fi
10939
10940   
10941   echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10942 echo "configure:10943: checking for sincosl declaration" >&5
10943   if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10944   echo $ac_n "(cached) $ac_c" 1>&6
10945 else
10946   
10947     
10948     ac_ext=C
10949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10950 ac_cpp='$CXXCPP $CPPFLAGS'
10951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10953 cross_compiling=$ac_cv_prog_cxx_cross
10954
10955     cat > conftest.$ac_ext <<EOF
10956 #line 10957 "configure"
10957 #include "confdefs.h"
10958 #include <math.h>
10959 int main() {
10960  sincosl(0, 0, 0);
10961 ; return 0; }
10962 EOF
10963 if { (eval echo configure:10964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10964   rm -rf conftest*
10965   glibcpp_cv_func_sincosl_use=yes
10966 else
10967   echo "configure: failed program was:" >&5
10968   cat conftest.$ac_ext >&5
10969   rm -rf conftest*
10970   glibcpp_cv_func_sincosl_use=no
10971 fi
10972 rm -f conftest*
10973     ac_ext=c
10974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10975 ac_cpp='$CPP $CPPFLAGS'
10976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10978 cross_compiling=$ac_cv_prog_cc_cross
10979
10980   
10981 fi
10982
10983   echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10984   if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10985     for ac_func in sincosl
10986 do
10987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10988 echo "configure:10989: checking for $ac_func" >&5
10989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10990   echo $ac_n "(cached) $ac_c" 1>&6
10991 else
10992   cat > conftest.$ac_ext <<EOF
10993 #line 10994 "configure"
10994 #include "confdefs.h"
10995 /* System header to define __stub macros and hopefully few prototypes,
10996     which can conflict with char $ac_func(); below.  */
10997 #include <assert.h>
10998 /* Override any gcc2 internal prototype to avoid an error.  */
10999 /* We use char because int might match the return type of a gcc2
11000     builtin and then its argument prototype would still apply.  */
11001 char $ac_func();
11002
11003 int main() {
11004
11005 /* The GNU C library defines this for functions which it implements
11006     to always fail with ENOSYS.  Some functions are actually named
11007     something starting with __ and the normal name is an alias.  */
11008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11009 choke me
11010 #else
11011 $ac_func();
11012 #endif
11013
11014 ; return 0; }
11015 EOF
11016 if { (eval echo configure:11017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11017   rm -rf conftest*
11018   eval "ac_cv_func_$ac_func=yes"
11019 else
11020   echo "configure: failed program was:" >&5
11021   cat conftest.$ac_ext >&5
11022   rm -rf conftest*
11023   eval "ac_cv_func_$ac_func=no"
11024 fi
11025 rm -f conftest*
11026 fi
11027
11028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11029   echo "$ac_t""yes" 1>&6
11030     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11031   cat >> confdefs.h <<EOF
11032 #define $ac_tr_func 1
11033 EOF
11034  
11035 else
11036   echo "$ac_t""no" 1>&6
11037 fi
11038 done
11039     
11040   fi
11041
11042   
11043   echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
11044 echo "configure:11045: checking for finitel declaration" >&5
11045   if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
11046   echo $ac_n "(cached) $ac_c" 1>&6
11047 else
11048   
11049     
11050     ac_ext=C
11051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11052 ac_cpp='$CXXCPP $CPPFLAGS'
11053 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11054 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11055 cross_compiling=$ac_cv_prog_cxx_cross
11056
11057     cat > conftest.$ac_ext <<EOF
11058 #line 11059 "configure"
11059 #include "confdefs.h"
11060 #include <math.h>
11061 int main() {
11062  finitel(0);
11063 ; return 0; }
11064 EOF
11065 if { (eval echo configure:11066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11066   rm -rf conftest*
11067   glibcpp_cv_func_finitel_use=yes
11068 else
11069   echo "configure: failed program was:" >&5
11070   cat conftest.$ac_ext >&5
11071   rm -rf conftest*
11072   glibcpp_cv_func_finitel_use=no
11073 fi
11074 rm -f conftest*
11075     ac_ext=c
11076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11077 ac_cpp='$CPP $CPPFLAGS'
11078 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11079 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11080 cross_compiling=$ac_cv_prog_cc_cross
11081
11082   
11083 fi
11084
11085   echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
11086   if test x$glibcpp_cv_func_finitel_use = x"yes"; then
11087     for ac_func in finitel
11088 do
11089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11090 echo "configure:11091: checking for $ac_func" >&5
11091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11092   echo $ac_n "(cached) $ac_c" 1>&6
11093 else
11094   cat > conftest.$ac_ext <<EOF
11095 #line 11096 "configure"
11096 #include "confdefs.h"
11097 /* System header to define __stub macros and hopefully few prototypes,
11098     which can conflict with char $ac_func(); below.  */
11099 #include <assert.h>
11100 /* Override any gcc2 internal prototype to avoid an error.  */
11101 /* We use char because int might match the return type of a gcc2
11102     builtin and then its argument prototype would still apply.  */
11103 char $ac_func();
11104
11105 int main() {
11106
11107 /* The GNU C library defines this for functions which it implements
11108     to always fail with ENOSYS.  Some functions are actually named
11109     something starting with __ and the normal name is an alias.  */
11110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11111 choke me
11112 #else
11113 $ac_func();
11114 #endif
11115
11116 ; return 0; }
11117 EOF
11118 if { (eval echo configure:11119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11119   rm -rf conftest*
11120   eval "ac_cv_func_$ac_func=yes"
11121 else
11122   echo "configure: failed program was:" >&5
11123   cat conftest.$ac_ext >&5
11124   rm -rf conftest*
11125   eval "ac_cv_func_$ac_func=no"
11126 fi
11127 rm -f conftest*
11128 fi
11129
11130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11131   echo "$ac_t""yes" 1>&6
11132     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11133   cat >> confdefs.h <<EOF
11134 #define $ac_tr_func 1
11135 EOF
11136  
11137 else
11138   echo "$ac_t""no" 1>&6
11139 fi
11140 done
11141     
11142   fi
11143
11144
11145           
11146   echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
11147 echo "configure:11148: checking for _isinf declaration" >&5
11148   if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
11149   echo $ac_n "(cached) $ac_c" 1>&6
11150 else
11151   
11152     
11153     ac_ext=C
11154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11155 ac_cpp='$CXXCPP $CPPFLAGS'
11156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11158 cross_compiling=$ac_cv_prog_cxx_cross
11159
11160     cat > conftest.$ac_ext <<EOF
11161 #line 11162 "configure"
11162 #include "confdefs.h"
11163 #include <math.h>
11164 int main() {
11165  _isinf(0);
11166 ; return 0; }
11167 EOF
11168 if { (eval echo configure:11169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11169   rm -rf conftest*
11170   glibcpp_cv_func__isinf_use=yes
11171 else
11172   echo "configure: failed program was:" >&5
11173   cat conftest.$ac_ext >&5
11174   rm -rf conftest*
11175   glibcpp_cv_func__isinf_use=no
11176 fi
11177 rm -f conftest*
11178     ac_ext=c
11179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11180 ac_cpp='$CPP $CPPFLAGS'
11181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11183 cross_compiling=$ac_cv_prog_cc_cross
11184
11185   
11186 fi
11187
11188   echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11189   if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11190     for ac_func in _isinf
11191 do
11192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11193 echo "configure:11194: checking for $ac_func" >&5
11194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11195   echo $ac_n "(cached) $ac_c" 1>&6
11196 else
11197   cat > conftest.$ac_ext <<EOF
11198 #line 11199 "configure"
11199 #include "confdefs.h"
11200 /* System header to define __stub macros and hopefully few prototypes,
11201     which can conflict with char $ac_func(); below.  */
11202 #include <assert.h>
11203 /* Override any gcc2 internal prototype to avoid an error.  */
11204 /* We use char because int might match the return type of a gcc2
11205     builtin and then its argument prototype would still apply.  */
11206 char $ac_func();
11207
11208 int main() {
11209
11210 /* The GNU C library defines this for functions which it implements
11211     to always fail with ENOSYS.  Some functions are actually named
11212     something starting with __ and the normal name is an alias.  */
11213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11214 choke me
11215 #else
11216 $ac_func();
11217 #endif
11218
11219 ; return 0; }
11220 EOF
11221 if { (eval echo configure:11222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11222   rm -rf conftest*
11223   eval "ac_cv_func_$ac_func=yes"
11224 else
11225   echo "configure: failed program was:" >&5
11226   cat conftest.$ac_ext >&5
11227   rm -rf conftest*
11228   eval "ac_cv_func_$ac_func=no"
11229 fi
11230 rm -f conftest*
11231 fi
11232
11233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11234   echo "$ac_t""yes" 1>&6
11235     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11236   cat >> confdefs.h <<EOF
11237 #define $ac_tr_func 1
11238 EOF
11239  
11240 else
11241   echo "$ac_t""no" 1>&6
11242 fi
11243 done
11244     
11245   fi
11246
11247   
11248   echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11249 echo "configure:11250: checking for _isnan declaration" >&5
11250   if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11251   echo $ac_n "(cached) $ac_c" 1>&6
11252 else
11253   
11254     
11255     ac_ext=C
11256 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11257 ac_cpp='$CXXCPP $CPPFLAGS'
11258 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11259 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11260 cross_compiling=$ac_cv_prog_cxx_cross
11261
11262     cat > conftest.$ac_ext <<EOF
11263 #line 11264 "configure"
11264 #include "confdefs.h"
11265 #include <math.h>
11266 int main() {
11267  _isnan(0);
11268 ; return 0; }
11269 EOF
11270 if { (eval echo configure:11271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11271   rm -rf conftest*
11272   glibcpp_cv_func__isnan_use=yes
11273 else
11274   echo "configure: failed program was:" >&5
11275   cat conftest.$ac_ext >&5
11276   rm -rf conftest*
11277   glibcpp_cv_func__isnan_use=no
11278 fi
11279 rm -f conftest*
11280     ac_ext=c
11281 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11282 ac_cpp='$CPP $CPPFLAGS'
11283 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11284 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11285 cross_compiling=$ac_cv_prog_cc_cross
11286
11287   
11288 fi
11289
11290   echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11291   if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11292     for ac_func in _isnan
11293 do
11294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11295 echo "configure:11296: checking for $ac_func" >&5
11296 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11297   echo $ac_n "(cached) $ac_c" 1>&6
11298 else
11299   cat > conftest.$ac_ext <<EOF
11300 #line 11301 "configure"
11301 #include "confdefs.h"
11302 /* System header to define __stub macros and hopefully few prototypes,
11303     which can conflict with char $ac_func(); below.  */
11304 #include <assert.h>
11305 /* Override any gcc2 internal prototype to avoid an error.  */
11306 /* We use char because int might match the return type of a gcc2
11307     builtin and then its argument prototype would still apply.  */
11308 char $ac_func();
11309
11310 int main() {
11311
11312 /* The GNU C library defines this for functions which it implements
11313     to always fail with ENOSYS.  Some functions are actually named
11314     something starting with __ and the normal name is an alias.  */
11315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11316 choke me
11317 #else
11318 $ac_func();
11319 #endif
11320
11321 ; return 0; }
11322 EOF
11323 if { (eval echo configure:11324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11324   rm -rf conftest*
11325   eval "ac_cv_func_$ac_func=yes"
11326 else
11327   echo "configure: failed program was:" >&5
11328   cat conftest.$ac_ext >&5
11329   rm -rf conftest*
11330   eval "ac_cv_func_$ac_func=no"
11331 fi
11332 rm -f conftest*
11333 fi
11334
11335 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11336   echo "$ac_t""yes" 1>&6
11337     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11338   cat >> confdefs.h <<EOF
11339 #define $ac_tr_func 1
11340 EOF
11341  
11342 else
11343   echo "$ac_t""no" 1>&6
11344 fi
11345 done
11346     
11347   fi
11348
11349   
11350   echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11351 echo "configure:11352: checking for _finite declaration" >&5
11352   if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11353   echo $ac_n "(cached) $ac_c" 1>&6
11354 else
11355   
11356     
11357     ac_ext=C
11358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11359 ac_cpp='$CXXCPP $CPPFLAGS'
11360 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11361 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11362 cross_compiling=$ac_cv_prog_cxx_cross
11363
11364     cat > conftest.$ac_ext <<EOF
11365 #line 11366 "configure"
11366 #include "confdefs.h"
11367 #include <math.h>
11368 int main() {
11369  _finite(0);
11370 ; return 0; }
11371 EOF
11372 if { (eval echo configure:11373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11373   rm -rf conftest*
11374   glibcpp_cv_func__finite_use=yes
11375 else
11376   echo "configure: failed program was:" >&5
11377   cat conftest.$ac_ext >&5
11378   rm -rf conftest*
11379   glibcpp_cv_func__finite_use=no
11380 fi
11381 rm -f conftest*
11382     ac_ext=c
11383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11384 ac_cpp='$CPP $CPPFLAGS'
11385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11387 cross_compiling=$ac_cv_prog_cc_cross
11388
11389   
11390 fi
11391
11392   echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11393   if test x$glibcpp_cv_func__finite_use = x"yes"; then
11394     for ac_func in _finite
11395 do
11396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11397 echo "configure:11398: checking for $ac_func" >&5
11398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11399   echo $ac_n "(cached) $ac_c" 1>&6
11400 else
11401   cat > conftest.$ac_ext <<EOF
11402 #line 11403 "configure"
11403 #include "confdefs.h"
11404 /* System header to define __stub macros and hopefully few prototypes,
11405     which can conflict with char $ac_func(); below.  */
11406 #include <assert.h>
11407 /* Override any gcc2 internal prototype to avoid an error.  */
11408 /* We use char because int might match the return type of a gcc2
11409     builtin and then its argument prototype would still apply.  */
11410 char $ac_func();
11411
11412 int main() {
11413
11414 /* The GNU C library defines this for functions which it implements
11415     to always fail with ENOSYS.  Some functions are actually named
11416     something starting with __ and the normal name is an alias.  */
11417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11418 choke me
11419 #else
11420 $ac_func();
11421 #endif
11422
11423 ; return 0; }
11424 EOF
11425 if { (eval echo configure:11426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11426   rm -rf conftest*
11427   eval "ac_cv_func_$ac_func=yes"
11428 else
11429   echo "configure: failed program was:" >&5
11430   cat conftest.$ac_ext >&5
11431   rm -rf conftest*
11432   eval "ac_cv_func_$ac_func=no"
11433 fi
11434 rm -f conftest*
11435 fi
11436
11437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11438   echo "$ac_t""yes" 1>&6
11439     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11440   cat >> confdefs.h <<EOF
11441 #define $ac_tr_func 1
11442 EOF
11443  
11444 else
11445   echo "$ac_t""no" 1>&6
11446 fi
11447 done
11448     
11449   fi
11450
11451   
11452   echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11453 echo "configure:11454: checking for _copysign declaration" >&5
11454   if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11455   echo $ac_n "(cached) $ac_c" 1>&6
11456 else
11457   
11458     
11459     ac_ext=C
11460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11461 ac_cpp='$CXXCPP $CPPFLAGS'
11462 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11463 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11464 cross_compiling=$ac_cv_prog_cxx_cross
11465
11466     cat > conftest.$ac_ext <<EOF
11467 #line 11468 "configure"
11468 #include "confdefs.h"
11469 #include <math.h>
11470 int main() {
11471  _copysign(0, 0);
11472 ; return 0; }
11473 EOF
11474 if { (eval echo configure:11475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11475   rm -rf conftest*
11476   glibcpp_cv_func__copysign_use=yes
11477 else
11478   echo "configure: failed program was:" >&5
11479   cat conftest.$ac_ext >&5
11480   rm -rf conftest*
11481   glibcpp_cv_func__copysign_use=no
11482 fi
11483 rm -f conftest*
11484     ac_ext=c
11485 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11486 ac_cpp='$CPP $CPPFLAGS'
11487 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11488 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11489 cross_compiling=$ac_cv_prog_cc_cross
11490
11491   
11492 fi
11493
11494   echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11495   if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11496     for ac_func in _copysign
11497 do
11498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11499 echo "configure:11500: checking for $ac_func" >&5
11500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11501   echo $ac_n "(cached) $ac_c" 1>&6
11502 else
11503   cat > conftest.$ac_ext <<EOF
11504 #line 11505 "configure"
11505 #include "confdefs.h"
11506 /* System header to define __stub macros and hopefully few prototypes,
11507     which can conflict with char $ac_func(); below.  */
11508 #include <assert.h>
11509 /* Override any gcc2 internal prototype to avoid an error.  */
11510 /* We use char because int might match the return type of a gcc2
11511     builtin and then its argument prototype would still apply.  */
11512 char $ac_func();
11513
11514 int main() {
11515
11516 /* The GNU C library defines this for functions which it implements
11517     to always fail with ENOSYS.  Some functions are actually named
11518     something starting with __ and the normal name is an alias.  */
11519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11520 choke me
11521 #else
11522 $ac_func();
11523 #endif
11524
11525 ; return 0; }
11526 EOF
11527 if { (eval echo configure:11528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11528   rm -rf conftest*
11529   eval "ac_cv_func_$ac_func=yes"
11530 else
11531   echo "configure: failed program was:" >&5
11532   cat conftest.$ac_ext >&5
11533   rm -rf conftest*
11534   eval "ac_cv_func_$ac_func=no"
11535 fi
11536 rm -f conftest*
11537 fi
11538
11539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11540   echo "$ac_t""yes" 1>&6
11541     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11542   cat >> confdefs.h <<EOF
11543 #define $ac_tr_func 1
11544 EOF
11545  
11546 else
11547   echo "$ac_t""no" 1>&6
11548 fi
11549 done
11550     
11551   fi
11552
11553   
11554   echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11555 echo "configure:11556: checking for _sincos declaration" >&5
11556   if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11557   echo $ac_n "(cached) $ac_c" 1>&6
11558 else
11559   
11560     
11561     ac_ext=C
11562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11563 ac_cpp='$CXXCPP $CPPFLAGS'
11564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11566 cross_compiling=$ac_cv_prog_cxx_cross
11567
11568     cat > conftest.$ac_ext <<EOF
11569 #line 11570 "configure"
11570 #include "confdefs.h"
11571 #include <math.h>
11572 int main() {
11573  _sincos(0, 0, 0);
11574 ; return 0; }
11575 EOF
11576 if { (eval echo configure:11577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11577   rm -rf conftest*
11578   glibcpp_cv_func__sincos_use=yes
11579 else
11580   echo "configure: failed program was:" >&5
11581   cat conftest.$ac_ext >&5
11582   rm -rf conftest*
11583   glibcpp_cv_func__sincos_use=no
11584 fi
11585 rm -f conftest*
11586     ac_ext=c
11587 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11588 ac_cpp='$CPP $CPPFLAGS'
11589 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11590 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11591 cross_compiling=$ac_cv_prog_cc_cross
11592
11593   
11594 fi
11595
11596   echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11597   if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11598     for ac_func in _sincos
11599 do
11600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11601 echo "configure:11602: checking for $ac_func" >&5
11602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11603   echo $ac_n "(cached) $ac_c" 1>&6
11604 else
11605   cat > conftest.$ac_ext <<EOF
11606 #line 11607 "configure"
11607 #include "confdefs.h"
11608 /* System header to define __stub macros and hopefully few prototypes,
11609     which can conflict with char $ac_func(); below.  */
11610 #include <assert.h>
11611 /* Override any gcc2 internal prototype to avoid an error.  */
11612 /* We use char because int might match the return type of a gcc2
11613     builtin and then its argument prototype would still apply.  */
11614 char $ac_func();
11615
11616 int main() {
11617
11618 /* The GNU C library defines this for functions which it implements
11619     to always fail with ENOSYS.  Some functions are actually named
11620     something starting with __ and the normal name is an alias.  */
11621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11622 choke me
11623 #else
11624 $ac_func();
11625 #endif
11626
11627 ; return 0; }
11628 EOF
11629 if { (eval echo configure:11630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11630   rm -rf conftest*
11631   eval "ac_cv_func_$ac_func=yes"
11632 else
11633   echo "configure: failed program was:" >&5
11634   cat conftest.$ac_ext >&5
11635   rm -rf conftest*
11636   eval "ac_cv_func_$ac_func=no"
11637 fi
11638 rm -f conftest*
11639 fi
11640
11641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11642   echo "$ac_t""yes" 1>&6
11643     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11644   cat >> confdefs.h <<EOF
11645 #define $ac_tr_func 1
11646 EOF
11647  
11648 else
11649   echo "$ac_t""no" 1>&6
11650 fi
11651 done
11652     
11653   fi
11654
11655   
11656   echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11657 echo "configure:11658: checking for _fpclass declaration" >&5
11658   if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11659   echo $ac_n "(cached) $ac_c" 1>&6
11660 else
11661   
11662     
11663     ac_ext=C
11664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11665 ac_cpp='$CXXCPP $CPPFLAGS'
11666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11668 cross_compiling=$ac_cv_prog_cxx_cross
11669
11670     cat > conftest.$ac_ext <<EOF
11671 #line 11672 "configure"
11672 #include "confdefs.h"
11673 #include <math.h>
11674 int main() {
11675  _fpclass(0);
11676 ; return 0; }
11677 EOF
11678 if { (eval echo configure:11679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11679   rm -rf conftest*
11680   glibcpp_cv_func__fpclass_use=yes
11681 else
11682   echo "configure: failed program was:" >&5
11683   cat conftest.$ac_ext >&5
11684   rm -rf conftest*
11685   glibcpp_cv_func__fpclass_use=no
11686 fi
11687 rm -f conftest*
11688     ac_ext=c
11689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11690 ac_cpp='$CPP $CPPFLAGS'
11691 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11692 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11693 cross_compiling=$ac_cv_prog_cc_cross
11694
11695   
11696 fi
11697
11698   echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11699   if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11700     for ac_func in _fpclass
11701 do
11702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11703 echo "configure:11704: checking for $ac_func" >&5
11704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11705   echo $ac_n "(cached) $ac_c" 1>&6
11706 else
11707   cat > conftest.$ac_ext <<EOF
11708 #line 11709 "configure"
11709 #include "confdefs.h"
11710 /* System header to define __stub macros and hopefully few prototypes,
11711     which can conflict with char $ac_func(); below.  */
11712 #include <assert.h>
11713 /* Override any gcc2 internal prototype to avoid an error.  */
11714 /* We use char because int might match the return type of a gcc2
11715     builtin and then its argument prototype would still apply.  */
11716 char $ac_func();
11717
11718 int main() {
11719
11720 /* The GNU C library defines this for functions which it implements
11721     to always fail with ENOSYS.  Some functions are actually named
11722     something starting with __ and the normal name is an alias.  */
11723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11724 choke me
11725 #else
11726 $ac_func();
11727 #endif
11728
11729 ; return 0; }
11730 EOF
11731 if { (eval echo configure:11732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11732   rm -rf conftest*
11733   eval "ac_cv_func_$ac_func=yes"
11734 else
11735   echo "configure: failed program was:" >&5
11736   cat conftest.$ac_ext >&5
11737   rm -rf conftest*
11738   eval "ac_cv_func_$ac_func=no"
11739 fi
11740 rm -f conftest*
11741 fi
11742
11743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11744   echo "$ac_t""yes" 1>&6
11745     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11746   cat >> confdefs.h <<EOF
11747 #define $ac_tr_func 1
11748 EOF
11749  
11750 else
11751   echo "$ac_t""no" 1>&6
11752 fi
11753 done
11754     
11755   fi
11756
11757   
11758   echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11759 echo "configure:11760: checking for _qfpclass declaration" >&5
11760   if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11761   echo $ac_n "(cached) $ac_c" 1>&6
11762 else
11763   
11764     
11765     ac_ext=C
11766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11767 ac_cpp='$CXXCPP $CPPFLAGS'
11768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11770 cross_compiling=$ac_cv_prog_cxx_cross
11771
11772     cat > conftest.$ac_ext <<EOF
11773 #line 11774 "configure"
11774 #include "confdefs.h"
11775 #include <math.h>
11776 int main() {
11777  _qfpclass(0);
11778 ; return 0; }
11779 EOF
11780 if { (eval echo configure:11781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11781   rm -rf conftest*
11782   glibcpp_cv_func__qfpclass_use=yes
11783 else
11784   echo "configure: failed program was:" >&5
11785   cat conftest.$ac_ext >&5
11786   rm -rf conftest*
11787   glibcpp_cv_func__qfpclass_use=no
11788 fi
11789 rm -f conftest*
11790     ac_ext=c
11791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11792 ac_cpp='$CPP $CPPFLAGS'
11793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11795 cross_compiling=$ac_cv_prog_cc_cross
11796
11797   
11798 fi
11799
11800   echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11801   if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11802     for ac_func in _qfpclass
11803 do
11804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11805 echo "configure:11806: checking for $ac_func" >&5
11806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11807   echo $ac_n "(cached) $ac_c" 1>&6
11808 else
11809   cat > conftest.$ac_ext <<EOF
11810 #line 11811 "configure"
11811 #include "confdefs.h"
11812 /* System header to define __stub macros and hopefully few prototypes,
11813     which can conflict with char $ac_func(); below.  */
11814 #include <assert.h>
11815 /* Override any gcc2 internal prototype to avoid an error.  */
11816 /* We use char because int might match the return type of a gcc2
11817     builtin and then its argument prototype would still apply.  */
11818 char $ac_func();
11819
11820 int main() {
11821
11822 /* The GNU C library defines this for functions which it implements
11823     to always fail with ENOSYS.  Some functions are actually named
11824     something starting with __ and the normal name is an alias.  */
11825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11826 choke me
11827 #else
11828 $ac_func();
11829 #endif
11830
11831 ; return 0; }
11832 EOF
11833 if { (eval echo configure:11834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11834   rm -rf conftest*
11835   eval "ac_cv_func_$ac_func=yes"
11836 else
11837   echo "configure: failed program was:" >&5
11838   cat conftest.$ac_ext >&5
11839   rm -rf conftest*
11840   eval "ac_cv_func_$ac_func=no"
11841 fi
11842 rm -f conftest*
11843 fi
11844
11845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11846   echo "$ac_t""yes" 1>&6
11847     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11848   cat >> confdefs.h <<EOF
11849 #define $ac_tr_func 1
11850 EOF
11851  
11852 else
11853   echo "$ac_t""no" 1>&6
11854 fi
11855 done
11856     
11857   fi
11858
11859
11860     
11861   echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11862 echo "configure:11863: checking for _isnanf declaration" >&5
11863   if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11864   echo $ac_n "(cached) $ac_c" 1>&6
11865 else
11866   
11867     
11868     ac_ext=C
11869 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11870 ac_cpp='$CXXCPP $CPPFLAGS'
11871 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11872 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11873 cross_compiling=$ac_cv_prog_cxx_cross
11874
11875     cat > conftest.$ac_ext <<EOF
11876 #line 11877 "configure"
11877 #include "confdefs.h"
11878 #include <math.h>
11879 int main() {
11880  _isnanf(0);
11881 ; return 0; }
11882 EOF
11883 if { (eval echo configure:11884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11884   rm -rf conftest*
11885   glibcpp_cv_func__isnanf_use=yes
11886 else
11887   echo "configure: failed program was:" >&5
11888   cat conftest.$ac_ext >&5
11889   rm -rf conftest*
11890   glibcpp_cv_func__isnanf_use=no
11891 fi
11892 rm -f conftest*
11893     ac_ext=c
11894 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11895 ac_cpp='$CPP $CPPFLAGS'
11896 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11897 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11898 cross_compiling=$ac_cv_prog_cc_cross
11899
11900   
11901 fi
11902
11903   echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11904   if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11905     for ac_func in _isnanf
11906 do
11907 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11908 echo "configure:11909: checking for $ac_func" >&5
11909 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11910   echo $ac_n "(cached) $ac_c" 1>&6
11911 else
11912   cat > conftest.$ac_ext <<EOF
11913 #line 11914 "configure"
11914 #include "confdefs.h"
11915 /* System header to define __stub macros and hopefully few prototypes,
11916     which can conflict with char $ac_func(); below.  */
11917 #include <assert.h>
11918 /* Override any gcc2 internal prototype to avoid an error.  */
11919 /* We use char because int might match the return type of a gcc2
11920     builtin and then its argument prototype would still apply.  */
11921 char $ac_func();
11922
11923 int main() {
11924
11925 /* The GNU C library defines this for functions which it implements
11926     to always fail with ENOSYS.  Some functions are actually named
11927     something starting with __ and the normal name is an alias.  */
11928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11929 choke me
11930 #else
11931 $ac_func();
11932 #endif
11933
11934 ; return 0; }
11935 EOF
11936 if { (eval echo configure:11937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11937   rm -rf conftest*
11938   eval "ac_cv_func_$ac_func=yes"
11939 else
11940   echo "configure: failed program was:" >&5
11941   cat conftest.$ac_ext >&5
11942   rm -rf conftest*
11943   eval "ac_cv_func_$ac_func=no"
11944 fi
11945 rm -f conftest*
11946 fi
11947
11948 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11949   echo "$ac_t""yes" 1>&6
11950     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11951   cat >> confdefs.h <<EOF
11952 #define $ac_tr_func 1
11953 EOF
11954  
11955 else
11956   echo "$ac_t""no" 1>&6
11957 fi
11958 done
11959     
11960   fi
11961
11962   
11963   echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11964 echo "configure:11965: checking for _isinff declaration" >&5
11965   if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11966   echo $ac_n "(cached) $ac_c" 1>&6
11967 else
11968   
11969     
11970     ac_ext=C
11971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11972 ac_cpp='$CXXCPP $CPPFLAGS'
11973 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11974 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11975 cross_compiling=$ac_cv_prog_cxx_cross
11976
11977     cat > conftest.$ac_ext <<EOF
11978 #line 11979 "configure"
11979 #include "confdefs.h"
11980 #include <math.h>
11981 int main() {
11982  _isinff(0);
11983 ; return 0; }
11984 EOF
11985 if { (eval echo configure:11986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11986   rm -rf conftest*
11987   glibcpp_cv_func__isinff_use=yes
11988 else
11989   echo "configure: failed program was:" >&5
11990   cat conftest.$ac_ext >&5
11991   rm -rf conftest*
11992   glibcpp_cv_func__isinff_use=no
11993 fi
11994 rm -f conftest*
11995     ac_ext=c
11996 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11997 ac_cpp='$CPP $CPPFLAGS'
11998 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11999 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12000 cross_compiling=$ac_cv_prog_cc_cross
12001
12002   
12003 fi
12004
12005   echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
12006   if test x$glibcpp_cv_func__isinff_use = x"yes"; then
12007     for ac_func in _isinff
12008 do
12009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12010 echo "configure:12011: checking for $ac_func" >&5
12011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12012   echo $ac_n "(cached) $ac_c" 1>&6
12013 else
12014   cat > conftest.$ac_ext <<EOF
12015 #line 12016 "configure"
12016 #include "confdefs.h"
12017 /* System header to define __stub macros and hopefully few prototypes,
12018     which can conflict with char $ac_func(); below.  */
12019 #include <assert.h>
12020 /* Override any gcc2 internal prototype to avoid an error.  */
12021 /* We use char because int might match the return type of a gcc2
12022     builtin and then its argument prototype would still apply.  */
12023 char $ac_func();
12024
12025 int main() {
12026
12027 /* The GNU C library defines this for functions which it implements
12028     to always fail with ENOSYS.  Some functions are actually named
12029     something starting with __ and the normal name is an alias.  */
12030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12031 choke me
12032 #else
12033 $ac_func();
12034 #endif
12035
12036 ; return 0; }
12037 EOF
12038 if { (eval echo configure:12039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12039   rm -rf conftest*
12040   eval "ac_cv_func_$ac_func=yes"
12041 else
12042   echo "configure: failed program was:" >&5
12043   cat conftest.$ac_ext >&5
12044   rm -rf conftest*
12045   eval "ac_cv_func_$ac_func=no"
12046 fi
12047 rm -f conftest*
12048 fi
12049
12050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12051   echo "$ac_t""yes" 1>&6
12052     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12053   cat >> confdefs.h <<EOF
12054 #define $ac_tr_func 1
12055 EOF
12056  
12057 else
12058   echo "$ac_t""no" 1>&6
12059 fi
12060 done
12061     
12062   fi
12063
12064   
12065   echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
12066 echo "configure:12067: checking for _acosf declaration" >&5
12067   if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
12068   echo $ac_n "(cached) $ac_c" 1>&6
12069 else
12070   
12071     
12072     ac_ext=C
12073 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12074 ac_cpp='$CXXCPP $CPPFLAGS'
12075 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12076 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12077 cross_compiling=$ac_cv_prog_cxx_cross
12078
12079     cat > conftest.$ac_ext <<EOF
12080 #line 12081 "configure"
12081 #include "confdefs.h"
12082 #include <math.h>
12083 int main() {
12084  _acosf(0);
12085 ; return 0; }
12086 EOF
12087 if { (eval echo configure:12088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12088   rm -rf conftest*
12089   glibcpp_cv_func__acosf_use=yes
12090 else
12091   echo "configure: failed program was:" >&5
12092   cat conftest.$ac_ext >&5
12093   rm -rf conftest*
12094   glibcpp_cv_func__acosf_use=no
12095 fi
12096 rm -f conftest*
12097     ac_ext=c
12098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12099 ac_cpp='$CPP $CPPFLAGS'
12100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12102 cross_compiling=$ac_cv_prog_cc_cross
12103
12104   
12105 fi
12106
12107   echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
12108   if test x$glibcpp_cv_func__acosf_use = x"yes"; then
12109     for ac_func in _acosf
12110 do
12111 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12112 echo "configure:12113: checking for $ac_func" >&5
12113 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12114   echo $ac_n "(cached) $ac_c" 1>&6
12115 else
12116   cat > conftest.$ac_ext <<EOF
12117 #line 12118 "configure"
12118 #include "confdefs.h"
12119 /* System header to define __stub macros and hopefully few prototypes,
12120     which can conflict with char $ac_func(); below.  */
12121 #include <assert.h>
12122 /* Override any gcc2 internal prototype to avoid an error.  */
12123 /* We use char because int might match the return type of a gcc2
12124     builtin and then its argument prototype would still apply.  */
12125 char $ac_func();
12126
12127 int main() {
12128
12129 /* The GNU C library defines this for functions which it implements
12130     to always fail with ENOSYS.  Some functions are actually named
12131     something starting with __ and the normal name is an alias.  */
12132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12133 choke me
12134 #else
12135 $ac_func();
12136 #endif
12137
12138 ; return 0; }
12139 EOF
12140 if { (eval echo configure:12141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12141   rm -rf conftest*
12142   eval "ac_cv_func_$ac_func=yes"
12143 else
12144   echo "configure: failed program was:" >&5
12145   cat conftest.$ac_ext >&5
12146   rm -rf conftest*
12147   eval "ac_cv_func_$ac_func=no"
12148 fi
12149 rm -f conftest*
12150 fi
12151
12152 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12153   echo "$ac_t""yes" 1>&6
12154     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12155   cat >> confdefs.h <<EOF
12156 #define $ac_tr_func 1
12157 EOF
12158  
12159 else
12160   echo "$ac_t""no" 1>&6
12161 fi
12162 done
12163     
12164   fi
12165
12166   
12167   echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
12168 echo "configure:12169: checking for _asinf declaration" >&5
12169   if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
12170   echo $ac_n "(cached) $ac_c" 1>&6
12171 else
12172   
12173     
12174     ac_ext=C
12175 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12176 ac_cpp='$CXXCPP $CPPFLAGS'
12177 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12178 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12179 cross_compiling=$ac_cv_prog_cxx_cross
12180
12181     cat > conftest.$ac_ext <<EOF
12182 #line 12183 "configure"
12183 #include "confdefs.h"
12184 #include <math.h>
12185 int main() {
12186  _asinf(0);
12187 ; return 0; }
12188 EOF
12189 if { (eval echo configure:12190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12190   rm -rf conftest*
12191   glibcpp_cv_func__asinf_use=yes
12192 else
12193   echo "configure: failed program was:" >&5
12194   cat conftest.$ac_ext >&5
12195   rm -rf conftest*
12196   glibcpp_cv_func__asinf_use=no
12197 fi
12198 rm -f conftest*
12199     ac_ext=c
12200 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12201 ac_cpp='$CPP $CPPFLAGS'
12202 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12203 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12204 cross_compiling=$ac_cv_prog_cc_cross
12205
12206   
12207 fi
12208
12209   echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
12210   if test x$glibcpp_cv_func__asinf_use = x"yes"; then
12211     for ac_func in _asinf
12212 do
12213 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12214 echo "configure:12215: checking for $ac_func" >&5
12215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12216   echo $ac_n "(cached) $ac_c" 1>&6
12217 else
12218   cat > conftest.$ac_ext <<EOF
12219 #line 12220 "configure"
12220 #include "confdefs.h"
12221 /* System header to define __stub macros and hopefully few prototypes,
12222     which can conflict with char $ac_func(); below.  */
12223 #include <assert.h>
12224 /* Override any gcc2 internal prototype to avoid an error.  */
12225 /* We use char because int might match the return type of a gcc2
12226     builtin and then its argument prototype would still apply.  */
12227 char $ac_func();
12228
12229 int main() {
12230
12231 /* The GNU C library defines this for functions which it implements
12232     to always fail with ENOSYS.  Some functions are actually named
12233     something starting with __ and the normal name is an alias.  */
12234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12235 choke me
12236 #else
12237 $ac_func();
12238 #endif
12239
12240 ; return 0; }
12241 EOF
12242 if { (eval echo configure:12243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12243   rm -rf conftest*
12244   eval "ac_cv_func_$ac_func=yes"
12245 else
12246   echo "configure: failed program was:" >&5
12247   cat conftest.$ac_ext >&5
12248   rm -rf conftest*
12249   eval "ac_cv_func_$ac_func=no"
12250 fi
12251 rm -f conftest*
12252 fi
12253
12254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12255   echo "$ac_t""yes" 1>&6
12256     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12257   cat >> confdefs.h <<EOF
12258 #define $ac_tr_func 1
12259 EOF
12260  
12261 else
12262   echo "$ac_t""no" 1>&6
12263 fi
12264 done
12265     
12266   fi
12267
12268   
12269   echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
12270 echo "configure:12271: checking for _atanf declaration" >&5
12271   if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
12272   echo $ac_n "(cached) $ac_c" 1>&6
12273 else
12274   
12275     
12276     ac_ext=C
12277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12278 ac_cpp='$CXXCPP $CPPFLAGS'
12279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12281 cross_compiling=$ac_cv_prog_cxx_cross
12282
12283     cat > conftest.$ac_ext <<EOF
12284 #line 12285 "configure"
12285 #include "confdefs.h"
12286 #include <math.h>
12287 int main() {
12288  _atanf(0);
12289 ; return 0; }
12290 EOF
12291 if { (eval echo configure:12292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12292   rm -rf conftest*
12293   glibcpp_cv_func__atanf_use=yes
12294 else
12295   echo "configure: failed program was:" >&5
12296   cat conftest.$ac_ext >&5
12297   rm -rf conftest*
12298   glibcpp_cv_func__atanf_use=no
12299 fi
12300 rm -f conftest*
12301     ac_ext=c
12302 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12303 ac_cpp='$CPP $CPPFLAGS'
12304 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12305 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12306 cross_compiling=$ac_cv_prog_cc_cross
12307
12308   
12309 fi
12310
12311   echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12312   if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12313     for ac_func in _atanf
12314 do
12315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12316 echo "configure:12317: checking for $ac_func" >&5
12317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12318   echo $ac_n "(cached) $ac_c" 1>&6
12319 else
12320   cat > conftest.$ac_ext <<EOF
12321 #line 12322 "configure"
12322 #include "confdefs.h"
12323 /* System header to define __stub macros and hopefully few prototypes,
12324     which can conflict with char $ac_func(); below.  */
12325 #include <assert.h>
12326 /* Override any gcc2 internal prototype to avoid an error.  */
12327 /* We use char because int might match the return type of a gcc2
12328     builtin and then its argument prototype would still apply.  */
12329 char $ac_func();
12330
12331 int main() {
12332
12333 /* The GNU C library defines this for functions which it implements
12334     to always fail with ENOSYS.  Some functions are actually named
12335     something starting with __ and the normal name is an alias.  */
12336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12337 choke me
12338 #else
12339 $ac_func();
12340 #endif
12341
12342 ; return 0; }
12343 EOF
12344 if { (eval echo configure:12345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12345   rm -rf conftest*
12346   eval "ac_cv_func_$ac_func=yes"
12347 else
12348   echo "configure: failed program was:" >&5
12349   cat conftest.$ac_ext >&5
12350   rm -rf conftest*
12351   eval "ac_cv_func_$ac_func=no"
12352 fi
12353 rm -f conftest*
12354 fi
12355
12356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12357   echo "$ac_t""yes" 1>&6
12358     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12359   cat >> confdefs.h <<EOF
12360 #define $ac_tr_func 1
12361 EOF
12362  
12363 else
12364   echo "$ac_t""no" 1>&6
12365 fi
12366 done
12367     
12368   fi
12369
12370   
12371   echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12372 echo "configure:12373: checking for _atan2f declaration" >&5
12373   if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12374   echo $ac_n "(cached) $ac_c" 1>&6
12375 else
12376   
12377     
12378     ac_ext=C
12379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12380 ac_cpp='$CXXCPP $CPPFLAGS'
12381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12383 cross_compiling=$ac_cv_prog_cxx_cross
12384
12385     cat > conftest.$ac_ext <<EOF
12386 #line 12387 "configure"
12387 #include "confdefs.h"
12388 #include <math.h>
12389 int main() {
12390  _atan2f(0, 0);
12391 ; return 0; }
12392 EOF
12393 if { (eval echo configure:12394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12394   rm -rf conftest*
12395   glibcpp_cv_func__atan2f_use=yes
12396 else
12397   echo "configure: failed program was:" >&5
12398   cat conftest.$ac_ext >&5
12399   rm -rf conftest*
12400   glibcpp_cv_func__atan2f_use=no
12401 fi
12402 rm -f conftest*
12403     ac_ext=c
12404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12405 ac_cpp='$CPP $CPPFLAGS'
12406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12408 cross_compiling=$ac_cv_prog_cc_cross
12409
12410   
12411 fi
12412
12413   echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12414   if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12415     for ac_func in _atan2f
12416 do
12417 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12418 echo "configure:12419: checking for $ac_func" >&5
12419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12420   echo $ac_n "(cached) $ac_c" 1>&6
12421 else
12422   cat > conftest.$ac_ext <<EOF
12423 #line 12424 "configure"
12424 #include "confdefs.h"
12425 /* System header to define __stub macros and hopefully few prototypes,
12426     which can conflict with char $ac_func(); below.  */
12427 #include <assert.h>
12428 /* Override any gcc2 internal prototype to avoid an error.  */
12429 /* We use char because int might match the return type of a gcc2
12430     builtin and then its argument prototype would still apply.  */
12431 char $ac_func();
12432
12433 int main() {
12434
12435 /* The GNU C library defines this for functions which it implements
12436     to always fail with ENOSYS.  Some functions are actually named
12437     something starting with __ and the normal name is an alias.  */
12438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12439 choke me
12440 #else
12441 $ac_func();
12442 #endif
12443
12444 ; return 0; }
12445 EOF
12446 if { (eval echo configure:12447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12447   rm -rf conftest*
12448   eval "ac_cv_func_$ac_func=yes"
12449 else
12450   echo "configure: failed program was:" >&5
12451   cat conftest.$ac_ext >&5
12452   rm -rf conftest*
12453   eval "ac_cv_func_$ac_func=no"
12454 fi
12455 rm -f conftest*
12456 fi
12457
12458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12459   echo "$ac_t""yes" 1>&6
12460     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12461   cat >> confdefs.h <<EOF
12462 #define $ac_tr_func 1
12463 EOF
12464  
12465 else
12466   echo "$ac_t""no" 1>&6
12467 fi
12468 done
12469     
12470   fi
12471
12472   
12473   echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12474 echo "configure:12475: checking for _ceilf declaration" >&5
12475   if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12476   echo $ac_n "(cached) $ac_c" 1>&6
12477 else
12478   
12479     
12480     ac_ext=C
12481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12482 ac_cpp='$CXXCPP $CPPFLAGS'
12483 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12484 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12485 cross_compiling=$ac_cv_prog_cxx_cross
12486
12487     cat > conftest.$ac_ext <<EOF
12488 #line 12489 "configure"
12489 #include "confdefs.h"
12490 #include <math.h>
12491 int main() {
12492  _ceilf(0);
12493 ; return 0; }
12494 EOF
12495 if { (eval echo configure:12496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12496   rm -rf conftest*
12497   glibcpp_cv_func__ceilf_use=yes
12498 else
12499   echo "configure: failed program was:" >&5
12500   cat conftest.$ac_ext >&5
12501   rm -rf conftest*
12502   glibcpp_cv_func__ceilf_use=no
12503 fi
12504 rm -f conftest*
12505     ac_ext=c
12506 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12507 ac_cpp='$CPP $CPPFLAGS'
12508 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12509 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12510 cross_compiling=$ac_cv_prog_cc_cross
12511
12512   
12513 fi
12514
12515   echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12516   if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12517     for ac_func in _ceilf
12518 do
12519 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12520 echo "configure:12521: checking for $ac_func" >&5
12521 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12522   echo $ac_n "(cached) $ac_c" 1>&6
12523 else
12524   cat > conftest.$ac_ext <<EOF
12525 #line 12526 "configure"
12526 #include "confdefs.h"
12527 /* System header to define __stub macros and hopefully few prototypes,
12528     which can conflict with char $ac_func(); below.  */
12529 #include <assert.h>
12530 /* Override any gcc2 internal prototype to avoid an error.  */
12531 /* We use char because int might match the return type of a gcc2
12532     builtin and then its argument prototype would still apply.  */
12533 char $ac_func();
12534
12535 int main() {
12536
12537 /* The GNU C library defines this for functions which it implements
12538     to always fail with ENOSYS.  Some functions are actually named
12539     something starting with __ and the normal name is an alias.  */
12540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12541 choke me
12542 #else
12543 $ac_func();
12544 #endif
12545
12546 ; return 0; }
12547 EOF
12548 if { (eval echo configure:12549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12549   rm -rf conftest*
12550   eval "ac_cv_func_$ac_func=yes"
12551 else
12552   echo "configure: failed program was:" >&5
12553   cat conftest.$ac_ext >&5
12554   rm -rf conftest*
12555   eval "ac_cv_func_$ac_func=no"
12556 fi
12557 rm -f conftest*
12558 fi
12559
12560 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12561   echo "$ac_t""yes" 1>&6
12562     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12563   cat >> confdefs.h <<EOF
12564 #define $ac_tr_func 1
12565 EOF
12566  
12567 else
12568   echo "$ac_t""no" 1>&6
12569 fi
12570 done
12571     
12572   fi
12573
12574   
12575   echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12576 echo "configure:12577: checking for _cosf declaration" >&5
12577   if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12578   echo $ac_n "(cached) $ac_c" 1>&6
12579 else
12580   
12581     
12582     ac_ext=C
12583 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12584 ac_cpp='$CXXCPP $CPPFLAGS'
12585 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12586 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12587 cross_compiling=$ac_cv_prog_cxx_cross
12588
12589     cat > conftest.$ac_ext <<EOF
12590 #line 12591 "configure"
12591 #include "confdefs.h"
12592 #include <math.h>
12593 int main() {
12594  _cosf(0);
12595 ; return 0; }
12596 EOF
12597 if { (eval echo configure:12598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12598   rm -rf conftest*
12599   glibcpp_cv_func__cosf_use=yes
12600 else
12601   echo "configure: failed program was:" >&5
12602   cat conftest.$ac_ext >&5
12603   rm -rf conftest*
12604   glibcpp_cv_func__cosf_use=no
12605 fi
12606 rm -f conftest*
12607     ac_ext=c
12608 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12609 ac_cpp='$CPP $CPPFLAGS'
12610 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12611 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12612 cross_compiling=$ac_cv_prog_cc_cross
12613
12614   
12615 fi
12616
12617   echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12618   if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12619     for ac_func in _cosf
12620 do
12621 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12622 echo "configure:12623: checking for $ac_func" >&5
12623 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12624   echo $ac_n "(cached) $ac_c" 1>&6
12625 else
12626   cat > conftest.$ac_ext <<EOF
12627 #line 12628 "configure"
12628 #include "confdefs.h"
12629 /* System header to define __stub macros and hopefully few prototypes,
12630     which can conflict with char $ac_func(); below.  */
12631 #include <assert.h>
12632 /* Override any gcc2 internal prototype to avoid an error.  */
12633 /* We use char because int might match the return type of a gcc2
12634     builtin and then its argument prototype would still apply.  */
12635 char $ac_func();
12636
12637 int main() {
12638
12639 /* The GNU C library defines this for functions which it implements
12640     to always fail with ENOSYS.  Some functions are actually named
12641     something starting with __ and the normal name is an alias.  */
12642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12643 choke me
12644 #else
12645 $ac_func();
12646 #endif
12647
12648 ; return 0; }
12649 EOF
12650 if { (eval echo configure:12651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12651   rm -rf conftest*
12652   eval "ac_cv_func_$ac_func=yes"
12653 else
12654   echo "configure: failed program was:" >&5
12655   cat conftest.$ac_ext >&5
12656   rm -rf conftest*
12657   eval "ac_cv_func_$ac_func=no"
12658 fi
12659 rm -f conftest*
12660 fi
12661
12662 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12663   echo "$ac_t""yes" 1>&6
12664     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12665   cat >> confdefs.h <<EOF
12666 #define $ac_tr_func 1
12667 EOF
12668  
12669 else
12670   echo "$ac_t""no" 1>&6
12671 fi
12672 done
12673     
12674   fi
12675
12676   
12677   echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12678 echo "configure:12679: checking for _coshf declaration" >&5
12679   if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12680   echo $ac_n "(cached) $ac_c" 1>&6
12681 else
12682   
12683     
12684     ac_ext=C
12685 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12686 ac_cpp='$CXXCPP $CPPFLAGS'
12687 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12688 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12689 cross_compiling=$ac_cv_prog_cxx_cross
12690
12691     cat > conftest.$ac_ext <<EOF
12692 #line 12693 "configure"
12693 #include "confdefs.h"
12694 #include <math.h>
12695 int main() {
12696  _coshf(0);
12697 ; return 0; }
12698 EOF
12699 if { (eval echo configure:12700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12700   rm -rf conftest*
12701   glibcpp_cv_func__coshf_use=yes
12702 else
12703   echo "configure: failed program was:" >&5
12704   cat conftest.$ac_ext >&5
12705   rm -rf conftest*
12706   glibcpp_cv_func__coshf_use=no
12707 fi
12708 rm -f conftest*
12709     ac_ext=c
12710 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12711 ac_cpp='$CPP $CPPFLAGS'
12712 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12713 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12714 cross_compiling=$ac_cv_prog_cc_cross
12715
12716   
12717 fi
12718
12719   echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12720   if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12721     for ac_func in _coshf
12722 do
12723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12724 echo "configure:12725: checking for $ac_func" >&5
12725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12726   echo $ac_n "(cached) $ac_c" 1>&6
12727 else
12728   cat > conftest.$ac_ext <<EOF
12729 #line 12730 "configure"
12730 #include "confdefs.h"
12731 /* System header to define __stub macros and hopefully few prototypes,
12732     which can conflict with char $ac_func(); below.  */
12733 #include <assert.h>
12734 /* Override any gcc2 internal prototype to avoid an error.  */
12735 /* We use char because int might match the return type of a gcc2
12736     builtin and then its argument prototype would still apply.  */
12737 char $ac_func();
12738
12739 int main() {
12740
12741 /* The GNU C library defines this for functions which it implements
12742     to always fail with ENOSYS.  Some functions are actually named
12743     something starting with __ and the normal name is an alias.  */
12744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12745 choke me
12746 #else
12747 $ac_func();
12748 #endif
12749
12750 ; return 0; }
12751 EOF
12752 if { (eval echo configure:12753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12753   rm -rf conftest*
12754   eval "ac_cv_func_$ac_func=yes"
12755 else
12756   echo "configure: failed program was:" >&5
12757   cat conftest.$ac_ext >&5
12758   rm -rf conftest*
12759   eval "ac_cv_func_$ac_func=no"
12760 fi
12761 rm -f conftest*
12762 fi
12763
12764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12765   echo "$ac_t""yes" 1>&6
12766     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12767   cat >> confdefs.h <<EOF
12768 #define $ac_tr_func 1
12769 EOF
12770  
12771 else
12772   echo "$ac_t""no" 1>&6
12773 fi
12774 done
12775     
12776   fi
12777
12778   
12779   echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12780 echo "configure:12781: checking for _expf declaration" >&5
12781   if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12782   echo $ac_n "(cached) $ac_c" 1>&6
12783 else
12784   
12785     
12786     ac_ext=C
12787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12788 ac_cpp='$CXXCPP $CPPFLAGS'
12789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12791 cross_compiling=$ac_cv_prog_cxx_cross
12792
12793     cat > conftest.$ac_ext <<EOF
12794 #line 12795 "configure"
12795 #include "confdefs.h"
12796 #include <math.h>
12797 int main() {
12798  _expf(0);
12799 ; return 0; }
12800 EOF
12801 if { (eval echo configure:12802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12802   rm -rf conftest*
12803   glibcpp_cv_func__expf_use=yes
12804 else
12805   echo "configure: failed program was:" >&5
12806   cat conftest.$ac_ext >&5
12807   rm -rf conftest*
12808   glibcpp_cv_func__expf_use=no
12809 fi
12810 rm -f conftest*
12811     ac_ext=c
12812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12813 ac_cpp='$CPP $CPPFLAGS'
12814 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12815 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12816 cross_compiling=$ac_cv_prog_cc_cross
12817
12818   
12819 fi
12820
12821   echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12822   if test x$glibcpp_cv_func__expf_use = x"yes"; then
12823     for ac_func in _expf
12824 do
12825 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12826 echo "configure:12827: checking for $ac_func" >&5
12827 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12828   echo $ac_n "(cached) $ac_c" 1>&6
12829 else
12830   cat > conftest.$ac_ext <<EOF
12831 #line 12832 "configure"
12832 #include "confdefs.h"
12833 /* System header to define __stub macros and hopefully few prototypes,
12834     which can conflict with char $ac_func(); below.  */
12835 #include <assert.h>
12836 /* Override any gcc2 internal prototype to avoid an error.  */
12837 /* We use char because int might match the return type of a gcc2
12838     builtin and then its argument prototype would still apply.  */
12839 char $ac_func();
12840
12841 int main() {
12842
12843 /* The GNU C library defines this for functions which it implements
12844     to always fail with ENOSYS.  Some functions are actually named
12845     something starting with __ and the normal name is an alias.  */
12846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12847 choke me
12848 #else
12849 $ac_func();
12850 #endif
12851
12852 ; return 0; }
12853 EOF
12854 if { (eval echo configure:12855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12855   rm -rf conftest*
12856   eval "ac_cv_func_$ac_func=yes"
12857 else
12858   echo "configure: failed program was:" >&5
12859   cat conftest.$ac_ext >&5
12860   rm -rf conftest*
12861   eval "ac_cv_func_$ac_func=no"
12862 fi
12863 rm -f conftest*
12864 fi
12865
12866 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12867   echo "$ac_t""yes" 1>&6
12868     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12869   cat >> confdefs.h <<EOF
12870 #define $ac_tr_func 1
12871 EOF
12872  
12873 else
12874   echo "$ac_t""no" 1>&6
12875 fi
12876 done
12877     
12878   fi
12879
12880   
12881   echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12882 echo "configure:12883: checking for _fabsf declaration" >&5
12883   if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12884   echo $ac_n "(cached) $ac_c" 1>&6
12885 else
12886   
12887     
12888     ac_ext=C
12889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12890 ac_cpp='$CXXCPP $CPPFLAGS'
12891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12893 cross_compiling=$ac_cv_prog_cxx_cross
12894
12895     cat > conftest.$ac_ext <<EOF
12896 #line 12897 "configure"
12897 #include "confdefs.h"
12898 #include <math.h>
12899 int main() {
12900  _fabsf(0);
12901 ; return 0; }
12902 EOF
12903 if { (eval echo configure:12904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12904   rm -rf conftest*
12905   glibcpp_cv_func__fabsf_use=yes
12906 else
12907   echo "configure: failed program was:" >&5
12908   cat conftest.$ac_ext >&5
12909   rm -rf conftest*
12910   glibcpp_cv_func__fabsf_use=no
12911 fi
12912 rm -f conftest*
12913     ac_ext=c
12914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12915 ac_cpp='$CPP $CPPFLAGS'
12916 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12917 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12918 cross_compiling=$ac_cv_prog_cc_cross
12919
12920   
12921 fi
12922
12923   echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12924   if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12925     for ac_func in _fabsf
12926 do
12927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12928 echo "configure:12929: checking for $ac_func" >&5
12929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12930   echo $ac_n "(cached) $ac_c" 1>&6
12931 else
12932   cat > conftest.$ac_ext <<EOF
12933 #line 12934 "configure"
12934 #include "confdefs.h"
12935 /* System header to define __stub macros and hopefully few prototypes,
12936     which can conflict with char $ac_func(); below.  */
12937 #include <assert.h>
12938 /* Override any gcc2 internal prototype to avoid an error.  */
12939 /* We use char because int might match the return type of a gcc2
12940     builtin and then its argument prototype would still apply.  */
12941 char $ac_func();
12942
12943 int main() {
12944
12945 /* The GNU C library defines this for functions which it implements
12946     to always fail with ENOSYS.  Some functions are actually named
12947     something starting with __ and the normal name is an alias.  */
12948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12949 choke me
12950 #else
12951 $ac_func();
12952 #endif
12953
12954 ; return 0; }
12955 EOF
12956 if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12957   rm -rf conftest*
12958   eval "ac_cv_func_$ac_func=yes"
12959 else
12960   echo "configure: failed program was:" >&5
12961   cat conftest.$ac_ext >&5
12962   rm -rf conftest*
12963   eval "ac_cv_func_$ac_func=no"
12964 fi
12965 rm -f conftest*
12966 fi
12967
12968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12969   echo "$ac_t""yes" 1>&6
12970     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12971   cat >> confdefs.h <<EOF
12972 #define $ac_tr_func 1
12973 EOF
12974  
12975 else
12976   echo "$ac_t""no" 1>&6
12977 fi
12978 done
12979     
12980   fi
12981
12982   
12983   echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12984 echo "configure:12985: checking for _floorf declaration" >&5
12985   if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12986   echo $ac_n "(cached) $ac_c" 1>&6
12987 else
12988   
12989     
12990     ac_ext=C
12991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12992 ac_cpp='$CXXCPP $CPPFLAGS'
12993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12995 cross_compiling=$ac_cv_prog_cxx_cross
12996
12997     cat > conftest.$ac_ext <<EOF
12998 #line 12999 "configure"
12999 #include "confdefs.h"
13000 #include <math.h>
13001 int main() {
13002  _floorf(0);
13003 ; return 0; }
13004 EOF
13005 if { (eval echo configure:13006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13006   rm -rf conftest*
13007   glibcpp_cv_func__floorf_use=yes
13008 else
13009   echo "configure: failed program was:" >&5
13010   cat conftest.$ac_ext >&5
13011   rm -rf conftest*
13012   glibcpp_cv_func__floorf_use=no
13013 fi
13014 rm -f conftest*
13015     ac_ext=c
13016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13017 ac_cpp='$CPP $CPPFLAGS'
13018 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13019 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13020 cross_compiling=$ac_cv_prog_cc_cross
13021
13022   
13023 fi
13024
13025   echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
13026   if test x$glibcpp_cv_func__floorf_use = x"yes"; then
13027     for ac_func in _floorf
13028 do
13029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13030 echo "configure:13031: checking for $ac_func" >&5
13031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13032   echo $ac_n "(cached) $ac_c" 1>&6
13033 else
13034   cat > conftest.$ac_ext <<EOF
13035 #line 13036 "configure"
13036 #include "confdefs.h"
13037 /* System header to define __stub macros and hopefully few prototypes,
13038     which can conflict with char $ac_func(); below.  */
13039 #include <assert.h>
13040 /* Override any gcc2 internal prototype to avoid an error.  */
13041 /* We use char because int might match the return type of a gcc2
13042     builtin and then its argument prototype would still apply.  */
13043 char $ac_func();
13044
13045 int main() {
13046
13047 /* The GNU C library defines this for functions which it implements
13048     to always fail with ENOSYS.  Some functions are actually named
13049     something starting with __ and the normal name is an alias.  */
13050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13051 choke me
13052 #else
13053 $ac_func();
13054 #endif
13055
13056 ; return 0; }
13057 EOF
13058 if { (eval echo configure:13059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13059   rm -rf conftest*
13060   eval "ac_cv_func_$ac_func=yes"
13061 else
13062   echo "configure: failed program was:" >&5
13063   cat conftest.$ac_ext >&5
13064   rm -rf conftest*
13065   eval "ac_cv_func_$ac_func=no"
13066 fi
13067 rm -f conftest*
13068 fi
13069
13070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13071   echo "$ac_t""yes" 1>&6
13072     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13073   cat >> confdefs.h <<EOF
13074 #define $ac_tr_func 1
13075 EOF
13076  
13077 else
13078   echo "$ac_t""no" 1>&6
13079 fi
13080 done
13081     
13082   fi
13083
13084   
13085   echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13086 echo "configure:13087: checking for _fmodf declaration" >&5
13087   if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13088   echo $ac_n "(cached) $ac_c" 1>&6
13089 else
13090   
13091     
13092     ac_ext=C
13093 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13094 ac_cpp='$CXXCPP $CPPFLAGS'
13095 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13096 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13097 cross_compiling=$ac_cv_prog_cxx_cross
13098
13099     cat > conftest.$ac_ext <<EOF
13100 #line 13101 "configure"
13101 #include "confdefs.h"
13102 #include <math.h>
13103 int main() {
13104  _fmodf(0, 0);
13105 ; return 0; }
13106 EOF
13107 if { (eval echo configure:13108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13108   rm -rf conftest*
13109   glibcpp_cv_func__fmodf_use=yes
13110 else
13111   echo "configure: failed program was:" >&5
13112   cat conftest.$ac_ext >&5
13113   rm -rf conftest*
13114   glibcpp_cv_func__fmodf_use=no
13115 fi
13116 rm -f conftest*
13117     ac_ext=c
13118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13119 ac_cpp='$CPP $CPPFLAGS'
13120 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13121 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13122 cross_compiling=$ac_cv_prog_cc_cross
13123
13124   
13125 fi
13126
13127   echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13128   if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13129     for ac_func in _fmodf
13130 do
13131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13132 echo "configure:13133: checking for $ac_func" >&5
13133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13134   echo $ac_n "(cached) $ac_c" 1>&6
13135 else
13136   cat > conftest.$ac_ext <<EOF
13137 #line 13138 "configure"
13138 #include "confdefs.h"
13139 /* System header to define __stub macros and hopefully few prototypes,
13140     which can conflict with char $ac_func(); below.  */
13141 #include <assert.h>
13142 /* Override any gcc2 internal prototype to avoid an error.  */
13143 /* We use char because int might match the return type of a gcc2
13144     builtin and then its argument prototype would still apply.  */
13145 char $ac_func();
13146
13147 int main() {
13148
13149 /* The GNU C library defines this for functions which it implements
13150     to always fail with ENOSYS.  Some functions are actually named
13151     something starting with __ and the normal name is an alias.  */
13152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13153 choke me
13154 #else
13155 $ac_func();
13156 #endif
13157
13158 ; return 0; }
13159 EOF
13160 if { (eval echo configure:13161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13161   rm -rf conftest*
13162   eval "ac_cv_func_$ac_func=yes"
13163 else
13164   echo "configure: failed program was:" >&5
13165   cat conftest.$ac_ext >&5
13166   rm -rf conftest*
13167   eval "ac_cv_func_$ac_func=no"
13168 fi
13169 rm -f conftest*
13170 fi
13171
13172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13173   echo "$ac_t""yes" 1>&6
13174     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13175   cat >> confdefs.h <<EOF
13176 #define $ac_tr_func 1
13177 EOF
13178  
13179 else
13180   echo "$ac_t""no" 1>&6
13181 fi
13182 done
13183     
13184   fi
13185
13186   
13187   echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
13188 echo "configure:13189: checking for _frexpf declaration" >&5
13189   if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13190   echo $ac_n "(cached) $ac_c" 1>&6
13191 else
13192   
13193     
13194     ac_ext=C
13195 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13196 ac_cpp='$CXXCPP $CPPFLAGS'
13197 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13198 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13199 cross_compiling=$ac_cv_prog_cxx_cross
13200
13201     cat > conftest.$ac_ext <<EOF
13202 #line 13203 "configure"
13203 #include "confdefs.h"
13204 #include <math.h>
13205 int main() {
13206  _frexpf(0, 0);
13207 ; return 0; }
13208 EOF
13209 if { (eval echo configure:13210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13210   rm -rf conftest*
13211   glibcpp_cv_func__frexpf_use=yes
13212 else
13213   echo "configure: failed program was:" >&5
13214   cat conftest.$ac_ext >&5
13215   rm -rf conftest*
13216   glibcpp_cv_func__frexpf_use=no
13217 fi
13218 rm -f conftest*
13219     ac_ext=c
13220 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13221 ac_cpp='$CPP $CPPFLAGS'
13222 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13223 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13224 cross_compiling=$ac_cv_prog_cc_cross
13225
13226   
13227 fi
13228
13229   echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13230   if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13231     for ac_func in _frexpf
13232 do
13233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13234 echo "configure:13235: checking for $ac_func" >&5
13235 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13236   echo $ac_n "(cached) $ac_c" 1>&6
13237 else
13238   cat > conftest.$ac_ext <<EOF
13239 #line 13240 "configure"
13240 #include "confdefs.h"
13241 /* System header to define __stub macros and hopefully few prototypes,
13242     which can conflict with char $ac_func(); below.  */
13243 #include <assert.h>
13244 /* Override any gcc2 internal prototype to avoid an error.  */
13245 /* We use char because int might match the return type of a gcc2
13246     builtin and then its argument prototype would still apply.  */
13247 char $ac_func();
13248
13249 int main() {
13250
13251 /* The GNU C library defines this for functions which it implements
13252     to always fail with ENOSYS.  Some functions are actually named
13253     something starting with __ and the normal name is an alias.  */
13254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13255 choke me
13256 #else
13257 $ac_func();
13258 #endif
13259
13260 ; return 0; }
13261 EOF
13262 if { (eval echo configure:13263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13263   rm -rf conftest*
13264   eval "ac_cv_func_$ac_func=yes"
13265 else
13266   echo "configure: failed program was:" >&5
13267   cat conftest.$ac_ext >&5
13268   rm -rf conftest*
13269   eval "ac_cv_func_$ac_func=no"
13270 fi
13271 rm -f conftest*
13272 fi
13273
13274 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13275   echo "$ac_t""yes" 1>&6
13276     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13277   cat >> confdefs.h <<EOF
13278 #define $ac_tr_func 1
13279 EOF
13280  
13281 else
13282   echo "$ac_t""no" 1>&6
13283 fi
13284 done
13285     
13286   fi
13287
13288   
13289   echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13290 echo "configure:13291: checking for _ldexpf declaration" >&5
13291   if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13292   echo $ac_n "(cached) $ac_c" 1>&6
13293 else
13294   
13295     
13296     ac_ext=C
13297 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13298 ac_cpp='$CXXCPP $CPPFLAGS'
13299 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13300 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13301 cross_compiling=$ac_cv_prog_cxx_cross
13302
13303     cat > conftest.$ac_ext <<EOF
13304 #line 13305 "configure"
13305 #include "confdefs.h"
13306 #include <math.h>
13307 int main() {
13308  _ldexpf(0, 0);
13309 ; return 0; }
13310 EOF
13311 if { (eval echo configure:13312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13312   rm -rf conftest*
13313   glibcpp_cv_func__ldexpf_use=yes
13314 else
13315   echo "configure: failed program was:" >&5
13316   cat conftest.$ac_ext >&5
13317   rm -rf conftest*
13318   glibcpp_cv_func__ldexpf_use=no
13319 fi
13320 rm -f conftest*
13321     ac_ext=c
13322 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13323 ac_cpp='$CPP $CPPFLAGS'
13324 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13325 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13326 cross_compiling=$ac_cv_prog_cc_cross
13327
13328   
13329 fi
13330
13331   echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13332   if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13333     for ac_func in _ldexpf
13334 do
13335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13336 echo "configure:13337: checking for $ac_func" >&5
13337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13338   echo $ac_n "(cached) $ac_c" 1>&6
13339 else
13340   cat > conftest.$ac_ext <<EOF
13341 #line 13342 "configure"
13342 #include "confdefs.h"
13343 /* System header to define __stub macros and hopefully few prototypes,
13344     which can conflict with char $ac_func(); below.  */
13345 #include <assert.h>
13346 /* Override any gcc2 internal prototype to avoid an error.  */
13347 /* We use char because int might match the return type of a gcc2
13348     builtin and then its argument prototype would still apply.  */
13349 char $ac_func();
13350
13351 int main() {
13352
13353 /* The GNU C library defines this for functions which it implements
13354     to always fail with ENOSYS.  Some functions are actually named
13355     something starting with __ and the normal name is an alias.  */
13356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13357 choke me
13358 #else
13359 $ac_func();
13360 #endif
13361
13362 ; return 0; }
13363 EOF
13364 if { (eval echo configure:13365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13365   rm -rf conftest*
13366   eval "ac_cv_func_$ac_func=yes"
13367 else
13368   echo "configure: failed program was:" >&5
13369   cat conftest.$ac_ext >&5
13370   rm -rf conftest*
13371   eval "ac_cv_func_$ac_func=no"
13372 fi
13373 rm -f conftest*
13374 fi
13375
13376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13377   echo "$ac_t""yes" 1>&6
13378     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13379   cat >> confdefs.h <<EOF
13380 #define $ac_tr_func 1
13381 EOF
13382  
13383 else
13384   echo "$ac_t""no" 1>&6
13385 fi
13386 done
13387     
13388   fi
13389
13390   
13391   echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13392 echo "configure:13393: checking for _logf declaration" >&5
13393   if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13394   echo $ac_n "(cached) $ac_c" 1>&6
13395 else
13396   
13397     
13398     ac_ext=C
13399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13400 ac_cpp='$CXXCPP $CPPFLAGS'
13401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13403 cross_compiling=$ac_cv_prog_cxx_cross
13404
13405     cat > conftest.$ac_ext <<EOF
13406 #line 13407 "configure"
13407 #include "confdefs.h"
13408 #include <math.h>
13409 int main() {
13410  _logf(0);
13411 ; return 0; }
13412 EOF
13413 if { (eval echo configure:13414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13414   rm -rf conftest*
13415   glibcpp_cv_func__logf_use=yes
13416 else
13417   echo "configure: failed program was:" >&5
13418   cat conftest.$ac_ext >&5
13419   rm -rf conftest*
13420   glibcpp_cv_func__logf_use=no
13421 fi
13422 rm -f conftest*
13423     ac_ext=c
13424 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13425 ac_cpp='$CPP $CPPFLAGS'
13426 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13427 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13428 cross_compiling=$ac_cv_prog_cc_cross
13429
13430   
13431 fi
13432
13433   echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13434   if test x$glibcpp_cv_func__logf_use = x"yes"; then
13435     for ac_func in _logf
13436 do
13437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13438 echo "configure:13439: checking for $ac_func" >&5
13439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13440   echo $ac_n "(cached) $ac_c" 1>&6
13441 else
13442   cat > conftest.$ac_ext <<EOF
13443 #line 13444 "configure"
13444 #include "confdefs.h"
13445 /* System header to define __stub macros and hopefully few prototypes,
13446     which can conflict with char $ac_func(); below.  */
13447 #include <assert.h>
13448 /* Override any gcc2 internal prototype to avoid an error.  */
13449 /* We use char because int might match the return type of a gcc2
13450     builtin and then its argument prototype would still apply.  */
13451 char $ac_func();
13452
13453 int main() {
13454
13455 /* The GNU C library defines this for functions which it implements
13456     to always fail with ENOSYS.  Some functions are actually named
13457     something starting with __ and the normal name is an alias.  */
13458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13459 choke me
13460 #else
13461 $ac_func();
13462 #endif
13463
13464 ; return 0; }
13465 EOF
13466 if { (eval echo configure:13467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13467   rm -rf conftest*
13468   eval "ac_cv_func_$ac_func=yes"
13469 else
13470   echo "configure: failed program was:" >&5
13471   cat conftest.$ac_ext >&5
13472   rm -rf conftest*
13473   eval "ac_cv_func_$ac_func=no"
13474 fi
13475 rm -f conftest*
13476 fi
13477
13478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13479   echo "$ac_t""yes" 1>&6
13480     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13481   cat >> confdefs.h <<EOF
13482 #define $ac_tr_func 1
13483 EOF
13484  
13485 else
13486   echo "$ac_t""no" 1>&6
13487 fi
13488 done
13489     
13490   fi
13491
13492   
13493   echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13494 echo "configure:13495: checking for _log10f declaration" >&5
13495   if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13496   echo $ac_n "(cached) $ac_c" 1>&6
13497 else
13498   
13499     
13500     ac_ext=C
13501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13502 ac_cpp='$CXXCPP $CPPFLAGS'
13503 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13504 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13505 cross_compiling=$ac_cv_prog_cxx_cross
13506
13507     cat > conftest.$ac_ext <<EOF
13508 #line 13509 "configure"
13509 #include "confdefs.h"
13510 #include <math.h>
13511 int main() {
13512  _log10f(0);
13513 ; return 0; }
13514 EOF
13515 if { (eval echo configure:13516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13516   rm -rf conftest*
13517   glibcpp_cv_func__log10f_use=yes
13518 else
13519   echo "configure: failed program was:" >&5
13520   cat conftest.$ac_ext >&5
13521   rm -rf conftest*
13522   glibcpp_cv_func__log10f_use=no
13523 fi
13524 rm -f conftest*
13525     ac_ext=c
13526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13527 ac_cpp='$CPP $CPPFLAGS'
13528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13529 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13530 cross_compiling=$ac_cv_prog_cc_cross
13531
13532   
13533 fi
13534
13535   echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13536   if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13537     for ac_func in _log10f
13538 do
13539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13540 echo "configure:13541: checking for $ac_func" >&5
13541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13542   echo $ac_n "(cached) $ac_c" 1>&6
13543 else
13544   cat > conftest.$ac_ext <<EOF
13545 #line 13546 "configure"
13546 #include "confdefs.h"
13547 /* System header to define __stub macros and hopefully few prototypes,
13548     which can conflict with char $ac_func(); below.  */
13549 #include <assert.h>
13550 /* Override any gcc2 internal prototype to avoid an error.  */
13551 /* We use char because int might match the return type of a gcc2
13552     builtin and then its argument prototype would still apply.  */
13553 char $ac_func();
13554
13555 int main() {
13556
13557 /* The GNU C library defines this for functions which it implements
13558     to always fail with ENOSYS.  Some functions are actually named
13559     something starting with __ and the normal name is an alias.  */
13560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13561 choke me
13562 #else
13563 $ac_func();
13564 #endif
13565
13566 ; return 0; }
13567 EOF
13568 if { (eval echo configure:13569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13569   rm -rf conftest*
13570   eval "ac_cv_func_$ac_func=yes"
13571 else
13572   echo "configure: failed program was:" >&5
13573   cat conftest.$ac_ext >&5
13574   rm -rf conftest*
13575   eval "ac_cv_func_$ac_func=no"
13576 fi
13577 rm -f conftest*
13578 fi
13579
13580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13581   echo "$ac_t""yes" 1>&6
13582     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13583   cat >> confdefs.h <<EOF
13584 #define $ac_tr_func 1
13585 EOF
13586  
13587 else
13588   echo "$ac_t""no" 1>&6
13589 fi
13590 done
13591     
13592   fi
13593
13594   
13595   echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13596 echo "configure:13597: checking for _modff declaration" >&5
13597   if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13598   echo $ac_n "(cached) $ac_c" 1>&6
13599 else
13600   
13601     
13602     ac_ext=C
13603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13604 ac_cpp='$CXXCPP $CPPFLAGS'
13605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13607 cross_compiling=$ac_cv_prog_cxx_cross
13608
13609     cat > conftest.$ac_ext <<EOF
13610 #line 13611 "configure"
13611 #include "confdefs.h"
13612 #include <math.h>
13613 int main() {
13614  _modff(0, 0);
13615 ; return 0; }
13616 EOF
13617 if { (eval echo configure:13618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13618   rm -rf conftest*
13619   glibcpp_cv_func__modff_use=yes
13620 else
13621   echo "configure: failed program was:" >&5
13622   cat conftest.$ac_ext >&5
13623   rm -rf conftest*
13624   glibcpp_cv_func__modff_use=no
13625 fi
13626 rm -f conftest*
13627     ac_ext=c
13628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13629 ac_cpp='$CPP $CPPFLAGS'
13630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13632 cross_compiling=$ac_cv_prog_cc_cross
13633
13634   
13635 fi
13636
13637   echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13638   if test x$glibcpp_cv_func__modff_use = x"yes"; then
13639     for ac_func in _modff
13640 do
13641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13642 echo "configure:13643: checking for $ac_func" >&5
13643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13644   echo $ac_n "(cached) $ac_c" 1>&6
13645 else
13646   cat > conftest.$ac_ext <<EOF
13647 #line 13648 "configure"
13648 #include "confdefs.h"
13649 /* System header to define __stub macros and hopefully few prototypes,
13650     which can conflict with char $ac_func(); below.  */
13651 #include <assert.h>
13652 /* Override any gcc2 internal prototype to avoid an error.  */
13653 /* We use char because int might match the return type of a gcc2
13654     builtin and then its argument prototype would still apply.  */
13655 char $ac_func();
13656
13657 int main() {
13658
13659 /* The GNU C library defines this for functions which it implements
13660     to always fail with ENOSYS.  Some functions are actually named
13661     something starting with __ and the normal name is an alias.  */
13662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13663 choke me
13664 #else
13665 $ac_func();
13666 #endif
13667
13668 ; return 0; }
13669 EOF
13670 if { (eval echo configure:13671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13671   rm -rf conftest*
13672   eval "ac_cv_func_$ac_func=yes"
13673 else
13674   echo "configure: failed program was:" >&5
13675   cat conftest.$ac_ext >&5
13676   rm -rf conftest*
13677   eval "ac_cv_func_$ac_func=no"
13678 fi
13679 rm -f conftest*
13680 fi
13681
13682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13683   echo "$ac_t""yes" 1>&6
13684     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13685   cat >> confdefs.h <<EOF
13686 #define $ac_tr_func 1
13687 EOF
13688  
13689 else
13690   echo "$ac_t""no" 1>&6
13691 fi
13692 done
13693     
13694   fi
13695
13696   
13697   echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13698 echo "configure:13699: checking for _powf declaration" >&5
13699   if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13700   echo $ac_n "(cached) $ac_c" 1>&6
13701 else
13702   
13703     
13704     ac_ext=C
13705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13706 ac_cpp='$CXXCPP $CPPFLAGS'
13707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13709 cross_compiling=$ac_cv_prog_cxx_cross
13710
13711     cat > conftest.$ac_ext <<EOF
13712 #line 13713 "configure"
13713 #include "confdefs.h"
13714 #include <math.h>
13715 int main() {
13716  _powf(0, 0);
13717 ; return 0; }
13718 EOF
13719 if { (eval echo configure:13720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13720   rm -rf conftest*
13721   glibcpp_cv_func__powf_use=yes
13722 else
13723   echo "configure: failed program was:" >&5
13724   cat conftest.$ac_ext >&5
13725   rm -rf conftest*
13726   glibcpp_cv_func__powf_use=no
13727 fi
13728 rm -f conftest*
13729     ac_ext=c
13730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13731 ac_cpp='$CPP $CPPFLAGS'
13732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13734 cross_compiling=$ac_cv_prog_cc_cross
13735
13736   
13737 fi
13738
13739   echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13740   if test x$glibcpp_cv_func__powf_use = x"yes"; then
13741     for ac_func in _powf
13742 do
13743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13744 echo "configure:13745: checking for $ac_func" >&5
13745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13746   echo $ac_n "(cached) $ac_c" 1>&6
13747 else
13748   cat > conftest.$ac_ext <<EOF
13749 #line 13750 "configure"
13750 #include "confdefs.h"
13751 /* System header to define __stub macros and hopefully few prototypes,
13752     which can conflict with char $ac_func(); below.  */
13753 #include <assert.h>
13754 /* Override any gcc2 internal prototype to avoid an error.  */
13755 /* We use char because int might match the return type of a gcc2
13756     builtin and then its argument prototype would still apply.  */
13757 char $ac_func();
13758
13759 int main() {
13760
13761 /* The GNU C library defines this for functions which it implements
13762     to always fail with ENOSYS.  Some functions are actually named
13763     something starting with __ and the normal name is an alias.  */
13764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13765 choke me
13766 #else
13767 $ac_func();
13768 #endif
13769
13770 ; return 0; }
13771 EOF
13772 if { (eval echo configure:13773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13773   rm -rf conftest*
13774   eval "ac_cv_func_$ac_func=yes"
13775 else
13776   echo "configure: failed program was:" >&5
13777   cat conftest.$ac_ext >&5
13778   rm -rf conftest*
13779   eval "ac_cv_func_$ac_func=no"
13780 fi
13781 rm -f conftest*
13782 fi
13783
13784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13785   echo "$ac_t""yes" 1>&6
13786     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13787   cat >> confdefs.h <<EOF
13788 #define $ac_tr_func 1
13789 EOF
13790  
13791 else
13792   echo "$ac_t""no" 1>&6
13793 fi
13794 done
13795     
13796   fi
13797
13798   
13799   echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13800 echo "configure:13801: checking for _sinf declaration" >&5
13801   if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13802   echo $ac_n "(cached) $ac_c" 1>&6
13803 else
13804   
13805     
13806     ac_ext=C
13807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13808 ac_cpp='$CXXCPP $CPPFLAGS'
13809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13811 cross_compiling=$ac_cv_prog_cxx_cross
13812
13813     cat > conftest.$ac_ext <<EOF
13814 #line 13815 "configure"
13815 #include "confdefs.h"
13816 #include <math.h>
13817 int main() {
13818  _sinf(0);
13819 ; return 0; }
13820 EOF
13821 if { (eval echo configure:13822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13822   rm -rf conftest*
13823   glibcpp_cv_func__sinf_use=yes
13824 else
13825   echo "configure: failed program was:" >&5
13826   cat conftest.$ac_ext >&5
13827   rm -rf conftest*
13828   glibcpp_cv_func__sinf_use=no
13829 fi
13830 rm -f conftest*
13831     ac_ext=c
13832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13833 ac_cpp='$CPP $CPPFLAGS'
13834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13836 cross_compiling=$ac_cv_prog_cc_cross
13837
13838   
13839 fi
13840
13841   echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13842   if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13843     for ac_func in _sinf
13844 do
13845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13846 echo "configure:13847: checking for $ac_func" >&5
13847 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13848   echo $ac_n "(cached) $ac_c" 1>&6
13849 else
13850   cat > conftest.$ac_ext <<EOF
13851 #line 13852 "configure"
13852 #include "confdefs.h"
13853 /* System header to define __stub macros and hopefully few prototypes,
13854     which can conflict with char $ac_func(); below.  */
13855 #include <assert.h>
13856 /* Override any gcc2 internal prototype to avoid an error.  */
13857 /* We use char because int might match the return type of a gcc2
13858     builtin and then its argument prototype would still apply.  */
13859 char $ac_func();
13860
13861 int main() {
13862
13863 /* The GNU C library defines this for functions which it implements
13864     to always fail with ENOSYS.  Some functions are actually named
13865     something starting with __ and the normal name is an alias.  */
13866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13867 choke me
13868 #else
13869 $ac_func();
13870 #endif
13871
13872 ; return 0; }
13873 EOF
13874 if { (eval echo configure:13875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13875   rm -rf conftest*
13876   eval "ac_cv_func_$ac_func=yes"
13877 else
13878   echo "configure: failed program was:" >&5
13879   cat conftest.$ac_ext >&5
13880   rm -rf conftest*
13881   eval "ac_cv_func_$ac_func=no"
13882 fi
13883 rm -f conftest*
13884 fi
13885
13886 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13887   echo "$ac_t""yes" 1>&6
13888     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13889   cat >> confdefs.h <<EOF
13890 #define $ac_tr_func 1
13891 EOF
13892  
13893 else
13894   echo "$ac_t""no" 1>&6
13895 fi
13896 done
13897     
13898   fi
13899
13900   
13901   echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13902 echo "configure:13903: checking for _sinhf declaration" >&5
13903   if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13904   echo $ac_n "(cached) $ac_c" 1>&6
13905 else
13906   
13907     
13908     ac_ext=C
13909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13910 ac_cpp='$CXXCPP $CPPFLAGS'
13911 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13912 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13913 cross_compiling=$ac_cv_prog_cxx_cross
13914
13915     cat > conftest.$ac_ext <<EOF
13916 #line 13917 "configure"
13917 #include "confdefs.h"
13918 #include <math.h>
13919 int main() {
13920  _sinhf(0);
13921 ; return 0; }
13922 EOF
13923 if { (eval echo configure:13924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13924   rm -rf conftest*
13925   glibcpp_cv_func__sinhf_use=yes
13926 else
13927   echo "configure: failed program was:" >&5
13928   cat conftest.$ac_ext >&5
13929   rm -rf conftest*
13930   glibcpp_cv_func__sinhf_use=no
13931 fi
13932 rm -f conftest*
13933     ac_ext=c
13934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13935 ac_cpp='$CPP $CPPFLAGS'
13936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13938 cross_compiling=$ac_cv_prog_cc_cross
13939
13940   
13941 fi
13942
13943   echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13944   if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13945     for ac_func in _sinhf
13946 do
13947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13948 echo "configure:13949: checking for $ac_func" >&5
13949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13950   echo $ac_n "(cached) $ac_c" 1>&6
13951 else
13952   cat > conftest.$ac_ext <<EOF
13953 #line 13954 "configure"
13954 #include "confdefs.h"
13955 /* System header to define __stub macros and hopefully few prototypes,
13956     which can conflict with char $ac_func(); below.  */
13957 #include <assert.h>
13958 /* Override any gcc2 internal prototype to avoid an error.  */
13959 /* We use char because int might match the return type of a gcc2
13960     builtin and then its argument prototype would still apply.  */
13961 char $ac_func();
13962
13963 int main() {
13964
13965 /* The GNU C library defines this for functions which it implements
13966     to always fail with ENOSYS.  Some functions are actually named
13967     something starting with __ and the normal name is an alias.  */
13968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13969 choke me
13970 #else
13971 $ac_func();
13972 #endif
13973
13974 ; return 0; }
13975 EOF
13976 if { (eval echo configure:13977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13977   rm -rf conftest*
13978   eval "ac_cv_func_$ac_func=yes"
13979 else
13980   echo "configure: failed program was:" >&5
13981   cat conftest.$ac_ext >&5
13982   rm -rf conftest*
13983   eval "ac_cv_func_$ac_func=no"
13984 fi
13985 rm -f conftest*
13986 fi
13987
13988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13989   echo "$ac_t""yes" 1>&6
13990     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13991   cat >> confdefs.h <<EOF
13992 #define $ac_tr_func 1
13993 EOF
13994  
13995 else
13996   echo "$ac_t""no" 1>&6
13997 fi
13998 done
13999     
14000   fi
14001
14002   
14003   echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
14004 echo "configure:14005: checking for _sqrtf declaration" >&5
14005   if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
14006   echo $ac_n "(cached) $ac_c" 1>&6
14007 else
14008   
14009     
14010     ac_ext=C
14011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14012 ac_cpp='$CXXCPP $CPPFLAGS'
14013 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14014 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14015 cross_compiling=$ac_cv_prog_cxx_cross
14016
14017     cat > conftest.$ac_ext <<EOF
14018 #line 14019 "configure"
14019 #include "confdefs.h"
14020 #include <math.h>
14021 int main() {
14022  _sqrtf(0);
14023 ; return 0; }
14024 EOF
14025 if { (eval echo configure:14026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14026   rm -rf conftest*
14027   glibcpp_cv_func__sqrtf_use=yes
14028 else
14029   echo "configure: failed program was:" >&5
14030   cat conftest.$ac_ext >&5
14031   rm -rf conftest*
14032   glibcpp_cv_func__sqrtf_use=no
14033 fi
14034 rm -f conftest*
14035     ac_ext=c
14036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14037 ac_cpp='$CPP $CPPFLAGS'
14038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14040 cross_compiling=$ac_cv_prog_cc_cross
14041
14042   
14043 fi
14044
14045   echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
14046   if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
14047     for ac_func in _sqrtf
14048 do
14049 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14050 echo "configure:14051: checking for $ac_func" >&5
14051 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14052   echo $ac_n "(cached) $ac_c" 1>&6
14053 else
14054   cat > conftest.$ac_ext <<EOF
14055 #line 14056 "configure"
14056 #include "confdefs.h"
14057 /* System header to define __stub macros and hopefully few prototypes,
14058     which can conflict with char $ac_func(); below.  */
14059 #include <assert.h>
14060 /* Override any gcc2 internal prototype to avoid an error.  */
14061 /* We use char because int might match the return type of a gcc2
14062     builtin and then its argument prototype would still apply.  */
14063 char $ac_func();
14064
14065 int main() {
14066
14067 /* The GNU C library defines this for functions which it implements
14068     to always fail with ENOSYS.  Some functions are actually named
14069     something starting with __ and the normal name is an alias.  */
14070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14071 choke me
14072 #else
14073 $ac_func();
14074 #endif
14075
14076 ; return 0; }
14077 EOF
14078 if { (eval echo configure:14079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14079   rm -rf conftest*
14080   eval "ac_cv_func_$ac_func=yes"
14081 else
14082   echo "configure: failed program was:" >&5
14083   cat conftest.$ac_ext >&5
14084   rm -rf conftest*
14085   eval "ac_cv_func_$ac_func=no"
14086 fi
14087 rm -f conftest*
14088 fi
14089
14090 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14091   echo "$ac_t""yes" 1>&6
14092     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14093   cat >> confdefs.h <<EOF
14094 #define $ac_tr_func 1
14095 EOF
14096  
14097 else
14098   echo "$ac_t""no" 1>&6
14099 fi
14100 done
14101     
14102   fi
14103
14104   
14105   echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
14106 echo "configure:14107: checking for _tanf declaration" >&5
14107   if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
14108   echo $ac_n "(cached) $ac_c" 1>&6
14109 else
14110   
14111     
14112     ac_ext=C
14113 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14114 ac_cpp='$CXXCPP $CPPFLAGS'
14115 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14116 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14117 cross_compiling=$ac_cv_prog_cxx_cross
14118
14119     cat > conftest.$ac_ext <<EOF
14120 #line 14121 "configure"
14121 #include "confdefs.h"
14122 #include <math.h>
14123 int main() {
14124  _tanf(0);
14125 ; return 0; }
14126 EOF
14127 if { (eval echo configure:14128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14128   rm -rf conftest*
14129   glibcpp_cv_func__tanf_use=yes
14130 else
14131   echo "configure: failed program was:" >&5
14132   cat conftest.$ac_ext >&5
14133   rm -rf conftest*
14134   glibcpp_cv_func__tanf_use=no
14135 fi
14136 rm -f conftest*
14137     ac_ext=c
14138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14139 ac_cpp='$CPP $CPPFLAGS'
14140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14142 cross_compiling=$ac_cv_prog_cc_cross
14143
14144   
14145 fi
14146
14147   echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
14148   if test x$glibcpp_cv_func__tanf_use = x"yes"; then
14149     for ac_func in _tanf
14150 do
14151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14152 echo "configure:14153: checking for $ac_func" >&5
14153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14154   echo $ac_n "(cached) $ac_c" 1>&6
14155 else
14156   cat > conftest.$ac_ext <<EOF
14157 #line 14158 "configure"
14158 #include "confdefs.h"
14159 /* System header to define __stub macros and hopefully few prototypes,
14160     which can conflict with char $ac_func(); below.  */
14161 #include <assert.h>
14162 /* Override any gcc2 internal prototype to avoid an error.  */
14163 /* We use char because int might match the return type of a gcc2
14164     builtin and then its argument prototype would still apply.  */
14165 char $ac_func();
14166
14167 int main() {
14168
14169 /* The GNU C library defines this for functions which it implements
14170     to always fail with ENOSYS.  Some functions are actually named
14171     something starting with __ and the normal name is an alias.  */
14172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14173 choke me
14174 #else
14175 $ac_func();
14176 #endif
14177
14178 ; return 0; }
14179 EOF
14180 if { (eval echo configure:14181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14181   rm -rf conftest*
14182   eval "ac_cv_func_$ac_func=yes"
14183 else
14184   echo "configure: failed program was:" >&5
14185   cat conftest.$ac_ext >&5
14186   rm -rf conftest*
14187   eval "ac_cv_func_$ac_func=no"
14188 fi
14189 rm -f conftest*
14190 fi
14191
14192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14193   echo "$ac_t""yes" 1>&6
14194     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14195   cat >> confdefs.h <<EOF
14196 #define $ac_tr_func 1
14197 EOF
14198  
14199 else
14200   echo "$ac_t""no" 1>&6
14201 fi
14202 done
14203     
14204   fi
14205
14206   
14207   echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
14208 echo "configure:14209: checking for _tanhf declaration" >&5
14209   if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
14210   echo $ac_n "(cached) $ac_c" 1>&6
14211 else
14212   
14213     
14214     ac_ext=C
14215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14216 ac_cpp='$CXXCPP $CPPFLAGS'
14217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14219 cross_compiling=$ac_cv_prog_cxx_cross
14220
14221     cat > conftest.$ac_ext <<EOF
14222 #line 14223 "configure"
14223 #include "confdefs.h"
14224 #include <math.h>
14225 int main() {
14226  _tanhf(0);
14227 ; return 0; }
14228 EOF
14229 if { (eval echo configure:14230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14230   rm -rf conftest*
14231   glibcpp_cv_func__tanhf_use=yes
14232 else
14233   echo "configure: failed program was:" >&5
14234   cat conftest.$ac_ext >&5
14235   rm -rf conftest*
14236   glibcpp_cv_func__tanhf_use=no
14237 fi
14238 rm -f conftest*
14239     ac_ext=c
14240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14241 ac_cpp='$CPP $CPPFLAGS'
14242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14244 cross_compiling=$ac_cv_prog_cc_cross
14245
14246   
14247 fi
14248
14249   echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
14250   if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
14251     for ac_func in _tanhf
14252 do
14253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14254 echo "configure:14255: checking for $ac_func" >&5
14255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14256   echo $ac_n "(cached) $ac_c" 1>&6
14257 else
14258   cat > conftest.$ac_ext <<EOF
14259 #line 14260 "configure"
14260 #include "confdefs.h"
14261 /* System header to define __stub macros and hopefully few prototypes,
14262     which can conflict with char $ac_func(); below.  */
14263 #include <assert.h>
14264 /* Override any gcc2 internal prototype to avoid an error.  */
14265 /* We use char because int might match the return type of a gcc2
14266     builtin and then its argument prototype would still apply.  */
14267 char $ac_func();
14268
14269 int main() {
14270
14271 /* The GNU C library defines this for functions which it implements
14272     to always fail with ENOSYS.  Some functions are actually named
14273     something starting with __ and the normal name is an alias.  */
14274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14275 choke me
14276 #else
14277 $ac_func();
14278 #endif
14279
14280 ; return 0; }
14281 EOF
14282 if { (eval echo configure:14283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14283   rm -rf conftest*
14284   eval "ac_cv_func_$ac_func=yes"
14285 else
14286   echo "configure: failed program was:" >&5
14287   cat conftest.$ac_ext >&5
14288   rm -rf conftest*
14289   eval "ac_cv_func_$ac_func=no"
14290 fi
14291 rm -f conftest*
14292 fi
14293
14294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14295   echo "$ac_t""yes" 1>&6
14296     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14297   cat >> confdefs.h <<EOF
14298 #define $ac_tr_func 1
14299 EOF
14300  
14301 else
14302   echo "$ac_t""no" 1>&6
14303 fi
14304 done
14305     
14306   fi
14307
14308   
14309   echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14310 echo "configure:14311: checking for _sincosf declaration" >&5
14311   if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14312   echo $ac_n "(cached) $ac_c" 1>&6
14313 else
14314   
14315     
14316     ac_ext=C
14317 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14318 ac_cpp='$CXXCPP $CPPFLAGS'
14319 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14320 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14321 cross_compiling=$ac_cv_prog_cxx_cross
14322
14323     cat > conftest.$ac_ext <<EOF
14324 #line 14325 "configure"
14325 #include "confdefs.h"
14326 #include <math.h>
14327 int main() {
14328  _sincosf(0, 0, 0);
14329 ; return 0; }
14330 EOF
14331 if { (eval echo configure:14332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14332   rm -rf conftest*
14333   glibcpp_cv_func__sincosf_use=yes
14334 else
14335   echo "configure: failed program was:" >&5
14336   cat conftest.$ac_ext >&5
14337   rm -rf conftest*
14338   glibcpp_cv_func__sincosf_use=no
14339 fi
14340 rm -f conftest*
14341     ac_ext=c
14342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14343 ac_cpp='$CPP $CPPFLAGS'
14344 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14345 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14346 cross_compiling=$ac_cv_prog_cc_cross
14347
14348   
14349 fi
14350
14351   echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14352   if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14353     for ac_func in _sincosf
14354 do
14355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14356 echo "configure:14357: checking for $ac_func" >&5
14357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14358   echo $ac_n "(cached) $ac_c" 1>&6
14359 else
14360   cat > conftest.$ac_ext <<EOF
14361 #line 14362 "configure"
14362 #include "confdefs.h"
14363 /* System header to define __stub macros and hopefully few prototypes,
14364     which can conflict with char $ac_func(); below.  */
14365 #include <assert.h>
14366 /* Override any gcc2 internal prototype to avoid an error.  */
14367 /* We use char because int might match the return type of a gcc2
14368     builtin and then its argument prototype would still apply.  */
14369 char $ac_func();
14370
14371 int main() {
14372
14373 /* The GNU C library defines this for functions which it implements
14374     to always fail with ENOSYS.  Some functions are actually named
14375     something starting with __ and the normal name is an alias.  */
14376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14377 choke me
14378 #else
14379 $ac_func();
14380 #endif
14381
14382 ; return 0; }
14383 EOF
14384 if { (eval echo configure:14385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14385   rm -rf conftest*
14386   eval "ac_cv_func_$ac_func=yes"
14387 else
14388   echo "configure: failed program was:" >&5
14389   cat conftest.$ac_ext >&5
14390   rm -rf conftest*
14391   eval "ac_cv_func_$ac_func=no"
14392 fi
14393 rm -f conftest*
14394 fi
14395
14396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14397   echo "$ac_t""yes" 1>&6
14398     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14399   cat >> confdefs.h <<EOF
14400 #define $ac_tr_func 1
14401 EOF
14402  
14403 else
14404   echo "$ac_t""no" 1>&6
14405 fi
14406 done
14407     
14408   fi
14409
14410   
14411   echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14412 echo "configure:14413: checking for _finitef declaration" >&5
14413   if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14414   echo $ac_n "(cached) $ac_c" 1>&6
14415 else
14416   
14417     
14418     ac_ext=C
14419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14420 ac_cpp='$CXXCPP $CPPFLAGS'
14421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14423 cross_compiling=$ac_cv_prog_cxx_cross
14424
14425     cat > conftest.$ac_ext <<EOF
14426 #line 14427 "configure"
14427 #include "confdefs.h"
14428 #include <math.h>
14429 int main() {
14430  _finitef(0);
14431 ; return 0; }
14432 EOF
14433 if { (eval echo configure:14434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14434   rm -rf conftest*
14435   glibcpp_cv_func__finitef_use=yes
14436 else
14437   echo "configure: failed program was:" >&5
14438   cat conftest.$ac_ext >&5
14439   rm -rf conftest*
14440   glibcpp_cv_func__finitef_use=no
14441 fi
14442 rm -f conftest*
14443     ac_ext=c
14444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14445 ac_cpp='$CPP $CPPFLAGS'
14446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14448 cross_compiling=$ac_cv_prog_cc_cross
14449
14450   
14451 fi
14452
14453   echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14454   if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14455     for ac_func in _finitef
14456 do
14457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14458 echo "configure:14459: checking for $ac_func" >&5
14459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14460   echo $ac_n "(cached) $ac_c" 1>&6
14461 else
14462   cat > conftest.$ac_ext <<EOF
14463 #line 14464 "configure"
14464 #include "confdefs.h"
14465 /* System header to define __stub macros and hopefully few prototypes,
14466     which can conflict with char $ac_func(); below.  */
14467 #include <assert.h>
14468 /* Override any gcc2 internal prototype to avoid an error.  */
14469 /* We use char because int might match the return type of a gcc2
14470     builtin and then its argument prototype would still apply.  */
14471 char $ac_func();
14472
14473 int main() {
14474
14475 /* The GNU C library defines this for functions which it implements
14476     to always fail with ENOSYS.  Some functions are actually named
14477     something starting with __ and the normal name is an alias.  */
14478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14479 choke me
14480 #else
14481 $ac_func();
14482 #endif
14483
14484 ; return 0; }
14485 EOF
14486 if { (eval echo configure:14487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14487   rm -rf conftest*
14488   eval "ac_cv_func_$ac_func=yes"
14489 else
14490   echo "configure: failed program was:" >&5
14491   cat conftest.$ac_ext >&5
14492   rm -rf conftest*
14493   eval "ac_cv_func_$ac_func=no"
14494 fi
14495 rm -f conftest*
14496 fi
14497
14498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14499   echo "$ac_t""yes" 1>&6
14500     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14501   cat >> confdefs.h <<EOF
14502 #define $ac_tr_func 1
14503 EOF
14504  
14505 else
14506   echo "$ac_t""no" 1>&6
14507 fi
14508 done
14509     
14510   fi
14511
14512
14513     
14514   echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14515 echo "configure:14516: checking for _isnanl declaration" >&5
14516   if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14517   echo $ac_n "(cached) $ac_c" 1>&6
14518 else
14519   
14520     
14521     ac_ext=C
14522 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14523 ac_cpp='$CXXCPP $CPPFLAGS'
14524 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14525 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14526 cross_compiling=$ac_cv_prog_cxx_cross
14527
14528     cat > conftest.$ac_ext <<EOF
14529 #line 14530 "configure"
14530 #include "confdefs.h"
14531 #include <math.h>
14532 int main() {
14533  _isnanl(0);
14534 ; return 0; }
14535 EOF
14536 if { (eval echo configure:14537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14537   rm -rf conftest*
14538   glibcpp_cv_func__isnanl_use=yes
14539 else
14540   echo "configure: failed program was:" >&5
14541   cat conftest.$ac_ext >&5
14542   rm -rf conftest*
14543   glibcpp_cv_func__isnanl_use=no
14544 fi
14545 rm -f conftest*
14546     ac_ext=c
14547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14548 ac_cpp='$CPP $CPPFLAGS'
14549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14551 cross_compiling=$ac_cv_prog_cc_cross
14552
14553   
14554 fi
14555
14556   echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14557   if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14558     for ac_func in _isnanl
14559 do
14560 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14561 echo "configure:14562: checking for $ac_func" >&5
14562 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14563   echo $ac_n "(cached) $ac_c" 1>&6
14564 else
14565   cat > conftest.$ac_ext <<EOF
14566 #line 14567 "configure"
14567 #include "confdefs.h"
14568 /* System header to define __stub macros and hopefully few prototypes,
14569     which can conflict with char $ac_func(); below.  */
14570 #include <assert.h>
14571 /* Override any gcc2 internal prototype to avoid an error.  */
14572 /* We use char because int might match the return type of a gcc2
14573     builtin and then its argument prototype would still apply.  */
14574 char $ac_func();
14575
14576 int main() {
14577
14578 /* The GNU C library defines this for functions which it implements
14579     to always fail with ENOSYS.  Some functions are actually named
14580     something starting with __ and the normal name is an alias.  */
14581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14582 choke me
14583 #else
14584 $ac_func();
14585 #endif
14586
14587 ; return 0; }
14588 EOF
14589 if { (eval echo configure:14590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14590   rm -rf conftest*
14591   eval "ac_cv_func_$ac_func=yes"
14592 else
14593   echo "configure: failed program was:" >&5
14594   cat conftest.$ac_ext >&5
14595   rm -rf conftest*
14596   eval "ac_cv_func_$ac_func=no"
14597 fi
14598 rm -f conftest*
14599 fi
14600
14601 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14602   echo "$ac_t""yes" 1>&6
14603     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14604   cat >> confdefs.h <<EOF
14605 #define $ac_tr_func 1
14606 EOF
14607  
14608 else
14609   echo "$ac_t""no" 1>&6
14610 fi
14611 done
14612     
14613   fi
14614
14615   
14616   echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14617 echo "configure:14618: checking for _isinfl declaration" >&5
14618   if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14619   echo $ac_n "(cached) $ac_c" 1>&6
14620 else
14621   
14622     
14623     ac_ext=C
14624 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14625 ac_cpp='$CXXCPP $CPPFLAGS'
14626 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14627 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14628 cross_compiling=$ac_cv_prog_cxx_cross
14629
14630     cat > conftest.$ac_ext <<EOF
14631 #line 14632 "configure"
14632 #include "confdefs.h"
14633 #include <math.h>
14634 int main() {
14635  _isinfl(0);
14636 ; return 0; }
14637 EOF
14638 if { (eval echo configure:14639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14639   rm -rf conftest*
14640   glibcpp_cv_func__isinfl_use=yes
14641 else
14642   echo "configure: failed program was:" >&5
14643   cat conftest.$ac_ext >&5
14644   rm -rf conftest*
14645   glibcpp_cv_func__isinfl_use=no
14646 fi
14647 rm -f conftest*
14648     ac_ext=c
14649 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14650 ac_cpp='$CPP $CPPFLAGS'
14651 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14652 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14653 cross_compiling=$ac_cv_prog_cc_cross
14654
14655   
14656 fi
14657
14658   echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14659   if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14660     for ac_func in _isinfl
14661 do
14662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14663 echo "configure:14664: checking for $ac_func" >&5
14664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14665   echo $ac_n "(cached) $ac_c" 1>&6
14666 else
14667   cat > conftest.$ac_ext <<EOF
14668 #line 14669 "configure"
14669 #include "confdefs.h"
14670 /* System header to define __stub macros and hopefully few prototypes,
14671     which can conflict with char $ac_func(); below.  */
14672 #include <assert.h>
14673 /* Override any gcc2 internal prototype to avoid an error.  */
14674 /* We use char because int might match the return type of a gcc2
14675     builtin and then its argument prototype would still apply.  */
14676 char $ac_func();
14677
14678 int main() {
14679
14680 /* The GNU C library defines this for functions which it implements
14681     to always fail with ENOSYS.  Some functions are actually named
14682     something starting with __ and the normal name is an alias.  */
14683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14684 choke me
14685 #else
14686 $ac_func();
14687 #endif
14688
14689 ; return 0; }
14690 EOF
14691 if { (eval echo configure:14692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14692   rm -rf conftest*
14693   eval "ac_cv_func_$ac_func=yes"
14694 else
14695   echo "configure: failed program was:" >&5
14696   cat conftest.$ac_ext >&5
14697   rm -rf conftest*
14698   eval "ac_cv_func_$ac_func=no"
14699 fi
14700 rm -f conftest*
14701 fi
14702
14703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14704   echo "$ac_t""yes" 1>&6
14705     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14706   cat >> confdefs.h <<EOF
14707 #define $ac_tr_func 1
14708 EOF
14709  
14710 else
14711   echo "$ac_t""no" 1>&6
14712 fi
14713 done
14714     
14715   fi
14716
14717   
14718   echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14719 echo "configure:14720: checking for _copysignl declaration" >&5
14720   if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14721   echo $ac_n "(cached) $ac_c" 1>&6
14722 else
14723   
14724     
14725     ac_ext=C
14726 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14727 ac_cpp='$CXXCPP $CPPFLAGS'
14728 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14729 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14730 cross_compiling=$ac_cv_prog_cxx_cross
14731
14732     cat > conftest.$ac_ext <<EOF
14733 #line 14734 "configure"
14734 #include "confdefs.h"
14735 #include <math.h>
14736 int main() {
14737  _copysignl(0, 0);
14738 ; return 0; }
14739 EOF
14740 if { (eval echo configure:14741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14741   rm -rf conftest*
14742   glibcpp_cv_func__copysignl_use=yes
14743 else
14744   echo "configure: failed program was:" >&5
14745   cat conftest.$ac_ext >&5
14746   rm -rf conftest*
14747   glibcpp_cv_func__copysignl_use=no
14748 fi
14749 rm -f conftest*
14750     ac_ext=c
14751 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14752 ac_cpp='$CPP $CPPFLAGS'
14753 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14754 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14755 cross_compiling=$ac_cv_prog_cc_cross
14756
14757   
14758 fi
14759
14760   echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14761   if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14762     for ac_func in _copysignl
14763 do
14764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14765 echo "configure:14766: checking for $ac_func" >&5
14766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14767   echo $ac_n "(cached) $ac_c" 1>&6
14768 else
14769   cat > conftest.$ac_ext <<EOF
14770 #line 14771 "configure"
14771 #include "confdefs.h"
14772 /* System header to define __stub macros and hopefully few prototypes,
14773     which can conflict with char $ac_func(); below.  */
14774 #include <assert.h>
14775 /* Override any gcc2 internal prototype to avoid an error.  */
14776 /* We use char because int might match the return type of a gcc2
14777     builtin and then its argument prototype would still apply.  */
14778 char $ac_func();
14779
14780 int main() {
14781
14782 /* The GNU C library defines this for functions which it implements
14783     to always fail with ENOSYS.  Some functions are actually named
14784     something starting with __ and the normal name is an alias.  */
14785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14786 choke me
14787 #else
14788 $ac_func();
14789 #endif
14790
14791 ; return 0; }
14792 EOF
14793 if { (eval echo configure:14794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14794   rm -rf conftest*
14795   eval "ac_cv_func_$ac_func=yes"
14796 else
14797   echo "configure: failed program was:" >&5
14798   cat conftest.$ac_ext >&5
14799   rm -rf conftest*
14800   eval "ac_cv_func_$ac_func=no"
14801 fi
14802 rm -f conftest*
14803 fi
14804
14805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14806   echo "$ac_t""yes" 1>&6
14807     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14808   cat >> confdefs.h <<EOF
14809 #define $ac_tr_func 1
14810 EOF
14811  
14812 else
14813   echo "$ac_t""no" 1>&6
14814 fi
14815 done
14816     
14817   fi
14818
14819   
14820   echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14821 echo "configure:14822: checking for _acosl declaration" >&5
14822   if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14823   echo $ac_n "(cached) $ac_c" 1>&6
14824 else
14825   
14826     
14827     ac_ext=C
14828 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14829 ac_cpp='$CXXCPP $CPPFLAGS'
14830 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14831 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14832 cross_compiling=$ac_cv_prog_cxx_cross
14833
14834     cat > conftest.$ac_ext <<EOF
14835 #line 14836 "configure"
14836 #include "confdefs.h"
14837 #include <math.h>
14838 int main() {
14839  _acosl(0);
14840 ; return 0; }
14841 EOF
14842 if { (eval echo configure:14843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14843   rm -rf conftest*
14844   glibcpp_cv_func__acosl_use=yes
14845 else
14846   echo "configure: failed program was:" >&5
14847   cat conftest.$ac_ext >&5
14848   rm -rf conftest*
14849   glibcpp_cv_func__acosl_use=no
14850 fi
14851 rm -f conftest*
14852     ac_ext=c
14853 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14854 ac_cpp='$CPP $CPPFLAGS'
14855 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14856 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14857 cross_compiling=$ac_cv_prog_cc_cross
14858
14859   
14860 fi
14861
14862   echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14863   if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14864     for ac_func in _acosl
14865 do
14866 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14867 echo "configure:14868: checking for $ac_func" >&5
14868 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14869   echo $ac_n "(cached) $ac_c" 1>&6
14870 else
14871   cat > conftest.$ac_ext <<EOF
14872 #line 14873 "configure"
14873 #include "confdefs.h"
14874 /* System header to define __stub macros and hopefully few prototypes,
14875     which can conflict with char $ac_func(); below.  */
14876 #include <assert.h>
14877 /* Override any gcc2 internal prototype to avoid an error.  */
14878 /* We use char because int might match the return type of a gcc2
14879     builtin and then its argument prototype would still apply.  */
14880 char $ac_func();
14881
14882 int main() {
14883
14884 /* The GNU C library defines this for functions which it implements
14885     to always fail with ENOSYS.  Some functions are actually named
14886     something starting with __ and the normal name is an alias.  */
14887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14888 choke me
14889 #else
14890 $ac_func();
14891 #endif
14892
14893 ; return 0; }
14894 EOF
14895 if { (eval echo configure:14896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14896   rm -rf conftest*
14897   eval "ac_cv_func_$ac_func=yes"
14898 else
14899   echo "configure: failed program was:" >&5
14900   cat conftest.$ac_ext >&5
14901   rm -rf conftest*
14902   eval "ac_cv_func_$ac_func=no"
14903 fi
14904 rm -f conftest*
14905 fi
14906
14907 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14908   echo "$ac_t""yes" 1>&6
14909     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14910   cat >> confdefs.h <<EOF
14911 #define $ac_tr_func 1
14912 EOF
14913  
14914 else
14915   echo "$ac_t""no" 1>&6
14916 fi
14917 done
14918     
14919   fi
14920
14921   
14922   echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14923 echo "configure:14924: checking for _asinl declaration" >&5
14924   if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14925   echo $ac_n "(cached) $ac_c" 1>&6
14926 else
14927   
14928     
14929     ac_ext=C
14930 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14931 ac_cpp='$CXXCPP $CPPFLAGS'
14932 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14933 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14934 cross_compiling=$ac_cv_prog_cxx_cross
14935
14936     cat > conftest.$ac_ext <<EOF
14937 #line 14938 "configure"
14938 #include "confdefs.h"
14939 #include <math.h>
14940 int main() {
14941  _asinl(0);
14942 ; return 0; }
14943 EOF
14944 if { (eval echo configure:14945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14945   rm -rf conftest*
14946   glibcpp_cv_func__asinl_use=yes
14947 else
14948   echo "configure: failed program was:" >&5
14949   cat conftest.$ac_ext >&5
14950   rm -rf conftest*
14951   glibcpp_cv_func__asinl_use=no
14952 fi
14953 rm -f conftest*
14954     ac_ext=c
14955 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14956 ac_cpp='$CPP $CPPFLAGS'
14957 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14958 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14959 cross_compiling=$ac_cv_prog_cc_cross
14960
14961   
14962 fi
14963
14964   echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14965   if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14966     for ac_func in _asinl
14967 do
14968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14969 echo "configure:14970: checking for $ac_func" >&5
14970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14971   echo $ac_n "(cached) $ac_c" 1>&6
14972 else
14973   cat > conftest.$ac_ext <<EOF
14974 #line 14975 "configure"
14975 #include "confdefs.h"
14976 /* System header to define __stub macros and hopefully few prototypes,
14977     which can conflict with char $ac_func(); below.  */
14978 #include <assert.h>
14979 /* Override any gcc2 internal prototype to avoid an error.  */
14980 /* We use char because int might match the return type of a gcc2
14981     builtin and then its argument prototype would still apply.  */
14982 char $ac_func();
14983
14984 int main() {
14985
14986 /* The GNU C library defines this for functions which it implements
14987     to always fail with ENOSYS.  Some functions are actually named
14988     something starting with __ and the normal name is an alias.  */
14989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14990 choke me
14991 #else
14992 $ac_func();
14993 #endif
14994
14995 ; return 0; }
14996 EOF
14997 if { (eval echo configure:14998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14998   rm -rf conftest*
14999   eval "ac_cv_func_$ac_func=yes"
15000 else
15001   echo "configure: failed program was:" >&5
15002   cat conftest.$ac_ext >&5
15003   rm -rf conftest*
15004   eval "ac_cv_func_$ac_func=no"
15005 fi
15006 rm -f conftest*
15007 fi
15008
15009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15010   echo "$ac_t""yes" 1>&6
15011     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15012   cat >> confdefs.h <<EOF
15013 #define $ac_tr_func 1
15014 EOF
15015  
15016 else
15017   echo "$ac_t""no" 1>&6
15018 fi
15019 done
15020     
15021   fi
15022
15023   
15024   echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
15025 echo "configure:15026: checking for _atanl declaration" >&5
15026   if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
15027   echo $ac_n "(cached) $ac_c" 1>&6
15028 else
15029   
15030     
15031     ac_ext=C
15032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15033 ac_cpp='$CXXCPP $CPPFLAGS'
15034 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15035 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15036 cross_compiling=$ac_cv_prog_cxx_cross
15037
15038     cat > conftest.$ac_ext <<EOF
15039 #line 15040 "configure"
15040 #include "confdefs.h"
15041 #include <math.h>
15042 int main() {
15043  _atanl(0);
15044 ; return 0; }
15045 EOF
15046 if { (eval echo configure:15047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15047   rm -rf conftest*
15048   glibcpp_cv_func__atanl_use=yes
15049 else
15050   echo "configure: failed program was:" >&5
15051   cat conftest.$ac_ext >&5
15052   rm -rf conftest*
15053   glibcpp_cv_func__atanl_use=no
15054 fi
15055 rm -f conftest*
15056     ac_ext=c
15057 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15058 ac_cpp='$CPP $CPPFLAGS'
15059 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15060 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15061 cross_compiling=$ac_cv_prog_cc_cross
15062
15063   
15064 fi
15065
15066   echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
15067   if test x$glibcpp_cv_func__atanl_use = x"yes"; then
15068     for ac_func in _atanl
15069 do
15070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15071 echo "configure:15072: checking for $ac_func" >&5
15072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15073   echo $ac_n "(cached) $ac_c" 1>&6
15074 else
15075   cat > conftest.$ac_ext <<EOF
15076 #line 15077 "configure"
15077 #include "confdefs.h"
15078 /* System header to define __stub macros and hopefully few prototypes,
15079     which can conflict with char $ac_func(); below.  */
15080 #include <assert.h>
15081 /* Override any gcc2 internal prototype to avoid an error.  */
15082 /* We use char because int might match the return type of a gcc2
15083     builtin and then its argument prototype would still apply.  */
15084 char $ac_func();
15085
15086 int main() {
15087
15088 /* The GNU C library defines this for functions which it implements
15089     to always fail with ENOSYS.  Some functions are actually named
15090     something starting with __ and the normal name is an alias.  */
15091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15092 choke me
15093 #else
15094 $ac_func();
15095 #endif
15096
15097 ; return 0; }
15098 EOF
15099 if { (eval echo configure:15100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15100   rm -rf conftest*
15101   eval "ac_cv_func_$ac_func=yes"
15102 else
15103   echo "configure: failed program was:" >&5
15104   cat conftest.$ac_ext >&5
15105   rm -rf conftest*
15106   eval "ac_cv_func_$ac_func=no"
15107 fi
15108 rm -f conftest*
15109 fi
15110
15111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15112   echo "$ac_t""yes" 1>&6
15113     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15114   cat >> confdefs.h <<EOF
15115 #define $ac_tr_func 1
15116 EOF
15117  
15118 else
15119   echo "$ac_t""no" 1>&6
15120 fi
15121 done
15122     
15123   fi
15124
15125   
15126   echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
15127 echo "configure:15128: checking for _atan2l declaration" >&5
15128   if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
15129   echo $ac_n "(cached) $ac_c" 1>&6
15130 else
15131   
15132     
15133     ac_ext=C
15134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15135 ac_cpp='$CXXCPP $CPPFLAGS'
15136 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15137 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15138 cross_compiling=$ac_cv_prog_cxx_cross
15139
15140     cat > conftest.$ac_ext <<EOF
15141 #line 15142 "configure"
15142 #include "confdefs.h"
15143 #include <math.h>
15144 int main() {
15145  _atan2l(0, 0);
15146 ; return 0; }
15147 EOF
15148 if { (eval echo configure:15149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15149   rm -rf conftest*
15150   glibcpp_cv_func__atan2l_use=yes
15151 else
15152   echo "configure: failed program was:" >&5
15153   cat conftest.$ac_ext >&5
15154   rm -rf conftest*
15155   glibcpp_cv_func__atan2l_use=no
15156 fi
15157 rm -f conftest*
15158     ac_ext=c
15159 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15160 ac_cpp='$CPP $CPPFLAGS'
15161 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15162 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15163 cross_compiling=$ac_cv_prog_cc_cross
15164
15165   
15166 fi
15167
15168   echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
15169   if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
15170     for ac_func in _atan2l
15171 do
15172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15173 echo "configure:15174: checking for $ac_func" >&5
15174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15175   echo $ac_n "(cached) $ac_c" 1>&6
15176 else
15177   cat > conftest.$ac_ext <<EOF
15178 #line 15179 "configure"
15179 #include "confdefs.h"
15180 /* System header to define __stub macros and hopefully few prototypes,
15181     which can conflict with char $ac_func(); below.  */
15182 #include <assert.h>
15183 /* Override any gcc2 internal prototype to avoid an error.  */
15184 /* We use char because int might match the return type of a gcc2
15185     builtin and then its argument prototype would still apply.  */
15186 char $ac_func();
15187
15188 int main() {
15189
15190 /* The GNU C library defines this for functions which it implements
15191     to always fail with ENOSYS.  Some functions are actually named
15192     something starting with __ and the normal name is an alias.  */
15193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15194 choke me
15195 #else
15196 $ac_func();
15197 #endif
15198
15199 ; return 0; }
15200 EOF
15201 if { (eval echo configure:15202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15202   rm -rf conftest*
15203   eval "ac_cv_func_$ac_func=yes"
15204 else
15205   echo "configure: failed program was:" >&5
15206   cat conftest.$ac_ext >&5
15207   rm -rf conftest*
15208   eval "ac_cv_func_$ac_func=no"
15209 fi
15210 rm -f conftest*
15211 fi
15212
15213 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15214   echo "$ac_t""yes" 1>&6
15215     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15216   cat >> confdefs.h <<EOF
15217 #define $ac_tr_func 1
15218 EOF
15219  
15220 else
15221   echo "$ac_t""no" 1>&6
15222 fi
15223 done
15224     
15225   fi
15226
15227   
15228   echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
15229 echo "configure:15230: checking for _ceill declaration" >&5
15230   if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
15231   echo $ac_n "(cached) $ac_c" 1>&6
15232 else
15233   
15234     
15235     ac_ext=C
15236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15237 ac_cpp='$CXXCPP $CPPFLAGS'
15238 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15239 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15240 cross_compiling=$ac_cv_prog_cxx_cross
15241
15242     cat > conftest.$ac_ext <<EOF
15243 #line 15244 "configure"
15244 #include "confdefs.h"
15245 #include <math.h>
15246 int main() {
15247  _ceill(0);
15248 ; return 0; }
15249 EOF
15250 if { (eval echo configure:15251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15251   rm -rf conftest*
15252   glibcpp_cv_func__ceill_use=yes
15253 else
15254   echo "configure: failed program was:" >&5
15255   cat conftest.$ac_ext >&5
15256   rm -rf conftest*
15257   glibcpp_cv_func__ceill_use=no
15258 fi
15259 rm -f conftest*
15260     ac_ext=c
15261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15262 ac_cpp='$CPP $CPPFLAGS'
15263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15265 cross_compiling=$ac_cv_prog_cc_cross
15266
15267   
15268 fi
15269
15270   echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
15271   if test x$glibcpp_cv_func__ceill_use = x"yes"; then
15272     for ac_func in _ceill
15273 do
15274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15275 echo "configure:15276: checking for $ac_func" >&5
15276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15277   echo $ac_n "(cached) $ac_c" 1>&6
15278 else
15279   cat > conftest.$ac_ext <<EOF
15280 #line 15281 "configure"
15281 #include "confdefs.h"
15282 /* System header to define __stub macros and hopefully few prototypes,
15283     which can conflict with char $ac_func(); below.  */
15284 #include <assert.h>
15285 /* Override any gcc2 internal prototype to avoid an error.  */
15286 /* We use char because int might match the return type of a gcc2
15287     builtin and then its argument prototype would still apply.  */
15288 char $ac_func();
15289
15290 int main() {
15291
15292 /* The GNU C library defines this for functions which it implements
15293     to always fail with ENOSYS.  Some functions are actually named
15294     something starting with __ and the normal name is an alias.  */
15295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15296 choke me
15297 #else
15298 $ac_func();
15299 #endif
15300
15301 ; return 0; }
15302 EOF
15303 if { (eval echo configure:15304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15304   rm -rf conftest*
15305   eval "ac_cv_func_$ac_func=yes"
15306 else
15307   echo "configure: failed program was:" >&5
15308   cat conftest.$ac_ext >&5
15309   rm -rf conftest*
15310   eval "ac_cv_func_$ac_func=no"
15311 fi
15312 rm -f conftest*
15313 fi
15314
15315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15316   echo "$ac_t""yes" 1>&6
15317     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15318   cat >> confdefs.h <<EOF
15319 #define $ac_tr_func 1
15320 EOF
15321  
15322 else
15323   echo "$ac_t""no" 1>&6
15324 fi
15325 done
15326     
15327   fi
15328
15329   
15330   echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15331 echo "configure:15332: checking for _cosl declaration" >&5
15332   if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15333   echo $ac_n "(cached) $ac_c" 1>&6
15334 else
15335   
15336     
15337     ac_ext=C
15338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15339 ac_cpp='$CXXCPP $CPPFLAGS'
15340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15342 cross_compiling=$ac_cv_prog_cxx_cross
15343
15344     cat > conftest.$ac_ext <<EOF
15345 #line 15346 "configure"
15346 #include "confdefs.h"
15347 #include <math.h>
15348 int main() {
15349  _cosl(0);
15350 ; return 0; }
15351 EOF
15352 if { (eval echo configure:15353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15353   rm -rf conftest*
15354   glibcpp_cv_func__cosl_use=yes
15355 else
15356   echo "configure: failed program was:" >&5
15357   cat conftest.$ac_ext >&5
15358   rm -rf conftest*
15359   glibcpp_cv_func__cosl_use=no
15360 fi
15361 rm -f conftest*
15362     ac_ext=c
15363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15364 ac_cpp='$CPP $CPPFLAGS'
15365 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15366 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15367 cross_compiling=$ac_cv_prog_cc_cross
15368
15369   
15370 fi
15371
15372   echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15373   if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15374     for ac_func in _cosl
15375 do
15376 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15377 echo "configure:15378: checking for $ac_func" >&5
15378 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15379   echo $ac_n "(cached) $ac_c" 1>&6
15380 else
15381   cat > conftest.$ac_ext <<EOF
15382 #line 15383 "configure"
15383 #include "confdefs.h"
15384 /* System header to define __stub macros and hopefully few prototypes,
15385     which can conflict with char $ac_func(); below.  */
15386 #include <assert.h>
15387 /* Override any gcc2 internal prototype to avoid an error.  */
15388 /* We use char because int might match the return type of a gcc2
15389     builtin and then its argument prototype would still apply.  */
15390 char $ac_func();
15391
15392 int main() {
15393
15394 /* The GNU C library defines this for functions which it implements
15395     to always fail with ENOSYS.  Some functions are actually named
15396     something starting with __ and the normal name is an alias.  */
15397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15398 choke me
15399 #else
15400 $ac_func();
15401 #endif
15402
15403 ; return 0; }
15404 EOF
15405 if { (eval echo configure:15406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15406   rm -rf conftest*
15407   eval "ac_cv_func_$ac_func=yes"
15408 else
15409   echo "configure: failed program was:" >&5
15410   cat conftest.$ac_ext >&5
15411   rm -rf conftest*
15412   eval "ac_cv_func_$ac_func=no"
15413 fi
15414 rm -f conftest*
15415 fi
15416
15417 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15418   echo "$ac_t""yes" 1>&6
15419     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15420   cat >> confdefs.h <<EOF
15421 #define $ac_tr_func 1
15422 EOF
15423  
15424 else
15425   echo "$ac_t""no" 1>&6
15426 fi
15427 done
15428     
15429   fi
15430
15431   
15432   echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15433 echo "configure:15434: checking for _coshl declaration" >&5
15434   if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15435   echo $ac_n "(cached) $ac_c" 1>&6
15436 else
15437   
15438     
15439     ac_ext=C
15440 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15441 ac_cpp='$CXXCPP $CPPFLAGS'
15442 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15443 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15444 cross_compiling=$ac_cv_prog_cxx_cross
15445
15446     cat > conftest.$ac_ext <<EOF
15447 #line 15448 "configure"
15448 #include "confdefs.h"
15449 #include <math.h>
15450 int main() {
15451  _coshl(0);
15452 ; return 0; }
15453 EOF
15454 if { (eval echo configure:15455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15455   rm -rf conftest*
15456   glibcpp_cv_func__coshl_use=yes
15457 else
15458   echo "configure: failed program was:" >&5
15459   cat conftest.$ac_ext >&5
15460   rm -rf conftest*
15461   glibcpp_cv_func__coshl_use=no
15462 fi
15463 rm -f conftest*
15464     ac_ext=c
15465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15466 ac_cpp='$CPP $CPPFLAGS'
15467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15469 cross_compiling=$ac_cv_prog_cc_cross
15470
15471   
15472 fi
15473
15474   echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15475   if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15476     for ac_func in _coshl
15477 do
15478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15479 echo "configure:15480: checking for $ac_func" >&5
15480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15481   echo $ac_n "(cached) $ac_c" 1>&6
15482 else
15483   cat > conftest.$ac_ext <<EOF
15484 #line 15485 "configure"
15485 #include "confdefs.h"
15486 /* System header to define __stub macros and hopefully few prototypes,
15487     which can conflict with char $ac_func(); below.  */
15488 #include <assert.h>
15489 /* Override any gcc2 internal prototype to avoid an error.  */
15490 /* We use char because int might match the return type of a gcc2
15491     builtin and then its argument prototype would still apply.  */
15492 char $ac_func();
15493
15494 int main() {
15495
15496 /* The GNU C library defines this for functions which it implements
15497     to always fail with ENOSYS.  Some functions are actually named
15498     something starting with __ and the normal name is an alias.  */
15499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15500 choke me
15501 #else
15502 $ac_func();
15503 #endif
15504
15505 ; return 0; }
15506 EOF
15507 if { (eval echo configure:15508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15508   rm -rf conftest*
15509   eval "ac_cv_func_$ac_func=yes"
15510 else
15511   echo "configure: failed program was:" >&5
15512   cat conftest.$ac_ext >&5
15513   rm -rf conftest*
15514   eval "ac_cv_func_$ac_func=no"
15515 fi
15516 rm -f conftest*
15517 fi
15518
15519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15520   echo "$ac_t""yes" 1>&6
15521     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15522   cat >> confdefs.h <<EOF
15523 #define $ac_tr_func 1
15524 EOF
15525  
15526 else
15527   echo "$ac_t""no" 1>&6
15528 fi
15529 done
15530     
15531   fi
15532
15533   
15534   echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15535 echo "configure:15536: checking for _expl declaration" >&5
15536   if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15537   echo $ac_n "(cached) $ac_c" 1>&6
15538 else
15539   
15540     
15541     ac_ext=C
15542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15543 ac_cpp='$CXXCPP $CPPFLAGS'
15544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15546 cross_compiling=$ac_cv_prog_cxx_cross
15547
15548     cat > conftest.$ac_ext <<EOF
15549 #line 15550 "configure"
15550 #include "confdefs.h"
15551 #include <math.h>
15552 int main() {
15553  _expl(0);
15554 ; return 0; }
15555 EOF
15556 if { (eval echo configure:15557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15557   rm -rf conftest*
15558   glibcpp_cv_func__expl_use=yes
15559 else
15560   echo "configure: failed program was:" >&5
15561   cat conftest.$ac_ext >&5
15562   rm -rf conftest*
15563   glibcpp_cv_func__expl_use=no
15564 fi
15565 rm -f conftest*
15566     ac_ext=c
15567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15568 ac_cpp='$CPP $CPPFLAGS'
15569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15571 cross_compiling=$ac_cv_prog_cc_cross
15572
15573   
15574 fi
15575
15576   echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15577   if test x$glibcpp_cv_func__expl_use = x"yes"; then
15578     for ac_func in _expl
15579 do
15580 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15581 echo "configure:15582: checking for $ac_func" >&5
15582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15583   echo $ac_n "(cached) $ac_c" 1>&6
15584 else
15585   cat > conftest.$ac_ext <<EOF
15586 #line 15587 "configure"
15587 #include "confdefs.h"
15588 /* System header to define __stub macros and hopefully few prototypes,
15589     which can conflict with char $ac_func(); below.  */
15590 #include <assert.h>
15591 /* Override any gcc2 internal prototype to avoid an error.  */
15592 /* We use char because int might match the return type of a gcc2
15593     builtin and then its argument prototype would still apply.  */
15594 char $ac_func();
15595
15596 int main() {
15597
15598 /* The GNU C library defines this for functions which it implements
15599     to always fail with ENOSYS.  Some functions are actually named
15600     something starting with __ and the normal name is an alias.  */
15601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15602 choke me
15603 #else
15604 $ac_func();
15605 #endif
15606
15607 ; return 0; }
15608 EOF
15609 if { (eval echo configure:15610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15610   rm -rf conftest*
15611   eval "ac_cv_func_$ac_func=yes"
15612 else
15613   echo "configure: failed program was:" >&5
15614   cat conftest.$ac_ext >&5
15615   rm -rf conftest*
15616   eval "ac_cv_func_$ac_func=no"
15617 fi
15618 rm -f conftest*
15619 fi
15620
15621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15622   echo "$ac_t""yes" 1>&6
15623     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15624   cat >> confdefs.h <<EOF
15625 #define $ac_tr_func 1
15626 EOF
15627  
15628 else
15629   echo "$ac_t""no" 1>&6
15630 fi
15631 done
15632     
15633   fi
15634
15635   
15636   echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15637 echo "configure:15638: checking for _fabsl declaration" >&5
15638   if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15639   echo $ac_n "(cached) $ac_c" 1>&6
15640 else
15641   
15642     
15643     ac_ext=C
15644 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15645 ac_cpp='$CXXCPP $CPPFLAGS'
15646 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15647 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15648 cross_compiling=$ac_cv_prog_cxx_cross
15649
15650     cat > conftest.$ac_ext <<EOF
15651 #line 15652 "configure"
15652 #include "confdefs.h"
15653 #include <math.h>
15654 int main() {
15655  _fabsl(0);
15656 ; return 0; }
15657 EOF
15658 if { (eval echo configure:15659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15659   rm -rf conftest*
15660   glibcpp_cv_func__fabsl_use=yes
15661 else
15662   echo "configure: failed program was:" >&5
15663   cat conftest.$ac_ext >&5
15664   rm -rf conftest*
15665   glibcpp_cv_func__fabsl_use=no
15666 fi
15667 rm -f conftest*
15668     ac_ext=c
15669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15670 ac_cpp='$CPP $CPPFLAGS'
15671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15673 cross_compiling=$ac_cv_prog_cc_cross
15674
15675   
15676 fi
15677
15678   echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15679   if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15680     for ac_func in _fabsl
15681 do
15682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15683 echo "configure:15684: checking for $ac_func" >&5
15684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15685   echo $ac_n "(cached) $ac_c" 1>&6
15686 else
15687   cat > conftest.$ac_ext <<EOF
15688 #line 15689 "configure"
15689 #include "confdefs.h"
15690 /* System header to define __stub macros and hopefully few prototypes,
15691     which can conflict with char $ac_func(); below.  */
15692 #include <assert.h>
15693 /* Override any gcc2 internal prototype to avoid an error.  */
15694 /* We use char because int might match the return type of a gcc2
15695     builtin and then its argument prototype would still apply.  */
15696 char $ac_func();
15697
15698 int main() {
15699
15700 /* The GNU C library defines this for functions which it implements
15701     to always fail with ENOSYS.  Some functions are actually named
15702     something starting with __ and the normal name is an alias.  */
15703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15704 choke me
15705 #else
15706 $ac_func();
15707 #endif
15708
15709 ; return 0; }
15710 EOF
15711 if { (eval echo configure:15712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15712   rm -rf conftest*
15713   eval "ac_cv_func_$ac_func=yes"
15714 else
15715   echo "configure: failed program was:" >&5
15716   cat conftest.$ac_ext >&5
15717   rm -rf conftest*
15718   eval "ac_cv_func_$ac_func=no"
15719 fi
15720 rm -f conftest*
15721 fi
15722
15723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15724   echo "$ac_t""yes" 1>&6
15725     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15726   cat >> confdefs.h <<EOF
15727 #define $ac_tr_func 1
15728 EOF
15729  
15730 else
15731   echo "$ac_t""no" 1>&6
15732 fi
15733 done
15734     
15735   fi
15736
15737   
15738   echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15739 echo "configure:15740: checking for _floorl declaration" >&5
15740   if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15741   echo $ac_n "(cached) $ac_c" 1>&6
15742 else
15743   
15744     
15745     ac_ext=C
15746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15747 ac_cpp='$CXXCPP $CPPFLAGS'
15748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15750 cross_compiling=$ac_cv_prog_cxx_cross
15751
15752     cat > conftest.$ac_ext <<EOF
15753 #line 15754 "configure"
15754 #include "confdefs.h"
15755 #include <math.h>
15756 int main() {
15757  _floorl(0);
15758 ; return 0; }
15759 EOF
15760 if { (eval echo configure:15761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15761   rm -rf conftest*
15762   glibcpp_cv_func__floorl_use=yes
15763 else
15764   echo "configure: failed program was:" >&5
15765   cat conftest.$ac_ext >&5
15766   rm -rf conftest*
15767   glibcpp_cv_func__floorl_use=no
15768 fi
15769 rm -f conftest*
15770     ac_ext=c
15771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15772 ac_cpp='$CPP $CPPFLAGS'
15773 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15774 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15775 cross_compiling=$ac_cv_prog_cc_cross
15776
15777   
15778 fi
15779
15780   echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15781   if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15782     for ac_func in _floorl
15783 do
15784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15785 echo "configure:15786: checking for $ac_func" >&5
15786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15787   echo $ac_n "(cached) $ac_c" 1>&6
15788 else
15789   cat > conftest.$ac_ext <<EOF
15790 #line 15791 "configure"
15791 #include "confdefs.h"
15792 /* System header to define __stub macros and hopefully few prototypes,
15793     which can conflict with char $ac_func(); below.  */
15794 #include <assert.h>
15795 /* Override any gcc2 internal prototype to avoid an error.  */
15796 /* We use char because int might match the return type of a gcc2
15797     builtin and then its argument prototype would still apply.  */
15798 char $ac_func();
15799
15800 int main() {
15801
15802 /* The GNU C library defines this for functions which it implements
15803     to always fail with ENOSYS.  Some functions are actually named
15804     something starting with __ and the normal name is an alias.  */
15805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15806 choke me
15807 #else
15808 $ac_func();
15809 #endif
15810
15811 ; return 0; }
15812 EOF
15813 if { (eval echo configure:15814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15814   rm -rf conftest*
15815   eval "ac_cv_func_$ac_func=yes"
15816 else
15817   echo "configure: failed program was:" >&5
15818   cat conftest.$ac_ext >&5
15819   rm -rf conftest*
15820   eval "ac_cv_func_$ac_func=no"
15821 fi
15822 rm -f conftest*
15823 fi
15824
15825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15826   echo "$ac_t""yes" 1>&6
15827     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15828   cat >> confdefs.h <<EOF
15829 #define $ac_tr_func 1
15830 EOF
15831  
15832 else
15833   echo "$ac_t""no" 1>&6
15834 fi
15835 done
15836     
15837   fi
15838
15839   
15840   echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15841 echo "configure:15842: checking for _fmodl declaration" >&5
15842   if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15843   echo $ac_n "(cached) $ac_c" 1>&6
15844 else
15845   
15846     
15847     ac_ext=C
15848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15849 ac_cpp='$CXXCPP $CPPFLAGS'
15850 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15851 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15852 cross_compiling=$ac_cv_prog_cxx_cross
15853
15854     cat > conftest.$ac_ext <<EOF
15855 #line 15856 "configure"
15856 #include "confdefs.h"
15857 #include <math.h>
15858 int main() {
15859  _fmodl(0, 0);
15860 ; return 0; }
15861 EOF
15862 if { (eval echo configure:15863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15863   rm -rf conftest*
15864   glibcpp_cv_func__fmodl_use=yes
15865 else
15866   echo "configure: failed program was:" >&5
15867   cat conftest.$ac_ext >&5
15868   rm -rf conftest*
15869   glibcpp_cv_func__fmodl_use=no
15870 fi
15871 rm -f conftest*
15872     ac_ext=c
15873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15874 ac_cpp='$CPP $CPPFLAGS'
15875 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15876 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15877 cross_compiling=$ac_cv_prog_cc_cross
15878
15879   
15880 fi
15881
15882   echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15883   if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15884     for ac_func in _fmodl
15885 do
15886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15887 echo "configure:15888: checking for $ac_func" >&5
15888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15889   echo $ac_n "(cached) $ac_c" 1>&6
15890 else
15891   cat > conftest.$ac_ext <<EOF
15892 #line 15893 "configure"
15893 #include "confdefs.h"
15894 /* System header to define __stub macros and hopefully few prototypes,
15895     which can conflict with char $ac_func(); below.  */
15896 #include <assert.h>
15897 /* Override any gcc2 internal prototype to avoid an error.  */
15898 /* We use char because int might match the return type of a gcc2
15899     builtin and then its argument prototype would still apply.  */
15900 char $ac_func();
15901
15902 int main() {
15903
15904 /* The GNU C library defines this for functions which it implements
15905     to always fail with ENOSYS.  Some functions are actually named
15906     something starting with __ and the normal name is an alias.  */
15907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15908 choke me
15909 #else
15910 $ac_func();
15911 #endif
15912
15913 ; return 0; }
15914 EOF
15915 if { (eval echo configure:15916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15916   rm -rf conftest*
15917   eval "ac_cv_func_$ac_func=yes"
15918 else
15919   echo "configure: failed program was:" >&5
15920   cat conftest.$ac_ext >&5
15921   rm -rf conftest*
15922   eval "ac_cv_func_$ac_func=no"
15923 fi
15924 rm -f conftest*
15925 fi
15926
15927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15928   echo "$ac_t""yes" 1>&6
15929     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15930   cat >> confdefs.h <<EOF
15931 #define $ac_tr_func 1
15932 EOF
15933  
15934 else
15935   echo "$ac_t""no" 1>&6
15936 fi
15937 done
15938     
15939   fi
15940
15941   
15942   echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15943 echo "configure:15944: checking for _frexpl declaration" >&5
15944   if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15945   echo $ac_n "(cached) $ac_c" 1>&6
15946 else
15947   
15948     
15949     ac_ext=C
15950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15951 ac_cpp='$CXXCPP $CPPFLAGS'
15952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15954 cross_compiling=$ac_cv_prog_cxx_cross
15955
15956     cat > conftest.$ac_ext <<EOF
15957 #line 15958 "configure"
15958 #include "confdefs.h"
15959 #include <math.h>
15960 int main() {
15961  _frexpl(0, 0);
15962 ; return 0; }
15963 EOF
15964 if { (eval echo configure:15965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15965   rm -rf conftest*
15966   glibcpp_cv_func__frexpl_use=yes
15967 else
15968   echo "configure: failed program was:" >&5
15969   cat conftest.$ac_ext >&5
15970   rm -rf conftest*
15971   glibcpp_cv_func__frexpl_use=no
15972 fi
15973 rm -f conftest*
15974     ac_ext=c
15975 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15976 ac_cpp='$CPP $CPPFLAGS'
15977 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15978 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15979 cross_compiling=$ac_cv_prog_cc_cross
15980
15981   
15982 fi
15983
15984   echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15985   if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15986     for ac_func in _frexpl
15987 do
15988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15989 echo "configure:15990: checking for $ac_func" >&5
15990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15991   echo $ac_n "(cached) $ac_c" 1>&6
15992 else
15993   cat > conftest.$ac_ext <<EOF
15994 #line 15995 "configure"
15995 #include "confdefs.h"
15996 /* System header to define __stub macros and hopefully few prototypes,
15997     which can conflict with char $ac_func(); below.  */
15998 #include <assert.h>
15999 /* Override any gcc2 internal prototype to avoid an error.  */
16000 /* We use char because int might match the return type of a gcc2
16001     builtin and then its argument prototype would still apply.  */
16002 char $ac_func();
16003
16004 int main() {
16005
16006 /* The GNU C library defines this for functions which it implements
16007     to always fail with ENOSYS.  Some functions are actually named
16008     something starting with __ and the normal name is an alias.  */
16009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16010 choke me
16011 #else
16012 $ac_func();
16013 #endif
16014
16015 ; return 0; }
16016 EOF
16017 if { (eval echo configure:16018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16018   rm -rf conftest*
16019   eval "ac_cv_func_$ac_func=yes"
16020 else
16021   echo "configure: failed program was:" >&5
16022   cat conftest.$ac_ext >&5
16023   rm -rf conftest*
16024   eval "ac_cv_func_$ac_func=no"
16025 fi
16026 rm -f conftest*
16027 fi
16028
16029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16030   echo "$ac_t""yes" 1>&6
16031     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16032   cat >> confdefs.h <<EOF
16033 #define $ac_tr_func 1
16034 EOF
16035  
16036 else
16037   echo "$ac_t""no" 1>&6
16038 fi
16039 done
16040     
16041   fi
16042
16043   
16044   echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
16045 echo "configure:16046: checking for _ldexpl declaration" >&5
16046   if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
16047   echo $ac_n "(cached) $ac_c" 1>&6
16048 else
16049   
16050     
16051     ac_ext=C
16052 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16053 ac_cpp='$CXXCPP $CPPFLAGS'
16054 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16055 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16056 cross_compiling=$ac_cv_prog_cxx_cross
16057
16058     cat > conftest.$ac_ext <<EOF
16059 #line 16060 "configure"
16060 #include "confdefs.h"
16061 #include <math.h>
16062 int main() {
16063  _ldexpl(0, 0);
16064 ; return 0; }
16065 EOF
16066 if { (eval echo configure:16067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16067   rm -rf conftest*
16068   glibcpp_cv_func__ldexpl_use=yes
16069 else
16070   echo "configure: failed program was:" >&5
16071   cat conftest.$ac_ext >&5
16072   rm -rf conftest*
16073   glibcpp_cv_func__ldexpl_use=no
16074 fi
16075 rm -f conftest*
16076     ac_ext=c
16077 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16078 ac_cpp='$CPP $CPPFLAGS'
16079 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16080 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16081 cross_compiling=$ac_cv_prog_cc_cross
16082
16083   
16084 fi
16085
16086   echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
16087   if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
16088     for ac_func in _ldexpl
16089 do
16090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16091 echo "configure:16092: checking for $ac_func" >&5
16092 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16093   echo $ac_n "(cached) $ac_c" 1>&6
16094 else
16095   cat > conftest.$ac_ext <<EOF
16096 #line 16097 "configure"
16097 #include "confdefs.h"
16098 /* System header to define __stub macros and hopefully few prototypes,
16099     which can conflict with char $ac_func(); below.  */
16100 #include <assert.h>
16101 /* Override any gcc2 internal prototype to avoid an error.  */
16102 /* We use char because int might match the return type of a gcc2
16103     builtin and then its argument prototype would still apply.  */
16104 char $ac_func();
16105
16106 int main() {
16107
16108 /* The GNU C library defines this for functions which it implements
16109     to always fail with ENOSYS.  Some functions are actually named
16110     something starting with __ and the normal name is an alias.  */
16111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16112 choke me
16113 #else
16114 $ac_func();
16115 #endif
16116
16117 ; return 0; }
16118 EOF
16119 if { (eval echo configure:16120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16120   rm -rf conftest*
16121   eval "ac_cv_func_$ac_func=yes"
16122 else
16123   echo "configure: failed program was:" >&5
16124   cat conftest.$ac_ext >&5
16125   rm -rf conftest*
16126   eval "ac_cv_func_$ac_func=no"
16127 fi
16128 rm -f conftest*
16129 fi
16130
16131 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16132   echo "$ac_t""yes" 1>&6
16133     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16134   cat >> confdefs.h <<EOF
16135 #define $ac_tr_func 1
16136 EOF
16137  
16138 else
16139   echo "$ac_t""no" 1>&6
16140 fi
16141 done
16142     
16143   fi
16144
16145   
16146   echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
16147 echo "configure:16148: checking for _logl declaration" >&5
16148   if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
16149   echo $ac_n "(cached) $ac_c" 1>&6
16150 else
16151   
16152     
16153     ac_ext=C
16154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16155 ac_cpp='$CXXCPP $CPPFLAGS'
16156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16158 cross_compiling=$ac_cv_prog_cxx_cross
16159
16160     cat > conftest.$ac_ext <<EOF
16161 #line 16162 "configure"
16162 #include "confdefs.h"
16163 #include <math.h>
16164 int main() {
16165  _logl(0);
16166 ; return 0; }
16167 EOF
16168 if { (eval echo configure:16169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16169   rm -rf conftest*
16170   glibcpp_cv_func__logl_use=yes
16171 else
16172   echo "configure: failed program was:" >&5
16173   cat conftest.$ac_ext >&5
16174   rm -rf conftest*
16175   glibcpp_cv_func__logl_use=no
16176 fi
16177 rm -f conftest*
16178     ac_ext=c
16179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16180 ac_cpp='$CPP $CPPFLAGS'
16181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16183 cross_compiling=$ac_cv_prog_cc_cross
16184
16185   
16186 fi
16187
16188   echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
16189   if test x$glibcpp_cv_func__logl_use = x"yes"; then
16190     for ac_func in _logl
16191 do
16192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16193 echo "configure:16194: checking for $ac_func" >&5
16194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16195   echo $ac_n "(cached) $ac_c" 1>&6
16196 else
16197   cat > conftest.$ac_ext <<EOF
16198 #line 16199 "configure"
16199 #include "confdefs.h"
16200 /* System header to define __stub macros and hopefully few prototypes,
16201     which can conflict with char $ac_func(); below.  */
16202 #include <assert.h>
16203 /* Override any gcc2 internal prototype to avoid an error.  */
16204 /* We use char because int might match the return type of a gcc2
16205     builtin and then its argument prototype would still apply.  */
16206 char $ac_func();
16207
16208 int main() {
16209
16210 /* The GNU C library defines this for functions which it implements
16211     to always fail with ENOSYS.  Some functions are actually named
16212     something starting with __ and the normal name is an alias.  */
16213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16214 choke me
16215 #else
16216 $ac_func();
16217 #endif
16218
16219 ; return 0; }
16220 EOF
16221 if { (eval echo configure:16222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16222   rm -rf conftest*
16223   eval "ac_cv_func_$ac_func=yes"
16224 else
16225   echo "configure: failed program was:" >&5
16226   cat conftest.$ac_ext >&5
16227   rm -rf conftest*
16228   eval "ac_cv_func_$ac_func=no"
16229 fi
16230 rm -f conftest*
16231 fi
16232
16233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16234   echo "$ac_t""yes" 1>&6
16235     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16236   cat >> confdefs.h <<EOF
16237 #define $ac_tr_func 1
16238 EOF
16239  
16240 else
16241   echo "$ac_t""no" 1>&6
16242 fi
16243 done
16244     
16245   fi
16246
16247   
16248   echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16249 echo "configure:16250: checking for _log10l declaration" >&5
16250   if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16251   echo $ac_n "(cached) $ac_c" 1>&6
16252 else
16253   
16254     
16255     ac_ext=C
16256 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16257 ac_cpp='$CXXCPP $CPPFLAGS'
16258 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16259 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16260 cross_compiling=$ac_cv_prog_cxx_cross
16261
16262     cat > conftest.$ac_ext <<EOF
16263 #line 16264 "configure"
16264 #include "confdefs.h"
16265 #include <math.h>
16266 int main() {
16267  _log10l(0);
16268 ; return 0; }
16269 EOF
16270 if { (eval echo configure:16271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16271   rm -rf conftest*
16272   glibcpp_cv_func__log10l_use=yes
16273 else
16274   echo "configure: failed program was:" >&5
16275   cat conftest.$ac_ext >&5
16276   rm -rf conftest*
16277   glibcpp_cv_func__log10l_use=no
16278 fi
16279 rm -f conftest*
16280     ac_ext=c
16281 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16282 ac_cpp='$CPP $CPPFLAGS'
16283 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16284 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16285 cross_compiling=$ac_cv_prog_cc_cross
16286
16287   
16288 fi
16289
16290   echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16291   if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16292     for ac_func in _log10l
16293 do
16294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16295 echo "configure:16296: checking for $ac_func" >&5
16296 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16297   echo $ac_n "(cached) $ac_c" 1>&6
16298 else
16299   cat > conftest.$ac_ext <<EOF
16300 #line 16301 "configure"
16301 #include "confdefs.h"
16302 /* System header to define __stub macros and hopefully few prototypes,
16303     which can conflict with char $ac_func(); below.  */
16304 #include <assert.h>
16305 /* Override any gcc2 internal prototype to avoid an error.  */
16306 /* We use char because int might match the return type of a gcc2
16307     builtin and then its argument prototype would still apply.  */
16308 char $ac_func();
16309
16310 int main() {
16311
16312 /* The GNU C library defines this for functions which it implements
16313     to always fail with ENOSYS.  Some functions are actually named
16314     something starting with __ and the normal name is an alias.  */
16315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16316 choke me
16317 #else
16318 $ac_func();
16319 #endif
16320
16321 ; return 0; }
16322 EOF
16323 if { (eval echo configure:16324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16324   rm -rf conftest*
16325   eval "ac_cv_func_$ac_func=yes"
16326 else
16327   echo "configure: failed program was:" >&5
16328   cat conftest.$ac_ext >&5
16329   rm -rf conftest*
16330   eval "ac_cv_func_$ac_func=no"
16331 fi
16332 rm -f conftest*
16333 fi
16334
16335 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16336   echo "$ac_t""yes" 1>&6
16337     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16338   cat >> confdefs.h <<EOF
16339 #define $ac_tr_func 1
16340 EOF
16341  
16342 else
16343   echo "$ac_t""no" 1>&6
16344 fi
16345 done
16346     
16347   fi
16348
16349   
16350   echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16351 echo "configure:16352: checking for _modfl declaration" >&5
16352   if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16353   echo $ac_n "(cached) $ac_c" 1>&6
16354 else
16355   
16356     
16357     ac_ext=C
16358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16359 ac_cpp='$CXXCPP $CPPFLAGS'
16360 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16361 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16362 cross_compiling=$ac_cv_prog_cxx_cross
16363
16364     cat > conftest.$ac_ext <<EOF
16365 #line 16366 "configure"
16366 #include "confdefs.h"
16367 #include <math.h>
16368 int main() {
16369  _modfl(0, 0);
16370 ; return 0; }
16371 EOF
16372 if { (eval echo configure:16373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16373   rm -rf conftest*
16374   glibcpp_cv_func__modfl_use=yes
16375 else
16376   echo "configure: failed program was:" >&5
16377   cat conftest.$ac_ext >&5
16378   rm -rf conftest*
16379   glibcpp_cv_func__modfl_use=no
16380 fi
16381 rm -f conftest*
16382     ac_ext=c
16383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16384 ac_cpp='$CPP $CPPFLAGS'
16385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16387 cross_compiling=$ac_cv_prog_cc_cross
16388
16389   
16390 fi
16391
16392   echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16393   if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16394     for ac_func in _modfl
16395 do
16396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16397 echo "configure:16398: checking for $ac_func" >&5
16398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16399   echo $ac_n "(cached) $ac_c" 1>&6
16400 else
16401   cat > conftest.$ac_ext <<EOF
16402 #line 16403 "configure"
16403 #include "confdefs.h"
16404 /* System header to define __stub macros and hopefully few prototypes,
16405     which can conflict with char $ac_func(); below.  */
16406 #include <assert.h>
16407 /* Override any gcc2 internal prototype to avoid an error.  */
16408 /* We use char because int might match the return type of a gcc2
16409     builtin and then its argument prototype would still apply.  */
16410 char $ac_func();
16411
16412 int main() {
16413
16414 /* The GNU C library defines this for functions which it implements
16415     to always fail with ENOSYS.  Some functions are actually named
16416     something starting with __ and the normal name is an alias.  */
16417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16418 choke me
16419 #else
16420 $ac_func();
16421 #endif
16422
16423 ; return 0; }
16424 EOF
16425 if { (eval echo configure:16426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16426   rm -rf conftest*
16427   eval "ac_cv_func_$ac_func=yes"
16428 else
16429   echo "configure: failed program was:" >&5
16430   cat conftest.$ac_ext >&5
16431   rm -rf conftest*
16432   eval "ac_cv_func_$ac_func=no"
16433 fi
16434 rm -f conftest*
16435 fi
16436
16437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16438   echo "$ac_t""yes" 1>&6
16439     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16440   cat >> confdefs.h <<EOF
16441 #define $ac_tr_func 1
16442 EOF
16443  
16444 else
16445   echo "$ac_t""no" 1>&6
16446 fi
16447 done
16448     
16449   fi
16450
16451   
16452   echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16453 echo "configure:16454: checking for _powl declaration" >&5
16454   if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16455   echo $ac_n "(cached) $ac_c" 1>&6
16456 else
16457   
16458     
16459     ac_ext=C
16460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16461 ac_cpp='$CXXCPP $CPPFLAGS'
16462 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16463 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16464 cross_compiling=$ac_cv_prog_cxx_cross
16465
16466     cat > conftest.$ac_ext <<EOF
16467 #line 16468 "configure"
16468 #include "confdefs.h"
16469 #include <math.h>
16470 int main() {
16471  _powl(0, 0);
16472 ; return 0; }
16473 EOF
16474 if { (eval echo configure:16475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16475   rm -rf conftest*
16476   glibcpp_cv_func__powl_use=yes
16477 else
16478   echo "configure: failed program was:" >&5
16479   cat conftest.$ac_ext >&5
16480   rm -rf conftest*
16481   glibcpp_cv_func__powl_use=no
16482 fi
16483 rm -f conftest*
16484     ac_ext=c
16485 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16486 ac_cpp='$CPP $CPPFLAGS'
16487 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16488 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16489 cross_compiling=$ac_cv_prog_cc_cross
16490
16491   
16492 fi
16493
16494   echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16495   if test x$glibcpp_cv_func__powl_use = x"yes"; then
16496     for ac_func in _powl
16497 do
16498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16499 echo "configure:16500: checking for $ac_func" >&5
16500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16501   echo $ac_n "(cached) $ac_c" 1>&6
16502 else
16503   cat > conftest.$ac_ext <<EOF
16504 #line 16505 "configure"
16505 #include "confdefs.h"
16506 /* System header to define __stub macros and hopefully few prototypes,
16507     which can conflict with char $ac_func(); below.  */
16508 #include <assert.h>
16509 /* Override any gcc2 internal prototype to avoid an error.  */
16510 /* We use char because int might match the return type of a gcc2
16511     builtin and then its argument prototype would still apply.  */
16512 char $ac_func();
16513
16514 int main() {
16515
16516 /* The GNU C library defines this for functions which it implements
16517     to always fail with ENOSYS.  Some functions are actually named
16518     something starting with __ and the normal name is an alias.  */
16519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16520 choke me
16521 #else
16522 $ac_func();
16523 #endif
16524
16525 ; return 0; }
16526 EOF
16527 if { (eval echo configure:16528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16528   rm -rf conftest*
16529   eval "ac_cv_func_$ac_func=yes"
16530 else
16531   echo "configure: failed program was:" >&5
16532   cat conftest.$ac_ext >&5
16533   rm -rf conftest*
16534   eval "ac_cv_func_$ac_func=no"
16535 fi
16536 rm -f conftest*
16537 fi
16538
16539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16540   echo "$ac_t""yes" 1>&6
16541     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16542   cat >> confdefs.h <<EOF
16543 #define $ac_tr_func 1
16544 EOF
16545  
16546 else
16547   echo "$ac_t""no" 1>&6
16548 fi
16549 done
16550     
16551   fi
16552
16553   
16554   echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16555 echo "configure:16556: checking for _sinl declaration" >&5
16556   if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16557   echo $ac_n "(cached) $ac_c" 1>&6
16558 else
16559   
16560     
16561     ac_ext=C
16562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16563 ac_cpp='$CXXCPP $CPPFLAGS'
16564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16566 cross_compiling=$ac_cv_prog_cxx_cross
16567
16568     cat > conftest.$ac_ext <<EOF
16569 #line 16570 "configure"
16570 #include "confdefs.h"
16571 #include <math.h>
16572 int main() {
16573  _sinl(0);
16574 ; return 0; }
16575 EOF
16576 if { (eval echo configure:16577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16577   rm -rf conftest*
16578   glibcpp_cv_func__sinl_use=yes
16579 else
16580   echo "configure: failed program was:" >&5
16581   cat conftest.$ac_ext >&5
16582   rm -rf conftest*
16583   glibcpp_cv_func__sinl_use=no
16584 fi
16585 rm -f conftest*
16586     ac_ext=c
16587 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16588 ac_cpp='$CPP $CPPFLAGS'
16589 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16590 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16591 cross_compiling=$ac_cv_prog_cc_cross
16592
16593   
16594 fi
16595
16596   echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16597   if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16598     for ac_func in _sinl
16599 do
16600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16601 echo "configure:16602: checking for $ac_func" >&5
16602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16603   echo $ac_n "(cached) $ac_c" 1>&6
16604 else
16605   cat > conftest.$ac_ext <<EOF
16606 #line 16607 "configure"
16607 #include "confdefs.h"
16608 /* System header to define __stub macros and hopefully few prototypes,
16609     which can conflict with char $ac_func(); below.  */
16610 #include <assert.h>
16611 /* Override any gcc2 internal prototype to avoid an error.  */
16612 /* We use char because int might match the return type of a gcc2
16613     builtin and then its argument prototype would still apply.  */
16614 char $ac_func();
16615
16616 int main() {
16617
16618 /* The GNU C library defines this for functions which it implements
16619     to always fail with ENOSYS.  Some functions are actually named
16620     something starting with __ and the normal name is an alias.  */
16621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16622 choke me
16623 #else
16624 $ac_func();
16625 #endif
16626
16627 ; return 0; }
16628 EOF
16629 if { (eval echo configure:16630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16630   rm -rf conftest*
16631   eval "ac_cv_func_$ac_func=yes"
16632 else
16633   echo "configure: failed program was:" >&5
16634   cat conftest.$ac_ext >&5
16635   rm -rf conftest*
16636   eval "ac_cv_func_$ac_func=no"
16637 fi
16638 rm -f conftest*
16639 fi
16640
16641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16642   echo "$ac_t""yes" 1>&6
16643     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16644   cat >> confdefs.h <<EOF
16645 #define $ac_tr_func 1
16646 EOF
16647  
16648 else
16649   echo "$ac_t""no" 1>&6
16650 fi
16651 done
16652     
16653   fi
16654
16655   
16656   echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16657 echo "configure:16658: checking for _sinhl declaration" >&5
16658   if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16659   echo $ac_n "(cached) $ac_c" 1>&6
16660 else
16661   
16662     
16663     ac_ext=C
16664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16665 ac_cpp='$CXXCPP $CPPFLAGS'
16666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16668 cross_compiling=$ac_cv_prog_cxx_cross
16669
16670     cat > conftest.$ac_ext <<EOF
16671 #line 16672 "configure"
16672 #include "confdefs.h"
16673 #include <math.h>
16674 int main() {
16675  _sinhl(0);
16676 ; return 0; }
16677 EOF
16678 if { (eval echo configure:16679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16679   rm -rf conftest*
16680   glibcpp_cv_func__sinhl_use=yes
16681 else
16682   echo "configure: failed program was:" >&5
16683   cat conftest.$ac_ext >&5
16684   rm -rf conftest*
16685   glibcpp_cv_func__sinhl_use=no
16686 fi
16687 rm -f conftest*
16688     ac_ext=c
16689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16690 ac_cpp='$CPP $CPPFLAGS'
16691 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16692 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16693 cross_compiling=$ac_cv_prog_cc_cross
16694
16695   
16696 fi
16697
16698   echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16699   if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16700     for ac_func in _sinhl
16701 do
16702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16703 echo "configure:16704: checking for $ac_func" >&5
16704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16705   echo $ac_n "(cached) $ac_c" 1>&6
16706 else
16707   cat > conftest.$ac_ext <<EOF
16708 #line 16709 "configure"
16709 #include "confdefs.h"
16710 /* System header to define __stub macros and hopefully few prototypes,
16711     which can conflict with char $ac_func(); below.  */
16712 #include <assert.h>
16713 /* Override any gcc2 internal prototype to avoid an error.  */
16714 /* We use char because int might match the return type of a gcc2
16715     builtin and then its argument prototype would still apply.  */
16716 char $ac_func();
16717
16718 int main() {
16719
16720 /* The GNU C library defines this for functions which it implements
16721     to always fail with ENOSYS.  Some functions are actually named
16722     something starting with __ and the normal name is an alias.  */
16723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16724 choke me
16725 #else
16726 $ac_func();
16727 #endif
16728
16729 ; return 0; }
16730 EOF
16731 if { (eval echo configure:16732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16732   rm -rf conftest*
16733   eval "ac_cv_func_$ac_func=yes"
16734 else
16735   echo "configure: failed program was:" >&5
16736   cat conftest.$ac_ext >&5
16737   rm -rf conftest*
16738   eval "ac_cv_func_$ac_func=no"
16739 fi
16740 rm -f conftest*
16741 fi
16742
16743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16744   echo "$ac_t""yes" 1>&6
16745     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16746   cat >> confdefs.h <<EOF
16747 #define $ac_tr_func 1
16748 EOF
16749  
16750 else
16751   echo "$ac_t""no" 1>&6
16752 fi
16753 done
16754     
16755   fi
16756
16757   
16758   echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16759 echo "configure:16760: checking for _sqrtl declaration" >&5
16760   if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16761   echo $ac_n "(cached) $ac_c" 1>&6
16762 else
16763   
16764     
16765     ac_ext=C
16766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16767 ac_cpp='$CXXCPP $CPPFLAGS'
16768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16770 cross_compiling=$ac_cv_prog_cxx_cross
16771
16772     cat > conftest.$ac_ext <<EOF
16773 #line 16774 "configure"
16774 #include "confdefs.h"
16775 #include <math.h>
16776 int main() {
16777  _sqrtl(0);
16778 ; return 0; }
16779 EOF
16780 if { (eval echo configure:16781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16781   rm -rf conftest*
16782   glibcpp_cv_func__sqrtl_use=yes
16783 else
16784   echo "configure: failed program was:" >&5
16785   cat conftest.$ac_ext >&5
16786   rm -rf conftest*
16787   glibcpp_cv_func__sqrtl_use=no
16788 fi
16789 rm -f conftest*
16790     ac_ext=c
16791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16792 ac_cpp='$CPP $CPPFLAGS'
16793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16795 cross_compiling=$ac_cv_prog_cc_cross
16796
16797   
16798 fi
16799
16800   echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16801   if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16802     for ac_func in _sqrtl
16803 do
16804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16805 echo "configure:16806: checking for $ac_func" >&5
16806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16807   echo $ac_n "(cached) $ac_c" 1>&6
16808 else
16809   cat > conftest.$ac_ext <<EOF
16810 #line 16811 "configure"
16811 #include "confdefs.h"
16812 /* System header to define __stub macros and hopefully few prototypes,
16813     which can conflict with char $ac_func(); below.  */
16814 #include <assert.h>
16815 /* Override any gcc2 internal prototype to avoid an error.  */
16816 /* We use char because int might match the return type of a gcc2
16817     builtin and then its argument prototype would still apply.  */
16818 char $ac_func();
16819
16820 int main() {
16821
16822 /* The GNU C library defines this for functions which it implements
16823     to always fail with ENOSYS.  Some functions are actually named
16824     something starting with __ and the normal name is an alias.  */
16825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16826 choke me
16827 #else
16828 $ac_func();
16829 #endif
16830
16831 ; return 0; }
16832 EOF
16833 if { (eval echo configure:16834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16834   rm -rf conftest*
16835   eval "ac_cv_func_$ac_func=yes"
16836 else
16837   echo "configure: failed program was:" >&5
16838   cat conftest.$ac_ext >&5
16839   rm -rf conftest*
16840   eval "ac_cv_func_$ac_func=no"
16841 fi
16842 rm -f conftest*
16843 fi
16844
16845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16846   echo "$ac_t""yes" 1>&6
16847     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16848   cat >> confdefs.h <<EOF
16849 #define $ac_tr_func 1
16850 EOF
16851  
16852 else
16853   echo "$ac_t""no" 1>&6
16854 fi
16855 done
16856     
16857   fi
16858
16859   
16860   echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16861 echo "configure:16862: checking for _tanl declaration" >&5
16862   if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16863   echo $ac_n "(cached) $ac_c" 1>&6
16864 else
16865   
16866     
16867     ac_ext=C
16868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16869 ac_cpp='$CXXCPP $CPPFLAGS'
16870 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16871 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16872 cross_compiling=$ac_cv_prog_cxx_cross
16873
16874     cat > conftest.$ac_ext <<EOF
16875 #line 16876 "configure"
16876 #include "confdefs.h"
16877 #include <math.h>
16878 int main() {
16879  _tanl(0);
16880 ; return 0; }
16881 EOF
16882 if { (eval echo configure:16883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16883   rm -rf conftest*
16884   glibcpp_cv_func__tanl_use=yes
16885 else
16886   echo "configure: failed program was:" >&5
16887   cat conftest.$ac_ext >&5
16888   rm -rf conftest*
16889   glibcpp_cv_func__tanl_use=no
16890 fi
16891 rm -f conftest*
16892     ac_ext=c
16893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16894 ac_cpp='$CPP $CPPFLAGS'
16895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16897 cross_compiling=$ac_cv_prog_cc_cross
16898
16899   
16900 fi
16901
16902   echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16903   if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16904     for ac_func in _tanl
16905 do
16906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16907 echo "configure:16908: checking for $ac_func" >&5
16908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16909   echo $ac_n "(cached) $ac_c" 1>&6
16910 else
16911   cat > conftest.$ac_ext <<EOF
16912 #line 16913 "configure"
16913 #include "confdefs.h"
16914 /* System header to define __stub macros and hopefully few prototypes,
16915     which can conflict with char $ac_func(); below.  */
16916 #include <assert.h>
16917 /* Override any gcc2 internal prototype to avoid an error.  */
16918 /* We use char because int might match the return type of a gcc2
16919     builtin and then its argument prototype would still apply.  */
16920 char $ac_func();
16921
16922 int main() {
16923
16924 /* The GNU C library defines this for functions which it implements
16925     to always fail with ENOSYS.  Some functions are actually named
16926     something starting with __ and the normal name is an alias.  */
16927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16928 choke me
16929 #else
16930 $ac_func();
16931 #endif
16932
16933 ; return 0; }
16934 EOF
16935 if { (eval echo configure:16936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16936   rm -rf conftest*
16937   eval "ac_cv_func_$ac_func=yes"
16938 else
16939   echo "configure: failed program was:" >&5
16940   cat conftest.$ac_ext >&5
16941   rm -rf conftest*
16942   eval "ac_cv_func_$ac_func=no"
16943 fi
16944 rm -f conftest*
16945 fi
16946
16947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16948   echo "$ac_t""yes" 1>&6
16949     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16950   cat >> confdefs.h <<EOF
16951 #define $ac_tr_func 1
16952 EOF
16953  
16954 else
16955   echo "$ac_t""no" 1>&6
16956 fi
16957 done
16958     
16959   fi
16960
16961   
16962   echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16963 echo "configure:16964: checking for _tanhl declaration" >&5
16964   if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16965   echo $ac_n "(cached) $ac_c" 1>&6
16966 else
16967   
16968     
16969     ac_ext=C
16970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16971 ac_cpp='$CXXCPP $CPPFLAGS'
16972 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16973 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16974 cross_compiling=$ac_cv_prog_cxx_cross
16975
16976     cat > conftest.$ac_ext <<EOF
16977 #line 16978 "configure"
16978 #include "confdefs.h"
16979 #include <math.h>
16980 int main() {
16981  _tanhl(0);
16982 ; return 0; }
16983 EOF
16984 if { (eval echo configure:16985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16985   rm -rf conftest*
16986   glibcpp_cv_func__tanhl_use=yes
16987 else
16988   echo "configure: failed program was:" >&5
16989   cat conftest.$ac_ext >&5
16990   rm -rf conftest*
16991   glibcpp_cv_func__tanhl_use=no
16992 fi
16993 rm -f conftest*
16994     ac_ext=c
16995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16996 ac_cpp='$CPP $CPPFLAGS'
16997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16999 cross_compiling=$ac_cv_prog_cc_cross
17000
17001   
17002 fi
17003
17004   echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
17005   if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
17006     for ac_func in _tanhl
17007 do
17008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17009 echo "configure:17010: checking for $ac_func" >&5
17010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17011   echo $ac_n "(cached) $ac_c" 1>&6
17012 else
17013   cat > conftest.$ac_ext <<EOF
17014 #line 17015 "configure"
17015 #include "confdefs.h"
17016 /* System header to define __stub macros and hopefully few prototypes,
17017     which can conflict with char $ac_func(); below.  */
17018 #include <assert.h>
17019 /* Override any gcc2 internal prototype to avoid an error.  */
17020 /* We use char because int might match the return type of a gcc2
17021     builtin and then its argument prototype would still apply.  */
17022 char $ac_func();
17023
17024 int main() {
17025
17026 /* The GNU C library defines this for functions which it implements
17027     to always fail with ENOSYS.  Some functions are actually named
17028     something starting with __ and the normal name is an alias.  */
17029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17030 choke me
17031 #else
17032 $ac_func();
17033 #endif
17034
17035 ; return 0; }
17036 EOF
17037 if { (eval echo configure:17038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17038   rm -rf conftest*
17039   eval "ac_cv_func_$ac_func=yes"
17040 else
17041   echo "configure: failed program was:" >&5
17042   cat conftest.$ac_ext >&5
17043   rm -rf conftest*
17044   eval "ac_cv_func_$ac_func=no"
17045 fi
17046 rm -f conftest*
17047 fi
17048
17049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17050   echo "$ac_t""yes" 1>&6
17051     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17052   cat >> confdefs.h <<EOF
17053 #define $ac_tr_func 1
17054 EOF
17055  
17056 else
17057   echo "$ac_t""no" 1>&6
17058 fi
17059 done
17060     
17061   fi
17062
17063   
17064   echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
17065 echo "configure:17066: checking for _sincosl declaration" >&5
17066   if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
17067   echo $ac_n "(cached) $ac_c" 1>&6
17068 else
17069   
17070     
17071     ac_ext=C
17072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17073 ac_cpp='$CXXCPP $CPPFLAGS'
17074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17076 cross_compiling=$ac_cv_prog_cxx_cross
17077
17078     cat > conftest.$ac_ext <<EOF
17079 #line 17080 "configure"
17080 #include "confdefs.h"
17081 #include <math.h>
17082 int main() {
17083  _sincosl(0, 0, 0);
17084 ; return 0; }
17085 EOF
17086 if { (eval echo configure:17087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17087   rm -rf conftest*
17088   glibcpp_cv_func__sincosl_use=yes
17089 else
17090   echo "configure: failed program was:" >&5
17091   cat conftest.$ac_ext >&5
17092   rm -rf conftest*
17093   glibcpp_cv_func__sincosl_use=no
17094 fi
17095 rm -f conftest*
17096     ac_ext=c
17097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17098 ac_cpp='$CPP $CPPFLAGS'
17099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17101 cross_compiling=$ac_cv_prog_cc_cross
17102
17103   
17104 fi
17105
17106   echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
17107   if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
17108     for ac_func in _sincosl
17109 do
17110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17111 echo "configure:17112: checking for $ac_func" >&5
17112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17113   echo $ac_n "(cached) $ac_c" 1>&6
17114 else
17115   cat > conftest.$ac_ext <<EOF
17116 #line 17117 "configure"
17117 #include "confdefs.h"
17118 /* System header to define __stub macros and hopefully few prototypes,
17119     which can conflict with char $ac_func(); below.  */
17120 #include <assert.h>
17121 /* Override any gcc2 internal prototype to avoid an error.  */
17122 /* We use char because int might match the return type of a gcc2
17123     builtin and then its argument prototype would still apply.  */
17124 char $ac_func();
17125
17126 int main() {
17127
17128 /* The GNU C library defines this for functions which it implements
17129     to always fail with ENOSYS.  Some functions are actually named
17130     something starting with __ and the normal name is an alias.  */
17131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17132 choke me
17133 #else
17134 $ac_func();
17135 #endif
17136
17137 ; return 0; }
17138 EOF
17139 if { (eval echo configure:17140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17140   rm -rf conftest*
17141   eval "ac_cv_func_$ac_func=yes"
17142 else
17143   echo "configure: failed program was:" >&5
17144   cat conftest.$ac_ext >&5
17145   rm -rf conftest*
17146   eval "ac_cv_func_$ac_func=no"
17147 fi
17148 rm -f conftest*
17149 fi
17150
17151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17152   echo "$ac_t""yes" 1>&6
17153     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17154   cat >> confdefs.h <<EOF
17155 #define $ac_tr_func 1
17156 EOF
17157  
17158 else
17159   echo "$ac_t""no" 1>&6
17160 fi
17161 done
17162     
17163   fi
17164
17165   
17166   echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
17167 echo "configure:17168: checking for _finitel declaration" >&5
17168   if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17169   echo $ac_n "(cached) $ac_c" 1>&6
17170 else
17171   
17172     
17173     ac_ext=C
17174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17175 ac_cpp='$CXXCPP $CPPFLAGS'
17176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17178 cross_compiling=$ac_cv_prog_cxx_cross
17179
17180     cat > conftest.$ac_ext <<EOF
17181 #line 17182 "configure"
17182 #include "confdefs.h"
17183 #include <math.h>
17184 int main() {
17185  _finitel(0);
17186 ; return 0; }
17187 EOF
17188 if { (eval echo configure:17189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17189   rm -rf conftest*
17190   glibcpp_cv_func__finitel_use=yes
17191 else
17192   echo "configure: failed program was:" >&5
17193   cat conftest.$ac_ext >&5
17194   rm -rf conftest*
17195   glibcpp_cv_func__finitel_use=no
17196 fi
17197 rm -f conftest*
17198     ac_ext=c
17199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17200 ac_cpp='$CPP $CPPFLAGS'
17201 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17202 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17203 cross_compiling=$ac_cv_prog_cc_cross
17204
17205   
17206 fi
17207
17208   echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17209   if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17210     for ac_func in _finitel
17211 do
17212 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17213 echo "configure:17214: checking for $ac_func" >&5
17214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17215   echo $ac_n "(cached) $ac_c" 1>&6
17216 else
17217   cat > conftest.$ac_ext <<EOF
17218 #line 17219 "configure"
17219 #include "confdefs.h"
17220 /* System header to define __stub macros and hopefully few prototypes,
17221     which can conflict with char $ac_func(); below.  */
17222 #include <assert.h>
17223 /* Override any gcc2 internal prototype to avoid an error.  */
17224 /* We use char because int might match the return type of a gcc2
17225     builtin and then its argument prototype would still apply.  */
17226 char $ac_func();
17227
17228 int main() {
17229
17230 /* The GNU C library defines this for functions which it implements
17231     to always fail with ENOSYS.  Some functions are actually named
17232     something starting with __ and the normal name is an alias.  */
17233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17234 choke me
17235 #else
17236 $ac_func();
17237 #endif
17238
17239 ; return 0; }
17240 EOF
17241 if { (eval echo configure:17242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17242   rm -rf conftest*
17243   eval "ac_cv_func_$ac_func=yes"
17244 else
17245   echo "configure: failed program was:" >&5
17246   cat conftest.$ac_ext >&5
17247   rm -rf conftest*
17248   eval "ac_cv_func_$ac_func=no"
17249 fi
17250 rm -f conftest*
17251 fi
17252
17253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17254   echo "$ac_t""yes" 1>&6
17255     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17256   cat >> confdefs.h <<EOF
17257 #define $ac_tr_func 1
17258 EOF
17259  
17260 else
17261   echo "$ac_t""no" 1>&6
17262 fi
17263 done
17264     
17265   fi
17266
17267
17268   LIBS="$ac_save_LIBS"
17269   CXXFLAGS="$ac_save_CXXFLAGS"
17270
17271   
17272     for ac_hdr in complex.h
17273 do
17274 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17275 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17276 echo "configure:17277: checking for $ac_hdr" >&5
17277 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17278   echo $ac_n "(cached) $ac_c" 1>&6
17279 else
17280   cat > conftest.$ac_ext <<EOF
17281 #line 17282 "configure"
17282 #include "confdefs.h"
17283 #include <$ac_hdr>
17284 EOF
17285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17286 { (eval echo configure:17287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17288 if test -z "$ac_err"; then
17289   rm -rf conftest*
17290   eval "ac_cv_header_$ac_safe=yes"
17291 else
17292   echo "$ac_err" >&5
17293   echo "configure: failed program was:" >&5
17294   cat conftest.$ac_ext >&5
17295   rm -rf conftest*
17296   eval "ac_cv_header_$ac_safe=no"
17297 fi
17298 rm -f conftest*
17299 fi
17300 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17301   echo "$ac_t""yes" 1>&6
17302     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17303   cat >> confdefs.h <<EOF
17304 #define $ac_tr_hdr 1
17305 EOF
17306  
17307 else
17308   echo "$ac_t""no" 1>&6
17309 fi
17310 done
17311
17312   for ac_func in ccos ccosf ccosh ccoshf cexp cexpf c_log c_logf \
17313   clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt csqrtf \
17314   ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf copysignf
17315 do
17316 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17317 echo "configure:17318: checking for $ac_func" >&5
17318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17319   echo $ac_n "(cached) $ac_c" 1>&6
17320 else
17321   cat > conftest.$ac_ext <<EOF
17322 #line 17323 "configure"
17323 #include "confdefs.h"
17324 /* System header to define __stub macros and hopefully few prototypes,
17325     which can conflict with char $ac_func(); below.  */
17326 #include <assert.h>
17327 /* Override any gcc2 internal prototype to avoid an error.  */
17328 /* We use char because int might match the return type of a gcc2
17329     builtin and then its argument prototype would still apply.  */
17330 char $ac_func();
17331
17332 int main() {
17333
17334 /* The GNU C library defines this for functions which it implements
17335     to always fail with ENOSYS.  Some functions are actually named
17336     something starting with __ and the normal name is an alias.  */
17337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17338 choke me
17339 #else
17340 $ac_func();
17341 #endif
17342
17343 ; return 0; }
17344 EOF
17345 if { (eval echo configure:17346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17346   rm -rf conftest*
17347   eval "ac_cv_func_$ac_func=yes"
17348 else
17349   echo "configure: failed program was:" >&5
17350   cat conftest.$ac_ext >&5
17351   rm -rf conftest*
17352   eval "ac_cv_func_$ac_func=no"
17353 fi
17354 rm -f conftest*
17355 fi
17356
17357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17358   echo "$ac_t""yes" 1>&6
17359     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17360   cat >> confdefs.h <<EOF
17361 #define $ac_tr_func 1
17362 EOF
17363  
17364 else
17365   echo "$ac_t""no" 1>&6
17366 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17367 fi
17368 done
17369
17370
17371
17372           USE_COMPLEX_LONG_DOUBLE=no
17373   if test x$ac_cv_func_atan2l = x"yes" \
17374      && test x$ac_cv_func_copysignl = x"yes"; then
17375     USE_COMPLEX_LONG_DOUBLE=yes
17376     for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
17377     csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17378 do
17379 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17380 echo "configure:17381: checking for $ac_func" >&5
17381 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17382   echo $ac_n "(cached) $ac_c" 1>&6
17383 else
17384   cat > conftest.$ac_ext <<EOF
17385 #line 17386 "configure"
17386 #include "confdefs.h"
17387 /* System header to define __stub macros and hopefully few prototypes,
17388     which can conflict with char $ac_func(); below.  */
17389 #include <assert.h>
17390 /* Override any gcc2 internal prototype to avoid an error.  */
17391 /* We use char because int might match the return type of a gcc2
17392     builtin and then its argument prototype would still apply.  */
17393 char $ac_func();
17394
17395 int main() {
17396
17397 /* The GNU C library defines this for functions which it implements
17398     to always fail with ENOSYS.  Some functions are actually named
17399     something starting with __ and the normal name is an alias.  */
17400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17401 choke me
17402 #else
17403 $ac_func();
17404 #endif
17405
17406 ; return 0; }
17407 EOF
17408 if { (eval echo configure:17409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17409   rm -rf conftest*
17410   eval "ac_cv_func_$ac_func=yes"
17411 else
17412   echo "configure: failed program was:" >&5
17413   cat conftest.$ac_ext >&5
17414   rm -rf conftest*
17415   eval "ac_cv_func_$ac_func=no"
17416 fi
17417 rm -f conftest*
17418 fi
17419
17420 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17421   echo "$ac_t""yes" 1>&6
17422     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17423   cat >> confdefs.h <<EOF
17424 #define $ac_tr_func 1
17425 EOF
17426  
17427 else
17428   echo "$ac_t""no" 1>&6
17429 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17430 fi
17431 done
17432
17433
17434   fi
17435
17436   
17437
17438   
17439   
17440
17441   echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17442 echo "configure:17443: checking for GNU C++ __complex__ support" >&5
17443   if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17444   echo $ac_n "(cached) $ac_c" 1>&6
17445 else
17446   
17447     
17448     ac_ext=C
17449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17450 ac_cpp='$CXXCPP $CPPFLAGS'
17451 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17452 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17453 cross_compiling=$ac_cv_prog_cxx_cross
17454
17455     cat > conftest.$ac_ext <<EOF
17456 #line 17457 "configure"
17457 #include "confdefs.h"
17458 struct dcomplex { __complex__ double x; }; \
17459                     dcomplex f(const dcomplex& x) { return dcomplex(x); }
17460 int main() {
17461 \
17462                      dcomplex x; f(x); 
17463 ; return 0; }
17464 EOF
17465 if { (eval echo configure:17466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17466   rm -rf conftest*
17467   glibcpp_cv_complex=ok
17468 else
17469   echo "configure: failed program was:" >&5
17470   cat conftest.$ac_ext >&5
17471   rm -rf conftest*
17472   glibcpp_cv_complex=buggy
17473     
17474 fi
17475 rm -f conftest*
17476     ac_ext=c
17477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17478 ac_cpp='$CPP $CPPFLAGS'
17479 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17480 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17481 cross_compiling=$ac_cv_prog_cc_cross
17482
17483   
17484 fi
17485
17486   echo "$ac_t""$glibcpp_cv_complex" 1>&6
17487   if test $glibcpp_cv_complex = buggy; then
17488     cat >> confdefs.h <<\EOF
17489 #define _GLIBCPP_BUGGY_COMPLEX 1
17490 EOF
17491
17492   fi
17493
17494   echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17495 echo "configure:17496: checking for GNU C++ __complex__ float support" >&5
17496   if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17497   echo $ac_n "(cached) $ac_c" 1>&6
17498 else
17499   
17500     
17501     ac_ext=C
17502 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17503 ac_cpp='$CXXCPP $CPPFLAGS'
17504 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17505 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17506 cross_compiling=$ac_cv_prog_cxx_cross
17507
17508     rm -f conftest.h
17509     cat > conftest.h <<EOB
17510       //
17511       // Check for buggy __complex__ that causes ICE in most versions of egcs
17512       // and gcc-2.95.x on certain platforms (eg., x86-win32).
17513       //
17514       // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
17515       // more info on the bug itself.
17516       //
17517       struct
17518       float_complex
17519       {
17520        __complex__ float m_value;
17521        float_complex (float = 0.0f, float = 0.0f);
17522        float_complex (__complex__ float val) : m_value (val) {}
17523        float_complex foo (const float_complex &val)
17524          { return float_complex (~val.m_value); }
17525       };
17526 EOB
17527     cat > conftest.$ac_ext <<EOF
17528 #line 17529 "configure"
17529 #include "confdefs.h"
17530 #include "conftest.h"
17531 int main() {
17532
17533 ; return 0; }
17534 EOF
17535 if { (eval echo configure:17536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17536   rm -rf conftest*
17537   glibcpp_cv_float_complex=ok
17538 else
17539   echo "configure: failed program was:" >&5
17540   cat conftest.$ac_ext >&5
17541   rm -rf conftest*
17542   glibcpp_cv_float_complex=buggy
17543     
17544 fi
17545 rm -f conftest*
17546     ac_ext=c
17547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17548 ac_cpp='$CPP $CPPFLAGS'
17549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17551 cross_compiling=$ac_cv_prog_cc_cross
17552
17553   
17554 fi
17555
17556   echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17557   if test $glibcpp_cv_float_complex = buggy; then
17558     cat >> confdefs.h <<\EOF
17559 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17560 EOF
17561
17562   fi
17563
17564   cat > confcache <<\EOF
17565 # This file is a shell script that caches the results of configure
17566 # tests run on this system so they can be shared between configure
17567 # scripts and configure runs.  It is not useful on other systems.
17568 # If it contains results you don't want to keep, you may remove or edit it.
17569 #
17570 # By default, configure uses ./config.cache as the cache file,
17571 # creating it if it does not exist already.  You can give configure
17572 # the --cache-file=FILE option to use a different cache file; that is
17573 # what configure does when it calls configure scripts in
17574 # subdirectories, so they share the cache.
17575 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17576 # config.status only pays attention to the cache file if you give it the
17577 # --recheck option to rerun configure.
17578 #
17579 EOF
17580 # The following way of writing the cache mishandles newlines in values,
17581 # but we know of no workaround that is simple, portable, and efficient.
17582 # So, don't put newlines in cache variables' values.
17583 # Ultrix sh set writes to stderr and can't be redirected directly,
17584 # and sets the high bit in the cache file unless we assign to the vars.
17585 (set) 2>&1 |
17586   case `(ac_space=' '; set | grep ac_space) 2>&1` in
17587   *ac_space=\ *)
17588     # `set' does not quote correctly, so add quotes (double-quote substitution
17589     # turns \\\\ into \\, and sed turns \\ into \).
17590     sed -n \
17591       -e "s/'/'\\\\''/g" \
17592       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17593     ;;
17594   *)
17595     # `set' quotes correctly as required by POSIX, so do not add quotes.
17596     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17597     ;;
17598   esac >> confcache
17599 if cmp -s $cache_file confcache; then
17600   :
17601 else
17602   if test -w $cache_file; then
17603     echo "updating cache $cache_file"
17604     cat confcache > $cache_file
17605   else
17606     echo "not updating unwritable cache $cache_file"
17607   fi
17608 fi
17609 rm -f confcache
17610
17611   
17612   if test x$enable_c_mbchar != xno; then
17613
17614         ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17615 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17616 echo "configure:17617: checking for wchar.h" >&5
17617 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17618   echo $ac_n "(cached) $ac_c" 1>&6
17619 else
17620   cat > conftest.$ac_ext <<EOF
17621 #line 17622 "configure"
17622 #include "confdefs.h"
17623 #include <wchar.h>
17624 EOF
17625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17626 { (eval echo configure:17627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17628 if test -z "$ac_err"; then
17629   rm -rf conftest*
17630   eval "ac_cv_header_$ac_safe=yes"
17631 else
17632   echo "$ac_err" >&5
17633   echo "configure: failed program was:" >&5
17634   cat conftest.$ac_ext >&5
17635   rm -rf conftest*
17636   eval "ac_cv_header_$ac_safe=no"
17637 fi
17638 rm -f conftest*
17639 fi
17640 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17641   echo "$ac_t""yes" 1>&6
17642   ac_has_wchar_h=yes
17643 else
17644   echo "$ac_t""no" 1>&6
17645 ac_has_wchar_h=no
17646 fi
17647
17648     ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17649 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17650 echo "configure:17651: checking for wctype.h" >&5
17651 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17652   echo $ac_n "(cached) $ac_c" 1>&6
17653 else
17654   cat > conftest.$ac_ext <<EOF
17655 #line 17656 "configure"
17656 #include "confdefs.h"
17657 #include <wctype.h>
17658 EOF
17659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17660 { (eval echo configure:17661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17662 if test -z "$ac_err"; then
17663   rm -rf conftest*
17664   eval "ac_cv_header_$ac_safe=yes"
17665 else
17666   echo "$ac_err" >&5
17667   echo "configure: failed program was:" >&5
17668   cat conftest.$ac_ext >&5
17669   rm -rf conftest*
17670   eval "ac_cv_header_$ac_safe=no"
17671 fi
17672 rm -f conftest*
17673 fi
17674 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17675   echo "$ac_t""yes" 1>&6
17676   ac_has_wctype_h=yes
17677 else
17678   echo "$ac_t""no" 1>&6
17679 ac_has_wctype_h=no
17680 fi
17681
17682           
17683         if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17684   
17685                   echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17686 echo "configure:17687: checking for mbstate_t" >&5
17687       cat > conftest.$ac_ext <<EOF
17688 #line 17689 "configure"
17689 #include "confdefs.h"
17690 #include <wchar.h>
17691 int main() {
17692 mbstate_t teststate;
17693 ; return 0; }
17694 EOF
17695 if { (eval echo configure:17696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17696   rm -rf conftest*
17697   use_native_mbstatet=yes
17698 else
17699   echo "configure: failed program was:" >&5
17700   cat conftest.$ac_ext >&5
17701   rm -rf conftest*
17702   use_native_mbstatet=no
17703 fi
17704 rm -f conftest*
17705       echo "$ac_t""$use_native_mbstatet" 1>&6
17706       if test x"$use_native_mbstatet" = xno; then
17707         cat >> confdefs.h <<\EOF
17708 #define _GLIBCPP_NEED_MBSTATE_T 1
17709 EOF
17710
17711       fi
17712     
17713                   echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17714 echo "configure:17715: checking for WCHAR_MIN and WCHAR_MAX" >&5
17715       cat > conftest.$ac_ext <<EOF
17716 #line 17717 "configure"
17717 #include "confdefs.h"
17718 #include <wchar.h>
17719 int main() {
17720 int i = WCHAR_MIN; int j = WCHAR_MAX;
17721 ; return 0; }
17722 EOF
17723 if { (eval echo configure:17724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17724   rm -rf conftest*
17725   has_wchar_minmax=yes
17726 else
17727   echo "configure: failed program was:" >&5
17728   cat conftest.$ac_ext >&5
17729   rm -rf conftest*
17730   has_wchar_minmax=no
17731 fi
17732 rm -f conftest*
17733       echo "$ac_t""$has_wchar_minmax" 1>&6
17734     
17735                   echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17736 echo "configure:17737: checking for WEOF" >&5
17737       cat > conftest.$ac_ext <<EOF
17738 #line 17739 "configure"
17739 #include "confdefs.h"
17740
17741         #include <wchar.h>
17742         #include <stddef.h>
17743 int main() {
17744 wint_t i = WEOF;
17745 ; return 0; }
17746 EOF
17747 if { (eval echo configure:17748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17748   rm -rf conftest*
17749   has_weof=yes
17750 else
17751   echo "configure: failed program was:" >&5
17752   cat conftest.$ac_ext >&5
17753   rm -rf conftest*
17754   has_weof=no
17755 fi
17756 rm -f conftest*
17757       echo "$ac_t""$has_weof" 1>&6
17758   
17759             for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
17760       wcsrtombs mbsrtowcs
17761 do
17762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17763 echo "configure:17764: checking for $ac_func" >&5
17764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17765   echo $ac_n "(cached) $ac_c" 1>&6
17766 else
17767   cat > conftest.$ac_ext <<EOF
17768 #line 17769 "configure"
17769 #include "confdefs.h"
17770 /* System header to define __stub macros and hopefully few prototypes,
17771     which can conflict with char $ac_func(); below.  */
17772 #include <assert.h>
17773 /* Override any gcc2 internal prototype to avoid an error.  */
17774 /* We use char because int might match the return type of a gcc2
17775     builtin and then its argument prototype would still apply.  */
17776 char $ac_func();
17777
17778 int main() {
17779
17780 /* The GNU C library defines this for functions which it implements
17781     to always fail with ENOSYS.  Some functions are actually named
17782     something starting with __ and the normal name is an alias.  */
17783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17784 choke me
17785 #else
17786 $ac_func();
17787 #endif
17788
17789 ; return 0; }
17790 EOF
17791 if { (eval echo configure:17792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17792   rm -rf conftest*
17793   eval "ac_cv_func_$ac_func=yes"
17794 else
17795   echo "configure: failed program was:" >&5
17796   cat conftest.$ac_ext >&5
17797   rm -rf conftest*
17798   eval "ac_cv_func_$ac_func=no"
17799 fi
17800 rm -f conftest*
17801 fi
17802
17803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17804   echo "$ac_t""yes" 1>&6
17805     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17806   cat >> confdefs.h <<EOF
17807 #define $ac_tr_func 1
17808 EOF
17809  ac_wfuncs=yes
17810 else
17811   echo "$ac_t""no" 1>&6
17812 ac_wfuncs=no
17813 fi
17814 done
17815
17816   
17817       echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6
17818 echo "configure:17819: checking for ISO C9X wchar_t support" >&5
17819       if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
17820          && test x"$ac_wfuncs" = xyes; then
17821         ac_isoC9X_wchar_t=yes
17822       else
17823         ac_isoC9X_wchar_t=no
17824       fi
17825       echo "$ac_t""$ac_isoC9X_wchar_t" 1>&6
17826   
17827                   ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17828 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17829 echo "configure:17830: checking for iconv.h" >&5
17830 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17831   echo $ac_n "(cached) $ac_c" 1>&6
17832 else
17833   cat > conftest.$ac_ext <<EOF
17834 #line 17835 "configure"
17835 #include "confdefs.h"
17836 #include <iconv.h>
17837 EOF
17838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17839 { (eval echo configure:17840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17841 if test -z "$ac_err"; then
17842   rm -rf conftest*
17843   eval "ac_cv_header_$ac_safe=yes"
17844 else
17845   echo "$ac_err" >&5
17846   echo "configure: failed program was:" >&5
17847   cat conftest.$ac_ext >&5
17848   rm -rf conftest*
17849   eval "ac_cv_header_$ac_safe=no"
17850 fi
17851 rm -f conftest*
17852 fi
17853 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17854   echo "$ac_t""yes" 1>&6
17855   ac_has_iconv_h=yes
17856 else
17857   echo "$ac_t""no" 1>&6
17858 ac_has_iconv_h=no
17859 fi
17860
17861       ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17862 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17863 echo "configure:17864: checking for langinfo.h" >&5
17864 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17865   echo $ac_n "(cached) $ac_c" 1>&6
17866 else
17867   cat > conftest.$ac_ext <<EOF
17868 #line 17869 "configure"
17869 #include "confdefs.h"
17870 #include <langinfo.h>
17871 EOF
17872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17873 { (eval echo configure:17874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17874 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17875 if test -z "$ac_err"; then
17876   rm -rf conftest*
17877   eval "ac_cv_header_$ac_safe=yes"
17878 else
17879   echo "$ac_err" >&5
17880   echo "configure: failed program was:" >&5
17881   cat conftest.$ac_ext >&5
17882   rm -rf conftest*
17883   eval "ac_cv_header_$ac_safe=no"
17884 fi
17885 rm -f conftest*
17886 fi
17887 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17888   echo "$ac_t""yes" 1>&6
17889   ac_has_langinfo_h=yes
17890 else
17891   echo "$ac_t""no" 1>&6
17892 ac_has_langinfo_h=no
17893 fi
17894
17895       for ac_func in iconv_open iconv_close iconv nl_langinfo
17896 do
17897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17898 echo "configure:17899: checking for $ac_func" >&5
17899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17900   echo $ac_n "(cached) $ac_c" 1>&6
17901 else
17902   cat > conftest.$ac_ext <<EOF
17903 #line 17904 "configure"
17904 #include "confdefs.h"
17905 /* System header to define __stub macros and hopefully few prototypes,
17906     which can conflict with char $ac_func(); below.  */
17907 #include <assert.h>
17908 /* Override any gcc2 internal prototype to avoid an error.  */
17909 /* We use char because int might match the return type of a gcc2
17910     builtin and then its argument prototype would still apply.  */
17911 char $ac_func();
17912
17913 int main() {
17914
17915 /* The GNU C library defines this for functions which it implements
17916     to always fail with ENOSYS.  Some functions are actually named
17917     something starting with __ and the normal name is an alias.  */
17918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17919 choke me
17920 #else
17921 $ac_func();
17922 #endif
17923
17924 ; return 0; }
17925 EOF
17926 if { (eval echo configure:17927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17927   rm -rf conftest*
17928   eval "ac_cv_func_$ac_func=yes"
17929 else
17930   echo "configure: failed program was:" >&5
17931   cat conftest.$ac_ext >&5
17932   rm -rf conftest*
17933   eval "ac_cv_func_$ac_func=no"
17934 fi
17935 rm -f conftest*
17936 fi
17937
17938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17939   echo "$ac_t""yes" 1>&6
17940     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17941   cat >> confdefs.h <<EOF
17942 #define $ac_tr_func 1
17943 EOF
17944  \
17945       ac_XPG2funcs=yes
17946 else
17947   echo "$ac_t""no" 1>&6
17948 ac_XPG2funcs=no
17949 fi
17950 done
17951
17952   
17953       echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17954 echo "configure:17955: checking for XPG2 wchar_t support" >&5
17955       if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
17956          && test x"$ac_XPG2funcs" = xyes; then
17957         ac_XPG2_wchar_t=yes
17958       else
17959         ac_XPG2_wchar_t=no
17960       fi
17961       echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17962   
17963                   echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17964 echo "configure:17965: checking for enabled wchar_t specializations" >&5
17965       if test x"$ac_isoC9X_wchar_t" = xyes \
17966          && test x"$ac_XPG2_wchar_t" = xyes; then
17967         libinst_wstring_la="libinst-wstring.la"
17968         cat >> confdefs.h <<\EOF
17969 #define _GLIBCPP_USE_WCHAR_T 1
17970 EOF
17971
17972         echo "$ac_t"""yes"" 1>&6
17973       else
17974         libinst_wstring_la=""
17975         echo "$ac_t"""no"" 1>&6
17976       fi
17977       
17978   
17979     else
17980       echo "configure: warning: <wchar.h> not found" 1>&2
17981       cat >> confdefs.h <<\EOF
17982 #define _GLIBCPP_NEED_MBSTATE_T 1
17983 EOF
17984
17985     fi
17986
17987   else
17988         :
17989   fi
17990
17991   
17992   ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17993 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17994 echo "configure:17995: checking for ctype.h" >&5
17995 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17996   echo $ac_n "(cached) $ac_c" 1>&6
17997 else
17998   cat > conftest.$ac_ext <<EOF
17999 #line 18000 "configure"
18000 #include "confdefs.h"
18001 #include <ctype.h>
18002 EOF
18003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18004 { (eval echo configure:18005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18006 if test -z "$ac_err"; then
18007   rm -rf conftest*
18008   eval "ac_cv_header_$ac_safe=yes"
18009 else
18010   echo "$ac_err" >&5
18011   echo "configure: failed program was:" >&5
18012   cat conftest.$ac_ext >&5
18013   rm -rf conftest*
18014   eval "ac_cv_header_$ac_safe=no"
18015 fi
18016 rm -f conftest*
18017 fi
18018 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18019   echo "$ac_t""yes" 1>&6
18020   
18021     
18022         ctype_default=yes
18023
18024         echo $ac_n "checking <ctype> for GNU/Linux""... $ac_c" 1>&6
18025 echo "configure:18026: checking <ctype> for GNU/Linux" >&5
18026     cat > conftest.$ac_ext <<EOF
18027 #line 18028 "configure"
18028 #include "confdefs.h"
18029 #include <ctype.h>
18030 int main() {
18031 int
18032     foo (int a)
18033     { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
18034         + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
18035         + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
18036 ; return 0; }
18037 EOF
18038 if { (eval echo configure:18039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18039   rm -rf conftest*
18040   \
18041     ctype_linux=yes
18042 else
18043   echo "configure: failed program was:" >&5
18044   cat conftest.$ac_ext >&5
18045   rm -rf conftest*
18046   ctype_linux=no
18047 fi
18048 rm -f conftest*
18049     echo "$ac_t""$ctype_linux" 1>&6
18050     if test $ctype_linux = "yes"; then
18051       ctype_include_dir="config/os/gnu-linux"
18052       ctype_default=no
18053     fi
18054
18055         if test $ctype_default = "yes"; then
18056     echo $ac_n "checking <ctype> for FreeBSD 4.0""... $ac_c" 1>&6
18057 echo "configure:18058: checking <ctype> for FreeBSD 4.0" >&5
18058     cat > conftest.$ac_ext <<EOF
18059 #line 18060 "configure"
18060 #include "confdefs.h"
18061 #include <ctype.h>
18062 int main() {
18063 int
18064     foo (int a)
18065     { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
18066         + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
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_bsd=yes
18073 else
18074   echo "configure: failed program was:" >&5
18075   cat conftest.$ac_ext >&5
18076   rm -rf conftest*
18077   ctype_bsd=no
18078 fi
18079 rm -f conftest*
18080     echo "$ac_t""$ctype_bsd" 1>&6
18081     if test $ctype_bsd = "yes"; then
18082       ctype_include_dir="config/os/bsd"
18083       ctype_default=no
18084     fi
18085     fi
18086
18087         if test $ctype_default = "yes"; then
18088     echo $ac_n "checking <ctype> for FreeBSD 3.4""... $ac_c" 1>&6
18089 echo "configure:18090: checking <ctype> for FreeBSD 3.4" >&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 _S + _R + _C + _U + _L + _A \
18098       + _D + _P + _X + _G + __istype (a, 0);}
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_freebsd34=yes
18105 else
18106   echo "configure: failed program was:" >&5
18107   cat conftest.$ac_ext >&5
18108   rm -rf conftest*
18109   ctype_freebsd34=no
18110 fi
18111 rm -f conftest*
18112     echo "$ac_t""$ctype_freebsd34" 1>&6
18113     if test $ctype_freebsd34 = "yes"; then
18114       ctype_include_dir="config/os/bsd"
18115       ctype_default=no
18116     fi
18117     fi
18118
18119         if test $ctype_default = "yes"; then
18120     echo $ac_n "checking <ctype> for Solaris 2.6,7,8""... $ac_c" 1>&6
18121 echo "configure:18122: checking <ctype> for Solaris 2.6,7,8" >&5
18122     cat > conftest.$ac_ext <<EOF
18123 #line 18124 "configure"
18124 #include "confdefs.h"
18125 #include <ctype.h>
18126 int main() {
18127 int
18128     foo (int a)
18129     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
18130         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
18131         + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
18132 ; return 0; }
18133 EOF
18134 if { (eval echo configure:18135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18135   rm -rf conftest*
18136   \
18137     ctype_solaris=yes
18138 else
18139   echo "configure: failed program was:" >&5
18140   cat conftest.$ac_ext >&5
18141   rm -rf conftest*
18142   ctype_solaris=no
18143 fi
18144 rm -f conftest*
18145     echo "$ac_t""$ctype_solaris" 1>&6
18146
18147     if test $ctype_solaris = "yes"; then
18148       echo $ac_n "checking   for version""... $ac_c" 1>&6
18149 echo "configure:18150: checking   for version" >&5
18150       ac_ext=C
18151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18152 ac_cpp='$CXXCPP $CPPFLAGS'
18153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18155 cross_compiling=$ac_cv_prog_cxx_cross
18156  
18157       cat > conftest.$ac_ext <<EOF
18158 #line 18159 "configure"
18159 #include "confdefs.h"
18160 #include <ctype.h>
18161 int main() {
18162 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
18163 ; return 0; }
18164 EOF
18165 if { (eval echo configure:18166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18166   rm -rf conftest*
18167   \
18168       ctype_solaris26=yes
18169 else
18170   echo "configure: failed program was:" >&5
18171   cat conftest.$ac_ext >&5
18172   rm -rf conftest*
18173   ctype_solaris26=no
18174 fi
18175 rm -f conftest*
18176       ac_ext=c
18177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18178 ac_cpp='$CPP $CPPFLAGS'
18179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18181 cross_compiling=$ac_cv_prog_cc_cross
18182
18183       if test $ctype_solaris26 = "yes"; then
18184         ctype_include_dir="config/os/solaris/solaris2.6"
18185         echo "$ac_t""Solaris 2.6" 1>&6
18186         ctype_default=no
18187       else
18188         ctype_include_dir="config/os/solaris/solaris2.7"
18189         echo "$ac_t""Solaris 7,8" 1>&6
18190         ctype_default=no
18191       fi
18192     fi
18193     fi  
18194
18195         if test $ctype_default = "yes"; then
18196     echo $ac_n "checking <ctype> for Solaris 2.5.1""... $ac_c" 1>&6
18197 echo "configure:18198: checking <ctype> for Solaris 2.5.1" >&5
18198     cat > conftest.$ac_ext <<EOF
18199 #line 18200 "configure"
18200 #include "confdefs.h"
18201 #include <ctype.h>
18202 int main() {
18203 int
18204     foo (int a)
18205     { return _U + _L + _N + _S + _P + _C + _X + _B \
18206         + __ctype[a];}
18207 ; return 0; }
18208 EOF
18209 if { (eval echo configure:18210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18210   rm -rf conftest*
18211   \
18212     ctype_solaris25=yes
18213 else
18214   echo "configure: failed program was:" >&5
18215   cat conftest.$ac_ext >&5
18216   rm -rf conftest*
18217   ctype_solaris25=no
18218 fi
18219 rm -f conftest*
18220     echo "$ac_t""$ctype_solaris25" 1>&6
18221     if test $ctype_solaris25 = "yes"; then
18222       ctype_include_dir="config/os/solaris/solaris2.5"
18223       ctype_default=no
18224     fi
18225     fi
18226
18227         if test $ctype_default = "yes"; then
18228     echo $ac_n "checking <ctype> for AIX""... $ac_c" 1>&6
18229 echo "configure:18230: checking <ctype> for AIX" >&5
18230     cat > conftest.$ac_ext <<EOF
18231 #line 18232 "configure"
18232 #include "confdefs.h"
18233 #include <ctype.h>
18234 int main() {
18235 int
18236     foo (int a)
18237     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
18238         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
18239         + _VALC('a') + _IS('c', 0);}
18240 ; return 0; }
18241 EOF
18242 if { (eval echo configure:18243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18243   rm -rf conftest*
18244   \
18245     ctype_aix=yes
18246 else
18247   echo "configure: failed program was:" >&5
18248   cat conftest.$ac_ext >&5
18249   rm -rf conftest*
18250   ctype_aix=no
18251 fi
18252 rm -f conftest*
18253     echo "$ac_t""$ctype_aix" 1>&6
18254     if test $ctype_aix = "yes"; then
18255       ctype_include_dir="config/os/aix"
18256       ctype_default=no
18257     fi
18258     fi
18259
18260         if test $ctype_default = "yes"; then
18261     echo $ac_n "checking <ctype> for newlib""... $ac_c" 1>&6
18262 echo "configure:18263: checking <ctype> for newlib" >&5
18263     cat > conftest.$ac_ext <<EOF
18264 #line 18265 "configure"
18265 #include "confdefs.h"
18266 #include <ctype.h>
18267 int main() {
18268 int
18269     foo (int a)
18270     { return _U + _L + _N + _S + _P + _C + _X + _B \
18271         + _ctype_[a];}
18272 ; return 0; }
18273 EOF
18274 if { (eval echo configure:18275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18275   rm -rf conftest*
18276   \
18277     ctype_newlib=yes
18278 else
18279   echo "configure: failed program was:" >&5
18280   cat conftest.$ac_ext >&5
18281   rm -rf conftest*
18282   ctype_newlib=no
18283 fi
18284 rm -f conftest*
18285     echo "$ac_t""$ctype_newlib" 1>&6
18286     if test $ctype_newlib = "yes"; then
18287       ctype_include_dir="config/newlib"
18288       ctype_default=no
18289     fi
18290     fi
18291
18292     if test $ctype_default = "yes"; then
18293       ctype_include_dir="config/os/generic"
18294       echo "configure: warning: "Using default ctype headers."" 1>&2
18295     fi
18296
18297     
18298     
18299     
18300   
18301 else
18302   echo "$ac_t""no" 1>&6
18303 fi
18304
18305
18306
18307   for ac_hdr in unistd.h
18308 do
18309 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18310 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18311 echo "configure:18312: checking for $ac_hdr" >&5
18312 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18313   echo $ac_n "(cached) $ac_c" 1>&6
18314 else
18315   cat > conftest.$ac_ext <<EOF
18316 #line 18317 "configure"
18317 #include "confdefs.h"
18318 #include <$ac_hdr>
18319 EOF
18320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18321 { (eval echo configure:18322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18323 if test -z "$ac_err"; then
18324   rm -rf conftest*
18325   eval "ac_cv_header_$ac_safe=yes"
18326 else
18327   echo "$ac_err" >&5
18328   echo "configure: failed program was:" >&5
18329   cat conftest.$ac_ext >&5
18330   rm -rf conftest*
18331   eval "ac_cv_header_$ac_safe=no"
18332 fi
18333 rm -f conftest*
18334 fi
18335 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18336   echo "$ac_t""yes" 1>&6
18337     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18338   cat >> confdefs.h <<EOF
18339 #define $ac_tr_hdr 1
18340 EOF
18341  
18342 else
18343   echo "$ac_t""no" 1>&6
18344 fi
18345 done
18346
18347 for ac_func in getpagesize
18348 do
18349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18350 echo "configure:18351: checking for $ac_func" >&5
18351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18352   echo $ac_n "(cached) $ac_c" 1>&6
18353 else
18354   cat > conftest.$ac_ext <<EOF
18355 #line 18356 "configure"
18356 #include "confdefs.h"
18357 /* System header to define __stub macros and hopefully few prototypes,
18358     which can conflict with char $ac_func(); below.  */
18359 #include <assert.h>
18360 /* Override any gcc2 internal prototype to avoid an error.  */
18361 /* We use char because int might match the return type of a gcc2
18362     builtin and then its argument prototype would still apply.  */
18363 char $ac_func();
18364
18365 int main() {
18366
18367 /* The GNU C library defines this for functions which it implements
18368     to always fail with ENOSYS.  Some functions are actually named
18369     something starting with __ and the normal name is an alias.  */
18370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18371 choke me
18372 #else
18373 $ac_func();
18374 #endif
18375
18376 ; return 0; }
18377 EOF
18378 if { (eval echo configure:18379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18379   rm -rf conftest*
18380   eval "ac_cv_func_$ac_func=yes"
18381 else
18382   echo "configure: failed program was:" >&5
18383   cat conftest.$ac_ext >&5
18384   rm -rf conftest*
18385   eval "ac_cv_func_$ac_func=no"
18386 fi
18387 rm -f conftest*
18388 fi
18389
18390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18391   echo "$ac_t""yes" 1>&6
18392     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18393   cat >> confdefs.h <<EOF
18394 #define $ac_tr_func 1
18395 EOF
18396  
18397 else
18398   echo "$ac_t""no" 1>&6
18399 fi
18400 done
18401
18402 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18403 echo "configure:18404: checking for working mmap" >&5
18404 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18405   echo $ac_n "(cached) $ac_c" 1>&6
18406 else
18407   if test "$cross_compiling" = yes; then
18408   ac_cv_func_mmap_fixed_mapped=no
18409 else
18410   cat > conftest.$ac_ext <<EOF
18411 #line 18412 "configure"
18412 #include "confdefs.h"
18413
18414 /* Thanks to Mike Haertel and Jim Avera for this test.
18415    Here is a matrix of mmap possibilities:
18416         mmap private not fixed
18417         mmap private fixed at somewhere currently unmapped
18418         mmap private fixed at somewhere already mapped
18419         mmap shared not fixed
18420         mmap shared fixed at somewhere currently unmapped
18421         mmap shared fixed at somewhere already mapped
18422    For private mappings, we should verify that changes cannot be read()
18423    back from the file, nor mmap's back from the file at a different
18424    address.  (There have been systems where private was not correctly
18425    implemented like the infamous i386 svr4.0, and systems where the
18426    VM page cache was not coherent with the filesystem buffer cache
18427    like early versions of FreeBSD and possibly contemporary NetBSD.)
18428    For shared mappings, we should conversely verify that changes get
18429    propogated back to all the places they're supposed to be.
18430
18431    Grep wants private fixed already mapped.
18432    The main things grep needs to know about mmap are:
18433    * does it exist and is it safe to write into the mmap'd area
18434    * how to use it (BSD variants)  */
18435 #include <sys/types.h>
18436 #include <fcntl.h>
18437 #include <sys/mman.h>
18438
18439 /* This mess was copied from the GNU getpagesize.h.  */
18440 #ifndef HAVE_GETPAGESIZE
18441 # ifdef HAVE_UNISTD_H
18442 #  include <unistd.h>
18443 # endif
18444
18445 /* Assume that all systems that can run configure have sys/param.h.  */
18446 # ifndef HAVE_SYS_PARAM_H
18447 #  define HAVE_SYS_PARAM_H 1
18448 # endif
18449
18450 # ifdef _SC_PAGESIZE
18451 #  define getpagesize() sysconf(_SC_PAGESIZE)
18452 # else /* no _SC_PAGESIZE */
18453 #  ifdef HAVE_SYS_PARAM_H
18454 #   include <sys/param.h>
18455 #   ifdef EXEC_PAGESIZE
18456 #    define getpagesize() EXEC_PAGESIZE
18457 #   else /* no EXEC_PAGESIZE */
18458 #    ifdef NBPG
18459 #     define getpagesize() NBPG * CLSIZE
18460 #     ifndef CLSIZE
18461 #      define CLSIZE 1
18462 #     endif /* no CLSIZE */
18463 #    else /* no NBPG */
18464 #     ifdef NBPC
18465 #      define getpagesize() NBPC
18466 #     else /* no NBPC */
18467 #      ifdef PAGESIZE
18468 #       define getpagesize() PAGESIZE
18469 #      endif /* PAGESIZE */
18470 #     endif /* no NBPC */
18471 #    endif /* no NBPG */
18472 #   endif /* no EXEC_PAGESIZE */
18473 #  else /* no HAVE_SYS_PARAM_H */
18474 #   define getpagesize() 8192   /* punt totally */
18475 #  endif /* no HAVE_SYS_PARAM_H */
18476 # endif /* no _SC_PAGESIZE */
18477
18478 #endif /* no HAVE_GETPAGESIZE */
18479
18480 #ifdef __cplusplus
18481 extern "C" { void *malloc(unsigned); }
18482 #else
18483 char *malloc();
18484 #endif
18485
18486 int
18487 main()
18488 {
18489         char *data, *data2, *data3;
18490         int i, pagesize;
18491         int fd;
18492
18493         pagesize = getpagesize();
18494
18495         /*
18496          * First, make a file with some known garbage in it.
18497          */
18498         data = malloc(pagesize);
18499         if (!data)
18500                 exit(1);
18501         for (i = 0; i < pagesize; ++i)
18502                 *(data + i) = rand();
18503         umask(0);
18504         fd = creat("conftestmmap", 0600);
18505         if (fd < 0)
18506                 exit(1);
18507         if (write(fd, data, pagesize) != pagesize)
18508                 exit(1);
18509         close(fd);
18510
18511         /*
18512          * Next, try to mmap the file at a fixed address which
18513          * already has something else allocated at it.  If we can,
18514          * also make sure that we see the same garbage.
18515          */
18516         fd = open("conftestmmap", O_RDWR);
18517         if (fd < 0)
18518                 exit(1);
18519         data2 = malloc(2 * pagesize);
18520         if (!data2)
18521                 exit(1);
18522         data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18523         if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18524             MAP_PRIVATE | MAP_FIXED, fd, 0L))
18525                 exit(1);
18526         for (i = 0; i < pagesize; ++i)
18527                 if (*(data + i) != *(data2 + i))
18528                         exit(1);
18529
18530         /*
18531          * Finally, make sure that changes to the mapped area
18532          * do not percolate back to the file as seen by read().
18533          * (This is a bug on some variants of i386 svr4.0.)
18534          */
18535         for (i = 0; i < pagesize; ++i)
18536                 *(data2 + i) = *(data2 + i) + 1;
18537         data3 = malloc(pagesize);
18538         if (!data3)
18539                 exit(1);
18540         if (read(fd, data3, pagesize) != pagesize)
18541                 exit(1);
18542         for (i = 0; i < pagesize; ++i)
18543                 if (*(data + i) != *(data3 + i))
18544                         exit(1);
18545         close(fd);
18546         unlink("conftestmmap");
18547         exit(0);
18548 }
18549
18550 EOF
18551 if { (eval echo configure:18552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18552 then
18553   ac_cv_func_mmap_fixed_mapped=yes
18554 else
18555   echo "configure: failed program was:" >&5
18556   cat conftest.$ac_ext >&5
18557   rm -fr conftest*
18558   ac_cv_func_mmap_fixed_mapped=no
18559 fi
18560 rm -fr conftest*
18561 fi
18562
18563 fi
18564
18565 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18566 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18567   cat >> confdefs.h <<\EOF
18568 #define HAVE_MMAP 1
18569 EOF
18570
18571 fi
18572
18573   for ac_hdr in gconv.h
18574 do
18575 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18576 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18577 echo "configure:18578: checking for $ac_hdr" >&5
18578 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18579   echo $ac_n "(cached) $ac_c" 1>&6
18580 else
18581   cat > conftest.$ac_ext <<EOF
18582 #line 18583 "configure"
18583 #include "confdefs.h"
18584 #include <$ac_hdr>
18585 EOF
18586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18587 { (eval echo configure:18588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18589 if test -z "$ac_err"; then
18590   rm -rf conftest*
18591   eval "ac_cv_header_$ac_safe=yes"
18592 else
18593   echo "$ac_err" >&5
18594   echo "configure: failed program was:" >&5
18595   cat conftest.$ac_ext >&5
18596   rm -rf conftest*
18597   eval "ac_cv_header_$ac_safe=no"
18598 fi
18599 rm -f conftest*
18600 fi
18601 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18602   echo "$ac_t""yes" 1>&6
18603     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18604   cat >> confdefs.h <<EOF
18605 #define $ac_tr_hdr 1
18606 EOF
18607  
18608 else
18609   echo "$ac_t""no" 1>&6
18610 fi
18611 done
18612
18613 fi
18614
18615
18616
18617 if test "$CANADIAN" = yes; then
18618   CANADIAN_TRUE=
18619   CANADIAN_FALSE='#'
18620 else
18621   CANADIAN_TRUE='#'
18622   CANADIAN_FALSE=
18623 fi
18624
18625
18626 if test "$NULL_TARGET" = yes; then
18627   NULL_TARGET_TRUE=
18628   NULL_TARGET_FALSE='#'
18629 else
18630   NULL_TARGET_TRUE='#'
18631   NULL_TARGET_FALSE=
18632 fi
18633
18634
18635 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18636   NATIVE_TRUE=
18637   NATIVE_FALSE='#'
18638 else
18639   NATIVE_TRUE='#'
18640   NATIVE_FALSE=
18641 fi
18642
18643
18644 if test -z "$with_cross_host"; then
18645   USE_LIBDIR_TRUE=
18646   USE_LIBDIR_FALSE='#'
18647 else
18648   USE_LIBDIR_TRUE='#'
18649   USE_LIBDIR_FALSE=
18650 fi
18651
18652 if test $ac_cv_header_locale_h = yes; then
18653     echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18654 echo "configure:18655: checking for LC_MESSAGES" >&5
18655 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18656   echo $ac_n "(cached) $ac_c" 1>&6
18657 else
18658   cat > conftest.$ac_ext <<EOF
18659 #line 18660 "configure"
18660 #include "confdefs.h"
18661 #include <locale.h>
18662 int main() {
18663 return LC_MESSAGES
18664 ; return 0; }
18665 EOF
18666 if { (eval echo configure:18667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18667   rm -rf conftest*
18668   ac_cv_val_LC_MESSAGES=yes
18669 else
18670   echo "configure: failed program was:" >&5
18671   cat conftest.$ac_ext >&5
18672   rm -rf conftest*
18673   ac_cv_val_LC_MESSAGES=no
18674 fi
18675 rm -f conftest*
18676 fi
18677
18678 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18679     if test $ac_cv_val_LC_MESSAGES = yes; then
18680       cat >> confdefs.h <<\EOF
18681 #define HAVE_LC_MESSAGES 1
18682 EOF
18683
18684     fi
18685   fi
18686
18687 if test "${multilib}" = "yes"; then
18688   multilib_arg="--enable-multilib"
18689 else
18690   multilib_arg=
18691 fi
18692
18693
18694 # Generate the various Makefiles, include files, and scripts.
18695
18696 # This helps subvert libstdcxx_interface, as calculated by devo/config.if
18697 # Needed so that g++ can find the correct include subdir automatically.
18698 INTERFACE=v3
18699
18700 # Check for the interface version number for specifying where header
18701 # files are installed, if a version number is provided.
18702 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
18703 echo "configure:18704: checking for interface version number" >&5
18704 libstdcxx_interface=$INTERFACE
18705 echo "$ac_t""$libstdcxx_interface" 1>&6
18706
18707
18708 # Process the option --with-gxx-include-dir=<path to include-files directory>
18709 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
18710 echo "configure:18711: checking for --with-gxx-include-dir" >&5
18711 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
18712 if test "${with_gxx_include_dir+set}" = set; then
18713   withval="$with_gxx_include_dir"
18714   case "${withval}" in
18715   yes)
18716     { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
18717     gxx_include_dir=no
18718     ;;
18719   no)
18720     gxx_include_dir=no
18721     ;;
18722   *)
18723     gxx_include_dir=${withval}
18724     ;;
18725 esac
18726 else
18727   gxx_include_dir=no
18728 fi
18729
18730 echo "$ac_t""$gxx_include_dir" 1>&6
18731
18732
18733
18734 if test x${gxx_include_dir} != xno; then
18735   GXX_INCLUDE_DIR_TRUE=
18736   GXX_INCLUDE_DIR_FALSE='#'
18737 else
18738   GXX_INCLUDE_DIR_TRUE='#'
18739   GXX_INCLUDE_DIR_FALSE=
18740 fi
18741
18742 # Process the option "--enable-version-specific-runtime-libs"
18743 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
18744 echo "configure:18745: checking for --enable-version-specific-runtime-libs" >&5
18745 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
18746 if test "${enable_version_specific_runtime_libs+set}" = set; then
18747   enableval="$enable_version_specific_runtime_libs"
18748     version_specific_libs=yes
18749 # Need the gcc compiler version to know where to install libraries
18750 # and header files if --enable-version-specific-runtime-libs option
18751 # is selected.
18752 gcc_tmp=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $6}'`
18753 gcc_num=`echo ${gcc_tmp} | sed 's/\"//g'`
18754 #gcc_date=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $7}'`
18755 #gcc_version=$gcc_num-$gcc_date
18756 gcc_version=$gcc_num
18757
18758
18759 else
18760   version_specific_libs=no
18761 fi
18762
18763 echo "$ac_t""$version_specific_libs" 1>&6
18764 if test x${version_specific_libs} = xyes; then
18765   
18766
18767 if test x${version_specific_libs} = xyes; then
18768   VERSION_SPECIFIC_LIBS_TRUE=
18769   VERSION_SPECIFIC_LIBS_FALSE='#'
18770 else
18771   VERSION_SPECIFIC_LIBS_TRUE='#'
18772   VERSION_SPECIFIC_LIBS_FALSE=
18773 fi
18774   echo "configure: warning: version specific directory is: $gcc_version" 1>&2
18775 fi
18776
18777
18778
18779 # Export all the include and flag information to makefiles.
18780
18781   # Root level of the include sources.
18782   GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
18783
18784   # Can either use include/c or include/c_std to grab "C" headers. This
18785   # variable is set to the include directory currently in use.
18786   # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_SHADOW
18787    
18788   # Passed down for cross compilers, canadian crosses.
18789   TOPLEVEL_INCLUDES='-I$(includedir)'
18790
18791   LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
18792
18793   LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
18794
18795   #if GLIBCPP_NEED_LIBIO
18796   LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
18797   #else
18798   #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
18799   #endif
18800
18801   #if GLIBCPP_USE_CSHADOW
18802   #  CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
18803   #                   -I$(top_blddir)/cshadow'
18804   #else
18805   CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
18806   #endif
18807
18808   # Now, export this to all the little Makefiles....
18809   
18810   
18811   
18812   
18813   
18814   
18815
18816
18817   # Optimization flags that are probably a good idea for thrill-seekers. Just
18818   # uncomment the lines below and make, everything else is ready to go... 
18819   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc 
18820   OPTIMIZE_CXXFLAGS=
18821   
18822
18823   WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
18824   
18825
18826
18827 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18828 # so that multilib installs will end up installed in the correct
18829 # place. To work around this not being passed down from config-ml.in
18830 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18831 # append it here.
18832 trap '' 1 2 15
18833 cat > confcache <<\EOF
18834 # This file is a shell script that caches the results of configure
18835 # tests run on this system so they can be shared between configure
18836 # scripts and configure runs.  It is not useful on other systems.
18837 # If it contains results you don't want to keep, you may remove or edit it.
18838 #
18839 # By default, configure uses ./config.cache as the cache file,
18840 # creating it if it does not exist already.  You can give configure
18841 # the --cache-file=FILE option to use a different cache file; that is
18842 # what configure does when it calls configure scripts in
18843 # subdirectories, so they share the cache.
18844 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18845 # config.status only pays attention to the cache file if you give it the
18846 # --recheck option to rerun configure.
18847 #
18848 EOF
18849 # The following way of writing the cache mishandles newlines in values,
18850 # but we know of no workaround that is simple, portable, and efficient.
18851 # So, don't put newlines in cache variables' values.
18852 # Ultrix sh set writes to stderr and can't be redirected directly,
18853 # and sets the high bit in the cache file unless we assign to the vars.
18854 (set) 2>&1 |
18855   case `(ac_space=' '; set | grep ac_space) 2>&1` in
18856   *ac_space=\ *)
18857     # `set' does not quote correctly, so add quotes (double-quote substitution
18858     # turns \\\\ into \\, and sed turns \\ into \).
18859     sed -n \
18860       -e "s/'/'\\\\''/g" \
18861       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18862     ;;
18863   *)
18864     # `set' quotes correctly as required by POSIX, so do not add quotes.
18865     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18866     ;;
18867   esac >> confcache
18868 if cmp -s $cache_file confcache; then
18869   :
18870 else
18871   if test -w $cache_file; then
18872     echo "updating cache $cache_file"
18873     cat confcache > $cache_file
18874   else
18875     echo "not updating unwritable cache $cache_file"
18876   fi
18877 fi
18878 rm -f confcache
18879
18880 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18881
18882 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18883 # Let make expand exec_prefix.
18884 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18885
18886 # Any assignment to VPATH causes Sun make to only execute
18887 # the first set of double-colon rules, so remove it if not needed.
18888 # If there is a colon in the path, we need to keep it.
18889 if test "x$srcdir" = x.; then
18890   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
18891 fi
18892
18893 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18894
18895 DEFS=-DHAVE_CONFIG_H
18896
18897 # Without the "./", some shells look in PATH for config.status.
18898 : ${CONFIG_STATUS=./config.status}
18899
18900 echo creating $CONFIG_STATUS
18901 rm -f $CONFIG_STATUS
18902 cat > $CONFIG_STATUS <<EOF
18903 #! /bin/sh
18904 # Generated automatically by configure.
18905 # Run this file to recreate the current configuration.
18906 # This directory was configured as follows,
18907 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18908 #
18909 # $0 $ac_configure_args
18910 #
18911 # Compiler output produced by configure, useful for debugging
18912 # configure, is in ./config.log if it exists.
18913
18914 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18915 for ac_option
18916 do
18917   case "\$ac_option" in
18918   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18919     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18920     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18921   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18922     echo "$CONFIG_STATUS generated by autoconf version 2.13"
18923     exit 0 ;;
18924   -help | --help | --hel | --he | --h)
18925     echo "\$ac_cs_usage"; exit 0 ;;
18926   *) echo "\$ac_cs_usage"; exit 1 ;;
18927   esac
18928 done
18929
18930 ac_given_srcdir=$srcdir
18931 ac_given_INSTALL="$INSTALL"
18932
18933 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
18934 EOF
18935 cat >> $CONFIG_STATUS <<EOF
18936
18937 # Protect against being on the right side of a sed subst in config.status.
18938 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18939  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18940 $ac_vpsub
18941 $extrasub
18942 s%@SHELL@%$SHELL%g
18943 s%@CFLAGS@%$CFLAGS%g
18944 s%@CPPFLAGS@%$CPPFLAGS%g
18945 s%@CXXFLAGS@%$CXXFLAGS%g
18946 s%@FFLAGS@%$FFLAGS%g
18947 s%@DEFS@%$DEFS%g
18948 s%@LDFLAGS@%$LDFLAGS%g
18949 s%@LIBS@%$LIBS%g
18950 s%@exec_prefix@%$exec_prefix%g
18951 s%@prefix@%$prefix%g
18952 s%@program_transform_name@%$program_transform_name%g
18953 s%@bindir@%$bindir%g
18954 s%@sbindir@%$sbindir%g
18955 s%@libexecdir@%$libexecdir%g
18956 s%@datadir@%$datadir%g
18957 s%@sysconfdir@%$sysconfdir%g
18958 s%@sharedstatedir@%$sharedstatedir%g
18959 s%@localstatedir@%$localstatedir%g
18960 s%@libdir@%$libdir%g
18961 s%@includedir@%$includedir%g
18962 s%@oldincludedir@%$oldincludedir%g
18963 s%@infodir@%$infodir%g
18964 s%@mandir@%$mandir%g
18965 s%@host@%$host%g
18966 s%@host_alias@%$host_alias%g
18967 s%@host_cpu@%$host_cpu%g
18968 s%@host_vendor@%$host_vendor%g
18969 s%@host_os@%$host_os%g
18970 s%@target@%$target%g
18971 s%@target_alias@%$target_alias%g
18972 s%@target_cpu@%$target_cpu%g
18973 s%@target_vendor@%$target_vendor%g
18974 s%@target_os@%$target_os%g
18975 s%@build@%$build%g
18976 s%@build_alias@%$build_alias%g
18977 s%@build_cpu@%$build_cpu%g
18978 s%@build_vendor@%$build_vendor%g
18979 s%@build_os@%$build_os%g
18980 s%@glibcpp_basedir@%$glibcpp_basedir%g
18981 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18982 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18983 s%@INSTALL_DATA@%$INSTALL_DATA%g
18984 s%@PACKAGE@%$PACKAGE%g
18985 s%@VERSION@%$VERSION%g
18986 s%@ACLOCAL@%$ACLOCAL%g
18987 s%@AUTOCONF@%$AUTOCONF%g
18988 s%@AUTOMAKE@%$AUTOMAKE%g
18989 s%@AUTOHEADER@%$AUTOHEADER%g
18990 s%@MAKEINFO@%$MAKEINFO%g
18991 s%@SET_MAKE@%$SET_MAKE%g
18992 s%@CC@%$CC%g
18993 s%@CXX@%$CXX%g
18994 s%@AS@%$AS%g
18995 s%@AR@%$AR%g
18996 s%@RANLIB@%$RANLIB%g
18997 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18998 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18999 s%@MAINT@%$MAINT%g
19000 s%@EXEEXT@%$EXEEXT%g
19001 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
19002 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
19003 s%@LN_S@%$LN_S%g
19004 s%@OBJEXT@%$OBJEXT%g
19005 s%@STRIP@%$STRIP%g
19006 s%@LIBTOOL@%$LIBTOOL%g
19007 s%@CXXCPP@%$CXXCPP%g
19008 s%@ifGNUmake@%$ifGNUmake%g
19009 s%@CPP@%$CPP%g
19010 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
19011 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
19012 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
19013 s%@GLIBCPP_NEED_XTRA_LIBIO_TRUE@%$GLIBCPP_NEED_XTRA_LIBIO_TRUE%g
19014 s%@GLIBCPP_NEED_XTRA_LIBIO_FALSE@%$GLIBCPP_NEED_XTRA_LIBIO_FALSE%g
19015 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
19016 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
19017 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
19018 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
19019 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
19020 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
19021 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
19022 s%@WERROR@%$WERROR%g
19023 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
19024 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
19025 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
19026 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
19027 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
19028 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
19029 s%@libinst_wstring_la@%$libinst_wstring_la%g
19030 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
19031 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
19032 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
19033 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
19034 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
19035 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
19036 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
19037 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
19038 s%@libstdcxx_interface@%$libstdcxx_interface%g
19039 s%@gxx_include_dir@%$gxx_include_dir%g
19040 s%@GXX_INCLUDE_DIR_TRUE@%$GXX_INCLUDE_DIR_TRUE%g
19041 s%@GXX_INCLUDE_DIR_FALSE@%$GXX_INCLUDE_DIR_FALSE%g
19042 s%@gcc_version@%$gcc_version%g
19043 s%@VERSION_SPECIFIC_LIBS_TRUE@%$VERSION_SPECIFIC_LIBS_TRUE%g
19044 s%@VERSION_SPECIFIC_LIBS_FALSE@%$VERSION_SPECIFIC_LIBS_FALSE%g
19045 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
19046 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
19047 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
19048 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
19049 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
19050 s%@CSHADOW_INCLUDES@%$CSHADOW_INCLUDES%g
19051 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
19052 s%@WARN_FLAGS@%$WARN_FLAGS%g
19053
19054 CEOF
19055 EOF
19056
19057 cat >> $CONFIG_STATUS <<\EOF
19058
19059 # Split the substitutions into bite-sized pieces for seds with
19060 # small command number limits, like on Digital OSF/1 and HP-UX.
19061 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19062 ac_file=1 # Number of current file.
19063 ac_beg=1 # First line for current file.
19064 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19065 ac_more_lines=:
19066 ac_sed_cmds=""
19067 while $ac_more_lines; do
19068   if test $ac_beg -gt 1; then
19069     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19070   else
19071     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19072   fi
19073   if test ! -s conftest.s$ac_file; then
19074     ac_more_lines=false
19075     rm -f conftest.s$ac_file
19076   else
19077     if test -z "$ac_sed_cmds"; then
19078       ac_sed_cmds="sed -f conftest.s$ac_file"
19079     else
19080       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19081     fi
19082     ac_file=`expr $ac_file + 1`
19083     ac_beg=$ac_end
19084     ac_end=`expr $ac_end + $ac_max_sed_cmds`
19085   fi
19086 done
19087 if test -z "$ac_sed_cmds"; then
19088   ac_sed_cmds=cat
19089 fi
19090 EOF
19091
19092 cat >> $CONFIG_STATUS <<EOF
19093
19094 CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
19095 EOF
19096 cat >> $CONFIG_STATUS <<\EOF
19097 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19098   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19099   case "$ac_file" in
19100   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19101        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19102   *) ac_file_in="${ac_file}.in" ;;
19103   esac
19104
19105   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19106
19107   # Remove last slash and all that follows it.  Not all systems have dirname.
19108   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19109   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19110     # The file is in a subdirectory.
19111     test ! -d "$ac_dir" && mkdir "$ac_dir"
19112     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19113     # A "../" for each directory in $ac_dir_suffix.
19114     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19115   else
19116     ac_dir_suffix= ac_dots=
19117   fi
19118
19119   case "$ac_given_srcdir" in
19120   .)  srcdir=.
19121       if test -z "$ac_dots"; then top_srcdir=.
19122       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19123   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19124   *) # Relative path.
19125     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19126     top_srcdir="$ac_dots$ac_given_srcdir" ;;
19127   esac
19128
19129   case "$ac_given_INSTALL" in
19130   [/$]*) INSTALL="$ac_given_INSTALL" ;;
19131   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19132   esac
19133
19134   echo creating "$ac_file"
19135   rm -f "$ac_file"
19136   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19137   case "$ac_file" in
19138   *Makefile*) ac_comsub="1i\\
19139 # $configure_input" ;;
19140   *) ac_comsub= ;;
19141   esac
19142
19143   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19144   sed -e "$ac_comsub
19145 s%@configure_input@%$configure_input%g
19146 s%@srcdir@%$srcdir%g
19147 s%@top_srcdir@%$top_srcdir%g
19148 s%@INSTALL@%$INSTALL%g
19149 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19150 fi; done
19151 rm -f conftest.s*
19152
19153 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19154 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19155 #
19156 # ac_d sets the value in "#define NAME VALUE" lines.
19157 ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
19158 ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
19159 ac_dC='\3'
19160 ac_dD='%g'
19161 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19162 ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
19163 ac_uB='\([      ]\)%\1#\2define\3'
19164 ac_uC=' '
19165 ac_uD='\4%g'
19166 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19167 ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
19168 ac_eB='$%\1#\2define\3'
19169 ac_eC=' '
19170 ac_eD='%g'
19171
19172 if test "${CONFIG_HEADERS+set}" != set; then
19173 EOF
19174 cat >> $CONFIG_STATUS <<EOF
19175   CONFIG_HEADERS="config.h"
19176 EOF
19177 cat >> $CONFIG_STATUS <<\EOF
19178 fi
19179 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
19180   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19181   case "$ac_file" in
19182   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19183        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19184   *) ac_file_in="${ac_file}.in" ;;
19185   esac
19186
19187   echo creating $ac_file
19188
19189   rm -f conftest.frag conftest.in conftest.out
19190   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19191   cat $ac_file_inputs > conftest.in
19192
19193 EOF
19194
19195 # Transform confdefs.h into a sed script conftest.vals that substitutes
19196 # the proper values into config.h.in to produce config.h.  And first:
19197 # Protect against being on the right side of a sed subst in config.status.
19198 # Protect against being in an unquoted here document in config.status.
19199 rm -f conftest.vals
19200 cat > conftest.hdr <<\EOF
19201 s/[\\&%]/\\&/g
19202 s%[\\$`]%\\&%g
19203 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19204 s%ac_d%ac_u%gp
19205 s%ac_u%ac_e%gp
19206 EOF
19207 sed -n -f conftest.hdr confdefs.h > conftest.vals
19208 rm -f conftest.hdr
19209
19210 # This sed command replaces #undef with comments.  This is necessary, for
19211 # example, in the case of _POSIX_SOURCE, which is predefined and required
19212 # on some systems where configure will not decide to define it.
19213 cat >> conftest.vals <<\EOF
19214 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19215 EOF
19216
19217 # Break up conftest.vals because some shells have a limit on
19218 # the size of here documents, and old seds have small limits too.
19219
19220 rm -f conftest.tail
19221 while :
19222 do
19223   ac_lines=`grep -c . conftest.vals`
19224   # grep -c gives empty output for an empty file on some AIX systems.
19225   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19226   # Write a limited-size here document to conftest.frag.
19227   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19228   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19229   echo 'CEOF
19230   sed -f conftest.frag conftest.in > conftest.out
19231   rm -f conftest.in
19232   mv conftest.out conftest.in
19233 ' >> $CONFIG_STATUS
19234   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19235   rm -f conftest.vals
19236   mv conftest.tail conftest.vals
19237 done
19238 rm -f conftest.vals
19239
19240 cat >> $CONFIG_STATUS <<\EOF
19241   rm -f conftest.frag conftest.h
19242   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
19243   cat conftest.in >> conftest.h
19244   rm -f conftest.in
19245   if cmp -s $ac_file conftest.h 2>/dev/null; then
19246     echo "$ac_file is unchanged"
19247     rm -f conftest.h
19248   else
19249     # Remove last slash and all that follows it.  Not all systems have dirname.
19250       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19251       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19252       # The file is in a subdirectory.
19253       test ! -d "$ac_dir" && mkdir "$ac_dir"
19254     fi
19255     rm -f $ac_file
19256     mv conftest.h $ac_file
19257   fi
19258 fi; done
19259
19260 EOF
19261
19262 cat >> $CONFIG_STATUS <<EOF
19263 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"
19264 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 \
19265         bits/ctype_inline.h \
19266         bits/ctype_noninline.h bits/ctype_base.h \
19267         bits/ctype_inline.h \
19268         bits/ctype_noninline.h bits/ctype_base.h bits/ctype_inline.h \
19269     bits/ctype_noninline.h"
19270 EOF
19271
19272 cat >> $CONFIG_STATUS <<\EOF
19273 srcdir=$ac_given_srcdir
19274 while test -n "$ac_sources"; do
19275   set $ac_dests; ac_dest=$1; shift; ac_dests=$*
19276   set $ac_sources; ac_source=$1; shift; ac_sources=$*
19277
19278   echo "linking $srcdir/$ac_source to $ac_dest"
19279
19280   if test ! -r $srcdir/$ac_source; then
19281     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
19282   fi
19283   rm -f $ac_dest
19284
19285   # Make relative symlinks.
19286   # Remove last slash and all that follows it.  Not all systems have dirname.
19287   ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
19288   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
19289     # The dest file is in a subdirectory.
19290     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
19291     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
19292     # A "../" for each directory in $ac_dest_dir_suffix.
19293     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
19294   else
19295     ac_dest_dir_suffix= ac_dots=
19296   fi
19297
19298   case "$srcdir" in
19299   [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
19300   *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
19301   esac
19302
19303   # Make a symlink if possible; otherwise try a hard link.
19304   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19305     ln $srcdir/$ac_source $ac_dest; then :
19306   else
19307     { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19308   fi
19309 done
19310 EOF
19311 cat >> $CONFIG_STATUS <<EOF
19312
19313 srcdir=${srcdir}
19314 host=${host}
19315 target=${target}
19316 with_multisubdir=${with_multisubdir}
19317 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19318 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19319 glibcpp_basedir=${glibcpp_basedir}
19320 CC="${CC}"
19321 CXX="${CXX}"
19322
19323 EOF
19324 cat >> $CONFIG_STATUS <<\EOF
19325 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19326 if test -n "$CONFIG_FILES"; then
19327   ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19328   grep '^MULTISUBDIR =' Makefile >> src/Makefile
19329 fi
19330 chmod +x mkcheck
19331
19332 exit 0
19333 EOF
19334 chmod +x $CONFIG_STATUS
19335 rm -fr confdefs* $ac_clean_files
19336 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19337
19338
19339
19340 blddir=`pwd`
19341 # Generate bits/c++config.h
19342 # NB: This must be the first generated file as others include it. . .
19343
19344
19345 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
19346 if test ! -f stamp-limits; then
19347   
19348   touch stamp-limits
19349 fi
19350
19351
19352 # Sanity checking & User-visible messages.
19353 # Checks down here, otherwise they get scrolled off before
19354 # the user will notice.
19355 ### warnings removed; none were applicable anymore
19356
19357
19358 # Trying to get more people to read documentation.  Possibly remove
19359 # check and warn all the time. There is no "informational" AC_MSG_
19360 # macro, so these are going to be printed even when --quiet/--silent
19361 # is given.
19362 if test ! -f stamp-sanity-warned; then
19363   touch stamp-sanity-warned
19364   echo ""
19365   echo "Please make certain that you read the installation information here:"
19366   echo "  faster => ${srcdir}/docs/install.html"
19367   echo "  slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
19368   echo ""
19369   echo "and the configuration information here:"
19370   echo "  faster => ${srcdir}/docs/configopts.html"
19371   echo "  slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
19372   echo ""
19373   echo "before proceeding with ${_cv_gnu_make_command}."
19374   echo ""
19375 fi
19376
19377
19378 $srcdir/mkc++config $blddir $srcdir
19379 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
19380
19381