* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
[official-gcc.git] / libstdc++-v3 / configure
blob97ea4080e742cbc6929a55f5d053f11f6fb4b130
1 #! /bin/sh
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.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 # Defaults:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_help="$ac_help
15 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
17 ac_help="$ac_help
18 --with-cross-host=HOST configuring with a cross compiler"
19 ac_help="$ac_help
20 --enable-multilib build hella library versions (default)"
21 ac_help="$ac_help
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
24 ac_help="$ac_help
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
26 ac_help="$ac_help
27 --enable-static[=PKGS] build static libraries [default=yes]"
28 ac_help="$ac_help
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
30 ac_help="$ac_help
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
32 ac_help="$ac_help
33 --disable-libtool-lock avoid locking (might break parallel builds)"
34 ac_help="$ac_help
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
36 ac_help="$ac_help
37 --enable-debug extra debugging, turn off optimization [default=no]"
38 ac_help="$ac_help
39 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
40 ac_help="$ac_help
41 --enable-cstdio enable GNU libio for target io package. (default)
42 --enable-cstdio=LIB use LIB target-speific io package."
43 ac_help="$ac_help
44 --enable-long-long turns on 'long long' [default=yes]"
45 ac_help="$ac_help
46 --enable-cshadow-headers construct "shadowed" C header files for
47 g++ [default=no]"
48 ac_help="$ac_help
49 --enable-threads enable thread usage for target GCC.
50 --enable-threads=LIB use LIB thread package for target GCC."
51 ac_help="$ac_help
52 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
53 [default=none]"
54 ac_help="$ac_help
55 --with-gxx-include-dir the installation directory for include files"
56 ac_help="$ac_help
57 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
59 # Initialize some variables set by options.
60 # The variables have the same names as the options, with
61 # dashes changed to underlines.
62 build=NONE
63 cache_file=./config.cache
64 exec_prefix=NONE
65 host=NONE
66 no_create=
67 nonopt=NONE
68 no_recursion=
69 prefix=NONE
70 program_prefix=NONE
71 program_suffix=NONE
72 program_transform_name=s,x,x,
73 silent=
74 site=
75 srcdir=
76 target=NONE
77 verbose=
78 x_includes=NONE
79 x_libraries=NONE
80 bindir='${exec_prefix}/bin'
81 sbindir='${exec_prefix}/sbin'
82 libexecdir='${exec_prefix}/libexec'
83 datadir='${prefix}/share'
84 sysconfdir='${prefix}/etc'
85 sharedstatedir='${prefix}/com'
86 localstatedir='${prefix}/var'
87 libdir='${exec_prefix}/lib'
88 includedir='${prefix}/include'
89 oldincludedir='/usr/include'
90 infodir='${prefix}/info'
91 mandir='${prefix}/man'
93 # Initialize some other variables.
94 subdirs=
95 MFLAGS= MAKEFLAGS=
96 SHELL=${CONFIG_SHELL-/bin/sh}
97 # Maximum number of lines to put in a shell here document.
98 ac_max_here_lines=12
100 ac_prev=
101 for ac_option
104 # If the previous option needs an argument, assign it.
105 if test -n "$ac_prev"; then
106 eval "$ac_prev=\$ac_option"
107 ac_prev=
108 continue
111 case "$ac_option" in
112 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
113 *) ac_optarg= ;;
114 esac
116 # Accept the important Cygnus configure options, so we can diagnose typos.
118 case "$ac_option" in
120 -bindir | --bindir | --bindi | --bind | --bin | --bi)
121 ac_prev=bindir ;;
122 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
123 bindir="$ac_optarg" ;;
125 -build | --build | --buil | --bui | --bu)
126 ac_prev=build ;;
127 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
128 build="$ac_optarg" ;;
130 -cache-file | --cache-file | --cache-fil | --cache-fi \
131 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
132 ac_prev=cache_file ;;
133 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
134 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
135 cache_file="$ac_optarg" ;;
137 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
138 ac_prev=datadir ;;
139 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
140 | --da=*)
141 datadir="$ac_optarg" ;;
143 -disable-* | --disable-*)
144 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
145 # Reject names that are not valid shell variable names.
146 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
147 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
149 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
150 eval "enable_${ac_feature}=no" ;;
152 -enable-* | --enable-*)
153 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
154 # Reject names that are not valid shell variable names.
155 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
156 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
158 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
159 case "$ac_option" in
160 *=*) ;;
161 *) ac_optarg=yes ;;
162 esac
163 eval "enable_${ac_feature}='$ac_optarg'" ;;
165 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
166 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
167 | --exec | --exe | --ex)
168 ac_prev=exec_prefix ;;
169 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
170 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
171 | --exec=* | --exe=* | --ex=*)
172 exec_prefix="$ac_optarg" ;;
174 -gas | --gas | --ga | --g)
175 # Obsolete; use --with-gas.
176 with_gas=yes ;;
178 -help | --help | --hel | --he)
179 # Omit some internal or obsolete options to make the list less imposing.
180 # This message is too long to be a string in the A/UX 3.1 sh.
181 cat << EOF
182 Usage: configure [options] [host]
183 Options: [defaults in brackets after descriptions]
184 Configuration:
185 --cache-file=FILE cache test results in FILE
186 --help print this message
187 --no-create do not create output files
188 --quiet, --silent do not print \`checking...' messages
189 --version print the version of autoconf that created configure
190 Directory and file names:
191 --prefix=PREFIX install architecture-independent files in PREFIX
192 [$ac_default_prefix]
193 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
194 [same as prefix]
195 --bindir=DIR user executables in DIR [EPREFIX/bin]
196 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
197 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
198 --datadir=DIR read-only architecture-independent data in DIR
199 [PREFIX/share]
200 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
201 --sharedstatedir=DIR modifiable architecture-independent data in DIR
202 [PREFIX/com]
203 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
204 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
205 --includedir=DIR C header files in DIR [PREFIX/include]
206 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
207 --infodir=DIR info documentation in DIR [PREFIX/info]
208 --mandir=DIR man documentation in DIR [PREFIX/man]
209 --srcdir=DIR find the sources in DIR [configure dir or ..]
210 --program-prefix=PREFIX prepend PREFIX to installed program names
211 --program-suffix=SUFFIX append SUFFIX to installed program names
212 --program-transform-name=PROGRAM
213 run sed PROGRAM on installed program names
215 cat << EOF
216 Host type:
217 --build=BUILD configure for building on BUILD [BUILD=HOST]
218 --host=HOST configure for HOST [guessed]
219 --target=TARGET configure for TARGET [TARGET=HOST]
220 Features and packages:
221 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
222 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
223 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
224 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
225 --x-includes=DIR X include files are in DIR
226 --x-libraries=DIR X library files are in DIR
228 if test -n "$ac_help"; then
229 echo "--enable and --with options recognized:$ac_help"
231 exit 0 ;;
233 -host | --host | --hos | --ho)
234 ac_prev=host ;;
235 -host=* | --host=* | --hos=* | --ho=*)
236 host="$ac_optarg" ;;
238 -includedir | --includedir | --includedi | --included | --include \
239 | --includ | --inclu | --incl | --inc)
240 ac_prev=includedir ;;
241 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
242 | --includ=* | --inclu=* | --incl=* | --inc=*)
243 includedir="$ac_optarg" ;;
245 -infodir | --infodir | --infodi | --infod | --info | --inf)
246 ac_prev=infodir ;;
247 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
248 infodir="$ac_optarg" ;;
250 -libdir | --libdir | --libdi | --libd)
251 ac_prev=libdir ;;
252 -libdir=* | --libdir=* | --libdi=* | --libd=*)
253 libdir="$ac_optarg" ;;
255 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
256 | --libexe | --libex | --libe)
257 ac_prev=libexecdir ;;
258 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
259 | --libexe=* | --libex=* | --libe=*)
260 libexecdir="$ac_optarg" ;;
262 -localstatedir | --localstatedir | --localstatedi | --localstated \
263 | --localstate | --localstat | --localsta | --localst \
264 | --locals | --local | --loca | --loc | --lo)
265 ac_prev=localstatedir ;;
266 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
267 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
268 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
269 localstatedir="$ac_optarg" ;;
271 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
272 ac_prev=mandir ;;
273 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
274 mandir="$ac_optarg" ;;
276 -nfp | --nfp | --nf)
277 # Obsolete; use --without-fp.
278 with_fp=no ;;
280 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
281 | --no-cr | --no-c)
282 no_create=yes ;;
284 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
285 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
286 no_recursion=yes ;;
288 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
289 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
290 | --oldin | --oldi | --old | --ol | --o)
291 ac_prev=oldincludedir ;;
292 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
293 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
294 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
295 oldincludedir="$ac_optarg" ;;
297 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
298 ac_prev=prefix ;;
299 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
300 prefix="$ac_optarg" ;;
302 -program-prefix | --program-prefix | --program-prefi | --program-pref \
303 | --program-pre | --program-pr | --program-p)
304 ac_prev=program_prefix ;;
305 -program-prefix=* | --program-prefix=* | --program-prefi=* \
306 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
307 program_prefix="$ac_optarg" ;;
309 -program-suffix | --program-suffix | --program-suffi | --program-suff \
310 | --program-suf | --program-su | --program-s)
311 ac_prev=program_suffix ;;
312 -program-suffix=* | --program-suffix=* | --program-suffi=* \
313 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
314 program_suffix="$ac_optarg" ;;
316 -program-transform-name | --program-transform-name \
317 | --program-transform-nam | --program-transform-na \
318 | --program-transform-n | --program-transform- \
319 | --program-transform | --program-transfor \
320 | --program-transfo | --program-transf \
321 | --program-trans | --program-tran \
322 | --progr-tra | --program-tr | --program-t)
323 ac_prev=program_transform_name ;;
324 -program-transform-name=* | --program-transform-name=* \
325 | --program-transform-nam=* | --program-transform-na=* \
326 | --program-transform-n=* | --program-transform-=* \
327 | --program-transform=* | --program-transfor=* \
328 | --program-transfo=* | --program-transf=* \
329 | --program-trans=* | --program-tran=* \
330 | --progr-tra=* | --program-tr=* | --program-t=*)
331 program_transform_name="$ac_optarg" ;;
333 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
334 | -silent | --silent | --silen | --sile | --sil)
335 silent=yes ;;
337 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
338 ac_prev=sbindir ;;
339 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
340 | --sbi=* | --sb=*)
341 sbindir="$ac_optarg" ;;
343 -sharedstatedir | --sharedstatedir | --sharedstatedi \
344 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
345 | --sharedst | --shareds | --shared | --share | --shar \
346 | --sha | --sh)
347 ac_prev=sharedstatedir ;;
348 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
349 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
350 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
351 | --sha=* | --sh=*)
352 sharedstatedir="$ac_optarg" ;;
354 -site | --site | --sit)
355 ac_prev=site ;;
356 -site=* | --site=* | --sit=*)
357 site="$ac_optarg" ;;
359 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
360 ac_prev=srcdir ;;
361 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
362 srcdir="$ac_optarg" ;;
364 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
365 | --syscon | --sysco | --sysc | --sys | --sy)
366 ac_prev=sysconfdir ;;
367 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
368 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
369 sysconfdir="$ac_optarg" ;;
371 -target | --target | --targe | --targ | --tar | --ta | --t)
372 ac_prev=target ;;
373 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
374 target="$ac_optarg" ;;
376 -v | -verbose | --verbose | --verbos | --verbo | --verb)
377 verbose=yes ;;
379 -version | --version | --versio | --versi | --vers)
380 echo "configure generated by autoconf version 2.13"
381 exit 0 ;;
383 -with-* | --with-*)
384 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
385 # Reject names that are not valid shell variable names.
386 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
387 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
389 ac_package=`echo $ac_package| sed 's/-/_/g'`
390 case "$ac_option" in
391 *=*) ;;
392 *) ac_optarg=yes ;;
393 esac
394 eval "with_${ac_package}='$ac_optarg'" ;;
396 -without-* | --without-*)
397 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
398 # Reject names that are not valid shell variable names.
399 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
400 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
402 ac_package=`echo $ac_package| sed 's/-/_/g'`
403 eval "with_${ac_package}=no" ;;
405 --x)
406 # Obsolete; use --with-x.
407 with_x=yes ;;
409 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
410 | --x-incl | --x-inc | --x-in | --x-i)
411 ac_prev=x_includes ;;
412 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
413 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
414 x_includes="$ac_optarg" ;;
416 -x-libraries | --x-libraries | --x-librarie | --x-librari \
417 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
418 ac_prev=x_libraries ;;
419 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
420 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
421 x_libraries="$ac_optarg" ;;
423 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
427 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
428 echo "configure: warning: $ac_option: invalid host type" 1>&2
430 if test "x$nonopt" != xNONE; then
431 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
433 nonopt="$ac_option"
436 esac
437 done
439 if test -n "$ac_prev"; then
440 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
443 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
445 # File descriptor usage:
446 # 0 standard input
447 # 1 file creation
448 # 2 errors and warnings
449 # 3 some systems may open it to /dev/tty
450 # 4 used on the Kubota Titan
451 # 6 checking for... messages and results
452 # 5 compiler messages saved in config.log
453 if test "$silent" = yes; then
454 exec 6>/dev/null
455 else
456 exec 6>&1
458 exec 5>./config.log
460 echo "\
461 This file contains any messages produced by compilers while
462 running configure, to aid debugging if configure makes a mistake.
463 " 1>&5
465 # Strip out --no-create and --no-recursion so they do not pile up.
466 # Also quote any args containing shell metacharacters.
467 ac_configure_args=
468 for ac_arg
470 case "$ac_arg" in
471 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
472 | --no-cr | --no-c) ;;
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
475 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
476 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
477 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
478 esac
479 done
481 # NLS nuisances.
482 # Only set these to C if already set. These must not be set unconditionally
483 # because not all systems understand e.g. LANG=C (notably SCO).
484 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
485 # Non-C LC_CTYPE values break the ctype check.
486 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
487 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
488 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
489 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
491 # confdefs.h avoids OS command line length limits that DEFS can exceed.
492 rm -rf conftest* confdefs.h
493 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
494 echo > confdefs.h
496 # A filename unique to this package, relative to the directory that
497 # configure is in, which we can look for to find out if srcdir is correct.
498 ac_unique_file=src/complex.cc
500 # Find the source files, if location was not specified.
501 if test -z "$srcdir"; then
502 ac_srcdir_defaulted=yes
503 # Try the directory containing this script, then its parent.
504 ac_prog=$0
505 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
506 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
507 srcdir=$ac_confdir
508 if test ! -r $srcdir/$ac_unique_file; then
509 srcdir=..
511 else
512 ac_srcdir_defaulted=no
514 if test ! -r $srcdir/$ac_unique_file; then
515 if test "$ac_srcdir_defaulted" = yes; then
516 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
517 else
518 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
521 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
523 # Prefer explicitly selected file to automatically selected ones.
524 if test -z "$CONFIG_SITE"; then
525 if test "x$prefix" != xNONE; then
526 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
527 else
528 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
531 for ac_site_file in $CONFIG_SITE; do
532 if test -r "$ac_site_file"; then
533 echo "loading site script $ac_site_file"
534 . "$ac_site_file"
536 done
538 if test -r "$cache_file"; then
539 echo "loading cache $cache_file"
540 . $cache_file
541 else
542 echo "creating cache $cache_file"
543 > $cache_file
546 ac_ext=c
547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
548 ac_cpp='$CPP $CPPFLAGS'
549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
551 cross_compiling=$ac_cv_prog_cc_cross
553 ac_exeext=
554 ac_objext=o
555 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
556 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
557 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
558 ac_n= ac_c='
559 ' ac_t=' '
560 else
561 ac_n=-n ac_c= ac_t=
563 else
564 ac_n= ac_c='\c' ac_t=
568 ac_aux_dir=
569 for ac_dir in .. $srcdir/..; do
570 if test -f $ac_dir/install-sh; then
571 ac_aux_dir=$ac_dir
572 ac_install_sh="$ac_aux_dir/install-sh -c"
573 break
574 elif test -f $ac_dir/install.sh; then
575 ac_aux_dir=$ac_dir
576 ac_install_sh="$ac_aux_dir/install.sh -c"
577 break
579 done
580 if test -z "$ac_aux_dir"; then
581 { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
583 ac_config_guess=$ac_aux_dir/config.guess
584 ac_config_sub=$ac_aux_dir/config.sub
585 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
588 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
590 # Do some error checking and defaulting for the host and target type.
591 # The inputs are:
592 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
594 # The rules are:
595 # 1. You are not allowed to specify --host, --target, and nonopt at the
596 # same time.
597 # 2. Host defaults to nonopt.
598 # 3. If nonopt is not specified, then host defaults to the current host,
599 # as determined by config.guess.
600 # 4. Target and build default to nonopt.
601 # 5. If nonopt is not specified, then target and build default to host.
603 # The aliases save the names the user supplied, while $host etc.
604 # will get canonicalized.
605 case $host---$target---$nonopt in
606 NONE---*---* | *---NONE---* | *---*---NONE) ;;
607 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
608 esac
611 # Make sure we can run config.sub.
612 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
613 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
616 echo $ac_n "checking host system type""... $ac_c" 1>&6
617 echo "configure:618: checking host system type" >&5
619 host_alias=$host
620 case "$host_alias" in
621 NONE)
622 case $nonopt in
623 NONE)
624 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
625 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
626 fi ;;
627 *) host_alias=$nonopt ;;
628 esac ;;
629 esac
631 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
632 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
633 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
634 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
635 echo "$ac_t""$host" 1>&6
637 echo $ac_n "checking target system type""... $ac_c" 1>&6
638 echo "configure:639: checking target system type" >&5
640 target_alias=$target
641 case "$target_alias" in
642 NONE)
643 case $nonopt in
644 NONE) target_alias=$host_alias ;;
645 *) target_alias=$nonopt ;;
646 esac ;;
647 esac
649 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
650 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
651 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
652 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
653 echo "$ac_t""$target" 1>&6
655 echo $ac_n "checking build system type""... $ac_c" 1>&6
656 echo "configure:657: checking build system type" >&5
658 build_alias=$build
659 case "$build_alias" in
660 NONE)
661 case $nonopt in
662 NONE) build_alias=$host_alias ;;
663 *) build_alias=$nonopt ;;
664 esac ;;
665 esac
667 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
668 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
669 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
670 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
671 echo "$ac_t""$build" 1>&6
673 test "$host_alias" != "$target_alias" &&
674 test "$program_prefix$program_suffix$program_transform_name" = \
675 NONENONEs,x,x, &&
676 program_prefix=${target_alias}-
679 # We use these options to decide which functions to include.
680 # Check whether --with-target-subdir or --without-target-subdir was given.
681 if test "${with_target_subdir+set}" = set; then
682 withval="$with_target_subdir"
686 # Check whether --with-cross-host or --without-cross-host was given.
687 if test "${with_cross_host+set}" = set; then
688 withval="$with_cross_host"
693 # Find a good install program. We prefer a C program (faster),
694 # so one script is as good as another. But avoid the broken or
695 # incompatible versions:
696 # SysV /etc/install, /usr/sbin/install
697 # SunOS /usr/etc/install
698 # IRIX /sbin/install
699 # AIX /bin/install
700 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
701 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
702 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
703 # ./install, which can be erroneously created by make from ./install.sh.
704 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
705 echo "configure:706: checking for a BSD compatible install" >&5
706 if test -z "$INSTALL"; then
707 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
708 echo $ac_n "(cached) $ac_c" 1>&6
709 else
710 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
711 for ac_dir in $PATH; do
712 # Account for people who put trailing slashes in PATH elements.
713 case "$ac_dir/" in
714 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
716 # OSF1 and SCO ODT 3.0 have their own names for install.
717 # Don't use installbsd from OSF since it installs stuff as root
718 # by default.
719 for ac_prog in ginstall scoinst install; do
720 if test -f $ac_dir/$ac_prog; then
721 if test $ac_prog = install &&
722 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
723 # AIX install. It has an incompatible calling convention.
725 else
726 ac_cv_path_install="$ac_dir/$ac_prog -c"
727 break 2
730 done
732 esac
733 done
734 IFS="$ac_save_IFS"
737 if test "${ac_cv_path_install+set}" = set; then
738 INSTALL="$ac_cv_path_install"
739 else
740 # As a last resort, use the slow shell script. We don't cache a
741 # path for INSTALL within a source directory, because that will
742 # break other packages using the cache if that directory is
743 # removed, or if the path is relative.
744 INSTALL="$ac_install_sh"
747 echo "$ac_t""$INSTALL" 1>&6
749 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
750 # It thinks the first close brace ends the variable substitution.
751 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
753 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
755 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
757 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
758 echo "configure:759: checking whether build environment is sane" >&5
759 # Just in case
760 sleep 1
761 echo timestamp > conftestfile
762 # Do `set' in a subshell so we don't clobber the current shell's
763 # arguments. Must try -L first in case configure is actually a
764 # symlink; some systems play weird games with the mod time of symlinks
765 # (eg FreeBSD returns the mod time of the symlink's containing
766 # directory).
767 if (
768 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
769 if test "$*" = "X"; then
770 # -L didn't work.
771 set X `ls -t $srcdir/configure conftestfile`
773 if test "$*" != "X $srcdir/configure conftestfile" \
774 && test "$*" != "X conftestfile $srcdir/configure"; then
776 # If neither matched, then we have a broken ls. This can happen
777 # if, for instance, CONFIG_SHELL is bash and it inherits a
778 # broken ls alias from the environment. This has actually
779 # happened. Such a system could not be considered "sane".
780 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
781 alias in your environment" 1>&2; exit 1; }
784 test "$2" = conftestfile
786 then
787 # Ok.
789 else
790 { echo "configure: error: newly created file is older than distributed files!
791 Check your system clock" 1>&2; exit 1; }
793 rm -f conftest*
794 echo "$ac_t""yes" 1>&6
795 if test "$program_transform_name" = s,x,x,; then
796 program_transform_name=
797 else
798 # Double any \ or $. echo might interpret backslashes.
799 cat <<\EOF_SED > conftestsed
800 s,\\,\\\\,g; s,\$,$$,g
801 EOF_SED
802 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
803 rm -f conftestsed
805 test "$program_prefix" != NONE &&
806 program_transform_name="s,^,${program_prefix},; $program_transform_name"
807 # Use a double $ so make ignores it.
808 test "$program_suffix" != NONE &&
809 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
811 # sed with no file args requires a program.
812 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
814 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
815 echo "configure:816: checking whether ${MAKE-make} sets \${MAKE}" >&5
816 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
817 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
818 echo $ac_n "(cached) $ac_c" 1>&6
819 else
820 cat > conftestmake <<\EOF
821 all:
822 @echo 'ac_maketemp="${MAKE}"'
824 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
825 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
826 if test -n "$ac_maketemp"; then
827 eval ac_cv_prog_make_${ac_make}_set=yes
828 else
829 eval ac_cv_prog_make_${ac_make}_set=no
831 rm -f conftestmake
833 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
834 echo "$ac_t""yes" 1>&6
835 SET_MAKE=
836 else
837 echo "$ac_t""no" 1>&6
838 SET_MAKE="MAKE=${MAKE-make}"
841 if test $host != $build; then
842 ac_tool_prefix=${host_alias}-
843 else
844 ac_tool_prefix=
847 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
848 echo "configure:849: checking for Cygwin environment" >&5
849 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
850 echo $ac_n "(cached) $ac_c" 1>&6
851 else
852 cat > conftest.$ac_ext <<EOF
853 #line 854 "configure"
854 #include "confdefs.h"
856 int main() {
858 #ifndef __CYGWIN__
859 #define __CYGWIN__ __CYGWIN32__
860 #endif
861 return __CYGWIN__;
862 ; return 0; }
864 if { (eval echo configure:865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
865 rm -rf conftest*
866 ac_cv_cygwin=yes
867 else
868 echo "configure: failed program was:" >&5
869 cat conftest.$ac_ext >&5
870 rm -rf conftest*
871 ac_cv_cygwin=no
873 rm -f conftest*
874 rm -f conftest*
877 echo "$ac_t""$ac_cv_cygwin" 1>&6
878 CYGWIN=
879 test "$ac_cv_cygwin" = yes && CYGWIN=yes
880 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
881 echo "configure:882: checking for mingw32 environment" >&5
882 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
883 echo $ac_n "(cached) $ac_c" 1>&6
884 else
885 cat > conftest.$ac_ext <<EOF
886 #line 887 "configure"
887 #include "confdefs.h"
889 int main() {
890 return __MINGW32__;
891 ; return 0; }
893 if { (eval echo configure:894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
894 rm -rf conftest*
895 ac_cv_mingw32=yes
896 else
897 echo "configure: failed program was:" >&5
898 cat conftest.$ac_ext >&5
899 rm -rf conftest*
900 ac_cv_mingw32=no
902 rm -f conftest*
903 rm -f conftest*
906 echo "$ac_t""$ac_cv_mingw32" 1>&6
907 MINGW32=
908 test "$ac_cv_mingw32" = yes && MINGW32=yes
910 # Check whether --enable-multilib or --disable-multilib was given.
911 if test "${enable_multilib+set}" = set; then
912 enableval="$enable_multilib"
913 case "${enableval}" in
914 yes) multilib=yes ;;
915 no) multilib=no ;;
916 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
917 esac
918 else
919 multilib=yes
922 if test "${srcdir}" = "."; then
923 if test "${with_target_subdir}" != "."; then
924 glibcpp_basedir="${srcdir}/${with_multisrctop}../."
925 else
926 glibcpp_basedir="${srcdir}/${with_multisrctop}."
928 else
929 glibcpp_basedir="${srcdir}/."
934 PACKAGE=libstdc++
936 VERSION=2.90.8
938 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
939 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
941 cat >> confdefs.h <<EOF
942 #define PACKAGE "$PACKAGE"
945 cat >> confdefs.h <<EOF
946 #define VERSION "$VERSION"
951 missing_dir=`cd $ac_aux_dir && pwd`
952 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
953 echo "configure:954: checking for working aclocal" >&5
954 # Run test in a subshell; some versions of sh will print an error if
955 # an executable is not found, even if stderr is redirected.
956 # Redirect stdin to placate older versions of autoconf. Sigh.
957 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
958 ACLOCAL=aclocal
959 echo "$ac_t""found" 1>&6
960 else
961 ACLOCAL="$missing_dir/missing aclocal"
962 echo "$ac_t""missing" 1>&6
965 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
966 echo "configure:967: checking for working autoconf" >&5
967 # Run test in a subshell; some versions of sh will print an error if
968 # an executable is not found, even if stderr is redirected.
969 # Redirect stdin to placate older versions of autoconf. Sigh.
970 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
971 AUTOCONF=autoconf
972 echo "$ac_t""found" 1>&6
973 else
974 AUTOCONF="$missing_dir/missing autoconf"
975 echo "$ac_t""missing" 1>&6
978 echo $ac_n "checking for working automake""... $ac_c" 1>&6
979 echo "configure:980: checking for working automake" >&5
980 # Run test in a subshell; some versions of sh will print an error if
981 # an executable is not found, even if stderr is redirected.
982 # Redirect stdin to placate older versions of autoconf. Sigh.
983 if (automake --version) < /dev/null > /dev/null 2>&1; then
984 AUTOMAKE=automake
985 echo "$ac_t""found" 1>&6
986 else
987 AUTOMAKE="$missing_dir/missing automake"
988 echo "$ac_t""missing" 1>&6
991 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
992 echo "configure:993: checking for working autoheader" >&5
993 # Run test in a subshell; some versions of sh will print an error if
994 # an executable is not found, even if stderr is redirected.
995 # Redirect stdin to placate older versions of autoconf. Sigh.
996 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
997 AUTOHEADER=autoheader
998 echo "$ac_t""found" 1>&6
999 else
1000 AUTOHEADER="$missing_dir/missing autoheader"
1001 echo "$ac_t""missing" 1>&6
1004 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1005 echo "configure:1006: checking for working makeinfo" >&5
1006 # Run test in a subshell; some versions of sh will print an error if
1007 # an executable is not found, even if stderr is redirected.
1008 # Redirect stdin to placate older versions of autoconf. Sigh.
1009 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1010 MAKEINFO=makeinfo
1011 echo "$ac_t""found" 1>&6
1012 else
1013 MAKEINFO="$missing_dir/missing makeinfo"
1014 echo "$ac_t""missing" 1>&6
1019 # Never versions of autoconf add an underscore to these functions.
1020 # Prevent future problems ...
1026 # AC_PROG_CC
1028 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1029 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1030 # are probably using a cross compiler, which will not be able to fully
1031 # link an executable. This should really be fixed in autoconf
1032 # itself.
1037 # Extract the first word of "gcc", so it can be a program name with args.
1038 set dummy gcc; ac_word=$2
1039 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1040 echo "configure:1041: checking for $ac_word" >&5
1041 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1042 echo $ac_n "(cached) $ac_c" 1>&6
1043 else
1044 if test -n "$CC"; then
1045 ac_cv_prog_CC="$CC" # Let the user override the test.
1046 else
1047 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1048 ac_dummy="$PATH"
1049 for ac_dir in $ac_dummy; do
1050 test -z "$ac_dir" && ac_dir=.
1051 if test -f $ac_dir/$ac_word; then
1052 ac_cv_prog_CC="gcc"
1053 break
1055 done
1056 IFS="$ac_save_ifs"
1059 CC="$ac_cv_prog_CC"
1060 if test -n "$CC"; then
1061 echo "$ac_t""$CC" 1>&6
1062 else
1063 echo "$ac_t""no" 1>&6
1066 if test -z "$CC"; then
1067 # Extract the first word of "cc", so it can be a program name with args.
1068 set dummy cc; ac_word=$2
1069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1070 echo "configure:1071: checking for $ac_word" >&5
1071 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1072 echo $ac_n "(cached) $ac_c" 1>&6
1073 else
1074 if test -n "$CC"; then
1075 ac_cv_prog_CC="$CC" # Let the user override the test.
1076 else
1077 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1078 ac_prog_rejected=no
1079 ac_dummy="$PATH"
1080 for ac_dir in $ac_dummy; do
1081 test -z "$ac_dir" && ac_dir=.
1082 if test -f $ac_dir/$ac_word; then
1083 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1084 ac_prog_rejected=yes
1085 continue
1087 ac_cv_prog_CC="cc"
1088 break
1090 done
1091 IFS="$ac_save_ifs"
1092 if test $ac_prog_rejected = yes; then
1093 # We found a bogon in the path, so make sure we never use it.
1094 set dummy $ac_cv_prog_CC
1095 shift
1096 if test $# -gt 0; then
1097 # We chose a different compiler from the bogus one.
1098 # However, it has the same basename, so the bogon will be chosen
1099 # first if we set CC to just the basename; use the full file name.
1100 shift
1101 set dummy "$ac_dir/$ac_word" "$@"
1102 shift
1103 ac_cv_prog_CC="$@"
1108 CC="$ac_cv_prog_CC"
1109 if test -n "$CC"; then
1110 echo "$ac_t""$CC" 1>&6
1111 else
1112 echo "$ac_t""no" 1>&6
1115 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1118 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1119 echo "configure:1120: checking whether we are using GNU C" >&5
1120 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1121 echo $ac_n "(cached) $ac_c" 1>&6
1122 else
1123 cat > conftest.c <<EOF
1124 #ifdef __GNUC__
1125 yes;
1126 #endif
1128 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1129 ac_cv_prog_gcc=yes
1130 else
1131 ac_cv_prog_gcc=no
1135 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1137 if test $ac_cv_prog_gcc = yes; then
1138 GCC=yes
1139 ac_test_CFLAGS="${CFLAGS+set}"
1140 ac_save_CFLAGS="$CFLAGS"
1141 CFLAGS=
1142 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1143 echo "configure:1144: checking whether ${CC-cc} accepts -g" >&5
1144 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1145 echo $ac_n "(cached) $ac_c" 1>&6
1146 else
1147 echo 'void f(){}' > conftest.c
1148 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1149 ac_cv_prog_cc_g=yes
1150 else
1151 ac_cv_prog_cc_g=no
1153 rm -f conftest*
1157 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1158 if test "$ac_test_CFLAGS" = set; then
1159 CFLAGS="$ac_save_CFLAGS"
1160 elif test $ac_cv_prog_cc_g = yes; then
1161 CFLAGS="-g -O2"
1162 else
1163 CFLAGS="-O2"
1165 else
1166 GCC=
1167 test "${CFLAGS+set}" = set || CFLAGS="-g"
1171 # Can't just call these here as g++ requires libstc++ to be built....
1172 # AC_PROG_CXX
1174 # Likewise for AC_PROG_CXX.
1178 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1180 # Extract the first word of "$ac_prog", so it can be a program name with args.
1181 set dummy $ac_prog; ac_word=$2
1182 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1183 echo "configure:1184: checking for $ac_word" >&5
1184 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1185 echo $ac_n "(cached) $ac_c" 1>&6
1186 else
1187 if test -n "$CXX"; then
1188 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1189 else
1190 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1191 ac_dummy="$PATH"
1192 for ac_dir in $ac_dummy; do
1193 test -z "$ac_dir" && ac_dir=.
1194 if test -f $ac_dir/$ac_word; then
1195 ac_cv_prog_CXX="$ac_prog"
1196 break
1198 done
1199 IFS="$ac_save_ifs"
1202 CXX="$ac_cv_prog_CXX"
1203 if test -n "$CXX"; then
1204 echo "$ac_t""$CXX" 1>&6
1205 else
1206 echo "$ac_t""no" 1>&6
1209 test -n "$CXX" && break
1210 done
1211 test -n "$CXX" || CXX="gcc"
1213 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1215 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1216 echo "configure:1217: checking whether we are using GNU C++" >&5
1217 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1218 echo $ac_n "(cached) $ac_c" 1>&6
1219 else
1220 cat > conftest.C <<EOF
1221 #ifdef __GNUC__
1222 yes;
1223 #endif
1225 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1226 ac_cv_prog_gxx=yes
1227 else
1228 ac_cv_prog_gxx=no
1232 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1234 if test $ac_cv_prog_gxx = yes; then
1235 GXX=yes
1236 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1237 ac_save_CXXFLAGS="$CXXFLAGS"
1238 CXXFLAGS=
1239 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1240 echo "configure:1241: checking whether ${CXX-g++} accepts -g" >&5
1241 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1242 echo $ac_n "(cached) $ac_c" 1>&6
1243 else
1244 echo 'void f(){}' > conftest.cc
1245 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1246 ac_cv_prog_cxx_g=yes
1247 else
1248 ac_cv_prog_cxx_g=no
1250 rm -f conftest*
1254 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1255 if test "$ac_test_CXXFLAGS" = set; then
1256 CXXFLAGS="$ac_save_CXXFLAGS"
1257 elif test $ac_cv_prog_cxx_g = yes; then
1258 CXXFLAGS="-g -O2"
1259 else
1260 CXXFLAGS="-O2"
1262 else
1263 GXX=
1264 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1268 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1269 set dummy ${ac_tool_prefix}as; ac_word=$2
1270 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1271 echo "configure:1272: checking for $ac_word" >&5
1272 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1273 echo $ac_n "(cached) $ac_c" 1>&6
1274 else
1275 if test -n "$AS"; then
1276 ac_cv_prog_AS="$AS" # Let the user override the test.
1277 else
1278 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1279 ac_dummy="$PATH"
1280 for ac_dir in $ac_dummy; do
1281 test -z "$ac_dir" && ac_dir=.
1282 if test -f $ac_dir/$ac_word; then
1283 ac_cv_prog_AS="${ac_tool_prefix}as"
1284 break
1286 done
1287 IFS="$ac_save_ifs"
1288 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1291 AS="$ac_cv_prog_AS"
1292 if test -n "$AS"; then
1293 echo "$ac_t""$AS" 1>&6
1294 else
1295 echo "$ac_t""no" 1>&6
1300 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1301 set dummy ${ac_tool_prefix}ar; ac_word=$2
1302 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1303 echo "configure:1304: checking for $ac_word" >&5
1304 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1305 echo $ac_n "(cached) $ac_c" 1>&6
1306 else
1307 if test -n "$AR"; then
1308 ac_cv_prog_AR="$AR" # Let the user override the test.
1309 else
1310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1311 ac_dummy="$PATH"
1312 for ac_dir in $ac_dummy; do
1313 test -z "$ac_dir" && ac_dir=.
1314 if test -f $ac_dir/$ac_word; then
1315 ac_cv_prog_AR="${ac_tool_prefix}ar"
1316 break
1318 done
1319 IFS="$ac_save_ifs"
1320 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1323 AR="$ac_cv_prog_AR"
1324 if test -n "$AR"; then
1325 echo "$ac_t""$AR" 1>&6
1326 else
1327 echo "$ac_t""no" 1>&6
1332 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1333 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1334 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1335 echo "configure:1336: checking for $ac_word" >&5
1336 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1337 echo $ac_n "(cached) $ac_c" 1>&6
1338 else
1339 if test -n "$RANLIB"; then
1340 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1341 else
1342 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1343 ac_dummy="$PATH"
1344 for ac_dir in $ac_dummy; do
1345 test -z "$ac_dir" && ac_dir=.
1346 if test -f $ac_dir/$ac_word; then
1347 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1348 break
1350 done
1351 IFS="$ac_save_ifs"
1354 RANLIB="$ac_cv_prog_RANLIB"
1355 if test -n "$RANLIB"; then
1356 echo "$ac_t""$RANLIB" 1>&6
1357 else
1358 echo "$ac_t""no" 1>&6
1362 if test -z "$ac_cv_prog_RANLIB"; then
1363 if test -n "$ac_tool_prefix"; then
1364 # Extract the first word of "ranlib", so it can be a program name with args.
1365 set dummy ranlib; ac_word=$2
1366 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1367 echo "configure:1368: checking for $ac_word" >&5
1368 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1369 echo $ac_n "(cached) $ac_c" 1>&6
1370 else
1371 if test -n "$RANLIB"; then
1372 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1373 else
1374 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1375 ac_dummy="$PATH"
1376 for ac_dir in $ac_dummy; do
1377 test -z "$ac_dir" && ac_dir=.
1378 if test -f $ac_dir/$ac_word; then
1379 ac_cv_prog_RANLIB="ranlib"
1380 break
1382 done
1383 IFS="$ac_save_ifs"
1384 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1387 RANLIB="$ac_cv_prog_RANLIB"
1388 if test -n "$RANLIB"; then
1389 echo "$ac_t""$RANLIB" 1>&6
1390 else
1391 echo "$ac_t""no" 1>&6
1394 else
1395 RANLIB=":"
1400 # Find a good install program. We prefer a C program (faster),
1401 # so one script is as good as another. But avoid the broken or
1402 # incompatible versions:
1403 # SysV /etc/install, /usr/sbin/install
1404 # SunOS /usr/etc/install
1405 # IRIX /sbin/install
1406 # AIX /bin/install
1407 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1408 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1409 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1410 # ./install, which can be erroneously created by make from ./install.sh.
1411 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1412 echo "configure:1413: checking for a BSD compatible install" >&5
1413 if test -z "$INSTALL"; then
1414 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1415 echo $ac_n "(cached) $ac_c" 1>&6
1416 else
1417 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1418 for ac_dir in $PATH; do
1419 # Account for people who put trailing slashes in PATH elements.
1420 case "$ac_dir/" in
1421 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1423 # OSF1 and SCO ODT 3.0 have their own names for install.
1424 # Don't use installbsd from OSF since it installs stuff as root
1425 # by default.
1426 for ac_prog in ginstall scoinst install; do
1427 if test -f $ac_dir/$ac_prog; then
1428 if test $ac_prog = install &&
1429 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1430 # AIX install. It has an incompatible calling convention.
1432 else
1433 ac_cv_path_install="$ac_dir/$ac_prog -c"
1434 break 2
1437 done
1439 esac
1440 done
1441 IFS="$ac_save_IFS"
1444 if test "${ac_cv_path_install+set}" = set; then
1445 INSTALL="$ac_cv_path_install"
1446 else
1447 # As a last resort, use the slow shell script. We don't cache a
1448 # path for INSTALL within a source directory, because that will
1449 # break other packages using the cache if that directory is
1450 # removed, or if the path is relative.
1451 INSTALL="$ac_install_sh"
1454 echo "$ac_t""$INSTALL" 1>&6
1456 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1457 # It thinks the first close brace ends the variable substitution.
1458 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1460 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1462 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1465 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1466 echo "configure:1467: checking whether to enable maintainer-specific portions of Makefiles" >&5
1467 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1468 if test "${enable_maintainer_mode+set}" = set; then
1469 enableval="$enable_maintainer_mode"
1470 USE_MAINTAINER_MODE=$enableval
1471 else
1472 USE_MAINTAINER_MODE=no
1475 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1478 if test $USE_MAINTAINER_MODE = yes; then
1479 MAINTAINER_MODE_TRUE=
1480 MAINTAINER_MODE_FALSE='#'
1481 else
1482 MAINTAINER_MODE_TRUE='#'
1483 MAINTAINER_MODE_FALSE=
1485 MAINT=$MAINTAINER_MODE_TRUE
1489 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1490 # at least currently, we never actually build a program, so we never
1491 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1492 # fails, because we are probably configuring with a cross compiler
1493 # which cant create executables. So we include AC_EXEEXT to keep
1494 # automake happy, but we dont execute it, since we dont care about
1495 # the result.
1496 if false; then
1499 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1500 echo "configure:1501: checking for executable suffix" >&5
1501 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1502 echo $ac_n "(cached) $ac_c" 1>&6
1503 else
1504 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1505 ac_cv_exeext=.exe
1506 else
1507 rm -f conftest*
1508 echo 'int main () { return 0; }' > conftest.$ac_ext
1509 ac_cv_exeext=
1510 if { (eval echo configure:1511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1511 for file in conftest.*; do
1512 case $file in
1513 *.c | *.o | *.obj) ;;
1514 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1515 esac
1516 done
1517 else
1518 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1520 rm -f conftest*
1521 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1525 EXEEXT=""
1526 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1527 echo "$ac_t""${ac_cv_exeext}" 1>&6
1528 ac_exeext=$EXEEXT
1532 # configure.host sets the following important variables
1533 # glibcpp_cflags - host specific C compiler flags
1534 # glibcpp_cxxflags - host specific C++ compiler flags
1535 glibcpp_cflags=
1536 glibcpp_cxxflags=
1538 . ${glibcpp_basedir}/configure.host
1540 case ${glibcpp_basedir} in
1541 /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1542 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1543 esac
1545 GLIBCPP_CFLAGS="${glibcpp_cflags}"
1546 GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1551 # Check whether --enable-shared or --disable-shared was given.
1552 if test "${enable_shared+set}" = set; then
1553 enableval="$enable_shared"
1554 p=${PACKAGE-default}
1555 case "$enableval" in
1556 yes) enable_shared=yes ;;
1557 no) enable_shared=no ;;
1559 enable_shared=no
1560 # Look at the argument we got. We use all the common list separators.
1561 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1562 for pkg in $enableval; do
1563 if test "X$pkg" = "X$p"; then
1564 enable_shared=yes
1566 done
1567 IFS="$ac_save_ifs"
1569 esac
1570 else
1571 enable_shared=yes
1574 # Check whether --enable-static or --disable-static was given.
1575 if test "${enable_static+set}" = set; then
1576 enableval="$enable_static"
1577 p=${PACKAGE-default}
1578 case "$enableval" in
1579 yes) enable_static=yes ;;
1580 no) enable_static=no ;;
1582 enable_static=no
1583 # Look at the argument we got. We use all the common list separators.
1584 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1585 for pkg in $enableval; do
1586 if test "X$pkg" = "X$p"; then
1587 enable_static=yes
1589 done
1590 IFS="$ac_save_ifs"
1592 esac
1593 else
1594 enable_static=yes
1597 # Check whether --enable-fast-install or --disable-fast-install was given.
1598 if test "${enable_fast_install+set}" = set; then
1599 enableval="$enable_fast_install"
1600 p=${PACKAGE-default}
1601 case "$enableval" in
1602 yes) enable_fast_install=yes ;;
1603 no) enable_fast_install=no ;;
1605 enable_fast_install=no
1606 # Look at the argument we got. We use all the common list separators.
1607 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1608 for pkg in $enableval; do
1609 if test "X$pkg" = "X$p"; then
1610 enable_fast_install=yes
1612 done
1613 IFS="$ac_save_ifs"
1615 esac
1616 else
1617 enable_fast_install=yes
1620 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1621 if test "${with_gnu_ld+set}" = set; then
1622 withval="$with_gnu_ld"
1623 test "$withval" = no || with_gnu_ld=yes
1624 else
1625 with_gnu_ld=no
1628 ac_prog=ld
1629 if test "$ac_cv_prog_gcc" = yes; then
1630 # Check if gcc -print-prog-name=ld gives a path.
1631 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1632 echo "configure:1633: checking for ld used by GCC" >&5
1633 case $host in
1634 *-*-mingw*)
1635 # gcc leaves a trailing carriage return which upsets mingw
1636 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1638 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1639 esac
1640 case "$ac_prog" in
1641 # Accept absolute paths.
1642 [\\/]* | [A-Za-z]:[\\/]*)
1643 re_direlt='/[^/][^/]*/\.\./'
1644 # Canonicalize the path of ld
1645 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1646 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1647 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1648 done
1649 test -z "$LD" && LD="$ac_prog"
1652 # If it fails, then pretend we aren't using GCC.
1653 ac_prog=ld
1656 # If it is relative, then search for the first ld in PATH.
1657 with_gnu_ld=unknown
1659 esac
1660 elif test "$with_gnu_ld" = yes; then
1661 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1662 echo "configure:1663: checking for GNU ld" >&5
1663 else
1664 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1665 echo "configure:1666: checking for non-GNU ld" >&5
1667 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1668 echo $ac_n "(cached) $ac_c" 1>&6
1669 else
1670 if test -z "$LD"; then
1671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1672 for ac_dir in $PATH; do
1673 test -z "$ac_dir" && ac_dir=.
1674 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1675 ac_cv_path_LD="$ac_dir/$ac_prog"
1676 # Check to see if the program is GNU ld. I'd rather use --version,
1677 # but apparently some GNU ld's only accept -v.
1678 # Break only if it was the GNU/non-GNU ld that we prefer.
1679 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1680 test "$with_gnu_ld" != no && break
1681 else
1682 test "$with_gnu_ld" != yes && break
1685 done
1686 IFS="$ac_save_ifs"
1687 else
1688 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1692 LD="$ac_cv_path_LD"
1693 if test -n "$LD"; then
1694 echo "$ac_t""$LD" 1>&6
1695 else
1696 echo "$ac_t""no" 1>&6
1698 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1699 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1700 echo "configure:1701: checking if the linker ($LD) is GNU ld" >&5
1701 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1702 echo $ac_n "(cached) $ac_c" 1>&6
1703 else
1704 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1705 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1706 ac_cv_prog_gnu_ld=yes
1707 else
1708 ac_cv_prog_gnu_ld=no
1712 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1713 with_gnu_ld=$ac_cv_prog_gnu_ld
1716 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1717 echo "configure:1718: checking for $LD option to reload object files" >&5
1718 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1719 echo $ac_n "(cached) $ac_c" 1>&6
1720 else
1721 lt_cv_ld_reload_flag='-r'
1724 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1725 reload_flag=$lt_cv_ld_reload_flag
1726 test -n "$reload_flag" && reload_flag=" $reload_flag"
1728 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1729 echo "configure:1730: checking for BSD-compatible nm" >&5
1730 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1731 echo $ac_n "(cached) $ac_c" 1>&6
1732 else
1733 if test -n "$NM"; then
1734 # Let the user override the test.
1735 ac_cv_path_NM="$NM"
1736 else
1737 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1738 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1739 test -z "$ac_dir" && ac_dir=.
1740 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1741 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1742 # Check to see if the nm accepts a BSD-compat flag.
1743 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1744 # nm: unknown option "B" ignored
1745 # Tru64's nm complains that /dev/null is an invalid object file
1746 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1747 ac_cv_path_NM="$tmp_nm -B"
1748 break
1749 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1750 ac_cv_path_NM="$tmp_nm -p"
1751 break
1752 else
1753 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1754 continue # so that we can try to find one that supports BSD flags
1757 done
1758 IFS="$ac_save_ifs"
1759 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1763 NM="$ac_cv_path_NM"
1764 echo "$ac_t""$NM" 1>&6
1766 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1767 echo "configure:1768: checking whether ln -s works" >&5
1768 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1769 echo $ac_n "(cached) $ac_c" 1>&6
1770 else
1771 rm -f conftestdata
1772 if ln -s X conftestdata 2>/dev/null
1773 then
1774 rm -f conftestdata
1775 ac_cv_prog_LN_S="ln -s"
1776 else
1777 ac_cv_prog_LN_S=ln
1780 LN_S="$ac_cv_prog_LN_S"
1781 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1782 echo "$ac_t""yes" 1>&6
1783 else
1784 echo "$ac_t""no" 1>&6
1787 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1788 echo "configure:1789: checking how to recognise dependant libraries" >&5
1789 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1790 echo $ac_n "(cached) $ac_c" 1>&6
1791 else
1792 lt_cv_file_magic_cmd='$MAGIC_CMD'
1793 lt_cv_file_magic_test_file=
1794 lt_cv_deplibs_check_method='unknown'
1795 # Need to set the preceding variable on all platforms that support
1796 # interlibrary dependencies.
1797 # 'none' -- dependencies not supported.
1798 # `unknown' -- same as none, but documents that we really don't know.
1799 # 'pass_all' -- all dependencies passed with no checks.
1800 # 'test_compile' -- check by making test program.
1801 # 'file_magic [regex]' -- check by looking for files in library path
1802 # which responds to the $file_magic_cmd with a given egrep regex.
1803 # If you have `file' or equivalent on your system and you're not sure
1804 # whether `pass_all' will *always* work, you probably want this one.
1806 case "$host_os" in
1807 aix4*)
1808 lt_cv_deplibs_check_method=pass_all
1811 beos*)
1812 lt_cv_deplibs_check_method=pass_all
1815 bsdi4*)
1816 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1817 lt_cv_file_magic_cmd='/usr/bin/file -L'
1818 lt_cv_file_magic_test_file=/shlib/libc.so
1821 cygwin* | mingw* |pw32*)
1822 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1823 lt_cv_file_magic_cmd='$OBJDUMP -f'
1826 freebsd* )
1827 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1828 case "$host_cpu" in
1829 i*86 )
1830 # Not sure whether the presence of OpenBSD here was a mistake.
1831 # Let's accept both of them until this is cleared up.
1832 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1833 lt_cv_file_magic_cmd=/usr/bin/file
1834 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1836 esac
1837 else
1838 lt_cv_deplibs_check_method=pass_all
1842 gnu*)
1843 lt_cv_deplibs_check_method=pass_all
1846 hpux10.20*)
1847 # TODO: Does this work for hpux-11 too?
1848 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1849 lt_cv_file_magic_cmd=/usr/bin/file
1850 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1853 irix5* | irix6*)
1854 case "$host_os" in
1855 irix5*)
1856 # this will be overridden with pass_all, but let us keep it just in case
1857 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1860 case "$LD" in
1861 *-32|*"-32 ") libmagic=32-bit;;
1862 *-n32|*"-n32 ") libmagic=N32;;
1863 *-64|*"-64 ") libmagic=64-bit;;
1864 *) libmagic=never-match;;
1865 esac
1866 # this will be overridden with pass_all, but let us keep it just in case
1867 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1869 esac
1870 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1871 lt_cv_deplibs_check_method=pass_all
1874 # This must be Linux ELF.
1875 linux-gnu*)
1876 case "$host_cpu" in
1877 alpha* | i*86 | powerpc* | sparc* | ia64* )
1878 lt_cv_deplibs_check_method=pass_all ;;
1880 # glibc up to 2.1.1 does not perform some relocations on ARM
1881 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1882 esac
1883 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1886 netbsd*)
1887 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1888 else
1889 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1890 lt_cv_file_magic_cmd='/usr/bin/file -L'
1891 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1895 osf3* | osf4* | osf5*)
1896 # this will be overridden with pass_all, but let us keep it just in case
1897 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1898 lt_cv_file_magic_test_file=/shlib/libc.so
1899 lt_cv_deplibs_check_method=pass_all
1902 sco3.2v5*)
1903 lt_cv_deplibs_check_method=pass_all
1906 solaris*)
1907 lt_cv_deplibs_check_method=pass_all
1908 lt_cv_file_magic_test_file=/lib/libc.so
1911 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1912 case "$host_vendor" in
1913 ncr)
1914 lt_cv_deplibs_check_method=pass_all
1916 motorola)
1917 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]'
1918 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1920 esac
1922 esac
1926 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1927 file_magic_cmd=$lt_cv_file_magic_cmd
1928 deplibs_check_method=$lt_cv_deplibs_check_method
1930 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1931 echo "configure:1932: checking for object suffix" >&5
1932 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1933 echo $ac_n "(cached) $ac_c" 1>&6
1934 else
1935 rm -f conftest*
1936 echo 'int i = 1;' > conftest.$ac_ext
1937 if { (eval echo configure:1938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1938 for ac_file in conftest.*; do
1939 case $ac_file in
1940 *.c) ;;
1941 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1942 esac
1943 done
1944 else
1945 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1947 rm -f conftest*
1950 echo "$ac_t""$ac_cv_objext" 1>&6
1951 OBJEXT=$ac_cv_objext
1952 ac_objext=$ac_cv_objext
1954 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1956 # Only perform the check for file, if the check method requires it
1957 case "$deplibs_check_method" in
1958 file_magic*)
1959 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1960 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1961 echo "configure:1962: checking for ${ac_tool_prefix}file" >&5
1962 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1963 echo $ac_n "(cached) $ac_c" 1>&6
1964 else
1965 case "$MAGIC_CMD" in
1967 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1969 ?:/*)
1970 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1973 ac_save_MAGIC_CMD="$MAGIC_CMD"
1974 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1975 ac_dummy="/usr/bin:$PATH"
1976 for ac_dir in $ac_dummy; do
1977 test -z "$ac_dir" && ac_dir=.
1978 if test -f $ac_dir/${ac_tool_prefix}file; then
1979 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1980 if test -n "$file_magic_test_file"; then
1981 case "$deplibs_check_method" in
1982 "file_magic "*)
1983 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1985 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1986 egrep "$file_magic_regex" > /dev/null; then
1988 else
1989 cat <<EOF 1>&2
1991 *** Warning: the command libtool uses to detect shared libraries,
1992 *** $file_magic_cmd, produces output that libtool cannot recognize.
1993 *** The result is that libtool may fail to recognize shared libraries
1994 *** as such. This will affect the creation of libtool libraries that
1995 *** depend on shared libraries, but programs linked with such libtool
1996 *** libraries will work regardless of this problem. Nevertheless, you
1997 *** may want to report the problem to your system manager and/or to
1998 *** bug-libtool@gnu.org
2001 fi ;;
2002 esac
2004 break
2006 done
2007 IFS="$ac_save_ifs"
2008 MAGIC_CMD="$ac_save_MAGIC_CMD"
2010 esac
2013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2014 if test -n "$MAGIC_CMD"; then
2015 echo "$ac_t""$MAGIC_CMD" 1>&6
2016 else
2017 echo "$ac_t""no" 1>&6
2020 if test -z "$lt_cv_path_MAGIC_CMD"; then
2021 if test -n "$ac_tool_prefix"; then
2022 echo $ac_n "checking for file""... $ac_c" 1>&6
2023 echo "configure:2024: checking for file" >&5
2024 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2025 echo $ac_n "(cached) $ac_c" 1>&6
2026 else
2027 case "$MAGIC_CMD" in
2029 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2031 ?:/*)
2032 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2035 ac_save_MAGIC_CMD="$MAGIC_CMD"
2036 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2037 ac_dummy="/usr/bin:$PATH"
2038 for ac_dir in $ac_dummy; do
2039 test -z "$ac_dir" && ac_dir=.
2040 if test -f $ac_dir/file; then
2041 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2042 if test -n "$file_magic_test_file"; then
2043 case "$deplibs_check_method" in
2044 "file_magic "*)
2045 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2046 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2047 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2048 egrep "$file_magic_regex" > /dev/null; then
2050 else
2051 cat <<EOF 1>&2
2053 *** Warning: the command libtool uses to detect shared libraries,
2054 *** $file_magic_cmd, produces output that libtool cannot recognize.
2055 *** The result is that libtool may fail to recognize shared libraries
2056 *** as such. This will affect the creation of libtool libraries that
2057 *** depend on shared libraries, but programs linked with such libtool
2058 *** libraries will work regardless of this problem. Nevertheless, you
2059 *** may want to report the problem to your system manager and/or to
2060 *** bug-libtool@gnu.org
2063 fi ;;
2064 esac
2066 break
2068 done
2069 IFS="$ac_save_ifs"
2070 MAGIC_CMD="$ac_save_MAGIC_CMD"
2072 esac
2075 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2076 if test -n "$MAGIC_CMD"; then
2077 echo "$ac_t""$MAGIC_CMD" 1>&6
2078 else
2079 echo "$ac_t""no" 1>&6
2082 else
2083 MAGIC_CMD=:
2089 esac
2091 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2092 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2093 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2094 echo "configure:2095: checking for $ac_word" >&5
2095 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2096 echo $ac_n "(cached) $ac_c" 1>&6
2097 else
2098 if test -n "$RANLIB"; then
2099 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2100 else
2101 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2102 ac_dummy="$PATH"
2103 for ac_dir in $ac_dummy; do
2104 test -z "$ac_dir" && ac_dir=.
2105 if test -f $ac_dir/$ac_word; then
2106 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2107 break
2109 done
2110 IFS="$ac_save_ifs"
2113 RANLIB="$ac_cv_prog_RANLIB"
2114 if test -n "$RANLIB"; then
2115 echo "$ac_t""$RANLIB" 1>&6
2116 else
2117 echo "$ac_t""no" 1>&6
2121 if test -z "$ac_cv_prog_RANLIB"; then
2122 if test -n "$ac_tool_prefix"; then
2123 # Extract the first word of "ranlib", so it can be a program name with args.
2124 set dummy ranlib; ac_word=$2
2125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2126 echo "configure:2127: checking for $ac_word" >&5
2127 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2128 echo $ac_n "(cached) $ac_c" 1>&6
2129 else
2130 if test -n "$RANLIB"; then
2131 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2132 else
2133 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2134 ac_dummy="$PATH"
2135 for ac_dir in $ac_dummy; do
2136 test -z "$ac_dir" && ac_dir=.
2137 if test -f $ac_dir/$ac_word; then
2138 ac_cv_prog_RANLIB="ranlib"
2139 break
2141 done
2142 IFS="$ac_save_ifs"
2143 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2146 RANLIB="$ac_cv_prog_RANLIB"
2147 if test -n "$RANLIB"; then
2148 echo "$ac_t""$RANLIB" 1>&6
2149 else
2150 echo "$ac_t""no" 1>&6
2153 else
2154 RANLIB=":"
2158 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2159 set dummy ${ac_tool_prefix}strip; ac_word=$2
2160 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2161 echo "configure:2162: checking for $ac_word" >&5
2162 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2163 echo $ac_n "(cached) $ac_c" 1>&6
2164 else
2165 if test -n "$STRIP"; then
2166 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2167 else
2168 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2169 ac_dummy="$PATH"
2170 for ac_dir in $ac_dummy; do
2171 test -z "$ac_dir" && ac_dir=.
2172 if test -f $ac_dir/$ac_word; then
2173 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2174 break
2176 done
2177 IFS="$ac_save_ifs"
2180 STRIP="$ac_cv_prog_STRIP"
2181 if test -n "$STRIP"; then
2182 echo "$ac_t""$STRIP" 1>&6
2183 else
2184 echo "$ac_t""no" 1>&6
2188 if test -z "$ac_cv_prog_STRIP"; then
2189 if test -n "$ac_tool_prefix"; then
2190 # Extract the first word of "strip", so it can be a program name with args.
2191 set dummy strip; ac_word=$2
2192 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2193 echo "configure:2194: checking for $ac_word" >&5
2194 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2195 echo $ac_n "(cached) $ac_c" 1>&6
2196 else
2197 if test -n "$STRIP"; then
2198 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2199 else
2200 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2201 ac_dummy="$PATH"
2202 for ac_dir in $ac_dummy; do
2203 test -z "$ac_dir" && ac_dir=.
2204 if test -f $ac_dir/$ac_word; then
2205 ac_cv_prog_STRIP="strip"
2206 break
2208 done
2209 IFS="$ac_save_ifs"
2210 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2213 STRIP="$ac_cv_prog_STRIP"
2214 if test -n "$STRIP"; then
2215 echo "$ac_t""$STRIP" 1>&6
2216 else
2217 echo "$ac_t""no" 1>&6
2220 else
2221 STRIP=":"
2226 # Check for any special flags to pass to ltconfig.
2227 libtool_flags="--cache-file=$cache_file"
2228 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2229 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2230 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2231 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2232 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2233 libtool_flags="$libtool_flags --enable-dlopen"
2235 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2236 if test "${enable_libtool_lock+set}" = set; then
2237 enableval="$enable_libtool_lock"
2241 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2242 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2244 # Check whether --with-pic or --without-pic was given.
2245 if test "${with_pic+set}" = set; then
2246 withval="$with_pic"
2247 pic_mode="$withval"
2248 else
2249 pic_mode=default
2252 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2253 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2255 # Some flags need to be propagated to the compiler or linker for good
2256 # libtool support.
2257 case "$host" in
2258 *-*-irix6*)
2259 # Find out which ABI we are using.
2260 echo '#line 2261 "configure"' > conftest.$ac_ext
2261 if { (eval echo configure:2262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2262 case "`/usr/bin/file conftest.o`" in
2263 *32-bit*)
2264 LD="${LD-ld} -32"
2266 *N32*)
2267 LD="${LD-ld} -n32"
2269 *64-bit*)
2270 LD="${LD-ld} -64"
2272 esac
2274 rm -rf conftest*
2277 *-*-sco3.2v5*)
2278 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2279 SAVE_CFLAGS="$CFLAGS"
2280 CFLAGS="$CFLAGS -belf"
2281 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2282 echo "configure:2283: checking whether the C compiler needs -belf" >&5
2283 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2284 echo $ac_n "(cached) $ac_c" 1>&6
2285 else
2287 ac_ext=c
2288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2289 ac_cpp='$CPP $CPPFLAGS'
2290 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2291 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2292 cross_compiling=$ac_cv_prog_cc_cross
2294 cat > conftest.$ac_ext <<EOF
2295 #line 2296 "configure"
2296 #include "confdefs.h"
2298 int main() {
2300 ; return 0; }
2302 if { (eval echo configure:2303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2303 rm -rf conftest*
2304 lt_cv_cc_needs_belf=yes
2305 else
2306 echo "configure: failed program was:" >&5
2307 cat conftest.$ac_ext >&5
2308 rm -rf conftest*
2309 lt_cv_cc_needs_belf=no
2311 rm -f conftest*
2312 ac_ext=c
2313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2314 ac_cpp='$CPP $CPPFLAGS'
2315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2317 cross_compiling=$ac_cv_prog_cc_cross
2321 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2322 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2323 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2324 CFLAGS="$SAVE_CFLAGS"
2329 esac
2331 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2332 echo "configure:2333: checking how to run the C++ preprocessor" >&5
2333 if test -z "$CXXCPP"; then
2334 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2335 echo $ac_n "(cached) $ac_c" 1>&6
2336 else
2337 ac_ext=C
2338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2339 ac_cpp='$CXXCPP $CPPFLAGS'
2340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2342 cross_compiling=$ac_cv_prog_cxx_cross
2343 CXXCPP="${CXX-g++} -E"
2344 cat > conftest.$ac_ext <<EOF
2345 #line 2346 "configure"
2346 #include "confdefs.h"
2347 #include <stdlib.h>
2349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2350 { (eval echo configure:2351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2352 if test -z "$ac_err"; then
2354 else
2355 echo "$ac_err" >&5
2356 echo "configure: failed program was:" >&5
2357 cat conftest.$ac_ext >&5
2358 rm -rf conftest*
2359 CXXCPP=/lib/cpp
2361 rm -f conftest*
2362 ac_cv_prog_CXXCPP="$CXXCPP"
2363 ac_ext=c
2364 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2365 ac_cpp='$CPP $CPPFLAGS'
2366 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2367 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2368 cross_compiling=$ac_cv_prog_cc_cross
2371 CXXCPP="$ac_cv_prog_CXXCPP"
2372 echo "$ac_t""$CXXCPP" 1>&6
2375 # Save cache, so that ltconfig can load it
2376 cat > confcache <<\EOF
2377 # This file is a shell script that caches the results of configure
2378 # tests run on this system so they can be shared between configure
2379 # scripts and configure runs. It is not useful on other systems.
2380 # If it contains results you don't want to keep, you may remove or edit it.
2382 # By default, configure uses ./config.cache as the cache file,
2383 # creating it if it does not exist already. You can give configure
2384 # the --cache-file=FILE option to use a different cache file; that is
2385 # what configure does when it calls configure scripts in
2386 # subdirectories, so they share the cache.
2387 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2388 # config.status only pays attention to the cache file if you give it the
2389 # --recheck option to rerun configure.
2392 # The following way of writing the cache mishandles newlines in values,
2393 # but we know of no workaround that is simple, portable, and efficient.
2394 # So, don't put newlines in cache variables' values.
2395 # Ultrix sh set writes to stderr and can't be redirected directly,
2396 # and sets the high bit in the cache file unless we assign to the vars.
2397 (set) 2>&1 |
2398 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2399 *ac_space=\ *)
2400 # `set' does not quote correctly, so add quotes (double-quote substitution
2401 # turns \\\\ into \\, and sed turns \\ into \).
2402 sed -n \
2403 -e "s/'/'\\\\''/g" \
2404 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2407 # `set' quotes correctly as required by POSIX, so do not add quotes.
2408 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2410 esac >> confcache
2411 if cmp -s $cache_file confcache; then
2413 else
2414 if test -w $cache_file; then
2415 echo "updating cache $cache_file"
2416 cat confcache > $cache_file
2417 else
2418 echo "not updating unwritable cache $cache_file"
2421 rm -f confcache
2424 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2425 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2426 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2427 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2428 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2429 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2430 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2431 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2432 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2433 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2435 # Reload cache, that may have been modified by ltconfig
2436 if test -r "$cache_file"; then
2437 echo "loading cache $cache_file"
2438 . $cache_file
2439 else
2440 echo "creating cache $cache_file"
2441 > $cache_file
2445 # This can be used to rebuild libtool when needed
2446 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2448 # Always use our own libtool.
2449 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2451 # Redirect the config.log output again, so that the ltconfig log is not
2452 # clobbered by the next message.
2453 exec 5>>./config.log
2458 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2459 lt_save_CC="$CC"
2460 lt_save_CFLAGS="$CFLAGS"
2461 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2462 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2463 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2464 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2465 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2466 deplibs_check_method="$deplibs_check_method" \
2467 file_magic_cmd="$file_magic_cmd" \
2468 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2469 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2470 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2471 CC="$lt_save_CC"
2472 CFLAGS="$lt_save_CFLAGS"
2474 # Redirect the config.log output again, so that the ltconfig log is not
2475 # clobbered by the next message.
2476 exec 5>>./config.log
2486 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2487 echo "configure:2488: checking for GNU make" >&5
2488 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2489 echo $ac_n "(cached) $ac_c" 1>&6
2490 else
2491 _cv_gnu_make_command='' ;
2492 for a in "${MAKE:-make}" make gmake gnumake ; do
2493 if ( $a --version 2> /dev/null | grep -c GNU )
2494 then
2495 _cv_gnu_make_command=$a ;
2496 break;
2498 done ;
2502 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2503 if test "x$_cv_gnu_make_command" != "x" ; then
2504 ifGNUmake='' ;
2505 else
2506 ifGNUmake='#' ;
2510 if test "x$_cv_gnu_make_command" = "x"; then
2511 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2517 # Check for c++ or library specific bits that don't require linking.
2518 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2519 echo "configure:2520: checking how to run the C preprocessor" >&5
2520 # On Suns, sometimes $CPP names a directory.
2521 if test -n "$CPP" && test -d "$CPP"; then
2522 CPP=
2524 if test -z "$CPP"; then
2525 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2526 echo $ac_n "(cached) $ac_c" 1>&6
2527 else
2528 # This must be in double quotes, not single quotes, because CPP may get
2529 # substituted into the Makefile and "${CC-cc}" will confuse make.
2530 CPP="${CC-cc} -E"
2531 # On the NeXT, cc -E runs the code through the compiler's parser,
2532 # not just through cpp.
2533 cat > conftest.$ac_ext <<EOF
2534 #line 2535 "configure"
2535 #include "confdefs.h"
2536 #include <assert.h>
2537 Syntax Error
2539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2540 { (eval echo configure:2541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2542 if test -z "$ac_err"; then
2544 else
2545 echo "$ac_err" >&5
2546 echo "configure: failed program was:" >&5
2547 cat conftest.$ac_ext >&5
2548 rm -rf conftest*
2549 CPP="${CC-cc} -E -traditional-cpp"
2550 cat > conftest.$ac_ext <<EOF
2551 #line 2552 "configure"
2552 #include "confdefs.h"
2553 #include <assert.h>
2554 Syntax Error
2556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2557 { (eval echo configure:2558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2559 if test -z "$ac_err"; then
2561 else
2562 echo "$ac_err" >&5
2563 echo "configure: failed program was:" >&5
2564 cat conftest.$ac_ext >&5
2565 rm -rf conftest*
2566 CPP="${CC-cc} -nologo -E"
2567 cat > conftest.$ac_ext <<EOF
2568 #line 2569 "configure"
2569 #include "confdefs.h"
2570 #include <assert.h>
2571 Syntax Error
2573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2574 { (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2576 if test -z "$ac_err"; then
2578 else
2579 echo "$ac_err" >&5
2580 echo "configure: failed program was:" >&5
2581 cat conftest.$ac_ext >&5
2582 rm -rf conftest*
2583 CPP=/lib/cpp
2585 rm -f conftest*
2587 rm -f conftest*
2589 rm -f conftest*
2590 ac_cv_prog_CPP="$CPP"
2592 CPP="$ac_cv_prog_CPP"
2593 else
2594 ac_cv_prog_CPP="$CPP"
2596 echo "$ac_t""$CPP" 1>&6
2599 # Sanity check that g++ is capable of dealing with v-3.
2600 echo $ac_n "checking for g++ that will successfully compile this code""... $ac_c" 1>&6
2601 echo "configure:2602: checking for g++ that will successfully compile this code" >&5
2602 cat > conftest.$ac_ext <<EOF
2603 #line 2604 "configure"
2604 #include "confdefs.h"
2606 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
2608 #endif
2611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2612 egrep "ok" >/dev/null 2>&1; then
2613 rm -rf conftest*
2614 gpp_satisfactory=yes
2615 else
2616 rm -rf conftest*
2617 { echo "configure: error: please upgrade to gcc-2.95 or above" 1>&2; exit 1; }
2619 rm -f conftest*
2621 echo "$ac_t""$gpp_satisfactory" 1>&6
2624 echo $ac_n "checking for cpu config directory""... $ac_c" 1>&6
2625 echo "configure:2626: checking for cpu config directory" >&5
2626 # Currently unused, but could be useful.
2627 # CPU_FLAGS=
2628 case "${target_cpu}" in
2629 alpha*)
2630 cpu_include_dir="config/cpu/alpha"
2632 arm*)
2633 cpu_include_dir="config/cpu/arm"
2635 ia64)
2636 cpu_include_dir="config/cpu/ia64"
2638 i386)
2639 cpu_include_dir="config/cpu/i386"
2641 i486 | i586 | i686 | i786)
2642 cpu_include_dir="config/cpu/i486"
2644 powerpc | rs6000)
2645 cpu_include_dir="config/cpu/powerpc"
2647 sparc64 | ultrasparc)
2648 cpu_include_dir="config/cpu/sparc/sparc64"
2650 sparc*)
2651 cpu_include_dir="config/cpu/sparc/sparc32"
2654 cpu_include_dir="config/cpu/generic"
2656 esac
2657 echo "$ac_t""$cpu_include_dir" 1>&6
2660 echo $ac_n "checking for os config directory""... $ac_c" 1>&6
2661 echo "configure:2662: checking for os config directory" >&5
2662 # Currently unused, but could be useful.
2663 # OS_FLAGS=
2664 case "${target_os}" in
2665 aix*)
2666 os_include_dir="config/os/aix"
2668 bsd* | freebsd*)
2669 os_include_dir="config/os/bsd"
2671 linux*)
2672 os_include_dir="config/os/gnu-linux"
2674 irix*)
2675 os_include_dir="config/os/irix"
2677 solaris2.5*)
2678 os_include_dir="config/os/solaris/solaris2.5"
2680 solaris2.6*)
2681 os_include_dir="config/os/solaris/solaris2.6"
2683 solaris2.7* | solaris2.8*)
2684 os_include_dir="config/os/solaris/solaris2.7"
2687 os_include_dir="config/os/generic"
2689 esac
2690 echo "$ac_t""$os_include_dir" 1>&6
2694 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2695 # Check whether --enable-debug or --disable-debug was given.
2696 if test "${enable_debug+set}" = set; then
2697 enableval="$enable_debug"
2698 case "${enableval}" in
2699 yes) enable_debug=yes ;;
2700 no) enable_debug=no ;;
2701 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2702 esac
2703 else
2704 enable_debug=no
2707 case "${enable_debug}" in
2708 yes)
2709 DEBUG_FLAGS='-O0 -ggdb3'
2711 no)
2712 DEBUG_FLAGS='-g'
2714 esac
2717 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2718 if test "${enable_c_mbchar+set}" = set; then
2719 enableval="$enable_c_mbchar"
2720 case "$enableval" in
2721 yes) enable_c_mbchar=yes ;;
2722 no) enable_c_mbchar=no ;;
2723 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2724 esac
2725 else
2726 enable_c_mbchar=yes
2730 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2731 echo "configure:2732: checking for cstdio to use" >&5
2732 # Check whether --enable-cstdio or --disable-cstdio was given.
2733 if test "${enable_cstdio+set}" = set; then
2734 enableval="$enable_cstdio"
2735 if test x$enable_cstdio = xno; then
2736 enable_cstdio=libio
2738 else
2739 enable_cstdio=libio
2743 enable_cstdio_flag=$enable_cstdio
2745 case x${enable_cstdio_flag} in
2746 xlibio | x | xno | xnone | xyes)
2747 # default
2748 CSTDIO_H=config/c_io_libio.h
2749 CSTDIO_CC=config/c_io_libio.cc
2750 echo "$ac_t""libio" 1>&6
2752 # see if we are on a system with libio native (ie, linux)
2753 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2754 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2755 echo "configure:2756: checking for libio.h" >&5
2756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2757 echo $ac_n "(cached) $ac_c" 1>&6
2758 else
2759 cat > conftest.$ac_ext <<EOF
2760 #line 2761 "configure"
2761 #include "confdefs.h"
2762 #include <libio.h>
2764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2765 { (eval echo configure:2766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2767 if test -z "$ac_err"; then
2768 rm -rf conftest*
2769 eval "ac_cv_header_$ac_safe=yes"
2770 else
2771 echo "$ac_err" >&5
2772 echo "configure: failed program was:" >&5
2773 cat conftest.$ac_ext >&5
2774 rm -rf conftest*
2775 eval "ac_cv_header_$ac_safe=no"
2777 rm -f conftest*
2779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2780 echo "$ac_t""yes" 1>&6
2781 has_libio=yes
2782 else
2783 echo "$ac_t""no" 1>&6
2784 has_libio=no
2788 # Need to check and see what version of glibc is being used. If
2789 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2790 # compile most of libio for linux systems.
2791 if test x$has_libio = x"yes"; then
2792 case "$target" in
2793 *-*-linux*)
2794 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2795 echo "configure:2796: checking for glibc version >= 2.2" >&5
2796 cat > conftest.$ac_ext <<EOF
2797 #line 2798 "configure"
2798 #include "confdefs.h"
2800 #include <features.h>
2801 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2803 #endif
2806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2807 egrep "ok" >/dev/null 2>&1; then
2808 rm -rf conftest*
2809 glibc_satisfactory=yes
2810 else
2811 rm -rf conftest*
2812 glibc_satisfactory=no
2814 rm -f conftest*
2816 echo "$ac_t""$glibc_satisfactory" 1>&6
2818 esac
2820 # XXX at the moment, admit defeat and force the recompilation
2821 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2822 glibc_satisfactory=no
2824 if test x$glibc_satisfactory = x"yes"; then
2825 need_libio=no
2826 need_wlibio=no
2827 else
2828 need_libio=yes
2829 # bkoz XXX need to add checks to enable this
2830 # pme XXX here's a first pass at such a check
2831 if test x$enable_c_mbchar != xno; then
2832 need_wlibio=yes
2833 else
2834 need_wlibio=no
2838 else
2839 # Using libio, but <libio.h> doesn't exist on the target system. . .
2840 need_libio=yes
2841 # bkoz XXX need to add checks to enable this
2842 # pme XXX here's a first pass at such a check
2843 if test x$enable_c_mbchar != xno; then
2844 need_wlibio=yes
2845 else
2846 need_wlibio=no
2850 xstdio)
2851 CSTDIO_H=config/c_io_stdio.h
2852 CSTDIO_CC=config/c_io_stdio.cc
2853 echo "$ac_t""stdio" 1>&6
2855 need_libio=no
2858 echo "$enable_cstdio is an unknown io package" 1>&2
2859 exit 1
2861 esac
2865 # 2000-08-04 bkoz hack
2866 CCODECVT_C=config/c_io_libio_codecvt.c
2868 # 2000-08-04 bkoz hack
2872 if test "$need_libio" = yes; then
2873 GLIBCPP_NEED_LIBIO_TRUE=
2874 GLIBCPP_NEED_LIBIO_FALSE='#'
2875 else
2876 GLIBCPP_NEED_LIBIO_TRUE='#'
2877 GLIBCPP_NEED_LIBIO_FALSE=
2881 if test "$need_wlibio" = yes; then
2882 GLIBCPP_NEED_WLIBIO_TRUE=
2883 GLIBCPP_NEED_WLIBIO_FALSE='#'
2884 else
2885 GLIBCPP_NEED_WLIBIO_TRUE='#'
2886 GLIBCPP_NEED_WLIBIO_FALSE=
2890 # Check whether --enable-long-long or --disable-long-long was given.
2891 if test "${enable_long_long+set}" = set; then
2892 enableval="$enable_long_long"
2893 case "$enableval" in
2894 yes) enable_long_long=yes ;;
2895 no) enable_long_long=no ;;
2896 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2897 esac
2898 else
2899 enable_long_long=yes
2902 # Check for the existance of functions used if long long is enabled.
2903 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2904 echo "configure:2905: checking for strtoll" >&5
2905 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2906 echo $ac_n "(cached) $ac_c" 1>&6
2907 else
2908 cat > conftest.$ac_ext <<EOF
2909 #line 2910 "configure"
2910 #include "confdefs.h"
2911 /* System header to define __stub macros and hopefully few prototypes,
2912 which can conflict with char strtoll(); below. */
2913 #include <assert.h>
2914 /* Override any gcc2 internal prototype to avoid an error. */
2915 /* We use char because int might match the return type of a gcc2
2916 builtin and then its argument prototype would still apply. */
2917 char strtoll();
2919 int main() {
2921 /* The GNU C library defines this for functions which it implements
2922 to always fail with ENOSYS. Some functions are actually named
2923 something starting with __ and the normal name is an alias. */
2924 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2925 choke me
2926 #else
2927 strtoll();
2928 #endif
2930 ; return 0; }
2932 if { (eval echo configure:2933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2933 rm -rf conftest*
2934 eval "ac_cv_func_strtoll=yes"
2935 else
2936 echo "configure: failed program was:" >&5
2937 cat conftest.$ac_ext >&5
2938 rm -rf conftest*
2939 eval "ac_cv_func_strtoll=no"
2941 rm -f conftest*
2944 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2945 echo "$ac_t""yes" 1>&6
2947 else
2948 echo "$ac_t""no" 1>&6
2949 ac_strtoll=no
2952 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2953 echo "configure:2954: checking for strtoull" >&5
2954 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2955 echo $ac_n "(cached) $ac_c" 1>&6
2956 else
2957 cat > conftest.$ac_ext <<EOF
2958 #line 2959 "configure"
2959 #include "confdefs.h"
2960 /* System header to define __stub macros and hopefully few prototypes,
2961 which can conflict with char strtoull(); below. */
2962 #include <assert.h>
2963 /* Override any gcc2 internal prototype to avoid an error. */
2964 /* We use char because int might match the return type of a gcc2
2965 builtin and then its argument prototype would still apply. */
2966 char strtoull();
2968 int main() {
2970 /* The GNU C library defines this for functions which it implements
2971 to always fail with ENOSYS. Some functions are actually named
2972 something starting with __ and the normal name is an alias. */
2973 #if defined (__stub_strtoull) || defined (__stub___strtoull)
2974 choke me
2975 #else
2976 strtoull();
2977 #endif
2979 ; return 0; }
2981 if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2982 rm -rf conftest*
2983 eval "ac_cv_func_strtoull=yes"
2984 else
2985 echo "configure: failed program was:" >&5
2986 cat conftest.$ac_ext >&5
2987 rm -rf conftest*
2988 eval "ac_cv_func_strtoull=no"
2990 rm -f conftest*
2993 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
2994 echo "$ac_t""yes" 1>&6
2996 else
2997 echo "$ac_t""no" 1>&6
2998 ac_strtoull=no
3002 echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3003 echo "configure:3004: checking for enabled long long" >&5
3004 if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then
3005 enable_long_long=no;
3006 fi;
3007 echo "$ac_t""$enable_long_long" 1>&6
3009 if test x"$enable_long_long" = xyes; then
3010 cat >> confdefs.h <<\EOF
3011 #define _GLIBCPP_USE_LONG_LONG 1
3016 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
3017 echo "configure:3018: checking for enabled cshadow headers" >&5
3018 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
3019 if test "${enable_cshadow_headers+set}" = set; then
3020 enableval="$enable_cshadow_headers"
3022 case "$enableval" in
3023 yes) enable_cshadow_headers=yes
3025 no) enable_cshadow_headers=no
3027 *) { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; }
3029 esac
3030 else
3031 enable_cshadow_headers=no
3034 echo "$ac_t""$enable_cshadow_headers" 1>&6
3036 case "$enable_cshadow_headers" in
3037 yes)
3038 CSHADOW_FLAGS="-fno-builtin"
3039 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3040 cat >> confdefs.h <<\EOF
3041 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3045 no)
3046 CSHADOW_FLAGS=""
3047 C_INCLUDE_DIR='${top_srcdir}/include/c'
3049 esac
3055 if test "$enable_cshadow_headers" = yes; then
3056 GLIBCPP_USE_CSHADOW_TRUE=
3057 GLIBCPP_USE_CSHADOW_FALSE='#'
3058 else
3059 GLIBCPP_USE_CSHADOW_TRUE='#'
3060 GLIBCPP_USE_CSHADOW_FALSE=
3064 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3065 echo "configure:3066: checking for threads package to use" >&5
3066 # Check whether --enable-threads or --disable-threads was given.
3067 if test "${enable_threads+set}" = set; then
3068 enableval="$enable_threads"
3069 if test x$enable_threads = xno; then
3070 enable_threads=''
3072 else
3073 enable_threads=''
3077 enable_threads_flag=$enable_threads
3079 case x${enable_threads_flag} in
3080 x | xno | xnone)
3081 # No threads
3082 target_thread_file='single'
3084 xyes)
3085 # default
3086 target_thread_file=''
3088 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3089 xsolaris | xwin32 | xdce | xvxworks)
3090 target_thread_file=$enable_threads_flag
3093 echo "$enable_threads is an unknown thread package" 1>&2
3094 exit 1
3096 esac
3098 THREADH=
3099 case "$target_thread_file" in
3100 no | none | single)
3101 THREADH=threads-no.h
3103 posix | pthreads)
3104 THREADH=threads-posix.h
3106 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3107 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3110 { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
3112 esac
3113 echo "$ac_t""$THREADH" 1>&6
3116 if test $THREADH != threads-no.h; then
3117 cat >> confdefs.h <<\EOF
3118 #define _GLIBCPP_USE_THREADS 1
3124 echo $ac_n "checking for atomicity.h""... $ac_c" 1>&6
3125 echo "configure:3126: checking for atomicity.h" >&5
3126 case "$target" in
3127 *-*-linux* | sparc*-*-*)
3128 ATOMICITYH=$cpu_include_dir
3130 *-*-aix*)
3131 ATOMICITYH=$os_include_dir
3133 *-*-irix*)
3134 ATOMICITYH=$os_include_dir
3137 # bit of overkill on this text...
3138 { echo "configure: error: Atomic locking requested, but $enable_threads is an unknown thread package and atomic operations are not present in the CPU" 1>&2; exit 1; }
3140 esac
3141 echo "$ac_t""$ATOMICITYH/bits/atomicity.h" 1>&6
3144 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3145 if test "${enable_cxx_flags+set}" = set; then
3146 enableval="$enable_cxx_flags"
3147 case "x$enableval" in
3148 xyes)
3149 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3150 xno|x)
3151 enable_cxx_flags='' ;;
3153 enable_cxx_flags="$enableval" ;;
3154 esac
3155 else
3156 enable_cxx_flags='none'
3160 if test "$enable_cxx_flags" = "none"; then
3161 enable_cxx_flags='';
3164 if test -n "$enable_cxx_flags"; then
3165 for f in $enable_cxx_flags; do
3166 case "$f" in
3167 -fhonor-std) ;;
3168 -*) ;;
3169 *) # and we're trying to pass /what/ exactly?
3170 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3171 esac
3172 done
3174 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3179 if test -n "$with_cross_host"; then
3181 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3182 # may not work correctly, because the compiler may not be able to
3183 # link executables.
3185 xcompiling=1
3186 NATIVE=no
3187 # If Canadian cross, then don't pick up tools from the build
3188 # directory.
3189 if test "$build" != "$with_cross_host"; then
3190 CANADIAN=yes
3191 NULL_TARGET=yes
3192 else
3193 CANADIAN=no
3194 NULL_TARGET=no
3197 case "$target_alias" in
3198 *-wince-*)
3199 # Configure for Microsoft Windows CE, or whatever they are
3200 # currently calling it.
3201 cat >> confdefs.h <<\EOF
3202 #define HAVE_FLOAT_H 1
3206 cat >> confdefs.h <<\EOF
3207 #define HAVE__FINITE 1
3210 cat >> confdefs.h <<\EOF
3211 #define HAVE__ISNAN 1
3214 cat >> confdefs.h <<\EOF
3215 #define HAVE__COPYSIGN 1
3218 cat >> confdefs.h <<\EOF
3219 #define HAVE__FPCLASS 1
3222 cat >> confdefs.h <<\EOF
3223 #define HAVE_MODF 1
3227 ctype_include_dir="config/os/wince"
3233 cat >> confdefs.h <<\EOF
3234 #define _GLIBCPP_NEED_MBSTATE_T 1
3238 cat >> confdefs.h <<\EOF
3239 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3242 cat >> confdefs.h <<\EOF
3243 #define _GLIBCPP_BUGGY_COMPLEX 1
3248 # We assume newlib. This lets us hard-code the functions we know
3249 # we'll have.
3250 cat >> confdefs.h <<\EOF
3251 #define HAVE_FINITE 1
3254 cat >> confdefs.h <<\EOF
3255 #define HAVE_ISNAN 1
3258 cat >> confdefs.h <<\EOF
3259 #define HAVE_ISNANF 1
3262 cat >> confdefs.h <<\EOF
3263 #define HAVE_ISINF 1
3266 cat >> confdefs.h <<\EOF
3267 #define HAVE_ISINFF 1
3271 ctype_include_dir="config/os/newlib"
3276 cat >> confdefs.h <<\EOF
3277 #define _GLIBCPP_NEED_MBSTATE_T 1
3281 cat >> confdefs.h <<\EOF
3282 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3285 cat >> confdefs.h <<\EOF
3286 #define _GLIBCPP_BUGGY_COMPLEX 1
3289 # need to check for faster f versions of math functions, ie sinf?
3291 esac
3292 else
3294 # We are being configured natively. We can do more elaborate tests
3295 # that include AC_TRY_COMPILE now, as the linker is assumed to be
3296 # working.
3298 xcompiling=0
3299 NATIVE=yes
3300 CANADIAN=no
3301 NULL_TARGET=no
3303 # Check for available headers.
3304 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3305 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
3307 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3308 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3309 echo "configure:3310: checking for $ac_hdr" >&5
3310 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3311 echo $ac_n "(cached) $ac_c" 1>&6
3312 else
3313 cat > conftest.$ac_ext <<EOF
3314 #line 3315 "configure"
3315 #include "confdefs.h"
3316 #include <$ac_hdr>
3318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3319 { (eval echo configure:3320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3321 if test -z "$ac_err"; then
3322 rm -rf conftest*
3323 eval "ac_cv_header_$ac_safe=yes"
3324 else
3325 echo "$ac_err" >&5
3326 echo "configure: failed program was:" >&5
3327 cat conftest.$ac_ext >&5
3328 rm -rf conftest*
3329 eval "ac_cv_header_$ac_safe=no"
3331 rm -f conftest*
3333 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3334 echo "$ac_t""yes" 1>&6
3335 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3336 cat >> confdefs.h <<EOF
3337 #define $ac_tr_hdr 1
3340 else
3341 echo "$ac_t""no" 1>&6
3343 done
3347 # All these tests are for C++; save the language and the compiler flags.
3348 # The CXXFLAGS thing is suspicious, but based on similar bits
3349 # found in GLIBCPP_CONFIGURE.
3351 ac_ext=C
3352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3353 ac_cpp='$CXXCPP $CPPFLAGS'
3354 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3355 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3356 cross_compiling=$ac_cv_prog_cxx_cross
3358 ac_test_CXXFLAGS="${CXXFLAGS+set}"
3359 ac_save_CXXFLAGS="$CXXFLAGS"
3361 # Check for maintainer-mode bits.
3362 if test x"$USE_MAINTAINER_MODE" = xno; then
3363 WERROR=''
3364 else
3365 WERROR='-Werror'
3368 # Check for more sophisticated diagnostic control.
3369 echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3370 echo "configure:3371: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3371 CXXFLAGS='-Werror -fdiagnostics-show-location=once'
3372 cat > conftest.$ac_ext <<EOF
3373 #line 3374 "configure"
3374 #include "confdefs.h"
3376 int main() {
3377 int foo;
3379 ; return 0; }
3381 if { (eval echo configure:3382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3382 rm -rf conftest*
3383 ac_gabydiags=yes
3384 else
3385 echo "configure: failed program was:" >&5
3386 cat conftest.$ac_ext >&5
3387 rm -rf conftest*
3388 ac_gabydiags=no
3390 rm -f conftest*
3391 if test "$ac_test_CXXFLAGS" = set; then
3392 CXXFLAGS="$ac_save_CXXFLAGS"
3393 else
3394 # this is the suspicious part
3395 CXXFLAGS=''
3397 if test "$ac_gabydiags" = "yes"; then
3398 WFMT_FLAGS='-fdiagnostics-show-location=once'
3400 echo "$ac_t""$ac_gabydiags" 1>&6
3402 # Check for -ffunction-sections -fdata-sections
3403 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3404 echo "configure:3405: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3405 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
3406 cat > conftest.$ac_ext <<EOF
3407 #line 3408 "configure"
3408 #include "confdefs.h"
3410 int main() {
3411 int foo;
3413 ; return 0; }
3415 if { (eval echo configure:3416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3416 rm -rf conftest*
3417 ac_fdsections=yes
3418 else
3419 echo "configure: failed program was:" >&5
3420 cat conftest.$ac_ext >&5
3421 rm -rf conftest*
3422 ac_fdsections=no
3424 rm -f conftest*
3425 if test "$ac_test_CXXFLAGS" = set; then
3426 CXXFLAGS="$ac_save_CXXFLAGS"
3427 else
3428 # this is the suspicious part
3429 CXXFLAGS=''
3431 if test "$ac_fdsections" = "yes"; then
3432 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3434 echo "$ac_t""$ac_fdsections" 1>&6
3436 ac_ext=c
3437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3438 ac_cpp='$CPP $CPPFLAGS'
3439 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3440 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3441 cross_compiling=$ac_cv_prog_cc_cross
3448 # If we're not using GNU ld, then there's no point in even trying these
3449 # tests. Check for that first. We should have already tested for gld
3450 # by now (in libtool), but require it now just to be safe...
3451 SECTION_LDFLAGS=''
3452 OPT_LDFLAGS=''
3455 # Set --gc-sections.
3456 if test "$ac_cv_prog_gnu_ld" = "broken"; then
3457 # GNU ld it is! Joy and bunny rabbits!
3459 # All these tests are for C++; save the language and the compiler flags.
3460 # Need to do this so that g++ won't try to link in libstdc++
3461 ac_test_CFLAGS="${CFLAGS+set}"
3462 ac_save_CFLAGS="$CFLAGS"
3463 CFLAGS='-x c++ -Wl,--gc-sections'
3465 # Check for -Wl,--gc-sections
3466 # XXX This test is broken at the moment, as symbols required for
3467 # linking are now in libsupc++ (not built yet.....). In addition,
3468 # this test has cored on solaris in the past. In addition,
3469 # --gc-sections doesn't really work at the moment (keeps on discarding
3470 # used sections, first .eh_frame and now some of the glibc sections for
3471 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3472 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3473 echo "configure:3474: checking for ld that supports -Wl,--gc-sections" >&5
3474 if test "$cross_compiling" = yes; then
3475 ac_sectionLDflags=yes
3476 else
3477 cat > conftest.$ac_ext <<EOF
3478 #line 3479 "configure"
3479 #include "confdefs.h"
3481 int main(void)
3483 try { throw 1; }
3484 catch (...) { };
3485 return 0;
3489 if { (eval echo configure:3490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3490 then
3491 ac_sectionLDflags=yes
3492 else
3493 echo "configure: failed program was:" >&5
3494 cat conftest.$ac_ext >&5
3495 rm -fr conftest*
3496 ac_sectionLFflags=no
3498 rm -fr conftest*
3501 if test "$ac_test_CFLAGS" = set; then
3502 CFLAGS="$ac_save_CFLAGS"
3503 else
3504 # this is the suspicious part
3505 CFLAGS=''
3507 if test "$ac_sectionLDflags" = "yes"; then
3508 SECTION_LDFLAGS='-Wl,--gc-sections'
3510 echo "$ac_t""$ac_sectionLDflags" 1>&6
3513 # Set linker optimization flags.
3514 if test "$ac_cv_prog_gnu_ld" = "yes"; then
3515 OPT_LDFLAGS='-Wl,-O1'
3523 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3524 echo "configure:3525: checking for __builtin_abs declaration" >&5
3525 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3526 echo $ac_n "(cached) $ac_c" 1>&6
3527 else
3530 ac_ext=C
3531 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3532 ac_cpp='$CXXCPP $CPPFLAGS'
3533 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3534 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3535 cross_compiling=$ac_cv_prog_cxx_cross
3537 cat > conftest.$ac_ext <<EOF
3538 #line 3539 "configure"
3539 #include "confdefs.h"
3540 #include <math.h>
3541 int main() {
3542 __builtin_abs(0);
3543 ; return 0; }
3545 if { (eval echo configure:3546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3546 rm -rf conftest*
3547 glibcpp_cv_func___builtin_abs_use=yes
3548 else
3549 echo "configure: failed program was:" >&5
3550 cat conftest.$ac_ext >&5
3551 rm -rf conftest*
3552 glibcpp_cv_func___builtin_abs_use=no
3554 rm -f conftest*
3555 ac_ext=c
3556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3559 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3560 cross_compiling=$ac_cv_prog_cc_cross
3565 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3566 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3567 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3568 echo "configure:3569: checking for __builtin_abs linkage" >&5
3569 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3570 echo $ac_n "(cached) $ac_c" 1>&6
3571 else
3573 cat > conftest.$ac_ext <<EOF
3574 #line 3575 "configure"
3575 #include "confdefs.h"
3576 #include <math.h>
3577 int main() {
3578 __builtin_abs(0);
3579 ; return 0; }
3581 if { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3582 rm -rf conftest*
3583 glibcpp_cv_func___builtin_abs_link=yes
3584 else
3585 echo "configure: failed program was:" >&5
3586 cat conftest.$ac_ext >&5
3587 rm -rf conftest*
3588 glibcpp_cv_func___builtin_abs_link=no
3590 rm -f conftest*
3594 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3595 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3596 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3597 cat >> confdefs.h <<EOF
3598 #define ${ac_tr_func} 1
3605 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3606 echo "configure:3607: checking for __builtin_fabsf declaration" >&5
3607 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3608 echo $ac_n "(cached) $ac_c" 1>&6
3609 else
3612 ac_ext=C
3613 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3614 ac_cpp='$CXXCPP $CPPFLAGS'
3615 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3616 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3617 cross_compiling=$ac_cv_prog_cxx_cross
3619 cat > conftest.$ac_ext <<EOF
3620 #line 3621 "configure"
3621 #include "confdefs.h"
3622 #include <math.h>
3623 int main() {
3624 __builtin_fabsf(0);
3625 ; return 0; }
3627 if { (eval echo configure:3628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3628 rm -rf conftest*
3629 glibcpp_cv_func___builtin_fabsf_use=yes
3630 else
3631 echo "configure: failed program was:" >&5
3632 cat conftest.$ac_ext >&5
3633 rm -rf conftest*
3634 glibcpp_cv_func___builtin_fabsf_use=no
3636 rm -f conftest*
3637 ac_ext=c
3638 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3639 ac_cpp='$CPP $CPPFLAGS'
3640 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3641 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3642 cross_compiling=$ac_cv_prog_cc_cross
3647 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3648 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3649 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3650 echo "configure:3651: checking for __builtin_fabsf linkage" >&5
3651 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3652 echo $ac_n "(cached) $ac_c" 1>&6
3653 else
3655 cat > conftest.$ac_ext <<EOF
3656 #line 3657 "configure"
3657 #include "confdefs.h"
3658 #include <math.h>
3659 int main() {
3660 __builtin_fabsf(0);
3661 ; return 0; }
3663 if { (eval echo configure:3664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3664 rm -rf conftest*
3665 glibcpp_cv_func___builtin_fabsf_link=yes
3666 else
3667 echo "configure: failed program was:" >&5
3668 cat conftest.$ac_ext >&5
3669 rm -rf conftest*
3670 glibcpp_cv_func___builtin_fabsf_link=no
3672 rm -f conftest*
3676 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3677 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3678 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3679 cat >> confdefs.h <<EOF
3680 #define ${ac_tr_func} 1
3687 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3688 echo "configure:3689: checking for __builtin_fabs declaration" >&5
3689 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3690 echo $ac_n "(cached) $ac_c" 1>&6
3691 else
3694 ac_ext=C
3695 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3696 ac_cpp='$CXXCPP $CPPFLAGS'
3697 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3698 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3699 cross_compiling=$ac_cv_prog_cxx_cross
3701 cat > conftest.$ac_ext <<EOF
3702 #line 3703 "configure"
3703 #include "confdefs.h"
3704 #include <math.h>
3705 int main() {
3706 __builtin_fabs(0);
3707 ; return 0; }
3709 if { (eval echo configure:3710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3710 rm -rf conftest*
3711 glibcpp_cv_func___builtin_fabs_use=yes
3712 else
3713 echo "configure: failed program was:" >&5
3714 cat conftest.$ac_ext >&5
3715 rm -rf conftest*
3716 glibcpp_cv_func___builtin_fabs_use=no
3718 rm -f conftest*
3719 ac_ext=c
3720 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3721 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3723 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3724 cross_compiling=$ac_cv_prog_cc_cross
3729 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3730 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3731 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3732 echo "configure:3733: checking for __builtin_fabs linkage" >&5
3733 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3734 echo $ac_n "(cached) $ac_c" 1>&6
3735 else
3737 cat > conftest.$ac_ext <<EOF
3738 #line 3739 "configure"
3739 #include "confdefs.h"
3740 #include <math.h>
3741 int main() {
3742 __builtin_fabs(0);
3743 ; return 0; }
3745 if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3746 rm -rf conftest*
3747 glibcpp_cv_func___builtin_fabs_link=yes
3748 else
3749 echo "configure: failed program was:" >&5
3750 cat conftest.$ac_ext >&5
3751 rm -rf conftest*
3752 glibcpp_cv_func___builtin_fabs_link=no
3754 rm -f conftest*
3758 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3759 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3760 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3761 cat >> confdefs.h <<EOF
3762 #define ${ac_tr_func} 1
3769 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3770 echo "configure:3771: checking for __builtin_fabsl declaration" >&5
3771 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3772 echo $ac_n "(cached) $ac_c" 1>&6
3773 else
3776 ac_ext=C
3777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3778 ac_cpp='$CXXCPP $CPPFLAGS'
3779 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3780 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3781 cross_compiling=$ac_cv_prog_cxx_cross
3783 cat > conftest.$ac_ext <<EOF
3784 #line 3785 "configure"
3785 #include "confdefs.h"
3786 #include <math.h>
3787 int main() {
3788 __builtin_fabsl(0);
3789 ; return 0; }
3791 if { (eval echo configure:3792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3792 rm -rf conftest*
3793 glibcpp_cv_func___builtin_fabsl_use=yes
3794 else
3795 echo "configure: failed program was:" >&5
3796 cat conftest.$ac_ext >&5
3797 rm -rf conftest*
3798 glibcpp_cv_func___builtin_fabsl_use=no
3800 rm -f conftest*
3801 ac_ext=c
3802 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3803 ac_cpp='$CPP $CPPFLAGS'
3804 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3805 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3806 cross_compiling=$ac_cv_prog_cc_cross
3811 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3812 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3813 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3814 echo "configure:3815: checking for __builtin_fabsl linkage" >&5
3815 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3816 echo $ac_n "(cached) $ac_c" 1>&6
3817 else
3819 cat > conftest.$ac_ext <<EOF
3820 #line 3821 "configure"
3821 #include "confdefs.h"
3822 #include <math.h>
3823 int main() {
3824 __builtin_fabsl(0);
3825 ; return 0; }
3827 if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3828 rm -rf conftest*
3829 glibcpp_cv_func___builtin_fabsl_link=yes
3830 else
3831 echo "configure: failed program was:" >&5
3832 cat conftest.$ac_ext >&5
3833 rm -rf conftest*
3834 glibcpp_cv_func___builtin_fabsl_link=no
3836 rm -f conftest*
3840 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3841 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3842 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3843 cat >> confdefs.h <<EOF
3844 #define ${ac_tr_func} 1
3851 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3852 echo "configure:3853: checking for __builtin_labs declaration" >&5
3853 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
3854 echo $ac_n "(cached) $ac_c" 1>&6
3855 else
3858 ac_ext=C
3859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3860 ac_cpp='$CXXCPP $CPPFLAGS'
3861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3863 cross_compiling=$ac_cv_prog_cxx_cross
3865 cat > conftest.$ac_ext <<EOF
3866 #line 3867 "configure"
3867 #include "confdefs.h"
3868 #include <math.h>
3869 int main() {
3870 __builtin_labs(0);
3871 ; return 0; }
3873 if { (eval echo configure:3874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3874 rm -rf conftest*
3875 glibcpp_cv_func___builtin_labs_use=yes
3876 else
3877 echo "configure: failed program was:" >&5
3878 cat conftest.$ac_ext >&5
3879 rm -rf conftest*
3880 glibcpp_cv_func___builtin_labs_use=no
3882 rm -f conftest*
3883 ac_ext=c
3884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3885 ac_cpp='$CPP $CPPFLAGS'
3886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3888 cross_compiling=$ac_cv_prog_cc_cross
3893 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3894 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3895 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3896 echo "configure:3897: checking for __builtin_labs linkage" >&5
3897 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3898 echo $ac_n "(cached) $ac_c" 1>&6
3899 else
3901 cat > conftest.$ac_ext <<EOF
3902 #line 3903 "configure"
3903 #include "confdefs.h"
3904 #include <math.h>
3905 int main() {
3906 __builtin_labs(0);
3907 ; return 0; }
3909 if { (eval echo configure:3910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3910 rm -rf conftest*
3911 glibcpp_cv_func___builtin_labs_link=yes
3912 else
3913 echo "configure: failed program was:" >&5
3914 cat conftest.$ac_ext >&5
3915 rm -rf conftest*
3916 glibcpp_cv_func___builtin_labs_link=no
3918 rm -f conftest*
3922 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3923 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3924 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3925 cat >> confdefs.h <<EOF
3926 #define ${ac_tr_func} 1
3934 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3935 echo "configure:3936: checking for __builtin_sqrtf declaration" >&5
3936 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3937 echo $ac_n "(cached) $ac_c" 1>&6
3938 else
3941 ac_ext=C
3942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3943 ac_cpp='$CXXCPP $CPPFLAGS'
3944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3946 cross_compiling=$ac_cv_prog_cxx_cross
3948 cat > conftest.$ac_ext <<EOF
3949 #line 3950 "configure"
3950 #include "confdefs.h"
3951 #include <math.h>
3952 int main() {
3953 __builtin_sqrtf(0);
3954 ; return 0; }
3956 if { (eval echo configure:3957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3957 rm -rf conftest*
3958 glibcpp_cv_func___builtin_sqrtf_use=yes
3959 else
3960 echo "configure: failed program was:" >&5
3961 cat conftest.$ac_ext >&5
3962 rm -rf conftest*
3963 glibcpp_cv_func___builtin_sqrtf_use=no
3965 rm -f conftest*
3966 ac_ext=c
3967 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3968 ac_cpp='$CPP $CPPFLAGS'
3969 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3970 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3971 cross_compiling=$ac_cv_prog_cc_cross
3976 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
3977 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
3978 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
3979 echo "configure:3980: checking for __builtin_sqrtf linkage" >&5
3980 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
3981 echo $ac_n "(cached) $ac_c" 1>&6
3982 else
3984 cat > conftest.$ac_ext <<EOF
3985 #line 3986 "configure"
3986 #include "confdefs.h"
3987 #include <math.h>
3988 int main() {
3989 __builtin_sqrtf(0);
3990 ; return 0; }
3992 if { (eval echo configure:3993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3993 rm -rf conftest*
3994 glibcpp_cv_func___builtin_sqrtf_link=yes
3995 else
3996 echo "configure: failed program was:" >&5
3997 cat conftest.$ac_ext >&5
3998 rm -rf conftest*
3999 glibcpp_cv_func___builtin_sqrtf_link=no
4001 rm -f conftest*
4005 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
4006 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
4007 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4008 cat >> confdefs.h <<EOF
4009 #define ${ac_tr_func} 1
4016 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
4017 echo "configure:4018: checking for __builtin_fsqrt declaration" >&5
4018 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
4019 echo $ac_n "(cached) $ac_c" 1>&6
4020 else
4023 ac_ext=C
4024 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4025 ac_cpp='$CXXCPP $CPPFLAGS'
4026 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4027 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4028 cross_compiling=$ac_cv_prog_cxx_cross
4030 cat > conftest.$ac_ext <<EOF
4031 #line 4032 "configure"
4032 #include "confdefs.h"
4033 #include <math.h>
4034 int main() {
4035 __builtin_fsqrt(0);
4036 ; return 0; }
4038 if { (eval echo configure:4039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4039 rm -rf conftest*
4040 glibcpp_cv_func___builtin_fsqrt_use=yes
4041 else
4042 echo "configure: failed program was:" >&5
4043 cat conftest.$ac_ext >&5
4044 rm -rf conftest*
4045 glibcpp_cv_func___builtin_fsqrt_use=no
4047 rm -f conftest*
4048 ac_ext=c
4049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4050 ac_cpp='$CPP $CPPFLAGS'
4051 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4052 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4053 cross_compiling=$ac_cv_prog_cc_cross
4058 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4059 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4060 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4061 echo "configure:4062: checking for __builtin_fsqrt linkage" >&5
4062 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4063 echo $ac_n "(cached) $ac_c" 1>&6
4064 else
4066 cat > conftest.$ac_ext <<EOF
4067 #line 4068 "configure"
4068 #include "confdefs.h"
4069 #include <math.h>
4070 int main() {
4071 __builtin_fsqrt(0);
4072 ; return 0; }
4074 if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4075 rm -rf conftest*
4076 glibcpp_cv_func___builtin_fsqrt_link=yes
4077 else
4078 echo "configure: failed program was:" >&5
4079 cat conftest.$ac_ext >&5
4080 rm -rf conftest*
4081 glibcpp_cv_func___builtin_fsqrt_link=no
4083 rm -f conftest*
4087 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4088 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4089 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4090 cat >> confdefs.h <<EOF
4091 #define ${ac_tr_func} 1
4098 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4099 echo "configure:4100: checking for __builtin_sqrtl declaration" >&5
4100 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4101 echo $ac_n "(cached) $ac_c" 1>&6
4102 else
4105 ac_ext=C
4106 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4107 ac_cpp='$CXXCPP $CPPFLAGS'
4108 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4109 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4110 cross_compiling=$ac_cv_prog_cxx_cross
4112 cat > conftest.$ac_ext <<EOF
4113 #line 4114 "configure"
4114 #include "confdefs.h"
4115 #include <math.h>
4116 int main() {
4117 __builtin_sqrtl(0);
4118 ; return 0; }
4120 if { (eval echo configure:4121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4121 rm -rf conftest*
4122 glibcpp_cv_func___builtin_sqrtl_use=yes
4123 else
4124 echo "configure: failed program was:" >&5
4125 cat conftest.$ac_ext >&5
4126 rm -rf conftest*
4127 glibcpp_cv_func___builtin_sqrtl_use=no
4129 rm -f conftest*
4130 ac_ext=c
4131 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4132 ac_cpp='$CPP $CPPFLAGS'
4133 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4134 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4135 cross_compiling=$ac_cv_prog_cc_cross
4140 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4141 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4142 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4143 echo "configure:4144: checking for __builtin_sqrtl linkage" >&5
4144 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4145 echo $ac_n "(cached) $ac_c" 1>&6
4146 else
4148 cat > conftest.$ac_ext <<EOF
4149 #line 4150 "configure"
4150 #include "confdefs.h"
4151 #include <math.h>
4152 int main() {
4153 __builtin_sqrtl(0);
4154 ; return 0; }
4156 if { (eval echo configure:4157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4157 rm -rf conftest*
4158 glibcpp_cv_func___builtin_sqrtl_link=yes
4159 else
4160 echo "configure: failed program was:" >&5
4161 cat conftest.$ac_ext >&5
4162 rm -rf conftest*
4163 glibcpp_cv_func___builtin_sqrtl_link=no
4165 rm -f conftest*
4169 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4170 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4171 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4172 cat >> confdefs.h <<EOF
4173 #define ${ac_tr_func} 1
4181 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4182 echo "configure:4183: checking for __builtin_sinf declaration" >&5
4183 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4184 echo $ac_n "(cached) $ac_c" 1>&6
4185 else
4188 ac_ext=C
4189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4190 ac_cpp='$CXXCPP $CPPFLAGS'
4191 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4192 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4193 cross_compiling=$ac_cv_prog_cxx_cross
4195 cat > conftest.$ac_ext <<EOF
4196 #line 4197 "configure"
4197 #include "confdefs.h"
4198 #include <math.h>
4199 int main() {
4200 __builtin_sinf(0);
4201 ; return 0; }
4203 if { (eval echo configure:4204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4204 rm -rf conftest*
4205 glibcpp_cv_func___builtin_sinf_use=yes
4206 else
4207 echo "configure: failed program was:" >&5
4208 cat conftest.$ac_ext >&5
4209 rm -rf conftest*
4210 glibcpp_cv_func___builtin_sinf_use=no
4212 rm -f conftest*
4213 ac_ext=c
4214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4215 ac_cpp='$CPP $CPPFLAGS'
4216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4218 cross_compiling=$ac_cv_prog_cc_cross
4223 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4224 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4225 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4226 echo "configure:4227: checking for __builtin_sinf linkage" >&5
4227 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4228 echo $ac_n "(cached) $ac_c" 1>&6
4229 else
4231 cat > conftest.$ac_ext <<EOF
4232 #line 4233 "configure"
4233 #include "confdefs.h"
4234 #include <math.h>
4235 int main() {
4236 __builtin_sinf(0);
4237 ; return 0; }
4239 if { (eval echo configure:4240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4240 rm -rf conftest*
4241 glibcpp_cv_func___builtin_sinf_link=yes
4242 else
4243 echo "configure: failed program was:" >&5
4244 cat conftest.$ac_ext >&5
4245 rm -rf conftest*
4246 glibcpp_cv_func___builtin_sinf_link=no
4248 rm -f conftest*
4252 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4253 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4254 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4255 cat >> confdefs.h <<EOF
4256 #define ${ac_tr_func} 1
4263 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4264 echo "configure:4265: checking for __builtin_sin declaration" >&5
4265 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4266 echo $ac_n "(cached) $ac_c" 1>&6
4267 else
4270 ac_ext=C
4271 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4272 ac_cpp='$CXXCPP $CPPFLAGS'
4273 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4274 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4275 cross_compiling=$ac_cv_prog_cxx_cross
4277 cat > conftest.$ac_ext <<EOF
4278 #line 4279 "configure"
4279 #include "confdefs.h"
4280 #include <math.h>
4281 int main() {
4282 __builtin_sin(0);
4283 ; return 0; }
4285 if { (eval echo configure:4286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4286 rm -rf conftest*
4287 glibcpp_cv_func___builtin_sin_use=yes
4288 else
4289 echo "configure: failed program was:" >&5
4290 cat conftest.$ac_ext >&5
4291 rm -rf conftest*
4292 glibcpp_cv_func___builtin_sin_use=no
4294 rm -f conftest*
4295 ac_ext=c
4296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4297 ac_cpp='$CPP $CPPFLAGS'
4298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4300 cross_compiling=$ac_cv_prog_cc_cross
4305 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4306 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4307 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4308 echo "configure:4309: checking for __builtin_sin linkage" >&5
4309 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4310 echo $ac_n "(cached) $ac_c" 1>&6
4311 else
4313 cat > conftest.$ac_ext <<EOF
4314 #line 4315 "configure"
4315 #include "confdefs.h"
4316 #include <math.h>
4317 int main() {
4318 __builtin_sin(0);
4319 ; return 0; }
4321 if { (eval echo configure:4322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4322 rm -rf conftest*
4323 glibcpp_cv_func___builtin_sin_link=yes
4324 else
4325 echo "configure: failed program was:" >&5
4326 cat conftest.$ac_ext >&5
4327 rm -rf conftest*
4328 glibcpp_cv_func___builtin_sin_link=no
4330 rm -f conftest*
4334 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4335 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4336 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4337 cat >> confdefs.h <<EOF
4338 #define ${ac_tr_func} 1
4345 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4346 echo "configure:4347: checking for __builtin_sinl declaration" >&5
4347 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4348 echo $ac_n "(cached) $ac_c" 1>&6
4349 else
4352 ac_ext=C
4353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4354 ac_cpp='$CXXCPP $CPPFLAGS'
4355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4357 cross_compiling=$ac_cv_prog_cxx_cross
4359 cat > conftest.$ac_ext <<EOF
4360 #line 4361 "configure"
4361 #include "confdefs.h"
4362 #include <math.h>
4363 int main() {
4364 __builtin_sinl(0);
4365 ; return 0; }
4367 if { (eval echo configure:4368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4368 rm -rf conftest*
4369 glibcpp_cv_func___builtin_sinl_use=yes
4370 else
4371 echo "configure: failed program was:" >&5
4372 cat conftest.$ac_ext >&5
4373 rm -rf conftest*
4374 glibcpp_cv_func___builtin_sinl_use=no
4376 rm -f conftest*
4377 ac_ext=c
4378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4379 ac_cpp='$CPP $CPPFLAGS'
4380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4382 cross_compiling=$ac_cv_prog_cc_cross
4387 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4388 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4389 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4390 echo "configure:4391: checking for __builtin_sinl linkage" >&5
4391 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4392 echo $ac_n "(cached) $ac_c" 1>&6
4393 else
4395 cat > conftest.$ac_ext <<EOF
4396 #line 4397 "configure"
4397 #include "confdefs.h"
4398 #include <math.h>
4399 int main() {
4400 __builtin_sinl(0);
4401 ; return 0; }
4403 if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4404 rm -rf conftest*
4405 glibcpp_cv_func___builtin_sinl_link=yes
4406 else
4407 echo "configure: failed program was:" >&5
4408 cat conftest.$ac_ext >&5
4409 rm -rf conftest*
4410 glibcpp_cv_func___builtin_sinl_link=no
4412 rm -f conftest*
4416 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4417 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4418 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4419 cat >> confdefs.h <<EOF
4420 #define ${ac_tr_func} 1
4428 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4429 echo "configure:4430: checking for __builtin_cosf declaration" >&5
4430 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4431 echo $ac_n "(cached) $ac_c" 1>&6
4432 else
4435 ac_ext=C
4436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4437 ac_cpp='$CXXCPP $CPPFLAGS'
4438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4440 cross_compiling=$ac_cv_prog_cxx_cross
4442 cat > conftest.$ac_ext <<EOF
4443 #line 4444 "configure"
4444 #include "confdefs.h"
4445 #include <math.h>
4446 int main() {
4447 __builtin_cosf(0);
4448 ; return 0; }
4450 if { (eval echo configure:4451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4451 rm -rf conftest*
4452 glibcpp_cv_func___builtin_cosf_use=yes
4453 else
4454 echo "configure: failed program was:" >&5
4455 cat conftest.$ac_ext >&5
4456 rm -rf conftest*
4457 glibcpp_cv_func___builtin_cosf_use=no
4459 rm -f conftest*
4460 ac_ext=c
4461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4462 ac_cpp='$CPP $CPPFLAGS'
4463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4465 cross_compiling=$ac_cv_prog_cc_cross
4470 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4471 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4472 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4473 echo "configure:4474: checking for __builtin_cosf linkage" >&5
4474 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4475 echo $ac_n "(cached) $ac_c" 1>&6
4476 else
4478 cat > conftest.$ac_ext <<EOF
4479 #line 4480 "configure"
4480 #include "confdefs.h"
4481 #include <math.h>
4482 int main() {
4483 __builtin_cosf(0);
4484 ; return 0; }
4486 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4487 rm -rf conftest*
4488 glibcpp_cv_func___builtin_cosf_link=yes
4489 else
4490 echo "configure: failed program was:" >&5
4491 cat conftest.$ac_ext >&5
4492 rm -rf conftest*
4493 glibcpp_cv_func___builtin_cosf_link=no
4495 rm -f conftest*
4499 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4500 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4501 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4502 cat >> confdefs.h <<EOF
4503 #define ${ac_tr_func} 1
4510 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4511 echo "configure:4512: checking for __builtin_cos declaration" >&5
4512 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4513 echo $ac_n "(cached) $ac_c" 1>&6
4514 else
4517 ac_ext=C
4518 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4519 ac_cpp='$CXXCPP $CPPFLAGS'
4520 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4521 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4522 cross_compiling=$ac_cv_prog_cxx_cross
4524 cat > conftest.$ac_ext <<EOF
4525 #line 4526 "configure"
4526 #include "confdefs.h"
4527 #include <math.h>
4528 int main() {
4529 __builtin_cos(0);
4530 ; return 0; }
4532 if { (eval echo configure:4533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4533 rm -rf conftest*
4534 glibcpp_cv_func___builtin_cos_use=yes
4535 else
4536 echo "configure: failed program was:" >&5
4537 cat conftest.$ac_ext >&5
4538 rm -rf conftest*
4539 glibcpp_cv_func___builtin_cos_use=no
4541 rm -f conftest*
4542 ac_ext=c
4543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4544 ac_cpp='$CPP $CPPFLAGS'
4545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4547 cross_compiling=$ac_cv_prog_cc_cross
4552 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4553 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4554 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4555 echo "configure:4556: checking for __builtin_cos linkage" >&5
4556 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4557 echo $ac_n "(cached) $ac_c" 1>&6
4558 else
4560 cat > conftest.$ac_ext <<EOF
4561 #line 4562 "configure"
4562 #include "confdefs.h"
4563 #include <math.h>
4564 int main() {
4565 __builtin_cos(0);
4566 ; return 0; }
4568 if { (eval echo configure:4569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4569 rm -rf conftest*
4570 glibcpp_cv_func___builtin_cos_link=yes
4571 else
4572 echo "configure: failed program was:" >&5
4573 cat conftest.$ac_ext >&5
4574 rm -rf conftest*
4575 glibcpp_cv_func___builtin_cos_link=no
4577 rm -f conftest*
4581 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4582 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4583 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4584 cat >> confdefs.h <<EOF
4585 #define ${ac_tr_func} 1
4592 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4593 echo "configure:4594: checking for __builtin_cosl declaration" >&5
4594 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4595 echo $ac_n "(cached) $ac_c" 1>&6
4596 else
4599 ac_ext=C
4600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4601 ac_cpp='$CXXCPP $CPPFLAGS'
4602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4603 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4604 cross_compiling=$ac_cv_prog_cxx_cross
4606 cat > conftest.$ac_ext <<EOF
4607 #line 4608 "configure"
4608 #include "confdefs.h"
4609 #include <math.h>
4610 int main() {
4611 __builtin_cosl(0);
4612 ; return 0; }
4614 if { (eval echo configure:4615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4615 rm -rf conftest*
4616 glibcpp_cv_func___builtin_cosl_use=yes
4617 else
4618 echo "configure: failed program was:" >&5
4619 cat conftest.$ac_ext >&5
4620 rm -rf conftest*
4621 glibcpp_cv_func___builtin_cosl_use=no
4623 rm -f conftest*
4624 ac_ext=c
4625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4626 ac_cpp='$CPP $CPPFLAGS'
4627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4629 cross_compiling=$ac_cv_prog_cc_cross
4634 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4635 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4636 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4637 echo "configure:4638: checking for __builtin_cosl linkage" >&5
4638 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4639 echo $ac_n "(cached) $ac_c" 1>&6
4640 else
4642 cat > conftest.$ac_ext <<EOF
4643 #line 4644 "configure"
4644 #include "confdefs.h"
4645 #include <math.h>
4646 int main() {
4647 __builtin_cosl(0);
4648 ; return 0; }
4650 if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4651 rm -rf conftest*
4652 glibcpp_cv_func___builtin_cosl_link=yes
4653 else
4654 echo "configure: failed program was:" >&5
4655 cat conftest.$ac_ext >&5
4656 rm -rf conftest*
4657 glibcpp_cv_func___builtin_cosl_link=no
4659 rm -f conftest*
4663 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4664 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4665 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4666 cat >> confdefs.h <<EOF
4667 #define ${ac_tr_func} 1
4674 dummyvar=no
4675 if test x$dummyvar = x"yes"; then
4676 cat >> confdefs.h <<\EOF
4677 #define HAVE___BUILTIN_ABS 1
4680 cat >> confdefs.h <<\EOF
4681 #define HAVE___BUILTIN_LABS 1
4684 cat >> confdefs.h <<\EOF
4685 #define HAVE___BUILTIN_COS 1
4688 cat >> confdefs.h <<\EOF
4689 #define HAVE___BUILTIN_COSF 1
4692 cat >> confdefs.h <<\EOF
4693 #define HAVE___BUILTIN_COSL 1
4696 cat >> confdefs.h <<\EOF
4697 #define HAVE___BUILTIN_FABS 1
4700 cat >> confdefs.h <<\EOF
4701 #define HAVE___BUILTIN_FABSF 1
4704 cat >> confdefs.h <<\EOF
4705 #define HAVE___BUILTIN_FABSL 1
4708 cat >> confdefs.h <<\EOF
4709 #define HAVE___BUILTIN_SIN 1
4712 cat >> confdefs.h <<\EOF
4713 #define HAVE___BUILTIN_SINF 1
4716 cat >> confdefs.h <<\EOF
4717 #define HAVE___BUILTIN_SINL 1
4720 cat >> confdefs.h <<\EOF
4721 #define HAVE___BUILTIN_FSQRT 1
4724 cat >> confdefs.h <<\EOF
4725 #define HAVE___BUILTIN_SQRTF 1
4728 cat >> confdefs.h <<\EOF
4729 #define HAVE___BUILTIN_SQRTL 1
4735 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4736 ac_save_CXXFLAGS="$CXXFLAGS"
4737 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4739 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4740 echo "configure:4741: checking for sin in -lm" >&5
4741 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4742 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4743 echo $ac_n "(cached) $ac_c" 1>&6
4744 else
4745 ac_save_LIBS="$LIBS"
4746 LIBS="-lm $LIBS"
4747 cat > conftest.$ac_ext <<EOF
4748 #line 4749 "configure"
4749 #include "confdefs.h"
4750 /* Override any gcc2 internal prototype to avoid an error. */
4751 /* We use char because int might match the return type of a gcc2
4752 builtin and then its argument prototype would still apply. */
4753 char sin();
4755 int main() {
4756 sin()
4757 ; return 0; }
4759 if { (eval echo configure:4760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4760 rm -rf conftest*
4761 eval "ac_cv_lib_$ac_lib_var=yes"
4762 else
4763 echo "configure: failed program was:" >&5
4764 cat conftest.$ac_ext >&5
4765 rm -rf conftest*
4766 eval "ac_cv_lib_$ac_lib_var=no"
4768 rm -f conftest*
4769 LIBS="$ac_save_LIBS"
4772 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4773 echo "$ac_t""yes" 1>&6
4774 libm="-lm"
4775 else
4776 echo "$ac_t""no" 1>&6
4779 ac_save_LIBS="$LIBS"
4780 LIBS="$LIBS $libm"
4783 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4784 echo "configure:4785: checking for isinf declaration" >&5
4785 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4786 echo $ac_n "(cached) $ac_c" 1>&6
4787 else
4790 ac_ext=C
4791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4792 ac_cpp='$CXXCPP $CPPFLAGS'
4793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4795 cross_compiling=$ac_cv_prog_cxx_cross
4797 cat > conftest.$ac_ext <<EOF
4798 #line 4799 "configure"
4799 #include "confdefs.h"
4800 #include <math.h>
4801 int main() {
4802 isinf(0);
4803 ; return 0; }
4805 if { (eval echo configure:4806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4806 rm -rf conftest*
4807 glibcpp_cv_func_isinf_use=yes
4808 else
4809 echo "configure: failed program was:" >&5
4810 cat conftest.$ac_ext >&5
4811 rm -rf conftest*
4812 glibcpp_cv_func_isinf_use=no
4814 rm -f conftest*
4815 ac_ext=c
4816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4820 cross_compiling=$ac_cv_prog_cc_cross
4825 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4826 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4827 for ac_func in isinf
4829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4830 echo "configure:4831: checking for $ac_func" >&5
4831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4832 echo $ac_n "(cached) $ac_c" 1>&6
4833 else
4834 cat > conftest.$ac_ext <<EOF
4835 #line 4836 "configure"
4836 #include "confdefs.h"
4837 /* System header to define __stub macros and hopefully few prototypes,
4838 which can conflict with char $ac_func(); below. */
4839 #include <assert.h>
4840 /* Override any gcc2 internal prototype to avoid an error. */
4841 /* We use char because int might match the return type of a gcc2
4842 builtin and then its argument prototype would still apply. */
4843 char $ac_func();
4845 int main() {
4847 /* The GNU C library defines this for functions which it implements
4848 to always fail with ENOSYS. Some functions are actually named
4849 something starting with __ and the normal name is an alias. */
4850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4851 choke me
4852 #else
4853 $ac_func();
4854 #endif
4856 ; return 0; }
4858 if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4859 rm -rf conftest*
4860 eval "ac_cv_func_$ac_func=yes"
4861 else
4862 echo "configure: failed program was:" >&5
4863 cat conftest.$ac_ext >&5
4864 rm -rf conftest*
4865 eval "ac_cv_func_$ac_func=no"
4867 rm -f conftest*
4870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4871 echo "$ac_t""yes" 1>&6
4872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4873 cat >> confdefs.h <<EOF
4874 #define $ac_tr_func 1
4877 else
4878 echo "$ac_t""no" 1>&6
4880 done
4885 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4886 echo "configure:4887: checking for isnan declaration" >&5
4887 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4888 echo $ac_n "(cached) $ac_c" 1>&6
4889 else
4892 ac_ext=C
4893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4894 ac_cpp='$CXXCPP $CPPFLAGS'
4895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4897 cross_compiling=$ac_cv_prog_cxx_cross
4899 cat > conftest.$ac_ext <<EOF
4900 #line 4901 "configure"
4901 #include "confdefs.h"
4902 #include <math.h>
4903 int main() {
4904 isnan(0);
4905 ; return 0; }
4907 if { (eval echo configure:4908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4908 rm -rf conftest*
4909 glibcpp_cv_func_isnan_use=yes
4910 else
4911 echo "configure: failed program was:" >&5
4912 cat conftest.$ac_ext >&5
4913 rm -rf conftest*
4914 glibcpp_cv_func_isnan_use=no
4916 rm -f conftest*
4917 ac_ext=c
4918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4919 ac_cpp='$CPP $CPPFLAGS'
4920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4922 cross_compiling=$ac_cv_prog_cc_cross
4927 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
4928 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
4929 for ac_func in isnan
4931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4932 echo "configure:4933: checking for $ac_func" >&5
4933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4934 echo $ac_n "(cached) $ac_c" 1>&6
4935 else
4936 cat > conftest.$ac_ext <<EOF
4937 #line 4938 "configure"
4938 #include "confdefs.h"
4939 /* System header to define __stub macros and hopefully few prototypes,
4940 which can conflict with char $ac_func(); below. */
4941 #include <assert.h>
4942 /* Override any gcc2 internal prototype to avoid an error. */
4943 /* We use char because int might match the return type of a gcc2
4944 builtin and then its argument prototype would still apply. */
4945 char $ac_func();
4947 int main() {
4949 /* The GNU C library defines this for functions which it implements
4950 to always fail with ENOSYS. Some functions are actually named
4951 something starting with __ and the normal name is an alias. */
4952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4953 choke me
4954 #else
4955 $ac_func();
4956 #endif
4958 ; return 0; }
4960 if { (eval echo configure:4961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4961 rm -rf conftest*
4962 eval "ac_cv_func_$ac_func=yes"
4963 else
4964 echo "configure: failed program was:" >&5
4965 cat conftest.$ac_ext >&5
4966 rm -rf conftest*
4967 eval "ac_cv_func_$ac_func=no"
4969 rm -f conftest*
4972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4973 echo "$ac_t""yes" 1>&6
4974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4975 cat >> confdefs.h <<EOF
4976 #define $ac_tr_func 1
4979 else
4980 echo "$ac_t""no" 1>&6
4982 done
4987 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
4988 echo "configure:4989: checking for finite declaration" >&5
4989 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
4990 echo $ac_n "(cached) $ac_c" 1>&6
4991 else
4994 ac_ext=C
4995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4996 ac_cpp='$CXXCPP $CPPFLAGS'
4997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4999 cross_compiling=$ac_cv_prog_cxx_cross
5001 cat > conftest.$ac_ext <<EOF
5002 #line 5003 "configure"
5003 #include "confdefs.h"
5004 #include <math.h>
5005 int main() {
5006 finite(0);
5007 ; return 0; }
5009 if { (eval echo configure:5010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5010 rm -rf conftest*
5011 glibcpp_cv_func_finite_use=yes
5012 else
5013 echo "configure: failed program was:" >&5
5014 cat conftest.$ac_ext >&5
5015 rm -rf conftest*
5016 glibcpp_cv_func_finite_use=no
5018 rm -f conftest*
5019 ac_ext=c
5020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5021 ac_cpp='$CPP $CPPFLAGS'
5022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5024 cross_compiling=$ac_cv_prog_cc_cross
5029 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
5030 if test x$glibcpp_cv_func_finite_use = x"yes"; then
5031 for ac_func in finite
5033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5034 echo "configure:5035: checking for $ac_func" >&5
5035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5036 echo $ac_n "(cached) $ac_c" 1>&6
5037 else
5038 cat > conftest.$ac_ext <<EOF
5039 #line 5040 "configure"
5040 #include "confdefs.h"
5041 /* System header to define __stub macros and hopefully few prototypes,
5042 which can conflict with char $ac_func(); below. */
5043 #include <assert.h>
5044 /* Override any gcc2 internal prototype to avoid an error. */
5045 /* We use char because int might match the return type of a gcc2
5046 builtin and then its argument prototype would still apply. */
5047 char $ac_func();
5049 int main() {
5051 /* The GNU C library defines this for functions which it implements
5052 to always fail with ENOSYS. Some functions are actually named
5053 something starting with __ and the normal name is an alias. */
5054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5055 choke me
5056 #else
5057 $ac_func();
5058 #endif
5060 ; return 0; }
5062 if { (eval echo configure:5063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5063 rm -rf conftest*
5064 eval "ac_cv_func_$ac_func=yes"
5065 else
5066 echo "configure: failed program was:" >&5
5067 cat conftest.$ac_ext >&5
5068 rm -rf conftest*
5069 eval "ac_cv_func_$ac_func=no"
5071 rm -f conftest*
5074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5075 echo "$ac_t""yes" 1>&6
5076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5077 cat >> confdefs.h <<EOF
5078 #define $ac_tr_func 1
5081 else
5082 echo "$ac_t""no" 1>&6
5084 done
5089 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5090 echo "configure:5091: checking for copysign declaration" >&5
5091 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5092 echo $ac_n "(cached) $ac_c" 1>&6
5093 else
5096 ac_ext=C
5097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5098 ac_cpp='$CXXCPP $CPPFLAGS'
5099 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5100 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5101 cross_compiling=$ac_cv_prog_cxx_cross
5103 cat > conftest.$ac_ext <<EOF
5104 #line 5105 "configure"
5105 #include "confdefs.h"
5106 #include <math.h>
5107 int main() {
5108 copysign(0, 0);
5109 ; return 0; }
5111 if { (eval echo configure:5112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5112 rm -rf conftest*
5113 glibcpp_cv_func_copysign_use=yes
5114 else
5115 echo "configure: failed program was:" >&5
5116 cat conftest.$ac_ext >&5
5117 rm -rf conftest*
5118 glibcpp_cv_func_copysign_use=no
5120 rm -f conftest*
5121 ac_ext=c
5122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5123 ac_cpp='$CPP $CPPFLAGS'
5124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5125 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5126 cross_compiling=$ac_cv_prog_cc_cross
5131 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5132 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5133 for ac_func in copysign
5135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5136 echo "configure:5137: checking for $ac_func" >&5
5137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5138 echo $ac_n "(cached) $ac_c" 1>&6
5139 else
5140 cat > conftest.$ac_ext <<EOF
5141 #line 5142 "configure"
5142 #include "confdefs.h"
5143 /* System header to define __stub macros and hopefully few prototypes,
5144 which can conflict with char $ac_func(); below. */
5145 #include <assert.h>
5146 /* Override any gcc2 internal prototype to avoid an error. */
5147 /* We use char because int might match the return type of a gcc2
5148 builtin and then its argument prototype would still apply. */
5149 char $ac_func();
5151 int main() {
5153 /* The GNU C library defines this for functions which it implements
5154 to always fail with ENOSYS. Some functions are actually named
5155 something starting with __ and the normal name is an alias. */
5156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5157 choke me
5158 #else
5159 $ac_func();
5160 #endif
5162 ; return 0; }
5164 if { (eval echo configure:5165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5165 rm -rf conftest*
5166 eval "ac_cv_func_$ac_func=yes"
5167 else
5168 echo "configure: failed program was:" >&5
5169 cat conftest.$ac_ext >&5
5170 rm -rf conftest*
5171 eval "ac_cv_func_$ac_func=no"
5173 rm -f conftest*
5176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5177 echo "$ac_t""yes" 1>&6
5178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5179 cat >> confdefs.h <<EOF
5180 #define $ac_tr_func 1
5183 else
5184 echo "$ac_t""no" 1>&6
5186 done
5191 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5192 echo "configure:5193: checking for sincos declaration" >&5
5193 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5194 echo $ac_n "(cached) $ac_c" 1>&6
5195 else
5198 ac_ext=C
5199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5200 ac_cpp='$CXXCPP $CPPFLAGS'
5201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5203 cross_compiling=$ac_cv_prog_cxx_cross
5205 cat > conftest.$ac_ext <<EOF
5206 #line 5207 "configure"
5207 #include "confdefs.h"
5208 #include <math.h>
5209 int main() {
5210 sincos(0, 0, 0);
5211 ; return 0; }
5213 if { (eval echo configure:5214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5214 rm -rf conftest*
5215 glibcpp_cv_func_sincos_use=yes
5216 else
5217 echo "configure: failed program was:" >&5
5218 cat conftest.$ac_ext >&5
5219 rm -rf conftest*
5220 glibcpp_cv_func_sincos_use=no
5222 rm -f conftest*
5223 ac_ext=c
5224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5225 ac_cpp='$CPP $CPPFLAGS'
5226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5228 cross_compiling=$ac_cv_prog_cc_cross
5233 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5234 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5235 for ac_func in sincos
5237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5238 echo "configure:5239: checking for $ac_func" >&5
5239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5240 echo $ac_n "(cached) $ac_c" 1>&6
5241 else
5242 cat > conftest.$ac_ext <<EOF
5243 #line 5244 "configure"
5244 #include "confdefs.h"
5245 /* System header to define __stub macros and hopefully few prototypes,
5246 which can conflict with char $ac_func(); below. */
5247 #include <assert.h>
5248 /* Override any gcc2 internal prototype to avoid an error. */
5249 /* We use char because int might match the return type of a gcc2
5250 builtin and then its argument prototype would still apply. */
5251 char $ac_func();
5253 int main() {
5255 /* The GNU C library defines this for functions which it implements
5256 to always fail with ENOSYS. Some functions are actually named
5257 something starting with __ and the normal name is an alias. */
5258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5259 choke me
5260 #else
5261 $ac_func();
5262 #endif
5264 ; return 0; }
5266 if { (eval echo configure:5267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5267 rm -rf conftest*
5268 eval "ac_cv_func_$ac_func=yes"
5269 else
5270 echo "configure: failed program was:" >&5
5271 cat conftest.$ac_ext >&5
5272 rm -rf conftest*
5273 eval "ac_cv_func_$ac_func=no"
5275 rm -f conftest*
5278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5279 echo "$ac_t""yes" 1>&6
5280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5281 cat >> confdefs.h <<EOF
5282 #define $ac_tr_func 1
5285 else
5286 echo "$ac_t""no" 1>&6
5288 done
5293 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5294 echo "configure:5295: checking for fpclass declaration" >&5
5295 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5296 echo $ac_n "(cached) $ac_c" 1>&6
5297 else
5300 ac_ext=C
5301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5302 ac_cpp='$CXXCPP $CPPFLAGS'
5303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5305 cross_compiling=$ac_cv_prog_cxx_cross
5307 cat > conftest.$ac_ext <<EOF
5308 #line 5309 "configure"
5309 #include "confdefs.h"
5310 #include <math.h>
5311 int main() {
5312 fpclass(0);
5313 ; return 0; }
5315 if { (eval echo configure:5316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5316 rm -rf conftest*
5317 glibcpp_cv_func_fpclass_use=yes
5318 else
5319 echo "configure: failed program was:" >&5
5320 cat conftest.$ac_ext >&5
5321 rm -rf conftest*
5322 glibcpp_cv_func_fpclass_use=no
5324 rm -f conftest*
5325 ac_ext=c
5326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5327 ac_cpp='$CPP $CPPFLAGS'
5328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5330 cross_compiling=$ac_cv_prog_cc_cross
5335 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5336 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5337 for ac_func in fpclass
5339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5340 echo "configure:5341: checking for $ac_func" >&5
5341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5342 echo $ac_n "(cached) $ac_c" 1>&6
5343 else
5344 cat > conftest.$ac_ext <<EOF
5345 #line 5346 "configure"
5346 #include "confdefs.h"
5347 /* System header to define __stub macros and hopefully few prototypes,
5348 which can conflict with char $ac_func(); below. */
5349 #include <assert.h>
5350 /* Override any gcc2 internal prototype to avoid an error. */
5351 /* We use char because int might match the return type of a gcc2
5352 builtin and then its argument prototype would still apply. */
5353 char $ac_func();
5355 int main() {
5357 /* The GNU C library defines this for functions which it implements
5358 to always fail with ENOSYS. Some functions are actually named
5359 something starting with __ and the normal name is an alias. */
5360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5361 choke me
5362 #else
5363 $ac_func();
5364 #endif
5366 ; return 0; }
5368 if { (eval echo configure:5369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5369 rm -rf conftest*
5370 eval "ac_cv_func_$ac_func=yes"
5371 else
5372 echo "configure: failed program was:" >&5
5373 cat conftest.$ac_ext >&5
5374 rm -rf conftest*
5375 eval "ac_cv_func_$ac_func=no"
5377 rm -f conftest*
5380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5381 echo "$ac_t""yes" 1>&6
5382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5383 cat >> confdefs.h <<EOF
5384 #define $ac_tr_func 1
5387 else
5388 echo "$ac_t""no" 1>&6
5390 done
5395 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5396 echo "configure:5397: checking for qfpclass declaration" >&5
5397 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5398 echo $ac_n "(cached) $ac_c" 1>&6
5399 else
5402 ac_ext=C
5403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5404 ac_cpp='$CXXCPP $CPPFLAGS'
5405 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5406 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5407 cross_compiling=$ac_cv_prog_cxx_cross
5409 cat > conftest.$ac_ext <<EOF
5410 #line 5411 "configure"
5411 #include "confdefs.h"
5412 #include <math.h>
5413 int main() {
5414 qfpclass(0);
5415 ; return 0; }
5417 if { (eval echo configure:5418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5418 rm -rf conftest*
5419 glibcpp_cv_func_qfpclass_use=yes
5420 else
5421 echo "configure: failed program was:" >&5
5422 cat conftest.$ac_ext >&5
5423 rm -rf conftest*
5424 glibcpp_cv_func_qfpclass_use=no
5426 rm -f conftest*
5427 ac_ext=c
5428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5429 ac_cpp='$CPP $CPPFLAGS'
5430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5432 cross_compiling=$ac_cv_prog_cc_cross
5437 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5438 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5439 for ac_func in qfpclass
5441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5442 echo "configure:5443: checking for $ac_func" >&5
5443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5444 echo $ac_n "(cached) $ac_c" 1>&6
5445 else
5446 cat > conftest.$ac_ext <<EOF
5447 #line 5448 "configure"
5448 #include "confdefs.h"
5449 /* System header to define __stub macros and hopefully few prototypes,
5450 which can conflict with char $ac_func(); below. */
5451 #include <assert.h>
5452 /* Override any gcc2 internal prototype to avoid an error. */
5453 /* We use char because int might match the return type of a gcc2
5454 builtin and then its argument prototype would still apply. */
5455 char $ac_func();
5457 int main() {
5459 /* The GNU C library defines this for functions which it implements
5460 to always fail with ENOSYS. Some functions are actually named
5461 something starting with __ and the normal name is an alias. */
5462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5463 choke me
5464 #else
5465 $ac_func();
5466 #endif
5468 ; return 0; }
5470 if { (eval echo configure:5471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5471 rm -rf conftest*
5472 eval "ac_cv_func_$ac_func=yes"
5473 else
5474 echo "configure: failed program was:" >&5
5475 cat conftest.$ac_ext >&5
5476 rm -rf conftest*
5477 eval "ac_cv_func_$ac_func=no"
5479 rm -f conftest*
5482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5483 echo "$ac_t""yes" 1>&6
5484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5485 cat >> confdefs.h <<EOF
5486 #define $ac_tr_func 1
5489 else
5490 echo "$ac_t""no" 1>&6
5492 done
5498 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5499 echo "configure:5500: checking for isnanf declaration" >&5
5500 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5501 echo $ac_n "(cached) $ac_c" 1>&6
5502 else
5505 ac_ext=C
5506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5507 ac_cpp='$CXXCPP $CPPFLAGS'
5508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5510 cross_compiling=$ac_cv_prog_cxx_cross
5512 cat > conftest.$ac_ext <<EOF
5513 #line 5514 "configure"
5514 #include "confdefs.h"
5515 #include <math.h>
5516 int main() {
5517 isnanf(0);
5518 ; return 0; }
5520 if { (eval echo configure:5521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5521 rm -rf conftest*
5522 glibcpp_cv_func_isnanf_use=yes
5523 else
5524 echo "configure: failed program was:" >&5
5525 cat conftest.$ac_ext >&5
5526 rm -rf conftest*
5527 glibcpp_cv_func_isnanf_use=no
5529 rm -f conftest*
5530 ac_ext=c
5531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5532 ac_cpp='$CPP $CPPFLAGS'
5533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5535 cross_compiling=$ac_cv_prog_cc_cross
5540 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5541 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5542 for ac_func in isnanf
5544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5545 echo "configure:5546: checking for $ac_func" >&5
5546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5547 echo $ac_n "(cached) $ac_c" 1>&6
5548 else
5549 cat > conftest.$ac_ext <<EOF
5550 #line 5551 "configure"
5551 #include "confdefs.h"
5552 /* System header to define __stub macros and hopefully few prototypes,
5553 which can conflict with char $ac_func(); below. */
5554 #include <assert.h>
5555 /* Override any gcc2 internal prototype to avoid an error. */
5556 /* We use char because int might match the return type of a gcc2
5557 builtin and then its argument prototype would still apply. */
5558 char $ac_func();
5560 int main() {
5562 /* The GNU C library defines this for functions which it implements
5563 to always fail with ENOSYS. Some functions are actually named
5564 something starting with __ and the normal name is an alias. */
5565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5566 choke me
5567 #else
5568 $ac_func();
5569 #endif
5571 ; return 0; }
5573 if { (eval echo configure:5574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5574 rm -rf conftest*
5575 eval "ac_cv_func_$ac_func=yes"
5576 else
5577 echo "configure: failed program was:" >&5
5578 cat conftest.$ac_ext >&5
5579 rm -rf conftest*
5580 eval "ac_cv_func_$ac_func=no"
5582 rm -f conftest*
5585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5586 echo "$ac_t""yes" 1>&6
5587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5588 cat >> confdefs.h <<EOF
5589 #define $ac_tr_func 1
5592 else
5593 echo "$ac_t""no" 1>&6
5595 done
5600 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5601 echo "configure:5602: checking for isinff declaration" >&5
5602 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5603 echo $ac_n "(cached) $ac_c" 1>&6
5604 else
5607 ac_ext=C
5608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5609 ac_cpp='$CXXCPP $CPPFLAGS'
5610 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5611 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5612 cross_compiling=$ac_cv_prog_cxx_cross
5614 cat > conftest.$ac_ext <<EOF
5615 #line 5616 "configure"
5616 #include "confdefs.h"
5617 #include <math.h>
5618 int main() {
5619 isinff(0);
5620 ; return 0; }
5622 if { (eval echo configure:5623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5623 rm -rf conftest*
5624 glibcpp_cv_func_isinff_use=yes
5625 else
5626 echo "configure: failed program was:" >&5
5627 cat conftest.$ac_ext >&5
5628 rm -rf conftest*
5629 glibcpp_cv_func_isinff_use=no
5631 rm -f conftest*
5632 ac_ext=c
5633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5634 ac_cpp='$CPP $CPPFLAGS'
5635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5637 cross_compiling=$ac_cv_prog_cc_cross
5642 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5643 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5644 for ac_func in isinff
5646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5647 echo "configure:5648: checking for $ac_func" >&5
5648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5649 echo $ac_n "(cached) $ac_c" 1>&6
5650 else
5651 cat > conftest.$ac_ext <<EOF
5652 #line 5653 "configure"
5653 #include "confdefs.h"
5654 /* System header to define __stub macros and hopefully few prototypes,
5655 which can conflict with char $ac_func(); below. */
5656 #include <assert.h>
5657 /* Override any gcc2 internal prototype to avoid an error. */
5658 /* We use char because int might match the return type of a gcc2
5659 builtin and then its argument prototype would still apply. */
5660 char $ac_func();
5662 int main() {
5664 /* The GNU C library defines this for functions which it implements
5665 to always fail with ENOSYS. Some functions are actually named
5666 something starting with __ and the normal name is an alias. */
5667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5668 choke me
5669 #else
5670 $ac_func();
5671 #endif
5673 ; return 0; }
5675 if { (eval echo configure:5676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5676 rm -rf conftest*
5677 eval "ac_cv_func_$ac_func=yes"
5678 else
5679 echo "configure: failed program was:" >&5
5680 cat conftest.$ac_ext >&5
5681 rm -rf conftest*
5682 eval "ac_cv_func_$ac_func=no"
5684 rm -f conftest*
5687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5688 echo "$ac_t""yes" 1>&6
5689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5690 cat >> confdefs.h <<EOF
5691 #define $ac_tr_func 1
5694 else
5695 echo "$ac_t""no" 1>&6
5697 done
5702 echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5703 echo "configure:5704: checking for acosf declaration" >&5
5704 if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5705 echo $ac_n "(cached) $ac_c" 1>&6
5706 else
5709 ac_ext=C
5710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5711 ac_cpp='$CXXCPP $CPPFLAGS'
5712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5714 cross_compiling=$ac_cv_prog_cxx_cross
5716 cat > conftest.$ac_ext <<EOF
5717 #line 5718 "configure"
5718 #include "confdefs.h"
5719 #include <math.h>
5720 int main() {
5721 acosf(0);
5722 ; return 0; }
5724 if { (eval echo configure:5725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5725 rm -rf conftest*
5726 glibcpp_cv_func_acosf_use=yes
5727 else
5728 echo "configure: failed program was:" >&5
5729 cat conftest.$ac_ext >&5
5730 rm -rf conftest*
5731 glibcpp_cv_func_acosf_use=no
5733 rm -f conftest*
5734 ac_ext=c
5735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5736 ac_cpp='$CPP $CPPFLAGS'
5737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5739 cross_compiling=$ac_cv_prog_cc_cross
5744 echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5745 if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5746 for ac_func in acosf
5748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5749 echo "configure:5750: checking for $ac_func" >&5
5750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5751 echo $ac_n "(cached) $ac_c" 1>&6
5752 else
5753 cat > conftest.$ac_ext <<EOF
5754 #line 5755 "configure"
5755 #include "confdefs.h"
5756 /* System header to define __stub macros and hopefully few prototypes,
5757 which can conflict with char $ac_func(); below. */
5758 #include <assert.h>
5759 /* Override any gcc2 internal prototype to avoid an error. */
5760 /* We use char because int might match the return type of a gcc2
5761 builtin and then its argument prototype would still apply. */
5762 char $ac_func();
5764 int main() {
5766 /* The GNU C library defines this for functions which it implements
5767 to always fail with ENOSYS. Some functions are actually named
5768 something starting with __ and the normal name is an alias. */
5769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5770 choke me
5771 #else
5772 $ac_func();
5773 #endif
5775 ; return 0; }
5777 if { (eval echo configure:5778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5778 rm -rf conftest*
5779 eval "ac_cv_func_$ac_func=yes"
5780 else
5781 echo "configure: failed program was:" >&5
5782 cat conftest.$ac_ext >&5
5783 rm -rf conftest*
5784 eval "ac_cv_func_$ac_func=no"
5786 rm -f conftest*
5789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5790 echo "$ac_t""yes" 1>&6
5791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5792 cat >> confdefs.h <<EOF
5793 #define $ac_tr_func 1
5796 else
5797 echo "$ac_t""no" 1>&6
5799 done
5804 echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5805 echo "configure:5806: checking for asinf declaration" >&5
5806 if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5807 echo $ac_n "(cached) $ac_c" 1>&6
5808 else
5811 ac_ext=C
5812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5813 ac_cpp='$CXXCPP $CPPFLAGS'
5814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5816 cross_compiling=$ac_cv_prog_cxx_cross
5818 cat > conftest.$ac_ext <<EOF
5819 #line 5820 "configure"
5820 #include "confdefs.h"
5821 #include <math.h>
5822 int main() {
5823 asinf(0);
5824 ; return 0; }
5826 if { (eval echo configure:5827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5827 rm -rf conftest*
5828 glibcpp_cv_func_asinf_use=yes
5829 else
5830 echo "configure: failed program was:" >&5
5831 cat conftest.$ac_ext >&5
5832 rm -rf conftest*
5833 glibcpp_cv_func_asinf_use=no
5835 rm -f conftest*
5836 ac_ext=c
5837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5838 ac_cpp='$CPP $CPPFLAGS'
5839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5841 cross_compiling=$ac_cv_prog_cc_cross
5846 echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5847 if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5848 for ac_func in asinf
5850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5851 echo "configure:5852: checking for $ac_func" >&5
5852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5853 echo $ac_n "(cached) $ac_c" 1>&6
5854 else
5855 cat > conftest.$ac_ext <<EOF
5856 #line 5857 "configure"
5857 #include "confdefs.h"
5858 /* System header to define __stub macros and hopefully few prototypes,
5859 which can conflict with char $ac_func(); below. */
5860 #include <assert.h>
5861 /* Override any gcc2 internal prototype to avoid an error. */
5862 /* We use char because int might match the return type of a gcc2
5863 builtin and then its argument prototype would still apply. */
5864 char $ac_func();
5866 int main() {
5868 /* The GNU C library defines this for functions which it implements
5869 to always fail with ENOSYS. Some functions are actually named
5870 something starting with __ and the normal name is an alias. */
5871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5872 choke me
5873 #else
5874 $ac_func();
5875 #endif
5877 ; return 0; }
5879 if { (eval echo configure:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5880 rm -rf conftest*
5881 eval "ac_cv_func_$ac_func=yes"
5882 else
5883 echo "configure: failed program was:" >&5
5884 cat conftest.$ac_ext >&5
5885 rm -rf conftest*
5886 eval "ac_cv_func_$ac_func=no"
5888 rm -f conftest*
5891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5892 echo "$ac_t""yes" 1>&6
5893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5894 cat >> confdefs.h <<EOF
5895 #define $ac_tr_func 1
5898 else
5899 echo "$ac_t""no" 1>&6
5901 done
5906 echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
5907 echo "configure:5908: checking for atanf declaration" >&5
5908 if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
5909 echo $ac_n "(cached) $ac_c" 1>&6
5910 else
5913 ac_ext=C
5914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5915 ac_cpp='$CXXCPP $CPPFLAGS'
5916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5918 cross_compiling=$ac_cv_prog_cxx_cross
5920 cat > conftest.$ac_ext <<EOF
5921 #line 5922 "configure"
5922 #include "confdefs.h"
5923 #include <math.h>
5924 int main() {
5925 atanf(0);
5926 ; return 0; }
5928 if { (eval echo configure:5929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5929 rm -rf conftest*
5930 glibcpp_cv_func_atanf_use=yes
5931 else
5932 echo "configure: failed program was:" >&5
5933 cat conftest.$ac_ext >&5
5934 rm -rf conftest*
5935 glibcpp_cv_func_atanf_use=no
5937 rm -f conftest*
5938 ac_ext=c
5939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5940 ac_cpp='$CPP $CPPFLAGS'
5941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5943 cross_compiling=$ac_cv_prog_cc_cross
5948 echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
5949 if test x$glibcpp_cv_func_atanf_use = x"yes"; then
5950 for ac_func in atanf
5952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5953 echo "configure:5954: checking for $ac_func" >&5
5954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5955 echo $ac_n "(cached) $ac_c" 1>&6
5956 else
5957 cat > conftest.$ac_ext <<EOF
5958 #line 5959 "configure"
5959 #include "confdefs.h"
5960 /* System header to define __stub macros and hopefully few prototypes,
5961 which can conflict with char $ac_func(); below. */
5962 #include <assert.h>
5963 /* Override any gcc2 internal prototype to avoid an error. */
5964 /* We use char because int might match the return type of a gcc2
5965 builtin and then its argument prototype would still apply. */
5966 char $ac_func();
5968 int main() {
5970 /* The GNU C library defines this for functions which it implements
5971 to always fail with ENOSYS. Some functions are actually named
5972 something starting with __ and the normal name is an alias. */
5973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5974 choke me
5975 #else
5976 $ac_func();
5977 #endif
5979 ; return 0; }
5981 if { (eval echo configure:5982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5982 rm -rf conftest*
5983 eval "ac_cv_func_$ac_func=yes"
5984 else
5985 echo "configure: failed program was:" >&5
5986 cat conftest.$ac_ext >&5
5987 rm -rf conftest*
5988 eval "ac_cv_func_$ac_func=no"
5990 rm -f conftest*
5993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5994 echo "$ac_t""yes" 1>&6
5995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5996 cat >> confdefs.h <<EOF
5997 #define $ac_tr_func 1
6000 else
6001 echo "$ac_t""no" 1>&6
6003 done
6008 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
6009 echo "configure:6010: checking for atan2f declaration" >&5
6010 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
6011 echo $ac_n "(cached) $ac_c" 1>&6
6012 else
6015 ac_ext=C
6016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6017 ac_cpp='$CXXCPP $CPPFLAGS'
6018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6020 cross_compiling=$ac_cv_prog_cxx_cross
6022 cat > conftest.$ac_ext <<EOF
6023 #line 6024 "configure"
6024 #include "confdefs.h"
6025 #include <math.h>
6026 int main() {
6027 atan2f(0, 0);
6028 ; return 0; }
6030 if { (eval echo configure:6031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6031 rm -rf conftest*
6032 glibcpp_cv_func_atan2f_use=yes
6033 else
6034 echo "configure: failed program was:" >&5
6035 cat conftest.$ac_ext >&5
6036 rm -rf conftest*
6037 glibcpp_cv_func_atan2f_use=no
6039 rm -f conftest*
6040 ac_ext=c
6041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6042 ac_cpp='$CPP $CPPFLAGS'
6043 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6044 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6045 cross_compiling=$ac_cv_prog_cc_cross
6050 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6051 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6052 for ac_func in atan2f
6054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6055 echo "configure:6056: checking for $ac_func" >&5
6056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6057 echo $ac_n "(cached) $ac_c" 1>&6
6058 else
6059 cat > conftest.$ac_ext <<EOF
6060 #line 6061 "configure"
6061 #include "confdefs.h"
6062 /* System header to define __stub macros and hopefully few prototypes,
6063 which can conflict with char $ac_func(); below. */
6064 #include <assert.h>
6065 /* Override any gcc2 internal prototype to avoid an error. */
6066 /* We use char because int might match the return type of a gcc2
6067 builtin and then its argument prototype would still apply. */
6068 char $ac_func();
6070 int main() {
6072 /* The GNU C library defines this for functions which it implements
6073 to always fail with ENOSYS. Some functions are actually named
6074 something starting with __ and the normal name is an alias. */
6075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6076 choke me
6077 #else
6078 $ac_func();
6079 #endif
6081 ; return 0; }
6083 if { (eval echo configure:6084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6084 rm -rf conftest*
6085 eval "ac_cv_func_$ac_func=yes"
6086 else
6087 echo "configure: failed program was:" >&5
6088 cat conftest.$ac_ext >&5
6089 rm -rf conftest*
6090 eval "ac_cv_func_$ac_func=no"
6092 rm -f conftest*
6095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6096 echo "$ac_t""yes" 1>&6
6097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6098 cat >> confdefs.h <<EOF
6099 #define $ac_tr_func 1
6102 else
6103 echo "$ac_t""no" 1>&6
6105 done
6110 echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6111 echo "configure:6112: checking for ceilf declaration" >&5
6112 if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6113 echo $ac_n "(cached) $ac_c" 1>&6
6114 else
6117 ac_ext=C
6118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6119 ac_cpp='$CXXCPP $CPPFLAGS'
6120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6122 cross_compiling=$ac_cv_prog_cxx_cross
6124 cat > conftest.$ac_ext <<EOF
6125 #line 6126 "configure"
6126 #include "confdefs.h"
6127 #include <math.h>
6128 int main() {
6129 ceilf(0);
6130 ; return 0; }
6132 if { (eval echo configure:6133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6133 rm -rf conftest*
6134 glibcpp_cv_func_ceilf_use=yes
6135 else
6136 echo "configure: failed program was:" >&5
6137 cat conftest.$ac_ext >&5
6138 rm -rf conftest*
6139 glibcpp_cv_func_ceilf_use=no
6141 rm -f conftest*
6142 ac_ext=c
6143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6144 ac_cpp='$CPP $CPPFLAGS'
6145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6147 cross_compiling=$ac_cv_prog_cc_cross
6152 echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6153 if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6154 for ac_func in ceilf
6156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6157 echo "configure:6158: checking for $ac_func" >&5
6158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6159 echo $ac_n "(cached) $ac_c" 1>&6
6160 else
6161 cat > conftest.$ac_ext <<EOF
6162 #line 6163 "configure"
6163 #include "confdefs.h"
6164 /* System header to define __stub macros and hopefully few prototypes,
6165 which can conflict with char $ac_func(); below. */
6166 #include <assert.h>
6167 /* Override any gcc2 internal prototype to avoid an error. */
6168 /* We use char because int might match the return type of a gcc2
6169 builtin and then its argument prototype would still apply. */
6170 char $ac_func();
6172 int main() {
6174 /* The GNU C library defines this for functions which it implements
6175 to always fail with ENOSYS. Some functions are actually named
6176 something starting with __ and the normal name is an alias. */
6177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6178 choke me
6179 #else
6180 $ac_func();
6181 #endif
6183 ; return 0; }
6185 if { (eval echo configure:6186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6186 rm -rf conftest*
6187 eval "ac_cv_func_$ac_func=yes"
6188 else
6189 echo "configure: failed program was:" >&5
6190 cat conftest.$ac_ext >&5
6191 rm -rf conftest*
6192 eval "ac_cv_func_$ac_func=no"
6194 rm -f conftest*
6197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6198 echo "$ac_t""yes" 1>&6
6199 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6200 cat >> confdefs.h <<EOF
6201 #define $ac_tr_func 1
6204 else
6205 echo "$ac_t""no" 1>&6
6207 done
6212 echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6213 echo "configure:6214: checking for cosf declaration" >&5
6214 if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6215 echo $ac_n "(cached) $ac_c" 1>&6
6216 else
6219 ac_ext=C
6220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6221 ac_cpp='$CXXCPP $CPPFLAGS'
6222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6224 cross_compiling=$ac_cv_prog_cxx_cross
6226 cat > conftest.$ac_ext <<EOF
6227 #line 6228 "configure"
6228 #include "confdefs.h"
6229 #include <math.h>
6230 int main() {
6231 cosf(0);
6232 ; return 0; }
6234 if { (eval echo configure:6235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6235 rm -rf conftest*
6236 glibcpp_cv_func_cosf_use=yes
6237 else
6238 echo "configure: failed program was:" >&5
6239 cat conftest.$ac_ext >&5
6240 rm -rf conftest*
6241 glibcpp_cv_func_cosf_use=no
6243 rm -f conftest*
6244 ac_ext=c
6245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6246 ac_cpp='$CPP $CPPFLAGS'
6247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6249 cross_compiling=$ac_cv_prog_cc_cross
6254 echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6255 if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6256 for ac_func in cosf
6258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6259 echo "configure:6260: checking for $ac_func" >&5
6260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6261 echo $ac_n "(cached) $ac_c" 1>&6
6262 else
6263 cat > conftest.$ac_ext <<EOF
6264 #line 6265 "configure"
6265 #include "confdefs.h"
6266 /* System header to define __stub macros and hopefully few prototypes,
6267 which can conflict with char $ac_func(); below. */
6268 #include <assert.h>
6269 /* Override any gcc2 internal prototype to avoid an error. */
6270 /* We use char because int might match the return type of a gcc2
6271 builtin and then its argument prototype would still apply. */
6272 char $ac_func();
6274 int main() {
6276 /* The GNU C library defines this for functions which it implements
6277 to always fail with ENOSYS. Some functions are actually named
6278 something starting with __ and the normal name is an alias. */
6279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6280 choke me
6281 #else
6282 $ac_func();
6283 #endif
6285 ; return 0; }
6287 if { (eval echo configure:6288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6288 rm -rf conftest*
6289 eval "ac_cv_func_$ac_func=yes"
6290 else
6291 echo "configure: failed program was:" >&5
6292 cat conftest.$ac_ext >&5
6293 rm -rf conftest*
6294 eval "ac_cv_func_$ac_func=no"
6296 rm -f conftest*
6299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6300 echo "$ac_t""yes" 1>&6
6301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6302 cat >> confdefs.h <<EOF
6303 #define $ac_tr_func 1
6306 else
6307 echo "$ac_t""no" 1>&6
6309 done
6314 echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6315 echo "configure:6316: checking for coshf declaration" >&5
6316 if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6317 echo $ac_n "(cached) $ac_c" 1>&6
6318 else
6321 ac_ext=C
6322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6323 ac_cpp='$CXXCPP $CPPFLAGS'
6324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6326 cross_compiling=$ac_cv_prog_cxx_cross
6328 cat > conftest.$ac_ext <<EOF
6329 #line 6330 "configure"
6330 #include "confdefs.h"
6331 #include <math.h>
6332 int main() {
6333 coshf(0);
6334 ; return 0; }
6336 if { (eval echo configure:6337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6337 rm -rf conftest*
6338 glibcpp_cv_func_coshf_use=yes
6339 else
6340 echo "configure: failed program was:" >&5
6341 cat conftest.$ac_ext >&5
6342 rm -rf conftest*
6343 glibcpp_cv_func_coshf_use=no
6345 rm -f conftest*
6346 ac_ext=c
6347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6348 ac_cpp='$CPP $CPPFLAGS'
6349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6351 cross_compiling=$ac_cv_prog_cc_cross
6356 echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6357 if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6358 for ac_func in coshf
6360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6361 echo "configure:6362: checking for $ac_func" >&5
6362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6363 echo $ac_n "(cached) $ac_c" 1>&6
6364 else
6365 cat > conftest.$ac_ext <<EOF
6366 #line 6367 "configure"
6367 #include "confdefs.h"
6368 /* System header to define __stub macros and hopefully few prototypes,
6369 which can conflict with char $ac_func(); below. */
6370 #include <assert.h>
6371 /* Override any gcc2 internal prototype to avoid an error. */
6372 /* We use char because int might match the return type of a gcc2
6373 builtin and then its argument prototype would still apply. */
6374 char $ac_func();
6376 int main() {
6378 /* The GNU C library defines this for functions which it implements
6379 to always fail with ENOSYS. Some functions are actually named
6380 something starting with __ and the normal name is an alias. */
6381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6382 choke me
6383 #else
6384 $ac_func();
6385 #endif
6387 ; return 0; }
6389 if { (eval echo configure:6390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6390 rm -rf conftest*
6391 eval "ac_cv_func_$ac_func=yes"
6392 else
6393 echo "configure: failed program was:" >&5
6394 cat conftest.$ac_ext >&5
6395 rm -rf conftest*
6396 eval "ac_cv_func_$ac_func=no"
6398 rm -f conftest*
6401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6402 echo "$ac_t""yes" 1>&6
6403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6404 cat >> confdefs.h <<EOF
6405 #define $ac_tr_func 1
6408 else
6409 echo "$ac_t""no" 1>&6
6411 done
6416 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6417 echo "configure:6418: checking for expf declaration" >&5
6418 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6419 echo $ac_n "(cached) $ac_c" 1>&6
6420 else
6423 ac_ext=C
6424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6425 ac_cpp='$CXXCPP $CPPFLAGS'
6426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6428 cross_compiling=$ac_cv_prog_cxx_cross
6430 cat > conftest.$ac_ext <<EOF
6431 #line 6432 "configure"
6432 #include "confdefs.h"
6433 #include <math.h>
6434 int main() {
6435 expf(0);
6436 ; return 0; }
6438 if { (eval echo configure:6439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6439 rm -rf conftest*
6440 glibcpp_cv_func_expf_use=yes
6441 else
6442 echo "configure: failed program was:" >&5
6443 cat conftest.$ac_ext >&5
6444 rm -rf conftest*
6445 glibcpp_cv_func_expf_use=no
6447 rm -f conftest*
6448 ac_ext=c
6449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6450 ac_cpp='$CPP $CPPFLAGS'
6451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6453 cross_compiling=$ac_cv_prog_cc_cross
6458 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6459 if test x$glibcpp_cv_func_expf_use = x"yes"; then
6460 for ac_func in expf
6462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6463 echo "configure:6464: checking for $ac_func" >&5
6464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6465 echo $ac_n "(cached) $ac_c" 1>&6
6466 else
6467 cat > conftest.$ac_ext <<EOF
6468 #line 6469 "configure"
6469 #include "confdefs.h"
6470 /* System header to define __stub macros and hopefully few prototypes,
6471 which can conflict with char $ac_func(); below. */
6472 #include <assert.h>
6473 /* Override any gcc2 internal prototype to avoid an error. */
6474 /* We use char because int might match the return type of a gcc2
6475 builtin and then its argument prototype would still apply. */
6476 char $ac_func();
6478 int main() {
6480 /* The GNU C library defines this for functions which it implements
6481 to always fail with ENOSYS. Some functions are actually named
6482 something starting with __ and the normal name is an alias. */
6483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6484 choke me
6485 #else
6486 $ac_func();
6487 #endif
6489 ; return 0; }
6491 if { (eval echo configure:6492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6492 rm -rf conftest*
6493 eval "ac_cv_func_$ac_func=yes"
6494 else
6495 echo "configure: failed program was:" >&5
6496 cat conftest.$ac_ext >&5
6497 rm -rf conftest*
6498 eval "ac_cv_func_$ac_func=no"
6500 rm -f conftest*
6503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6504 echo "$ac_t""yes" 1>&6
6505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6506 cat >> confdefs.h <<EOF
6507 #define $ac_tr_func 1
6510 else
6511 echo "$ac_t""no" 1>&6
6513 done
6518 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6519 echo "configure:6520: checking for fabsf declaration" >&5
6520 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6521 echo $ac_n "(cached) $ac_c" 1>&6
6522 else
6525 ac_ext=C
6526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6527 ac_cpp='$CXXCPP $CPPFLAGS'
6528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6530 cross_compiling=$ac_cv_prog_cxx_cross
6532 cat > conftest.$ac_ext <<EOF
6533 #line 6534 "configure"
6534 #include "confdefs.h"
6535 #include <math.h>
6536 int main() {
6537 fabsf(0);
6538 ; return 0; }
6540 if { (eval echo configure:6541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6541 rm -rf conftest*
6542 glibcpp_cv_func_fabsf_use=yes
6543 else
6544 echo "configure: failed program was:" >&5
6545 cat conftest.$ac_ext >&5
6546 rm -rf conftest*
6547 glibcpp_cv_func_fabsf_use=no
6549 rm -f conftest*
6550 ac_ext=c
6551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6552 ac_cpp='$CPP $CPPFLAGS'
6553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6555 cross_compiling=$ac_cv_prog_cc_cross
6560 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6561 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6562 for ac_func in fabsf
6564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6565 echo "configure:6566: checking for $ac_func" >&5
6566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6567 echo $ac_n "(cached) $ac_c" 1>&6
6568 else
6569 cat > conftest.$ac_ext <<EOF
6570 #line 6571 "configure"
6571 #include "confdefs.h"
6572 /* System header to define __stub macros and hopefully few prototypes,
6573 which can conflict with char $ac_func(); below. */
6574 #include <assert.h>
6575 /* Override any gcc2 internal prototype to avoid an error. */
6576 /* We use char because int might match the return type of a gcc2
6577 builtin and then its argument prototype would still apply. */
6578 char $ac_func();
6580 int main() {
6582 /* The GNU C library defines this for functions which it implements
6583 to always fail with ENOSYS. Some functions are actually named
6584 something starting with __ and the normal name is an alias. */
6585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6586 choke me
6587 #else
6588 $ac_func();
6589 #endif
6591 ; return 0; }
6593 if { (eval echo configure:6594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6594 rm -rf conftest*
6595 eval "ac_cv_func_$ac_func=yes"
6596 else
6597 echo "configure: failed program was:" >&5
6598 cat conftest.$ac_ext >&5
6599 rm -rf conftest*
6600 eval "ac_cv_func_$ac_func=no"
6602 rm -f conftest*
6605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6606 echo "$ac_t""yes" 1>&6
6607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6608 cat >> confdefs.h <<EOF
6609 #define $ac_tr_func 1
6612 else
6613 echo "$ac_t""no" 1>&6
6615 done
6620 echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6621 echo "configure:6622: checking for floorf declaration" >&5
6622 if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6623 echo $ac_n "(cached) $ac_c" 1>&6
6624 else
6627 ac_ext=C
6628 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6629 ac_cpp='$CXXCPP $CPPFLAGS'
6630 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6631 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6632 cross_compiling=$ac_cv_prog_cxx_cross
6634 cat > conftest.$ac_ext <<EOF
6635 #line 6636 "configure"
6636 #include "confdefs.h"
6637 #include <math.h>
6638 int main() {
6639 floorf(0);
6640 ; return 0; }
6642 if { (eval echo configure:6643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6643 rm -rf conftest*
6644 glibcpp_cv_func_floorf_use=yes
6645 else
6646 echo "configure: failed program was:" >&5
6647 cat conftest.$ac_ext >&5
6648 rm -rf conftest*
6649 glibcpp_cv_func_floorf_use=no
6651 rm -f conftest*
6652 ac_ext=c
6653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6654 ac_cpp='$CPP $CPPFLAGS'
6655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6657 cross_compiling=$ac_cv_prog_cc_cross
6662 echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6663 if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6664 for ac_func in floorf
6666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6667 echo "configure:6668: checking for $ac_func" >&5
6668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6669 echo $ac_n "(cached) $ac_c" 1>&6
6670 else
6671 cat > conftest.$ac_ext <<EOF
6672 #line 6673 "configure"
6673 #include "confdefs.h"
6674 /* System header to define __stub macros and hopefully few prototypes,
6675 which can conflict with char $ac_func(); below. */
6676 #include <assert.h>
6677 /* Override any gcc2 internal prototype to avoid an error. */
6678 /* We use char because int might match the return type of a gcc2
6679 builtin and then its argument prototype would still apply. */
6680 char $ac_func();
6682 int main() {
6684 /* The GNU C library defines this for functions which it implements
6685 to always fail with ENOSYS. Some functions are actually named
6686 something starting with __ and the normal name is an alias. */
6687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6688 choke me
6689 #else
6690 $ac_func();
6691 #endif
6693 ; return 0; }
6695 if { (eval echo configure:6696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6696 rm -rf conftest*
6697 eval "ac_cv_func_$ac_func=yes"
6698 else
6699 echo "configure: failed program was:" >&5
6700 cat conftest.$ac_ext >&5
6701 rm -rf conftest*
6702 eval "ac_cv_func_$ac_func=no"
6704 rm -f conftest*
6707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6708 echo "$ac_t""yes" 1>&6
6709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6710 cat >> confdefs.h <<EOF
6711 #define $ac_tr_func 1
6714 else
6715 echo "$ac_t""no" 1>&6
6717 done
6722 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6723 echo "configure:6724: checking for fmodf declaration" >&5
6724 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6725 echo $ac_n "(cached) $ac_c" 1>&6
6726 else
6729 ac_ext=C
6730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6731 ac_cpp='$CXXCPP $CPPFLAGS'
6732 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6733 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6734 cross_compiling=$ac_cv_prog_cxx_cross
6736 cat > conftest.$ac_ext <<EOF
6737 #line 6738 "configure"
6738 #include "confdefs.h"
6739 #include <math.h>
6740 int main() {
6741 fmodf(0, 0);
6742 ; return 0; }
6744 if { (eval echo configure:6745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6745 rm -rf conftest*
6746 glibcpp_cv_func_fmodf_use=yes
6747 else
6748 echo "configure: failed program was:" >&5
6749 cat conftest.$ac_ext >&5
6750 rm -rf conftest*
6751 glibcpp_cv_func_fmodf_use=no
6753 rm -f conftest*
6754 ac_ext=c
6755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6756 ac_cpp='$CPP $CPPFLAGS'
6757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6759 cross_compiling=$ac_cv_prog_cc_cross
6764 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6765 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6766 for ac_func in fmodf
6768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6769 echo "configure:6770: checking for $ac_func" >&5
6770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6771 echo $ac_n "(cached) $ac_c" 1>&6
6772 else
6773 cat > conftest.$ac_ext <<EOF
6774 #line 6775 "configure"
6775 #include "confdefs.h"
6776 /* System header to define __stub macros and hopefully few prototypes,
6777 which can conflict with char $ac_func(); below. */
6778 #include <assert.h>
6779 /* Override any gcc2 internal prototype to avoid an error. */
6780 /* We use char because int might match the return type of a gcc2
6781 builtin and then its argument prototype would still apply. */
6782 char $ac_func();
6784 int main() {
6786 /* The GNU C library defines this for functions which it implements
6787 to always fail with ENOSYS. Some functions are actually named
6788 something starting with __ and the normal name is an alias. */
6789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6790 choke me
6791 #else
6792 $ac_func();
6793 #endif
6795 ; return 0; }
6797 if { (eval echo configure:6798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6798 rm -rf conftest*
6799 eval "ac_cv_func_$ac_func=yes"
6800 else
6801 echo "configure: failed program was:" >&5
6802 cat conftest.$ac_ext >&5
6803 rm -rf conftest*
6804 eval "ac_cv_func_$ac_func=no"
6806 rm -f conftest*
6809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6810 echo "$ac_t""yes" 1>&6
6811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6812 cat >> confdefs.h <<EOF
6813 #define $ac_tr_func 1
6816 else
6817 echo "$ac_t""no" 1>&6
6819 done
6824 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6825 echo "configure:6826: checking for frexpf declaration" >&5
6826 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6827 echo $ac_n "(cached) $ac_c" 1>&6
6828 else
6831 ac_ext=C
6832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6833 ac_cpp='$CXXCPP $CPPFLAGS'
6834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6836 cross_compiling=$ac_cv_prog_cxx_cross
6838 cat > conftest.$ac_ext <<EOF
6839 #line 6840 "configure"
6840 #include "confdefs.h"
6841 #include <math.h>
6842 int main() {
6843 frexpf(0, 0);
6844 ; return 0; }
6846 if { (eval echo configure:6847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6847 rm -rf conftest*
6848 glibcpp_cv_func_frexpf_use=yes
6849 else
6850 echo "configure: failed program was:" >&5
6851 cat conftest.$ac_ext >&5
6852 rm -rf conftest*
6853 glibcpp_cv_func_frexpf_use=no
6855 rm -f conftest*
6856 ac_ext=c
6857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6858 ac_cpp='$CPP $CPPFLAGS'
6859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6861 cross_compiling=$ac_cv_prog_cc_cross
6866 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6867 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6868 for ac_func in frexpf
6870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6871 echo "configure:6872: checking for $ac_func" >&5
6872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6873 echo $ac_n "(cached) $ac_c" 1>&6
6874 else
6875 cat > conftest.$ac_ext <<EOF
6876 #line 6877 "configure"
6877 #include "confdefs.h"
6878 /* System header to define __stub macros and hopefully few prototypes,
6879 which can conflict with char $ac_func(); below. */
6880 #include <assert.h>
6881 /* Override any gcc2 internal prototype to avoid an error. */
6882 /* We use char because int might match the return type of a gcc2
6883 builtin and then its argument prototype would still apply. */
6884 char $ac_func();
6886 int main() {
6888 /* The GNU C library defines this for functions which it implements
6889 to always fail with ENOSYS. Some functions are actually named
6890 something starting with __ and the normal name is an alias. */
6891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6892 choke me
6893 #else
6894 $ac_func();
6895 #endif
6897 ; return 0; }
6899 if { (eval echo configure:6900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6900 rm -rf conftest*
6901 eval "ac_cv_func_$ac_func=yes"
6902 else
6903 echo "configure: failed program was:" >&5
6904 cat conftest.$ac_ext >&5
6905 rm -rf conftest*
6906 eval "ac_cv_func_$ac_func=no"
6908 rm -f conftest*
6911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6912 echo "$ac_t""yes" 1>&6
6913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6914 cat >> confdefs.h <<EOF
6915 #define $ac_tr_func 1
6918 else
6919 echo "$ac_t""no" 1>&6
6921 done
6926 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
6927 echo "configure:6928: checking for ldexpf declaration" >&5
6928 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
6929 echo $ac_n "(cached) $ac_c" 1>&6
6930 else
6933 ac_ext=C
6934 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6935 ac_cpp='$CXXCPP $CPPFLAGS'
6936 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6937 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6938 cross_compiling=$ac_cv_prog_cxx_cross
6940 cat > conftest.$ac_ext <<EOF
6941 #line 6942 "configure"
6942 #include "confdefs.h"
6943 #include <math.h>
6944 int main() {
6945 ldexpf(0, 0);
6946 ; return 0; }
6948 if { (eval echo configure:6949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6949 rm -rf conftest*
6950 glibcpp_cv_func_ldexpf_use=yes
6951 else
6952 echo "configure: failed program was:" >&5
6953 cat conftest.$ac_ext >&5
6954 rm -rf conftest*
6955 glibcpp_cv_func_ldexpf_use=no
6957 rm -f conftest*
6958 ac_ext=c
6959 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6960 ac_cpp='$CPP $CPPFLAGS'
6961 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6962 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6963 cross_compiling=$ac_cv_prog_cc_cross
6968 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
6969 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
6970 for ac_func in ldexpf
6972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6973 echo "configure:6974: checking for $ac_func" >&5
6974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6975 echo $ac_n "(cached) $ac_c" 1>&6
6976 else
6977 cat > conftest.$ac_ext <<EOF
6978 #line 6979 "configure"
6979 #include "confdefs.h"
6980 /* System header to define __stub macros and hopefully few prototypes,
6981 which can conflict with char $ac_func(); below. */
6982 #include <assert.h>
6983 /* Override any gcc2 internal prototype to avoid an error. */
6984 /* We use char because int might match the return type of a gcc2
6985 builtin and then its argument prototype would still apply. */
6986 char $ac_func();
6988 int main() {
6990 /* The GNU C library defines this for functions which it implements
6991 to always fail with ENOSYS. Some functions are actually named
6992 something starting with __ and the normal name is an alias. */
6993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6994 choke me
6995 #else
6996 $ac_func();
6997 #endif
6999 ; return 0; }
7001 if { (eval echo configure:7002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7002 rm -rf conftest*
7003 eval "ac_cv_func_$ac_func=yes"
7004 else
7005 echo "configure: failed program was:" >&5
7006 cat conftest.$ac_ext >&5
7007 rm -rf conftest*
7008 eval "ac_cv_func_$ac_func=no"
7010 rm -f conftest*
7013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7014 echo "$ac_t""yes" 1>&6
7015 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7016 cat >> confdefs.h <<EOF
7017 #define $ac_tr_func 1
7020 else
7021 echo "$ac_t""no" 1>&6
7023 done
7028 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7029 echo "configure:7030: checking for logf declaration" >&5
7030 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7031 echo $ac_n "(cached) $ac_c" 1>&6
7032 else
7035 ac_ext=C
7036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7037 ac_cpp='$CXXCPP $CPPFLAGS'
7038 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7039 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7040 cross_compiling=$ac_cv_prog_cxx_cross
7042 cat > conftest.$ac_ext <<EOF
7043 #line 7044 "configure"
7044 #include "confdefs.h"
7045 #include <math.h>
7046 int main() {
7047 logf(0);
7048 ; return 0; }
7050 if { (eval echo configure:7051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7051 rm -rf conftest*
7052 glibcpp_cv_func_logf_use=yes
7053 else
7054 echo "configure: failed program was:" >&5
7055 cat conftest.$ac_ext >&5
7056 rm -rf conftest*
7057 glibcpp_cv_func_logf_use=no
7059 rm -f conftest*
7060 ac_ext=c
7061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7062 ac_cpp='$CPP $CPPFLAGS'
7063 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7064 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7065 cross_compiling=$ac_cv_prog_cc_cross
7070 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7071 if test x$glibcpp_cv_func_logf_use = x"yes"; then
7072 for ac_func in logf
7074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7075 echo "configure:7076: checking for $ac_func" >&5
7076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7077 echo $ac_n "(cached) $ac_c" 1>&6
7078 else
7079 cat > conftest.$ac_ext <<EOF
7080 #line 7081 "configure"
7081 #include "confdefs.h"
7082 /* System header to define __stub macros and hopefully few prototypes,
7083 which can conflict with char $ac_func(); below. */
7084 #include <assert.h>
7085 /* Override any gcc2 internal prototype to avoid an error. */
7086 /* We use char because int might match the return type of a gcc2
7087 builtin and then its argument prototype would still apply. */
7088 char $ac_func();
7090 int main() {
7092 /* The GNU C library defines this for functions which it implements
7093 to always fail with ENOSYS. Some functions are actually named
7094 something starting with __ and the normal name is an alias. */
7095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7096 choke me
7097 #else
7098 $ac_func();
7099 #endif
7101 ; return 0; }
7103 if { (eval echo configure:7104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7104 rm -rf conftest*
7105 eval "ac_cv_func_$ac_func=yes"
7106 else
7107 echo "configure: failed program was:" >&5
7108 cat conftest.$ac_ext >&5
7109 rm -rf conftest*
7110 eval "ac_cv_func_$ac_func=no"
7112 rm -f conftest*
7115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7116 echo "$ac_t""yes" 1>&6
7117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7118 cat >> confdefs.h <<EOF
7119 #define $ac_tr_func 1
7122 else
7123 echo "$ac_t""no" 1>&6
7125 done
7130 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7131 echo "configure:7132: checking for log10f declaration" >&5
7132 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7133 echo $ac_n "(cached) $ac_c" 1>&6
7134 else
7137 ac_ext=C
7138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7139 ac_cpp='$CXXCPP $CPPFLAGS'
7140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7142 cross_compiling=$ac_cv_prog_cxx_cross
7144 cat > conftest.$ac_ext <<EOF
7145 #line 7146 "configure"
7146 #include "confdefs.h"
7147 #include <math.h>
7148 int main() {
7149 log10f(0);
7150 ; return 0; }
7152 if { (eval echo configure:7153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7153 rm -rf conftest*
7154 glibcpp_cv_func_log10f_use=yes
7155 else
7156 echo "configure: failed program was:" >&5
7157 cat conftest.$ac_ext >&5
7158 rm -rf conftest*
7159 glibcpp_cv_func_log10f_use=no
7161 rm -f conftest*
7162 ac_ext=c
7163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7164 ac_cpp='$CPP $CPPFLAGS'
7165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7167 cross_compiling=$ac_cv_prog_cc_cross
7172 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7173 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7174 for ac_func in log10f
7176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7177 echo "configure:7178: checking for $ac_func" >&5
7178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7179 echo $ac_n "(cached) $ac_c" 1>&6
7180 else
7181 cat > conftest.$ac_ext <<EOF
7182 #line 7183 "configure"
7183 #include "confdefs.h"
7184 /* System header to define __stub macros and hopefully few prototypes,
7185 which can conflict with char $ac_func(); below. */
7186 #include <assert.h>
7187 /* Override any gcc2 internal prototype to avoid an error. */
7188 /* We use char because int might match the return type of a gcc2
7189 builtin and then its argument prototype would still apply. */
7190 char $ac_func();
7192 int main() {
7194 /* The GNU C library defines this for functions which it implements
7195 to always fail with ENOSYS. Some functions are actually named
7196 something starting with __ and the normal name is an alias. */
7197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7198 choke me
7199 #else
7200 $ac_func();
7201 #endif
7203 ; return 0; }
7205 if { (eval echo configure:7206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7206 rm -rf conftest*
7207 eval "ac_cv_func_$ac_func=yes"
7208 else
7209 echo "configure: failed program was:" >&5
7210 cat conftest.$ac_ext >&5
7211 rm -rf conftest*
7212 eval "ac_cv_func_$ac_func=no"
7214 rm -f conftest*
7217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7218 echo "$ac_t""yes" 1>&6
7219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7220 cat >> confdefs.h <<EOF
7221 #define $ac_tr_func 1
7224 else
7225 echo "$ac_t""no" 1>&6
7227 done
7232 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7233 echo "configure:7234: checking for modff declaration" >&5
7234 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7235 echo $ac_n "(cached) $ac_c" 1>&6
7236 else
7239 ac_ext=C
7240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7241 ac_cpp='$CXXCPP $CPPFLAGS'
7242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7244 cross_compiling=$ac_cv_prog_cxx_cross
7246 cat > conftest.$ac_ext <<EOF
7247 #line 7248 "configure"
7248 #include "confdefs.h"
7249 #include <math.h>
7250 int main() {
7251 modff(0, 0);
7252 ; return 0; }
7254 if { (eval echo configure:7255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7255 rm -rf conftest*
7256 glibcpp_cv_func_modff_use=yes
7257 else
7258 echo "configure: failed program was:" >&5
7259 cat conftest.$ac_ext >&5
7260 rm -rf conftest*
7261 glibcpp_cv_func_modff_use=no
7263 rm -f conftest*
7264 ac_ext=c
7265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7266 ac_cpp='$CPP $CPPFLAGS'
7267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7269 cross_compiling=$ac_cv_prog_cc_cross
7274 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7275 if test x$glibcpp_cv_func_modff_use = x"yes"; then
7276 for ac_func in modff
7278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7279 echo "configure:7280: checking for $ac_func" >&5
7280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7281 echo $ac_n "(cached) $ac_c" 1>&6
7282 else
7283 cat > conftest.$ac_ext <<EOF
7284 #line 7285 "configure"
7285 #include "confdefs.h"
7286 /* System header to define __stub macros and hopefully few prototypes,
7287 which can conflict with char $ac_func(); below. */
7288 #include <assert.h>
7289 /* Override any gcc2 internal prototype to avoid an error. */
7290 /* We use char because int might match the return type of a gcc2
7291 builtin and then its argument prototype would still apply. */
7292 char $ac_func();
7294 int main() {
7296 /* The GNU C library defines this for functions which it implements
7297 to always fail with ENOSYS. Some functions are actually named
7298 something starting with __ and the normal name is an alias. */
7299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7300 choke me
7301 #else
7302 $ac_func();
7303 #endif
7305 ; return 0; }
7307 if { (eval echo configure:7308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7308 rm -rf conftest*
7309 eval "ac_cv_func_$ac_func=yes"
7310 else
7311 echo "configure: failed program was:" >&5
7312 cat conftest.$ac_ext >&5
7313 rm -rf conftest*
7314 eval "ac_cv_func_$ac_func=no"
7316 rm -f conftest*
7319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7320 echo "$ac_t""yes" 1>&6
7321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7322 cat >> confdefs.h <<EOF
7323 #define $ac_tr_func 1
7326 else
7327 echo "$ac_t""no" 1>&6
7329 done
7334 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7335 echo "configure:7336: checking for powf declaration" >&5
7336 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7337 echo $ac_n "(cached) $ac_c" 1>&6
7338 else
7341 ac_ext=C
7342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7343 ac_cpp='$CXXCPP $CPPFLAGS'
7344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7346 cross_compiling=$ac_cv_prog_cxx_cross
7348 cat > conftest.$ac_ext <<EOF
7349 #line 7350 "configure"
7350 #include "confdefs.h"
7351 #include <math.h>
7352 int main() {
7353 powf(0, 0);
7354 ; return 0; }
7356 if { (eval echo configure:7357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7357 rm -rf conftest*
7358 glibcpp_cv_func_powf_use=yes
7359 else
7360 echo "configure: failed program was:" >&5
7361 cat conftest.$ac_ext >&5
7362 rm -rf conftest*
7363 glibcpp_cv_func_powf_use=no
7365 rm -f conftest*
7366 ac_ext=c
7367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7368 ac_cpp='$CPP $CPPFLAGS'
7369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7371 cross_compiling=$ac_cv_prog_cc_cross
7376 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7377 if test x$glibcpp_cv_func_powf_use = x"yes"; then
7378 for ac_func in powf
7380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7381 echo "configure:7382: checking for $ac_func" >&5
7382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7383 echo $ac_n "(cached) $ac_c" 1>&6
7384 else
7385 cat > conftest.$ac_ext <<EOF
7386 #line 7387 "configure"
7387 #include "confdefs.h"
7388 /* System header to define __stub macros and hopefully few prototypes,
7389 which can conflict with char $ac_func(); below. */
7390 #include <assert.h>
7391 /* Override any gcc2 internal prototype to avoid an error. */
7392 /* We use char because int might match the return type of a gcc2
7393 builtin and then its argument prototype would still apply. */
7394 char $ac_func();
7396 int main() {
7398 /* The GNU C library defines this for functions which it implements
7399 to always fail with ENOSYS. Some functions are actually named
7400 something starting with __ and the normal name is an alias. */
7401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7402 choke me
7403 #else
7404 $ac_func();
7405 #endif
7407 ; return 0; }
7409 if { (eval echo configure:7410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7410 rm -rf conftest*
7411 eval "ac_cv_func_$ac_func=yes"
7412 else
7413 echo "configure: failed program was:" >&5
7414 cat conftest.$ac_ext >&5
7415 rm -rf conftest*
7416 eval "ac_cv_func_$ac_func=no"
7418 rm -f conftest*
7421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7422 echo "$ac_t""yes" 1>&6
7423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7424 cat >> confdefs.h <<EOF
7425 #define $ac_tr_func 1
7428 else
7429 echo "$ac_t""no" 1>&6
7431 done
7436 echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7437 echo "configure:7438: checking for sinf declaration" >&5
7438 if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7439 echo $ac_n "(cached) $ac_c" 1>&6
7440 else
7443 ac_ext=C
7444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7445 ac_cpp='$CXXCPP $CPPFLAGS'
7446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7448 cross_compiling=$ac_cv_prog_cxx_cross
7450 cat > conftest.$ac_ext <<EOF
7451 #line 7452 "configure"
7452 #include "confdefs.h"
7453 #include <math.h>
7454 int main() {
7455 sinf(0);
7456 ; return 0; }
7458 if { (eval echo configure:7459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7459 rm -rf conftest*
7460 glibcpp_cv_func_sinf_use=yes
7461 else
7462 echo "configure: failed program was:" >&5
7463 cat conftest.$ac_ext >&5
7464 rm -rf conftest*
7465 glibcpp_cv_func_sinf_use=no
7467 rm -f conftest*
7468 ac_ext=c
7469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7470 ac_cpp='$CPP $CPPFLAGS'
7471 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7472 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7473 cross_compiling=$ac_cv_prog_cc_cross
7478 echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7479 if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7480 for ac_func in sinf
7482 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7483 echo "configure:7484: checking for $ac_func" >&5
7484 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7485 echo $ac_n "(cached) $ac_c" 1>&6
7486 else
7487 cat > conftest.$ac_ext <<EOF
7488 #line 7489 "configure"
7489 #include "confdefs.h"
7490 /* System header to define __stub macros and hopefully few prototypes,
7491 which can conflict with char $ac_func(); below. */
7492 #include <assert.h>
7493 /* Override any gcc2 internal prototype to avoid an error. */
7494 /* We use char because int might match the return type of a gcc2
7495 builtin and then its argument prototype would still apply. */
7496 char $ac_func();
7498 int main() {
7500 /* The GNU C library defines this for functions which it implements
7501 to always fail with ENOSYS. Some functions are actually named
7502 something starting with __ and the normal name is an alias. */
7503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7504 choke me
7505 #else
7506 $ac_func();
7507 #endif
7509 ; return 0; }
7511 if { (eval echo configure:7512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7512 rm -rf conftest*
7513 eval "ac_cv_func_$ac_func=yes"
7514 else
7515 echo "configure: failed program was:" >&5
7516 cat conftest.$ac_ext >&5
7517 rm -rf conftest*
7518 eval "ac_cv_func_$ac_func=no"
7520 rm -f conftest*
7523 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7524 echo "$ac_t""yes" 1>&6
7525 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7526 cat >> confdefs.h <<EOF
7527 #define $ac_tr_func 1
7530 else
7531 echo "$ac_t""no" 1>&6
7533 done
7538 echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7539 echo "configure:7540: checking for sinhf declaration" >&5
7540 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7541 echo $ac_n "(cached) $ac_c" 1>&6
7542 else
7545 ac_ext=C
7546 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7547 ac_cpp='$CXXCPP $CPPFLAGS'
7548 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7549 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7550 cross_compiling=$ac_cv_prog_cxx_cross
7552 cat > conftest.$ac_ext <<EOF
7553 #line 7554 "configure"
7554 #include "confdefs.h"
7555 #include <math.h>
7556 int main() {
7557 sinhf(0);
7558 ; return 0; }
7560 if { (eval echo configure:7561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7561 rm -rf conftest*
7562 glibcpp_cv_func_sinhf_use=yes
7563 else
7564 echo "configure: failed program was:" >&5
7565 cat conftest.$ac_ext >&5
7566 rm -rf conftest*
7567 glibcpp_cv_func_sinhf_use=no
7569 rm -f conftest*
7570 ac_ext=c
7571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7572 ac_cpp='$CPP $CPPFLAGS'
7573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7575 cross_compiling=$ac_cv_prog_cc_cross
7580 echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7581 if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7582 for ac_func in sinhf
7584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7585 echo "configure:7586: checking for $ac_func" >&5
7586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7587 echo $ac_n "(cached) $ac_c" 1>&6
7588 else
7589 cat > conftest.$ac_ext <<EOF
7590 #line 7591 "configure"
7591 #include "confdefs.h"
7592 /* System header to define __stub macros and hopefully few prototypes,
7593 which can conflict with char $ac_func(); below. */
7594 #include <assert.h>
7595 /* Override any gcc2 internal prototype to avoid an error. */
7596 /* We use char because int might match the return type of a gcc2
7597 builtin and then its argument prototype would still apply. */
7598 char $ac_func();
7600 int main() {
7602 /* The GNU C library defines this for functions which it implements
7603 to always fail with ENOSYS. Some functions are actually named
7604 something starting with __ and the normal name is an alias. */
7605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7606 choke me
7607 #else
7608 $ac_func();
7609 #endif
7611 ; return 0; }
7613 if { (eval echo configure:7614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7614 rm -rf conftest*
7615 eval "ac_cv_func_$ac_func=yes"
7616 else
7617 echo "configure: failed program was:" >&5
7618 cat conftest.$ac_ext >&5
7619 rm -rf conftest*
7620 eval "ac_cv_func_$ac_func=no"
7622 rm -f conftest*
7625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7626 echo "$ac_t""yes" 1>&6
7627 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7628 cat >> confdefs.h <<EOF
7629 #define $ac_tr_func 1
7632 else
7633 echo "$ac_t""no" 1>&6
7635 done
7640 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7641 echo "configure:7642: checking for sqrtf declaration" >&5
7642 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7643 echo $ac_n "(cached) $ac_c" 1>&6
7644 else
7647 ac_ext=C
7648 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7649 ac_cpp='$CXXCPP $CPPFLAGS'
7650 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7651 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7652 cross_compiling=$ac_cv_prog_cxx_cross
7654 cat > conftest.$ac_ext <<EOF
7655 #line 7656 "configure"
7656 #include "confdefs.h"
7657 #include <math.h>
7658 int main() {
7659 sqrtf(0);
7660 ; return 0; }
7662 if { (eval echo configure:7663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7663 rm -rf conftest*
7664 glibcpp_cv_func_sqrtf_use=yes
7665 else
7666 echo "configure: failed program was:" >&5
7667 cat conftest.$ac_ext >&5
7668 rm -rf conftest*
7669 glibcpp_cv_func_sqrtf_use=no
7671 rm -f conftest*
7672 ac_ext=c
7673 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7674 ac_cpp='$CPP $CPPFLAGS'
7675 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7676 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7677 cross_compiling=$ac_cv_prog_cc_cross
7682 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7683 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7684 for ac_func in sqrtf
7686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7687 echo "configure:7688: checking for $ac_func" >&5
7688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7689 echo $ac_n "(cached) $ac_c" 1>&6
7690 else
7691 cat > conftest.$ac_ext <<EOF
7692 #line 7693 "configure"
7693 #include "confdefs.h"
7694 /* System header to define __stub macros and hopefully few prototypes,
7695 which can conflict with char $ac_func(); below. */
7696 #include <assert.h>
7697 /* Override any gcc2 internal prototype to avoid an error. */
7698 /* We use char because int might match the return type of a gcc2
7699 builtin and then its argument prototype would still apply. */
7700 char $ac_func();
7702 int main() {
7704 /* The GNU C library defines this for functions which it implements
7705 to always fail with ENOSYS. Some functions are actually named
7706 something starting with __ and the normal name is an alias. */
7707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7708 choke me
7709 #else
7710 $ac_func();
7711 #endif
7713 ; return 0; }
7715 if { (eval echo configure:7716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7716 rm -rf conftest*
7717 eval "ac_cv_func_$ac_func=yes"
7718 else
7719 echo "configure: failed program was:" >&5
7720 cat conftest.$ac_ext >&5
7721 rm -rf conftest*
7722 eval "ac_cv_func_$ac_func=no"
7724 rm -f conftest*
7727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7728 echo "$ac_t""yes" 1>&6
7729 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7730 cat >> confdefs.h <<EOF
7731 #define $ac_tr_func 1
7734 else
7735 echo "$ac_t""no" 1>&6
7737 done
7742 echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7743 echo "configure:7744: checking for tanf declaration" >&5
7744 if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7745 echo $ac_n "(cached) $ac_c" 1>&6
7746 else
7749 ac_ext=C
7750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7751 ac_cpp='$CXXCPP $CPPFLAGS'
7752 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7753 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7754 cross_compiling=$ac_cv_prog_cxx_cross
7756 cat > conftest.$ac_ext <<EOF
7757 #line 7758 "configure"
7758 #include "confdefs.h"
7759 #include <math.h>
7760 int main() {
7761 tanf(0);
7762 ; return 0; }
7764 if { (eval echo configure:7765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7765 rm -rf conftest*
7766 glibcpp_cv_func_tanf_use=yes
7767 else
7768 echo "configure: failed program was:" >&5
7769 cat conftest.$ac_ext >&5
7770 rm -rf conftest*
7771 glibcpp_cv_func_tanf_use=no
7773 rm -f conftest*
7774 ac_ext=c
7775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7776 ac_cpp='$CPP $CPPFLAGS'
7777 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7778 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7779 cross_compiling=$ac_cv_prog_cc_cross
7784 echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7785 if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7786 for ac_func in tanf
7788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7789 echo "configure:7790: checking for $ac_func" >&5
7790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7791 echo $ac_n "(cached) $ac_c" 1>&6
7792 else
7793 cat > conftest.$ac_ext <<EOF
7794 #line 7795 "configure"
7795 #include "confdefs.h"
7796 /* System header to define __stub macros and hopefully few prototypes,
7797 which can conflict with char $ac_func(); below. */
7798 #include <assert.h>
7799 /* Override any gcc2 internal prototype to avoid an error. */
7800 /* We use char because int might match the return type of a gcc2
7801 builtin and then its argument prototype would still apply. */
7802 char $ac_func();
7804 int main() {
7806 /* The GNU C library defines this for functions which it implements
7807 to always fail with ENOSYS. Some functions are actually named
7808 something starting with __ and the normal name is an alias. */
7809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7810 choke me
7811 #else
7812 $ac_func();
7813 #endif
7815 ; return 0; }
7817 if { (eval echo configure:7818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7818 rm -rf conftest*
7819 eval "ac_cv_func_$ac_func=yes"
7820 else
7821 echo "configure: failed program was:" >&5
7822 cat conftest.$ac_ext >&5
7823 rm -rf conftest*
7824 eval "ac_cv_func_$ac_func=no"
7826 rm -f conftest*
7829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7830 echo "$ac_t""yes" 1>&6
7831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7832 cat >> confdefs.h <<EOF
7833 #define $ac_tr_func 1
7836 else
7837 echo "$ac_t""no" 1>&6
7839 done
7844 echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7845 echo "configure:7846: checking for tanhf declaration" >&5
7846 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7847 echo $ac_n "(cached) $ac_c" 1>&6
7848 else
7851 ac_ext=C
7852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7853 ac_cpp='$CXXCPP $CPPFLAGS'
7854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7856 cross_compiling=$ac_cv_prog_cxx_cross
7858 cat > conftest.$ac_ext <<EOF
7859 #line 7860 "configure"
7860 #include "confdefs.h"
7861 #include <math.h>
7862 int main() {
7863 tanhf(0);
7864 ; return 0; }
7866 if { (eval echo configure:7867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7867 rm -rf conftest*
7868 glibcpp_cv_func_tanhf_use=yes
7869 else
7870 echo "configure: failed program was:" >&5
7871 cat conftest.$ac_ext >&5
7872 rm -rf conftest*
7873 glibcpp_cv_func_tanhf_use=no
7875 rm -f conftest*
7876 ac_ext=c
7877 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7878 ac_cpp='$CPP $CPPFLAGS'
7879 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7880 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7881 cross_compiling=$ac_cv_prog_cc_cross
7886 echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
7887 if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
7888 for ac_func in tanhf
7890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7891 echo "configure:7892: checking for $ac_func" >&5
7892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7893 echo $ac_n "(cached) $ac_c" 1>&6
7894 else
7895 cat > conftest.$ac_ext <<EOF
7896 #line 7897 "configure"
7897 #include "confdefs.h"
7898 /* System header to define __stub macros and hopefully few prototypes,
7899 which can conflict with char $ac_func(); below. */
7900 #include <assert.h>
7901 /* Override any gcc2 internal prototype to avoid an error. */
7902 /* We use char because int might match the return type of a gcc2
7903 builtin and then its argument prototype would still apply. */
7904 char $ac_func();
7906 int main() {
7908 /* The GNU C library defines this for functions which it implements
7909 to always fail with ENOSYS. Some functions are actually named
7910 something starting with __ and the normal name is an alias. */
7911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7912 choke me
7913 #else
7914 $ac_func();
7915 #endif
7917 ; return 0; }
7919 if { (eval echo configure:7920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7920 rm -rf conftest*
7921 eval "ac_cv_func_$ac_func=yes"
7922 else
7923 echo "configure: failed program was:" >&5
7924 cat conftest.$ac_ext >&5
7925 rm -rf conftest*
7926 eval "ac_cv_func_$ac_func=no"
7928 rm -f conftest*
7931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7932 echo "$ac_t""yes" 1>&6
7933 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7934 cat >> confdefs.h <<EOF
7935 #define $ac_tr_func 1
7938 else
7939 echo "$ac_t""no" 1>&6
7941 done
7946 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
7947 echo "configure:7948: checking for sincosf declaration" >&5
7948 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
7949 echo $ac_n "(cached) $ac_c" 1>&6
7950 else
7953 ac_ext=C
7954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7955 ac_cpp='$CXXCPP $CPPFLAGS'
7956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7958 cross_compiling=$ac_cv_prog_cxx_cross
7960 cat > conftest.$ac_ext <<EOF
7961 #line 7962 "configure"
7962 #include "confdefs.h"
7963 #include <math.h>
7964 int main() {
7965 sincosf(0, 0, 0);
7966 ; return 0; }
7968 if { (eval echo configure:7969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7969 rm -rf conftest*
7970 glibcpp_cv_func_sincosf_use=yes
7971 else
7972 echo "configure: failed program was:" >&5
7973 cat conftest.$ac_ext >&5
7974 rm -rf conftest*
7975 glibcpp_cv_func_sincosf_use=no
7977 rm -f conftest*
7978 ac_ext=c
7979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7980 ac_cpp='$CPP $CPPFLAGS'
7981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7983 cross_compiling=$ac_cv_prog_cc_cross
7988 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
7989 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
7990 for ac_func in sincosf
7992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7993 echo "configure:7994: checking for $ac_func" >&5
7994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7995 echo $ac_n "(cached) $ac_c" 1>&6
7996 else
7997 cat > conftest.$ac_ext <<EOF
7998 #line 7999 "configure"
7999 #include "confdefs.h"
8000 /* System header to define __stub macros and hopefully few prototypes,
8001 which can conflict with char $ac_func(); below. */
8002 #include <assert.h>
8003 /* Override any gcc2 internal prototype to avoid an error. */
8004 /* We use char because int might match the return type of a gcc2
8005 builtin and then its argument prototype would still apply. */
8006 char $ac_func();
8008 int main() {
8010 /* The GNU C library defines this for functions which it implements
8011 to always fail with ENOSYS. Some functions are actually named
8012 something starting with __ and the normal name is an alias. */
8013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8014 choke me
8015 #else
8016 $ac_func();
8017 #endif
8019 ; return 0; }
8021 if { (eval echo configure:8022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8022 rm -rf conftest*
8023 eval "ac_cv_func_$ac_func=yes"
8024 else
8025 echo "configure: failed program was:" >&5
8026 cat conftest.$ac_ext >&5
8027 rm -rf conftest*
8028 eval "ac_cv_func_$ac_func=no"
8030 rm -f conftest*
8033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8034 echo "$ac_t""yes" 1>&6
8035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8036 cat >> confdefs.h <<EOF
8037 #define $ac_tr_func 1
8040 else
8041 echo "$ac_t""no" 1>&6
8043 done
8048 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8049 echo "configure:8050: checking for finitef declaration" >&5
8050 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8051 echo $ac_n "(cached) $ac_c" 1>&6
8052 else
8055 ac_ext=C
8056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8057 ac_cpp='$CXXCPP $CPPFLAGS'
8058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8060 cross_compiling=$ac_cv_prog_cxx_cross
8062 cat > conftest.$ac_ext <<EOF
8063 #line 8064 "configure"
8064 #include "confdefs.h"
8065 #include <math.h>
8066 int main() {
8067 finitef(0);
8068 ; return 0; }
8070 if { (eval echo configure:8071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8071 rm -rf conftest*
8072 glibcpp_cv_func_finitef_use=yes
8073 else
8074 echo "configure: failed program was:" >&5
8075 cat conftest.$ac_ext >&5
8076 rm -rf conftest*
8077 glibcpp_cv_func_finitef_use=no
8079 rm -f conftest*
8080 ac_ext=c
8081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8082 ac_cpp='$CPP $CPPFLAGS'
8083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8085 cross_compiling=$ac_cv_prog_cc_cross
8090 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8091 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8092 for ac_func in finitef
8094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8095 echo "configure:8096: checking for $ac_func" >&5
8096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8097 echo $ac_n "(cached) $ac_c" 1>&6
8098 else
8099 cat > conftest.$ac_ext <<EOF
8100 #line 8101 "configure"
8101 #include "confdefs.h"
8102 /* System header to define __stub macros and hopefully few prototypes,
8103 which can conflict with char $ac_func(); below. */
8104 #include <assert.h>
8105 /* Override any gcc2 internal prototype to avoid an error. */
8106 /* We use char because int might match the return type of a gcc2
8107 builtin and then its argument prototype would still apply. */
8108 char $ac_func();
8110 int main() {
8112 /* The GNU C library defines this for functions which it implements
8113 to always fail with ENOSYS. Some functions are actually named
8114 something starting with __ and the normal name is an alias. */
8115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8116 choke me
8117 #else
8118 $ac_func();
8119 #endif
8121 ; return 0; }
8123 if { (eval echo configure:8124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8124 rm -rf conftest*
8125 eval "ac_cv_func_$ac_func=yes"
8126 else
8127 echo "configure: failed program was:" >&5
8128 cat conftest.$ac_ext >&5
8129 rm -rf conftest*
8130 eval "ac_cv_func_$ac_func=no"
8132 rm -f conftest*
8135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8136 echo "$ac_t""yes" 1>&6
8137 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8138 cat >> confdefs.h <<EOF
8139 #define $ac_tr_func 1
8142 else
8143 echo "$ac_t""no" 1>&6
8145 done
8151 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8152 echo "configure:8153: checking for isnanl declaration" >&5
8153 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8154 echo $ac_n "(cached) $ac_c" 1>&6
8155 else
8158 ac_ext=C
8159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8160 ac_cpp='$CXXCPP $CPPFLAGS'
8161 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8162 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8163 cross_compiling=$ac_cv_prog_cxx_cross
8165 cat > conftest.$ac_ext <<EOF
8166 #line 8167 "configure"
8167 #include "confdefs.h"
8168 #include <math.h>
8169 int main() {
8170 isnanl(0);
8171 ; return 0; }
8173 if { (eval echo configure:8174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8174 rm -rf conftest*
8175 glibcpp_cv_func_isnanl_use=yes
8176 else
8177 echo "configure: failed program was:" >&5
8178 cat conftest.$ac_ext >&5
8179 rm -rf conftest*
8180 glibcpp_cv_func_isnanl_use=no
8182 rm -f conftest*
8183 ac_ext=c
8184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8185 ac_cpp='$CPP $CPPFLAGS'
8186 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8187 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8188 cross_compiling=$ac_cv_prog_cc_cross
8193 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8194 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8195 for ac_func in isnanl
8197 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8198 echo "configure:8199: checking for $ac_func" >&5
8199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8200 echo $ac_n "(cached) $ac_c" 1>&6
8201 else
8202 cat > conftest.$ac_ext <<EOF
8203 #line 8204 "configure"
8204 #include "confdefs.h"
8205 /* System header to define __stub macros and hopefully few prototypes,
8206 which can conflict with char $ac_func(); below. */
8207 #include <assert.h>
8208 /* Override any gcc2 internal prototype to avoid an error. */
8209 /* We use char because int might match the return type of a gcc2
8210 builtin and then its argument prototype would still apply. */
8211 char $ac_func();
8213 int main() {
8215 /* The GNU C library defines this for functions which it implements
8216 to always fail with ENOSYS. Some functions are actually named
8217 something starting with __ and the normal name is an alias. */
8218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8219 choke me
8220 #else
8221 $ac_func();
8222 #endif
8224 ; return 0; }
8226 if { (eval echo configure:8227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8227 rm -rf conftest*
8228 eval "ac_cv_func_$ac_func=yes"
8229 else
8230 echo "configure: failed program was:" >&5
8231 cat conftest.$ac_ext >&5
8232 rm -rf conftest*
8233 eval "ac_cv_func_$ac_func=no"
8235 rm -f conftest*
8238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8239 echo "$ac_t""yes" 1>&6
8240 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8241 cat >> confdefs.h <<EOF
8242 #define $ac_tr_func 1
8245 else
8246 echo "$ac_t""no" 1>&6
8248 done
8253 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8254 echo "configure:8255: checking for isinfl declaration" >&5
8255 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8256 echo $ac_n "(cached) $ac_c" 1>&6
8257 else
8260 ac_ext=C
8261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8262 ac_cpp='$CXXCPP $CPPFLAGS'
8263 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8264 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8265 cross_compiling=$ac_cv_prog_cxx_cross
8267 cat > conftest.$ac_ext <<EOF
8268 #line 8269 "configure"
8269 #include "confdefs.h"
8270 #include <math.h>
8271 int main() {
8272 isinfl(0);
8273 ; return 0; }
8275 if { (eval echo configure:8276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8276 rm -rf conftest*
8277 glibcpp_cv_func_isinfl_use=yes
8278 else
8279 echo "configure: failed program was:" >&5
8280 cat conftest.$ac_ext >&5
8281 rm -rf conftest*
8282 glibcpp_cv_func_isinfl_use=no
8284 rm -f conftest*
8285 ac_ext=c
8286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8287 ac_cpp='$CPP $CPPFLAGS'
8288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8290 cross_compiling=$ac_cv_prog_cc_cross
8295 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8296 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8297 for ac_func in isinfl
8299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8300 echo "configure:8301: checking for $ac_func" >&5
8301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8302 echo $ac_n "(cached) $ac_c" 1>&6
8303 else
8304 cat > conftest.$ac_ext <<EOF
8305 #line 8306 "configure"
8306 #include "confdefs.h"
8307 /* System header to define __stub macros and hopefully few prototypes,
8308 which can conflict with char $ac_func(); below. */
8309 #include <assert.h>
8310 /* Override any gcc2 internal prototype to avoid an error. */
8311 /* We use char because int might match the return type of a gcc2
8312 builtin and then its argument prototype would still apply. */
8313 char $ac_func();
8315 int main() {
8317 /* The GNU C library defines this for functions which it implements
8318 to always fail with ENOSYS. Some functions are actually named
8319 something starting with __ and the normal name is an alias. */
8320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8321 choke me
8322 #else
8323 $ac_func();
8324 #endif
8326 ; return 0; }
8328 if { (eval echo configure:8329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8329 rm -rf conftest*
8330 eval "ac_cv_func_$ac_func=yes"
8331 else
8332 echo "configure: failed program was:" >&5
8333 cat conftest.$ac_ext >&5
8334 rm -rf conftest*
8335 eval "ac_cv_func_$ac_func=no"
8337 rm -f conftest*
8340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8341 echo "$ac_t""yes" 1>&6
8342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8343 cat >> confdefs.h <<EOF
8344 #define $ac_tr_func 1
8347 else
8348 echo "$ac_t""no" 1>&6
8350 done
8355 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8356 echo "configure:8357: checking for copysignl declaration" >&5
8357 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8358 echo $ac_n "(cached) $ac_c" 1>&6
8359 else
8362 ac_ext=C
8363 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8364 ac_cpp='$CXXCPP $CPPFLAGS'
8365 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8366 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8367 cross_compiling=$ac_cv_prog_cxx_cross
8369 cat > conftest.$ac_ext <<EOF
8370 #line 8371 "configure"
8371 #include "confdefs.h"
8372 #include <math.h>
8373 int main() {
8374 copysignl(0, 0);
8375 ; return 0; }
8377 if { (eval echo configure:8378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8378 rm -rf conftest*
8379 glibcpp_cv_func_copysignl_use=yes
8380 else
8381 echo "configure: failed program was:" >&5
8382 cat conftest.$ac_ext >&5
8383 rm -rf conftest*
8384 glibcpp_cv_func_copysignl_use=no
8386 rm -f conftest*
8387 ac_ext=c
8388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8389 ac_cpp='$CPP $CPPFLAGS'
8390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8392 cross_compiling=$ac_cv_prog_cc_cross
8397 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8398 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8399 for ac_func in copysignl
8401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8402 echo "configure:8403: checking for $ac_func" >&5
8403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8404 echo $ac_n "(cached) $ac_c" 1>&6
8405 else
8406 cat > conftest.$ac_ext <<EOF
8407 #line 8408 "configure"
8408 #include "confdefs.h"
8409 /* System header to define __stub macros and hopefully few prototypes,
8410 which can conflict with char $ac_func(); below. */
8411 #include <assert.h>
8412 /* Override any gcc2 internal prototype to avoid an error. */
8413 /* We use char because int might match the return type of a gcc2
8414 builtin and then its argument prototype would still apply. */
8415 char $ac_func();
8417 int main() {
8419 /* The GNU C library defines this for functions which it implements
8420 to always fail with ENOSYS. Some functions are actually named
8421 something starting with __ and the normal name is an alias. */
8422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8423 choke me
8424 #else
8425 $ac_func();
8426 #endif
8428 ; return 0; }
8430 if { (eval echo configure:8431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8431 rm -rf conftest*
8432 eval "ac_cv_func_$ac_func=yes"
8433 else
8434 echo "configure: failed program was:" >&5
8435 cat conftest.$ac_ext >&5
8436 rm -rf conftest*
8437 eval "ac_cv_func_$ac_func=no"
8439 rm -f conftest*
8442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8443 echo "$ac_t""yes" 1>&6
8444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8445 cat >> confdefs.h <<EOF
8446 #define $ac_tr_func 1
8449 else
8450 echo "$ac_t""no" 1>&6
8452 done
8457 echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8458 echo "configure:8459: checking for acosl declaration" >&5
8459 if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8460 echo $ac_n "(cached) $ac_c" 1>&6
8461 else
8464 ac_ext=C
8465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8466 ac_cpp='$CXXCPP $CPPFLAGS'
8467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8469 cross_compiling=$ac_cv_prog_cxx_cross
8471 cat > conftest.$ac_ext <<EOF
8472 #line 8473 "configure"
8473 #include "confdefs.h"
8474 #include <math.h>
8475 int main() {
8476 acosl(0);
8477 ; return 0; }
8479 if { (eval echo configure:8480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8480 rm -rf conftest*
8481 glibcpp_cv_func_acosl_use=yes
8482 else
8483 echo "configure: failed program was:" >&5
8484 cat conftest.$ac_ext >&5
8485 rm -rf conftest*
8486 glibcpp_cv_func_acosl_use=no
8488 rm -f conftest*
8489 ac_ext=c
8490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8491 ac_cpp='$CPP $CPPFLAGS'
8492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8494 cross_compiling=$ac_cv_prog_cc_cross
8499 echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8500 if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8501 for ac_func in acosl
8503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8504 echo "configure:8505: checking for $ac_func" >&5
8505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8506 echo $ac_n "(cached) $ac_c" 1>&6
8507 else
8508 cat > conftest.$ac_ext <<EOF
8509 #line 8510 "configure"
8510 #include "confdefs.h"
8511 /* System header to define __stub macros and hopefully few prototypes,
8512 which can conflict with char $ac_func(); below. */
8513 #include <assert.h>
8514 /* Override any gcc2 internal prototype to avoid an error. */
8515 /* We use char because int might match the return type of a gcc2
8516 builtin and then its argument prototype would still apply. */
8517 char $ac_func();
8519 int main() {
8521 /* The GNU C library defines this for functions which it implements
8522 to always fail with ENOSYS. Some functions are actually named
8523 something starting with __ and the normal name is an alias. */
8524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8525 choke me
8526 #else
8527 $ac_func();
8528 #endif
8530 ; return 0; }
8532 if { (eval echo configure:8533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8533 rm -rf conftest*
8534 eval "ac_cv_func_$ac_func=yes"
8535 else
8536 echo "configure: failed program was:" >&5
8537 cat conftest.$ac_ext >&5
8538 rm -rf conftest*
8539 eval "ac_cv_func_$ac_func=no"
8541 rm -f conftest*
8544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8545 echo "$ac_t""yes" 1>&6
8546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8547 cat >> confdefs.h <<EOF
8548 #define $ac_tr_func 1
8551 else
8552 echo "$ac_t""no" 1>&6
8554 done
8559 echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8560 echo "configure:8561: checking for asinl declaration" >&5
8561 if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8562 echo $ac_n "(cached) $ac_c" 1>&6
8563 else
8566 ac_ext=C
8567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8568 ac_cpp='$CXXCPP $CPPFLAGS'
8569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8571 cross_compiling=$ac_cv_prog_cxx_cross
8573 cat > conftest.$ac_ext <<EOF
8574 #line 8575 "configure"
8575 #include "confdefs.h"
8576 #include <math.h>
8577 int main() {
8578 asinl(0);
8579 ; return 0; }
8581 if { (eval echo configure:8582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8582 rm -rf conftest*
8583 glibcpp_cv_func_asinl_use=yes
8584 else
8585 echo "configure: failed program was:" >&5
8586 cat conftest.$ac_ext >&5
8587 rm -rf conftest*
8588 glibcpp_cv_func_asinl_use=no
8590 rm -f conftest*
8591 ac_ext=c
8592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8593 ac_cpp='$CPP $CPPFLAGS'
8594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8596 cross_compiling=$ac_cv_prog_cc_cross
8601 echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8602 if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8603 for ac_func in asinl
8605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8606 echo "configure:8607: checking for $ac_func" >&5
8607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8608 echo $ac_n "(cached) $ac_c" 1>&6
8609 else
8610 cat > conftest.$ac_ext <<EOF
8611 #line 8612 "configure"
8612 #include "confdefs.h"
8613 /* System header to define __stub macros and hopefully few prototypes,
8614 which can conflict with char $ac_func(); below. */
8615 #include <assert.h>
8616 /* Override any gcc2 internal prototype to avoid an error. */
8617 /* We use char because int might match the return type of a gcc2
8618 builtin and then its argument prototype would still apply. */
8619 char $ac_func();
8621 int main() {
8623 /* The GNU C library defines this for functions which it implements
8624 to always fail with ENOSYS. Some functions are actually named
8625 something starting with __ and the normal name is an alias. */
8626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8627 choke me
8628 #else
8629 $ac_func();
8630 #endif
8632 ; return 0; }
8634 if { (eval echo configure:8635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8635 rm -rf conftest*
8636 eval "ac_cv_func_$ac_func=yes"
8637 else
8638 echo "configure: failed program was:" >&5
8639 cat conftest.$ac_ext >&5
8640 rm -rf conftest*
8641 eval "ac_cv_func_$ac_func=no"
8643 rm -f conftest*
8646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8647 echo "$ac_t""yes" 1>&6
8648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8649 cat >> confdefs.h <<EOF
8650 #define $ac_tr_func 1
8653 else
8654 echo "$ac_t""no" 1>&6
8656 done
8661 echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8662 echo "configure:8663: checking for atanl declaration" >&5
8663 if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8664 echo $ac_n "(cached) $ac_c" 1>&6
8665 else
8668 ac_ext=C
8669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8670 ac_cpp='$CXXCPP $CPPFLAGS'
8671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8673 cross_compiling=$ac_cv_prog_cxx_cross
8675 cat > conftest.$ac_ext <<EOF
8676 #line 8677 "configure"
8677 #include "confdefs.h"
8678 #include <math.h>
8679 int main() {
8680 atanl(0);
8681 ; return 0; }
8683 if { (eval echo configure:8684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8684 rm -rf conftest*
8685 glibcpp_cv_func_atanl_use=yes
8686 else
8687 echo "configure: failed program was:" >&5
8688 cat conftest.$ac_ext >&5
8689 rm -rf conftest*
8690 glibcpp_cv_func_atanl_use=no
8692 rm -f conftest*
8693 ac_ext=c
8694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8695 ac_cpp='$CPP $CPPFLAGS'
8696 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8697 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8698 cross_compiling=$ac_cv_prog_cc_cross
8703 echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8704 if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8705 for ac_func in atanl
8707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8708 echo "configure:8709: checking for $ac_func" >&5
8709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8710 echo $ac_n "(cached) $ac_c" 1>&6
8711 else
8712 cat > conftest.$ac_ext <<EOF
8713 #line 8714 "configure"
8714 #include "confdefs.h"
8715 /* System header to define __stub macros and hopefully few prototypes,
8716 which can conflict with char $ac_func(); below. */
8717 #include <assert.h>
8718 /* Override any gcc2 internal prototype to avoid an error. */
8719 /* We use char because int might match the return type of a gcc2
8720 builtin and then its argument prototype would still apply. */
8721 char $ac_func();
8723 int main() {
8725 /* The GNU C library defines this for functions which it implements
8726 to always fail with ENOSYS. Some functions are actually named
8727 something starting with __ and the normal name is an alias. */
8728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8729 choke me
8730 #else
8731 $ac_func();
8732 #endif
8734 ; return 0; }
8736 if { (eval echo configure:8737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8737 rm -rf conftest*
8738 eval "ac_cv_func_$ac_func=yes"
8739 else
8740 echo "configure: failed program was:" >&5
8741 cat conftest.$ac_ext >&5
8742 rm -rf conftest*
8743 eval "ac_cv_func_$ac_func=no"
8745 rm -f conftest*
8748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8749 echo "$ac_t""yes" 1>&6
8750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8751 cat >> confdefs.h <<EOF
8752 #define $ac_tr_func 1
8755 else
8756 echo "$ac_t""no" 1>&6
8758 done
8763 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8764 echo "configure:8765: checking for atan2l declaration" >&5
8765 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8766 echo $ac_n "(cached) $ac_c" 1>&6
8767 else
8770 ac_ext=C
8771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8772 ac_cpp='$CXXCPP $CPPFLAGS'
8773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8775 cross_compiling=$ac_cv_prog_cxx_cross
8777 cat > conftest.$ac_ext <<EOF
8778 #line 8779 "configure"
8779 #include "confdefs.h"
8780 #include <math.h>
8781 int main() {
8782 atan2l(0, 0);
8783 ; return 0; }
8785 if { (eval echo configure:8786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8786 rm -rf conftest*
8787 glibcpp_cv_func_atan2l_use=yes
8788 else
8789 echo "configure: failed program was:" >&5
8790 cat conftest.$ac_ext >&5
8791 rm -rf conftest*
8792 glibcpp_cv_func_atan2l_use=no
8794 rm -f conftest*
8795 ac_ext=c
8796 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8797 ac_cpp='$CPP $CPPFLAGS'
8798 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8799 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8800 cross_compiling=$ac_cv_prog_cc_cross
8805 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8806 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8807 for ac_func in atan2l
8809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8810 echo "configure:8811: checking for $ac_func" >&5
8811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8812 echo $ac_n "(cached) $ac_c" 1>&6
8813 else
8814 cat > conftest.$ac_ext <<EOF
8815 #line 8816 "configure"
8816 #include "confdefs.h"
8817 /* System header to define __stub macros and hopefully few prototypes,
8818 which can conflict with char $ac_func(); below. */
8819 #include <assert.h>
8820 /* Override any gcc2 internal prototype to avoid an error. */
8821 /* We use char because int might match the return type of a gcc2
8822 builtin and then its argument prototype would still apply. */
8823 char $ac_func();
8825 int main() {
8827 /* The GNU C library defines this for functions which it implements
8828 to always fail with ENOSYS. Some functions are actually named
8829 something starting with __ and the normal name is an alias. */
8830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8831 choke me
8832 #else
8833 $ac_func();
8834 #endif
8836 ; return 0; }
8838 if { (eval echo configure:8839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8839 rm -rf conftest*
8840 eval "ac_cv_func_$ac_func=yes"
8841 else
8842 echo "configure: failed program was:" >&5
8843 cat conftest.$ac_ext >&5
8844 rm -rf conftest*
8845 eval "ac_cv_func_$ac_func=no"
8847 rm -f conftest*
8850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8851 echo "$ac_t""yes" 1>&6
8852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8853 cat >> confdefs.h <<EOF
8854 #define $ac_tr_func 1
8857 else
8858 echo "$ac_t""no" 1>&6
8860 done
8865 echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
8866 echo "configure:8867: checking for ceill declaration" >&5
8867 if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
8868 echo $ac_n "(cached) $ac_c" 1>&6
8869 else
8872 ac_ext=C
8873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8874 ac_cpp='$CXXCPP $CPPFLAGS'
8875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8877 cross_compiling=$ac_cv_prog_cxx_cross
8879 cat > conftest.$ac_ext <<EOF
8880 #line 8881 "configure"
8881 #include "confdefs.h"
8882 #include <math.h>
8883 int main() {
8884 ceill(0);
8885 ; return 0; }
8887 if { (eval echo configure:8888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8888 rm -rf conftest*
8889 glibcpp_cv_func_ceill_use=yes
8890 else
8891 echo "configure: failed program was:" >&5
8892 cat conftest.$ac_ext >&5
8893 rm -rf conftest*
8894 glibcpp_cv_func_ceill_use=no
8896 rm -f conftest*
8897 ac_ext=c
8898 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8899 ac_cpp='$CPP $CPPFLAGS'
8900 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8901 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8902 cross_compiling=$ac_cv_prog_cc_cross
8907 echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
8908 if test x$glibcpp_cv_func_ceill_use = x"yes"; then
8909 for ac_func in ceill
8911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8912 echo "configure:8913: checking for $ac_func" >&5
8913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8914 echo $ac_n "(cached) $ac_c" 1>&6
8915 else
8916 cat > conftest.$ac_ext <<EOF
8917 #line 8918 "configure"
8918 #include "confdefs.h"
8919 /* System header to define __stub macros and hopefully few prototypes,
8920 which can conflict with char $ac_func(); below. */
8921 #include <assert.h>
8922 /* Override any gcc2 internal prototype to avoid an error. */
8923 /* We use char because int might match the return type of a gcc2
8924 builtin and then its argument prototype would still apply. */
8925 char $ac_func();
8927 int main() {
8929 /* The GNU C library defines this for functions which it implements
8930 to always fail with ENOSYS. Some functions are actually named
8931 something starting with __ and the normal name is an alias. */
8932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8933 choke me
8934 #else
8935 $ac_func();
8936 #endif
8938 ; return 0; }
8940 if { (eval echo configure:8941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8941 rm -rf conftest*
8942 eval "ac_cv_func_$ac_func=yes"
8943 else
8944 echo "configure: failed program was:" >&5
8945 cat conftest.$ac_ext >&5
8946 rm -rf conftest*
8947 eval "ac_cv_func_$ac_func=no"
8949 rm -f conftest*
8952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8953 echo "$ac_t""yes" 1>&6
8954 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8955 cat >> confdefs.h <<EOF
8956 #define $ac_tr_func 1
8959 else
8960 echo "$ac_t""no" 1>&6
8962 done
8967 echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
8968 echo "configure:8969: checking for cosl declaration" >&5
8969 if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
8970 echo $ac_n "(cached) $ac_c" 1>&6
8971 else
8974 ac_ext=C
8975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8976 ac_cpp='$CXXCPP $CPPFLAGS'
8977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8979 cross_compiling=$ac_cv_prog_cxx_cross
8981 cat > conftest.$ac_ext <<EOF
8982 #line 8983 "configure"
8983 #include "confdefs.h"
8984 #include <math.h>
8985 int main() {
8986 cosl(0);
8987 ; return 0; }
8989 if { (eval echo configure:8990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8990 rm -rf conftest*
8991 glibcpp_cv_func_cosl_use=yes
8992 else
8993 echo "configure: failed program was:" >&5
8994 cat conftest.$ac_ext >&5
8995 rm -rf conftest*
8996 glibcpp_cv_func_cosl_use=no
8998 rm -f conftest*
8999 ac_ext=c
9000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9001 ac_cpp='$CPP $CPPFLAGS'
9002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9004 cross_compiling=$ac_cv_prog_cc_cross
9009 echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
9010 if test x$glibcpp_cv_func_cosl_use = x"yes"; then
9011 for ac_func in cosl
9013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9014 echo "configure:9015: checking for $ac_func" >&5
9015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9016 echo $ac_n "(cached) $ac_c" 1>&6
9017 else
9018 cat > conftest.$ac_ext <<EOF
9019 #line 9020 "configure"
9020 #include "confdefs.h"
9021 /* System header to define __stub macros and hopefully few prototypes,
9022 which can conflict with char $ac_func(); below. */
9023 #include <assert.h>
9024 /* Override any gcc2 internal prototype to avoid an error. */
9025 /* We use char because int might match the return type of a gcc2
9026 builtin and then its argument prototype would still apply. */
9027 char $ac_func();
9029 int main() {
9031 /* The GNU C library defines this for functions which it implements
9032 to always fail with ENOSYS. Some functions are actually named
9033 something starting with __ and the normal name is an alias. */
9034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9035 choke me
9036 #else
9037 $ac_func();
9038 #endif
9040 ; return 0; }
9042 if { (eval echo configure:9043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9043 rm -rf conftest*
9044 eval "ac_cv_func_$ac_func=yes"
9045 else
9046 echo "configure: failed program was:" >&5
9047 cat conftest.$ac_ext >&5
9048 rm -rf conftest*
9049 eval "ac_cv_func_$ac_func=no"
9051 rm -f conftest*
9054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9055 echo "$ac_t""yes" 1>&6
9056 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9057 cat >> confdefs.h <<EOF
9058 #define $ac_tr_func 1
9061 else
9062 echo "$ac_t""no" 1>&6
9064 done
9069 echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9070 echo "configure:9071: checking for coshl declaration" >&5
9071 if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9072 echo $ac_n "(cached) $ac_c" 1>&6
9073 else
9076 ac_ext=C
9077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9078 ac_cpp='$CXXCPP $CPPFLAGS'
9079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9081 cross_compiling=$ac_cv_prog_cxx_cross
9083 cat > conftest.$ac_ext <<EOF
9084 #line 9085 "configure"
9085 #include "confdefs.h"
9086 #include <math.h>
9087 int main() {
9088 coshl(0);
9089 ; return 0; }
9091 if { (eval echo configure:9092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9092 rm -rf conftest*
9093 glibcpp_cv_func_coshl_use=yes
9094 else
9095 echo "configure: failed program was:" >&5
9096 cat conftest.$ac_ext >&5
9097 rm -rf conftest*
9098 glibcpp_cv_func_coshl_use=no
9100 rm -f conftest*
9101 ac_ext=c
9102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9103 ac_cpp='$CPP $CPPFLAGS'
9104 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9105 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9106 cross_compiling=$ac_cv_prog_cc_cross
9111 echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9112 if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9113 for ac_func in coshl
9115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9116 echo "configure:9117: checking for $ac_func" >&5
9117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9118 echo $ac_n "(cached) $ac_c" 1>&6
9119 else
9120 cat > conftest.$ac_ext <<EOF
9121 #line 9122 "configure"
9122 #include "confdefs.h"
9123 /* System header to define __stub macros and hopefully few prototypes,
9124 which can conflict with char $ac_func(); below. */
9125 #include <assert.h>
9126 /* Override any gcc2 internal prototype to avoid an error. */
9127 /* We use char because int might match the return type of a gcc2
9128 builtin and then its argument prototype would still apply. */
9129 char $ac_func();
9131 int main() {
9133 /* The GNU C library defines this for functions which it implements
9134 to always fail with ENOSYS. Some functions are actually named
9135 something starting with __ and the normal name is an alias. */
9136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9137 choke me
9138 #else
9139 $ac_func();
9140 #endif
9142 ; return 0; }
9144 if { (eval echo configure:9145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9145 rm -rf conftest*
9146 eval "ac_cv_func_$ac_func=yes"
9147 else
9148 echo "configure: failed program was:" >&5
9149 cat conftest.$ac_ext >&5
9150 rm -rf conftest*
9151 eval "ac_cv_func_$ac_func=no"
9153 rm -f conftest*
9156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9157 echo "$ac_t""yes" 1>&6
9158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9159 cat >> confdefs.h <<EOF
9160 #define $ac_tr_func 1
9163 else
9164 echo "$ac_t""no" 1>&6
9166 done
9171 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9172 echo "configure:9173: checking for expl declaration" >&5
9173 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9174 echo $ac_n "(cached) $ac_c" 1>&6
9175 else
9178 ac_ext=C
9179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9180 ac_cpp='$CXXCPP $CPPFLAGS'
9181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9183 cross_compiling=$ac_cv_prog_cxx_cross
9185 cat > conftest.$ac_ext <<EOF
9186 #line 9187 "configure"
9187 #include "confdefs.h"
9188 #include <math.h>
9189 int main() {
9190 expl(0);
9191 ; return 0; }
9193 if { (eval echo configure:9194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9194 rm -rf conftest*
9195 glibcpp_cv_func_expl_use=yes
9196 else
9197 echo "configure: failed program was:" >&5
9198 cat conftest.$ac_ext >&5
9199 rm -rf conftest*
9200 glibcpp_cv_func_expl_use=no
9202 rm -f conftest*
9203 ac_ext=c
9204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9205 ac_cpp='$CPP $CPPFLAGS'
9206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9208 cross_compiling=$ac_cv_prog_cc_cross
9213 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9214 if test x$glibcpp_cv_func_expl_use = x"yes"; then
9215 for ac_func in expl
9217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9218 echo "configure:9219: checking for $ac_func" >&5
9219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9220 echo $ac_n "(cached) $ac_c" 1>&6
9221 else
9222 cat > conftest.$ac_ext <<EOF
9223 #line 9224 "configure"
9224 #include "confdefs.h"
9225 /* System header to define __stub macros and hopefully few prototypes,
9226 which can conflict with char $ac_func(); below. */
9227 #include <assert.h>
9228 /* Override any gcc2 internal prototype to avoid an error. */
9229 /* We use char because int might match the return type of a gcc2
9230 builtin and then its argument prototype would still apply. */
9231 char $ac_func();
9233 int main() {
9235 /* The GNU C library defines this for functions which it implements
9236 to always fail with ENOSYS. Some functions are actually named
9237 something starting with __ and the normal name is an alias. */
9238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9239 choke me
9240 #else
9241 $ac_func();
9242 #endif
9244 ; return 0; }
9246 if { (eval echo configure:9247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9247 rm -rf conftest*
9248 eval "ac_cv_func_$ac_func=yes"
9249 else
9250 echo "configure: failed program was:" >&5
9251 cat conftest.$ac_ext >&5
9252 rm -rf conftest*
9253 eval "ac_cv_func_$ac_func=no"
9255 rm -f conftest*
9258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9259 echo "$ac_t""yes" 1>&6
9260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9261 cat >> confdefs.h <<EOF
9262 #define $ac_tr_func 1
9265 else
9266 echo "$ac_t""no" 1>&6
9268 done
9273 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9274 echo "configure:9275: checking for fabsl declaration" >&5
9275 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9276 echo $ac_n "(cached) $ac_c" 1>&6
9277 else
9280 ac_ext=C
9281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9282 ac_cpp='$CXXCPP $CPPFLAGS'
9283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9285 cross_compiling=$ac_cv_prog_cxx_cross
9287 cat > conftest.$ac_ext <<EOF
9288 #line 9289 "configure"
9289 #include "confdefs.h"
9290 #include <math.h>
9291 int main() {
9292 fabsl(0);
9293 ; return 0; }
9295 if { (eval echo configure:9296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9296 rm -rf conftest*
9297 glibcpp_cv_func_fabsl_use=yes
9298 else
9299 echo "configure: failed program was:" >&5
9300 cat conftest.$ac_ext >&5
9301 rm -rf conftest*
9302 glibcpp_cv_func_fabsl_use=no
9304 rm -f conftest*
9305 ac_ext=c
9306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9307 ac_cpp='$CPP $CPPFLAGS'
9308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9310 cross_compiling=$ac_cv_prog_cc_cross
9315 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9316 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9317 for ac_func in fabsl
9319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9320 echo "configure:9321: checking for $ac_func" >&5
9321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9322 echo $ac_n "(cached) $ac_c" 1>&6
9323 else
9324 cat > conftest.$ac_ext <<EOF
9325 #line 9326 "configure"
9326 #include "confdefs.h"
9327 /* System header to define __stub macros and hopefully few prototypes,
9328 which can conflict with char $ac_func(); below. */
9329 #include <assert.h>
9330 /* Override any gcc2 internal prototype to avoid an error. */
9331 /* We use char because int might match the return type of a gcc2
9332 builtin and then its argument prototype would still apply. */
9333 char $ac_func();
9335 int main() {
9337 /* The GNU C library defines this for functions which it implements
9338 to always fail with ENOSYS. Some functions are actually named
9339 something starting with __ and the normal name is an alias. */
9340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9341 choke me
9342 #else
9343 $ac_func();
9344 #endif
9346 ; return 0; }
9348 if { (eval echo configure:9349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9349 rm -rf conftest*
9350 eval "ac_cv_func_$ac_func=yes"
9351 else
9352 echo "configure: failed program was:" >&5
9353 cat conftest.$ac_ext >&5
9354 rm -rf conftest*
9355 eval "ac_cv_func_$ac_func=no"
9357 rm -f conftest*
9360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9361 echo "$ac_t""yes" 1>&6
9362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9363 cat >> confdefs.h <<EOF
9364 #define $ac_tr_func 1
9367 else
9368 echo "$ac_t""no" 1>&6
9370 done
9375 echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9376 echo "configure:9377: checking for floorl declaration" >&5
9377 if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9378 echo $ac_n "(cached) $ac_c" 1>&6
9379 else
9382 ac_ext=C
9383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9384 ac_cpp='$CXXCPP $CPPFLAGS'
9385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9387 cross_compiling=$ac_cv_prog_cxx_cross
9389 cat > conftest.$ac_ext <<EOF
9390 #line 9391 "configure"
9391 #include "confdefs.h"
9392 #include <math.h>
9393 int main() {
9394 floorl(0);
9395 ; return 0; }
9397 if { (eval echo configure:9398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9398 rm -rf conftest*
9399 glibcpp_cv_func_floorl_use=yes
9400 else
9401 echo "configure: failed program was:" >&5
9402 cat conftest.$ac_ext >&5
9403 rm -rf conftest*
9404 glibcpp_cv_func_floorl_use=no
9406 rm -f conftest*
9407 ac_ext=c
9408 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9409 ac_cpp='$CPP $CPPFLAGS'
9410 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9411 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9412 cross_compiling=$ac_cv_prog_cc_cross
9417 echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9418 if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9419 for ac_func in floorl
9421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9422 echo "configure:9423: checking for $ac_func" >&5
9423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9424 echo $ac_n "(cached) $ac_c" 1>&6
9425 else
9426 cat > conftest.$ac_ext <<EOF
9427 #line 9428 "configure"
9428 #include "confdefs.h"
9429 /* System header to define __stub macros and hopefully few prototypes,
9430 which can conflict with char $ac_func(); below. */
9431 #include <assert.h>
9432 /* Override any gcc2 internal prototype to avoid an error. */
9433 /* We use char because int might match the return type of a gcc2
9434 builtin and then its argument prototype would still apply. */
9435 char $ac_func();
9437 int main() {
9439 /* The GNU C library defines this for functions which it implements
9440 to always fail with ENOSYS. Some functions are actually named
9441 something starting with __ and the normal name is an alias. */
9442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9443 choke me
9444 #else
9445 $ac_func();
9446 #endif
9448 ; return 0; }
9450 if { (eval echo configure:9451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9451 rm -rf conftest*
9452 eval "ac_cv_func_$ac_func=yes"
9453 else
9454 echo "configure: failed program was:" >&5
9455 cat conftest.$ac_ext >&5
9456 rm -rf conftest*
9457 eval "ac_cv_func_$ac_func=no"
9459 rm -f conftest*
9462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9463 echo "$ac_t""yes" 1>&6
9464 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9465 cat >> confdefs.h <<EOF
9466 #define $ac_tr_func 1
9469 else
9470 echo "$ac_t""no" 1>&6
9472 done
9477 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9478 echo "configure:9479: checking for fmodl declaration" >&5
9479 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9480 echo $ac_n "(cached) $ac_c" 1>&6
9481 else
9484 ac_ext=C
9485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9486 ac_cpp='$CXXCPP $CPPFLAGS'
9487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9489 cross_compiling=$ac_cv_prog_cxx_cross
9491 cat > conftest.$ac_ext <<EOF
9492 #line 9493 "configure"
9493 #include "confdefs.h"
9494 #include <math.h>
9495 int main() {
9496 fmodl(0, 0);
9497 ; return 0; }
9499 if { (eval echo configure:9500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9500 rm -rf conftest*
9501 glibcpp_cv_func_fmodl_use=yes
9502 else
9503 echo "configure: failed program was:" >&5
9504 cat conftest.$ac_ext >&5
9505 rm -rf conftest*
9506 glibcpp_cv_func_fmodl_use=no
9508 rm -f conftest*
9509 ac_ext=c
9510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9511 ac_cpp='$CPP $CPPFLAGS'
9512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9514 cross_compiling=$ac_cv_prog_cc_cross
9519 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9520 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9521 for ac_func in fmodl
9523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9524 echo "configure:9525: checking for $ac_func" >&5
9525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9526 echo $ac_n "(cached) $ac_c" 1>&6
9527 else
9528 cat > conftest.$ac_ext <<EOF
9529 #line 9530 "configure"
9530 #include "confdefs.h"
9531 /* System header to define __stub macros and hopefully few prototypes,
9532 which can conflict with char $ac_func(); below. */
9533 #include <assert.h>
9534 /* Override any gcc2 internal prototype to avoid an error. */
9535 /* We use char because int might match the return type of a gcc2
9536 builtin and then its argument prototype would still apply. */
9537 char $ac_func();
9539 int main() {
9541 /* The GNU C library defines this for functions which it implements
9542 to always fail with ENOSYS. Some functions are actually named
9543 something starting with __ and the normal name is an alias. */
9544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9545 choke me
9546 #else
9547 $ac_func();
9548 #endif
9550 ; return 0; }
9552 if { (eval echo configure:9553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9553 rm -rf conftest*
9554 eval "ac_cv_func_$ac_func=yes"
9555 else
9556 echo "configure: failed program was:" >&5
9557 cat conftest.$ac_ext >&5
9558 rm -rf conftest*
9559 eval "ac_cv_func_$ac_func=no"
9561 rm -f conftest*
9564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9565 echo "$ac_t""yes" 1>&6
9566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9567 cat >> confdefs.h <<EOF
9568 #define $ac_tr_func 1
9571 else
9572 echo "$ac_t""no" 1>&6
9574 done
9579 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9580 echo "configure:9581: checking for frexpl declaration" >&5
9581 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9582 echo $ac_n "(cached) $ac_c" 1>&6
9583 else
9586 ac_ext=C
9587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9588 ac_cpp='$CXXCPP $CPPFLAGS'
9589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9591 cross_compiling=$ac_cv_prog_cxx_cross
9593 cat > conftest.$ac_ext <<EOF
9594 #line 9595 "configure"
9595 #include "confdefs.h"
9596 #include <math.h>
9597 int main() {
9598 frexpl(0, 0);
9599 ; return 0; }
9601 if { (eval echo configure:9602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9602 rm -rf conftest*
9603 glibcpp_cv_func_frexpl_use=yes
9604 else
9605 echo "configure: failed program was:" >&5
9606 cat conftest.$ac_ext >&5
9607 rm -rf conftest*
9608 glibcpp_cv_func_frexpl_use=no
9610 rm -f conftest*
9611 ac_ext=c
9612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9613 ac_cpp='$CPP $CPPFLAGS'
9614 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9615 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9616 cross_compiling=$ac_cv_prog_cc_cross
9621 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9622 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9623 for ac_func in frexpl
9625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9626 echo "configure:9627: checking for $ac_func" >&5
9627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9628 echo $ac_n "(cached) $ac_c" 1>&6
9629 else
9630 cat > conftest.$ac_ext <<EOF
9631 #line 9632 "configure"
9632 #include "confdefs.h"
9633 /* System header to define __stub macros and hopefully few prototypes,
9634 which can conflict with char $ac_func(); below. */
9635 #include <assert.h>
9636 /* Override any gcc2 internal prototype to avoid an error. */
9637 /* We use char because int might match the return type of a gcc2
9638 builtin and then its argument prototype would still apply. */
9639 char $ac_func();
9641 int main() {
9643 /* The GNU C library defines this for functions which it implements
9644 to always fail with ENOSYS. Some functions are actually named
9645 something starting with __ and the normal name is an alias. */
9646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9647 choke me
9648 #else
9649 $ac_func();
9650 #endif
9652 ; return 0; }
9654 if { (eval echo configure:9655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9655 rm -rf conftest*
9656 eval "ac_cv_func_$ac_func=yes"
9657 else
9658 echo "configure: failed program was:" >&5
9659 cat conftest.$ac_ext >&5
9660 rm -rf conftest*
9661 eval "ac_cv_func_$ac_func=no"
9663 rm -f conftest*
9666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9667 echo "$ac_t""yes" 1>&6
9668 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9669 cat >> confdefs.h <<EOF
9670 #define $ac_tr_func 1
9673 else
9674 echo "$ac_t""no" 1>&6
9676 done
9681 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9682 echo "configure:9683: checking for ldexpl declaration" >&5
9683 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9684 echo $ac_n "(cached) $ac_c" 1>&6
9685 else
9688 ac_ext=C
9689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9690 ac_cpp='$CXXCPP $CPPFLAGS'
9691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9693 cross_compiling=$ac_cv_prog_cxx_cross
9695 cat > conftest.$ac_ext <<EOF
9696 #line 9697 "configure"
9697 #include "confdefs.h"
9698 #include <math.h>
9699 int main() {
9700 ldexpl(0, 0);
9701 ; return 0; }
9703 if { (eval echo configure:9704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9704 rm -rf conftest*
9705 glibcpp_cv_func_ldexpl_use=yes
9706 else
9707 echo "configure: failed program was:" >&5
9708 cat conftest.$ac_ext >&5
9709 rm -rf conftest*
9710 glibcpp_cv_func_ldexpl_use=no
9712 rm -f conftest*
9713 ac_ext=c
9714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9715 ac_cpp='$CPP $CPPFLAGS'
9716 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9717 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9718 cross_compiling=$ac_cv_prog_cc_cross
9723 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9724 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9725 for ac_func in ldexpl
9727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9728 echo "configure:9729: checking for $ac_func" >&5
9729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9730 echo $ac_n "(cached) $ac_c" 1>&6
9731 else
9732 cat > conftest.$ac_ext <<EOF
9733 #line 9734 "configure"
9734 #include "confdefs.h"
9735 /* System header to define __stub macros and hopefully few prototypes,
9736 which can conflict with char $ac_func(); below. */
9737 #include <assert.h>
9738 /* Override any gcc2 internal prototype to avoid an error. */
9739 /* We use char because int might match the return type of a gcc2
9740 builtin and then its argument prototype would still apply. */
9741 char $ac_func();
9743 int main() {
9745 /* The GNU C library defines this for functions which it implements
9746 to always fail with ENOSYS. Some functions are actually named
9747 something starting with __ and the normal name is an alias. */
9748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9749 choke me
9750 #else
9751 $ac_func();
9752 #endif
9754 ; return 0; }
9756 if { (eval echo configure:9757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9757 rm -rf conftest*
9758 eval "ac_cv_func_$ac_func=yes"
9759 else
9760 echo "configure: failed program was:" >&5
9761 cat conftest.$ac_ext >&5
9762 rm -rf conftest*
9763 eval "ac_cv_func_$ac_func=no"
9765 rm -f conftest*
9768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9769 echo "$ac_t""yes" 1>&6
9770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9771 cat >> confdefs.h <<EOF
9772 #define $ac_tr_func 1
9775 else
9776 echo "$ac_t""no" 1>&6
9778 done
9783 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9784 echo "configure:9785: checking for logl declaration" >&5
9785 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9786 echo $ac_n "(cached) $ac_c" 1>&6
9787 else
9790 ac_ext=C
9791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9792 ac_cpp='$CXXCPP $CPPFLAGS'
9793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9795 cross_compiling=$ac_cv_prog_cxx_cross
9797 cat > conftest.$ac_ext <<EOF
9798 #line 9799 "configure"
9799 #include "confdefs.h"
9800 #include <math.h>
9801 int main() {
9802 logl(0);
9803 ; return 0; }
9805 if { (eval echo configure:9806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9806 rm -rf conftest*
9807 glibcpp_cv_func_logl_use=yes
9808 else
9809 echo "configure: failed program was:" >&5
9810 cat conftest.$ac_ext >&5
9811 rm -rf conftest*
9812 glibcpp_cv_func_logl_use=no
9814 rm -f conftest*
9815 ac_ext=c
9816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9817 ac_cpp='$CPP $CPPFLAGS'
9818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9820 cross_compiling=$ac_cv_prog_cc_cross
9825 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9826 if test x$glibcpp_cv_func_logl_use = x"yes"; then
9827 for ac_func in logl
9829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9830 echo "configure:9831: checking for $ac_func" >&5
9831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9832 echo $ac_n "(cached) $ac_c" 1>&6
9833 else
9834 cat > conftest.$ac_ext <<EOF
9835 #line 9836 "configure"
9836 #include "confdefs.h"
9837 /* System header to define __stub macros and hopefully few prototypes,
9838 which can conflict with char $ac_func(); below. */
9839 #include <assert.h>
9840 /* Override any gcc2 internal prototype to avoid an error. */
9841 /* We use char because int might match the return type of a gcc2
9842 builtin and then its argument prototype would still apply. */
9843 char $ac_func();
9845 int main() {
9847 /* The GNU C library defines this for functions which it implements
9848 to always fail with ENOSYS. Some functions are actually named
9849 something starting with __ and the normal name is an alias. */
9850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9851 choke me
9852 #else
9853 $ac_func();
9854 #endif
9856 ; return 0; }
9858 if { (eval echo configure:9859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9859 rm -rf conftest*
9860 eval "ac_cv_func_$ac_func=yes"
9861 else
9862 echo "configure: failed program was:" >&5
9863 cat conftest.$ac_ext >&5
9864 rm -rf conftest*
9865 eval "ac_cv_func_$ac_func=no"
9867 rm -f conftest*
9870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9871 echo "$ac_t""yes" 1>&6
9872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9873 cat >> confdefs.h <<EOF
9874 #define $ac_tr_func 1
9877 else
9878 echo "$ac_t""no" 1>&6
9880 done
9885 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9886 echo "configure:9887: checking for log10l declaration" >&5
9887 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9888 echo $ac_n "(cached) $ac_c" 1>&6
9889 else
9892 ac_ext=C
9893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9894 ac_cpp='$CXXCPP $CPPFLAGS'
9895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9897 cross_compiling=$ac_cv_prog_cxx_cross
9899 cat > conftest.$ac_ext <<EOF
9900 #line 9901 "configure"
9901 #include "confdefs.h"
9902 #include <math.h>
9903 int main() {
9904 log10l(0);
9905 ; return 0; }
9907 if { (eval echo configure:9908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9908 rm -rf conftest*
9909 glibcpp_cv_func_log10l_use=yes
9910 else
9911 echo "configure: failed program was:" >&5
9912 cat conftest.$ac_ext >&5
9913 rm -rf conftest*
9914 glibcpp_cv_func_log10l_use=no
9916 rm -f conftest*
9917 ac_ext=c
9918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9919 ac_cpp='$CPP $CPPFLAGS'
9920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9922 cross_compiling=$ac_cv_prog_cc_cross
9927 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
9928 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
9929 for ac_func in log10l
9931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9932 echo "configure:9933: checking for $ac_func" >&5
9933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9934 echo $ac_n "(cached) $ac_c" 1>&6
9935 else
9936 cat > conftest.$ac_ext <<EOF
9937 #line 9938 "configure"
9938 #include "confdefs.h"
9939 /* System header to define __stub macros and hopefully few prototypes,
9940 which can conflict with char $ac_func(); below. */
9941 #include <assert.h>
9942 /* Override any gcc2 internal prototype to avoid an error. */
9943 /* We use char because int might match the return type of a gcc2
9944 builtin and then its argument prototype would still apply. */
9945 char $ac_func();
9947 int main() {
9949 /* The GNU C library defines this for functions which it implements
9950 to always fail with ENOSYS. Some functions are actually named
9951 something starting with __ and the normal name is an alias. */
9952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9953 choke me
9954 #else
9955 $ac_func();
9956 #endif
9958 ; return 0; }
9960 if { (eval echo configure:9961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9961 rm -rf conftest*
9962 eval "ac_cv_func_$ac_func=yes"
9963 else
9964 echo "configure: failed program was:" >&5
9965 cat conftest.$ac_ext >&5
9966 rm -rf conftest*
9967 eval "ac_cv_func_$ac_func=no"
9969 rm -f conftest*
9972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9973 echo "$ac_t""yes" 1>&6
9974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9975 cat >> confdefs.h <<EOF
9976 #define $ac_tr_func 1
9979 else
9980 echo "$ac_t""no" 1>&6
9982 done
9987 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
9988 echo "configure:9989: checking for modfl declaration" >&5
9989 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
9990 echo $ac_n "(cached) $ac_c" 1>&6
9991 else
9994 ac_ext=C
9995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9996 ac_cpp='$CXXCPP $CPPFLAGS'
9997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9999 cross_compiling=$ac_cv_prog_cxx_cross
10001 cat > conftest.$ac_ext <<EOF
10002 #line 10003 "configure"
10003 #include "confdefs.h"
10004 #include <math.h>
10005 int main() {
10006 modfl(0, 0);
10007 ; return 0; }
10009 if { (eval echo configure:10010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10010 rm -rf conftest*
10011 glibcpp_cv_func_modfl_use=yes
10012 else
10013 echo "configure: failed program was:" >&5
10014 cat conftest.$ac_ext >&5
10015 rm -rf conftest*
10016 glibcpp_cv_func_modfl_use=no
10018 rm -f conftest*
10019 ac_ext=c
10020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10021 ac_cpp='$CPP $CPPFLAGS'
10022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10024 cross_compiling=$ac_cv_prog_cc_cross
10029 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
10030 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
10031 for ac_func in modfl
10033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10034 echo "configure:10035: checking for $ac_func" >&5
10035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10036 echo $ac_n "(cached) $ac_c" 1>&6
10037 else
10038 cat > conftest.$ac_ext <<EOF
10039 #line 10040 "configure"
10040 #include "confdefs.h"
10041 /* System header to define __stub macros and hopefully few prototypes,
10042 which can conflict with char $ac_func(); below. */
10043 #include <assert.h>
10044 /* Override any gcc2 internal prototype to avoid an error. */
10045 /* We use char because int might match the return type of a gcc2
10046 builtin and then its argument prototype would still apply. */
10047 char $ac_func();
10049 int main() {
10051 /* The GNU C library defines this for functions which it implements
10052 to always fail with ENOSYS. Some functions are actually named
10053 something starting with __ and the normal name is an alias. */
10054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10055 choke me
10056 #else
10057 $ac_func();
10058 #endif
10060 ; return 0; }
10062 if { (eval echo configure:10063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10063 rm -rf conftest*
10064 eval "ac_cv_func_$ac_func=yes"
10065 else
10066 echo "configure: failed program was:" >&5
10067 cat conftest.$ac_ext >&5
10068 rm -rf conftest*
10069 eval "ac_cv_func_$ac_func=no"
10071 rm -f conftest*
10074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10075 echo "$ac_t""yes" 1>&6
10076 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10077 cat >> confdefs.h <<EOF
10078 #define $ac_tr_func 1
10081 else
10082 echo "$ac_t""no" 1>&6
10084 done
10089 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10090 echo "configure:10091: checking for powl declaration" >&5
10091 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10092 echo $ac_n "(cached) $ac_c" 1>&6
10093 else
10096 ac_ext=C
10097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10098 ac_cpp='$CXXCPP $CPPFLAGS'
10099 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10100 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10101 cross_compiling=$ac_cv_prog_cxx_cross
10103 cat > conftest.$ac_ext <<EOF
10104 #line 10105 "configure"
10105 #include "confdefs.h"
10106 #include <math.h>
10107 int main() {
10108 powl(0, 0);
10109 ; return 0; }
10111 if { (eval echo configure:10112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10112 rm -rf conftest*
10113 glibcpp_cv_func_powl_use=yes
10114 else
10115 echo "configure: failed program was:" >&5
10116 cat conftest.$ac_ext >&5
10117 rm -rf conftest*
10118 glibcpp_cv_func_powl_use=no
10120 rm -f conftest*
10121 ac_ext=c
10122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10123 ac_cpp='$CPP $CPPFLAGS'
10124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10125 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10126 cross_compiling=$ac_cv_prog_cc_cross
10131 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10132 if test x$glibcpp_cv_func_powl_use = x"yes"; then
10133 for ac_func in powl
10135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10136 echo "configure:10137: checking for $ac_func" >&5
10137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10138 echo $ac_n "(cached) $ac_c" 1>&6
10139 else
10140 cat > conftest.$ac_ext <<EOF
10141 #line 10142 "configure"
10142 #include "confdefs.h"
10143 /* System header to define __stub macros and hopefully few prototypes,
10144 which can conflict with char $ac_func(); below. */
10145 #include <assert.h>
10146 /* Override any gcc2 internal prototype to avoid an error. */
10147 /* We use char because int might match the return type of a gcc2
10148 builtin and then its argument prototype would still apply. */
10149 char $ac_func();
10151 int main() {
10153 /* The GNU C library defines this for functions which it implements
10154 to always fail with ENOSYS. Some functions are actually named
10155 something starting with __ and the normal name is an alias. */
10156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10157 choke me
10158 #else
10159 $ac_func();
10160 #endif
10162 ; return 0; }
10164 if { (eval echo configure:10165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10165 rm -rf conftest*
10166 eval "ac_cv_func_$ac_func=yes"
10167 else
10168 echo "configure: failed program was:" >&5
10169 cat conftest.$ac_ext >&5
10170 rm -rf conftest*
10171 eval "ac_cv_func_$ac_func=no"
10173 rm -f conftest*
10176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10177 echo "$ac_t""yes" 1>&6
10178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10179 cat >> confdefs.h <<EOF
10180 #define $ac_tr_func 1
10183 else
10184 echo "$ac_t""no" 1>&6
10186 done
10191 echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10192 echo "configure:10193: checking for sinl declaration" >&5
10193 if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10194 echo $ac_n "(cached) $ac_c" 1>&6
10195 else
10198 ac_ext=C
10199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10200 ac_cpp='$CXXCPP $CPPFLAGS'
10201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10203 cross_compiling=$ac_cv_prog_cxx_cross
10205 cat > conftest.$ac_ext <<EOF
10206 #line 10207 "configure"
10207 #include "confdefs.h"
10208 #include <math.h>
10209 int main() {
10210 sinl(0);
10211 ; return 0; }
10213 if { (eval echo configure:10214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10214 rm -rf conftest*
10215 glibcpp_cv_func_sinl_use=yes
10216 else
10217 echo "configure: failed program was:" >&5
10218 cat conftest.$ac_ext >&5
10219 rm -rf conftest*
10220 glibcpp_cv_func_sinl_use=no
10222 rm -f conftest*
10223 ac_ext=c
10224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10225 ac_cpp='$CPP $CPPFLAGS'
10226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10228 cross_compiling=$ac_cv_prog_cc_cross
10233 echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10234 if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10235 for ac_func in sinl
10237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10238 echo "configure:10239: checking for $ac_func" >&5
10239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10240 echo $ac_n "(cached) $ac_c" 1>&6
10241 else
10242 cat > conftest.$ac_ext <<EOF
10243 #line 10244 "configure"
10244 #include "confdefs.h"
10245 /* System header to define __stub macros and hopefully few prototypes,
10246 which can conflict with char $ac_func(); below. */
10247 #include <assert.h>
10248 /* Override any gcc2 internal prototype to avoid an error. */
10249 /* We use char because int might match the return type of a gcc2
10250 builtin and then its argument prototype would still apply. */
10251 char $ac_func();
10253 int main() {
10255 /* The GNU C library defines this for functions which it implements
10256 to always fail with ENOSYS. Some functions are actually named
10257 something starting with __ and the normal name is an alias. */
10258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10259 choke me
10260 #else
10261 $ac_func();
10262 #endif
10264 ; return 0; }
10266 if { (eval echo configure:10267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10267 rm -rf conftest*
10268 eval "ac_cv_func_$ac_func=yes"
10269 else
10270 echo "configure: failed program was:" >&5
10271 cat conftest.$ac_ext >&5
10272 rm -rf conftest*
10273 eval "ac_cv_func_$ac_func=no"
10275 rm -f conftest*
10278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10279 echo "$ac_t""yes" 1>&6
10280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10281 cat >> confdefs.h <<EOF
10282 #define $ac_tr_func 1
10285 else
10286 echo "$ac_t""no" 1>&6
10288 done
10293 echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10294 echo "configure:10295: checking for sinhl declaration" >&5
10295 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10296 echo $ac_n "(cached) $ac_c" 1>&6
10297 else
10300 ac_ext=C
10301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10302 ac_cpp='$CXXCPP $CPPFLAGS'
10303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10305 cross_compiling=$ac_cv_prog_cxx_cross
10307 cat > conftest.$ac_ext <<EOF
10308 #line 10309 "configure"
10309 #include "confdefs.h"
10310 #include <math.h>
10311 int main() {
10312 sinhl(0);
10313 ; return 0; }
10315 if { (eval echo configure:10316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10316 rm -rf conftest*
10317 glibcpp_cv_func_sinhl_use=yes
10318 else
10319 echo "configure: failed program was:" >&5
10320 cat conftest.$ac_ext >&5
10321 rm -rf conftest*
10322 glibcpp_cv_func_sinhl_use=no
10324 rm -f conftest*
10325 ac_ext=c
10326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10327 ac_cpp='$CPP $CPPFLAGS'
10328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10330 cross_compiling=$ac_cv_prog_cc_cross
10335 echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10336 if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10337 for ac_func in sinhl
10339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10340 echo "configure:10341: checking for $ac_func" >&5
10341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10342 echo $ac_n "(cached) $ac_c" 1>&6
10343 else
10344 cat > conftest.$ac_ext <<EOF
10345 #line 10346 "configure"
10346 #include "confdefs.h"
10347 /* System header to define __stub macros and hopefully few prototypes,
10348 which can conflict with char $ac_func(); below. */
10349 #include <assert.h>
10350 /* Override any gcc2 internal prototype to avoid an error. */
10351 /* We use char because int might match the return type of a gcc2
10352 builtin and then its argument prototype would still apply. */
10353 char $ac_func();
10355 int main() {
10357 /* The GNU C library defines this for functions which it implements
10358 to always fail with ENOSYS. Some functions are actually named
10359 something starting with __ and the normal name is an alias. */
10360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10361 choke me
10362 #else
10363 $ac_func();
10364 #endif
10366 ; return 0; }
10368 if { (eval echo configure:10369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10369 rm -rf conftest*
10370 eval "ac_cv_func_$ac_func=yes"
10371 else
10372 echo "configure: failed program was:" >&5
10373 cat conftest.$ac_ext >&5
10374 rm -rf conftest*
10375 eval "ac_cv_func_$ac_func=no"
10377 rm -f conftest*
10380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10381 echo "$ac_t""yes" 1>&6
10382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10383 cat >> confdefs.h <<EOF
10384 #define $ac_tr_func 1
10387 else
10388 echo "$ac_t""no" 1>&6
10390 done
10395 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10396 echo "configure:10397: checking for sqrtl declaration" >&5
10397 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10398 echo $ac_n "(cached) $ac_c" 1>&6
10399 else
10402 ac_ext=C
10403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10404 ac_cpp='$CXXCPP $CPPFLAGS'
10405 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10406 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10407 cross_compiling=$ac_cv_prog_cxx_cross
10409 cat > conftest.$ac_ext <<EOF
10410 #line 10411 "configure"
10411 #include "confdefs.h"
10412 #include <math.h>
10413 int main() {
10414 sqrtl(0);
10415 ; return 0; }
10417 if { (eval echo configure:10418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10418 rm -rf conftest*
10419 glibcpp_cv_func_sqrtl_use=yes
10420 else
10421 echo "configure: failed program was:" >&5
10422 cat conftest.$ac_ext >&5
10423 rm -rf conftest*
10424 glibcpp_cv_func_sqrtl_use=no
10426 rm -f conftest*
10427 ac_ext=c
10428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10429 ac_cpp='$CPP $CPPFLAGS'
10430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10432 cross_compiling=$ac_cv_prog_cc_cross
10437 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10438 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10439 for ac_func in sqrtl
10441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10442 echo "configure:10443: checking for $ac_func" >&5
10443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10444 echo $ac_n "(cached) $ac_c" 1>&6
10445 else
10446 cat > conftest.$ac_ext <<EOF
10447 #line 10448 "configure"
10448 #include "confdefs.h"
10449 /* System header to define __stub macros and hopefully few prototypes,
10450 which can conflict with char $ac_func(); below. */
10451 #include <assert.h>
10452 /* Override any gcc2 internal prototype to avoid an error. */
10453 /* We use char because int might match the return type of a gcc2
10454 builtin and then its argument prototype would still apply. */
10455 char $ac_func();
10457 int main() {
10459 /* The GNU C library defines this for functions which it implements
10460 to always fail with ENOSYS. Some functions are actually named
10461 something starting with __ and the normal name is an alias. */
10462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10463 choke me
10464 #else
10465 $ac_func();
10466 #endif
10468 ; return 0; }
10470 if { (eval echo configure:10471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10471 rm -rf conftest*
10472 eval "ac_cv_func_$ac_func=yes"
10473 else
10474 echo "configure: failed program was:" >&5
10475 cat conftest.$ac_ext >&5
10476 rm -rf conftest*
10477 eval "ac_cv_func_$ac_func=no"
10479 rm -f conftest*
10482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10483 echo "$ac_t""yes" 1>&6
10484 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10485 cat >> confdefs.h <<EOF
10486 #define $ac_tr_func 1
10489 else
10490 echo "$ac_t""no" 1>&6
10492 done
10497 echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10498 echo "configure:10499: checking for tanl declaration" >&5
10499 if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10500 echo $ac_n "(cached) $ac_c" 1>&6
10501 else
10504 ac_ext=C
10505 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10506 ac_cpp='$CXXCPP $CPPFLAGS'
10507 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10508 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10509 cross_compiling=$ac_cv_prog_cxx_cross
10511 cat > conftest.$ac_ext <<EOF
10512 #line 10513 "configure"
10513 #include "confdefs.h"
10514 #include <math.h>
10515 int main() {
10516 tanl(0);
10517 ; return 0; }
10519 if { (eval echo configure:10520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10520 rm -rf conftest*
10521 glibcpp_cv_func_tanl_use=yes
10522 else
10523 echo "configure: failed program was:" >&5
10524 cat conftest.$ac_ext >&5
10525 rm -rf conftest*
10526 glibcpp_cv_func_tanl_use=no
10528 rm -f conftest*
10529 ac_ext=c
10530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10531 ac_cpp='$CPP $CPPFLAGS'
10532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10534 cross_compiling=$ac_cv_prog_cc_cross
10539 echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10540 if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10541 for ac_func in tanl
10543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10544 echo "configure:10545: checking for $ac_func" >&5
10545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10546 echo $ac_n "(cached) $ac_c" 1>&6
10547 else
10548 cat > conftest.$ac_ext <<EOF
10549 #line 10550 "configure"
10550 #include "confdefs.h"
10551 /* System header to define __stub macros and hopefully few prototypes,
10552 which can conflict with char $ac_func(); below. */
10553 #include <assert.h>
10554 /* Override any gcc2 internal prototype to avoid an error. */
10555 /* We use char because int might match the return type of a gcc2
10556 builtin and then its argument prototype would still apply. */
10557 char $ac_func();
10559 int main() {
10561 /* The GNU C library defines this for functions which it implements
10562 to always fail with ENOSYS. Some functions are actually named
10563 something starting with __ and the normal name is an alias. */
10564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10565 choke me
10566 #else
10567 $ac_func();
10568 #endif
10570 ; return 0; }
10572 if { (eval echo configure:10573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10573 rm -rf conftest*
10574 eval "ac_cv_func_$ac_func=yes"
10575 else
10576 echo "configure: failed program was:" >&5
10577 cat conftest.$ac_ext >&5
10578 rm -rf conftest*
10579 eval "ac_cv_func_$ac_func=no"
10581 rm -f conftest*
10584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10585 echo "$ac_t""yes" 1>&6
10586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10587 cat >> confdefs.h <<EOF
10588 #define $ac_tr_func 1
10591 else
10592 echo "$ac_t""no" 1>&6
10594 done
10599 echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10600 echo "configure:10601: checking for tanhl declaration" >&5
10601 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10602 echo $ac_n "(cached) $ac_c" 1>&6
10603 else
10606 ac_ext=C
10607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10608 ac_cpp='$CXXCPP $CPPFLAGS'
10609 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10610 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10611 cross_compiling=$ac_cv_prog_cxx_cross
10613 cat > conftest.$ac_ext <<EOF
10614 #line 10615 "configure"
10615 #include "confdefs.h"
10616 #include <math.h>
10617 int main() {
10618 tanhl(0);
10619 ; return 0; }
10621 if { (eval echo configure:10622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10622 rm -rf conftest*
10623 glibcpp_cv_func_tanhl_use=yes
10624 else
10625 echo "configure: failed program was:" >&5
10626 cat conftest.$ac_ext >&5
10627 rm -rf conftest*
10628 glibcpp_cv_func_tanhl_use=no
10630 rm -f conftest*
10631 ac_ext=c
10632 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10633 ac_cpp='$CPP $CPPFLAGS'
10634 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10635 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10636 cross_compiling=$ac_cv_prog_cc_cross
10641 echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10642 if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10643 for ac_func in tanhl
10645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10646 echo "configure:10647: checking for $ac_func" >&5
10647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10648 echo $ac_n "(cached) $ac_c" 1>&6
10649 else
10650 cat > conftest.$ac_ext <<EOF
10651 #line 10652 "configure"
10652 #include "confdefs.h"
10653 /* System header to define __stub macros and hopefully few prototypes,
10654 which can conflict with char $ac_func(); below. */
10655 #include <assert.h>
10656 /* Override any gcc2 internal prototype to avoid an error. */
10657 /* We use char because int might match the return type of a gcc2
10658 builtin and then its argument prototype would still apply. */
10659 char $ac_func();
10661 int main() {
10663 /* The GNU C library defines this for functions which it implements
10664 to always fail with ENOSYS. Some functions are actually named
10665 something starting with __ and the normal name is an alias. */
10666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10667 choke me
10668 #else
10669 $ac_func();
10670 #endif
10672 ; return 0; }
10674 if { (eval echo configure:10675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10675 rm -rf conftest*
10676 eval "ac_cv_func_$ac_func=yes"
10677 else
10678 echo "configure: failed program was:" >&5
10679 cat conftest.$ac_ext >&5
10680 rm -rf conftest*
10681 eval "ac_cv_func_$ac_func=no"
10683 rm -f conftest*
10686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10687 echo "$ac_t""yes" 1>&6
10688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10689 cat >> confdefs.h <<EOF
10690 #define $ac_tr_func 1
10693 else
10694 echo "$ac_t""no" 1>&6
10696 done
10701 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10702 echo "configure:10703: checking for sincosl declaration" >&5
10703 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10704 echo $ac_n "(cached) $ac_c" 1>&6
10705 else
10708 ac_ext=C
10709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10710 ac_cpp='$CXXCPP $CPPFLAGS'
10711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10713 cross_compiling=$ac_cv_prog_cxx_cross
10715 cat > conftest.$ac_ext <<EOF
10716 #line 10717 "configure"
10717 #include "confdefs.h"
10718 #include <math.h>
10719 int main() {
10720 sincosl(0, 0, 0);
10721 ; return 0; }
10723 if { (eval echo configure:10724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10724 rm -rf conftest*
10725 glibcpp_cv_func_sincosl_use=yes
10726 else
10727 echo "configure: failed program was:" >&5
10728 cat conftest.$ac_ext >&5
10729 rm -rf conftest*
10730 glibcpp_cv_func_sincosl_use=no
10732 rm -f conftest*
10733 ac_ext=c
10734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10735 ac_cpp='$CPP $CPPFLAGS'
10736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10738 cross_compiling=$ac_cv_prog_cc_cross
10743 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10744 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10745 for ac_func in sincosl
10747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10748 echo "configure:10749: checking for $ac_func" >&5
10749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10750 echo $ac_n "(cached) $ac_c" 1>&6
10751 else
10752 cat > conftest.$ac_ext <<EOF
10753 #line 10754 "configure"
10754 #include "confdefs.h"
10755 /* System header to define __stub macros and hopefully few prototypes,
10756 which can conflict with char $ac_func(); below. */
10757 #include <assert.h>
10758 /* Override any gcc2 internal prototype to avoid an error. */
10759 /* We use char because int might match the return type of a gcc2
10760 builtin and then its argument prototype would still apply. */
10761 char $ac_func();
10763 int main() {
10765 /* The GNU C library defines this for functions which it implements
10766 to always fail with ENOSYS. Some functions are actually named
10767 something starting with __ and the normal name is an alias. */
10768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10769 choke me
10770 #else
10771 $ac_func();
10772 #endif
10774 ; return 0; }
10776 if { (eval echo configure:10777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10777 rm -rf conftest*
10778 eval "ac_cv_func_$ac_func=yes"
10779 else
10780 echo "configure: failed program was:" >&5
10781 cat conftest.$ac_ext >&5
10782 rm -rf conftest*
10783 eval "ac_cv_func_$ac_func=no"
10785 rm -f conftest*
10788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10789 echo "$ac_t""yes" 1>&6
10790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10791 cat >> confdefs.h <<EOF
10792 #define $ac_tr_func 1
10795 else
10796 echo "$ac_t""no" 1>&6
10798 done
10803 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
10804 echo "configure:10805: checking for finitel declaration" >&5
10805 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
10806 echo $ac_n "(cached) $ac_c" 1>&6
10807 else
10810 ac_ext=C
10811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10812 ac_cpp='$CXXCPP $CPPFLAGS'
10813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10815 cross_compiling=$ac_cv_prog_cxx_cross
10817 cat > conftest.$ac_ext <<EOF
10818 #line 10819 "configure"
10819 #include "confdefs.h"
10820 #include <math.h>
10821 int main() {
10822 finitel(0);
10823 ; return 0; }
10825 if { (eval echo configure:10826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10826 rm -rf conftest*
10827 glibcpp_cv_func_finitel_use=yes
10828 else
10829 echo "configure: failed program was:" >&5
10830 cat conftest.$ac_ext >&5
10831 rm -rf conftest*
10832 glibcpp_cv_func_finitel_use=no
10834 rm -f conftest*
10835 ac_ext=c
10836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10837 ac_cpp='$CPP $CPPFLAGS'
10838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10840 cross_compiling=$ac_cv_prog_cc_cross
10845 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10846 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10847 for ac_func in finitel
10849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10850 echo "configure:10851: checking for $ac_func" >&5
10851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10852 echo $ac_n "(cached) $ac_c" 1>&6
10853 else
10854 cat > conftest.$ac_ext <<EOF
10855 #line 10856 "configure"
10856 #include "confdefs.h"
10857 /* System header to define __stub macros and hopefully few prototypes,
10858 which can conflict with char $ac_func(); below. */
10859 #include <assert.h>
10860 /* Override any gcc2 internal prototype to avoid an error. */
10861 /* We use char because int might match the return type of a gcc2
10862 builtin and then its argument prototype would still apply. */
10863 char $ac_func();
10865 int main() {
10867 /* The GNU C library defines this for functions which it implements
10868 to always fail with ENOSYS. Some functions are actually named
10869 something starting with __ and the normal name is an alias. */
10870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10871 choke me
10872 #else
10873 $ac_func();
10874 #endif
10876 ; return 0; }
10878 if { (eval echo configure:10879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10879 rm -rf conftest*
10880 eval "ac_cv_func_$ac_func=yes"
10881 else
10882 echo "configure: failed program was:" >&5
10883 cat conftest.$ac_ext >&5
10884 rm -rf conftest*
10885 eval "ac_cv_func_$ac_func=no"
10887 rm -f conftest*
10890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10891 echo "$ac_t""yes" 1>&6
10892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10893 cat >> confdefs.h <<EOF
10894 #define $ac_tr_func 1
10897 else
10898 echo "$ac_t""no" 1>&6
10900 done
10906 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10907 echo "configure:10908: checking for _isinf declaration" >&5
10908 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10909 echo $ac_n "(cached) $ac_c" 1>&6
10910 else
10913 ac_ext=C
10914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10915 ac_cpp='$CXXCPP $CPPFLAGS'
10916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10918 cross_compiling=$ac_cv_prog_cxx_cross
10920 cat > conftest.$ac_ext <<EOF
10921 #line 10922 "configure"
10922 #include "confdefs.h"
10923 #include <math.h>
10924 int main() {
10925 _isinf(0);
10926 ; return 0; }
10928 if { (eval echo configure:10929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10929 rm -rf conftest*
10930 glibcpp_cv_func__isinf_use=yes
10931 else
10932 echo "configure: failed program was:" >&5
10933 cat conftest.$ac_ext >&5
10934 rm -rf conftest*
10935 glibcpp_cv_func__isinf_use=no
10937 rm -f conftest*
10938 ac_ext=c
10939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10940 ac_cpp='$CPP $CPPFLAGS'
10941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10943 cross_compiling=$ac_cv_prog_cc_cross
10948 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10949 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10950 for ac_func in _isinf
10952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10953 echo "configure:10954: checking for $ac_func" >&5
10954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10955 echo $ac_n "(cached) $ac_c" 1>&6
10956 else
10957 cat > conftest.$ac_ext <<EOF
10958 #line 10959 "configure"
10959 #include "confdefs.h"
10960 /* System header to define __stub macros and hopefully few prototypes,
10961 which can conflict with char $ac_func(); below. */
10962 #include <assert.h>
10963 /* Override any gcc2 internal prototype to avoid an error. */
10964 /* We use char because int might match the return type of a gcc2
10965 builtin and then its argument prototype would still apply. */
10966 char $ac_func();
10968 int main() {
10970 /* The GNU C library defines this for functions which it implements
10971 to always fail with ENOSYS. Some functions are actually named
10972 something starting with __ and the normal name is an alias. */
10973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10974 choke me
10975 #else
10976 $ac_func();
10977 #endif
10979 ; return 0; }
10981 if { (eval echo configure:10982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10982 rm -rf conftest*
10983 eval "ac_cv_func_$ac_func=yes"
10984 else
10985 echo "configure: failed program was:" >&5
10986 cat conftest.$ac_ext >&5
10987 rm -rf conftest*
10988 eval "ac_cv_func_$ac_func=no"
10990 rm -f conftest*
10993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10994 echo "$ac_t""yes" 1>&6
10995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10996 cat >> confdefs.h <<EOF
10997 #define $ac_tr_func 1
11000 else
11001 echo "$ac_t""no" 1>&6
11003 done
11008 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11009 echo "configure:11010: checking for _isnan declaration" >&5
11010 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11011 echo $ac_n "(cached) $ac_c" 1>&6
11012 else
11015 ac_ext=C
11016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11017 ac_cpp='$CXXCPP $CPPFLAGS'
11018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11020 cross_compiling=$ac_cv_prog_cxx_cross
11022 cat > conftest.$ac_ext <<EOF
11023 #line 11024 "configure"
11024 #include "confdefs.h"
11025 #include <math.h>
11026 int main() {
11027 _isnan(0);
11028 ; return 0; }
11030 if { (eval echo configure:11031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11031 rm -rf conftest*
11032 glibcpp_cv_func__isnan_use=yes
11033 else
11034 echo "configure: failed program was:" >&5
11035 cat conftest.$ac_ext >&5
11036 rm -rf conftest*
11037 glibcpp_cv_func__isnan_use=no
11039 rm -f conftest*
11040 ac_ext=c
11041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11042 ac_cpp='$CPP $CPPFLAGS'
11043 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11044 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11045 cross_compiling=$ac_cv_prog_cc_cross
11050 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11051 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11052 for ac_func in _isnan
11054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11055 echo "configure:11056: checking for $ac_func" >&5
11056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11057 echo $ac_n "(cached) $ac_c" 1>&6
11058 else
11059 cat > conftest.$ac_ext <<EOF
11060 #line 11061 "configure"
11061 #include "confdefs.h"
11062 /* System header to define __stub macros and hopefully few prototypes,
11063 which can conflict with char $ac_func(); below. */
11064 #include <assert.h>
11065 /* Override any gcc2 internal prototype to avoid an error. */
11066 /* We use char because int might match the return type of a gcc2
11067 builtin and then its argument prototype would still apply. */
11068 char $ac_func();
11070 int main() {
11072 /* The GNU C library defines this for functions which it implements
11073 to always fail with ENOSYS. Some functions are actually named
11074 something starting with __ and the normal name is an alias. */
11075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11076 choke me
11077 #else
11078 $ac_func();
11079 #endif
11081 ; return 0; }
11083 if { (eval echo configure:11084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11084 rm -rf conftest*
11085 eval "ac_cv_func_$ac_func=yes"
11086 else
11087 echo "configure: failed program was:" >&5
11088 cat conftest.$ac_ext >&5
11089 rm -rf conftest*
11090 eval "ac_cv_func_$ac_func=no"
11092 rm -f conftest*
11095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11096 echo "$ac_t""yes" 1>&6
11097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11098 cat >> confdefs.h <<EOF
11099 #define $ac_tr_func 1
11102 else
11103 echo "$ac_t""no" 1>&6
11105 done
11110 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11111 echo "configure:11112: checking for _finite declaration" >&5
11112 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11113 echo $ac_n "(cached) $ac_c" 1>&6
11114 else
11117 ac_ext=C
11118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11119 ac_cpp='$CXXCPP $CPPFLAGS'
11120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11122 cross_compiling=$ac_cv_prog_cxx_cross
11124 cat > conftest.$ac_ext <<EOF
11125 #line 11126 "configure"
11126 #include "confdefs.h"
11127 #include <math.h>
11128 int main() {
11129 _finite(0);
11130 ; return 0; }
11132 if { (eval echo configure:11133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11133 rm -rf conftest*
11134 glibcpp_cv_func__finite_use=yes
11135 else
11136 echo "configure: failed program was:" >&5
11137 cat conftest.$ac_ext >&5
11138 rm -rf conftest*
11139 glibcpp_cv_func__finite_use=no
11141 rm -f conftest*
11142 ac_ext=c
11143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11144 ac_cpp='$CPP $CPPFLAGS'
11145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11147 cross_compiling=$ac_cv_prog_cc_cross
11152 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11153 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11154 for ac_func in _finite
11156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11157 echo "configure:11158: checking for $ac_func" >&5
11158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11159 echo $ac_n "(cached) $ac_c" 1>&6
11160 else
11161 cat > conftest.$ac_ext <<EOF
11162 #line 11163 "configure"
11163 #include "confdefs.h"
11164 /* System header to define __stub macros and hopefully few prototypes,
11165 which can conflict with char $ac_func(); below. */
11166 #include <assert.h>
11167 /* Override any gcc2 internal prototype to avoid an error. */
11168 /* We use char because int might match the return type of a gcc2
11169 builtin and then its argument prototype would still apply. */
11170 char $ac_func();
11172 int main() {
11174 /* The GNU C library defines this for functions which it implements
11175 to always fail with ENOSYS. Some functions are actually named
11176 something starting with __ and the normal name is an alias. */
11177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11178 choke me
11179 #else
11180 $ac_func();
11181 #endif
11183 ; return 0; }
11185 if { (eval echo configure:11186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11186 rm -rf conftest*
11187 eval "ac_cv_func_$ac_func=yes"
11188 else
11189 echo "configure: failed program was:" >&5
11190 cat conftest.$ac_ext >&5
11191 rm -rf conftest*
11192 eval "ac_cv_func_$ac_func=no"
11194 rm -f conftest*
11197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11198 echo "$ac_t""yes" 1>&6
11199 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11200 cat >> confdefs.h <<EOF
11201 #define $ac_tr_func 1
11204 else
11205 echo "$ac_t""no" 1>&6
11207 done
11212 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11213 echo "configure:11214: checking for _copysign declaration" >&5
11214 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11215 echo $ac_n "(cached) $ac_c" 1>&6
11216 else
11219 ac_ext=C
11220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11221 ac_cpp='$CXXCPP $CPPFLAGS'
11222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11224 cross_compiling=$ac_cv_prog_cxx_cross
11226 cat > conftest.$ac_ext <<EOF
11227 #line 11228 "configure"
11228 #include "confdefs.h"
11229 #include <math.h>
11230 int main() {
11231 _copysign(0, 0);
11232 ; return 0; }
11234 if { (eval echo configure:11235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11235 rm -rf conftest*
11236 glibcpp_cv_func__copysign_use=yes
11237 else
11238 echo "configure: failed program was:" >&5
11239 cat conftest.$ac_ext >&5
11240 rm -rf conftest*
11241 glibcpp_cv_func__copysign_use=no
11243 rm -f conftest*
11244 ac_ext=c
11245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11246 ac_cpp='$CPP $CPPFLAGS'
11247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11249 cross_compiling=$ac_cv_prog_cc_cross
11254 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11255 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11256 for ac_func in _copysign
11258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11259 echo "configure:11260: checking for $ac_func" >&5
11260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11261 echo $ac_n "(cached) $ac_c" 1>&6
11262 else
11263 cat > conftest.$ac_ext <<EOF
11264 #line 11265 "configure"
11265 #include "confdefs.h"
11266 /* System header to define __stub macros and hopefully few prototypes,
11267 which can conflict with char $ac_func(); below. */
11268 #include <assert.h>
11269 /* Override any gcc2 internal prototype to avoid an error. */
11270 /* We use char because int might match the return type of a gcc2
11271 builtin and then its argument prototype would still apply. */
11272 char $ac_func();
11274 int main() {
11276 /* The GNU C library defines this for functions which it implements
11277 to always fail with ENOSYS. Some functions are actually named
11278 something starting with __ and the normal name is an alias. */
11279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11280 choke me
11281 #else
11282 $ac_func();
11283 #endif
11285 ; return 0; }
11287 if { (eval echo configure:11288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11288 rm -rf conftest*
11289 eval "ac_cv_func_$ac_func=yes"
11290 else
11291 echo "configure: failed program was:" >&5
11292 cat conftest.$ac_ext >&5
11293 rm -rf conftest*
11294 eval "ac_cv_func_$ac_func=no"
11296 rm -f conftest*
11299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11300 echo "$ac_t""yes" 1>&6
11301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11302 cat >> confdefs.h <<EOF
11303 #define $ac_tr_func 1
11306 else
11307 echo "$ac_t""no" 1>&6
11309 done
11314 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11315 echo "configure:11316: checking for _sincos declaration" >&5
11316 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11317 echo $ac_n "(cached) $ac_c" 1>&6
11318 else
11321 ac_ext=C
11322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11323 ac_cpp='$CXXCPP $CPPFLAGS'
11324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11326 cross_compiling=$ac_cv_prog_cxx_cross
11328 cat > conftest.$ac_ext <<EOF
11329 #line 11330 "configure"
11330 #include "confdefs.h"
11331 #include <math.h>
11332 int main() {
11333 _sincos(0, 0, 0);
11334 ; return 0; }
11336 if { (eval echo configure:11337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11337 rm -rf conftest*
11338 glibcpp_cv_func__sincos_use=yes
11339 else
11340 echo "configure: failed program was:" >&5
11341 cat conftest.$ac_ext >&5
11342 rm -rf conftest*
11343 glibcpp_cv_func__sincos_use=no
11345 rm -f conftest*
11346 ac_ext=c
11347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11348 ac_cpp='$CPP $CPPFLAGS'
11349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11351 cross_compiling=$ac_cv_prog_cc_cross
11356 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11357 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11358 for ac_func in _sincos
11360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11361 echo "configure:11362: checking for $ac_func" >&5
11362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11363 echo $ac_n "(cached) $ac_c" 1>&6
11364 else
11365 cat > conftest.$ac_ext <<EOF
11366 #line 11367 "configure"
11367 #include "confdefs.h"
11368 /* System header to define __stub macros and hopefully few prototypes,
11369 which can conflict with char $ac_func(); below. */
11370 #include <assert.h>
11371 /* Override any gcc2 internal prototype to avoid an error. */
11372 /* We use char because int might match the return type of a gcc2
11373 builtin and then its argument prototype would still apply. */
11374 char $ac_func();
11376 int main() {
11378 /* The GNU C library defines this for functions which it implements
11379 to always fail with ENOSYS. Some functions are actually named
11380 something starting with __ and the normal name is an alias. */
11381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11382 choke me
11383 #else
11384 $ac_func();
11385 #endif
11387 ; return 0; }
11389 if { (eval echo configure:11390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11390 rm -rf conftest*
11391 eval "ac_cv_func_$ac_func=yes"
11392 else
11393 echo "configure: failed program was:" >&5
11394 cat conftest.$ac_ext >&5
11395 rm -rf conftest*
11396 eval "ac_cv_func_$ac_func=no"
11398 rm -f conftest*
11401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11402 echo "$ac_t""yes" 1>&6
11403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11404 cat >> confdefs.h <<EOF
11405 #define $ac_tr_func 1
11408 else
11409 echo "$ac_t""no" 1>&6
11411 done
11416 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11417 echo "configure:11418: checking for _fpclass declaration" >&5
11418 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11419 echo $ac_n "(cached) $ac_c" 1>&6
11420 else
11423 ac_ext=C
11424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11425 ac_cpp='$CXXCPP $CPPFLAGS'
11426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11428 cross_compiling=$ac_cv_prog_cxx_cross
11430 cat > conftest.$ac_ext <<EOF
11431 #line 11432 "configure"
11432 #include "confdefs.h"
11433 #include <math.h>
11434 int main() {
11435 _fpclass(0);
11436 ; return 0; }
11438 if { (eval echo configure:11439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11439 rm -rf conftest*
11440 glibcpp_cv_func__fpclass_use=yes
11441 else
11442 echo "configure: failed program was:" >&5
11443 cat conftest.$ac_ext >&5
11444 rm -rf conftest*
11445 glibcpp_cv_func__fpclass_use=no
11447 rm -f conftest*
11448 ac_ext=c
11449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11450 ac_cpp='$CPP $CPPFLAGS'
11451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11453 cross_compiling=$ac_cv_prog_cc_cross
11458 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11459 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11460 for ac_func in _fpclass
11462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11463 echo "configure:11464: checking for $ac_func" >&5
11464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11465 echo $ac_n "(cached) $ac_c" 1>&6
11466 else
11467 cat > conftest.$ac_ext <<EOF
11468 #line 11469 "configure"
11469 #include "confdefs.h"
11470 /* System header to define __stub macros and hopefully few prototypes,
11471 which can conflict with char $ac_func(); below. */
11472 #include <assert.h>
11473 /* Override any gcc2 internal prototype to avoid an error. */
11474 /* We use char because int might match the return type of a gcc2
11475 builtin and then its argument prototype would still apply. */
11476 char $ac_func();
11478 int main() {
11480 /* The GNU C library defines this for functions which it implements
11481 to always fail with ENOSYS. Some functions are actually named
11482 something starting with __ and the normal name is an alias. */
11483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11484 choke me
11485 #else
11486 $ac_func();
11487 #endif
11489 ; return 0; }
11491 if { (eval echo configure:11492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11492 rm -rf conftest*
11493 eval "ac_cv_func_$ac_func=yes"
11494 else
11495 echo "configure: failed program was:" >&5
11496 cat conftest.$ac_ext >&5
11497 rm -rf conftest*
11498 eval "ac_cv_func_$ac_func=no"
11500 rm -f conftest*
11503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11504 echo "$ac_t""yes" 1>&6
11505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11506 cat >> confdefs.h <<EOF
11507 #define $ac_tr_func 1
11510 else
11511 echo "$ac_t""no" 1>&6
11513 done
11518 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11519 echo "configure:11520: checking for _qfpclass declaration" >&5
11520 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11521 echo $ac_n "(cached) $ac_c" 1>&6
11522 else
11525 ac_ext=C
11526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11527 ac_cpp='$CXXCPP $CPPFLAGS'
11528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11530 cross_compiling=$ac_cv_prog_cxx_cross
11532 cat > conftest.$ac_ext <<EOF
11533 #line 11534 "configure"
11534 #include "confdefs.h"
11535 #include <math.h>
11536 int main() {
11537 _qfpclass(0);
11538 ; return 0; }
11540 if { (eval echo configure:11541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11541 rm -rf conftest*
11542 glibcpp_cv_func__qfpclass_use=yes
11543 else
11544 echo "configure: failed program was:" >&5
11545 cat conftest.$ac_ext >&5
11546 rm -rf conftest*
11547 glibcpp_cv_func__qfpclass_use=no
11549 rm -f conftest*
11550 ac_ext=c
11551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11552 ac_cpp='$CPP $CPPFLAGS'
11553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11555 cross_compiling=$ac_cv_prog_cc_cross
11560 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11561 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11562 for ac_func in _qfpclass
11564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11565 echo "configure:11566: checking for $ac_func" >&5
11566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11567 echo $ac_n "(cached) $ac_c" 1>&6
11568 else
11569 cat > conftest.$ac_ext <<EOF
11570 #line 11571 "configure"
11571 #include "confdefs.h"
11572 /* System header to define __stub macros and hopefully few prototypes,
11573 which can conflict with char $ac_func(); below. */
11574 #include <assert.h>
11575 /* Override any gcc2 internal prototype to avoid an error. */
11576 /* We use char because int might match the return type of a gcc2
11577 builtin and then its argument prototype would still apply. */
11578 char $ac_func();
11580 int main() {
11582 /* The GNU C library defines this for functions which it implements
11583 to always fail with ENOSYS. Some functions are actually named
11584 something starting with __ and the normal name is an alias. */
11585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11586 choke me
11587 #else
11588 $ac_func();
11589 #endif
11591 ; return 0; }
11593 if { (eval echo configure:11594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11594 rm -rf conftest*
11595 eval "ac_cv_func_$ac_func=yes"
11596 else
11597 echo "configure: failed program was:" >&5
11598 cat conftest.$ac_ext >&5
11599 rm -rf conftest*
11600 eval "ac_cv_func_$ac_func=no"
11602 rm -f conftest*
11605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11606 echo "$ac_t""yes" 1>&6
11607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11608 cat >> confdefs.h <<EOF
11609 #define $ac_tr_func 1
11612 else
11613 echo "$ac_t""no" 1>&6
11615 done
11621 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11622 echo "configure:11623: checking for _isnanf declaration" >&5
11623 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11624 echo $ac_n "(cached) $ac_c" 1>&6
11625 else
11628 ac_ext=C
11629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11630 ac_cpp='$CXXCPP $CPPFLAGS'
11631 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11632 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11633 cross_compiling=$ac_cv_prog_cxx_cross
11635 cat > conftest.$ac_ext <<EOF
11636 #line 11637 "configure"
11637 #include "confdefs.h"
11638 #include <math.h>
11639 int main() {
11640 _isnanf(0);
11641 ; return 0; }
11643 if { (eval echo configure:11644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11644 rm -rf conftest*
11645 glibcpp_cv_func__isnanf_use=yes
11646 else
11647 echo "configure: failed program was:" >&5
11648 cat conftest.$ac_ext >&5
11649 rm -rf conftest*
11650 glibcpp_cv_func__isnanf_use=no
11652 rm -f conftest*
11653 ac_ext=c
11654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11655 ac_cpp='$CPP $CPPFLAGS'
11656 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11657 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11658 cross_compiling=$ac_cv_prog_cc_cross
11663 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11664 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11665 for ac_func in _isnanf
11667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11668 echo "configure:11669: checking for $ac_func" >&5
11669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11670 echo $ac_n "(cached) $ac_c" 1>&6
11671 else
11672 cat > conftest.$ac_ext <<EOF
11673 #line 11674 "configure"
11674 #include "confdefs.h"
11675 /* System header to define __stub macros and hopefully few prototypes,
11676 which can conflict with char $ac_func(); below. */
11677 #include <assert.h>
11678 /* Override any gcc2 internal prototype to avoid an error. */
11679 /* We use char because int might match the return type of a gcc2
11680 builtin and then its argument prototype would still apply. */
11681 char $ac_func();
11683 int main() {
11685 /* The GNU C library defines this for functions which it implements
11686 to always fail with ENOSYS. Some functions are actually named
11687 something starting with __ and the normal name is an alias. */
11688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11689 choke me
11690 #else
11691 $ac_func();
11692 #endif
11694 ; return 0; }
11696 if { (eval echo configure:11697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11697 rm -rf conftest*
11698 eval "ac_cv_func_$ac_func=yes"
11699 else
11700 echo "configure: failed program was:" >&5
11701 cat conftest.$ac_ext >&5
11702 rm -rf conftest*
11703 eval "ac_cv_func_$ac_func=no"
11705 rm -f conftest*
11708 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11709 echo "$ac_t""yes" 1>&6
11710 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11711 cat >> confdefs.h <<EOF
11712 #define $ac_tr_func 1
11715 else
11716 echo "$ac_t""no" 1>&6
11718 done
11723 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11724 echo "configure:11725: checking for _isinff declaration" >&5
11725 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11726 echo $ac_n "(cached) $ac_c" 1>&6
11727 else
11730 ac_ext=C
11731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11732 ac_cpp='$CXXCPP $CPPFLAGS'
11733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11735 cross_compiling=$ac_cv_prog_cxx_cross
11737 cat > conftest.$ac_ext <<EOF
11738 #line 11739 "configure"
11739 #include "confdefs.h"
11740 #include <math.h>
11741 int main() {
11742 _isinff(0);
11743 ; return 0; }
11745 if { (eval echo configure:11746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11746 rm -rf conftest*
11747 glibcpp_cv_func__isinff_use=yes
11748 else
11749 echo "configure: failed program was:" >&5
11750 cat conftest.$ac_ext >&5
11751 rm -rf conftest*
11752 glibcpp_cv_func__isinff_use=no
11754 rm -f conftest*
11755 ac_ext=c
11756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11757 ac_cpp='$CPP $CPPFLAGS'
11758 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11759 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11760 cross_compiling=$ac_cv_prog_cc_cross
11765 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11766 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11767 for ac_func in _isinff
11769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11770 echo "configure:11771: checking for $ac_func" >&5
11771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11772 echo $ac_n "(cached) $ac_c" 1>&6
11773 else
11774 cat > conftest.$ac_ext <<EOF
11775 #line 11776 "configure"
11776 #include "confdefs.h"
11777 /* System header to define __stub macros and hopefully few prototypes,
11778 which can conflict with char $ac_func(); below. */
11779 #include <assert.h>
11780 /* Override any gcc2 internal prototype to avoid an error. */
11781 /* We use char because int might match the return type of a gcc2
11782 builtin and then its argument prototype would still apply. */
11783 char $ac_func();
11785 int main() {
11787 /* The GNU C library defines this for functions which it implements
11788 to always fail with ENOSYS. Some functions are actually named
11789 something starting with __ and the normal name is an alias. */
11790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11791 choke me
11792 #else
11793 $ac_func();
11794 #endif
11796 ; return 0; }
11798 if { (eval echo configure:11799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11799 rm -rf conftest*
11800 eval "ac_cv_func_$ac_func=yes"
11801 else
11802 echo "configure: failed program was:" >&5
11803 cat conftest.$ac_ext >&5
11804 rm -rf conftest*
11805 eval "ac_cv_func_$ac_func=no"
11807 rm -f conftest*
11810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11811 echo "$ac_t""yes" 1>&6
11812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11813 cat >> confdefs.h <<EOF
11814 #define $ac_tr_func 1
11817 else
11818 echo "$ac_t""no" 1>&6
11820 done
11825 echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
11826 echo "configure:11827: checking for _acosf declaration" >&5
11827 if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
11828 echo $ac_n "(cached) $ac_c" 1>&6
11829 else
11832 ac_ext=C
11833 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11834 ac_cpp='$CXXCPP $CPPFLAGS'
11835 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11836 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11837 cross_compiling=$ac_cv_prog_cxx_cross
11839 cat > conftest.$ac_ext <<EOF
11840 #line 11841 "configure"
11841 #include "confdefs.h"
11842 #include <math.h>
11843 int main() {
11844 _acosf(0);
11845 ; return 0; }
11847 if { (eval echo configure:11848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11848 rm -rf conftest*
11849 glibcpp_cv_func__acosf_use=yes
11850 else
11851 echo "configure: failed program was:" >&5
11852 cat conftest.$ac_ext >&5
11853 rm -rf conftest*
11854 glibcpp_cv_func__acosf_use=no
11856 rm -f conftest*
11857 ac_ext=c
11858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11859 ac_cpp='$CPP $CPPFLAGS'
11860 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11861 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11862 cross_compiling=$ac_cv_prog_cc_cross
11867 echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
11868 if test x$glibcpp_cv_func__acosf_use = x"yes"; then
11869 for ac_func in _acosf
11871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11872 echo "configure:11873: checking for $ac_func" >&5
11873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11874 echo $ac_n "(cached) $ac_c" 1>&6
11875 else
11876 cat > conftest.$ac_ext <<EOF
11877 #line 11878 "configure"
11878 #include "confdefs.h"
11879 /* System header to define __stub macros and hopefully few prototypes,
11880 which can conflict with char $ac_func(); below. */
11881 #include <assert.h>
11882 /* Override any gcc2 internal prototype to avoid an error. */
11883 /* We use char because int might match the return type of a gcc2
11884 builtin and then its argument prototype would still apply. */
11885 char $ac_func();
11887 int main() {
11889 /* The GNU C library defines this for functions which it implements
11890 to always fail with ENOSYS. Some functions are actually named
11891 something starting with __ and the normal name is an alias. */
11892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11893 choke me
11894 #else
11895 $ac_func();
11896 #endif
11898 ; return 0; }
11900 if { (eval echo configure:11901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11901 rm -rf conftest*
11902 eval "ac_cv_func_$ac_func=yes"
11903 else
11904 echo "configure: failed program was:" >&5
11905 cat conftest.$ac_ext >&5
11906 rm -rf conftest*
11907 eval "ac_cv_func_$ac_func=no"
11909 rm -f conftest*
11912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11913 echo "$ac_t""yes" 1>&6
11914 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11915 cat >> confdefs.h <<EOF
11916 #define $ac_tr_func 1
11919 else
11920 echo "$ac_t""no" 1>&6
11922 done
11927 echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
11928 echo "configure:11929: checking for _asinf declaration" >&5
11929 if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
11930 echo $ac_n "(cached) $ac_c" 1>&6
11931 else
11934 ac_ext=C
11935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11936 ac_cpp='$CXXCPP $CPPFLAGS'
11937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11939 cross_compiling=$ac_cv_prog_cxx_cross
11941 cat > conftest.$ac_ext <<EOF
11942 #line 11943 "configure"
11943 #include "confdefs.h"
11944 #include <math.h>
11945 int main() {
11946 _asinf(0);
11947 ; return 0; }
11949 if { (eval echo configure:11950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11950 rm -rf conftest*
11951 glibcpp_cv_func__asinf_use=yes
11952 else
11953 echo "configure: failed program was:" >&5
11954 cat conftest.$ac_ext >&5
11955 rm -rf conftest*
11956 glibcpp_cv_func__asinf_use=no
11958 rm -f conftest*
11959 ac_ext=c
11960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11961 ac_cpp='$CPP $CPPFLAGS'
11962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11964 cross_compiling=$ac_cv_prog_cc_cross
11969 echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
11970 if test x$glibcpp_cv_func__asinf_use = x"yes"; then
11971 for ac_func in _asinf
11973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11974 echo "configure:11975: checking for $ac_func" >&5
11975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11976 echo $ac_n "(cached) $ac_c" 1>&6
11977 else
11978 cat > conftest.$ac_ext <<EOF
11979 #line 11980 "configure"
11980 #include "confdefs.h"
11981 /* System header to define __stub macros and hopefully few prototypes,
11982 which can conflict with char $ac_func(); below. */
11983 #include <assert.h>
11984 /* Override any gcc2 internal prototype to avoid an error. */
11985 /* We use char because int might match the return type of a gcc2
11986 builtin and then its argument prototype would still apply. */
11987 char $ac_func();
11989 int main() {
11991 /* The GNU C library defines this for functions which it implements
11992 to always fail with ENOSYS. Some functions are actually named
11993 something starting with __ and the normal name is an alias. */
11994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11995 choke me
11996 #else
11997 $ac_func();
11998 #endif
12000 ; return 0; }
12002 if { (eval echo configure:12003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12003 rm -rf conftest*
12004 eval "ac_cv_func_$ac_func=yes"
12005 else
12006 echo "configure: failed program was:" >&5
12007 cat conftest.$ac_ext >&5
12008 rm -rf conftest*
12009 eval "ac_cv_func_$ac_func=no"
12011 rm -f conftest*
12014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12015 echo "$ac_t""yes" 1>&6
12016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12017 cat >> confdefs.h <<EOF
12018 #define $ac_tr_func 1
12021 else
12022 echo "$ac_t""no" 1>&6
12024 done
12029 echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
12030 echo "configure:12031: checking for _atanf declaration" >&5
12031 if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
12032 echo $ac_n "(cached) $ac_c" 1>&6
12033 else
12036 ac_ext=C
12037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12038 ac_cpp='$CXXCPP $CPPFLAGS'
12039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12041 cross_compiling=$ac_cv_prog_cxx_cross
12043 cat > conftest.$ac_ext <<EOF
12044 #line 12045 "configure"
12045 #include "confdefs.h"
12046 #include <math.h>
12047 int main() {
12048 _atanf(0);
12049 ; return 0; }
12051 if { (eval echo configure:12052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12052 rm -rf conftest*
12053 glibcpp_cv_func__atanf_use=yes
12054 else
12055 echo "configure: failed program was:" >&5
12056 cat conftest.$ac_ext >&5
12057 rm -rf conftest*
12058 glibcpp_cv_func__atanf_use=no
12060 rm -f conftest*
12061 ac_ext=c
12062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12063 ac_cpp='$CPP $CPPFLAGS'
12064 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12065 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12066 cross_compiling=$ac_cv_prog_cc_cross
12071 echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12072 if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12073 for ac_func in _atanf
12075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12076 echo "configure:12077: checking for $ac_func" >&5
12077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12078 echo $ac_n "(cached) $ac_c" 1>&6
12079 else
12080 cat > conftest.$ac_ext <<EOF
12081 #line 12082 "configure"
12082 #include "confdefs.h"
12083 /* System header to define __stub macros and hopefully few prototypes,
12084 which can conflict with char $ac_func(); below. */
12085 #include <assert.h>
12086 /* Override any gcc2 internal prototype to avoid an error. */
12087 /* We use char because int might match the return type of a gcc2
12088 builtin and then its argument prototype would still apply. */
12089 char $ac_func();
12091 int main() {
12093 /* The GNU C library defines this for functions which it implements
12094 to always fail with ENOSYS. Some functions are actually named
12095 something starting with __ and the normal name is an alias. */
12096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12097 choke me
12098 #else
12099 $ac_func();
12100 #endif
12102 ; return 0; }
12104 if { (eval echo configure:12105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12105 rm -rf conftest*
12106 eval "ac_cv_func_$ac_func=yes"
12107 else
12108 echo "configure: failed program was:" >&5
12109 cat conftest.$ac_ext >&5
12110 rm -rf conftest*
12111 eval "ac_cv_func_$ac_func=no"
12113 rm -f conftest*
12116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12117 echo "$ac_t""yes" 1>&6
12118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12119 cat >> confdefs.h <<EOF
12120 #define $ac_tr_func 1
12123 else
12124 echo "$ac_t""no" 1>&6
12126 done
12131 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12132 echo "configure:12133: checking for _atan2f declaration" >&5
12133 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12134 echo $ac_n "(cached) $ac_c" 1>&6
12135 else
12138 ac_ext=C
12139 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12140 ac_cpp='$CXXCPP $CPPFLAGS'
12141 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12142 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12143 cross_compiling=$ac_cv_prog_cxx_cross
12145 cat > conftest.$ac_ext <<EOF
12146 #line 12147 "configure"
12147 #include "confdefs.h"
12148 #include <math.h>
12149 int main() {
12150 _atan2f(0, 0);
12151 ; return 0; }
12153 if { (eval echo configure:12154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12154 rm -rf conftest*
12155 glibcpp_cv_func__atan2f_use=yes
12156 else
12157 echo "configure: failed program was:" >&5
12158 cat conftest.$ac_ext >&5
12159 rm -rf conftest*
12160 glibcpp_cv_func__atan2f_use=no
12162 rm -f conftest*
12163 ac_ext=c
12164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12165 ac_cpp='$CPP $CPPFLAGS'
12166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12168 cross_compiling=$ac_cv_prog_cc_cross
12173 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12174 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12175 for ac_func in _atan2f
12177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12178 echo "configure:12179: checking for $ac_func" >&5
12179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12180 echo $ac_n "(cached) $ac_c" 1>&6
12181 else
12182 cat > conftest.$ac_ext <<EOF
12183 #line 12184 "configure"
12184 #include "confdefs.h"
12185 /* System header to define __stub macros and hopefully few prototypes,
12186 which can conflict with char $ac_func(); below. */
12187 #include <assert.h>
12188 /* Override any gcc2 internal prototype to avoid an error. */
12189 /* We use char because int might match the return type of a gcc2
12190 builtin and then its argument prototype would still apply. */
12191 char $ac_func();
12193 int main() {
12195 /* The GNU C library defines this for functions which it implements
12196 to always fail with ENOSYS. Some functions are actually named
12197 something starting with __ and the normal name is an alias. */
12198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12199 choke me
12200 #else
12201 $ac_func();
12202 #endif
12204 ; return 0; }
12206 if { (eval echo configure:12207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12207 rm -rf conftest*
12208 eval "ac_cv_func_$ac_func=yes"
12209 else
12210 echo "configure: failed program was:" >&5
12211 cat conftest.$ac_ext >&5
12212 rm -rf conftest*
12213 eval "ac_cv_func_$ac_func=no"
12215 rm -f conftest*
12218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12219 echo "$ac_t""yes" 1>&6
12220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12221 cat >> confdefs.h <<EOF
12222 #define $ac_tr_func 1
12225 else
12226 echo "$ac_t""no" 1>&6
12228 done
12233 echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12234 echo "configure:12235: checking for _ceilf declaration" >&5
12235 if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12236 echo $ac_n "(cached) $ac_c" 1>&6
12237 else
12240 ac_ext=C
12241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12242 ac_cpp='$CXXCPP $CPPFLAGS'
12243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12245 cross_compiling=$ac_cv_prog_cxx_cross
12247 cat > conftest.$ac_ext <<EOF
12248 #line 12249 "configure"
12249 #include "confdefs.h"
12250 #include <math.h>
12251 int main() {
12252 _ceilf(0);
12253 ; return 0; }
12255 if { (eval echo configure:12256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12256 rm -rf conftest*
12257 glibcpp_cv_func__ceilf_use=yes
12258 else
12259 echo "configure: failed program was:" >&5
12260 cat conftest.$ac_ext >&5
12261 rm -rf conftest*
12262 glibcpp_cv_func__ceilf_use=no
12264 rm -f conftest*
12265 ac_ext=c
12266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12267 ac_cpp='$CPP $CPPFLAGS'
12268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12270 cross_compiling=$ac_cv_prog_cc_cross
12275 echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12276 if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12277 for ac_func in _ceilf
12279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12280 echo "configure:12281: checking for $ac_func" >&5
12281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12282 echo $ac_n "(cached) $ac_c" 1>&6
12283 else
12284 cat > conftest.$ac_ext <<EOF
12285 #line 12286 "configure"
12286 #include "confdefs.h"
12287 /* System header to define __stub macros and hopefully few prototypes,
12288 which can conflict with char $ac_func(); below. */
12289 #include <assert.h>
12290 /* Override any gcc2 internal prototype to avoid an error. */
12291 /* We use char because int might match the return type of a gcc2
12292 builtin and then its argument prototype would still apply. */
12293 char $ac_func();
12295 int main() {
12297 /* The GNU C library defines this for functions which it implements
12298 to always fail with ENOSYS. Some functions are actually named
12299 something starting with __ and the normal name is an alias. */
12300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12301 choke me
12302 #else
12303 $ac_func();
12304 #endif
12306 ; return 0; }
12308 if { (eval echo configure:12309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12309 rm -rf conftest*
12310 eval "ac_cv_func_$ac_func=yes"
12311 else
12312 echo "configure: failed program was:" >&5
12313 cat conftest.$ac_ext >&5
12314 rm -rf conftest*
12315 eval "ac_cv_func_$ac_func=no"
12317 rm -f conftest*
12320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12321 echo "$ac_t""yes" 1>&6
12322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12323 cat >> confdefs.h <<EOF
12324 #define $ac_tr_func 1
12327 else
12328 echo "$ac_t""no" 1>&6
12330 done
12335 echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12336 echo "configure:12337: checking for _cosf declaration" >&5
12337 if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12338 echo $ac_n "(cached) $ac_c" 1>&6
12339 else
12342 ac_ext=C
12343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12344 ac_cpp='$CXXCPP $CPPFLAGS'
12345 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12346 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12347 cross_compiling=$ac_cv_prog_cxx_cross
12349 cat > conftest.$ac_ext <<EOF
12350 #line 12351 "configure"
12351 #include "confdefs.h"
12352 #include <math.h>
12353 int main() {
12354 _cosf(0);
12355 ; return 0; }
12357 if { (eval echo configure:12358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12358 rm -rf conftest*
12359 glibcpp_cv_func__cosf_use=yes
12360 else
12361 echo "configure: failed program was:" >&5
12362 cat conftest.$ac_ext >&5
12363 rm -rf conftest*
12364 glibcpp_cv_func__cosf_use=no
12366 rm -f conftest*
12367 ac_ext=c
12368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12369 ac_cpp='$CPP $CPPFLAGS'
12370 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12371 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12372 cross_compiling=$ac_cv_prog_cc_cross
12377 echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12378 if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12379 for ac_func in _cosf
12381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12382 echo "configure:12383: checking for $ac_func" >&5
12383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12384 echo $ac_n "(cached) $ac_c" 1>&6
12385 else
12386 cat > conftest.$ac_ext <<EOF
12387 #line 12388 "configure"
12388 #include "confdefs.h"
12389 /* System header to define __stub macros and hopefully few prototypes,
12390 which can conflict with char $ac_func(); below. */
12391 #include <assert.h>
12392 /* Override any gcc2 internal prototype to avoid an error. */
12393 /* We use char because int might match the return type of a gcc2
12394 builtin and then its argument prototype would still apply. */
12395 char $ac_func();
12397 int main() {
12399 /* The GNU C library defines this for functions which it implements
12400 to always fail with ENOSYS. Some functions are actually named
12401 something starting with __ and the normal name is an alias. */
12402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12403 choke me
12404 #else
12405 $ac_func();
12406 #endif
12408 ; return 0; }
12410 if { (eval echo configure:12411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12411 rm -rf conftest*
12412 eval "ac_cv_func_$ac_func=yes"
12413 else
12414 echo "configure: failed program was:" >&5
12415 cat conftest.$ac_ext >&5
12416 rm -rf conftest*
12417 eval "ac_cv_func_$ac_func=no"
12419 rm -f conftest*
12422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12423 echo "$ac_t""yes" 1>&6
12424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12425 cat >> confdefs.h <<EOF
12426 #define $ac_tr_func 1
12429 else
12430 echo "$ac_t""no" 1>&6
12432 done
12437 echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12438 echo "configure:12439: checking for _coshf declaration" >&5
12439 if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12440 echo $ac_n "(cached) $ac_c" 1>&6
12441 else
12444 ac_ext=C
12445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12446 ac_cpp='$CXXCPP $CPPFLAGS'
12447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12449 cross_compiling=$ac_cv_prog_cxx_cross
12451 cat > conftest.$ac_ext <<EOF
12452 #line 12453 "configure"
12453 #include "confdefs.h"
12454 #include <math.h>
12455 int main() {
12456 _coshf(0);
12457 ; return 0; }
12459 if { (eval echo configure:12460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12460 rm -rf conftest*
12461 glibcpp_cv_func__coshf_use=yes
12462 else
12463 echo "configure: failed program was:" >&5
12464 cat conftest.$ac_ext >&5
12465 rm -rf conftest*
12466 glibcpp_cv_func__coshf_use=no
12468 rm -f conftest*
12469 ac_ext=c
12470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12471 ac_cpp='$CPP $CPPFLAGS'
12472 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12473 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12474 cross_compiling=$ac_cv_prog_cc_cross
12479 echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12480 if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12481 for ac_func in _coshf
12483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12484 echo "configure:12485: checking for $ac_func" >&5
12485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12486 echo $ac_n "(cached) $ac_c" 1>&6
12487 else
12488 cat > conftest.$ac_ext <<EOF
12489 #line 12490 "configure"
12490 #include "confdefs.h"
12491 /* System header to define __stub macros and hopefully few prototypes,
12492 which can conflict with char $ac_func(); below. */
12493 #include <assert.h>
12494 /* Override any gcc2 internal prototype to avoid an error. */
12495 /* We use char because int might match the return type of a gcc2
12496 builtin and then its argument prototype would still apply. */
12497 char $ac_func();
12499 int main() {
12501 /* The GNU C library defines this for functions which it implements
12502 to always fail with ENOSYS. Some functions are actually named
12503 something starting with __ and the normal name is an alias. */
12504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12505 choke me
12506 #else
12507 $ac_func();
12508 #endif
12510 ; return 0; }
12512 if { (eval echo configure:12513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12513 rm -rf conftest*
12514 eval "ac_cv_func_$ac_func=yes"
12515 else
12516 echo "configure: failed program was:" >&5
12517 cat conftest.$ac_ext >&5
12518 rm -rf conftest*
12519 eval "ac_cv_func_$ac_func=no"
12521 rm -f conftest*
12524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12525 echo "$ac_t""yes" 1>&6
12526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12527 cat >> confdefs.h <<EOF
12528 #define $ac_tr_func 1
12531 else
12532 echo "$ac_t""no" 1>&6
12534 done
12539 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12540 echo "configure:12541: checking for _expf declaration" >&5
12541 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12542 echo $ac_n "(cached) $ac_c" 1>&6
12543 else
12546 ac_ext=C
12547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12548 ac_cpp='$CXXCPP $CPPFLAGS'
12549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12551 cross_compiling=$ac_cv_prog_cxx_cross
12553 cat > conftest.$ac_ext <<EOF
12554 #line 12555 "configure"
12555 #include "confdefs.h"
12556 #include <math.h>
12557 int main() {
12558 _expf(0);
12559 ; return 0; }
12561 if { (eval echo configure:12562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12562 rm -rf conftest*
12563 glibcpp_cv_func__expf_use=yes
12564 else
12565 echo "configure: failed program was:" >&5
12566 cat conftest.$ac_ext >&5
12567 rm -rf conftest*
12568 glibcpp_cv_func__expf_use=no
12570 rm -f conftest*
12571 ac_ext=c
12572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12573 ac_cpp='$CPP $CPPFLAGS'
12574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12576 cross_compiling=$ac_cv_prog_cc_cross
12581 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12582 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12583 for ac_func in _expf
12585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12586 echo "configure:12587: checking for $ac_func" >&5
12587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12588 echo $ac_n "(cached) $ac_c" 1>&6
12589 else
12590 cat > conftest.$ac_ext <<EOF
12591 #line 12592 "configure"
12592 #include "confdefs.h"
12593 /* System header to define __stub macros and hopefully few prototypes,
12594 which can conflict with char $ac_func(); below. */
12595 #include <assert.h>
12596 /* Override any gcc2 internal prototype to avoid an error. */
12597 /* We use char because int might match the return type of a gcc2
12598 builtin and then its argument prototype would still apply. */
12599 char $ac_func();
12601 int main() {
12603 /* The GNU C library defines this for functions which it implements
12604 to always fail with ENOSYS. Some functions are actually named
12605 something starting with __ and the normal name is an alias. */
12606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12607 choke me
12608 #else
12609 $ac_func();
12610 #endif
12612 ; return 0; }
12614 if { (eval echo configure:12615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12615 rm -rf conftest*
12616 eval "ac_cv_func_$ac_func=yes"
12617 else
12618 echo "configure: failed program was:" >&5
12619 cat conftest.$ac_ext >&5
12620 rm -rf conftest*
12621 eval "ac_cv_func_$ac_func=no"
12623 rm -f conftest*
12626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12627 echo "$ac_t""yes" 1>&6
12628 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12629 cat >> confdefs.h <<EOF
12630 #define $ac_tr_func 1
12633 else
12634 echo "$ac_t""no" 1>&6
12636 done
12641 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12642 echo "configure:12643: checking for _fabsf declaration" >&5
12643 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12644 echo $ac_n "(cached) $ac_c" 1>&6
12645 else
12648 ac_ext=C
12649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12650 ac_cpp='$CXXCPP $CPPFLAGS'
12651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12653 cross_compiling=$ac_cv_prog_cxx_cross
12655 cat > conftest.$ac_ext <<EOF
12656 #line 12657 "configure"
12657 #include "confdefs.h"
12658 #include <math.h>
12659 int main() {
12660 _fabsf(0);
12661 ; return 0; }
12663 if { (eval echo configure:12664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12664 rm -rf conftest*
12665 glibcpp_cv_func__fabsf_use=yes
12666 else
12667 echo "configure: failed program was:" >&5
12668 cat conftest.$ac_ext >&5
12669 rm -rf conftest*
12670 glibcpp_cv_func__fabsf_use=no
12672 rm -f conftest*
12673 ac_ext=c
12674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12675 ac_cpp='$CPP $CPPFLAGS'
12676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12678 cross_compiling=$ac_cv_prog_cc_cross
12683 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12684 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12685 for ac_func in _fabsf
12687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12688 echo "configure:12689: checking for $ac_func" >&5
12689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12690 echo $ac_n "(cached) $ac_c" 1>&6
12691 else
12692 cat > conftest.$ac_ext <<EOF
12693 #line 12694 "configure"
12694 #include "confdefs.h"
12695 /* System header to define __stub macros and hopefully few prototypes,
12696 which can conflict with char $ac_func(); below. */
12697 #include <assert.h>
12698 /* Override any gcc2 internal prototype to avoid an error. */
12699 /* We use char because int might match the return type of a gcc2
12700 builtin and then its argument prototype would still apply. */
12701 char $ac_func();
12703 int main() {
12705 /* The GNU C library defines this for functions which it implements
12706 to always fail with ENOSYS. Some functions are actually named
12707 something starting with __ and the normal name is an alias. */
12708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12709 choke me
12710 #else
12711 $ac_func();
12712 #endif
12714 ; return 0; }
12716 if { (eval echo configure:12717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12717 rm -rf conftest*
12718 eval "ac_cv_func_$ac_func=yes"
12719 else
12720 echo "configure: failed program was:" >&5
12721 cat conftest.$ac_ext >&5
12722 rm -rf conftest*
12723 eval "ac_cv_func_$ac_func=no"
12725 rm -f conftest*
12728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12729 echo "$ac_t""yes" 1>&6
12730 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12731 cat >> confdefs.h <<EOF
12732 #define $ac_tr_func 1
12735 else
12736 echo "$ac_t""no" 1>&6
12738 done
12743 echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12744 echo "configure:12745: checking for _floorf declaration" >&5
12745 if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12746 echo $ac_n "(cached) $ac_c" 1>&6
12747 else
12750 ac_ext=C
12751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12752 ac_cpp='$CXXCPP $CPPFLAGS'
12753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12755 cross_compiling=$ac_cv_prog_cxx_cross
12757 cat > conftest.$ac_ext <<EOF
12758 #line 12759 "configure"
12759 #include "confdefs.h"
12760 #include <math.h>
12761 int main() {
12762 _floorf(0);
12763 ; return 0; }
12765 if { (eval echo configure:12766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12766 rm -rf conftest*
12767 glibcpp_cv_func__floorf_use=yes
12768 else
12769 echo "configure: failed program was:" >&5
12770 cat conftest.$ac_ext >&5
12771 rm -rf conftest*
12772 glibcpp_cv_func__floorf_use=no
12774 rm -f conftest*
12775 ac_ext=c
12776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12777 ac_cpp='$CPP $CPPFLAGS'
12778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12780 cross_compiling=$ac_cv_prog_cc_cross
12785 echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
12786 if test x$glibcpp_cv_func__floorf_use = x"yes"; then
12787 for ac_func in _floorf
12789 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12790 echo "configure:12791: checking for $ac_func" >&5
12791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12792 echo $ac_n "(cached) $ac_c" 1>&6
12793 else
12794 cat > conftest.$ac_ext <<EOF
12795 #line 12796 "configure"
12796 #include "confdefs.h"
12797 /* System header to define __stub macros and hopefully few prototypes,
12798 which can conflict with char $ac_func(); below. */
12799 #include <assert.h>
12800 /* Override any gcc2 internal prototype to avoid an error. */
12801 /* We use char because int might match the return type of a gcc2
12802 builtin and then its argument prototype would still apply. */
12803 char $ac_func();
12805 int main() {
12807 /* The GNU C library defines this for functions which it implements
12808 to always fail with ENOSYS. Some functions are actually named
12809 something starting with __ and the normal name is an alias. */
12810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12811 choke me
12812 #else
12813 $ac_func();
12814 #endif
12816 ; return 0; }
12818 if { (eval echo configure:12819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12819 rm -rf conftest*
12820 eval "ac_cv_func_$ac_func=yes"
12821 else
12822 echo "configure: failed program was:" >&5
12823 cat conftest.$ac_ext >&5
12824 rm -rf conftest*
12825 eval "ac_cv_func_$ac_func=no"
12827 rm -f conftest*
12830 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12831 echo "$ac_t""yes" 1>&6
12832 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12833 cat >> confdefs.h <<EOF
12834 #define $ac_tr_func 1
12837 else
12838 echo "$ac_t""no" 1>&6
12840 done
12845 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12846 echo "configure:12847: checking for _fmodf declaration" >&5
12847 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12848 echo $ac_n "(cached) $ac_c" 1>&6
12849 else
12852 ac_ext=C
12853 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12854 ac_cpp='$CXXCPP $CPPFLAGS'
12855 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12856 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12857 cross_compiling=$ac_cv_prog_cxx_cross
12859 cat > conftest.$ac_ext <<EOF
12860 #line 12861 "configure"
12861 #include "confdefs.h"
12862 #include <math.h>
12863 int main() {
12864 _fmodf(0, 0);
12865 ; return 0; }
12867 if { (eval echo configure:12868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12868 rm -rf conftest*
12869 glibcpp_cv_func__fmodf_use=yes
12870 else
12871 echo "configure: failed program was:" >&5
12872 cat conftest.$ac_ext >&5
12873 rm -rf conftest*
12874 glibcpp_cv_func__fmodf_use=no
12876 rm -f conftest*
12877 ac_ext=c
12878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12879 ac_cpp='$CPP $CPPFLAGS'
12880 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12881 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12882 cross_compiling=$ac_cv_prog_cc_cross
12887 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12888 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12889 for ac_func in _fmodf
12891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12892 echo "configure:12893: checking for $ac_func" >&5
12893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12894 echo $ac_n "(cached) $ac_c" 1>&6
12895 else
12896 cat > conftest.$ac_ext <<EOF
12897 #line 12898 "configure"
12898 #include "confdefs.h"
12899 /* System header to define __stub macros and hopefully few prototypes,
12900 which can conflict with char $ac_func(); below. */
12901 #include <assert.h>
12902 /* Override any gcc2 internal prototype to avoid an error. */
12903 /* We use char because int might match the return type of a gcc2
12904 builtin and then its argument prototype would still apply. */
12905 char $ac_func();
12907 int main() {
12909 /* The GNU C library defines this for functions which it implements
12910 to always fail with ENOSYS. Some functions are actually named
12911 something starting with __ and the normal name is an alias. */
12912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12913 choke me
12914 #else
12915 $ac_func();
12916 #endif
12918 ; return 0; }
12920 if { (eval echo configure:12921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12921 rm -rf conftest*
12922 eval "ac_cv_func_$ac_func=yes"
12923 else
12924 echo "configure: failed program was:" >&5
12925 cat conftest.$ac_ext >&5
12926 rm -rf conftest*
12927 eval "ac_cv_func_$ac_func=no"
12929 rm -f conftest*
12932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12933 echo "$ac_t""yes" 1>&6
12934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12935 cat >> confdefs.h <<EOF
12936 #define $ac_tr_func 1
12939 else
12940 echo "$ac_t""no" 1>&6
12942 done
12947 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
12948 echo "configure:12949: checking for _frexpf declaration" >&5
12949 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
12950 echo $ac_n "(cached) $ac_c" 1>&6
12951 else
12954 ac_ext=C
12955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12956 ac_cpp='$CXXCPP $CPPFLAGS'
12957 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12958 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12959 cross_compiling=$ac_cv_prog_cxx_cross
12961 cat > conftest.$ac_ext <<EOF
12962 #line 12963 "configure"
12963 #include "confdefs.h"
12964 #include <math.h>
12965 int main() {
12966 _frexpf(0, 0);
12967 ; return 0; }
12969 if { (eval echo configure:12970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12970 rm -rf conftest*
12971 glibcpp_cv_func__frexpf_use=yes
12972 else
12973 echo "configure: failed program was:" >&5
12974 cat conftest.$ac_ext >&5
12975 rm -rf conftest*
12976 glibcpp_cv_func__frexpf_use=no
12978 rm -f conftest*
12979 ac_ext=c
12980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12981 ac_cpp='$CPP $CPPFLAGS'
12982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12984 cross_compiling=$ac_cv_prog_cc_cross
12989 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
12990 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
12991 for ac_func in _frexpf
12993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12994 echo "configure:12995: checking for $ac_func" >&5
12995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12996 echo $ac_n "(cached) $ac_c" 1>&6
12997 else
12998 cat > conftest.$ac_ext <<EOF
12999 #line 13000 "configure"
13000 #include "confdefs.h"
13001 /* System header to define __stub macros and hopefully few prototypes,
13002 which can conflict with char $ac_func(); below. */
13003 #include <assert.h>
13004 /* Override any gcc2 internal prototype to avoid an error. */
13005 /* We use char because int might match the return type of a gcc2
13006 builtin and then its argument prototype would still apply. */
13007 char $ac_func();
13009 int main() {
13011 /* The GNU C library defines this for functions which it implements
13012 to always fail with ENOSYS. Some functions are actually named
13013 something starting with __ and the normal name is an alias. */
13014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13015 choke me
13016 #else
13017 $ac_func();
13018 #endif
13020 ; return 0; }
13022 if { (eval echo configure:13023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13023 rm -rf conftest*
13024 eval "ac_cv_func_$ac_func=yes"
13025 else
13026 echo "configure: failed program was:" >&5
13027 cat conftest.$ac_ext >&5
13028 rm -rf conftest*
13029 eval "ac_cv_func_$ac_func=no"
13031 rm -f conftest*
13034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13035 echo "$ac_t""yes" 1>&6
13036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13037 cat >> confdefs.h <<EOF
13038 #define $ac_tr_func 1
13041 else
13042 echo "$ac_t""no" 1>&6
13044 done
13049 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13050 echo "configure:13051: checking for _ldexpf declaration" >&5
13051 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13052 echo $ac_n "(cached) $ac_c" 1>&6
13053 else
13056 ac_ext=C
13057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13058 ac_cpp='$CXXCPP $CPPFLAGS'
13059 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13060 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13061 cross_compiling=$ac_cv_prog_cxx_cross
13063 cat > conftest.$ac_ext <<EOF
13064 #line 13065 "configure"
13065 #include "confdefs.h"
13066 #include <math.h>
13067 int main() {
13068 _ldexpf(0, 0);
13069 ; return 0; }
13071 if { (eval echo configure:13072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13072 rm -rf conftest*
13073 glibcpp_cv_func__ldexpf_use=yes
13074 else
13075 echo "configure: failed program was:" >&5
13076 cat conftest.$ac_ext >&5
13077 rm -rf conftest*
13078 glibcpp_cv_func__ldexpf_use=no
13080 rm -f conftest*
13081 ac_ext=c
13082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13083 ac_cpp='$CPP $CPPFLAGS'
13084 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13085 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13086 cross_compiling=$ac_cv_prog_cc_cross
13091 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13092 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13093 for ac_func in _ldexpf
13095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13096 echo "configure:13097: checking for $ac_func" >&5
13097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13098 echo $ac_n "(cached) $ac_c" 1>&6
13099 else
13100 cat > conftest.$ac_ext <<EOF
13101 #line 13102 "configure"
13102 #include "confdefs.h"
13103 /* System header to define __stub macros and hopefully few prototypes,
13104 which can conflict with char $ac_func(); below. */
13105 #include <assert.h>
13106 /* Override any gcc2 internal prototype to avoid an error. */
13107 /* We use char because int might match the return type of a gcc2
13108 builtin and then its argument prototype would still apply. */
13109 char $ac_func();
13111 int main() {
13113 /* The GNU C library defines this for functions which it implements
13114 to always fail with ENOSYS. Some functions are actually named
13115 something starting with __ and the normal name is an alias. */
13116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13117 choke me
13118 #else
13119 $ac_func();
13120 #endif
13122 ; return 0; }
13124 if { (eval echo configure:13125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13125 rm -rf conftest*
13126 eval "ac_cv_func_$ac_func=yes"
13127 else
13128 echo "configure: failed program was:" >&5
13129 cat conftest.$ac_ext >&5
13130 rm -rf conftest*
13131 eval "ac_cv_func_$ac_func=no"
13133 rm -f conftest*
13136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13137 echo "$ac_t""yes" 1>&6
13138 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13139 cat >> confdefs.h <<EOF
13140 #define $ac_tr_func 1
13143 else
13144 echo "$ac_t""no" 1>&6
13146 done
13151 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13152 echo "configure:13153: checking for _logf declaration" >&5
13153 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13154 echo $ac_n "(cached) $ac_c" 1>&6
13155 else
13158 ac_ext=C
13159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13160 ac_cpp='$CXXCPP $CPPFLAGS'
13161 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13162 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13163 cross_compiling=$ac_cv_prog_cxx_cross
13165 cat > conftest.$ac_ext <<EOF
13166 #line 13167 "configure"
13167 #include "confdefs.h"
13168 #include <math.h>
13169 int main() {
13170 _logf(0);
13171 ; return 0; }
13173 if { (eval echo configure:13174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13174 rm -rf conftest*
13175 glibcpp_cv_func__logf_use=yes
13176 else
13177 echo "configure: failed program was:" >&5
13178 cat conftest.$ac_ext >&5
13179 rm -rf conftest*
13180 glibcpp_cv_func__logf_use=no
13182 rm -f conftest*
13183 ac_ext=c
13184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13185 ac_cpp='$CPP $CPPFLAGS'
13186 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13187 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13188 cross_compiling=$ac_cv_prog_cc_cross
13193 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13194 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13195 for ac_func in _logf
13197 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13198 echo "configure:13199: checking for $ac_func" >&5
13199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13200 echo $ac_n "(cached) $ac_c" 1>&6
13201 else
13202 cat > conftest.$ac_ext <<EOF
13203 #line 13204 "configure"
13204 #include "confdefs.h"
13205 /* System header to define __stub macros and hopefully few prototypes,
13206 which can conflict with char $ac_func(); below. */
13207 #include <assert.h>
13208 /* Override any gcc2 internal prototype to avoid an error. */
13209 /* We use char because int might match the return type of a gcc2
13210 builtin and then its argument prototype would still apply. */
13211 char $ac_func();
13213 int main() {
13215 /* The GNU C library defines this for functions which it implements
13216 to always fail with ENOSYS. Some functions are actually named
13217 something starting with __ and the normal name is an alias. */
13218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13219 choke me
13220 #else
13221 $ac_func();
13222 #endif
13224 ; return 0; }
13226 if { (eval echo configure:13227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13227 rm -rf conftest*
13228 eval "ac_cv_func_$ac_func=yes"
13229 else
13230 echo "configure: failed program was:" >&5
13231 cat conftest.$ac_ext >&5
13232 rm -rf conftest*
13233 eval "ac_cv_func_$ac_func=no"
13235 rm -f conftest*
13238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13239 echo "$ac_t""yes" 1>&6
13240 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13241 cat >> confdefs.h <<EOF
13242 #define $ac_tr_func 1
13245 else
13246 echo "$ac_t""no" 1>&6
13248 done
13253 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13254 echo "configure:13255: checking for _log10f declaration" >&5
13255 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13256 echo $ac_n "(cached) $ac_c" 1>&6
13257 else
13260 ac_ext=C
13261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13262 ac_cpp='$CXXCPP $CPPFLAGS'
13263 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13264 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13265 cross_compiling=$ac_cv_prog_cxx_cross
13267 cat > conftest.$ac_ext <<EOF
13268 #line 13269 "configure"
13269 #include "confdefs.h"
13270 #include <math.h>
13271 int main() {
13272 _log10f(0);
13273 ; return 0; }
13275 if { (eval echo configure:13276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13276 rm -rf conftest*
13277 glibcpp_cv_func__log10f_use=yes
13278 else
13279 echo "configure: failed program was:" >&5
13280 cat conftest.$ac_ext >&5
13281 rm -rf conftest*
13282 glibcpp_cv_func__log10f_use=no
13284 rm -f conftest*
13285 ac_ext=c
13286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13287 ac_cpp='$CPP $CPPFLAGS'
13288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13290 cross_compiling=$ac_cv_prog_cc_cross
13295 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13296 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13297 for ac_func in _log10f
13299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13300 echo "configure:13301: checking for $ac_func" >&5
13301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13302 echo $ac_n "(cached) $ac_c" 1>&6
13303 else
13304 cat > conftest.$ac_ext <<EOF
13305 #line 13306 "configure"
13306 #include "confdefs.h"
13307 /* System header to define __stub macros and hopefully few prototypes,
13308 which can conflict with char $ac_func(); below. */
13309 #include <assert.h>
13310 /* Override any gcc2 internal prototype to avoid an error. */
13311 /* We use char because int might match the return type of a gcc2
13312 builtin and then its argument prototype would still apply. */
13313 char $ac_func();
13315 int main() {
13317 /* The GNU C library defines this for functions which it implements
13318 to always fail with ENOSYS. Some functions are actually named
13319 something starting with __ and the normal name is an alias. */
13320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13321 choke me
13322 #else
13323 $ac_func();
13324 #endif
13326 ; return 0; }
13328 if { (eval echo configure:13329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13329 rm -rf conftest*
13330 eval "ac_cv_func_$ac_func=yes"
13331 else
13332 echo "configure: failed program was:" >&5
13333 cat conftest.$ac_ext >&5
13334 rm -rf conftest*
13335 eval "ac_cv_func_$ac_func=no"
13337 rm -f conftest*
13340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13341 echo "$ac_t""yes" 1>&6
13342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13343 cat >> confdefs.h <<EOF
13344 #define $ac_tr_func 1
13347 else
13348 echo "$ac_t""no" 1>&6
13350 done
13355 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13356 echo "configure:13357: checking for _modff declaration" >&5
13357 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13358 echo $ac_n "(cached) $ac_c" 1>&6
13359 else
13362 ac_ext=C
13363 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13364 ac_cpp='$CXXCPP $CPPFLAGS'
13365 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13366 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13367 cross_compiling=$ac_cv_prog_cxx_cross
13369 cat > conftest.$ac_ext <<EOF
13370 #line 13371 "configure"
13371 #include "confdefs.h"
13372 #include <math.h>
13373 int main() {
13374 _modff(0, 0);
13375 ; return 0; }
13377 if { (eval echo configure:13378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13378 rm -rf conftest*
13379 glibcpp_cv_func__modff_use=yes
13380 else
13381 echo "configure: failed program was:" >&5
13382 cat conftest.$ac_ext >&5
13383 rm -rf conftest*
13384 glibcpp_cv_func__modff_use=no
13386 rm -f conftest*
13387 ac_ext=c
13388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13389 ac_cpp='$CPP $CPPFLAGS'
13390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13392 cross_compiling=$ac_cv_prog_cc_cross
13397 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13398 if test x$glibcpp_cv_func__modff_use = x"yes"; then
13399 for ac_func in _modff
13401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13402 echo "configure:13403: checking for $ac_func" >&5
13403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13404 echo $ac_n "(cached) $ac_c" 1>&6
13405 else
13406 cat > conftest.$ac_ext <<EOF
13407 #line 13408 "configure"
13408 #include "confdefs.h"
13409 /* System header to define __stub macros and hopefully few prototypes,
13410 which can conflict with char $ac_func(); below. */
13411 #include <assert.h>
13412 /* Override any gcc2 internal prototype to avoid an error. */
13413 /* We use char because int might match the return type of a gcc2
13414 builtin and then its argument prototype would still apply. */
13415 char $ac_func();
13417 int main() {
13419 /* The GNU C library defines this for functions which it implements
13420 to always fail with ENOSYS. Some functions are actually named
13421 something starting with __ and the normal name is an alias. */
13422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13423 choke me
13424 #else
13425 $ac_func();
13426 #endif
13428 ; return 0; }
13430 if { (eval echo configure:13431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13431 rm -rf conftest*
13432 eval "ac_cv_func_$ac_func=yes"
13433 else
13434 echo "configure: failed program was:" >&5
13435 cat conftest.$ac_ext >&5
13436 rm -rf conftest*
13437 eval "ac_cv_func_$ac_func=no"
13439 rm -f conftest*
13442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13443 echo "$ac_t""yes" 1>&6
13444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13445 cat >> confdefs.h <<EOF
13446 #define $ac_tr_func 1
13449 else
13450 echo "$ac_t""no" 1>&6
13452 done
13457 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13458 echo "configure:13459: checking for _powf declaration" >&5
13459 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13460 echo $ac_n "(cached) $ac_c" 1>&6
13461 else
13464 ac_ext=C
13465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13466 ac_cpp='$CXXCPP $CPPFLAGS'
13467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13469 cross_compiling=$ac_cv_prog_cxx_cross
13471 cat > conftest.$ac_ext <<EOF
13472 #line 13473 "configure"
13473 #include "confdefs.h"
13474 #include <math.h>
13475 int main() {
13476 _powf(0, 0);
13477 ; return 0; }
13479 if { (eval echo configure:13480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13480 rm -rf conftest*
13481 glibcpp_cv_func__powf_use=yes
13482 else
13483 echo "configure: failed program was:" >&5
13484 cat conftest.$ac_ext >&5
13485 rm -rf conftest*
13486 glibcpp_cv_func__powf_use=no
13488 rm -f conftest*
13489 ac_ext=c
13490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13491 ac_cpp='$CPP $CPPFLAGS'
13492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13494 cross_compiling=$ac_cv_prog_cc_cross
13499 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13500 if test x$glibcpp_cv_func__powf_use = x"yes"; then
13501 for ac_func in _powf
13503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13504 echo "configure:13505: checking for $ac_func" >&5
13505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13506 echo $ac_n "(cached) $ac_c" 1>&6
13507 else
13508 cat > conftest.$ac_ext <<EOF
13509 #line 13510 "configure"
13510 #include "confdefs.h"
13511 /* System header to define __stub macros and hopefully few prototypes,
13512 which can conflict with char $ac_func(); below. */
13513 #include <assert.h>
13514 /* Override any gcc2 internal prototype to avoid an error. */
13515 /* We use char because int might match the return type of a gcc2
13516 builtin and then its argument prototype would still apply. */
13517 char $ac_func();
13519 int main() {
13521 /* The GNU C library defines this for functions which it implements
13522 to always fail with ENOSYS. Some functions are actually named
13523 something starting with __ and the normal name is an alias. */
13524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13525 choke me
13526 #else
13527 $ac_func();
13528 #endif
13530 ; return 0; }
13532 if { (eval echo configure:13533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13533 rm -rf conftest*
13534 eval "ac_cv_func_$ac_func=yes"
13535 else
13536 echo "configure: failed program was:" >&5
13537 cat conftest.$ac_ext >&5
13538 rm -rf conftest*
13539 eval "ac_cv_func_$ac_func=no"
13541 rm -f conftest*
13544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13545 echo "$ac_t""yes" 1>&6
13546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13547 cat >> confdefs.h <<EOF
13548 #define $ac_tr_func 1
13551 else
13552 echo "$ac_t""no" 1>&6
13554 done
13559 echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13560 echo "configure:13561: checking for _sinf declaration" >&5
13561 if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13562 echo $ac_n "(cached) $ac_c" 1>&6
13563 else
13566 ac_ext=C
13567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13568 ac_cpp='$CXXCPP $CPPFLAGS'
13569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13571 cross_compiling=$ac_cv_prog_cxx_cross
13573 cat > conftest.$ac_ext <<EOF
13574 #line 13575 "configure"
13575 #include "confdefs.h"
13576 #include <math.h>
13577 int main() {
13578 _sinf(0);
13579 ; return 0; }
13581 if { (eval echo configure:13582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13582 rm -rf conftest*
13583 glibcpp_cv_func__sinf_use=yes
13584 else
13585 echo "configure: failed program was:" >&5
13586 cat conftest.$ac_ext >&5
13587 rm -rf conftest*
13588 glibcpp_cv_func__sinf_use=no
13590 rm -f conftest*
13591 ac_ext=c
13592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13593 ac_cpp='$CPP $CPPFLAGS'
13594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13596 cross_compiling=$ac_cv_prog_cc_cross
13601 echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13602 if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13603 for ac_func in _sinf
13605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13606 echo "configure:13607: checking for $ac_func" >&5
13607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13608 echo $ac_n "(cached) $ac_c" 1>&6
13609 else
13610 cat > conftest.$ac_ext <<EOF
13611 #line 13612 "configure"
13612 #include "confdefs.h"
13613 /* System header to define __stub macros and hopefully few prototypes,
13614 which can conflict with char $ac_func(); below. */
13615 #include <assert.h>
13616 /* Override any gcc2 internal prototype to avoid an error. */
13617 /* We use char because int might match the return type of a gcc2
13618 builtin and then its argument prototype would still apply. */
13619 char $ac_func();
13621 int main() {
13623 /* The GNU C library defines this for functions which it implements
13624 to always fail with ENOSYS. Some functions are actually named
13625 something starting with __ and the normal name is an alias. */
13626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13627 choke me
13628 #else
13629 $ac_func();
13630 #endif
13632 ; return 0; }
13634 if { (eval echo configure:13635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13635 rm -rf conftest*
13636 eval "ac_cv_func_$ac_func=yes"
13637 else
13638 echo "configure: failed program was:" >&5
13639 cat conftest.$ac_ext >&5
13640 rm -rf conftest*
13641 eval "ac_cv_func_$ac_func=no"
13643 rm -f conftest*
13646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13647 echo "$ac_t""yes" 1>&6
13648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13649 cat >> confdefs.h <<EOF
13650 #define $ac_tr_func 1
13653 else
13654 echo "$ac_t""no" 1>&6
13656 done
13661 echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13662 echo "configure:13663: checking for _sinhf declaration" >&5
13663 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13664 echo $ac_n "(cached) $ac_c" 1>&6
13665 else
13668 ac_ext=C
13669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13670 ac_cpp='$CXXCPP $CPPFLAGS'
13671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13673 cross_compiling=$ac_cv_prog_cxx_cross
13675 cat > conftest.$ac_ext <<EOF
13676 #line 13677 "configure"
13677 #include "confdefs.h"
13678 #include <math.h>
13679 int main() {
13680 _sinhf(0);
13681 ; return 0; }
13683 if { (eval echo configure:13684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13684 rm -rf conftest*
13685 glibcpp_cv_func__sinhf_use=yes
13686 else
13687 echo "configure: failed program was:" >&5
13688 cat conftest.$ac_ext >&5
13689 rm -rf conftest*
13690 glibcpp_cv_func__sinhf_use=no
13692 rm -f conftest*
13693 ac_ext=c
13694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13695 ac_cpp='$CPP $CPPFLAGS'
13696 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13697 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13698 cross_compiling=$ac_cv_prog_cc_cross
13703 echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13704 if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13705 for ac_func in _sinhf
13707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13708 echo "configure:13709: checking for $ac_func" >&5
13709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13710 echo $ac_n "(cached) $ac_c" 1>&6
13711 else
13712 cat > conftest.$ac_ext <<EOF
13713 #line 13714 "configure"
13714 #include "confdefs.h"
13715 /* System header to define __stub macros and hopefully few prototypes,
13716 which can conflict with char $ac_func(); below. */
13717 #include <assert.h>
13718 /* Override any gcc2 internal prototype to avoid an error. */
13719 /* We use char because int might match the return type of a gcc2
13720 builtin and then its argument prototype would still apply. */
13721 char $ac_func();
13723 int main() {
13725 /* The GNU C library defines this for functions which it implements
13726 to always fail with ENOSYS. Some functions are actually named
13727 something starting with __ and the normal name is an alias. */
13728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13729 choke me
13730 #else
13731 $ac_func();
13732 #endif
13734 ; return 0; }
13736 if { (eval echo configure:13737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13737 rm -rf conftest*
13738 eval "ac_cv_func_$ac_func=yes"
13739 else
13740 echo "configure: failed program was:" >&5
13741 cat conftest.$ac_ext >&5
13742 rm -rf conftest*
13743 eval "ac_cv_func_$ac_func=no"
13745 rm -f conftest*
13748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13749 echo "$ac_t""yes" 1>&6
13750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13751 cat >> confdefs.h <<EOF
13752 #define $ac_tr_func 1
13755 else
13756 echo "$ac_t""no" 1>&6
13758 done
13763 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13764 echo "configure:13765: checking for _sqrtf declaration" >&5
13765 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13766 echo $ac_n "(cached) $ac_c" 1>&6
13767 else
13770 ac_ext=C
13771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13772 ac_cpp='$CXXCPP $CPPFLAGS'
13773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13775 cross_compiling=$ac_cv_prog_cxx_cross
13777 cat > conftest.$ac_ext <<EOF
13778 #line 13779 "configure"
13779 #include "confdefs.h"
13780 #include <math.h>
13781 int main() {
13782 _sqrtf(0);
13783 ; return 0; }
13785 if { (eval echo configure:13786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13786 rm -rf conftest*
13787 glibcpp_cv_func__sqrtf_use=yes
13788 else
13789 echo "configure: failed program was:" >&5
13790 cat conftest.$ac_ext >&5
13791 rm -rf conftest*
13792 glibcpp_cv_func__sqrtf_use=no
13794 rm -f conftest*
13795 ac_ext=c
13796 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13797 ac_cpp='$CPP $CPPFLAGS'
13798 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13799 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13800 cross_compiling=$ac_cv_prog_cc_cross
13805 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13806 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13807 for ac_func in _sqrtf
13809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13810 echo "configure:13811: checking for $ac_func" >&5
13811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13812 echo $ac_n "(cached) $ac_c" 1>&6
13813 else
13814 cat > conftest.$ac_ext <<EOF
13815 #line 13816 "configure"
13816 #include "confdefs.h"
13817 /* System header to define __stub macros and hopefully few prototypes,
13818 which can conflict with char $ac_func(); below. */
13819 #include <assert.h>
13820 /* Override any gcc2 internal prototype to avoid an error. */
13821 /* We use char because int might match the return type of a gcc2
13822 builtin and then its argument prototype would still apply. */
13823 char $ac_func();
13825 int main() {
13827 /* The GNU C library defines this for functions which it implements
13828 to always fail with ENOSYS. Some functions are actually named
13829 something starting with __ and the normal name is an alias. */
13830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13831 choke me
13832 #else
13833 $ac_func();
13834 #endif
13836 ; return 0; }
13838 if { (eval echo configure:13839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13839 rm -rf conftest*
13840 eval "ac_cv_func_$ac_func=yes"
13841 else
13842 echo "configure: failed program was:" >&5
13843 cat conftest.$ac_ext >&5
13844 rm -rf conftest*
13845 eval "ac_cv_func_$ac_func=no"
13847 rm -f conftest*
13850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13851 echo "$ac_t""yes" 1>&6
13852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13853 cat >> confdefs.h <<EOF
13854 #define $ac_tr_func 1
13857 else
13858 echo "$ac_t""no" 1>&6
13860 done
13865 echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
13866 echo "configure:13867: checking for _tanf declaration" >&5
13867 if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
13868 echo $ac_n "(cached) $ac_c" 1>&6
13869 else
13872 ac_ext=C
13873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13874 ac_cpp='$CXXCPP $CPPFLAGS'
13875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13877 cross_compiling=$ac_cv_prog_cxx_cross
13879 cat > conftest.$ac_ext <<EOF
13880 #line 13881 "configure"
13881 #include "confdefs.h"
13882 #include <math.h>
13883 int main() {
13884 _tanf(0);
13885 ; return 0; }
13887 if { (eval echo configure:13888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13888 rm -rf conftest*
13889 glibcpp_cv_func__tanf_use=yes
13890 else
13891 echo "configure: failed program was:" >&5
13892 cat conftest.$ac_ext >&5
13893 rm -rf conftest*
13894 glibcpp_cv_func__tanf_use=no
13896 rm -f conftest*
13897 ac_ext=c
13898 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13899 ac_cpp='$CPP $CPPFLAGS'
13900 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13901 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13902 cross_compiling=$ac_cv_prog_cc_cross
13907 echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
13908 if test x$glibcpp_cv_func__tanf_use = x"yes"; then
13909 for ac_func in _tanf
13911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13912 echo "configure:13913: checking for $ac_func" >&5
13913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13914 echo $ac_n "(cached) $ac_c" 1>&6
13915 else
13916 cat > conftest.$ac_ext <<EOF
13917 #line 13918 "configure"
13918 #include "confdefs.h"
13919 /* System header to define __stub macros and hopefully few prototypes,
13920 which can conflict with char $ac_func(); below. */
13921 #include <assert.h>
13922 /* Override any gcc2 internal prototype to avoid an error. */
13923 /* We use char because int might match the return type of a gcc2
13924 builtin and then its argument prototype would still apply. */
13925 char $ac_func();
13927 int main() {
13929 /* The GNU C library defines this for functions which it implements
13930 to always fail with ENOSYS. Some functions are actually named
13931 something starting with __ and the normal name is an alias. */
13932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13933 choke me
13934 #else
13935 $ac_func();
13936 #endif
13938 ; return 0; }
13940 if { (eval echo configure:13941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13941 rm -rf conftest*
13942 eval "ac_cv_func_$ac_func=yes"
13943 else
13944 echo "configure: failed program was:" >&5
13945 cat conftest.$ac_ext >&5
13946 rm -rf conftest*
13947 eval "ac_cv_func_$ac_func=no"
13949 rm -f conftest*
13952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13953 echo "$ac_t""yes" 1>&6
13954 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13955 cat >> confdefs.h <<EOF
13956 #define $ac_tr_func 1
13959 else
13960 echo "$ac_t""no" 1>&6
13962 done
13967 echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
13968 echo "configure:13969: checking for _tanhf declaration" >&5
13969 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
13970 echo $ac_n "(cached) $ac_c" 1>&6
13971 else
13974 ac_ext=C
13975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13976 ac_cpp='$CXXCPP $CPPFLAGS'
13977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13979 cross_compiling=$ac_cv_prog_cxx_cross
13981 cat > conftest.$ac_ext <<EOF
13982 #line 13983 "configure"
13983 #include "confdefs.h"
13984 #include <math.h>
13985 int main() {
13986 _tanhf(0);
13987 ; return 0; }
13989 if { (eval echo configure:13990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13990 rm -rf conftest*
13991 glibcpp_cv_func__tanhf_use=yes
13992 else
13993 echo "configure: failed program was:" >&5
13994 cat conftest.$ac_ext >&5
13995 rm -rf conftest*
13996 glibcpp_cv_func__tanhf_use=no
13998 rm -f conftest*
13999 ac_ext=c
14000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14001 ac_cpp='$CPP $CPPFLAGS'
14002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14004 cross_compiling=$ac_cv_prog_cc_cross
14009 echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
14010 if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
14011 for ac_func in _tanhf
14013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14014 echo "configure:14015: checking for $ac_func" >&5
14015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14016 echo $ac_n "(cached) $ac_c" 1>&6
14017 else
14018 cat > conftest.$ac_ext <<EOF
14019 #line 14020 "configure"
14020 #include "confdefs.h"
14021 /* System header to define __stub macros and hopefully few prototypes,
14022 which can conflict with char $ac_func(); below. */
14023 #include <assert.h>
14024 /* Override any gcc2 internal prototype to avoid an error. */
14025 /* We use char because int might match the return type of a gcc2
14026 builtin and then its argument prototype would still apply. */
14027 char $ac_func();
14029 int main() {
14031 /* The GNU C library defines this for functions which it implements
14032 to always fail with ENOSYS. Some functions are actually named
14033 something starting with __ and the normal name is an alias. */
14034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14035 choke me
14036 #else
14037 $ac_func();
14038 #endif
14040 ; return 0; }
14042 if { (eval echo configure:14043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14043 rm -rf conftest*
14044 eval "ac_cv_func_$ac_func=yes"
14045 else
14046 echo "configure: failed program was:" >&5
14047 cat conftest.$ac_ext >&5
14048 rm -rf conftest*
14049 eval "ac_cv_func_$ac_func=no"
14051 rm -f conftest*
14054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14055 echo "$ac_t""yes" 1>&6
14056 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14057 cat >> confdefs.h <<EOF
14058 #define $ac_tr_func 1
14061 else
14062 echo "$ac_t""no" 1>&6
14064 done
14069 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14070 echo "configure:14071: checking for _sincosf declaration" >&5
14071 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14072 echo $ac_n "(cached) $ac_c" 1>&6
14073 else
14076 ac_ext=C
14077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14078 ac_cpp='$CXXCPP $CPPFLAGS'
14079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14081 cross_compiling=$ac_cv_prog_cxx_cross
14083 cat > conftest.$ac_ext <<EOF
14084 #line 14085 "configure"
14085 #include "confdefs.h"
14086 #include <math.h>
14087 int main() {
14088 _sincosf(0, 0, 0);
14089 ; return 0; }
14091 if { (eval echo configure:14092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14092 rm -rf conftest*
14093 glibcpp_cv_func__sincosf_use=yes
14094 else
14095 echo "configure: failed program was:" >&5
14096 cat conftest.$ac_ext >&5
14097 rm -rf conftest*
14098 glibcpp_cv_func__sincosf_use=no
14100 rm -f conftest*
14101 ac_ext=c
14102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14103 ac_cpp='$CPP $CPPFLAGS'
14104 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14105 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14106 cross_compiling=$ac_cv_prog_cc_cross
14111 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14112 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14113 for ac_func in _sincosf
14115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14116 echo "configure:14117: checking for $ac_func" >&5
14117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14118 echo $ac_n "(cached) $ac_c" 1>&6
14119 else
14120 cat > conftest.$ac_ext <<EOF
14121 #line 14122 "configure"
14122 #include "confdefs.h"
14123 /* System header to define __stub macros and hopefully few prototypes,
14124 which can conflict with char $ac_func(); below. */
14125 #include <assert.h>
14126 /* Override any gcc2 internal prototype to avoid an error. */
14127 /* We use char because int might match the return type of a gcc2
14128 builtin and then its argument prototype would still apply. */
14129 char $ac_func();
14131 int main() {
14133 /* The GNU C library defines this for functions which it implements
14134 to always fail with ENOSYS. Some functions are actually named
14135 something starting with __ and the normal name is an alias. */
14136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14137 choke me
14138 #else
14139 $ac_func();
14140 #endif
14142 ; return 0; }
14144 if { (eval echo configure:14145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14145 rm -rf conftest*
14146 eval "ac_cv_func_$ac_func=yes"
14147 else
14148 echo "configure: failed program was:" >&5
14149 cat conftest.$ac_ext >&5
14150 rm -rf conftest*
14151 eval "ac_cv_func_$ac_func=no"
14153 rm -f conftest*
14156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14157 echo "$ac_t""yes" 1>&6
14158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14159 cat >> confdefs.h <<EOF
14160 #define $ac_tr_func 1
14163 else
14164 echo "$ac_t""no" 1>&6
14166 done
14171 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14172 echo "configure:14173: checking for _finitef declaration" >&5
14173 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14174 echo $ac_n "(cached) $ac_c" 1>&6
14175 else
14178 ac_ext=C
14179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14180 ac_cpp='$CXXCPP $CPPFLAGS'
14181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14183 cross_compiling=$ac_cv_prog_cxx_cross
14185 cat > conftest.$ac_ext <<EOF
14186 #line 14187 "configure"
14187 #include "confdefs.h"
14188 #include <math.h>
14189 int main() {
14190 _finitef(0);
14191 ; return 0; }
14193 if { (eval echo configure:14194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14194 rm -rf conftest*
14195 glibcpp_cv_func__finitef_use=yes
14196 else
14197 echo "configure: failed program was:" >&5
14198 cat conftest.$ac_ext >&5
14199 rm -rf conftest*
14200 glibcpp_cv_func__finitef_use=no
14202 rm -f conftest*
14203 ac_ext=c
14204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14205 ac_cpp='$CPP $CPPFLAGS'
14206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14208 cross_compiling=$ac_cv_prog_cc_cross
14213 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14214 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14215 for ac_func in _finitef
14217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14218 echo "configure:14219: checking for $ac_func" >&5
14219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14220 echo $ac_n "(cached) $ac_c" 1>&6
14221 else
14222 cat > conftest.$ac_ext <<EOF
14223 #line 14224 "configure"
14224 #include "confdefs.h"
14225 /* System header to define __stub macros and hopefully few prototypes,
14226 which can conflict with char $ac_func(); below. */
14227 #include <assert.h>
14228 /* Override any gcc2 internal prototype to avoid an error. */
14229 /* We use char because int might match the return type of a gcc2
14230 builtin and then its argument prototype would still apply. */
14231 char $ac_func();
14233 int main() {
14235 /* The GNU C library defines this for functions which it implements
14236 to always fail with ENOSYS. Some functions are actually named
14237 something starting with __ and the normal name is an alias. */
14238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14239 choke me
14240 #else
14241 $ac_func();
14242 #endif
14244 ; return 0; }
14246 if { (eval echo configure:14247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14247 rm -rf conftest*
14248 eval "ac_cv_func_$ac_func=yes"
14249 else
14250 echo "configure: failed program was:" >&5
14251 cat conftest.$ac_ext >&5
14252 rm -rf conftest*
14253 eval "ac_cv_func_$ac_func=no"
14255 rm -f conftest*
14258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14259 echo "$ac_t""yes" 1>&6
14260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14261 cat >> confdefs.h <<EOF
14262 #define $ac_tr_func 1
14265 else
14266 echo "$ac_t""no" 1>&6
14268 done
14274 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14275 echo "configure:14276: checking for _isnanl declaration" >&5
14276 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14277 echo $ac_n "(cached) $ac_c" 1>&6
14278 else
14281 ac_ext=C
14282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14283 ac_cpp='$CXXCPP $CPPFLAGS'
14284 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14285 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14286 cross_compiling=$ac_cv_prog_cxx_cross
14288 cat > conftest.$ac_ext <<EOF
14289 #line 14290 "configure"
14290 #include "confdefs.h"
14291 #include <math.h>
14292 int main() {
14293 _isnanl(0);
14294 ; return 0; }
14296 if { (eval echo configure:14297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14297 rm -rf conftest*
14298 glibcpp_cv_func__isnanl_use=yes
14299 else
14300 echo "configure: failed program was:" >&5
14301 cat conftest.$ac_ext >&5
14302 rm -rf conftest*
14303 glibcpp_cv_func__isnanl_use=no
14305 rm -f conftest*
14306 ac_ext=c
14307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14308 ac_cpp='$CPP $CPPFLAGS'
14309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14311 cross_compiling=$ac_cv_prog_cc_cross
14316 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14317 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14318 for ac_func in _isnanl
14320 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14321 echo "configure:14322: checking for $ac_func" >&5
14322 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14323 echo $ac_n "(cached) $ac_c" 1>&6
14324 else
14325 cat > conftest.$ac_ext <<EOF
14326 #line 14327 "configure"
14327 #include "confdefs.h"
14328 /* System header to define __stub macros and hopefully few prototypes,
14329 which can conflict with char $ac_func(); below. */
14330 #include <assert.h>
14331 /* Override any gcc2 internal prototype to avoid an error. */
14332 /* We use char because int might match the return type of a gcc2
14333 builtin and then its argument prototype would still apply. */
14334 char $ac_func();
14336 int main() {
14338 /* The GNU C library defines this for functions which it implements
14339 to always fail with ENOSYS. Some functions are actually named
14340 something starting with __ and the normal name is an alias. */
14341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14342 choke me
14343 #else
14344 $ac_func();
14345 #endif
14347 ; return 0; }
14349 if { (eval echo configure:14350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14350 rm -rf conftest*
14351 eval "ac_cv_func_$ac_func=yes"
14352 else
14353 echo "configure: failed program was:" >&5
14354 cat conftest.$ac_ext >&5
14355 rm -rf conftest*
14356 eval "ac_cv_func_$ac_func=no"
14358 rm -f conftest*
14361 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14362 echo "$ac_t""yes" 1>&6
14363 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14364 cat >> confdefs.h <<EOF
14365 #define $ac_tr_func 1
14368 else
14369 echo "$ac_t""no" 1>&6
14371 done
14376 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14377 echo "configure:14378: checking for _isinfl declaration" >&5
14378 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14379 echo $ac_n "(cached) $ac_c" 1>&6
14380 else
14383 ac_ext=C
14384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14385 ac_cpp='$CXXCPP $CPPFLAGS'
14386 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14387 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14388 cross_compiling=$ac_cv_prog_cxx_cross
14390 cat > conftest.$ac_ext <<EOF
14391 #line 14392 "configure"
14392 #include "confdefs.h"
14393 #include <math.h>
14394 int main() {
14395 _isinfl(0);
14396 ; return 0; }
14398 if { (eval echo configure:14399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14399 rm -rf conftest*
14400 glibcpp_cv_func__isinfl_use=yes
14401 else
14402 echo "configure: failed program was:" >&5
14403 cat conftest.$ac_ext >&5
14404 rm -rf conftest*
14405 glibcpp_cv_func__isinfl_use=no
14407 rm -f conftest*
14408 ac_ext=c
14409 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14410 ac_cpp='$CPP $CPPFLAGS'
14411 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14412 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14413 cross_compiling=$ac_cv_prog_cc_cross
14418 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14419 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14420 for ac_func in _isinfl
14422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14423 echo "configure:14424: checking for $ac_func" >&5
14424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14425 echo $ac_n "(cached) $ac_c" 1>&6
14426 else
14427 cat > conftest.$ac_ext <<EOF
14428 #line 14429 "configure"
14429 #include "confdefs.h"
14430 /* System header to define __stub macros and hopefully few prototypes,
14431 which can conflict with char $ac_func(); below. */
14432 #include <assert.h>
14433 /* Override any gcc2 internal prototype to avoid an error. */
14434 /* We use char because int might match the return type of a gcc2
14435 builtin and then its argument prototype would still apply. */
14436 char $ac_func();
14438 int main() {
14440 /* The GNU C library defines this for functions which it implements
14441 to always fail with ENOSYS. Some functions are actually named
14442 something starting with __ and the normal name is an alias. */
14443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14444 choke me
14445 #else
14446 $ac_func();
14447 #endif
14449 ; return 0; }
14451 if { (eval echo configure:14452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14452 rm -rf conftest*
14453 eval "ac_cv_func_$ac_func=yes"
14454 else
14455 echo "configure: failed program was:" >&5
14456 cat conftest.$ac_ext >&5
14457 rm -rf conftest*
14458 eval "ac_cv_func_$ac_func=no"
14460 rm -f conftest*
14463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14464 echo "$ac_t""yes" 1>&6
14465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14466 cat >> confdefs.h <<EOF
14467 #define $ac_tr_func 1
14470 else
14471 echo "$ac_t""no" 1>&6
14473 done
14478 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14479 echo "configure:14480: checking for _copysignl declaration" >&5
14480 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14481 echo $ac_n "(cached) $ac_c" 1>&6
14482 else
14485 ac_ext=C
14486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14487 ac_cpp='$CXXCPP $CPPFLAGS'
14488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14490 cross_compiling=$ac_cv_prog_cxx_cross
14492 cat > conftest.$ac_ext <<EOF
14493 #line 14494 "configure"
14494 #include "confdefs.h"
14495 #include <math.h>
14496 int main() {
14497 _copysignl(0, 0);
14498 ; return 0; }
14500 if { (eval echo configure:14501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14501 rm -rf conftest*
14502 glibcpp_cv_func__copysignl_use=yes
14503 else
14504 echo "configure: failed program was:" >&5
14505 cat conftest.$ac_ext >&5
14506 rm -rf conftest*
14507 glibcpp_cv_func__copysignl_use=no
14509 rm -f conftest*
14510 ac_ext=c
14511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14512 ac_cpp='$CPP $CPPFLAGS'
14513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14515 cross_compiling=$ac_cv_prog_cc_cross
14520 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14521 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14522 for ac_func in _copysignl
14524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14525 echo "configure:14526: checking for $ac_func" >&5
14526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14527 echo $ac_n "(cached) $ac_c" 1>&6
14528 else
14529 cat > conftest.$ac_ext <<EOF
14530 #line 14531 "configure"
14531 #include "confdefs.h"
14532 /* System header to define __stub macros and hopefully few prototypes,
14533 which can conflict with char $ac_func(); below. */
14534 #include <assert.h>
14535 /* Override any gcc2 internal prototype to avoid an error. */
14536 /* We use char because int might match the return type of a gcc2
14537 builtin and then its argument prototype would still apply. */
14538 char $ac_func();
14540 int main() {
14542 /* The GNU C library defines this for functions which it implements
14543 to always fail with ENOSYS. Some functions are actually named
14544 something starting with __ and the normal name is an alias. */
14545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14546 choke me
14547 #else
14548 $ac_func();
14549 #endif
14551 ; return 0; }
14553 if { (eval echo configure:14554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14554 rm -rf conftest*
14555 eval "ac_cv_func_$ac_func=yes"
14556 else
14557 echo "configure: failed program was:" >&5
14558 cat conftest.$ac_ext >&5
14559 rm -rf conftest*
14560 eval "ac_cv_func_$ac_func=no"
14562 rm -f conftest*
14565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14566 echo "$ac_t""yes" 1>&6
14567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14568 cat >> confdefs.h <<EOF
14569 #define $ac_tr_func 1
14572 else
14573 echo "$ac_t""no" 1>&6
14575 done
14580 echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14581 echo "configure:14582: checking for _acosl declaration" >&5
14582 if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14583 echo $ac_n "(cached) $ac_c" 1>&6
14584 else
14587 ac_ext=C
14588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14589 ac_cpp='$CXXCPP $CPPFLAGS'
14590 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14591 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14592 cross_compiling=$ac_cv_prog_cxx_cross
14594 cat > conftest.$ac_ext <<EOF
14595 #line 14596 "configure"
14596 #include "confdefs.h"
14597 #include <math.h>
14598 int main() {
14599 _acosl(0);
14600 ; return 0; }
14602 if { (eval echo configure:14603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14603 rm -rf conftest*
14604 glibcpp_cv_func__acosl_use=yes
14605 else
14606 echo "configure: failed program was:" >&5
14607 cat conftest.$ac_ext >&5
14608 rm -rf conftest*
14609 glibcpp_cv_func__acosl_use=no
14611 rm -f conftest*
14612 ac_ext=c
14613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14614 ac_cpp='$CPP $CPPFLAGS'
14615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14617 cross_compiling=$ac_cv_prog_cc_cross
14622 echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14623 if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14624 for ac_func in _acosl
14626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14627 echo "configure:14628: checking for $ac_func" >&5
14628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14629 echo $ac_n "(cached) $ac_c" 1>&6
14630 else
14631 cat > conftest.$ac_ext <<EOF
14632 #line 14633 "configure"
14633 #include "confdefs.h"
14634 /* System header to define __stub macros and hopefully few prototypes,
14635 which can conflict with char $ac_func(); below. */
14636 #include <assert.h>
14637 /* Override any gcc2 internal prototype to avoid an error. */
14638 /* We use char because int might match the return type of a gcc2
14639 builtin and then its argument prototype would still apply. */
14640 char $ac_func();
14642 int main() {
14644 /* The GNU C library defines this for functions which it implements
14645 to always fail with ENOSYS. Some functions are actually named
14646 something starting with __ and the normal name is an alias. */
14647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14648 choke me
14649 #else
14650 $ac_func();
14651 #endif
14653 ; return 0; }
14655 if { (eval echo configure:14656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14656 rm -rf conftest*
14657 eval "ac_cv_func_$ac_func=yes"
14658 else
14659 echo "configure: failed program was:" >&5
14660 cat conftest.$ac_ext >&5
14661 rm -rf conftest*
14662 eval "ac_cv_func_$ac_func=no"
14664 rm -f conftest*
14667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14668 echo "$ac_t""yes" 1>&6
14669 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14670 cat >> confdefs.h <<EOF
14671 #define $ac_tr_func 1
14674 else
14675 echo "$ac_t""no" 1>&6
14677 done
14682 echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14683 echo "configure:14684: checking for _asinl declaration" >&5
14684 if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14685 echo $ac_n "(cached) $ac_c" 1>&6
14686 else
14689 ac_ext=C
14690 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14691 ac_cpp='$CXXCPP $CPPFLAGS'
14692 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14693 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14694 cross_compiling=$ac_cv_prog_cxx_cross
14696 cat > conftest.$ac_ext <<EOF
14697 #line 14698 "configure"
14698 #include "confdefs.h"
14699 #include <math.h>
14700 int main() {
14701 _asinl(0);
14702 ; return 0; }
14704 if { (eval echo configure:14705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14705 rm -rf conftest*
14706 glibcpp_cv_func__asinl_use=yes
14707 else
14708 echo "configure: failed program was:" >&5
14709 cat conftest.$ac_ext >&5
14710 rm -rf conftest*
14711 glibcpp_cv_func__asinl_use=no
14713 rm -f conftest*
14714 ac_ext=c
14715 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14716 ac_cpp='$CPP $CPPFLAGS'
14717 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14718 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14719 cross_compiling=$ac_cv_prog_cc_cross
14724 echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14725 if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14726 for ac_func in _asinl
14728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14729 echo "configure:14730: checking for $ac_func" >&5
14730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14731 echo $ac_n "(cached) $ac_c" 1>&6
14732 else
14733 cat > conftest.$ac_ext <<EOF
14734 #line 14735 "configure"
14735 #include "confdefs.h"
14736 /* System header to define __stub macros and hopefully few prototypes,
14737 which can conflict with char $ac_func(); below. */
14738 #include <assert.h>
14739 /* Override any gcc2 internal prototype to avoid an error. */
14740 /* We use char because int might match the return type of a gcc2
14741 builtin and then its argument prototype would still apply. */
14742 char $ac_func();
14744 int main() {
14746 /* The GNU C library defines this for functions which it implements
14747 to always fail with ENOSYS. Some functions are actually named
14748 something starting with __ and the normal name is an alias. */
14749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14750 choke me
14751 #else
14752 $ac_func();
14753 #endif
14755 ; return 0; }
14757 if { (eval echo configure:14758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14758 rm -rf conftest*
14759 eval "ac_cv_func_$ac_func=yes"
14760 else
14761 echo "configure: failed program was:" >&5
14762 cat conftest.$ac_ext >&5
14763 rm -rf conftest*
14764 eval "ac_cv_func_$ac_func=no"
14766 rm -f conftest*
14769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14770 echo "$ac_t""yes" 1>&6
14771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14772 cat >> confdefs.h <<EOF
14773 #define $ac_tr_func 1
14776 else
14777 echo "$ac_t""no" 1>&6
14779 done
14784 echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
14785 echo "configure:14786: checking for _atanl declaration" >&5
14786 if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
14787 echo $ac_n "(cached) $ac_c" 1>&6
14788 else
14791 ac_ext=C
14792 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14793 ac_cpp='$CXXCPP $CPPFLAGS'
14794 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14795 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14796 cross_compiling=$ac_cv_prog_cxx_cross
14798 cat > conftest.$ac_ext <<EOF
14799 #line 14800 "configure"
14800 #include "confdefs.h"
14801 #include <math.h>
14802 int main() {
14803 _atanl(0);
14804 ; return 0; }
14806 if { (eval echo configure:14807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14807 rm -rf conftest*
14808 glibcpp_cv_func__atanl_use=yes
14809 else
14810 echo "configure: failed program was:" >&5
14811 cat conftest.$ac_ext >&5
14812 rm -rf conftest*
14813 glibcpp_cv_func__atanl_use=no
14815 rm -f conftest*
14816 ac_ext=c
14817 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14818 ac_cpp='$CPP $CPPFLAGS'
14819 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14820 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14821 cross_compiling=$ac_cv_prog_cc_cross
14826 echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
14827 if test x$glibcpp_cv_func__atanl_use = x"yes"; then
14828 for ac_func in _atanl
14830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14831 echo "configure:14832: checking for $ac_func" >&5
14832 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14833 echo $ac_n "(cached) $ac_c" 1>&6
14834 else
14835 cat > conftest.$ac_ext <<EOF
14836 #line 14837 "configure"
14837 #include "confdefs.h"
14838 /* System header to define __stub macros and hopefully few prototypes,
14839 which can conflict with char $ac_func(); below. */
14840 #include <assert.h>
14841 /* Override any gcc2 internal prototype to avoid an error. */
14842 /* We use char because int might match the return type of a gcc2
14843 builtin and then its argument prototype would still apply. */
14844 char $ac_func();
14846 int main() {
14848 /* The GNU C library defines this for functions which it implements
14849 to always fail with ENOSYS. Some functions are actually named
14850 something starting with __ and the normal name is an alias. */
14851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14852 choke me
14853 #else
14854 $ac_func();
14855 #endif
14857 ; return 0; }
14859 if { (eval echo configure:14860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14860 rm -rf conftest*
14861 eval "ac_cv_func_$ac_func=yes"
14862 else
14863 echo "configure: failed program was:" >&5
14864 cat conftest.$ac_ext >&5
14865 rm -rf conftest*
14866 eval "ac_cv_func_$ac_func=no"
14868 rm -f conftest*
14871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14872 echo "$ac_t""yes" 1>&6
14873 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14874 cat >> confdefs.h <<EOF
14875 #define $ac_tr_func 1
14878 else
14879 echo "$ac_t""no" 1>&6
14881 done
14886 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14887 echo "configure:14888: checking for _atan2l declaration" >&5
14888 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14889 echo $ac_n "(cached) $ac_c" 1>&6
14890 else
14893 ac_ext=C
14894 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14895 ac_cpp='$CXXCPP $CPPFLAGS'
14896 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14897 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14898 cross_compiling=$ac_cv_prog_cxx_cross
14900 cat > conftest.$ac_ext <<EOF
14901 #line 14902 "configure"
14902 #include "confdefs.h"
14903 #include <math.h>
14904 int main() {
14905 _atan2l(0, 0);
14906 ; return 0; }
14908 if { (eval echo configure:14909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14909 rm -rf conftest*
14910 glibcpp_cv_func__atan2l_use=yes
14911 else
14912 echo "configure: failed program was:" >&5
14913 cat conftest.$ac_ext >&5
14914 rm -rf conftest*
14915 glibcpp_cv_func__atan2l_use=no
14917 rm -f conftest*
14918 ac_ext=c
14919 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14920 ac_cpp='$CPP $CPPFLAGS'
14921 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14922 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14923 cross_compiling=$ac_cv_prog_cc_cross
14928 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14929 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14930 for ac_func in _atan2l
14932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14933 echo "configure:14934: checking for $ac_func" >&5
14934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14935 echo $ac_n "(cached) $ac_c" 1>&6
14936 else
14937 cat > conftest.$ac_ext <<EOF
14938 #line 14939 "configure"
14939 #include "confdefs.h"
14940 /* System header to define __stub macros and hopefully few prototypes,
14941 which can conflict with char $ac_func(); below. */
14942 #include <assert.h>
14943 /* Override any gcc2 internal prototype to avoid an error. */
14944 /* We use char because int might match the return type of a gcc2
14945 builtin and then its argument prototype would still apply. */
14946 char $ac_func();
14948 int main() {
14950 /* The GNU C library defines this for functions which it implements
14951 to always fail with ENOSYS. Some functions are actually named
14952 something starting with __ and the normal name is an alias. */
14953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14954 choke me
14955 #else
14956 $ac_func();
14957 #endif
14959 ; return 0; }
14961 if { (eval echo configure:14962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14962 rm -rf conftest*
14963 eval "ac_cv_func_$ac_func=yes"
14964 else
14965 echo "configure: failed program was:" >&5
14966 cat conftest.$ac_ext >&5
14967 rm -rf conftest*
14968 eval "ac_cv_func_$ac_func=no"
14970 rm -f conftest*
14973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14974 echo "$ac_t""yes" 1>&6
14975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14976 cat >> confdefs.h <<EOF
14977 #define $ac_tr_func 1
14980 else
14981 echo "$ac_t""no" 1>&6
14983 done
14988 echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
14989 echo "configure:14990: checking for _ceill declaration" >&5
14990 if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
14991 echo $ac_n "(cached) $ac_c" 1>&6
14992 else
14995 ac_ext=C
14996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14997 ac_cpp='$CXXCPP $CPPFLAGS'
14998 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14999 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15000 cross_compiling=$ac_cv_prog_cxx_cross
15002 cat > conftest.$ac_ext <<EOF
15003 #line 15004 "configure"
15004 #include "confdefs.h"
15005 #include <math.h>
15006 int main() {
15007 _ceill(0);
15008 ; return 0; }
15010 if { (eval echo configure:15011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15011 rm -rf conftest*
15012 glibcpp_cv_func__ceill_use=yes
15013 else
15014 echo "configure: failed program was:" >&5
15015 cat conftest.$ac_ext >&5
15016 rm -rf conftest*
15017 glibcpp_cv_func__ceill_use=no
15019 rm -f conftest*
15020 ac_ext=c
15021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15022 ac_cpp='$CPP $CPPFLAGS'
15023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15025 cross_compiling=$ac_cv_prog_cc_cross
15030 echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
15031 if test x$glibcpp_cv_func__ceill_use = x"yes"; then
15032 for ac_func in _ceill
15034 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15035 echo "configure:15036: checking for $ac_func" >&5
15036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15037 echo $ac_n "(cached) $ac_c" 1>&6
15038 else
15039 cat > conftest.$ac_ext <<EOF
15040 #line 15041 "configure"
15041 #include "confdefs.h"
15042 /* System header to define __stub macros and hopefully few prototypes,
15043 which can conflict with char $ac_func(); below. */
15044 #include <assert.h>
15045 /* Override any gcc2 internal prototype to avoid an error. */
15046 /* We use char because int might match the return type of a gcc2
15047 builtin and then its argument prototype would still apply. */
15048 char $ac_func();
15050 int main() {
15052 /* The GNU C library defines this for functions which it implements
15053 to always fail with ENOSYS. Some functions are actually named
15054 something starting with __ and the normal name is an alias. */
15055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15056 choke me
15057 #else
15058 $ac_func();
15059 #endif
15061 ; return 0; }
15063 if { (eval echo configure:15064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15064 rm -rf conftest*
15065 eval "ac_cv_func_$ac_func=yes"
15066 else
15067 echo "configure: failed program was:" >&5
15068 cat conftest.$ac_ext >&5
15069 rm -rf conftest*
15070 eval "ac_cv_func_$ac_func=no"
15072 rm -f conftest*
15075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15076 echo "$ac_t""yes" 1>&6
15077 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15078 cat >> confdefs.h <<EOF
15079 #define $ac_tr_func 1
15082 else
15083 echo "$ac_t""no" 1>&6
15085 done
15090 echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15091 echo "configure:15092: checking for _cosl declaration" >&5
15092 if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15093 echo $ac_n "(cached) $ac_c" 1>&6
15094 else
15097 ac_ext=C
15098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15099 ac_cpp='$CXXCPP $CPPFLAGS'
15100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15102 cross_compiling=$ac_cv_prog_cxx_cross
15104 cat > conftest.$ac_ext <<EOF
15105 #line 15106 "configure"
15106 #include "confdefs.h"
15107 #include <math.h>
15108 int main() {
15109 _cosl(0);
15110 ; return 0; }
15112 if { (eval echo configure:15113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15113 rm -rf conftest*
15114 glibcpp_cv_func__cosl_use=yes
15115 else
15116 echo "configure: failed program was:" >&5
15117 cat conftest.$ac_ext >&5
15118 rm -rf conftest*
15119 glibcpp_cv_func__cosl_use=no
15121 rm -f conftest*
15122 ac_ext=c
15123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15124 ac_cpp='$CPP $CPPFLAGS'
15125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15127 cross_compiling=$ac_cv_prog_cc_cross
15132 echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15133 if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15134 for ac_func in _cosl
15136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15137 echo "configure:15138: checking for $ac_func" >&5
15138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15139 echo $ac_n "(cached) $ac_c" 1>&6
15140 else
15141 cat > conftest.$ac_ext <<EOF
15142 #line 15143 "configure"
15143 #include "confdefs.h"
15144 /* System header to define __stub macros and hopefully few prototypes,
15145 which can conflict with char $ac_func(); below. */
15146 #include <assert.h>
15147 /* Override any gcc2 internal prototype to avoid an error. */
15148 /* We use char because int might match the return type of a gcc2
15149 builtin and then its argument prototype would still apply. */
15150 char $ac_func();
15152 int main() {
15154 /* The GNU C library defines this for functions which it implements
15155 to always fail with ENOSYS. Some functions are actually named
15156 something starting with __ and the normal name is an alias. */
15157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15158 choke me
15159 #else
15160 $ac_func();
15161 #endif
15163 ; return 0; }
15165 if { (eval echo configure:15166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15166 rm -rf conftest*
15167 eval "ac_cv_func_$ac_func=yes"
15168 else
15169 echo "configure: failed program was:" >&5
15170 cat conftest.$ac_ext >&5
15171 rm -rf conftest*
15172 eval "ac_cv_func_$ac_func=no"
15174 rm -f conftest*
15177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15178 echo "$ac_t""yes" 1>&6
15179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15180 cat >> confdefs.h <<EOF
15181 #define $ac_tr_func 1
15184 else
15185 echo "$ac_t""no" 1>&6
15187 done
15192 echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15193 echo "configure:15194: checking for _coshl declaration" >&5
15194 if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15195 echo $ac_n "(cached) $ac_c" 1>&6
15196 else
15199 ac_ext=C
15200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15201 ac_cpp='$CXXCPP $CPPFLAGS'
15202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15204 cross_compiling=$ac_cv_prog_cxx_cross
15206 cat > conftest.$ac_ext <<EOF
15207 #line 15208 "configure"
15208 #include "confdefs.h"
15209 #include <math.h>
15210 int main() {
15211 _coshl(0);
15212 ; return 0; }
15214 if { (eval echo configure:15215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15215 rm -rf conftest*
15216 glibcpp_cv_func__coshl_use=yes
15217 else
15218 echo "configure: failed program was:" >&5
15219 cat conftest.$ac_ext >&5
15220 rm -rf conftest*
15221 glibcpp_cv_func__coshl_use=no
15223 rm -f conftest*
15224 ac_ext=c
15225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15226 ac_cpp='$CPP $CPPFLAGS'
15227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15229 cross_compiling=$ac_cv_prog_cc_cross
15234 echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15235 if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15236 for ac_func in _coshl
15238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15239 echo "configure:15240: checking for $ac_func" >&5
15240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15241 echo $ac_n "(cached) $ac_c" 1>&6
15242 else
15243 cat > conftest.$ac_ext <<EOF
15244 #line 15245 "configure"
15245 #include "confdefs.h"
15246 /* System header to define __stub macros and hopefully few prototypes,
15247 which can conflict with char $ac_func(); below. */
15248 #include <assert.h>
15249 /* Override any gcc2 internal prototype to avoid an error. */
15250 /* We use char because int might match the return type of a gcc2
15251 builtin and then its argument prototype would still apply. */
15252 char $ac_func();
15254 int main() {
15256 /* The GNU C library defines this for functions which it implements
15257 to always fail with ENOSYS. Some functions are actually named
15258 something starting with __ and the normal name is an alias. */
15259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15260 choke me
15261 #else
15262 $ac_func();
15263 #endif
15265 ; return 0; }
15267 if { (eval echo configure:15268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15268 rm -rf conftest*
15269 eval "ac_cv_func_$ac_func=yes"
15270 else
15271 echo "configure: failed program was:" >&5
15272 cat conftest.$ac_ext >&5
15273 rm -rf conftest*
15274 eval "ac_cv_func_$ac_func=no"
15276 rm -f conftest*
15279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15280 echo "$ac_t""yes" 1>&6
15281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15282 cat >> confdefs.h <<EOF
15283 #define $ac_tr_func 1
15286 else
15287 echo "$ac_t""no" 1>&6
15289 done
15294 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15295 echo "configure:15296: checking for _expl declaration" >&5
15296 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15297 echo $ac_n "(cached) $ac_c" 1>&6
15298 else
15301 ac_ext=C
15302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15303 ac_cpp='$CXXCPP $CPPFLAGS'
15304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15306 cross_compiling=$ac_cv_prog_cxx_cross
15308 cat > conftest.$ac_ext <<EOF
15309 #line 15310 "configure"
15310 #include "confdefs.h"
15311 #include <math.h>
15312 int main() {
15313 _expl(0);
15314 ; return 0; }
15316 if { (eval echo configure:15317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15317 rm -rf conftest*
15318 glibcpp_cv_func__expl_use=yes
15319 else
15320 echo "configure: failed program was:" >&5
15321 cat conftest.$ac_ext >&5
15322 rm -rf conftest*
15323 glibcpp_cv_func__expl_use=no
15325 rm -f conftest*
15326 ac_ext=c
15327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15328 ac_cpp='$CPP $CPPFLAGS'
15329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15331 cross_compiling=$ac_cv_prog_cc_cross
15336 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15337 if test x$glibcpp_cv_func__expl_use = x"yes"; then
15338 for ac_func in _expl
15340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15341 echo "configure:15342: checking for $ac_func" >&5
15342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15343 echo $ac_n "(cached) $ac_c" 1>&6
15344 else
15345 cat > conftest.$ac_ext <<EOF
15346 #line 15347 "configure"
15347 #include "confdefs.h"
15348 /* System header to define __stub macros and hopefully few prototypes,
15349 which can conflict with char $ac_func(); below. */
15350 #include <assert.h>
15351 /* Override any gcc2 internal prototype to avoid an error. */
15352 /* We use char because int might match the return type of a gcc2
15353 builtin and then its argument prototype would still apply. */
15354 char $ac_func();
15356 int main() {
15358 /* The GNU C library defines this for functions which it implements
15359 to always fail with ENOSYS. Some functions are actually named
15360 something starting with __ and the normal name is an alias. */
15361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15362 choke me
15363 #else
15364 $ac_func();
15365 #endif
15367 ; return 0; }
15369 if { (eval echo configure:15370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15370 rm -rf conftest*
15371 eval "ac_cv_func_$ac_func=yes"
15372 else
15373 echo "configure: failed program was:" >&5
15374 cat conftest.$ac_ext >&5
15375 rm -rf conftest*
15376 eval "ac_cv_func_$ac_func=no"
15378 rm -f conftest*
15381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15382 echo "$ac_t""yes" 1>&6
15383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15384 cat >> confdefs.h <<EOF
15385 #define $ac_tr_func 1
15388 else
15389 echo "$ac_t""no" 1>&6
15391 done
15396 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15397 echo "configure:15398: checking for _fabsl declaration" >&5
15398 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15399 echo $ac_n "(cached) $ac_c" 1>&6
15400 else
15403 ac_ext=C
15404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15405 ac_cpp='$CXXCPP $CPPFLAGS'
15406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15408 cross_compiling=$ac_cv_prog_cxx_cross
15410 cat > conftest.$ac_ext <<EOF
15411 #line 15412 "configure"
15412 #include "confdefs.h"
15413 #include <math.h>
15414 int main() {
15415 _fabsl(0);
15416 ; return 0; }
15418 if { (eval echo configure:15419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15419 rm -rf conftest*
15420 glibcpp_cv_func__fabsl_use=yes
15421 else
15422 echo "configure: failed program was:" >&5
15423 cat conftest.$ac_ext >&5
15424 rm -rf conftest*
15425 glibcpp_cv_func__fabsl_use=no
15427 rm -f conftest*
15428 ac_ext=c
15429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15430 ac_cpp='$CPP $CPPFLAGS'
15431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15433 cross_compiling=$ac_cv_prog_cc_cross
15438 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15439 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15440 for ac_func in _fabsl
15442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15443 echo "configure:15444: checking for $ac_func" >&5
15444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15445 echo $ac_n "(cached) $ac_c" 1>&6
15446 else
15447 cat > conftest.$ac_ext <<EOF
15448 #line 15449 "configure"
15449 #include "confdefs.h"
15450 /* System header to define __stub macros and hopefully few prototypes,
15451 which can conflict with char $ac_func(); below. */
15452 #include <assert.h>
15453 /* Override any gcc2 internal prototype to avoid an error. */
15454 /* We use char because int might match the return type of a gcc2
15455 builtin and then its argument prototype would still apply. */
15456 char $ac_func();
15458 int main() {
15460 /* The GNU C library defines this for functions which it implements
15461 to always fail with ENOSYS. Some functions are actually named
15462 something starting with __ and the normal name is an alias. */
15463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15464 choke me
15465 #else
15466 $ac_func();
15467 #endif
15469 ; return 0; }
15471 if { (eval echo configure:15472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15472 rm -rf conftest*
15473 eval "ac_cv_func_$ac_func=yes"
15474 else
15475 echo "configure: failed program was:" >&5
15476 cat conftest.$ac_ext >&5
15477 rm -rf conftest*
15478 eval "ac_cv_func_$ac_func=no"
15480 rm -f conftest*
15483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15484 echo "$ac_t""yes" 1>&6
15485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15486 cat >> confdefs.h <<EOF
15487 #define $ac_tr_func 1
15490 else
15491 echo "$ac_t""no" 1>&6
15493 done
15498 echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15499 echo "configure:15500: checking for _floorl declaration" >&5
15500 if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15501 echo $ac_n "(cached) $ac_c" 1>&6
15502 else
15505 ac_ext=C
15506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15507 ac_cpp='$CXXCPP $CPPFLAGS'
15508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15510 cross_compiling=$ac_cv_prog_cxx_cross
15512 cat > conftest.$ac_ext <<EOF
15513 #line 15514 "configure"
15514 #include "confdefs.h"
15515 #include <math.h>
15516 int main() {
15517 _floorl(0);
15518 ; return 0; }
15520 if { (eval echo configure:15521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15521 rm -rf conftest*
15522 glibcpp_cv_func__floorl_use=yes
15523 else
15524 echo "configure: failed program was:" >&5
15525 cat conftest.$ac_ext >&5
15526 rm -rf conftest*
15527 glibcpp_cv_func__floorl_use=no
15529 rm -f conftest*
15530 ac_ext=c
15531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15535 cross_compiling=$ac_cv_prog_cc_cross
15540 echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15541 if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15542 for ac_func in _floorl
15544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15545 echo "configure:15546: checking for $ac_func" >&5
15546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15547 echo $ac_n "(cached) $ac_c" 1>&6
15548 else
15549 cat > conftest.$ac_ext <<EOF
15550 #line 15551 "configure"
15551 #include "confdefs.h"
15552 /* System header to define __stub macros and hopefully few prototypes,
15553 which can conflict with char $ac_func(); below. */
15554 #include <assert.h>
15555 /* Override any gcc2 internal prototype to avoid an error. */
15556 /* We use char because int might match the return type of a gcc2
15557 builtin and then its argument prototype would still apply. */
15558 char $ac_func();
15560 int main() {
15562 /* The GNU C library defines this for functions which it implements
15563 to always fail with ENOSYS. Some functions are actually named
15564 something starting with __ and the normal name is an alias. */
15565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15566 choke me
15567 #else
15568 $ac_func();
15569 #endif
15571 ; return 0; }
15573 if { (eval echo configure:15574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15574 rm -rf conftest*
15575 eval "ac_cv_func_$ac_func=yes"
15576 else
15577 echo "configure: failed program was:" >&5
15578 cat conftest.$ac_ext >&5
15579 rm -rf conftest*
15580 eval "ac_cv_func_$ac_func=no"
15582 rm -f conftest*
15585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15586 echo "$ac_t""yes" 1>&6
15587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15588 cat >> confdefs.h <<EOF
15589 #define $ac_tr_func 1
15592 else
15593 echo "$ac_t""no" 1>&6
15595 done
15600 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15601 echo "configure:15602: checking for _fmodl declaration" >&5
15602 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15603 echo $ac_n "(cached) $ac_c" 1>&6
15604 else
15607 ac_ext=C
15608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15609 ac_cpp='$CXXCPP $CPPFLAGS'
15610 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15611 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15612 cross_compiling=$ac_cv_prog_cxx_cross
15614 cat > conftest.$ac_ext <<EOF
15615 #line 15616 "configure"
15616 #include "confdefs.h"
15617 #include <math.h>
15618 int main() {
15619 _fmodl(0, 0);
15620 ; return 0; }
15622 if { (eval echo configure:15623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15623 rm -rf conftest*
15624 glibcpp_cv_func__fmodl_use=yes
15625 else
15626 echo "configure: failed program was:" >&5
15627 cat conftest.$ac_ext >&5
15628 rm -rf conftest*
15629 glibcpp_cv_func__fmodl_use=no
15631 rm -f conftest*
15632 ac_ext=c
15633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15634 ac_cpp='$CPP $CPPFLAGS'
15635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15637 cross_compiling=$ac_cv_prog_cc_cross
15642 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15643 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15644 for ac_func in _fmodl
15646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15647 echo "configure:15648: checking for $ac_func" >&5
15648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15649 echo $ac_n "(cached) $ac_c" 1>&6
15650 else
15651 cat > conftest.$ac_ext <<EOF
15652 #line 15653 "configure"
15653 #include "confdefs.h"
15654 /* System header to define __stub macros and hopefully few prototypes,
15655 which can conflict with char $ac_func(); below. */
15656 #include <assert.h>
15657 /* Override any gcc2 internal prototype to avoid an error. */
15658 /* We use char because int might match the return type of a gcc2
15659 builtin and then its argument prototype would still apply. */
15660 char $ac_func();
15662 int main() {
15664 /* The GNU C library defines this for functions which it implements
15665 to always fail with ENOSYS. Some functions are actually named
15666 something starting with __ and the normal name is an alias. */
15667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15668 choke me
15669 #else
15670 $ac_func();
15671 #endif
15673 ; return 0; }
15675 if { (eval echo configure:15676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15676 rm -rf conftest*
15677 eval "ac_cv_func_$ac_func=yes"
15678 else
15679 echo "configure: failed program was:" >&5
15680 cat conftest.$ac_ext >&5
15681 rm -rf conftest*
15682 eval "ac_cv_func_$ac_func=no"
15684 rm -f conftest*
15687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15688 echo "$ac_t""yes" 1>&6
15689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15690 cat >> confdefs.h <<EOF
15691 #define $ac_tr_func 1
15694 else
15695 echo "$ac_t""no" 1>&6
15697 done
15702 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15703 echo "configure:15704: checking for _frexpl declaration" >&5
15704 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15705 echo $ac_n "(cached) $ac_c" 1>&6
15706 else
15709 ac_ext=C
15710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15711 ac_cpp='$CXXCPP $CPPFLAGS'
15712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15714 cross_compiling=$ac_cv_prog_cxx_cross
15716 cat > conftest.$ac_ext <<EOF
15717 #line 15718 "configure"
15718 #include "confdefs.h"
15719 #include <math.h>
15720 int main() {
15721 _frexpl(0, 0);
15722 ; return 0; }
15724 if { (eval echo configure:15725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15725 rm -rf conftest*
15726 glibcpp_cv_func__frexpl_use=yes
15727 else
15728 echo "configure: failed program was:" >&5
15729 cat conftest.$ac_ext >&5
15730 rm -rf conftest*
15731 glibcpp_cv_func__frexpl_use=no
15733 rm -f conftest*
15734 ac_ext=c
15735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15736 ac_cpp='$CPP $CPPFLAGS'
15737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15739 cross_compiling=$ac_cv_prog_cc_cross
15744 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15745 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15746 for ac_func in _frexpl
15748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15749 echo "configure:15750: checking for $ac_func" >&5
15750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15751 echo $ac_n "(cached) $ac_c" 1>&6
15752 else
15753 cat > conftest.$ac_ext <<EOF
15754 #line 15755 "configure"
15755 #include "confdefs.h"
15756 /* System header to define __stub macros and hopefully few prototypes,
15757 which can conflict with char $ac_func(); below. */
15758 #include <assert.h>
15759 /* Override any gcc2 internal prototype to avoid an error. */
15760 /* We use char because int might match the return type of a gcc2
15761 builtin and then its argument prototype would still apply. */
15762 char $ac_func();
15764 int main() {
15766 /* The GNU C library defines this for functions which it implements
15767 to always fail with ENOSYS. Some functions are actually named
15768 something starting with __ and the normal name is an alias. */
15769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15770 choke me
15771 #else
15772 $ac_func();
15773 #endif
15775 ; return 0; }
15777 if { (eval echo configure:15778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15778 rm -rf conftest*
15779 eval "ac_cv_func_$ac_func=yes"
15780 else
15781 echo "configure: failed program was:" >&5
15782 cat conftest.$ac_ext >&5
15783 rm -rf conftest*
15784 eval "ac_cv_func_$ac_func=no"
15786 rm -f conftest*
15789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15790 echo "$ac_t""yes" 1>&6
15791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15792 cat >> confdefs.h <<EOF
15793 #define $ac_tr_func 1
15796 else
15797 echo "$ac_t""no" 1>&6
15799 done
15804 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15805 echo "configure:15806: checking for _ldexpl declaration" >&5
15806 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15807 echo $ac_n "(cached) $ac_c" 1>&6
15808 else
15811 ac_ext=C
15812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15813 ac_cpp='$CXXCPP $CPPFLAGS'
15814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15816 cross_compiling=$ac_cv_prog_cxx_cross
15818 cat > conftest.$ac_ext <<EOF
15819 #line 15820 "configure"
15820 #include "confdefs.h"
15821 #include <math.h>
15822 int main() {
15823 _ldexpl(0, 0);
15824 ; return 0; }
15826 if { (eval echo configure:15827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15827 rm -rf conftest*
15828 glibcpp_cv_func__ldexpl_use=yes
15829 else
15830 echo "configure: failed program was:" >&5
15831 cat conftest.$ac_ext >&5
15832 rm -rf conftest*
15833 glibcpp_cv_func__ldexpl_use=no
15835 rm -f conftest*
15836 ac_ext=c
15837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15838 ac_cpp='$CPP $CPPFLAGS'
15839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15841 cross_compiling=$ac_cv_prog_cc_cross
15846 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15847 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15848 for ac_func in _ldexpl
15850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15851 echo "configure:15852: checking for $ac_func" >&5
15852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15853 echo $ac_n "(cached) $ac_c" 1>&6
15854 else
15855 cat > conftest.$ac_ext <<EOF
15856 #line 15857 "configure"
15857 #include "confdefs.h"
15858 /* System header to define __stub macros and hopefully few prototypes,
15859 which can conflict with char $ac_func(); below. */
15860 #include <assert.h>
15861 /* Override any gcc2 internal prototype to avoid an error. */
15862 /* We use char because int might match the return type of a gcc2
15863 builtin and then its argument prototype would still apply. */
15864 char $ac_func();
15866 int main() {
15868 /* The GNU C library defines this for functions which it implements
15869 to always fail with ENOSYS. Some functions are actually named
15870 something starting with __ and the normal name is an alias. */
15871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15872 choke me
15873 #else
15874 $ac_func();
15875 #endif
15877 ; return 0; }
15879 if { (eval echo configure:15880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15880 rm -rf conftest*
15881 eval "ac_cv_func_$ac_func=yes"
15882 else
15883 echo "configure: failed program was:" >&5
15884 cat conftest.$ac_ext >&5
15885 rm -rf conftest*
15886 eval "ac_cv_func_$ac_func=no"
15888 rm -f conftest*
15891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15892 echo "$ac_t""yes" 1>&6
15893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15894 cat >> confdefs.h <<EOF
15895 #define $ac_tr_func 1
15898 else
15899 echo "$ac_t""no" 1>&6
15901 done
15906 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15907 echo "configure:15908: checking for _logl declaration" >&5
15908 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15909 echo $ac_n "(cached) $ac_c" 1>&6
15910 else
15913 ac_ext=C
15914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15915 ac_cpp='$CXXCPP $CPPFLAGS'
15916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15918 cross_compiling=$ac_cv_prog_cxx_cross
15920 cat > conftest.$ac_ext <<EOF
15921 #line 15922 "configure"
15922 #include "confdefs.h"
15923 #include <math.h>
15924 int main() {
15925 _logl(0);
15926 ; return 0; }
15928 if { (eval echo configure:15929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15929 rm -rf conftest*
15930 glibcpp_cv_func__logl_use=yes
15931 else
15932 echo "configure: failed program was:" >&5
15933 cat conftest.$ac_ext >&5
15934 rm -rf conftest*
15935 glibcpp_cv_func__logl_use=no
15937 rm -f conftest*
15938 ac_ext=c
15939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15940 ac_cpp='$CPP $CPPFLAGS'
15941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15943 cross_compiling=$ac_cv_prog_cc_cross
15948 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15949 if test x$glibcpp_cv_func__logl_use = x"yes"; then
15950 for ac_func in _logl
15952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15953 echo "configure:15954: checking for $ac_func" >&5
15954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15955 echo $ac_n "(cached) $ac_c" 1>&6
15956 else
15957 cat > conftest.$ac_ext <<EOF
15958 #line 15959 "configure"
15959 #include "confdefs.h"
15960 /* System header to define __stub macros and hopefully few prototypes,
15961 which can conflict with char $ac_func(); below. */
15962 #include <assert.h>
15963 /* Override any gcc2 internal prototype to avoid an error. */
15964 /* We use char because int might match the return type of a gcc2
15965 builtin and then its argument prototype would still apply. */
15966 char $ac_func();
15968 int main() {
15970 /* The GNU C library defines this for functions which it implements
15971 to always fail with ENOSYS. Some functions are actually named
15972 something starting with __ and the normal name is an alias. */
15973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15974 choke me
15975 #else
15976 $ac_func();
15977 #endif
15979 ; return 0; }
15981 if { (eval echo configure:15982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15982 rm -rf conftest*
15983 eval "ac_cv_func_$ac_func=yes"
15984 else
15985 echo "configure: failed program was:" >&5
15986 cat conftest.$ac_ext >&5
15987 rm -rf conftest*
15988 eval "ac_cv_func_$ac_func=no"
15990 rm -f conftest*
15993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15994 echo "$ac_t""yes" 1>&6
15995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15996 cat >> confdefs.h <<EOF
15997 #define $ac_tr_func 1
16000 else
16001 echo "$ac_t""no" 1>&6
16003 done
16008 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16009 echo "configure:16010: checking for _log10l declaration" >&5
16010 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16011 echo $ac_n "(cached) $ac_c" 1>&6
16012 else
16015 ac_ext=C
16016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16017 ac_cpp='$CXXCPP $CPPFLAGS'
16018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16020 cross_compiling=$ac_cv_prog_cxx_cross
16022 cat > conftest.$ac_ext <<EOF
16023 #line 16024 "configure"
16024 #include "confdefs.h"
16025 #include <math.h>
16026 int main() {
16027 _log10l(0);
16028 ; return 0; }
16030 if { (eval echo configure:16031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16031 rm -rf conftest*
16032 glibcpp_cv_func__log10l_use=yes
16033 else
16034 echo "configure: failed program was:" >&5
16035 cat conftest.$ac_ext >&5
16036 rm -rf conftest*
16037 glibcpp_cv_func__log10l_use=no
16039 rm -f conftest*
16040 ac_ext=c
16041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16042 ac_cpp='$CPP $CPPFLAGS'
16043 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16044 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16045 cross_compiling=$ac_cv_prog_cc_cross
16050 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16051 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16052 for ac_func in _log10l
16054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16055 echo "configure:16056: checking for $ac_func" >&5
16056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16057 echo $ac_n "(cached) $ac_c" 1>&6
16058 else
16059 cat > conftest.$ac_ext <<EOF
16060 #line 16061 "configure"
16061 #include "confdefs.h"
16062 /* System header to define __stub macros and hopefully few prototypes,
16063 which can conflict with char $ac_func(); below. */
16064 #include <assert.h>
16065 /* Override any gcc2 internal prototype to avoid an error. */
16066 /* We use char because int might match the return type of a gcc2
16067 builtin and then its argument prototype would still apply. */
16068 char $ac_func();
16070 int main() {
16072 /* The GNU C library defines this for functions which it implements
16073 to always fail with ENOSYS. Some functions are actually named
16074 something starting with __ and the normal name is an alias. */
16075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16076 choke me
16077 #else
16078 $ac_func();
16079 #endif
16081 ; return 0; }
16083 if { (eval echo configure:16084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16084 rm -rf conftest*
16085 eval "ac_cv_func_$ac_func=yes"
16086 else
16087 echo "configure: failed program was:" >&5
16088 cat conftest.$ac_ext >&5
16089 rm -rf conftest*
16090 eval "ac_cv_func_$ac_func=no"
16092 rm -f conftest*
16095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16096 echo "$ac_t""yes" 1>&6
16097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16098 cat >> confdefs.h <<EOF
16099 #define $ac_tr_func 1
16102 else
16103 echo "$ac_t""no" 1>&6
16105 done
16110 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16111 echo "configure:16112: checking for _modfl declaration" >&5
16112 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16113 echo $ac_n "(cached) $ac_c" 1>&6
16114 else
16117 ac_ext=C
16118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16119 ac_cpp='$CXXCPP $CPPFLAGS'
16120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16122 cross_compiling=$ac_cv_prog_cxx_cross
16124 cat > conftest.$ac_ext <<EOF
16125 #line 16126 "configure"
16126 #include "confdefs.h"
16127 #include <math.h>
16128 int main() {
16129 _modfl(0, 0);
16130 ; return 0; }
16132 if { (eval echo configure:16133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16133 rm -rf conftest*
16134 glibcpp_cv_func__modfl_use=yes
16135 else
16136 echo "configure: failed program was:" >&5
16137 cat conftest.$ac_ext >&5
16138 rm -rf conftest*
16139 glibcpp_cv_func__modfl_use=no
16141 rm -f conftest*
16142 ac_ext=c
16143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16144 ac_cpp='$CPP $CPPFLAGS'
16145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16147 cross_compiling=$ac_cv_prog_cc_cross
16152 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16153 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16154 for ac_func in _modfl
16156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16157 echo "configure:16158: checking for $ac_func" >&5
16158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16159 echo $ac_n "(cached) $ac_c" 1>&6
16160 else
16161 cat > conftest.$ac_ext <<EOF
16162 #line 16163 "configure"
16163 #include "confdefs.h"
16164 /* System header to define __stub macros and hopefully few prototypes,
16165 which can conflict with char $ac_func(); below. */
16166 #include <assert.h>
16167 /* Override any gcc2 internal prototype to avoid an error. */
16168 /* We use char because int might match the return type of a gcc2
16169 builtin and then its argument prototype would still apply. */
16170 char $ac_func();
16172 int main() {
16174 /* The GNU C library defines this for functions which it implements
16175 to always fail with ENOSYS. Some functions are actually named
16176 something starting with __ and the normal name is an alias. */
16177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16178 choke me
16179 #else
16180 $ac_func();
16181 #endif
16183 ; return 0; }
16185 if { (eval echo configure:16186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16186 rm -rf conftest*
16187 eval "ac_cv_func_$ac_func=yes"
16188 else
16189 echo "configure: failed program was:" >&5
16190 cat conftest.$ac_ext >&5
16191 rm -rf conftest*
16192 eval "ac_cv_func_$ac_func=no"
16194 rm -f conftest*
16197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16198 echo "$ac_t""yes" 1>&6
16199 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16200 cat >> confdefs.h <<EOF
16201 #define $ac_tr_func 1
16204 else
16205 echo "$ac_t""no" 1>&6
16207 done
16212 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16213 echo "configure:16214: checking for _powl declaration" >&5
16214 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16215 echo $ac_n "(cached) $ac_c" 1>&6
16216 else
16219 ac_ext=C
16220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16221 ac_cpp='$CXXCPP $CPPFLAGS'
16222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16224 cross_compiling=$ac_cv_prog_cxx_cross
16226 cat > conftest.$ac_ext <<EOF
16227 #line 16228 "configure"
16228 #include "confdefs.h"
16229 #include <math.h>
16230 int main() {
16231 _powl(0, 0);
16232 ; return 0; }
16234 if { (eval echo configure:16235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16235 rm -rf conftest*
16236 glibcpp_cv_func__powl_use=yes
16237 else
16238 echo "configure: failed program was:" >&5
16239 cat conftest.$ac_ext >&5
16240 rm -rf conftest*
16241 glibcpp_cv_func__powl_use=no
16243 rm -f conftest*
16244 ac_ext=c
16245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16246 ac_cpp='$CPP $CPPFLAGS'
16247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16249 cross_compiling=$ac_cv_prog_cc_cross
16254 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16255 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16256 for ac_func in _powl
16258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16259 echo "configure:16260: checking for $ac_func" >&5
16260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16261 echo $ac_n "(cached) $ac_c" 1>&6
16262 else
16263 cat > conftest.$ac_ext <<EOF
16264 #line 16265 "configure"
16265 #include "confdefs.h"
16266 /* System header to define __stub macros and hopefully few prototypes,
16267 which can conflict with char $ac_func(); below. */
16268 #include <assert.h>
16269 /* Override any gcc2 internal prototype to avoid an error. */
16270 /* We use char because int might match the return type of a gcc2
16271 builtin and then its argument prototype would still apply. */
16272 char $ac_func();
16274 int main() {
16276 /* The GNU C library defines this for functions which it implements
16277 to always fail with ENOSYS. Some functions are actually named
16278 something starting with __ and the normal name is an alias. */
16279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16280 choke me
16281 #else
16282 $ac_func();
16283 #endif
16285 ; return 0; }
16287 if { (eval echo configure:16288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16288 rm -rf conftest*
16289 eval "ac_cv_func_$ac_func=yes"
16290 else
16291 echo "configure: failed program was:" >&5
16292 cat conftest.$ac_ext >&5
16293 rm -rf conftest*
16294 eval "ac_cv_func_$ac_func=no"
16296 rm -f conftest*
16299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16300 echo "$ac_t""yes" 1>&6
16301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16302 cat >> confdefs.h <<EOF
16303 #define $ac_tr_func 1
16306 else
16307 echo "$ac_t""no" 1>&6
16309 done
16314 echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16315 echo "configure:16316: checking for _sinl declaration" >&5
16316 if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16317 echo $ac_n "(cached) $ac_c" 1>&6
16318 else
16321 ac_ext=C
16322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16323 ac_cpp='$CXXCPP $CPPFLAGS'
16324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16326 cross_compiling=$ac_cv_prog_cxx_cross
16328 cat > conftest.$ac_ext <<EOF
16329 #line 16330 "configure"
16330 #include "confdefs.h"
16331 #include <math.h>
16332 int main() {
16333 _sinl(0);
16334 ; return 0; }
16336 if { (eval echo configure:16337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16337 rm -rf conftest*
16338 glibcpp_cv_func__sinl_use=yes
16339 else
16340 echo "configure: failed program was:" >&5
16341 cat conftest.$ac_ext >&5
16342 rm -rf conftest*
16343 glibcpp_cv_func__sinl_use=no
16345 rm -f conftest*
16346 ac_ext=c
16347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16348 ac_cpp='$CPP $CPPFLAGS'
16349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16351 cross_compiling=$ac_cv_prog_cc_cross
16356 echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16357 if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16358 for ac_func in _sinl
16360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16361 echo "configure:16362: checking for $ac_func" >&5
16362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16363 echo $ac_n "(cached) $ac_c" 1>&6
16364 else
16365 cat > conftest.$ac_ext <<EOF
16366 #line 16367 "configure"
16367 #include "confdefs.h"
16368 /* System header to define __stub macros and hopefully few prototypes,
16369 which can conflict with char $ac_func(); below. */
16370 #include <assert.h>
16371 /* Override any gcc2 internal prototype to avoid an error. */
16372 /* We use char because int might match the return type of a gcc2
16373 builtin and then its argument prototype would still apply. */
16374 char $ac_func();
16376 int main() {
16378 /* The GNU C library defines this for functions which it implements
16379 to always fail with ENOSYS. Some functions are actually named
16380 something starting with __ and the normal name is an alias. */
16381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16382 choke me
16383 #else
16384 $ac_func();
16385 #endif
16387 ; return 0; }
16389 if { (eval echo configure:16390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16390 rm -rf conftest*
16391 eval "ac_cv_func_$ac_func=yes"
16392 else
16393 echo "configure: failed program was:" >&5
16394 cat conftest.$ac_ext >&5
16395 rm -rf conftest*
16396 eval "ac_cv_func_$ac_func=no"
16398 rm -f conftest*
16401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16402 echo "$ac_t""yes" 1>&6
16403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16404 cat >> confdefs.h <<EOF
16405 #define $ac_tr_func 1
16408 else
16409 echo "$ac_t""no" 1>&6
16411 done
16416 echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16417 echo "configure:16418: checking for _sinhl declaration" >&5
16418 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16419 echo $ac_n "(cached) $ac_c" 1>&6
16420 else
16423 ac_ext=C
16424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16425 ac_cpp='$CXXCPP $CPPFLAGS'
16426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16428 cross_compiling=$ac_cv_prog_cxx_cross
16430 cat > conftest.$ac_ext <<EOF
16431 #line 16432 "configure"
16432 #include "confdefs.h"
16433 #include <math.h>
16434 int main() {
16435 _sinhl(0);
16436 ; return 0; }
16438 if { (eval echo configure:16439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16439 rm -rf conftest*
16440 glibcpp_cv_func__sinhl_use=yes
16441 else
16442 echo "configure: failed program was:" >&5
16443 cat conftest.$ac_ext >&5
16444 rm -rf conftest*
16445 glibcpp_cv_func__sinhl_use=no
16447 rm -f conftest*
16448 ac_ext=c
16449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16450 ac_cpp='$CPP $CPPFLAGS'
16451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16453 cross_compiling=$ac_cv_prog_cc_cross
16458 echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16459 if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16460 for ac_func in _sinhl
16462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16463 echo "configure:16464: checking for $ac_func" >&5
16464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16465 echo $ac_n "(cached) $ac_c" 1>&6
16466 else
16467 cat > conftest.$ac_ext <<EOF
16468 #line 16469 "configure"
16469 #include "confdefs.h"
16470 /* System header to define __stub macros and hopefully few prototypes,
16471 which can conflict with char $ac_func(); below. */
16472 #include <assert.h>
16473 /* Override any gcc2 internal prototype to avoid an error. */
16474 /* We use char because int might match the return type of a gcc2
16475 builtin and then its argument prototype would still apply. */
16476 char $ac_func();
16478 int main() {
16480 /* The GNU C library defines this for functions which it implements
16481 to always fail with ENOSYS. Some functions are actually named
16482 something starting with __ and the normal name is an alias. */
16483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16484 choke me
16485 #else
16486 $ac_func();
16487 #endif
16489 ; return 0; }
16491 if { (eval echo configure:16492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16492 rm -rf conftest*
16493 eval "ac_cv_func_$ac_func=yes"
16494 else
16495 echo "configure: failed program was:" >&5
16496 cat conftest.$ac_ext >&5
16497 rm -rf conftest*
16498 eval "ac_cv_func_$ac_func=no"
16500 rm -f conftest*
16503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16504 echo "$ac_t""yes" 1>&6
16505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16506 cat >> confdefs.h <<EOF
16507 #define $ac_tr_func 1
16510 else
16511 echo "$ac_t""no" 1>&6
16513 done
16518 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16519 echo "configure:16520: checking for _sqrtl declaration" >&5
16520 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16521 echo $ac_n "(cached) $ac_c" 1>&6
16522 else
16525 ac_ext=C
16526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16527 ac_cpp='$CXXCPP $CPPFLAGS'
16528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16530 cross_compiling=$ac_cv_prog_cxx_cross
16532 cat > conftest.$ac_ext <<EOF
16533 #line 16534 "configure"
16534 #include "confdefs.h"
16535 #include <math.h>
16536 int main() {
16537 _sqrtl(0);
16538 ; return 0; }
16540 if { (eval echo configure:16541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16541 rm -rf conftest*
16542 glibcpp_cv_func__sqrtl_use=yes
16543 else
16544 echo "configure: failed program was:" >&5
16545 cat conftest.$ac_ext >&5
16546 rm -rf conftest*
16547 glibcpp_cv_func__sqrtl_use=no
16549 rm -f conftest*
16550 ac_ext=c
16551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16552 ac_cpp='$CPP $CPPFLAGS'
16553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16555 cross_compiling=$ac_cv_prog_cc_cross
16560 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16561 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16562 for ac_func in _sqrtl
16564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16565 echo "configure:16566: checking for $ac_func" >&5
16566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16567 echo $ac_n "(cached) $ac_c" 1>&6
16568 else
16569 cat > conftest.$ac_ext <<EOF
16570 #line 16571 "configure"
16571 #include "confdefs.h"
16572 /* System header to define __stub macros and hopefully few prototypes,
16573 which can conflict with char $ac_func(); below. */
16574 #include <assert.h>
16575 /* Override any gcc2 internal prototype to avoid an error. */
16576 /* We use char because int might match the return type of a gcc2
16577 builtin and then its argument prototype would still apply. */
16578 char $ac_func();
16580 int main() {
16582 /* The GNU C library defines this for functions which it implements
16583 to always fail with ENOSYS. Some functions are actually named
16584 something starting with __ and the normal name is an alias. */
16585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16586 choke me
16587 #else
16588 $ac_func();
16589 #endif
16591 ; return 0; }
16593 if { (eval echo configure:16594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16594 rm -rf conftest*
16595 eval "ac_cv_func_$ac_func=yes"
16596 else
16597 echo "configure: failed program was:" >&5
16598 cat conftest.$ac_ext >&5
16599 rm -rf conftest*
16600 eval "ac_cv_func_$ac_func=no"
16602 rm -f conftest*
16605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16606 echo "$ac_t""yes" 1>&6
16607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16608 cat >> confdefs.h <<EOF
16609 #define $ac_tr_func 1
16612 else
16613 echo "$ac_t""no" 1>&6
16615 done
16620 echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16621 echo "configure:16622: checking for _tanl declaration" >&5
16622 if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16623 echo $ac_n "(cached) $ac_c" 1>&6
16624 else
16627 ac_ext=C
16628 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16629 ac_cpp='$CXXCPP $CPPFLAGS'
16630 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16631 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16632 cross_compiling=$ac_cv_prog_cxx_cross
16634 cat > conftest.$ac_ext <<EOF
16635 #line 16636 "configure"
16636 #include "confdefs.h"
16637 #include <math.h>
16638 int main() {
16639 _tanl(0);
16640 ; return 0; }
16642 if { (eval echo configure:16643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16643 rm -rf conftest*
16644 glibcpp_cv_func__tanl_use=yes
16645 else
16646 echo "configure: failed program was:" >&5
16647 cat conftest.$ac_ext >&5
16648 rm -rf conftest*
16649 glibcpp_cv_func__tanl_use=no
16651 rm -f conftest*
16652 ac_ext=c
16653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16654 ac_cpp='$CPP $CPPFLAGS'
16655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16657 cross_compiling=$ac_cv_prog_cc_cross
16662 echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16663 if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16664 for ac_func in _tanl
16666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16667 echo "configure:16668: checking for $ac_func" >&5
16668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16669 echo $ac_n "(cached) $ac_c" 1>&6
16670 else
16671 cat > conftest.$ac_ext <<EOF
16672 #line 16673 "configure"
16673 #include "confdefs.h"
16674 /* System header to define __stub macros and hopefully few prototypes,
16675 which can conflict with char $ac_func(); below. */
16676 #include <assert.h>
16677 /* Override any gcc2 internal prototype to avoid an error. */
16678 /* We use char because int might match the return type of a gcc2
16679 builtin and then its argument prototype would still apply. */
16680 char $ac_func();
16682 int main() {
16684 /* The GNU C library defines this for functions which it implements
16685 to always fail with ENOSYS. Some functions are actually named
16686 something starting with __ and the normal name is an alias. */
16687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16688 choke me
16689 #else
16690 $ac_func();
16691 #endif
16693 ; return 0; }
16695 if { (eval echo configure:16696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16696 rm -rf conftest*
16697 eval "ac_cv_func_$ac_func=yes"
16698 else
16699 echo "configure: failed program was:" >&5
16700 cat conftest.$ac_ext >&5
16701 rm -rf conftest*
16702 eval "ac_cv_func_$ac_func=no"
16704 rm -f conftest*
16707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16708 echo "$ac_t""yes" 1>&6
16709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16710 cat >> confdefs.h <<EOF
16711 #define $ac_tr_func 1
16714 else
16715 echo "$ac_t""no" 1>&6
16717 done
16722 echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16723 echo "configure:16724: checking for _tanhl declaration" >&5
16724 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16725 echo $ac_n "(cached) $ac_c" 1>&6
16726 else
16729 ac_ext=C
16730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16731 ac_cpp='$CXXCPP $CPPFLAGS'
16732 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16733 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16734 cross_compiling=$ac_cv_prog_cxx_cross
16736 cat > conftest.$ac_ext <<EOF
16737 #line 16738 "configure"
16738 #include "confdefs.h"
16739 #include <math.h>
16740 int main() {
16741 _tanhl(0);
16742 ; return 0; }
16744 if { (eval echo configure:16745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16745 rm -rf conftest*
16746 glibcpp_cv_func__tanhl_use=yes
16747 else
16748 echo "configure: failed program was:" >&5
16749 cat conftest.$ac_ext >&5
16750 rm -rf conftest*
16751 glibcpp_cv_func__tanhl_use=no
16753 rm -f conftest*
16754 ac_ext=c
16755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16756 ac_cpp='$CPP $CPPFLAGS'
16757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16759 cross_compiling=$ac_cv_prog_cc_cross
16764 echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
16765 if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
16766 for ac_func in _tanhl
16768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16769 echo "configure:16770: checking for $ac_func" >&5
16770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16771 echo $ac_n "(cached) $ac_c" 1>&6
16772 else
16773 cat > conftest.$ac_ext <<EOF
16774 #line 16775 "configure"
16775 #include "confdefs.h"
16776 /* System header to define __stub macros and hopefully few prototypes,
16777 which can conflict with char $ac_func(); below. */
16778 #include <assert.h>
16779 /* Override any gcc2 internal prototype to avoid an error. */
16780 /* We use char because int might match the return type of a gcc2
16781 builtin and then its argument prototype would still apply. */
16782 char $ac_func();
16784 int main() {
16786 /* The GNU C library defines this for functions which it implements
16787 to always fail with ENOSYS. Some functions are actually named
16788 something starting with __ and the normal name is an alias. */
16789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16790 choke me
16791 #else
16792 $ac_func();
16793 #endif
16795 ; return 0; }
16797 if { (eval echo configure:16798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16798 rm -rf conftest*
16799 eval "ac_cv_func_$ac_func=yes"
16800 else
16801 echo "configure: failed program was:" >&5
16802 cat conftest.$ac_ext >&5
16803 rm -rf conftest*
16804 eval "ac_cv_func_$ac_func=no"
16806 rm -f conftest*
16809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16810 echo "$ac_t""yes" 1>&6
16811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16812 cat >> confdefs.h <<EOF
16813 #define $ac_tr_func 1
16816 else
16817 echo "$ac_t""no" 1>&6
16819 done
16824 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16825 echo "configure:16826: checking for _sincosl declaration" >&5
16826 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16827 echo $ac_n "(cached) $ac_c" 1>&6
16828 else
16831 ac_ext=C
16832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16833 ac_cpp='$CXXCPP $CPPFLAGS'
16834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16836 cross_compiling=$ac_cv_prog_cxx_cross
16838 cat > conftest.$ac_ext <<EOF
16839 #line 16840 "configure"
16840 #include "confdefs.h"
16841 #include <math.h>
16842 int main() {
16843 _sincosl(0, 0, 0);
16844 ; return 0; }
16846 if { (eval echo configure:16847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16847 rm -rf conftest*
16848 glibcpp_cv_func__sincosl_use=yes
16849 else
16850 echo "configure: failed program was:" >&5
16851 cat conftest.$ac_ext >&5
16852 rm -rf conftest*
16853 glibcpp_cv_func__sincosl_use=no
16855 rm -f conftest*
16856 ac_ext=c
16857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16858 ac_cpp='$CPP $CPPFLAGS'
16859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16861 cross_compiling=$ac_cv_prog_cc_cross
16866 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16867 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16868 for ac_func in _sincosl
16870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16871 echo "configure:16872: checking for $ac_func" >&5
16872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16873 echo $ac_n "(cached) $ac_c" 1>&6
16874 else
16875 cat > conftest.$ac_ext <<EOF
16876 #line 16877 "configure"
16877 #include "confdefs.h"
16878 /* System header to define __stub macros and hopefully few prototypes,
16879 which can conflict with char $ac_func(); below. */
16880 #include <assert.h>
16881 /* Override any gcc2 internal prototype to avoid an error. */
16882 /* We use char because int might match the return type of a gcc2
16883 builtin and then its argument prototype would still apply. */
16884 char $ac_func();
16886 int main() {
16888 /* The GNU C library defines this for functions which it implements
16889 to always fail with ENOSYS. Some functions are actually named
16890 something starting with __ and the normal name is an alias. */
16891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16892 choke me
16893 #else
16894 $ac_func();
16895 #endif
16897 ; return 0; }
16899 if { (eval echo configure:16900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16900 rm -rf conftest*
16901 eval "ac_cv_func_$ac_func=yes"
16902 else
16903 echo "configure: failed program was:" >&5
16904 cat conftest.$ac_ext >&5
16905 rm -rf conftest*
16906 eval "ac_cv_func_$ac_func=no"
16908 rm -f conftest*
16911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16912 echo "$ac_t""yes" 1>&6
16913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16914 cat >> confdefs.h <<EOF
16915 #define $ac_tr_func 1
16918 else
16919 echo "$ac_t""no" 1>&6
16921 done
16926 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
16927 echo "configure:16928: checking for _finitel declaration" >&5
16928 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
16929 echo $ac_n "(cached) $ac_c" 1>&6
16930 else
16933 ac_ext=C
16934 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16935 ac_cpp='$CXXCPP $CPPFLAGS'
16936 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16937 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16938 cross_compiling=$ac_cv_prog_cxx_cross
16940 cat > conftest.$ac_ext <<EOF
16941 #line 16942 "configure"
16942 #include "confdefs.h"
16943 #include <math.h>
16944 int main() {
16945 _finitel(0);
16946 ; return 0; }
16948 if { (eval echo configure:16949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16949 rm -rf conftest*
16950 glibcpp_cv_func__finitel_use=yes
16951 else
16952 echo "configure: failed program was:" >&5
16953 cat conftest.$ac_ext >&5
16954 rm -rf conftest*
16955 glibcpp_cv_func__finitel_use=no
16957 rm -f conftest*
16958 ac_ext=c
16959 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16960 ac_cpp='$CPP $CPPFLAGS'
16961 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16962 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16963 cross_compiling=$ac_cv_prog_cc_cross
16968 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
16969 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
16970 for ac_func in _finitel
16972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16973 echo "configure:16974: checking for $ac_func" >&5
16974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16975 echo $ac_n "(cached) $ac_c" 1>&6
16976 else
16977 cat > conftest.$ac_ext <<EOF
16978 #line 16979 "configure"
16979 #include "confdefs.h"
16980 /* System header to define __stub macros and hopefully few prototypes,
16981 which can conflict with char $ac_func(); below. */
16982 #include <assert.h>
16983 /* Override any gcc2 internal prototype to avoid an error. */
16984 /* We use char because int might match the return type of a gcc2
16985 builtin and then its argument prototype would still apply. */
16986 char $ac_func();
16988 int main() {
16990 /* The GNU C library defines this for functions which it implements
16991 to always fail with ENOSYS. Some functions are actually named
16992 something starting with __ and the normal name is an alias. */
16993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16994 choke me
16995 #else
16996 $ac_func();
16997 #endif
16999 ; return 0; }
17001 if { (eval echo configure:17002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17002 rm -rf conftest*
17003 eval "ac_cv_func_$ac_func=yes"
17004 else
17005 echo "configure: failed program was:" >&5
17006 cat conftest.$ac_ext >&5
17007 rm -rf conftest*
17008 eval "ac_cv_func_$ac_func=no"
17010 rm -f conftest*
17013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17014 echo "$ac_t""yes" 1>&6
17015 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17016 cat >> confdefs.h <<EOF
17017 #define $ac_tr_func 1
17020 else
17021 echo "$ac_t""no" 1>&6
17023 done
17028 LIBS="$ac_save_LIBS"
17029 CXXFLAGS="$ac_save_CXXFLAGS"
17032 for ac_hdr in complex.h
17034 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17035 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17036 echo "configure:17037: checking for $ac_hdr" >&5
17037 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17038 echo $ac_n "(cached) $ac_c" 1>&6
17039 else
17040 cat > conftest.$ac_ext <<EOF
17041 #line 17042 "configure"
17042 #include "confdefs.h"
17043 #include <$ac_hdr>
17045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17046 { (eval echo configure:17047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17048 if test -z "$ac_err"; then
17049 rm -rf conftest*
17050 eval "ac_cv_header_$ac_safe=yes"
17051 else
17052 echo "$ac_err" >&5
17053 echo "configure: failed program was:" >&5
17054 cat conftest.$ac_ext >&5
17055 rm -rf conftest*
17056 eval "ac_cv_header_$ac_safe=no"
17058 rm -f conftest*
17060 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17061 echo "$ac_t""yes" 1>&6
17062 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17063 cat >> confdefs.h <<EOF
17064 #define $ac_tr_hdr 1
17067 else
17068 echo "$ac_t""no" 1>&6
17070 done
17072 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
17073 echo "configure:17074: checking for main in -lm" >&5
17074 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
17075 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17076 echo $ac_n "(cached) $ac_c" 1>&6
17077 else
17078 ac_save_LIBS="$LIBS"
17079 LIBS="-lm $LIBS"
17080 cat > conftest.$ac_ext <<EOF
17081 #line 17082 "configure"
17082 #include "confdefs.h"
17084 int main() {
17085 main()
17086 ; return 0; }
17088 if { (eval echo configure:17089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17089 rm -rf conftest*
17090 eval "ac_cv_lib_$ac_lib_var=yes"
17091 else
17092 echo "configure: failed program was:" >&5
17093 cat conftest.$ac_ext >&5
17094 rm -rf conftest*
17095 eval "ac_cv_lib_$ac_lib_var=no"
17097 rm -f conftest*
17098 LIBS="$ac_save_LIBS"
17101 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17102 echo "$ac_t""yes" 1>&6
17103 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
17104 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17105 cat >> confdefs.h <<EOF
17106 #define $ac_tr_lib 1
17109 LIBS="-lm $LIBS"
17111 else
17112 echo "$ac_t""no" 1>&6
17115 for ac_func in cabs cabsf ccos ccosf ccosh ccoshf cexp cexpf \
17116 c_log c_logf clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt \
17117 csqrtf ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf \
17118 copysignf
17120 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17121 echo "configure:17122: checking for $ac_func" >&5
17122 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17123 echo $ac_n "(cached) $ac_c" 1>&6
17124 else
17125 cat > conftest.$ac_ext <<EOF
17126 #line 17127 "configure"
17127 #include "confdefs.h"
17128 /* System header to define __stub macros and hopefully few prototypes,
17129 which can conflict with char $ac_func(); below. */
17130 #include <assert.h>
17131 /* Override any gcc2 internal prototype to avoid an error. */
17132 /* We use char because int might match the return type of a gcc2
17133 builtin and then its argument prototype would still apply. */
17134 char $ac_func();
17136 int main() {
17138 /* The GNU C library defines this for functions which it implements
17139 to always fail with ENOSYS. Some functions are actually named
17140 something starting with __ and the normal name is an alias. */
17141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17142 choke me
17143 #else
17144 $ac_func();
17145 #endif
17147 ; return 0; }
17149 if { (eval echo configure:17150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17150 rm -rf conftest*
17151 eval "ac_cv_func_$ac_func=yes"
17152 else
17153 echo "configure: failed program was:" >&5
17154 cat conftest.$ac_ext >&5
17155 rm -rf conftest*
17156 eval "ac_cv_func_$ac_func=no"
17158 rm -f conftest*
17161 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17162 echo "$ac_t""yes" 1>&6
17163 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17164 cat >> confdefs.h <<EOF
17165 #define $ac_tr_func 1
17168 else
17169 echo "$ac_t""no" 1>&6
17170 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17172 done
17176 USE_COMPLEX_LONG_DOUBLE=no
17177 if test x$ac_cv_func_atan2l = x"yes" \
17178 && test x$ac_cv_func_copysignl = x"yes"; then
17179 USE_COMPLEX_LONG_DOUBLE=yes
17180 for ac_func in cabsl ccoshl ccosl cexpl cpowl csinhl csinl \
17181 csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17183 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17184 echo "configure:17185: checking for $ac_func" >&5
17185 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17186 echo $ac_n "(cached) $ac_c" 1>&6
17187 else
17188 cat > conftest.$ac_ext <<EOF
17189 #line 17190 "configure"
17190 #include "confdefs.h"
17191 /* System header to define __stub macros and hopefully few prototypes,
17192 which can conflict with char $ac_func(); below. */
17193 #include <assert.h>
17194 /* Override any gcc2 internal prototype to avoid an error. */
17195 /* We use char because int might match the return type of a gcc2
17196 builtin and then its argument prototype would still apply. */
17197 char $ac_func();
17199 int main() {
17201 /* The GNU C library defines this for functions which it implements
17202 to always fail with ENOSYS. Some functions are actually named
17203 something starting with __ and the normal name is an alias. */
17204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17205 choke me
17206 #else
17207 $ac_func();
17208 #endif
17210 ; return 0; }
17212 if { (eval echo configure:17213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17213 rm -rf conftest*
17214 eval "ac_cv_func_$ac_func=yes"
17215 else
17216 echo "configure: failed program was:" >&5
17217 cat conftest.$ac_ext >&5
17218 rm -rf conftest*
17219 eval "ac_cv_func_$ac_func=no"
17221 rm -f conftest*
17224 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17225 echo "$ac_t""yes" 1>&6
17226 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17227 cat >> confdefs.h <<EOF
17228 #define $ac_tr_func 1
17231 else
17232 echo "$ac_t""no" 1>&6
17233 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17235 done
17245 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17246 echo "configure:17247: checking for GNU C++ __complex__ support" >&5
17247 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17248 echo $ac_n "(cached) $ac_c" 1>&6
17249 else
17252 ac_ext=C
17253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17254 ac_cpp='$CXXCPP $CPPFLAGS'
17255 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17256 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17257 cross_compiling=$ac_cv_prog_cxx_cross
17259 cat > conftest.$ac_ext <<EOF
17260 #line 17261 "configure"
17261 #include "confdefs.h"
17262 struct dcomplex { __complex__ double x; }; \
17263 dcomplex f(const dcomplex& x) { return dcomplex(x); }
17264 int main() {
17266 dcomplex x; f(x);
17267 ; return 0; }
17269 if { (eval echo configure:17270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17270 rm -rf conftest*
17271 glibcpp_cv_complex=ok
17272 else
17273 echo "configure: failed program was:" >&5
17274 cat conftest.$ac_ext >&5
17275 rm -rf conftest*
17276 glibcpp_cv_complex=buggy
17279 rm -f conftest*
17280 ac_ext=c
17281 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17282 ac_cpp='$CPP $CPPFLAGS'
17283 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17284 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17285 cross_compiling=$ac_cv_prog_cc_cross
17290 echo "$ac_t""$glibcpp_cv_complex" 1>&6
17291 if test $glibcpp_cv_complex = buggy; then
17292 cat >> confdefs.h <<\EOF
17293 #define _GLIBCPP_BUGGY_COMPLEX 1
17298 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17299 echo "configure:17300: checking for GNU C++ __complex__ float support" >&5
17300 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17301 echo $ac_n "(cached) $ac_c" 1>&6
17302 else
17305 ac_ext=C
17306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17307 ac_cpp='$CXXCPP $CPPFLAGS'
17308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17310 cross_compiling=$ac_cv_prog_cxx_cross
17312 rm -f conftest.h
17313 cat > conftest.h <<EOB
17315 // Check for buggy __complex__ that causes ICE in most versions of egcs
17316 // and gcc-2.95.x on certain platforms (eg., x86-win32).
17318 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
17319 // more info on the bug itself.
17321 struct
17322 float_complex
17324 __complex__ float m_value;
17325 float_complex (float = 0.0f, float = 0.0f);
17326 float_complex (__complex__ float val) : m_value (val) {}
17327 float_complex foo (const float_complex &val)
17328 { return float_complex (~val.m_value); }
17331 cat > conftest.$ac_ext <<EOF
17332 #line 17333 "configure"
17333 #include "confdefs.h"
17334 #include "conftest.h"
17335 int main() {
17337 ; return 0; }
17339 if { (eval echo configure:17340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17340 rm -rf conftest*
17341 glibcpp_cv_float_complex=ok
17342 else
17343 echo "configure: failed program was:" >&5
17344 cat conftest.$ac_ext >&5
17345 rm -rf conftest*
17346 glibcpp_cv_float_complex=buggy
17349 rm -f conftest*
17350 ac_ext=c
17351 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17352 ac_cpp='$CPP $CPPFLAGS'
17353 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17354 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17355 cross_compiling=$ac_cv_prog_cc_cross
17360 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17361 if test $glibcpp_cv_float_complex = buggy; then
17362 cat >> confdefs.h <<\EOF
17363 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17369 if test x$enable_c_mbchar != xno; then
17371 ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17372 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17373 echo "configure:17374: checking for wchar.h" >&5
17374 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17375 echo $ac_n "(cached) $ac_c" 1>&6
17376 else
17377 cat > conftest.$ac_ext <<EOF
17378 #line 17379 "configure"
17379 #include "confdefs.h"
17380 #include <wchar.h>
17382 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17383 { (eval echo configure:17384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17384 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17385 if test -z "$ac_err"; then
17386 rm -rf conftest*
17387 eval "ac_cv_header_$ac_safe=yes"
17388 else
17389 echo "$ac_err" >&5
17390 echo "configure: failed program was:" >&5
17391 cat conftest.$ac_ext >&5
17392 rm -rf conftest*
17393 eval "ac_cv_header_$ac_safe=no"
17395 rm -f conftest*
17397 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17398 echo "$ac_t""yes" 1>&6
17399 ac_has_wchar_h=yes
17400 else
17401 echo "$ac_t""no" 1>&6
17402 ac_has_wchar_h=no
17405 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17406 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17407 echo "configure:17408: checking for wctype.h" >&5
17408 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17409 echo $ac_n "(cached) $ac_c" 1>&6
17410 else
17411 cat > conftest.$ac_ext <<EOF
17412 #line 17413 "configure"
17413 #include "confdefs.h"
17414 #include <wctype.h>
17416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17417 { (eval echo configure:17418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17419 if test -z "$ac_err"; then
17420 rm -rf conftest*
17421 eval "ac_cv_header_$ac_safe=yes"
17422 else
17423 echo "$ac_err" >&5
17424 echo "configure: failed program was:" >&5
17425 cat conftest.$ac_ext >&5
17426 rm -rf conftest*
17427 eval "ac_cv_header_$ac_safe=no"
17429 rm -f conftest*
17431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17432 echo "$ac_t""yes" 1>&6
17433 ac_has_wctype_h=yes
17434 else
17435 echo "$ac_t""no" 1>&6
17436 ac_has_wctype_h=no
17440 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17442 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17443 echo "configure:17444: checking for mbstate_t" >&5
17444 cat > conftest.$ac_ext <<EOF
17445 #line 17446 "configure"
17446 #include "confdefs.h"
17447 #include <wchar.h>
17448 int main() {
17449 mbstate_t teststate;
17450 ; return 0; }
17452 if { (eval echo configure:17453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17453 rm -rf conftest*
17454 use_native_mbstatet=yes
17455 else
17456 echo "configure: failed program was:" >&5
17457 cat conftest.$ac_ext >&5
17458 rm -rf conftest*
17459 use_native_mbstatet=no
17461 rm -f conftest*
17462 echo "$ac_t""$use_native_mbstatet" 1>&6
17463 if test x"$use_native_mbstatet" = xno; then
17464 cat >> confdefs.h <<\EOF
17465 #define _GLIBCPP_NEED_MBSTATE_T 1
17470 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17471 echo "configure:17472: checking for WCHAR_MIN and WCHAR_MAX" >&5
17472 cat > conftest.$ac_ext <<EOF
17473 #line 17474 "configure"
17474 #include "confdefs.h"
17475 #include <wchar.h>
17476 int main() {
17477 int i = WCHAR_MIN; int j = WCHAR_MAX;
17478 ; return 0; }
17480 if { (eval echo configure:17481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17481 rm -rf conftest*
17482 has_wchar_minmax=yes
17483 else
17484 echo "configure: failed program was:" >&5
17485 cat conftest.$ac_ext >&5
17486 rm -rf conftest*
17487 has_wchar_minmax=no
17489 rm -f conftest*
17490 echo "$ac_t""$has_wchar_minmax" 1>&6
17492 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17493 echo "configure:17494: checking for WEOF" >&5
17494 cat > conftest.$ac_ext <<EOF
17495 #line 17496 "configure"
17496 #include "confdefs.h"
17498 #include <wchar.h>
17499 #include <stddef.h>
17500 int main() {
17501 wint_t i = WEOF;
17502 ; return 0; }
17504 if { (eval echo configure:17505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17505 rm -rf conftest*
17506 has_weof=yes
17507 else
17508 echo "configure: failed program was:" >&5
17509 cat conftest.$ac_ext >&5
17510 rm -rf conftest*
17511 has_weof=no
17513 rm -f conftest*
17514 echo "$ac_t""$has_weof" 1>&6
17516 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
17517 wcsrtombs mbsrtowcs
17519 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17520 echo "configure:17521: checking for $ac_func" >&5
17521 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17522 echo $ac_n "(cached) $ac_c" 1>&6
17523 else
17524 cat > conftest.$ac_ext <<EOF
17525 #line 17526 "configure"
17526 #include "confdefs.h"
17527 /* System header to define __stub macros and hopefully few prototypes,
17528 which can conflict with char $ac_func(); below. */
17529 #include <assert.h>
17530 /* Override any gcc2 internal prototype to avoid an error. */
17531 /* We use char because int might match the return type of a gcc2
17532 builtin and then its argument prototype would still apply. */
17533 char $ac_func();
17535 int main() {
17537 /* The GNU C library defines this for functions which it implements
17538 to always fail with ENOSYS. Some functions are actually named
17539 something starting with __ and the normal name is an alias. */
17540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17541 choke me
17542 #else
17543 $ac_func();
17544 #endif
17546 ; return 0; }
17548 if { (eval echo configure:17549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17549 rm -rf conftest*
17550 eval "ac_cv_func_$ac_func=yes"
17551 else
17552 echo "configure: failed program was:" >&5
17553 cat conftest.$ac_ext >&5
17554 rm -rf conftest*
17555 eval "ac_cv_func_$ac_func=no"
17557 rm -f conftest*
17560 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17561 echo "$ac_t""yes" 1>&6
17562 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17563 cat >> confdefs.h <<EOF
17564 #define $ac_tr_func 1
17566 ac_wfuncs=yes
17567 else
17568 echo "$ac_t""no" 1>&6
17569 ac_wfuncs=no
17571 done
17574 echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6
17575 echo "configure:17576: checking for ISO C9X wchar_t support" >&5
17576 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
17577 && test x"$ac_wfuncs" = xyes; then
17578 ac_isoC9X_wchar_t=yes
17579 else
17580 ac_isoC9X_wchar_t=no
17582 echo "$ac_t""$ac_isoC9X_wchar_t" 1>&6
17584 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17585 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17586 echo "configure:17587: checking for iconv.h" >&5
17587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17588 echo $ac_n "(cached) $ac_c" 1>&6
17589 else
17590 cat > conftest.$ac_ext <<EOF
17591 #line 17592 "configure"
17592 #include "confdefs.h"
17593 #include <iconv.h>
17595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17596 { (eval echo configure:17597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17598 if test -z "$ac_err"; then
17599 rm -rf conftest*
17600 eval "ac_cv_header_$ac_safe=yes"
17601 else
17602 echo "$ac_err" >&5
17603 echo "configure: failed program was:" >&5
17604 cat conftest.$ac_ext >&5
17605 rm -rf conftest*
17606 eval "ac_cv_header_$ac_safe=no"
17608 rm -f conftest*
17610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17611 echo "$ac_t""yes" 1>&6
17612 ac_has_iconv_h=yes
17613 else
17614 echo "$ac_t""no" 1>&6
17615 ac_has_iconv_h=no
17618 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17619 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17620 echo "configure:17621: checking for langinfo.h" >&5
17621 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17622 echo $ac_n "(cached) $ac_c" 1>&6
17623 else
17624 cat > conftest.$ac_ext <<EOF
17625 #line 17626 "configure"
17626 #include "confdefs.h"
17627 #include <langinfo.h>
17629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17630 { (eval echo configure:17631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17632 if test -z "$ac_err"; then
17633 rm -rf conftest*
17634 eval "ac_cv_header_$ac_safe=yes"
17635 else
17636 echo "$ac_err" >&5
17637 echo "configure: failed program was:" >&5
17638 cat conftest.$ac_ext >&5
17639 rm -rf conftest*
17640 eval "ac_cv_header_$ac_safe=no"
17642 rm -f conftest*
17644 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17645 echo "$ac_t""yes" 1>&6
17646 ac_has_langinfo_h=yes
17647 else
17648 echo "$ac_t""no" 1>&6
17649 ac_has_langinfo_h=no
17652 for ac_func in iconv_open iconv_close iconv nl_langinfo
17654 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17655 echo "configure:17656: checking for $ac_func" >&5
17656 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17657 echo $ac_n "(cached) $ac_c" 1>&6
17658 else
17659 cat > conftest.$ac_ext <<EOF
17660 #line 17661 "configure"
17661 #include "confdefs.h"
17662 /* System header to define __stub macros and hopefully few prototypes,
17663 which can conflict with char $ac_func(); below. */
17664 #include <assert.h>
17665 /* Override any gcc2 internal prototype to avoid an error. */
17666 /* We use char because int might match the return type of a gcc2
17667 builtin and then its argument prototype would still apply. */
17668 char $ac_func();
17670 int main() {
17672 /* The GNU C library defines this for functions which it implements
17673 to always fail with ENOSYS. Some functions are actually named
17674 something starting with __ and the normal name is an alias. */
17675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17676 choke me
17677 #else
17678 $ac_func();
17679 #endif
17681 ; return 0; }
17683 if { (eval echo configure:17684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17684 rm -rf conftest*
17685 eval "ac_cv_func_$ac_func=yes"
17686 else
17687 echo "configure: failed program was:" >&5
17688 cat conftest.$ac_ext >&5
17689 rm -rf conftest*
17690 eval "ac_cv_func_$ac_func=no"
17692 rm -f conftest*
17695 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17696 echo "$ac_t""yes" 1>&6
17697 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17698 cat >> confdefs.h <<EOF
17699 #define $ac_tr_func 1
17702 ac_XPG2funcs=yes
17703 else
17704 echo "$ac_t""no" 1>&6
17705 ac_XPG2funcs=no
17707 done
17710 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17711 echo "configure:17712: checking for XPG2 wchar_t support" >&5
17712 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
17713 && test x"$ac_XPG2funcs" = xyes; then
17714 ac_XPG2_wchar_t=yes
17715 else
17716 ac_XPG2_wchar_t=no
17718 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17720 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17721 echo "configure:17722: checking for enabled wchar_t specializations" >&5
17722 if test x"$ac_isoC9X_wchar_t" = xyes \
17723 && test x"$ac_XPG2_wchar_t" = xyes; then
17724 libinst_wstring_la="libinst-wstring.la"
17725 cat >> confdefs.h <<\EOF
17726 #define _GLIBCPP_USE_WCHAR_T 1
17729 echo "$ac_t"""yes"" 1>&6
17730 else
17731 libinst_wstring_la=""
17732 echo "$ac_t"""no"" 1>&6
17736 else
17737 echo "configure: warning: <wchar.h> not found" 1>&2
17738 cat >> confdefs.h <<\EOF
17739 #define _GLIBCPP_NEED_MBSTATE_T 1
17744 else
17749 ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17750 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17751 echo "configure:17752: checking for ctype.h" >&5
17752 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17753 echo $ac_n "(cached) $ac_c" 1>&6
17754 else
17755 cat > conftest.$ac_ext <<EOF
17756 #line 17757 "configure"
17757 #include "confdefs.h"
17758 #include <ctype.h>
17760 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17761 { (eval echo configure:17762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17762 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17763 if test -z "$ac_err"; then
17764 rm -rf conftest*
17765 eval "ac_cv_header_$ac_safe=yes"
17766 else
17767 echo "$ac_err" >&5
17768 echo "configure: failed program was:" >&5
17769 cat conftest.$ac_ext >&5
17770 rm -rf conftest*
17771 eval "ac_cv_header_$ac_safe=no"
17773 rm -f conftest*
17775 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17776 echo "$ac_t""yes" 1>&6
17779 ctype_default=yes
17781 echo $ac_n "checking <ctype> for GNU/Linux""... $ac_c" 1>&6
17782 echo "configure:17783: checking <ctype> for GNU/Linux" >&5
17783 cat > conftest.$ac_ext <<EOF
17784 #line 17785 "configure"
17785 #include "confdefs.h"
17786 #include <ctype.h>
17787 int main() {
17789 foo (int a)
17790 { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
17791 + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
17792 + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
17793 ; return 0; }
17795 if { (eval echo configure:17796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17796 rm -rf conftest*
17798 ctype_linux=yes
17799 else
17800 echo "configure: failed program was:" >&5
17801 cat conftest.$ac_ext >&5
17802 rm -rf conftest*
17803 ctype_linux=no
17805 rm -f conftest*
17806 echo "$ac_t""$ctype_linux" 1>&6
17807 if test $ctype_linux = "yes"; then
17808 ctype_include_dir="config/os/gnu-linux"
17809 ctype_default=no
17812 if test $ctype_default = "yes"; then
17813 echo $ac_n "checking <ctype> for FreeBSD 4.0""... $ac_c" 1>&6
17814 echo "configure:17815: checking <ctype> for FreeBSD 4.0" >&5
17815 cat > conftest.$ac_ext <<EOF
17816 #line 17817 "configure"
17817 #include "confdefs.h"
17818 #include <ctype.h>
17819 int main() {
17821 foo (int a)
17822 { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
17823 + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
17824 ; return 0; }
17826 if { (eval echo configure:17827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17827 rm -rf conftest*
17829 ctype_bsd=yes
17830 else
17831 echo "configure: failed program was:" >&5
17832 cat conftest.$ac_ext >&5
17833 rm -rf conftest*
17834 ctype_bsd=no
17836 rm -f conftest*
17837 echo "$ac_t""$ctype_bsd" 1>&6
17838 if test $ctype_bsd = "yes"; then
17839 ctype_include_dir="config/os/bsd"
17840 ctype_default=no
17844 if test $ctype_default = "yes"; then
17845 echo $ac_n "checking <ctype> for FreeBSD 3.4""... $ac_c" 1>&6
17846 echo "configure:17847: checking <ctype> for FreeBSD 3.4" >&5
17847 cat > conftest.$ac_ext <<EOF
17848 #line 17849 "configure"
17849 #include "confdefs.h"
17850 #include <ctype.h>
17851 int main() {
17853 foo (int a)
17854 { return _S + _R + _C + _U + _L + _A \
17855 + _D + _P + _X + _G + __istype (a, 0);}
17856 ; return 0; }
17858 if { (eval echo configure:17859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17859 rm -rf conftest*
17861 ctype_freebsd34=yes
17862 else
17863 echo "configure: failed program was:" >&5
17864 cat conftest.$ac_ext >&5
17865 rm -rf conftest*
17866 ctype_freebsd34=no
17868 rm -f conftest*
17869 echo "$ac_t""$ctype_freebsd34" 1>&6
17870 if test $ctype_freebsd34 = "yes"; then
17871 ctype_include_dir="config/os/bsd"
17872 ctype_default=no
17876 if test $ctype_default = "yes"; then
17877 echo $ac_n "checking <ctype> for Solaris 2.6,7,8""... $ac_c" 1>&6
17878 echo "configure:17879: checking <ctype> for Solaris 2.6,7,8" >&5
17879 cat > conftest.$ac_ext <<EOF
17880 #line 17881 "configure"
17881 #include "confdefs.h"
17882 #include <ctype.h>
17883 int main() {
17885 foo (int a)
17886 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17887 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17888 + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
17889 ; return 0; }
17891 if { (eval echo configure:17892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17892 rm -rf conftest*
17894 ctype_solaris=yes
17895 else
17896 echo "configure: failed program was:" >&5
17897 cat conftest.$ac_ext >&5
17898 rm -rf conftest*
17899 ctype_solaris=no
17901 rm -f conftest*
17902 echo "$ac_t""$ctype_solaris" 1>&6
17904 if test $ctype_solaris = "yes"; then
17905 echo $ac_n "checking for version""... $ac_c" 1>&6
17906 echo "configure:17907: checking for version" >&5
17907 ac_ext=C
17908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17909 ac_cpp='$CXXCPP $CPPFLAGS'
17910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17912 cross_compiling=$ac_cv_prog_cxx_cross
17914 cat > conftest.$ac_ext <<EOF
17915 #line 17916 "configure"
17916 #include "confdefs.h"
17917 #include <ctype.h>
17918 int main() {
17919 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
17920 ; return 0; }
17922 if { (eval echo configure:17923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17923 rm -rf conftest*
17925 ctype_solaris26=yes
17926 else
17927 echo "configure: failed program was:" >&5
17928 cat conftest.$ac_ext >&5
17929 rm -rf conftest*
17930 ctype_solaris26=no
17932 rm -f conftest*
17933 ac_ext=c
17934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17935 ac_cpp='$CPP $CPPFLAGS'
17936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17938 cross_compiling=$ac_cv_prog_cc_cross
17940 if test $ctype_solaris26 = "yes"; then
17941 ctype_include_dir="config/os/solaris/solaris2.6"
17942 echo "$ac_t""Solaris 2.6" 1>&6
17943 ctype_default=no
17944 else
17945 ctype_include_dir="config/os/solaris/solaris2.7"
17946 echo "$ac_t""Solaris 7,8" 1>&6
17947 ctype_default=no
17952 if test $ctype_default = "yes"; then
17953 echo $ac_n "checking <ctype> for Solaris 2.5.1""... $ac_c" 1>&6
17954 echo "configure:17955: checking <ctype> for Solaris 2.5.1" >&5
17955 cat > conftest.$ac_ext <<EOF
17956 #line 17957 "configure"
17957 #include "confdefs.h"
17958 #include <ctype.h>
17959 int main() {
17961 foo (int a)
17962 { return _U + _L + _N + _S + _P + _C + _X + _B \
17963 + __ctype[a];}
17964 ; return 0; }
17966 if { (eval echo configure:17967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17967 rm -rf conftest*
17969 ctype_solaris25=yes
17970 else
17971 echo "configure: failed program was:" >&5
17972 cat conftest.$ac_ext >&5
17973 rm -rf conftest*
17974 ctype_solaris25=no
17976 rm -f conftest*
17977 echo "$ac_t""$ctype_solaris25" 1>&6
17978 if test $ctype_solaris25 = "yes"; then
17979 ctype_include_dir="config/os/solaris/solaris2.5"
17980 ctype_default=no
17984 if test $ctype_default = "yes"; then
17985 echo $ac_n "checking <ctype> for AIX""... $ac_c" 1>&6
17986 echo "configure:17987: checking <ctype> for AIX" >&5
17987 cat > conftest.$ac_ext <<EOF
17988 #line 17989 "configure"
17989 #include "confdefs.h"
17990 #include <ctype.h>
17991 int main() {
17993 foo (int a)
17994 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17995 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17996 + _VALC('a') + _IS('c', 0);}
17997 ; return 0; }
17999 if { (eval echo configure:18000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18000 rm -rf conftest*
18002 ctype_aix=yes
18003 else
18004 echo "configure: failed program was:" >&5
18005 cat conftest.$ac_ext >&5
18006 rm -rf conftest*
18007 ctype_aix=no
18009 rm -f conftest*
18010 echo "$ac_t""$ctype_aix" 1>&6
18011 if test $ctype_aix = "yes"; then
18012 ctype_include_dir="config/os/aix"
18013 ctype_default=no
18017 if test $ctype_default ="yes"; then
18018 echo $ac_n "checking <ctype> for IRIX""... $ac_c" 1>&6
18019 echo "configure:18020: checking <ctype> for IRIX" >&5
18020 cat > conftest.$ac_ext <<EOF
18021 #line 18022 "configure"
18022 #include "confdefs.h"
18023 #include <ctype.h>
18024 int main() {
18026 foo (int a)
18027 { return _U + _L + _N + _S + _P + _C + _B + _X + \
18028 _A + _PR + _G + _BL;}
18029 ; return 0; }
18031 if { (eval echo configure:18032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18032 rm -rf conftest*
18034 ctype_irix=yes
18035 else
18036 echo "configure: failed program was:" >&5
18037 cat conftest.$ac_ext >&5
18038 rm -rf conftest*
18039 ctype_irix=no
18041 rm -f conftest*
18042 echo "$ac_t""$ctype_irix" 1>&6
18043 if test $ctype_irix = "yes"; then
18044 ctype_include_dir="config/os/irix"
18045 ctype_default=no
18049 if test $ctype_default = "yes"; then
18050 echo $ac_n "checking <ctype> for newlib""... $ac_c" 1>&6
18051 echo "configure:18052: checking <ctype> for newlib" >&5
18052 cat > conftest.$ac_ext <<EOF
18053 #line 18054 "configure"
18054 #include "confdefs.h"
18055 #include <ctype.h>
18056 int main() {
18058 foo (int a)
18059 { return _U + _L + _N + _S + _P + _C + _X + _B \
18060 + _ctype_[a];}
18061 ; return 0; }
18063 if { (eval echo configure:18064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18064 rm -rf conftest*
18066 ctype_newlib=yes
18067 else
18068 echo "configure: failed program was:" >&5
18069 cat conftest.$ac_ext >&5
18070 rm -rf conftest*
18071 ctype_newlib=no
18073 rm -f conftest*
18074 echo "$ac_t""$ctype_newlib" 1>&6
18075 if test $ctype_newlib = "yes"; then
18076 ctype_include_dir="config/newlib"
18077 ctype_default=no
18081 if test $ctype_default = "yes"; then
18082 ctype_include_dir="config/os/generic"
18083 echo "configure: warning: "Using default ctype headers."" 1>&2
18090 else
18091 echo "$ac_t""no" 1>&6
18096 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18097 ac_save_CXXFLAGS="$CXXFLAGS"
18098 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
18100 for ac_func in strtof
18102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18103 echo "configure:18104: checking for $ac_func" >&5
18104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18105 echo $ac_n "(cached) $ac_c" 1>&6
18106 else
18107 cat > conftest.$ac_ext <<EOF
18108 #line 18109 "configure"
18109 #include "confdefs.h"
18110 /* System header to define __stub macros and hopefully few prototypes,
18111 which can conflict with char $ac_func(); below. */
18112 #include <assert.h>
18113 /* Override any gcc2 internal prototype to avoid an error. */
18114 /* We use char because int might match the return type of a gcc2
18115 builtin and then its argument prototype would still apply. */
18116 char $ac_func();
18118 int main() {
18120 /* The GNU C library defines this for functions which it implements
18121 to always fail with ENOSYS. Some functions are actually named
18122 something starting with __ and the normal name is an alias. */
18123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18124 choke me
18125 #else
18126 $ac_func();
18127 #endif
18129 ; return 0; }
18131 if { (eval echo configure:18132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18132 rm -rf conftest*
18133 eval "ac_cv_func_$ac_func=yes"
18134 else
18135 echo "configure: failed program was:" >&5
18136 cat conftest.$ac_ext >&5
18137 rm -rf conftest*
18138 eval "ac_cv_func_$ac_func=no"
18140 rm -f conftest*
18143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18144 echo "$ac_t""yes" 1>&6
18145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18146 cat >> confdefs.h <<EOF
18147 #define $ac_tr_func 1
18150 else
18151 echo "$ac_t""no" 1>&6
18153 done
18156 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
18157 echo "configure:18158: checking for strtold declaration" >&5
18158 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
18159 echo $ac_n "(cached) $ac_c" 1>&6
18160 else
18163 ac_ext=C
18164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18165 ac_cpp='$CXXCPP $CPPFLAGS'
18166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18168 cross_compiling=$ac_cv_prog_cxx_cross
18170 cat > conftest.$ac_ext <<EOF
18171 #line 18172 "configure"
18172 #include "confdefs.h"
18173 #include <stdlib.h>
18174 int main() {
18175 strtold(0, 0);
18176 ; return 0; }
18178 if { (eval echo configure:18179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18179 rm -rf conftest*
18180 glibcpp_cv_func_strtold_use=yes
18181 else
18182 echo "configure: failed program was:" >&5
18183 cat conftest.$ac_ext >&5
18184 rm -rf conftest*
18185 glibcpp_cv_func_strtold_use=no
18187 rm -f conftest*
18188 ac_ext=c
18189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18190 ac_cpp='$CPP $CPPFLAGS'
18191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18193 cross_compiling=$ac_cv_prog_cc_cross
18198 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
18199 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
18200 for ac_func in strtold
18202 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18203 echo "configure:18204: checking for $ac_func" >&5
18204 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18205 echo $ac_n "(cached) $ac_c" 1>&6
18206 else
18207 cat > conftest.$ac_ext <<EOF
18208 #line 18209 "configure"
18209 #include "confdefs.h"
18210 /* System header to define __stub macros and hopefully few prototypes,
18211 which can conflict with char $ac_func(); below. */
18212 #include <assert.h>
18213 /* Override any gcc2 internal prototype to avoid an error. */
18214 /* We use char because int might match the return type of a gcc2
18215 builtin and then its argument prototype would still apply. */
18216 char $ac_func();
18218 int main() {
18220 /* The GNU C library defines this for functions which it implements
18221 to always fail with ENOSYS. Some functions are actually named
18222 something starting with __ and the normal name is an alias. */
18223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18224 choke me
18225 #else
18226 $ac_func();
18227 #endif
18229 ; return 0; }
18231 if { (eval echo configure:18232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18232 rm -rf conftest*
18233 eval "ac_cv_func_$ac_func=yes"
18234 else
18235 echo "configure: failed program was:" >&5
18236 cat conftest.$ac_ext >&5
18237 rm -rf conftest*
18238 eval "ac_cv_func_$ac_func=no"
18240 rm -f conftest*
18243 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18244 echo "$ac_t""yes" 1>&6
18245 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18246 cat >> confdefs.h <<EOF
18247 #define $ac_tr_func 1
18250 else
18251 echo "$ac_t""no" 1>&6
18253 done
18258 CXXFLAGS="$ac_save_CXXFLAGS"
18261 for ac_hdr in unistd.h
18263 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18264 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18265 echo "configure:18266: checking for $ac_hdr" >&5
18266 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18267 echo $ac_n "(cached) $ac_c" 1>&6
18268 else
18269 cat > conftest.$ac_ext <<EOF
18270 #line 18271 "configure"
18271 #include "confdefs.h"
18272 #include <$ac_hdr>
18274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18275 { (eval echo configure:18276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18277 if test -z "$ac_err"; then
18278 rm -rf conftest*
18279 eval "ac_cv_header_$ac_safe=yes"
18280 else
18281 echo "$ac_err" >&5
18282 echo "configure: failed program was:" >&5
18283 cat conftest.$ac_ext >&5
18284 rm -rf conftest*
18285 eval "ac_cv_header_$ac_safe=no"
18287 rm -f conftest*
18289 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18290 echo "$ac_t""yes" 1>&6
18291 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18292 cat >> confdefs.h <<EOF
18293 #define $ac_tr_hdr 1
18296 else
18297 echo "$ac_t""no" 1>&6
18299 done
18301 for ac_func in getpagesize
18303 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18304 echo "configure:18305: checking for $ac_func" >&5
18305 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18306 echo $ac_n "(cached) $ac_c" 1>&6
18307 else
18308 cat > conftest.$ac_ext <<EOF
18309 #line 18310 "configure"
18310 #include "confdefs.h"
18311 /* System header to define __stub macros and hopefully few prototypes,
18312 which can conflict with char $ac_func(); below. */
18313 #include <assert.h>
18314 /* Override any gcc2 internal prototype to avoid an error. */
18315 /* We use char because int might match the return type of a gcc2
18316 builtin and then its argument prototype would still apply. */
18317 char $ac_func();
18319 int main() {
18321 /* The GNU C library defines this for functions which it implements
18322 to always fail with ENOSYS. Some functions are actually named
18323 something starting with __ and the normal name is an alias. */
18324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18325 choke me
18326 #else
18327 $ac_func();
18328 #endif
18330 ; return 0; }
18332 if { (eval echo configure:18333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18333 rm -rf conftest*
18334 eval "ac_cv_func_$ac_func=yes"
18335 else
18336 echo "configure: failed program was:" >&5
18337 cat conftest.$ac_ext >&5
18338 rm -rf conftest*
18339 eval "ac_cv_func_$ac_func=no"
18341 rm -f conftest*
18344 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18345 echo "$ac_t""yes" 1>&6
18346 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18347 cat >> confdefs.h <<EOF
18348 #define $ac_tr_func 1
18351 else
18352 echo "$ac_t""no" 1>&6
18354 done
18356 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18357 echo "configure:18358: checking for working mmap" >&5
18358 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18359 echo $ac_n "(cached) $ac_c" 1>&6
18360 else
18361 if test "$cross_compiling" = yes; then
18362 ac_cv_func_mmap_fixed_mapped=no
18363 else
18364 cat > conftest.$ac_ext <<EOF
18365 #line 18366 "configure"
18366 #include "confdefs.h"
18368 /* Thanks to Mike Haertel and Jim Avera for this test.
18369 Here is a matrix of mmap possibilities:
18370 mmap private not fixed
18371 mmap private fixed at somewhere currently unmapped
18372 mmap private fixed at somewhere already mapped
18373 mmap shared not fixed
18374 mmap shared fixed at somewhere currently unmapped
18375 mmap shared fixed at somewhere already mapped
18376 For private mappings, we should verify that changes cannot be read()
18377 back from the file, nor mmap's back from the file at a different
18378 address. (There have been systems where private was not correctly
18379 implemented like the infamous i386 svr4.0, and systems where the
18380 VM page cache was not coherent with the filesystem buffer cache
18381 like early versions of FreeBSD and possibly contemporary NetBSD.)
18382 For shared mappings, we should conversely verify that changes get
18383 propogated back to all the places they're supposed to be.
18385 Grep wants private fixed already mapped.
18386 The main things grep needs to know about mmap are:
18387 * does it exist and is it safe to write into the mmap'd area
18388 * how to use it (BSD variants) */
18389 #include <sys/types.h>
18390 #include <fcntl.h>
18391 #include <sys/mman.h>
18393 /* This mess was copied from the GNU getpagesize.h. */
18394 #ifndef HAVE_GETPAGESIZE
18395 # ifdef HAVE_UNISTD_H
18396 # include <unistd.h>
18397 # endif
18399 /* Assume that all systems that can run configure have sys/param.h. */
18400 # ifndef HAVE_SYS_PARAM_H
18401 # define HAVE_SYS_PARAM_H 1
18402 # endif
18404 # ifdef _SC_PAGESIZE
18405 # define getpagesize() sysconf(_SC_PAGESIZE)
18406 # else /* no _SC_PAGESIZE */
18407 # ifdef HAVE_SYS_PARAM_H
18408 # include <sys/param.h>
18409 # ifdef EXEC_PAGESIZE
18410 # define getpagesize() EXEC_PAGESIZE
18411 # else /* no EXEC_PAGESIZE */
18412 # ifdef NBPG
18413 # define getpagesize() NBPG * CLSIZE
18414 # ifndef CLSIZE
18415 # define CLSIZE 1
18416 # endif /* no CLSIZE */
18417 # else /* no NBPG */
18418 # ifdef NBPC
18419 # define getpagesize() NBPC
18420 # else /* no NBPC */
18421 # ifdef PAGESIZE
18422 # define getpagesize() PAGESIZE
18423 # endif /* PAGESIZE */
18424 # endif /* no NBPC */
18425 # endif /* no NBPG */
18426 # endif /* no EXEC_PAGESIZE */
18427 # else /* no HAVE_SYS_PARAM_H */
18428 # define getpagesize() 8192 /* punt totally */
18429 # endif /* no HAVE_SYS_PARAM_H */
18430 # endif /* no _SC_PAGESIZE */
18432 #endif /* no HAVE_GETPAGESIZE */
18434 #ifdef __cplusplus
18435 extern "C" { void *malloc(unsigned); }
18436 #else
18437 char *malloc();
18438 #endif
18441 main()
18443 char *data, *data2, *data3;
18444 int i, pagesize;
18445 int fd;
18447 pagesize = getpagesize();
18450 * First, make a file with some known garbage in it.
18452 data = malloc(pagesize);
18453 if (!data)
18454 exit(1);
18455 for (i = 0; i < pagesize; ++i)
18456 *(data + i) = rand();
18457 umask(0);
18458 fd = creat("conftestmmap", 0600);
18459 if (fd < 0)
18460 exit(1);
18461 if (write(fd, data, pagesize) != pagesize)
18462 exit(1);
18463 close(fd);
18466 * Next, try to mmap the file at a fixed address which
18467 * already has something else allocated at it. If we can,
18468 * also make sure that we see the same garbage.
18470 fd = open("conftestmmap", O_RDWR);
18471 if (fd < 0)
18472 exit(1);
18473 data2 = malloc(2 * pagesize);
18474 if (!data2)
18475 exit(1);
18476 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18477 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18478 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18479 exit(1);
18480 for (i = 0; i < pagesize; ++i)
18481 if (*(data + i) != *(data2 + i))
18482 exit(1);
18485 * Finally, make sure that changes to the mapped area
18486 * do not percolate back to the file as seen by read().
18487 * (This is a bug on some variants of i386 svr4.0.)
18489 for (i = 0; i < pagesize; ++i)
18490 *(data2 + i) = *(data2 + i) + 1;
18491 data3 = malloc(pagesize);
18492 if (!data3)
18493 exit(1);
18494 if (read(fd, data3, pagesize) != pagesize)
18495 exit(1);
18496 for (i = 0; i < pagesize; ++i)
18497 if (*(data + i) != *(data3 + i))
18498 exit(1);
18499 close(fd);
18500 unlink("conftestmmap");
18501 exit(0);
18505 if { (eval echo configure:18506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18506 then
18507 ac_cv_func_mmap_fixed_mapped=yes
18508 else
18509 echo "configure: failed program was:" >&5
18510 cat conftest.$ac_ext >&5
18511 rm -fr conftest*
18512 ac_cv_func_mmap_fixed_mapped=no
18514 rm -fr conftest*
18519 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18520 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18521 cat >> confdefs.h <<\EOF
18522 #define HAVE_MMAP 1
18531 if test "$CANADIAN" = yes; then
18532 CANADIAN_TRUE=
18533 CANADIAN_FALSE='#'
18534 else
18535 CANADIAN_TRUE='#'
18536 CANADIAN_FALSE=
18540 if test "$NULL_TARGET" = yes; then
18541 NULL_TARGET_TRUE=
18542 NULL_TARGET_FALSE='#'
18543 else
18544 NULL_TARGET_TRUE='#'
18545 NULL_TARGET_FALSE=
18549 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18550 NATIVE_TRUE=
18551 NATIVE_FALSE='#'
18552 else
18553 NATIVE_TRUE='#'
18554 NATIVE_FALSE=
18558 if test -z "$with_cross_host"; then
18559 USE_LIBDIR_TRUE=
18560 USE_LIBDIR_FALSE='#'
18561 else
18562 USE_LIBDIR_TRUE='#'
18563 USE_LIBDIR_FALSE=
18566 cat > confcache <<\EOF
18567 # This file is a shell script that caches the results of configure
18568 # tests run on this system so they can be shared between configure
18569 # scripts and configure runs. It is not useful on other systems.
18570 # If it contains results you don't want to keep, you may remove or edit it.
18572 # By default, configure uses ./config.cache as the cache file,
18573 # creating it if it does not exist already. You can give configure
18574 # the --cache-file=FILE option to use a different cache file; that is
18575 # what configure does when it calls configure scripts in
18576 # subdirectories, so they share the cache.
18577 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18578 # config.status only pays attention to the cache file if you give it the
18579 # --recheck option to rerun configure.
18582 # The following way of writing the cache mishandles newlines in values,
18583 # but we know of no workaround that is simple, portable, and efficient.
18584 # So, don't put newlines in cache variables' values.
18585 # Ultrix sh set writes to stderr and can't be redirected directly,
18586 # and sets the high bit in the cache file unless we assign to the vars.
18587 (set) 2>&1 |
18588 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18589 *ac_space=\ *)
18590 # `set' does not quote correctly, so add quotes (double-quote substitution
18591 # turns \\\\ into \\, and sed turns \\ into \).
18592 sed -n \
18593 -e "s/'/'\\\\''/g" \
18594 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18597 # `set' quotes correctly as required by POSIX, so do not add quotes.
18598 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18600 esac >> confcache
18601 if cmp -s $cache_file confcache; then
18603 else
18604 if test -w $cache_file; then
18605 echo "updating cache $cache_file"
18606 cat confcache > $cache_file
18607 else
18608 echo "not updating unwritable cache $cache_file"
18611 rm -f confcache
18613 if test $ac_cv_header_locale_h = yes; then
18614 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18615 echo "configure:18616: checking for LC_MESSAGES" >&5
18616 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18617 echo $ac_n "(cached) $ac_c" 1>&6
18618 else
18619 cat > conftest.$ac_ext <<EOF
18620 #line 18621 "configure"
18621 #include "confdefs.h"
18622 #include <locale.h>
18623 int main() {
18624 return LC_MESSAGES
18625 ; return 0; }
18627 if { (eval echo configure:18628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18628 rm -rf conftest*
18629 ac_cv_val_LC_MESSAGES=yes
18630 else
18631 echo "configure: failed program was:" >&5
18632 cat conftest.$ac_ext >&5
18633 rm -rf conftest*
18634 ac_cv_val_LC_MESSAGES=no
18636 rm -f conftest*
18639 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18640 if test $ac_cv_val_LC_MESSAGES = yes; then
18641 cat >> confdefs.h <<\EOF
18642 #define HAVE_LC_MESSAGES 1
18648 if test "${multilib}" = "yes"; then
18649 multilib_arg="--enable-multilib"
18650 else
18651 multilib_arg=
18655 # Generate the various Makefiles, include files, and scripts.
18657 # This helps subvert libstdcxx_interface, as calculated by devo/config.if
18658 # Needed so that g++ can find the correct include subdir automatically.
18659 INTERFACE=v3
18661 # Check for the interface version number for specifying where header
18662 # files are installed, if a version number is provided.
18663 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
18664 echo "configure:18665: checking for interface version number" >&5
18665 libstdcxx_interface=$INTERFACE
18666 echo "$ac_t""$libstdcxx_interface" 1>&6
18669 # Process the option --with-gxx-include-dir=<path to include-files directory>
18670 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
18671 echo "configure:18672: checking for --with-gxx-include-dir" >&5
18672 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
18673 if test "${with_gxx_include_dir+set}" = set; then
18674 withval="$with_gxx_include_dir"
18675 case "${withval}" in
18676 yes)
18677 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
18678 gxx_include_dir=no
18681 gxx_include_dir=no
18684 gxx_include_dir=${withval}
18686 esac
18687 else
18688 gxx_include_dir=no
18691 echo "$ac_t""$gxx_include_dir" 1>&6
18695 if test x${gxx_include_dir} != xno; then
18696 GXX_INCLUDE_DIR_TRUE=
18697 GXX_INCLUDE_DIR_FALSE='#'
18698 else
18699 GXX_INCLUDE_DIR_TRUE='#'
18700 GXX_INCLUDE_DIR_FALSE=
18703 # Process the option "--enable-version-specific-runtime-libs"
18704 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
18705 echo "configure:18706: checking for --enable-version-specific-runtime-libs" >&5
18706 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
18707 if test "${enable_version_specific_runtime_libs+set}" = set; then
18708 enableval="$enable_version_specific_runtime_libs"
18709 version_specific_libs=yes
18710 # Need the gcc compiler version to know where to install libraries
18711 # and header files if --enable-version-specific-runtime-libs option
18712 # is selected.
18713 gcc_tmp=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $6}'`
18714 gcc_num=`echo ${gcc_tmp} | sed 's/\"//g'`
18715 #gcc_date=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $7}'`
18716 #gcc_version=$gcc_num-$gcc_date
18717 gcc_version=$gcc_num
18720 else
18721 version_specific_libs=no
18724 echo "$ac_t""$version_specific_libs" 1>&6
18725 if test x${version_specific_libs} = xyes; then
18728 if test x${version_specific_libs} = xyes; then
18729 VERSION_SPECIFIC_LIBS_TRUE=
18730 VERSION_SPECIFIC_LIBS_FALSE='#'
18731 else
18732 VERSION_SPECIFIC_LIBS_TRUE='#'
18733 VERSION_SPECIFIC_LIBS_FALSE=
18735 echo "configure: warning: version specific directory is: $gcc_version" 1>&2
18740 # Export all the include and flag information to makefiles.
18742 # Root level of the include sources.
18743 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
18745 # Can either use include/c or include/c_std to grab "C" headers. This
18746 # variable is set to the include directory currently in use.
18747 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_SHADOW
18749 # Passed down for cross compilers, canadian crosses.
18750 TOPLEVEL_INCLUDES='-I$(includedir)'
18752 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
18754 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
18756 #if GLIBCPP_NEED_LIBIO
18757 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
18758 #else
18759 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
18760 #endif
18762 #if GLIBCPP_USE_CSHADOW
18763 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
18764 # -I$(top_blddir)/cshadow'
18765 #else
18766 CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
18767 #endif
18769 # Now, export this to all the little Makefiles....
18778 # Optimization flags that are probably a good idea for thrill-seekers. Just
18779 # uncomment the lines below and make, everything else is ready to go...
18780 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
18781 OPTIMIZE_CXXFLAGS=
18784 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
18788 # This should be done by mkincludedir, but hack around it now.
18789 blddir=`pwd`
18790 echo "checking for $blddir/include"
18792 if test ! -d "$blddir/include"; then
18793 mkdir "$blddir/include"
18796 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18797 # so that multilib installs will end up installed in the correct
18798 # place. To work around this not being passed down from config-ml.in
18799 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18800 # append it here.
18801 trap '' 1 2 15
18802 cat > confcache <<\EOF
18803 # This file is a shell script that caches the results of configure
18804 # tests run on this system so they can be shared between configure
18805 # scripts and configure runs. It is not useful on other systems.
18806 # If it contains results you don't want to keep, you may remove or edit it.
18808 # By default, configure uses ./config.cache as the cache file,
18809 # creating it if it does not exist already. You can give configure
18810 # the --cache-file=FILE option to use a different cache file; that is
18811 # what configure does when it calls configure scripts in
18812 # subdirectories, so they share the cache.
18813 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18814 # config.status only pays attention to the cache file if you give it the
18815 # --recheck option to rerun configure.
18818 # The following way of writing the cache mishandles newlines in values,
18819 # but we know of no workaround that is simple, portable, and efficient.
18820 # So, don't put newlines in cache variables' values.
18821 # Ultrix sh set writes to stderr and can't be redirected directly,
18822 # and sets the high bit in the cache file unless we assign to the vars.
18823 (set) 2>&1 |
18824 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18825 *ac_space=\ *)
18826 # `set' does not quote correctly, so add quotes (double-quote substitution
18827 # turns \\\\ into \\, and sed turns \\ into \).
18828 sed -n \
18829 -e "s/'/'\\\\''/g" \
18830 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18833 # `set' quotes correctly as required by POSIX, so do not add quotes.
18834 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18836 esac >> confcache
18837 if cmp -s $cache_file confcache; then
18839 else
18840 if test -w $cache_file; then
18841 echo "updating cache $cache_file"
18842 cat confcache > $cache_file
18843 else
18844 echo "not updating unwritable cache $cache_file"
18847 rm -f confcache
18849 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18851 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18852 # Let make expand exec_prefix.
18853 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18855 # Any assignment to VPATH causes Sun make to only execute
18856 # the first set of double-colon rules, so remove it if not needed.
18857 # If there is a colon in the path, we need to keep it.
18858 if test "x$srcdir" = x.; then
18859 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18862 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18864 DEFS=-DHAVE_CONFIG_H
18866 # Without the "./", some shells look in PATH for config.status.
18867 : ${CONFIG_STATUS=./config.status}
18869 echo creating $CONFIG_STATUS
18870 rm -f $CONFIG_STATUS
18871 cat > $CONFIG_STATUS <<EOF
18872 #! /bin/sh
18873 # Generated automatically by configure.
18874 # Run this file to recreate the current configuration.
18875 # This directory was configured as follows,
18876 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18878 # $0 $ac_configure_args
18880 # Compiler output produced by configure, useful for debugging
18881 # configure, is in ./config.log if it exists.
18883 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18884 for ac_option
18886 case "\$ac_option" in
18887 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18888 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18889 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18890 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18891 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18892 exit 0 ;;
18893 -help | --help | --hel | --he | --h)
18894 echo "\$ac_cs_usage"; exit 0 ;;
18895 *) echo "\$ac_cs_usage"; exit 1 ;;
18896 esac
18897 done
18899 ac_given_srcdir=$srcdir
18900 ac_given_INSTALL="$INSTALL"
18902 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
18904 cat >> $CONFIG_STATUS <<EOF
18906 # Protect against being on the right side of a sed subst in config.status.
18907 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18908 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18909 $ac_vpsub
18910 $extrasub
18911 s%@SHELL@%$SHELL%g
18912 s%@CFLAGS@%$CFLAGS%g
18913 s%@CPPFLAGS@%$CPPFLAGS%g
18914 s%@CXXFLAGS@%$CXXFLAGS%g
18915 s%@FFLAGS@%$FFLAGS%g
18916 s%@DEFS@%$DEFS%g
18917 s%@LDFLAGS@%$LDFLAGS%g
18918 s%@LIBS@%$LIBS%g
18919 s%@exec_prefix@%$exec_prefix%g
18920 s%@prefix@%$prefix%g
18921 s%@program_transform_name@%$program_transform_name%g
18922 s%@bindir@%$bindir%g
18923 s%@sbindir@%$sbindir%g
18924 s%@libexecdir@%$libexecdir%g
18925 s%@datadir@%$datadir%g
18926 s%@sysconfdir@%$sysconfdir%g
18927 s%@sharedstatedir@%$sharedstatedir%g
18928 s%@localstatedir@%$localstatedir%g
18929 s%@libdir@%$libdir%g
18930 s%@includedir@%$includedir%g
18931 s%@oldincludedir@%$oldincludedir%g
18932 s%@infodir@%$infodir%g
18933 s%@mandir@%$mandir%g
18934 s%@host@%$host%g
18935 s%@host_alias@%$host_alias%g
18936 s%@host_cpu@%$host_cpu%g
18937 s%@host_vendor@%$host_vendor%g
18938 s%@host_os@%$host_os%g
18939 s%@target@%$target%g
18940 s%@target_alias@%$target_alias%g
18941 s%@target_cpu@%$target_cpu%g
18942 s%@target_vendor@%$target_vendor%g
18943 s%@target_os@%$target_os%g
18944 s%@build@%$build%g
18945 s%@build_alias@%$build_alias%g
18946 s%@build_cpu@%$build_cpu%g
18947 s%@build_vendor@%$build_vendor%g
18948 s%@build_os@%$build_os%g
18949 s%@glibcpp_basedir@%$glibcpp_basedir%g
18950 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18951 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18952 s%@INSTALL_DATA@%$INSTALL_DATA%g
18953 s%@PACKAGE@%$PACKAGE%g
18954 s%@VERSION@%$VERSION%g
18955 s%@ACLOCAL@%$ACLOCAL%g
18956 s%@AUTOCONF@%$AUTOCONF%g
18957 s%@AUTOMAKE@%$AUTOMAKE%g
18958 s%@AUTOHEADER@%$AUTOHEADER%g
18959 s%@MAKEINFO@%$MAKEINFO%g
18960 s%@SET_MAKE@%$SET_MAKE%g
18961 s%@CC@%$CC%g
18962 s%@CXX@%$CXX%g
18963 s%@AS@%$AS%g
18964 s%@AR@%$AR%g
18965 s%@RANLIB@%$RANLIB%g
18966 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18967 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18968 s%@MAINT@%$MAINT%g
18969 s%@EXEEXT@%$EXEEXT%g
18970 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
18971 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
18972 s%@LN_S@%$LN_S%g
18973 s%@OBJEXT@%$OBJEXT%g
18974 s%@STRIP@%$STRIP%g
18975 s%@LIBTOOL@%$LIBTOOL%g
18976 s%@CXXCPP@%$CXXCPP%g
18977 s%@enable_shared@%$enable_shared%g
18978 s%@enable_static@%$enable_static%g
18979 s%@ifGNUmake@%$ifGNUmake%g
18980 s%@CPP@%$CPP%g
18981 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18982 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18983 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18984 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18985 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18986 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
18987 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
18988 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18989 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18990 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18991 s%@WERROR@%$WERROR%g
18992 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
18993 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18994 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18995 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18996 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18997 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18998 s%@libinst_wstring_la@%$libinst_wstring_la%g
18999 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
19000 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
19001 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
19002 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
19003 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
19004 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
19005 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
19006 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
19007 s%@libstdcxx_interface@%$libstdcxx_interface%g
19008 s%@gxx_include_dir@%$gxx_include_dir%g
19009 s%@GXX_INCLUDE_DIR_TRUE@%$GXX_INCLUDE_DIR_TRUE%g
19010 s%@GXX_INCLUDE_DIR_FALSE@%$GXX_INCLUDE_DIR_FALSE%g
19011 s%@gcc_version@%$gcc_version%g
19012 s%@VERSION_SPECIFIC_LIBS_TRUE@%$VERSION_SPECIFIC_LIBS_TRUE%g
19013 s%@VERSION_SPECIFIC_LIBS_FALSE@%$VERSION_SPECIFIC_LIBS_FALSE%g
19014 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
19015 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
19016 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
19017 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
19018 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
19019 s%@CSHADOW_INCLUDES@%$CSHADOW_INCLUDES%g
19020 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
19021 s%@WARN_FLAGS@%$WARN_FLAGS%g
19023 CEOF
19026 cat >> $CONFIG_STATUS <<\EOF
19028 # Split the substitutions into bite-sized pieces for seds with
19029 # small command number limits, like on Digital OSF/1 and HP-UX.
19030 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19031 ac_file=1 # Number of current file.
19032 ac_beg=1 # First line for current file.
19033 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19034 ac_more_lines=:
19035 ac_sed_cmds=""
19036 while $ac_more_lines; do
19037 if test $ac_beg -gt 1; then
19038 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19039 else
19040 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19042 if test ! -s conftest.s$ac_file; then
19043 ac_more_lines=false
19044 rm -f conftest.s$ac_file
19045 else
19046 if test -z "$ac_sed_cmds"; then
19047 ac_sed_cmds="sed -f conftest.s$ac_file"
19048 else
19049 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19051 ac_file=`expr $ac_file + 1`
19052 ac_beg=$ac_end
19053 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19055 done
19056 if test -z "$ac_sed_cmds"; then
19057 ac_sed_cmds=cat
19061 cat >> $CONFIG_STATUS <<EOF
19063 CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
19065 cat >> $CONFIG_STATUS <<\EOF
19066 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19067 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19068 case "$ac_file" in
19069 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19070 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19071 *) ac_file_in="${ac_file}.in" ;;
19072 esac
19074 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19076 # Remove last slash and all that follows it. Not all systems have dirname.
19077 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19078 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19079 # The file is in a subdirectory.
19080 test ! -d "$ac_dir" && mkdir "$ac_dir"
19081 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19082 # A "../" for each directory in $ac_dir_suffix.
19083 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19084 else
19085 ac_dir_suffix= ac_dots=
19088 case "$ac_given_srcdir" in
19089 .) srcdir=.
19090 if test -z "$ac_dots"; then top_srcdir=.
19091 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19092 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19093 *) # Relative path.
19094 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19095 top_srcdir="$ac_dots$ac_given_srcdir" ;;
19096 esac
19098 case "$ac_given_INSTALL" in
19099 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19100 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19101 esac
19103 echo creating "$ac_file"
19104 rm -f "$ac_file"
19105 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19106 case "$ac_file" in
19107 *Makefile*) ac_comsub="1i\\
19108 # $configure_input" ;;
19109 *) ac_comsub= ;;
19110 esac
19112 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19113 sed -e "$ac_comsub
19114 s%@configure_input@%$configure_input%g
19115 s%@srcdir@%$srcdir%g
19116 s%@top_srcdir@%$top_srcdir%g
19117 s%@INSTALL@%$INSTALL%g
19118 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19119 fi; done
19120 rm -f conftest.s*
19122 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19123 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19125 # ac_d sets the value in "#define NAME VALUE" lines.
19126 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19127 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
19128 ac_dC='\3'
19129 ac_dD='%g'
19130 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19131 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19132 ac_uB='\([ ]\)%\1#\2define\3'
19133 ac_uC=' '
19134 ac_uD='\4%g'
19135 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19136 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19137 ac_eB='$%\1#\2define\3'
19138 ac_eC=' '
19139 ac_eD='%g'
19141 if test "${CONFIG_HEADERS+set}" != set; then
19143 cat >> $CONFIG_STATUS <<EOF
19144 CONFIG_HEADERS="config.h"
19146 cat >> $CONFIG_STATUS <<\EOF
19148 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
19149 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19150 case "$ac_file" in
19151 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19152 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19153 *) ac_file_in="${ac_file}.in" ;;
19154 esac
19156 echo creating $ac_file
19158 rm -f conftest.frag conftest.in conftest.out
19159 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19160 cat $ac_file_inputs > conftest.in
19164 # Transform confdefs.h into a sed script conftest.vals that substitutes
19165 # the proper values into config.h.in to produce config.h. And first:
19166 # Protect against being on the right side of a sed subst in config.status.
19167 # Protect against being in an unquoted here document in config.status.
19168 rm -f conftest.vals
19169 cat > conftest.hdr <<\EOF
19170 s/[\\&%]/\\&/g
19171 s%[\\$`]%\\&%g
19172 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19173 s%ac_d%ac_u%gp
19174 s%ac_u%ac_e%gp
19176 sed -n -f conftest.hdr confdefs.h > conftest.vals
19177 rm -f conftest.hdr
19179 # This sed command replaces #undef with comments. This is necessary, for
19180 # example, in the case of _POSIX_SOURCE, which is predefined and required
19181 # on some systems where configure will not decide to define it.
19182 cat >> conftest.vals <<\EOF
19183 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19186 # Break up conftest.vals because some shells have a limit on
19187 # the size of here documents, and old seds have small limits too.
19189 rm -f conftest.tail
19190 while :
19192 ac_lines=`grep -c . conftest.vals`
19193 # grep -c gives empty output for an empty file on some AIX systems.
19194 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19195 # Write a limited-size here document to conftest.frag.
19196 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19197 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19198 echo 'CEOF
19199 sed -f conftest.frag conftest.in > conftest.out
19200 rm -f conftest.in
19201 mv conftest.out conftest.in
19202 ' >> $CONFIG_STATUS
19203 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19204 rm -f conftest.vals
19205 mv conftest.tail conftest.vals
19206 done
19207 rm -f conftest.vals
19209 cat >> $CONFIG_STATUS <<\EOF
19210 rm -f conftest.frag conftest.h
19211 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19212 cat conftest.in >> conftest.h
19213 rm -f conftest.in
19214 if cmp -s $ac_file conftest.h 2>/dev/null; then
19215 echo "$ac_file is unchanged"
19216 rm -f conftest.h
19217 else
19218 # Remove last slash and all that follows it. Not all systems have dirname.
19219 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19220 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19221 # The file is in a subdirectory.
19222 test ! -d "$ac_dir" && mkdir "$ac_dir"
19224 rm -f $ac_file
19225 mv conftest.h $ac_file
19227 fi; done
19231 cat >> $CONFIG_STATUS <<EOF
19232 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"
19233 ac_dests="include/bits/os_defines.h include/bits/c++io.h src/c++io.cc libio/c_codecvt.c include/bits/c++threads.h include/bits/atomicity.h include/bits/ctype_base.h \
19234 include/bits/ctype_inline.h \
19235 include/bits/ctype_noninline.h include/bits/ctype_base.h \
19236 include/bits/ctype_inline.h \
19237 include/bits/ctype_noninline.h include/bits/ctype_base.h include/bits/ctype_inline.h \
19238 include/bits/ctype_noninline.h"
19241 cat >> $CONFIG_STATUS <<\EOF
19242 srcdir=$ac_given_srcdir
19243 while test -n "$ac_sources"; do
19244 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
19245 set $ac_sources; ac_source=$1; shift; ac_sources=$*
19247 echo "linking $srcdir/$ac_source to $ac_dest"
19249 if test ! -r $srcdir/$ac_source; then
19250 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
19252 rm -f $ac_dest
19254 # Make relative symlinks.
19255 # Remove last slash and all that follows it. Not all systems have dirname.
19256 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
19257 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
19258 # The dest file is in a subdirectory.
19259 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
19260 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
19261 # A "../" for each directory in $ac_dest_dir_suffix.
19262 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
19263 else
19264 ac_dest_dir_suffix= ac_dots=
19267 case "$srcdir" in
19268 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
19269 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
19270 esac
19272 # Make a symlink if possible; otherwise try a hard link.
19273 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19274 ln $srcdir/$ac_source $ac_dest; then :
19275 else
19276 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19278 done
19280 cat >> $CONFIG_STATUS <<EOF
19282 srcdir=${srcdir}
19283 host=${host}
19284 target=${target}
19285 with_multisubdir=${with_multisubdir}
19286 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19287 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19288 glibcpp_basedir=${glibcpp_basedir}
19289 CC="${CC}"
19290 CXX="${CXX}"
19293 cat >> $CONFIG_STATUS <<\EOF
19294 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19295 if test -n "$CONFIG_FILES"; then
19296 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19297 grep '^MULTISUBDIR =' Makefile >> src/Makefile
19299 chmod +x mkcheck
19301 exit 0
19303 chmod +x $CONFIG_STATUS
19304 rm -fr confdefs* $ac_clean_files
19305 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19309 # Generate bits/c++config.h
19310 # NB: This must be the first generated file as others include it. . .
19313 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
19314 if test ! -f stamp-limits; then
19316 touch stamp-limits
19320 # Sanity checking & User-visible messages.
19321 # Checks down here, otherwise they get scrolled off before
19322 # the user will notice.
19324 # Trying to get more people to read documentation. Possibly remove
19325 # check and warn all the time. There is no "informational" AC_MSG_
19326 # macro, so these are going to be printed even when --quiet/--silent
19327 # is given.
19328 if test ! -f stamp-sanity-warned; then
19329 touch stamp-sanity-warned
19330 echo ""
19331 echo "Please make certain that you read the installation information here:"
19332 echo " faster => ${srcdir}/docs/install.html"
19333 echo " slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
19334 echo ""
19335 echo "and the configuration information here:"
19336 echo " faster => ${srcdir}/docs/configopts.html"
19337 echo " slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
19338 echo ""
19339 echo "before proceeding with ${_cv_gnu_make_command}."
19340 echo ""
19344 $srcdir/mkc++config $blddir $srcdir
19345 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling