Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS, CONFIG_CXXFLAGS from here,...
[platform/upstream/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13 
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6 #
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9
10 # Defaults:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_help="$ac_help
15   --with-target-subdir=SUBDIR
16                            configuring in a subdirectory"
17 ac_help="$ac_help
18   --with-cross-host=HOST  configuring with a cross compiler"
19 ac_help="$ac_help
20   --enable-multilib       build hella library versions (default)"
21 ac_help="$ac_help
22   --enable-maintainer-mode enable make rules and dependencies not useful
23                           (and sometimes confusing) to the casual installer"
24 ac_help="$ac_help
25   --enable-shared[=PKGS]  build shared libraries [default=yes]"
26 ac_help="$ac_help
27   --enable-static[=PKGS]  build static libraries [default=yes]"
28 ac_help="$ac_help
29   --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
30 ac_help="$ac_help
31   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
32 ac_help="$ac_help
33   --disable-libtool-lock  avoid locking (might break parallel builds)"
34 ac_help="$ac_help
35   --with-pic              try to use only PIC/non-PIC objects [default=use both]"
36 ac_help="$ac_help
37   --enable-debug          extra debugging, turn off optimization [default=no]"
38 ac_help="$ac_help
39   --enable-cstdio         enable GNU libio for target io package. (default)
40   --enable-cstdio=LIB     use LIB target-speific io package."
41 ac_help="$ac_help
42   --enable-long-long      turns on 'long long' [default=yes]"
43 ac_help="$ac_help
44   --enable-cshadow-headers construct "shadowed" C header files for
45                            g++ [default=no]"
46 ac_help="$ac_help
47   --enable-threads        enable thread usage for target GCC.
48   --enable-threads=LIB    use LIB thread package for target GCC."
49 ac_help="$ac_help
50   --enable-cxx-flags=FLAGS      pass compiler FLAGS when building library;
51                                 [default=none]"
52
53 # Initialize some variables set by options.
54 # The variables have the same names as the options, with
55 # dashes changed to underlines.
56 build=NONE
57 cache_file=./config.cache
58 exec_prefix=NONE
59 host=NONE
60 no_create=
61 nonopt=NONE
62 no_recursion=
63 prefix=NONE
64 program_prefix=NONE
65 program_suffix=NONE
66 program_transform_name=s,x,x,
67 silent=
68 site=
69 srcdir=
70 target=NONE
71 verbose=
72 x_includes=NONE
73 x_libraries=NONE
74 bindir='${exec_prefix}/bin'
75 sbindir='${exec_prefix}/sbin'
76 libexecdir='${exec_prefix}/libexec'
77 datadir='${prefix}/share'
78 sysconfdir='${prefix}/etc'
79 sharedstatedir='${prefix}/com'
80 localstatedir='${prefix}/var'
81 libdir='${exec_prefix}/lib'
82 includedir='${prefix}/include'
83 oldincludedir='/usr/include'
84 infodir='${prefix}/info'
85 mandir='${prefix}/man'
86
87 # Initialize some other variables.
88 subdirs=
89 MFLAGS= MAKEFLAGS=
90 SHELL=${CONFIG_SHELL-/bin/sh}
91 # Maximum number of lines to put in a shell here document.
92 ac_max_here_lines=12
93
94 ac_prev=
95 for ac_option
96 do
97
98   # If the previous option needs an argument, assign it.
99   if test -n "$ac_prev"; then
100     eval "$ac_prev=\$ac_option"
101     ac_prev=
102     continue
103   fi
104
105   case "$ac_option" in
106   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
107   *) ac_optarg= ;;
108   esac
109
110   # Accept the important Cygnus configure options, so we can diagnose typos.
111
112   case "$ac_option" in
113
114   -bindir | --bindir | --bindi | --bind | --bin | --bi)
115     ac_prev=bindir ;;
116   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
117     bindir="$ac_optarg" ;;
118
119   -build | --build | --buil | --bui | --bu)
120     ac_prev=build ;;
121   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
122     build="$ac_optarg" ;;
123
124   -cache-file | --cache-file | --cache-fil | --cache-fi \
125   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
126     ac_prev=cache_file ;;
127   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
128   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
129     cache_file="$ac_optarg" ;;
130
131   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
132     ac_prev=datadir ;;
133   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
134   | --da=*)
135     datadir="$ac_optarg" ;;
136
137   -disable-* | --disable-*)
138     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
139     # Reject names that are not valid shell variable names.
140     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
141       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
142     fi
143     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
144     eval "enable_${ac_feature}=no" ;;
145
146   -enable-* | --enable-*)
147     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
148     # Reject names that are not valid shell variable names.
149     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
150       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
151     fi
152     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
153     case "$ac_option" in
154       *=*) ;;
155       *) ac_optarg=yes ;;
156     esac
157     eval "enable_${ac_feature}='$ac_optarg'" ;;
158
159   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
160   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
161   | --exec | --exe | --ex)
162     ac_prev=exec_prefix ;;
163   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
164   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
165   | --exec=* | --exe=* | --ex=*)
166     exec_prefix="$ac_optarg" ;;
167
168   -gas | --gas | --ga | --g)
169     # Obsolete; use --with-gas.
170     with_gas=yes ;;
171
172   -help | --help | --hel | --he)
173     # Omit some internal or obsolete options to make the list less imposing.
174     # This message is too long to be a string in the A/UX 3.1 sh.
175     cat << EOF
176 Usage: configure [options] [host]
177 Options: [defaults in brackets after descriptions]
178 Configuration:
179   --cache-file=FILE       cache test results in FILE
180   --help                  print this message
181   --no-create             do not create output files
182   --quiet, --silent       do not print \`checking...' messages
183   --version               print the version of autoconf that created configure
184 Directory and file names:
185   --prefix=PREFIX         install architecture-independent files in PREFIX
186                           [$ac_default_prefix]
187   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
188                           [same as prefix]
189   --bindir=DIR            user executables in DIR [EPREFIX/bin]
190   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
191   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
192   --datadir=DIR           read-only architecture-independent data in DIR
193                           [PREFIX/share]
194   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
195   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
196                           [PREFIX/com]
197   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
198   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
199   --includedir=DIR        C header files in DIR [PREFIX/include]
200   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
201   --infodir=DIR           info documentation in DIR [PREFIX/info]
202   --mandir=DIR            man documentation in DIR [PREFIX/man]
203   --srcdir=DIR            find the sources in DIR [configure dir or ..]
204   --program-prefix=PREFIX prepend PREFIX to installed program names
205   --program-suffix=SUFFIX append SUFFIX to installed program names
206   --program-transform-name=PROGRAM
207                           run sed PROGRAM on installed program names
208 EOF
209     cat << EOF
210 Host type:
211   --build=BUILD           configure for building on BUILD [BUILD=HOST]
212   --host=HOST             configure for HOST [guessed]
213   --target=TARGET         configure for TARGET [TARGET=HOST]
214 Features and packages:
215   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
216   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
217   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
218   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
219   --x-includes=DIR        X include files are in DIR
220   --x-libraries=DIR       X library files are in DIR
221 EOF
222     if test -n "$ac_help"; then
223       echo "--enable and --with options recognized:$ac_help"
224     fi
225     exit 0 ;;
226
227   -host | --host | --hos | --ho)
228     ac_prev=host ;;
229   -host=* | --host=* | --hos=* | --ho=*)
230     host="$ac_optarg" ;;
231
232   -includedir | --includedir | --includedi | --included | --include \
233   | --includ | --inclu | --incl | --inc)
234     ac_prev=includedir ;;
235   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
236   | --includ=* | --inclu=* | --incl=* | --inc=*)
237     includedir="$ac_optarg" ;;
238
239   -infodir | --infodir | --infodi | --infod | --info | --inf)
240     ac_prev=infodir ;;
241   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
242     infodir="$ac_optarg" ;;
243
244   -libdir | --libdir | --libdi | --libd)
245     ac_prev=libdir ;;
246   -libdir=* | --libdir=* | --libdi=* | --libd=*)
247     libdir="$ac_optarg" ;;
248
249   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
250   | --libexe | --libex | --libe)
251     ac_prev=libexecdir ;;
252   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
253   | --libexe=* | --libex=* | --libe=*)
254     libexecdir="$ac_optarg" ;;
255
256   -localstatedir | --localstatedir | --localstatedi | --localstated \
257   | --localstate | --localstat | --localsta | --localst \
258   | --locals | --local | --loca | --loc | --lo)
259     ac_prev=localstatedir ;;
260   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
261   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
262   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
263     localstatedir="$ac_optarg" ;;
264
265   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
266     ac_prev=mandir ;;
267   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
268     mandir="$ac_optarg" ;;
269
270   -nfp | --nfp | --nf)
271     # Obsolete; use --without-fp.
272     with_fp=no ;;
273
274   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
275   | --no-cr | --no-c)
276     no_create=yes ;;
277
278   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
279   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
280     no_recursion=yes ;;
281
282   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
283   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
284   | --oldin | --oldi | --old | --ol | --o)
285     ac_prev=oldincludedir ;;
286   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
287   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
288   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
289     oldincludedir="$ac_optarg" ;;
290
291   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
292     ac_prev=prefix ;;
293   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
294     prefix="$ac_optarg" ;;
295
296   -program-prefix | --program-prefix | --program-prefi | --program-pref \
297   | --program-pre | --program-pr | --program-p)
298     ac_prev=program_prefix ;;
299   -program-prefix=* | --program-prefix=* | --program-prefi=* \
300   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
301     program_prefix="$ac_optarg" ;;
302
303   -program-suffix | --program-suffix | --program-suffi | --program-suff \
304   | --program-suf | --program-su | --program-s)
305     ac_prev=program_suffix ;;
306   -program-suffix=* | --program-suffix=* | --program-suffi=* \
307   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
308     program_suffix="$ac_optarg" ;;
309
310   -program-transform-name | --program-transform-name \
311   | --program-transform-nam | --program-transform-na \
312   | --program-transform-n | --program-transform- \
313   | --program-transform | --program-transfor \
314   | --program-transfo | --program-transf \
315   | --program-trans | --program-tran \
316   | --progr-tra | --program-tr | --program-t)
317     ac_prev=program_transform_name ;;
318   -program-transform-name=* | --program-transform-name=* \
319   | --program-transform-nam=* | --program-transform-na=* \
320   | --program-transform-n=* | --program-transform-=* \
321   | --program-transform=* | --program-transfor=* \
322   | --program-transfo=* | --program-transf=* \
323   | --program-trans=* | --program-tran=* \
324   | --progr-tra=* | --program-tr=* | --program-t=*)
325     program_transform_name="$ac_optarg" ;;
326
327   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
328   | -silent | --silent | --silen | --sile | --sil)
329     silent=yes ;;
330
331   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
332     ac_prev=sbindir ;;
333   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
334   | --sbi=* | --sb=*)
335     sbindir="$ac_optarg" ;;
336
337   -sharedstatedir | --sharedstatedir | --sharedstatedi \
338   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
339   | --sharedst | --shareds | --shared | --share | --shar \
340   | --sha | --sh)
341     ac_prev=sharedstatedir ;;
342   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
343   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
344   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
345   | --sha=* | --sh=*)
346     sharedstatedir="$ac_optarg" ;;
347
348   -site | --site | --sit)
349     ac_prev=site ;;
350   -site=* | --site=* | --sit=*)
351     site="$ac_optarg" ;;
352
353   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
354     ac_prev=srcdir ;;
355   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
356     srcdir="$ac_optarg" ;;
357
358   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
359   | --syscon | --sysco | --sysc | --sys | --sy)
360     ac_prev=sysconfdir ;;
361   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
362   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
363     sysconfdir="$ac_optarg" ;;
364
365   -target | --target | --targe | --targ | --tar | --ta | --t)
366     ac_prev=target ;;
367   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
368     target="$ac_optarg" ;;
369
370   -v | -verbose | --verbose | --verbos | --verbo | --verb)
371     verbose=yes ;;
372
373   -version | --version | --versio | --versi | --vers)
374     echo "configure generated by autoconf version 2.13"
375     exit 0 ;;
376
377   -with-* | --with-*)
378     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
379     # Reject names that are not valid shell variable names.
380     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
381       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
382     fi
383     ac_package=`echo $ac_package| sed 's/-/_/g'`
384     case "$ac_option" in
385       *=*) ;;
386       *) ac_optarg=yes ;;
387     esac
388     eval "with_${ac_package}='$ac_optarg'" ;;
389
390   -without-* | --without-*)
391     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
392     # Reject names that are not valid shell variable names.
393     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
394       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
395     fi
396     ac_package=`echo $ac_package| sed 's/-/_/g'`
397     eval "with_${ac_package}=no" ;;
398
399   --x)
400     # Obsolete; use --with-x.
401     with_x=yes ;;
402
403   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
404   | --x-incl | --x-inc | --x-in | --x-i)
405     ac_prev=x_includes ;;
406   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
407   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
408     x_includes="$ac_optarg" ;;
409
410   -x-libraries | --x-libraries | --x-librarie | --x-librari \
411   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
412     ac_prev=x_libraries ;;
413   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
414   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
415     x_libraries="$ac_optarg" ;;
416
417   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
418     ;;
419
420   *)
421     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
422       echo "configure: warning: $ac_option: invalid host type" 1>&2
423     fi
424     if test "x$nonopt" != xNONE; then
425       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
426     fi
427     nonopt="$ac_option"
428     ;;
429
430   esac
431 done
432
433 if test -n "$ac_prev"; then
434   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
435 fi
436
437 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
438
439 # File descriptor usage:
440 # 0 standard input
441 # 1 file creation
442 # 2 errors and warnings
443 # 3 some systems may open it to /dev/tty
444 # 4 used on the Kubota Titan
445 # 6 checking for... messages and results
446 # 5 compiler messages saved in config.log
447 if test "$silent" = yes; then
448   exec 6>/dev/null
449 else
450   exec 6>&1
451 fi
452 exec 5>./config.log
453
454 echo "\
455 This file contains any messages produced by compilers while
456 running configure, to aid debugging if configure makes a mistake.
457 " 1>&5
458
459 # Strip out --no-create and --no-recursion so they do not pile up.
460 # Also quote any args containing shell metacharacters.
461 ac_configure_args=
462 for ac_arg
463 do
464   case "$ac_arg" in
465   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
466   | --no-cr | --no-c) ;;
467   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
468   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
469   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
470   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
471   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
472   esac
473 done
474
475 # NLS nuisances.
476 # Only set these to C if already set.  These must not be set unconditionally
477 # because not all systems understand e.g. LANG=C (notably SCO).
478 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
479 # Non-C LC_CTYPE values break the ctype check.
480 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
481 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
482 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
483 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
484
485 # confdefs.h avoids OS command line length limits that DEFS can exceed.
486 rm -rf conftest* confdefs.h
487 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
488 echo > confdefs.h
489
490 # A filename unique to this package, relative to the directory that
491 # configure is in, which we can look for to find out if srcdir is correct.
492 ac_unique_file=src/complex.cc
493
494 # Find the source files, if location was not specified.
495 if test -z "$srcdir"; then
496   ac_srcdir_defaulted=yes
497   # Try the directory containing this script, then its parent.
498   ac_prog=$0
499   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
500   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
501   srcdir=$ac_confdir
502   if test ! -r $srcdir/$ac_unique_file; then
503     srcdir=..
504   fi
505 else
506   ac_srcdir_defaulted=no
507 fi
508 if test ! -r $srcdir/$ac_unique_file; then
509   if test "$ac_srcdir_defaulted" = yes; then
510     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
511   else
512     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
513   fi
514 fi
515 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
516
517 # Prefer explicitly selected file to automatically selected ones.
518 if test -z "$CONFIG_SITE"; then
519   if test "x$prefix" != xNONE; then
520     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
521   else
522     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
523   fi
524 fi
525 for ac_site_file in $CONFIG_SITE; do
526   if test -r "$ac_site_file"; then
527     echo "loading site script $ac_site_file"
528     . "$ac_site_file"
529   fi
530 done
531
532 if test -r "$cache_file"; then
533   echo "loading cache $cache_file"
534   . $cache_file
535 else
536   echo "creating cache $cache_file"
537   > $cache_file
538 fi
539
540 ac_ext=c
541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
542 ac_cpp='$CPP $CPPFLAGS'
543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
545 cross_compiling=$ac_cv_prog_cc_cross
546
547 ac_exeext=
548 ac_objext=o
549 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
550   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
551   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
552     ac_n= ac_c='
553 ' ac_t='        '
554   else
555     ac_n=-n ac_c= ac_t=
556   fi
557 else
558   ac_n= ac_c='\c' ac_t=
559 fi
560
561
562 ac_aux_dir=
563 for ac_dir in .. $srcdir/..; do
564   if test -f $ac_dir/install-sh; then
565     ac_aux_dir=$ac_dir
566     ac_install_sh="$ac_aux_dir/install-sh -c"
567     break
568   elif test -f $ac_dir/install.sh; then
569     ac_aux_dir=$ac_dir
570     ac_install_sh="$ac_aux_dir/install.sh -c"
571     break
572   fi
573 done
574 if test -z "$ac_aux_dir"; then
575   { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
576 fi
577 ac_config_guess=$ac_aux_dir/config.guess
578 ac_config_sub=$ac_aux_dir/config.sub
579 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
580
581
582 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
583
584 # Do some error checking and defaulting for the host and target type.
585 # The inputs are:
586 #    configure --host=HOST --target=TARGET --build=BUILD NONOPT
587 #
588 # The rules are:
589 # 1. You are not allowed to specify --host, --target, and nonopt at the
590 #    same time.
591 # 2. Host defaults to nonopt.
592 # 3. If nonopt is not specified, then host defaults to the current host,
593 #    as determined by config.guess.
594 # 4. Target and build default to nonopt.
595 # 5. If nonopt is not specified, then target and build default to host.
596
597 # The aliases save the names the user supplied, while $host etc.
598 # will get canonicalized.
599 case $host---$target---$nonopt in
600 NONE---*---* | *---NONE---* | *---*---NONE) ;;
601 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
602 esac
603
604
605 # Make sure we can run config.sub.
606 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
607 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
608 fi
609
610 echo $ac_n "checking host system type""... $ac_c" 1>&6
611 echo "configure:612: checking host system type" >&5
612
613 host_alias=$host
614 case "$host_alias" in
615 NONE)
616   case $nonopt in
617   NONE)
618     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
619     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
620     fi ;;
621   *) host_alias=$nonopt ;;
622   esac ;;
623 esac
624
625 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
626 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
627 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
628 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
629 echo "$ac_t""$host" 1>&6
630
631 echo $ac_n "checking target system type""... $ac_c" 1>&6
632 echo "configure:633: checking target system type" >&5
633
634 target_alias=$target
635 case "$target_alias" in
636 NONE)
637   case $nonopt in
638   NONE) target_alias=$host_alias ;;
639   *) target_alias=$nonopt ;;
640   esac ;;
641 esac
642
643 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
644 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
645 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
646 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
647 echo "$ac_t""$target" 1>&6
648
649 echo $ac_n "checking build system type""... $ac_c" 1>&6
650 echo "configure:651: checking build system type" >&5
651
652 build_alias=$build
653 case "$build_alias" in
654 NONE)
655   case $nonopt in
656   NONE) build_alias=$host_alias ;;
657   *) build_alias=$nonopt ;;
658   esac ;;
659 esac
660
661 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
662 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
663 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
664 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
665 echo "$ac_t""$build" 1>&6
666
667 test "$host_alias" != "$target_alias" &&
668   test "$program_prefix$program_suffix$program_transform_name" = \
669     NONENONEs,x,x, &&
670   program_prefix=${target_alias}-
671
672
673 # We use these options to decide which functions to include.
674 # Check whether --with-target-subdir or --without-target-subdir was given.
675 if test "${with_target_subdir+set}" = set; then
676   withval="$with_target_subdir"
677   :
678 fi
679
680 # Check whether --with-cross-host or --without-cross-host was given.
681 if test "${with_cross_host+set}" = set; then
682   withval="$with_cross_host"
683   :
684 fi
685
686
687 # Find a good install program.  We prefer a C program (faster),
688 # so one script is as good as another.  But avoid the broken or
689 # incompatible versions:
690 # SysV /etc/install, /usr/sbin/install
691 # SunOS /usr/etc/install
692 # IRIX /sbin/install
693 # AIX /bin/install
694 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
695 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
696 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
697 # ./install, which can be erroneously created by make from ./install.sh.
698 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
699 echo "configure:700: checking for a BSD compatible install" >&5
700 if test -z "$INSTALL"; then
701 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
702   echo $ac_n "(cached) $ac_c" 1>&6
703 else
704     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
705   for ac_dir in $PATH; do
706     # Account for people who put trailing slashes in PATH elements.
707     case "$ac_dir/" in
708     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
709     *)
710       # OSF1 and SCO ODT 3.0 have their own names for install.
711       # Don't use installbsd from OSF since it installs stuff as root
712       # by default.
713       for ac_prog in ginstall scoinst install; do
714         if test -f $ac_dir/$ac_prog; then
715           if test $ac_prog = install &&
716             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
717             # AIX install.  It has an incompatible calling convention.
718             :
719           else
720             ac_cv_path_install="$ac_dir/$ac_prog -c"
721             break 2
722           fi
723         fi
724       done
725       ;;
726     esac
727   done
728   IFS="$ac_save_IFS"
729
730 fi
731   if test "${ac_cv_path_install+set}" = set; then
732     INSTALL="$ac_cv_path_install"
733   else
734     # As a last resort, use the slow shell script.  We don't cache a
735     # path for INSTALL within a source directory, because that will
736     # break other packages using the cache if that directory is
737     # removed, or if the path is relative.
738     INSTALL="$ac_install_sh"
739   fi
740 fi
741 echo "$ac_t""$INSTALL" 1>&6
742
743 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
744 # It thinks the first close brace ends the variable substitution.
745 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
746
747 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
748
749 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
750
751 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
752 echo "configure:753: checking whether build environment is sane" >&5
753 # Just in case
754 sleep 1
755 echo timestamp > conftestfile
756 # Do `set' in a subshell so we don't clobber the current shell's
757 # arguments.  Must try -L first in case configure is actually a
758 # symlink; some systems play weird games with the mod time of symlinks
759 # (eg FreeBSD returns the mod time of the symlink's containing
760 # directory).
761 if (
762    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
763    if test "$*" = "X"; then
764       # -L didn't work.
765       set X `ls -t $srcdir/configure conftestfile`
766    fi
767    if test "$*" != "X $srcdir/configure conftestfile" \
768       && test "$*" != "X conftestfile $srcdir/configure"; then
769
770       # If neither matched, then we have a broken ls.  This can happen
771       # if, for instance, CONFIG_SHELL is bash and it inherits a
772       # broken ls alias from the environment.  This has actually
773       # happened.  Such a system could not be considered "sane".
774       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
775 alias in your environment" 1>&2; exit 1; }
776    fi
777
778    test "$2" = conftestfile
779    )
780 then
781    # Ok.
782    :
783 else
784    { echo "configure: error: newly created file is older than distributed files!
785 Check your system clock" 1>&2; exit 1; }
786 fi
787 rm -f conftest*
788 echo "$ac_t""yes" 1>&6
789 if test "$program_transform_name" = s,x,x,; then
790   program_transform_name=
791 else
792   # Double any \ or $.  echo might interpret backslashes.
793   cat <<\EOF_SED > conftestsed
794 s,\\,\\\\,g; s,\$,$$,g
795 EOF_SED
796   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
797   rm -f conftestsed
798 fi
799 test "$program_prefix" != NONE &&
800   program_transform_name="s,^,${program_prefix},; $program_transform_name"
801 # Use a double $ so make ignores it.
802 test "$program_suffix" != NONE &&
803   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
804
805 # sed with no file args requires a program.
806 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
807
808 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
809 echo "configure:810: checking whether ${MAKE-make} sets \${MAKE}" >&5
810 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
811 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
812   echo $ac_n "(cached) $ac_c" 1>&6
813 else
814   cat > conftestmake <<\EOF
815 all:
816         @echo 'ac_maketemp="${MAKE}"'
817 EOF
818 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
819 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
820 if test -n "$ac_maketemp"; then
821   eval ac_cv_prog_make_${ac_make}_set=yes
822 else
823   eval ac_cv_prog_make_${ac_make}_set=no
824 fi
825 rm -f conftestmake
826 fi
827 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
828   echo "$ac_t""yes" 1>&6
829   SET_MAKE=
830 else
831   echo "$ac_t""no" 1>&6
832   SET_MAKE="MAKE=${MAKE-make}"
833 fi
834
835 if test $host != $build; then
836   ac_tool_prefix=${host_alias}-
837 else
838   ac_tool_prefix=
839 fi
840
841 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
842 echo "configure:843: checking for Cygwin environment" >&5
843 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
844   echo $ac_n "(cached) $ac_c" 1>&6
845 else
846   cat > conftest.$ac_ext <<EOF
847 #line 848 "configure"
848 #include "confdefs.h"
849
850 int main() {
851
852 #ifndef __CYGWIN__
853 #define __CYGWIN__ __CYGWIN32__
854 #endif
855 return __CYGWIN__;
856 ; return 0; }
857 EOF
858 if { (eval echo configure:859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
859   rm -rf conftest*
860   ac_cv_cygwin=yes
861 else
862   echo "configure: failed program was:" >&5
863   cat conftest.$ac_ext >&5
864   rm -rf conftest*
865   ac_cv_cygwin=no
866 fi
867 rm -f conftest*
868 rm -f conftest*
869 fi
870
871 echo "$ac_t""$ac_cv_cygwin" 1>&6
872 CYGWIN=
873 test "$ac_cv_cygwin" = yes && CYGWIN=yes
874 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
875 echo "configure:876: checking for mingw32 environment" >&5
876 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
877   echo $ac_n "(cached) $ac_c" 1>&6
878 else
879   cat > conftest.$ac_ext <<EOF
880 #line 881 "configure"
881 #include "confdefs.h"
882
883 int main() {
884 return __MINGW32__;
885 ; return 0; }
886 EOF
887 if { (eval echo configure:888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
888   rm -rf conftest*
889   ac_cv_mingw32=yes
890 else
891   echo "configure: failed program was:" >&5
892   cat conftest.$ac_ext >&5
893   rm -rf conftest*
894   ac_cv_mingw32=no
895 fi
896 rm -f conftest*
897 rm -f conftest*
898 fi
899
900 echo "$ac_t""$ac_cv_mingw32" 1>&6
901 MINGW32=
902 test "$ac_cv_mingw32" = yes && MINGW32=yes
903
904     # Check whether --enable-multilib or --disable-multilib was given.
905 if test "${enable_multilib+set}" = set; then
906   enableval="$enable_multilib"
907   case "${enableval}" in
908     yes) multilib=yes ;;
909     no)  multilib=no ;;
910     *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
911    esac
912 else
913   multilib=yes
914 fi
915
916       if test "${srcdir}" = "."; then
917     if test "${with_target_subdir}" != "."; then
918       glibcpp_basedir="${srcdir}/${with_multisrctop}../."
919     else
920       glibcpp_basedir="${srcdir}/${with_multisrctop}."
921     fi
922   else
923     glibcpp_basedir="${srcdir}/."
924   fi
925   
926
927   
928 PACKAGE=libstdc++
929
930 VERSION=2.90.8
931
932 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
933   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
934 fi
935 cat >> confdefs.h <<EOF
936 #define PACKAGE "$PACKAGE"
937 EOF
938
939 cat >> confdefs.h <<EOF
940 #define VERSION "$VERSION"
941 EOF
942
943
944
945 missing_dir=`cd $ac_aux_dir && pwd`
946 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
947 echo "configure:948: checking for working aclocal" >&5
948 # Run test in a subshell; some versions of sh will print an error if
949 # an executable is not found, even if stderr is redirected.
950 # Redirect stdin to placate older versions of autoconf.  Sigh.
951 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
952    ACLOCAL=aclocal
953    echo "$ac_t""found" 1>&6
954 else
955    ACLOCAL="$missing_dir/missing aclocal"
956    echo "$ac_t""missing" 1>&6
957 fi
958
959 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
960 echo "configure:961: checking for working autoconf" >&5
961 # Run test in a subshell; some versions of sh will print an error if
962 # an executable is not found, even if stderr is redirected.
963 # Redirect stdin to placate older versions of autoconf.  Sigh.
964 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
965    AUTOCONF=autoconf
966    echo "$ac_t""found" 1>&6
967 else
968    AUTOCONF="$missing_dir/missing autoconf"
969    echo "$ac_t""missing" 1>&6
970 fi
971
972 echo $ac_n "checking for working automake""... $ac_c" 1>&6
973 echo "configure:974: checking for working automake" >&5
974 # Run test in a subshell; some versions of sh will print an error if
975 # an executable is not found, even if stderr is redirected.
976 # Redirect stdin to placate older versions of autoconf.  Sigh.
977 if (automake --version) < /dev/null > /dev/null 2>&1; then
978    AUTOMAKE=automake
979    echo "$ac_t""found" 1>&6
980 else
981    AUTOMAKE="$missing_dir/missing automake"
982    echo "$ac_t""missing" 1>&6
983 fi
984
985 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
986 echo "configure:987: checking for working autoheader" >&5
987 # Run test in a subshell; some versions of sh will print an error if
988 # an executable is not found, even if stderr is redirected.
989 # Redirect stdin to placate older versions of autoconf.  Sigh.
990 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
991    AUTOHEADER=autoheader
992    echo "$ac_t""found" 1>&6
993 else
994    AUTOHEADER="$missing_dir/missing autoheader"
995    echo "$ac_t""missing" 1>&6
996 fi
997
998 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
999 echo "configure:1000: checking for working makeinfo" >&5
1000 # Run test in a subshell; some versions of sh will print an error if
1001 # an executable is not found, even if stderr is redirected.
1002 # Redirect stdin to placate older versions of autoconf.  Sigh.
1003 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1004    MAKEINFO=makeinfo
1005    echo "$ac_t""found" 1>&6
1006 else
1007    MAKEINFO="$missing_dir/missing makeinfo"
1008    echo "$ac_t""missing" 1>&6
1009 fi
1010
1011
1012
1013   # Never versions of autoconf add an underscore to these functions.
1014   # Prevent future problems ...
1015   
1016   
1017   
1018   
1019
1020 #  AC_PROG_CC
1021
1022 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
1023 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
1024 # are probably using a cross compiler, which will not be able to fully
1025 # link an executable.  This should really be fixed in autoconf
1026 # itself.
1027
1028
1029
1030
1031 # Extract the first word of "gcc", so it can be a program name with args.
1032 set dummy gcc; ac_word=$2
1033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1034 echo "configure:1035: checking for $ac_word" >&5
1035 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1036   echo $ac_n "(cached) $ac_c" 1>&6
1037 else
1038   if test -n "$CC"; then
1039   ac_cv_prog_CC="$CC" # Let the user override the test.
1040 else
1041   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1042   ac_dummy="$PATH"
1043   for ac_dir in $ac_dummy; do
1044     test -z "$ac_dir" && ac_dir=.
1045     if test -f $ac_dir/$ac_word; then
1046       ac_cv_prog_CC="gcc"
1047       break
1048     fi
1049   done
1050   IFS="$ac_save_ifs"
1051 fi
1052 fi
1053 CC="$ac_cv_prog_CC"
1054 if test -n "$CC"; then
1055   echo "$ac_t""$CC" 1>&6
1056 else
1057   echo "$ac_t""no" 1>&6
1058 fi
1059
1060 if test -z "$CC"; then
1061   # Extract the first word of "cc", so it can be a program name with args.
1062 set dummy cc; ac_word=$2
1063 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1064 echo "configure:1065: checking for $ac_word" >&5
1065 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1066   echo $ac_n "(cached) $ac_c" 1>&6
1067 else
1068   if test -n "$CC"; then
1069   ac_cv_prog_CC="$CC" # Let the user override the test.
1070 else
1071   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1072   ac_prog_rejected=no
1073   ac_dummy="$PATH"
1074   for ac_dir in $ac_dummy; do
1075     test -z "$ac_dir" && ac_dir=.
1076     if test -f $ac_dir/$ac_word; then
1077       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1078         ac_prog_rejected=yes
1079         continue
1080       fi
1081       ac_cv_prog_CC="cc"
1082       break
1083     fi
1084   done
1085   IFS="$ac_save_ifs"
1086 if test $ac_prog_rejected = yes; then
1087   # We found a bogon in the path, so make sure we never use it.
1088   set dummy $ac_cv_prog_CC
1089   shift
1090   if test $# -gt 0; then
1091     # We chose a different compiler from the bogus one.
1092     # However, it has the same basename, so the bogon will be chosen
1093     # first if we set CC to just the basename; use the full file name.
1094     shift
1095     set dummy "$ac_dir/$ac_word" "$@"
1096     shift
1097     ac_cv_prog_CC="$@"
1098   fi
1099 fi
1100 fi
1101 fi
1102 CC="$ac_cv_prog_CC"
1103 if test -n "$CC"; then
1104   echo "$ac_t""$CC" 1>&6
1105 else
1106   echo "$ac_t""no" 1>&6
1107 fi
1108
1109   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1110 fi
1111
1112 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1113 echo "configure:1114: checking whether we are using GNU C" >&5
1114 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1115   echo $ac_n "(cached) $ac_c" 1>&6
1116 else
1117   cat > conftest.c <<EOF
1118 #ifdef __GNUC__
1119   yes;
1120 #endif
1121 EOF
1122 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1123   ac_cv_prog_gcc=yes
1124 else
1125   ac_cv_prog_gcc=no
1126 fi
1127 fi
1128
1129 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1130
1131 if test $ac_cv_prog_gcc = yes; then
1132   GCC=yes
1133   ac_test_CFLAGS="${CFLAGS+set}"
1134   ac_save_CFLAGS="$CFLAGS"
1135   CFLAGS=
1136   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1137 echo "configure:1138: checking whether ${CC-cc} accepts -g" >&5
1138 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1139   echo $ac_n "(cached) $ac_c" 1>&6
1140 else
1141   echo 'void f(){}' > conftest.c
1142 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1143   ac_cv_prog_cc_g=yes
1144 else
1145   ac_cv_prog_cc_g=no
1146 fi
1147 rm -f conftest*
1148
1149 fi
1150
1151 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1152   if test "$ac_test_CFLAGS" = set; then
1153     CFLAGS="$ac_save_CFLAGS"
1154   elif test $ac_cv_prog_cc_g = yes; then
1155     CFLAGS="-g -O2"
1156   else
1157     CFLAGS="-O2"
1158   fi
1159 else
1160   GCC=
1161   test "${CFLAGS+set}" = set || CFLAGS="-g"
1162 fi
1163
1164
1165 # Can't just call these here as g++ requires libstc++ to be built....
1166 #  AC_PROG_CXX
1167
1168 # Likewise for AC_PROG_CXX.
1169
1170
1171
1172 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1173 do
1174 # Extract the first word of "$ac_prog", so it can be a program name with args.
1175 set dummy $ac_prog; ac_word=$2
1176 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1177 echo "configure:1178: checking for $ac_word" >&5
1178 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1179   echo $ac_n "(cached) $ac_c" 1>&6
1180 else
1181   if test -n "$CXX"; then
1182   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1183 else
1184   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1185   ac_dummy="$PATH"
1186   for ac_dir in $ac_dummy; do
1187     test -z "$ac_dir" && ac_dir=.
1188     if test -f $ac_dir/$ac_word; then
1189       ac_cv_prog_CXX="$ac_prog"
1190       break
1191     fi
1192   done
1193   IFS="$ac_save_ifs"
1194 fi
1195 fi
1196 CXX="$ac_cv_prog_CXX"
1197 if test -n "$CXX"; then
1198   echo "$ac_t""$CXX" 1>&6
1199 else
1200   echo "$ac_t""no" 1>&6
1201 fi
1202
1203 test -n "$CXX" && break
1204 done
1205 test -n "$CXX" || CXX="gcc"
1206
1207 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1208
1209 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1210 echo "configure:1211: checking whether we are using GNU C++" >&5
1211 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1212   echo $ac_n "(cached) $ac_c" 1>&6
1213 else
1214   cat > conftest.C <<EOF
1215 #ifdef __GNUC__
1216   yes;
1217 #endif
1218 EOF
1219 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1220   ac_cv_prog_gxx=yes
1221 else
1222   ac_cv_prog_gxx=no
1223 fi
1224 fi
1225
1226 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1227
1228 if test $ac_cv_prog_gxx = yes; then
1229   GXX=yes
1230   ac_test_CXXFLAGS="${CXXFLAGS+set}"
1231   ac_save_CXXFLAGS="$CXXFLAGS"
1232   CXXFLAGS=
1233   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1234 echo "configure:1235: checking whether ${CXX-g++} accepts -g" >&5
1235 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1236   echo $ac_n "(cached) $ac_c" 1>&6
1237 else
1238   echo 'void f(){}' > conftest.cc
1239 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1240   ac_cv_prog_cxx_g=yes
1241 else
1242   ac_cv_prog_cxx_g=no
1243 fi
1244 rm -f conftest*
1245
1246 fi
1247
1248 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1249   if test "$ac_test_CXXFLAGS" = set; then
1250     CXXFLAGS="$ac_save_CXXFLAGS"
1251   elif test $ac_cv_prog_cxx_g = yes; then
1252     CXXFLAGS="-g -O2"
1253   else
1254     CXXFLAGS="-O2"
1255   fi
1256 else
1257   GXX=
1258   test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1259 fi
1260
1261
1262   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1263 set dummy ${ac_tool_prefix}as; ac_word=$2
1264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1265 echo "configure:1266: checking for $ac_word" >&5
1266 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1267   echo $ac_n "(cached) $ac_c" 1>&6
1268 else
1269   if test -n "$AS"; then
1270   ac_cv_prog_AS="$AS" # Let the user override the test.
1271 else
1272   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1273   ac_dummy="$PATH"
1274   for ac_dir in $ac_dummy; do
1275     test -z "$ac_dir" && ac_dir=.
1276     if test -f $ac_dir/$ac_word; then
1277       ac_cv_prog_AS="${ac_tool_prefix}as"
1278       break
1279     fi
1280   done
1281   IFS="$ac_save_ifs"
1282   test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1283 fi
1284 fi
1285 AS="$ac_cv_prog_AS"
1286 if test -n "$AS"; then
1287   echo "$ac_t""$AS" 1>&6
1288 else
1289   echo "$ac_t""no" 1>&6
1290 fi
1291
1292
1293
1294   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1295 set dummy ${ac_tool_prefix}ar; ac_word=$2
1296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1297 echo "configure:1298: checking for $ac_word" >&5
1298 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1299   echo $ac_n "(cached) $ac_c" 1>&6
1300 else
1301   if test -n "$AR"; then
1302   ac_cv_prog_AR="$AR" # Let the user override the test.
1303 else
1304   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1305   ac_dummy="$PATH"
1306   for ac_dir in $ac_dummy; do
1307     test -z "$ac_dir" && ac_dir=.
1308     if test -f $ac_dir/$ac_word; then
1309       ac_cv_prog_AR="${ac_tool_prefix}ar"
1310       break
1311     fi
1312   done
1313   IFS="$ac_save_ifs"
1314   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1315 fi
1316 fi
1317 AR="$ac_cv_prog_AR"
1318 if test -n "$AR"; then
1319   echo "$ac_t""$AR" 1>&6
1320 else
1321   echo "$ac_t""no" 1>&6
1322 fi
1323
1324
1325
1326   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1329 echo "configure:1330: checking for $ac_word" >&5
1330 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1331   echo $ac_n "(cached) $ac_c" 1>&6
1332 else
1333   if test -n "$RANLIB"; then
1334   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1335 else
1336   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1337   ac_dummy="$PATH"
1338   for ac_dir in $ac_dummy; do
1339     test -z "$ac_dir" && ac_dir=.
1340     if test -f $ac_dir/$ac_word; then
1341       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1342       break
1343     fi
1344   done
1345   IFS="$ac_save_ifs"
1346 fi
1347 fi
1348 RANLIB="$ac_cv_prog_RANLIB"
1349 if test -n "$RANLIB"; then
1350   echo "$ac_t""$RANLIB" 1>&6
1351 else
1352   echo "$ac_t""no" 1>&6
1353 fi
1354
1355
1356 if test -z "$ac_cv_prog_RANLIB"; then
1357 if test -n "$ac_tool_prefix"; then
1358   # Extract the first word of "ranlib", so it can be a program name with args.
1359 set dummy ranlib; ac_word=$2
1360 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1361 echo "configure:1362: checking for $ac_word" >&5
1362 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1363   echo $ac_n "(cached) $ac_c" 1>&6
1364 else
1365   if test -n "$RANLIB"; then
1366   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1367 else
1368   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1369   ac_dummy="$PATH"
1370   for ac_dir in $ac_dummy; do
1371     test -z "$ac_dir" && ac_dir=.
1372     if test -f $ac_dir/$ac_word; then
1373       ac_cv_prog_RANLIB="ranlib"
1374       break
1375     fi
1376   done
1377   IFS="$ac_save_ifs"
1378   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1379 fi
1380 fi
1381 RANLIB="$ac_cv_prog_RANLIB"
1382 if test -n "$RANLIB"; then
1383   echo "$ac_t""$RANLIB" 1>&6
1384 else
1385   echo "$ac_t""no" 1>&6
1386 fi
1387
1388 else
1389   RANLIB=":"
1390 fi
1391 fi
1392
1393
1394   # Find a good install program.  We prefer a C program (faster),
1395 # so one script is as good as another.  But avoid the broken or
1396 # incompatible versions:
1397 # SysV /etc/install, /usr/sbin/install
1398 # SunOS /usr/etc/install
1399 # IRIX /sbin/install
1400 # AIX /bin/install
1401 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1402 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1403 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1404 # ./install, which can be erroneously created by make from ./install.sh.
1405 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1406 echo "configure:1407: checking for a BSD compatible install" >&5
1407 if test -z "$INSTALL"; then
1408 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1409   echo $ac_n "(cached) $ac_c" 1>&6
1410 else
1411     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
1412   for ac_dir in $PATH; do
1413     # Account for people who put trailing slashes in PATH elements.
1414     case "$ac_dir/" in
1415     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1416     *)
1417       # OSF1 and SCO ODT 3.0 have their own names for install.
1418       # Don't use installbsd from OSF since it installs stuff as root
1419       # by default.
1420       for ac_prog in ginstall scoinst install; do
1421         if test -f $ac_dir/$ac_prog; then
1422           if test $ac_prog = install &&
1423             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1424             # AIX install.  It has an incompatible calling convention.
1425             :
1426           else
1427             ac_cv_path_install="$ac_dir/$ac_prog -c"
1428             break 2
1429           fi
1430         fi
1431       done
1432       ;;
1433     esac
1434   done
1435   IFS="$ac_save_IFS"
1436
1437 fi
1438   if test "${ac_cv_path_install+set}" = set; then
1439     INSTALL="$ac_cv_path_install"
1440   else
1441     # As a last resort, use the slow shell script.  We don't cache a
1442     # path for INSTALL within a source directory, because that will
1443     # break other packages using the cache if that directory is
1444     # removed, or if the path is relative.
1445     INSTALL="$ac_install_sh"
1446   fi
1447 fi
1448 echo "$ac_t""$INSTALL" 1>&6
1449
1450 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1451 # It thinks the first close brace ends the variable substitution.
1452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1453
1454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1455
1456 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1457
1458
1459   echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1460 echo "configure:1461: checking whether to enable maintainer-specific portions of Makefiles" >&5
1461     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1462 if test "${enable_maintainer_mode+set}" = set; then
1463   enableval="$enable_maintainer_mode"
1464   USE_MAINTAINER_MODE=$enableval
1465 else
1466   USE_MAINTAINER_MODE=no
1467 fi
1468
1469   echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1470   
1471
1472 if test $USE_MAINTAINER_MODE = yes; then
1473   MAINTAINER_MODE_TRUE=
1474   MAINTAINER_MODE_FALSE='#'
1475 else
1476   MAINTAINER_MODE_TRUE='#'
1477   MAINTAINER_MODE_FALSE=
1478 fi
1479   MAINT=$MAINTAINER_MODE_TRUE
1480   
1481
1482
1483   # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
1484   # at least currently, we never actually build a program, so we never
1485   # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
1486   # fails, because we are probably configuring with a cross compiler
1487   # which cant create executables.  So we include AC_EXEEXT to keep
1488   # automake happy, but we dont execute it, since we dont care about
1489   # the result.
1490   if false; then
1491     
1492
1493 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1494 echo "configure:1495: checking for executable suffix" >&5
1495 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1496   echo $ac_n "(cached) $ac_c" 1>&6
1497 else
1498   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1499   ac_cv_exeext=.exe
1500 else
1501   rm -f conftest*
1502   echo 'int main () { return 0; }' > conftest.$ac_ext
1503   ac_cv_exeext=
1504   if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1505     for file in conftest.*; do
1506       case $file in
1507       *.c | *.o | *.obj) ;;
1508       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1509       esac
1510     done
1511   else
1512     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1513   fi
1514   rm -f conftest*
1515   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1516 fi
1517 fi
1518
1519 EXEEXT=""
1520 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1521 echo "$ac_t""${ac_cv_exeext}" 1>&6
1522 ac_exeext=$EXEEXT
1523
1524   fi
1525
1526   # configure.host sets the following important variables
1527   #     glibcpp_cflags    - host specific C compiler flags
1528   #     glibcpp_cxxflags  - host specific C++ compiler flags
1529   glibcpp_cflags=
1530   glibcpp_cxxflags=
1531
1532   . ${glibcpp_basedir}/configure.host
1533
1534   case ${glibcpp_basedir} in
1535     /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1536     *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1537   esac
1538
1539   GLIBCPP_CFLAGS="${glibcpp_cflags}"
1540   GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1541   
1542   
1543
1544
1545 # Check whether --enable-shared or --disable-shared was given.
1546 if test "${enable_shared+set}" = set; then
1547   enableval="$enable_shared"
1548   p=${PACKAGE-default}
1549 case "$enableval" in
1550 yes) enable_shared=yes ;;
1551 no) enable_shared=no ;;
1552 *)
1553   enable_shared=no
1554   # Look at the argument we got.  We use all the common list separators.
1555   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1556   for pkg in $enableval; do
1557     if test "X$pkg" = "X$p"; then
1558       enable_shared=yes
1559     fi
1560   done
1561   IFS="$ac_save_ifs"
1562   ;;
1563 esac
1564 else
1565   enable_shared=yes
1566 fi
1567
1568 # Check whether --enable-static or --disable-static was given.
1569 if test "${enable_static+set}" = set; then
1570   enableval="$enable_static"
1571   p=${PACKAGE-default}
1572 case "$enableval" in
1573 yes) enable_static=yes ;;
1574 no) enable_static=no ;;
1575 *)
1576   enable_static=no
1577   # Look at the argument we got.  We use all the common list separators.
1578   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1579   for pkg in $enableval; do
1580     if test "X$pkg" = "X$p"; then
1581       enable_static=yes
1582     fi
1583   done
1584   IFS="$ac_save_ifs"
1585   ;;
1586 esac
1587 else
1588   enable_static=yes
1589 fi
1590
1591 # Check whether --enable-fast-install or --disable-fast-install was given.
1592 if test "${enable_fast_install+set}" = set; then
1593   enableval="$enable_fast_install"
1594   p=${PACKAGE-default}
1595 case "$enableval" in
1596 yes) enable_fast_install=yes ;;
1597 no) enable_fast_install=no ;;
1598 *)
1599   enable_fast_install=no
1600   # Look at the argument we got.  We use all the common list separators.
1601   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1602   for pkg in $enableval; do
1603     if test "X$pkg" = "X$p"; then
1604       enable_fast_install=yes
1605     fi
1606   done
1607   IFS="$ac_save_ifs"
1608   ;;
1609 esac
1610 else
1611   enable_fast_install=yes
1612 fi
1613
1614 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1615 if test "${with_gnu_ld+set}" = set; then
1616   withval="$with_gnu_ld"
1617   test "$withval" = no || with_gnu_ld=yes
1618 else
1619   with_gnu_ld=no
1620 fi
1621
1622 ac_prog=ld
1623 if test "$ac_cv_prog_gcc" = yes; then
1624   # Check if gcc -print-prog-name=ld gives a path.
1625   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1626 echo "configure:1627: checking for ld used by GCC" >&5
1627   case $host in
1628   *-*-mingw*)
1629     # gcc leaves a trailing carriage return which upsets mingw
1630     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1631   *)
1632     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1633   esac
1634   case "$ac_prog" in
1635     # Accept absolute paths.
1636     [\\/]* | [A-Za-z]:[\\/]*)
1637       re_direlt='/[^/][^/]*/\.\./'
1638       # Canonicalize the path of ld
1639       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1640       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1641         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1642       done
1643       test -z "$LD" && LD="$ac_prog"
1644       ;;
1645   "")
1646     # If it fails, then pretend we aren't using GCC.
1647     ac_prog=ld
1648     ;;
1649   *)
1650     # If it is relative, then search for the first ld in PATH.
1651     with_gnu_ld=unknown
1652     ;;
1653   esac
1654 elif test "$with_gnu_ld" = yes; then
1655   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1656 echo "configure:1657: checking for GNU ld" >&5
1657 else
1658   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1659 echo "configure:1660: checking for non-GNU ld" >&5
1660 fi
1661 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1662   echo $ac_n "(cached) $ac_c" 1>&6
1663 else
1664   if test -z "$LD"; then
1665   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1666   for ac_dir in $PATH; do
1667     test -z "$ac_dir" && ac_dir=.
1668     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1669       ac_cv_path_LD="$ac_dir/$ac_prog"
1670       # Check to see if the program is GNU ld.  I'd rather use --version,
1671       # but apparently some GNU ld's only accept -v.
1672       # Break only if it was the GNU/non-GNU ld that we prefer.
1673       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1674         test "$with_gnu_ld" != no && break
1675       else
1676         test "$with_gnu_ld" != yes && break
1677       fi
1678     fi
1679   done
1680   IFS="$ac_save_ifs"
1681 else
1682   ac_cv_path_LD="$LD" # Let the user override the test with a path.
1683 fi
1684 fi
1685
1686 LD="$ac_cv_path_LD"
1687 if test -n "$LD"; then
1688   echo "$ac_t""$LD" 1>&6
1689 else
1690   echo "$ac_t""no" 1>&6
1691 fi
1692 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1693 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1694 echo "configure:1695: checking if the linker ($LD) is GNU ld" >&5
1695 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1696   echo $ac_n "(cached) $ac_c" 1>&6
1697 else
1698   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1699 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1700   ac_cv_prog_gnu_ld=yes
1701 else
1702   ac_cv_prog_gnu_ld=no
1703 fi
1704 fi
1705
1706 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1707 with_gnu_ld=$ac_cv_prog_gnu_ld
1708
1709
1710 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1711 echo "configure:1712: checking for $LD option to reload object files" >&5
1712 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1713   echo $ac_n "(cached) $ac_c" 1>&6
1714 else
1715   lt_cv_ld_reload_flag='-r'
1716 fi
1717
1718 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1719 reload_flag=$lt_cv_ld_reload_flag
1720 test -n "$reload_flag" && reload_flag=" $reload_flag"
1721
1722 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1723 echo "configure:1724: checking for BSD-compatible nm" >&5
1724 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1725   echo $ac_n "(cached) $ac_c" 1>&6
1726 else
1727   if test -n "$NM"; then
1728   # Let the user override the test.
1729   ac_cv_path_NM="$NM"
1730 else
1731   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1732   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1733     test -z "$ac_dir" && ac_dir=.
1734     tmp_nm=$ac_dir/${ac_tool_prefix}nm
1735     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1736       # Check to see if the nm accepts a BSD-compat flag.
1737       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1738       #   nm: unknown option "B" ignored
1739       # Tru64's nm complains that /dev/null is an invalid object file
1740       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1741         ac_cv_path_NM="$tmp_nm -B"
1742         break
1743       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1744         ac_cv_path_NM="$tmp_nm -p"
1745         break
1746       else
1747         ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1748         continue # so that we can try to find one that supports BSD flags
1749       fi
1750     fi
1751   done
1752   IFS="$ac_save_ifs"
1753   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1754 fi
1755 fi
1756
1757 NM="$ac_cv_path_NM"
1758 echo "$ac_t""$NM" 1>&6
1759
1760 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1761 echo "configure:1762: checking whether ln -s works" >&5
1762 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1763   echo $ac_n "(cached) $ac_c" 1>&6
1764 else
1765   rm -f conftestdata
1766 if ln -s X conftestdata 2>/dev/null
1767 then
1768   rm -f conftestdata
1769   ac_cv_prog_LN_S="ln -s"
1770 else
1771   ac_cv_prog_LN_S=ln
1772 fi
1773 fi
1774 LN_S="$ac_cv_prog_LN_S"
1775 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1776   echo "$ac_t""yes" 1>&6
1777 else
1778   echo "$ac_t""no" 1>&6
1779 fi
1780
1781 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1782 echo "configure:1783: checking how to recognise dependant libraries" >&5
1783 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1784   echo $ac_n "(cached) $ac_c" 1>&6
1785 else
1786   lt_cv_file_magic_cmd='$MAGIC_CMD'
1787 lt_cv_file_magic_test_file=
1788 lt_cv_deplibs_check_method='unknown'
1789 # Need to set the preceding variable on all platforms that support
1790 # interlibrary dependencies.
1791 # 'none' -- dependencies not supported.
1792 # `unknown' -- same as none, but documents that we really don't know.
1793 # 'pass_all' -- all dependencies passed with no checks.
1794 # 'test_compile' -- check by making test program.
1795 # 'file_magic [regex]' -- check by looking for files in library path
1796 # which responds to the $file_magic_cmd with a given egrep regex.
1797 # If you have `file' or equivalent on your system and you're not sure
1798 # whether `pass_all' will *always* work, you probably want this one.
1799
1800 case "$host_os" in
1801 aix4*)
1802   lt_cv_deplibs_check_method=pass_all
1803   ;;
1804
1805 beos*)
1806   lt_cv_deplibs_check_method=pass_all
1807   ;;
1808
1809 bsdi4*)
1810     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1811     lt_cv_file_magic_cmd='/usr/bin/file -L'
1812   lt_cv_file_magic_test_file=/shlib/libc.so
1813   ;;
1814
1815 cygwin* | mingw* |pw32*)
1816   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1817   lt_cv_file_magic_cmd='$OBJDUMP -f'
1818   ;;
1819
1820 freebsd* )
1821   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1822     case "$host_cpu" in
1823     i*86 )
1824       # Not sure whether the presence of OpenBSD here was a mistake.
1825       # Let's accept both of them until this is cleared up.
1826             lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1827             lt_cv_file_magic_cmd=/usr/bin/file
1828       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1829       ;;
1830     esac
1831   else
1832     lt_cv_deplibs_check_method=pass_all
1833   fi
1834   ;;
1835
1836 gnu*)
1837   lt_cv_deplibs_check_method=pass_all
1838   ;;
1839
1840 hpux10.20*)
1841   # TODO:  Does this work for hpux-11 too?
1842   lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1843   lt_cv_file_magic_cmd=/usr/bin/file
1844   lt_cv_file_magic_test_file=/usr/lib/libc.sl
1845   ;;
1846
1847 irix5* | irix6*)
1848   case "$host_os" in
1849   irix5*)
1850     # this will be overridden with pass_all, but let us keep it just in case
1851     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1852     ;;
1853   *)
1854     case "$LD" in
1855     *-32|*"-32 ") libmagic=32-bit;;
1856     *-n32|*"-n32 ") libmagic=N32;;
1857     *-64|*"-64 ") libmagic=64-bit;;
1858     *) libmagic=never-match;;
1859     esac
1860     # this will be overridden with pass_all, but let us keep it just in case
1861         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1862         ;;
1863   esac
1864   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1865   lt_cv_deplibs_check_method=pass_all
1866   ;;
1867
1868 # This must be Linux ELF.
1869 linux-gnu*)
1870   case "$host_cpu" in
1871   alpha* | i*86 | powerpc* | sparc* | ia64* )
1872     lt_cv_deplibs_check_method=pass_all ;;
1873   *)
1874     # glibc up to 2.1.1 does not perform some relocations on ARM
1875         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1876       esac
1877   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1878   ;;
1879
1880 netbsd*)
1881   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1882   else
1883         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1884         lt_cv_file_magic_cmd='/usr/bin/file -L'
1885     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1886   fi
1887   ;;
1888
1889 osf3* | osf4* | osf5*)
1890   # this will be overridden with pass_all, but let us keep it just in case
1891   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1892   lt_cv_file_magic_test_file=/shlib/libc.so
1893   lt_cv_deplibs_check_method=pass_all
1894   ;;
1895
1896 sco3.2v5*)
1897   lt_cv_deplibs_check_method=pass_all
1898   ;;
1899
1900 solaris*)
1901   lt_cv_deplibs_check_method=pass_all
1902   lt_cv_file_magic_test_file=/lib/libc.so
1903   ;;
1904
1905 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1906   case "$host_vendor" in
1907   ncr)
1908     lt_cv_deplibs_check_method=pass_all
1909     ;;
1910   motorola)
1911         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
1912         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1913     ;;
1914   esac
1915   ;;
1916 esac
1917
1918 fi
1919
1920 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1921 file_magic_cmd=$lt_cv_file_magic_cmd
1922 deplibs_check_method=$lt_cv_deplibs_check_method
1923
1924 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1925 echo "configure:1926: checking for object suffix" >&5
1926 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1927   echo $ac_n "(cached) $ac_c" 1>&6
1928 else
1929   rm -f conftest*
1930 echo 'int i = 1;' > conftest.$ac_ext
1931 if { (eval echo configure:1932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1932   for ac_file in conftest.*; do
1933     case $ac_file in
1934     *.c) ;;
1935     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1936     esac
1937   done
1938 else
1939   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1940 fi
1941 rm -f conftest*
1942 fi
1943
1944 echo "$ac_t""$ac_cv_objext" 1>&6
1945 OBJEXT=$ac_cv_objext
1946 ac_objext=$ac_cv_objext
1947
1948 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1949
1950 # Only perform the check for file, if the check method requires it
1951 case "$deplibs_check_method" in
1952 file_magic*)
1953   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1954     echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1955 echo "configure:1956: checking for ${ac_tool_prefix}file" >&5
1956 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1957   echo $ac_n "(cached) $ac_c" 1>&6
1958 else
1959   case "$MAGIC_CMD" in
1960   /*)
1961   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1962   ;;
1963   ?:/*)
1964   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1965   ;;
1966   *)
1967   ac_save_MAGIC_CMD="$MAGIC_CMD"
1968   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1969   ac_dummy="/usr/bin:$PATH"
1970   for ac_dir in $ac_dummy; do
1971     test -z "$ac_dir" && ac_dir=.
1972     if test -f $ac_dir/${ac_tool_prefix}file; then
1973       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1974       if test -n "$file_magic_test_file"; then
1975         case "$deplibs_check_method" in
1976         "file_magic "*)
1977           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1978           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1979           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1980             egrep "$file_magic_regex" > /dev/null; then
1981             :
1982           else
1983             cat <<EOF 1>&2
1984
1985 *** Warning: the command libtool uses to detect shared libraries,
1986 *** $file_magic_cmd, produces output that libtool cannot recognize.
1987 *** The result is that libtool may fail to recognize shared libraries
1988 *** as such.  This will affect the creation of libtool libraries that
1989 *** depend on shared libraries, but programs linked with such libtool
1990 *** libraries will work regardless of this problem.  Nevertheless, you
1991 *** may want to report the problem to your system manager and/or to
1992 *** bug-libtool@gnu.org
1993
1994 EOF
1995           fi ;;
1996         esac
1997       fi
1998       break
1999     fi
2000   done
2001   IFS="$ac_save_ifs"
2002   MAGIC_CMD="$ac_save_MAGIC_CMD"
2003   ;;
2004 esac
2005 fi
2006
2007 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2008 if test -n "$MAGIC_CMD"; then
2009   echo "$ac_t""$MAGIC_CMD" 1>&6
2010 else
2011   echo "$ac_t""no" 1>&6
2012 fi
2013
2014 if test -z "$lt_cv_path_MAGIC_CMD"; then
2015   if test -n "$ac_tool_prefix"; then
2016     echo $ac_n "checking for file""... $ac_c" 1>&6
2017 echo "configure:2018: checking for file" >&5
2018 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2019   echo $ac_n "(cached) $ac_c" 1>&6
2020 else
2021   case "$MAGIC_CMD" in
2022   /*)
2023   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2024   ;;
2025   ?:/*)
2026   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2027   ;;
2028   *)
2029   ac_save_MAGIC_CMD="$MAGIC_CMD"
2030   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2031   ac_dummy="/usr/bin:$PATH"
2032   for ac_dir in $ac_dummy; do
2033     test -z "$ac_dir" && ac_dir=.
2034     if test -f $ac_dir/file; then
2035       lt_cv_path_MAGIC_CMD="$ac_dir/file"
2036       if test -n "$file_magic_test_file"; then
2037         case "$deplibs_check_method" in
2038         "file_magic "*)
2039           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2040           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2041           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2042             egrep "$file_magic_regex" > /dev/null; then
2043             :
2044           else
2045             cat <<EOF 1>&2
2046
2047 *** Warning: the command libtool uses to detect shared libraries,
2048 *** $file_magic_cmd, produces output that libtool cannot recognize.
2049 *** The result is that libtool may fail to recognize shared libraries
2050 *** as such.  This will affect the creation of libtool libraries that
2051 *** depend on shared libraries, but programs linked with such libtool
2052 *** libraries will work regardless of this problem.  Nevertheless, you
2053 *** may want to report the problem to your system manager and/or to
2054 *** bug-libtool@gnu.org
2055
2056 EOF
2057           fi ;;
2058         esac
2059       fi
2060       break
2061     fi
2062   done
2063   IFS="$ac_save_ifs"
2064   MAGIC_CMD="$ac_save_MAGIC_CMD"
2065   ;;
2066 esac
2067 fi
2068
2069 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2070 if test -n "$MAGIC_CMD"; then
2071   echo "$ac_t""$MAGIC_CMD" 1>&6
2072 else
2073   echo "$ac_t""no" 1>&6
2074 fi
2075
2076   else
2077     MAGIC_CMD=:
2078   fi
2079 fi
2080
2081   fi
2082   ;;
2083 esac
2084
2085 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2086 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2087 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2088 echo "configure:2089: checking for $ac_word" >&5
2089 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2090   echo $ac_n "(cached) $ac_c" 1>&6
2091 else
2092   if test -n "$RANLIB"; then
2093   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2094 else
2095   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2096   ac_dummy="$PATH"
2097   for ac_dir in $ac_dummy; do
2098     test -z "$ac_dir" && ac_dir=.
2099     if test -f $ac_dir/$ac_word; then
2100       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2101       break
2102     fi
2103   done
2104   IFS="$ac_save_ifs"
2105 fi
2106 fi
2107 RANLIB="$ac_cv_prog_RANLIB"
2108 if test -n "$RANLIB"; then
2109   echo "$ac_t""$RANLIB" 1>&6
2110 else
2111   echo "$ac_t""no" 1>&6
2112 fi
2113
2114
2115 if test -z "$ac_cv_prog_RANLIB"; then
2116 if test -n "$ac_tool_prefix"; then
2117   # Extract the first word of "ranlib", so it can be a program name with args.
2118 set dummy ranlib; ac_word=$2
2119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2120 echo "configure:2121: checking for $ac_word" >&5
2121 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2122   echo $ac_n "(cached) $ac_c" 1>&6
2123 else
2124   if test -n "$RANLIB"; then
2125   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2126 else
2127   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2128   ac_dummy="$PATH"
2129   for ac_dir in $ac_dummy; do
2130     test -z "$ac_dir" && ac_dir=.
2131     if test -f $ac_dir/$ac_word; then
2132       ac_cv_prog_RANLIB="ranlib"
2133       break
2134     fi
2135   done
2136   IFS="$ac_save_ifs"
2137   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2138 fi
2139 fi
2140 RANLIB="$ac_cv_prog_RANLIB"
2141 if test -n "$RANLIB"; then
2142   echo "$ac_t""$RANLIB" 1>&6
2143 else
2144   echo "$ac_t""no" 1>&6
2145 fi
2146
2147 else
2148   RANLIB=":"
2149 fi
2150 fi
2151
2152 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2153 set dummy ${ac_tool_prefix}strip; ac_word=$2
2154 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2155 echo "configure:2156: checking for $ac_word" >&5
2156 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2157   echo $ac_n "(cached) $ac_c" 1>&6
2158 else
2159   if test -n "$STRIP"; then
2160   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2161 else
2162   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2163   ac_dummy="$PATH"
2164   for ac_dir in $ac_dummy; do
2165     test -z "$ac_dir" && ac_dir=.
2166     if test -f $ac_dir/$ac_word; then
2167       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2168       break
2169     fi
2170   done
2171   IFS="$ac_save_ifs"
2172 fi
2173 fi
2174 STRIP="$ac_cv_prog_STRIP"
2175 if test -n "$STRIP"; then
2176   echo "$ac_t""$STRIP" 1>&6
2177 else
2178   echo "$ac_t""no" 1>&6
2179 fi
2180
2181
2182 if test -z "$ac_cv_prog_STRIP"; then
2183 if test -n "$ac_tool_prefix"; then
2184   # Extract the first word of "strip", so it can be a program name with args.
2185 set dummy strip; ac_word=$2
2186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2187 echo "configure:2188: checking for $ac_word" >&5
2188 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2189   echo $ac_n "(cached) $ac_c" 1>&6
2190 else
2191   if test -n "$STRIP"; then
2192   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2193 else
2194   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2195   ac_dummy="$PATH"
2196   for ac_dir in $ac_dummy; do
2197     test -z "$ac_dir" && ac_dir=.
2198     if test -f $ac_dir/$ac_word; then
2199       ac_cv_prog_STRIP="strip"
2200       break
2201     fi
2202   done
2203   IFS="$ac_save_ifs"
2204   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2205 fi
2206 fi
2207 STRIP="$ac_cv_prog_STRIP"
2208 if test -n "$STRIP"; then
2209   echo "$ac_t""$STRIP" 1>&6
2210 else
2211   echo "$ac_t""no" 1>&6
2212 fi
2213
2214 else
2215   STRIP=":"
2216 fi
2217 fi
2218
2219
2220 # Check for any special flags to pass to ltconfig.
2221 libtool_flags="--cache-file=$cache_file"
2222 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2223 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2224 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2225 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2226 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2227 libtool_flags="$libtool_flags --enable-dlopen"
2228
2229 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2230 if test "${enable_libtool_lock+set}" = set; then
2231   enableval="$enable_libtool_lock"
2232   :
2233 fi
2234
2235 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2236 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2237
2238 # Check whether --with-pic or --without-pic was given.
2239 if test "${with_pic+set}" = set; then
2240   withval="$with_pic"
2241   pic_mode="$withval"
2242 else
2243   pic_mode=default
2244 fi
2245
2246 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2247 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2248
2249 # Some flags need to be propagated to the compiler or linker for good
2250 # libtool support.
2251 case "$host" in
2252 *-*-irix6*)
2253   # Find out which ABI we are using.
2254   echo '#line 2255 "configure"' > conftest.$ac_ext
2255   if { (eval echo configure:2256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2256     case "`/usr/bin/file conftest.o`" in
2257     *32-bit*)
2258       LD="${LD-ld} -32"
2259       ;;
2260     *N32*)
2261       LD="${LD-ld} -n32"
2262       ;;
2263     *64-bit*)
2264       LD="${LD-ld} -64"
2265       ;;
2266     esac
2267   fi
2268   rm -rf conftest*
2269   ;;
2270
2271 *-*-sco3.2v5*)
2272   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2273   SAVE_CFLAGS="$CFLAGS"
2274   CFLAGS="$CFLAGS -belf"
2275   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2276 echo "configure:2277: checking whether the C compiler needs -belf" >&5
2277 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2278   echo $ac_n "(cached) $ac_c" 1>&6
2279 else
2280   
2281      ac_ext=c
2282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2283 ac_cpp='$CPP $CPPFLAGS'
2284 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2285 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2286 cross_compiling=$ac_cv_prog_cc_cross
2287
2288      cat > conftest.$ac_ext <<EOF
2289 #line 2290 "configure"
2290 #include "confdefs.h"
2291
2292 int main() {
2293
2294 ; return 0; }
2295 EOF
2296 if { (eval echo configure:2297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2297   rm -rf conftest*
2298   lt_cv_cc_needs_belf=yes
2299 else
2300   echo "configure: failed program was:" >&5
2301   cat conftest.$ac_ext >&5
2302   rm -rf conftest*
2303   lt_cv_cc_needs_belf=no
2304 fi
2305 rm -f conftest*
2306      ac_ext=c
2307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2308 ac_cpp='$CPP $CPPFLAGS'
2309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2311 cross_compiling=$ac_cv_prog_cc_cross
2312
2313 fi
2314
2315 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2316   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2317     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2318     CFLAGS="$SAVE_CFLAGS"
2319   fi
2320   ;;
2321
2322
2323 esac
2324
2325 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2326 echo "configure:2327: checking how to run the C++ preprocessor" >&5
2327 if test -z "$CXXCPP"; then
2328 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2329   echo $ac_n "(cached) $ac_c" 1>&6
2330 else
2331   ac_ext=C
2332 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2333 ac_cpp='$CXXCPP $CPPFLAGS'
2334 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2335 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2336 cross_compiling=$ac_cv_prog_cxx_cross
2337   CXXCPP="${CXX-g++} -E"
2338   cat > conftest.$ac_ext <<EOF
2339 #line 2340 "configure"
2340 #include "confdefs.h"
2341 #include <stdlib.h>
2342 EOF
2343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2344 { (eval echo configure:2345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2346 if test -z "$ac_err"; then
2347   :
2348 else
2349   echo "$ac_err" >&5
2350   echo "configure: failed program was:" >&5
2351   cat conftest.$ac_ext >&5
2352   rm -rf conftest*
2353   CXXCPP=/lib/cpp
2354 fi
2355 rm -f conftest*
2356   ac_cv_prog_CXXCPP="$CXXCPP"
2357 ac_ext=c
2358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2359 ac_cpp='$CPP $CPPFLAGS'
2360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2362 cross_compiling=$ac_cv_prog_cc_cross
2363 fi
2364 fi
2365 CXXCPP="$ac_cv_prog_CXXCPP"
2366 echo "$ac_t""$CXXCPP" 1>&6
2367
2368
2369 # Save cache, so that ltconfig can load it
2370 cat > confcache <<\EOF
2371 # This file is a shell script that caches the results of configure
2372 # tests run on this system so they can be shared between configure
2373 # scripts and configure runs.  It is not useful on other systems.
2374 # If it contains results you don't want to keep, you may remove or edit it.
2375 #
2376 # By default, configure uses ./config.cache as the cache file,
2377 # creating it if it does not exist already.  You can give configure
2378 # the --cache-file=FILE option to use a different cache file; that is
2379 # what configure does when it calls configure scripts in
2380 # subdirectories, so they share the cache.
2381 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2382 # config.status only pays attention to the cache file if you give it the
2383 # --recheck option to rerun configure.
2384 #
2385 EOF
2386 # The following way of writing the cache mishandles newlines in values,
2387 # but we know of no workaround that is simple, portable, and efficient.
2388 # So, don't put newlines in cache variables' values.
2389 # Ultrix sh set writes to stderr and can't be redirected directly,
2390 # and sets the high bit in the cache file unless we assign to the vars.
2391 (set) 2>&1 |
2392   case `(ac_space=' '; set | grep ac_space) 2>&1` in
2393   *ac_space=\ *)
2394     # `set' does not quote correctly, so add quotes (double-quote substitution
2395     # turns \\\\ into \\, and sed turns \\ into \).
2396     sed -n \
2397       -e "s/'/'\\\\''/g" \
2398       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2399     ;;
2400   *)
2401     # `set' quotes correctly as required by POSIX, so do not add quotes.
2402     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2403     ;;
2404   esac >> confcache
2405 if cmp -s $cache_file confcache; then
2406   :
2407 else
2408   if test -w $cache_file; then
2409     echo "updating cache $cache_file"
2410     cat confcache > $cache_file
2411   else
2412     echo "not updating unwritable cache $cache_file"
2413   fi
2414 fi
2415 rm -f confcache
2416
2417
2418 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
2419 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2420 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2421 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2422 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2423 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2424 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2425 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2426 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2427 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2428
2429 # Reload cache, that may have been modified by ltconfig
2430 if test -r "$cache_file"; then
2431   echo "loading cache $cache_file"
2432   . $cache_file
2433 else
2434   echo "creating cache $cache_file"
2435   > $cache_file
2436 fi
2437
2438
2439 # This can be used to rebuild libtool when needed
2440 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2441
2442 # Always use our own libtool.
2443 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2444
2445 # Redirect the config.log output again, so that the ltconfig log is not
2446 # clobbered by the next message.
2447 exec 5>>./config.log
2448
2449
2450
2451
2452 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2453 lt_save_CC="$CC"
2454 lt_save_CFLAGS="$CFLAGS"
2455 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2456 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2457 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2458 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2459 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2460 deplibs_check_method="$deplibs_check_method" \
2461 file_magic_cmd="$file_magic_cmd" \
2462 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2463 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2464 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2465 CC="$lt_save_CC"
2466 CFLAGS="$lt_save_CFLAGS"
2467
2468 # Redirect the config.log output again, so that the ltconfig log is not
2469 # clobbered by the next message.
2470 exec 5>>./config.log
2471
2472
2473   
2474
2475   
2476          
2477          
2478 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2479 echo "configure:2480: checking for GNU make" >&5
2480 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2481   echo $ac_n "(cached) $ac_c" 1>&6
2482 else
2483   _cv_gnu_make_command='' ;
2484           for a in "${MAKE:-make}" make gmake gnumake ; do
2485                   if ( $a --version 2> /dev/null | grep -c GNU )
2486                   then
2487                           _cv_gnu_make_command=$a ;
2488                           break;
2489                   fi
2490           done ;
2491   
2492 fi
2493
2494 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2495   if test  "x$_cv_gnu_make_command" != "x"  ; then
2496           ifGNUmake='' ;
2497   else
2498           ifGNUmake='#' ;
2499   fi
2500   
2501
2502   if test "x$_cv_gnu_make_command" = "x"; then
2503     { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2504   fi
2505
2506
2507
2508
2509 # Check for c++ or library specific bits that don't require linking.
2510 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2511 echo "configure:2512: checking how to run the C preprocessor" >&5
2512 # On Suns, sometimes $CPP names a directory.
2513 if test -n "$CPP" && test -d "$CPP"; then
2514   CPP=
2515 fi
2516 if test -z "$CPP"; then
2517 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2518   echo $ac_n "(cached) $ac_c" 1>&6
2519 else
2520     # This must be in double quotes, not single quotes, because CPP may get
2521   # substituted into the Makefile and "${CC-cc}" will confuse make.
2522   CPP="${CC-cc} -E"
2523   # On the NeXT, cc -E runs the code through the compiler's parser,
2524   # not just through cpp.
2525   cat > conftest.$ac_ext <<EOF
2526 #line 2527 "configure"
2527 #include "confdefs.h"
2528 #include <assert.h>
2529 Syntax Error
2530 EOF
2531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2532 { (eval echo configure:2533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2534 if test -z "$ac_err"; then
2535   :
2536 else
2537   echo "$ac_err" >&5
2538   echo "configure: failed program was:" >&5
2539   cat conftest.$ac_ext >&5
2540   rm -rf conftest*
2541   CPP="${CC-cc} -E -traditional-cpp"
2542   cat > conftest.$ac_ext <<EOF
2543 #line 2544 "configure"
2544 #include "confdefs.h"
2545 #include <assert.h>
2546 Syntax Error
2547 EOF
2548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2549 { (eval echo configure:2550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2551 if test -z "$ac_err"; then
2552   :
2553 else
2554   echo "$ac_err" >&5
2555   echo "configure: failed program was:" >&5
2556   cat conftest.$ac_ext >&5
2557   rm -rf conftest*
2558   CPP="${CC-cc} -nologo -E"
2559   cat > conftest.$ac_ext <<EOF
2560 #line 2561 "configure"
2561 #include "confdefs.h"
2562 #include <assert.h>
2563 Syntax Error
2564 EOF
2565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2566 { (eval echo configure:2567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2568 if test -z "$ac_err"; then
2569   :
2570 else
2571   echo "$ac_err" >&5
2572   echo "configure: failed program was:" >&5
2573   cat conftest.$ac_ext >&5
2574   rm -rf conftest*
2575   CPP=/lib/cpp
2576 fi
2577 rm -f conftest*
2578 fi
2579 rm -f conftest*
2580 fi
2581 rm -f conftest*
2582   ac_cv_prog_CPP="$CPP"
2583 fi
2584   CPP="$ac_cv_prog_CPP"
2585 else
2586   ac_cv_prog_CPP="$CPP"
2587 fi
2588 echo "$ac_t""$CPP" 1>&6
2589
2590
2591   # Sanity check that g++ is capable of dealing with v-3.
2592   echo $ac_n "checking for g++ that will successfully compile this code""... $ac_c" 1>&6
2593 echo "configure:2594: checking for g++ that will successfully compile this code" >&5
2594   cat > conftest.$ac_ext <<EOF
2595 #line 2596 "configure"
2596 #include "confdefs.h"
2597
2598   #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) 
2599     ok
2600   #endif
2601   
2602 EOF
2603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2604   egrep "ok" >/dev/null 2>&1; then
2605   rm -rf conftest*
2606   gpp_satisfactory=yes
2607 else
2608   rm -rf conftest*
2609   { echo "configure: error: "please upgrade to gcc-2.95 or above"" 1>&2; exit 1; }
2610 fi
2611 rm -f conftest*
2612
2613   echo "$ac_t""$gpp_satisfactory" 1>&6
2614
2615
2616     echo $ac_n "checking for cpu primitives directory""... $ac_c" 1>&6
2617 echo "configure:2618: checking for cpu primitives directory" >&5
2618     CPU_FLAGS=                  
2619     case "${target_cpu}" in
2620       alpha*)
2621         cpu_include_dir="config/cpu/alpha"
2622         ;;
2623       arm*)
2624         cpu_include_dir="config/cpu/arm"
2625         ;;
2626       ia64)
2627         cpu_include_dir="config/cpu/ia64"
2628         ;;
2629       i386)
2630         cpu_include_dir="config/cpu/i386"
2631         ;;
2632       i486 | i586 | i686 | i786)
2633         cpu_include_dir="config/cpu/i486"
2634         ;;
2635       powerpc | rs6000)
2636         cpu_include_dir="config/cpu/powerpc"
2637         CPU_FLAGS='-mcpu=powerpc'
2638         ;;
2639       sparc64 | ultrasparc)
2640         cpu_include_dir="config/cpu/sparc/sparc64"
2641         ;;
2642       sparc*)
2643         cpu_include_dir="config/cpu/sparc/sparc32"
2644         ;;
2645       *)
2646         cpu_include_dir="config/cpu/generic"
2647         ;;
2648     esac
2649     echo "$ac_t""$cpu_include_dir" 1>&6
2650     
2651     
2652
2653
2654 cat > confcache <<\EOF
2655 # This file is a shell script that caches the results of configure
2656 # tests run on this system so they can be shared between configure
2657 # scripts and configure runs.  It is not useful on other systems.
2658 # If it contains results you don't want to keep, you may remove or edit it.
2659 #
2660 # By default, configure uses ./config.cache as the cache file,
2661 # creating it if it does not exist already.  You can give configure
2662 # the --cache-file=FILE option to use a different cache file; that is
2663 # what configure does when it calls configure scripts in
2664 # subdirectories, so they share the cache.
2665 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2666 # config.status only pays attention to the cache file if you give it the
2667 # --recheck option to rerun configure.
2668 #
2669 EOF
2670 # The following way of writing the cache mishandles newlines in values,
2671 # but we know of no workaround that is simple, portable, and efficient.
2672 # So, don't put newlines in cache variables' values.
2673 # Ultrix sh set writes to stderr and can't be redirected directly,
2674 # and sets the high bit in the cache file unless we assign to the vars.
2675 (set) 2>&1 |
2676   case `(ac_space=' '; set | grep ac_space) 2>&1` in
2677   *ac_space=\ *)
2678     # `set' does not quote correctly, so add quotes (double-quote substitution
2679     # turns \\\\ into \\, and sed turns \\ into \).
2680     sed -n \
2681       -e "s/'/'\\\\''/g" \
2682       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2683     ;;
2684   *)
2685     # `set' quotes correctly as required by POSIX, so do not add quotes.
2686     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2687     ;;
2688   esac >> confcache
2689 if cmp -s $cache_file confcache; then
2690   :
2691 else
2692   if test -w $cache_file; then
2693     echo "updating cache $cache_file"
2694     cat confcache > $cache_file
2695   else
2696     echo "not updating unwritable cache $cache_file"
2697   fi
2698 fi
2699 rm -f confcache
2700
2701
2702 # Enable all the crazy c++ stuff.
2703 # Check whether --enable-debug or --disable-debug was given.
2704 if test "${enable_debug+set}" = set; then
2705   enableval="$enable_debug"
2706   case "${enableval}" in
2707  yes) enable_debug=yes ;;
2708  no)  enable_debug=no ;;
2709  *)   { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2710  esac
2711 else
2712   enable_debug=no
2713 fi
2714
2715 case "${enable_debug}" in
2716     yes) 
2717         DEBUG_FLAGS='-O0 -ggdb'                 
2718         ;;
2719     no)   
2720         DEBUG_FLAGS='-g'
2721         ;;
2722 esac
2723
2724
2725
2726   echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2727 echo "configure:2728: checking for cstdio to use" >&5
2728   # Check whether --enable-cstdio or --disable-cstdio was given.
2729 if test "${enable_cstdio+set}" = set; then
2730   enableval="$enable_cstdio"
2731   if test x$enable_cstdio = xno; then
2732     enable_cstdio=libio
2733   fi
2734 else
2735   enable_cstdio=libio
2736 fi
2737
2738
2739   enable_cstdio_flag=$enable_cstdio
2740
2741     case x${enable_cstdio_flag} in
2742     xlibio | x | xno | xnone | xyes)
2743       # default
2744       CSTDIO_H=config/c_io_libio.h
2745       CSTDIO_CC=config/c_io_libio.cc
2746       echo "$ac_t""libio" 1>&6
2747
2748       # see if we are on a system with libio native (ie, linux)
2749       ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2750 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2751 echo "configure:2752: checking for libio.h" >&5
2752 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2753   echo $ac_n "(cached) $ac_c" 1>&6
2754 else
2755   cat > conftest.$ac_ext <<EOF
2756 #line 2757 "configure"
2757 #include "confdefs.h"
2758 #include <libio.h>
2759 EOF
2760 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2761 { (eval echo configure:2762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2762 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2763 if test -z "$ac_err"; then
2764   rm -rf conftest*
2765   eval "ac_cv_header_$ac_safe=yes"
2766 else
2767   echo "$ac_err" >&5
2768   echo "configure: failed program was:" >&5
2769   cat conftest.$ac_ext >&5
2770   rm -rf conftest*
2771   eval "ac_cv_header_$ac_safe=no"
2772 fi
2773 rm -f conftest*
2774 fi
2775 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2776   echo "$ac_t""yes" 1>&6
2777   has_libio=yes
2778 else
2779   echo "$ac_t""no" 1>&6
2780 has_libio=no
2781 fi
2782
2783
2784       # Need to check and see what version of glibc is being used. If
2785       # it's not glibc-2.2 or higher, then we'll need to go ahead and 
2786       # compile most of libio for linux systems.
2787       if test x$has_libio = x"yes"; then
2788         case "$target" in
2789           *-*-linux*)
2790             echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2791 echo "configure:2792: checking for glibc version >= 2.2" >&5
2792             cat > conftest.$ac_ext <<EOF
2793 #line 2794 "configure"
2794 #include "confdefs.h"
2795
2796             #include <features.h>
2797             #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) 
2798                 ok
2799             #endif
2800             
2801 EOF
2802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2803   egrep "ok" >/dev/null 2>&1; then
2804   rm -rf conftest*
2805   glibc_satisfactory=yes
2806 else
2807   rm -rf conftest*
2808   glibc_satisfactory=no
2809 fi
2810 rm -f conftest*
2811
2812             echo "$ac_t""$glibc_satisfactory" 1>&6
2813             ;;
2814         esac
2815
2816         # XXX at the moment, admit defeat and force the recompilation
2817         # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2818         glibc_satisfactory=no   
2819
2820         if test x$glibc_satisfactory = x"yes"; then
2821           need_libio=no
2822           need_xtra_libio=no
2823           need_wlibio=no        
2824         else
2825           need_libio=yes
2826           need_xtra_libio=yes
2827           # bkoz XXX need to add checks to enable this
2828           need_wlibio=yes
2829         fi
2830
2831       # Using libio, but <libio.h> doesn't exist on the target system. . .
2832       else
2833         need_libio=yes
2834         need_xtra_libio=no
2835         # bkoz XXX need to add checks to enable this
2836         need_wlibio=no
2837       fi
2838       ;;
2839
2840     xwince)
2841       CSTDIO_H=config/c_io_wince.h
2842       CSTDIO_CC=config/c_io_wince.cc
2843       echo "$ac_t""wince" 1>&6
2844
2845       need_libio=no
2846       ;;
2847     *)
2848       echo "$enable_cstdio is an unknown io package" 1>&2
2849       exit 1
2850       ;;
2851   esac
2852   
2853   
2854
2855   # 2000-08-04 bkoz hack
2856   CCODECVT_C=config/c_io_libio_codecvt.c
2857   
2858   # 2000-08-04 bkoz hack
2859         
2860   
2861
2862 if test "$need_libio" = yes; then
2863   GLIBCPP_NEED_LIBIO_TRUE=
2864   GLIBCPP_NEED_LIBIO_FALSE='#'
2865 else
2866   GLIBCPP_NEED_LIBIO_TRUE='#'
2867   GLIBCPP_NEED_LIBIO_FALSE=
2868 fi
2869   
2870
2871 if test "$need_xtra_libio" = yes; then
2872   GLIBCPP_NEED_XTRA_LIBIO_TRUE=
2873   GLIBCPP_NEED_XTRA_LIBIO_FALSE='#'
2874 else
2875   GLIBCPP_NEED_XTRA_LIBIO_TRUE='#'
2876   GLIBCPP_NEED_XTRA_LIBIO_FALSE=
2877 fi
2878   
2879
2880 if test "$need_wlibio" = yes; then
2881   GLIBCPP_NEED_WLIBIO_TRUE=
2882   GLIBCPP_NEED_WLIBIO_FALSE='#'
2883 else
2884   GLIBCPP_NEED_WLIBIO_TRUE='#'
2885   GLIBCPP_NEED_WLIBIO_FALSE=
2886 fi
2887
2888   
2889   # Check whether --enable-long-long or --disable-long-long was given.
2890 if test "${enable_long_long+set}" = set; then
2891   enableval="$enable_long_long"
2892     case "$enableval" in
2893    yes) enable_long_long=yes ;;
2894    no)  enable_long_long=no ;;
2895    *)   { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2896    esac
2897 else
2898   enable_long_long=yes
2899 fi
2900
2901   # Check for the existance of functions used if long long is enabled.
2902   echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2903 echo "configure:2904: checking for strtoll" >&5
2904 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2905   echo $ac_n "(cached) $ac_c" 1>&6
2906 else
2907   cat > conftest.$ac_ext <<EOF
2908 #line 2909 "configure"
2909 #include "confdefs.h"
2910 /* System header to define __stub macros and hopefully few prototypes,
2911     which can conflict with char strtoll(); below.  */
2912 #include <assert.h>
2913 /* Override any gcc2 internal prototype to avoid an error.  */
2914 /* We use char because int might match the return type of a gcc2
2915     builtin and then its argument prototype would still apply.  */
2916 char strtoll();
2917
2918 int main() {
2919
2920 /* The GNU C library defines this for functions which it implements
2921     to always fail with ENOSYS.  Some functions are actually named
2922     something starting with __ and the normal name is an alias.  */
2923 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2924 choke me
2925 #else
2926 strtoll();
2927 #endif
2928
2929 ; return 0; }
2930 EOF
2931 if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2932   rm -rf conftest*
2933   eval "ac_cv_func_strtoll=yes"
2934 else
2935   echo "configure: failed program was:" >&5
2936   cat conftest.$ac_ext >&5
2937   rm -rf conftest*
2938   eval "ac_cv_func_strtoll=no"
2939 fi
2940 rm -f conftest*
2941 fi
2942
2943 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2944   echo "$ac_t""yes" 1>&6
2945   :
2946 else
2947   echo "$ac_t""no" 1>&6
2948 ac_strtoll=no
2949 fi
2950
2951   echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2952 echo "configure:2953: checking for strtoull" >&5
2953 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2954   echo $ac_n "(cached) $ac_c" 1>&6
2955 else
2956   cat > conftest.$ac_ext <<EOF
2957 #line 2958 "configure"
2958 #include "confdefs.h"
2959 /* System header to define __stub macros and hopefully few prototypes,
2960     which can conflict with char strtoull(); below.  */
2961 #include <assert.h>
2962 /* Override any gcc2 internal prototype to avoid an error.  */
2963 /* We use char because int might match the return type of a gcc2
2964     builtin and then its argument prototype would still apply.  */
2965 char strtoull();
2966
2967 int main() {
2968
2969 /* The GNU C library defines this for functions which it implements
2970     to always fail with ENOSYS.  Some functions are actually named
2971     something starting with __ and the normal name is an alias.  */
2972 #if defined (__stub_strtoull) || defined (__stub___strtoull)
2973 choke me
2974 #else
2975 strtoull();
2976 #endif
2977
2978 ; return 0; }
2979 EOF
2980 if { (eval echo configure:2981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2981   rm -rf conftest*
2982   eval "ac_cv_func_strtoull=yes"
2983 else
2984   echo "configure: failed program was:" >&5
2985   cat conftest.$ac_ext >&5
2986   rm -rf conftest*
2987   eval "ac_cv_func_strtoull=no"
2988 fi
2989 rm -f conftest*
2990 fi
2991
2992 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
2993   echo "$ac_t""yes" 1>&6
2994   :
2995 else
2996   echo "$ac_t""no" 1>&6
2997 ac_strtoull=no
2998 fi
2999
3000
3001   echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3002 echo "configure:3003: checking for enabled long long" >&5
3003   if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then 
3004     enable_long_long=no; 
3005   fi; 
3006   echo "$ac_t""$enable_long_long" 1>&6
3007
3008     case "$enable_long_long" in
3009     yes)  cat >> confdefs.h <<\EOF
3010 #define _GLIBCPP_USE_LONG_LONG 1
3011 EOF
3012
3013           ;;
3014   esac
3015
3016 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
3017 echo "configure:3018: checking for enabled cshadow headers" >&5
3018 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
3019 if test "${enable_cshadow_headers+set}" = set; then
3020   enableval="$enable_cshadow_headers"
3021   
3022   case "$enableval" in
3023    yes) enable_cshadow_headers=yes 
3024         ;;
3025    no)  enable_cshadow_headers=no 
3026         ;;
3027    *)   { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; } 
3028         ;;
3029   esac
3030 else
3031   enable_cshadow_headers=no
3032 fi
3033
3034   echo "$ac_t""$enable_cshadow_headers" 1>&6
3035
3036       case "$enable_cshadow_headers" in
3037     yes) 
3038         CSHADOWFLAGS="-fno-builtin"
3039         cat >> confdefs.h <<\EOF
3040 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3041 EOF
3042
3043         ;;
3044     no)   
3045         CSHADOWFLAGS=""
3046         ;;
3047   esac
3048
3049   
3050   
3051
3052 if test "$enable_cshadow_headers" = yes; then
3053   GLIBCPP_USE_CSHADOW_TRUE=
3054   GLIBCPP_USE_CSHADOW_FALSE='#'
3055 else
3056   GLIBCPP_USE_CSHADOW_TRUE='#'
3057   GLIBCPP_USE_CSHADOW_FALSE=
3058 fi
3059
3060
3061       echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3062 echo "configure:3063: checking for threads package to use" >&5
3063   # Check whether --enable-threads or --disable-threads was given.
3064 if test "${enable_threads+set}" = set; then
3065   enableval="$enable_threads"
3066   if test x$enable_threads = xno; then
3067     enable_threads=''
3068   fi
3069 else
3070   enable_threads=''
3071 fi
3072
3073
3074   enable_threads_flag=$enable_threads
3075
3076     case x${enable_threads_flag} in
3077         x | xno | xnone)
3078                 # No threads
3079                 target_thread_file='single'
3080                 ;;
3081         xyes)
3082                 # default
3083                 target_thread_file=''
3084                 ;;
3085         xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3086         xsolaris | xwin32 | xdce | xvxworks)
3087                 target_thread_file=$enable_threads_flag
3088                 ;;
3089         *)
3090                 echo "$enable_threads is an unknown thread package" 1>&2
3091                 exit 1
3092                 ;;
3093   esac
3094
3095     case "$target_thread_file" in
3096     no | none | single)
3097       THREADS=none
3098       ;;
3099     posix | pthreads)
3100       THREADS=posix
3101       case "$target" in
3102         *-*-linux*)
3103         ;;
3104       esac
3105       ;;
3106     decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3107       { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3108       ;;
3109     *)
3110       { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
3111       ;;
3112   esac
3113   echo "$ac_t""$THREADS" 1>&6
3114
3115   THREADLIBS=
3116   THREADINCS=
3117   THREADDEPS=
3118   THREADOBJS=
3119   THREADH=
3120   THREADSPEC=
3121   case "$THREADS" in
3122     posix)
3123       ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
3124 echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
3125 echo "configure:3126: checking for pthread.h" >&5
3126 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3127   echo $ac_n "(cached) $ac_c" 1>&6
3128 else
3129   cat > conftest.$ac_ext <<EOF
3130 #line 3131 "configure"
3131 #include "confdefs.h"
3132 #include <pthread.h>
3133 EOF
3134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3135 { (eval echo configure:3136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3136 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3137 if test -z "$ac_err"; then
3138   rm -rf conftest*
3139   eval "ac_cv_header_$ac_safe=yes"
3140 else
3141   echo "$ac_err" >&5
3142   echo "configure: failed program was:" >&5
3143   cat conftest.$ac_ext >&5
3144   rm -rf conftest*
3145   eval "ac_cv_header_$ac_safe=no"
3146 fi
3147 rm -f conftest*
3148 fi
3149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3150   echo "$ac_t""yes" 1>&6
3151   have_pthread_h=yes
3152 else
3153   echo "$ac_t""no" 1>&6
3154 have_pthread_h=
3155 fi
3156
3157       THREADLIBS=-lpthread
3158       THREADSPEC=-lpthread
3159                   THREADH=threads-posix.h
3160       ;;
3161     none)
3162                   THREADH=threads-no.h
3163       ;;
3164   esac
3165   
3166   
3167   
3168   
3169   
3170   
3171
3172 #GLIBCPP_ENABLE_RELIBGCC([../..])
3173 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3174 if test "${enable_cxx_flags+set}" = set; then
3175   enableval="$enable_cxx_flags"
3176   case "x$enableval" in
3177  xyes)   
3178         { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3179  xno|x)  
3180         enable_cxx_flags='' ;;
3181  *)      
3182         enable_cxx_flags="$enableval" ;;
3183  esac
3184 else
3185   enable_cxx_flags='none'
3186 fi
3187
3188
3189 if test "$enable_cxx_flags" = "none"; then 
3190   enable_cxx_flags=''; 
3191 fi
3192
3193 if test -n "$enable_cxx_flags"; then
3194     for f in $enable_cxx_flags; do
3195         case "$f" in
3196             -fhonor-std)  ;;
3197             -*)  ;;
3198             *)   # and we're trying to pass /what/ exactly?
3199                  { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3200         esac
3201     done
3202 fi
3203 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3204
3205
3206
3207
3208 if test -n "$with_cross_host"; then
3209
3210   # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
3211   # may not work correctly, because the compiler may not be able to
3212   # link executables.
3213
3214   xcompiling=1
3215   NATIVE=no
3216   # If Canadian cross, then don't pick up tools from the build
3217   # directory.
3218   if test "$build" != "$with_cross_host"; then
3219     CANADIAN=yes
3220     NULL_TARGET=yes
3221   else
3222     CANADIAN=no
3223     NULL_TARGET=no
3224   fi
3225
3226   case "$target_alias" in
3227     *-wince-*)
3228         # Configure for Microsoft Windows CE, or whatever they are
3229         # currently calling it.
3230         cat >> confdefs.h <<\EOF
3231 #define HAVE_FLOAT_H 1
3232 EOF
3233
3234
3235         cat >> confdefs.h <<\EOF
3236 #define HAVE__FINITE 1
3237 EOF
3238
3239         cat >> confdefs.h <<\EOF
3240 #define HAVE__ISNAN 1
3241 EOF
3242
3243         cat >> confdefs.h <<\EOF
3244 #define HAVE__COPYSIGN 1
3245 EOF
3246
3247         cat >> confdefs.h <<\EOF
3248 #define HAVE__FPCLASS 1
3249 EOF
3250
3251         cat >> confdefs.h <<\EOF
3252 #define HAVE_MODF 1
3253 EOF
3254
3255
3256         ctype_include_dir="config/wince"
3257         
3258
3259         cat >> confdefs.h <<\EOF
3260 #define _GLIBCPP_NEED_MBSTATE_T 1
3261 EOF
3262
3263
3264         cat >> confdefs.h <<\EOF
3265 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3266 EOF
3267
3268         cat >> confdefs.h <<\EOF
3269 #define _GLIBCPP_BUGGY_COMPLEX 1
3270 EOF
3271
3272         ;;
3273     *)
3274         # We assume newlib.  This lets us hard-code the functions we know
3275         # we'll have.
3276         cat >> confdefs.h <<\EOF
3277 #define HAVE_FINITE 1
3278 EOF
3279
3280         cat >> confdefs.h <<\EOF
3281 #define HAVE_ISNAN 1
3282 EOF
3283
3284         cat >> confdefs.h <<\EOF
3285 #define HAVE_ISNANF 1
3286 EOF
3287
3288         cat >> confdefs.h <<\EOF
3289 #define HAVE_ISINF 1
3290 EOF
3291
3292         cat >> confdefs.h <<\EOF
3293 #define HAVE_ISINFF 1
3294 EOF
3295
3296
3297         ctype_include_dir="config/newlib"
3298         
3299
3300         cat >> confdefs.h <<\EOF
3301 #define _GLIBCPP_NEED_MBSTATE_T 1
3302 EOF
3303
3304
3305         cat >> confdefs.h <<\EOF
3306 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3307 EOF
3308
3309         cat >> confdefs.h <<\EOF
3310 #define _GLIBCPP_BUGGY_COMPLEX 1
3311 EOF
3312
3313         # need to ceck for faster f versions of math functions, ie sinf?
3314         ;;
3315   esac
3316 else
3317
3318   # We are being configured natively. We can do more elaborate tests
3319   # that include AC_TRY_COMPILE now, as the linker is assumed to be
3320   # working.
3321
3322   xcompiling=0
3323   NATIVE=yes
3324   CANADIAN=no
3325   NULL_TARGET=no
3326
3327   # Check for available headers.
3328   for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3329   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h
3330 do
3331 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3332 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3333 echo "configure:3334: checking for $ac_hdr" >&5
3334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3335   echo $ac_n "(cached) $ac_c" 1>&6
3336 else
3337   cat > conftest.$ac_ext <<EOF
3338 #line 3339 "configure"
3339 #include "confdefs.h"
3340 #include <$ac_hdr>
3341 EOF
3342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3343 { (eval echo configure:3344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3345 if test -z "$ac_err"; then
3346   rm -rf conftest*
3347   eval "ac_cv_header_$ac_safe=yes"
3348 else
3349   echo "$ac_err" >&5
3350   echo "configure: failed program was:" >&5
3351   cat conftest.$ac_ext >&5
3352   rm -rf conftest*
3353   eval "ac_cv_header_$ac_safe=no"
3354 fi
3355 rm -f conftest*
3356 fi
3357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3358   echo "$ac_t""yes" 1>&6
3359     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3360   cat >> confdefs.h <<EOF
3361 #define $ac_tr_hdr 1
3362 EOF
3363  
3364 else
3365   echo "$ac_t""no" 1>&6
3366 fi
3367 done
3368
3369
3370   
3371   # All these tests are for C++; save the language and the compiler flags.
3372   # The CXXFLAGS thing is suspicious, but based on similar bits 
3373   # found in GLIBCPP_CONFIGURE.
3374   
3375   ac_ext=C
3376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3377 ac_cpp='$CXXCPP $CPPFLAGS'
3378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3380 cross_compiling=$ac_cv_prog_cxx_cross
3381
3382   ac_test_CXXFLAGS="${CXXFLAGS+set}"
3383   ac_save_CXXFLAGS="$CXXFLAGS"
3384
3385   # Check for maintainer-mode bits.
3386   if test x"$USE_MAINTAINER_MODE" = xno; then
3387     WERROR=''
3388   else
3389     WERROR='-Werror'
3390   fi
3391
3392   # Check for more sophisticated diagnostic control.
3393   echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3394 echo "configure:3395: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3395   CXXFLAGS='-Werror -fdiagnostics-show-location=once'
3396   cat > conftest.$ac_ext <<EOF
3397 #line 3398 "configure"
3398 #include "confdefs.h"
3399
3400 int main() {
3401 int foo;
3402   
3403 ; return 0; }
3404 EOF
3405 if { (eval echo configure:3406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3406   rm -rf conftest*
3407   ac_gabydiags=yes
3408 else
3409   echo "configure: failed program was:" >&5
3410   cat conftest.$ac_ext >&5
3411   rm -rf conftest*
3412   ac_gabydiags=no
3413 fi
3414 rm -f conftest*
3415   if test "$ac_test_CXXFLAGS" = set; then
3416     CXXFLAGS="$ac_save_CXXFLAGS"
3417   else
3418     # this is the suspicious part
3419     CXXFLAGS=''
3420   fi
3421   if test "$ac_gabydiags" = "yes"; then
3422     WFMT_FLAGS='-fdiagnostics-show-location=once'
3423   fi
3424   echo "$ac_t""$ac_gabydiags" 1>&6
3425
3426   # Check for -ffunction-sections -fdata-sections
3427   echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3428 echo "configure:3429: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3429   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
3430   cat > conftest.$ac_ext <<EOF
3431 #line 3432 "configure"
3432 #include "confdefs.h"
3433
3434 int main() {
3435 int foo;
3436   
3437 ; return 0; }
3438 EOF
3439 if { (eval echo configure:3440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3440   rm -rf conftest*
3441   ac_fdsections=yes
3442 else
3443   echo "configure: failed program was:" >&5
3444   cat conftest.$ac_ext >&5
3445   rm -rf conftest*
3446   ac_fdsections=no
3447 fi
3448 rm -f conftest*
3449   if test "$ac_test_CXXFLAGS" = set; then
3450     CXXFLAGS="$ac_save_CXXFLAGS"
3451   else
3452     # this is the suspicious part
3453     CXXFLAGS=''
3454   fi
3455   if test "$ac_fdsections" = "yes"; then
3456     SECTION_FLAGS='-ffunction-sections -fdata-sections'
3457   fi
3458   echo "$ac_t""$ac_fdsections" 1>&6
3459
3460   ac_ext=c
3461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3462 ac_cpp='$CPP $CPPFLAGS'
3463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3465 cross_compiling=$ac_cv_prog_cc_cross
3466
3467   
3468   
3469   
3470
3471   
3472   # If we're not using GNU ld, then there's no point in even trying these
3473   # tests.  Check for that first.  We should have already tested for gld
3474   # by now (in libtool), but require it now just to be safe...
3475   
3476   if test "$ac_cv_prog_gnu_ld" = "no"; then
3477     SECTION_LDFLAGS=''
3478     OPT_LDFLAGS=''
3479
3480   else   # GNU ld it is!  Joy and bunny rabbits!
3481
3482     # All these tests are for C++; save the language and the compiler flags.
3483     # Need to do this so that g++ won't try to link in libstdc++
3484     ac_test_CFLAGS="${CFLAGS+set}"
3485     ac_save_CFLAGS="$CFLAGS"
3486     CFLAGS='-x c++  -Wl,--gc-sections'
3487
3488     # Check for -Wl,--gc-sections
3489     echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3490 echo "configure:3491: checking for ld that supports -Wl,--gc-sections" >&5
3491     if test "$cross_compiling" = yes; then
3492   ac_sectionLDflags=yes
3493 else
3494   cat > conftest.$ac_ext <<EOF
3495 #line 3496 "configure"
3496 #include "confdefs.h"
3497
3498      int main(void) 
3499      {
3500        try { throw 1; }
3501        catch (...) { };
3502        return 0;
3503      }
3504     
3505 EOF
3506 if { (eval echo configure:3507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3507 then
3508   ac_sectionLDflags=yes
3509 else
3510   echo "configure: failed program was:" >&5
3511   cat conftest.$ac_ext >&5
3512   rm -fr conftest*
3513   ac_sectionLFflags=no
3514 fi
3515 rm -fr conftest*
3516 fi
3517
3518     if test "$ac_test_CFLAGS" = set; then
3519       CFLAGS="$ac_save_CFLAGS"
3520     else
3521       # this is the suspicious part
3522       CFLAGS=''
3523     fi
3524     if test "$ac_sectionLDflags" = "yes"; then
3525       SECTION_LDFLAGS='-Wl,--gc-sections'
3526     fi
3527     echo "$ac_t""$ac_sectionLDflags" 1>&6
3528     OPT_LDFLAGS='-Wl,-O1'
3529
3530   fi
3531   
3532   
3533
3534   
3535       
3536   echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3537 echo "configure:3538: checking for __builtin_abs declaration" >&5
3538   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3539   echo $ac_n "(cached) $ac_c" 1>&6
3540 else
3541   
3542     
3543     ac_ext=C
3544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3545 ac_cpp='$CXXCPP $CPPFLAGS'
3546 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3547 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3548 cross_compiling=$ac_cv_prog_cxx_cross
3549
3550     cat > conftest.$ac_ext <<EOF
3551 #line 3552 "configure"
3552 #include "confdefs.h"
3553 #include <math.h>
3554 int main() {
3555  __builtin_abs(0);
3556 ; return 0; }
3557 EOF
3558 if { (eval echo configure:3559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3559   rm -rf conftest*
3560   glibcpp_cv_func___builtin_abs_use=yes
3561 else
3562   echo "configure: failed program was:" >&5
3563   cat conftest.$ac_ext >&5
3564   rm -rf conftest*
3565   glibcpp_cv_func___builtin_abs_use=no
3566 fi
3567 rm -f conftest*
3568     ac_ext=c
3569 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3570 ac_cpp='$CPP $CPPFLAGS'
3571 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3572 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3573 cross_compiling=$ac_cv_prog_cc_cross
3574
3575   
3576 fi
3577
3578   echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3579   if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3580     echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3581 echo "configure:3582: checking for __builtin_abs linkage" >&5
3582     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3583   echo $ac_n "(cached) $ac_c" 1>&6
3584 else
3585   
3586       cat > conftest.$ac_ext <<EOF
3587 #line 3588 "configure"
3588 #include "confdefs.h"
3589 #include <math.h>
3590 int main() {
3591  __builtin_abs(0);
3592 ; return 0; }
3593 EOF
3594 if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3595   rm -rf conftest*
3596   glibcpp_cv_func___builtin_abs_link=yes
3597 else
3598   echo "configure: failed program was:" >&5
3599   cat conftest.$ac_ext >&5
3600   rm -rf conftest*
3601   glibcpp_cv_func___builtin_abs_link=no
3602 fi
3603 rm -f conftest*
3604     
3605 fi
3606
3607     echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3608     if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3609       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3610       cat >> confdefs.h <<EOF
3611 #define ${ac_tr_func} 1
3612 EOF
3613
3614     fi
3615   fi
3616
3617   
3618   echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3619 echo "configure:3620: checking for __builtin_fabsf declaration" >&5
3620   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3621   echo $ac_n "(cached) $ac_c" 1>&6
3622 else
3623   
3624     
3625     ac_ext=C
3626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3627 ac_cpp='$CXXCPP $CPPFLAGS'
3628 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3629 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3630 cross_compiling=$ac_cv_prog_cxx_cross
3631
3632     cat > conftest.$ac_ext <<EOF
3633 #line 3634 "configure"
3634 #include "confdefs.h"
3635 #include <math.h>
3636 int main() {
3637  __builtin_fabsf(0);
3638 ; return 0; }
3639 EOF
3640 if { (eval echo configure:3641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3641   rm -rf conftest*
3642   glibcpp_cv_func___builtin_fabsf_use=yes
3643 else
3644   echo "configure: failed program was:" >&5
3645   cat conftest.$ac_ext >&5
3646   rm -rf conftest*
3647   glibcpp_cv_func___builtin_fabsf_use=no
3648 fi
3649 rm -f conftest*
3650     ac_ext=c
3651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3652 ac_cpp='$CPP $CPPFLAGS'
3653 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3654 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3655 cross_compiling=$ac_cv_prog_cc_cross
3656
3657   
3658 fi
3659
3660   echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3661   if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3662     echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3663 echo "configure:3664: checking for __builtin_fabsf linkage" >&5
3664     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3665   echo $ac_n "(cached) $ac_c" 1>&6
3666 else
3667   
3668       cat > conftest.$ac_ext <<EOF
3669 #line 3670 "configure"
3670 #include "confdefs.h"
3671 #include <math.h>
3672 int main() {
3673  __builtin_fabsf(0);
3674 ; return 0; }
3675 EOF
3676 if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3677   rm -rf conftest*
3678   glibcpp_cv_func___builtin_fabsf_link=yes
3679 else
3680   echo "configure: failed program was:" >&5
3681   cat conftest.$ac_ext >&5
3682   rm -rf conftest*
3683   glibcpp_cv_func___builtin_fabsf_link=no
3684 fi
3685 rm -f conftest*
3686     
3687 fi
3688
3689     echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3690     if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3691       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3692       cat >> confdefs.h <<EOF
3693 #define ${ac_tr_func} 1
3694 EOF
3695
3696     fi
3697   fi
3698
3699   
3700   echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3701 echo "configure:3702: checking for __builtin_fabs declaration" >&5
3702   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3703   echo $ac_n "(cached) $ac_c" 1>&6
3704 else
3705   
3706     
3707     ac_ext=C
3708 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3709 ac_cpp='$CXXCPP $CPPFLAGS'
3710 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3711 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3712 cross_compiling=$ac_cv_prog_cxx_cross
3713
3714     cat > conftest.$ac_ext <<EOF
3715 #line 3716 "configure"
3716 #include "confdefs.h"
3717 #include <math.h>
3718 int main() {
3719  __builtin_fabs(0);
3720 ; return 0; }
3721 EOF
3722 if { (eval echo configure:3723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3723   rm -rf conftest*
3724   glibcpp_cv_func___builtin_fabs_use=yes
3725 else
3726   echo "configure: failed program was:" >&5
3727   cat conftest.$ac_ext >&5
3728   rm -rf conftest*
3729   glibcpp_cv_func___builtin_fabs_use=no
3730 fi
3731 rm -f conftest*
3732     ac_ext=c
3733 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3734 ac_cpp='$CPP $CPPFLAGS'
3735 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3736 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3737 cross_compiling=$ac_cv_prog_cc_cross
3738
3739   
3740 fi
3741
3742   echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3743   if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3744     echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3745 echo "configure:3746: checking for __builtin_fabs linkage" >&5
3746     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3747   echo $ac_n "(cached) $ac_c" 1>&6
3748 else
3749   
3750       cat > conftest.$ac_ext <<EOF
3751 #line 3752 "configure"
3752 #include "confdefs.h"
3753 #include <math.h>
3754 int main() {
3755  __builtin_fabs(0);
3756 ; return 0; }
3757 EOF
3758 if { (eval echo configure:3759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3759   rm -rf conftest*
3760   glibcpp_cv_func___builtin_fabs_link=yes
3761 else
3762   echo "configure: failed program was:" >&5
3763   cat conftest.$ac_ext >&5
3764   rm -rf conftest*
3765   glibcpp_cv_func___builtin_fabs_link=no
3766 fi
3767 rm -f conftest*
3768     
3769 fi
3770
3771     echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3772     if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3773       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3774       cat >> confdefs.h <<EOF
3775 #define ${ac_tr_func} 1
3776 EOF
3777
3778     fi
3779   fi
3780
3781   
3782   echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3783 echo "configure:3784: checking for __builtin_fabsl declaration" >&5
3784   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3785   echo $ac_n "(cached) $ac_c" 1>&6
3786 else
3787   
3788     
3789     ac_ext=C
3790 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3791 ac_cpp='$CXXCPP $CPPFLAGS'
3792 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3793 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3794 cross_compiling=$ac_cv_prog_cxx_cross
3795
3796     cat > conftest.$ac_ext <<EOF
3797 #line 3798 "configure"
3798 #include "confdefs.h"
3799 #include <math.h>
3800 int main() {
3801  __builtin_fabsl(0);
3802 ; return 0; }
3803 EOF
3804 if { (eval echo configure:3805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3805   rm -rf conftest*
3806   glibcpp_cv_func___builtin_fabsl_use=yes
3807 else
3808   echo "configure: failed program was:" >&5
3809   cat conftest.$ac_ext >&5
3810   rm -rf conftest*
3811   glibcpp_cv_func___builtin_fabsl_use=no
3812 fi
3813 rm -f conftest*
3814     ac_ext=c
3815 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3816 ac_cpp='$CPP $CPPFLAGS'
3817 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3818 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3819 cross_compiling=$ac_cv_prog_cc_cross
3820
3821   
3822 fi
3823
3824   echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3825   if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3826     echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3827 echo "configure:3828: checking for __builtin_fabsl linkage" >&5
3828     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3829   echo $ac_n "(cached) $ac_c" 1>&6
3830 else
3831   
3832       cat > conftest.$ac_ext <<EOF
3833 #line 3834 "configure"
3834 #include "confdefs.h"
3835 #include <math.h>
3836 int main() {
3837  __builtin_fabsl(0);
3838 ; return 0; }
3839 EOF
3840 if { (eval echo configure:3841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3841   rm -rf conftest*
3842   glibcpp_cv_func___builtin_fabsl_link=yes
3843 else
3844   echo "configure: failed program was:" >&5
3845   cat conftest.$ac_ext >&5
3846   rm -rf conftest*
3847   glibcpp_cv_func___builtin_fabsl_link=no
3848 fi
3849 rm -f conftest*
3850     
3851 fi
3852
3853     echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3854     if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3855       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3856       cat >> confdefs.h <<EOF
3857 #define ${ac_tr_func} 1
3858 EOF
3859
3860     fi
3861   fi
3862
3863   
3864   echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3865 echo "configure:3866: checking for __builtin_labs declaration" >&5
3866   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
3867   echo $ac_n "(cached) $ac_c" 1>&6
3868 else
3869   
3870     
3871     ac_ext=C
3872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3873 ac_cpp='$CXXCPP $CPPFLAGS'
3874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3876 cross_compiling=$ac_cv_prog_cxx_cross
3877
3878     cat > conftest.$ac_ext <<EOF
3879 #line 3880 "configure"
3880 #include "confdefs.h"
3881 #include <math.h>
3882 int main() {
3883  __builtin_labs(0);
3884 ; return 0; }
3885 EOF
3886 if { (eval echo configure:3887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3887   rm -rf conftest*
3888   glibcpp_cv_func___builtin_labs_use=yes
3889 else
3890   echo "configure: failed program was:" >&5
3891   cat conftest.$ac_ext >&5
3892   rm -rf conftest*
3893   glibcpp_cv_func___builtin_labs_use=no
3894 fi
3895 rm -f conftest*
3896     ac_ext=c
3897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3898 ac_cpp='$CPP $CPPFLAGS'
3899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3901 cross_compiling=$ac_cv_prog_cc_cross
3902
3903   
3904 fi
3905
3906   echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3907   if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3908     echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3909 echo "configure:3910: checking for __builtin_labs linkage" >&5
3910     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3911   echo $ac_n "(cached) $ac_c" 1>&6
3912 else
3913   
3914       cat > conftest.$ac_ext <<EOF
3915 #line 3916 "configure"
3916 #include "confdefs.h"
3917 #include <math.h>
3918 int main() {
3919  __builtin_labs(0);
3920 ; return 0; }
3921 EOF
3922 if { (eval echo configure:3923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3923   rm -rf conftest*
3924   glibcpp_cv_func___builtin_labs_link=yes
3925 else
3926   echo "configure: failed program was:" >&5
3927   cat conftest.$ac_ext >&5
3928   rm -rf conftest*
3929   glibcpp_cv_func___builtin_labs_link=no
3930 fi
3931 rm -f conftest*
3932     
3933 fi
3934
3935     echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3936     if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3937       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3938       cat >> confdefs.h <<EOF
3939 #define ${ac_tr_func} 1
3940 EOF
3941
3942     fi
3943   fi
3944
3945
3946   
3947   echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3948 echo "configure:3949: checking for __builtin_sqrtf declaration" >&5
3949   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3950   echo $ac_n "(cached) $ac_c" 1>&6
3951 else
3952   
3953     
3954     ac_ext=C
3955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3956 ac_cpp='$CXXCPP $CPPFLAGS'
3957 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3958 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3959 cross_compiling=$ac_cv_prog_cxx_cross
3960
3961     cat > conftest.$ac_ext <<EOF
3962 #line 3963 "configure"
3963 #include "confdefs.h"
3964 #include <math.h>
3965 int main() {
3966  __builtin_sqrtf(0);
3967 ; return 0; }
3968 EOF
3969 if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3970   rm -rf conftest*
3971   glibcpp_cv_func___builtin_sqrtf_use=yes
3972 else
3973   echo "configure: failed program was:" >&5
3974   cat conftest.$ac_ext >&5
3975   rm -rf conftest*
3976   glibcpp_cv_func___builtin_sqrtf_use=no
3977 fi
3978 rm -f conftest*
3979     ac_ext=c
3980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3981 ac_cpp='$CPP $CPPFLAGS'
3982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3984 cross_compiling=$ac_cv_prog_cc_cross
3985
3986   
3987 fi
3988
3989   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
3990   if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
3991     echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
3992 echo "configure:3993: checking for __builtin_sqrtf linkage" >&5
3993     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
3994   echo $ac_n "(cached) $ac_c" 1>&6
3995 else
3996   
3997       cat > conftest.$ac_ext <<EOF
3998 #line 3999 "configure"
3999 #include "confdefs.h"
4000 #include <math.h>
4001 int main() {
4002  __builtin_sqrtf(0);
4003 ; return 0; }
4004 EOF
4005 if { (eval echo configure:4006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4006   rm -rf conftest*
4007   glibcpp_cv_func___builtin_sqrtf_link=yes
4008 else
4009   echo "configure: failed program was:" >&5
4010   cat conftest.$ac_ext >&5
4011   rm -rf conftest*
4012   glibcpp_cv_func___builtin_sqrtf_link=no
4013 fi
4014 rm -f conftest*
4015     
4016 fi
4017
4018     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
4019     if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
4020       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4021       cat >> confdefs.h <<EOF
4022 #define ${ac_tr_func} 1
4023 EOF
4024
4025     fi
4026   fi
4027
4028   
4029   echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
4030 echo "configure:4031: checking for __builtin_fsqrt declaration" >&5
4031   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
4032   echo $ac_n "(cached) $ac_c" 1>&6
4033 else
4034   
4035     
4036     ac_ext=C
4037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4038 ac_cpp='$CXXCPP $CPPFLAGS'
4039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4041 cross_compiling=$ac_cv_prog_cxx_cross
4042
4043     cat > conftest.$ac_ext <<EOF
4044 #line 4045 "configure"
4045 #include "confdefs.h"
4046 #include <math.h>
4047 int main() {
4048  __builtin_fsqrt(0);
4049 ; return 0; }
4050 EOF
4051 if { (eval echo configure:4052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4052   rm -rf conftest*
4053   glibcpp_cv_func___builtin_fsqrt_use=yes
4054 else
4055   echo "configure: failed program was:" >&5
4056   cat conftest.$ac_ext >&5
4057   rm -rf conftest*
4058   glibcpp_cv_func___builtin_fsqrt_use=no
4059 fi
4060 rm -f conftest*
4061     ac_ext=c
4062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4063 ac_cpp='$CPP $CPPFLAGS'
4064 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4065 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4066 cross_compiling=$ac_cv_prog_cc_cross
4067
4068   
4069 fi
4070
4071   echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4072   if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4073     echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4074 echo "configure:4075: checking for __builtin_fsqrt linkage" >&5
4075     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4076   echo $ac_n "(cached) $ac_c" 1>&6
4077 else
4078   
4079       cat > conftest.$ac_ext <<EOF
4080 #line 4081 "configure"
4081 #include "confdefs.h"
4082 #include <math.h>
4083 int main() {
4084  __builtin_fsqrt(0);
4085 ; return 0; }
4086 EOF
4087 if { (eval echo configure:4088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4088   rm -rf conftest*
4089   glibcpp_cv_func___builtin_fsqrt_link=yes
4090 else
4091   echo "configure: failed program was:" >&5
4092   cat conftest.$ac_ext >&5
4093   rm -rf conftest*
4094   glibcpp_cv_func___builtin_fsqrt_link=no
4095 fi
4096 rm -f conftest*
4097     
4098 fi
4099
4100     echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4101     if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4102       ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4103       cat >> confdefs.h <<EOF
4104 #define ${ac_tr_func} 1
4105 EOF
4106
4107     fi
4108   fi
4109
4110   
4111   echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4112 echo "configure:4113: checking for __builtin_sqrtl declaration" >&5
4113   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4114   echo $ac_n "(cached) $ac_c" 1>&6
4115 else
4116   
4117     
4118     ac_ext=C
4119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4120 ac_cpp='$CXXCPP $CPPFLAGS'
4121 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4122 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4123 cross_compiling=$ac_cv_prog_cxx_cross
4124
4125     cat > conftest.$ac_ext <<EOF
4126 #line 4127 "configure"
4127 #include "confdefs.h"
4128 #include <math.h>
4129 int main() {
4130  __builtin_sqrtl(0);
4131 ; return 0; }
4132 EOF
4133 if { (eval echo configure:4134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4134   rm -rf conftest*
4135   glibcpp_cv_func___builtin_sqrtl_use=yes
4136 else
4137   echo "configure: failed program was:" >&5
4138   cat conftest.$ac_ext >&5
4139   rm -rf conftest*
4140   glibcpp_cv_func___builtin_sqrtl_use=no
4141 fi
4142 rm -f conftest*
4143     ac_ext=c
4144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4145 ac_cpp='$CPP $CPPFLAGS'
4146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4148 cross_compiling=$ac_cv_prog_cc_cross
4149
4150   
4151 fi
4152
4153   echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4154   if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4155     echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4156 echo "configure:4157: checking for __builtin_sqrtl linkage" >&5
4157     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4158   echo $ac_n "(cached) $ac_c" 1>&6
4159 else
4160   
4161       cat > conftest.$ac_ext <<EOF
4162 #line 4163 "configure"
4163 #include "confdefs.h"
4164 #include <math.h>
4165 int main() {
4166  __builtin_sqrtl(0);
4167 ; return 0; }
4168 EOF
4169 if { (eval echo configure:4170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4170   rm -rf conftest*
4171   glibcpp_cv_func___builtin_sqrtl_link=yes
4172 else
4173   echo "configure: failed program was:" >&5
4174   cat conftest.$ac_ext >&5
4175   rm -rf conftest*
4176   glibcpp_cv_func___builtin_sqrtl_link=no
4177 fi
4178 rm -f conftest*
4179     
4180 fi
4181
4182     echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4183     if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4184       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4185       cat >> confdefs.h <<EOF
4186 #define ${ac_tr_func} 1
4187 EOF
4188
4189     fi
4190   fi
4191
4192
4193   
4194   echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4195 echo "configure:4196: checking for __builtin_sinf declaration" >&5
4196   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4197   echo $ac_n "(cached) $ac_c" 1>&6
4198 else
4199   
4200     
4201     ac_ext=C
4202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4203 ac_cpp='$CXXCPP $CPPFLAGS'
4204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4206 cross_compiling=$ac_cv_prog_cxx_cross
4207
4208     cat > conftest.$ac_ext <<EOF
4209 #line 4210 "configure"
4210 #include "confdefs.h"
4211 #include <math.h>
4212 int main() {
4213  __builtin_sinf(0);
4214 ; return 0; }
4215 EOF
4216 if { (eval echo configure:4217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4217   rm -rf conftest*
4218   glibcpp_cv_func___builtin_sinf_use=yes
4219 else
4220   echo "configure: failed program was:" >&5
4221   cat conftest.$ac_ext >&5
4222   rm -rf conftest*
4223   glibcpp_cv_func___builtin_sinf_use=no
4224 fi
4225 rm -f conftest*
4226     ac_ext=c
4227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4228 ac_cpp='$CPP $CPPFLAGS'
4229 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4230 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4231 cross_compiling=$ac_cv_prog_cc_cross
4232
4233   
4234 fi
4235
4236   echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4237   if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4238     echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4239 echo "configure:4240: checking for __builtin_sinf linkage" >&5
4240     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4241   echo $ac_n "(cached) $ac_c" 1>&6
4242 else
4243   
4244       cat > conftest.$ac_ext <<EOF
4245 #line 4246 "configure"
4246 #include "confdefs.h"
4247 #include <math.h>
4248 int main() {
4249  __builtin_sinf(0);
4250 ; return 0; }
4251 EOF
4252 if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4253   rm -rf conftest*
4254   glibcpp_cv_func___builtin_sinf_link=yes
4255 else
4256   echo "configure: failed program was:" >&5
4257   cat conftest.$ac_ext >&5
4258   rm -rf conftest*
4259   glibcpp_cv_func___builtin_sinf_link=no
4260 fi
4261 rm -f conftest*
4262     
4263 fi
4264
4265     echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4266     if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4267       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4268       cat >> confdefs.h <<EOF
4269 #define ${ac_tr_func} 1
4270 EOF
4271
4272     fi
4273   fi
4274
4275   
4276   echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4277 echo "configure:4278: checking for __builtin_sin declaration" >&5
4278   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4279   echo $ac_n "(cached) $ac_c" 1>&6
4280 else
4281   
4282     
4283     ac_ext=C
4284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4285 ac_cpp='$CXXCPP $CPPFLAGS'
4286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4288 cross_compiling=$ac_cv_prog_cxx_cross
4289
4290     cat > conftest.$ac_ext <<EOF
4291 #line 4292 "configure"
4292 #include "confdefs.h"
4293 #include <math.h>
4294 int main() {
4295  __builtin_sin(0);
4296 ; return 0; }
4297 EOF
4298 if { (eval echo configure:4299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4299   rm -rf conftest*
4300   glibcpp_cv_func___builtin_sin_use=yes
4301 else
4302   echo "configure: failed program was:" >&5
4303   cat conftest.$ac_ext >&5
4304   rm -rf conftest*
4305   glibcpp_cv_func___builtin_sin_use=no
4306 fi
4307 rm -f conftest*
4308     ac_ext=c
4309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4310 ac_cpp='$CPP $CPPFLAGS'
4311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4313 cross_compiling=$ac_cv_prog_cc_cross
4314
4315   
4316 fi
4317
4318   echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4319   if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4320     echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4321 echo "configure:4322: checking for __builtin_sin linkage" >&5
4322     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4323   echo $ac_n "(cached) $ac_c" 1>&6
4324 else
4325   
4326       cat > conftest.$ac_ext <<EOF
4327 #line 4328 "configure"
4328 #include "confdefs.h"
4329 #include <math.h>
4330 int main() {
4331  __builtin_sin(0);
4332 ; return 0; }
4333 EOF
4334 if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4335   rm -rf conftest*
4336   glibcpp_cv_func___builtin_sin_link=yes
4337 else
4338   echo "configure: failed program was:" >&5
4339   cat conftest.$ac_ext >&5
4340   rm -rf conftest*
4341   glibcpp_cv_func___builtin_sin_link=no
4342 fi
4343 rm -f conftest*
4344     
4345 fi
4346
4347     echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4348     if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4349       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4350       cat >> confdefs.h <<EOF
4351 #define ${ac_tr_func} 1
4352 EOF
4353
4354     fi
4355   fi
4356
4357   
4358   echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4359 echo "configure:4360: checking for __builtin_sinl declaration" >&5
4360   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4361   echo $ac_n "(cached) $ac_c" 1>&6
4362 else
4363   
4364     
4365     ac_ext=C
4366 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4367 ac_cpp='$CXXCPP $CPPFLAGS'
4368 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4369 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4370 cross_compiling=$ac_cv_prog_cxx_cross
4371
4372     cat > conftest.$ac_ext <<EOF
4373 #line 4374 "configure"
4374 #include "confdefs.h"
4375 #include <math.h>
4376 int main() {
4377  __builtin_sinl(0);
4378 ; return 0; }
4379 EOF
4380 if { (eval echo configure:4381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4381   rm -rf conftest*
4382   glibcpp_cv_func___builtin_sinl_use=yes
4383 else
4384   echo "configure: failed program was:" >&5
4385   cat conftest.$ac_ext >&5
4386   rm -rf conftest*
4387   glibcpp_cv_func___builtin_sinl_use=no
4388 fi
4389 rm -f conftest*
4390     ac_ext=c
4391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4392 ac_cpp='$CPP $CPPFLAGS'
4393 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4394 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4395 cross_compiling=$ac_cv_prog_cc_cross
4396
4397   
4398 fi
4399
4400   echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4401   if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4402     echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4403 echo "configure:4404: checking for __builtin_sinl linkage" >&5
4404     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4405   echo $ac_n "(cached) $ac_c" 1>&6
4406 else
4407   
4408       cat > conftest.$ac_ext <<EOF
4409 #line 4410 "configure"
4410 #include "confdefs.h"
4411 #include <math.h>
4412 int main() {
4413  __builtin_sinl(0);
4414 ; return 0; }
4415 EOF
4416 if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4417   rm -rf conftest*
4418   glibcpp_cv_func___builtin_sinl_link=yes
4419 else
4420   echo "configure: failed program was:" >&5
4421   cat conftest.$ac_ext >&5
4422   rm -rf conftest*
4423   glibcpp_cv_func___builtin_sinl_link=no
4424 fi
4425 rm -f conftest*
4426     
4427 fi
4428
4429     echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4430     if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4431       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4432       cat >> confdefs.h <<EOF
4433 #define ${ac_tr_func} 1
4434 EOF
4435
4436     fi
4437   fi
4438
4439
4440   
4441   echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4442 echo "configure:4443: checking for __builtin_cosf declaration" >&5
4443   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4444   echo $ac_n "(cached) $ac_c" 1>&6
4445 else
4446   
4447     
4448     ac_ext=C
4449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4450 ac_cpp='$CXXCPP $CPPFLAGS'
4451 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4452 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4453 cross_compiling=$ac_cv_prog_cxx_cross
4454
4455     cat > conftest.$ac_ext <<EOF
4456 #line 4457 "configure"
4457 #include "confdefs.h"
4458 #include <math.h>
4459 int main() {
4460  __builtin_cosf(0);
4461 ; return 0; }
4462 EOF
4463 if { (eval echo configure:4464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4464   rm -rf conftest*
4465   glibcpp_cv_func___builtin_cosf_use=yes
4466 else
4467   echo "configure: failed program was:" >&5
4468   cat conftest.$ac_ext >&5
4469   rm -rf conftest*
4470   glibcpp_cv_func___builtin_cosf_use=no
4471 fi
4472 rm -f conftest*
4473     ac_ext=c
4474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4475 ac_cpp='$CPP $CPPFLAGS'
4476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4478 cross_compiling=$ac_cv_prog_cc_cross
4479
4480   
4481 fi
4482
4483   echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4484   if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4485     echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4486 echo "configure:4487: checking for __builtin_cosf linkage" >&5
4487     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4488   echo $ac_n "(cached) $ac_c" 1>&6
4489 else
4490   
4491       cat > conftest.$ac_ext <<EOF
4492 #line 4493 "configure"
4493 #include "confdefs.h"
4494 #include <math.h>
4495 int main() {
4496  __builtin_cosf(0);
4497 ; return 0; }
4498 EOF
4499 if { (eval echo configure:4500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4500   rm -rf conftest*
4501   glibcpp_cv_func___builtin_cosf_link=yes
4502 else
4503   echo "configure: failed program was:" >&5
4504   cat conftest.$ac_ext >&5
4505   rm -rf conftest*
4506   glibcpp_cv_func___builtin_cosf_link=no
4507 fi
4508 rm -f conftest*
4509     
4510 fi
4511
4512     echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4513     if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4514       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4515       cat >> confdefs.h <<EOF
4516 #define ${ac_tr_func} 1
4517 EOF
4518
4519     fi
4520   fi
4521
4522   
4523   echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4524 echo "configure:4525: checking for __builtin_cos declaration" >&5
4525   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4526   echo $ac_n "(cached) $ac_c" 1>&6
4527 else
4528   
4529     
4530     ac_ext=C
4531 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4532 ac_cpp='$CXXCPP $CPPFLAGS'
4533 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4534 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4535 cross_compiling=$ac_cv_prog_cxx_cross
4536
4537     cat > conftest.$ac_ext <<EOF
4538 #line 4539 "configure"
4539 #include "confdefs.h"
4540 #include <math.h>
4541 int main() {
4542  __builtin_cos(0);
4543 ; return 0; }
4544 EOF
4545 if { (eval echo configure:4546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4546   rm -rf conftest*
4547   glibcpp_cv_func___builtin_cos_use=yes
4548 else
4549   echo "configure: failed program was:" >&5
4550   cat conftest.$ac_ext >&5
4551   rm -rf conftest*
4552   glibcpp_cv_func___builtin_cos_use=no
4553 fi
4554 rm -f conftest*
4555     ac_ext=c
4556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4557 ac_cpp='$CPP $CPPFLAGS'
4558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4560 cross_compiling=$ac_cv_prog_cc_cross
4561
4562   
4563 fi
4564
4565   echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4566   if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4567     echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4568 echo "configure:4569: checking for __builtin_cos linkage" >&5
4569     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4570   echo $ac_n "(cached) $ac_c" 1>&6
4571 else
4572   
4573       cat > conftest.$ac_ext <<EOF
4574 #line 4575 "configure"
4575 #include "confdefs.h"
4576 #include <math.h>
4577 int main() {
4578  __builtin_cos(0);
4579 ; return 0; }
4580 EOF
4581 if { (eval echo configure:4582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4582   rm -rf conftest*
4583   glibcpp_cv_func___builtin_cos_link=yes
4584 else
4585   echo "configure: failed program was:" >&5
4586   cat conftest.$ac_ext >&5
4587   rm -rf conftest*
4588   glibcpp_cv_func___builtin_cos_link=no
4589 fi
4590 rm -f conftest*
4591     
4592 fi
4593
4594     echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4595     if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4596       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4597       cat >> confdefs.h <<EOF
4598 #define ${ac_tr_func} 1
4599 EOF
4600
4601     fi
4602   fi
4603
4604   
4605   echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4606 echo "configure:4607: checking for __builtin_cosl declaration" >&5
4607   if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4608   echo $ac_n "(cached) $ac_c" 1>&6
4609 else
4610   
4611     
4612     ac_ext=C
4613 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4614 ac_cpp='$CXXCPP $CPPFLAGS'
4615 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4616 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4617 cross_compiling=$ac_cv_prog_cxx_cross
4618
4619     cat > conftest.$ac_ext <<EOF
4620 #line 4621 "configure"
4621 #include "confdefs.h"
4622 #include <math.h>
4623 int main() {
4624  __builtin_cosl(0);
4625 ; return 0; }
4626 EOF
4627 if { (eval echo configure:4628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4628   rm -rf conftest*
4629   glibcpp_cv_func___builtin_cosl_use=yes
4630 else
4631   echo "configure: failed program was:" >&5
4632   cat conftest.$ac_ext >&5
4633   rm -rf conftest*
4634   glibcpp_cv_func___builtin_cosl_use=no
4635 fi
4636 rm -f conftest*
4637     ac_ext=c
4638 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4639 ac_cpp='$CPP $CPPFLAGS'
4640 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4641 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4642 cross_compiling=$ac_cv_prog_cc_cross
4643
4644   
4645 fi
4646
4647   echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4648   if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4649     echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4650 echo "configure:4651: checking for __builtin_cosl linkage" >&5
4651     if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4652   echo $ac_n "(cached) $ac_c" 1>&6
4653 else
4654   
4655       cat > conftest.$ac_ext <<EOF
4656 #line 4657 "configure"
4657 #include "confdefs.h"
4658 #include <math.h>
4659 int main() {
4660  __builtin_cosl(0);
4661 ; return 0; }
4662 EOF
4663 if { (eval echo configure:4664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4664   rm -rf conftest*
4665   glibcpp_cv_func___builtin_cosl_link=yes
4666 else
4667   echo "configure: failed program was:" >&5
4668   cat conftest.$ac_ext >&5
4669   rm -rf conftest*
4670   glibcpp_cv_func___builtin_cosl_link=no
4671 fi
4672 rm -f conftest*
4673     
4674 fi
4675
4676     echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4677     if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4678       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4679       cat >> confdefs.h <<EOF
4680 #define ${ac_tr_func} 1
4681 EOF
4682
4683     fi
4684   fi
4685
4686
4687               dummyvar=no
4688   if test x$dummyvar = x"yes"; then
4689     cat >> confdefs.h <<\EOF
4690 #define HAVE___BUILTIN_ABS 1
4691 EOF
4692
4693     cat >> confdefs.h <<\EOF
4694 #define HAVE___BUILTIN_LABS 1
4695 EOF
4696
4697     cat >> confdefs.h <<\EOF
4698 #define HAVE___BUILTIN_COS 1
4699 EOF
4700
4701     cat >> confdefs.h <<\EOF
4702 #define HAVE___BUILTIN_COSF 1
4703 EOF
4704
4705     cat >> confdefs.h <<\EOF
4706 #define HAVE___BUILTIN_COSL 1
4707 EOF
4708
4709     cat >> confdefs.h <<\EOF
4710 #define HAVE___BUILTIN_FABS 1
4711 EOF
4712
4713     cat >> confdefs.h <<\EOF
4714 #define HAVE___BUILTIN_FABSF 1
4715 EOF
4716
4717     cat >> confdefs.h <<\EOF
4718 #define HAVE___BUILTIN_FABSL 1
4719 EOF
4720
4721     cat >> confdefs.h <<\EOF
4722 #define HAVE___BUILTIN_SIN 1
4723 EOF
4724
4725     cat >> confdefs.h <<\EOF
4726 #define HAVE___BUILTIN_SINF 1
4727 EOF
4728
4729     cat >> confdefs.h <<\EOF
4730 #define HAVE___BUILTIN_SINL 1
4731 EOF
4732
4733     cat >> confdefs.h <<\EOF
4734 #define HAVE___BUILTIN_FSQRT 1
4735 EOF
4736
4737     cat >> confdefs.h <<\EOF
4738 #define HAVE___BUILTIN_SQRTF 1
4739 EOF
4740
4741     cat >> confdefs.h <<\EOF
4742 #define HAVE___BUILTIN_SQRTL 1
4743 EOF
4744
4745   fi
4746
4747   
4748   ac_test_CXXFLAGS="${CXXFLAGS+set}"
4749   ac_save_CXXFLAGS="$CXXFLAGS"
4750   CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4751
4752     echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4753 echo "configure:4754: checking for sin in -lm" >&5
4754 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4755 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4756   echo $ac_n "(cached) $ac_c" 1>&6
4757 else
4758   ac_save_LIBS="$LIBS"
4759 LIBS="-lm  $LIBS"
4760 cat > conftest.$ac_ext <<EOF
4761 #line 4762 "configure"
4762 #include "confdefs.h"
4763 /* Override any gcc2 internal prototype to avoid an error.  */
4764 /* We use char because int might match the return type of a gcc2
4765     builtin and then its argument prototype would still apply.  */
4766 char sin();
4767
4768 int main() {
4769 sin()
4770 ; return 0; }
4771 EOF
4772 if { (eval echo configure:4773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4773   rm -rf conftest*
4774   eval "ac_cv_lib_$ac_lib_var=yes"
4775 else
4776   echo "configure: failed program was:" >&5
4777   cat conftest.$ac_ext >&5
4778   rm -rf conftest*
4779   eval "ac_cv_lib_$ac_lib_var=no"
4780 fi
4781 rm -f conftest*
4782 LIBS="$ac_save_LIBS"
4783
4784 fi
4785 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4786   echo "$ac_t""yes" 1>&6
4787   libm="-lm"
4788 else
4789   echo "$ac_t""no" 1>&6
4790 fi
4791
4792   ac_save_LIBS="$LIBS"
4793   LIBS="$LIBS $libm"
4794
4795     for ac_func in strtof strtold
4796 do
4797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4798 echo "configure:4799: checking for $ac_func" >&5
4799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4800   echo $ac_n "(cached) $ac_c" 1>&6
4801 else
4802   cat > conftest.$ac_ext <<EOF
4803 #line 4804 "configure"
4804 #include "confdefs.h"
4805 /* System header to define __stub macros and hopefully few prototypes,
4806     which can conflict with char $ac_func(); below.  */
4807 #include <assert.h>
4808 /* Override any gcc2 internal prototype to avoid an error.  */
4809 /* We use char because int might match the return type of a gcc2
4810     builtin and then its argument prototype would still apply.  */
4811 char $ac_func();
4812
4813 int main() {
4814
4815 /* The GNU C library defines this for functions which it implements
4816     to always fail with ENOSYS.  Some functions are actually named
4817     something starting with __ and the normal name is an alias.  */
4818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4819 choke me
4820 #else
4821 $ac_func();
4822 #endif
4823
4824 ; return 0; }
4825 EOF
4826 if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4827   rm -rf conftest*
4828   eval "ac_cv_func_$ac_func=yes"
4829 else
4830   echo "configure: failed program was:" >&5
4831   cat conftest.$ac_ext >&5
4832   rm -rf conftest*
4833   eval "ac_cv_func_$ac_func=no"
4834 fi
4835 rm -f conftest*
4836 fi
4837
4838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4839   echo "$ac_t""yes" 1>&6
4840     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4841   cat >> confdefs.h <<EOF
4842 #define $ac_tr_func 1
4843 EOF
4844  
4845 else
4846   echo "$ac_t""no" 1>&6
4847 fi
4848 done
4849
4850
4851     
4852   echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4853 echo "configure:4854: checking for isinf declaration" >&5
4854   if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4855   echo $ac_n "(cached) $ac_c" 1>&6
4856 else
4857   
4858     
4859     ac_ext=C
4860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4861 ac_cpp='$CXXCPP $CPPFLAGS'
4862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4864 cross_compiling=$ac_cv_prog_cxx_cross
4865
4866     cat > conftest.$ac_ext <<EOF
4867 #line 4868 "configure"
4868 #include "confdefs.h"
4869 #include <math.h>
4870 int main() {
4871  isinf(0);
4872 ; return 0; }
4873 EOF
4874 if { (eval echo configure:4875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4875   rm -rf conftest*
4876   glibcpp_cv_func_isinf_use=yes
4877 else
4878   echo "configure: failed program was:" >&5
4879   cat conftest.$ac_ext >&5
4880   rm -rf conftest*
4881   glibcpp_cv_func_isinf_use=no
4882 fi
4883 rm -f conftest*
4884     ac_ext=c
4885 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4886 ac_cpp='$CPP $CPPFLAGS'
4887 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4888 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4889 cross_compiling=$ac_cv_prog_cc_cross
4890
4891   
4892 fi
4893
4894   echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4895   if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4896     for ac_func in isinf
4897 do
4898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4899 echo "configure:4900: checking for $ac_func" >&5
4900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4901   echo $ac_n "(cached) $ac_c" 1>&6
4902 else
4903   cat > conftest.$ac_ext <<EOF
4904 #line 4905 "configure"
4905 #include "confdefs.h"
4906 /* System header to define __stub macros and hopefully few prototypes,
4907     which can conflict with char $ac_func(); below.  */
4908 #include <assert.h>
4909 /* Override any gcc2 internal prototype to avoid an error.  */
4910 /* We use char because int might match the return type of a gcc2
4911     builtin and then its argument prototype would still apply.  */
4912 char $ac_func();
4913
4914 int main() {
4915
4916 /* The GNU C library defines this for functions which it implements
4917     to always fail with ENOSYS.  Some functions are actually named
4918     something starting with __ and the normal name is an alias.  */
4919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4920 choke me
4921 #else
4922 $ac_func();
4923 #endif
4924
4925 ; return 0; }
4926 EOF
4927 if { (eval echo configure:4928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4928   rm -rf conftest*
4929   eval "ac_cv_func_$ac_func=yes"
4930 else
4931   echo "configure: failed program was:" >&5
4932   cat conftest.$ac_ext >&5
4933   rm -rf conftest*
4934   eval "ac_cv_func_$ac_func=no"
4935 fi
4936 rm -f conftest*
4937 fi
4938
4939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4940   echo "$ac_t""yes" 1>&6
4941     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4942   cat >> confdefs.h <<EOF
4943 #define $ac_tr_func 1
4944 EOF
4945  
4946 else
4947   echo "$ac_t""no" 1>&6
4948 fi
4949 done
4950     
4951   fi
4952
4953   
4954   echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4955 echo "configure:4956: checking for isnan declaration" >&5
4956   if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4957   echo $ac_n "(cached) $ac_c" 1>&6
4958 else
4959   
4960     
4961     ac_ext=C
4962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4963 ac_cpp='$CXXCPP $CPPFLAGS'
4964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4966 cross_compiling=$ac_cv_prog_cxx_cross
4967
4968     cat > conftest.$ac_ext <<EOF
4969 #line 4970 "configure"
4970 #include "confdefs.h"
4971 #include <math.h>
4972 int main() {
4973  isnan(0);
4974 ; return 0; }
4975 EOF
4976 if { (eval echo configure:4977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4977   rm -rf conftest*
4978   glibcpp_cv_func_isnan_use=yes
4979 else
4980   echo "configure: failed program was:" >&5
4981   cat conftest.$ac_ext >&5
4982   rm -rf conftest*
4983   glibcpp_cv_func_isnan_use=no
4984 fi
4985 rm -f conftest*
4986     ac_ext=c
4987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4988 ac_cpp='$CPP $CPPFLAGS'
4989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4991 cross_compiling=$ac_cv_prog_cc_cross
4992
4993   
4994 fi
4995
4996   echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
4997   if test x$glibcpp_cv_func_isnan_use = x"yes"; then
4998     for ac_func in isnan
4999 do
5000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5001 echo "configure:5002: checking for $ac_func" >&5
5002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5003   echo $ac_n "(cached) $ac_c" 1>&6
5004 else
5005   cat > conftest.$ac_ext <<EOF
5006 #line 5007 "configure"
5007 #include "confdefs.h"
5008 /* System header to define __stub macros and hopefully few prototypes,
5009     which can conflict with char $ac_func(); below.  */
5010 #include <assert.h>
5011 /* Override any gcc2 internal prototype to avoid an error.  */
5012 /* We use char because int might match the return type of a gcc2
5013     builtin and then its argument prototype would still apply.  */
5014 char $ac_func();
5015
5016 int main() {
5017
5018 /* The GNU C library defines this for functions which it implements
5019     to always fail with ENOSYS.  Some functions are actually named
5020     something starting with __ and the normal name is an alias.  */
5021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5022 choke me
5023 #else
5024 $ac_func();
5025 #endif
5026
5027 ; return 0; }
5028 EOF
5029 if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5030   rm -rf conftest*
5031   eval "ac_cv_func_$ac_func=yes"
5032 else
5033   echo "configure: failed program was:" >&5
5034   cat conftest.$ac_ext >&5
5035   rm -rf conftest*
5036   eval "ac_cv_func_$ac_func=no"
5037 fi
5038 rm -f conftest*
5039 fi
5040
5041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5042   echo "$ac_t""yes" 1>&6
5043     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5044   cat >> confdefs.h <<EOF
5045 #define $ac_tr_func 1
5046 EOF
5047  
5048 else
5049   echo "$ac_t""no" 1>&6
5050 fi
5051 done
5052     
5053   fi
5054
5055   
5056   echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
5057 echo "configure:5058: checking for finite declaration" >&5
5058   if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
5059   echo $ac_n "(cached) $ac_c" 1>&6
5060 else
5061   
5062     
5063     ac_ext=C
5064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5065 ac_cpp='$CXXCPP $CPPFLAGS'
5066 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5067 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5068 cross_compiling=$ac_cv_prog_cxx_cross
5069
5070     cat > conftest.$ac_ext <<EOF
5071 #line 5072 "configure"
5072 #include "confdefs.h"
5073 #include <math.h>
5074 int main() {
5075  finite(0);
5076 ; return 0; }
5077 EOF
5078 if { (eval echo configure:5079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5079   rm -rf conftest*
5080   glibcpp_cv_func_finite_use=yes
5081 else
5082   echo "configure: failed program was:" >&5
5083   cat conftest.$ac_ext >&5
5084   rm -rf conftest*
5085   glibcpp_cv_func_finite_use=no
5086 fi
5087 rm -f conftest*
5088     ac_ext=c
5089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5090 ac_cpp='$CPP $CPPFLAGS'
5091 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5092 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5093 cross_compiling=$ac_cv_prog_cc_cross
5094
5095   
5096 fi
5097
5098   echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
5099   if test x$glibcpp_cv_func_finite_use = x"yes"; then
5100     for ac_func in finite
5101 do
5102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5103 echo "configure:5104: checking for $ac_func" >&5
5104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5105   echo $ac_n "(cached) $ac_c" 1>&6
5106 else
5107   cat > conftest.$ac_ext <<EOF
5108 #line 5109 "configure"
5109 #include "confdefs.h"
5110 /* System header to define __stub macros and hopefully few prototypes,
5111     which can conflict with char $ac_func(); below.  */
5112 #include <assert.h>
5113 /* Override any gcc2 internal prototype to avoid an error.  */
5114 /* We use char because int might match the return type of a gcc2
5115     builtin and then its argument prototype would still apply.  */
5116 char $ac_func();
5117
5118 int main() {
5119
5120 /* The GNU C library defines this for functions which it implements
5121     to always fail with ENOSYS.  Some functions are actually named
5122     something starting with __ and the normal name is an alias.  */
5123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5124 choke me
5125 #else
5126 $ac_func();
5127 #endif
5128
5129 ; return 0; }
5130 EOF
5131 if { (eval echo configure:5132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5132   rm -rf conftest*
5133   eval "ac_cv_func_$ac_func=yes"
5134 else
5135   echo "configure: failed program was:" >&5
5136   cat conftest.$ac_ext >&5
5137   rm -rf conftest*
5138   eval "ac_cv_func_$ac_func=no"
5139 fi
5140 rm -f conftest*
5141 fi
5142
5143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5144   echo "$ac_t""yes" 1>&6
5145     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5146   cat >> confdefs.h <<EOF
5147 #define $ac_tr_func 1
5148 EOF
5149  
5150 else
5151   echo "$ac_t""no" 1>&6
5152 fi
5153 done
5154     
5155   fi
5156
5157   
5158   echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5159 echo "configure:5160: checking for copysign declaration" >&5
5160   if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5161   echo $ac_n "(cached) $ac_c" 1>&6
5162 else
5163   
5164     
5165     ac_ext=C
5166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5167 ac_cpp='$CXXCPP $CPPFLAGS'
5168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5170 cross_compiling=$ac_cv_prog_cxx_cross
5171
5172     cat > conftest.$ac_ext <<EOF
5173 #line 5174 "configure"
5174 #include "confdefs.h"
5175 #include <math.h>
5176 int main() {
5177  copysign(0, 0);
5178 ; return 0; }
5179 EOF
5180 if { (eval echo configure:5181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5181   rm -rf conftest*
5182   glibcpp_cv_func_copysign_use=yes
5183 else
5184   echo "configure: failed program was:" >&5
5185   cat conftest.$ac_ext >&5
5186   rm -rf conftest*
5187   glibcpp_cv_func_copysign_use=no
5188 fi
5189 rm -f conftest*
5190     ac_ext=c
5191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5192 ac_cpp='$CPP $CPPFLAGS'
5193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5195 cross_compiling=$ac_cv_prog_cc_cross
5196
5197   
5198 fi
5199
5200   echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5201   if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5202     for ac_func in copysign
5203 do
5204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5205 echo "configure:5206: checking for $ac_func" >&5
5206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5207   echo $ac_n "(cached) $ac_c" 1>&6
5208 else
5209   cat > conftest.$ac_ext <<EOF
5210 #line 5211 "configure"
5211 #include "confdefs.h"
5212 /* System header to define __stub macros and hopefully few prototypes,
5213     which can conflict with char $ac_func(); below.  */
5214 #include <assert.h>
5215 /* Override any gcc2 internal prototype to avoid an error.  */
5216 /* We use char because int might match the return type of a gcc2
5217     builtin and then its argument prototype would still apply.  */
5218 char $ac_func();
5219
5220 int main() {
5221
5222 /* The GNU C library defines this for functions which it implements
5223     to always fail with ENOSYS.  Some functions are actually named
5224     something starting with __ and the normal name is an alias.  */
5225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5226 choke me
5227 #else
5228 $ac_func();
5229 #endif
5230
5231 ; return 0; }
5232 EOF
5233 if { (eval echo configure:5234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5234   rm -rf conftest*
5235   eval "ac_cv_func_$ac_func=yes"
5236 else
5237   echo "configure: failed program was:" >&5
5238   cat conftest.$ac_ext >&5
5239   rm -rf conftest*
5240   eval "ac_cv_func_$ac_func=no"
5241 fi
5242 rm -f conftest*
5243 fi
5244
5245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5246   echo "$ac_t""yes" 1>&6
5247     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5248   cat >> confdefs.h <<EOF
5249 #define $ac_tr_func 1
5250 EOF
5251  
5252 else
5253   echo "$ac_t""no" 1>&6
5254 fi
5255 done
5256     
5257   fi
5258
5259   
5260   echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5261 echo "configure:5262: checking for sincos declaration" >&5
5262   if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5263   echo $ac_n "(cached) $ac_c" 1>&6
5264 else
5265   
5266     
5267     ac_ext=C
5268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5269 ac_cpp='$CXXCPP $CPPFLAGS'
5270 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5271 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5272 cross_compiling=$ac_cv_prog_cxx_cross
5273
5274     cat > conftest.$ac_ext <<EOF
5275 #line 5276 "configure"
5276 #include "confdefs.h"
5277 #include <math.h>
5278 int main() {
5279  sincos(0, 0, 0);
5280 ; return 0; }
5281 EOF
5282 if { (eval echo configure:5283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5283   rm -rf conftest*
5284   glibcpp_cv_func_sincos_use=yes
5285 else
5286   echo "configure: failed program was:" >&5
5287   cat conftest.$ac_ext >&5
5288   rm -rf conftest*
5289   glibcpp_cv_func_sincos_use=no
5290 fi
5291 rm -f conftest*
5292     ac_ext=c
5293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5294 ac_cpp='$CPP $CPPFLAGS'
5295 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5296 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5297 cross_compiling=$ac_cv_prog_cc_cross
5298
5299   
5300 fi
5301
5302   echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5303   if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5304     for ac_func in sincos
5305 do
5306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5307 echo "configure:5308: checking for $ac_func" >&5
5308 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5309   echo $ac_n "(cached) $ac_c" 1>&6
5310 else
5311   cat > conftest.$ac_ext <<EOF
5312 #line 5313 "configure"
5313 #include "confdefs.h"
5314 /* System header to define __stub macros and hopefully few prototypes,
5315     which can conflict with char $ac_func(); below.  */
5316 #include <assert.h>
5317 /* Override any gcc2 internal prototype to avoid an error.  */
5318 /* We use char because int might match the return type of a gcc2
5319     builtin and then its argument prototype would still apply.  */
5320 char $ac_func();
5321
5322 int main() {
5323
5324 /* The GNU C library defines this for functions which it implements
5325     to always fail with ENOSYS.  Some functions are actually named
5326     something starting with __ and the normal name is an alias.  */
5327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5328 choke me
5329 #else
5330 $ac_func();
5331 #endif
5332
5333 ; return 0; }
5334 EOF
5335 if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5336   rm -rf conftest*
5337   eval "ac_cv_func_$ac_func=yes"
5338 else
5339   echo "configure: failed program was:" >&5
5340   cat conftest.$ac_ext >&5
5341   rm -rf conftest*
5342   eval "ac_cv_func_$ac_func=no"
5343 fi
5344 rm -f conftest*
5345 fi
5346
5347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5348   echo "$ac_t""yes" 1>&6
5349     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5350   cat >> confdefs.h <<EOF
5351 #define $ac_tr_func 1
5352 EOF
5353  
5354 else
5355   echo "$ac_t""no" 1>&6
5356 fi
5357 done
5358     
5359   fi
5360
5361   
5362   echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5363 echo "configure:5364: checking for fpclass declaration" >&5
5364   if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5365   echo $ac_n "(cached) $ac_c" 1>&6
5366 else
5367   
5368     
5369     ac_ext=C
5370 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5371 ac_cpp='$CXXCPP $CPPFLAGS'
5372 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5373 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5374 cross_compiling=$ac_cv_prog_cxx_cross
5375
5376     cat > conftest.$ac_ext <<EOF
5377 #line 5378 "configure"
5378 #include "confdefs.h"
5379 #include <math.h>
5380 int main() {
5381  fpclass(0);
5382 ; return 0; }
5383 EOF
5384 if { (eval echo configure:5385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5385   rm -rf conftest*
5386   glibcpp_cv_func_fpclass_use=yes
5387 else
5388   echo "configure: failed program was:" >&5
5389   cat conftest.$ac_ext >&5
5390   rm -rf conftest*
5391   glibcpp_cv_func_fpclass_use=no
5392 fi
5393 rm -f conftest*
5394     ac_ext=c
5395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5396 ac_cpp='$CPP $CPPFLAGS'
5397 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5398 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5399 cross_compiling=$ac_cv_prog_cc_cross
5400
5401   
5402 fi
5403
5404   echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5405   if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5406     for ac_func in fpclass
5407 do
5408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5409 echo "configure:5410: checking for $ac_func" >&5
5410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5411   echo $ac_n "(cached) $ac_c" 1>&6
5412 else
5413   cat > conftest.$ac_ext <<EOF
5414 #line 5415 "configure"
5415 #include "confdefs.h"
5416 /* System header to define __stub macros and hopefully few prototypes,
5417     which can conflict with char $ac_func(); below.  */
5418 #include <assert.h>
5419 /* Override any gcc2 internal prototype to avoid an error.  */
5420 /* We use char because int might match the return type of a gcc2
5421     builtin and then its argument prototype would still apply.  */
5422 char $ac_func();
5423
5424 int main() {
5425
5426 /* The GNU C library defines this for functions which it implements
5427     to always fail with ENOSYS.  Some functions are actually named
5428     something starting with __ and the normal name is an alias.  */
5429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5430 choke me
5431 #else
5432 $ac_func();
5433 #endif
5434
5435 ; return 0; }
5436 EOF
5437 if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5438   rm -rf conftest*
5439   eval "ac_cv_func_$ac_func=yes"
5440 else
5441   echo "configure: failed program was:" >&5
5442   cat conftest.$ac_ext >&5
5443   rm -rf conftest*
5444   eval "ac_cv_func_$ac_func=no"
5445 fi
5446 rm -f conftest*
5447 fi
5448
5449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5450   echo "$ac_t""yes" 1>&6
5451     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5452   cat >> confdefs.h <<EOF
5453 #define $ac_tr_func 1
5454 EOF
5455  
5456 else
5457   echo "$ac_t""no" 1>&6
5458 fi
5459 done
5460     
5461   fi
5462
5463   
5464   echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5465 echo "configure:5466: checking for qfpclass declaration" >&5
5466   if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5467   echo $ac_n "(cached) $ac_c" 1>&6
5468 else
5469   
5470     
5471     ac_ext=C
5472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5473 ac_cpp='$CXXCPP $CPPFLAGS'
5474 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5475 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5476 cross_compiling=$ac_cv_prog_cxx_cross
5477
5478     cat > conftest.$ac_ext <<EOF
5479 #line 5480 "configure"
5480 #include "confdefs.h"
5481 #include <math.h>
5482 int main() {
5483  qfpclass(0);
5484 ; return 0; }
5485 EOF
5486 if { (eval echo configure:5487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5487   rm -rf conftest*
5488   glibcpp_cv_func_qfpclass_use=yes
5489 else
5490   echo "configure: failed program was:" >&5
5491   cat conftest.$ac_ext >&5
5492   rm -rf conftest*
5493   glibcpp_cv_func_qfpclass_use=no
5494 fi
5495 rm -f conftest*
5496     ac_ext=c
5497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5498 ac_cpp='$CPP $CPPFLAGS'
5499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5501 cross_compiling=$ac_cv_prog_cc_cross
5502
5503   
5504 fi
5505
5506   echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5507   if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5508     for ac_func in qfpclass
5509 do
5510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5511 echo "configure:5512: checking for $ac_func" >&5
5512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5513   echo $ac_n "(cached) $ac_c" 1>&6
5514 else
5515   cat > conftest.$ac_ext <<EOF
5516 #line 5517 "configure"
5517 #include "confdefs.h"
5518 /* System header to define __stub macros and hopefully few prototypes,
5519     which can conflict with char $ac_func(); below.  */
5520 #include <assert.h>
5521 /* Override any gcc2 internal prototype to avoid an error.  */
5522 /* We use char because int might match the return type of a gcc2
5523     builtin and then its argument prototype would still apply.  */
5524 char $ac_func();
5525
5526 int main() {
5527
5528 /* The GNU C library defines this for functions which it implements
5529     to always fail with ENOSYS.  Some functions are actually named
5530     something starting with __ and the normal name is an alias.  */
5531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5532 choke me
5533 #else
5534 $ac_func();
5535 #endif
5536
5537 ; return 0; }
5538 EOF
5539 if { (eval echo configure:5540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5540   rm -rf conftest*
5541   eval "ac_cv_func_$ac_func=yes"
5542 else
5543   echo "configure: failed program was:" >&5
5544   cat conftest.$ac_ext >&5
5545   rm -rf conftest*
5546   eval "ac_cv_func_$ac_func=no"
5547 fi
5548 rm -f conftest*
5549 fi
5550
5551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5552   echo "$ac_t""yes" 1>&6
5553     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5554   cat >> confdefs.h <<EOF
5555 #define $ac_tr_func 1
5556 EOF
5557  
5558 else
5559   echo "$ac_t""no" 1>&6
5560 fi
5561 done
5562     
5563   fi
5564
5565
5566     
5567   echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5568 echo "configure:5569: checking for isnanf declaration" >&5
5569   if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5570   echo $ac_n "(cached) $ac_c" 1>&6
5571 else
5572   
5573     
5574     ac_ext=C
5575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5576 ac_cpp='$CXXCPP $CPPFLAGS'
5577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5579 cross_compiling=$ac_cv_prog_cxx_cross
5580
5581     cat > conftest.$ac_ext <<EOF
5582 #line 5583 "configure"
5583 #include "confdefs.h"
5584 #include <math.h>
5585 int main() {
5586  isnanf(0);
5587 ; return 0; }
5588 EOF
5589 if { (eval echo configure:5590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5590   rm -rf conftest*
5591   glibcpp_cv_func_isnanf_use=yes
5592 else
5593   echo "configure: failed program was:" >&5
5594   cat conftest.$ac_ext >&5
5595   rm -rf conftest*
5596   glibcpp_cv_func_isnanf_use=no
5597 fi
5598 rm -f conftest*
5599     ac_ext=c
5600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5601 ac_cpp='$CPP $CPPFLAGS'
5602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5604 cross_compiling=$ac_cv_prog_cc_cross
5605
5606   
5607 fi
5608
5609   echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5610   if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5611     for ac_func in isnanf
5612 do
5613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5614 echo "configure:5615: checking for $ac_func" >&5
5615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5616   echo $ac_n "(cached) $ac_c" 1>&6
5617 else
5618   cat > conftest.$ac_ext <<EOF
5619 #line 5620 "configure"
5620 #include "confdefs.h"
5621 /* System header to define __stub macros and hopefully few prototypes,
5622     which can conflict with char $ac_func(); below.  */
5623 #include <assert.h>
5624 /* Override any gcc2 internal prototype to avoid an error.  */
5625 /* We use char because int might match the return type of a gcc2
5626     builtin and then its argument prototype would still apply.  */
5627 char $ac_func();
5628
5629 int main() {
5630
5631 /* The GNU C library defines this for functions which it implements
5632     to always fail with ENOSYS.  Some functions are actually named
5633     something starting with __ and the normal name is an alias.  */
5634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5635 choke me
5636 #else
5637 $ac_func();
5638 #endif
5639
5640 ; return 0; }
5641 EOF
5642 if { (eval echo configure:5643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5643   rm -rf conftest*
5644   eval "ac_cv_func_$ac_func=yes"
5645 else
5646   echo "configure: failed program was:" >&5
5647   cat conftest.$ac_ext >&5
5648   rm -rf conftest*
5649   eval "ac_cv_func_$ac_func=no"
5650 fi
5651 rm -f conftest*
5652 fi
5653
5654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5655   echo "$ac_t""yes" 1>&6
5656     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5657   cat >> confdefs.h <<EOF
5658 #define $ac_tr_func 1
5659 EOF
5660  
5661 else
5662   echo "$ac_t""no" 1>&6
5663 fi
5664 done
5665     
5666   fi
5667
5668   
5669   echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5670 echo "configure:5671: checking for isinff declaration" >&5
5671   if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5672   echo $ac_n "(cached) $ac_c" 1>&6
5673 else
5674   
5675     
5676     ac_ext=C
5677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5678 ac_cpp='$CXXCPP $CPPFLAGS'
5679 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5680 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5681 cross_compiling=$ac_cv_prog_cxx_cross
5682
5683     cat > conftest.$ac_ext <<EOF
5684 #line 5685 "configure"
5685 #include "confdefs.h"
5686 #include <math.h>
5687 int main() {
5688  isinff(0);
5689 ; return 0; }
5690 EOF
5691 if { (eval echo configure:5692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5692   rm -rf conftest*
5693   glibcpp_cv_func_isinff_use=yes
5694 else
5695   echo "configure: failed program was:" >&5
5696   cat conftest.$ac_ext >&5
5697   rm -rf conftest*
5698   glibcpp_cv_func_isinff_use=no
5699 fi
5700 rm -f conftest*
5701     ac_ext=c
5702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5703 ac_cpp='$CPP $CPPFLAGS'
5704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5706 cross_compiling=$ac_cv_prog_cc_cross
5707
5708   
5709 fi
5710
5711   echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5712   if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5713     for ac_func in isinff
5714 do
5715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5716 echo "configure:5717: checking for $ac_func" >&5
5717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5718   echo $ac_n "(cached) $ac_c" 1>&6
5719 else
5720   cat > conftest.$ac_ext <<EOF
5721 #line 5722 "configure"
5722 #include "confdefs.h"
5723 /* System header to define __stub macros and hopefully few prototypes,
5724     which can conflict with char $ac_func(); below.  */
5725 #include <assert.h>
5726 /* Override any gcc2 internal prototype to avoid an error.  */
5727 /* We use char because int might match the return type of a gcc2
5728     builtin and then its argument prototype would still apply.  */
5729 char $ac_func();
5730
5731 int main() {
5732
5733 /* The GNU C library defines this for functions which it implements
5734     to always fail with ENOSYS.  Some functions are actually named
5735     something starting with __ and the normal name is an alias.  */
5736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5737 choke me
5738 #else
5739 $ac_func();
5740 #endif
5741
5742 ; return 0; }
5743 EOF
5744 if { (eval echo configure:5745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5745   rm -rf conftest*
5746   eval "ac_cv_func_$ac_func=yes"
5747 else
5748   echo "configure: failed program was:" >&5
5749   cat conftest.$ac_ext >&5
5750   rm -rf conftest*
5751   eval "ac_cv_func_$ac_func=no"
5752 fi
5753 rm -f conftest*
5754 fi
5755
5756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5757   echo "$ac_t""yes" 1>&6
5758     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5759   cat >> confdefs.h <<EOF
5760 #define $ac_tr_func 1
5761 EOF
5762  
5763 else
5764   echo "$ac_t""no" 1>&6
5765 fi
5766 done
5767     
5768   fi
5769
5770   
5771   echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5772 echo "configure:5773: checking for acosf declaration" >&5
5773   if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5774   echo $ac_n "(cached) $ac_c" 1>&6
5775 else
5776   
5777     
5778     ac_ext=C
5779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5780 ac_cpp='$CXXCPP $CPPFLAGS'
5781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5783 cross_compiling=$ac_cv_prog_cxx_cross
5784
5785     cat > conftest.$ac_ext <<EOF
5786 #line 5787 "configure"
5787 #include "confdefs.h"
5788 #include <math.h>
5789 int main() {
5790  acosf(0);
5791 ; return 0; }
5792 EOF
5793 if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5794   rm -rf conftest*
5795   glibcpp_cv_func_acosf_use=yes
5796 else
5797   echo "configure: failed program was:" >&5
5798   cat conftest.$ac_ext >&5
5799   rm -rf conftest*
5800   glibcpp_cv_func_acosf_use=no
5801 fi
5802 rm -f conftest*
5803     ac_ext=c
5804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5805 ac_cpp='$CPP $CPPFLAGS'
5806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5808 cross_compiling=$ac_cv_prog_cc_cross
5809
5810   
5811 fi
5812
5813   echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5814   if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5815     for ac_func in acosf
5816 do
5817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5818 echo "configure:5819: checking for $ac_func" >&5
5819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5820   echo $ac_n "(cached) $ac_c" 1>&6
5821 else
5822   cat > conftest.$ac_ext <<EOF
5823 #line 5824 "configure"
5824 #include "confdefs.h"
5825 /* System header to define __stub macros and hopefully few prototypes,
5826     which can conflict with char $ac_func(); below.  */
5827 #include <assert.h>
5828 /* Override any gcc2 internal prototype to avoid an error.  */
5829 /* We use char because int might match the return type of a gcc2
5830     builtin and then its argument prototype would still apply.  */
5831 char $ac_func();
5832
5833 int main() {
5834
5835 /* The GNU C library defines this for functions which it implements
5836     to always fail with ENOSYS.  Some functions are actually named
5837     something starting with __ and the normal name is an alias.  */
5838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5839 choke me
5840 #else
5841 $ac_func();
5842 #endif
5843
5844 ; return 0; }
5845 EOF
5846 if { (eval echo configure:5847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5847   rm -rf conftest*
5848   eval "ac_cv_func_$ac_func=yes"
5849 else
5850   echo "configure: failed program was:" >&5
5851   cat conftest.$ac_ext >&5
5852   rm -rf conftest*
5853   eval "ac_cv_func_$ac_func=no"
5854 fi
5855 rm -f conftest*
5856 fi
5857
5858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5859   echo "$ac_t""yes" 1>&6
5860     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5861   cat >> confdefs.h <<EOF
5862 #define $ac_tr_func 1
5863 EOF
5864  
5865 else
5866   echo "$ac_t""no" 1>&6
5867 fi
5868 done
5869     
5870   fi
5871
5872   
5873   echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5874 echo "configure:5875: checking for asinf declaration" >&5
5875   if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5876   echo $ac_n "(cached) $ac_c" 1>&6
5877 else
5878   
5879     
5880     ac_ext=C
5881 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5882 ac_cpp='$CXXCPP $CPPFLAGS'
5883 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5884 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5885 cross_compiling=$ac_cv_prog_cxx_cross
5886
5887     cat > conftest.$ac_ext <<EOF
5888 #line 5889 "configure"
5889 #include "confdefs.h"
5890 #include <math.h>
5891 int main() {
5892  asinf(0);
5893 ; return 0; }
5894 EOF
5895 if { (eval echo configure:5896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5896   rm -rf conftest*
5897   glibcpp_cv_func_asinf_use=yes
5898 else
5899   echo "configure: failed program was:" >&5
5900   cat conftest.$ac_ext >&5
5901   rm -rf conftest*
5902   glibcpp_cv_func_asinf_use=no
5903 fi
5904 rm -f conftest*
5905     ac_ext=c
5906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5907 ac_cpp='$CPP $CPPFLAGS'
5908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5910 cross_compiling=$ac_cv_prog_cc_cross
5911
5912   
5913 fi
5914
5915   echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5916   if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5917     for ac_func in asinf
5918 do
5919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5920 echo "configure:5921: checking for $ac_func" >&5
5921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5922   echo $ac_n "(cached) $ac_c" 1>&6
5923 else
5924   cat > conftest.$ac_ext <<EOF
5925 #line 5926 "configure"
5926 #include "confdefs.h"
5927 /* System header to define __stub macros and hopefully few prototypes,
5928     which can conflict with char $ac_func(); below.  */
5929 #include <assert.h>
5930 /* Override any gcc2 internal prototype to avoid an error.  */
5931 /* We use char because int might match the return type of a gcc2
5932     builtin and then its argument prototype would still apply.  */
5933 char $ac_func();
5934
5935 int main() {
5936
5937 /* The GNU C library defines this for functions which it implements
5938     to always fail with ENOSYS.  Some functions are actually named
5939     something starting with __ and the normal name is an alias.  */
5940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5941 choke me
5942 #else
5943 $ac_func();
5944 #endif
5945
5946 ; return 0; }
5947 EOF
5948 if { (eval echo configure:5949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5949   rm -rf conftest*
5950   eval "ac_cv_func_$ac_func=yes"
5951 else
5952   echo "configure: failed program was:" >&5
5953   cat conftest.$ac_ext >&5
5954   rm -rf conftest*
5955   eval "ac_cv_func_$ac_func=no"
5956 fi
5957 rm -f conftest*
5958 fi
5959
5960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5961   echo "$ac_t""yes" 1>&6
5962     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5963   cat >> confdefs.h <<EOF
5964 #define $ac_tr_func 1
5965 EOF
5966  
5967 else
5968   echo "$ac_t""no" 1>&6
5969 fi
5970 done
5971     
5972   fi
5973
5974   
5975   echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
5976 echo "configure:5977: checking for atanf declaration" >&5
5977   if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
5978   echo $ac_n "(cached) $ac_c" 1>&6
5979 else
5980   
5981     
5982     ac_ext=C
5983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5984 ac_cpp='$CXXCPP $CPPFLAGS'
5985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5987 cross_compiling=$ac_cv_prog_cxx_cross
5988
5989     cat > conftest.$ac_ext <<EOF
5990 #line 5991 "configure"
5991 #include "confdefs.h"
5992 #include <math.h>
5993 int main() {
5994  atanf(0);
5995 ; return 0; }
5996 EOF
5997 if { (eval echo configure:5998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5998   rm -rf conftest*
5999   glibcpp_cv_func_atanf_use=yes
6000 else
6001   echo "configure: failed program was:" >&5
6002   cat conftest.$ac_ext >&5
6003   rm -rf conftest*
6004   glibcpp_cv_func_atanf_use=no
6005 fi
6006 rm -f conftest*
6007     ac_ext=c
6008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6009 ac_cpp='$CPP $CPPFLAGS'
6010 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6011 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6012 cross_compiling=$ac_cv_prog_cc_cross
6013
6014   
6015 fi
6016
6017   echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
6018   if test x$glibcpp_cv_func_atanf_use = x"yes"; then
6019     for ac_func in atanf
6020 do
6021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6022 echo "configure:6023: checking for $ac_func" >&5
6023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6024   echo $ac_n "(cached) $ac_c" 1>&6
6025 else
6026   cat > conftest.$ac_ext <<EOF
6027 #line 6028 "configure"
6028 #include "confdefs.h"
6029 /* System header to define __stub macros and hopefully few prototypes,
6030     which can conflict with char $ac_func(); below.  */
6031 #include <assert.h>
6032 /* Override any gcc2 internal prototype to avoid an error.  */
6033 /* We use char because int might match the return type of a gcc2
6034     builtin and then its argument prototype would still apply.  */
6035 char $ac_func();
6036
6037 int main() {
6038
6039 /* The GNU C library defines this for functions which it implements
6040     to always fail with ENOSYS.  Some functions are actually named
6041     something starting with __ and the normal name is an alias.  */
6042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6043 choke me
6044 #else
6045 $ac_func();
6046 #endif
6047
6048 ; return 0; }
6049 EOF
6050 if { (eval echo configure:6051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6051   rm -rf conftest*
6052   eval "ac_cv_func_$ac_func=yes"
6053 else
6054   echo "configure: failed program was:" >&5
6055   cat conftest.$ac_ext >&5
6056   rm -rf conftest*
6057   eval "ac_cv_func_$ac_func=no"
6058 fi
6059 rm -f conftest*
6060 fi
6061
6062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6063   echo "$ac_t""yes" 1>&6
6064     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6065   cat >> confdefs.h <<EOF
6066 #define $ac_tr_func 1
6067 EOF
6068  
6069 else
6070   echo "$ac_t""no" 1>&6
6071 fi
6072 done
6073     
6074   fi
6075
6076   
6077   echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
6078 echo "configure:6079: checking for atan2f declaration" >&5
6079   if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
6080   echo $ac_n "(cached) $ac_c" 1>&6
6081 else
6082   
6083     
6084     ac_ext=C
6085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6086 ac_cpp='$CXXCPP $CPPFLAGS'
6087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6089 cross_compiling=$ac_cv_prog_cxx_cross
6090
6091     cat > conftest.$ac_ext <<EOF
6092 #line 6093 "configure"
6093 #include "confdefs.h"
6094 #include <math.h>
6095 int main() {
6096  atan2f(0, 0);
6097 ; return 0; }
6098 EOF
6099 if { (eval echo configure:6100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6100   rm -rf conftest*
6101   glibcpp_cv_func_atan2f_use=yes
6102 else
6103   echo "configure: failed program was:" >&5
6104   cat conftest.$ac_ext >&5
6105   rm -rf conftest*
6106   glibcpp_cv_func_atan2f_use=no
6107 fi
6108 rm -f conftest*
6109     ac_ext=c
6110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6111 ac_cpp='$CPP $CPPFLAGS'
6112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6114 cross_compiling=$ac_cv_prog_cc_cross
6115
6116   
6117 fi
6118
6119   echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6120   if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6121     for ac_func in atan2f
6122 do
6123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6124 echo "configure:6125: checking for $ac_func" >&5
6125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6126   echo $ac_n "(cached) $ac_c" 1>&6
6127 else
6128   cat > conftest.$ac_ext <<EOF
6129 #line 6130 "configure"
6130 #include "confdefs.h"
6131 /* System header to define __stub macros and hopefully few prototypes,
6132     which can conflict with char $ac_func(); below.  */
6133 #include <assert.h>
6134 /* Override any gcc2 internal prototype to avoid an error.  */
6135 /* We use char because int might match the return type of a gcc2
6136     builtin and then its argument prototype would still apply.  */
6137 char $ac_func();
6138
6139 int main() {
6140
6141 /* The GNU C library defines this for functions which it implements
6142     to always fail with ENOSYS.  Some functions are actually named
6143     something starting with __ and the normal name is an alias.  */
6144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6145 choke me
6146 #else
6147 $ac_func();
6148 #endif
6149
6150 ; return 0; }
6151 EOF
6152 if { (eval echo configure:6153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6153   rm -rf conftest*
6154   eval "ac_cv_func_$ac_func=yes"
6155 else
6156   echo "configure: failed program was:" >&5
6157   cat conftest.$ac_ext >&5
6158   rm -rf conftest*
6159   eval "ac_cv_func_$ac_func=no"
6160 fi
6161 rm -f conftest*
6162 fi
6163
6164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6165   echo "$ac_t""yes" 1>&6
6166     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6167   cat >> confdefs.h <<EOF
6168 #define $ac_tr_func 1
6169 EOF
6170  
6171 else
6172   echo "$ac_t""no" 1>&6
6173 fi
6174 done
6175     
6176   fi
6177
6178   
6179   echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6180 echo "configure:6181: checking for ceilf declaration" >&5
6181   if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6182   echo $ac_n "(cached) $ac_c" 1>&6
6183 else
6184   
6185     
6186     ac_ext=C
6187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6188 ac_cpp='$CXXCPP $CPPFLAGS'
6189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6191 cross_compiling=$ac_cv_prog_cxx_cross
6192
6193     cat > conftest.$ac_ext <<EOF
6194 #line 6195 "configure"
6195 #include "confdefs.h"
6196 #include <math.h>
6197 int main() {
6198  ceilf(0);
6199 ; return 0; }
6200 EOF
6201 if { (eval echo configure:6202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6202   rm -rf conftest*
6203   glibcpp_cv_func_ceilf_use=yes
6204 else
6205   echo "configure: failed program was:" >&5
6206   cat conftest.$ac_ext >&5
6207   rm -rf conftest*
6208   glibcpp_cv_func_ceilf_use=no
6209 fi
6210 rm -f conftest*
6211     ac_ext=c
6212 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6213 ac_cpp='$CPP $CPPFLAGS'
6214 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6215 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6216 cross_compiling=$ac_cv_prog_cc_cross
6217
6218   
6219 fi
6220
6221   echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6222   if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6223     for ac_func in ceilf
6224 do
6225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6226 echo "configure:6227: checking for $ac_func" >&5
6227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6228   echo $ac_n "(cached) $ac_c" 1>&6
6229 else
6230   cat > conftest.$ac_ext <<EOF
6231 #line 6232 "configure"
6232 #include "confdefs.h"
6233 /* System header to define __stub macros and hopefully few prototypes,
6234     which can conflict with char $ac_func(); below.  */
6235 #include <assert.h>
6236 /* Override any gcc2 internal prototype to avoid an error.  */
6237 /* We use char because int might match the return type of a gcc2
6238     builtin and then its argument prototype would still apply.  */
6239 char $ac_func();
6240
6241 int main() {
6242
6243 /* The GNU C library defines this for functions which it implements
6244     to always fail with ENOSYS.  Some functions are actually named
6245     something starting with __ and the normal name is an alias.  */
6246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6247 choke me
6248 #else
6249 $ac_func();
6250 #endif
6251
6252 ; return 0; }
6253 EOF
6254 if { (eval echo configure:6255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6255   rm -rf conftest*
6256   eval "ac_cv_func_$ac_func=yes"
6257 else
6258   echo "configure: failed program was:" >&5
6259   cat conftest.$ac_ext >&5
6260   rm -rf conftest*
6261   eval "ac_cv_func_$ac_func=no"
6262 fi
6263 rm -f conftest*
6264 fi
6265
6266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6267   echo "$ac_t""yes" 1>&6
6268     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6269   cat >> confdefs.h <<EOF
6270 #define $ac_tr_func 1
6271 EOF
6272  
6273 else
6274   echo "$ac_t""no" 1>&6
6275 fi
6276 done
6277     
6278   fi
6279
6280   
6281   echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6282 echo "configure:6283: checking for cosf declaration" >&5
6283   if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6284   echo $ac_n "(cached) $ac_c" 1>&6
6285 else
6286   
6287     
6288     ac_ext=C
6289 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6290 ac_cpp='$CXXCPP $CPPFLAGS'
6291 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6292 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6293 cross_compiling=$ac_cv_prog_cxx_cross
6294
6295     cat > conftest.$ac_ext <<EOF
6296 #line 6297 "configure"
6297 #include "confdefs.h"
6298 #include <math.h>
6299 int main() {
6300  cosf(0);
6301 ; return 0; }
6302 EOF
6303 if { (eval echo configure:6304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6304   rm -rf conftest*
6305   glibcpp_cv_func_cosf_use=yes
6306 else
6307   echo "configure: failed program was:" >&5
6308   cat conftest.$ac_ext >&5
6309   rm -rf conftest*
6310   glibcpp_cv_func_cosf_use=no
6311 fi
6312 rm -f conftest*
6313     ac_ext=c
6314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6315 ac_cpp='$CPP $CPPFLAGS'
6316 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6317 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6318 cross_compiling=$ac_cv_prog_cc_cross
6319
6320   
6321 fi
6322
6323   echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6324   if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6325     for ac_func in cosf
6326 do
6327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6328 echo "configure:6329: checking for $ac_func" >&5
6329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6330   echo $ac_n "(cached) $ac_c" 1>&6
6331 else
6332   cat > conftest.$ac_ext <<EOF
6333 #line 6334 "configure"
6334 #include "confdefs.h"
6335 /* System header to define __stub macros and hopefully few prototypes,
6336     which can conflict with char $ac_func(); below.  */
6337 #include <assert.h>
6338 /* Override any gcc2 internal prototype to avoid an error.  */
6339 /* We use char because int might match the return type of a gcc2
6340     builtin and then its argument prototype would still apply.  */
6341 char $ac_func();
6342
6343 int main() {
6344
6345 /* The GNU C library defines this for functions which it implements
6346     to always fail with ENOSYS.  Some functions are actually named
6347     something starting with __ and the normal name is an alias.  */
6348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6349 choke me
6350 #else
6351 $ac_func();
6352 #endif
6353
6354 ; return 0; }
6355 EOF
6356 if { (eval echo configure:6357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6357   rm -rf conftest*
6358   eval "ac_cv_func_$ac_func=yes"
6359 else
6360   echo "configure: failed program was:" >&5
6361   cat conftest.$ac_ext >&5
6362   rm -rf conftest*
6363   eval "ac_cv_func_$ac_func=no"
6364 fi
6365 rm -f conftest*
6366 fi
6367
6368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6369   echo "$ac_t""yes" 1>&6
6370     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6371   cat >> confdefs.h <<EOF
6372 #define $ac_tr_func 1
6373 EOF
6374  
6375 else
6376   echo "$ac_t""no" 1>&6
6377 fi
6378 done
6379     
6380   fi
6381
6382   
6383   echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6384 echo "configure:6385: checking for coshf declaration" >&5
6385   if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6386   echo $ac_n "(cached) $ac_c" 1>&6
6387 else
6388   
6389     
6390     ac_ext=C
6391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6392 ac_cpp='$CXXCPP $CPPFLAGS'
6393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6395 cross_compiling=$ac_cv_prog_cxx_cross
6396
6397     cat > conftest.$ac_ext <<EOF
6398 #line 6399 "configure"
6399 #include "confdefs.h"
6400 #include <math.h>
6401 int main() {
6402  coshf(0);
6403 ; return 0; }
6404 EOF
6405 if { (eval echo configure:6406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6406   rm -rf conftest*
6407   glibcpp_cv_func_coshf_use=yes
6408 else
6409   echo "configure: failed program was:" >&5
6410   cat conftest.$ac_ext >&5
6411   rm -rf conftest*
6412   glibcpp_cv_func_coshf_use=no
6413 fi
6414 rm -f conftest*
6415     ac_ext=c
6416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6417 ac_cpp='$CPP $CPPFLAGS'
6418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6420 cross_compiling=$ac_cv_prog_cc_cross
6421
6422   
6423 fi
6424
6425   echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6426   if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6427     for ac_func in coshf
6428 do
6429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6430 echo "configure:6431: checking for $ac_func" >&5
6431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6432   echo $ac_n "(cached) $ac_c" 1>&6
6433 else
6434   cat > conftest.$ac_ext <<EOF
6435 #line 6436 "configure"
6436 #include "confdefs.h"
6437 /* System header to define __stub macros and hopefully few prototypes,
6438     which can conflict with char $ac_func(); below.  */
6439 #include <assert.h>
6440 /* Override any gcc2 internal prototype to avoid an error.  */
6441 /* We use char because int might match the return type of a gcc2
6442     builtin and then its argument prototype would still apply.  */
6443 char $ac_func();
6444
6445 int main() {
6446
6447 /* The GNU C library defines this for functions which it implements
6448     to always fail with ENOSYS.  Some functions are actually named
6449     something starting with __ and the normal name is an alias.  */
6450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6451 choke me
6452 #else
6453 $ac_func();
6454 #endif
6455
6456 ; return 0; }
6457 EOF
6458 if { (eval echo configure:6459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6459   rm -rf conftest*
6460   eval "ac_cv_func_$ac_func=yes"
6461 else
6462   echo "configure: failed program was:" >&5
6463   cat conftest.$ac_ext >&5
6464   rm -rf conftest*
6465   eval "ac_cv_func_$ac_func=no"
6466 fi
6467 rm -f conftest*
6468 fi
6469
6470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6471   echo "$ac_t""yes" 1>&6
6472     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6473   cat >> confdefs.h <<EOF
6474 #define $ac_tr_func 1
6475 EOF
6476  
6477 else
6478   echo "$ac_t""no" 1>&6
6479 fi
6480 done
6481     
6482   fi
6483
6484   
6485   echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6486 echo "configure:6487: checking for expf declaration" >&5
6487   if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6488   echo $ac_n "(cached) $ac_c" 1>&6
6489 else
6490   
6491     
6492     ac_ext=C
6493 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6494 ac_cpp='$CXXCPP $CPPFLAGS'
6495 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6496 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6497 cross_compiling=$ac_cv_prog_cxx_cross
6498
6499     cat > conftest.$ac_ext <<EOF
6500 #line 6501 "configure"
6501 #include "confdefs.h"
6502 #include <math.h>
6503 int main() {
6504  expf(0);
6505 ; return 0; }
6506 EOF
6507 if { (eval echo configure:6508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6508   rm -rf conftest*
6509   glibcpp_cv_func_expf_use=yes
6510 else
6511   echo "configure: failed program was:" >&5
6512   cat conftest.$ac_ext >&5
6513   rm -rf conftest*
6514   glibcpp_cv_func_expf_use=no
6515 fi
6516 rm -f conftest*
6517     ac_ext=c
6518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6519 ac_cpp='$CPP $CPPFLAGS'
6520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6522 cross_compiling=$ac_cv_prog_cc_cross
6523
6524   
6525 fi
6526
6527   echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6528   if test x$glibcpp_cv_func_expf_use = x"yes"; then
6529     for ac_func in expf
6530 do
6531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6532 echo "configure:6533: checking for $ac_func" >&5
6533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6534   echo $ac_n "(cached) $ac_c" 1>&6
6535 else
6536   cat > conftest.$ac_ext <<EOF
6537 #line 6538 "configure"
6538 #include "confdefs.h"
6539 /* System header to define __stub macros and hopefully few prototypes,
6540     which can conflict with char $ac_func(); below.  */
6541 #include <assert.h>
6542 /* Override any gcc2 internal prototype to avoid an error.  */
6543 /* We use char because int might match the return type of a gcc2
6544     builtin and then its argument prototype would still apply.  */
6545 char $ac_func();
6546
6547 int main() {
6548
6549 /* The GNU C library defines this for functions which it implements
6550     to always fail with ENOSYS.  Some functions are actually named
6551     something starting with __ and the normal name is an alias.  */
6552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6553 choke me
6554 #else
6555 $ac_func();
6556 #endif
6557
6558 ; return 0; }
6559 EOF
6560 if { (eval echo configure:6561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6561   rm -rf conftest*
6562   eval "ac_cv_func_$ac_func=yes"
6563 else
6564   echo "configure: failed program was:" >&5
6565   cat conftest.$ac_ext >&5
6566   rm -rf conftest*
6567   eval "ac_cv_func_$ac_func=no"
6568 fi
6569 rm -f conftest*
6570 fi
6571
6572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6573   echo "$ac_t""yes" 1>&6
6574     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6575   cat >> confdefs.h <<EOF
6576 #define $ac_tr_func 1
6577 EOF
6578  
6579 else
6580   echo "$ac_t""no" 1>&6
6581 fi
6582 done
6583     
6584   fi
6585
6586   
6587   echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6588 echo "configure:6589: checking for fabsf declaration" >&5
6589   if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6590   echo $ac_n "(cached) $ac_c" 1>&6
6591 else
6592   
6593     
6594     ac_ext=C
6595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6596 ac_cpp='$CXXCPP $CPPFLAGS'
6597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6599 cross_compiling=$ac_cv_prog_cxx_cross
6600
6601     cat > conftest.$ac_ext <<EOF
6602 #line 6603 "configure"
6603 #include "confdefs.h"
6604 #include <math.h>
6605 int main() {
6606  fabsf(0);
6607 ; return 0; }
6608 EOF
6609 if { (eval echo configure:6610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6610   rm -rf conftest*
6611   glibcpp_cv_func_fabsf_use=yes
6612 else
6613   echo "configure: failed program was:" >&5
6614   cat conftest.$ac_ext >&5
6615   rm -rf conftest*
6616   glibcpp_cv_func_fabsf_use=no
6617 fi
6618 rm -f conftest*
6619     ac_ext=c
6620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6621 ac_cpp='$CPP $CPPFLAGS'
6622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6624 cross_compiling=$ac_cv_prog_cc_cross
6625
6626   
6627 fi
6628
6629   echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6630   if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6631     for ac_func in fabsf
6632 do
6633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6634 echo "configure:6635: checking for $ac_func" >&5
6635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6636   echo $ac_n "(cached) $ac_c" 1>&6
6637 else
6638   cat > conftest.$ac_ext <<EOF
6639 #line 6640 "configure"
6640 #include "confdefs.h"
6641 /* System header to define __stub macros and hopefully few prototypes,
6642     which can conflict with char $ac_func(); below.  */
6643 #include <assert.h>
6644 /* Override any gcc2 internal prototype to avoid an error.  */
6645 /* We use char because int might match the return type of a gcc2
6646     builtin and then its argument prototype would still apply.  */
6647 char $ac_func();
6648
6649 int main() {
6650
6651 /* The GNU C library defines this for functions which it implements
6652     to always fail with ENOSYS.  Some functions are actually named
6653     something starting with __ and the normal name is an alias.  */
6654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6655 choke me
6656 #else
6657 $ac_func();
6658 #endif
6659
6660 ; return 0; }
6661 EOF
6662 if { (eval echo configure:6663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6663   rm -rf conftest*
6664   eval "ac_cv_func_$ac_func=yes"
6665 else
6666   echo "configure: failed program was:" >&5
6667   cat conftest.$ac_ext >&5
6668   rm -rf conftest*
6669   eval "ac_cv_func_$ac_func=no"
6670 fi
6671 rm -f conftest*
6672 fi
6673
6674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6675   echo "$ac_t""yes" 1>&6
6676     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6677   cat >> confdefs.h <<EOF
6678 #define $ac_tr_func 1
6679 EOF
6680  
6681 else
6682   echo "$ac_t""no" 1>&6
6683 fi
6684 done
6685     
6686   fi
6687
6688   
6689   echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6690 echo "configure:6691: checking for floorf declaration" >&5
6691   if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6692   echo $ac_n "(cached) $ac_c" 1>&6
6693 else
6694   
6695     
6696     ac_ext=C
6697 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6698 ac_cpp='$CXXCPP $CPPFLAGS'
6699 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6700 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6701 cross_compiling=$ac_cv_prog_cxx_cross
6702
6703     cat > conftest.$ac_ext <<EOF
6704 #line 6705 "configure"
6705 #include "confdefs.h"
6706 #include <math.h>
6707 int main() {
6708  floorf(0);
6709 ; return 0; }
6710 EOF
6711 if { (eval echo configure:6712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6712   rm -rf conftest*
6713   glibcpp_cv_func_floorf_use=yes
6714 else
6715   echo "configure: failed program was:" >&5
6716   cat conftest.$ac_ext >&5
6717   rm -rf conftest*
6718   glibcpp_cv_func_floorf_use=no
6719 fi
6720 rm -f conftest*
6721     ac_ext=c
6722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6723 ac_cpp='$CPP $CPPFLAGS'
6724 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6725 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6726 cross_compiling=$ac_cv_prog_cc_cross
6727
6728   
6729 fi
6730
6731   echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6732   if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6733     for ac_func in floorf
6734 do
6735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6736 echo "configure:6737: checking for $ac_func" >&5
6737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6738   echo $ac_n "(cached) $ac_c" 1>&6
6739 else
6740   cat > conftest.$ac_ext <<EOF
6741 #line 6742 "configure"
6742 #include "confdefs.h"
6743 /* System header to define __stub macros and hopefully few prototypes,
6744     which can conflict with char $ac_func(); below.  */
6745 #include <assert.h>
6746 /* Override any gcc2 internal prototype to avoid an error.  */
6747 /* We use char because int might match the return type of a gcc2
6748     builtin and then its argument prototype would still apply.  */
6749 char $ac_func();
6750
6751 int main() {
6752
6753 /* The GNU C library defines this for functions which it implements
6754     to always fail with ENOSYS.  Some functions are actually named
6755     something starting with __ and the normal name is an alias.  */
6756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6757 choke me
6758 #else
6759 $ac_func();
6760 #endif
6761
6762 ; return 0; }
6763 EOF
6764 if { (eval echo configure:6765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6765   rm -rf conftest*
6766   eval "ac_cv_func_$ac_func=yes"
6767 else
6768   echo "configure: failed program was:" >&5
6769   cat conftest.$ac_ext >&5
6770   rm -rf conftest*
6771   eval "ac_cv_func_$ac_func=no"
6772 fi
6773 rm -f conftest*
6774 fi
6775
6776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6777   echo "$ac_t""yes" 1>&6
6778     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6779   cat >> confdefs.h <<EOF
6780 #define $ac_tr_func 1
6781 EOF
6782  
6783 else
6784   echo "$ac_t""no" 1>&6
6785 fi
6786 done
6787     
6788   fi
6789
6790   
6791   echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6792 echo "configure:6793: checking for fmodf declaration" >&5
6793   if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6794   echo $ac_n "(cached) $ac_c" 1>&6
6795 else
6796   
6797     
6798     ac_ext=C
6799 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6800 ac_cpp='$CXXCPP $CPPFLAGS'
6801 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6802 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6803 cross_compiling=$ac_cv_prog_cxx_cross
6804
6805     cat > conftest.$ac_ext <<EOF
6806 #line 6807 "configure"
6807 #include "confdefs.h"
6808 #include <math.h>
6809 int main() {
6810  fmodf(0, 0);
6811 ; return 0; }
6812 EOF
6813 if { (eval echo configure:6814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6814   rm -rf conftest*
6815   glibcpp_cv_func_fmodf_use=yes
6816 else
6817   echo "configure: failed program was:" >&5
6818   cat conftest.$ac_ext >&5
6819   rm -rf conftest*
6820   glibcpp_cv_func_fmodf_use=no
6821 fi
6822 rm -f conftest*
6823     ac_ext=c
6824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6825 ac_cpp='$CPP $CPPFLAGS'
6826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6828 cross_compiling=$ac_cv_prog_cc_cross
6829
6830   
6831 fi
6832
6833   echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6834   if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6835     for ac_func in fmodf
6836 do
6837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6838 echo "configure:6839: checking for $ac_func" >&5
6839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6840   echo $ac_n "(cached) $ac_c" 1>&6
6841 else
6842   cat > conftest.$ac_ext <<EOF
6843 #line 6844 "configure"
6844 #include "confdefs.h"
6845 /* System header to define __stub macros and hopefully few prototypes,
6846     which can conflict with char $ac_func(); below.  */
6847 #include <assert.h>
6848 /* Override any gcc2 internal prototype to avoid an error.  */
6849 /* We use char because int might match the return type of a gcc2
6850     builtin and then its argument prototype would still apply.  */
6851 char $ac_func();
6852
6853 int main() {
6854
6855 /* The GNU C library defines this for functions which it implements
6856     to always fail with ENOSYS.  Some functions are actually named
6857     something starting with __ and the normal name is an alias.  */
6858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6859 choke me
6860 #else
6861 $ac_func();
6862 #endif
6863
6864 ; return 0; }
6865 EOF
6866 if { (eval echo configure:6867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6867   rm -rf conftest*
6868   eval "ac_cv_func_$ac_func=yes"
6869 else
6870   echo "configure: failed program was:" >&5
6871   cat conftest.$ac_ext >&5
6872   rm -rf conftest*
6873   eval "ac_cv_func_$ac_func=no"
6874 fi
6875 rm -f conftest*
6876 fi
6877
6878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6879   echo "$ac_t""yes" 1>&6
6880     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6881   cat >> confdefs.h <<EOF
6882 #define $ac_tr_func 1
6883 EOF
6884  
6885 else
6886   echo "$ac_t""no" 1>&6
6887 fi
6888 done
6889     
6890   fi
6891
6892   
6893   echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6894 echo "configure:6895: checking for frexpf declaration" >&5
6895   if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6896   echo $ac_n "(cached) $ac_c" 1>&6
6897 else
6898   
6899     
6900     ac_ext=C
6901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6902 ac_cpp='$CXXCPP $CPPFLAGS'
6903 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6904 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6905 cross_compiling=$ac_cv_prog_cxx_cross
6906
6907     cat > conftest.$ac_ext <<EOF
6908 #line 6909 "configure"
6909 #include "confdefs.h"
6910 #include <math.h>
6911 int main() {
6912  frexpf(0, 0);
6913 ; return 0; }
6914 EOF
6915 if { (eval echo configure:6916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6916   rm -rf conftest*
6917   glibcpp_cv_func_frexpf_use=yes
6918 else
6919   echo "configure: failed program was:" >&5
6920   cat conftest.$ac_ext >&5
6921   rm -rf conftest*
6922   glibcpp_cv_func_frexpf_use=no
6923 fi
6924 rm -f conftest*
6925     ac_ext=c
6926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6927 ac_cpp='$CPP $CPPFLAGS'
6928 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6929 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6930 cross_compiling=$ac_cv_prog_cc_cross
6931
6932   
6933 fi
6934
6935   echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6936   if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6937     for ac_func in frexpf
6938 do
6939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6940 echo "configure:6941: checking for $ac_func" >&5
6941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6942   echo $ac_n "(cached) $ac_c" 1>&6
6943 else
6944   cat > conftest.$ac_ext <<EOF
6945 #line 6946 "configure"
6946 #include "confdefs.h"
6947 /* System header to define __stub macros and hopefully few prototypes,
6948     which can conflict with char $ac_func(); below.  */
6949 #include <assert.h>
6950 /* Override any gcc2 internal prototype to avoid an error.  */
6951 /* We use char because int might match the return type of a gcc2
6952     builtin and then its argument prototype would still apply.  */
6953 char $ac_func();
6954
6955 int main() {
6956
6957 /* The GNU C library defines this for functions which it implements
6958     to always fail with ENOSYS.  Some functions are actually named
6959     something starting with __ and the normal name is an alias.  */
6960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6961 choke me
6962 #else
6963 $ac_func();
6964 #endif
6965
6966 ; return 0; }
6967 EOF
6968 if { (eval echo configure:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6969   rm -rf conftest*
6970   eval "ac_cv_func_$ac_func=yes"
6971 else
6972   echo "configure: failed program was:" >&5
6973   cat conftest.$ac_ext >&5
6974   rm -rf conftest*
6975   eval "ac_cv_func_$ac_func=no"
6976 fi
6977 rm -f conftest*
6978 fi
6979
6980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6981   echo "$ac_t""yes" 1>&6
6982     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6983   cat >> confdefs.h <<EOF
6984 #define $ac_tr_func 1
6985 EOF
6986  
6987 else
6988   echo "$ac_t""no" 1>&6
6989 fi
6990 done
6991     
6992   fi
6993
6994   
6995   echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
6996 echo "configure:6997: checking for ldexpf declaration" >&5
6997   if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
6998   echo $ac_n "(cached) $ac_c" 1>&6
6999 else
7000   
7001     
7002     ac_ext=C
7003 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7004 ac_cpp='$CXXCPP $CPPFLAGS'
7005 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7006 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7007 cross_compiling=$ac_cv_prog_cxx_cross
7008
7009     cat > conftest.$ac_ext <<EOF
7010 #line 7011 "configure"
7011 #include "confdefs.h"
7012 #include <math.h>
7013 int main() {
7014  ldexpf(0, 0);
7015 ; return 0; }
7016 EOF
7017 if { (eval echo configure:7018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7018   rm -rf conftest*
7019   glibcpp_cv_func_ldexpf_use=yes
7020 else
7021   echo "configure: failed program was:" >&5
7022   cat conftest.$ac_ext >&5
7023   rm -rf conftest*
7024   glibcpp_cv_func_ldexpf_use=no
7025 fi
7026 rm -f conftest*
7027     ac_ext=c
7028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7029 ac_cpp='$CPP $CPPFLAGS'
7030 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7031 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7032 cross_compiling=$ac_cv_prog_cc_cross
7033
7034   
7035 fi
7036
7037   echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
7038   if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
7039     for ac_func in ldexpf
7040 do
7041 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7042 echo "configure:7043: checking for $ac_func" >&5
7043 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7044   echo $ac_n "(cached) $ac_c" 1>&6
7045 else
7046   cat > conftest.$ac_ext <<EOF
7047 #line 7048 "configure"
7048 #include "confdefs.h"
7049 /* System header to define __stub macros and hopefully few prototypes,
7050     which can conflict with char $ac_func(); below.  */
7051 #include <assert.h>
7052 /* Override any gcc2 internal prototype to avoid an error.  */
7053 /* We use char because int might match the return type of a gcc2
7054     builtin and then its argument prototype would still apply.  */
7055 char $ac_func();
7056
7057 int main() {
7058
7059 /* The GNU C library defines this for functions which it implements
7060     to always fail with ENOSYS.  Some functions are actually named
7061     something starting with __ and the normal name is an alias.  */
7062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7063 choke me
7064 #else
7065 $ac_func();
7066 #endif
7067
7068 ; return 0; }
7069 EOF
7070 if { (eval echo configure:7071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7071   rm -rf conftest*
7072   eval "ac_cv_func_$ac_func=yes"
7073 else
7074   echo "configure: failed program was:" >&5
7075   cat conftest.$ac_ext >&5
7076   rm -rf conftest*
7077   eval "ac_cv_func_$ac_func=no"
7078 fi
7079 rm -f conftest*
7080 fi
7081
7082 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7083   echo "$ac_t""yes" 1>&6
7084     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7085   cat >> confdefs.h <<EOF
7086 #define $ac_tr_func 1
7087 EOF
7088  
7089 else
7090   echo "$ac_t""no" 1>&6
7091 fi
7092 done
7093     
7094   fi
7095
7096   
7097   echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7098 echo "configure:7099: checking for logf declaration" >&5
7099   if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7100   echo $ac_n "(cached) $ac_c" 1>&6
7101 else
7102   
7103     
7104     ac_ext=C
7105 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7106 ac_cpp='$CXXCPP $CPPFLAGS'
7107 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7108 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7109 cross_compiling=$ac_cv_prog_cxx_cross
7110
7111     cat > conftest.$ac_ext <<EOF
7112 #line 7113 "configure"
7113 #include "confdefs.h"
7114 #include <math.h>
7115 int main() {
7116  logf(0);
7117 ; return 0; }
7118 EOF
7119 if { (eval echo configure:7120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7120   rm -rf conftest*
7121   glibcpp_cv_func_logf_use=yes
7122 else
7123   echo "configure: failed program was:" >&5
7124   cat conftest.$ac_ext >&5
7125   rm -rf conftest*
7126   glibcpp_cv_func_logf_use=no
7127 fi
7128 rm -f conftest*
7129     ac_ext=c
7130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7131 ac_cpp='$CPP $CPPFLAGS'
7132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7134 cross_compiling=$ac_cv_prog_cc_cross
7135
7136   
7137 fi
7138
7139   echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7140   if test x$glibcpp_cv_func_logf_use = x"yes"; then
7141     for ac_func in logf
7142 do
7143 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7144 echo "configure:7145: checking for $ac_func" >&5
7145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7146   echo $ac_n "(cached) $ac_c" 1>&6
7147 else
7148   cat > conftest.$ac_ext <<EOF
7149 #line 7150 "configure"
7150 #include "confdefs.h"
7151 /* System header to define __stub macros and hopefully few prototypes,
7152     which can conflict with char $ac_func(); below.  */
7153 #include <assert.h>
7154 /* Override any gcc2 internal prototype to avoid an error.  */
7155 /* We use char because int might match the return type of a gcc2
7156     builtin and then its argument prototype would still apply.  */
7157 char $ac_func();
7158
7159 int main() {
7160
7161 /* The GNU C library defines this for functions which it implements
7162     to always fail with ENOSYS.  Some functions are actually named
7163     something starting with __ and the normal name is an alias.  */
7164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7165 choke me
7166 #else
7167 $ac_func();
7168 #endif
7169
7170 ; return 0; }
7171 EOF
7172 if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7173   rm -rf conftest*
7174   eval "ac_cv_func_$ac_func=yes"
7175 else
7176   echo "configure: failed program was:" >&5
7177   cat conftest.$ac_ext >&5
7178   rm -rf conftest*
7179   eval "ac_cv_func_$ac_func=no"
7180 fi
7181 rm -f conftest*
7182 fi
7183
7184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7185   echo "$ac_t""yes" 1>&6
7186     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7187   cat >> confdefs.h <<EOF
7188 #define $ac_tr_func 1
7189 EOF
7190  
7191 else
7192   echo "$ac_t""no" 1>&6
7193 fi
7194 done
7195     
7196   fi
7197
7198   
7199   echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7200 echo "configure:7201: checking for log10f declaration" >&5
7201   if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7202   echo $ac_n "(cached) $ac_c" 1>&6
7203 else
7204   
7205     
7206     ac_ext=C
7207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7208 ac_cpp='$CXXCPP $CPPFLAGS'
7209 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7210 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7211 cross_compiling=$ac_cv_prog_cxx_cross
7212
7213     cat > conftest.$ac_ext <<EOF
7214 #line 7215 "configure"
7215 #include "confdefs.h"
7216 #include <math.h>
7217 int main() {
7218  log10f(0);
7219 ; return 0; }
7220 EOF
7221 if { (eval echo configure:7222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7222   rm -rf conftest*
7223   glibcpp_cv_func_log10f_use=yes
7224 else
7225   echo "configure: failed program was:" >&5
7226   cat conftest.$ac_ext >&5
7227   rm -rf conftest*
7228   glibcpp_cv_func_log10f_use=no
7229 fi
7230 rm -f conftest*
7231     ac_ext=c
7232 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7233 ac_cpp='$CPP $CPPFLAGS'
7234 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7235 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7236 cross_compiling=$ac_cv_prog_cc_cross
7237
7238   
7239 fi
7240
7241   echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7242   if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7243     for ac_func in log10f
7244 do
7245 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7246 echo "configure:7247: checking for $ac_func" >&5
7247 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7248   echo $ac_n "(cached) $ac_c" 1>&6
7249 else
7250   cat > conftest.$ac_ext <<EOF
7251 #line 7252 "configure"
7252 #include "confdefs.h"
7253 /* System header to define __stub macros and hopefully few prototypes,
7254     which can conflict with char $ac_func(); below.  */
7255 #include <assert.h>
7256 /* Override any gcc2 internal prototype to avoid an error.  */
7257 /* We use char because int might match the return type of a gcc2
7258     builtin and then its argument prototype would still apply.  */
7259 char $ac_func();
7260
7261 int main() {
7262
7263 /* The GNU C library defines this for functions which it implements
7264     to always fail with ENOSYS.  Some functions are actually named
7265     something starting with __ and the normal name is an alias.  */
7266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7267 choke me
7268 #else
7269 $ac_func();
7270 #endif
7271
7272 ; return 0; }
7273 EOF
7274 if { (eval echo configure:7275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7275   rm -rf conftest*
7276   eval "ac_cv_func_$ac_func=yes"
7277 else
7278   echo "configure: failed program was:" >&5
7279   cat conftest.$ac_ext >&5
7280   rm -rf conftest*
7281   eval "ac_cv_func_$ac_func=no"
7282 fi
7283 rm -f conftest*
7284 fi
7285
7286 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7287   echo "$ac_t""yes" 1>&6
7288     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7289   cat >> confdefs.h <<EOF
7290 #define $ac_tr_func 1
7291 EOF
7292  
7293 else
7294   echo "$ac_t""no" 1>&6
7295 fi
7296 done
7297     
7298   fi
7299
7300   
7301   echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7302 echo "configure:7303: checking for modff declaration" >&5
7303   if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7304   echo $ac_n "(cached) $ac_c" 1>&6
7305 else
7306   
7307     
7308     ac_ext=C
7309 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7310 ac_cpp='$CXXCPP $CPPFLAGS'
7311 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7312 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7313 cross_compiling=$ac_cv_prog_cxx_cross
7314
7315     cat > conftest.$ac_ext <<EOF
7316 #line 7317 "configure"
7317 #include "confdefs.h"
7318 #include <math.h>
7319 int main() {
7320  modff(0, 0);
7321 ; return 0; }
7322 EOF
7323 if { (eval echo configure:7324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7324   rm -rf conftest*
7325   glibcpp_cv_func_modff_use=yes
7326 else
7327   echo "configure: failed program was:" >&5
7328   cat conftest.$ac_ext >&5
7329   rm -rf conftest*
7330   glibcpp_cv_func_modff_use=no
7331 fi
7332 rm -f conftest*
7333     ac_ext=c
7334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7335 ac_cpp='$CPP $CPPFLAGS'
7336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7338 cross_compiling=$ac_cv_prog_cc_cross
7339
7340   
7341 fi
7342
7343   echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7344   if test x$glibcpp_cv_func_modff_use = x"yes"; then
7345     for ac_func in modff
7346 do
7347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7348 echo "configure:7349: checking for $ac_func" >&5
7349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7350   echo $ac_n "(cached) $ac_c" 1>&6
7351 else
7352   cat > conftest.$ac_ext <<EOF
7353 #line 7354 "configure"
7354 #include "confdefs.h"
7355 /* System header to define __stub macros and hopefully few prototypes,
7356     which can conflict with char $ac_func(); below.  */
7357 #include <assert.h>
7358 /* Override any gcc2 internal prototype to avoid an error.  */
7359 /* We use char because int might match the return type of a gcc2
7360     builtin and then its argument prototype would still apply.  */
7361 char $ac_func();
7362
7363 int main() {
7364
7365 /* The GNU C library defines this for functions which it implements
7366     to always fail with ENOSYS.  Some functions are actually named
7367     something starting with __ and the normal name is an alias.  */
7368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7369 choke me
7370 #else
7371 $ac_func();
7372 #endif
7373
7374 ; return 0; }
7375 EOF
7376 if { (eval echo configure:7377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7377   rm -rf conftest*
7378   eval "ac_cv_func_$ac_func=yes"
7379 else
7380   echo "configure: failed program was:" >&5
7381   cat conftest.$ac_ext >&5
7382   rm -rf conftest*
7383   eval "ac_cv_func_$ac_func=no"
7384 fi
7385 rm -f conftest*
7386 fi
7387
7388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7389   echo "$ac_t""yes" 1>&6
7390     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7391   cat >> confdefs.h <<EOF
7392 #define $ac_tr_func 1
7393 EOF
7394  
7395 else
7396   echo "$ac_t""no" 1>&6
7397 fi
7398 done
7399     
7400   fi
7401
7402   
7403   echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7404 echo "configure:7405: checking for powf declaration" >&5
7405   if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7406   echo $ac_n "(cached) $ac_c" 1>&6
7407 else
7408   
7409     
7410     ac_ext=C
7411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7412 ac_cpp='$CXXCPP $CPPFLAGS'
7413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7415 cross_compiling=$ac_cv_prog_cxx_cross
7416
7417     cat > conftest.$ac_ext <<EOF
7418 #line 7419 "configure"
7419 #include "confdefs.h"
7420 #include <math.h>
7421 int main() {
7422  powf(0, 0);
7423 ; return 0; }
7424 EOF
7425 if { (eval echo configure:7426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7426   rm -rf conftest*
7427   glibcpp_cv_func_powf_use=yes
7428 else
7429   echo "configure: failed program was:" >&5
7430   cat conftest.$ac_ext >&5
7431   rm -rf conftest*
7432   glibcpp_cv_func_powf_use=no
7433 fi
7434 rm -f conftest*
7435     ac_ext=c
7436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7437 ac_cpp='$CPP $CPPFLAGS'
7438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7440 cross_compiling=$ac_cv_prog_cc_cross
7441
7442   
7443 fi
7444
7445   echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7446   if test x$glibcpp_cv_func_powf_use = x"yes"; then
7447     for ac_func in powf
7448 do
7449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7450 echo "configure:7451: checking for $ac_func" >&5
7451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7452   echo $ac_n "(cached) $ac_c" 1>&6
7453 else
7454   cat > conftest.$ac_ext <<EOF
7455 #line 7456 "configure"
7456 #include "confdefs.h"
7457 /* System header to define __stub macros and hopefully few prototypes,
7458     which can conflict with char $ac_func(); below.  */
7459 #include <assert.h>
7460 /* Override any gcc2 internal prototype to avoid an error.  */
7461 /* We use char because int might match the return type of a gcc2
7462     builtin and then its argument prototype would still apply.  */
7463 char $ac_func();
7464
7465 int main() {
7466
7467 /* The GNU C library defines this for functions which it implements
7468     to always fail with ENOSYS.  Some functions are actually named
7469     something starting with __ and the normal name is an alias.  */
7470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7471 choke me
7472 #else
7473 $ac_func();
7474 #endif
7475
7476 ; return 0; }
7477 EOF
7478 if { (eval echo configure:7479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7479   rm -rf conftest*
7480   eval "ac_cv_func_$ac_func=yes"
7481 else
7482   echo "configure: failed program was:" >&5
7483   cat conftest.$ac_ext >&5
7484   rm -rf conftest*
7485   eval "ac_cv_func_$ac_func=no"
7486 fi
7487 rm -f conftest*
7488 fi
7489
7490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7491   echo "$ac_t""yes" 1>&6
7492     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7493   cat >> confdefs.h <<EOF
7494 #define $ac_tr_func 1
7495 EOF
7496  
7497 else
7498   echo "$ac_t""no" 1>&6
7499 fi
7500 done
7501     
7502   fi
7503
7504   
7505   echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7506 echo "configure:7507: checking for sinf declaration" >&5
7507   if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7508   echo $ac_n "(cached) $ac_c" 1>&6
7509 else
7510   
7511     
7512     ac_ext=C
7513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7514 ac_cpp='$CXXCPP $CPPFLAGS'
7515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7517 cross_compiling=$ac_cv_prog_cxx_cross
7518
7519     cat > conftest.$ac_ext <<EOF
7520 #line 7521 "configure"
7521 #include "confdefs.h"
7522 #include <math.h>
7523 int main() {
7524  sinf(0);
7525 ; return 0; }
7526 EOF
7527 if { (eval echo configure:7528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7528   rm -rf conftest*
7529   glibcpp_cv_func_sinf_use=yes
7530 else
7531   echo "configure: failed program was:" >&5
7532   cat conftest.$ac_ext >&5
7533   rm -rf conftest*
7534   glibcpp_cv_func_sinf_use=no
7535 fi
7536 rm -f conftest*
7537     ac_ext=c
7538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7539 ac_cpp='$CPP $CPPFLAGS'
7540 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7541 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7542 cross_compiling=$ac_cv_prog_cc_cross
7543
7544   
7545 fi
7546
7547   echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7548   if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7549     for ac_func in sinf
7550 do
7551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7552 echo "configure:7553: checking for $ac_func" >&5
7553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7554   echo $ac_n "(cached) $ac_c" 1>&6
7555 else
7556   cat > conftest.$ac_ext <<EOF
7557 #line 7558 "configure"
7558 #include "confdefs.h"
7559 /* System header to define __stub macros and hopefully few prototypes,
7560     which can conflict with char $ac_func(); below.  */
7561 #include <assert.h>
7562 /* Override any gcc2 internal prototype to avoid an error.  */
7563 /* We use char because int might match the return type of a gcc2
7564     builtin and then its argument prototype would still apply.  */
7565 char $ac_func();
7566
7567 int main() {
7568
7569 /* The GNU C library defines this for functions which it implements
7570     to always fail with ENOSYS.  Some functions are actually named
7571     something starting with __ and the normal name is an alias.  */
7572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7573 choke me
7574 #else
7575 $ac_func();
7576 #endif
7577
7578 ; return 0; }
7579 EOF
7580 if { (eval echo configure:7581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7581   rm -rf conftest*
7582   eval "ac_cv_func_$ac_func=yes"
7583 else
7584   echo "configure: failed program was:" >&5
7585   cat conftest.$ac_ext >&5
7586   rm -rf conftest*
7587   eval "ac_cv_func_$ac_func=no"
7588 fi
7589 rm -f conftest*
7590 fi
7591
7592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7593   echo "$ac_t""yes" 1>&6
7594     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7595   cat >> confdefs.h <<EOF
7596 #define $ac_tr_func 1
7597 EOF
7598  
7599 else
7600   echo "$ac_t""no" 1>&6
7601 fi
7602 done
7603     
7604   fi
7605
7606   
7607   echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7608 echo "configure:7609: checking for sinhf declaration" >&5
7609   if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7610   echo $ac_n "(cached) $ac_c" 1>&6
7611 else
7612   
7613     
7614     ac_ext=C
7615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7616 ac_cpp='$CXXCPP $CPPFLAGS'
7617 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7618 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7619 cross_compiling=$ac_cv_prog_cxx_cross
7620
7621     cat > conftest.$ac_ext <<EOF
7622 #line 7623 "configure"
7623 #include "confdefs.h"
7624 #include <math.h>
7625 int main() {
7626  sinhf(0);
7627 ; return 0; }
7628 EOF
7629 if { (eval echo configure:7630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7630   rm -rf conftest*
7631   glibcpp_cv_func_sinhf_use=yes
7632 else
7633   echo "configure: failed program was:" >&5
7634   cat conftest.$ac_ext >&5
7635   rm -rf conftest*
7636   glibcpp_cv_func_sinhf_use=no
7637 fi
7638 rm -f conftest*
7639     ac_ext=c
7640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7641 ac_cpp='$CPP $CPPFLAGS'
7642 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7643 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7644 cross_compiling=$ac_cv_prog_cc_cross
7645
7646   
7647 fi
7648
7649   echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7650   if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7651     for ac_func in sinhf
7652 do
7653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7654 echo "configure:7655: checking for $ac_func" >&5
7655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7656   echo $ac_n "(cached) $ac_c" 1>&6
7657 else
7658   cat > conftest.$ac_ext <<EOF
7659 #line 7660 "configure"
7660 #include "confdefs.h"
7661 /* System header to define __stub macros and hopefully few prototypes,
7662     which can conflict with char $ac_func(); below.  */
7663 #include <assert.h>
7664 /* Override any gcc2 internal prototype to avoid an error.  */
7665 /* We use char because int might match the return type of a gcc2
7666     builtin and then its argument prototype would still apply.  */
7667 char $ac_func();
7668
7669 int main() {
7670
7671 /* The GNU C library defines this for functions which it implements
7672     to always fail with ENOSYS.  Some functions are actually named
7673     something starting with __ and the normal name is an alias.  */
7674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7675 choke me
7676 #else
7677 $ac_func();
7678 #endif
7679
7680 ; return 0; }
7681 EOF
7682 if { (eval echo configure:7683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7683   rm -rf conftest*
7684   eval "ac_cv_func_$ac_func=yes"
7685 else
7686   echo "configure: failed program was:" >&5
7687   cat conftest.$ac_ext >&5
7688   rm -rf conftest*
7689   eval "ac_cv_func_$ac_func=no"
7690 fi
7691 rm -f conftest*
7692 fi
7693
7694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7695   echo "$ac_t""yes" 1>&6
7696     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7697   cat >> confdefs.h <<EOF
7698 #define $ac_tr_func 1
7699 EOF
7700  
7701 else
7702   echo "$ac_t""no" 1>&6
7703 fi
7704 done
7705     
7706   fi
7707
7708   
7709   echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7710 echo "configure:7711: checking for sqrtf declaration" >&5
7711   if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7712   echo $ac_n "(cached) $ac_c" 1>&6
7713 else
7714   
7715     
7716     ac_ext=C
7717 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7718 ac_cpp='$CXXCPP $CPPFLAGS'
7719 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7720 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7721 cross_compiling=$ac_cv_prog_cxx_cross
7722
7723     cat > conftest.$ac_ext <<EOF
7724 #line 7725 "configure"
7725 #include "confdefs.h"
7726 #include <math.h>
7727 int main() {
7728  sqrtf(0);
7729 ; return 0; }
7730 EOF
7731 if { (eval echo configure:7732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7732   rm -rf conftest*
7733   glibcpp_cv_func_sqrtf_use=yes
7734 else
7735   echo "configure: failed program was:" >&5
7736   cat conftest.$ac_ext >&5
7737   rm -rf conftest*
7738   glibcpp_cv_func_sqrtf_use=no
7739 fi
7740 rm -f conftest*
7741     ac_ext=c
7742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7743 ac_cpp='$CPP $CPPFLAGS'
7744 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7745 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7746 cross_compiling=$ac_cv_prog_cc_cross
7747
7748   
7749 fi
7750
7751   echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7752   if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7753     for ac_func in sqrtf
7754 do
7755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7756 echo "configure:7757: checking for $ac_func" >&5
7757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7758   echo $ac_n "(cached) $ac_c" 1>&6
7759 else
7760   cat > conftest.$ac_ext <<EOF
7761 #line 7762 "configure"
7762 #include "confdefs.h"
7763 /* System header to define __stub macros and hopefully few prototypes,
7764     which can conflict with char $ac_func(); below.  */
7765 #include <assert.h>
7766 /* Override any gcc2 internal prototype to avoid an error.  */
7767 /* We use char because int might match the return type of a gcc2
7768     builtin and then its argument prototype would still apply.  */
7769 char $ac_func();
7770
7771 int main() {
7772
7773 /* The GNU C library defines this for functions which it implements
7774     to always fail with ENOSYS.  Some functions are actually named
7775     something starting with __ and the normal name is an alias.  */
7776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7777 choke me
7778 #else
7779 $ac_func();
7780 #endif
7781
7782 ; return 0; }
7783 EOF
7784 if { (eval echo configure:7785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7785   rm -rf conftest*
7786   eval "ac_cv_func_$ac_func=yes"
7787 else
7788   echo "configure: failed program was:" >&5
7789   cat conftest.$ac_ext >&5
7790   rm -rf conftest*
7791   eval "ac_cv_func_$ac_func=no"
7792 fi
7793 rm -f conftest*
7794 fi
7795
7796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7797   echo "$ac_t""yes" 1>&6
7798     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7799   cat >> confdefs.h <<EOF
7800 #define $ac_tr_func 1
7801 EOF
7802  
7803 else
7804   echo "$ac_t""no" 1>&6
7805 fi
7806 done
7807     
7808   fi
7809
7810   
7811   echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7812 echo "configure:7813: checking for tanf declaration" >&5
7813   if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7814   echo $ac_n "(cached) $ac_c" 1>&6
7815 else
7816   
7817     
7818     ac_ext=C
7819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7820 ac_cpp='$CXXCPP $CPPFLAGS'
7821 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7822 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7823 cross_compiling=$ac_cv_prog_cxx_cross
7824
7825     cat > conftest.$ac_ext <<EOF
7826 #line 7827 "configure"
7827 #include "confdefs.h"
7828 #include <math.h>
7829 int main() {
7830  tanf(0);
7831 ; return 0; }
7832 EOF
7833 if { (eval echo configure:7834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7834   rm -rf conftest*
7835   glibcpp_cv_func_tanf_use=yes
7836 else
7837   echo "configure: failed program was:" >&5
7838   cat conftest.$ac_ext >&5
7839   rm -rf conftest*
7840   glibcpp_cv_func_tanf_use=no
7841 fi
7842 rm -f conftest*
7843     ac_ext=c
7844 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7845 ac_cpp='$CPP $CPPFLAGS'
7846 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7847 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7848 cross_compiling=$ac_cv_prog_cc_cross
7849
7850   
7851 fi
7852
7853   echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7854   if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7855     for ac_func in tanf
7856 do
7857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7858 echo "configure:7859: checking for $ac_func" >&5
7859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7860   echo $ac_n "(cached) $ac_c" 1>&6
7861 else
7862   cat > conftest.$ac_ext <<EOF
7863 #line 7864 "configure"
7864 #include "confdefs.h"
7865 /* System header to define __stub macros and hopefully few prototypes,
7866     which can conflict with char $ac_func(); below.  */
7867 #include <assert.h>
7868 /* Override any gcc2 internal prototype to avoid an error.  */
7869 /* We use char because int might match the return type of a gcc2
7870     builtin and then its argument prototype would still apply.  */
7871 char $ac_func();
7872
7873 int main() {
7874
7875 /* The GNU C library defines this for functions which it implements
7876     to always fail with ENOSYS.  Some functions are actually named
7877     something starting with __ and the normal name is an alias.  */
7878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7879 choke me
7880 #else
7881 $ac_func();
7882 #endif
7883
7884 ; return 0; }
7885 EOF
7886 if { (eval echo configure:7887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7887   rm -rf conftest*
7888   eval "ac_cv_func_$ac_func=yes"
7889 else
7890   echo "configure: failed program was:" >&5
7891   cat conftest.$ac_ext >&5
7892   rm -rf conftest*
7893   eval "ac_cv_func_$ac_func=no"
7894 fi
7895 rm -f conftest*
7896 fi
7897
7898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7899   echo "$ac_t""yes" 1>&6
7900     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7901   cat >> confdefs.h <<EOF
7902 #define $ac_tr_func 1
7903 EOF
7904  
7905 else
7906   echo "$ac_t""no" 1>&6
7907 fi
7908 done
7909     
7910   fi
7911
7912   
7913   echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7914 echo "configure:7915: checking for tanhf declaration" >&5
7915   if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7916   echo $ac_n "(cached) $ac_c" 1>&6
7917 else
7918   
7919     
7920     ac_ext=C
7921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7922 ac_cpp='$CXXCPP $CPPFLAGS'
7923 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7924 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7925 cross_compiling=$ac_cv_prog_cxx_cross
7926
7927     cat > conftest.$ac_ext <<EOF
7928 #line 7929 "configure"
7929 #include "confdefs.h"
7930 #include <math.h>
7931 int main() {
7932  tanhf(0);
7933 ; return 0; }
7934 EOF
7935 if { (eval echo configure:7936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7936   rm -rf conftest*
7937   glibcpp_cv_func_tanhf_use=yes
7938 else
7939   echo "configure: failed program was:" >&5
7940   cat conftest.$ac_ext >&5
7941   rm -rf conftest*
7942   glibcpp_cv_func_tanhf_use=no
7943 fi
7944 rm -f conftest*
7945     ac_ext=c
7946 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7947 ac_cpp='$CPP $CPPFLAGS'
7948 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7949 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7950 cross_compiling=$ac_cv_prog_cc_cross
7951
7952   
7953 fi
7954
7955   echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
7956   if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
7957     for ac_func in tanhf
7958 do
7959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7960 echo "configure:7961: checking for $ac_func" >&5
7961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7962   echo $ac_n "(cached) $ac_c" 1>&6
7963 else
7964   cat > conftest.$ac_ext <<EOF
7965 #line 7966 "configure"
7966 #include "confdefs.h"
7967 /* System header to define __stub macros and hopefully few prototypes,
7968     which can conflict with char $ac_func(); below.  */
7969 #include <assert.h>
7970 /* Override any gcc2 internal prototype to avoid an error.  */
7971 /* We use char because int might match the return type of a gcc2
7972     builtin and then its argument prototype would still apply.  */
7973 char $ac_func();
7974
7975 int main() {
7976
7977 /* The GNU C library defines this for functions which it implements
7978     to always fail with ENOSYS.  Some functions are actually named
7979     something starting with __ and the normal name is an alias.  */
7980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7981 choke me
7982 #else
7983 $ac_func();
7984 #endif
7985
7986 ; return 0; }
7987 EOF
7988 if { (eval echo configure:7989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7989   rm -rf conftest*
7990   eval "ac_cv_func_$ac_func=yes"
7991 else
7992   echo "configure: failed program was:" >&5
7993   cat conftest.$ac_ext >&5
7994   rm -rf conftest*
7995   eval "ac_cv_func_$ac_func=no"
7996 fi
7997 rm -f conftest*
7998 fi
7999
8000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8001   echo "$ac_t""yes" 1>&6
8002     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8003   cat >> confdefs.h <<EOF
8004 #define $ac_tr_func 1
8005 EOF
8006  
8007 else
8008   echo "$ac_t""no" 1>&6
8009 fi
8010 done
8011     
8012   fi
8013
8014   
8015   echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
8016 echo "configure:8017: checking for sincosf declaration" >&5
8017   if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
8018   echo $ac_n "(cached) $ac_c" 1>&6
8019 else
8020   
8021     
8022     ac_ext=C
8023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8024 ac_cpp='$CXXCPP $CPPFLAGS'
8025 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8026 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8027 cross_compiling=$ac_cv_prog_cxx_cross
8028
8029     cat > conftest.$ac_ext <<EOF
8030 #line 8031 "configure"
8031 #include "confdefs.h"
8032 #include <math.h>
8033 int main() {
8034  sincosf(0, 0, 0);
8035 ; return 0; }
8036 EOF
8037 if { (eval echo configure:8038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8038   rm -rf conftest*
8039   glibcpp_cv_func_sincosf_use=yes
8040 else
8041   echo "configure: failed program was:" >&5
8042   cat conftest.$ac_ext >&5
8043   rm -rf conftest*
8044   glibcpp_cv_func_sincosf_use=no
8045 fi
8046 rm -f conftest*
8047     ac_ext=c
8048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8049 ac_cpp='$CPP $CPPFLAGS'
8050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8052 cross_compiling=$ac_cv_prog_cc_cross
8053
8054   
8055 fi
8056
8057   echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
8058   if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
8059     for ac_func in sincosf
8060 do
8061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8062 echo "configure:8063: checking for $ac_func" >&5
8063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8064   echo $ac_n "(cached) $ac_c" 1>&6
8065 else
8066   cat > conftest.$ac_ext <<EOF
8067 #line 8068 "configure"
8068 #include "confdefs.h"
8069 /* System header to define __stub macros and hopefully few prototypes,
8070     which can conflict with char $ac_func(); below.  */
8071 #include <assert.h>
8072 /* Override any gcc2 internal prototype to avoid an error.  */
8073 /* We use char because int might match the return type of a gcc2
8074     builtin and then its argument prototype would still apply.  */
8075 char $ac_func();
8076
8077 int main() {
8078
8079 /* The GNU C library defines this for functions which it implements
8080     to always fail with ENOSYS.  Some functions are actually named
8081     something starting with __ and the normal name is an alias.  */
8082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8083 choke me
8084 #else
8085 $ac_func();
8086 #endif
8087
8088 ; return 0; }
8089 EOF
8090 if { (eval echo configure:8091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8091   rm -rf conftest*
8092   eval "ac_cv_func_$ac_func=yes"
8093 else
8094   echo "configure: failed program was:" >&5
8095   cat conftest.$ac_ext >&5
8096   rm -rf conftest*
8097   eval "ac_cv_func_$ac_func=no"
8098 fi
8099 rm -f conftest*
8100 fi
8101
8102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8103   echo "$ac_t""yes" 1>&6
8104     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8105   cat >> confdefs.h <<EOF
8106 #define $ac_tr_func 1
8107 EOF
8108  
8109 else
8110   echo "$ac_t""no" 1>&6
8111 fi
8112 done
8113     
8114   fi
8115
8116   
8117   echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8118 echo "configure:8119: checking for finitef declaration" >&5
8119   if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8120   echo $ac_n "(cached) $ac_c" 1>&6
8121 else
8122   
8123     
8124     ac_ext=C
8125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8126 ac_cpp='$CXXCPP $CPPFLAGS'
8127 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8128 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8129 cross_compiling=$ac_cv_prog_cxx_cross
8130
8131     cat > conftest.$ac_ext <<EOF
8132 #line 8133 "configure"
8133 #include "confdefs.h"
8134 #include <math.h>
8135 int main() {
8136  finitef(0);
8137 ; return 0; }
8138 EOF
8139 if { (eval echo configure:8140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8140   rm -rf conftest*
8141   glibcpp_cv_func_finitef_use=yes
8142 else
8143   echo "configure: failed program was:" >&5
8144   cat conftest.$ac_ext >&5
8145   rm -rf conftest*
8146   glibcpp_cv_func_finitef_use=no
8147 fi
8148 rm -f conftest*
8149     ac_ext=c
8150 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8151 ac_cpp='$CPP $CPPFLAGS'
8152 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8153 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8154 cross_compiling=$ac_cv_prog_cc_cross
8155
8156   
8157 fi
8158
8159   echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8160   if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8161     for ac_func in finitef
8162 do
8163 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8164 echo "configure:8165: checking for $ac_func" >&5
8165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8166   echo $ac_n "(cached) $ac_c" 1>&6
8167 else
8168   cat > conftest.$ac_ext <<EOF
8169 #line 8170 "configure"
8170 #include "confdefs.h"
8171 /* System header to define __stub macros and hopefully few prototypes,
8172     which can conflict with char $ac_func(); below.  */
8173 #include <assert.h>
8174 /* Override any gcc2 internal prototype to avoid an error.  */
8175 /* We use char because int might match the return type of a gcc2
8176     builtin and then its argument prototype would still apply.  */
8177 char $ac_func();
8178
8179 int main() {
8180
8181 /* The GNU C library defines this for functions which it implements
8182     to always fail with ENOSYS.  Some functions are actually named
8183     something starting with __ and the normal name is an alias.  */
8184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8185 choke me
8186 #else
8187 $ac_func();
8188 #endif
8189
8190 ; return 0; }
8191 EOF
8192 if { (eval echo configure:8193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8193   rm -rf conftest*
8194   eval "ac_cv_func_$ac_func=yes"
8195 else
8196   echo "configure: failed program was:" >&5
8197   cat conftest.$ac_ext >&5
8198   rm -rf conftest*
8199   eval "ac_cv_func_$ac_func=no"
8200 fi
8201 rm -f conftest*
8202 fi
8203
8204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8205   echo "$ac_t""yes" 1>&6
8206     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8207   cat >> confdefs.h <<EOF
8208 #define $ac_tr_func 1
8209 EOF
8210  
8211 else
8212   echo "$ac_t""no" 1>&6
8213 fi
8214 done
8215     
8216   fi
8217
8218
8219     
8220   echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8221 echo "configure:8222: checking for isnanl declaration" >&5
8222   if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8223   echo $ac_n "(cached) $ac_c" 1>&6
8224 else
8225   
8226     
8227     ac_ext=C
8228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8229 ac_cpp='$CXXCPP $CPPFLAGS'
8230 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8231 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8232 cross_compiling=$ac_cv_prog_cxx_cross
8233
8234     cat > conftest.$ac_ext <<EOF
8235 #line 8236 "configure"
8236 #include "confdefs.h"
8237 #include <math.h>
8238 int main() {
8239  isnanl(0);
8240 ; return 0; }
8241 EOF
8242 if { (eval echo configure:8243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8243   rm -rf conftest*
8244   glibcpp_cv_func_isnanl_use=yes
8245 else
8246   echo "configure: failed program was:" >&5
8247   cat conftest.$ac_ext >&5
8248   rm -rf conftest*
8249   glibcpp_cv_func_isnanl_use=no
8250 fi
8251 rm -f conftest*
8252     ac_ext=c
8253 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8254 ac_cpp='$CPP $CPPFLAGS'
8255 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8256 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8257 cross_compiling=$ac_cv_prog_cc_cross
8258
8259   
8260 fi
8261
8262   echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8263   if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8264     for ac_func in isnanl
8265 do
8266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8267 echo "configure:8268: checking for $ac_func" >&5
8268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8269   echo $ac_n "(cached) $ac_c" 1>&6
8270 else
8271   cat > conftest.$ac_ext <<EOF
8272 #line 8273 "configure"
8273 #include "confdefs.h"
8274 /* System header to define __stub macros and hopefully few prototypes,
8275     which can conflict with char $ac_func(); below.  */
8276 #include <assert.h>
8277 /* Override any gcc2 internal prototype to avoid an error.  */
8278 /* We use char because int might match the return type of a gcc2
8279     builtin and then its argument prototype would still apply.  */
8280 char $ac_func();
8281
8282 int main() {
8283
8284 /* The GNU C library defines this for functions which it implements
8285     to always fail with ENOSYS.  Some functions are actually named
8286     something starting with __ and the normal name is an alias.  */
8287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8288 choke me
8289 #else
8290 $ac_func();
8291 #endif
8292
8293 ; return 0; }
8294 EOF
8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8296   rm -rf conftest*
8297   eval "ac_cv_func_$ac_func=yes"
8298 else
8299   echo "configure: failed program was:" >&5
8300   cat conftest.$ac_ext >&5
8301   rm -rf conftest*
8302   eval "ac_cv_func_$ac_func=no"
8303 fi
8304 rm -f conftest*
8305 fi
8306
8307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8308   echo "$ac_t""yes" 1>&6
8309     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8310   cat >> confdefs.h <<EOF
8311 #define $ac_tr_func 1
8312 EOF
8313  
8314 else
8315   echo "$ac_t""no" 1>&6
8316 fi
8317 done
8318     
8319   fi
8320
8321   
8322   echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8323 echo "configure:8324: checking for isinfl declaration" >&5
8324   if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8325   echo $ac_n "(cached) $ac_c" 1>&6
8326 else
8327   
8328     
8329     ac_ext=C
8330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8331 ac_cpp='$CXXCPP $CPPFLAGS'
8332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8333 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8334 cross_compiling=$ac_cv_prog_cxx_cross
8335
8336     cat > conftest.$ac_ext <<EOF
8337 #line 8338 "configure"
8338 #include "confdefs.h"
8339 #include <math.h>
8340 int main() {
8341  isinfl(0);
8342 ; return 0; }
8343 EOF
8344 if { (eval echo configure:8345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8345   rm -rf conftest*
8346   glibcpp_cv_func_isinfl_use=yes
8347 else
8348   echo "configure: failed program was:" >&5
8349   cat conftest.$ac_ext >&5
8350   rm -rf conftest*
8351   glibcpp_cv_func_isinfl_use=no
8352 fi
8353 rm -f conftest*
8354     ac_ext=c
8355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8356 ac_cpp='$CPP $CPPFLAGS'
8357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8359 cross_compiling=$ac_cv_prog_cc_cross
8360
8361   
8362 fi
8363
8364   echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8365   if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8366     for ac_func in isinfl
8367 do
8368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8369 echo "configure:8370: checking for $ac_func" >&5
8370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8371   echo $ac_n "(cached) $ac_c" 1>&6
8372 else
8373   cat > conftest.$ac_ext <<EOF
8374 #line 8375 "configure"
8375 #include "confdefs.h"
8376 /* System header to define __stub macros and hopefully few prototypes,
8377     which can conflict with char $ac_func(); below.  */
8378 #include <assert.h>
8379 /* Override any gcc2 internal prototype to avoid an error.  */
8380 /* We use char because int might match the return type of a gcc2
8381     builtin and then its argument prototype would still apply.  */
8382 char $ac_func();
8383
8384 int main() {
8385
8386 /* The GNU C library defines this for functions which it implements
8387     to always fail with ENOSYS.  Some functions are actually named
8388     something starting with __ and the normal name is an alias.  */
8389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8390 choke me
8391 #else
8392 $ac_func();
8393 #endif
8394
8395 ; return 0; }
8396 EOF
8397 if { (eval echo configure:8398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8398   rm -rf conftest*
8399   eval "ac_cv_func_$ac_func=yes"
8400 else
8401   echo "configure: failed program was:" >&5
8402   cat conftest.$ac_ext >&5
8403   rm -rf conftest*
8404   eval "ac_cv_func_$ac_func=no"
8405 fi
8406 rm -f conftest*
8407 fi
8408
8409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8410   echo "$ac_t""yes" 1>&6
8411     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8412   cat >> confdefs.h <<EOF
8413 #define $ac_tr_func 1
8414 EOF
8415  
8416 else
8417   echo "$ac_t""no" 1>&6
8418 fi
8419 done
8420     
8421   fi
8422
8423   
8424   echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8425 echo "configure:8426: checking for copysignl declaration" >&5
8426   if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8427   echo $ac_n "(cached) $ac_c" 1>&6
8428 else
8429   
8430     
8431     ac_ext=C
8432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8433 ac_cpp='$CXXCPP $CPPFLAGS'
8434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8436 cross_compiling=$ac_cv_prog_cxx_cross
8437
8438     cat > conftest.$ac_ext <<EOF
8439 #line 8440 "configure"
8440 #include "confdefs.h"
8441 #include <math.h>
8442 int main() {
8443  copysignl(0, 0);
8444 ; return 0; }
8445 EOF
8446 if { (eval echo configure:8447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8447   rm -rf conftest*
8448   glibcpp_cv_func_copysignl_use=yes
8449 else
8450   echo "configure: failed program was:" >&5
8451   cat conftest.$ac_ext >&5
8452   rm -rf conftest*
8453   glibcpp_cv_func_copysignl_use=no
8454 fi
8455 rm -f conftest*
8456     ac_ext=c
8457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8458 ac_cpp='$CPP $CPPFLAGS'
8459 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8460 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8461 cross_compiling=$ac_cv_prog_cc_cross
8462
8463   
8464 fi
8465
8466   echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8467   if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8468     for ac_func in copysignl
8469 do
8470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8471 echo "configure:8472: checking for $ac_func" >&5
8472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8473   echo $ac_n "(cached) $ac_c" 1>&6
8474 else
8475   cat > conftest.$ac_ext <<EOF
8476 #line 8477 "configure"
8477 #include "confdefs.h"
8478 /* System header to define __stub macros and hopefully few prototypes,
8479     which can conflict with char $ac_func(); below.  */
8480 #include <assert.h>
8481 /* Override any gcc2 internal prototype to avoid an error.  */
8482 /* We use char because int might match the return type of a gcc2
8483     builtin and then its argument prototype would still apply.  */
8484 char $ac_func();
8485
8486 int main() {
8487
8488 /* The GNU C library defines this for functions which it implements
8489     to always fail with ENOSYS.  Some functions are actually named
8490     something starting with __ and the normal name is an alias.  */
8491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8492 choke me
8493 #else
8494 $ac_func();
8495 #endif
8496
8497 ; return 0; }
8498 EOF
8499 if { (eval echo configure:8500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8500   rm -rf conftest*
8501   eval "ac_cv_func_$ac_func=yes"
8502 else
8503   echo "configure: failed program was:" >&5
8504   cat conftest.$ac_ext >&5
8505   rm -rf conftest*
8506   eval "ac_cv_func_$ac_func=no"
8507 fi
8508 rm -f conftest*
8509 fi
8510
8511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8512   echo "$ac_t""yes" 1>&6
8513     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8514   cat >> confdefs.h <<EOF
8515 #define $ac_tr_func 1
8516 EOF
8517  
8518 else
8519   echo "$ac_t""no" 1>&6
8520 fi
8521 done
8522     
8523   fi
8524
8525   
8526   echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8527 echo "configure:8528: checking for acosl declaration" >&5
8528   if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8529   echo $ac_n "(cached) $ac_c" 1>&6
8530 else
8531   
8532     
8533     ac_ext=C
8534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8535 ac_cpp='$CXXCPP $CPPFLAGS'
8536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8538 cross_compiling=$ac_cv_prog_cxx_cross
8539
8540     cat > conftest.$ac_ext <<EOF
8541 #line 8542 "configure"
8542 #include "confdefs.h"
8543 #include <math.h>
8544 int main() {
8545  acosl(0);
8546 ; return 0; }
8547 EOF
8548 if { (eval echo configure:8549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8549   rm -rf conftest*
8550   glibcpp_cv_func_acosl_use=yes
8551 else
8552   echo "configure: failed program was:" >&5
8553   cat conftest.$ac_ext >&5
8554   rm -rf conftest*
8555   glibcpp_cv_func_acosl_use=no
8556 fi
8557 rm -f conftest*
8558     ac_ext=c
8559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8560 ac_cpp='$CPP $CPPFLAGS'
8561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8563 cross_compiling=$ac_cv_prog_cc_cross
8564
8565   
8566 fi
8567
8568   echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8569   if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8570     for ac_func in acosl
8571 do
8572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8573 echo "configure:8574: checking for $ac_func" >&5
8574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8575   echo $ac_n "(cached) $ac_c" 1>&6
8576 else
8577   cat > conftest.$ac_ext <<EOF
8578 #line 8579 "configure"
8579 #include "confdefs.h"
8580 /* System header to define __stub macros and hopefully few prototypes,
8581     which can conflict with char $ac_func(); below.  */
8582 #include <assert.h>
8583 /* Override any gcc2 internal prototype to avoid an error.  */
8584 /* We use char because int might match the return type of a gcc2
8585     builtin and then its argument prototype would still apply.  */
8586 char $ac_func();
8587
8588 int main() {
8589
8590 /* The GNU C library defines this for functions which it implements
8591     to always fail with ENOSYS.  Some functions are actually named
8592     something starting with __ and the normal name is an alias.  */
8593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8594 choke me
8595 #else
8596 $ac_func();
8597 #endif
8598
8599 ; return 0; }
8600 EOF
8601 if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8602   rm -rf conftest*
8603   eval "ac_cv_func_$ac_func=yes"
8604 else
8605   echo "configure: failed program was:" >&5
8606   cat conftest.$ac_ext >&5
8607   rm -rf conftest*
8608   eval "ac_cv_func_$ac_func=no"
8609 fi
8610 rm -f conftest*
8611 fi
8612
8613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8614   echo "$ac_t""yes" 1>&6
8615     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8616   cat >> confdefs.h <<EOF
8617 #define $ac_tr_func 1
8618 EOF
8619  
8620 else
8621   echo "$ac_t""no" 1>&6
8622 fi
8623 done
8624     
8625   fi
8626
8627   
8628   echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8629 echo "configure:8630: checking for asinl declaration" >&5
8630   if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8631   echo $ac_n "(cached) $ac_c" 1>&6
8632 else
8633   
8634     
8635     ac_ext=C
8636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8637 ac_cpp='$CXXCPP $CPPFLAGS'
8638 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8639 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8640 cross_compiling=$ac_cv_prog_cxx_cross
8641
8642     cat > conftest.$ac_ext <<EOF
8643 #line 8644 "configure"
8644 #include "confdefs.h"
8645 #include <math.h>
8646 int main() {
8647  asinl(0);
8648 ; return 0; }
8649 EOF
8650 if { (eval echo configure:8651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8651   rm -rf conftest*
8652   glibcpp_cv_func_asinl_use=yes
8653 else
8654   echo "configure: failed program was:" >&5
8655   cat conftest.$ac_ext >&5
8656   rm -rf conftest*
8657   glibcpp_cv_func_asinl_use=no
8658 fi
8659 rm -f conftest*
8660     ac_ext=c
8661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8662 ac_cpp='$CPP $CPPFLAGS'
8663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8665 cross_compiling=$ac_cv_prog_cc_cross
8666
8667   
8668 fi
8669
8670   echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8671   if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8672     for ac_func in asinl
8673 do
8674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8675 echo "configure:8676: checking for $ac_func" >&5
8676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8677   echo $ac_n "(cached) $ac_c" 1>&6
8678 else
8679   cat > conftest.$ac_ext <<EOF
8680 #line 8681 "configure"
8681 #include "confdefs.h"
8682 /* System header to define __stub macros and hopefully few prototypes,
8683     which can conflict with char $ac_func(); below.  */
8684 #include <assert.h>
8685 /* Override any gcc2 internal prototype to avoid an error.  */
8686 /* We use char because int might match the return type of a gcc2
8687     builtin and then its argument prototype would still apply.  */
8688 char $ac_func();
8689
8690 int main() {
8691
8692 /* The GNU C library defines this for functions which it implements
8693     to always fail with ENOSYS.  Some functions are actually named
8694     something starting with __ and the normal name is an alias.  */
8695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8696 choke me
8697 #else
8698 $ac_func();
8699 #endif
8700
8701 ; return 0; }
8702 EOF
8703 if { (eval echo configure:8704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8704   rm -rf conftest*
8705   eval "ac_cv_func_$ac_func=yes"
8706 else
8707   echo "configure: failed program was:" >&5
8708   cat conftest.$ac_ext >&5
8709   rm -rf conftest*
8710   eval "ac_cv_func_$ac_func=no"
8711 fi
8712 rm -f conftest*
8713 fi
8714
8715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8716   echo "$ac_t""yes" 1>&6
8717     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8718   cat >> confdefs.h <<EOF
8719 #define $ac_tr_func 1
8720 EOF
8721  
8722 else
8723   echo "$ac_t""no" 1>&6
8724 fi
8725 done
8726     
8727   fi
8728
8729   
8730   echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8731 echo "configure:8732: checking for atanl declaration" >&5
8732   if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8733   echo $ac_n "(cached) $ac_c" 1>&6
8734 else
8735   
8736     
8737     ac_ext=C
8738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8739 ac_cpp='$CXXCPP $CPPFLAGS'
8740 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8741 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8742 cross_compiling=$ac_cv_prog_cxx_cross
8743
8744     cat > conftest.$ac_ext <<EOF
8745 #line 8746 "configure"
8746 #include "confdefs.h"
8747 #include <math.h>
8748 int main() {
8749  atanl(0);
8750 ; return 0; }
8751 EOF
8752 if { (eval echo configure:8753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8753   rm -rf conftest*
8754   glibcpp_cv_func_atanl_use=yes
8755 else
8756   echo "configure: failed program was:" >&5
8757   cat conftest.$ac_ext >&5
8758   rm -rf conftest*
8759   glibcpp_cv_func_atanl_use=no
8760 fi
8761 rm -f conftest*
8762     ac_ext=c
8763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8764 ac_cpp='$CPP $CPPFLAGS'
8765 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8766 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8767 cross_compiling=$ac_cv_prog_cc_cross
8768
8769   
8770 fi
8771
8772   echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8773   if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8774     for ac_func in atanl
8775 do
8776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8777 echo "configure:8778: checking for $ac_func" >&5
8778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8779   echo $ac_n "(cached) $ac_c" 1>&6
8780 else
8781   cat > conftest.$ac_ext <<EOF
8782 #line 8783 "configure"
8783 #include "confdefs.h"
8784 /* System header to define __stub macros and hopefully few prototypes,
8785     which can conflict with char $ac_func(); below.  */
8786 #include <assert.h>
8787 /* Override any gcc2 internal prototype to avoid an error.  */
8788 /* We use char because int might match the return type of a gcc2
8789     builtin and then its argument prototype would still apply.  */
8790 char $ac_func();
8791
8792 int main() {
8793
8794 /* The GNU C library defines this for functions which it implements
8795     to always fail with ENOSYS.  Some functions are actually named
8796     something starting with __ and the normal name is an alias.  */
8797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8798 choke me
8799 #else
8800 $ac_func();
8801 #endif
8802
8803 ; return 0; }
8804 EOF
8805 if { (eval echo configure:8806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8806   rm -rf conftest*
8807   eval "ac_cv_func_$ac_func=yes"
8808 else
8809   echo "configure: failed program was:" >&5
8810   cat conftest.$ac_ext >&5
8811   rm -rf conftest*
8812   eval "ac_cv_func_$ac_func=no"
8813 fi
8814 rm -f conftest*
8815 fi
8816
8817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8818   echo "$ac_t""yes" 1>&6
8819     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8820   cat >> confdefs.h <<EOF
8821 #define $ac_tr_func 1
8822 EOF
8823  
8824 else
8825   echo "$ac_t""no" 1>&6
8826 fi
8827 done
8828     
8829   fi
8830
8831   
8832   echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8833 echo "configure:8834: checking for atan2l declaration" >&5
8834   if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8835   echo $ac_n "(cached) $ac_c" 1>&6
8836 else
8837   
8838     
8839     ac_ext=C
8840 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8841 ac_cpp='$CXXCPP $CPPFLAGS'
8842 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8843 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8844 cross_compiling=$ac_cv_prog_cxx_cross
8845
8846     cat > conftest.$ac_ext <<EOF
8847 #line 8848 "configure"
8848 #include "confdefs.h"
8849 #include <math.h>
8850 int main() {
8851  atan2l(0, 0);
8852 ; return 0; }
8853 EOF
8854 if { (eval echo configure:8855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8855   rm -rf conftest*
8856   glibcpp_cv_func_atan2l_use=yes
8857 else
8858   echo "configure: failed program was:" >&5
8859   cat conftest.$ac_ext >&5
8860   rm -rf conftest*
8861   glibcpp_cv_func_atan2l_use=no
8862 fi
8863 rm -f conftest*
8864     ac_ext=c
8865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8866 ac_cpp='$CPP $CPPFLAGS'
8867 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8868 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8869 cross_compiling=$ac_cv_prog_cc_cross
8870
8871   
8872 fi
8873
8874   echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8875   if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8876     for ac_func in atan2l
8877 do
8878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8879 echo "configure:8880: checking for $ac_func" >&5
8880 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8881   echo $ac_n "(cached) $ac_c" 1>&6
8882 else
8883   cat > conftest.$ac_ext <<EOF
8884 #line 8885 "configure"
8885 #include "confdefs.h"
8886 /* System header to define __stub macros and hopefully few prototypes,
8887     which can conflict with char $ac_func(); below.  */
8888 #include <assert.h>
8889 /* Override any gcc2 internal prototype to avoid an error.  */
8890 /* We use char because int might match the return type of a gcc2
8891     builtin and then its argument prototype would still apply.  */
8892 char $ac_func();
8893
8894 int main() {
8895
8896 /* The GNU C library defines this for functions which it implements
8897     to always fail with ENOSYS.  Some functions are actually named
8898     something starting with __ and the normal name is an alias.  */
8899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8900 choke me
8901 #else
8902 $ac_func();
8903 #endif
8904
8905 ; return 0; }
8906 EOF
8907 if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8908   rm -rf conftest*
8909   eval "ac_cv_func_$ac_func=yes"
8910 else
8911   echo "configure: failed program was:" >&5
8912   cat conftest.$ac_ext >&5
8913   rm -rf conftest*
8914   eval "ac_cv_func_$ac_func=no"
8915 fi
8916 rm -f conftest*
8917 fi
8918
8919 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8920   echo "$ac_t""yes" 1>&6
8921     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8922   cat >> confdefs.h <<EOF
8923 #define $ac_tr_func 1
8924 EOF
8925  
8926 else
8927   echo "$ac_t""no" 1>&6
8928 fi
8929 done
8930     
8931   fi
8932
8933   
8934   echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
8935 echo "configure:8936: checking for ceill declaration" >&5
8936   if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
8937   echo $ac_n "(cached) $ac_c" 1>&6
8938 else
8939   
8940     
8941     ac_ext=C
8942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8943 ac_cpp='$CXXCPP $CPPFLAGS'
8944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8946 cross_compiling=$ac_cv_prog_cxx_cross
8947
8948     cat > conftest.$ac_ext <<EOF
8949 #line 8950 "configure"
8950 #include "confdefs.h"
8951 #include <math.h>
8952 int main() {
8953  ceill(0);
8954 ; return 0; }
8955 EOF
8956 if { (eval echo configure:8957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8957   rm -rf conftest*
8958   glibcpp_cv_func_ceill_use=yes
8959 else
8960   echo "configure: failed program was:" >&5
8961   cat conftest.$ac_ext >&5
8962   rm -rf conftest*
8963   glibcpp_cv_func_ceill_use=no
8964 fi
8965 rm -f conftest*
8966     ac_ext=c
8967 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8968 ac_cpp='$CPP $CPPFLAGS'
8969 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8970 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8971 cross_compiling=$ac_cv_prog_cc_cross
8972
8973   
8974 fi
8975
8976   echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
8977   if test x$glibcpp_cv_func_ceill_use = x"yes"; then
8978     for ac_func in ceill
8979 do
8980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8981 echo "configure:8982: checking for $ac_func" >&5
8982 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8983   echo $ac_n "(cached) $ac_c" 1>&6
8984 else
8985   cat > conftest.$ac_ext <<EOF
8986 #line 8987 "configure"
8987 #include "confdefs.h"
8988 /* System header to define __stub macros and hopefully few prototypes,
8989     which can conflict with char $ac_func(); below.  */
8990 #include <assert.h>
8991 /* Override any gcc2 internal prototype to avoid an error.  */
8992 /* We use char because int might match the return type of a gcc2
8993     builtin and then its argument prototype would still apply.  */
8994 char $ac_func();
8995
8996 int main() {
8997
8998 /* The GNU C library defines this for functions which it implements
8999     to always fail with ENOSYS.  Some functions are actually named
9000     something starting with __ and the normal name is an alias.  */
9001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9002 choke me
9003 #else
9004 $ac_func();
9005 #endif
9006
9007 ; return 0; }
9008 EOF
9009 if { (eval echo configure:9010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9010   rm -rf conftest*
9011   eval "ac_cv_func_$ac_func=yes"
9012 else
9013   echo "configure: failed program was:" >&5
9014   cat conftest.$ac_ext >&5
9015   rm -rf conftest*
9016   eval "ac_cv_func_$ac_func=no"
9017 fi
9018 rm -f conftest*
9019 fi
9020
9021 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9022   echo "$ac_t""yes" 1>&6
9023     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9024   cat >> confdefs.h <<EOF
9025 #define $ac_tr_func 1
9026 EOF
9027  
9028 else
9029   echo "$ac_t""no" 1>&6
9030 fi
9031 done
9032     
9033   fi
9034
9035   
9036   echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
9037 echo "configure:9038: checking for cosl declaration" >&5
9038   if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
9039   echo $ac_n "(cached) $ac_c" 1>&6
9040 else
9041   
9042     
9043     ac_ext=C
9044 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9045 ac_cpp='$CXXCPP $CPPFLAGS'
9046 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9047 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9048 cross_compiling=$ac_cv_prog_cxx_cross
9049
9050     cat > conftest.$ac_ext <<EOF
9051 #line 9052 "configure"
9052 #include "confdefs.h"
9053 #include <math.h>
9054 int main() {
9055  cosl(0);
9056 ; return 0; }
9057 EOF
9058 if { (eval echo configure:9059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9059   rm -rf conftest*
9060   glibcpp_cv_func_cosl_use=yes
9061 else
9062   echo "configure: failed program was:" >&5
9063   cat conftest.$ac_ext >&5
9064   rm -rf conftest*
9065   glibcpp_cv_func_cosl_use=no
9066 fi
9067 rm -f conftest*
9068     ac_ext=c
9069 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9070 ac_cpp='$CPP $CPPFLAGS'
9071 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9072 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9073 cross_compiling=$ac_cv_prog_cc_cross
9074
9075   
9076 fi
9077
9078   echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
9079   if test x$glibcpp_cv_func_cosl_use = x"yes"; then
9080     for ac_func in cosl
9081 do
9082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9083 echo "configure:9084: checking for $ac_func" >&5
9084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9085   echo $ac_n "(cached) $ac_c" 1>&6
9086 else
9087   cat > conftest.$ac_ext <<EOF
9088 #line 9089 "configure"
9089 #include "confdefs.h"
9090 /* System header to define __stub macros and hopefully few prototypes,
9091     which can conflict with char $ac_func(); below.  */
9092 #include <assert.h>
9093 /* Override any gcc2 internal prototype to avoid an error.  */
9094 /* We use char because int might match the return type of a gcc2
9095     builtin and then its argument prototype would still apply.  */
9096 char $ac_func();
9097
9098 int main() {
9099
9100 /* The GNU C library defines this for functions which it implements
9101     to always fail with ENOSYS.  Some functions are actually named
9102     something starting with __ and the normal name is an alias.  */
9103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9104 choke me
9105 #else
9106 $ac_func();
9107 #endif
9108
9109 ; return 0; }
9110 EOF
9111 if { (eval echo configure:9112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9112   rm -rf conftest*
9113   eval "ac_cv_func_$ac_func=yes"
9114 else
9115   echo "configure: failed program was:" >&5
9116   cat conftest.$ac_ext >&5
9117   rm -rf conftest*
9118   eval "ac_cv_func_$ac_func=no"
9119 fi
9120 rm -f conftest*
9121 fi
9122
9123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9124   echo "$ac_t""yes" 1>&6
9125     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9126   cat >> confdefs.h <<EOF
9127 #define $ac_tr_func 1
9128 EOF
9129  
9130 else
9131   echo "$ac_t""no" 1>&6
9132 fi
9133 done
9134     
9135   fi
9136
9137   
9138   echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9139 echo "configure:9140: checking for coshl declaration" >&5
9140   if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9141   echo $ac_n "(cached) $ac_c" 1>&6
9142 else
9143   
9144     
9145     ac_ext=C
9146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9147 ac_cpp='$CXXCPP $CPPFLAGS'
9148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9150 cross_compiling=$ac_cv_prog_cxx_cross
9151
9152     cat > conftest.$ac_ext <<EOF
9153 #line 9154 "configure"
9154 #include "confdefs.h"
9155 #include <math.h>
9156 int main() {
9157  coshl(0);
9158 ; return 0; }
9159 EOF
9160 if { (eval echo configure:9161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9161   rm -rf conftest*
9162   glibcpp_cv_func_coshl_use=yes
9163 else
9164   echo "configure: failed program was:" >&5
9165   cat conftest.$ac_ext >&5
9166   rm -rf conftest*
9167   glibcpp_cv_func_coshl_use=no
9168 fi
9169 rm -f conftest*
9170     ac_ext=c
9171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9172 ac_cpp='$CPP $CPPFLAGS'
9173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9175 cross_compiling=$ac_cv_prog_cc_cross
9176
9177   
9178 fi
9179
9180   echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9181   if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9182     for ac_func in coshl
9183 do
9184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9185 echo "configure:9186: checking for $ac_func" >&5
9186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9187   echo $ac_n "(cached) $ac_c" 1>&6
9188 else
9189   cat > conftest.$ac_ext <<EOF
9190 #line 9191 "configure"
9191 #include "confdefs.h"
9192 /* System header to define __stub macros and hopefully few prototypes,
9193     which can conflict with char $ac_func(); below.  */
9194 #include <assert.h>
9195 /* Override any gcc2 internal prototype to avoid an error.  */
9196 /* We use char because int might match the return type of a gcc2
9197     builtin and then its argument prototype would still apply.  */
9198 char $ac_func();
9199
9200 int main() {
9201
9202 /* The GNU C library defines this for functions which it implements
9203     to always fail with ENOSYS.  Some functions are actually named
9204     something starting with __ and the normal name is an alias.  */
9205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9206 choke me
9207 #else
9208 $ac_func();
9209 #endif
9210
9211 ; return 0; }
9212 EOF
9213 if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9214   rm -rf conftest*
9215   eval "ac_cv_func_$ac_func=yes"
9216 else
9217   echo "configure: failed program was:" >&5
9218   cat conftest.$ac_ext >&5
9219   rm -rf conftest*
9220   eval "ac_cv_func_$ac_func=no"
9221 fi
9222 rm -f conftest*
9223 fi
9224
9225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9226   echo "$ac_t""yes" 1>&6
9227     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9228   cat >> confdefs.h <<EOF
9229 #define $ac_tr_func 1
9230 EOF
9231  
9232 else
9233   echo "$ac_t""no" 1>&6
9234 fi
9235 done
9236     
9237   fi
9238
9239   
9240   echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9241 echo "configure:9242: checking for expl declaration" >&5
9242   if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9243   echo $ac_n "(cached) $ac_c" 1>&6
9244 else
9245   
9246     
9247     ac_ext=C
9248 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9249 ac_cpp='$CXXCPP $CPPFLAGS'
9250 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9251 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9252 cross_compiling=$ac_cv_prog_cxx_cross
9253
9254     cat > conftest.$ac_ext <<EOF
9255 #line 9256 "configure"
9256 #include "confdefs.h"
9257 #include <math.h>
9258 int main() {
9259  expl(0);
9260 ; return 0; }
9261 EOF
9262 if { (eval echo configure:9263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9263   rm -rf conftest*
9264   glibcpp_cv_func_expl_use=yes
9265 else
9266   echo "configure: failed program was:" >&5
9267   cat conftest.$ac_ext >&5
9268   rm -rf conftest*
9269   glibcpp_cv_func_expl_use=no
9270 fi
9271 rm -f conftest*
9272     ac_ext=c
9273 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9274 ac_cpp='$CPP $CPPFLAGS'
9275 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9276 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9277 cross_compiling=$ac_cv_prog_cc_cross
9278
9279   
9280 fi
9281
9282   echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9283   if test x$glibcpp_cv_func_expl_use = x"yes"; then
9284     for ac_func in expl
9285 do
9286 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9287 echo "configure:9288: checking for $ac_func" >&5
9288 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9289   echo $ac_n "(cached) $ac_c" 1>&6
9290 else
9291   cat > conftest.$ac_ext <<EOF
9292 #line 9293 "configure"
9293 #include "confdefs.h"
9294 /* System header to define __stub macros and hopefully few prototypes,
9295     which can conflict with char $ac_func(); below.  */
9296 #include <assert.h>
9297 /* Override any gcc2 internal prototype to avoid an error.  */
9298 /* We use char because int might match the return type of a gcc2
9299     builtin and then its argument prototype would still apply.  */
9300 char $ac_func();
9301
9302 int main() {
9303
9304 /* The GNU C library defines this for functions which it implements
9305     to always fail with ENOSYS.  Some functions are actually named
9306     something starting with __ and the normal name is an alias.  */
9307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9308 choke me
9309 #else
9310 $ac_func();
9311 #endif
9312
9313 ; return 0; }
9314 EOF
9315 if { (eval echo configure:9316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9316   rm -rf conftest*
9317   eval "ac_cv_func_$ac_func=yes"
9318 else
9319   echo "configure: failed program was:" >&5
9320   cat conftest.$ac_ext >&5
9321   rm -rf conftest*
9322   eval "ac_cv_func_$ac_func=no"
9323 fi
9324 rm -f conftest*
9325 fi
9326
9327 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9328   echo "$ac_t""yes" 1>&6
9329     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9330   cat >> confdefs.h <<EOF
9331 #define $ac_tr_func 1
9332 EOF
9333  
9334 else
9335   echo "$ac_t""no" 1>&6
9336 fi
9337 done
9338     
9339   fi
9340
9341   
9342   echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9343 echo "configure:9344: checking for fabsl declaration" >&5
9344   if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9345   echo $ac_n "(cached) $ac_c" 1>&6
9346 else
9347   
9348     
9349     ac_ext=C
9350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9351 ac_cpp='$CXXCPP $CPPFLAGS'
9352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9354 cross_compiling=$ac_cv_prog_cxx_cross
9355
9356     cat > conftest.$ac_ext <<EOF
9357 #line 9358 "configure"
9358 #include "confdefs.h"
9359 #include <math.h>
9360 int main() {
9361  fabsl(0);
9362 ; return 0; }
9363 EOF
9364 if { (eval echo configure:9365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9365   rm -rf conftest*
9366   glibcpp_cv_func_fabsl_use=yes
9367 else
9368   echo "configure: failed program was:" >&5
9369   cat conftest.$ac_ext >&5
9370   rm -rf conftest*
9371   glibcpp_cv_func_fabsl_use=no
9372 fi
9373 rm -f conftest*
9374     ac_ext=c
9375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9376 ac_cpp='$CPP $CPPFLAGS'
9377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9379 cross_compiling=$ac_cv_prog_cc_cross
9380
9381   
9382 fi
9383
9384   echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9385   if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9386     for ac_func in fabsl
9387 do
9388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9389 echo "configure:9390: checking for $ac_func" >&5
9390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9391   echo $ac_n "(cached) $ac_c" 1>&6
9392 else
9393   cat > conftest.$ac_ext <<EOF
9394 #line 9395 "configure"
9395 #include "confdefs.h"
9396 /* System header to define __stub macros and hopefully few prototypes,
9397     which can conflict with char $ac_func(); below.  */
9398 #include <assert.h>
9399 /* Override any gcc2 internal prototype to avoid an error.  */
9400 /* We use char because int might match the return type of a gcc2
9401     builtin and then its argument prototype would still apply.  */
9402 char $ac_func();
9403
9404 int main() {
9405
9406 /* The GNU C library defines this for functions which it implements
9407     to always fail with ENOSYS.  Some functions are actually named
9408     something starting with __ and the normal name is an alias.  */
9409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9410 choke me
9411 #else
9412 $ac_func();
9413 #endif
9414
9415 ; return 0; }
9416 EOF
9417 if { (eval echo configure:9418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9418   rm -rf conftest*
9419   eval "ac_cv_func_$ac_func=yes"
9420 else
9421   echo "configure: failed program was:" >&5
9422   cat conftest.$ac_ext >&5
9423   rm -rf conftest*
9424   eval "ac_cv_func_$ac_func=no"
9425 fi
9426 rm -f conftest*
9427 fi
9428
9429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9430   echo "$ac_t""yes" 1>&6
9431     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9432   cat >> confdefs.h <<EOF
9433 #define $ac_tr_func 1
9434 EOF
9435  
9436 else
9437   echo "$ac_t""no" 1>&6
9438 fi
9439 done
9440     
9441   fi
9442
9443   
9444   echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9445 echo "configure:9446: checking for floorl declaration" >&5
9446   if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9447   echo $ac_n "(cached) $ac_c" 1>&6
9448 else
9449   
9450     
9451     ac_ext=C
9452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9453 ac_cpp='$CXXCPP $CPPFLAGS'
9454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9456 cross_compiling=$ac_cv_prog_cxx_cross
9457
9458     cat > conftest.$ac_ext <<EOF
9459 #line 9460 "configure"
9460 #include "confdefs.h"
9461 #include <math.h>
9462 int main() {
9463  floorl(0);
9464 ; return 0; }
9465 EOF
9466 if { (eval echo configure:9467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9467   rm -rf conftest*
9468   glibcpp_cv_func_floorl_use=yes
9469 else
9470   echo "configure: failed program was:" >&5
9471   cat conftest.$ac_ext >&5
9472   rm -rf conftest*
9473   glibcpp_cv_func_floorl_use=no
9474 fi
9475 rm -f conftest*
9476     ac_ext=c
9477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9478 ac_cpp='$CPP $CPPFLAGS'
9479 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9480 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9481 cross_compiling=$ac_cv_prog_cc_cross
9482
9483   
9484 fi
9485
9486   echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9487   if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9488     for ac_func in floorl
9489 do
9490 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9491 echo "configure:9492: checking for $ac_func" >&5
9492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9493   echo $ac_n "(cached) $ac_c" 1>&6
9494 else
9495   cat > conftest.$ac_ext <<EOF
9496 #line 9497 "configure"
9497 #include "confdefs.h"
9498 /* System header to define __stub macros and hopefully few prototypes,
9499     which can conflict with char $ac_func(); below.  */
9500 #include <assert.h>
9501 /* Override any gcc2 internal prototype to avoid an error.  */
9502 /* We use char because int might match the return type of a gcc2
9503     builtin and then its argument prototype would still apply.  */
9504 char $ac_func();
9505
9506 int main() {
9507
9508 /* The GNU C library defines this for functions which it implements
9509     to always fail with ENOSYS.  Some functions are actually named
9510     something starting with __ and the normal name is an alias.  */
9511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9512 choke me
9513 #else
9514 $ac_func();
9515 #endif
9516
9517 ; return 0; }
9518 EOF
9519 if { (eval echo configure:9520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9520   rm -rf conftest*
9521   eval "ac_cv_func_$ac_func=yes"
9522 else
9523   echo "configure: failed program was:" >&5
9524   cat conftest.$ac_ext >&5
9525   rm -rf conftest*
9526   eval "ac_cv_func_$ac_func=no"
9527 fi
9528 rm -f conftest*
9529 fi
9530
9531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9532   echo "$ac_t""yes" 1>&6
9533     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9534   cat >> confdefs.h <<EOF
9535 #define $ac_tr_func 1
9536 EOF
9537  
9538 else
9539   echo "$ac_t""no" 1>&6
9540 fi
9541 done
9542     
9543   fi
9544
9545   
9546   echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9547 echo "configure:9548: checking for fmodl declaration" >&5
9548   if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9549   echo $ac_n "(cached) $ac_c" 1>&6
9550 else
9551   
9552     
9553     ac_ext=C
9554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9555 ac_cpp='$CXXCPP $CPPFLAGS'
9556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9558 cross_compiling=$ac_cv_prog_cxx_cross
9559
9560     cat > conftest.$ac_ext <<EOF
9561 #line 9562 "configure"
9562 #include "confdefs.h"
9563 #include <math.h>
9564 int main() {
9565  fmodl(0, 0);
9566 ; return 0; }
9567 EOF
9568 if { (eval echo configure:9569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9569   rm -rf conftest*
9570   glibcpp_cv_func_fmodl_use=yes
9571 else
9572   echo "configure: failed program was:" >&5
9573   cat conftest.$ac_ext >&5
9574   rm -rf conftest*
9575   glibcpp_cv_func_fmodl_use=no
9576 fi
9577 rm -f conftest*
9578     ac_ext=c
9579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9580 ac_cpp='$CPP $CPPFLAGS'
9581 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9582 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9583 cross_compiling=$ac_cv_prog_cc_cross
9584
9585   
9586 fi
9587
9588   echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9589   if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9590     for ac_func in fmodl
9591 do
9592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9593 echo "configure:9594: checking for $ac_func" >&5
9594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9595   echo $ac_n "(cached) $ac_c" 1>&6
9596 else
9597   cat > conftest.$ac_ext <<EOF
9598 #line 9599 "configure"
9599 #include "confdefs.h"
9600 /* System header to define __stub macros and hopefully few prototypes,
9601     which can conflict with char $ac_func(); below.  */
9602 #include <assert.h>
9603 /* Override any gcc2 internal prototype to avoid an error.  */
9604 /* We use char because int might match the return type of a gcc2
9605     builtin and then its argument prototype would still apply.  */
9606 char $ac_func();
9607
9608 int main() {
9609
9610 /* The GNU C library defines this for functions which it implements
9611     to always fail with ENOSYS.  Some functions are actually named
9612     something starting with __ and the normal name is an alias.  */
9613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9614 choke me
9615 #else
9616 $ac_func();
9617 #endif
9618
9619 ; return 0; }
9620 EOF
9621 if { (eval echo configure:9622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9622   rm -rf conftest*
9623   eval "ac_cv_func_$ac_func=yes"
9624 else
9625   echo "configure: failed program was:" >&5
9626   cat conftest.$ac_ext >&5
9627   rm -rf conftest*
9628   eval "ac_cv_func_$ac_func=no"
9629 fi
9630 rm -f conftest*
9631 fi
9632
9633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9634   echo "$ac_t""yes" 1>&6
9635     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9636   cat >> confdefs.h <<EOF
9637 #define $ac_tr_func 1
9638 EOF
9639  
9640 else
9641   echo "$ac_t""no" 1>&6
9642 fi
9643 done
9644     
9645   fi
9646
9647   
9648   echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9649 echo "configure:9650: checking for frexpl declaration" >&5
9650   if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9651   echo $ac_n "(cached) $ac_c" 1>&6
9652 else
9653   
9654     
9655     ac_ext=C
9656 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9657 ac_cpp='$CXXCPP $CPPFLAGS'
9658 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9659 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9660 cross_compiling=$ac_cv_prog_cxx_cross
9661
9662     cat > conftest.$ac_ext <<EOF
9663 #line 9664 "configure"
9664 #include "confdefs.h"
9665 #include <math.h>
9666 int main() {
9667  frexpl(0, 0);
9668 ; return 0; }
9669 EOF
9670 if { (eval echo configure:9671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9671   rm -rf conftest*
9672   glibcpp_cv_func_frexpl_use=yes
9673 else
9674   echo "configure: failed program was:" >&5
9675   cat conftest.$ac_ext >&5
9676   rm -rf conftest*
9677   glibcpp_cv_func_frexpl_use=no
9678 fi
9679 rm -f conftest*
9680     ac_ext=c
9681 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9682 ac_cpp='$CPP $CPPFLAGS'
9683 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9684 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9685 cross_compiling=$ac_cv_prog_cc_cross
9686
9687   
9688 fi
9689
9690   echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9691   if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9692     for ac_func in frexpl
9693 do
9694 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9695 echo "configure:9696: checking for $ac_func" >&5
9696 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9697   echo $ac_n "(cached) $ac_c" 1>&6
9698 else
9699   cat > conftest.$ac_ext <<EOF
9700 #line 9701 "configure"
9701 #include "confdefs.h"
9702 /* System header to define __stub macros and hopefully few prototypes,
9703     which can conflict with char $ac_func(); below.  */
9704 #include <assert.h>
9705 /* Override any gcc2 internal prototype to avoid an error.  */
9706 /* We use char because int might match the return type of a gcc2
9707     builtin and then its argument prototype would still apply.  */
9708 char $ac_func();
9709
9710 int main() {
9711
9712 /* The GNU C library defines this for functions which it implements
9713     to always fail with ENOSYS.  Some functions are actually named
9714     something starting with __ and the normal name is an alias.  */
9715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9716 choke me
9717 #else
9718 $ac_func();
9719 #endif
9720
9721 ; return 0; }
9722 EOF
9723 if { (eval echo configure:9724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9724   rm -rf conftest*
9725   eval "ac_cv_func_$ac_func=yes"
9726 else
9727   echo "configure: failed program was:" >&5
9728   cat conftest.$ac_ext >&5
9729   rm -rf conftest*
9730   eval "ac_cv_func_$ac_func=no"
9731 fi
9732 rm -f conftest*
9733 fi
9734
9735 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9736   echo "$ac_t""yes" 1>&6
9737     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9738   cat >> confdefs.h <<EOF
9739 #define $ac_tr_func 1
9740 EOF
9741  
9742 else
9743   echo "$ac_t""no" 1>&6
9744 fi
9745 done
9746     
9747   fi
9748
9749   
9750   echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9751 echo "configure:9752: checking for ldexpl declaration" >&5
9752   if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9753   echo $ac_n "(cached) $ac_c" 1>&6
9754 else
9755   
9756     
9757     ac_ext=C
9758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9759 ac_cpp='$CXXCPP $CPPFLAGS'
9760 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9761 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9762 cross_compiling=$ac_cv_prog_cxx_cross
9763
9764     cat > conftest.$ac_ext <<EOF
9765 #line 9766 "configure"
9766 #include "confdefs.h"
9767 #include <math.h>
9768 int main() {
9769  ldexpl(0, 0);
9770 ; return 0; }
9771 EOF
9772 if { (eval echo configure:9773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9773   rm -rf conftest*
9774   glibcpp_cv_func_ldexpl_use=yes
9775 else
9776   echo "configure: failed program was:" >&5
9777   cat conftest.$ac_ext >&5
9778   rm -rf conftest*
9779   glibcpp_cv_func_ldexpl_use=no
9780 fi
9781 rm -f conftest*
9782     ac_ext=c
9783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9784 ac_cpp='$CPP $CPPFLAGS'
9785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9787 cross_compiling=$ac_cv_prog_cc_cross
9788
9789   
9790 fi
9791
9792   echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9793   if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9794     for ac_func in ldexpl
9795 do
9796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9797 echo "configure:9798: checking for $ac_func" >&5
9798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9799   echo $ac_n "(cached) $ac_c" 1>&6
9800 else
9801   cat > conftest.$ac_ext <<EOF
9802 #line 9803 "configure"
9803 #include "confdefs.h"
9804 /* System header to define __stub macros and hopefully few prototypes,
9805     which can conflict with char $ac_func(); below.  */
9806 #include <assert.h>
9807 /* Override any gcc2 internal prototype to avoid an error.  */
9808 /* We use char because int might match the return type of a gcc2
9809     builtin and then its argument prototype would still apply.  */
9810 char $ac_func();
9811
9812 int main() {
9813
9814 /* The GNU C library defines this for functions which it implements
9815     to always fail with ENOSYS.  Some functions are actually named
9816     something starting with __ and the normal name is an alias.  */
9817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9818 choke me
9819 #else
9820 $ac_func();
9821 #endif
9822
9823 ; return 0; }
9824 EOF
9825 if { (eval echo configure:9826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9826   rm -rf conftest*
9827   eval "ac_cv_func_$ac_func=yes"
9828 else
9829   echo "configure: failed program was:" >&5
9830   cat conftest.$ac_ext >&5
9831   rm -rf conftest*
9832   eval "ac_cv_func_$ac_func=no"
9833 fi
9834 rm -f conftest*
9835 fi
9836
9837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9838   echo "$ac_t""yes" 1>&6
9839     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9840   cat >> confdefs.h <<EOF
9841 #define $ac_tr_func 1
9842 EOF
9843  
9844 else
9845   echo "$ac_t""no" 1>&6
9846 fi
9847 done
9848     
9849   fi
9850
9851   
9852   echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9853 echo "configure:9854: checking for logl declaration" >&5
9854   if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9855   echo $ac_n "(cached) $ac_c" 1>&6
9856 else
9857   
9858     
9859     ac_ext=C
9860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9861 ac_cpp='$CXXCPP $CPPFLAGS'
9862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9864 cross_compiling=$ac_cv_prog_cxx_cross
9865
9866     cat > conftest.$ac_ext <<EOF
9867 #line 9868 "configure"
9868 #include "confdefs.h"
9869 #include <math.h>
9870 int main() {
9871  logl(0);
9872 ; return 0; }
9873 EOF
9874 if { (eval echo configure:9875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9875   rm -rf conftest*
9876   glibcpp_cv_func_logl_use=yes
9877 else
9878   echo "configure: failed program was:" >&5
9879   cat conftest.$ac_ext >&5
9880   rm -rf conftest*
9881   glibcpp_cv_func_logl_use=no
9882 fi
9883 rm -f conftest*
9884     ac_ext=c
9885 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9886 ac_cpp='$CPP $CPPFLAGS'
9887 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9888 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9889 cross_compiling=$ac_cv_prog_cc_cross
9890
9891   
9892 fi
9893
9894   echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9895   if test x$glibcpp_cv_func_logl_use = x"yes"; then
9896     for ac_func in logl
9897 do
9898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9899 echo "configure:9900: checking for $ac_func" >&5
9900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9901   echo $ac_n "(cached) $ac_c" 1>&6
9902 else
9903   cat > conftest.$ac_ext <<EOF
9904 #line 9905 "configure"
9905 #include "confdefs.h"
9906 /* System header to define __stub macros and hopefully few prototypes,
9907     which can conflict with char $ac_func(); below.  */
9908 #include <assert.h>
9909 /* Override any gcc2 internal prototype to avoid an error.  */
9910 /* We use char because int might match the return type of a gcc2
9911     builtin and then its argument prototype would still apply.  */
9912 char $ac_func();
9913
9914 int main() {
9915
9916 /* The GNU C library defines this for functions which it implements
9917     to always fail with ENOSYS.  Some functions are actually named
9918     something starting with __ and the normal name is an alias.  */
9919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9920 choke me
9921 #else
9922 $ac_func();
9923 #endif
9924
9925 ; return 0; }
9926 EOF
9927 if { (eval echo configure:9928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9928   rm -rf conftest*
9929   eval "ac_cv_func_$ac_func=yes"
9930 else
9931   echo "configure: failed program was:" >&5
9932   cat conftest.$ac_ext >&5
9933   rm -rf conftest*
9934   eval "ac_cv_func_$ac_func=no"
9935 fi
9936 rm -f conftest*
9937 fi
9938
9939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9940   echo "$ac_t""yes" 1>&6
9941     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9942   cat >> confdefs.h <<EOF
9943 #define $ac_tr_func 1
9944 EOF
9945  
9946 else
9947   echo "$ac_t""no" 1>&6
9948 fi
9949 done
9950     
9951   fi
9952
9953   
9954   echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9955 echo "configure:9956: checking for log10l declaration" >&5
9956   if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9957   echo $ac_n "(cached) $ac_c" 1>&6
9958 else
9959   
9960     
9961     ac_ext=C
9962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9963 ac_cpp='$CXXCPP $CPPFLAGS'
9964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9966 cross_compiling=$ac_cv_prog_cxx_cross
9967
9968     cat > conftest.$ac_ext <<EOF
9969 #line 9970 "configure"
9970 #include "confdefs.h"
9971 #include <math.h>
9972 int main() {
9973  log10l(0);
9974 ; return 0; }
9975 EOF
9976 if { (eval echo configure:9977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9977   rm -rf conftest*
9978   glibcpp_cv_func_log10l_use=yes
9979 else
9980   echo "configure: failed program was:" >&5
9981   cat conftest.$ac_ext >&5
9982   rm -rf conftest*
9983   glibcpp_cv_func_log10l_use=no
9984 fi
9985 rm -f conftest*
9986     ac_ext=c
9987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9988 ac_cpp='$CPP $CPPFLAGS'
9989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9991 cross_compiling=$ac_cv_prog_cc_cross
9992
9993   
9994 fi
9995
9996   echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
9997   if test x$glibcpp_cv_func_log10l_use = x"yes"; then
9998     for ac_func in log10l
9999 do
10000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10001 echo "configure:10002: checking for $ac_func" >&5
10002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10003   echo $ac_n "(cached) $ac_c" 1>&6
10004 else
10005   cat > conftest.$ac_ext <<EOF
10006 #line 10007 "configure"
10007 #include "confdefs.h"
10008 /* System header to define __stub macros and hopefully few prototypes,
10009     which can conflict with char $ac_func(); below.  */
10010 #include <assert.h>
10011 /* Override any gcc2 internal prototype to avoid an error.  */
10012 /* We use char because int might match the return type of a gcc2
10013     builtin and then its argument prototype would still apply.  */
10014 char $ac_func();
10015
10016 int main() {
10017
10018 /* The GNU C library defines this for functions which it implements
10019     to always fail with ENOSYS.  Some functions are actually named
10020     something starting with __ and the normal name is an alias.  */
10021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10022 choke me
10023 #else
10024 $ac_func();
10025 #endif
10026
10027 ; return 0; }
10028 EOF
10029 if { (eval echo configure:10030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10030   rm -rf conftest*
10031   eval "ac_cv_func_$ac_func=yes"
10032 else
10033   echo "configure: failed program was:" >&5
10034   cat conftest.$ac_ext >&5
10035   rm -rf conftest*
10036   eval "ac_cv_func_$ac_func=no"
10037 fi
10038 rm -f conftest*
10039 fi
10040
10041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10042   echo "$ac_t""yes" 1>&6
10043     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10044   cat >> confdefs.h <<EOF
10045 #define $ac_tr_func 1
10046 EOF
10047  
10048 else
10049   echo "$ac_t""no" 1>&6
10050 fi
10051 done
10052     
10053   fi
10054
10055   
10056   echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
10057 echo "configure:10058: checking for modfl declaration" >&5
10058   if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
10059   echo $ac_n "(cached) $ac_c" 1>&6
10060 else
10061   
10062     
10063     ac_ext=C
10064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10065 ac_cpp='$CXXCPP $CPPFLAGS'
10066 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10067 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10068 cross_compiling=$ac_cv_prog_cxx_cross
10069
10070     cat > conftest.$ac_ext <<EOF
10071 #line 10072 "configure"
10072 #include "confdefs.h"
10073 #include <math.h>
10074 int main() {
10075  modfl(0, 0);
10076 ; return 0; }
10077 EOF
10078 if { (eval echo configure:10079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10079   rm -rf conftest*
10080   glibcpp_cv_func_modfl_use=yes
10081 else
10082   echo "configure: failed program was:" >&5
10083   cat conftest.$ac_ext >&5
10084   rm -rf conftest*
10085   glibcpp_cv_func_modfl_use=no
10086 fi
10087 rm -f conftest*
10088     ac_ext=c
10089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10090 ac_cpp='$CPP $CPPFLAGS'
10091 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10092 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10093 cross_compiling=$ac_cv_prog_cc_cross
10094
10095   
10096 fi
10097
10098   echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
10099   if test x$glibcpp_cv_func_modfl_use = x"yes"; then
10100     for ac_func in modfl
10101 do
10102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10103 echo "configure:10104: checking for $ac_func" >&5
10104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10105   echo $ac_n "(cached) $ac_c" 1>&6
10106 else
10107   cat > conftest.$ac_ext <<EOF
10108 #line 10109 "configure"
10109 #include "confdefs.h"
10110 /* System header to define __stub macros and hopefully few prototypes,
10111     which can conflict with char $ac_func(); below.  */
10112 #include <assert.h>
10113 /* Override any gcc2 internal prototype to avoid an error.  */
10114 /* We use char because int might match the return type of a gcc2
10115     builtin and then its argument prototype would still apply.  */
10116 char $ac_func();
10117
10118 int main() {
10119
10120 /* The GNU C library defines this for functions which it implements
10121     to always fail with ENOSYS.  Some functions are actually named
10122     something starting with __ and the normal name is an alias.  */
10123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10124 choke me
10125 #else
10126 $ac_func();
10127 #endif
10128
10129 ; return 0; }
10130 EOF
10131 if { (eval echo configure:10132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10132   rm -rf conftest*
10133   eval "ac_cv_func_$ac_func=yes"
10134 else
10135   echo "configure: failed program was:" >&5
10136   cat conftest.$ac_ext >&5
10137   rm -rf conftest*
10138   eval "ac_cv_func_$ac_func=no"
10139 fi
10140 rm -f conftest*
10141 fi
10142
10143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10144   echo "$ac_t""yes" 1>&6
10145     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10146   cat >> confdefs.h <<EOF
10147 #define $ac_tr_func 1
10148 EOF
10149  
10150 else
10151   echo "$ac_t""no" 1>&6
10152 fi
10153 done
10154     
10155   fi
10156
10157   
10158   echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10159 echo "configure:10160: checking for powl declaration" >&5
10160   if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10161   echo $ac_n "(cached) $ac_c" 1>&6
10162 else
10163   
10164     
10165     ac_ext=C
10166 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10167 ac_cpp='$CXXCPP $CPPFLAGS'
10168 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10169 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10170 cross_compiling=$ac_cv_prog_cxx_cross
10171
10172     cat > conftest.$ac_ext <<EOF
10173 #line 10174 "configure"
10174 #include "confdefs.h"
10175 #include <math.h>
10176 int main() {
10177  powl(0, 0);
10178 ; return 0; }
10179 EOF
10180 if { (eval echo configure:10181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10181   rm -rf conftest*
10182   glibcpp_cv_func_powl_use=yes
10183 else
10184   echo "configure: failed program was:" >&5
10185   cat conftest.$ac_ext >&5
10186   rm -rf conftest*
10187   glibcpp_cv_func_powl_use=no
10188 fi
10189 rm -f conftest*
10190     ac_ext=c
10191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10192 ac_cpp='$CPP $CPPFLAGS'
10193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10195 cross_compiling=$ac_cv_prog_cc_cross
10196
10197   
10198 fi
10199
10200   echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10201   if test x$glibcpp_cv_func_powl_use = x"yes"; then
10202     for ac_func in powl
10203 do
10204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10205 echo "configure:10206: checking for $ac_func" >&5
10206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10207   echo $ac_n "(cached) $ac_c" 1>&6
10208 else
10209   cat > conftest.$ac_ext <<EOF
10210 #line 10211 "configure"
10211 #include "confdefs.h"
10212 /* System header to define __stub macros and hopefully few prototypes,
10213     which can conflict with char $ac_func(); below.  */
10214 #include <assert.h>
10215 /* Override any gcc2 internal prototype to avoid an error.  */
10216 /* We use char because int might match the return type of a gcc2
10217     builtin and then its argument prototype would still apply.  */
10218 char $ac_func();
10219
10220 int main() {
10221
10222 /* The GNU C library defines this for functions which it implements
10223     to always fail with ENOSYS.  Some functions are actually named
10224     something starting with __ and the normal name is an alias.  */
10225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10226 choke me
10227 #else
10228 $ac_func();
10229 #endif
10230
10231 ; return 0; }
10232 EOF
10233 if { (eval echo configure:10234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10234   rm -rf conftest*
10235   eval "ac_cv_func_$ac_func=yes"
10236 else
10237   echo "configure: failed program was:" >&5
10238   cat conftest.$ac_ext >&5
10239   rm -rf conftest*
10240   eval "ac_cv_func_$ac_func=no"
10241 fi
10242 rm -f conftest*
10243 fi
10244
10245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10246   echo "$ac_t""yes" 1>&6
10247     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10248   cat >> confdefs.h <<EOF
10249 #define $ac_tr_func 1
10250 EOF
10251  
10252 else
10253   echo "$ac_t""no" 1>&6
10254 fi
10255 done
10256     
10257   fi
10258
10259   
10260   echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10261 echo "configure:10262: checking for sinl declaration" >&5
10262   if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10263   echo $ac_n "(cached) $ac_c" 1>&6
10264 else
10265   
10266     
10267     ac_ext=C
10268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10269 ac_cpp='$CXXCPP $CPPFLAGS'
10270 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10271 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10272 cross_compiling=$ac_cv_prog_cxx_cross
10273
10274     cat > conftest.$ac_ext <<EOF
10275 #line 10276 "configure"
10276 #include "confdefs.h"
10277 #include <math.h>
10278 int main() {
10279  sinl(0);
10280 ; return 0; }
10281 EOF
10282 if { (eval echo configure:10283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10283   rm -rf conftest*
10284   glibcpp_cv_func_sinl_use=yes
10285 else
10286   echo "configure: failed program was:" >&5
10287   cat conftest.$ac_ext >&5
10288   rm -rf conftest*
10289   glibcpp_cv_func_sinl_use=no
10290 fi
10291 rm -f conftest*
10292     ac_ext=c
10293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10294 ac_cpp='$CPP $CPPFLAGS'
10295 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10296 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10297 cross_compiling=$ac_cv_prog_cc_cross
10298
10299   
10300 fi
10301
10302   echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10303   if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10304     for ac_func in sinl
10305 do
10306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10307 echo "configure:10308: checking for $ac_func" >&5
10308 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10309   echo $ac_n "(cached) $ac_c" 1>&6
10310 else
10311   cat > conftest.$ac_ext <<EOF
10312 #line 10313 "configure"
10313 #include "confdefs.h"
10314 /* System header to define __stub macros and hopefully few prototypes,
10315     which can conflict with char $ac_func(); below.  */
10316 #include <assert.h>
10317 /* Override any gcc2 internal prototype to avoid an error.  */
10318 /* We use char because int might match the return type of a gcc2
10319     builtin and then its argument prototype would still apply.  */
10320 char $ac_func();
10321
10322 int main() {
10323
10324 /* The GNU C library defines this for functions which it implements
10325     to always fail with ENOSYS.  Some functions are actually named
10326     something starting with __ and the normal name is an alias.  */
10327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10328 choke me
10329 #else
10330 $ac_func();
10331 #endif
10332
10333 ; return 0; }
10334 EOF
10335 if { (eval echo configure:10336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10336   rm -rf conftest*
10337   eval "ac_cv_func_$ac_func=yes"
10338 else
10339   echo "configure: failed program was:" >&5
10340   cat conftest.$ac_ext >&5
10341   rm -rf conftest*
10342   eval "ac_cv_func_$ac_func=no"
10343 fi
10344 rm -f conftest*
10345 fi
10346
10347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10348   echo "$ac_t""yes" 1>&6
10349     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10350   cat >> confdefs.h <<EOF
10351 #define $ac_tr_func 1
10352 EOF
10353  
10354 else
10355   echo "$ac_t""no" 1>&6
10356 fi
10357 done
10358     
10359   fi
10360
10361   
10362   echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10363 echo "configure:10364: checking for sinhl declaration" >&5
10364   if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10365   echo $ac_n "(cached) $ac_c" 1>&6
10366 else
10367   
10368     
10369     ac_ext=C
10370 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10371 ac_cpp='$CXXCPP $CPPFLAGS'
10372 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10373 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10374 cross_compiling=$ac_cv_prog_cxx_cross
10375
10376     cat > conftest.$ac_ext <<EOF
10377 #line 10378 "configure"
10378 #include "confdefs.h"
10379 #include <math.h>
10380 int main() {
10381  sinhl(0);
10382 ; return 0; }
10383 EOF
10384 if { (eval echo configure:10385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10385   rm -rf conftest*
10386   glibcpp_cv_func_sinhl_use=yes
10387 else
10388   echo "configure: failed program was:" >&5
10389   cat conftest.$ac_ext >&5
10390   rm -rf conftest*
10391   glibcpp_cv_func_sinhl_use=no
10392 fi
10393 rm -f conftest*
10394     ac_ext=c
10395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10396 ac_cpp='$CPP $CPPFLAGS'
10397 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10398 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10399 cross_compiling=$ac_cv_prog_cc_cross
10400
10401   
10402 fi
10403
10404   echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10405   if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10406     for ac_func in sinhl
10407 do
10408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10409 echo "configure:10410: checking for $ac_func" >&5
10410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10411   echo $ac_n "(cached) $ac_c" 1>&6
10412 else
10413   cat > conftest.$ac_ext <<EOF
10414 #line 10415 "configure"
10415 #include "confdefs.h"
10416 /* System header to define __stub macros and hopefully few prototypes,
10417     which can conflict with char $ac_func(); below.  */
10418 #include <assert.h>
10419 /* Override any gcc2 internal prototype to avoid an error.  */
10420 /* We use char because int might match the return type of a gcc2
10421     builtin and then its argument prototype would still apply.  */
10422 char $ac_func();
10423
10424 int main() {
10425
10426 /* The GNU C library defines this for functions which it implements
10427     to always fail with ENOSYS.  Some functions are actually named
10428     something starting with __ and the normal name is an alias.  */
10429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10430 choke me
10431 #else
10432 $ac_func();
10433 #endif
10434
10435 ; return 0; }
10436 EOF
10437 if { (eval echo configure:10438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10438   rm -rf conftest*
10439   eval "ac_cv_func_$ac_func=yes"
10440 else
10441   echo "configure: failed program was:" >&5
10442   cat conftest.$ac_ext >&5
10443   rm -rf conftest*
10444   eval "ac_cv_func_$ac_func=no"
10445 fi
10446 rm -f conftest*
10447 fi
10448
10449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10450   echo "$ac_t""yes" 1>&6
10451     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10452   cat >> confdefs.h <<EOF
10453 #define $ac_tr_func 1
10454 EOF
10455  
10456 else
10457   echo "$ac_t""no" 1>&6
10458 fi
10459 done
10460     
10461   fi
10462
10463   
10464   echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10465 echo "configure:10466: checking for sqrtl declaration" >&5
10466   if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10467   echo $ac_n "(cached) $ac_c" 1>&6
10468 else
10469   
10470     
10471     ac_ext=C
10472 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10473 ac_cpp='$CXXCPP $CPPFLAGS'
10474 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10475 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10476 cross_compiling=$ac_cv_prog_cxx_cross
10477
10478     cat > conftest.$ac_ext <<EOF
10479 #line 10480 "configure"
10480 #include "confdefs.h"
10481 #include <math.h>
10482 int main() {
10483  sqrtl(0);
10484 ; return 0; }
10485 EOF
10486 if { (eval echo configure:10487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10487   rm -rf conftest*
10488   glibcpp_cv_func_sqrtl_use=yes
10489 else
10490   echo "configure: failed program was:" >&5
10491   cat conftest.$ac_ext >&5
10492   rm -rf conftest*
10493   glibcpp_cv_func_sqrtl_use=no
10494 fi
10495 rm -f conftest*
10496     ac_ext=c
10497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10498 ac_cpp='$CPP $CPPFLAGS'
10499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10501 cross_compiling=$ac_cv_prog_cc_cross
10502
10503   
10504 fi
10505
10506   echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10507   if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10508     for ac_func in sqrtl
10509 do
10510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10511 echo "configure:10512: checking for $ac_func" >&5
10512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10513   echo $ac_n "(cached) $ac_c" 1>&6
10514 else
10515   cat > conftest.$ac_ext <<EOF
10516 #line 10517 "configure"
10517 #include "confdefs.h"
10518 /* System header to define __stub macros and hopefully few prototypes,
10519     which can conflict with char $ac_func(); below.  */
10520 #include <assert.h>
10521 /* Override any gcc2 internal prototype to avoid an error.  */
10522 /* We use char because int might match the return type of a gcc2
10523     builtin and then its argument prototype would still apply.  */
10524 char $ac_func();
10525
10526 int main() {
10527
10528 /* The GNU C library defines this for functions which it implements
10529     to always fail with ENOSYS.  Some functions are actually named
10530     something starting with __ and the normal name is an alias.  */
10531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10532 choke me
10533 #else
10534 $ac_func();
10535 #endif
10536
10537 ; return 0; }
10538 EOF
10539 if { (eval echo configure:10540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10540   rm -rf conftest*
10541   eval "ac_cv_func_$ac_func=yes"
10542 else
10543   echo "configure: failed program was:" >&5
10544   cat conftest.$ac_ext >&5
10545   rm -rf conftest*
10546   eval "ac_cv_func_$ac_func=no"
10547 fi
10548 rm -f conftest*
10549 fi
10550
10551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10552   echo "$ac_t""yes" 1>&6
10553     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10554   cat >> confdefs.h <<EOF
10555 #define $ac_tr_func 1
10556 EOF
10557  
10558 else
10559   echo "$ac_t""no" 1>&6
10560 fi
10561 done
10562     
10563   fi
10564
10565   
10566   echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10567 echo "configure:10568: checking for tanl declaration" >&5
10568   if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10569   echo $ac_n "(cached) $ac_c" 1>&6
10570 else
10571   
10572     
10573     ac_ext=C
10574 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10575 ac_cpp='$CXXCPP $CPPFLAGS'
10576 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10577 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10578 cross_compiling=$ac_cv_prog_cxx_cross
10579
10580     cat > conftest.$ac_ext <<EOF
10581 #line 10582 "configure"
10582 #include "confdefs.h"
10583 #include <math.h>
10584 int main() {
10585  tanl(0);
10586 ; return 0; }
10587 EOF
10588 if { (eval echo configure:10589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10589   rm -rf conftest*
10590   glibcpp_cv_func_tanl_use=yes
10591 else
10592   echo "configure: failed program was:" >&5
10593   cat conftest.$ac_ext >&5
10594   rm -rf conftest*
10595   glibcpp_cv_func_tanl_use=no
10596 fi
10597 rm -f conftest*
10598     ac_ext=c
10599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10600 ac_cpp='$CPP $CPPFLAGS'
10601 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10602 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10603 cross_compiling=$ac_cv_prog_cc_cross
10604
10605   
10606 fi
10607
10608   echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10609   if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10610     for ac_func in tanl
10611 do
10612 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10613 echo "configure:10614: checking for $ac_func" >&5
10614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10615   echo $ac_n "(cached) $ac_c" 1>&6
10616 else
10617   cat > conftest.$ac_ext <<EOF
10618 #line 10619 "configure"
10619 #include "confdefs.h"
10620 /* System header to define __stub macros and hopefully few prototypes,
10621     which can conflict with char $ac_func(); below.  */
10622 #include <assert.h>
10623 /* Override any gcc2 internal prototype to avoid an error.  */
10624 /* We use char because int might match the return type of a gcc2
10625     builtin and then its argument prototype would still apply.  */
10626 char $ac_func();
10627
10628 int main() {
10629
10630 /* The GNU C library defines this for functions which it implements
10631     to always fail with ENOSYS.  Some functions are actually named
10632     something starting with __ and the normal name is an alias.  */
10633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10634 choke me
10635 #else
10636 $ac_func();
10637 #endif
10638
10639 ; return 0; }
10640 EOF
10641 if { (eval echo configure:10642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10642   rm -rf conftest*
10643   eval "ac_cv_func_$ac_func=yes"
10644 else
10645   echo "configure: failed program was:" >&5
10646   cat conftest.$ac_ext >&5
10647   rm -rf conftest*
10648   eval "ac_cv_func_$ac_func=no"
10649 fi
10650 rm -f conftest*
10651 fi
10652
10653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10654   echo "$ac_t""yes" 1>&6
10655     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10656   cat >> confdefs.h <<EOF
10657 #define $ac_tr_func 1
10658 EOF
10659  
10660 else
10661   echo "$ac_t""no" 1>&6
10662 fi
10663 done
10664     
10665   fi
10666
10667   
10668   echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10669 echo "configure:10670: checking for tanhl declaration" >&5
10670   if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10671   echo $ac_n "(cached) $ac_c" 1>&6
10672 else
10673   
10674     
10675     ac_ext=C
10676 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10677 ac_cpp='$CXXCPP $CPPFLAGS'
10678 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10679 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10680 cross_compiling=$ac_cv_prog_cxx_cross
10681
10682     cat > conftest.$ac_ext <<EOF
10683 #line 10684 "configure"
10684 #include "confdefs.h"
10685 #include <math.h>
10686 int main() {
10687  tanhl(0);
10688 ; return 0; }
10689 EOF
10690 if { (eval echo configure:10691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10691   rm -rf conftest*
10692   glibcpp_cv_func_tanhl_use=yes
10693 else
10694   echo "configure: failed program was:" >&5
10695   cat conftest.$ac_ext >&5
10696   rm -rf conftest*
10697   glibcpp_cv_func_tanhl_use=no
10698 fi
10699 rm -f conftest*
10700     ac_ext=c
10701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10702 ac_cpp='$CPP $CPPFLAGS'
10703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10705 cross_compiling=$ac_cv_prog_cc_cross
10706
10707   
10708 fi
10709
10710   echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10711   if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10712     for ac_func in tanhl
10713 do
10714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10715 echo "configure:10716: checking for $ac_func" >&5
10716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10717   echo $ac_n "(cached) $ac_c" 1>&6
10718 else
10719   cat > conftest.$ac_ext <<EOF
10720 #line 10721 "configure"
10721 #include "confdefs.h"
10722 /* System header to define __stub macros and hopefully few prototypes,
10723     which can conflict with char $ac_func(); below.  */
10724 #include <assert.h>
10725 /* Override any gcc2 internal prototype to avoid an error.  */
10726 /* We use char because int might match the return type of a gcc2
10727     builtin and then its argument prototype would still apply.  */
10728 char $ac_func();
10729
10730 int main() {
10731
10732 /* The GNU C library defines this for functions which it implements
10733     to always fail with ENOSYS.  Some functions are actually named
10734     something starting with __ and the normal name is an alias.  */
10735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10736 choke me
10737 #else
10738 $ac_func();
10739 #endif
10740
10741 ; return 0; }
10742 EOF
10743 if { (eval echo configure:10744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10744   rm -rf conftest*
10745   eval "ac_cv_func_$ac_func=yes"
10746 else
10747   echo "configure: failed program was:" >&5
10748   cat conftest.$ac_ext >&5
10749   rm -rf conftest*
10750   eval "ac_cv_func_$ac_func=no"
10751 fi
10752 rm -f conftest*
10753 fi
10754
10755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10756   echo "$ac_t""yes" 1>&6
10757     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10758   cat >> confdefs.h <<EOF
10759 #define $ac_tr_func 1
10760 EOF
10761  
10762 else
10763   echo "$ac_t""no" 1>&6
10764 fi
10765 done
10766     
10767   fi
10768
10769   
10770   echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10771 echo "configure:10772: checking for sincosl declaration" >&5
10772   if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10773   echo $ac_n "(cached) $ac_c" 1>&6
10774 else
10775   
10776     
10777     ac_ext=C
10778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10779 ac_cpp='$CXXCPP $CPPFLAGS'
10780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10782 cross_compiling=$ac_cv_prog_cxx_cross
10783
10784     cat > conftest.$ac_ext <<EOF
10785 #line 10786 "configure"
10786 #include "confdefs.h"
10787 #include <math.h>
10788 int main() {
10789  sincosl(0, 0, 0);
10790 ; return 0; }
10791 EOF
10792 if { (eval echo configure:10793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10793   rm -rf conftest*
10794   glibcpp_cv_func_sincosl_use=yes
10795 else
10796   echo "configure: failed program was:" >&5
10797   cat conftest.$ac_ext >&5
10798   rm -rf conftest*
10799   glibcpp_cv_func_sincosl_use=no
10800 fi
10801 rm -f conftest*
10802     ac_ext=c
10803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10804 ac_cpp='$CPP $CPPFLAGS'
10805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10807 cross_compiling=$ac_cv_prog_cc_cross
10808
10809   
10810 fi
10811
10812   echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10813   if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10814     for ac_func in sincosl
10815 do
10816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10817 echo "configure:10818: checking for $ac_func" >&5
10818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10819   echo $ac_n "(cached) $ac_c" 1>&6
10820 else
10821   cat > conftest.$ac_ext <<EOF
10822 #line 10823 "configure"
10823 #include "confdefs.h"
10824 /* System header to define __stub macros and hopefully few prototypes,
10825     which can conflict with char $ac_func(); below.  */
10826 #include <assert.h>
10827 /* Override any gcc2 internal prototype to avoid an error.  */
10828 /* We use char because int might match the return type of a gcc2
10829     builtin and then its argument prototype would still apply.  */
10830 char $ac_func();
10831
10832 int main() {
10833
10834 /* The GNU C library defines this for functions which it implements
10835     to always fail with ENOSYS.  Some functions are actually named
10836     something starting with __ and the normal name is an alias.  */
10837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10838 choke me
10839 #else
10840 $ac_func();
10841 #endif
10842
10843 ; return 0; }
10844 EOF
10845 if { (eval echo configure:10846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10846   rm -rf conftest*
10847   eval "ac_cv_func_$ac_func=yes"
10848 else
10849   echo "configure: failed program was:" >&5
10850   cat conftest.$ac_ext >&5
10851   rm -rf conftest*
10852   eval "ac_cv_func_$ac_func=no"
10853 fi
10854 rm -f conftest*
10855 fi
10856
10857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10858   echo "$ac_t""yes" 1>&6
10859     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10860   cat >> confdefs.h <<EOF
10861 #define $ac_tr_func 1
10862 EOF
10863  
10864 else
10865   echo "$ac_t""no" 1>&6
10866 fi
10867 done
10868     
10869   fi
10870
10871   
10872   echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
10873 echo "configure:10874: checking for finitel declaration" >&5
10874   if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
10875   echo $ac_n "(cached) $ac_c" 1>&6
10876 else
10877   
10878     
10879     ac_ext=C
10880 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10881 ac_cpp='$CXXCPP $CPPFLAGS'
10882 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10883 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10884 cross_compiling=$ac_cv_prog_cxx_cross
10885
10886     cat > conftest.$ac_ext <<EOF
10887 #line 10888 "configure"
10888 #include "confdefs.h"
10889 #include <math.h>
10890 int main() {
10891  finitel(0);
10892 ; return 0; }
10893 EOF
10894 if { (eval echo configure:10895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10895   rm -rf conftest*
10896   glibcpp_cv_func_finitel_use=yes
10897 else
10898   echo "configure: failed program was:" >&5
10899   cat conftest.$ac_ext >&5
10900   rm -rf conftest*
10901   glibcpp_cv_func_finitel_use=no
10902 fi
10903 rm -f conftest*
10904     ac_ext=c
10905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10906 ac_cpp='$CPP $CPPFLAGS'
10907 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10908 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10909 cross_compiling=$ac_cv_prog_cc_cross
10910
10911   
10912 fi
10913
10914   echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10915   if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10916     for ac_func in finitel
10917 do
10918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10919 echo "configure:10920: checking for $ac_func" >&5
10920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10921   echo $ac_n "(cached) $ac_c" 1>&6
10922 else
10923   cat > conftest.$ac_ext <<EOF
10924 #line 10925 "configure"
10925 #include "confdefs.h"
10926 /* System header to define __stub macros and hopefully few prototypes,
10927     which can conflict with char $ac_func(); below.  */
10928 #include <assert.h>
10929 /* Override any gcc2 internal prototype to avoid an error.  */
10930 /* We use char because int might match the return type of a gcc2
10931     builtin and then its argument prototype would still apply.  */
10932 char $ac_func();
10933
10934 int main() {
10935
10936 /* The GNU C library defines this for functions which it implements
10937     to always fail with ENOSYS.  Some functions are actually named
10938     something starting with __ and the normal name is an alias.  */
10939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10940 choke me
10941 #else
10942 $ac_func();
10943 #endif
10944
10945 ; return 0; }
10946 EOF
10947 if { (eval echo configure:10948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10948   rm -rf conftest*
10949   eval "ac_cv_func_$ac_func=yes"
10950 else
10951   echo "configure: failed program was:" >&5
10952   cat conftest.$ac_ext >&5
10953   rm -rf conftest*
10954   eval "ac_cv_func_$ac_func=no"
10955 fi
10956 rm -f conftest*
10957 fi
10958
10959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10960   echo "$ac_t""yes" 1>&6
10961     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10962   cat >> confdefs.h <<EOF
10963 #define $ac_tr_func 1
10964 EOF
10965  
10966 else
10967   echo "$ac_t""no" 1>&6
10968 fi
10969 done
10970     
10971   fi
10972
10973
10974           
10975   echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10976 echo "configure:10977: checking for _isinf declaration" >&5
10977   if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10978   echo $ac_n "(cached) $ac_c" 1>&6
10979 else
10980   
10981     
10982     ac_ext=C
10983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10984 ac_cpp='$CXXCPP $CPPFLAGS'
10985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10987 cross_compiling=$ac_cv_prog_cxx_cross
10988
10989     cat > conftest.$ac_ext <<EOF
10990 #line 10991 "configure"
10991 #include "confdefs.h"
10992 #include <math.h>
10993 int main() {
10994  _isinf(0);
10995 ; return 0; }
10996 EOF
10997 if { (eval echo configure:10998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10998   rm -rf conftest*
10999   glibcpp_cv_func__isinf_use=yes
11000 else
11001   echo "configure: failed program was:" >&5
11002   cat conftest.$ac_ext >&5
11003   rm -rf conftest*
11004   glibcpp_cv_func__isinf_use=no
11005 fi
11006 rm -f conftest*
11007     ac_ext=c
11008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11009 ac_cpp='$CPP $CPPFLAGS'
11010 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11011 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11012 cross_compiling=$ac_cv_prog_cc_cross
11013
11014   
11015 fi
11016
11017   echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11018   if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11019     for ac_func in _isinf
11020 do
11021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11022 echo "configure:11023: checking for $ac_func" >&5
11023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11024   echo $ac_n "(cached) $ac_c" 1>&6
11025 else
11026   cat > conftest.$ac_ext <<EOF
11027 #line 11028 "configure"
11028 #include "confdefs.h"
11029 /* System header to define __stub macros and hopefully few prototypes,
11030     which can conflict with char $ac_func(); below.  */
11031 #include <assert.h>
11032 /* Override any gcc2 internal prototype to avoid an error.  */
11033 /* We use char because int might match the return type of a gcc2
11034     builtin and then its argument prototype would still apply.  */
11035 char $ac_func();
11036
11037 int main() {
11038
11039 /* The GNU C library defines this for functions which it implements
11040     to always fail with ENOSYS.  Some functions are actually named
11041     something starting with __ and the normal name is an alias.  */
11042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11043 choke me
11044 #else
11045 $ac_func();
11046 #endif
11047
11048 ; return 0; }
11049 EOF
11050 if { (eval echo configure:11051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11051   rm -rf conftest*
11052   eval "ac_cv_func_$ac_func=yes"
11053 else
11054   echo "configure: failed program was:" >&5
11055   cat conftest.$ac_ext >&5
11056   rm -rf conftest*
11057   eval "ac_cv_func_$ac_func=no"
11058 fi
11059 rm -f conftest*
11060 fi
11061
11062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11063   echo "$ac_t""yes" 1>&6
11064     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11065   cat >> confdefs.h <<EOF
11066 #define $ac_tr_func 1
11067 EOF
11068  
11069 else
11070   echo "$ac_t""no" 1>&6
11071 fi
11072 done
11073     
11074   fi
11075
11076   
11077   echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11078 echo "configure:11079: checking for _isnan declaration" >&5
11079   if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11080   echo $ac_n "(cached) $ac_c" 1>&6
11081 else
11082   
11083     
11084     ac_ext=C
11085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11086 ac_cpp='$CXXCPP $CPPFLAGS'
11087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11089 cross_compiling=$ac_cv_prog_cxx_cross
11090
11091     cat > conftest.$ac_ext <<EOF
11092 #line 11093 "configure"
11093 #include "confdefs.h"
11094 #include <math.h>
11095 int main() {
11096  _isnan(0);
11097 ; return 0; }
11098 EOF
11099 if { (eval echo configure:11100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11100   rm -rf conftest*
11101   glibcpp_cv_func__isnan_use=yes
11102 else
11103   echo "configure: failed program was:" >&5
11104   cat conftest.$ac_ext >&5
11105   rm -rf conftest*
11106   glibcpp_cv_func__isnan_use=no
11107 fi
11108 rm -f conftest*
11109     ac_ext=c
11110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11111 ac_cpp='$CPP $CPPFLAGS'
11112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11114 cross_compiling=$ac_cv_prog_cc_cross
11115
11116   
11117 fi
11118
11119   echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11120   if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11121     for ac_func in _isnan
11122 do
11123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11124 echo "configure:11125: checking for $ac_func" >&5
11125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11126   echo $ac_n "(cached) $ac_c" 1>&6
11127 else
11128   cat > conftest.$ac_ext <<EOF
11129 #line 11130 "configure"
11130 #include "confdefs.h"
11131 /* System header to define __stub macros and hopefully few prototypes,
11132     which can conflict with char $ac_func(); below.  */
11133 #include <assert.h>
11134 /* Override any gcc2 internal prototype to avoid an error.  */
11135 /* We use char because int might match the return type of a gcc2
11136     builtin and then its argument prototype would still apply.  */
11137 char $ac_func();
11138
11139 int main() {
11140
11141 /* The GNU C library defines this for functions which it implements
11142     to always fail with ENOSYS.  Some functions are actually named
11143     something starting with __ and the normal name is an alias.  */
11144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11145 choke me
11146 #else
11147 $ac_func();
11148 #endif
11149
11150 ; return 0; }
11151 EOF
11152 if { (eval echo configure:11153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11153   rm -rf conftest*
11154   eval "ac_cv_func_$ac_func=yes"
11155 else
11156   echo "configure: failed program was:" >&5
11157   cat conftest.$ac_ext >&5
11158   rm -rf conftest*
11159   eval "ac_cv_func_$ac_func=no"
11160 fi
11161 rm -f conftest*
11162 fi
11163
11164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11165   echo "$ac_t""yes" 1>&6
11166     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11167   cat >> confdefs.h <<EOF
11168 #define $ac_tr_func 1
11169 EOF
11170  
11171 else
11172   echo "$ac_t""no" 1>&6
11173 fi
11174 done
11175     
11176   fi
11177
11178   
11179   echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11180 echo "configure:11181: checking for _finite declaration" >&5
11181   if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11182   echo $ac_n "(cached) $ac_c" 1>&6
11183 else
11184   
11185     
11186     ac_ext=C
11187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11188 ac_cpp='$CXXCPP $CPPFLAGS'
11189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11191 cross_compiling=$ac_cv_prog_cxx_cross
11192
11193     cat > conftest.$ac_ext <<EOF
11194 #line 11195 "configure"
11195 #include "confdefs.h"
11196 #include <math.h>
11197 int main() {
11198  _finite(0);
11199 ; return 0; }
11200 EOF
11201 if { (eval echo configure:11202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11202   rm -rf conftest*
11203   glibcpp_cv_func__finite_use=yes
11204 else
11205   echo "configure: failed program was:" >&5
11206   cat conftest.$ac_ext >&5
11207   rm -rf conftest*
11208   glibcpp_cv_func__finite_use=no
11209 fi
11210 rm -f conftest*
11211     ac_ext=c
11212 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11213 ac_cpp='$CPP $CPPFLAGS'
11214 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11215 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11216 cross_compiling=$ac_cv_prog_cc_cross
11217
11218   
11219 fi
11220
11221   echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11222   if test x$glibcpp_cv_func__finite_use = x"yes"; then
11223     for ac_func in _finite
11224 do
11225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11226 echo "configure:11227: checking for $ac_func" >&5
11227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11228   echo $ac_n "(cached) $ac_c" 1>&6
11229 else
11230   cat > conftest.$ac_ext <<EOF
11231 #line 11232 "configure"
11232 #include "confdefs.h"
11233 /* System header to define __stub macros and hopefully few prototypes,
11234     which can conflict with char $ac_func(); below.  */
11235 #include <assert.h>
11236 /* Override any gcc2 internal prototype to avoid an error.  */
11237 /* We use char because int might match the return type of a gcc2
11238     builtin and then its argument prototype would still apply.  */
11239 char $ac_func();
11240
11241 int main() {
11242
11243 /* The GNU C library defines this for functions which it implements
11244     to always fail with ENOSYS.  Some functions are actually named
11245     something starting with __ and the normal name is an alias.  */
11246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11247 choke me
11248 #else
11249 $ac_func();
11250 #endif
11251
11252 ; return 0; }
11253 EOF
11254 if { (eval echo configure:11255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11255   rm -rf conftest*
11256   eval "ac_cv_func_$ac_func=yes"
11257 else
11258   echo "configure: failed program was:" >&5
11259   cat conftest.$ac_ext >&5
11260   rm -rf conftest*
11261   eval "ac_cv_func_$ac_func=no"
11262 fi
11263 rm -f conftest*
11264 fi
11265
11266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11267   echo "$ac_t""yes" 1>&6
11268     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11269   cat >> confdefs.h <<EOF
11270 #define $ac_tr_func 1
11271 EOF
11272  
11273 else
11274   echo "$ac_t""no" 1>&6
11275 fi
11276 done
11277     
11278   fi
11279
11280   
11281   echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11282 echo "configure:11283: checking for _copysign declaration" >&5
11283   if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11284   echo $ac_n "(cached) $ac_c" 1>&6
11285 else
11286   
11287     
11288     ac_ext=C
11289 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11290 ac_cpp='$CXXCPP $CPPFLAGS'
11291 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11292 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11293 cross_compiling=$ac_cv_prog_cxx_cross
11294
11295     cat > conftest.$ac_ext <<EOF
11296 #line 11297 "configure"
11297 #include "confdefs.h"
11298 #include <math.h>
11299 int main() {
11300  _copysign(0, 0);
11301 ; return 0; }
11302 EOF
11303 if { (eval echo configure:11304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11304   rm -rf conftest*
11305   glibcpp_cv_func__copysign_use=yes
11306 else
11307   echo "configure: failed program was:" >&5
11308   cat conftest.$ac_ext >&5
11309   rm -rf conftest*
11310   glibcpp_cv_func__copysign_use=no
11311 fi
11312 rm -f conftest*
11313     ac_ext=c
11314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11315 ac_cpp='$CPP $CPPFLAGS'
11316 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11317 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11318 cross_compiling=$ac_cv_prog_cc_cross
11319
11320   
11321 fi
11322
11323   echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11324   if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11325     for ac_func in _copysign
11326 do
11327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11328 echo "configure:11329: checking for $ac_func" >&5
11329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11330   echo $ac_n "(cached) $ac_c" 1>&6
11331 else
11332   cat > conftest.$ac_ext <<EOF
11333 #line 11334 "configure"
11334 #include "confdefs.h"
11335 /* System header to define __stub macros and hopefully few prototypes,
11336     which can conflict with char $ac_func(); below.  */
11337 #include <assert.h>
11338 /* Override any gcc2 internal prototype to avoid an error.  */
11339 /* We use char because int might match the return type of a gcc2
11340     builtin and then its argument prototype would still apply.  */
11341 char $ac_func();
11342
11343 int main() {
11344
11345 /* The GNU C library defines this for functions which it implements
11346     to always fail with ENOSYS.  Some functions are actually named
11347     something starting with __ and the normal name is an alias.  */
11348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11349 choke me
11350 #else
11351 $ac_func();
11352 #endif
11353
11354 ; return 0; }
11355 EOF
11356 if { (eval echo configure:11357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11357   rm -rf conftest*
11358   eval "ac_cv_func_$ac_func=yes"
11359 else
11360   echo "configure: failed program was:" >&5
11361   cat conftest.$ac_ext >&5
11362   rm -rf conftest*
11363   eval "ac_cv_func_$ac_func=no"
11364 fi
11365 rm -f conftest*
11366 fi
11367
11368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11369   echo "$ac_t""yes" 1>&6
11370     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11371   cat >> confdefs.h <<EOF
11372 #define $ac_tr_func 1
11373 EOF
11374  
11375 else
11376   echo "$ac_t""no" 1>&6
11377 fi
11378 done
11379     
11380   fi
11381
11382   
11383   echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11384 echo "configure:11385: checking for _sincos declaration" >&5
11385   if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11386   echo $ac_n "(cached) $ac_c" 1>&6
11387 else
11388   
11389     
11390     ac_ext=C
11391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11392 ac_cpp='$CXXCPP $CPPFLAGS'
11393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11395 cross_compiling=$ac_cv_prog_cxx_cross
11396
11397     cat > conftest.$ac_ext <<EOF
11398 #line 11399 "configure"
11399 #include "confdefs.h"
11400 #include <math.h>
11401 int main() {
11402  _sincos(0, 0, 0);
11403 ; return 0; }
11404 EOF
11405 if { (eval echo configure:11406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11406   rm -rf conftest*
11407   glibcpp_cv_func__sincos_use=yes
11408 else
11409   echo "configure: failed program was:" >&5
11410   cat conftest.$ac_ext >&5
11411   rm -rf conftest*
11412   glibcpp_cv_func__sincos_use=no
11413 fi
11414 rm -f conftest*
11415     ac_ext=c
11416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11417 ac_cpp='$CPP $CPPFLAGS'
11418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11420 cross_compiling=$ac_cv_prog_cc_cross
11421
11422   
11423 fi
11424
11425   echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11426   if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11427     for ac_func in _sincos
11428 do
11429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11430 echo "configure:11431: checking for $ac_func" >&5
11431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11432   echo $ac_n "(cached) $ac_c" 1>&6
11433 else
11434   cat > conftest.$ac_ext <<EOF
11435 #line 11436 "configure"
11436 #include "confdefs.h"
11437 /* System header to define __stub macros and hopefully few prototypes,
11438     which can conflict with char $ac_func(); below.  */
11439 #include <assert.h>
11440 /* Override any gcc2 internal prototype to avoid an error.  */
11441 /* We use char because int might match the return type of a gcc2
11442     builtin and then its argument prototype would still apply.  */
11443 char $ac_func();
11444
11445 int main() {
11446
11447 /* The GNU C library defines this for functions which it implements
11448     to always fail with ENOSYS.  Some functions are actually named
11449     something starting with __ and the normal name is an alias.  */
11450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11451 choke me
11452 #else
11453 $ac_func();
11454 #endif
11455
11456 ; return 0; }
11457 EOF
11458 if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11459   rm -rf conftest*
11460   eval "ac_cv_func_$ac_func=yes"
11461 else
11462   echo "configure: failed program was:" >&5
11463   cat conftest.$ac_ext >&5
11464   rm -rf conftest*
11465   eval "ac_cv_func_$ac_func=no"
11466 fi
11467 rm -f conftest*
11468 fi
11469
11470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11471   echo "$ac_t""yes" 1>&6
11472     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11473   cat >> confdefs.h <<EOF
11474 #define $ac_tr_func 1
11475 EOF
11476  
11477 else
11478   echo "$ac_t""no" 1>&6
11479 fi
11480 done
11481     
11482   fi
11483
11484   
11485   echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11486 echo "configure:11487: checking for _fpclass declaration" >&5
11487   if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11488   echo $ac_n "(cached) $ac_c" 1>&6
11489 else
11490   
11491     
11492     ac_ext=C
11493 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11494 ac_cpp='$CXXCPP $CPPFLAGS'
11495 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11496 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11497 cross_compiling=$ac_cv_prog_cxx_cross
11498
11499     cat > conftest.$ac_ext <<EOF
11500 #line 11501 "configure"
11501 #include "confdefs.h"
11502 #include <math.h>
11503 int main() {
11504  _fpclass(0);
11505 ; return 0; }
11506 EOF
11507 if { (eval echo configure:11508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11508   rm -rf conftest*
11509   glibcpp_cv_func__fpclass_use=yes
11510 else
11511   echo "configure: failed program was:" >&5
11512   cat conftest.$ac_ext >&5
11513   rm -rf conftest*
11514   glibcpp_cv_func__fpclass_use=no
11515 fi
11516 rm -f conftest*
11517     ac_ext=c
11518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11519 ac_cpp='$CPP $CPPFLAGS'
11520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11522 cross_compiling=$ac_cv_prog_cc_cross
11523
11524   
11525 fi
11526
11527   echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11528   if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11529     for ac_func in _fpclass
11530 do
11531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11532 echo "configure:11533: checking for $ac_func" >&5
11533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11534   echo $ac_n "(cached) $ac_c" 1>&6
11535 else
11536   cat > conftest.$ac_ext <<EOF
11537 #line 11538 "configure"
11538 #include "confdefs.h"
11539 /* System header to define __stub macros and hopefully few prototypes,
11540     which can conflict with char $ac_func(); below.  */
11541 #include <assert.h>
11542 /* Override any gcc2 internal prototype to avoid an error.  */
11543 /* We use char because int might match the return type of a gcc2
11544     builtin and then its argument prototype would still apply.  */
11545 char $ac_func();
11546
11547 int main() {
11548
11549 /* The GNU C library defines this for functions which it implements
11550     to always fail with ENOSYS.  Some functions are actually named
11551     something starting with __ and the normal name is an alias.  */
11552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11553 choke me
11554 #else
11555 $ac_func();
11556 #endif
11557
11558 ; return 0; }
11559 EOF
11560 if { (eval echo configure:11561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11561   rm -rf conftest*
11562   eval "ac_cv_func_$ac_func=yes"
11563 else
11564   echo "configure: failed program was:" >&5
11565   cat conftest.$ac_ext >&5
11566   rm -rf conftest*
11567   eval "ac_cv_func_$ac_func=no"
11568 fi
11569 rm -f conftest*
11570 fi
11571
11572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11573   echo "$ac_t""yes" 1>&6
11574     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11575   cat >> confdefs.h <<EOF
11576 #define $ac_tr_func 1
11577 EOF
11578  
11579 else
11580   echo "$ac_t""no" 1>&6
11581 fi
11582 done
11583     
11584   fi
11585
11586   
11587   echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11588 echo "configure:11589: checking for _qfpclass declaration" >&5
11589   if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11590   echo $ac_n "(cached) $ac_c" 1>&6
11591 else
11592   
11593     
11594     ac_ext=C
11595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11596 ac_cpp='$CXXCPP $CPPFLAGS'
11597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11599 cross_compiling=$ac_cv_prog_cxx_cross
11600
11601     cat > conftest.$ac_ext <<EOF
11602 #line 11603 "configure"
11603 #include "confdefs.h"
11604 #include <math.h>
11605 int main() {
11606  _qfpclass(0);
11607 ; return 0; }
11608 EOF
11609 if { (eval echo configure:11610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11610   rm -rf conftest*
11611   glibcpp_cv_func__qfpclass_use=yes
11612 else
11613   echo "configure: failed program was:" >&5
11614   cat conftest.$ac_ext >&5
11615   rm -rf conftest*
11616   glibcpp_cv_func__qfpclass_use=no
11617 fi
11618 rm -f conftest*
11619     ac_ext=c
11620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11621 ac_cpp='$CPP $CPPFLAGS'
11622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11624 cross_compiling=$ac_cv_prog_cc_cross
11625
11626   
11627 fi
11628
11629   echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11630   if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11631     for ac_func in _qfpclass
11632 do
11633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11634 echo "configure:11635: checking for $ac_func" >&5
11635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11636   echo $ac_n "(cached) $ac_c" 1>&6
11637 else
11638   cat > conftest.$ac_ext <<EOF
11639 #line 11640 "configure"
11640 #include "confdefs.h"
11641 /* System header to define __stub macros and hopefully few prototypes,
11642     which can conflict with char $ac_func(); below.  */
11643 #include <assert.h>
11644 /* Override any gcc2 internal prototype to avoid an error.  */
11645 /* We use char because int might match the return type of a gcc2
11646     builtin and then its argument prototype would still apply.  */
11647 char $ac_func();
11648
11649 int main() {
11650
11651 /* The GNU C library defines this for functions which it implements
11652     to always fail with ENOSYS.  Some functions are actually named
11653     something starting with __ and the normal name is an alias.  */
11654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11655 choke me
11656 #else
11657 $ac_func();
11658 #endif
11659
11660 ; return 0; }
11661 EOF
11662 if { (eval echo configure:11663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11663   rm -rf conftest*
11664   eval "ac_cv_func_$ac_func=yes"
11665 else
11666   echo "configure: failed program was:" >&5
11667   cat conftest.$ac_ext >&5
11668   rm -rf conftest*
11669   eval "ac_cv_func_$ac_func=no"
11670 fi
11671 rm -f conftest*
11672 fi
11673
11674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11675   echo "$ac_t""yes" 1>&6
11676     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11677   cat >> confdefs.h <<EOF
11678 #define $ac_tr_func 1
11679 EOF
11680  
11681 else
11682   echo "$ac_t""no" 1>&6
11683 fi
11684 done
11685     
11686   fi
11687
11688
11689     
11690   echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11691 echo "configure:11692: checking for _isnanf declaration" >&5
11692   if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11693   echo $ac_n "(cached) $ac_c" 1>&6
11694 else
11695   
11696     
11697     ac_ext=C
11698 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11699 ac_cpp='$CXXCPP $CPPFLAGS'
11700 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11701 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11702 cross_compiling=$ac_cv_prog_cxx_cross
11703
11704     cat > conftest.$ac_ext <<EOF
11705 #line 11706 "configure"
11706 #include "confdefs.h"
11707 #include <math.h>
11708 int main() {
11709  _isnanf(0);
11710 ; return 0; }
11711 EOF
11712 if { (eval echo configure:11713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11713   rm -rf conftest*
11714   glibcpp_cv_func__isnanf_use=yes
11715 else
11716   echo "configure: failed program was:" >&5
11717   cat conftest.$ac_ext >&5
11718   rm -rf conftest*
11719   glibcpp_cv_func__isnanf_use=no
11720 fi
11721 rm -f conftest*
11722     ac_ext=c
11723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11724 ac_cpp='$CPP $CPPFLAGS'
11725 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11726 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11727 cross_compiling=$ac_cv_prog_cc_cross
11728
11729   
11730 fi
11731
11732   echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11733   if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11734     for ac_func in _isnanf
11735 do
11736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11737 echo "configure:11738: checking for $ac_func" >&5
11738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11739   echo $ac_n "(cached) $ac_c" 1>&6
11740 else
11741   cat > conftest.$ac_ext <<EOF
11742 #line 11743 "configure"
11743 #include "confdefs.h"
11744 /* System header to define __stub macros and hopefully few prototypes,
11745     which can conflict with char $ac_func(); below.  */
11746 #include <assert.h>
11747 /* Override any gcc2 internal prototype to avoid an error.  */
11748 /* We use char because int might match the return type of a gcc2
11749     builtin and then its argument prototype would still apply.  */
11750 char $ac_func();
11751
11752 int main() {
11753
11754 /* The GNU C library defines this for functions which it implements
11755     to always fail with ENOSYS.  Some functions are actually named
11756     something starting with __ and the normal name is an alias.  */
11757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11758 choke me
11759 #else
11760 $ac_func();
11761 #endif
11762
11763 ; return 0; }
11764 EOF
11765 if { (eval echo configure:11766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11766   rm -rf conftest*
11767   eval "ac_cv_func_$ac_func=yes"
11768 else
11769   echo "configure: failed program was:" >&5
11770   cat conftest.$ac_ext >&5
11771   rm -rf conftest*
11772   eval "ac_cv_func_$ac_func=no"
11773 fi
11774 rm -f conftest*
11775 fi
11776
11777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11778   echo "$ac_t""yes" 1>&6
11779     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11780   cat >> confdefs.h <<EOF
11781 #define $ac_tr_func 1
11782 EOF
11783  
11784 else
11785   echo "$ac_t""no" 1>&6
11786 fi
11787 done
11788     
11789   fi
11790
11791   
11792   echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11793 echo "configure:11794: checking for _isinff declaration" >&5
11794   if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11795   echo $ac_n "(cached) $ac_c" 1>&6
11796 else
11797   
11798     
11799     ac_ext=C
11800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11801 ac_cpp='$CXXCPP $CPPFLAGS'
11802 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11803 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11804 cross_compiling=$ac_cv_prog_cxx_cross
11805
11806     cat > conftest.$ac_ext <<EOF
11807 #line 11808 "configure"
11808 #include "confdefs.h"
11809 #include <math.h>
11810 int main() {
11811  _isinff(0);
11812 ; return 0; }
11813 EOF
11814 if { (eval echo configure:11815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11815   rm -rf conftest*
11816   glibcpp_cv_func__isinff_use=yes
11817 else
11818   echo "configure: failed program was:" >&5
11819   cat conftest.$ac_ext >&5
11820   rm -rf conftest*
11821   glibcpp_cv_func__isinff_use=no
11822 fi
11823 rm -f conftest*
11824     ac_ext=c
11825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11826 ac_cpp='$CPP $CPPFLAGS'
11827 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11828 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11829 cross_compiling=$ac_cv_prog_cc_cross
11830
11831   
11832 fi
11833
11834   echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11835   if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11836     for ac_func in _isinff
11837 do
11838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11839 echo "configure:11840: checking for $ac_func" >&5
11840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11841   echo $ac_n "(cached) $ac_c" 1>&6
11842 else
11843   cat > conftest.$ac_ext <<EOF
11844 #line 11845 "configure"
11845 #include "confdefs.h"
11846 /* System header to define __stub macros and hopefully few prototypes,
11847     which can conflict with char $ac_func(); below.  */
11848 #include <assert.h>
11849 /* Override any gcc2 internal prototype to avoid an error.  */
11850 /* We use char because int might match the return type of a gcc2
11851     builtin and then its argument prototype would still apply.  */
11852 char $ac_func();
11853
11854 int main() {
11855
11856 /* The GNU C library defines this for functions which it implements
11857     to always fail with ENOSYS.  Some functions are actually named
11858     something starting with __ and the normal name is an alias.  */
11859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11860 choke me
11861 #else
11862 $ac_func();
11863 #endif
11864
11865 ; return 0; }
11866 EOF
11867 if { (eval echo configure:11868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11868   rm -rf conftest*
11869   eval "ac_cv_func_$ac_func=yes"
11870 else
11871   echo "configure: failed program was:" >&5
11872   cat conftest.$ac_ext >&5
11873   rm -rf conftest*
11874   eval "ac_cv_func_$ac_func=no"
11875 fi
11876 rm -f conftest*
11877 fi
11878
11879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11880   echo "$ac_t""yes" 1>&6
11881     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11882   cat >> confdefs.h <<EOF
11883 #define $ac_tr_func 1
11884 EOF
11885  
11886 else
11887   echo "$ac_t""no" 1>&6
11888 fi
11889 done
11890     
11891   fi
11892
11893   
11894   echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
11895 echo "configure:11896: checking for _acosf declaration" >&5
11896   if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
11897   echo $ac_n "(cached) $ac_c" 1>&6
11898 else
11899   
11900     
11901     ac_ext=C
11902 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11903 ac_cpp='$CXXCPP $CPPFLAGS'
11904 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11905 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11906 cross_compiling=$ac_cv_prog_cxx_cross
11907
11908     cat > conftest.$ac_ext <<EOF
11909 #line 11910 "configure"
11910 #include "confdefs.h"
11911 #include <math.h>
11912 int main() {
11913  _acosf(0);
11914 ; return 0; }
11915 EOF
11916 if { (eval echo configure:11917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11917   rm -rf conftest*
11918   glibcpp_cv_func__acosf_use=yes
11919 else
11920   echo "configure: failed program was:" >&5
11921   cat conftest.$ac_ext >&5
11922   rm -rf conftest*
11923   glibcpp_cv_func__acosf_use=no
11924 fi
11925 rm -f conftest*
11926     ac_ext=c
11927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11928 ac_cpp='$CPP $CPPFLAGS'
11929 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11930 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11931 cross_compiling=$ac_cv_prog_cc_cross
11932
11933   
11934 fi
11935
11936   echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
11937   if test x$glibcpp_cv_func__acosf_use = x"yes"; then
11938     for ac_func in _acosf
11939 do
11940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11941 echo "configure:11942: checking for $ac_func" >&5
11942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11943   echo $ac_n "(cached) $ac_c" 1>&6
11944 else
11945   cat > conftest.$ac_ext <<EOF
11946 #line 11947 "configure"
11947 #include "confdefs.h"
11948 /* System header to define __stub macros and hopefully few prototypes,
11949     which can conflict with char $ac_func(); below.  */
11950 #include <assert.h>
11951 /* Override any gcc2 internal prototype to avoid an error.  */
11952 /* We use char because int might match the return type of a gcc2
11953     builtin and then its argument prototype would still apply.  */
11954 char $ac_func();
11955
11956 int main() {
11957
11958 /* The GNU C library defines this for functions which it implements
11959     to always fail with ENOSYS.  Some functions are actually named
11960     something starting with __ and the normal name is an alias.  */
11961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11962 choke me
11963 #else
11964 $ac_func();
11965 #endif
11966
11967 ; return 0; }
11968 EOF
11969 if { (eval echo configure:11970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11970   rm -rf conftest*
11971   eval "ac_cv_func_$ac_func=yes"
11972 else
11973   echo "configure: failed program was:" >&5
11974   cat conftest.$ac_ext >&5
11975   rm -rf conftest*
11976   eval "ac_cv_func_$ac_func=no"
11977 fi
11978 rm -f conftest*
11979 fi
11980
11981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11982   echo "$ac_t""yes" 1>&6
11983     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11984   cat >> confdefs.h <<EOF
11985 #define $ac_tr_func 1
11986 EOF
11987  
11988 else
11989   echo "$ac_t""no" 1>&6
11990 fi
11991 done
11992     
11993   fi
11994
11995   
11996   echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
11997 echo "configure:11998: checking for _asinf declaration" >&5
11998   if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
11999   echo $ac_n "(cached) $ac_c" 1>&6
12000 else
12001   
12002     
12003     ac_ext=C
12004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12005 ac_cpp='$CXXCPP $CPPFLAGS'
12006 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12007 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12008 cross_compiling=$ac_cv_prog_cxx_cross
12009
12010     cat > conftest.$ac_ext <<EOF
12011 #line 12012 "configure"
12012 #include "confdefs.h"
12013 #include <math.h>
12014 int main() {
12015  _asinf(0);
12016 ; return 0; }
12017 EOF
12018 if { (eval echo configure:12019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12019   rm -rf conftest*
12020   glibcpp_cv_func__asinf_use=yes
12021 else
12022   echo "configure: failed program was:" >&5
12023   cat conftest.$ac_ext >&5
12024   rm -rf conftest*
12025   glibcpp_cv_func__asinf_use=no
12026 fi
12027 rm -f conftest*
12028     ac_ext=c
12029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12030 ac_cpp='$CPP $CPPFLAGS'
12031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12033 cross_compiling=$ac_cv_prog_cc_cross
12034
12035   
12036 fi
12037
12038   echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
12039   if test x$glibcpp_cv_func__asinf_use = x"yes"; then
12040     for ac_func in _asinf
12041 do
12042 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12043 echo "configure:12044: checking for $ac_func" >&5
12044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12045   echo $ac_n "(cached) $ac_c" 1>&6
12046 else
12047   cat > conftest.$ac_ext <<EOF
12048 #line 12049 "configure"
12049 #include "confdefs.h"
12050 /* System header to define __stub macros and hopefully few prototypes,
12051     which can conflict with char $ac_func(); below.  */
12052 #include <assert.h>
12053 /* Override any gcc2 internal prototype to avoid an error.  */
12054 /* We use char because int might match the return type of a gcc2
12055     builtin and then its argument prototype would still apply.  */
12056 char $ac_func();
12057
12058 int main() {
12059
12060 /* The GNU C library defines this for functions which it implements
12061     to always fail with ENOSYS.  Some functions are actually named
12062     something starting with __ and the normal name is an alias.  */
12063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12064 choke me
12065 #else
12066 $ac_func();
12067 #endif
12068
12069 ; return 0; }
12070 EOF
12071 if { (eval echo configure:12072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12072   rm -rf conftest*
12073   eval "ac_cv_func_$ac_func=yes"
12074 else
12075   echo "configure: failed program was:" >&5
12076   cat conftest.$ac_ext >&5
12077   rm -rf conftest*
12078   eval "ac_cv_func_$ac_func=no"
12079 fi
12080 rm -f conftest*
12081 fi
12082
12083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12084   echo "$ac_t""yes" 1>&6
12085     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12086   cat >> confdefs.h <<EOF
12087 #define $ac_tr_func 1
12088 EOF
12089  
12090 else
12091   echo "$ac_t""no" 1>&6
12092 fi
12093 done
12094     
12095   fi
12096
12097   
12098   echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
12099 echo "configure:12100: checking for _atanf declaration" >&5
12100   if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
12101   echo $ac_n "(cached) $ac_c" 1>&6
12102 else
12103   
12104     
12105     ac_ext=C
12106 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12107 ac_cpp='$CXXCPP $CPPFLAGS'
12108 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12109 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12110 cross_compiling=$ac_cv_prog_cxx_cross
12111
12112     cat > conftest.$ac_ext <<EOF
12113 #line 12114 "configure"
12114 #include "confdefs.h"
12115 #include <math.h>
12116 int main() {
12117  _atanf(0);
12118 ; return 0; }
12119 EOF
12120 if { (eval echo configure:12121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12121   rm -rf conftest*
12122   glibcpp_cv_func__atanf_use=yes
12123 else
12124   echo "configure: failed program was:" >&5
12125   cat conftest.$ac_ext >&5
12126   rm -rf conftest*
12127   glibcpp_cv_func__atanf_use=no
12128 fi
12129 rm -f conftest*
12130     ac_ext=c
12131 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12132 ac_cpp='$CPP $CPPFLAGS'
12133 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12134 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12135 cross_compiling=$ac_cv_prog_cc_cross
12136
12137   
12138 fi
12139
12140   echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12141   if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12142     for ac_func in _atanf
12143 do
12144 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12145 echo "configure:12146: checking for $ac_func" >&5
12146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12147   echo $ac_n "(cached) $ac_c" 1>&6
12148 else
12149   cat > conftest.$ac_ext <<EOF
12150 #line 12151 "configure"
12151 #include "confdefs.h"
12152 /* System header to define __stub macros and hopefully few prototypes,
12153     which can conflict with char $ac_func(); below.  */
12154 #include <assert.h>
12155 /* Override any gcc2 internal prototype to avoid an error.  */
12156 /* We use char because int might match the return type of a gcc2
12157     builtin and then its argument prototype would still apply.  */
12158 char $ac_func();
12159
12160 int main() {
12161
12162 /* The GNU C library defines this for functions which it implements
12163     to always fail with ENOSYS.  Some functions are actually named
12164     something starting with __ and the normal name is an alias.  */
12165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12166 choke me
12167 #else
12168 $ac_func();
12169 #endif
12170
12171 ; return 0; }
12172 EOF
12173 if { (eval echo configure:12174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12174   rm -rf conftest*
12175   eval "ac_cv_func_$ac_func=yes"
12176 else
12177   echo "configure: failed program was:" >&5
12178   cat conftest.$ac_ext >&5
12179   rm -rf conftest*
12180   eval "ac_cv_func_$ac_func=no"
12181 fi
12182 rm -f conftest*
12183 fi
12184
12185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12186   echo "$ac_t""yes" 1>&6
12187     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12188   cat >> confdefs.h <<EOF
12189 #define $ac_tr_func 1
12190 EOF
12191  
12192 else
12193   echo "$ac_t""no" 1>&6
12194 fi
12195 done
12196     
12197   fi
12198
12199   
12200   echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12201 echo "configure:12202: checking for _atan2f declaration" >&5
12202   if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12203   echo $ac_n "(cached) $ac_c" 1>&6
12204 else
12205   
12206     
12207     ac_ext=C
12208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12209 ac_cpp='$CXXCPP $CPPFLAGS'
12210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12212 cross_compiling=$ac_cv_prog_cxx_cross
12213
12214     cat > conftest.$ac_ext <<EOF
12215 #line 12216 "configure"
12216 #include "confdefs.h"
12217 #include <math.h>
12218 int main() {
12219  _atan2f(0, 0);
12220 ; return 0; }
12221 EOF
12222 if { (eval echo configure:12223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12223   rm -rf conftest*
12224   glibcpp_cv_func__atan2f_use=yes
12225 else
12226   echo "configure: failed program was:" >&5
12227   cat conftest.$ac_ext >&5
12228   rm -rf conftest*
12229   glibcpp_cv_func__atan2f_use=no
12230 fi
12231 rm -f conftest*
12232     ac_ext=c
12233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12234 ac_cpp='$CPP $CPPFLAGS'
12235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12237 cross_compiling=$ac_cv_prog_cc_cross
12238
12239   
12240 fi
12241
12242   echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12243   if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12244     for ac_func in _atan2f
12245 do
12246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12247 echo "configure:12248: checking for $ac_func" >&5
12248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12249   echo $ac_n "(cached) $ac_c" 1>&6
12250 else
12251   cat > conftest.$ac_ext <<EOF
12252 #line 12253 "configure"
12253 #include "confdefs.h"
12254 /* System header to define __stub macros and hopefully few prototypes,
12255     which can conflict with char $ac_func(); below.  */
12256 #include <assert.h>
12257 /* Override any gcc2 internal prototype to avoid an error.  */
12258 /* We use char because int might match the return type of a gcc2
12259     builtin and then its argument prototype would still apply.  */
12260 char $ac_func();
12261
12262 int main() {
12263
12264 /* The GNU C library defines this for functions which it implements
12265     to always fail with ENOSYS.  Some functions are actually named
12266     something starting with __ and the normal name is an alias.  */
12267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12268 choke me
12269 #else
12270 $ac_func();
12271 #endif
12272
12273 ; return 0; }
12274 EOF
12275 if { (eval echo configure:12276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12276   rm -rf conftest*
12277   eval "ac_cv_func_$ac_func=yes"
12278 else
12279   echo "configure: failed program was:" >&5
12280   cat conftest.$ac_ext >&5
12281   rm -rf conftest*
12282   eval "ac_cv_func_$ac_func=no"
12283 fi
12284 rm -f conftest*
12285 fi
12286
12287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12288   echo "$ac_t""yes" 1>&6
12289     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12290   cat >> confdefs.h <<EOF
12291 #define $ac_tr_func 1
12292 EOF
12293  
12294 else
12295   echo "$ac_t""no" 1>&6
12296 fi
12297 done
12298     
12299   fi
12300
12301   
12302   echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12303 echo "configure:12304: checking for _ceilf declaration" >&5
12304   if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12305   echo $ac_n "(cached) $ac_c" 1>&6
12306 else
12307   
12308     
12309     ac_ext=C
12310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12311 ac_cpp='$CXXCPP $CPPFLAGS'
12312 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12313 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12314 cross_compiling=$ac_cv_prog_cxx_cross
12315
12316     cat > conftest.$ac_ext <<EOF
12317 #line 12318 "configure"
12318 #include "confdefs.h"
12319 #include <math.h>
12320 int main() {
12321  _ceilf(0);
12322 ; return 0; }
12323 EOF
12324 if { (eval echo configure:12325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12325   rm -rf conftest*
12326   glibcpp_cv_func__ceilf_use=yes
12327 else
12328   echo "configure: failed program was:" >&5
12329   cat conftest.$ac_ext >&5
12330   rm -rf conftest*
12331   glibcpp_cv_func__ceilf_use=no
12332 fi
12333 rm -f conftest*
12334     ac_ext=c
12335 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12336 ac_cpp='$CPP $CPPFLAGS'
12337 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12338 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12339 cross_compiling=$ac_cv_prog_cc_cross
12340
12341   
12342 fi
12343
12344   echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12345   if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12346     for ac_func in _ceilf
12347 do
12348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12349 echo "configure:12350: checking for $ac_func" >&5
12350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12351   echo $ac_n "(cached) $ac_c" 1>&6
12352 else
12353   cat > conftest.$ac_ext <<EOF
12354 #line 12355 "configure"
12355 #include "confdefs.h"
12356 /* System header to define __stub macros and hopefully few prototypes,
12357     which can conflict with char $ac_func(); below.  */
12358 #include <assert.h>
12359 /* Override any gcc2 internal prototype to avoid an error.  */
12360 /* We use char because int might match the return type of a gcc2
12361     builtin and then its argument prototype would still apply.  */
12362 char $ac_func();
12363
12364 int main() {
12365
12366 /* The GNU C library defines this for functions which it implements
12367     to always fail with ENOSYS.  Some functions are actually named
12368     something starting with __ and the normal name is an alias.  */
12369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12370 choke me
12371 #else
12372 $ac_func();
12373 #endif
12374
12375 ; return 0; }
12376 EOF
12377 if { (eval echo configure:12378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12378   rm -rf conftest*
12379   eval "ac_cv_func_$ac_func=yes"
12380 else
12381   echo "configure: failed program was:" >&5
12382   cat conftest.$ac_ext >&5
12383   rm -rf conftest*
12384   eval "ac_cv_func_$ac_func=no"
12385 fi
12386 rm -f conftest*
12387 fi
12388
12389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12390   echo "$ac_t""yes" 1>&6
12391     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12392   cat >> confdefs.h <<EOF
12393 #define $ac_tr_func 1
12394 EOF
12395  
12396 else
12397   echo "$ac_t""no" 1>&6
12398 fi
12399 done
12400     
12401   fi
12402
12403   
12404   echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12405 echo "configure:12406: checking for _cosf declaration" >&5
12406   if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12407   echo $ac_n "(cached) $ac_c" 1>&6
12408 else
12409   
12410     
12411     ac_ext=C
12412 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12413 ac_cpp='$CXXCPP $CPPFLAGS'
12414 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12415 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12416 cross_compiling=$ac_cv_prog_cxx_cross
12417
12418     cat > conftest.$ac_ext <<EOF
12419 #line 12420 "configure"
12420 #include "confdefs.h"
12421 #include <math.h>
12422 int main() {
12423  _cosf(0);
12424 ; return 0; }
12425 EOF
12426 if { (eval echo configure:12427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12427   rm -rf conftest*
12428   glibcpp_cv_func__cosf_use=yes
12429 else
12430   echo "configure: failed program was:" >&5
12431   cat conftest.$ac_ext >&5
12432   rm -rf conftest*
12433   glibcpp_cv_func__cosf_use=no
12434 fi
12435 rm -f conftest*
12436     ac_ext=c
12437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12438 ac_cpp='$CPP $CPPFLAGS'
12439 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12440 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12441 cross_compiling=$ac_cv_prog_cc_cross
12442
12443   
12444 fi
12445
12446   echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12447   if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12448     for ac_func in _cosf
12449 do
12450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12451 echo "configure:12452: checking for $ac_func" >&5
12452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12453   echo $ac_n "(cached) $ac_c" 1>&6
12454 else
12455   cat > conftest.$ac_ext <<EOF
12456 #line 12457 "configure"
12457 #include "confdefs.h"
12458 /* System header to define __stub macros and hopefully few prototypes,
12459     which can conflict with char $ac_func(); below.  */
12460 #include <assert.h>
12461 /* Override any gcc2 internal prototype to avoid an error.  */
12462 /* We use char because int might match the return type of a gcc2
12463     builtin and then its argument prototype would still apply.  */
12464 char $ac_func();
12465
12466 int main() {
12467
12468 /* The GNU C library defines this for functions which it implements
12469     to always fail with ENOSYS.  Some functions are actually named
12470     something starting with __ and the normal name is an alias.  */
12471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12472 choke me
12473 #else
12474 $ac_func();
12475 #endif
12476
12477 ; return 0; }
12478 EOF
12479 if { (eval echo configure:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12480   rm -rf conftest*
12481   eval "ac_cv_func_$ac_func=yes"
12482 else
12483   echo "configure: failed program was:" >&5
12484   cat conftest.$ac_ext >&5
12485   rm -rf conftest*
12486   eval "ac_cv_func_$ac_func=no"
12487 fi
12488 rm -f conftest*
12489 fi
12490
12491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12492   echo "$ac_t""yes" 1>&6
12493     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12494   cat >> confdefs.h <<EOF
12495 #define $ac_tr_func 1
12496 EOF
12497  
12498 else
12499   echo "$ac_t""no" 1>&6
12500 fi
12501 done
12502     
12503   fi
12504
12505   
12506   echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12507 echo "configure:12508: checking for _coshf declaration" >&5
12508   if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12509   echo $ac_n "(cached) $ac_c" 1>&6
12510 else
12511   
12512     
12513     ac_ext=C
12514 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12515 ac_cpp='$CXXCPP $CPPFLAGS'
12516 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12517 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12518 cross_compiling=$ac_cv_prog_cxx_cross
12519
12520     cat > conftest.$ac_ext <<EOF
12521 #line 12522 "configure"
12522 #include "confdefs.h"
12523 #include <math.h>
12524 int main() {
12525  _coshf(0);
12526 ; return 0; }
12527 EOF
12528 if { (eval echo configure:12529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12529   rm -rf conftest*
12530   glibcpp_cv_func__coshf_use=yes
12531 else
12532   echo "configure: failed program was:" >&5
12533   cat conftest.$ac_ext >&5
12534   rm -rf conftest*
12535   glibcpp_cv_func__coshf_use=no
12536 fi
12537 rm -f conftest*
12538     ac_ext=c
12539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12540 ac_cpp='$CPP $CPPFLAGS'
12541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12543 cross_compiling=$ac_cv_prog_cc_cross
12544
12545   
12546 fi
12547
12548   echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12549   if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12550     for ac_func in _coshf
12551 do
12552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12553 echo "configure:12554: checking for $ac_func" >&5
12554 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12555   echo $ac_n "(cached) $ac_c" 1>&6
12556 else
12557   cat > conftest.$ac_ext <<EOF
12558 #line 12559 "configure"
12559 #include "confdefs.h"
12560 /* System header to define __stub macros and hopefully few prototypes,
12561     which can conflict with char $ac_func(); below.  */
12562 #include <assert.h>
12563 /* Override any gcc2 internal prototype to avoid an error.  */
12564 /* We use char because int might match the return type of a gcc2
12565     builtin and then its argument prototype would still apply.  */
12566 char $ac_func();
12567
12568 int main() {
12569
12570 /* The GNU C library defines this for functions which it implements
12571     to always fail with ENOSYS.  Some functions are actually named
12572     something starting with __ and the normal name is an alias.  */
12573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12574 choke me
12575 #else
12576 $ac_func();
12577 #endif
12578
12579 ; return 0; }
12580 EOF
12581 if { (eval echo configure:12582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12582   rm -rf conftest*
12583   eval "ac_cv_func_$ac_func=yes"
12584 else
12585   echo "configure: failed program was:" >&5
12586   cat conftest.$ac_ext >&5
12587   rm -rf conftest*
12588   eval "ac_cv_func_$ac_func=no"
12589 fi
12590 rm -f conftest*
12591 fi
12592
12593 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12594   echo "$ac_t""yes" 1>&6
12595     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12596   cat >> confdefs.h <<EOF
12597 #define $ac_tr_func 1
12598 EOF
12599  
12600 else
12601   echo "$ac_t""no" 1>&6
12602 fi
12603 done
12604     
12605   fi
12606
12607   
12608   echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12609 echo "configure:12610: checking for _expf declaration" >&5
12610   if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12611   echo $ac_n "(cached) $ac_c" 1>&6
12612 else
12613   
12614     
12615     ac_ext=C
12616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12617 ac_cpp='$CXXCPP $CPPFLAGS'
12618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12620 cross_compiling=$ac_cv_prog_cxx_cross
12621
12622     cat > conftest.$ac_ext <<EOF
12623 #line 12624 "configure"
12624 #include "confdefs.h"
12625 #include <math.h>
12626 int main() {
12627  _expf(0);
12628 ; return 0; }
12629 EOF
12630 if { (eval echo configure:12631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12631   rm -rf conftest*
12632   glibcpp_cv_func__expf_use=yes
12633 else
12634   echo "configure: failed program was:" >&5
12635   cat conftest.$ac_ext >&5
12636   rm -rf conftest*
12637   glibcpp_cv_func__expf_use=no
12638 fi
12639 rm -f conftest*
12640     ac_ext=c
12641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12642 ac_cpp='$CPP $CPPFLAGS'
12643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12645 cross_compiling=$ac_cv_prog_cc_cross
12646
12647   
12648 fi
12649
12650   echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12651   if test x$glibcpp_cv_func__expf_use = x"yes"; then
12652     for ac_func in _expf
12653 do
12654 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12655 echo "configure:12656: checking for $ac_func" >&5
12656 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12657   echo $ac_n "(cached) $ac_c" 1>&6
12658 else
12659   cat > conftest.$ac_ext <<EOF
12660 #line 12661 "configure"
12661 #include "confdefs.h"
12662 /* System header to define __stub macros and hopefully few prototypes,
12663     which can conflict with char $ac_func(); below.  */
12664 #include <assert.h>
12665 /* Override any gcc2 internal prototype to avoid an error.  */
12666 /* We use char because int might match the return type of a gcc2
12667     builtin and then its argument prototype would still apply.  */
12668 char $ac_func();
12669
12670 int main() {
12671
12672 /* The GNU C library defines this for functions which it implements
12673     to always fail with ENOSYS.  Some functions are actually named
12674     something starting with __ and the normal name is an alias.  */
12675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12676 choke me
12677 #else
12678 $ac_func();
12679 #endif
12680
12681 ; return 0; }
12682 EOF
12683 if { (eval echo configure:12684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12684   rm -rf conftest*
12685   eval "ac_cv_func_$ac_func=yes"
12686 else
12687   echo "configure: failed program was:" >&5
12688   cat conftest.$ac_ext >&5
12689   rm -rf conftest*
12690   eval "ac_cv_func_$ac_func=no"
12691 fi
12692 rm -f conftest*
12693 fi
12694
12695 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12696   echo "$ac_t""yes" 1>&6
12697     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12698   cat >> confdefs.h <<EOF
12699 #define $ac_tr_func 1
12700 EOF
12701  
12702 else
12703   echo "$ac_t""no" 1>&6
12704 fi
12705 done
12706     
12707   fi
12708
12709   
12710   echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12711 echo "configure:12712: checking for _fabsf declaration" >&5
12712   if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12713   echo $ac_n "(cached) $ac_c" 1>&6
12714 else
12715   
12716     
12717     ac_ext=C
12718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12719 ac_cpp='$CXXCPP $CPPFLAGS'
12720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12722 cross_compiling=$ac_cv_prog_cxx_cross
12723
12724     cat > conftest.$ac_ext <<EOF
12725 #line 12726 "configure"
12726 #include "confdefs.h"
12727 #include <math.h>
12728 int main() {
12729  _fabsf(0);
12730 ; return 0; }
12731 EOF
12732 if { (eval echo configure:12733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12733   rm -rf conftest*
12734   glibcpp_cv_func__fabsf_use=yes
12735 else
12736   echo "configure: failed program was:" >&5
12737   cat conftest.$ac_ext >&5
12738   rm -rf conftest*
12739   glibcpp_cv_func__fabsf_use=no
12740 fi
12741 rm -f conftest*
12742     ac_ext=c
12743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12744 ac_cpp='$CPP $CPPFLAGS'
12745 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12746 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12747 cross_compiling=$ac_cv_prog_cc_cross
12748
12749   
12750 fi
12751
12752   echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12753   if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12754     for ac_func in _fabsf
12755 do
12756 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12757 echo "configure:12758: checking for $ac_func" >&5
12758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12759   echo $ac_n "(cached) $ac_c" 1>&6
12760 else
12761   cat > conftest.$ac_ext <<EOF
12762 #line 12763 "configure"
12763 #include "confdefs.h"
12764 /* System header to define __stub macros and hopefully few prototypes,
12765     which can conflict with char $ac_func(); below.  */
12766 #include <assert.h>
12767 /* Override any gcc2 internal prototype to avoid an error.  */
12768 /* We use char because int might match the return type of a gcc2
12769     builtin and then its argument prototype would still apply.  */
12770 char $ac_func();
12771
12772 int main() {
12773
12774 /* The GNU C library defines this for functions which it implements
12775     to always fail with ENOSYS.  Some functions are actually named
12776     something starting with __ and the normal name is an alias.  */
12777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12778 choke me
12779 #else
12780 $ac_func();
12781 #endif
12782
12783 ; return 0; }
12784 EOF
12785 if { (eval echo configure:12786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12786   rm -rf conftest*
12787   eval "ac_cv_func_$ac_func=yes"
12788 else
12789   echo "configure: failed program was:" >&5
12790   cat conftest.$ac_ext >&5
12791   rm -rf conftest*
12792   eval "ac_cv_func_$ac_func=no"
12793 fi
12794 rm -f conftest*
12795 fi
12796
12797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12798   echo "$ac_t""yes" 1>&6
12799     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12800   cat >> confdefs.h <<EOF
12801 #define $ac_tr_func 1
12802 EOF
12803  
12804 else
12805   echo "$ac_t""no" 1>&6
12806 fi
12807 done
12808     
12809   fi
12810
12811   
12812   echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12813 echo "configure:12814: checking for _floorf declaration" >&5
12814   if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12815   echo $ac_n "(cached) $ac_c" 1>&6
12816 else
12817   
12818     
12819     ac_ext=C
12820 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12821 ac_cpp='$CXXCPP $CPPFLAGS'
12822 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12823 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12824 cross_compiling=$ac_cv_prog_cxx_cross
12825
12826     cat > conftest.$ac_ext <<EOF
12827 #line 12828 "configure"
12828 #include "confdefs.h"
12829 #include <math.h>
12830 int main() {
12831  _floorf(0);
12832 ; return 0; }
12833 EOF
12834 if { (eval echo configure:12835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12835   rm -rf conftest*
12836   glibcpp_cv_func__floorf_use=yes
12837 else
12838   echo "configure: failed program was:" >&5
12839   cat conftest.$ac_ext >&5
12840   rm -rf conftest*
12841   glibcpp_cv_func__floorf_use=no
12842 fi
12843 rm -f conftest*
12844     ac_ext=c
12845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12846 ac_cpp='$CPP $CPPFLAGS'
12847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12849 cross_compiling=$ac_cv_prog_cc_cross
12850
12851   
12852 fi
12853
12854   echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
12855   if test x$glibcpp_cv_func__floorf_use = x"yes"; then
12856     for ac_func in _floorf
12857 do
12858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12859 echo "configure:12860: checking for $ac_func" >&5
12860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12861   echo $ac_n "(cached) $ac_c" 1>&6
12862 else
12863   cat > conftest.$ac_ext <<EOF
12864 #line 12865 "configure"
12865 #include "confdefs.h"
12866 /* System header to define __stub macros and hopefully few prototypes,
12867     which can conflict with char $ac_func(); below.  */
12868 #include <assert.h>
12869 /* Override any gcc2 internal prototype to avoid an error.  */
12870 /* We use char because int might match the return type of a gcc2
12871     builtin and then its argument prototype would still apply.  */
12872 char $ac_func();
12873
12874 int main() {
12875
12876 /* The GNU C library defines this for functions which it implements
12877     to always fail with ENOSYS.  Some functions are actually named
12878     something starting with __ and the normal name is an alias.  */
12879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12880 choke me
12881 #else
12882 $ac_func();
12883 #endif
12884
12885 ; return 0; }
12886 EOF
12887 if { (eval echo configure:12888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12888   rm -rf conftest*
12889   eval "ac_cv_func_$ac_func=yes"
12890 else
12891   echo "configure: failed program was:" >&5
12892   cat conftest.$ac_ext >&5
12893   rm -rf conftest*
12894   eval "ac_cv_func_$ac_func=no"
12895 fi
12896 rm -f conftest*
12897 fi
12898
12899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12900   echo "$ac_t""yes" 1>&6
12901     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12902   cat >> confdefs.h <<EOF
12903 #define $ac_tr_func 1
12904 EOF
12905  
12906 else
12907   echo "$ac_t""no" 1>&6
12908 fi
12909 done
12910     
12911   fi
12912
12913   
12914   echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12915 echo "configure:12916: checking for _fmodf declaration" >&5
12916   if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12917   echo $ac_n "(cached) $ac_c" 1>&6
12918 else
12919   
12920     
12921     ac_ext=C
12922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12923 ac_cpp='$CXXCPP $CPPFLAGS'
12924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12926 cross_compiling=$ac_cv_prog_cxx_cross
12927
12928     cat > conftest.$ac_ext <<EOF
12929 #line 12930 "configure"
12930 #include "confdefs.h"
12931 #include <math.h>
12932 int main() {
12933  _fmodf(0, 0);
12934 ; return 0; }
12935 EOF
12936 if { (eval echo configure:12937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12937   rm -rf conftest*
12938   glibcpp_cv_func__fmodf_use=yes
12939 else
12940   echo "configure: failed program was:" >&5
12941   cat conftest.$ac_ext >&5
12942   rm -rf conftest*
12943   glibcpp_cv_func__fmodf_use=no
12944 fi
12945 rm -f conftest*
12946     ac_ext=c
12947 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12948 ac_cpp='$CPP $CPPFLAGS'
12949 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12950 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12951 cross_compiling=$ac_cv_prog_cc_cross
12952
12953   
12954 fi
12955
12956   echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12957   if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12958     for ac_func in _fmodf
12959 do
12960 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12961 echo "configure:12962: checking for $ac_func" >&5
12962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12963   echo $ac_n "(cached) $ac_c" 1>&6
12964 else
12965   cat > conftest.$ac_ext <<EOF
12966 #line 12967 "configure"
12967 #include "confdefs.h"
12968 /* System header to define __stub macros and hopefully few prototypes,
12969     which can conflict with char $ac_func(); below.  */
12970 #include <assert.h>
12971 /* Override any gcc2 internal prototype to avoid an error.  */
12972 /* We use char because int might match the return type of a gcc2
12973     builtin and then its argument prototype would still apply.  */
12974 char $ac_func();
12975
12976 int main() {
12977
12978 /* The GNU C library defines this for functions which it implements
12979     to always fail with ENOSYS.  Some functions are actually named
12980     something starting with __ and the normal name is an alias.  */
12981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12982 choke me
12983 #else
12984 $ac_func();
12985 #endif
12986
12987 ; return 0; }
12988 EOF
12989 if { (eval echo configure:12990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12990   rm -rf conftest*
12991   eval "ac_cv_func_$ac_func=yes"
12992 else
12993   echo "configure: failed program was:" >&5
12994   cat conftest.$ac_ext >&5
12995   rm -rf conftest*
12996   eval "ac_cv_func_$ac_func=no"
12997 fi
12998 rm -f conftest*
12999 fi
13000
13001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13002   echo "$ac_t""yes" 1>&6
13003     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13004   cat >> confdefs.h <<EOF
13005 #define $ac_tr_func 1
13006 EOF
13007  
13008 else
13009   echo "$ac_t""no" 1>&6
13010 fi
13011 done
13012     
13013   fi
13014
13015   
13016   echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
13017 echo "configure:13018: checking for _frexpf declaration" >&5
13018   if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13019   echo $ac_n "(cached) $ac_c" 1>&6
13020 else
13021   
13022     
13023     ac_ext=C
13024 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13025 ac_cpp='$CXXCPP $CPPFLAGS'
13026 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13027 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13028 cross_compiling=$ac_cv_prog_cxx_cross
13029
13030     cat > conftest.$ac_ext <<EOF
13031 #line 13032 "configure"
13032 #include "confdefs.h"
13033 #include <math.h>
13034 int main() {
13035  _frexpf(0, 0);
13036 ; return 0; }
13037 EOF
13038 if { (eval echo configure:13039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13039   rm -rf conftest*
13040   glibcpp_cv_func__frexpf_use=yes
13041 else
13042   echo "configure: failed program was:" >&5
13043   cat conftest.$ac_ext >&5
13044   rm -rf conftest*
13045   glibcpp_cv_func__frexpf_use=no
13046 fi
13047 rm -f conftest*
13048     ac_ext=c
13049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13050 ac_cpp='$CPP $CPPFLAGS'
13051 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13052 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13053 cross_compiling=$ac_cv_prog_cc_cross
13054
13055   
13056 fi
13057
13058   echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13059   if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13060     for ac_func in _frexpf
13061 do
13062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13063 echo "configure:13064: checking for $ac_func" >&5
13064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13065   echo $ac_n "(cached) $ac_c" 1>&6
13066 else
13067   cat > conftest.$ac_ext <<EOF
13068 #line 13069 "configure"
13069 #include "confdefs.h"
13070 /* System header to define __stub macros and hopefully few prototypes,
13071     which can conflict with char $ac_func(); below.  */
13072 #include <assert.h>
13073 /* Override any gcc2 internal prototype to avoid an error.  */
13074 /* We use char because int might match the return type of a gcc2
13075     builtin and then its argument prototype would still apply.  */
13076 char $ac_func();
13077
13078 int main() {
13079
13080 /* The GNU C library defines this for functions which it implements
13081     to always fail with ENOSYS.  Some functions are actually named
13082     something starting with __ and the normal name is an alias.  */
13083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13084 choke me
13085 #else
13086 $ac_func();
13087 #endif
13088
13089 ; return 0; }
13090 EOF
13091 if { (eval echo configure:13092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13092   rm -rf conftest*
13093   eval "ac_cv_func_$ac_func=yes"
13094 else
13095   echo "configure: failed program was:" >&5
13096   cat conftest.$ac_ext >&5
13097   rm -rf conftest*
13098   eval "ac_cv_func_$ac_func=no"
13099 fi
13100 rm -f conftest*
13101 fi
13102
13103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13104   echo "$ac_t""yes" 1>&6
13105     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13106   cat >> confdefs.h <<EOF
13107 #define $ac_tr_func 1
13108 EOF
13109  
13110 else
13111   echo "$ac_t""no" 1>&6
13112 fi
13113 done
13114     
13115   fi
13116
13117   
13118   echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13119 echo "configure:13120: checking for _ldexpf declaration" >&5
13120   if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13121   echo $ac_n "(cached) $ac_c" 1>&6
13122 else
13123   
13124     
13125     ac_ext=C
13126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13127 ac_cpp='$CXXCPP $CPPFLAGS'
13128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13130 cross_compiling=$ac_cv_prog_cxx_cross
13131
13132     cat > conftest.$ac_ext <<EOF
13133 #line 13134 "configure"
13134 #include "confdefs.h"
13135 #include <math.h>
13136 int main() {
13137  _ldexpf(0, 0);
13138 ; return 0; }
13139 EOF
13140 if { (eval echo configure:13141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13141   rm -rf conftest*
13142   glibcpp_cv_func__ldexpf_use=yes
13143 else
13144   echo "configure: failed program was:" >&5
13145   cat conftest.$ac_ext >&5
13146   rm -rf conftest*
13147   glibcpp_cv_func__ldexpf_use=no
13148 fi
13149 rm -f conftest*
13150     ac_ext=c
13151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13152 ac_cpp='$CPP $CPPFLAGS'
13153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13155 cross_compiling=$ac_cv_prog_cc_cross
13156
13157   
13158 fi
13159
13160   echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13161   if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13162     for ac_func in _ldexpf
13163 do
13164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13165 echo "configure:13166: checking for $ac_func" >&5
13166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13167   echo $ac_n "(cached) $ac_c" 1>&6
13168 else
13169   cat > conftest.$ac_ext <<EOF
13170 #line 13171 "configure"
13171 #include "confdefs.h"
13172 /* System header to define __stub macros and hopefully few prototypes,
13173     which can conflict with char $ac_func(); below.  */
13174 #include <assert.h>
13175 /* Override any gcc2 internal prototype to avoid an error.  */
13176 /* We use char because int might match the return type of a gcc2
13177     builtin and then its argument prototype would still apply.  */
13178 char $ac_func();
13179
13180 int main() {
13181
13182 /* The GNU C library defines this for functions which it implements
13183     to always fail with ENOSYS.  Some functions are actually named
13184     something starting with __ and the normal name is an alias.  */
13185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13186 choke me
13187 #else
13188 $ac_func();
13189 #endif
13190
13191 ; return 0; }
13192 EOF
13193 if { (eval echo configure:13194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13194   rm -rf conftest*
13195   eval "ac_cv_func_$ac_func=yes"
13196 else
13197   echo "configure: failed program was:" >&5
13198   cat conftest.$ac_ext >&5
13199   rm -rf conftest*
13200   eval "ac_cv_func_$ac_func=no"
13201 fi
13202 rm -f conftest*
13203 fi
13204
13205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13206   echo "$ac_t""yes" 1>&6
13207     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13208   cat >> confdefs.h <<EOF
13209 #define $ac_tr_func 1
13210 EOF
13211  
13212 else
13213   echo "$ac_t""no" 1>&6
13214 fi
13215 done
13216     
13217   fi
13218
13219   
13220   echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13221 echo "configure:13222: checking for _logf declaration" >&5
13222   if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13223   echo $ac_n "(cached) $ac_c" 1>&6
13224 else
13225   
13226     
13227     ac_ext=C
13228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13229 ac_cpp='$CXXCPP $CPPFLAGS'
13230 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13231 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13232 cross_compiling=$ac_cv_prog_cxx_cross
13233
13234     cat > conftest.$ac_ext <<EOF
13235 #line 13236 "configure"
13236 #include "confdefs.h"
13237 #include <math.h>
13238 int main() {
13239  _logf(0);
13240 ; return 0; }
13241 EOF
13242 if { (eval echo configure:13243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13243   rm -rf conftest*
13244   glibcpp_cv_func__logf_use=yes
13245 else
13246   echo "configure: failed program was:" >&5
13247   cat conftest.$ac_ext >&5
13248   rm -rf conftest*
13249   glibcpp_cv_func__logf_use=no
13250 fi
13251 rm -f conftest*
13252     ac_ext=c
13253 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13254 ac_cpp='$CPP $CPPFLAGS'
13255 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13256 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13257 cross_compiling=$ac_cv_prog_cc_cross
13258
13259   
13260 fi
13261
13262   echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13263   if test x$glibcpp_cv_func__logf_use = x"yes"; then
13264     for ac_func in _logf
13265 do
13266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13267 echo "configure:13268: checking for $ac_func" >&5
13268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13269   echo $ac_n "(cached) $ac_c" 1>&6
13270 else
13271   cat > conftest.$ac_ext <<EOF
13272 #line 13273 "configure"
13273 #include "confdefs.h"
13274 /* System header to define __stub macros and hopefully few prototypes,
13275     which can conflict with char $ac_func(); below.  */
13276 #include <assert.h>
13277 /* Override any gcc2 internal prototype to avoid an error.  */
13278 /* We use char because int might match the return type of a gcc2
13279     builtin and then its argument prototype would still apply.  */
13280 char $ac_func();
13281
13282 int main() {
13283
13284 /* The GNU C library defines this for functions which it implements
13285     to always fail with ENOSYS.  Some functions are actually named
13286     something starting with __ and the normal name is an alias.  */
13287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13288 choke me
13289 #else
13290 $ac_func();
13291 #endif
13292
13293 ; return 0; }
13294 EOF
13295 if { (eval echo configure:13296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13296   rm -rf conftest*
13297   eval "ac_cv_func_$ac_func=yes"
13298 else
13299   echo "configure: failed program was:" >&5
13300   cat conftest.$ac_ext >&5
13301   rm -rf conftest*
13302   eval "ac_cv_func_$ac_func=no"
13303 fi
13304 rm -f conftest*
13305 fi
13306
13307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13308   echo "$ac_t""yes" 1>&6
13309     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13310   cat >> confdefs.h <<EOF
13311 #define $ac_tr_func 1
13312 EOF
13313  
13314 else
13315   echo "$ac_t""no" 1>&6
13316 fi
13317 done
13318     
13319   fi
13320
13321   
13322   echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13323 echo "configure:13324: checking for _log10f declaration" >&5
13324   if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13325   echo $ac_n "(cached) $ac_c" 1>&6
13326 else
13327   
13328     
13329     ac_ext=C
13330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13331 ac_cpp='$CXXCPP $CPPFLAGS'
13332 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13333 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13334 cross_compiling=$ac_cv_prog_cxx_cross
13335
13336     cat > conftest.$ac_ext <<EOF
13337 #line 13338 "configure"
13338 #include "confdefs.h"
13339 #include <math.h>
13340 int main() {
13341  _log10f(0);
13342 ; return 0; }
13343 EOF
13344 if { (eval echo configure:13345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13345   rm -rf conftest*
13346   glibcpp_cv_func__log10f_use=yes
13347 else
13348   echo "configure: failed program was:" >&5
13349   cat conftest.$ac_ext >&5
13350   rm -rf conftest*
13351   glibcpp_cv_func__log10f_use=no
13352 fi
13353 rm -f conftest*
13354     ac_ext=c
13355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13356 ac_cpp='$CPP $CPPFLAGS'
13357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13359 cross_compiling=$ac_cv_prog_cc_cross
13360
13361   
13362 fi
13363
13364   echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13365   if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13366     for ac_func in _log10f
13367 do
13368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13369 echo "configure:13370: checking for $ac_func" >&5
13370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13371   echo $ac_n "(cached) $ac_c" 1>&6
13372 else
13373   cat > conftest.$ac_ext <<EOF
13374 #line 13375 "configure"
13375 #include "confdefs.h"
13376 /* System header to define __stub macros and hopefully few prototypes,
13377     which can conflict with char $ac_func(); below.  */
13378 #include <assert.h>
13379 /* Override any gcc2 internal prototype to avoid an error.  */
13380 /* We use char because int might match the return type of a gcc2
13381     builtin and then its argument prototype would still apply.  */
13382 char $ac_func();
13383
13384 int main() {
13385
13386 /* The GNU C library defines this for functions which it implements
13387     to always fail with ENOSYS.  Some functions are actually named
13388     something starting with __ and the normal name is an alias.  */
13389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13390 choke me
13391 #else
13392 $ac_func();
13393 #endif
13394
13395 ; return 0; }
13396 EOF
13397 if { (eval echo configure:13398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13398   rm -rf conftest*
13399   eval "ac_cv_func_$ac_func=yes"
13400 else
13401   echo "configure: failed program was:" >&5
13402   cat conftest.$ac_ext >&5
13403   rm -rf conftest*
13404   eval "ac_cv_func_$ac_func=no"
13405 fi
13406 rm -f conftest*
13407 fi
13408
13409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13410   echo "$ac_t""yes" 1>&6
13411     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13412   cat >> confdefs.h <<EOF
13413 #define $ac_tr_func 1
13414 EOF
13415  
13416 else
13417   echo "$ac_t""no" 1>&6
13418 fi
13419 done
13420     
13421   fi
13422
13423   
13424   echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13425 echo "configure:13426: checking for _modff declaration" >&5
13426   if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13427   echo $ac_n "(cached) $ac_c" 1>&6
13428 else
13429   
13430     
13431     ac_ext=C
13432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13433 ac_cpp='$CXXCPP $CPPFLAGS'
13434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13436 cross_compiling=$ac_cv_prog_cxx_cross
13437
13438     cat > conftest.$ac_ext <<EOF
13439 #line 13440 "configure"
13440 #include "confdefs.h"
13441 #include <math.h>
13442 int main() {
13443  _modff(0, 0);
13444 ; return 0; }
13445 EOF
13446 if { (eval echo configure:13447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13447   rm -rf conftest*
13448   glibcpp_cv_func__modff_use=yes
13449 else
13450   echo "configure: failed program was:" >&5
13451   cat conftest.$ac_ext >&5
13452   rm -rf conftest*
13453   glibcpp_cv_func__modff_use=no
13454 fi
13455 rm -f conftest*
13456     ac_ext=c
13457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13458 ac_cpp='$CPP $CPPFLAGS'
13459 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13460 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13461 cross_compiling=$ac_cv_prog_cc_cross
13462
13463   
13464 fi
13465
13466   echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13467   if test x$glibcpp_cv_func__modff_use = x"yes"; then
13468     for ac_func in _modff
13469 do
13470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13471 echo "configure:13472: checking for $ac_func" >&5
13472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13473   echo $ac_n "(cached) $ac_c" 1>&6
13474 else
13475   cat > conftest.$ac_ext <<EOF
13476 #line 13477 "configure"
13477 #include "confdefs.h"
13478 /* System header to define __stub macros and hopefully few prototypes,
13479     which can conflict with char $ac_func(); below.  */
13480 #include <assert.h>
13481 /* Override any gcc2 internal prototype to avoid an error.  */
13482 /* We use char because int might match the return type of a gcc2
13483     builtin and then its argument prototype would still apply.  */
13484 char $ac_func();
13485
13486 int main() {
13487
13488 /* The GNU C library defines this for functions which it implements
13489     to always fail with ENOSYS.  Some functions are actually named
13490     something starting with __ and the normal name is an alias.  */
13491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13492 choke me
13493 #else
13494 $ac_func();
13495 #endif
13496
13497 ; return 0; }
13498 EOF
13499 if { (eval echo configure:13500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13500   rm -rf conftest*
13501   eval "ac_cv_func_$ac_func=yes"
13502 else
13503   echo "configure: failed program was:" >&5
13504   cat conftest.$ac_ext >&5
13505   rm -rf conftest*
13506   eval "ac_cv_func_$ac_func=no"
13507 fi
13508 rm -f conftest*
13509 fi
13510
13511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13512   echo "$ac_t""yes" 1>&6
13513     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13514   cat >> confdefs.h <<EOF
13515 #define $ac_tr_func 1
13516 EOF
13517  
13518 else
13519   echo "$ac_t""no" 1>&6
13520 fi
13521 done
13522     
13523   fi
13524
13525   
13526   echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13527 echo "configure:13528: checking for _powf declaration" >&5
13528   if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13529   echo $ac_n "(cached) $ac_c" 1>&6
13530 else
13531   
13532     
13533     ac_ext=C
13534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13535 ac_cpp='$CXXCPP $CPPFLAGS'
13536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13538 cross_compiling=$ac_cv_prog_cxx_cross
13539
13540     cat > conftest.$ac_ext <<EOF
13541 #line 13542 "configure"
13542 #include "confdefs.h"
13543 #include <math.h>
13544 int main() {
13545  _powf(0, 0);
13546 ; return 0; }
13547 EOF
13548 if { (eval echo configure:13549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13549   rm -rf conftest*
13550   glibcpp_cv_func__powf_use=yes
13551 else
13552   echo "configure: failed program was:" >&5
13553   cat conftest.$ac_ext >&5
13554   rm -rf conftest*
13555   glibcpp_cv_func__powf_use=no
13556 fi
13557 rm -f conftest*
13558     ac_ext=c
13559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13560 ac_cpp='$CPP $CPPFLAGS'
13561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13563 cross_compiling=$ac_cv_prog_cc_cross
13564
13565   
13566 fi
13567
13568   echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13569   if test x$glibcpp_cv_func__powf_use = x"yes"; then
13570     for ac_func in _powf
13571 do
13572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13573 echo "configure:13574: checking for $ac_func" >&5
13574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13575   echo $ac_n "(cached) $ac_c" 1>&6
13576 else
13577   cat > conftest.$ac_ext <<EOF
13578 #line 13579 "configure"
13579 #include "confdefs.h"
13580 /* System header to define __stub macros and hopefully few prototypes,
13581     which can conflict with char $ac_func(); below.  */
13582 #include <assert.h>
13583 /* Override any gcc2 internal prototype to avoid an error.  */
13584 /* We use char because int might match the return type of a gcc2
13585     builtin and then its argument prototype would still apply.  */
13586 char $ac_func();
13587
13588 int main() {
13589
13590 /* The GNU C library defines this for functions which it implements
13591     to always fail with ENOSYS.  Some functions are actually named
13592     something starting with __ and the normal name is an alias.  */
13593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13594 choke me
13595 #else
13596 $ac_func();
13597 #endif
13598
13599 ; return 0; }
13600 EOF
13601 if { (eval echo configure:13602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13602   rm -rf conftest*
13603   eval "ac_cv_func_$ac_func=yes"
13604 else
13605   echo "configure: failed program was:" >&5
13606   cat conftest.$ac_ext >&5
13607   rm -rf conftest*
13608   eval "ac_cv_func_$ac_func=no"
13609 fi
13610 rm -f conftest*
13611 fi
13612
13613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13614   echo "$ac_t""yes" 1>&6
13615     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13616   cat >> confdefs.h <<EOF
13617 #define $ac_tr_func 1
13618 EOF
13619  
13620 else
13621   echo "$ac_t""no" 1>&6
13622 fi
13623 done
13624     
13625   fi
13626
13627   
13628   echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13629 echo "configure:13630: checking for _sinf declaration" >&5
13630   if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13631   echo $ac_n "(cached) $ac_c" 1>&6
13632 else
13633   
13634     
13635     ac_ext=C
13636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13637 ac_cpp='$CXXCPP $CPPFLAGS'
13638 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13639 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13640 cross_compiling=$ac_cv_prog_cxx_cross
13641
13642     cat > conftest.$ac_ext <<EOF
13643 #line 13644 "configure"
13644 #include "confdefs.h"
13645 #include <math.h>
13646 int main() {
13647  _sinf(0);
13648 ; return 0; }
13649 EOF
13650 if { (eval echo configure:13651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13651   rm -rf conftest*
13652   glibcpp_cv_func__sinf_use=yes
13653 else
13654   echo "configure: failed program was:" >&5
13655   cat conftest.$ac_ext >&5
13656   rm -rf conftest*
13657   glibcpp_cv_func__sinf_use=no
13658 fi
13659 rm -f conftest*
13660     ac_ext=c
13661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13662 ac_cpp='$CPP $CPPFLAGS'
13663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13665 cross_compiling=$ac_cv_prog_cc_cross
13666
13667   
13668 fi
13669
13670   echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13671   if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13672     for ac_func in _sinf
13673 do
13674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13675 echo "configure:13676: checking for $ac_func" >&5
13676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13677   echo $ac_n "(cached) $ac_c" 1>&6
13678 else
13679   cat > conftest.$ac_ext <<EOF
13680 #line 13681 "configure"
13681 #include "confdefs.h"
13682 /* System header to define __stub macros and hopefully few prototypes,
13683     which can conflict with char $ac_func(); below.  */
13684 #include <assert.h>
13685 /* Override any gcc2 internal prototype to avoid an error.  */
13686 /* We use char because int might match the return type of a gcc2
13687     builtin and then its argument prototype would still apply.  */
13688 char $ac_func();
13689
13690 int main() {
13691
13692 /* The GNU C library defines this for functions which it implements
13693     to always fail with ENOSYS.  Some functions are actually named
13694     something starting with __ and the normal name is an alias.  */
13695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13696 choke me
13697 #else
13698 $ac_func();
13699 #endif
13700
13701 ; return 0; }
13702 EOF
13703 if { (eval echo configure:13704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13704   rm -rf conftest*
13705   eval "ac_cv_func_$ac_func=yes"
13706 else
13707   echo "configure: failed program was:" >&5
13708   cat conftest.$ac_ext >&5
13709   rm -rf conftest*
13710   eval "ac_cv_func_$ac_func=no"
13711 fi
13712 rm -f conftest*
13713 fi
13714
13715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13716   echo "$ac_t""yes" 1>&6
13717     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13718   cat >> confdefs.h <<EOF
13719 #define $ac_tr_func 1
13720 EOF
13721  
13722 else
13723   echo "$ac_t""no" 1>&6
13724 fi
13725 done
13726     
13727   fi
13728
13729   
13730   echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13731 echo "configure:13732: checking for _sinhf declaration" >&5
13732   if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13733   echo $ac_n "(cached) $ac_c" 1>&6
13734 else
13735   
13736     
13737     ac_ext=C
13738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13739 ac_cpp='$CXXCPP $CPPFLAGS'
13740 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13741 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13742 cross_compiling=$ac_cv_prog_cxx_cross
13743
13744     cat > conftest.$ac_ext <<EOF
13745 #line 13746 "configure"
13746 #include "confdefs.h"
13747 #include <math.h>
13748 int main() {
13749  _sinhf(0);
13750 ; return 0; }
13751 EOF
13752 if { (eval echo configure:13753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13753   rm -rf conftest*
13754   glibcpp_cv_func__sinhf_use=yes
13755 else
13756   echo "configure: failed program was:" >&5
13757   cat conftest.$ac_ext >&5
13758   rm -rf conftest*
13759   glibcpp_cv_func__sinhf_use=no
13760 fi
13761 rm -f conftest*
13762     ac_ext=c
13763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13764 ac_cpp='$CPP $CPPFLAGS'
13765 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13766 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13767 cross_compiling=$ac_cv_prog_cc_cross
13768
13769   
13770 fi
13771
13772   echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13773   if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13774     for ac_func in _sinhf
13775 do
13776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13777 echo "configure:13778: checking for $ac_func" >&5
13778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13779   echo $ac_n "(cached) $ac_c" 1>&6
13780 else
13781   cat > conftest.$ac_ext <<EOF
13782 #line 13783 "configure"
13783 #include "confdefs.h"
13784 /* System header to define __stub macros and hopefully few prototypes,
13785     which can conflict with char $ac_func(); below.  */
13786 #include <assert.h>
13787 /* Override any gcc2 internal prototype to avoid an error.  */
13788 /* We use char because int might match the return type of a gcc2
13789     builtin and then its argument prototype would still apply.  */
13790 char $ac_func();
13791
13792 int main() {
13793
13794 /* The GNU C library defines this for functions which it implements
13795     to always fail with ENOSYS.  Some functions are actually named
13796     something starting with __ and the normal name is an alias.  */
13797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13798 choke me
13799 #else
13800 $ac_func();
13801 #endif
13802
13803 ; return 0; }
13804 EOF
13805 if { (eval echo configure:13806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13806   rm -rf conftest*
13807   eval "ac_cv_func_$ac_func=yes"
13808 else
13809   echo "configure: failed program was:" >&5
13810   cat conftest.$ac_ext >&5
13811   rm -rf conftest*
13812   eval "ac_cv_func_$ac_func=no"
13813 fi
13814 rm -f conftest*
13815 fi
13816
13817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13818   echo "$ac_t""yes" 1>&6
13819     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13820   cat >> confdefs.h <<EOF
13821 #define $ac_tr_func 1
13822 EOF
13823  
13824 else
13825   echo "$ac_t""no" 1>&6
13826 fi
13827 done
13828     
13829   fi
13830
13831   
13832   echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13833 echo "configure:13834: checking for _sqrtf declaration" >&5
13834   if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13835   echo $ac_n "(cached) $ac_c" 1>&6
13836 else
13837   
13838     
13839     ac_ext=C
13840 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13841 ac_cpp='$CXXCPP $CPPFLAGS'
13842 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13843 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13844 cross_compiling=$ac_cv_prog_cxx_cross
13845
13846     cat > conftest.$ac_ext <<EOF
13847 #line 13848 "configure"
13848 #include "confdefs.h"
13849 #include <math.h>
13850 int main() {
13851  _sqrtf(0);
13852 ; return 0; }
13853 EOF
13854 if { (eval echo configure:13855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13855   rm -rf conftest*
13856   glibcpp_cv_func__sqrtf_use=yes
13857 else
13858   echo "configure: failed program was:" >&5
13859   cat conftest.$ac_ext >&5
13860   rm -rf conftest*
13861   glibcpp_cv_func__sqrtf_use=no
13862 fi
13863 rm -f conftest*
13864     ac_ext=c
13865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13866 ac_cpp='$CPP $CPPFLAGS'
13867 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13868 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13869 cross_compiling=$ac_cv_prog_cc_cross
13870
13871   
13872 fi
13873
13874   echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13875   if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13876     for ac_func in _sqrtf
13877 do
13878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13879 echo "configure:13880: checking for $ac_func" >&5
13880 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13881   echo $ac_n "(cached) $ac_c" 1>&6
13882 else
13883   cat > conftest.$ac_ext <<EOF
13884 #line 13885 "configure"
13885 #include "confdefs.h"
13886 /* System header to define __stub macros and hopefully few prototypes,
13887     which can conflict with char $ac_func(); below.  */
13888 #include <assert.h>
13889 /* Override any gcc2 internal prototype to avoid an error.  */
13890 /* We use char because int might match the return type of a gcc2
13891     builtin and then its argument prototype would still apply.  */
13892 char $ac_func();
13893
13894 int main() {
13895
13896 /* The GNU C library defines this for functions which it implements
13897     to always fail with ENOSYS.  Some functions are actually named
13898     something starting with __ and the normal name is an alias.  */
13899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13900 choke me
13901 #else
13902 $ac_func();
13903 #endif
13904
13905 ; return 0; }
13906 EOF
13907 if { (eval echo configure:13908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13908   rm -rf conftest*
13909   eval "ac_cv_func_$ac_func=yes"
13910 else
13911   echo "configure: failed program was:" >&5
13912   cat conftest.$ac_ext >&5
13913   rm -rf conftest*
13914   eval "ac_cv_func_$ac_func=no"
13915 fi
13916 rm -f conftest*
13917 fi
13918
13919 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13920   echo "$ac_t""yes" 1>&6
13921     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13922   cat >> confdefs.h <<EOF
13923 #define $ac_tr_func 1
13924 EOF
13925  
13926 else
13927   echo "$ac_t""no" 1>&6
13928 fi
13929 done
13930     
13931   fi
13932
13933   
13934   echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
13935 echo "configure:13936: checking for _tanf declaration" >&5
13936   if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
13937   echo $ac_n "(cached) $ac_c" 1>&6
13938 else
13939   
13940     
13941     ac_ext=C
13942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13943 ac_cpp='$CXXCPP $CPPFLAGS'
13944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13946 cross_compiling=$ac_cv_prog_cxx_cross
13947
13948     cat > conftest.$ac_ext <<EOF
13949 #line 13950 "configure"
13950 #include "confdefs.h"
13951 #include <math.h>
13952 int main() {
13953  _tanf(0);
13954 ; return 0; }
13955 EOF
13956 if { (eval echo configure:13957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13957   rm -rf conftest*
13958   glibcpp_cv_func__tanf_use=yes
13959 else
13960   echo "configure: failed program was:" >&5
13961   cat conftest.$ac_ext >&5
13962   rm -rf conftest*
13963   glibcpp_cv_func__tanf_use=no
13964 fi
13965 rm -f conftest*
13966     ac_ext=c
13967 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13968 ac_cpp='$CPP $CPPFLAGS'
13969 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13970 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13971 cross_compiling=$ac_cv_prog_cc_cross
13972
13973   
13974 fi
13975
13976   echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
13977   if test x$glibcpp_cv_func__tanf_use = x"yes"; then
13978     for ac_func in _tanf
13979 do
13980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13981 echo "configure:13982: checking for $ac_func" >&5
13982 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13983   echo $ac_n "(cached) $ac_c" 1>&6
13984 else
13985   cat > conftest.$ac_ext <<EOF
13986 #line 13987 "configure"
13987 #include "confdefs.h"
13988 /* System header to define __stub macros and hopefully few prototypes,
13989     which can conflict with char $ac_func(); below.  */
13990 #include <assert.h>
13991 /* Override any gcc2 internal prototype to avoid an error.  */
13992 /* We use char because int might match the return type of a gcc2
13993     builtin and then its argument prototype would still apply.  */
13994 char $ac_func();
13995
13996 int main() {
13997
13998 /* The GNU C library defines this for functions which it implements
13999     to always fail with ENOSYS.  Some functions are actually named
14000     something starting with __ and the normal name is an alias.  */
14001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14002 choke me
14003 #else
14004 $ac_func();
14005 #endif
14006
14007 ; return 0; }
14008 EOF
14009 if { (eval echo configure:14010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14010   rm -rf conftest*
14011   eval "ac_cv_func_$ac_func=yes"
14012 else
14013   echo "configure: failed program was:" >&5
14014   cat conftest.$ac_ext >&5
14015   rm -rf conftest*
14016   eval "ac_cv_func_$ac_func=no"
14017 fi
14018 rm -f conftest*
14019 fi
14020
14021 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14022   echo "$ac_t""yes" 1>&6
14023     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14024   cat >> confdefs.h <<EOF
14025 #define $ac_tr_func 1
14026 EOF
14027  
14028 else
14029   echo "$ac_t""no" 1>&6
14030 fi
14031 done
14032     
14033   fi
14034
14035   
14036   echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
14037 echo "configure:14038: checking for _tanhf declaration" >&5
14038   if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
14039   echo $ac_n "(cached) $ac_c" 1>&6
14040 else
14041   
14042     
14043     ac_ext=C
14044 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14045 ac_cpp='$CXXCPP $CPPFLAGS'
14046 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14047 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14048 cross_compiling=$ac_cv_prog_cxx_cross
14049
14050     cat > conftest.$ac_ext <<EOF
14051 #line 14052 "configure"
14052 #include "confdefs.h"
14053 #include <math.h>
14054 int main() {
14055  _tanhf(0);
14056 ; return 0; }
14057 EOF
14058 if { (eval echo configure:14059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14059   rm -rf conftest*
14060   glibcpp_cv_func__tanhf_use=yes
14061 else
14062   echo "configure: failed program was:" >&5
14063   cat conftest.$ac_ext >&5
14064   rm -rf conftest*
14065   glibcpp_cv_func__tanhf_use=no
14066 fi
14067 rm -f conftest*
14068     ac_ext=c
14069 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14070 ac_cpp='$CPP $CPPFLAGS'
14071 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14072 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14073 cross_compiling=$ac_cv_prog_cc_cross
14074
14075   
14076 fi
14077
14078   echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
14079   if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
14080     for ac_func in _tanhf
14081 do
14082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14083 echo "configure:14084: checking for $ac_func" >&5
14084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14085   echo $ac_n "(cached) $ac_c" 1>&6
14086 else
14087   cat > conftest.$ac_ext <<EOF
14088 #line 14089 "configure"
14089 #include "confdefs.h"
14090 /* System header to define __stub macros and hopefully few prototypes,
14091     which can conflict with char $ac_func(); below.  */
14092 #include <assert.h>
14093 /* Override any gcc2 internal prototype to avoid an error.  */
14094 /* We use char because int might match the return type of a gcc2
14095     builtin and then its argument prototype would still apply.  */
14096 char $ac_func();
14097
14098 int main() {
14099
14100 /* The GNU C library defines this for functions which it implements
14101     to always fail with ENOSYS.  Some functions are actually named
14102     something starting with __ and the normal name is an alias.  */
14103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14104 choke me
14105 #else
14106 $ac_func();
14107 #endif
14108
14109 ; return 0; }
14110 EOF
14111 if { (eval echo configure:14112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14112   rm -rf conftest*
14113   eval "ac_cv_func_$ac_func=yes"
14114 else
14115   echo "configure: failed program was:" >&5
14116   cat conftest.$ac_ext >&5
14117   rm -rf conftest*
14118   eval "ac_cv_func_$ac_func=no"
14119 fi
14120 rm -f conftest*
14121 fi
14122
14123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14124   echo "$ac_t""yes" 1>&6
14125     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14126   cat >> confdefs.h <<EOF
14127 #define $ac_tr_func 1
14128 EOF
14129  
14130 else
14131   echo "$ac_t""no" 1>&6
14132 fi
14133 done
14134     
14135   fi
14136
14137   
14138   echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14139 echo "configure:14140: checking for _sincosf declaration" >&5
14140   if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14141   echo $ac_n "(cached) $ac_c" 1>&6
14142 else
14143   
14144     
14145     ac_ext=C
14146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14147 ac_cpp='$CXXCPP $CPPFLAGS'
14148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14150 cross_compiling=$ac_cv_prog_cxx_cross
14151
14152     cat > conftest.$ac_ext <<EOF
14153 #line 14154 "configure"
14154 #include "confdefs.h"
14155 #include <math.h>
14156 int main() {
14157  _sincosf(0, 0, 0);
14158 ; return 0; }
14159 EOF
14160 if { (eval echo configure:14161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14161   rm -rf conftest*
14162   glibcpp_cv_func__sincosf_use=yes
14163 else
14164   echo "configure: failed program was:" >&5
14165   cat conftest.$ac_ext >&5
14166   rm -rf conftest*
14167   glibcpp_cv_func__sincosf_use=no
14168 fi
14169 rm -f conftest*
14170     ac_ext=c
14171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14172 ac_cpp='$CPP $CPPFLAGS'
14173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14175 cross_compiling=$ac_cv_prog_cc_cross
14176
14177   
14178 fi
14179
14180   echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14181   if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14182     for ac_func in _sincosf
14183 do
14184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14185 echo "configure:14186: checking for $ac_func" >&5
14186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14187   echo $ac_n "(cached) $ac_c" 1>&6
14188 else
14189   cat > conftest.$ac_ext <<EOF
14190 #line 14191 "configure"
14191 #include "confdefs.h"
14192 /* System header to define __stub macros and hopefully few prototypes,
14193     which can conflict with char $ac_func(); below.  */
14194 #include <assert.h>
14195 /* Override any gcc2 internal prototype to avoid an error.  */
14196 /* We use char because int might match the return type of a gcc2
14197     builtin and then its argument prototype would still apply.  */
14198 char $ac_func();
14199
14200 int main() {
14201
14202 /* The GNU C library defines this for functions which it implements
14203     to always fail with ENOSYS.  Some functions are actually named
14204     something starting with __ and the normal name is an alias.  */
14205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14206 choke me
14207 #else
14208 $ac_func();
14209 #endif
14210
14211 ; return 0; }
14212 EOF
14213 if { (eval echo configure:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14214   rm -rf conftest*
14215   eval "ac_cv_func_$ac_func=yes"
14216 else
14217   echo "configure: failed program was:" >&5
14218   cat conftest.$ac_ext >&5
14219   rm -rf conftest*
14220   eval "ac_cv_func_$ac_func=no"
14221 fi
14222 rm -f conftest*
14223 fi
14224
14225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14226   echo "$ac_t""yes" 1>&6
14227     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14228   cat >> confdefs.h <<EOF
14229 #define $ac_tr_func 1
14230 EOF
14231  
14232 else
14233   echo "$ac_t""no" 1>&6
14234 fi
14235 done
14236     
14237   fi
14238
14239   
14240   echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14241 echo "configure:14242: checking for _finitef declaration" >&5
14242   if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14243   echo $ac_n "(cached) $ac_c" 1>&6
14244 else
14245   
14246     
14247     ac_ext=C
14248 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14249 ac_cpp='$CXXCPP $CPPFLAGS'
14250 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14251 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14252 cross_compiling=$ac_cv_prog_cxx_cross
14253
14254     cat > conftest.$ac_ext <<EOF
14255 #line 14256 "configure"
14256 #include "confdefs.h"
14257 #include <math.h>
14258 int main() {
14259  _finitef(0);
14260 ; return 0; }
14261 EOF
14262 if { (eval echo configure:14263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14263   rm -rf conftest*
14264   glibcpp_cv_func__finitef_use=yes
14265 else
14266   echo "configure: failed program was:" >&5
14267   cat conftest.$ac_ext >&5
14268   rm -rf conftest*
14269   glibcpp_cv_func__finitef_use=no
14270 fi
14271 rm -f conftest*
14272     ac_ext=c
14273 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14274 ac_cpp='$CPP $CPPFLAGS'
14275 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14276 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14277 cross_compiling=$ac_cv_prog_cc_cross
14278
14279   
14280 fi
14281
14282   echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14283   if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14284     for ac_func in _finitef
14285 do
14286 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14287 echo "configure:14288: checking for $ac_func" >&5
14288 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14289   echo $ac_n "(cached) $ac_c" 1>&6
14290 else
14291   cat > conftest.$ac_ext <<EOF
14292 #line 14293 "configure"
14293 #include "confdefs.h"
14294 /* System header to define __stub macros and hopefully few prototypes,
14295     which can conflict with char $ac_func(); below.  */
14296 #include <assert.h>
14297 /* Override any gcc2 internal prototype to avoid an error.  */
14298 /* We use char because int might match the return type of a gcc2
14299     builtin and then its argument prototype would still apply.  */
14300 char $ac_func();
14301
14302 int main() {
14303
14304 /* The GNU C library defines this for functions which it implements
14305     to always fail with ENOSYS.  Some functions are actually named
14306     something starting with __ and the normal name is an alias.  */
14307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14308 choke me
14309 #else
14310 $ac_func();
14311 #endif
14312
14313 ; return 0; }
14314 EOF
14315 if { (eval echo configure:14316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14316   rm -rf conftest*
14317   eval "ac_cv_func_$ac_func=yes"
14318 else
14319   echo "configure: failed program was:" >&5
14320   cat conftest.$ac_ext >&5
14321   rm -rf conftest*
14322   eval "ac_cv_func_$ac_func=no"
14323 fi
14324 rm -f conftest*
14325 fi
14326
14327 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14328   echo "$ac_t""yes" 1>&6
14329     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14330   cat >> confdefs.h <<EOF
14331 #define $ac_tr_func 1
14332 EOF
14333  
14334 else
14335   echo "$ac_t""no" 1>&6
14336 fi
14337 done
14338     
14339   fi
14340
14341
14342     
14343   echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14344 echo "configure:14345: checking for _isnanl declaration" >&5
14345   if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14346   echo $ac_n "(cached) $ac_c" 1>&6
14347 else
14348   
14349     
14350     ac_ext=C
14351 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14352 ac_cpp='$CXXCPP $CPPFLAGS'
14353 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14354 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14355 cross_compiling=$ac_cv_prog_cxx_cross
14356
14357     cat > conftest.$ac_ext <<EOF
14358 #line 14359 "configure"
14359 #include "confdefs.h"
14360 #include <math.h>
14361 int main() {
14362  _isnanl(0);
14363 ; return 0; }
14364 EOF
14365 if { (eval echo configure:14366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14366   rm -rf conftest*
14367   glibcpp_cv_func__isnanl_use=yes
14368 else
14369   echo "configure: failed program was:" >&5
14370   cat conftest.$ac_ext >&5
14371   rm -rf conftest*
14372   glibcpp_cv_func__isnanl_use=no
14373 fi
14374 rm -f conftest*
14375     ac_ext=c
14376 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14377 ac_cpp='$CPP $CPPFLAGS'
14378 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14379 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14380 cross_compiling=$ac_cv_prog_cc_cross
14381
14382   
14383 fi
14384
14385   echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14386   if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14387     for ac_func in _isnanl
14388 do
14389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14390 echo "configure:14391: checking for $ac_func" >&5
14391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14392   echo $ac_n "(cached) $ac_c" 1>&6
14393 else
14394   cat > conftest.$ac_ext <<EOF
14395 #line 14396 "configure"
14396 #include "confdefs.h"
14397 /* System header to define __stub macros and hopefully few prototypes,
14398     which can conflict with char $ac_func(); below.  */
14399 #include <assert.h>
14400 /* Override any gcc2 internal prototype to avoid an error.  */
14401 /* We use char because int might match the return type of a gcc2
14402     builtin and then its argument prototype would still apply.  */
14403 char $ac_func();
14404
14405 int main() {
14406
14407 /* The GNU C library defines this for functions which it implements
14408     to always fail with ENOSYS.  Some functions are actually named
14409     something starting with __ and the normal name is an alias.  */
14410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14411 choke me
14412 #else
14413 $ac_func();
14414 #endif
14415
14416 ; return 0; }
14417 EOF
14418 if { (eval echo configure:14419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14419   rm -rf conftest*
14420   eval "ac_cv_func_$ac_func=yes"
14421 else
14422   echo "configure: failed program was:" >&5
14423   cat conftest.$ac_ext >&5
14424   rm -rf conftest*
14425   eval "ac_cv_func_$ac_func=no"
14426 fi
14427 rm -f conftest*
14428 fi
14429
14430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14431   echo "$ac_t""yes" 1>&6
14432     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14433   cat >> confdefs.h <<EOF
14434 #define $ac_tr_func 1
14435 EOF
14436  
14437 else
14438   echo "$ac_t""no" 1>&6
14439 fi
14440 done
14441     
14442   fi
14443
14444   
14445   echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14446 echo "configure:14447: checking for _isinfl declaration" >&5
14447   if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14448   echo $ac_n "(cached) $ac_c" 1>&6
14449 else
14450   
14451     
14452     ac_ext=C
14453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14454 ac_cpp='$CXXCPP $CPPFLAGS'
14455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14457 cross_compiling=$ac_cv_prog_cxx_cross
14458
14459     cat > conftest.$ac_ext <<EOF
14460 #line 14461 "configure"
14461 #include "confdefs.h"
14462 #include <math.h>
14463 int main() {
14464  _isinfl(0);
14465 ; return 0; }
14466 EOF
14467 if { (eval echo configure:14468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14468   rm -rf conftest*
14469   glibcpp_cv_func__isinfl_use=yes
14470 else
14471   echo "configure: failed program was:" >&5
14472   cat conftest.$ac_ext >&5
14473   rm -rf conftest*
14474   glibcpp_cv_func__isinfl_use=no
14475 fi
14476 rm -f conftest*
14477     ac_ext=c
14478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14479 ac_cpp='$CPP $CPPFLAGS'
14480 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14481 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14482 cross_compiling=$ac_cv_prog_cc_cross
14483
14484   
14485 fi
14486
14487   echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14488   if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14489     for ac_func in _isinfl
14490 do
14491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14492 echo "configure:14493: checking for $ac_func" >&5
14493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14494   echo $ac_n "(cached) $ac_c" 1>&6
14495 else
14496   cat > conftest.$ac_ext <<EOF
14497 #line 14498 "configure"
14498 #include "confdefs.h"
14499 /* System header to define __stub macros and hopefully few prototypes,
14500     which can conflict with char $ac_func(); below.  */
14501 #include <assert.h>
14502 /* Override any gcc2 internal prototype to avoid an error.  */
14503 /* We use char because int might match the return type of a gcc2
14504     builtin and then its argument prototype would still apply.  */
14505 char $ac_func();
14506
14507 int main() {
14508
14509 /* The GNU C library defines this for functions which it implements
14510     to always fail with ENOSYS.  Some functions are actually named
14511     something starting with __ and the normal name is an alias.  */
14512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14513 choke me
14514 #else
14515 $ac_func();
14516 #endif
14517
14518 ; return 0; }
14519 EOF
14520 if { (eval echo configure:14521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14521   rm -rf conftest*
14522   eval "ac_cv_func_$ac_func=yes"
14523 else
14524   echo "configure: failed program was:" >&5
14525   cat conftest.$ac_ext >&5
14526   rm -rf conftest*
14527   eval "ac_cv_func_$ac_func=no"
14528 fi
14529 rm -f conftest*
14530 fi
14531
14532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14533   echo "$ac_t""yes" 1>&6
14534     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14535   cat >> confdefs.h <<EOF
14536 #define $ac_tr_func 1
14537 EOF
14538  
14539 else
14540   echo "$ac_t""no" 1>&6
14541 fi
14542 done
14543     
14544   fi
14545
14546   
14547   echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14548 echo "configure:14549: checking for _copysignl declaration" >&5
14549   if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14550   echo $ac_n "(cached) $ac_c" 1>&6
14551 else
14552   
14553     
14554     ac_ext=C
14555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14556 ac_cpp='$CXXCPP $CPPFLAGS'
14557 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14558 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14559 cross_compiling=$ac_cv_prog_cxx_cross
14560
14561     cat > conftest.$ac_ext <<EOF
14562 #line 14563 "configure"
14563 #include "confdefs.h"
14564 #include <math.h>
14565 int main() {
14566  _copysignl(0, 0);
14567 ; return 0; }
14568 EOF
14569 if { (eval echo configure:14570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14570   rm -rf conftest*
14571   glibcpp_cv_func__copysignl_use=yes
14572 else
14573   echo "configure: failed program was:" >&5
14574   cat conftest.$ac_ext >&5
14575   rm -rf conftest*
14576   glibcpp_cv_func__copysignl_use=no
14577 fi
14578 rm -f conftest*
14579     ac_ext=c
14580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14581 ac_cpp='$CPP $CPPFLAGS'
14582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14584 cross_compiling=$ac_cv_prog_cc_cross
14585
14586   
14587 fi
14588
14589   echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14590   if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14591     for ac_func in _copysignl
14592 do
14593 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14594 echo "configure:14595: checking for $ac_func" >&5
14595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14596   echo $ac_n "(cached) $ac_c" 1>&6
14597 else
14598   cat > conftest.$ac_ext <<EOF
14599 #line 14600 "configure"
14600 #include "confdefs.h"
14601 /* System header to define __stub macros and hopefully few prototypes,
14602     which can conflict with char $ac_func(); below.  */
14603 #include <assert.h>
14604 /* Override any gcc2 internal prototype to avoid an error.  */
14605 /* We use char because int might match the return type of a gcc2
14606     builtin and then its argument prototype would still apply.  */
14607 char $ac_func();
14608
14609 int main() {
14610
14611 /* The GNU C library defines this for functions which it implements
14612     to always fail with ENOSYS.  Some functions are actually named
14613     something starting with __ and the normal name is an alias.  */
14614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14615 choke me
14616 #else
14617 $ac_func();
14618 #endif
14619
14620 ; return 0; }
14621 EOF
14622 if { (eval echo configure:14623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14623   rm -rf conftest*
14624   eval "ac_cv_func_$ac_func=yes"
14625 else
14626   echo "configure: failed program was:" >&5
14627   cat conftest.$ac_ext >&5
14628   rm -rf conftest*
14629   eval "ac_cv_func_$ac_func=no"
14630 fi
14631 rm -f conftest*
14632 fi
14633
14634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14635   echo "$ac_t""yes" 1>&6
14636     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14637   cat >> confdefs.h <<EOF
14638 #define $ac_tr_func 1
14639 EOF
14640  
14641 else
14642   echo "$ac_t""no" 1>&6
14643 fi
14644 done
14645     
14646   fi
14647
14648   
14649   echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14650 echo "configure:14651: checking for _acosl declaration" >&5
14651   if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14652   echo $ac_n "(cached) $ac_c" 1>&6
14653 else
14654   
14655     
14656     ac_ext=C
14657 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14658 ac_cpp='$CXXCPP $CPPFLAGS'
14659 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14660 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14661 cross_compiling=$ac_cv_prog_cxx_cross
14662
14663     cat > conftest.$ac_ext <<EOF
14664 #line 14665 "configure"
14665 #include "confdefs.h"
14666 #include <math.h>
14667 int main() {
14668  _acosl(0);
14669 ; return 0; }
14670 EOF
14671 if { (eval echo configure:14672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14672   rm -rf conftest*
14673   glibcpp_cv_func__acosl_use=yes
14674 else
14675   echo "configure: failed program was:" >&5
14676   cat conftest.$ac_ext >&5
14677   rm -rf conftest*
14678   glibcpp_cv_func__acosl_use=no
14679 fi
14680 rm -f conftest*
14681     ac_ext=c
14682 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14683 ac_cpp='$CPP $CPPFLAGS'
14684 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14685 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14686 cross_compiling=$ac_cv_prog_cc_cross
14687
14688   
14689 fi
14690
14691   echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14692   if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14693     for ac_func in _acosl
14694 do
14695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14696 echo "configure:14697: checking for $ac_func" >&5
14697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14698   echo $ac_n "(cached) $ac_c" 1>&6
14699 else
14700   cat > conftest.$ac_ext <<EOF
14701 #line 14702 "configure"
14702 #include "confdefs.h"
14703 /* System header to define __stub macros and hopefully few prototypes,
14704     which can conflict with char $ac_func(); below.  */
14705 #include <assert.h>
14706 /* Override any gcc2 internal prototype to avoid an error.  */
14707 /* We use char because int might match the return type of a gcc2
14708     builtin and then its argument prototype would still apply.  */
14709 char $ac_func();
14710
14711 int main() {
14712
14713 /* The GNU C library defines this for functions which it implements
14714     to always fail with ENOSYS.  Some functions are actually named
14715     something starting with __ and the normal name is an alias.  */
14716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14717 choke me
14718 #else
14719 $ac_func();
14720 #endif
14721
14722 ; return 0; }
14723 EOF
14724 if { (eval echo configure:14725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14725   rm -rf conftest*
14726   eval "ac_cv_func_$ac_func=yes"
14727 else
14728   echo "configure: failed program was:" >&5
14729   cat conftest.$ac_ext >&5
14730   rm -rf conftest*
14731   eval "ac_cv_func_$ac_func=no"
14732 fi
14733 rm -f conftest*
14734 fi
14735
14736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14737   echo "$ac_t""yes" 1>&6
14738     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14739   cat >> confdefs.h <<EOF
14740 #define $ac_tr_func 1
14741 EOF
14742  
14743 else
14744   echo "$ac_t""no" 1>&6
14745 fi
14746 done
14747     
14748   fi
14749
14750   
14751   echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14752 echo "configure:14753: checking for _asinl declaration" >&5
14753   if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14754   echo $ac_n "(cached) $ac_c" 1>&6
14755 else
14756   
14757     
14758     ac_ext=C
14759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14760 ac_cpp='$CXXCPP $CPPFLAGS'
14761 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14762 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14763 cross_compiling=$ac_cv_prog_cxx_cross
14764
14765     cat > conftest.$ac_ext <<EOF
14766 #line 14767 "configure"
14767 #include "confdefs.h"
14768 #include <math.h>
14769 int main() {
14770  _asinl(0);
14771 ; return 0; }
14772 EOF
14773 if { (eval echo configure:14774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14774   rm -rf conftest*
14775   glibcpp_cv_func__asinl_use=yes
14776 else
14777   echo "configure: failed program was:" >&5
14778   cat conftest.$ac_ext >&5
14779   rm -rf conftest*
14780   glibcpp_cv_func__asinl_use=no
14781 fi
14782 rm -f conftest*
14783     ac_ext=c
14784 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14785 ac_cpp='$CPP $CPPFLAGS'
14786 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14787 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14788 cross_compiling=$ac_cv_prog_cc_cross
14789
14790   
14791 fi
14792
14793   echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14794   if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14795     for ac_func in _asinl
14796 do
14797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14798 echo "configure:14799: checking for $ac_func" >&5
14799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14800   echo $ac_n "(cached) $ac_c" 1>&6
14801 else
14802   cat > conftest.$ac_ext <<EOF
14803 #line 14804 "configure"
14804 #include "confdefs.h"
14805 /* System header to define __stub macros and hopefully few prototypes,
14806     which can conflict with char $ac_func(); below.  */
14807 #include <assert.h>
14808 /* Override any gcc2 internal prototype to avoid an error.  */
14809 /* We use char because int might match the return type of a gcc2
14810     builtin and then its argument prototype would still apply.  */
14811 char $ac_func();
14812
14813 int main() {
14814
14815 /* The GNU C library defines this for functions which it implements
14816     to always fail with ENOSYS.  Some functions are actually named
14817     something starting with __ and the normal name is an alias.  */
14818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14819 choke me
14820 #else
14821 $ac_func();
14822 #endif
14823
14824 ; return 0; }
14825 EOF
14826 if { (eval echo configure:14827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14827   rm -rf conftest*
14828   eval "ac_cv_func_$ac_func=yes"
14829 else
14830   echo "configure: failed program was:" >&5
14831   cat conftest.$ac_ext >&5
14832   rm -rf conftest*
14833   eval "ac_cv_func_$ac_func=no"
14834 fi
14835 rm -f conftest*
14836 fi
14837
14838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14839   echo "$ac_t""yes" 1>&6
14840     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14841   cat >> confdefs.h <<EOF
14842 #define $ac_tr_func 1
14843 EOF
14844  
14845 else
14846   echo "$ac_t""no" 1>&6
14847 fi
14848 done
14849     
14850   fi
14851
14852   
14853   echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
14854 echo "configure:14855: checking for _atanl declaration" >&5
14855   if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
14856   echo $ac_n "(cached) $ac_c" 1>&6
14857 else
14858   
14859     
14860     ac_ext=C
14861 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14862 ac_cpp='$CXXCPP $CPPFLAGS'
14863 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14864 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14865 cross_compiling=$ac_cv_prog_cxx_cross
14866
14867     cat > conftest.$ac_ext <<EOF
14868 #line 14869 "configure"
14869 #include "confdefs.h"
14870 #include <math.h>
14871 int main() {
14872  _atanl(0);
14873 ; return 0; }
14874 EOF
14875 if { (eval echo configure:14876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14876   rm -rf conftest*
14877   glibcpp_cv_func__atanl_use=yes
14878 else
14879   echo "configure: failed program was:" >&5
14880   cat conftest.$ac_ext >&5
14881   rm -rf conftest*
14882   glibcpp_cv_func__atanl_use=no
14883 fi
14884 rm -f conftest*
14885     ac_ext=c
14886 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14887 ac_cpp='$CPP $CPPFLAGS'
14888 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14889 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14890 cross_compiling=$ac_cv_prog_cc_cross
14891
14892   
14893 fi
14894
14895   echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
14896   if test x$glibcpp_cv_func__atanl_use = x"yes"; then
14897     for ac_func in _atanl
14898 do
14899 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14900 echo "configure:14901: checking for $ac_func" >&5
14901 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14902   echo $ac_n "(cached) $ac_c" 1>&6
14903 else
14904   cat > conftest.$ac_ext <<EOF
14905 #line 14906 "configure"
14906 #include "confdefs.h"
14907 /* System header to define __stub macros and hopefully few prototypes,
14908     which can conflict with char $ac_func(); below.  */
14909 #include <assert.h>
14910 /* Override any gcc2 internal prototype to avoid an error.  */
14911 /* We use char because int might match the return type of a gcc2
14912     builtin and then its argument prototype would still apply.  */
14913 char $ac_func();
14914
14915 int main() {
14916
14917 /* The GNU C library defines this for functions which it implements
14918     to always fail with ENOSYS.  Some functions are actually named
14919     something starting with __ and the normal name is an alias.  */
14920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14921 choke me
14922 #else
14923 $ac_func();
14924 #endif
14925
14926 ; return 0; }
14927 EOF
14928 if { (eval echo configure:14929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14929   rm -rf conftest*
14930   eval "ac_cv_func_$ac_func=yes"
14931 else
14932   echo "configure: failed program was:" >&5
14933   cat conftest.$ac_ext >&5
14934   rm -rf conftest*
14935   eval "ac_cv_func_$ac_func=no"
14936 fi
14937 rm -f conftest*
14938 fi
14939
14940 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14941   echo "$ac_t""yes" 1>&6
14942     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14943   cat >> confdefs.h <<EOF
14944 #define $ac_tr_func 1
14945 EOF
14946  
14947 else
14948   echo "$ac_t""no" 1>&6
14949 fi
14950 done
14951     
14952   fi
14953
14954   
14955   echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14956 echo "configure:14957: checking for _atan2l declaration" >&5
14957   if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14958   echo $ac_n "(cached) $ac_c" 1>&6
14959 else
14960   
14961     
14962     ac_ext=C
14963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14964 ac_cpp='$CXXCPP $CPPFLAGS'
14965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14967 cross_compiling=$ac_cv_prog_cxx_cross
14968
14969     cat > conftest.$ac_ext <<EOF
14970 #line 14971 "configure"
14971 #include "confdefs.h"
14972 #include <math.h>
14973 int main() {
14974  _atan2l(0, 0);
14975 ; return 0; }
14976 EOF
14977 if { (eval echo configure:14978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14978   rm -rf conftest*
14979   glibcpp_cv_func__atan2l_use=yes
14980 else
14981   echo "configure: failed program was:" >&5
14982   cat conftest.$ac_ext >&5
14983   rm -rf conftest*
14984   glibcpp_cv_func__atan2l_use=no
14985 fi
14986 rm -f conftest*
14987     ac_ext=c
14988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14989 ac_cpp='$CPP $CPPFLAGS'
14990 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14991 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14992 cross_compiling=$ac_cv_prog_cc_cross
14993
14994   
14995 fi
14996
14997   echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14998   if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14999     for ac_func in _atan2l
15000 do
15001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15002 echo "configure:15003: checking for $ac_func" >&5
15003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15004   echo $ac_n "(cached) $ac_c" 1>&6
15005 else
15006   cat > conftest.$ac_ext <<EOF
15007 #line 15008 "configure"
15008 #include "confdefs.h"
15009 /* System header to define __stub macros and hopefully few prototypes,
15010     which can conflict with char $ac_func(); below.  */
15011 #include <assert.h>
15012 /* Override any gcc2 internal prototype to avoid an error.  */
15013 /* We use char because int might match the return type of a gcc2
15014     builtin and then its argument prototype would still apply.  */
15015 char $ac_func();
15016
15017 int main() {
15018
15019 /* The GNU C library defines this for functions which it implements
15020     to always fail with ENOSYS.  Some functions are actually named
15021     something starting with __ and the normal name is an alias.  */
15022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15023 choke me
15024 #else
15025 $ac_func();
15026 #endif
15027
15028 ; return 0; }
15029 EOF
15030 if { (eval echo configure:15031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15031   rm -rf conftest*
15032   eval "ac_cv_func_$ac_func=yes"
15033 else
15034   echo "configure: failed program was:" >&5
15035   cat conftest.$ac_ext >&5
15036   rm -rf conftest*
15037   eval "ac_cv_func_$ac_func=no"
15038 fi
15039 rm -f conftest*
15040 fi
15041
15042 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15043   echo "$ac_t""yes" 1>&6
15044     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15045   cat >> confdefs.h <<EOF
15046 #define $ac_tr_func 1
15047 EOF
15048  
15049 else
15050   echo "$ac_t""no" 1>&6
15051 fi
15052 done
15053     
15054   fi
15055
15056   
15057   echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
15058 echo "configure:15059: checking for _ceill declaration" >&5
15059   if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
15060   echo $ac_n "(cached) $ac_c" 1>&6
15061 else
15062   
15063     
15064     ac_ext=C
15065 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15066 ac_cpp='$CXXCPP $CPPFLAGS'
15067 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15068 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15069 cross_compiling=$ac_cv_prog_cxx_cross
15070
15071     cat > conftest.$ac_ext <<EOF
15072 #line 15073 "configure"
15073 #include "confdefs.h"
15074 #include <math.h>
15075 int main() {
15076  _ceill(0);
15077 ; return 0; }
15078 EOF
15079 if { (eval echo configure:15080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15080   rm -rf conftest*
15081   glibcpp_cv_func__ceill_use=yes
15082 else
15083   echo "configure: failed program was:" >&5
15084   cat conftest.$ac_ext >&5
15085   rm -rf conftest*
15086   glibcpp_cv_func__ceill_use=no
15087 fi
15088 rm -f conftest*
15089     ac_ext=c
15090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15091 ac_cpp='$CPP $CPPFLAGS'
15092 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15093 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15094 cross_compiling=$ac_cv_prog_cc_cross
15095
15096   
15097 fi
15098
15099   echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
15100   if test x$glibcpp_cv_func__ceill_use = x"yes"; then
15101     for ac_func in _ceill
15102 do
15103 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15104 echo "configure:15105: checking for $ac_func" >&5
15105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15106   echo $ac_n "(cached) $ac_c" 1>&6
15107 else
15108   cat > conftest.$ac_ext <<EOF
15109 #line 15110 "configure"
15110 #include "confdefs.h"
15111 /* System header to define __stub macros and hopefully few prototypes,
15112     which can conflict with char $ac_func(); below.  */
15113 #include <assert.h>
15114 /* Override any gcc2 internal prototype to avoid an error.  */
15115 /* We use char because int might match the return type of a gcc2
15116     builtin and then its argument prototype would still apply.  */
15117 char $ac_func();
15118
15119 int main() {
15120
15121 /* The GNU C library defines this for functions which it implements
15122     to always fail with ENOSYS.  Some functions are actually named
15123     something starting with __ and the normal name is an alias.  */
15124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15125 choke me
15126 #else
15127 $ac_func();
15128 #endif
15129
15130 ; return 0; }
15131 EOF
15132 if { (eval echo configure:15133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15133   rm -rf conftest*
15134   eval "ac_cv_func_$ac_func=yes"
15135 else
15136   echo "configure: failed program was:" >&5
15137   cat conftest.$ac_ext >&5
15138   rm -rf conftest*
15139   eval "ac_cv_func_$ac_func=no"
15140 fi
15141 rm -f conftest*
15142 fi
15143
15144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15145   echo "$ac_t""yes" 1>&6
15146     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15147   cat >> confdefs.h <<EOF
15148 #define $ac_tr_func 1
15149 EOF
15150  
15151 else
15152   echo "$ac_t""no" 1>&6
15153 fi
15154 done
15155     
15156   fi
15157
15158   
15159   echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15160 echo "configure:15161: checking for _cosl declaration" >&5
15161   if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15162   echo $ac_n "(cached) $ac_c" 1>&6
15163 else
15164   
15165     
15166     ac_ext=C
15167 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15168 ac_cpp='$CXXCPP $CPPFLAGS'
15169 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15170 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15171 cross_compiling=$ac_cv_prog_cxx_cross
15172
15173     cat > conftest.$ac_ext <<EOF
15174 #line 15175 "configure"
15175 #include "confdefs.h"
15176 #include <math.h>
15177 int main() {
15178  _cosl(0);
15179 ; return 0; }
15180 EOF
15181 if { (eval echo configure:15182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15182   rm -rf conftest*
15183   glibcpp_cv_func__cosl_use=yes
15184 else
15185   echo "configure: failed program was:" >&5
15186   cat conftest.$ac_ext >&5
15187   rm -rf conftest*
15188   glibcpp_cv_func__cosl_use=no
15189 fi
15190 rm -f conftest*
15191     ac_ext=c
15192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15193 ac_cpp='$CPP $CPPFLAGS'
15194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15196 cross_compiling=$ac_cv_prog_cc_cross
15197
15198   
15199 fi
15200
15201   echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15202   if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15203     for ac_func in _cosl
15204 do
15205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15206 echo "configure:15207: checking for $ac_func" >&5
15207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15208   echo $ac_n "(cached) $ac_c" 1>&6
15209 else
15210   cat > conftest.$ac_ext <<EOF
15211 #line 15212 "configure"
15212 #include "confdefs.h"
15213 /* System header to define __stub macros and hopefully few prototypes,
15214     which can conflict with char $ac_func(); below.  */
15215 #include <assert.h>
15216 /* Override any gcc2 internal prototype to avoid an error.  */
15217 /* We use char because int might match the return type of a gcc2
15218     builtin and then its argument prototype would still apply.  */
15219 char $ac_func();
15220
15221 int main() {
15222
15223 /* The GNU C library defines this for functions which it implements
15224     to always fail with ENOSYS.  Some functions are actually named
15225     something starting with __ and the normal name is an alias.  */
15226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15227 choke me
15228 #else
15229 $ac_func();
15230 #endif
15231
15232 ; return 0; }
15233 EOF
15234 if { (eval echo configure:15235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15235   rm -rf conftest*
15236   eval "ac_cv_func_$ac_func=yes"
15237 else
15238   echo "configure: failed program was:" >&5
15239   cat conftest.$ac_ext >&5
15240   rm -rf conftest*
15241   eval "ac_cv_func_$ac_func=no"
15242 fi
15243 rm -f conftest*
15244 fi
15245
15246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15247   echo "$ac_t""yes" 1>&6
15248     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15249   cat >> confdefs.h <<EOF
15250 #define $ac_tr_func 1
15251 EOF
15252  
15253 else
15254   echo "$ac_t""no" 1>&6
15255 fi
15256 done
15257     
15258   fi
15259
15260   
15261   echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15262 echo "configure:15263: checking for _coshl declaration" >&5
15263   if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15264   echo $ac_n "(cached) $ac_c" 1>&6
15265 else
15266   
15267     
15268     ac_ext=C
15269 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15270 ac_cpp='$CXXCPP $CPPFLAGS'
15271 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15272 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15273 cross_compiling=$ac_cv_prog_cxx_cross
15274
15275     cat > conftest.$ac_ext <<EOF
15276 #line 15277 "configure"
15277 #include "confdefs.h"
15278 #include <math.h>
15279 int main() {
15280  _coshl(0);
15281 ; return 0; }
15282 EOF
15283 if { (eval echo configure:15284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15284   rm -rf conftest*
15285   glibcpp_cv_func__coshl_use=yes
15286 else
15287   echo "configure: failed program was:" >&5
15288   cat conftest.$ac_ext >&5
15289   rm -rf conftest*
15290   glibcpp_cv_func__coshl_use=no
15291 fi
15292 rm -f conftest*
15293     ac_ext=c
15294 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15295 ac_cpp='$CPP $CPPFLAGS'
15296 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15297 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15298 cross_compiling=$ac_cv_prog_cc_cross
15299
15300   
15301 fi
15302
15303   echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15304   if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15305     for ac_func in _coshl
15306 do
15307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15308 echo "configure:15309: checking for $ac_func" >&5
15309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15310   echo $ac_n "(cached) $ac_c" 1>&6
15311 else
15312   cat > conftest.$ac_ext <<EOF
15313 #line 15314 "configure"
15314 #include "confdefs.h"
15315 /* System header to define __stub macros and hopefully few prototypes,
15316     which can conflict with char $ac_func(); below.  */
15317 #include <assert.h>
15318 /* Override any gcc2 internal prototype to avoid an error.  */
15319 /* We use char because int might match the return type of a gcc2
15320     builtin and then its argument prototype would still apply.  */
15321 char $ac_func();
15322
15323 int main() {
15324
15325 /* The GNU C library defines this for functions which it implements
15326     to always fail with ENOSYS.  Some functions are actually named
15327     something starting with __ and the normal name is an alias.  */
15328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15329 choke me
15330 #else
15331 $ac_func();
15332 #endif
15333
15334 ; return 0; }
15335 EOF
15336 if { (eval echo configure:15337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15337   rm -rf conftest*
15338   eval "ac_cv_func_$ac_func=yes"
15339 else
15340   echo "configure: failed program was:" >&5
15341   cat conftest.$ac_ext >&5
15342   rm -rf conftest*
15343   eval "ac_cv_func_$ac_func=no"
15344 fi
15345 rm -f conftest*
15346 fi
15347
15348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15349   echo "$ac_t""yes" 1>&6
15350     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15351   cat >> confdefs.h <<EOF
15352 #define $ac_tr_func 1
15353 EOF
15354  
15355 else
15356   echo "$ac_t""no" 1>&6
15357 fi
15358 done
15359     
15360   fi
15361
15362   
15363   echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15364 echo "configure:15365: checking for _expl declaration" >&5
15365   if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15366   echo $ac_n "(cached) $ac_c" 1>&6
15367 else
15368   
15369     
15370     ac_ext=C
15371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15372 ac_cpp='$CXXCPP $CPPFLAGS'
15373 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15374 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15375 cross_compiling=$ac_cv_prog_cxx_cross
15376
15377     cat > conftest.$ac_ext <<EOF
15378 #line 15379 "configure"
15379 #include "confdefs.h"
15380 #include <math.h>
15381 int main() {
15382  _expl(0);
15383 ; return 0; }
15384 EOF
15385 if { (eval echo configure:15386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15386   rm -rf conftest*
15387   glibcpp_cv_func__expl_use=yes
15388 else
15389   echo "configure: failed program was:" >&5
15390   cat conftest.$ac_ext >&5
15391   rm -rf conftest*
15392   glibcpp_cv_func__expl_use=no
15393 fi
15394 rm -f conftest*
15395     ac_ext=c
15396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15397 ac_cpp='$CPP $CPPFLAGS'
15398 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15399 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15400 cross_compiling=$ac_cv_prog_cc_cross
15401
15402   
15403 fi
15404
15405   echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15406   if test x$glibcpp_cv_func__expl_use = x"yes"; then
15407     for ac_func in _expl
15408 do
15409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15410 echo "configure:15411: checking for $ac_func" >&5
15411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15412   echo $ac_n "(cached) $ac_c" 1>&6
15413 else
15414   cat > conftest.$ac_ext <<EOF
15415 #line 15416 "configure"
15416 #include "confdefs.h"
15417 /* System header to define __stub macros and hopefully few prototypes,
15418     which can conflict with char $ac_func(); below.  */
15419 #include <assert.h>
15420 /* Override any gcc2 internal prototype to avoid an error.  */
15421 /* We use char because int might match the return type of a gcc2
15422     builtin and then its argument prototype would still apply.  */
15423 char $ac_func();
15424
15425 int main() {
15426
15427 /* The GNU C library defines this for functions which it implements
15428     to always fail with ENOSYS.  Some functions are actually named
15429     something starting with __ and the normal name is an alias.  */
15430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15431 choke me
15432 #else
15433 $ac_func();
15434 #endif
15435
15436 ; return 0; }
15437 EOF
15438 if { (eval echo configure:15439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15439   rm -rf conftest*
15440   eval "ac_cv_func_$ac_func=yes"
15441 else
15442   echo "configure: failed program was:" >&5
15443   cat conftest.$ac_ext >&5
15444   rm -rf conftest*
15445   eval "ac_cv_func_$ac_func=no"
15446 fi
15447 rm -f conftest*
15448 fi
15449
15450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15451   echo "$ac_t""yes" 1>&6
15452     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15453   cat >> confdefs.h <<EOF
15454 #define $ac_tr_func 1
15455 EOF
15456  
15457 else
15458   echo "$ac_t""no" 1>&6
15459 fi
15460 done
15461     
15462   fi
15463
15464   
15465   echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15466 echo "configure:15467: checking for _fabsl declaration" >&5
15467   if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15468   echo $ac_n "(cached) $ac_c" 1>&6
15469 else
15470   
15471     
15472     ac_ext=C
15473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15474 ac_cpp='$CXXCPP $CPPFLAGS'
15475 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15476 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15477 cross_compiling=$ac_cv_prog_cxx_cross
15478
15479     cat > conftest.$ac_ext <<EOF
15480 #line 15481 "configure"
15481 #include "confdefs.h"
15482 #include <math.h>
15483 int main() {
15484  _fabsl(0);
15485 ; return 0; }
15486 EOF
15487 if { (eval echo configure:15488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15488   rm -rf conftest*
15489   glibcpp_cv_func__fabsl_use=yes
15490 else
15491   echo "configure: failed program was:" >&5
15492   cat conftest.$ac_ext >&5
15493   rm -rf conftest*
15494   glibcpp_cv_func__fabsl_use=no
15495 fi
15496 rm -f conftest*
15497     ac_ext=c
15498 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15499 ac_cpp='$CPP $CPPFLAGS'
15500 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15501 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15502 cross_compiling=$ac_cv_prog_cc_cross
15503
15504   
15505 fi
15506
15507   echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15508   if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15509     for ac_func in _fabsl
15510 do
15511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15512 echo "configure:15513: checking for $ac_func" >&5
15513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15514   echo $ac_n "(cached) $ac_c" 1>&6
15515 else
15516   cat > conftest.$ac_ext <<EOF
15517 #line 15518 "configure"
15518 #include "confdefs.h"
15519 /* System header to define __stub macros and hopefully few prototypes,
15520     which can conflict with char $ac_func(); below.  */
15521 #include <assert.h>
15522 /* Override any gcc2 internal prototype to avoid an error.  */
15523 /* We use char because int might match the return type of a gcc2
15524     builtin and then its argument prototype would still apply.  */
15525 char $ac_func();
15526
15527 int main() {
15528
15529 /* The GNU C library defines this for functions which it implements
15530     to always fail with ENOSYS.  Some functions are actually named
15531     something starting with __ and the normal name is an alias.  */
15532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15533 choke me
15534 #else
15535 $ac_func();
15536 #endif
15537
15538 ; return 0; }
15539 EOF
15540 if { (eval echo configure:15541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15541   rm -rf conftest*
15542   eval "ac_cv_func_$ac_func=yes"
15543 else
15544   echo "configure: failed program was:" >&5
15545   cat conftest.$ac_ext >&5
15546   rm -rf conftest*
15547   eval "ac_cv_func_$ac_func=no"
15548 fi
15549 rm -f conftest*
15550 fi
15551
15552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15553   echo "$ac_t""yes" 1>&6
15554     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15555   cat >> confdefs.h <<EOF
15556 #define $ac_tr_func 1
15557 EOF
15558  
15559 else
15560   echo "$ac_t""no" 1>&6
15561 fi
15562 done
15563     
15564   fi
15565
15566   
15567   echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15568 echo "configure:15569: checking for _floorl declaration" >&5
15569   if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15570   echo $ac_n "(cached) $ac_c" 1>&6
15571 else
15572   
15573     
15574     ac_ext=C
15575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15576 ac_cpp='$CXXCPP $CPPFLAGS'
15577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15579 cross_compiling=$ac_cv_prog_cxx_cross
15580
15581     cat > conftest.$ac_ext <<EOF
15582 #line 15583 "configure"
15583 #include "confdefs.h"
15584 #include <math.h>
15585 int main() {
15586  _floorl(0);
15587 ; return 0; }
15588 EOF
15589 if { (eval echo configure:15590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15590   rm -rf conftest*
15591   glibcpp_cv_func__floorl_use=yes
15592 else
15593   echo "configure: failed program was:" >&5
15594   cat conftest.$ac_ext >&5
15595   rm -rf conftest*
15596   glibcpp_cv_func__floorl_use=no
15597 fi
15598 rm -f conftest*
15599     ac_ext=c
15600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15601 ac_cpp='$CPP $CPPFLAGS'
15602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15604 cross_compiling=$ac_cv_prog_cc_cross
15605
15606   
15607 fi
15608
15609   echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15610   if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15611     for ac_func in _floorl
15612 do
15613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15614 echo "configure:15615: checking for $ac_func" >&5
15615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15616   echo $ac_n "(cached) $ac_c" 1>&6
15617 else
15618   cat > conftest.$ac_ext <<EOF
15619 #line 15620 "configure"
15620 #include "confdefs.h"
15621 /* System header to define __stub macros and hopefully few prototypes,
15622     which can conflict with char $ac_func(); below.  */
15623 #include <assert.h>
15624 /* Override any gcc2 internal prototype to avoid an error.  */
15625 /* We use char because int might match the return type of a gcc2
15626     builtin and then its argument prototype would still apply.  */
15627 char $ac_func();
15628
15629 int main() {
15630
15631 /* The GNU C library defines this for functions which it implements
15632     to always fail with ENOSYS.  Some functions are actually named
15633     something starting with __ and the normal name is an alias.  */
15634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15635 choke me
15636 #else
15637 $ac_func();
15638 #endif
15639
15640 ; return 0; }
15641 EOF
15642 if { (eval echo configure:15643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15643   rm -rf conftest*
15644   eval "ac_cv_func_$ac_func=yes"
15645 else
15646   echo "configure: failed program was:" >&5
15647   cat conftest.$ac_ext >&5
15648   rm -rf conftest*
15649   eval "ac_cv_func_$ac_func=no"
15650 fi
15651 rm -f conftest*
15652 fi
15653
15654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15655   echo "$ac_t""yes" 1>&6
15656     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15657   cat >> confdefs.h <<EOF
15658 #define $ac_tr_func 1
15659 EOF
15660  
15661 else
15662   echo "$ac_t""no" 1>&6
15663 fi
15664 done
15665     
15666   fi
15667
15668   
15669   echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15670 echo "configure:15671: checking for _fmodl declaration" >&5
15671   if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15672   echo $ac_n "(cached) $ac_c" 1>&6
15673 else
15674   
15675     
15676     ac_ext=C
15677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15678 ac_cpp='$CXXCPP $CPPFLAGS'
15679 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15680 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15681 cross_compiling=$ac_cv_prog_cxx_cross
15682
15683     cat > conftest.$ac_ext <<EOF
15684 #line 15685 "configure"
15685 #include "confdefs.h"
15686 #include <math.h>
15687 int main() {
15688  _fmodl(0, 0);
15689 ; return 0; }
15690 EOF
15691 if { (eval echo configure:15692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15692   rm -rf conftest*
15693   glibcpp_cv_func__fmodl_use=yes
15694 else
15695   echo "configure: failed program was:" >&5
15696   cat conftest.$ac_ext >&5
15697   rm -rf conftest*
15698   glibcpp_cv_func__fmodl_use=no
15699 fi
15700 rm -f conftest*
15701     ac_ext=c
15702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15703 ac_cpp='$CPP $CPPFLAGS'
15704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15706 cross_compiling=$ac_cv_prog_cc_cross
15707
15708   
15709 fi
15710
15711   echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15712   if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15713     for ac_func in _fmodl
15714 do
15715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15716 echo "configure:15717: checking for $ac_func" >&5
15717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15718   echo $ac_n "(cached) $ac_c" 1>&6
15719 else
15720   cat > conftest.$ac_ext <<EOF
15721 #line 15722 "configure"
15722 #include "confdefs.h"
15723 /* System header to define __stub macros and hopefully few prototypes,
15724     which can conflict with char $ac_func(); below.  */
15725 #include <assert.h>
15726 /* Override any gcc2 internal prototype to avoid an error.  */
15727 /* We use char because int might match the return type of a gcc2
15728     builtin and then its argument prototype would still apply.  */
15729 char $ac_func();
15730
15731 int main() {
15732
15733 /* The GNU C library defines this for functions which it implements
15734     to always fail with ENOSYS.  Some functions are actually named
15735     something starting with __ and the normal name is an alias.  */
15736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15737 choke me
15738 #else
15739 $ac_func();
15740 #endif
15741
15742 ; return 0; }
15743 EOF
15744 if { (eval echo configure:15745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15745   rm -rf conftest*
15746   eval "ac_cv_func_$ac_func=yes"
15747 else
15748   echo "configure: failed program was:" >&5
15749   cat conftest.$ac_ext >&5
15750   rm -rf conftest*
15751   eval "ac_cv_func_$ac_func=no"
15752 fi
15753 rm -f conftest*
15754 fi
15755
15756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15757   echo "$ac_t""yes" 1>&6
15758     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15759   cat >> confdefs.h <<EOF
15760 #define $ac_tr_func 1
15761 EOF
15762  
15763 else
15764   echo "$ac_t""no" 1>&6
15765 fi
15766 done
15767     
15768   fi
15769
15770   
15771   echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15772 echo "configure:15773: checking for _frexpl declaration" >&5
15773   if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15774   echo $ac_n "(cached) $ac_c" 1>&6
15775 else
15776   
15777     
15778     ac_ext=C
15779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15780 ac_cpp='$CXXCPP $CPPFLAGS'
15781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15783 cross_compiling=$ac_cv_prog_cxx_cross
15784
15785     cat > conftest.$ac_ext <<EOF
15786 #line 15787 "configure"
15787 #include "confdefs.h"
15788 #include <math.h>
15789 int main() {
15790  _frexpl(0, 0);
15791 ; return 0; }
15792 EOF
15793 if { (eval echo configure:15794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15794   rm -rf conftest*
15795   glibcpp_cv_func__frexpl_use=yes
15796 else
15797   echo "configure: failed program was:" >&5
15798   cat conftest.$ac_ext >&5
15799   rm -rf conftest*
15800   glibcpp_cv_func__frexpl_use=no
15801 fi
15802 rm -f conftest*
15803     ac_ext=c
15804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15805 ac_cpp='$CPP $CPPFLAGS'
15806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15808 cross_compiling=$ac_cv_prog_cc_cross
15809
15810   
15811 fi
15812
15813   echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15814   if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15815     for ac_func in _frexpl
15816 do
15817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15818 echo "configure:15819: checking for $ac_func" >&5
15819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15820   echo $ac_n "(cached) $ac_c" 1>&6
15821 else
15822   cat > conftest.$ac_ext <<EOF
15823 #line 15824 "configure"
15824 #include "confdefs.h"
15825 /* System header to define __stub macros and hopefully few prototypes,
15826     which can conflict with char $ac_func(); below.  */
15827 #include <assert.h>
15828 /* Override any gcc2 internal prototype to avoid an error.  */
15829 /* We use char because int might match the return type of a gcc2
15830     builtin and then its argument prototype would still apply.  */
15831 char $ac_func();
15832
15833 int main() {
15834
15835 /* The GNU C library defines this for functions which it implements
15836     to always fail with ENOSYS.  Some functions are actually named
15837     something starting with __ and the normal name is an alias.  */
15838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15839 choke me
15840 #else
15841 $ac_func();
15842 #endif
15843
15844 ; return 0; }
15845 EOF
15846 if { (eval echo configure:15847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15847   rm -rf conftest*
15848   eval "ac_cv_func_$ac_func=yes"
15849 else
15850   echo "configure: failed program was:" >&5
15851   cat conftest.$ac_ext >&5
15852   rm -rf conftest*
15853   eval "ac_cv_func_$ac_func=no"
15854 fi
15855 rm -f conftest*
15856 fi
15857
15858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15859   echo "$ac_t""yes" 1>&6
15860     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15861   cat >> confdefs.h <<EOF
15862 #define $ac_tr_func 1
15863 EOF
15864  
15865 else
15866   echo "$ac_t""no" 1>&6
15867 fi
15868 done
15869     
15870   fi
15871
15872   
15873   echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15874 echo "configure:15875: checking for _ldexpl declaration" >&5
15875   if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15876   echo $ac_n "(cached) $ac_c" 1>&6
15877 else
15878   
15879     
15880     ac_ext=C
15881 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15882 ac_cpp='$CXXCPP $CPPFLAGS'
15883 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15884 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15885 cross_compiling=$ac_cv_prog_cxx_cross
15886
15887     cat > conftest.$ac_ext <<EOF
15888 #line 15889 "configure"
15889 #include "confdefs.h"
15890 #include <math.h>
15891 int main() {
15892  _ldexpl(0, 0);
15893 ; return 0; }
15894 EOF
15895 if { (eval echo configure:15896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15896   rm -rf conftest*
15897   glibcpp_cv_func__ldexpl_use=yes
15898 else
15899   echo "configure: failed program was:" >&5
15900   cat conftest.$ac_ext >&5
15901   rm -rf conftest*
15902   glibcpp_cv_func__ldexpl_use=no
15903 fi
15904 rm -f conftest*
15905     ac_ext=c
15906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15907 ac_cpp='$CPP $CPPFLAGS'
15908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15910 cross_compiling=$ac_cv_prog_cc_cross
15911
15912   
15913 fi
15914
15915   echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15916   if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15917     for ac_func in _ldexpl
15918 do
15919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15920 echo "configure:15921: checking for $ac_func" >&5
15921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15922   echo $ac_n "(cached) $ac_c" 1>&6
15923 else
15924   cat > conftest.$ac_ext <<EOF
15925 #line 15926 "configure"
15926 #include "confdefs.h"
15927 /* System header to define __stub macros and hopefully few prototypes,
15928     which can conflict with char $ac_func(); below.  */
15929 #include <assert.h>
15930 /* Override any gcc2 internal prototype to avoid an error.  */
15931 /* We use char because int might match the return type of a gcc2
15932     builtin and then its argument prototype would still apply.  */
15933 char $ac_func();
15934
15935 int main() {
15936
15937 /* The GNU C library defines this for functions which it implements
15938     to always fail with ENOSYS.  Some functions are actually named
15939     something starting with __ and the normal name is an alias.  */
15940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15941 choke me
15942 #else
15943 $ac_func();
15944 #endif
15945
15946 ; return 0; }
15947 EOF
15948 if { (eval echo configure:15949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15949   rm -rf conftest*
15950   eval "ac_cv_func_$ac_func=yes"
15951 else
15952   echo "configure: failed program was:" >&5
15953   cat conftest.$ac_ext >&5
15954   rm -rf conftest*
15955   eval "ac_cv_func_$ac_func=no"
15956 fi
15957 rm -f conftest*
15958 fi
15959
15960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15961   echo "$ac_t""yes" 1>&6
15962     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15963   cat >> confdefs.h <<EOF
15964 #define $ac_tr_func 1
15965 EOF
15966  
15967 else
15968   echo "$ac_t""no" 1>&6
15969 fi
15970 done
15971     
15972   fi
15973
15974   
15975   echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15976 echo "configure:15977: checking for _logl declaration" >&5
15977   if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15978   echo $ac_n "(cached) $ac_c" 1>&6
15979 else
15980   
15981     
15982     ac_ext=C
15983 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15984 ac_cpp='$CXXCPP $CPPFLAGS'
15985 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15986 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15987 cross_compiling=$ac_cv_prog_cxx_cross
15988
15989     cat > conftest.$ac_ext <<EOF
15990 #line 15991 "configure"
15991 #include "confdefs.h"
15992 #include <math.h>
15993 int main() {
15994  _logl(0);
15995 ; return 0; }
15996 EOF
15997 if { (eval echo configure:15998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15998   rm -rf conftest*
15999   glibcpp_cv_func__logl_use=yes
16000 else
16001   echo "configure: failed program was:" >&5
16002   cat conftest.$ac_ext >&5
16003   rm -rf conftest*
16004   glibcpp_cv_func__logl_use=no
16005 fi
16006 rm -f conftest*
16007     ac_ext=c
16008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16009 ac_cpp='$CPP $CPPFLAGS'
16010 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16011 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16012 cross_compiling=$ac_cv_prog_cc_cross
16013
16014   
16015 fi
16016
16017   echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
16018   if test x$glibcpp_cv_func__logl_use = x"yes"; then
16019     for ac_func in _logl
16020 do
16021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16022 echo "configure:16023: checking for $ac_func" >&5
16023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16024   echo $ac_n "(cached) $ac_c" 1>&6
16025 else
16026   cat > conftest.$ac_ext <<EOF
16027 #line 16028 "configure"
16028 #include "confdefs.h"
16029 /* System header to define __stub macros and hopefully few prototypes,
16030     which can conflict with char $ac_func(); below.  */
16031 #include <assert.h>
16032 /* Override any gcc2 internal prototype to avoid an error.  */
16033 /* We use char because int might match the return type of a gcc2
16034     builtin and then its argument prototype would still apply.  */
16035 char $ac_func();
16036
16037 int main() {
16038
16039 /* The GNU C library defines this for functions which it implements
16040     to always fail with ENOSYS.  Some functions are actually named
16041     something starting with __ and the normal name is an alias.  */
16042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16043 choke me
16044 #else
16045 $ac_func();
16046 #endif
16047
16048 ; return 0; }
16049 EOF
16050 if { (eval echo configure:16051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16051   rm -rf conftest*
16052   eval "ac_cv_func_$ac_func=yes"
16053 else
16054   echo "configure: failed program was:" >&5
16055   cat conftest.$ac_ext >&5
16056   rm -rf conftest*
16057   eval "ac_cv_func_$ac_func=no"
16058 fi
16059 rm -f conftest*
16060 fi
16061
16062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16063   echo "$ac_t""yes" 1>&6
16064     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16065   cat >> confdefs.h <<EOF
16066 #define $ac_tr_func 1
16067 EOF
16068  
16069 else
16070   echo "$ac_t""no" 1>&6
16071 fi
16072 done
16073     
16074   fi
16075
16076   
16077   echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16078 echo "configure:16079: checking for _log10l declaration" >&5
16079   if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16080   echo $ac_n "(cached) $ac_c" 1>&6
16081 else
16082   
16083     
16084     ac_ext=C
16085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16086 ac_cpp='$CXXCPP $CPPFLAGS'
16087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16089 cross_compiling=$ac_cv_prog_cxx_cross
16090
16091     cat > conftest.$ac_ext <<EOF
16092 #line 16093 "configure"
16093 #include "confdefs.h"
16094 #include <math.h>
16095 int main() {
16096  _log10l(0);
16097 ; return 0; }
16098 EOF
16099 if { (eval echo configure:16100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16100   rm -rf conftest*
16101   glibcpp_cv_func__log10l_use=yes
16102 else
16103   echo "configure: failed program was:" >&5
16104   cat conftest.$ac_ext >&5
16105   rm -rf conftest*
16106   glibcpp_cv_func__log10l_use=no
16107 fi
16108 rm -f conftest*
16109     ac_ext=c
16110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16111 ac_cpp='$CPP $CPPFLAGS'
16112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16114 cross_compiling=$ac_cv_prog_cc_cross
16115
16116   
16117 fi
16118
16119   echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16120   if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16121     for ac_func in _log10l
16122 do
16123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16124 echo "configure:16125: checking for $ac_func" >&5
16125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16126   echo $ac_n "(cached) $ac_c" 1>&6
16127 else
16128   cat > conftest.$ac_ext <<EOF
16129 #line 16130 "configure"
16130 #include "confdefs.h"
16131 /* System header to define __stub macros and hopefully few prototypes,
16132     which can conflict with char $ac_func(); below.  */
16133 #include <assert.h>
16134 /* Override any gcc2 internal prototype to avoid an error.  */
16135 /* We use char because int might match the return type of a gcc2
16136     builtin and then its argument prototype would still apply.  */
16137 char $ac_func();
16138
16139 int main() {
16140
16141 /* The GNU C library defines this for functions which it implements
16142     to always fail with ENOSYS.  Some functions are actually named
16143     something starting with __ and the normal name is an alias.  */
16144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16145 choke me
16146 #else
16147 $ac_func();
16148 #endif
16149
16150 ; return 0; }
16151 EOF
16152 if { (eval echo configure:16153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16153   rm -rf conftest*
16154   eval "ac_cv_func_$ac_func=yes"
16155 else
16156   echo "configure: failed program was:" >&5
16157   cat conftest.$ac_ext >&5
16158   rm -rf conftest*
16159   eval "ac_cv_func_$ac_func=no"
16160 fi
16161 rm -f conftest*
16162 fi
16163
16164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16165   echo "$ac_t""yes" 1>&6
16166     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16167   cat >> confdefs.h <<EOF
16168 #define $ac_tr_func 1
16169 EOF
16170  
16171 else
16172   echo "$ac_t""no" 1>&6
16173 fi
16174 done
16175     
16176   fi
16177
16178   
16179   echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16180 echo "configure:16181: checking for _modfl declaration" >&5
16181   if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16182   echo $ac_n "(cached) $ac_c" 1>&6
16183 else
16184   
16185     
16186     ac_ext=C
16187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16188 ac_cpp='$CXXCPP $CPPFLAGS'
16189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16191 cross_compiling=$ac_cv_prog_cxx_cross
16192
16193     cat > conftest.$ac_ext <<EOF
16194 #line 16195 "configure"
16195 #include "confdefs.h"
16196 #include <math.h>
16197 int main() {
16198  _modfl(0, 0);
16199 ; return 0; }
16200 EOF
16201 if { (eval echo configure:16202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16202   rm -rf conftest*
16203   glibcpp_cv_func__modfl_use=yes
16204 else
16205   echo "configure: failed program was:" >&5
16206   cat conftest.$ac_ext >&5
16207   rm -rf conftest*
16208   glibcpp_cv_func__modfl_use=no
16209 fi
16210 rm -f conftest*
16211     ac_ext=c
16212 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16213 ac_cpp='$CPP $CPPFLAGS'
16214 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16215 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16216 cross_compiling=$ac_cv_prog_cc_cross
16217
16218   
16219 fi
16220
16221   echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16222   if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16223     for ac_func in _modfl
16224 do
16225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16226 echo "configure:16227: checking for $ac_func" >&5
16227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16228   echo $ac_n "(cached) $ac_c" 1>&6
16229 else
16230   cat > conftest.$ac_ext <<EOF
16231 #line 16232 "configure"
16232 #include "confdefs.h"
16233 /* System header to define __stub macros and hopefully few prototypes,
16234     which can conflict with char $ac_func(); below.  */
16235 #include <assert.h>
16236 /* Override any gcc2 internal prototype to avoid an error.  */
16237 /* We use char because int might match the return type of a gcc2
16238     builtin and then its argument prototype would still apply.  */
16239 char $ac_func();
16240
16241 int main() {
16242
16243 /* The GNU C library defines this for functions which it implements
16244     to always fail with ENOSYS.  Some functions are actually named
16245     something starting with __ and the normal name is an alias.  */
16246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16247 choke me
16248 #else
16249 $ac_func();
16250 #endif
16251
16252 ; return 0; }
16253 EOF
16254 if { (eval echo configure:16255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16255   rm -rf conftest*
16256   eval "ac_cv_func_$ac_func=yes"
16257 else
16258   echo "configure: failed program was:" >&5
16259   cat conftest.$ac_ext >&5
16260   rm -rf conftest*
16261   eval "ac_cv_func_$ac_func=no"
16262 fi
16263 rm -f conftest*
16264 fi
16265
16266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16267   echo "$ac_t""yes" 1>&6
16268     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16269   cat >> confdefs.h <<EOF
16270 #define $ac_tr_func 1
16271 EOF
16272  
16273 else
16274   echo "$ac_t""no" 1>&6
16275 fi
16276 done
16277     
16278   fi
16279
16280   
16281   echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16282 echo "configure:16283: checking for _powl declaration" >&5
16283   if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16284   echo $ac_n "(cached) $ac_c" 1>&6
16285 else
16286   
16287     
16288     ac_ext=C
16289 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16290 ac_cpp='$CXXCPP $CPPFLAGS'
16291 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16292 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16293 cross_compiling=$ac_cv_prog_cxx_cross
16294
16295     cat > conftest.$ac_ext <<EOF
16296 #line 16297 "configure"
16297 #include "confdefs.h"
16298 #include <math.h>
16299 int main() {
16300  _powl(0, 0);
16301 ; return 0; }
16302 EOF
16303 if { (eval echo configure:16304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16304   rm -rf conftest*
16305   glibcpp_cv_func__powl_use=yes
16306 else
16307   echo "configure: failed program was:" >&5
16308   cat conftest.$ac_ext >&5
16309   rm -rf conftest*
16310   glibcpp_cv_func__powl_use=no
16311 fi
16312 rm -f conftest*
16313     ac_ext=c
16314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16315 ac_cpp='$CPP $CPPFLAGS'
16316 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16317 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16318 cross_compiling=$ac_cv_prog_cc_cross
16319
16320   
16321 fi
16322
16323   echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16324   if test x$glibcpp_cv_func__powl_use = x"yes"; then
16325     for ac_func in _powl
16326 do
16327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16328 echo "configure:16329: checking for $ac_func" >&5
16329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16330   echo $ac_n "(cached) $ac_c" 1>&6
16331 else
16332   cat > conftest.$ac_ext <<EOF
16333 #line 16334 "configure"
16334 #include "confdefs.h"
16335 /* System header to define __stub macros and hopefully few prototypes,
16336     which can conflict with char $ac_func(); below.  */
16337 #include <assert.h>
16338 /* Override any gcc2 internal prototype to avoid an error.  */
16339 /* We use char because int might match the return type of a gcc2
16340     builtin and then its argument prototype would still apply.  */
16341 char $ac_func();
16342
16343 int main() {
16344
16345 /* The GNU C library defines this for functions which it implements
16346     to always fail with ENOSYS.  Some functions are actually named
16347     something starting with __ and the normal name is an alias.  */
16348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16349 choke me
16350 #else
16351 $ac_func();
16352 #endif
16353
16354 ; return 0; }
16355 EOF
16356 if { (eval echo configure:16357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16357   rm -rf conftest*
16358   eval "ac_cv_func_$ac_func=yes"
16359 else
16360   echo "configure: failed program was:" >&5
16361   cat conftest.$ac_ext >&5
16362   rm -rf conftest*
16363   eval "ac_cv_func_$ac_func=no"
16364 fi
16365 rm -f conftest*
16366 fi
16367
16368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16369   echo "$ac_t""yes" 1>&6
16370     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16371   cat >> confdefs.h <<EOF
16372 #define $ac_tr_func 1
16373 EOF
16374  
16375 else
16376   echo "$ac_t""no" 1>&6
16377 fi
16378 done
16379     
16380   fi
16381
16382   
16383   echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16384 echo "configure:16385: checking for _sinl declaration" >&5
16385   if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16386   echo $ac_n "(cached) $ac_c" 1>&6
16387 else
16388   
16389     
16390     ac_ext=C
16391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16392 ac_cpp='$CXXCPP $CPPFLAGS'
16393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16395 cross_compiling=$ac_cv_prog_cxx_cross
16396
16397     cat > conftest.$ac_ext <<EOF
16398 #line 16399 "configure"
16399 #include "confdefs.h"
16400 #include <math.h>
16401 int main() {
16402  _sinl(0);
16403 ; return 0; }
16404 EOF
16405 if { (eval echo configure:16406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16406   rm -rf conftest*
16407   glibcpp_cv_func__sinl_use=yes
16408 else
16409   echo "configure: failed program was:" >&5
16410   cat conftest.$ac_ext >&5
16411   rm -rf conftest*
16412   glibcpp_cv_func__sinl_use=no
16413 fi
16414 rm -f conftest*
16415     ac_ext=c
16416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16417 ac_cpp='$CPP $CPPFLAGS'
16418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16420 cross_compiling=$ac_cv_prog_cc_cross
16421
16422   
16423 fi
16424
16425   echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16426   if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16427     for ac_func in _sinl
16428 do
16429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16430 echo "configure:16431: checking for $ac_func" >&5
16431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16432   echo $ac_n "(cached) $ac_c" 1>&6
16433 else
16434   cat > conftest.$ac_ext <<EOF
16435 #line 16436 "configure"
16436 #include "confdefs.h"
16437 /* System header to define __stub macros and hopefully few prototypes,
16438     which can conflict with char $ac_func(); below.  */
16439 #include <assert.h>
16440 /* Override any gcc2 internal prototype to avoid an error.  */
16441 /* We use char because int might match the return type of a gcc2
16442     builtin and then its argument prototype would still apply.  */
16443 char $ac_func();
16444
16445 int main() {
16446
16447 /* The GNU C library defines this for functions which it implements
16448     to always fail with ENOSYS.  Some functions are actually named
16449     something starting with __ and the normal name is an alias.  */
16450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16451 choke me
16452 #else
16453 $ac_func();
16454 #endif
16455
16456 ; return 0; }
16457 EOF
16458 if { (eval echo configure:16459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16459   rm -rf conftest*
16460   eval "ac_cv_func_$ac_func=yes"
16461 else
16462   echo "configure: failed program was:" >&5
16463   cat conftest.$ac_ext >&5
16464   rm -rf conftest*
16465   eval "ac_cv_func_$ac_func=no"
16466 fi
16467 rm -f conftest*
16468 fi
16469
16470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16471   echo "$ac_t""yes" 1>&6
16472     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16473   cat >> confdefs.h <<EOF
16474 #define $ac_tr_func 1
16475 EOF
16476  
16477 else
16478   echo "$ac_t""no" 1>&6
16479 fi
16480 done
16481     
16482   fi
16483
16484   
16485   echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16486 echo "configure:16487: checking for _sinhl declaration" >&5
16487   if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16488   echo $ac_n "(cached) $ac_c" 1>&6
16489 else
16490   
16491     
16492     ac_ext=C
16493 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16494 ac_cpp='$CXXCPP $CPPFLAGS'
16495 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16496 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16497 cross_compiling=$ac_cv_prog_cxx_cross
16498
16499     cat > conftest.$ac_ext <<EOF
16500 #line 16501 "configure"
16501 #include "confdefs.h"
16502 #include <math.h>
16503 int main() {
16504  _sinhl(0);
16505 ; return 0; }
16506 EOF
16507 if { (eval echo configure:16508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16508   rm -rf conftest*
16509   glibcpp_cv_func__sinhl_use=yes
16510 else
16511   echo "configure: failed program was:" >&5
16512   cat conftest.$ac_ext >&5
16513   rm -rf conftest*
16514   glibcpp_cv_func__sinhl_use=no
16515 fi
16516 rm -f conftest*
16517     ac_ext=c
16518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16519 ac_cpp='$CPP $CPPFLAGS'
16520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16522 cross_compiling=$ac_cv_prog_cc_cross
16523
16524   
16525 fi
16526
16527   echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16528   if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16529     for ac_func in _sinhl
16530 do
16531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16532 echo "configure:16533: checking for $ac_func" >&5
16533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16534   echo $ac_n "(cached) $ac_c" 1>&6
16535 else
16536   cat > conftest.$ac_ext <<EOF
16537 #line 16538 "configure"
16538 #include "confdefs.h"
16539 /* System header to define __stub macros and hopefully few prototypes,
16540     which can conflict with char $ac_func(); below.  */
16541 #include <assert.h>
16542 /* Override any gcc2 internal prototype to avoid an error.  */
16543 /* We use char because int might match the return type of a gcc2
16544     builtin and then its argument prototype would still apply.  */
16545 char $ac_func();
16546
16547 int main() {
16548
16549 /* The GNU C library defines this for functions which it implements
16550     to always fail with ENOSYS.  Some functions are actually named
16551     something starting with __ and the normal name is an alias.  */
16552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16553 choke me
16554 #else
16555 $ac_func();
16556 #endif
16557
16558 ; return 0; }
16559 EOF
16560 if { (eval echo configure:16561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16561   rm -rf conftest*
16562   eval "ac_cv_func_$ac_func=yes"
16563 else
16564   echo "configure: failed program was:" >&5
16565   cat conftest.$ac_ext >&5
16566   rm -rf conftest*
16567   eval "ac_cv_func_$ac_func=no"
16568 fi
16569 rm -f conftest*
16570 fi
16571
16572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16573   echo "$ac_t""yes" 1>&6
16574     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16575   cat >> confdefs.h <<EOF
16576 #define $ac_tr_func 1
16577 EOF
16578  
16579 else
16580   echo "$ac_t""no" 1>&6
16581 fi
16582 done
16583     
16584   fi
16585
16586   
16587   echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16588 echo "configure:16589: checking for _sqrtl declaration" >&5
16589   if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16590   echo $ac_n "(cached) $ac_c" 1>&6
16591 else
16592   
16593     
16594     ac_ext=C
16595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16596 ac_cpp='$CXXCPP $CPPFLAGS'
16597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16599 cross_compiling=$ac_cv_prog_cxx_cross
16600
16601     cat > conftest.$ac_ext <<EOF
16602 #line 16603 "configure"
16603 #include "confdefs.h"
16604 #include <math.h>
16605 int main() {
16606  _sqrtl(0);
16607 ; return 0; }
16608 EOF
16609 if { (eval echo configure:16610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16610   rm -rf conftest*
16611   glibcpp_cv_func__sqrtl_use=yes
16612 else
16613   echo "configure: failed program was:" >&5
16614   cat conftest.$ac_ext >&5
16615   rm -rf conftest*
16616   glibcpp_cv_func__sqrtl_use=no
16617 fi
16618 rm -f conftest*
16619     ac_ext=c
16620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16621 ac_cpp='$CPP $CPPFLAGS'
16622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16624 cross_compiling=$ac_cv_prog_cc_cross
16625
16626   
16627 fi
16628
16629   echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16630   if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16631     for ac_func in _sqrtl
16632 do
16633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16634 echo "configure:16635: checking for $ac_func" >&5
16635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16636   echo $ac_n "(cached) $ac_c" 1>&6
16637 else
16638   cat > conftest.$ac_ext <<EOF
16639 #line 16640 "configure"
16640 #include "confdefs.h"
16641 /* System header to define __stub macros and hopefully few prototypes,
16642     which can conflict with char $ac_func(); below.  */
16643 #include <assert.h>
16644 /* Override any gcc2 internal prototype to avoid an error.  */
16645 /* We use char because int might match the return type of a gcc2
16646     builtin and then its argument prototype would still apply.  */
16647 char $ac_func();
16648
16649 int main() {
16650
16651 /* The GNU C library defines this for functions which it implements
16652     to always fail with ENOSYS.  Some functions are actually named
16653     something starting with __ and the normal name is an alias.  */
16654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16655 choke me
16656 #else
16657 $ac_func();
16658 #endif
16659
16660 ; return 0; }
16661 EOF
16662 if { (eval echo configure:16663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16663   rm -rf conftest*
16664   eval "ac_cv_func_$ac_func=yes"
16665 else
16666   echo "configure: failed program was:" >&5
16667   cat conftest.$ac_ext >&5
16668   rm -rf conftest*
16669   eval "ac_cv_func_$ac_func=no"
16670 fi
16671 rm -f conftest*
16672 fi
16673
16674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16675   echo "$ac_t""yes" 1>&6
16676     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16677   cat >> confdefs.h <<EOF
16678 #define $ac_tr_func 1
16679 EOF
16680  
16681 else
16682   echo "$ac_t""no" 1>&6
16683 fi
16684 done
16685     
16686   fi
16687
16688   
16689   echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16690 echo "configure:16691: checking for _tanl declaration" >&5
16691   if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16692   echo $ac_n "(cached) $ac_c" 1>&6
16693 else
16694   
16695     
16696     ac_ext=C
16697 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16698 ac_cpp='$CXXCPP $CPPFLAGS'
16699 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16700 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16701 cross_compiling=$ac_cv_prog_cxx_cross
16702
16703     cat > conftest.$ac_ext <<EOF
16704 #line 16705 "configure"
16705 #include "confdefs.h"
16706 #include <math.h>
16707 int main() {
16708  _tanl(0);
16709 ; return 0; }
16710 EOF
16711 if { (eval echo configure:16712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16712   rm -rf conftest*
16713   glibcpp_cv_func__tanl_use=yes
16714 else
16715   echo "configure: failed program was:" >&5
16716   cat conftest.$ac_ext >&5
16717   rm -rf conftest*
16718   glibcpp_cv_func__tanl_use=no
16719 fi
16720 rm -f conftest*
16721     ac_ext=c
16722 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16723 ac_cpp='$CPP $CPPFLAGS'
16724 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16725 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16726 cross_compiling=$ac_cv_prog_cc_cross
16727
16728   
16729 fi
16730
16731   echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16732   if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16733     for ac_func in _tanl
16734 do
16735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16736 echo "configure:16737: checking for $ac_func" >&5
16737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16738   echo $ac_n "(cached) $ac_c" 1>&6
16739 else
16740   cat > conftest.$ac_ext <<EOF
16741 #line 16742 "configure"
16742 #include "confdefs.h"
16743 /* System header to define __stub macros and hopefully few prototypes,
16744     which can conflict with char $ac_func(); below.  */
16745 #include <assert.h>
16746 /* Override any gcc2 internal prototype to avoid an error.  */
16747 /* We use char because int might match the return type of a gcc2
16748     builtin and then its argument prototype would still apply.  */
16749 char $ac_func();
16750
16751 int main() {
16752
16753 /* The GNU C library defines this for functions which it implements
16754     to always fail with ENOSYS.  Some functions are actually named
16755     something starting with __ and the normal name is an alias.  */
16756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16757 choke me
16758 #else
16759 $ac_func();
16760 #endif
16761
16762 ; return 0; }
16763 EOF
16764 if { (eval echo configure:16765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16765   rm -rf conftest*
16766   eval "ac_cv_func_$ac_func=yes"
16767 else
16768   echo "configure: failed program was:" >&5
16769   cat conftest.$ac_ext >&5
16770   rm -rf conftest*
16771   eval "ac_cv_func_$ac_func=no"
16772 fi
16773 rm -f conftest*
16774 fi
16775
16776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16777   echo "$ac_t""yes" 1>&6
16778     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16779   cat >> confdefs.h <<EOF
16780 #define $ac_tr_func 1
16781 EOF
16782  
16783 else
16784   echo "$ac_t""no" 1>&6
16785 fi
16786 done
16787     
16788   fi
16789
16790   
16791   echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16792 echo "configure:16793: checking for _tanhl declaration" >&5
16793   if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16794   echo $ac_n "(cached) $ac_c" 1>&6
16795 else
16796   
16797     
16798     ac_ext=C
16799 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16800 ac_cpp='$CXXCPP $CPPFLAGS'
16801 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16802 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16803 cross_compiling=$ac_cv_prog_cxx_cross
16804
16805     cat > conftest.$ac_ext <<EOF
16806 #line 16807 "configure"
16807 #include "confdefs.h"
16808 #include <math.h>
16809 int main() {
16810  _tanhl(0);
16811 ; return 0; }
16812 EOF
16813 if { (eval echo configure:16814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16814   rm -rf conftest*
16815   glibcpp_cv_func__tanhl_use=yes
16816 else
16817   echo "configure: failed program was:" >&5
16818   cat conftest.$ac_ext >&5
16819   rm -rf conftest*
16820   glibcpp_cv_func__tanhl_use=no
16821 fi
16822 rm -f conftest*
16823     ac_ext=c
16824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16825 ac_cpp='$CPP $CPPFLAGS'
16826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16828 cross_compiling=$ac_cv_prog_cc_cross
16829
16830   
16831 fi
16832
16833   echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
16834   if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
16835     for ac_func in _tanhl
16836 do
16837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16838 echo "configure:16839: checking for $ac_func" >&5
16839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16840   echo $ac_n "(cached) $ac_c" 1>&6
16841 else
16842   cat > conftest.$ac_ext <<EOF
16843 #line 16844 "configure"
16844 #include "confdefs.h"
16845 /* System header to define __stub macros and hopefully few prototypes,
16846     which can conflict with char $ac_func(); below.  */
16847 #include <assert.h>
16848 /* Override any gcc2 internal prototype to avoid an error.  */
16849 /* We use char because int might match the return type of a gcc2
16850     builtin and then its argument prototype would still apply.  */
16851 char $ac_func();
16852
16853 int main() {
16854
16855 /* The GNU C library defines this for functions which it implements
16856     to always fail with ENOSYS.  Some functions are actually named
16857     something starting with __ and the normal name is an alias.  */
16858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16859 choke me
16860 #else
16861 $ac_func();
16862 #endif
16863
16864 ; return 0; }
16865 EOF
16866 if { (eval echo configure:16867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16867   rm -rf conftest*
16868   eval "ac_cv_func_$ac_func=yes"
16869 else
16870   echo "configure: failed program was:" >&5
16871   cat conftest.$ac_ext >&5
16872   rm -rf conftest*
16873   eval "ac_cv_func_$ac_func=no"
16874 fi
16875 rm -f conftest*
16876 fi
16877
16878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16879   echo "$ac_t""yes" 1>&6
16880     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16881   cat >> confdefs.h <<EOF
16882 #define $ac_tr_func 1
16883 EOF
16884  
16885 else
16886   echo "$ac_t""no" 1>&6
16887 fi
16888 done
16889     
16890   fi
16891
16892   
16893   echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16894 echo "configure:16895: checking for _sincosl declaration" >&5
16895   if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16896   echo $ac_n "(cached) $ac_c" 1>&6
16897 else
16898   
16899     
16900     ac_ext=C
16901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16902 ac_cpp='$CXXCPP $CPPFLAGS'
16903 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16904 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16905 cross_compiling=$ac_cv_prog_cxx_cross
16906
16907     cat > conftest.$ac_ext <<EOF
16908 #line 16909 "configure"
16909 #include "confdefs.h"
16910 #include <math.h>
16911 int main() {
16912  _sincosl(0, 0, 0);
16913 ; return 0; }
16914 EOF
16915 if { (eval echo configure:16916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16916   rm -rf conftest*
16917   glibcpp_cv_func__sincosl_use=yes
16918 else
16919   echo "configure: failed program was:" >&5
16920   cat conftest.$ac_ext >&5
16921   rm -rf conftest*
16922   glibcpp_cv_func__sincosl_use=no
16923 fi
16924 rm -f conftest*
16925     ac_ext=c
16926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16927 ac_cpp='$CPP $CPPFLAGS'
16928 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16929 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16930 cross_compiling=$ac_cv_prog_cc_cross
16931
16932   
16933 fi
16934
16935   echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16936   if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16937     for ac_func in _sincosl
16938 do
16939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16940 echo "configure:16941: checking for $ac_func" >&5
16941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16942   echo $ac_n "(cached) $ac_c" 1>&6
16943 else
16944   cat > conftest.$ac_ext <<EOF
16945 #line 16946 "configure"
16946 #include "confdefs.h"
16947 /* System header to define __stub macros and hopefully few prototypes,
16948     which can conflict with char $ac_func(); below.  */
16949 #include <assert.h>
16950 /* Override any gcc2 internal prototype to avoid an error.  */
16951 /* We use char because int might match the return type of a gcc2
16952     builtin and then its argument prototype would still apply.  */
16953 char $ac_func();
16954
16955 int main() {
16956
16957 /* The GNU C library defines this for functions which it implements
16958     to always fail with ENOSYS.  Some functions are actually named
16959     something starting with __ and the normal name is an alias.  */
16960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16961 choke me
16962 #else
16963 $ac_func();
16964 #endif
16965
16966 ; return 0; }
16967 EOF
16968 if { (eval echo configure:16969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16969   rm -rf conftest*
16970   eval "ac_cv_func_$ac_func=yes"
16971 else
16972   echo "configure: failed program was:" >&5
16973   cat conftest.$ac_ext >&5
16974   rm -rf conftest*
16975   eval "ac_cv_func_$ac_func=no"
16976 fi
16977 rm -f conftest*
16978 fi
16979
16980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16981   echo "$ac_t""yes" 1>&6
16982     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16983   cat >> confdefs.h <<EOF
16984 #define $ac_tr_func 1
16985 EOF
16986  
16987 else
16988   echo "$ac_t""no" 1>&6
16989 fi
16990 done
16991     
16992   fi
16993
16994   
16995   echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
16996 echo "configure:16997: checking for _finitel declaration" >&5
16997   if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
16998   echo $ac_n "(cached) $ac_c" 1>&6
16999 else
17000   
17001     
17002     ac_ext=C
17003 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17004 ac_cpp='$CXXCPP $CPPFLAGS'
17005 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17006 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17007 cross_compiling=$ac_cv_prog_cxx_cross
17008
17009     cat > conftest.$ac_ext <<EOF
17010 #line 17011 "configure"
17011 #include "confdefs.h"
17012 #include <math.h>
17013 int main() {
17014  _finitel(0);
17015 ; return 0; }
17016 EOF
17017 if { (eval echo configure:17018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17018   rm -rf conftest*
17019   glibcpp_cv_func__finitel_use=yes
17020 else
17021   echo "configure: failed program was:" >&5
17022   cat conftest.$ac_ext >&5
17023   rm -rf conftest*
17024   glibcpp_cv_func__finitel_use=no
17025 fi
17026 rm -f conftest*
17027     ac_ext=c
17028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17029 ac_cpp='$CPP $CPPFLAGS'
17030 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17031 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17032 cross_compiling=$ac_cv_prog_cc_cross
17033
17034   
17035 fi
17036
17037   echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17038   if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17039     for ac_func in _finitel
17040 do
17041 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17042 echo "configure:17043: checking for $ac_func" >&5
17043 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17044   echo $ac_n "(cached) $ac_c" 1>&6
17045 else
17046   cat > conftest.$ac_ext <<EOF
17047 #line 17048 "configure"
17048 #include "confdefs.h"
17049 /* System header to define __stub macros and hopefully few prototypes,
17050     which can conflict with char $ac_func(); below.  */
17051 #include <assert.h>
17052 /* Override any gcc2 internal prototype to avoid an error.  */
17053 /* We use char because int might match the return type of a gcc2
17054     builtin and then its argument prototype would still apply.  */
17055 char $ac_func();
17056
17057 int main() {
17058
17059 /* The GNU C library defines this for functions which it implements
17060     to always fail with ENOSYS.  Some functions are actually named
17061     something starting with __ and the normal name is an alias.  */
17062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17063 choke me
17064 #else
17065 $ac_func();
17066 #endif
17067
17068 ; return 0; }
17069 EOF
17070 if { (eval echo configure:17071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17071   rm -rf conftest*
17072   eval "ac_cv_func_$ac_func=yes"
17073 else
17074   echo "configure: failed program was:" >&5
17075   cat conftest.$ac_ext >&5
17076   rm -rf conftest*
17077   eval "ac_cv_func_$ac_func=no"
17078 fi
17079 rm -f conftest*
17080 fi
17081
17082 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17083   echo "$ac_t""yes" 1>&6
17084     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17085   cat >> confdefs.h <<EOF
17086 #define $ac_tr_func 1
17087 EOF
17088  
17089 else
17090   echo "$ac_t""no" 1>&6
17091 fi
17092 done
17093     
17094   fi
17095
17096
17097   LIBS="$ac_save_LIBS"
17098   CXXFLAGS="$ac_save_CXXFLAGS"
17099
17100   
17101     for ac_hdr in complex.h
17102 do
17103 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17104 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17105 echo "configure:17106: checking for $ac_hdr" >&5
17106 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17107   echo $ac_n "(cached) $ac_c" 1>&6
17108 else
17109   cat > conftest.$ac_ext <<EOF
17110 #line 17111 "configure"
17111 #include "confdefs.h"
17112 #include <$ac_hdr>
17113 EOF
17114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17115 { (eval echo configure:17116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17117 if test -z "$ac_err"; then
17118   rm -rf conftest*
17119   eval "ac_cv_header_$ac_safe=yes"
17120 else
17121   echo "$ac_err" >&5
17122   echo "configure: failed program was:" >&5
17123   cat conftest.$ac_ext >&5
17124   rm -rf conftest*
17125   eval "ac_cv_header_$ac_safe=no"
17126 fi
17127 rm -f conftest*
17128 fi
17129 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17130   echo "$ac_t""yes" 1>&6
17131     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17132   cat >> confdefs.h <<EOF
17133 #define $ac_tr_hdr 1
17134 EOF
17135  
17136 else
17137   echo "$ac_t""no" 1>&6
17138 fi
17139 done
17140
17141   for ac_func in ccos ccosf ccosh ccoshf cexp cexpf c_log c_logf \
17142   clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt csqrtf \
17143   ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf copysignf
17144 do
17145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17146 echo "configure:17147: checking for $ac_func" >&5
17147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17148   echo $ac_n "(cached) $ac_c" 1>&6
17149 else
17150   cat > conftest.$ac_ext <<EOF
17151 #line 17152 "configure"
17152 #include "confdefs.h"
17153 /* System header to define __stub macros and hopefully few prototypes,
17154     which can conflict with char $ac_func(); below.  */
17155 #include <assert.h>
17156 /* Override any gcc2 internal prototype to avoid an error.  */
17157 /* We use char because int might match the return type of a gcc2
17158     builtin and then its argument prototype would still apply.  */
17159 char $ac_func();
17160
17161 int main() {
17162
17163 /* The GNU C library defines this for functions which it implements
17164     to always fail with ENOSYS.  Some functions are actually named
17165     something starting with __ and the normal name is an alias.  */
17166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17167 choke me
17168 #else
17169 $ac_func();
17170 #endif
17171
17172 ; return 0; }
17173 EOF
17174 if { (eval echo configure:17175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17175   rm -rf conftest*
17176   eval "ac_cv_func_$ac_func=yes"
17177 else
17178   echo "configure: failed program was:" >&5
17179   cat conftest.$ac_ext >&5
17180   rm -rf conftest*
17181   eval "ac_cv_func_$ac_func=no"
17182 fi
17183 rm -f conftest*
17184 fi
17185
17186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17187   echo "$ac_t""yes" 1>&6
17188     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17189   cat >> confdefs.h <<EOF
17190 #define $ac_tr_func 1
17191 EOF
17192  
17193 else
17194   echo "$ac_t""no" 1>&6
17195 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17196 fi
17197 done
17198
17199
17200
17201           USE_COMPLEX_LONG_DOUBLE=no
17202   if test x$ac_cv_func_atan2l = x"yes" \
17203      && test x$ac_cv_func_copysignl = x"yes"; then
17204     USE_COMPLEX_LONG_DOUBLE=yes
17205     for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
17206     csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17207 do
17208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17209 echo "configure:17210: checking for $ac_func" >&5
17210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17211   echo $ac_n "(cached) $ac_c" 1>&6
17212 else
17213   cat > conftest.$ac_ext <<EOF
17214 #line 17215 "configure"
17215 #include "confdefs.h"
17216 /* System header to define __stub macros and hopefully few prototypes,
17217     which can conflict with char $ac_func(); below.  */
17218 #include <assert.h>
17219 /* Override any gcc2 internal prototype to avoid an error.  */
17220 /* We use char because int might match the return type of a gcc2
17221     builtin and then its argument prototype would still apply.  */
17222 char $ac_func();
17223
17224 int main() {
17225
17226 /* The GNU C library defines this for functions which it implements
17227     to always fail with ENOSYS.  Some functions are actually named
17228     something starting with __ and the normal name is an alias.  */
17229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17230 choke me
17231 #else
17232 $ac_func();
17233 #endif
17234
17235 ; return 0; }
17236 EOF
17237 if { (eval echo configure:17238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17238   rm -rf conftest*
17239   eval "ac_cv_func_$ac_func=yes"
17240 else
17241   echo "configure: failed program was:" >&5
17242   cat conftest.$ac_ext >&5
17243   rm -rf conftest*
17244   eval "ac_cv_func_$ac_func=no"
17245 fi
17246 rm -f conftest*
17247 fi
17248
17249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17250   echo "$ac_t""yes" 1>&6
17251     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17252   cat >> confdefs.h <<EOF
17253 #define $ac_tr_func 1
17254 EOF
17255  
17256 else
17257   echo "$ac_t""no" 1>&6
17258 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17259 fi
17260 done
17261
17262
17263   fi
17264
17265   
17266
17267   
17268   
17269
17270   echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17271 echo "configure:17272: checking for GNU C++ __complex__ support" >&5
17272   if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17273   echo $ac_n "(cached) $ac_c" 1>&6
17274 else
17275   
17276     
17277     ac_ext=C
17278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17279 ac_cpp='$CXXCPP $CPPFLAGS'
17280 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17281 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17282 cross_compiling=$ac_cv_prog_cxx_cross
17283
17284     cat > conftest.$ac_ext <<EOF
17285 #line 17286 "configure"
17286 #include "confdefs.h"
17287 struct dcomplex { __complex__ double x; }; \
17288                     dcomplex f(const dcomplex& x) { return dcomplex(x); }
17289 int main() {
17290 \
17291                      dcomplex x; f(x); 
17292 ; return 0; }
17293 EOF
17294 if { (eval echo configure:17295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17295   rm -rf conftest*
17296   glibcpp_cv_complex=ok
17297 else
17298   echo "configure: failed program was:" >&5
17299   cat conftest.$ac_ext >&5
17300   rm -rf conftest*
17301   glibcpp_cv_complex=buggy
17302     
17303 fi
17304 rm -f conftest*
17305     ac_ext=c
17306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17307 ac_cpp='$CPP $CPPFLAGS'
17308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17310 cross_compiling=$ac_cv_prog_cc_cross
17311
17312   
17313 fi
17314
17315   echo "$ac_t""$glibcpp_cv_complex" 1>&6
17316   if test $glibcpp_cv_complex = buggy; then
17317     cat >> confdefs.h <<\EOF
17318 #define _GLIBCPP_BUGGY_COMPLEX 1
17319 EOF
17320
17321   fi
17322
17323   echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17324 echo "configure:17325: checking for GNU C++ __complex__ float support" >&5
17325   if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17326   echo $ac_n "(cached) $ac_c" 1>&6
17327 else
17328   
17329     
17330     ac_ext=C
17331 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17332 ac_cpp='$CXXCPP $CPPFLAGS'
17333 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17334 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17335 cross_compiling=$ac_cv_prog_cxx_cross
17336
17337     rm -f conftest.h
17338     cat > conftest.h <<EOB
17339       //
17340       // Check for buggy __complex__ that causes ICE in most versions of egcs
17341       // and gcc-2.95.x on certain platforms (eg., x86-win32).
17342       //
17343       // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
17344       // more info on the bug itself.
17345       //
17346       struct
17347       float_complex
17348       {
17349        __complex__ float m_value;
17350        float_complex (float = 0.0f, float = 0.0f);
17351        float_complex (__complex__ float val) : m_value (val) {}
17352        float_complex foo (const float_complex &val)
17353          { return float_complex (~val.m_value); }
17354       };
17355 EOB
17356     cat > conftest.$ac_ext <<EOF
17357 #line 17358 "configure"
17358 #include "confdefs.h"
17359 #include "conftest.h"
17360 int main() {
17361
17362 ; return 0; }
17363 EOF
17364 if { (eval echo configure:17365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17365   rm -rf conftest*
17366   glibcpp_cv_float_complex=ok
17367 else
17368   echo "configure: failed program was:" >&5
17369   cat conftest.$ac_ext >&5
17370   rm -rf conftest*
17371   glibcpp_cv_float_complex=buggy
17372     
17373 fi
17374 rm -f conftest*
17375     ac_ext=c
17376 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17377 ac_cpp='$CPP $CPPFLAGS'
17378 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17379 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17380 cross_compiling=$ac_cv_prog_cc_cross
17381
17382   
17383 fi
17384
17385   echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17386   if test $glibcpp_cv_float_complex = buggy; then
17387     cat >> confdefs.h <<\EOF
17388 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17389 EOF
17390
17391   fi
17392
17393   cat > confcache <<\EOF
17394 # This file is a shell script that caches the results of configure
17395 # tests run on this system so they can be shared between configure
17396 # scripts and configure runs.  It is not useful on other systems.
17397 # If it contains results you don't want to keep, you may remove or edit it.
17398 #
17399 # By default, configure uses ./config.cache as the cache file,
17400 # creating it if it does not exist already.  You can give configure
17401 # the --cache-file=FILE option to use a different cache file; that is
17402 # what configure does when it calls configure scripts in
17403 # subdirectories, so they share the cache.
17404 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17405 # config.status only pays attention to the cache file if you give it the
17406 # --recheck option to rerun configure.
17407 #
17408 EOF
17409 # The following way of writing the cache mishandles newlines in values,
17410 # but we know of no workaround that is simple, portable, and efficient.
17411 # So, don't put newlines in cache variables' values.
17412 # Ultrix sh set writes to stderr and can't be redirected directly,
17413 # and sets the high bit in the cache file unless we assign to the vars.
17414 (set) 2>&1 |
17415   case `(ac_space=' '; set | grep ac_space) 2>&1` in
17416   *ac_space=\ *)
17417     # `set' does not quote correctly, so add quotes (double-quote substitution
17418     # turns \\\\ into \\, and sed turns \\ into \).
17419     sed -n \
17420       -e "s/'/'\\\\''/g" \
17421       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17422     ;;
17423   *)
17424     # `set' quotes correctly as required by POSIX, so do not add quotes.
17425     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17426     ;;
17427   esac >> confcache
17428 if cmp -s $cache_file confcache; then
17429   :
17430 else
17431   if test -w $cache_file; then
17432     echo "updating cache $cache_file"
17433     cat confcache > $cache_file
17434   else
17435     echo "not updating unwritable cache $cache_file"
17436   fi
17437 fi
17438 rm -f confcache
17439
17440   
17441
17442     ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17443 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17444 echo "configure:17445: checking for wchar.h" >&5
17445 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17446   echo $ac_n "(cached) $ac_c" 1>&6
17447 else
17448   cat > conftest.$ac_ext <<EOF
17449 #line 17450 "configure"
17450 #include "confdefs.h"
17451 #include <wchar.h>
17452 EOF
17453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17454 { (eval echo configure:17455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17455 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17456 if test -z "$ac_err"; then
17457   rm -rf conftest*
17458   eval "ac_cv_header_$ac_safe=yes"
17459 else
17460   echo "$ac_err" >&5
17461   echo "configure: failed program was:" >&5
17462   cat conftest.$ac_ext >&5
17463   rm -rf conftest*
17464   eval "ac_cv_header_$ac_safe=no"
17465 fi
17466 rm -f conftest*
17467 fi
17468 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17469   echo "$ac_t""yes" 1>&6
17470   ac_has_wchar_h=yes
17471 else
17472   echo "$ac_t""no" 1>&6
17473 ac_has_wchar_h=no
17474 fi
17475
17476   ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17477 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17478 echo "configure:17479: checking for wctype.h" >&5
17479 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17480   echo $ac_n "(cached) $ac_c" 1>&6
17481 else
17482   cat > conftest.$ac_ext <<EOF
17483 #line 17484 "configure"
17484 #include "confdefs.h"
17485 #include <wctype.h>
17486 EOF
17487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17488 { (eval echo configure:17489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17490 if test -z "$ac_err"; then
17491   rm -rf conftest*
17492   eval "ac_cv_header_$ac_safe=yes"
17493 else
17494   echo "$ac_err" >&5
17495   echo "configure: failed program was:" >&5
17496   cat conftest.$ac_ext >&5
17497   rm -rf conftest*
17498   eval "ac_cv_header_$ac_safe=no"
17499 fi
17500 rm -f conftest*
17501 fi
17502 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17503   echo "$ac_t""yes" 1>&6
17504   ac_has_wctype_h=yes
17505 else
17506   echo "$ac_t""no" 1>&6
17507 ac_has_wctype_h=no
17508 fi
17509
17510         
17511     if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17512
17513         echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17514 echo "configure:17515: checking for mbstate_t" >&5
17515     cat > conftest.$ac_ext <<EOF
17516 #line 17517 "configure"
17517 #include "confdefs.h"
17518 #include <wchar.h>
17519 int main() {
17520 mbstate_t teststate;
17521 ; return 0; }
17522 EOF
17523 if { (eval echo configure:17524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17524   rm -rf conftest*
17525   use_native_mbstatet=yes
17526 else
17527   echo "configure: failed program was:" >&5
17528   cat conftest.$ac_ext >&5
17529   rm -rf conftest*
17530   use_native_mbstatet=no
17531 fi
17532 rm -f conftest*
17533     echo "$ac_t""$use_native_mbstatet" 1>&6
17534     if test x"$use_native_mbstatet" = xno; then
17535       cat >> confdefs.h <<\EOF
17536 #define _GLIBCPP_NEED_MBSTATE_T 1
17537 EOF
17538
17539     fi
17540   
17541             echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17542 echo "configure:17543: checking for WCHAR_MIN and WCHAR_MAX" >&5
17543     cat > conftest.$ac_ext <<EOF
17544 #line 17545 "configure"
17545 #include "confdefs.h"
17546 #include <wchar.h>
17547 int main() {
17548 int i = WCHAR_MIN; int j = WCHAR_MAX;
17549 ; return 0; }
17550 EOF
17551 if { (eval echo configure:17552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17552   rm -rf conftest*
17553   has_wchar_minmax=yes
17554 else
17555   echo "configure: failed program was:" >&5
17556   cat conftest.$ac_ext >&5
17557   rm -rf conftest*
17558   has_wchar_minmax=no
17559 fi
17560 rm -f conftest*
17561     echo "$ac_t""$has_wchar_minmax" 1>&6
17562   
17563             echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17564 echo "configure:17565: checking for WEOF" >&5
17565     cat > conftest.$ac_ext <<EOF
17566 #line 17567 "configure"
17567 #include "confdefs.h"
17568
17569       #include <wchar.h>
17570       #include <stddef.h>
17571 int main() {
17572 wint_t i = WEOF;
17573 ; return 0; }
17574 EOF
17575 if { (eval echo configure:17576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17576   rm -rf conftest*
17577   has_weof=yes
17578 else
17579   echo "configure: failed program was:" >&5
17580   cat conftest.$ac_ext >&5
17581   rm -rf conftest*
17582   has_weof=no
17583 fi
17584 rm -f conftest*
17585     echo "$ac_t""$has_weof" 1>&6
17586
17587         for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
17588     wcsrtombs mbsrtowcs
17589 do
17590 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17591 echo "configure:17592: checking for $ac_func" >&5
17592 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17593   echo $ac_n "(cached) $ac_c" 1>&6
17594 else
17595   cat > conftest.$ac_ext <<EOF
17596 #line 17597 "configure"
17597 #include "confdefs.h"
17598 /* System header to define __stub macros and hopefully few prototypes,
17599     which can conflict with char $ac_func(); below.  */
17600 #include <assert.h>
17601 /* Override any gcc2 internal prototype to avoid an error.  */
17602 /* We use char because int might match the return type of a gcc2
17603     builtin and then its argument prototype would still apply.  */
17604 char $ac_func();
17605
17606 int main() {
17607
17608 /* The GNU C library defines this for functions which it implements
17609     to always fail with ENOSYS.  Some functions are actually named
17610     something starting with __ and the normal name is an alias.  */
17611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17612 choke me
17613 #else
17614 $ac_func();
17615 #endif
17616
17617 ; return 0; }
17618 EOF
17619 if { (eval echo configure:17620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17620   rm -rf conftest*
17621   eval "ac_cv_func_$ac_func=yes"
17622 else
17623   echo "configure: failed program was:" >&5
17624   cat conftest.$ac_ext >&5
17625   rm -rf conftest*
17626   eval "ac_cv_func_$ac_func=no"
17627 fi
17628 rm -f conftest*
17629 fi
17630
17631 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17632   echo "$ac_t""yes" 1>&6
17633     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17634   cat >> confdefs.h <<EOF
17635 #define $ac_tr_func 1
17636 EOF
17637  ac_wfuncs=yes
17638 else
17639   echo "$ac_t""no" 1>&6
17640 ac_wfuncs=no
17641 fi
17642 done
17643
17644
17645     echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6
17646 echo "configure:17647: checking for ISO C9X wchar_t support" >&5
17647     if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
17648        && test x"$ac_wfuncs" = xyes; then
17649       ac_isoC9X_wchar_t=yes
17650     else
17651       ac_isoC9X_wchar_t=no
17652     fi
17653     echo "$ac_t""$ac_isoC9X_wchar_t" 1>&6
17654
17655             ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17656 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17657 echo "configure:17658: checking for iconv.h" >&5
17658 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17659   echo $ac_n "(cached) $ac_c" 1>&6
17660 else
17661   cat > conftest.$ac_ext <<EOF
17662 #line 17663 "configure"
17663 #include "confdefs.h"
17664 #include <iconv.h>
17665 EOF
17666 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17667 { (eval echo configure:17668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17668 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17669 if test -z "$ac_err"; then
17670   rm -rf conftest*
17671   eval "ac_cv_header_$ac_safe=yes"
17672 else
17673   echo "$ac_err" >&5
17674   echo "configure: failed program was:" >&5
17675   cat conftest.$ac_ext >&5
17676   rm -rf conftest*
17677   eval "ac_cv_header_$ac_safe=no"
17678 fi
17679 rm -f conftest*
17680 fi
17681 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17682   echo "$ac_t""yes" 1>&6
17683   ac_has_iconv_h=yes
17684 else
17685   echo "$ac_t""no" 1>&6
17686 ac_has_iconv_h=no
17687 fi
17688
17689     ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17690 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17691 echo "configure:17692: checking for langinfo.h" >&5
17692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17693   echo $ac_n "(cached) $ac_c" 1>&6
17694 else
17695   cat > conftest.$ac_ext <<EOF
17696 #line 17697 "configure"
17697 #include "confdefs.h"
17698 #include <langinfo.h>
17699 EOF
17700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17701 { (eval echo configure:17702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17703 if test -z "$ac_err"; then
17704   rm -rf conftest*
17705   eval "ac_cv_header_$ac_safe=yes"
17706 else
17707   echo "$ac_err" >&5
17708   echo "configure: failed program was:" >&5
17709   cat conftest.$ac_ext >&5
17710   rm -rf conftest*
17711   eval "ac_cv_header_$ac_safe=no"
17712 fi
17713 rm -f conftest*
17714 fi
17715 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17716   echo "$ac_t""yes" 1>&6
17717   ac_has_langinfo_h=yes
17718 else
17719   echo "$ac_t""no" 1>&6
17720 ac_has_langinfo_h=no
17721 fi
17722
17723     for ac_func in iconv_open iconv_close iconv nl_langinfo
17724 do
17725 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17726 echo "configure:17727: checking for $ac_func" >&5
17727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17728   echo $ac_n "(cached) $ac_c" 1>&6
17729 else
17730   cat > conftest.$ac_ext <<EOF
17731 #line 17732 "configure"
17732 #include "confdefs.h"
17733 /* System header to define __stub macros and hopefully few prototypes,
17734     which can conflict with char $ac_func(); below.  */
17735 #include <assert.h>
17736 /* Override any gcc2 internal prototype to avoid an error.  */
17737 /* We use char because int might match the return type of a gcc2
17738     builtin and then its argument prototype would still apply.  */
17739 char $ac_func();
17740
17741 int main() {
17742
17743 /* The GNU C library defines this for functions which it implements
17744     to always fail with ENOSYS.  Some functions are actually named
17745     something starting with __ and the normal name is an alias.  */
17746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17747 choke me
17748 #else
17749 $ac_func();
17750 #endif
17751
17752 ; return 0; }
17753 EOF
17754 if { (eval echo configure:17755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17755   rm -rf conftest*
17756   eval "ac_cv_func_$ac_func=yes"
17757 else
17758   echo "configure: failed program was:" >&5
17759   cat conftest.$ac_ext >&5
17760   rm -rf conftest*
17761   eval "ac_cv_func_$ac_func=no"
17762 fi
17763 rm -f conftest*
17764 fi
17765
17766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17767   echo "$ac_t""yes" 1>&6
17768     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17769   cat >> confdefs.h <<EOF
17770 #define $ac_tr_func 1
17771 EOF
17772  \
17773     ac_XPG2funcs=yes
17774 else
17775   echo "$ac_t""no" 1>&6
17776 ac_XPG2funcs=no
17777 fi
17778 done
17779
17780
17781     echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17782 echo "configure:17783: checking for XPG2 wchar_t support" >&5
17783     if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
17784        && test x"$ac_XPG2funcs" = xyes; then
17785       ac_XPG2_wchar_t=yes
17786     else
17787       ac_XPG2_wchar_t=no
17788     fi
17789     echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17790
17791             echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17792 echo "configure:17793: checking for enabled wchar_t specializations" >&5
17793     if test x"$ac_isoC9X_wchar_t" = xyes \
17794        && test x"$ac_XPG2_wchar_t" = xyes; then
17795       libinst_wstring_la="libinst-wstring.la"
17796       cat >> confdefs.h <<\EOF
17797 #define _GLIBCPP_USE_WCHAR_T 1
17798 EOF
17799
17800       echo "$ac_t"""yes"" 1>&6
17801     else
17802       libinst_wstring_la=""
17803       echo "$ac_t"""no"" 1>&6
17804     fi
17805     
17806
17807   else
17808     echo "configure: warning: <wchar.h> not found" 1>&2
17809     cat >> confdefs.h <<\EOF
17810 #define _GLIBCPP_NEED_MBSTATE_T 1
17811 EOF
17812
17813   fi
17814
17815   
17816   ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17817 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17818 echo "configure:17819: checking for ctype.h" >&5
17819 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17820   echo $ac_n "(cached) $ac_c" 1>&6
17821 else
17822   cat > conftest.$ac_ext <<EOF
17823 #line 17824 "configure"
17824 #include "confdefs.h"
17825 #include <ctype.h>
17826 EOF
17827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17828 { (eval echo configure:17829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17830 if test -z "$ac_err"; then
17831   rm -rf conftest*
17832   eval "ac_cv_header_$ac_safe=yes"
17833 else
17834   echo "$ac_err" >&5
17835   echo "configure: failed program was:" >&5
17836   cat conftest.$ac_ext >&5
17837   rm -rf conftest*
17838   eval "ac_cv_header_$ac_safe=no"
17839 fi
17840 rm -f conftest*
17841 fi
17842 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17843   echo "$ac_t""yes" 1>&6
17844   
17845     
17846         ctype_default=yes
17847
17848         echo $ac_n "checking <ctype> for GNU/Linux""... $ac_c" 1>&6
17849 echo "configure:17850: checking <ctype> for GNU/Linux" >&5
17850     cat > conftest.$ac_ext <<EOF
17851 #line 17852 "configure"
17852 #include "confdefs.h"
17853 #include <ctype.h>
17854 int main() {
17855 int
17856     foo (int a)
17857     { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
17858         + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
17859         + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
17860 ; return 0; }
17861 EOF
17862 if { (eval echo configure:17863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17863   rm -rf conftest*
17864   \
17865     ctype_linux=yes
17866 else
17867   echo "configure: failed program was:" >&5
17868   cat conftest.$ac_ext >&5
17869   rm -rf conftest*
17870   ctype_linux=no
17871 fi
17872 rm -f conftest*
17873     echo "$ac_t""$ctype_linux" 1>&6
17874     if test $ctype_linux = "yes"; then
17875       ctype_include_dir="config/gnu-linux"
17876       ctype_default=no
17877     fi
17878
17879         if test $ctype_default = "yes"; then
17880     echo $ac_n "checking <ctype> for FreeBSD 4.0""... $ac_c" 1>&6
17881 echo "configure:17882: checking <ctype> for FreeBSD 4.0" >&5
17882     cat > conftest.$ac_ext <<EOF
17883 #line 17884 "configure"
17884 #include "confdefs.h"
17885 #include <ctype.h>
17886 int main() {
17887 int
17888     foo (int a)
17889     { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
17890         + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
17891 ; return 0; }
17892 EOF
17893 if { (eval echo configure:17894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17894   rm -rf conftest*
17895   \
17896     ctype_bsd=yes
17897 else
17898   echo "configure: failed program was:" >&5
17899   cat conftest.$ac_ext >&5
17900   rm -rf conftest*
17901   ctype_bsd=no
17902 fi
17903 rm -f conftest*
17904     echo "$ac_t""$ctype_bsd" 1>&6
17905     if test $ctype_bsd = "yes"; then
17906       ctype_include_dir="config/bsd"
17907       ctype_default=no
17908     fi
17909     fi
17910
17911         if test $ctype_default = "yes"; then
17912     echo $ac_n "checking <ctype> for FreeBSD 3.4""... $ac_c" 1>&6
17913 echo "configure:17914: checking <ctype> for FreeBSD 3.4" >&5
17914     cat > conftest.$ac_ext <<EOF
17915 #line 17916 "configure"
17916 #include "confdefs.h"
17917 #include <ctype.h>
17918 int main() {
17919 int
17920     foo (int a)
17921     { return _S + _R + _C + _U + _L + _A \
17922       + _D + _P + _X + _G + __istype (a, 0);}
17923 ; return 0; }
17924 EOF
17925 if { (eval echo configure:17926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17926   rm -rf conftest*
17927   \
17928     ctype_freebsd34=yes
17929 else
17930   echo "configure: failed program was:" >&5
17931   cat conftest.$ac_ext >&5
17932   rm -rf conftest*
17933   ctype_freebsd34=no
17934 fi
17935 rm -f conftest*
17936     echo "$ac_t""$ctype_freebsd34" 1>&6
17937     if test $ctype_freebsd34 = "yes"; then
17938       ctype_include_dir="config/bsd"
17939       ctype_default=no
17940     fi
17941     fi
17942
17943         if test $ctype_default = "yes"; then
17944     echo $ac_n "checking <ctype> for Solaris 2.6,7,8""... $ac_c" 1>&6
17945 echo "configure:17946: checking <ctype> for Solaris 2.6,7,8" >&5
17946     cat > conftest.$ac_ext <<EOF
17947 #line 17948 "configure"
17948 #include "confdefs.h"
17949 #include <ctype.h>
17950 int main() {
17951 int
17952     foo (int a)
17953     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17954         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17955         + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
17956 ; return 0; }
17957 EOF
17958 if { (eval echo configure:17959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17959   rm -rf conftest*
17960   \
17961     ctype_solaris=yes
17962 else
17963   echo "configure: failed program was:" >&5
17964   cat conftest.$ac_ext >&5
17965   rm -rf conftest*
17966   ctype_solaris=no
17967 fi
17968 rm -f conftest*
17969     echo "$ac_t""$ctype_solaris" 1>&6
17970
17971     if test $ctype_solaris = "yes"; then
17972       echo $ac_n "checking   for version""... $ac_c" 1>&6
17973 echo "configure:17974: checking   for version" >&5
17974       ac_ext=C
17975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17976 ac_cpp='$CXXCPP $CPPFLAGS'
17977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17979 cross_compiling=$ac_cv_prog_cxx_cross
17980  
17981       cat > conftest.$ac_ext <<EOF
17982 #line 17983 "configure"
17983 #include "confdefs.h"
17984 #include <ctype.h>
17985 int main() {
17986 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
17987 ; return 0; }
17988 EOF
17989 if { (eval echo configure:17990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17990   rm -rf conftest*
17991   \
17992       ctype_solaris26=yes
17993 else
17994   echo "configure: failed program was:" >&5
17995   cat conftest.$ac_ext >&5
17996   rm -rf conftest*
17997   ctype_solaris26=no
17998 fi
17999 rm -f conftest*
18000       ac_ext=c
18001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18002 ac_cpp='$CPP $CPPFLAGS'
18003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18005 cross_compiling=$ac_cv_prog_cc_cross
18006
18007       if test $ctype_solaris26 = "yes"; then
18008         ctype_include_dir="config/solaris/solaris2.6"
18009         echo "$ac_t""Solaris 2.6" 1>&6
18010         ctype_default=no
18011       else
18012         ctype_include_dir="config/solaris/solaris2.7"
18013         echo "$ac_t""Solaris 7,8" 1>&6
18014         ctype_default=no
18015       fi
18016     fi
18017     fi  
18018
18019         if test $ctype_default = "yes"; then
18020     echo $ac_n "checking <ctype> for Solaris 2.5.1""... $ac_c" 1>&6
18021 echo "configure:18022: checking <ctype> for Solaris 2.5.1" >&5
18022     cat > conftest.$ac_ext <<EOF
18023 #line 18024 "configure"
18024 #include "confdefs.h"
18025 #include <ctype.h>
18026 int main() {
18027 int
18028     foo (int a)
18029     { return _U + _L + _N + _S + _P + _C + _X + _B \
18030         + __ctype[a];}
18031 ; return 0; }
18032 EOF
18033 if { (eval echo configure:18034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18034   rm -rf conftest*
18035   \
18036     ctype_solaris25=yes
18037 else
18038   echo "configure: failed program was:" >&5
18039   cat conftest.$ac_ext >&5
18040   rm -rf conftest*
18041   ctype_solaris25=no
18042 fi
18043 rm -f conftest*
18044     echo "$ac_t""$ctype_solaris25" 1>&6
18045     if test $ctype_solaris25 = "yes"; then
18046       ctype_include_dir="config/solaris/solaris2.5"
18047       ctype_default=no
18048     fi
18049     fi
18050
18051         if test $ctype_default = "yes"; then
18052     echo $ac_n "checking <ctype> for AIX""... $ac_c" 1>&6
18053 echo "configure:18054: checking <ctype> for AIX" >&5
18054     cat > conftest.$ac_ext <<EOF
18055 #line 18056 "configure"
18056 #include "confdefs.h"
18057 #include <ctype.h>
18058 int main() {
18059 int
18060     foo (int a)
18061     { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
18062         + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
18063         + _VALC('a') + _IS('c', 0);}
18064 ; return 0; }
18065 EOF
18066 if { (eval echo configure:18067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18067   rm -rf conftest*
18068   \
18069     ctype_aix=yes
18070 else
18071   echo "configure: failed program was:" >&5
18072   cat conftest.$ac_ext >&5
18073   rm -rf conftest*
18074   ctype_aix=no
18075 fi
18076 rm -f conftest*
18077     echo "$ac_t""$ctype_aix" 1>&6
18078     if test $ctype_aix = "yes"; then
18079       ctype_include_dir="config/aix"
18080       ctype_default=no
18081     fi
18082     fi
18083
18084         if test $ctype_default = "yes"; then
18085     echo $ac_n "checking <ctype> for newlib""... $ac_c" 1>&6
18086 echo "configure:18087: checking <ctype> for newlib" >&5
18087     cat > conftest.$ac_ext <<EOF
18088 #line 18089 "configure"
18089 #include "confdefs.h"
18090 #include <ctype.h>
18091 int main() {
18092 int
18093     foo (int a)
18094     { return _U + _L + _N + _S + _P + _C + _X + _B \
18095         + _ctype_[a];}
18096 ; return 0; }
18097 EOF
18098 if { (eval echo configure:18099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18099   rm -rf conftest*
18100   \
18101     ctype_newlib=yes
18102 else
18103   echo "configure: failed program was:" >&5
18104   cat conftest.$ac_ext >&5
18105   rm -rf conftest*
18106   ctype_newlib=no
18107 fi
18108 rm -f conftest*
18109     echo "$ac_t""$ctype_newlib" 1>&6
18110     if test $ctype_newlib = "yes"; then
18111       ctype_include_dir="config/newlib"
18112       ctype_default=no
18113     fi
18114     fi
18115
18116     if test $ctype_default = "yes"; then
18117       ctype_include_dir="config/generic"
18118       echo "configure: warning: "Using default ctype headers."" 1>&2
18119     fi
18120     
18121   
18122 else
18123   echo "$ac_t""no" 1>&6
18124 fi
18125
18126
18127
18128   for ac_hdr in unistd.h
18129 do
18130 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18131 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18132 echo "configure:18133: checking for $ac_hdr" >&5
18133 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18134   echo $ac_n "(cached) $ac_c" 1>&6
18135 else
18136   cat > conftest.$ac_ext <<EOF
18137 #line 18138 "configure"
18138 #include "confdefs.h"
18139 #include <$ac_hdr>
18140 EOF
18141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18142 { (eval echo configure:18143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18144 if test -z "$ac_err"; then
18145   rm -rf conftest*
18146   eval "ac_cv_header_$ac_safe=yes"
18147 else
18148   echo "$ac_err" >&5
18149   echo "configure: failed program was:" >&5
18150   cat conftest.$ac_ext >&5
18151   rm -rf conftest*
18152   eval "ac_cv_header_$ac_safe=no"
18153 fi
18154 rm -f conftest*
18155 fi
18156 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18157   echo "$ac_t""yes" 1>&6
18158     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18159   cat >> confdefs.h <<EOF
18160 #define $ac_tr_hdr 1
18161 EOF
18162  
18163 else
18164   echo "$ac_t""no" 1>&6
18165 fi
18166 done
18167
18168 for ac_func in getpagesize
18169 do
18170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18171 echo "configure:18172: checking for $ac_func" >&5
18172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18173   echo $ac_n "(cached) $ac_c" 1>&6
18174 else
18175   cat > conftest.$ac_ext <<EOF
18176 #line 18177 "configure"
18177 #include "confdefs.h"
18178 /* System header to define __stub macros and hopefully few prototypes,
18179     which can conflict with char $ac_func(); below.  */
18180 #include <assert.h>
18181 /* Override any gcc2 internal prototype to avoid an error.  */
18182 /* We use char because int might match the return type of a gcc2
18183     builtin and then its argument prototype would still apply.  */
18184 char $ac_func();
18185
18186 int main() {
18187
18188 /* The GNU C library defines this for functions which it implements
18189     to always fail with ENOSYS.  Some functions are actually named
18190     something starting with __ and the normal name is an alias.  */
18191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18192 choke me
18193 #else
18194 $ac_func();
18195 #endif
18196
18197 ; return 0; }
18198 EOF
18199 if { (eval echo configure:18200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18200   rm -rf conftest*
18201   eval "ac_cv_func_$ac_func=yes"
18202 else
18203   echo "configure: failed program was:" >&5
18204   cat conftest.$ac_ext >&5
18205   rm -rf conftest*
18206   eval "ac_cv_func_$ac_func=no"
18207 fi
18208 rm -f conftest*
18209 fi
18210
18211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18212   echo "$ac_t""yes" 1>&6
18213     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18214   cat >> confdefs.h <<EOF
18215 #define $ac_tr_func 1
18216 EOF
18217  
18218 else
18219   echo "$ac_t""no" 1>&6
18220 fi
18221 done
18222
18223 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18224 echo "configure:18225: checking for working mmap" >&5
18225 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18226   echo $ac_n "(cached) $ac_c" 1>&6
18227 else
18228   if test "$cross_compiling" = yes; then
18229   ac_cv_func_mmap_fixed_mapped=no
18230 else
18231   cat > conftest.$ac_ext <<EOF
18232 #line 18233 "configure"
18233 #include "confdefs.h"
18234
18235 /* Thanks to Mike Haertel and Jim Avera for this test.
18236    Here is a matrix of mmap possibilities:
18237         mmap private not fixed
18238         mmap private fixed at somewhere currently unmapped
18239         mmap private fixed at somewhere already mapped
18240         mmap shared not fixed
18241         mmap shared fixed at somewhere currently unmapped
18242         mmap shared fixed at somewhere already mapped
18243    For private mappings, we should verify that changes cannot be read()
18244    back from the file, nor mmap's back from the file at a different
18245    address.  (There have been systems where private was not correctly
18246    implemented like the infamous i386 svr4.0, and systems where the
18247    VM page cache was not coherent with the filesystem buffer cache
18248    like early versions of FreeBSD and possibly contemporary NetBSD.)
18249    For shared mappings, we should conversely verify that changes get
18250    propogated back to all the places they're supposed to be.
18251
18252    Grep wants private fixed already mapped.
18253    The main things grep needs to know about mmap are:
18254    * does it exist and is it safe to write into the mmap'd area
18255    * how to use it (BSD variants)  */
18256 #include <sys/types.h>
18257 #include <fcntl.h>
18258 #include <sys/mman.h>
18259
18260 /* This mess was copied from the GNU getpagesize.h.  */
18261 #ifndef HAVE_GETPAGESIZE
18262 # ifdef HAVE_UNISTD_H
18263 #  include <unistd.h>
18264 # endif
18265
18266 /* Assume that all systems that can run configure have sys/param.h.  */
18267 # ifndef HAVE_SYS_PARAM_H
18268 #  define HAVE_SYS_PARAM_H 1
18269 # endif
18270
18271 # ifdef _SC_PAGESIZE
18272 #  define getpagesize() sysconf(_SC_PAGESIZE)
18273 # else /* no _SC_PAGESIZE */
18274 #  ifdef HAVE_SYS_PARAM_H
18275 #   include <sys/param.h>
18276 #   ifdef EXEC_PAGESIZE
18277 #    define getpagesize() EXEC_PAGESIZE
18278 #   else /* no EXEC_PAGESIZE */
18279 #    ifdef NBPG
18280 #     define getpagesize() NBPG * CLSIZE
18281 #     ifndef CLSIZE
18282 #      define CLSIZE 1
18283 #     endif /* no CLSIZE */
18284 #    else /* no NBPG */
18285 #     ifdef NBPC
18286 #      define getpagesize() NBPC
18287 #     else /* no NBPC */
18288 #      ifdef PAGESIZE
18289 #       define getpagesize() PAGESIZE
18290 #      endif /* PAGESIZE */
18291 #     endif /* no NBPC */
18292 #    endif /* no NBPG */
18293 #   endif /* no EXEC_PAGESIZE */
18294 #  else /* no HAVE_SYS_PARAM_H */
18295 #   define getpagesize() 8192   /* punt totally */
18296 #  endif /* no HAVE_SYS_PARAM_H */
18297 # endif /* no _SC_PAGESIZE */
18298
18299 #endif /* no HAVE_GETPAGESIZE */
18300
18301 #ifdef __cplusplus
18302 extern "C" { void *malloc(unsigned); }
18303 #else
18304 char *malloc();
18305 #endif
18306
18307 int
18308 main()
18309 {
18310         char *data, *data2, *data3;
18311         int i, pagesize;
18312         int fd;
18313
18314         pagesize = getpagesize();
18315
18316         /*
18317          * First, make a file with some known garbage in it.
18318          */
18319         data = malloc(pagesize);
18320         if (!data)
18321                 exit(1);
18322         for (i = 0; i < pagesize; ++i)
18323                 *(data + i) = rand();
18324         umask(0);
18325         fd = creat("conftestmmap", 0600);
18326         if (fd < 0)
18327                 exit(1);
18328         if (write(fd, data, pagesize) != pagesize)
18329                 exit(1);
18330         close(fd);
18331
18332         /*
18333          * Next, try to mmap the file at a fixed address which
18334          * already has something else allocated at it.  If we can,
18335          * also make sure that we see the same garbage.
18336          */
18337         fd = open("conftestmmap", O_RDWR);
18338         if (fd < 0)
18339                 exit(1);
18340         data2 = malloc(2 * pagesize);
18341         if (!data2)
18342                 exit(1);
18343         data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18344         if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18345             MAP_PRIVATE | MAP_FIXED, fd, 0L))
18346                 exit(1);
18347         for (i = 0; i < pagesize; ++i)
18348                 if (*(data + i) != *(data2 + i))
18349                         exit(1);
18350
18351         /*
18352          * Finally, make sure that changes to the mapped area
18353          * do not percolate back to the file as seen by read().
18354          * (This is a bug on some variants of i386 svr4.0.)
18355          */
18356         for (i = 0; i < pagesize; ++i)
18357                 *(data2 + i) = *(data2 + i) + 1;
18358         data3 = malloc(pagesize);
18359         if (!data3)
18360                 exit(1);
18361         if (read(fd, data3, pagesize) != pagesize)
18362                 exit(1);
18363         for (i = 0; i < pagesize; ++i)
18364                 if (*(data + i) != *(data3 + i))
18365                         exit(1);
18366         close(fd);
18367         unlink("conftestmmap");
18368         exit(0);
18369 }
18370
18371 EOF
18372 if { (eval echo configure:18373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18373 then
18374   ac_cv_func_mmap_fixed_mapped=yes
18375 else
18376   echo "configure: failed program was:" >&5
18377   cat conftest.$ac_ext >&5
18378   rm -fr conftest*
18379   ac_cv_func_mmap_fixed_mapped=no
18380 fi
18381 rm -fr conftest*
18382 fi
18383
18384 fi
18385
18386 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18387 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18388   cat >> confdefs.h <<\EOF
18389 #define HAVE_MMAP 1
18390 EOF
18391
18392 fi
18393
18394 fi
18395
18396
18397
18398 if test "$CANADIAN" = yes; then
18399   CANADIAN_TRUE=
18400   CANADIAN_FALSE='#'
18401 else
18402   CANADIAN_TRUE='#'
18403   CANADIAN_FALSE=
18404 fi
18405
18406
18407 if test "$NULL_TARGET" = yes; then
18408   NULL_TARGET_TRUE=
18409   NULL_TARGET_FALSE='#'
18410 else
18411   NULL_TARGET_TRUE='#'
18412   NULL_TARGET_FALSE=
18413 fi
18414
18415
18416 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18417   NATIVE_TRUE=
18418   NATIVE_FALSE='#'
18419 else
18420   NATIVE_TRUE='#'
18421   NATIVE_FALSE=
18422 fi
18423
18424
18425 if test -z "$with_cross_host"; then
18426   USE_LIBDIR_TRUE=
18427   USE_LIBDIR_FALSE='#'
18428 else
18429   USE_LIBDIR_TRUE='#'
18430   USE_LIBDIR_FALSE=
18431 fi
18432
18433 if test $ac_cv_header_locale_h = yes; then
18434     echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18435 echo "configure:18436: checking for LC_MESSAGES" >&5
18436 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18437   echo $ac_n "(cached) $ac_c" 1>&6
18438 else
18439   cat > conftest.$ac_ext <<EOF
18440 #line 18441 "configure"
18441 #include "confdefs.h"
18442 #include <locale.h>
18443 int main() {
18444 return LC_MESSAGES
18445 ; return 0; }
18446 EOF
18447 if { (eval echo configure:18448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18448   rm -rf conftest*
18449   ac_cv_val_LC_MESSAGES=yes
18450 else
18451   echo "configure: failed program was:" >&5
18452   cat conftest.$ac_ext >&5
18453   rm -rf conftest*
18454   ac_cv_val_LC_MESSAGES=no
18455 fi
18456 rm -f conftest*
18457 fi
18458
18459 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18460     if test $ac_cv_val_LC_MESSAGES = yes; then
18461       cat >> confdefs.h <<\EOF
18462 #define HAVE_LC_MESSAGES 1
18463 EOF
18464
18465     fi
18466   fi
18467
18468
18469 if test "${multilib}" = "yes"; then
18470   multilib_arg="--enable-multilib"
18471 else
18472   multilib_arg=
18473 fi
18474
18475
18476 # Generate the various Makefiles, include files, and scripts.
18477
18478 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18479 # so that multilib installs will end up installed in the correct
18480 # place. To work around this not being passed down from config-ml.in
18481 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18482 # append it here.
18483
18484 trap '' 1 2 15
18485 cat > confcache <<\EOF
18486 # This file is a shell script that caches the results of configure
18487 # tests run on this system so they can be shared between configure
18488 # scripts and configure runs.  It is not useful on other systems.
18489 # If it contains results you don't want to keep, you may remove or edit it.
18490 #
18491 # By default, configure uses ./config.cache as the cache file,
18492 # creating it if it does not exist already.  You can give configure
18493 # the --cache-file=FILE option to use a different cache file; that is
18494 # what configure does when it calls configure scripts in
18495 # subdirectories, so they share the cache.
18496 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18497 # config.status only pays attention to the cache file if you give it the
18498 # --recheck option to rerun configure.
18499 #
18500 EOF
18501 # The following way of writing the cache mishandles newlines in values,
18502 # but we know of no workaround that is simple, portable, and efficient.
18503 # So, don't put newlines in cache variables' values.
18504 # Ultrix sh set writes to stderr and can't be redirected directly,
18505 # and sets the high bit in the cache file unless we assign to the vars.
18506 (set) 2>&1 |
18507   case `(ac_space=' '; set | grep ac_space) 2>&1` in
18508   *ac_space=\ *)
18509     # `set' does not quote correctly, so add quotes (double-quote substitution
18510     # turns \\\\ into \\, and sed turns \\ into \).
18511     sed -n \
18512       -e "s/'/'\\\\''/g" \
18513       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18514     ;;
18515   *)
18516     # `set' quotes correctly as required by POSIX, so do not add quotes.
18517     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18518     ;;
18519   esac >> confcache
18520 if cmp -s $cache_file confcache; then
18521   :
18522 else
18523   if test -w $cache_file; then
18524     echo "updating cache $cache_file"
18525     cat confcache > $cache_file
18526   else
18527     echo "not updating unwritable cache $cache_file"
18528   fi
18529 fi
18530 rm -f confcache
18531
18532 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18533
18534 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18535 # Let make expand exec_prefix.
18536 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18537
18538 # Any assignment to VPATH causes Sun make to only execute
18539 # the first set of double-colon rules, so remove it if not needed.
18540 # If there is a colon in the path, we need to keep it.
18541 if test "x$srcdir" = x.; then
18542   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
18543 fi
18544
18545 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18546
18547 DEFS=-DHAVE_CONFIG_H
18548
18549 # Without the "./", some shells look in PATH for config.status.
18550 : ${CONFIG_STATUS=./config.status}
18551
18552 echo creating $CONFIG_STATUS
18553 rm -f $CONFIG_STATUS
18554 cat > $CONFIG_STATUS <<EOF
18555 #! /bin/sh
18556 # Generated automatically by configure.
18557 # Run this file to recreate the current configuration.
18558 # This directory was configured as follows,
18559 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18560 #
18561 # $0 $ac_configure_args
18562 #
18563 # Compiler output produced by configure, useful for debugging
18564 # configure, is in ./config.log if it exists.
18565
18566 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18567 for ac_option
18568 do
18569   case "\$ac_option" in
18570   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18571     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18572     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18573   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18574     echo "$CONFIG_STATUS generated by autoconf version 2.13"
18575     exit 0 ;;
18576   -help | --help | --hel | --he | --h)
18577     echo "\$ac_cs_usage"; exit 0 ;;
18578   *) echo "\$ac_cs_usage"; exit 1 ;;
18579   esac
18580 done
18581
18582 ac_given_srcdir=$srcdir
18583 ac_given_INSTALL="$INSTALL"
18584
18585 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
18586 EOF
18587 cat >> $CONFIG_STATUS <<EOF
18588
18589 # Protect against being on the right side of a sed subst in config.status.
18590 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18591  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18592 $ac_vpsub
18593 $extrasub
18594 s%@SHELL@%$SHELL%g
18595 s%@CFLAGS@%$CFLAGS%g
18596 s%@CPPFLAGS@%$CPPFLAGS%g
18597 s%@CXXFLAGS@%$CXXFLAGS%g
18598 s%@FFLAGS@%$FFLAGS%g
18599 s%@DEFS@%$DEFS%g
18600 s%@LDFLAGS@%$LDFLAGS%g
18601 s%@LIBS@%$LIBS%g
18602 s%@exec_prefix@%$exec_prefix%g
18603 s%@prefix@%$prefix%g
18604 s%@program_transform_name@%$program_transform_name%g
18605 s%@bindir@%$bindir%g
18606 s%@sbindir@%$sbindir%g
18607 s%@libexecdir@%$libexecdir%g
18608 s%@datadir@%$datadir%g
18609 s%@sysconfdir@%$sysconfdir%g
18610 s%@sharedstatedir@%$sharedstatedir%g
18611 s%@localstatedir@%$localstatedir%g
18612 s%@libdir@%$libdir%g
18613 s%@includedir@%$includedir%g
18614 s%@oldincludedir@%$oldincludedir%g
18615 s%@infodir@%$infodir%g
18616 s%@mandir@%$mandir%g
18617 s%@host@%$host%g
18618 s%@host_alias@%$host_alias%g
18619 s%@host_cpu@%$host_cpu%g
18620 s%@host_vendor@%$host_vendor%g
18621 s%@host_os@%$host_os%g
18622 s%@target@%$target%g
18623 s%@target_alias@%$target_alias%g
18624 s%@target_cpu@%$target_cpu%g
18625 s%@target_vendor@%$target_vendor%g
18626 s%@target_os@%$target_os%g
18627 s%@build@%$build%g
18628 s%@build_alias@%$build_alias%g
18629 s%@build_cpu@%$build_cpu%g
18630 s%@build_vendor@%$build_vendor%g
18631 s%@build_os@%$build_os%g
18632 s%@glibcpp_basedir@%$glibcpp_basedir%g
18633 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18634 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18635 s%@INSTALL_DATA@%$INSTALL_DATA%g
18636 s%@PACKAGE@%$PACKAGE%g
18637 s%@VERSION@%$VERSION%g
18638 s%@ACLOCAL@%$ACLOCAL%g
18639 s%@AUTOCONF@%$AUTOCONF%g
18640 s%@AUTOMAKE@%$AUTOMAKE%g
18641 s%@AUTOHEADER@%$AUTOHEADER%g
18642 s%@MAKEINFO@%$MAKEINFO%g
18643 s%@SET_MAKE@%$SET_MAKE%g
18644 s%@CC@%$CC%g
18645 s%@CXX@%$CXX%g
18646 s%@AS@%$AS%g
18647 s%@AR@%$AR%g
18648 s%@RANLIB@%$RANLIB%g
18649 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18650 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18651 s%@MAINT@%$MAINT%g
18652 s%@EXEEXT@%$EXEEXT%g
18653 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
18654 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
18655 s%@LN_S@%$LN_S%g
18656 s%@OBJEXT@%$OBJEXT%g
18657 s%@STRIP@%$STRIP%g
18658 s%@LIBTOOL@%$LIBTOOL%g
18659 s%@CXXCPP@%$CXXCPP%g
18660 s%@ifGNUmake@%$ifGNUmake%g
18661 s%@CPP@%$CPP%g
18662 s%@cpu_include_dir@%$cpu_include_dir%g
18663 s%@CPU_FLAGS@%$CPU_FLAGS%g
18664 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18665 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18666 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18667 s%@GLIBCPP_NEED_XTRA_LIBIO_TRUE@%$GLIBCPP_NEED_XTRA_LIBIO_TRUE%g
18668 s%@GLIBCPP_NEED_XTRA_LIBIO_FALSE@%$GLIBCPP_NEED_XTRA_LIBIO_FALSE%g
18669 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18670 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18671 s%@CSHADOWFLAGS@%$CSHADOWFLAGS%g
18672 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18673 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18674 s%@THREADLIBS@%$THREADLIBS%g
18675 s%@THREADINCS@%$THREADINCS%g
18676 s%@THREADDEPS@%$THREADDEPS%g
18677 s%@THREADOBJS@%$THREADOBJS%g
18678 s%@THREADSPEC@%$THREADSPEC%g
18679 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18680 s%@ctype_include_dir@%$ctype_include_dir%g
18681 s%@WERROR@%$WERROR%g
18682 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
18683 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18684 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18685 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18686 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18687 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18688 s%@libinst_wstring_la@%$libinst_wstring_la%g
18689 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
18690 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
18691 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
18692 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
18693 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
18694 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
18695 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
18696 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
18697
18698 CEOF
18699 EOF
18700
18701 cat >> $CONFIG_STATUS <<\EOF
18702
18703 # Split the substitutions into bite-sized pieces for seds with
18704 # small command number limits, like on Digital OSF/1 and HP-UX.
18705 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18706 ac_file=1 # Number of current file.
18707 ac_beg=1 # First line for current file.
18708 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18709 ac_more_lines=:
18710 ac_sed_cmds=""
18711 while $ac_more_lines; do
18712   if test $ac_beg -gt 1; then
18713     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18714   else
18715     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18716   fi
18717   if test ! -s conftest.s$ac_file; then
18718     ac_more_lines=false
18719     rm -f conftest.s$ac_file
18720   else
18721     if test -z "$ac_sed_cmds"; then
18722       ac_sed_cmds="sed -f conftest.s$ac_file"
18723     else
18724       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18725     fi
18726     ac_file=`expr $ac_file + 1`
18727     ac_beg=$ac_end
18728     ac_end=`expr $ac_end + $ac_max_sed_cmds`
18729   fi
18730 done
18731 if test -z "$ac_sed_cmds"; then
18732   ac_sed_cmds=cat
18733 fi
18734 EOF
18735
18736 cat >> $CONFIG_STATUS <<EOF
18737
18738 CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
18739 EOF
18740 cat >> $CONFIG_STATUS <<\EOF
18741 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18742   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18743   case "$ac_file" in
18744   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18745        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18746   *) ac_file_in="${ac_file}.in" ;;
18747   esac
18748
18749   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18750
18751   # Remove last slash and all that follows it.  Not all systems have dirname.
18752   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18753   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18754     # The file is in a subdirectory.
18755     test ! -d "$ac_dir" && mkdir "$ac_dir"
18756     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18757     # A "../" for each directory in $ac_dir_suffix.
18758     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18759   else
18760     ac_dir_suffix= ac_dots=
18761   fi
18762
18763   case "$ac_given_srcdir" in
18764   .)  srcdir=.
18765       if test -z "$ac_dots"; then top_srcdir=.
18766       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18767   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18768   *) # Relative path.
18769     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18770     top_srcdir="$ac_dots$ac_given_srcdir" ;;
18771   esac
18772
18773   case "$ac_given_INSTALL" in
18774   [/$]*) INSTALL="$ac_given_INSTALL" ;;
18775   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18776   esac
18777
18778   echo creating "$ac_file"
18779   rm -f "$ac_file"
18780   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18781   case "$ac_file" in
18782   *Makefile*) ac_comsub="1i\\
18783 # $configure_input" ;;
18784   *) ac_comsub= ;;
18785   esac
18786
18787   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18788   sed -e "$ac_comsub
18789 s%@configure_input@%$configure_input%g
18790 s%@srcdir@%$srcdir%g
18791 s%@top_srcdir@%$top_srcdir%g
18792 s%@INSTALL@%$INSTALL%g
18793 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18794 fi; done
18795 rm -f conftest.s*
18796
18797 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18798 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18799 #
18800 # ac_d sets the value in "#define NAME VALUE" lines.
18801 ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
18802 ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
18803 ac_dC='\3'
18804 ac_dD='%g'
18805 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18806 ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
18807 ac_uB='\([      ]\)%\1#\2define\3'
18808 ac_uC=' '
18809 ac_uD='\4%g'
18810 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18811 ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
18812 ac_eB='$%\1#\2define\3'
18813 ac_eC=' '
18814 ac_eD='%g'
18815
18816 if test "${CONFIG_HEADERS+set}" != set; then
18817 EOF
18818 cat >> $CONFIG_STATUS <<EOF
18819   CONFIG_HEADERS="config.h"
18820 EOF
18821 cat >> $CONFIG_STATUS <<\EOF
18822 fi
18823 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18824   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18825   case "$ac_file" in
18826   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18827        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18828   *) ac_file_in="${ac_file}.in" ;;
18829   esac
18830
18831   echo creating $ac_file
18832
18833   rm -f conftest.frag conftest.in conftest.out
18834   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18835   cat $ac_file_inputs > conftest.in
18836
18837 EOF
18838
18839 # Transform confdefs.h into a sed script conftest.vals that substitutes
18840 # the proper values into config.h.in to produce config.h.  And first:
18841 # Protect against being on the right side of a sed subst in config.status.
18842 # Protect against being in an unquoted here document in config.status.
18843 rm -f conftest.vals
18844 cat > conftest.hdr <<\EOF
18845 s/[\\&%]/\\&/g
18846 s%[\\$`]%\\&%g
18847 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18848 s%ac_d%ac_u%gp
18849 s%ac_u%ac_e%gp
18850 EOF
18851 sed -n -f conftest.hdr confdefs.h > conftest.vals
18852 rm -f conftest.hdr
18853
18854 # This sed command replaces #undef with comments.  This is necessary, for
18855 # example, in the case of _POSIX_SOURCE, which is predefined and required
18856 # on some systems where configure will not decide to define it.
18857 cat >> conftest.vals <<\EOF
18858 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18859 EOF
18860
18861 # Break up conftest.vals because some shells have a limit on
18862 # the size of here documents, and old seds have small limits too.
18863
18864 rm -f conftest.tail
18865 while :
18866 do
18867   ac_lines=`grep -c . conftest.vals`
18868   # grep -c gives empty output for an empty file on some AIX systems.
18869   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18870   # Write a limited-size here document to conftest.frag.
18871   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18872   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18873   echo 'CEOF
18874   sed -f conftest.frag conftest.in > conftest.out
18875   rm -f conftest.in
18876   mv conftest.out conftest.in
18877 ' >> $CONFIG_STATUS
18878   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18879   rm -f conftest.vals
18880   mv conftest.tail conftest.vals
18881 done
18882 rm -f conftest.vals
18883
18884 cat >> $CONFIG_STATUS <<\EOF
18885   rm -f conftest.frag conftest.h
18886   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
18887   cat conftest.in >> conftest.h
18888   rm -f conftest.in
18889   if cmp -s $ac_file conftest.h 2>/dev/null; then
18890     echo "$ac_file is unchanged"
18891     rm -f conftest.h
18892   else
18893     # Remove last slash and all that follows it.  Not all systems have dirname.
18894       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18895       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18896       # The file is in a subdirectory.
18897       test ! -d "$ac_dir" && mkdir "$ac_dir"
18898     fi
18899     rm -f $ac_file
18900     mv conftest.h $ac_file
18901   fi
18902 fi; done
18903
18904 EOF
18905
18906 cat >> $CONFIG_STATUS <<EOF
18907 ac_sources="$CSTDIO_H $CSTDIO_CC $CCODECVT_C config/$THREADH"
18908 ac_dests="bits/c++io.h src/c++io.cc libio/c_codecvt.c bits/c++threads.h"
18909 EOF
18910
18911 cat >> $CONFIG_STATUS <<\EOF
18912 srcdir=$ac_given_srcdir
18913 while test -n "$ac_sources"; do
18914   set $ac_dests; ac_dest=$1; shift; ac_dests=$*
18915   set $ac_sources; ac_source=$1; shift; ac_sources=$*
18916
18917   echo "linking $srcdir/$ac_source to $ac_dest"
18918
18919   if test ! -r $srcdir/$ac_source; then
18920     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
18921   fi
18922   rm -f $ac_dest
18923
18924   # Make relative symlinks.
18925   # Remove last slash and all that follows it.  Not all systems have dirname.
18926   ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
18927   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
18928     # The dest file is in a subdirectory.
18929     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
18930     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
18931     # A "../" for each directory in $ac_dest_dir_suffix.
18932     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
18933   else
18934     ac_dest_dir_suffix= ac_dots=
18935   fi
18936
18937   case "$srcdir" in
18938   [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
18939   *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
18940   esac
18941
18942   # Make a symlink if possible; otherwise try a hard link.
18943   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
18944     ln $srcdir/$ac_source $ac_dest; then :
18945   else
18946     { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
18947   fi
18948 done
18949 EOF
18950 cat >> $CONFIG_STATUS <<EOF
18951
18952 srcdir=${srcdir}
18953 host=${host}
18954 target=${target}
18955 with_multisubdir=${with_multisubdir}
18956 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18957 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18958 glibcpp_basedir=${glibcpp_basedir}
18959 CC="${CC}"
18960 CXX="${CXX}"
18961
18962 EOF
18963 cat >> $CONFIG_STATUS <<\EOF
18964 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
18965 if test -n "$CONFIG_FILES"; then
18966   ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
18967   grep '^MULTISUBDIR =' Makefile >> src/Makefile
18968 fi
18969 exit 0
18970 EOF
18971 chmod +x $CONFIG_STATUS
18972 rm -fr confdefs* $ac_clean_files
18973 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18974
18975
18976
18977 blddir=`pwd`
18978 # Generate bits/c++config.h
18979 # NB: This must be the first generated file as others include it. . .
18980
18981
18982 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
18983
18984
18985
18986 # Sanity checking & User-visible messages.
18987 # Checks down here, otherwise they get scrolled off before
18988 # the user will notice.
18989 if test "$enable_namespaces" = "yes" && test "$enable_libgcc_rebuild" = "no"
18990 then
18991   echo "configure: warning: libgcc.a will not match mangled symbols unless it is rebuilt" 1>&2
18992 fi
18993 if test "$enable_namespaces" = "no" && test "$enable_libgcc_rebuild" != "no"
18994 then
18995   # Other things besides namespaces can make this true as well, but none
18996   # of them are done automatically... yet
18997   echo "configure: warning: no point in rebuilding libgcc.a if namespaces aren't used" 1>&2
18998 fi
18999
19000 # Trying to get more people to read documentation.  Possibly remove
19001 # check and warn all the time. There is no "informational" AC_MSG_
19002 # macro, so these are going to be printed even when --quiet/--silent
19003 # is given.
19004 if test ! -f stamp-sanity-warned; then
19005   touch stamp-sanity-warned
19006   echo ""
19007   echo "Please make certain that you read the installation information here:"
19008   echo "  faster => ${srcdir}/docs/install.html"
19009   echo "  slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
19010   echo ""
19011   echo "and the configuration information here:"
19012   echo "  faster => ${srcdir}/docs/configopts.html"
19013   echo "  slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
19014   echo ""
19015   echo "before proceeding with ${_cv_gnu_make_command}."
19016   echo ""
19017 fi
19018
19019
19020 $srcdir/mkc++config $blddir $srcdir
19021 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
19022
19023