Remove spurious test of XScale and HARD_FLOAT floags
[official-gcc.git] / libstdc++-v3 / configure
blob6a30003cb793cf6dde856d47ff01951cd37d0d45
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-cstdio enable stdio for target io package. (default)
40 --enable-cstdio=LIB use LIB target-speific io package."
41 ac_help="$ac_help
42 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
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 # Use CXX_libstdcxx so that we do not cause CXX to be cached with the
1179 # flags that come in CXX while configuring libstdc++. They're different
1180 # from those used for all other target libraries. If CXX is set in
1181 # the environment, respect that here.
1182 CXX_libstdcxx=$CXX
1183 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1185 # Extract the first word of "$ac_prog", so it can be a program name with args.
1186 set dummy $ac_prog; ac_word=$2
1187 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1188 echo "configure:1189: checking for $ac_word" >&5
1189 if eval "test \"`echo '$''{'ac_cv_prog_CXX_libstdcxx'+set}'`\" = set"; then
1190 echo $ac_n "(cached) $ac_c" 1>&6
1191 else
1192 if test -n "$CXX_libstdcxx"; then
1193 ac_cv_prog_CXX_libstdcxx="$CXX_libstdcxx" # Let the user override the test.
1194 else
1195 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1196 ac_dummy="$PATH"
1197 for ac_dir in $ac_dummy; do
1198 test -z "$ac_dir" && ac_dir=.
1199 if test -f $ac_dir/$ac_word; then
1200 ac_cv_prog_CXX_libstdcxx="$ac_prog"
1201 break
1203 done
1204 IFS="$ac_save_ifs"
1207 CXX_libstdcxx="$ac_cv_prog_CXX_libstdcxx"
1208 if test -n "$CXX_libstdcxx"; then
1209 echo "$ac_t""$CXX_libstdcxx" 1>&6
1210 else
1211 echo "$ac_t""no" 1>&6
1214 test -n "$CXX_libstdcxx" && break
1215 done
1216 test -n "$CXX_libstdcxx" || CXX_libstdcxx="gcc"
1218 CXX=$CXX_libstdcxx
1220 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1222 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1223 echo "configure:1224: checking whether we are using GNU C++" >&5
1224 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1225 echo $ac_n "(cached) $ac_c" 1>&6
1226 else
1227 cat > conftest.C <<EOF
1228 #ifdef __GNUC__
1229 yes;
1230 #endif
1232 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1233 ac_cv_prog_gxx=yes
1234 else
1235 ac_cv_prog_gxx=no
1239 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1241 if test $ac_cv_prog_gxx = yes; then
1242 GXX=yes
1243 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1244 ac_save_CXXFLAGS="$CXXFLAGS"
1245 CXXFLAGS=
1246 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1247 echo "configure:1248: checking whether ${CXX-g++} accepts -g" >&5
1248 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1249 echo $ac_n "(cached) $ac_c" 1>&6
1250 else
1251 echo 'void f(){}' > conftest.cc
1252 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1253 ac_cv_prog_cxx_g=yes
1254 else
1255 ac_cv_prog_cxx_g=no
1257 rm -f conftest*
1261 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1262 if test "$ac_test_CXXFLAGS" = set; then
1263 CXXFLAGS="$ac_save_CXXFLAGS"
1264 elif test $ac_cv_prog_cxx_g = yes; then
1265 CXXFLAGS="-g -O2"
1266 else
1267 CXXFLAGS="-O2"
1269 else
1270 GXX=
1271 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1275 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1276 set dummy ${ac_tool_prefix}as; ac_word=$2
1277 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1278 echo "configure:1279: checking for $ac_word" >&5
1279 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1280 echo $ac_n "(cached) $ac_c" 1>&6
1281 else
1282 if test -n "$AS"; then
1283 ac_cv_prog_AS="$AS" # Let the user override the test.
1284 else
1285 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1286 ac_dummy="$PATH"
1287 for ac_dir in $ac_dummy; do
1288 test -z "$ac_dir" && ac_dir=.
1289 if test -f $ac_dir/$ac_word; then
1290 ac_cv_prog_AS="${ac_tool_prefix}as"
1291 break
1293 done
1294 IFS="$ac_save_ifs"
1295 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1298 AS="$ac_cv_prog_AS"
1299 if test -n "$AS"; then
1300 echo "$ac_t""$AS" 1>&6
1301 else
1302 echo "$ac_t""no" 1>&6
1307 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1308 set dummy ${ac_tool_prefix}ar; ac_word=$2
1309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1310 echo "configure:1311: checking for $ac_word" >&5
1311 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1312 echo $ac_n "(cached) $ac_c" 1>&6
1313 else
1314 if test -n "$AR"; then
1315 ac_cv_prog_AR="$AR" # Let the user override the test.
1316 else
1317 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1318 ac_dummy="$PATH"
1319 for ac_dir in $ac_dummy; do
1320 test -z "$ac_dir" && ac_dir=.
1321 if test -f $ac_dir/$ac_word; then
1322 ac_cv_prog_AR="${ac_tool_prefix}ar"
1323 break
1325 done
1326 IFS="$ac_save_ifs"
1327 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1330 AR="$ac_cv_prog_AR"
1331 if test -n "$AR"; then
1332 echo "$ac_t""$AR" 1>&6
1333 else
1334 echo "$ac_t""no" 1>&6
1339 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1340 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1341 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1342 echo "configure:1343: checking for $ac_word" >&5
1343 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1344 echo $ac_n "(cached) $ac_c" 1>&6
1345 else
1346 if test -n "$RANLIB"; then
1347 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1348 else
1349 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1350 ac_dummy="$PATH"
1351 for ac_dir in $ac_dummy; do
1352 test -z "$ac_dir" && ac_dir=.
1353 if test -f $ac_dir/$ac_word; then
1354 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1355 break
1357 done
1358 IFS="$ac_save_ifs"
1361 RANLIB="$ac_cv_prog_RANLIB"
1362 if test -n "$RANLIB"; then
1363 echo "$ac_t""$RANLIB" 1>&6
1364 else
1365 echo "$ac_t""no" 1>&6
1369 if test -z "$ac_cv_prog_RANLIB"; then
1370 if test -n "$ac_tool_prefix"; then
1371 # Extract the first word of "ranlib", so it can be a program name with args.
1372 set dummy ranlib; ac_word=$2
1373 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1374 echo "configure:1375: checking for $ac_word" >&5
1375 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1376 echo $ac_n "(cached) $ac_c" 1>&6
1377 else
1378 if test -n "$RANLIB"; then
1379 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1380 else
1381 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1382 ac_dummy="$PATH"
1383 for ac_dir in $ac_dummy; do
1384 test -z "$ac_dir" && ac_dir=.
1385 if test -f $ac_dir/$ac_word; then
1386 ac_cv_prog_RANLIB="ranlib"
1387 break
1389 done
1390 IFS="$ac_save_ifs"
1391 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1394 RANLIB="$ac_cv_prog_RANLIB"
1395 if test -n "$RANLIB"; then
1396 echo "$ac_t""$RANLIB" 1>&6
1397 else
1398 echo "$ac_t""no" 1>&6
1401 else
1402 RANLIB=":"
1407 # Find a good install program. We prefer a C program (faster),
1408 # so one script is as good as another. But avoid the broken or
1409 # incompatible versions:
1410 # SysV /etc/install, /usr/sbin/install
1411 # SunOS /usr/etc/install
1412 # IRIX /sbin/install
1413 # AIX /bin/install
1414 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1415 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1416 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1417 # ./install, which can be erroneously created by make from ./install.sh.
1418 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1419 echo "configure:1420: checking for a BSD compatible install" >&5
1420 if test -z "$INSTALL"; then
1421 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1422 echo $ac_n "(cached) $ac_c" 1>&6
1423 else
1424 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1425 for ac_dir in $PATH; do
1426 # Account for people who put trailing slashes in PATH elements.
1427 case "$ac_dir/" in
1428 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1430 # OSF1 and SCO ODT 3.0 have their own names for install.
1431 # Don't use installbsd from OSF since it installs stuff as root
1432 # by default.
1433 for ac_prog in ginstall scoinst install; do
1434 if test -f $ac_dir/$ac_prog; then
1435 if test $ac_prog = install &&
1436 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1437 # AIX install. It has an incompatible calling convention.
1439 else
1440 ac_cv_path_install="$ac_dir/$ac_prog -c"
1441 break 2
1444 done
1446 esac
1447 done
1448 IFS="$ac_save_IFS"
1451 if test "${ac_cv_path_install+set}" = set; then
1452 INSTALL="$ac_cv_path_install"
1453 else
1454 # As a last resort, use the slow shell script. We don't cache a
1455 # path for INSTALL within a source directory, because that will
1456 # break other packages using the cache if that directory is
1457 # removed, or if the path is relative.
1458 INSTALL="$ac_install_sh"
1461 echo "$ac_t""$INSTALL" 1>&6
1463 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1464 # It thinks the first close brace ends the variable substitution.
1465 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1467 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1469 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1472 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1473 echo "configure:1474: checking whether to enable maintainer-specific portions of Makefiles" >&5
1474 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1475 if test "${enable_maintainer_mode+set}" = set; then
1476 enableval="$enable_maintainer_mode"
1477 USE_MAINTAINER_MODE=$enableval
1478 else
1479 USE_MAINTAINER_MODE=no
1482 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1485 if test $USE_MAINTAINER_MODE = yes; then
1486 MAINTAINER_MODE_TRUE=
1487 MAINTAINER_MODE_FALSE='#'
1488 else
1489 MAINTAINER_MODE_TRUE='#'
1490 MAINTAINER_MODE_FALSE=
1492 MAINT=$MAINTAINER_MODE_TRUE
1496 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1497 # at least currently, we never actually build a program, so we never
1498 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1499 # fails, because we are probably configuring with a cross compiler
1500 # which cant create executables. So we include AC_EXEEXT to keep
1501 # automake happy, but we dont execute it, since we dont care about
1502 # the result.
1503 if false; then
1506 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1507 echo "configure:1508: checking for executable suffix" >&5
1508 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1509 echo $ac_n "(cached) $ac_c" 1>&6
1510 else
1511 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1512 ac_cv_exeext=.exe
1513 else
1514 rm -f conftest*
1515 echo 'int main () { return 0; }' > conftest.$ac_ext
1516 ac_cv_exeext=
1517 if { (eval echo configure:1518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1518 for file in conftest.*; do
1519 case $file in
1520 *.c | *.o | *.obj) ;;
1521 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1522 esac
1523 done
1524 else
1525 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1527 rm -f conftest*
1528 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1532 EXEEXT=""
1533 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1534 echo "$ac_t""${ac_cv_exeext}" 1>&6
1535 ac_exeext=$EXEEXT
1539 # configure.host sets the following important variables
1540 # glibcpp_cflags - host specific C compiler flags
1541 # glibcpp_cxxflags - host specific C++ compiler flags
1542 glibcpp_cflags=
1543 glibcpp_cxxflags=
1545 . ${glibcpp_basedir}/configure.host
1547 case ${glibcpp_basedir} in
1548 /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1549 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1550 esac
1552 # This does for the target what configure.host does for the host. In
1553 # addition to modifying the same flags, it also sets up symlinks.
1555 . ${glibcpp_basedir}/configure.target
1556 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1557 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1561 GLIBCPP_CFLAGS="${glibcpp_cflags}"
1562 GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1567 # Check whether --enable-shared or --disable-shared was given.
1568 if test "${enable_shared+set}" = set; then
1569 enableval="$enable_shared"
1570 p=${PACKAGE-default}
1571 case "$enableval" in
1572 yes) enable_shared=yes ;;
1573 no) enable_shared=no ;;
1575 enable_shared=no
1576 # Look at the argument we got. We use all the common list separators.
1577 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1578 for pkg in $enableval; do
1579 if test "X$pkg" = "X$p"; then
1580 enable_shared=yes
1582 done
1583 IFS="$ac_save_ifs"
1585 esac
1586 else
1587 enable_shared=yes
1590 # Check whether --enable-static or --disable-static was given.
1591 if test "${enable_static+set}" = set; then
1592 enableval="$enable_static"
1593 p=${PACKAGE-default}
1594 case "$enableval" in
1595 yes) enable_static=yes ;;
1596 no) enable_static=no ;;
1598 enable_static=no
1599 # Look at the argument we got. We use all the common list separators.
1600 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1601 for pkg in $enableval; do
1602 if test "X$pkg" = "X$p"; then
1603 enable_static=yes
1605 done
1606 IFS="$ac_save_ifs"
1608 esac
1609 else
1610 enable_static=yes
1613 # Check whether --enable-fast-install or --disable-fast-install was given.
1614 if test "${enable_fast_install+set}" = set; then
1615 enableval="$enable_fast_install"
1616 p=${PACKAGE-default}
1617 case "$enableval" in
1618 yes) enable_fast_install=yes ;;
1619 no) enable_fast_install=no ;;
1621 enable_fast_install=no
1622 # Look at the argument we got. We use all the common list separators.
1623 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1624 for pkg in $enableval; do
1625 if test "X$pkg" = "X$p"; then
1626 enable_fast_install=yes
1628 done
1629 IFS="$ac_save_ifs"
1631 esac
1632 else
1633 enable_fast_install=yes
1636 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1637 if test "${with_gnu_ld+set}" = set; then
1638 withval="$with_gnu_ld"
1639 test "$withval" = no || with_gnu_ld=yes
1640 else
1641 with_gnu_ld=no
1644 ac_prog=ld
1645 if test "$ac_cv_prog_gcc" = yes; then
1646 # Check if gcc -print-prog-name=ld gives a path.
1647 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1648 echo "configure:1649: checking for ld used by GCC" >&5
1649 case $host in
1650 *-*-mingw*)
1651 # gcc leaves a trailing carriage return which upsets mingw
1652 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1654 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1655 esac
1656 case "$ac_prog" in
1657 # Accept absolute paths.
1658 [\\/]* | [A-Za-z]:[\\/]*)
1659 re_direlt='/[^/][^/]*/\.\./'
1660 # Canonicalize the path of ld
1661 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1662 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1663 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1664 done
1665 test -z "$LD" && LD="$ac_prog"
1668 # If it fails, then pretend we aren't using GCC.
1669 ac_prog=ld
1672 # If it is relative, then search for the first ld in PATH.
1673 with_gnu_ld=unknown
1675 esac
1676 elif test "$with_gnu_ld" = yes; then
1677 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1678 echo "configure:1679: checking for GNU ld" >&5
1679 else
1680 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1681 echo "configure:1682: checking for non-GNU ld" >&5
1683 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1684 echo $ac_n "(cached) $ac_c" 1>&6
1685 else
1686 if test -z "$LD"; then
1687 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1688 for ac_dir in $PATH; do
1689 test -z "$ac_dir" && ac_dir=.
1690 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1691 ac_cv_path_LD="$ac_dir/$ac_prog"
1692 # Check to see if the program is GNU ld. I'd rather use --version,
1693 # but apparently some GNU ld's only accept -v.
1694 # Break only if it was the GNU/non-GNU ld that we prefer.
1695 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1696 test "$with_gnu_ld" != no && break
1697 else
1698 test "$with_gnu_ld" != yes && break
1701 done
1702 IFS="$ac_save_ifs"
1703 else
1704 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1708 LD="$ac_cv_path_LD"
1709 if test -n "$LD"; then
1710 echo "$ac_t""$LD" 1>&6
1711 else
1712 echo "$ac_t""no" 1>&6
1714 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1715 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1716 echo "configure:1717: checking if the linker ($LD) is GNU ld" >&5
1717 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1718 echo $ac_n "(cached) $ac_c" 1>&6
1719 else
1720 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1721 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1722 ac_cv_prog_gnu_ld=yes
1723 else
1724 ac_cv_prog_gnu_ld=no
1728 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1729 with_gnu_ld=$ac_cv_prog_gnu_ld
1732 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1733 echo "configure:1734: checking for $LD option to reload object files" >&5
1734 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1735 echo $ac_n "(cached) $ac_c" 1>&6
1736 else
1737 lt_cv_ld_reload_flag='-r'
1740 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1741 reload_flag=$lt_cv_ld_reload_flag
1742 test -n "$reload_flag" && reload_flag=" $reload_flag"
1744 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1745 echo "configure:1746: checking for BSD-compatible nm" >&5
1746 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1747 echo $ac_n "(cached) $ac_c" 1>&6
1748 else
1749 if test -n "$NM"; then
1750 # Let the user override the test.
1751 ac_cv_path_NM="$NM"
1752 else
1753 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1754 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1755 test -z "$ac_dir" && ac_dir=.
1756 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1757 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1758 # Check to see if the nm accepts a BSD-compat flag.
1759 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1760 # nm: unknown option "B" ignored
1761 # Tru64's nm complains that /dev/null is an invalid object file
1762 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1763 ac_cv_path_NM="$tmp_nm -B"
1764 break
1765 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1766 ac_cv_path_NM="$tmp_nm -p"
1767 break
1768 else
1769 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1770 continue # so that we can try to find one that supports BSD flags
1773 done
1774 IFS="$ac_save_ifs"
1775 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1779 NM="$ac_cv_path_NM"
1780 echo "$ac_t""$NM" 1>&6
1782 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1783 echo "configure:1784: checking whether ln -s works" >&5
1784 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1785 echo $ac_n "(cached) $ac_c" 1>&6
1786 else
1787 rm -f conftestdata
1788 if ln -s X conftestdata 2>/dev/null
1789 then
1790 rm -f conftestdata
1791 ac_cv_prog_LN_S="ln -s"
1792 else
1793 ac_cv_prog_LN_S=ln
1796 LN_S="$ac_cv_prog_LN_S"
1797 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1798 echo "$ac_t""yes" 1>&6
1799 else
1800 echo "$ac_t""no" 1>&6
1803 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1804 echo "configure:1805: checking how to recognise dependant libraries" >&5
1805 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1806 echo $ac_n "(cached) $ac_c" 1>&6
1807 else
1808 lt_cv_file_magic_cmd='$MAGIC_CMD'
1809 lt_cv_file_magic_test_file=
1810 lt_cv_deplibs_check_method='unknown'
1811 # Need to set the preceding variable on all platforms that support
1812 # interlibrary dependencies.
1813 # 'none' -- dependencies not supported.
1814 # `unknown' -- same as none, but documents that we really don't know.
1815 # 'pass_all' -- all dependencies passed with no checks.
1816 # 'test_compile' -- check by making test program.
1817 # 'file_magic [regex]' -- check by looking for files in library path
1818 # which responds to the $file_magic_cmd with a given egrep regex.
1819 # If you have `file' or equivalent on your system and you're not sure
1820 # whether `pass_all' will *always* work, you probably want this one.
1822 case "$host_os" in
1823 aix4*)
1824 lt_cv_deplibs_check_method=pass_all
1827 beos*)
1828 lt_cv_deplibs_check_method=pass_all
1831 bsdi4*)
1832 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1833 lt_cv_file_magic_cmd='/usr/bin/file -L'
1834 lt_cv_file_magic_test_file=/shlib/libc.so
1837 cygwin* | mingw* |pw32*)
1838 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1839 lt_cv_file_magic_cmd='$OBJDUMP -f'
1842 freebsd* )
1843 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1844 case "$host_cpu" in
1845 i*86 )
1846 # Not sure whether the presence of OpenBSD here was a mistake.
1847 # Let's accept both of them until this is cleared up.
1848 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1849 lt_cv_file_magic_cmd=/usr/bin/file
1850 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1852 esac
1853 else
1854 lt_cv_deplibs_check_method=pass_all
1858 gnu*)
1859 lt_cv_deplibs_check_method=pass_all
1862 hpux10.20*)
1863 # TODO: Does this work for hpux-11 too?
1864 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1865 lt_cv_file_magic_cmd=/usr/bin/file
1866 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1869 irix5* | irix6*)
1870 case "$host_os" in
1871 irix5*)
1872 # this will be overridden with pass_all, but let us keep it just in case
1873 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1876 case "$LD" in
1877 *-32|*"-32 ") libmagic=32-bit;;
1878 *-n32|*"-n32 ") libmagic=N32;;
1879 *-64|*"-64 ") libmagic=64-bit;;
1880 *) libmagic=never-match;;
1881 esac
1882 # this will be overridden with pass_all, but let us keep it just in case
1883 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1885 esac
1886 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1887 lt_cv_deplibs_check_method=pass_all
1890 # This must be Linux ELF.
1891 linux-gnu*)
1892 case "$host_cpu" in
1893 alpha* | i*86 | powerpc* | sparc* | ia64* )
1894 lt_cv_deplibs_check_method=pass_all ;;
1896 # glibc up to 2.1.1 does not perform some relocations on ARM
1897 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1898 esac
1899 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1902 netbsd*)
1903 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1904 else
1905 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1906 lt_cv_file_magic_cmd='/usr/bin/file -L'
1907 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1911 osf3* | osf4* | osf5*)
1912 # this will be overridden with pass_all, but let us keep it just in case
1913 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1914 lt_cv_file_magic_test_file=/shlib/libc.so
1915 lt_cv_deplibs_check_method=pass_all
1918 sco3.2v5*)
1919 lt_cv_deplibs_check_method=pass_all
1922 solaris*)
1923 lt_cv_deplibs_check_method=pass_all
1924 lt_cv_file_magic_test_file=/lib/libc.so
1927 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1928 case "$host_vendor" in
1929 ncr)
1930 lt_cv_deplibs_check_method=pass_all
1932 motorola)
1933 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]'
1934 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1936 esac
1938 esac
1942 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1943 file_magic_cmd=$lt_cv_file_magic_cmd
1944 deplibs_check_method=$lt_cv_deplibs_check_method
1946 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1947 echo "configure:1948: checking for object suffix" >&5
1948 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1949 echo $ac_n "(cached) $ac_c" 1>&6
1950 else
1951 rm -f conftest*
1952 echo 'int i = 1;' > conftest.$ac_ext
1953 if { (eval echo configure:1954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1954 for ac_file in conftest.*; do
1955 case $ac_file in
1956 *.c) ;;
1957 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1958 esac
1959 done
1960 else
1961 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1963 rm -f conftest*
1966 echo "$ac_t""$ac_cv_objext" 1>&6
1967 OBJEXT=$ac_cv_objext
1968 ac_objext=$ac_cv_objext
1970 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1972 # Only perform the check for file, if the check method requires it
1973 case "$deplibs_check_method" in
1974 file_magic*)
1975 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1976 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1977 echo "configure:1978: checking for ${ac_tool_prefix}file" >&5
1978 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1979 echo $ac_n "(cached) $ac_c" 1>&6
1980 else
1981 case "$MAGIC_CMD" in
1983 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1985 ?:/*)
1986 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1989 ac_save_MAGIC_CMD="$MAGIC_CMD"
1990 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1991 ac_dummy="/usr/bin:$PATH"
1992 for ac_dir in $ac_dummy; do
1993 test -z "$ac_dir" && ac_dir=.
1994 if test -f $ac_dir/${ac_tool_prefix}file; then
1995 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1996 if test -n "$file_magic_test_file"; then
1997 case "$deplibs_check_method" in
1998 "file_magic "*)
1999 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2000 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2001 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2002 egrep "$file_magic_regex" > /dev/null; then
2004 else
2005 cat <<EOF 1>&2
2007 *** Warning: the command libtool uses to detect shared libraries,
2008 *** $file_magic_cmd, produces output that libtool cannot recognize.
2009 *** The result is that libtool may fail to recognize shared libraries
2010 *** as such. This will affect the creation of libtool libraries that
2011 *** depend on shared libraries, but programs linked with such libtool
2012 *** libraries will work regardless of this problem. Nevertheless, you
2013 *** may want to report the problem to your system manager and/or to
2014 *** bug-libtool@gnu.org
2017 fi ;;
2018 esac
2020 break
2022 done
2023 IFS="$ac_save_ifs"
2024 MAGIC_CMD="$ac_save_MAGIC_CMD"
2026 esac
2029 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2030 if test -n "$MAGIC_CMD"; then
2031 echo "$ac_t""$MAGIC_CMD" 1>&6
2032 else
2033 echo "$ac_t""no" 1>&6
2036 if test -z "$lt_cv_path_MAGIC_CMD"; then
2037 if test -n "$ac_tool_prefix"; then
2038 echo $ac_n "checking for file""... $ac_c" 1>&6
2039 echo "configure:2040: checking for file" >&5
2040 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2041 echo $ac_n "(cached) $ac_c" 1>&6
2042 else
2043 case "$MAGIC_CMD" in
2045 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2047 ?:/*)
2048 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2051 ac_save_MAGIC_CMD="$MAGIC_CMD"
2052 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2053 ac_dummy="/usr/bin:$PATH"
2054 for ac_dir in $ac_dummy; do
2055 test -z "$ac_dir" && ac_dir=.
2056 if test -f $ac_dir/file; then
2057 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2058 if test -n "$file_magic_test_file"; then
2059 case "$deplibs_check_method" in
2060 "file_magic "*)
2061 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2062 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2063 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2064 egrep "$file_magic_regex" > /dev/null; then
2066 else
2067 cat <<EOF 1>&2
2069 *** Warning: the command libtool uses to detect shared libraries,
2070 *** $file_magic_cmd, produces output that libtool cannot recognize.
2071 *** The result is that libtool may fail to recognize shared libraries
2072 *** as such. This will affect the creation of libtool libraries that
2073 *** depend on shared libraries, but programs linked with such libtool
2074 *** libraries will work regardless of this problem. Nevertheless, you
2075 *** may want to report the problem to your system manager and/or to
2076 *** bug-libtool@gnu.org
2079 fi ;;
2080 esac
2082 break
2084 done
2085 IFS="$ac_save_ifs"
2086 MAGIC_CMD="$ac_save_MAGIC_CMD"
2088 esac
2091 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2092 if test -n "$MAGIC_CMD"; then
2093 echo "$ac_t""$MAGIC_CMD" 1>&6
2094 else
2095 echo "$ac_t""no" 1>&6
2098 else
2099 MAGIC_CMD=:
2105 esac
2107 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2108 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2109 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2110 echo "configure:2111: checking for $ac_word" >&5
2111 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2112 echo $ac_n "(cached) $ac_c" 1>&6
2113 else
2114 if test -n "$RANLIB"; then
2115 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2116 else
2117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2118 ac_dummy="$PATH"
2119 for ac_dir in $ac_dummy; do
2120 test -z "$ac_dir" && ac_dir=.
2121 if test -f $ac_dir/$ac_word; then
2122 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2123 break
2125 done
2126 IFS="$ac_save_ifs"
2129 RANLIB="$ac_cv_prog_RANLIB"
2130 if test -n "$RANLIB"; then
2131 echo "$ac_t""$RANLIB" 1>&6
2132 else
2133 echo "$ac_t""no" 1>&6
2137 if test -z "$ac_cv_prog_RANLIB"; then
2138 if test -n "$ac_tool_prefix"; then
2139 # Extract the first word of "ranlib", so it can be a program name with args.
2140 set dummy ranlib; ac_word=$2
2141 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2142 echo "configure:2143: checking for $ac_word" >&5
2143 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2144 echo $ac_n "(cached) $ac_c" 1>&6
2145 else
2146 if test -n "$RANLIB"; then
2147 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2148 else
2149 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2150 ac_dummy="$PATH"
2151 for ac_dir in $ac_dummy; do
2152 test -z "$ac_dir" && ac_dir=.
2153 if test -f $ac_dir/$ac_word; then
2154 ac_cv_prog_RANLIB="ranlib"
2155 break
2157 done
2158 IFS="$ac_save_ifs"
2159 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2162 RANLIB="$ac_cv_prog_RANLIB"
2163 if test -n "$RANLIB"; then
2164 echo "$ac_t""$RANLIB" 1>&6
2165 else
2166 echo "$ac_t""no" 1>&6
2169 else
2170 RANLIB=":"
2174 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2175 set dummy ${ac_tool_prefix}strip; ac_word=$2
2176 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2177 echo "configure:2178: checking for $ac_word" >&5
2178 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2179 echo $ac_n "(cached) $ac_c" 1>&6
2180 else
2181 if test -n "$STRIP"; then
2182 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2183 else
2184 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2185 ac_dummy="$PATH"
2186 for ac_dir in $ac_dummy; do
2187 test -z "$ac_dir" && ac_dir=.
2188 if test -f $ac_dir/$ac_word; then
2189 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2190 break
2192 done
2193 IFS="$ac_save_ifs"
2196 STRIP="$ac_cv_prog_STRIP"
2197 if test -n "$STRIP"; then
2198 echo "$ac_t""$STRIP" 1>&6
2199 else
2200 echo "$ac_t""no" 1>&6
2204 if test -z "$ac_cv_prog_STRIP"; then
2205 if test -n "$ac_tool_prefix"; then
2206 # Extract the first word of "strip", so it can be a program name with args.
2207 set dummy strip; ac_word=$2
2208 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2209 echo "configure:2210: checking for $ac_word" >&5
2210 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2211 echo $ac_n "(cached) $ac_c" 1>&6
2212 else
2213 if test -n "$STRIP"; then
2214 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2215 else
2216 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2217 ac_dummy="$PATH"
2218 for ac_dir in $ac_dummy; do
2219 test -z "$ac_dir" && ac_dir=.
2220 if test -f $ac_dir/$ac_word; then
2221 ac_cv_prog_STRIP="strip"
2222 break
2224 done
2225 IFS="$ac_save_ifs"
2226 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2229 STRIP="$ac_cv_prog_STRIP"
2230 if test -n "$STRIP"; then
2231 echo "$ac_t""$STRIP" 1>&6
2232 else
2233 echo "$ac_t""no" 1>&6
2236 else
2237 STRIP=":"
2242 # Check for any special flags to pass to ltconfig.
2243 libtool_flags="--cache-file=$cache_file"
2244 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2245 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2246 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2247 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2248 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2249 libtool_flags="$libtool_flags --enable-dlopen"
2251 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2252 if test "${enable_libtool_lock+set}" = set; then
2253 enableval="$enable_libtool_lock"
2257 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2258 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2260 # Check whether --with-pic or --without-pic was given.
2261 if test "${with_pic+set}" = set; then
2262 withval="$with_pic"
2263 pic_mode="$withval"
2264 else
2265 pic_mode=default
2268 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2269 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2271 # Some flags need to be propagated to the compiler or linker for good
2272 # libtool support.
2273 case "$host" in
2274 *-*-irix6*)
2275 # Find out which ABI we are using.
2276 echo '#line 2277 "configure"' > conftest.$ac_ext
2277 if { (eval echo configure:2278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2278 case "`/usr/bin/file conftest.o`" in
2279 *32-bit*)
2280 LD="${LD-ld} -32"
2282 *N32*)
2283 LD="${LD-ld} -n32"
2285 *64-bit*)
2286 LD="${LD-ld} -64"
2288 esac
2290 rm -rf conftest*
2293 *-*-sco3.2v5*)
2294 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2295 SAVE_CFLAGS="$CFLAGS"
2296 CFLAGS="$CFLAGS -belf"
2297 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2298 echo "configure:2299: checking whether the C compiler needs -belf" >&5
2299 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2300 echo $ac_n "(cached) $ac_c" 1>&6
2301 else
2303 ac_ext=c
2304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2305 ac_cpp='$CPP $CPPFLAGS'
2306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2308 cross_compiling=$ac_cv_prog_cc_cross
2310 cat > conftest.$ac_ext <<EOF
2311 #line 2312 "configure"
2312 #include "confdefs.h"
2314 int main() {
2316 ; return 0; }
2318 if { (eval echo configure:2319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2319 rm -rf conftest*
2320 lt_cv_cc_needs_belf=yes
2321 else
2322 echo "configure: failed program was:" >&5
2323 cat conftest.$ac_ext >&5
2324 rm -rf conftest*
2325 lt_cv_cc_needs_belf=no
2327 rm -f conftest*
2328 ac_ext=c
2329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2330 ac_cpp='$CPP $CPPFLAGS'
2331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2333 cross_compiling=$ac_cv_prog_cc_cross
2337 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2338 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2339 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2340 CFLAGS="$SAVE_CFLAGS"
2345 esac
2347 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2348 echo "configure:2349: checking how to run the C++ preprocessor" >&5
2349 if test -z "$CXXCPP"; then
2350 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2351 echo $ac_n "(cached) $ac_c" 1>&6
2352 else
2353 ac_ext=C
2354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2355 ac_cpp='$CXXCPP $CPPFLAGS'
2356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2358 cross_compiling=$ac_cv_prog_cxx_cross
2359 CXXCPP="${CXX-g++} -E"
2360 cat > conftest.$ac_ext <<EOF
2361 #line 2362 "configure"
2362 #include "confdefs.h"
2363 #include <stdlib.h>
2365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2366 { (eval echo configure:2367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2368 if test -z "$ac_err"; then
2370 else
2371 echo "$ac_err" >&5
2372 echo "configure: failed program was:" >&5
2373 cat conftest.$ac_ext >&5
2374 rm -rf conftest*
2375 CXXCPP=/lib/cpp
2377 rm -f conftest*
2378 ac_cv_prog_CXXCPP="$CXXCPP"
2379 ac_ext=c
2380 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2381 ac_cpp='$CPP $CPPFLAGS'
2382 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2383 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2384 cross_compiling=$ac_cv_prog_cc_cross
2387 CXXCPP="$ac_cv_prog_CXXCPP"
2388 echo "$ac_t""$CXXCPP" 1>&6
2391 # Save cache, so that ltconfig can load it
2392 cat > confcache <<\EOF
2393 # This file is a shell script that caches the results of configure
2394 # tests run on this system so they can be shared between configure
2395 # scripts and configure runs. It is not useful on other systems.
2396 # If it contains results you don't want to keep, you may remove or edit it.
2398 # By default, configure uses ./config.cache as the cache file,
2399 # creating it if it does not exist already. You can give configure
2400 # the --cache-file=FILE option to use a different cache file; that is
2401 # what configure does when it calls configure scripts in
2402 # subdirectories, so they share the cache.
2403 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2404 # config.status only pays attention to the cache file if you give it the
2405 # --recheck option to rerun configure.
2408 # The following way of writing the cache mishandles newlines in values,
2409 # but we know of no workaround that is simple, portable, and efficient.
2410 # So, don't put newlines in cache variables' values.
2411 # Ultrix sh set writes to stderr and can't be redirected directly,
2412 # and sets the high bit in the cache file unless we assign to the vars.
2413 (set) 2>&1 |
2414 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2415 *ac_space=\ *)
2416 # `set' does not quote correctly, so add quotes (double-quote substitution
2417 # turns \\\\ into \\, and sed turns \\ into \).
2418 sed -n \
2419 -e "s/'/'\\\\''/g" \
2420 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2423 # `set' quotes correctly as required by POSIX, so do not add quotes.
2424 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2426 esac >> confcache
2427 if cmp -s $cache_file confcache; then
2429 else
2430 if test -w $cache_file; then
2431 echo "updating cache $cache_file"
2432 cat confcache > $cache_file
2433 else
2434 echo "not updating unwritable cache $cache_file"
2437 rm -f confcache
2440 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2441 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2442 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2443 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2444 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2445 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2446 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2447 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2448 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2449 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2451 # Reload cache, that may have been modified by ltconfig
2452 if test -r "$cache_file"; then
2453 echo "loading cache $cache_file"
2454 . $cache_file
2455 else
2456 echo "creating cache $cache_file"
2457 > $cache_file
2461 # This can be used to rebuild libtool when needed
2462 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2464 # Always use our own libtool.
2465 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2467 # Redirect the config.log output again, so that the ltconfig log is not
2468 # clobbered by the next message.
2469 exec 5>>./config.log
2474 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2475 lt_save_CC="$CC"
2476 lt_save_CFLAGS="$CFLAGS"
2477 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2478 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2479 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2480 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2481 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2482 deplibs_check_method="$deplibs_check_method" \
2483 file_magic_cmd="$file_magic_cmd" \
2484 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2485 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2486 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2487 CC="$lt_save_CC"
2488 CFLAGS="$lt_save_CFLAGS"
2490 # Redirect the config.log output again, so that the ltconfig log is not
2491 # clobbered by the next message.
2492 exec 5>>./config.log
2502 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2503 echo "configure:2504: checking for GNU make" >&5
2504 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2505 echo $ac_n "(cached) $ac_c" 1>&6
2506 else
2507 _cv_gnu_make_command='' ;
2508 for a in "${MAKE:-make}" make gmake gnumake ; do
2509 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2510 then
2511 _cv_gnu_make_command=$a ;
2512 break;
2514 done ;
2518 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2519 if test "x$_cv_gnu_make_command" != "x" ; then
2520 ifGNUmake='' ;
2521 else
2522 ifGNUmake='#' ;
2526 if test "x$_cv_gnu_make_command" = "x"; then
2527 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2533 # Check for c++ or library specific bits that don't require linking.
2535 if test ! -f stamp-sanity-compiler; then
2536 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2537 echo "configure:2538: checking for g++ that will successfully compile libstdc++-v3" >&5
2539 ac_ext=C
2540 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2541 ac_cpp='$CXXCPP $CPPFLAGS'
2542 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2543 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2544 cross_compiling=$ac_cv_prog_cxx_cross
2546 cat > conftest.$ac_ext <<EOF
2547 #line 2548 "configure"
2548 #include "confdefs.h"
2550 #if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
2552 #endif
2555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2556 egrep "ok" >/dev/null 2>&1; then
2557 rm -rf conftest*
2558 gpp_satisfactory=yes
2559 else
2560 rm -rf conftest*
2561 { echo "configure: error: please upgrade to gcc-2.95 or above" 1>&2; exit 1; }
2563 rm -f conftest*
2565 ac_ext=c
2566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2567 ac_cpp='$CPP $CPPFLAGS'
2568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2570 cross_compiling=$ac_cv_prog_cc_cross
2572 echo "$ac_t""$gpp_satisfactory" 1>&6
2573 touch stamp-sanity-compiler
2577 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2578 # Check whether --enable-debug or --disable-debug was given.
2579 if test "${enable_debug+set}" = set; then
2580 enableval="$enable_debug"
2581 case "${enableval}" in
2582 yes) enable_debug=yes ;;
2583 no) enable_debug=no ;;
2584 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2585 esac
2586 else
2587 enable_debug=no
2590 case "${enable_debug}" in
2591 yes)
2592 DEBUG_FLAGS='-O0 -ggdb3'
2594 no)
2595 DEBUG_FLAGS='-g'
2597 esac
2600 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2601 echo "configure:2602: checking how to run the C preprocessor" >&5
2602 # On Suns, sometimes $CPP names a directory.
2603 if test -n "$CPP" && test -d "$CPP"; then
2604 CPP=
2606 if test -z "$CPP"; then
2607 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2608 echo $ac_n "(cached) $ac_c" 1>&6
2609 else
2610 # This must be in double quotes, not single quotes, because CPP may get
2611 # substituted into the Makefile and "${CC-cc}" will confuse make.
2612 CPP="${CC-cc} -E"
2613 # On the NeXT, cc -E runs the code through the compiler's parser,
2614 # not just through cpp.
2615 cat > conftest.$ac_ext <<EOF
2616 #line 2617 "configure"
2617 #include "confdefs.h"
2618 #include <assert.h>
2619 Syntax Error
2621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2622 { (eval echo configure:2623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2624 if test -z "$ac_err"; then
2626 else
2627 echo "$ac_err" >&5
2628 echo "configure: failed program was:" >&5
2629 cat conftest.$ac_ext >&5
2630 rm -rf conftest*
2631 CPP="${CC-cc} -E -traditional-cpp"
2632 cat > conftest.$ac_ext <<EOF
2633 #line 2634 "configure"
2634 #include "confdefs.h"
2635 #include <assert.h>
2636 Syntax Error
2638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2639 { (eval echo configure:2640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2641 if test -z "$ac_err"; then
2643 else
2644 echo "$ac_err" >&5
2645 echo "configure: failed program was:" >&5
2646 cat conftest.$ac_ext >&5
2647 rm -rf conftest*
2648 CPP="${CC-cc} -nologo -E"
2649 cat > conftest.$ac_ext <<EOF
2650 #line 2651 "configure"
2651 #include "confdefs.h"
2652 #include <assert.h>
2653 Syntax Error
2655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2656 { (eval echo configure:2657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2658 if test -z "$ac_err"; then
2660 else
2661 echo "$ac_err" >&5
2662 echo "configure: failed program was:" >&5
2663 cat conftest.$ac_ext >&5
2664 rm -rf conftest*
2665 CPP=/lib/cpp
2667 rm -f conftest*
2669 rm -f conftest*
2671 rm -f conftest*
2672 ac_cv_prog_CPP="$CPP"
2674 CPP="$ac_cv_prog_CPP"
2675 else
2676 ac_cv_prog_CPP="$CPP"
2678 echo "$ac_t""$CPP" 1>&6
2681 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2682 echo "configure:2683: checking for cstdio to use" >&5
2683 # Check whether --enable-cstdio or --disable-cstdio was given.
2684 if test "${enable_cstdio+set}" = set; then
2685 enableval="$enable_cstdio"
2686 if test x$enable_cstdio = xno; then
2687 enable_cstdio=stdio
2689 else
2690 enable_cstdio=stdio
2694 enable_cstdio_flag=$enable_cstdio
2696 case x${enable_cstdio_flag} in
2697 xlibio)
2698 CSTDIO_H=config/c_io_libio.h
2699 CSTDIO_CC=config/c_io_libio.cc
2700 echo "$ac_t""libio" 1>&6
2702 # see if we are on a system with libio native (ie, linux)
2703 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2704 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2705 echo "configure:2706: checking for libio.h" >&5
2706 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2707 echo $ac_n "(cached) $ac_c" 1>&6
2708 else
2709 cat > conftest.$ac_ext <<EOF
2710 #line 2711 "configure"
2711 #include "confdefs.h"
2712 #include <libio.h>
2714 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2715 { (eval echo configure:2716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2716 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2717 if test -z "$ac_err"; then
2718 rm -rf conftest*
2719 eval "ac_cv_header_$ac_safe=yes"
2720 else
2721 echo "$ac_err" >&5
2722 echo "configure: failed program was:" >&5
2723 cat conftest.$ac_ext >&5
2724 rm -rf conftest*
2725 eval "ac_cv_header_$ac_safe=no"
2727 rm -f conftest*
2729 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2730 echo "$ac_t""yes" 1>&6
2731 has_libio=yes
2732 else
2733 echo "$ac_t""no" 1>&6
2734 has_libio=no
2738 # Need to check and see what version of glibc is being used. If
2739 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2740 # compile most of libio for linux systems.
2741 if test x$has_libio = x"yes"; then
2742 case "$target" in
2743 *-*-linux*)
2744 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2745 echo "configure:2746: checking for glibc version >= 2.2" >&5
2746 cat > conftest.$ac_ext <<EOF
2747 #line 2748 "configure"
2748 #include "confdefs.h"
2750 #include <features.h>
2751 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2753 #endif
2756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2757 egrep "ok" >/dev/null 2>&1; then
2758 rm -rf conftest*
2759 glibc_satisfactory=yes
2760 else
2761 rm -rf conftest*
2762 glibc_satisfactory=no
2764 rm -f conftest*
2766 echo "$ac_t""$glibc_satisfactory" 1>&6
2768 esac
2770 # XXX at the moment, admit defeat and force the recompilation
2771 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2772 glibc_satisfactory=no
2774 if test x$glibc_satisfactory = x"yes"; then
2775 need_libio=no
2776 need_wlibio=no
2777 else
2778 need_libio=yes
2779 # bkoz XXX need to add checks to enable this
2780 # pme XXX here's a first pass at such a check
2781 if test x$enable_c_mbchar != xno; then
2782 need_wlibio=yes
2783 else
2784 need_wlibio=no
2788 else
2789 # Using libio, but <libio.h> doesn't exist on the target system. . .
2790 need_libio=yes
2791 # bkoz XXX need to add checks to enable this
2792 # pme XXX here's a first pass at such a check
2793 if test x$enable_c_mbchar != xno; then
2794 need_wlibio=yes
2795 else
2796 need_wlibio=no
2800 xstdio | x | xno | xnone | xyes)
2801 # default
2802 CSTDIO_H=config/c_io_stdio.h
2803 CSTDIO_CC=config/c_io_stdio.cc
2804 echo "$ac_t""stdio" 1>&6
2806 # We're not using stdio.
2807 need_libio=no
2808 need_wlibio=no
2809 # Wide characters are not supported with this package.
2810 enable_c_mbchar=no
2813 echo "$enable_cstdio is an unknown io package" 1>&2
2814 exit 1
2816 esac
2820 # 2000-08-04 bkoz hack
2821 CCODECVT_C=config/c_io_libio_codecvt.c
2823 # 2000-08-04 bkoz hack
2827 if test "$need_libio" = yes; then
2828 GLIBCPP_NEED_LIBIO_TRUE=
2829 GLIBCPP_NEED_LIBIO_FALSE='#'
2830 else
2831 GLIBCPP_NEED_LIBIO_TRUE='#'
2832 GLIBCPP_NEED_LIBIO_FALSE=
2836 if test "$need_wlibio" = yes; then
2837 GLIBCPP_NEED_WLIBIO_TRUE=
2838 GLIBCPP_NEED_WLIBIO_FALSE='#'
2839 else
2840 GLIBCPP_NEED_WLIBIO_TRUE='#'
2841 GLIBCPP_NEED_WLIBIO_FALSE=
2843 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2844 libio_la=../libio/libio.la
2845 else
2846 libio_la=
2850 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2851 if test "${enable_c_mbchar+set}" = set; then
2852 enableval="$enable_c_mbchar"
2853 case "$enableval" in
2854 yes) enable_c_mbchar=yes ;;
2855 no) enable_c_mbchar=no ;;
2856 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2857 esac
2858 else
2859 enable_c_mbchar=yes
2863 # Check whether --enable-long-long or --disable-long-long was given.
2864 if test "${enable_long_long+set}" = set; then
2865 enableval="$enable_long_long"
2866 case "$enableval" in
2867 yes) enable_long_long=yes ;;
2868 no) enable_long_long=no ;;
2869 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2870 esac
2871 else
2872 enable_long_long=yes
2875 # Check for the existance of functions used if long long is enabled.
2876 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2877 echo "configure:2878: checking for strtoll" >&5
2878 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2879 echo $ac_n "(cached) $ac_c" 1>&6
2880 else
2881 cat > conftest.$ac_ext <<EOF
2882 #line 2883 "configure"
2883 #include "confdefs.h"
2884 /* System header to define __stub macros and hopefully few prototypes,
2885 which can conflict with char strtoll(); below. */
2886 #include <assert.h>
2887 /* Override any gcc2 internal prototype to avoid an error. */
2888 /* We use char because int might match the return type of a gcc2
2889 builtin and then its argument prototype would still apply. */
2890 char strtoll();
2892 int main() {
2894 /* The GNU C library defines this for functions which it implements
2895 to always fail with ENOSYS. Some functions are actually named
2896 something starting with __ and the normal name is an alias. */
2897 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2898 choke me
2899 #else
2900 strtoll();
2901 #endif
2903 ; return 0; }
2905 if { (eval echo configure:2906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2906 rm -rf conftest*
2907 eval "ac_cv_func_strtoll=yes"
2908 else
2909 echo "configure: failed program was:" >&5
2910 cat conftest.$ac_ext >&5
2911 rm -rf conftest*
2912 eval "ac_cv_func_strtoll=no"
2914 rm -f conftest*
2917 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2918 echo "$ac_t""yes" 1>&6
2920 else
2921 echo "$ac_t""no" 1>&6
2922 ac_strtoll=no
2925 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2926 echo "configure:2927: checking for strtoull" >&5
2927 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2928 echo $ac_n "(cached) $ac_c" 1>&6
2929 else
2930 cat > conftest.$ac_ext <<EOF
2931 #line 2932 "configure"
2932 #include "confdefs.h"
2933 /* System header to define __stub macros and hopefully few prototypes,
2934 which can conflict with char strtoull(); below. */
2935 #include <assert.h>
2936 /* Override any gcc2 internal prototype to avoid an error. */
2937 /* We use char because int might match the return type of a gcc2
2938 builtin and then its argument prototype would still apply. */
2939 char strtoull();
2941 int main() {
2943 /* The GNU C library defines this for functions which it implements
2944 to always fail with ENOSYS. Some functions are actually named
2945 something starting with __ and the normal name is an alias. */
2946 #if defined (__stub_strtoull) || defined (__stub___strtoull)
2947 choke me
2948 #else
2949 strtoull();
2950 #endif
2952 ; return 0; }
2954 if { (eval echo configure:2955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2955 rm -rf conftest*
2956 eval "ac_cv_func_strtoull=yes"
2957 else
2958 echo "configure: failed program was:" >&5
2959 cat conftest.$ac_ext >&5
2960 rm -rf conftest*
2961 eval "ac_cv_func_strtoull=no"
2963 rm -f conftest*
2966 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
2967 echo "$ac_t""yes" 1>&6
2969 else
2970 echo "$ac_t""no" 1>&6
2971 ac_strtoull=no
2975 echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
2976 echo "configure:2977: checking for enabled long long" >&5
2977 if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then
2978 enable_long_long=no;
2979 fi;
2980 echo "$ac_t""$enable_long_long" 1>&6
2982 if test x"$enable_long_long" = xyes; then
2983 cat >> confdefs.h <<\EOF
2984 #define _GLIBCPP_USE_LONG_LONG 1
2989 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
2990 echo "configure:2991: checking for enabled cshadow headers" >&5
2991 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
2992 if test "${enable_cshadow_headers+set}" = set; then
2993 enableval="$enable_cshadow_headers"
2995 case "$enableval" in
2996 yes) enable_cshadow_headers=yes
2998 no) enable_cshadow_headers=no
3000 *) { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; }
3002 esac
3003 else
3004 enable_cshadow_headers=no
3007 echo "$ac_t""$enable_cshadow_headers" 1>&6
3009 case "$enable_cshadow_headers" in
3010 yes)
3011 CSHADOW_FLAGS="-fno-builtin"
3012 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3013 cat >> confdefs.h <<\EOF
3014 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3018 no)
3019 CSHADOW_FLAGS=""
3020 C_INCLUDE_DIR='${top_srcdir}/include/c'
3022 esac
3028 if test "$enable_cshadow_headers" = yes; then
3029 GLIBCPP_USE_CSHADOW_TRUE=
3030 GLIBCPP_USE_CSHADOW_FALSE='#'
3031 else
3032 GLIBCPP_USE_CSHADOW_TRUE='#'
3033 GLIBCPP_USE_CSHADOW_FALSE=
3037 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3038 echo "configure:3039: checking for threads package to use" >&5
3039 # Check whether --enable-threads or --disable-threads was given.
3040 if test "${enable_threads+set}" = set; then
3041 enableval="$enable_threads"
3042 if test x$enable_threads = xno; then
3043 enable_threads=''
3045 else
3046 enable_threads=''
3050 enable_threads_flag=$enable_threads
3052 case x${enable_threads_flag} in
3053 x | xno | xnone)
3054 # No threads
3055 target_thread_file='single'
3057 xyes)
3058 # default
3059 target_thread_file='posix'
3061 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3062 xsolaris | xwin32 | xdce | xvxworks)
3063 target_thread_file=$enable_threads_flag
3066 echo "$enable_threads is an unknown thread package" 1>&2
3067 exit 1
3069 esac
3071 THREADH=
3072 case "$target_thread_file" in
3073 no | none | single)
3074 THREADH=threads-no.h
3076 posix | pthreads)
3077 THREADH=threads-posix.h
3079 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3080 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3083 { echo "configure: error: $THREADS is an unsupported/unknown thread package" 1>&2; exit 1; }
3085 esac
3086 echo "$ac_t""$THREADH" 1>&6
3089 if test $THREADH != threads-no.h; then
3090 cat >> confdefs.h <<\EOF
3091 #define _GLIBCPP_USE_THREADS 1
3097 echo $ac_n "checking for atomicity.h""... $ac_c" 1>&6
3098 echo "configure:3099: checking for atomicity.h" >&5
3099 # We have ATOMICITY already from GLIBCPP_CONFIGURE
3100 if test "$ATOMICITYH" = "config/cpu/generic"; then
3101 echo "configure: warning: No ATOMICITY settings found, using generic atomic ops." 1>&2
3103 echo "$ac_t""$ATOMICITYH/bits/atomicity.h" 1>&6
3106 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3107 if test "${enable_cxx_flags+set}" = set; then
3108 enableval="$enable_cxx_flags"
3109 case "x$enableval" in
3110 xyes)
3111 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3112 xno|x)
3113 enable_cxx_flags='' ;;
3115 enable_cxx_flags="$enableval" ;;
3116 esac
3117 else
3118 enable_cxx_flags='none'
3122 if test "$enable_cxx_flags" = "none"; then
3123 enable_cxx_flags='';
3126 if test -n "$enable_cxx_flags"; then
3127 for f in $enable_cxx_flags; do
3128 case "$f" in
3129 -fhonor-std) ;;
3130 -*) ;;
3131 *) # and we're trying to pass /what/ exactly?
3132 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3133 esac
3134 done
3136 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3141 if test -n "$with_cross_host"; then
3143 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3144 # may not work correctly, because the compiler may not be able to
3145 # link executables.
3147 xcompiling=1
3148 NATIVE=no
3149 # If Canadian cross, then don't pick up tools from the build
3150 # directory.
3151 if test "$build" != "$with_cross_host"; then
3152 CANADIAN=yes
3153 NULL_TARGET=yes
3154 else
3155 CANADIAN=no
3156 NULL_TARGET=no
3159 case "$target_alias" in
3160 *-wince-*)
3161 # Configure for Microsoft Windows CE, or whatever they are
3162 # currently calling it.
3163 cat >> confdefs.h <<\EOF
3164 #define HAVE_FLOAT_H 1
3168 cat >> confdefs.h <<\EOF
3169 #define HAVE__FINITE 1
3172 cat >> confdefs.h <<\EOF
3173 #define HAVE__ISNAN 1
3176 cat >> confdefs.h <<\EOF
3177 #define HAVE__COPYSIGN 1
3180 cat >> confdefs.h <<\EOF
3181 #define HAVE__FPCLASS 1
3184 cat >> confdefs.h <<\EOF
3185 #define HAVE_MODF 1
3189 ctype_include_dir="config/os/wince"
3195 cat >> confdefs.h <<\EOF
3196 #define _GLIBCPP_NEED_MBSTATE_T 1
3200 cat >> confdefs.h <<\EOF
3201 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3204 cat >> confdefs.h <<\EOF
3205 #define _GLIBCPP_BUGGY_COMPLEX 1
3210 # We assume newlib. This lets us hard-code the functions we know
3211 # we'll have.
3212 cat >> confdefs.h <<\EOF
3213 #define HAVE_FINITE 1
3216 cat >> confdefs.h <<\EOF
3217 #define HAVE_ISNAN 1
3220 cat >> confdefs.h <<\EOF
3221 #define HAVE_ISNANF 1
3224 cat >> confdefs.h <<\EOF
3225 #define HAVE_ISINF 1
3228 cat >> confdefs.h <<\EOF
3229 #define HAVE_ISINFF 1
3233 ctype_include_dir="config/os/newlib"
3238 cat >> confdefs.h <<\EOF
3239 #define _GLIBCPP_NEED_MBSTATE_T 1
3243 cat >> confdefs.h <<\EOF
3244 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3247 cat >> confdefs.h <<\EOF
3248 #define _GLIBCPP_BUGGY_COMPLEX 1
3251 # need to check for faster f versions of math functions, ie sinf?
3253 esac
3254 else
3256 # We are being configured natively. We can do more elaborate tests
3257 # that include AC_TRY_COMPILE now, as the linker is assumed to be
3258 # working.
3260 xcompiling=0
3261 NATIVE=yes
3262 CANADIAN=no
3263 NULL_TARGET=no
3265 # Check for available headers.
3266 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3267 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
3269 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3270 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3271 echo "configure:3272: checking for $ac_hdr" >&5
3272 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3273 echo $ac_n "(cached) $ac_c" 1>&6
3274 else
3275 cat > conftest.$ac_ext <<EOF
3276 #line 3277 "configure"
3277 #include "confdefs.h"
3278 #include <$ac_hdr>
3280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3281 { (eval echo configure:3282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3282 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3283 if test -z "$ac_err"; then
3284 rm -rf conftest*
3285 eval "ac_cv_header_$ac_safe=yes"
3286 else
3287 echo "$ac_err" >&5
3288 echo "configure: failed program was:" >&5
3289 cat conftest.$ac_ext >&5
3290 rm -rf conftest*
3291 eval "ac_cv_header_$ac_safe=no"
3293 rm -f conftest*
3295 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3296 echo "$ac_t""yes" 1>&6
3297 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3298 cat >> confdefs.h <<EOF
3299 #define $ac_tr_hdr 1
3302 else
3303 echo "$ac_t""no" 1>&6
3305 done
3309 # All these tests are for C++; save the language and the compiler flags.
3310 # The CXXFLAGS thing is suspicious, but based on similar bits
3311 # found in GLIBCPP_CONFIGURE.
3313 ac_ext=C
3314 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3315 ac_cpp='$CXXCPP $CPPFLAGS'
3316 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3317 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3318 cross_compiling=$ac_cv_prog_cxx_cross
3320 ac_test_CXXFLAGS="${CXXFLAGS+set}"
3321 ac_save_CXXFLAGS="$CXXFLAGS"
3323 # Check for maintainer-mode bits.
3324 if test x"$USE_MAINTAINER_MODE" = xno; then
3325 WERROR=''
3326 else
3327 WERROR='-Werror'
3330 # Check for more sophisticated diagnostic control.
3331 echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3332 echo "configure:3333: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3333 CXXFLAGS='-Werror -fdiagnostics-show-location=once'
3334 cat > conftest.$ac_ext <<EOF
3335 #line 3336 "configure"
3336 #include "confdefs.h"
3338 int main() {
3339 int foo;
3341 ; return 0; }
3343 if { (eval echo configure:3344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3344 rm -rf conftest*
3345 ac_gabydiags=yes
3346 else
3347 echo "configure: failed program was:" >&5
3348 cat conftest.$ac_ext >&5
3349 rm -rf conftest*
3350 ac_gabydiags=no
3352 rm -f conftest*
3353 if test "$ac_test_CXXFLAGS" = set; then
3354 CXXFLAGS="$ac_save_CXXFLAGS"
3355 else
3356 # this is the suspicious part
3357 CXXFLAGS=''
3359 if test "$ac_gabydiags" = "yes"; then
3360 WFMT_FLAGS='-fdiagnostics-show-location=once'
3362 echo "$ac_t""$ac_gabydiags" 1>&6
3364 # Check for -ffunction-sections -fdata-sections
3365 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3366 echo "configure:3367: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3367 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
3368 cat > conftest.$ac_ext <<EOF
3369 #line 3370 "configure"
3370 #include "confdefs.h"
3372 int main() {
3373 int foo;
3375 ; return 0; }
3377 if { (eval echo configure:3378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3378 rm -rf conftest*
3379 ac_fdsections=yes
3380 else
3381 echo "configure: failed program was:" >&5
3382 cat conftest.$ac_ext >&5
3383 rm -rf conftest*
3384 ac_fdsections=no
3386 rm -f conftest*
3387 if test "$ac_test_CXXFLAGS" = set; then
3388 CXXFLAGS="$ac_save_CXXFLAGS"
3389 else
3390 # this is the suspicious part
3391 CXXFLAGS=''
3393 if test "$ac_fdsections" = "yes"; then
3394 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3396 echo "$ac_t""$ac_fdsections" 1>&6
3398 ac_ext=c
3399 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3400 ac_cpp='$CPP $CPPFLAGS'
3401 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3402 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3403 cross_compiling=$ac_cv_prog_cc_cross
3410 # If we're not using GNU ld, then there's no point in even trying these
3411 # tests. Check for that first. We should have already tested for gld
3412 # by now (in libtool), but require it now just to be safe...
3413 SECTION_LDFLAGS=''
3414 OPT_LDFLAGS=''
3417 # Set --gc-sections.
3418 if test "$ac_cv_prog_gnu_ld" = "broken"; then
3419 # GNU ld it is! Joy and bunny rabbits!
3421 # All these tests are for C++; save the language and the compiler flags.
3422 # Need to do this so that g++ won't try to link in libstdc++
3423 ac_test_CFLAGS="${CFLAGS+set}"
3424 ac_save_CFLAGS="$CFLAGS"
3425 CFLAGS='-x c++ -Wl,--gc-sections'
3427 # Check for -Wl,--gc-sections
3428 # XXX This test is broken at the moment, as symbols required for
3429 # linking are now in libsupc++ (not built yet.....). In addition,
3430 # this test has cored on solaris in the past. In addition,
3431 # --gc-sections doesn't really work at the moment (keeps on discarding
3432 # used sections, first .eh_frame and now some of the glibc sections for
3433 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3434 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3435 echo "configure:3436: checking for ld that supports -Wl,--gc-sections" >&5
3436 if test "$cross_compiling" = yes; then
3437 ac_sectionLDflags=yes
3438 else
3439 cat > conftest.$ac_ext <<EOF
3440 #line 3441 "configure"
3441 #include "confdefs.h"
3443 int main(void)
3445 try { throw 1; }
3446 catch (...) { };
3447 return 0;
3451 if { (eval echo configure:3452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3452 then
3453 ac_sectionLDflags=yes
3454 else
3455 echo "configure: failed program was:" >&5
3456 cat conftest.$ac_ext >&5
3457 rm -fr conftest*
3458 ac_sectionLFflags=no
3460 rm -fr conftest*
3463 if test "$ac_test_CFLAGS" = set; then
3464 CFLAGS="$ac_save_CFLAGS"
3465 else
3466 # this is the suspicious part
3467 CFLAGS=''
3469 if test "$ac_sectionLDflags" = "yes"; then
3470 SECTION_LDFLAGS='-Wl,--gc-sections'
3472 echo "$ac_t""$ac_sectionLDflags" 1>&6
3475 # Set linker optimization flags.
3476 if test "$ac_cv_prog_gnu_ld" = "yes"; then
3477 OPT_LDFLAGS='-Wl,-O1'
3485 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3486 echo "configure:3487: checking for __builtin_abs declaration" >&5
3487 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3488 echo $ac_n "(cached) $ac_c" 1>&6
3489 else
3492 ac_ext=C
3493 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3494 ac_cpp='$CXXCPP $CPPFLAGS'
3495 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3496 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3497 cross_compiling=$ac_cv_prog_cxx_cross
3499 cat > conftest.$ac_ext <<EOF
3500 #line 3501 "configure"
3501 #include "confdefs.h"
3502 #include <math.h>
3503 int main() {
3504 __builtin_abs(0);
3505 ; return 0; }
3507 if { (eval echo configure:3508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3508 rm -rf conftest*
3509 glibcpp_cv_func___builtin_abs_use=yes
3510 else
3511 echo "configure: failed program was:" >&5
3512 cat conftest.$ac_ext >&5
3513 rm -rf conftest*
3514 glibcpp_cv_func___builtin_abs_use=no
3516 rm -f conftest*
3517 ac_ext=c
3518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3519 ac_cpp='$CPP $CPPFLAGS'
3520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3522 cross_compiling=$ac_cv_prog_cc_cross
3527 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3528 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3529 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3530 echo "configure:3531: checking for __builtin_abs linkage" >&5
3531 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3532 echo $ac_n "(cached) $ac_c" 1>&6
3533 else
3535 cat > conftest.$ac_ext <<EOF
3536 #line 3537 "configure"
3537 #include "confdefs.h"
3538 #include <math.h>
3539 int main() {
3540 __builtin_abs(0);
3541 ; return 0; }
3543 if { (eval echo configure:3544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3544 rm -rf conftest*
3545 glibcpp_cv_func___builtin_abs_link=yes
3546 else
3547 echo "configure: failed program was:" >&5
3548 cat conftest.$ac_ext >&5
3549 rm -rf conftest*
3550 glibcpp_cv_func___builtin_abs_link=no
3552 rm -f conftest*
3556 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3557 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3558 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3559 cat >> confdefs.h <<EOF
3560 #define ${ac_tr_func} 1
3567 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3568 echo "configure:3569: checking for __builtin_fabsf declaration" >&5
3569 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3570 echo $ac_n "(cached) $ac_c" 1>&6
3571 else
3574 ac_ext=C
3575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3576 ac_cpp='$CXXCPP $CPPFLAGS'
3577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3579 cross_compiling=$ac_cv_prog_cxx_cross
3581 cat > conftest.$ac_ext <<EOF
3582 #line 3583 "configure"
3583 #include "confdefs.h"
3584 #include <math.h>
3585 int main() {
3586 __builtin_fabsf(0);
3587 ; return 0; }
3589 if { (eval echo configure:3590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3590 rm -rf conftest*
3591 glibcpp_cv_func___builtin_fabsf_use=yes
3592 else
3593 echo "configure: failed program was:" >&5
3594 cat conftest.$ac_ext >&5
3595 rm -rf conftest*
3596 glibcpp_cv_func___builtin_fabsf_use=no
3598 rm -f conftest*
3599 ac_ext=c
3600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3601 ac_cpp='$CPP $CPPFLAGS'
3602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3604 cross_compiling=$ac_cv_prog_cc_cross
3609 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3610 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3611 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3612 echo "configure:3613: checking for __builtin_fabsf linkage" >&5
3613 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3614 echo $ac_n "(cached) $ac_c" 1>&6
3615 else
3617 cat > conftest.$ac_ext <<EOF
3618 #line 3619 "configure"
3619 #include "confdefs.h"
3620 #include <math.h>
3621 int main() {
3622 __builtin_fabsf(0);
3623 ; return 0; }
3625 if { (eval echo configure:3626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3626 rm -rf conftest*
3627 glibcpp_cv_func___builtin_fabsf_link=yes
3628 else
3629 echo "configure: failed program was:" >&5
3630 cat conftest.$ac_ext >&5
3631 rm -rf conftest*
3632 glibcpp_cv_func___builtin_fabsf_link=no
3634 rm -f conftest*
3638 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3639 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3640 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3641 cat >> confdefs.h <<EOF
3642 #define ${ac_tr_func} 1
3649 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3650 echo "configure:3651: checking for __builtin_fabs declaration" >&5
3651 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3652 echo $ac_n "(cached) $ac_c" 1>&6
3653 else
3656 ac_ext=C
3657 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3658 ac_cpp='$CXXCPP $CPPFLAGS'
3659 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3660 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3661 cross_compiling=$ac_cv_prog_cxx_cross
3663 cat > conftest.$ac_ext <<EOF
3664 #line 3665 "configure"
3665 #include "confdefs.h"
3666 #include <math.h>
3667 int main() {
3668 __builtin_fabs(0);
3669 ; return 0; }
3671 if { (eval echo configure:3672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3672 rm -rf conftest*
3673 glibcpp_cv_func___builtin_fabs_use=yes
3674 else
3675 echo "configure: failed program was:" >&5
3676 cat conftest.$ac_ext >&5
3677 rm -rf conftest*
3678 glibcpp_cv_func___builtin_fabs_use=no
3680 rm -f conftest*
3681 ac_ext=c
3682 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3683 ac_cpp='$CPP $CPPFLAGS'
3684 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3685 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3686 cross_compiling=$ac_cv_prog_cc_cross
3691 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3692 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3693 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3694 echo "configure:3695: checking for __builtin_fabs linkage" >&5
3695 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3696 echo $ac_n "(cached) $ac_c" 1>&6
3697 else
3699 cat > conftest.$ac_ext <<EOF
3700 #line 3701 "configure"
3701 #include "confdefs.h"
3702 #include <math.h>
3703 int main() {
3704 __builtin_fabs(0);
3705 ; return 0; }
3707 if { (eval echo configure:3708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3708 rm -rf conftest*
3709 glibcpp_cv_func___builtin_fabs_link=yes
3710 else
3711 echo "configure: failed program was:" >&5
3712 cat conftest.$ac_ext >&5
3713 rm -rf conftest*
3714 glibcpp_cv_func___builtin_fabs_link=no
3716 rm -f conftest*
3720 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3721 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3722 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3723 cat >> confdefs.h <<EOF
3724 #define ${ac_tr_func} 1
3731 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3732 echo "configure:3733: checking for __builtin_fabsl declaration" >&5
3733 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3734 echo $ac_n "(cached) $ac_c" 1>&6
3735 else
3738 ac_ext=C
3739 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3740 ac_cpp='$CXXCPP $CPPFLAGS'
3741 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3742 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3743 cross_compiling=$ac_cv_prog_cxx_cross
3745 cat > conftest.$ac_ext <<EOF
3746 #line 3747 "configure"
3747 #include "confdefs.h"
3748 #include <math.h>
3749 int main() {
3750 __builtin_fabsl(0);
3751 ; return 0; }
3753 if { (eval echo configure:3754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3754 rm -rf conftest*
3755 glibcpp_cv_func___builtin_fabsl_use=yes
3756 else
3757 echo "configure: failed program was:" >&5
3758 cat conftest.$ac_ext >&5
3759 rm -rf conftest*
3760 glibcpp_cv_func___builtin_fabsl_use=no
3762 rm -f conftest*
3763 ac_ext=c
3764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3765 ac_cpp='$CPP $CPPFLAGS'
3766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3768 cross_compiling=$ac_cv_prog_cc_cross
3773 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3774 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3775 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3776 echo "configure:3777: checking for __builtin_fabsl linkage" >&5
3777 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3778 echo $ac_n "(cached) $ac_c" 1>&6
3779 else
3781 cat > conftest.$ac_ext <<EOF
3782 #line 3783 "configure"
3783 #include "confdefs.h"
3784 #include <math.h>
3785 int main() {
3786 __builtin_fabsl(0);
3787 ; return 0; }
3789 if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3790 rm -rf conftest*
3791 glibcpp_cv_func___builtin_fabsl_link=yes
3792 else
3793 echo "configure: failed program was:" >&5
3794 cat conftest.$ac_ext >&5
3795 rm -rf conftest*
3796 glibcpp_cv_func___builtin_fabsl_link=no
3798 rm -f conftest*
3802 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3803 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3804 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3805 cat >> confdefs.h <<EOF
3806 #define ${ac_tr_func} 1
3813 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3814 echo "configure:3815: checking for __builtin_labs declaration" >&5
3815 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
3816 echo $ac_n "(cached) $ac_c" 1>&6
3817 else
3820 ac_ext=C
3821 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3822 ac_cpp='$CXXCPP $CPPFLAGS'
3823 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3824 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3825 cross_compiling=$ac_cv_prog_cxx_cross
3827 cat > conftest.$ac_ext <<EOF
3828 #line 3829 "configure"
3829 #include "confdefs.h"
3830 #include <math.h>
3831 int main() {
3832 __builtin_labs(0);
3833 ; return 0; }
3835 if { (eval echo configure:3836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3836 rm -rf conftest*
3837 glibcpp_cv_func___builtin_labs_use=yes
3838 else
3839 echo "configure: failed program was:" >&5
3840 cat conftest.$ac_ext >&5
3841 rm -rf conftest*
3842 glibcpp_cv_func___builtin_labs_use=no
3844 rm -f conftest*
3845 ac_ext=c
3846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3847 ac_cpp='$CPP $CPPFLAGS'
3848 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3849 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3850 cross_compiling=$ac_cv_prog_cc_cross
3855 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3856 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3857 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3858 echo "configure:3859: checking for __builtin_labs linkage" >&5
3859 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3860 echo $ac_n "(cached) $ac_c" 1>&6
3861 else
3863 cat > conftest.$ac_ext <<EOF
3864 #line 3865 "configure"
3865 #include "confdefs.h"
3866 #include <math.h>
3867 int main() {
3868 __builtin_labs(0);
3869 ; return 0; }
3871 if { (eval echo configure:3872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3872 rm -rf conftest*
3873 glibcpp_cv_func___builtin_labs_link=yes
3874 else
3875 echo "configure: failed program was:" >&5
3876 cat conftest.$ac_ext >&5
3877 rm -rf conftest*
3878 glibcpp_cv_func___builtin_labs_link=no
3880 rm -f conftest*
3884 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3885 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3886 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3887 cat >> confdefs.h <<EOF
3888 #define ${ac_tr_func} 1
3896 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3897 echo "configure:3898: checking for __builtin_sqrtf declaration" >&5
3898 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3899 echo $ac_n "(cached) $ac_c" 1>&6
3900 else
3903 ac_ext=C
3904 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3905 ac_cpp='$CXXCPP $CPPFLAGS'
3906 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3907 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3908 cross_compiling=$ac_cv_prog_cxx_cross
3910 cat > conftest.$ac_ext <<EOF
3911 #line 3912 "configure"
3912 #include "confdefs.h"
3913 #include <math.h>
3914 int main() {
3915 __builtin_sqrtf(0);
3916 ; return 0; }
3918 if { (eval echo configure:3919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3919 rm -rf conftest*
3920 glibcpp_cv_func___builtin_sqrtf_use=yes
3921 else
3922 echo "configure: failed program was:" >&5
3923 cat conftest.$ac_ext >&5
3924 rm -rf conftest*
3925 glibcpp_cv_func___builtin_sqrtf_use=no
3927 rm -f conftest*
3928 ac_ext=c
3929 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3930 ac_cpp='$CPP $CPPFLAGS'
3931 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3932 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3933 cross_compiling=$ac_cv_prog_cc_cross
3938 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
3939 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
3940 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
3941 echo "configure:3942: checking for __builtin_sqrtf linkage" >&5
3942 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
3943 echo $ac_n "(cached) $ac_c" 1>&6
3944 else
3946 cat > conftest.$ac_ext <<EOF
3947 #line 3948 "configure"
3948 #include "confdefs.h"
3949 #include <math.h>
3950 int main() {
3951 __builtin_sqrtf(0);
3952 ; return 0; }
3954 if { (eval echo configure:3955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3955 rm -rf conftest*
3956 glibcpp_cv_func___builtin_sqrtf_link=yes
3957 else
3958 echo "configure: failed program was:" >&5
3959 cat conftest.$ac_ext >&5
3960 rm -rf conftest*
3961 glibcpp_cv_func___builtin_sqrtf_link=no
3963 rm -f conftest*
3967 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
3968 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
3969 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3970 cat >> confdefs.h <<EOF
3971 #define ${ac_tr_func} 1
3978 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
3979 echo "configure:3980: checking for __builtin_fsqrt declaration" >&5
3980 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
3981 echo $ac_n "(cached) $ac_c" 1>&6
3982 else
3985 ac_ext=C
3986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3987 ac_cpp='$CXXCPP $CPPFLAGS'
3988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3990 cross_compiling=$ac_cv_prog_cxx_cross
3992 cat > conftest.$ac_ext <<EOF
3993 #line 3994 "configure"
3994 #include "confdefs.h"
3995 #include <math.h>
3996 int main() {
3997 __builtin_fsqrt(0);
3998 ; return 0; }
4000 if { (eval echo configure:4001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4001 rm -rf conftest*
4002 glibcpp_cv_func___builtin_fsqrt_use=yes
4003 else
4004 echo "configure: failed program was:" >&5
4005 cat conftest.$ac_ext >&5
4006 rm -rf conftest*
4007 glibcpp_cv_func___builtin_fsqrt_use=no
4009 rm -f conftest*
4010 ac_ext=c
4011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4012 ac_cpp='$CPP $CPPFLAGS'
4013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4015 cross_compiling=$ac_cv_prog_cc_cross
4020 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4021 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4022 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4023 echo "configure:4024: checking for __builtin_fsqrt linkage" >&5
4024 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4025 echo $ac_n "(cached) $ac_c" 1>&6
4026 else
4028 cat > conftest.$ac_ext <<EOF
4029 #line 4030 "configure"
4030 #include "confdefs.h"
4031 #include <math.h>
4032 int main() {
4033 __builtin_fsqrt(0);
4034 ; return 0; }
4036 if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4037 rm -rf conftest*
4038 glibcpp_cv_func___builtin_fsqrt_link=yes
4039 else
4040 echo "configure: failed program was:" >&5
4041 cat conftest.$ac_ext >&5
4042 rm -rf conftest*
4043 glibcpp_cv_func___builtin_fsqrt_link=no
4045 rm -f conftest*
4049 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4050 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4051 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4052 cat >> confdefs.h <<EOF
4053 #define ${ac_tr_func} 1
4060 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4061 echo "configure:4062: checking for __builtin_sqrtl declaration" >&5
4062 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4063 echo $ac_n "(cached) $ac_c" 1>&6
4064 else
4067 ac_ext=C
4068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4069 ac_cpp='$CXXCPP $CPPFLAGS'
4070 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4071 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4072 cross_compiling=$ac_cv_prog_cxx_cross
4074 cat > conftest.$ac_ext <<EOF
4075 #line 4076 "configure"
4076 #include "confdefs.h"
4077 #include <math.h>
4078 int main() {
4079 __builtin_sqrtl(0);
4080 ; return 0; }
4082 if { (eval echo configure:4083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4083 rm -rf conftest*
4084 glibcpp_cv_func___builtin_sqrtl_use=yes
4085 else
4086 echo "configure: failed program was:" >&5
4087 cat conftest.$ac_ext >&5
4088 rm -rf conftest*
4089 glibcpp_cv_func___builtin_sqrtl_use=no
4091 rm -f conftest*
4092 ac_ext=c
4093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4094 ac_cpp='$CPP $CPPFLAGS'
4095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4097 cross_compiling=$ac_cv_prog_cc_cross
4102 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4103 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4104 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4105 echo "configure:4106: checking for __builtin_sqrtl linkage" >&5
4106 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4107 echo $ac_n "(cached) $ac_c" 1>&6
4108 else
4110 cat > conftest.$ac_ext <<EOF
4111 #line 4112 "configure"
4112 #include "confdefs.h"
4113 #include <math.h>
4114 int main() {
4115 __builtin_sqrtl(0);
4116 ; return 0; }
4118 if { (eval echo configure:4119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4119 rm -rf conftest*
4120 glibcpp_cv_func___builtin_sqrtl_link=yes
4121 else
4122 echo "configure: failed program was:" >&5
4123 cat conftest.$ac_ext >&5
4124 rm -rf conftest*
4125 glibcpp_cv_func___builtin_sqrtl_link=no
4127 rm -f conftest*
4131 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4132 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4133 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4134 cat >> confdefs.h <<EOF
4135 #define ${ac_tr_func} 1
4143 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4144 echo "configure:4145: checking for __builtin_sinf declaration" >&5
4145 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4146 echo $ac_n "(cached) $ac_c" 1>&6
4147 else
4150 ac_ext=C
4151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4152 ac_cpp='$CXXCPP $CPPFLAGS'
4153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4155 cross_compiling=$ac_cv_prog_cxx_cross
4157 cat > conftest.$ac_ext <<EOF
4158 #line 4159 "configure"
4159 #include "confdefs.h"
4160 #include <math.h>
4161 int main() {
4162 __builtin_sinf(0);
4163 ; return 0; }
4165 if { (eval echo configure:4166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4166 rm -rf conftest*
4167 glibcpp_cv_func___builtin_sinf_use=yes
4168 else
4169 echo "configure: failed program was:" >&5
4170 cat conftest.$ac_ext >&5
4171 rm -rf conftest*
4172 glibcpp_cv_func___builtin_sinf_use=no
4174 rm -f conftest*
4175 ac_ext=c
4176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4177 ac_cpp='$CPP $CPPFLAGS'
4178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4180 cross_compiling=$ac_cv_prog_cc_cross
4185 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4186 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4187 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4188 echo "configure:4189: checking for __builtin_sinf linkage" >&5
4189 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4190 echo $ac_n "(cached) $ac_c" 1>&6
4191 else
4193 cat > conftest.$ac_ext <<EOF
4194 #line 4195 "configure"
4195 #include "confdefs.h"
4196 #include <math.h>
4197 int main() {
4198 __builtin_sinf(0);
4199 ; return 0; }
4201 if { (eval echo configure:4202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4202 rm -rf conftest*
4203 glibcpp_cv_func___builtin_sinf_link=yes
4204 else
4205 echo "configure: failed program was:" >&5
4206 cat conftest.$ac_ext >&5
4207 rm -rf conftest*
4208 glibcpp_cv_func___builtin_sinf_link=no
4210 rm -f conftest*
4214 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4215 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4216 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4217 cat >> confdefs.h <<EOF
4218 #define ${ac_tr_func} 1
4225 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4226 echo "configure:4227: checking for __builtin_sin declaration" >&5
4227 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4228 echo $ac_n "(cached) $ac_c" 1>&6
4229 else
4232 ac_ext=C
4233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4234 ac_cpp='$CXXCPP $CPPFLAGS'
4235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4237 cross_compiling=$ac_cv_prog_cxx_cross
4239 cat > conftest.$ac_ext <<EOF
4240 #line 4241 "configure"
4241 #include "confdefs.h"
4242 #include <math.h>
4243 int main() {
4244 __builtin_sin(0);
4245 ; return 0; }
4247 if { (eval echo configure:4248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4248 rm -rf conftest*
4249 glibcpp_cv_func___builtin_sin_use=yes
4250 else
4251 echo "configure: failed program was:" >&5
4252 cat conftest.$ac_ext >&5
4253 rm -rf conftest*
4254 glibcpp_cv_func___builtin_sin_use=no
4256 rm -f conftest*
4257 ac_ext=c
4258 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4259 ac_cpp='$CPP $CPPFLAGS'
4260 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4261 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4262 cross_compiling=$ac_cv_prog_cc_cross
4267 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4268 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4269 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4270 echo "configure:4271: checking for __builtin_sin linkage" >&5
4271 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4272 echo $ac_n "(cached) $ac_c" 1>&6
4273 else
4275 cat > conftest.$ac_ext <<EOF
4276 #line 4277 "configure"
4277 #include "confdefs.h"
4278 #include <math.h>
4279 int main() {
4280 __builtin_sin(0);
4281 ; return 0; }
4283 if { (eval echo configure:4284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4284 rm -rf conftest*
4285 glibcpp_cv_func___builtin_sin_link=yes
4286 else
4287 echo "configure: failed program was:" >&5
4288 cat conftest.$ac_ext >&5
4289 rm -rf conftest*
4290 glibcpp_cv_func___builtin_sin_link=no
4292 rm -f conftest*
4296 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4297 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4298 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4299 cat >> confdefs.h <<EOF
4300 #define ${ac_tr_func} 1
4307 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4308 echo "configure:4309: checking for __builtin_sinl declaration" >&5
4309 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4310 echo $ac_n "(cached) $ac_c" 1>&6
4311 else
4314 ac_ext=C
4315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4316 ac_cpp='$CXXCPP $CPPFLAGS'
4317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4319 cross_compiling=$ac_cv_prog_cxx_cross
4321 cat > conftest.$ac_ext <<EOF
4322 #line 4323 "configure"
4323 #include "confdefs.h"
4324 #include <math.h>
4325 int main() {
4326 __builtin_sinl(0);
4327 ; return 0; }
4329 if { (eval echo configure:4330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4330 rm -rf conftest*
4331 glibcpp_cv_func___builtin_sinl_use=yes
4332 else
4333 echo "configure: failed program was:" >&5
4334 cat conftest.$ac_ext >&5
4335 rm -rf conftest*
4336 glibcpp_cv_func___builtin_sinl_use=no
4338 rm -f conftest*
4339 ac_ext=c
4340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4341 ac_cpp='$CPP $CPPFLAGS'
4342 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4343 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4344 cross_compiling=$ac_cv_prog_cc_cross
4349 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4350 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4351 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4352 echo "configure:4353: checking for __builtin_sinl linkage" >&5
4353 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4354 echo $ac_n "(cached) $ac_c" 1>&6
4355 else
4357 cat > conftest.$ac_ext <<EOF
4358 #line 4359 "configure"
4359 #include "confdefs.h"
4360 #include <math.h>
4361 int main() {
4362 __builtin_sinl(0);
4363 ; return 0; }
4365 if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4366 rm -rf conftest*
4367 glibcpp_cv_func___builtin_sinl_link=yes
4368 else
4369 echo "configure: failed program was:" >&5
4370 cat conftest.$ac_ext >&5
4371 rm -rf conftest*
4372 glibcpp_cv_func___builtin_sinl_link=no
4374 rm -f conftest*
4378 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4379 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4380 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4381 cat >> confdefs.h <<EOF
4382 #define ${ac_tr_func} 1
4390 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4391 echo "configure:4392: checking for __builtin_cosf declaration" >&5
4392 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4393 echo $ac_n "(cached) $ac_c" 1>&6
4394 else
4397 ac_ext=C
4398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4399 ac_cpp='$CXXCPP $CPPFLAGS'
4400 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4401 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4402 cross_compiling=$ac_cv_prog_cxx_cross
4404 cat > conftest.$ac_ext <<EOF
4405 #line 4406 "configure"
4406 #include "confdefs.h"
4407 #include <math.h>
4408 int main() {
4409 __builtin_cosf(0);
4410 ; return 0; }
4412 if { (eval echo configure:4413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4413 rm -rf conftest*
4414 glibcpp_cv_func___builtin_cosf_use=yes
4415 else
4416 echo "configure: failed program was:" >&5
4417 cat conftest.$ac_ext >&5
4418 rm -rf conftest*
4419 glibcpp_cv_func___builtin_cosf_use=no
4421 rm -f conftest*
4422 ac_ext=c
4423 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4424 ac_cpp='$CPP $CPPFLAGS'
4425 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4426 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4427 cross_compiling=$ac_cv_prog_cc_cross
4432 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4433 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4434 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4435 echo "configure:4436: checking for __builtin_cosf linkage" >&5
4436 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4437 echo $ac_n "(cached) $ac_c" 1>&6
4438 else
4440 cat > conftest.$ac_ext <<EOF
4441 #line 4442 "configure"
4442 #include "confdefs.h"
4443 #include <math.h>
4444 int main() {
4445 __builtin_cosf(0);
4446 ; return 0; }
4448 if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4449 rm -rf conftest*
4450 glibcpp_cv_func___builtin_cosf_link=yes
4451 else
4452 echo "configure: failed program was:" >&5
4453 cat conftest.$ac_ext >&5
4454 rm -rf conftest*
4455 glibcpp_cv_func___builtin_cosf_link=no
4457 rm -f conftest*
4461 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4462 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4463 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4464 cat >> confdefs.h <<EOF
4465 #define ${ac_tr_func} 1
4472 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4473 echo "configure:4474: checking for __builtin_cos declaration" >&5
4474 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4475 echo $ac_n "(cached) $ac_c" 1>&6
4476 else
4479 ac_ext=C
4480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4481 ac_cpp='$CXXCPP $CPPFLAGS'
4482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4484 cross_compiling=$ac_cv_prog_cxx_cross
4486 cat > conftest.$ac_ext <<EOF
4487 #line 4488 "configure"
4488 #include "confdefs.h"
4489 #include <math.h>
4490 int main() {
4491 __builtin_cos(0);
4492 ; return 0; }
4494 if { (eval echo configure:4495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4495 rm -rf conftest*
4496 glibcpp_cv_func___builtin_cos_use=yes
4497 else
4498 echo "configure: failed program was:" >&5
4499 cat conftest.$ac_ext >&5
4500 rm -rf conftest*
4501 glibcpp_cv_func___builtin_cos_use=no
4503 rm -f conftest*
4504 ac_ext=c
4505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4506 ac_cpp='$CPP $CPPFLAGS'
4507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4509 cross_compiling=$ac_cv_prog_cc_cross
4514 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4515 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4516 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4517 echo "configure:4518: checking for __builtin_cos linkage" >&5
4518 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4519 echo $ac_n "(cached) $ac_c" 1>&6
4520 else
4522 cat > conftest.$ac_ext <<EOF
4523 #line 4524 "configure"
4524 #include "confdefs.h"
4525 #include <math.h>
4526 int main() {
4527 __builtin_cos(0);
4528 ; return 0; }
4530 if { (eval echo configure:4531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4531 rm -rf conftest*
4532 glibcpp_cv_func___builtin_cos_link=yes
4533 else
4534 echo "configure: failed program was:" >&5
4535 cat conftest.$ac_ext >&5
4536 rm -rf conftest*
4537 glibcpp_cv_func___builtin_cos_link=no
4539 rm -f conftest*
4543 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4544 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4545 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4546 cat >> confdefs.h <<EOF
4547 #define ${ac_tr_func} 1
4554 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4555 echo "configure:4556: checking for __builtin_cosl declaration" >&5
4556 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4557 echo $ac_n "(cached) $ac_c" 1>&6
4558 else
4561 ac_ext=C
4562 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4563 ac_cpp='$CXXCPP $CPPFLAGS'
4564 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4565 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4566 cross_compiling=$ac_cv_prog_cxx_cross
4568 cat > conftest.$ac_ext <<EOF
4569 #line 4570 "configure"
4570 #include "confdefs.h"
4571 #include <math.h>
4572 int main() {
4573 __builtin_cosl(0);
4574 ; return 0; }
4576 if { (eval echo configure:4577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4577 rm -rf conftest*
4578 glibcpp_cv_func___builtin_cosl_use=yes
4579 else
4580 echo "configure: failed program was:" >&5
4581 cat conftest.$ac_ext >&5
4582 rm -rf conftest*
4583 glibcpp_cv_func___builtin_cosl_use=no
4585 rm -f conftest*
4586 ac_ext=c
4587 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4590 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4591 cross_compiling=$ac_cv_prog_cc_cross
4596 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4597 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4598 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4599 echo "configure:4600: checking for __builtin_cosl linkage" >&5
4600 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4601 echo $ac_n "(cached) $ac_c" 1>&6
4602 else
4604 cat > conftest.$ac_ext <<EOF
4605 #line 4606 "configure"
4606 #include "confdefs.h"
4607 #include <math.h>
4608 int main() {
4609 __builtin_cosl(0);
4610 ; return 0; }
4612 if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4613 rm -rf conftest*
4614 glibcpp_cv_func___builtin_cosl_link=yes
4615 else
4616 echo "configure: failed program was:" >&5
4617 cat conftest.$ac_ext >&5
4618 rm -rf conftest*
4619 glibcpp_cv_func___builtin_cosl_link=no
4621 rm -f conftest*
4625 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4626 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4627 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4628 cat >> confdefs.h <<EOF
4629 #define ${ac_tr_func} 1
4636 dummyvar=no
4637 if test x$dummyvar = x"yes"; then
4638 cat >> confdefs.h <<\EOF
4639 #define HAVE___BUILTIN_ABS 1
4642 cat >> confdefs.h <<\EOF
4643 #define HAVE___BUILTIN_LABS 1
4646 cat >> confdefs.h <<\EOF
4647 #define HAVE___BUILTIN_COS 1
4650 cat >> confdefs.h <<\EOF
4651 #define HAVE___BUILTIN_COSF 1
4654 cat >> confdefs.h <<\EOF
4655 #define HAVE___BUILTIN_COSL 1
4658 cat >> confdefs.h <<\EOF
4659 #define HAVE___BUILTIN_FABS 1
4662 cat >> confdefs.h <<\EOF
4663 #define HAVE___BUILTIN_FABSF 1
4666 cat >> confdefs.h <<\EOF
4667 #define HAVE___BUILTIN_FABSL 1
4670 cat >> confdefs.h <<\EOF
4671 #define HAVE___BUILTIN_SIN 1
4674 cat >> confdefs.h <<\EOF
4675 #define HAVE___BUILTIN_SINF 1
4678 cat >> confdefs.h <<\EOF
4679 #define HAVE___BUILTIN_SINL 1
4682 cat >> confdefs.h <<\EOF
4683 #define HAVE___BUILTIN_FSQRT 1
4686 cat >> confdefs.h <<\EOF
4687 #define HAVE___BUILTIN_SQRTF 1
4690 cat >> confdefs.h <<\EOF
4691 #define HAVE___BUILTIN_SQRTL 1
4697 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4698 ac_save_CXXFLAGS="$CXXFLAGS"
4699 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4701 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4702 echo "configure:4703: checking for sin in -lm" >&5
4703 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4704 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4705 echo $ac_n "(cached) $ac_c" 1>&6
4706 else
4707 ac_save_LIBS="$LIBS"
4708 LIBS="-lm $LIBS"
4709 cat > conftest.$ac_ext <<EOF
4710 #line 4711 "configure"
4711 #include "confdefs.h"
4712 /* Override any gcc2 internal prototype to avoid an error. */
4713 /* We use char because int might match the return type of a gcc2
4714 builtin and then its argument prototype would still apply. */
4715 char sin();
4717 int main() {
4718 sin()
4719 ; return 0; }
4721 if { (eval echo configure:4722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4722 rm -rf conftest*
4723 eval "ac_cv_lib_$ac_lib_var=yes"
4724 else
4725 echo "configure: failed program was:" >&5
4726 cat conftest.$ac_ext >&5
4727 rm -rf conftest*
4728 eval "ac_cv_lib_$ac_lib_var=no"
4730 rm -f conftest*
4731 LIBS="$ac_save_LIBS"
4734 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4735 echo "$ac_t""yes" 1>&6
4736 libm="-lm"
4737 else
4738 echo "$ac_t""no" 1>&6
4741 ac_save_LIBS="$LIBS"
4742 LIBS="$LIBS $libm"
4745 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4746 echo "configure:4747: checking for isinf declaration" >&5
4747 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4748 echo $ac_n "(cached) $ac_c" 1>&6
4749 else
4752 ac_ext=C
4753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4754 ac_cpp='$CXXCPP $CPPFLAGS'
4755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4757 cross_compiling=$ac_cv_prog_cxx_cross
4759 cat > conftest.$ac_ext <<EOF
4760 #line 4761 "configure"
4761 #include "confdefs.h"
4762 #include <math.h>
4763 int main() {
4764 isinf(0);
4765 ; return 0; }
4767 if { (eval echo configure:4768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4768 rm -rf conftest*
4769 glibcpp_cv_func_isinf_use=yes
4770 else
4771 echo "configure: failed program was:" >&5
4772 cat conftest.$ac_ext >&5
4773 rm -rf conftest*
4774 glibcpp_cv_func_isinf_use=no
4776 rm -f conftest*
4777 ac_ext=c
4778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4779 ac_cpp='$CPP $CPPFLAGS'
4780 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4781 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4782 cross_compiling=$ac_cv_prog_cc_cross
4787 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4788 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4789 for ac_func in isinf
4791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4792 echo "configure:4793: checking for $ac_func" >&5
4793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4794 echo $ac_n "(cached) $ac_c" 1>&6
4795 else
4796 cat > conftest.$ac_ext <<EOF
4797 #line 4798 "configure"
4798 #include "confdefs.h"
4799 /* System header to define __stub macros and hopefully few prototypes,
4800 which can conflict with char $ac_func(); below. */
4801 #include <assert.h>
4802 /* Override any gcc2 internal prototype to avoid an error. */
4803 /* We use char because int might match the return type of a gcc2
4804 builtin and then its argument prototype would still apply. */
4805 char $ac_func();
4807 int main() {
4809 /* The GNU C library defines this for functions which it implements
4810 to always fail with ENOSYS. Some functions are actually named
4811 something starting with __ and the normal name is an alias. */
4812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4813 choke me
4814 #else
4815 $ac_func();
4816 #endif
4818 ; return 0; }
4820 if { (eval echo configure:4821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4821 rm -rf conftest*
4822 eval "ac_cv_func_$ac_func=yes"
4823 else
4824 echo "configure: failed program was:" >&5
4825 cat conftest.$ac_ext >&5
4826 rm -rf conftest*
4827 eval "ac_cv_func_$ac_func=no"
4829 rm -f conftest*
4832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4833 echo "$ac_t""yes" 1>&6
4834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4835 cat >> confdefs.h <<EOF
4836 #define $ac_tr_func 1
4839 else
4840 echo "$ac_t""no" 1>&6
4842 done
4847 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4848 echo "configure:4849: checking for isnan declaration" >&5
4849 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4850 echo $ac_n "(cached) $ac_c" 1>&6
4851 else
4854 ac_ext=C
4855 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4856 ac_cpp='$CXXCPP $CPPFLAGS'
4857 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4858 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4859 cross_compiling=$ac_cv_prog_cxx_cross
4861 cat > conftest.$ac_ext <<EOF
4862 #line 4863 "configure"
4863 #include "confdefs.h"
4864 #include <math.h>
4865 int main() {
4866 isnan(0);
4867 ; return 0; }
4869 if { (eval echo configure:4870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4870 rm -rf conftest*
4871 glibcpp_cv_func_isnan_use=yes
4872 else
4873 echo "configure: failed program was:" >&5
4874 cat conftest.$ac_ext >&5
4875 rm -rf conftest*
4876 glibcpp_cv_func_isnan_use=no
4878 rm -f conftest*
4879 ac_ext=c
4880 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4881 ac_cpp='$CPP $CPPFLAGS'
4882 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4883 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4884 cross_compiling=$ac_cv_prog_cc_cross
4889 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
4890 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
4891 for ac_func in isnan
4893 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4894 echo "configure:4895: checking for $ac_func" >&5
4895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4896 echo $ac_n "(cached) $ac_c" 1>&6
4897 else
4898 cat > conftest.$ac_ext <<EOF
4899 #line 4900 "configure"
4900 #include "confdefs.h"
4901 /* System header to define __stub macros and hopefully few prototypes,
4902 which can conflict with char $ac_func(); below. */
4903 #include <assert.h>
4904 /* Override any gcc2 internal prototype to avoid an error. */
4905 /* We use char because int might match the return type of a gcc2
4906 builtin and then its argument prototype would still apply. */
4907 char $ac_func();
4909 int main() {
4911 /* The GNU C library defines this for functions which it implements
4912 to always fail with ENOSYS. Some functions are actually named
4913 something starting with __ and the normal name is an alias. */
4914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4915 choke me
4916 #else
4917 $ac_func();
4918 #endif
4920 ; return 0; }
4922 if { (eval echo configure:4923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4923 rm -rf conftest*
4924 eval "ac_cv_func_$ac_func=yes"
4925 else
4926 echo "configure: failed program was:" >&5
4927 cat conftest.$ac_ext >&5
4928 rm -rf conftest*
4929 eval "ac_cv_func_$ac_func=no"
4931 rm -f conftest*
4934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4935 echo "$ac_t""yes" 1>&6
4936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4937 cat >> confdefs.h <<EOF
4938 #define $ac_tr_func 1
4941 else
4942 echo "$ac_t""no" 1>&6
4944 done
4949 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
4950 echo "configure:4951: checking for finite declaration" >&5
4951 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
4952 echo $ac_n "(cached) $ac_c" 1>&6
4953 else
4956 ac_ext=C
4957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4958 ac_cpp='$CXXCPP $CPPFLAGS'
4959 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4960 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4961 cross_compiling=$ac_cv_prog_cxx_cross
4963 cat > conftest.$ac_ext <<EOF
4964 #line 4965 "configure"
4965 #include "confdefs.h"
4966 #include <math.h>
4967 int main() {
4968 finite(0);
4969 ; return 0; }
4971 if { (eval echo configure:4972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4972 rm -rf conftest*
4973 glibcpp_cv_func_finite_use=yes
4974 else
4975 echo "configure: failed program was:" >&5
4976 cat conftest.$ac_ext >&5
4977 rm -rf conftest*
4978 glibcpp_cv_func_finite_use=no
4980 rm -f conftest*
4981 ac_ext=c
4982 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4983 ac_cpp='$CPP $CPPFLAGS'
4984 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4985 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4986 cross_compiling=$ac_cv_prog_cc_cross
4991 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
4992 if test x$glibcpp_cv_func_finite_use = x"yes"; then
4993 for ac_func in finite
4995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4996 echo "configure:4997: checking for $ac_func" >&5
4997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4998 echo $ac_n "(cached) $ac_c" 1>&6
4999 else
5000 cat > conftest.$ac_ext <<EOF
5001 #line 5002 "configure"
5002 #include "confdefs.h"
5003 /* System header to define __stub macros and hopefully few prototypes,
5004 which can conflict with char $ac_func(); below. */
5005 #include <assert.h>
5006 /* Override any gcc2 internal prototype to avoid an error. */
5007 /* We use char because int might match the return type of a gcc2
5008 builtin and then its argument prototype would still apply. */
5009 char $ac_func();
5011 int main() {
5013 /* The GNU C library defines this for functions which it implements
5014 to always fail with ENOSYS. Some functions are actually named
5015 something starting with __ and the normal name is an alias. */
5016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5017 choke me
5018 #else
5019 $ac_func();
5020 #endif
5022 ; return 0; }
5024 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5025 rm -rf conftest*
5026 eval "ac_cv_func_$ac_func=yes"
5027 else
5028 echo "configure: failed program was:" >&5
5029 cat conftest.$ac_ext >&5
5030 rm -rf conftest*
5031 eval "ac_cv_func_$ac_func=no"
5033 rm -f conftest*
5036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5037 echo "$ac_t""yes" 1>&6
5038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5039 cat >> confdefs.h <<EOF
5040 #define $ac_tr_func 1
5043 else
5044 echo "$ac_t""no" 1>&6
5046 done
5051 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5052 echo "configure:5053: checking for copysign declaration" >&5
5053 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5054 echo $ac_n "(cached) $ac_c" 1>&6
5055 else
5058 ac_ext=C
5059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5060 ac_cpp='$CXXCPP $CPPFLAGS'
5061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5063 cross_compiling=$ac_cv_prog_cxx_cross
5065 cat > conftest.$ac_ext <<EOF
5066 #line 5067 "configure"
5067 #include "confdefs.h"
5068 #include <math.h>
5069 int main() {
5070 copysign(0, 0);
5071 ; return 0; }
5073 if { (eval echo configure:5074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5074 rm -rf conftest*
5075 glibcpp_cv_func_copysign_use=yes
5076 else
5077 echo "configure: failed program was:" >&5
5078 cat conftest.$ac_ext >&5
5079 rm -rf conftest*
5080 glibcpp_cv_func_copysign_use=no
5082 rm -f conftest*
5083 ac_ext=c
5084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5085 ac_cpp='$CPP $CPPFLAGS'
5086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5088 cross_compiling=$ac_cv_prog_cc_cross
5093 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5094 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5095 for ac_func in copysign
5097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5098 echo "configure:5099: checking for $ac_func" >&5
5099 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5100 echo $ac_n "(cached) $ac_c" 1>&6
5101 else
5102 cat > conftest.$ac_ext <<EOF
5103 #line 5104 "configure"
5104 #include "confdefs.h"
5105 /* System header to define __stub macros and hopefully few prototypes,
5106 which can conflict with char $ac_func(); below. */
5107 #include <assert.h>
5108 /* Override any gcc2 internal prototype to avoid an error. */
5109 /* We use char because int might match the return type of a gcc2
5110 builtin and then its argument prototype would still apply. */
5111 char $ac_func();
5113 int main() {
5115 /* The GNU C library defines this for functions which it implements
5116 to always fail with ENOSYS. Some functions are actually named
5117 something starting with __ and the normal name is an alias. */
5118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5119 choke me
5120 #else
5121 $ac_func();
5122 #endif
5124 ; return 0; }
5126 if { (eval echo configure:5127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5127 rm -rf conftest*
5128 eval "ac_cv_func_$ac_func=yes"
5129 else
5130 echo "configure: failed program was:" >&5
5131 cat conftest.$ac_ext >&5
5132 rm -rf conftest*
5133 eval "ac_cv_func_$ac_func=no"
5135 rm -f conftest*
5138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5139 echo "$ac_t""yes" 1>&6
5140 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5141 cat >> confdefs.h <<EOF
5142 #define $ac_tr_func 1
5145 else
5146 echo "$ac_t""no" 1>&6
5148 done
5153 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5154 echo "configure:5155: checking for sincos declaration" >&5
5155 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5156 echo $ac_n "(cached) $ac_c" 1>&6
5157 else
5160 ac_ext=C
5161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5162 ac_cpp='$CXXCPP $CPPFLAGS'
5163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5165 cross_compiling=$ac_cv_prog_cxx_cross
5167 cat > conftest.$ac_ext <<EOF
5168 #line 5169 "configure"
5169 #include "confdefs.h"
5170 #include <math.h>
5171 int main() {
5172 sincos(0, 0, 0);
5173 ; return 0; }
5175 if { (eval echo configure:5176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5176 rm -rf conftest*
5177 glibcpp_cv_func_sincos_use=yes
5178 else
5179 echo "configure: failed program was:" >&5
5180 cat conftest.$ac_ext >&5
5181 rm -rf conftest*
5182 glibcpp_cv_func_sincos_use=no
5184 rm -f conftest*
5185 ac_ext=c
5186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5189 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5190 cross_compiling=$ac_cv_prog_cc_cross
5195 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5196 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5197 for ac_func in sincos
5199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5200 echo "configure:5201: checking for $ac_func" >&5
5201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5202 echo $ac_n "(cached) $ac_c" 1>&6
5203 else
5204 cat > conftest.$ac_ext <<EOF
5205 #line 5206 "configure"
5206 #include "confdefs.h"
5207 /* System header to define __stub macros and hopefully few prototypes,
5208 which can conflict with char $ac_func(); below. */
5209 #include <assert.h>
5210 /* Override any gcc2 internal prototype to avoid an error. */
5211 /* We use char because int might match the return type of a gcc2
5212 builtin and then its argument prototype would still apply. */
5213 char $ac_func();
5215 int main() {
5217 /* The GNU C library defines this for functions which it implements
5218 to always fail with ENOSYS. Some functions are actually named
5219 something starting with __ and the normal name is an alias. */
5220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5221 choke me
5222 #else
5223 $ac_func();
5224 #endif
5226 ; return 0; }
5228 if { (eval echo configure:5229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5229 rm -rf conftest*
5230 eval "ac_cv_func_$ac_func=yes"
5231 else
5232 echo "configure: failed program was:" >&5
5233 cat conftest.$ac_ext >&5
5234 rm -rf conftest*
5235 eval "ac_cv_func_$ac_func=no"
5237 rm -f conftest*
5240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5241 echo "$ac_t""yes" 1>&6
5242 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5243 cat >> confdefs.h <<EOF
5244 #define $ac_tr_func 1
5247 else
5248 echo "$ac_t""no" 1>&6
5250 done
5255 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5256 echo "configure:5257: checking for fpclass declaration" >&5
5257 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5258 echo $ac_n "(cached) $ac_c" 1>&6
5259 else
5262 ac_ext=C
5263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5264 ac_cpp='$CXXCPP $CPPFLAGS'
5265 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5266 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5267 cross_compiling=$ac_cv_prog_cxx_cross
5269 cat > conftest.$ac_ext <<EOF
5270 #line 5271 "configure"
5271 #include "confdefs.h"
5272 #include <math.h>
5273 int main() {
5274 fpclass(0);
5275 ; return 0; }
5277 if { (eval echo configure:5278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5278 rm -rf conftest*
5279 glibcpp_cv_func_fpclass_use=yes
5280 else
5281 echo "configure: failed program was:" >&5
5282 cat conftest.$ac_ext >&5
5283 rm -rf conftest*
5284 glibcpp_cv_func_fpclass_use=no
5286 rm -f conftest*
5287 ac_ext=c
5288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5289 ac_cpp='$CPP $CPPFLAGS'
5290 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5291 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5292 cross_compiling=$ac_cv_prog_cc_cross
5297 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5298 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5299 for ac_func in fpclass
5301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5302 echo "configure:5303: checking for $ac_func" >&5
5303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5304 echo $ac_n "(cached) $ac_c" 1>&6
5305 else
5306 cat > conftest.$ac_ext <<EOF
5307 #line 5308 "configure"
5308 #include "confdefs.h"
5309 /* System header to define __stub macros and hopefully few prototypes,
5310 which can conflict with char $ac_func(); below. */
5311 #include <assert.h>
5312 /* Override any gcc2 internal prototype to avoid an error. */
5313 /* We use char because int might match the return type of a gcc2
5314 builtin and then its argument prototype would still apply. */
5315 char $ac_func();
5317 int main() {
5319 /* The GNU C library defines this for functions which it implements
5320 to always fail with ENOSYS. Some functions are actually named
5321 something starting with __ and the normal name is an alias. */
5322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5323 choke me
5324 #else
5325 $ac_func();
5326 #endif
5328 ; return 0; }
5330 if { (eval echo configure:5331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5331 rm -rf conftest*
5332 eval "ac_cv_func_$ac_func=yes"
5333 else
5334 echo "configure: failed program was:" >&5
5335 cat conftest.$ac_ext >&5
5336 rm -rf conftest*
5337 eval "ac_cv_func_$ac_func=no"
5339 rm -f conftest*
5342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5343 echo "$ac_t""yes" 1>&6
5344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5345 cat >> confdefs.h <<EOF
5346 #define $ac_tr_func 1
5349 else
5350 echo "$ac_t""no" 1>&6
5352 done
5357 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5358 echo "configure:5359: checking for qfpclass declaration" >&5
5359 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5360 echo $ac_n "(cached) $ac_c" 1>&6
5361 else
5364 ac_ext=C
5365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5366 ac_cpp='$CXXCPP $CPPFLAGS'
5367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5369 cross_compiling=$ac_cv_prog_cxx_cross
5371 cat > conftest.$ac_ext <<EOF
5372 #line 5373 "configure"
5373 #include "confdefs.h"
5374 #include <math.h>
5375 int main() {
5376 qfpclass(0);
5377 ; return 0; }
5379 if { (eval echo configure:5380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5380 rm -rf conftest*
5381 glibcpp_cv_func_qfpclass_use=yes
5382 else
5383 echo "configure: failed program was:" >&5
5384 cat conftest.$ac_ext >&5
5385 rm -rf conftest*
5386 glibcpp_cv_func_qfpclass_use=no
5388 rm -f conftest*
5389 ac_ext=c
5390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5391 ac_cpp='$CPP $CPPFLAGS'
5392 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5393 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5394 cross_compiling=$ac_cv_prog_cc_cross
5399 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5400 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5401 for ac_func in qfpclass
5403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5404 echo "configure:5405: checking for $ac_func" >&5
5405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5406 echo $ac_n "(cached) $ac_c" 1>&6
5407 else
5408 cat > conftest.$ac_ext <<EOF
5409 #line 5410 "configure"
5410 #include "confdefs.h"
5411 /* System header to define __stub macros and hopefully few prototypes,
5412 which can conflict with char $ac_func(); below. */
5413 #include <assert.h>
5414 /* Override any gcc2 internal prototype to avoid an error. */
5415 /* We use char because int might match the return type of a gcc2
5416 builtin and then its argument prototype would still apply. */
5417 char $ac_func();
5419 int main() {
5421 /* The GNU C library defines this for functions which it implements
5422 to always fail with ENOSYS. Some functions are actually named
5423 something starting with __ and the normal name is an alias. */
5424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5425 choke me
5426 #else
5427 $ac_func();
5428 #endif
5430 ; return 0; }
5432 if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5433 rm -rf conftest*
5434 eval "ac_cv_func_$ac_func=yes"
5435 else
5436 echo "configure: failed program was:" >&5
5437 cat conftest.$ac_ext >&5
5438 rm -rf conftest*
5439 eval "ac_cv_func_$ac_func=no"
5441 rm -f conftest*
5444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5445 echo "$ac_t""yes" 1>&6
5446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5447 cat >> confdefs.h <<EOF
5448 #define $ac_tr_func 1
5451 else
5452 echo "$ac_t""no" 1>&6
5454 done
5460 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5461 echo "configure:5462: checking for isnanf declaration" >&5
5462 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5463 echo $ac_n "(cached) $ac_c" 1>&6
5464 else
5467 ac_ext=C
5468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5469 ac_cpp='$CXXCPP $CPPFLAGS'
5470 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5471 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5472 cross_compiling=$ac_cv_prog_cxx_cross
5474 cat > conftest.$ac_ext <<EOF
5475 #line 5476 "configure"
5476 #include "confdefs.h"
5477 #include <math.h>
5478 int main() {
5479 isnanf(0);
5480 ; return 0; }
5482 if { (eval echo configure:5483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5483 rm -rf conftest*
5484 glibcpp_cv_func_isnanf_use=yes
5485 else
5486 echo "configure: failed program was:" >&5
5487 cat conftest.$ac_ext >&5
5488 rm -rf conftest*
5489 glibcpp_cv_func_isnanf_use=no
5491 rm -f conftest*
5492 ac_ext=c
5493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5494 ac_cpp='$CPP $CPPFLAGS'
5495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5497 cross_compiling=$ac_cv_prog_cc_cross
5502 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5503 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5504 for ac_func in isnanf
5506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5507 echo "configure:5508: checking for $ac_func" >&5
5508 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5509 echo $ac_n "(cached) $ac_c" 1>&6
5510 else
5511 cat > conftest.$ac_ext <<EOF
5512 #line 5513 "configure"
5513 #include "confdefs.h"
5514 /* System header to define __stub macros and hopefully few prototypes,
5515 which can conflict with char $ac_func(); below. */
5516 #include <assert.h>
5517 /* Override any gcc2 internal prototype to avoid an error. */
5518 /* We use char because int might match the return type of a gcc2
5519 builtin and then its argument prototype would still apply. */
5520 char $ac_func();
5522 int main() {
5524 /* The GNU C library defines this for functions which it implements
5525 to always fail with ENOSYS. Some functions are actually named
5526 something starting with __ and the normal name is an alias. */
5527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5528 choke me
5529 #else
5530 $ac_func();
5531 #endif
5533 ; return 0; }
5535 if { (eval echo configure:5536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5536 rm -rf conftest*
5537 eval "ac_cv_func_$ac_func=yes"
5538 else
5539 echo "configure: failed program was:" >&5
5540 cat conftest.$ac_ext >&5
5541 rm -rf conftest*
5542 eval "ac_cv_func_$ac_func=no"
5544 rm -f conftest*
5547 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5548 echo "$ac_t""yes" 1>&6
5549 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5550 cat >> confdefs.h <<EOF
5551 #define $ac_tr_func 1
5554 else
5555 echo "$ac_t""no" 1>&6
5557 done
5562 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5563 echo "configure:5564: checking for isinff declaration" >&5
5564 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5565 echo $ac_n "(cached) $ac_c" 1>&6
5566 else
5569 ac_ext=C
5570 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5571 ac_cpp='$CXXCPP $CPPFLAGS'
5572 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5573 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5574 cross_compiling=$ac_cv_prog_cxx_cross
5576 cat > conftest.$ac_ext <<EOF
5577 #line 5578 "configure"
5578 #include "confdefs.h"
5579 #include <math.h>
5580 int main() {
5581 isinff(0);
5582 ; return 0; }
5584 if { (eval echo configure:5585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5585 rm -rf conftest*
5586 glibcpp_cv_func_isinff_use=yes
5587 else
5588 echo "configure: failed program was:" >&5
5589 cat conftest.$ac_ext >&5
5590 rm -rf conftest*
5591 glibcpp_cv_func_isinff_use=no
5593 rm -f conftest*
5594 ac_ext=c
5595 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5596 ac_cpp='$CPP $CPPFLAGS'
5597 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5598 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5599 cross_compiling=$ac_cv_prog_cc_cross
5604 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5605 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5606 for ac_func in isinff
5608 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5609 echo "configure:5610: checking for $ac_func" >&5
5610 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5611 echo $ac_n "(cached) $ac_c" 1>&6
5612 else
5613 cat > conftest.$ac_ext <<EOF
5614 #line 5615 "configure"
5615 #include "confdefs.h"
5616 /* System header to define __stub macros and hopefully few prototypes,
5617 which can conflict with char $ac_func(); below. */
5618 #include <assert.h>
5619 /* Override any gcc2 internal prototype to avoid an error. */
5620 /* We use char because int might match the return type of a gcc2
5621 builtin and then its argument prototype would still apply. */
5622 char $ac_func();
5624 int main() {
5626 /* The GNU C library defines this for functions which it implements
5627 to always fail with ENOSYS. Some functions are actually named
5628 something starting with __ and the normal name is an alias. */
5629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5630 choke me
5631 #else
5632 $ac_func();
5633 #endif
5635 ; return 0; }
5637 if { (eval echo configure:5638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5638 rm -rf conftest*
5639 eval "ac_cv_func_$ac_func=yes"
5640 else
5641 echo "configure: failed program was:" >&5
5642 cat conftest.$ac_ext >&5
5643 rm -rf conftest*
5644 eval "ac_cv_func_$ac_func=no"
5646 rm -f conftest*
5649 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5650 echo "$ac_t""yes" 1>&6
5651 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5652 cat >> confdefs.h <<EOF
5653 #define $ac_tr_func 1
5656 else
5657 echo "$ac_t""no" 1>&6
5659 done
5664 echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5665 echo "configure:5666: checking for acosf declaration" >&5
5666 if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5667 echo $ac_n "(cached) $ac_c" 1>&6
5668 else
5671 ac_ext=C
5672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5673 ac_cpp='$CXXCPP $CPPFLAGS'
5674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5676 cross_compiling=$ac_cv_prog_cxx_cross
5678 cat > conftest.$ac_ext <<EOF
5679 #line 5680 "configure"
5680 #include "confdefs.h"
5681 #include <math.h>
5682 int main() {
5683 acosf(0);
5684 ; return 0; }
5686 if { (eval echo configure:5687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5687 rm -rf conftest*
5688 glibcpp_cv_func_acosf_use=yes
5689 else
5690 echo "configure: failed program was:" >&5
5691 cat conftest.$ac_ext >&5
5692 rm -rf conftest*
5693 glibcpp_cv_func_acosf_use=no
5695 rm -f conftest*
5696 ac_ext=c
5697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5698 ac_cpp='$CPP $CPPFLAGS'
5699 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5700 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5701 cross_compiling=$ac_cv_prog_cc_cross
5706 echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5707 if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5708 for ac_func in acosf
5710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5711 echo "configure:5712: checking for $ac_func" >&5
5712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5713 echo $ac_n "(cached) $ac_c" 1>&6
5714 else
5715 cat > conftest.$ac_ext <<EOF
5716 #line 5717 "configure"
5717 #include "confdefs.h"
5718 /* System header to define __stub macros and hopefully few prototypes,
5719 which can conflict with char $ac_func(); below. */
5720 #include <assert.h>
5721 /* Override any gcc2 internal prototype to avoid an error. */
5722 /* We use char because int might match the return type of a gcc2
5723 builtin and then its argument prototype would still apply. */
5724 char $ac_func();
5726 int main() {
5728 /* The GNU C library defines this for functions which it implements
5729 to always fail with ENOSYS. Some functions are actually named
5730 something starting with __ and the normal name is an alias. */
5731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5732 choke me
5733 #else
5734 $ac_func();
5735 #endif
5737 ; return 0; }
5739 if { (eval echo configure:5740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5740 rm -rf conftest*
5741 eval "ac_cv_func_$ac_func=yes"
5742 else
5743 echo "configure: failed program was:" >&5
5744 cat conftest.$ac_ext >&5
5745 rm -rf conftest*
5746 eval "ac_cv_func_$ac_func=no"
5748 rm -f conftest*
5751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5752 echo "$ac_t""yes" 1>&6
5753 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5754 cat >> confdefs.h <<EOF
5755 #define $ac_tr_func 1
5758 else
5759 echo "$ac_t""no" 1>&6
5761 done
5766 echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5767 echo "configure:5768: checking for asinf declaration" >&5
5768 if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5769 echo $ac_n "(cached) $ac_c" 1>&6
5770 else
5773 ac_ext=C
5774 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5775 ac_cpp='$CXXCPP $CPPFLAGS'
5776 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5777 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5778 cross_compiling=$ac_cv_prog_cxx_cross
5780 cat > conftest.$ac_ext <<EOF
5781 #line 5782 "configure"
5782 #include "confdefs.h"
5783 #include <math.h>
5784 int main() {
5785 asinf(0);
5786 ; return 0; }
5788 if { (eval echo configure:5789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5789 rm -rf conftest*
5790 glibcpp_cv_func_asinf_use=yes
5791 else
5792 echo "configure: failed program was:" >&5
5793 cat conftest.$ac_ext >&5
5794 rm -rf conftest*
5795 glibcpp_cv_func_asinf_use=no
5797 rm -f conftest*
5798 ac_ext=c
5799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5800 ac_cpp='$CPP $CPPFLAGS'
5801 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5802 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5803 cross_compiling=$ac_cv_prog_cc_cross
5808 echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5809 if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5810 for ac_func in asinf
5812 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5813 echo "configure:5814: checking for $ac_func" >&5
5814 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5815 echo $ac_n "(cached) $ac_c" 1>&6
5816 else
5817 cat > conftest.$ac_ext <<EOF
5818 #line 5819 "configure"
5819 #include "confdefs.h"
5820 /* System header to define __stub macros and hopefully few prototypes,
5821 which can conflict with char $ac_func(); below. */
5822 #include <assert.h>
5823 /* Override any gcc2 internal prototype to avoid an error. */
5824 /* We use char because int might match the return type of a gcc2
5825 builtin and then its argument prototype would still apply. */
5826 char $ac_func();
5828 int main() {
5830 /* The GNU C library defines this for functions which it implements
5831 to always fail with ENOSYS. Some functions are actually named
5832 something starting with __ and the normal name is an alias. */
5833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5834 choke me
5835 #else
5836 $ac_func();
5837 #endif
5839 ; return 0; }
5841 if { (eval echo configure:5842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5842 rm -rf conftest*
5843 eval "ac_cv_func_$ac_func=yes"
5844 else
5845 echo "configure: failed program was:" >&5
5846 cat conftest.$ac_ext >&5
5847 rm -rf conftest*
5848 eval "ac_cv_func_$ac_func=no"
5850 rm -f conftest*
5853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5854 echo "$ac_t""yes" 1>&6
5855 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5856 cat >> confdefs.h <<EOF
5857 #define $ac_tr_func 1
5860 else
5861 echo "$ac_t""no" 1>&6
5863 done
5868 echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
5869 echo "configure:5870: checking for atanf declaration" >&5
5870 if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
5871 echo $ac_n "(cached) $ac_c" 1>&6
5872 else
5875 ac_ext=C
5876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5877 ac_cpp='$CXXCPP $CPPFLAGS'
5878 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5879 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5880 cross_compiling=$ac_cv_prog_cxx_cross
5882 cat > conftest.$ac_ext <<EOF
5883 #line 5884 "configure"
5884 #include "confdefs.h"
5885 #include <math.h>
5886 int main() {
5887 atanf(0);
5888 ; return 0; }
5890 if { (eval echo configure:5891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5891 rm -rf conftest*
5892 glibcpp_cv_func_atanf_use=yes
5893 else
5894 echo "configure: failed program was:" >&5
5895 cat conftest.$ac_ext >&5
5896 rm -rf conftest*
5897 glibcpp_cv_func_atanf_use=no
5899 rm -f conftest*
5900 ac_ext=c
5901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5902 ac_cpp='$CPP $CPPFLAGS'
5903 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5904 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5905 cross_compiling=$ac_cv_prog_cc_cross
5910 echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
5911 if test x$glibcpp_cv_func_atanf_use = x"yes"; then
5912 for ac_func in atanf
5914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5915 echo "configure:5916: checking for $ac_func" >&5
5916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5917 echo $ac_n "(cached) $ac_c" 1>&6
5918 else
5919 cat > conftest.$ac_ext <<EOF
5920 #line 5921 "configure"
5921 #include "confdefs.h"
5922 /* System header to define __stub macros and hopefully few prototypes,
5923 which can conflict with char $ac_func(); below. */
5924 #include <assert.h>
5925 /* Override any gcc2 internal prototype to avoid an error. */
5926 /* We use char because int might match the return type of a gcc2
5927 builtin and then its argument prototype would still apply. */
5928 char $ac_func();
5930 int main() {
5932 /* The GNU C library defines this for functions which it implements
5933 to always fail with ENOSYS. Some functions are actually named
5934 something starting with __ and the normal name is an alias. */
5935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5936 choke me
5937 #else
5938 $ac_func();
5939 #endif
5941 ; return 0; }
5943 if { (eval echo configure:5944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5944 rm -rf conftest*
5945 eval "ac_cv_func_$ac_func=yes"
5946 else
5947 echo "configure: failed program was:" >&5
5948 cat conftest.$ac_ext >&5
5949 rm -rf conftest*
5950 eval "ac_cv_func_$ac_func=no"
5952 rm -f conftest*
5955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5956 echo "$ac_t""yes" 1>&6
5957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5958 cat >> confdefs.h <<EOF
5959 #define $ac_tr_func 1
5962 else
5963 echo "$ac_t""no" 1>&6
5965 done
5970 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
5971 echo "configure:5972: checking for atan2f declaration" >&5
5972 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
5973 echo $ac_n "(cached) $ac_c" 1>&6
5974 else
5977 ac_ext=C
5978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5979 ac_cpp='$CXXCPP $CPPFLAGS'
5980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5982 cross_compiling=$ac_cv_prog_cxx_cross
5984 cat > conftest.$ac_ext <<EOF
5985 #line 5986 "configure"
5986 #include "confdefs.h"
5987 #include <math.h>
5988 int main() {
5989 atan2f(0, 0);
5990 ; return 0; }
5992 if { (eval echo configure:5993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5993 rm -rf conftest*
5994 glibcpp_cv_func_atan2f_use=yes
5995 else
5996 echo "configure: failed program was:" >&5
5997 cat conftest.$ac_ext >&5
5998 rm -rf conftest*
5999 glibcpp_cv_func_atan2f_use=no
6001 rm -f conftest*
6002 ac_ext=c
6003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6004 ac_cpp='$CPP $CPPFLAGS'
6005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6007 cross_compiling=$ac_cv_prog_cc_cross
6012 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6013 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6014 for ac_func in atan2f
6016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6017 echo "configure:6018: checking for $ac_func" >&5
6018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6019 echo $ac_n "(cached) $ac_c" 1>&6
6020 else
6021 cat > conftest.$ac_ext <<EOF
6022 #line 6023 "configure"
6023 #include "confdefs.h"
6024 /* System header to define __stub macros and hopefully few prototypes,
6025 which can conflict with char $ac_func(); below. */
6026 #include <assert.h>
6027 /* Override any gcc2 internal prototype to avoid an error. */
6028 /* We use char because int might match the return type of a gcc2
6029 builtin and then its argument prototype would still apply. */
6030 char $ac_func();
6032 int main() {
6034 /* The GNU C library defines this for functions which it implements
6035 to always fail with ENOSYS. Some functions are actually named
6036 something starting with __ and the normal name is an alias. */
6037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6038 choke me
6039 #else
6040 $ac_func();
6041 #endif
6043 ; return 0; }
6045 if { (eval echo configure:6046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6046 rm -rf conftest*
6047 eval "ac_cv_func_$ac_func=yes"
6048 else
6049 echo "configure: failed program was:" >&5
6050 cat conftest.$ac_ext >&5
6051 rm -rf conftest*
6052 eval "ac_cv_func_$ac_func=no"
6054 rm -f conftest*
6057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6058 echo "$ac_t""yes" 1>&6
6059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6060 cat >> confdefs.h <<EOF
6061 #define $ac_tr_func 1
6064 else
6065 echo "$ac_t""no" 1>&6
6067 done
6072 echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6073 echo "configure:6074: checking for ceilf declaration" >&5
6074 if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6075 echo $ac_n "(cached) $ac_c" 1>&6
6076 else
6079 ac_ext=C
6080 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6081 ac_cpp='$CXXCPP $CPPFLAGS'
6082 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6083 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6084 cross_compiling=$ac_cv_prog_cxx_cross
6086 cat > conftest.$ac_ext <<EOF
6087 #line 6088 "configure"
6088 #include "confdefs.h"
6089 #include <math.h>
6090 int main() {
6091 ceilf(0);
6092 ; return 0; }
6094 if { (eval echo configure:6095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6095 rm -rf conftest*
6096 glibcpp_cv_func_ceilf_use=yes
6097 else
6098 echo "configure: failed program was:" >&5
6099 cat conftest.$ac_ext >&5
6100 rm -rf conftest*
6101 glibcpp_cv_func_ceilf_use=no
6103 rm -f conftest*
6104 ac_ext=c
6105 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6106 ac_cpp='$CPP $CPPFLAGS'
6107 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6108 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6109 cross_compiling=$ac_cv_prog_cc_cross
6114 echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6115 if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6116 for ac_func in ceilf
6118 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6119 echo "configure:6120: checking for $ac_func" >&5
6120 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6121 echo $ac_n "(cached) $ac_c" 1>&6
6122 else
6123 cat > conftest.$ac_ext <<EOF
6124 #line 6125 "configure"
6125 #include "confdefs.h"
6126 /* System header to define __stub macros and hopefully few prototypes,
6127 which can conflict with char $ac_func(); below. */
6128 #include <assert.h>
6129 /* Override any gcc2 internal prototype to avoid an error. */
6130 /* We use char because int might match the return type of a gcc2
6131 builtin and then its argument prototype would still apply. */
6132 char $ac_func();
6134 int main() {
6136 /* The GNU C library defines this for functions which it implements
6137 to always fail with ENOSYS. Some functions are actually named
6138 something starting with __ and the normal name is an alias. */
6139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6140 choke me
6141 #else
6142 $ac_func();
6143 #endif
6145 ; return 0; }
6147 if { (eval echo configure:6148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6148 rm -rf conftest*
6149 eval "ac_cv_func_$ac_func=yes"
6150 else
6151 echo "configure: failed program was:" >&5
6152 cat conftest.$ac_ext >&5
6153 rm -rf conftest*
6154 eval "ac_cv_func_$ac_func=no"
6156 rm -f conftest*
6159 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6160 echo "$ac_t""yes" 1>&6
6161 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6162 cat >> confdefs.h <<EOF
6163 #define $ac_tr_func 1
6166 else
6167 echo "$ac_t""no" 1>&6
6169 done
6174 echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6175 echo "configure:6176: checking for cosf declaration" >&5
6176 if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6177 echo $ac_n "(cached) $ac_c" 1>&6
6178 else
6181 ac_ext=C
6182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6183 ac_cpp='$CXXCPP $CPPFLAGS'
6184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6186 cross_compiling=$ac_cv_prog_cxx_cross
6188 cat > conftest.$ac_ext <<EOF
6189 #line 6190 "configure"
6190 #include "confdefs.h"
6191 #include <math.h>
6192 int main() {
6193 cosf(0);
6194 ; return 0; }
6196 if { (eval echo configure:6197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6197 rm -rf conftest*
6198 glibcpp_cv_func_cosf_use=yes
6199 else
6200 echo "configure: failed program was:" >&5
6201 cat conftest.$ac_ext >&5
6202 rm -rf conftest*
6203 glibcpp_cv_func_cosf_use=no
6205 rm -f conftest*
6206 ac_ext=c
6207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6208 ac_cpp='$CPP $CPPFLAGS'
6209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6211 cross_compiling=$ac_cv_prog_cc_cross
6216 echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6217 if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6218 for ac_func in cosf
6220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6221 echo "configure:6222: checking for $ac_func" >&5
6222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6223 echo $ac_n "(cached) $ac_c" 1>&6
6224 else
6225 cat > conftest.$ac_ext <<EOF
6226 #line 6227 "configure"
6227 #include "confdefs.h"
6228 /* System header to define __stub macros and hopefully few prototypes,
6229 which can conflict with char $ac_func(); below. */
6230 #include <assert.h>
6231 /* Override any gcc2 internal prototype to avoid an error. */
6232 /* We use char because int might match the return type of a gcc2
6233 builtin and then its argument prototype would still apply. */
6234 char $ac_func();
6236 int main() {
6238 /* The GNU C library defines this for functions which it implements
6239 to always fail with ENOSYS. Some functions are actually named
6240 something starting with __ and the normal name is an alias. */
6241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6242 choke me
6243 #else
6244 $ac_func();
6245 #endif
6247 ; return 0; }
6249 if { (eval echo configure:6250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6250 rm -rf conftest*
6251 eval "ac_cv_func_$ac_func=yes"
6252 else
6253 echo "configure: failed program was:" >&5
6254 cat conftest.$ac_ext >&5
6255 rm -rf conftest*
6256 eval "ac_cv_func_$ac_func=no"
6258 rm -f conftest*
6261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6262 echo "$ac_t""yes" 1>&6
6263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6264 cat >> confdefs.h <<EOF
6265 #define $ac_tr_func 1
6268 else
6269 echo "$ac_t""no" 1>&6
6271 done
6276 echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6277 echo "configure:6278: checking for coshf declaration" >&5
6278 if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6279 echo $ac_n "(cached) $ac_c" 1>&6
6280 else
6283 ac_ext=C
6284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6285 ac_cpp='$CXXCPP $CPPFLAGS'
6286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6288 cross_compiling=$ac_cv_prog_cxx_cross
6290 cat > conftest.$ac_ext <<EOF
6291 #line 6292 "configure"
6292 #include "confdefs.h"
6293 #include <math.h>
6294 int main() {
6295 coshf(0);
6296 ; return 0; }
6298 if { (eval echo configure:6299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6299 rm -rf conftest*
6300 glibcpp_cv_func_coshf_use=yes
6301 else
6302 echo "configure: failed program was:" >&5
6303 cat conftest.$ac_ext >&5
6304 rm -rf conftest*
6305 glibcpp_cv_func_coshf_use=no
6307 rm -f conftest*
6308 ac_ext=c
6309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6310 ac_cpp='$CPP $CPPFLAGS'
6311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6313 cross_compiling=$ac_cv_prog_cc_cross
6318 echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6319 if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6320 for ac_func in coshf
6322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6323 echo "configure:6324: checking for $ac_func" >&5
6324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6325 echo $ac_n "(cached) $ac_c" 1>&6
6326 else
6327 cat > conftest.$ac_ext <<EOF
6328 #line 6329 "configure"
6329 #include "confdefs.h"
6330 /* System header to define __stub macros and hopefully few prototypes,
6331 which can conflict with char $ac_func(); below. */
6332 #include <assert.h>
6333 /* Override any gcc2 internal prototype to avoid an error. */
6334 /* We use char because int might match the return type of a gcc2
6335 builtin and then its argument prototype would still apply. */
6336 char $ac_func();
6338 int main() {
6340 /* The GNU C library defines this for functions which it implements
6341 to always fail with ENOSYS. Some functions are actually named
6342 something starting with __ and the normal name is an alias. */
6343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6344 choke me
6345 #else
6346 $ac_func();
6347 #endif
6349 ; return 0; }
6351 if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6352 rm -rf conftest*
6353 eval "ac_cv_func_$ac_func=yes"
6354 else
6355 echo "configure: failed program was:" >&5
6356 cat conftest.$ac_ext >&5
6357 rm -rf conftest*
6358 eval "ac_cv_func_$ac_func=no"
6360 rm -f conftest*
6363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6364 echo "$ac_t""yes" 1>&6
6365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6366 cat >> confdefs.h <<EOF
6367 #define $ac_tr_func 1
6370 else
6371 echo "$ac_t""no" 1>&6
6373 done
6378 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6379 echo "configure:6380: checking for expf declaration" >&5
6380 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6381 echo $ac_n "(cached) $ac_c" 1>&6
6382 else
6385 ac_ext=C
6386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6387 ac_cpp='$CXXCPP $CPPFLAGS'
6388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6390 cross_compiling=$ac_cv_prog_cxx_cross
6392 cat > conftest.$ac_ext <<EOF
6393 #line 6394 "configure"
6394 #include "confdefs.h"
6395 #include <math.h>
6396 int main() {
6397 expf(0);
6398 ; return 0; }
6400 if { (eval echo configure:6401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6401 rm -rf conftest*
6402 glibcpp_cv_func_expf_use=yes
6403 else
6404 echo "configure: failed program was:" >&5
6405 cat conftest.$ac_ext >&5
6406 rm -rf conftest*
6407 glibcpp_cv_func_expf_use=no
6409 rm -f conftest*
6410 ac_ext=c
6411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6412 ac_cpp='$CPP $CPPFLAGS'
6413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6415 cross_compiling=$ac_cv_prog_cc_cross
6420 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6421 if test x$glibcpp_cv_func_expf_use = x"yes"; then
6422 for ac_func in expf
6424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6425 echo "configure:6426: checking for $ac_func" >&5
6426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6427 echo $ac_n "(cached) $ac_c" 1>&6
6428 else
6429 cat > conftest.$ac_ext <<EOF
6430 #line 6431 "configure"
6431 #include "confdefs.h"
6432 /* System header to define __stub macros and hopefully few prototypes,
6433 which can conflict with char $ac_func(); below. */
6434 #include <assert.h>
6435 /* Override any gcc2 internal prototype to avoid an error. */
6436 /* We use char because int might match the return type of a gcc2
6437 builtin and then its argument prototype would still apply. */
6438 char $ac_func();
6440 int main() {
6442 /* The GNU C library defines this for functions which it implements
6443 to always fail with ENOSYS. Some functions are actually named
6444 something starting with __ and the normal name is an alias. */
6445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6446 choke me
6447 #else
6448 $ac_func();
6449 #endif
6451 ; return 0; }
6453 if { (eval echo configure:6454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6454 rm -rf conftest*
6455 eval "ac_cv_func_$ac_func=yes"
6456 else
6457 echo "configure: failed program was:" >&5
6458 cat conftest.$ac_ext >&5
6459 rm -rf conftest*
6460 eval "ac_cv_func_$ac_func=no"
6462 rm -f conftest*
6465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6466 echo "$ac_t""yes" 1>&6
6467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6468 cat >> confdefs.h <<EOF
6469 #define $ac_tr_func 1
6472 else
6473 echo "$ac_t""no" 1>&6
6475 done
6480 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6481 echo "configure:6482: checking for fabsf declaration" >&5
6482 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6483 echo $ac_n "(cached) $ac_c" 1>&6
6484 else
6487 ac_ext=C
6488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6489 ac_cpp='$CXXCPP $CPPFLAGS'
6490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6492 cross_compiling=$ac_cv_prog_cxx_cross
6494 cat > conftest.$ac_ext <<EOF
6495 #line 6496 "configure"
6496 #include "confdefs.h"
6497 #include <math.h>
6498 int main() {
6499 fabsf(0);
6500 ; return 0; }
6502 if { (eval echo configure:6503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6503 rm -rf conftest*
6504 glibcpp_cv_func_fabsf_use=yes
6505 else
6506 echo "configure: failed program was:" >&5
6507 cat conftest.$ac_ext >&5
6508 rm -rf conftest*
6509 glibcpp_cv_func_fabsf_use=no
6511 rm -f conftest*
6512 ac_ext=c
6513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6514 ac_cpp='$CPP $CPPFLAGS'
6515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6517 cross_compiling=$ac_cv_prog_cc_cross
6522 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6523 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6524 for ac_func in fabsf
6526 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6527 echo "configure:6528: checking for $ac_func" >&5
6528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6529 echo $ac_n "(cached) $ac_c" 1>&6
6530 else
6531 cat > conftest.$ac_ext <<EOF
6532 #line 6533 "configure"
6533 #include "confdefs.h"
6534 /* System header to define __stub macros and hopefully few prototypes,
6535 which can conflict with char $ac_func(); below. */
6536 #include <assert.h>
6537 /* Override any gcc2 internal prototype to avoid an error. */
6538 /* We use char because int might match the return type of a gcc2
6539 builtin and then its argument prototype would still apply. */
6540 char $ac_func();
6542 int main() {
6544 /* The GNU C library defines this for functions which it implements
6545 to always fail with ENOSYS. Some functions are actually named
6546 something starting with __ and the normal name is an alias. */
6547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6548 choke me
6549 #else
6550 $ac_func();
6551 #endif
6553 ; return 0; }
6555 if { (eval echo configure:6556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6556 rm -rf conftest*
6557 eval "ac_cv_func_$ac_func=yes"
6558 else
6559 echo "configure: failed program was:" >&5
6560 cat conftest.$ac_ext >&5
6561 rm -rf conftest*
6562 eval "ac_cv_func_$ac_func=no"
6564 rm -f conftest*
6567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6568 echo "$ac_t""yes" 1>&6
6569 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6570 cat >> confdefs.h <<EOF
6571 #define $ac_tr_func 1
6574 else
6575 echo "$ac_t""no" 1>&6
6577 done
6582 echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6583 echo "configure:6584: checking for floorf declaration" >&5
6584 if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6585 echo $ac_n "(cached) $ac_c" 1>&6
6586 else
6589 ac_ext=C
6590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6591 ac_cpp='$CXXCPP $CPPFLAGS'
6592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6594 cross_compiling=$ac_cv_prog_cxx_cross
6596 cat > conftest.$ac_ext <<EOF
6597 #line 6598 "configure"
6598 #include "confdefs.h"
6599 #include <math.h>
6600 int main() {
6601 floorf(0);
6602 ; return 0; }
6604 if { (eval echo configure:6605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6605 rm -rf conftest*
6606 glibcpp_cv_func_floorf_use=yes
6607 else
6608 echo "configure: failed program was:" >&5
6609 cat conftest.$ac_ext >&5
6610 rm -rf conftest*
6611 glibcpp_cv_func_floorf_use=no
6613 rm -f conftest*
6614 ac_ext=c
6615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6616 ac_cpp='$CPP $CPPFLAGS'
6617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6619 cross_compiling=$ac_cv_prog_cc_cross
6624 echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6625 if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6626 for ac_func in floorf
6628 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6629 echo "configure:6630: checking for $ac_func" >&5
6630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6631 echo $ac_n "(cached) $ac_c" 1>&6
6632 else
6633 cat > conftest.$ac_ext <<EOF
6634 #line 6635 "configure"
6635 #include "confdefs.h"
6636 /* System header to define __stub macros and hopefully few prototypes,
6637 which can conflict with char $ac_func(); below. */
6638 #include <assert.h>
6639 /* Override any gcc2 internal prototype to avoid an error. */
6640 /* We use char because int might match the return type of a gcc2
6641 builtin and then its argument prototype would still apply. */
6642 char $ac_func();
6644 int main() {
6646 /* The GNU C library defines this for functions which it implements
6647 to always fail with ENOSYS. Some functions are actually named
6648 something starting with __ and the normal name is an alias. */
6649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6650 choke me
6651 #else
6652 $ac_func();
6653 #endif
6655 ; return 0; }
6657 if { (eval echo configure:6658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6658 rm -rf conftest*
6659 eval "ac_cv_func_$ac_func=yes"
6660 else
6661 echo "configure: failed program was:" >&5
6662 cat conftest.$ac_ext >&5
6663 rm -rf conftest*
6664 eval "ac_cv_func_$ac_func=no"
6666 rm -f conftest*
6669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6670 echo "$ac_t""yes" 1>&6
6671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6672 cat >> confdefs.h <<EOF
6673 #define $ac_tr_func 1
6676 else
6677 echo "$ac_t""no" 1>&6
6679 done
6684 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6685 echo "configure:6686: checking for fmodf declaration" >&5
6686 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6687 echo $ac_n "(cached) $ac_c" 1>&6
6688 else
6691 ac_ext=C
6692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6693 ac_cpp='$CXXCPP $CPPFLAGS'
6694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6696 cross_compiling=$ac_cv_prog_cxx_cross
6698 cat > conftest.$ac_ext <<EOF
6699 #line 6700 "configure"
6700 #include "confdefs.h"
6701 #include <math.h>
6702 int main() {
6703 fmodf(0, 0);
6704 ; return 0; }
6706 if { (eval echo configure:6707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6707 rm -rf conftest*
6708 glibcpp_cv_func_fmodf_use=yes
6709 else
6710 echo "configure: failed program was:" >&5
6711 cat conftest.$ac_ext >&5
6712 rm -rf conftest*
6713 glibcpp_cv_func_fmodf_use=no
6715 rm -f conftest*
6716 ac_ext=c
6717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6718 ac_cpp='$CPP $CPPFLAGS'
6719 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6720 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6721 cross_compiling=$ac_cv_prog_cc_cross
6726 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6727 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6728 for ac_func in fmodf
6730 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6731 echo "configure:6732: checking for $ac_func" >&5
6732 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6733 echo $ac_n "(cached) $ac_c" 1>&6
6734 else
6735 cat > conftest.$ac_ext <<EOF
6736 #line 6737 "configure"
6737 #include "confdefs.h"
6738 /* System header to define __stub macros and hopefully few prototypes,
6739 which can conflict with char $ac_func(); below. */
6740 #include <assert.h>
6741 /* Override any gcc2 internal prototype to avoid an error. */
6742 /* We use char because int might match the return type of a gcc2
6743 builtin and then its argument prototype would still apply. */
6744 char $ac_func();
6746 int main() {
6748 /* The GNU C library defines this for functions which it implements
6749 to always fail with ENOSYS. Some functions are actually named
6750 something starting with __ and the normal name is an alias. */
6751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6752 choke me
6753 #else
6754 $ac_func();
6755 #endif
6757 ; return 0; }
6759 if { (eval echo configure:6760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6760 rm -rf conftest*
6761 eval "ac_cv_func_$ac_func=yes"
6762 else
6763 echo "configure: failed program was:" >&5
6764 cat conftest.$ac_ext >&5
6765 rm -rf conftest*
6766 eval "ac_cv_func_$ac_func=no"
6768 rm -f conftest*
6771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6772 echo "$ac_t""yes" 1>&6
6773 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6774 cat >> confdefs.h <<EOF
6775 #define $ac_tr_func 1
6778 else
6779 echo "$ac_t""no" 1>&6
6781 done
6786 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6787 echo "configure:6788: checking for frexpf declaration" >&5
6788 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6789 echo $ac_n "(cached) $ac_c" 1>&6
6790 else
6793 ac_ext=C
6794 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6795 ac_cpp='$CXXCPP $CPPFLAGS'
6796 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6797 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6798 cross_compiling=$ac_cv_prog_cxx_cross
6800 cat > conftest.$ac_ext <<EOF
6801 #line 6802 "configure"
6802 #include "confdefs.h"
6803 #include <math.h>
6804 int main() {
6805 frexpf(0, 0);
6806 ; return 0; }
6808 if { (eval echo configure:6809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6809 rm -rf conftest*
6810 glibcpp_cv_func_frexpf_use=yes
6811 else
6812 echo "configure: failed program was:" >&5
6813 cat conftest.$ac_ext >&5
6814 rm -rf conftest*
6815 glibcpp_cv_func_frexpf_use=no
6817 rm -f conftest*
6818 ac_ext=c
6819 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6820 ac_cpp='$CPP $CPPFLAGS'
6821 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6822 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6823 cross_compiling=$ac_cv_prog_cc_cross
6828 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6829 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6830 for ac_func in frexpf
6832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6833 echo "configure:6834: checking for $ac_func" >&5
6834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6835 echo $ac_n "(cached) $ac_c" 1>&6
6836 else
6837 cat > conftest.$ac_ext <<EOF
6838 #line 6839 "configure"
6839 #include "confdefs.h"
6840 /* System header to define __stub macros and hopefully few prototypes,
6841 which can conflict with char $ac_func(); below. */
6842 #include <assert.h>
6843 /* Override any gcc2 internal prototype to avoid an error. */
6844 /* We use char because int might match the return type of a gcc2
6845 builtin and then its argument prototype would still apply. */
6846 char $ac_func();
6848 int main() {
6850 /* The GNU C library defines this for functions which it implements
6851 to always fail with ENOSYS. Some functions are actually named
6852 something starting with __ and the normal name is an alias. */
6853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6854 choke me
6855 #else
6856 $ac_func();
6857 #endif
6859 ; return 0; }
6861 if { (eval echo configure:6862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6862 rm -rf conftest*
6863 eval "ac_cv_func_$ac_func=yes"
6864 else
6865 echo "configure: failed program was:" >&5
6866 cat conftest.$ac_ext >&5
6867 rm -rf conftest*
6868 eval "ac_cv_func_$ac_func=no"
6870 rm -f conftest*
6873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6874 echo "$ac_t""yes" 1>&6
6875 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6876 cat >> confdefs.h <<EOF
6877 #define $ac_tr_func 1
6880 else
6881 echo "$ac_t""no" 1>&6
6883 done
6888 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
6889 echo "configure:6890: checking for ldexpf declaration" >&5
6890 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
6891 echo $ac_n "(cached) $ac_c" 1>&6
6892 else
6895 ac_ext=C
6896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6897 ac_cpp='$CXXCPP $CPPFLAGS'
6898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6900 cross_compiling=$ac_cv_prog_cxx_cross
6902 cat > conftest.$ac_ext <<EOF
6903 #line 6904 "configure"
6904 #include "confdefs.h"
6905 #include <math.h>
6906 int main() {
6907 ldexpf(0, 0);
6908 ; return 0; }
6910 if { (eval echo configure:6911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6911 rm -rf conftest*
6912 glibcpp_cv_func_ldexpf_use=yes
6913 else
6914 echo "configure: failed program was:" >&5
6915 cat conftest.$ac_ext >&5
6916 rm -rf conftest*
6917 glibcpp_cv_func_ldexpf_use=no
6919 rm -f conftest*
6920 ac_ext=c
6921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6922 ac_cpp='$CPP $CPPFLAGS'
6923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6925 cross_compiling=$ac_cv_prog_cc_cross
6930 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
6931 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
6932 for ac_func in ldexpf
6934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6935 echo "configure:6936: checking for $ac_func" >&5
6936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6937 echo $ac_n "(cached) $ac_c" 1>&6
6938 else
6939 cat > conftest.$ac_ext <<EOF
6940 #line 6941 "configure"
6941 #include "confdefs.h"
6942 /* System header to define __stub macros and hopefully few prototypes,
6943 which can conflict with char $ac_func(); below. */
6944 #include <assert.h>
6945 /* Override any gcc2 internal prototype to avoid an error. */
6946 /* We use char because int might match the return type of a gcc2
6947 builtin and then its argument prototype would still apply. */
6948 char $ac_func();
6950 int main() {
6952 /* The GNU C library defines this for functions which it implements
6953 to always fail with ENOSYS. Some functions are actually named
6954 something starting with __ and the normal name is an alias. */
6955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6956 choke me
6957 #else
6958 $ac_func();
6959 #endif
6961 ; return 0; }
6963 if { (eval echo configure:6964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6964 rm -rf conftest*
6965 eval "ac_cv_func_$ac_func=yes"
6966 else
6967 echo "configure: failed program was:" >&5
6968 cat conftest.$ac_ext >&5
6969 rm -rf conftest*
6970 eval "ac_cv_func_$ac_func=no"
6972 rm -f conftest*
6975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6976 echo "$ac_t""yes" 1>&6
6977 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6978 cat >> confdefs.h <<EOF
6979 #define $ac_tr_func 1
6982 else
6983 echo "$ac_t""no" 1>&6
6985 done
6990 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
6991 echo "configure:6992: checking for logf declaration" >&5
6992 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
6993 echo $ac_n "(cached) $ac_c" 1>&6
6994 else
6997 ac_ext=C
6998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6999 ac_cpp='$CXXCPP $CPPFLAGS'
7000 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7001 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7002 cross_compiling=$ac_cv_prog_cxx_cross
7004 cat > conftest.$ac_ext <<EOF
7005 #line 7006 "configure"
7006 #include "confdefs.h"
7007 #include <math.h>
7008 int main() {
7009 logf(0);
7010 ; return 0; }
7012 if { (eval echo configure:7013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7013 rm -rf conftest*
7014 glibcpp_cv_func_logf_use=yes
7015 else
7016 echo "configure: failed program was:" >&5
7017 cat conftest.$ac_ext >&5
7018 rm -rf conftest*
7019 glibcpp_cv_func_logf_use=no
7021 rm -f conftest*
7022 ac_ext=c
7023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7024 ac_cpp='$CPP $CPPFLAGS'
7025 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7026 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7027 cross_compiling=$ac_cv_prog_cc_cross
7032 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7033 if test x$glibcpp_cv_func_logf_use = x"yes"; then
7034 for ac_func in logf
7036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7037 echo "configure:7038: checking for $ac_func" >&5
7038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7039 echo $ac_n "(cached) $ac_c" 1>&6
7040 else
7041 cat > conftest.$ac_ext <<EOF
7042 #line 7043 "configure"
7043 #include "confdefs.h"
7044 /* System header to define __stub macros and hopefully few prototypes,
7045 which can conflict with char $ac_func(); below. */
7046 #include <assert.h>
7047 /* Override any gcc2 internal prototype to avoid an error. */
7048 /* We use char because int might match the return type of a gcc2
7049 builtin and then its argument prototype would still apply. */
7050 char $ac_func();
7052 int main() {
7054 /* The GNU C library defines this for functions which it implements
7055 to always fail with ENOSYS. Some functions are actually named
7056 something starting with __ and the normal name is an alias. */
7057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7058 choke me
7059 #else
7060 $ac_func();
7061 #endif
7063 ; return 0; }
7065 if { (eval echo configure:7066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7066 rm -rf conftest*
7067 eval "ac_cv_func_$ac_func=yes"
7068 else
7069 echo "configure: failed program was:" >&5
7070 cat conftest.$ac_ext >&5
7071 rm -rf conftest*
7072 eval "ac_cv_func_$ac_func=no"
7074 rm -f conftest*
7077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7078 echo "$ac_t""yes" 1>&6
7079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7080 cat >> confdefs.h <<EOF
7081 #define $ac_tr_func 1
7084 else
7085 echo "$ac_t""no" 1>&6
7087 done
7092 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7093 echo "configure:7094: checking for log10f declaration" >&5
7094 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7095 echo $ac_n "(cached) $ac_c" 1>&6
7096 else
7099 ac_ext=C
7100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7101 ac_cpp='$CXXCPP $CPPFLAGS'
7102 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7103 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7104 cross_compiling=$ac_cv_prog_cxx_cross
7106 cat > conftest.$ac_ext <<EOF
7107 #line 7108 "configure"
7108 #include "confdefs.h"
7109 #include <math.h>
7110 int main() {
7111 log10f(0);
7112 ; return 0; }
7114 if { (eval echo configure:7115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7115 rm -rf conftest*
7116 glibcpp_cv_func_log10f_use=yes
7117 else
7118 echo "configure: failed program was:" >&5
7119 cat conftest.$ac_ext >&5
7120 rm -rf conftest*
7121 glibcpp_cv_func_log10f_use=no
7123 rm -f conftest*
7124 ac_ext=c
7125 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7126 ac_cpp='$CPP $CPPFLAGS'
7127 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7128 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7129 cross_compiling=$ac_cv_prog_cc_cross
7134 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7135 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7136 for ac_func in log10f
7138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7139 echo "configure:7140: checking for $ac_func" >&5
7140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7141 echo $ac_n "(cached) $ac_c" 1>&6
7142 else
7143 cat > conftest.$ac_ext <<EOF
7144 #line 7145 "configure"
7145 #include "confdefs.h"
7146 /* System header to define __stub macros and hopefully few prototypes,
7147 which can conflict with char $ac_func(); below. */
7148 #include <assert.h>
7149 /* Override any gcc2 internal prototype to avoid an error. */
7150 /* We use char because int might match the return type of a gcc2
7151 builtin and then its argument prototype would still apply. */
7152 char $ac_func();
7154 int main() {
7156 /* The GNU C library defines this for functions which it implements
7157 to always fail with ENOSYS. Some functions are actually named
7158 something starting with __ and the normal name is an alias. */
7159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7160 choke me
7161 #else
7162 $ac_func();
7163 #endif
7165 ; return 0; }
7167 if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7168 rm -rf conftest*
7169 eval "ac_cv_func_$ac_func=yes"
7170 else
7171 echo "configure: failed program was:" >&5
7172 cat conftest.$ac_ext >&5
7173 rm -rf conftest*
7174 eval "ac_cv_func_$ac_func=no"
7176 rm -f conftest*
7179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7180 echo "$ac_t""yes" 1>&6
7181 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7182 cat >> confdefs.h <<EOF
7183 #define $ac_tr_func 1
7186 else
7187 echo "$ac_t""no" 1>&6
7189 done
7194 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7195 echo "configure:7196: checking for modff declaration" >&5
7196 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7197 echo $ac_n "(cached) $ac_c" 1>&6
7198 else
7201 ac_ext=C
7202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7203 ac_cpp='$CXXCPP $CPPFLAGS'
7204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7206 cross_compiling=$ac_cv_prog_cxx_cross
7208 cat > conftest.$ac_ext <<EOF
7209 #line 7210 "configure"
7210 #include "confdefs.h"
7211 #include <math.h>
7212 int main() {
7213 modff(0, 0);
7214 ; return 0; }
7216 if { (eval echo configure:7217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7217 rm -rf conftest*
7218 glibcpp_cv_func_modff_use=yes
7219 else
7220 echo "configure: failed program was:" >&5
7221 cat conftest.$ac_ext >&5
7222 rm -rf conftest*
7223 glibcpp_cv_func_modff_use=no
7225 rm -f conftest*
7226 ac_ext=c
7227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7228 ac_cpp='$CPP $CPPFLAGS'
7229 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7230 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7231 cross_compiling=$ac_cv_prog_cc_cross
7236 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7237 if test x$glibcpp_cv_func_modff_use = x"yes"; then
7238 for ac_func in modff
7240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7241 echo "configure:7242: checking for $ac_func" >&5
7242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7243 echo $ac_n "(cached) $ac_c" 1>&6
7244 else
7245 cat > conftest.$ac_ext <<EOF
7246 #line 7247 "configure"
7247 #include "confdefs.h"
7248 /* System header to define __stub macros and hopefully few prototypes,
7249 which can conflict with char $ac_func(); below. */
7250 #include <assert.h>
7251 /* Override any gcc2 internal prototype to avoid an error. */
7252 /* We use char because int might match the return type of a gcc2
7253 builtin and then its argument prototype would still apply. */
7254 char $ac_func();
7256 int main() {
7258 /* The GNU C library defines this for functions which it implements
7259 to always fail with ENOSYS. Some functions are actually named
7260 something starting with __ and the normal name is an alias. */
7261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7262 choke me
7263 #else
7264 $ac_func();
7265 #endif
7267 ; return 0; }
7269 if { (eval echo configure:7270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7270 rm -rf conftest*
7271 eval "ac_cv_func_$ac_func=yes"
7272 else
7273 echo "configure: failed program was:" >&5
7274 cat conftest.$ac_ext >&5
7275 rm -rf conftest*
7276 eval "ac_cv_func_$ac_func=no"
7278 rm -f conftest*
7281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7282 echo "$ac_t""yes" 1>&6
7283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7284 cat >> confdefs.h <<EOF
7285 #define $ac_tr_func 1
7288 else
7289 echo "$ac_t""no" 1>&6
7291 done
7296 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7297 echo "configure:7298: checking for powf declaration" >&5
7298 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7299 echo $ac_n "(cached) $ac_c" 1>&6
7300 else
7303 ac_ext=C
7304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7305 ac_cpp='$CXXCPP $CPPFLAGS'
7306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7308 cross_compiling=$ac_cv_prog_cxx_cross
7310 cat > conftest.$ac_ext <<EOF
7311 #line 7312 "configure"
7312 #include "confdefs.h"
7313 #include <math.h>
7314 int main() {
7315 powf(0, 0);
7316 ; return 0; }
7318 if { (eval echo configure:7319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7319 rm -rf conftest*
7320 glibcpp_cv_func_powf_use=yes
7321 else
7322 echo "configure: failed program was:" >&5
7323 cat conftest.$ac_ext >&5
7324 rm -rf conftest*
7325 glibcpp_cv_func_powf_use=no
7327 rm -f conftest*
7328 ac_ext=c
7329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7330 ac_cpp='$CPP $CPPFLAGS'
7331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7333 cross_compiling=$ac_cv_prog_cc_cross
7338 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7339 if test x$glibcpp_cv_func_powf_use = x"yes"; then
7340 for ac_func in powf
7342 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7343 echo "configure:7344: checking for $ac_func" >&5
7344 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7345 echo $ac_n "(cached) $ac_c" 1>&6
7346 else
7347 cat > conftest.$ac_ext <<EOF
7348 #line 7349 "configure"
7349 #include "confdefs.h"
7350 /* System header to define __stub macros and hopefully few prototypes,
7351 which can conflict with char $ac_func(); below. */
7352 #include <assert.h>
7353 /* Override any gcc2 internal prototype to avoid an error. */
7354 /* We use char because int might match the return type of a gcc2
7355 builtin and then its argument prototype would still apply. */
7356 char $ac_func();
7358 int main() {
7360 /* The GNU C library defines this for functions which it implements
7361 to always fail with ENOSYS. Some functions are actually named
7362 something starting with __ and the normal name is an alias. */
7363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7364 choke me
7365 #else
7366 $ac_func();
7367 #endif
7369 ; return 0; }
7371 if { (eval echo configure:7372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7372 rm -rf conftest*
7373 eval "ac_cv_func_$ac_func=yes"
7374 else
7375 echo "configure: failed program was:" >&5
7376 cat conftest.$ac_ext >&5
7377 rm -rf conftest*
7378 eval "ac_cv_func_$ac_func=no"
7380 rm -f conftest*
7383 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7384 echo "$ac_t""yes" 1>&6
7385 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7386 cat >> confdefs.h <<EOF
7387 #define $ac_tr_func 1
7390 else
7391 echo "$ac_t""no" 1>&6
7393 done
7398 echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7399 echo "configure:7400: checking for sinf declaration" >&5
7400 if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7401 echo $ac_n "(cached) $ac_c" 1>&6
7402 else
7405 ac_ext=C
7406 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7407 ac_cpp='$CXXCPP $CPPFLAGS'
7408 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7409 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7410 cross_compiling=$ac_cv_prog_cxx_cross
7412 cat > conftest.$ac_ext <<EOF
7413 #line 7414 "configure"
7414 #include "confdefs.h"
7415 #include <math.h>
7416 int main() {
7417 sinf(0);
7418 ; return 0; }
7420 if { (eval echo configure:7421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7421 rm -rf conftest*
7422 glibcpp_cv_func_sinf_use=yes
7423 else
7424 echo "configure: failed program was:" >&5
7425 cat conftest.$ac_ext >&5
7426 rm -rf conftest*
7427 glibcpp_cv_func_sinf_use=no
7429 rm -f conftest*
7430 ac_ext=c
7431 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7432 ac_cpp='$CPP $CPPFLAGS'
7433 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7434 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7435 cross_compiling=$ac_cv_prog_cc_cross
7440 echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7441 if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7442 for ac_func in sinf
7444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7445 echo "configure:7446: checking for $ac_func" >&5
7446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7447 echo $ac_n "(cached) $ac_c" 1>&6
7448 else
7449 cat > conftest.$ac_ext <<EOF
7450 #line 7451 "configure"
7451 #include "confdefs.h"
7452 /* System header to define __stub macros and hopefully few prototypes,
7453 which can conflict with char $ac_func(); below. */
7454 #include <assert.h>
7455 /* Override any gcc2 internal prototype to avoid an error. */
7456 /* We use char because int might match the return type of a gcc2
7457 builtin and then its argument prototype would still apply. */
7458 char $ac_func();
7460 int main() {
7462 /* The GNU C library defines this for functions which it implements
7463 to always fail with ENOSYS. Some functions are actually named
7464 something starting with __ and the normal name is an alias. */
7465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7466 choke me
7467 #else
7468 $ac_func();
7469 #endif
7471 ; return 0; }
7473 if { (eval echo configure:7474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7474 rm -rf conftest*
7475 eval "ac_cv_func_$ac_func=yes"
7476 else
7477 echo "configure: failed program was:" >&5
7478 cat conftest.$ac_ext >&5
7479 rm -rf conftest*
7480 eval "ac_cv_func_$ac_func=no"
7482 rm -f conftest*
7485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7486 echo "$ac_t""yes" 1>&6
7487 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7488 cat >> confdefs.h <<EOF
7489 #define $ac_tr_func 1
7492 else
7493 echo "$ac_t""no" 1>&6
7495 done
7500 echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7501 echo "configure:7502: checking for sinhf declaration" >&5
7502 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7503 echo $ac_n "(cached) $ac_c" 1>&6
7504 else
7507 ac_ext=C
7508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7509 ac_cpp='$CXXCPP $CPPFLAGS'
7510 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7511 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7512 cross_compiling=$ac_cv_prog_cxx_cross
7514 cat > conftest.$ac_ext <<EOF
7515 #line 7516 "configure"
7516 #include "confdefs.h"
7517 #include <math.h>
7518 int main() {
7519 sinhf(0);
7520 ; return 0; }
7522 if { (eval echo configure:7523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7523 rm -rf conftest*
7524 glibcpp_cv_func_sinhf_use=yes
7525 else
7526 echo "configure: failed program was:" >&5
7527 cat conftest.$ac_ext >&5
7528 rm -rf conftest*
7529 glibcpp_cv_func_sinhf_use=no
7531 rm -f conftest*
7532 ac_ext=c
7533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7534 ac_cpp='$CPP $CPPFLAGS'
7535 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7536 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7537 cross_compiling=$ac_cv_prog_cc_cross
7542 echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7543 if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7544 for ac_func in sinhf
7546 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7547 echo "configure:7548: checking for $ac_func" >&5
7548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7549 echo $ac_n "(cached) $ac_c" 1>&6
7550 else
7551 cat > conftest.$ac_ext <<EOF
7552 #line 7553 "configure"
7553 #include "confdefs.h"
7554 /* System header to define __stub macros and hopefully few prototypes,
7555 which can conflict with char $ac_func(); below. */
7556 #include <assert.h>
7557 /* Override any gcc2 internal prototype to avoid an error. */
7558 /* We use char because int might match the return type of a gcc2
7559 builtin and then its argument prototype would still apply. */
7560 char $ac_func();
7562 int main() {
7564 /* The GNU C library defines this for functions which it implements
7565 to always fail with ENOSYS. Some functions are actually named
7566 something starting with __ and the normal name is an alias. */
7567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7568 choke me
7569 #else
7570 $ac_func();
7571 #endif
7573 ; return 0; }
7575 if { (eval echo configure:7576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7576 rm -rf conftest*
7577 eval "ac_cv_func_$ac_func=yes"
7578 else
7579 echo "configure: failed program was:" >&5
7580 cat conftest.$ac_ext >&5
7581 rm -rf conftest*
7582 eval "ac_cv_func_$ac_func=no"
7584 rm -f conftest*
7587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7588 echo "$ac_t""yes" 1>&6
7589 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7590 cat >> confdefs.h <<EOF
7591 #define $ac_tr_func 1
7594 else
7595 echo "$ac_t""no" 1>&6
7597 done
7602 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7603 echo "configure:7604: checking for sqrtf declaration" >&5
7604 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7605 echo $ac_n "(cached) $ac_c" 1>&6
7606 else
7609 ac_ext=C
7610 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7611 ac_cpp='$CXXCPP $CPPFLAGS'
7612 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7613 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7614 cross_compiling=$ac_cv_prog_cxx_cross
7616 cat > conftest.$ac_ext <<EOF
7617 #line 7618 "configure"
7618 #include "confdefs.h"
7619 #include <math.h>
7620 int main() {
7621 sqrtf(0);
7622 ; return 0; }
7624 if { (eval echo configure:7625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7625 rm -rf conftest*
7626 glibcpp_cv_func_sqrtf_use=yes
7627 else
7628 echo "configure: failed program was:" >&5
7629 cat conftest.$ac_ext >&5
7630 rm -rf conftest*
7631 glibcpp_cv_func_sqrtf_use=no
7633 rm -f conftest*
7634 ac_ext=c
7635 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7636 ac_cpp='$CPP $CPPFLAGS'
7637 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7638 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7639 cross_compiling=$ac_cv_prog_cc_cross
7644 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7645 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7646 for ac_func in sqrtf
7648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7649 echo "configure:7650: checking for $ac_func" >&5
7650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7651 echo $ac_n "(cached) $ac_c" 1>&6
7652 else
7653 cat > conftest.$ac_ext <<EOF
7654 #line 7655 "configure"
7655 #include "confdefs.h"
7656 /* System header to define __stub macros and hopefully few prototypes,
7657 which can conflict with char $ac_func(); below. */
7658 #include <assert.h>
7659 /* Override any gcc2 internal prototype to avoid an error. */
7660 /* We use char because int might match the return type of a gcc2
7661 builtin and then its argument prototype would still apply. */
7662 char $ac_func();
7664 int main() {
7666 /* The GNU C library defines this for functions which it implements
7667 to always fail with ENOSYS. Some functions are actually named
7668 something starting with __ and the normal name is an alias. */
7669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7670 choke me
7671 #else
7672 $ac_func();
7673 #endif
7675 ; return 0; }
7677 if { (eval echo configure:7678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7678 rm -rf conftest*
7679 eval "ac_cv_func_$ac_func=yes"
7680 else
7681 echo "configure: failed program was:" >&5
7682 cat conftest.$ac_ext >&5
7683 rm -rf conftest*
7684 eval "ac_cv_func_$ac_func=no"
7686 rm -f conftest*
7689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7690 echo "$ac_t""yes" 1>&6
7691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7692 cat >> confdefs.h <<EOF
7693 #define $ac_tr_func 1
7696 else
7697 echo "$ac_t""no" 1>&6
7699 done
7704 echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7705 echo "configure:7706: checking for tanf declaration" >&5
7706 if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7707 echo $ac_n "(cached) $ac_c" 1>&6
7708 else
7711 ac_ext=C
7712 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7713 ac_cpp='$CXXCPP $CPPFLAGS'
7714 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7715 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7716 cross_compiling=$ac_cv_prog_cxx_cross
7718 cat > conftest.$ac_ext <<EOF
7719 #line 7720 "configure"
7720 #include "confdefs.h"
7721 #include <math.h>
7722 int main() {
7723 tanf(0);
7724 ; return 0; }
7726 if { (eval echo configure:7727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7727 rm -rf conftest*
7728 glibcpp_cv_func_tanf_use=yes
7729 else
7730 echo "configure: failed program was:" >&5
7731 cat conftest.$ac_ext >&5
7732 rm -rf conftest*
7733 glibcpp_cv_func_tanf_use=no
7735 rm -f conftest*
7736 ac_ext=c
7737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7738 ac_cpp='$CPP $CPPFLAGS'
7739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7741 cross_compiling=$ac_cv_prog_cc_cross
7746 echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7747 if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7748 for ac_func in tanf
7750 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7751 echo "configure:7752: checking for $ac_func" >&5
7752 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7753 echo $ac_n "(cached) $ac_c" 1>&6
7754 else
7755 cat > conftest.$ac_ext <<EOF
7756 #line 7757 "configure"
7757 #include "confdefs.h"
7758 /* System header to define __stub macros and hopefully few prototypes,
7759 which can conflict with char $ac_func(); below. */
7760 #include <assert.h>
7761 /* Override any gcc2 internal prototype to avoid an error. */
7762 /* We use char because int might match the return type of a gcc2
7763 builtin and then its argument prototype would still apply. */
7764 char $ac_func();
7766 int main() {
7768 /* The GNU C library defines this for functions which it implements
7769 to always fail with ENOSYS. Some functions are actually named
7770 something starting with __ and the normal name is an alias. */
7771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7772 choke me
7773 #else
7774 $ac_func();
7775 #endif
7777 ; return 0; }
7779 if { (eval echo configure:7780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7780 rm -rf conftest*
7781 eval "ac_cv_func_$ac_func=yes"
7782 else
7783 echo "configure: failed program was:" >&5
7784 cat conftest.$ac_ext >&5
7785 rm -rf conftest*
7786 eval "ac_cv_func_$ac_func=no"
7788 rm -f conftest*
7791 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7792 echo "$ac_t""yes" 1>&6
7793 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7794 cat >> confdefs.h <<EOF
7795 #define $ac_tr_func 1
7798 else
7799 echo "$ac_t""no" 1>&6
7801 done
7806 echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7807 echo "configure:7808: checking for tanhf declaration" >&5
7808 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7809 echo $ac_n "(cached) $ac_c" 1>&6
7810 else
7813 ac_ext=C
7814 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7815 ac_cpp='$CXXCPP $CPPFLAGS'
7816 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7817 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7818 cross_compiling=$ac_cv_prog_cxx_cross
7820 cat > conftest.$ac_ext <<EOF
7821 #line 7822 "configure"
7822 #include "confdefs.h"
7823 #include <math.h>
7824 int main() {
7825 tanhf(0);
7826 ; return 0; }
7828 if { (eval echo configure:7829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7829 rm -rf conftest*
7830 glibcpp_cv_func_tanhf_use=yes
7831 else
7832 echo "configure: failed program was:" >&5
7833 cat conftest.$ac_ext >&5
7834 rm -rf conftest*
7835 glibcpp_cv_func_tanhf_use=no
7837 rm -f conftest*
7838 ac_ext=c
7839 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7840 ac_cpp='$CPP $CPPFLAGS'
7841 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7842 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7843 cross_compiling=$ac_cv_prog_cc_cross
7848 echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
7849 if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
7850 for ac_func in tanhf
7852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7853 echo "configure:7854: checking for $ac_func" >&5
7854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7855 echo $ac_n "(cached) $ac_c" 1>&6
7856 else
7857 cat > conftest.$ac_ext <<EOF
7858 #line 7859 "configure"
7859 #include "confdefs.h"
7860 /* System header to define __stub macros and hopefully few prototypes,
7861 which can conflict with char $ac_func(); below. */
7862 #include <assert.h>
7863 /* Override any gcc2 internal prototype to avoid an error. */
7864 /* We use char because int might match the return type of a gcc2
7865 builtin and then its argument prototype would still apply. */
7866 char $ac_func();
7868 int main() {
7870 /* The GNU C library defines this for functions which it implements
7871 to always fail with ENOSYS. Some functions are actually named
7872 something starting with __ and the normal name is an alias. */
7873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7874 choke me
7875 #else
7876 $ac_func();
7877 #endif
7879 ; return 0; }
7881 if { (eval echo configure:7882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7882 rm -rf conftest*
7883 eval "ac_cv_func_$ac_func=yes"
7884 else
7885 echo "configure: failed program was:" >&5
7886 cat conftest.$ac_ext >&5
7887 rm -rf conftest*
7888 eval "ac_cv_func_$ac_func=no"
7890 rm -f conftest*
7893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7894 echo "$ac_t""yes" 1>&6
7895 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7896 cat >> confdefs.h <<EOF
7897 #define $ac_tr_func 1
7900 else
7901 echo "$ac_t""no" 1>&6
7903 done
7908 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
7909 echo "configure:7910: checking for sincosf declaration" >&5
7910 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
7911 echo $ac_n "(cached) $ac_c" 1>&6
7912 else
7915 ac_ext=C
7916 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7917 ac_cpp='$CXXCPP $CPPFLAGS'
7918 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7919 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7920 cross_compiling=$ac_cv_prog_cxx_cross
7922 cat > conftest.$ac_ext <<EOF
7923 #line 7924 "configure"
7924 #include "confdefs.h"
7925 #include <math.h>
7926 int main() {
7927 sincosf(0, 0, 0);
7928 ; return 0; }
7930 if { (eval echo configure:7931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7931 rm -rf conftest*
7932 glibcpp_cv_func_sincosf_use=yes
7933 else
7934 echo "configure: failed program was:" >&5
7935 cat conftest.$ac_ext >&5
7936 rm -rf conftest*
7937 glibcpp_cv_func_sincosf_use=no
7939 rm -f conftest*
7940 ac_ext=c
7941 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7942 ac_cpp='$CPP $CPPFLAGS'
7943 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7944 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7945 cross_compiling=$ac_cv_prog_cc_cross
7950 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
7951 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
7952 for ac_func in sincosf
7954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7955 echo "configure:7956: checking for $ac_func" >&5
7956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7957 echo $ac_n "(cached) $ac_c" 1>&6
7958 else
7959 cat > conftest.$ac_ext <<EOF
7960 #line 7961 "configure"
7961 #include "confdefs.h"
7962 /* System header to define __stub macros and hopefully few prototypes,
7963 which can conflict with char $ac_func(); below. */
7964 #include <assert.h>
7965 /* Override any gcc2 internal prototype to avoid an error. */
7966 /* We use char because int might match the return type of a gcc2
7967 builtin and then its argument prototype would still apply. */
7968 char $ac_func();
7970 int main() {
7972 /* The GNU C library defines this for functions which it implements
7973 to always fail with ENOSYS. Some functions are actually named
7974 something starting with __ and the normal name is an alias. */
7975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7976 choke me
7977 #else
7978 $ac_func();
7979 #endif
7981 ; return 0; }
7983 if { (eval echo configure:7984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7984 rm -rf conftest*
7985 eval "ac_cv_func_$ac_func=yes"
7986 else
7987 echo "configure: failed program was:" >&5
7988 cat conftest.$ac_ext >&5
7989 rm -rf conftest*
7990 eval "ac_cv_func_$ac_func=no"
7992 rm -f conftest*
7995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7996 echo "$ac_t""yes" 1>&6
7997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7998 cat >> confdefs.h <<EOF
7999 #define $ac_tr_func 1
8002 else
8003 echo "$ac_t""no" 1>&6
8005 done
8010 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8011 echo "configure:8012: checking for finitef declaration" >&5
8012 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8013 echo $ac_n "(cached) $ac_c" 1>&6
8014 else
8017 ac_ext=C
8018 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8019 ac_cpp='$CXXCPP $CPPFLAGS'
8020 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8021 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8022 cross_compiling=$ac_cv_prog_cxx_cross
8024 cat > conftest.$ac_ext <<EOF
8025 #line 8026 "configure"
8026 #include "confdefs.h"
8027 #include <math.h>
8028 int main() {
8029 finitef(0);
8030 ; return 0; }
8032 if { (eval echo configure:8033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8033 rm -rf conftest*
8034 glibcpp_cv_func_finitef_use=yes
8035 else
8036 echo "configure: failed program was:" >&5
8037 cat conftest.$ac_ext >&5
8038 rm -rf conftest*
8039 glibcpp_cv_func_finitef_use=no
8041 rm -f conftest*
8042 ac_ext=c
8043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8044 ac_cpp='$CPP $CPPFLAGS'
8045 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8046 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8047 cross_compiling=$ac_cv_prog_cc_cross
8052 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8053 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8054 for ac_func in finitef
8056 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8057 echo "configure:8058: checking for $ac_func" >&5
8058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8059 echo $ac_n "(cached) $ac_c" 1>&6
8060 else
8061 cat > conftest.$ac_ext <<EOF
8062 #line 8063 "configure"
8063 #include "confdefs.h"
8064 /* System header to define __stub macros and hopefully few prototypes,
8065 which can conflict with char $ac_func(); below. */
8066 #include <assert.h>
8067 /* Override any gcc2 internal prototype to avoid an error. */
8068 /* We use char because int might match the return type of a gcc2
8069 builtin and then its argument prototype would still apply. */
8070 char $ac_func();
8072 int main() {
8074 /* The GNU C library defines this for functions which it implements
8075 to always fail with ENOSYS. Some functions are actually named
8076 something starting with __ and the normal name is an alias. */
8077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8078 choke me
8079 #else
8080 $ac_func();
8081 #endif
8083 ; return 0; }
8085 if { (eval echo configure:8086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8086 rm -rf conftest*
8087 eval "ac_cv_func_$ac_func=yes"
8088 else
8089 echo "configure: failed program was:" >&5
8090 cat conftest.$ac_ext >&5
8091 rm -rf conftest*
8092 eval "ac_cv_func_$ac_func=no"
8094 rm -f conftest*
8097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8098 echo "$ac_t""yes" 1>&6
8099 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8100 cat >> confdefs.h <<EOF
8101 #define $ac_tr_func 1
8104 else
8105 echo "$ac_t""no" 1>&6
8107 done
8113 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8114 echo "configure:8115: checking for isnanl declaration" >&5
8115 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8116 echo $ac_n "(cached) $ac_c" 1>&6
8117 else
8120 ac_ext=C
8121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8122 ac_cpp='$CXXCPP $CPPFLAGS'
8123 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8124 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8125 cross_compiling=$ac_cv_prog_cxx_cross
8127 cat > conftest.$ac_ext <<EOF
8128 #line 8129 "configure"
8129 #include "confdefs.h"
8130 #include <math.h>
8131 int main() {
8132 isnanl(0);
8133 ; return 0; }
8135 if { (eval echo configure:8136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8136 rm -rf conftest*
8137 glibcpp_cv_func_isnanl_use=yes
8138 else
8139 echo "configure: failed program was:" >&5
8140 cat conftest.$ac_ext >&5
8141 rm -rf conftest*
8142 glibcpp_cv_func_isnanl_use=no
8144 rm -f conftest*
8145 ac_ext=c
8146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8147 ac_cpp='$CPP $CPPFLAGS'
8148 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8149 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8150 cross_compiling=$ac_cv_prog_cc_cross
8155 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8156 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8157 for ac_func in isnanl
8159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8160 echo "configure:8161: checking for $ac_func" >&5
8161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8162 echo $ac_n "(cached) $ac_c" 1>&6
8163 else
8164 cat > conftest.$ac_ext <<EOF
8165 #line 8166 "configure"
8166 #include "confdefs.h"
8167 /* System header to define __stub macros and hopefully few prototypes,
8168 which can conflict with char $ac_func(); below. */
8169 #include <assert.h>
8170 /* Override any gcc2 internal prototype to avoid an error. */
8171 /* We use char because int might match the return type of a gcc2
8172 builtin and then its argument prototype would still apply. */
8173 char $ac_func();
8175 int main() {
8177 /* The GNU C library defines this for functions which it implements
8178 to always fail with ENOSYS. Some functions are actually named
8179 something starting with __ and the normal name is an alias. */
8180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8181 choke me
8182 #else
8183 $ac_func();
8184 #endif
8186 ; return 0; }
8188 if { (eval echo configure:8189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8189 rm -rf conftest*
8190 eval "ac_cv_func_$ac_func=yes"
8191 else
8192 echo "configure: failed program was:" >&5
8193 cat conftest.$ac_ext >&5
8194 rm -rf conftest*
8195 eval "ac_cv_func_$ac_func=no"
8197 rm -f conftest*
8200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8201 echo "$ac_t""yes" 1>&6
8202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8203 cat >> confdefs.h <<EOF
8204 #define $ac_tr_func 1
8207 else
8208 echo "$ac_t""no" 1>&6
8210 done
8215 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8216 echo "configure:8217: checking for isinfl declaration" >&5
8217 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8218 echo $ac_n "(cached) $ac_c" 1>&6
8219 else
8222 ac_ext=C
8223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8224 ac_cpp='$CXXCPP $CPPFLAGS'
8225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8227 cross_compiling=$ac_cv_prog_cxx_cross
8229 cat > conftest.$ac_ext <<EOF
8230 #line 8231 "configure"
8231 #include "confdefs.h"
8232 #include <math.h>
8233 int main() {
8234 isinfl(0);
8235 ; return 0; }
8237 if { (eval echo configure:8238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8238 rm -rf conftest*
8239 glibcpp_cv_func_isinfl_use=yes
8240 else
8241 echo "configure: failed program was:" >&5
8242 cat conftest.$ac_ext >&5
8243 rm -rf conftest*
8244 glibcpp_cv_func_isinfl_use=no
8246 rm -f conftest*
8247 ac_ext=c
8248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8249 ac_cpp='$CPP $CPPFLAGS'
8250 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8251 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8252 cross_compiling=$ac_cv_prog_cc_cross
8257 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8258 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8259 for ac_func in isinfl
8261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8262 echo "configure:8263: checking for $ac_func" >&5
8263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8264 echo $ac_n "(cached) $ac_c" 1>&6
8265 else
8266 cat > conftest.$ac_ext <<EOF
8267 #line 8268 "configure"
8268 #include "confdefs.h"
8269 /* System header to define __stub macros and hopefully few prototypes,
8270 which can conflict with char $ac_func(); below. */
8271 #include <assert.h>
8272 /* Override any gcc2 internal prototype to avoid an error. */
8273 /* We use char because int might match the return type of a gcc2
8274 builtin and then its argument prototype would still apply. */
8275 char $ac_func();
8277 int main() {
8279 /* The GNU C library defines this for functions which it implements
8280 to always fail with ENOSYS. Some functions are actually named
8281 something starting with __ and the normal name is an alias. */
8282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8283 choke me
8284 #else
8285 $ac_func();
8286 #endif
8288 ; return 0; }
8290 if { (eval echo configure:8291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8291 rm -rf conftest*
8292 eval "ac_cv_func_$ac_func=yes"
8293 else
8294 echo "configure: failed program was:" >&5
8295 cat conftest.$ac_ext >&5
8296 rm -rf conftest*
8297 eval "ac_cv_func_$ac_func=no"
8299 rm -f conftest*
8302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8303 echo "$ac_t""yes" 1>&6
8304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8305 cat >> confdefs.h <<EOF
8306 #define $ac_tr_func 1
8309 else
8310 echo "$ac_t""no" 1>&6
8312 done
8317 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8318 echo "configure:8319: checking for copysignl declaration" >&5
8319 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8320 echo $ac_n "(cached) $ac_c" 1>&6
8321 else
8324 ac_ext=C
8325 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8326 ac_cpp='$CXXCPP $CPPFLAGS'
8327 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8328 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8329 cross_compiling=$ac_cv_prog_cxx_cross
8331 cat > conftest.$ac_ext <<EOF
8332 #line 8333 "configure"
8333 #include "confdefs.h"
8334 #include <math.h>
8335 int main() {
8336 copysignl(0, 0);
8337 ; return 0; }
8339 if { (eval echo configure:8340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8340 rm -rf conftest*
8341 glibcpp_cv_func_copysignl_use=yes
8342 else
8343 echo "configure: failed program was:" >&5
8344 cat conftest.$ac_ext >&5
8345 rm -rf conftest*
8346 glibcpp_cv_func_copysignl_use=no
8348 rm -f conftest*
8349 ac_ext=c
8350 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8351 ac_cpp='$CPP $CPPFLAGS'
8352 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8353 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8354 cross_compiling=$ac_cv_prog_cc_cross
8359 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8360 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8361 for ac_func in copysignl
8363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8364 echo "configure:8365: checking for $ac_func" >&5
8365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8366 echo $ac_n "(cached) $ac_c" 1>&6
8367 else
8368 cat > conftest.$ac_ext <<EOF
8369 #line 8370 "configure"
8370 #include "confdefs.h"
8371 /* System header to define __stub macros and hopefully few prototypes,
8372 which can conflict with char $ac_func(); below. */
8373 #include <assert.h>
8374 /* Override any gcc2 internal prototype to avoid an error. */
8375 /* We use char because int might match the return type of a gcc2
8376 builtin and then its argument prototype would still apply. */
8377 char $ac_func();
8379 int main() {
8381 /* The GNU C library defines this for functions which it implements
8382 to always fail with ENOSYS. Some functions are actually named
8383 something starting with __ and the normal name is an alias. */
8384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8385 choke me
8386 #else
8387 $ac_func();
8388 #endif
8390 ; return 0; }
8392 if { (eval echo configure:8393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8393 rm -rf conftest*
8394 eval "ac_cv_func_$ac_func=yes"
8395 else
8396 echo "configure: failed program was:" >&5
8397 cat conftest.$ac_ext >&5
8398 rm -rf conftest*
8399 eval "ac_cv_func_$ac_func=no"
8401 rm -f conftest*
8404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8405 echo "$ac_t""yes" 1>&6
8406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8407 cat >> confdefs.h <<EOF
8408 #define $ac_tr_func 1
8411 else
8412 echo "$ac_t""no" 1>&6
8414 done
8419 echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8420 echo "configure:8421: checking for acosl declaration" >&5
8421 if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8422 echo $ac_n "(cached) $ac_c" 1>&6
8423 else
8426 ac_ext=C
8427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8428 ac_cpp='$CXXCPP $CPPFLAGS'
8429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8431 cross_compiling=$ac_cv_prog_cxx_cross
8433 cat > conftest.$ac_ext <<EOF
8434 #line 8435 "configure"
8435 #include "confdefs.h"
8436 #include <math.h>
8437 int main() {
8438 acosl(0);
8439 ; return 0; }
8441 if { (eval echo configure:8442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8442 rm -rf conftest*
8443 glibcpp_cv_func_acosl_use=yes
8444 else
8445 echo "configure: failed program was:" >&5
8446 cat conftest.$ac_ext >&5
8447 rm -rf conftest*
8448 glibcpp_cv_func_acosl_use=no
8450 rm -f conftest*
8451 ac_ext=c
8452 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8453 ac_cpp='$CPP $CPPFLAGS'
8454 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8455 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8456 cross_compiling=$ac_cv_prog_cc_cross
8461 echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8462 if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8463 for ac_func in acosl
8465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8466 echo "configure:8467: checking for $ac_func" >&5
8467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8468 echo $ac_n "(cached) $ac_c" 1>&6
8469 else
8470 cat > conftest.$ac_ext <<EOF
8471 #line 8472 "configure"
8472 #include "confdefs.h"
8473 /* System header to define __stub macros and hopefully few prototypes,
8474 which can conflict with char $ac_func(); below. */
8475 #include <assert.h>
8476 /* Override any gcc2 internal prototype to avoid an error. */
8477 /* We use char because int might match the return type of a gcc2
8478 builtin and then its argument prototype would still apply. */
8479 char $ac_func();
8481 int main() {
8483 /* The GNU C library defines this for functions which it implements
8484 to always fail with ENOSYS. Some functions are actually named
8485 something starting with __ and the normal name is an alias. */
8486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8487 choke me
8488 #else
8489 $ac_func();
8490 #endif
8492 ; return 0; }
8494 if { (eval echo configure:8495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8495 rm -rf conftest*
8496 eval "ac_cv_func_$ac_func=yes"
8497 else
8498 echo "configure: failed program was:" >&5
8499 cat conftest.$ac_ext >&5
8500 rm -rf conftest*
8501 eval "ac_cv_func_$ac_func=no"
8503 rm -f conftest*
8506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8507 echo "$ac_t""yes" 1>&6
8508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8509 cat >> confdefs.h <<EOF
8510 #define $ac_tr_func 1
8513 else
8514 echo "$ac_t""no" 1>&6
8516 done
8521 echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8522 echo "configure:8523: checking for asinl declaration" >&5
8523 if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8524 echo $ac_n "(cached) $ac_c" 1>&6
8525 else
8528 ac_ext=C
8529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8530 ac_cpp='$CXXCPP $CPPFLAGS'
8531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8533 cross_compiling=$ac_cv_prog_cxx_cross
8535 cat > conftest.$ac_ext <<EOF
8536 #line 8537 "configure"
8537 #include "confdefs.h"
8538 #include <math.h>
8539 int main() {
8540 asinl(0);
8541 ; return 0; }
8543 if { (eval echo configure:8544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8544 rm -rf conftest*
8545 glibcpp_cv_func_asinl_use=yes
8546 else
8547 echo "configure: failed program was:" >&5
8548 cat conftest.$ac_ext >&5
8549 rm -rf conftest*
8550 glibcpp_cv_func_asinl_use=no
8552 rm -f conftest*
8553 ac_ext=c
8554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8555 ac_cpp='$CPP $CPPFLAGS'
8556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8558 cross_compiling=$ac_cv_prog_cc_cross
8563 echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8564 if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8565 for ac_func in asinl
8567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8568 echo "configure:8569: checking for $ac_func" >&5
8569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8570 echo $ac_n "(cached) $ac_c" 1>&6
8571 else
8572 cat > conftest.$ac_ext <<EOF
8573 #line 8574 "configure"
8574 #include "confdefs.h"
8575 /* System header to define __stub macros and hopefully few prototypes,
8576 which can conflict with char $ac_func(); below. */
8577 #include <assert.h>
8578 /* Override any gcc2 internal prototype to avoid an error. */
8579 /* We use char because int might match the return type of a gcc2
8580 builtin and then its argument prototype would still apply. */
8581 char $ac_func();
8583 int main() {
8585 /* The GNU C library defines this for functions which it implements
8586 to always fail with ENOSYS. Some functions are actually named
8587 something starting with __ and the normal name is an alias. */
8588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8589 choke me
8590 #else
8591 $ac_func();
8592 #endif
8594 ; return 0; }
8596 if { (eval echo configure:8597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8597 rm -rf conftest*
8598 eval "ac_cv_func_$ac_func=yes"
8599 else
8600 echo "configure: failed program was:" >&5
8601 cat conftest.$ac_ext >&5
8602 rm -rf conftest*
8603 eval "ac_cv_func_$ac_func=no"
8605 rm -f conftest*
8608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8609 echo "$ac_t""yes" 1>&6
8610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8611 cat >> confdefs.h <<EOF
8612 #define $ac_tr_func 1
8615 else
8616 echo "$ac_t""no" 1>&6
8618 done
8623 echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8624 echo "configure:8625: checking for atanl declaration" >&5
8625 if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8626 echo $ac_n "(cached) $ac_c" 1>&6
8627 else
8630 ac_ext=C
8631 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8632 ac_cpp='$CXXCPP $CPPFLAGS'
8633 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8634 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8635 cross_compiling=$ac_cv_prog_cxx_cross
8637 cat > conftest.$ac_ext <<EOF
8638 #line 8639 "configure"
8639 #include "confdefs.h"
8640 #include <math.h>
8641 int main() {
8642 atanl(0);
8643 ; return 0; }
8645 if { (eval echo configure:8646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8646 rm -rf conftest*
8647 glibcpp_cv_func_atanl_use=yes
8648 else
8649 echo "configure: failed program was:" >&5
8650 cat conftest.$ac_ext >&5
8651 rm -rf conftest*
8652 glibcpp_cv_func_atanl_use=no
8654 rm -f conftest*
8655 ac_ext=c
8656 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8657 ac_cpp='$CPP $CPPFLAGS'
8658 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8659 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8660 cross_compiling=$ac_cv_prog_cc_cross
8665 echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8666 if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8667 for ac_func in atanl
8669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8670 echo "configure:8671: checking for $ac_func" >&5
8671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8672 echo $ac_n "(cached) $ac_c" 1>&6
8673 else
8674 cat > conftest.$ac_ext <<EOF
8675 #line 8676 "configure"
8676 #include "confdefs.h"
8677 /* System header to define __stub macros and hopefully few prototypes,
8678 which can conflict with char $ac_func(); below. */
8679 #include <assert.h>
8680 /* Override any gcc2 internal prototype to avoid an error. */
8681 /* We use char because int might match the return type of a gcc2
8682 builtin and then its argument prototype would still apply. */
8683 char $ac_func();
8685 int main() {
8687 /* The GNU C library defines this for functions which it implements
8688 to always fail with ENOSYS. Some functions are actually named
8689 something starting with __ and the normal name is an alias. */
8690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8691 choke me
8692 #else
8693 $ac_func();
8694 #endif
8696 ; return 0; }
8698 if { (eval echo configure:8699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8699 rm -rf conftest*
8700 eval "ac_cv_func_$ac_func=yes"
8701 else
8702 echo "configure: failed program was:" >&5
8703 cat conftest.$ac_ext >&5
8704 rm -rf conftest*
8705 eval "ac_cv_func_$ac_func=no"
8707 rm -f conftest*
8710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8711 echo "$ac_t""yes" 1>&6
8712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8713 cat >> confdefs.h <<EOF
8714 #define $ac_tr_func 1
8717 else
8718 echo "$ac_t""no" 1>&6
8720 done
8725 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8726 echo "configure:8727: checking for atan2l declaration" >&5
8727 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8728 echo $ac_n "(cached) $ac_c" 1>&6
8729 else
8732 ac_ext=C
8733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8734 ac_cpp='$CXXCPP $CPPFLAGS'
8735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8737 cross_compiling=$ac_cv_prog_cxx_cross
8739 cat > conftest.$ac_ext <<EOF
8740 #line 8741 "configure"
8741 #include "confdefs.h"
8742 #include <math.h>
8743 int main() {
8744 atan2l(0, 0);
8745 ; return 0; }
8747 if { (eval echo configure:8748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8748 rm -rf conftest*
8749 glibcpp_cv_func_atan2l_use=yes
8750 else
8751 echo "configure: failed program was:" >&5
8752 cat conftest.$ac_ext >&5
8753 rm -rf conftest*
8754 glibcpp_cv_func_atan2l_use=no
8756 rm -f conftest*
8757 ac_ext=c
8758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8759 ac_cpp='$CPP $CPPFLAGS'
8760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8762 cross_compiling=$ac_cv_prog_cc_cross
8767 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8768 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8769 for ac_func in atan2l
8771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8772 echo "configure:8773: checking for $ac_func" >&5
8773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8774 echo $ac_n "(cached) $ac_c" 1>&6
8775 else
8776 cat > conftest.$ac_ext <<EOF
8777 #line 8778 "configure"
8778 #include "confdefs.h"
8779 /* System header to define __stub macros and hopefully few prototypes,
8780 which can conflict with char $ac_func(); below. */
8781 #include <assert.h>
8782 /* Override any gcc2 internal prototype to avoid an error. */
8783 /* We use char because int might match the return type of a gcc2
8784 builtin and then its argument prototype would still apply. */
8785 char $ac_func();
8787 int main() {
8789 /* The GNU C library defines this for functions which it implements
8790 to always fail with ENOSYS. Some functions are actually named
8791 something starting with __ and the normal name is an alias. */
8792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8793 choke me
8794 #else
8795 $ac_func();
8796 #endif
8798 ; return 0; }
8800 if { (eval echo configure:8801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8801 rm -rf conftest*
8802 eval "ac_cv_func_$ac_func=yes"
8803 else
8804 echo "configure: failed program was:" >&5
8805 cat conftest.$ac_ext >&5
8806 rm -rf conftest*
8807 eval "ac_cv_func_$ac_func=no"
8809 rm -f conftest*
8812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8813 echo "$ac_t""yes" 1>&6
8814 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8815 cat >> confdefs.h <<EOF
8816 #define $ac_tr_func 1
8819 else
8820 echo "$ac_t""no" 1>&6
8822 done
8827 echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
8828 echo "configure:8829: checking for ceill declaration" >&5
8829 if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
8830 echo $ac_n "(cached) $ac_c" 1>&6
8831 else
8834 ac_ext=C
8835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8836 ac_cpp='$CXXCPP $CPPFLAGS'
8837 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8838 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8839 cross_compiling=$ac_cv_prog_cxx_cross
8841 cat > conftest.$ac_ext <<EOF
8842 #line 8843 "configure"
8843 #include "confdefs.h"
8844 #include <math.h>
8845 int main() {
8846 ceill(0);
8847 ; return 0; }
8849 if { (eval echo configure:8850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8850 rm -rf conftest*
8851 glibcpp_cv_func_ceill_use=yes
8852 else
8853 echo "configure: failed program was:" >&5
8854 cat conftest.$ac_ext >&5
8855 rm -rf conftest*
8856 glibcpp_cv_func_ceill_use=no
8858 rm -f conftest*
8859 ac_ext=c
8860 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8861 ac_cpp='$CPP $CPPFLAGS'
8862 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8863 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8864 cross_compiling=$ac_cv_prog_cc_cross
8869 echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
8870 if test x$glibcpp_cv_func_ceill_use = x"yes"; then
8871 for ac_func in ceill
8873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8874 echo "configure:8875: checking for $ac_func" >&5
8875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8876 echo $ac_n "(cached) $ac_c" 1>&6
8877 else
8878 cat > conftest.$ac_ext <<EOF
8879 #line 8880 "configure"
8880 #include "confdefs.h"
8881 /* System header to define __stub macros and hopefully few prototypes,
8882 which can conflict with char $ac_func(); below. */
8883 #include <assert.h>
8884 /* Override any gcc2 internal prototype to avoid an error. */
8885 /* We use char because int might match the return type of a gcc2
8886 builtin and then its argument prototype would still apply. */
8887 char $ac_func();
8889 int main() {
8891 /* The GNU C library defines this for functions which it implements
8892 to always fail with ENOSYS. Some functions are actually named
8893 something starting with __ and the normal name is an alias. */
8894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8895 choke me
8896 #else
8897 $ac_func();
8898 #endif
8900 ; return 0; }
8902 if { (eval echo configure:8903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8903 rm -rf conftest*
8904 eval "ac_cv_func_$ac_func=yes"
8905 else
8906 echo "configure: failed program was:" >&5
8907 cat conftest.$ac_ext >&5
8908 rm -rf conftest*
8909 eval "ac_cv_func_$ac_func=no"
8911 rm -f conftest*
8914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8915 echo "$ac_t""yes" 1>&6
8916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8917 cat >> confdefs.h <<EOF
8918 #define $ac_tr_func 1
8921 else
8922 echo "$ac_t""no" 1>&6
8924 done
8929 echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
8930 echo "configure:8931: checking for cosl declaration" >&5
8931 if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
8932 echo $ac_n "(cached) $ac_c" 1>&6
8933 else
8936 ac_ext=C
8937 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8938 ac_cpp='$CXXCPP $CPPFLAGS'
8939 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8940 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8941 cross_compiling=$ac_cv_prog_cxx_cross
8943 cat > conftest.$ac_ext <<EOF
8944 #line 8945 "configure"
8945 #include "confdefs.h"
8946 #include <math.h>
8947 int main() {
8948 cosl(0);
8949 ; return 0; }
8951 if { (eval echo configure:8952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8952 rm -rf conftest*
8953 glibcpp_cv_func_cosl_use=yes
8954 else
8955 echo "configure: failed program was:" >&5
8956 cat conftest.$ac_ext >&5
8957 rm -rf conftest*
8958 glibcpp_cv_func_cosl_use=no
8960 rm -f conftest*
8961 ac_ext=c
8962 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8963 ac_cpp='$CPP $CPPFLAGS'
8964 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8965 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8966 cross_compiling=$ac_cv_prog_cc_cross
8971 echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
8972 if test x$glibcpp_cv_func_cosl_use = x"yes"; then
8973 for ac_func in cosl
8975 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8976 echo "configure:8977: checking for $ac_func" >&5
8977 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8978 echo $ac_n "(cached) $ac_c" 1>&6
8979 else
8980 cat > conftest.$ac_ext <<EOF
8981 #line 8982 "configure"
8982 #include "confdefs.h"
8983 /* System header to define __stub macros and hopefully few prototypes,
8984 which can conflict with char $ac_func(); below. */
8985 #include <assert.h>
8986 /* Override any gcc2 internal prototype to avoid an error. */
8987 /* We use char because int might match the return type of a gcc2
8988 builtin and then its argument prototype would still apply. */
8989 char $ac_func();
8991 int main() {
8993 /* The GNU C library defines this for functions which it implements
8994 to always fail with ENOSYS. Some functions are actually named
8995 something starting with __ and the normal name is an alias. */
8996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8997 choke me
8998 #else
8999 $ac_func();
9000 #endif
9002 ; return 0; }
9004 if { (eval echo configure:9005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9005 rm -rf conftest*
9006 eval "ac_cv_func_$ac_func=yes"
9007 else
9008 echo "configure: failed program was:" >&5
9009 cat conftest.$ac_ext >&5
9010 rm -rf conftest*
9011 eval "ac_cv_func_$ac_func=no"
9013 rm -f conftest*
9016 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9017 echo "$ac_t""yes" 1>&6
9018 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9019 cat >> confdefs.h <<EOF
9020 #define $ac_tr_func 1
9023 else
9024 echo "$ac_t""no" 1>&6
9026 done
9031 echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9032 echo "configure:9033: checking for coshl declaration" >&5
9033 if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9034 echo $ac_n "(cached) $ac_c" 1>&6
9035 else
9038 ac_ext=C
9039 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9040 ac_cpp='$CXXCPP $CPPFLAGS'
9041 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9042 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9043 cross_compiling=$ac_cv_prog_cxx_cross
9045 cat > conftest.$ac_ext <<EOF
9046 #line 9047 "configure"
9047 #include "confdefs.h"
9048 #include <math.h>
9049 int main() {
9050 coshl(0);
9051 ; return 0; }
9053 if { (eval echo configure:9054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9054 rm -rf conftest*
9055 glibcpp_cv_func_coshl_use=yes
9056 else
9057 echo "configure: failed program was:" >&5
9058 cat conftest.$ac_ext >&5
9059 rm -rf conftest*
9060 glibcpp_cv_func_coshl_use=no
9062 rm -f conftest*
9063 ac_ext=c
9064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9065 ac_cpp='$CPP $CPPFLAGS'
9066 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9067 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9068 cross_compiling=$ac_cv_prog_cc_cross
9073 echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9074 if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9075 for ac_func in coshl
9077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9078 echo "configure:9079: checking for $ac_func" >&5
9079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9080 echo $ac_n "(cached) $ac_c" 1>&6
9081 else
9082 cat > conftest.$ac_ext <<EOF
9083 #line 9084 "configure"
9084 #include "confdefs.h"
9085 /* System header to define __stub macros and hopefully few prototypes,
9086 which can conflict with char $ac_func(); below. */
9087 #include <assert.h>
9088 /* Override any gcc2 internal prototype to avoid an error. */
9089 /* We use char because int might match the return type of a gcc2
9090 builtin and then its argument prototype would still apply. */
9091 char $ac_func();
9093 int main() {
9095 /* The GNU C library defines this for functions which it implements
9096 to always fail with ENOSYS. Some functions are actually named
9097 something starting with __ and the normal name is an alias. */
9098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9099 choke me
9100 #else
9101 $ac_func();
9102 #endif
9104 ; return 0; }
9106 if { (eval echo configure:9107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9107 rm -rf conftest*
9108 eval "ac_cv_func_$ac_func=yes"
9109 else
9110 echo "configure: failed program was:" >&5
9111 cat conftest.$ac_ext >&5
9112 rm -rf conftest*
9113 eval "ac_cv_func_$ac_func=no"
9115 rm -f conftest*
9118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9119 echo "$ac_t""yes" 1>&6
9120 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9121 cat >> confdefs.h <<EOF
9122 #define $ac_tr_func 1
9125 else
9126 echo "$ac_t""no" 1>&6
9128 done
9133 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9134 echo "configure:9135: checking for expl declaration" >&5
9135 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9136 echo $ac_n "(cached) $ac_c" 1>&6
9137 else
9140 ac_ext=C
9141 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9142 ac_cpp='$CXXCPP $CPPFLAGS'
9143 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9144 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9145 cross_compiling=$ac_cv_prog_cxx_cross
9147 cat > conftest.$ac_ext <<EOF
9148 #line 9149 "configure"
9149 #include "confdefs.h"
9150 #include <math.h>
9151 int main() {
9152 expl(0);
9153 ; return 0; }
9155 if { (eval echo configure:9156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9156 rm -rf conftest*
9157 glibcpp_cv_func_expl_use=yes
9158 else
9159 echo "configure: failed program was:" >&5
9160 cat conftest.$ac_ext >&5
9161 rm -rf conftest*
9162 glibcpp_cv_func_expl_use=no
9164 rm -f conftest*
9165 ac_ext=c
9166 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9167 ac_cpp='$CPP $CPPFLAGS'
9168 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9169 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9170 cross_compiling=$ac_cv_prog_cc_cross
9175 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9176 if test x$glibcpp_cv_func_expl_use = x"yes"; then
9177 for ac_func in expl
9179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9180 echo "configure:9181: checking for $ac_func" >&5
9181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9182 echo $ac_n "(cached) $ac_c" 1>&6
9183 else
9184 cat > conftest.$ac_ext <<EOF
9185 #line 9186 "configure"
9186 #include "confdefs.h"
9187 /* System header to define __stub macros and hopefully few prototypes,
9188 which can conflict with char $ac_func(); below. */
9189 #include <assert.h>
9190 /* Override any gcc2 internal prototype to avoid an error. */
9191 /* We use char because int might match the return type of a gcc2
9192 builtin and then its argument prototype would still apply. */
9193 char $ac_func();
9195 int main() {
9197 /* The GNU C library defines this for functions which it implements
9198 to always fail with ENOSYS. Some functions are actually named
9199 something starting with __ and the normal name is an alias. */
9200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9201 choke me
9202 #else
9203 $ac_func();
9204 #endif
9206 ; return 0; }
9208 if { (eval echo configure:9209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9209 rm -rf conftest*
9210 eval "ac_cv_func_$ac_func=yes"
9211 else
9212 echo "configure: failed program was:" >&5
9213 cat conftest.$ac_ext >&5
9214 rm -rf conftest*
9215 eval "ac_cv_func_$ac_func=no"
9217 rm -f conftest*
9220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9221 echo "$ac_t""yes" 1>&6
9222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9223 cat >> confdefs.h <<EOF
9224 #define $ac_tr_func 1
9227 else
9228 echo "$ac_t""no" 1>&6
9230 done
9235 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9236 echo "configure:9237: checking for fabsl declaration" >&5
9237 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9238 echo $ac_n "(cached) $ac_c" 1>&6
9239 else
9242 ac_ext=C
9243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9244 ac_cpp='$CXXCPP $CPPFLAGS'
9245 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9246 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9247 cross_compiling=$ac_cv_prog_cxx_cross
9249 cat > conftest.$ac_ext <<EOF
9250 #line 9251 "configure"
9251 #include "confdefs.h"
9252 #include <math.h>
9253 int main() {
9254 fabsl(0);
9255 ; return 0; }
9257 if { (eval echo configure:9258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9258 rm -rf conftest*
9259 glibcpp_cv_func_fabsl_use=yes
9260 else
9261 echo "configure: failed program was:" >&5
9262 cat conftest.$ac_ext >&5
9263 rm -rf conftest*
9264 glibcpp_cv_func_fabsl_use=no
9266 rm -f conftest*
9267 ac_ext=c
9268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9269 ac_cpp='$CPP $CPPFLAGS'
9270 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9271 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9272 cross_compiling=$ac_cv_prog_cc_cross
9277 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9278 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9279 for ac_func in fabsl
9281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9282 echo "configure:9283: checking for $ac_func" >&5
9283 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9284 echo $ac_n "(cached) $ac_c" 1>&6
9285 else
9286 cat > conftest.$ac_ext <<EOF
9287 #line 9288 "configure"
9288 #include "confdefs.h"
9289 /* System header to define __stub macros and hopefully few prototypes,
9290 which can conflict with char $ac_func(); below. */
9291 #include <assert.h>
9292 /* Override any gcc2 internal prototype to avoid an error. */
9293 /* We use char because int might match the return type of a gcc2
9294 builtin and then its argument prototype would still apply. */
9295 char $ac_func();
9297 int main() {
9299 /* The GNU C library defines this for functions which it implements
9300 to always fail with ENOSYS. Some functions are actually named
9301 something starting with __ and the normal name is an alias. */
9302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9303 choke me
9304 #else
9305 $ac_func();
9306 #endif
9308 ; return 0; }
9310 if { (eval echo configure:9311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9311 rm -rf conftest*
9312 eval "ac_cv_func_$ac_func=yes"
9313 else
9314 echo "configure: failed program was:" >&5
9315 cat conftest.$ac_ext >&5
9316 rm -rf conftest*
9317 eval "ac_cv_func_$ac_func=no"
9319 rm -f conftest*
9322 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9323 echo "$ac_t""yes" 1>&6
9324 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9325 cat >> confdefs.h <<EOF
9326 #define $ac_tr_func 1
9329 else
9330 echo "$ac_t""no" 1>&6
9332 done
9337 echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9338 echo "configure:9339: checking for floorl declaration" >&5
9339 if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9340 echo $ac_n "(cached) $ac_c" 1>&6
9341 else
9344 ac_ext=C
9345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9346 ac_cpp='$CXXCPP $CPPFLAGS'
9347 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9348 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9349 cross_compiling=$ac_cv_prog_cxx_cross
9351 cat > conftest.$ac_ext <<EOF
9352 #line 9353 "configure"
9353 #include "confdefs.h"
9354 #include <math.h>
9355 int main() {
9356 floorl(0);
9357 ; return 0; }
9359 if { (eval echo configure:9360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9360 rm -rf conftest*
9361 glibcpp_cv_func_floorl_use=yes
9362 else
9363 echo "configure: failed program was:" >&5
9364 cat conftest.$ac_ext >&5
9365 rm -rf conftest*
9366 glibcpp_cv_func_floorl_use=no
9368 rm -f conftest*
9369 ac_ext=c
9370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9371 ac_cpp='$CPP $CPPFLAGS'
9372 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9373 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9374 cross_compiling=$ac_cv_prog_cc_cross
9379 echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9380 if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9381 for ac_func in floorl
9383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9384 echo "configure:9385: checking for $ac_func" >&5
9385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9386 echo $ac_n "(cached) $ac_c" 1>&6
9387 else
9388 cat > conftest.$ac_ext <<EOF
9389 #line 9390 "configure"
9390 #include "confdefs.h"
9391 /* System header to define __stub macros and hopefully few prototypes,
9392 which can conflict with char $ac_func(); below. */
9393 #include <assert.h>
9394 /* Override any gcc2 internal prototype to avoid an error. */
9395 /* We use char because int might match the return type of a gcc2
9396 builtin and then its argument prototype would still apply. */
9397 char $ac_func();
9399 int main() {
9401 /* The GNU C library defines this for functions which it implements
9402 to always fail with ENOSYS. Some functions are actually named
9403 something starting with __ and the normal name is an alias. */
9404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9405 choke me
9406 #else
9407 $ac_func();
9408 #endif
9410 ; return 0; }
9412 if { (eval echo configure:9413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9413 rm -rf conftest*
9414 eval "ac_cv_func_$ac_func=yes"
9415 else
9416 echo "configure: failed program was:" >&5
9417 cat conftest.$ac_ext >&5
9418 rm -rf conftest*
9419 eval "ac_cv_func_$ac_func=no"
9421 rm -f conftest*
9424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9425 echo "$ac_t""yes" 1>&6
9426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9427 cat >> confdefs.h <<EOF
9428 #define $ac_tr_func 1
9431 else
9432 echo "$ac_t""no" 1>&6
9434 done
9439 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9440 echo "configure:9441: checking for fmodl declaration" >&5
9441 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9442 echo $ac_n "(cached) $ac_c" 1>&6
9443 else
9446 ac_ext=C
9447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9448 ac_cpp='$CXXCPP $CPPFLAGS'
9449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9451 cross_compiling=$ac_cv_prog_cxx_cross
9453 cat > conftest.$ac_ext <<EOF
9454 #line 9455 "configure"
9455 #include "confdefs.h"
9456 #include <math.h>
9457 int main() {
9458 fmodl(0, 0);
9459 ; return 0; }
9461 if { (eval echo configure:9462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9462 rm -rf conftest*
9463 glibcpp_cv_func_fmodl_use=yes
9464 else
9465 echo "configure: failed program was:" >&5
9466 cat conftest.$ac_ext >&5
9467 rm -rf conftest*
9468 glibcpp_cv_func_fmodl_use=no
9470 rm -f conftest*
9471 ac_ext=c
9472 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9473 ac_cpp='$CPP $CPPFLAGS'
9474 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9475 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9476 cross_compiling=$ac_cv_prog_cc_cross
9481 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9482 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9483 for ac_func in fmodl
9485 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9486 echo "configure:9487: checking for $ac_func" >&5
9487 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9488 echo $ac_n "(cached) $ac_c" 1>&6
9489 else
9490 cat > conftest.$ac_ext <<EOF
9491 #line 9492 "configure"
9492 #include "confdefs.h"
9493 /* System header to define __stub macros and hopefully few prototypes,
9494 which can conflict with char $ac_func(); below. */
9495 #include <assert.h>
9496 /* Override any gcc2 internal prototype to avoid an error. */
9497 /* We use char because int might match the return type of a gcc2
9498 builtin and then its argument prototype would still apply. */
9499 char $ac_func();
9501 int main() {
9503 /* The GNU C library defines this for functions which it implements
9504 to always fail with ENOSYS. Some functions are actually named
9505 something starting with __ and the normal name is an alias. */
9506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9507 choke me
9508 #else
9509 $ac_func();
9510 #endif
9512 ; return 0; }
9514 if { (eval echo configure:9515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9515 rm -rf conftest*
9516 eval "ac_cv_func_$ac_func=yes"
9517 else
9518 echo "configure: failed program was:" >&5
9519 cat conftest.$ac_ext >&5
9520 rm -rf conftest*
9521 eval "ac_cv_func_$ac_func=no"
9523 rm -f conftest*
9526 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9527 echo "$ac_t""yes" 1>&6
9528 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9529 cat >> confdefs.h <<EOF
9530 #define $ac_tr_func 1
9533 else
9534 echo "$ac_t""no" 1>&6
9536 done
9541 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9542 echo "configure:9543: checking for frexpl declaration" >&5
9543 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9544 echo $ac_n "(cached) $ac_c" 1>&6
9545 else
9548 ac_ext=C
9549 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9550 ac_cpp='$CXXCPP $CPPFLAGS'
9551 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9552 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9553 cross_compiling=$ac_cv_prog_cxx_cross
9555 cat > conftest.$ac_ext <<EOF
9556 #line 9557 "configure"
9557 #include "confdefs.h"
9558 #include <math.h>
9559 int main() {
9560 frexpl(0, 0);
9561 ; return 0; }
9563 if { (eval echo configure:9564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9564 rm -rf conftest*
9565 glibcpp_cv_func_frexpl_use=yes
9566 else
9567 echo "configure: failed program was:" >&5
9568 cat conftest.$ac_ext >&5
9569 rm -rf conftest*
9570 glibcpp_cv_func_frexpl_use=no
9572 rm -f conftest*
9573 ac_ext=c
9574 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9575 ac_cpp='$CPP $CPPFLAGS'
9576 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9577 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9578 cross_compiling=$ac_cv_prog_cc_cross
9583 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9584 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9585 for ac_func in frexpl
9587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9588 echo "configure:9589: checking for $ac_func" >&5
9589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9590 echo $ac_n "(cached) $ac_c" 1>&6
9591 else
9592 cat > conftest.$ac_ext <<EOF
9593 #line 9594 "configure"
9594 #include "confdefs.h"
9595 /* System header to define __stub macros and hopefully few prototypes,
9596 which can conflict with char $ac_func(); below. */
9597 #include <assert.h>
9598 /* Override any gcc2 internal prototype to avoid an error. */
9599 /* We use char because int might match the return type of a gcc2
9600 builtin and then its argument prototype would still apply. */
9601 char $ac_func();
9603 int main() {
9605 /* The GNU C library defines this for functions which it implements
9606 to always fail with ENOSYS. Some functions are actually named
9607 something starting with __ and the normal name is an alias. */
9608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9609 choke me
9610 #else
9611 $ac_func();
9612 #endif
9614 ; return 0; }
9616 if { (eval echo configure:9617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9617 rm -rf conftest*
9618 eval "ac_cv_func_$ac_func=yes"
9619 else
9620 echo "configure: failed program was:" >&5
9621 cat conftest.$ac_ext >&5
9622 rm -rf conftest*
9623 eval "ac_cv_func_$ac_func=no"
9625 rm -f conftest*
9628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9629 echo "$ac_t""yes" 1>&6
9630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9631 cat >> confdefs.h <<EOF
9632 #define $ac_tr_func 1
9635 else
9636 echo "$ac_t""no" 1>&6
9638 done
9643 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9644 echo "configure:9645: checking for ldexpl declaration" >&5
9645 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9646 echo $ac_n "(cached) $ac_c" 1>&6
9647 else
9650 ac_ext=C
9651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9652 ac_cpp='$CXXCPP $CPPFLAGS'
9653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9655 cross_compiling=$ac_cv_prog_cxx_cross
9657 cat > conftest.$ac_ext <<EOF
9658 #line 9659 "configure"
9659 #include "confdefs.h"
9660 #include <math.h>
9661 int main() {
9662 ldexpl(0, 0);
9663 ; return 0; }
9665 if { (eval echo configure:9666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9666 rm -rf conftest*
9667 glibcpp_cv_func_ldexpl_use=yes
9668 else
9669 echo "configure: failed program was:" >&5
9670 cat conftest.$ac_ext >&5
9671 rm -rf conftest*
9672 glibcpp_cv_func_ldexpl_use=no
9674 rm -f conftest*
9675 ac_ext=c
9676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9677 ac_cpp='$CPP $CPPFLAGS'
9678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9680 cross_compiling=$ac_cv_prog_cc_cross
9685 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9686 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9687 for ac_func in ldexpl
9689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9690 echo "configure:9691: checking for $ac_func" >&5
9691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9692 echo $ac_n "(cached) $ac_c" 1>&6
9693 else
9694 cat > conftest.$ac_ext <<EOF
9695 #line 9696 "configure"
9696 #include "confdefs.h"
9697 /* System header to define __stub macros and hopefully few prototypes,
9698 which can conflict with char $ac_func(); below. */
9699 #include <assert.h>
9700 /* Override any gcc2 internal prototype to avoid an error. */
9701 /* We use char because int might match the return type of a gcc2
9702 builtin and then its argument prototype would still apply. */
9703 char $ac_func();
9705 int main() {
9707 /* The GNU C library defines this for functions which it implements
9708 to always fail with ENOSYS. Some functions are actually named
9709 something starting with __ and the normal name is an alias. */
9710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9711 choke me
9712 #else
9713 $ac_func();
9714 #endif
9716 ; return 0; }
9718 if { (eval echo configure:9719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9719 rm -rf conftest*
9720 eval "ac_cv_func_$ac_func=yes"
9721 else
9722 echo "configure: failed program was:" >&5
9723 cat conftest.$ac_ext >&5
9724 rm -rf conftest*
9725 eval "ac_cv_func_$ac_func=no"
9727 rm -f conftest*
9730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9731 echo "$ac_t""yes" 1>&6
9732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9733 cat >> confdefs.h <<EOF
9734 #define $ac_tr_func 1
9737 else
9738 echo "$ac_t""no" 1>&6
9740 done
9745 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9746 echo "configure:9747: checking for logl declaration" >&5
9747 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9748 echo $ac_n "(cached) $ac_c" 1>&6
9749 else
9752 ac_ext=C
9753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9754 ac_cpp='$CXXCPP $CPPFLAGS'
9755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9757 cross_compiling=$ac_cv_prog_cxx_cross
9759 cat > conftest.$ac_ext <<EOF
9760 #line 9761 "configure"
9761 #include "confdefs.h"
9762 #include <math.h>
9763 int main() {
9764 logl(0);
9765 ; return 0; }
9767 if { (eval echo configure:9768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9768 rm -rf conftest*
9769 glibcpp_cv_func_logl_use=yes
9770 else
9771 echo "configure: failed program was:" >&5
9772 cat conftest.$ac_ext >&5
9773 rm -rf conftest*
9774 glibcpp_cv_func_logl_use=no
9776 rm -f conftest*
9777 ac_ext=c
9778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9779 ac_cpp='$CPP $CPPFLAGS'
9780 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9781 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9782 cross_compiling=$ac_cv_prog_cc_cross
9787 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9788 if test x$glibcpp_cv_func_logl_use = x"yes"; then
9789 for ac_func in logl
9791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9792 echo "configure:9793: checking for $ac_func" >&5
9793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9794 echo $ac_n "(cached) $ac_c" 1>&6
9795 else
9796 cat > conftest.$ac_ext <<EOF
9797 #line 9798 "configure"
9798 #include "confdefs.h"
9799 /* System header to define __stub macros and hopefully few prototypes,
9800 which can conflict with char $ac_func(); below. */
9801 #include <assert.h>
9802 /* Override any gcc2 internal prototype to avoid an error. */
9803 /* We use char because int might match the return type of a gcc2
9804 builtin and then its argument prototype would still apply. */
9805 char $ac_func();
9807 int main() {
9809 /* The GNU C library defines this for functions which it implements
9810 to always fail with ENOSYS. Some functions are actually named
9811 something starting with __ and the normal name is an alias. */
9812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9813 choke me
9814 #else
9815 $ac_func();
9816 #endif
9818 ; return 0; }
9820 if { (eval echo configure:9821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9821 rm -rf conftest*
9822 eval "ac_cv_func_$ac_func=yes"
9823 else
9824 echo "configure: failed program was:" >&5
9825 cat conftest.$ac_ext >&5
9826 rm -rf conftest*
9827 eval "ac_cv_func_$ac_func=no"
9829 rm -f conftest*
9832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9833 echo "$ac_t""yes" 1>&6
9834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9835 cat >> confdefs.h <<EOF
9836 #define $ac_tr_func 1
9839 else
9840 echo "$ac_t""no" 1>&6
9842 done
9847 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9848 echo "configure:9849: checking for log10l declaration" >&5
9849 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9850 echo $ac_n "(cached) $ac_c" 1>&6
9851 else
9854 ac_ext=C
9855 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9856 ac_cpp='$CXXCPP $CPPFLAGS'
9857 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9858 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9859 cross_compiling=$ac_cv_prog_cxx_cross
9861 cat > conftest.$ac_ext <<EOF
9862 #line 9863 "configure"
9863 #include "confdefs.h"
9864 #include <math.h>
9865 int main() {
9866 log10l(0);
9867 ; return 0; }
9869 if { (eval echo configure:9870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9870 rm -rf conftest*
9871 glibcpp_cv_func_log10l_use=yes
9872 else
9873 echo "configure: failed program was:" >&5
9874 cat conftest.$ac_ext >&5
9875 rm -rf conftest*
9876 glibcpp_cv_func_log10l_use=no
9878 rm -f conftest*
9879 ac_ext=c
9880 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9881 ac_cpp='$CPP $CPPFLAGS'
9882 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9883 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9884 cross_compiling=$ac_cv_prog_cc_cross
9889 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
9890 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
9891 for ac_func in log10l
9893 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9894 echo "configure:9895: checking for $ac_func" >&5
9895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9896 echo $ac_n "(cached) $ac_c" 1>&6
9897 else
9898 cat > conftest.$ac_ext <<EOF
9899 #line 9900 "configure"
9900 #include "confdefs.h"
9901 /* System header to define __stub macros and hopefully few prototypes,
9902 which can conflict with char $ac_func(); below. */
9903 #include <assert.h>
9904 /* Override any gcc2 internal prototype to avoid an error. */
9905 /* We use char because int might match the return type of a gcc2
9906 builtin and then its argument prototype would still apply. */
9907 char $ac_func();
9909 int main() {
9911 /* The GNU C library defines this for functions which it implements
9912 to always fail with ENOSYS. Some functions are actually named
9913 something starting with __ and the normal name is an alias. */
9914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9915 choke me
9916 #else
9917 $ac_func();
9918 #endif
9920 ; return 0; }
9922 if { (eval echo configure:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9923 rm -rf conftest*
9924 eval "ac_cv_func_$ac_func=yes"
9925 else
9926 echo "configure: failed program was:" >&5
9927 cat conftest.$ac_ext >&5
9928 rm -rf conftest*
9929 eval "ac_cv_func_$ac_func=no"
9931 rm -f conftest*
9934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9935 echo "$ac_t""yes" 1>&6
9936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9937 cat >> confdefs.h <<EOF
9938 #define $ac_tr_func 1
9941 else
9942 echo "$ac_t""no" 1>&6
9944 done
9949 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
9950 echo "configure:9951: checking for modfl declaration" >&5
9951 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
9952 echo $ac_n "(cached) $ac_c" 1>&6
9953 else
9956 ac_ext=C
9957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9958 ac_cpp='$CXXCPP $CPPFLAGS'
9959 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9960 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9961 cross_compiling=$ac_cv_prog_cxx_cross
9963 cat > conftest.$ac_ext <<EOF
9964 #line 9965 "configure"
9965 #include "confdefs.h"
9966 #include <math.h>
9967 int main() {
9968 modfl(0, 0);
9969 ; return 0; }
9971 if { (eval echo configure:9972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9972 rm -rf conftest*
9973 glibcpp_cv_func_modfl_use=yes
9974 else
9975 echo "configure: failed program was:" >&5
9976 cat conftest.$ac_ext >&5
9977 rm -rf conftest*
9978 glibcpp_cv_func_modfl_use=no
9980 rm -f conftest*
9981 ac_ext=c
9982 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9983 ac_cpp='$CPP $CPPFLAGS'
9984 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9985 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9986 cross_compiling=$ac_cv_prog_cc_cross
9991 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
9992 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
9993 for ac_func in modfl
9995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9996 echo "configure:9997: checking for $ac_func" >&5
9997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9998 echo $ac_n "(cached) $ac_c" 1>&6
9999 else
10000 cat > conftest.$ac_ext <<EOF
10001 #line 10002 "configure"
10002 #include "confdefs.h"
10003 /* System header to define __stub macros and hopefully few prototypes,
10004 which can conflict with char $ac_func(); below. */
10005 #include <assert.h>
10006 /* Override any gcc2 internal prototype to avoid an error. */
10007 /* We use char because int might match the return type of a gcc2
10008 builtin and then its argument prototype would still apply. */
10009 char $ac_func();
10011 int main() {
10013 /* The GNU C library defines this for functions which it implements
10014 to always fail with ENOSYS. Some functions are actually named
10015 something starting with __ and the normal name is an alias. */
10016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10017 choke me
10018 #else
10019 $ac_func();
10020 #endif
10022 ; return 0; }
10024 if { (eval echo configure:10025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10025 rm -rf conftest*
10026 eval "ac_cv_func_$ac_func=yes"
10027 else
10028 echo "configure: failed program was:" >&5
10029 cat conftest.$ac_ext >&5
10030 rm -rf conftest*
10031 eval "ac_cv_func_$ac_func=no"
10033 rm -f conftest*
10036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10037 echo "$ac_t""yes" 1>&6
10038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10039 cat >> confdefs.h <<EOF
10040 #define $ac_tr_func 1
10043 else
10044 echo "$ac_t""no" 1>&6
10046 done
10051 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10052 echo "configure:10053: checking for powl declaration" >&5
10053 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10054 echo $ac_n "(cached) $ac_c" 1>&6
10055 else
10058 ac_ext=C
10059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10060 ac_cpp='$CXXCPP $CPPFLAGS'
10061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10063 cross_compiling=$ac_cv_prog_cxx_cross
10065 cat > conftest.$ac_ext <<EOF
10066 #line 10067 "configure"
10067 #include "confdefs.h"
10068 #include <math.h>
10069 int main() {
10070 powl(0, 0);
10071 ; return 0; }
10073 if { (eval echo configure:10074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10074 rm -rf conftest*
10075 glibcpp_cv_func_powl_use=yes
10076 else
10077 echo "configure: failed program was:" >&5
10078 cat conftest.$ac_ext >&5
10079 rm -rf conftest*
10080 glibcpp_cv_func_powl_use=no
10082 rm -f conftest*
10083 ac_ext=c
10084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10085 ac_cpp='$CPP $CPPFLAGS'
10086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10088 cross_compiling=$ac_cv_prog_cc_cross
10093 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10094 if test x$glibcpp_cv_func_powl_use = x"yes"; then
10095 for ac_func in powl
10097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10098 echo "configure:10099: checking for $ac_func" >&5
10099 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10100 echo $ac_n "(cached) $ac_c" 1>&6
10101 else
10102 cat > conftest.$ac_ext <<EOF
10103 #line 10104 "configure"
10104 #include "confdefs.h"
10105 /* System header to define __stub macros and hopefully few prototypes,
10106 which can conflict with char $ac_func(); below. */
10107 #include <assert.h>
10108 /* Override any gcc2 internal prototype to avoid an error. */
10109 /* We use char because int might match the return type of a gcc2
10110 builtin and then its argument prototype would still apply. */
10111 char $ac_func();
10113 int main() {
10115 /* The GNU C library defines this for functions which it implements
10116 to always fail with ENOSYS. Some functions are actually named
10117 something starting with __ and the normal name is an alias. */
10118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10119 choke me
10120 #else
10121 $ac_func();
10122 #endif
10124 ; return 0; }
10126 if { (eval echo configure:10127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10127 rm -rf conftest*
10128 eval "ac_cv_func_$ac_func=yes"
10129 else
10130 echo "configure: failed program was:" >&5
10131 cat conftest.$ac_ext >&5
10132 rm -rf conftest*
10133 eval "ac_cv_func_$ac_func=no"
10135 rm -f conftest*
10138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10139 echo "$ac_t""yes" 1>&6
10140 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10141 cat >> confdefs.h <<EOF
10142 #define $ac_tr_func 1
10145 else
10146 echo "$ac_t""no" 1>&6
10148 done
10153 echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10154 echo "configure:10155: checking for sinl declaration" >&5
10155 if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10156 echo $ac_n "(cached) $ac_c" 1>&6
10157 else
10160 ac_ext=C
10161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10162 ac_cpp='$CXXCPP $CPPFLAGS'
10163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10165 cross_compiling=$ac_cv_prog_cxx_cross
10167 cat > conftest.$ac_ext <<EOF
10168 #line 10169 "configure"
10169 #include "confdefs.h"
10170 #include <math.h>
10171 int main() {
10172 sinl(0);
10173 ; return 0; }
10175 if { (eval echo configure:10176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10176 rm -rf conftest*
10177 glibcpp_cv_func_sinl_use=yes
10178 else
10179 echo "configure: failed program was:" >&5
10180 cat conftest.$ac_ext >&5
10181 rm -rf conftest*
10182 glibcpp_cv_func_sinl_use=no
10184 rm -f conftest*
10185 ac_ext=c
10186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10187 ac_cpp='$CPP $CPPFLAGS'
10188 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10189 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10190 cross_compiling=$ac_cv_prog_cc_cross
10195 echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10196 if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10197 for ac_func in sinl
10199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10200 echo "configure:10201: checking for $ac_func" >&5
10201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10202 echo $ac_n "(cached) $ac_c" 1>&6
10203 else
10204 cat > conftest.$ac_ext <<EOF
10205 #line 10206 "configure"
10206 #include "confdefs.h"
10207 /* System header to define __stub macros and hopefully few prototypes,
10208 which can conflict with char $ac_func(); below. */
10209 #include <assert.h>
10210 /* Override any gcc2 internal prototype to avoid an error. */
10211 /* We use char because int might match the return type of a gcc2
10212 builtin and then its argument prototype would still apply. */
10213 char $ac_func();
10215 int main() {
10217 /* The GNU C library defines this for functions which it implements
10218 to always fail with ENOSYS. Some functions are actually named
10219 something starting with __ and the normal name is an alias. */
10220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10221 choke me
10222 #else
10223 $ac_func();
10224 #endif
10226 ; return 0; }
10228 if { (eval echo configure:10229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10229 rm -rf conftest*
10230 eval "ac_cv_func_$ac_func=yes"
10231 else
10232 echo "configure: failed program was:" >&5
10233 cat conftest.$ac_ext >&5
10234 rm -rf conftest*
10235 eval "ac_cv_func_$ac_func=no"
10237 rm -f conftest*
10240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10241 echo "$ac_t""yes" 1>&6
10242 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10243 cat >> confdefs.h <<EOF
10244 #define $ac_tr_func 1
10247 else
10248 echo "$ac_t""no" 1>&6
10250 done
10255 echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10256 echo "configure:10257: checking for sinhl declaration" >&5
10257 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10258 echo $ac_n "(cached) $ac_c" 1>&6
10259 else
10262 ac_ext=C
10263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10264 ac_cpp='$CXXCPP $CPPFLAGS'
10265 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10266 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10267 cross_compiling=$ac_cv_prog_cxx_cross
10269 cat > conftest.$ac_ext <<EOF
10270 #line 10271 "configure"
10271 #include "confdefs.h"
10272 #include <math.h>
10273 int main() {
10274 sinhl(0);
10275 ; return 0; }
10277 if { (eval echo configure:10278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10278 rm -rf conftest*
10279 glibcpp_cv_func_sinhl_use=yes
10280 else
10281 echo "configure: failed program was:" >&5
10282 cat conftest.$ac_ext >&5
10283 rm -rf conftest*
10284 glibcpp_cv_func_sinhl_use=no
10286 rm -f conftest*
10287 ac_ext=c
10288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10289 ac_cpp='$CPP $CPPFLAGS'
10290 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10291 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10292 cross_compiling=$ac_cv_prog_cc_cross
10297 echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10298 if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10299 for ac_func in sinhl
10301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10302 echo "configure:10303: checking for $ac_func" >&5
10303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10304 echo $ac_n "(cached) $ac_c" 1>&6
10305 else
10306 cat > conftest.$ac_ext <<EOF
10307 #line 10308 "configure"
10308 #include "confdefs.h"
10309 /* System header to define __stub macros and hopefully few prototypes,
10310 which can conflict with char $ac_func(); below. */
10311 #include <assert.h>
10312 /* Override any gcc2 internal prototype to avoid an error. */
10313 /* We use char because int might match the return type of a gcc2
10314 builtin and then its argument prototype would still apply. */
10315 char $ac_func();
10317 int main() {
10319 /* The GNU C library defines this for functions which it implements
10320 to always fail with ENOSYS. Some functions are actually named
10321 something starting with __ and the normal name is an alias. */
10322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10323 choke me
10324 #else
10325 $ac_func();
10326 #endif
10328 ; return 0; }
10330 if { (eval echo configure:10331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10331 rm -rf conftest*
10332 eval "ac_cv_func_$ac_func=yes"
10333 else
10334 echo "configure: failed program was:" >&5
10335 cat conftest.$ac_ext >&5
10336 rm -rf conftest*
10337 eval "ac_cv_func_$ac_func=no"
10339 rm -f conftest*
10342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10343 echo "$ac_t""yes" 1>&6
10344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10345 cat >> confdefs.h <<EOF
10346 #define $ac_tr_func 1
10349 else
10350 echo "$ac_t""no" 1>&6
10352 done
10357 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10358 echo "configure:10359: checking for sqrtl declaration" >&5
10359 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10360 echo $ac_n "(cached) $ac_c" 1>&6
10361 else
10364 ac_ext=C
10365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10366 ac_cpp='$CXXCPP $CPPFLAGS'
10367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10369 cross_compiling=$ac_cv_prog_cxx_cross
10371 cat > conftest.$ac_ext <<EOF
10372 #line 10373 "configure"
10373 #include "confdefs.h"
10374 #include <math.h>
10375 int main() {
10376 sqrtl(0);
10377 ; return 0; }
10379 if { (eval echo configure:10380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10380 rm -rf conftest*
10381 glibcpp_cv_func_sqrtl_use=yes
10382 else
10383 echo "configure: failed program was:" >&5
10384 cat conftest.$ac_ext >&5
10385 rm -rf conftest*
10386 glibcpp_cv_func_sqrtl_use=no
10388 rm -f conftest*
10389 ac_ext=c
10390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10391 ac_cpp='$CPP $CPPFLAGS'
10392 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10393 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10394 cross_compiling=$ac_cv_prog_cc_cross
10399 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10400 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10401 for ac_func in sqrtl
10403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10404 echo "configure:10405: checking for $ac_func" >&5
10405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10406 echo $ac_n "(cached) $ac_c" 1>&6
10407 else
10408 cat > conftest.$ac_ext <<EOF
10409 #line 10410 "configure"
10410 #include "confdefs.h"
10411 /* System header to define __stub macros and hopefully few prototypes,
10412 which can conflict with char $ac_func(); below. */
10413 #include <assert.h>
10414 /* Override any gcc2 internal prototype to avoid an error. */
10415 /* We use char because int might match the return type of a gcc2
10416 builtin and then its argument prototype would still apply. */
10417 char $ac_func();
10419 int main() {
10421 /* The GNU C library defines this for functions which it implements
10422 to always fail with ENOSYS. Some functions are actually named
10423 something starting with __ and the normal name is an alias. */
10424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10425 choke me
10426 #else
10427 $ac_func();
10428 #endif
10430 ; return 0; }
10432 if { (eval echo configure:10433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10433 rm -rf conftest*
10434 eval "ac_cv_func_$ac_func=yes"
10435 else
10436 echo "configure: failed program was:" >&5
10437 cat conftest.$ac_ext >&5
10438 rm -rf conftest*
10439 eval "ac_cv_func_$ac_func=no"
10441 rm -f conftest*
10444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10445 echo "$ac_t""yes" 1>&6
10446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10447 cat >> confdefs.h <<EOF
10448 #define $ac_tr_func 1
10451 else
10452 echo "$ac_t""no" 1>&6
10454 done
10459 echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10460 echo "configure:10461: checking for tanl declaration" >&5
10461 if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10462 echo $ac_n "(cached) $ac_c" 1>&6
10463 else
10466 ac_ext=C
10467 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10468 ac_cpp='$CXXCPP $CPPFLAGS'
10469 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10470 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10471 cross_compiling=$ac_cv_prog_cxx_cross
10473 cat > conftest.$ac_ext <<EOF
10474 #line 10475 "configure"
10475 #include "confdefs.h"
10476 #include <math.h>
10477 int main() {
10478 tanl(0);
10479 ; return 0; }
10481 if { (eval echo configure:10482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10482 rm -rf conftest*
10483 glibcpp_cv_func_tanl_use=yes
10484 else
10485 echo "configure: failed program was:" >&5
10486 cat conftest.$ac_ext >&5
10487 rm -rf conftest*
10488 glibcpp_cv_func_tanl_use=no
10490 rm -f conftest*
10491 ac_ext=c
10492 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10493 ac_cpp='$CPP $CPPFLAGS'
10494 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10495 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10496 cross_compiling=$ac_cv_prog_cc_cross
10501 echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10502 if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10503 for ac_func in tanl
10505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10506 echo "configure:10507: checking for $ac_func" >&5
10507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10508 echo $ac_n "(cached) $ac_c" 1>&6
10509 else
10510 cat > conftest.$ac_ext <<EOF
10511 #line 10512 "configure"
10512 #include "confdefs.h"
10513 /* System header to define __stub macros and hopefully few prototypes,
10514 which can conflict with char $ac_func(); below. */
10515 #include <assert.h>
10516 /* Override any gcc2 internal prototype to avoid an error. */
10517 /* We use char because int might match the return type of a gcc2
10518 builtin and then its argument prototype would still apply. */
10519 char $ac_func();
10521 int main() {
10523 /* The GNU C library defines this for functions which it implements
10524 to always fail with ENOSYS. Some functions are actually named
10525 something starting with __ and the normal name is an alias. */
10526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10527 choke me
10528 #else
10529 $ac_func();
10530 #endif
10532 ; return 0; }
10534 if { (eval echo configure:10535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10535 rm -rf conftest*
10536 eval "ac_cv_func_$ac_func=yes"
10537 else
10538 echo "configure: failed program was:" >&5
10539 cat conftest.$ac_ext >&5
10540 rm -rf conftest*
10541 eval "ac_cv_func_$ac_func=no"
10543 rm -f conftest*
10546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10547 echo "$ac_t""yes" 1>&6
10548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10549 cat >> confdefs.h <<EOF
10550 #define $ac_tr_func 1
10553 else
10554 echo "$ac_t""no" 1>&6
10556 done
10561 echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10562 echo "configure:10563: checking for tanhl declaration" >&5
10563 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10564 echo $ac_n "(cached) $ac_c" 1>&6
10565 else
10568 ac_ext=C
10569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10570 ac_cpp='$CXXCPP $CPPFLAGS'
10571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10573 cross_compiling=$ac_cv_prog_cxx_cross
10575 cat > conftest.$ac_ext <<EOF
10576 #line 10577 "configure"
10577 #include "confdefs.h"
10578 #include <math.h>
10579 int main() {
10580 tanhl(0);
10581 ; return 0; }
10583 if { (eval echo configure:10584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10584 rm -rf conftest*
10585 glibcpp_cv_func_tanhl_use=yes
10586 else
10587 echo "configure: failed program was:" >&5
10588 cat conftest.$ac_ext >&5
10589 rm -rf conftest*
10590 glibcpp_cv_func_tanhl_use=no
10592 rm -f conftest*
10593 ac_ext=c
10594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10595 ac_cpp='$CPP $CPPFLAGS'
10596 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10597 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10598 cross_compiling=$ac_cv_prog_cc_cross
10603 echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10604 if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10605 for ac_func in tanhl
10607 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10608 echo "configure:10609: checking for $ac_func" >&5
10609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10610 echo $ac_n "(cached) $ac_c" 1>&6
10611 else
10612 cat > conftest.$ac_ext <<EOF
10613 #line 10614 "configure"
10614 #include "confdefs.h"
10615 /* System header to define __stub macros and hopefully few prototypes,
10616 which can conflict with char $ac_func(); below. */
10617 #include <assert.h>
10618 /* Override any gcc2 internal prototype to avoid an error. */
10619 /* We use char because int might match the return type of a gcc2
10620 builtin and then its argument prototype would still apply. */
10621 char $ac_func();
10623 int main() {
10625 /* The GNU C library defines this for functions which it implements
10626 to always fail with ENOSYS. Some functions are actually named
10627 something starting with __ and the normal name is an alias. */
10628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10629 choke me
10630 #else
10631 $ac_func();
10632 #endif
10634 ; return 0; }
10636 if { (eval echo configure:10637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10637 rm -rf conftest*
10638 eval "ac_cv_func_$ac_func=yes"
10639 else
10640 echo "configure: failed program was:" >&5
10641 cat conftest.$ac_ext >&5
10642 rm -rf conftest*
10643 eval "ac_cv_func_$ac_func=no"
10645 rm -f conftest*
10648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10649 echo "$ac_t""yes" 1>&6
10650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10651 cat >> confdefs.h <<EOF
10652 #define $ac_tr_func 1
10655 else
10656 echo "$ac_t""no" 1>&6
10658 done
10663 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10664 echo "configure:10665: checking for sincosl declaration" >&5
10665 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10666 echo $ac_n "(cached) $ac_c" 1>&6
10667 else
10670 ac_ext=C
10671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10672 ac_cpp='$CXXCPP $CPPFLAGS'
10673 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10674 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10675 cross_compiling=$ac_cv_prog_cxx_cross
10677 cat > conftest.$ac_ext <<EOF
10678 #line 10679 "configure"
10679 #include "confdefs.h"
10680 #include <math.h>
10681 int main() {
10682 sincosl(0, 0, 0);
10683 ; return 0; }
10685 if { (eval echo configure:10686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10686 rm -rf conftest*
10687 glibcpp_cv_func_sincosl_use=yes
10688 else
10689 echo "configure: failed program was:" >&5
10690 cat conftest.$ac_ext >&5
10691 rm -rf conftest*
10692 glibcpp_cv_func_sincosl_use=no
10694 rm -f conftest*
10695 ac_ext=c
10696 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10697 ac_cpp='$CPP $CPPFLAGS'
10698 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10699 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10700 cross_compiling=$ac_cv_prog_cc_cross
10705 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10706 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10707 for ac_func in sincosl
10709 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10710 echo "configure:10711: checking for $ac_func" >&5
10711 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10712 echo $ac_n "(cached) $ac_c" 1>&6
10713 else
10714 cat > conftest.$ac_ext <<EOF
10715 #line 10716 "configure"
10716 #include "confdefs.h"
10717 /* System header to define __stub macros and hopefully few prototypes,
10718 which can conflict with char $ac_func(); below. */
10719 #include <assert.h>
10720 /* Override any gcc2 internal prototype to avoid an error. */
10721 /* We use char because int might match the return type of a gcc2
10722 builtin and then its argument prototype would still apply. */
10723 char $ac_func();
10725 int main() {
10727 /* The GNU C library defines this for functions which it implements
10728 to always fail with ENOSYS. Some functions are actually named
10729 something starting with __ and the normal name is an alias. */
10730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10731 choke me
10732 #else
10733 $ac_func();
10734 #endif
10736 ; return 0; }
10738 if { (eval echo configure:10739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10739 rm -rf conftest*
10740 eval "ac_cv_func_$ac_func=yes"
10741 else
10742 echo "configure: failed program was:" >&5
10743 cat conftest.$ac_ext >&5
10744 rm -rf conftest*
10745 eval "ac_cv_func_$ac_func=no"
10747 rm -f conftest*
10750 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10751 echo "$ac_t""yes" 1>&6
10752 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10753 cat >> confdefs.h <<EOF
10754 #define $ac_tr_func 1
10757 else
10758 echo "$ac_t""no" 1>&6
10760 done
10765 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
10766 echo "configure:10767: checking for finitel declaration" >&5
10767 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
10768 echo $ac_n "(cached) $ac_c" 1>&6
10769 else
10772 ac_ext=C
10773 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10774 ac_cpp='$CXXCPP $CPPFLAGS'
10775 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10776 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10777 cross_compiling=$ac_cv_prog_cxx_cross
10779 cat > conftest.$ac_ext <<EOF
10780 #line 10781 "configure"
10781 #include "confdefs.h"
10782 #include <math.h>
10783 int main() {
10784 finitel(0);
10785 ; return 0; }
10787 if { (eval echo configure:10788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10788 rm -rf conftest*
10789 glibcpp_cv_func_finitel_use=yes
10790 else
10791 echo "configure: failed program was:" >&5
10792 cat conftest.$ac_ext >&5
10793 rm -rf conftest*
10794 glibcpp_cv_func_finitel_use=no
10796 rm -f conftest*
10797 ac_ext=c
10798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10799 ac_cpp='$CPP $CPPFLAGS'
10800 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10801 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10802 cross_compiling=$ac_cv_prog_cc_cross
10807 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10808 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10809 for ac_func in finitel
10811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10812 echo "configure:10813: checking for $ac_func" >&5
10813 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10814 echo $ac_n "(cached) $ac_c" 1>&6
10815 else
10816 cat > conftest.$ac_ext <<EOF
10817 #line 10818 "configure"
10818 #include "confdefs.h"
10819 /* System header to define __stub macros and hopefully few prototypes,
10820 which can conflict with char $ac_func(); below. */
10821 #include <assert.h>
10822 /* Override any gcc2 internal prototype to avoid an error. */
10823 /* We use char because int might match the return type of a gcc2
10824 builtin and then its argument prototype would still apply. */
10825 char $ac_func();
10827 int main() {
10829 /* The GNU C library defines this for functions which it implements
10830 to always fail with ENOSYS. Some functions are actually named
10831 something starting with __ and the normal name is an alias. */
10832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10833 choke me
10834 #else
10835 $ac_func();
10836 #endif
10838 ; return 0; }
10840 if { (eval echo configure:10841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10841 rm -rf conftest*
10842 eval "ac_cv_func_$ac_func=yes"
10843 else
10844 echo "configure: failed program was:" >&5
10845 cat conftest.$ac_ext >&5
10846 rm -rf conftest*
10847 eval "ac_cv_func_$ac_func=no"
10849 rm -f conftest*
10852 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10853 echo "$ac_t""yes" 1>&6
10854 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10855 cat >> confdefs.h <<EOF
10856 #define $ac_tr_func 1
10859 else
10860 echo "$ac_t""no" 1>&6
10862 done
10868 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10869 echo "configure:10870: checking for _isinf declaration" >&5
10870 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10871 echo $ac_n "(cached) $ac_c" 1>&6
10872 else
10875 ac_ext=C
10876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10877 ac_cpp='$CXXCPP $CPPFLAGS'
10878 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10879 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10880 cross_compiling=$ac_cv_prog_cxx_cross
10882 cat > conftest.$ac_ext <<EOF
10883 #line 10884 "configure"
10884 #include "confdefs.h"
10885 #include <math.h>
10886 int main() {
10887 _isinf(0);
10888 ; return 0; }
10890 if { (eval echo configure:10891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10891 rm -rf conftest*
10892 glibcpp_cv_func__isinf_use=yes
10893 else
10894 echo "configure: failed program was:" >&5
10895 cat conftest.$ac_ext >&5
10896 rm -rf conftest*
10897 glibcpp_cv_func__isinf_use=no
10899 rm -f conftest*
10900 ac_ext=c
10901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10902 ac_cpp='$CPP $CPPFLAGS'
10903 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10904 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10905 cross_compiling=$ac_cv_prog_cc_cross
10910 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10911 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10912 for ac_func in _isinf
10914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10915 echo "configure:10916: checking for $ac_func" >&5
10916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10917 echo $ac_n "(cached) $ac_c" 1>&6
10918 else
10919 cat > conftest.$ac_ext <<EOF
10920 #line 10921 "configure"
10921 #include "confdefs.h"
10922 /* System header to define __stub macros and hopefully few prototypes,
10923 which can conflict with char $ac_func(); below. */
10924 #include <assert.h>
10925 /* Override any gcc2 internal prototype to avoid an error. */
10926 /* We use char because int might match the return type of a gcc2
10927 builtin and then its argument prototype would still apply. */
10928 char $ac_func();
10930 int main() {
10932 /* The GNU C library defines this for functions which it implements
10933 to always fail with ENOSYS. Some functions are actually named
10934 something starting with __ and the normal name is an alias. */
10935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10936 choke me
10937 #else
10938 $ac_func();
10939 #endif
10941 ; return 0; }
10943 if { (eval echo configure:10944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10944 rm -rf conftest*
10945 eval "ac_cv_func_$ac_func=yes"
10946 else
10947 echo "configure: failed program was:" >&5
10948 cat conftest.$ac_ext >&5
10949 rm -rf conftest*
10950 eval "ac_cv_func_$ac_func=no"
10952 rm -f conftest*
10955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10956 echo "$ac_t""yes" 1>&6
10957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10958 cat >> confdefs.h <<EOF
10959 #define $ac_tr_func 1
10962 else
10963 echo "$ac_t""no" 1>&6
10965 done
10970 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
10971 echo "configure:10972: checking for _isnan declaration" >&5
10972 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
10973 echo $ac_n "(cached) $ac_c" 1>&6
10974 else
10977 ac_ext=C
10978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10979 ac_cpp='$CXXCPP $CPPFLAGS'
10980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10982 cross_compiling=$ac_cv_prog_cxx_cross
10984 cat > conftest.$ac_ext <<EOF
10985 #line 10986 "configure"
10986 #include "confdefs.h"
10987 #include <math.h>
10988 int main() {
10989 _isnan(0);
10990 ; return 0; }
10992 if { (eval echo configure:10993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10993 rm -rf conftest*
10994 glibcpp_cv_func__isnan_use=yes
10995 else
10996 echo "configure: failed program was:" >&5
10997 cat conftest.$ac_ext >&5
10998 rm -rf conftest*
10999 glibcpp_cv_func__isnan_use=no
11001 rm -f conftest*
11002 ac_ext=c
11003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11004 ac_cpp='$CPP $CPPFLAGS'
11005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11007 cross_compiling=$ac_cv_prog_cc_cross
11012 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11013 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11014 for ac_func in _isnan
11016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11017 echo "configure:11018: checking for $ac_func" >&5
11018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11019 echo $ac_n "(cached) $ac_c" 1>&6
11020 else
11021 cat > conftest.$ac_ext <<EOF
11022 #line 11023 "configure"
11023 #include "confdefs.h"
11024 /* System header to define __stub macros and hopefully few prototypes,
11025 which can conflict with char $ac_func(); below. */
11026 #include <assert.h>
11027 /* Override any gcc2 internal prototype to avoid an error. */
11028 /* We use char because int might match the return type of a gcc2
11029 builtin and then its argument prototype would still apply. */
11030 char $ac_func();
11032 int main() {
11034 /* The GNU C library defines this for functions which it implements
11035 to always fail with ENOSYS. Some functions are actually named
11036 something starting with __ and the normal name is an alias. */
11037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11038 choke me
11039 #else
11040 $ac_func();
11041 #endif
11043 ; return 0; }
11045 if { (eval echo configure:11046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11046 rm -rf conftest*
11047 eval "ac_cv_func_$ac_func=yes"
11048 else
11049 echo "configure: failed program was:" >&5
11050 cat conftest.$ac_ext >&5
11051 rm -rf conftest*
11052 eval "ac_cv_func_$ac_func=no"
11054 rm -f conftest*
11057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11058 echo "$ac_t""yes" 1>&6
11059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11060 cat >> confdefs.h <<EOF
11061 #define $ac_tr_func 1
11064 else
11065 echo "$ac_t""no" 1>&6
11067 done
11072 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11073 echo "configure:11074: checking for _finite declaration" >&5
11074 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11075 echo $ac_n "(cached) $ac_c" 1>&6
11076 else
11079 ac_ext=C
11080 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11081 ac_cpp='$CXXCPP $CPPFLAGS'
11082 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11083 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11084 cross_compiling=$ac_cv_prog_cxx_cross
11086 cat > conftest.$ac_ext <<EOF
11087 #line 11088 "configure"
11088 #include "confdefs.h"
11089 #include <math.h>
11090 int main() {
11091 _finite(0);
11092 ; return 0; }
11094 if { (eval echo configure:11095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11095 rm -rf conftest*
11096 glibcpp_cv_func__finite_use=yes
11097 else
11098 echo "configure: failed program was:" >&5
11099 cat conftest.$ac_ext >&5
11100 rm -rf conftest*
11101 glibcpp_cv_func__finite_use=no
11103 rm -f conftest*
11104 ac_ext=c
11105 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11106 ac_cpp='$CPP $CPPFLAGS'
11107 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11108 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11109 cross_compiling=$ac_cv_prog_cc_cross
11114 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11115 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11116 for ac_func in _finite
11118 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11119 echo "configure:11120: checking for $ac_func" >&5
11120 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11121 echo $ac_n "(cached) $ac_c" 1>&6
11122 else
11123 cat > conftest.$ac_ext <<EOF
11124 #line 11125 "configure"
11125 #include "confdefs.h"
11126 /* System header to define __stub macros and hopefully few prototypes,
11127 which can conflict with char $ac_func(); below. */
11128 #include <assert.h>
11129 /* Override any gcc2 internal prototype to avoid an error. */
11130 /* We use char because int might match the return type of a gcc2
11131 builtin and then its argument prototype would still apply. */
11132 char $ac_func();
11134 int main() {
11136 /* The GNU C library defines this for functions which it implements
11137 to always fail with ENOSYS. Some functions are actually named
11138 something starting with __ and the normal name is an alias. */
11139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11140 choke me
11141 #else
11142 $ac_func();
11143 #endif
11145 ; return 0; }
11147 if { (eval echo configure:11148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11148 rm -rf conftest*
11149 eval "ac_cv_func_$ac_func=yes"
11150 else
11151 echo "configure: failed program was:" >&5
11152 cat conftest.$ac_ext >&5
11153 rm -rf conftest*
11154 eval "ac_cv_func_$ac_func=no"
11156 rm -f conftest*
11159 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11160 echo "$ac_t""yes" 1>&6
11161 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11162 cat >> confdefs.h <<EOF
11163 #define $ac_tr_func 1
11166 else
11167 echo "$ac_t""no" 1>&6
11169 done
11174 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11175 echo "configure:11176: checking for _copysign declaration" >&5
11176 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11177 echo $ac_n "(cached) $ac_c" 1>&6
11178 else
11181 ac_ext=C
11182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11183 ac_cpp='$CXXCPP $CPPFLAGS'
11184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11186 cross_compiling=$ac_cv_prog_cxx_cross
11188 cat > conftest.$ac_ext <<EOF
11189 #line 11190 "configure"
11190 #include "confdefs.h"
11191 #include <math.h>
11192 int main() {
11193 _copysign(0, 0);
11194 ; return 0; }
11196 if { (eval echo configure:11197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11197 rm -rf conftest*
11198 glibcpp_cv_func__copysign_use=yes
11199 else
11200 echo "configure: failed program was:" >&5
11201 cat conftest.$ac_ext >&5
11202 rm -rf conftest*
11203 glibcpp_cv_func__copysign_use=no
11205 rm -f conftest*
11206 ac_ext=c
11207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11208 ac_cpp='$CPP $CPPFLAGS'
11209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11211 cross_compiling=$ac_cv_prog_cc_cross
11216 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11217 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11218 for ac_func in _copysign
11220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11221 echo "configure:11222: checking for $ac_func" >&5
11222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11223 echo $ac_n "(cached) $ac_c" 1>&6
11224 else
11225 cat > conftest.$ac_ext <<EOF
11226 #line 11227 "configure"
11227 #include "confdefs.h"
11228 /* System header to define __stub macros and hopefully few prototypes,
11229 which can conflict with char $ac_func(); below. */
11230 #include <assert.h>
11231 /* Override any gcc2 internal prototype to avoid an error. */
11232 /* We use char because int might match the return type of a gcc2
11233 builtin and then its argument prototype would still apply. */
11234 char $ac_func();
11236 int main() {
11238 /* The GNU C library defines this for functions which it implements
11239 to always fail with ENOSYS. Some functions are actually named
11240 something starting with __ and the normal name is an alias. */
11241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11242 choke me
11243 #else
11244 $ac_func();
11245 #endif
11247 ; return 0; }
11249 if { (eval echo configure:11250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11250 rm -rf conftest*
11251 eval "ac_cv_func_$ac_func=yes"
11252 else
11253 echo "configure: failed program was:" >&5
11254 cat conftest.$ac_ext >&5
11255 rm -rf conftest*
11256 eval "ac_cv_func_$ac_func=no"
11258 rm -f conftest*
11261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11262 echo "$ac_t""yes" 1>&6
11263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11264 cat >> confdefs.h <<EOF
11265 #define $ac_tr_func 1
11268 else
11269 echo "$ac_t""no" 1>&6
11271 done
11276 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11277 echo "configure:11278: checking for _sincos declaration" >&5
11278 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11279 echo $ac_n "(cached) $ac_c" 1>&6
11280 else
11283 ac_ext=C
11284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11285 ac_cpp='$CXXCPP $CPPFLAGS'
11286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11288 cross_compiling=$ac_cv_prog_cxx_cross
11290 cat > conftest.$ac_ext <<EOF
11291 #line 11292 "configure"
11292 #include "confdefs.h"
11293 #include <math.h>
11294 int main() {
11295 _sincos(0, 0, 0);
11296 ; return 0; }
11298 if { (eval echo configure:11299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11299 rm -rf conftest*
11300 glibcpp_cv_func__sincos_use=yes
11301 else
11302 echo "configure: failed program was:" >&5
11303 cat conftest.$ac_ext >&5
11304 rm -rf conftest*
11305 glibcpp_cv_func__sincos_use=no
11307 rm -f conftest*
11308 ac_ext=c
11309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11310 ac_cpp='$CPP $CPPFLAGS'
11311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11313 cross_compiling=$ac_cv_prog_cc_cross
11318 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11319 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11320 for ac_func in _sincos
11322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11323 echo "configure:11324: checking for $ac_func" >&5
11324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11325 echo $ac_n "(cached) $ac_c" 1>&6
11326 else
11327 cat > conftest.$ac_ext <<EOF
11328 #line 11329 "configure"
11329 #include "confdefs.h"
11330 /* System header to define __stub macros and hopefully few prototypes,
11331 which can conflict with char $ac_func(); below. */
11332 #include <assert.h>
11333 /* Override any gcc2 internal prototype to avoid an error. */
11334 /* We use char because int might match the return type of a gcc2
11335 builtin and then its argument prototype would still apply. */
11336 char $ac_func();
11338 int main() {
11340 /* The GNU C library defines this for functions which it implements
11341 to always fail with ENOSYS. Some functions are actually named
11342 something starting with __ and the normal name is an alias. */
11343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11344 choke me
11345 #else
11346 $ac_func();
11347 #endif
11349 ; return 0; }
11351 if { (eval echo configure:11352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11352 rm -rf conftest*
11353 eval "ac_cv_func_$ac_func=yes"
11354 else
11355 echo "configure: failed program was:" >&5
11356 cat conftest.$ac_ext >&5
11357 rm -rf conftest*
11358 eval "ac_cv_func_$ac_func=no"
11360 rm -f conftest*
11363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11364 echo "$ac_t""yes" 1>&6
11365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11366 cat >> confdefs.h <<EOF
11367 #define $ac_tr_func 1
11370 else
11371 echo "$ac_t""no" 1>&6
11373 done
11378 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11379 echo "configure:11380: checking for _fpclass declaration" >&5
11380 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11381 echo $ac_n "(cached) $ac_c" 1>&6
11382 else
11385 ac_ext=C
11386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11387 ac_cpp='$CXXCPP $CPPFLAGS'
11388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11390 cross_compiling=$ac_cv_prog_cxx_cross
11392 cat > conftest.$ac_ext <<EOF
11393 #line 11394 "configure"
11394 #include "confdefs.h"
11395 #include <math.h>
11396 int main() {
11397 _fpclass(0);
11398 ; return 0; }
11400 if { (eval echo configure:11401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11401 rm -rf conftest*
11402 glibcpp_cv_func__fpclass_use=yes
11403 else
11404 echo "configure: failed program was:" >&5
11405 cat conftest.$ac_ext >&5
11406 rm -rf conftest*
11407 glibcpp_cv_func__fpclass_use=no
11409 rm -f conftest*
11410 ac_ext=c
11411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11412 ac_cpp='$CPP $CPPFLAGS'
11413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11415 cross_compiling=$ac_cv_prog_cc_cross
11420 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11421 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11422 for ac_func in _fpclass
11424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11425 echo "configure:11426: checking for $ac_func" >&5
11426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11427 echo $ac_n "(cached) $ac_c" 1>&6
11428 else
11429 cat > conftest.$ac_ext <<EOF
11430 #line 11431 "configure"
11431 #include "confdefs.h"
11432 /* System header to define __stub macros and hopefully few prototypes,
11433 which can conflict with char $ac_func(); below. */
11434 #include <assert.h>
11435 /* Override any gcc2 internal prototype to avoid an error. */
11436 /* We use char because int might match the return type of a gcc2
11437 builtin and then its argument prototype would still apply. */
11438 char $ac_func();
11440 int main() {
11442 /* The GNU C library defines this for functions which it implements
11443 to always fail with ENOSYS. Some functions are actually named
11444 something starting with __ and the normal name is an alias. */
11445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11446 choke me
11447 #else
11448 $ac_func();
11449 #endif
11451 ; return 0; }
11453 if { (eval echo configure:11454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11454 rm -rf conftest*
11455 eval "ac_cv_func_$ac_func=yes"
11456 else
11457 echo "configure: failed program was:" >&5
11458 cat conftest.$ac_ext >&5
11459 rm -rf conftest*
11460 eval "ac_cv_func_$ac_func=no"
11462 rm -f conftest*
11465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11466 echo "$ac_t""yes" 1>&6
11467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11468 cat >> confdefs.h <<EOF
11469 #define $ac_tr_func 1
11472 else
11473 echo "$ac_t""no" 1>&6
11475 done
11480 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11481 echo "configure:11482: checking for _qfpclass declaration" >&5
11482 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11483 echo $ac_n "(cached) $ac_c" 1>&6
11484 else
11487 ac_ext=C
11488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11489 ac_cpp='$CXXCPP $CPPFLAGS'
11490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11492 cross_compiling=$ac_cv_prog_cxx_cross
11494 cat > conftest.$ac_ext <<EOF
11495 #line 11496 "configure"
11496 #include "confdefs.h"
11497 #include <math.h>
11498 int main() {
11499 _qfpclass(0);
11500 ; return 0; }
11502 if { (eval echo configure:11503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11503 rm -rf conftest*
11504 glibcpp_cv_func__qfpclass_use=yes
11505 else
11506 echo "configure: failed program was:" >&5
11507 cat conftest.$ac_ext >&5
11508 rm -rf conftest*
11509 glibcpp_cv_func__qfpclass_use=no
11511 rm -f conftest*
11512 ac_ext=c
11513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11514 ac_cpp='$CPP $CPPFLAGS'
11515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11517 cross_compiling=$ac_cv_prog_cc_cross
11522 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11523 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11524 for ac_func in _qfpclass
11526 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11527 echo "configure:11528: checking for $ac_func" >&5
11528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11529 echo $ac_n "(cached) $ac_c" 1>&6
11530 else
11531 cat > conftest.$ac_ext <<EOF
11532 #line 11533 "configure"
11533 #include "confdefs.h"
11534 /* System header to define __stub macros and hopefully few prototypes,
11535 which can conflict with char $ac_func(); below. */
11536 #include <assert.h>
11537 /* Override any gcc2 internal prototype to avoid an error. */
11538 /* We use char because int might match the return type of a gcc2
11539 builtin and then its argument prototype would still apply. */
11540 char $ac_func();
11542 int main() {
11544 /* The GNU C library defines this for functions which it implements
11545 to always fail with ENOSYS. Some functions are actually named
11546 something starting with __ and the normal name is an alias. */
11547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11548 choke me
11549 #else
11550 $ac_func();
11551 #endif
11553 ; return 0; }
11555 if { (eval echo configure:11556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11556 rm -rf conftest*
11557 eval "ac_cv_func_$ac_func=yes"
11558 else
11559 echo "configure: failed program was:" >&5
11560 cat conftest.$ac_ext >&5
11561 rm -rf conftest*
11562 eval "ac_cv_func_$ac_func=no"
11564 rm -f conftest*
11567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11568 echo "$ac_t""yes" 1>&6
11569 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11570 cat >> confdefs.h <<EOF
11571 #define $ac_tr_func 1
11574 else
11575 echo "$ac_t""no" 1>&6
11577 done
11583 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11584 echo "configure:11585: checking for _isnanf declaration" >&5
11585 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11586 echo $ac_n "(cached) $ac_c" 1>&6
11587 else
11590 ac_ext=C
11591 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11592 ac_cpp='$CXXCPP $CPPFLAGS'
11593 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11594 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11595 cross_compiling=$ac_cv_prog_cxx_cross
11597 cat > conftest.$ac_ext <<EOF
11598 #line 11599 "configure"
11599 #include "confdefs.h"
11600 #include <math.h>
11601 int main() {
11602 _isnanf(0);
11603 ; return 0; }
11605 if { (eval echo configure:11606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11606 rm -rf conftest*
11607 glibcpp_cv_func__isnanf_use=yes
11608 else
11609 echo "configure: failed program was:" >&5
11610 cat conftest.$ac_ext >&5
11611 rm -rf conftest*
11612 glibcpp_cv_func__isnanf_use=no
11614 rm -f conftest*
11615 ac_ext=c
11616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11617 ac_cpp='$CPP $CPPFLAGS'
11618 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11619 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11620 cross_compiling=$ac_cv_prog_cc_cross
11625 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11626 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11627 for ac_func in _isnanf
11629 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11630 echo "configure:11631: checking for $ac_func" >&5
11631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11632 echo $ac_n "(cached) $ac_c" 1>&6
11633 else
11634 cat > conftest.$ac_ext <<EOF
11635 #line 11636 "configure"
11636 #include "confdefs.h"
11637 /* System header to define __stub macros and hopefully few prototypes,
11638 which can conflict with char $ac_func(); below. */
11639 #include <assert.h>
11640 /* Override any gcc2 internal prototype to avoid an error. */
11641 /* We use char because int might match the return type of a gcc2
11642 builtin and then its argument prototype would still apply. */
11643 char $ac_func();
11645 int main() {
11647 /* The GNU C library defines this for functions which it implements
11648 to always fail with ENOSYS. Some functions are actually named
11649 something starting with __ and the normal name is an alias. */
11650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11651 choke me
11652 #else
11653 $ac_func();
11654 #endif
11656 ; return 0; }
11658 if { (eval echo configure:11659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11659 rm -rf conftest*
11660 eval "ac_cv_func_$ac_func=yes"
11661 else
11662 echo "configure: failed program was:" >&5
11663 cat conftest.$ac_ext >&5
11664 rm -rf conftest*
11665 eval "ac_cv_func_$ac_func=no"
11667 rm -f conftest*
11670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11671 echo "$ac_t""yes" 1>&6
11672 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11673 cat >> confdefs.h <<EOF
11674 #define $ac_tr_func 1
11677 else
11678 echo "$ac_t""no" 1>&6
11680 done
11685 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11686 echo "configure:11687: checking for _isinff declaration" >&5
11687 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11688 echo $ac_n "(cached) $ac_c" 1>&6
11689 else
11692 ac_ext=C
11693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11694 ac_cpp='$CXXCPP $CPPFLAGS'
11695 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11696 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11697 cross_compiling=$ac_cv_prog_cxx_cross
11699 cat > conftest.$ac_ext <<EOF
11700 #line 11701 "configure"
11701 #include "confdefs.h"
11702 #include <math.h>
11703 int main() {
11704 _isinff(0);
11705 ; return 0; }
11707 if { (eval echo configure:11708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11708 rm -rf conftest*
11709 glibcpp_cv_func__isinff_use=yes
11710 else
11711 echo "configure: failed program was:" >&5
11712 cat conftest.$ac_ext >&5
11713 rm -rf conftest*
11714 glibcpp_cv_func__isinff_use=no
11716 rm -f conftest*
11717 ac_ext=c
11718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11719 ac_cpp='$CPP $CPPFLAGS'
11720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11722 cross_compiling=$ac_cv_prog_cc_cross
11727 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11728 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11729 for ac_func in _isinff
11731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11732 echo "configure:11733: checking for $ac_func" >&5
11733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11734 echo $ac_n "(cached) $ac_c" 1>&6
11735 else
11736 cat > conftest.$ac_ext <<EOF
11737 #line 11738 "configure"
11738 #include "confdefs.h"
11739 /* System header to define __stub macros and hopefully few prototypes,
11740 which can conflict with char $ac_func(); below. */
11741 #include <assert.h>
11742 /* Override any gcc2 internal prototype to avoid an error. */
11743 /* We use char because int might match the return type of a gcc2
11744 builtin and then its argument prototype would still apply. */
11745 char $ac_func();
11747 int main() {
11749 /* The GNU C library defines this for functions which it implements
11750 to always fail with ENOSYS. Some functions are actually named
11751 something starting with __ and the normal name is an alias. */
11752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11753 choke me
11754 #else
11755 $ac_func();
11756 #endif
11758 ; return 0; }
11760 if { (eval echo configure:11761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11761 rm -rf conftest*
11762 eval "ac_cv_func_$ac_func=yes"
11763 else
11764 echo "configure: failed program was:" >&5
11765 cat conftest.$ac_ext >&5
11766 rm -rf conftest*
11767 eval "ac_cv_func_$ac_func=no"
11769 rm -f conftest*
11772 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11773 echo "$ac_t""yes" 1>&6
11774 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11775 cat >> confdefs.h <<EOF
11776 #define $ac_tr_func 1
11779 else
11780 echo "$ac_t""no" 1>&6
11782 done
11787 echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
11788 echo "configure:11789: checking for _acosf declaration" >&5
11789 if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
11790 echo $ac_n "(cached) $ac_c" 1>&6
11791 else
11794 ac_ext=C
11795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11796 ac_cpp='$CXXCPP $CPPFLAGS'
11797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11799 cross_compiling=$ac_cv_prog_cxx_cross
11801 cat > conftest.$ac_ext <<EOF
11802 #line 11803 "configure"
11803 #include "confdefs.h"
11804 #include <math.h>
11805 int main() {
11806 _acosf(0);
11807 ; return 0; }
11809 if { (eval echo configure:11810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11810 rm -rf conftest*
11811 glibcpp_cv_func__acosf_use=yes
11812 else
11813 echo "configure: failed program was:" >&5
11814 cat conftest.$ac_ext >&5
11815 rm -rf conftest*
11816 glibcpp_cv_func__acosf_use=no
11818 rm -f conftest*
11819 ac_ext=c
11820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11821 ac_cpp='$CPP $CPPFLAGS'
11822 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11823 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11824 cross_compiling=$ac_cv_prog_cc_cross
11829 echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
11830 if test x$glibcpp_cv_func__acosf_use = x"yes"; then
11831 for ac_func in _acosf
11833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11834 echo "configure:11835: checking for $ac_func" >&5
11835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11836 echo $ac_n "(cached) $ac_c" 1>&6
11837 else
11838 cat > conftest.$ac_ext <<EOF
11839 #line 11840 "configure"
11840 #include "confdefs.h"
11841 /* System header to define __stub macros and hopefully few prototypes,
11842 which can conflict with char $ac_func(); below. */
11843 #include <assert.h>
11844 /* Override any gcc2 internal prototype to avoid an error. */
11845 /* We use char because int might match the return type of a gcc2
11846 builtin and then its argument prototype would still apply. */
11847 char $ac_func();
11849 int main() {
11851 /* The GNU C library defines this for functions which it implements
11852 to always fail with ENOSYS. Some functions are actually named
11853 something starting with __ and the normal name is an alias. */
11854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11855 choke me
11856 #else
11857 $ac_func();
11858 #endif
11860 ; return 0; }
11862 if { (eval echo configure:11863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11863 rm -rf conftest*
11864 eval "ac_cv_func_$ac_func=yes"
11865 else
11866 echo "configure: failed program was:" >&5
11867 cat conftest.$ac_ext >&5
11868 rm -rf conftest*
11869 eval "ac_cv_func_$ac_func=no"
11871 rm -f conftest*
11874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11875 echo "$ac_t""yes" 1>&6
11876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11877 cat >> confdefs.h <<EOF
11878 #define $ac_tr_func 1
11881 else
11882 echo "$ac_t""no" 1>&6
11884 done
11889 echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
11890 echo "configure:11891: checking for _asinf declaration" >&5
11891 if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
11892 echo $ac_n "(cached) $ac_c" 1>&6
11893 else
11896 ac_ext=C
11897 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11898 ac_cpp='$CXXCPP $CPPFLAGS'
11899 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11900 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11901 cross_compiling=$ac_cv_prog_cxx_cross
11903 cat > conftest.$ac_ext <<EOF
11904 #line 11905 "configure"
11905 #include "confdefs.h"
11906 #include <math.h>
11907 int main() {
11908 _asinf(0);
11909 ; return 0; }
11911 if { (eval echo configure:11912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11912 rm -rf conftest*
11913 glibcpp_cv_func__asinf_use=yes
11914 else
11915 echo "configure: failed program was:" >&5
11916 cat conftest.$ac_ext >&5
11917 rm -rf conftest*
11918 glibcpp_cv_func__asinf_use=no
11920 rm -f conftest*
11921 ac_ext=c
11922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11923 ac_cpp='$CPP $CPPFLAGS'
11924 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11925 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11926 cross_compiling=$ac_cv_prog_cc_cross
11931 echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
11932 if test x$glibcpp_cv_func__asinf_use = x"yes"; then
11933 for ac_func in _asinf
11935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11936 echo "configure:11937: checking for $ac_func" >&5
11937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11938 echo $ac_n "(cached) $ac_c" 1>&6
11939 else
11940 cat > conftest.$ac_ext <<EOF
11941 #line 11942 "configure"
11942 #include "confdefs.h"
11943 /* System header to define __stub macros and hopefully few prototypes,
11944 which can conflict with char $ac_func(); below. */
11945 #include <assert.h>
11946 /* Override any gcc2 internal prototype to avoid an error. */
11947 /* We use char because int might match the return type of a gcc2
11948 builtin and then its argument prototype would still apply. */
11949 char $ac_func();
11951 int main() {
11953 /* The GNU C library defines this for functions which it implements
11954 to always fail with ENOSYS. Some functions are actually named
11955 something starting with __ and the normal name is an alias. */
11956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11957 choke me
11958 #else
11959 $ac_func();
11960 #endif
11962 ; return 0; }
11964 if { (eval echo configure:11965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11965 rm -rf conftest*
11966 eval "ac_cv_func_$ac_func=yes"
11967 else
11968 echo "configure: failed program was:" >&5
11969 cat conftest.$ac_ext >&5
11970 rm -rf conftest*
11971 eval "ac_cv_func_$ac_func=no"
11973 rm -f conftest*
11976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11977 echo "$ac_t""yes" 1>&6
11978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11979 cat >> confdefs.h <<EOF
11980 #define $ac_tr_func 1
11983 else
11984 echo "$ac_t""no" 1>&6
11986 done
11991 echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
11992 echo "configure:11993: checking for _atanf declaration" >&5
11993 if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
11994 echo $ac_n "(cached) $ac_c" 1>&6
11995 else
11998 ac_ext=C
11999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12000 ac_cpp='$CXXCPP $CPPFLAGS'
12001 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12002 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12003 cross_compiling=$ac_cv_prog_cxx_cross
12005 cat > conftest.$ac_ext <<EOF
12006 #line 12007 "configure"
12007 #include "confdefs.h"
12008 #include <math.h>
12009 int main() {
12010 _atanf(0);
12011 ; return 0; }
12013 if { (eval echo configure:12014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12014 rm -rf conftest*
12015 glibcpp_cv_func__atanf_use=yes
12016 else
12017 echo "configure: failed program was:" >&5
12018 cat conftest.$ac_ext >&5
12019 rm -rf conftest*
12020 glibcpp_cv_func__atanf_use=no
12022 rm -f conftest*
12023 ac_ext=c
12024 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12025 ac_cpp='$CPP $CPPFLAGS'
12026 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12027 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12028 cross_compiling=$ac_cv_prog_cc_cross
12033 echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12034 if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12035 for ac_func in _atanf
12037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12038 echo "configure:12039: checking for $ac_func" >&5
12039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12040 echo $ac_n "(cached) $ac_c" 1>&6
12041 else
12042 cat > conftest.$ac_ext <<EOF
12043 #line 12044 "configure"
12044 #include "confdefs.h"
12045 /* System header to define __stub macros and hopefully few prototypes,
12046 which can conflict with char $ac_func(); below. */
12047 #include <assert.h>
12048 /* Override any gcc2 internal prototype to avoid an error. */
12049 /* We use char because int might match the return type of a gcc2
12050 builtin and then its argument prototype would still apply. */
12051 char $ac_func();
12053 int main() {
12055 /* The GNU C library defines this for functions which it implements
12056 to always fail with ENOSYS. Some functions are actually named
12057 something starting with __ and the normal name is an alias. */
12058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12059 choke me
12060 #else
12061 $ac_func();
12062 #endif
12064 ; return 0; }
12066 if { (eval echo configure:12067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12067 rm -rf conftest*
12068 eval "ac_cv_func_$ac_func=yes"
12069 else
12070 echo "configure: failed program was:" >&5
12071 cat conftest.$ac_ext >&5
12072 rm -rf conftest*
12073 eval "ac_cv_func_$ac_func=no"
12075 rm -f conftest*
12078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12079 echo "$ac_t""yes" 1>&6
12080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12081 cat >> confdefs.h <<EOF
12082 #define $ac_tr_func 1
12085 else
12086 echo "$ac_t""no" 1>&6
12088 done
12093 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12094 echo "configure:12095: checking for _atan2f declaration" >&5
12095 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12096 echo $ac_n "(cached) $ac_c" 1>&6
12097 else
12100 ac_ext=C
12101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12102 ac_cpp='$CXXCPP $CPPFLAGS'
12103 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12104 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12105 cross_compiling=$ac_cv_prog_cxx_cross
12107 cat > conftest.$ac_ext <<EOF
12108 #line 12109 "configure"
12109 #include "confdefs.h"
12110 #include <math.h>
12111 int main() {
12112 _atan2f(0, 0);
12113 ; return 0; }
12115 if { (eval echo configure:12116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12116 rm -rf conftest*
12117 glibcpp_cv_func__atan2f_use=yes
12118 else
12119 echo "configure: failed program was:" >&5
12120 cat conftest.$ac_ext >&5
12121 rm -rf conftest*
12122 glibcpp_cv_func__atan2f_use=no
12124 rm -f conftest*
12125 ac_ext=c
12126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12127 ac_cpp='$CPP $CPPFLAGS'
12128 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12129 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12130 cross_compiling=$ac_cv_prog_cc_cross
12135 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12136 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12137 for ac_func in _atan2f
12139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12140 echo "configure:12141: checking for $ac_func" >&5
12141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12142 echo $ac_n "(cached) $ac_c" 1>&6
12143 else
12144 cat > conftest.$ac_ext <<EOF
12145 #line 12146 "configure"
12146 #include "confdefs.h"
12147 /* System header to define __stub macros and hopefully few prototypes,
12148 which can conflict with char $ac_func(); below. */
12149 #include <assert.h>
12150 /* Override any gcc2 internal prototype to avoid an error. */
12151 /* We use char because int might match the return type of a gcc2
12152 builtin and then its argument prototype would still apply. */
12153 char $ac_func();
12155 int main() {
12157 /* The GNU C library defines this for functions which it implements
12158 to always fail with ENOSYS. Some functions are actually named
12159 something starting with __ and the normal name is an alias. */
12160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12161 choke me
12162 #else
12163 $ac_func();
12164 #endif
12166 ; return 0; }
12168 if { (eval echo configure:12169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12169 rm -rf conftest*
12170 eval "ac_cv_func_$ac_func=yes"
12171 else
12172 echo "configure: failed program was:" >&5
12173 cat conftest.$ac_ext >&5
12174 rm -rf conftest*
12175 eval "ac_cv_func_$ac_func=no"
12177 rm -f conftest*
12180 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12181 echo "$ac_t""yes" 1>&6
12182 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12183 cat >> confdefs.h <<EOF
12184 #define $ac_tr_func 1
12187 else
12188 echo "$ac_t""no" 1>&6
12190 done
12195 echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12196 echo "configure:12197: checking for _ceilf declaration" >&5
12197 if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12198 echo $ac_n "(cached) $ac_c" 1>&6
12199 else
12202 ac_ext=C
12203 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12204 ac_cpp='$CXXCPP $CPPFLAGS'
12205 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12206 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12207 cross_compiling=$ac_cv_prog_cxx_cross
12209 cat > conftest.$ac_ext <<EOF
12210 #line 12211 "configure"
12211 #include "confdefs.h"
12212 #include <math.h>
12213 int main() {
12214 _ceilf(0);
12215 ; return 0; }
12217 if { (eval echo configure:12218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12218 rm -rf conftest*
12219 glibcpp_cv_func__ceilf_use=yes
12220 else
12221 echo "configure: failed program was:" >&5
12222 cat conftest.$ac_ext >&5
12223 rm -rf conftest*
12224 glibcpp_cv_func__ceilf_use=no
12226 rm -f conftest*
12227 ac_ext=c
12228 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12229 ac_cpp='$CPP $CPPFLAGS'
12230 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12231 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12232 cross_compiling=$ac_cv_prog_cc_cross
12237 echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12238 if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12239 for ac_func in _ceilf
12241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12242 echo "configure:12243: checking for $ac_func" >&5
12243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12244 echo $ac_n "(cached) $ac_c" 1>&6
12245 else
12246 cat > conftest.$ac_ext <<EOF
12247 #line 12248 "configure"
12248 #include "confdefs.h"
12249 /* System header to define __stub macros and hopefully few prototypes,
12250 which can conflict with char $ac_func(); below. */
12251 #include <assert.h>
12252 /* Override any gcc2 internal prototype to avoid an error. */
12253 /* We use char because int might match the return type of a gcc2
12254 builtin and then its argument prototype would still apply. */
12255 char $ac_func();
12257 int main() {
12259 /* The GNU C library defines this for functions which it implements
12260 to always fail with ENOSYS. Some functions are actually named
12261 something starting with __ and the normal name is an alias. */
12262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12263 choke me
12264 #else
12265 $ac_func();
12266 #endif
12268 ; return 0; }
12270 if { (eval echo configure:12271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12271 rm -rf conftest*
12272 eval "ac_cv_func_$ac_func=yes"
12273 else
12274 echo "configure: failed program was:" >&5
12275 cat conftest.$ac_ext >&5
12276 rm -rf conftest*
12277 eval "ac_cv_func_$ac_func=no"
12279 rm -f conftest*
12282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12283 echo "$ac_t""yes" 1>&6
12284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12285 cat >> confdefs.h <<EOF
12286 #define $ac_tr_func 1
12289 else
12290 echo "$ac_t""no" 1>&6
12292 done
12297 echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12298 echo "configure:12299: checking for _cosf declaration" >&5
12299 if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12300 echo $ac_n "(cached) $ac_c" 1>&6
12301 else
12304 ac_ext=C
12305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12306 ac_cpp='$CXXCPP $CPPFLAGS'
12307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12309 cross_compiling=$ac_cv_prog_cxx_cross
12311 cat > conftest.$ac_ext <<EOF
12312 #line 12313 "configure"
12313 #include "confdefs.h"
12314 #include <math.h>
12315 int main() {
12316 _cosf(0);
12317 ; return 0; }
12319 if { (eval echo configure:12320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12320 rm -rf conftest*
12321 glibcpp_cv_func__cosf_use=yes
12322 else
12323 echo "configure: failed program was:" >&5
12324 cat conftest.$ac_ext >&5
12325 rm -rf conftest*
12326 glibcpp_cv_func__cosf_use=no
12328 rm -f conftest*
12329 ac_ext=c
12330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12331 ac_cpp='$CPP $CPPFLAGS'
12332 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12333 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12334 cross_compiling=$ac_cv_prog_cc_cross
12339 echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12340 if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12341 for ac_func in _cosf
12343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12344 echo "configure:12345: checking for $ac_func" >&5
12345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12346 echo $ac_n "(cached) $ac_c" 1>&6
12347 else
12348 cat > conftest.$ac_ext <<EOF
12349 #line 12350 "configure"
12350 #include "confdefs.h"
12351 /* System header to define __stub macros and hopefully few prototypes,
12352 which can conflict with char $ac_func(); below. */
12353 #include <assert.h>
12354 /* Override any gcc2 internal prototype to avoid an error. */
12355 /* We use char because int might match the return type of a gcc2
12356 builtin and then its argument prototype would still apply. */
12357 char $ac_func();
12359 int main() {
12361 /* The GNU C library defines this for functions which it implements
12362 to always fail with ENOSYS. Some functions are actually named
12363 something starting with __ and the normal name is an alias. */
12364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12365 choke me
12366 #else
12367 $ac_func();
12368 #endif
12370 ; return 0; }
12372 if { (eval echo configure:12373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12373 rm -rf conftest*
12374 eval "ac_cv_func_$ac_func=yes"
12375 else
12376 echo "configure: failed program was:" >&5
12377 cat conftest.$ac_ext >&5
12378 rm -rf conftest*
12379 eval "ac_cv_func_$ac_func=no"
12381 rm -f conftest*
12384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12385 echo "$ac_t""yes" 1>&6
12386 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12387 cat >> confdefs.h <<EOF
12388 #define $ac_tr_func 1
12391 else
12392 echo "$ac_t""no" 1>&6
12394 done
12399 echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12400 echo "configure:12401: checking for _coshf declaration" >&5
12401 if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12402 echo $ac_n "(cached) $ac_c" 1>&6
12403 else
12406 ac_ext=C
12407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12408 ac_cpp='$CXXCPP $CPPFLAGS'
12409 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12410 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12411 cross_compiling=$ac_cv_prog_cxx_cross
12413 cat > conftest.$ac_ext <<EOF
12414 #line 12415 "configure"
12415 #include "confdefs.h"
12416 #include <math.h>
12417 int main() {
12418 _coshf(0);
12419 ; return 0; }
12421 if { (eval echo configure:12422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12422 rm -rf conftest*
12423 glibcpp_cv_func__coshf_use=yes
12424 else
12425 echo "configure: failed program was:" >&5
12426 cat conftest.$ac_ext >&5
12427 rm -rf conftest*
12428 glibcpp_cv_func__coshf_use=no
12430 rm -f conftest*
12431 ac_ext=c
12432 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12433 ac_cpp='$CPP $CPPFLAGS'
12434 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12435 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12436 cross_compiling=$ac_cv_prog_cc_cross
12441 echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12442 if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12443 for ac_func in _coshf
12445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12446 echo "configure:12447: checking for $ac_func" >&5
12447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12448 echo $ac_n "(cached) $ac_c" 1>&6
12449 else
12450 cat > conftest.$ac_ext <<EOF
12451 #line 12452 "configure"
12452 #include "confdefs.h"
12453 /* System header to define __stub macros and hopefully few prototypes,
12454 which can conflict with char $ac_func(); below. */
12455 #include <assert.h>
12456 /* Override any gcc2 internal prototype to avoid an error. */
12457 /* We use char because int might match the return type of a gcc2
12458 builtin and then its argument prototype would still apply. */
12459 char $ac_func();
12461 int main() {
12463 /* The GNU C library defines this for functions which it implements
12464 to always fail with ENOSYS. Some functions are actually named
12465 something starting with __ and the normal name is an alias. */
12466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12467 choke me
12468 #else
12469 $ac_func();
12470 #endif
12472 ; return 0; }
12474 if { (eval echo configure:12475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12475 rm -rf conftest*
12476 eval "ac_cv_func_$ac_func=yes"
12477 else
12478 echo "configure: failed program was:" >&5
12479 cat conftest.$ac_ext >&5
12480 rm -rf conftest*
12481 eval "ac_cv_func_$ac_func=no"
12483 rm -f conftest*
12486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12487 echo "$ac_t""yes" 1>&6
12488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12489 cat >> confdefs.h <<EOF
12490 #define $ac_tr_func 1
12493 else
12494 echo "$ac_t""no" 1>&6
12496 done
12501 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12502 echo "configure:12503: checking for _expf declaration" >&5
12503 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12504 echo $ac_n "(cached) $ac_c" 1>&6
12505 else
12508 ac_ext=C
12509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12510 ac_cpp='$CXXCPP $CPPFLAGS'
12511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12513 cross_compiling=$ac_cv_prog_cxx_cross
12515 cat > conftest.$ac_ext <<EOF
12516 #line 12517 "configure"
12517 #include "confdefs.h"
12518 #include <math.h>
12519 int main() {
12520 _expf(0);
12521 ; return 0; }
12523 if { (eval echo configure:12524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12524 rm -rf conftest*
12525 glibcpp_cv_func__expf_use=yes
12526 else
12527 echo "configure: failed program was:" >&5
12528 cat conftest.$ac_ext >&5
12529 rm -rf conftest*
12530 glibcpp_cv_func__expf_use=no
12532 rm -f conftest*
12533 ac_ext=c
12534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12535 ac_cpp='$CPP $CPPFLAGS'
12536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12538 cross_compiling=$ac_cv_prog_cc_cross
12543 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12544 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12545 for ac_func in _expf
12547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12548 echo "configure:12549: checking for $ac_func" >&5
12549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12550 echo $ac_n "(cached) $ac_c" 1>&6
12551 else
12552 cat > conftest.$ac_ext <<EOF
12553 #line 12554 "configure"
12554 #include "confdefs.h"
12555 /* System header to define __stub macros and hopefully few prototypes,
12556 which can conflict with char $ac_func(); below. */
12557 #include <assert.h>
12558 /* Override any gcc2 internal prototype to avoid an error. */
12559 /* We use char because int might match the return type of a gcc2
12560 builtin and then its argument prototype would still apply. */
12561 char $ac_func();
12563 int main() {
12565 /* The GNU C library defines this for functions which it implements
12566 to always fail with ENOSYS. Some functions are actually named
12567 something starting with __ and the normal name is an alias. */
12568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12569 choke me
12570 #else
12571 $ac_func();
12572 #endif
12574 ; return 0; }
12576 if { (eval echo configure:12577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12577 rm -rf conftest*
12578 eval "ac_cv_func_$ac_func=yes"
12579 else
12580 echo "configure: failed program was:" >&5
12581 cat conftest.$ac_ext >&5
12582 rm -rf conftest*
12583 eval "ac_cv_func_$ac_func=no"
12585 rm -f conftest*
12588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12589 echo "$ac_t""yes" 1>&6
12590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12591 cat >> confdefs.h <<EOF
12592 #define $ac_tr_func 1
12595 else
12596 echo "$ac_t""no" 1>&6
12598 done
12603 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12604 echo "configure:12605: checking for _fabsf declaration" >&5
12605 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12606 echo $ac_n "(cached) $ac_c" 1>&6
12607 else
12610 ac_ext=C
12611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12612 ac_cpp='$CXXCPP $CPPFLAGS'
12613 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12614 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12615 cross_compiling=$ac_cv_prog_cxx_cross
12617 cat > conftest.$ac_ext <<EOF
12618 #line 12619 "configure"
12619 #include "confdefs.h"
12620 #include <math.h>
12621 int main() {
12622 _fabsf(0);
12623 ; return 0; }
12625 if { (eval echo configure:12626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12626 rm -rf conftest*
12627 glibcpp_cv_func__fabsf_use=yes
12628 else
12629 echo "configure: failed program was:" >&5
12630 cat conftest.$ac_ext >&5
12631 rm -rf conftest*
12632 glibcpp_cv_func__fabsf_use=no
12634 rm -f conftest*
12635 ac_ext=c
12636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12637 ac_cpp='$CPP $CPPFLAGS'
12638 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12639 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12640 cross_compiling=$ac_cv_prog_cc_cross
12645 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12646 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12647 for ac_func in _fabsf
12649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12650 echo "configure:12651: checking for $ac_func" >&5
12651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12652 echo $ac_n "(cached) $ac_c" 1>&6
12653 else
12654 cat > conftest.$ac_ext <<EOF
12655 #line 12656 "configure"
12656 #include "confdefs.h"
12657 /* System header to define __stub macros and hopefully few prototypes,
12658 which can conflict with char $ac_func(); below. */
12659 #include <assert.h>
12660 /* Override any gcc2 internal prototype to avoid an error. */
12661 /* We use char because int might match the return type of a gcc2
12662 builtin and then its argument prototype would still apply. */
12663 char $ac_func();
12665 int main() {
12667 /* The GNU C library defines this for functions which it implements
12668 to always fail with ENOSYS. Some functions are actually named
12669 something starting with __ and the normal name is an alias. */
12670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12671 choke me
12672 #else
12673 $ac_func();
12674 #endif
12676 ; return 0; }
12678 if { (eval echo configure:12679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12679 rm -rf conftest*
12680 eval "ac_cv_func_$ac_func=yes"
12681 else
12682 echo "configure: failed program was:" >&5
12683 cat conftest.$ac_ext >&5
12684 rm -rf conftest*
12685 eval "ac_cv_func_$ac_func=no"
12687 rm -f conftest*
12690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12691 echo "$ac_t""yes" 1>&6
12692 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12693 cat >> confdefs.h <<EOF
12694 #define $ac_tr_func 1
12697 else
12698 echo "$ac_t""no" 1>&6
12700 done
12705 echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12706 echo "configure:12707: checking for _floorf declaration" >&5
12707 if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12708 echo $ac_n "(cached) $ac_c" 1>&6
12709 else
12712 ac_ext=C
12713 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12714 ac_cpp='$CXXCPP $CPPFLAGS'
12715 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12716 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12717 cross_compiling=$ac_cv_prog_cxx_cross
12719 cat > conftest.$ac_ext <<EOF
12720 #line 12721 "configure"
12721 #include "confdefs.h"
12722 #include <math.h>
12723 int main() {
12724 _floorf(0);
12725 ; return 0; }
12727 if { (eval echo configure:12728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12728 rm -rf conftest*
12729 glibcpp_cv_func__floorf_use=yes
12730 else
12731 echo "configure: failed program was:" >&5
12732 cat conftest.$ac_ext >&5
12733 rm -rf conftest*
12734 glibcpp_cv_func__floorf_use=no
12736 rm -f conftest*
12737 ac_ext=c
12738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12739 ac_cpp='$CPP $CPPFLAGS'
12740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12742 cross_compiling=$ac_cv_prog_cc_cross
12747 echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
12748 if test x$glibcpp_cv_func__floorf_use = x"yes"; then
12749 for ac_func in _floorf
12751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12752 echo "configure:12753: checking for $ac_func" >&5
12753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12754 echo $ac_n "(cached) $ac_c" 1>&6
12755 else
12756 cat > conftest.$ac_ext <<EOF
12757 #line 12758 "configure"
12758 #include "confdefs.h"
12759 /* System header to define __stub macros and hopefully few prototypes,
12760 which can conflict with char $ac_func(); below. */
12761 #include <assert.h>
12762 /* Override any gcc2 internal prototype to avoid an error. */
12763 /* We use char because int might match the return type of a gcc2
12764 builtin and then its argument prototype would still apply. */
12765 char $ac_func();
12767 int main() {
12769 /* The GNU C library defines this for functions which it implements
12770 to always fail with ENOSYS. Some functions are actually named
12771 something starting with __ and the normal name is an alias. */
12772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12773 choke me
12774 #else
12775 $ac_func();
12776 #endif
12778 ; return 0; }
12780 if { (eval echo configure:12781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12781 rm -rf conftest*
12782 eval "ac_cv_func_$ac_func=yes"
12783 else
12784 echo "configure: failed program was:" >&5
12785 cat conftest.$ac_ext >&5
12786 rm -rf conftest*
12787 eval "ac_cv_func_$ac_func=no"
12789 rm -f conftest*
12792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12793 echo "$ac_t""yes" 1>&6
12794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12795 cat >> confdefs.h <<EOF
12796 #define $ac_tr_func 1
12799 else
12800 echo "$ac_t""no" 1>&6
12802 done
12807 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12808 echo "configure:12809: checking for _fmodf declaration" >&5
12809 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12810 echo $ac_n "(cached) $ac_c" 1>&6
12811 else
12814 ac_ext=C
12815 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12816 ac_cpp='$CXXCPP $CPPFLAGS'
12817 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12818 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12819 cross_compiling=$ac_cv_prog_cxx_cross
12821 cat > conftest.$ac_ext <<EOF
12822 #line 12823 "configure"
12823 #include "confdefs.h"
12824 #include <math.h>
12825 int main() {
12826 _fmodf(0, 0);
12827 ; return 0; }
12829 if { (eval echo configure:12830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12830 rm -rf conftest*
12831 glibcpp_cv_func__fmodf_use=yes
12832 else
12833 echo "configure: failed program was:" >&5
12834 cat conftest.$ac_ext >&5
12835 rm -rf conftest*
12836 glibcpp_cv_func__fmodf_use=no
12838 rm -f conftest*
12839 ac_ext=c
12840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12841 ac_cpp='$CPP $CPPFLAGS'
12842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12844 cross_compiling=$ac_cv_prog_cc_cross
12849 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12850 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12851 for ac_func in _fmodf
12853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12854 echo "configure:12855: checking for $ac_func" >&5
12855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12856 echo $ac_n "(cached) $ac_c" 1>&6
12857 else
12858 cat > conftest.$ac_ext <<EOF
12859 #line 12860 "configure"
12860 #include "confdefs.h"
12861 /* System header to define __stub macros and hopefully few prototypes,
12862 which can conflict with char $ac_func(); below. */
12863 #include <assert.h>
12864 /* Override any gcc2 internal prototype to avoid an error. */
12865 /* We use char because int might match the return type of a gcc2
12866 builtin and then its argument prototype would still apply. */
12867 char $ac_func();
12869 int main() {
12871 /* The GNU C library defines this for functions which it implements
12872 to always fail with ENOSYS. Some functions are actually named
12873 something starting with __ and the normal name is an alias. */
12874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12875 choke me
12876 #else
12877 $ac_func();
12878 #endif
12880 ; return 0; }
12882 if { (eval echo configure:12883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12883 rm -rf conftest*
12884 eval "ac_cv_func_$ac_func=yes"
12885 else
12886 echo "configure: failed program was:" >&5
12887 cat conftest.$ac_ext >&5
12888 rm -rf conftest*
12889 eval "ac_cv_func_$ac_func=no"
12891 rm -f conftest*
12894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12895 echo "$ac_t""yes" 1>&6
12896 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12897 cat >> confdefs.h <<EOF
12898 #define $ac_tr_func 1
12901 else
12902 echo "$ac_t""no" 1>&6
12904 done
12909 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
12910 echo "configure:12911: checking for _frexpf declaration" >&5
12911 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
12912 echo $ac_n "(cached) $ac_c" 1>&6
12913 else
12916 ac_ext=C
12917 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12918 ac_cpp='$CXXCPP $CPPFLAGS'
12919 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12920 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12921 cross_compiling=$ac_cv_prog_cxx_cross
12923 cat > conftest.$ac_ext <<EOF
12924 #line 12925 "configure"
12925 #include "confdefs.h"
12926 #include <math.h>
12927 int main() {
12928 _frexpf(0, 0);
12929 ; return 0; }
12931 if { (eval echo configure:12932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12932 rm -rf conftest*
12933 glibcpp_cv_func__frexpf_use=yes
12934 else
12935 echo "configure: failed program was:" >&5
12936 cat conftest.$ac_ext >&5
12937 rm -rf conftest*
12938 glibcpp_cv_func__frexpf_use=no
12940 rm -f conftest*
12941 ac_ext=c
12942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12943 ac_cpp='$CPP $CPPFLAGS'
12944 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12945 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12946 cross_compiling=$ac_cv_prog_cc_cross
12951 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
12952 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
12953 for ac_func in _frexpf
12955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12956 echo "configure:12957: checking for $ac_func" >&5
12957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12958 echo $ac_n "(cached) $ac_c" 1>&6
12959 else
12960 cat > conftest.$ac_ext <<EOF
12961 #line 12962 "configure"
12962 #include "confdefs.h"
12963 /* System header to define __stub macros and hopefully few prototypes,
12964 which can conflict with char $ac_func(); below. */
12965 #include <assert.h>
12966 /* Override any gcc2 internal prototype to avoid an error. */
12967 /* We use char because int might match the return type of a gcc2
12968 builtin and then its argument prototype would still apply. */
12969 char $ac_func();
12971 int main() {
12973 /* The GNU C library defines this for functions which it implements
12974 to always fail with ENOSYS. Some functions are actually named
12975 something starting with __ and the normal name is an alias. */
12976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12977 choke me
12978 #else
12979 $ac_func();
12980 #endif
12982 ; return 0; }
12984 if { (eval echo configure:12985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12985 rm -rf conftest*
12986 eval "ac_cv_func_$ac_func=yes"
12987 else
12988 echo "configure: failed program was:" >&5
12989 cat conftest.$ac_ext >&5
12990 rm -rf conftest*
12991 eval "ac_cv_func_$ac_func=no"
12993 rm -f conftest*
12996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12997 echo "$ac_t""yes" 1>&6
12998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12999 cat >> confdefs.h <<EOF
13000 #define $ac_tr_func 1
13003 else
13004 echo "$ac_t""no" 1>&6
13006 done
13011 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13012 echo "configure:13013: checking for _ldexpf declaration" >&5
13013 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13014 echo $ac_n "(cached) $ac_c" 1>&6
13015 else
13018 ac_ext=C
13019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13020 ac_cpp='$CXXCPP $CPPFLAGS'
13021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13023 cross_compiling=$ac_cv_prog_cxx_cross
13025 cat > conftest.$ac_ext <<EOF
13026 #line 13027 "configure"
13027 #include "confdefs.h"
13028 #include <math.h>
13029 int main() {
13030 _ldexpf(0, 0);
13031 ; return 0; }
13033 if { (eval echo configure:13034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13034 rm -rf conftest*
13035 glibcpp_cv_func__ldexpf_use=yes
13036 else
13037 echo "configure: failed program was:" >&5
13038 cat conftest.$ac_ext >&5
13039 rm -rf conftest*
13040 glibcpp_cv_func__ldexpf_use=no
13042 rm -f conftest*
13043 ac_ext=c
13044 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13045 ac_cpp='$CPP $CPPFLAGS'
13046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13048 cross_compiling=$ac_cv_prog_cc_cross
13053 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13054 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13055 for ac_func in _ldexpf
13057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13058 echo "configure:13059: checking for $ac_func" >&5
13059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13060 echo $ac_n "(cached) $ac_c" 1>&6
13061 else
13062 cat > conftest.$ac_ext <<EOF
13063 #line 13064 "configure"
13064 #include "confdefs.h"
13065 /* System header to define __stub macros and hopefully few prototypes,
13066 which can conflict with char $ac_func(); below. */
13067 #include <assert.h>
13068 /* Override any gcc2 internal prototype to avoid an error. */
13069 /* We use char because int might match the return type of a gcc2
13070 builtin and then its argument prototype would still apply. */
13071 char $ac_func();
13073 int main() {
13075 /* The GNU C library defines this for functions which it implements
13076 to always fail with ENOSYS. Some functions are actually named
13077 something starting with __ and the normal name is an alias. */
13078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13079 choke me
13080 #else
13081 $ac_func();
13082 #endif
13084 ; return 0; }
13086 if { (eval echo configure:13087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13087 rm -rf conftest*
13088 eval "ac_cv_func_$ac_func=yes"
13089 else
13090 echo "configure: failed program was:" >&5
13091 cat conftest.$ac_ext >&5
13092 rm -rf conftest*
13093 eval "ac_cv_func_$ac_func=no"
13095 rm -f conftest*
13098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13099 echo "$ac_t""yes" 1>&6
13100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13101 cat >> confdefs.h <<EOF
13102 #define $ac_tr_func 1
13105 else
13106 echo "$ac_t""no" 1>&6
13108 done
13113 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13114 echo "configure:13115: checking for _logf declaration" >&5
13115 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13116 echo $ac_n "(cached) $ac_c" 1>&6
13117 else
13120 ac_ext=C
13121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13122 ac_cpp='$CXXCPP $CPPFLAGS'
13123 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13124 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13125 cross_compiling=$ac_cv_prog_cxx_cross
13127 cat > conftest.$ac_ext <<EOF
13128 #line 13129 "configure"
13129 #include "confdefs.h"
13130 #include <math.h>
13131 int main() {
13132 _logf(0);
13133 ; return 0; }
13135 if { (eval echo configure:13136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13136 rm -rf conftest*
13137 glibcpp_cv_func__logf_use=yes
13138 else
13139 echo "configure: failed program was:" >&5
13140 cat conftest.$ac_ext >&5
13141 rm -rf conftest*
13142 glibcpp_cv_func__logf_use=no
13144 rm -f conftest*
13145 ac_ext=c
13146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13147 ac_cpp='$CPP $CPPFLAGS'
13148 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13149 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13150 cross_compiling=$ac_cv_prog_cc_cross
13155 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13156 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13157 for ac_func in _logf
13159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13160 echo "configure:13161: checking for $ac_func" >&5
13161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13162 echo $ac_n "(cached) $ac_c" 1>&6
13163 else
13164 cat > conftest.$ac_ext <<EOF
13165 #line 13166 "configure"
13166 #include "confdefs.h"
13167 /* System header to define __stub macros and hopefully few prototypes,
13168 which can conflict with char $ac_func(); below. */
13169 #include <assert.h>
13170 /* Override any gcc2 internal prototype to avoid an error. */
13171 /* We use char because int might match the return type of a gcc2
13172 builtin and then its argument prototype would still apply. */
13173 char $ac_func();
13175 int main() {
13177 /* The GNU C library defines this for functions which it implements
13178 to always fail with ENOSYS. Some functions are actually named
13179 something starting with __ and the normal name is an alias. */
13180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13181 choke me
13182 #else
13183 $ac_func();
13184 #endif
13186 ; return 0; }
13188 if { (eval echo configure:13189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13189 rm -rf conftest*
13190 eval "ac_cv_func_$ac_func=yes"
13191 else
13192 echo "configure: failed program was:" >&5
13193 cat conftest.$ac_ext >&5
13194 rm -rf conftest*
13195 eval "ac_cv_func_$ac_func=no"
13197 rm -f conftest*
13200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13201 echo "$ac_t""yes" 1>&6
13202 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13203 cat >> confdefs.h <<EOF
13204 #define $ac_tr_func 1
13207 else
13208 echo "$ac_t""no" 1>&6
13210 done
13215 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13216 echo "configure:13217: checking for _log10f declaration" >&5
13217 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13218 echo $ac_n "(cached) $ac_c" 1>&6
13219 else
13222 ac_ext=C
13223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13224 ac_cpp='$CXXCPP $CPPFLAGS'
13225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13227 cross_compiling=$ac_cv_prog_cxx_cross
13229 cat > conftest.$ac_ext <<EOF
13230 #line 13231 "configure"
13231 #include "confdefs.h"
13232 #include <math.h>
13233 int main() {
13234 _log10f(0);
13235 ; return 0; }
13237 if { (eval echo configure:13238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13238 rm -rf conftest*
13239 glibcpp_cv_func__log10f_use=yes
13240 else
13241 echo "configure: failed program was:" >&5
13242 cat conftest.$ac_ext >&5
13243 rm -rf conftest*
13244 glibcpp_cv_func__log10f_use=no
13246 rm -f conftest*
13247 ac_ext=c
13248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13249 ac_cpp='$CPP $CPPFLAGS'
13250 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13251 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13252 cross_compiling=$ac_cv_prog_cc_cross
13257 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13258 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13259 for ac_func in _log10f
13261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13262 echo "configure:13263: checking for $ac_func" >&5
13263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13264 echo $ac_n "(cached) $ac_c" 1>&6
13265 else
13266 cat > conftest.$ac_ext <<EOF
13267 #line 13268 "configure"
13268 #include "confdefs.h"
13269 /* System header to define __stub macros and hopefully few prototypes,
13270 which can conflict with char $ac_func(); below. */
13271 #include <assert.h>
13272 /* Override any gcc2 internal prototype to avoid an error. */
13273 /* We use char because int might match the return type of a gcc2
13274 builtin and then its argument prototype would still apply. */
13275 char $ac_func();
13277 int main() {
13279 /* The GNU C library defines this for functions which it implements
13280 to always fail with ENOSYS. Some functions are actually named
13281 something starting with __ and the normal name is an alias. */
13282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13283 choke me
13284 #else
13285 $ac_func();
13286 #endif
13288 ; return 0; }
13290 if { (eval echo configure:13291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13291 rm -rf conftest*
13292 eval "ac_cv_func_$ac_func=yes"
13293 else
13294 echo "configure: failed program was:" >&5
13295 cat conftest.$ac_ext >&5
13296 rm -rf conftest*
13297 eval "ac_cv_func_$ac_func=no"
13299 rm -f conftest*
13302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13303 echo "$ac_t""yes" 1>&6
13304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13305 cat >> confdefs.h <<EOF
13306 #define $ac_tr_func 1
13309 else
13310 echo "$ac_t""no" 1>&6
13312 done
13317 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13318 echo "configure:13319: checking for _modff declaration" >&5
13319 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13320 echo $ac_n "(cached) $ac_c" 1>&6
13321 else
13324 ac_ext=C
13325 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13326 ac_cpp='$CXXCPP $CPPFLAGS'
13327 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13328 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13329 cross_compiling=$ac_cv_prog_cxx_cross
13331 cat > conftest.$ac_ext <<EOF
13332 #line 13333 "configure"
13333 #include "confdefs.h"
13334 #include <math.h>
13335 int main() {
13336 _modff(0, 0);
13337 ; return 0; }
13339 if { (eval echo configure:13340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13340 rm -rf conftest*
13341 glibcpp_cv_func__modff_use=yes
13342 else
13343 echo "configure: failed program was:" >&5
13344 cat conftest.$ac_ext >&5
13345 rm -rf conftest*
13346 glibcpp_cv_func__modff_use=no
13348 rm -f conftest*
13349 ac_ext=c
13350 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13351 ac_cpp='$CPP $CPPFLAGS'
13352 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13353 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13354 cross_compiling=$ac_cv_prog_cc_cross
13359 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13360 if test x$glibcpp_cv_func__modff_use = x"yes"; then
13361 for ac_func in _modff
13363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13364 echo "configure:13365: checking for $ac_func" >&5
13365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13366 echo $ac_n "(cached) $ac_c" 1>&6
13367 else
13368 cat > conftest.$ac_ext <<EOF
13369 #line 13370 "configure"
13370 #include "confdefs.h"
13371 /* System header to define __stub macros and hopefully few prototypes,
13372 which can conflict with char $ac_func(); below. */
13373 #include <assert.h>
13374 /* Override any gcc2 internal prototype to avoid an error. */
13375 /* We use char because int might match the return type of a gcc2
13376 builtin and then its argument prototype would still apply. */
13377 char $ac_func();
13379 int main() {
13381 /* The GNU C library defines this for functions which it implements
13382 to always fail with ENOSYS. Some functions are actually named
13383 something starting with __ and the normal name is an alias. */
13384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13385 choke me
13386 #else
13387 $ac_func();
13388 #endif
13390 ; return 0; }
13392 if { (eval echo configure:13393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13393 rm -rf conftest*
13394 eval "ac_cv_func_$ac_func=yes"
13395 else
13396 echo "configure: failed program was:" >&5
13397 cat conftest.$ac_ext >&5
13398 rm -rf conftest*
13399 eval "ac_cv_func_$ac_func=no"
13401 rm -f conftest*
13404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13405 echo "$ac_t""yes" 1>&6
13406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13407 cat >> confdefs.h <<EOF
13408 #define $ac_tr_func 1
13411 else
13412 echo "$ac_t""no" 1>&6
13414 done
13419 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13420 echo "configure:13421: checking for _powf declaration" >&5
13421 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13422 echo $ac_n "(cached) $ac_c" 1>&6
13423 else
13426 ac_ext=C
13427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13428 ac_cpp='$CXXCPP $CPPFLAGS'
13429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13431 cross_compiling=$ac_cv_prog_cxx_cross
13433 cat > conftest.$ac_ext <<EOF
13434 #line 13435 "configure"
13435 #include "confdefs.h"
13436 #include <math.h>
13437 int main() {
13438 _powf(0, 0);
13439 ; return 0; }
13441 if { (eval echo configure:13442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13442 rm -rf conftest*
13443 glibcpp_cv_func__powf_use=yes
13444 else
13445 echo "configure: failed program was:" >&5
13446 cat conftest.$ac_ext >&5
13447 rm -rf conftest*
13448 glibcpp_cv_func__powf_use=no
13450 rm -f conftest*
13451 ac_ext=c
13452 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13453 ac_cpp='$CPP $CPPFLAGS'
13454 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13455 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13456 cross_compiling=$ac_cv_prog_cc_cross
13461 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13462 if test x$glibcpp_cv_func__powf_use = x"yes"; then
13463 for ac_func in _powf
13465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13466 echo "configure:13467: checking for $ac_func" >&5
13467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13468 echo $ac_n "(cached) $ac_c" 1>&6
13469 else
13470 cat > conftest.$ac_ext <<EOF
13471 #line 13472 "configure"
13472 #include "confdefs.h"
13473 /* System header to define __stub macros and hopefully few prototypes,
13474 which can conflict with char $ac_func(); below. */
13475 #include <assert.h>
13476 /* Override any gcc2 internal prototype to avoid an error. */
13477 /* We use char because int might match the return type of a gcc2
13478 builtin and then its argument prototype would still apply. */
13479 char $ac_func();
13481 int main() {
13483 /* The GNU C library defines this for functions which it implements
13484 to always fail with ENOSYS. Some functions are actually named
13485 something starting with __ and the normal name is an alias. */
13486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13487 choke me
13488 #else
13489 $ac_func();
13490 #endif
13492 ; return 0; }
13494 if { (eval echo configure:13495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13495 rm -rf conftest*
13496 eval "ac_cv_func_$ac_func=yes"
13497 else
13498 echo "configure: failed program was:" >&5
13499 cat conftest.$ac_ext >&5
13500 rm -rf conftest*
13501 eval "ac_cv_func_$ac_func=no"
13503 rm -f conftest*
13506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13507 echo "$ac_t""yes" 1>&6
13508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13509 cat >> confdefs.h <<EOF
13510 #define $ac_tr_func 1
13513 else
13514 echo "$ac_t""no" 1>&6
13516 done
13521 echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13522 echo "configure:13523: checking for _sinf declaration" >&5
13523 if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13524 echo $ac_n "(cached) $ac_c" 1>&6
13525 else
13528 ac_ext=C
13529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13530 ac_cpp='$CXXCPP $CPPFLAGS'
13531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13533 cross_compiling=$ac_cv_prog_cxx_cross
13535 cat > conftest.$ac_ext <<EOF
13536 #line 13537 "configure"
13537 #include "confdefs.h"
13538 #include <math.h>
13539 int main() {
13540 _sinf(0);
13541 ; return 0; }
13543 if { (eval echo configure:13544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13544 rm -rf conftest*
13545 glibcpp_cv_func__sinf_use=yes
13546 else
13547 echo "configure: failed program was:" >&5
13548 cat conftest.$ac_ext >&5
13549 rm -rf conftest*
13550 glibcpp_cv_func__sinf_use=no
13552 rm -f conftest*
13553 ac_ext=c
13554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13555 ac_cpp='$CPP $CPPFLAGS'
13556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13558 cross_compiling=$ac_cv_prog_cc_cross
13563 echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13564 if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13565 for ac_func in _sinf
13567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13568 echo "configure:13569: checking for $ac_func" >&5
13569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13570 echo $ac_n "(cached) $ac_c" 1>&6
13571 else
13572 cat > conftest.$ac_ext <<EOF
13573 #line 13574 "configure"
13574 #include "confdefs.h"
13575 /* System header to define __stub macros and hopefully few prototypes,
13576 which can conflict with char $ac_func(); below. */
13577 #include <assert.h>
13578 /* Override any gcc2 internal prototype to avoid an error. */
13579 /* We use char because int might match the return type of a gcc2
13580 builtin and then its argument prototype would still apply. */
13581 char $ac_func();
13583 int main() {
13585 /* The GNU C library defines this for functions which it implements
13586 to always fail with ENOSYS. Some functions are actually named
13587 something starting with __ and the normal name is an alias. */
13588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13589 choke me
13590 #else
13591 $ac_func();
13592 #endif
13594 ; return 0; }
13596 if { (eval echo configure:13597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13597 rm -rf conftest*
13598 eval "ac_cv_func_$ac_func=yes"
13599 else
13600 echo "configure: failed program was:" >&5
13601 cat conftest.$ac_ext >&5
13602 rm -rf conftest*
13603 eval "ac_cv_func_$ac_func=no"
13605 rm -f conftest*
13608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13609 echo "$ac_t""yes" 1>&6
13610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13611 cat >> confdefs.h <<EOF
13612 #define $ac_tr_func 1
13615 else
13616 echo "$ac_t""no" 1>&6
13618 done
13623 echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13624 echo "configure:13625: checking for _sinhf declaration" >&5
13625 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13626 echo $ac_n "(cached) $ac_c" 1>&6
13627 else
13630 ac_ext=C
13631 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13632 ac_cpp='$CXXCPP $CPPFLAGS'
13633 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13634 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13635 cross_compiling=$ac_cv_prog_cxx_cross
13637 cat > conftest.$ac_ext <<EOF
13638 #line 13639 "configure"
13639 #include "confdefs.h"
13640 #include <math.h>
13641 int main() {
13642 _sinhf(0);
13643 ; return 0; }
13645 if { (eval echo configure:13646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13646 rm -rf conftest*
13647 glibcpp_cv_func__sinhf_use=yes
13648 else
13649 echo "configure: failed program was:" >&5
13650 cat conftest.$ac_ext >&5
13651 rm -rf conftest*
13652 glibcpp_cv_func__sinhf_use=no
13654 rm -f conftest*
13655 ac_ext=c
13656 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13657 ac_cpp='$CPP $CPPFLAGS'
13658 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13659 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13660 cross_compiling=$ac_cv_prog_cc_cross
13665 echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13666 if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13667 for ac_func in _sinhf
13669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13670 echo "configure:13671: checking for $ac_func" >&5
13671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13672 echo $ac_n "(cached) $ac_c" 1>&6
13673 else
13674 cat > conftest.$ac_ext <<EOF
13675 #line 13676 "configure"
13676 #include "confdefs.h"
13677 /* System header to define __stub macros and hopefully few prototypes,
13678 which can conflict with char $ac_func(); below. */
13679 #include <assert.h>
13680 /* Override any gcc2 internal prototype to avoid an error. */
13681 /* We use char because int might match the return type of a gcc2
13682 builtin and then its argument prototype would still apply. */
13683 char $ac_func();
13685 int main() {
13687 /* The GNU C library defines this for functions which it implements
13688 to always fail with ENOSYS. Some functions are actually named
13689 something starting with __ and the normal name is an alias. */
13690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13691 choke me
13692 #else
13693 $ac_func();
13694 #endif
13696 ; return 0; }
13698 if { (eval echo configure:13699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13699 rm -rf conftest*
13700 eval "ac_cv_func_$ac_func=yes"
13701 else
13702 echo "configure: failed program was:" >&5
13703 cat conftest.$ac_ext >&5
13704 rm -rf conftest*
13705 eval "ac_cv_func_$ac_func=no"
13707 rm -f conftest*
13710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13711 echo "$ac_t""yes" 1>&6
13712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13713 cat >> confdefs.h <<EOF
13714 #define $ac_tr_func 1
13717 else
13718 echo "$ac_t""no" 1>&6
13720 done
13725 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13726 echo "configure:13727: checking for _sqrtf declaration" >&5
13727 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13728 echo $ac_n "(cached) $ac_c" 1>&6
13729 else
13732 ac_ext=C
13733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13734 ac_cpp='$CXXCPP $CPPFLAGS'
13735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13737 cross_compiling=$ac_cv_prog_cxx_cross
13739 cat > conftest.$ac_ext <<EOF
13740 #line 13741 "configure"
13741 #include "confdefs.h"
13742 #include <math.h>
13743 int main() {
13744 _sqrtf(0);
13745 ; return 0; }
13747 if { (eval echo configure:13748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13748 rm -rf conftest*
13749 glibcpp_cv_func__sqrtf_use=yes
13750 else
13751 echo "configure: failed program was:" >&5
13752 cat conftest.$ac_ext >&5
13753 rm -rf conftest*
13754 glibcpp_cv_func__sqrtf_use=no
13756 rm -f conftest*
13757 ac_ext=c
13758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13759 ac_cpp='$CPP $CPPFLAGS'
13760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13762 cross_compiling=$ac_cv_prog_cc_cross
13767 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13768 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13769 for ac_func in _sqrtf
13771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13772 echo "configure:13773: checking for $ac_func" >&5
13773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13774 echo $ac_n "(cached) $ac_c" 1>&6
13775 else
13776 cat > conftest.$ac_ext <<EOF
13777 #line 13778 "configure"
13778 #include "confdefs.h"
13779 /* System header to define __stub macros and hopefully few prototypes,
13780 which can conflict with char $ac_func(); below. */
13781 #include <assert.h>
13782 /* Override any gcc2 internal prototype to avoid an error. */
13783 /* We use char because int might match the return type of a gcc2
13784 builtin and then its argument prototype would still apply. */
13785 char $ac_func();
13787 int main() {
13789 /* The GNU C library defines this for functions which it implements
13790 to always fail with ENOSYS. Some functions are actually named
13791 something starting with __ and the normal name is an alias. */
13792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13793 choke me
13794 #else
13795 $ac_func();
13796 #endif
13798 ; return 0; }
13800 if { (eval echo configure:13801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13801 rm -rf conftest*
13802 eval "ac_cv_func_$ac_func=yes"
13803 else
13804 echo "configure: failed program was:" >&5
13805 cat conftest.$ac_ext >&5
13806 rm -rf conftest*
13807 eval "ac_cv_func_$ac_func=no"
13809 rm -f conftest*
13812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13813 echo "$ac_t""yes" 1>&6
13814 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13815 cat >> confdefs.h <<EOF
13816 #define $ac_tr_func 1
13819 else
13820 echo "$ac_t""no" 1>&6
13822 done
13827 echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
13828 echo "configure:13829: checking for _tanf declaration" >&5
13829 if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
13830 echo $ac_n "(cached) $ac_c" 1>&6
13831 else
13834 ac_ext=C
13835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13836 ac_cpp='$CXXCPP $CPPFLAGS'
13837 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13838 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13839 cross_compiling=$ac_cv_prog_cxx_cross
13841 cat > conftest.$ac_ext <<EOF
13842 #line 13843 "configure"
13843 #include "confdefs.h"
13844 #include <math.h>
13845 int main() {
13846 _tanf(0);
13847 ; return 0; }
13849 if { (eval echo configure:13850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13850 rm -rf conftest*
13851 glibcpp_cv_func__tanf_use=yes
13852 else
13853 echo "configure: failed program was:" >&5
13854 cat conftest.$ac_ext >&5
13855 rm -rf conftest*
13856 glibcpp_cv_func__tanf_use=no
13858 rm -f conftest*
13859 ac_ext=c
13860 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13861 ac_cpp='$CPP $CPPFLAGS'
13862 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13863 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13864 cross_compiling=$ac_cv_prog_cc_cross
13869 echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
13870 if test x$glibcpp_cv_func__tanf_use = x"yes"; then
13871 for ac_func in _tanf
13873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13874 echo "configure:13875: checking for $ac_func" >&5
13875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13876 echo $ac_n "(cached) $ac_c" 1>&6
13877 else
13878 cat > conftest.$ac_ext <<EOF
13879 #line 13880 "configure"
13880 #include "confdefs.h"
13881 /* System header to define __stub macros and hopefully few prototypes,
13882 which can conflict with char $ac_func(); below. */
13883 #include <assert.h>
13884 /* Override any gcc2 internal prototype to avoid an error. */
13885 /* We use char because int might match the return type of a gcc2
13886 builtin and then its argument prototype would still apply. */
13887 char $ac_func();
13889 int main() {
13891 /* The GNU C library defines this for functions which it implements
13892 to always fail with ENOSYS. Some functions are actually named
13893 something starting with __ and the normal name is an alias. */
13894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13895 choke me
13896 #else
13897 $ac_func();
13898 #endif
13900 ; return 0; }
13902 if { (eval echo configure:13903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13903 rm -rf conftest*
13904 eval "ac_cv_func_$ac_func=yes"
13905 else
13906 echo "configure: failed program was:" >&5
13907 cat conftest.$ac_ext >&5
13908 rm -rf conftest*
13909 eval "ac_cv_func_$ac_func=no"
13911 rm -f conftest*
13914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13915 echo "$ac_t""yes" 1>&6
13916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13917 cat >> confdefs.h <<EOF
13918 #define $ac_tr_func 1
13921 else
13922 echo "$ac_t""no" 1>&6
13924 done
13929 echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
13930 echo "configure:13931: checking for _tanhf declaration" >&5
13931 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
13932 echo $ac_n "(cached) $ac_c" 1>&6
13933 else
13936 ac_ext=C
13937 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13938 ac_cpp='$CXXCPP $CPPFLAGS'
13939 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13940 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13941 cross_compiling=$ac_cv_prog_cxx_cross
13943 cat > conftest.$ac_ext <<EOF
13944 #line 13945 "configure"
13945 #include "confdefs.h"
13946 #include <math.h>
13947 int main() {
13948 _tanhf(0);
13949 ; return 0; }
13951 if { (eval echo configure:13952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13952 rm -rf conftest*
13953 glibcpp_cv_func__tanhf_use=yes
13954 else
13955 echo "configure: failed program was:" >&5
13956 cat conftest.$ac_ext >&5
13957 rm -rf conftest*
13958 glibcpp_cv_func__tanhf_use=no
13960 rm -f conftest*
13961 ac_ext=c
13962 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13963 ac_cpp='$CPP $CPPFLAGS'
13964 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13965 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13966 cross_compiling=$ac_cv_prog_cc_cross
13971 echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
13972 if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
13973 for ac_func in _tanhf
13975 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13976 echo "configure:13977: checking for $ac_func" >&5
13977 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13978 echo $ac_n "(cached) $ac_c" 1>&6
13979 else
13980 cat > conftest.$ac_ext <<EOF
13981 #line 13982 "configure"
13982 #include "confdefs.h"
13983 /* System header to define __stub macros and hopefully few prototypes,
13984 which can conflict with char $ac_func(); below. */
13985 #include <assert.h>
13986 /* Override any gcc2 internal prototype to avoid an error. */
13987 /* We use char because int might match the return type of a gcc2
13988 builtin and then its argument prototype would still apply. */
13989 char $ac_func();
13991 int main() {
13993 /* The GNU C library defines this for functions which it implements
13994 to always fail with ENOSYS. Some functions are actually named
13995 something starting with __ and the normal name is an alias. */
13996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13997 choke me
13998 #else
13999 $ac_func();
14000 #endif
14002 ; return 0; }
14004 if { (eval echo configure:14005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14005 rm -rf conftest*
14006 eval "ac_cv_func_$ac_func=yes"
14007 else
14008 echo "configure: failed program was:" >&5
14009 cat conftest.$ac_ext >&5
14010 rm -rf conftest*
14011 eval "ac_cv_func_$ac_func=no"
14013 rm -f conftest*
14016 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14017 echo "$ac_t""yes" 1>&6
14018 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14019 cat >> confdefs.h <<EOF
14020 #define $ac_tr_func 1
14023 else
14024 echo "$ac_t""no" 1>&6
14026 done
14031 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14032 echo "configure:14033: checking for _sincosf declaration" >&5
14033 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14034 echo $ac_n "(cached) $ac_c" 1>&6
14035 else
14038 ac_ext=C
14039 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14040 ac_cpp='$CXXCPP $CPPFLAGS'
14041 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14042 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14043 cross_compiling=$ac_cv_prog_cxx_cross
14045 cat > conftest.$ac_ext <<EOF
14046 #line 14047 "configure"
14047 #include "confdefs.h"
14048 #include <math.h>
14049 int main() {
14050 _sincosf(0, 0, 0);
14051 ; return 0; }
14053 if { (eval echo configure:14054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14054 rm -rf conftest*
14055 glibcpp_cv_func__sincosf_use=yes
14056 else
14057 echo "configure: failed program was:" >&5
14058 cat conftest.$ac_ext >&5
14059 rm -rf conftest*
14060 glibcpp_cv_func__sincosf_use=no
14062 rm -f conftest*
14063 ac_ext=c
14064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14065 ac_cpp='$CPP $CPPFLAGS'
14066 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14067 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14068 cross_compiling=$ac_cv_prog_cc_cross
14073 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14074 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14075 for ac_func in _sincosf
14077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14078 echo "configure:14079: checking for $ac_func" >&5
14079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14080 echo $ac_n "(cached) $ac_c" 1>&6
14081 else
14082 cat > conftest.$ac_ext <<EOF
14083 #line 14084 "configure"
14084 #include "confdefs.h"
14085 /* System header to define __stub macros and hopefully few prototypes,
14086 which can conflict with char $ac_func(); below. */
14087 #include <assert.h>
14088 /* Override any gcc2 internal prototype to avoid an error. */
14089 /* We use char because int might match the return type of a gcc2
14090 builtin and then its argument prototype would still apply. */
14091 char $ac_func();
14093 int main() {
14095 /* The GNU C library defines this for functions which it implements
14096 to always fail with ENOSYS. Some functions are actually named
14097 something starting with __ and the normal name is an alias. */
14098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14099 choke me
14100 #else
14101 $ac_func();
14102 #endif
14104 ; return 0; }
14106 if { (eval echo configure:14107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14107 rm -rf conftest*
14108 eval "ac_cv_func_$ac_func=yes"
14109 else
14110 echo "configure: failed program was:" >&5
14111 cat conftest.$ac_ext >&5
14112 rm -rf conftest*
14113 eval "ac_cv_func_$ac_func=no"
14115 rm -f conftest*
14118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14119 echo "$ac_t""yes" 1>&6
14120 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14121 cat >> confdefs.h <<EOF
14122 #define $ac_tr_func 1
14125 else
14126 echo "$ac_t""no" 1>&6
14128 done
14133 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14134 echo "configure:14135: checking for _finitef declaration" >&5
14135 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14136 echo $ac_n "(cached) $ac_c" 1>&6
14137 else
14140 ac_ext=C
14141 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14142 ac_cpp='$CXXCPP $CPPFLAGS'
14143 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14144 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14145 cross_compiling=$ac_cv_prog_cxx_cross
14147 cat > conftest.$ac_ext <<EOF
14148 #line 14149 "configure"
14149 #include "confdefs.h"
14150 #include <math.h>
14151 int main() {
14152 _finitef(0);
14153 ; return 0; }
14155 if { (eval echo configure:14156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14156 rm -rf conftest*
14157 glibcpp_cv_func__finitef_use=yes
14158 else
14159 echo "configure: failed program was:" >&5
14160 cat conftest.$ac_ext >&5
14161 rm -rf conftest*
14162 glibcpp_cv_func__finitef_use=no
14164 rm -f conftest*
14165 ac_ext=c
14166 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14167 ac_cpp='$CPP $CPPFLAGS'
14168 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14169 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14170 cross_compiling=$ac_cv_prog_cc_cross
14175 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14176 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14177 for ac_func in _finitef
14179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14180 echo "configure:14181: checking for $ac_func" >&5
14181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14182 echo $ac_n "(cached) $ac_c" 1>&6
14183 else
14184 cat > conftest.$ac_ext <<EOF
14185 #line 14186 "configure"
14186 #include "confdefs.h"
14187 /* System header to define __stub macros and hopefully few prototypes,
14188 which can conflict with char $ac_func(); below. */
14189 #include <assert.h>
14190 /* Override any gcc2 internal prototype to avoid an error. */
14191 /* We use char because int might match the return type of a gcc2
14192 builtin and then its argument prototype would still apply. */
14193 char $ac_func();
14195 int main() {
14197 /* The GNU C library defines this for functions which it implements
14198 to always fail with ENOSYS. Some functions are actually named
14199 something starting with __ and the normal name is an alias. */
14200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14201 choke me
14202 #else
14203 $ac_func();
14204 #endif
14206 ; return 0; }
14208 if { (eval echo configure:14209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14209 rm -rf conftest*
14210 eval "ac_cv_func_$ac_func=yes"
14211 else
14212 echo "configure: failed program was:" >&5
14213 cat conftest.$ac_ext >&5
14214 rm -rf conftest*
14215 eval "ac_cv_func_$ac_func=no"
14217 rm -f conftest*
14220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14221 echo "$ac_t""yes" 1>&6
14222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14223 cat >> confdefs.h <<EOF
14224 #define $ac_tr_func 1
14227 else
14228 echo "$ac_t""no" 1>&6
14230 done
14236 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14237 echo "configure:14238: checking for _isnanl declaration" >&5
14238 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14239 echo $ac_n "(cached) $ac_c" 1>&6
14240 else
14243 ac_ext=C
14244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14245 ac_cpp='$CXXCPP $CPPFLAGS'
14246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14248 cross_compiling=$ac_cv_prog_cxx_cross
14250 cat > conftest.$ac_ext <<EOF
14251 #line 14252 "configure"
14252 #include "confdefs.h"
14253 #include <math.h>
14254 int main() {
14255 _isnanl(0);
14256 ; return 0; }
14258 if { (eval echo configure:14259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14259 rm -rf conftest*
14260 glibcpp_cv_func__isnanl_use=yes
14261 else
14262 echo "configure: failed program was:" >&5
14263 cat conftest.$ac_ext >&5
14264 rm -rf conftest*
14265 glibcpp_cv_func__isnanl_use=no
14267 rm -f conftest*
14268 ac_ext=c
14269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14270 ac_cpp='$CPP $CPPFLAGS'
14271 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14272 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14273 cross_compiling=$ac_cv_prog_cc_cross
14278 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14279 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14280 for ac_func in _isnanl
14282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14283 echo "configure:14284: checking for $ac_func" >&5
14284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14285 echo $ac_n "(cached) $ac_c" 1>&6
14286 else
14287 cat > conftest.$ac_ext <<EOF
14288 #line 14289 "configure"
14289 #include "confdefs.h"
14290 /* System header to define __stub macros and hopefully few prototypes,
14291 which can conflict with char $ac_func(); below. */
14292 #include <assert.h>
14293 /* Override any gcc2 internal prototype to avoid an error. */
14294 /* We use char because int might match the return type of a gcc2
14295 builtin and then its argument prototype would still apply. */
14296 char $ac_func();
14298 int main() {
14300 /* The GNU C library defines this for functions which it implements
14301 to always fail with ENOSYS. Some functions are actually named
14302 something starting with __ and the normal name is an alias. */
14303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14304 choke me
14305 #else
14306 $ac_func();
14307 #endif
14309 ; return 0; }
14311 if { (eval echo configure:14312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14312 rm -rf conftest*
14313 eval "ac_cv_func_$ac_func=yes"
14314 else
14315 echo "configure: failed program was:" >&5
14316 cat conftest.$ac_ext >&5
14317 rm -rf conftest*
14318 eval "ac_cv_func_$ac_func=no"
14320 rm -f conftest*
14323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14324 echo "$ac_t""yes" 1>&6
14325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14326 cat >> confdefs.h <<EOF
14327 #define $ac_tr_func 1
14330 else
14331 echo "$ac_t""no" 1>&6
14333 done
14338 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14339 echo "configure:14340: checking for _isinfl declaration" >&5
14340 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14341 echo $ac_n "(cached) $ac_c" 1>&6
14342 else
14345 ac_ext=C
14346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14347 ac_cpp='$CXXCPP $CPPFLAGS'
14348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14350 cross_compiling=$ac_cv_prog_cxx_cross
14352 cat > conftest.$ac_ext <<EOF
14353 #line 14354 "configure"
14354 #include "confdefs.h"
14355 #include <math.h>
14356 int main() {
14357 _isinfl(0);
14358 ; return 0; }
14360 if { (eval echo configure:14361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14361 rm -rf conftest*
14362 glibcpp_cv_func__isinfl_use=yes
14363 else
14364 echo "configure: failed program was:" >&5
14365 cat conftest.$ac_ext >&5
14366 rm -rf conftest*
14367 glibcpp_cv_func__isinfl_use=no
14369 rm -f conftest*
14370 ac_ext=c
14371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14372 ac_cpp='$CPP $CPPFLAGS'
14373 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14374 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14375 cross_compiling=$ac_cv_prog_cc_cross
14380 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14381 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14382 for ac_func in _isinfl
14384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14385 echo "configure:14386: checking for $ac_func" >&5
14386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14387 echo $ac_n "(cached) $ac_c" 1>&6
14388 else
14389 cat > conftest.$ac_ext <<EOF
14390 #line 14391 "configure"
14391 #include "confdefs.h"
14392 /* System header to define __stub macros and hopefully few prototypes,
14393 which can conflict with char $ac_func(); below. */
14394 #include <assert.h>
14395 /* Override any gcc2 internal prototype to avoid an error. */
14396 /* We use char because int might match the return type of a gcc2
14397 builtin and then its argument prototype would still apply. */
14398 char $ac_func();
14400 int main() {
14402 /* The GNU C library defines this for functions which it implements
14403 to always fail with ENOSYS. Some functions are actually named
14404 something starting with __ and the normal name is an alias. */
14405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14406 choke me
14407 #else
14408 $ac_func();
14409 #endif
14411 ; return 0; }
14413 if { (eval echo configure:14414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14414 rm -rf conftest*
14415 eval "ac_cv_func_$ac_func=yes"
14416 else
14417 echo "configure: failed program was:" >&5
14418 cat conftest.$ac_ext >&5
14419 rm -rf conftest*
14420 eval "ac_cv_func_$ac_func=no"
14422 rm -f conftest*
14425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14426 echo "$ac_t""yes" 1>&6
14427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14428 cat >> confdefs.h <<EOF
14429 #define $ac_tr_func 1
14432 else
14433 echo "$ac_t""no" 1>&6
14435 done
14440 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14441 echo "configure:14442: checking for _copysignl declaration" >&5
14442 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14443 echo $ac_n "(cached) $ac_c" 1>&6
14444 else
14447 ac_ext=C
14448 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14449 ac_cpp='$CXXCPP $CPPFLAGS'
14450 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14451 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14452 cross_compiling=$ac_cv_prog_cxx_cross
14454 cat > conftest.$ac_ext <<EOF
14455 #line 14456 "configure"
14456 #include "confdefs.h"
14457 #include <math.h>
14458 int main() {
14459 _copysignl(0, 0);
14460 ; return 0; }
14462 if { (eval echo configure:14463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14463 rm -rf conftest*
14464 glibcpp_cv_func__copysignl_use=yes
14465 else
14466 echo "configure: failed program was:" >&5
14467 cat conftest.$ac_ext >&5
14468 rm -rf conftest*
14469 glibcpp_cv_func__copysignl_use=no
14471 rm -f conftest*
14472 ac_ext=c
14473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14474 ac_cpp='$CPP $CPPFLAGS'
14475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14477 cross_compiling=$ac_cv_prog_cc_cross
14482 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14483 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14484 for ac_func in _copysignl
14486 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14487 echo "configure:14488: checking for $ac_func" >&5
14488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14489 echo $ac_n "(cached) $ac_c" 1>&6
14490 else
14491 cat > conftest.$ac_ext <<EOF
14492 #line 14493 "configure"
14493 #include "confdefs.h"
14494 /* System header to define __stub macros and hopefully few prototypes,
14495 which can conflict with char $ac_func(); below. */
14496 #include <assert.h>
14497 /* Override any gcc2 internal prototype to avoid an error. */
14498 /* We use char because int might match the return type of a gcc2
14499 builtin and then its argument prototype would still apply. */
14500 char $ac_func();
14502 int main() {
14504 /* The GNU C library defines this for functions which it implements
14505 to always fail with ENOSYS. Some functions are actually named
14506 something starting with __ and the normal name is an alias. */
14507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14508 choke me
14509 #else
14510 $ac_func();
14511 #endif
14513 ; return 0; }
14515 if { (eval echo configure:14516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14516 rm -rf conftest*
14517 eval "ac_cv_func_$ac_func=yes"
14518 else
14519 echo "configure: failed program was:" >&5
14520 cat conftest.$ac_ext >&5
14521 rm -rf conftest*
14522 eval "ac_cv_func_$ac_func=no"
14524 rm -f conftest*
14527 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14528 echo "$ac_t""yes" 1>&6
14529 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14530 cat >> confdefs.h <<EOF
14531 #define $ac_tr_func 1
14534 else
14535 echo "$ac_t""no" 1>&6
14537 done
14542 echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14543 echo "configure:14544: checking for _acosl declaration" >&5
14544 if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14545 echo $ac_n "(cached) $ac_c" 1>&6
14546 else
14549 ac_ext=C
14550 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14551 ac_cpp='$CXXCPP $CPPFLAGS'
14552 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14553 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14554 cross_compiling=$ac_cv_prog_cxx_cross
14556 cat > conftest.$ac_ext <<EOF
14557 #line 14558 "configure"
14558 #include "confdefs.h"
14559 #include <math.h>
14560 int main() {
14561 _acosl(0);
14562 ; return 0; }
14564 if { (eval echo configure:14565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14565 rm -rf conftest*
14566 glibcpp_cv_func__acosl_use=yes
14567 else
14568 echo "configure: failed program was:" >&5
14569 cat conftest.$ac_ext >&5
14570 rm -rf conftest*
14571 glibcpp_cv_func__acosl_use=no
14573 rm -f conftest*
14574 ac_ext=c
14575 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14576 ac_cpp='$CPP $CPPFLAGS'
14577 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14578 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14579 cross_compiling=$ac_cv_prog_cc_cross
14584 echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14585 if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14586 for ac_func in _acosl
14588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14589 echo "configure:14590: checking for $ac_func" >&5
14590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14591 echo $ac_n "(cached) $ac_c" 1>&6
14592 else
14593 cat > conftest.$ac_ext <<EOF
14594 #line 14595 "configure"
14595 #include "confdefs.h"
14596 /* System header to define __stub macros and hopefully few prototypes,
14597 which can conflict with char $ac_func(); below. */
14598 #include <assert.h>
14599 /* Override any gcc2 internal prototype to avoid an error. */
14600 /* We use char because int might match the return type of a gcc2
14601 builtin and then its argument prototype would still apply. */
14602 char $ac_func();
14604 int main() {
14606 /* The GNU C library defines this for functions which it implements
14607 to always fail with ENOSYS. Some functions are actually named
14608 something starting with __ and the normal name is an alias. */
14609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14610 choke me
14611 #else
14612 $ac_func();
14613 #endif
14615 ; return 0; }
14617 if { (eval echo configure:14618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14618 rm -rf conftest*
14619 eval "ac_cv_func_$ac_func=yes"
14620 else
14621 echo "configure: failed program was:" >&5
14622 cat conftest.$ac_ext >&5
14623 rm -rf conftest*
14624 eval "ac_cv_func_$ac_func=no"
14626 rm -f conftest*
14629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14630 echo "$ac_t""yes" 1>&6
14631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14632 cat >> confdefs.h <<EOF
14633 #define $ac_tr_func 1
14636 else
14637 echo "$ac_t""no" 1>&6
14639 done
14644 echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14645 echo "configure:14646: checking for _asinl declaration" >&5
14646 if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14647 echo $ac_n "(cached) $ac_c" 1>&6
14648 else
14651 ac_ext=C
14652 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14653 ac_cpp='$CXXCPP $CPPFLAGS'
14654 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14655 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14656 cross_compiling=$ac_cv_prog_cxx_cross
14658 cat > conftest.$ac_ext <<EOF
14659 #line 14660 "configure"
14660 #include "confdefs.h"
14661 #include <math.h>
14662 int main() {
14663 _asinl(0);
14664 ; return 0; }
14666 if { (eval echo configure:14667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14667 rm -rf conftest*
14668 glibcpp_cv_func__asinl_use=yes
14669 else
14670 echo "configure: failed program was:" >&5
14671 cat conftest.$ac_ext >&5
14672 rm -rf conftest*
14673 glibcpp_cv_func__asinl_use=no
14675 rm -f conftest*
14676 ac_ext=c
14677 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14678 ac_cpp='$CPP $CPPFLAGS'
14679 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14680 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14681 cross_compiling=$ac_cv_prog_cc_cross
14686 echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14687 if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14688 for ac_func in _asinl
14690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14691 echo "configure:14692: checking for $ac_func" >&5
14692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14693 echo $ac_n "(cached) $ac_c" 1>&6
14694 else
14695 cat > conftest.$ac_ext <<EOF
14696 #line 14697 "configure"
14697 #include "confdefs.h"
14698 /* System header to define __stub macros and hopefully few prototypes,
14699 which can conflict with char $ac_func(); below. */
14700 #include <assert.h>
14701 /* Override any gcc2 internal prototype to avoid an error. */
14702 /* We use char because int might match the return type of a gcc2
14703 builtin and then its argument prototype would still apply. */
14704 char $ac_func();
14706 int main() {
14708 /* The GNU C library defines this for functions which it implements
14709 to always fail with ENOSYS. Some functions are actually named
14710 something starting with __ and the normal name is an alias. */
14711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14712 choke me
14713 #else
14714 $ac_func();
14715 #endif
14717 ; return 0; }
14719 if { (eval echo configure:14720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14720 rm -rf conftest*
14721 eval "ac_cv_func_$ac_func=yes"
14722 else
14723 echo "configure: failed program was:" >&5
14724 cat conftest.$ac_ext >&5
14725 rm -rf conftest*
14726 eval "ac_cv_func_$ac_func=no"
14728 rm -f conftest*
14731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14732 echo "$ac_t""yes" 1>&6
14733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14734 cat >> confdefs.h <<EOF
14735 #define $ac_tr_func 1
14738 else
14739 echo "$ac_t""no" 1>&6
14741 done
14746 echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
14747 echo "configure:14748: checking for _atanl declaration" >&5
14748 if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
14749 echo $ac_n "(cached) $ac_c" 1>&6
14750 else
14753 ac_ext=C
14754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14755 ac_cpp='$CXXCPP $CPPFLAGS'
14756 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14757 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14758 cross_compiling=$ac_cv_prog_cxx_cross
14760 cat > conftest.$ac_ext <<EOF
14761 #line 14762 "configure"
14762 #include "confdefs.h"
14763 #include <math.h>
14764 int main() {
14765 _atanl(0);
14766 ; return 0; }
14768 if { (eval echo configure:14769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14769 rm -rf conftest*
14770 glibcpp_cv_func__atanl_use=yes
14771 else
14772 echo "configure: failed program was:" >&5
14773 cat conftest.$ac_ext >&5
14774 rm -rf conftest*
14775 glibcpp_cv_func__atanl_use=no
14777 rm -f conftest*
14778 ac_ext=c
14779 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14780 ac_cpp='$CPP $CPPFLAGS'
14781 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14782 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14783 cross_compiling=$ac_cv_prog_cc_cross
14788 echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
14789 if test x$glibcpp_cv_func__atanl_use = x"yes"; then
14790 for ac_func in _atanl
14792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14793 echo "configure:14794: checking for $ac_func" >&5
14794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14795 echo $ac_n "(cached) $ac_c" 1>&6
14796 else
14797 cat > conftest.$ac_ext <<EOF
14798 #line 14799 "configure"
14799 #include "confdefs.h"
14800 /* System header to define __stub macros and hopefully few prototypes,
14801 which can conflict with char $ac_func(); below. */
14802 #include <assert.h>
14803 /* Override any gcc2 internal prototype to avoid an error. */
14804 /* We use char because int might match the return type of a gcc2
14805 builtin and then its argument prototype would still apply. */
14806 char $ac_func();
14808 int main() {
14810 /* The GNU C library defines this for functions which it implements
14811 to always fail with ENOSYS. Some functions are actually named
14812 something starting with __ and the normal name is an alias. */
14813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14814 choke me
14815 #else
14816 $ac_func();
14817 #endif
14819 ; return 0; }
14821 if { (eval echo configure:14822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14822 rm -rf conftest*
14823 eval "ac_cv_func_$ac_func=yes"
14824 else
14825 echo "configure: failed program was:" >&5
14826 cat conftest.$ac_ext >&5
14827 rm -rf conftest*
14828 eval "ac_cv_func_$ac_func=no"
14830 rm -f conftest*
14833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14834 echo "$ac_t""yes" 1>&6
14835 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14836 cat >> confdefs.h <<EOF
14837 #define $ac_tr_func 1
14840 else
14841 echo "$ac_t""no" 1>&6
14843 done
14848 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14849 echo "configure:14850: checking for _atan2l declaration" >&5
14850 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14851 echo $ac_n "(cached) $ac_c" 1>&6
14852 else
14855 ac_ext=C
14856 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14857 ac_cpp='$CXXCPP $CPPFLAGS'
14858 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14859 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14860 cross_compiling=$ac_cv_prog_cxx_cross
14862 cat > conftest.$ac_ext <<EOF
14863 #line 14864 "configure"
14864 #include "confdefs.h"
14865 #include <math.h>
14866 int main() {
14867 _atan2l(0, 0);
14868 ; return 0; }
14870 if { (eval echo configure:14871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14871 rm -rf conftest*
14872 glibcpp_cv_func__atan2l_use=yes
14873 else
14874 echo "configure: failed program was:" >&5
14875 cat conftest.$ac_ext >&5
14876 rm -rf conftest*
14877 glibcpp_cv_func__atan2l_use=no
14879 rm -f conftest*
14880 ac_ext=c
14881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14882 ac_cpp='$CPP $CPPFLAGS'
14883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14885 cross_compiling=$ac_cv_prog_cc_cross
14890 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14891 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14892 for ac_func in _atan2l
14894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14895 echo "configure:14896: checking for $ac_func" >&5
14896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14897 echo $ac_n "(cached) $ac_c" 1>&6
14898 else
14899 cat > conftest.$ac_ext <<EOF
14900 #line 14901 "configure"
14901 #include "confdefs.h"
14902 /* System header to define __stub macros and hopefully few prototypes,
14903 which can conflict with char $ac_func(); below. */
14904 #include <assert.h>
14905 /* Override any gcc2 internal prototype to avoid an error. */
14906 /* We use char because int might match the return type of a gcc2
14907 builtin and then its argument prototype would still apply. */
14908 char $ac_func();
14910 int main() {
14912 /* The GNU C library defines this for functions which it implements
14913 to always fail with ENOSYS. Some functions are actually named
14914 something starting with __ and the normal name is an alias. */
14915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14916 choke me
14917 #else
14918 $ac_func();
14919 #endif
14921 ; return 0; }
14923 if { (eval echo configure:14924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14924 rm -rf conftest*
14925 eval "ac_cv_func_$ac_func=yes"
14926 else
14927 echo "configure: failed program was:" >&5
14928 cat conftest.$ac_ext >&5
14929 rm -rf conftest*
14930 eval "ac_cv_func_$ac_func=no"
14932 rm -f conftest*
14935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14936 echo "$ac_t""yes" 1>&6
14937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14938 cat >> confdefs.h <<EOF
14939 #define $ac_tr_func 1
14942 else
14943 echo "$ac_t""no" 1>&6
14945 done
14950 echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
14951 echo "configure:14952: checking for _ceill declaration" >&5
14952 if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
14953 echo $ac_n "(cached) $ac_c" 1>&6
14954 else
14957 ac_ext=C
14958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14959 ac_cpp='$CXXCPP $CPPFLAGS'
14960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14962 cross_compiling=$ac_cv_prog_cxx_cross
14964 cat > conftest.$ac_ext <<EOF
14965 #line 14966 "configure"
14966 #include "confdefs.h"
14967 #include <math.h>
14968 int main() {
14969 _ceill(0);
14970 ; return 0; }
14972 if { (eval echo configure:14973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14973 rm -rf conftest*
14974 glibcpp_cv_func__ceill_use=yes
14975 else
14976 echo "configure: failed program was:" >&5
14977 cat conftest.$ac_ext >&5
14978 rm -rf conftest*
14979 glibcpp_cv_func__ceill_use=no
14981 rm -f conftest*
14982 ac_ext=c
14983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14984 ac_cpp='$CPP $CPPFLAGS'
14985 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14986 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14987 cross_compiling=$ac_cv_prog_cc_cross
14992 echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
14993 if test x$glibcpp_cv_func__ceill_use = x"yes"; then
14994 for ac_func in _ceill
14996 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14997 echo "configure:14998: checking for $ac_func" >&5
14998 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14999 echo $ac_n "(cached) $ac_c" 1>&6
15000 else
15001 cat > conftest.$ac_ext <<EOF
15002 #line 15003 "configure"
15003 #include "confdefs.h"
15004 /* System header to define __stub macros and hopefully few prototypes,
15005 which can conflict with char $ac_func(); below. */
15006 #include <assert.h>
15007 /* Override any gcc2 internal prototype to avoid an error. */
15008 /* We use char because int might match the return type of a gcc2
15009 builtin and then its argument prototype would still apply. */
15010 char $ac_func();
15012 int main() {
15014 /* The GNU C library defines this for functions which it implements
15015 to always fail with ENOSYS. Some functions are actually named
15016 something starting with __ and the normal name is an alias. */
15017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15018 choke me
15019 #else
15020 $ac_func();
15021 #endif
15023 ; return 0; }
15025 if { (eval echo configure:15026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15026 rm -rf conftest*
15027 eval "ac_cv_func_$ac_func=yes"
15028 else
15029 echo "configure: failed program was:" >&5
15030 cat conftest.$ac_ext >&5
15031 rm -rf conftest*
15032 eval "ac_cv_func_$ac_func=no"
15034 rm -f conftest*
15037 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15038 echo "$ac_t""yes" 1>&6
15039 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15040 cat >> confdefs.h <<EOF
15041 #define $ac_tr_func 1
15044 else
15045 echo "$ac_t""no" 1>&6
15047 done
15052 echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15053 echo "configure:15054: checking for _cosl declaration" >&5
15054 if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15055 echo $ac_n "(cached) $ac_c" 1>&6
15056 else
15059 ac_ext=C
15060 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15061 ac_cpp='$CXXCPP $CPPFLAGS'
15062 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15063 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15064 cross_compiling=$ac_cv_prog_cxx_cross
15066 cat > conftest.$ac_ext <<EOF
15067 #line 15068 "configure"
15068 #include "confdefs.h"
15069 #include <math.h>
15070 int main() {
15071 _cosl(0);
15072 ; return 0; }
15074 if { (eval echo configure:15075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15075 rm -rf conftest*
15076 glibcpp_cv_func__cosl_use=yes
15077 else
15078 echo "configure: failed program was:" >&5
15079 cat conftest.$ac_ext >&5
15080 rm -rf conftest*
15081 glibcpp_cv_func__cosl_use=no
15083 rm -f conftest*
15084 ac_ext=c
15085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15086 ac_cpp='$CPP $CPPFLAGS'
15087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15089 cross_compiling=$ac_cv_prog_cc_cross
15094 echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15095 if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15096 for ac_func in _cosl
15098 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15099 echo "configure:15100: checking for $ac_func" >&5
15100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15101 echo $ac_n "(cached) $ac_c" 1>&6
15102 else
15103 cat > conftest.$ac_ext <<EOF
15104 #line 15105 "configure"
15105 #include "confdefs.h"
15106 /* System header to define __stub macros and hopefully few prototypes,
15107 which can conflict with char $ac_func(); below. */
15108 #include <assert.h>
15109 /* Override any gcc2 internal prototype to avoid an error. */
15110 /* We use char because int might match the return type of a gcc2
15111 builtin and then its argument prototype would still apply. */
15112 char $ac_func();
15114 int main() {
15116 /* The GNU C library defines this for functions which it implements
15117 to always fail with ENOSYS. Some functions are actually named
15118 something starting with __ and the normal name is an alias. */
15119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15120 choke me
15121 #else
15122 $ac_func();
15123 #endif
15125 ; return 0; }
15127 if { (eval echo configure:15128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15128 rm -rf conftest*
15129 eval "ac_cv_func_$ac_func=yes"
15130 else
15131 echo "configure: failed program was:" >&5
15132 cat conftest.$ac_ext >&5
15133 rm -rf conftest*
15134 eval "ac_cv_func_$ac_func=no"
15136 rm -f conftest*
15139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15140 echo "$ac_t""yes" 1>&6
15141 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15142 cat >> confdefs.h <<EOF
15143 #define $ac_tr_func 1
15146 else
15147 echo "$ac_t""no" 1>&6
15149 done
15154 echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15155 echo "configure:15156: checking for _coshl declaration" >&5
15156 if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15157 echo $ac_n "(cached) $ac_c" 1>&6
15158 else
15161 ac_ext=C
15162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15163 ac_cpp='$CXXCPP $CPPFLAGS'
15164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15166 cross_compiling=$ac_cv_prog_cxx_cross
15168 cat > conftest.$ac_ext <<EOF
15169 #line 15170 "configure"
15170 #include "confdefs.h"
15171 #include <math.h>
15172 int main() {
15173 _coshl(0);
15174 ; return 0; }
15176 if { (eval echo configure:15177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15177 rm -rf conftest*
15178 glibcpp_cv_func__coshl_use=yes
15179 else
15180 echo "configure: failed program was:" >&5
15181 cat conftest.$ac_ext >&5
15182 rm -rf conftest*
15183 glibcpp_cv_func__coshl_use=no
15185 rm -f conftest*
15186 ac_ext=c
15187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15188 ac_cpp='$CPP $CPPFLAGS'
15189 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15190 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15191 cross_compiling=$ac_cv_prog_cc_cross
15196 echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15197 if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15198 for ac_func in _coshl
15200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15201 echo "configure:15202: checking for $ac_func" >&5
15202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15203 echo $ac_n "(cached) $ac_c" 1>&6
15204 else
15205 cat > conftest.$ac_ext <<EOF
15206 #line 15207 "configure"
15207 #include "confdefs.h"
15208 /* System header to define __stub macros and hopefully few prototypes,
15209 which can conflict with char $ac_func(); below. */
15210 #include <assert.h>
15211 /* Override any gcc2 internal prototype to avoid an error. */
15212 /* We use char because int might match the return type of a gcc2
15213 builtin and then its argument prototype would still apply. */
15214 char $ac_func();
15216 int main() {
15218 /* The GNU C library defines this for functions which it implements
15219 to always fail with ENOSYS. Some functions are actually named
15220 something starting with __ and the normal name is an alias. */
15221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15222 choke me
15223 #else
15224 $ac_func();
15225 #endif
15227 ; return 0; }
15229 if { (eval echo configure:15230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15230 rm -rf conftest*
15231 eval "ac_cv_func_$ac_func=yes"
15232 else
15233 echo "configure: failed program was:" >&5
15234 cat conftest.$ac_ext >&5
15235 rm -rf conftest*
15236 eval "ac_cv_func_$ac_func=no"
15238 rm -f conftest*
15241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15242 echo "$ac_t""yes" 1>&6
15243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15244 cat >> confdefs.h <<EOF
15245 #define $ac_tr_func 1
15248 else
15249 echo "$ac_t""no" 1>&6
15251 done
15256 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15257 echo "configure:15258: checking for _expl declaration" >&5
15258 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15259 echo $ac_n "(cached) $ac_c" 1>&6
15260 else
15263 ac_ext=C
15264 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15265 ac_cpp='$CXXCPP $CPPFLAGS'
15266 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15267 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15268 cross_compiling=$ac_cv_prog_cxx_cross
15270 cat > conftest.$ac_ext <<EOF
15271 #line 15272 "configure"
15272 #include "confdefs.h"
15273 #include <math.h>
15274 int main() {
15275 _expl(0);
15276 ; return 0; }
15278 if { (eval echo configure:15279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15279 rm -rf conftest*
15280 glibcpp_cv_func__expl_use=yes
15281 else
15282 echo "configure: failed program was:" >&5
15283 cat conftest.$ac_ext >&5
15284 rm -rf conftest*
15285 glibcpp_cv_func__expl_use=no
15287 rm -f conftest*
15288 ac_ext=c
15289 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15290 ac_cpp='$CPP $CPPFLAGS'
15291 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15292 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15293 cross_compiling=$ac_cv_prog_cc_cross
15298 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15299 if test x$glibcpp_cv_func__expl_use = x"yes"; then
15300 for ac_func in _expl
15302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15303 echo "configure:15304: checking for $ac_func" >&5
15304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15305 echo $ac_n "(cached) $ac_c" 1>&6
15306 else
15307 cat > conftest.$ac_ext <<EOF
15308 #line 15309 "configure"
15309 #include "confdefs.h"
15310 /* System header to define __stub macros and hopefully few prototypes,
15311 which can conflict with char $ac_func(); below. */
15312 #include <assert.h>
15313 /* Override any gcc2 internal prototype to avoid an error. */
15314 /* We use char because int might match the return type of a gcc2
15315 builtin and then its argument prototype would still apply. */
15316 char $ac_func();
15318 int main() {
15320 /* The GNU C library defines this for functions which it implements
15321 to always fail with ENOSYS. Some functions are actually named
15322 something starting with __ and the normal name is an alias. */
15323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15324 choke me
15325 #else
15326 $ac_func();
15327 #endif
15329 ; return 0; }
15331 if { (eval echo configure:15332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15332 rm -rf conftest*
15333 eval "ac_cv_func_$ac_func=yes"
15334 else
15335 echo "configure: failed program was:" >&5
15336 cat conftest.$ac_ext >&5
15337 rm -rf conftest*
15338 eval "ac_cv_func_$ac_func=no"
15340 rm -f conftest*
15343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15344 echo "$ac_t""yes" 1>&6
15345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15346 cat >> confdefs.h <<EOF
15347 #define $ac_tr_func 1
15350 else
15351 echo "$ac_t""no" 1>&6
15353 done
15358 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15359 echo "configure:15360: checking for _fabsl declaration" >&5
15360 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15361 echo $ac_n "(cached) $ac_c" 1>&6
15362 else
15365 ac_ext=C
15366 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15367 ac_cpp='$CXXCPP $CPPFLAGS'
15368 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15369 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15370 cross_compiling=$ac_cv_prog_cxx_cross
15372 cat > conftest.$ac_ext <<EOF
15373 #line 15374 "configure"
15374 #include "confdefs.h"
15375 #include <math.h>
15376 int main() {
15377 _fabsl(0);
15378 ; return 0; }
15380 if { (eval echo configure:15381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15381 rm -rf conftest*
15382 glibcpp_cv_func__fabsl_use=yes
15383 else
15384 echo "configure: failed program was:" >&5
15385 cat conftest.$ac_ext >&5
15386 rm -rf conftest*
15387 glibcpp_cv_func__fabsl_use=no
15389 rm -f conftest*
15390 ac_ext=c
15391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15392 ac_cpp='$CPP $CPPFLAGS'
15393 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15394 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15395 cross_compiling=$ac_cv_prog_cc_cross
15400 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15401 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15402 for ac_func in _fabsl
15404 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15405 echo "configure:15406: checking for $ac_func" >&5
15406 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15407 echo $ac_n "(cached) $ac_c" 1>&6
15408 else
15409 cat > conftest.$ac_ext <<EOF
15410 #line 15411 "configure"
15411 #include "confdefs.h"
15412 /* System header to define __stub macros and hopefully few prototypes,
15413 which can conflict with char $ac_func(); below. */
15414 #include <assert.h>
15415 /* Override any gcc2 internal prototype to avoid an error. */
15416 /* We use char because int might match the return type of a gcc2
15417 builtin and then its argument prototype would still apply. */
15418 char $ac_func();
15420 int main() {
15422 /* The GNU C library defines this for functions which it implements
15423 to always fail with ENOSYS. Some functions are actually named
15424 something starting with __ and the normal name is an alias. */
15425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15426 choke me
15427 #else
15428 $ac_func();
15429 #endif
15431 ; return 0; }
15433 if { (eval echo configure:15434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15434 rm -rf conftest*
15435 eval "ac_cv_func_$ac_func=yes"
15436 else
15437 echo "configure: failed program was:" >&5
15438 cat conftest.$ac_ext >&5
15439 rm -rf conftest*
15440 eval "ac_cv_func_$ac_func=no"
15442 rm -f conftest*
15445 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15446 echo "$ac_t""yes" 1>&6
15447 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15448 cat >> confdefs.h <<EOF
15449 #define $ac_tr_func 1
15452 else
15453 echo "$ac_t""no" 1>&6
15455 done
15460 echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15461 echo "configure:15462: checking for _floorl declaration" >&5
15462 if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15463 echo $ac_n "(cached) $ac_c" 1>&6
15464 else
15467 ac_ext=C
15468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15469 ac_cpp='$CXXCPP $CPPFLAGS'
15470 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15471 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15472 cross_compiling=$ac_cv_prog_cxx_cross
15474 cat > conftest.$ac_ext <<EOF
15475 #line 15476 "configure"
15476 #include "confdefs.h"
15477 #include <math.h>
15478 int main() {
15479 _floorl(0);
15480 ; return 0; }
15482 if { (eval echo configure:15483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15483 rm -rf conftest*
15484 glibcpp_cv_func__floorl_use=yes
15485 else
15486 echo "configure: failed program was:" >&5
15487 cat conftest.$ac_ext >&5
15488 rm -rf conftest*
15489 glibcpp_cv_func__floorl_use=no
15491 rm -f conftest*
15492 ac_ext=c
15493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15494 ac_cpp='$CPP $CPPFLAGS'
15495 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15496 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15497 cross_compiling=$ac_cv_prog_cc_cross
15502 echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15503 if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15504 for ac_func in _floorl
15506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15507 echo "configure:15508: checking for $ac_func" >&5
15508 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15509 echo $ac_n "(cached) $ac_c" 1>&6
15510 else
15511 cat > conftest.$ac_ext <<EOF
15512 #line 15513 "configure"
15513 #include "confdefs.h"
15514 /* System header to define __stub macros and hopefully few prototypes,
15515 which can conflict with char $ac_func(); below. */
15516 #include <assert.h>
15517 /* Override any gcc2 internal prototype to avoid an error. */
15518 /* We use char because int might match the return type of a gcc2
15519 builtin and then its argument prototype would still apply. */
15520 char $ac_func();
15522 int main() {
15524 /* The GNU C library defines this for functions which it implements
15525 to always fail with ENOSYS. Some functions are actually named
15526 something starting with __ and the normal name is an alias. */
15527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15528 choke me
15529 #else
15530 $ac_func();
15531 #endif
15533 ; return 0; }
15535 if { (eval echo configure:15536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15536 rm -rf conftest*
15537 eval "ac_cv_func_$ac_func=yes"
15538 else
15539 echo "configure: failed program was:" >&5
15540 cat conftest.$ac_ext >&5
15541 rm -rf conftest*
15542 eval "ac_cv_func_$ac_func=no"
15544 rm -f conftest*
15547 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15548 echo "$ac_t""yes" 1>&6
15549 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15550 cat >> confdefs.h <<EOF
15551 #define $ac_tr_func 1
15554 else
15555 echo "$ac_t""no" 1>&6
15557 done
15562 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15563 echo "configure:15564: checking for _fmodl declaration" >&5
15564 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15565 echo $ac_n "(cached) $ac_c" 1>&6
15566 else
15569 ac_ext=C
15570 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15571 ac_cpp='$CXXCPP $CPPFLAGS'
15572 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15573 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15574 cross_compiling=$ac_cv_prog_cxx_cross
15576 cat > conftest.$ac_ext <<EOF
15577 #line 15578 "configure"
15578 #include "confdefs.h"
15579 #include <math.h>
15580 int main() {
15581 _fmodl(0, 0);
15582 ; return 0; }
15584 if { (eval echo configure:15585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15585 rm -rf conftest*
15586 glibcpp_cv_func__fmodl_use=yes
15587 else
15588 echo "configure: failed program was:" >&5
15589 cat conftest.$ac_ext >&5
15590 rm -rf conftest*
15591 glibcpp_cv_func__fmodl_use=no
15593 rm -f conftest*
15594 ac_ext=c
15595 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15596 ac_cpp='$CPP $CPPFLAGS'
15597 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15598 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15599 cross_compiling=$ac_cv_prog_cc_cross
15604 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15605 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15606 for ac_func in _fmodl
15608 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15609 echo "configure:15610: checking for $ac_func" >&5
15610 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15611 echo $ac_n "(cached) $ac_c" 1>&6
15612 else
15613 cat > conftest.$ac_ext <<EOF
15614 #line 15615 "configure"
15615 #include "confdefs.h"
15616 /* System header to define __stub macros and hopefully few prototypes,
15617 which can conflict with char $ac_func(); below. */
15618 #include <assert.h>
15619 /* Override any gcc2 internal prototype to avoid an error. */
15620 /* We use char because int might match the return type of a gcc2
15621 builtin and then its argument prototype would still apply. */
15622 char $ac_func();
15624 int main() {
15626 /* The GNU C library defines this for functions which it implements
15627 to always fail with ENOSYS. Some functions are actually named
15628 something starting with __ and the normal name is an alias. */
15629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15630 choke me
15631 #else
15632 $ac_func();
15633 #endif
15635 ; return 0; }
15637 if { (eval echo configure:15638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15638 rm -rf conftest*
15639 eval "ac_cv_func_$ac_func=yes"
15640 else
15641 echo "configure: failed program was:" >&5
15642 cat conftest.$ac_ext >&5
15643 rm -rf conftest*
15644 eval "ac_cv_func_$ac_func=no"
15646 rm -f conftest*
15649 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15650 echo "$ac_t""yes" 1>&6
15651 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15652 cat >> confdefs.h <<EOF
15653 #define $ac_tr_func 1
15656 else
15657 echo "$ac_t""no" 1>&6
15659 done
15664 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15665 echo "configure:15666: checking for _frexpl declaration" >&5
15666 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15667 echo $ac_n "(cached) $ac_c" 1>&6
15668 else
15671 ac_ext=C
15672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15673 ac_cpp='$CXXCPP $CPPFLAGS'
15674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15676 cross_compiling=$ac_cv_prog_cxx_cross
15678 cat > conftest.$ac_ext <<EOF
15679 #line 15680 "configure"
15680 #include "confdefs.h"
15681 #include <math.h>
15682 int main() {
15683 _frexpl(0, 0);
15684 ; return 0; }
15686 if { (eval echo configure:15687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15687 rm -rf conftest*
15688 glibcpp_cv_func__frexpl_use=yes
15689 else
15690 echo "configure: failed program was:" >&5
15691 cat conftest.$ac_ext >&5
15692 rm -rf conftest*
15693 glibcpp_cv_func__frexpl_use=no
15695 rm -f conftest*
15696 ac_ext=c
15697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15698 ac_cpp='$CPP $CPPFLAGS'
15699 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15700 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15701 cross_compiling=$ac_cv_prog_cc_cross
15706 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15707 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15708 for ac_func in _frexpl
15710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15711 echo "configure:15712: checking for $ac_func" >&5
15712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15713 echo $ac_n "(cached) $ac_c" 1>&6
15714 else
15715 cat > conftest.$ac_ext <<EOF
15716 #line 15717 "configure"
15717 #include "confdefs.h"
15718 /* System header to define __stub macros and hopefully few prototypes,
15719 which can conflict with char $ac_func(); below. */
15720 #include <assert.h>
15721 /* Override any gcc2 internal prototype to avoid an error. */
15722 /* We use char because int might match the return type of a gcc2
15723 builtin and then its argument prototype would still apply. */
15724 char $ac_func();
15726 int main() {
15728 /* The GNU C library defines this for functions which it implements
15729 to always fail with ENOSYS. Some functions are actually named
15730 something starting with __ and the normal name is an alias. */
15731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15732 choke me
15733 #else
15734 $ac_func();
15735 #endif
15737 ; return 0; }
15739 if { (eval echo configure:15740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15740 rm -rf conftest*
15741 eval "ac_cv_func_$ac_func=yes"
15742 else
15743 echo "configure: failed program was:" >&5
15744 cat conftest.$ac_ext >&5
15745 rm -rf conftest*
15746 eval "ac_cv_func_$ac_func=no"
15748 rm -f conftest*
15751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15752 echo "$ac_t""yes" 1>&6
15753 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15754 cat >> confdefs.h <<EOF
15755 #define $ac_tr_func 1
15758 else
15759 echo "$ac_t""no" 1>&6
15761 done
15766 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15767 echo "configure:15768: checking for _ldexpl declaration" >&5
15768 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15769 echo $ac_n "(cached) $ac_c" 1>&6
15770 else
15773 ac_ext=C
15774 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15775 ac_cpp='$CXXCPP $CPPFLAGS'
15776 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15777 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15778 cross_compiling=$ac_cv_prog_cxx_cross
15780 cat > conftest.$ac_ext <<EOF
15781 #line 15782 "configure"
15782 #include "confdefs.h"
15783 #include <math.h>
15784 int main() {
15785 _ldexpl(0, 0);
15786 ; return 0; }
15788 if { (eval echo configure:15789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15789 rm -rf conftest*
15790 glibcpp_cv_func__ldexpl_use=yes
15791 else
15792 echo "configure: failed program was:" >&5
15793 cat conftest.$ac_ext >&5
15794 rm -rf conftest*
15795 glibcpp_cv_func__ldexpl_use=no
15797 rm -f conftest*
15798 ac_ext=c
15799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15800 ac_cpp='$CPP $CPPFLAGS'
15801 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15802 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15803 cross_compiling=$ac_cv_prog_cc_cross
15808 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15809 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15810 for ac_func in _ldexpl
15812 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15813 echo "configure:15814: checking for $ac_func" >&5
15814 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15815 echo $ac_n "(cached) $ac_c" 1>&6
15816 else
15817 cat > conftest.$ac_ext <<EOF
15818 #line 15819 "configure"
15819 #include "confdefs.h"
15820 /* System header to define __stub macros and hopefully few prototypes,
15821 which can conflict with char $ac_func(); below. */
15822 #include <assert.h>
15823 /* Override any gcc2 internal prototype to avoid an error. */
15824 /* We use char because int might match the return type of a gcc2
15825 builtin and then its argument prototype would still apply. */
15826 char $ac_func();
15828 int main() {
15830 /* The GNU C library defines this for functions which it implements
15831 to always fail with ENOSYS. Some functions are actually named
15832 something starting with __ and the normal name is an alias. */
15833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15834 choke me
15835 #else
15836 $ac_func();
15837 #endif
15839 ; return 0; }
15841 if { (eval echo configure:15842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15842 rm -rf conftest*
15843 eval "ac_cv_func_$ac_func=yes"
15844 else
15845 echo "configure: failed program was:" >&5
15846 cat conftest.$ac_ext >&5
15847 rm -rf conftest*
15848 eval "ac_cv_func_$ac_func=no"
15850 rm -f conftest*
15853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15854 echo "$ac_t""yes" 1>&6
15855 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15856 cat >> confdefs.h <<EOF
15857 #define $ac_tr_func 1
15860 else
15861 echo "$ac_t""no" 1>&6
15863 done
15868 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15869 echo "configure:15870: checking for _logl declaration" >&5
15870 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15871 echo $ac_n "(cached) $ac_c" 1>&6
15872 else
15875 ac_ext=C
15876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15877 ac_cpp='$CXXCPP $CPPFLAGS'
15878 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15879 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15880 cross_compiling=$ac_cv_prog_cxx_cross
15882 cat > conftest.$ac_ext <<EOF
15883 #line 15884 "configure"
15884 #include "confdefs.h"
15885 #include <math.h>
15886 int main() {
15887 _logl(0);
15888 ; return 0; }
15890 if { (eval echo configure:15891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15891 rm -rf conftest*
15892 glibcpp_cv_func__logl_use=yes
15893 else
15894 echo "configure: failed program was:" >&5
15895 cat conftest.$ac_ext >&5
15896 rm -rf conftest*
15897 glibcpp_cv_func__logl_use=no
15899 rm -f conftest*
15900 ac_ext=c
15901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15902 ac_cpp='$CPP $CPPFLAGS'
15903 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15904 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15905 cross_compiling=$ac_cv_prog_cc_cross
15910 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15911 if test x$glibcpp_cv_func__logl_use = x"yes"; then
15912 for ac_func in _logl
15914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15915 echo "configure:15916: checking for $ac_func" >&5
15916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15917 echo $ac_n "(cached) $ac_c" 1>&6
15918 else
15919 cat > conftest.$ac_ext <<EOF
15920 #line 15921 "configure"
15921 #include "confdefs.h"
15922 /* System header to define __stub macros and hopefully few prototypes,
15923 which can conflict with char $ac_func(); below. */
15924 #include <assert.h>
15925 /* Override any gcc2 internal prototype to avoid an error. */
15926 /* We use char because int might match the return type of a gcc2
15927 builtin and then its argument prototype would still apply. */
15928 char $ac_func();
15930 int main() {
15932 /* The GNU C library defines this for functions which it implements
15933 to always fail with ENOSYS. Some functions are actually named
15934 something starting with __ and the normal name is an alias. */
15935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15936 choke me
15937 #else
15938 $ac_func();
15939 #endif
15941 ; return 0; }
15943 if { (eval echo configure:15944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15944 rm -rf conftest*
15945 eval "ac_cv_func_$ac_func=yes"
15946 else
15947 echo "configure: failed program was:" >&5
15948 cat conftest.$ac_ext >&5
15949 rm -rf conftest*
15950 eval "ac_cv_func_$ac_func=no"
15952 rm -f conftest*
15955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15956 echo "$ac_t""yes" 1>&6
15957 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15958 cat >> confdefs.h <<EOF
15959 #define $ac_tr_func 1
15962 else
15963 echo "$ac_t""no" 1>&6
15965 done
15970 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
15971 echo "configure:15972: checking for _log10l declaration" >&5
15972 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
15973 echo $ac_n "(cached) $ac_c" 1>&6
15974 else
15977 ac_ext=C
15978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15979 ac_cpp='$CXXCPP $CPPFLAGS'
15980 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15981 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15982 cross_compiling=$ac_cv_prog_cxx_cross
15984 cat > conftest.$ac_ext <<EOF
15985 #line 15986 "configure"
15986 #include "confdefs.h"
15987 #include <math.h>
15988 int main() {
15989 _log10l(0);
15990 ; return 0; }
15992 if { (eval echo configure:15993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15993 rm -rf conftest*
15994 glibcpp_cv_func__log10l_use=yes
15995 else
15996 echo "configure: failed program was:" >&5
15997 cat conftest.$ac_ext >&5
15998 rm -rf conftest*
15999 glibcpp_cv_func__log10l_use=no
16001 rm -f conftest*
16002 ac_ext=c
16003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16004 ac_cpp='$CPP $CPPFLAGS'
16005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16007 cross_compiling=$ac_cv_prog_cc_cross
16012 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16013 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16014 for ac_func in _log10l
16016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16017 echo "configure:16018: checking for $ac_func" >&5
16018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16019 echo $ac_n "(cached) $ac_c" 1>&6
16020 else
16021 cat > conftest.$ac_ext <<EOF
16022 #line 16023 "configure"
16023 #include "confdefs.h"
16024 /* System header to define __stub macros and hopefully few prototypes,
16025 which can conflict with char $ac_func(); below. */
16026 #include <assert.h>
16027 /* Override any gcc2 internal prototype to avoid an error. */
16028 /* We use char because int might match the return type of a gcc2
16029 builtin and then its argument prototype would still apply. */
16030 char $ac_func();
16032 int main() {
16034 /* The GNU C library defines this for functions which it implements
16035 to always fail with ENOSYS. Some functions are actually named
16036 something starting with __ and the normal name is an alias. */
16037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16038 choke me
16039 #else
16040 $ac_func();
16041 #endif
16043 ; return 0; }
16045 if { (eval echo configure:16046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16046 rm -rf conftest*
16047 eval "ac_cv_func_$ac_func=yes"
16048 else
16049 echo "configure: failed program was:" >&5
16050 cat conftest.$ac_ext >&5
16051 rm -rf conftest*
16052 eval "ac_cv_func_$ac_func=no"
16054 rm -f conftest*
16057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16058 echo "$ac_t""yes" 1>&6
16059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16060 cat >> confdefs.h <<EOF
16061 #define $ac_tr_func 1
16064 else
16065 echo "$ac_t""no" 1>&6
16067 done
16072 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16073 echo "configure:16074: checking for _modfl declaration" >&5
16074 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16075 echo $ac_n "(cached) $ac_c" 1>&6
16076 else
16079 ac_ext=C
16080 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16081 ac_cpp='$CXXCPP $CPPFLAGS'
16082 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16083 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16084 cross_compiling=$ac_cv_prog_cxx_cross
16086 cat > conftest.$ac_ext <<EOF
16087 #line 16088 "configure"
16088 #include "confdefs.h"
16089 #include <math.h>
16090 int main() {
16091 _modfl(0, 0);
16092 ; return 0; }
16094 if { (eval echo configure:16095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16095 rm -rf conftest*
16096 glibcpp_cv_func__modfl_use=yes
16097 else
16098 echo "configure: failed program was:" >&5
16099 cat conftest.$ac_ext >&5
16100 rm -rf conftest*
16101 glibcpp_cv_func__modfl_use=no
16103 rm -f conftest*
16104 ac_ext=c
16105 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16106 ac_cpp='$CPP $CPPFLAGS'
16107 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16108 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16109 cross_compiling=$ac_cv_prog_cc_cross
16114 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16115 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16116 for ac_func in _modfl
16118 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16119 echo "configure:16120: checking for $ac_func" >&5
16120 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16121 echo $ac_n "(cached) $ac_c" 1>&6
16122 else
16123 cat > conftest.$ac_ext <<EOF
16124 #line 16125 "configure"
16125 #include "confdefs.h"
16126 /* System header to define __stub macros and hopefully few prototypes,
16127 which can conflict with char $ac_func(); below. */
16128 #include <assert.h>
16129 /* Override any gcc2 internal prototype to avoid an error. */
16130 /* We use char because int might match the return type of a gcc2
16131 builtin and then its argument prototype would still apply. */
16132 char $ac_func();
16134 int main() {
16136 /* The GNU C library defines this for functions which it implements
16137 to always fail with ENOSYS. Some functions are actually named
16138 something starting with __ and the normal name is an alias. */
16139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16140 choke me
16141 #else
16142 $ac_func();
16143 #endif
16145 ; return 0; }
16147 if { (eval echo configure:16148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16148 rm -rf conftest*
16149 eval "ac_cv_func_$ac_func=yes"
16150 else
16151 echo "configure: failed program was:" >&5
16152 cat conftest.$ac_ext >&5
16153 rm -rf conftest*
16154 eval "ac_cv_func_$ac_func=no"
16156 rm -f conftest*
16159 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16160 echo "$ac_t""yes" 1>&6
16161 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16162 cat >> confdefs.h <<EOF
16163 #define $ac_tr_func 1
16166 else
16167 echo "$ac_t""no" 1>&6
16169 done
16174 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16175 echo "configure:16176: checking for _powl declaration" >&5
16176 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16177 echo $ac_n "(cached) $ac_c" 1>&6
16178 else
16181 ac_ext=C
16182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16183 ac_cpp='$CXXCPP $CPPFLAGS'
16184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16186 cross_compiling=$ac_cv_prog_cxx_cross
16188 cat > conftest.$ac_ext <<EOF
16189 #line 16190 "configure"
16190 #include "confdefs.h"
16191 #include <math.h>
16192 int main() {
16193 _powl(0, 0);
16194 ; return 0; }
16196 if { (eval echo configure:16197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16197 rm -rf conftest*
16198 glibcpp_cv_func__powl_use=yes
16199 else
16200 echo "configure: failed program was:" >&5
16201 cat conftest.$ac_ext >&5
16202 rm -rf conftest*
16203 glibcpp_cv_func__powl_use=no
16205 rm -f conftest*
16206 ac_ext=c
16207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16208 ac_cpp='$CPP $CPPFLAGS'
16209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16211 cross_compiling=$ac_cv_prog_cc_cross
16216 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16217 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16218 for ac_func in _powl
16220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16221 echo "configure:16222: checking for $ac_func" >&5
16222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16223 echo $ac_n "(cached) $ac_c" 1>&6
16224 else
16225 cat > conftest.$ac_ext <<EOF
16226 #line 16227 "configure"
16227 #include "confdefs.h"
16228 /* System header to define __stub macros and hopefully few prototypes,
16229 which can conflict with char $ac_func(); below. */
16230 #include <assert.h>
16231 /* Override any gcc2 internal prototype to avoid an error. */
16232 /* We use char because int might match the return type of a gcc2
16233 builtin and then its argument prototype would still apply. */
16234 char $ac_func();
16236 int main() {
16238 /* The GNU C library defines this for functions which it implements
16239 to always fail with ENOSYS. Some functions are actually named
16240 something starting with __ and the normal name is an alias. */
16241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16242 choke me
16243 #else
16244 $ac_func();
16245 #endif
16247 ; return 0; }
16249 if { (eval echo configure:16250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16250 rm -rf conftest*
16251 eval "ac_cv_func_$ac_func=yes"
16252 else
16253 echo "configure: failed program was:" >&5
16254 cat conftest.$ac_ext >&5
16255 rm -rf conftest*
16256 eval "ac_cv_func_$ac_func=no"
16258 rm -f conftest*
16261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16262 echo "$ac_t""yes" 1>&6
16263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16264 cat >> confdefs.h <<EOF
16265 #define $ac_tr_func 1
16268 else
16269 echo "$ac_t""no" 1>&6
16271 done
16276 echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16277 echo "configure:16278: checking for _sinl declaration" >&5
16278 if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16279 echo $ac_n "(cached) $ac_c" 1>&6
16280 else
16283 ac_ext=C
16284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16285 ac_cpp='$CXXCPP $CPPFLAGS'
16286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16288 cross_compiling=$ac_cv_prog_cxx_cross
16290 cat > conftest.$ac_ext <<EOF
16291 #line 16292 "configure"
16292 #include "confdefs.h"
16293 #include <math.h>
16294 int main() {
16295 _sinl(0);
16296 ; return 0; }
16298 if { (eval echo configure:16299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16299 rm -rf conftest*
16300 glibcpp_cv_func__sinl_use=yes
16301 else
16302 echo "configure: failed program was:" >&5
16303 cat conftest.$ac_ext >&5
16304 rm -rf conftest*
16305 glibcpp_cv_func__sinl_use=no
16307 rm -f conftest*
16308 ac_ext=c
16309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16310 ac_cpp='$CPP $CPPFLAGS'
16311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16313 cross_compiling=$ac_cv_prog_cc_cross
16318 echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16319 if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16320 for ac_func in _sinl
16322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16323 echo "configure:16324: checking for $ac_func" >&5
16324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16325 echo $ac_n "(cached) $ac_c" 1>&6
16326 else
16327 cat > conftest.$ac_ext <<EOF
16328 #line 16329 "configure"
16329 #include "confdefs.h"
16330 /* System header to define __stub macros and hopefully few prototypes,
16331 which can conflict with char $ac_func(); below. */
16332 #include <assert.h>
16333 /* Override any gcc2 internal prototype to avoid an error. */
16334 /* We use char because int might match the return type of a gcc2
16335 builtin and then its argument prototype would still apply. */
16336 char $ac_func();
16338 int main() {
16340 /* The GNU C library defines this for functions which it implements
16341 to always fail with ENOSYS. Some functions are actually named
16342 something starting with __ and the normal name is an alias. */
16343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16344 choke me
16345 #else
16346 $ac_func();
16347 #endif
16349 ; return 0; }
16351 if { (eval echo configure:16352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16352 rm -rf conftest*
16353 eval "ac_cv_func_$ac_func=yes"
16354 else
16355 echo "configure: failed program was:" >&5
16356 cat conftest.$ac_ext >&5
16357 rm -rf conftest*
16358 eval "ac_cv_func_$ac_func=no"
16360 rm -f conftest*
16363 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16364 echo "$ac_t""yes" 1>&6
16365 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16366 cat >> confdefs.h <<EOF
16367 #define $ac_tr_func 1
16370 else
16371 echo "$ac_t""no" 1>&6
16373 done
16378 echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16379 echo "configure:16380: checking for _sinhl declaration" >&5
16380 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16381 echo $ac_n "(cached) $ac_c" 1>&6
16382 else
16385 ac_ext=C
16386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16387 ac_cpp='$CXXCPP $CPPFLAGS'
16388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16390 cross_compiling=$ac_cv_prog_cxx_cross
16392 cat > conftest.$ac_ext <<EOF
16393 #line 16394 "configure"
16394 #include "confdefs.h"
16395 #include <math.h>
16396 int main() {
16397 _sinhl(0);
16398 ; return 0; }
16400 if { (eval echo configure:16401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16401 rm -rf conftest*
16402 glibcpp_cv_func__sinhl_use=yes
16403 else
16404 echo "configure: failed program was:" >&5
16405 cat conftest.$ac_ext >&5
16406 rm -rf conftest*
16407 glibcpp_cv_func__sinhl_use=no
16409 rm -f conftest*
16410 ac_ext=c
16411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16412 ac_cpp='$CPP $CPPFLAGS'
16413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16415 cross_compiling=$ac_cv_prog_cc_cross
16420 echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16421 if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16422 for ac_func in _sinhl
16424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16425 echo "configure:16426: checking for $ac_func" >&5
16426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16427 echo $ac_n "(cached) $ac_c" 1>&6
16428 else
16429 cat > conftest.$ac_ext <<EOF
16430 #line 16431 "configure"
16431 #include "confdefs.h"
16432 /* System header to define __stub macros and hopefully few prototypes,
16433 which can conflict with char $ac_func(); below. */
16434 #include <assert.h>
16435 /* Override any gcc2 internal prototype to avoid an error. */
16436 /* We use char because int might match the return type of a gcc2
16437 builtin and then its argument prototype would still apply. */
16438 char $ac_func();
16440 int main() {
16442 /* The GNU C library defines this for functions which it implements
16443 to always fail with ENOSYS. Some functions are actually named
16444 something starting with __ and the normal name is an alias. */
16445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16446 choke me
16447 #else
16448 $ac_func();
16449 #endif
16451 ; return 0; }
16453 if { (eval echo configure:16454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16454 rm -rf conftest*
16455 eval "ac_cv_func_$ac_func=yes"
16456 else
16457 echo "configure: failed program was:" >&5
16458 cat conftest.$ac_ext >&5
16459 rm -rf conftest*
16460 eval "ac_cv_func_$ac_func=no"
16462 rm -f conftest*
16465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16466 echo "$ac_t""yes" 1>&6
16467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16468 cat >> confdefs.h <<EOF
16469 #define $ac_tr_func 1
16472 else
16473 echo "$ac_t""no" 1>&6
16475 done
16480 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16481 echo "configure:16482: checking for _sqrtl declaration" >&5
16482 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16483 echo $ac_n "(cached) $ac_c" 1>&6
16484 else
16487 ac_ext=C
16488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16489 ac_cpp='$CXXCPP $CPPFLAGS'
16490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16492 cross_compiling=$ac_cv_prog_cxx_cross
16494 cat > conftest.$ac_ext <<EOF
16495 #line 16496 "configure"
16496 #include "confdefs.h"
16497 #include <math.h>
16498 int main() {
16499 _sqrtl(0);
16500 ; return 0; }
16502 if { (eval echo configure:16503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16503 rm -rf conftest*
16504 glibcpp_cv_func__sqrtl_use=yes
16505 else
16506 echo "configure: failed program was:" >&5
16507 cat conftest.$ac_ext >&5
16508 rm -rf conftest*
16509 glibcpp_cv_func__sqrtl_use=no
16511 rm -f conftest*
16512 ac_ext=c
16513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16514 ac_cpp='$CPP $CPPFLAGS'
16515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16517 cross_compiling=$ac_cv_prog_cc_cross
16522 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16523 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16524 for ac_func in _sqrtl
16526 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16527 echo "configure:16528: checking for $ac_func" >&5
16528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16529 echo $ac_n "(cached) $ac_c" 1>&6
16530 else
16531 cat > conftest.$ac_ext <<EOF
16532 #line 16533 "configure"
16533 #include "confdefs.h"
16534 /* System header to define __stub macros and hopefully few prototypes,
16535 which can conflict with char $ac_func(); below. */
16536 #include <assert.h>
16537 /* Override any gcc2 internal prototype to avoid an error. */
16538 /* We use char because int might match the return type of a gcc2
16539 builtin and then its argument prototype would still apply. */
16540 char $ac_func();
16542 int main() {
16544 /* The GNU C library defines this for functions which it implements
16545 to always fail with ENOSYS. Some functions are actually named
16546 something starting with __ and the normal name is an alias. */
16547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16548 choke me
16549 #else
16550 $ac_func();
16551 #endif
16553 ; return 0; }
16555 if { (eval echo configure:16556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16556 rm -rf conftest*
16557 eval "ac_cv_func_$ac_func=yes"
16558 else
16559 echo "configure: failed program was:" >&5
16560 cat conftest.$ac_ext >&5
16561 rm -rf conftest*
16562 eval "ac_cv_func_$ac_func=no"
16564 rm -f conftest*
16567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16568 echo "$ac_t""yes" 1>&6
16569 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16570 cat >> confdefs.h <<EOF
16571 #define $ac_tr_func 1
16574 else
16575 echo "$ac_t""no" 1>&6
16577 done
16582 echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16583 echo "configure:16584: checking for _tanl declaration" >&5
16584 if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16585 echo $ac_n "(cached) $ac_c" 1>&6
16586 else
16589 ac_ext=C
16590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16591 ac_cpp='$CXXCPP $CPPFLAGS'
16592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16594 cross_compiling=$ac_cv_prog_cxx_cross
16596 cat > conftest.$ac_ext <<EOF
16597 #line 16598 "configure"
16598 #include "confdefs.h"
16599 #include <math.h>
16600 int main() {
16601 _tanl(0);
16602 ; return 0; }
16604 if { (eval echo configure:16605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16605 rm -rf conftest*
16606 glibcpp_cv_func__tanl_use=yes
16607 else
16608 echo "configure: failed program was:" >&5
16609 cat conftest.$ac_ext >&5
16610 rm -rf conftest*
16611 glibcpp_cv_func__tanl_use=no
16613 rm -f conftest*
16614 ac_ext=c
16615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16616 ac_cpp='$CPP $CPPFLAGS'
16617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16619 cross_compiling=$ac_cv_prog_cc_cross
16624 echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16625 if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16626 for ac_func in _tanl
16628 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16629 echo "configure:16630: checking for $ac_func" >&5
16630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16631 echo $ac_n "(cached) $ac_c" 1>&6
16632 else
16633 cat > conftest.$ac_ext <<EOF
16634 #line 16635 "configure"
16635 #include "confdefs.h"
16636 /* System header to define __stub macros and hopefully few prototypes,
16637 which can conflict with char $ac_func(); below. */
16638 #include <assert.h>
16639 /* Override any gcc2 internal prototype to avoid an error. */
16640 /* We use char because int might match the return type of a gcc2
16641 builtin and then its argument prototype would still apply. */
16642 char $ac_func();
16644 int main() {
16646 /* The GNU C library defines this for functions which it implements
16647 to always fail with ENOSYS. Some functions are actually named
16648 something starting with __ and the normal name is an alias. */
16649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16650 choke me
16651 #else
16652 $ac_func();
16653 #endif
16655 ; return 0; }
16657 if { (eval echo configure:16658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16658 rm -rf conftest*
16659 eval "ac_cv_func_$ac_func=yes"
16660 else
16661 echo "configure: failed program was:" >&5
16662 cat conftest.$ac_ext >&5
16663 rm -rf conftest*
16664 eval "ac_cv_func_$ac_func=no"
16666 rm -f conftest*
16669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16670 echo "$ac_t""yes" 1>&6
16671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16672 cat >> confdefs.h <<EOF
16673 #define $ac_tr_func 1
16676 else
16677 echo "$ac_t""no" 1>&6
16679 done
16684 echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16685 echo "configure:16686: checking for _tanhl declaration" >&5
16686 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16687 echo $ac_n "(cached) $ac_c" 1>&6
16688 else
16691 ac_ext=C
16692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16693 ac_cpp='$CXXCPP $CPPFLAGS'
16694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16696 cross_compiling=$ac_cv_prog_cxx_cross
16698 cat > conftest.$ac_ext <<EOF
16699 #line 16700 "configure"
16700 #include "confdefs.h"
16701 #include <math.h>
16702 int main() {
16703 _tanhl(0);
16704 ; return 0; }
16706 if { (eval echo configure:16707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16707 rm -rf conftest*
16708 glibcpp_cv_func__tanhl_use=yes
16709 else
16710 echo "configure: failed program was:" >&5
16711 cat conftest.$ac_ext >&5
16712 rm -rf conftest*
16713 glibcpp_cv_func__tanhl_use=no
16715 rm -f conftest*
16716 ac_ext=c
16717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16718 ac_cpp='$CPP $CPPFLAGS'
16719 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16720 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16721 cross_compiling=$ac_cv_prog_cc_cross
16726 echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
16727 if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
16728 for ac_func in _tanhl
16730 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16731 echo "configure:16732: checking for $ac_func" >&5
16732 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16733 echo $ac_n "(cached) $ac_c" 1>&6
16734 else
16735 cat > conftest.$ac_ext <<EOF
16736 #line 16737 "configure"
16737 #include "confdefs.h"
16738 /* System header to define __stub macros and hopefully few prototypes,
16739 which can conflict with char $ac_func(); below. */
16740 #include <assert.h>
16741 /* Override any gcc2 internal prototype to avoid an error. */
16742 /* We use char because int might match the return type of a gcc2
16743 builtin and then its argument prototype would still apply. */
16744 char $ac_func();
16746 int main() {
16748 /* The GNU C library defines this for functions which it implements
16749 to always fail with ENOSYS. Some functions are actually named
16750 something starting with __ and the normal name is an alias. */
16751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16752 choke me
16753 #else
16754 $ac_func();
16755 #endif
16757 ; return 0; }
16759 if { (eval echo configure:16760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16760 rm -rf conftest*
16761 eval "ac_cv_func_$ac_func=yes"
16762 else
16763 echo "configure: failed program was:" >&5
16764 cat conftest.$ac_ext >&5
16765 rm -rf conftest*
16766 eval "ac_cv_func_$ac_func=no"
16768 rm -f conftest*
16771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16772 echo "$ac_t""yes" 1>&6
16773 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16774 cat >> confdefs.h <<EOF
16775 #define $ac_tr_func 1
16778 else
16779 echo "$ac_t""no" 1>&6
16781 done
16786 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16787 echo "configure:16788: checking for _sincosl declaration" >&5
16788 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16789 echo $ac_n "(cached) $ac_c" 1>&6
16790 else
16793 ac_ext=C
16794 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16795 ac_cpp='$CXXCPP $CPPFLAGS'
16796 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16797 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16798 cross_compiling=$ac_cv_prog_cxx_cross
16800 cat > conftest.$ac_ext <<EOF
16801 #line 16802 "configure"
16802 #include "confdefs.h"
16803 #include <math.h>
16804 int main() {
16805 _sincosl(0, 0, 0);
16806 ; return 0; }
16808 if { (eval echo configure:16809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16809 rm -rf conftest*
16810 glibcpp_cv_func__sincosl_use=yes
16811 else
16812 echo "configure: failed program was:" >&5
16813 cat conftest.$ac_ext >&5
16814 rm -rf conftest*
16815 glibcpp_cv_func__sincosl_use=no
16817 rm -f conftest*
16818 ac_ext=c
16819 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16820 ac_cpp='$CPP $CPPFLAGS'
16821 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16822 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16823 cross_compiling=$ac_cv_prog_cc_cross
16828 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16829 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16830 for ac_func in _sincosl
16832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16833 echo "configure:16834: checking for $ac_func" >&5
16834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16835 echo $ac_n "(cached) $ac_c" 1>&6
16836 else
16837 cat > conftest.$ac_ext <<EOF
16838 #line 16839 "configure"
16839 #include "confdefs.h"
16840 /* System header to define __stub macros and hopefully few prototypes,
16841 which can conflict with char $ac_func(); below. */
16842 #include <assert.h>
16843 /* Override any gcc2 internal prototype to avoid an error. */
16844 /* We use char because int might match the return type of a gcc2
16845 builtin and then its argument prototype would still apply. */
16846 char $ac_func();
16848 int main() {
16850 /* The GNU C library defines this for functions which it implements
16851 to always fail with ENOSYS. Some functions are actually named
16852 something starting with __ and the normal name is an alias. */
16853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16854 choke me
16855 #else
16856 $ac_func();
16857 #endif
16859 ; return 0; }
16861 if { (eval echo configure:16862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16862 rm -rf conftest*
16863 eval "ac_cv_func_$ac_func=yes"
16864 else
16865 echo "configure: failed program was:" >&5
16866 cat conftest.$ac_ext >&5
16867 rm -rf conftest*
16868 eval "ac_cv_func_$ac_func=no"
16870 rm -f conftest*
16873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16874 echo "$ac_t""yes" 1>&6
16875 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16876 cat >> confdefs.h <<EOF
16877 #define $ac_tr_func 1
16880 else
16881 echo "$ac_t""no" 1>&6
16883 done
16888 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
16889 echo "configure:16890: checking for _finitel declaration" >&5
16890 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
16891 echo $ac_n "(cached) $ac_c" 1>&6
16892 else
16895 ac_ext=C
16896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16897 ac_cpp='$CXXCPP $CPPFLAGS'
16898 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16899 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16900 cross_compiling=$ac_cv_prog_cxx_cross
16902 cat > conftest.$ac_ext <<EOF
16903 #line 16904 "configure"
16904 #include "confdefs.h"
16905 #include <math.h>
16906 int main() {
16907 _finitel(0);
16908 ; return 0; }
16910 if { (eval echo configure:16911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16911 rm -rf conftest*
16912 glibcpp_cv_func__finitel_use=yes
16913 else
16914 echo "configure: failed program was:" >&5
16915 cat conftest.$ac_ext >&5
16916 rm -rf conftest*
16917 glibcpp_cv_func__finitel_use=no
16919 rm -f conftest*
16920 ac_ext=c
16921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16922 ac_cpp='$CPP $CPPFLAGS'
16923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16925 cross_compiling=$ac_cv_prog_cc_cross
16930 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
16931 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
16932 for ac_func in _finitel
16934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16935 echo "configure:16936: checking for $ac_func" >&5
16936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16937 echo $ac_n "(cached) $ac_c" 1>&6
16938 else
16939 cat > conftest.$ac_ext <<EOF
16940 #line 16941 "configure"
16941 #include "confdefs.h"
16942 /* System header to define __stub macros and hopefully few prototypes,
16943 which can conflict with char $ac_func(); below. */
16944 #include <assert.h>
16945 /* Override any gcc2 internal prototype to avoid an error. */
16946 /* We use char because int might match the return type of a gcc2
16947 builtin and then its argument prototype would still apply. */
16948 char $ac_func();
16950 int main() {
16952 /* The GNU C library defines this for functions which it implements
16953 to always fail with ENOSYS. Some functions are actually named
16954 something starting with __ and the normal name is an alias. */
16955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16956 choke me
16957 #else
16958 $ac_func();
16959 #endif
16961 ; return 0; }
16963 if { (eval echo configure:16964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16964 rm -rf conftest*
16965 eval "ac_cv_func_$ac_func=yes"
16966 else
16967 echo "configure: failed program was:" >&5
16968 cat conftest.$ac_ext >&5
16969 rm -rf conftest*
16970 eval "ac_cv_func_$ac_func=no"
16972 rm -f conftest*
16975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16976 echo "$ac_t""yes" 1>&6
16977 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16978 cat >> confdefs.h <<EOF
16979 #define $ac_tr_func 1
16982 else
16983 echo "$ac_t""no" 1>&6
16985 done
16990 LIBS="$ac_save_LIBS"
16991 CXXFLAGS="$ac_save_CXXFLAGS"
16994 for ac_hdr in complex.h
16996 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16997 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16998 echo "configure:16999: checking for $ac_hdr" >&5
16999 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17000 echo $ac_n "(cached) $ac_c" 1>&6
17001 else
17002 cat > conftest.$ac_ext <<EOF
17003 #line 17004 "configure"
17004 #include "confdefs.h"
17005 #include <$ac_hdr>
17007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17008 { (eval echo configure:17009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17010 if test -z "$ac_err"; then
17011 rm -rf conftest*
17012 eval "ac_cv_header_$ac_safe=yes"
17013 else
17014 echo "$ac_err" >&5
17015 echo "configure: failed program was:" >&5
17016 cat conftest.$ac_ext >&5
17017 rm -rf conftest*
17018 eval "ac_cv_header_$ac_safe=no"
17020 rm -f conftest*
17022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17023 echo "$ac_t""yes" 1>&6
17024 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17025 cat >> confdefs.h <<EOF
17026 #define $ac_tr_hdr 1
17029 else
17030 echo "$ac_t""no" 1>&6
17032 done
17034 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
17035 echo "configure:17036: checking for main in -lm" >&5
17036 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
17037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17038 echo $ac_n "(cached) $ac_c" 1>&6
17039 else
17040 ac_save_LIBS="$LIBS"
17041 LIBS="-lm $LIBS"
17042 cat > conftest.$ac_ext <<EOF
17043 #line 17044 "configure"
17044 #include "confdefs.h"
17046 int main() {
17047 main()
17048 ; return 0; }
17050 if { (eval echo configure:17051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17051 rm -rf conftest*
17052 eval "ac_cv_lib_$ac_lib_var=yes"
17053 else
17054 echo "configure: failed program was:" >&5
17055 cat conftest.$ac_ext >&5
17056 rm -rf conftest*
17057 eval "ac_cv_lib_$ac_lib_var=no"
17059 rm -f conftest*
17060 LIBS="$ac_save_LIBS"
17063 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17064 echo "$ac_t""yes" 1>&6
17065 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
17066 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17067 cat >> confdefs.h <<EOF
17068 #define $ac_tr_lib 1
17071 LIBS="-lm $LIBS"
17073 else
17074 echo "$ac_t""no" 1>&6
17077 for ac_func in ccos ccosf ccosh ccoshf cexp cexpf \
17078 c_log c_logf clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt \
17079 csqrtf ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf \
17080 copysignf
17082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17083 echo "configure:17084: checking for $ac_func" >&5
17084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17085 echo $ac_n "(cached) $ac_c" 1>&6
17086 else
17087 cat > conftest.$ac_ext <<EOF
17088 #line 17089 "configure"
17089 #include "confdefs.h"
17090 /* System header to define __stub macros and hopefully few prototypes,
17091 which can conflict with char $ac_func(); below. */
17092 #include <assert.h>
17093 /* Override any gcc2 internal prototype to avoid an error. */
17094 /* We use char because int might match the return type of a gcc2
17095 builtin and then its argument prototype would still apply. */
17096 char $ac_func();
17098 int main() {
17100 /* The GNU C library defines this for functions which it implements
17101 to always fail with ENOSYS. Some functions are actually named
17102 something starting with __ and the normal name is an alias. */
17103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17104 choke me
17105 #else
17106 $ac_func();
17107 #endif
17109 ; return 0; }
17111 if { (eval echo configure:17112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17112 rm -rf conftest*
17113 eval "ac_cv_func_$ac_func=yes"
17114 else
17115 echo "configure: failed program was:" >&5
17116 cat conftest.$ac_ext >&5
17117 rm -rf conftest*
17118 eval "ac_cv_func_$ac_func=no"
17120 rm -f conftest*
17123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17124 echo "$ac_t""yes" 1>&6
17125 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17126 cat >> confdefs.h <<EOF
17127 #define $ac_tr_func 1
17130 else
17131 echo "$ac_t""no" 1>&6
17132 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17134 done
17138 USE_COMPLEX_LONG_DOUBLE=no
17139 if test x$ac_cv_func_atan2l = x"yes" \
17140 && test x$ac_cv_func_copysignl = x"yes"; then
17141 USE_COMPLEX_LONG_DOUBLE=yes
17142 for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
17143 csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17146 echo "configure:17147: checking for $ac_func" >&5
17147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17148 echo $ac_n "(cached) $ac_c" 1>&6
17149 else
17150 cat > conftest.$ac_ext <<EOF
17151 #line 17152 "configure"
17152 #include "confdefs.h"
17153 /* System header to define __stub macros and hopefully few prototypes,
17154 which can conflict with char $ac_func(); below. */
17155 #include <assert.h>
17156 /* Override any gcc2 internal prototype to avoid an error. */
17157 /* We use char because int might match the return type of a gcc2
17158 builtin and then its argument prototype would still apply. */
17159 char $ac_func();
17161 int main() {
17163 /* The GNU C library defines this for functions which it implements
17164 to always fail with ENOSYS. Some functions are actually named
17165 something starting with __ and the normal name is an alias. */
17166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17167 choke me
17168 #else
17169 $ac_func();
17170 #endif
17172 ; return 0; }
17174 if { (eval echo configure:17175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17175 rm -rf conftest*
17176 eval "ac_cv_func_$ac_func=yes"
17177 else
17178 echo "configure: failed program was:" >&5
17179 cat conftest.$ac_ext >&5
17180 rm -rf conftest*
17181 eval "ac_cv_func_$ac_func=no"
17183 rm -f conftest*
17186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17187 echo "$ac_t""yes" 1>&6
17188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17189 cat >> confdefs.h <<EOF
17190 #define $ac_tr_func 1
17193 else
17194 echo "$ac_t""no" 1>&6
17195 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17197 done
17207 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17208 echo "configure:17209: checking for GNU C++ __complex__ support" >&5
17209 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17210 echo $ac_n "(cached) $ac_c" 1>&6
17211 else
17214 ac_ext=C
17215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17216 ac_cpp='$CXXCPP $CPPFLAGS'
17217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17219 cross_compiling=$ac_cv_prog_cxx_cross
17221 cat > conftest.$ac_ext <<EOF
17222 #line 17223 "configure"
17223 #include "confdefs.h"
17224 struct dcomplex { __complex__ double x; }; \
17225 dcomplex f(const dcomplex& x) { return dcomplex(x); }
17226 int main() {
17228 dcomplex x; f(x);
17229 ; return 0; }
17231 if { (eval echo configure:17232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17232 rm -rf conftest*
17233 glibcpp_cv_complex=ok
17234 else
17235 echo "configure: failed program was:" >&5
17236 cat conftest.$ac_ext >&5
17237 rm -rf conftest*
17238 glibcpp_cv_complex=buggy
17241 rm -f conftest*
17242 ac_ext=c
17243 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17244 ac_cpp='$CPP $CPPFLAGS'
17245 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17246 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17247 cross_compiling=$ac_cv_prog_cc_cross
17252 echo "$ac_t""$glibcpp_cv_complex" 1>&6
17253 if test $glibcpp_cv_complex = buggy; then
17254 cat >> confdefs.h <<\EOF
17255 #define _GLIBCPP_BUGGY_COMPLEX 1
17260 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17261 echo "configure:17262: checking for GNU C++ __complex__ float support" >&5
17262 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17263 echo $ac_n "(cached) $ac_c" 1>&6
17264 else
17267 ac_ext=C
17268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17269 ac_cpp='$CXXCPP $CPPFLAGS'
17270 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17271 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17272 cross_compiling=$ac_cv_prog_cxx_cross
17274 rm -f conftest.h
17275 cat > conftest.h <<EOB
17277 // Check for buggy __complex__ that causes ICE in most versions of egcs
17278 // and gcc-2.95.x on certain platforms (eg., x86-win32).
17280 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
17281 // more info on the bug itself.
17283 struct
17284 float_complex
17286 __complex__ float m_value;
17287 float_complex (float = 0.0f, float = 0.0f);
17288 float_complex (__complex__ float val) : m_value (val) {}
17289 float_complex foo (const float_complex &val)
17290 { return float_complex (~val.m_value); }
17293 cat > conftest.$ac_ext <<EOF
17294 #line 17295 "configure"
17295 #include "confdefs.h"
17296 #include "conftest.h"
17297 int main() {
17299 ; return 0; }
17301 if { (eval echo configure:17302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17302 rm -rf conftest*
17303 glibcpp_cv_float_complex=ok
17304 else
17305 echo "configure: failed program was:" >&5
17306 cat conftest.$ac_ext >&5
17307 rm -rf conftest*
17308 glibcpp_cv_float_complex=buggy
17311 rm -f conftest*
17312 ac_ext=c
17313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17314 ac_cpp='$CPP $CPPFLAGS'
17315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17317 cross_compiling=$ac_cv_prog_cc_cross
17322 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17323 if test $glibcpp_cv_float_complex = buggy; then
17324 cat >> confdefs.h <<\EOF
17325 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17331 if test x$enable_c_mbchar != xno; then
17333 ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17334 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17335 echo "configure:17336: checking for wchar.h" >&5
17336 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17337 echo $ac_n "(cached) $ac_c" 1>&6
17338 else
17339 cat > conftest.$ac_ext <<EOF
17340 #line 17341 "configure"
17341 #include "confdefs.h"
17342 #include <wchar.h>
17344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17345 { (eval echo configure:17346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17347 if test -z "$ac_err"; then
17348 rm -rf conftest*
17349 eval "ac_cv_header_$ac_safe=yes"
17350 else
17351 echo "$ac_err" >&5
17352 echo "configure: failed program was:" >&5
17353 cat conftest.$ac_ext >&5
17354 rm -rf conftest*
17355 eval "ac_cv_header_$ac_safe=no"
17357 rm -f conftest*
17359 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17360 echo "$ac_t""yes" 1>&6
17361 ac_has_wchar_h=yes
17362 else
17363 echo "$ac_t""no" 1>&6
17364 ac_has_wchar_h=no
17367 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17368 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17369 echo "configure:17370: checking for wctype.h" >&5
17370 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17371 echo $ac_n "(cached) $ac_c" 1>&6
17372 else
17373 cat > conftest.$ac_ext <<EOF
17374 #line 17375 "configure"
17375 #include "confdefs.h"
17376 #include <wctype.h>
17378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17379 { (eval echo configure:17380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17381 if test -z "$ac_err"; then
17382 rm -rf conftest*
17383 eval "ac_cv_header_$ac_safe=yes"
17384 else
17385 echo "$ac_err" >&5
17386 echo "configure: failed program was:" >&5
17387 cat conftest.$ac_ext >&5
17388 rm -rf conftest*
17389 eval "ac_cv_header_$ac_safe=no"
17391 rm -f conftest*
17393 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17394 echo "$ac_t""yes" 1>&6
17395 ac_has_wctype_h=yes
17396 else
17397 echo "$ac_t""no" 1>&6
17398 ac_has_wctype_h=no
17402 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17404 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17405 echo "configure:17406: checking for mbstate_t" >&5
17406 cat > conftest.$ac_ext <<EOF
17407 #line 17408 "configure"
17408 #include "confdefs.h"
17409 #include <wchar.h>
17410 int main() {
17411 mbstate_t teststate;
17412 ; return 0; }
17414 if { (eval echo configure:17415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17415 rm -rf conftest*
17416 use_native_mbstatet=yes
17417 else
17418 echo "configure: failed program was:" >&5
17419 cat conftest.$ac_ext >&5
17420 rm -rf conftest*
17421 use_native_mbstatet=no
17423 rm -f conftest*
17424 echo "$ac_t""$use_native_mbstatet" 1>&6
17425 if test x"$use_native_mbstatet" = xno; then
17426 cat >> confdefs.h <<\EOF
17427 #define _GLIBCPP_NEED_MBSTATE_T 1
17432 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17433 echo "configure:17434: checking for WCHAR_MIN and WCHAR_MAX" >&5
17434 cat > conftest.$ac_ext <<EOF
17435 #line 17436 "configure"
17436 #include "confdefs.h"
17437 #include <wchar.h>
17438 int main() {
17439 int i = WCHAR_MIN; int j = WCHAR_MAX;
17440 ; return 0; }
17442 if { (eval echo configure:17443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17443 rm -rf conftest*
17444 has_wchar_minmax=yes
17445 else
17446 echo "configure: failed program was:" >&5
17447 cat conftest.$ac_ext >&5
17448 rm -rf conftest*
17449 has_wchar_minmax=no
17451 rm -f conftest*
17452 echo "$ac_t""$has_wchar_minmax" 1>&6
17454 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17455 echo "configure:17456: checking for WEOF" >&5
17456 cat > conftest.$ac_ext <<EOF
17457 #line 17458 "configure"
17458 #include "confdefs.h"
17460 #include <wchar.h>
17461 #include <stddef.h>
17462 int main() {
17463 wint_t i = WEOF;
17464 ; return 0; }
17466 if { (eval echo configure:17467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17467 rm -rf conftest*
17468 has_weof=yes
17469 else
17470 echo "configure: failed program was:" >&5
17471 cat conftest.$ac_ext >&5
17472 rm -rf conftest*
17473 has_weof=no
17475 rm -f conftest*
17476 echo "$ac_t""$has_weof" 1>&6
17478 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
17479 wcsrtombs mbsrtowcs
17481 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17482 echo "configure:17483: checking for $ac_func" >&5
17483 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17484 echo $ac_n "(cached) $ac_c" 1>&6
17485 else
17486 cat > conftest.$ac_ext <<EOF
17487 #line 17488 "configure"
17488 #include "confdefs.h"
17489 /* System header to define __stub macros and hopefully few prototypes,
17490 which can conflict with char $ac_func(); below. */
17491 #include <assert.h>
17492 /* Override any gcc2 internal prototype to avoid an error. */
17493 /* We use char because int might match the return type of a gcc2
17494 builtin and then its argument prototype would still apply. */
17495 char $ac_func();
17497 int main() {
17499 /* The GNU C library defines this for functions which it implements
17500 to always fail with ENOSYS. Some functions are actually named
17501 something starting with __ and the normal name is an alias. */
17502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17503 choke me
17504 #else
17505 $ac_func();
17506 #endif
17508 ; return 0; }
17510 if { (eval echo configure:17511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17511 rm -rf conftest*
17512 eval "ac_cv_func_$ac_func=yes"
17513 else
17514 echo "configure: failed program was:" >&5
17515 cat conftest.$ac_ext >&5
17516 rm -rf conftest*
17517 eval "ac_cv_func_$ac_func=no"
17519 rm -f conftest*
17522 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17523 echo "$ac_t""yes" 1>&6
17524 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17525 cat >> confdefs.h <<EOF
17526 #define $ac_tr_func 1
17528 ac_wfuncs=yes
17529 else
17530 echo "$ac_t""no" 1>&6
17531 ac_wfuncs=no
17533 done
17536 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
17537 echo "configure:17538: checking for ISO C99 wchar_t support" >&5
17538 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
17539 && test x"$ac_wfuncs" = xyes; then
17540 ac_isoC99_wchar_t=yes
17541 else
17542 ac_isoC99_wchar_t=no
17544 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
17546 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17547 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17548 echo "configure:17549: checking for iconv.h" >&5
17549 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17550 echo $ac_n "(cached) $ac_c" 1>&6
17551 else
17552 cat > conftest.$ac_ext <<EOF
17553 #line 17554 "configure"
17554 #include "confdefs.h"
17555 #include <iconv.h>
17557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17558 { (eval echo configure:17559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17560 if test -z "$ac_err"; then
17561 rm -rf conftest*
17562 eval "ac_cv_header_$ac_safe=yes"
17563 else
17564 echo "$ac_err" >&5
17565 echo "configure: failed program was:" >&5
17566 cat conftest.$ac_ext >&5
17567 rm -rf conftest*
17568 eval "ac_cv_header_$ac_safe=no"
17570 rm -f conftest*
17572 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17573 echo "$ac_t""yes" 1>&6
17574 ac_has_iconv_h=yes
17575 else
17576 echo "$ac_t""no" 1>&6
17577 ac_has_iconv_h=no
17580 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17581 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17582 echo "configure:17583: checking for langinfo.h" >&5
17583 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17584 echo $ac_n "(cached) $ac_c" 1>&6
17585 else
17586 cat > conftest.$ac_ext <<EOF
17587 #line 17588 "configure"
17588 #include "confdefs.h"
17589 #include <langinfo.h>
17591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17592 { (eval echo configure:17593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17594 if test -z "$ac_err"; then
17595 rm -rf conftest*
17596 eval "ac_cv_header_$ac_safe=yes"
17597 else
17598 echo "$ac_err" >&5
17599 echo "configure: failed program was:" >&5
17600 cat conftest.$ac_ext >&5
17601 rm -rf conftest*
17602 eval "ac_cv_header_$ac_safe=no"
17604 rm -f conftest*
17606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17607 echo "$ac_t""yes" 1>&6
17608 ac_has_langinfo_h=yes
17609 else
17610 echo "$ac_t""no" 1>&6
17611 ac_has_langinfo_h=no
17615 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
17616 echo "configure:17617: checking for iconv in -liconv" >&5
17617 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
17618 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17619 echo $ac_n "(cached) $ac_c" 1>&6
17620 else
17621 ac_save_LIBS="$LIBS"
17622 LIBS="-liconv $LIBS"
17623 cat > conftest.$ac_ext <<EOF
17624 #line 17625 "configure"
17625 #include "confdefs.h"
17626 /* Override any gcc2 internal prototype to avoid an error. */
17627 /* We use char because int might match the return type of a gcc2
17628 builtin and then its argument prototype would still apply. */
17629 char iconv();
17631 int main() {
17632 iconv()
17633 ; return 0; }
17635 if { (eval echo configure:17636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17636 rm -rf conftest*
17637 eval "ac_cv_lib_$ac_lib_var=yes"
17638 else
17639 echo "configure: failed program was:" >&5
17640 cat conftest.$ac_ext >&5
17641 rm -rf conftest*
17642 eval "ac_cv_lib_$ac_lib_var=no"
17644 rm -f conftest*
17645 LIBS="$ac_save_LIBS"
17648 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17649 echo "$ac_t""yes" 1>&6
17650 libiconv="-liconv"
17651 else
17652 echo "$ac_t""no" 1>&6
17655 ac_save_LIBS="$LIBS"
17656 LIBS="$LIBS $libiconv"
17658 for ac_func in iconv_open iconv_close iconv nl_langinfo
17660 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17661 echo "configure:17662: checking for $ac_func" >&5
17662 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17663 echo $ac_n "(cached) $ac_c" 1>&6
17664 else
17665 cat > conftest.$ac_ext <<EOF
17666 #line 17667 "configure"
17667 #include "confdefs.h"
17668 /* System header to define __stub macros and hopefully few prototypes,
17669 which can conflict with char $ac_func(); below. */
17670 #include <assert.h>
17671 /* Override any gcc2 internal prototype to avoid an error. */
17672 /* We use char because int might match the return type of a gcc2
17673 builtin and then its argument prototype would still apply. */
17674 char $ac_func();
17676 int main() {
17678 /* The GNU C library defines this for functions which it implements
17679 to always fail with ENOSYS. Some functions are actually named
17680 something starting with __ and the normal name is an alias. */
17681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17682 choke me
17683 #else
17684 $ac_func();
17685 #endif
17687 ; return 0; }
17689 if { (eval echo configure:17690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17690 rm -rf conftest*
17691 eval "ac_cv_func_$ac_func=yes"
17692 else
17693 echo "configure: failed program was:" >&5
17694 cat conftest.$ac_ext >&5
17695 rm -rf conftest*
17696 eval "ac_cv_func_$ac_func=no"
17698 rm -f conftest*
17701 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17702 echo "$ac_t""yes" 1>&6
17703 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17704 cat >> confdefs.h <<EOF
17705 #define $ac_tr_func 1
17708 ac_XPG2funcs=yes
17709 else
17710 echo "$ac_t""no" 1>&6
17711 ac_XPG2funcs=no
17713 done
17716 LIBS="$ac_save_LIBS"
17718 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17719 echo "configure:17720: checking for XPG2 wchar_t support" >&5
17720 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
17721 && test x"$ac_XPG2funcs" = xyes; then
17722 ac_XPG2_wchar_t=yes
17723 else
17724 ac_XPG2_wchar_t=no
17726 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17728 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17729 echo "configure:17730: checking for enabled wchar_t specializations" >&5
17730 if test x"$ac_isoC99_wchar_t" = xyes \
17731 && test x"$ac_XPG2_wchar_t" = xyes; then
17732 libinst_wstring_la="libinst-wstring.la"
17733 cat >> confdefs.h <<\EOF
17734 #define _GLIBCPP_USE_WCHAR_T 1
17737 echo "$ac_t"""yes"" 1>&6
17738 else
17739 libinst_wstring_la=""
17740 echo "$ac_t"""no"" 1>&6
17744 else
17745 echo "configure: warning: <wchar.h> not found" 1>&2
17746 cat >> confdefs.h <<\EOF
17747 #define _GLIBCPP_NEED_MBSTATE_T 1
17752 else
17757 ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17758 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17759 echo "configure:17760: checking for ctype.h" >&5
17760 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17761 echo $ac_n "(cached) $ac_c" 1>&6
17762 else
17763 cat > conftest.$ac_ext <<EOF
17764 #line 17765 "configure"
17765 #include "confdefs.h"
17766 #include <ctype.h>
17768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17769 { (eval echo configure:17770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17770 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17771 if test -z "$ac_err"; then
17772 rm -rf conftest*
17773 eval "ac_cv_header_$ac_safe=yes"
17774 else
17775 echo "$ac_err" >&5
17776 echo "configure: failed program was:" >&5
17777 cat conftest.$ac_ext >&5
17778 rm -rf conftest*
17779 eval "ac_cv_header_$ac_safe=no"
17781 rm -f conftest*
17783 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17784 echo "$ac_t""yes" 1>&6
17787 ctype_default=yes
17789 echo $ac_n "checking <ctype> for GNU/Linux""... $ac_c" 1>&6
17790 echo "configure:17791: checking <ctype> for GNU/Linux" >&5
17791 cat > conftest.$ac_ext <<EOF
17792 #line 17793 "configure"
17793 #include "confdefs.h"
17794 #include <ctype.h>
17795 int main() {
17797 foo (int a)
17798 { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
17799 + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
17800 + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
17801 ; return 0; }
17803 if { (eval echo configure:17804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17804 rm -rf conftest*
17806 ctype_linux=yes
17807 else
17808 echo "configure: failed program was:" >&5
17809 cat conftest.$ac_ext >&5
17810 rm -rf conftest*
17811 ctype_linux=no
17813 rm -f conftest*
17814 echo "$ac_t""$ctype_linux" 1>&6
17815 if test $ctype_linux = "yes"; then
17816 ctype_include_dir="config/os/gnu-linux"
17817 ctype_default=no
17820 if test $ctype_default = "yes"; then
17821 echo $ac_n "checking <ctype> for FreeBSD 4.0""... $ac_c" 1>&6
17822 echo "configure:17823: checking <ctype> for FreeBSD 4.0" >&5
17823 cat > conftest.$ac_ext <<EOF
17824 #line 17825 "configure"
17825 #include "confdefs.h"
17826 #include <ctype.h>
17827 int main() {
17829 foo (int a)
17830 { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
17831 + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
17832 ; return 0; }
17834 if { (eval echo configure:17835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17835 rm -rf conftest*
17837 ctype_bsd=yes
17838 else
17839 echo "configure: failed program was:" >&5
17840 cat conftest.$ac_ext >&5
17841 rm -rf conftest*
17842 ctype_bsd=no
17844 rm -f conftest*
17845 echo "$ac_t""$ctype_bsd" 1>&6
17846 if test $ctype_bsd = "yes"; then
17847 ctype_include_dir="config/os/bsd"
17848 ctype_default=no
17852 if test $ctype_default = "yes"; then
17853 echo $ac_n "checking <ctype> for FreeBSD 3.4""... $ac_c" 1>&6
17854 echo "configure:17855: checking <ctype> for FreeBSD 3.4" >&5
17855 cat > conftest.$ac_ext <<EOF
17856 #line 17857 "configure"
17857 #include "confdefs.h"
17858 #include <ctype.h>
17859 int main() {
17861 foo (int a)
17862 { return _S + _R + _C + _U + _L + _A \
17863 + _D + _P + _X + _G + __istype (a, 0);}
17864 ; return 0; }
17866 if { (eval echo configure:17867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17867 rm -rf conftest*
17869 ctype_freebsd34=yes
17870 else
17871 echo "configure: failed program was:" >&5
17872 cat conftest.$ac_ext >&5
17873 rm -rf conftest*
17874 ctype_freebsd34=no
17876 rm -f conftest*
17877 echo "$ac_t""$ctype_freebsd34" 1>&6
17878 if test $ctype_freebsd34 = "yes"; then
17879 ctype_include_dir="config/os/bsd"
17880 ctype_default=no
17884 if test $ctype_default = "yes"; then
17885 echo $ac_n "checking <ctype> for Solaris 2.6,7,8""... $ac_c" 1>&6
17886 echo "configure:17887: checking <ctype> for Solaris 2.6,7,8" >&5
17887 cat > conftest.$ac_ext <<EOF
17888 #line 17889 "configure"
17889 #include "confdefs.h"
17890 #include <ctype.h>
17891 int main() {
17893 foo (int a)
17894 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17895 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17896 + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
17897 ; return 0; }
17899 if { (eval echo configure:17900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17900 rm -rf conftest*
17902 ctype_solaris=yes
17903 else
17904 echo "configure: failed program was:" >&5
17905 cat conftest.$ac_ext >&5
17906 rm -rf conftest*
17907 ctype_solaris=no
17909 rm -f conftest*
17910 echo "$ac_t""$ctype_solaris" 1>&6
17912 if test $ctype_solaris = "yes"; then
17913 echo $ac_n "checking for version""... $ac_c" 1>&6
17914 echo "configure:17915: checking for version" >&5
17915 ac_ext=C
17916 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17917 ac_cpp='$CXXCPP $CPPFLAGS'
17918 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17919 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17920 cross_compiling=$ac_cv_prog_cxx_cross
17922 cat > conftest.$ac_ext <<EOF
17923 #line 17924 "configure"
17924 #include "confdefs.h"
17925 #include <ctype.h>
17926 int main() {
17927 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
17928 ; return 0; }
17930 if { (eval echo configure:17931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17931 rm -rf conftest*
17933 ctype_solaris26=yes
17934 else
17935 echo "configure: failed program was:" >&5
17936 cat conftest.$ac_ext >&5
17937 rm -rf conftest*
17938 ctype_solaris26=no
17940 rm -f conftest*
17941 ac_ext=c
17942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17943 ac_cpp='$CPP $CPPFLAGS'
17944 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17945 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17946 cross_compiling=$ac_cv_prog_cc_cross
17948 if test $ctype_solaris26 = "yes"; then
17949 ctype_include_dir="config/os/solaris/solaris2.6"
17950 echo "$ac_t""Solaris 2.6" 1>&6
17951 ctype_default=no
17952 else
17953 ctype_include_dir="config/os/solaris/solaris2.7"
17954 echo "$ac_t""Solaris 7,8" 1>&6
17955 ctype_default=no
17960 if test $ctype_default = "yes"; then
17961 echo $ac_n "checking <ctype> for Solaris 2.5.1""... $ac_c" 1>&6
17962 echo "configure:17963: checking <ctype> for Solaris 2.5.1" >&5
17963 cat > conftest.$ac_ext <<EOF
17964 #line 17965 "configure"
17965 #include "confdefs.h"
17966 #include <ctype.h>
17967 int main() {
17969 foo (int a)
17970 { return _U + _L + _N + _S + _P + _C + _X + _B \
17971 + __ctype[a];}
17972 ; return 0; }
17974 if { (eval echo configure:17975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17975 rm -rf conftest*
17977 ctype_solaris25=yes
17978 else
17979 echo "configure: failed program was:" >&5
17980 cat conftest.$ac_ext >&5
17981 rm -rf conftest*
17982 ctype_solaris25=no
17984 rm -f conftest*
17985 echo "$ac_t""$ctype_solaris25" 1>&6
17986 if test $ctype_solaris25 = "yes"; then
17987 ctype_include_dir="config/os/solaris/solaris2.5"
17988 ctype_default=no
17992 if test $ctype_default = "yes"; then
17993 echo $ac_n "checking <ctype> for AIX""... $ac_c" 1>&6
17994 echo "configure:17995: checking <ctype> for AIX" >&5
17995 cat > conftest.$ac_ext <<EOF
17996 #line 17997 "configure"
17997 #include "confdefs.h"
17998 #include <ctype.h>
17999 int main() {
18001 foo (int a)
18002 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
18003 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
18004 + _VALC('a') + _IS('c', 0);}
18005 ; return 0; }
18007 if { (eval echo configure:18008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18008 rm -rf conftest*
18010 ctype_aix=yes
18011 else
18012 echo "configure: failed program was:" >&5
18013 cat conftest.$ac_ext >&5
18014 rm -rf conftest*
18015 ctype_aix=no
18017 rm -f conftest*
18018 echo "$ac_t""$ctype_aix" 1>&6
18019 if test $ctype_aix = "yes"; then
18020 ctype_include_dir="config/os/aix"
18021 ctype_default=no
18025 if test $ctype_default = "yes"; then
18026 echo $ac_n "checking <ctype> for IRIX""... $ac_c" 1>&6
18027 echo "configure:18028: checking <ctype> for IRIX" >&5
18028 cat > conftest.$ac_ext <<EOF
18029 #line 18030 "configure"
18030 #include "confdefs.h"
18031 #include <ctype.h>
18032 int main() {
18034 foo (int a)
18035 { return _U + _L + _N + _S + _P + _C + _B + _X + \
18036 _A + _PR + _G + _BL;}
18037 ; return 0; }
18039 if { (eval echo configure:18040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18040 rm -rf conftest*
18042 ctype_irix=yes
18043 else
18044 echo "configure: failed program was:" >&5
18045 cat conftest.$ac_ext >&5
18046 rm -rf conftest*
18047 ctype_irix=no
18049 rm -f conftest*
18050 echo "$ac_t""$ctype_irix" 1>&6
18051 if test $ctype_irix = "yes"; then
18052 ctype_include_dir="config/os/irix"
18053 ctype_default=no
18057 if test $ctype_default = "yes"; then
18058 echo $ac_n "checking <ctype> for newlib""... $ac_c" 1>&6
18059 echo "configure:18060: checking <ctype> for newlib" >&5
18060 cat > conftest.$ac_ext <<EOF
18061 #line 18062 "configure"
18062 #include "confdefs.h"
18063 #include <ctype.h>
18064 int main() {
18066 foo (int a)
18067 { return _U + _L + _N + _S + _P + _C + _X + _B \
18068 + _ctype_[a];}
18069 ; return 0; }
18071 if { (eval echo configure:18072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18072 rm -rf conftest*
18074 ctype_newlib=yes
18075 else
18076 echo "configure: failed program was:" >&5
18077 cat conftest.$ac_ext >&5
18078 rm -rf conftest*
18079 ctype_newlib=no
18081 rm -f conftest*
18082 echo "$ac_t""$ctype_newlib" 1>&6
18083 if test $ctype_newlib = "yes"; then
18084 ctype_include_dir="config/os/newlib"
18085 ctype_default=no
18089 if test $ctype_default = "yes"; then
18090 ctype_include_dir="config/os/generic"
18091 echo "configure: warning: "Using default ctype headers."" 1>&2
18098 else
18099 echo "$ac_t""no" 1>&6
18104 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18105 ac_save_CXXFLAGS="$CXXFLAGS"
18106 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
18108 for ac_func in strtof
18110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18111 echo "configure:18112: checking for $ac_func" >&5
18112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18113 echo $ac_n "(cached) $ac_c" 1>&6
18114 else
18115 cat > conftest.$ac_ext <<EOF
18116 #line 18117 "configure"
18117 #include "confdefs.h"
18118 /* System header to define __stub macros and hopefully few prototypes,
18119 which can conflict with char $ac_func(); below. */
18120 #include <assert.h>
18121 /* Override any gcc2 internal prototype to avoid an error. */
18122 /* We use char because int might match the return type of a gcc2
18123 builtin and then its argument prototype would still apply. */
18124 char $ac_func();
18126 int main() {
18128 /* The GNU C library defines this for functions which it implements
18129 to always fail with ENOSYS. Some functions are actually named
18130 something starting with __ and the normal name is an alias. */
18131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18132 choke me
18133 #else
18134 $ac_func();
18135 #endif
18137 ; return 0; }
18139 if { (eval echo configure:18140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18140 rm -rf conftest*
18141 eval "ac_cv_func_$ac_func=yes"
18142 else
18143 echo "configure: failed program was:" >&5
18144 cat conftest.$ac_ext >&5
18145 rm -rf conftest*
18146 eval "ac_cv_func_$ac_func=no"
18148 rm -f conftest*
18151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18152 echo "$ac_t""yes" 1>&6
18153 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18154 cat >> confdefs.h <<EOF
18155 #define $ac_tr_func 1
18158 else
18159 echo "$ac_t""no" 1>&6
18161 done
18164 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
18165 echo "configure:18166: checking for strtold declaration" >&5
18166 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
18167 echo $ac_n "(cached) $ac_c" 1>&6
18168 else
18171 ac_ext=C
18172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18173 ac_cpp='$CXXCPP $CPPFLAGS'
18174 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18175 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18176 cross_compiling=$ac_cv_prog_cxx_cross
18178 cat > conftest.$ac_ext <<EOF
18179 #line 18180 "configure"
18180 #include "confdefs.h"
18181 #include <stdlib.h>
18182 int main() {
18183 strtold(0, 0);
18184 ; return 0; }
18186 if { (eval echo configure:18187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18187 rm -rf conftest*
18188 glibcpp_cv_func_strtold_use=yes
18189 else
18190 echo "configure: failed program was:" >&5
18191 cat conftest.$ac_ext >&5
18192 rm -rf conftest*
18193 glibcpp_cv_func_strtold_use=no
18195 rm -f conftest*
18196 ac_ext=c
18197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18198 ac_cpp='$CPP $CPPFLAGS'
18199 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18200 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18201 cross_compiling=$ac_cv_prog_cc_cross
18206 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
18207 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
18208 for ac_func in strtold
18210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18211 echo "configure:18212: checking for $ac_func" >&5
18212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18213 echo $ac_n "(cached) $ac_c" 1>&6
18214 else
18215 cat > conftest.$ac_ext <<EOF
18216 #line 18217 "configure"
18217 #include "confdefs.h"
18218 /* System header to define __stub macros and hopefully few prototypes,
18219 which can conflict with char $ac_func(); below. */
18220 #include <assert.h>
18221 /* Override any gcc2 internal prototype to avoid an error. */
18222 /* We use char because int might match the return type of a gcc2
18223 builtin and then its argument prototype would still apply. */
18224 char $ac_func();
18226 int main() {
18228 /* The GNU C library defines this for functions which it implements
18229 to always fail with ENOSYS. Some functions are actually named
18230 something starting with __ and the normal name is an alias. */
18231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18232 choke me
18233 #else
18234 $ac_func();
18235 #endif
18237 ; return 0; }
18239 if { (eval echo configure:18240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18240 rm -rf conftest*
18241 eval "ac_cv_func_$ac_func=yes"
18242 else
18243 echo "configure: failed program was:" >&5
18244 cat conftest.$ac_ext >&5
18245 rm -rf conftest*
18246 eval "ac_cv_func_$ac_func=no"
18248 rm -f conftest*
18251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18252 echo "$ac_t""yes" 1>&6
18253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18254 cat >> confdefs.h <<EOF
18255 #define $ac_tr_func 1
18258 else
18259 echo "$ac_t""no" 1>&6
18261 done
18266 CXXFLAGS="$ac_save_CXXFLAGS"
18269 for ac_hdr in unistd.h
18271 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18272 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18273 echo "configure:18274: checking for $ac_hdr" >&5
18274 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18275 echo $ac_n "(cached) $ac_c" 1>&6
18276 else
18277 cat > conftest.$ac_ext <<EOF
18278 #line 18279 "configure"
18279 #include "confdefs.h"
18280 #include <$ac_hdr>
18282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18283 { (eval echo configure:18284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18284 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18285 if test -z "$ac_err"; then
18286 rm -rf conftest*
18287 eval "ac_cv_header_$ac_safe=yes"
18288 else
18289 echo "$ac_err" >&5
18290 echo "configure: failed program was:" >&5
18291 cat conftest.$ac_ext >&5
18292 rm -rf conftest*
18293 eval "ac_cv_header_$ac_safe=no"
18295 rm -f conftest*
18297 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18298 echo "$ac_t""yes" 1>&6
18299 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18300 cat >> confdefs.h <<EOF
18301 #define $ac_tr_hdr 1
18304 else
18305 echo "$ac_t""no" 1>&6
18307 done
18309 for ac_func in getpagesize
18311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18312 echo "configure:18313: checking for $ac_func" >&5
18313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18314 echo $ac_n "(cached) $ac_c" 1>&6
18315 else
18316 cat > conftest.$ac_ext <<EOF
18317 #line 18318 "configure"
18318 #include "confdefs.h"
18319 /* System header to define __stub macros and hopefully few prototypes,
18320 which can conflict with char $ac_func(); below. */
18321 #include <assert.h>
18322 /* Override any gcc2 internal prototype to avoid an error. */
18323 /* We use char because int might match the return type of a gcc2
18324 builtin and then its argument prototype would still apply. */
18325 char $ac_func();
18327 int main() {
18329 /* The GNU C library defines this for functions which it implements
18330 to always fail with ENOSYS. Some functions are actually named
18331 something starting with __ and the normal name is an alias. */
18332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18333 choke me
18334 #else
18335 $ac_func();
18336 #endif
18338 ; return 0; }
18340 if { (eval echo configure:18341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18341 rm -rf conftest*
18342 eval "ac_cv_func_$ac_func=yes"
18343 else
18344 echo "configure: failed program was:" >&5
18345 cat conftest.$ac_ext >&5
18346 rm -rf conftest*
18347 eval "ac_cv_func_$ac_func=no"
18349 rm -f conftest*
18352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18353 echo "$ac_t""yes" 1>&6
18354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18355 cat >> confdefs.h <<EOF
18356 #define $ac_tr_func 1
18359 else
18360 echo "$ac_t""no" 1>&6
18362 done
18364 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18365 echo "configure:18366: checking for working mmap" >&5
18366 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18367 echo $ac_n "(cached) $ac_c" 1>&6
18368 else
18369 if test "$cross_compiling" = yes; then
18370 ac_cv_func_mmap_fixed_mapped=no
18371 else
18372 cat > conftest.$ac_ext <<EOF
18373 #line 18374 "configure"
18374 #include "confdefs.h"
18376 /* Thanks to Mike Haertel and Jim Avera for this test.
18377 Here is a matrix of mmap possibilities:
18378 mmap private not fixed
18379 mmap private fixed at somewhere currently unmapped
18380 mmap private fixed at somewhere already mapped
18381 mmap shared not fixed
18382 mmap shared fixed at somewhere currently unmapped
18383 mmap shared fixed at somewhere already mapped
18384 For private mappings, we should verify that changes cannot be read()
18385 back from the file, nor mmap's back from the file at a different
18386 address. (There have been systems where private was not correctly
18387 implemented like the infamous i386 svr4.0, and systems where the
18388 VM page cache was not coherent with the filesystem buffer cache
18389 like early versions of FreeBSD and possibly contemporary NetBSD.)
18390 For shared mappings, we should conversely verify that changes get
18391 propogated back to all the places they're supposed to be.
18393 Grep wants private fixed already mapped.
18394 The main things grep needs to know about mmap are:
18395 * does it exist and is it safe to write into the mmap'd area
18396 * how to use it (BSD variants) */
18397 #include <sys/types.h>
18398 #include <fcntl.h>
18399 #include <sys/mman.h>
18401 /* This mess was copied from the GNU getpagesize.h. */
18402 #ifndef HAVE_GETPAGESIZE
18403 # ifdef HAVE_UNISTD_H
18404 # include <unistd.h>
18405 # endif
18407 /* Assume that all systems that can run configure have sys/param.h. */
18408 # ifndef HAVE_SYS_PARAM_H
18409 # define HAVE_SYS_PARAM_H 1
18410 # endif
18412 # ifdef _SC_PAGESIZE
18413 # define getpagesize() sysconf(_SC_PAGESIZE)
18414 # else /* no _SC_PAGESIZE */
18415 # ifdef HAVE_SYS_PARAM_H
18416 # include <sys/param.h>
18417 # ifdef EXEC_PAGESIZE
18418 # define getpagesize() EXEC_PAGESIZE
18419 # else /* no EXEC_PAGESIZE */
18420 # ifdef NBPG
18421 # define getpagesize() NBPG * CLSIZE
18422 # ifndef CLSIZE
18423 # define CLSIZE 1
18424 # endif /* no CLSIZE */
18425 # else /* no NBPG */
18426 # ifdef NBPC
18427 # define getpagesize() NBPC
18428 # else /* no NBPC */
18429 # ifdef PAGESIZE
18430 # define getpagesize() PAGESIZE
18431 # endif /* PAGESIZE */
18432 # endif /* no NBPC */
18433 # endif /* no NBPG */
18434 # endif /* no EXEC_PAGESIZE */
18435 # else /* no HAVE_SYS_PARAM_H */
18436 # define getpagesize() 8192 /* punt totally */
18437 # endif /* no HAVE_SYS_PARAM_H */
18438 # endif /* no _SC_PAGESIZE */
18440 #endif /* no HAVE_GETPAGESIZE */
18442 #ifdef __cplusplus
18443 extern "C" { void *malloc(unsigned); }
18444 #else
18445 char *malloc();
18446 #endif
18449 main()
18451 char *data, *data2, *data3;
18452 int i, pagesize;
18453 int fd;
18455 pagesize = getpagesize();
18458 * First, make a file with some known garbage in it.
18460 data = malloc(pagesize);
18461 if (!data)
18462 exit(1);
18463 for (i = 0; i < pagesize; ++i)
18464 *(data + i) = rand();
18465 umask(0);
18466 fd = creat("conftestmmap", 0600);
18467 if (fd < 0)
18468 exit(1);
18469 if (write(fd, data, pagesize) != pagesize)
18470 exit(1);
18471 close(fd);
18474 * Next, try to mmap the file at a fixed address which
18475 * already has something else allocated at it. If we can,
18476 * also make sure that we see the same garbage.
18478 fd = open("conftestmmap", O_RDWR);
18479 if (fd < 0)
18480 exit(1);
18481 data2 = malloc(2 * pagesize);
18482 if (!data2)
18483 exit(1);
18484 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18485 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18486 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18487 exit(1);
18488 for (i = 0; i < pagesize; ++i)
18489 if (*(data + i) != *(data2 + i))
18490 exit(1);
18493 * Finally, make sure that changes to the mapped area
18494 * do not percolate back to the file as seen by read().
18495 * (This is a bug on some variants of i386 svr4.0.)
18497 for (i = 0; i < pagesize; ++i)
18498 *(data2 + i) = *(data2 + i) + 1;
18499 data3 = malloc(pagesize);
18500 if (!data3)
18501 exit(1);
18502 if (read(fd, data3, pagesize) != pagesize)
18503 exit(1);
18504 for (i = 0; i < pagesize; ++i)
18505 if (*(data + i) != *(data3 + i))
18506 exit(1);
18507 close(fd);
18508 unlink("conftestmmap");
18509 exit(0);
18513 if { (eval echo configure:18514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18514 then
18515 ac_cv_func_mmap_fixed_mapped=yes
18516 else
18517 echo "configure: failed program was:" >&5
18518 cat conftest.$ac_ext >&5
18519 rm -fr conftest*
18520 ac_cv_func_mmap_fixed_mapped=no
18522 rm -fr conftest*
18527 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18528 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18529 cat >> confdefs.h <<\EOF
18530 #define HAVE_MMAP 1
18539 if test "$CANADIAN" = yes; then
18540 CANADIAN_TRUE=
18541 CANADIAN_FALSE='#'
18542 else
18543 CANADIAN_TRUE='#'
18544 CANADIAN_FALSE=
18548 if test "$NULL_TARGET" = yes; then
18549 NULL_TARGET_TRUE=
18550 NULL_TARGET_FALSE='#'
18551 else
18552 NULL_TARGET_TRUE='#'
18553 NULL_TARGET_FALSE=
18557 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18558 NATIVE_TRUE=
18559 NATIVE_FALSE='#'
18560 else
18561 NATIVE_TRUE='#'
18562 NATIVE_FALSE=
18566 if test -z "$with_cross_host"; then
18567 USE_LIBDIR_TRUE=
18568 USE_LIBDIR_FALSE='#'
18569 else
18570 USE_LIBDIR_TRUE='#'
18571 USE_LIBDIR_FALSE=
18574 cat > confcache <<\EOF
18575 # This file is a shell script that caches the results of configure
18576 # tests run on this system so they can be shared between configure
18577 # scripts and configure runs. It is not useful on other systems.
18578 # If it contains results you don't want to keep, you may remove or edit it.
18580 # By default, configure uses ./config.cache as the cache file,
18581 # creating it if it does not exist already. You can give configure
18582 # the --cache-file=FILE option to use a different cache file; that is
18583 # what configure does when it calls configure scripts in
18584 # subdirectories, so they share the cache.
18585 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18586 # config.status only pays attention to the cache file if you give it the
18587 # --recheck option to rerun configure.
18590 # The following way of writing the cache mishandles newlines in values,
18591 # but we know of no workaround that is simple, portable, and efficient.
18592 # So, don't put newlines in cache variables' values.
18593 # Ultrix sh set writes to stderr and can't be redirected directly,
18594 # and sets the high bit in the cache file unless we assign to the vars.
18595 (set) 2>&1 |
18596 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18597 *ac_space=\ *)
18598 # `set' does not quote correctly, so add quotes (double-quote substitution
18599 # turns \\\\ into \\, and sed turns \\ into \).
18600 sed -n \
18601 -e "s/'/'\\\\''/g" \
18602 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18605 # `set' quotes correctly as required by POSIX, so do not add quotes.
18606 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18608 esac >> confcache
18609 if cmp -s $cache_file confcache; then
18611 else
18612 if test -w $cache_file; then
18613 echo "updating cache $cache_file"
18614 cat confcache > $cache_file
18615 else
18616 echo "not updating unwritable cache $cache_file"
18619 rm -f confcache
18622 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
18623 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
18624 echo "configure:18625: checking for locale.h" >&5
18625 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18626 echo $ac_n "(cached) $ac_c" 1>&6
18627 else
18628 cat > conftest.$ac_ext <<EOF
18629 #line 18630 "configure"
18630 #include "confdefs.h"
18631 #include <locale.h>
18633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18634 { (eval echo configure:18635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18636 if test -z "$ac_err"; then
18637 rm -rf conftest*
18638 eval "ac_cv_header_$ac_safe=yes"
18639 else
18640 echo "$ac_err" >&5
18641 echo "configure: failed program was:" >&5
18642 cat conftest.$ac_ext >&5
18643 rm -rf conftest*
18644 eval "ac_cv_header_$ac_safe=no"
18646 rm -f conftest*
18648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18649 echo "$ac_t""yes" 1>&6
18651 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18652 echo "configure:18653: checking for LC_MESSAGES" >&5
18653 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18654 echo $ac_n "(cached) $ac_c" 1>&6
18655 else
18656 cat > conftest.$ac_ext <<EOF
18657 #line 18658 "configure"
18658 #include "confdefs.h"
18659 #include <locale.h>
18660 int main() {
18661 return LC_MESSAGES
18662 ; return 0; }
18664 if { (eval echo configure:18665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18665 rm -rf conftest*
18666 ac_cv_val_LC_MESSAGES=yes
18667 else
18668 echo "configure: failed program was:" >&5
18669 cat conftest.$ac_ext >&5
18670 rm -rf conftest*
18671 ac_cv_val_LC_MESSAGES=no
18673 rm -f conftest*
18676 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18677 if test $ac_cv_val_LC_MESSAGES = yes; then
18678 cat >> confdefs.h <<\EOF
18679 #define HAVE_LC_MESSAGES 1
18684 else
18685 echo "$ac_t""no" 1>&6
18690 if test "${multilib}" = "yes"; then
18691 multilib_arg="--enable-multilib"
18692 else
18693 multilib_arg=
18697 # Generate the various Makefiles, include files, and scripts.
18699 # This helps subvert libstdcxx_interface, as calculated by devo/config.if
18700 # Needed so that g++ can find the correct include subdir automatically.
18701 INTERFACE=v3
18703 # Check for the interface version number for specifying where header
18704 # files are installed, if a version number is provided.
18705 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
18706 echo "configure:18707: checking for interface version number" >&5
18707 libstdcxx_interface=$INTERFACE
18708 echo "$ac_t""$libstdcxx_interface" 1>&6
18711 # Process the option --with-gxx-include-dir=<path to include-files directory>
18712 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
18713 echo "configure:18714: checking for --with-gxx-include-dir" >&5
18714 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
18715 if test "${with_gxx_include_dir+set}" = set; then
18716 withval="$with_gxx_include_dir"
18717 case "${withval}" in
18718 yes)
18719 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
18720 gxx_include_dir=no
18723 gxx_include_dir=no
18726 gxx_include_dir=${withval}
18728 esac
18729 else
18730 gxx_include_dir=no
18733 echo "$ac_t""$gxx_include_dir" 1>&6
18737 if test x${gxx_include_dir} != xno; then
18738 GXX_INCLUDE_DIR_TRUE=
18739 GXX_INCLUDE_DIR_FALSE='#'
18740 else
18741 GXX_INCLUDE_DIR_TRUE='#'
18742 GXX_INCLUDE_DIR_FALSE=
18745 # Process the option "--enable-version-specific-runtime-libs"
18746 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
18747 echo "configure:18748: checking for --enable-version-specific-runtime-libs" >&5
18748 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
18749 if test "${enable_version_specific_runtime_libs+set}" = set; then
18750 enableval="$enable_version_specific_runtime_libs"
18751 version_specific_libs=yes
18752 # Need the gcc compiler version to know where to install libraries
18753 # and header files if --enable-version-specific-runtime-libs option
18754 # is selected.
18755 gcc_tmp=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $6}'`
18756 gcc_num=`echo ${gcc_tmp} | sed 's/\"//g'`
18757 #gcc_date=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $7}'`
18758 #gcc_version=$gcc_num-$gcc_date
18759 gcc_version=$gcc_num
18762 else
18763 version_specific_libs=no
18766 echo "$ac_t""$version_specific_libs" 1>&6
18767 if test x${version_specific_libs} = xyes; then
18770 if test x${version_specific_libs} = xyes; then
18771 VERSION_SPECIFIC_LIBS_TRUE=
18772 VERSION_SPECIFIC_LIBS_FALSE='#'
18773 else
18774 VERSION_SPECIFIC_LIBS_TRUE='#'
18775 VERSION_SPECIFIC_LIBS_FALSE=
18777 echo "configure: warning: version specific directory is: $gcc_version" 1>&2
18782 # Export all the include and flag information to makefiles.
18784 # Root level of the include sources.
18785 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
18787 # Can either use include/c or include/c_std to grab "C" headers. This
18788 # variable is set to the include directory currently in use.
18789 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_SHADOW
18791 # Passed down for canadian crosses.
18792 if test x"$CANADIAN" = xyes; then
18793 TOPLEVEL_INCLUDES='-I$(includedir)'
18796 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
18798 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
18800 #if GLIBCPP_NEED_LIBIO
18801 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
18802 #else
18803 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
18804 #endif
18806 #if GLIBCPP_USE_CSHADOW
18807 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
18808 # -I$(top_blddir)/cshadow'
18809 #else
18810 CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
18811 #endif
18813 # Now, export this to all the little Makefiles....
18822 # Optimization flags that are probably a good idea for thrill-seekers. Just
18823 # uncomment the lines below and make, everything else is ready to go...
18824 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
18825 OPTIMIZE_CXXFLAGS=
18828 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
18832 # This should be done by mkincludedir, but hack around it now.
18833 blddir=`pwd`
18834 echo "checking for $blddir/include"
18836 if test ! -d "$blddir/include"; then
18837 mkdir "$blddir/include"
18840 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18841 # so that multilib installs will end up installed in the correct
18842 # place. To work around this not being passed down from config-ml.in
18843 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18844 # append it here.
18845 trap '' 1 2 15
18846 cat > confcache <<\EOF
18847 # This file is a shell script that caches the results of configure
18848 # tests run on this system so they can be shared between configure
18849 # scripts and configure runs. It is not useful on other systems.
18850 # If it contains results you don't want to keep, you may remove or edit it.
18852 # By default, configure uses ./config.cache as the cache file,
18853 # creating it if it does not exist already. You can give configure
18854 # the --cache-file=FILE option to use a different cache file; that is
18855 # what configure does when it calls configure scripts in
18856 # subdirectories, so they share the cache.
18857 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18858 # config.status only pays attention to the cache file if you give it the
18859 # --recheck option to rerun configure.
18862 # The following way of writing the cache mishandles newlines in values,
18863 # but we know of no workaround that is simple, portable, and efficient.
18864 # So, don't put newlines in cache variables' values.
18865 # Ultrix sh set writes to stderr and can't be redirected directly,
18866 # and sets the high bit in the cache file unless we assign to the vars.
18867 (set) 2>&1 |
18868 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18869 *ac_space=\ *)
18870 # `set' does not quote correctly, so add quotes (double-quote substitution
18871 # turns \\\\ into \\, and sed turns \\ into \).
18872 sed -n \
18873 -e "s/'/'\\\\''/g" \
18874 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18877 # `set' quotes correctly as required by POSIX, so do not add quotes.
18878 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18880 esac >> confcache
18881 if cmp -s $cache_file confcache; then
18883 else
18884 if test -w $cache_file; then
18885 echo "updating cache $cache_file"
18886 cat confcache > $cache_file
18887 else
18888 echo "not updating unwritable cache $cache_file"
18891 rm -f confcache
18893 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18895 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18896 # Let make expand exec_prefix.
18897 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18899 # Any assignment to VPATH causes Sun make to only execute
18900 # the first set of double-colon rules, so remove it if not needed.
18901 # If there is a colon in the path, we need to keep it.
18902 if test "x$srcdir" = x.; then
18903 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18906 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18908 DEFS=-DHAVE_CONFIG_H
18910 # Without the "./", some shells look in PATH for config.status.
18911 : ${CONFIG_STATUS=./config.status}
18913 echo creating $CONFIG_STATUS
18914 rm -f $CONFIG_STATUS
18915 cat > $CONFIG_STATUS <<EOF
18916 #! /bin/sh
18917 # Generated automatically by configure.
18918 # Run this file to recreate the current configuration.
18919 # This directory was configured as follows,
18920 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18922 # $0 $ac_configure_args
18924 # Compiler output produced by configure, useful for debugging
18925 # configure, is in ./config.log if it exists.
18927 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18928 for ac_option
18930 case "\$ac_option" in
18931 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18932 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18933 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18934 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18935 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18936 exit 0 ;;
18937 -help | --help | --hel | --he | --h)
18938 echo "\$ac_cs_usage"; exit 0 ;;
18939 *) echo "\$ac_cs_usage"; exit 1 ;;
18940 esac
18941 done
18943 ac_given_srcdir=$srcdir
18944 ac_given_INSTALL="$INSTALL"
18946 trap 'rm -fr `echo "tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18948 cat >> $CONFIG_STATUS <<EOF
18950 # Protect against being on the right side of a sed subst in config.status.
18951 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18952 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18953 $ac_vpsub
18954 $extrasub
18955 s%@SHELL@%$SHELL%g
18956 s%@CFLAGS@%$CFLAGS%g
18957 s%@CPPFLAGS@%$CPPFLAGS%g
18958 s%@CXXFLAGS@%$CXXFLAGS%g
18959 s%@FFLAGS@%$FFLAGS%g
18960 s%@DEFS@%$DEFS%g
18961 s%@LDFLAGS@%$LDFLAGS%g
18962 s%@LIBS@%$LIBS%g
18963 s%@exec_prefix@%$exec_prefix%g
18964 s%@prefix@%$prefix%g
18965 s%@program_transform_name@%$program_transform_name%g
18966 s%@bindir@%$bindir%g
18967 s%@sbindir@%$sbindir%g
18968 s%@libexecdir@%$libexecdir%g
18969 s%@datadir@%$datadir%g
18970 s%@sysconfdir@%$sysconfdir%g
18971 s%@sharedstatedir@%$sharedstatedir%g
18972 s%@localstatedir@%$localstatedir%g
18973 s%@libdir@%$libdir%g
18974 s%@includedir@%$includedir%g
18975 s%@oldincludedir@%$oldincludedir%g
18976 s%@infodir@%$infodir%g
18977 s%@mandir@%$mandir%g
18978 s%@host@%$host%g
18979 s%@host_alias@%$host_alias%g
18980 s%@host_cpu@%$host_cpu%g
18981 s%@host_vendor@%$host_vendor%g
18982 s%@host_os@%$host_os%g
18983 s%@target@%$target%g
18984 s%@target_alias@%$target_alias%g
18985 s%@target_cpu@%$target_cpu%g
18986 s%@target_vendor@%$target_vendor%g
18987 s%@target_os@%$target_os%g
18988 s%@build@%$build%g
18989 s%@build_alias@%$build_alias%g
18990 s%@build_cpu@%$build_cpu%g
18991 s%@build_vendor@%$build_vendor%g
18992 s%@build_os@%$build_os%g
18993 s%@glibcpp_basedir@%$glibcpp_basedir%g
18994 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18995 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18996 s%@INSTALL_DATA@%$INSTALL_DATA%g
18997 s%@PACKAGE@%$PACKAGE%g
18998 s%@VERSION@%$VERSION%g
18999 s%@ACLOCAL@%$ACLOCAL%g
19000 s%@AUTOCONF@%$AUTOCONF%g
19001 s%@AUTOMAKE@%$AUTOMAKE%g
19002 s%@AUTOHEADER@%$AUTOHEADER%g
19003 s%@MAKEINFO@%$MAKEINFO%g
19004 s%@SET_MAKE@%$SET_MAKE%g
19005 s%@CC@%$CC%g
19006 s%@CXX_libstdcxx@%$CXX_libstdcxx%g
19007 s%@CXX@%$CXX%g
19008 s%@AS@%$AS%g
19009 s%@AR@%$AR%g
19010 s%@RANLIB@%$RANLIB%g
19011 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
19012 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
19013 s%@MAINT@%$MAINT%g
19014 s%@EXEEXT@%$EXEEXT%g
19015 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
19016 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
19017 s%@LN_S@%$LN_S%g
19018 s%@OBJEXT@%$OBJEXT%g
19019 s%@STRIP@%$STRIP%g
19020 s%@LIBTOOL@%$LIBTOOL%g
19021 s%@CXXCPP@%$CXXCPP%g
19022 s%@enable_shared@%$enable_shared%g
19023 s%@enable_static@%$enable_static%g
19024 s%@ifGNUmake@%$ifGNUmake%g
19025 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
19026 s%@CPP@%$CPP%g
19027 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
19028 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
19029 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
19030 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
19031 s%@libio_la@%$libio_la%g
19032 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
19033 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
19034 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
19035 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
19036 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
19037 s%@WERROR@%$WERROR%g
19038 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
19039 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
19040 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
19041 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
19042 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
19043 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
19044 s%@libinst_wstring_la@%$libinst_wstring_la%g
19045 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
19046 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
19047 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
19048 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
19049 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
19050 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
19051 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
19052 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
19053 s%@libstdcxx_interface@%$libstdcxx_interface%g
19054 s%@gxx_include_dir@%$gxx_include_dir%g
19055 s%@GXX_INCLUDE_DIR_TRUE@%$GXX_INCLUDE_DIR_TRUE%g
19056 s%@GXX_INCLUDE_DIR_FALSE@%$GXX_INCLUDE_DIR_FALSE%g
19057 s%@gcc_version@%$gcc_version%g
19058 s%@VERSION_SPECIFIC_LIBS_TRUE@%$VERSION_SPECIFIC_LIBS_TRUE%g
19059 s%@VERSION_SPECIFIC_LIBS_FALSE@%$VERSION_SPECIFIC_LIBS_FALSE%g
19060 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
19061 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
19062 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
19063 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
19064 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
19065 s%@CSHADOW_INCLUDES@%$CSHADOW_INCLUDES%g
19066 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
19067 s%@WARN_FLAGS@%$WARN_FLAGS%g
19069 CEOF
19072 cat >> $CONFIG_STATUS <<\EOF
19074 # Split the substitutions into bite-sized pieces for seds with
19075 # small command number limits, like on Digital OSF/1 and HP-UX.
19076 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19077 ac_file=1 # Number of current file.
19078 ac_beg=1 # First line for current file.
19079 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19080 ac_more_lines=:
19081 ac_sed_cmds=""
19082 while $ac_more_lines; do
19083 if test $ac_beg -gt 1; then
19084 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19085 else
19086 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19088 if test ! -s conftest.s$ac_file; then
19089 ac_more_lines=false
19090 rm -f conftest.s$ac_file
19091 else
19092 if test -z "$ac_sed_cmds"; then
19093 ac_sed_cmds="sed -f conftest.s$ac_file"
19094 else
19095 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19097 ac_file=`expr $ac_file + 1`
19098 ac_beg=$ac_end
19099 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19101 done
19102 if test -z "$ac_sed_cmds"; then
19103 ac_sed_cmds=cat
19107 cat >> $CONFIG_STATUS <<EOF
19109 CONFIG_FILES=\${CONFIG_FILES-"tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
19111 cat >> $CONFIG_STATUS <<\EOF
19112 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19113 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19114 case "$ac_file" in
19115 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19116 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19117 *) ac_file_in="${ac_file}.in" ;;
19118 esac
19120 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19122 # Remove last slash and all that follows it. Not all systems have dirname.
19123 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19124 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19125 # The file is in a subdirectory.
19126 test ! -d "$ac_dir" && mkdir "$ac_dir"
19127 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19128 # A "../" for each directory in $ac_dir_suffix.
19129 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19130 else
19131 ac_dir_suffix= ac_dots=
19134 case "$ac_given_srcdir" in
19135 .) srcdir=.
19136 if test -z "$ac_dots"; then top_srcdir=.
19137 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19138 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19139 *) # Relative path.
19140 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19141 top_srcdir="$ac_dots$ac_given_srcdir" ;;
19142 esac
19144 case "$ac_given_INSTALL" in
19145 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19146 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19147 esac
19149 echo creating "$ac_file"
19150 rm -f "$ac_file"
19151 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19152 case "$ac_file" in
19153 *Makefile*) ac_comsub="1i\\
19154 # $configure_input" ;;
19155 *) ac_comsub= ;;
19156 esac
19158 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19159 sed -e "$ac_comsub
19160 s%@configure_input@%$configure_input%g
19161 s%@srcdir@%$srcdir%g
19162 s%@top_srcdir@%$top_srcdir%g
19163 s%@INSTALL@%$INSTALL%g
19164 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19165 fi; done
19166 rm -f conftest.s*
19168 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19169 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19171 # ac_d sets the value in "#define NAME VALUE" lines.
19172 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19173 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
19174 ac_dC='\3'
19175 ac_dD='%g'
19176 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19177 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19178 ac_uB='\([ ]\)%\1#\2define\3'
19179 ac_uC=' '
19180 ac_uD='\4%g'
19181 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19182 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19183 ac_eB='$%\1#\2define\3'
19184 ac_eC=' '
19185 ac_eD='%g'
19187 if test "${CONFIG_HEADERS+set}" != set; then
19189 cat >> $CONFIG_STATUS <<EOF
19190 CONFIG_HEADERS="config.h"
19192 cat >> $CONFIG_STATUS <<\EOF
19194 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
19195 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19196 case "$ac_file" in
19197 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19198 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19199 *) ac_file_in="${ac_file}.in" ;;
19200 esac
19202 echo creating $ac_file
19204 rm -f conftest.frag conftest.in conftest.out
19205 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19206 cat $ac_file_inputs > conftest.in
19210 # Transform confdefs.h into a sed script conftest.vals that substitutes
19211 # the proper values into config.h.in to produce config.h. And first:
19212 # Protect against being on the right side of a sed subst in config.status.
19213 # Protect against being in an unquoted here document in config.status.
19214 rm -f conftest.vals
19215 cat > conftest.hdr <<\EOF
19216 s/[\\&%]/\\&/g
19217 s%[\\$`]%\\&%g
19218 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19219 s%ac_d%ac_u%gp
19220 s%ac_u%ac_e%gp
19222 sed -n -f conftest.hdr confdefs.h > conftest.vals
19223 rm -f conftest.hdr
19225 # This sed command replaces #undef with comments. This is necessary, for
19226 # example, in the case of _POSIX_SOURCE, which is predefined and required
19227 # on some systems where configure will not decide to define it.
19228 cat >> conftest.vals <<\EOF
19229 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19232 # Break up conftest.vals because some shells have a limit on
19233 # the size of here documents, and old seds have small limits too.
19235 rm -f conftest.tail
19236 while :
19238 ac_lines=`grep -c . conftest.vals`
19239 # grep -c gives empty output for an empty file on some AIX systems.
19240 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19241 # Write a limited-size here document to conftest.frag.
19242 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19243 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19244 echo 'CEOF
19245 sed -f conftest.frag conftest.in > conftest.out
19246 rm -f conftest.in
19247 mv conftest.out conftest.in
19248 ' >> $CONFIG_STATUS
19249 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19250 rm -f conftest.vals
19251 mv conftest.tail conftest.vals
19252 done
19253 rm -f conftest.vals
19255 cat >> $CONFIG_STATUS <<\EOF
19256 rm -f conftest.frag conftest.h
19257 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19258 cat conftest.in >> conftest.h
19259 rm -f conftest.in
19260 if cmp -s $ac_file conftest.h 2>/dev/null; then
19261 echo "$ac_file is unchanged"
19262 rm -f conftest.h
19263 else
19264 # Remove last slash and all that follows it. Not all systems have dirname.
19265 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19266 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19267 # The file is in a subdirectory.
19268 test ! -d "$ac_dir" && mkdir "$ac_dir"
19270 rm -f $ac_file
19271 mv conftest.h $ac_file
19273 fi; done
19277 cat >> $CONFIG_STATUS <<EOF
19278 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"
19279 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 \
19280 include/bits/ctype_inline.h \
19281 include/bits/ctype_noninline.h include/bits/ctype_base.h \
19282 include/bits/ctype_inline.h \
19283 include/bits/ctype_noninline.h include/bits/ctype_base.h include/bits/ctype_inline.h \
19284 include/bits/ctype_noninline.h"
19287 cat >> $CONFIG_STATUS <<\EOF
19288 srcdir=$ac_given_srcdir
19289 while test -n "$ac_sources"; do
19290 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
19291 set $ac_sources; ac_source=$1; shift; ac_sources=$*
19293 echo "linking $srcdir/$ac_source to $ac_dest"
19295 if test ! -r $srcdir/$ac_source; then
19296 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
19298 rm -f $ac_dest
19300 # Make relative symlinks.
19301 # Remove last slash and all that follows it. Not all systems have dirname.
19302 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
19303 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
19304 # The dest file is in a subdirectory.
19305 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
19306 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
19307 # A "../" for each directory in $ac_dest_dir_suffix.
19308 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
19309 else
19310 ac_dest_dir_suffix= ac_dots=
19313 case "$srcdir" in
19314 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
19315 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
19316 esac
19318 # Make a symlink if possible; otherwise try a hard link.
19319 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19320 ln $srcdir/$ac_source $ac_dest; then :
19321 else
19322 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19324 done
19326 cat >> $CONFIG_STATUS <<EOF
19328 srcdir=${srcdir}
19329 host=${host}
19330 target=${target}
19331 with_multisubdir=${with_multisubdir}
19332 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19333 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19334 glibcpp_basedir=${glibcpp_basedir}
19335 CC="${CC}"
19336 CXX="${CXX}"
19339 cat >> $CONFIG_STATUS <<\EOF
19340 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19341 if test -n "$CONFIG_FILES"; then
19342 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19343 grep '^MULTISUBDIR =' Makefile >> src/Makefile
19345 chmod +x tests_flags
19346 chmod +x mkcheck
19348 exit 0
19350 chmod +x $CONFIG_STATUS
19351 rm -fr confdefs* $ac_clean_files
19352 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19356 # Generate bits/c++config.h
19357 # NB: This must be the first generated file as others include it. . .
19358 $srcdir/mkc++config $blddir $srcdir
19360 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
19361 if test ! -f stamp-limits; then
19362 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
19363 touch stamp-limits
19367 # Sanity checking & User-visible messages.
19368 # Checks down here, otherwise they get scrolled off before
19369 # the user will notice.
19371 # Trying to get more people to read documentation. Possibly remove
19372 # check and warn all the time. There is no "informational" AC_MSG_
19373 # macro, so these are going to be printed even when --quiet/--silent
19374 # is given.
19375 if test ! -f stamp-sanity-warned; then
19376 touch stamp-sanity-warned
19377 echo ""
19378 echo "Please make certain that you read the installation information here:"
19379 echo " faster => ${srcdir}/docs/install.html"
19380 echo " slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
19381 echo ""
19382 echo "and the configuration information here:"
19383 echo " faster => ${srcdir}/docs/configopts.html"
19384 echo " slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
19385 echo ""
19386 echo "before proceeding with ${_cv_gnu_make_command}."
19387 echo ""