36edb196d42b752ce48c443e235c525b45639013
[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 ac_help="$ac_help
53 --with-gxx-include-dir the installation directory for include files"
54 ac_help="$ac_help
55 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
56
57 # Initialize some variables set by options.
58 # The variables have the same names as the options, with
59 # dashes changed to underlines.
60 build=NONE
61 cache_file=./config.cache
62 exec_prefix=NONE
63 host=NONE
64 no_create=
65 nonopt=NONE
66 no_recursion=
67 prefix=NONE
68 program_prefix=NONE
69 program_suffix=NONE
70 program_transform_name=s,x,x,
71 silent=
72 site=
73 srcdir=
74 target=NONE
75 verbose=
76 x_includes=NONE
77 x_libraries=NONE
78 bindir='${exec_prefix}/bin'
79 sbindir='${exec_prefix}/sbin'
80 libexecdir='${exec_prefix}/libexec'
81 datadir='${prefix}/share'
82 sysconfdir='${prefix}/etc'
83 sharedstatedir='${prefix}/com'
84 localstatedir='${prefix}/var'
85 libdir='${exec_prefix}/lib'
86 includedir='${prefix}/include'
87 oldincludedir='/usr/include'
88 infodir='${prefix}/info'
89 mandir='${prefix}/man'
90
91 # Initialize some other variables.
92 subdirs=
93 MFLAGS= MAKEFLAGS=
94 SHELL=${CONFIG_SHELL-/bin/sh}
95 # Maximum number of lines to put in a shell here document.
96 ac_max_here_lines=12
97
98 ac_prev=
99 for ac_option
100 do
101
102 # If the previous option needs an argument, assign it.
103 if test -n "$ac_prev"; then
104 eval "$ac_prev=\$ac_option"
105 ac_prev=
106 continue
107 fi
108
109 case "$ac_option" in
110 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
111 *) ac_optarg= ;;
112 esac
113
114 # Accept the important Cygnus configure options, so we can diagnose typos.
115
116 case "$ac_option" in
117
118 -bindir | --bindir | --bindi | --bind | --bin | --bi)
119 ac_prev=bindir ;;
120 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
121 bindir="$ac_optarg" ;;
122
123 -build | --build | --buil | --bui | --bu)
124 ac_prev=build ;;
125 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
126 build="$ac_optarg" ;;
127
128 -cache-file | --cache-file | --cache-fil | --cache-fi \
129 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
130 ac_prev=cache_file ;;
131 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
132 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
133 cache_file="$ac_optarg" ;;
134
135 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
136 ac_prev=datadir ;;
137 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
138 | --da=*)
139 datadir="$ac_optarg" ;;
140
141 -disable-* | --disable-*)
142 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
143 # Reject names that are not valid shell variable names.
144 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
145 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
146 fi
147 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
148 eval "enable_${ac_feature}=no" ;;
149
150 -enable-* | --enable-*)
151 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
152 # Reject names that are not valid shell variable names.
153 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
154 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
155 fi
156 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
157 case "$ac_option" in
158 *=*) ;;
159 *) ac_optarg=yes ;;
160 esac
161 eval "enable_${ac_feature}='$ac_optarg'" ;;
162
163 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
164 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
165 | --exec | --exe | --ex)
166 ac_prev=exec_prefix ;;
167 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
168 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
169 | --exec=* | --exe=* | --ex=*)
170 exec_prefix="$ac_optarg" ;;
171
172 -gas | --gas | --ga | --g)
173 # Obsolete; use --with-gas.
174 with_gas=yes ;;
175
176 -help | --help | --hel | --he)
177 # Omit some internal or obsolete options to make the list less imposing.
178 # This message is too long to be a string in the A/UX 3.1 sh.
179 cat << EOF
180 Usage: configure [options] [host]
181 Options: [defaults in brackets after descriptions]
182 Configuration:
183 --cache-file=FILE cache test results in FILE
184 --help print this message
185 --no-create do not create output files
186 --quiet, --silent do not print \`checking...' messages
187 --version print the version of autoconf that created configure
188 Directory and file names:
189 --prefix=PREFIX install architecture-independent files in PREFIX
190 [$ac_default_prefix]
191 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
192 [same as prefix]
193 --bindir=DIR user executables in DIR [EPREFIX/bin]
194 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
195 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
196 --datadir=DIR read-only architecture-independent data in DIR
197 [PREFIX/share]
198 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
199 --sharedstatedir=DIR modifiable architecture-independent data in DIR
200 [PREFIX/com]
201 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
202 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
203 --includedir=DIR C header files in DIR [PREFIX/include]
204 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
205 --infodir=DIR info documentation in DIR [PREFIX/info]
206 --mandir=DIR man documentation in DIR [PREFIX/man]
207 --srcdir=DIR find the sources in DIR [configure dir or ..]
208 --program-prefix=PREFIX prepend PREFIX to installed program names
209 --program-suffix=SUFFIX append SUFFIX to installed program names
210 --program-transform-name=PROGRAM
211 run sed PROGRAM on installed program names
212 EOF
213 cat << EOF
214 Host type:
215 --build=BUILD configure for building on BUILD [BUILD=HOST]
216 --host=HOST configure for HOST [guessed]
217 --target=TARGET configure for TARGET [TARGET=HOST]
218 Features and packages:
219 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
220 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
221 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
222 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
223 --x-includes=DIR X include files are in DIR
224 --x-libraries=DIR X library files are in DIR
225 EOF
226 if test -n "$ac_help"; then
227 echo "--enable and --with options recognized:$ac_help"
228 fi
229 exit 0 ;;
230
231 -host | --host | --hos | --ho)
232 ac_prev=host ;;
233 -host=* | --host=* | --hos=* | --ho=*)
234 host="$ac_optarg" ;;
235
236 -includedir | --includedir | --includedi | --included | --include \
237 | --includ | --inclu | --incl | --inc)
238 ac_prev=includedir ;;
239 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
240 | --includ=* | --inclu=* | --incl=* | --inc=*)
241 includedir="$ac_optarg" ;;
242
243 -infodir | --infodir | --infodi | --infod | --info | --inf)
244 ac_prev=infodir ;;
245 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
246 infodir="$ac_optarg" ;;
247
248 -libdir | --libdir | --libdi | --libd)
249 ac_prev=libdir ;;
250 -libdir=* | --libdir=* | --libdi=* | --libd=*)
251 libdir="$ac_optarg" ;;
252
253 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
254 | --libexe | --libex | --libe)
255 ac_prev=libexecdir ;;
256 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
257 | --libexe=* | --libex=* | --libe=*)
258 libexecdir="$ac_optarg" ;;
259
260 -localstatedir | --localstatedir | --localstatedi | --localstated \
261 | --localstate | --localstat | --localsta | --localst \
262 | --locals | --local | --loca | --loc | --lo)
263 ac_prev=localstatedir ;;
264 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
265 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
266 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
267 localstatedir="$ac_optarg" ;;
268
269 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
270 ac_prev=mandir ;;
271 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
272 mandir="$ac_optarg" ;;
273
274 -nfp | --nfp | --nf)
275 # Obsolete; use --without-fp.
276 with_fp=no ;;
277
278 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
279 | --no-cr | --no-c)
280 no_create=yes ;;
281
282 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
283 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
284 no_recursion=yes ;;
285
286 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
287 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
288 | --oldin | --oldi | --old | --ol | --o)
289 ac_prev=oldincludedir ;;
290 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
291 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
292 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
293 oldincludedir="$ac_optarg" ;;
294
295 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
296 ac_prev=prefix ;;
297 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
298 prefix="$ac_optarg" ;;
299
300 -program-prefix | --program-prefix | --program-prefi | --program-pref \
301 | --program-pre | --program-pr | --program-p)
302 ac_prev=program_prefix ;;
303 -program-prefix=* | --program-prefix=* | --program-prefi=* \
304 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
305 program_prefix="$ac_optarg" ;;
306
307 -program-suffix | --program-suffix | --program-suffi | --program-suff \
308 | --program-suf | --program-su | --program-s)
309 ac_prev=program_suffix ;;
310 -program-suffix=* | --program-suffix=* | --program-suffi=* \
311 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
312 program_suffix="$ac_optarg" ;;
313
314 -program-transform-name | --program-transform-name \
315 | --program-transform-nam | --program-transform-na \
316 | --program-transform-n | --program-transform- \
317 | --program-transform | --program-transfor \
318 | --program-transfo | --program-transf \
319 | --program-trans | --program-tran \
320 | --progr-tra | --program-tr | --program-t)
321 ac_prev=program_transform_name ;;
322 -program-transform-name=* | --program-transform-name=* \
323 | --program-transform-nam=* | --program-transform-na=* \
324 | --program-transform-n=* | --program-transform-=* \
325 | --program-transform=* | --program-transfor=* \
326 | --program-transfo=* | --program-transf=* \
327 | --program-trans=* | --program-tran=* \
328 | --progr-tra=* | --program-tr=* | --program-t=*)
329 program_transform_name="$ac_optarg" ;;
330
331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
332 | -silent | --silent | --silen | --sile | --sil)
333 silent=yes ;;
334
335 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
336 ac_prev=sbindir ;;
337 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
338 | --sbi=* | --sb=*)
339 sbindir="$ac_optarg" ;;
340
341 -sharedstatedir | --sharedstatedir | --sharedstatedi \
342 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
343 | --sharedst | --shareds | --shared | --share | --shar \
344 | --sha | --sh)
345 ac_prev=sharedstatedir ;;
346 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
347 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
348 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
349 | --sha=* | --sh=*)
350 sharedstatedir="$ac_optarg" ;;
351
352 -site | --site | --sit)
353 ac_prev=site ;;
354 -site=* | --site=* | --sit=*)
355 site="$ac_optarg" ;;
356
357 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
358 ac_prev=srcdir ;;
359 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
360 srcdir="$ac_optarg" ;;
361
362 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
363 | --syscon | --sysco | --sysc | --sys | --sy)
364 ac_prev=sysconfdir ;;
365 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
366 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
367 sysconfdir="$ac_optarg" ;;
368
369 -target | --target | --targe | --targ | --tar | --ta | --t)
370 ac_prev=target ;;
371 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
372 target="$ac_optarg" ;;
373
374 -v | -verbose | --verbose | --verbos | --verbo | --verb)
375 verbose=yes ;;
376
377 -version | --version | --versio | --versi | --vers)
378 echo "configure generated by autoconf version 2.13"
379 exit 0 ;;
380
381 -with-* | --with-*)
382 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
383 # Reject names that are not valid shell variable names.
384 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
385 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
386 fi
387 ac_package=`echo $ac_package| sed 's/-/_/g'`
388 case "$ac_option" in
389 *=*) ;;
390 *) ac_optarg=yes ;;
391 esac
392 eval "with_${ac_package}='$ac_optarg'" ;;
393
394 -without-* | --without-*)
395 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
396 # Reject names that are not valid shell variable names.
397 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
398 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
399 fi
400 ac_package=`echo $ac_package| sed 's/-/_/g'`
401 eval "with_${ac_package}=no" ;;
402
403 --x)
404 # Obsolete; use --with-x.
405 with_x=yes ;;
406
407 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
408 | --x-incl | --x-inc | --x-in | --x-i)
409 ac_prev=x_includes ;;
410 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
411 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
412 x_includes="$ac_optarg" ;;
413
414 -x-libraries | --x-libraries | --x-librarie | --x-librari \
415 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
416 ac_prev=x_libraries ;;
417 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
418 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
419 x_libraries="$ac_optarg" ;;
420
421 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
422 ;;
423
424 *)
425 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
426 echo "configure: warning: $ac_option: invalid host type" 1>&2
427 fi
428 if test "x$nonopt" != xNONE; then
429 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
430 fi
431 nonopt="$ac_option"
432 ;;
433
434 esac
435 done
436
437 if test -n "$ac_prev"; then
438 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
439 fi
440
441 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
442
443 # File descriptor usage:
444 # 0 standard input
445 # 1 file creation
446 # 2 errors and warnings
447 # 3 some systems may open it to /dev/tty
448 # 4 used on the Kubota Titan
449 # 6 checking for... messages and results
450 # 5 compiler messages saved in config.log
451 if test "$silent" = yes; then
452 exec 6>/dev/null
453 else
454 exec 6>&1
455 fi
456 exec 5>./config.log
457
458 echo "\
459 This file contains any messages produced by compilers while
460 running configure, to aid debugging if configure makes a mistake.
461 " 1>&5
462
463 # Strip out --no-create and --no-recursion so they do not pile up.
464 # Also quote any args containing shell metacharacters.
465 ac_configure_args=
466 for ac_arg
467 do
468 case "$ac_arg" in
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c) ;;
471 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
472 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
473 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
474 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
475 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
476 esac
477 done
478
479 # NLS nuisances.
480 # Only set these to C if already set. These must not be set unconditionally
481 # because not all systems understand e.g. LANG=C (notably SCO).
482 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
483 # Non-C LC_CTYPE values break the ctype check.
484 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
485 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
486 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
487 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
488
489 # confdefs.h avoids OS command line length limits that DEFS can exceed.
490 rm -rf conftest* confdefs.h
491 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
492 echo > confdefs.h
493
494 # A filename unique to this package, relative to the directory that
495 # configure is in, which we can look for to find out if srcdir is correct.
496 ac_unique_file=src/complex.cc
497
498 # Find the source files, if location was not specified.
499 if test -z "$srcdir"; then
500 ac_srcdir_defaulted=yes
501 # Try the directory containing this script, then its parent.
502 ac_prog=$0
503 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
504 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
505 srcdir=$ac_confdir
506 if test ! -r $srcdir/$ac_unique_file; then
507 srcdir=..
508 fi
509 else
510 ac_srcdir_defaulted=no
511 fi
512 if test ! -r $srcdir/$ac_unique_file; then
513 if test "$ac_srcdir_defaulted" = yes; then
514 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
515 else
516 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
517 fi
518 fi
519 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
520
521 # Prefer explicitly selected file to automatically selected ones.
522 if test -z "$CONFIG_SITE"; then
523 if test "x$prefix" != xNONE; then
524 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
525 else
526 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
527 fi
528 fi
529 for ac_site_file in $CONFIG_SITE; do
530 if test -r "$ac_site_file"; then
531 echo "loading site script $ac_site_file"
532 . "$ac_site_file"
533 fi
534 done
535
536 if test -r "$cache_file"; then
537 echo "loading cache $cache_file"
538 . $cache_file
539 else
540 echo "creating cache $cache_file"
541 > $cache_file
542 fi
543
544 ac_ext=c
545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
546 ac_cpp='$CPP $CPPFLAGS'
547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
549 cross_compiling=$ac_cv_prog_cc_cross
550
551 ac_exeext=
552 ac_objext=o
553 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
554 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
555 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
556 ac_n= ac_c='
557 ' ac_t=' '
558 else
559 ac_n=-n ac_c= ac_t=
560 fi
561 else
562 ac_n= ac_c='\c' ac_t=
563 fi
564
565
566 ac_aux_dir=
567 for ac_dir in .. $srcdir/..; do
568 if 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 elif test -f $ac_dir/install.sh; then
573 ac_aux_dir=$ac_dir
574 ac_install_sh="$ac_aux_dir/install.sh -c"
575 break
576 fi
577 done
578 if test -z "$ac_aux_dir"; then
579 { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
580 fi
581 ac_config_guess=$ac_aux_dir/config.guess
582 ac_config_sub=$ac_aux_dir/config.sub
583 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
584
585
586 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
587
588 # Do some error checking and defaulting for the host and target type.
589 # The inputs are:
590 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
591 #
592 # The rules are:
593 # 1. You are not allowed to specify --host, --target, and nonopt at the
594 # same time.
595 # 2. Host defaults to nonopt.
596 # 3. If nonopt is not specified, then host defaults to the current host,
597 # as determined by config.guess.
598 # 4. Target and build default to nonopt.
599 # 5. If nonopt is not specified, then target and build default to host.
600
601 # The aliases save the names the user supplied, while $host etc.
602 # will get canonicalized.
603 case $host---$target---$nonopt in
604 NONE---*---* | *---NONE---* | *---*---NONE) ;;
605 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
606 esac
607
608
609 # Make sure we can run config.sub.
610 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
611 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
612 fi
613
614 echo $ac_n "checking host system type""... $ac_c" 1>&6
615 echo "configure:616: checking host system type" >&5
616
617 host_alias=$host
618 case "$host_alias" in
619 NONE)
620 case $nonopt in
621 NONE)
622 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
623 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
624 fi ;;
625 *) host_alias=$nonopt ;;
626 esac ;;
627 esac
628
629 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
630 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
631 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
632 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
633 echo "$ac_t""$host" 1>&6
634
635 echo $ac_n "checking target system type""... $ac_c" 1>&6
636 echo "configure:637: checking target system type" >&5
637
638 target_alias=$target
639 case "$target_alias" in
640 NONE)
641 case $nonopt in
642 NONE) target_alias=$host_alias ;;
643 *) target_alias=$nonopt ;;
644 esac ;;
645 esac
646
647 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
648 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
649 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
650 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
651 echo "$ac_t""$target" 1>&6
652
653 echo $ac_n "checking build system type""... $ac_c" 1>&6
654 echo "configure:655: checking build system type" >&5
655
656 build_alias=$build
657 case "$build_alias" in
658 NONE)
659 case $nonopt in
660 NONE) build_alias=$host_alias ;;
661 *) build_alias=$nonopt ;;
662 esac ;;
663 esac
664
665 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
666 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
667 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
668 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
669 echo "$ac_t""$build" 1>&6
670
671 test "$host_alias" != "$target_alias" &&
672 test "$program_prefix$program_suffix$program_transform_name" = \
673 NONENONEs,x,x, &&
674 program_prefix=${target_alias}-
675
676
677 # We use these options to decide which functions to include.
678 # Check whether --with-target-subdir or --without-target-subdir was given.
679 if test "${with_target_subdir+set}" = set; then
680 withval="$with_target_subdir"
681 :
682 fi
683
684 # Check whether --with-cross-host or --without-cross-host was given.
685 if test "${with_cross_host+set}" = set; then
686 withval="$with_cross_host"
687 :
688 fi
689
690
691 # Find a good install program. We prefer a C program (faster),
692 # so one script is as good as another. But avoid the broken or
693 # incompatible versions:
694 # SysV /etc/install, /usr/sbin/install
695 # SunOS /usr/etc/install
696 # IRIX /sbin/install
697 # AIX /bin/install
698 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
699 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
700 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
701 # ./install, which can be erroneously created by make from ./install.sh.
702 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
703 echo "configure:704: checking for a BSD compatible install" >&5
704 if test -z "$INSTALL"; then
705 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
706 echo $ac_n "(cached) $ac_c" 1>&6
707 else
708 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
709 for ac_dir in $PATH; do
710 # Account for people who put trailing slashes in PATH elements.
711 case "$ac_dir/" in
712 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
713 *)
714 # OSF1 and SCO ODT 3.0 have their own names for install.
715 # Don't use installbsd from OSF since it installs stuff as root
716 # by default.
717 for ac_prog in ginstall scoinst install; do
718 if test -f $ac_dir/$ac_prog; then
719 if test $ac_prog = install &&
720 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
721 # AIX install. It has an incompatible calling convention.
722 :
723 else
724 ac_cv_path_install="$ac_dir/$ac_prog -c"
725 break 2
726 fi
727 fi
728 done
729 ;;
730 esac
731 done
732 IFS="$ac_save_IFS"
733
734 fi
735 if test "${ac_cv_path_install+set}" = set; then
736 INSTALL="$ac_cv_path_install"
737 else
738 # As a last resort, use the slow shell script. We don't cache a
739 # path for INSTALL within a source directory, because that will
740 # break other packages using the cache if that directory is
741 # removed, or if the path is relative.
742 INSTALL="$ac_install_sh"
743 fi
744 fi
745 echo "$ac_t""$INSTALL" 1>&6
746
747 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
748 # It thinks the first close brace ends the variable substitution.
749 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
750
751 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
752
753 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
754
755 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
756 echo "configure:757: checking whether build environment is sane" >&5
757 # Just in case
758 sleep 1
759 echo timestamp > conftestfile
760 # Do `set' in a subshell so we don't clobber the current shell's
761 # arguments. Must try -L first in case configure is actually a
762 # symlink; some systems play weird games with the mod time of symlinks
763 # (eg FreeBSD returns the mod time of the symlink's containing
764 # directory).
765 if (
766 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
767 if test "$*" = "X"; then
768 # -L didn't work.
769 set X `ls -t $srcdir/configure conftestfile`
770 fi
771 if test "$*" != "X $srcdir/configure conftestfile" \
772 && test "$*" != "X conftestfile $srcdir/configure"; then
773
774 # If neither matched, then we have a broken ls. This can happen
775 # if, for instance, CONFIG_SHELL is bash and it inherits a
776 # broken ls alias from the environment. This has actually
777 # happened. Such a system could not be considered "sane".
778 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
779 alias in your environment" 1>&2; exit 1; }
780 fi
781
782 test "$2" = conftestfile
783 )
784 then
785 # Ok.
786 :
787 else
788 { echo "configure: error: newly created file is older than distributed files!
789 Check your system clock" 1>&2; exit 1; }
790 fi
791 rm -f conftest*
792 echo "$ac_t""yes" 1>&6
793 if test "$program_transform_name" = s,x,x,; then
794 program_transform_name=
795 else
796 # Double any \ or $. echo might interpret backslashes.
797 cat <<\EOF_SED > conftestsed
798 s,\\,\\\\,g; s,\$,$$,g
799 EOF_SED
800 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
801 rm -f conftestsed
802 fi
803 test "$program_prefix" != NONE &&
804 program_transform_name="s,^,${program_prefix},; $program_transform_name"
805 # Use a double $ so make ignores it.
806 test "$program_suffix" != NONE &&
807 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
808
809 # sed with no file args requires a program.
810 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
811
812 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
813 echo "configure:814: checking whether ${MAKE-make} sets \${MAKE}" >&5
814 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
815 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
816 echo $ac_n "(cached) $ac_c" 1>&6
817 else
818 cat > conftestmake <<\EOF
819 all:
820 @echo 'ac_maketemp="${MAKE}"'
821 EOF
822 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
823 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
824 if test -n "$ac_maketemp"; then
825 eval ac_cv_prog_make_${ac_make}_set=yes
826 else
827 eval ac_cv_prog_make_${ac_make}_set=no
828 fi
829 rm -f conftestmake
830 fi
831 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
832 echo "$ac_t""yes" 1>&6
833 SET_MAKE=
834 else
835 echo "$ac_t""no" 1>&6
836 SET_MAKE="MAKE=${MAKE-make}"
837 fi
838
839 if test $host != $build; then
840 ac_tool_prefix=${host_alias}-
841 else
842 ac_tool_prefix=
843 fi
844
845 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
846 echo "configure:847: checking for Cygwin environment" >&5
847 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
848 echo $ac_n "(cached) $ac_c" 1>&6
849 else
850 cat > conftest.$ac_ext <<EOF
851 #line 852 "configure"
852 #include "confdefs.h"
853
854 int main() {
855
856 #ifndef __CYGWIN__
857 #define __CYGWIN__ __CYGWIN32__
858 #endif
859 return __CYGWIN__;
860 ; return 0; }
861 EOF
862 if { (eval echo configure:863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
863 rm -rf conftest*
864 ac_cv_cygwin=yes
865 else
866 echo "configure: failed program was:" >&5
867 cat conftest.$ac_ext >&5
868 rm -rf conftest*
869 ac_cv_cygwin=no
870 fi
871 rm -f conftest*
872 rm -f conftest*
873 fi
874
875 echo "$ac_t""$ac_cv_cygwin" 1>&6
876 CYGWIN=
877 test "$ac_cv_cygwin" = yes && CYGWIN=yes
878 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
879 echo "configure:880: checking for mingw32 environment" >&5
880 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
881 echo $ac_n "(cached) $ac_c" 1>&6
882 else
883 cat > conftest.$ac_ext <<EOF
884 #line 885 "configure"
885 #include "confdefs.h"
886
887 int main() {
888 return __MINGW32__;
889 ; return 0; }
890 EOF
891 if { (eval echo configure:892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
892 rm -rf conftest*
893 ac_cv_mingw32=yes
894 else
895 echo "configure: failed program was:" >&5
896 cat conftest.$ac_ext >&5
897 rm -rf conftest*
898 ac_cv_mingw32=no
899 fi
900 rm -f conftest*
901 rm -f conftest*
902 fi
903
904 echo "$ac_t""$ac_cv_mingw32" 1>&6
905 MINGW32=
906 test "$ac_cv_mingw32" = yes && MINGW32=yes
907
908 # Check whether --enable-multilib or --disable-multilib was given.
909 if test "${enable_multilib+set}" = set; then
910 enableval="$enable_multilib"
911 case "${enableval}" in
912 yes) multilib=yes ;;
913 no) multilib=no ;;
914 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
915 esac
916 else
917 multilib=yes
918 fi
919
920 if test "${srcdir}" = "."; then
921 if test "${with_target_subdir}" != "."; then
922 glibcpp_basedir="${srcdir}/${with_multisrctop}../."
923 else
924 glibcpp_basedir="${srcdir}/${with_multisrctop}."
925 fi
926 else
927 glibcpp_basedir="${srcdir}/."
928 fi
929
930
931
932 PACKAGE=libstdc++
933
934 VERSION=2.90.8
935
936 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
937 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
938 fi
939 cat >> confdefs.h <<EOF
940 #define PACKAGE "$PACKAGE"
941 EOF
942
943 cat >> confdefs.h <<EOF
944 #define VERSION "$VERSION"
945 EOF
946
947
948
949 missing_dir=`cd $ac_aux_dir && pwd`
950 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
951 echo "configure:952: checking for working aclocal" >&5
952 # Run test in a subshell; some versions of sh will print an error if
953 # an executable is not found, even if stderr is redirected.
954 # Redirect stdin to placate older versions of autoconf. Sigh.
955 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
956 ACLOCAL=aclocal
957 echo "$ac_t""found" 1>&6
958 else
959 ACLOCAL="$missing_dir/missing aclocal"
960 echo "$ac_t""missing" 1>&6
961 fi
962
963 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
964 echo "configure:965: checking for working autoconf" >&5
965 # Run test in a subshell; some versions of sh will print an error if
966 # an executable is not found, even if stderr is redirected.
967 # Redirect stdin to placate older versions of autoconf. Sigh.
968 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
969 AUTOCONF=autoconf
970 echo "$ac_t""found" 1>&6
971 else
972 AUTOCONF="$missing_dir/missing autoconf"
973 echo "$ac_t""missing" 1>&6
974 fi
975
976 echo $ac_n "checking for working automake""... $ac_c" 1>&6
977 echo "configure:978: checking for working automake" >&5
978 # Run test in a subshell; some versions of sh will print an error if
979 # an executable is not found, even if stderr is redirected.
980 # Redirect stdin to placate older versions of autoconf. Sigh.
981 if (automake --version) < /dev/null > /dev/null 2>&1; then
982 AUTOMAKE=automake
983 echo "$ac_t""found" 1>&6
984 else
985 AUTOMAKE="$missing_dir/missing automake"
986 echo "$ac_t""missing" 1>&6
987 fi
988
989 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
990 echo "configure:991: checking for working autoheader" >&5
991 # Run test in a subshell; some versions of sh will print an error if
992 # an executable is not found, even if stderr is redirected.
993 # Redirect stdin to placate older versions of autoconf. Sigh.
994 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
995 AUTOHEADER=autoheader
996 echo "$ac_t""found" 1>&6
997 else
998 AUTOHEADER="$missing_dir/missing autoheader"
999 echo "$ac_t""missing" 1>&6
1000 fi
1001
1002 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1003 echo "configure:1004: checking for working makeinfo" >&5
1004 # Run test in a subshell; some versions of sh will print an error if
1005 # an executable is not found, even if stderr is redirected.
1006 # Redirect stdin to placate older versions of autoconf. Sigh.
1007 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1008 MAKEINFO=makeinfo
1009 echo "$ac_t""found" 1>&6
1010 else
1011 MAKEINFO="$missing_dir/missing makeinfo"
1012 echo "$ac_t""missing" 1>&6
1013 fi
1014
1015
1016
1017 # Never versions of autoconf add an underscore to these functions.
1018 # Prevent future problems ...
1019
1020
1021
1022
1023
1024 # AC_PROG_CC
1025
1026 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1027 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1028 # are probably using a cross compiler, which will not be able to fully
1029 # link an executable. This should really be fixed in autoconf
1030 # itself.
1031
1032
1033
1034
1035 # Extract the first word of "gcc", so it can be a program name with args.
1036 set dummy gcc; ac_word=$2
1037 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1038 echo "configure:1039: checking for $ac_word" >&5
1039 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1040 echo $ac_n "(cached) $ac_c" 1>&6
1041 else
1042 if test -n "$CC"; then
1043 ac_cv_prog_CC="$CC" # Let the user override the test.
1044 else
1045 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1046 ac_dummy="$PATH"
1047 for ac_dir in $ac_dummy; do
1048 test -z "$ac_dir" && ac_dir=.
1049 if test -f $ac_dir/$ac_word; then
1050 ac_cv_prog_CC="gcc"
1051 break
1052 fi
1053 done
1054 IFS="$ac_save_ifs"
1055 fi
1056 fi
1057 CC="$ac_cv_prog_CC"
1058 if test -n "$CC"; then
1059 echo "$ac_t""$CC" 1>&6
1060 else
1061 echo "$ac_t""no" 1>&6
1062 fi
1063
1064 if test -z "$CC"; then
1065 # Extract the first word of "cc", so it can be a program name with args.
1066 set dummy cc; ac_word=$2
1067 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1068 echo "configure:1069: checking for $ac_word" >&5
1069 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1070 echo $ac_n "(cached) $ac_c" 1>&6
1071 else
1072 if test -n "$CC"; then
1073 ac_cv_prog_CC="$CC" # Let the user override the test.
1074 else
1075 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1076 ac_prog_rejected=no
1077 ac_dummy="$PATH"
1078 for ac_dir in $ac_dummy; do
1079 test -z "$ac_dir" && ac_dir=.
1080 if test -f $ac_dir/$ac_word; then
1081 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1082 ac_prog_rejected=yes
1083 continue
1084 fi
1085 ac_cv_prog_CC="cc"
1086 break
1087 fi
1088 done
1089 IFS="$ac_save_ifs"
1090 if test $ac_prog_rejected = yes; then
1091 # We found a bogon in the path, so make sure we never use it.
1092 set dummy $ac_cv_prog_CC
1093 shift
1094 if test $# -gt 0; then
1095 # We chose a different compiler from the bogus one.
1096 # However, it has the same basename, so the bogon will be chosen
1097 # first if we set CC to just the basename; use the full file name.
1098 shift
1099 set dummy "$ac_dir/$ac_word" "$@"
1100 shift
1101 ac_cv_prog_CC="$@"
1102 fi
1103 fi
1104 fi
1105 fi
1106 CC="$ac_cv_prog_CC"
1107 if test -n "$CC"; then
1108 echo "$ac_t""$CC" 1>&6
1109 else
1110 echo "$ac_t""no" 1>&6
1111 fi
1112
1113 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1114 fi
1115
1116 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1117 echo "configure:1118: checking whether we are using GNU C" >&5
1118 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1119 echo $ac_n "(cached) $ac_c" 1>&6
1120 else
1121 cat > conftest.c <<EOF
1122 #ifdef __GNUC__
1123 yes;
1124 #endif
1125 EOF
1126 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1127 ac_cv_prog_gcc=yes
1128 else
1129 ac_cv_prog_gcc=no
1130 fi
1131 fi
1132
1133 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1134
1135 if test $ac_cv_prog_gcc = yes; then
1136 GCC=yes
1137 ac_test_CFLAGS="${CFLAGS+set}"
1138 ac_save_CFLAGS="$CFLAGS"
1139 CFLAGS=
1140 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1141 echo "configure:1142: checking whether ${CC-cc} accepts -g" >&5
1142 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1143 echo $ac_n "(cached) $ac_c" 1>&6
1144 else
1145 echo 'void f(){}' > conftest.c
1146 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1147 ac_cv_prog_cc_g=yes
1148 else
1149 ac_cv_prog_cc_g=no
1150 fi
1151 rm -f conftest*
1152
1153 fi
1154
1155 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1156 if test "$ac_test_CFLAGS" = set; then
1157 CFLAGS="$ac_save_CFLAGS"
1158 elif test $ac_cv_prog_cc_g = yes; then
1159 CFLAGS="-g -O2"
1160 else
1161 CFLAGS="-O2"
1162 fi
1163 else
1164 GCC=
1165 test "${CFLAGS+set}" = set || CFLAGS="-g"
1166 fi
1167
1168
1169 # Can't just call these here as g++ requires libstc++ to be built....
1170 # AC_PROG_CXX
1171
1172 # Likewise for AC_PROG_CXX.
1173
1174
1175
1176 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1177 do
1178 # Extract the first word of "$ac_prog", so it can be a program name with args.
1179 set dummy $ac_prog; ac_word=$2
1180 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1181 echo "configure:1182: checking for $ac_word" >&5
1182 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1183 echo $ac_n "(cached) $ac_c" 1>&6
1184 else
1185 if test -n "$CXX"; then
1186 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1187 else
1188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1189 ac_dummy="$PATH"
1190 for ac_dir in $ac_dummy; do
1191 test -z "$ac_dir" && ac_dir=.
1192 if test -f $ac_dir/$ac_word; then
1193 ac_cv_prog_CXX="$ac_prog"
1194 break
1195 fi
1196 done
1197 IFS="$ac_save_ifs"
1198 fi
1199 fi
1200 CXX="$ac_cv_prog_CXX"
1201 if test -n "$CXX"; then
1202 echo "$ac_t""$CXX" 1>&6
1203 else
1204 echo "$ac_t""no" 1>&6
1205 fi
1206
1207 test -n "$CXX" && break
1208 done
1209 test -n "$CXX" || CXX="gcc"
1210
1211 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1212
1213 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1214 echo "configure:1215: checking whether we are using GNU C++" >&5
1215 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1216 echo $ac_n "(cached) $ac_c" 1>&6
1217 else
1218 cat > conftest.C <<EOF
1219 #ifdef __GNUC__
1220 yes;
1221 #endif
1222 EOF
1223 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1224 ac_cv_prog_gxx=yes
1225 else
1226 ac_cv_prog_gxx=no
1227 fi
1228 fi
1229
1230 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1231
1232 if test $ac_cv_prog_gxx = yes; then
1233 GXX=yes
1234 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1235 ac_save_CXXFLAGS="$CXXFLAGS"
1236 CXXFLAGS=
1237 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1238 echo "configure:1239: checking whether ${CXX-g++} accepts -g" >&5
1239 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1240 echo $ac_n "(cached) $ac_c" 1>&6
1241 else
1242 echo 'void f(){}' > conftest.cc
1243 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1244 ac_cv_prog_cxx_g=yes
1245 else
1246 ac_cv_prog_cxx_g=no
1247 fi
1248 rm -f conftest*
1249
1250 fi
1251
1252 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1253 if test "$ac_test_CXXFLAGS" = set; then
1254 CXXFLAGS="$ac_save_CXXFLAGS"
1255 elif test $ac_cv_prog_cxx_g = yes; then
1256 CXXFLAGS="-g -O2"
1257 else
1258 CXXFLAGS="-O2"
1259 fi
1260 else
1261 GXX=
1262 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1263 fi
1264
1265
1266 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1267 set dummy ${ac_tool_prefix}as; ac_word=$2
1268 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1269 echo "configure:1270: checking for $ac_word" >&5
1270 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1271 echo $ac_n "(cached) $ac_c" 1>&6
1272 else
1273 if test -n "$AS"; then
1274 ac_cv_prog_AS="$AS" # Let the user override the test.
1275 else
1276 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1277 ac_dummy="$PATH"
1278 for ac_dir in $ac_dummy; do
1279 test -z "$ac_dir" && ac_dir=.
1280 if test -f $ac_dir/$ac_word; then
1281 ac_cv_prog_AS="${ac_tool_prefix}as"
1282 break
1283 fi
1284 done
1285 IFS="$ac_save_ifs"
1286 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1287 fi
1288 fi
1289 AS="$ac_cv_prog_AS"
1290 if test -n "$AS"; then
1291 echo "$ac_t""$AS" 1>&6
1292 else
1293 echo "$ac_t""no" 1>&6
1294 fi
1295
1296
1297
1298 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1299 set dummy ${ac_tool_prefix}ar; ac_word=$2
1300 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1301 echo "configure:1302: checking for $ac_word" >&5
1302 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1303 echo $ac_n "(cached) $ac_c" 1>&6
1304 else
1305 if test -n "$AR"; then
1306 ac_cv_prog_AR="$AR" # Let the user override the test.
1307 else
1308 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1309 ac_dummy="$PATH"
1310 for ac_dir in $ac_dummy; do
1311 test -z "$ac_dir" && ac_dir=.
1312 if test -f $ac_dir/$ac_word; then
1313 ac_cv_prog_AR="${ac_tool_prefix}ar"
1314 break
1315 fi
1316 done
1317 IFS="$ac_save_ifs"
1318 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1319 fi
1320 fi
1321 AR="$ac_cv_prog_AR"
1322 if test -n "$AR"; then
1323 echo "$ac_t""$AR" 1>&6
1324 else
1325 echo "$ac_t""no" 1>&6
1326 fi
1327
1328
1329
1330 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1331 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1332 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1333 echo "configure:1334: checking for $ac_word" >&5
1334 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1335 echo $ac_n "(cached) $ac_c" 1>&6
1336 else
1337 if test -n "$RANLIB"; then
1338 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1339 else
1340 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1341 ac_dummy="$PATH"
1342 for ac_dir in $ac_dummy; do
1343 test -z "$ac_dir" && ac_dir=.
1344 if test -f $ac_dir/$ac_word; then
1345 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1346 break
1347 fi
1348 done
1349 IFS="$ac_save_ifs"
1350 fi
1351 fi
1352 RANLIB="$ac_cv_prog_RANLIB"
1353 if test -n "$RANLIB"; then
1354 echo "$ac_t""$RANLIB" 1>&6
1355 else
1356 echo "$ac_t""no" 1>&6
1357 fi
1358
1359
1360 if test -z "$ac_cv_prog_RANLIB"; then
1361 if test -n "$ac_tool_prefix"; then
1362 # Extract the first word of "ranlib", so it can be a program name with args.
1363 set dummy ranlib; ac_word=$2
1364 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1365 echo "configure:1366: checking for $ac_word" >&5
1366 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1367 echo $ac_n "(cached) $ac_c" 1>&6
1368 else
1369 if test -n "$RANLIB"; then
1370 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1371 else
1372 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1373 ac_dummy="$PATH"
1374 for ac_dir in $ac_dummy; do
1375 test -z "$ac_dir" && ac_dir=.
1376 if test -f $ac_dir/$ac_word; then
1377 ac_cv_prog_RANLIB="ranlib"
1378 break
1379 fi
1380 done
1381 IFS="$ac_save_ifs"
1382 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1383 fi
1384 fi
1385 RANLIB="$ac_cv_prog_RANLIB"
1386 if test -n "$RANLIB"; then
1387 echo "$ac_t""$RANLIB" 1>&6
1388 else
1389 echo "$ac_t""no" 1>&6
1390 fi
1391
1392 else
1393 RANLIB=":"
1394 fi
1395 fi
1396
1397
1398 # Find a good install program. We prefer a C program (faster),
1399 # so one script is as good as another. But avoid the broken or
1400 # incompatible versions:
1401 # SysV /etc/install, /usr/sbin/install
1402 # SunOS /usr/etc/install
1403 # IRIX /sbin/install
1404 # AIX /bin/install
1405 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1406 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1407 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1408 # ./install, which can be erroneously created by make from ./install.sh.
1409 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1410 echo "configure:1411: checking for a BSD compatible install" >&5
1411 if test -z "$INSTALL"; then
1412 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1413 echo $ac_n "(cached) $ac_c" 1>&6
1414 else
1415 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1416 for ac_dir in $PATH; do
1417 # Account for people who put trailing slashes in PATH elements.
1418 case "$ac_dir/" in
1419 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1420 *)
1421 # OSF1 and SCO ODT 3.0 have their own names for install.
1422 # Don't use installbsd from OSF since it installs stuff as root
1423 # by default.
1424 for ac_prog in ginstall scoinst install; do
1425 if test -f $ac_dir/$ac_prog; then
1426 if test $ac_prog = install &&
1427 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1428 # AIX install. It has an incompatible calling convention.
1429 :
1430 else
1431 ac_cv_path_install="$ac_dir/$ac_prog -c"
1432 break 2
1433 fi
1434 fi
1435 done
1436 ;;
1437 esac
1438 done
1439 IFS="$ac_save_IFS"
1440
1441 fi
1442 if test "${ac_cv_path_install+set}" = set; then
1443 INSTALL="$ac_cv_path_install"
1444 else
1445 # As a last resort, use the slow shell script. We don't cache a
1446 # path for INSTALL within a source directory, because that will
1447 # break other packages using the cache if that directory is
1448 # removed, or if the path is relative.
1449 INSTALL="$ac_install_sh"
1450 fi
1451 fi
1452 echo "$ac_t""$INSTALL" 1>&6
1453
1454 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1455 # It thinks the first close brace ends the variable substitution.
1456 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1457
1458 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1459
1460 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1461
1462
1463 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1464 echo "configure:1465: checking whether to enable maintainer-specific portions of Makefiles" >&5
1465 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1466 if test "${enable_maintainer_mode+set}" = set; then
1467 enableval="$enable_maintainer_mode"
1468 USE_MAINTAINER_MODE=$enableval
1469 else
1470 USE_MAINTAINER_MODE=no
1471 fi
1472
1473 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1474
1475
1476 if test $USE_MAINTAINER_MODE = yes; then
1477 MAINTAINER_MODE_TRUE=
1478 MAINTAINER_MODE_FALSE='#'
1479 else
1480 MAINTAINER_MODE_TRUE='#'
1481 MAINTAINER_MODE_FALSE=
1482 fi
1483 MAINT=$MAINTAINER_MODE_TRUE
1484
1485
1486
1487 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1488 # at least currently, we never actually build a program, so we never
1489 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1490 # fails, because we are probably configuring with a cross compiler
1491 # which cant create executables. So we include AC_EXEEXT to keep
1492 # automake happy, but we dont execute it, since we dont care about
1493 # the result.
1494 if false; then
1495
1496
1497 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1498 echo "configure:1499: checking for executable suffix" >&5
1499 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1500 echo $ac_n "(cached) $ac_c" 1>&6
1501 else
1502 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1503 ac_cv_exeext=.exe
1504 else
1505 rm -f conftest*
1506 echo 'int main () { return 0; }' > conftest.$ac_ext
1507 ac_cv_exeext=
1508 if { (eval echo configure:1509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1509 for file in conftest.*; do
1510 case $file in
1511 *.c | *.o | *.obj) ;;
1512 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1513 esac
1514 done
1515 else
1516 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1517 fi
1518 rm -f conftest*
1519 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1520 fi
1521 fi
1522
1523 EXEEXT=""
1524 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1525 echo "$ac_t""${ac_cv_exeext}" 1>&6
1526 ac_exeext=$EXEEXT
1527
1528 fi
1529
1530 # configure.host sets the following important variables
1531 # glibcpp_cflags - host specific C compiler flags
1532 # glibcpp_cxxflags - host specific C++ compiler flags
1533 glibcpp_cflags=
1534 glibcpp_cxxflags=
1535
1536 . ${glibcpp_basedir}/configure.host
1537
1538 case ${glibcpp_basedir} in
1539 /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1540 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1541 esac
1542
1543 GLIBCPP_CFLAGS="${glibcpp_cflags}"
1544 GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1545
1546
1547
1548
1549 # Check whether --enable-shared or --disable-shared was given.
1550 if test "${enable_shared+set}" = set; then
1551 enableval="$enable_shared"
1552 p=${PACKAGE-default}
1553 case "$enableval" in
1554 yes) enable_shared=yes ;;
1555 no) enable_shared=no ;;
1556 *)
1557 enable_shared=no
1558 # Look at the argument we got. We use all the common list separators.
1559 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1560 for pkg in $enableval; do
1561 if test "X$pkg" = "X$p"; then
1562 enable_shared=yes
1563 fi
1564 done
1565 IFS="$ac_save_ifs"
1566 ;;
1567 esac
1568 else
1569 enable_shared=yes
1570 fi
1571
1572 # Check whether --enable-static or --disable-static was given.
1573 if test "${enable_static+set}" = set; then
1574 enableval="$enable_static"
1575 p=${PACKAGE-default}
1576 case "$enableval" in
1577 yes) enable_static=yes ;;
1578 no) enable_static=no ;;
1579 *)
1580 enable_static=no
1581 # Look at the argument we got. We use all the common list separators.
1582 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1583 for pkg in $enableval; do
1584 if test "X$pkg" = "X$p"; then
1585 enable_static=yes
1586 fi
1587 done
1588 IFS="$ac_save_ifs"
1589 ;;
1590 esac
1591 else
1592 enable_static=yes
1593 fi
1594
1595 # Check whether --enable-fast-install or --disable-fast-install was given.
1596 if test "${enable_fast_install+set}" = set; then
1597 enableval="$enable_fast_install"
1598 p=${PACKAGE-default}
1599 case "$enableval" in
1600 yes) enable_fast_install=yes ;;
1601 no) enable_fast_install=no ;;
1602 *)
1603 enable_fast_install=no
1604 # Look at the argument we got. We use all the common list separators.
1605 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1606 for pkg in $enableval; do
1607 if test "X$pkg" = "X$p"; then
1608 enable_fast_install=yes
1609 fi
1610 done
1611 IFS="$ac_save_ifs"
1612 ;;
1613 esac
1614 else
1615 enable_fast_install=yes
1616 fi
1617
1618 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1619 if test "${with_gnu_ld+set}" = set; then
1620 withval="$with_gnu_ld"
1621 test "$withval" = no || with_gnu_ld=yes
1622 else
1623 with_gnu_ld=no
1624 fi
1625
1626 ac_prog=ld
1627 if test "$ac_cv_prog_gcc" = yes; then
1628 # Check if gcc -print-prog-name=ld gives a path.
1629 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1630 echo "configure:1631: checking for ld used by GCC" >&5
1631 case $host in
1632 *-*-mingw*)
1633 # gcc leaves a trailing carriage return which upsets mingw
1634 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1635 *)
1636 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1637 esac
1638 case "$ac_prog" in
1639 # Accept absolute paths.
1640 [\\/]* | [A-Za-z]:[\\/]*)
1641 re_direlt='/[^/][^/]*/\.\./'
1642 # Canonicalize the path of ld
1643 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1644 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1645 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1646 done
1647 test -z "$LD" && LD="$ac_prog"
1648 ;;
1649 "")
1650 # If it fails, then pretend we aren't using GCC.
1651 ac_prog=ld
1652 ;;
1653 *)
1654 # If it is relative, then search for the first ld in PATH.
1655 with_gnu_ld=unknown
1656 ;;
1657 esac
1658 elif test "$with_gnu_ld" = yes; then
1659 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1660 echo "configure:1661: checking for GNU ld" >&5
1661 else
1662 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1663 echo "configure:1664: checking for non-GNU ld" >&5
1664 fi
1665 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1666 echo $ac_n "(cached) $ac_c" 1>&6
1667 else
1668 if test -z "$LD"; then
1669 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1670 for ac_dir in $PATH; do
1671 test -z "$ac_dir" && ac_dir=.
1672 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1673 ac_cv_path_LD="$ac_dir/$ac_prog"
1674 # Check to see if the program is GNU ld. I'd rather use --version,
1675 # but apparently some GNU ld's only accept -v.
1676 # Break only if it was the GNU/non-GNU ld that we prefer.
1677 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1678 test "$with_gnu_ld" != no && break
1679 else
1680 test "$with_gnu_ld" != yes && break
1681 fi
1682 fi
1683 done
1684 IFS="$ac_save_ifs"
1685 else
1686 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1687 fi
1688 fi
1689
1690 LD="$ac_cv_path_LD"
1691 if test -n "$LD"; then
1692 echo "$ac_t""$LD" 1>&6
1693 else
1694 echo "$ac_t""no" 1>&6
1695 fi
1696 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1697 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1698 echo "configure:1699: checking if the linker ($LD) is GNU ld" >&5
1699 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1700 echo $ac_n "(cached) $ac_c" 1>&6
1701 else
1702 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1703 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1704 ac_cv_prog_gnu_ld=yes
1705 else
1706 ac_cv_prog_gnu_ld=no
1707 fi
1708 fi
1709
1710 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1711 with_gnu_ld=$ac_cv_prog_gnu_ld
1712
1713
1714 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1715 echo "configure:1716: checking for $LD option to reload object files" >&5
1716 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1717 echo $ac_n "(cached) $ac_c" 1>&6
1718 else
1719 lt_cv_ld_reload_flag='-r'
1720 fi
1721
1722 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1723 reload_flag=$lt_cv_ld_reload_flag
1724 test -n "$reload_flag" && reload_flag=" $reload_flag"
1725
1726 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1727 echo "configure:1728: checking for BSD-compatible nm" >&5
1728 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1729 echo $ac_n "(cached) $ac_c" 1>&6
1730 else
1731 if test -n "$NM"; then
1732 # Let the user override the test.
1733 ac_cv_path_NM="$NM"
1734 else
1735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1736 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1737 test -z "$ac_dir" && ac_dir=.
1738 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1739 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1740 # Check to see if the nm accepts a BSD-compat flag.
1741 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1742 # nm: unknown option "B" ignored
1743 # Tru64's nm complains that /dev/null is an invalid object file
1744 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1745 ac_cv_path_NM="$tmp_nm -B"
1746 break
1747 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1748 ac_cv_path_NM="$tmp_nm -p"
1749 break
1750 else
1751 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1752 continue # so that we can try to find one that supports BSD flags
1753 fi
1754 fi
1755 done
1756 IFS="$ac_save_ifs"
1757 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1758 fi
1759 fi
1760
1761 NM="$ac_cv_path_NM"
1762 echo "$ac_t""$NM" 1>&6
1763
1764 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1765 echo "configure:1766: checking whether ln -s works" >&5
1766 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1767 echo $ac_n "(cached) $ac_c" 1>&6
1768 else
1769 rm -f conftestdata
1770 if ln -s X conftestdata 2>/dev/null
1771 then
1772 rm -f conftestdata
1773 ac_cv_prog_LN_S="ln -s"
1774 else
1775 ac_cv_prog_LN_S=ln
1776 fi
1777 fi
1778 LN_S="$ac_cv_prog_LN_S"
1779 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1780 echo "$ac_t""yes" 1>&6
1781 else
1782 echo "$ac_t""no" 1>&6
1783 fi
1784
1785 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1786 echo "configure:1787: checking how to recognise dependant libraries" >&5
1787 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1788 echo $ac_n "(cached) $ac_c" 1>&6
1789 else
1790 lt_cv_file_magic_cmd='$MAGIC_CMD'
1791 lt_cv_file_magic_test_file=
1792 lt_cv_deplibs_check_method='unknown'
1793 # Need to set the preceding variable on all platforms that support
1794 # interlibrary dependencies.
1795 # 'none' -- dependencies not supported.
1796 # `unknown' -- same as none, but documents that we really don't know.
1797 # 'pass_all' -- all dependencies passed with no checks.
1798 # 'test_compile' -- check by making test program.
1799 # 'file_magic [regex]' -- check by looking for files in library path
1800 # which responds to the $file_magic_cmd with a given egrep regex.
1801 # If you have `file' or equivalent on your system and you're not sure
1802 # whether `pass_all' will *always* work, you probably want this one.
1803
1804 case "$host_os" in
1805 aix4*)
1806 lt_cv_deplibs_check_method=pass_all
1807 ;;
1808
1809 beos*)
1810 lt_cv_deplibs_check_method=pass_all
1811 ;;
1812
1813 bsdi4*)
1814 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1815 lt_cv_file_magic_cmd='/usr/bin/file -L'
1816 lt_cv_file_magic_test_file=/shlib/libc.so
1817 ;;
1818
1819 cygwin* | mingw* |pw32*)
1820 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1821 lt_cv_file_magic_cmd='$OBJDUMP -f'
1822 ;;
1823
1824 freebsd* )
1825 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1826 case "$host_cpu" in
1827 i*86 )
1828 # Not sure whether the presence of OpenBSD here was a mistake.
1829 # Let's accept both of them until this is cleared up.
1830 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1831 lt_cv_file_magic_cmd=/usr/bin/file
1832 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1833 ;;
1834 esac
1835 else
1836 lt_cv_deplibs_check_method=pass_all
1837 fi
1838 ;;
1839
1840 gnu*)
1841 lt_cv_deplibs_check_method=pass_all
1842 ;;
1843
1844 hpux10.20*)
1845 # TODO: Does this work for hpux-11 too?
1846 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1847 lt_cv_file_magic_cmd=/usr/bin/file
1848 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1849 ;;
1850
1851 irix5* | irix6*)
1852 case "$host_os" in
1853 irix5*)
1854 # this will be overridden with pass_all, but let us keep it just in case
1855 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1856 ;;
1857 *)
1858 case "$LD" in
1859 *-32|*"-32 ") libmagic=32-bit;;
1860 *-n32|*"-n32 ") libmagic=N32;;
1861 *-64|*"-64 ") libmagic=64-bit;;
1862 *) libmagic=never-match;;
1863 esac
1864 # this will be overridden with pass_all, but let us keep it just in case
1865 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1866 ;;
1867 esac
1868 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1869 lt_cv_deplibs_check_method=pass_all
1870 ;;
1871
1872 # This must be Linux ELF.
1873 linux-gnu*)
1874 case "$host_cpu" in
1875 alpha* | i*86 | powerpc* | sparc* | ia64* )
1876 lt_cv_deplibs_check_method=pass_all ;;
1877 *)
1878 # glibc up to 2.1.1 does not perform some relocations on ARM
1879 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1880 esac
1881 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1882 ;;
1883
1884 netbsd*)
1885 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1886 else
1887 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1888 lt_cv_file_magic_cmd='/usr/bin/file -L'
1889 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1890 fi
1891 ;;
1892
1893 osf3* | osf4* | osf5*)
1894 # this will be overridden with pass_all, but let us keep it just in case
1895 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1896 lt_cv_file_magic_test_file=/shlib/libc.so
1897 lt_cv_deplibs_check_method=pass_all
1898 ;;
1899
1900 sco3.2v5*)
1901 lt_cv_deplibs_check_method=pass_all
1902 ;;
1903
1904 solaris*)
1905 lt_cv_deplibs_check_method=pass_all
1906 lt_cv_file_magic_test_file=/lib/libc.so
1907 ;;
1908
1909 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1910 case "$host_vendor" in
1911 ncr)
1912 lt_cv_deplibs_check_method=pass_all
1913 ;;
1914 motorola)
1915 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]'
1916 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1917 ;;
1918 esac
1919 ;;
1920 esac
1921
1922 fi
1923
1924 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1925 file_magic_cmd=$lt_cv_file_magic_cmd
1926 deplibs_check_method=$lt_cv_deplibs_check_method
1927
1928 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1929 echo "configure:1930: checking for object suffix" >&5
1930 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1931 echo $ac_n "(cached) $ac_c" 1>&6
1932 else
1933 rm -f conftest*
1934 echo 'int i = 1;' > conftest.$ac_ext
1935 if { (eval echo configure:1936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1936 for ac_file in conftest.*; do
1937 case $ac_file in
1938 *.c) ;;
1939 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1940 esac
1941 done
1942 else
1943 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1944 fi
1945 rm -f conftest*
1946 fi
1947
1948 echo "$ac_t""$ac_cv_objext" 1>&6
1949 OBJEXT=$ac_cv_objext
1950 ac_objext=$ac_cv_objext
1951
1952 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1953
1954 # Only perform the check for file, if the check method requires it
1955 case "$deplibs_check_method" in
1956 file_magic*)
1957 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1958 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1959 echo "configure:1960: checking for ${ac_tool_prefix}file" >&5
1960 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1961 echo $ac_n "(cached) $ac_c" 1>&6
1962 else
1963 case "$MAGIC_CMD" in
1964 /*)
1965 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1966 ;;
1967 ?:/*)
1968 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1969 ;;
1970 *)
1971 ac_save_MAGIC_CMD="$MAGIC_CMD"
1972 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1973 ac_dummy="/usr/bin:$PATH"
1974 for ac_dir in $ac_dummy; do
1975 test -z "$ac_dir" && ac_dir=.
1976 if test -f $ac_dir/${ac_tool_prefix}file; then
1977 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1978 if test -n "$file_magic_test_file"; then
1979 case "$deplibs_check_method" in
1980 "file_magic "*)
1981 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1982 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1983 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1984 egrep "$file_magic_regex" > /dev/null; then
1985 :
1986 else
1987 cat <<EOF 1>&2
1988
1989 *** Warning: the command libtool uses to detect shared libraries,
1990 *** $file_magic_cmd, produces output that libtool cannot recognize.
1991 *** The result is that libtool may fail to recognize shared libraries
1992 *** as such. This will affect the creation of libtool libraries that
1993 *** depend on shared libraries, but programs linked with such libtool
1994 *** libraries will work regardless of this problem. Nevertheless, you
1995 *** may want to report the problem to your system manager and/or to
1996 *** bug-libtool@gnu.org
1997
1998 EOF
1999 fi ;;
2000 esac
2001 fi
2002 break
2003 fi
2004 done
2005 IFS="$ac_save_ifs"
2006 MAGIC_CMD="$ac_save_MAGIC_CMD"
2007 ;;
2008 esac
2009 fi
2010
2011 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2012 if test -n "$MAGIC_CMD"; then
2013 echo "$ac_t""$MAGIC_CMD" 1>&6
2014 else
2015 echo "$ac_t""no" 1>&6
2016 fi
2017
2018 if test -z "$lt_cv_path_MAGIC_CMD"; then
2019 if test -n "$ac_tool_prefix"; then
2020 echo $ac_n "checking for file""... $ac_c" 1>&6
2021 echo "configure:2022: checking for file" >&5
2022 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2023 echo $ac_n "(cached) $ac_c" 1>&6
2024 else
2025 case "$MAGIC_CMD" in
2026 /*)
2027 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2028 ;;
2029 ?:/*)
2030 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2031 ;;
2032 *)
2033 ac_save_MAGIC_CMD="$MAGIC_CMD"
2034 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2035 ac_dummy="/usr/bin:$PATH"
2036 for ac_dir in $ac_dummy; do
2037 test -z "$ac_dir" && ac_dir=.
2038 if test -f $ac_dir/file; then
2039 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2040 if test -n "$file_magic_test_file"; then
2041 case "$deplibs_check_method" in
2042 "file_magic "*)
2043 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2044 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2045 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2046 egrep "$file_magic_regex" > /dev/null; then
2047 :
2048 else
2049 cat <<EOF 1>&2
2050
2051 *** Warning: the command libtool uses to detect shared libraries,
2052 *** $file_magic_cmd, produces output that libtool cannot recognize.
2053 *** The result is that libtool may fail to recognize shared libraries
2054 *** as such. This will affect the creation of libtool libraries that
2055 *** depend on shared libraries, but programs linked with such libtool
2056 *** libraries will work regardless of this problem. Nevertheless, you
2057 *** may want to report the problem to your system manager and/or to
2058 *** bug-libtool@gnu.org
2059
2060 EOF
2061 fi ;;
2062 esac
2063 fi
2064 break
2065 fi
2066 done
2067 IFS="$ac_save_ifs"
2068 MAGIC_CMD="$ac_save_MAGIC_CMD"
2069 ;;
2070 esac
2071 fi
2072
2073 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2074 if test -n "$MAGIC_CMD"; then
2075 echo "$ac_t""$MAGIC_CMD" 1>&6
2076 else
2077 echo "$ac_t""no" 1>&6
2078 fi
2079
2080 else
2081 MAGIC_CMD=:
2082 fi
2083 fi
2084
2085 fi
2086 ;;
2087 esac
2088
2089 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2090 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2092 echo "configure:2093: checking for $ac_word" >&5
2093 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2094 echo $ac_n "(cached) $ac_c" 1>&6
2095 else
2096 if test -n "$RANLIB"; then
2097 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2098 else
2099 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2100 ac_dummy="$PATH"
2101 for ac_dir in $ac_dummy; do
2102 test -z "$ac_dir" && ac_dir=.
2103 if test -f $ac_dir/$ac_word; then
2104 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2105 break
2106 fi
2107 done
2108 IFS="$ac_save_ifs"
2109 fi
2110 fi
2111 RANLIB="$ac_cv_prog_RANLIB"
2112 if test -n "$RANLIB"; then
2113 echo "$ac_t""$RANLIB" 1>&6
2114 else
2115 echo "$ac_t""no" 1>&6
2116 fi
2117
2118
2119 if test -z "$ac_cv_prog_RANLIB"; then
2120 if test -n "$ac_tool_prefix"; then
2121 # Extract the first word of "ranlib", so it can be a program name with args.
2122 set dummy ranlib; ac_word=$2
2123 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2124 echo "configure:2125: checking for $ac_word" >&5
2125 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2126 echo $ac_n "(cached) $ac_c" 1>&6
2127 else
2128 if test -n "$RANLIB"; then
2129 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2130 else
2131 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2132 ac_dummy="$PATH"
2133 for ac_dir in $ac_dummy; do
2134 test -z "$ac_dir" && ac_dir=.
2135 if test -f $ac_dir/$ac_word; then
2136 ac_cv_prog_RANLIB="ranlib"
2137 break
2138 fi
2139 done
2140 IFS="$ac_save_ifs"
2141 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2142 fi
2143 fi
2144 RANLIB="$ac_cv_prog_RANLIB"
2145 if test -n "$RANLIB"; then
2146 echo "$ac_t""$RANLIB" 1>&6
2147 else
2148 echo "$ac_t""no" 1>&6
2149 fi
2150
2151 else
2152 RANLIB=":"
2153 fi
2154 fi
2155
2156 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2157 set dummy ${ac_tool_prefix}strip; ac_word=$2
2158 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2159 echo "configure:2160: checking for $ac_word" >&5
2160 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2161 echo $ac_n "(cached) $ac_c" 1>&6
2162 else
2163 if test -n "$STRIP"; then
2164 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2165 else
2166 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2167 ac_dummy="$PATH"
2168 for ac_dir in $ac_dummy; do
2169 test -z "$ac_dir" && ac_dir=.
2170 if test -f $ac_dir/$ac_word; then
2171 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2172 break
2173 fi
2174 done
2175 IFS="$ac_save_ifs"
2176 fi
2177 fi
2178 STRIP="$ac_cv_prog_STRIP"
2179 if test -n "$STRIP"; then
2180 echo "$ac_t""$STRIP" 1>&6
2181 else
2182 echo "$ac_t""no" 1>&6
2183 fi
2184
2185
2186 if test -z "$ac_cv_prog_STRIP"; then
2187 if test -n "$ac_tool_prefix"; then
2188 # Extract the first word of "strip", so it can be a program name with args.
2189 set dummy strip; ac_word=$2
2190 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2191 echo "configure:2192: checking for $ac_word" >&5
2192 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2193 echo $ac_n "(cached) $ac_c" 1>&6
2194 else
2195 if test -n "$STRIP"; then
2196 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2197 else
2198 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2199 ac_dummy="$PATH"
2200 for ac_dir in $ac_dummy; do
2201 test -z "$ac_dir" && ac_dir=.
2202 if test -f $ac_dir/$ac_word; then
2203 ac_cv_prog_STRIP="strip"
2204 break
2205 fi
2206 done
2207 IFS="$ac_save_ifs"
2208 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2209 fi
2210 fi
2211 STRIP="$ac_cv_prog_STRIP"
2212 if test -n "$STRIP"; then
2213 echo "$ac_t""$STRIP" 1>&6
2214 else
2215 echo "$ac_t""no" 1>&6
2216 fi
2217
2218 else
2219 STRIP=":"
2220 fi
2221 fi
2222
2223
2224 # Check for any special flags to pass to ltconfig.
2225 libtool_flags="--cache-file=$cache_file"
2226 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2227 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2228 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2229 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2230 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2231 libtool_flags="$libtool_flags --enable-dlopen"
2232
2233 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2234 if test "${enable_libtool_lock+set}" = set; then
2235 enableval="$enable_libtool_lock"
2236 :
2237 fi
2238
2239 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2240 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2241
2242 # Check whether --with-pic or --without-pic was given.
2243 if test "${with_pic+set}" = set; then
2244 withval="$with_pic"
2245 pic_mode="$withval"
2246 else
2247 pic_mode=default
2248 fi
2249
2250 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2251 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2252
2253 # Some flags need to be propagated to the compiler or linker for good
2254 # libtool support.
2255 case "$host" in
2256 *-*-irix6*)
2257 # Find out which ABI we are using.
2258 echo '#line 2259 "configure"' > conftest.$ac_ext
2259 if { (eval echo configure:2260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2260 case "`/usr/bin/file conftest.o`" in
2261 *32-bit*)
2262 LD="${LD-ld} -32"
2263 ;;
2264 *N32*)
2265 LD="${LD-ld} -n32"
2266 ;;
2267 *64-bit*)
2268 LD="${LD-ld} -64"
2269 ;;
2270 esac
2271 fi
2272 rm -rf conftest*
2273 ;;
2274
2275 *-*-sco3.2v5*)
2276 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2277 SAVE_CFLAGS="$CFLAGS"
2278 CFLAGS="$CFLAGS -belf"
2279 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2280 echo "configure:2281: checking whether the C compiler needs -belf" >&5
2281 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6
2283 else
2284
2285 ac_ext=c
2286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2287 ac_cpp='$CPP $CPPFLAGS'
2288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2290 cross_compiling=$ac_cv_prog_cc_cross
2291
2292 cat > conftest.$ac_ext <<EOF
2293 #line 2294 "configure"
2294 #include "confdefs.h"
2295
2296 int main() {
2297
2298 ; return 0; }
2299 EOF
2300 if { (eval echo configure:2301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2301 rm -rf conftest*
2302 lt_cv_cc_needs_belf=yes
2303 else
2304 echo "configure: failed program was:" >&5
2305 cat conftest.$ac_ext >&5
2306 rm -rf conftest*
2307 lt_cv_cc_needs_belf=no
2308 fi
2309 rm -f conftest*
2310 ac_ext=c
2311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2312 ac_cpp='$CPP $CPPFLAGS'
2313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2315 cross_compiling=$ac_cv_prog_cc_cross
2316
2317 fi
2318
2319 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2320 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2321 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2322 CFLAGS="$SAVE_CFLAGS"
2323 fi
2324 ;;
2325
2326
2327 esac
2328
2329 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2330 echo "configure:2331: checking how to run the C++ preprocessor" >&5
2331 if test -z "$CXXCPP"; then
2332 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2333 echo $ac_n "(cached) $ac_c" 1>&6
2334 else
2335 ac_ext=C
2336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2337 ac_cpp='$CXXCPP $CPPFLAGS'
2338 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2339 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2340 cross_compiling=$ac_cv_prog_cxx_cross
2341 CXXCPP="${CXX-g++} -E"
2342 cat > conftest.$ac_ext <<EOF
2343 #line 2344 "configure"
2344 #include "confdefs.h"
2345 #include <stdlib.h>
2346 EOF
2347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2348 { (eval echo configure:2349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2350 if test -z "$ac_err"; then
2351 :
2352 else
2353 echo "$ac_err" >&5
2354 echo "configure: failed program was:" >&5
2355 cat conftest.$ac_ext >&5
2356 rm -rf conftest*
2357 CXXCPP=/lib/cpp
2358 fi
2359 rm -f conftest*
2360 ac_cv_prog_CXXCPP="$CXXCPP"
2361 ac_ext=c
2362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2363 ac_cpp='$CPP $CPPFLAGS'
2364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2366 cross_compiling=$ac_cv_prog_cc_cross
2367 fi
2368 fi
2369 CXXCPP="$ac_cv_prog_CXXCPP"
2370 echo "$ac_t""$CXXCPP" 1>&6
2371
2372
2373 # Save cache, so that ltconfig can load it
2374 cat > confcache <<\EOF
2375 # This file is a shell script that caches the results of configure
2376 # tests run on this system so they can be shared between configure
2377 # scripts and configure runs. It is not useful on other systems.
2378 # If it contains results you don't want to keep, you may remove or edit it.
2379 #
2380 # By default, configure uses ./config.cache as the cache file,
2381 # creating it if it does not exist already. You can give configure
2382 # the --cache-file=FILE option to use a different cache file; that is
2383 # what configure does when it calls configure scripts in
2384 # subdirectories, so they share the cache.
2385 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2386 # config.status only pays attention to the cache file if you give it the
2387 # --recheck option to rerun configure.
2388 #
2389 EOF
2390 # The following way of writing the cache mishandles newlines in values,
2391 # but we know of no workaround that is simple, portable, and efficient.
2392 # So, don't put newlines in cache variables' values.
2393 # Ultrix sh set writes to stderr and can't be redirected directly,
2394 # and sets the high bit in the cache file unless we assign to the vars.
2395 (set) 2>&1 |
2396 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2397 *ac_space=\ *)
2398 # `set' does not quote correctly, so add quotes (double-quote substitution
2399 # turns \\\\ into \\, and sed turns \\ into \).
2400 sed -n \
2401 -e "s/'/'\\\\''/g" \
2402 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2403 ;;
2404 *)
2405 # `set' quotes correctly as required by POSIX, so do not add quotes.
2406 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2407 ;;
2408 esac >> confcache
2409 if cmp -s $cache_file confcache; then
2410 :
2411 else
2412 if test -w $cache_file; then
2413 echo "updating cache $cache_file"
2414 cat confcache > $cache_file
2415 else
2416 echo "not updating unwritable cache $cache_file"
2417 fi
2418 fi
2419 rm -f confcache
2420
2421
2422 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2423 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2424 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2425 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2426 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2427 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2428 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2429 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2430 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2431 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2432
2433 # Reload cache, that may have been modified by ltconfig
2434 if test -r "$cache_file"; then
2435 echo "loading cache $cache_file"
2436 . $cache_file
2437 else
2438 echo "creating cache $cache_file"
2439 > $cache_file
2440 fi
2441
2442
2443 # This can be used to rebuild libtool when needed
2444 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2445
2446 # Always use our own libtool.
2447 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2448
2449 # Redirect the config.log output again, so that the ltconfig log is not
2450 # clobbered by the next message.
2451 exec 5>>./config.log
2452
2453
2454
2455
2456 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2457 lt_save_CC="$CC"
2458 lt_save_CFLAGS="$CFLAGS"
2459 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2460 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2461 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2462 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2463 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2464 deplibs_check_method="$deplibs_check_method" \
2465 file_magic_cmd="$file_magic_cmd" \
2466 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2467 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2468 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2469 CC="$lt_save_CC"
2470 CFLAGS="$lt_save_CFLAGS"
2471
2472 # Redirect the config.log output again, so that the ltconfig log is not
2473 # clobbered by the next message.
2474 exec 5>>./config.log
2475
2476
2477
2478
2479
2480
2481
2482 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2483 echo "configure:2484: checking for GNU make" >&5
2484 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2485 echo $ac_n "(cached) $ac_c" 1>&6
2486 else
2487 _cv_gnu_make_command='' ;
2488 for a in "${MAKE:-make}" make gmake gnumake ; do
2489 if ( $a --version 2> /dev/null | grep -c GNU )
2490 then
2491 _cv_gnu_make_command=$a ;
2492 break;
2493 fi
2494 done ;
2495
2496 fi
2497
2498 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2499 if test "x$_cv_gnu_make_command" != "x" ; then
2500 ifGNUmake='' ;
2501 else
2502 ifGNUmake='#' ;
2503 fi
2504
2505
2506 if test "x$_cv_gnu_make_command" = "x"; then
2507 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2508 fi
2509
2510
2511
2512
2513 # Check for c++ or library specific bits that don't require linking.
2514 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2515 echo "configure:2516: checking how to run the C preprocessor" >&5
2516 # On Suns, sometimes $CPP names a directory.
2517 if test -n "$CPP" && test -d "$CPP"; then
2518 CPP=
2519 fi
2520 if test -z "$CPP"; then
2521 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2522 echo $ac_n "(cached) $ac_c" 1>&6
2523 else
2524 # This must be in double quotes, not single quotes, because CPP may get
2525 # substituted into the Makefile and "${CC-cc}" will confuse make.
2526 CPP="${CC-cc} -E"
2527 # On the NeXT, cc -E runs the code through the compiler's parser,
2528 # not just through cpp.
2529 cat > conftest.$ac_ext <<EOF
2530 #line 2531 "configure"
2531 #include "confdefs.h"
2532 #include <assert.h>
2533 Syntax Error
2534 EOF
2535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2536 { (eval echo configure:2537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2538 if test -z "$ac_err"; then
2539 :
2540 else
2541 echo "$ac_err" >&5
2542 echo "configure: failed program was:" >&5
2543 cat conftest.$ac_ext >&5
2544 rm -rf conftest*
2545 CPP="${CC-cc} -E -traditional-cpp"
2546 cat > conftest.$ac_ext <<EOF
2547 #line 2548 "configure"
2548 #include "confdefs.h"
2549 #include <assert.h>
2550 Syntax Error
2551 EOF
2552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2553 { (eval echo configure:2554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2555 if test -z "$ac_err"; then
2556 :
2557 else
2558 echo "$ac_err" >&5
2559 echo "configure: failed program was:" >&5
2560 cat conftest.$ac_ext >&5
2561 rm -rf conftest*
2562 CPP="${CC-cc} -nologo -E"
2563 cat > conftest.$ac_ext <<EOF
2564 #line 2565 "configure"
2565 #include "confdefs.h"
2566 #include <assert.h>
2567 Syntax Error
2568 EOF
2569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2570 { (eval echo configure:2571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2572 if test -z "$ac_err"; then
2573 :
2574 else
2575 echo "$ac_err" >&5
2576 echo "configure: failed program was:" >&5
2577 cat conftest.$ac_ext >&5
2578 rm -rf conftest*
2579 CPP=/lib/cpp
2580 fi
2581 rm -f conftest*
2582 fi
2583 rm -f conftest*
2584 fi
2585 rm -f conftest*
2586 ac_cv_prog_CPP="$CPP"
2587 fi
2588 CPP="$ac_cv_prog_CPP"
2589 else
2590 ac_cv_prog_CPP="$CPP"
2591 fi
2592 echo "$ac_t""$CPP" 1>&6
2593
2594
2595 # Sanity check that g++ is capable of dealing with v-3.
2596 echo $ac_n "checking for g++ that will successfully compile this code""... $ac_c" 1>&6
2597 echo "configure:2598: checking for g++ that will successfully compile this code" >&5
2598 cat > conftest.$ac_ext <<EOF
2599 #line 2600 "configure"
2600 #include "confdefs.h"
2601
2602 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
2603 ok
2604 #endif
2605
2606 EOF
2607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2608 egrep "ok" >/dev/null 2>&1; then
2609 rm -rf conftest*
2610 gpp_satisfactory=yes
2611 else
2612 rm -rf conftest*
2613 { echo "configure: error: "please upgrade to gcc-2.95 or above"" 1>&2; exit 1; }
2614 fi
2615 rm -f conftest*
2616
2617 echo "$ac_t""$gpp_satisfactory" 1>&6
2618
2619
2620 echo $ac_n "checking for cpu config directory""... $ac_c" 1>&6
2621 echo "configure:2622: checking for cpu config directory" >&5
2622 # Currently unused, but could be useful.
2623 # CPU_FLAGS=
2624 case "${target_cpu}" in
2625 alpha*)
2626 cpu_include_dir="config/cpu/alpha"
2627 ;;
2628 arm*)
2629 cpu_include_dir="config/cpu/arm"
2630 ;;
2631 ia64)
2632 cpu_include_dir="config/cpu/ia64"
2633 ;;
2634 i386)
2635 cpu_include_dir="config/cpu/i386"
2636 ;;
2637 i486 | i586 | i686 | i786)
2638 cpu_include_dir="config/cpu/i486"
2639 ;;
2640 powerpc | rs6000)
2641 cpu_include_dir="config/cpu/powerpc"
2642 ;;
2643 sparc64 | ultrasparc)
2644 cpu_include_dir="config/cpu/sparc/sparc64"
2645 ;;
2646 sparc*)
2647 cpu_include_dir="config/cpu/sparc/sparc32"
2648 ;;
2649 *)
2650 cpu_include_dir="config/cpu/generic"
2651 ;;
2652 esac
2653 echo "$ac_t""$cpu_include_dir" 1>&6
2654
2655
2656 echo $ac_n "checking for os config directory""... $ac_c" 1>&6
2657 echo "configure:2658: checking for os config directory" >&5
2658 # Currently unused, but could be useful.
2659 # OS_FLAGS=
2660 case "${target_os}" in
2661 aix*)
2662 os_include_dir="config/os/aix"
2663 ;;
2664 bsd* | freebsd*)
2665 os_include_dir="config/os/bsd"
2666 ;;
2667 linux*)
2668 os_include_dir="config/os/gnu-linux"
2669 ;;
2670 irix*)
2671 os_include_dir="config/os/irix"
2672 ;;
2673 solaris2.5*)
2674 os_include_dir="config/os/solaris/solaris2.5"
2675 ;;
2676 solaris2.6*)
2677 os_include_dir="config/os/solaris/solaris2.6"
2678 ;;
2679 solaris2.7* | solaris2.8*)
2680 os_include_dir="config/os/solaris/solaris2.7"
2681 ;;
2682 *)
2683 os_include_dir="config/os/generic"
2684 ;;
2685 esac
2686 echo "$ac_t""$os_include_dir" 1>&6
2687
2688
2689
2690 cat > confcache <<\EOF
2691 # This file is a shell script that caches the results of configure
2692 # tests run on this system so they can be shared between configure
2693 # scripts and configure runs. It is not useful on other systems.
2694 # If it contains results you don't want to keep, you may remove or edit it.
2695 #
2696 # By default, configure uses ./config.cache as the cache file,
2697 # creating it if it does not exist already. You can give configure
2698 # the --cache-file=FILE option to use a different cache file; that is
2699 # what configure does when it calls configure scripts in
2700 # subdirectories, so they share the cache.
2701 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2702 # config.status only pays attention to the cache file if you give it the
2703 # --recheck option to rerun configure.
2704 #
2705 EOF
2706 # The following way of writing the cache mishandles newlines in values,
2707 # but we know of no workaround that is simple, portable, and efficient.
2708 # So, don't put newlines in cache variables' values.
2709 # Ultrix sh set writes to stderr and can't be redirected directly,
2710 # and sets the high bit in the cache file unless we assign to the vars.
2711 (set) 2>&1 |
2712 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2713 *ac_space=\ *)
2714 # `set' does not quote correctly, so add quotes (double-quote substitution
2715 # turns \\\\ into \\, and sed turns \\ into \).
2716 sed -n \
2717 -e "s/'/'\\\\''/g" \
2718 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2719 ;;
2720 *)
2721 # `set' quotes correctly as required by POSIX, so do not add quotes.
2722 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2723 ;;
2724 esac >> confcache
2725 if cmp -s $cache_file confcache; then
2726 :
2727 else
2728 if test -w $cache_file; then
2729 echo "updating cache $cache_file"
2730 cat confcache > $cache_file
2731 else
2732 echo "not updating unwritable cache $cache_file"
2733 fi
2734 fi
2735 rm -f confcache
2736
2737
2738 # Enable all the crazy c++ stuff.
2739 # Check whether --enable-debug or --disable-debug was given.
2740 if test "${enable_debug+set}" = set; then
2741 enableval="$enable_debug"
2742 case "${enableval}" in
2743 yes) enable_debug=yes ;;
2744 no) enable_debug=no ;;
2745 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2746 esac
2747 else
2748 enable_debug=no
2749 fi
2750
2751 case "${enable_debug}" in
2752 yes)
2753 DEBUG_FLAGS='-O0 -ggdb'
2754 ;;
2755 no)
2756 DEBUG_FLAGS='-g'
2757 ;;
2758 esac
2759
2760
2761
2762 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2763 echo "configure:2764: checking for cstdio to use" >&5
2764 # Check whether --enable-cstdio or --disable-cstdio was given.
2765 if test "${enable_cstdio+set}" = set; then
2766 enableval="$enable_cstdio"
2767 if test x$enable_cstdio = xno; then
2768 enable_cstdio=libio
2769 fi
2770 else
2771 enable_cstdio=libio
2772 fi
2773
2774
2775 enable_cstdio_flag=$enable_cstdio
2776
2777 case x${enable_cstdio_flag} in
2778 xlibio | x | xno | xnone | xyes)
2779 # default
2780 CSTDIO_H=config/c_io_libio.h
2781 CSTDIO_CC=config/c_io_libio.cc
2782 echo "$ac_t""libio" 1>&6
2783
2784 # see if we are on a system with libio native (ie, linux)
2785 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2786 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2787 echo "configure:2788: checking for libio.h" >&5
2788 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2789 echo $ac_n "(cached) $ac_c" 1>&6
2790 else
2791 cat > conftest.$ac_ext <<EOF
2792 #line 2793 "configure"
2793 #include "confdefs.h"
2794 #include <libio.h>
2795 EOF
2796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2797 { (eval echo configure:2798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2799 if test -z "$ac_err"; then
2800 rm -rf conftest*
2801 eval "ac_cv_header_$ac_safe=yes"
2802 else
2803 echo "$ac_err" >&5
2804 echo "configure: failed program was:" >&5
2805 cat conftest.$ac_ext >&5
2806 rm -rf conftest*
2807 eval "ac_cv_header_$ac_safe=no"
2808 fi
2809 rm -f conftest*
2810 fi
2811 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2812 echo "$ac_t""yes" 1>&6
2813 has_libio=yes
2814 else
2815 echo "$ac_t""no" 1>&6
2816 has_libio=no
2817 fi
2818
2819
2820 # Need to check and see what version of glibc is being used. If
2821 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2822 # compile most of libio for linux systems.
2823 if test x$has_libio = x"yes"; then
2824 case "$target" in
2825 *-*-linux*)
2826 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2827 echo "configure:2828: checking for glibc version >= 2.2" >&5
2828 cat > conftest.$ac_ext <<EOF
2829 #line 2830 "configure"
2830 #include "confdefs.h"
2831
2832 #include <features.h>
2833 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2834 ok
2835 #endif
2836
2837 EOF
2838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2839 egrep "ok" >/dev/null 2>&1; then
2840 rm -rf conftest*
2841 glibc_satisfactory=yes
2842 else
2843 rm -rf conftest*
2844 glibc_satisfactory=no
2845 fi
2846 rm -f conftest*
2847
2848 echo "$ac_t""$glibc_satisfactory" 1>&6
2849 ;;
2850 esac
2851
2852 # XXX at the moment, admit defeat and force the recompilation
2853 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2854 glibc_satisfactory=no
2855
2856 if test x$glibc_satisfactory = x"yes"; then
2857 need_libio=no
2858 need_xtra_libio=no
2859 need_wlibio=no
2860 else
2861 need_libio=yes
2862 need_xtra_libio=yes
2863 # bkoz XXX need to add checks to enable this
2864 need_wlibio=yes
2865 fi
2866
2867 # Using libio, but <libio.h> doesn't exist on the target system. . .
2868 else
2869 need_libio=yes
2870 need_xtra_libio=no
2871 # bkoz XXX need to add checks to enable this
2872 need_wlibio=no
2873 fi
2874 ;;
2875
2876 xwince)
2877 CSTDIO_H=config/c_io_wince.h
2878 CSTDIO_CC=config/c_io_wince.cc
2879 echo "$ac_t""wince" 1>&6
2880
2881 need_libio=no
2882 ;;
2883 *)
2884 echo "$enable_cstdio is an unknown io package" 1>&2
2885 exit 1
2886 ;;
2887 esac
2888
2889
2890
2891 # 2000-08-04 bkoz hack
2892 CCODECVT_C=config/c_io_libio_codecvt.c
2893
2894 # 2000-08-04 bkoz hack
2895
2896
2897
2898 if test "$need_libio" = yes; then
2899 GLIBCPP_NEED_LIBIO_TRUE=
2900 GLIBCPP_NEED_LIBIO_FALSE='#'
2901 else
2902 GLIBCPP_NEED_LIBIO_TRUE='#'
2903 GLIBCPP_NEED_LIBIO_FALSE=
2904 fi
2905
2906
2907 if test "$need_xtra_libio" = yes; then
2908 GLIBCPP_NEED_XTRA_LIBIO_TRUE=
2909 GLIBCPP_NEED_XTRA_LIBIO_FALSE='#'
2910 else
2911 GLIBCPP_NEED_XTRA_LIBIO_TRUE='#'
2912 GLIBCPP_NEED_XTRA_LIBIO_FALSE=
2913 fi
2914
2915
2916 if test "$need_wlibio" = yes; then
2917 GLIBCPP_NEED_WLIBIO_TRUE=
2918 GLIBCPP_NEED_WLIBIO_FALSE='#'
2919 else
2920 GLIBCPP_NEED_WLIBIO_TRUE='#'
2921 GLIBCPP_NEED_WLIBIO_FALSE=
2922 fi
2923
2924
2925 # Check whether --enable-long-long or --disable-long-long was given.
2926 if test "${enable_long_long+set}" = set; then
2927 enableval="$enable_long_long"
2928 case "$enableval" in
2929 yes) enable_long_long=yes ;;
2930 no) enable_long_long=no ;;
2931 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2932 esac
2933 else
2934 enable_long_long=yes
2935 fi
2936
2937 # Check for the existance of functions used if long long is enabled.
2938 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2939 echo "configure:2940: checking for strtoll" >&5
2940 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2941 echo $ac_n "(cached) $ac_c" 1>&6
2942 else
2943 cat > conftest.$ac_ext <<EOF
2944 #line 2945 "configure"
2945 #include "confdefs.h"
2946 /* System header to define __stub macros and hopefully few prototypes,
2947 which can conflict with char strtoll(); below. */
2948 #include <assert.h>
2949 /* Override any gcc2 internal prototype to avoid an error. */
2950 /* We use char because int might match the return type of a gcc2
2951 builtin and then its argument prototype would still apply. */
2952 char strtoll();
2953
2954 int main() {
2955
2956 /* The GNU C library defines this for functions which it implements
2957 to always fail with ENOSYS. Some functions are actually named
2958 something starting with __ and the normal name is an alias. */
2959 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2960 choke me
2961 #else
2962 strtoll();
2963 #endif
2964
2965 ; return 0; }
2966 EOF
2967 if { (eval echo configure:2968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2968 rm -rf conftest*
2969 eval "ac_cv_func_strtoll=yes"
2970 else
2971 echo "configure: failed program was:" >&5
2972 cat conftest.$ac_ext >&5
2973 rm -rf conftest*
2974 eval "ac_cv_func_strtoll=no"
2975 fi
2976 rm -f conftest*
2977 fi
2978
2979 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2980 echo "$ac_t""yes" 1>&6
2981 :
2982 else
2983 echo "$ac_t""no" 1>&6
2984 ac_strtoll=no
2985 fi
2986
2987 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2988 echo "configure:2989: checking for strtoull" >&5
2989 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2990 echo $ac_n "(cached) $ac_c" 1>&6
2991 else
2992 cat > conftest.$ac_ext <<EOF
2993 #line 2994 "configure"
2994 #include "confdefs.h"
2995 /* System header to define __stub macros and hopefully few prototypes,
2996 which can conflict with char strtoull(); below. */
2997 #include <assert.h>
2998 /* Override any gcc2 internal prototype to avoid an error. */
2999 /* We use char because int might match the return type of a gcc2
3000 builtin and then its argument prototype would still apply. */
3001 char strtoull();
3002
3003 int main() {
3004
3005 /* The GNU C library defines this for functions which it implements
3006 to always fail with ENOSYS. Some functions are actually named
3007 something starting with __ and the normal name is an alias. */
3008 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3009 choke me
3010 #else
3011 strtoull();
3012 #endif
3013
3014 ; return 0; }
3015 EOF
3016 if { (eval echo configure:3017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3017 rm -rf conftest*
3018 eval "ac_cv_func_strtoull=yes"
3019 else
3020 echo "configure: failed program was:" >&5
3021 cat conftest.$ac_ext >&5
3022 rm -rf conftest*
3023 eval "ac_cv_func_strtoull=no"
3024 fi
3025 rm -f conftest*
3026 fi
3027
3028 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3029 echo "$ac_t""yes" 1>&6
3030 :
3031 else
3032 echo "$ac_t""no" 1>&6
3033 ac_strtoull=no
3034 fi
3035
3036
3037 echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3038 echo "configure:3039: checking for enabled long long" >&5
3039 if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then
3040 enable_long_long=no;
3041 fi;
3042 echo "$ac_t""$enable_long_long" 1>&6
3043
3044 case "$enable_long_long" in
3045 yes) cat >> confdefs.h <<\EOF
3046 #define _GLIBCPP_USE_LONG_LONG 1
3047 EOF
3048
3049 ;;
3050 esac
3051
3052 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
3053 echo "configure:3054: checking for enabled cshadow headers" >&5
3054 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
3055 if test "${enable_cshadow_headers+set}" = set; then
3056 enableval="$enable_cshadow_headers"
3057
3058 case "$enableval" in
3059 yes) enable_cshadow_headers=yes
3060 ;;
3061 no) enable_cshadow_headers=no
3062 ;;
3063 *) { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; }
3064 ;;
3065 esac
3066 else
3067 enable_cshadow_headers=no
3068 fi
3069
3070 echo "$ac_t""$enable_cshadow_headers" 1>&6
3071
3072 case "$enable_cshadow_headers" in
3073 yes)
3074 CSHADOW_FLAGS="-fno-builtin"
3075 C_INCLUDE_DIR='$(top_srcdir)/include/c_std'
3076 cat >> confdefs.h <<\EOF
3077 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3078 EOF
3079
3080 ;;
3081 no)
3082 CSHADOW_FLAGS=""
3083 C_INCLUDE_DIR='$(top_srcdir)/include/c'
3084 ;;
3085 esac
3086
3087
3088
3089
3090
3091 if test "$enable_cshadow_headers" = yes; then
3092 GLIBCPP_USE_CSHADOW_TRUE=
3093 GLIBCPP_USE_CSHADOW_FALSE='#'
3094 else
3095 GLIBCPP_USE_CSHADOW_TRUE='#'
3096 GLIBCPP_USE_CSHADOW_FALSE=
3097 fi
3098
3099
3100 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3101 echo "configure:3102: checking for threads package to use" >&5
3102 # Check whether --enable-threads or --disable-threads was given.
3103 if test "${enable_threads+set}" = set; then
3104 enableval="$enable_threads"
3105 if test x$enable_threads = xno; then
3106 enable_threads=''
3107 fi
3108 else
3109 enable_threads=''
3110 fi
3111
3112
3113 enable_threads_flag=$enable_threads
3114
3115 case x${enable_threads_flag} in
3116 x | xno | xnone)
3117 # No threads
3118 target_thread_file='single'
3119 ;;
3120 xyes)
3121 # default
3122 target_thread_file=''
3123 ;;
3124 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3125 xsolaris | xwin32 | xdce | xvxworks)
3126 target_thread_file=$enable_threads_flag
3127 ;;
3128 *)
3129 echo "$enable_threads is an unknown thread package" 1>&2
3130 exit 1
3131 ;;
3132 esac
3133
3134 THREADH=
3135 case "$target_thread_file" in
3136 no | none | single)
3137 THREADH=threads-no.h
3138 ;;
3139 posix | pthreads)
3140 THREADH=threads-posix.h
3141 ;;
3142 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3143 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3144 ;;
3145 *)
3146 { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
3147 ;;
3148 esac
3149 echo "$ac_t""$THREADH" 1>&6
3150
3151
3152
3153
3154 echo $ac_n "checking for atomicity.h""... $ac_c" 1>&6
3155 echo "configure:3156: checking for atomicity.h" >&5
3156 case "$target" in
3157 *-*-linux*)
3158 ATOMICITYH=$cpu_include_dir
3159 ;;
3160 *-*-aix*)
3161 ATOMICITYH=$os_include_dir
3162 ;;
3163 *)
3164 echo "$enable_threads is an unknown thread package" 1>&2
3165 exit 1
3166 ;;
3167 esac
3168 echo "$ac_t""$ATOMICITYH/bits/atomicity.h" 1>&6
3169
3170
3171 #GLIBCPP_ENABLE_RELIBGCC([../..])
3172 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3173 if test "${enable_cxx_flags+set}" = set; then
3174 enableval="$enable_cxx_flags"
3175 case "x$enableval" in
3176 xyes)
3177 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3178 xno|x)
3179 enable_cxx_flags='' ;;
3180 *)
3181 enable_cxx_flags="$enableval" ;;
3182 esac
3183 else
3184 enable_cxx_flags='none'
3185 fi
3186
3187
3188 if test "$enable_cxx_flags" = "none"; then
3189 enable_cxx_flags='';
3190 fi
3191
3192 if test -n "$enable_cxx_flags"; then
3193 for f in $enable_cxx_flags; do
3194 case "$f" in
3195 -fhonor-std) ;;
3196 -*) ;;
3197 *) # and we're trying to pass /what/ exactly?
3198 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3199 esac
3200 done
3201 fi
3202 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3203
3204
3205
3206
3207 if test -n "$with_cross_host"; then
3208
3209 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3210 # may not work correctly, because the compiler may not be able to
3211 # link executables.
3212
3213 xcompiling=1
3214 NATIVE=no
3215 # If Canadian cross, then don't pick up tools from the build
3216 # directory.
3217 if test "$build" != "$with_cross_host"; then
3218 CANADIAN=yes
3219 NULL_TARGET=yes
3220 else
3221 CANADIAN=no
3222 NULL_TARGET=no
3223 fi
3224
3225 case "$target_alias" in
3226 *-wince-*)
3227 # Configure for Microsoft Windows CE, or whatever they are
3228 # currently calling it.
3229 cat >> confdefs.h <<\EOF
3230 #define HAVE_FLOAT_H 1
3231 EOF
3232
3233
3234 cat >> confdefs.h <<\EOF
3235 #define HAVE__FINITE 1
3236 EOF
3237
3238 cat >> confdefs.h <<\EOF
3239 #define HAVE__ISNAN 1
3240 EOF
3241
3242 cat >> confdefs.h <<\EOF
3243 #define HAVE__COPYSIGN 1
3244 EOF
3245
3246 cat >> confdefs.h <<\EOF
3247 #define HAVE__FPCLASS 1
3248 EOF
3249
3250 cat >> confdefs.h <<\EOF
3251 #define HAVE_MODF 1
3252 EOF
3253
3254
3255 ctype_include_dir="config/os/wince"
3256
3257
3258
3259
3260
3261 cat >> confdefs.h <<\EOF
3262 #define _GLIBCPP_NEED_MBSTATE_T 1
3263 EOF
3264
3265
3266 cat >> confdefs.h <<\EOF
3267 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3268 EOF
3269
3270 cat >> confdefs.h <<\EOF
3271 #define _GLIBCPP_BUGGY_COMPLEX 1
3272 EOF
3273
3274 ;;
3275 *)
3276 # We assume newlib. This lets us hard-code the functions we know
3277 # we'll have.
3278 cat >> confdefs.h <<\EOF
3279 #define HAVE_FINITE 1
3280 EOF
3281
3282 cat >> confdefs.h <<\EOF
3283 #define HAVE_ISNAN 1
3284 EOF
3285
3286 cat >> confdefs.h <<\EOF
3287 #define HAVE_ISNANF 1
3288 EOF
3289
3290 cat >> confdefs.h <<\EOF
3291 #define HAVE_ISINF 1
3292 EOF
3293
3294 cat >> confdefs.h <<\EOF
3295 #define HAVE_ISINFF 1
3296 EOF
3297
3298
3299 ctype_include_dir="config/os/newlib"
3300
3301
3302
3303
3304 cat >> confdefs.h <<\EOF
3305 #define _GLIBCPP_NEED_MBSTATE_T 1
3306 EOF
3307
3308
3309 cat >> confdefs.h <<\EOF
3310 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3311 EOF
3312
3313 cat >> confdefs.h <<\EOF
3314 #define _GLIBCPP_BUGGY_COMPLEX 1
3315 EOF
3316
3317 # need to ceck for faster f versions of math functions, ie sinf?
3318 ;;
3319 esac
3320 else
3321
3322 # We are being configured natively. We can do more elaborate tests
3323 # that include AC_TRY_COMPILE now, as the linker is assumed to be
3324 # working.
3325
3326 xcompiling=0
3327 NATIVE=yes
3328 CANADIAN=no
3329 NULL_TARGET=no
3330
3331 # Check for available headers.
3332 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3333 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h
3334 do
3335 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3336 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3337 echo "configure:3338: checking for $ac_hdr" >&5
3338 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3339 echo $ac_n "(cached) $ac_c" 1>&6
3340 else
3341 cat > conftest.$ac_ext <<EOF
3342 #line 3343 "configure"
3343 #include "confdefs.h"
3344 #include <$ac_hdr>
3345 EOF
3346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3347 { (eval echo configure:3348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3349 if test -z "$ac_err"; then
3350 rm -rf conftest*
3351 eval "ac_cv_header_$ac_safe=yes"
3352 else
3353 echo "$ac_err" >&5
3354 echo "configure: failed program was:" >&5
3355 cat conftest.$ac_ext >&5
3356 rm -rf conftest*
3357 eval "ac_cv_header_$ac_safe=no"
3358 fi
3359 rm -f conftest*
3360 fi
3361 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3362 echo "$ac_t""yes" 1>&6
3363 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3364 cat >> confdefs.h <<EOF
3365 #define $ac_tr_hdr 1
3366 EOF
3367
3368 else
3369 echo "$ac_t""no" 1>&6
3370 fi
3371 done
3372
3373
3374
3375 # All these tests are for C++; save the language and the compiler flags.
3376 # The CXXFLAGS thing is suspicious, but based on similar bits
3377 # found in GLIBCPP_CONFIGURE.
3378
3379 ac_ext=C
3380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3381 ac_cpp='$CXXCPP $CPPFLAGS'
3382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3384 cross_compiling=$ac_cv_prog_cxx_cross
3385
3386 ac_test_CXXFLAGS="${CXXFLAGS+set}"
3387 ac_save_CXXFLAGS="$CXXFLAGS"
3388
3389 # Check for maintainer-mode bits.
3390 if test x"$USE_MAINTAINER_MODE" = xno; then
3391 WERROR=''
3392 else
3393 WERROR='-Werror'
3394 fi
3395
3396 # Check for more sophisticated diagnostic control.
3397 echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3398 echo "configure:3399: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3399 CXXFLAGS='-Werror -fdiagnostics-show-location=once'
3400 cat > conftest.$ac_ext <<EOF
3401 #line 3402 "configure"
3402 #include "confdefs.h"
3403
3404 int main() {
3405 int foo;
3406
3407 ; return 0; }
3408 EOF
3409 if { (eval echo configure:3410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3410 rm -rf conftest*
3411 ac_gabydiags=yes
3412 else
3413 echo "configure: failed program was:" >&5
3414 cat conftest.$ac_ext >&5
3415 rm -rf conftest*
3416 ac_gabydiags=no
3417 fi
3418 rm -f conftest*
3419 if test "$ac_test_CXXFLAGS" = set; then
3420 CXXFLAGS="$ac_save_CXXFLAGS"
3421 else
3422 # this is the suspicious part
3423 CXXFLAGS=''
3424 fi
3425 if test "$ac_gabydiags" = "yes"; then
3426 WFMT_FLAGS='-fdiagnostics-show-location=once'
3427 fi
3428 echo "$ac_t""$ac_gabydiags" 1>&6
3429
3430 # Check for -ffunction-sections -fdata-sections
3431 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3432 echo "configure:3433: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3433 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
3434 cat > conftest.$ac_ext <<EOF
3435 #line 3436 "configure"
3436 #include "confdefs.h"
3437
3438 int main() {
3439 int foo;
3440
3441 ; return 0; }
3442 EOF
3443 if { (eval echo configure:3444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3444 rm -rf conftest*
3445 ac_fdsections=yes
3446 else
3447 echo "configure: failed program was:" >&5
3448 cat conftest.$ac_ext >&5
3449 rm -rf conftest*
3450 ac_fdsections=no
3451 fi
3452 rm -f conftest*
3453 if test "$ac_test_CXXFLAGS" = set; then
3454 CXXFLAGS="$ac_save_CXXFLAGS"
3455 else
3456 # this is the suspicious part
3457 CXXFLAGS=''
3458 fi
3459 if test "$ac_fdsections" = "yes"; then
3460 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3461 fi
3462 echo "$ac_t""$ac_fdsections" 1>&6
3463
3464 ac_ext=c
3465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3466 ac_cpp='$CPP $CPPFLAGS'
3467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3469 cross_compiling=$ac_cv_prog_cc_cross
3470
3471
3472
3473
3474
3475
3476 # If we're not using GNU ld, then there's no point in even trying these
3477 # tests. Check for that first. We should have already tested for gld
3478 # by now (in libtool), but require it now just to be safe...
3479
3480 if test "$ac_cv_prog_gnu_ld" = "no"; then
3481 SECTION_LDFLAGS=''
3482 OPT_LDFLAGS=''
3483
3484 else # GNU ld it is! Joy and bunny rabbits!
3485
3486 # All these tests are for C++; save the language and the compiler flags.
3487 # Need to do this so that g++ won't try to link in libstdc++
3488 ac_test_CFLAGS="${CFLAGS+set}"
3489 ac_save_CFLAGS="$CFLAGS"
3490 CFLAGS='-x c++ -Wl,--gc-sections'
3491
3492 # Check for -Wl,--gc-sections
3493 # XXX This test is broken at the moment, as symbols required for
3494 # linking are now in libsupc++ (not built yet.....). In addition,
3495 # this test has cored on solaris in the past.
3496 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3497 echo "configure:3498: checking for ld that supports -Wl,--gc-sections" >&5
3498 if test "$cross_compiling" = yes; then
3499 ac_sectionLDflags=yes
3500 else
3501 cat > conftest.$ac_ext <<EOF
3502 #line 3503 "configure"
3503 #include "confdefs.h"
3504
3505 int main(void)
3506 {
3507 //try { throw 1; }
3508 //catch (...) { };
3509 return 0;
3510 }
3511
3512 EOF
3513 if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3514 then
3515 ac_sectionLDflags=yes
3516 else
3517 echo "configure: failed program was:" >&5
3518 cat conftest.$ac_ext >&5
3519 rm -fr conftest*
3520 ac_sectionLFflags=no
3521 fi
3522 rm -fr conftest*
3523 fi
3524
3525 if test "$ac_test_CFLAGS" = set; then
3526 CFLAGS="$ac_save_CFLAGS"
3527 else
3528 # this is the suspicious part
3529 CFLAGS=''
3530 fi
3531 if test "$ac_sectionLDflags" = "yes"; then
3532 SECTION_LDFLAGS='-Wl,--gc-sections'
3533 fi
3534 echo "$ac_t""$ac_sectionLDflags" 1>&6
3535 OPT_LDFLAGS='-Wl,-O1'
3536
3537 fi
3538
3539
3540
3541
3542
3543 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3544 echo "configure:3545: checking for __builtin_abs declaration" >&5
3545 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3546 echo $ac_n "(cached) $ac_c" 1>&6
3547 else
3548
3549
3550 ac_ext=C
3551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3552 ac_cpp='$CXXCPP $CPPFLAGS'
3553 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3554 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3555 cross_compiling=$ac_cv_prog_cxx_cross
3556
3557 cat > conftest.$ac_ext <<EOF
3558 #line 3559 "configure"
3559 #include "confdefs.h"
3560 #include <math.h>
3561 int main() {
3562 __builtin_abs(0);
3563 ; return 0; }
3564 EOF
3565 if { (eval echo configure:3566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3566 rm -rf conftest*
3567 glibcpp_cv_func___builtin_abs_use=yes
3568 else
3569 echo "configure: failed program was:" >&5
3570 cat conftest.$ac_ext >&5
3571 rm -rf conftest*
3572 glibcpp_cv_func___builtin_abs_use=no
3573 fi
3574 rm -f conftest*
3575 ac_ext=c
3576 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3577 ac_cpp='$CPP $CPPFLAGS'
3578 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3579 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3580 cross_compiling=$ac_cv_prog_cc_cross
3581
3582
3583 fi
3584
3585 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3586 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3587 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3588 echo "configure:3589: checking for __builtin_abs linkage" >&5
3589 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3590 echo $ac_n "(cached) $ac_c" 1>&6
3591 else
3592
3593 cat > conftest.$ac_ext <<EOF
3594 #line 3595 "configure"
3595 #include "confdefs.h"
3596 #include <math.h>
3597 int main() {
3598 __builtin_abs(0);
3599 ; return 0; }
3600 EOF
3601 if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3602 rm -rf conftest*
3603 glibcpp_cv_func___builtin_abs_link=yes
3604 else
3605 echo "configure: failed program was:" >&5
3606 cat conftest.$ac_ext >&5
3607 rm -rf conftest*
3608 glibcpp_cv_func___builtin_abs_link=no
3609 fi
3610 rm -f conftest*
3611
3612 fi
3613
3614 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3615 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3616 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3617 cat >> confdefs.h <<EOF
3618 #define ${ac_tr_func} 1
3619 EOF
3620
3621 fi
3622 fi
3623
3624
3625 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3626 echo "configure:3627: checking for __builtin_fabsf declaration" >&5
3627 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3628 echo $ac_n "(cached) $ac_c" 1>&6
3629 else
3630
3631
3632 ac_ext=C
3633 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3634 ac_cpp='$CXXCPP $CPPFLAGS'
3635 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3636 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3637 cross_compiling=$ac_cv_prog_cxx_cross
3638
3639 cat > conftest.$ac_ext <<EOF
3640 #line 3641 "configure"
3641 #include "confdefs.h"
3642 #include <math.h>
3643 int main() {
3644 __builtin_fabsf(0);
3645 ; return 0; }
3646 EOF
3647 if { (eval echo configure:3648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3648 rm -rf conftest*
3649 glibcpp_cv_func___builtin_fabsf_use=yes
3650 else
3651 echo "configure: failed program was:" >&5
3652 cat conftest.$ac_ext >&5
3653 rm -rf conftest*
3654 glibcpp_cv_func___builtin_fabsf_use=no
3655 fi
3656 rm -f conftest*
3657 ac_ext=c
3658 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3659 ac_cpp='$CPP $CPPFLAGS'
3660 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3661 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3662 cross_compiling=$ac_cv_prog_cc_cross
3663
3664
3665 fi
3666
3667 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3668 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3669 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3670 echo "configure:3671: checking for __builtin_fabsf linkage" >&5
3671 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3672 echo $ac_n "(cached) $ac_c" 1>&6
3673 else
3674
3675 cat > conftest.$ac_ext <<EOF
3676 #line 3677 "configure"
3677 #include "confdefs.h"
3678 #include <math.h>
3679 int main() {
3680 __builtin_fabsf(0);
3681 ; return 0; }
3682 EOF
3683 if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3684 rm -rf conftest*
3685 glibcpp_cv_func___builtin_fabsf_link=yes
3686 else
3687 echo "configure: failed program was:" >&5
3688 cat conftest.$ac_ext >&5
3689 rm -rf conftest*
3690 glibcpp_cv_func___builtin_fabsf_link=no
3691 fi
3692 rm -f conftest*
3693
3694 fi
3695
3696 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3697 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3698 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3699 cat >> confdefs.h <<EOF
3700 #define ${ac_tr_func} 1
3701 EOF
3702
3703 fi
3704 fi
3705
3706
3707 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3708 echo "configure:3709: checking for __builtin_fabs declaration" >&5
3709 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3710 echo $ac_n "(cached) $ac_c" 1>&6
3711 else
3712
3713
3714 ac_ext=C
3715 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3716 ac_cpp='$CXXCPP $CPPFLAGS'
3717 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3718 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3719 cross_compiling=$ac_cv_prog_cxx_cross
3720
3721 cat > conftest.$ac_ext <<EOF
3722 #line 3723 "configure"
3723 #include "confdefs.h"
3724 #include <math.h>
3725 int main() {
3726 __builtin_fabs(0);
3727 ; return 0; }
3728 EOF
3729 if { (eval echo configure:3730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3730 rm -rf conftest*
3731 glibcpp_cv_func___builtin_fabs_use=yes
3732 else
3733 echo "configure: failed program was:" >&5
3734 cat conftest.$ac_ext >&5
3735 rm -rf conftest*
3736 glibcpp_cv_func___builtin_fabs_use=no
3737 fi
3738 rm -f conftest*
3739 ac_ext=c
3740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3741 ac_cpp='$CPP $CPPFLAGS'
3742 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3743 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3744 cross_compiling=$ac_cv_prog_cc_cross
3745
3746
3747 fi
3748
3749 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3750 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3751 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3752 echo "configure:3753: checking for __builtin_fabs linkage" >&5
3753 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3754 echo $ac_n "(cached) $ac_c" 1>&6
3755 else
3756
3757 cat > conftest.$ac_ext <<EOF
3758 #line 3759 "configure"
3759 #include "confdefs.h"
3760 #include <math.h>
3761 int main() {
3762 __builtin_fabs(0);
3763 ; return 0; }
3764 EOF
3765 if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3766 rm -rf conftest*
3767 glibcpp_cv_func___builtin_fabs_link=yes
3768 else
3769 echo "configure: failed program was:" >&5
3770 cat conftest.$ac_ext >&5
3771 rm -rf conftest*
3772 glibcpp_cv_func___builtin_fabs_link=no
3773 fi
3774 rm -f conftest*
3775
3776 fi
3777
3778 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3779 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3780 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3781 cat >> confdefs.h <<EOF
3782 #define ${ac_tr_func} 1
3783 EOF
3784
3785 fi
3786 fi
3787
3788
3789 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3790 echo "configure:3791: checking for __builtin_fabsl declaration" >&5
3791 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3792 echo $ac_n "(cached) $ac_c" 1>&6
3793 else
3794
3795
3796 ac_ext=C
3797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3798 ac_cpp='$CXXCPP $CPPFLAGS'
3799 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3800 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3801 cross_compiling=$ac_cv_prog_cxx_cross
3802
3803 cat > conftest.$ac_ext <<EOF
3804 #line 3805 "configure"
3805 #include "confdefs.h"
3806 #include <math.h>
3807 int main() {
3808 __builtin_fabsl(0);
3809 ; return 0; }
3810 EOF
3811 if { (eval echo configure:3812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3812 rm -rf conftest*
3813 glibcpp_cv_func___builtin_fabsl_use=yes
3814 else
3815 echo "configure: failed program was:" >&5
3816 cat conftest.$ac_ext >&5
3817 rm -rf conftest*
3818 glibcpp_cv_func___builtin_fabsl_use=no
3819 fi
3820 rm -f conftest*
3821 ac_ext=c
3822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3823 ac_cpp='$CPP $CPPFLAGS'
3824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3826 cross_compiling=$ac_cv_prog_cc_cross
3827
3828
3829 fi
3830
3831 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3832 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3833 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3834 echo "configure:3835: checking for __builtin_fabsl linkage" >&5
3835 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3836 echo $ac_n "(cached) $ac_c" 1>&6
3837 else
3838
3839 cat > conftest.$ac_ext <<EOF
3840 #line 3841 "configure"
3841 #include "confdefs.h"
3842 #include <math.h>
3843 int main() {
3844 __builtin_fabsl(0);
3845 ; return 0; }
3846 EOF
3847 if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3848 rm -rf conftest*
3849 glibcpp_cv_func___builtin_fabsl_link=yes
3850 else
3851 echo "configure: failed program was:" >&5
3852 cat conftest.$ac_ext >&5
3853 rm -rf conftest*
3854 glibcpp_cv_func___builtin_fabsl_link=no
3855 fi
3856 rm -f conftest*
3857
3858 fi
3859
3860 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3861 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3862 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3863 cat >> confdefs.h <<EOF
3864 #define ${ac_tr_func} 1
3865 EOF
3866
3867 fi
3868 fi
3869
3870
3871 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3872 echo "configure:3873: checking for __builtin_labs declaration" >&5
3873 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
3874 echo $ac_n "(cached) $ac_c" 1>&6
3875 else
3876
3877
3878 ac_ext=C
3879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3880 ac_cpp='$CXXCPP $CPPFLAGS'
3881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3883 cross_compiling=$ac_cv_prog_cxx_cross
3884
3885 cat > conftest.$ac_ext <<EOF
3886 #line 3887 "configure"
3887 #include "confdefs.h"
3888 #include <math.h>
3889 int main() {
3890 __builtin_labs(0);
3891 ; return 0; }
3892 EOF
3893 if { (eval echo configure:3894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3894 rm -rf conftest*
3895 glibcpp_cv_func___builtin_labs_use=yes
3896 else
3897 echo "configure: failed program was:" >&5
3898 cat conftest.$ac_ext >&5
3899 rm -rf conftest*
3900 glibcpp_cv_func___builtin_labs_use=no
3901 fi
3902 rm -f conftest*
3903 ac_ext=c
3904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3905 ac_cpp='$CPP $CPPFLAGS'
3906 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3907 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3908 cross_compiling=$ac_cv_prog_cc_cross
3909
3910
3911 fi
3912
3913 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3914 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3915 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3916 echo "configure:3917: checking for __builtin_labs linkage" >&5
3917 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3918 echo $ac_n "(cached) $ac_c" 1>&6
3919 else
3920
3921 cat > conftest.$ac_ext <<EOF
3922 #line 3923 "configure"
3923 #include "confdefs.h"
3924 #include <math.h>
3925 int main() {
3926 __builtin_labs(0);
3927 ; return 0; }
3928 EOF
3929 if { (eval echo configure:3930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3930 rm -rf conftest*
3931 glibcpp_cv_func___builtin_labs_link=yes
3932 else
3933 echo "configure: failed program was:" >&5
3934 cat conftest.$ac_ext >&5
3935 rm -rf conftest*
3936 glibcpp_cv_func___builtin_labs_link=no
3937 fi
3938 rm -f conftest*
3939
3940 fi
3941
3942 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3943 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3944 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3945 cat >> confdefs.h <<EOF
3946 #define ${ac_tr_func} 1
3947 EOF
3948
3949 fi
3950 fi
3951
3952
3953
3954 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3955 echo "configure:3956: checking for __builtin_sqrtf declaration" >&5
3956 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3957 echo $ac_n "(cached) $ac_c" 1>&6
3958 else
3959
3960
3961 ac_ext=C
3962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3963 ac_cpp='$CXXCPP $CPPFLAGS'
3964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3966 cross_compiling=$ac_cv_prog_cxx_cross
3967
3968 cat > conftest.$ac_ext <<EOF
3969 #line 3970 "configure"
3970 #include "confdefs.h"
3971 #include <math.h>
3972 int main() {
3973 __builtin_sqrtf(0);
3974 ; return 0; }
3975 EOF
3976 if { (eval echo configure:3977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3977 rm -rf conftest*
3978 glibcpp_cv_func___builtin_sqrtf_use=yes
3979 else
3980 echo "configure: failed program was:" >&5
3981 cat conftest.$ac_ext >&5
3982 rm -rf conftest*
3983 glibcpp_cv_func___builtin_sqrtf_use=no
3984 fi
3985 rm -f conftest*
3986 ac_ext=c
3987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3988 ac_cpp='$CPP $CPPFLAGS'
3989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3991 cross_compiling=$ac_cv_prog_cc_cross
3992
3993
3994 fi
3995
3996 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
3997 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
3998 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
3999 echo "configure:4000: checking for __builtin_sqrtf linkage" >&5
4000 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
4001 echo $ac_n "(cached) $ac_c" 1>&6
4002 else
4003
4004 cat > conftest.$ac_ext <<EOF
4005 #line 4006 "configure"
4006 #include "confdefs.h"
4007 #include <math.h>
4008 int main() {
4009 __builtin_sqrtf(0);
4010 ; return 0; }
4011 EOF
4012 if { (eval echo configure:4013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4013 rm -rf conftest*
4014 glibcpp_cv_func___builtin_sqrtf_link=yes
4015 else
4016 echo "configure: failed program was:" >&5
4017 cat conftest.$ac_ext >&5
4018 rm -rf conftest*
4019 glibcpp_cv_func___builtin_sqrtf_link=no
4020 fi
4021 rm -f conftest*
4022
4023 fi
4024
4025 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
4026 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
4027 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4028 cat >> confdefs.h <<EOF
4029 #define ${ac_tr_func} 1
4030 EOF
4031
4032 fi
4033 fi
4034
4035
4036 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
4037 echo "configure:4038: checking for __builtin_fsqrt declaration" >&5
4038 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
4039 echo $ac_n "(cached) $ac_c" 1>&6
4040 else
4041
4042
4043 ac_ext=C
4044 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4045 ac_cpp='$CXXCPP $CPPFLAGS'
4046 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4047 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4048 cross_compiling=$ac_cv_prog_cxx_cross
4049
4050 cat > conftest.$ac_ext <<EOF
4051 #line 4052 "configure"
4052 #include "confdefs.h"
4053 #include <math.h>
4054 int main() {
4055 __builtin_fsqrt(0);
4056 ; return 0; }
4057 EOF
4058 if { (eval echo configure:4059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4059 rm -rf conftest*
4060 glibcpp_cv_func___builtin_fsqrt_use=yes
4061 else
4062 echo "configure: failed program was:" >&5
4063 cat conftest.$ac_ext >&5
4064 rm -rf conftest*
4065 glibcpp_cv_func___builtin_fsqrt_use=no
4066 fi
4067 rm -f conftest*
4068 ac_ext=c
4069 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4070 ac_cpp='$CPP $CPPFLAGS'
4071 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4072 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4073 cross_compiling=$ac_cv_prog_cc_cross
4074
4075
4076 fi
4077
4078 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4079 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4080 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4081 echo "configure:4082: checking for __builtin_fsqrt linkage" >&5
4082 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4083 echo $ac_n "(cached) $ac_c" 1>&6
4084 else
4085
4086 cat > conftest.$ac_ext <<EOF
4087 #line 4088 "configure"
4088 #include "confdefs.h"
4089 #include <math.h>
4090 int main() {
4091 __builtin_fsqrt(0);
4092 ; return 0; }
4093 EOF
4094 if { (eval echo configure:4095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4095 rm -rf conftest*
4096 glibcpp_cv_func___builtin_fsqrt_link=yes
4097 else
4098 echo "configure: failed program was:" >&5
4099 cat conftest.$ac_ext >&5
4100 rm -rf conftest*
4101 glibcpp_cv_func___builtin_fsqrt_link=no
4102 fi
4103 rm -f conftest*
4104
4105 fi
4106
4107 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4108 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4109 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4110 cat >> confdefs.h <<EOF
4111 #define ${ac_tr_func} 1
4112 EOF
4113
4114 fi
4115 fi
4116
4117
4118 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4119 echo "configure:4120: checking for __builtin_sqrtl declaration" >&5
4120 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4121 echo $ac_n "(cached) $ac_c" 1>&6
4122 else
4123
4124
4125 ac_ext=C
4126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4127 ac_cpp='$CXXCPP $CPPFLAGS'
4128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4130 cross_compiling=$ac_cv_prog_cxx_cross
4131
4132 cat > conftest.$ac_ext <<EOF
4133 #line 4134 "configure"
4134 #include "confdefs.h"
4135 #include <math.h>
4136 int main() {
4137 __builtin_sqrtl(0);
4138 ; return 0; }
4139 EOF
4140 if { (eval echo configure:4141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4141 rm -rf conftest*
4142 glibcpp_cv_func___builtin_sqrtl_use=yes
4143 else
4144 echo "configure: failed program was:" >&5
4145 cat conftest.$ac_ext >&5
4146 rm -rf conftest*
4147 glibcpp_cv_func___builtin_sqrtl_use=no
4148 fi
4149 rm -f conftest*
4150 ac_ext=c
4151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4152 ac_cpp='$CPP $CPPFLAGS'
4153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4155 cross_compiling=$ac_cv_prog_cc_cross
4156
4157
4158 fi
4159
4160 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4161 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4162 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4163 echo "configure:4164: checking for __builtin_sqrtl linkage" >&5
4164 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4165 echo $ac_n "(cached) $ac_c" 1>&6
4166 else
4167
4168 cat > conftest.$ac_ext <<EOF
4169 #line 4170 "configure"
4170 #include "confdefs.h"
4171 #include <math.h>
4172 int main() {
4173 __builtin_sqrtl(0);
4174 ; return 0; }
4175 EOF
4176 if { (eval echo configure:4177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4177 rm -rf conftest*
4178 glibcpp_cv_func___builtin_sqrtl_link=yes
4179 else
4180 echo "configure: failed program was:" >&5
4181 cat conftest.$ac_ext >&5
4182 rm -rf conftest*
4183 glibcpp_cv_func___builtin_sqrtl_link=no
4184 fi
4185 rm -f conftest*
4186
4187 fi
4188
4189 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4190 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4191 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4192 cat >> confdefs.h <<EOF
4193 #define ${ac_tr_func} 1
4194 EOF
4195
4196 fi
4197 fi
4198
4199
4200
4201 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4202 echo "configure:4203: checking for __builtin_sinf declaration" >&5
4203 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4204 echo $ac_n "(cached) $ac_c" 1>&6
4205 else
4206
4207
4208 ac_ext=C
4209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4210 ac_cpp='$CXXCPP $CPPFLAGS'
4211 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4212 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4213 cross_compiling=$ac_cv_prog_cxx_cross
4214
4215 cat > conftest.$ac_ext <<EOF
4216 #line 4217 "configure"
4217 #include "confdefs.h"
4218 #include <math.h>
4219 int main() {
4220 __builtin_sinf(0);
4221 ; return 0; }
4222 EOF
4223 if { (eval echo configure:4224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4224 rm -rf conftest*
4225 glibcpp_cv_func___builtin_sinf_use=yes
4226 else
4227 echo "configure: failed program was:" >&5
4228 cat conftest.$ac_ext >&5
4229 rm -rf conftest*
4230 glibcpp_cv_func___builtin_sinf_use=no
4231 fi
4232 rm -f conftest*
4233 ac_ext=c
4234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4235 ac_cpp='$CPP $CPPFLAGS'
4236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4238 cross_compiling=$ac_cv_prog_cc_cross
4239
4240
4241 fi
4242
4243 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4244 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4245 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4246 echo "configure:4247: checking for __builtin_sinf linkage" >&5
4247 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4248 echo $ac_n "(cached) $ac_c" 1>&6
4249 else
4250
4251 cat > conftest.$ac_ext <<EOF
4252 #line 4253 "configure"
4253 #include "confdefs.h"
4254 #include <math.h>
4255 int main() {
4256 __builtin_sinf(0);
4257 ; return 0; }
4258 EOF
4259 if { (eval echo configure:4260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4260 rm -rf conftest*
4261 glibcpp_cv_func___builtin_sinf_link=yes
4262 else
4263 echo "configure: failed program was:" >&5
4264 cat conftest.$ac_ext >&5
4265 rm -rf conftest*
4266 glibcpp_cv_func___builtin_sinf_link=no
4267 fi
4268 rm -f conftest*
4269
4270 fi
4271
4272 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4273 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4274 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4275 cat >> confdefs.h <<EOF
4276 #define ${ac_tr_func} 1
4277 EOF
4278
4279 fi
4280 fi
4281
4282
4283 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4284 echo "configure:4285: checking for __builtin_sin declaration" >&5
4285 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4286 echo $ac_n "(cached) $ac_c" 1>&6
4287 else
4288
4289
4290 ac_ext=C
4291 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4292 ac_cpp='$CXXCPP $CPPFLAGS'
4293 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4294 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4295 cross_compiling=$ac_cv_prog_cxx_cross
4296
4297 cat > conftest.$ac_ext <<EOF
4298 #line 4299 "configure"
4299 #include "confdefs.h"
4300 #include <math.h>
4301 int main() {
4302 __builtin_sin(0);
4303 ; return 0; }
4304 EOF
4305 if { (eval echo configure:4306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4306 rm -rf conftest*
4307 glibcpp_cv_func___builtin_sin_use=yes
4308 else
4309 echo "configure: failed program was:" >&5
4310 cat conftest.$ac_ext >&5
4311 rm -rf conftest*
4312 glibcpp_cv_func___builtin_sin_use=no
4313 fi
4314 rm -f conftest*
4315 ac_ext=c
4316 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4317 ac_cpp='$CPP $CPPFLAGS'
4318 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4319 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4320 cross_compiling=$ac_cv_prog_cc_cross
4321
4322
4323 fi
4324
4325 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4326 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4327 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4328 echo "configure:4329: checking for __builtin_sin linkage" >&5
4329 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4330 echo $ac_n "(cached) $ac_c" 1>&6
4331 else
4332
4333 cat > conftest.$ac_ext <<EOF
4334 #line 4335 "configure"
4335 #include "confdefs.h"
4336 #include <math.h>
4337 int main() {
4338 __builtin_sin(0);
4339 ; return 0; }
4340 EOF
4341 if { (eval echo configure:4342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4342 rm -rf conftest*
4343 glibcpp_cv_func___builtin_sin_link=yes
4344 else
4345 echo "configure: failed program was:" >&5
4346 cat conftest.$ac_ext >&5
4347 rm -rf conftest*
4348 glibcpp_cv_func___builtin_sin_link=no
4349 fi
4350 rm -f conftest*
4351
4352 fi
4353
4354 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4355 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4356 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4357 cat >> confdefs.h <<EOF
4358 #define ${ac_tr_func} 1
4359 EOF
4360
4361 fi
4362 fi
4363
4364
4365 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4366 echo "configure:4367: checking for __builtin_sinl declaration" >&5
4367 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4368 echo $ac_n "(cached) $ac_c" 1>&6
4369 else
4370
4371
4372 ac_ext=C
4373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4374 ac_cpp='$CXXCPP $CPPFLAGS'
4375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4377 cross_compiling=$ac_cv_prog_cxx_cross
4378
4379 cat > conftest.$ac_ext <<EOF
4380 #line 4381 "configure"
4381 #include "confdefs.h"
4382 #include <math.h>
4383 int main() {
4384 __builtin_sinl(0);
4385 ; return 0; }
4386 EOF
4387 if { (eval echo configure:4388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4388 rm -rf conftest*
4389 glibcpp_cv_func___builtin_sinl_use=yes
4390 else
4391 echo "configure: failed program was:" >&5
4392 cat conftest.$ac_ext >&5
4393 rm -rf conftest*
4394 glibcpp_cv_func___builtin_sinl_use=no
4395 fi
4396 rm -f conftest*
4397 ac_ext=c
4398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4399 ac_cpp='$CPP $CPPFLAGS'
4400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4402 cross_compiling=$ac_cv_prog_cc_cross
4403
4404
4405 fi
4406
4407 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4408 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4409 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4410 echo "configure:4411: checking for __builtin_sinl linkage" >&5
4411 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4412 echo $ac_n "(cached) $ac_c" 1>&6
4413 else
4414
4415 cat > conftest.$ac_ext <<EOF
4416 #line 4417 "configure"
4417 #include "confdefs.h"
4418 #include <math.h>
4419 int main() {
4420 __builtin_sinl(0);
4421 ; return 0; }
4422 EOF
4423 if { (eval echo configure:4424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4424 rm -rf conftest*
4425 glibcpp_cv_func___builtin_sinl_link=yes
4426 else
4427 echo "configure: failed program was:" >&5
4428 cat conftest.$ac_ext >&5
4429 rm -rf conftest*
4430 glibcpp_cv_func___builtin_sinl_link=no
4431 fi
4432 rm -f conftest*
4433
4434 fi
4435
4436 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4437 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4438 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4439 cat >> confdefs.h <<EOF
4440 #define ${ac_tr_func} 1
4441 EOF
4442
4443 fi
4444 fi
4445
4446
4447
4448 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4449 echo "configure:4450: checking for __builtin_cosf declaration" >&5
4450 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4451 echo $ac_n "(cached) $ac_c" 1>&6
4452 else
4453
4454
4455 ac_ext=C
4456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4457 ac_cpp='$CXXCPP $CPPFLAGS'
4458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4460 cross_compiling=$ac_cv_prog_cxx_cross
4461
4462 cat > conftest.$ac_ext <<EOF
4463 #line 4464 "configure"
4464 #include "confdefs.h"
4465 #include <math.h>
4466 int main() {
4467 __builtin_cosf(0);
4468 ; return 0; }
4469 EOF
4470 if { (eval echo configure:4471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4471 rm -rf conftest*
4472 glibcpp_cv_func___builtin_cosf_use=yes
4473 else
4474 echo "configure: failed program was:" >&5
4475 cat conftest.$ac_ext >&5
4476 rm -rf conftest*
4477 glibcpp_cv_func___builtin_cosf_use=no
4478 fi
4479 rm -f conftest*
4480 ac_ext=c
4481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4482 ac_cpp='$CPP $CPPFLAGS'
4483 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4484 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4485 cross_compiling=$ac_cv_prog_cc_cross
4486
4487
4488 fi
4489
4490 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4491 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4492 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4493 echo "configure:4494: checking for __builtin_cosf linkage" >&5
4494 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4495 echo $ac_n "(cached) $ac_c" 1>&6
4496 else
4497
4498 cat > conftest.$ac_ext <<EOF
4499 #line 4500 "configure"
4500 #include "confdefs.h"
4501 #include <math.h>
4502 int main() {
4503 __builtin_cosf(0);
4504 ; return 0; }
4505 EOF
4506 if { (eval echo configure:4507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4507 rm -rf conftest*
4508 glibcpp_cv_func___builtin_cosf_link=yes
4509 else
4510 echo "configure: failed program was:" >&5
4511 cat conftest.$ac_ext >&5
4512 rm -rf conftest*
4513 glibcpp_cv_func___builtin_cosf_link=no
4514 fi
4515 rm -f conftest*
4516
4517 fi
4518
4519 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4520 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4521 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4522 cat >> confdefs.h <<EOF
4523 #define ${ac_tr_func} 1
4524 EOF
4525
4526 fi
4527 fi
4528
4529
4530 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4531 echo "configure:4532: checking for __builtin_cos declaration" >&5
4532 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4533 echo $ac_n "(cached) $ac_c" 1>&6
4534 else
4535
4536
4537 ac_ext=C
4538 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4539 ac_cpp='$CXXCPP $CPPFLAGS'
4540 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4541 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4542 cross_compiling=$ac_cv_prog_cxx_cross
4543
4544 cat > conftest.$ac_ext <<EOF
4545 #line 4546 "configure"
4546 #include "confdefs.h"
4547 #include <math.h>
4548 int main() {
4549 __builtin_cos(0);
4550 ; return 0; }
4551 EOF
4552 if { (eval echo configure:4553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4553 rm -rf conftest*
4554 glibcpp_cv_func___builtin_cos_use=yes
4555 else
4556 echo "configure: failed program was:" >&5
4557 cat conftest.$ac_ext >&5
4558 rm -rf conftest*
4559 glibcpp_cv_func___builtin_cos_use=no
4560 fi
4561 rm -f conftest*
4562 ac_ext=c
4563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4564 ac_cpp='$CPP $CPPFLAGS'
4565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4567 cross_compiling=$ac_cv_prog_cc_cross
4568
4569
4570 fi
4571
4572 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4573 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4574 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4575 echo "configure:4576: checking for __builtin_cos linkage" >&5
4576 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4577 echo $ac_n "(cached) $ac_c" 1>&6
4578 else
4579
4580 cat > conftest.$ac_ext <<EOF
4581 #line 4582 "configure"
4582 #include "confdefs.h"
4583 #include <math.h>
4584 int main() {
4585 __builtin_cos(0);
4586 ; return 0; }
4587 EOF
4588 if { (eval echo configure:4589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4589 rm -rf conftest*
4590 glibcpp_cv_func___builtin_cos_link=yes
4591 else
4592 echo "configure: failed program was:" >&5
4593 cat conftest.$ac_ext >&5
4594 rm -rf conftest*
4595 glibcpp_cv_func___builtin_cos_link=no
4596 fi
4597 rm -f conftest*
4598
4599 fi
4600
4601 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4602 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4603 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4604 cat >> confdefs.h <<EOF
4605 #define ${ac_tr_func} 1
4606 EOF
4607
4608 fi
4609 fi
4610
4611
4612 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4613 echo "configure:4614: checking for __builtin_cosl declaration" >&5
4614 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4615 echo $ac_n "(cached) $ac_c" 1>&6
4616 else
4617
4618
4619 ac_ext=C
4620 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4621 ac_cpp='$CXXCPP $CPPFLAGS'
4622 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4623 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4624 cross_compiling=$ac_cv_prog_cxx_cross
4625
4626 cat > conftest.$ac_ext <<EOF
4627 #line 4628 "configure"
4628 #include "confdefs.h"
4629 #include <math.h>
4630 int main() {
4631 __builtin_cosl(0);
4632 ; return 0; }
4633 EOF
4634 if { (eval echo configure:4635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4635 rm -rf conftest*
4636 glibcpp_cv_func___builtin_cosl_use=yes
4637 else
4638 echo "configure: failed program was:" >&5
4639 cat conftest.$ac_ext >&5
4640 rm -rf conftest*
4641 glibcpp_cv_func___builtin_cosl_use=no
4642 fi
4643 rm -f conftest*
4644 ac_ext=c
4645 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4646 ac_cpp='$CPP $CPPFLAGS'
4647 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4648 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4649 cross_compiling=$ac_cv_prog_cc_cross
4650
4651
4652 fi
4653
4654 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4655 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4656 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4657 echo "configure:4658: checking for __builtin_cosl linkage" >&5
4658 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4659 echo $ac_n "(cached) $ac_c" 1>&6
4660 else
4661
4662 cat > conftest.$ac_ext <<EOF
4663 #line 4664 "configure"
4664 #include "confdefs.h"
4665 #include <math.h>
4666 int main() {
4667 __builtin_cosl(0);
4668 ; return 0; }
4669 EOF
4670 if { (eval echo configure:4671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4671 rm -rf conftest*
4672 glibcpp_cv_func___builtin_cosl_link=yes
4673 else
4674 echo "configure: failed program was:" >&5
4675 cat conftest.$ac_ext >&5
4676 rm -rf conftest*
4677 glibcpp_cv_func___builtin_cosl_link=no
4678 fi
4679 rm -f conftest*
4680
4681 fi
4682
4683 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4684 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4685 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4686 cat >> confdefs.h <<EOF
4687 #define ${ac_tr_func} 1
4688 EOF
4689
4690 fi
4691 fi
4692
4693
4694 dummyvar=no
4695 if test x$dummyvar = x"yes"; then
4696 cat >> confdefs.h <<\EOF
4697 #define HAVE___BUILTIN_ABS 1
4698 EOF
4699
4700 cat >> confdefs.h <<\EOF
4701 #define HAVE___BUILTIN_LABS 1
4702 EOF
4703
4704 cat >> confdefs.h <<\EOF
4705 #define HAVE___BUILTIN_COS 1
4706 EOF
4707
4708 cat >> confdefs.h <<\EOF
4709 #define HAVE___BUILTIN_COSF 1
4710 EOF
4711
4712 cat >> confdefs.h <<\EOF
4713 #define HAVE___BUILTIN_COSL 1
4714 EOF
4715
4716 cat >> confdefs.h <<\EOF
4717 #define HAVE___BUILTIN_FABS 1
4718 EOF
4719
4720 cat >> confdefs.h <<\EOF
4721 #define HAVE___BUILTIN_FABSF 1
4722 EOF
4723
4724 cat >> confdefs.h <<\EOF
4725 #define HAVE___BUILTIN_FABSL 1
4726 EOF
4727
4728 cat >> confdefs.h <<\EOF
4729 #define HAVE___BUILTIN_SIN 1
4730 EOF
4731
4732 cat >> confdefs.h <<\EOF
4733 #define HAVE___BUILTIN_SINF 1
4734 EOF
4735
4736 cat >> confdefs.h <<\EOF
4737 #define HAVE___BUILTIN_SINL 1
4738 EOF
4739
4740 cat >> confdefs.h <<\EOF
4741 #define HAVE___BUILTIN_FSQRT 1
4742 EOF
4743
4744 cat >> confdefs.h <<\EOF
4745 #define HAVE___BUILTIN_SQRTF 1
4746 EOF
4747
4748 cat >> confdefs.h <<\EOF
4749 #define HAVE___BUILTIN_SQRTL 1
4750 EOF
4751
4752 fi
4753
4754
4755 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4756 ac_save_CXXFLAGS="$CXXFLAGS"
4757 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4758
4759 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4760 echo "configure:4761: checking for sin in -lm" >&5
4761 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4763 echo $ac_n "(cached) $ac_c" 1>&6
4764 else
4765 ac_save_LIBS="$LIBS"
4766 LIBS="-lm $LIBS"
4767 cat > conftest.$ac_ext <<EOF
4768 #line 4769 "configure"
4769 #include "confdefs.h"
4770 /* Override any gcc2 internal prototype to avoid an error. */
4771 /* We use char because int might match the return type of a gcc2
4772 builtin and then its argument prototype would still apply. */
4773 char sin();
4774
4775 int main() {
4776 sin()
4777 ; return 0; }
4778 EOF
4779 if { (eval echo configure:4780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4780 rm -rf conftest*
4781 eval "ac_cv_lib_$ac_lib_var=yes"
4782 else
4783 echo "configure: failed program was:" >&5
4784 cat conftest.$ac_ext >&5
4785 rm -rf conftest*
4786 eval "ac_cv_lib_$ac_lib_var=no"
4787 fi
4788 rm -f conftest*
4789 LIBS="$ac_save_LIBS"
4790
4791 fi
4792 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4793 echo "$ac_t""yes" 1>&6
4794 libm="-lm"
4795 else
4796 echo "$ac_t""no" 1>&6
4797 fi
4798
4799 ac_save_LIBS="$LIBS"
4800 LIBS="$LIBS $libm"
4801
4802 for ac_func in strtof strtold
4803 do
4804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4805 echo "configure:4806: checking for $ac_func" >&5
4806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4807 echo $ac_n "(cached) $ac_c" 1>&6
4808 else
4809 cat > conftest.$ac_ext <<EOF
4810 #line 4811 "configure"
4811 #include "confdefs.h"
4812 /* System header to define __stub macros and hopefully few prototypes,
4813 which can conflict with char $ac_func(); below. */
4814 #include <assert.h>
4815 /* Override any gcc2 internal prototype to avoid an error. */
4816 /* We use char because int might match the return type of a gcc2
4817 builtin and then its argument prototype would still apply. */
4818 char $ac_func();
4819
4820 int main() {
4821
4822 /* The GNU C library defines this for functions which it implements
4823 to always fail with ENOSYS. Some functions are actually named
4824 something starting with __ and the normal name is an alias. */
4825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4826 choke me
4827 #else
4828 $ac_func();
4829 #endif
4830
4831 ; return 0; }
4832 EOF
4833 if { (eval echo configure:4834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4834 rm -rf conftest*
4835 eval "ac_cv_func_$ac_func=yes"
4836 else
4837 echo "configure: failed program was:" >&5
4838 cat conftest.$ac_ext >&5
4839 rm -rf conftest*
4840 eval "ac_cv_func_$ac_func=no"
4841 fi
4842 rm -f conftest*
4843 fi
4844
4845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4846 echo "$ac_t""yes" 1>&6
4847 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4848 cat >> confdefs.h <<EOF
4849 #define $ac_tr_func 1
4850 EOF
4851
4852 else
4853 echo "$ac_t""no" 1>&6
4854 fi
4855 done
4856
4857
4858
4859 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4860 echo "configure:4861: checking for isinf declaration" >&5
4861 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4862 echo $ac_n "(cached) $ac_c" 1>&6
4863 else
4864
4865
4866 ac_ext=C
4867 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4868 ac_cpp='$CXXCPP $CPPFLAGS'
4869 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4870 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4871 cross_compiling=$ac_cv_prog_cxx_cross
4872
4873 cat > conftest.$ac_ext <<EOF
4874 #line 4875 "configure"
4875 #include "confdefs.h"
4876 #include <math.h>
4877 int main() {
4878 isinf(0);
4879 ; return 0; }
4880 EOF
4881 if { (eval echo configure:4882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4882 rm -rf conftest*
4883 glibcpp_cv_func_isinf_use=yes
4884 else
4885 echo "configure: failed program was:" >&5
4886 cat conftest.$ac_ext >&5
4887 rm -rf conftest*
4888 glibcpp_cv_func_isinf_use=no
4889 fi
4890 rm -f conftest*
4891 ac_ext=c
4892 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4893 ac_cpp='$CPP $CPPFLAGS'
4894 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4895 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4896 cross_compiling=$ac_cv_prog_cc_cross
4897
4898
4899 fi
4900
4901 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4902 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4903 for ac_func in isinf
4904 do
4905 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4906 echo "configure:4907: checking for $ac_func" >&5
4907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4908 echo $ac_n "(cached) $ac_c" 1>&6
4909 else
4910 cat > conftest.$ac_ext <<EOF
4911 #line 4912 "configure"
4912 #include "confdefs.h"
4913 /* System header to define __stub macros and hopefully few prototypes,
4914 which can conflict with char $ac_func(); below. */
4915 #include <assert.h>
4916 /* Override any gcc2 internal prototype to avoid an error. */
4917 /* We use char because int might match the return type of a gcc2
4918 builtin and then its argument prototype would still apply. */
4919 char $ac_func();
4920
4921 int main() {
4922
4923 /* The GNU C library defines this for functions which it implements
4924 to always fail with ENOSYS. Some functions are actually named
4925 something starting with __ and the normal name is an alias. */
4926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4927 choke me
4928 #else
4929 $ac_func();
4930 #endif
4931
4932 ; return 0; }
4933 EOF
4934 if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4935 rm -rf conftest*
4936 eval "ac_cv_func_$ac_func=yes"
4937 else
4938 echo "configure: failed program was:" >&5
4939 cat conftest.$ac_ext >&5
4940 rm -rf conftest*
4941 eval "ac_cv_func_$ac_func=no"
4942 fi
4943 rm -f conftest*
4944 fi
4945
4946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4947 echo "$ac_t""yes" 1>&6
4948 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4949 cat >> confdefs.h <<EOF
4950 #define $ac_tr_func 1
4951 EOF
4952
4953 else
4954 echo "$ac_t""no" 1>&6
4955 fi
4956 done
4957
4958 fi
4959
4960
4961 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4962 echo "configure:4963: checking for isnan declaration" >&5
4963 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4964 echo $ac_n "(cached) $ac_c" 1>&6
4965 else
4966
4967
4968 ac_ext=C
4969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4970 ac_cpp='$CXXCPP $CPPFLAGS'
4971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4973 cross_compiling=$ac_cv_prog_cxx_cross
4974
4975 cat > conftest.$ac_ext <<EOF
4976 #line 4977 "configure"
4977 #include "confdefs.h"
4978 #include <math.h>
4979 int main() {
4980 isnan(0);
4981 ; return 0; }
4982 EOF
4983 if { (eval echo configure:4984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4984 rm -rf conftest*
4985 glibcpp_cv_func_isnan_use=yes
4986 else
4987 echo "configure: failed program was:" >&5
4988 cat conftest.$ac_ext >&5
4989 rm -rf conftest*
4990 glibcpp_cv_func_isnan_use=no
4991 fi
4992 rm -f conftest*
4993 ac_ext=c
4994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4995 ac_cpp='$CPP $CPPFLAGS'
4996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4998 cross_compiling=$ac_cv_prog_cc_cross
4999
5000
5001 fi
5002
5003 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
5004 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
5005 for ac_func in isnan
5006 do
5007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5008 echo "configure:5009: checking for $ac_func" >&5
5009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5010 echo $ac_n "(cached) $ac_c" 1>&6
5011 else
5012 cat > conftest.$ac_ext <<EOF
5013 #line 5014 "configure"
5014 #include "confdefs.h"
5015 /* System header to define __stub macros and hopefully few prototypes,
5016 which can conflict with char $ac_func(); below. */
5017 #include <assert.h>
5018 /* Override any gcc2 internal prototype to avoid an error. */
5019 /* We use char because int might match the return type of a gcc2
5020 builtin and then its argument prototype would still apply. */
5021 char $ac_func();
5022
5023 int main() {
5024
5025 /* The GNU C library defines this for functions which it implements
5026 to always fail with ENOSYS. Some functions are actually named
5027 something starting with __ and the normal name is an alias. */
5028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5029 choke me
5030 #else
5031 $ac_func();
5032 #endif
5033
5034 ; return 0; }
5035 EOF
5036 if { (eval echo configure:5037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5037 rm -rf conftest*
5038 eval "ac_cv_func_$ac_func=yes"
5039 else
5040 echo "configure: failed program was:" >&5
5041 cat conftest.$ac_ext >&5
5042 rm -rf conftest*
5043 eval "ac_cv_func_$ac_func=no"
5044 fi
5045 rm -f conftest*
5046 fi
5047
5048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5049 echo "$ac_t""yes" 1>&6
5050 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5051 cat >> confdefs.h <<EOF
5052 #define $ac_tr_func 1
5053 EOF
5054
5055 else
5056 echo "$ac_t""no" 1>&6
5057 fi
5058 done
5059
5060 fi
5061
5062
5063 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
5064 echo "configure:5065: checking for finite declaration" >&5
5065 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
5066 echo $ac_n "(cached) $ac_c" 1>&6
5067 else
5068
5069
5070 ac_ext=C
5071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5072 ac_cpp='$CXXCPP $CPPFLAGS'
5073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5075 cross_compiling=$ac_cv_prog_cxx_cross
5076
5077 cat > conftest.$ac_ext <<EOF
5078 #line 5079 "configure"
5079 #include "confdefs.h"
5080 #include <math.h>
5081 int main() {
5082 finite(0);
5083 ; return 0; }
5084 EOF
5085 if { (eval echo configure:5086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5086 rm -rf conftest*
5087 glibcpp_cv_func_finite_use=yes
5088 else
5089 echo "configure: failed program was:" >&5
5090 cat conftest.$ac_ext >&5
5091 rm -rf conftest*
5092 glibcpp_cv_func_finite_use=no
5093 fi
5094 rm -f conftest*
5095 ac_ext=c
5096 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5097 ac_cpp='$CPP $CPPFLAGS'
5098 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5099 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5100 cross_compiling=$ac_cv_prog_cc_cross
5101
5102
5103 fi
5104
5105 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
5106 if test x$glibcpp_cv_func_finite_use = x"yes"; then
5107 for ac_func in finite
5108 do
5109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5110 echo "configure:5111: checking for $ac_func" >&5
5111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5112 echo $ac_n "(cached) $ac_c" 1>&6
5113 else
5114 cat > conftest.$ac_ext <<EOF
5115 #line 5116 "configure"
5116 #include "confdefs.h"
5117 /* System header to define __stub macros and hopefully few prototypes,
5118 which can conflict with char $ac_func(); below. */
5119 #include <assert.h>
5120 /* Override any gcc2 internal prototype to avoid an error. */
5121 /* We use char because int might match the return type of a gcc2
5122 builtin and then its argument prototype would still apply. */
5123 char $ac_func();
5124
5125 int main() {
5126
5127 /* The GNU C library defines this for functions which it implements
5128 to always fail with ENOSYS. Some functions are actually named
5129 something starting with __ and the normal name is an alias. */
5130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5131 choke me
5132 #else
5133 $ac_func();
5134 #endif
5135
5136 ; return 0; }
5137 EOF
5138 if { (eval echo configure:5139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5139 rm -rf conftest*
5140 eval "ac_cv_func_$ac_func=yes"
5141 else
5142 echo "configure: failed program was:" >&5
5143 cat conftest.$ac_ext >&5
5144 rm -rf conftest*
5145 eval "ac_cv_func_$ac_func=no"
5146 fi
5147 rm -f conftest*
5148 fi
5149
5150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5151 echo "$ac_t""yes" 1>&6
5152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5153 cat >> confdefs.h <<EOF
5154 #define $ac_tr_func 1
5155 EOF
5156
5157 else
5158 echo "$ac_t""no" 1>&6
5159 fi
5160 done
5161
5162 fi
5163
5164
5165 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5166 echo "configure:5167: checking for copysign declaration" >&5
5167 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5168 echo $ac_n "(cached) $ac_c" 1>&6
5169 else
5170
5171
5172 ac_ext=C
5173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5174 ac_cpp='$CXXCPP $CPPFLAGS'
5175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5177 cross_compiling=$ac_cv_prog_cxx_cross
5178
5179 cat > conftest.$ac_ext <<EOF
5180 #line 5181 "configure"
5181 #include "confdefs.h"
5182 #include <math.h>
5183 int main() {
5184 copysign(0, 0);
5185 ; return 0; }
5186 EOF
5187 if { (eval echo configure:5188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5188 rm -rf conftest*
5189 glibcpp_cv_func_copysign_use=yes
5190 else
5191 echo "configure: failed program was:" >&5
5192 cat conftest.$ac_ext >&5
5193 rm -rf conftest*
5194 glibcpp_cv_func_copysign_use=no
5195 fi
5196 rm -f conftest*
5197 ac_ext=c
5198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5199 ac_cpp='$CPP $CPPFLAGS'
5200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5202 cross_compiling=$ac_cv_prog_cc_cross
5203
5204
5205 fi
5206
5207 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5208 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5209 for ac_func in copysign
5210 do
5211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5212 echo "configure:5213: checking for $ac_func" >&5
5213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5214 echo $ac_n "(cached) $ac_c" 1>&6
5215 else
5216 cat > conftest.$ac_ext <<EOF
5217 #line 5218 "configure"
5218 #include "confdefs.h"
5219 /* System header to define __stub macros and hopefully few prototypes,
5220 which can conflict with char $ac_func(); below. */
5221 #include <assert.h>
5222 /* Override any gcc2 internal prototype to avoid an error. */
5223 /* We use char because int might match the return type of a gcc2
5224 builtin and then its argument prototype would still apply. */
5225 char $ac_func();
5226
5227 int main() {
5228
5229 /* The GNU C library defines this for functions which it implements
5230 to always fail with ENOSYS. Some functions are actually named
5231 something starting with __ and the normal name is an alias. */
5232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5233 choke me
5234 #else
5235 $ac_func();
5236 #endif
5237
5238 ; return 0; }
5239 EOF
5240 if { (eval echo configure:5241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5241 rm -rf conftest*
5242 eval "ac_cv_func_$ac_func=yes"
5243 else
5244 echo "configure: failed program was:" >&5
5245 cat conftest.$ac_ext >&5
5246 rm -rf conftest*
5247 eval "ac_cv_func_$ac_func=no"
5248 fi
5249 rm -f conftest*
5250 fi
5251
5252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5253 echo "$ac_t""yes" 1>&6
5254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5255 cat >> confdefs.h <<EOF
5256 #define $ac_tr_func 1
5257 EOF
5258
5259 else
5260 echo "$ac_t""no" 1>&6
5261 fi
5262 done
5263
5264 fi
5265
5266
5267 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5268 echo "configure:5269: checking for sincos declaration" >&5
5269 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5270 echo $ac_n "(cached) $ac_c" 1>&6
5271 else
5272
5273
5274 ac_ext=C
5275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5276 ac_cpp='$CXXCPP $CPPFLAGS'
5277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5279 cross_compiling=$ac_cv_prog_cxx_cross
5280
5281 cat > conftest.$ac_ext <<EOF
5282 #line 5283 "configure"
5283 #include "confdefs.h"
5284 #include <math.h>
5285 int main() {
5286 sincos(0, 0, 0);
5287 ; return 0; }
5288 EOF
5289 if { (eval echo configure:5290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5290 rm -rf conftest*
5291 glibcpp_cv_func_sincos_use=yes
5292 else
5293 echo "configure: failed program was:" >&5
5294 cat conftest.$ac_ext >&5
5295 rm -rf conftest*
5296 glibcpp_cv_func_sincos_use=no
5297 fi
5298 rm -f conftest*
5299 ac_ext=c
5300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5301 ac_cpp='$CPP $CPPFLAGS'
5302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5304 cross_compiling=$ac_cv_prog_cc_cross
5305
5306
5307 fi
5308
5309 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5310 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5311 for ac_func in sincos
5312 do
5313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5314 echo "configure:5315: checking for $ac_func" >&5
5315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5316 echo $ac_n "(cached) $ac_c" 1>&6
5317 else
5318 cat > conftest.$ac_ext <<EOF
5319 #line 5320 "configure"
5320 #include "confdefs.h"
5321 /* System header to define __stub macros and hopefully few prototypes,
5322 which can conflict with char $ac_func(); below. */
5323 #include <assert.h>
5324 /* Override any gcc2 internal prototype to avoid an error. */
5325 /* We use char because int might match the return type of a gcc2
5326 builtin and then its argument prototype would still apply. */
5327 char $ac_func();
5328
5329 int main() {
5330
5331 /* The GNU C library defines this for functions which it implements
5332 to always fail with ENOSYS. Some functions are actually named
5333 something starting with __ and the normal name is an alias. */
5334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5335 choke me
5336 #else
5337 $ac_func();
5338 #endif
5339
5340 ; return 0; }
5341 EOF
5342 if { (eval echo configure:5343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5343 rm -rf conftest*
5344 eval "ac_cv_func_$ac_func=yes"
5345 else
5346 echo "configure: failed program was:" >&5
5347 cat conftest.$ac_ext >&5
5348 rm -rf conftest*
5349 eval "ac_cv_func_$ac_func=no"
5350 fi
5351 rm -f conftest*
5352 fi
5353
5354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5355 echo "$ac_t""yes" 1>&6
5356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5357 cat >> confdefs.h <<EOF
5358 #define $ac_tr_func 1
5359 EOF
5360
5361 else
5362 echo "$ac_t""no" 1>&6
5363 fi
5364 done
5365
5366 fi
5367
5368
5369 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5370 echo "configure:5371: checking for fpclass declaration" >&5
5371 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5372 echo $ac_n "(cached) $ac_c" 1>&6
5373 else
5374
5375
5376 ac_ext=C
5377 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5378 ac_cpp='$CXXCPP $CPPFLAGS'
5379 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5380 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5381 cross_compiling=$ac_cv_prog_cxx_cross
5382
5383 cat > conftest.$ac_ext <<EOF
5384 #line 5385 "configure"
5385 #include "confdefs.h"
5386 #include <math.h>
5387 int main() {
5388 fpclass(0);
5389 ; return 0; }
5390 EOF
5391 if { (eval echo configure:5392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5392 rm -rf conftest*
5393 glibcpp_cv_func_fpclass_use=yes
5394 else
5395 echo "configure: failed program was:" >&5
5396 cat conftest.$ac_ext >&5
5397 rm -rf conftest*
5398 glibcpp_cv_func_fpclass_use=no
5399 fi
5400 rm -f conftest*
5401 ac_ext=c
5402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5403 ac_cpp='$CPP $CPPFLAGS'
5404 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5405 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5406 cross_compiling=$ac_cv_prog_cc_cross
5407
5408
5409 fi
5410
5411 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5412 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5413 for ac_func in fpclass
5414 do
5415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5416 echo "configure:5417: checking for $ac_func" >&5
5417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5418 echo $ac_n "(cached) $ac_c" 1>&6
5419 else
5420 cat > conftest.$ac_ext <<EOF
5421 #line 5422 "configure"
5422 #include "confdefs.h"
5423 /* System header to define __stub macros and hopefully few prototypes,
5424 which can conflict with char $ac_func(); below. */
5425 #include <assert.h>
5426 /* Override any gcc2 internal prototype to avoid an error. */
5427 /* We use char because int might match the return type of a gcc2
5428 builtin and then its argument prototype would still apply. */
5429 char $ac_func();
5430
5431 int main() {
5432
5433 /* The GNU C library defines this for functions which it implements
5434 to always fail with ENOSYS. Some functions are actually named
5435 something starting with __ and the normal name is an alias. */
5436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5437 choke me
5438 #else
5439 $ac_func();
5440 #endif
5441
5442 ; return 0; }
5443 EOF
5444 if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5445 rm -rf conftest*
5446 eval "ac_cv_func_$ac_func=yes"
5447 else
5448 echo "configure: failed program was:" >&5
5449 cat conftest.$ac_ext >&5
5450 rm -rf conftest*
5451 eval "ac_cv_func_$ac_func=no"
5452 fi
5453 rm -f conftest*
5454 fi
5455
5456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5457 echo "$ac_t""yes" 1>&6
5458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5459 cat >> confdefs.h <<EOF
5460 #define $ac_tr_func 1
5461 EOF
5462
5463 else
5464 echo "$ac_t""no" 1>&6
5465 fi
5466 done
5467
5468 fi
5469
5470
5471 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5472 echo "configure:5473: checking for qfpclass declaration" >&5
5473 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5474 echo $ac_n "(cached) $ac_c" 1>&6
5475 else
5476
5477
5478 ac_ext=C
5479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5480 ac_cpp='$CXXCPP $CPPFLAGS'
5481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5483 cross_compiling=$ac_cv_prog_cxx_cross
5484
5485 cat > conftest.$ac_ext <<EOF
5486 #line 5487 "configure"
5487 #include "confdefs.h"
5488 #include <math.h>
5489 int main() {
5490 qfpclass(0);
5491 ; return 0; }
5492 EOF
5493 if { (eval echo configure:5494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5494 rm -rf conftest*
5495 glibcpp_cv_func_qfpclass_use=yes
5496 else
5497 echo "configure: failed program was:" >&5
5498 cat conftest.$ac_ext >&5
5499 rm -rf conftest*
5500 glibcpp_cv_func_qfpclass_use=no
5501 fi
5502 rm -f conftest*
5503 ac_ext=c
5504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5505 ac_cpp='$CPP $CPPFLAGS'
5506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5508 cross_compiling=$ac_cv_prog_cc_cross
5509
5510
5511 fi
5512
5513 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5514 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5515 for ac_func in qfpclass
5516 do
5517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5518 echo "configure:5519: checking for $ac_func" >&5
5519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5520 echo $ac_n "(cached) $ac_c" 1>&6
5521 else
5522 cat > conftest.$ac_ext <<EOF
5523 #line 5524 "configure"
5524 #include "confdefs.h"
5525 /* System header to define __stub macros and hopefully few prototypes,
5526 which can conflict with char $ac_func(); below. */
5527 #include <assert.h>
5528 /* Override any gcc2 internal prototype to avoid an error. */
5529 /* We use char because int might match the return type of a gcc2
5530 builtin and then its argument prototype would still apply. */
5531 char $ac_func();
5532
5533 int main() {
5534
5535 /* The GNU C library defines this for functions which it implements
5536 to always fail with ENOSYS. Some functions are actually named
5537 something starting with __ and the normal name is an alias. */
5538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5539 choke me
5540 #else
5541 $ac_func();
5542 #endif
5543
5544 ; return 0; }
5545 EOF
5546 if { (eval echo configure:5547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5547 rm -rf conftest*
5548 eval "ac_cv_func_$ac_func=yes"
5549 else
5550 echo "configure: failed program was:" >&5
5551 cat conftest.$ac_ext >&5
5552 rm -rf conftest*
5553 eval "ac_cv_func_$ac_func=no"
5554 fi
5555 rm -f conftest*
5556 fi
5557
5558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5559 echo "$ac_t""yes" 1>&6
5560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5561 cat >> confdefs.h <<EOF
5562 #define $ac_tr_func 1
5563 EOF
5564
5565 else
5566 echo "$ac_t""no" 1>&6
5567 fi
5568 done
5569
5570 fi
5571
5572
5573
5574 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5575 echo "configure:5576: checking for isnanf declaration" >&5
5576 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5577 echo $ac_n "(cached) $ac_c" 1>&6
5578 else
5579
5580
5581 ac_ext=C
5582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5583 ac_cpp='$CXXCPP $CPPFLAGS'
5584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5586 cross_compiling=$ac_cv_prog_cxx_cross
5587
5588 cat > conftest.$ac_ext <<EOF
5589 #line 5590 "configure"
5590 #include "confdefs.h"
5591 #include <math.h>
5592 int main() {
5593 isnanf(0);
5594 ; return 0; }
5595 EOF
5596 if { (eval echo configure:5597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5597 rm -rf conftest*
5598 glibcpp_cv_func_isnanf_use=yes
5599 else
5600 echo "configure: failed program was:" >&5
5601 cat conftest.$ac_ext >&5
5602 rm -rf conftest*
5603 glibcpp_cv_func_isnanf_use=no
5604 fi
5605 rm -f conftest*
5606 ac_ext=c
5607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5608 ac_cpp='$CPP $CPPFLAGS'
5609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5611 cross_compiling=$ac_cv_prog_cc_cross
5612
5613
5614 fi
5615
5616 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5617 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5618 for ac_func in isnanf
5619 do
5620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5621 echo "configure:5622: checking for $ac_func" >&5
5622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5623 echo $ac_n "(cached) $ac_c" 1>&6
5624 else
5625 cat > conftest.$ac_ext <<EOF
5626 #line 5627 "configure"
5627 #include "confdefs.h"
5628 /* System header to define __stub macros and hopefully few prototypes,
5629 which can conflict with char $ac_func(); below. */
5630 #include <assert.h>
5631 /* Override any gcc2 internal prototype to avoid an error. */
5632 /* We use char because int might match the return type of a gcc2
5633 builtin and then its argument prototype would still apply. */
5634 char $ac_func();
5635
5636 int main() {
5637
5638 /* The GNU C library defines this for functions which it implements
5639 to always fail with ENOSYS. Some functions are actually named
5640 something starting with __ and the normal name is an alias. */
5641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5642 choke me
5643 #else
5644 $ac_func();
5645 #endif
5646
5647 ; return 0; }
5648 EOF
5649 if { (eval echo configure:5650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5650 rm -rf conftest*
5651 eval "ac_cv_func_$ac_func=yes"
5652 else
5653 echo "configure: failed program was:" >&5
5654 cat conftest.$ac_ext >&5
5655 rm -rf conftest*
5656 eval "ac_cv_func_$ac_func=no"
5657 fi
5658 rm -f conftest*
5659 fi
5660
5661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5662 echo "$ac_t""yes" 1>&6
5663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5664 cat >> confdefs.h <<EOF
5665 #define $ac_tr_func 1
5666 EOF
5667
5668 else
5669 echo "$ac_t""no" 1>&6
5670 fi
5671 done
5672
5673 fi
5674
5675
5676 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5677 echo "configure:5678: checking for isinff declaration" >&5
5678 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5679 echo $ac_n "(cached) $ac_c" 1>&6
5680 else
5681
5682
5683 ac_ext=C
5684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5685 ac_cpp='$CXXCPP $CPPFLAGS'
5686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5688 cross_compiling=$ac_cv_prog_cxx_cross
5689
5690 cat > conftest.$ac_ext <<EOF
5691 #line 5692 "configure"
5692 #include "confdefs.h"
5693 #include <math.h>
5694 int main() {
5695 isinff(0);
5696 ; return 0; }
5697 EOF
5698 if { (eval echo configure:5699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5699 rm -rf conftest*
5700 glibcpp_cv_func_isinff_use=yes
5701 else
5702 echo "configure: failed program was:" >&5
5703 cat conftest.$ac_ext >&5
5704 rm -rf conftest*
5705 glibcpp_cv_func_isinff_use=no
5706 fi
5707 rm -f conftest*
5708 ac_ext=c
5709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5710 ac_cpp='$CPP $CPPFLAGS'
5711 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5712 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5713 cross_compiling=$ac_cv_prog_cc_cross
5714
5715
5716 fi
5717
5718 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5719 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5720 for ac_func in isinff
5721 do
5722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5723 echo "configure:5724: checking for $ac_func" >&5
5724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5725 echo $ac_n "(cached) $ac_c" 1>&6
5726 else
5727 cat > conftest.$ac_ext <<EOF
5728 #line 5729 "configure"
5729 #include "confdefs.h"
5730 /* System header to define __stub macros and hopefully few prototypes,
5731 which can conflict with char $ac_func(); below. */
5732 #include <assert.h>
5733 /* Override any gcc2 internal prototype to avoid an error. */
5734 /* We use char because int might match the return type of a gcc2
5735 builtin and then its argument prototype would still apply. */
5736 char $ac_func();
5737
5738 int main() {
5739
5740 /* The GNU C library defines this for functions which it implements
5741 to always fail with ENOSYS. Some functions are actually named
5742 something starting with __ and the normal name is an alias. */
5743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5744 choke me
5745 #else
5746 $ac_func();
5747 #endif
5748
5749 ; return 0; }
5750 EOF
5751 if { (eval echo configure:5752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5752 rm -rf conftest*
5753 eval "ac_cv_func_$ac_func=yes"
5754 else
5755 echo "configure: failed program was:" >&5
5756 cat conftest.$ac_ext >&5
5757 rm -rf conftest*
5758 eval "ac_cv_func_$ac_func=no"
5759 fi
5760 rm -f conftest*
5761 fi
5762
5763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5764 echo "$ac_t""yes" 1>&6
5765 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5766 cat >> confdefs.h <<EOF
5767 #define $ac_tr_func 1
5768 EOF
5769
5770 else
5771 echo "$ac_t""no" 1>&6
5772 fi
5773 done
5774
5775 fi
5776
5777
5778 echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5779 echo "configure:5780: checking for acosf declaration" >&5
5780 if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5781 echo $ac_n "(cached) $ac_c" 1>&6
5782 else
5783
5784
5785 ac_ext=C
5786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5787 ac_cpp='$CXXCPP $CPPFLAGS'
5788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5790 cross_compiling=$ac_cv_prog_cxx_cross
5791
5792 cat > conftest.$ac_ext <<EOF
5793 #line 5794 "configure"
5794 #include "confdefs.h"
5795 #include <math.h>
5796 int main() {
5797 acosf(0);
5798 ; return 0; }
5799 EOF
5800 if { (eval echo configure:5801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5801 rm -rf conftest*
5802 glibcpp_cv_func_acosf_use=yes
5803 else
5804 echo "configure: failed program was:" >&5
5805 cat conftest.$ac_ext >&5
5806 rm -rf conftest*
5807 glibcpp_cv_func_acosf_use=no
5808 fi
5809 rm -f conftest*
5810 ac_ext=c
5811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5812 ac_cpp='$CPP $CPPFLAGS'
5813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5815 cross_compiling=$ac_cv_prog_cc_cross
5816
5817
5818 fi
5819
5820 echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5821 if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5822 for ac_func in acosf
5823 do
5824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5825 echo "configure:5826: checking for $ac_func" >&5
5826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5827 echo $ac_n "(cached) $ac_c" 1>&6
5828 else
5829 cat > conftest.$ac_ext <<EOF
5830 #line 5831 "configure"
5831 #include "confdefs.h"
5832 /* System header to define __stub macros and hopefully few prototypes,
5833 which can conflict with char $ac_func(); below. */
5834 #include <assert.h>
5835 /* Override any gcc2 internal prototype to avoid an error. */
5836 /* We use char because int might match the return type of a gcc2
5837 builtin and then its argument prototype would still apply. */
5838 char $ac_func();
5839
5840 int main() {
5841
5842 /* The GNU C library defines this for functions which it implements
5843 to always fail with ENOSYS. Some functions are actually named
5844 something starting with __ and the normal name is an alias. */
5845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5846 choke me
5847 #else
5848 $ac_func();
5849 #endif
5850
5851 ; return 0; }
5852 EOF
5853 if { (eval echo configure:5854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5854 rm -rf conftest*
5855 eval "ac_cv_func_$ac_func=yes"
5856 else
5857 echo "configure: failed program was:" >&5
5858 cat conftest.$ac_ext >&5
5859 rm -rf conftest*
5860 eval "ac_cv_func_$ac_func=no"
5861 fi
5862 rm -f conftest*
5863 fi
5864
5865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5866 echo "$ac_t""yes" 1>&6
5867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5868 cat >> confdefs.h <<EOF
5869 #define $ac_tr_func 1
5870 EOF
5871
5872 else
5873 echo "$ac_t""no" 1>&6
5874 fi
5875 done
5876
5877 fi
5878
5879
5880 echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5881 echo "configure:5882: checking for asinf declaration" >&5
5882 if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5883 echo $ac_n "(cached) $ac_c" 1>&6
5884 else
5885
5886
5887 ac_ext=C
5888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5889 ac_cpp='$CXXCPP $CPPFLAGS'
5890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5892 cross_compiling=$ac_cv_prog_cxx_cross
5893
5894 cat > conftest.$ac_ext <<EOF
5895 #line 5896 "configure"
5896 #include "confdefs.h"
5897 #include <math.h>
5898 int main() {
5899 asinf(0);
5900 ; return 0; }
5901 EOF
5902 if { (eval echo configure:5903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5903 rm -rf conftest*
5904 glibcpp_cv_func_asinf_use=yes
5905 else
5906 echo "configure: failed program was:" >&5
5907 cat conftest.$ac_ext >&5
5908 rm -rf conftest*
5909 glibcpp_cv_func_asinf_use=no
5910 fi
5911 rm -f conftest*
5912 ac_ext=c
5913 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5914 ac_cpp='$CPP $CPPFLAGS'
5915 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5916 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5917 cross_compiling=$ac_cv_prog_cc_cross
5918
5919
5920 fi
5921
5922 echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5923 if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5924 for ac_func in asinf
5925 do
5926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5927 echo "configure:5928: checking for $ac_func" >&5
5928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5929 echo $ac_n "(cached) $ac_c" 1>&6
5930 else
5931 cat > conftest.$ac_ext <<EOF
5932 #line 5933 "configure"
5933 #include "confdefs.h"
5934 /* System header to define __stub macros and hopefully few prototypes,
5935 which can conflict with char $ac_func(); below. */
5936 #include <assert.h>
5937 /* Override any gcc2 internal prototype to avoid an error. */
5938 /* We use char because int might match the return type of a gcc2
5939 builtin and then its argument prototype would still apply. */
5940 char $ac_func();
5941
5942 int main() {
5943
5944 /* The GNU C library defines this for functions which it implements
5945 to always fail with ENOSYS. Some functions are actually named
5946 something starting with __ and the normal name is an alias. */
5947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5948 choke me
5949 #else
5950 $ac_func();
5951 #endif
5952
5953 ; return 0; }
5954 EOF
5955 if { (eval echo configure:5956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5956 rm -rf conftest*
5957 eval "ac_cv_func_$ac_func=yes"
5958 else
5959 echo "configure: failed program was:" >&5
5960 cat conftest.$ac_ext >&5
5961 rm -rf conftest*
5962 eval "ac_cv_func_$ac_func=no"
5963 fi
5964 rm -f conftest*
5965 fi
5966
5967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5968 echo "$ac_t""yes" 1>&6
5969 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5970 cat >> confdefs.h <<EOF
5971 #define $ac_tr_func 1
5972 EOF
5973
5974 else
5975 echo "$ac_t""no" 1>&6
5976 fi
5977 done
5978
5979 fi
5980
5981
5982 echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
5983 echo "configure:5984: checking for atanf declaration" >&5
5984 if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
5985 echo $ac_n "(cached) $ac_c" 1>&6
5986 else
5987
5988
5989 ac_ext=C
5990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5991 ac_cpp='$CXXCPP $CPPFLAGS'
5992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5994 cross_compiling=$ac_cv_prog_cxx_cross
5995
5996 cat > conftest.$ac_ext <<EOF
5997 #line 5998 "configure"
5998 #include "confdefs.h"
5999 #include <math.h>
6000 int main() {
6001 atanf(0);
6002 ; return 0; }
6003 EOF
6004 if { (eval echo configure:6005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6005 rm -rf conftest*
6006 glibcpp_cv_func_atanf_use=yes
6007 else
6008 echo "configure: failed program was:" >&5
6009 cat conftest.$ac_ext >&5
6010 rm -rf conftest*
6011 glibcpp_cv_func_atanf_use=no
6012 fi
6013 rm -f conftest*
6014 ac_ext=c
6015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6016 ac_cpp='$CPP $CPPFLAGS'
6017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6019 cross_compiling=$ac_cv_prog_cc_cross
6020
6021
6022 fi
6023
6024 echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
6025 if test x$glibcpp_cv_func_atanf_use = x"yes"; then
6026 for ac_func in atanf
6027 do
6028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6029 echo "configure:6030: checking for $ac_func" >&5
6030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6031 echo $ac_n "(cached) $ac_c" 1>&6
6032 else
6033 cat > conftest.$ac_ext <<EOF
6034 #line 6035 "configure"
6035 #include "confdefs.h"
6036 /* System header to define __stub macros and hopefully few prototypes,
6037 which can conflict with char $ac_func(); below. */
6038 #include <assert.h>
6039 /* Override any gcc2 internal prototype to avoid an error. */
6040 /* We use char because int might match the return type of a gcc2
6041 builtin and then its argument prototype would still apply. */
6042 char $ac_func();
6043
6044 int main() {
6045
6046 /* The GNU C library defines this for functions which it implements
6047 to always fail with ENOSYS. Some functions are actually named
6048 something starting with __ and the normal name is an alias. */
6049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6050 choke me
6051 #else
6052 $ac_func();
6053 #endif
6054
6055 ; return 0; }
6056 EOF
6057 if { (eval echo configure:6058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6058 rm -rf conftest*
6059 eval "ac_cv_func_$ac_func=yes"
6060 else
6061 echo "configure: failed program was:" >&5
6062 cat conftest.$ac_ext >&5
6063 rm -rf conftest*
6064 eval "ac_cv_func_$ac_func=no"
6065 fi
6066 rm -f conftest*
6067 fi
6068
6069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6070 echo "$ac_t""yes" 1>&6
6071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6072 cat >> confdefs.h <<EOF
6073 #define $ac_tr_func 1
6074 EOF
6075
6076 else
6077 echo "$ac_t""no" 1>&6
6078 fi
6079 done
6080
6081 fi
6082
6083
6084 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
6085 echo "configure:6086: checking for atan2f declaration" >&5
6086 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
6087 echo $ac_n "(cached) $ac_c" 1>&6
6088 else
6089
6090
6091 ac_ext=C
6092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6093 ac_cpp='$CXXCPP $CPPFLAGS'
6094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6096 cross_compiling=$ac_cv_prog_cxx_cross
6097
6098 cat > conftest.$ac_ext <<EOF
6099 #line 6100 "configure"
6100 #include "confdefs.h"
6101 #include <math.h>
6102 int main() {
6103 atan2f(0, 0);
6104 ; return 0; }
6105 EOF
6106 if { (eval echo configure:6107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6107 rm -rf conftest*
6108 glibcpp_cv_func_atan2f_use=yes
6109 else
6110 echo "configure: failed program was:" >&5
6111 cat conftest.$ac_ext >&5
6112 rm -rf conftest*
6113 glibcpp_cv_func_atan2f_use=no
6114 fi
6115 rm -f conftest*
6116 ac_ext=c
6117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6118 ac_cpp='$CPP $CPPFLAGS'
6119 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6120 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6121 cross_compiling=$ac_cv_prog_cc_cross
6122
6123
6124 fi
6125
6126 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6127 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6128 for ac_func in atan2f
6129 do
6130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6131 echo "configure:6132: checking for $ac_func" >&5
6132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6133 echo $ac_n "(cached) $ac_c" 1>&6
6134 else
6135 cat > conftest.$ac_ext <<EOF
6136 #line 6137 "configure"
6137 #include "confdefs.h"
6138 /* System header to define __stub macros and hopefully few prototypes,
6139 which can conflict with char $ac_func(); below. */
6140 #include <assert.h>
6141 /* Override any gcc2 internal prototype to avoid an error. */
6142 /* We use char because int might match the return type of a gcc2
6143 builtin and then its argument prototype would still apply. */
6144 char $ac_func();
6145
6146 int main() {
6147
6148 /* The GNU C library defines this for functions which it implements
6149 to always fail with ENOSYS. Some functions are actually named
6150 something starting with __ and the normal name is an alias. */
6151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6152 choke me
6153 #else
6154 $ac_func();
6155 #endif
6156
6157 ; return 0; }
6158 EOF
6159 if { (eval echo configure:6160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6160 rm -rf conftest*
6161 eval "ac_cv_func_$ac_func=yes"
6162 else
6163 echo "configure: failed program was:" >&5
6164 cat conftest.$ac_ext >&5
6165 rm -rf conftest*
6166 eval "ac_cv_func_$ac_func=no"
6167 fi
6168 rm -f conftest*
6169 fi
6170
6171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6172 echo "$ac_t""yes" 1>&6
6173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6174 cat >> confdefs.h <<EOF
6175 #define $ac_tr_func 1
6176 EOF
6177
6178 else
6179 echo "$ac_t""no" 1>&6
6180 fi
6181 done
6182
6183 fi
6184
6185
6186 echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6187 echo "configure:6188: checking for ceilf declaration" >&5
6188 if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6189 echo $ac_n "(cached) $ac_c" 1>&6
6190 else
6191
6192
6193 ac_ext=C
6194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6195 ac_cpp='$CXXCPP $CPPFLAGS'
6196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6198 cross_compiling=$ac_cv_prog_cxx_cross
6199
6200 cat > conftest.$ac_ext <<EOF
6201 #line 6202 "configure"
6202 #include "confdefs.h"
6203 #include <math.h>
6204 int main() {
6205 ceilf(0);
6206 ; return 0; }
6207 EOF
6208 if { (eval echo configure:6209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6209 rm -rf conftest*
6210 glibcpp_cv_func_ceilf_use=yes
6211 else
6212 echo "configure: failed program was:" >&5
6213 cat conftest.$ac_ext >&5
6214 rm -rf conftest*
6215 glibcpp_cv_func_ceilf_use=no
6216 fi
6217 rm -f conftest*
6218 ac_ext=c
6219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6220 ac_cpp='$CPP $CPPFLAGS'
6221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6223 cross_compiling=$ac_cv_prog_cc_cross
6224
6225
6226 fi
6227
6228 echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6229 if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6230 for ac_func in ceilf
6231 do
6232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6233 echo "configure:6234: checking for $ac_func" >&5
6234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6235 echo $ac_n "(cached) $ac_c" 1>&6
6236 else
6237 cat > conftest.$ac_ext <<EOF
6238 #line 6239 "configure"
6239 #include "confdefs.h"
6240 /* System header to define __stub macros and hopefully few prototypes,
6241 which can conflict with char $ac_func(); below. */
6242 #include <assert.h>
6243 /* Override any gcc2 internal prototype to avoid an error. */
6244 /* We use char because int might match the return type of a gcc2
6245 builtin and then its argument prototype would still apply. */
6246 char $ac_func();
6247
6248 int main() {
6249
6250 /* The GNU C library defines this for functions which it implements
6251 to always fail with ENOSYS. Some functions are actually named
6252 something starting with __ and the normal name is an alias. */
6253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6254 choke me
6255 #else
6256 $ac_func();
6257 #endif
6258
6259 ; return 0; }
6260 EOF
6261 if { (eval echo configure:6262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6262 rm -rf conftest*
6263 eval "ac_cv_func_$ac_func=yes"
6264 else
6265 echo "configure: failed program was:" >&5
6266 cat conftest.$ac_ext >&5
6267 rm -rf conftest*
6268 eval "ac_cv_func_$ac_func=no"
6269 fi
6270 rm -f conftest*
6271 fi
6272
6273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6274 echo "$ac_t""yes" 1>&6
6275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6276 cat >> confdefs.h <<EOF
6277 #define $ac_tr_func 1
6278 EOF
6279
6280 else
6281 echo "$ac_t""no" 1>&6
6282 fi
6283 done
6284
6285 fi
6286
6287
6288 echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6289 echo "configure:6290: checking for cosf declaration" >&5
6290 if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6291 echo $ac_n "(cached) $ac_c" 1>&6
6292 else
6293
6294
6295 ac_ext=C
6296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6297 ac_cpp='$CXXCPP $CPPFLAGS'
6298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6300 cross_compiling=$ac_cv_prog_cxx_cross
6301
6302 cat > conftest.$ac_ext <<EOF
6303 #line 6304 "configure"
6304 #include "confdefs.h"
6305 #include <math.h>
6306 int main() {
6307 cosf(0);
6308 ; return 0; }
6309 EOF
6310 if { (eval echo configure:6311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6311 rm -rf conftest*
6312 glibcpp_cv_func_cosf_use=yes
6313 else
6314 echo "configure: failed program was:" >&5
6315 cat conftest.$ac_ext >&5
6316 rm -rf conftest*
6317 glibcpp_cv_func_cosf_use=no
6318 fi
6319 rm -f conftest*
6320 ac_ext=c
6321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6322 ac_cpp='$CPP $CPPFLAGS'
6323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6325 cross_compiling=$ac_cv_prog_cc_cross
6326
6327
6328 fi
6329
6330 echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6331 if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6332 for ac_func in cosf
6333 do
6334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6335 echo "configure:6336: checking for $ac_func" >&5
6336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6337 echo $ac_n "(cached) $ac_c" 1>&6
6338 else
6339 cat > conftest.$ac_ext <<EOF
6340 #line 6341 "configure"
6341 #include "confdefs.h"
6342 /* System header to define __stub macros and hopefully few prototypes,
6343 which can conflict with char $ac_func(); below. */
6344 #include <assert.h>
6345 /* Override any gcc2 internal prototype to avoid an error. */
6346 /* We use char because int might match the return type of a gcc2
6347 builtin and then its argument prototype would still apply. */
6348 char $ac_func();
6349
6350 int main() {
6351
6352 /* The GNU C library defines this for functions which it implements
6353 to always fail with ENOSYS. Some functions are actually named
6354 something starting with __ and the normal name is an alias. */
6355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6356 choke me
6357 #else
6358 $ac_func();
6359 #endif
6360
6361 ; return 0; }
6362 EOF
6363 if { (eval echo configure:6364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6364 rm -rf conftest*
6365 eval "ac_cv_func_$ac_func=yes"
6366 else
6367 echo "configure: failed program was:" >&5
6368 cat conftest.$ac_ext >&5
6369 rm -rf conftest*
6370 eval "ac_cv_func_$ac_func=no"
6371 fi
6372 rm -f conftest*
6373 fi
6374
6375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6376 echo "$ac_t""yes" 1>&6
6377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6378 cat >> confdefs.h <<EOF
6379 #define $ac_tr_func 1
6380 EOF
6381
6382 else
6383 echo "$ac_t""no" 1>&6
6384 fi
6385 done
6386
6387 fi
6388
6389
6390 echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6391 echo "configure:6392: checking for coshf declaration" >&5
6392 if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6393 echo $ac_n "(cached) $ac_c" 1>&6
6394 else
6395
6396
6397 ac_ext=C
6398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6399 ac_cpp='$CXXCPP $CPPFLAGS'
6400 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6401 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6402 cross_compiling=$ac_cv_prog_cxx_cross
6403
6404 cat > conftest.$ac_ext <<EOF
6405 #line 6406 "configure"
6406 #include "confdefs.h"
6407 #include <math.h>
6408 int main() {
6409 coshf(0);
6410 ; return 0; }
6411 EOF
6412 if { (eval echo configure:6413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6413 rm -rf conftest*
6414 glibcpp_cv_func_coshf_use=yes
6415 else
6416 echo "configure: failed program was:" >&5
6417 cat conftest.$ac_ext >&5
6418 rm -rf conftest*
6419 glibcpp_cv_func_coshf_use=no
6420 fi
6421 rm -f conftest*
6422 ac_ext=c
6423 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6424 ac_cpp='$CPP $CPPFLAGS'
6425 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6426 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6427 cross_compiling=$ac_cv_prog_cc_cross
6428
6429
6430 fi
6431
6432 echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6433 if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6434 for ac_func in coshf
6435 do
6436 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6437 echo "configure:6438: checking for $ac_func" >&5
6438 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6439 echo $ac_n "(cached) $ac_c" 1>&6
6440 else
6441 cat > conftest.$ac_ext <<EOF
6442 #line 6443 "configure"
6443 #include "confdefs.h"
6444 /* System header to define __stub macros and hopefully few prototypes,
6445 which can conflict with char $ac_func(); below. */
6446 #include <assert.h>
6447 /* Override any gcc2 internal prototype to avoid an error. */
6448 /* We use char because int might match the return type of a gcc2
6449 builtin and then its argument prototype would still apply. */
6450 char $ac_func();
6451
6452 int main() {
6453
6454 /* The GNU C library defines this for functions which it implements
6455 to always fail with ENOSYS. Some functions are actually named
6456 something starting with __ and the normal name is an alias. */
6457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6458 choke me
6459 #else
6460 $ac_func();
6461 #endif
6462
6463 ; return 0; }
6464 EOF
6465 if { (eval echo configure:6466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6466 rm -rf conftest*
6467 eval "ac_cv_func_$ac_func=yes"
6468 else
6469 echo "configure: failed program was:" >&5
6470 cat conftest.$ac_ext >&5
6471 rm -rf conftest*
6472 eval "ac_cv_func_$ac_func=no"
6473 fi
6474 rm -f conftest*
6475 fi
6476
6477 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6478 echo "$ac_t""yes" 1>&6
6479 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6480 cat >> confdefs.h <<EOF
6481 #define $ac_tr_func 1
6482 EOF
6483
6484 else
6485 echo "$ac_t""no" 1>&6
6486 fi
6487 done
6488
6489 fi
6490
6491
6492 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6493 echo "configure:6494: checking for expf declaration" >&5
6494 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6495 echo $ac_n "(cached) $ac_c" 1>&6
6496 else
6497
6498
6499 ac_ext=C
6500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6501 ac_cpp='$CXXCPP $CPPFLAGS'
6502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6504 cross_compiling=$ac_cv_prog_cxx_cross
6505
6506 cat > conftest.$ac_ext <<EOF
6507 #line 6508 "configure"
6508 #include "confdefs.h"
6509 #include <math.h>
6510 int main() {
6511 expf(0);
6512 ; return 0; }
6513 EOF
6514 if { (eval echo configure:6515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6515 rm -rf conftest*
6516 glibcpp_cv_func_expf_use=yes
6517 else
6518 echo "configure: failed program was:" >&5
6519 cat conftest.$ac_ext >&5
6520 rm -rf conftest*
6521 glibcpp_cv_func_expf_use=no
6522 fi
6523 rm -f conftest*
6524 ac_ext=c
6525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6526 ac_cpp='$CPP $CPPFLAGS'
6527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6529 cross_compiling=$ac_cv_prog_cc_cross
6530
6531
6532 fi
6533
6534 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6535 if test x$glibcpp_cv_func_expf_use = x"yes"; then
6536 for ac_func in expf
6537 do
6538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6539 echo "configure:6540: checking for $ac_func" >&5
6540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6541 echo $ac_n "(cached) $ac_c" 1>&6
6542 else
6543 cat > conftest.$ac_ext <<EOF
6544 #line 6545 "configure"
6545 #include "confdefs.h"
6546 /* System header to define __stub macros and hopefully few prototypes,
6547 which can conflict with char $ac_func(); below. */
6548 #include <assert.h>
6549 /* Override any gcc2 internal prototype to avoid an error. */
6550 /* We use char because int might match the return type of a gcc2
6551 builtin and then its argument prototype would still apply. */
6552 char $ac_func();
6553
6554 int main() {
6555
6556 /* The GNU C library defines this for functions which it implements
6557 to always fail with ENOSYS. Some functions are actually named
6558 something starting with __ and the normal name is an alias. */
6559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6560 choke me
6561 #else
6562 $ac_func();
6563 #endif
6564
6565 ; return 0; }
6566 EOF
6567 if { (eval echo configure:6568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6568 rm -rf conftest*
6569 eval "ac_cv_func_$ac_func=yes"
6570 else
6571 echo "configure: failed program was:" >&5
6572 cat conftest.$ac_ext >&5
6573 rm -rf conftest*
6574 eval "ac_cv_func_$ac_func=no"
6575 fi
6576 rm -f conftest*
6577 fi
6578
6579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6580 echo "$ac_t""yes" 1>&6
6581 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6582 cat >> confdefs.h <<EOF
6583 #define $ac_tr_func 1
6584 EOF
6585
6586 else
6587 echo "$ac_t""no" 1>&6
6588 fi
6589 done
6590
6591 fi
6592
6593
6594 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6595 echo "configure:6596: checking for fabsf declaration" >&5
6596 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6597 echo $ac_n "(cached) $ac_c" 1>&6
6598 else
6599
6600
6601 ac_ext=C
6602 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6603 ac_cpp='$CXXCPP $CPPFLAGS'
6604 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6605 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6606 cross_compiling=$ac_cv_prog_cxx_cross
6607
6608 cat > conftest.$ac_ext <<EOF
6609 #line 6610 "configure"
6610 #include "confdefs.h"
6611 #include <math.h>
6612 int main() {
6613 fabsf(0);
6614 ; return 0; }
6615 EOF
6616 if { (eval echo configure:6617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6617 rm -rf conftest*
6618 glibcpp_cv_func_fabsf_use=yes
6619 else
6620 echo "configure: failed program was:" >&5
6621 cat conftest.$ac_ext >&5
6622 rm -rf conftest*
6623 glibcpp_cv_func_fabsf_use=no
6624 fi
6625 rm -f conftest*
6626 ac_ext=c
6627 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6628 ac_cpp='$CPP $CPPFLAGS'
6629 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6630 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6631 cross_compiling=$ac_cv_prog_cc_cross
6632
6633
6634 fi
6635
6636 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6637 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6638 for ac_func in fabsf
6639 do
6640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6641 echo "configure:6642: checking for $ac_func" >&5
6642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6643 echo $ac_n "(cached) $ac_c" 1>&6
6644 else
6645 cat > conftest.$ac_ext <<EOF
6646 #line 6647 "configure"
6647 #include "confdefs.h"
6648 /* System header to define __stub macros and hopefully few prototypes,
6649 which can conflict with char $ac_func(); below. */
6650 #include <assert.h>
6651 /* Override any gcc2 internal prototype to avoid an error. */
6652 /* We use char because int might match the return type of a gcc2
6653 builtin and then its argument prototype would still apply. */
6654 char $ac_func();
6655
6656 int main() {
6657
6658 /* The GNU C library defines this for functions which it implements
6659 to always fail with ENOSYS. Some functions are actually named
6660 something starting with __ and the normal name is an alias. */
6661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6662 choke me
6663 #else
6664 $ac_func();
6665 #endif
6666
6667 ; return 0; }
6668 EOF
6669 if { (eval echo configure:6670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6670 rm -rf conftest*
6671 eval "ac_cv_func_$ac_func=yes"
6672 else
6673 echo "configure: failed program was:" >&5
6674 cat conftest.$ac_ext >&5
6675 rm -rf conftest*
6676 eval "ac_cv_func_$ac_func=no"
6677 fi
6678 rm -f conftest*
6679 fi
6680
6681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6682 echo "$ac_t""yes" 1>&6
6683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6684 cat >> confdefs.h <<EOF
6685 #define $ac_tr_func 1
6686 EOF
6687
6688 else
6689 echo "$ac_t""no" 1>&6
6690 fi
6691 done
6692
6693 fi
6694
6695
6696 echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6697 echo "configure:6698: checking for floorf declaration" >&5
6698 if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6699 echo $ac_n "(cached) $ac_c" 1>&6
6700 else
6701
6702
6703 ac_ext=C
6704 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6705 ac_cpp='$CXXCPP $CPPFLAGS'
6706 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6707 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6708 cross_compiling=$ac_cv_prog_cxx_cross
6709
6710 cat > conftest.$ac_ext <<EOF
6711 #line 6712 "configure"
6712 #include "confdefs.h"
6713 #include <math.h>
6714 int main() {
6715 floorf(0);
6716 ; return 0; }
6717 EOF
6718 if { (eval echo configure:6719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6719 rm -rf conftest*
6720 glibcpp_cv_func_floorf_use=yes
6721 else
6722 echo "configure: failed program was:" >&5
6723 cat conftest.$ac_ext >&5
6724 rm -rf conftest*
6725 glibcpp_cv_func_floorf_use=no
6726 fi
6727 rm -f conftest*
6728 ac_ext=c
6729 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6730 ac_cpp='$CPP $CPPFLAGS'
6731 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6732 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6733 cross_compiling=$ac_cv_prog_cc_cross
6734
6735
6736 fi
6737
6738 echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6739 if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6740 for ac_func in floorf
6741 do
6742 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6743 echo "configure:6744: checking for $ac_func" >&5
6744 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6745 echo $ac_n "(cached) $ac_c" 1>&6
6746 else
6747 cat > conftest.$ac_ext <<EOF
6748 #line 6749 "configure"
6749 #include "confdefs.h"
6750 /* System header to define __stub macros and hopefully few prototypes,
6751 which can conflict with char $ac_func(); below. */
6752 #include <assert.h>
6753 /* Override any gcc2 internal prototype to avoid an error. */
6754 /* We use char because int might match the return type of a gcc2
6755 builtin and then its argument prototype would still apply. */
6756 char $ac_func();
6757
6758 int main() {
6759
6760 /* The GNU C library defines this for functions which it implements
6761 to always fail with ENOSYS. Some functions are actually named
6762 something starting with __ and the normal name is an alias. */
6763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6764 choke me
6765 #else
6766 $ac_func();
6767 #endif
6768
6769 ; return 0; }
6770 EOF
6771 if { (eval echo configure:6772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6772 rm -rf conftest*
6773 eval "ac_cv_func_$ac_func=yes"
6774 else
6775 echo "configure: failed program was:" >&5
6776 cat conftest.$ac_ext >&5
6777 rm -rf conftest*
6778 eval "ac_cv_func_$ac_func=no"
6779 fi
6780 rm -f conftest*
6781 fi
6782
6783 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6784 echo "$ac_t""yes" 1>&6
6785 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6786 cat >> confdefs.h <<EOF
6787 #define $ac_tr_func 1
6788 EOF
6789
6790 else
6791 echo "$ac_t""no" 1>&6
6792 fi
6793 done
6794
6795 fi
6796
6797
6798 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6799 echo "configure:6800: checking for fmodf declaration" >&5
6800 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6801 echo $ac_n "(cached) $ac_c" 1>&6
6802 else
6803
6804
6805 ac_ext=C
6806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6807 ac_cpp='$CXXCPP $CPPFLAGS'
6808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6810 cross_compiling=$ac_cv_prog_cxx_cross
6811
6812 cat > conftest.$ac_ext <<EOF
6813 #line 6814 "configure"
6814 #include "confdefs.h"
6815 #include <math.h>
6816 int main() {
6817 fmodf(0, 0);
6818 ; return 0; }
6819 EOF
6820 if { (eval echo configure:6821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6821 rm -rf conftest*
6822 glibcpp_cv_func_fmodf_use=yes
6823 else
6824 echo "configure: failed program was:" >&5
6825 cat conftest.$ac_ext >&5
6826 rm -rf conftest*
6827 glibcpp_cv_func_fmodf_use=no
6828 fi
6829 rm -f conftest*
6830 ac_ext=c
6831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6832 ac_cpp='$CPP $CPPFLAGS'
6833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6835 cross_compiling=$ac_cv_prog_cc_cross
6836
6837
6838 fi
6839
6840 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6841 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6842 for ac_func in fmodf
6843 do
6844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6845 echo "configure:6846: checking for $ac_func" >&5
6846 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6847 echo $ac_n "(cached) $ac_c" 1>&6
6848 else
6849 cat > conftest.$ac_ext <<EOF
6850 #line 6851 "configure"
6851 #include "confdefs.h"
6852 /* System header to define __stub macros and hopefully few prototypes,
6853 which can conflict with char $ac_func(); below. */
6854 #include <assert.h>
6855 /* Override any gcc2 internal prototype to avoid an error. */
6856 /* We use char because int might match the return type of a gcc2
6857 builtin and then its argument prototype would still apply. */
6858 char $ac_func();
6859
6860 int main() {
6861
6862 /* The GNU C library defines this for functions which it implements
6863 to always fail with ENOSYS. Some functions are actually named
6864 something starting with __ and the normal name is an alias. */
6865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6866 choke me
6867 #else
6868 $ac_func();
6869 #endif
6870
6871 ; return 0; }
6872 EOF
6873 if { (eval echo configure:6874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6874 rm -rf conftest*
6875 eval "ac_cv_func_$ac_func=yes"
6876 else
6877 echo "configure: failed program was:" >&5
6878 cat conftest.$ac_ext >&5
6879 rm -rf conftest*
6880 eval "ac_cv_func_$ac_func=no"
6881 fi
6882 rm -f conftest*
6883 fi
6884
6885 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6886 echo "$ac_t""yes" 1>&6
6887 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6888 cat >> confdefs.h <<EOF
6889 #define $ac_tr_func 1
6890 EOF
6891
6892 else
6893 echo "$ac_t""no" 1>&6
6894 fi
6895 done
6896
6897 fi
6898
6899
6900 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6901 echo "configure:6902: checking for frexpf declaration" >&5
6902 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6903 echo $ac_n "(cached) $ac_c" 1>&6
6904 else
6905
6906
6907 ac_ext=C
6908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6909 ac_cpp='$CXXCPP $CPPFLAGS'
6910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6912 cross_compiling=$ac_cv_prog_cxx_cross
6913
6914 cat > conftest.$ac_ext <<EOF
6915 #line 6916 "configure"
6916 #include "confdefs.h"
6917 #include <math.h>
6918 int main() {
6919 frexpf(0, 0);
6920 ; return 0; }
6921 EOF
6922 if { (eval echo configure:6923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6923 rm -rf conftest*
6924 glibcpp_cv_func_frexpf_use=yes
6925 else
6926 echo "configure: failed program was:" >&5
6927 cat conftest.$ac_ext >&5
6928 rm -rf conftest*
6929 glibcpp_cv_func_frexpf_use=no
6930 fi
6931 rm -f conftest*
6932 ac_ext=c
6933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6934 ac_cpp='$CPP $CPPFLAGS'
6935 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6936 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6937 cross_compiling=$ac_cv_prog_cc_cross
6938
6939
6940 fi
6941
6942 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6943 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6944 for ac_func in frexpf
6945 do
6946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6947 echo "configure:6948: checking for $ac_func" >&5
6948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6949 echo $ac_n "(cached) $ac_c" 1>&6
6950 else
6951 cat > conftest.$ac_ext <<EOF
6952 #line 6953 "configure"
6953 #include "confdefs.h"
6954 /* System header to define __stub macros and hopefully few prototypes,
6955 which can conflict with char $ac_func(); below. */
6956 #include <assert.h>
6957 /* Override any gcc2 internal prototype to avoid an error. */
6958 /* We use char because int might match the return type of a gcc2
6959 builtin and then its argument prototype would still apply. */
6960 char $ac_func();
6961
6962 int main() {
6963
6964 /* The GNU C library defines this for functions which it implements
6965 to always fail with ENOSYS. Some functions are actually named
6966 something starting with __ and the normal name is an alias. */
6967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6968 choke me
6969 #else
6970 $ac_func();
6971 #endif
6972
6973 ; return 0; }
6974 EOF
6975 if { (eval echo configure:6976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6976 rm -rf conftest*
6977 eval "ac_cv_func_$ac_func=yes"
6978 else
6979 echo "configure: failed program was:" >&5
6980 cat conftest.$ac_ext >&5
6981 rm -rf conftest*
6982 eval "ac_cv_func_$ac_func=no"
6983 fi
6984 rm -f conftest*
6985 fi
6986
6987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6988 echo "$ac_t""yes" 1>&6
6989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6990 cat >> confdefs.h <<EOF
6991 #define $ac_tr_func 1
6992 EOF
6993
6994 else
6995 echo "$ac_t""no" 1>&6
6996 fi
6997 done
6998
6999 fi
7000
7001
7002 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
7003 echo "configure:7004: checking for ldexpf declaration" >&5
7004 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
7005 echo $ac_n "(cached) $ac_c" 1>&6
7006 else
7007
7008
7009 ac_ext=C
7010 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7011 ac_cpp='$CXXCPP $CPPFLAGS'
7012 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7013 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7014 cross_compiling=$ac_cv_prog_cxx_cross
7015
7016 cat > conftest.$ac_ext <<EOF
7017 #line 7018 "configure"
7018 #include "confdefs.h"
7019 #include <math.h>
7020 int main() {
7021 ldexpf(0, 0);
7022 ; return 0; }
7023 EOF
7024 if { (eval echo configure:7025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7025 rm -rf conftest*
7026 glibcpp_cv_func_ldexpf_use=yes
7027 else
7028 echo "configure: failed program was:" >&5
7029 cat conftest.$ac_ext >&5
7030 rm -rf conftest*
7031 glibcpp_cv_func_ldexpf_use=no
7032 fi
7033 rm -f conftest*
7034 ac_ext=c
7035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7036 ac_cpp='$CPP $CPPFLAGS'
7037 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7038 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7039 cross_compiling=$ac_cv_prog_cc_cross
7040
7041
7042 fi
7043
7044 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
7045 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
7046 for ac_func in ldexpf
7047 do
7048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7049 echo "configure:7050: checking for $ac_func" >&5
7050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7051 echo $ac_n "(cached) $ac_c" 1>&6
7052 else
7053 cat > conftest.$ac_ext <<EOF
7054 #line 7055 "configure"
7055 #include "confdefs.h"
7056 /* System header to define __stub macros and hopefully few prototypes,
7057 which can conflict with char $ac_func(); below. */
7058 #include <assert.h>
7059 /* Override any gcc2 internal prototype to avoid an error. */
7060 /* We use char because int might match the return type of a gcc2
7061 builtin and then its argument prototype would still apply. */
7062 char $ac_func();
7063
7064 int main() {
7065
7066 /* The GNU C library defines this for functions which it implements
7067 to always fail with ENOSYS. Some functions are actually named
7068 something starting with __ and the normal name is an alias. */
7069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7070 choke me
7071 #else
7072 $ac_func();
7073 #endif
7074
7075 ; return 0; }
7076 EOF
7077 if { (eval echo configure:7078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7078 rm -rf conftest*
7079 eval "ac_cv_func_$ac_func=yes"
7080 else
7081 echo "configure: failed program was:" >&5
7082 cat conftest.$ac_ext >&5
7083 rm -rf conftest*
7084 eval "ac_cv_func_$ac_func=no"
7085 fi
7086 rm -f conftest*
7087 fi
7088
7089 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7090 echo "$ac_t""yes" 1>&6
7091 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7092 cat >> confdefs.h <<EOF
7093 #define $ac_tr_func 1
7094 EOF
7095
7096 else
7097 echo "$ac_t""no" 1>&6
7098 fi
7099 done
7100
7101 fi
7102
7103
7104 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7105 echo "configure:7106: checking for logf declaration" >&5
7106 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7107 echo $ac_n "(cached) $ac_c" 1>&6
7108 else
7109
7110
7111 ac_ext=C
7112 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7113 ac_cpp='$CXXCPP $CPPFLAGS'
7114 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7115 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7116 cross_compiling=$ac_cv_prog_cxx_cross
7117
7118 cat > conftest.$ac_ext <<EOF
7119 #line 7120 "configure"
7120 #include "confdefs.h"
7121 #include <math.h>
7122 int main() {
7123 logf(0);
7124 ; return 0; }
7125 EOF
7126 if { (eval echo configure:7127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7127 rm -rf conftest*
7128 glibcpp_cv_func_logf_use=yes
7129 else
7130 echo "configure: failed program was:" >&5
7131 cat conftest.$ac_ext >&5
7132 rm -rf conftest*
7133 glibcpp_cv_func_logf_use=no
7134 fi
7135 rm -f conftest*
7136 ac_ext=c
7137 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7138 ac_cpp='$CPP $CPPFLAGS'
7139 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7140 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7141 cross_compiling=$ac_cv_prog_cc_cross
7142
7143
7144 fi
7145
7146 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7147 if test x$glibcpp_cv_func_logf_use = x"yes"; then
7148 for ac_func in logf
7149 do
7150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7151 echo "configure:7152: checking for $ac_func" >&5
7152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7153 echo $ac_n "(cached) $ac_c" 1>&6
7154 else
7155 cat > conftest.$ac_ext <<EOF
7156 #line 7157 "configure"
7157 #include "confdefs.h"
7158 /* System header to define __stub macros and hopefully few prototypes,
7159 which can conflict with char $ac_func(); below. */
7160 #include <assert.h>
7161 /* Override any gcc2 internal prototype to avoid an error. */
7162 /* We use char because int might match the return type of a gcc2
7163 builtin and then its argument prototype would still apply. */
7164 char $ac_func();
7165
7166 int main() {
7167
7168 /* The GNU C library defines this for functions which it implements
7169 to always fail with ENOSYS. Some functions are actually named
7170 something starting with __ and the normal name is an alias. */
7171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7172 choke me
7173 #else
7174 $ac_func();
7175 #endif
7176
7177 ; return 0; }
7178 EOF
7179 if { (eval echo configure:7180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7180 rm -rf conftest*
7181 eval "ac_cv_func_$ac_func=yes"
7182 else
7183 echo "configure: failed program was:" >&5
7184 cat conftest.$ac_ext >&5
7185 rm -rf conftest*
7186 eval "ac_cv_func_$ac_func=no"
7187 fi
7188 rm -f conftest*
7189 fi
7190
7191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7192 echo "$ac_t""yes" 1>&6
7193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7194 cat >> confdefs.h <<EOF
7195 #define $ac_tr_func 1
7196 EOF
7197
7198 else
7199 echo "$ac_t""no" 1>&6
7200 fi
7201 done
7202
7203 fi
7204
7205
7206 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7207 echo "configure:7208: checking for log10f declaration" >&5
7208 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7209 echo $ac_n "(cached) $ac_c" 1>&6
7210 else
7211
7212
7213 ac_ext=C
7214 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7215 ac_cpp='$CXXCPP $CPPFLAGS'
7216 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7217 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7218 cross_compiling=$ac_cv_prog_cxx_cross
7219
7220 cat > conftest.$ac_ext <<EOF
7221 #line 7222 "configure"
7222 #include "confdefs.h"
7223 #include <math.h>
7224 int main() {
7225 log10f(0);
7226 ; return 0; }
7227 EOF
7228 if { (eval echo configure:7229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7229 rm -rf conftest*
7230 glibcpp_cv_func_log10f_use=yes
7231 else
7232 echo "configure: failed program was:" >&5
7233 cat conftest.$ac_ext >&5
7234 rm -rf conftest*
7235 glibcpp_cv_func_log10f_use=no
7236 fi
7237 rm -f conftest*
7238 ac_ext=c
7239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7240 ac_cpp='$CPP $CPPFLAGS'
7241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7243 cross_compiling=$ac_cv_prog_cc_cross
7244
7245
7246 fi
7247
7248 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7249 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7250 for ac_func in log10f
7251 do
7252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7253 echo "configure:7254: checking for $ac_func" >&5
7254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7255 echo $ac_n "(cached) $ac_c" 1>&6
7256 else
7257 cat > conftest.$ac_ext <<EOF
7258 #line 7259 "configure"
7259 #include "confdefs.h"
7260 /* System header to define __stub macros and hopefully few prototypes,
7261 which can conflict with char $ac_func(); below. */
7262 #include <assert.h>
7263 /* Override any gcc2 internal prototype to avoid an error. */
7264 /* We use char because int might match the return type of a gcc2
7265 builtin and then its argument prototype would still apply. */
7266 char $ac_func();
7267
7268 int main() {
7269
7270 /* The GNU C library defines this for functions which it implements
7271 to always fail with ENOSYS. Some functions are actually named
7272 something starting with __ and the normal name is an alias. */
7273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7274 choke me
7275 #else
7276 $ac_func();
7277 #endif
7278
7279 ; return 0; }
7280 EOF
7281 if { (eval echo configure:7282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7282 rm -rf conftest*
7283 eval "ac_cv_func_$ac_func=yes"
7284 else
7285 echo "configure: failed program was:" >&5
7286 cat conftest.$ac_ext >&5
7287 rm -rf conftest*
7288 eval "ac_cv_func_$ac_func=no"
7289 fi
7290 rm -f conftest*
7291 fi
7292
7293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7294 echo "$ac_t""yes" 1>&6
7295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7296 cat >> confdefs.h <<EOF
7297 #define $ac_tr_func 1
7298 EOF
7299
7300 else
7301 echo "$ac_t""no" 1>&6
7302 fi
7303 done
7304
7305 fi
7306
7307
7308 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7309 echo "configure:7310: checking for modff declaration" >&5
7310 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7311 echo $ac_n "(cached) $ac_c" 1>&6
7312 else
7313
7314
7315 ac_ext=C
7316 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7317 ac_cpp='$CXXCPP $CPPFLAGS'
7318 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7319 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7320 cross_compiling=$ac_cv_prog_cxx_cross
7321
7322 cat > conftest.$ac_ext <<EOF
7323 #line 7324 "configure"
7324 #include "confdefs.h"
7325 #include <math.h>
7326 int main() {
7327 modff(0, 0);
7328 ; return 0; }
7329 EOF
7330 if { (eval echo configure:7331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7331 rm -rf conftest*
7332 glibcpp_cv_func_modff_use=yes
7333 else
7334 echo "configure: failed program was:" >&5
7335 cat conftest.$ac_ext >&5
7336 rm -rf conftest*
7337 glibcpp_cv_func_modff_use=no
7338 fi
7339 rm -f conftest*
7340 ac_ext=c
7341 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7342 ac_cpp='$CPP $CPPFLAGS'
7343 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7344 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7345 cross_compiling=$ac_cv_prog_cc_cross
7346
7347
7348 fi
7349
7350 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7351 if test x$glibcpp_cv_func_modff_use = x"yes"; then
7352 for ac_func in modff
7353 do
7354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7355 echo "configure:7356: checking for $ac_func" >&5
7356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7357 echo $ac_n "(cached) $ac_c" 1>&6
7358 else
7359 cat > conftest.$ac_ext <<EOF
7360 #line 7361 "configure"
7361 #include "confdefs.h"
7362 /* System header to define __stub macros and hopefully few prototypes,
7363 which can conflict with char $ac_func(); below. */
7364 #include <assert.h>
7365 /* Override any gcc2 internal prototype to avoid an error. */
7366 /* We use char because int might match the return type of a gcc2
7367 builtin and then its argument prototype would still apply. */
7368 char $ac_func();
7369
7370 int main() {
7371
7372 /* The GNU C library defines this for functions which it implements
7373 to always fail with ENOSYS. Some functions are actually named
7374 something starting with __ and the normal name is an alias. */
7375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7376 choke me
7377 #else
7378 $ac_func();
7379 #endif
7380
7381 ; return 0; }
7382 EOF
7383 if { (eval echo configure:7384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7384 rm -rf conftest*
7385 eval "ac_cv_func_$ac_func=yes"
7386 else
7387 echo "configure: failed program was:" >&5
7388 cat conftest.$ac_ext >&5
7389 rm -rf conftest*
7390 eval "ac_cv_func_$ac_func=no"
7391 fi
7392 rm -f conftest*
7393 fi
7394
7395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7396 echo "$ac_t""yes" 1>&6
7397 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7398 cat >> confdefs.h <<EOF
7399 #define $ac_tr_func 1
7400 EOF
7401
7402 else
7403 echo "$ac_t""no" 1>&6
7404 fi
7405 done
7406
7407 fi
7408
7409
7410 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7411 echo "configure:7412: checking for powf declaration" >&5
7412 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7413 echo $ac_n "(cached) $ac_c" 1>&6
7414 else
7415
7416
7417 ac_ext=C
7418 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7419 ac_cpp='$CXXCPP $CPPFLAGS'
7420 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7421 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7422 cross_compiling=$ac_cv_prog_cxx_cross
7423
7424 cat > conftest.$ac_ext <<EOF
7425 #line 7426 "configure"
7426 #include "confdefs.h"
7427 #include <math.h>
7428 int main() {
7429 powf(0, 0);
7430 ; return 0; }
7431 EOF
7432 if { (eval echo configure:7433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7433 rm -rf conftest*
7434 glibcpp_cv_func_powf_use=yes
7435 else
7436 echo "configure: failed program was:" >&5
7437 cat conftest.$ac_ext >&5
7438 rm -rf conftest*
7439 glibcpp_cv_func_powf_use=no
7440 fi
7441 rm -f conftest*
7442 ac_ext=c
7443 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7444 ac_cpp='$CPP $CPPFLAGS'
7445 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7446 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7447 cross_compiling=$ac_cv_prog_cc_cross
7448
7449
7450 fi
7451
7452 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7453 if test x$glibcpp_cv_func_powf_use = x"yes"; then
7454 for ac_func in powf
7455 do
7456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7457 echo "configure:7458: checking for $ac_func" >&5
7458 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7459 echo $ac_n "(cached) $ac_c" 1>&6
7460 else
7461 cat > conftest.$ac_ext <<EOF
7462 #line 7463 "configure"
7463 #include "confdefs.h"
7464 /* System header to define __stub macros and hopefully few prototypes,
7465 which can conflict with char $ac_func(); below. */
7466 #include <assert.h>
7467 /* Override any gcc2 internal prototype to avoid an error. */
7468 /* We use char because int might match the return type of a gcc2
7469 builtin and then its argument prototype would still apply. */
7470 char $ac_func();
7471
7472 int main() {
7473
7474 /* The GNU C library defines this for functions which it implements
7475 to always fail with ENOSYS. Some functions are actually named
7476 something starting with __ and the normal name is an alias. */
7477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7478 choke me
7479 #else
7480 $ac_func();
7481 #endif
7482
7483 ; return 0; }
7484 EOF
7485 if { (eval echo configure:7486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7486 rm -rf conftest*
7487 eval "ac_cv_func_$ac_func=yes"
7488 else
7489 echo "configure: failed program was:" >&5
7490 cat conftest.$ac_ext >&5
7491 rm -rf conftest*
7492 eval "ac_cv_func_$ac_func=no"
7493 fi
7494 rm -f conftest*
7495 fi
7496
7497 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7498 echo "$ac_t""yes" 1>&6
7499 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7500 cat >> confdefs.h <<EOF
7501 #define $ac_tr_func 1
7502 EOF
7503
7504 else
7505 echo "$ac_t""no" 1>&6
7506 fi
7507 done
7508
7509 fi
7510
7511
7512 echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7513 echo "configure:7514: checking for sinf declaration" >&5
7514 if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7515 echo $ac_n "(cached) $ac_c" 1>&6
7516 else
7517
7518
7519 ac_ext=C
7520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7521 ac_cpp='$CXXCPP $CPPFLAGS'
7522 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7523 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7524 cross_compiling=$ac_cv_prog_cxx_cross
7525
7526 cat > conftest.$ac_ext <<EOF
7527 #line 7528 "configure"
7528 #include "confdefs.h"
7529 #include <math.h>
7530 int main() {
7531 sinf(0);
7532 ; return 0; }
7533 EOF
7534 if { (eval echo configure:7535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7535 rm -rf conftest*
7536 glibcpp_cv_func_sinf_use=yes
7537 else
7538 echo "configure: failed program was:" >&5
7539 cat conftest.$ac_ext >&5
7540 rm -rf conftest*
7541 glibcpp_cv_func_sinf_use=no
7542 fi
7543 rm -f conftest*
7544 ac_ext=c
7545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7546 ac_cpp='$CPP $CPPFLAGS'
7547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7549 cross_compiling=$ac_cv_prog_cc_cross
7550
7551
7552 fi
7553
7554 echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7555 if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7556 for ac_func in sinf
7557 do
7558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7559 echo "configure:7560: checking for $ac_func" >&5
7560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7561 echo $ac_n "(cached) $ac_c" 1>&6
7562 else
7563 cat > conftest.$ac_ext <<EOF
7564 #line 7565 "configure"
7565 #include "confdefs.h"
7566 /* System header to define __stub macros and hopefully few prototypes,
7567 which can conflict with char $ac_func(); below. */
7568 #include <assert.h>
7569 /* Override any gcc2 internal prototype to avoid an error. */
7570 /* We use char because int might match the return type of a gcc2
7571 builtin and then its argument prototype would still apply. */
7572 char $ac_func();
7573
7574 int main() {
7575
7576 /* The GNU C library defines this for functions which it implements
7577 to always fail with ENOSYS. Some functions are actually named
7578 something starting with __ and the normal name is an alias. */
7579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7580 choke me
7581 #else
7582 $ac_func();
7583 #endif
7584
7585 ; return 0; }
7586 EOF
7587 if { (eval echo configure:7588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7588 rm -rf conftest*
7589 eval "ac_cv_func_$ac_func=yes"
7590 else
7591 echo "configure: failed program was:" >&5
7592 cat conftest.$ac_ext >&5
7593 rm -rf conftest*
7594 eval "ac_cv_func_$ac_func=no"
7595 fi
7596 rm -f conftest*
7597 fi
7598
7599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7600 echo "$ac_t""yes" 1>&6
7601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7602 cat >> confdefs.h <<EOF
7603 #define $ac_tr_func 1
7604 EOF
7605
7606 else
7607 echo "$ac_t""no" 1>&6
7608 fi
7609 done
7610
7611 fi
7612
7613
7614 echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7615 echo "configure:7616: checking for sinhf declaration" >&5
7616 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7617 echo $ac_n "(cached) $ac_c" 1>&6
7618 else
7619
7620
7621 ac_ext=C
7622 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7623 ac_cpp='$CXXCPP $CPPFLAGS'
7624 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7625 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7626 cross_compiling=$ac_cv_prog_cxx_cross
7627
7628 cat > conftest.$ac_ext <<EOF
7629 #line 7630 "configure"
7630 #include "confdefs.h"
7631 #include <math.h>
7632 int main() {
7633 sinhf(0);
7634 ; return 0; }
7635 EOF
7636 if { (eval echo configure:7637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7637 rm -rf conftest*
7638 glibcpp_cv_func_sinhf_use=yes
7639 else
7640 echo "configure: failed program was:" >&5
7641 cat conftest.$ac_ext >&5
7642 rm -rf conftest*
7643 glibcpp_cv_func_sinhf_use=no
7644 fi
7645 rm -f conftest*
7646 ac_ext=c
7647 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7648 ac_cpp='$CPP $CPPFLAGS'
7649 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7650 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7651 cross_compiling=$ac_cv_prog_cc_cross
7652
7653
7654 fi
7655
7656 echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7657 if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7658 for ac_func in sinhf
7659 do
7660 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7661 echo "configure:7662: checking for $ac_func" >&5
7662 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7663 echo $ac_n "(cached) $ac_c" 1>&6
7664 else
7665 cat > conftest.$ac_ext <<EOF
7666 #line 7667 "configure"
7667 #include "confdefs.h"
7668 /* System header to define __stub macros and hopefully few prototypes,
7669 which can conflict with char $ac_func(); below. */
7670 #include <assert.h>
7671 /* Override any gcc2 internal prototype to avoid an error. */
7672 /* We use char because int might match the return type of a gcc2
7673 builtin and then its argument prototype would still apply. */
7674 char $ac_func();
7675
7676 int main() {
7677
7678 /* The GNU C library defines this for functions which it implements
7679 to always fail with ENOSYS. Some functions are actually named
7680 something starting with __ and the normal name is an alias. */
7681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7682 choke me
7683 #else
7684 $ac_func();
7685 #endif
7686
7687 ; return 0; }
7688 EOF
7689 if { (eval echo configure:7690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7690 rm -rf conftest*
7691 eval "ac_cv_func_$ac_func=yes"
7692 else
7693 echo "configure: failed program was:" >&5
7694 cat conftest.$ac_ext >&5
7695 rm -rf conftest*
7696 eval "ac_cv_func_$ac_func=no"
7697 fi
7698 rm -f conftest*
7699 fi
7700
7701 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7702 echo "$ac_t""yes" 1>&6
7703 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7704 cat >> confdefs.h <<EOF
7705 #define $ac_tr_func 1
7706 EOF
7707
7708 else
7709 echo "$ac_t""no" 1>&6
7710 fi
7711 done
7712
7713 fi
7714
7715
7716 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7717 echo "configure:7718: checking for sqrtf declaration" >&5
7718 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7719 echo $ac_n "(cached) $ac_c" 1>&6
7720 else
7721
7722
7723 ac_ext=C
7724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7725 ac_cpp='$CXXCPP $CPPFLAGS'
7726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7728 cross_compiling=$ac_cv_prog_cxx_cross
7729
7730 cat > conftest.$ac_ext <<EOF
7731 #line 7732 "configure"
7732 #include "confdefs.h"
7733 #include <math.h>
7734 int main() {
7735 sqrtf(0);
7736 ; return 0; }
7737 EOF
7738 if { (eval echo configure:7739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7739 rm -rf conftest*
7740 glibcpp_cv_func_sqrtf_use=yes
7741 else
7742 echo "configure: failed program was:" >&5
7743 cat conftest.$ac_ext >&5
7744 rm -rf conftest*
7745 glibcpp_cv_func_sqrtf_use=no
7746 fi
7747 rm -f conftest*
7748 ac_ext=c
7749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7750 ac_cpp='$CPP $CPPFLAGS'
7751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7753 cross_compiling=$ac_cv_prog_cc_cross
7754
7755
7756 fi
7757
7758 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7759 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7760 for ac_func in sqrtf
7761 do
7762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7763 echo "configure:7764: checking for $ac_func" >&5
7764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7765 echo $ac_n "(cached) $ac_c" 1>&6
7766 else
7767 cat > conftest.$ac_ext <<EOF
7768 #line 7769 "configure"
7769 #include "confdefs.h"
7770 /* System header to define __stub macros and hopefully few prototypes,
7771 which can conflict with char $ac_func(); below. */
7772 #include <assert.h>
7773 /* Override any gcc2 internal prototype to avoid an error. */
7774 /* We use char because int might match the return type of a gcc2
7775 builtin and then its argument prototype would still apply. */
7776 char $ac_func();
7777
7778 int main() {
7779
7780 /* The GNU C library defines this for functions which it implements
7781 to always fail with ENOSYS. Some functions are actually named
7782 something starting with __ and the normal name is an alias. */
7783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7784 choke me
7785 #else
7786 $ac_func();
7787 #endif
7788
7789 ; return 0; }
7790 EOF
7791 if { (eval echo configure:7792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7792 rm -rf conftest*
7793 eval "ac_cv_func_$ac_func=yes"
7794 else
7795 echo "configure: failed program was:" >&5
7796 cat conftest.$ac_ext >&5
7797 rm -rf conftest*
7798 eval "ac_cv_func_$ac_func=no"
7799 fi
7800 rm -f conftest*
7801 fi
7802
7803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7804 echo "$ac_t""yes" 1>&6
7805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7806 cat >> confdefs.h <<EOF
7807 #define $ac_tr_func 1
7808 EOF
7809
7810 else
7811 echo "$ac_t""no" 1>&6
7812 fi
7813 done
7814
7815 fi
7816
7817
7818 echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7819 echo "configure:7820: checking for tanf declaration" >&5
7820 if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7821 echo $ac_n "(cached) $ac_c" 1>&6
7822 else
7823
7824
7825 ac_ext=C
7826 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7827 ac_cpp='$CXXCPP $CPPFLAGS'
7828 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7829 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7830 cross_compiling=$ac_cv_prog_cxx_cross
7831
7832 cat > conftest.$ac_ext <<EOF
7833 #line 7834 "configure"
7834 #include "confdefs.h"
7835 #include <math.h>
7836 int main() {
7837 tanf(0);
7838 ; return 0; }
7839 EOF
7840 if { (eval echo configure:7841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7841 rm -rf conftest*
7842 glibcpp_cv_func_tanf_use=yes
7843 else
7844 echo "configure: failed program was:" >&5
7845 cat conftest.$ac_ext >&5
7846 rm -rf conftest*
7847 glibcpp_cv_func_tanf_use=no
7848 fi
7849 rm -f conftest*
7850 ac_ext=c
7851 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7852 ac_cpp='$CPP $CPPFLAGS'
7853 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7854 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7855 cross_compiling=$ac_cv_prog_cc_cross
7856
7857
7858 fi
7859
7860 echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7861 if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7862 for ac_func in tanf
7863 do
7864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7865 echo "configure:7866: checking for $ac_func" >&5
7866 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7867 echo $ac_n "(cached) $ac_c" 1>&6
7868 else
7869 cat > conftest.$ac_ext <<EOF
7870 #line 7871 "configure"
7871 #include "confdefs.h"
7872 /* System header to define __stub macros and hopefully few prototypes,
7873 which can conflict with char $ac_func(); below. */
7874 #include <assert.h>
7875 /* Override any gcc2 internal prototype to avoid an error. */
7876 /* We use char because int might match the return type of a gcc2
7877 builtin and then its argument prototype would still apply. */
7878 char $ac_func();
7879
7880 int main() {
7881
7882 /* The GNU C library defines this for functions which it implements
7883 to always fail with ENOSYS. Some functions are actually named
7884 something starting with __ and the normal name is an alias. */
7885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7886 choke me
7887 #else
7888 $ac_func();
7889 #endif
7890
7891 ; return 0; }
7892 EOF
7893 if { (eval echo configure:7894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7894 rm -rf conftest*
7895 eval "ac_cv_func_$ac_func=yes"
7896 else
7897 echo "configure: failed program was:" >&5
7898 cat conftest.$ac_ext >&5
7899 rm -rf conftest*
7900 eval "ac_cv_func_$ac_func=no"
7901 fi
7902 rm -f conftest*
7903 fi
7904
7905 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7906 echo "$ac_t""yes" 1>&6
7907 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7908 cat >> confdefs.h <<EOF
7909 #define $ac_tr_func 1
7910 EOF
7911
7912 else
7913 echo "$ac_t""no" 1>&6
7914 fi
7915 done
7916
7917 fi
7918
7919
7920 echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7921 echo "configure:7922: checking for tanhf declaration" >&5
7922 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7923 echo $ac_n "(cached) $ac_c" 1>&6
7924 else
7925
7926
7927 ac_ext=C
7928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7929 ac_cpp='$CXXCPP $CPPFLAGS'
7930 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7931 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7932 cross_compiling=$ac_cv_prog_cxx_cross
7933
7934 cat > conftest.$ac_ext <<EOF
7935 #line 7936 "configure"
7936 #include "confdefs.h"
7937 #include <math.h>
7938 int main() {
7939 tanhf(0);
7940 ; return 0; }
7941 EOF
7942 if { (eval echo configure:7943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7943 rm -rf conftest*
7944 glibcpp_cv_func_tanhf_use=yes
7945 else
7946 echo "configure: failed program was:" >&5
7947 cat conftest.$ac_ext >&5
7948 rm -rf conftest*
7949 glibcpp_cv_func_tanhf_use=no
7950 fi
7951 rm -f conftest*
7952 ac_ext=c
7953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7954 ac_cpp='$CPP $CPPFLAGS'
7955 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7956 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7957 cross_compiling=$ac_cv_prog_cc_cross
7958
7959
7960 fi
7961
7962 echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
7963 if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
7964 for ac_func in tanhf
7965 do
7966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7967 echo "configure:7968: checking for $ac_func" >&5
7968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7969 echo $ac_n "(cached) $ac_c" 1>&6
7970 else
7971 cat > conftest.$ac_ext <<EOF
7972 #line 7973 "configure"
7973 #include "confdefs.h"
7974 /* System header to define __stub macros and hopefully few prototypes,
7975 which can conflict with char $ac_func(); below. */
7976 #include <assert.h>
7977 /* Override any gcc2 internal prototype to avoid an error. */
7978 /* We use char because int might match the return type of a gcc2
7979 builtin and then its argument prototype would still apply. */
7980 char $ac_func();
7981
7982 int main() {
7983
7984 /* The GNU C library defines this for functions which it implements
7985 to always fail with ENOSYS. Some functions are actually named
7986 something starting with __ and the normal name is an alias. */
7987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7988 choke me
7989 #else
7990 $ac_func();
7991 #endif
7992
7993 ; return 0; }
7994 EOF
7995 if { (eval echo configure:7996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7996 rm -rf conftest*
7997 eval "ac_cv_func_$ac_func=yes"
7998 else
7999 echo "configure: failed program was:" >&5
8000 cat conftest.$ac_ext >&5
8001 rm -rf conftest*
8002 eval "ac_cv_func_$ac_func=no"
8003 fi
8004 rm -f conftest*
8005 fi
8006
8007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8008 echo "$ac_t""yes" 1>&6
8009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8010 cat >> confdefs.h <<EOF
8011 #define $ac_tr_func 1
8012 EOF
8013
8014 else
8015 echo "$ac_t""no" 1>&6
8016 fi
8017 done
8018
8019 fi
8020
8021
8022 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
8023 echo "configure:8024: checking for sincosf declaration" >&5
8024 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
8025 echo $ac_n "(cached) $ac_c" 1>&6
8026 else
8027
8028
8029 ac_ext=C
8030 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8031 ac_cpp='$CXXCPP $CPPFLAGS'
8032 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8033 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8034 cross_compiling=$ac_cv_prog_cxx_cross
8035
8036 cat > conftest.$ac_ext <<EOF
8037 #line 8038 "configure"
8038 #include "confdefs.h"
8039 #include <math.h>
8040 int main() {
8041 sincosf(0, 0, 0);
8042 ; return 0; }
8043 EOF
8044 if { (eval echo configure:8045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8045 rm -rf conftest*
8046 glibcpp_cv_func_sincosf_use=yes
8047 else
8048 echo "configure: failed program was:" >&5
8049 cat conftest.$ac_ext >&5
8050 rm -rf conftest*
8051 glibcpp_cv_func_sincosf_use=no
8052 fi
8053 rm -f conftest*
8054 ac_ext=c
8055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8056 ac_cpp='$CPP $CPPFLAGS'
8057 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8058 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8059 cross_compiling=$ac_cv_prog_cc_cross
8060
8061
8062 fi
8063
8064 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
8065 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
8066 for ac_func in sincosf
8067 do
8068 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8069 echo "configure:8070: checking for $ac_func" >&5
8070 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8071 echo $ac_n "(cached) $ac_c" 1>&6
8072 else
8073 cat > conftest.$ac_ext <<EOF
8074 #line 8075 "configure"
8075 #include "confdefs.h"
8076 /* System header to define __stub macros and hopefully few prototypes,
8077 which can conflict with char $ac_func(); below. */
8078 #include <assert.h>
8079 /* Override any gcc2 internal prototype to avoid an error. */
8080 /* We use char because int might match the return type of a gcc2
8081 builtin and then its argument prototype would still apply. */
8082 char $ac_func();
8083
8084 int main() {
8085
8086 /* The GNU C library defines this for functions which it implements
8087 to always fail with ENOSYS. Some functions are actually named
8088 something starting with __ and the normal name is an alias. */
8089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8090 choke me
8091 #else
8092 $ac_func();
8093 #endif
8094
8095 ; return 0; }
8096 EOF
8097 if { (eval echo configure:8098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8098 rm -rf conftest*
8099 eval "ac_cv_func_$ac_func=yes"
8100 else
8101 echo "configure: failed program was:" >&5
8102 cat conftest.$ac_ext >&5
8103 rm -rf conftest*
8104 eval "ac_cv_func_$ac_func=no"
8105 fi
8106 rm -f conftest*
8107 fi
8108
8109 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8110 echo "$ac_t""yes" 1>&6
8111 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8112 cat >> confdefs.h <<EOF
8113 #define $ac_tr_func 1
8114 EOF
8115
8116 else
8117 echo "$ac_t""no" 1>&6
8118 fi
8119 done
8120
8121 fi
8122
8123
8124 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8125 echo "configure:8126: checking for finitef declaration" >&5
8126 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8127 echo $ac_n "(cached) $ac_c" 1>&6
8128 else
8129
8130
8131 ac_ext=C
8132 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8133 ac_cpp='$CXXCPP $CPPFLAGS'
8134 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8135 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8136 cross_compiling=$ac_cv_prog_cxx_cross
8137
8138 cat > conftest.$ac_ext <<EOF
8139 #line 8140 "configure"
8140 #include "confdefs.h"
8141 #include <math.h>
8142 int main() {
8143 finitef(0);
8144 ; return 0; }
8145 EOF
8146 if { (eval echo configure:8147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8147 rm -rf conftest*
8148 glibcpp_cv_func_finitef_use=yes
8149 else
8150 echo "configure: failed program was:" >&5
8151 cat conftest.$ac_ext >&5
8152 rm -rf conftest*
8153 glibcpp_cv_func_finitef_use=no
8154 fi
8155 rm -f conftest*
8156 ac_ext=c
8157 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8158 ac_cpp='$CPP $CPPFLAGS'
8159 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8160 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8161 cross_compiling=$ac_cv_prog_cc_cross
8162
8163
8164 fi
8165
8166 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8167 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8168 for ac_func in finitef
8169 do
8170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8171 echo "configure:8172: checking for $ac_func" >&5
8172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8173 echo $ac_n "(cached) $ac_c" 1>&6
8174 else
8175 cat > conftest.$ac_ext <<EOF
8176 #line 8177 "configure"
8177 #include "confdefs.h"
8178 /* System header to define __stub macros and hopefully few prototypes,
8179 which can conflict with char $ac_func(); below. */
8180 #include <assert.h>
8181 /* Override any gcc2 internal prototype to avoid an error. */
8182 /* We use char because int might match the return type of a gcc2
8183 builtin and then its argument prototype would still apply. */
8184 char $ac_func();
8185
8186 int main() {
8187
8188 /* The GNU C library defines this for functions which it implements
8189 to always fail with ENOSYS. Some functions are actually named
8190 something starting with __ and the normal name is an alias. */
8191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8192 choke me
8193 #else
8194 $ac_func();
8195 #endif
8196
8197 ; return 0; }
8198 EOF
8199 if { (eval echo configure:8200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8200 rm -rf conftest*
8201 eval "ac_cv_func_$ac_func=yes"
8202 else
8203 echo "configure: failed program was:" >&5
8204 cat conftest.$ac_ext >&5
8205 rm -rf conftest*
8206 eval "ac_cv_func_$ac_func=no"
8207 fi
8208 rm -f conftest*
8209 fi
8210
8211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8212 echo "$ac_t""yes" 1>&6
8213 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8214 cat >> confdefs.h <<EOF
8215 #define $ac_tr_func 1
8216 EOF
8217
8218 else
8219 echo "$ac_t""no" 1>&6
8220 fi
8221 done
8222
8223 fi
8224
8225
8226
8227 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8228 echo "configure:8229: checking for isnanl declaration" >&5
8229 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8230 echo $ac_n "(cached) $ac_c" 1>&6
8231 else
8232
8233
8234 ac_ext=C
8235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8236 ac_cpp='$CXXCPP $CPPFLAGS'
8237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8239 cross_compiling=$ac_cv_prog_cxx_cross
8240
8241 cat > conftest.$ac_ext <<EOF
8242 #line 8243 "configure"
8243 #include "confdefs.h"
8244 #include <math.h>
8245 int main() {
8246 isnanl(0);
8247 ; return 0; }
8248 EOF
8249 if { (eval echo configure:8250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8250 rm -rf conftest*
8251 glibcpp_cv_func_isnanl_use=yes
8252 else
8253 echo "configure: failed program was:" >&5
8254 cat conftest.$ac_ext >&5
8255 rm -rf conftest*
8256 glibcpp_cv_func_isnanl_use=no
8257 fi
8258 rm -f conftest*
8259 ac_ext=c
8260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8261 ac_cpp='$CPP $CPPFLAGS'
8262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8264 cross_compiling=$ac_cv_prog_cc_cross
8265
8266
8267 fi
8268
8269 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8270 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8271 for ac_func in isnanl
8272 do
8273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8274 echo "configure:8275: checking for $ac_func" >&5
8275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8276 echo $ac_n "(cached) $ac_c" 1>&6
8277 else
8278 cat > conftest.$ac_ext <<EOF
8279 #line 8280 "configure"
8280 #include "confdefs.h"
8281 /* System header to define __stub macros and hopefully few prototypes,
8282 which can conflict with char $ac_func(); below. */
8283 #include <assert.h>
8284 /* Override any gcc2 internal prototype to avoid an error. */
8285 /* We use char because int might match the return type of a gcc2
8286 builtin and then its argument prototype would still apply. */
8287 char $ac_func();
8288
8289 int main() {
8290
8291 /* The GNU C library defines this for functions which it implements
8292 to always fail with ENOSYS. Some functions are actually named
8293 something starting with __ and the normal name is an alias. */
8294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8295 choke me
8296 #else
8297 $ac_func();
8298 #endif
8299
8300 ; return 0; }
8301 EOF
8302 if { (eval echo configure:8303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8303 rm -rf conftest*
8304 eval "ac_cv_func_$ac_func=yes"
8305 else
8306 echo "configure: failed program was:" >&5
8307 cat conftest.$ac_ext >&5
8308 rm -rf conftest*
8309 eval "ac_cv_func_$ac_func=no"
8310 fi
8311 rm -f conftest*
8312 fi
8313
8314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8315 echo "$ac_t""yes" 1>&6
8316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8317 cat >> confdefs.h <<EOF
8318 #define $ac_tr_func 1
8319 EOF
8320
8321 else
8322 echo "$ac_t""no" 1>&6
8323 fi
8324 done
8325
8326 fi
8327
8328
8329 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8330 echo "configure:8331: checking for isinfl declaration" >&5
8331 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8332 echo $ac_n "(cached) $ac_c" 1>&6
8333 else
8334
8335
8336 ac_ext=C
8337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8338 ac_cpp='$CXXCPP $CPPFLAGS'
8339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8341 cross_compiling=$ac_cv_prog_cxx_cross
8342
8343 cat > conftest.$ac_ext <<EOF
8344 #line 8345 "configure"
8345 #include "confdefs.h"
8346 #include <math.h>
8347 int main() {
8348 isinfl(0);
8349 ; return 0; }
8350 EOF
8351 if { (eval echo configure:8352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8352 rm -rf conftest*
8353 glibcpp_cv_func_isinfl_use=yes
8354 else
8355 echo "configure: failed program was:" >&5
8356 cat conftest.$ac_ext >&5
8357 rm -rf conftest*
8358 glibcpp_cv_func_isinfl_use=no
8359 fi
8360 rm -f conftest*
8361 ac_ext=c
8362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8363 ac_cpp='$CPP $CPPFLAGS'
8364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8366 cross_compiling=$ac_cv_prog_cc_cross
8367
8368
8369 fi
8370
8371 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8372 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8373 for ac_func in isinfl
8374 do
8375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8376 echo "configure:8377: checking for $ac_func" >&5
8377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8378 echo $ac_n "(cached) $ac_c" 1>&6
8379 else
8380 cat > conftest.$ac_ext <<EOF
8381 #line 8382 "configure"
8382 #include "confdefs.h"
8383 /* System header to define __stub macros and hopefully few prototypes,
8384 which can conflict with char $ac_func(); below. */
8385 #include <assert.h>
8386 /* Override any gcc2 internal prototype to avoid an error. */
8387 /* We use char because int might match the return type of a gcc2
8388 builtin and then its argument prototype would still apply. */
8389 char $ac_func();
8390
8391 int main() {
8392
8393 /* The GNU C library defines this for functions which it implements
8394 to always fail with ENOSYS. Some functions are actually named
8395 something starting with __ and the normal name is an alias. */
8396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8397 choke me
8398 #else
8399 $ac_func();
8400 #endif
8401
8402 ; return 0; }
8403 EOF
8404 if { (eval echo configure:8405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8405 rm -rf conftest*
8406 eval "ac_cv_func_$ac_func=yes"
8407 else
8408 echo "configure: failed program was:" >&5
8409 cat conftest.$ac_ext >&5
8410 rm -rf conftest*
8411 eval "ac_cv_func_$ac_func=no"
8412 fi
8413 rm -f conftest*
8414 fi
8415
8416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8417 echo "$ac_t""yes" 1>&6
8418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8419 cat >> confdefs.h <<EOF
8420 #define $ac_tr_func 1
8421 EOF
8422
8423 else
8424 echo "$ac_t""no" 1>&6
8425 fi
8426 done
8427
8428 fi
8429
8430
8431 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8432 echo "configure:8433: checking for copysignl declaration" >&5
8433 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8434 echo $ac_n "(cached) $ac_c" 1>&6
8435 else
8436
8437
8438 ac_ext=C
8439 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8440 ac_cpp='$CXXCPP $CPPFLAGS'
8441 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8442 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8443 cross_compiling=$ac_cv_prog_cxx_cross
8444
8445 cat > conftest.$ac_ext <<EOF
8446 #line 8447 "configure"
8447 #include "confdefs.h"
8448 #include <math.h>
8449 int main() {
8450 copysignl(0, 0);
8451 ; return 0; }
8452 EOF
8453 if { (eval echo configure:8454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8454 rm -rf conftest*
8455 glibcpp_cv_func_copysignl_use=yes
8456 else
8457 echo "configure: failed program was:" >&5
8458 cat conftest.$ac_ext >&5
8459 rm -rf conftest*
8460 glibcpp_cv_func_copysignl_use=no
8461 fi
8462 rm -f conftest*
8463 ac_ext=c
8464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8465 ac_cpp='$CPP $CPPFLAGS'
8466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8468 cross_compiling=$ac_cv_prog_cc_cross
8469
8470
8471 fi
8472
8473 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8474 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8475 for ac_func in copysignl
8476 do
8477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8478 echo "configure:8479: checking for $ac_func" >&5
8479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8480 echo $ac_n "(cached) $ac_c" 1>&6
8481 else
8482 cat > conftest.$ac_ext <<EOF
8483 #line 8484 "configure"
8484 #include "confdefs.h"
8485 /* System header to define __stub macros and hopefully few prototypes,
8486 which can conflict with char $ac_func(); below. */
8487 #include <assert.h>
8488 /* Override any gcc2 internal prototype to avoid an error. */
8489 /* We use char because int might match the return type of a gcc2
8490 builtin and then its argument prototype would still apply. */
8491 char $ac_func();
8492
8493 int main() {
8494
8495 /* The GNU C library defines this for functions which it implements
8496 to always fail with ENOSYS. Some functions are actually named
8497 something starting with __ and the normal name is an alias. */
8498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8499 choke me
8500 #else
8501 $ac_func();
8502 #endif
8503
8504 ; return 0; }
8505 EOF
8506 if { (eval echo configure:8507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8507 rm -rf conftest*
8508 eval "ac_cv_func_$ac_func=yes"
8509 else
8510 echo "configure: failed program was:" >&5
8511 cat conftest.$ac_ext >&5
8512 rm -rf conftest*
8513 eval "ac_cv_func_$ac_func=no"
8514 fi
8515 rm -f conftest*
8516 fi
8517
8518 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8519 echo "$ac_t""yes" 1>&6
8520 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8521 cat >> confdefs.h <<EOF
8522 #define $ac_tr_func 1
8523 EOF
8524
8525 else
8526 echo "$ac_t""no" 1>&6
8527 fi
8528 done
8529
8530 fi
8531
8532
8533 echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8534 echo "configure:8535: checking for acosl declaration" >&5
8535 if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8536 echo $ac_n "(cached) $ac_c" 1>&6
8537 else
8538
8539
8540 ac_ext=C
8541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8542 ac_cpp='$CXXCPP $CPPFLAGS'
8543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8545 cross_compiling=$ac_cv_prog_cxx_cross
8546
8547 cat > conftest.$ac_ext <<EOF
8548 #line 8549 "configure"
8549 #include "confdefs.h"
8550 #include <math.h>
8551 int main() {
8552 acosl(0);
8553 ; return 0; }
8554 EOF
8555 if { (eval echo configure:8556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8556 rm -rf conftest*
8557 glibcpp_cv_func_acosl_use=yes
8558 else
8559 echo "configure: failed program was:" >&5
8560 cat conftest.$ac_ext >&5
8561 rm -rf conftest*
8562 glibcpp_cv_func_acosl_use=no
8563 fi
8564 rm -f conftest*
8565 ac_ext=c
8566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8567 ac_cpp='$CPP $CPPFLAGS'
8568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8570 cross_compiling=$ac_cv_prog_cc_cross
8571
8572
8573 fi
8574
8575 echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8576 if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8577 for ac_func in acosl
8578 do
8579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8580 echo "configure:8581: checking for $ac_func" >&5
8581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8582 echo $ac_n "(cached) $ac_c" 1>&6
8583 else
8584 cat > conftest.$ac_ext <<EOF
8585 #line 8586 "configure"
8586 #include "confdefs.h"
8587 /* System header to define __stub macros and hopefully few prototypes,
8588 which can conflict with char $ac_func(); below. */
8589 #include <assert.h>
8590 /* Override any gcc2 internal prototype to avoid an error. */
8591 /* We use char because int might match the return type of a gcc2
8592 builtin and then its argument prototype would still apply. */
8593 char $ac_func();
8594
8595 int main() {
8596
8597 /* The GNU C library defines this for functions which it implements
8598 to always fail with ENOSYS. Some functions are actually named
8599 something starting with __ and the normal name is an alias. */
8600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8601 choke me
8602 #else
8603 $ac_func();
8604 #endif
8605
8606 ; return 0; }
8607 EOF
8608 if { (eval echo configure:8609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8609 rm -rf conftest*
8610 eval "ac_cv_func_$ac_func=yes"
8611 else
8612 echo "configure: failed program was:" >&5
8613 cat conftest.$ac_ext >&5
8614 rm -rf conftest*
8615 eval "ac_cv_func_$ac_func=no"
8616 fi
8617 rm -f conftest*
8618 fi
8619
8620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8621 echo "$ac_t""yes" 1>&6
8622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8623 cat >> confdefs.h <<EOF
8624 #define $ac_tr_func 1
8625 EOF
8626
8627 else
8628 echo "$ac_t""no" 1>&6
8629 fi
8630 done
8631
8632 fi
8633
8634
8635 echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8636 echo "configure:8637: checking for asinl declaration" >&5
8637 if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8638 echo $ac_n "(cached) $ac_c" 1>&6
8639 else
8640
8641
8642 ac_ext=C
8643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8644 ac_cpp='$CXXCPP $CPPFLAGS'
8645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8647 cross_compiling=$ac_cv_prog_cxx_cross
8648
8649 cat > conftest.$ac_ext <<EOF
8650 #line 8651 "configure"
8651 #include "confdefs.h"
8652 #include <math.h>
8653 int main() {
8654 asinl(0);
8655 ; return 0; }
8656 EOF
8657 if { (eval echo configure:8658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8658 rm -rf conftest*
8659 glibcpp_cv_func_asinl_use=yes
8660 else
8661 echo "configure: failed program was:" >&5
8662 cat conftest.$ac_ext >&5
8663 rm -rf conftest*
8664 glibcpp_cv_func_asinl_use=no
8665 fi
8666 rm -f conftest*
8667 ac_ext=c
8668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8669 ac_cpp='$CPP $CPPFLAGS'
8670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8672 cross_compiling=$ac_cv_prog_cc_cross
8673
8674
8675 fi
8676
8677 echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8678 if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8679 for ac_func in asinl
8680 do
8681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8682 echo "configure:8683: checking for $ac_func" >&5
8683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8685 else
8686 cat > conftest.$ac_ext <<EOF
8687 #line 8688 "configure"
8688 #include "confdefs.h"
8689 /* System header to define __stub macros and hopefully few prototypes,
8690 which can conflict with char $ac_func(); below. */
8691 #include <assert.h>
8692 /* Override any gcc2 internal prototype to avoid an error. */
8693 /* We use char because int might match the return type of a gcc2
8694 builtin and then its argument prototype would still apply. */
8695 char $ac_func();
8696
8697 int main() {
8698
8699 /* The GNU C library defines this for functions which it implements
8700 to always fail with ENOSYS. Some functions are actually named
8701 something starting with __ and the normal name is an alias. */
8702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8703 choke me
8704 #else
8705 $ac_func();
8706 #endif
8707
8708 ; return 0; }
8709 EOF
8710 if { (eval echo configure:8711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8711 rm -rf conftest*
8712 eval "ac_cv_func_$ac_func=yes"
8713 else
8714 echo "configure: failed program was:" >&5
8715 cat conftest.$ac_ext >&5
8716 rm -rf conftest*
8717 eval "ac_cv_func_$ac_func=no"
8718 fi
8719 rm -f conftest*
8720 fi
8721
8722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8723 echo "$ac_t""yes" 1>&6
8724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8725 cat >> confdefs.h <<EOF
8726 #define $ac_tr_func 1
8727 EOF
8728
8729 else
8730 echo "$ac_t""no" 1>&6
8731 fi
8732 done
8733
8734 fi
8735
8736
8737 echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8738 echo "configure:8739: checking for atanl declaration" >&5
8739 if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8740 echo $ac_n "(cached) $ac_c" 1>&6
8741 else
8742
8743
8744 ac_ext=C
8745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8746 ac_cpp='$CXXCPP $CPPFLAGS'
8747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8749 cross_compiling=$ac_cv_prog_cxx_cross
8750
8751 cat > conftest.$ac_ext <<EOF
8752 #line 8753 "configure"
8753 #include "confdefs.h"
8754 #include <math.h>
8755 int main() {
8756 atanl(0);
8757 ; return 0; }
8758 EOF
8759 if { (eval echo configure:8760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8760 rm -rf conftest*
8761 glibcpp_cv_func_atanl_use=yes
8762 else
8763 echo "configure: failed program was:" >&5
8764 cat conftest.$ac_ext >&5
8765 rm -rf conftest*
8766 glibcpp_cv_func_atanl_use=no
8767 fi
8768 rm -f conftest*
8769 ac_ext=c
8770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8771 ac_cpp='$CPP $CPPFLAGS'
8772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8774 cross_compiling=$ac_cv_prog_cc_cross
8775
8776
8777 fi
8778
8779 echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8780 if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8781 for ac_func in atanl
8782 do
8783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8784 echo "configure:8785: checking for $ac_func" >&5
8785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8786 echo $ac_n "(cached) $ac_c" 1>&6
8787 else
8788 cat > conftest.$ac_ext <<EOF
8789 #line 8790 "configure"
8790 #include "confdefs.h"
8791 /* System header to define __stub macros and hopefully few prototypes,
8792 which can conflict with char $ac_func(); below. */
8793 #include <assert.h>
8794 /* Override any gcc2 internal prototype to avoid an error. */
8795 /* We use char because int might match the return type of a gcc2
8796 builtin and then its argument prototype would still apply. */
8797 char $ac_func();
8798
8799 int main() {
8800
8801 /* The GNU C library defines this for functions which it implements
8802 to always fail with ENOSYS. Some functions are actually named
8803 something starting with __ and the normal name is an alias. */
8804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8805 choke me
8806 #else
8807 $ac_func();
8808 #endif
8809
8810 ; return 0; }
8811 EOF
8812 if { (eval echo configure:8813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8813 rm -rf conftest*
8814 eval "ac_cv_func_$ac_func=yes"
8815 else
8816 echo "configure: failed program was:" >&5
8817 cat conftest.$ac_ext >&5
8818 rm -rf conftest*
8819 eval "ac_cv_func_$ac_func=no"
8820 fi
8821 rm -f conftest*
8822 fi
8823
8824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8825 echo "$ac_t""yes" 1>&6
8826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8827 cat >> confdefs.h <<EOF
8828 #define $ac_tr_func 1
8829 EOF
8830
8831 else
8832 echo "$ac_t""no" 1>&6
8833 fi
8834 done
8835
8836 fi
8837
8838
8839 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8840 echo "configure:8841: checking for atan2l declaration" >&5
8841 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8842 echo $ac_n "(cached) $ac_c" 1>&6
8843 else
8844
8845
8846 ac_ext=C
8847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8848 ac_cpp='$CXXCPP $CPPFLAGS'
8849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8851 cross_compiling=$ac_cv_prog_cxx_cross
8852
8853 cat > conftest.$ac_ext <<EOF
8854 #line 8855 "configure"
8855 #include "confdefs.h"
8856 #include <math.h>
8857 int main() {
8858 atan2l(0, 0);
8859 ; return 0; }
8860 EOF
8861 if { (eval echo configure:8862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8862 rm -rf conftest*
8863 glibcpp_cv_func_atan2l_use=yes
8864 else
8865 echo "configure: failed program was:" >&5
8866 cat conftest.$ac_ext >&5
8867 rm -rf conftest*
8868 glibcpp_cv_func_atan2l_use=no
8869 fi
8870 rm -f conftest*
8871 ac_ext=c
8872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8873 ac_cpp='$CPP $CPPFLAGS'
8874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8876 cross_compiling=$ac_cv_prog_cc_cross
8877
8878
8879 fi
8880
8881 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8882 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8883 for ac_func in atan2l
8884 do
8885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8886 echo "configure:8887: checking for $ac_func" >&5
8887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8888 echo $ac_n "(cached) $ac_c" 1>&6
8889 else
8890 cat > conftest.$ac_ext <<EOF
8891 #line 8892 "configure"
8892 #include "confdefs.h"
8893 /* System header to define __stub macros and hopefully few prototypes,
8894 which can conflict with char $ac_func(); below. */
8895 #include <assert.h>
8896 /* Override any gcc2 internal prototype to avoid an error. */
8897 /* We use char because int might match the return type of a gcc2
8898 builtin and then its argument prototype would still apply. */
8899 char $ac_func();
8900
8901 int main() {
8902
8903 /* The GNU C library defines this for functions which it implements
8904 to always fail with ENOSYS. Some functions are actually named
8905 something starting with __ and the normal name is an alias. */
8906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8907 choke me
8908 #else
8909 $ac_func();
8910 #endif
8911
8912 ; return 0; }
8913 EOF
8914 if { (eval echo configure:8915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8915 rm -rf conftest*
8916 eval "ac_cv_func_$ac_func=yes"
8917 else
8918 echo "configure: failed program was:" >&5
8919 cat conftest.$ac_ext >&5
8920 rm -rf conftest*
8921 eval "ac_cv_func_$ac_func=no"
8922 fi
8923 rm -f conftest*
8924 fi
8925
8926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8927 echo "$ac_t""yes" 1>&6
8928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8929 cat >> confdefs.h <<EOF
8930 #define $ac_tr_func 1
8931 EOF
8932
8933 else
8934 echo "$ac_t""no" 1>&6
8935 fi
8936 done
8937
8938 fi
8939
8940
8941 echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
8942 echo "configure:8943: checking for ceill declaration" >&5
8943 if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
8944 echo $ac_n "(cached) $ac_c" 1>&6
8945 else
8946
8947
8948 ac_ext=C
8949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8950 ac_cpp='$CXXCPP $CPPFLAGS'
8951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8953 cross_compiling=$ac_cv_prog_cxx_cross
8954
8955 cat > conftest.$ac_ext <<EOF
8956 #line 8957 "configure"
8957 #include "confdefs.h"
8958 #include <math.h>
8959 int main() {
8960 ceill(0);
8961 ; return 0; }
8962 EOF
8963 if { (eval echo configure:8964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8964 rm -rf conftest*
8965 glibcpp_cv_func_ceill_use=yes
8966 else
8967 echo "configure: failed program was:" >&5
8968 cat conftest.$ac_ext >&5
8969 rm -rf conftest*
8970 glibcpp_cv_func_ceill_use=no
8971 fi
8972 rm -f conftest*
8973 ac_ext=c
8974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8975 ac_cpp='$CPP $CPPFLAGS'
8976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8978 cross_compiling=$ac_cv_prog_cc_cross
8979
8980
8981 fi
8982
8983 echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
8984 if test x$glibcpp_cv_func_ceill_use = x"yes"; then
8985 for ac_func in ceill
8986 do
8987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8988 echo "configure:8989: checking for $ac_func" >&5
8989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8990 echo $ac_n "(cached) $ac_c" 1>&6
8991 else
8992 cat > conftest.$ac_ext <<EOF
8993 #line 8994 "configure"
8994 #include "confdefs.h"
8995 /* System header to define __stub macros and hopefully few prototypes,
8996 which can conflict with char $ac_func(); below. */
8997 #include <assert.h>
8998 /* Override any gcc2 internal prototype to avoid an error. */
8999 /* We use char because int might match the return type of a gcc2
9000 builtin and then its argument prototype would still apply. */
9001 char $ac_func();
9002
9003 int main() {
9004
9005 /* The GNU C library defines this for functions which it implements
9006 to always fail with ENOSYS. Some functions are actually named
9007 something starting with __ and the normal name is an alias. */
9008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9009 choke me
9010 #else
9011 $ac_func();
9012 #endif
9013
9014 ; return 0; }
9015 EOF
9016 if { (eval echo configure:9017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9017 rm -rf conftest*
9018 eval "ac_cv_func_$ac_func=yes"
9019 else
9020 echo "configure: failed program was:" >&5
9021 cat conftest.$ac_ext >&5
9022 rm -rf conftest*
9023 eval "ac_cv_func_$ac_func=no"
9024 fi
9025 rm -f conftest*
9026 fi
9027
9028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9029 echo "$ac_t""yes" 1>&6
9030 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9031 cat >> confdefs.h <<EOF
9032 #define $ac_tr_func 1
9033 EOF
9034
9035 else
9036 echo "$ac_t""no" 1>&6
9037 fi
9038 done
9039
9040 fi
9041
9042
9043 echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
9044 echo "configure:9045: checking for cosl declaration" >&5
9045 if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
9046 echo $ac_n "(cached) $ac_c" 1>&6
9047 else
9048
9049
9050 ac_ext=C
9051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9052 ac_cpp='$CXXCPP $CPPFLAGS'
9053 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9054 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9055 cross_compiling=$ac_cv_prog_cxx_cross
9056
9057 cat > conftest.$ac_ext <<EOF
9058 #line 9059 "configure"
9059 #include "confdefs.h"
9060 #include <math.h>
9061 int main() {
9062 cosl(0);
9063 ; return 0; }
9064 EOF
9065 if { (eval echo configure:9066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9066 rm -rf conftest*
9067 glibcpp_cv_func_cosl_use=yes
9068 else
9069 echo "configure: failed program was:" >&5
9070 cat conftest.$ac_ext >&5
9071 rm -rf conftest*
9072 glibcpp_cv_func_cosl_use=no
9073 fi
9074 rm -f conftest*
9075 ac_ext=c
9076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9077 ac_cpp='$CPP $CPPFLAGS'
9078 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9079 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9080 cross_compiling=$ac_cv_prog_cc_cross
9081
9082
9083 fi
9084
9085 echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
9086 if test x$glibcpp_cv_func_cosl_use = x"yes"; then
9087 for ac_func in cosl
9088 do
9089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9090 echo "configure:9091: checking for $ac_func" >&5
9091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9092 echo $ac_n "(cached) $ac_c" 1>&6
9093 else
9094 cat > conftest.$ac_ext <<EOF
9095 #line 9096 "configure"
9096 #include "confdefs.h"
9097 /* System header to define __stub macros and hopefully few prototypes,
9098 which can conflict with char $ac_func(); below. */
9099 #include <assert.h>
9100 /* Override any gcc2 internal prototype to avoid an error. */
9101 /* We use char because int might match the return type of a gcc2
9102 builtin and then its argument prototype would still apply. */
9103 char $ac_func();
9104
9105 int main() {
9106
9107 /* The GNU C library defines this for functions which it implements
9108 to always fail with ENOSYS. Some functions are actually named
9109 something starting with __ and the normal name is an alias. */
9110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9111 choke me
9112 #else
9113 $ac_func();
9114 #endif
9115
9116 ; return 0; }
9117 EOF
9118 if { (eval echo configure:9119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9119 rm -rf conftest*
9120 eval "ac_cv_func_$ac_func=yes"
9121 else
9122 echo "configure: failed program was:" >&5
9123 cat conftest.$ac_ext >&5
9124 rm -rf conftest*
9125 eval "ac_cv_func_$ac_func=no"
9126 fi
9127 rm -f conftest*
9128 fi
9129
9130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9131 echo "$ac_t""yes" 1>&6
9132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9133 cat >> confdefs.h <<EOF
9134 #define $ac_tr_func 1
9135 EOF
9136
9137 else
9138 echo "$ac_t""no" 1>&6
9139 fi
9140 done
9141
9142 fi
9143
9144
9145 echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9146 echo "configure:9147: checking for coshl declaration" >&5
9147 if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9148 echo $ac_n "(cached) $ac_c" 1>&6
9149 else
9150
9151
9152 ac_ext=C
9153 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9154 ac_cpp='$CXXCPP $CPPFLAGS'
9155 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9156 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9157 cross_compiling=$ac_cv_prog_cxx_cross
9158
9159 cat > conftest.$ac_ext <<EOF
9160 #line 9161 "configure"
9161 #include "confdefs.h"
9162 #include <math.h>
9163 int main() {
9164 coshl(0);
9165 ; return 0; }
9166 EOF
9167 if { (eval echo configure:9168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9168 rm -rf conftest*
9169 glibcpp_cv_func_coshl_use=yes
9170 else
9171 echo "configure: failed program was:" >&5
9172 cat conftest.$ac_ext >&5
9173 rm -rf conftest*
9174 glibcpp_cv_func_coshl_use=no
9175 fi
9176 rm -f conftest*
9177 ac_ext=c
9178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9179 ac_cpp='$CPP $CPPFLAGS'
9180 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9181 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9182 cross_compiling=$ac_cv_prog_cc_cross
9183
9184
9185 fi
9186
9187 echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9188 if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9189 for ac_func in coshl
9190 do
9191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9192 echo "configure:9193: checking for $ac_func" >&5
9193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9194 echo $ac_n "(cached) $ac_c" 1>&6
9195 else
9196 cat > conftest.$ac_ext <<EOF
9197 #line 9198 "configure"
9198 #include "confdefs.h"
9199 /* System header to define __stub macros and hopefully few prototypes,
9200 which can conflict with char $ac_func(); below. */
9201 #include <assert.h>
9202 /* Override any gcc2 internal prototype to avoid an error. */
9203 /* We use char because int might match the return type of a gcc2
9204 builtin and then its argument prototype would still apply. */
9205 char $ac_func();
9206
9207 int main() {
9208
9209 /* The GNU C library defines this for functions which it implements
9210 to always fail with ENOSYS. Some functions are actually named
9211 something starting with __ and the normal name is an alias. */
9212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9213 choke me
9214 #else
9215 $ac_func();
9216 #endif
9217
9218 ; return 0; }
9219 EOF
9220 if { (eval echo configure:9221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9221 rm -rf conftest*
9222 eval "ac_cv_func_$ac_func=yes"
9223 else
9224 echo "configure: failed program was:" >&5
9225 cat conftest.$ac_ext >&5
9226 rm -rf conftest*
9227 eval "ac_cv_func_$ac_func=no"
9228 fi
9229 rm -f conftest*
9230 fi
9231
9232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9233 echo "$ac_t""yes" 1>&6
9234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9235 cat >> confdefs.h <<EOF
9236 #define $ac_tr_func 1
9237 EOF
9238
9239 else
9240 echo "$ac_t""no" 1>&6
9241 fi
9242 done
9243
9244 fi
9245
9246
9247 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9248 echo "configure:9249: checking for expl declaration" >&5
9249 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9250 echo $ac_n "(cached) $ac_c" 1>&6
9251 else
9252
9253
9254 ac_ext=C
9255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9256 ac_cpp='$CXXCPP $CPPFLAGS'
9257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9259 cross_compiling=$ac_cv_prog_cxx_cross
9260
9261 cat > conftest.$ac_ext <<EOF
9262 #line 9263 "configure"
9263 #include "confdefs.h"
9264 #include <math.h>
9265 int main() {
9266 expl(0);
9267 ; return 0; }
9268 EOF
9269 if { (eval echo configure:9270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9270 rm -rf conftest*
9271 glibcpp_cv_func_expl_use=yes
9272 else
9273 echo "configure: failed program was:" >&5
9274 cat conftest.$ac_ext >&5
9275 rm -rf conftest*
9276 glibcpp_cv_func_expl_use=no
9277 fi
9278 rm -f conftest*
9279 ac_ext=c
9280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9281 ac_cpp='$CPP $CPPFLAGS'
9282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9284 cross_compiling=$ac_cv_prog_cc_cross
9285
9286
9287 fi
9288
9289 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9290 if test x$glibcpp_cv_func_expl_use = x"yes"; then
9291 for ac_func in expl
9292 do
9293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9294 echo "configure:9295: checking for $ac_func" >&5
9295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9296 echo $ac_n "(cached) $ac_c" 1>&6
9297 else
9298 cat > conftest.$ac_ext <<EOF
9299 #line 9300 "configure"
9300 #include "confdefs.h"
9301 /* System header to define __stub macros and hopefully few prototypes,
9302 which can conflict with char $ac_func(); below. */
9303 #include <assert.h>
9304 /* Override any gcc2 internal prototype to avoid an error. */
9305 /* We use char because int might match the return type of a gcc2
9306 builtin and then its argument prototype would still apply. */
9307 char $ac_func();
9308
9309 int main() {
9310
9311 /* The GNU C library defines this for functions which it implements
9312 to always fail with ENOSYS. Some functions are actually named
9313 something starting with __ and the normal name is an alias. */
9314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9315 choke me
9316 #else
9317 $ac_func();
9318 #endif
9319
9320 ; return 0; }
9321 EOF
9322 if { (eval echo configure:9323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9323 rm -rf conftest*
9324 eval "ac_cv_func_$ac_func=yes"
9325 else
9326 echo "configure: failed program was:" >&5
9327 cat conftest.$ac_ext >&5
9328 rm -rf conftest*
9329 eval "ac_cv_func_$ac_func=no"
9330 fi
9331 rm -f conftest*
9332 fi
9333
9334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9335 echo "$ac_t""yes" 1>&6
9336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9337 cat >> confdefs.h <<EOF
9338 #define $ac_tr_func 1
9339 EOF
9340
9341 else
9342 echo "$ac_t""no" 1>&6
9343 fi
9344 done
9345
9346 fi
9347
9348
9349 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9350 echo "configure:9351: checking for fabsl declaration" >&5
9351 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9352 echo $ac_n "(cached) $ac_c" 1>&6
9353 else
9354
9355
9356 ac_ext=C
9357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9358 ac_cpp='$CXXCPP $CPPFLAGS'
9359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9361 cross_compiling=$ac_cv_prog_cxx_cross
9362
9363 cat > conftest.$ac_ext <<EOF
9364 #line 9365 "configure"
9365 #include "confdefs.h"
9366 #include <math.h>
9367 int main() {
9368 fabsl(0);
9369 ; return 0; }
9370 EOF
9371 if { (eval echo configure:9372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9372 rm -rf conftest*
9373 glibcpp_cv_func_fabsl_use=yes
9374 else
9375 echo "configure: failed program was:" >&5
9376 cat conftest.$ac_ext >&5
9377 rm -rf conftest*
9378 glibcpp_cv_func_fabsl_use=no
9379 fi
9380 rm -f conftest*
9381 ac_ext=c
9382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9383 ac_cpp='$CPP $CPPFLAGS'
9384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9386 cross_compiling=$ac_cv_prog_cc_cross
9387
9388
9389 fi
9390
9391 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9392 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9393 for ac_func in fabsl
9394 do
9395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9396 echo "configure:9397: checking for $ac_func" >&5
9397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9398 echo $ac_n "(cached) $ac_c" 1>&6
9399 else
9400 cat > conftest.$ac_ext <<EOF
9401 #line 9402 "configure"
9402 #include "confdefs.h"
9403 /* System header to define __stub macros and hopefully few prototypes,
9404 which can conflict with char $ac_func(); below. */
9405 #include <assert.h>
9406 /* Override any gcc2 internal prototype to avoid an error. */
9407 /* We use char because int might match the return type of a gcc2
9408 builtin and then its argument prototype would still apply. */
9409 char $ac_func();
9410
9411 int main() {
9412
9413 /* The GNU C library defines this for functions which it implements
9414 to always fail with ENOSYS. Some functions are actually named
9415 something starting with __ and the normal name is an alias. */
9416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9417 choke me
9418 #else
9419 $ac_func();
9420 #endif
9421
9422 ; return 0; }
9423 EOF
9424 if { (eval echo configure:9425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9425 rm -rf conftest*
9426 eval "ac_cv_func_$ac_func=yes"
9427 else
9428 echo "configure: failed program was:" >&5
9429 cat conftest.$ac_ext >&5
9430 rm -rf conftest*
9431 eval "ac_cv_func_$ac_func=no"
9432 fi
9433 rm -f conftest*
9434 fi
9435
9436 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9437 echo "$ac_t""yes" 1>&6
9438 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9439 cat >> confdefs.h <<EOF
9440 #define $ac_tr_func 1
9441 EOF
9442
9443 else
9444 echo "$ac_t""no" 1>&6
9445 fi
9446 done
9447
9448 fi
9449
9450
9451 echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9452 echo "configure:9453: checking for floorl declaration" >&5
9453 if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9454 echo $ac_n "(cached) $ac_c" 1>&6
9455 else
9456
9457
9458 ac_ext=C
9459 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9460 ac_cpp='$CXXCPP $CPPFLAGS'
9461 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9462 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9463 cross_compiling=$ac_cv_prog_cxx_cross
9464
9465 cat > conftest.$ac_ext <<EOF
9466 #line 9467 "configure"
9467 #include "confdefs.h"
9468 #include <math.h>
9469 int main() {
9470 floorl(0);
9471 ; return 0; }
9472 EOF
9473 if { (eval echo configure:9474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9474 rm -rf conftest*
9475 glibcpp_cv_func_floorl_use=yes
9476 else
9477 echo "configure: failed program was:" >&5
9478 cat conftest.$ac_ext >&5
9479 rm -rf conftest*
9480 glibcpp_cv_func_floorl_use=no
9481 fi
9482 rm -f conftest*
9483 ac_ext=c
9484 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9485 ac_cpp='$CPP $CPPFLAGS'
9486 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9487 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9488 cross_compiling=$ac_cv_prog_cc_cross
9489
9490
9491 fi
9492
9493 echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9494 if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9495 for ac_func in floorl
9496 do
9497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9498 echo "configure:9499: checking for $ac_func" >&5
9499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9500 echo $ac_n "(cached) $ac_c" 1>&6
9501 else
9502 cat > conftest.$ac_ext <<EOF
9503 #line 9504 "configure"
9504 #include "confdefs.h"
9505 /* System header to define __stub macros and hopefully few prototypes,
9506 which can conflict with char $ac_func(); below. */
9507 #include <assert.h>
9508 /* Override any gcc2 internal prototype to avoid an error. */
9509 /* We use char because int might match the return type of a gcc2
9510 builtin and then its argument prototype would still apply. */
9511 char $ac_func();
9512
9513 int main() {
9514
9515 /* The GNU C library defines this for functions which it implements
9516 to always fail with ENOSYS. Some functions are actually named
9517 something starting with __ and the normal name is an alias. */
9518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9519 choke me
9520 #else
9521 $ac_func();
9522 #endif
9523
9524 ; return 0; }
9525 EOF
9526 if { (eval echo configure:9527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9527 rm -rf conftest*
9528 eval "ac_cv_func_$ac_func=yes"
9529 else
9530 echo "configure: failed program was:" >&5
9531 cat conftest.$ac_ext >&5
9532 rm -rf conftest*
9533 eval "ac_cv_func_$ac_func=no"
9534 fi
9535 rm -f conftest*
9536 fi
9537
9538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9539 echo "$ac_t""yes" 1>&6
9540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9541 cat >> confdefs.h <<EOF
9542 #define $ac_tr_func 1
9543 EOF
9544
9545 else
9546 echo "$ac_t""no" 1>&6
9547 fi
9548 done
9549
9550 fi
9551
9552
9553 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9554 echo "configure:9555: checking for fmodl declaration" >&5
9555 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9556 echo $ac_n "(cached) $ac_c" 1>&6
9557 else
9558
9559
9560 ac_ext=C
9561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9562 ac_cpp='$CXXCPP $CPPFLAGS'
9563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9565 cross_compiling=$ac_cv_prog_cxx_cross
9566
9567 cat > conftest.$ac_ext <<EOF
9568 #line 9569 "configure"
9569 #include "confdefs.h"
9570 #include <math.h>
9571 int main() {
9572 fmodl(0, 0);
9573 ; return 0; }
9574 EOF
9575 if { (eval echo configure:9576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9576 rm -rf conftest*
9577 glibcpp_cv_func_fmodl_use=yes
9578 else
9579 echo "configure: failed program was:" >&5
9580 cat conftest.$ac_ext >&5
9581 rm -rf conftest*
9582 glibcpp_cv_func_fmodl_use=no
9583 fi
9584 rm -f conftest*
9585 ac_ext=c
9586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9587 ac_cpp='$CPP $CPPFLAGS'
9588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9590 cross_compiling=$ac_cv_prog_cc_cross
9591
9592
9593 fi
9594
9595 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9596 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9597 for ac_func in fmodl
9598 do
9599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9600 echo "configure:9601: checking for $ac_func" >&5
9601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9602 echo $ac_n "(cached) $ac_c" 1>&6
9603 else
9604 cat > conftest.$ac_ext <<EOF
9605 #line 9606 "configure"
9606 #include "confdefs.h"
9607 /* System header to define __stub macros and hopefully few prototypes,
9608 which can conflict with char $ac_func(); below. */
9609 #include <assert.h>
9610 /* Override any gcc2 internal prototype to avoid an error. */
9611 /* We use char because int might match the return type of a gcc2
9612 builtin and then its argument prototype would still apply. */
9613 char $ac_func();
9614
9615 int main() {
9616
9617 /* The GNU C library defines this for functions which it implements
9618 to always fail with ENOSYS. Some functions are actually named
9619 something starting with __ and the normal name is an alias. */
9620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9621 choke me
9622 #else
9623 $ac_func();
9624 #endif
9625
9626 ; return 0; }
9627 EOF
9628 if { (eval echo configure:9629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9629 rm -rf conftest*
9630 eval "ac_cv_func_$ac_func=yes"
9631 else
9632 echo "configure: failed program was:" >&5
9633 cat conftest.$ac_ext >&5
9634 rm -rf conftest*
9635 eval "ac_cv_func_$ac_func=no"
9636 fi
9637 rm -f conftest*
9638 fi
9639
9640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9641 echo "$ac_t""yes" 1>&6
9642 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9643 cat >> confdefs.h <<EOF
9644 #define $ac_tr_func 1
9645 EOF
9646
9647 else
9648 echo "$ac_t""no" 1>&6
9649 fi
9650 done
9651
9652 fi
9653
9654
9655 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9656 echo "configure:9657: checking for frexpl declaration" >&5
9657 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9658 echo $ac_n "(cached) $ac_c" 1>&6
9659 else
9660
9661
9662 ac_ext=C
9663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9664 ac_cpp='$CXXCPP $CPPFLAGS'
9665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9667 cross_compiling=$ac_cv_prog_cxx_cross
9668
9669 cat > conftest.$ac_ext <<EOF
9670 #line 9671 "configure"
9671 #include "confdefs.h"
9672 #include <math.h>
9673 int main() {
9674 frexpl(0, 0);
9675 ; return 0; }
9676 EOF
9677 if { (eval echo configure:9678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9678 rm -rf conftest*
9679 glibcpp_cv_func_frexpl_use=yes
9680 else
9681 echo "configure: failed program was:" >&5
9682 cat conftest.$ac_ext >&5
9683 rm -rf conftest*
9684 glibcpp_cv_func_frexpl_use=no
9685 fi
9686 rm -f conftest*
9687 ac_ext=c
9688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9689 ac_cpp='$CPP $CPPFLAGS'
9690 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9691 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9692 cross_compiling=$ac_cv_prog_cc_cross
9693
9694
9695 fi
9696
9697 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9698 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9699 for ac_func in frexpl
9700 do
9701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9702 echo "configure:9703: checking for $ac_func" >&5
9703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9704 echo $ac_n "(cached) $ac_c" 1>&6
9705 else
9706 cat > conftest.$ac_ext <<EOF
9707 #line 9708 "configure"
9708 #include "confdefs.h"
9709 /* System header to define __stub macros and hopefully few prototypes,
9710 which can conflict with char $ac_func(); below. */
9711 #include <assert.h>
9712 /* Override any gcc2 internal prototype to avoid an error. */
9713 /* We use char because int might match the return type of a gcc2
9714 builtin and then its argument prototype would still apply. */
9715 char $ac_func();
9716
9717 int main() {
9718
9719 /* The GNU C library defines this for functions which it implements
9720 to always fail with ENOSYS. Some functions are actually named
9721 something starting with __ and the normal name is an alias. */
9722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9723 choke me
9724 #else
9725 $ac_func();
9726 #endif
9727
9728 ; return 0; }
9729 EOF
9730 if { (eval echo configure:9731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9731 rm -rf conftest*
9732 eval "ac_cv_func_$ac_func=yes"
9733 else
9734 echo "configure: failed program was:" >&5
9735 cat conftest.$ac_ext >&5
9736 rm -rf conftest*
9737 eval "ac_cv_func_$ac_func=no"
9738 fi
9739 rm -f conftest*
9740 fi
9741
9742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9743 echo "$ac_t""yes" 1>&6
9744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9745 cat >> confdefs.h <<EOF
9746 #define $ac_tr_func 1
9747 EOF
9748
9749 else
9750 echo "$ac_t""no" 1>&6
9751 fi
9752 done
9753
9754 fi
9755
9756
9757 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9758 echo "configure:9759: checking for ldexpl declaration" >&5
9759 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9760 echo $ac_n "(cached) $ac_c" 1>&6
9761 else
9762
9763
9764 ac_ext=C
9765 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9766 ac_cpp='$CXXCPP $CPPFLAGS'
9767 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9768 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9769 cross_compiling=$ac_cv_prog_cxx_cross
9770
9771 cat > conftest.$ac_ext <<EOF
9772 #line 9773 "configure"
9773 #include "confdefs.h"
9774 #include <math.h>
9775 int main() {
9776 ldexpl(0, 0);
9777 ; return 0; }
9778 EOF
9779 if { (eval echo configure:9780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9780 rm -rf conftest*
9781 glibcpp_cv_func_ldexpl_use=yes
9782 else
9783 echo "configure: failed program was:" >&5
9784 cat conftest.$ac_ext >&5
9785 rm -rf conftest*
9786 glibcpp_cv_func_ldexpl_use=no
9787 fi
9788 rm -f conftest*
9789 ac_ext=c
9790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9791 ac_cpp='$CPP $CPPFLAGS'
9792 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9793 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9794 cross_compiling=$ac_cv_prog_cc_cross
9795
9796
9797 fi
9798
9799 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9800 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9801 for ac_func in ldexpl
9802 do
9803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9804 echo "configure:9805: checking for $ac_func" >&5
9805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9806 echo $ac_n "(cached) $ac_c" 1>&6
9807 else
9808 cat > conftest.$ac_ext <<EOF
9809 #line 9810 "configure"
9810 #include "confdefs.h"
9811 /* System header to define __stub macros and hopefully few prototypes,
9812 which can conflict with char $ac_func(); below. */
9813 #include <assert.h>
9814 /* Override any gcc2 internal prototype to avoid an error. */
9815 /* We use char because int might match the return type of a gcc2
9816 builtin and then its argument prototype would still apply. */
9817 char $ac_func();
9818
9819 int main() {
9820
9821 /* The GNU C library defines this for functions which it implements
9822 to always fail with ENOSYS. Some functions are actually named
9823 something starting with __ and the normal name is an alias. */
9824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9825 choke me
9826 #else
9827 $ac_func();
9828 #endif
9829
9830 ; return 0; }
9831 EOF
9832 if { (eval echo configure:9833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9833 rm -rf conftest*
9834 eval "ac_cv_func_$ac_func=yes"
9835 else
9836 echo "configure: failed program was:" >&5
9837 cat conftest.$ac_ext >&5
9838 rm -rf conftest*
9839 eval "ac_cv_func_$ac_func=no"
9840 fi
9841 rm -f conftest*
9842 fi
9843
9844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9845 echo "$ac_t""yes" 1>&6
9846 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9847 cat >> confdefs.h <<EOF
9848 #define $ac_tr_func 1
9849 EOF
9850
9851 else
9852 echo "$ac_t""no" 1>&6
9853 fi
9854 done
9855
9856 fi
9857
9858
9859 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9860 echo "configure:9861: checking for logl declaration" >&5
9861 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9862 echo $ac_n "(cached) $ac_c" 1>&6
9863 else
9864
9865
9866 ac_ext=C
9867 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9868 ac_cpp='$CXXCPP $CPPFLAGS'
9869 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9870 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9871 cross_compiling=$ac_cv_prog_cxx_cross
9872
9873 cat > conftest.$ac_ext <<EOF
9874 #line 9875 "configure"
9875 #include "confdefs.h"
9876 #include <math.h>
9877 int main() {
9878 logl(0);
9879 ; return 0; }
9880 EOF
9881 if { (eval echo configure:9882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9882 rm -rf conftest*
9883 glibcpp_cv_func_logl_use=yes
9884 else
9885 echo "configure: failed program was:" >&5
9886 cat conftest.$ac_ext >&5
9887 rm -rf conftest*
9888 glibcpp_cv_func_logl_use=no
9889 fi
9890 rm -f conftest*
9891 ac_ext=c
9892 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9893 ac_cpp='$CPP $CPPFLAGS'
9894 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9895 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9896 cross_compiling=$ac_cv_prog_cc_cross
9897
9898
9899 fi
9900
9901 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9902 if test x$glibcpp_cv_func_logl_use = x"yes"; then
9903 for ac_func in logl
9904 do
9905 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9906 echo "configure:9907: checking for $ac_func" >&5
9907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9908 echo $ac_n "(cached) $ac_c" 1>&6
9909 else
9910 cat > conftest.$ac_ext <<EOF
9911 #line 9912 "configure"
9912 #include "confdefs.h"
9913 /* System header to define __stub macros and hopefully few prototypes,
9914 which can conflict with char $ac_func(); below. */
9915 #include <assert.h>
9916 /* Override any gcc2 internal prototype to avoid an error. */
9917 /* We use char because int might match the return type of a gcc2
9918 builtin and then its argument prototype would still apply. */
9919 char $ac_func();
9920
9921 int main() {
9922
9923 /* The GNU C library defines this for functions which it implements
9924 to always fail with ENOSYS. Some functions are actually named
9925 something starting with __ and the normal name is an alias. */
9926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9927 choke me
9928 #else
9929 $ac_func();
9930 #endif
9931
9932 ; return 0; }
9933 EOF
9934 if { (eval echo configure:9935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9935 rm -rf conftest*
9936 eval "ac_cv_func_$ac_func=yes"
9937 else
9938 echo "configure: failed program was:" >&5
9939 cat conftest.$ac_ext >&5
9940 rm -rf conftest*
9941 eval "ac_cv_func_$ac_func=no"
9942 fi
9943 rm -f conftest*
9944 fi
9945
9946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9947 echo "$ac_t""yes" 1>&6
9948 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9949 cat >> confdefs.h <<EOF
9950 #define $ac_tr_func 1
9951 EOF
9952
9953 else
9954 echo "$ac_t""no" 1>&6
9955 fi
9956 done
9957
9958 fi
9959
9960
9961 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9962 echo "configure:9963: checking for log10l declaration" >&5
9963 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9964 echo $ac_n "(cached) $ac_c" 1>&6
9965 else
9966
9967
9968 ac_ext=C
9969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9970 ac_cpp='$CXXCPP $CPPFLAGS'
9971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9973 cross_compiling=$ac_cv_prog_cxx_cross
9974
9975 cat > conftest.$ac_ext <<EOF
9976 #line 9977 "configure"
9977 #include "confdefs.h"
9978 #include <math.h>
9979 int main() {
9980 log10l(0);
9981 ; return 0; }
9982 EOF
9983 if { (eval echo configure:9984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9984 rm -rf conftest*
9985 glibcpp_cv_func_log10l_use=yes
9986 else
9987 echo "configure: failed program was:" >&5
9988 cat conftest.$ac_ext >&5
9989 rm -rf conftest*
9990 glibcpp_cv_func_log10l_use=no
9991 fi
9992 rm -f conftest*
9993 ac_ext=c
9994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9995 ac_cpp='$CPP $CPPFLAGS'
9996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9998 cross_compiling=$ac_cv_prog_cc_cross
9999
10000
10001 fi
10002
10003 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
10004 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
10005 for ac_func in log10l
10006 do
10007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10008 echo "configure:10009: checking for $ac_func" >&5
10009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10010 echo $ac_n "(cached) $ac_c" 1>&6
10011 else
10012 cat > conftest.$ac_ext <<EOF
10013 #line 10014 "configure"
10014 #include "confdefs.h"
10015 /* System header to define __stub macros and hopefully few prototypes,
10016 which can conflict with char $ac_func(); below. */
10017 #include <assert.h>
10018 /* Override any gcc2 internal prototype to avoid an error. */
10019 /* We use char because int might match the return type of a gcc2
10020 builtin and then its argument prototype would still apply. */
10021 char $ac_func();
10022
10023 int main() {
10024
10025 /* The GNU C library defines this for functions which it implements
10026 to always fail with ENOSYS. Some functions are actually named
10027 something starting with __ and the normal name is an alias. */
10028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10029 choke me
10030 #else
10031 $ac_func();
10032 #endif
10033
10034 ; return 0; }
10035 EOF
10036 if { (eval echo configure:10037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10037 rm -rf conftest*
10038 eval "ac_cv_func_$ac_func=yes"
10039 else
10040 echo "configure: failed program was:" >&5
10041 cat conftest.$ac_ext >&5
10042 rm -rf conftest*
10043 eval "ac_cv_func_$ac_func=no"
10044 fi
10045 rm -f conftest*
10046 fi
10047
10048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10049 echo "$ac_t""yes" 1>&6
10050 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10051 cat >> confdefs.h <<EOF
10052 #define $ac_tr_func 1
10053 EOF
10054
10055 else
10056 echo "$ac_t""no" 1>&6
10057 fi
10058 done
10059
10060 fi
10061
10062
10063 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
10064 echo "configure:10065: checking for modfl declaration" >&5
10065 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
10066 echo $ac_n "(cached) $ac_c" 1>&6
10067 else
10068
10069
10070 ac_ext=C
10071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10072 ac_cpp='$CXXCPP $CPPFLAGS'
10073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10075 cross_compiling=$ac_cv_prog_cxx_cross
10076
10077 cat > conftest.$ac_ext <<EOF
10078 #line 10079 "configure"
10079 #include "confdefs.h"
10080 #include <math.h>
10081 int main() {
10082 modfl(0, 0);
10083 ; return 0; }
10084 EOF
10085 if { (eval echo configure:10086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10086 rm -rf conftest*
10087 glibcpp_cv_func_modfl_use=yes
10088 else
10089 echo "configure: failed program was:" >&5
10090 cat conftest.$ac_ext >&5
10091 rm -rf conftest*
10092 glibcpp_cv_func_modfl_use=no
10093 fi
10094 rm -f conftest*
10095 ac_ext=c
10096 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10097 ac_cpp='$CPP $CPPFLAGS'
10098 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10099 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10100 cross_compiling=$ac_cv_prog_cc_cross
10101
10102
10103 fi
10104
10105 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
10106 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
10107 for ac_func in modfl
10108 do
10109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10110 echo "configure:10111: checking for $ac_func" >&5
10111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10112 echo $ac_n "(cached) $ac_c" 1>&6
10113 else
10114 cat > conftest.$ac_ext <<EOF
10115 #line 10116 "configure"
10116 #include "confdefs.h"
10117 /* System header to define __stub macros and hopefully few prototypes,
10118 which can conflict with char $ac_func(); below. */
10119 #include <assert.h>
10120 /* Override any gcc2 internal prototype to avoid an error. */
10121 /* We use char because int might match the return type of a gcc2
10122 builtin and then its argument prototype would still apply. */
10123 char $ac_func();
10124
10125 int main() {
10126
10127 /* The GNU C library defines this for functions which it implements
10128 to always fail with ENOSYS. Some functions are actually named
10129 something starting with __ and the normal name is an alias. */
10130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10131 choke me
10132 #else
10133 $ac_func();
10134 #endif
10135
10136 ; return 0; }
10137 EOF
10138 if { (eval echo configure:10139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10139 rm -rf conftest*
10140 eval "ac_cv_func_$ac_func=yes"
10141 else
10142 echo "configure: failed program was:" >&5
10143 cat conftest.$ac_ext >&5
10144 rm -rf conftest*
10145 eval "ac_cv_func_$ac_func=no"
10146 fi
10147 rm -f conftest*
10148 fi
10149
10150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10151 echo "$ac_t""yes" 1>&6
10152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10153 cat >> confdefs.h <<EOF
10154 #define $ac_tr_func 1
10155 EOF
10156
10157 else
10158 echo "$ac_t""no" 1>&6
10159 fi
10160 done
10161
10162 fi
10163
10164
10165 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10166 echo "configure:10167: checking for powl declaration" >&5
10167 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10168 echo $ac_n "(cached) $ac_c" 1>&6
10169 else
10170
10171
10172 ac_ext=C
10173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10174 ac_cpp='$CXXCPP $CPPFLAGS'
10175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10177 cross_compiling=$ac_cv_prog_cxx_cross
10178
10179 cat > conftest.$ac_ext <<EOF
10180 #line 10181 "configure"
10181 #include "confdefs.h"
10182 #include <math.h>
10183 int main() {
10184 powl(0, 0);
10185 ; return 0; }
10186 EOF
10187 if { (eval echo configure:10188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10188 rm -rf conftest*
10189 glibcpp_cv_func_powl_use=yes
10190 else
10191 echo "configure: failed program was:" >&5
10192 cat conftest.$ac_ext >&5
10193 rm -rf conftest*
10194 glibcpp_cv_func_powl_use=no
10195 fi
10196 rm -f conftest*
10197 ac_ext=c
10198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10199 ac_cpp='$CPP $CPPFLAGS'
10200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10202 cross_compiling=$ac_cv_prog_cc_cross
10203
10204
10205 fi
10206
10207 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10208 if test x$glibcpp_cv_func_powl_use = x"yes"; then
10209 for ac_func in powl
10210 do
10211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10212 echo "configure:10213: checking for $ac_func" >&5
10213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10214 echo $ac_n "(cached) $ac_c" 1>&6
10215 else
10216 cat > conftest.$ac_ext <<EOF
10217 #line 10218 "configure"
10218 #include "confdefs.h"
10219 /* System header to define __stub macros and hopefully few prototypes,
10220 which can conflict with char $ac_func(); below. */
10221 #include <assert.h>
10222 /* Override any gcc2 internal prototype to avoid an error. */
10223 /* We use char because int might match the return type of a gcc2
10224 builtin and then its argument prototype would still apply. */
10225 char $ac_func();
10226
10227 int main() {
10228
10229 /* The GNU C library defines this for functions which it implements
10230 to always fail with ENOSYS. Some functions are actually named
10231 something starting with __ and the normal name is an alias. */
10232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10233 choke me
10234 #else
10235 $ac_func();
10236 #endif
10237
10238 ; return 0; }
10239 EOF
10240 if { (eval echo configure:10241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10241 rm -rf conftest*
10242 eval "ac_cv_func_$ac_func=yes"
10243 else
10244 echo "configure: failed program was:" >&5
10245 cat conftest.$ac_ext >&5
10246 rm -rf conftest*
10247 eval "ac_cv_func_$ac_func=no"
10248 fi
10249 rm -f conftest*
10250 fi
10251
10252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10253 echo "$ac_t""yes" 1>&6
10254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10255 cat >> confdefs.h <<EOF
10256 #define $ac_tr_func 1
10257 EOF
10258
10259 else
10260 echo "$ac_t""no" 1>&6
10261 fi
10262 done
10263
10264 fi
10265
10266
10267 echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10268 echo "configure:10269: checking for sinl declaration" >&5
10269 if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10270 echo $ac_n "(cached) $ac_c" 1>&6
10271 else
10272
10273
10274 ac_ext=C
10275 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10276 ac_cpp='$CXXCPP $CPPFLAGS'
10277 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10278 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10279 cross_compiling=$ac_cv_prog_cxx_cross
10280
10281 cat > conftest.$ac_ext <<EOF
10282 #line 10283 "configure"
10283 #include "confdefs.h"
10284 #include <math.h>
10285 int main() {
10286 sinl(0);
10287 ; return 0; }
10288 EOF
10289 if { (eval echo configure:10290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10290 rm -rf conftest*
10291 glibcpp_cv_func_sinl_use=yes
10292 else
10293 echo "configure: failed program was:" >&5
10294 cat conftest.$ac_ext >&5
10295 rm -rf conftest*
10296 glibcpp_cv_func_sinl_use=no
10297 fi
10298 rm -f conftest*
10299 ac_ext=c
10300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10301 ac_cpp='$CPP $CPPFLAGS'
10302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10304 cross_compiling=$ac_cv_prog_cc_cross
10305
10306
10307 fi
10308
10309 echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10310 if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10311 for ac_func in sinl
10312 do
10313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10314 echo "configure:10315: checking for $ac_func" >&5
10315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10316 echo $ac_n "(cached) $ac_c" 1>&6
10317 else
10318 cat > conftest.$ac_ext <<EOF
10319 #line 10320 "configure"
10320 #include "confdefs.h"
10321 /* System header to define __stub macros and hopefully few prototypes,
10322 which can conflict with char $ac_func(); below. */
10323 #include <assert.h>
10324 /* Override any gcc2 internal prototype to avoid an error. */
10325 /* We use char because int might match the return type of a gcc2
10326 builtin and then its argument prototype would still apply. */
10327 char $ac_func();
10328
10329 int main() {
10330
10331 /* The GNU C library defines this for functions which it implements
10332 to always fail with ENOSYS. Some functions are actually named
10333 something starting with __ and the normal name is an alias. */
10334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10335 choke me
10336 #else
10337 $ac_func();
10338 #endif
10339
10340 ; return 0; }
10341 EOF
10342 if { (eval echo configure:10343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10343 rm -rf conftest*
10344 eval "ac_cv_func_$ac_func=yes"
10345 else
10346 echo "configure: failed program was:" >&5
10347 cat conftest.$ac_ext >&5
10348 rm -rf conftest*
10349 eval "ac_cv_func_$ac_func=no"
10350 fi
10351 rm -f conftest*
10352 fi
10353
10354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10355 echo "$ac_t""yes" 1>&6
10356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10357 cat >> confdefs.h <<EOF
10358 #define $ac_tr_func 1
10359 EOF
10360
10361 else
10362 echo "$ac_t""no" 1>&6
10363 fi
10364 done
10365
10366 fi
10367
10368
10369 echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10370 echo "configure:10371: checking for sinhl declaration" >&5
10371 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10372 echo $ac_n "(cached) $ac_c" 1>&6
10373 else
10374
10375
10376 ac_ext=C
10377 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10378 ac_cpp='$CXXCPP $CPPFLAGS'
10379 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10380 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10381 cross_compiling=$ac_cv_prog_cxx_cross
10382
10383 cat > conftest.$ac_ext <<EOF
10384 #line 10385 "configure"
10385 #include "confdefs.h"
10386 #include <math.h>
10387 int main() {
10388 sinhl(0);
10389 ; return 0; }
10390 EOF
10391 if { (eval echo configure:10392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10392 rm -rf conftest*
10393 glibcpp_cv_func_sinhl_use=yes
10394 else
10395 echo "configure: failed program was:" >&5
10396 cat conftest.$ac_ext >&5
10397 rm -rf conftest*
10398 glibcpp_cv_func_sinhl_use=no
10399 fi
10400 rm -f conftest*
10401 ac_ext=c
10402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10403 ac_cpp='$CPP $CPPFLAGS'
10404 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10405 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10406 cross_compiling=$ac_cv_prog_cc_cross
10407
10408
10409 fi
10410
10411 echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10412 if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10413 for ac_func in sinhl
10414 do
10415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10416 echo "configure:10417: checking for $ac_func" >&5
10417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10418 echo $ac_n "(cached) $ac_c" 1>&6
10419 else
10420 cat > conftest.$ac_ext <<EOF
10421 #line 10422 "configure"
10422 #include "confdefs.h"
10423 /* System header to define __stub macros and hopefully few prototypes,
10424 which can conflict with char $ac_func(); below. */
10425 #include <assert.h>
10426 /* Override any gcc2 internal prototype to avoid an error. */
10427 /* We use char because int might match the return type of a gcc2
10428 builtin and then its argument prototype would still apply. */
10429 char $ac_func();
10430
10431 int main() {
10432
10433 /* The GNU C library defines this for functions which it implements
10434 to always fail with ENOSYS. Some functions are actually named
10435 something starting with __ and the normal name is an alias. */
10436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10437 choke me
10438 #else
10439 $ac_func();
10440 #endif
10441
10442 ; return 0; }
10443 EOF
10444 if { (eval echo configure:10445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10445 rm -rf conftest*
10446 eval "ac_cv_func_$ac_func=yes"
10447 else
10448 echo "configure: failed program was:" >&5
10449 cat conftest.$ac_ext >&5
10450 rm -rf conftest*
10451 eval "ac_cv_func_$ac_func=no"
10452 fi
10453 rm -f conftest*
10454 fi
10455
10456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10457 echo "$ac_t""yes" 1>&6
10458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10459 cat >> confdefs.h <<EOF
10460 #define $ac_tr_func 1
10461 EOF
10462
10463 else
10464 echo "$ac_t""no" 1>&6
10465 fi
10466 done
10467
10468 fi
10469
10470
10471 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10472 echo "configure:10473: checking for sqrtl declaration" >&5
10473 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10474 echo $ac_n "(cached) $ac_c" 1>&6
10475 else
10476
10477
10478 ac_ext=C
10479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10480 ac_cpp='$CXXCPP $CPPFLAGS'
10481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10483 cross_compiling=$ac_cv_prog_cxx_cross
10484
10485 cat > conftest.$ac_ext <<EOF
10486 #line 10487 "configure"
10487 #include "confdefs.h"
10488 #include <math.h>
10489 int main() {
10490 sqrtl(0);
10491 ; return 0; }
10492 EOF
10493 if { (eval echo configure:10494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10494 rm -rf conftest*
10495 glibcpp_cv_func_sqrtl_use=yes
10496 else
10497 echo "configure: failed program was:" >&5
10498 cat conftest.$ac_ext >&5
10499 rm -rf conftest*
10500 glibcpp_cv_func_sqrtl_use=no
10501 fi
10502 rm -f conftest*
10503 ac_ext=c
10504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10505 ac_cpp='$CPP $CPPFLAGS'
10506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10508 cross_compiling=$ac_cv_prog_cc_cross
10509
10510
10511 fi
10512
10513 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10514 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10515 for ac_func in sqrtl
10516 do
10517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10518 echo "configure:10519: checking for $ac_func" >&5
10519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10520 echo $ac_n "(cached) $ac_c" 1>&6
10521 else
10522 cat > conftest.$ac_ext <<EOF
10523 #line 10524 "configure"
10524 #include "confdefs.h"
10525 /* System header to define __stub macros and hopefully few prototypes,
10526 which can conflict with char $ac_func(); below. */
10527 #include <assert.h>
10528 /* Override any gcc2 internal prototype to avoid an error. */
10529 /* We use char because int might match the return type of a gcc2
10530 builtin and then its argument prototype would still apply. */
10531 char $ac_func();
10532
10533 int main() {
10534
10535 /* The GNU C library defines this for functions which it implements
10536 to always fail with ENOSYS. Some functions are actually named
10537 something starting with __ and the normal name is an alias. */
10538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10539 choke me
10540 #else
10541 $ac_func();
10542 #endif
10543
10544 ; return 0; }
10545 EOF
10546 if { (eval echo configure:10547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10547 rm -rf conftest*
10548 eval "ac_cv_func_$ac_func=yes"
10549 else
10550 echo "configure: failed program was:" >&5
10551 cat conftest.$ac_ext >&5
10552 rm -rf conftest*
10553 eval "ac_cv_func_$ac_func=no"
10554 fi
10555 rm -f conftest*
10556 fi
10557
10558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10559 echo "$ac_t""yes" 1>&6
10560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10561 cat >> confdefs.h <<EOF
10562 #define $ac_tr_func 1
10563 EOF
10564
10565 else
10566 echo "$ac_t""no" 1>&6
10567 fi
10568 done
10569
10570 fi
10571
10572
10573 echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10574 echo "configure:10575: checking for tanl declaration" >&5
10575 if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10576 echo $ac_n "(cached) $ac_c" 1>&6
10577 else
10578
10579
10580 ac_ext=C
10581 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10582 ac_cpp='$CXXCPP $CPPFLAGS'
10583 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10584 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10585 cross_compiling=$ac_cv_prog_cxx_cross
10586
10587 cat > conftest.$ac_ext <<EOF
10588 #line 10589 "configure"
10589 #include "confdefs.h"
10590 #include <math.h>
10591 int main() {
10592 tanl(0);
10593 ; return 0; }
10594 EOF
10595 if { (eval echo configure:10596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10596 rm -rf conftest*
10597 glibcpp_cv_func_tanl_use=yes
10598 else
10599 echo "configure: failed program was:" >&5
10600 cat conftest.$ac_ext >&5
10601 rm -rf conftest*
10602 glibcpp_cv_func_tanl_use=no
10603 fi
10604 rm -f conftest*
10605 ac_ext=c
10606 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10607 ac_cpp='$CPP $CPPFLAGS'
10608 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10609 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10610 cross_compiling=$ac_cv_prog_cc_cross
10611
10612
10613 fi
10614
10615 echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10616 if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10617 for ac_func in tanl
10618 do
10619 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10620 echo "configure:10621: checking for $ac_func" >&5
10621 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10622 echo $ac_n "(cached) $ac_c" 1>&6
10623 else
10624 cat > conftest.$ac_ext <<EOF
10625 #line 10626 "configure"
10626 #include "confdefs.h"
10627 /* System header to define __stub macros and hopefully few prototypes,
10628 which can conflict with char $ac_func(); below. */
10629 #include <assert.h>
10630 /* Override any gcc2 internal prototype to avoid an error. */
10631 /* We use char because int might match the return type of a gcc2
10632 builtin and then its argument prototype would still apply. */
10633 char $ac_func();
10634
10635 int main() {
10636
10637 /* The GNU C library defines this for functions which it implements
10638 to always fail with ENOSYS. Some functions are actually named
10639 something starting with __ and the normal name is an alias. */
10640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10641 choke me
10642 #else
10643 $ac_func();
10644 #endif
10645
10646 ; return 0; }
10647 EOF
10648 if { (eval echo configure:10649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10649 rm -rf conftest*
10650 eval "ac_cv_func_$ac_func=yes"
10651 else
10652 echo "configure: failed program was:" >&5
10653 cat conftest.$ac_ext >&5
10654 rm -rf conftest*
10655 eval "ac_cv_func_$ac_func=no"
10656 fi
10657 rm -f conftest*
10658 fi
10659
10660 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10661 echo "$ac_t""yes" 1>&6
10662 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10663 cat >> confdefs.h <<EOF
10664 #define $ac_tr_func 1
10665 EOF
10666
10667 else
10668 echo "$ac_t""no" 1>&6
10669 fi
10670 done
10671
10672 fi
10673
10674
10675 echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10676 echo "configure:10677: checking for tanhl declaration" >&5
10677 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10678 echo $ac_n "(cached) $ac_c" 1>&6
10679 else
10680
10681
10682 ac_ext=C
10683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10684 ac_cpp='$CXXCPP $CPPFLAGS'
10685 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10686 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10687 cross_compiling=$ac_cv_prog_cxx_cross
10688
10689 cat > conftest.$ac_ext <<EOF
10690 #line 10691 "configure"
10691 #include "confdefs.h"
10692 #include <math.h>
10693 int main() {
10694 tanhl(0);
10695 ; return 0; }
10696 EOF
10697 if { (eval echo configure:10698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10698 rm -rf conftest*
10699 glibcpp_cv_func_tanhl_use=yes
10700 else
10701 echo "configure: failed program was:" >&5
10702 cat conftest.$ac_ext >&5
10703 rm -rf conftest*
10704 glibcpp_cv_func_tanhl_use=no
10705 fi
10706 rm -f conftest*
10707 ac_ext=c
10708 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10709 ac_cpp='$CPP $CPPFLAGS'
10710 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10711 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10712 cross_compiling=$ac_cv_prog_cc_cross
10713
10714
10715 fi
10716
10717 echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10718 if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10719 for ac_func in tanhl
10720 do
10721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10722 echo "configure:10723: checking for $ac_func" >&5
10723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10724 echo $ac_n "(cached) $ac_c" 1>&6
10725 else
10726 cat > conftest.$ac_ext <<EOF
10727 #line 10728 "configure"
10728 #include "confdefs.h"
10729 /* System header to define __stub macros and hopefully few prototypes,
10730 which can conflict with char $ac_func(); below. */
10731 #include <assert.h>
10732 /* Override any gcc2 internal prototype to avoid an error. */
10733 /* We use char because int might match the return type of a gcc2
10734 builtin and then its argument prototype would still apply. */
10735 char $ac_func();
10736
10737 int main() {
10738
10739 /* The GNU C library defines this for functions which it implements
10740 to always fail with ENOSYS. Some functions are actually named
10741 something starting with __ and the normal name is an alias. */
10742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10743 choke me
10744 #else
10745 $ac_func();
10746 #endif
10747
10748 ; return 0; }
10749 EOF
10750 if { (eval echo configure:10751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10751 rm -rf conftest*
10752 eval "ac_cv_func_$ac_func=yes"
10753 else
10754 echo "configure: failed program was:" >&5
10755 cat conftest.$ac_ext >&5
10756 rm -rf conftest*
10757 eval "ac_cv_func_$ac_func=no"
10758 fi
10759 rm -f conftest*
10760 fi
10761
10762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10763 echo "$ac_t""yes" 1>&6
10764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10765 cat >> confdefs.h <<EOF
10766 #define $ac_tr_func 1
10767 EOF
10768
10769 else
10770 echo "$ac_t""no" 1>&6
10771 fi
10772 done
10773
10774 fi
10775
10776
10777 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10778 echo "configure:10779: checking for sincosl declaration" >&5
10779 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10780 echo $ac_n "(cached) $ac_c" 1>&6
10781 else
10782
10783
10784 ac_ext=C
10785 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10786 ac_cpp='$CXXCPP $CPPFLAGS'
10787 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10788 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10789 cross_compiling=$ac_cv_prog_cxx_cross
10790
10791 cat > conftest.$ac_ext <<EOF
10792 #line 10793 "configure"
10793 #include "confdefs.h"
10794 #include <math.h>
10795 int main() {
10796 sincosl(0, 0, 0);
10797 ; return 0; }
10798 EOF
10799 if { (eval echo configure:10800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10800 rm -rf conftest*
10801 glibcpp_cv_func_sincosl_use=yes
10802 else
10803 echo "configure: failed program was:" >&5
10804 cat conftest.$ac_ext >&5
10805 rm -rf conftest*
10806 glibcpp_cv_func_sincosl_use=no
10807 fi
10808 rm -f conftest*
10809 ac_ext=c
10810 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10811 ac_cpp='$CPP $CPPFLAGS'
10812 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10813 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10814 cross_compiling=$ac_cv_prog_cc_cross
10815
10816
10817 fi
10818
10819 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10820 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10821 for ac_func in sincosl
10822 do
10823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10824 echo "configure:10825: checking for $ac_func" >&5
10825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10826 echo $ac_n "(cached) $ac_c" 1>&6
10827 else
10828 cat > conftest.$ac_ext <<EOF
10829 #line 10830 "configure"
10830 #include "confdefs.h"
10831 /* System header to define __stub macros and hopefully few prototypes,
10832 which can conflict with char $ac_func(); below. */
10833 #include <assert.h>
10834 /* Override any gcc2 internal prototype to avoid an error. */
10835 /* We use char because int might match the return type of a gcc2
10836 builtin and then its argument prototype would still apply. */
10837 char $ac_func();
10838
10839 int main() {
10840
10841 /* The GNU C library defines this for functions which it implements
10842 to always fail with ENOSYS. Some functions are actually named
10843 something starting with __ and the normal name is an alias. */
10844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10845 choke me
10846 #else
10847 $ac_func();
10848 #endif
10849
10850 ; return 0; }
10851 EOF
10852 if { (eval echo configure:10853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10853 rm -rf conftest*
10854 eval "ac_cv_func_$ac_func=yes"
10855 else
10856 echo "configure: failed program was:" >&5
10857 cat conftest.$ac_ext >&5
10858 rm -rf conftest*
10859 eval "ac_cv_func_$ac_func=no"
10860 fi
10861 rm -f conftest*
10862 fi
10863
10864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10865 echo "$ac_t""yes" 1>&6
10866 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10867 cat >> confdefs.h <<EOF
10868 #define $ac_tr_func 1
10869 EOF
10870
10871 else
10872 echo "$ac_t""no" 1>&6
10873 fi
10874 done
10875
10876 fi
10877
10878
10879 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
10880 echo "configure:10881: checking for finitel declaration" >&5
10881 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
10882 echo $ac_n "(cached) $ac_c" 1>&6
10883 else
10884
10885
10886 ac_ext=C
10887 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10888 ac_cpp='$CXXCPP $CPPFLAGS'
10889 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10890 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10891 cross_compiling=$ac_cv_prog_cxx_cross
10892
10893 cat > conftest.$ac_ext <<EOF
10894 #line 10895 "configure"
10895 #include "confdefs.h"
10896 #include <math.h>
10897 int main() {
10898 finitel(0);
10899 ; return 0; }
10900 EOF
10901 if { (eval echo configure:10902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10902 rm -rf conftest*
10903 glibcpp_cv_func_finitel_use=yes
10904 else
10905 echo "configure: failed program was:" >&5
10906 cat conftest.$ac_ext >&5
10907 rm -rf conftest*
10908 glibcpp_cv_func_finitel_use=no
10909 fi
10910 rm -f conftest*
10911 ac_ext=c
10912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10913 ac_cpp='$CPP $CPPFLAGS'
10914 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10915 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10916 cross_compiling=$ac_cv_prog_cc_cross
10917
10918
10919 fi
10920
10921 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10922 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10923 for ac_func in finitel
10924 do
10925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10926 echo "configure:10927: checking for $ac_func" >&5
10927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10928 echo $ac_n "(cached) $ac_c" 1>&6
10929 else
10930 cat > conftest.$ac_ext <<EOF
10931 #line 10932 "configure"
10932 #include "confdefs.h"
10933 /* System header to define __stub macros and hopefully few prototypes,
10934 which can conflict with char $ac_func(); below. */
10935 #include <assert.h>
10936 /* Override any gcc2 internal prototype to avoid an error. */
10937 /* We use char because int might match the return type of a gcc2
10938 builtin and then its argument prototype would still apply. */
10939 char $ac_func();
10940
10941 int main() {
10942
10943 /* The GNU C library defines this for functions which it implements
10944 to always fail with ENOSYS. Some functions are actually named
10945 something starting with __ and the normal name is an alias. */
10946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10947 choke me
10948 #else
10949 $ac_func();
10950 #endif
10951
10952 ; return 0; }
10953 EOF
10954 if { (eval echo configure:10955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10955 rm -rf conftest*
10956 eval "ac_cv_func_$ac_func=yes"
10957 else
10958 echo "configure: failed program was:" >&5
10959 cat conftest.$ac_ext >&5
10960 rm -rf conftest*
10961 eval "ac_cv_func_$ac_func=no"
10962 fi
10963 rm -f conftest*
10964 fi
10965
10966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10967 echo "$ac_t""yes" 1>&6
10968 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10969 cat >> confdefs.h <<EOF
10970 #define $ac_tr_func 1
10971 EOF
10972
10973 else
10974 echo "$ac_t""no" 1>&6
10975 fi
10976 done
10977
10978 fi
10979
10980
10981
10982 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10983 echo "configure:10984: checking for _isinf declaration" >&5
10984 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10985 echo $ac_n "(cached) $ac_c" 1>&6
10986 else
10987
10988
10989 ac_ext=C
10990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10991 ac_cpp='$CXXCPP $CPPFLAGS'
10992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10994 cross_compiling=$ac_cv_prog_cxx_cross
10995
10996 cat > conftest.$ac_ext <<EOF
10997 #line 10998 "configure"
10998 #include "confdefs.h"
10999 #include <math.h>
11000 int main() {
11001 _isinf(0);
11002 ; return 0; }
11003 EOF
11004 if { (eval echo configure:11005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11005 rm -rf conftest*
11006 glibcpp_cv_func__isinf_use=yes
11007 else
11008 echo "configure: failed program was:" >&5
11009 cat conftest.$ac_ext >&5
11010 rm -rf conftest*
11011 glibcpp_cv_func__isinf_use=no
11012 fi
11013 rm -f conftest*
11014 ac_ext=c
11015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11016 ac_cpp='$CPP $CPPFLAGS'
11017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11019 cross_compiling=$ac_cv_prog_cc_cross
11020
11021
11022 fi
11023
11024 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11025 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11026 for ac_func in _isinf
11027 do
11028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11029 echo "configure:11030: checking for $ac_func" >&5
11030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11031 echo $ac_n "(cached) $ac_c" 1>&6
11032 else
11033 cat > conftest.$ac_ext <<EOF
11034 #line 11035 "configure"
11035 #include "confdefs.h"
11036 /* System header to define __stub macros and hopefully few prototypes,
11037 which can conflict with char $ac_func(); below. */
11038 #include <assert.h>
11039 /* Override any gcc2 internal prototype to avoid an error. */
11040 /* We use char because int might match the return type of a gcc2
11041 builtin and then its argument prototype would still apply. */
11042 char $ac_func();
11043
11044 int main() {
11045
11046 /* The GNU C library defines this for functions which it implements
11047 to always fail with ENOSYS. Some functions are actually named
11048 something starting with __ and the normal name is an alias. */
11049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11050 choke me
11051 #else
11052 $ac_func();
11053 #endif
11054
11055 ; return 0; }
11056 EOF
11057 if { (eval echo configure:11058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11058 rm -rf conftest*
11059 eval "ac_cv_func_$ac_func=yes"
11060 else
11061 echo "configure: failed program was:" >&5
11062 cat conftest.$ac_ext >&5
11063 rm -rf conftest*
11064 eval "ac_cv_func_$ac_func=no"
11065 fi
11066 rm -f conftest*
11067 fi
11068
11069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11070 echo "$ac_t""yes" 1>&6
11071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11072 cat >> confdefs.h <<EOF
11073 #define $ac_tr_func 1
11074 EOF
11075
11076 else
11077 echo "$ac_t""no" 1>&6
11078 fi
11079 done
11080
11081 fi
11082
11083
11084 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11085 echo "configure:11086: checking for _isnan declaration" >&5
11086 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11087 echo $ac_n "(cached) $ac_c" 1>&6
11088 else
11089
11090
11091 ac_ext=C
11092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11093 ac_cpp='$CXXCPP $CPPFLAGS'
11094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11096 cross_compiling=$ac_cv_prog_cxx_cross
11097
11098 cat > conftest.$ac_ext <<EOF
11099 #line 11100 "configure"
11100 #include "confdefs.h"
11101 #include <math.h>
11102 int main() {
11103 _isnan(0);
11104 ; return 0; }
11105 EOF
11106 if { (eval echo configure:11107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11107 rm -rf conftest*
11108 glibcpp_cv_func__isnan_use=yes
11109 else
11110 echo "configure: failed program was:" >&5
11111 cat conftest.$ac_ext >&5
11112 rm -rf conftest*
11113 glibcpp_cv_func__isnan_use=no
11114 fi
11115 rm -f conftest*
11116 ac_ext=c
11117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11118 ac_cpp='$CPP $CPPFLAGS'
11119 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11120 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11121 cross_compiling=$ac_cv_prog_cc_cross
11122
11123
11124 fi
11125
11126 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11127 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11128 for ac_func in _isnan
11129 do
11130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11131 echo "configure:11132: checking for $ac_func" >&5
11132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11133 echo $ac_n "(cached) $ac_c" 1>&6
11134 else
11135 cat > conftest.$ac_ext <<EOF
11136 #line 11137 "configure"
11137 #include "confdefs.h"
11138 /* System header to define __stub macros and hopefully few prototypes,
11139 which can conflict with char $ac_func(); below. */
11140 #include <assert.h>
11141 /* Override any gcc2 internal prototype to avoid an error. */
11142 /* We use char because int might match the return type of a gcc2
11143 builtin and then its argument prototype would still apply. */
11144 char $ac_func();
11145
11146 int main() {
11147
11148 /* The GNU C library defines this for functions which it implements
11149 to always fail with ENOSYS. Some functions are actually named
11150 something starting with __ and the normal name is an alias. */
11151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11152 choke me
11153 #else
11154 $ac_func();
11155 #endif
11156
11157 ; return 0; }
11158 EOF
11159 if { (eval echo configure:11160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11160 rm -rf conftest*
11161 eval "ac_cv_func_$ac_func=yes"
11162 else
11163 echo "configure: failed program was:" >&5
11164 cat conftest.$ac_ext >&5
11165 rm -rf conftest*
11166 eval "ac_cv_func_$ac_func=no"
11167 fi
11168 rm -f conftest*
11169 fi
11170
11171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11172 echo "$ac_t""yes" 1>&6
11173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11174 cat >> confdefs.h <<EOF
11175 #define $ac_tr_func 1
11176 EOF
11177
11178 else
11179 echo "$ac_t""no" 1>&6
11180 fi
11181 done
11182
11183 fi
11184
11185
11186 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11187 echo "configure:11188: checking for _finite declaration" >&5
11188 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11189 echo $ac_n "(cached) $ac_c" 1>&6
11190 else
11191
11192
11193 ac_ext=C
11194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11195 ac_cpp='$CXXCPP $CPPFLAGS'
11196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11198 cross_compiling=$ac_cv_prog_cxx_cross
11199
11200 cat > conftest.$ac_ext <<EOF
11201 #line 11202 "configure"
11202 #include "confdefs.h"
11203 #include <math.h>
11204 int main() {
11205 _finite(0);
11206 ; return 0; }
11207 EOF
11208 if { (eval echo configure:11209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11209 rm -rf conftest*
11210 glibcpp_cv_func__finite_use=yes
11211 else
11212 echo "configure: failed program was:" >&5
11213 cat conftest.$ac_ext >&5
11214 rm -rf conftest*
11215 glibcpp_cv_func__finite_use=no
11216 fi
11217 rm -f conftest*
11218 ac_ext=c
11219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11220 ac_cpp='$CPP $CPPFLAGS'
11221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11223 cross_compiling=$ac_cv_prog_cc_cross
11224
11225
11226 fi
11227
11228 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11229 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11230 for ac_func in _finite
11231 do
11232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11233 echo "configure:11234: checking for $ac_func" >&5
11234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11235 echo $ac_n "(cached) $ac_c" 1>&6
11236 else
11237 cat > conftest.$ac_ext <<EOF
11238 #line 11239 "configure"
11239 #include "confdefs.h"
11240 /* System header to define __stub macros and hopefully few prototypes,
11241 which can conflict with char $ac_func(); below. */
11242 #include <assert.h>
11243 /* Override any gcc2 internal prototype to avoid an error. */
11244 /* We use char because int might match the return type of a gcc2
11245 builtin and then its argument prototype would still apply. */
11246 char $ac_func();
11247
11248 int main() {
11249
11250 /* The GNU C library defines this for functions which it implements
11251 to always fail with ENOSYS. Some functions are actually named
11252 something starting with __ and the normal name is an alias. */
11253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11254 choke me
11255 #else
11256 $ac_func();
11257 #endif
11258
11259 ; return 0; }
11260 EOF
11261 if { (eval echo configure:11262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11262 rm -rf conftest*
11263 eval "ac_cv_func_$ac_func=yes"
11264 else
11265 echo "configure: failed program was:" >&5
11266 cat conftest.$ac_ext >&5
11267 rm -rf conftest*
11268 eval "ac_cv_func_$ac_func=no"
11269 fi
11270 rm -f conftest*
11271 fi
11272
11273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11274 echo "$ac_t""yes" 1>&6
11275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11276 cat >> confdefs.h <<EOF
11277 #define $ac_tr_func 1
11278 EOF
11279
11280 else
11281 echo "$ac_t""no" 1>&6
11282 fi
11283 done
11284
11285 fi
11286
11287
11288 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11289 echo "configure:11290: checking for _copysign declaration" >&5
11290 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11291 echo $ac_n "(cached) $ac_c" 1>&6
11292 else
11293
11294
11295 ac_ext=C
11296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11297 ac_cpp='$CXXCPP $CPPFLAGS'
11298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11300 cross_compiling=$ac_cv_prog_cxx_cross
11301
11302 cat > conftest.$ac_ext <<EOF
11303 #line 11304 "configure"
11304 #include "confdefs.h"
11305 #include <math.h>
11306 int main() {
11307 _copysign(0, 0);
11308 ; return 0; }
11309 EOF
11310 if { (eval echo configure:11311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11311 rm -rf conftest*
11312 glibcpp_cv_func__copysign_use=yes
11313 else
11314 echo "configure: failed program was:" >&5
11315 cat conftest.$ac_ext >&5
11316 rm -rf conftest*
11317 glibcpp_cv_func__copysign_use=no
11318 fi
11319 rm -f conftest*
11320 ac_ext=c
11321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11322 ac_cpp='$CPP $CPPFLAGS'
11323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11325 cross_compiling=$ac_cv_prog_cc_cross
11326
11327
11328 fi
11329
11330 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11331 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11332 for ac_func in _copysign
11333 do
11334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11335 echo "configure:11336: checking for $ac_func" >&5
11336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11337 echo $ac_n "(cached) $ac_c" 1>&6
11338 else
11339 cat > conftest.$ac_ext <<EOF
11340 #line 11341 "configure"
11341 #include "confdefs.h"
11342 /* System header to define __stub macros and hopefully few prototypes,
11343 which can conflict with char $ac_func(); below. */
11344 #include <assert.h>
11345 /* Override any gcc2 internal prototype to avoid an error. */
11346 /* We use char because int might match the return type of a gcc2
11347 builtin and then its argument prototype would still apply. */
11348 char $ac_func();
11349
11350 int main() {
11351
11352 /* The GNU C library defines this for functions which it implements
11353 to always fail with ENOSYS. Some functions are actually named
11354 something starting with __ and the normal name is an alias. */
11355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11356 choke me
11357 #else
11358 $ac_func();
11359 #endif
11360
11361 ; return 0; }
11362 EOF
11363 if { (eval echo configure:11364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11364 rm -rf conftest*
11365 eval "ac_cv_func_$ac_func=yes"
11366 else
11367 echo "configure: failed program was:" >&5
11368 cat conftest.$ac_ext >&5
11369 rm -rf conftest*
11370 eval "ac_cv_func_$ac_func=no"
11371 fi
11372 rm -f conftest*
11373 fi
11374
11375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11376 echo "$ac_t""yes" 1>&6
11377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11378 cat >> confdefs.h <<EOF
11379 #define $ac_tr_func 1
11380 EOF
11381
11382 else
11383 echo "$ac_t""no" 1>&6
11384 fi
11385 done
11386
11387 fi
11388
11389
11390 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11391 echo "configure:11392: checking for _sincos declaration" >&5
11392 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11393 echo $ac_n "(cached) $ac_c" 1>&6
11394 else
11395
11396
11397 ac_ext=C
11398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11399 ac_cpp='$CXXCPP $CPPFLAGS'
11400 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11401 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11402 cross_compiling=$ac_cv_prog_cxx_cross
11403
11404 cat > conftest.$ac_ext <<EOF
11405 #line 11406 "configure"
11406 #include "confdefs.h"
11407 #include <math.h>
11408 int main() {
11409 _sincos(0, 0, 0);
11410 ; return 0; }
11411 EOF
11412 if { (eval echo configure:11413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11413 rm -rf conftest*
11414 glibcpp_cv_func__sincos_use=yes
11415 else
11416 echo "configure: failed program was:" >&5
11417 cat conftest.$ac_ext >&5
11418 rm -rf conftest*
11419 glibcpp_cv_func__sincos_use=no
11420 fi
11421 rm -f conftest*
11422 ac_ext=c
11423 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11424 ac_cpp='$CPP $CPPFLAGS'
11425 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11426 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11427 cross_compiling=$ac_cv_prog_cc_cross
11428
11429
11430 fi
11431
11432 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11433 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11434 for ac_func in _sincos
11435 do
11436 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11437 echo "configure:11438: checking for $ac_func" >&5
11438 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11439 echo $ac_n "(cached) $ac_c" 1>&6
11440 else
11441 cat > conftest.$ac_ext <<EOF
11442 #line 11443 "configure"
11443 #include "confdefs.h"
11444 /* System header to define __stub macros and hopefully few prototypes,
11445 which can conflict with char $ac_func(); below. */
11446 #include <assert.h>
11447 /* Override any gcc2 internal prototype to avoid an error. */
11448 /* We use char because int might match the return type of a gcc2
11449 builtin and then its argument prototype would still apply. */
11450 char $ac_func();
11451
11452 int main() {
11453
11454 /* The GNU C library defines this for functions which it implements
11455 to always fail with ENOSYS. Some functions are actually named
11456 something starting with __ and the normal name is an alias. */
11457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11458 choke me
11459 #else
11460 $ac_func();
11461 #endif
11462
11463 ; return 0; }
11464 EOF
11465 if { (eval echo configure:11466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11466 rm -rf conftest*
11467 eval "ac_cv_func_$ac_func=yes"
11468 else
11469 echo "configure: failed program was:" >&5
11470 cat conftest.$ac_ext >&5
11471 rm -rf conftest*
11472 eval "ac_cv_func_$ac_func=no"
11473 fi
11474 rm -f conftest*
11475 fi
11476
11477 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11478 echo "$ac_t""yes" 1>&6
11479 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11480 cat >> confdefs.h <<EOF
11481 #define $ac_tr_func 1
11482 EOF
11483
11484 else
11485 echo "$ac_t""no" 1>&6
11486 fi
11487 done
11488
11489 fi
11490
11491
11492 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11493 echo "configure:11494: checking for _fpclass declaration" >&5
11494 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11495 echo $ac_n "(cached) $ac_c" 1>&6
11496 else
11497
11498
11499 ac_ext=C
11500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11501 ac_cpp='$CXXCPP $CPPFLAGS'
11502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11504 cross_compiling=$ac_cv_prog_cxx_cross
11505
11506 cat > conftest.$ac_ext <<EOF
11507 #line 11508 "configure"
11508 #include "confdefs.h"
11509 #include <math.h>
11510 int main() {
11511 _fpclass(0);
11512 ; return 0; }
11513 EOF
11514 if { (eval echo configure:11515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11515 rm -rf conftest*
11516 glibcpp_cv_func__fpclass_use=yes
11517 else
11518 echo "configure: failed program was:" >&5
11519 cat conftest.$ac_ext >&5
11520 rm -rf conftest*
11521 glibcpp_cv_func__fpclass_use=no
11522 fi
11523 rm -f conftest*
11524 ac_ext=c
11525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11526 ac_cpp='$CPP $CPPFLAGS'
11527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11529 cross_compiling=$ac_cv_prog_cc_cross
11530
11531
11532 fi
11533
11534 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11535 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11536 for ac_func in _fpclass
11537 do
11538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11539 echo "configure:11540: checking for $ac_func" >&5
11540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11541 echo $ac_n "(cached) $ac_c" 1>&6
11542 else
11543 cat > conftest.$ac_ext <<EOF
11544 #line 11545 "configure"
11545 #include "confdefs.h"
11546 /* System header to define __stub macros and hopefully few prototypes,
11547 which can conflict with char $ac_func(); below. */
11548 #include <assert.h>
11549 /* Override any gcc2 internal prototype to avoid an error. */
11550 /* We use char because int might match the return type of a gcc2
11551 builtin and then its argument prototype would still apply. */
11552 char $ac_func();
11553
11554 int main() {
11555
11556 /* The GNU C library defines this for functions which it implements
11557 to always fail with ENOSYS. Some functions are actually named
11558 something starting with __ and the normal name is an alias. */
11559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11560 choke me
11561 #else
11562 $ac_func();
11563 #endif
11564
11565 ; return 0; }
11566 EOF
11567 if { (eval echo configure:11568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11568 rm -rf conftest*
11569 eval "ac_cv_func_$ac_func=yes"
11570 else
11571 echo "configure: failed program was:" >&5
11572 cat conftest.$ac_ext >&5
11573 rm -rf conftest*
11574 eval "ac_cv_func_$ac_func=no"
11575 fi
11576 rm -f conftest*
11577 fi
11578
11579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11580 echo "$ac_t""yes" 1>&6
11581 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11582 cat >> confdefs.h <<EOF
11583 #define $ac_tr_func 1
11584 EOF
11585
11586 else
11587 echo "$ac_t""no" 1>&6
11588 fi
11589 done
11590
11591 fi
11592
11593
11594 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11595 echo "configure:11596: checking for _qfpclass declaration" >&5
11596 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11597 echo $ac_n "(cached) $ac_c" 1>&6
11598 else
11599
11600
11601 ac_ext=C
11602 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11603 ac_cpp='$CXXCPP $CPPFLAGS'
11604 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11605 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11606 cross_compiling=$ac_cv_prog_cxx_cross
11607
11608 cat > conftest.$ac_ext <<EOF
11609 #line 11610 "configure"
11610 #include "confdefs.h"
11611 #include <math.h>
11612 int main() {
11613 _qfpclass(0);
11614 ; return 0; }
11615 EOF
11616 if { (eval echo configure:11617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11617 rm -rf conftest*
11618 glibcpp_cv_func__qfpclass_use=yes
11619 else
11620 echo "configure: failed program was:" >&5
11621 cat conftest.$ac_ext >&5
11622 rm -rf conftest*
11623 glibcpp_cv_func__qfpclass_use=no
11624 fi
11625 rm -f conftest*
11626 ac_ext=c
11627 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11628 ac_cpp='$CPP $CPPFLAGS'
11629 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11630 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11631 cross_compiling=$ac_cv_prog_cc_cross
11632
11633
11634 fi
11635
11636 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11637 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11638 for ac_func in _qfpclass
11639 do
11640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11641 echo "configure:11642: checking for $ac_func" >&5
11642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11643 echo $ac_n "(cached) $ac_c" 1>&6
11644 else
11645 cat > conftest.$ac_ext <<EOF
11646 #line 11647 "configure"
11647 #include "confdefs.h"
11648 /* System header to define __stub macros and hopefully few prototypes,
11649 which can conflict with char $ac_func(); below. */
11650 #include <assert.h>
11651 /* Override any gcc2 internal prototype to avoid an error. */
11652 /* We use char because int might match the return type of a gcc2
11653 builtin and then its argument prototype would still apply. */
11654 char $ac_func();
11655
11656 int main() {
11657
11658 /* The GNU C library defines this for functions which it implements
11659 to always fail with ENOSYS. Some functions are actually named
11660 something starting with __ and the normal name is an alias. */
11661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11662 choke me
11663 #else
11664 $ac_func();
11665 #endif
11666
11667 ; return 0; }
11668 EOF
11669 if { (eval echo configure:11670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11670 rm -rf conftest*
11671 eval "ac_cv_func_$ac_func=yes"
11672 else
11673 echo "configure: failed program was:" >&5
11674 cat conftest.$ac_ext >&5
11675 rm -rf conftest*
11676 eval "ac_cv_func_$ac_func=no"
11677 fi
11678 rm -f conftest*
11679 fi
11680
11681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11682 echo "$ac_t""yes" 1>&6
11683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11684 cat >> confdefs.h <<EOF
11685 #define $ac_tr_func 1
11686 EOF
11687
11688 else
11689 echo "$ac_t""no" 1>&6
11690 fi
11691 done
11692
11693 fi
11694
11695
11696
11697 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11698 echo "configure:11699: checking for _isnanf declaration" >&5
11699 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11700 echo $ac_n "(cached) $ac_c" 1>&6
11701 else
11702
11703
11704 ac_ext=C
11705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11706 ac_cpp='$CXXCPP $CPPFLAGS'
11707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11709 cross_compiling=$ac_cv_prog_cxx_cross
11710
11711 cat > conftest.$ac_ext <<EOF
11712 #line 11713 "configure"
11713 #include "confdefs.h"
11714 #include <math.h>
11715 int main() {
11716 _isnanf(0);
11717 ; return 0; }
11718 EOF
11719 if { (eval echo configure:11720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11720 rm -rf conftest*
11721 glibcpp_cv_func__isnanf_use=yes
11722 else
11723 echo "configure: failed program was:" >&5
11724 cat conftest.$ac_ext >&5
11725 rm -rf conftest*
11726 glibcpp_cv_func__isnanf_use=no
11727 fi
11728 rm -f conftest*
11729 ac_ext=c
11730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11731 ac_cpp='$CPP $CPPFLAGS'
11732 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11733 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11734 cross_compiling=$ac_cv_prog_cc_cross
11735
11736
11737 fi
11738
11739 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11740 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11741 for ac_func in _isnanf
11742 do
11743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11744 echo "configure:11745: checking for $ac_func" >&5
11745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11746 echo $ac_n "(cached) $ac_c" 1>&6
11747 else
11748 cat > conftest.$ac_ext <<EOF
11749 #line 11750 "configure"
11750 #include "confdefs.h"
11751 /* System header to define __stub macros and hopefully few prototypes,
11752 which can conflict with char $ac_func(); below. */
11753 #include <assert.h>
11754 /* Override any gcc2 internal prototype to avoid an error. */
11755 /* We use char because int might match the return type of a gcc2
11756 builtin and then its argument prototype would still apply. */
11757 char $ac_func();
11758
11759 int main() {
11760
11761 /* The GNU C library defines this for functions which it implements
11762 to always fail with ENOSYS. Some functions are actually named
11763 something starting with __ and the normal name is an alias. */
11764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11765 choke me
11766 #else
11767 $ac_func();
11768 #endif
11769
11770 ; return 0; }
11771 EOF
11772 if { (eval echo configure:11773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11773 rm -rf conftest*
11774 eval "ac_cv_func_$ac_func=yes"
11775 else
11776 echo "configure: failed program was:" >&5
11777 cat conftest.$ac_ext >&5
11778 rm -rf conftest*
11779 eval "ac_cv_func_$ac_func=no"
11780 fi
11781 rm -f conftest*
11782 fi
11783
11784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11785 echo "$ac_t""yes" 1>&6
11786 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11787 cat >> confdefs.h <<EOF
11788 #define $ac_tr_func 1
11789 EOF
11790
11791 else
11792 echo "$ac_t""no" 1>&6
11793 fi
11794 done
11795
11796 fi
11797
11798
11799 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11800 echo "configure:11801: checking for _isinff declaration" >&5
11801 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11802 echo $ac_n "(cached) $ac_c" 1>&6
11803 else
11804
11805
11806 ac_ext=C
11807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11808 ac_cpp='$CXXCPP $CPPFLAGS'
11809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11811 cross_compiling=$ac_cv_prog_cxx_cross
11812
11813 cat > conftest.$ac_ext <<EOF
11814 #line 11815 "configure"
11815 #include "confdefs.h"
11816 #include <math.h>
11817 int main() {
11818 _isinff(0);
11819 ; return 0; }
11820 EOF
11821 if { (eval echo configure:11822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11822 rm -rf conftest*
11823 glibcpp_cv_func__isinff_use=yes
11824 else
11825 echo "configure: failed program was:" >&5
11826 cat conftest.$ac_ext >&5
11827 rm -rf conftest*
11828 glibcpp_cv_func__isinff_use=no
11829 fi
11830 rm -f conftest*
11831 ac_ext=c
11832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11833 ac_cpp='$CPP $CPPFLAGS'
11834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11836 cross_compiling=$ac_cv_prog_cc_cross
11837
11838
11839 fi
11840
11841 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11842 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11843 for ac_func in _isinff
11844 do
11845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11846 echo "configure:11847: checking for $ac_func" >&5
11847 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11848 echo $ac_n "(cached) $ac_c" 1>&6
11849 else
11850 cat > conftest.$ac_ext <<EOF
11851 #line 11852 "configure"
11852 #include "confdefs.h"
11853 /* System header to define __stub macros and hopefully few prototypes,
11854 which can conflict with char $ac_func(); below. */
11855 #include <assert.h>
11856 /* Override any gcc2 internal prototype to avoid an error. */
11857 /* We use char because int might match the return type of a gcc2
11858 builtin and then its argument prototype would still apply. */
11859 char $ac_func();
11860
11861 int main() {
11862
11863 /* The GNU C library defines this for functions which it implements
11864 to always fail with ENOSYS. Some functions are actually named
11865 something starting with __ and the normal name is an alias. */
11866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11867 choke me
11868 #else
11869 $ac_func();
11870 #endif
11871
11872 ; return 0; }
11873 EOF
11874 if { (eval echo configure:11875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11875 rm -rf conftest*
11876 eval "ac_cv_func_$ac_func=yes"
11877 else
11878 echo "configure: failed program was:" >&5
11879 cat conftest.$ac_ext >&5
11880 rm -rf conftest*
11881 eval "ac_cv_func_$ac_func=no"
11882 fi
11883 rm -f conftest*
11884 fi
11885
11886 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11887 echo "$ac_t""yes" 1>&6
11888 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11889 cat >> confdefs.h <<EOF
11890 #define $ac_tr_func 1
11891 EOF
11892
11893 else
11894 echo "$ac_t""no" 1>&6
11895 fi
11896 done
11897
11898 fi
11899
11900
11901 echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
11902 echo "configure:11903: checking for _acosf declaration" >&5
11903 if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
11904 echo $ac_n "(cached) $ac_c" 1>&6
11905 else
11906
11907
11908 ac_ext=C
11909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11910 ac_cpp='$CXXCPP $CPPFLAGS'
11911 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11912 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11913 cross_compiling=$ac_cv_prog_cxx_cross
11914
11915 cat > conftest.$ac_ext <<EOF
11916 #line 11917 "configure"
11917 #include "confdefs.h"
11918 #include <math.h>
11919 int main() {
11920 _acosf(0);
11921 ; return 0; }
11922 EOF
11923 if { (eval echo configure:11924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11924 rm -rf conftest*
11925 glibcpp_cv_func__acosf_use=yes
11926 else
11927 echo "configure: failed program was:" >&5
11928 cat conftest.$ac_ext >&5
11929 rm -rf conftest*
11930 glibcpp_cv_func__acosf_use=no
11931 fi
11932 rm -f conftest*
11933 ac_ext=c
11934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11935 ac_cpp='$CPP $CPPFLAGS'
11936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11938 cross_compiling=$ac_cv_prog_cc_cross
11939
11940
11941 fi
11942
11943 echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
11944 if test x$glibcpp_cv_func__acosf_use = x"yes"; then
11945 for ac_func in _acosf
11946 do
11947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11948 echo "configure:11949: checking for $ac_func" >&5
11949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11950 echo $ac_n "(cached) $ac_c" 1>&6
11951 else
11952 cat > conftest.$ac_ext <<EOF
11953 #line 11954 "configure"
11954 #include "confdefs.h"
11955 /* System header to define __stub macros and hopefully few prototypes,
11956 which can conflict with char $ac_func(); below. */
11957 #include <assert.h>
11958 /* Override any gcc2 internal prototype to avoid an error. */
11959 /* We use char because int might match the return type of a gcc2
11960 builtin and then its argument prototype would still apply. */
11961 char $ac_func();
11962
11963 int main() {
11964
11965 /* The GNU C library defines this for functions which it implements
11966 to always fail with ENOSYS. Some functions are actually named
11967 something starting with __ and the normal name is an alias. */
11968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11969 choke me
11970 #else
11971 $ac_func();
11972 #endif
11973
11974 ; return 0; }
11975 EOF
11976 if { (eval echo configure:11977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11977 rm -rf conftest*
11978 eval "ac_cv_func_$ac_func=yes"
11979 else
11980 echo "configure: failed program was:" >&5
11981 cat conftest.$ac_ext >&5
11982 rm -rf conftest*
11983 eval "ac_cv_func_$ac_func=no"
11984 fi
11985 rm -f conftest*
11986 fi
11987
11988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11989 echo "$ac_t""yes" 1>&6
11990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11991 cat >> confdefs.h <<EOF
11992 #define $ac_tr_func 1
11993 EOF
11994
11995 else
11996 echo "$ac_t""no" 1>&6
11997 fi
11998 done
11999
12000 fi
12001
12002
12003 echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
12004 echo "configure:12005: checking for _asinf declaration" >&5
12005 if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
12006 echo $ac_n "(cached) $ac_c" 1>&6
12007 else
12008
12009
12010 ac_ext=C
12011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12012 ac_cpp='$CXXCPP $CPPFLAGS'
12013 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12014 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12015 cross_compiling=$ac_cv_prog_cxx_cross
12016
12017 cat > conftest.$ac_ext <<EOF
12018 #line 12019 "configure"
12019 #include "confdefs.h"
12020 #include <math.h>
12021 int main() {
12022 _asinf(0);
12023 ; return 0; }
12024 EOF
12025 if { (eval echo configure:12026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12026 rm -rf conftest*
12027 glibcpp_cv_func__asinf_use=yes
12028 else
12029 echo "configure: failed program was:" >&5
12030 cat conftest.$ac_ext >&5
12031 rm -rf conftest*
12032 glibcpp_cv_func__asinf_use=no
12033 fi
12034 rm -f conftest*
12035 ac_ext=c
12036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12037 ac_cpp='$CPP $CPPFLAGS'
12038 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12039 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12040 cross_compiling=$ac_cv_prog_cc_cross
12041
12042
12043 fi
12044
12045 echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
12046 if test x$glibcpp_cv_func__asinf_use = x"yes"; then
12047 for ac_func in _asinf
12048 do
12049 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12050 echo "configure:12051: checking for $ac_func" >&5
12051 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12052 echo $ac_n "(cached) $ac_c" 1>&6
12053 else
12054 cat > conftest.$ac_ext <<EOF
12055 #line 12056 "configure"
12056 #include "confdefs.h"
12057 /* System header to define __stub macros and hopefully few prototypes,
12058 which can conflict with char $ac_func(); below. */
12059 #include <assert.h>
12060 /* Override any gcc2 internal prototype to avoid an error. */
12061 /* We use char because int might match the return type of a gcc2
12062 builtin and then its argument prototype would still apply. */
12063 char $ac_func();
12064
12065 int main() {
12066
12067 /* The GNU C library defines this for functions which it implements
12068 to always fail with ENOSYS. Some functions are actually named
12069 something starting with __ and the normal name is an alias. */
12070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12071 choke me
12072 #else
12073 $ac_func();
12074 #endif
12075
12076 ; return 0; }
12077 EOF
12078 if { (eval echo configure:12079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12079 rm -rf conftest*
12080 eval "ac_cv_func_$ac_func=yes"
12081 else
12082 echo "configure: failed program was:" >&5
12083 cat conftest.$ac_ext >&5
12084 rm -rf conftest*
12085 eval "ac_cv_func_$ac_func=no"
12086 fi
12087 rm -f conftest*
12088 fi
12089
12090 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12091 echo "$ac_t""yes" 1>&6
12092 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12093 cat >> confdefs.h <<EOF
12094 #define $ac_tr_func 1
12095 EOF
12096
12097 else
12098 echo "$ac_t""no" 1>&6
12099 fi
12100 done
12101
12102 fi
12103
12104
12105 echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
12106 echo "configure:12107: checking for _atanf declaration" >&5
12107 if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
12108 echo $ac_n "(cached) $ac_c" 1>&6
12109 else
12110
12111
12112 ac_ext=C
12113 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12114 ac_cpp='$CXXCPP $CPPFLAGS'
12115 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12116 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12117 cross_compiling=$ac_cv_prog_cxx_cross
12118
12119 cat > conftest.$ac_ext <<EOF
12120 #line 12121 "configure"
12121 #include "confdefs.h"
12122 #include <math.h>
12123 int main() {
12124 _atanf(0);
12125 ; return 0; }
12126 EOF
12127 if { (eval echo configure:12128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12128 rm -rf conftest*
12129 glibcpp_cv_func__atanf_use=yes
12130 else
12131 echo "configure: failed program was:" >&5
12132 cat conftest.$ac_ext >&5
12133 rm -rf conftest*
12134 glibcpp_cv_func__atanf_use=no
12135 fi
12136 rm -f conftest*
12137 ac_ext=c
12138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12139 ac_cpp='$CPP $CPPFLAGS'
12140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12142 cross_compiling=$ac_cv_prog_cc_cross
12143
12144
12145 fi
12146
12147 echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12148 if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12149 for ac_func in _atanf
12150 do
12151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12152 echo "configure:12153: checking for $ac_func" >&5
12153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12154 echo $ac_n "(cached) $ac_c" 1>&6
12155 else
12156 cat > conftest.$ac_ext <<EOF
12157 #line 12158 "configure"
12158 #include "confdefs.h"
12159 /* System header to define __stub macros and hopefully few prototypes,
12160 which can conflict with char $ac_func(); below. */
12161 #include <assert.h>
12162 /* Override any gcc2 internal prototype to avoid an error. */
12163 /* We use char because int might match the return type of a gcc2
12164 builtin and then its argument prototype would still apply. */
12165 char $ac_func();
12166
12167 int main() {
12168
12169 /* The GNU C library defines this for functions which it implements
12170 to always fail with ENOSYS. Some functions are actually named
12171 something starting with __ and the normal name is an alias. */
12172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12173 choke me
12174 #else
12175 $ac_func();
12176 #endif
12177
12178 ; return 0; }
12179 EOF
12180 if { (eval echo configure:12181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12181 rm -rf conftest*
12182 eval "ac_cv_func_$ac_func=yes"
12183 else
12184 echo "configure: failed program was:" >&5
12185 cat conftest.$ac_ext >&5
12186 rm -rf conftest*
12187 eval "ac_cv_func_$ac_func=no"
12188 fi
12189 rm -f conftest*
12190 fi
12191
12192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12193 echo "$ac_t""yes" 1>&6
12194 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12195 cat >> confdefs.h <<EOF
12196 #define $ac_tr_func 1
12197 EOF
12198
12199 else
12200 echo "$ac_t""no" 1>&6
12201 fi
12202 done
12203
12204 fi
12205
12206
12207 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12208 echo "configure:12209: checking for _atan2f declaration" >&5
12209 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12210 echo $ac_n "(cached) $ac_c" 1>&6
12211 else
12212
12213
12214 ac_ext=C
12215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12216 ac_cpp='$CXXCPP $CPPFLAGS'
12217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12219 cross_compiling=$ac_cv_prog_cxx_cross
12220
12221 cat > conftest.$ac_ext <<EOF
12222 #line 12223 "configure"
12223 #include "confdefs.h"
12224 #include <math.h>
12225 int main() {
12226 _atan2f(0, 0);
12227 ; return 0; }
12228 EOF
12229 if { (eval echo configure:12230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12230 rm -rf conftest*
12231 glibcpp_cv_func__atan2f_use=yes
12232 else
12233 echo "configure: failed program was:" >&5
12234 cat conftest.$ac_ext >&5
12235 rm -rf conftest*
12236 glibcpp_cv_func__atan2f_use=no
12237 fi
12238 rm -f conftest*
12239 ac_ext=c
12240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12241 ac_cpp='$CPP $CPPFLAGS'
12242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12244 cross_compiling=$ac_cv_prog_cc_cross
12245
12246
12247 fi
12248
12249 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12250 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12251 for ac_func in _atan2f
12252 do
12253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12254 echo "configure:12255: checking for $ac_func" >&5
12255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12256 echo $ac_n "(cached) $ac_c" 1>&6
12257 else
12258 cat > conftest.$ac_ext <<EOF
12259 #line 12260 "configure"
12260 #include "confdefs.h"
12261 /* System header to define __stub macros and hopefully few prototypes,
12262 which can conflict with char $ac_func(); below. */
12263 #include <assert.h>
12264 /* Override any gcc2 internal prototype to avoid an error. */
12265 /* We use char because int might match the return type of a gcc2
12266 builtin and then its argument prototype would still apply. */
12267 char $ac_func();
12268
12269 int main() {
12270
12271 /* The GNU C library defines this for functions which it implements
12272 to always fail with ENOSYS. Some functions are actually named
12273 something starting with __ and the normal name is an alias. */
12274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12275 choke me
12276 #else
12277 $ac_func();
12278 #endif
12279
12280 ; return 0; }
12281 EOF
12282 if { (eval echo configure:12283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12283 rm -rf conftest*
12284 eval "ac_cv_func_$ac_func=yes"
12285 else
12286 echo "configure: failed program was:" >&5
12287 cat conftest.$ac_ext >&5
12288 rm -rf conftest*
12289 eval "ac_cv_func_$ac_func=no"
12290 fi
12291 rm -f conftest*
12292 fi
12293
12294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12295 echo "$ac_t""yes" 1>&6
12296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12297 cat >> confdefs.h <<EOF
12298 #define $ac_tr_func 1
12299 EOF
12300
12301 else
12302 echo "$ac_t""no" 1>&6
12303 fi
12304 done
12305
12306 fi
12307
12308
12309 echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12310 echo "configure:12311: checking for _ceilf declaration" >&5
12311 if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12312 echo $ac_n "(cached) $ac_c" 1>&6
12313 else
12314
12315
12316 ac_ext=C
12317 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12318 ac_cpp='$CXXCPP $CPPFLAGS'
12319 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12320 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12321 cross_compiling=$ac_cv_prog_cxx_cross
12322
12323 cat > conftest.$ac_ext <<EOF
12324 #line 12325 "configure"
12325 #include "confdefs.h"
12326 #include <math.h>
12327 int main() {
12328 _ceilf(0);
12329 ; return 0; }
12330 EOF
12331 if { (eval echo configure:12332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12332 rm -rf conftest*
12333 glibcpp_cv_func__ceilf_use=yes
12334 else
12335 echo "configure: failed program was:" >&5
12336 cat conftest.$ac_ext >&5
12337 rm -rf conftest*
12338 glibcpp_cv_func__ceilf_use=no
12339 fi
12340 rm -f conftest*
12341 ac_ext=c
12342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12343 ac_cpp='$CPP $CPPFLAGS'
12344 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12345 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12346 cross_compiling=$ac_cv_prog_cc_cross
12347
12348
12349 fi
12350
12351 echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12352 if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12353 for ac_func in _ceilf
12354 do
12355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12356 echo "configure:12357: checking for $ac_func" >&5
12357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12358 echo $ac_n "(cached) $ac_c" 1>&6
12359 else
12360 cat > conftest.$ac_ext <<EOF
12361 #line 12362 "configure"
12362 #include "confdefs.h"
12363 /* System header to define __stub macros and hopefully few prototypes,
12364 which can conflict with char $ac_func(); below. */
12365 #include <assert.h>
12366 /* Override any gcc2 internal prototype to avoid an error. */
12367 /* We use char because int might match the return type of a gcc2
12368 builtin and then its argument prototype would still apply. */
12369 char $ac_func();
12370
12371 int main() {
12372
12373 /* The GNU C library defines this for functions which it implements
12374 to always fail with ENOSYS. Some functions are actually named
12375 something starting with __ and the normal name is an alias. */
12376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12377 choke me
12378 #else
12379 $ac_func();
12380 #endif
12381
12382 ; return 0; }
12383 EOF
12384 if { (eval echo configure:12385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12385 rm -rf conftest*
12386 eval "ac_cv_func_$ac_func=yes"
12387 else
12388 echo "configure: failed program was:" >&5
12389 cat conftest.$ac_ext >&5
12390 rm -rf conftest*
12391 eval "ac_cv_func_$ac_func=no"
12392 fi
12393 rm -f conftest*
12394 fi
12395
12396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12397 echo "$ac_t""yes" 1>&6
12398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12399 cat >> confdefs.h <<EOF
12400 #define $ac_tr_func 1
12401 EOF
12402
12403 else
12404 echo "$ac_t""no" 1>&6
12405 fi
12406 done
12407
12408 fi
12409
12410
12411 echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12412 echo "configure:12413: checking for _cosf declaration" >&5
12413 if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12414 echo $ac_n "(cached) $ac_c" 1>&6
12415 else
12416
12417
12418 ac_ext=C
12419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12420 ac_cpp='$CXXCPP $CPPFLAGS'
12421 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12422 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12423 cross_compiling=$ac_cv_prog_cxx_cross
12424
12425 cat > conftest.$ac_ext <<EOF
12426 #line 12427 "configure"
12427 #include "confdefs.h"
12428 #include <math.h>
12429 int main() {
12430 _cosf(0);
12431 ; return 0; }
12432 EOF
12433 if { (eval echo configure:12434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12434 rm -rf conftest*
12435 glibcpp_cv_func__cosf_use=yes
12436 else
12437 echo "configure: failed program was:" >&5
12438 cat conftest.$ac_ext >&5
12439 rm -rf conftest*
12440 glibcpp_cv_func__cosf_use=no
12441 fi
12442 rm -f conftest*
12443 ac_ext=c
12444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12445 ac_cpp='$CPP $CPPFLAGS'
12446 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12447 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12448 cross_compiling=$ac_cv_prog_cc_cross
12449
12450
12451 fi
12452
12453 echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12454 if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12455 for ac_func in _cosf
12456 do
12457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12458 echo "configure:12459: checking for $ac_func" >&5
12459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12460 echo $ac_n "(cached) $ac_c" 1>&6
12461 else
12462 cat > conftest.$ac_ext <<EOF
12463 #line 12464 "configure"
12464 #include "confdefs.h"
12465 /* System header to define __stub macros and hopefully few prototypes,
12466 which can conflict with char $ac_func(); below. */
12467 #include <assert.h>
12468 /* Override any gcc2 internal prototype to avoid an error. */
12469 /* We use char because int might match the return type of a gcc2
12470 builtin and then its argument prototype would still apply. */
12471 char $ac_func();
12472
12473 int main() {
12474
12475 /* The GNU C library defines this for functions which it implements
12476 to always fail with ENOSYS. Some functions are actually named
12477 something starting with __ and the normal name is an alias. */
12478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12479 choke me
12480 #else
12481 $ac_func();
12482 #endif
12483
12484 ; return 0; }
12485 EOF
12486 if { (eval echo configure:12487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12487 rm -rf conftest*
12488 eval "ac_cv_func_$ac_func=yes"
12489 else
12490 echo "configure: failed program was:" >&5
12491 cat conftest.$ac_ext >&5
12492 rm -rf conftest*
12493 eval "ac_cv_func_$ac_func=no"
12494 fi
12495 rm -f conftest*
12496 fi
12497
12498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12499 echo "$ac_t""yes" 1>&6
12500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12501 cat >> confdefs.h <<EOF
12502 #define $ac_tr_func 1
12503 EOF
12504
12505 else
12506 echo "$ac_t""no" 1>&6
12507 fi
12508 done
12509
12510 fi
12511
12512
12513 echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12514 echo "configure:12515: checking for _coshf declaration" >&5
12515 if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12516 echo $ac_n "(cached) $ac_c" 1>&6
12517 else
12518
12519
12520 ac_ext=C
12521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12522 ac_cpp='$CXXCPP $CPPFLAGS'
12523 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12524 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12525 cross_compiling=$ac_cv_prog_cxx_cross
12526
12527 cat > conftest.$ac_ext <<EOF
12528 #line 12529 "configure"
12529 #include "confdefs.h"
12530 #include <math.h>
12531 int main() {
12532 _coshf(0);
12533 ; return 0; }
12534 EOF
12535 if { (eval echo configure:12536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12536 rm -rf conftest*
12537 glibcpp_cv_func__coshf_use=yes
12538 else
12539 echo "configure: failed program was:" >&5
12540 cat conftest.$ac_ext >&5
12541 rm -rf conftest*
12542 glibcpp_cv_func__coshf_use=no
12543 fi
12544 rm -f conftest*
12545 ac_ext=c
12546 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12547 ac_cpp='$CPP $CPPFLAGS'
12548 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12549 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12550 cross_compiling=$ac_cv_prog_cc_cross
12551
12552
12553 fi
12554
12555 echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12556 if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12557 for ac_func in _coshf
12558 do
12559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12560 echo "configure:12561: checking for $ac_func" >&5
12561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12562 echo $ac_n "(cached) $ac_c" 1>&6
12563 else
12564 cat > conftest.$ac_ext <<EOF
12565 #line 12566 "configure"
12566 #include "confdefs.h"
12567 /* System header to define __stub macros and hopefully few prototypes,
12568 which can conflict with char $ac_func(); below. */
12569 #include <assert.h>
12570 /* Override any gcc2 internal prototype to avoid an error. */
12571 /* We use char because int might match the return type of a gcc2
12572 builtin and then its argument prototype would still apply. */
12573 char $ac_func();
12574
12575 int main() {
12576
12577 /* The GNU C library defines this for functions which it implements
12578 to always fail with ENOSYS. Some functions are actually named
12579 something starting with __ and the normal name is an alias. */
12580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12581 choke me
12582 #else
12583 $ac_func();
12584 #endif
12585
12586 ; return 0; }
12587 EOF
12588 if { (eval echo configure:12589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12589 rm -rf conftest*
12590 eval "ac_cv_func_$ac_func=yes"
12591 else
12592 echo "configure: failed program was:" >&5
12593 cat conftest.$ac_ext >&5
12594 rm -rf conftest*
12595 eval "ac_cv_func_$ac_func=no"
12596 fi
12597 rm -f conftest*
12598 fi
12599
12600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12601 echo "$ac_t""yes" 1>&6
12602 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12603 cat >> confdefs.h <<EOF
12604 #define $ac_tr_func 1
12605 EOF
12606
12607 else
12608 echo "$ac_t""no" 1>&6
12609 fi
12610 done
12611
12612 fi
12613
12614
12615 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12616 echo "configure:12617: checking for _expf declaration" >&5
12617 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12618 echo $ac_n "(cached) $ac_c" 1>&6
12619 else
12620
12621
12622 ac_ext=C
12623 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12624 ac_cpp='$CXXCPP $CPPFLAGS'
12625 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12626 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12627 cross_compiling=$ac_cv_prog_cxx_cross
12628
12629 cat > conftest.$ac_ext <<EOF
12630 #line 12631 "configure"
12631 #include "confdefs.h"
12632 #include <math.h>
12633 int main() {
12634 _expf(0);
12635 ; return 0; }
12636 EOF
12637 if { (eval echo configure:12638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12638 rm -rf conftest*
12639 glibcpp_cv_func__expf_use=yes
12640 else
12641 echo "configure: failed program was:" >&5
12642 cat conftest.$ac_ext >&5
12643 rm -rf conftest*
12644 glibcpp_cv_func__expf_use=no
12645 fi
12646 rm -f conftest*
12647 ac_ext=c
12648 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12649 ac_cpp='$CPP $CPPFLAGS'
12650 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12651 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12652 cross_compiling=$ac_cv_prog_cc_cross
12653
12654
12655 fi
12656
12657 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12658 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12659 for ac_func in _expf
12660 do
12661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12662 echo "configure:12663: checking for $ac_func" >&5
12663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12664 echo $ac_n "(cached) $ac_c" 1>&6
12665 else
12666 cat > conftest.$ac_ext <<EOF
12667 #line 12668 "configure"
12668 #include "confdefs.h"
12669 /* System header to define __stub macros and hopefully few prototypes,
12670 which can conflict with char $ac_func(); below. */
12671 #include <assert.h>
12672 /* Override any gcc2 internal prototype to avoid an error. */
12673 /* We use char because int might match the return type of a gcc2
12674 builtin and then its argument prototype would still apply. */
12675 char $ac_func();
12676
12677 int main() {
12678
12679 /* The GNU C library defines this for functions which it implements
12680 to always fail with ENOSYS. Some functions are actually named
12681 something starting with __ and the normal name is an alias. */
12682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12683 choke me
12684 #else
12685 $ac_func();
12686 #endif
12687
12688 ; return 0; }
12689 EOF
12690 if { (eval echo configure:12691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12691 rm -rf conftest*
12692 eval "ac_cv_func_$ac_func=yes"
12693 else
12694 echo "configure: failed program was:" >&5
12695 cat conftest.$ac_ext >&5
12696 rm -rf conftest*
12697 eval "ac_cv_func_$ac_func=no"
12698 fi
12699 rm -f conftest*
12700 fi
12701
12702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12703 echo "$ac_t""yes" 1>&6
12704 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12705 cat >> confdefs.h <<EOF
12706 #define $ac_tr_func 1
12707 EOF
12708
12709 else
12710 echo "$ac_t""no" 1>&6
12711 fi
12712 done
12713
12714 fi
12715
12716
12717 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12718 echo "configure:12719: checking for _fabsf declaration" >&5
12719 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12720 echo $ac_n "(cached) $ac_c" 1>&6
12721 else
12722
12723
12724 ac_ext=C
12725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12726 ac_cpp='$CXXCPP $CPPFLAGS'
12727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12729 cross_compiling=$ac_cv_prog_cxx_cross
12730
12731 cat > conftest.$ac_ext <<EOF
12732 #line 12733 "configure"
12733 #include "confdefs.h"
12734 #include <math.h>
12735 int main() {
12736 _fabsf(0);
12737 ; return 0; }
12738 EOF
12739 if { (eval echo configure:12740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12740 rm -rf conftest*
12741 glibcpp_cv_func__fabsf_use=yes
12742 else
12743 echo "configure: failed program was:" >&5
12744 cat conftest.$ac_ext >&5
12745 rm -rf conftest*
12746 glibcpp_cv_func__fabsf_use=no
12747 fi
12748 rm -f conftest*
12749 ac_ext=c
12750 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12751 ac_cpp='$CPP $CPPFLAGS'
12752 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12753 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12754 cross_compiling=$ac_cv_prog_cc_cross
12755
12756
12757 fi
12758
12759 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12760 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12761 for ac_func in _fabsf
12762 do
12763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12764 echo "configure:12765: checking for $ac_func" >&5
12765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12766 echo $ac_n "(cached) $ac_c" 1>&6
12767 else
12768 cat > conftest.$ac_ext <<EOF
12769 #line 12770 "configure"
12770 #include "confdefs.h"
12771 /* System header to define __stub macros and hopefully few prototypes,
12772 which can conflict with char $ac_func(); below. */
12773 #include <assert.h>
12774 /* Override any gcc2 internal prototype to avoid an error. */
12775 /* We use char because int might match the return type of a gcc2
12776 builtin and then its argument prototype would still apply. */
12777 char $ac_func();
12778
12779 int main() {
12780
12781 /* The GNU C library defines this for functions which it implements
12782 to always fail with ENOSYS. Some functions are actually named
12783 something starting with __ and the normal name is an alias. */
12784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12785 choke me
12786 #else
12787 $ac_func();
12788 #endif
12789
12790 ; return 0; }
12791 EOF
12792 if { (eval echo configure:12793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12793 rm -rf conftest*
12794 eval "ac_cv_func_$ac_func=yes"
12795 else
12796 echo "configure: failed program was:" >&5
12797 cat conftest.$ac_ext >&5
12798 rm -rf conftest*
12799 eval "ac_cv_func_$ac_func=no"
12800 fi
12801 rm -f conftest*
12802 fi
12803
12804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12805 echo "$ac_t""yes" 1>&6
12806 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12807 cat >> confdefs.h <<EOF
12808 #define $ac_tr_func 1
12809 EOF
12810
12811 else
12812 echo "$ac_t""no" 1>&6
12813 fi
12814 done
12815
12816 fi
12817
12818
12819 echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12820 echo "configure:12821: checking for _floorf declaration" >&5
12821 if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12822 echo $ac_n "(cached) $ac_c" 1>&6
12823 else
12824
12825
12826 ac_ext=C
12827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12828 ac_cpp='$CXXCPP $CPPFLAGS'
12829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12831 cross_compiling=$ac_cv_prog_cxx_cross
12832
12833 cat > conftest.$ac_ext <<EOF
12834 #line 12835 "configure"
12835 #include "confdefs.h"
12836 #include <math.h>
12837 int main() {
12838 _floorf(0);
12839 ; return 0; }
12840 EOF
12841 if { (eval echo configure:12842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12842 rm -rf conftest*
12843 glibcpp_cv_func__floorf_use=yes
12844 else
12845 echo "configure: failed program was:" >&5
12846 cat conftest.$ac_ext >&5
12847 rm -rf conftest*
12848 glibcpp_cv_func__floorf_use=no
12849 fi
12850 rm -f conftest*
12851 ac_ext=c
12852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12853 ac_cpp='$CPP $CPPFLAGS'
12854 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12855 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12856 cross_compiling=$ac_cv_prog_cc_cross
12857
12858
12859 fi
12860
12861 echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
12862 if test x$glibcpp_cv_func__floorf_use = x"yes"; then
12863 for ac_func in _floorf
12864 do
12865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12866 echo "configure:12867: checking for $ac_func" >&5
12867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12868 echo $ac_n "(cached) $ac_c" 1>&6
12869 else
12870 cat > conftest.$ac_ext <<EOF
12871 #line 12872 "configure"
12872 #include "confdefs.h"
12873 /* System header to define __stub macros and hopefully few prototypes,
12874 which can conflict with char $ac_func(); below. */
12875 #include <assert.h>
12876 /* Override any gcc2 internal prototype to avoid an error. */
12877 /* We use char because int might match the return type of a gcc2
12878 builtin and then its argument prototype would still apply. */
12879 char $ac_func();
12880
12881 int main() {
12882
12883 /* The GNU C library defines this for functions which it implements
12884 to always fail with ENOSYS. Some functions are actually named
12885 something starting with __ and the normal name is an alias. */
12886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12887 choke me
12888 #else
12889 $ac_func();
12890 #endif
12891
12892 ; return 0; }
12893 EOF
12894 if { (eval echo configure:12895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12895 rm -rf conftest*
12896 eval "ac_cv_func_$ac_func=yes"
12897 else
12898 echo "configure: failed program was:" >&5
12899 cat conftest.$ac_ext >&5
12900 rm -rf conftest*
12901 eval "ac_cv_func_$ac_func=no"
12902 fi
12903 rm -f conftest*
12904 fi
12905
12906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12907 echo "$ac_t""yes" 1>&6
12908 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12909 cat >> confdefs.h <<EOF
12910 #define $ac_tr_func 1
12911 EOF
12912
12913 else
12914 echo "$ac_t""no" 1>&6
12915 fi
12916 done
12917
12918 fi
12919
12920
12921 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12922 echo "configure:12923: checking for _fmodf declaration" >&5
12923 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12924 echo $ac_n "(cached) $ac_c" 1>&6
12925 else
12926
12927
12928 ac_ext=C
12929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12930 ac_cpp='$CXXCPP $CPPFLAGS'
12931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12933 cross_compiling=$ac_cv_prog_cxx_cross
12934
12935 cat > conftest.$ac_ext <<EOF
12936 #line 12937 "configure"
12937 #include "confdefs.h"
12938 #include <math.h>
12939 int main() {
12940 _fmodf(0, 0);
12941 ; return 0; }
12942 EOF
12943 if { (eval echo configure:12944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12944 rm -rf conftest*
12945 glibcpp_cv_func__fmodf_use=yes
12946 else
12947 echo "configure: failed program was:" >&5
12948 cat conftest.$ac_ext >&5
12949 rm -rf conftest*
12950 glibcpp_cv_func__fmodf_use=no
12951 fi
12952 rm -f conftest*
12953 ac_ext=c
12954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12955 ac_cpp='$CPP $CPPFLAGS'
12956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12958 cross_compiling=$ac_cv_prog_cc_cross
12959
12960
12961 fi
12962
12963 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12964 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12965 for ac_func in _fmodf
12966 do
12967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12968 echo "configure:12969: checking for $ac_func" >&5
12969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12970 echo $ac_n "(cached) $ac_c" 1>&6
12971 else
12972 cat > conftest.$ac_ext <<EOF
12973 #line 12974 "configure"
12974 #include "confdefs.h"
12975 /* System header to define __stub macros and hopefully few prototypes,
12976 which can conflict with char $ac_func(); below. */
12977 #include <assert.h>
12978 /* Override any gcc2 internal prototype to avoid an error. */
12979 /* We use char because int might match the return type of a gcc2
12980 builtin and then its argument prototype would still apply. */
12981 char $ac_func();
12982
12983 int main() {
12984
12985 /* The GNU C library defines this for functions which it implements
12986 to always fail with ENOSYS. Some functions are actually named
12987 something starting with __ and the normal name is an alias. */
12988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12989 choke me
12990 #else
12991 $ac_func();
12992 #endif
12993
12994 ; return 0; }
12995 EOF
12996 if { (eval echo configure:12997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12997 rm -rf conftest*
12998 eval "ac_cv_func_$ac_func=yes"
12999 else
13000 echo "configure: failed program was:" >&5
13001 cat conftest.$ac_ext >&5
13002 rm -rf conftest*
13003 eval "ac_cv_func_$ac_func=no"
13004 fi
13005 rm -f conftest*
13006 fi
13007
13008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13009 echo "$ac_t""yes" 1>&6
13010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13011 cat >> confdefs.h <<EOF
13012 #define $ac_tr_func 1
13013 EOF
13014
13015 else
13016 echo "$ac_t""no" 1>&6
13017 fi
13018 done
13019
13020 fi
13021
13022
13023 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
13024 echo "configure:13025: checking for _frexpf declaration" >&5
13025 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13026 echo $ac_n "(cached) $ac_c" 1>&6
13027 else
13028
13029
13030 ac_ext=C
13031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13032 ac_cpp='$CXXCPP $CPPFLAGS'
13033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13035 cross_compiling=$ac_cv_prog_cxx_cross
13036
13037 cat > conftest.$ac_ext <<EOF
13038 #line 13039 "configure"
13039 #include "confdefs.h"
13040 #include <math.h>
13041 int main() {
13042 _frexpf(0, 0);
13043 ; return 0; }
13044 EOF
13045 if { (eval echo configure:13046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13046 rm -rf conftest*
13047 glibcpp_cv_func__frexpf_use=yes
13048 else
13049 echo "configure: failed program was:" >&5
13050 cat conftest.$ac_ext >&5
13051 rm -rf conftest*
13052 glibcpp_cv_func__frexpf_use=no
13053 fi
13054 rm -f conftest*
13055 ac_ext=c
13056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13057 ac_cpp='$CPP $CPPFLAGS'
13058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13060 cross_compiling=$ac_cv_prog_cc_cross
13061
13062
13063 fi
13064
13065 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13066 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13067 for ac_func in _frexpf
13068 do
13069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13070 echo "configure:13071: checking for $ac_func" >&5
13071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13072 echo $ac_n "(cached) $ac_c" 1>&6
13073 else
13074 cat > conftest.$ac_ext <<EOF
13075 #line 13076 "configure"
13076 #include "confdefs.h"
13077 /* System header to define __stub macros and hopefully few prototypes,
13078 which can conflict with char $ac_func(); below. */
13079 #include <assert.h>
13080 /* Override any gcc2 internal prototype to avoid an error. */
13081 /* We use char because int might match the return type of a gcc2
13082 builtin and then its argument prototype would still apply. */
13083 char $ac_func();
13084
13085 int main() {
13086
13087 /* The GNU C library defines this for functions which it implements
13088 to always fail with ENOSYS. Some functions are actually named
13089 something starting with __ and the normal name is an alias. */
13090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13091 choke me
13092 #else
13093 $ac_func();
13094 #endif
13095
13096 ; return 0; }
13097 EOF
13098 if { (eval echo configure:13099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13099 rm -rf conftest*
13100 eval "ac_cv_func_$ac_func=yes"
13101 else
13102 echo "configure: failed program was:" >&5
13103 cat conftest.$ac_ext >&5
13104 rm -rf conftest*
13105 eval "ac_cv_func_$ac_func=no"
13106 fi
13107 rm -f conftest*
13108 fi
13109
13110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13111 echo "$ac_t""yes" 1>&6
13112 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13113 cat >> confdefs.h <<EOF
13114 #define $ac_tr_func 1
13115 EOF
13116
13117 else
13118 echo "$ac_t""no" 1>&6
13119 fi
13120 done
13121
13122 fi
13123
13124
13125 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13126 echo "configure:13127: checking for _ldexpf declaration" >&5
13127 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13128 echo $ac_n "(cached) $ac_c" 1>&6
13129 else
13130
13131
13132 ac_ext=C
13133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13134 ac_cpp='$CXXCPP $CPPFLAGS'
13135 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13136 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13137 cross_compiling=$ac_cv_prog_cxx_cross
13138
13139 cat > conftest.$ac_ext <<EOF
13140 #line 13141 "configure"
13141 #include "confdefs.h"
13142 #include <math.h>
13143 int main() {
13144 _ldexpf(0, 0);
13145 ; return 0; }
13146 EOF
13147 if { (eval echo configure:13148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13148 rm -rf conftest*
13149 glibcpp_cv_func__ldexpf_use=yes
13150 else
13151 echo "configure: failed program was:" >&5
13152 cat conftest.$ac_ext >&5
13153 rm -rf conftest*
13154 glibcpp_cv_func__ldexpf_use=no
13155 fi
13156 rm -f conftest*
13157 ac_ext=c
13158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13159 ac_cpp='$CPP $CPPFLAGS'
13160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13162 cross_compiling=$ac_cv_prog_cc_cross
13163
13164
13165 fi
13166
13167 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13168 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13169 for ac_func in _ldexpf
13170 do
13171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13172 echo "configure:13173: checking for $ac_func" >&5
13173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13174 echo $ac_n "(cached) $ac_c" 1>&6
13175 else
13176 cat > conftest.$ac_ext <<EOF
13177 #line 13178 "configure"
13178 #include "confdefs.h"
13179 /* System header to define __stub macros and hopefully few prototypes,
13180 which can conflict with char $ac_func(); below. */
13181 #include <assert.h>
13182 /* Override any gcc2 internal prototype to avoid an error. */
13183 /* We use char because int might match the return type of a gcc2
13184 builtin and then its argument prototype would still apply. */
13185 char $ac_func();
13186
13187 int main() {
13188
13189 /* The GNU C library defines this for functions which it implements
13190 to always fail with ENOSYS. Some functions are actually named
13191 something starting with __ and the normal name is an alias. */
13192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13193 choke me
13194 #else
13195 $ac_func();
13196 #endif
13197
13198 ; return 0; }
13199 EOF
13200 if { (eval echo configure:13201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13201 rm -rf conftest*
13202 eval "ac_cv_func_$ac_func=yes"
13203 else
13204 echo "configure: failed program was:" >&5
13205 cat conftest.$ac_ext >&5
13206 rm -rf conftest*
13207 eval "ac_cv_func_$ac_func=no"
13208 fi
13209 rm -f conftest*
13210 fi
13211
13212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13213 echo "$ac_t""yes" 1>&6
13214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13215 cat >> confdefs.h <<EOF
13216 #define $ac_tr_func 1
13217 EOF
13218
13219 else
13220 echo "$ac_t""no" 1>&6
13221 fi
13222 done
13223
13224 fi
13225
13226
13227 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13228 echo "configure:13229: checking for _logf declaration" >&5
13229 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13230 echo $ac_n "(cached) $ac_c" 1>&6
13231 else
13232
13233
13234 ac_ext=C
13235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13236 ac_cpp='$CXXCPP $CPPFLAGS'
13237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13239 cross_compiling=$ac_cv_prog_cxx_cross
13240
13241 cat > conftest.$ac_ext <<EOF
13242 #line 13243 "configure"
13243 #include "confdefs.h"
13244 #include <math.h>
13245 int main() {
13246 _logf(0);
13247 ; return 0; }
13248 EOF
13249 if { (eval echo configure:13250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13250 rm -rf conftest*
13251 glibcpp_cv_func__logf_use=yes
13252 else
13253 echo "configure: failed program was:" >&5
13254 cat conftest.$ac_ext >&5
13255 rm -rf conftest*
13256 glibcpp_cv_func__logf_use=no
13257 fi
13258 rm -f conftest*
13259 ac_ext=c
13260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13261 ac_cpp='$CPP $CPPFLAGS'
13262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13264 cross_compiling=$ac_cv_prog_cc_cross
13265
13266
13267 fi
13268
13269 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13270 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13271 for ac_func in _logf
13272 do
13273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13274 echo "configure:13275: checking for $ac_func" >&5
13275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13276 echo $ac_n "(cached) $ac_c" 1>&6
13277 else
13278 cat > conftest.$ac_ext <<EOF
13279 #line 13280 "configure"
13280 #include "confdefs.h"
13281 /* System header to define __stub macros and hopefully few prototypes,
13282 which can conflict with char $ac_func(); below. */
13283 #include <assert.h>
13284 /* Override any gcc2 internal prototype to avoid an error. */
13285 /* We use char because int might match the return type of a gcc2
13286 builtin and then its argument prototype would still apply. */
13287 char $ac_func();
13288
13289 int main() {
13290
13291 /* The GNU C library defines this for functions which it implements
13292 to always fail with ENOSYS. Some functions are actually named
13293 something starting with __ and the normal name is an alias. */
13294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13295 choke me
13296 #else
13297 $ac_func();
13298 #endif
13299
13300 ; return 0; }
13301 EOF
13302 if { (eval echo configure:13303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13303 rm -rf conftest*
13304 eval "ac_cv_func_$ac_func=yes"
13305 else
13306 echo "configure: failed program was:" >&5
13307 cat conftest.$ac_ext >&5
13308 rm -rf conftest*
13309 eval "ac_cv_func_$ac_func=no"
13310 fi
13311 rm -f conftest*
13312 fi
13313
13314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13315 echo "$ac_t""yes" 1>&6
13316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13317 cat >> confdefs.h <<EOF
13318 #define $ac_tr_func 1
13319 EOF
13320
13321 else
13322 echo "$ac_t""no" 1>&6
13323 fi
13324 done
13325
13326 fi
13327
13328
13329 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13330 echo "configure:13331: checking for _log10f declaration" >&5
13331 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13332 echo $ac_n "(cached) $ac_c" 1>&6
13333 else
13334
13335
13336 ac_ext=C
13337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13338 ac_cpp='$CXXCPP $CPPFLAGS'
13339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13341 cross_compiling=$ac_cv_prog_cxx_cross
13342
13343 cat > conftest.$ac_ext <<EOF
13344 #line 13345 "configure"
13345 #include "confdefs.h"
13346 #include <math.h>
13347 int main() {
13348 _log10f(0);
13349 ; return 0; }
13350 EOF
13351 if { (eval echo configure:13352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13352 rm -rf conftest*
13353 glibcpp_cv_func__log10f_use=yes
13354 else
13355 echo "configure: failed program was:" >&5
13356 cat conftest.$ac_ext >&5
13357 rm -rf conftest*
13358 glibcpp_cv_func__log10f_use=no
13359 fi
13360 rm -f conftest*
13361 ac_ext=c
13362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13363 ac_cpp='$CPP $CPPFLAGS'
13364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13366 cross_compiling=$ac_cv_prog_cc_cross
13367
13368
13369 fi
13370
13371 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13372 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13373 for ac_func in _log10f
13374 do
13375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13376 echo "configure:13377: checking for $ac_func" >&5
13377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13378 echo $ac_n "(cached) $ac_c" 1>&6
13379 else
13380 cat > conftest.$ac_ext <<EOF
13381 #line 13382 "configure"
13382 #include "confdefs.h"
13383 /* System header to define __stub macros and hopefully few prototypes,
13384 which can conflict with char $ac_func(); below. */
13385 #include <assert.h>
13386 /* Override any gcc2 internal prototype to avoid an error. */
13387 /* We use char because int might match the return type of a gcc2
13388 builtin and then its argument prototype would still apply. */
13389 char $ac_func();
13390
13391 int main() {
13392
13393 /* The GNU C library defines this for functions which it implements
13394 to always fail with ENOSYS. Some functions are actually named
13395 something starting with __ and the normal name is an alias. */
13396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13397 choke me
13398 #else
13399 $ac_func();
13400 #endif
13401
13402 ; return 0; }
13403 EOF
13404 if { (eval echo configure:13405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13405 rm -rf conftest*
13406 eval "ac_cv_func_$ac_func=yes"
13407 else
13408 echo "configure: failed program was:" >&5
13409 cat conftest.$ac_ext >&5
13410 rm -rf conftest*
13411 eval "ac_cv_func_$ac_func=no"
13412 fi
13413 rm -f conftest*
13414 fi
13415
13416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13417 echo "$ac_t""yes" 1>&6
13418 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13419 cat >> confdefs.h <<EOF
13420 #define $ac_tr_func 1
13421 EOF
13422
13423 else
13424 echo "$ac_t""no" 1>&6
13425 fi
13426 done
13427
13428 fi
13429
13430
13431 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13432 echo "configure:13433: checking for _modff declaration" >&5
13433 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13434 echo $ac_n "(cached) $ac_c" 1>&6
13435 else
13436
13437
13438 ac_ext=C
13439 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13440 ac_cpp='$CXXCPP $CPPFLAGS'
13441 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13442 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13443 cross_compiling=$ac_cv_prog_cxx_cross
13444
13445 cat > conftest.$ac_ext <<EOF
13446 #line 13447 "configure"
13447 #include "confdefs.h"
13448 #include <math.h>
13449 int main() {
13450 _modff(0, 0);
13451 ; return 0; }
13452 EOF
13453 if { (eval echo configure:13454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13454 rm -rf conftest*
13455 glibcpp_cv_func__modff_use=yes
13456 else
13457 echo "configure: failed program was:" >&5
13458 cat conftest.$ac_ext >&5
13459 rm -rf conftest*
13460 glibcpp_cv_func__modff_use=no
13461 fi
13462 rm -f conftest*
13463 ac_ext=c
13464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13465 ac_cpp='$CPP $CPPFLAGS'
13466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13468 cross_compiling=$ac_cv_prog_cc_cross
13469
13470
13471 fi
13472
13473 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13474 if test x$glibcpp_cv_func__modff_use = x"yes"; then
13475 for ac_func in _modff
13476 do
13477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13478 echo "configure:13479: checking for $ac_func" >&5
13479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13480 echo $ac_n "(cached) $ac_c" 1>&6
13481 else
13482 cat > conftest.$ac_ext <<EOF
13483 #line 13484 "configure"
13484 #include "confdefs.h"
13485 /* System header to define __stub macros and hopefully few prototypes,
13486 which can conflict with char $ac_func(); below. */
13487 #include <assert.h>
13488 /* Override any gcc2 internal prototype to avoid an error. */
13489 /* We use char because int might match the return type of a gcc2
13490 builtin and then its argument prototype would still apply. */
13491 char $ac_func();
13492
13493 int main() {
13494
13495 /* The GNU C library defines this for functions which it implements
13496 to always fail with ENOSYS. Some functions are actually named
13497 something starting with __ and the normal name is an alias. */
13498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13499 choke me
13500 #else
13501 $ac_func();
13502 #endif
13503
13504 ; return 0; }
13505 EOF
13506 if { (eval echo configure:13507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13507 rm -rf conftest*
13508 eval "ac_cv_func_$ac_func=yes"
13509 else
13510 echo "configure: failed program was:" >&5
13511 cat conftest.$ac_ext >&5
13512 rm -rf conftest*
13513 eval "ac_cv_func_$ac_func=no"
13514 fi
13515 rm -f conftest*
13516 fi
13517
13518 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13519 echo "$ac_t""yes" 1>&6
13520 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13521 cat >> confdefs.h <<EOF
13522 #define $ac_tr_func 1
13523 EOF
13524
13525 else
13526 echo "$ac_t""no" 1>&6
13527 fi
13528 done
13529
13530 fi
13531
13532
13533 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13534 echo "configure:13535: checking for _powf declaration" >&5
13535 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13536 echo $ac_n "(cached) $ac_c" 1>&6
13537 else
13538
13539
13540 ac_ext=C
13541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13542 ac_cpp='$CXXCPP $CPPFLAGS'
13543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13545 cross_compiling=$ac_cv_prog_cxx_cross
13546
13547 cat > conftest.$ac_ext <<EOF
13548 #line 13549 "configure"
13549 #include "confdefs.h"
13550 #include <math.h>
13551 int main() {
13552 _powf(0, 0);
13553 ; return 0; }
13554 EOF
13555 if { (eval echo configure:13556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13556 rm -rf conftest*
13557 glibcpp_cv_func__powf_use=yes
13558 else
13559 echo "configure: failed program was:" >&5
13560 cat conftest.$ac_ext >&5
13561 rm -rf conftest*
13562 glibcpp_cv_func__powf_use=no
13563 fi
13564 rm -f conftest*
13565 ac_ext=c
13566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13567 ac_cpp='$CPP $CPPFLAGS'
13568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13570 cross_compiling=$ac_cv_prog_cc_cross
13571
13572
13573 fi
13574
13575 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13576 if test x$glibcpp_cv_func__powf_use = x"yes"; then
13577 for ac_func in _powf
13578 do
13579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13580 echo "configure:13581: checking for $ac_func" >&5
13581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13582 echo $ac_n "(cached) $ac_c" 1>&6
13583 else
13584 cat > conftest.$ac_ext <<EOF
13585 #line 13586 "configure"
13586 #include "confdefs.h"
13587 /* System header to define __stub macros and hopefully few prototypes,
13588 which can conflict with char $ac_func(); below. */
13589 #include <assert.h>
13590 /* Override any gcc2 internal prototype to avoid an error. */
13591 /* We use char because int might match the return type of a gcc2
13592 builtin and then its argument prototype would still apply. */
13593 char $ac_func();
13594
13595 int main() {
13596
13597 /* The GNU C library defines this for functions which it implements
13598 to always fail with ENOSYS. Some functions are actually named
13599 something starting with __ and the normal name is an alias. */
13600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13601 choke me
13602 #else
13603 $ac_func();
13604 #endif
13605
13606 ; return 0; }
13607 EOF
13608 if { (eval echo configure:13609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13609 rm -rf conftest*
13610 eval "ac_cv_func_$ac_func=yes"
13611 else
13612 echo "configure: failed program was:" >&5
13613 cat conftest.$ac_ext >&5
13614 rm -rf conftest*
13615 eval "ac_cv_func_$ac_func=no"
13616 fi
13617 rm -f conftest*
13618 fi
13619
13620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13621 echo "$ac_t""yes" 1>&6
13622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13623 cat >> confdefs.h <<EOF
13624 #define $ac_tr_func 1
13625 EOF
13626
13627 else
13628 echo "$ac_t""no" 1>&6
13629 fi
13630 done
13631
13632 fi
13633
13634
13635 echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13636 echo "configure:13637: checking for _sinf declaration" >&5
13637 if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13638 echo $ac_n "(cached) $ac_c" 1>&6
13639 else
13640
13641
13642 ac_ext=C
13643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13644 ac_cpp='$CXXCPP $CPPFLAGS'
13645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13647 cross_compiling=$ac_cv_prog_cxx_cross
13648
13649 cat > conftest.$ac_ext <<EOF
13650 #line 13651 "configure"
13651 #include "confdefs.h"
13652 #include <math.h>
13653 int main() {
13654 _sinf(0);
13655 ; return 0; }
13656 EOF
13657 if { (eval echo configure:13658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13658 rm -rf conftest*
13659 glibcpp_cv_func__sinf_use=yes
13660 else
13661 echo "configure: failed program was:" >&5
13662 cat conftest.$ac_ext >&5
13663 rm -rf conftest*
13664 glibcpp_cv_func__sinf_use=no
13665 fi
13666 rm -f conftest*
13667 ac_ext=c
13668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13669 ac_cpp='$CPP $CPPFLAGS'
13670 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13671 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13672 cross_compiling=$ac_cv_prog_cc_cross
13673
13674
13675 fi
13676
13677 echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13678 if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13679 for ac_func in _sinf
13680 do
13681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13682 echo "configure:13683: checking for $ac_func" >&5
13683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13684 echo $ac_n "(cached) $ac_c" 1>&6
13685 else
13686 cat > conftest.$ac_ext <<EOF
13687 #line 13688 "configure"
13688 #include "confdefs.h"
13689 /* System header to define __stub macros and hopefully few prototypes,
13690 which can conflict with char $ac_func(); below. */
13691 #include <assert.h>
13692 /* Override any gcc2 internal prototype to avoid an error. */
13693 /* We use char because int might match the return type of a gcc2
13694 builtin and then its argument prototype would still apply. */
13695 char $ac_func();
13696
13697 int main() {
13698
13699 /* The GNU C library defines this for functions which it implements
13700 to always fail with ENOSYS. Some functions are actually named
13701 something starting with __ and the normal name is an alias. */
13702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13703 choke me
13704 #else
13705 $ac_func();
13706 #endif
13707
13708 ; return 0; }
13709 EOF
13710 if { (eval echo configure:13711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13711 rm -rf conftest*
13712 eval "ac_cv_func_$ac_func=yes"
13713 else
13714 echo "configure: failed program was:" >&5
13715 cat conftest.$ac_ext >&5
13716 rm -rf conftest*
13717 eval "ac_cv_func_$ac_func=no"
13718 fi
13719 rm -f conftest*
13720 fi
13721
13722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13723 echo "$ac_t""yes" 1>&6
13724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13725 cat >> confdefs.h <<EOF
13726 #define $ac_tr_func 1
13727 EOF
13728
13729 else
13730 echo "$ac_t""no" 1>&6
13731 fi
13732 done
13733
13734 fi
13735
13736
13737 echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13738 echo "configure:13739: checking for _sinhf declaration" >&5
13739 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13740 echo $ac_n "(cached) $ac_c" 1>&6
13741 else
13742
13743
13744 ac_ext=C
13745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13746 ac_cpp='$CXXCPP $CPPFLAGS'
13747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13749 cross_compiling=$ac_cv_prog_cxx_cross
13750
13751 cat > conftest.$ac_ext <<EOF
13752 #line 13753 "configure"
13753 #include "confdefs.h"
13754 #include <math.h>
13755 int main() {
13756 _sinhf(0);
13757 ; return 0; }
13758 EOF
13759 if { (eval echo configure:13760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13760 rm -rf conftest*
13761 glibcpp_cv_func__sinhf_use=yes
13762 else
13763 echo "configure: failed program was:" >&5
13764 cat conftest.$ac_ext >&5
13765 rm -rf conftest*
13766 glibcpp_cv_func__sinhf_use=no
13767 fi
13768 rm -f conftest*
13769 ac_ext=c
13770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13771 ac_cpp='$CPP $CPPFLAGS'
13772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13774 cross_compiling=$ac_cv_prog_cc_cross
13775
13776
13777 fi
13778
13779 echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13780 if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13781 for ac_func in _sinhf
13782 do
13783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13784 echo "configure:13785: checking for $ac_func" >&5
13785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13786 echo $ac_n "(cached) $ac_c" 1>&6
13787 else
13788 cat > conftest.$ac_ext <<EOF
13789 #line 13790 "configure"
13790 #include "confdefs.h"
13791 /* System header to define __stub macros and hopefully few prototypes,
13792 which can conflict with char $ac_func(); below. */
13793 #include <assert.h>
13794 /* Override any gcc2 internal prototype to avoid an error. */
13795 /* We use char because int might match the return type of a gcc2
13796 builtin and then its argument prototype would still apply. */
13797 char $ac_func();
13798
13799 int main() {
13800
13801 /* The GNU C library defines this for functions which it implements
13802 to always fail with ENOSYS. Some functions are actually named
13803 something starting with __ and the normal name is an alias. */
13804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13805 choke me
13806 #else
13807 $ac_func();
13808 #endif
13809
13810 ; return 0; }
13811 EOF
13812 if { (eval echo configure:13813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13813 rm -rf conftest*
13814 eval "ac_cv_func_$ac_func=yes"
13815 else
13816 echo "configure: failed program was:" >&5
13817 cat conftest.$ac_ext >&5
13818 rm -rf conftest*
13819 eval "ac_cv_func_$ac_func=no"
13820 fi
13821 rm -f conftest*
13822 fi
13823
13824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13825 echo "$ac_t""yes" 1>&6
13826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13827 cat >> confdefs.h <<EOF
13828 #define $ac_tr_func 1
13829 EOF
13830
13831 else
13832 echo "$ac_t""no" 1>&6
13833 fi
13834 done
13835
13836 fi
13837
13838
13839 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13840 echo "configure:13841: checking for _sqrtf declaration" >&5
13841 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13842 echo $ac_n "(cached) $ac_c" 1>&6
13843 else
13844
13845
13846 ac_ext=C
13847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13848 ac_cpp='$CXXCPP $CPPFLAGS'
13849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13851 cross_compiling=$ac_cv_prog_cxx_cross
13852
13853 cat > conftest.$ac_ext <<EOF
13854 #line 13855 "configure"
13855 #include "confdefs.h"
13856 #include <math.h>
13857 int main() {
13858 _sqrtf(0);
13859 ; return 0; }
13860 EOF
13861 if { (eval echo configure:13862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13862 rm -rf conftest*
13863 glibcpp_cv_func__sqrtf_use=yes
13864 else
13865 echo "configure: failed program was:" >&5
13866 cat conftest.$ac_ext >&5
13867 rm -rf conftest*
13868 glibcpp_cv_func__sqrtf_use=no
13869 fi
13870 rm -f conftest*
13871 ac_ext=c
13872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13873 ac_cpp='$CPP $CPPFLAGS'
13874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13876 cross_compiling=$ac_cv_prog_cc_cross
13877
13878
13879 fi
13880
13881 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13882 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13883 for ac_func in _sqrtf
13884 do
13885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13886 echo "configure:13887: checking for $ac_func" >&5
13887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13888 echo $ac_n "(cached) $ac_c" 1>&6
13889 else
13890 cat > conftest.$ac_ext <<EOF
13891 #line 13892 "configure"
13892 #include "confdefs.h"
13893 /* System header to define __stub macros and hopefully few prototypes,
13894 which can conflict with char $ac_func(); below. */
13895 #include <assert.h>
13896 /* Override any gcc2 internal prototype to avoid an error. */
13897 /* We use char because int might match the return type of a gcc2
13898 builtin and then its argument prototype would still apply. */
13899 char $ac_func();
13900
13901 int main() {
13902
13903 /* The GNU C library defines this for functions which it implements
13904 to always fail with ENOSYS. Some functions are actually named
13905 something starting with __ and the normal name is an alias. */
13906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13907 choke me
13908 #else
13909 $ac_func();
13910 #endif
13911
13912 ; return 0; }
13913 EOF
13914 if { (eval echo configure:13915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13915 rm -rf conftest*
13916 eval "ac_cv_func_$ac_func=yes"
13917 else
13918 echo "configure: failed program was:" >&5
13919 cat conftest.$ac_ext >&5
13920 rm -rf conftest*
13921 eval "ac_cv_func_$ac_func=no"
13922 fi
13923 rm -f conftest*
13924 fi
13925
13926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13927 echo "$ac_t""yes" 1>&6
13928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13929 cat >> confdefs.h <<EOF
13930 #define $ac_tr_func 1
13931 EOF
13932
13933 else
13934 echo "$ac_t""no" 1>&6
13935 fi
13936 done
13937
13938 fi
13939
13940
13941 echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
13942 echo "configure:13943: checking for _tanf declaration" >&5
13943 if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
13944 echo $ac_n "(cached) $ac_c" 1>&6
13945 else
13946
13947
13948 ac_ext=C
13949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13950 ac_cpp='$CXXCPP $CPPFLAGS'
13951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13953 cross_compiling=$ac_cv_prog_cxx_cross
13954
13955 cat > conftest.$ac_ext <<EOF
13956 #line 13957 "configure"
13957 #include "confdefs.h"
13958 #include <math.h>
13959 int main() {
13960 _tanf(0);
13961 ; return 0; }
13962 EOF
13963 if { (eval echo configure:13964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13964 rm -rf conftest*
13965 glibcpp_cv_func__tanf_use=yes
13966 else
13967 echo "configure: failed program was:" >&5
13968 cat conftest.$ac_ext >&5
13969 rm -rf conftest*
13970 glibcpp_cv_func__tanf_use=no
13971 fi
13972 rm -f conftest*
13973 ac_ext=c
13974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13975 ac_cpp='$CPP $CPPFLAGS'
13976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13978 cross_compiling=$ac_cv_prog_cc_cross
13979
13980
13981 fi
13982
13983 echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
13984 if test x$glibcpp_cv_func__tanf_use = x"yes"; then
13985 for ac_func in _tanf
13986 do
13987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13988 echo "configure:13989: checking for $ac_func" >&5
13989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13990 echo $ac_n "(cached) $ac_c" 1>&6
13991 else
13992 cat > conftest.$ac_ext <<EOF
13993 #line 13994 "configure"
13994 #include "confdefs.h"
13995 /* System header to define __stub macros and hopefully few prototypes,
13996 which can conflict with char $ac_func(); below. */
13997 #include <assert.h>
13998 /* Override any gcc2 internal prototype to avoid an error. */
13999 /* We use char because int might match the return type of a gcc2
14000 builtin and then its argument prototype would still apply. */
14001 char $ac_func();
14002
14003 int main() {
14004
14005 /* The GNU C library defines this for functions which it implements
14006 to always fail with ENOSYS. Some functions are actually named
14007 something starting with __ and the normal name is an alias. */
14008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14009 choke me
14010 #else
14011 $ac_func();
14012 #endif
14013
14014 ; return 0; }
14015 EOF
14016 if { (eval echo configure:14017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14017 rm -rf conftest*
14018 eval "ac_cv_func_$ac_func=yes"
14019 else
14020 echo "configure: failed program was:" >&5
14021 cat conftest.$ac_ext >&5
14022 rm -rf conftest*
14023 eval "ac_cv_func_$ac_func=no"
14024 fi
14025 rm -f conftest*
14026 fi
14027
14028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14029 echo "$ac_t""yes" 1>&6
14030 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14031 cat >> confdefs.h <<EOF
14032 #define $ac_tr_func 1
14033 EOF
14034
14035 else
14036 echo "$ac_t""no" 1>&6
14037 fi
14038 done
14039
14040 fi
14041
14042
14043 echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
14044 echo "configure:14045: checking for _tanhf declaration" >&5
14045 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
14046 echo $ac_n "(cached) $ac_c" 1>&6
14047 else
14048
14049
14050 ac_ext=C
14051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14052 ac_cpp='$CXXCPP $CPPFLAGS'
14053 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14054 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14055 cross_compiling=$ac_cv_prog_cxx_cross
14056
14057 cat > conftest.$ac_ext <<EOF
14058 #line 14059 "configure"
14059 #include "confdefs.h"
14060 #include <math.h>
14061 int main() {
14062 _tanhf(0);
14063 ; return 0; }
14064 EOF
14065 if { (eval echo configure:14066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14066 rm -rf conftest*
14067 glibcpp_cv_func__tanhf_use=yes
14068 else
14069 echo "configure: failed program was:" >&5
14070 cat conftest.$ac_ext >&5
14071 rm -rf conftest*
14072 glibcpp_cv_func__tanhf_use=no
14073 fi
14074 rm -f conftest*
14075 ac_ext=c
14076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14077 ac_cpp='$CPP $CPPFLAGS'
14078 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14079 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14080 cross_compiling=$ac_cv_prog_cc_cross
14081
14082
14083 fi
14084
14085 echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
14086 if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
14087 for ac_func in _tanhf
14088 do
14089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14090 echo "configure:14091: checking for $ac_func" >&5
14091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14092 echo $ac_n "(cached) $ac_c" 1>&6
14093 else
14094 cat > conftest.$ac_ext <<EOF
14095 #line 14096 "configure"
14096 #include "confdefs.h"
14097 /* System header to define __stub macros and hopefully few prototypes,
14098 which can conflict with char $ac_func(); below. */
14099 #include <assert.h>
14100 /* Override any gcc2 internal prototype to avoid an error. */
14101 /* We use char because int might match the return type of a gcc2
14102 builtin and then its argument prototype would still apply. */
14103 char $ac_func();
14104
14105 int main() {
14106
14107 /* The GNU C library defines this for functions which it implements
14108 to always fail with ENOSYS. Some functions are actually named
14109 something starting with __ and the normal name is an alias. */
14110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14111 choke me
14112 #else
14113 $ac_func();
14114 #endif
14115
14116 ; return 0; }
14117 EOF
14118 if { (eval echo configure:14119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14119 rm -rf conftest*
14120 eval "ac_cv_func_$ac_func=yes"
14121 else
14122 echo "configure: failed program was:" >&5
14123 cat conftest.$ac_ext >&5
14124 rm -rf conftest*
14125 eval "ac_cv_func_$ac_func=no"
14126 fi
14127 rm -f conftest*
14128 fi
14129
14130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14131 echo "$ac_t""yes" 1>&6
14132 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14133 cat >> confdefs.h <<EOF
14134 #define $ac_tr_func 1
14135 EOF
14136
14137 else
14138 echo "$ac_t""no" 1>&6
14139 fi
14140 done
14141
14142 fi
14143
14144
14145 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14146 echo "configure:14147: checking for _sincosf declaration" >&5
14147 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14148 echo $ac_n "(cached) $ac_c" 1>&6
14149 else
14150
14151
14152 ac_ext=C
14153 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14154 ac_cpp='$CXXCPP $CPPFLAGS'
14155 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14156 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14157 cross_compiling=$ac_cv_prog_cxx_cross
14158
14159 cat > conftest.$ac_ext <<EOF
14160 #line 14161 "configure"
14161 #include "confdefs.h"
14162 #include <math.h>
14163 int main() {
14164 _sincosf(0, 0, 0);
14165 ; return 0; }
14166 EOF
14167 if { (eval echo configure:14168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14168 rm -rf conftest*
14169 glibcpp_cv_func__sincosf_use=yes
14170 else
14171 echo "configure: failed program was:" >&5
14172 cat conftest.$ac_ext >&5
14173 rm -rf conftest*
14174 glibcpp_cv_func__sincosf_use=no
14175 fi
14176 rm -f conftest*
14177 ac_ext=c
14178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14179 ac_cpp='$CPP $CPPFLAGS'
14180 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14181 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14182 cross_compiling=$ac_cv_prog_cc_cross
14183
14184
14185 fi
14186
14187 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14188 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14189 for ac_func in _sincosf
14190 do
14191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14192 echo "configure:14193: checking for $ac_func" >&5
14193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14194 echo $ac_n "(cached) $ac_c" 1>&6
14195 else
14196 cat > conftest.$ac_ext <<EOF
14197 #line 14198 "configure"
14198 #include "confdefs.h"
14199 /* System header to define __stub macros and hopefully few prototypes,
14200 which can conflict with char $ac_func(); below. */
14201 #include <assert.h>
14202 /* Override any gcc2 internal prototype to avoid an error. */
14203 /* We use char because int might match the return type of a gcc2
14204 builtin and then its argument prototype would still apply. */
14205 char $ac_func();
14206
14207 int main() {
14208
14209 /* The GNU C library defines this for functions which it implements
14210 to always fail with ENOSYS. Some functions are actually named
14211 something starting with __ and the normal name is an alias. */
14212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14213 choke me
14214 #else
14215 $ac_func();
14216 #endif
14217
14218 ; return 0; }
14219 EOF
14220 if { (eval echo configure:14221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14221 rm -rf conftest*
14222 eval "ac_cv_func_$ac_func=yes"
14223 else
14224 echo "configure: failed program was:" >&5
14225 cat conftest.$ac_ext >&5
14226 rm -rf conftest*
14227 eval "ac_cv_func_$ac_func=no"
14228 fi
14229 rm -f conftest*
14230 fi
14231
14232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14233 echo "$ac_t""yes" 1>&6
14234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14235 cat >> confdefs.h <<EOF
14236 #define $ac_tr_func 1
14237 EOF
14238
14239 else
14240 echo "$ac_t""no" 1>&6
14241 fi
14242 done
14243
14244 fi
14245
14246
14247 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14248 echo "configure:14249: checking for _finitef declaration" >&5
14249 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14250 echo $ac_n "(cached) $ac_c" 1>&6
14251 else
14252
14253
14254 ac_ext=C
14255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14256 ac_cpp='$CXXCPP $CPPFLAGS'
14257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14259 cross_compiling=$ac_cv_prog_cxx_cross
14260
14261 cat > conftest.$ac_ext <<EOF
14262 #line 14263 "configure"
14263 #include "confdefs.h"
14264 #include <math.h>
14265 int main() {
14266 _finitef(0);
14267 ; return 0; }
14268 EOF
14269 if { (eval echo configure:14270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14270 rm -rf conftest*
14271 glibcpp_cv_func__finitef_use=yes
14272 else
14273 echo "configure: failed program was:" >&5
14274 cat conftest.$ac_ext >&5
14275 rm -rf conftest*
14276 glibcpp_cv_func__finitef_use=no
14277 fi
14278 rm -f conftest*
14279 ac_ext=c
14280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14281 ac_cpp='$CPP $CPPFLAGS'
14282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14284 cross_compiling=$ac_cv_prog_cc_cross
14285
14286
14287 fi
14288
14289 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14290 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14291 for ac_func in _finitef
14292 do
14293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14294 echo "configure:14295: checking for $ac_func" >&5
14295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14296 echo $ac_n "(cached) $ac_c" 1>&6
14297 else
14298 cat > conftest.$ac_ext <<EOF
14299 #line 14300 "configure"
14300 #include "confdefs.h"
14301 /* System header to define __stub macros and hopefully few prototypes,
14302 which can conflict with char $ac_func(); below. */
14303 #include <assert.h>
14304 /* Override any gcc2 internal prototype to avoid an error. */
14305 /* We use char because int might match the return type of a gcc2
14306 builtin and then its argument prototype would still apply. */
14307 char $ac_func();
14308
14309 int main() {
14310
14311 /* The GNU C library defines this for functions which it implements
14312 to always fail with ENOSYS. Some functions are actually named
14313 something starting with __ and the normal name is an alias. */
14314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14315 choke me
14316 #else
14317 $ac_func();
14318 #endif
14319
14320 ; return 0; }
14321 EOF
14322 if { (eval echo configure:14323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14323 rm -rf conftest*
14324 eval "ac_cv_func_$ac_func=yes"
14325 else
14326 echo "configure: failed program was:" >&5
14327 cat conftest.$ac_ext >&5
14328 rm -rf conftest*
14329 eval "ac_cv_func_$ac_func=no"
14330 fi
14331 rm -f conftest*
14332 fi
14333
14334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14335 echo "$ac_t""yes" 1>&6
14336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14337 cat >> confdefs.h <<EOF
14338 #define $ac_tr_func 1
14339 EOF
14340
14341 else
14342 echo "$ac_t""no" 1>&6
14343 fi
14344 done
14345
14346 fi
14347
14348
14349
14350 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14351 echo "configure:14352: checking for _isnanl declaration" >&5
14352 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14353 echo $ac_n "(cached) $ac_c" 1>&6
14354 else
14355
14356
14357 ac_ext=C
14358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14359 ac_cpp='$CXXCPP $CPPFLAGS'
14360 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14361 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14362 cross_compiling=$ac_cv_prog_cxx_cross
14363
14364 cat > conftest.$ac_ext <<EOF
14365 #line 14366 "configure"
14366 #include "confdefs.h"
14367 #include <math.h>
14368 int main() {
14369 _isnanl(0);
14370 ; return 0; }
14371 EOF
14372 if { (eval echo configure:14373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14373 rm -rf conftest*
14374 glibcpp_cv_func__isnanl_use=yes
14375 else
14376 echo "configure: failed program was:" >&5
14377 cat conftest.$ac_ext >&5
14378 rm -rf conftest*
14379 glibcpp_cv_func__isnanl_use=no
14380 fi
14381 rm -f conftest*
14382 ac_ext=c
14383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14384 ac_cpp='$CPP $CPPFLAGS'
14385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14387 cross_compiling=$ac_cv_prog_cc_cross
14388
14389
14390 fi
14391
14392 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14393 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14394 for ac_func in _isnanl
14395 do
14396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14397 echo "configure:14398: checking for $ac_func" >&5
14398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14399 echo $ac_n "(cached) $ac_c" 1>&6
14400 else
14401 cat > conftest.$ac_ext <<EOF
14402 #line 14403 "configure"
14403 #include "confdefs.h"
14404 /* System header to define __stub macros and hopefully few prototypes,
14405 which can conflict with char $ac_func(); below. */
14406 #include <assert.h>
14407 /* Override any gcc2 internal prototype to avoid an error. */
14408 /* We use char because int might match the return type of a gcc2
14409 builtin and then its argument prototype would still apply. */
14410 char $ac_func();
14411
14412 int main() {
14413
14414 /* The GNU C library defines this for functions which it implements
14415 to always fail with ENOSYS. Some functions are actually named
14416 something starting with __ and the normal name is an alias. */
14417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14418 choke me
14419 #else
14420 $ac_func();
14421 #endif
14422
14423 ; return 0; }
14424 EOF
14425 if { (eval echo configure:14426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14426 rm -rf conftest*
14427 eval "ac_cv_func_$ac_func=yes"
14428 else
14429 echo "configure: failed program was:" >&5
14430 cat conftest.$ac_ext >&5
14431 rm -rf conftest*
14432 eval "ac_cv_func_$ac_func=no"
14433 fi
14434 rm -f conftest*
14435 fi
14436
14437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14438 echo "$ac_t""yes" 1>&6
14439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14440 cat >> confdefs.h <<EOF
14441 #define $ac_tr_func 1
14442 EOF
14443
14444 else
14445 echo "$ac_t""no" 1>&6
14446 fi
14447 done
14448
14449 fi
14450
14451
14452 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14453 echo "configure:14454: checking for _isinfl declaration" >&5
14454 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14455 echo $ac_n "(cached) $ac_c" 1>&6
14456 else
14457
14458
14459 ac_ext=C
14460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14461 ac_cpp='$CXXCPP $CPPFLAGS'
14462 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14463 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14464 cross_compiling=$ac_cv_prog_cxx_cross
14465
14466 cat > conftest.$ac_ext <<EOF
14467 #line 14468 "configure"
14468 #include "confdefs.h"
14469 #include <math.h>
14470 int main() {
14471 _isinfl(0);
14472 ; return 0; }
14473 EOF
14474 if { (eval echo configure:14475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14475 rm -rf conftest*
14476 glibcpp_cv_func__isinfl_use=yes
14477 else
14478 echo "configure: failed program was:" >&5
14479 cat conftest.$ac_ext >&5
14480 rm -rf conftest*
14481 glibcpp_cv_func__isinfl_use=no
14482 fi
14483 rm -f conftest*
14484 ac_ext=c
14485 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14486 ac_cpp='$CPP $CPPFLAGS'
14487 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14488 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14489 cross_compiling=$ac_cv_prog_cc_cross
14490
14491
14492 fi
14493
14494 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14495 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14496 for ac_func in _isinfl
14497 do
14498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14499 echo "configure:14500: checking for $ac_func" >&5
14500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14501 echo $ac_n "(cached) $ac_c" 1>&6
14502 else
14503 cat > conftest.$ac_ext <<EOF
14504 #line 14505 "configure"
14505 #include "confdefs.h"
14506 /* System header to define __stub macros and hopefully few prototypes,
14507 which can conflict with char $ac_func(); below. */
14508 #include <assert.h>
14509 /* Override any gcc2 internal prototype to avoid an error. */
14510 /* We use char because int might match the return type of a gcc2
14511 builtin and then its argument prototype would still apply. */
14512 char $ac_func();
14513
14514 int main() {
14515
14516 /* The GNU C library defines this for functions which it implements
14517 to always fail with ENOSYS. Some functions are actually named
14518 something starting with __ and the normal name is an alias. */
14519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14520 choke me
14521 #else
14522 $ac_func();
14523 #endif
14524
14525 ; return 0; }
14526 EOF
14527 if { (eval echo configure:14528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14528 rm -rf conftest*
14529 eval "ac_cv_func_$ac_func=yes"
14530 else
14531 echo "configure: failed program was:" >&5
14532 cat conftest.$ac_ext >&5
14533 rm -rf conftest*
14534 eval "ac_cv_func_$ac_func=no"
14535 fi
14536 rm -f conftest*
14537 fi
14538
14539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14540 echo "$ac_t""yes" 1>&6
14541 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14542 cat >> confdefs.h <<EOF
14543 #define $ac_tr_func 1
14544 EOF
14545
14546 else
14547 echo "$ac_t""no" 1>&6
14548 fi
14549 done
14550
14551 fi
14552
14553
14554 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14555 echo "configure:14556: checking for _copysignl declaration" >&5
14556 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14557 echo $ac_n "(cached) $ac_c" 1>&6
14558 else
14559
14560
14561 ac_ext=C
14562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14563 ac_cpp='$CXXCPP $CPPFLAGS'
14564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14566 cross_compiling=$ac_cv_prog_cxx_cross
14567
14568 cat > conftest.$ac_ext <<EOF
14569 #line 14570 "configure"
14570 #include "confdefs.h"
14571 #include <math.h>
14572 int main() {
14573 _copysignl(0, 0);
14574 ; return 0; }
14575 EOF
14576 if { (eval echo configure:14577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14577 rm -rf conftest*
14578 glibcpp_cv_func__copysignl_use=yes
14579 else
14580 echo "configure: failed program was:" >&5
14581 cat conftest.$ac_ext >&5
14582 rm -rf conftest*
14583 glibcpp_cv_func__copysignl_use=no
14584 fi
14585 rm -f conftest*
14586 ac_ext=c
14587 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14588 ac_cpp='$CPP $CPPFLAGS'
14589 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14590 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14591 cross_compiling=$ac_cv_prog_cc_cross
14592
14593
14594 fi
14595
14596 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14597 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14598 for ac_func in _copysignl
14599 do
14600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14601 echo "configure:14602: checking for $ac_func" >&5
14602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14603 echo $ac_n "(cached) $ac_c" 1>&6
14604 else
14605 cat > conftest.$ac_ext <<EOF
14606 #line 14607 "configure"
14607 #include "confdefs.h"
14608 /* System header to define __stub macros and hopefully few prototypes,
14609 which can conflict with char $ac_func(); below. */
14610 #include <assert.h>
14611 /* Override any gcc2 internal prototype to avoid an error. */
14612 /* We use char because int might match the return type of a gcc2
14613 builtin and then its argument prototype would still apply. */
14614 char $ac_func();
14615
14616 int main() {
14617
14618 /* The GNU C library defines this for functions which it implements
14619 to always fail with ENOSYS. Some functions are actually named
14620 something starting with __ and the normal name is an alias. */
14621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14622 choke me
14623 #else
14624 $ac_func();
14625 #endif
14626
14627 ; return 0; }
14628 EOF
14629 if { (eval echo configure:14630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14630 rm -rf conftest*
14631 eval "ac_cv_func_$ac_func=yes"
14632 else
14633 echo "configure: failed program was:" >&5
14634 cat conftest.$ac_ext >&5
14635 rm -rf conftest*
14636 eval "ac_cv_func_$ac_func=no"
14637 fi
14638 rm -f conftest*
14639 fi
14640
14641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14642 echo "$ac_t""yes" 1>&6
14643 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14644 cat >> confdefs.h <<EOF
14645 #define $ac_tr_func 1
14646 EOF
14647
14648 else
14649 echo "$ac_t""no" 1>&6
14650 fi
14651 done
14652
14653 fi
14654
14655
14656 echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14657 echo "configure:14658: checking for _acosl declaration" >&5
14658 if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14659 echo $ac_n "(cached) $ac_c" 1>&6
14660 else
14661
14662
14663 ac_ext=C
14664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14665 ac_cpp='$CXXCPP $CPPFLAGS'
14666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14668 cross_compiling=$ac_cv_prog_cxx_cross
14669
14670 cat > conftest.$ac_ext <<EOF
14671 #line 14672 "configure"
14672 #include "confdefs.h"
14673 #include <math.h>
14674 int main() {
14675 _acosl(0);
14676 ; return 0; }
14677 EOF
14678 if { (eval echo configure:14679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14679 rm -rf conftest*
14680 glibcpp_cv_func__acosl_use=yes
14681 else
14682 echo "configure: failed program was:" >&5
14683 cat conftest.$ac_ext >&5
14684 rm -rf conftest*
14685 glibcpp_cv_func__acosl_use=no
14686 fi
14687 rm -f conftest*
14688 ac_ext=c
14689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14690 ac_cpp='$CPP $CPPFLAGS'
14691 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14692 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14693 cross_compiling=$ac_cv_prog_cc_cross
14694
14695
14696 fi
14697
14698 echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14699 if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14700 for ac_func in _acosl
14701 do
14702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14703 echo "configure:14704: checking for $ac_func" >&5
14704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14705 echo $ac_n "(cached) $ac_c" 1>&6
14706 else
14707 cat > conftest.$ac_ext <<EOF
14708 #line 14709 "configure"
14709 #include "confdefs.h"
14710 /* System header to define __stub macros and hopefully few prototypes,
14711 which can conflict with char $ac_func(); below. */
14712 #include <assert.h>
14713 /* Override any gcc2 internal prototype to avoid an error. */
14714 /* We use char because int might match the return type of a gcc2
14715 builtin and then its argument prototype would still apply. */
14716 char $ac_func();
14717
14718 int main() {
14719
14720 /* The GNU C library defines this for functions which it implements
14721 to always fail with ENOSYS. Some functions are actually named
14722 something starting with __ and the normal name is an alias. */
14723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14724 choke me
14725 #else
14726 $ac_func();
14727 #endif
14728
14729 ; return 0; }
14730 EOF
14731 if { (eval echo configure:14732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14732 rm -rf conftest*
14733 eval "ac_cv_func_$ac_func=yes"
14734 else
14735 echo "configure: failed program was:" >&5
14736 cat conftest.$ac_ext >&5
14737 rm -rf conftest*
14738 eval "ac_cv_func_$ac_func=no"
14739 fi
14740 rm -f conftest*
14741 fi
14742
14743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14744 echo "$ac_t""yes" 1>&6
14745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14746 cat >> confdefs.h <<EOF
14747 #define $ac_tr_func 1
14748 EOF
14749
14750 else
14751 echo "$ac_t""no" 1>&6
14752 fi
14753 done
14754
14755 fi
14756
14757
14758 echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14759 echo "configure:14760: checking for _asinl declaration" >&5
14760 if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14761 echo $ac_n "(cached) $ac_c" 1>&6
14762 else
14763
14764
14765 ac_ext=C
14766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14767 ac_cpp='$CXXCPP $CPPFLAGS'
14768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14770 cross_compiling=$ac_cv_prog_cxx_cross
14771
14772 cat > conftest.$ac_ext <<EOF
14773 #line 14774 "configure"
14774 #include "confdefs.h"
14775 #include <math.h>
14776 int main() {
14777 _asinl(0);
14778 ; return 0; }
14779 EOF
14780 if { (eval echo configure:14781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14781 rm -rf conftest*
14782 glibcpp_cv_func__asinl_use=yes
14783 else
14784 echo "configure: failed program was:" >&5
14785 cat conftest.$ac_ext >&5
14786 rm -rf conftest*
14787 glibcpp_cv_func__asinl_use=no
14788 fi
14789 rm -f conftest*
14790 ac_ext=c
14791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14792 ac_cpp='$CPP $CPPFLAGS'
14793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14795 cross_compiling=$ac_cv_prog_cc_cross
14796
14797
14798 fi
14799
14800 echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14801 if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14802 for ac_func in _asinl
14803 do
14804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14805 echo "configure:14806: checking for $ac_func" >&5
14806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14807 echo $ac_n "(cached) $ac_c" 1>&6
14808 else
14809 cat > conftest.$ac_ext <<EOF
14810 #line 14811 "configure"
14811 #include "confdefs.h"
14812 /* System header to define __stub macros and hopefully few prototypes,
14813 which can conflict with char $ac_func(); below. */
14814 #include <assert.h>
14815 /* Override any gcc2 internal prototype to avoid an error. */
14816 /* We use char because int might match the return type of a gcc2
14817 builtin and then its argument prototype would still apply. */
14818 char $ac_func();
14819
14820 int main() {
14821
14822 /* The GNU C library defines this for functions which it implements
14823 to always fail with ENOSYS. Some functions are actually named
14824 something starting with __ and the normal name is an alias. */
14825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14826 choke me
14827 #else
14828 $ac_func();
14829 #endif
14830
14831 ; return 0; }
14832 EOF
14833 if { (eval echo configure:14834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14834 rm -rf conftest*
14835 eval "ac_cv_func_$ac_func=yes"
14836 else
14837 echo "configure: failed program was:" >&5
14838 cat conftest.$ac_ext >&5
14839 rm -rf conftest*
14840 eval "ac_cv_func_$ac_func=no"
14841 fi
14842 rm -f conftest*
14843 fi
14844
14845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14846 echo "$ac_t""yes" 1>&6
14847 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14848 cat >> confdefs.h <<EOF
14849 #define $ac_tr_func 1
14850 EOF
14851
14852 else
14853 echo "$ac_t""no" 1>&6
14854 fi
14855 done
14856
14857 fi
14858
14859
14860 echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
14861 echo "configure:14862: checking for _atanl declaration" >&5
14862 if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
14863 echo $ac_n "(cached) $ac_c" 1>&6
14864 else
14865
14866
14867 ac_ext=C
14868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14869 ac_cpp='$CXXCPP $CPPFLAGS'
14870 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14871 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14872 cross_compiling=$ac_cv_prog_cxx_cross
14873
14874 cat > conftest.$ac_ext <<EOF
14875 #line 14876 "configure"
14876 #include "confdefs.h"
14877 #include <math.h>
14878 int main() {
14879 _atanl(0);
14880 ; return 0; }
14881 EOF
14882 if { (eval echo configure:14883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14883 rm -rf conftest*
14884 glibcpp_cv_func__atanl_use=yes
14885 else
14886 echo "configure: failed program was:" >&5
14887 cat conftest.$ac_ext >&5
14888 rm -rf conftest*
14889 glibcpp_cv_func__atanl_use=no
14890 fi
14891 rm -f conftest*
14892 ac_ext=c
14893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14894 ac_cpp='$CPP $CPPFLAGS'
14895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14897 cross_compiling=$ac_cv_prog_cc_cross
14898
14899
14900 fi
14901
14902 echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
14903 if test x$glibcpp_cv_func__atanl_use = x"yes"; then
14904 for ac_func in _atanl
14905 do
14906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14907 echo "configure:14908: checking for $ac_func" >&5
14908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14909 echo $ac_n "(cached) $ac_c" 1>&6
14910 else
14911 cat > conftest.$ac_ext <<EOF
14912 #line 14913 "configure"
14913 #include "confdefs.h"
14914 /* System header to define __stub macros and hopefully few prototypes,
14915 which can conflict with char $ac_func(); below. */
14916 #include <assert.h>
14917 /* Override any gcc2 internal prototype to avoid an error. */
14918 /* We use char because int might match the return type of a gcc2
14919 builtin and then its argument prototype would still apply. */
14920 char $ac_func();
14921
14922 int main() {
14923
14924 /* The GNU C library defines this for functions which it implements
14925 to always fail with ENOSYS. Some functions are actually named
14926 something starting with __ and the normal name is an alias. */
14927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14928 choke me
14929 #else
14930 $ac_func();
14931 #endif
14932
14933 ; return 0; }
14934 EOF
14935 if { (eval echo configure:14936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14936 rm -rf conftest*
14937 eval "ac_cv_func_$ac_func=yes"
14938 else
14939 echo "configure: failed program was:" >&5
14940 cat conftest.$ac_ext >&5
14941 rm -rf conftest*
14942 eval "ac_cv_func_$ac_func=no"
14943 fi
14944 rm -f conftest*
14945 fi
14946
14947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14948 echo "$ac_t""yes" 1>&6
14949 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14950 cat >> confdefs.h <<EOF
14951 #define $ac_tr_func 1
14952 EOF
14953
14954 else
14955 echo "$ac_t""no" 1>&6
14956 fi
14957 done
14958
14959 fi
14960
14961
14962 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14963 echo "configure:14964: checking for _atan2l declaration" >&5
14964 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14965 echo $ac_n "(cached) $ac_c" 1>&6
14966 else
14967
14968
14969 ac_ext=C
14970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14971 ac_cpp='$CXXCPP $CPPFLAGS'
14972 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14973 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14974 cross_compiling=$ac_cv_prog_cxx_cross
14975
14976 cat > conftest.$ac_ext <<EOF
14977 #line 14978 "configure"
14978 #include "confdefs.h"
14979 #include <math.h>
14980 int main() {
14981 _atan2l(0, 0);
14982 ; return 0; }
14983 EOF
14984 if { (eval echo configure:14985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14985 rm -rf conftest*
14986 glibcpp_cv_func__atan2l_use=yes
14987 else
14988 echo "configure: failed program was:" >&5
14989 cat conftest.$ac_ext >&5
14990 rm -rf conftest*
14991 glibcpp_cv_func__atan2l_use=no
14992 fi
14993 rm -f conftest*
14994 ac_ext=c
14995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14999 cross_compiling=$ac_cv_prog_cc_cross
15000
15001
15002 fi
15003
15004 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
15005 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
15006 for ac_func in _atan2l
15007 do
15008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15009 echo "configure:15010: checking for $ac_func" >&5
15010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15011 echo $ac_n "(cached) $ac_c" 1>&6
15012 else
15013 cat > conftest.$ac_ext <<EOF
15014 #line 15015 "configure"
15015 #include "confdefs.h"
15016 /* System header to define __stub macros and hopefully few prototypes,
15017 which can conflict with char $ac_func(); below. */
15018 #include <assert.h>
15019 /* Override any gcc2 internal prototype to avoid an error. */
15020 /* We use char because int might match the return type of a gcc2
15021 builtin and then its argument prototype would still apply. */
15022 char $ac_func();
15023
15024 int main() {
15025
15026 /* The GNU C library defines this for functions which it implements
15027 to always fail with ENOSYS. Some functions are actually named
15028 something starting with __ and the normal name is an alias. */
15029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15030 choke me
15031 #else
15032 $ac_func();
15033 #endif
15034
15035 ; return 0; }
15036 EOF
15037 if { (eval echo configure:15038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15038 rm -rf conftest*
15039 eval "ac_cv_func_$ac_func=yes"
15040 else
15041 echo "configure: failed program was:" >&5
15042 cat conftest.$ac_ext >&5
15043 rm -rf conftest*
15044 eval "ac_cv_func_$ac_func=no"
15045 fi
15046 rm -f conftest*
15047 fi
15048
15049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15050 echo "$ac_t""yes" 1>&6
15051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15052 cat >> confdefs.h <<EOF
15053 #define $ac_tr_func 1
15054 EOF
15055
15056 else
15057 echo "$ac_t""no" 1>&6
15058 fi
15059 done
15060
15061 fi
15062
15063
15064 echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
15065 echo "configure:15066: checking for _ceill declaration" >&5
15066 if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
15067 echo $ac_n "(cached) $ac_c" 1>&6
15068 else
15069
15070
15071 ac_ext=C
15072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15073 ac_cpp='$CXXCPP $CPPFLAGS'
15074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15076 cross_compiling=$ac_cv_prog_cxx_cross
15077
15078 cat > conftest.$ac_ext <<EOF
15079 #line 15080 "configure"
15080 #include "confdefs.h"
15081 #include <math.h>
15082 int main() {
15083 _ceill(0);
15084 ; return 0; }
15085 EOF
15086 if { (eval echo configure:15087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15087 rm -rf conftest*
15088 glibcpp_cv_func__ceill_use=yes
15089 else
15090 echo "configure: failed program was:" >&5
15091 cat conftest.$ac_ext >&5
15092 rm -rf conftest*
15093 glibcpp_cv_func__ceill_use=no
15094 fi
15095 rm -f conftest*
15096 ac_ext=c
15097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15098 ac_cpp='$CPP $CPPFLAGS'
15099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15101 cross_compiling=$ac_cv_prog_cc_cross
15102
15103
15104 fi
15105
15106 echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
15107 if test x$glibcpp_cv_func__ceill_use = x"yes"; then
15108 for ac_func in _ceill
15109 do
15110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15111 echo "configure:15112: checking for $ac_func" >&5
15112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15113 echo $ac_n "(cached) $ac_c" 1>&6
15114 else
15115 cat > conftest.$ac_ext <<EOF
15116 #line 15117 "configure"
15117 #include "confdefs.h"
15118 /* System header to define __stub macros and hopefully few prototypes,
15119 which can conflict with char $ac_func(); below. */
15120 #include <assert.h>
15121 /* Override any gcc2 internal prototype to avoid an error. */
15122 /* We use char because int might match the return type of a gcc2
15123 builtin and then its argument prototype would still apply. */
15124 char $ac_func();
15125
15126 int main() {
15127
15128 /* The GNU C library defines this for functions which it implements
15129 to always fail with ENOSYS. Some functions are actually named
15130 something starting with __ and the normal name is an alias. */
15131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15132 choke me
15133 #else
15134 $ac_func();
15135 #endif
15136
15137 ; return 0; }
15138 EOF
15139 if { (eval echo configure:15140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15140 rm -rf conftest*
15141 eval "ac_cv_func_$ac_func=yes"
15142 else
15143 echo "configure: failed program was:" >&5
15144 cat conftest.$ac_ext >&5
15145 rm -rf conftest*
15146 eval "ac_cv_func_$ac_func=no"
15147 fi
15148 rm -f conftest*
15149 fi
15150
15151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15152 echo "$ac_t""yes" 1>&6
15153 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15154 cat >> confdefs.h <<EOF
15155 #define $ac_tr_func 1
15156 EOF
15157
15158 else
15159 echo "$ac_t""no" 1>&6
15160 fi
15161 done
15162
15163 fi
15164
15165
15166 echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15167 echo "configure:15168: checking for _cosl declaration" >&5
15168 if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15169 echo $ac_n "(cached) $ac_c" 1>&6
15170 else
15171
15172
15173 ac_ext=C
15174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15175 ac_cpp='$CXXCPP $CPPFLAGS'
15176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15178 cross_compiling=$ac_cv_prog_cxx_cross
15179
15180 cat > conftest.$ac_ext <<EOF
15181 #line 15182 "configure"
15182 #include "confdefs.h"
15183 #include <math.h>
15184 int main() {
15185 _cosl(0);
15186 ; return 0; }
15187 EOF
15188 if { (eval echo configure:15189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15189 rm -rf conftest*
15190 glibcpp_cv_func__cosl_use=yes
15191 else
15192 echo "configure: failed program was:" >&5
15193 cat conftest.$ac_ext >&5
15194 rm -rf conftest*
15195 glibcpp_cv_func__cosl_use=no
15196 fi
15197 rm -f conftest*
15198 ac_ext=c
15199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15200 ac_cpp='$CPP $CPPFLAGS'
15201 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15202 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15203 cross_compiling=$ac_cv_prog_cc_cross
15204
15205
15206 fi
15207
15208 echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15209 if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15210 for ac_func in _cosl
15211 do
15212 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15213 echo "configure:15214: checking for $ac_func" >&5
15214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15215 echo $ac_n "(cached) $ac_c" 1>&6
15216 else
15217 cat > conftest.$ac_ext <<EOF
15218 #line 15219 "configure"
15219 #include "confdefs.h"
15220 /* System header to define __stub macros and hopefully few prototypes,
15221 which can conflict with char $ac_func(); below. */
15222 #include <assert.h>
15223 /* Override any gcc2 internal prototype to avoid an error. */
15224 /* We use char because int might match the return type of a gcc2
15225 builtin and then its argument prototype would still apply. */
15226 char $ac_func();
15227
15228 int main() {
15229
15230 /* The GNU C library defines this for functions which it implements
15231 to always fail with ENOSYS. Some functions are actually named
15232 something starting with __ and the normal name is an alias. */
15233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15234 choke me
15235 #else
15236 $ac_func();
15237 #endif
15238
15239 ; return 0; }
15240 EOF
15241 if { (eval echo configure:15242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15242 rm -rf conftest*
15243 eval "ac_cv_func_$ac_func=yes"
15244 else
15245 echo "configure: failed program was:" >&5
15246 cat conftest.$ac_ext >&5
15247 rm -rf conftest*
15248 eval "ac_cv_func_$ac_func=no"
15249 fi
15250 rm -f conftest*
15251 fi
15252
15253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15254 echo "$ac_t""yes" 1>&6
15255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15256 cat >> confdefs.h <<EOF
15257 #define $ac_tr_func 1
15258 EOF
15259
15260 else
15261 echo "$ac_t""no" 1>&6
15262 fi
15263 done
15264
15265 fi
15266
15267
15268 echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15269 echo "configure:15270: checking for _coshl declaration" >&5
15270 if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15271 echo $ac_n "(cached) $ac_c" 1>&6
15272 else
15273
15274
15275 ac_ext=C
15276 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15277 ac_cpp='$CXXCPP $CPPFLAGS'
15278 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15279 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15280 cross_compiling=$ac_cv_prog_cxx_cross
15281
15282 cat > conftest.$ac_ext <<EOF
15283 #line 15284 "configure"
15284 #include "confdefs.h"
15285 #include <math.h>
15286 int main() {
15287 _coshl(0);
15288 ; return 0; }
15289 EOF
15290 if { (eval echo configure:15291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15291 rm -rf conftest*
15292 glibcpp_cv_func__coshl_use=yes
15293 else
15294 echo "configure: failed program was:" >&5
15295 cat conftest.$ac_ext >&5
15296 rm -rf conftest*
15297 glibcpp_cv_func__coshl_use=no
15298 fi
15299 rm -f conftest*
15300 ac_ext=c
15301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15302 ac_cpp='$CPP $CPPFLAGS'
15303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15305 cross_compiling=$ac_cv_prog_cc_cross
15306
15307
15308 fi
15309
15310 echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15311 if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15312 for ac_func in _coshl
15313 do
15314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15315 echo "configure:15316: checking for $ac_func" >&5
15316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15317 echo $ac_n "(cached) $ac_c" 1>&6
15318 else
15319 cat > conftest.$ac_ext <<EOF
15320 #line 15321 "configure"
15321 #include "confdefs.h"
15322 /* System header to define __stub macros and hopefully few prototypes,
15323 which can conflict with char $ac_func(); below. */
15324 #include <assert.h>
15325 /* Override any gcc2 internal prototype to avoid an error. */
15326 /* We use char because int might match the return type of a gcc2
15327 builtin and then its argument prototype would still apply. */
15328 char $ac_func();
15329
15330 int main() {
15331
15332 /* The GNU C library defines this for functions which it implements
15333 to always fail with ENOSYS. Some functions are actually named
15334 something starting with __ and the normal name is an alias. */
15335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15336 choke me
15337 #else
15338 $ac_func();
15339 #endif
15340
15341 ; return 0; }
15342 EOF
15343 if { (eval echo configure:15344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15344 rm -rf conftest*
15345 eval "ac_cv_func_$ac_func=yes"
15346 else
15347 echo "configure: failed program was:" >&5
15348 cat conftest.$ac_ext >&5
15349 rm -rf conftest*
15350 eval "ac_cv_func_$ac_func=no"
15351 fi
15352 rm -f conftest*
15353 fi
15354
15355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15356 echo "$ac_t""yes" 1>&6
15357 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15358 cat >> confdefs.h <<EOF
15359 #define $ac_tr_func 1
15360 EOF
15361
15362 else
15363 echo "$ac_t""no" 1>&6
15364 fi
15365 done
15366
15367 fi
15368
15369
15370 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15371 echo "configure:15372: checking for _expl declaration" >&5
15372 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15373 echo $ac_n "(cached) $ac_c" 1>&6
15374 else
15375
15376
15377 ac_ext=C
15378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15379 ac_cpp='$CXXCPP $CPPFLAGS'
15380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15382 cross_compiling=$ac_cv_prog_cxx_cross
15383
15384 cat > conftest.$ac_ext <<EOF
15385 #line 15386 "configure"
15386 #include "confdefs.h"
15387 #include <math.h>
15388 int main() {
15389 _expl(0);
15390 ; return 0; }
15391 EOF
15392 if { (eval echo configure:15393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15393 rm -rf conftest*
15394 glibcpp_cv_func__expl_use=yes
15395 else
15396 echo "configure: failed program was:" >&5
15397 cat conftest.$ac_ext >&5
15398 rm -rf conftest*
15399 glibcpp_cv_func__expl_use=no
15400 fi
15401 rm -f conftest*
15402 ac_ext=c
15403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15404 ac_cpp='$CPP $CPPFLAGS'
15405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15407 cross_compiling=$ac_cv_prog_cc_cross
15408
15409
15410 fi
15411
15412 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15413 if test x$glibcpp_cv_func__expl_use = x"yes"; then
15414 for ac_func in _expl
15415 do
15416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15417 echo "configure:15418: checking for $ac_func" >&5
15418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15419 echo $ac_n "(cached) $ac_c" 1>&6
15420 else
15421 cat > conftest.$ac_ext <<EOF
15422 #line 15423 "configure"
15423 #include "confdefs.h"
15424 /* System header to define __stub macros and hopefully few prototypes,
15425 which can conflict with char $ac_func(); below. */
15426 #include <assert.h>
15427 /* Override any gcc2 internal prototype to avoid an error. */
15428 /* We use char because int might match the return type of a gcc2
15429 builtin and then its argument prototype would still apply. */
15430 char $ac_func();
15431
15432 int main() {
15433
15434 /* The GNU C library defines this for functions which it implements
15435 to always fail with ENOSYS. Some functions are actually named
15436 something starting with __ and the normal name is an alias. */
15437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15438 choke me
15439 #else
15440 $ac_func();
15441 #endif
15442
15443 ; return 0; }
15444 EOF
15445 if { (eval echo configure:15446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15446 rm -rf conftest*
15447 eval "ac_cv_func_$ac_func=yes"
15448 else
15449 echo "configure: failed program was:" >&5
15450 cat conftest.$ac_ext >&5
15451 rm -rf conftest*
15452 eval "ac_cv_func_$ac_func=no"
15453 fi
15454 rm -f conftest*
15455 fi
15456
15457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15458 echo "$ac_t""yes" 1>&6
15459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15460 cat >> confdefs.h <<EOF
15461 #define $ac_tr_func 1
15462 EOF
15463
15464 else
15465 echo "$ac_t""no" 1>&6
15466 fi
15467 done
15468
15469 fi
15470
15471
15472 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15473 echo "configure:15474: checking for _fabsl declaration" >&5
15474 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15475 echo $ac_n "(cached) $ac_c" 1>&6
15476 else
15477
15478
15479 ac_ext=C
15480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15481 ac_cpp='$CXXCPP $CPPFLAGS'
15482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15484 cross_compiling=$ac_cv_prog_cxx_cross
15485
15486 cat > conftest.$ac_ext <<EOF
15487 #line 15488 "configure"
15488 #include "confdefs.h"
15489 #include <math.h>
15490 int main() {
15491 _fabsl(0);
15492 ; return 0; }
15493 EOF
15494 if { (eval echo configure:15495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15495 rm -rf conftest*
15496 glibcpp_cv_func__fabsl_use=yes
15497 else
15498 echo "configure: failed program was:" >&5
15499 cat conftest.$ac_ext >&5
15500 rm -rf conftest*
15501 glibcpp_cv_func__fabsl_use=no
15502 fi
15503 rm -f conftest*
15504 ac_ext=c
15505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15506 ac_cpp='$CPP $CPPFLAGS'
15507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15509 cross_compiling=$ac_cv_prog_cc_cross
15510
15511
15512 fi
15513
15514 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15515 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15516 for ac_func in _fabsl
15517 do
15518 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15519 echo "configure:15520: checking for $ac_func" >&5
15520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15521 echo $ac_n "(cached) $ac_c" 1>&6
15522 else
15523 cat > conftest.$ac_ext <<EOF
15524 #line 15525 "configure"
15525 #include "confdefs.h"
15526 /* System header to define __stub macros and hopefully few prototypes,
15527 which can conflict with char $ac_func(); below. */
15528 #include <assert.h>
15529 /* Override any gcc2 internal prototype to avoid an error. */
15530 /* We use char because int might match the return type of a gcc2
15531 builtin and then its argument prototype would still apply. */
15532 char $ac_func();
15533
15534 int main() {
15535
15536 /* The GNU C library defines this for functions which it implements
15537 to always fail with ENOSYS. Some functions are actually named
15538 something starting with __ and the normal name is an alias. */
15539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15540 choke me
15541 #else
15542 $ac_func();
15543 #endif
15544
15545 ; return 0; }
15546 EOF
15547 if { (eval echo configure:15548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15548 rm -rf conftest*
15549 eval "ac_cv_func_$ac_func=yes"
15550 else
15551 echo "configure: failed program was:" >&5
15552 cat conftest.$ac_ext >&5
15553 rm -rf conftest*
15554 eval "ac_cv_func_$ac_func=no"
15555 fi
15556 rm -f conftest*
15557 fi
15558
15559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15560 echo "$ac_t""yes" 1>&6
15561 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15562 cat >> confdefs.h <<EOF
15563 #define $ac_tr_func 1
15564 EOF
15565
15566 else
15567 echo "$ac_t""no" 1>&6
15568 fi
15569 done
15570
15571 fi
15572
15573
15574 echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15575 echo "configure:15576: checking for _floorl declaration" >&5
15576 if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15577 echo $ac_n "(cached) $ac_c" 1>&6
15578 else
15579
15580
15581 ac_ext=C
15582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15583 ac_cpp='$CXXCPP $CPPFLAGS'
15584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15586 cross_compiling=$ac_cv_prog_cxx_cross
15587
15588 cat > conftest.$ac_ext <<EOF
15589 #line 15590 "configure"
15590 #include "confdefs.h"
15591 #include <math.h>
15592 int main() {
15593 _floorl(0);
15594 ; return 0; }
15595 EOF
15596 if { (eval echo configure:15597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15597 rm -rf conftest*
15598 glibcpp_cv_func__floorl_use=yes
15599 else
15600 echo "configure: failed program was:" >&5
15601 cat conftest.$ac_ext >&5
15602 rm -rf conftest*
15603 glibcpp_cv_func__floorl_use=no
15604 fi
15605 rm -f conftest*
15606 ac_ext=c
15607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15608 ac_cpp='$CPP $CPPFLAGS'
15609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15611 cross_compiling=$ac_cv_prog_cc_cross
15612
15613
15614 fi
15615
15616 echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15617 if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15618 for ac_func in _floorl
15619 do
15620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15621 echo "configure:15622: checking for $ac_func" >&5
15622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15623 echo $ac_n "(cached) $ac_c" 1>&6
15624 else
15625 cat > conftest.$ac_ext <<EOF
15626 #line 15627 "configure"
15627 #include "confdefs.h"
15628 /* System header to define __stub macros and hopefully few prototypes,
15629 which can conflict with char $ac_func(); below. */
15630 #include <assert.h>
15631 /* Override any gcc2 internal prototype to avoid an error. */
15632 /* We use char because int might match the return type of a gcc2
15633 builtin and then its argument prototype would still apply. */
15634 char $ac_func();
15635
15636 int main() {
15637
15638 /* The GNU C library defines this for functions which it implements
15639 to always fail with ENOSYS. Some functions are actually named
15640 something starting with __ and the normal name is an alias. */
15641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15642 choke me
15643 #else
15644 $ac_func();
15645 #endif
15646
15647 ; return 0; }
15648 EOF
15649 if { (eval echo configure:15650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15650 rm -rf conftest*
15651 eval "ac_cv_func_$ac_func=yes"
15652 else
15653 echo "configure: failed program was:" >&5
15654 cat conftest.$ac_ext >&5
15655 rm -rf conftest*
15656 eval "ac_cv_func_$ac_func=no"
15657 fi
15658 rm -f conftest*
15659 fi
15660
15661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15662 echo "$ac_t""yes" 1>&6
15663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15664 cat >> confdefs.h <<EOF
15665 #define $ac_tr_func 1
15666 EOF
15667
15668 else
15669 echo "$ac_t""no" 1>&6
15670 fi
15671 done
15672
15673 fi
15674
15675
15676 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15677 echo "configure:15678: checking for _fmodl declaration" >&5
15678 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15679 echo $ac_n "(cached) $ac_c" 1>&6
15680 else
15681
15682
15683 ac_ext=C
15684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15685 ac_cpp='$CXXCPP $CPPFLAGS'
15686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15688 cross_compiling=$ac_cv_prog_cxx_cross
15689
15690 cat > conftest.$ac_ext <<EOF
15691 #line 15692 "configure"
15692 #include "confdefs.h"
15693 #include <math.h>
15694 int main() {
15695 _fmodl(0, 0);
15696 ; return 0; }
15697 EOF
15698 if { (eval echo configure:15699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15699 rm -rf conftest*
15700 glibcpp_cv_func__fmodl_use=yes
15701 else
15702 echo "configure: failed program was:" >&5
15703 cat conftest.$ac_ext >&5
15704 rm -rf conftest*
15705 glibcpp_cv_func__fmodl_use=no
15706 fi
15707 rm -f conftest*
15708 ac_ext=c
15709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15710 ac_cpp='$CPP $CPPFLAGS'
15711 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15712 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15713 cross_compiling=$ac_cv_prog_cc_cross
15714
15715
15716 fi
15717
15718 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15719 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15720 for ac_func in _fmodl
15721 do
15722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15723 echo "configure:15724: checking for $ac_func" >&5
15724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15725 echo $ac_n "(cached) $ac_c" 1>&6
15726 else
15727 cat > conftest.$ac_ext <<EOF
15728 #line 15729 "configure"
15729 #include "confdefs.h"
15730 /* System header to define __stub macros and hopefully few prototypes,
15731 which can conflict with char $ac_func(); below. */
15732 #include <assert.h>
15733 /* Override any gcc2 internal prototype to avoid an error. */
15734 /* We use char because int might match the return type of a gcc2
15735 builtin and then its argument prototype would still apply. */
15736 char $ac_func();
15737
15738 int main() {
15739
15740 /* The GNU C library defines this for functions which it implements
15741 to always fail with ENOSYS. Some functions are actually named
15742 something starting with __ and the normal name is an alias. */
15743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15744 choke me
15745 #else
15746 $ac_func();
15747 #endif
15748
15749 ; return 0; }
15750 EOF
15751 if { (eval echo configure:15752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15752 rm -rf conftest*
15753 eval "ac_cv_func_$ac_func=yes"
15754 else
15755 echo "configure: failed program was:" >&5
15756 cat conftest.$ac_ext >&5
15757 rm -rf conftest*
15758 eval "ac_cv_func_$ac_func=no"
15759 fi
15760 rm -f conftest*
15761 fi
15762
15763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15764 echo "$ac_t""yes" 1>&6
15765 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15766 cat >> confdefs.h <<EOF
15767 #define $ac_tr_func 1
15768 EOF
15769
15770 else
15771 echo "$ac_t""no" 1>&6
15772 fi
15773 done
15774
15775 fi
15776
15777
15778 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15779 echo "configure:15780: checking for _frexpl declaration" >&5
15780 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15781 echo $ac_n "(cached) $ac_c" 1>&6
15782 else
15783
15784
15785 ac_ext=C
15786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15787 ac_cpp='$CXXCPP $CPPFLAGS'
15788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15790 cross_compiling=$ac_cv_prog_cxx_cross
15791
15792 cat > conftest.$ac_ext <<EOF
15793 #line 15794 "configure"
15794 #include "confdefs.h"
15795 #include <math.h>
15796 int main() {
15797 _frexpl(0, 0);
15798 ; return 0; }
15799 EOF
15800 if { (eval echo configure:15801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15801 rm -rf conftest*
15802 glibcpp_cv_func__frexpl_use=yes
15803 else
15804 echo "configure: failed program was:" >&5
15805 cat conftest.$ac_ext >&5
15806 rm -rf conftest*
15807 glibcpp_cv_func__frexpl_use=no
15808 fi
15809 rm -f conftest*
15810 ac_ext=c
15811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15812 ac_cpp='$CPP $CPPFLAGS'
15813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15815 cross_compiling=$ac_cv_prog_cc_cross
15816
15817
15818 fi
15819
15820 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15821 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15822 for ac_func in _frexpl
15823 do
15824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15825 echo "configure:15826: checking for $ac_func" >&5
15826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15827 echo $ac_n "(cached) $ac_c" 1>&6
15828 else
15829 cat > conftest.$ac_ext <<EOF
15830 #line 15831 "configure"
15831 #include "confdefs.h"
15832 /* System header to define __stub macros and hopefully few prototypes,
15833 which can conflict with char $ac_func(); below. */
15834 #include <assert.h>
15835 /* Override any gcc2 internal prototype to avoid an error. */
15836 /* We use char because int might match the return type of a gcc2
15837 builtin and then its argument prototype would still apply. */
15838 char $ac_func();
15839
15840 int main() {
15841
15842 /* The GNU C library defines this for functions which it implements
15843 to always fail with ENOSYS. Some functions are actually named
15844 something starting with __ and the normal name is an alias. */
15845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15846 choke me
15847 #else
15848 $ac_func();
15849 #endif
15850
15851 ; return 0; }
15852 EOF
15853 if { (eval echo configure:15854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15854 rm -rf conftest*
15855 eval "ac_cv_func_$ac_func=yes"
15856 else
15857 echo "configure: failed program was:" >&5
15858 cat conftest.$ac_ext >&5
15859 rm -rf conftest*
15860 eval "ac_cv_func_$ac_func=no"
15861 fi
15862 rm -f conftest*
15863 fi
15864
15865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15866 echo "$ac_t""yes" 1>&6
15867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15868 cat >> confdefs.h <<EOF
15869 #define $ac_tr_func 1
15870 EOF
15871
15872 else
15873 echo "$ac_t""no" 1>&6
15874 fi
15875 done
15876
15877 fi
15878
15879
15880 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15881 echo "configure:15882: checking for _ldexpl declaration" >&5
15882 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15883 echo $ac_n "(cached) $ac_c" 1>&6
15884 else
15885
15886
15887 ac_ext=C
15888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15889 ac_cpp='$CXXCPP $CPPFLAGS'
15890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15892 cross_compiling=$ac_cv_prog_cxx_cross
15893
15894 cat > conftest.$ac_ext <<EOF
15895 #line 15896 "configure"
15896 #include "confdefs.h"
15897 #include <math.h>
15898 int main() {
15899 _ldexpl(0, 0);
15900 ; return 0; }
15901 EOF
15902 if { (eval echo configure:15903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15903 rm -rf conftest*
15904 glibcpp_cv_func__ldexpl_use=yes
15905 else
15906 echo "configure: failed program was:" >&5
15907 cat conftest.$ac_ext >&5
15908 rm -rf conftest*
15909 glibcpp_cv_func__ldexpl_use=no
15910 fi
15911 rm -f conftest*
15912 ac_ext=c
15913 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15916 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15917 cross_compiling=$ac_cv_prog_cc_cross
15918
15919
15920 fi
15921
15922 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15923 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15924 for ac_func in _ldexpl
15925 do
15926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15927 echo "configure:15928: checking for $ac_func" >&5
15928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15929 echo $ac_n "(cached) $ac_c" 1>&6
15930 else
15931 cat > conftest.$ac_ext <<EOF
15932 #line 15933 "configure"
15933 #include "confdefs.h"
15934 /* System header to define __stub macros and hopefully few prototypes,
15935 which can conflict with char $ac_func(); below. */
15936 #include <assert.h>
15937 /* Override any gcc2 internal prototype to avoid an error. */
15938 /* We use char because int might match the return type of a gcc2
15939 builtin and then its argument prototype would still apply. */
15940 char $ac_func();
15941
15942 int main() {
15943
15944 /* The GNU C library defines this for functions which it implements
15945 to always fail with ENOSYS. Some functions are actually named
15946 something starting with __ and the normal name is an alias. */
15947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15948 choke me
15949 #else
15950 $ac_func();
15951 #endif
15952
15953 ; return 0; }
15954 EOF
15955 if { (eval echo configure:15956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15956 rm -rf conftest*
15957 eval "ac_cv_func_$ac_func=yes"
15958 else
15959 echo "configure: failed program was:" >&5
15960 cat conftest.$ac_ext >&5
15961 rm -rf conftest*
15962 eval "ac_cv_func_$ac_func=no"
15963 fi
15964 rm -f conftest*
15965 fi
15966
15967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15968 echo "$ac_t""yes" 1>&6
15969 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15970 cat >> confdefs.h <<EOF
15971 #define $ac_tr_func 1
15972 EOF
15973
15974 else
15975 echo "$ac_t""no" 1>&6
15976 fi
15977 done
15978
15979 fi
15980
15981
15982 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15983 echo "configure:15984: checking for _logl declaration" >&5
15984 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15985 echo $ac_n "(cached) $ac_c" 1>&6
15986 else
15987
15988
15989 ac_ext=C
15990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15991 ac_cpp='$CXXCPP $CPPFLAGS'
15992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15994 cross_compiling=$ac_cv_prog_cxx_cross
15995
15996 cat > conftest.$ac_ext <<EOF
15997 #line 15998 "configure"
15998 #include "confdefs.h"
15999 #include <math.h>
16000 int main() {
16001 _logl(0);
16002 ; return 0; }
16003 EOF
16004 if { (eval echo configure:16005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16005 rm -rf conftest*
16006 glibcpp_cv_func__logl_use=yes
16007 else
16008 echo "configure: failed program was:" >&5
16009 cat conftest.$ac_ext >&5
16010 rm -rf conftest*
16011 glibcpp_cv_func__logl_use=no
16012 fi
16013 rm -f conftest*
16014 ac_ext=c
16015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16016 ac_cpp='$CPP $CPPFLAGS'
16017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16019 cross_compiling=$ac_cv_prog_cc_cross
16020
16021
16022 fi
16023
16024 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
16025 if test x$glibcpp_cv_func__logl_use = x"yes"; then
16026 for ac_func in _logl
16027 do
16028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16029 echo "configure:16030: checking for $ac_func" >&5
16030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16031 echo $ac_n "(cached) $ac_c" 1>&6
16032 else
16033 cat > conftest.$ac_ext <<EOF
16034 #line 16035 "configure"
16035 #include "confdefs.h"
16036 /* System header to define __stub macros and hopefully few prototypes,
16037 which can conflict with char $ac_func(); below. */
16038 #include <assert.h>
16039 /* Override any gcc2 internal prototype to avoid an error. */
16040 /* We use char because int might match the return type of a gcc2
16041 builtin and then its argument prototype would still apply. */
16042 char $ac_func();
16043
16044 int main() {
16045
16046 /* The GNU C library defines this for functions which it implements
16047 to always fail with ENOSYS. Some functions are actually named
16048 something starting with __ and the normal name is an alias. */
16049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16050 choke me
16051 #else
16052 $ac_func();
16053 #endif
16054
16055 ; return 0; }
16056 EOF
16057 if { (eval echo configure:16058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16058 rm -rf conftest*
16059 eval "ac_cv_func_$ac_func=yes"
16060 else
16061 echo "configure: failed program was:" >&5
16062 cat conftest.$ac_ext >&5
16063 rm -rf conftest*
16064 eval "ac_cv_func_$ac_func=no"
16065 fi
16066 rm -f conftest*
16067 fi
16068
16069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16070 echo "$ac_t""yes" 1>&6
16071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16072 cat >> confdefs.h <<EOF
16073 #define $ac_tr_func 1
16074 EOF
16075
16076 else
16077 echo "$ac_t""no" 1>&6
16078 fi
16079 done
16080
16081 fi
16082
16083
16084 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16085 echo "configure:16086: checking for _log10l declaration" >&5
16086 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16087 echo $ac_n "(cached) $ac_c" 1>&6
16088 else
16089
16090
16091 ac_ext=C
16092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16093 ac_cpp='$CXXCPP $CPPFLAGS'
16094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16096 cross_compiling=$ac_cv_prog_cxx_cross
16097
16098 cat > conftest.$ac_ext <<EOF
16099 #line 16100 "configure"
16100 #include "confdefs.h"
16101 #include <math.h>
16102 int main() {
16103 _log10l(0);
16104 ; return 0; }
16105 EOF
16106 if { (eval echo configure:16107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16107 rm -rf conftest*
16108 glibcpp_cv_func__log10l_use=yes
16109 else
16110 echo "configure: failed program was:" >&5
16111 cat conftest.$ac_ext >&5
16112 rm -rf conftest*
16113 glibcpp_cv_func__log10l_use=no
16114 fi
16115 rm -f conftest*
16116 ac_ext=c
16117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16118 ac_cpp='$CPP $CPPFLAGS'
16119 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16120 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16121 cross_compiling=$ac_cv_prog_cc_cross
16122
16123
16124 fi
16125
16126 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16127 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16128 for ac_func in _log10l
16129 do
16130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16131 echo "configure:16132: checking for $ac_func" >&5
16132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16133 echo $ac_n "(cached) $ac_c" 1>&6
16134 else
16135 cat > conftest.$ac_ext <<EOF
16136 #line 16137 "configure"
16137 #include "confdefs.h"
16138 /* System header to define __stub macros and hopefully few prototypes,
16139 which can conflict with char $ac_func(); below. */
16140 #include <assert.h>
16141 /* Override any gcc2 internal prototype to avoid an error. */
16142 /* We use char because int might match the return type of a gcc2
16143 builtin and then its argument prototype would still apply. */
16144 char $ac_func();
16145
16146 int main() {
16147
16148 /* The GNU C library defines this for functions which it implements
16149 to always fail with ENOSYS. Some functions are actually named
16150 something starting with __ and the normal name is an alias. */
16151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16152 choke me
16153 #else
16154 $ac_func();
16155 #endif
16156
16157 ; return 0; }
16158 EOF
16159 if { (eval echo configure:16160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16160 rm -rf conftest*
16161 eval "ac_cv_func_$ac_func=yes"
16162 else
16163 echo "configure: failed program was:" >&5
16164 cat conftest.$ac_ext >&5
16165 rm -rf conftest*
16166 eval "ac_cv_func_$ac_func=no"
16167 fi
16168 rm -f conftest*
16169 fi
16170
16171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16172 echo "$ac_t""yes" 1>&6
16173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16174 cat >> confdefs.h <<EOF
16175 #define $ac_tr_func 1
16176 EOF
16177
16178 else
16179 echo "$ac_t""no" 1>&6
16180 fi
16181 done
16182
16183 fi
16184
16185
16186 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16187 echo "configure:16188: checking for _modfl declaration" >&5
16188 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16189 echo $ac_n "(cached) $ac_c" 1>&6
16190 else
16191
16192
16193 ac_ext=C
16194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16195 ac_cpp='$CXXCPP $CPPFLAGS'
16196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16198 cross_compiling=$ac_cv_prog_cxx_cross
16199
16200 cat > conftest.$ac_ext <<EOF
16201 #line 16202 "configure"
16202 #include "confdefs.h"
16203 #include <math.h>
16204 int main() {
16205 _modfl(0, 0);
16206 ; return 0; }
16207 EOF
16208 if { (eval echo configure:16209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16209 rm -rf conftest*
16210 glibcpp_cv_func__modfl_use=yes
16211 else
16212 echo "configure: failed program was:" >&5
16213 cat conftest.$ac_ext >&5
16214 rm -rf conftest*
16215 glibcpp_cv_func__modfl_use=no
16216 fi
16217 rm -f conftest*
16218 ac_ext=c
16219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16220 ac_cpp='$CPP $CPPFLAGS'
16221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16223 cross_compiling=$ac_cv_prog_cc_cross
16224
16225
16226 fi
16227
16228 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16229 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16230 for ac_func in _modfl
16231 do
16232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16233 echo "configure:16234: checking for $ac_func" >&5
16234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16235 echo $ac_n "(cached) $ac_c" 1>&6
16236 else
16237 cat > conftest.$ac_ext <<EOF
16238 #line 16239 "configure"
16239 #include "confdefs.h"
16240 /* System header to define __stub macros and hopefully few prototypes,
16241 which can conflict with char $ac_func(); below. */
16242 #include <assert.h>
16243 /* Override any gcc2 internal prototype to avoid an error. */
16244 /* We use char because int might match the return type of a gcc2
16245 builtin and then its argument prototype would still apply. */
16246 char $ac_func();
16247
16248 int main() {
16249
16250 /* The GNU C library defines this for functions which it implements
16251 to always fail with ENOSYS. Some functions are actually named
16252 something starting with __ and the normal name is an alias. */
16253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16254 choke me
16255 #else
16256 $ac_func();
16257 #endif
16258
16259 ; return 0; }
16260 EOF
16261 if { (eval echo configure:16262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16262 rm -rf conftest*
16263 eval "ac_cv_func_$ac_func=yes"
16264 else
16265 echo "configure: failed program was:" >&5
16266 cat conftest.$ac_ext >&5
16267 rm -rf conftest*
16268 eval "ac_cv_func_$ac_func=no"
16269 fi
16270 rm -f conftest*
16271 fi
16272
16273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16274 echo "$ac_t""yes" 1>&6
16275 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16276 cat >> confdefs.h <<EOF
16277 #define $ac_tr_func 1
16278 EOF
16279
16280 else
16281 echo "$ac_t""no" 1>&6
16282 fi
16283 done
16284
16285 fi
16286
16287
16288 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16289 echo "configure:16290: checking for _powl declaration" >&5
16290 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16291 echo $ac_n "(cached) $ac_c" 1>&6
16292 else
16293
16294
16295 ac_ext=C
16296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16297 ac_cpp='$CXXCPP $CPPFLAGS'
16298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16300 cross_compiling=$ac_cv_prog_cxx_cross
16301
16302 cat > conftest.$ac_ext <<EOF
16303 #line 16304 "configure"
16304 #include "confdefs.h"
16305 #include <math.h>
16306 int main() {
16307 _powl(0, 0);
16308 ; return 0; }
16309 EOF
16310 if { (eval echo configure:16311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16311 rm -rf conftest*
16312 glibcpp_cv_func__powl_use=yes
16313 else
16314 echo "configure: failed program was:" >&5
16315 cat conftest.$ac_ext >&5
16316 rm -rf conftest*
16317 glibcpp_cv_func__powl_use=no
16318 fi
16319 rm -f conftest*
16320 ac_ext=c
16321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16322 ac_cpp='$CPP $CPPFLAGS'
16323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16325 cross_compiling=$ac_cv_prog_cc_cross
16326
16327
16328 fi
16329
16330 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16331 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16332 for ac_func in _powl
16333 do
16334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16335 echo "configure:16336: checking for $ac_func" >&5
16336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16337 echo $ac_n "(cached) $ac_c" 1>&6
16338 else
16339 cat > conftest.$ac_ext <<EOF
16340 #line 16341 "configure"
16341 #include "confdefs.h"
16342 /* System header to define __stub macros and hopefully few prototypes,
16343 which can conflict with char $ac_func(); below. */
16344 #include <assert.h>
16345 /* Override any gcc2 internal prototype to avoid an error. */
16346 /* We use char because int might match the return type of a gcc2
16347 builtin and then its argument prototype would still apply. */
16348 char $ac_func();
16349
16350 int main() {
16351
16352 /* The GNU C library defines this for functions which it implements
16353 to always fail with ENOSYS. Some functions are actually named
16354 something starting with __ and the normal name is an alias. */
16355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16356 choke me
16357 #else
16358 $ac_func();
16359 #endif
16360
16361 ; return 0; }
16362 EOF
16363 if { (eval echo configure:16364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16364 rm -rf conftest*
16365 eval "ac_cv_func_$ac_func=yes"
16366 else
16367 echo "configure: failed program was:" >&5
16368 cat conftest.$ac_ext >&5
16369 rm -rf conftest*
16370 eval "ac_cv_func_$ac_func=no"
16371 fi
16372 rm -f conftest*
16373 fi
16374
16375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16376 echo "$ac_t""yes" 1>&6
16377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16378 cat >> confdefs.h <<EOF
16379 #define $ac_tr_func 1
16380 EOF
16381
16382 else
16383 echo "$ac_t""no" 1>&6
16384 fi
16385 done
16386
16387 fi
16388
16389
16390 echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16391 echo "configure:16392: checking for _sinl declaration" >&5
16392 if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16393 echo $ac_n "(cached) $ac_c" 1>&6
16394 else
16395
16396
16397 ac_ext=C
16398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16399 ac_cpp='$CXXCPP $CPPFLAGS'
16400 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16401 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16402 cross_compiling=$ac_cv_prog_cxx_cross
16403
16404 cat > conftest.$ac_ext <<EOF
16405 #line 16406 "configure"
16406 #include "confdefs.h"
16407 #include <math.h>
16408 int main() {
16409 _sinl(0);
16410 ; return 0; }
16411 EOF
16412 if { (eval echo configure:16413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16413 rm -rf conftest*
16414 glibcpp_cv_func__sinl_use=yes
16415 else
16416 echo "configure: failed program was:" >&5
16417 cat conftest.$ac_ext >&5
16418 rm -rf conftest*
16419 glibcpp_cv_func__sinl_use=no
16420 fi
16421 rm -f conftest*
16422 ac_ext=c
16423 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16424 ac_cpp='$CPP $CPPFLAGS'
16425 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16426 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16427 cross_compiling=$ac_cv_prog_cc_cross
16428
16429
16430 fi
16431
16432 echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16433 if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16434 for ac_func in _sinl
16435 do
16436 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16437 echo "configure:16438: checking for $ac_func" >&5
16438 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16439 echo $ac_n "(cached) $ac_c" 1>&6
16440 else
16441 cat > conftest.$ac_ext <<EOF
16442 #line 16443 "configure"
16443 #include "confdefs.h"
16444 /* System header to define __stub macros and hopefully few prototypes,
16445 which can conflict with char $ac_func(); below. */
16446 #include <assert.h>
16447 /* Override any gcc2 internal prototype to avoid an error. */
16448 /* We use char because int might match the return type of a gcc2
16449 builtin and then its argument prototype would still apply. */
16450 char $ac_func();
16451
16452 int main() {
16453
16454 /* The GNU C library defines this for functions which it implements
16455 to always fail with ENOSYS. Some functions are actually named
16456 something starting with __ and the normal name is an alias. */
16457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16458 choke me
16459 #else
16460 $ac_func();
16461 #endif
16462
16463 ; return 0; }
16464 EOF
16465 if { (eval echo configure:16466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16466 rm -rf conftest*
16467 eval "ac_cv_func_$ac_func=yes"
16468 else
16469 echo "configure: failed program was:" >&5
16470 cat conftest.$ac_ext >&5
16471 rm -rf conftest*
16472 eval "ac_cv_func_$ac_func=no"
16473 fi
16474 rm -f conftest*
16475 fi
16476
16477 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16478 echo "$ac_t""yes" 1>&6
16479 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16480 cat >> confdefs.h <<EOF
16481 #define $ac_tr_func 1
16482 EOF
16483
16484 else
16485 echo "$ac_t""no" 1>&6
16486 fi
16487 done
16488
16489 fi
16490
16491
16492 echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16493 echo "configure:16494: checking for _sinhl declaration" >&5
16494 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16495 echo $ac_n "(cached) $ac_c" 1>&6
16496 else
16497
16498
16499 ac_ext=C
16500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16501 ac_cpp='$CXXCPP $CPPFLAGS'
16502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16504 cross_compiling=$ac_cv_prog_cxx_cross
16505
16506 cat > conftest.$ac_ext <<EOF
16507 #line 16508 "configure"
16508 #include "confdefs.h"
16509 #include <math.h>
16510 int main() {
16511 _sinhl(0);
16512 ; return 0; }
16513 EOF
16514 if { (eval echo configure:16515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16515 rm -rf conftest*
16516 glibcpp_cv_func__sinhl_use=yes
16517 else
16518 echo "configure: failed program was:" >&5
16519 cat conftest.$ac_ext >&5
16520 rm -rf conftest*
16521 glibcpp_cv_func__sinhl_use=no
16522 fi
16523 rm -f conftest*
16524 ac_ext=c
16525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16526 ac_cpp='$CPP $CPPFLAGS'
16527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16529 cross_compiling=$ac_cv_prog_cc_cross
16530
16531
16532 fi
16533
16534 echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16535 if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16536 for ac_func in _sinhl
16537 do
16538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16539 echo "configure:16540: checking for $ac_func" >&5
16540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16541 echo $ac_n "(cached) $ac_c" 1>&6
16542 else
16543 cat > conftest.$ac_ext <<EOF
16544 #line 16545 "configure"
16545 #include "confdefs.h"
16546 /* System header to define __stub macros and hopefully few prototypes,
16547 which can conflict with char $ac_func(); below. */
16548 #include <assert.h>
16549 /* Override any gcc2 internal prototype to avoid an error. */
16550 /* We use char because int might match the return type of a gcc2
16551 builtin and then its argument prototype would still apply. */
16552 char $ac_func();
16553
16554 int main() {
16555
16556 /* The GNU C library defines this for functions which it implements
16557 to always fail with ENOSYS. Some functions are actually named
16558 something starting with __ and the normal name is an alias. */
16559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16560 choke me
16561 #else
16562 $ac_func();
16563 #endif
16564
16565 ; return 0; }
16566 EOF
16567 if { (eval echo configure:16568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16568 rm -rf conftest*
16569 eval "ac_cv_func_$ac_func=yes"
16570 else
16571 echo "configure: failed program was:" >&5
16572 cat conftest.$ac_ext >&5
16573 rm -rf conftest*
16574 eval "ac_cv_func_$ac_func=no"
16575 fi
16576 rm -f conftest*
16577 fi
16578
16579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16580 echo "$ac_t""yes" 1>&6
16581 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16582 cat >> confdefs.h <<EOF
16583 #define $ac_tr_func 1
16584 EOF
16585
16586 else
16587 echo "$ac_t""no" 1>&6
16588 fi
16589 done
16590
16591 fi
16592
16593
16594 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16595 echo "configure:16596: checking for _sqrtl declaration" >&5
16596 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16597 echo $ac_n "(cached) $ac_c" 1>&6
16598 else
16599
16600
16601 ac_ext=C
16602 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16603 ac_cpp='$CXXCPP $CPPFLAGS'
16604 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16605 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16606 cross_compiling=$ac_cv_prog_cxx_cross
16607
16608 cat > conftest.$ac_ext <<EOF
16609 #line 16610 "configure"
16610 #include "confdefs.h"
16611 #include <math.h>
16612 int main() {
16613 _sqrtl(0);
16614 ; return 0; }
16615 EOF
16616 if { (eval echo configure:16617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16617 rm -rf conftest*
16618 glibcpp_cv_func__sqrtl_use=yes
16619 else
16620 echo "configure: failed program was:" >&5
16621 cat conftest.$ac_ext >&5
16622 rm -rf conftest*
16623 glibcpp_cv_func__sqrtl_use=no
16624 fi
16625 rm -f conftest*
16626 ac_ext=c
16627 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16628 ac_cpp='$CPP $CPPFLAGS'
16629 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16630 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16631 cross_compiling=$ac_cv_prog_cc_cross
16632
16633
16634 fi
16635
16636 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16637 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16638 for ac_func in _sqrtl
16639 do
16640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16641 echo "configure:16642: checking for $ac_func" >&5
16642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16643 echo $ac_n "(cached) $ac_c" 1>&6
16644 else
16645 cat > conftest.$ac_ext <<EOF
16646 #line 16647 "configure"
16647 #include "confdefs.h"
16648 /* System header to define __stub macros and hopefully few prototypes,
16649 which can conflict with char $ac_func(); below. */
16650 #include <assert.h>
16651 /* Override any gcc2 internal prototype to avoid an error. */
16652 /* We use char because int might match the return type of a gcc2
16653 builtin and then its argument prototype would still apply. */
16654 char $ac_func();
16655
16656 int main() {
16657
16658 /* The GNU C library defines this for functions which it implements
16659 to always fail with ENOSYS. Some functions are actually named
16660 something starting with __ and the normal name is an alias. */
16661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16662 choke me
16663 #else
16664 $ac_func();
16665 #endif
16666
16667 ; return 0; }
16668 EOF
16669 if { (eval echo configure:16670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16670 rm -rf conftest*
16671 eval "ac_cv_func_$ac_func=yes"
16672 else
16673 echo "configure: failed program was:" >&5
16674 cat conftest.$ac_ext >&5
16675 rm -rf conftest*
16676 eval "ac_cv_func_$ac_func=no"
16677 fi
16678 rm -f conftest*
16679 fi
16680
16681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16682 echo "$ac_t""yes" 1>&6
16683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16684 cat >> confdefs.h <<EOF
16685 #define $ac_tr_func 1
16686 EOF
16687
16688 else
16689 echo "$ac_t""no" 1>&6
16690 fi
16691 done
16692
16693 fi
16694
16695
16696 echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16697 echo "configure:16698: checking for _tanl declaration" >&5
16698 if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16699 echo $ac_n "(cached) $ac_c" 1>&6
16700 else
16701
16702
16703 ac_ext=C
16704 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16705 ac_cpp='$CXXCPP $CPPFLAGS'
16706 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16707 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16708 cross_compiling=$ac_cv_prog_cxx_cross
16709
16710 cat > conftest.$ac_ext <<EOF
16711 #line 16712 "configure"
16712 #include "confdefs.h"
16713 #include <math.h>
16714 int main() {
16715 _tanl(0);
16716 ; return 0; }
16717 EOF
16718 if { (eval echo configure:16719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16719 rm -rf conftest*
16720 glibcpp_cv_func__tanl_use=yes
16721 else
16722 echo "configure: failed program was:" >&5
16723 cat conftest.$ac_ext >&5
16724 rm -rf conftest*
16725 glibcpp_cv_func__tanl_use=no
16726 fi
16727 rm -f conftest*
16728 ac_ext=c
16729 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16730 ac_cpp='$CPP $CPPFLAGS'
16731 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16732 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16733 cross_compiling=$ac_cv_prog_cc_cross
16734
16735
16736 fi
16737
16738 echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16739 if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16740 for ac_func in _tanl
16741 do
16742 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16743 echo "configure:16744: checking for $ac_func" >&5
16744 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16745 echo $ac_n "(cached) $ac_c" 1>&6
16746 else
16747 cat > conftest.$ac_ext <<EOF
16748 #line 16749 "configure"
16749 #include "confdefs.h"
16750 /* System header to define __stub macros and hopefully few prototypes,
16751 which can conflict with char $ac_func(); below. */
16752 #include <assert.h>
16753 /* Override any gcc2 internal prototype to avoid an error. */
16754 /* We use char because int might match the return type of a gcc2
16755 builtin and then its argument prototype would still apply. */
16756 char $ac_func();
16757
16758 int main() {
16759
16760 /* The GNU C library defines this for functions which it implements
16761 to always fail with ENOSYS. Some functions are actually named
16762 something starting with __ and the normal name is an alias. */
16763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16764 choke me
16765 #else
16766 $ac_func();
16767 #endif
16768
16769 ; return 0; }
16770 EOF
16771 if { (eval echo configure:16772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16772 rm -rf conftest*
16773 eval "ac_cv_func_$ac_func=yes"
16774 else
16775 echo "configure: failed program was:" >&5
16776 cat conftest.$ac_ext >&5
16777 rm -rf conftest*
16778 eval "ac_cv_func_$ac_func=no"
16779 fi
16780 rm -f conftest*
16781 fi
16782
16783 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16784 echo "$ac_t""yes" 1>&6
16785 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16786 cat >> confdefs.h <<EOF
16787 #define $ac_tr_func 1
16788 EOF
16789
16790 else
16791 echo "$ac_t""no" 1>&6
16792 fi
16793 done
16794
16795 fi
16796
16797
16798 echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16799 echo "configure:16800: checking for _tanhl declaration" >&5
16800 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16801 echo $ac_n "(cached) $ac_c" 1>&6
16802 else
16803
16804
16805 ac_ext=C
16806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16807 ac_cpp='$CXXCPP $CPPFLAGS'
16808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16810 cross_compiling=$ac_cv_prog_cxx_cross
16811
16812 cat > conftest.$ac_ext <<EOF
16813 #line 16814 "configure"
16814 #include "confdefs.h"
16815 #include <math.h>
16816 int main() {
16817 _tanhl(0);
16818 ; return 0; }
16819 EOF
16820 if { (eval echo configure:16821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16821 rm -rf conftest*
16822 glibcpp_cv_func__tanhl_use=yes
16823 else
16824 echo "configure: failed program was:" >&5
16825 cat conftest.$ac_ext >&5
16826 rm -rf conftest*
16827 glibcpp_cv_func__tanhl_use=no
16828 fi
16829 rm -f conftest*
16830 ac_ext=c
16831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16832 ac_cpp='$CPP $CPPFLAGS'
16833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16835 cross_compiling=$ac_cv_prog_cc_cross
16836
16837
16838 fi
16839
16840 echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
16841 if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
16842 for ac_func in _tanhl
16843 do
16844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16845 echo "configure:16846: checking for $ac_func" >&5
16846 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16847 echo $ac_n "(cached) $ac_c" 1>&6
16848 else
16849 cat > conftest.$ac_ext <<EOF
16850 #line 16851 "configure"
16851 #include "confdefs.h"
16852 /* System header to define __stub macros and hopefully few prototypes,
16853 which can conflict with char $ac_func(); below. */
16854 #include <assert.h>
16855 /* Override any gcc2 internal prototype to avoid an error. */
16856 /* We use char because int might match the return type of a gcc2
16857 builtin and then its argument prototype would still apply. */
16858 char $ac_func();
16859
16860 int main() {
16861
16862 /* The GNU C library defines this for functions which it implements
16863 to always fail with ENOSYS. Some functions are actually named
16864 something starting with __ and the normal name is an alias. */
16865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16866 choke me
16867 #else
16868 $ac_func();
16869 #endif
16870
16871 ; return 0; }
16872 EOF
16873 if { (eval echo configure:16874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16874 rm -rf conftest*
16875 eval "ac_cv_func_$ac_func=yes"
16876 else
16877 echo "configure: failed program was:" >&5
16878 cat conftest.$ac_ext >&5
16879 rm -rf conftest*
16880 eval "ac_cv_func_$ac_func=no"
16881 fi
16882 rm -f conftest*
16883 fi
16884
16885 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16886 echo "$ac_t""yes" 1>&6
16887 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16888 cat >> confdefs.h <<EOF
16889 #define $ac_tr_func 1
16890 EOF
16891
16892 else
16893 echo "$ac_t""no" 1>&6
16894 fi
16895 done
16896
16897 fi
16898
16899
16900 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16901 echo "configure:16902: checking for _sincosl declaration" >&5
16902 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16903 echo $ac_n "(cached) $ac_c" 1>&6
16904 else
16905
16906
16907 ac_ext=C
16908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16909 ac_cpp='$CXXCPP $CPPFLAGS'
16910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16912 cross_compiling=$ac_cv_prog_cxx_cross
16913
16914 cat > conftest.$ac_ext <<EOF
16915 #line 16916 "configure"
16916 #include "confdefs.h"
16917 #include <math.h>
16918 int main() {
16919 _sincosl(0, 0, 0);
16920 ; return 0; }
16921 EOF
16922 if { (eval echo configure:16923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16923 rm -rf conftest*
16924 glibcpp_cv_func__sincosl_use=yes
16925 else
16926 echo "configure: failed program was:" >&5
16927 cat conftest.$ac_ext >&5
16928 rm -rf conftest*
16929 glibcpp_cv_func__sincosl_use=no
16930 fi
16931 rm -f conftest*
16932 ac_ext=c
16933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16934 ac_cpp='$CPP $CPPFLAGS'
16935 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16936 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16937 cross_compiling=$ac_cv_prog_cc_cross
16938
16939
16940 fi
16941
16942 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16943 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16944 for ac_func in _sincosl
16945 do
16946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16947 echo "configure:16948: checking for $ac_func" >&5
16948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16949 echo $ac_n "(cached) $ac_c" 1>&6
16950 else
16951 cat > conftest.$ac_ext <<EOF
16952 #line 16953 "configure"
16953 #include "confdefs.h"
16954 /* System header to define __stub macros and hopefully few prototypes,
16955 which can conflict with char $ac_func(); below. */
16956 #include <assert.h>
16957 /* Override any gcc2 internal prototype to avoid an error. */
16958 /* We use char because int might match the return type of a gcc2
16959 builtin and then its argument prototype would still apply. */
16960 char $ac_func();
16961
16962 int main() {
16963
16964 /* The GNU C library defines this for functions which it implements
16965 to always fail with ENOSYS. Some functions are actually named
16966 something starting with __ and the normal name is an alias. */
16967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16968 choke me
16969 #else
16970 $ac_func();
16971 #endif
16972
16973 ; return 0; }
16974 EOF
16975 if { (eval echo configure:16976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16976 rm -rf conftest*
16977 eval "ac_cv_func_$ac_func=yes"
16978 else
16979 echo "configure: failed program was:" >&5
16980 cat conftest.$ac_ext >&5
16981 rm -rf conftest*
16982 eval "ac_cv_func_$ac_func=no"
16983 fi
16984 rm -f conftest*
16985 fi
16986
16987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16988 echo "$ac_t""yes" 1>&6
16989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16990 cat >> confdefs.h <<EOF
16991 #define $ac_tr_func 1
16992 EOF
16993
16994 else
16995 echo "$ac_t""no" 1>&6
16996 fi
16997 done
16998
16999 fi
17000
17001
17002 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
17003 echo "configure:17004: checking for _finitel declaration" >&5
17004 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17005 echo $ac_n "(cached) $ac_c" 1>&6
17006 else
17007
17008
17009 ac_ext=C
17010 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17011 ac_cpp='$CXXCPP $CPPFLAGS'
17012 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17013 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17014 cross_compiling=$ac_cv_prog_cxx_cross
17015
17016 cat > conftest.$ac_ext <<EOF
17017 #line 17018 "configure"
17018 #include "confdefs.h"
17019 #include <math.h>
17020 int main() {
17021 _finitel(0);
17022 ; return 0; }
17023 EOF
17024 if { (eval echo configure:17025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17025 rm -rf conftest*
17026 glibcpp_cv_func__finitel_use=yes
17027 else
17028 echo "configure: failed program was:" >&5
17029 cat conftest.$ac_ext >&5
17030 rm -rf conftest*
17031 glibcpp_cv_func__finitel_use=no
17032 fi
17033 rm -f conftest*
17034 ac_ext=c
17035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17036 ac_cpp='$CPP $CPPFLAGS'
17037 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17038 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17039 cross_compiling=$ac_cv_prog_cc_cross
17040
17041
17042 fi
17043
17044 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17045 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17046 for ac_func in _finitel
17047 do
17048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17049 echo "configure:17050: checking for $ac_func" >&5
17050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17051 echo $ac_n "(cached) $ac_c" 1>&6
17052 else
17053 cat > conftest.$ac_ext <<EOF
17054 #line 17055 "configure"
17055 #include "confdefs.h"
17056 /* System header to define __stub macros and hopefully few prototypes,
17057 which can conflict with char $ac_func(); below. */
17058 #include <assert.h>
17059 /* Override any gcc2 internal prototype to avoid an error. */
17060 /* We use char because int might match the return type of a gcc2
17061 builtin and then its argument prototype would still apply. */
17062 char $ac_func();
17063
17064 int main() {
17065
17066 /* The GNU C library defines this for functions which it implements
17067 to always fail with ENOSYS. Some functions are actually named
17068 something starting with __ and the normal name is an alias. */
17069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17070 choke me
17071 #else
17072 $ac_func();
17073 #endif
17074
17075 ; return 0; }
17076 EOF
17077 if { (eval echo configure:17078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17078 rm -rf conftest*
17079 eval "ac_cv_func_$ac_func=yes"
17080 else
17081 echo "configure: failed program was:" >&5
17082 cat conftest.$ac_ext >&5
17083 rm -rf conftest*
17084 eval "ac_cv_func_$ac_func=no"
17085 fi
17086 rm -f conftest*
17087 fi
17088
17089 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17090 echo "$ac_t""yes" 1>&6
17091 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17092 cat >> confdefs.h <<EOF
17093 #define $ac_tr_func 1
17094 EOF
17095
17096 else
17097 echo "$ac_t""no" 1>&6
17098 fi
17099 done
17100
17101 fi
17102
17103
17104 LIBS="$ac_save_LIBS"
17105 CXXFLAGS="$ac_save_CXXFLAGS"
17106
17107
17108 for ac_hdr in complex.h
17109 do
17110 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17111 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17112 echo "configure:17113: checking for $ac_hdr" >&5
17113 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17114 echo $ac_n "(cached) $ac_c" 1>&6
17115 else
17116 cat > conftest.$ac_ext <<EOF
17117 #line 17118 "configure"
17118 #include "confdefs.h"
17119 #include <$ac_hdr>
17120 EOF
17121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17122 { (eval echo configure:17123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17124 if test -z "$ac_err"; then
17125 rm -rf conftest*
17126 eval "ac_cv_header_$ac_safe=yes"
17127 else
17128 echo "$ac_err" >&5
17129 echo "configure: failed program was:" >&5
17130 cat conftest.$ac_ext >&5
17131 rm -rf conftest*
17132 eval "ac_cv_header_$ac_safe=no"
17133 fi
17134 rm -f conftest*
17135 fi
17136 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17137 echo "$ac_t""yes" 1>&6
17138 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17139 cat >> confdefs.h <<EOF
17140 #define $ac_tr_hdr 1
17141 EOF
17142
17143 else
17144 echo "$ac_t""no" 1>&6
17145 fi
17146 done
17147
17148 for ac_func in ccos ccosf ccosh ccoshf cexp cexpf c_log c_logf \
17149 clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt csqrtf \
17150 ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf copysignf
17151 do
17152 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17153 echo "configure:17154: checking for $ac_func" >&5
17154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17155 echo $ac_n "(cached) $ac_c" 1>&6
17156 else
17157 cat > conftest.$ac_ext <<EOF
17158 #line 17159 "configure"
17159 #include "confdefs.h"
17160 /* System header to define __stub macros and hopefully few prototypes,
17161 which can conflict with char $ac_func(); below. */
17162 #include <assert.h>
17163 /* Override any gcc2 internal prototype to avoid an error. */
17164 /* We use char because int might match the return type of a gcc2
17165 builtin and then its argument prototype would still apply. */
17166 char $ac_func();
17167
17168 int main() {
17169
17170 /* The GNU C library defines this for functions which it implements
17171 to always fail with ENOSYS. Some functions are actually named
17172 something starting with __ and the normal name is an alias. */
17173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17174 choke me
17175 #else
17176 $ac_func();
17177 #endif
17178
17179 ; return 0; }
17180 EOF
17181 if { (eval echo configure:17182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17182 rm -rf conftest*
17183 eval "ac_cv_func_$ac_func=yes"
17184 else
17185 echo "configure: failed program was:" >&5
17186 cat conftest.$ac_ext >&5
17187 rm -rf conftest*
17188 eval "ac_cv_func_$ac_func=no"
17189 fi
17190 rm -f conftest*
17191 fi
17192
17193 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17194 echo "$ac_t""yes" 1>&6
17195 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17196 cat >> confdefs.h <<EOF
17197 #define $ac_tr_func 1
17198 EOF
17199
17200 else
17201 echo "$ac_t""no" 1>&6
17202 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17203 fi
17204 done
17205
17206
17207
17208 USE_COMPLEX_LONG_DOUBLE=no
17209 if test x$ac_cv_func_atan2l = x"yes" \
17210 && test x$ac_cv_func_copysignl = x"yes"; then
17211 USE_COMPLEX_LONG_DOUBLE=yes
17212 for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
17213 csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17214 do
17215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17216 echo "configure:17217: checking for $ac_func" >&5
17217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17218 echo $ac_n "(cached) $ac_c" 1>&6
17219 else
17220 cat > conftest.$ac_ext <<EOF
17221 #line 17222 "configure"
17222 #include "confdefs.h"
17223 /* System header to define __stub macros and hopefully few prototypes,
17224 which can conflict with char $ac_func(); below. */
17225 #include <assert.h>
17226 /* Override any gcc2 internal prototype to avoid an error. */
17227 /* We use char because int might match the return type of a gcc2
17228 builtin and then its argument prototype would still apply. */
17229 char $ac_func();
17230
17231 int main() {
17232
17233 /* The GNU C library defines this for functions which it implements
17234 to always fail with ENOSYS. Some functions are actually named
17235 something starting with __ and the normal name is an alias. */
17236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17237 choke me
17238 #else
17239 $ac_func();
17240 #endif
17241
17242 ; return 0; }
17243 EOF
17244 if { (eval echo configure:17245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17245 rm -rf conftest*
17246 eval "ac_cv_func_$ac_func=yes"
17247 else
17248 echo "configure: failed program was:" >&5
17249 cat conftest.$ac_ext >&5
17250 rm -rf conftest*
17251 eval "ac_cv_func_$ac_func=no"
17252 fi
17253 rm -f conftest*
17254 fi
17255
17256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17257 echo "$ac_t""yes" 1>&6
17258 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17259 cat >> confdefs.h <<EOF
17260 #define $ac_tr_func 1
17261 EOF
17262
17263 else
17264 echo "$ac_t""no" 1>&6
17265 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17266 fi
17267 done
17268
17269
17270 fi
17271
17272
17273
17274
17275
17276
17277 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17278 echo "configure:17279: checking for GNU C++ __complex__ support" >&5
17279 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17280 echo $ac_n "(cached) $ac_c" 1>&6
17281 else
17282
17283
17284 ac_ext=C
17285 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17286 ac_cpp='$CXXCPP $CPPFLAGS'
17287 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17288 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17289 cross_compiling=$ac_cv_prog_cxx_cross
17290
17291 cat > conftest.$ac_ext <<EOF
17292 #line 17293 "configure"
17293 #include "confdefs.h"
17294 struct dcomplex { __complex__ double x; }; \
17295 dcomplex f(const dcomplex& x) { return dcomplex(x); }
17296 int main() {
17297 \
17298 dcomplex x; f(x);
17299 ; return 0; }
17300 EOF
17301 if { (eval echo configure:17302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17302 rm -rf conftest*
17303 glibcpp_cv_complex=ok
17304 else
17305 echo "configure: failed program was:" >&5
17306 cat conftest.$ac_ext >&5
17307 rm -rf conftest*
17308 glibcpp_cv_complex=buggy
17309
17310 fi
17311 rm -f conftest*
17312 ac_ext=c
17313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17314 ac_cpp='$CPP $CPPFLAGS'
17315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17317 cross_compiling=$ac_cv_prog_cc_cross
17318
17319
17320 fi
17321
17322 echo "$ac_t""$glibcpp_cv_complex" 1>&6
17323 if test $glibcpp_cv_complex = buggy; then
17324 cat >> confdefs.h <<\EOF
17325 #define _GLIBCPP_BUGGY_COMPLEX 1
17326 EOF
17327
17328 fi
17329
17330 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17331 echo "configure:17332: checking for GNU C++ __complex__ float support" >&5
17332 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17333 echo $ac_n "(cached) $ac_c" 1>&6
17334 else
17335
17336
17337 ac_ext=C
17338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17339 ac_cpp='$CXXCPP $CPPFLAGS'
17340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17342 cross_compiling=$ac_cv_prog_cxx_cross
17343
17344 rm -f conftest.h
17345 cat > conftest.h <<EOB
17346 //
17347 // Check for buggy __complex__ that causes ICE in most versions of egcs
17348 // and gcc-2.95.x on certain platforms (eg., x86-win32).
17349 //
17350 // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
17351 // more info on the bug itself.
17352 //
17353 struct
17354 float_complex
17355 {
17356 __complex__ float m_value;
17357 float_complex (float = 0.0f, float = 0.0f);
17358 float_complex (__complex__ float val) : m_value (val) {}
17359 float_complex foo (const float_complex &val)
17360 { return float_complex (~val.m_value); }
17361 };
17362 EOB
17363 cat > conftest.$ac_ext <<EOF
17364 #line 17365 "configure"
17365 #include "confdefs.h"
17366 #include "conftest.h"
17367 int main() {
17368
17369 ; return 0; }
17370 EOF
17371 if { (eval echo configure:17372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17372 rm -rf conftest*
17373 glibcpp_cv_float_complex=ok
17374 else
17375 echo "configure: failed program was:" >&5
17376 cat conftest.$ac_ext >&5
17377 rm -rf conftest*
17378 glibcpp_cv_float_complex=buggy
17379
17380 fi
17381 rm -f conftest*
17382 ac_ext=c
17383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17384 ac_cpp='$CPP $CPPFLAGS'
17385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17387 cross_compiling=$ac_cv_prog_cc_cross
17388
17389
17390 fi
17391
17392 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17393 if test $glibcpp_cv_float_complex = buggy; then
17394 cat >> confdefs.h <<\EOF
17395 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17396 EOF
17397
17398 fi
17399
17400 cat > confcache <<\EOF
17401 # This file is a shell script that caches the results of configure
17402 # tests run on this system so they can be shared between configure
17403 # scripts and configure runs. It is not useful on other systems.
17404 # If it contains results you don't want to keep, you may remove or edit it.
17405 #
17406 # By default, configure uses ./config.cache as the cache file,
17407 # creating it if it does not exist already. You can give configure
17408 # the --cache-file=FILE option to use a different cache file; that is
17409 # what configure does when it calls configure scripts in
17410 # subdirectories, so they share the cache.
17411 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17412 # config.status only pays attention to the cache file if you give it the
17413 # --recheck option to rerun configure.
17414 #
17415 EOF
17416 # The following way of writing the cache mishandles newlines in values,
17417 # but we know of no workaround that is simple, portable, and efficient.
17418 # So, don't put newlines in cache variables' values.
17419 # Ultrix sh set writes to stderr and can't be redirected directly,
17420 # and sets the high bit in the cache file unless we assign to the vars.
17421 (set) 2>&1 |
17422 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17423 *ac_space=\ *)
17424 # `set' does not quote correctly, so add quotes (double-quote substitution
17425 # turns \\\\ into \\, and sed turns \\ into \).
17426 sed -n \
17427 -e "s/'/'\\\\''/g" \
17428 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17429 ;;
17430 *)
17431 # `set' quotes correctly as required by POSIX, so do not add quotes.
17432 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17433 ;;
17434 esac >> confcache
17435 if cmp -s $cache_file confcache; then
17436 :
17437 else
17438 if test -w $cache_file; then
17439 echo "updating cache $cache_file"
17440 cat confcache > $cache_file
17441 else
17442 echo "not updating unwritable cache $cache_file"
17443 fi
17444 fi
17445 rm -f confcache
17446
17447
17448
17449 ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17450 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17451 echo "configure:17452: checking for wchar.h" >&5
17452 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17453 echo $ac_n "(cached) $ac_c" 1>&6
17454 else
17455 cat > conftest.$ac_ext <<EOF
17456 #line 17457 "configure"
17457 #include "confdefs.h"
17458 #include <wchar.h>
17459 EOF
17460 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17461 { (eval echo configure:17462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17462 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17463 if test -z "$ac_err"; then
17464 rm -rf conftest*
17465 eval "ac_cv_header_$ac_safe=yes"
17466 else
17467 echo "$ac_err" >&5
17468 echo "configure: failed program was:" >&5
17469 cat conftest.$ac_ext >&5
17470 rm -rf conftest*
17471 eval "ac_cv_header_$ac_safe=no"
17472 fi
17473 rm -f conftest*
17474 fi
17475 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17476 echo "$ac_t""yes" 1>&6
17477 ac_has_wchar_h=yes
17478 else
17479 echo "$ac_t""no" 1>&6
17480 ac_has_wchar_h=no
17481 fi
17482
17483 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17484 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17485 echo "configure:17486: checking for wctype.h" >&5
17486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17487 echo $ac_n "(cached) $ac_c" 1>&6
17488 else
17489 cat > conftest.$ac_ext <<EOF
17490 #line 17491 "configure"
17491 #include "confdefs.h"
17492 #include <wctype.h>
17493 EOF
17494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17495 { (eval echo configure:17496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17497 if test -z "$ac_err"; then
17498 rm -rf conftest*
17499 eval "ac_cv_header_$ac_safe=yes"
17500 else
17501 echo "$ac_err" >&5
17502 echo "configure: failed program was:" >&5
17503 cat conftest.$ac_ext >&5
17504 rm -rf conftest*
17505 eval "ac_cv_header_$ac_safe=no"
17506 fi
17507 rm -f conftest*
17508 fi
17509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17510 echo "$ac_t""yes" 1>&6
17511 ac_has_wctype_h=yes
17512 else
17513 echo "$ac_t""no" 1>&6
17514 ac_has_wctype_h=no
17515 fi
17516
17517
17518 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17519
17520 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17521 echo "configure:17522: checking for mbstate_t" >&5
17522 cat > conftest.$ac_ext <<EOF
17523 #line 17524 "configure"
17524 #include "confdefs.h"
17525 #include <wchar.h>
17526 int main() {
17527 mbstate_t teststate;
17528 ; return 0; }
17529 EOF
17530 if { (eval echo configure:17531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17531 rm -rf conftest*
17532 use_native_mbstatet=yes
17533 else
17534 echo "configure: failed program was:" >&5
17535 cat conftest.$ac_ext >&5
17536 rm -rf conftest*
17537 use_native_mbstatet=no
17538 fi
17539 rm -f conftest*
17540 echo "$ac_t""$use_native_mbstatet" 1>&6
17541 if test x"$use_native_mbstatet" = xno; then
17542 cat >> confdefs.h <<\EOF
17543 #define _GLIBCPP_NEED_MBSTATE_T 1
17544 EOF
17545
17546 fi
17547
17548 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17549 echo "configure:17550: checking for WCHAR_MIN and WCHAR_MAX" >&5
17550 cat > conftest.$ac_ext <<EOF
17551 #line 17552 "configure"
17552 #include "confdefs.h"
17553 #include <wchar.h>
17554 int main() {
17555 int i = WCHAR_MIN; int j = WCHAR_MAX;
17556 ; return 0; }
17557 EOF
17558 if { (eval echo configure:17559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17559 rm -rf conftest*
17560 has_wchar_minmax=yes
17561 else
17562 echo "configure: failed program was:" >&5
17563 cat conftest.$ac_ext >&5
17564 rm -rf conftest*
17565 has_wchar_minmax=no
17566 fi
17567 rm -f conftest*
17568 echo "$ac_t""$has_wchar_minmax" 1>&6
17569
17570 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17571 echo "configure:17572: checking for WEOF" >&5
17572 cat > conftest.$ac_ext <<EOF
17573 #line 17574 "configure"
17574 #include "confdefs.h"
17575
17576 #include <wchar.h>
17577 #include <stddef.h>
17578 int main() {
17579 wint_t i = WEOF;
17580 ; return 0; }
17581 EOF
17582 if { (eval echo configure:17583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17583 rm -rf conftest*
17584 has_weof=yes
17585 else
17586 echo "configure: failed program was:" >&5
17587 cat conftest.$ac_ext >&5
17588 rm -rf conftest*
17589 has_weof=no
17590 fi
17591 rm -f conftest*
17592 echo "$ac_t""$has_weof" 1>&6
17593
17594 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
17595 wcsrtombs mbsrtowcs
17596 do
17597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17598 echo "configure:17599: checking for $ac_func" >&5
17599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17600 echo $ac_n "(cached) $ac_c" 1>&6
17601 else
17602 cat > conftest.$ac_ext <<EOF
17603 #line 17604 "configure"
17604 #include "confdefs.h"
17605 /* System header to define __stub macros and hopefully few prototypes,
17606 which can conflict with char $ac_func(); below. */
17607 #include <assert.h>
17608 /* Override any gcc2 internal prototype to avoid an error. */
17609 /* We use char because int might match the return type of a gcc2
17610 builtin and then its argument prototype would still apply. */
17611 char $ac_func();
17612
17613 int main() {
17614
17615 /* The GNU C library defines this for functions which it implements
17616 to always fail with ENOSYS. Some functions are actually named
17617 something starting with __ and the normal name is an alias. */
17618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17619 choke me
17620 #else
17621 $ac_func();
17622 #endif
17623
17624 ; return 0; }
17625 EOF
17626 if { (eval echo configure:17627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17627 rm -rf conftest*
17628 eval "ac_cv_func_$ac_func=yes"
17629 else
17630 echo "configure: failed program was:" >&5
17631 cat conftest.$ac_ext >&5
17632 rm -rf conftest*
17633 eval "ac_cv_func_$ac_func=no"
17634 fi
17635 rm -f conftest*
17636 fi
17637
17638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17639 echo "$ac_t""yes" 1>&6
17640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17641 cat >> confdefs.h <<EOF
17642 #define $ac_tr_func 1
17643 EOF
17644 ac_wfuncs=yes
17645 else
17646 echo "$ac_t""no" 1>&6
17647 ac_wfuncs=no
17648 fi
17649 done
17650
17651
17652 echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6
17653 echo "configure:17654: checking for ISO C9X wchar_t support" >&5
17654 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
17655 && test x"$ac_wfuncs" = xyes; then
17656 ac_isoC9X_wchar_t=yes
17657 else
17658 ac_isoC9X_wchar_t=no
17659 fi
17660 echo "$ac_t""$ac_isoC9X_wchar_t" 1>&6
17661
17662 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17663 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17664 echo "configure:17665: checking for iconv.h" >&5
17665 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17666 echo $ac_n "(cached) $ac_c" 1>&6
17667 else
17668 cat > conftest.$ac_ext <<EOF
17669 #line 17670 "configure"
17670 #include "confdefs.h"
17671 #include <iconv.h>
17672 EOF
17673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17674 { (eval echo configure:17675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17676 if test -z "$ac_err"; then
17677 rm -rf conftest*
17678 eval "ac_cv_header_$ac_safe=yes"
17679 else
17680 echo "$ac_err" >&5
17681 echo "configure: failed program was:" >&5
17682 cat conftest.$ac_ext >&5
17683 rm -rf conftest*
17684 eval "ac_cv_header_$ac_safe=no"
17685 fi
17686 rm -f conftest*
17687 fi
17688 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17689 echo "$ac_t""yes" 1>&6
17690 ac_has_iconv_h=yes
17691 else
17692 echo "$ac_t""no" 1>&6
17693 ac_has_iconv_h=no
17694 fi
17695
17696 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17697 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17698 echo "configure:17699: checking for langinfo.h" >&5
17699 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17700 echo $ac_n "(cached) $ac_c" 1>&6
17701 else
17702 cat > conftest.$ac_ext <<EOF
17703 #line 17704 "configure"
17704 #include "confdefs.h"
17705 #include <langinfo.h>
17706 EOF
17707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17708 { (eval echo configure:17709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17710 if test -z "$ac_err"; then
17711 rm -rf conftest*
17712 eval "ac_cv_header_$ac_safe=yes"
17713 else
17714 echo "$ac_err" >&5
17715 echo "configure: failed program was:" >&5
17716 cat conftest.$ac_ext >&5
17717 rm -rf conftest*
17718 eval "ac_cv_header_$ac_safe=no"
17719 fi
17720 rm -f conftest*
17721 fi
17722 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17723 echo "$ac_t""yes" 1>&6
17724 ac_has_langinfo_h=yes
17725 else
17726 echo "$ac_t""no" 1>&6
17727 ac_has_langinfo_h=no
17728 fi
17729
17730 for ac_func in iconv_open iconv_close iconv nl_langinfo
17731 do
17732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17733 echo "configure:17734: checking for $ac_func" >&5
17734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17735 echo $ac_n "(cached) $ac_c" 1>&6
17736 else
17737 cat > conftest.$ac_ext <<EOF
17738 #line 17739 "configure"
17739 #include "confdefs.h"
17740 /* System header to define __stub macros and hopefully few prototypes,
17741 which can conflict with char $ac_func(); below. */
17742 #include <assert.h>
17743 /* Override any gcc2 internal prototype to avoid an error. */
17744 /* We use char because int might match the return type of a gcc2
17745 builtin and then its argument prototype would still apply. */
17746 char $ac_func();
17747
17748 int main() {
17749
17750 /* The GNU C library defines this for functions which it implements
17751 to always fail with ENOSYS. Some functions are actually named
17752 something starting with __ and the normal name is an alias. */
17753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17754 choke me
17755 #else
17756 $ac_func();
17757 #endif
17758
17759 ; return 0; }
17760 EOF
17761 if { (eval echo configure:17762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17762 rm -rf conftest*
17763 eval "ac_cv_func_$ac_func=yes"
17764 else
17765 echo "configure: failed program was:" >&5
17766 cat conftest.$ac_ext >&5
17767 rm -rf conftest*
17768 eval "ac_cv_func_$ac_func=no"
17769 fi
17770 rm -f conftest*
17771 fi
17772
17773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17774 echo "$ac_t""yes" 1>&6
17775 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17776 cat >> confdefs.h <<EOF
17777 #define $ac_tr_func 1
17778 EOF
17779 \
17780 ac_XPG2funcs=yes
17781 else
17782 echo "$ac_t""no" 1>&6
17783 ac_XPG2funcs=no
17784 fi
17785 done
17786
17787
17788 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17789 echo "configure:17790: checking for XPG2 wchar_t support" >&5
17790 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
17791 && test x"$ac_XPG2funcs" = xyes; then
17792 ac_XPG2_wchar_t=yes
17793 else
17794 ac_XPG2_wchar_t=no
17795 fi
17796 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17797
17798 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17799 echo "configure:17800: checking for enabled wchar_t specializations" >&5
17800 if test x"$ac_isoC9X_wchar_t" = xyes \
17801 && test x"$ac_XPG2_wchar_t" = xyes; then
17802 libinst_wstring_la="libinst-wstring.la"
17803 cat >> confdefs.h <<\EOF
17804 #define _GLIBCPP_USE_WCHAR_T 1
17805 EOF
17806
17807 echo "$ac_t"""yes"" 1>&6
17808 else
17809 libinst_wstring_la=""
17810 echo "$ac_t"""no"" 1>&6
17811 fi
17812
17813
17814 else
17815 echo "configure: warning: <wchar.h> not found" 1>&2
17816 cat >> confdefs.h <<\EOF
17817 #define _GLIBCPP_NEED_MBSTATE_T 1
17818 EOF
17819
17820 fi
17821
17822
17823 ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17824 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17825 echo "configure:17826: checking for ctype.h" >&5
17826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17827 echo $ac_n "(cached) $ac_c" 1>&6
17828 else
17829 cat > conftest.$ac_ext <<EOF
17830 #line 17831 "configure"
17831 #include "confdefs.h"
17832 #include <ctype.h>
17833 EOF
17834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17835 { (eval echo configure:17836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17836 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17837 if test -z "$ac_err"; then
17838 rm -rf conftest*
17839 eval "ac_cv_header_$ac_safe=yes"
17840 else
17841 echo "$ac_err" >&5
17842 echo "configure: failed program was:" >&5
17843 cat conftest.$ac_ext >&5
17844 rm -rf conftest*
17845 eval "ac_cv_header_$ac_safe=no"
17846 fi
17847 rm -f conftest*
17848 fi
17849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17850 echo "$ac_t""yes" 1>&6
17851
17852
17853 ctype_default=yes
17854
17855 echo $ac_n "checking <ctype> for GNU/Linux""... $ac_c" 1>&6
17856 echo "configure:17857: checking <ctype> for GNU/Linux" >&5
17857 cat > conftest.$ac_ext <<EOF
17858 #line 17859 "configure"
17859 #include "confdefs.h"
17860 #include <ctype.h>
17861 int main() {
17862 int
17863 foo (int a)
17864 { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
17865 + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
17866 + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
17867 ; return 0; }
17868 EOF
17869 if { (eval echo configure:17870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17870 rm -rf conftest*
17871 \
17872 ctype_linux=yes
17873 else
17874 echo "configure: failed program was:" >&5
17875 cat conftest.$ac_ext >&5
17876 rm -rf conftest*
17877 ctype_linux=no
17878 fi
17879 rm -f conftest*
17880 echo "$ac_t""$ctype_linux" 1>&6
17881 if test $ctype_linux = "yes"; then
17882 ctype_include_dir="config/os/gnu-linux"
17883 ctype_default=no
17884 fi
17885
17886 if test $ctype_default = "yes"; then
17887 echo $ac_n "checking <ctype> for FreeBSD 4.0""... $ac_c" 1>&6
17888 echo "configure:17889: checking <ctype> for FreeBSD 4.0" >&5
17889 cat > conftest.$ac_ext <<EOF
17890 #line 17891 "configure"
17891 #include "confdefs.h"
17892 #include <ctype.h>
17893 int main() {
17894 int
17895 foo (int a)
17896 { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
17897 + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
17898 ; return 0; }
17899 EOF
17900 if { (eval echo configure:17901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17901 rm -rf conftest*
17902 \
17903 ctype_bsd=yes
17904 else
17905 echo "configure: failed program was:" >&5
17906 cat conftest.$ac_ext >&5
17907 rm -rf conftest*
17908 ctype_bsd=no
17909 fi
17910 rm -f conftest*
17911 echo "$ac_t""$ctype_bsd" 1>&6
17912 if test $ctype_bsd = "yes"; then
17913 ctype_include_dir="config/os/bsd"
17914 ctype_default=no
17915 fi
17916 fi
17917
17918 if test $ctype_default = "yes"; then
17919 echo $ac_n "checking <ctype> for FreeBSD 3.4""... $ac_c" 1>&6
17920 echo "configure:17921: checking <ctype> for FreeBSD 3.4" >&5
17921 cat > conftest.$ac_ext <<EOF
17922 #line 17923 "configure"
17923 #include "confdefs.h"
17924 #include <ctype.h>
17925 int main() {
17926 int
17927 foo (int a)
17928 { return _S + _R + _C + _U + _L + _A \
17929 + _D + _P + _X + _G + __istype (a, 0);}
17930 ; return 0; }
17931 EOF
17932 if { (eval echo configure:17933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17933 rm -rf conftest*
17934 \
17935 ctype_freebsd34=yes
17936 else
17937 echo "configure: failed program was:" >&5
17938 cat conftest.$ac_ext >&5
17939 rm -rf conftest*
17940 ctype_freebsd34=no
17941 fi
17942 rm -f conftest*
17943 echo "$ac_t""$ctype_freebsd34" 1>&6
17944 if test $ctype_freebsd34 = "yes"; then
17945 ctype_include_dir="config/os/bsd"
17946 ctype_default=no
17947 fi
17948 fi
17949
17950 if test $ctype_default = "yes"; then
17951 echo $ac_n "checking <ctype> for Solaris 2.6,7,8""... $ac_c" 1>&6
17952 echo "configure:17953: checking <ctype> for Solaris 2.6,7,8" >&5
17953 cat > conftest.$ac_ext <<EOF
17954 #line 17955 "configure"
17955 #include "confdefs.h"
17956 #include <ctype.h>
17957 int main() {
17958 int
17959 foo (int a)
17960 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17961 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17962 + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
17963 ; return 0; }
17964 EOF
17965 if { (eval echo configure:17966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17966 rm -rf conftest*
17967 \
17968 ctype_solaris=yes
17969 else
17970 echo "configure: failed program was:" >&5
17971 cat conftest.$ac_ext >&5
17972 rm -rf conftest*
17973 ctype_solaris=no
17974 fi
17975 rm -f conftest*
17976 echo "$ac_t""$ctype_solaris" 1>&6
17977
17978 if test $ctype_solaris = "yes"; then
17979 echo $ac_n "checking for version""... $ac_c" 1>&6
17980 echo "configure:17981: checking for version" >&5
17981 ac_ext=C
17982 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17983 ac_cpp='$CXXCPP $CPPFLAGS'
17984 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17985 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17986 cross_compiling=$ac_cv_prog_cxx_cross
17987
17988 cat > conftest.$ac_ext <<EOF
17989 #line 17990 "configure"
17990 #include "confdefs.h"
17991 #include <ctype.h>
17992 int main() {
17993 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
17994 ; return 0; }
17995 EOF
17996 if { (eval echo configure:17997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17997 rm -rf conftest*
17998 \
17999 ctype_solaris26=yes
18000 else
18001 echo "configure: failed program was:" >&5
18002 cat conftest.$ac_ext >&5
18003 rm -rf conftest*
18004 ctype_solaris26=no
18005 fi
18006 rm -f conftest*
18007 ac_ext=c
18008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18009 ac_cpp='$CPP $CPPFLAGS'
18010 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18011 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18012 cross_compiling=$ac_cv_prog_cc_cross
18013
18014 if test $ctype_solaris26 = "yes"; then
18015 ctype_include_dir="config/os/solaris/solaris2.6"
18016 echo "$ac_t""Solaris 2.6" 1>&6
18017 ctype_default=no
18018 else
18019 ctype_include_dir="config/os/solaris/solaris2.7"
18020 echo "$ac_t""Solaris 7,8" 1>&6
18021 ctype_default=no
18022 fi
18023 fi
18024 fi
18025
18026 if test $ctype_default = "yes"; then
18027 echo $ac_n "checking <ctype> for Solaris 2.5.1""... $ac_c" 1>&6
18028 echo "configure:18029: checking <ctype> for Solaris 2.5.1" >&5
18029 cat > conftest.$ac_ext <<EOF
18030 #line 18031 "configure"
18031 #include "confdefs.h"
18032 #include <ctype.h>
18033 int main() {
18034 int
18035 foo (int a)
18036 { return _U + _L + _N + _S + _P + _C + _X + _B \
18037 + __ctype[a];}
18038 ; return 0; }
18039 EOF
18040 if { (eval echo configure:18041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18041 rm -rf conftest*
18042 \
18043 ctype_solaris25=yes
18044 else
18045 echo "configure: failed program was:" >&5
18046 cat conftest.$ac_ext >&5
18047 rm -rf conftest*
18048 ctype_solaris25=no
18049 fi
18050 rm -f conftest*
18051 echo "$ac_t""$ctype_solaris25" 1>&6
18052 if test $ctype_solaris25 = "yes"; then
18053 ctype_include_dir="config/os/solaris/solaris2.5"
18054 ctype_default=no
18055 fi
18056 fi
18057
18058 if test $ctype_default = "yes"; then
18059 echo $ac_n "checking <ctype> for AIX""... $ac_c" 1>&6
18060 echo "configure:18061: checking <ctype> for AIX" >&5
18061 cat > conftest.$ac_ext <<EOF
18062 #line 18063 "configure"
18063 #include "confdefs.h"
18064 #include <ctype.h>
18065 int main() {
18066 int
18067 foo (int a)
18068 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
18069 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
18070 + _VALC('a') + _IS('c', 0);}
18071 ; return 0; }
18072 EOF
18073 if { (eval echo configure:18074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18074 rm -rf conftest*
18075 \
18076 ctype_aix=yes
18077 else
18078 echo "configure: failed program was:" >&5
18079 cat conftest.$ac_ext >&5
18080 rm -rf conftest*
18081 ctype_aix=no
18082 fi
18083 rm -f conftest*
18084 echo "$ac_t""$ctype_aix" 1>&6
18085 if test $ctype_aix = "yes"; then
18086 ctype_include_dir="config/os/aix"
18087 ctype_default=no
18088 fi
18089 fi
18090
18091 if test $ctype_default = "yes"; then
18092 echo $ac_n "checking <ctype> for newlib""... $ac_c" 1>&6
18093 echo "configure:18094: checking <ctype> for newlib" >&5
18094 cat > conftest.$ac_ext <<EOF
18095 #line 18096 "configure"
18096 #include "confdefs.h"
18097 #include <ctype.h>
18098 int main() {
18099 int
18100 foo (int a)
18101 { return _U + _L + _N + _S + _P + _C + _X + _B \
18102 + _ctype_[a];}
18103 ; return 0; }
18104 EOF
18105 if { (eval echo configure:18106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18106 rm -rf conftest*
18107 \
18108 ctype_newlib=yes
18109 else
18110 echo "configure: failed program was:" >&5
18111 cat conftest.$ac_ext >&5
18112 rm -rf conftest*
18113 ctype_newlib=no
18114 fi
18115 rm -f conftest*
18116 echo "$ac_t""$ctype_newlib" 1>&6
18117 if test $ctype_newlib = "yes"; then
18118 ctype_include_dir="config/newlib"
18119 ctype_default=no
18120 fi
18121 fi
18122
18123 if test $ctype_default = "yes"; then
18124 ctype_include_dir="config/os/generic"
18125 echo "configure: warning: "Using default ctype headers."" 1>&2
18126 fi
18127
18128
18129
18130
18131
18132 else
18133 echo "$ac_t""no" 1>&6
18134 fi
18135
18136
18137
18138 for ac_hdr in unistd.h
18139 do
18140 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18141 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18142 echo "configure:18143: checking for $ac_hdr" >&5
18143 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18144 echo $ac_n "(cached) $ac_c" 1>&6
18145 else
18146 cat > conftest.$ac_ext <<EOF
18147 #line 18148 "configure"
18148 #include "confdefs.h"
18149 #include <$ac_hdr>
18150 EOF
18151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18152 { (eval echo configure:18153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18154 if test -z "$ac_err"; then
18155 rm -rf conftest*
18156 eval "ac_cv_header_$ac_safe=yes"
18157 else
18158 echo "$ac_err" >&5
18159 echo "configure: failed program was:" >&5
18160 cat conftest.$ac_ext >&5
18161 rm -rf conftest*
18162 eval "ac_cv_header_$ac_safe=no"
18163 fi
18164 rm -f conftest*
18165 fi
18166 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18167 echo "$ac_t""yes" 1>&6
18168 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18169 cat >> confdefs.h <<EOF
18170 #define $ac_tr_hdr 1
18171 EOF
18172
18173 else
18174 echo "$ac_t""no" 1>&6
18175 fi
18176 done
18177
18178 for ac_func in getpagesize
18179 do
18180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18181 echo "configure:18182: checking for $ac_func" >&5
18182 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18183 echo $ac_n "(cached) $ac_c" 1>&6
18184 else
18185 cat > conftest.$ac_ext <<EOF
18186 #line 18187 "configure"
18187 #include "confdefs.h"
18188 /* System header to define __stub macros and hopefully few prototypes,
18189 which can conflict with char $ac_func(); below. */
18190 #include <assert.h>
18191 /* Override any gcc2 internal prototype to avoid an error. */
18192 /* We use char because int might match the return type of a gcc2
18193 builtin and then its argument prototype would still apply. */
18194 char $ac_func();
18195
18196 int main() {
18197
18198 /* The GNU C library defines this for functions which it implements
18199 to always fail with ENOSYS. Some functions are actually named
18200 something starting with __ and the normal name is an alias. */
18201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18202 choke me
18203 #else
18204 $ac_func();
18205 #endif
18206
18207 ; return 0; }
18208 EOF
18209 if { (eval echo configure:18210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18210 rm -rf conftest*
18211 eval "ac_cv_func_$ac_func=yes"
18212 else
18213 echo "configure: failed program was:" >&5
18214 cat conftest.$ac_ext >&5
18215 rm -rf conftest*
18216 eval "ac_cv_func_$ac_func=no"
18217 fi
18218 rm -f conftest*
18219 fi
18220
18221 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18222 echo "$ac_t""yes" 1>&6
18223 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18224 cat >> confdefs.h <<EOF
18225 #define $ac_tr_func 1
18226 EOF
18227
18228 else
18229 echo "$ac_t""no" 1>&6
18230 fi
18231 done
18232
18233 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18234 echo "configure:18235: checking for working mmap" >&5
18235 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18236 echo $ac_n "(cached) $ac_c" 1>&6
18237 else
18238 if test "$cross_compiling" = yes; then
18239 ac_cv_func_mmap_fixed_mapped=no
18240 else
18241 cat > conftest.$ac_ext <<EOF
18242 #line 18243 "configure"
18243 #include "confdefs.h"
18244
18245 /* Thanks to Mike Haertel and Jim Avera for this test.
18246 Here is a matrix of mmap possibilities:
18247 mmap private not fixed
18248 mmap private fixed at somewhere currently unmapped
18249 mmap private fixed at somewhere already mapped
18250 mmap shared not fixed
18251 mmap shared fixed at somewhere currently unmapped
18252 mmap shared fixed at somewhere already mapped
18253 For private mappings, we should verify that changes cannot be read()
18254 back from the file, nor mmap's back from the file at a different
18255 address. (There have been systems where private was not correctly
18256 implemented like the infamous i386 svr4.0, and systems where the
18257 VM page cache was not coherent with the filesystem buffer cache
18258 like early versions of FreeBSD and possibly contemporary NetBSD.)
18259 For shared mappings, we should conversely verify that changes get
18260 propogated back to all the places they're supposed to be.
18261
18262 Grep wants private fixed already mapped.
18263 The main things grep needs to know about mmap are:
18264 * does it exist and is it safe to write into the mmap'd area
18265 * how to use it (BSD variants) */
18266 #include <sys/types.h>
18267 #include <fcntl.h>
18268 #include <sys/mman.h>
18269
18270 /* This mess was copied from the GNU getpagesize.h. */
18271 #ifndef HAVE_GETPAGESIZE
18272 # ifdef HAVE_UNISTD_H
18273 # include <unistd.h>
18274 # endif
18275
18276 /* Assume that all systems that can run configure have sys/param.h. */
18277 # ifndef HAVE_SYS_PARAM_H
18278 # define HAVE_SYS_PARAM_H 1
18279 # endif
18280
18281 # ifdef _SC_PAGESIZE
18282 # define getpagesize() sysconf(_SC_PAGESIZE)
18283 # else /* no _SC_PAGESIZE */
18284 # ifdef HAVE_SYS_PARAM_H
18285 # include <sys/param.h>
18286 # ifdef EXEC_PAGESIZE
18287 # define getpagesize() EXEC_PAGESIZE
18288 # else /* no EXEC_PAGESIZE */
18289 # ifdef NBPG
18290 # define getpagesize() NBPG * CLSIZE
18291 # ifndef CLSIZE
18292 # define CLSIZE 1
18293 # endif /* no CLSIZE */
18294 # else /* no NBPG */
18295 # ifdef NBPC
18296 # define getpagesize() NBPC
18297 # else /* no NBPC */
18298 # ifdef PAGESIZE
18299 # define getpagesize() PAGESIZE
18300 # endif /* PAGESIZE */
18301 # endif /* no NBPC */
18302 # endif /* no NBPG */
18303 # endif /* no EXEC_PAGESIZE */
18304 # else /* no HAVE_SYS_PARAM_H */
18305 # define getpagesize() 8192 /* punt totally */
18306 # endif /* no HAVE_SYS_PARAM_H */
18307 # endif /* no _SC_PAGESIZE */
18308
18309 #endif /* no HAVE_GETPAGESIZE */
18310
18311 #ifdef __cplusplus
18312 extern "C" { void *malloc(unsigned); }
18313 #else
18314 char *malloc();
18315 #endif
18316
18317 int
18318 main()
18319 {
18320 char *data, *data2, *data3;
18321 int i, pagesize;
18322 int fd;
18323
18324 pagesize = getpagesize();
18325
18326 /*
18327 * First, make a file with some known garbage in it.
18328 */
18329 data = malloc(pagesize);
18330 if (!data)
18331 exit(1);
18332 for (i = 0; i < pagesize; ++i)
18333 *(data + i) = rand();
18334 umask(0);
18335 fd = creat("conftestmmap", 0600);
18336 if (fd < 0)
18337 exit(1);
18338 if (write(fd, data, pagesize) != pagesize)
18339 exit(1);
18340 close(fd);
18341
18342 /*
18343 * Next, try to mmap the file at a fixed address which
18344 * already has something else allocated at it. If we can,
18345 * also make sure that we see the same garbage.
18346 */
18347 fd = open("conftestmmap", O_RDWR);
18348 if (fd < 0)
18349 exit(1);
18350 data2 = malloc(2 * pagesize);
18351 if (!data2)
18352 exit(1);
18353 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18354 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18355 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18356 exit(1);
18357 for (i = 0; i < pagesize; ++i)
18358 if (*(data + i) != *(data2 + i))
18359 exit(1);
18360
18361 /*
18362 * Finally, make sure that changes to the mapped area
18363 * do not percolate back to the file as seen by read().
18364 * (This is a bug on some variants of i386 svr4.0.)
18365 */
18366 for (i = 0; i < pagesize; ++i)
18367 *(data2 + i) = *(data2 + i) + 1;
18368 data3 = malloc(pagesize);
18369 if (!data3)
18370 exit(1);
18371 if (read(fd, data3, pagesize) != pagesize)
18372 exit(1);
18373 for (i = 0; i < pagesize; ++i)
18374 if (*(data + i) != *(data3 + i))
18375 exit(1);
18376 close(fd);
18377 unlink("conftestmmap");
18378 exit(0);
18379 }
18380
18381 EOF
18382 if { (eval echo configure:18383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18383 then
18384 ac_cv_func_mmap_fixed_mapped=yes
18385 else
18386 echo "configure: failed program was:" >&5
18387 cat conftest.$ac_ext >&5
18388 rm -fr conftest*
18389 ac_cv_func_mmap_fixed_mapped=no
18390 fi
18391 rm -fr conftest*
18392 fi
18393
18394 fi
18395
18396 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18397 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18398 cat >> confdefs.h <<\EOF
18399 #define HAVE_MMAP 1
18400 EOF
18401
18402 fi
18403
18404 fi
18405
18406
18407
18408 if test "$CANADIAN" = yes; then
18409 CANADIAN_TRUE=
18410 CANADIAN_FALSE='#'
18411 else
18412 CANADIAN_TRUE='#'
18413 CANADIAN_FALSE=
18414 fi
18415
18416
18417 if test "$NULL_TARGET" = yes; then
18418 NULL_TARGET_TRUE=
18419 NULL_TARGET_FALSE='#'
18420 else
18421 NULL_TARGET_TRUE='#'
18422 NULL_TARGET_FALSE=
18423 fi
18424
18425
18426 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18427 NATIVE_TRUE=
18428 NATIVE_FALSE='#'
18429 else
18430 NATIVE_TRUE='#'
18431 NATIVE_FALSE=
18432 fi
18433
18434
18435 if test -z "$with_cross_host"; then
18436 USE_LIBDIR_TRUE=
18437 USE_LIBDIR_FALSE='#'
18438 else
18439 USE_LIBDIR_TRUE='#'
18440 USE_LIBDIR_FALSE=
18441 fi
18442
18443 if test $ac_cv_header_locale_h = yes; then
18444 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18445 echo "configure:18446: checking for LC_MESSAGES" >&5
18446 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18447 echo $ac_n "(cached) $ac_c" 1>&6
18448 else
18449 cat > conftest.$ac_ext <<EOF
18450 #line 18451 "configure"
18451 #include "confdefs.h"
18452 #include <locale.h>
18453 int main() {
18454 return LC_MESSAGES
18455 ; return 0; }
18456 EOF
18457 if { (eval echo configure:18458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18458 rm -rf conftest*
18459 ac_cv_val_LC_MESSAGES=yes
18460 else
18461 echo "configure: failed program was:" >&5
18462 cat conftest.$ac_ext >&5
18463 rm -rf conftest*
18464 ac_cv_val_LC_MESSAGES=no
18465 fi
18466 rm -f conftest*
18467 fi
18468
18469 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18470 if test $ac_cv_val_LC_MESSAGES = yes; then
18471 cat >> confdefs.h <<\EOF
18472 #define HAVE_LC_MESSAGES 1
18473 EOF
18474
18475 fi
18476 fi
18477
18478 if test "${multilib}" = "yes"; then
18479 multilib_arg="--enable-multilib"
18480 else
18481 multilib_arg=
18482 fi
18483
18484
18485 # Generate the various Makefiles, include files, and scripts.
18486
18487 # This helps subvert libstdcxx_interface, as calculated by devo/config.if
18488 # Needed so that g++ can find the correct include subdir automatically.
18489 INTERFACE=v3
18490
18491 # Check for the interface version number for specifying where header
18492 # files are installed, if a version number is provided.
18493 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
18494 echo "configure:18495: checking for interface version number" >&5
18495 libstdcxx_interface=$INTERFACE
18496 echo "$ac_t""$libstdcxx_interface" 1>&6
18497
18498
18499 # Process the option --with-gxx-include-dir=<path to include-files directory>
18500 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
18501 echo "configure:18502: checking for --with-gxx-include-dir" >&5
18502 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
18503 if test "${with_gxx_include_dir+set}" = set; then
18504 withval="$with_gxx_include_dir"
18505 case "${withval}" in
18506 yes)
18507 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
18508 gxx_include_dir=no
18509 ;;
18510 no)
18511 gxx_include_dir=no
18512 ;;
18513 *)
18514 gxx_include_dir=${withval}
18515 ;;
18516 esac
18517 else
18518 gxx_include_dir=no
18519 fi
18520
18521 echo "$ac_t""$gxx_include_dir" 1>&6
18522
18523
18524
18525 if test x${gxx_include_dir} != xno; then
18526 GXX_INCLUDE_DIR_TRUE=
18527 GXX_INCLUDE_DIR_FALSE='#'
18528 else
18529 GXX_INCLUDE_DIR_TRUE='#'
18530 GXX_INCLUDE_DIR_FALSE=
18531 fi
18532
18533 # Process the option "--enable-version-specific-runtime-libs"
18534 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
18535 echo "configure:18536: checking for --enable-version-specific-runtime-libs" >&5
18536 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
18537 if test "${enable_version_specific_runtime_libs+set}" = set; then
18538 enableval="$enable_version_specific_runtime_libs"
18539 version_specific_libs=yes
18540 # Need the gcc compiler version to know where to install libraries
18541 # and header files if --enable-version-specific-runtime-libs option
18542 # is selected.
18543 gcc_tmp=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $6}'`
18544 gcc_num=`echo ${gcc_tmp} | sed 's/\"//g'`
18545 #gcc_date=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $7}'`
18546 #gcc_version=$gcc_num-$gcc_date
18547 gcc_version=$gcc_num
18548
18549
18550 else
18551 version_specific_libs=no
18552 fi
18553
18554 echo "$ac_t""$version_specific_libs" 1>&6
18555 if test x${version_specific_libs} = xyes; then
18556
18557
18558 if test x${version_specific_libs} = xyes; then
18559 VERSION_SPECIFIC_LIBS_TRUE=
18560 VERSION_SPECIFIC_LIBS_FALSE='#'
18561 else
18562 VERSION_SPECIFIC_LIBS_TRUE='#'
18563 VERSION_SPECIFIC_LIBS_FALSE=
18564 fi
18565 echo "configure: warning: version specific directory is: $gcc_version" 1>&2
18566 fi
18567
18568
18569
18570 # Export all the include and flag information to makefiles.
18571
18572 # Root level of the include sources.
18573 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
18574
18575 # Can either use include/c or include/c_std to grab "C" headers. This
18576 # variable is set to the include directory currently in use.
18577 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_SHADOW
18578
18579 # Passed down for cross compilers, canadian crosses.
18580 TOPLEVEL_INCLUDES='-I$(includedir)'
18581
18582 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
18583
18584 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
18585
18586 #if GLIBCPP_NEED_LIBIO
18587 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
18588 #else
18589 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
18590 #endif
18591
18592 #if GLIBCPP_USE_CSHADOW
18593 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
18594 # -I$(top_blddir)/cshadow'
18595 #else
18596 CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
18597 #endif
18598
18599 # Now, export this to all the little Makefiles....
18600
18601
18602
18603
18604
18605
18606
18607
18608 # Optimization flags that are probably a good idea for thrill-seekers. Just
18609 # uncomment the lines below and make, everything else is ready to go...
18610 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
18611 OPTIMIZE_CXXFLAGS=
18612
18613
18614 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
18615
18616
18617
18618 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18619 # so that multilib installs will end up installed in the correct
18620 # place. To work around this not being passed down from config-ml.in
18621 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18622 # append it here.
18623 trap '' 1 2 15
18624 cat > confcache <<\EOF
18625 # This file is a shell script that caches the results of configure
18626 # tests run on this system so they can be shared between configure
18627 # scripts and configure runs. It is not useful on other systems.
18628 # If it contains results you don't want to keep, you may remove or edit it.
18629 #
18630 # By default, configure uses ./config.cache as the cache file,
18631 # creating it if it does not exist already. You can give configure
18632 # the --cache-file=FILE option to use a different cache file; that is
18633 # what configure does when it calls configure scripts in
18634 # subdirectories, so they share the cache.
18635 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18636 # config.status only pays attention to the cache file if you give it the
18637 # --recheck option to rerun configure.
18638 #
18639 EOF
18640 # The following way of writing the cache mishandles newlines in values,
18641 # but we know of no workaround that is simple, portable, and efficient.
18642 # So, don't put newlines in cache variables' values.
18643 # Ultrix sh set writes to stderr and can't be redirected directly,
18644 # and sets the high bit in the cache file unless we assign to the vars.
18645 (set) 2>&1 |
18646 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18647 *ac_space=\ *)
18648 # `set' does not quote correctly, so add quotes (double-quote substitution
18649 # turns \\\\ into \\, and sed turns \\ into \).
18650 sed -n \
18651 -e "s/'/'\\\\''/g" \
18652 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18653 ;;
18654 *)
18655 # `set' quotes correctly as required by POSIX, so do not add quotes.
18656 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18657 ;;
18658 esac >> confcache
18659 if cmp -s $cache_file confcache; then
18660 :
18661 else
18662 if test -w $cache_file; then
18663 echo "updating cache $cache_file"
18664 cat confcache > $cache_file
18665 else
18666 echo "not updating unwritable cache $cache_file"
18667 fi
18668 fi
18669 rm -f confcache
18670
18671 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18672
18673 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18674 # Let make expand exec_prefix.
18675 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18676
18677 # Any assignment to VPATH causes Sun make to only execute
18678 # the first set of double-colon rules, so remove it if not needed.
18679 # If there is a colon in the path, we need to keep it.
18680 if test "x$srcdir" = x.; then
18681 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18682 fi
18683
18684 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18685
18686 DEFS=-DHAVE_CONFIG_H
18687
18688 # Without the "./", some shells look in PATH for config.status.
18689 : ${CONFIG_STATUS=./config.status}
18690
18691 echo creating $CONFIG_STATUS
18692 rm -f $CONFIG_STATUS
18693 cat > $CONFIG_STATUS <<EOF
18694 #! /bin/sh
18695 # Generated automatically by configure.
18696 # Run this file to recreate the current configuration.
18697 # This directory was configured as follows,
18698 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18699 #
18700 # $0 $ac_configure_args
18701 #
18702 # Compiler output produced by configure, useful for debugging
18703 # configure, is in ./config.log if it exists.
18704
18705 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18706 for ac_option
18707 do
18708 case "\$ac_option" in
18709 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18710 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18711 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18712 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18713 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18714 exit 0 ;;
18715 -help | --help | --hel | --he | --h)
18716 echo "\$ac_cs_usage"; exit 0 ;;
18717 *) echo "\$ac_cs_usage"; exit 1 ;;
18718 esac
18719 done
18720
18721 ac_given_srcdir=$srcdir
18722 ac_given_INSTALL="$INSTALL"
18723
18724 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
18725 EOF
18726 cat >> $CONFIG_STATUS <<EOF
18727
18728 # Protect against being on the right side of a sed subst in config.status.
18729 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18730 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18731 $ac_vpsub
18732 $extrasub
18733 s%@SHELL@%$SHELL%g
18734 s%@CFLAGS@%$CFLAGS%g
18735 s%@CPPFLAGS@%$CPPFLAGS%g
18736 s%@CXXFLAGS@%$CXXFLAGS%g
18737 s%@FFLAGS@%$FFLAGS%g
18738 s%@DEFS@%$DEFS%g
18739 s%@LDFLAGS@%$LDFLAGS%g
18740 s%@LIBS@%$LIBS%g
18741 s%@exec_prefix@%$exec_prefix%g
18742 s%@prefix@%$prefix%g
18743 s%@program_transform_name@%$program_transform_name%g
18744 s%@bindir@%$bindir%g
18745 s%@sbindir@%$sbindir%g
18746 s%@libexecdir@%$libexecdir%g
18747 s%@datadir@%$datadir%g
18748 s%@sysconfdir@%$sysconfdir%g
18749 s%@sharedstatedir@%$sharedstatedir%g
18750 s%@localstatedir@%$localstatedir%g
18751 s%@libdir@%$libdir%g
18752 s%@includedir@%$includedir%g
18753 s%@oldincludedir@%$oldincludedir%g
18754 s%@infodir@%$infodir%g
18755 s%@mandir@%$mandir%g
18756 s%@host@%$host%g
18757 s%@host_alias@%$host_alias%g
18758 s%@host_cpu@%$host_cpu%g
18759 s%@host_vendor@%$host_vendor%g
18760 s%@host_os@%$host_os%g
18761 s%@target@%$target%g
18762 s%@target_alias@%$target_alias%g
18763 s%@target_cpu@%$target_cpu%g
18764 s%@target_vendor@%$target_vendor%g
18765 s%@target_os@%$target_os%g
18766 s%@build@%$build%g
18767 s%@build_alias@%$build_alias%g
18768 s%@build_cpu@%$build_cpu%g
18769 s%@build_vendor@%$build_vendor%g
18770 s%@build_os@%$build_os%g
18771 s%@glibcpp_basedir@%$glibcpp_basedir%g
18772 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18773 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18774 s%@INSTALL_DATA@%$INSTALL_DATA%g
18775 s%@PACKAGE@%$PACKAGE%g
18776 s%@VERSION@%$VERSION%g
18777 s%@ACLOCAL@%$ACLOCAL%g
18778 s%@AUTOCONF@%$AUTOCONF%g
18779 s%@AUTOMAKE@%$AUTOMAKE%g
18780 s%@AUTOHEADER@%$AUTOHEADER%g
18781 s%@MAKEINFO@%$MAKEINFO%g
18782 s%@SET_MAKE@%$SET_MAKE%g
18783 s%@CC@%$CC%g
18784 s%@CXX@%$CXX%g
18785 s%@AS@%$AS%g
18786 s%@AR@%$AR%g
18787 s%@RANLIB@%$RANLIB%g
18788 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18789 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18790 s%@MAINT@%$MAINT%g
18791 s%@EXEEXT@%$EXEEXT%g
18792 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
18793 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
18794 s%@LN_S@%$LN_S%g
18795 s%@OBJEXT@%$OBJEXT%g
18796 s%@STRIP@%$STRIP%g
18797 s%@LIBTOOL@%$LIBTOOL%g
18798 s%@CXXCPP@%$CXXCPP%g
18799 s%@ifGNUmake@%$ifGNUmake%g
18800 s%@CPP@%$CPP%g
18801 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18802 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18803 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18804 s%@GLIBCPP_NEED_XTRA_LIBIO_TRUE@%$GLIBCPP_NEED_XTRA_LIBIO_TRUE%g
18805 s%@GLIBCPP_NEED_XTRA_LIBIO_FALSE@%$GLIBCPP_NEED_XTRA_LIBIO_FALSE%g
18806 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18807 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18808 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
18809 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
18810 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18811 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18812 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18813 s%@WERROR@%$WERROR%g
18814 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
18815 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18816 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18817 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18818 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18819 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18820 s%@libinst_wstring_la@%$libinst_wstring_la%g
18821 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
18822 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
18823 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
18824 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
18825 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
18826 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
18827 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
18828 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
18829 s%@libstdcxx_interface@%$libstdcxx_interface%g
18830 s%@gxx_include_dir@%$gxx_include_dir%g
18831 s%@GXX_INCLUDE_DIR_TRUE@%$GXX_INCLUDE_DIR_TRUE%g
18832 s%@GXX_INCLUDE_DIR_FALSE@%$GXX_INCLUDE_DIR_FALSE%g
18833 s%@gcc_version@%$gcc_version%g
18834 s%@VERSION_SPECIFIC_LIBS_TRUE@%$VERSION_SPECIFIC_LIBS_TRUE%g
18835 s%@VERSION_SPECIFIC_LIBS_FALSE@%$VERSION_SPECIFIC_LIBS_FALSE%g
18836 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
18837 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
18838 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
18839 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
18840 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
18841 s%@CSHADOW_INCLUDES@%$CSHADOW_INCLUDES%g
18842 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
18843 s%@WARN_FLAGS@%$WARN_FLAGS%g
18844
18845 CEOF
18846 EOF
18847
18848 cat >> $CONFIG_STATUS <<\EOF
18849
18850 # Split the substitutions into bite-sized pieces for seds with
18851 # small command number limits, like on Digital OSF/1 and HP-UX.
18852 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18853 ac_file=1 # Number of current file.
18854 ac_beg=1 # First line for current file.
18855 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18856 ac_more_lines=:
18857 ac_sed_cmds=""
18858 while $ac_more_lines; do
18859 if test $ac_beg -gt 1; then
18860 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18861 else
18862 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18863 fi
18864 if test ! -s conftest.s$ac_file; then
18865 ac_more_lines=false
18866 rm -f conftest.s$ac_file
18867 else
18868 if test -z "$ac_sed_cmds"; then
18869 ac_sed_cmds="sed -f conftest.s$ac_file"
18870 else
18871 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18872 fi
18873 ac_file=`expr $ac_file + 1`
18874 ac_beg=$ac_end
18875 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18876 fi
18877 done
18878 if test -z "$ac_sed_cmds"; then
18879 ac_sed_cmds=cat
18880 fi
18881 EOF
18882
18883 cat >> $CONFIG_STATUS <<EOF
18884
18885 CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
18886 EOF
18887 cat >> $CONFIG_STATUS <<\EOF
18888 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18889 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18890 case "$ac_file" in
18891 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18892 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18893 *) ac_file_in="${ac_file}.in" ;;
18894 esac
18895
18896 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18897
18898 # Remove last slash and all that follows it. Not all systems have dirname.
18899 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18900 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18901 # The file is in a subdirectory.
18902 test ! -d "$ac_dir" && mkdir "$ac_dir"
18903 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18904 # A "../" for each directory in $ac_dir_suffix.
18905 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18906 else
18907 ac_dir_suffix= ac_dots=
18908 fi
18909
18910 case "$ac_given_srcdir" in
18911 .) srcdir=.
18912 if test -z "$ac_dots"; then top_srcdir=.
18913 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18914 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18915 *) # Relative path.
18916 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18917 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18918 esac
18919
18920 case "$ac_given_INSTALL" in
18921 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18922 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18923 esac
18924
18925 echo creating "$ac_file"
18926 rm -f "$ac_file"
18927 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18928 case "$ac_file" in
18929 *Makefile*) ac_comsub="1i\\
18930 # $configure_input" ;;
18931 *) ac_comsub= ;;
18932 esac
18933
18934 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18935 sed -e "$ac_comsub
18936 s%@configure_input@%$configure_input%g
18937 s%@srcdir@%$srcdir%g
18938 s%@top_srcdir@%$top_srcdir%g
18939 s%@INSTALL@%$INSTALL%g
18940 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18941 fi; done
18942 rm -f conftest.s*
18943
18944 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18945 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18946 #
18947 # ac_d sets the value in "#define NAME VALUE" lines.
18948 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18949 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18950 ac_dC='\3'
18951 ac_dD='%g'
18952 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18953 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18954 ac_uB='\([ ]\)%\1#\2define\3'
18955 ac_uC=' '
18956 ac_uD='\4%g'
18957 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18958 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18959 ac_eB='$%\1#\2define\3'
18960 ac_eC=' '
18961 ac_eD='%g'
18962
18963 if test "${CONFIG_HEADERS+set}" != set; then
18964 EOF
18965 cat >> $CONFIG_STATUS <<EOF
18966 CONFIG_HEADERS="config.h"
18967 EOF
18968 cat >> $CONFIG_STATUS <<\EOF
18969 fi
18970 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18971 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18972 case "$ac_file" in
18973 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18974 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18975 *) ac_file_in="${ac_file}.in" ;;
18976 esac
18977
18978 echo creating $ac_file
18979
18980 rm -f conftest.frag conftest.in conftest.out
18981 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18982 cat $ac_file_inputs > conftest.in
18983
18984 EOF
18985
18986 # Transform confdefs.h into a sed script conftest.vals that substitutes
18987 # the proper values into config.h.in to produce config.h. And first:
18988 # Protect against being on the right side of a sed subst in config.status.
18989 # Protect against being in an unquoted here document in config.status.
18990 rm -f conftest.vals
18991 cat > conftest.hdr <<\EOF
18992 s/[\\&%]/\\&/g
18993 s%[\\$`]%\\&%g
18994 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18995 s%ac_d%ac_u%gp
18996 s%ac_u%ac_e%gp
18997 EOF
18998 sed -n -f conftest.hdr confdefs.h > conftest.vals
18999 rm -f conftest.hdr
19000
19001 # This sed command replaces #undef with comments. This is necessary, for
19002 # example, in the case of _POSIX_SOURCE, which is predefined and required
19003 # on some systems where configure will not decide to define it.
19004 cat >> conftest.vals <<\EOF
19005 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19006 EOF
19007
19008 # Break up conftest.vals because some shells have a limit on
19009 # the size of here documents, and old seds have small limits too.
19010
19011 rm -f conftest.tail
19012 while :
19013 do
19014 ac_lines=`grep -c . conftest.vals`
19015 # grep -c gives empty output for an empty file on some AIX systems.
19016 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19017 # Write a limited-size here document to conftest.frag.
19018 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19019 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19020 echo 'CEOF
19021 sed -f conftest.frag conftest.in > conftest.out
19022 rm -f conftest.in
19023 mv conftest.out conftest.in
19024 ' >> $CONFIG_STATUS
19025 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19026 rm -f conftest.vals
19027 mv conftest.tail conftest.vals
19028 done
19029 rm -f conftest.vals
19030
19031 cat >> $CONFIG_STATUS <<\EOF
19032 rm -f conftest.frag conftest.h
19033 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19034 cat conftest.in >> conftest.h
19035 rm -f conftest.in
19036 if cmp -s $ac_file conftest.h 2>/dev/null; then
19037 echo "$ac_file is unchanged"
19038 rm -f conftest.h
19039 else
19040 # Remove last slash and all that follows it. Not all systems have dirname.
19041 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19042 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19043 # The file is in a subdirectory.
19044 test ! -d "$ac_dir" && mkdir "$ac_dir"
19045 fi
19046 rm -f $ac_file
19047 mv conftest.h $ac_file
19048 fi
19049 fi; done
19050
19051 EOF
19052
19053 cat >> $CONFIG_STATUS <<EOF
19054 ac_sources="$os_include_dir/bits/os_defines.h $CSTDIO_H $CSTDIO_CC $CCODECVT_C config/$THREADH $ATOMICITYH/bits/atomicity.h $ctype_include_dir/bits/ctype_base.h $ctype_include_dir/bits/ctype_inline.h $ctype_include_dir/bits/ctype_noninline.h $ctype_include_dir/bits/ctype_base.h $ctype_include_dir/bits/ctype_inline.h $ctype_include_dir/bits/ctype_noninline.h $ctype_include_dir/bits/ctype_base.h $ctype_include_dir/bits/ctype_inline.h $ctype_include_dir/bits/ctype_noninline.h"
19055 ac_dests="bits/os_defines.h bits/c++io.h src/c++io.cc libio/c_codecvt.c bits/c++threads.h bits/atomicity.h bits/ctype_base.h \
19056 bits/ctype_inline.h \
19057 bits/ctype_noninline.h bits/ctype_base.h \
19058 bits/ctype_inline.h \
19059 bits/ctype_noninline.h bits/ctype_base.h bits/ctype_inline.h \
19060 bits/ctype_noninline.h"
19061 EOF
19062
19063 cat >> $CONFIG_STATUS <<\EOF
19064 srcdir=$ac_given_srcdir
19065 while test -n "$ac_sources"; do
19066 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
19067 set $ac_sources; ac_source=$1; shift; ac_sources=$*
19068
19069 echo "linking $srcdir/$ac_source to $ac_dest"
19070
19071 if test ! -r $srcdir/$ac_source; then
19072 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
19073 fi
19074 rm -f $ac_dest
19075
19076 # Make relative symlinks.
19077 # Remove last slash and all that follows it. Not all systems have dirname.
19078 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
19079 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
19080 # The dest file is in a subdirectory.
19081 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
19082 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
19083 # A "../" for each directory in $ac_dest_dir_suffix.
19084 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
19085 else
19086 ac_dest_dir_suffix= ac_dots=
19087 fi
19088
19089 case "$srcdir" in
19090 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
19091 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
19092 esac
19093
19094 # Make a symlink if possible; otherwise try a hard link.
19095 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19096 ln $srcdir/$ac_source $ac_dest; then :
19097 else
19098 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19099 fi
19100 done
19101 EOF
19102 cat >> $CONFIG_STATUS <<EOF
19103
19104 srcdir=${srcdir}
19105 host=${host}
19106 target=${target}
19107 with_multisubdir=${with_multisubdir}
19108 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19109 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19110 glibcpp_basedir=${glibcpp_basedir}
19111 CC="${CC}"
19112 CXX="${CXX}"
19113
19114 EOF
19115 cat >> $CONFIG_STATUS <<\EOF
19116 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19117 if test -n "$CONFIG_FILES"; then
19118 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19119 grep '^MULTISUBDIR =' Makefile >> src/Makefile
19120 fi
19121 exit 0
19122 EOF
19123 chmod +x $CONFIG_STATUS
19124 rm -fr confdefs* $ac_clean_files
19125 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19126
19127
19128
19129 blddir=`pwd`
19130 # Generate bits/c++config.h
19131 # NB: This must be the first generated file as others include it. . .
19132
19133
19134 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
19135 if test ! -f stamp-limits; then
19136
19137 touch stamp-limits
19138 fi
19139
19140 # Sanity checking & User-visible messages.
19141 # Checks down here, otherwise they get scrolled off before
19142 # the user will notice.
19143 if test "$enable_libgcc_rebuild" = "no"; then
19144 echo "configure: warning: libgcc.a will not match mangled symbols unless it is rebuilt" 1>&2
19145 else
19146 # Other things besides namespaces can make this true as well, but none
19147 # of them are done automatically... yet
19148 echo "configure: warning: no point in rebuilding libgcc.a if namespaces aren't used" 1>&2
19149 fi
19150
19151 # Trying to get more people to read documentation. Possibly remove
19152 # check and warn all the time. There is no "informational" AC_MSG_
19153 # macro, so these are going to be printed even when --quiet/--silent
19154 # is given.
19155 if test ! -f stamp-sanity-warned; then
19156 touch stamp-sanity-warned
19157 echo ""
19158 echo "Please make certain that you read the installation information here:"
19159 echo " faster => ${srcdir}/docs/install.html"
19160 echo " slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
19161 echo ""
19162 echo "and the configuration information here:"
19163 echo " faster => ${srcdir}/docs/configopts.html"
19164 echo " slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
19165 echo ""
19166 echo "before proceeding with ${_cv_gnu_make_command}."
19167 echo ""
19168 fi
19169
19170
19171 $srcdir/mkc++config $blddir $srcdir
19172 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
19173
19174