2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
[official-gcc.git] / libstdc++-v3 / configure
blobb4282b4c6c1eb658029442c5d3628f00cda6f58a
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 GNU libio for target io package. (default)
40 --enable-cstdio=LIB use LIB target-speific io package."
41 ac_help="$ac_help
42 --enable-long-long turns on 'long long' [default=yes]"
43 ac_help="$ac_help
44 --enable-cshadow-headers construct "shadowed" C header files for
45 g++ [default=no]"
46 ac_help="$ac_help
47 --enable-threads enable thread usage for target GCC.
48 --enable-threads=LIB use LIB thread package for target GCC."
49 ac_help="$ac_help
50 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
51 [default=none]"
52 ac_help="$ac_help
53 --with-gxx-include-dir the installation directory for include files"
54 ac_help="$ac_help
55 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
57 # Initialize some variables set by options.
58 # The variables have the same names as the options, with
59 # dashes changed to underlines.
60 build=NONE
61 cache_file=./config.cache
62 exec_prefix=NONE
63 host=NONE
64 no_create=
65 nonopt=NONE
66 no_recursion=
67 prefix=NONE
68 program_prefix=NONE
69 program_suffix=NONE
70 program_transform_name=s,x,x,
71 silent=
72 site=
73 srcdir=
74 target=NONE
75 verbose=
76 x_includes=NONE
77 x_libraries=NONE
78 bindir='${exec_prefix}/bin'
79 sbindir='${exec_prefix}/sbin'
80 libexecdir='${exec_prefix}/libexec'
81 datadir='${prefix}/share'
82 sysconfdir='${prefix}/etc'
83 sharedstatedir='${prefix}/com'
84 localstatedir='${prefix}/var'
85 libdir='${exec_prefix}/lib'
86 includedir='${prefix}/include'
87 oldincludedir='/usr/include'
88 infodir='${prefix}/info'
89 mandir='${prefix}/man'
91 # Initialize some other variables.
92 subdirs=
93 MFLAGS= MAKEFLAGS=
94 SHELL=${CONFIG_SHELL-/bin/sh}
95 # Maximum number of lines to put in a shell here document.
96 ac_max_here_lines=12
98 ac_prev=
99 for ac_option
102 # If the previous option needs an argument, assign it.
103 if test -n "$ac_prev"; then
104 eval "$ac_prev=\$ac_option"
105 ac_prev=
106 continue
109 case "$ac_option" in
110 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
111 *) ac_optarg= ;;
112 esac
114 # Accept the important Cygnus configure options, so we can diagnose typos.
116 case "$ac_option" in
118 -bindir | --bindir | --bindi | --bind | --bin | --bi)
119 ac_prev=bindir ;;
120 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
121 bindir="$ac_optarg" ;;
123 -build | --build | --buil | --bui | --bu)
124 ac_prev=build ;;
125 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
126 build="$ac_optarg" ;;
128 -cache-file | --cache-file | --cache-fil | --cache-fi \
129 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
130 ac_prev=cache_file ;;
131 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
132 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
133 cache_file="$ac_optarg" ;;
135 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
136 ac_prev=datadir ;;
137 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
138 | --da=*)
139 datadir="$ac_optarg" ;;
141 -disable-* | --disable-*)
142 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
143 # Reject names that are not valid shell variable names.
144 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
145 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
147 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
148 eval "enable_${ac_feature}=no" ;;
150 -enable-* | --enable-*)
151 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
152 # Reject names that are not valid shell variable names.
153 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
154 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
156 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
157 case "$ac_option" in
158 *=*) ;;
159 *) ac_optarg=yes ;;
160 esac
161 eval "enable_${ac_feature}='$ac_optarg'" ;;
163 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
164 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
165 | --exec | --exe | --ex)
166 ac_prev=exec_prefix ;;
167 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
168 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
169 | --exec=* | --exe=* | --ex=*)
170 exec_prefix="$ac_optarg" ;;
172 -gas | --gas | --ga | --g)
173 # Obsolete; use --with-gas.
174 with_gas=yes ;;
176 -help | --help | --hel | --he)
177 # Omit some internal or obsolete options to make the list less imposing.
178 # This message is too long to be a string in the A/UX 3.1 sh.
179 cat << EOF
180 Usage: configure [options] [host]
181 Options: [defaults in brackets after descriptions]
182 Configuration:
183 --cache-file=FILE cache test results in FILE
184 --help print this message
185 --no-create do not create output files
186 --quiet, --silent do not print \`checking...' messages
187 --version print the version of autoconf that created configure
188 Directory and file names:
189 --prefix=PREFIX install architecture-independent files in PREFIX
190 [$ac_default_prefix]
191 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
192 [same as prefix]
193 --bindir=DIR user executables in DIR [EPREFIX/bin]
194 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
195 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
196 --datadir=DIR read-only architecture-independent data in DIR
197 [PREFIX/share]
198 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
199 --sharedstatedir=DIR modifiable architecture-independent data in DIR
200 [PREFIX/com]
201 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
202 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
203 --includedir=DIR C header files in DIR [PREFIX/include]
204 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
205 --infodir=DIR info documentation in DIR [PREFIX/info]
206 --mandir=DIR man documentation in DIR [PREFIX/man]
207 --srcdir=DIR find the sources in DIR [configure dir or ..]
208 --program-prefix=PREFIX prepend PREFIX to installed program names
209 --program-suffix=SUFFIX append SUFFIX to installed program names
210 --program-transform-name=PROGRAM
211 run sed PROGRAM on installed program names
213 cat << EOF
214 Host type:
215 --build=BUILD configure for building on BUILD [BUILD=HOST]
216 --host=HOST configure for HOST [guessed]
217 --target=TARGET configure for TARGET [TARGET=HOST]
218 Features and packages:
219 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
220 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
221 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
222 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
223 --x-includes=DIR X include files are in DIR
224 --x-libraries=DIR X library files are in DIR
226 if test -n "$ac_help"; then
227 echo "--enable and --with options recognized:$ac_help"
229 exit 0 ;;
231 -host | --host | --hos | --ho)
232 ac_prev=host ;;
233 -host=* | --host=* | --hos=* | --ho=*)
234 host="$ac_optarg" ;;
236 -includedir | --includedir | --includedi | --included | --include \
237 | --includ | --inclu | --incl | --inc)
238 ac_prev=includedir ;;
239 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
240 | --includ=* | --inclu=* | --incl=* | --inc=*)
241 includedir="$ac_optarg" ;;
243 -infodir | --infodir | --infodi | --infod | --info | --inf)
244 ac_prev=infodir ;;
245 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
246 infodir="$ac_optarg" ;;
248 -libdir | --libdir | --libdi | --libd)
249 ac_prev=libdir ;;
250 -libdir=* | --libdir=* | --libdi=* | --libd=*)
251 libdir="$ac_optarg" ;;
253 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
254 | --libexe | --libex | --libe)
255 ac_prev=libexecdir ;;
256 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
257 | --libexe=* | --libex=* | --libe=*)
258 libexecdir="$ac_optarg" ;;
260 -localstatedir | --localstatedir | --localstatedi | --localstated \
261 | --localstate | --localstat | --localsta | --localst \
262 | --locals | --local | --loca | --loc | --lo)
263 ac_prev=localstatedir ;;
264 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
265 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
266 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
267 localstatedir="$ac_optarg" ;;
269 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
270 ac_prev=mandir ;;
271 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
272 mandir="$ac_optarg" ;;
274 -nfp | --nfp | --nf)
275 # Obsolete; use --without-fp.
276 with_fp=no ;;
278 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
279 | --no-cr | --no-c)
280 no_create=yes ;;
282 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
283 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
284 no_recursion=yes ;;
286 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
287 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
288 | --oldin | --oldi | --old | --ol | --o)
289 ac_prev=oldincludedir ;;
290 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
291 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
292 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
293 oldincludedir="$ac_optarg" ;;
295 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
296 ac_prev=prefix ;;
297 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
298 prefix="$ac_optarg" ;;
300 -program-prefix | --program-prefix | --program-prefi | --program-pref \
301 | --program-pre | --program-pr | --program-p)
302 ac_prev=program_prefix ;;
303 -program-prefix=* | --program-prefix=* | --program-prefi=* \
304 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
305 program_prefix="$ac_optarg" ;;
307 -program-suffix | --program-suffix | --program-suffi | --program-suff \
308 | --program-suf | --program-su | --program-s)
309 ac_prev=program_suffix ;;
310 -program-suffix=* | --program-suffix=* | --program-suffi=* \
311 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
312 program_suffix="$ac_optarg" ;;
314 -program-transform-name | --program-transform-name \
315 | --program-transform-nam | --program-transform-na \
316 | --program-transform-n | --program-transform- \
317 | --program-transform | --program-transfor \
318 | --program-transfo | --program-transf \
319 | --program-trans | --program-tran \
320 | --progr-tra | --program-tr | --program-t)
321 ac_prev=program_transform_name ;;
322 -program-transform-name=* | --program-transform-name=* \
323 | --program-transform-nam=* | --program-transform-na=* \
324 | --program-transform-n=* | --program-transform-=* \
325 | --program-transform=* | --program-transfor=* \
326 | --program-transfo=* | --program-transf=* \
327 | --program-trans=* | --program-tran=* \
328 | --progr-tra=* | --program-tr=* | --program-t=*)
329 program_transform_name="$ac_optarg" ;;
331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
332 | -silent | --silent | --silen | --sile | --sil)
333 silent=yes ;;
335 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
336 ac_prev=sbindir ;;
337 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
338 | --sbi=* | --sb=*)
339 sbindir="$ac_optarg" ;;
341 -sharedstatedir | --sharedstatedir | --sharedstatedi \
342 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
343 | --sharedst | --shareds | --shared | --share | --shar \
344 | --sha | --sh)
345 ac_prev=sharedstatedir ;;
346 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
347 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
348 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
349 | --sha=* | --sh=*)
350 sharedstatedir="$ac_optarg" ;;
352 -site | --site | --sit)
353 ac_prev=site ;;
354 -site=* | --site=* | --sit=*)
355 site="$ac_optarg" ;;
357 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
358 ac_prev=srcdir ;;
359 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
360 srcdir="$ac_optarg" ;;
362 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
363 | --syscon | --sysco | --sysc | --sys | --sy)
364 ac_prev=sysconfdir ;;
365 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
366 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
367 sysconfdir="$ac_optarg" ;;
369 -target | --target | --targe | --targ | --tar | --ta | --t)
370 ac_prev=target ;;
371 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
372 target="$ac_optarg" ;;
374 -v | -verbose | --verbose | --verbos | --verbo | --verb)
375 verbose=yes ;;
377 -version | --version | --versio | --versi | --vers)
378 echo "configure generated by autoconf version 2.13"
379 exit 0 ;;
381 -with-* | --with-*)
382 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
383 # Reject names that are not valid shell variable names.
384 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
385 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
387 ac_package=`echo $ac_package| sed 's/-/_/g'`
388 case "$ac_option" in
389 *=*) ;;
390 *) ac_optarg=yes ;;
391 esac
392 eval "with_${ac_package}='$ac_optarg'" ;;
394 -without-* | --without-*)
395 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
396 # Reject names that are not valid shell variable names.
397 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
398 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
400 ac_package=`echo $ac_package| sed 's/-/_/g'`
401 eval "with_${ac_package}=no" ;;
403 --x)
404 # Obsolete; use --with-x.
405 with_x=yes ;;
407 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
408 | --x-incl | --x-inc | --x-in | --x-i)
409 ac_prev=x_includes ;;
410 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
411 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
412 x_includes="$ac_optarg" ;;
414 -x-libraries | --x-libraries | --x-librarie | --x-librari \
415 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
416 ac_prev=x_libraries ;;
417 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
418 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
419 x_libraries="$ac_optarg" ;;
421 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
425 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
426 echo "configure: warning: $ac_option: invalid host type" 1>&2
428 if test "x$nonopt" != xNONE; then
429 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
431 nonopt="$ac_option"
434 esac
435 done
437 if test -n "$ac_prev"; then
438 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
441 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
443 # File descriptor usage:
444 # 0 standard input
445 # 1 file creation
446 # 2 errors and warnings
447 # 3 some systems may open it to /dev/tty
448 # 4 used on the Kubota Titan
449 # 6 checking for... messages and results
450 # 5 compiler messages saved in config.log
451 if test "$silent" = yes; then
452 exec 6>/dev/null
453 else
454 exec 6>&1
456 exec 5>./config.log
458 echo "\
459 This file contains any messages produced by compilers while
460 running configure, to aid debugging if configure makes a mistake.
461 " 1>&5
463 # Strip out --no-create and --no-recursion so they do not pile up.
464 # Also quote any args containing shell metacharacters.
465 ac_configure_args=
466 for ac_arg
468 case "$ac_arg" in
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c) ;;
471 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
472 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
473 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
474 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
475 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
476 esac
477 done
479 # NLS nuisances.
480 # Only set these to C if already set. These must not be set unconditionally
481 # because not all systems understand e.g. LANG=C (notably SCO).
482 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
483 # Non-C LC_CTYPE values break the ctype check.
484 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
485 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
486 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
487 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
489 # confdefs.h avoids OS command line length limits that DEFS can exceed.
490 rm -rf conftest* confdefs.h
491 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
492 echo > confdefs.h
494 # A filename unique to this package, relative to the directory that
495 # configure is in, which we can look for to find out if srcdir is correct.
496 ac_unique_file=src/complex.cc
498 # Find the source files, if location was not specified.
499 if test -z "$srcdir"; then
500 ac_srcdir_defaulted=yes
501 # Try the directory containing this script, then its parent.
502 ac_prog=$0
503 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
504 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
505 srcdir=$ac_confdir
506 if test ! -r $srcdir/$ac_unique_file; then
507 srcdir=..
509 else
510 ac_srcdir_defaulted=no
512 if test ! -r $srcdir/$ac_unique_file; then
513 if test "$ac_srcdir_defaulted" = yes; then
514 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
515 else
516 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
519 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
521 # Prefer explicitly selected file to automatically selected ones.
522 if test -z "$CONFIG_SITE"; then
523 if test "x$prefix" != xNONE; then
524 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
525 else
526 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
529 for ac_site_file in $CONFIG_SITE; do
530 if test -r "$ac_site_file"; then
531 echo "loading site script $ac_site_file"
532 . "$ac_site_file"
534 done
536 if test -r "$cache_file"; then
537 echo "loading cache $cache_file"
538 . $cache_file
539 else
540 echo "creating cache $cache_file"
541 > $cache_file
544 ac_ext=c
545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
546 ac_cpp='$CPP $CPPFLAGS'
547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
549 cross_compiling=$ac_cv_prog_cc_cross
551 ac_exeext=
552 ac_objext=o
553 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
554 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
555 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
556 ac_n= ac_c='
557 ' ac_t=' '
558 else
559 ac_n=-n ac_c= ac_t=
561 else
562 ac_n= ac_c='\c' ac_t=
566 ac_aux_dir=
567 for ac_dir in .. $srcdir/..; do
568 if test -f $ac_dir/install-sh; then
569 ac_aux_dir=$ac_dir
570 ac_install_sh="$ac_aux_dir/install-sh -c"
571 break
572 elif test -f $ac_dir/install.sh; then
573 ac_aux_dir=$ac_dir
574 ac_install_sh="$ac_aux_dir/install.sh -c"
575 break
577 done
578 if test -z "$ac_aux_dir"; then
579 { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
581 ac_config_guess=$ac_aux_dir/config.guess
582 ac_config_sub=$ac_aux_dir/config.sub
583 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
586 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
588 # Do some error checking and defaulting for the host and target type.
589 # The inputs are:
590 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
592 # The rules are:
593 # 1. You are not allowed to specify --host, --target, and nonopt at the
594 # same time.
595 # 2. Host defaults to nonopt.
596 # 3. If nonopt is not specified, then host defaults to the current host,
597 # as determined by config.guess.
598 # 4. Target and build default to nonopt.
599 # 5. If nonopt is not specified, then target and build default to host.
601 # The aliases save the names the user supplied, while $host etc.
602 # will get canonicalized.
603 case $host---$target---$nonopt in
604 NONE---*---* | *---NONE---* | *---*---NONE) ;;
605 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
606 esac
609 # Make sure we can run config.sub.
610 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
611 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
614 echo $ac_n "checking host system type""... $ac_c" 1>&6
615 echo "configure:616: checking host system type" >&5
617 host_alias=$host
618 case "$host_alias" in
619 NONE)
620 case $nonopt in
621 NONE)
622 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
623 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
624 fi ;;
625 *) host_alias=$nonopt ;;
626 esac ;;
627 esac
629 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
630 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
631 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
632 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
633 echo "$ac_t""$host" 1>&6
635 echo $ac_n "checking target system type""... $ac_c" 1>&6
636 echo "configure:637: checking target system type" >&5
638 target_alias=$target
639 case "$target_alias" in
640 NONE)
641 case $nonopt in
642 NONE) target_alias=$host_alias ;;
643 *) target_alias=$nonopt ;;
644 esac ;;
645 esac
647 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
648 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
649 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
650 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
651 echo "$ac_t""$target" 1>&6
653 echo $ac_n "checking build system type""... $ac_c" 1>&6
654 echo "configure:655: checking build system type" >&5
656 build_alias=$build
657 case "$build_alias" in
658 NONE)
659 case $nonopt in
660 NONE) build_alias=$host_alias ;;
661 *) build_alias=$nonopt ;;
662 esac ;;
663 esac
665 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
666 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
667 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
668 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
669 echo "$ac_t""$build" 1>&6
671 test "$host_alias" != "$target_alias" &&
672 test "$program_prefix$program_suffix$program_transform_name" = \
673 NONENONEs,x,x, &&
674 program_prefix=${target_alias}-
677 # We use these options to decide which functions to include.
678 # Check whether --with-target-subdir or --without-target-subdir was given.
679 if test "${with_target_subdir+set}" = set; then
680 withval="$with_target_subdir"
684 # Check whether --with-cross-host or --without-cross-host was given.
685 if test "${with_cross_host+set}" = set; then
686 withval="$with_cross_host"
691 # Find a good install program. We prefer a C program (faster),
692 # so one script is as good as another. But avoid the broken or
693 # incompatible versions:
694 # SysV /etc/install, /usr/sbin/install
695 # SunOS /usr/etc/install
696 # IRIX /sbin/install
697 # AIX /bin/install
698 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
699 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
700 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
701 # ./install, which can be erroneously created by make from ./install.sh.
702 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
703 echo "configure:704: checking for a BSD compatible install" >&5
704 if test -z "$INSTALL"; then
705 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
706 echo $ac_n "(cached) $ac_c" 1>&6
707 else
708 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
709 for ac_dir in $PATH; do
710 # Account for people who put trailing slashes in PATH elements.
711 case "$ac_dir/" in
712 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
714 # OSF1 and SCO ODT 3.0 have their own names for install.
715 # Don't use installbsd from OSF since it installs stuff as root
716 # by default.
717 for ac_prog in ginstall scoinst install; do
718 if test -f $ac_dir/$ac_prog; then
719 if test $ac_prog = install &&
720 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
721 # AIX install. It has an incompatible calling convention.
723 else
724 ac_cv_path_install="$ac_dir/$ac_prog -c"
725 break 2
728 done
730 esac
731 done
732 IFS="$ac_save_IFS"
735 if test "${ac_cv_path_install+set}" = set; then
736 INSTALL="$ac_cv_path_install"
737 else
738 # As a last resort, use the slow shell script. We don't cache a
739 # path for INSTALL within a source directory, because that will
740 # break other packages using the cache if that directory is
741 # removed, or if the path is relative.
742 INSTALL="$ac_install_sh"
745 echo "$ac_t""$INSTALL" 1>&6
747 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
748 # It thinks the first close brace ends the variable substitution.
749 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
751 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
753 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
755 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
756 echo "configure:757: checking whether build environment is sane" >&5
757 # Just in case
758 sleep 1
759 echo timestamp > conftestfile
760 # Do `set' in a subshell so we don't clobber the current shell's
761 # arguments. Must try -L first in case configure is actually a
762 # symlink; some systems play weird games with the mod time of symlinks
763 # (eg FreeBSD returns the mod time of the symlink's containing
764 # directory).
765 if (
766 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
767 if test "$*" = "X"; then
768 # -L didn't work.
769 set X `ls -t $srcdir/configure conftestfile`
771 if test "$*" != "X $srcdir/configure conftestfile" \
772 && test "$*" != "X conftestfile $srcdir/configure"; then
774 # If neither matched, then we have a broken ls. This can happen
775 # if, for instance, CONFIG_SHELL is bash and it inherits a
776 # broken ls alias from the environment. This has actually
777 # happened. Such a system could not be considered "sane".
778 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
779 alias in your environment" 1>&2; exit 1; }
782 test "$2" = conftestfile
784 then
785 # Ok.
787 else
788 { echo "configure: error: newly created file is older than distributed files!
789 Check your system clock" 1>&2; exit 1; }
791 rm -f conftest*
792 echo "$ac_t""yes" 1>&6
793 if test "$program_transform_name" = s,x,x,; then
794 program_transform_name=
795 else
796 # Double any \ or $. echo might interpret backslashes.
797 cat <<\EOF_SED > conftestsed
798 s,\\,\\\\,g; s,\$,$$,g
799 EOF_SED
800 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
801 rm -f conftestsed
803 test "$program_prefix" != NONE &&
804 program_transform_name="s,^,${program_prefix},; $program_transform_name"
805 # Use a double $ so make ignores it.
806 test "$program_suffix" != NONE &&
807 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
809 # sed with no file args requires a program.
810 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
812 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
813 echo "configure:814: checking whether ${MAKE-make} sets \${MAKE}" >&5
814 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
815 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
816 echo $ac_n "(cached) $ac_c" 1>&6
817 else
818 cat > conftestmake <<\EOF
819 all:
820 @echo 'ac_maketemp="${MAKE}"'
822 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
823 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
824 if test -n "$ac_maketemp"; then
825 eval ac_cv_prog_make_${ac_make}_set=yes
826 else
827 eval ac_cv_prog_make_${ac_make}_set=no
829 rm -f conftestmake
831 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
832 echo "$ac_t""yes" 1>&6
833 SET_MAKE=
834 else
835 echo "$ac_t""no" 1>&6
836 SET_MAKE="MAKE=${MAKE-make}"
839 if test $host != $build; then
840 ac_tool_prefix=${host_alias}-
841 else
842 ac_tool_prefix=
845 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
846 echo "configure:847: checking for Cygwin environment" >&5
847 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
848 echo $ac_n "(cached) $ac_c" 1>&6
849 else
850 cat > conftest.$ac_ext <<EOF
851 #line 852 "configure"
852 #include "confdefs.h"
854 int main() {
856 #ifndef __CYGWIN__
857 #define __CYGWIN__ __CYGWIN32__
858 #endif
859 return __CYGWIN__;
860 ; return 0; }
862 if { (eval echo configure:863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
863 rm -rf conftest*
864 ac_cv_cygwin=yes
865 else
866 echo "configure: failed program was:" >&5
867 cat conftest.$ac_ext >&5
868 rm -rf conftest*
869 ac_cv_cygwin=no
871 rm -f conftest*
872 rm -f conftest*
875 echo "$ac_t""$ac_cv_cygwin" 1>&6
876 CYGWIN=
877 test "$ac_cv_cygwin" = yes && CYGWIN=yes
878 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
879 echo "configure:880: checking for mingw32 environment" >&5
880 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
881 echo $ac_n "(cached) $ac_c" 1>&6
882 else
883 cat > conftest.$ac_ext <<EOF
884 #line 885 "configure"
885 #include "confdefs.h"
887 int main() {
888 return __MINGW32__;
889 ; return 0; }
891 if { (eval echo configure:892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
892 rm -rf conftest*
893 ac_cv_mingw32=yes
894 else
895 echo "configure: failed program was:" >&5
896 cat conftest.$ac_ext >&5
897 rm -rf conftest*
898 ac_cv_mingw32=no
900 rm -f conftest*
901 rm -f conftest*
904 echo "$ac_t""$ac_cv_mingw32" 1>&6
905 MINGW32=
906 test "$ac_cv_mingw32" = yes && MINGW32=yes
908 # Check whether --enable-multilib or --disable-multilib was given.
909 if test "${enable_multilib+set}" = set; then
910 enableval="$enable_multilib"
911 case "${enableval}" in
912 yes) multilib=yes ;;
913 no) multilib=no ;;
914 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
915 esac
916 else
917 multilib=yes
920 if test "${srcdir}" = "."; then
921 if test "${with_target_subdir}" != "."; then
922 glibcpp_basedir="${srcdir}/${with_multisrctop}../."
923 else
924 glibcpp_basedir="${srcdir}/${with_multisrctop}."
926 else
927 glibcpp_basedir="${srcdir}/."
932 PACKAGE=libstdc++
934 VERSION=2.90.8
936 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
937 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
939 cat >> confdefs.h <<EOF
940 #define PACKAGE "$PACKAGE"
943 cat >> confdefs.h <<EOF
944 #define VERSION "$VERSION"
949 missing_dir=`cd $ac_aux_dir && pwd`
950 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
951 echo "configure:952: checking for working aclocal" >&5
952 # Run test in a subshell; some versions of sh will print an error if
953 # an executable is not found, even if stderr is redirected.
954 # Redirect stdin to placate older versions of autoconf. Sigh.
955 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
956 ACLOCAL=aclocal
957 echo "$ac_t""found" 1>&6
958 else
959 ACLOCAL="$missing_dir/missing aclocal"
960 echo "$ac_t""missing" 1>&6
963 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
964 echo "configure:965: checking for working autoconf" >&5
965 # Run test in a subshell; some versions of sh will print an error if
966 # an executable is not found, even if stderr is redirected.
967 # Redirect stdin to placate older versions of autoconf. Sigh.
968 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
969 AUTOCONF=autoconf
970 echo "$ac_t""found" 1>&6
971 else
972 AUTOCONF="$missing_dir/missing autoconf"
973 echo "$ac_t""missing" 1>&6
976 echo $ac_n "checking for working automake""... $ac_c" 1>&6
977 echo "configure:978: checking for working automake" >&5
978 # Run test in a subshell; some versions of sh will print an error if
979 # an executable is not found, even if stderr is redirected.
980 # Redirect stdin to placate older versions of autoconf. Sigh.
981 if (automake --version) < /dev/null > /dev/null 2>&1; then
982 AUTOMAKE=automake
983 echo "$ac_t""found" 1>&6
984 else
985 AUTOMAKE="$missing_dir/missing automake"
986 echo "$ac_t""missing" 1>&6
989 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
990 echo "configure:991: checking for working autoheader" >&5
991 # Run test in a subshell; some versions of sh will print an error if
992 # an executable is not found, even if stderr is redirected.
993 # Redirect stdin to placate older versions of autoconf. Sigh.
994 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
995 AUTOHEADER=autoheader
996 echo "$ac_t""found" 1>&6
997 else
998 AUTOHEADER="$missing_dir/missing autoheader"
999 echo "$ac_t""missing" 1>&6
1002 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1003 echo "configure:1004: checking for working makeinfo" >&5
1004 # Run test in a subshell; some versions of sh will print an error if
1005 # an executable is not found, even if stderr is redirected.
1006 # Redirect stdin to placate older versions of autoconf. Sigh.
1007 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1008 MAKEINFO=makeinfo
1009 echo "$ac_t""found" 1>&6
1010 else
1011 MAKEINFO="$missing_dir/missing makeinfo"
1012 echo "$ac_t""missing" 1>&6
1017 # Never versions of autoconf add an underscore to these functions.
1018 # Prevent future problems ...
1024 # AC_PROG_CC
1026 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1027 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1028 # are probably using a cross compiler, which will not be able to fully
1029 # link an executable. This should really be fixed in autoconf
1030 # itself.
1035 # Extract the first word of "gcc", so it can be a program name with args.
1036 set dummy gcc; ac_word=$2
1037 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1038 echo "configure:1039: checking for $ac_word" >&5
1039 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1040 echo $ac_n "(cached) $ac_c" 1>&6
1041 else
1042 if test -n "$CC"; then
1043 ac_cv_prog_CC="$CC" # Let the user override the test.
1044 else
1045 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1046 ac_dummy="$PATH"
1047 for ac_dir in $ac_dummy; do
1048 test -z "$ac_dir" && ac_dir=.
1049 if test -f $ac_dir/$ac_word; then
1050 ac_cv_prog_CC="gcc"
1051 break
1053 done
1054 IFS="$ac_save_ifs"
1057 CC="$ac_cv_prog_CC"
1058 if test -n "$CC"; then
1059 echo "$ac_t""$CC" 1>&6
1060 else
1061 echo "$ac_t""no" 1>&6
1064 if test -z "$CC"; then
1065 # Extract the first word of "cc", so it can be a program name with args.
1066 set dummy cc; ac_word=$2
1067 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1068 echo "configure:1069: checking for $ac_word" >&5
1069 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1070 echo $ac_n "(cached) $ac_c" 1>&6
1071 else
1072 if test -n "$CC"; then
1073 ac_cv_prog_CC="$CC" # Let the user override the test.
1074 else
1075 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1076 ac_prog_rejected=no
1077 ac_dummy="$PATH"
1078 for ac_dir in $ac_dummy; do
1079 test -z "$ac_dir" && ac_dir=.
1080 if test -f $ac_dir/$ac_word; then
1081 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1082 ac_prog_rejected=yes
1083 continue
1085 ac_cv_prog_CC="cc"
1086 break
1088 done
1089 IFS="$ac_save_ifs"
1090 if test $ac_prog_rejected = yes; then
1091 # We found a bogon in the path, so make sure we never use it.
1092 set dummy $ac_cv_prog_CC
1093 shift
1094 if test $# -gt 0; then
1095 # We chose a different compiler from the bogus one.
1096 # However, it has the same basename, so the bogon will be chosen
1097 # first if we set CC to just the basename; use the full file name.
1098 shift
1099 set dummy "$ac_dir/$ac_word" "$@"
1100 shift
1101 ac_cv_prog_CC="$@"
1106 CC="$ac_cv_prog_CC"
1107 if test -n "$CC"; then
1108 echo "$ac_t""$CC" 1>&6
1109 else
1110 echo "$ac_t""no" 1>&6
1113 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1116 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1117 echo "configure:1118: checking whether we are using GNU C" >&5
1118 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1119 echo $ac_n "(cached) $ac_c" 1>&6
1120 else
1121 cat > conftest.c <<EOF
1122 #ifdef __GNUC__
1123 yes;
1124 #endif
1126 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1127 ac_cv_prog_gcc=yes
1128 else
1129 ac_cv_prog_gcc=no
1133 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1135 if test $ac_cv_prog_gcc = yes; then
1136 GCC=yes
1137 ac_test_CFLAGS="${CFLAGS+set}"
1138 ac_save_CFLAGS="$CFLAGS"
1139 CFLAGS=
1140 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1141 echo "configure:1142: checking whether ${CC-cc} accepts -g" >&5
1142 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1143 echo $ac_n "(cached) $ac_c" 1>&6
1144 else
1145 echo 'void f(){}' > conftest.c
1146 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1147 ac_cv_prog_cc_g=yes
1148 else
1149 ac_cv_prog_cc_g=no
1151 rm -f conftest*
1155 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1156 if test "$ac_test_CFLAGS" = set; then
1157 CFLAGS="$ac_save_CFLAGS"
1158 elif test $ac_cv_prog_cc_g = yes; then
1159 CFLAGS="-g -O2"
1160 else
1161 CFLAGS="-O2"
1163 else
1164 GCC=
1165 test "${CFLAGS+set}" = set || CFLAGS="-g"
1169 # Can't just call these here as g++ requires libstc++ to be built....
1170 # AC_PROG_CXX
1172 # Likewise for AC_PROG_CXX.
1176 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1178 # Extract the first word of "$ac_prog", so it can be a program name with args.
1179 set dummy $ac_prog; ac_word=$2
1180 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1181 echo "configure:1182: checking for $ac_word" >&5
1182 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1183 echo $ac_n "(cached) $ac_c" 1>&6
1184 else
1185 if test -n "$CXX"; then
1186 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1187 else
1188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1189 ac_dummy="$PATH"
1190 for ac_dir in $ac_dummy; do
1191 test -z "$ac_dir" && ac_dir=.
1192 if test -f $ac_dir/$ac_word; then
1193 ac_cv_prog_CXX="$ac_prog"
1194 break
1196 done
1197 IFS="$ac_save_ifs"
1200 CXX="$ac_cv_prog_CXX"
1201 if test -n "$CXX"; then
1202 echo "$ac_t""$CXX" 1>&6
1203 else
1204 echo "$ac_t""no" 1>&6
1207 test -n "$CXX" && break
1208 done
1209 test -n "$CXX" || CXX="gcc"
1211 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1213 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1214 echo "configure:1215: checking whether we are using GNU C++" >&5
1215 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1216 echo $ac_n "(cached) $ac_c" 1>&6
1217 else
1218 cat > conftest.C <<EOF
1219 #ifdef __GNUC__
1220 yes;
1221 #endif
1223 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1224 ac_cv_prog_gxx=yes
1225 else
1226 ac_cv_prog_gxx=no
1230 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1232 if test $ac_cv_prog_gxx = yes; then
1233 GXX=yes
1234 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1235 ac_save_CXXFLAGS="$CXXFLAGS"
1236 CXXFLAGS=
1237 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1238 echo "configure:1239: checking whether ${CXX-g++} accepts -g" >&5
1239 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1240 echo $ac_n "(cached) $ac_c" 1>&6
1241 else
1242 echo 'void f(){}' > conftest.cc
1243 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1244 ac_cv_prog_cxx_g=yes
1245 else
1246 ac_cv_prog_cxx_g=no
1248 rm -f conftest*
1252 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1253 if test "$ac_test_CXXFLAGS" = set; then
1254 CXXFLAGS="$ac_save_CXXFLAGS"
1255 elif test $ac_cv_prog_cxx_g = yes; then
1256 CXXFLAGS="-g -O2"
1257 else
1258 CXXFLAGS="-O2"
1260 else
1261 GXX=
1262 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1266 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1267 set dummy ${ac_tool_prefix}as; ac_word=$2
1268 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1269 echo "configure:1270: checking for $ac_word" >&5
1270 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1271 echo $ac_n "(cached) $ac_c" 1>&6
1272 else
1273 if test -n "$AS"; then
1274 ac_cv_prog_AS="$AS" # Let the user override the test.
1275 else
1276 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1277 ac_dummy="$PATH"
1278 for ac_dir in $ac_dummy; do
1279 test -z "$ac_dir" && ac_dir=.
1280 if test -f $ac_dir/$ac_word; then
1281 ac_cv_prog_AS="${ac_tool_prefix}as"
1282 break
1284 done
1285 IFS="$ac_save_ifs"
1286 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1289 AS="$ac_cv_prog_AS"
1290 if test -n "$AS"; then
1291 echo "$ac_t""$AS" 1>&6
1292 else
1293 echo "$ac_t""no" 1>&6
1298 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1299 set dummy ${ac_tool_prefix}ar; ac_word=$2
1300 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1301 echo "configure:1302: checking for $ac_word" >&5
1302 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1303 echo $ac_n "(cached) $ac_c" 1>&6
1304 else
1305 if test -n "$AR"; then
1306 ac_cv_prog_AR="$AR" # Let the user override the test.
1307 else
1308 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1309 ac_dummy="$PATH"
1310 for ac_dir in $ac_dummy; do
1311 test -z "$ac_dir" && ac_dir=.
1312 if test -f $ac_dir/$ac_word; then
1313 ac_cv_prog_AR="${ac_tool_prefix}ar"
1314 break
1316 done
1317 IFS="$ac_save_ifs"
1318 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1321 AR="$ac_cv_prog_AR"
1322 if test -n "$AR"; then
1323 echo "$ac_t""$AR" 1>&6
1324 else
1325 echo "$ac_t""no" 1>&6
1330 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1331 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1332 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1333 echo "configure:1334: checking for $ac_word" >&5
1334 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1335 echo $ac_n "(cached) $ac_c" 1>&6
1336 else
1337 if test -n "$RANLIB"; then
1338 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1339 else
1340 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1341 ac_dummy="$PATH"
1342 for ac_dir in $ac_dummy; do
1343 test -z "$ac_dir" && ac_dir=.
1344 if test -f $ac_dir/$ac_word; then
1345 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1346 break
1348 done
1349 IFS="$ac_save_ifs"
1352 RANLIB="$ac_cv_prog_RANLIB"
1353 if test -n "$RANLIB"; then
1354 echo "$ac_t""$RANLIB" 1>&6
1355 else
1356 echo "$ac_t""no" 1>&6
1360 if test -z "$ac_cv_prog_RANLIB"; then
1361 if test -n "$ac_tool_prefix"; then
1362 # Extract the first word of "ranlib", so it can be a program name with args.
1363 set dummy ranlib; ac_word=$2
1364 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1365 echo "configure:1366: checking for $ac_word" >&5
1366 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1367 echo $ac_n "(cached) $ac_c" 1>&6
1368 else
1369 if test -n "$RANLIB"; then
1370 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1371 else
1372 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1373 ac_dummy="$PATH"
1374 for ac_dir in $ac_dummy; do
1375 test -z "$ac_dir" && ac_dir=.
1376 if test -f $ac_dir/$ac_word; then
1377 ac_cv_prog_RANLIB="ranlib"
1378 break
1380 done
1381 IFS="$ac_save_ifs"
1382 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1385 RANLIB="$ac_cv_prog_RANLIB"
1386 if test -n "$RANLIB"; then
1387 echo "$ac_t""$RANLIB" 1>&6
1388 else
1389 echo "$ac_t""no" 1>&6
1392 else
1393 RANLIB=":"
1398 # Find a good install program. We prefer a C program (faster),
1399 # so one script is as good as another. But avoid the broken or
1400 # incompatible versions:
1401 # SysV /etc/install, /usr/sbin/install
1402 # SunOS /usr/etc/install
1403 # IRIX /sbin/install
1404 # AIX /bin/install
1405 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1406 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1407 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1408 # ./install, which can be erroneously created by make from ./install.sh.
1409 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1410 echo "configure:1411: checking for a BSD compatible install" >&5
1411 if test -z "$INSTALL"; then
1412 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1413 echo $ac_n "(cached) $ac_c" 1>&6
1414 else
1415 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1416 for ac_dir in $PATH; do
1417 # Account for people who put trailing slashes in PATH elements.
1418 case "$ac_dir/" in
1419 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1421 # OSF1 and SCO ODT 3.0 have their own names for install.
1422 # Don't use installbsd from OSF since it installs stuff as root
1423 # by default.
1424 for ac_prog in ginstall scoinst install; do
1425 if test -f $ac_dir/$ac_prog; then
1426 if test $ac_prog = install &&
1427 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1428 # AIX install. It has an incompatible calling convention.
1430 else
1431 ac_cv_path_install="$ac_dir/$ac_prog -c"
1432 break 2
1435 done
1437 esac
1438 done
1439 IFS="$ac_save_IFS"
1442 if test "${ac_cv_path_install+set}" = set; then
1443 INSTALL="$ac_cv_path_install"
1444 else
1445 # As a last resort, use the slow shell script. We don't cache a
1446 # path for INSTALL within a source directory, because that will
1447 # break other packages using the cache if that directory is
1448 # removed, or if the path is relative.
1449 INSTALL="$ac_install_sh"
1452 echo "$ac_t""$INSTALL" 1>&6
1454 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1455 # It thinks the first close brace ends the variable substitution.
1456 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1458 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1460 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1463 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1464 echo "configure:1465: checking whether to enable maintainer-specific portions of Makefiles" >&5
1465 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1466 if test "${enable_maintainer_mode+set}" = set; then
1467 enableval="$enable_maintainer_mode"
1468 USE_MAINTAINER_MODE=$enableval
1469 else
1470 USE_MAINTAINER_MODE=no
1473 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1476 if test $USE_MAINTAINER_MODE = yes; then
1477 MAINTAINER_MODE_TRUE=
1478 MAINTAINER_MODE_FALSE='#'
1479 else
1480 MAINTAINER_MODE_TRUE='#'
1481 MAINTAINER_MODE_FALSE=
1483 MAINT=$MAINTAINER_MODE_TRUE
1487 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1488 # at least currently, we never actually build a program, so we never
1489 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1490 # fails, because we are probably configuring with a cross compiler
1491 # which cant create executables. So we include AC_EXEEXT to keep
1492 # automake happy, but we dont execute it, since we dont care about
1493 # the result.
1494 if false; then
1497 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1498 echo "configure:1499: checking for executable suffix" >&5
1499 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1500 echo $ac_n "(cached) $ac_c" 1>&6
1501 else
1502 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1503 ac_cv_exeext=.exe
1504 else
1505 rm -f conftest*
1506 echo 'int main () { return 0; }' > conftest.$ac_ext
1507 ac_cv_exeext=
1508 if { (eval echo configure:1509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1509 for file in conftest.*; do
1510 case $file in
1511 *.c | *.o | *.obj) ;;
1512 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1513 esac
1514 done
1515 else
1516 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1518 rm -f conftest*
1519 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1523 EXEEXT=""
1524 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1525 echo "$ac_t""${ac_cv_exeext}" 1>&6
1526 ac_exeext=$EXEEXT
1530 # configure.host sets the following important variables
1531 # glibcpp_cflags - host specific C compiler flags
1532 # glibcpp_cxxflags - host specific C++ compiler flags
1533 glibcpp_cflags=
1534 glibcpp_cxxflags=
1536 . ${glibcpp_basedir}/configure.host
1538 case ${glibcpp_basedir} in
1539 /* | A-Za-z:/\\*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1540 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1541 esac
1543 GLIBCPP_CFLAGS="${glibcpp_cflags}"
1544 GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1549 # Check whether --enable-shared or --disable-shared was given.
1550 if test "${enable_shared+set}" = set; then
1551 enableval="$enable_shared"
1552 p=${PACKAGE-default}
1553 case "$enableval" in
1554 yes) enable_shared=yes ;;
1555 no) enable_shared=no ;;
1557 enable_shared=no
1558 # Look at the argument we got. We use all the common list separators.
1559 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1560 for pkg in $enableval; do
1561 if test "X$pkg" = "X$p"; then
1562 enable_shared=yes
1564 done
1565 IFS="$ac_save_ifs"
1567 esac
1568 else
1569 enable_shared=yes
1572 # Check whether --enable-static or --disable-static was given.
1573 if test "${enable_static+set}" = set; then
1574 enableval="$enable_static"
1575 p=${PACKAGE-default}
1576 case "$enableval" in
1577 yes) enable_static=yes ;;
1578 no) enable_static=no ;;
1580 enable_static=no
1581 # Look at the argument we got. We use all the common list separators.
1582 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1583 for pkg in $enableval; do
1584 if test "X$pkg" = "X$p"; then
1585 enable_static=yes
1587 done
1588 IFS="$ac_save_ifs"
1590 esac
1591 else
1592 enable_static=yes
1595 # Check whether --enable-fast-install or --disable-fast-install was given.
1596 if test "${enable_fast_install+set}" = set; then
1597 enableval="$enable_fast_install"
1598 p=${PACKAGE-default}
1599 case "$enableval" in
1600 yes) enable_fast_install=yes ;;
1601 no) enable_fast_install=no ;;
1603 enable_fast_install=no
1604 # Look at the argument we got. We use all the common list separators.
1605 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1606 for pkg in $enableval; do
1607 if test "X$pkg" = "X$p"; then
1608 enable_fast_install=yes
1610 done
1611 IFS="$ac_save_ifs"
1613 esac
1614 else
1615 enable_fast_install=yes
1618 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1619 if test "${with_gnu_ld+set}" = set; then
1620 withval="$with_gnu_ld"
1621 test "$withval" = no || with_gnu_ld=yes
1622 else
1623 with_gnu_ld=no
1626 ac_prog=ld
1627 if test "$ac_cv_prog_gcc" = yes; then
1628 # Check if gcc -print-prog-name=ld gives a path.
1629 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1630 echo "configure:1631: checking for ld used by GCC" >&5
1631 case $host in
1632 *-*-mingw*)
1633 # gcc leaves a trailing carriage return which upsets mingw
1634 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1636 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1637 esac
1638 case "$ac_prog" in
1639 # Accept absolute paths.
1640 [\\/]* | [A-Za-z]:[\\/]*)
1641 re_direlt='/[^/][^/]*/\.\./'
1642 # Canonicalize the path of ld
1643 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1644 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1645 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1646 done
1647 test -z "$LD" && LD="$ac_prog"
1650 # If it fails, then pretend we aren't using GCC.
1651 ac_prog=ld
1654 # If it is relative, then search for the first ld in PATH.
1655 with_gnu_ld=unknown
1657 esac
1658 elif test "$with_gnu_ld" = yes; then
1659 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1660 echo "configure:1661: checking for GNU ld" >&5
1661 else
1662 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1663 echo "configure:1664: checking for non-GNU ld" >&5
1665 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1666 echo $ac_n "(cached) $ac_c" 1>&6
1667 else
1668 if test -z "$LD"; then
1669 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1670 for ac_dir in $PATH; do
1671 test -z "$ac_dir" && ac_dir=.
1672 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1673 ac_cv_path_LD="$ac_dir/$ac_prog"
1674 # Check to see if the program is GNU ld. I'd rather use --version,
1675 # but apparently some GNU ld's only accept -v.
1676 # Break only if it was the GNU/non-GNU ld that we prefer.
1677 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1678 test "$with_gnu_ld" != no && break
1679 else
1680 test "$with_gnu_ld" != yes && break
1683 done
1684 IFS="$ac_save_ifs"
1685 else
1686 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1690 LD="$ac_cv_path_LD"
1691 if test -n "$LD"; then
1692 echo "$ac_t""$LD" 1>&6
1693 else
1694 echo "$ac_t""no" 1>&6
1696 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1697 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1698 echo "configure:1699: checking if the linker ($LD) is GNU ld" >&5
1699 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1700 echo $ac_n "(cached) $ac_c" 1>&6
1701 else
1702 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1703 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1704 ac_cv_prog_gnu_ld=yes
1705 else
1706 ac_cv_prog_gnu_ld=no
1710 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1711 with_gnu_ld=$ac_cv_prog_gnu_ld
1714 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1715 echo "configure:1716: checking for $LD option to reload object files" >&5
1716 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1717 echo $ac_n "(cached) $ac_c" 1>&6
1718 else
1719 lt_cv_ld_reload_flag='-r'
1722 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1723 reload_flag=$lt_cv_ld_reload_flag
1724 test -n "$reload_flag" && reload_flag=" $reload_flag"
1726 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1727 echo "configure:1728: checking for BSD-compatible nm" >&5
1728 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1729 echo $ac_n "(cached) $ac_c" 1>&6
1730 else
1731 if test -n "$NM"; then
1732 # Let the user override the test.
1733 ac_cv_path_NM="$NM"
1734 else
1735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1736 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1737 test -z "$ac_dir" && ac_dir=.
1738 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1739 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1740 # Check to see if the nm accepts a BSD-compat flag.
1741 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1742 # nm: unknown option "B" ignored
1743 # Tru64's nm complains that /dev/null is an invalid object file
1744 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1745 ac_cv_path_NM="$tmp_nm -B"
1746 break
1747 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1748 ac_cv_path_NM="$tmp_nm -p"
1749 break
1750 else
1751 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1752 continue # so that we can try to find one that supports BSD flags
1755 done
1756 IFS="$ac_save_ifs"
1757 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1761 NM="$ac_cv_path_NM"
1762 echo "$ac_t""$NM" 1>&6
1764 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1765 echo "configure:1766: checking whether ln -s works" >&5
1766 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1767 echo $ac_n "(cached) $ac_c" 1>&6
1768 else
1769 rm -f conftestdata
1770 if ln -s X conftestdata 2>/dev/null
1771 then
1772 rm -f conftestdata
1773 ac_cv_prog_LN_S="ln -s"
1774 else
1775 ac_cv_prog_LN_S=ln
1778 LN_S="$ac_cv_prog_LN_S"
1779 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1780 echo "$ac_t""yes" 1>&6
1781 else
1782 echo "$ac_t""no" 1>&6
1785 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1786 echo "configure:1787: checking how to recognise dependant libraries" >&5
1787 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1788 echo $ac_n "(cached) $ac_c" 1>&6
1789 else
1790 lt_cv_file_magic_cmd='$MAGIC_CMD'
1791 lt_cv_file_magic_test_file=
1792 lt_cv_deplibs_check_method='unknown'
1793 # Need to set the preceding variable on all platforms that support
1794 # interlibrary dependencies.
1795 # 'none' -- dependencies not supported.
1796 # `unknown' -- same as none, but documents that we really don't know.
1797 # 'pass_all' -- all dependencies passed with no checks.
1798 # 'test_compile' -- check by making test program.
1799 # 'file_magic [regex]' -- check by looking for files in library path
1800 # which responds to the $file_magic_cmd with a given egrep regex.
1801 # If you have `file' or equivalent on your system and you're not sure
1802 # whether `pass_all' will *always* work, you probably want this one.
1804 case "$host_os" in
1805 aix4*)
1806 lt_cv_deplibs_check_method=pass_all
1809 beos*)
1810 lt_cv_deplibs_check_method=pass_all
1813 bsdi4*)
1814 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1815 lt_cv_file_magic_cmd='/usr/bin/file -L'
1816 lt_cv_file_magic_test_file=/shlib/libc.so
1819 cygwin* | mingw* |pw32*)
1820 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1821 lt_cv_file_magic_cmd='$OBJDUMP -f'
1824 freebsd* )
1825 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1826 case "$host_cpu" in
1827 i*86 )
1828 # Not sure whether the presence of OpenBSD here was a mistake.
1829 # Let's accept both of them until this is cleared up.
1830 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1831 lt_cv_file_magic_cmd=/usr/bin/file
1832 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1834 esac
1835 else
1836 lt_cv_deplibs_check_method=pass_all
1840 gnu*)
1841 lt_cv_deplibs_check_method=pass_all
1844 hpux10.20*)
1845 # TODO: Does this work for hpux-11 too?
1846 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1847 lt_cv_file_magic_cmd=/usr/bin/file
1848 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1851 irix5* | irix6*)
1852 case "$host_os" in
1853 irix5*)
1854 # this will be overridden with pass_all, but let us keep it just in case
1855 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1858 case "$LD" in
1859 *-32|*"-32 ") libmagic=32-bit;;
1860 *-n32|*"-n32 ") libmagic=N32;;
1861 *-64|*"-64 ") libmagic=64-bit;;
1862 *) libmagic=never-match;;
1863 esac
1864 # this will be overridden with pass_all, but let us keep it just in case
1865 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1867 esac
1868 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1869 lt_cv_deplibs_check_method=pass_all
1872 # This must be Linux ELF.
1873 linux-gnu*)
1874 case "$host_cpu" in
1875 alpha* | i*86 | powerpc* | sparc* | ia64* )
1876 lt_cv_deplibs_check_method=pass_all ;;
1878 # glibc up to 2.1.1 does not perform some relocations on ARM
1879 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1880 esac
1881 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1884 netbsd*)
1885 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1886 else
1887 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1888 lt_cv_file_magic_cmd='/usr/bin/file -L'
1889 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1893 osf3* | osf4* | osf5*)
1894 # this will be overridden with pass_all, but let us keep it just in case
1895 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1896 lt_cv_file_magic_test_file=/shlib/libc.so
1897 lt_cv_deplibs_check_method=pass_all
1900 sco3.2v5*)
1901 lt_cv_deplibs_check_method=pass_all
1904 solaris*)
1905 lt_cv_deplibs_check_method=pass_all
1906 lt_cv_file_magic_test_file=/lib/libc.so
1909 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1910 case "$host_vendor" in
1911 ncr)
1912 lt_cv_deplibs_check_method=pass_all
1914 motorola)
1915 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
1916 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1918 esac
1920 esac
1924 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1925 file_magic_cmd=$lt_cv_file_magic_cmd
1926 deplibs_check_method=$lt_cv_deplibs_check_method
1928 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1929 echo "configure:1930: checking for object suffix" >&5
1930 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1931 echo $ac_n "(cached) $ac_c" 1>&6
1932 else
1933 rm -f conftest*
1934 echo 'int i = 1;' > conftest.$ac_ext
1935 if { (eval echo configure:1936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1936 for ac_file in conftest.*; do
1937 case $ac_file in
1938 *.c) ;;
1939 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1940 esac
1941 done
1942 else
1943 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1945 rm -f conftest*
1948 echo "$ac_t""$ac_cv_objext" 1>&6
1949 OBJEXT=$ac_cv_objext
1950 ac_objext=$ac_cv_objext
1952 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1954 # Only perform the check for file, if the check method requires it
1955 case "$deplibs_check_method" in
1956 file_magic*)
1957 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1958 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1959 echo "configure:1960: checking for ${ac_tool_prefix}file" >&5
1960 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1961 echo $ac_n "(cached) $ac_c" 1>&6
1962 else
1963 case "$MAGIC_CMD" in
1965 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1967 ?:/*)
1968 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1971 ac_save_MAGIC_CMD="$MAGIC_CMD"
1972 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1973 ac_dummy="/usr/bin:$PATH"
1974 for ac_dir in $ac_dummy; do
1975 test -z "$ac_dir" && ac_dir=.
1976 if test -f $ac_dir/${ac_tool_prefix}file; then
1977 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1978 if test -n "$file_magic_test_file"; then
1979 case "$deplibs_check_method" in
1980 "file_magic "*)
1981 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1982 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1983 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1984 egrep "$file_magic_regex" > /dev/null; then
1986 else
1987 cat <<EOF 1>&2
1989 *** Warning: the command libtool uses to detect shared libraries,
1990 *** $file_magic_cmd, produces output that libtool cannot recognize.
1991 *** The result is that libtool may fail to recognize shared libraries
1992 *** as such. This will affect the creation of libtool libraries that
1993 *** depend on shared libraries, but programs linked with such libtool
1994 *** libraries will work regardless of this problem. Nevertheless, you
1995 *** may want to report the problem to your system manager and/or to
1996 *** bug-libtool@gnu.org
1999 fi ;;
2000 esac
2002 break
2004 done
2005 IFS="$ac_save_ifs"
2006 MAGIC_CMD="$ac_save_MAGIC_CMD"
2008 esac
2011 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2012 if test -n "$MAGIC_CMD"; then
2013 echo "$ac_t""$MAGIC_CMD" 1>&6
2014 else
2015 echo "$ac_t""no" 1>&6
2018 if test -z "$lt_cv_path_MAGIC_CMD"; then
2019 if test -n "$ac_tool_prefix"; then
2020 echo $ac_n "checking for file""... $ac_c" 1>&6
2021 echo "configure:2022: checking for file" >&5
2022 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2023 echo $ac_n "(cached) $ac_c" 1>&6
2024 else
2025 case "$MAGIC_CMD" in
2027 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2029 ?:/*)
2030 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2033 ac_save_MAGIC_CMD="$MAGIC_CMD"
2034 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2035 ac_dummy="/usr/bin:$PATH"
2036 for ac_dir in $ac_dummy; do
2037 test -z "$ac_dir" && ac_dir=.
2038 if test -f $ac_dir/file; then
2039 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2040 if test -n "$file_magic_test_file"; then
2041 case "$deplibs_check_method" in
2042 "file_magic "*)
2043 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2044 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2045 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2046 egrep "$file_magic_regex" > /dev/null; then
2048 else
2049 cat <<EOF 1>&2
2051 *** Warning: the command libtool uses to detect shared libraries,
2052 *** $file_magic_cmd, produces output that libtool cannot recognize.
2053 *** The result is that libtool may fail to recognize shared libraries
2054 *** as such. This will affect the creation of libtool libraries that
2055 *** depend on shared libraries, but programs linked with such libtool
2056 *** libraries will work regardless of this problem. Nevertheless, you
2057 *** may want to report the problem to your system manager and/or to
2058 *** bug-libtool@gnu.org
2061 fi ;;
2062 esac
2064 break
2066 done
2067 IFS="$ac_save_ifs"
2068 MAGIC_CMD="$ac_save_MAGIC_CMD"
2070 esac
2073 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2074 if test -n "$MAGIC_CMD"; then
2075 echo "$ac_t""$MAGIC_CMD" 1>&6
2076 else
2077 echo "$ac_t""no" 1>&6
2080 else
2081 MAGIC_CMD=:
2087 esac
2089 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2090 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2092 echo "configure:2093: checking for $ac_word" >&5
2093 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2094 echo $ac_n "(cached) $ac_c" 1>&6
2095 else
2096 if test -n "$RANLIB"; then
2097 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2098 else
2099 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2100 ac_dummy="$PATH"
2101 for ac_dir in $ac_dummy; do
2102 test -z "$ac_dir" && ac_dir=.
2103 if test -f $ac_dir/$ac_word; then
2104 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2105 break
2107 done
2108 IFS="$ac_save_ifs"
2111 RANLIB="$ac_cv_prog_RANLIB"
2112 if test -n "$RANLIB"; then
2113 echo "$ac_t""$RANLIB" 1>&6
2114 else
2115 echo "$ac_t""no" 1>&6
2119 if test -z "$ac_cv_prog_RANLIB"; then
2120 if test -n "$ac_tool_prefix"; then
2121 # Extract the first word of "ranlib", so it can be a program name with args.
2122 set dummy ranlib; ac_word=$2
2123 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2124 echo "configure:2125: checking for $ac_word" >&5
2125 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2126 echo $ac_n "(cached) $ac_c" 1>&6
2127 else
2128 if test -n "$RANLIB"; then
2129 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2130 else
2131 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2132 ac_dummy="$PATH"
2133 for ac_dir in $ac_dummy; do
2134 test -z "$ac_dir" && ac_dir=.
2135 if test -f $ac_dir/$ac_word; then
2136 ac_cv_prog_RANLIB="ranlib"
2137 break
2139 done
2140 IFS="$ac_save_ifs"
2141 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2144 RANLIB="$ac_cv_prog_RANLIB"
2145 if test -n "$RANLIB"; then
2146 echo "$ac_t""$RANLIB" 1>&6
2147 else
2148 echo "$ac_t""no" 1>&6
2151 else
2152 RANLIB=":"
2156 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2157 set dummy ${ac_tool_prefix}strip; ac_word=$2
2158 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2159 echo "configure:2160: checking for $ac_word" >&5
2160 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2161 echo $ac_n "(cached) $ac_c" 1>&6
2162 else
2163 if test -n "$STRIP"; then
2164 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2165 else
2166 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2167 ac_dummy="$PATH"
2168 for ac_dir in $ac_dummy; do
2169 test -z "$ac_dir" && ac_dir=.
2170 if test -f $ac_dir/$ac_word; then
2171 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2172 break
2174 done
2175 IFS="$ac_save_ifs"
2178 STRIP="$ac_cv_prog_STRIP"
2179 if test -n "$STRIP"; then
2180 echo "$ac_t""$STRIP" 1>&6
2181 else
2182 echo "$ac_t""no" 1>&6
2186 if test -z "$ac_cv_prog_STRIP"; then
2187 if test -n "$ac_tool_prefix"; then
2188 # Extract the first word of "strip", so it can be a program name with args.
2189 set dummy strip; ac_word=$2
2190 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2191 echo "configure:2192: checking for $ac_word" >&5
2192 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2193 echo $ac_n "(cached) $ac_c" 1>&6
2194 else
2195 if test -n "$STRIP"; then
2196 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2197 else
2198 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2199 ac_dummy="$PATH"
2200 for ac_dir in $ac_dummy; do
2201 test -z "$ac_dir" && ac_dir=.
2202 if test -f $ac_dir/$ac_word; then
2203 ac_cv_prog_STRIP="strip"
2204 break
2206 done
2207 IFS="$ac_save_ifs"
2208 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2211 STRIP="$ac_cv_prog_STRIP"
2212 if test -n "$STRIP"; then
2213 echo "$ac_t""$STRIP" 1>&6
2214 else
2215 echo "$ac_t""no" 1>&6
2218 else
2219 STRIP=":"
2224 # Check for any special flags to pass to ltconfig.
2225 libtool_flags="--cache-file=$cache_file"
2226 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2227 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2228 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2229 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2230 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2231 libtool_flags="$libtool_flags --enable-dlopen"
2233 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2234 if test "${enable_libtool_lock+set}" = set; then
2235 enableval="$enable_libtool_lock"
2239 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2240 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2242 # Check whether --with-pic or --without-pic was given.
2243 if test "${with_pic+set}" = set; then
2244 withval="$with_pic"
2245 pic_mode="$withval"
2246 else
2247 pic_mode=default
2250 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2251 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2253 # Some flags need to be propagated to the compiler or linker for good
2254 # libtool support.
2255 case "$host" in
2256 *-*-irix6*)
2257 # Find out which ABI we are using.
2258 echo '#line 2259 "configure"' > conftest.$ac_ext
2259 if { (eval echo configure:2260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2260 case "`/usr/bin/file conftest.o`" in
2261 *32-bit*)
2262 LD="${LD-ld} -32"
2264 *N32*)
2265 LD="${LD-ld} -n32"
2267 *64-bit*)
2268 LD="${LD-ld} -64"
2270 esac
2272 rm -rf conftest*
2275 *-*-sco3.2v5*)
2276 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2277 SAVE_CFLAGS="$CFLAGS"
2278 CFLAGS="$CFLAGS -belf"
2279 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2280 echo "configure:2281: checking whether the C compiler needs -belf" >&5
2281 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6
2283 else
2285 ac_ext=c
2286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2287 ac_cpp='$CPP $CPPFLAGS'
2288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2290 cross_compiling=$ac_cv_prog_cc_cross
2292 cat > conftest.$ac_ext <<EOF
2293 #line 2294 "configure"
2294 #include "confdefs.h"
2296 int main() {
2298 ; return 0; }
2300 if { (eval echo configure:2301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2301 rm -rf conftest*
2302 lt_cv_cc_needs_belf=yes
2303 else
2304 echo "configure: failed program was:" >&5
2305 cat conftest.$ac_ext >&5
2306 rm -rf conftest*
2307 lt_cv_cc_needs_belf=no
2309 rm -f conftest*
2310 ac_ext=c
2311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2312 ac_cpp='$CPP $CPPFLAGS'
2313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2315 cross_compiling=$ac_cv_prog_cc_cross
2319 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2320 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2321 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2322 CFLAGS="$SAVE_CFLAGS"
2327 esac
2329 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2330 echo "configure:2331: checking how to run the C++ preprocessor" >&5
2331 if test -z "$CXXCPP"; then
2332 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2333 echo $ac_n "(cached) $ac_c" 1>&6
2334 else
2335 ac_ext=C
2336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2337 ac_cpp='$CXXCPP $CPPFLAGS'
2338 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2339 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2340 cross_compiling=$ac_cv_prog_cxx_cross
2341 CXXCPP="${CXX-g++} -E"
2342 cat > conftest.$ac_ext <<EOF
2343 #line 2344 "configure"
2344 #include "confdefs.h"
2345 #include <stdlib.h>
2347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2348 { (eval echo configure:2349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2350 if test -z "$ac_err"; then
2352 else
2353 echo "$ac_err" >&5
2354 echo "configure: failed program was:" >&5
2355 cat conftest.$ac_ext >&5
2356 rm -rf conftest*
2357 CXXCPP=/lib/cpp
2359 rm -f conftest*
2360 ac_cv_prog_CXXCPP="$CXXCPP"
2361 ac_ext=c
2362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2363 ac_cpp='$CPP $CPPFLAGS'
2364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2366 cross_compiling=$ac_cv_prog_cc_cross
2369 CXXCPP="$ac_cv_prog_CXXCPP"
2370 echo "$ac_t""$CXXCPP" 1>&6
2373 # Save cache, so that ltconfig can load it
2374 cat > confcache <<\EOF
2375 # This file is a shell script that caches the results of configure
2376 # tests run on this system so they can be shared between configure
2377 # scripts and configure runs. It is not useful on other systems.
2378 # If it contains results you don't want to keep, you may remove or edit it.
2380 # By default, configure uses ./config.cache as the cache file,
2381 # creating it if it does not exist already. You can give configure
2382 # the --cache-file=FILE option to use a different cache file; that is
2383 # what configure does when it calls configure scripts in
2384 # subdirectories, so they share the cache.
2385 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2386 # config.status only pays attention to the cache file if you give it the
2387 # --recheck option to rerun configure.
2390 # The following way of writing the cache mishandles newlines in values,
2391 # but we know of no workaround that is simple, portable, and efficient.
2392 # So, don't put newlines in cache variables' values.
2393 # Ultrix sh set writes to stderr and can't be redirected directly,
2394 # and sets the high bit in the cache file unless we assign to the vars.
2395 (set) 2>&1 |
2396 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2397 *ac_space=\ *)
2398 # `set' does not quote correctly, so add quotes (double-quote substitution
2399 # turns \\\\ into \\, and sed turns \\ into \).
2400 sed -n \
2401 -e "s/'/'\\\\''/g" \
2402 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2405 # `set' quotes correctly as required by POSIX, so do not add quotes.
2406 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2408 esac >> confcache
2409 if cmp -s $cache_file confcache; then
2411 else
2412 if test -w $cache_file; then
2413 echo "updating cache $cache_file"
2414 cat confcache > $cache_file
2415 else
2416 echo "not updating unwritable cache $cache_file"
2419 rm -f confcache
2422 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2423 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2424 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2425 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2426 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2427 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2428 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2429 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2430 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2431 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2433 # Reload cache, that may have been modified by ltconfig
2434 if test -r "$cache_file"; then
2435 echo "loading cache $cache_file"
2436 . $cache_file
2437 else
2438 echo "creating cache $cache_file"
2439 > $cache_file
2443 # This can be used to rebuild libtool when needed
2444 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2446 # Always use our own libtool.
2447 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2449 # Redirect the config.log output again, so that the ltconfig log is not
2450 # clobbered by the next message.
2451 exec 5>>./config.log
2456 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2457 lt_save_CC="$CC"
2458 lt_save_CFLAGS="$CFLAGS"
2459 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2460 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2461 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2462 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2463 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2464 deplibs_check_method="$deplibs_check_method" \
2465 file_magic_cmd="$file_magic_cmd" \
2466 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2467 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2468 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2469 CC="$lt_save_CC"
2470 CFLAGS="$lt_save_CFLAGS"
2472 # Redirect the config.log output again, so that the ltconfig log is not
2473 # clobbered by the next message.
2474 exec 5>>./config.log
2482 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2483 echo "configure:2484: checking for GNU make" >&5
2484 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2485 echo $ac_n "(cached) $ac_c" 1>&6
2486 else
2487 _cv_gnu_make_command='' ;
2488 for a in "${MAKE:-make}" make gmake gnumake ; do
2489 if ( $a --version 2> /dev/null | grep -c GNU )
2490 then
2491 _cv_gnu_make_command=$a ;
2492 break;
2494 done ;
2498 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2499 if test "x$_cv_gnu_make_command" != "x" ; then
2500 ifGNUmake='' ;
2501 else
2502 ifGNUmake='#' ;
2506 if test "x$_cv_gnu_make_command" = "x"; then
2507 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2513 # Check for c++ or library specific bits that don't require linking.
2514 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2515 echo "configure:2516: checking how to run the C preprocessor" >&5
2516 # On Suns, sometimes $CPP names a directory.
2517 if test -n "$CPP" && test -d "$CPP"; then
2518 CPP=
2520 if test -z "$CPP"; then
2521 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2522 echo $ac_n "(cached) $ac_c" 1>&6
2523 else
2524 # This must be in double quotes, not single quotes, because CPP may get
2525 # substituted into the Makefile and "${CC-cc}" will confuse make.
2526 CPP="${CC-cc} -E"
2527 # On the NeXT, cc -E runs the code through the compiler's parser,
2528 # not just through cpp.
2529 cat > conftest.$ac_ext <<EOF
2530 #line 2531 "configure"
2531 #include "confdefs.h"
2532 #include <assert.h>
2533 Syntax Error
2535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2536 { (eval echo configure:2537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2538 if test -z "$ac_err"; then
2540 else
2541 echo "$ac_err" >&5
2542 echo "configure: failed program was:" >&5
2543 cat conftest.$ac_ext >&5
2544 rm -rf conftest*
2545 CPP="${CC-cc} -E -traditional-cpp"
2546 cat > conftest.$ac_ext <<EOF
2547 #line 2548 "configure"
2548 #include "confdefs.h"
2549 #include <assert.h>
2550 Syntax Error
2552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2553 { (eval echo configure:2554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2555 if test -z "$ac_err"; then
2557 else
2558 echo "$ac_err" >&5
2559 echo "configure: failed program was:" >&5
2560 cat conftest.$ac_ext >&5
2561 rm -rf conftest*
2562 CPP="${CC-cc} -nologo -E"
2563 cat > conftest.$ac_ext <<EOF
2564 #line 2565 "configure"
2565 #include "confdefs.h"
2566 #include <assert.h>
2567 Syntax Error
2569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2570 { (eval echo configure:2571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2572 if test -z "$ac_err"; then
2574 else
2575 echo "$ac_err" >&5
2576 echo "configure: failed program was:" >&5
2577 cat conftest.$ac_ext >&5
2578 rm -rf conftest*
2579 CPP=/lib/cpp
2581 rm -f conftest*
2583 rm -f conftest*
2585 rm -f conftest*
2586 ac_cv_prog_CPP="$CPP"
2588 CPP="$ac_cv_prog_CPP"
2589 else
2590 ac_cv_prog_CPP="$CPP"
2592 echo "$ac_t""$CPP" 1>&6
2595 # Sanity check that g++ is capable of dealing with v-3.
2596 echo $ac_n "checking for g++ that will successfully compile this code""... $ac_c" 1>&6
2597 echo "configure:2598: checking for g++ that will successfully compile this code" >&5
2598 cat > conftest.$ac_ext <<EOF
2599 #line 2600 "configure"
2600 #include "confdefs.h"
2602 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
2604 #endif
2607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2608 egrep "ok" >/dev/null 2>&1; then
2609 rm -rf conftest*
2610 gpp_satisfactory=yes
2611 else
2612 rm -rf conftest*
2613 { echo "configure: error: "please upgrade to gcc-2.95 or above"" 1>&2; exit 1; }
2615 rm -f conftest*
2617 echo "$ac_t""$gpp_satisfactory" 1>&6
2620 echo $ac_n "checking for cpu config directory""... $ac_c" 1>&6
2621 echo "configure:2622: checking for cpu config directory" >&5
2622 # Currently unused, but could be useful.
2623 # CPU_FLAGS=
2624 case "${target_cpu}" in
2625 alpha*)
2626 cpu_include_dir="config/cpu/alpha"
2628 arm*)
2629 cpu_include_dir="config/cpu/arm"
2631 ia64)
2632 cpu_include_dir="config/cpu/ia64"
2634 i386)
2635 cpu_include_dir="config/cpu/i386"
2637 i486 | i586 | i686 | i786)
2638 cpu_include_dir="config/cpu/i486"
2640 powerpc | rs6000)
2641 cpu_include_dir="config/cpu/powerpc"
2643 sparc64 | ultrasparc)
2644 cpu_include_dir="config/cpu/sparc/sparc64"
2646 sparc*)
2647 cpu_include_dir="config/cpu/sparc/sparc32"
2650 cpu_include_dir="config/cpu/generic"
2652 esac
2653 echo "$ac_t""$cpu_include_dir" 1>&6
2656 echo $ac_n "checking for os config directory""... $ac_c" 1>&6
2657 echo "configure:2658: checking for os config directory" >&5
2658 # Currently unused, but could be useful.
2659 # OS_FLAGS=
2660 case "${target_os}" in
2661 aix*)
2662 os_include_dir="config/os/aix"
2664 bsd* | freebsd*)
2665 os_include_dir="config/os/bsd"
2667 linux*)
2668 os_include_dir="config/os/gnu-linux"
2670 irix*)
2671 os_include_dir="config/os/irix"
2673 solaris2.5*)
2674 os_include_dir="config/os/solaris/solaris2.5"
2676 solaris2.6*)
2677 os_include_dir="config/os/solaris/solaris2.6"
2679 solaris2.7* | solaris2.8*)
2680 os_include_dir="config/os/solaris/solaris2.7"
2683 os_include_dir="config/os/generic"
2685 esac
2686 echo "$ac_t""$os_include_dir" 1>&6
2690 cat > confcache <<\EOF
2691 # This file is a shell script that caches the results of configure
2692 # tests run on this system so they can be shared between configure
2693 # scripts and configure runs. It is not useful on other systems.
2694 # If it contains results you don't want to keep, you may remove or edit it.
2696 # By default, configure uses ./config.cache as the cache file,
2697 # creating it if it does not exist already. You can give configure
2698 # the --cache-file=FILE option to use a different cache file; that is
2699 # what configure does when it calls configure scripts in
2700 # subdirectories, so they share the cache.
2701 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2702 # config.status only pays attention to the cache file if you give it the
2703 # --recheck option to rerun configure.
2706 # The following way of writing the cache mishandles newlines in values,
2707 # but we know of no workaround that is simple, portable, and efficient.
2708 # So, don't put newlines in cache variables' values.
2709 # Ultrix sh set writes to stderr and can't be redirected directly,
2710 # and sets the high bit in the cache file unless we assign to the vars.
2711 (set) 2>&1 |
2712 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2713 *ac_space=\ *)
2714 # `set' does not quote correctly, so add quotes (double-quote substitution
2715 # turns \\\\ into \\, and sed turns \\ into \).
2716 sed -n \
2717 -e "s/'/'\\\\''/g" \
2718 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2721 # `set' quotes correctly as required by POSIX, so do not add quotes.
2722 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2724 esac >> confcache
2725 if cmp -s $cache_file confcache; then
2727 else
2728 if test -w $cache_file; then
2729 echo "updating cache $cache_file"
2730 cat confcache > $cache_file
2731 else
2732 echo "not updating unwritable cache $cache_file"
2735 rm -f confcache
2738 # Enable all the crazy c++ stuff.
2739 # Check whether --enable-debug or --disable-debug was given.
2740 if test "${enable_debug+set}" = set; then
2741 enableval="$enable_debug"
2742 case "${enableval}" in
2743 yes) enable_debug=yes ;;
2744 no) enable_debug=no ;;
2745 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2746 esac
2747 else
2748 enable_debug=no
2751 case "${enable_debug}" in
2752 yes)
2753 DEBUG_FLAGS='-O0 -ggdb'
2755 no)
2756 DEBUG_FLAGS='-g'
2758 esac
2762 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2763 echo "configure:2764: checking for cstdio to use" >&5
2764 # Check whether --enable-cstdio or --disable-cstdio was given.
2765 if test "${enable_cstdio+set}" = set; then
2766 enableval="$enable_cstdio"
2767 if test x$enable_cstdio = xno; then
2768 enable_cstdio=libio
2770 else
2771 enable_cstdio=libio
2775 enable_cstdio_flag=$enable_cstdio
2777 case x${enable_cstdio_flag} in
2778 xlibio | x | xno | xnone | xyes)
2779 # default
2780 CSTDIO_H=config/c_io_libio.h
2781 CSTDIO_CC=config/c_io_libio.cc
2782 echo "$ac_t""libio" 1>&6
2784 # see if we are on a system with libio native (ie, linux)
2785 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2786 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2787 echo "configure:2788: checking for libio.h" >&5
2788 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2789 echo $ac_n "(cached) $ac_c" 1>&6
2790 else
2791 cat > conftest.$ac_ext <<EOF
2792 #line 2793 "configure"
2793 #include "confdefs.h"
2794 #include <libio.h>
2796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2797 { (eval echo configure:2798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2799 if test -z "$ac_err"; then
2800 rm -rf conftest*
2801 eval "ac_cv_header_$ac_safe=yes"
2802 else
2803 echo "$ac_err" >&5
2804 echo "configure: failed program was:" >&5
2805 cat conftest.$ac_ext >&5
2806 rm -rf conftest*
2807 eval "ac_cv_header_$ac_safe=no"
2809 rm -f conftest*
2811 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2812 echo "$ac_t""yes" 1>&6
2813 has_libio=yes
2814 else
2815 echo "$ac_t""no" 1>&6
2816 has_libio=no
2820 # Need to check and see what version of glibc is being used. If
2821 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2822 # compile most of libio for linux systems.
2823 if test x$has_libio = x"yes"; then
2824 case "$target" in
2825 *-*-linux*)
2826 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2827 echo "configure:2828: checking for glibc version >= 2.2" >&5
2828 cat > conftest.$ac_ext <<EOF
2829 #line 2830 "configure"
2830 #include "confdefs.h"
2832 #include <features.h>
2833 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2835 #endif
2838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2839 egrep "ok" >/dev/null 2>&1; then
2840 rm -rf conftest*
2841 glibc_satisfactory=yes
2842 else
2843 rm -rf conftest*
2844 glibc_satisfactory=no
2846 rm -f conftest*
2848 echo "$ac_t""$glibc_satisfactory" 1>&6
2850 esac
2852 # XXX at the moment, admit defeat and force the recompilation
2853 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2854 glibc_satisfactory=no
2856 if test x$glibc_satisfactory = x"yes"; then
2857 need_libio=no
2858 need_xtra_libio=no
2859 need_wlibio=no
2860 else
2861 need_libio=yes
2862 need_xtra_libio=yes
2863 # bkoz XXX need to add checks to enable this
2864 need_wlibio=yes
2867 # Using libio, but <libio.h> doesn't exist on the target system. . .
2868 else
2869 need_libio=yes
2870 need_xtra_libio=no
2871 # bkoz XXX need to add checks to enable this
2872 need_wlibio=no
2876 xwince)
2877 CSTDIO_H=config/c_io_wince.h
2878 CSTDIO_CC=config/c_io_wince.cc
2879 echo "$ac_t""wince" 1>&6
2881 need_libio=no
2884 echo "$enable_cstdio is an unknown io package" 1>&2
2885 exit 1
2887 esac
2891 # 2000-08-04 bkoz hack
2892 CCODECVT_C=config/c_io_libio_codecvt.c
2894 # 2000-08-04 bkoz hack
2898 if test "$need_libio" = yes; then
2899 GLIBCPP_NEED_LIBIO_TRUE=
2900 GLIBCPP_NEED_LIBIO_FALSE='#'
2901 else
2902 GLIBCPP_NEED_LIBIO_TRUE='#'
2903 GLIBCPP_NEED_LIBIO_FALSE=
2907 if test "$need_xtra_libio" = yes; then
2908 GLIBCPP_NEED_XTRA_LIBIO_TRUE=
2909 GLIBCPP_NEED_XTRA_LIBIO_FALSE='#'
2910 else
2911 GLIBCPP_NEED_XTRA_LIBIO_TRUE='#'
2912 GLIBCPP_NEED_XTRA_LIBIO_FALSE=
2916 if test "$need_wlibio" = yes; then
2917 GLIBCPP_NEED_WLIBIO_TRUE=
2918 GLIBCPP_NEED_WLIBIO_FALSE='#'
2919 else
2920 GLIBCPP_NEED_WLIBIO_TRUE='#'
2921 GLIBCPP_NEED_WLIBIO_FALSE=
2925 # Check whether --enable-long-long or --disable-long-long was given.
2926 if test "${enable_long_long+set}" = set; then
2927 enableval="$enable_long_long"
2928 case "$enableval" in
2929 yes) enable_long_long=yes ;;
2930 no) enable_long_long=no ;;
2931 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2932 esac
2933 else
2934 enable_long_long=yes
2937 # Check for the existance of functions used if long long is enabled.
2938 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2939 echo "configure:2940: checking for strtoll" >&5
2940 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2941 echo $ac_n "(cached) $ac_c" 1>&6
2942 else
2943 cat > conftest.$ac_ext <<EOF
2944 #line 2945 "configure"
2945 #include "confdefs.h"
2946 /* System header to define __stub macros and hopefully few prototypes,
2947 which can conflict with char strtoll(); below. */
2948 #include <assert.h>
2949 /* Override any gcc2 internal prototype to avoid an error. */
2950 /* We use char because int might match the return type of a gcc2
2951 builtin and then its argument prototype would still apply. */
2952 char strtoll();
2954 int main() {
2956 /* The GNU C library defines this for functions which it implements
2957 to always fail with ENOSYS. Some functions are actually named
2958 something starting with __ and the normal name is an alias. */
2959 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2960 choke me
2961 #else
2962 strtoll();
2963 #endif
2965 ; return 0; }
2967 if { (eval echo configure:2968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2968 rm -rf conftest*
2969 eval "ac_cv_func_strtoll=yes"
2970 else
2971 echo "configure: failed program was:" >&5
2972 cat conftest.$ac_ext >&5
2973 rm -rf conftest*
2974 eval "ac_cv_func_strtoll=no"
2976 rm -f conftest*
2979 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
2980 echo "$ac_t""yes" 1>&6
2982 else
2983 echo "$ac_t""no" 1>&6
2984 ac_strtoll=no
2987 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
2988 echo "configure:2989: checking for strtoull" >&5
2989 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
2990 echo $ac_n "(cached) $ac_c" 1>&6
2991 else
2992 cat > conftest.$ac_ext <<EOF
2993 #line 2994 "configure"
2994 #include "confdefs.h"
2995 /* System header to define __stub macros and hopefully few prototypes,
2996 which can conflict with char strtoull(); below. */
2997 #include <assert.h>
2998 /* Override any gcc2 internal prototype to avoid an error. */
2999 /* We use char because int might match the return type of a gcc2
3000 builtin and then its argument prototype would still apply. */
3001 char strtoull();
3003 int main() {
3005 /* The GNU C library defines this for functions which it implements
3006 to always fail with ENOSYS. Some functions are actually named
3007 something starting with __ and the normal name is an alias. */
3008 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3009 choke me
3010 #else
3011 strtoull();
3012 #endif
3014 ; return 0; }
3016 if { (eval echo configure:3017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3017 rm -rf conftest*
3018 eval "ac_cv_func_strtoull=yes"
3019 else
3020 echo "configure: failed program was:" >&5
3021 cat conftest.$ac_ext >&5
3022 rm -rf conftest*
3023 eval "ac_cv_func_strtoull=no"
3025 rm -f conftest*
3028 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3029 echo "$ac_t""yes" 1>&6
3031 else
3032 echo "$ac_t""no" 1>&6
3033 ac_strtoull=no
3037 echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3038 echo "configure:3039: checking for enabled long long" >&5
3039 if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then
3040 enable_long_long=no;
3041 fi;
3042 echo "$ac_t""$enable_long_long" 1>&6
3044 case "$enable_long_long" in
3045 yes) cat >> confdefs.h <<\EOF
3046 #define _GLIBCPP_USE_LONG_LONG 1
3050 esac
3052 echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
3053 echo "configure:3054: checking for enabled cshadow headers" >&5
3054 # Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
3055 if test "${enable_cshadow_headers+set}" = set; then
3056 enableval="$enable_cshadow_headers"
3058 case "$enableval" in
3059 yes) enable_cshadow_headers=yes
3061 no) enable_cshadow_headers=no
3063 *) { echo "configure: error: Unknown argument to enable/disable shadowed C headers" 1>&2; exit 1; }
3065 esac
3066 else
3067 enable_cshadow_headers=no
3070 echo "$ac_t""$enable_cshadow_headers" 1>&6
3072 case "$enable_cshadow_headers" in
3073 yes)
3074 CSHADOW_FLAGS="-fno-builtin"
3075 C_INCLUDE_DIR='$(top_srcdir)/include/c_std'
3076 cat >> confdefs.h <<\EOF
3077 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3081 no)
3082 CSHADOW_FLAGS=""
3083 C_INCLUDE_DIR='$(top_srcdir)/include/c'
3085 esac
3091 if test "$enable_cshadow_headers" = yes; then
3092 GLIBCPP_USE_CSHADOW_TRUE=
3093 GLIBCPP_USE_CSHADOW_FALSE='#'
3094 else
3095 GLIBCPP_USE_CSHADOW_TRUE='#'
3096 GLIBCPP_USE_CSHADOW_FALSE=
3100 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3101 echo "configure:3102: checking for threads package to use" >&5
3102 # Check whether --enable-threads or --disable-threads was given.
3103 if test "${enable_threads+set}" = set; then
3104 enableval="$enable_threads"
3105 if test x$enable_threads = xno; then
3106 enable_threads=''
3108 else
3109 enable_threads=''
3113 enable_threads_flag=$enable_threads
3115 case x${enable_threads_flag} in
3116 x | xno | xnone)
3117 # No threads
3118 target_thread_file='single'
3120 xyes)
3121 # default
3122 target_thread_file=''
3124 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3125 xsolaris | xwin32 | xdce | xvxworks)
3126 target_thread_file=$enable_threads_flag
3129 echo "$enable_threads is an unknown thread package" 1>&2
3130 exit 1
3132 esac
3134 THREADH=
3135 case "$target_thread_file" in
3136 no | none | single)
3137 THREADH=threads-no.h
3139 posix | pthreads)
3140 THREADH=threads-posix.h
3142 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3143 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3146 { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; }
3148 esac
3149 echo "$ac_t""$THREADH" 1>&6
3154 echo $ac_n "checking for atomicity.h""... $ac_c" 1>&6
3155 echo "configure:3156: checking for atomicity.h" >&5
3156 case "$target" in
3157 *-*-linux*)
3158 ATOMICITYH=$cpu_include_dir
3160 *-*-aix*)
3161 ATOMICITYH=$os_include_dir
3164 echo "$enable_threads is an unknown thread package" 1>&2
3165 exit 1
3167 esac
3168 echo "$ac_t""$ATOMICITYH/bits/atomicity.h" 1>&6
3171 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3172 if test "${enable_cxx_flags+set}" = set; then
3173 enableval="$enable_cxx_flags"
3174 case "x$enableval" in
3175 xyes)
3176 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3177 xno|x)
3178 enable_cxx_flags='' ;;
3180 enable_cxx_flags="$enableval" ;;
3181 esac
3182 else
3183 enable_cxx_flags='none'
3187 if test "$enable_cxx_flags" = "none"; then
3188 enable_cxx_flags='';
3191 if test -n "$enable_cxx_flags"; then
3192 for f in $enable_cxx_flags; do
3193 case "$f" in
3194 -fhonor-std) ;;
3195 -*) ;;
3196 *) # and we're trying to pass /what/ exactly?
3197 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3198 esac
3199 done
3201 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3206 if test -n "$with_cross_host"; then
3208 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3209 # may not work correctly, because the compiler may not be able to
3210 # link executables.
3212 xcompiling=1
3213 NATIVE=no
3214 # If Canadian cross, then don't pick up tools from the build
3215 # directory.
3216 if test "$build" != "$with_cross_host"; then
3217 CANADIAN=yes
3218 NULL_TARGET=yes
3219 else
3220 CANADIAN=no
3221 NULL_TARGET=no
3224 case "$target_alias" in
3225 *-wince-*)
3226 # Configure for Microsoft Windows CE, or whatever they are
3227 # currently calling it.
3228 cat >> confdefs.h <<\EOF
3229 #define HAVE_FLOAT_H 1
3233 cat >> confdefs.h <<\EOF
3234 #define HAVE__FINITE 1
3237 cat >> confdefs.h <<\EOF
3238 #define HAVE__ISNAN 1
3241 cat >> confdefs.h <<\EOF
3242 #define HAVE__COPYSIGN 1
3245 cat >> confdefs.h <<\EOF
3246 #define HAVE__FPCLASS 1
3249 cat >> confdefs.h <<\EOF
3250 #define HAVE_MODF 1
3254 ctype_include_dir="config/os/wince"
3260 cat >> confdefs.h <<\EOF
3261 #define _GLIBCPP_NEED_MBSTATE_T 1
3265 cat >> confdefs.h <<\EOF
3266 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3269 cat >> confdefs.h <<\EOF
3270 #define _GLIBCPP_BUGGY_COMPLEX 1
3275 # We assume newlib. This lets us hard-code the functions we know
3276 # we'll have.
3277 cat >> confdefs.h <<\EOF
3278 #define HAVE_FINITE 1
3281 cat >> confdefs.h <<\EOF
3282 #define HAVE_ISNAN 1
3285 cat >> confdefs.h <<\EOF
3286 #define HAVE_ISNANF 1
3289 cat >> confdefs.h <<\EOF
3290 #define HAVE_ISINF 1
3293 cat >> confdefs.h <<\EOF
3294 #define HAVE_ISINFF 1
3298 ctype_include_dir="config/os/newlib"
3303 cat >> confdefs.h <<\EOF
3304 #define _GLIBCPP_NEED_MBSTATE_T 1
3308 cat >> confdefs.h <<\EOF
3309 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3312 cat >> confdefs.h <<\EOF
3313 #define _GLIBCPP_BUGGY_COMPLEX 1
3316 # need to ceck for faster f versions of math functions, ie sinf?
3318 esac
3319 else
3321 # We are being configured natively. We can do more elaborate tests
3322 # that include AC_TRY_COMPILE now, as the linker is assumed to be
3323 # working.
3325 xcompiling=0
3326 NATIVE=yes
3327 CANADIAN=no
3328 NULL_TARGET=no
3330 # Check for available headers.
3331 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3332 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h
3334 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3335 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3336 echo "configure:3337: checking for $ac_hdr" >&5
3337 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3338 echo $ac_n "(cached) $ac_c" 1>&6
3339 else
3340 cat > conftest.$ac_ext <<EOF
3341 #line 3342 "configure"
3342 #include "confdefs.h"
3343 #include <$ac_hdr>
3345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3346 { (eval echo configure:3347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3348 if test -z "$ac_err"; then
3349 rm -rf conftest*
3350 eval "ac_cv_header_$ac_safe=yes"
3351 else
3352 echo "$ac_err" >&5
3353 echo "configure: failed program was:" >&5
3354 cat conftest.$ac_ext >&5
3355 rm -rf conftest*
3356 eval "ac_cv_header_$ac_safe=no"
3358 rm -f conftest*
3360 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3361 echo "$ac_t""yes" 1>&6
3362 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3363 cat >> confdefs.h <<EOF
3364 #define $ac_tr_hdr 1
3367 else
3368 echo "$ac_t""no" 1>&6
3370 done
3374 # All these tests are for C++; save the language and the compiler flags.
3375 # The CXXFLAGS thing is suspicious, but based on similar bits
3376 # found in GLIBCPP_CONFIGURE.
3378 ac_ext=C
3379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3380 ac_cpp='$CXXCPP $CPPFLAGS'
3381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3383 cross_compiling=$ac_cv_prog_cxx_cross
3385 ac_test_CXXFLAGS="${CXXFLAGS+set}"
3386 ac_save_CXXFLAGS="$CXXFLAGS"
3388 # Check for maintainer-mode bits.
3389 if test x"$USE_MAINTAINER_MODE" = xno; then
3390 WERROR=''
3391 else
3392 WERROR='-Werror'
3395 # Check for more sophisticated diagnostic control.
3396 echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
3397 echo "configure:3398: checking for g++ that supports -fdiagnostics-show-location=once" >&5
3398 CXXFLAGS='-Werror -fdiagnostics-show-location=once'
3399 cat > conftest.$ac_ext <<EOF
3400 #line 3401 "configure"
3401 #include "confdefs.h"
3403 int main() {
3404 int foo;
3406 ; return 0; }
3408 if { (eval echo configure:3409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3409 rm -rf conftest*
3410 ac_gabydiags=yes
3411 else
3412 echo "configure: failed program was:" >&5
3413 cat conftest.$ac_ext >&5
3414 rm -rf conftest*
3415 ac_gabydiags=no
3417 rm -f conftest*
3418 if test "$ac_test_CXXFLAGS" = set; then
3419 CXXFLAGS="$ac_save_CXXFLAGS"
3420 else
3421 # this is the suspicious part
3422 CXXFLAGS=''
3424 if test "$ac_gabydiags" = "yes"; then
3425 WFMT_FLAGS='-fdiagnostics-show-location=once'
3427 echo "$ac_t""$ac_gabydiags" 1>&6
3429 # Check for -ffunction-sections -fdata-sections
3430 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
3431 echo "configure:3432: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
3432 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
3433 cat > conftest.$ac_ext <<EOF
3434 #line 3435 "configure"
3435 #include "confdefs.h"
3437 int main() {
3438 int foo;
3440 ; return 0; }
3442 if { (eval echo configure:3443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3443 rm -rf conftest*
3444 ac_fdsections=yes
3445 else
3446 echo "configure: failed program was:" >&5
3447 cat conftest.$ac_ext >&5
3448 rm -rf conftest*
3449 ac_fdsections=no
3451 rm -f conftest*
3452 if test "$ac_test_CXXFLAGS" = set; then
3453 CXXFLAGS="$ac_save_CXXFLAGS"
3454 else
3455 # this is the suspicious part
3456 CXXFLAGS=''
3458 if test "$ac_fdsections" = "yes"; then
3459 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3461 echo "$ac_t""$ac_fdsections" 1>&6
3463 ac_ext=c
3464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3465 ac_cpp='$CPP $CPPFLAGS'
3466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3468 cross_compiling=$ac_cv_prog_cc_cross
3475 # If we're not using GNU ld, then there's no point in even trying these
3476 # tests. Check for that first. We should have already tested for gld
3477 # by now (in libtool), but require it now just to be safe...
3478 SECTION_LDFLAGS=''
3479 OPT_LDFLAGS=''
3481 if test "$ac_cv_prog_gnu_ld" = "yes"; then
3482 # GNU ld it is! Joy and bunny rabbits!
3484 # All these tests are for C++; save the language and the compiler flags.
3485 # Need to do this so that g++ won't try to link in libstdc++
3486 ac_test_CFLAGS="${CFLAGS+set}"
3487 ac_save_CFLAGS="$CFLAGS"
3488 # CFLAGS='-x c++ -Wl,--gc-sections'
3489 #XXX
3490 CFLAGS=''
3492 # Check for -Wl,--gc-sections
3493 # XXX This test is broken at the moment, as symbols required for
3494 # linking are now in libsupc++ (not built yet.....). In addition,
3495 # this test has cored on solaris in the past. In addition,
3496 # --gc-sections doesn't really work at the moment (keeps on discarding
3497 # used sections, first .eh_frame and now some of the glibc sections for
3498 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3499 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3500 echo "configure:3501: checking for ld that supports -Wl,--gc-sections" >&5
3501 if test "$cross_compiling" = yes; then
3502 ac_sectionLDflags=yes
3503 else
3504 cat > conftest.$ac_ext <<EOF
3505 #line 3506 "configure"
3506 #include "confdefs.h"
3508 int main(void)
3510 try { throw 1; }
3511 catch (...) { };
3512 return 0;
3516 if { (eval echo configure:3517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3517 then
3518 ac_sectionLDflags=yes
3519 else
3520 echo "configure: failed program was:" >&5
3521 cat conftest.$ac_ext >&5
3522 rm -fr conftest*
3523 ac_sectionLFflags=no
3525 rm -fr conftest*
3528 if test "$ac_test_CFLAGS" = set; then
3529 CFLAGS="$ac_save_CFLAGS"
3530 else
3531 # this is the suspicious part
3532 CFLAGS=''
3534 if test "$ac_sectionLDflags" = "yes"; then
3535 # SECTION_LDFLAGS='-Wl,--gc-sections'
3536 #XXX
3537 SECTION_LDFLAGS=''
3539 echo "$ac_t""$ac_sectionLDflags" 1>&6
3541 OPT_LDFLAGS='-Wl,-O1'
3549 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
3550 echo "configure:3551: checking for __builtin_abs declaration" >&5
3551 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
3552 echo $ac_n "(cached) $ac_c" 1>&6
3553 else
3556 ac_ext=C
3557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3558 ac_cpp='$CXXCPP $CPPFLAGS'
3559 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3560 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3561 cross_compiling=$ac_cv_prog_cxx_cross
3563 cat > conftest.$ac_ext <<EOF
3564 #line 3565 "configure"
3565 #include "confdefs.h"
3566 #include <math.h>
3567 int main() {
3568 __builtin_abs(0);
3569 ; return 0; }
3571 if { (eval echo configure:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 rm -rf conftest*
3573 glibcpp_cv_func___builtin_abs_use=yes
3574 else
3575 echo "configure: failed program was:" >&5
3576 cat conftest.$ac_ext >&5
3577 rm -rf conftest*
3578 glibcpp_cv_func___builtin_abs_use=no
3580 rm -f conftest*
3581 ac_ext=c
3582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3583 ac_cpp='$CPP $CPPFLAGS'
3584 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3585 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3586 cross_compiling=$ac_cv_prog_cc_cross
3591 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
3592 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
3593 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
3594 echo "configure:3595: checking for __builtin_abs linkage" >&5
3595 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
3596 echo $ac_n "(cached) $ac_c" 1>&6
3597 else
3599 cat > conftest.$ac_ext <<EOF
3600 #line 3601 "configure"
3601 #include "confdefs.h"
3602 #include <math.h>
3603 int main() {
3604 __builtin_abs(0);
3605 ; return 0; }
3607 if { (eval echo configure:3608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3608 rm -rf conftest*
3609 glibcpp_cv_func___builtin_abs_link=yes
3610 else
3611 echo "configure: failed program was:" >&5
3612 cat conftest.$ac_ext >&5
3613 rm -rf conftest*
3614 glibcpp_cv_func___builtin_abs_link=no
3616 rm -f conftest*
3620 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
3621 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
3622 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3623 cat >> confdefs.h <<EOF
3624 #define ${ac_tr_func} 1
3631 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
3632 echo "configure:3633: checking for __builtin_fabsf declaration" >&5
3633 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
3634 echo $ac_n "(cached) $ac_c" 1>&6
3635 else
3638 ac_ext=C
3639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3640 ac_cpp='$CXXCPP $CPPFLAGS'
3641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3643 cross_compiling=$ac_cv_prog_cxx_cross
3645 cat > conftest.$ac_ext <<EOF
3646 #line 3647 "configure"
3647 #include "confdefs.h"
3648 #include <math.h>
3649 int main() {
3650 __builtin_fabsf(0);
3651 ; return 0; }
3653 if { (eval echo configure:3654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3654 rm -rf conftest*
3655 glibcpp_cv_func___builtin_fabsf_use=yes
3656 else
3657 echo "configure: failed program was:" >&5
3658 cat conftest.$ac_ext >&5
3659 rm -rf conftest*
3660 glibcpp_cv_func___builtin_fabsf_use=no
3662 rm -f conftest*
3663 ac_ext=c
3664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3665 ac_cpp='$CPP $CPPFLAGS'
3666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3668 cross_compiling=$ac_cv_prog_cc_cross
3673 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
3674 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
3675 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
3676 echo "configure:3677: checking for __builtin_fabsf linkage" >&5
3677 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
3678 echo $ac_n "(cached) $ac_c" 1>&6
3679 else
3681 cat > conftest.$ac_ext <<EOF
3682 #line 3683 "configure"
3683 #include "confdefs.h"
3684 #include <math.h>
3685 int main() {
3686 __builtin_fabsf(0);
3687 ; return 0; }
3689 if { (eval echo configure:3690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3690 rm -rf conftest*
3691 glibcpp_cv_func___builtin_fabsf_link=yes
3692 else
3693 echo "configure: failed program was:" >&5
3694 cat conftest.$ac_ext >&5
3695 rm -rf conftest*
3696 glibcpp_cv_func___builtin_fabsf_link=no
3698 rm -f conftest*
3702 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
3703 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
3704 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3705 cat >> confdefs.h <<EOF
3706 #define ${ac_tr_func} 1
3713 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
3714 echo "configure:3715: checking for __builtin_fabs declaration" >&5
3715 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
3716 echo $ac_n "(cached) $ac_c" 1>&6
3717 else
3720 ac_ext=C
3721 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3722 ac_cpp='$CXXCPP $CPPFLAGS'
3723 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3724 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3725 cross_compiling=$ac_cv_prog_cxx_cross
3727 cat > conftest.$ac_ext <<EOF
3728 #line 3729 "configure"
3729 #include "confdefs.h"
3730 #include <math.h>
3731 int main() {
3732 __builtin_fabs(0);
3733 ; return 0; }
3735 if { (eval echo configure:3736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3736 rm -rf conftest*
3737 glibcpp_cv_func___builtin_fabs_use=yes
3738 else
3739 echo "configure: failed program was:" >&5
3740 cat conftest.$ac_ext >&5
3741 rm -rf conftest*
3742 glibcpp_cv_func___builtin_fabs_use=no
3744 rm -f conftest*
3745 ac_ext=c
3746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3747 ac_cpp='$CPP $CPPFLAGS'
3748 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3749 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3750 cross_compiling=$ac_cv_prog_cc_cross
3755 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
3756 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
3757 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
3758 echo "configure:3759: checking for __builtin_fabs linkage" >&5
3759 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
3760 echo $ac_n "(cached) $ac_c" 1>&6
3761 else
3763 cat > conftest.$ac_ext <<EOF
3764 #line 3765 "configure"
3765 #include "confdefs.h"
3766 #include <math.h>
3767 int main() {
3768 __builtin_fabs(0);
3769 ; return 0; }
3771 if { (eval echo configure:3772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3772 rm -rf conftest*
3773 glibcpp_cv_func___builtin_fabs_link=yes
3774 else
3775 echo "configure: failed program was:" >&5
3776 cat conftest.$ac_ext >&5
3777 rm -rf conftest*
3778 glibcpp_cv_func___builtin_fabs_link=no
3780 rm -f conftest*
3784 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
3785 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
3786 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3787 cat >> confdefs.h <<EOF
3788 #define ${ac_tr_func} 1
3795 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
3796 echo "configure:3797: checking for __builtin_fabsl declaration" >&5
3797 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
3798 echo $ac_n "(cached) $ac_c" 1>&6
3799 else
3802 ac_ext=C
3803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3804 ac_cpp='$CXXCPP $CPPFLAGS'
3805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3807 cross_compiling=$ac_cv_prog_cxx_cross
3809 cat > conftest.$ac_ext <<EOF
3810 #line 3811 "configure"
3811 #include "confdefs.h"
3812 #include <math.h>
3813 int main() {
3814 __builtin_fabsl(0);
3815 ; return 0; }
3817 if { (eval echo configure:3818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3818 rm -rf conftest*
3819 glibcpp_cv_func___builtin_fabsl_use=yes
3820 else
3821 echo "configure: failed program was:" >&5
3822 cat conftest.$ac_ext >&5
3823 rm -rf conftest*
3824 glibcpp_cv_func___builtin_fabsl_use=no
3826 rm -f conftest*
3827 ac_ext=c
3828 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3829 ac_cpp='$CPP $CPPFLAGS'
3830 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3831 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3832 cross_compiling=$ac_cv_prog_cc_cross
3837 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
3838 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
3839 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
3840 echo "configure:3841: checking for __builtin_fabsl linkage" >&5
3841 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
3842 echo $ac_n "(cached) $ac_c" 1>&6
3843 else
3845 cat > conftest.$ac_ext <<EOF
3846 #line 3847 "configure"
3847 #include "confdefs.h"
3848 #include <math.h>
3849 int main() {
3850 __builtin_fabsl(0);
3851 ; return 0; }
3853 if { (eval echo configure:3854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3854 rm -rf conftest*
3855 glibcpp_cv_func___builtin_fabsl_link=yes
3856 else
3857 echo "configure: failed program was:" >&5
3858 cat conftest.$ac_ext >&5
3859 rm -rf conftest*
3860 glibcpp_cv_func___builtin_fabsl_link=no
3862 rm -f conftest*
3866 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
3867 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
3868 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3869 cat >> confdefs.h <<EOF
3870 #define ${ac_tr_func} 1
3877 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
3878 echo "configure:3879: checking for __builtin_labs declaration" >&5
3879 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
3880 echo $ac_n "(cached) $ac_c" 1>&6
3881 else
3884 ac_ext=C
3885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3886 ac_cpp='$CXXCPP $CPPFLAGS'
3887 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3888 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3889 cross_compiling=$ac_cv_prog_cxx_cross
3891 cat > conftest.$ac_ext <<EOF
3892 #line 3893 "configure"
3893 #include "confdefs.h"
3894 #include <math.h>
3895 int main() {
3896 __builtin_labs(0);
3897 ; return 0; }
3899 if { (eval echo configure:3900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3900 rm -rf conftest*
3901 glibcpp_cv_func___builtin_labs_use=yes
3902 else
3903 echo "configure: failed program was:" >&5
3904 cat conftest.$ac_ext >&5
3905 rm -rf conftest*
3906 glibcpp_cv_func___builtin_labs_use=no
3908 rm -f conftest*
3909 ac_ext=c
3910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3911 ac_cpp='$CPP $CPPFLAGS'
3912 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3913 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3914 cross_compiling=$ac_cv_prog_cc_cross
3919 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
3920 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
3921 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
3922 echo "configure:3923: checking for __builtin_labs linkage" >&5
3923 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
3924 echo $ac_n "(cached) $ac_c" 1>&6
3925 else
3927 cat > conftest.$ac_ext <<EOF
3928 #line 3929 "configure"
3929 #include "confdefs.h"
3930 #include <math.h>
3931 int main() {
3932 __builtin_labs(0);
3933 ; return 0; }
3935 if { (eval echo configure:3936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3936 rm -rf conftest*
3937 glibcpp_cv_func___builtin_labs_link=yes
3938 else
3939 echo "configure: failed program was:" >&5
3940 cat conftest.$ac_ext >&5
3941 rm -rf conftest*
3942 glibcpp_cv_func___builtin_labs_link=no
3944 rm -f conftest*
3948 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
3949 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
3950 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3951 cat >> confdefs.h <<EOF
3952 #define ${ac_tr_func} 1
3960 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
3961 echo "configure:3962: checking for __builtin_sqrtf declaration" >&5
3962 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
3963 echo $ac_n "(cached) $ac_c" 1>&6
3964 else
3967 ac_ext=C
3968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3969 ac_cpp='$CXXCPP $CPPFLAGS'
3970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3972 cross_compiling=$ac_cv_prog_cxx_cross
3974 cat > conftest.$ac_ext <<EOF
3975 #line 3976 "configure"
3976 #include "confdefs.h"
3977 #include <math.h>
3978 int main() {
3979 __builtin_sqrtf(0);
3980 ; return 0; }
3982 if { (eval echo configure:3983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3983 rm -rf conftest*
3984 glibcpp_cv_func___builtin_sqrtf_use=yes
3985 else
3986 echo "configure: failed program was:" >&5
3987 cat conftest.$ac_ext >&5
3988 rm -rf conftest*
3989 glibcpp_cv_func___builtin_sqrtf_use=no
3991 rm -f conftest*
3992 ac_ext=c
3993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3994 ac_cpp='$CPP $CPPFLAGS'
3995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3997 cross_compiling=$ac_cv_prog_cc_cross
4002 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
4003 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
4004 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
4005 echo "configure:4006: checking for __builtin_sqrtf linkage" >&5
4006 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
4007 echo $ac_n "(cached) $ac_c" 1>&6
4008 else
4010 cat > conftest.$ac_ext <<EOF
4011 #line 4012 "configure"
4012 #include "confdefs.h"
4013 #include <math.h>
4014 int main() {
4015 __builtin_sqrtf(0);
4016 ; return 0; }
4018 if { (eval echo configure:4019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4019 rm -rf conftest*
4020 glibcpp_cv_func___builtin_sqrtf_link=yes
4021 else
4022 echo "configure: failed program was:" >&5
4023 cat conftest.$ac_ext >&5
4024 rm -rf conftest*
4025 glibcpp_cv_func___builtin_sqrtf_link=no
4027 rm -f conftest*
4031 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
4032 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
4033 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4034 cat >> confdefs.h <<EOF
4035 #define ${ac_tr_func} 1
4042 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
4043 echo "configure:4044: checking for __builtin_fsqrt declaration" >&5
4044 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
4045 echo $ac_n "(cached) $ac_c" 1>&6
4046 else
4049 ac_ext=C
4050 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4051 ac_cpp='$CXXCPP $CPPFLAGS'
4052 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4053 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4054 cross_compiling=$ac_cv_prog_cxx_cross
4056 cat > conftest.$ac_ext <<EOF
4057 #line 4058 "configure"
4058 #include "confdefs.h"
4059 #include <math.h>
4060 int main() {
4061 __builtin_fsqrt(0);
4062 ; return 0; }
4064 if { (eval echo configure:4065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4065 rm -rf conftest*
4066 glibcpp_cv_func___builtin_fsqrt_use=yes
4067 else
4068 echo "configure: failed program was:" >&5
4069 cat conftest.$ac_ext >&5
4070 rm -rf conftest*
4071 glibcpp_cv_func___builtin_fsqrt_use=no
4073 rm -f conftest*
4074 ac_ext=c
4075 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4076 ac_cpp='$CPP $CPPFLAGS'
4077 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4078 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4079 cross_compiling=$ac_cv_prog_cc_cross
4084 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
4085 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
4086 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
4087 echo "configure:4088: checking for __builtin_fsqrt linkage" >&5
4088 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
4089 echo $ac_n "(cached) $ac_c" 1>&6
4090 else
4092 cat > conftest.$ac_ext <<EOF
4093 #line 4094 "configure"
4094 #include "confdefs.h"
4095 #include <math.h>
4096 int main() {
4097 __builtin_fsqrt(0);
4098 ; return 0; }
4100 if { (eval echo configure:4101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4101 rm -rf conftest*
4102 glibcpp_cv_func___builtin_fsqrt_link=yes
4103 else
4104 echo "configure: failed program was:" >&5
4105 cat conftest.$ac_ext >&5
4106 rm -rf conftest*
4107 glibcpp_cv_func___builtin_fsqrt_link=no
4109 rm -f conftest*
4113 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
4114 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
4115 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4116 cat >> confdefs.h <<EOF
4117 #define ${ac_tr_func} 1
4124 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
4125 echo "configure:4126: checking for __builtin_sqrtl declaration" >&5
4126 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
4127 echo $ac_n "(cached) $ac_c" 1>&6
4128 else
4131 ac_ext=C
4132 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4133 ac_cpp='$CXXCPP $CPPFLAGS'
4134 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4135 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4136 cross_compiling=$ac_cv_prog_cxx_cross
4138 cat > conftest.$ac_ext <<EOF
4139 #line 4140 "configure"
4140 #include "confdefs.h"
4141 #include <math.h>
4142 int main() {
4143 __builtin_sqrtl(0);
4144 ; return 0; }
4146 if { (eval echo configure:4147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4147 rm -rf conftest*
4148 glibcpp_cv_func___builtin_sqrtl_use=yes
4149 else
4150 echo "configure: failed program was:" >&5
4151 cat conftest.$ac_ext >&5
4152 rm -rf conftest*
4153 glibcpp_cv_func___builtin_sqrtl_use=no
4155 rm -f conftest*
4156 ac_ext=c
4157 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4158 ac_cpp='$CPP $CPPFLAGS'
4159 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4160 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4161 cross_compiling=$ac_cv_prog_cc_cross
4166 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
4167 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
4168 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
4169 echo "configure:4170: checking for __builtin_sqrtl linkage" >&5
4170 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
4171 echo $ac_n "(cached) $ac_c" 1>&6
4172 else
4174 cat > conftest.$ac_ext <<EOF
4175 #line 4176 "configure"
4176 #include "confdefs.h"
4177 #include <math.h>
4178 int main() {
4179 __builtin_sqrtl(0);
4180 ; return 0; }
4182 if { (eval echo configure:4183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4183 rm -rf conftest*
4184 glibcpp_cv_func___builtin_sqrtl_link=yes
4185 else
4186 echo "configure: failed program was:" >&5
4187 cat conftest.$ac_ext >&5
4188 rm -rf conftest*
4189 glibcpp_cv_func___builtin_sqrtl_link=no
4191 rm -f conftest*
4195 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
4196 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
4197 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4198 cat >> confdefs.h <<EOF
4199 #define ${ac_tr_func} 1
4207 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
4208 echo "configure:4209: checking for __builtin_sinf declaration" >&5
4209 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
4210 echo $ac_n "(cached) $ac_c" 1>&6
4211 else
4214 ac_ext=C
4215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4216 ac_cpp='$CXXCPP $CPPFLAGS'
4217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4219 cross_compiling=$ac_cv_prog_cxx_cross
4221 cat > conftest.$ac_ext <<EOF
4222 #line 4223 "configure"
4223 #include "confdefs.h"
4224 #include <math.h>
4225 int main() {
4226 __builtin_sinf(0);
4227 ; return 0; }
4229 if { (eval echo configure:4230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4230 rm -rf conftest*
4231 glibcpp_cv_func___builtin_sinf_use=yes
4232 else
4233 echo "configure: failed program was:" >&5
4234 cat conftest.$ac_ext >&5
4235 rm -rf conftest*
4236 glibcpp_cv_func___builtin_sinf_use=no
4238 rm -f conftest*
4239 ac_ext=c
4240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4241 ac_cpp='$CPP $CPPFLAGS'
4242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4244 cross_compiling=$ac_cv_prog_cc_cross
4249 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
4250 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
4251 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
4252 echo "configure:4253: checking for __builtin_sinf linkage" >&5
4253 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
4254 echo $ac_n "(cached) $ac_c" 1>&6
4255 else
4257 cat > conftest.$ac_ext <<EOF
4258 #line 4259 "configure"
4259 #include "confdefs.h"
4260 #include <math.h>
4261 int main() {
4262 __builtin_sinf(0);
4263 ; return 0; }
4265 if { (eval echo configure:4266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4266 rm -rf conftest*
4267 glibcpp_cv_func___builtin_sinf_link=yes
4268 else
4269 echo "configure: failed program was:" >&5
4270 cat conftest.$ac_ext >&5
4271 rm -rf conftest*
4272 glibcpp_cv_func___builtin_sinf_link=no
4274 rm -f conftest*
4278 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
4279 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
4280 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4281 cat >> confdefs.h <<EOF
4282 #define ${ac_tr_func} 1
4289 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
4290 echo "configure:4291: checking for __builtin_sin declaration" >&5
4291 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
4292 echo $ac_n "(cached) $ac_c" 1>&6
4293 else
4296 ac_ext=C
4297 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4298 ac_cpp='$CXXCPP $CPPFLAGS'
4299 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4300 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4301 cross_compiling=$ac_cv_prog_cxx_cross
4303 cat > conftest.$ac_ext <<EOF
4304 #line 4305 "configure"
4305 #include "confdefs.h"
4306 #include <math.h>
4307 int main() {
4308 __builtin_sin(0);
4309 ; return 0; }
4311 if { (eval echo configure:4312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4312 rm -rf conftest*
4313 glibcpp_cv_func___builtin_sin_use=yes
4314 else
4315 echo "configure: failed program was:" >&5
4316 cat conftest.$ac_ext >&5
4317 rm -rf conftest*
4318 glibcpp_cv_func___builtin_sin_use=no
4320 rm -f conftest*
4321 ac_ext=c
4322 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4325 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4326 cross_compiling=$ac_cv_prog_cc_cross
4331 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
4332 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
4333 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
4334 echo "configure:4335: checking for __builtin_sin linkage" >&5
4335 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
4336 echo $ac_n "(cached) $ac_c" 1>&6
4337 else
4339 cat > conftest.$ac_ext <<EOF
4340 #line 4341 "configure"
4341 #include "confdefs.h"
4342 #include <math.h>
4343 int main() {
4344 __builtin_sin(0);
4345 ; return 0; }
4347 if { (eval echo configure:4348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4348 rm -rf conftest*
4349 glibcpp_cv_func___builtin_sin_link=yes
4350 else
4351 echo "configure: failed program was:" >&5
4352 cat conftest.$ac_ext >&5
4353 rm -rf conftest*
4354 glibcpp_cv_func___builtin_sin_link=no
4356 rm -f conftest*
4360 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
4361 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
4362 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4363 cat >> confdefs.h <<EOF
4364 #define ${ac_tr_func} 1
4371 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
4372 echo "configure:4373: checking for __builtin_sinl declaration" >&5
4373 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
4374 echo $ac_n "(cached) $ac_c" 1>&6
4375 else
4378 ac_ext=C
4379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4380 ac_cpp='$CXXCPP $CPPFLAGS'
4381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4383 cross_compiling=$ac_cv_prog_cxx_cross
4385 cat > conftest.$ac_ext <<EOF
4386 #line 4387 "configure"
4387 #include "confdefs.h"
4388 #include <math.h>
4389 int main() {
4390 __builtin_sinl(0);
4391 ; return 0; }
4393 if { (eval echo configure:4394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4394 rm -rf conftest*
4395 glibcpp_cv_func___builtin_sinl_use=yes
4396 else
4397 echo "configure: failed program was:" >&5
4398 cat conftest.$ac_ext >&5
4399 rm -rf conftest*
4400 glibcpp_cv_func___builtin_sinl_use=no
4402 rm -f conftest*
4403 ac_ext=c
4404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4405 ac_cpp='$CPP $CPPFLAGS'
4406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4408 cross_compiling=$ac_cv_prog_cc_cross
4413 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
4414 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
4415 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
4416 echo "configure:4417: checking for __builtin_sinl linkage" >&5
4417 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
4418 echo $ac_n "(cached) $ac_c" 1>&6
4419 else
4421 cat > conftest.$ac_ext <<EOF
4422 #line 4423 "configure"
4423 #include "confdefs.h"
4424 #include <math.h>
4425 int main() {
4426 __builtin_sinl(0);
4427 ; return 0; }
4429 if { (eval echo configure:4430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4430 rm -rf conftest*
4431 glibcpp_cv_func___builtin_sinl_link=yes
4432 else
4433 echo "configure: failed program was:" >&5
4434 cat conftest.$ac_ext >&5
4435 rm -rf conftest*
4436 glibcpp_cv_func___builtin_sinl_link=no
4438 rm -f conftest*
4442 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
4443 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
4444 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4445 cat >> confdefs.h <<EOF
4446 #define ${ac_tr_func} 1
4454 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
4455 echo "configure:4456: checking for __builtin_cosf declaration" >&5
4456 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
4457 echo $ac_n "(cached) $ac_c" 1>&6
4458 else
4461 ac_ext=C
4462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4463 ac_cpp='$CXXCPP $CPPFLAGS'
4464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4466 cross_compiling=$ac_cv_prog_cxx_cross
4468 cat > conftest.$ac_ext <<EOF
4469 #line 4470 "configure"
4470 #include "confdefs.h"
4471 #include <math.h>
4472 int main() {
4473 __builtin_cosf(0);
4474 ; return 0; }
4476 if { (eval echo configure:4477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4477 rm -rf conftest*
4478 glibcpp_cv_func___builtin_cosf_use=yes
4479 else
4480 echo "configure: failed program was:" >&5
4481 cat conftest.$ac_ext >&5
4482 rm -rf conftest*
4483 glibcpp_cv_func___builtin_cosf_use=no
4485 rm -f conftest*
4486 ac_ext=c
4487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4488 ac_cpp='$CPP $CPPFLAGS'
4489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4491 cross_compiling=$ac_cv_prog_cc_cross
4496 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
4497 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
4498 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
4499 echo "configure:4500: checking for __builtin_cosf linkage" >&5
4500 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
4501 echo $ac_n "(cached) $ac_c" 1>&6
4502 else
4504 cat > conftest.$ac_ext <<EOF
4505 #line 4506 "configure"
4506 #include "confdefs.h"
4507 #include <math.h>
4508 int main() {
4509 __builtin_cosf(0);
4510 ; return 0; }
4512 if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4513 rm -rf conftest*
4514 glibcpp_cv_func___builtin_cosf_link=yes
4515 else
4516 echo "configure: failed program was:" >&5
4517 cat conftest.$ac_ext >&5
4518 rm -rf conftest*
4519 glibcpp_cv_func___builtin_cosf_link=no
4521 rm -f conftest*
4525 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
4526 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
4527 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4528 cat >> confdefs.h <<EOF
4529 #define ${ac_tr_func} 1
4536 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
4537 echo "configure:4538: checking for __builtin_cos declaration" >&5
4538 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
4539 echo $ac_n "(cached) $ac_c" 1>&6
4540 else
4543 ac_ext=C
4544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4545 ac_cpp='$CXXCPP $CPPFLAGS'
4546 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4547 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4548 cross_compiling=$ac_cv_prog_cxx_cross
4550 cat > conftest.$ac_ext <<EOF
4551 #line 4552 "configure"
4552 #include "confdefs.h"
4553 #include <math.h>
4554 int main() {
4555 __builtin_cos(0);
4556 ; return 0; }
4558 if { (eval echo configure:4559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4559 rm -rf conftest*
4560 glibcpp_cv_func___builtin_cos_use=yes
4561 else
4562 echo "configure: failed program was:" >&5
4563 cat conftest.$ac_ext >&5
4564 rm -rf conftest*
4565 glibcpp_cv_func___builtin_cos_use=no
4567 rm -f conftest*
4568 ac_ext=c
4569 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4570 ac_cpp='$CPP $CPPFLAGS'
4571 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4572 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4573 cross_compiling=$ac_cv_prog_cc_cross
4578 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
4579 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
4580 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
4581 echo "configure:4582: checking for __builtin_cos linkage" >&5
4582 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
4583 echo $ac_n "(cached) $ac_c" 1>&6
4584 else
4586 cat > conftest.$ac_ext <<EOF
4587 #line 4588 "configure"
4588 #include "confdefs.h"
4589 #include <math.h>
4590 int main() {
4591 __builtin_cos(0);
4592 ; return 0; }
4594 if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4595 rm -rf conftest*
4596 glibcpp_cv_func___builtin_cos_link=yes
4597 else
4598 echo "configure: failed program was:" >&5
4599 cat conftest.$ac_ext >&5
4600 rm -rf conftest*
4601 glibcpp_cv_func___builtin_cos_link=no
4603 rm -f conftest*
4607 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
4608 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
4609 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4610 cat >> confdefs.h <<EOF
4611 #define ${ac_tr_func} 1
4618 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
4619 echo "configure:4620: checking for __builtin_cosl declaration" >&5
4620 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
4621 echo $ac_n "(cached) $ac_c" 1>&6
4622 else
4625 ac_ext=C
4626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4627 ac_cpp='$CXXCPP $CPPFLAGS'
4628 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4629 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4630 cross_compiling=$ac_cv_prog_cxx_cross
4632 cat > conftest.$ac_ext <<EOF
4633 #line 4634 "configure"
4634 #include "confdefs.h"
4635 #include <math.h>
4636 int main() {
4637 __builtin_cosl(0);
4638 ; return 0; }
4640 if { (eval echo configure:4641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4641 rm -rf conftest*
4642 glibcpp_cv_func___builtin_cosl_use=yes
4643 else
4644 echo "configure: failed program was:" >&5
4645 cat conftest.$ac_ext >&5
4646 rm -rf conftest*
4647 glibcpp_cv_func___builtin_cosl_use=no
4649 rm -f conftest*
4650 ac_ext=c
4651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4652 ac_cpp='$CPP $CPPFLAGS'
4653 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4654 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4655 cross_compiling=$ac_cv_prog_cc_cross
4660 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
4661 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
4662 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
4663 echo "configure:4664: checking for __builtin_cosl linkage" >&5
4664 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
4665 echo $ac_n "(cached) $ac_c" 1>&6
4666 else
4668 cat > conftest.$ac_ext <<EOF
4669 #line 4670 "configure"
4670 #include "confdefs.h"
4671 #include <math.h>
4672 int main() {
4673 __builtin_cosl(0);
4674 ; return 0; }
4676 if { (eval echo configure:4677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4677 rm -rf conftest*
4678 glibcpp_cv_func___builtin_cosl_link=yes
4679 else
4680 echo "configure: failed program was:" >&5
4681 cat conftest.$ac_ext >&5
4682 rm -rf conftest*
4683 glibcpp_cv_func___builtin_cosl_link=no
4685 rm -f conftest*
4689 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
4690 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
4691 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4692 cat >> confdefs.h <<EOF
4693 #define ${ac_tr_func} 1
4700 dummyvar=no
4701 if test x$dummyvar = x"yes"; then
4702 cat >> confdefs.h <<\EOF
4703 #define HAVE___BUILTIN_ABS 1
4706 cat >> confdefs.h <<\EOF
4707 #define HAVE___BUILTIN_LABS 1
4710 cat >> confdefs.h <<\EOF
4711 #define HAVE___BUILTIN_COS 1
4714 cat >> confdefs.h <<\EOF
4715 #define HAVE___BUILTIN_COSF 1
4718 cat >> confdefs.h <<\EOF
4719 #define HAVE___BUILTIN_COSL 1
4722 cat >> confdefs.h <<\EOF
4723 #define HAVE___BUILTIN_FABS 1
4726 cat >> confdefs.h <<\EOF
4727 #define HAVE___BUILTIN_FABSF 1
4730 cat >> confdefs.h <<\EOF
4731 #define HAVE___BUILTIN_FABSL 1
4734 cat >> confdefs.h <<\EOF
4735 #define HAVE___BUILTIN_SIN 1
4738 cat >> confdefs.h <<\EOF
4739 #define HAVE___BUILTIN_SINF 1
4742 cat >> confdefs.h <<\EOF
4743 #define HAVE___BUILTIN_SINL 1
4746 cat >> confdefs.h <<\EOF
4747 #define HAVE___BUILTIN_FSQRT 1
4750 cat >> confdefs.h <<\EOF
4751 #define HAVE___BUILTIN_SQRTF 1
4754 cat >> confdefs.h <<\EOF
4755 #define HAVE___BUILTIN_SQRTL 1
4761 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4762 ac_save_CXXFLAGS="$CXXFLAGS"
4763 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
4765 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4766 echo "configure:4767: checking for sin in -lm" >&5
4767 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4768 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4769 echo $ac_n "(cached) $ac_c" 1>&6
4770 else
4771 ac_save_LIBS="$LIBS"
4772 LIBS="-lm $LIBS"
4773 cat > conftest.$ac_ext <<EOF
4774 #line 4775 "configure"
4775 #include "confdefs.h"
4776 /* Override any gcc2 internal prototype to avoid an error. */
4777 /* We use char because int might match the return type of a gcc2
4778 builtin and then its argument prototype would still apply. */
4779 char sin();
4781 int main() {
4782 sin()
4783 ; return 0; }
4785 if { (eval echo configure:4786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4786 rm -rf conftest*
4787 eval "ac_cv_lib_$ac_lib_var=yes"
4788 else
4789 echo "configure: failed program was:" >&5
4790 cat conftest.$ac_ext >&5
4791 rm -rf conftest*
4792 eval "ac_cv_lib_$ac_lib_var=no"
4794 rm -f conftest*
4795 LIBS="$ac_save_LIBS"
4798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4799 echo "$ac_t""yes" 1>&6
4800 libm="-lm"
4801 else
4802 echo "$ac_t""no" 1>&6
4805 ac_save_LIBS="$LIBS"
4806 LIBS="$LIBS $libm"
4808 for ac_func in strtof strtold
4810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4811 echo "configure:4812: checking for $ac_func" >&5
4812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4813 echo $ac_n "(cached) $ac_c" 1>&6
4814 else
4815 cat > conftest.$ac_ext <<EOF
4816 #line 4817 "configure"
4817 #include "confdefs.h"
4818 /* System header to define __stub macros and hopefully few prototypes,
4819 which can conflict with char $ac_func(); below. */
4820 #include <assert.h>
4821 /* Override any gcc2 internal prototype to avoid an error. */
4822 /* We use char because int might match the return type of a gcc2
4823 builtin and then its argument prototype would still apply. */
4824 char $ac_func();
4826 int main() {
4828 /* The GNU C library defines this for functions which it implements
4829 to always fail with ENOSYS. Some functions are actually named
4830 something starting with __ and the normal name is an alias. */
4831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4832 choke me
4833 #else
4834 $ac_func();
4835 #endif
4837 ; return 0; }
4839 if { (eval echo configure:4840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4840 rm -rf conftest*
4841 eval "ac_cv_func_$ac_func=yes"
4842 else
4843 echo "configure: failed program was:" >&5
4844 cat conftest.$ac_ext >&5
4845 rm -rf conftest*
4846 eval "ac_cv_func_$ac_func=no"
4848 rm -f conftest*
4851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4852 echo "$ac_t""yes" 1>&6
4853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4854 cat >> confdefs.h <<EOF
4855 #define $ac_tr_func 1
4858 else
4859 echo "$ac_t""no" 1>&6
4861 done
4865 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
4866 echo "configure:4867: checking for isinf declaration" >&5
4867 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
4868 echo $ac_n "(cached) $ac_c" 1>&6
4869 else
4872 ac_ext=C
4873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4874 ac_cpp='$CXXCPP $CPPFLAGS'
4875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4877 cross_compiling=$ac_cv_prog_cxx_cross
4879 cat > conftest.$ac_ext <<EOF
4880 #line 4881 "configure"
4881 #include "confdefs.h"
4882 #include <math.h>
4883 int main() {
4884 isinf(0);
4885 ; return 0; }
4887 if { (eval echo configure:4888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4888 rm -rf conftest*
4889 glibcpp_cv_func_isinf_use=yes
4890 else
4891 echo "configure: failed program was:" >&5
4892 cat conftest.$ac_ext >&5
4893 rm -rf conftest*
4894 glibcpp_cv_func_isinf_use=no
4896 rm -f conftest*
4897 ac_ext=c
4898 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4899 ac_cpp='$CPP $CPPFLAGS'
4900 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4901 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4902 cross_compiling=$ac_cv_prog_cc_cross
4907 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
4908 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
4909 for ac_func in isinf
4911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4912 echo "configure:4913: checking for $ac_func" >&5
4913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4914 echo $ac_n "(cached) $ac_c" 1>&6
4915 else
4916 cat > conftest.$ac_ext <<EOF
4917 #line 4918 "configure"
4918 #include "confdefs.h"
4919 /* System header to define __stub macros and hopefully few prototypes,
4920 which can conflict with char $ac_func(); below. */
4921 #include <assert.h>
4922 /* Override any gcc2 internal prototype to avoid an error. */
4923 /* We use char because int might match the return type of a gcc2
4924 builtin and then its argument prototype would still apply. */
4925 char $ac_func();
4927 int main() {
4929 /* The GNU C library defines this for functions which it implements
4930 to always fail with ENOSYS. Some functions are actually named
4931 something starting with __ and the normal name is an alias. */
4932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4933 choke me
4934 #else
4935 $ac_func();
4936 #endif
4938 ; return 0; }
4940 if { (eval echo configure:4941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4941 rm -rf conftest*
4942 eval "ac_cv_func_$ac_func=yes"
4943 else
4944 echo "configure: failed program was:" >&5
4945 cat conftest.$ac_ext >&5
4946 rm -rf conftest*
4947 eval "ac_cv_func_$ac_func=no"
4949 rm -f conftest*
4952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4953 echo "$ac_t""yes" 1>&6
4954 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4955 cat >> confdefs.h <<EOF
4956 #define $ac_tr_func 1
4959 else
4960 echo "$ac_t""no" 1>&6
4962 done
4967 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
4968 echo "configure:4969: checking for isnan declaration" >&5
4969 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
4970 echo $ac_n "(cached) $ac_c" 1>&6
4971 else
4974 ac_ext=C
4975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4976 ac_cpp='$CXXCPP $CPPFLAGS'
4977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4979 cross_compiling=$ac_cv_prog_cxx_cross
4981 cat > conftest.$ac_ext <<EOF
4982 #line 4983 "configure"
4983 #include "confdefs.h"
4984 #include <math.h>
4985 int main() {
4986 isnan(0);
4987 ; return 0; }
4989 if { (eval echo configure:4990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4990 rm -rf conftest*
4991 glibcpp_cv_func_isnan_use=yes
4992 else
4993 echo "configure: failed program was:" >&5
4994 cat conftest.$ac_ext >&5
4995 rm -rf conftest*
4996 glibcpp_cv_func_isnan_use=no
4998 rm -f conftest*
4999 ac_ext=c
5000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5001 ac_cpp='$CPP $CPPFLAGS'
5002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5004 cross_compiling=$ac_cv_prog_cc_cross
5009 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
5010 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
5011 for ac_func in isnan
5013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5014 echo "configure:5015: checking for $ac_func" >&5
5015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5016 echo $ac_n "(cached) $ac_c" 1>&6
5017 else
5018 cat > conftest.$ac_ext <<EOF
5019 #line 5020 "configure"
5020 #include "confdefs.h"
5021 /* System header to define __stub macros and hopefully few prototypes,
5022 which can conflict with char $ac_func(); below. */
5023 #include <assert.h>
5024 /* Override any gcc2 internal prototype to avoid an error. */
5025 /* We use char because int might match the return type of a gcc2
5026 builtin and then its argument prototype would still apply. */
5027 char $ac_func();
5029 int main() {
5031 /* The GNU C library defines this for functions which it implements
5032 to always fail with ENOSYS. Some functions are actually named
5033 something starting with __ and the normal name is an alias. */
5034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5035 choke me
5036 #else
5037 $ac_func();
5038 #endif
5040 ; return 0; }
5042 if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5043 rm -rf conftest*
5044 eval "ac_cv_func_$ac_func=yes"
5045 else
5046 echo "configure: failed program was:" >&5
5047 cat conftest.$ac_ext >&5
5048 rm -rf conftest*
5049 eval "ac_cv_func_$ac_func=no"
5051 rm -f conftest*
5054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5055 echo "$ac_t""yes" 1>&6
5056 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5057 cat >> confdefs.h <<EOF
5058 #define $ac_tr_func 1
5061 else
5062 echo "$ac_t""no" 1>&6
5064 done
5069 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
5070 echo "configure:5071: checking for finite declaration" >&5
5071 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
5072 echo $ac_n "(cached) $ac_c" 1>&6
5073 else
5076 ac_ext=C
5077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5078 ac_cpp='$CXXCPP $CPPFLAGS'
5079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5081 cross_compiling=$ac_cv_prog_cxx_cross
5083 cat > conftest.$ac_ext <<EOF
5084 #line 5085 "configure"
5085 #include "confdefs.h"
5086 #include <math.h>
5087 int main() {
5088 finite(0);
5089 ; return 0; }
5091 if { (eval echo configure:5092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5092 rm -rf conftest*
5093 glibcpp_cv_func_finite_use=yes
5094 else
5095 echo "configure: failed program was:" >&5
5096 cat conftest.$ac_ext >&5
5097 rm -rf conftest*
5098 glibcpp_cv_func_finite_use=no
5100 rm -f conftest*
5101 ac_ext=c
5102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5103 ac_cpp='$CPP $CPPFLAGS'
5104 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5105 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5106 cross_compiling=$ac_cv_prog_cc_cross
5111 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
5112 if test x$glibcpp_cv_func_finite_use = x"yes"; then
5113 for ac_func in finite
5115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5116 echo "configure:5117: checking for $ac_func" >&5
5117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5118 echo $ac_n "(cached) $ac_c" 1>&6
5119 else
5120 cat > conftest.$ac_ext <<EOF
5121 #line 5122 "configure"
5122 #include "confdefs.h"
5123 /* System header to define __stub macros and hopefully few prototypes,
5124 which can conflict with char $ac_func(); below. */
5125 #include <assert.h>
5126 /* Override any gcc2 internal prototype to avoid an error. */
5127 /* We use char because int might match the return type of a gcc2
5128 builtin and then its argument prototype would still apply. */
5129 char $ac_func();
5131 int main() {
5133 /* The GNU C library defines this for functions which it implements
5134 to always fail with ENOSYS. Some functions are actually named
5135 something starting with __ and the normal name is an alias. */
5136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5137 choke me
5138 #else
5139 $ac_func();
5140 #endif
5142 ; return 0; }
5144 if { (eval echo configure:5145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5145 rm -rf conftest*
5146 eval "ac_cv_func_$ac_func=yes"
5147 else
5148 echo "configure: failed program was:" >&5
5149 cat conftest.$ac_ext >&5
5150 rm -rf conftest*
5151 eval "ac_cv_func_$ac_func=no"
5153 rm -f conftest*
5156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5157 echo "$ac_t""yes" 1>&6
5158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5159 cat >> confdefs.h <<EOF
5160 #define $ac_tr_func 1
5163 else
5164 echo "$ac_t""no" 1>&6
5166 done
5171 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
5172 echo "configure:5173: checking for copysign declaration" >&5
5173 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
5174 echo $ac_n "(cached) $ac_c" 1>&6
5175 else
5178 ac_ext=C
5179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5180 ac_cpp='$CXXCPP $CPPFLAGS'
5181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5183 cross_compiling=$ac_cv_prog_cxx_cross
5185 cat > conftest.$ac_ext <<EOF
5186 #line 5187 "configure"
5187 #include "confdefs.h"
5188 #include <math.h>
5189 int main() {
5190 copysign(0, 0);
5191 ; return 0; }
5193 if { (eval echo configure:5194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5194 rm -rf conftest*
5195 glibcpp_cv_func_copysign_use=yes
5196 else
5197 echo "configure: failed program was:" >&5
5198 cat conftest.$ac_ext >&5
5199 rm -rf conftest*
5200 glibcpp_cv_func_copysign_use=no
5202 rm -f conftest*
5203 ac_ext=c
5204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5205 ac_cpp='$CPP $CPPFLAGS'
5206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5208 cross_compiling=$ac_cv_prog_cc_cross
5213 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
5214 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
5215 for ac_func in copysign
5217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5218 echo "configure:5219: checking for $ac_func" >&5
5219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5220 echo $ac_n "(cached) $ac_c" 1>&6
5221 else
5222 cat > conftest.$ac_ext <<EOF
5223 #line 5224 "configure"
5224 #include "confdefs.h"
5225 /* System header to define __stub macros and hopefully few prototypes,
5226 which can conflict with char $ac_func(); below. */
5227 #include <assert.h>
5228 /* Override any gcc2 internal prototype to avoid an error. */
5229 /* We use char because int might match the return type of a gcc2
5230 builtin and then its argument prototype would still apply. */
5231 char $ac_func();
5233 int main() {
5235 /* The GNU C library defines this for functions which it implements
5236 to always fail with ENOSYS. Some functions are actually named
5237 something starting with __ and the normal name is an alias. */
5238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5239 choke me
5240 #else
5241 $ac_func();
5242 #endif
5244 ; return 0; }
5246 if { (eval echo configure:5247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5247 rm -rf conftest*
5248 eval "ac_cv_func_$ac_func=yes"
5249 else
5250 echo "configure: failed program was:" >&5
5251 cat conftest.$ac_ext >&5
5252 rm -rf conftest*
5253 eval "ac_cv_func_$ac_func=no"
5255 rm -f conftest*
5258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5259 echo "$ac_t""yes" 1>&6
5260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5261 cat >> confdefs.h <<EOF
5262 #define $ac_tr_func 1
5265 else
5266 echo "$ac_t""no" 1>&6
5268 done
5273 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
5274 echo "configure:5275: checking for sincos declaration" >&5
5275 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
5276 echo $ac_n "(cached) $ac_c" 1>&6
5277 else
5280 ac_ext=C
5281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5282 ac_cpp='$CXXCPP $CPPFLAGS'
5283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5285 cross_compiling=$ac_cv_prog_cxx_cross
5287 cat > conftest.$ac_ext <<EOF
5288 #line 5289 "configure"
5289 #include "confdefs.h"
5290 #include <math.h>
5291 int main() {
5292 sincos(0, 0, 0);
5293 ; return 0; }
5295 if { (eval echo configure:5296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5296 rm -rf conftest*
5297 glibcpp_cv_func_sincos_use=yes
5298 else
5299 echo "configure: failed program was:" >&5
5300 cat conftest.$ac_ext >&5
5301 rm -rf conftest*
5302 glibcpp_cv_func_sincos_use=no
5304 rm -f conftest*
5305 ac_ext=c
5306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5307 ac_cpp='$CPP $CPPFLAGS'
5308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5310 cross_compiling=$ac_cv_prog_cc_cross
5315 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
5316 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
5317 for ac_func in sincos
5319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5320 echo "configure:5321: checking for $ac_func" >&5
5321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5322 echo $ac_n "(cached) $ac_c" 1>&6
5323 else
5324 cat > conftest.$ac_ext <<EOF
5325 #line 5326 "configure"
5326 #include "confdefs.h"
5327 /* System header to define __stub macros and hopefully few prototypes,
5328 which can conflict with char $ac_func(); below. */
5329 #include <assert.h>
5330 /* Override any gcc2 internal prototype to avoid an error. */
5331 /* We use char because int might match the return type of a gcc2
5332 builtin and then its argument prototype would still apply. */
5333 char $ac_func();
5335 int main() {
5337 /* The GNU C library defines this for functions which it implements
5338 to always fail with ENOSYS. Some functions are actually named
5339 something starting with __ and the normal name is an alias. */
5340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5341 choke me
5342 #else
5343 $ac_func();
5344 #endif
5346 ; return 0; }
5348 if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5349 rm -rf conftest*
5350 eval "ac_cv_func_$ac_func=yes"
5351 else
5352 echo "configure: failed program was:" >&5
5353 cat conftest.$ac_ext >&5
5354 rm -rf conftest*
5355 eval "ac_cv_func_$ac_func=no"
5357 rm -f conftest*
5360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5361 echo "$ac_t""yes" 1>&6
5362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5363 cat >> confdefs.h <<EOF
5364 #define $ac_tr_func 1
5367 else
5368 echo "$ac_t""no" 1>&6
5370 done
5375 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
5376 echo "configure:5377: checking for fpclass declaration" >&5
5377 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
5378 echo $ac_n "(cached) $ac_c" 1>&6
5379 else
5382 ac_ext=C
5383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5384 ac_cpp='$CXXCPP $CPPFLAGS'
5385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5387 cross_compiling=$ac_cv_prog_cxx_cross
5389 cat > conftest.$ac_ext <<EOF
5390 #line 5391 "configure"
5391 #include "confdefs.h"
5392 #include <math.h>
5393 int main() {
5394 fpclass(0);
5395 ; return 0; }
5397 if { (eval echo configure:5398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5398 rm -rf conftest*
5399 glibcpp_cv_func_fpclass_use=yes
5400 else
5401 echo "configure: failed program was:" >&5
5402 cat conftest.$ac_ext >&5
5403 rm -rf conftest*
5404 glibcpp_cv_func_fpclass_use=no
5406 rm -f conftest*
5407 ac_ext=c
5408 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5409 ac_cpp='$CPP $CPPFLAGS'
5410 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5411 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5412 cross_compiling=$ac_cv_prog_cc_cross
5417 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
5418 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
5419 for ac_func in fpclass
5421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5422 echo "configure:5423: checking for $ac_func" >&5
5423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5424 echo $ac_n "(cached) $ac_c" 1>&6
5425 else
5426 cat > conftest.$ac_ext <<EOF
5427 #line 5428 "configure"
5428 #include "confdefs.h"
5429 /* System header to define __stub macros and hopefully few prototypes,
5430 which can conflict with char $ac_func(); below. */
5431 #include <assert.h>
5432 /* Override any gcc2 internal prototype to avoid an error. */
5433 /* We use char because int might match the return type of a gcc2
5434 builtin and then its argument prototype would still apply. */
5435 char $ac_func();
5437 int main() {
5439 /* The GNU C library defines this for functions which it implements
5440 to always fail with ENOSYS. Some functions are actually named
5441 something starting with __ and the normal name is an alias. */
5442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5443 choke me
5444 #else
5445 $ac_func();
5446 #endif
5448 ; return 0; }
5450 if { (eval echo configure:5451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5451 rm -rf conftest*
5452 eval "ac_cv_func_$ac_func=yes"
5453 else
5454 echo "configure: failed program was:" >&5
5455 cat conftest.$ac_ext >&5
5456 rm -rf conftest*
5457 eval "ac_cv_func_$ac_func=no"
5459 rm -f conftest*
5462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5463 echo "$ac_t""yes" 1>&6
5464 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5465 cat >> confdefs.h <<EOF
5466 #define $ac_tr_func 1
5469 else
5470 echo "$ac_t""no" 1>&6
5472 done
5477 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
5478 echo "configure:5479: checking for qfpclass declaration" >&5
5479 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
5480 echo $ac_n "(cached) $ac_c" 1>&6
5481 else
5484 ac_ext=C
5485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5486 ac_cpp='$CXXCPP $CPPFLAGS'
5487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5489 cross_compiling=$ac_cv_prog_cxx_cross
5491 cat > conftest.$ac_ext <<EOF
5492 #line 5493 "configure"
5493 #include "confdefs.h"
5494 #include <math.h>
5495 int main() {
5496 qfpclass(0);
5497 ; return 0; }
5499 if { (eval echo configure:5500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5500 rm -rf conftest*
5501 glibcpp_cv_func_qfpclass_use=yes
5502 else
5503 echo "configure: failed program was:" >&5
5504 cat conftest.$ac_ext >&5
5505 rm -rf conftest*
5506 glibcpp_cv_func_qfpclass_use=no
5508 rm -f conftest*
5509 ac_ext=c
5510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5511 ac_cpp='$CPP $CPPFLAGS'
5512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5514 cross_compiling=$ac_cv_prog_cc_cross
5519 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
5520 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
5521 for ac_func in qfpclass
5523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5524 echo "configure:5525: checking for $ac_func" >&5
5525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5526 echo $ac_n "(cached) $ac_c" 1>&6
5527 else
5528 cat > conftest.$ac_ext <<EOF
5529 #line 5530 "configure"
5530 #include "confdefs.h"
5531 /* System header to define __stub macros and hopefully few prototypes,
5532 which can conflict with char $ac_func(); below. */
5533 #include <assert.h>
5534 /* Override any gcc2 internal prototype to avoid an error. */
5535 /* We use char because int might match the return type of a gcc2
5536 builtin and then its argument prototype would still apply. */
5537 char $ac_func();
5539 int main() {
5541 /* The GNU C library defines this for functions which it implements
5542 to always fail with ENOSYS. Some functions are actually named
5543 something starting with __ and the normal name is an alias. */
5544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5545 choke me
5546 #else
5547 $ac_func();
5548 #endif
5550 ; return 0; }
5552 if { (eval echo configure:5553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5553 rm -rf conftest*
5554 eval "ac_cv_func_$ac_func=yes"
5555 else
5556 echo "configure: failed program was:" >&5
5557 cat conftest.$ac_ext >&5
5558 rm -rf conftest*
5559 eval "ac_cv_func_$ac_func=no"
5561 rm -f conftest*
5564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5565 echo "$ac_t""yes" 1>&6
5566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5567 cat >> confdefs.h <<EOF
5568 #define $ac_tr_func 1
5571 else
5572 echo "$ac_t""no" 1>&6
5574 done
5580 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
5581 echo "configure:5582: checking for isnanf declaration" >&5
5582 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
5583 echo $ac_n "(cached) $ac_c" 1>&6
5584 else
5587 ac_ext=C
5588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5589 ac_cpp='$CXXCPP $CPPFLAGS'
5590 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5591 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5592 cross_compiling=$ac_cv_prog_cxx_cross
5594 cat > conftest.$ac_ext <<EOF
5595 #line 5596 "configure"
5596 #include "confdefs.h"
5597 #include <math.h>
5598 int main() {
5599 isnanf(0);
5600 ; return 0; }
5602 if { (eval echo configure:5603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5603 rm -rf conftest*
5604 glibcpp_cv_func_isnanf_use=yes
5605 else
5606 echo "configure: failed program was:" >&5
5607 cat conftest.$ac_ext >&5
5608 rm -rf conftest*
5609 glibcpp_cv_func_isnanf_use=no
5611 rm -f conftest*
5612 ac_ext=c
5613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5614 ac_cpp='$CPP $CPPFLAGS'
5615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5617 cross_compiling=$ac_cv_prog_cc_cross
5622 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
5623 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
5624 for ac_func in isnanf
5626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5627 echo "configure:5628: checking for $ac_func" >&5
5628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5629 echo $ac_n "(cached) $ac_c" 1>&6
5630 else
5631 cat > conftest.$ac_ext <<EOF
5632 #line 5633 "configure"
5633 #include "confdefs.h"
5634 /* System header to define __stub macros and hopefully few prototypes,
5635 which can conflict with char $ac_func(); below. */
5636 #include <assert.h>
5637 /* Override any gcc2 internal prototype to avoid an error. */
5638 /* We use char because int might match the return type of a gcc2
5639 builtin and then its argument prototype would still apply. */
5640 char $ac_func();
5642 int main() {
5644 /* The GNU C library defines this for functions which it implements
5645 to always fail with ENOSYS. Some functions are actually named
5646 something starting with __ and the normal name is an alias. */
5647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5648 choke me
5649 #else
5650 $ac_func();
5651 #endif
5653 ; return 0; }
5655 if { (eval echo configure:5656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5656 rm -rf conftest*
5657 eval "ac_cv_func_$ac_func=yes"
5658 else
5659 echo "configure: failed program was:" >&5
5660 cat conftest.$ac_ext >&5
5661 rm -rf conftest*
5662 eval "ac_cv_func_$ac_func=no"
5664 rm -f conftest*
5667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5668 echo "$ac_t""yes" 1>&6
5669 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5670 cat >> confdefs.h <<EOF
5671 #define $ac_tr_func 1
5674 else
5675 echo "$ac_t""no" 1>&6
5677 done
5682 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
5683 echo "configure:5684: checking for isinff declaration" >&5
5684 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
5685 echo $ac_n "(cached) $ac_c" 1>&6
5686 else
5689 ac_ext=C
5690 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5691 ac_cpp='$CXXCPP $CPPFLAGS'
5692 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5693 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5694 cross_compiling=$ac_cv_prog_cxx_cross
5696 cat > conftest.$ac_ext <<EOF
5697 #line 5698 "configure"
5698 #include "confdefs.h"
5699 #include <math.h>
5700 int main() {
5701 isinff(0);
5702 ; return 0; }
5704 if { (eval echo configure:5705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5705 rm -rf conftest*
5706 glibcpp_cv_func_isinff_use=yes
5707 else
5708 echo "configure: failed program was:" >&5
5709 cat conftest.$ac_ext >&5
5710 rm -rf conftest*
5711 glibcpp_cv_func_isinff_use=no
5713 rm -f conftest*
5714 ac_ext=c
5715 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5716 ac_cpp='$CPP $CPPFLAGS'
5717 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5718 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5719 cross_compiling=$ac_cv_prog_cc_cross
5724 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
5725 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
5726 for ac_func in isinff
5728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5729 echo "configure:5730: checking for $ac_func" >&5
5730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5731 echo $ac_n "(cached) $ac_c" 1>&6
5732 else
5733 cat > conftest.$ac_ext <<EOF
5734 #line 5735 "configure"
5735 #include "confdefs.h"
5736 /* System header to define __stub macros and hopefully few prototypes,
5737 which can conflict with char $ac_func(); below. */
5738 #include <assert.h>
5739 /* Override any gcc2 internal prototype to avoid an error. */
5740 /* We use char because int might match the return type of a gcc2
5741 builtin and then its argument prototype would still apply. */
5742 char $ac_func();
5744 int main() {
5746 /* The GNU C library defines this for functions which it implements
5747 to always fail with ENOSYS. Some functions are actually named
5748 something starting with __ and the normal name is an alias. */
5749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5750 choke me
5751 #else
5752 $ac_func();
5753 #endif
5755 ; return 0; }
5757 if { (eval echo configure:5758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5758 rm -rf conftest*
5759 eval "ac_cv_func_$ac_func=yes"
5760 else
5761 echo "configure: failed program was:" >&5
5762 cat conftest.$ac_ext >&5
5763 rm -rf conftest*
5764 eval "ac_cv_func_$ac_func=no"
5766 rm -f conftest*
5769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5770 echo "$ac_t""yes" 1>&6
5771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5772 cat >> confdefs.h <<EOF
5773 #define $ac_tr_func 1
5776 else
5777 echo "$ac_t""no" 1>&6
5779 done
5784 echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6
5785 echo "configure:5786: checking for acosf declaration" >&5
5786 if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then
5787 echo $ac_n "(cached) $ac_c" 1>&6
5788 else
5791 ac_ext=C
5792 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5793 ac_cpp='$CXXCPP $CPPFLAGS'
5794 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5795 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5796 cross_compiling=$ac_cv_prog_cxx_cross
5798 cat > conftest.$ac_ext <<EOF
5799 #line 5800 "configure"
5800 #include "confdefs.h"
5801 #include <math.h>
5802 int main() {
5803 acosf(0);
5804 ; return 0; }
5806 if { (eval echo configure:5807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5807 rm -rf conftest*
5808 glibcpp_cv_func_acosf_use=yes
5809 else
5810 echo "configure: failed program was:" >&5
5811 cat conftest.$ac_ext >&5
5812 rm -rf conftest*
5813 glibcpp_cv_func_acosf_use=no
5815 rm -f conftest*
5816 ac_ext=c
5817 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5818 ac_cpp='$CPP $CPPFLAGS'
5819 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5820 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5821 cross_compiling=$ac_cv_prog_cc_cross
5826 echo "$ac_t""$glibcpp_cv_func_acosf_use" 1>&6
5827 if test x$glibcpp_cv_func_acosf_use = x"yes"; then
5828 for ac_func in acosf
5830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5831 echo "configure:5832: checking for $ac_func" >&5
5832 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5833 echo $ac_n "(cached) $ac_c" 1>&6
5834 else
5835 cat > conftest.$ac_ext <<EOF
5836 #line 5837 "configure"
5837 #include "confdefs.h"
5838 /* System header to define __stub macros and hopefully few prototypes,
5839 which can conflict with char $ac_func(); below. */
5840 #include <assert.h>
5841 /* Override any gcc2 internal prototype to avoid an error. */
5842 /* We use char because int might match the return type of a gcc2
5843 builtin and then its argument prototype would still apply. */
5844 char $ac_func();
5846 int main() {
5848 /* The GNU C library defines this for functions which it implements
5849 to always fail with ENOSYS. Some functions are actually named
5850 something starting with __ and the normal name is an alias. */
5851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5852 choke me
5853 #else
5854 $ac_func();
5855 #endif
5857 ; return 0; }
5859 if { (eval echo configure:5860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5860 rm -rf conftest*
5861 eval "ac_cv_func_$ac_func=yes"
5862 else
5863 echo "configure: failed program was:" >&5
5864 cat conftest.$ac_ext >&5
5865 rm -rf conftest*
5866 eval "ac_cv_func_$ac_func=no"
5868 rm -f conftest*
5871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5872 echo "$ac_t""yes" 1>&6
5873 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5874 cat >> confdefs.h <<EOF
5875 #define $ac_tr_func 1
5878 else
5879 echo "$ac_t""no" 1>&6
5881 done
5886 echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6
5887 echo "configure:5888: checking for asinf declaration" >&5
5888 if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then
5889 echo $ac_n "(cached) $ac_c" 1>&6
5890 else
5893 ac_ext=C
5894 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5895 ac_cpp='$CXXCPP $CPPFLAGS'
5896 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5897 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5898 cross_compiling=$ac_cv_prog_cxx_cross
5900 cat > conftest.$ac_ext <<EOF
5901 #line 5902 "configure"
5902 #include "confdefs.h"
5903 #include <math.h>
5904 int main() {
5905 asinf(0);
5906 ; return 0; }
5908 if { (eval echo configure:5909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5909 rm -rf conftest*
5910 glibcpp_cv_func_asinf_use=yes
5911 else
5912 echo "configure: failed program was:" >&5
5913 cat conftest.$ac_ext >&5
5914 rm -rf conftest*
5915 glibcpp_cv_func_asinf_use=no
5917 rm -f conftest*
5918 ac_ext=c
5919 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5920 ac_cpp='$CPP $CPPFLAGS'
5921 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5922 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5923 cross_compiling=$ac_cv_prog_cc_cross
5928 echo "$ac_t""$glibcpp_cv_func_asinf_use" 1>&6
5929 if test x$glibcpp_cv_func_asinf_use = x"yes"; then
5930 for ac_func in asinf
5932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5933 echo "configure:5934: checking for $ac_func" >&5
5934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5935 echo $ac_n "(cached) $ac_c" 1>&6
5936 else
5937 cat > conftest.$ac_ext <<EOF
5938 #line 5939 "configure"
5939 #include "confdefs.h"
5940 /* System header to define __stub macros and hopefully few prototypes,
5941 which can conflict with char $ac_func(); below. */
5942 #include <assert.h>
5943 /* Override any gcc2 internal prototype to avoid an error. */
5944 /* We use char because int might match the return type of a gcc2
5945 builtin and then its argument prototype would still apply. */
5946 char $ac_func();
5948 int main() {
5950 /* The GNU C library defines this for functions which it implements
5951 to always fail with ENOSYS. Some functions are actually named
5952 something starting with __ and the normal name is an alias. */
5953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5954 choke me
5955 #else
5956 $ac_func();
5957 #endif
5959 ; return 0; }
5961 if { (eval echo configure:5962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5962 rm -rf conftest*
5963 eval "ac_cv_func_$ac_func=yes"
5964 else
5965 echo "configure: failed program was:" >&5
5966 cat conftest.$ac_ext >&5
5967 rm -rf conftest*
5968 eval "ac_cv_func_$ac_func=no"
5970 rm -f conftest*
5973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5974 echo "$ac_t""yes" 1>&6
5975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5976 cat >> confdefs.h <<EOF
5977 #define $ac_tr_func 1
5980 else
5981 echo "$ac_t""no" 1>&6
5983 done
5988 echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6
5989 echo "configure:5990: checking for atanf declaration" >&5
5990 if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then
5991 echo $ac_n "(cached) $ac_c" 1>&6
5992 else
5995 ac_ext=C
5996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5997 ac_cpp='$CXXCPP $CPPFLAGS'
5998 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5999 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6000 cross_compiling=$ac_cv_prog_cxx_cross
6002 cat > conftest.$ac_ext <<EOF
6003 #line 6004 "configure"
6004 #include "confdefs.h"
6005 #include <math.h>
6006 int main() {
6007 atanf(0);
6008 ; return 0; }
6010 if { (eval echo configure:6011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6011 rm -rf conftest*
6012 glibcpp_cv_func_atanf_use=yes
6013 else
6014 echo "configure: failed program was:" >&5
6015 cat conftest.$ac_ext >&5
6016 rm -rf conftest*
6017 glibcpp_cv_func_atanf_use=no
6019 rm -f conftest*
6020 ac_ext=c
6021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6022 ac_cpp='$CPP $CPPFLAGS'
6023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6025 cross_compiling=$ac_cv_prog_cc_cross
6030 echo "$ac_t""$glibcpp_cv_func_atanf_use" 1>&6
6031 if test x$glibcpp_cv_func_atanf_use = x"yes"; then
6032 for ac_func in atanf
6034 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6035 echo "configure:6036: checking for $ac_func" >&5
6036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6037 echo $ac_n "(cached) $ac_c" 1>&6
6038 else
6039 cat > conftest.$ac_ext <<EOF
6040 #line 6041 "configure"
6041 #include "confdefs.h"
6042 /* System header to define __stub macros and hopefully few prototypes,
6043 which can conflict with char $ac_func(); below. */
6044 #include <assert.h>
6045 /* Override any gcc2 internal prototype to avoid an error. */
6046 /* We use char because int might match the return type of a gcc2
6047 builtin and then its argument prototype would still apply. */
6048 char $ac_func();
6050 int main() {
6052 /* The GNU C library defines this for functions which it implements
6053 to always fail with ENOSYS. Some functions are actually named
6054 something starting with __ and the normal name is an alias. */
6055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6056 choke me
6057 #else
6058 $ac_func();
6059 #endif
6061 ; return 0; }
6063 if { (eval echo configure:6064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6064 rm -rf conftest*
6065 eval "ac_cv_func_$ac_func=yes"
6066 else
6067 echo "configure: failed program was:" >&5
6068 cat conftest.$ac_ext >&5
6069 rm -rf conftest*
6070 eval "ac_cv_func_$ac_func=no"
6072 rm -f conftest*
6075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6076 echo "$ac_t""yes" 1>&6
6077 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6078 cat >> confdefs.h <<EOF
6079 #define $ac_tr_func 1
6082 else
6083 echo "$ac_t""no" 1>&6
6085 done
6090 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
6091 echo "configure:6092: checking for atan2f declaration" >&5
6092 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
6093 echo $ac_n "(cached) $ac_c" 1>&6
6094 else
6097 ac_ext=C
6098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6099 ac_cpp='$CXXCPP $CPPFLAGS'
6100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6102 cross_compiling=$ac_cv_prog_cxx_cross
6104 cat > conftest.$ac_ext <<EOF
6105 #line 6106 "configure"
6106 #include "confdefs.h"
6107 #include <math.h>
6108 int main() {
6109 atan2f(0, 0);
6110 ; return 0; }
6112 if { (eval echo configure:6113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6113 rm -rf conftest*
6114 glibcpp_cv_func_atan2f_use=yes
6115 else
6116 echo "configure: failed program was:" >&5
6117 cat conftest.$ac_ext >&5
6118 rm -rf conftest*
6119 glibcpp_cv_func_atan2f_use=no
6121 rm -f conftest*
6122 ac_ext=c
6123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6124 ac_cpp='$CPP $CPPFLAGS'
6125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6127 cross_compiling=$ac_cv_prog_cc_cross
6132 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
6133 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
6134 for ac_func in atan2f
6136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6137 echo "configure:6138: checking for $ac_func" >&5
6138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6139 echo $ac_n "(cached) $ac_c" 1>&6
6140 else
6141 cat > conftest.$ac_ext <<EOF
6142 #line 6143 "configure"
6143 #include "confdefs.h"
6144 /* System header to define __stub macros and hopefully few prototypes,
6145 which can conflict with char $ac_func(); below. */
6146 #include <assert.h>
6147 /* Override any gcc2 internal prototype to avoid an error. */
6148 /* We use char because int might match the return type of a gcc2
6149 builtin and then its argument prototype would still apply. */
6150 char $ac_func();
6152 int main() {
6154 /* The GNU C library defines this for functions which it implements
6155 to always fail with ENOSYS. Some functions are actually named
6156 something starting with __ and the normal name is an alias. */
6157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6158 choke me
6159 #else
6160 $ac_func();
6161 #endif
6163 ; return 0; }
6165 if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6166 rm -rf conftest*
6167 eval "ac_cv_func_$ac_func=yes"
6168 else
6169 echo "configure: failed program was:" >&5
6170 cat conftest.$ac_ext >&5
6171 rm -rf conftest*
6172 eval "ac_cv_func_$ac_func=no"
6174 rm -f conftest*
6177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6178 echo "$ac_t""yes" 1>&6
6179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6180 cat >> confdefs.h <<EOF
6181 #define $ac_tr_func 1
6184 else
6185 echo "$ac_t""no" 1>&6
6187 done
6192 echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6
6193 echo "configure:6194: checking for ceilf declaration" >&5
6194 if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then
6195 echo $ac_n "(cached) $ac_c" 1>&6
6196 else
6199 ac_ext=C
6200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6201 ac_cpp='$CXXCPP $CPPFLAGS'
6202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6204 cross_compiling=$ac_cv_prog_cxx_cross
6206 cat > conftest.$ac_ext <<EOF
6207 #line 6208 "configure"
6208 #include "confdefs.h"
6209 #include <math.h>
6210 int main() {
6211 ceilf(0);
6212 ; return 0; }
6214 if { (eval echo configure:6215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6215 rm -rf conftest*
6216 glibcpp_cv_func_ceilf_use=yes
6217 else
6218 echo "configure: failed program was:" >&5
6219 cat conftest.$ac_ext >&5
6220 rm -rf conftest*
6221 glibcpp_cv_func_ceilf_use=no
6223 rm -f conftest*
6224 ac_ext=c
6225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6226 ac_cpp='$CPP $CPPFLAGS'
6227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6229 cross_compiling=$ac_cv_prog_cc_cross
6234 echo "$ac_t""$glibcpp_cv_func_ceilf_use" 1>&6
6235 if test x$glibcpp_cv_func_ceilf_use = x"yes"; then
6236 for ac_func in ceilf
6238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6239 echo "configure:6240: checking for $ac_func" >&5
6240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6241 echo $ac_n "(cached) $ac_c" 1>&6
6242 else
6243 cat > conftest.$ac_ext <<EOF
6244 #line 6245 "configure"
6245 #include "confdefs.h"
6246 /* System header to define __stub macros and hopefully few prototypes,
6247 which can conflict with char $ac_func(); below. */
6248 #include <assert.h>
6249 /* Override any gcc2 internal prototype to avoid an error. */
6250 /* We use char because int might match the return type of a gcc2
6251 builtin and then its argument prototype would still apply. */
6252 char $ac_func();
6254 int main() {
6256 /* The GNU C library defines this for functions which it implements
6257 to always fail with ENOSYS. Some functions are actually named
6258 something starting with __ and the normal name is an alias. */
6259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6260 choke me
6261 #else
6262 $ac_func();
6263 #endif
6265 ; return 0; }
6267 if { (eval echo configure:6268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6268 rm -rf conftest*
6269 eval "ac_cv_func_$ac_func=yes"
6270 else
6271 echo "configure: failed program was:" >&5
6272 cat conftest.$ac_ext >&5
6273 rm -rf conftest*
6274 eval "ac_cv_func_$ac_func=no"
6276 rm -f conftest*
6279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6280 echo "$ac_t""yes" 1>&6
6281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6282 cat >> confdefs.h <<EOF
6283 #define $ac_tr_func 1
6286 else
6287 echo "$ac_t""no" 1>&6
6289 done
6294 echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6
6295 echo "configure:6296: checking for cosf declaration" >&5
6296 if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then
6297 echo $ac_n "(cached) $ac_c" 1>&6
6298 else
6301 ac_ext=C
6302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6303 ac_cpp='$CXXCPP $CPPFLAGS'
6304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6306 cross_compiling=$ac_cv_prog_cxx_cross
6308 cat > conftest.$ac_ext <<EOF
6309 #line 6310 "configure"
6310 #include "confdefs.h"
6311 #include <math.h>
6312 int main() {
6313 cosf(0);
6314 ; return 0; }
6316 if { (eval echo configure:6317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6317 rm -rf conftest*
6318 glibcpp_cv_func_cosf_use=yes
6319 else
6320 echo "configure: failed program was:" >&5
6321 cat conftest.$ac_ext >&5
6322 rm -rf conftest*
6323 glibcpp_cv_func_cosf_use=no
6325 rm -f conftest*
6326 ac_ext=c
6327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6328 ac_cpp='$CPP $CPPFLAGS'
6329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6331 cross_compiling=$ac_cv_prog_cc_cross
6336 echo "$ac_t""$glibcpp_cv_func_cosf_use" 1>&6
6337 if test x$glibcpp_cv_func_cosf_use = x"yes"; then
6338 for ac_func in cosf
6340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6341 echo "configure:6342: checking for $ac_func" >&5
6342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6343 echo $ac_n "(cached) $ac_c" 1>&6
6344 else
6345 cat > conftest.$ac_ext <<EOF
6346 #line 6347 "configure"
6347 #include "confdefs.h"
6348 /* System header to define __stub macros and hopefully few prototypes,
6349 which can conflict with char $ac_func(); below. */
6350 #include <assert.h>
6351 /* Override any gcc2 internal prototype to avoid an error. */
6352 /* We use char because int might match the return type of a gcc2
6353 builtin and then its argument prototype would still apply. */
6354 char $ac_func();
6356 int main() {
6358 /* The GNU C library defines this for functions which it implements
6359 to always fail with ENOSYS. Some functions are actually named
6360 something starting with __ and the normal name is an alias. */
6361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6362 choke me
6363 #else
6364 $ac_func();
6365 #endif
6367 ; return 0; }
6369 if { (eval echo configure:6370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6370 rm -rf conftest*
6371 eval "ac_cv_func_$ac_func=yes"
6372 else
6373 echo "configure: failed program was:" >&5
6374 cat conftest.$ac_ext >&5
6375 rm -rf conftest*
6376 eval "ac_cv_func_$ac_func=no"
6378 rm -f conftest*
6381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6382 echo "$ac_t""yes" 1>&6
6383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6384 cat >> confdefs.h <<EOF
6385 #define $ac_tr_func 1
6388 else
6389 echo "$ac_t""no" 1>&6
6391 done
6396 echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6
6397 echo "configure:6398: checking for coshf declaration" >&5
6398 if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then
6399 echo $ac_n "(cached) $ac_c" 1>&6
6400 else
6403 ac_ext=C
6404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6405 ac_cpp='$CXXCPP $CPPFLAGS'
6406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6408 cross_compiling=$ac_cv_prog_cxx_cross
6410 cat > conftest.$ac_ext <<EOF
6411 #line 6412 "configure"
6412 #include "confdefs.h"
6413 #include <math.h>
6414 int main() {
6415 coshf(0);
6416 ; return 0; }
6418 if { (eval echo configure:6419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6419 rm -rf conftest*
6420 glibcpp_cv_func_coshf_use=yes
6421 else
6422 echo "configure: failed program was:" >&5
6423 cat conftest.$ac_ext >&5
6424 rm -rf conftest*
6425 glibcpp_cv_func_coshf_use=no
6427 rm -f conftest*
6428 ac_ext=c
6429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6430 ac_cpp='$CPP $CPPFLAGS'
6431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6433 cross_compiling=$ac_cv_prog_cc_cross
6438 echo "$ac_t""$glibcpp_cv_func_coshf_use" 1>&6
6439 if test x$glibcpp_cv_func_coshf_use = x"yes"; then
6440 for ac_func in coshf
6442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6443 echo "configure:6444: checking for $ac_func" >&5
6444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6445 echo $ac_n "(cached) $ac_c" 1>&6
6446 else
6447 cat > conftest.$ac_ext <<EOF
6448 #line 6449 "configure"
6449 #include "confdefs.h"
6450 /* System header to define __stub macros and hopefully few prototypes,
6451 which can conflict with char $ac_func(); below. */
6452 #include <assert.h>
6453 /* Override any gcc2 internal prototype to avoid an error. */
6454 /* We use char because int might match the return type of a gcc2
6455 builtin and then its argument prototype would still apply. */
6456 char $ac_func();
6458 int main() {
6460 /* The GNU C library defines this for functions which it implements
6461 to always fail with ENOSYS. Some functions are actually named
6462 something starting with __ and the normal name is an alias. */
6463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6464 choke me
6465 #else
6466 $ac_func();
6467 #endif
6469 ; return 0; }
6471 if { (eval echo configure:6472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6472 rm -rf conftest*
6473 eval "ac_cv_func_$ac_func=yes"
6474 else
6475 echo "configure: failed program was:" >&5
6476 cat conftest.$ac_ext >&5
6477 rm -rf conftest*
6478 eval "ac_cv_func_$ac_func=no"
6480 rm -f conftest*
6483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6484 echo "$ac_t""yes" 1>&6
6485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6486 cat >> confdefs.h <<EOF
6487 #define $ac_tr_func 1
6490 else
6491 echo "$ac_t""no" 1>&6
6493 done
6498 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
6499 echo "configure:6500: checking for expf declaration" >&5
6500 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
6501 echo $ac_n "(cached) $ac_c" 1>&6
6502 else
6505 ac_ext=C
6506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6507 ac_cpp='$CXXCPP $CPPFLAGS'
6508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6510 cross_compiling=$ac_cv_prog_cxx_cross
6512 cat > conftest.$ac_ext <<EOF
6513 #line 6514 "configure"
6514 #include "confdefs.h"
6515 #include <math.h>
6516 int main() {
6517 expf(0);
6518 ; return 0; }
6520 if { (eval echo configure:6521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6521 rm -rf conftest*
6522 glibcpp_cv_func_expf_use=yes
6523 else
6524 echo "configure: failed program was:" >&5
6525 cat conftest.$ac_ext >&5
6526 rm -rf conftest*
6527 glibcpp_cv_func_expf_use=no
6529 rm -f conftest*
6530 ac_ext=c
6531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6532 ac_cpp='$CPP $CPPFLAGS'
6533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6535 cross_compiling=$ac_cv_prog_cc_cross
6540 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
6541 if test x$glibcpp_cv_func_expf_use = x"yes"; then
6542 for ac_func in expf
6544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6545 echo "configure:6546: checking for $ac_func" >&5
6546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6547 echo $ac_n "(cached) $ac_c" 1>&6
6548 else
6549 cat > conftest.$ac_ext <<EOF
6550 #line 6551 "configure"
6551 #include "confdefs.h"
6552 /* System header to define __stub macros and hopefully few prototypes,
6553 which can conflict with char $ac_func(); below. */
6554 #include <assert.h>
6555 /* Override any gcc2 internal prototype to avoid an error. */
6556 /* We use char because int might match the return type of a gcc2
6557 builtin and then its argument prototype would still apply. */
6558 char $ac_func();
6560 int main() {
6562 /* The GNU C library defines this for functions which it implements
6563 to always fail with ENOSYS. Some functions are actually named
6564 something starting with __ and the normal name is an alias. */
6565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6566 choke me
6567 #else
6568 $ac_func();
6569 #endif
6571 ; return 0; }
6573 if { (eval echo configure:6574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6574 rm -rf conftest*
6575 eval "ac_cv_func_$ac_func=yes"
6576 else
6577 echo "configure: failed program was:" >&5
6578 cat conftest.$ac_ext >&5
6579 rm -rf conftest*
6580 eval "ac_cv_func_$ac_func=no"
6582 rm -f conftest*
6585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6586 echo "$ac_t""yes" 1>&6
6587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6588 cat >> confdefs.h <<EOF
6589 #define $ac_tr_func 1
6592 else
6593 echo "$ac_t""no" 1>&6
6595 done
6600 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
6601 echo "configure:6602: checking for fabsf declaration" >&5
6602 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
6603 echo $ac_n "(cached) $ac_c" 1>&6
6604 else
6607 ac_ext=C
6608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6609 ac_cpp='$CXXCPP $CPPFLAGS'
6610 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6611 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6612 cross_compiling=$ac_cv_prog_cxx_cross
6614 cat > conftest.$ac_ext <<EOF
6615 #line 6616 "configure"
6616 #include "confdefs.h"
6617 #include <math.h>
6618 int main() {
6619 fabsf(0);
6620 ; return 0; }
6622 if { (eval echo configure:6623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6623 rm -rf conftest*
6624 glibcpp_cv_func_fabsf_use=yes
6625 else
6626 echo "configure: failed program was:" >&5
6627 cat conftest.$ac_ext >&5
6628 rm -rf conftest*
6629 glibcpp_cv_func_fabsf_use=no
6631 rm -f conftest*
6632 ac_ext=c
6633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6634 ac_cpp='$CPP $CPPFLAGS'
6635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6637 cross_compiling=$ac_cv_prog_cc_cross
6642 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
6643 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
6644 for ac_func in fabsf
6646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6647 echo "configure:6648: checking for $ac_func" >&5
6648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6649 echo $ac_n "(cached) $ac_c" 1>&6
6650 else
6651 cat > conftest.$ac_ext <<EOF
6652 #line 6653 "configure"
6653 #include "confdefs.h"
6654 /* System header to define __stub macros and hopefully few prototypes,
6655 which can conflict with char $ac_func(); below. */
6656 #include <assert.h>
6657 /* Override any gcc2 internal prototype to avoid an error. */
6658 /* We use char because int might match the return type of a gcc2
6659 builtin and then its argument prototype would still apply. */
6660 char $ac_func();
6662 int main() {
6664 /* The GNU C library defines this for functions which it implements
6665 to always fail with ENOSYS. Some functions are actually named
6666 something starting with __ and the normal name is an alias. */
6667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6668 choke me
6669 #else
6670 $ac_func();
6671 #endif
6673 ; return 0; }
6675 if { (eval echo configure:6676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6676 rm -rf conftest*
6677 eval "ac_cv_func_$ac_func=yes"
6678 else
6679 echo "configure: failed program was:" >&5
6680 cat conftest.$ac_ext >&5
6681 rm -rf conftest*
6682 eval "ac_cv_func_$ac_func=no"
6684 rm -f conftest*
6687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6688 echo "$ac_t""yes" 1>&6
6689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6690 cat >> confdefs.h <<EOF
6691 #define $ac_tr_func 1
6694 else
6695 echo "$ac_t""no" 1>&6
6697 done
6702 echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6
6703 echo "configure:6704: checking for floorf declaration" >&5
6704 if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then
6705 echo $ac_n "(cached) $ac_c" 1>&6
6706 else
6709 ac_ext=C
6710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6711 ac_cpp='$CXXCPP $CPPFLAGS'
6712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6714 cross_compiling=$ac_cv_prog_cxx_cross
6716 cat > conftest.$ac_ext <<EOF
6717 #line 6718 "configure"
6718 #include "confdefs.h"
6719 #include <math.h>
6720 int main() {
6721 floorf(0);
6722 ; return 0; }
6724 if { (eval echo configure:6725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6725 rm -rf conftest*
6726 glibcpp_cv_func_floorf_use=yes
6727 else
6728 echo "configure: failed program was:" >&5
6729 cat conftest.$ac_ext >&5
6730 rm -rf conftest*
6731 glibcpp_cv_func_floorf_use=no
6733 rm -f conftest*
6734 ac_ext=c
6735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6736 ac_cpp='$CPP $CPPFLAGS'
6737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6739 cross_compiling=$ac_cv_prog_cc_cross
6744 echo "$ac_t""$glibcpp_cv_func_floorf_use" 1>&6
6745 if test x$glibcpp_cv_func_floorf_use = x"yes"; then
6746 for ac_func in floorf
6748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6749 echo "configure:6750: checking for $ac_func" >&5
6750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6751 echo $ac_n "(cached) $ac_c" 1>&6
6752 else
6753 cat > conftest.$ac_ext <<EOF
6754 #line 6755 "configure"
6755 #include "confdefs.h"
6756 /* System header to define __stub macros and hopefully few prototypes,
6757 which can conflict with char $ac_func(); below. */
6758 #include <assert.h>
6759 /* Override any gcc2 internal prototype to avoid an error. */
6760 /* We use char because int might match the return type of a gcc2
6761 builtin and then its argument prototype would still apply. */
6762 char $ac_func();
6764 int main() {
6766 /* The GNU C library defines this for functions which it implements
6767 to always fail with ENOSYS. Some functions are actually named
6768 something starting with __ and the normal name is an alias. */
6769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6770 choke me
6771 #else
6772 $ac_func();
6773 #endif
6775 ; return 0; }
6777 if { (eval echo configure:6778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6778 rm -rf conftest*
6779 eval "ac_cv_func_$ac_func=yes"
6780 else
6781 echo "configure: failed program was:" >&5
6782 cat conftest.$ac_ext >&5
6783 rm -rf conftest*
6784 eval "ac_cv_func_$ac_func=no"
6786 rm -f conftest*
6789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6790 echo "$ac_t""yes" 1>&6
6791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6792 cat >> confdefs.h <<EOF
6793 #define $ac_tr_func 1
6796 else
6797 echo "$ac_t""no" 1>&6
6799 done
6804 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
6805 echo "configure:6806: checking for fmodf declaration" >&5
6806 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
6807 echo $ac_n "(cached) $ac_c" 1>&6
6808 else
6811 ac_ext=C
6812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6813 ac_cpp='$CXXCPP $CPPFLAGS'
6814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6816 cross_compiling=$ac_cv_prog_cxx_cross
6818 cat > conftest.$ac_ext <<EOF
6819 #line 6820 "configure"
6820 #include "confdefs.h"
6821 #include <math.h>
6822 int main() {
6823 fmodf(0, 0);
6824 ; return 0; }
6826 if { (eval echo configure:6827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6827 rm -rf conftest*
6828 glibcpp_cv_func_fmodf_use=yes
6829 else
6830 echo "configure: failed program was:" >&5
6831 cat conftest.$ac_ext >&5
6832 rm -rf conftest*
6833 glibcpp_cv_func_fmodf_use=no
6835 rm -f conftest*
6836 ac_ext=c
6837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6838 ac_cpp='$CPP $CPPFLAGS'
6839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6841 cross_compiling=$ac_cv_prog_cc_cross
6846 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
6847 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
6848 for ac_func in fmodf
6850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6851 echo "configure:6852: checking for $ac_func" >&5
6852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6853 echo $ac_n "(cached) $ac_c" 1>&6
6854 else
6855 cat > conftest.$ac_ext <<EOF
6856 #line 6857 "configure"
6857 #include "confdefs.h"
6858 /* System header to define __stub macros and hopefully few prototypes,
6859 which can conflict with char $ac_func(); below. */
6860 #include <assert.h>
6861 /* Override any gcc2 internal prototype to avoid an error. */
6862 /* We use char because int might match the return type of a gcc2
6863 builtin and then its argument prototype would still apply. */
6864 char $ac_func();
6866 int main() {
6868 /* The GNU C library defines this for functions which it implements
6869 to always fail with ENOSYS. Some functions are actually named
6870 something starting with __ and the normal name is an alias. */
6871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6872 choke me
6873 #else
6874 $ac_func();
6875 #endif
6877 ; return 0; }
6879 if { (eval echo configure:6880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6880 rm -rf conftest*
6881 eval "ac_cv_func_$ac_func=yes"
6882 else
6883 echo "configure: failed program was:" >&5
6884 cat conftest.$ac_ext >&5
6885 rm -rf conftest*
6886 eval "ac_cv_func_$ac_func=no"
6888 rm -f conftest*
6891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6892 echo "$ac_t""yes" 1>&6
6893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6894 cat >> confdefs.h <<EOF
6895 #define $ac_tr_func 1
6898 else
6899 echo "$ac_t""no" 1>&6
6901 done
6906 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
6907 echo "configure:6908: checking for frexpf declaration" >&5
6908 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
6909 echo $ac_n "(cached) $ac_c" 1>&6
6910 else
6913 ac_ext=C
6914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6915 ac_cpp='$CXXCPP $CPPFLAGS'
6916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6918 cross_compiling=$ac_cv_prog_cxx_cross
6920 cat > conftest.$ac_ext <<EOF
6921 #line 6922 "configure"
6922 #include "confdefs.h"
6923 #include <math.h>
6924 int main() {
6925 frexpf(0, 0);
6926 ; return 0; }
6928 if { (eval echo configure:6929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6929 rm -rf conftest*
6930 glibcpp_cv_func_frexpf_use=yes
6931 else
6932 echo "configure: failed program was:" >&5
6933 cat conftest.$ac_ext >&5
6934 rm -rf conftest*
6935 glibcpp_cv_func_frexpf_use=no
6937 rm -f conftest*
6938 ac_ext=c
6939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6940 ac_cpp='$CPP $CPPFLAGS'
6941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6943 cross_compiling=$ac_cv_prog_cc_cross
6948 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
6949 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
6950 for ac_func in frexpf
6952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6953 echo "configure:6954: checking for $ac_func" >&5
6954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6955 echo $ac_n "(cached) $ac_c" 1>&6
6956 else
6957 cat > conftest.$ac_ext <<EOF
6958 #line 6959 "configure"
6959 #include "confdefs.h"
6960 /* System header to define __stub macros and hopefully few prototypes,
6961 which can conflict with char $ac_func(); below. */
6962 #include <assert.h>
6963 /* Override any gcc2 internal prototype to avoid an error. */
6964 /* We use char because int might match the return type of a gcc2
6965 builtin and then its argument prototype would still apply. */
6966 char $ac_func();
6968 int main() {
6970 /* The GNU C library defines this for functions which it implements
6971 to always fail with ENOSYS. Some functions are actually named
6972 something starting with __ and the normal name is an alias. */
6973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6974 choke me
6975 #else
6976 $ac_func();
6977 #endif
6979 ; return 0; }
6981 if { (eval echo configure:6982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6982 rm -rf conftest*
6983 eval "ac_cv_func_$ac_func=yes"
6984 else
6985 echo "configure: failed program was:" >&5
6986 cat conftest.$ac_ext >&5
6987 rm -rf conftest*
6988 eval "ac_cv_func_$ac_func=no"
6990 rm -f conftest*
6993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6994 echo "$ac_t""yes" 1>&6
6995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6996 cat >> confdefs.h <<EOF
6997 #define $ac_tr_func 1
7000 else
7001 echo "$ac_t""no" 1>&6
7003 done
7008 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
7009 echo "configure:7010: checking for ldexpf declaration" >&5
7010 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
7011 echo $ac_n "(cached) $ac_c" 1>&6
7012 else
7015 ac_ext=C
7016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7017 ac_cpp='$CXXCPP $CPPFLAGS'
7018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7020 cross_compiling=$ac_cv_prog_cxx_cross
7022 cat > conftest.$ac_ext <<EOF
7023 #line 7024 "configure"
7024 #include "confdefs.h"
7025 #include <math.h>
7026 int main() {
7027 ldexpf(0, 0);
7028 ; return 0; }
7030 if { (eval echo configure:7031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7031 rm -rf conftest*
7032 glibcpp_cv_func_ldexpf_use=yes
7033 else
7034 echo "configure: failed program was:" >&5
7035 cat conftest.$ac_ext >&5
7036 rm -rf conftest*
7037 glibcpp_cv_func_ldexpf_use=no
7039 rm -f conftest*
7040 ac_ext=c
7041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7042 ac_cpp='$CPP $CPPFLAGS'
7043 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7044 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7045 cross_compiling=$ac_cv_prog_cc_cross
7050 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
7051 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
7052 for ac_func in ldexpf
7054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7055 echo "configure:7056: checking for $ac_func" >&5
7056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7057 echo $ac_n "(cached) $ac_c" 1>&6
7058 else
7059 cat > conftest.$ac_ext <<EOF
7060 #line 7061 "configure"
7061 #include "confdefs.h"
7062 /* System header to define __stub macros and hopefully few prototypes,
7063 which can conflict with char $ac_func(); below. */
7064 #include <assert.h>
7065 /* Override any gcc2 internal prototype to avoid an error. */
7066 /* We use char because int might match the return type of a gcc2
7067 builtin and then its argument prototype would still apply. */
7068 char $ac_func();
7070 int main() {
7072 /* The GNU C library defines this for functions which it implements
7073 to always fail with ENOSYS. Some functions are actually named
7074 something starting with __ and the normal name is an alias. */
7075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7076 choke me
7077 #else
7078 $ac_func();
7079 #endif
7081 ; return 0; }
7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7084 rm -rf conftest*
7085 eval "ac_cv_func_$ac_func=yes"
7086 else
7087 echo "configure: failed program was:" >&5
7088 cat conftest.$ac_ext >&5
7089 rm -rf conftest*
7090 eval "ac_cv_func_$ac_func=no"
7092 rm -f conftest*
7095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7096 echo "$ac_t""yes" 1>&6
7097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7098 cat >> confdefs.h <<EOF
7099 #define $ac_tr_func 1
7102 else
7103 echo "$ac_t""no" 1>&6
7105 done
7110 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
7111 echo "configure:7112: checking for logf declaration" >&5
7112 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
7113 echo $ac_n "(cached) $ac_c" 1>&6
7114 else
7117 ac_ext=C
7118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7119 ac_cpp='$CXXCPP $CPPFLAGS'
7120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7122 cross_compiling=$ac_cv_prog_cxx_cross
7124 cat > conftest.$ac_ext <<EOF
7125 #line 7126 "configure"
7126 #include "confdefs.h"
7127 #include <math.h>
7128 int main() {
7129 logf(0);
7130 ; return 0; }
7132 if { (eval echo configure:7133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7133 rm -rf conftest*
7134 glibcpp_cv_func_logf_use=yes
7135 else
7136 echo "configure: failed program was:" >&5
7137 cat conftest.$ac_ext >&5
7138 rm -rf conftest*
7139 glibcpp_cv_func_logf_use=no
7141 rm -f conftest*
7142 ac_ext=c
7143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7144 ac_cpp='$CPP $CPPFLAGS'
7145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7147 cross_compiling=$ac_cv_prog_cc_cross
7152 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
7153 if test x$glibcpp_cv_func_logf_use = x"yes"; then
7154 for ac_func in logf
7156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7157 echo "configure:7158: checking for $ac_func" >&5
7158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7159 echo $ac_n "(cached) $ac_c" 1>&6
7160 else
7161 cat > conftest.$ac_ext <<EOF
7162 #line 7163 "configure"
7163 #include "confdefs.h"
7164 /* System header to define __stub macros and hopefully few prototypes,
7165 which can conflict with char $ac_func(); below. */
7166 #include <assert.h>
7167 /* Override any gcc2 internal prototype to avoid an error. */
7168 /* We use char because int might match the return type of a gcc2
7169 builtin and then its argument prototype would still apply. */
7170 char $ac_func();
7172 int main() {
7174 /* The GNU C library defines this for functions which it implements
7175 to always fail with ENOSYS. Some functions are actually named
7176 something starting with __ and the normal name is an alias. */
7177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7178 choke me
7179 #else
7180 $ac_func();
7181 #endif
7183 ; return 0; }
7185 if { (eval echo configure:7186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7186 rm -rf conftest*
7187 eval "ac_cv_func_$ac_func=yes"
7188 else
7189 echo "configure: failed program was:" >&5
7190 cat conftest.$ac_ext >&5
7191 rm -rf conftest*
7192 eval "ac_cv_func_$ac_func=no"
7194 rm -f conftest*
7197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7198 echo "$ac_t""yes" 1>&6
7199 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7200 cat >> confdefs.h <<EOF
7201 #define $ac_tr_func 1
7204 else
7205 echo "$ac_t""no" 1>&6
7207 done
7212 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
7213 echo "configure:7214: checking for log10f declaration" >&5
7214 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
7215 echo $ac_n "(cached) $ac_c" 1>&6
7216 else
7219 ac_ext=C
7220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7221 ac_cpp='$CXXCPP $CPPFLAGS'
7222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7224 cross_compiling=$ac_cv_prog_cxx_cross
7226 cat > conftest.$ac_ext <<EOF
7227 #line 7228 "configure"
7228 #include "confdefs.h"
7229 #include <math.h>
7230 int main() {
7231 log10f(0);
7232 ; return 0; }
7234 if { (eval echo configure:7235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7235 rm -rf conftest*
7236 glibcpp_cv_func_log10f_use=yes
7237 else
7238 echo "configure: failed program was:" >&5
7239 cat conftest.$ac_ext >&5
7240 rm -rf conftest*
7241 glibcpp_cv_func_log10f_use=no
7243 rm -f conftest*
7244 ac_ext=c
7245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7246 ac_cpp='$CPP $CPPFLAGS'
7247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7249 cross_compiling=$ac_cv_prog_cc_cross
7254 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
7255 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
7256 for ac_func in log10f
7258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7259 echo "configure:7260: checking for $ac_func" >&5
7260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7261 echo $ac_n "(cached) $ac_c" 1>&6
7262 else
7263 cat > conftest.$ac_ext <<EOF
7264 #line 7265 "configure"
7265 #include "confdefs.h"
7266 /* System header to define __stub macros and hopefully few prototypes,
7267 which can conflict with char $ac_func(); below. */
7268 #include <assert.h>
7269 /* Override any gcc2 internal prototype to avoid an error. */
7270 /* We use char because int might match the return type of a gcc2
7271 builtin and then its argument prototype would still apply. */
7272 char $ac_func();
7274 int main() {
7276 /* The GNU C library defines this for functions which it implements
7277 to always fail with ENOSYS. Some functions are actually named
7278 something starting with __ and the normal name is an alias. */
7279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7280 choke me
7281 #else
7282 $ac_func();
7283 #endif
7285 ; return 0; }
7287 if { (eval echo configure:7288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7288 rm -rf conftest*
7289 eval "ac_cv_func_$ac_func=yes"
7290 else
7291 echo "configure: failed program was:" >&5
7292 cat conftest.$ac_ext >&5
7293 rm -rf conftest*
7294 eval "ac_cv_func_$ac_func=no"
7296 rm -f conftest*
7299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7300 echo "$ac_t""yes" 1>&6
7301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7302 cat >> confdefs.h <<EOF
7303 #define $ac_tr_func 1
7306 else
7307 echo "$ac_t""no" 1>&6
7309 done
7314 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
7315 echo "configure:7316: checking for modff declaration" >&5
7316 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
7317 echo $ac_n "(cached) $ac_c" 1>&6
7318 else
7321 ac_ext=C
7322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7323 ac_cpp='$CXXCPP $CPPFLAGS'
7324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7326 cross_compiling=$ac_cv_prog_cxx_cross
7328 cat > conftest.$ac_ext <<EOF
7329 #line 7330 "configure"
7330 #include "confdefs.h"
7331 #include <math.h>
7332 int main() {
7333 modff(0, 0);
7334 ; return 0; }
7336 if { (eval echo configure:7337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7337 rm -rf conftest*
7338 glibcpp_cv_func_modff_use=yes
7339 else
7340 echo "configure: failed program was:" >&5
7341 cat conftest.$ac_ext >&5
7342 rm -rf conftest*
7343 glibcpp_cv_func_modff_use=no
7345 rm -f conftest*
7346 ac_ext=c
7347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7348 ac_cpp='$CPP $CPPFLAGS'
7349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7351 cross_compiling=$ac_cv_prog_cc_cross
7356 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
7357 if test x$glibcpp_cv_func_modff_use = x"yes"; then
7358 for ac_func in modff
7360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7361 echo "configure:7362: checking for $ac_func" >&5
7362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7363 echo $ac_n "(cached) $ac_c" 1>&6
7364 else
7365 cat > conftest.$ac_ext <<EOF
7366 #line 7367 "configure"
7367 #include "confdefs.h"
7368 /* System header to define __stub macros and hopefully few prototypes,
7369 which can conflict with char $ac_func(); below. */
7370 #include <assert.h>
7371 /* Override any gcc2 internal prototype to avoid an error. */
7372 /* We use char because int might match the return type of a gcc2
7373 builtin and then its argument prototype would still apply. */
7374 char $ac_func();
7376 int main() {
7378 /* The GNU C library defines this for functions which it implements
7379 to always fail with ENOSYS. Some functions are actually named
7380 something starting with __ and the normal name is an alias. */
7381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7382 choke me
7383 #else
7384 $ac_func();
7385 #endif
7387 ; return 0; }
7389 if { (eval echo configure:7390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7390 rm -rf conftest*
7391 eval "ac_cv_func_$ac_func=yes"
7392 else
7393 echo "configure: failed program was:" >&5
7394 cat conftest.$ac_ext >&5
7395 rm -rf conftest*
7396 eval "ac_cv_func_$ac_func=no"
7398 rm -f conftest*
7401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7402 echo "$ac_t""yes" 1>&6
7403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7404 cat >> confdefs.h <<EOF
7405 #define $ac_tr_func 1
7408 else
7409 echo "$ac_t""no" 1>&6
7411 done
7416 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
7417 echo "configure:7418: checking for powf declaration" >&5
7418 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
7419 echo $ac_n "(cached) $ac_c" 1>&6
7420 else
7423 ac_ext=C
7424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7425 ac_cpp='$CXXCPP $CPPFLAGS'
7426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7428 cross_compiling=$ac_cv_prog_cxx_cross
7430 cat > conftest.$ac_ext <<EOF
7431 #line 7432 "configure"
7432 #include "confdefs.h"
7433 #include <math.h>
7434 int main() {
7435 powf(0, 0);
7436 ; return 0; }
7438 if { (eval echo configure:7439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7439 rm -rf conftest*
7440 glibcpp_cv_func_powf_use=yes
7441 else
7442 echo "configure: failed program was:" >&5
7443 cat conftest.$ac_ext >&5
7444 rm -rf conftest*
7445 glibcpp_cv_func_powf_use=no
7447 rm -f conftest*
7448 ac_ext=c
7449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7450 ac_cpp='$CPP $CPPFLAGS'
7451 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7452 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7453 cross_compiling=$ac_cv_prog_cc_cross
7458 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
7459 if test x$glibcpp_cv_func_powf_use = x"yes"; then
7460 for ac_func in powf
7462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7463 echo "configure:7464: checking for $ac_func" >&5
7464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7465 echo $ac_n "(cached) $ac_c" 1>&6
7466 else
7467 cat > conftest.$ac_ext <<EOF
7468 #line 7469 "configure"
7469 #include "confdefs.h"
7470 /* System header to define __stub macros and hopefully few prototypes,
7471 which can conflict with char $ac_func(); below. */
7472 #include <assert.h>
7473 /* Override any gcc2 internal prototype to avoid an error. */
7474 /* We use char because int might match the return type of a gcc2
7475 builtin and then its argument prototype would still apply. */
7476 char $ac_func();
7478 int main() {
7480 /* The GNU C library defines this for functions which it implements
7481 to always fail with ENOSYS. Some functions are actually named
7482 something starting with __ and the normal name is an alias. */
7483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7484 choke me
7485 #else
7486 $ac_func();
7487 #endif
7489 ; return 0; }
7491 if { (eval echo configure:7492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7492 rm -rf conftest*
7493 eval "ac_cv_func_$ac_func=yes"
7494 else
7495 echo "configure: failed program was:" >&5
7496 cat conftest.$ac_ext >&5
7497 rm -rf conftest*
7498 eval "ac_cv_func_$ac_func=no"
7500 rm -f conftest*
7503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7504 echo "$ac_t""yes" 1>&6
7505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7506 cat >> confdefs.h <<EOF
7507 #define $ac_tr_func 1
7510 else
7511 echo "$ac_t""no" 1>&6
7513 done
7518 echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6
7519 echo "configure:7520: checking for sinf declaration" >&5
7520 if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then
7521 echo $ac_n "(cached) $ac_c" 1>&6
7522 else
7525 ac_ext=C
7526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7527 ac_cpp='$CXXCPP $CPPFLAGS'
7528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7530 cross_compiling=$ac_cv_prog_cxx_cross
7532 cat > conftest.$ac_ext <<EOF
7533 #line 7534 "configure"
7534 #include "confdefs.h"
7535 #include <math.h>
7536 int main() {
7537 sinf(0);
7538 ; return 0; }
7540 if { (eval echo configure:7541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7541 rm -rf conftest*
7542 glibcpp_cv_func_sinf_use=yes
7543 else
7544 echo "configure: failed program was:" >&5
7545 cat conftest.$ac_ext >&5
7546 rm -rf conftest*
7547 glibcpp_cv_func_sinf_use=no
7549 rm -f conftest*
7550 ac_ext=c
7551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7552 ac_cpp='$CPP $CPPFLAGS'
7553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7555 cross_compiling=$ac_cv_prog_cc_cross
7560 echo "$ac_t""$glibcpp_cv_func_sinf_use" 1>&6
7561 if test x$glibcpp_cv_func_sinf_use = x"yes"; then
7562 for ac_func in sinf
7564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7565 echo "configure:7566: checking for $ac_func" >&5
7566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7567 echo $ac_n "(cached) $ac_c" 1>&6
7568 else
7569 cat > conftest.$ac_ext <<EOF
7570 #line 7571 "configure"
7571 #include "confdefs.h"
7572 /* System header to define __stub macros and hopefully few prototypes,
7573 which can conflict with char $ac_func(); below. */
7574 #include <assert.h>
7575 /* Override any gcc2 internal prototype to avoid an error. */
7576 /* We use char because int might match the return type of a gcc2
7577 builtin and then its argument prototype would still apply. */
7578 char $ac_func();
7580 int main() {
7582 /* The GNU C library defines this for functions which it implements
7583 to always fail with ENOSYS. Some functions are actually named
7584 something starting with __ and the normal name is an alias. */
7585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7586 choke me
7587 #else
7588 $ac_func();
7589 #endif
7591 ; return 0; }
7593 if { (eval echo configure:7594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7594 rm -rf conftest*
7595 eval "ac_cv_func_$ac_func=yes"
7596 else
7597 echo "configure: failed program was:" >&5
7598 cat conftest.$ac_ext >&5
7599 rm -rf conftest*
7600 eval "ac_cv_func_$ac_func=no"
7602 rm -f conftest*
7605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7606 echo "$ac_t""yes" 1>&6
7607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7608 cat >> confdefs.h <<EOF
7609 #define $ac_tr_func 1
7612 else
7613 echo "$ac_t""no" 1>&6
7615 done
7620 echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6
7621 echo "configure:7622: checking for sinhf declaration" >&5
7622 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then
7623 echo $ac_n "(cached) $ac_c" 1>&6
7624 else
7627 ac_ext=C
7628 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7629 ac_cpp='$CXXCPP $CPPFLAGS'
7630 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7631 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7632 cross_compiling=$ac_cv_prog_cxx_cross
7634 cat > conftest.$ac_ext <<EOF
7635 #line 7636 "configure"
7636 #include "confdefs.h"
7637 #include <math.h>
7638 int main() {
7639 sinhf(0);
7640 ; return 0; }
7642 if { (eval echo configure:7643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7643 rm -rf conftest*
7644 glibcpp_cv_func_sinhf_use=yes
7645 else
7646 echo "configure: failed program was:" >&5
7647 cat conftest.$ac_ext >&5
7648 rm -rf conftest*
7649 glibcpp_cv_func_sinhf_use=no
7651 rm -f conftest*
7652 ac_ext=c
7653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7654 ac_cpp='$CPP $CPPFLAGS'
7655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7657 cross_compiling=$ac_cv_prog_cc_cross
7662 echo "$ac_t""$glibcpp_cv_func_sinhf_use" 1>&6
7663 if test x$glibcpp_cv_func_sinhf_use = x"yes"; then
7664 for ac_func in sinhf
7666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7667 echo "configure:7668: checking for $ac_func" >&5
7668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7669 echo $ac_n "(cached) $ac_c" 1>&6
7670 else
7671 cat > conftest.$ac_ext <<EOF
7672 #line 7673 "configure"
7673 #include "confdefs.h"
7674 /* System header to define __stub macros and hopefully few prototypes,
7675 which can conflict with char $ac_func(); below. */
7676 #include <assert.h>
7677 /* Override any gcc2 internal prototype to avoid an error. */
7678 /* We use char because int might match the return type of a gcc2
7679 builtin and then its argument prototype would still apply. */
7680 char $ac_func();
7682 int main() {
7684 /* The GNU C library defines this for functions which it implements
7685 to always fail with ENOSYS. Some functions are actually named
7686 something starting with __ and the normal name is an alias. */
7687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7688 choke me
7689 #else
7690 $ac_func();
7691 #endif
7693 ; return 0; }
7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7696 rm -rf conftest*
7697 eval "ac_cv_func_$ac_func=yes"
7698 else
7699 echo "configure: failed program was:" >&5
7700 cat conftest.$ac_ext >&5
7701 rm -rf conftest*
7702 eval "ac_cv_func_$ac_func=no"
7704 rm -f conftest*
7707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7708 echo "$ac_t""yes" 1>&6
7709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7710 cat >> confdefs.h <<EOF
7711 #define $ac_tr_func 1
7714 else
7715 echo "$ac_t""no" 1>&6
7717 done
7722 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
7723 echo "configure:7724: checking for sqrtf declaration" >&5
7724 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
7725 echo $ac_n "(cached) $ac_c" 1>&6
7726 else
7729 ac_ext=C
7730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7731 ac_cpp='$CXXCPP $CPPFLAGS'
7732 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7733 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7734 cross_compiling=$ac_cv_prog_cxx_cross
7736 cat > conftest.$ac_ext <<EOF
7737 #line 7738 "configure"
7738 #include "confdefs.h"
7739 #include <math.h>
7740 int main() {
7741 sqrtf(0);
7742 ; return 0; }
7744 if { (eval echo configure:7745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7745 rm -rf conftest*
7746 glibcpp_cv_func_sqrtf_use=yes
7747 else
7748 echo "configure: failed program was:" >&5
7749 cat conftest.$ac_ext >&5
7750 rm -rf conftest*
7751 glibcpp_cv_func_sqrtf_use=no
7753 rm -f conftest*
7754 ac_ext=c
7755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7756 ac_cpp='$CPP $CPPFLAGS'
7757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7759 cross_compiling=$ac_cv_prog_cc_cross
7764 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
7765 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
7766 for ac_func in sqrtf
7768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7769 echo "configure:7770: checking for $ac_func" >&5
7770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7771 echo $ac_n "(cached) $ac_c" 1>&6
7772 else
7773 cat > conftest.$ac_ext <<EOF
7774 #line 7775 "configure"
7775 #include "confdefs.h"
7776 /* System header to define __stub macros and hopefully few prototypes,
7777 which can conflict with char $ac_func(); below. */
7778 #include <assert.h>
7779 /* Override any gcc2 internal prototype to avoid an error. */
7780 /* We use char because int might match the return type of a gcc2
7781 builtin and then its argument prototype would still apply. */
7782 char $ac_func();
7784 int main() {
7786 /* The GNU C library defines this for functions which it implements
7787 to always fail with ENOSYS. Some functions are actually named
7788 something starting with __ and the normal name is an alias. */
7789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7790 choke me
7791 #else
7792 $ac_func();
7793 #endif
7795 ; return 0; }
7797 if { (eval echo configure:7798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7798 rm -rf conftest*
7799 eval "ac_cv_func_$ac_func=yes"
7800 else
7801 echo "configure: failed program was:" >&5
7802 cat conftest.$ac_ext >&5
7803 rm -rf conftest*
7804 eval "ac_cv_func_$ac_func=no"
7806 rm -f conftest*
7809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7810 echo "$ac_t""yes" 1>&6
7811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7812 cat >> confdefs.h <<EOF
7813 #define $ac_tr_func 1
7816 else
7817 echo "$ac_t""no" 1>&6
7819 done
7824 echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6
7825 echo "configure:7826: checking for tanf declaration" >&5
7826 if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then
7827 echo $ac_n "(cached) $ac_c" 1>&6
7828 else
7831 ac_ext=C
7832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7833 ac_cpp='$CXXCPP $CPPFLAGS'
7834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7836 cross_compiling=$ac_cv_prog_cxx_cross
7838 cat > conftest.$ac_ext <<EOF
7839 #line 7840 "configure"
7840 #include "confdefs.h"
7841 #include <math.h>
7842 int main() {
7843 tanf(0);
7844 ; return 0; }
7846 if { (eval echo configure:7847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7847 rm -rf conftest*
7848 glibcpp_cv_func_tanf_use=yes
7849 else
7850 echo "configure: failed program was:" >&5
7851 cat conftest.$ac_ext >&5
7852 rm -rf conftest*
7853 glibcpp_cv_func_tanf_use=no
7855 rm -f conftest*
7856 ac_ext=c
7857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7858 ac_cpp='$CPP $CPPFLAGS'
7859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7861 cross_compiling=$ac_cv_prog_cc_cross
7866 echo "$ac_t""$glibcpp_cv_func_tanf_use" 1>&6
7867 if test x$glibcpp_cv_func_tanf_use = x"yes"; then
7868 for ac_func in tanf
7870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7871 echo "configure:7872: checking for $ac_func" >&5
7872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7873 echo $ac_n "(cached) $ac_c" 1>&6
7874 else
7875 cat > conftest.$ac_ext <<EOF
7876 #line 7877 "configure"
7877 #include "confdefs.h"
7878 /* System header to define __stub macros and hopefully few prototypes,
7879 which can conflict with char $ac_func(); below. */
7880 #include <assert.h>
7881 /* Override any gcc2 internal prototype to avoid an error. */
7882 /* We use char because int might match the return type of a gcc2
7883 builtin and then its argument prototype would still apply. */
7884 char $ac_func();
7886 int main() {
7888 /* The GNU C library defines this for functions which it implements
7889 to always fail with ENOSYS. Some functions are actually named
7890 something starting with __ and the normal name is an alias. */
7891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7892 choke me
7893 #else
7894 $ac_func();
7895 #endif
7897 ; return 0; }
7899 if { (eval echo configure:7900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7900 rm -rf conftest*
7901 eval "ac_cv_func_$ac_func=yes"
7902 else
7903 echo "configure: failed program was:" >&5
7904 cat conftest.$ac_ext >&5
7905 rm -rf conftest*
7906 eval "ac_cv_func_$ac_func=no"
7908 rm -f conftest*
7911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7912 echo "$ac_t""yes" 1>&6
7913 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7914 cat >> confdefs.h <<EOF
7915 #define $ac_tr_func 1
7918 else
7919 echo "$ac_t""no" 1>&6
7921 done
7926 echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6
7927 echo "configure:7928: checking for tanhf declaration" >&5
7928 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then
7929 echo $ac_n "(cached) $ac_c" 1>&6
7930 else
7933 ac_ext=C
7934 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7935 ac_cpp='$CXXCPP $CPPFLAGS'
7936 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7937 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7938 cross_compiling=$ac_cv_prog_cxx_cross
7940 cat > conftest.$ac_ext <<EOF
7941 #line 7942 "configure"
7942 #include "confdefs.h"
7943 #include <math.h>
7944 int main() {
7945 tanhf(0);
7946 ; return 0; }
7948 if { (eval echo configure:7949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7949 rm -rf conftest*
7950 glibcpp_cv_func_tanhf_use=yes
7951 else
7952 echo "configure: failed program was:" >&5
7953 cat conftest.$ac_ext >&5
7954 rm -rf conftest*
7955 glibcpp_cv_func_tanhf_use=no
7957 rm -f conftest*
7958 ac_ext=c
7959 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7960 ac_cpp='$CPP $CPPFLAGS'
7961 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7962 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7963 cross_compiling=$ac_cv_prog_cc_cross
7968 echo "$ac_t""$glibcpp_cv_func_tanhf_use" 1>&6
7969 if test x$glibcpp_cv_func_tanhf_use = x"yes"; then
7970 for ac_func in tanhf
7972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7973 echo "configure:7974: checking for $ac_func" >&5
7974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7975 echo $ac_n "(cached) $ac_c" 1>&6
7976 else
7977 cat > conftest.$ac_ext <<EOF
7978 #line 7979 "configure"
7979 #include "confdefs.h"
7980 /* System header to define __stub macros and hopefully few prototypes,
7981 which can conflict with char $ac_func(); below. */
7982 #include <assert.h>
7983 /* Override any gcc2 internal prototype to avoid an error. */
7984 /* We use char because int might match the return type of a gcc2
7985 builtin and then its argument prototype would still apply. */
7986 char $ac_func();
7988 int main() {
7990 /* The GNU C library defines this for functions which it implements
7991 to always fail with ENOSYS. Some functions are actually named
7992 something starting with __ and the normal name is an alias. */
7993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7994 choke me
7995 #else
7996 $ac_func();
7997 #endif
7999 ; return 0; }
8001 if { (eval echo configure:8002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8002 rm -rf conftest*
8003 eval "ac_cv_func_$ac_func=yes"
8004 else
8005 echo "configure: failed program was:" >&5
8006 cat conftest.$ac_ext >&5
8007 rm -rf conftest*
8008 eval "ac_cv_func_$ac_func=no"
8010 rm -f conftest*
8013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8014 echo "$ac_t""yes" 1>&6
8015 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8016 cat >> confdefs.h <<EOF
8017 #define $ac_tr_func 1
8020 else
8021 echo "$ac_t""no" 1>&6
8023 done
8028 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
8029 echo "configure:8030: checking for sincosf declaration" >&5
8030 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
8031 echo $ac_n "(cached) $ac_c" 1>&6
8032 else
8035 ac_ext=C
8036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8037 ac_cpp='$CXXCPP $CPPFLAGS'
8038 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8039 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8040 cross_compiling=$ac_cv_prog_cxx_cross
8042 cat > conftest.$ac_ext <<EOF
8043 #line 8044 "configure"
8044 #include "confdefs.h"
8045 #include <math.h>
8046 int main() {
8047 sincosf(0, 0, 0);
8048 ; return 0; }
8050 if { (eval echo configure:8051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8051 rm -rf conftest*
8052 glibcpp_cv_func_sincosf_use=yes
8053 else
8054 echo "configure: failed program was:" >&5
8055 cat conftest.$ac_ext >&5
8056 rm -rf conftest*
8057 glibcpp_cv_func_sincosf_use=no
8059 rm -f conftest*
8060 ac_ext=c
8061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8062 ac_cpp='$CPP $CPPFLAGS'
8063 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8064 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8065 cross_compiling=$ac_cv_prog_cc_cross
8070 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
8071 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
8072 for ac_func in sincosf
8074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8075 echo "configure:8076: checking for $ac_func" >&5
8076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8077 echo $ac_n "(cached) $ac_c" 1>&6
8078 else
8079 cat > conftest.$ac_ext <<EOF
8080 #line 8081 "configure"
8081 #include "confdefs.h"
8082 /* System header to define __stub macros and hopefully few prototypes,
8083 which can conflict with char $ac_func(); below. */
8084 #include <assert.h>
8085 /* Override any gcc2 internal prototype to avoid an error. */
8086 /* We use char because int might match the return type of a gcc2
8087 builtin and then its argument prototype would still apply. */
8088 char $ac_func();
8090 int main() {
8092 /* The GNU C library defines this for functions which it implements
8093 to always fail with ENOSYS. Some functions are actually named
8094 something starting with __ and the normal name is an alias. */
8095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8096 choke me
8097 #else
8098 $ac_func();
8099 #endif
8101 ; return 0; }
8103 if { (eval echo configure:8104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8104 rm -rf conftest*
8105 eval "ac_cv_func_$ac_func=yes"
8106 else
8107 echo "configure: failed program was:" >&5
8108 cat conftest.$ac_ext >&5
8109 rm -rf conftest*
8110 eval "ac_cv_func_$ac_func=no"
8112 rm -f conftest*
8115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8116 echo "$ac_t""yes" 1>&6
8117 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8118 cat >> confdefs.h <<EOF
8119 #define $ac_tr_func 1
8122 else
8123 echo "$ac_t""no" 1>&6
8125 done
8130 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
8131 echo "configure:8132: checking for finitef declaration" >&5
8132 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
8133 echo $ac_n "(cached) $ac_c" 1>&6
8134 else
8137 ac_ext=C
8138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8139 ac_cpp='$CXXCPP $CPPFLAGS'
8140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8142 cross_compiling=$ac_cv_prog_cxx_cross
8144 cat > conftest.$ac_ext <<EOF
8145 #line 8146 "configure"
8146 #include "confdefs.h"
8147 #include <math.h>
8148 int main() {
8149 finitef(0);
8150 ; return 0; }
8152 if { (eval echo configure:8153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8153 rm -rf conftest*
8154 glibcpp_cv_func_finitef_use=yes
8155 else
8156 echo "configure: failed program was:" >&5
8157 cat conftest.$ac_ext >&5
8158 rm -rf conftest*
8159 glibcpp_cv_func_finitef_use=no
8161 rm -f conftest*
8162 ac_ext=c
8163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8164 ac_cpp='$CPP $CPPFLAGS'
8165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8167 cross_compiling=$ac_cv_prog_cc_cross
8172 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
8173 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
8174 for ac_func in finitef
8176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8177 echo "configure:8178: checking for $ac_func" >&5
8178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8179 echo $ac_n "(cached) $ac_c" 1>&6
8180 else
8181 cat > conftest.$ac_ext <<EOF
8182 #line 8183 "configure"
8183 #include "confdefs.h"
8184 /* System header to define __stub macros and hopefully few prototypes,
8185 which can conflict with char $ac_func(); below. */
8186 #include <assert.h>
8187 /* Override any gcc2 internal prototype to avoid an error. */
8188 /* We use char because int might match the return type of a gcc2
8189 builtin and then its argument prototype would still apply. */
8190 char $ac_func();
8192 int main() {
8194 /* The GNU C library defines this for functions which it implements
8195 to always fail with ENOSYS. Some functions are actually named
8196 something starting with __ and the normal name is an alias. */
8197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8198 choke me
8199 #else
8200 $ac_func();
8201 #endif
8203 ; return 0; }
8205 if { (eval echo configure:8206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8206 rm -rf conftest*
8207 eval "ac_cv_func_$ac_func=yes"
8208 else
8209 echo "configure: failed program was:" >&5
8210 cat conftest.$ac_ext >&5
8211 rm -rf conftest*
8212 eval "ac_cv_func_$ac_func=no"
8214 rm -f conftest*
8217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8218 echo "$ac_t""yes" 1>&6
8219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8220 cat >> confdefs.h <<EOF
8221 #define $ac_tr_func 1
8224 else
8225 echo "$ac_t""no" 1>&6
8227 done
8233 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
8234 echo "configure:8235: checking for isnanl declaration" >&5
8235 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
8236 echo $ac_n "(cached) $ac_c" 1>&6
8237 else
8240 ac_ext=C
8241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8242 ac_cpp='$CXXCPP $CPPFLAGS'
8243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8245 cross_compiling=$ac_cv_prog_cxx_cross
8247 cat > conftest.$ac_ext <<EOF
8248 #line 8249 "configure"
8249 #include "confdefs.h"
8250 #include <math.h>
8251 int main() {
8252 isnanl(0);
8253 ; return 0; }
8255 if { (eval echo configure:8256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8256 rm -rf conftest*
8257 glibcpp_cv_func_isnanl_use=yes
8258 else
8259 echo "configure: failed program was:" >&5
8260 cat conftest.$ac_ext >&5
8261 rm -rf conftest*
8262 glibcpp_cv_func_isnanl_use=no
8264 rm -f conftest*
8265 ac_ext=c
8266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8267 ac_cpp='$CPP $CPPFLAGS'
8268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8270 cross_compiling=$ac_cv_prog_cc_cross
8275 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
8276 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
8277 for ac_func in isnanl
8279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8280 echo "configure:8281: checking for $ac_func" >&5
8281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8282 echo $ac_n "(cached) $ac_c" 1>&6
8283 else
8284 cat > conftest.$ac_ext <<EOF
8285 #line 8286 "configure"
8286 #include "confdefs.h"
8287 /* System header to define __stub macros and hopefully few prototypes,
8288 which can conflict with char $ac_func(); below. */
8289 #include <assert.h>
8290 /* Override any gcc2 internal prototype to avoid an error. */
8291 /* We use char because int might match the return type of a gcc2
8292 builtin and then its argument prototype would still apply. */
8293 char $ac_func();
8295 int main() {
8297 /* The GNU C library defines this for functions which it implements
8298 to always fail with ENOSYS. Some functions are actually named
8299 something starting with __ and the normal name is an alias. */
8300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8301 choke me
8302 #else
8303 $ac_func();
8304 #endif
8306 ; return 0; }
8308 if { (eval echo configure:8309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8309 rm -rf conftest*
8310 eval "ac_cv_func_$ac_func=yes"
8311 else
8312 echo "configure: failed program was:" >&5
8313 cat conftest.$ac_ext >&5
8314 rm -rf conftest*
8315 eval "ac_cv_func_$ac_func=no"
8317 rm -f conftest*
8320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8321 echo "$ac_t""yes" 1>&6
8322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8323 cat >> confdefs.h <<EOF
8324 #define $ac_tr_func 1
8327 else
8328 echo "$ac_t""no" 1>&6
8330 done
8335 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
8336 echo "configure:8337: checking for isinfl declaration" >&5
8337 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
8338 echo $ac_n "(cached) $ac_c" 1>&6
8339 else
8342 ac_ext=C
8343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8344 ac_cpp='$CXXCPP $CPPFLAGS'
8345 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8346 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8347 cross_compiling=$ac_cv_prog_cxx_cross
8349 cat > conftest.$ac_ext <<EOF
8350 #line 8351 "configure"
8351 #include "confdefs.h"
8352 #include <math.h>
8353 int main() {
8354 isinfl(0);
8355 ; return 0; }
8357 if { (eval echo configure:8358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8358 rm -rf conftest*
8359 glibcpp_cv_func_isinfl_use=yes
8360 else
8361 echo "configure: failed program was:" >&5
8362 cat conftest.$ac_ext >&5
8363 rm -rf conftest*
8364 glibcpp_cv_func_isinfl_use=no
8366 rm -f conftest*
8367 ac_ext=c
8368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8369 ac_cpp='$CPP $CPPFLAGS'
8370 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8371 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8372 cross_compiling=$ac_cv_prog_cc_cross
8377 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
8378 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
8379 for ac_func in isinfl
8381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8382 echo "configure:8383: checking for $ac_func" >&5
8383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8384 echo $ac_n "(cached) $ac_c" 1>&6
8385 else
8386 cat > conftest.$ac_ext <<EOF
8387 #line 8388 "configure"
8388 #include "confdefs.h"
8389 /* System header to define __stub macros and hopefully few prototypes,
8390 which can conflict with char $ac_func(); below. */
8391 #include <assert.h>
8392 /* Override any gcc2 internal prototype to avoid an error. */
8393 /* We use char because int might match the return type of a gcc2
8394 builtin and then its argument prototype would still apply. */
8395 char $ac_func();
8397 int main() {
8399 /* The GNU C library defines this for functions which it implements
8400 to always fail with ENOSYS. Some functions are actually named
8401 something starting with __ and the normal name is an alias. */
8402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8403 choke me
8404 #else
8405 $ac_func();
8406 #endif
8408 ; return 0; }
8410 if { (eval echo configure:8411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8411 rm -rf conftest*
8412 eval "ac_cv_func_$ac_func=yes"
8413 else
8414 echo "configure: failed program was:" >&5
8415 cat conftest.$ac_ext >&5
8416 rm -rf conftest*
8417 eval "ac_cv_func_$ac_func=no"
8419 rm -f conftest*
8422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8423 echo "$ac_t""yes" 1>&6
8424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8425 cat >> confdefs.h <<EOF
8426 #define $ac_tr_func 1
8429 else
8430 echo "$ac_t""no" 1>&6
8432 done
8437 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
8438 echo "configure:8439: checking for copysignl declaration" >&5
8439 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
8440 echo $ac_n "(cached) $ac_c" 1>&6
8441 else
8444 ac_ext=C
8445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8446 ac_cpp='$CXXCPP $CPPFLAGS'
8447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8449 cross_compiling=$ac_cv_prog_cxx_cross
8451 cat > conftest.$ac_ext <<EOF
8452 #line 8453 "configure"
8453 #include "confdefs.h"
8454 #include <math.h>
8455 int main() {
8456 copysignl(0, 0);
8457 ; return 0; }
8459 if { (eval echo configure:8460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8460 rm -rf conftest*
8461 glibcpp_cv_func_copysignl_use=yes
8462 else
8463 echo "configure: failed program was:" >&5
8464 cat conftest.$ac_ext >&5
8465 rm -rf conftest*
8466 glibcpp_cv_func_copysignl_use=no
8468 rm -f conftest*
8469 ac_ext=c
8470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8471 ac_cpp='$CPP $CPPFLAGS'
8472 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8473 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8474 cross_compiling=$ac_cv_prog_cc_cross
8479 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
8480 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
8481 for ac_func in copysignl
8483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8484 echo "configure:8485: checking for $ac_func" >&5
8485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8486 echo $ac_n "(cached) $ac_c" 1>&6
8487 else
8488 cat > conftest.$ac_ext <<EOF
8489 #line 8490 "configure"
8490 #include "confdefs.h"
8491 /* System header to define __stub macros and hopefully few prototypes,
8492 which can conflict with char $ac_func(); below. */
8493 #include <assert.h>
8494 /* Override any gcc2 internal prototype to avoid an error. */
8495 /* We use char because int might match the return type of a gcc2
8496 builtin and then its argument prototype would still apply. */
8497 char $ac_func();
8499 int main() {
8501 /* The GNU C library defines this for functions which it implements
8502 to always fail with ENOSYS. Some functions are actually named
8503 something starting with __ and the normal name is an alias. */
8504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8505 choke me
8506 #else
8507 $ac_func();
8508 #endif
8510 ; return 0; }
8512 if { (eval echo configure:8513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8513 rm -rf conftest*
8514 eval "ac_cv_func_$ac_func=yes"
8515 else
8516 echo "configure: failed program was:" >&5
8517 cat conftest.$ac_ext >&5
8518 rm -rf conftest*
8519 eval "ac_cv_func_$ac_func=no"
8521 rm -f conftest*
8524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8525 echo "$ac_t""yes" 1>&6
8526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8527 cat >> confdefs.h <<EOF
8528 #define $ac_tr_func 1
8531 else
8532 echo "$ac_t""no" 1>&6
8534 done
8539 echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6
8540 echo "configure:8541: checking for acosl declaration" >&5
8541 if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then
8542 echo $ac_n "(cached) $ac_c" 1>&6
8543 else
8546 ac_ext=C
8547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8548 ac_cpp='$CXXCPP $CPPFLAGS'
8549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8551 cross_compiling=$ac_cv_prog_cxx_cross
8553 cat > conftest.$ac_ext <<EOF
8554 #line 8555 "configure"
8555 #include "confdefs.h"
8556 #include <math.h>
8557 int main() {
8558 acosl(0);
8559 ; return 0; }
8561 if { (eval echo configure:8562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8562 rm -rf conftest*
8563 glibcpp_cv_func_acosl_use=yes
8564 else
8565 echo "configure: failed program was:" >&5
8566 cat conftest.$ac_ext >&5
8567 rm -rf conftest*
8568 glibcpp_cv_func_acosl_use=no
8570 rm -f conftest*
8571 ac_ext=c
8572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8573 ac_cpp='$CPP $CPPFLAGS'
8574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8576 cross_compiling=$ac_cv_prog_cc_cross
8581 echo "$ac_t""$glibcpp_cv_func_acosl_use" 1>&6
8582 if test x$glibcpp_cv_func_acosl_use = x"yes"; then
8583 for ac_func in acosl
8585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8586 echo "configure:8587: checking for $ac_func" >&5
8587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8588 echo $ac_n "(cached) $ac_c" 1>&6
8589 else
8590 cat > conftest.$ac_ext <<EOF
8591 #line 8592 "configure"
8592 #include "confdefs.h"
8593 /* System header to define __stub macros and hopefully few prototypes,
8594 which can conflict with char $ac_func(); below. */
8595 #include <assert.h>
8596 /* Override any gcc2 internal prototype to avoid an error. */
8597 /* We use char because int might match the return type of a gcc2
8598 builtin and then its argument prototype would still apply. */
8599 char $ac_func();
8601 int main() {
8603 /* The GNU C library defines this for functions which it implements
8604 to always fail with ENOSYS. Some functions are actually named
8605 something starting with __ and the normal name is an alias. */
8606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8607 choke me
8608 #else
8609 $ac_func();
8610 #endif
8612 ; return 0; }
8614 if { (eval echo configure:8615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8615 rm -rf conftest*
8616 eval "ac_cv_func_$ac_func=yes"
8617 else
8618 echo "configure: failed program was:" >&5
8619 cat conftest.$ac_ext >&5
8620 rm -rf conftest*
8621 eval "ac_cv_func_$ac_func=no"
8623 rm -f conftest*
8626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8627 echo "$ac_t""yes" 1>&6
8628 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8629 cat >> confdefs.h <<EOF
8630 #define $ac_tr_func 1
8633 else
8634 echo "$ac_t""no" 1>&6
8636 done
8641 echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6
8642 echo "configure:8643: checking for asinl declaration" >&5
8643 if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then
8644 echo $ac_n "(cached) $ac_c" 1>&6
8645 else
8648 ac_ext=C
8649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8650 ac_cpp='$CXXCPP $CPPFLAGS'
8651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8653 cross_compiling=$ac_cv_prog_cxx_cross
8655 cat > conftest.$ac_ext <<EOF
8656 #line 8657 "configure"
8657 #include "confdefs.h"
8658 #include <math.h>
8659 int main() {
8660 asinl(0);
8661 ; return 0; }
8663 if { (eval echo configure:8664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8664 rm -rf conftest*
8665 glibcpp_cv_func_asinl_use=yes
8666 else
8667 echo "configure: failed program was:" >&5
8668 cat conftest.$ac_ext >&5
8669 rm -rf conftest*
8670 glibcpp_cv_func_asinl_use=no
8672 rm -f conftest*
8673 ac_ext=c
8674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8675 ac_cpp='$CPP $CPPFLAGS'
8676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8678 cross_compiling=$ac_cv_prog_cc_cross
8683 echo "$ac_t""$glibcpp_cv_func_asinl_use" 1>&6
8684 if test x$glibcpp_cv_func_asinl_use = x"yes"; then
8685 for ac_func in asinl
8687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8688 echo "configure:8689: checking for $ac_func" >&5
8689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8690 echo $ac_n "(cached) $ac_c" 1>&6
8691 else
8692 cat > conftest.$ac_ext <<EOF
8693 #line 8694 "configure"
8694 #include "confdefs.h"
8695 /* System header to define __stub macros and hopefully few prototypes,
8696 which can conflict with char $ac_func(); below. */
8697 #include <assert.h>
8698 /* Override any gcc2 internal prototype to avoid an error. */
8699 /* We use char because int might match the return type of a gcc2
8700 builtin and then its argument prototype would still apply. */
8701 char $ac_func();
8703 int main() {
8705 /* The GNU C library defines this for functions which it implements
8706 to always fail with ENOSYS. Some functions are actually named
8707 something starting with __ and the normal name is an alias. */
8708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8709 choke me
8710 #else
8711 $ac_func();
8712 #endif
8714 ; return 0; }
8716 if { (eval echo configure:8717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8717 rm -rf conftest*
8718 eval "ac_cv_func_$ac_func=yes"
8719 else
8720 echo "configure: failed program was:" >&5
8721 cat conftest.$ac_ext >&5
8722 rm -rf conftest*
8723 eval "ac_cv_func_$ac_func=no"
8725 rm -f conftest*
8728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8729 echo "$ac_t""yes" 1>&6
8730 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8731 cat >> confdefs.h <<EOF
8732 #define $ac_tr_func 1
8735 else
8736 echo "$ac_t""no" 1>&6
8738 done
8743 echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6
8744 echo "configure:8745: checking for atanl declaration" >&5
8745 if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then
8746 echo $ac_n "(cached) $ac_c" 1>&6
8747 else
8750 ac_ext=C
8751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8752 ac_cpp='$CXXCPP $CPPFLAGS'
8753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8755 cross_compiling=$ac_cv_prog_cxx_cross
8757 cat > conftest.$ac_ext <<EOF
8758 #line 8759 "configure"
8759 #include "confdefs.h"
8760 #include <math.h>
8761 int main() {
8762 atanl(0);
8763 ; return 0; }
8765 if { (eval echo configure:8766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8766 rm -rf conftest*
8767 glibcpp_cv_func_atanl_use=yes
8768 else
8769 echo "configure: failed program was:" >&5
8770 cat conftest.$ac_ext >&5
8771 rm -rf conftest*
8772 glibcpp_cv_func_atanl_use=no
8774 rm -f conftest*
8775 ac_ext=c
8776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8777 ac_cpp='$CPP $CPPFLAGS'
8778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8780 cross_compiling=$ac_cv_prog_cc_cross
8785 echo "$ac_t""$glibcpp_cv_func_atanl_use" 1>&6
8786 if test x$glibcpp_cv_func_atanl_use = x"yes"; then
8787 for ac_func in atanl
8789 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8790 echo "configure:8791: checking for $ac_func" >&5
8791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8792 echo $ac_n "(cached) $ac_c" 1>&6
8793 else
8794 cat > conftest.$ac_ext <<EOF
8795 #line 8796 "configure"
8796 #include "confdefs.h"
8797 /* System header to define __stub macros and hopefully few prototypes,
8798 which can conflict with char $ac_func(); below. */
8799 #include <assert.h>
8800 /* Override any gcc2 internal prototype to avoid an error. */
8801 /* We use char because int might match the return type of a gcc2
8802 builtin and then its argument prototype would still apply. */
8803 char $ac_func();
8805 int main() {
8807 /* The GNU C library defines this for functions which it implements
8808 to always fail with ENOSYS. Some functions are actually named
8809 something starting with __ and the normal name is an alias. */
8810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8811 choke me
8812 #else
8813 $ac_func();
8814 #endif
8816 ; return 0; }
8818 if { (eval echo configure:8819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8819 rm -rf conftest*
8820 eval "ac_cv_func_$ac_func=yes"
8821 else
8822 echo "configure: failed program was:" >&5
8823 cat conftest.$ac_ext >&5
8824 rm -rf conftest*
8825 eval "ac_cv_func_$ac_func=no"
8827 rm -f conftest*
8830 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8831 echo "$ac_t""yes" 1>&6
8832 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8833 cat >> confdefs.h <<EOF
8834 #define $ac_tr_func 1
8837 else
8838 echo "$ac_t""no" 1>&6
8840 done
8845 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
8846 echo "configure:8847: checking for atan2l declaration" >&5
8847 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
8848 echo $ac_n "(cached) $ac_c" 1>&6
8849 else
8852 ac_ext=C
8853 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8854 ac_cpp='$CXXCPP $CPPFLAGS'
8855 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8856 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8857 cross_compiling=$ac_cv_prog_cxx_cross
8859 cat > conftest.$ac_ext <<EOF
8860 #line 8861 "configure"
8861 #include "confdefs.h"
8862 #include <math.h>
8863 int main() {
8864 atan2l(0, 0);
8865 ; return 0; }
8867 if { (eval echo configure:8868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8868 rm -rf conftest*
8869 glibcpp_cv_func_atan2l_use=yes
8870 else
8871 echo "configure: failed program was:" >&5
8872 cat conftest.$ac_ext >&5
8873 rm -rf conftest*
8874 glibcpp_cv_func_atan2l_use=no
8876 rm -f conftest*
8877 ac_ext=c
8878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8879 ac_cpp='$CPP $CPPFLAGS'
8880 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8881 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8882 cross_compiling=$ac_cv_prog_cc_cross
8887 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
8888 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
8889 for ac_func in atan2l
8891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8892 echo "configure:8893: checking for $ac_func" >&5
8893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8894 echo $ac_n "(cached) $ac_c" 1>&6
8895 else
8896 cat > conftest.$ac_ext <<EOF
8897 #line 8898 "configure"
8898 #include "confdefs.h"
8899 /* System header to define __stub macros and hopefully few prototypes,
8900 which can conflict with char $ac_func(); below. */
8901 #include <assert.h>
8902 /* Override any gcc2 internal prototype to avoid an error. */
8903 /* We use char because int might match the return type of a gcc2
8904 builtin and then its argument prototype would still apply. */
8905 char $ac_func();
8907 int main() {
8909 /* The GNU C library defines this for functions which it implements
8910 to always fail with ENOSYS. Some functions are actually named
8911 something starting with __ and the normal name is an alias. */
8912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8913 choke me
8914 #else
8915 $ac_func();
8916 #endif
8918 ; return 0; }
8920 if { (eval echo configure:8921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8921 rm -rf conftest*
8922 eval "ac_cv_func_$ac_func=yes"
8923 else
8924 echo "configure: failed program was:" >&5
8925 cat conftest.$ac_ext >&5
8926 rm -rf conftest*
8927 eval "ac_cv_func_$ac_func=no"
8929 rm -f conftest*
8932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8933 echo "$ac_t""yes" 1>&6
8934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8935 cat >> confdefs.h <<EOF
8936 #define $ac_tr_func 1
8939 else
8940 echo "$ac_t""no" 1>&6
8942 done
8947 echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6
8948 echo "configure:8949: checking for ceill declaration" >&5
8949 if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then
8950 echo $ac_n "(cached) $ac_c" 1>&6
8951 else
8954 ac_ext=C
8955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8956 ac_cpp='$CXXCPP $CPPFLAGS'
8957 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8958 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8959 cross_compiling=$ac_cv_prog_cxx_cross
8961 cat > conftest.$ac_ext <<EOF
8962 #line 8963 "configure"
8963 #include "confdefs.h"
8964 #include <math.h>
8965 int main() {
8966 ceill(0);
8967 ; return 0; }
8969 if { (eval echo configure:8970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8970 rm -rf conftest*
8971 glibcpp_cv_func_ceill_use=yes
8972 else
8973 echo "configure: failed program was:" >&5
8974 cat conftest.$ac_ext >&5
8975 rm -rf conftest*
8976 glibcpp_cv_func_ceill_use=no
8978 rm -f conftest*
8979 ac_ext=c
8980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8981 ac_cpp='$CPP $CPPFLAGS'
8982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8984 cross_compiling=$ac_cv_prog_cc_cross
8989 echo "$ac_t""$glibcpp_cv_func_ceill_use" 1>&6
8990 if test x$glibcpp_cv_func_ceill_use = x"yes"; then
8991 for ac_func in ceill
8993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8994 echo "configure:8995: checking for $ac_func" >&5
8995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8996 echo $ac_n "(cached) $ac_c" 1>&6
8997 else
8998 cat > conftest.$ac_ext <<EOF
8999 #line 9000 "configure"
9000 #include "confdefs.h"
9001 /* System header to define __stub macros and hopefully few prototypes,
9002 which can conflict with char $ac_func(); below. */
9003 #include <assert.h>
9004 /* Override any gcc2 internal prototype to avoid an error. */
9005 /* We use char because int might match the return type of a gcc2
9006 builtin and then its argument prototype would still apply. */
9007 char $ac_func();
9009 int main() {
9011 /* The GNU C library defines this for functions which it implements
9012 to always fail with ENOSYS. Some functions are actually named
9013 something starting with __ and the normal name is an alias. */
9014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9015 choke me
9016 #else
9017 $ac_func();
9018 #endif
9020 ; return 0; }
9022 if { (eval echo configure:9023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9023 rm -rf conftest*
9024 eval "ac_cv_func_$ac_func=yes"
9025 else
9026 echo "configure: failed program was:" >&5
9027 cat conftest.$ac_ext >&5
9028 rm -rf conftest*
9029 eval "ac_cv_func_$ac_func=no"
9031 rm -f conftest*
9034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9035 echo "$ac_t""yes" 1>&6
9036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9037 cat >> confdefs.h <<EOF
9038 #define $ac_tr_func 1
9041 else
9042 echo "$ac_t""no" 1>&6
9044 done
9049 echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6
9050 echo "configure:9051: checking for cosl declaration" >&5
9051 if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then
9052 echo $ac_n "(cached) $ac_c" 1>&6
9053 else
9056 ac_ext=C
9057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9058 ac_cpp='$CXXCPP $CPPFLAGS'
9059 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9060 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9061 cross_compiling=$ac_cv_prog_cxx_cross
9063 cat > conftest.$ac_ext <<EOF
9064 #line 9065 "configure"
9065 #include "confdefs.h"
9066 #include <math.h>
9067 int main() {
9068 cosl(0);
9069 ; return 0; }
9071 if { (eval echo configure:9072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9072 rm -rf conftest*
9073 glibcpp_cv_func_cosl_use=yes
9074 else
9075 echo "configure: failed program was:" >&5
9076 cat conftest.$ac_ext >&5
9077 rm -rf conftest*
9078 glibcpp_cv_func_cosl_use=no
9080 rm -f conftest*
9081 ac_ext=c
9082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9083 ac_cpp='$CPP $CPPFLAGS'
9084 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9085 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9086 cross_compiling=$ac_cv_prog_cc_cross
9091 echo "$ac_t""$glibcpp_cv_func_cosl_use" 1>&6
9092 if test x$glibcpp_cv_func_cosl_use = x"yes"; then
9093 for ac_func in cosl
9095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9096 echo "configure:9097: checking for $ac_func" >&5
9097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9098 echo $ac_n "(cached) $ac_c" 1>&6
9099 else
9100 cat > conftest.$ac_ext <<EOF
9101 #line 9102 "configure"
9102 #include "confdefs.h"
9103 /* System header to define __stub macros and hopefully few prototypes,
9104 which can conflict with char $ac_func(); below. */
9105 #include <assert.h>
9106 /* Override any gcc2 internal prototype to avoid an error. */
9107 /* We use char because int might match the return type of a gcc2
9108 builtin and then its argument prototype would still apply. */
9109 char $ac_func();
9111 int main() {
9113 /* The GNU C library defines this for functions which it implements
9114 to always fail with ENOSYS. Some functions are actually named
9115 something starting with __ and the normal name is an alias. */
9116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9117 choke me
9118 #else
9119 $ac_func();
9120 #endif
9122 ; return 0; }
9124 if { (eval echo configure:9125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9125 rm -rf conftest*
9126 eval "ac_cv_func_$ac_func=yes"
9127 else
9128 echo "configure: failed program was:" >&5
9129 cat conftest.$ac_ext >&5
9130 rm -rf conftest*
9131 eval "ac_cv_func_$ac_func=no"
9133 rm -f conftest*
9136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9137 echo "$ac_t""yes" 1>&6
9138 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9139 cat >> confdefs.h <<EOF
9140 #define $ac_tr_func 1
9143 else
9144 echo "$ac_t""no" 1>&6
9146 done
9151 echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6
9152 echo "configure:9153: checking for coshl declaration" >&5
9153 if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then
9154 echo $ac_n "(cached) $ac_c" 1>&6
9155 else
9158 ac_ext=C
9159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9160 ac_cpp='$CXXCPP $CPPFLAGS'
9161 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9162 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9163 cross_compiling=$ac_cv_prog_cxx_cross
9165 cat > conftest.$ac_ext <<EOF
9166 #line 9167 "configure"
9167 #include "confdefs.h"
9168 #include <math.h>
9169 int main() {
9170 coshl(0);
9171 ; return 0; }
9173 if { (eval echo configure:9174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9174 rm -rf conftest*
9175 glibcpp_cv_func_coshl_use=yes
9176 else
9177 echo "configure: failed program was:" >&5
9178 cat conftest.$ac_ext >&5
9179 rm -rf conftest*
9180 glibcpp_cv_func_coshl_use=no
9182 rm -f conftest*
9183 ac_ext=c
9184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9185 ac_cpp='$CPP $CPPFLAGS'
9186 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9187 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9188 cross_compiling=$ac_cv_prog_cc_cross
9193 echo "$ac_t""$glibcpp_cv_func_coshl_use" 1>&6
9194 if test x$glibcpp_cv_func_coshl_use = x"yes"; then
9195 for ac_func in coshl
9197 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9198 echo "configure:9199: checking for $ac_func" >&5
9199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9200 echo $ac_n "(cached) $ac_c" 1>&6
9201 else
9202 cat > conftest.$ac_ext <<EOF
9203 #line 9204 "configure"
9204 #include "confdefs.h"
9205 /* System header to define __stub macros and hopefully few prototypes,
9206 which can conflict with char $ac_func(); below. */
9207 #include <assert.h>
9208 /* Override any gcc2 internal prototype to avoid an error. */
9209 /* We use char because int might match the return type of a gcc2
9210 builtin and then its argument prototype would still apply. */
9211 char $ac_func();
9213 int main() {
9215 /* The GNU C library defines this for functions which it implements
9216 to always fail with ENOSYS. Some functions are actually named
9217 something starting with __ and the normal name is an alias. */
9218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9219 choke me
9220 #else
9221 $ac_func();
9222 #endif
9224 ; return 0; }
9226 if { (eval echo configure:9227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9227 rm -rf conftest*
9228 eval "ac_cv_func_$ac_func=yes"
9229 else
9230 echo "configure: failed program was:" >&5
9231 cat conftest.$ac_ext >&5
9232 rm -rf conftest*
9233 eval "ac_cv_func_$ac_func=no"
9235 rm -f conftest*
9238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9239 echo "$ac_t""yes" 1>&6
9240 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9241 cat >> confdefs.h <<EOF
9242 #define $ac_tr_func 1
9245 else
9246 echo "$ac_t""no" 1>&6
9248 done
9253 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
9254 echo "configure:9255: checking for expl declaration" >&5
9255 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
9256 echo $ac_n "(cached) $ac_c" 1>&6
9257 else
9260 ac_ext=C
9261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9262 ac_cpp='$CXXCPP $CPPFLAGS'
9263 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9264 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9265 cross_compiling=$ac_cv_prog_cxx_cross
9267 cat > conftest.$ac_ext <<EOF
9268 #line 9269 "configure"
9269 #include "confdefs.h"
9270 #include <math.h>
9271 int main() {
9272 expl(0);
9273 ; return 0; }
9275 if { (eval echo configure:9276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9276 rm -rf conftest*
9277 glibcpp_cv_func_expl_use=yes
9278 else
9279 echo "configure: failed program was:" >&5
9280 cat conftest.$ac_ext >&5
9281 rm -rf conftest*
9282 glibcpp_cv_func_expl_use=no
9284 rm -f conftest*
9285 ac_ext=c
9286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9287 ac_cpp='$CPP $CPPFLAGS'
9288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9290 cross_compiling=$ac_cv_prog_cc_cross
9295 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
9296 if test x$glibcpp_cv_func_expl_use = x"yes"; then
9297 for ac_func in expl
9299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9300 echo "configure:9301: checking for $ac_func" >&5
9301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9302 echo $ac_n "(cached) $ac_c" 1>&6
9303 else
9304 cat > conftest.$ac_ext <<EOF
9305 #line 9306 "configure"
9306 #include "confdefs.h"
9307 /* System header to define __stub macros and hopefully few prototypes,
9308 which can conflict with char $ac_func(); below. */
9309 #include <assert.h>
9310 /* Override any gcc2 internal prototype to avoid an error. */
9311 /* We use char because int might match the return type of a gcc2
9312 builtin and then its argument prototype would still apply. */
9313 char $ac_func();
9315 int main() {
9317 /* The GNU C library defines this for functions which it implements
9318 to always fail with ENOSYS. Some functions are actually named
9319 something starting with __ and the normal name is an alias. */
9320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9321 choke me
9322 #else
9323 $ac_func();
9324 #endif
9326 ; return 0; }
9328 if { (eval echo configure:9329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9329 rm -rf conftest*
9330 eval "ac_cv_func_$ac_func=yes"
9331 else
9332 echo "configure: failed program was:" >&5
9333 cat conftest.$ac_ext >&5
9334 rm -rf conftest*
9335 eval "ac_cv_func_$ac_func=no"
9337 rm -f conftest*
9340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9341 echo "$ac_t""yes" 1>&6
9342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9343 cat >> confdefs.h <<EOF
9344 #define $ac_tr_func 1
9347 else
9348 echo "$ac_t""no" 1>&6
9350 done
9355 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
9356 echo "configure:9357: checking for fabsl declaration" >&5
9357 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
9358 echo $ac_n "(cached) $ac_c" 1>&6
9359 else
9362 ac_ext=C
9363 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9364 ac_cpp='$CXXCPP $CPPFLAGS'
9365 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9366 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9367 cross_compiling=$ac_cv_prog_cxx_cross
9369 cat > conftest.$ac_ext <<EOF
9370 #line 9371 "configure"
9371 #include "confdefs.h"
9372 #include <math.h>
9373 int main() {
9374 fabsl(0);
9375 ; return 0; }
9377 if { (eval echo configure:9378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9378 rm -rf conftest*
9379 glibcpp_cv_func_fabsl_use=yes
9380 else
9381 echo "configure: failed program was:" >&5
9382 cat conftest.$ac_ext >&5
9383 rm -rf conftest*
9384 glibcpp_cv_func_fabsl_use=no
9386 rm -f conftest*
9387 ac_ext=c
9388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9389 ac_cpp='$CPP $CPPFLAGS'
9390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9392 cross_compiling=$ac_cv_prog_cc_cross
9397 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
9398 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
9399 for ac_func in fabsl
9401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9402 echo "configure:9403: checking for $ac_func" >&5
9403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9404 echo $ac_n "(cached) $ac_c" 1>&6
9405 else
9406 cat > conftest.$ac_ext <<EOF
9407 #line 9408 "configure"
9408 #include "confdefs.h"
9409 /* System header to define __stub macros and hopefully few prototypes,
9410 which can conflict with char $ac_func(); below. */
9411 #include <assert.h>
9412 /* Override any gcc2 internal prototype to avoid an error. */
9413 /* We use char because int might match the return type of a gcc2
9414 builtin and then its argument prototype would still apply. */
9415 char $ac_func();
9417 int main() {
9419 /* The GNU C library defines this for functions which it implements
9420 to always fail with ENOSYS. Some functions are actually named
9421 something starting with __ and the normal name is an alias. */
9422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9423 choke me
9424 #else
9425 $ac_func();
9426 #endif
9428 ; return 0; }
9430 if { (eval echo configure:9431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9431 rm -rf conftest*
9432 eval "ac_cv_func_$ac_func=yes"
9433 else
9434 echo "configure: failed program was:" >&5
9435 cat conftest.$ac_ext >&5
9436 rm -rf conftest*
9437 eval "ac_cv_func_$ac_func=no"
9439 rm -f conftest*
9442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9443 echo "$ac_t""yes" 1>&6
9444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9445 cat >> confdefs.h <<EOF
9446 #define $ac_tr_func 1
9449 else
9450 echo "$ac_t""no" 1>&6
9452 done
9457 echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6
9458 echo "configure:9459: checking for floorl declaration" >&5
9459 if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then
9460 echo $ac_n "(cached) $ac_c" 1>&6
9461 else
9464 ac_ext=C
9465 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9466 ac_cpp='$CXXCPP $CPPFLAGS'
9467 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9468 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9469 cross_compiling=$ac_cv_prog_cxx_cross
9471 cat > conftest.$ac_ext <<EOF
9472 #line 9473 "configure"
9473 #include "confdefs.h"
9474 #include <math.h>
9475 int main() {
9476 floorl(0);
9477 ; return 0; }
9479 if { (eval echo configure:9480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9480 rm -rf conftest*
9481 glibcpp_cv_func_floorl_use=yes
9482 else
9483 echo "configure: failed program was:" >&5
9484 cat conftest.$ac_ext >&5
9485 rm -rf conftest*
9486 glibcpp_cv_func_floorl_use=no
9488 rm -f conftest*
9489 ac_ext=c
9490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9491 ac_cpp='$CPP $CPPFLAGS'
9492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9494 cross_compiling=$ac_cv_prog_cc_cross
9499 echo "$ac_t""$glibcpp_cv_func_floorl_use" 1>&6
9500 if test x$glibcpp_cv_func_floorl_use = x"yes"; then
9501 for ac_func in floorl
9503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9504 echo "configure:9505: checking for $ac_func" >&5
9505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9506 echo $ac_n "(cached) $ac_c" 1>&6
9507 else
9508 cat > conftest.$ac_ext <<EOF
9509 #line 9510 "configure"
9510 #include "confdefs.h"
9511 /* System header to define __stub macros and hopefully few prototypes,
9512 which can conflict with char $ac_func(); below. */
9513 #include <assert.h>
9514 /* Override any gcc2 internal prototype to avoid an error. */
9515 /* We use char because int might match the return type of a gcc2
9516 builtin and then its argument prototype would still apply. */
9517 char $ac_func();
9519 int main() {
9521 /* The GNU C library defines this for functions which it implements
9522 to always fail with ENOSYS. Some functions are actually named
9523 something starting with __ and the normal name is an alias. */
9524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9525 choke me
9526 #else
9527 $ac_func();
9528 #endif
9530 ; return 0; }
9532 if { (eval echo configure:9533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9533 rm -rf conftest*
9534 eval "ac_cv_func_$ac_func=yes"
9535 else
9536 echo "configure: failed program was:" >&5
9537 cat conftest.$ac_ext >&5
9538 rm -rf conftest*
9539 eval "ac_cv_func_$ac_func=no"
9541 rm -f conftest*
9544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9545 echo "$ac_t""yes" 1>&6
9546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9547 cat >> confdefs.h <<EOF
9548 #define $ac_tr_func 1
9551 else
9552 echo "$ac_t""no" 1>&6
9554 done
9559 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
9560 echo "configure:9561: checking for fmodl declaration" >&5
9561 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
9562 echo $ac_n "(cached) $ac_c" 1>&6
9563 else
9566 ac_ext=C
9567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9568 ac_cpp='$CXXCPP $CPPFLAGS'
9569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9571 cross_compiling=$ac_cv_prog_cxx_cross
9573 cat > conftest.$ac_ext <<EOF
9574 #line 9575 "configure"
9575 #include "confdefs.h"
9576 #include <math.h>
9577 int main() {
9578 fmodl(0, 0);
9579 ; return 0; }
9581 if { (eval echo configure:9582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9582 rm -rf conftest*
9583 glibcpp_cv_func_fmodl_use=yes
9584 else
9585 echo "configure: failed program was:" >&5
9586 cat conftest.$ac_ext >&5
9587 rm -rf conftest*
9588 glibcpp_cv_func_fmodl_use=no
9590 rm -f conftest*
9591 ac_ext=c
9592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9593 ac_cpp='$CPP $CPPFLAGS'
9594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9596 cross_compiling=$ac_cv_prog_cc_cross
9601 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
9602 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
9603 for ac_func in fmodl
9605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9606 echo "configure:9607: checking for $ac_func" >&5
9607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9608 echo $ac_n "(cached) $ac_c" 1>&6
9609 else
9610 cat > conftest.$ac_ext <<EOF
9611 #line 9612 "configure"
9612 #include "confdefs.h"
9613 /* System header to define __stub macros and hopefully few prototypes,
9614 which can conflict with char $ac_func(); below. */
9615 #include <assert.h>
9616 /* Override any gcc2 internal prototype to avoid an error. */
9617 /* We use char because int might match the return type of a gcc2
9618 builtin and then its argument prototype would still apply. */
9619 char $ac_func();
9621 int main() {
9623 /* The GNU C library defines this for functions which it implements
9624 to always fail with ENOSYS. Some functions are actually named
9625 something starting with __ and the normal name is an alias. */
9626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9627 choke me
9628 #else
9629 $ac_func();
9630 #endif
9632 ; return 0; }
9634 if { (eval echo configure:9635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9635 rm -rf conftest*
9636 eval "ac_cv_func_$ac_func=yes"
9637 else
9638 echo "configure: failed program was:" >&5
9639 cat conftest.$ac_ext >&5
9640 rm -rf conftest*
9641 eval "ac_cv_func_$ac_func=no"
9643 rm -f conftest*
9646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9647 echo "$ac_t""yes" 1>&6
9648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9649 cat >> confdefs.h <<EOF
9650 #define $ac_tr_func 1
9653 else
9654 echo "$ac_t""no" 1>&6
9656 done
9661 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
9662 echo "configure:9663: checking for frexpl declaration" >&5
9663 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
9664 echo $ac_n "(cached) $ac_c" 1>&6
9665 else
9668 ac_ext=C
9669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9670 ac_cpp='$CXXCPP $CPPFLAGS'
9671 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9672 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9673 cross_compiling=$ac_cv_prog_cxx_cross
9675 cat > conftest.$ac_ext <<EOF
9676 #line 9677 "configure"
9677 #include "confdefs.h"
9678 #include <math.h>
9679 int main() {
9680 frexpl(0, 0);
9681 ; return 0; }
9683 if { (eval echo configure:9684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9684 rm -rf conftest*
9685 glibcpp_cv_func_frexpl_use=yes
9686 else
9687 echo "configure: failed program was:" >&5
9688 cat conftest.$ac_ext >&5
9689 rm -rf conftest*
9690 glibcpp_cv_func_frexpl_use=no
9692 rm -f conftest*
9693 ac_ext=c
9694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9695 ac_cpp='$CPP $CPPFLAGS'
9696 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9697 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9698 cross_compiling=$ac_cv_prog_cc_cross
9703 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
9704 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
9705 for ac_func in frexpl
9707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9708 echo "configure:9709: checking for $ac_func" >&5
9709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9710 echo $ac_n "(cached) $ac_c" 1>&6
9711 else
9712 cat > conftest.$ac_ext <<EOF
9713 #line 9714 "configure"
9714 #include "confdefs.h"
9715 /* System header to define __stub macros and hopefully few prototypes,
9716 which can conflict with char $ac_func(); below. */
9717 #include <assert.h>
9718 /* Override any gcc2 internal prototype to avoid an error. */
9719 /* We use char because int might match the return type of a gcc2
9720 builtin and then its argument prototype would still apply. */
9721 char $ac_func();
9723 int main() {
9725 /* The GNU C library defines this for functions which it implements
9726 to always fail with ENOSYS. Some functions are actually named
9727 something starting with __ and the normal name is an alias. */
9728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9729 choke me
9730 #else
9731 $ac_func();
9732 #endif
9734 ; return 0; }
9736 if { (eval echo configure:9737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9737 rm -rf conftest*
9738 eval "ac_cv_func_$ac_func=yes"
9739 else
9740 echo "configure: failed program was:" >&5
9741 cat conftest.$ac_ext >&5
9742 rm -rf conftest*
9743 eval "ac_cv_func_$ac_func=no"
9745 rm -f conftest*
9748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9749 echo "$ac_t""yes" 1>&6
9750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9751 cat >> confdefs.h <<EOF
9752 #define $ac_tr_func 1
9755 else
9756 echo "$ac_t""no" 1>&6
9758 done
9763 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
9764 echo "configure:9765: checking for ldexpl declaration" >&5
9765 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
9766 echo $ac_n "(cached) $ac_c" 1>&6
9767 else
9770 ac_ext=C
9771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9772 ac_cpp='$CXXCPP $CPPFLAGS'
9773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9775 cross_compiling=$ac_cv_prog_cxx_cross
9777 cat > conftest.$ac_ext <<EOF
9778 #line 9779 "configure"
9779 #include "confdefs.h"
9780 #include <math.h>
9781 int main() {
9782 ldexpl(0, 0);
9783 ; return 0; }
9785 if { (eval echo configure:9786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9786 rm -rf conftest*
9787 glibcpp_cv_func_ldexpl_use=yes
9788 else
9789 echo "configure: failed program was:" >&5
9790 cat conftest.$ac_ext >&5
9791 rm -rf conftest*
9792 glibcpp_cv_func_ldexpl_use=no
9794 rm -f conftest*
9795 ac_ext=c
9796 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9797 ac_cpp='$CPP $CPPFLAGS'
9798 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9799 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9800 cross_compiling=$ac_cv_prog_cc_cross
9805 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
9806 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
9807 for ac_func in ldexpl
9809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9810 echo "configure:9811: checking for $ac_func" >&5
9811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9812 echo $ac_n "(cached) $ac_c" 1>&6
9813 else
9814 cat > conftest.$ac_ext <<EOF
9815 #line 9816 "configure"
9816 #include "confdefs.h"
9817 /* System header to define __stub macros and hopefully few prototypes,
9818 which can conflict with char $ac_func(); below. */
9819 #include <assert.h>
9820 /* Override any gcc2 internal prototype to avoid an error. */
9821 /* We use char because int might match the return type of a gcc2
9822 builtin and then its argument prototype would still apply. */
9823 char $ac_func();
9825 int main() {
9827 /* The GNU C library defines this for functions which it implements
9828 to always fail with ENOSYS. Some functions are actually named
9829 something starting with __ and the normal name is an alias. */
9830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9831 choke me
9832 #else
9833 $ac_func();
9834 #endif
9836 ; return 0; }
9838 if { (eval echo configure:9839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9839 rm -rf conftest*
9840 eval "ac_cv_func_$ac_func=yes"
9841 else
9842 echo "configure: failed program was:" >&5
9843 cat conftest.$ac_ext >&5
9844 rm -rf conftest*
9845 eval "ac_cv_func_$ac_func=no"
9847 rm -f conftest*
9850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9851 echo "$ac_t""yes" 1>&6
9852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9853 cat >> confdefs.h <<EOF
9854 #define $ac_tr_func 1
9857 else
9858 echo "$ac_t""no" 1>&6
9860 done
9865 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
9866 echo "configure:9867: checking for logl declaration" >&5
9867 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
9868 echo $ac_n "(cached) $ac_c" 1>&6
9869 else
9872 ac_ext=C
9873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9874 ac_cpp='$CXXCPP $CPPFLAGS'
9875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9877 cross_compiling=$ac_cv_prog_cxx_cross
9879 cat > conftest.$ac_ext <<EOF
9880 #line 9881 "configure"
9881 #include "confdefs.h"
9882 #include <math.h>
9883 int main() {
9884 logl(0);
9885 ; return 0; }
9887 if { (eval echo configure:9888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9888 rm -rf conftest*
9889 glibcpp_cv_func_logl_use=yes
9890 else
9891 echo "configure: failed program was:" >&5
9892 cat conftest.$ac_ext >&5
9893 rm -rf conftest*
9894 glibcpp_cv_func_logl_use=no
9896 rm -f conftest*
9897 ac_ext=c
9898 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9899 ac_cpp='$CPP $CPPFLAGS'
9900 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9901 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9902 cross_compiling=$ac_cv_prog_cc_cross
9907 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
9908 if test x$glibcpp_cv_func_logl_use = x"yes"; then
9909 for ac_func in logl
9911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9912 echo "configure:9913: checking for $ac_func" >&5
9913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9914 echo $ac_n "(cached) $ac_c" 1>&6
9915 else
9916 cat > conftest.$ac_ext <<EOF
9917 #line 9918 "configure"
9918 #include "confdefs.h"
9919 /* System header to define __stub macros and hopefully few prototypes,
9920 which can conflict with char $ac_func(); below. */
9921 #include <assert.h>
9922 /* Override any gcc2 internal prototype to avoid an error. */
9923 /* We use char because int might match the return type of a gcc2
9924 builtin and then its argument prototype would still apply. */
9925 char $ac_func();
9927 int main() {
9929 /* The GNU C library defines this for functions which it implements
9930 to always fail with ENOSYS. Some functions are actually named
9931 something starting with __ and the normal name is an alias. */
9932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9933 choke me
9934 #else
9935 $ac_func();
9936 #endif
9938 ; return 0; }
9940 if { (eval echo configure:9941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9941 rm -rf conftest*
9942 eval "ac_cv_func_$ac_func=yes"
9943 else
9944 echo "configure: failed program was:" >&5
9945 cat conftest.$ac_ext >&5
9946 rm -rf conftest*
9947 eval "ac_cv_func_$ac_func=no"
9949 rm -f conftest*
9952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9953 echo "$ac_t""yes" 1>&6
9954 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9955 cat >> confdefs.h <<EOF
9956 #define $ac_tr_func 1
9959 else
9960 echo "$ac_t""no" 1>&6
9962 done
9967 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
9968 echo "configure:9969: checking for log10l declaration" >&5
9969 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
9970 echo $ac_n "(cached) $ac_c" 1>&6
9971 else
9974 ac_ext=C
9975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9976 ac_cpp='$CXXCPP $CPPFLAGS'
9977 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9978 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9979 cross_compiling=$ac_cv_prog_cxx_cross
9981 cat > conftest.$ac_ext <<EOF
9982 #line 9983 "configure"
9983 #include "confdefs.h"
9984 #include <math.h>
9985 int main() {
9986 log10l(0);
9987 ; return 0; }
9989 if { (eval echo configure:9990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9990 rm -rf conftest*
9991 glibcpp_cv_func_log10l_use=yes
9992 else
9993 echo "configure: failed program was:" >&5
9994 cat conftest.$ac_ext >&5
9995 rm -rf conftest*
9996 glibcpp_cv_func_log10l_use=no
9998 rm -f conftest*
9999 ac_ext=c
10000 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10001 ac_cpp='$CPP $CPPFLAGS'
10002 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10003 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10004 cross_compiling=$ac_cv_prog_cc_cross
10009 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
10010 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
10011 for ac_func in log10l
10013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10014 echo "configure:10015: checking for $ac_func" >&5
10015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10016 echo $ac_n "(cached) $ac_c" 1>&6
10017 else
10018 cat > conftest.$ac_ext <<EOF
10019 #line 10020 "configure"
10020 #include "confdefs.h"
10021 /* System header to define __stub macros and hopefully few prototypes,
10022 which can conflict with char $ac_func(); below. */
10023 #include <assert.h>
10024 /* Override any gcc2 internal prototype to avoid an error. */
10025 /* We use char because int might match the return type of a gcc2
10026 builtin and then its argument prototype would still apply. */
10027 char $ac_func();
10029 int main() {
10031 /* The GNU C library defines this for functions which it implements
10032 to always fail with ENOSYS. Some functions are actually named
10033 something starting with __ and the normal name is an alias. */
10034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10035 choke me
10036 #else
10037 $ac_func();
10038 #endif
10040 ; return 0; }
10042 if { (eval echo configure:10043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10043 rm -rf conftest*
10044 eval "ac_cv_func_$ac_func=yes"
10045 else
10046 echo "configure: failed program was:" >&5
10047 cat conftest.$ac_ext >&5
10048 rm -rf conftest*
10049 eval "ac_cv_func_$ac_func=no"
10051 rm -f conftest*
10054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10055 echo "$ac_t""yes" 1>&6
10056 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10057 cat >> confdefs.h <<EOF
10058 #define $ac_tr_func 1
10061 else
10062 echo "$ac_t""no" 1>&6
10064 done
10069 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
10070 echo "configure:10071: checking for modfl declaration" >&5
10071 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
10072 echo $ac_n "(cached) $ac_c" 1>&6
10073 else
10076 ac_ext=C
10077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10078 ac_cpp='$CXXCPP $CPPFLAGS'
10079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10081 cross_compiling=$ac_cv_prog_cxx_cross
10083 cat > conftest.$ac_ext <<EOF
10084 #line 10085 "configure"
10085 #include "confdefs.h"
10086 #include <math.h>
10087 int main() {
10088 modfl(0, 0);
10089 ; return 0; }
10091 if { (eval echo configure:10092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10092 rm -rf conftest*
10093 glibcpp_cv_func_modfl_use=yes
10094 else
10095 echo "configure: failed program was:" >&5
10096 cat conftest.$ac_ext >&5
10097 rm -rf conftest*
10098 glibcpp_cv_func_modfl_use=no
10100 rm -f conftest*
10101 ac_ext=c
10102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10103 ac_cpp='$CPP $CPPFLAGS'
10104 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10105 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10106 cross_compiling=$ac_cv_prog_cc_cross
10111 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
10112 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
10113 for ac_func in modfl
10115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10116 echo "configure:10117: checking for $ac_func" >&5
10117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10118 echo $ac_n "(cached) $ac_c" 1>&6
10119 else
10120 cat > conftest.$ac_ext <<EOF
10121 #line 10122 "configure"
10122 #include "confdefs.h"
10123 /* System header to define __stub macros and hopefully few prototypes,
10124 which can conflict with char $ac_func(); below. */
10125 #include <assert.h>
10126 /* Override any gcc2 internal prototype to avoid an error. */
10127 /* We use char because int might match the return type of a gcc2
10128 builtin and then its argument prototype would still apply. */
10129 char $ac_func();
10131 int main() {
10133 /* The GNU C library defines this for functions which it implements
10134 to always fail with ENOSYS. Some functions are actually named
10135 something starting with __ and the normal name is an alias. */
10136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10137 choke me
10138 #else
10139 $ac_func();
10140 #endif
10142 ; return 0; }
10144 if { (eval echo configure:10145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10145 rm -rf conftest*
10146 eval "ac_cv_func_$ac_func=yes"
10147 else
10148 echo "configure: failed program was:" >&5
10149 cat conftest.$ac_ext >&5
10150 rm -rf conftest*
10151 eval "ac_cv_func_$ac_func=no"
10153 rm -f conftest*
10156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10157 echo "$ac_t""yes" 1>&6
10158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10159 cat >> confdefs.h <<EOF
10160 #define $ac_tr_func 1
10163 else
10164 echo "$ac_t""no" 1>&6
10166 done
10171 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
10172 echo "configure:10173: checking for powl declaration" >&5
10173 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
10174 echo $ac_n "(cached) $ac_c" 1>&6
10175 else
10178 ac_ext=C
10179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10180 ac_cpp='$CXXCPP $CPPFLAGS'
10181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10183 cross_compiling=$ac_cv_prog_cxx_cross
10185 cat > conftest.$ac_ext <<EOF
10186 #line 10187 "configure"
10187 #include "confdefs.h"
10188 #include <math.h>
10189 int main() {
10190 powl(0, 0);
10191 ; return 0; }
10193 if { (eval echo configure:10194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10194 rm -rf conftest*
10195 glibcpp_cv_func_powl_use=yes
10196 else
10197 echo "configure: failed program was:" >&5
10198 cat conftest.$ac_ext >&5
10199 rm -rf conftest*
10200 glibcpp_cv_func_powl_use=no
10202 rm -f conftest*
10203 ac_ext=c
10204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10205 ac_cpp='$CPP $CPPFLAGS'
10206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10208 cross_compiling=$ac_cv_prog_cc_cross
10213 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
10214 if test x$glibcpp_cv_func_powl_use = x"yes"; then
10215 for ac_func in powl
10217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10218 echo "configure:10219: checking for $ac_func" >&5
10219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10220 echo $ac_n "(cached) $ac_c" 1>&6
10221 else
10222 cat > conftest.$ac_ext <<EOF
10223 #line 10224 "configure"
10224 #include "confdefs.h"
10225 /* System header to define __stub macros and hopefully few prototypes,
10226 which can conflict with char $ac_func(); below. */
10227 #include <assert.h>
10228 /* Override any gcc2 internal prototype to avoid an error. */
10229 /* We use char because int might match the return type of a gcc2
10230 builtin and then its argument prototype would still apply. */
10231 char $ac_func();
10233 int main() {
10235 /* The GNU C library defines this for functions which it implements
10236 to always fail with ENOSYS. Some functions are actually named
10237 something starting with __ and the normal name is an alias. */
10238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10239 choke me
10240 #else
10241 $ac_func();
10242 #endif
10244 ; return 0; }
10246 if { (eval echo configure:10247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10247 rm -rf conftest*
10248 eval "ac_cv_func_$ac_func=yes"
10249 else
10250 echo "configure: failed program was:" >&5
10251 cat conftest.$ac_ext >&5
10252 rm -rf conftest*
10253 eval "ac_cv_func_$ac_func=no"
10255 rm -f conftest*
10258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10259 echo "$ac_t""yes" 1>&6
10260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10261 cat >> confdefs.h <<EOF
10262 #define $ac_tr_func 1
10265 else
10266 echo "$ac_t""no" 1>&6
10268 done
10273 echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6
10274 echo "configure:10275: checking for sinl declaration" >&5
10275 if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then
10276 echo $ac_n "(cached) $ac_c" 1>&6
10277 else
10280 ac_ext=C
10281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10282 ac_cpp='$CXXCPP $CPPFLAGS'
10283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10285 cross_compiling=$ac_cv_prog_cxx_cross
10287 cat > conftest.$ac_ext <<EOF
10288 #line 10289 "configure"
10289 #include "confdefs.h"
10290 #include <math.h>
10291 int main() {
10292 sinl(0);
10293 ; return 0; }
10295 if { (eval echo configure:10296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10296 rm -rf conftest*
10297 glibcpp_cv_func_sinl_use=yes
10298 else
10299 echo "configure: failed program was:" >&5
10300 cat conftest.$ac_ext >&5
10301 rm -rf conftest*
10302 glibcpp_cv_func_sinl_use=no
10304 rm -f conftest*
10305 ac_ext=c
10306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10307 ac_cpp='$CPP $CPPFLAGS'
10308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10310 cross_compiling=$ac_cv_prog_cc_cross
10315 echo "$ac_t""$glibcpp_cv_func_sinl_use" 1>&6
10316 if test x$glibcpp_cv_func_sinl_use = x"yes"; then
10317 for ac_func in sinl
10319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10320 echo "configure:10321: checking for $ac_func" >&5
10321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10322 echo $ac_n "(cached) $ac_c" 1>&6
10323 else
10324 cat > conftest.$ac_ext <<EOF
10325 #line 10326 "configure"
10326 #include "confdefs.h"
10327 /* System header to define __stub macros and hopefully few prototypes,
10328 which can conflict with char $ac_func(); below. */
10329 #include <assert.h>
10330 /* Override any gcc2 internal prototype to avoid an error. */
10331 /* We use char because int might match the return type of a gcc2
10332 builtin and then its argument prototype would still apply. */
10333 char $ac_func();
10335 int main() {
10337 /* The GNU C library defines this for functions which it implements
10338 to always fail with ENOSYS. Some functions are actually named
10339 something starting with __ and the normal name is an alias. */
10340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10341 choke me
10342 #else
10343 $ac_func();
10344 #endif
10346 ; return 0; }
10348 if { (eval echo configure:10349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10349 rm -rf conftest*
10350 eval "ac_cv_func_$ac_func=yes"
10351 else
10352 echo "configure: failed program was:" >&5
10353 cat conftest.$ac_ext >&5
10354 rm -rf conftest*
10355 eval "ac_cv_func_$ac_func=no"
10357 rm -f conftest*
10360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10361 echo "$ac_t""yes" 1>&6
10362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10363 cat >> confdefs.h <<EOF
10364 #define $ac_tr_func 1
10367 else
10368 echo "$ac_t""no" 1>&6
10370 done
10375 echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6
10376 echo "configure:10377: checking for sinhl declaration" >&5
10377 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then
10378 echo $ac_n "(cached) $ac_c" 1>&6
10379 else
10382 ac_ext=C
10383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10384 ac_cpp='$CXXCPP $CPPFLAGS'
10385 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10386 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10387 cross_compiling=$ac_cv_prog_cxx_cross
10389 cat > conftest.$ac_ext <<EOF
10390 #line 10391 "configure"
10391 #include "confdefs.h"
10392 #include <math.h>
10393 int main() {
10394 sinhl(0);
10395 ; return 0; }
10397 if { (eval echo configure:10398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10398 rm -rf conftest*
10399 glibcpp_cv_func_sinhl_use=yes
10400 else
10401 echo "configure: failed program was:" >&5
10402 cat conftest.$ac_ext >&5
10403 rm -rf conftest*
10404 glibcpp_cv_func_sinhl_use=no
10406 rm -f conftest*
10407 ac_ext=c
10408 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10409 ac_cpp='$CPP $CPPFLAGS'
10410 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10411 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10412 cross_compiling=$ac_cv_prog_cc_cross
10417 echo "$ac_t""$glibcpp_cv_func_sinhl_use" 1>&6
10418 if test x$glibcpp_cv_func_sinhl_use = x"yes"; then
10419 for ac_func in sinhl
10421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10422 echo "configure:10423: checking for $ac_func" >&5
10423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10424 echo $ac_n "(cached) $ac_c" 1>&6
10425 else
10426 cat > conftest.$ac_ext <<EOF
10427 #line 10428 "configure"
10428 #include "confdefs.h"
10429 /* System header to define __stub macros and hopefully few prototypes,
10430 which can conflict with char $ac_func(); below. */
10431 #include <assert.h>
10432 /* Override any gcc2 internal prototype to avoid an error. */
10433 /* We use char because int might match the return type of a gcc2
10434 builtin and then its argument prototype would still apply. */
10435 char $ac_func();
10437 int main() {
10439 /* The GNU C library defines this for functions which it implements
10440 to always fail with ENOSYS. Some functions are actually named
10441 something starting with __ and the normal name is an alias. */
10442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10443 choke me
10444 #else
10445 $ac_func();
10446 #endif
10448 ; return 0; }
10450 if { (eval echo configure:10451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10451 rm -rf conftest*
10452 eval "ac_cv_func_$ac_func=yes"
10453 else
10454 echo "configure: failed program was:" >&5
10455 cat conftest.$ac_ext >&5
10456 rm -rf conftest*
10457 eval "ac_cv_func_$ac_func=no"
10459 rm -f conftest*
10462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10463 echo "$ac_t""yes" 1>&6
10464 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10465 cat >> confdefs.h <<EOF
10466 #define $ac_tr_func 1
10469 else
10470 echo "$ac_t""no" 1>&6
10472 done
10477 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
10478 echo "configure:10479: checking for sqrtl declaration" >&5
10479 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
10480 echo $ac_n "(cached) $ac_c" 1>&6
10481 else
10484 ac_ext=C
10485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10486 ac_cpp='$CXXCPP $CPPFLAGS'
10487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10489 cross_compiling=$ac_cv_prog_cxx_cross
10491 cat > conftest.$ac_ext <<EOF
10492 #line 10493 "configure"
10493 #include "confdefs.h"
10494 #include <math.h>
10495 int main() {
10496 sqrtl(0);
10497 ; return 0; }
10499 if { (eval echo configure:10500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10500 rm -rf conftest*
10501 glibcpp_cv_func_sqrtl_use=yes
10502 else
10503 echo "configure: failed program was:" >&5
10504 cat conftest.$ac_ext >&5
10505 rm -rf conftest*
10506 glibcpp_cv_func_sqrtl_use=no
10508 rm -f conftest*
10509 ac_ext=c
10510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10511 ac_cpp='$CPP $CPPFLAGS'
10512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10514 cross_compiling=$ac_cv_prog_cc_cross
10519 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
10520 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
10521 for ac_func in sqrtl
10523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10524 echo "configure:10525: checking for $ac_func" >&5
10525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10526 echo $ac_n "(cached) $ac_c" 1>&6
10527 else
10528 cat > conftest.$ac_ext <<EOF
10529 #line 10530 "configure"
10530 #include "confdefs.h"
10531 /* System header to define __stub macros and hopefully few prototypes,
10532 which can conflict with char $ac_func(); below. */
10533 #include <assert.h>
10534 /* Override any gcc2 internal prototype to avoid an error. */
10535 /* We use char because int might match the return type of a gcc2
10536 builtin and then its argument prototype would still apply. */
10537 char $ac_func();
10539 int main() {
10541 /* The GNU C library defines this for functions which it implements
10542 to always fail with ENOSYS. Some functions are actually named
10543 something starting with __ and the normal name is an alias. */
10544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10545 choke me
10546 #else
10547 $ac_func();
10548 #endif
10550 ; return 0; }
10552 if { (eval echo configure:10553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10553 rm -rf conftest*
10554 eval "ac_cv_func_$ac_func=yes"
10555 else
10556 echo "configure: failed program was:" >&5
10557 cat conftest.$ac_ext >&5
10558 rm -rf conftest*
10559 eval "ac_cv_func_$ac_func=no"
10561 rm -f conftest*
10564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10565 echo "$ac_t""yes" 1>&6
10566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10567 cat >> confdefs.h <<EOF
10568 #define $ac_tr_func 1
10571 else
10572 echo "$ac_t""no" 1>&6
10574 done
10579 echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6
10580 echo "configure:10581: checking for tanl declaration" >&5
10581 if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then
10582 echo $ac_n "(cached) $ac_c" 1>&6
10583 else
10586 ac_ext=C
10587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10588 ac_cpp='$CXXCPP $CPPFLAGS'
10589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10591 cross_compiling=$ac_cv_prog_cxx_cross
10593 cat > conftest.$ac_ext <<EOF
10594 #line 10595 "configure"
10595 #include "confdefs.h"
10596 #include <math.h>
10597 int main() {
10598 tanl(0);
10599 ; return 0; }
10601 if { (eval echo configure:10602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10602 rm -rf conftest*
10603 glibcpp_cv_func_tanl_use=yes
10604 else
10605 echo "configure: failed program was:" >&5
10606 cat conftest.$ac_ext >&5
10607 rm -rf conftest*
10608 glibcpp_cv_func_tanl_use=no
10610 rm -f conftest*
10611 ac_ext=c
10612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10613 ac_cpp='$CPP $CPPFLAGS'
10614 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10615 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10616 cross_compiling=$ac_cv_prog_cc_cross
10621 echo "$ac_t""$glibcpp_cv_func_tanl_use" 1>&6
10622 if test x$glibcpp_cv_func_tanl_use = x"yes"; then
10623 for ac_func in tanl
10625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10626 echo "configure:10627: checking for $ac_func" >&5
10627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10628 echo $ac_n "(cached) $ac_c" 1>&6
10629 else
10630 cat > conftest.$ac_ext <<EOF
10631 #line 10632 "configure"
10632 #include "confdefs.h"
10633 /* System header to define __stub macros and hopefully few prototypes,
10634 which can conflict with char $ac_func(); below. */
10635 #include <assert.h>
10636 /* Override any gcc2 internal prototype to avoid an error. */
10637 /* We use char because int might match the return type of a gcc2
10638 builtin and then its argument prototype would still apply. */
10639 char $ac_func();
10641 int main() {
10643 /* The GNU C library defines this for functions which it implements
10644 to always fail with ENOSYS. Some functions are actually named
10645 something starting with __ and the normal name is an alias. */
10646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10647 choke me
10648 #else
10649 $ac_func();
10650 #endif
10652 ; return 0; }
10654 if { (eval echo configure:10655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10655 rm -rf conftest*
10656 eval "ac_cv_func_$ac_func=yes"
10657 else
10658 echo "configure: failed program was:" >&5
10659 cat conftest.$ac_ext >&5
10660 rm -rf conftest*
10661 eval "ac_cv_func_$ac_func=no"
10663 rm -f conftest*
10666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10667 echo "$ac_t""yes" 1>&6
10668 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10669 cat >> confdefs.h <<EOF
10670 #define $ac_tr_func 1
10673 else
10674 echo "$ac_t""no" 1>&6
10676 done
10681 echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6
10682 echo "configure:10683: checking for tanhl declaration" >&5
10683 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then
10684 echo $ac_n "(cached) $ac_c" 1>&6
10685 else
10688 ac_ext=C
10689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10690 ac_cpp='$CXXCPP $CPPFLAGS'
10691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10693 cross_compiling=$ac_cv_prog_cxx_cross
10695 cat > conftest.$ac_ext <<EOF
10696 #line 10697 "configure"
10697 #include "confdefs.h"
10698 #include <math.h>
10699 int main() {
10700 tanhl(0);
10701 ; return 0; }
10703 if { (eval echo configure:10704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10704 rm -rf conftest*
10705 glibcpp_cv_func_tanhl_use=yes
10706 else
10707 echo "configure: failed program was:" >&5
10708 cat conftest.$ac_ext >&5
10709 rm -rf conftest*
10710 glibcpp_cv_func_tanhl_use=no
10712 rm -f conftest*
10713 ac_ext=c
10714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10715 ac_cpp='$CPP $CPPFLAGS'
10716 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10717 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10718 cross_compiling=$ac_cv_prog_cc_cross
10723 echo "$ac_t""$glibcpp_cv_func_tanhl_use" 1>&6
10724 if test x$glibcpp_cv_func_tanhl_use = x"yes"; then
10725 for ac_func in tanhl
10727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10728 echo "configure:10729: checking for $ac_func" >&5
10729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10730 echo $ac_n "(cached) $ac_c" 1>&6
10731 else
10732 cat > conftest.$ac_ext <<EOF
10733 #line 10734 "configure"
10734 #include "confdefs.h"
10735 /* System header to define __stub macros and hopefully few prototypes,
10736 which can conflict with char $ac_func(); below. */
10737 #include <assert.h>
10738 /* Override any gcc2 internal prototype to avoid an error. */
10739 /* We use char because int might match the return type of a gcc2
10740 builtin and then its argument prototype would still apply. */
10741 char $ac_func();
10743 int main() {
10745 /* The GNU C library defines this for functions which it implements
10746 to always fail with ENOSYS. Some functions are actually named
10747 something starting with __ and the normal name is an alias. */
10748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10749 choke me
10750 #else
10751 $ac_func();
10752 #endif
10754 ; return 0; }
10756 if { (eval echo configure:10757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10757 rm -rf conftest*
10758 eval "ac_cv_func_$ac_func=yes"
10759 else
10760 echo "configure: failed program was:" >&5
10761 cat conftest.$ac_ext >&5
10762 rm -rf conftest*
10763 eval "ac_cv_func_$ac_func=no"
10765 rm -f conftest*
10768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10769 echo "$ac_t""yes" 1>&6
10770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10771 cat >> confdefs.h <<EOF
10772 #define $ac_tr_func 1
10775 else
10776 echo "$ac_t""no" 1>&6
10778 done
10783 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
10784 echo "configure:10785: checking for sincosl declaration" >&5
10785 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
10786 echo $ac_n "(cached) $ac_c" 1>&6
10787 else
10790 ac_ext=C
10791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10792 ac_cpp='$CXXCPP $CPPFLAGS'
10793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10795 cross_compiling=$ac_cv_prog_cxx_cross
10797 cat > conftest.$ac_ext <<EOF
10798 #line 10799 "configure"
10799 #include "confdefs.h"
10800 #include <math.h>
10801 int main() {
10802 sincosl(0, 0, 0);
10803 ; return 0; }
10805 if { (eval echo configure:10806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10806 rm -rf conftest*
10807 glibcpp_cv_func_sincosl_use=yes
10808 else
10809 echo "configure: failed program was:" >&5
10810 cat conftest.$ac_ext >&5
10811 rm -rf conftest*
10812 glibcpp_cv_func_sincosl_use=no
10814 rm -f conftest*
10815 ac_ext=c
10816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10817 ac_cpp='$CPP $CPPFLAGS'
10818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10820 cross_compiling=$ac_cv_prog_cc_cross
10825 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
10826 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
10827 for ac_func in sincosl
10829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10830 echo "configure:10831: checking for $ac_func" >&5
10831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10832 echo $ac_n "(cached) $ac_c" 1>&6
10833 else
10834 cat > conftest.$ac_ext <<EOF
10835 #line 10836 "configure"
10836 #include "confdefs.h"
10837 /* System header to define __stub macros and hopefully few prototypes,
10838 which can conflict with char $ac_func(); below. */
10839 #include <assert.h>
10840 /* Override any gcc2 internal prototype to avoid an error. */
10841 /* We use char because int might match the return type of a gcc2
10842 builtin and then its argument prototype would still apply. */
10843 char $ac_func();
10845 int main() {
10847 /* The GNU C library defines this for functions which it implements
10848 to always fail with ENOSYS. Some functions are actually named
10849 something starting with __ and the normal name is an alias. */
10850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10851 choke me
10852 #else
10853 $ac_func();
10854 #endif
10856 ; return 0; }
10858 if { (eval echo configure:10859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10859 rm -rf conftest*
10860 eval "ac_cv_func_$ac_func=yes"
10861 else
10862 echo "configure: failed program was:" >&5
10863 cat conftest.$ac_ext >&5
10864 rm -rf conftest*
10865 eval "ac_cv_func_$ac_func=no"
10867 rm -f conftest*
10870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10871 echo "$ac_t""yes" 1>&6
10872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10873 cat >> confdefs.h <<EOF
10874 #define $ac_tr_func 1
10877 else
10878 echo "$ac_t""no" 1>&6
10880 done
10885 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
10886 echo "configure:10887: checking for finitel declaration" >&5
10887 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
10888 echo $ac_n "(cached) $ac_c" 1>&6
10889 else
10892 ac_ext=C
10893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10894 ac_cpp='$CXXCPP $CPPFLAGS'
10895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10897 cross_compiling=$ac_cv_prog_cxx_cross
10899 cat > conftest.$ac_ext <<EOF
10900 #line 10901 "configure"
10901 #include "confdefs.h"
10902 #include <math.h>
10903 int main() {
10904 finitel(0);
10905 ; return 0; }
10907 if { (eval echo configure:10908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10908 rm -rf conftest*
10909 glibcpp_cv_func_finitel_use=yes
10910 else
10911 echo "configure: failed program was:" >&5
10912 cat conftest.$ac_ext >&5
10913 rm -rf conftest*
10914 glibcpp_cv_func_finitel_use=no
10916 rm -f conftest*
10917 ac_ext=c
10918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10919 ac_cpp='$CPP $CPPFLAGS'
10920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10922 cross_compiling=$ac_cv_prog_cc_cross
10927 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
10928 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
10929 for ac_func in finitel
10931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10932 echo "configure:10933: checking for $ac_func" >&5
10933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10934 echo $ac_n "(cached) $ac_c" 1>&6
10935 else
10936 cat > conftest.$ac_ext <<EOF
10937 #line 10938 "configure"
10938 #include "confdefs.h"
10939 /* System header to define __stub macros and hopefully few prototypes,
10940 which can conflict with char $ac_func(); below. */
10941 #include <assert.h>
10942 /* Override any gcc2 internal prototype to avoid an error. */
10943 /* We use char because int might match the return type of a gcc2
10944 builtin and then its argument prototype would still apply. */
10945 char $ac_func();
10947 int main() {
10949 /* The GNU C library defines this for functions which it implements
10950 to always fail with ENOSYS. Some functions are actually named
10951 something starting with __ and the normal name is an alias. */
10952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10953 choke me
10954 #else
10955 $ac_func();
10956 #endif
10958 ; return 0; }
10960 if { (eval echo configure:10961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10961 rm -rf conftest*
10962 eval "ac_cv_func_$ac_func=yes"
10963 else
10964 echo "configure: failed program was:" >&5
10965 cat conftest.$ac_ext >&5
10966 rm -rf conftest*
10967 eval "ac_cv_func_$ac_func=no"
10969 rm -f conftest*
10972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10973 echo "$ac_t""yes" 1>&6
10974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10975 cat >> confdefs.h <<EOF
10976 #define $ac_tr_func 1
10979 else
10980 echo "$ac_t""no" 1>&6
10982 done
10988 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10989 echo "configure:10990: checking for _isinf declaration" >&5
10990 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10991 echo $ac_n "(cached) $ac_c" 1>&6
10992 else
10995 ac_ext=C
10996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10997 ac_cpp='$CXXCPP $CPPFLAGS'
10998 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10999 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11000 cross_compiling=$ac_cv_prog_cxx_cross
11002 cat > conftest.$ac_ext <<EOF
11003 #line 11004 "configure"
11004 #include "confdefs.h"
11005 #include <math.h>
11006 int main() {
11007 _isinf(0);
11008 ; return 0; }
11010 if { (eval echo configure:11011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11011 rm -rf conftest*
11012 glibcpp_cv_func__isinf_use=yes
11013 else
11014 echo "configure: failed program was:" >&5
11015 cat conftest.$ac_ext >&5
11016 rm -rf conftest*
11017 glibcpp_cv_func__isinf_use=no
11019 rm -f conftest*
11020 ac_ext=c
11021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11022 ac_cpp='$CPP $CPPFLAGS'
11023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11025 cross_compiling=$ac_cv_prog_cc_cross
11030 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11031 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11032 for ac_func in _isinf
11034 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11035 echo "configure:11036: checking for $ac_func" >&5
11036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11037 echo $ac_n "(cached) $ac_c" 1>&6
11038 else
11039 cat > conftest.$ac_ext <<EOF
11040 #line 11041 "configure"
11041 #include "confdefs.h"
11042 /* System header to define __stub macros and hopefully few prototypes,
11043 which can conflict with char $ac_func(); below. */
11044 #include <assert.h>
11045 /* Override any gcc2 internal prototype to avoid an error. */
11046 /* We use char because int might match the return type of a gcc2
11047 builtin and then its argument prototype would still apply. */
11048 char $ac_func();
11050 int main() {
11052 /* The GNU C library defines this for functions which it implements
11053 to always fail with ENOSYS. Some functions are actually named
11054 something starting with __ and the normal name is an alias. */
11055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11056 choke me
11057 #else
11058 $ac_func();
11059 #endif
11061 ; return 0; }
11063 if { (eval echo configure:11064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11064 rm -rf conftest*
11065 eval "ac_cv_func_$ac_func=yes"
11066 else
11067 echo "configure: failed program was:" >&5
11068 cat conftest.$ac_ext >&5
11069 rm -rf conftest*
11070 eval "ac_cv_func_$ac_func=no"
11072 rm -f conftest*
11075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11076 echo "$ac_t""yes" 1>&6
11077 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11078 cat >> confdefs.h <<EOF
11079 #define $ac_tr_func 1
11082 else
11083 echo "$ac_t""no" 1>&6
11085 done
11090 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11091 echo "configure:11092: checking for _isnan declaration" >&5
11092 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11093 echo $ac_n "(cached) $ac_c" 1>&6
11094 else
11097 ac_ext=C
11098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11099 ac_cpp='$CXXCPP $CPPFLAGS'
11100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11102 cross_compiling=$ac_cv_prog_cxx_cross
11104 cat > conftest.$ac_ext <<EOF
11105 #line 11106 "configure"
11106 #include "confdefs.h"
11107 #include <math.h>
11108 int main() {
11109 _isnan(0);
11110 ; return 0; }
11112 if { (eval echo configure:11113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11113 rm -rf conftest*
11114 glibcpp_cv_func__isnan_use=yes
11115 else
11116 echo "configure: failed program was:" >&5
11117 cat conftest.$ac_ext >&5
11118 rm -rf conftest*
11119 glibcpp_cv_func__isnan_use=no
11121 rm -f conftest*
11122 ac_ext=c
11123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11124 ac_cpp='$CPP $CPPFLAGS'
11125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11127 cross_compiling=$ac_cv_prog_cc_cross
11132 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11133 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11134 for ac_func in _isnan
11136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11137 echo "configure:11138: checking for $ac_func" >&5
11138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11139 echo $ac_n "(cached) $ac_c" 1>&6
11140 else
11141 cat > conftest.$ac_ext <<EOF
11142 #line 11143 "configure"
11143 #include "confdefs.h"
11144 /* System header to define __stub macros and hopefully few prototypes,
11145 which can conflict with char $ac_func(); below. */
11146 #include <assert.h>
11147 /* Override any gcc2 internal prototype to avoid an error. */
11148 /* We use char because int might match the return type of a gcc2
11149 builtin and then its argument prototype would still apply. */
11150 char $ac_func();
11152 int main() {
11154 /* The GNU C library defines this for functions which it implements
11155 to always fail with ENOSYS. Some functions are actually named
11156 something starting with __ and the normal name is an alias. */
11157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11158 choke me
11159 #else
11160 $ac_func();
11161 #endif
11163 ; return 0; }
11165 if { (eval echo configure:11166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11166 rm -rf conftest*
11167 eval "ac_cv_func_$ac_func=yes"
11168 else
11169 echo "configure: failed program was:" >&5
11170 cat conftest.$ac_ext >&5
11171 rm -rf conftest*
11172 eval "ac_cv_func_$ac_func=no"
11174 rm -f conftest*
11177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11178 echo "$ac_t""yes" 1>&6
11179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11180 cat >> confdefs.h <<EOF
11181 #define $ac_tr_func 1
11184 else
11185 echo "$ac_t""no" 1>&6
11187 done
11192 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11193 echo "configure:11194: checking for _finite declaration" >&5
11194 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11195 echo $ac_n "(cached) $ac_c" 1>&6
11196 else
11199 ac_ext=C
11200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11201 ac_cpp='$CXXCPP $CPPFLAGS'
11202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11204 cross_compiling=$ac_cv_prog_cxx_cross
11206 cat > conftest.$ac_ext <<EOF
11207 #line 11208 "configure"
11208 #include "confdefs.h"
11209 #include <math.h>
11210 int main() {
11211 _finite(0);
11212 ; return 0; }
11214 if { (eval echo configure:11215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11215 rm -rf conftest*
11216 glibcpp_cv_func__finite_use=yes
11217 else
11218 echo "configure: failed program was:" >&5
11219 cat conftest.$ac_ext >&5
11220 rm -rf conftest*
11221 glibcpp_cv_func__finite_use=no
11223 rm -f conftest*
11224 ac_ext=c
11225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11226 ac_cpp='$CPP $CPPFLAGS'
11227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11229 cross_compiling=$ac_cv_prog_cc_cross
11234 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11235 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11236 for ac_func in _finite
11238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11239 echo "configure:11240: checking for $ac_func" >&5
11240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11241 echo $ac_n "(cached) $ac_c" 1>&6
11242 else
11243 cat > conftest.$ac_ext <<EOF
11244 #line 11245 "configure"
11245 #include "confdefs.h"
11246 /* System header to define __stub macros and hopefully few prototypes,
11247 which can conflict with char $ac_func(); below. */
11248 #include <assert.h>
11249 /* Override any gcc2 internal prototype to avoid an error. */
11250 /* We use char because int might match the return type of a gcc2
11251 builtin and then its argument prototype would still apply. */
11252 char $ac_func();
11254 int main() {
11256 /* The GNU C library defines this for functions which it implements
11257 to always fail with ENOSYS. Some functions are actually named
11258 something starting with __ and the normal name is an alias. */
11259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11260 choke me
11261 #else
11262 $ac_func();
11263 #endif
11265 ; return 0; }
11267 if { (eval echo configure:11268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11268 rm -rf conftest*
11269 eval "ac_cv_func_$ac_func=yes"
11270 else
11271 echo "configure: failed program was:" >&5
11272 cat conftest.$ac_ext >&5
11273 rm -rf conftest*
11274 eval "ac_cv_func_$ac_func=no"
11276 rm -f conftest*
11279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11280 echo "$ac_t""yes" 1>&6
11281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11282 cat >> confdefs.h <<EOF
11283 #define $ac_tr_func 1
11286 else
11287 echo "$ac_t""no" 1>&6
11289 done
11294 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11295 echo "configure:11296: checking for _copysign declaration" >&5
11296 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11297 echo $ac_n "(cached) $ac_c" 1>&6
11298 else
11301 ac_ext=C
11302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11303 ac_cpp='$CXXCPP $CPPFLAGS'
11304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11306 cross_compiling=$ac_cv_prog_cxx_cross
11308 cat > conftest.$ac_ext <<EOF
11309 #line 11310 "configure"
11310 #include "confdefs.h"
11311 #include <math.h>
11312 int main() {
11313 _copysign(0, 0);
11314 ; return 0; }
11316 if { (eval echo configure:11317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11317 rm -rf conftest*
11318 glibcpp_cv_func__copysign_use=yes
11319 else
11320 echo "configure: failed program was:" >&5
11321 cat conftest.$ac_ext >&5
11322 rm -rf conftest*
11323 glibcpp_cv_func__copysign_use=no
11325 rm -f conftest*
11326 ac_ext=c
11327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11328 ac_cpp='$CPP $CPPFLAGS'
11329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11331 cross_compiling=$ac_cv_prog_cc_cross
11336 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11337 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11338 for ac_func in _copysign
11340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11341 echo "configure:11342: checking for $ac_func" >&5
11342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11343 echo $ac_n "(cached) $ac_c" 1>&6
11344 else
11345 cat > conftest.$ac_ext <<EOF
11346 #line 11347 "configure"
11347 #include "confdefs.h"
11348 /* System header to define __stub macros and hopefully few prototypes,
11349 which can conflict with char $ac_func(); below. */
11350 #include <assert.h>
11351 /* Override any gcc2 internal prototype to avoid an error. */
11352 /* We use char because int might match the return type of a gcc2
11353 builtin and then its argument prototype would still apply. */
11354 char $ac_func();
11356 int main() {
11358 /* The GNU C library defines this for functions which it implements
11359 to always fail with ENOSYS. Some functions are actually named
11360 something starting with __ and the normal name is an alias. */
11361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11362 choke me
11363 #else
11364 $ac_func();
11365 #endif
11367 ; return 0; }
11369 if { (eval echo configure:11370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11370 rm -rf conftest*
11371 eval "ac_cv_func_$ac_func=yes"
11372 else
11373 echo "configure: failed program was:" >&5
11374 cat conftest.$ac_ext >&5
11375 rm -rf conftest*
11376 eval "ac_cv_func_$ac_func=no"
11378 rm -f conftest*
11381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11382 echo "$ac_t""yes" 1>&6
11383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11384 cat >> confdefs.h <<EOF
11385 #define $ac_tr_func 1
11388 else
11389 echo "$ac_t""no" 1>&6
11391 done
11396 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11397 echo "configure:11398: checking for _sincos declaration" >&5
11398 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11399 echo $ac_n "(cached) $ac_c" 1>&6
11400 else
11403 ac_ext=C
11404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11405 ac_cpp='$CXXCPP $CPPFLAGS'
11406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11408 cross_compiling=$ac_cv_prog_cxx_cross
11410 cat > conftest.$ac_ext <<EOF
11411 #line 11412 "configure"
11412 #include "confdefs.h"
11413 #include <math.h>
11414 int main() {
11415 _sincos(0, 0, 0);
11416 ; return 0; }
11418 if { (eval echo configure:11419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11419 rm -rf conftest*
11420 glibcpp_cv_func__sincos_use=yes
11421 else
11422 echo "configure: failed program was:" >&5
11423 cat conftest.$ac_ext >&5
11424 rm -rf conftest*
11425 glibcpp_cv_func__sincos_use=no
11427 rm -f conftest*
11428 ac_ext=c
11429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11430 ac_cpp='$CPP $CPPFLAGS'
11431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11433 cross_compiling=$ac_cv_prog_cc_cross
11438 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11439 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11440 for ac_func in _sincos
11442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11443 echo "configure:11444: checking for $ac_func" >&5
11444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11445 echo $ac_n "(cached) $ac_c" 1>&6
11446 else
11447 cat > conftest.$ac_ext <<EOF
11448 #line 11449 "configure"
11449 #include "confdefs.h"
11450 /* System header to define __stub macros and hopefully few prototypes,
11451 which can conflict with char $ac_func(); below. */
11452 #include <assert.h>
11453 /* Override any gcc2 internal prototype to avoid an error. */
11454 /* We use char because int might match the return type of a gcc2
11455 builtin and then its argument prototype would still apply. */
11456 char $ac_func();
11458 int main() {
11460 /* The GNU C library defines this for functions which it implements
11461 to always fail with ENOSYS. Some functions are actually named
11462 something starting with __ and the normal name is an alias. */
11463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11464 choke me
11465 #else
11466 $ac_func();
11467 #endif
11469 ; return 0; }
11471 if { (eval echo configure:11472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11472 rm -rf conftest*
11473 eval "ac_cv_func_$ac_func=yes"
11474 else
11475 echo "configure: failed program was:" >&5
11476 cat conftest.$ac_ext >&5
11477 rm -rf conftest*
11478 eval "ac_cv_func_$ac_func=no"
11480 rm -f conftest*
11483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11484 echo "$ac_t""yes" 1>&6
11485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11486 cat >> confdefs.h <<EOF
11487 #define $ac_tr_func 1
11490 else
11491 echo "$ac_t""no" 1>&6
11493 done
11498 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11499 echo "configure:11500: checking for _fpclass declaration" >&5
11500 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11501 echo $ac_n "(cached) $ac_c" 1>&6
11502 else
11505 ac_ext=C
11506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11507 ac_cpp='$CXXCPP $CPPFLAGS'
11508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11510 cross_compiling=$ac_cv_prog_cxx_cross
11512 cat > conftest.$ac_ext <<EOF
11513 #line 11514 "configure"
11514 #include "confdefs.h"
11515 #include <math.h>
11516 int main() {
11517 _fpclass(0);
11518 ; return 0; }
11520 if { (eval echo configure:11521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11521 rm -rf conftest*
11522 glibcpp_cv_func__fpclass_use=yes
11523 else
11524 echo "configure: failed program was:" >&5
11525 cat conftest.$ac_ext >&5
11526 rm -rf conftest*
11527 glibcpp_cv_func__fpclass_use=no
11529 rm -f conftest*
11530 ac_ext=c
11531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11532 ac_cpp='$CPP $CPPFLAGS'
11533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11535 cross_compiling=$ac_cv_prog_cc_cross
11540 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11541 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11542 for ac_func in _fpclass
11544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11545 echo "configure:11546: checking for $ac_func" >&5
11546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11547 echo $ac_n "(cached) $ac_c" 1>&6
11548 else
11549 cat > conftest.$ac_ext <<EOF
11550 #line 11551 "configure"
11551 #include "confdefs.h"
11552 /* System header to define __stub macros and hopefully few prototypes,
11553 which can conflict with char $ac_func(); below. */
11554 #include <assert.h>
11555 /* Override any gcc2 internal prototype to avoid an error. */
11556 /* We use char because int might match the return type of a gcc2
11557 builtin and then its argument prototype would still apply. */
11558 char $ac_func();
11560 int main() {
11562 /* The GNU C library defines this for functions which it implements
11563 to always fail with ENOSYS. Some functions are actually named
11564 something starting with __ and the normal name is an alias. */
11565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11566 choke me
11567 #else
11568 $ac_func();
11569 #endif
11571 ; return 0; }
11573 if { (eval echo configure:11574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11574 rm -rf conftest*
11575 eval "ac_cv_func_$ac_func=yes"
11576 else
11577 echo "configure: failed program was:" >&5
11578 cat conftest.$ac_ext >&5
11579 rm -rf conftest*
11580 eval "ac_cv_func_$ac_func=no"
11582 rm -f conftest*
11585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11586 echo "$ac_t""yes" 1>&6
11587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11588 cat >> confdefs.h <<EOF
11589 #define $ac_tr_func 1
11592 else
11593 echo "$ac_t""no" 1>&6
11595 done
11600 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
11601 echo "configure:11602: checking for _qfpclass declaration" >&5
11602 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11603 echo $ac_n "(cached) $ac_c" 1>&6
11604 else
11607 ac_ext=C
11608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11609 ac_cpp='$CXXCPP $CPPFLAGS'
11610 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11611 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11612 cross_compiling=$ac_cv_prog_cxx_cross
11614 cat > conftest.$ac_ext <<EOF
11615 #line 11616 "configure"
11616 #include "confdefs.h"
11617 #include <math.h>
11618 int main() {
11619 _qfpclass(0);
11620 ; return 0; }
11622 if { (eval echo configure:11623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11623 rm -rf conftest*
11624 glibcpp_cv_func__qfpclass_use=yes
11625 else
11626 echo "configure: failed program was:" >&5
11627 cat conftest.$ac_ext >&5
11628 rm -rf conftest*
11629 glibcpp_cv_func__qfpclass_use=no
11631 rm -f conftest*
11632 ac_ext=c
11633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11634 ac_cpp='$CPP $CPPFLAGS'
11635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11637 cross_compiling=$ac_cv_prog_cc_cross
11642 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11643 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11644 for ac_func in _qfpclass
11646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11647 echo "configure:11648: checking for $ac_func" >&5
11648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11649 echo $ac_n "(cached) $ac_c" 1>&6
11650 else
11651 cat > conftest.$ac_ext <<EOF
11652 #line 11653 "configure"
11653 #include "confdefs.h"
11654 /* System header to define __stub macros and hopefully few prototypes,
11655 which can conflict with char $ac_func(); below. */
11656 #include <assert.h>
11657 /* Override any gcc2 internal prototype to avoid an error. */
11658 /* We use char because int might match the return type of a gcc2
11659 builtin and then its argument prototype would still apply. */
11660 char $ac_func();
11662 int main() {
11664 /* The GNU C library defines this for functions which it implements
11665 to always fail with ENOSYS. Some functions are actually named
11666 something starting with __ and the normal name is an alias. */
11667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11668 choke me
11669 #else
11670 $ac_func();
11671 #endif
11673 ; return 0; }
11675 if { (eval echo configure:11676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11676 rm -rf conftest*
11677 eval "ac_cv_func_$ac_func=yes"
11678 else
11679 echo "configure: failed program was:" >&5
11680 cat conftest.$ac_ext >&5
11681 rm -rf conftest*
11682 eval "ac_cv_func_$ac_func=no"
11684 rm -f conftest*
11687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11688 echo "$ac_t""yes" 1>&6
11689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11690 cat >> confdefs.h <<EOF
11691 #define $ac_tr_func 1
11694 else
11695 echo "$ac_t""no" 1>&6
11697 done
11703 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
11704 echo "configure:11705: checking for _isnanf declaration" >&5
11705 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
11706 echo $ac_n "(cached) $ac_c" 1>&6
11707 else
11710 ac_ext=C
11711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11712 ac_cpp='$CXXCPP $CPPFLAGS'
11713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11715 cross_compiling=$ac_cv_prog_cxx_cross
11717 cat > conftest.$ac_ext <<EOF
11718 #line 11719 "configure"
11719 #include "confdefs.h"
11720 #include <math.h>
11721 int main() {
11722 _isnanf(0);
11723 ; return 0; }
11725 if { (eval echo configure:11726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11726 rm -rf conftest*
11727 glibcpp_cv_func__isnanf_use=yes
11728 else
11729 echo "configure: failed program was:" >&5
11730 cat conftest.$ac_ext >&5
11731 rm -rf conftest*
11732 glibcpp_cv_func__isnanf_use=no
11734 rm -f conftest*
11735 ac_ext=c
11736 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11737 ac_cpp='$CPP $CPPFLAGS'
11738 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11739 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11740 cross_compiling=$ac_cv_prog_cc_cross
11745 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
11746 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
11747 for ac_func in _isnanf
11749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11750 echo "configure:11751: checking for $ac_func" >&5
11751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11752 echo $ac_n "(cached) $ac_c" 1>&6
11753 else
11754 cat > conftest.$ac_ext <<EOF
11755 #line 11756 "configure"
11756 #include "confdefs.h"
11757 /* System header to define __stub macros and hopefully few prototypes,
11758 which can conflict with char $ac_func(); below. */
11759 #include <assert.h>
11760 /* Override any gcc2 internal prototype to avoid an error. */
11761 /* We use char because int might match the return type of a gcc2
11762 builtin and then its argument prototype would still apply. */
11763 char $ac_func();
11765 int main() {
11767 /* The GNU C library defines this for functions which it implements
11768 to always fail with ENOSYS. Some functions are actually named
11769 something starting with __ and the normal name is an alias. */
11770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11771 choke me
11772 #else
11773 $ac_func();
11774 #endif
11776 ; return 0; }
11778 if { (eval echo configure:11779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11779 rm -rf conftest*
11780 eval "ac_cv_func_$ac_func=yes"
11781 else
11782 echo "configure: failed program was:" >&5
11783 cat conftest.$ac_ext >&5
11784 rm -rf conftest*
11785 eval "ac_cv_func_$ac_func=no"
11787 rm -f conftest*
11790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11791 echo "$ac_t""yes" 1>&6
11792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11793 cat >> confdefs.h <<EOF
11794 #define $ac_tr_func 1
11797 else
11798 echo "$ac_t""no" 1>&6
11800 done
11805 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
11806 echo "configure:11807: checking for _isinff declaration" >&5
11807 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
11808 echo $ac_n "(cached) $ac_c" 1>&6
11809 else
11812 ac_ext=C
11813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11814 ac_cpp='$CXXCPP $CPPFLAGS'
11815 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11816 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11817 cross_compiling=$ac_cv_prog_cxx_cross
11819 cat > conftest.$ac_ext <<EOF
11820 #line 11821 "configure"
11821 #include "confdefs.h"
11822 #include <math.h>
11823 int main() {
11824 _isinff(0);
11825 ; return 0; }
11827 if { (eval echo configure:11828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11828 rm -rf conftest*
11829 glibcpp_cv_func__isinff_use=yes
11830 else
11831 echo "configure: failed program was:" >&5
11832 cat conftest.$ac_ext >&5
11833 rm -rf conftest*
11834 glibcpp_cv_func__isinff_use=no
11836 rm -f conftest*
11837 ac_ext=c
11838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11839 ac_cpp='$CPP $CPPFLAGS'
11840 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11841 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11842 cross_compiling=$ac_cv_prog_cc_cross
11847 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
11848 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
11849 for ac_func in _isinff
11851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11852 echo "configure:11853: checking for $ac_func" >&5
11853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11854 echo $ac_n "(cached) $ac_c" 1>&6
11855 else
11856 cat > conftest.$ac_ext <<EOF
11857 #line 11858 "configure"
11858 #include "confdefs.h"
11859 /* System header to define __stub macros and hopefully few prototypes,
11860 which can conflict with char $ac_func(); below. */
11861 #include <assert.h>
11862 /* Override any gcc2 internal prototype to avoid an error. */
11863 /* We use char because int might match the return type of a gcc2
11864 builtin and then its argument prototype would still apply. */
11865 char $ac_func();
11867 int main() {
11869 /* The GNU C library defines this for functions which it implements
11870 to always fail with ENOSYS. Some functions are actually named
11871 something starting with __ and the normal name is an alias. */
11872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11873 choke me
11874 #else
11875 $ac_func();
11876 #endif
11878 ; return 0; }
11880 if { (eval echo configure:11881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11881 rm -rf conftest*
11882 eval "ac_cv_func_$ac_func=yes"
11883 else
11884 echo "configure: failed program was:" >&5
11885 cat conftest.$ac_ext >&5
11886 rm -rf conftest*
11887 eval "ac_cv_func_$ac_func=no"
11889 rm -f conftest*
11892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11893 echo "$ac_t""yes" 1>&6
11894 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11895 cat >> confdefs.h <<EOF
11896 #define $ac_tr_func 1
11899 else
11900 echo "$ac_t""no" 1>&6
11902 done
11907 echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6
11908 echo "configure:11909: checking for _acosf declaration" >&5
11909 if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then
11910 echo $ac_n "(cached) $ac_c" 1>&6
11911 else
11914 ac_ext=C
11915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11916 ac_cpp='$CXXCPP $CPPFLAGS'
11917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11919 cross_compiling=$ac_cv_prog_cxx_cross
11921 cat > conftest.$ac_ext <<EOF
11922 #line 11923 "configure"
11923 #include "confdefs.h"
11924 #include <math.h>
11925 int main() {
11926 _acosf(0);
11927 ; return 0; }
11929 if { (eval echo configure:11930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11930 rm -rf conftest*
11931 glibcpp_cv_func__acosf_use=yes
11932 else
11933 echo "configure: failed program was:" >&5
11934 cat conftest.$ac_ext >&5
11935 rm -rf conftest*
11936 glibcpp_cv_func__acosf_use=no
11938 rm -f conftest*
11939 ac_ext=c
11940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11941 ac_cpp='$CPP $CPPFLAGS'
11942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11943 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11944 cross_compiling=$ac_cv_prog_cc_cross
11949 echo "$ac_t""$glibcpp_cv_func__acosf_use" 1>&6
11950 if test x$glibcpp_cv_func__acosf_use = x"yes"; then
11951 for ac_func in _acosf
11953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11954 echo "configure:11955: checking for $ac_func" >&5
11955 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11956 echo $ac_n "(cached) $ac_c" 1>&6
11957 else
11958 cat > conftest.$ac_ext <<EOF
11959 #line 11960 "configure"
11960 #include "confdefs.h"
11961 /* System header to define __stub macros and hopefully few prototypes,
11962 which can conflict with char $ac_func(); below. */
11963 #include <assert.h>
11964 /* Override any gcc2 internal prototype to avoid an error. */
11965 /* We use char because int might match the return type of a gcc2
11966 builtin and then its argument prototype would still apply. */
11967 char $ac_func();
11969 int main() {
11971 /* The GNU C library defines this for functions which it implements
11972 to always fail with ENOSYS. Some functions are actually named
11973 something starting with __ and the normal name is an alias. */
11974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11975 choke me
11976 #else
11977 $ac_func();
11978 #endif
11980 ; return 0; }
11982 if { (eval echo configure:11983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11983 rm -rf conftest*
11984 eval "ac_cv_func_$ac_func=yes"
11985 else
11986 echo "configure: failed program was:" >&5
11987 cat conftest.$ac_ext >&5
11988 rm -rf conftest*
11989 eval "ac_cv_func_$ac_func=no"
11991 rm -f conftest*
11994 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11995 echo "$ac_t""yes" 1>&6
11996 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11997 cat >> confdefs.h <<EOF
11998 #define $ac_tr_func 1
12001 else
12002 echo "$ac_t""no" 1>&6
12004 done
12009 echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6
12010 echo "configure:12011: checking for _asinf declaration" >&5
12011 if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then
12012 echo $ac_n "(cached) $ac_c" 1>&6
12013 else
12016 ac_ext=C
12017 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12018 ac_cpp='$CXXCPP $CPPFLAGS'
12019 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12020 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12021 cross_compiling=$ac_cv_prog_cxx_cross
12023 cat > conftest.$ac_ext <<EOF
12024 #line 12025 "configure"
12025 #include "confdefs.h"
12026 #include <math.h>
12027 int main() {
12028 _asinf(0);
12029 ; return 0; }
12031 if { (eval echo configure:12032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12032 rm -rf conftest*
12033 glibcpp_cv_func__asinf_use=yes
12034 else
12035 echo "configure: failed program was:" >&5
12036 cat conftest.$ac_ext >&5
12037 rm -rf conftest*
12038 glibcpp_cv_func__asinf_use=no
12040 rm -f conftest*
12041 ac_ext=c
12042 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12043 ac_cpp='$CPP $CPPFLAGS'
12044 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12045 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12046 cross_compiling=$ac_cv_prog_cc_cross
12051 echo "$ac_t""$glibcpp_cv_func__asinf_use" 1>&6
12052 if test x$glibcpp_cv_func__asinf_use = x"yes"; then
12053 for ac_func in _asinf
12055 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12056 echo "configure:12057: checking for $ac_func" >&5
12057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12058 echo $ac_n "(cached) $ac_c" 1>&6
12059 else
12060 cat > conftest.$ac_ext <<EOF
12061 #line 12062 "configure"
12062 #include "confdefs.h"
12063 /* System header to define __stub macros and hopefully few prototypes,
12064 which can conflict with char $ac_func(); below. */
12065 #include <assert.h>
12066 /* Override any gcc2 internal prototype to avoid an error. */
12067 /* We use char because int might match the return type of a gcc2
12068 builtin and then its argument prototype would still apply. */
12069 char $ac_func();
12071 int main() {
12073 /* The GNU C library defines this for functions which it implements
12074 to always fail with ENOSYS. Some functions are actually named
12075 something starting with __ and the normal name is an alias. */
12076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12077 choke me
12078 #else
12079 $ac_func();
12080 #endif
12082 ; return 0; }
12084 if { (eval echo configure:12085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12085 rm -rf conftest*
12086 eval "ac_cv_func_$ac_func=yes"
12087 else
12088 echo "configure: failed program was:" >&5
12089 cat conftest.$ac_ext >&5
12090 rm -rf conftest*
12091 eval "ac_cv_func_$ac_func=no"
12093 rm -f conftest*
12096 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12097 echo "$ac_t""yes" 1>&6
12098 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12099 cat >> confdefs.h <<EOF
12100 #define $ac_tr_func 1
12103 else
12104 echo "$ac_t""no" 1>&6
12106 done
12111 echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6
12112 echo "configure:12113: checking for _atanf declaration" >&5
12113 if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then
12114 echo $ac_n "(cached) $ac_c" 1>&6
12115 else
12118 ac_ext=C
12119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12120 ac_cpp='$CXXCPP $CPPFLAGS'
12121 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12122 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12123 cross_compiling=$ac_cv_prog_cxx_cross
12125 cat > conftest.$ac_ext <<EOF
12126 #line 12127 "configure"
12127 #include "confdefs.h"
12128 #include <math.h>
12129 int main() {
12130 _atanf(0);
12131 ; return 0; }
12133 if { (eval echo configure:12134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12134 rm -rf conftest*
12135 glibcpp_cv_func__atanf_use=yes
12136 else
12137 echo "configure: failed program was:" >&5
12138 cat conftest.$ac_ext >&5
12139 rm -rf conftest*
12140 glibcpp_cv_func__atanf_use=no
12142 rm -f conftest*
12143 ac_ext=c
12144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12145 ac_cpp='$CPP $CPPFLAGS'
12146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12148 cross_compiling=$ac_cv_prog_cc_cross
12153 echo "$ac_t""$glibcpp_cv_func__atanf_use" 1>&6
12154 if test x$glibcpp_cv_func__atanf_use = x"yes"; then
12155 for ac_func in _atanf
12157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12158 echo "configure:12159: checking for $ac_func" >&5
12159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12160 echo $ac_n "(cached) $ac_c" 1>&6
12161 else
12162 cat > conftest.$ac_ext <<EOF
12163 #line 12164 "configure"
12164 #include "confdefs.h"
12165 /* System header to define __stub macros and hopefully few prototypes,
12166 which can conflict with char $ac_func(); below. */
12167 #include <assert.h>
12168 /* Override any gcc2 internal prototype to avoid an error. */
12169 /* We use char because int might match the return type of a gcc2
12170 builtin and then its argument prototype would still apply. */
12171 char $ac_func();
12173 int main() {
12175 /* The GNU C library defines this for functions which it implements
12176 to always fail with ENOSYS. Some functions are actually named
12177 something starting with __ and the normal name is an alias. */
12178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12179 choke me
12180 #else
12181 $ac_func();
12182 #endif
12184 ; return 0; }
12186 if { (eval echo configure:12187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12187 rm -rf conftest*
12188 eval "ac_cv_func_$ac_func=yes"
12189 else
12190 echo "configure: failed program was:" >&5
12191 cat conftest.$ac_ext >&5
12192 rm -rf conftest*
12193 eval "ac_cv_func_$ac_func=no"
12195 rm -f conftest*
12198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12199 echo "$ac_t""yes" 1>&6
12200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12201 cat >> confdefs.h <<EOF
12202 #define $ac_tr_func 1
12205 else
12206 echo "$ac_t""no" 1>&6
12208 done
12213 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
12214 echo "configure:12215: checking for _atan2f declaration" >&5
12215 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
12216 echo $ac_n "(cached) $ac_c" 1>&6
12217 else
12220 ac_ext=C
12221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12222 ac_cpp='$CXXCPP $CPPFLAGS'
12223 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12224 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12225 cross_compiling=$ac_cv_prog_cxx_cross
12227 cat > conftest.$ac_ext <<EOF
12228 #line 12229 "configure"
12229 #include "confdefs.h"
12230 #include <math.h>
12231 int main() {
12232 _atan2f(0, 0);
12233 ; return 0; }
12235 if { (eval echo configure:12236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12236 rm -rf conftest*
12237 glibcpp_cv_func__atan2f_use=yes
12238 else
12239 echo "configure: failed program was:" >&5
12240 cat conftest.$ac_ext >&5
12241 rm -rf conftest*
12242 glibcpp_cv_func__atan2f_use=no
12244 rm -f conftest*
12245 ac_ext=c
12246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12247 ac_cpp='$CPP $CPPFLAGS'
12248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12250 cross_compiling=$ac_cv_prog_cc_cross
12255 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
12256 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
12257 for ac_func in _atan2f
12259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12260 echo "configure:12261: checking for $ac_func" >&5
12261 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12262 echo $ac_n "(cached) $ac_c" 1>&6
12263 else
12264 cat > conftest.$ac_ext <<EOF
12265 #line 12266 "configure"
12266 #include "confdefs.h"
12267 /* System header to define __stub macros and hopefully few prototypes,
12268 which can conflict with char $ac_func(); below. */
12269 #include <assert.h>
12270 /* Override any gcc2 internal prototype to avoid an error. */
12271 /* We use char because int might match the return type of a gcc2
12272 builtin and then its argument prototype would still apply. */
12273 char $ac_func();
12275 int main() {
12277 /* The GNU C library defines this for functions which it implements
12278 to always fail with ENOSYS. Some functions are actually named
12279 something starting with __ and the normal name is an alias. */
12280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12281 choke me
12282 #else
12283 $ac_func();
12284 #endif
12286 ; return 0; }
12288 if { (eval echo configure:12289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12289 rm -rf conftest*
12290 eval "ac_cv_func_$ac_func=yes"
12291 else
12292 echo "configure: failed program was:" >&5
12293 cat conftest.$ac_ext >&5
12294 rm -rf conftest*
12295 eval "ac_cv_func_$ac_func=no"
12297 rm -f conftest*
12300 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12301 echo "$ac_t""yes" 1>&6
12302 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12303 cat >> confdefs.h <<EOF
12304 #define $ac_tr_func 1
12307 else
12308 echo "$ac_t""no" 1>&6
12310 done
12315 echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6
12316 echo "configure:12317: checking for _ceilf declaration" >&5
12317 if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then
12318 echo $ac_n "(cached) $ac_c" 1>&6
12319 else
12322 ac_ext=C
12323 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12324 ac_cpp='$CXXCPP $CPPFLAGS'
12325 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12326 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12327 cross_compiling=$ac_cv_prog_cxx_cross
12329 cat > conftest.$ac_ext <<EOF
12330 #line 12331 "configure"
12331 #include "confdefs.h"
12332 #include <math.h>
12333 int main() {
12334 _ceilf(0);
12335 ; return 0; }
12337 if { (eval echo configure:12338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12338 rm -rf conftest*
12339 glibcpp_cv_func__ceilf_use=yes
12340 else
12341 echo "configure: failed program was:" >&5
12342 cat conftest.$ac_ext >&5
12343 rm -rf conftest*
12344 glibcpp_cv_func__ceilf_use=no
12346 rm -f conftest*
12347 ac_ext=c
12348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12349 ac_cpp='$CPP $CPPFLAGS'
12350 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12351 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12352 cross_compiling=$ac_cv_prog_cc_cross
12357 echo "$ac_t""$glibcpp_cv_func__ceilf_use" 1>&6
12358 if test x$glibcpp_cv_func__ceilf_use = x"yes"; then
12359 for ac_func in _ceilf
12361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12362 echo "configure:12363: checking for $ac_func" >&5
12363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12364 echo $ac_n "(cached) $ac_c" 1>&6
12365 else
12366 cat > conftest.$ac_ext <<EOF
12367 #line 12368 "configure"
12368 #include "confdefs.h"
12369 /* System header to define __stub macros and hopefully few prototypes,
12370 which can conflict with char $ac_func(); below. */
12371 #include <assert.h>
12372 /* Override any gcc2 internal prototype to avoid an error. */
12373 /* We use char because int might match the return type of a gcc2
12374 builtin and then its argument prototype would still apply. */
12375 char $ac_func();
12377 int main() {
12379 /* The GNU C library defines this for functions which it implements
12380 to always fail with ENOSYS. Some functions are actually named
12381 something starting with __ and the normal name is an alias. */
12382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12383 choke me
12384 #else
12385 $ac_func();
12386 #endif
12388 ; return 0; }
12390 if { (eval echo configure:12391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12391 rm -rf conftest*
12392 eval "ac_cv_func_$ac_func=yes"
12393 else
12394 echo "configure: failed program was:" >&5
12395 cat conftest.$ac_ext >&5
12396 rm -rf conftest*
12397 eval "ac_cv_func_$ac_func=no"
12399 rm -f conftest*
12402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12403 echo "$ac_t""yes" 1>&6
12404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12405 cat >> confdefs.h <<EOF
12406 #define $ac_tr_func 1
12409 else
12410 echo "$ac_t""no" 1>&6
12412 done
12417 echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6
12418 echo "configure:12419: checking for _cosf declaration" >&5
12419 if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then
12420 echo $ac_n "(cached) $ac_c" 1>&6
12421 else
12424 ac_ext=C
12425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12426 ac_cpp='$CXXCPP $CPPFLAGS'
12427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12429 cross_compiling=$ac_cv_prog_cxx_cross
12431 cat > conftest.$ac_ext <<EOF
12432 #line 12433 "configure"
12433 #include "confdefs.h"
12434 #include <math.h>
12435 int main() {
12436 _cosf(0);
12437 ; return 0; }
12439 if { (eval echo configure:12440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12440 rm -rf conftest*
12441 glibcpp_cv_func__cosf_use=yes
12442 else
12443 echo "configure: failed program was:" >&5
12444 cat conftest.$ac_ext >&5
12445 rm -rf conftest*
12446 glibcpp_cv_func__cosf_use=no
12448 rm -f conftest*
12449 ac_ext=c
12450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12451 ac_cpp='$CPP $CPPFLAGS'
12452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12454 cross_compiling=$ac_cv_prog_cc_cross
12459 echo "$ac_t""$glibcpp_cv_func__cosf_use" 1>&6
12460 if test x$glibcpp_cv_func__cosf_use = x"yes"; then
12461 for ac_func in _cosf
12463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12464 echo "configure:12465: checking for $ac_func" >&5
12465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12466 echo $ac_n "(cached) $ac_c" 1>&6
12467 else
12468 cat > conftest.$ac_ext <<EOF
12469 #line 12470 "configure"
12470 #include "confdefs.h"
12471 /* System header to define __stub macros and hopefully few prototypes,
12472 which can conflict with char $ac_func(); below. */
12473 #include <assert.h>
12474 /* Override any gcc2 internal prototype to avoid an error. */
12475 /* We use char because int might match the return type of a gcc2
12476 builtin and then its argument prototype would still apply. */
12477 char $ac_func();
12479 int main() {
12481 /* The GNU C library defines this for functions which it implements
12482 to always fail with ENOSYS. Some functions are actually named
12483 something starting with __ and the normal name is an alias. */
12484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12485 choke me
12486 #else
12487 $ac_func();
12488 #endif
12490 ; return 0; }
12492 if { (eval echo configure:12493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12493 rm -rf conftest*
12494 eval "ac_cv_func_$ac_func=yes"
12495 else
12496 echo "configure: failed program was:" >&5
12497 cat conftest.$ac_ext >&5
12498 rm -rf conftest*
12499 eval "ac_cv_func_$ac_func=no"
12501 rm -f conftest*
12504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12505 echo "$ac_t""yes" 1>&6
12506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12507 cat >> confdefs.h <<EOF
12508 #define $ac_tr_func 1
12511 else
12512 echo "$ac_t""no" 1>&6
12514 done
12519 echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6
12520 echo "configure:12521: checking for _coshf declaration" >&5
12521 if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then
12522 echo $ac_n "(cached) $ac_c" 1>&6
12523 else
12526 ac_ext=C
12527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12528 ac_cpp='$CXXCPP $CPPFLAGS'
12529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12531 cross_compiling=$ac_cv_prog_cxx_cross
12533 cat > conftest.$ac_ext <<EOF
12534 #line 12535 "configure"
12535 #include "confdefs.h"
12536 #include <math.h>
12537 int main() {
12538 _coshf(0);
12539 ; return 0; }
12541 if { (eval echo configure:12542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12542 rm -rf conftest*
12543 glibcpp_cv_func__coshf_use=yes
12544 else
12545 echo "configure: failed program was:" >&5
12546 cat conftest.$ac_ext >&5
12547 rm -rf conftest*
12548 glibcpp_cv_func__coshf_use=no
12550 rm -f conftest*
12551 ac_ext=c
12552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12553 ac_cpp='$CPP $CPPFLAGS'
12554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12556 cross_compiling=$ac_cv_prog_cc_cross
12561 echo "$ac_t""$glibcpp_cv_func__coshf_use" 1>&6
12562 if test x$glibcpp_cv_func__coshf_use = x"yes"; then
12563 for ac_func in _coshf
12565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12566 echo "configure:12567: checking for $ac_func" >&5
12567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12568 echo $ac_n "(cached) $ac_c" 1>&6
12569 else
12570 cat > conftest.$ac_ext <<EOF
12571 #line 12572 "configure"
12572 #include "confdefs.h"
12573 /* System header to define __stub macros and hopefully few prototypes,
12574 which can conflict with char $ac_func(); below. */
12575 #include <assert.h>
12576 /* Override any gcc2 internal prototype to avoid an error. */
12577 /* We use char because int might match the return type of a gcc2
12578 builtin and then its argument prototype would still apply. */
12579 char $ac_func();
12581 int main() {
12583 /* The GNU C library defines this for functions which it implements
12584 to always fail with ENOSYS. Some functions are actually named
12585 something starting with __ and the normal name is an alias. */
12586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12587 choke me
12588 #else
12589 $ac_func();
12590 #endif
12592 ; return 0; }
12594 if { (eval echo configure:12595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12595 rm -rf conftest*
12596 eval "ac_cv_func_$ac_func=yes"
12597 else
12598 echo "configure: failed program was:" >&5
12599 cat conftest.$ac_ext >&5
12600 rm -rf conftest*
12601 eval "ac_cv_func_$ac_func=no"
12603 rm -f conftest*
12606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12607 echo "$ac_t""yes" 1>&6
12608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12609 cat >> confdefs.h <<EOF
12610 #define $ac_tr_func 1
12613 else
12614 echo "$ac_t""no" 1>&6
12616 done
12621 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12622 echo "configure:12623: checking for _expf declaration" >&5
12623 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12624 echo $ac_n "(cached) $ac_c" 1>&6
12625 else
12628 ac_ext=C
12629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12630 ac_cpp='$CXXCPP $CPPFLAGS'
12631 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12632 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12633 cross_compiling=$ac_cv_prog_cxx_cross
12635 cat > conftest.$ac_ext <<EOF
12636 #line 12637 "configure"
12637 #include "confdefs.h"
12638 #include <math.h>
12639 int main() {
12640 _expf(0);
12641 ; return 0; }
12643 if { (eval echo configure:12644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12644 rm -rf conftest*
12645 glibcpp_cv_func__expf_use=yes
12646 else
12647 echo "configure: failed program was:" >&5
12648 cat conftest.$ac_ext >&5
12649 rm -rf conftest*
12650 glibcpp_cv_func__expf_use=no
12652 rm -f conftest*
12653 ac_ext=c
12654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12655 ac_cpp='$CPP $CPPFLAGS'
12656 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12657 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12658 cross_compiling=$ac_cv_prog_cc_cross
12663 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12664 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12665 for ac_func in _expf
12667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12668 echo "configure:12669: checking for $ac_func" >&5
12669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12670 echo $ac_n "(cached) $ac_c" 1>&6
12671 else
12672 cat > conftest.$ac_ext <<EOF
12673 #line 12674 "configure"
12674 #include "confdefs.h"
12675 /* System header to define __stub macros and hopefully few prototypes,
12676 which can conflict with char $ac_func(); below. */
12677 #include <assert.h>
12678 /* Override any gcc2 internal prototype to avoid an error. */
12679 /* We use char because int might match the return type of a gcc2
12680 builtin and then its argument prototype would still apply. */
12681 char $ac_func();
12683 int main() {
12685 /* The GNU C library defines this for functions which it implements
12686 to always fail with ENOSYS. Some functions are actually named
12687 something starting with __ and the normal name is an alias. */
12688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12689 choke me
12690 #else
12691 $ac_func();
12692 #endif
12694 ; return 0; }
12696 if { (eval echo configure:12697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12697 rm -rf conftest*
12698 eval "ac_cv_func_$ac_func=yes"
12699 else
12700 echo "configure: failed program was:" >&5
12701 cat conftest.$ac_ext >&5
12702 rm -rf conftest*
12703 eval "ac_cv_func_$ac_func=no"
12705 rm -f conftest*
12708 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12709 echo "$ac_t""yes" 1>&6
12710 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12711 cat >> confdefs.h <<EOF
12712 #define $ac_tr_func 1
12715 else
12716 echo "$ac_t""no" 1>&6
12718 done
12723 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
12724 echo "configure:12725: checking for _fabsf declaration" >&5
12725 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
12726 echo $ac_n "(cached) $ac_c" 1>&6
12727 else
12730 ac_ext=C
12731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12732 ac_cpp='$CXXCPP $CPPFLAGS'
12733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12735 cross_compiling=$ac_cv_prog_cxx_cross
12737 cat > conftest.$ac_ext <<EOF
12738 #line 12739 "configure"
12739 #include "confdefs.h"
12740 #include <math.h>
12741 int main() {
12742 _fabsf(0);
12743 ; return 0; }
12745 if { (eval echo configure:12746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12746 rm -rf conftest*
12747 glibcpp_cv_func__fabsf_use=yes
12748 else
12749 echo "configure: failed program was:" >&5
12750 cat conftest.$ac_ext >&5
12751 rm -rf conftest*
12752 glibcpp_cv_func__fabsf_use=no
12754 rm -f conftest*
12755 ac_ext=c
12756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12757 ac_cpp='$CPP $CPPFLAGS'
12758 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12759 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12760 cross_compiling=$ac_cv_prog_cc_cross
12765 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
12766 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
12767 for ac_func in _fabsf
12769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12770 echo "configure:12771: checking for $ac_func" >&5
12771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12772 echo $ac_n "(cached) $ac_c" 1>&6
12773 else
12774 cat > conftest.$ac_ext <<EOF
12775 #line 12776 "configure"
12776 #include "confdefs.h"
12777 /* System header to define __stub macros and hopefully few prototypes,
12778 which can conflict with char $ac_func(); below. */
12779 #include <assert.h>
12780 /* Override any gcc2 internal prototype to avoid an error. */
12781 /* We use char because int might match the return type of a gcc2
12782 builtin and then its argument prototype would still apply. */
12783 char $ac_func();
12785 int main() {
12787 /* The GNU C library defines this for functions which it implements
12788 to always fail with ENOSYS. Some functions are actually named
12789 something starting with __ and the normal name is an alias. */
12790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12791 choke me
12792 #else
12793 $ac_func();
12794 #endif
12796 ; return 0; }
12798 if { (eval echo configure:12799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12799 rm -rf conftest*
12800 eval "ac_cv_func_$ac_func=yes"
12801 else
12802 echo "configure: failed program was:" >&5
12803 cat conftest.$ac_ext >&5
12804 rm -rf conftest*
12805 eval "ac_cv_func_$ac_func=no"
12807 rm -f conftest*
12810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12811 echo "$ac_t""yes" 1>&6
12812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12813 cat >> confdefs.h <<EOF
12814 #define $ac_tr_func 1
12817 else
12818 echo "$ac_t""no" 1>&6
12820 done
12825 echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6
12826 echo "configure:12827: checking for _floorf declaration" >&5
12827 if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then
12828 echo $ac_n "(cached) $ac_c" 1>&6
12829 else
12832 ac_ext=C
12833 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12834 ac_cpp='$CXXCPP $CPPFLAGS'
12835 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12836 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12837 cross_compiling=$ac_cv_prog_cxx_cross
12839 cat > conftest.$ac_ext <<EOF
12840 #line 12841 "configure"
12841 #include "confdefs.h"
12842 #include <math.h>
12843 int main() {
12844 _floorf(0);
12845 ; return 0; }
12847 if { (eval echo configure:12848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12848 rm -rf conftest*
12849 glibcpp_cv_func__floorf_use=yes
12850 else
12851 echo "configure: failed program was:" >&5
12852 cat conftest.$ac_ext >&5
12853 rm -rf conftest*
12854 glibcpp_cv_func__floorf_use=no
12856 rm -f conftest*
12857 ac_ext=c
12858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12859 ac_cpp='$CPP $CPPFLAGS'
12860 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12861 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12862 cross_compiling=$ac_cv_prog_cc_cross
12867 echo "$ac_t""$glibcpp_cv_func__floorf_use" 1>&6
12868 if test x$glibcpp_cv_func__floorf_use = x"yes"; then
12869 for ac_func in _floorf
12871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12872 echo "configure:12873: checking for $ac_func" >&5
12873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12874 echo $ac_n "(cached) $ac_c" 1>&6
12875 else
12876 cat > conftest.$ac_ext <<EOF
12877 #line 12878 "configure"
12878 #include "confdefs.h"
12879 /* System header to define __stub macros and hopefully few prototypes,
12880 which can conflict with char $ac_func(); below. */
12881 #include <assert.h>
12882 /* Override any gcc2 internal prototype to avoid an error. */
12883 /* We use char because int might match the return type of a gcc2
12884 builtin and then its argument prototype would still apply. */
12885 char $ac_func();
12887 int main() {
12889 /* The GNU C library defines this for functions which it implements
12890 to always fail with ENOSYS. Some functions are actually named
12891 something starting with __ and the normal name is an alias. */
12892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12893 choke me
12894 #else
12895 $ac_func();
12896 #endif
12898 ; return 0; }
12900 if { (eval echo configure:12901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12901 rm -rf conftest*
12902 eval "ac_cv_func_$ac_func=yes"
12903 else
12904 echo "configure: failed program was:" >&5
12905 cat conftest.$ac_ext >&5
12906 rm -rf conftest*
12907 eval "ac_cv_func_$ac_func=no"
12909 rm -f conftest*
12912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12913 echo "$ac_t""yes" 1>&6
12914 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12915 cat >> confdefs.h <<EOF
12916 #define $ac_tr_func 1
12919 else
12920 echo "$ac_t""no" 1>&6
12922 done
12927 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
12928 echo "configure:12929: checking for _fmodf declaration" >&5
12929 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
12930 echo $ac_n "(cached) $ac_c" 1>&6
12931 else
12934 ac_ext=C
12935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12936 ac_cpp='$CXXCPP $CPPFLAGS'
12937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12939 cross_compiling=$ac_cv_prog_cxx_cross
12941 cat > conftest.$ac_ext <<EOF
12942 #line 12943 "configure"
12943 #include "confdefs.h"
12944 #include <math.h>
12945 int main() {
12946 _fmodf(0, 0);
12947 ; return 0; }
12949 if { (eval echo configure:12950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12950 rm -rf conftest*
12951 glibcpp_cv_func__fmodf_use=yes
12952 else
12953 echo "configure: failed program was:" >&5
12954 cat conftest.$ac_ext >&5
12955 rm -rf conftest*
12956 glibcpp_cv_func__fmodf_use=no
12958 rm -f conftest*
12959 ac_ext=c
12960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12961 ac_cpp='$CPP $CPPFLAGS'
12962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12964 cross_compiling=$ac_cv_prog_cc_cross
12969 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
12970 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
12971 for ac_func in _fmodf
12973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12974 echo "configure:12975: checking for $ac_func" >&5
12975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12976 echo $ac_n "(cached) $ac_c" 1>&6
12977 else
12978 cat > conftest.$ac_ext <<EOF
12979 #line 12980 "configure"
12980 #include "confdefs.h"
12981 /* System header to define __stub macros and hopefully few prototypes,
12982 which can conflict with char $ac_func(); below. */
12983 #include <assert.h>
12984 /* Override any gcc2 internal prototype to avoid an error. */
12985 /* We use char because int might match the return type of a gcc2
12986 builtin and then its argument prototype would still apply. */
12987 char $ac_func();
12989 int main() {
12991 /* The GNU C library defines this for functions which it implements
12992 to always fail with ENOSYS. Some functions are actually named
12993 something starting with __ and the normal name is an alias. */
12994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12995 choke me
12996 #else
12997 $ac_func();
12998 #endif
13000 ; return 0; }
13002 if { (eval echo configure:13003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13003 rm -rf conftest*
13004 eval "ac_cv_func_$ac_func=yes"
13005 else
13006 echo "configure: failed program was:" >&5
13007 cat conftest.$ac_ext >&5
13008 rm -rf conftest*
13009 eval "ac_cv_func_$ac_func=no"
13011 rm -f conftest*
13014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13015 echo "$ac_t""yes" 1>&6
13016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13017 cat >> confdefs.h <<EOF
13018 #define $ac_tr_func 1
13021 else
13022 echo "$ac_t""no" 1>&6
13024 done
13029 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
13030 echo "configure:13031: checking for _frexpf declaration" >&5
13031 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13032 echo $ac_n "(cached) $ac_c" 1>&6
13033 else
13036 ac_ext=C
13037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13038 ac_cpp='$CXXCPP $CPPFLAGS'
13039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13041 cross_compiling=$ac_cv_prog_cxx_cross
13043 cat > conftest.$ac_ext <<EOF
13044 #line 13045 "configure"
13045 #include "confdefs.h"
13046 #include <math.h>
13047 int main() {
13048 _frexpf(0, 0);
13049 ; return 0; }
13051 if { (eval echo configure:13052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13052 rm -rf conftest*
13053 glibcpp_cv_func__frexpf_use=yes
13054 else
13055 echo "configure: failed program was:" >&5
13056 cat conftest.$ac_ext >&5
13057 rm -rf conftest*
13058 glibcpp_cv_func__frexpf_use=no
13060 rm -f conftest*
13061 ac_ext=c
13062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13063 ac_cpp='$CPP $CPPFLAGS'
13064 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13065 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13066 cross_compiling=$ac_cv_prog_cc_cross
13071 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13072 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13073 for ac_func in _frexpf
13075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13076 echo "configure:13077: checking for $ac_func" >&5
13077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13078 echo $ac_n "(cached) $ac_c" 1>&6
13079 else
13080 cat > conftest.$ac_ext <<EOF
13081 #line 13082 "configure"
13082 #include "confdefs.h"
13083 /* System header to define __stub macros and hopefully few prototypes,
13084 which can conflict with char $ac_func(); below. */
13085 #include <assert.h>
13086 /* Override any gcc2 internal prototype to avoid an error. */
13087 /* We use char because int might match the return type of a gcc2
13088 builtin and then its argument prototype would still apply. */
13089 char $ac_func();
13091 int main() {
13093 /* The GNU C library defines this for functions which it implements
13094 to always fail with ENOSYS. Some functions are actually named
13095 something starting with __ and the normal name is an alias. */
13096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13097 choke me
13098 #else
13099 $ac_func();
13100 #endif
13102 ; return 0; }
13104 if { (eval echo configure:13105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13105 rm -rf conftest*
13106 eval "ac_cv_func_$ac_func=yes"
13107 else
13108 echo "configure: failed program was:" >&5
13109 cat conftest.$ac_ext >&5
13110 rm -rf conftest*
13111 eval "ac_cv_func_$ac_func=no"
13113 rm -f conftest*
13116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13117 echo "$ac_t""yes" 1>&6
13118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13119 cat >> confdefs.h <<EOF
13120 #define $ac_tr_func 1
13123 else
13124 echo "$ac_t""no" 1>&6
13126 done
13131 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
13132 echo "configure:13133: checking for _ldexpf declaration" >&5
13133 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
13134 echo $ac_n "(cached) $ac_c" 1>&6
13135 else
13138 ac_ext=C
13139 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13140 ac_cpp='$CXXCPP $CPPFLAGS'
13141 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13142 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13143 cross_compiling=$ac_cv_prog_cxx_cross
13145 cat > conftest.$ac_ext <<EOF
13146 #line 13147 "configure"
13147 #include "confdefs.h"
13148 #include <math.h>
13149 int main() {
13150 _ldexpf(0, 0);
13151 ; return 0; }
13153 if { (eval echo configure:13154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13154 rm -rf conftest*
13155 glibcpp_cv_func__ldexpf_use=yes
13156 else
13157 echo "configure: failed program was:" >&5
13158 cat conftest.$ac_ext >&5
13159 rm -rf conftest*
13160 glibcpp_cv_func__ldexpf_use=no
13162 rm -f conftest*
13163 ac_ext=c
13164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13165 ac_cpp='$CPP $CPPFLAGS'
13166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13168 cross_compiling=$ac_cv_prog_cc_cross
13173 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
13174 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
13175 for ac_func in _ldexpf
13177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13178 echo "configure:13179: checking for $ac_func" >&5
13179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13180 echo $ac_n "(cached) $ac_c" 1>&6
13181 else
13182 cat > conftest.$ac_ext <<EOF
13183 #line 13184 "configure"
13184 #include "confdefs.h"
13185 /* System header to define __stub macros and hopefully few prototypes,
13186 which can conflict with char $ac_func(); below. */
13187 #include <assert.h>
13188 /* Override any gcc2 internal prototype to avoid an error. */
13189 /* We use char because int might match the return type of a gcc2
13190 builtin and then its argument prototype would still apply. */
13191 char $ac_func();
13193 int main() {
13195 /* The GNU C library defines this for functions which it implements
13196 to always fail with ENOSYS. Some functions are actually named
13197 something starting with __ and the normal name is an alias. */
13198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13199 choke me
13200 #else
13201 $ac_func();
13202 #endif
13204 ; return 0; }
13206 if { (eval echo configure:13207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13207 rm -rf conftest*
13208 eval "ac_cv_func_$ac_func=yes"
13209 else
13210 echo "configure: failed program was:" >&5
13211 cat conftest.$ac_ext >&5
13212 rm -rf conftest*
13213 eval "ac_cv_func_$ac_func=no"
13215 rm -f conftest*
13218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13219 echo "$ac_t""yes" 1>&6
13220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13221 cat >> confdefs.h <<EOF
13222 #define $ac_tr_func 1
13225 else
13226 echo "$ac_t""no" 1>&6
13228 done
13233 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
13234 echo "configure:13235: checking for _logf declaration" >&5
13235 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
13236 echo $ac_n "(cached) $ac_c" 1>&6
13237 else
13240 ac_ext=C
13241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13242 ac_cpp='$CXXCPP $CPPFLAGS'
13243 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13244 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13245 cross_compiling=$ac_cv_prog_cxx_cross
13247 cat > conftest.$ac_ext <<EOF
13248 #line 13249 "configure"
13249 #include "confdefs.h"
13250 #include <math.h>
13251 int main() {
13252 _logf(0);
13253 ; return 0; }
13255 if { (eval echo configure:13256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13256 rm -rf conftest*
13257 glibcpp_cv_func__logf_use=yes
13258 else
13259 echo "configure: failed program was:" >&5
13260 cat conftest.$ac_ext >&5
13261 rm -rf conftest*
13262 glibcpp_cv_func__logf_use=no
13264 rm -f conftest*
13265 ac_ext=c
13266 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13267 ac_cpp='$CPP $CPPFLAGS'
13268 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13269 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13270 cross_compiling=$ac_cv_prog_cc_cross
13275 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
13276 if test x$glibcpp_cv_func__logf_use = x"yes"; then
13277 for ac_func in _logf
13279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13280 echo "configure:13281: checking for $ac_func" >&5
13281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13282 echo $ac_n "(cached) $ac_c" 1>&6
13283 else
13284 cat > conftest.$ac_ext <<EOF
13285 #line 13286 "configure"
13286 #include "confdefs.h"
13287 /* System header to define __stub macros and hopefully few prototypes,
13288 which can conflict with char $ac_func(); below. */
13289 #include <assert.h>
13290 /* Override any gcc2 internal prototype to avoid an error. */
13291 /* We use char because int might match the return type of a gcc2
13292 builtin and then its argument prototype would still apply. */
13293 char $ac_func();
13295 int main() {
13297 /* The GNU C library defines this for functions which it implements
13298 to always fail with ENOSYS. Some functions are actually named
13299 something starting with __ and the normal name is an alias. */
13300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13301 choke me
13302 #else
13303 $ac_func();
13304 #endif
13306 ; return 0; }
13308 if { (eval echo configure:13309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13309 rm -rf conftest*
13310 eval "ac_cv_func_$ac_func=yes"
13311 else
13312 echo "configure: failed program was:" >&5
13313 cat conftest.$ac_ext >&5
13314 rm -rf conftest*
13315 eval "ac_cv_func_$ac_func=no"
13317 rm -f conftest*
13320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13321 echo "$ac_t""yes" 1>&6
13322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13323 cat >> confdefs.h <<EOF
13324 #define $ac_tr_func 1
13327 else
13328 echo "$ac_t""no" 1>&6
13330 done
13335 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
13336 echo "configure:13337: checking for _log10f declaration" >&5
13337 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
13338 echo $ac_n "(cached) $ac_c" 1>&6
13339 else
13342 ac_ext=C
13343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13344 ac_cpp='$CXXCPP $CPPFLAGS'
13345 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13346 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13347 cross_compiling=$ac_cv_prog_cxx_cross
13349 cat > conftest.$ac_ext <<EOF
13350 #line 13351 "configure"
13351 #include "confdefs.h"
13352 #include <math.h>
13353 int main() {
13354 _log10f(0);
13355 ; return 0; }
13357 if { (eval echo configure:13358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13358 rm -rf conftest*
13359 glibcpp_cv_func__log10f_use=yes
13360 else
13361 echo "configure: failed program was:" >&5
13362 cat conftest.$ac_ext >&5
13363 rm -rf conftest*
13364 glibcpp_cv_func__log10f_use=no
13366 rm -f conftest*
13367 ac_ext=c
13368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13369 ac_cpp='$CPP $CPPFLAGS'
13370 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13371 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13372 cross_compiling=$ac_cv_prog_cc_cross
13377 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
13378 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
13379 for ac_func in _log10f
13381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13382 echo "configure:13383: checking for $ac_func" >&5
13383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13384 echo $ac_n "(cached) $ac_c" 1>&6
13385 else
13386 cat > conftest.$ac_ext <<EOF
13387 #line 13388 "configure"
13388 #include "confdefs.h"
13389 /* System header to define __stub macros and hopefully few prototypes,
13390 which can conflict with char $ac_func(); below. */
13391 #include <assert.h>
13392 /* Override any gcc2 internal prototype to avoid an error. */
13393 /* We use char because int might match the return type of a gcc2
13394 builtin and then its argument prototype would still apply. */
13395 char $ac_func();
13397 int main() {
13399 /* The GNU C library defines this for functions which it implements
13400 to always fail with ENOSYS. Some functions are actually named
13401 something starting with __ and the normal name is an alias. */
13402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13403 choke me
13404 #else
13405 $ac_func();
13406 #endif
13408 ; return 0; }
13410 if { (eval echo configure:13411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13411 rm -rf conftest*
13412 eval "ac_cv_func_$ac_func=yes"
13413 else
13414 echo "configure: failed program was:" >&5
13415 cat conftest.$ac_ext >&5
13416 rm -rf conftest*
13417 eval "ac_cv_func_$ac_func=no"
13419 rm -f conftest*
13422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13423 echo "$ac_t""yes" 1>&6
13424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13425 cat >> confdefs.h <<EOF
13426 #define $ac_tr_func 1
13429 else
13430 echo "$ac_t""no" 1>&6
13432 done
13437 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
13438 echo "configure:13439: checking for _modff declaration" >&5
13439 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
13440 echo $ac_n "(cached) $ac_c" 1>&6
13441 else
13444 ac_ext=C
13445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13446 ac_cpp='$CXXCPP $CPPFLAGS'
13447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13449 cross_compiling=$ac_cv_prog_cxx_cross
13451 cat > conftest.$ac_ext <<EOF
13452 #line 13453 "configure"
13453 #include "confdefs.h"
13454 #include <math.h>
13455 int main() {
13456 _modff(0, 0);
13457 ; return 0; }
13459 if { (eval echo configure:13460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13460 rm -rf conftest*
13461 glibcpp_cv_func__modff_use=yes
13462 else
13463 echo "configure: failed program was:" >&5
13464 cat conftest.$ac_ext >&5
13465 rm -rf conftest*
13466 glibcpp_cv_func__modff_use=no
13468 rm -f conftest*
13469 ac_ext=c
13470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13471 ac_cpp='$CPP $CPPFLAGS'
13472 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13473 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13474 cross_compiling=$ac_cv_prog_cc_cross
13479 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
13480 if test x$glibcpp_cv_func__modff_use = x"yes"; then
13481 for ac_func in _modff
13483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13484 echo "configure:13485: checking for $ac_func" >&5
13485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13486 echo $ac_n "(cached) $ac_c" 1>&6
13487 else
13488 cat > conftest.$ac_ext <<EOF
13489 #line 13490 "configure"
13490 #include "confdefs.h"
13491 /* System header to define __stub macros and hopefully few prototypes,
13492 which can conflict with char $ac_func(); below. */
13493 #include <assert.h>
13494 /* Override any gcc2 internal prototype to avoid an error. */
13495 /* We use char because int might match the return type of a gcc2
13496 builtin and then its argument prototype would still apply. */
13497 char $ac_func();
13499 int main() {
13501 /* The GNU C library defines this for functions which it implements
13502 to always fail with ENOSYS. Some functions are actually named
13503 something starting with __ and the normal name is an alias. */
13504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13505 choke me
13506 #else
13507 $ac_func();
13508 #endif
13510 ; return 0; }
13512 if { (eval echo configure:13513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13513 rm -rf conftest*
13514 eval "ac_cv_func_$ac_func=yes"
13515 else
13516 echo "configure: failed program was:" >&5
13517 cat conftest.$ac_ext >&5
13518 rm -rf conftest*
13519 eval "ac_cv_func_$ac_func=no"
13521 rm -f conftest*
13524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13525 echo "$ac_t""yes" 1>&6
13526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13527 cat >> confdefs.h <<EOF
13528 #define $ac_tr_func 1
13531 else
13532 echo "$ac_t""no" 1>&6
13534 done
13539 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
13540 echo "configure:13541: checking for _powf declaration" >&5
13541 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
13542 echo $ac_n "(cached) $ac_c" 1>&6
13543 else
13546 ac_ext=C
13547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13548 ac_cpp='$CXXCPP $CPPFLAGS'
13549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13551 cross_compiling=$ac_cv_prog_cxx_cross
13553 cat > conftest.$ac_ext <<EOF
13554 #line 13555 "configure"
13555 #include "confdefs.h"
13556 #include <math.h>
13557 int main() {
13558 _powf(0, 0);
13559 ; return 0; }
13561 if { (eval echo configure:13562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13562 rm -rf conftest*
13563 glibcpp_cv_func__powf_use=yes
13564 else
13565 echo "configure: failed program was:" >&5
13566 cat conftest.$ac_ext >&5
13567 rm -rf conftest*
13568 glibcpp_cv_func__powf_use=no
13570 rm -f conftest*
13571 ac_ext=c
13572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13573 ac_cpp='$CPP $CPPFLAGS'
13574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13576 cross_compiling=$ac_cv_prog_cc_cross
13581 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
13582 if test x$glibcpp_cv_func__powf_use = x"yes"; then
13583 for ac_func in _powf
13585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13586 echo "configure:13587: checking for $ac_func" >&5
13587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13588 echo $ac_n "(cached) $ac_c" 1>&6
13589 else
13590 cat > conftest.$ac_ext <<EOF
13591 #line 13592 "configure"
13592 #include "confdefs.h"
13593 /* System header to define __stub macros and hopefully few prototypes,
13594 which can conflict with char $ac_func(); below. */
13595 #include <assert.h>
13596 /* Override any gcc2 internal prototype to avoid an error. */
13597 /* We use char because int might match the return type of a gcc2
13598 builtin and then its argument prototype would still apply. */
13599 char $ac_func();
13601 int main() {
13603 /* The GNU C library defines this for functions which it implements
13604 to always fail with ENOSYS. Some functions are actually named
13605 something starting with __ and the normal name is an alias. */
13606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13607 choke me
13608 #else
13609 $ac_func();
13610 #endif
13612 ; return 0; }
13614 if { (eval echo configure:13615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13615 rm -rf conftest*
13616 eval "ac_cv_func_$ac_func=yes"
13617 else
13618 echo "configure: failed program was:" >&5
13619 cat conftest.$ac_ext >&5
13620 rm -rf conftest*
13621 eval "ac_cv_func_$ac_func=no"
13623 rm -f conftest*
13626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13627 echo "$ac_t""yes" 1>&6
13628 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13629 cat >> confdefs.h <<EOF
13630 #define $ac_tr_func 1
13633 else
13634 echo "$ac_t""no" 1>&6
13636 done
13641 echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6
13642 echo "configure:13643: checking for _sinf declaration" >&5
13643 if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then
13644 echo $ac_n "(cached) $ac_c" 1>&6
13645 else
13648 ac_ext=C
13649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13650 ac_cpp='$CXXCPP $CPPFLAGS'
13651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13653 cross_compiling=$ac_cv_prog_cxx_cross
13655 cat > conftest.$ac_ext <<EOF
13656 #line 13657 "configure"
13657 #include "confdefs.h"
13658 #include <math.h>
13659 int main() {
13660 _sinf(0);
13661 ; return 0; }
13663 if { (eval echo configure:13664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13664 rm -rf conftest*
13665 glibcpp_cv_func__sinf_use=yes
13666 else
13667 echo "configure: failed program was:" >&5
13668 cat conftest.$ac_ext >&5
13669 rm -rf conftest*
13670 glibcpp_cv_func__sinf_use=no
13672 rm -f conftest*
13673 ac_ext=c
13674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13675 ac_cpp='$CPP $CPPFLAGS'
13676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13678 cross_compiling=$ac_cv_prog_cc_cross
13683 echo "$ac_t""$glibcpp_cv_func__sinf_use" 1>&6
13684 if test x$glibcpp_cv_func__sinf_use = x"yes"; then
13685 for ac_func in _sinf
13687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13688 echo "configure:13689: checking for $ac_func" >&5
13689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13690 echo $ac_n "(cached) $ac_c" 1>&6
13691 else
13692 cat > conftest.$ac_ext <<EOF
13693 #line 13694 "configure"
13694 #include "confdefs.h"
13695 /* System header to define __stub macros and hopefully few prototypes,
13696 which can conflict with char $ac_func(); below. */
13697 #include <assert.h>
13698 /* Override any gcc2 internal prototype to avoid an error. */
13699 /* We use char because int might match the return type of a gcc2
13700 builtin and then its argument prototype would still apply. */
13701 char $ac_func();
13703 int main() {
13705 /* The GNU C library defines this for functions which it implements
13706 to always fail with ENOSYS. Some functions are actually named
13707 something starting with __ and the normal name is an alias. */
13708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13709 choke me
13710 #else
13711 $ac_func();
13712 #endif
13714 ; return 0; }
13716 if { (eval echo configure:13717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13717 rm -rf conftest*
13718 eval "ac_cv_func_$ac_func=yes"
13719 else
13720 echo "configure: failed program was:" >&5
13721 cat conftest.$ac_ext >&5
13722 rm -rf conftest*
13723 eval "ac_cv_func_$ac_func=no"
13725 rm -f conftest*
13728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13729 echo "$ac_t""yes" 1>&6
13730 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13731 cat >> confdefs.h <<EOF
13732 #define $ac_tr_func 1
13735 else
13736 echo "$ac_t""no" 1>&6
13738 done
13743 echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6
13744 echo "configure:13745: checking for _sinhf declaration" >&5
13745 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then
13746 echo $ac_n "(cached) $ac_c" 1>&6
13747 else
13750 ac_ext=C
13751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13752 ac_cpp='$CXXCPP $CPPFLAGS'
13753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13755 cross_compiling=$ac_cv_prog_cxx_cross
13757 cat > conftest.$ac_ext <<EOF
13758 #line 13759 "configure"
13759 #include "confdefs.h"
13760 #include <math.h>
13761 int main() {
13762 _sinhf(0);
13763 ; return 0; }
13765 if { (eval echo configure:13766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13766 rm -rf conftest*
13767 glibcpp_cv_func__sinhf_use=yes
13768 else
13769 echo "configure: failed program was:" >&5
13770 cat conftest.$ac_ext >&5
13771 rm -rf conftest*
13772 glibcpp_cv_func__sinhf_use=no
13774 rm -f conftest*
13775 ac_ext=c
13776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13777 ac_cpp='$CPP $CPPFLAGS'
13778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13780 cross_compiling=$ac_cv_prog_cc_cross
13785 echo "$ac_t""$glibcpp_cv_func__sinhf_use" 1>&6
13786 if test x$glibcpp_cv_func__sinhf_use = x"yes"; then
13787 for ac_func in _sinhf
13789 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13790 echo "configure:13791: checking for $ac_func" >&5
13791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13792 echo $ac_n "(cached) $ac_c" 1>&6
13793 else
13794 cat > conftest.$ac_ext <<EOF
13795 #line 13796 "configure"
13796 #include "confdefs.h"
13797 /* System header to define __stub macros and hopefully few prototypes,
13798 which can conflict with char $ac_func(); below. */
13799 #include <assert.h>
13800 /* Override any gcc2 internal prototype to avoid an error. */
13801 /* We use char because int might match the return type of a gcc2
13802 builtin and then its argument prototype would still apply. */
13803 char $ac_func();
13805 int main() {
13807 /* The GNU C library defines this for functions which it implements
13808 to always fail with ENOSYS. Some functions are actually named
13809 something starting with __ and the normal name is an alias. */
13810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13811 choke me
13812 #else
13813 $ac_func();
13814 #endif
13816 ; return 0; }
13818 if { (eval echo configure:13819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13819 rm -rf conftest*
13820 eval "ac_cv_func_$ac_func=yes"
13821 else
13822 echo "configure: failed program was:" >&5
13823 cat conftest.$ac_ext >&5
13824 rm -rf conftest*
13825 eval "ac_cv_func_$ac_func=no"
13827 rm -f conftest*
13830 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13831 echo "$ac_t""yes" 1>&6
13832 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13833 cat >> confdefs.h <<EOF
13834 #define $ac_tr_func 1
13837 else
13838 echo "$ac_t""no" 1>&6
13840 done
13845 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
13846 echo "configure:13847: checking for _sqrtf declaration" >&5
13847 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
13848 echo $ac_n "(cached) $ac_c" 1>&6
13849 else
13852 ac_ext=C
13853 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13854 ac_cpp='$CXXCPP $CPPFLAGS'
13855 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13856 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13857 cross_compiling=$ac_cv_prog_cxx_cross
13859 cat > conftest.$ac_ext <<EOF
13860 #line 13861 "configure"
13861 #include "confdefs.h"
13862 #include <math.h>
13863 int main() {
13864 _sqrtf(0);
13865 ; return 0; }
13867 if { (eval echo configure:13868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13868 rm -rf conftest*
13869 glibcpp_cv_func__sqrtf_use=yes
13870 else
13871 echo "configure: failed program was:" >&5
13872 cat conftest.$ac_ext >&5
13873 rm -rf conftest*
13874 glibcpp_cv_func__sqrtf_use=no
13876 rm -f conftest*
13877 ac_ext=c
13878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13881 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13882 cross_compiling=$ac_cv_prog_cc_cross
13887 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
13888 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
13889 for ac_func in _sqrtf
13891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13892 echo "configure:13893: checking for $ac_func" >&5
13893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13894 echo $ac_n "(cached) $ac_c" 1>&6
13895 else
13896 cat > conftest.$ac_ext <<EOF
13897 #line 13898 "configure"
13898 #include "confdefs.h"
13899 /* System header to define __stub macros and hopefully few prototypes,
13900 which can conflict with char $ac_func(); below. */
13901 #include <assert.h>
13902 /* Override any gcc2 internal prototype to avoid an error. */
13903 /* We use char because int might match the return type of a gcc2
13904 builtin and then its argument prototype would still apply. */
13905 char $ac_func();
13907 int main() {
13909 /* The GNU C library defines this for functions which it implements
13910 to always fail with ENOSYS. Some functions are actually named
13911 something starting with __ and the normal name is an alias. */
13912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13913 choke me
13914 #else
13915 $ac_func();
13916 #endif
13918 ; return 0; }
13920 if { (eval echo configure:13921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13921 rm -rf conftest*
13922 eval "ac_cv_func_$ac_func=yes"
13923 else
13924 echo "configure: failed program was:" >&5
13925 cat conftest.$ac_ext >&5
13926 rm -rf conftest*
13927 eval "ac_cv_func_$ac_func=no"
13929 rm -f conftest*
13932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13933 echo "$ac_t""yes" 1>&6
13934 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13935 cat >> confdefs.h <<EOF
13936 #define $ac_tr_func 1
13939 else
13940 echo "$ac_t""no" 1>&6
13942 done
13947 echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6
13948 echo "configure:13949: checking for _tanf declaration" >&5
13949 if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then
13950 echo $ac_n "(cached) $ac_c" 1>&6
13951 else
13954 ac_ext=C
13955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13956 ac_cpp='$CXXCPP $CPPFLAGS'
13957 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13958 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13959 cross_compiling=$ac_cv_prog_cxx_cross
13961 cat > conftest.$ac_ext <<EOF
13962 #line 13963 "configure"
13963 #include "confdefs.h"
13964 #include <math.h>
13965 int main() {
13966 _tanf(0);
13967 ; return 0; }
13969 if { (eval echo configure:13970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13970 rm -rf conftest*
13971 glibcpp_cv_func__tanf_use=yes
13972 else
13973 echo "configure: failed program was:" >&5
13974 cat conftest.$ac_ext >&5
13975 rm -rf conftest*
13976 glibcpp_cv_func__tanf_use=no
13978 rm -f conftest*
13979 ac_ext=c
13980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13981 ac_cpp='$CPP $CPPFLAGS'
13982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13984 cross_compiling=$ac_cv_prog_cc_cross
13989 echo "$ac_t""$glibcpp_cv_func__tanf_use" 1>&6
13990 if test x$glibcpp_cv_func__tanf_use = x"yes"; then
13991 for ac_func in _tanf
13993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13994 echo "configure:13995: checking for $ac_func" >&5
13995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13996 echo $ac_n "(cached) $ac_c" 1>&6
13997 else
13998 cat > conftest.$ac_ext <<EOF
13999 #line 14000 "configure"
14000 #include "confdefs.h"
14001 /* System header to define __stub macros and hopefully few prototypes,
14002 which can conflict with char $ac_func(); below. */
14003 #include <assert.h>
14004 /* Override any gcc2 internal prototype to avoid an error. */
14005 /* We use char because int might match the return type of a gcc2
14006 builtin and then its argument prototype would still apply. */
14007 char $ac_func();
14009 int main() {
14011 /* The GNU C library defines this for functions which it implements
14012 to always fail with ENOSYS. Some functions are actually named
14013 something starting with __ and the normal name is an alias. */
14014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14015 choke me
14016 #else
14017 $ac_func();
14018 #endif
14020 ; return 0; }
14022 if { (eval echo configure:14023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14023 rm -rf conftest*
14024 eval "ac_cv_func_$ac_func=yes"
14025 else
14026 echo "configure: failed program was:" >&5
14027 cat conftest.$ac_ext >&5
14028 rm -rf conftest*
14029 eval "ac_cv_func_$ac_func=no"
14031 rm -f conftest*
14034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14035 echo "$ac_t""yes" 1>&6
14036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14037 cat >> confdefs.h <<EOF
14038 #define $ac_tr_func 1
14041 else
14042 echo "$ac_t""no" 1>&6
14044 done
14049 echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6
14050 echo "configure:14051: checking for _tanhf declaration" >&5
14051 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then
14052 echo $ac_n "(cached) $ac_c" 1>&6
14053 else
14056 ac_ext=C
14057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14058 ac_cpp='$CXXCPP $CPPFLAGS'
14059 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14060 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14061 cross_compiling=$ac_cv_prog_cxx_cross
14063 cat > conftest.$ac_ext <<EOF
14064 #line 14065 "configure"
14065 #include "confdefs.h"
14066 #include <math.h>
14067 int main() {
14068 _tanhf(0);
14069 ; return 0; }
14071 if { (eval echo configure:14072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14072 rm -rf conftest*
14073 glibcpp_cv_func__tanhf_use=yes
14074 else
14075 echo "configure: failed program was:" >&5
14076 cat conftest.$ac_ext >&5
14077 rm -rf conftest*
14078 glibcpp_cv_func__tanhf_use=no
14080 rm -f conftest*
14081 ac_ext=c
14082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14083 ac_cpp='$CPP $CPPFLAGS'
14084 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14085 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14086 cross_compiling=$ac_cv_prog_cc_cross
14091 echo "$ac_t""$glibcpp_cv_func__tanhf_use" 1>&6
14092 if test x$glibcpp_cv_func__tanhf_use = x"yes"; then
14093 for ac_func in _tanhf
14095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14096 echo "configure:14097: checking for $ac_func" >&5
14097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14098 echo $ac_n "(cached) $ac_c" 1>&6
14099 else
14100 cat > conftest.$ac_ext <<EOF
14101 #line 14102 "configure"
14102 #include "confdefs.h"
14103 /* System header to define __stub macros and hopefully few prototypes,
14104 which can conflict with char $ac_func(); below. */
14105 #include <assert.h>
14106 /* Override any gcc2 internal prototype to avoid an error. */
14107 /* We use char because int might match the return type of a gcc2
14108 builtin and then its argument prototype would still apply. */
14109 char $ac_func();
14111 int main() {
14113 /* The GNU C library defines this for functions which it implements
14114 to always fail with ENOSYS. Some functions are actually named
14115 something starting with __ and the normal name is an alias. */
14116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14117 choke me
14118 #else
14119 $ac_func();
14120 #endif
14122 ; return 0; }
14124 if { (eval echo configure:14125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14125 rm -rf conftest*
14126 eval "ac_cv_func_$ac_func=yes"
14127 else
14128 echo "configure: failed program was:" >&5
14129 cat conftest.$ac_ext >&5
14130 rm -rf conftest*
14131 eval "ac_cv_func_$ac_func=no"
14133 rm -f conftest*
14136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14137 echo "$ac_t""yes" 1>&6
14138 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14139 cat >> confdefs.h <<EOF
14140 #define $ac_tr_func 1
14143 else
14144 echo "$ac_t""no" 1>&6
14146 done
14151 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
14152 echo "configure:14153: checking for _sincosf declaration" >&5
14153 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
14154 echo $ac_n "(cached) $ac_c" 1>&6
14155 else
14158 ac_ext=C
14159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14160 ac_cpp='$CXXCPP $CPPFLAGS'
14161 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14162 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14163 cross_compiling=$ac_cv_prog_cxx_cross
14165 cat > conftest.$ac_ext <<EOF
14166 #line 14167 "configure"
14167 #include "confdefs.h"
14168 #include <math.h>
14169 int main() {
14170 _sincosf(0, 0, 0);
14171 ; return 0; }
14173 if { (eval echo configure:14174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14174 rm -rf conftest*
14175 glibcpp_cv_func__sincosf_use=yes
14176 else
14177 echo "configure: failed program was:" >&5
14178 cat conftest.$ac_ext >&5
14179 rm -rf conftest*
14180 glibcpp_cv_func__sincosf_use=no
14182 rm -f conftest*
14183 ac_ext=c
14184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14185 ac_cpp='$CPP $CPPFLAGS'
14186 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14187 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14188 cross_compiling=$ac_cv_prog_cc_cross
14193 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
14194 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
14195 for ac_func in _sincosf
14197 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14198 echo "configure:14199: checking for $ac_func" >&5
14199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14200 echo $ac_n "(cached) $ac_c" 1>&6
14201 else
14202 cat > conftest.$ac_ext <<EOF
14203 #line 14204 "configure"
14204 #include "confdefs.h"
14205 /* System header to define __stub macros and hopefully few prototypes,
14206 which can conflict with char $ac_func(); below. */
14207 #include <assert.h>
14208 /* Override any gcc2 internal prototype to avoid an error. */
14209 /* We use char because int might match the return type of a gcc2
14210 builtin and then its argument prototype would still apply. */
14211 char $ac_func();
14213 int main() {
14215 /* The GNU C library defines this for functions which it implements
14216 to always fail with ENOSYS. Some functions are actually named
14217 something starting with __ and the normal name is an alias. */
14218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14219 choke me
14220 #else
14221 $ac_func();
14222 #endif
14224 ; return 0; }
14226 if { (eval echo configure:14227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14227 rm -rf conftest*
14228 eval "ac_cv_func_$ac_func=yes"
14229 else
14230 echo "configure: failed program was:" >&5
14231 cat conftest.$ac_ext >&5
14232 rm -rf conftest*
14233 eval "ac_cv_func_$ac_func=no"
14235 rm -f conftest*
14238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14239 echo "$ac_t""yes" 1>&6
14240 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14241 cat >> confdefs.h <<EOF
14242 #define $ac_tr_func 1
14245 else
14246 echo "$ac_t""no" 1>&6
14248 done
14253 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
14254 echo "configure:14255: checking for _finitef declaration" >&5
14255 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
14256 echo $ac_n "(cached) $ac_c" 1>&6
14257 else
14260 ac_ext=C
14261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14262 ac_cpp='$CXXCPP $CPPFLAGS'
14263 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14264 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14265 cross_compiling=$ac_cv_prog_cxx_cross
14267 cat > conftest.$ac_ext <<EOF
14268 #line 14269 "configure"
14269 #include "confdefs.h"
14270 #include <math.h>
14271 int main() {
14272 _finitef(0);
14273 ; return 0; }
14275 if { (eval echo configure:14276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14276 rm -rf conftest*
14277 glibcpp_cv_func__finitef_use=yes
14278 else
14279 echo "configure: failed program was:" >&5
14280 cat conftest.$ac_ext >&5
14281 rm -rf conftest*
14282 glibcpp_cv_func__finitef_use=no
14284 rm -f conftest*
14285 ac_ext=c
14286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14287 ac_cpp='$CPP $CPPFLAGS'
14288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14290 cross_compiling=$ac_cv_prog_cc_cross
14295 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
14296 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
14297 for ac_func in _finitef
14299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14300 echo "configure:14301: checking for $ac_func" >&5
14301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14302 echo $ac_n "(cached) $ac_c" 1>&6
14303 else
14304 cat > conftest.$ac_ext <<EOF
14305 #line 14306 "configure"
14306 #include "confdefs.h"
14307 /* System header to define __stub macros and hopefully few prototypes,
14308 which can conflict with char $ac_func(); below. */
14309 #include <assert.h>
14310 /* Override any gcc2 internal prototype to avoid an error. */
14311 /* We use char because int might match the return type of a gcc2
14312 builtin and then its argument prototype would still apply. */
14313 char $ac_func();
14315 int main() {
14317 /* The GNU C library defines this for functions which it implements
14318 to always fail with ENOSYS. Some functions are actually named
14319 something starting with __ and the normal name is an alias. */
14320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14321 choke me
14322 #else
14323 $ac_func();
14324 #endif
14326 ; return 0; }
14328 if { (eval echo configure:14329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14329 rm -rf conftest*
14330 eval "ac_cv_func_$ac_func=yes"
14331 else
14332 echo "configure: failed program was:" >&5
14333 cat conftest.$ac_ext >&5
14334 rm -rf conftest*
14335 eval "ac_cv_func_$ac_func=no"
14337 rm -f conftest*
14340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14341 echo "$ac_t""yes" 1>&6
14342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14343 cat >> confdefs.h <<EOF
14344 #define $ac_tr_func 1
14347 else
14348 echo "$ac_t""no" 1>&6
14350 done
14356 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
14357 echo "configure:14358: checking for _isnanl declaration" >&5
14358 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
14359 echo $ac_n "(cached) $ac_c" 1>&6
14360 else
14363 ac_ext=C
14364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14365 ac_cpp='$CXXCPP $CPPFLAGS'
14366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14367 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14368 cross_compiling=$ac_cv_prog_cxx_cross
14370 cat > conftest.$ac_ext <<EOF
14371 #line 14372 "configure"
14372 #include "confdefs.h"
14373 #include <math.h>
14374 int main() {
14375 _isnanl(0);
14376 ; return 0; }
14378 if { (eval echo configure:14379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14379 rm -rf conftest*
14380 glibcpp_cv_func__isnanl_use=yes
14381 else
14382 echo "configure: failed program was:" >&5
14383 cat conftest.$ac_ext >&5
14384 rm -rf conftest*
14385 glibcpp_cv_func__isnanl_use=no
14387 rm -f conftest*
14388 ac_ext=c
14389 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14390 ac_cpp='$CPP $CPPFLAGS'
14391 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14392 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14393 cross_compiling=$ac_cv_prog_cc_cross
14398 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
14399 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
14400 for ac_func in _isnanl
14402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14403 echo "configure:14404: checking for $ac_func" >&5
14404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14405 echo $ac_n "(cached) $ac_c" 1>&6
14406 else
14407 cat > conftest.$ac_ext <<EOF
14408 #line 14409 "configure"
14409 #include "confdefs.h"
14410 /* System header to define __stub macros and hopefully few prototypes,
14411 which can conflict with char $ac_func(); below. */
14412 #include <assert.h>
14413 /* Override any gcc2 internal prototype to avoid an error. */
14414 /* We use char because int might match the return type of a gcc2
14415 builtin and then its argument prototype would still apply. */
14416 char $ac_func();
14418 int main() {
14420 /* The GNU C library defines this for functions which it implements
14421 to always fail with ENOSYS. Some functions are actually named
14422 something starting with __ and the normal name is an alias. */
14423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14424 choke me
14425 #else
14426 $ac_func();
14427 #endif
14429 ; return 0; }
14431 if { (eval echo configure:14432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14432 rm -rf conftest*
14433 eval "ac_cv_func_$ac_func=yes"
14434 else
14435 echo "configure: failed program was:" >&5
14436 cat conftest.$ac_ext >&5
14437 rm -rf conftest*
14438 eval "ac_cv_func_$ac_func=no"
14440 rm -f conftest*
14443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14444 echo "$ac_t""yes" 1>&6
14445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14446 cat >> confdefs.h <<EOF
14447 #define $ac_tr_func 1
14450 else
14451 echo "$ac_t""no" 1>&6
14453 done
14458 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
14459 echo "configure:14460: checking for _isinfl declaration" >&5
14460 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
14461 echo $ac_n "(cached) $ac_c" 1>&6
14462 else
14465 ac_ext=C
14466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14467 ac_cpp='$CXXCPP $CPPFLAGS'
14468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14470 cross_compiling=$ac_cv_prog_cxx_cross
14472 cat > conftest.$ac_ext <<EOF
14473 #line 14474 "configure"
14474 #include "confdefs.h"
14475 #include <math.h>
14476 int main() {
14477 _isinfl(0);
14478 ; return 0; }
14480 if { (eval echo configure:14481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14481 rm -rf conftest*
14482 glibcpp_cv_func__isinfl_use=yes
14483 else
14484 echo "configure: failed program was:" >&5
14485 cat conftest.$ac_ext >&5
14486 rm -rf conftest*
14487 glibcpp_cv_func__isinfl_use=no
14489 rm -f conftest*
14490 ac_ext=c
14491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14492 ac_cpp='$CPP $CPPFLAGS'
14493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14495 cross_compiling=$ac_cv_prog_cc_cross
14500 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14501 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14502 for ac_func in _isinfl
14504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14505 echo "configure:14506: checking for $ac_func" >&5
14506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14507 echo $ac_n "(cached) $ac_c" 1>&6
14508 else
14509 cat > conftest.$ac_ext <<EOF
14510 #line 14511 "configure"
14511 #include "confdefs.h"
14512 /* System header to define __stub macros and hopefully few prototypes,
14513 which can conflict with char $ac_func(); below. */
14514 #include <assert.h>
14515 /* Override any gcc2 internal prototype to avoid an error. */
14516 /* We use char because int might match the return type of a gcc2
14517 builtin and then its argument prototype would still apply. */
14518 char $ac_func();
14520 int main() {
14522 /* The GNU C library defines this for functions which it implements
14523 to always fail with ENOSYS. Some functions are actually named
14524 something starting with __ and the normal name is an alias. */
14525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14526 choke me
14527 #else
14528 $ac_func();
14529 #endif
14531 ; return 0; }
14533 if { (eval echo configure:14534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14534 rm -rf conftest*
14535 eval "ac_cv_func_$ac_func=yes"
14536 else
14537 echo "configure: failed program was:" >&5
14538 cat conftest.$ac_ext >&5
14539 rm -rf conftest*
14540 eval "ac_cv_func_$ac_func=no"
14542 rm -f conftest*
14545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14546 echo "$ac_t""yes" 1>&6
14547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14548 cat >> confdefs.h <<EOF
14549 #define $ac_tr_func 1
14552 else
14553 echo "$ac_t""no" 1>&6
14555 done
14560 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
14561 echo "configure:14562: checking for _copysignl declaration" >&5
14562 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14563 echo $ac_n "(cached) $ac_c" 1>&6
14564 else
14567 ac_ext=C
14568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14569 ac_cpp='$CXXCPP $CPPFLAGS'
14570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14572 cross_compiling=$ac_cv_prog_cxx_cross
14574 cat > conftest.$ac_ext <<EOF
14575 #line 14576 "configure"
14576 #include "confdefs.h"
14577 #include <math.h>
14578 int main() {
14579 _copysignl(0, 0);
14580 ; return 0; }
14582 if { (eval echo configure:14583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14583 rm -rf conftest*
14584 glibcpp_cv_func__copysignl_use=yes
14585 else
14586 echo "configure: failed program was:" >&5
14587 cat conftest.$ac_ext >&5
14588 rm -rf conftest*
14589 glibcpp_cv_func__copysignl_use=no
14591 rm -f conftest*
14592 ac_ext=c
14593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14594 ac_cpp='$CPP $CPPFLAGS'
14595 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14596 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14597 cross_compiling=$ac_cv_prog_cc_cross
14602 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14603 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14604 for ac_func in _copysignl
14606 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14607 echo "configure:14608: checking for $ac_func" >&5
14608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14609 echo $ac_n "(cached) $ac_c" 1>&6
14610 else
14611 cat > conftest.$ac_ext <<EOF
14612 #line 14613 "configure"
14613 #include "confdefs.h"
14614 /* System header to define __stub macros and hopefully few prototypes,
14615 which can conflict with char $ac_func(); below. */
14616 #include <assert.h>
14617 /* Override any gcc2 internal prototype to avoid an error. */
14618 /* We use char because int might match the return type of a gcc2
14619 builtin and then its argument prototype would still apply. */
14620 char $ac_func();
14622 int main() {
14624 /* The GNU C library defines this for functions which it implements
14625 to always fail with ENOSYS. Some functions are actually named
14626 something starting with __ and the normal name is an alias. */
14627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14628 choke me
14629 #else
14630 $ac_func();
14631 #endif
14633 ; return 0; }
14635 if { (eval echo configure:14636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14636 rm -rf conftest*
14637 eval "ac_cv_func_$ac_func=yes"
14638 else
14639 echo "configure: failed program was:" >&5
14640 cat conftest.$ac_ext >&5
14641 rm -rf conftest*
14642 eval "ac_cv_func_$ac_func=no"
14644 rm -f conftest*
14647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14648 echo "$ac_t""yes" 1>&6
14649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14650 cat >> confdefs.h <<EOF
14651 #define $ac_tr_func 1
14654 else
14655 echo "$ac_t""no" 1>&6
14657 done
14662 echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6
14663 echo "configure:14664: checking for _acosl declaration" >&5
14664 if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then
14665 echo $ac_n "(cached) $ac_c" 1>&6
14666 else
14669 ac_ext=C
14670 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14671 ac_cpp='$CXXCPP $CPPFLAGS'
14672 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14673 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14674 cross_compiling=$ac_cv_prog_cxx_cross
14676 cat > conftest.$ac_ext <<EOF
14677 #line 14678 "configure"
14678 #include "confdefs.h"
14679 #include <math.h>
14680 int main() {
14681 _acosl(0);
14682 ; return 0; }
14684 if { (eval echo configure:14685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14685 rm -rf conftest*
14686 glibcpp_cv_func__acosl_use=yes
14687 else
14688 echo "configure: failed program was:" >&5
14689 cat conftest.$ac_ext >&5
14690 rm -rf conftest*
14691 glibcpp_cv_func__acosl_use=no
14693 rm -f conftest*
14694 ac_ext=c
14695 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14696 ac_cpp='$CPP $CPPFLAGS'
14697 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14698 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14699 cross_compiling=$ac_cv_prog_cc_cross
14704 echo "$ac_t""$glibcpp_cv_func__acosl_use" 1>&6
14705 if test x$glibcpp_cv_func__acosl_use = x"yes"; then
14706 for ac_func in _acosl
14708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14709 echo "configure:14710: checking for $ac_func" >&5
14710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14711 echo $ac_n "(cached) $ac_c" 1>&6
14712 else
14713 cat > conftest.$ac_ext <<EOF
14714 #line 14715 "configure"
14715 #include "confdefs.h"
14716 /* System header to define __stub macros and hopefully few prototypes,
14717 which can conflict with char $ac_func(); below. */
14718 #include <assert.h>
14719 /* Override any gcc2 internal prototype to avoid an error. */
14720 /* We use char because int might match the return type of a gcc2
14721 builtin and then its argument prototype would still apply. */
14722 char $ac_func();
14724 int main() {
14726 /* The GNU C library defines this for functions which it implements
14727 to always fail with ENOSYS. Some functions are actually named
14728 something starting with __ and the normal name is an alias. */
14729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14730 choke me
14731 #else
14732 $ac_func();
14733 #endif
14735 ; return 0; }
14737 if { (eval echo configure:14738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14738 rm -rf conftest*
14739 eval "ac_cv_func_$ac_func=yes"
14740 else
14741 echo "configure: failed program was:" >&5
14742 cat conftest.$ac_ext >&5
14743 rm -rf conftest*
14744 eval "ac_cv_func_$ac_func=no"
14746 rm -f conftest*
14749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14750 echo "$ac_t""yes" 1>&6
14751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14752 cat >> confdefs.h <<EOF
14753 #define $ac_tr_func 1
14756 else
14757 echo "$ac_t""no" 1>&6
14759 done
14764 echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6
14765 echo "configure:14766: checking for _asinl declaration" >&5
14766 if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then
14767 echo $ac_n "(cached) $ac_c" 1>&6
14768 else
14771 ac_ext=C
14772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14773 ac_cpp='$CXXCPP $CPPFLAGS'
14774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14776 cross_compiling=$ac_cv_prog_cxx_cross
14778 cat > conftest.$ac_ext <<EOF
14779 #line 14780 "configure"
14780 #include "confdefs.h"
14781 #include <math.h>
14782 int main() {
14783 _asinl(0);
14784 ; return 0; }
14786 if { (eval echo configure:14787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14787 rm -rf conftest*
14788 glibcpp_cv_func__asinl_use=yes
14789 else
14790 echo "configure: failed program was:" >&5
14791 cat conftest.$ac_ext >&5
14792 rm -rf conftest*
14793 glibcpp_cv_func__asinl_use=no
14795 rm -f conftest*
14796 ac_ext=c
14797 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14798 ac_cpp='$CPP $CPPFLAGS'
14799 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14800 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14801 cross_compiling=$ac_cv_prog_cc_cross
14806 echo "$ac_t""$glibcpp_cv_func__asinl_use" 1>&6
14807 if test x$glibcpp_cv_func__asinl_use = x"yes"; then
14808 for ac_func in _asinl
14810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14811 echo "configure:14812: checking for $ac_func" >&5
14812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14813 echo $ac_n "(cached) $ac_c" 1>&6
14814 else
14815 cat > conftest.$ac_ext <<EOF
14816 #line 14817 "configure"
14817 #include "confdefs.h"
14818 /* System header to define __stub macros and hopefully few prototypes,
14819 which can conflict with char $ac_func(); below. */
14820 #include <assert.h>
14821 /* Override any gcc2 internal prototype to avoid an error. */
14822 /* We use char because int might match the return type of a gcc2
14823 builtin and then its argument prototype would still apply. */
14824 char $ac_func();
14826 int main() {
14828 /* The GNU C library defines this for functions which it implements
14829 to always fail with ENOSYS. Some functions are actually named
14830 something starting with __ and the normal name is an alias. */
14831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14832 choke me
14833 #else
14834 $ac_func();
14835 #endif
14837 ; return 0; }
14839 if { (eval echo configure:14840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14840 rm -rf conftest*
14841 eval "ac_cv_func_$ac_func=yes"
14842 else
14843 echo "configure: failed program was:" >&5
14844 cat conftest.$ac_ext >&5
14845 rm -rf conftest*
14846 eval "ac_cv_func_$ac_func=no"
14848 rm -f conftest*
14851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14852 echo "$ac_t""yes" 1>&6
14853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14854 cat >> confdefs.h <<EOF
14855 #define $ac_tr_func 1
14858 else
14859 echo "$ac_t""no" 1>&6
14861 done
14866 echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6
14867 echo "configure:14868: checking for _atanl declaration" >&5
14868 if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then
14869 echo $ac_n "(cached) $ac_c" 1>&6
14870 else
14873 ac_ext=C
14874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14875 ac_cpp='$CXXCPP $CPPFLAGS'
14876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14878 cross_compiling=$ac_cv_prog_cxx_cross
14880 cat > conftest.$ac_ext <<EOF
14881 #line 14882 "configure"
14882 #include "confdefs.h"
14883 #include <math.h>
14884 int main() {
14885 _atanl(0);
14886 ; return 0; }
14888 if { (eval echo configure:14889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14889 rm -rf conftest*
14890 glibcpp_cv_func__atanl_use=yes
14891 else
14892 echo "configure: failed program was:" >&5
14893 cat conftest.$ac_ext >&5
14894 rm -rf conftest*
14895 glibcpp_cv_func__atanl_use=no
14897 rm -f conftest*
14898 ac_ext=c
14899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14900 ac_cpp='$CPP $CPPFLAGS'
14901 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14902 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14903 cross_compiling=$ac_cv_prog_cc_cross
14908 echo "$ac_t""$glibcpp_cv_func__atanl_use" 1>&6
14909 if test x$glibcpp_cv_func__atanl_use = x"yes"; then
14910 for ac_func in _atanl
14912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14913 echo "configure:14914: checking for $ac_func" >&5
14914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14915 echo $ac_n "(cached) $ac_c" 1>&6
14916 else
14917 cat > conftest.$ac_ext <<EOF
14918 #line 14919 "configure"
14919 #include "confdefs.h"
14920 /* System header to define __stub macros and hopefully few prototypes,
14921 which can conflict with char $ac_func(); below. */
14922 #include <assert.h>
14923 /* Override any gcc2 internal prototype to avoid an error. */
14924 /* We use char because int might match the return type of a gcc2
14925 builtin and then its argument prototype would still apply. */
14926 char $ac_func();
14928 int main() {
14930 /* The GNU C library defines this for functions which it implements
14931 to always fail with ENOSYS. Some functions are actually named
14932 something starting with __ and the normal name is an alias. */
14933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14934 choke me
14935 #else
14936 $ac_func();
14937 #endif
14939 ; return 0; }
14941 if { (eval echo configure:14942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14942 rm -rf conftest*
14943 eval "ac_cv_func_$ac_func=yes"
14944 else
14945 echo "configure: failed program was:" >&5
14946 cat conftest.$ac_ext >&5
14947 rm -rf conftest*
14948 eval "ac_cv_func_$ac_func=no"
14950 rm -f conftest*
14953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14954 echo "$ac_t""yes" 1>&6
14955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14956 cat >> confdefs.h <<EOF
14957 #define $ac_tr_func 1
14960 else
14961 echo "$ac_t""no" 1>&6
14963 done
14968 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
14969 echo "configure:14970: checking for _atan2l declaration" >&5
14970 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14971 echo $ac_n "(cached) $ac_c" 1>&6
14972 else
14975 ac_ext=C
14976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14977 ac_cpp='$CXXCPP $CPPFLAGS'
14978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14980 cross_compiling=$ac_cv_prog_cxx_cross
14982 cat > conftest.$ac_ext <<EOF
14983 #line 14984 "configure"
14984 #include "confdefs.h"
14985 #include <math.h>
14986 int main() {
14987 _atan2l(0, 0);
14988 ; return 0; }
14990 if { (eval echo configure:14991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14991 rm -rf conftest*
14992 glibcpp_cv_func__atan2l_use=yes
14993 else
14994 echo "configure: failed program was:" >&5
14995 cat conftest.$ac_ext >&5
14996 rm -rf conftest*
14997 glibcpp_cv_func__atan2l_use=no
14999 rm -f conftest*
15000 ac_ext=c
15001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15002 ac_cpp='$CPP $CPPFLAGS'
15003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15005 cross_compiling=$ac_cv_prog_cc_cross
15010 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
15011 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
15012 for ac_func in _atan2l
15014 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15015 echo "configure:15016: checking for $ac_func" >&5
15016 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15017 echo $ac_n "(cached) $ac_c" 1>&6
15018 else
15019 cat > conftest.$ac_ext <<EOF
15020 #line 15021 "configure"
15021 #include "confdefs.h"
15022 /* System header to define __stub macros and hopefully few prototypes,
15023 which can conflict with char $ac_func(); below. */
15024 #include <assert.h>
15025 /* Override any gcc2 internal prototype to avoid an error. */
15026 /* We use char because int might match the return type of a gcc2
15027 builtin and then its argument prototype would still apply. */
15028 char $ac_func();
15030 int main() {
15032 /* The GNU C library defines this for functions which it implements
15033 to always fail with ENOSYS. Some functions are actually named
15034 something starting with __ and the normal name is an alias. */
15035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15036 choke me
15037 #else
15038 $ac_func();
15039 #endif
15041 ; return 0; }
15043 if { (eval echo configure:15044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15044 rm -rf conftest*
15045 eval "ac_cv_func_$ac_func=yes"
15046 else
15047 echo "configure: failed program was:" >&5
15048 cat conftest.$ac_ext >&5
15049 rm -rf conftest*
15050 eval "ac_cv_func_$ac_func=no"
15052 rm -f conftest*
15055 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15056 echo "$ac_t""yes" 1>&6
15057 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15058 cat >> confdefs.h <<EOF
15059 #define $ac_tr_func 1
15062 else
15063 echo "$ac_t""no" 1>&6
15065 done
15070 echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6
15071 echo "configure:15072: checking for _ceill declaration" >&5
15072 if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then
15073 echo $ac_n "(cached) $ac_c" 1>&6
15074 else
15077 ac_ext=C
15078 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15079 ac_cpp='$CXXCPP $CPPFLAGS'
15080 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15081 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15082 cross_compiling=$ac_cv_prog_cxx_cross
15084 cat > conftest.$ac_ext <<EOF
15085 #line 15086 "configure"
15086 #include "confdefs.h"
15087 #include <math.h>
15088 int main() {
15089 _ceill(0);
15090 ; return 0; }
15092 if { (eval echo configure:15093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15093 rm -rf conftest*
15094 glibcpp_cv_func__ceill_use=yes
15095 else
15096 echo "configure: failed program was:" >&5
15097 cat conftest.$ac_ext >&5
15098 rm -rf conftest*
15099 glibcpp_cv_func__ceill_use=no
15101 rm -f conftest*
15102 ac_ext=c
15103 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15104 ac_cpp='$CPP $CPPFLAGS'
15105 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15106 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15107 cross_compiling=$ac_cv_prog_cc_cross
15112 echo "$ac_t""$glibcpp_cv_func__ceill_use" 1>&6
15113 if test x$glibcpp_cv_func__ceill_use = x"yes"; then
15114 for ac_func in _ceill
15116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15117 echo "configure:15118: checking for $ac_func" >&5
15118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15119 echo $ac_n "(cached) $ac_c" 1>&6
15120 else
15121 cat > conftest.$ac_ext <<EOF
15122 #line 15123 "configure"
15123 #include "confdefs.h"
15124 /* System header to define __stub macros and hopefully few prototypes,
15125 which can conflict with char $ac_func(); below. */
15126 #include <assert.h>
15127 /* Override any gcc2 internal prototype to avoid an error. */
15128 /* We use char because int might match the return type of a gcc2
15129 builtin and then its argument prototype would still apply. */
15130 char $ac_func();
15132 int main() {
15134 /* The GNU C library defines this for functions which it implements
15135 to always fail with ENOSYS. Some functions are actually named
15136 something starting with __ and the normal name is an alias. */
15137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15138 choke me
15139 #else
15140 $ac_func();
15141 #endif
15143 ; return 0; }
15145 if { (eval echo configure:15146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15146 rm -rf conftest*
15147 eval "ac_cv_func_$ac_func=yes"
15148 else
15149 echo "configure: failed program was:" >&5
15150 cat conftest.$ac_ext >&5
15151 rm -rf conftest*
15152 eval "ac_cv_func_$ac_func=no"
15154 rm -f conftest*
15157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15158 echo "$ac_t""yes" 1>&6
15159 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15160 cat >> confdefs.h <<EOF
15161 #define $ac_tr_func 1
15164 else
15165 echo "$ac_t""no" 1>&6
15167 done
15172 echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6
15173 echo "configure:15174: checking for _cosl declaration" >&5
15174 if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then
15175 echo $ac_n "(cached) $ac_c" 1>&6
15176 else
15179 ac_ext=C
15180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15181 ac_cpp='$CXXCPP $CPPFLAGS'
15182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15184 cross_compiling=$ac_cv_prog_cxx_cross
15186 cat > conftest.$ac_ext <<EOF
15187 #line 15188 "configure"
15188 #include "confdefs.h"
15189 #include <math.h>
15190 int main() {
15191 _cosl(0);
15192 ; return 0; }
15194 if { (eval echo configure:15195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15195 rm -rf conftest*
15196 glibcpp_cv_func__cosl_use=yes
15197 else
15198 echo "configure: failed program was:" >&5
15199 cat conftest.$ac_ext >&5
15200 rm -rf conftest*
15201 glibcpp_cv_func__cosl_use=no
15203 rm -f conftest*
15204 ac_ext=c
15205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15206 ac_cpp='$CPP $CPPFLAGS'
15207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15209 cross_compiling=$ac_cv_prog_cc_cross
15214 echo "$ac_t""$glibcpp_cv_func__cosl_use" 1>&6
15215 if test x$glibcpp_cv_func__cosl_use = x"yes"; then
15216 for ac_func in _cosl
15218 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15219 echo "configure:15220: checking for $ac_func" >&5
15220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15221 echo $ac_n "(cached) $ac_c" 1>&6
15222 else
15223 cat > conftest.$ac_ext <<EOF
15224 #line 15225 "configure"
15225 #include "confdefs.h"
15226 /* System header to define __stub macros and hopefully few prototypes,
15227 which can conflict with char $ac_func(); below. */
15228 #include <assert.h>
15229 /* Override any gcc2 internal prototype to avoid an error. */
15230 /* We use char because int might match the return type of a gcc2
15231 builtin and then its argument prototype would still apply. */
15232 char $ac_func();
15234 int main() {
15236 /* The GNU C library defines this for functions which it implements
15237 to always fail with ENOSYS. Some functions are actually named
15238 something starting with __ and the normal name is an alias. */
15239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15240 choke me
15241 #else
15242 $ac_func();
15243 #endif
15245 ; return 0; }
15247 if { (eval echo configure:15248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15248 rm -rf conftest*
15249 eval "ac_cv_func_$ac_func=yes"
15250 else
15251 echo "configure: failed program was:" >&5
15252 cat conftest.$ac_ext >&5
15253 rm -rf conftest*
15254 eval "ac_cv_func_$ac_func=no"
15256 rm -f conftest*
15259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15260 echo "$ac_t""yes" 1>&6
15261 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15262 cat >> confdefs.h <<EOF
15263 #define $ac_tr_func 1
15266 else
15267 echo "$ac_t""no" 1>&6
15269 done
15274 echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6
15275 echo "configure:15276: checking for _coshl declaration" >&5
15276 if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then
15277 echo $ac_n "(cached) $ac_c" 1>&6
15278 else
15281 ac_ext=C
15282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15283 ac_cpp='$CXXCPP $CPPFLAGS'
15284 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15285 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15286 cross_compiling=$ac_cv_prog_cxx_cross
15288 cat > conftest.$ac_ext <<EOF
15289 #line 15290 "configure"
15290 #include "confdefs.h"
15291 #include <math.h>
15292 int main() {
15293 _coshl(0);
15294 ; return 0; }
15296 if { (eval echo configure:15297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15297 rm -rf conftest*
15298 glibcpp_cv_func__coshl_use=yes
15299 else
15300 echo "configure: failed program was:" >&5
15301 cat conftest.$ac_ext >&5
15302 rm -rf conftest*
15303 glibcpp_cv_func__coshl_use=no
15305 rm -f conftest*
15306 ac_ext=c
15307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15308 ac_cpp='$CPP $CPPFLAGS'
15309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15311 cross_compiling=$ac_cv_prog_cc_cross
15316 echo "$ac_t""$glibcpp_cv_func__coshl_use" 1>&6
15317 if test x$glibcpp_cv_func__coshl_use = x"yes"; then
15318 for ac_func in _coshl
15320 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15321 echo "configure:15322: checking for $ac_func" >&5
15322 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15323 echo $ac_n "(cached) $ac_c" 1>&6
15324 else
15325 cat > conftest.$ac_ext <<EOF
15326 #line 15327 "configure"
15327 #include "confdefs.h"
15328 /* System header to define __stub macros and hopefully few prototypes,
15329 which can conflict with char $ac_func(); below. */
15330 #include <assert.h>
15331 /* Override any gcc2 internal prototype to avoid an error. */
15332 /* We use char because int might match the return type of a gcc2
15333 builtin and then its argument prototype would still apply. */
15334 char $ac_func();
15336 int main() {
15338 /* The GNU C library defines this for functions which it implements
15339 to always fail with ENOSYS. Some functions are actually named
15340 something starting with __ and the normal name is an alias. */
15341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15342 choke me
15343 #else
15344 $ac_func();
15345 #endif
15347 ; return 0; }
15349 if { (eval echo configure:15350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15350 rm -rf conftest*
15351 eval "ac_cv_func_$ac_func=yes"
15352 else
15353 echo "configure: failed program was:" >&5
15354 cat conftest.$ac_ext >&5
15355 rm -rf conftest*
15356 eval "ac_cv_func_$ac_func=no"
15358 rm -f conftest*
15361 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15362 echo "$ac_t""yes" 1>&6
15363 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15364 cat >> confdefs.h <<EOF
15365 #define $ac_tr_func 1
15368 else
15369 echo "$ac_t""no" 1>&6
15371 done
15376 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
15377 echo "configure:15378: checking for _expl declaration" >&5
15378 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
15379 echo $ac_n "(cached) $ac_c" 1>&6
15380 else
15383 ac_ext=C
15384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15385 ac_cpp='$CXXCPP $CPPFLAGS'
15386 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15387 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15388 cross_compiling=$ac_cv_prog_cxx_cross
15390 cat > conftest.$ac_ext <<EOF
15391 #line 15392 "configure"
15392 #include "confdefs.h"
15393 #include <math.h>
15394 int main() {
15395 _expl(0);
15396 ; return 0; }
15398 if { (eval echo configure:15399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15399 rm -rf conftest*
15400 glibcpp_cv_func__expl_use=yes
15401 else
15402 echo "configure: failed program was:" >&5
15403 cat conftest.$ac_ext >&5
15404 rm -rf conftest*
15405 glibcpp_cv_func__expl_use=no
15407 rm -f conftest*
15408 ac_ext=c
15409 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15410 ac_cpp='$CPP $CPPFLAGS'
15411 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15412 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15413 cross_compiling=$ac_cv_prog_cc_cross
15418 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
15419 if test x$glibcpp_cv_func__expl_use = x"yes"; then
15420 for ac_func in _expl
15422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15423 echo "configure:15424: checking for $ac_func" >&5
15424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15425 echo $ac_n "(cached) $ac_c" 1>&6
15426 else
15427 cat > conftest.$ac_ext <<EOF
15428 #line 15429 "configure"
15429 #include "confdefs.h"
15430 /* System header to define __stub macros and hopefully few prototypes,
15431 which can conflict with char $ac_func(); below. */
15432 #include <assert.h>
15433 /* Override any gcc2 internal prototype to avoid an error. */
15434 /* We use char because int might match the return type of a gcc2
15435 builtin and then its argument prototype would still apply. */
15436 char $ac_func();
15438 int main() {
15440 /* The GNU C library defines this for functions which it implements
15441 to always fail with ENOSYS. Some functions are actually named
15442 something starting with __ and the normal name is an alias. */
15443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15444 choke me
15445 #else
15446 $ac_func();
15447 #endif
15449 ; return 0; }
15451 if { (eval echo configure:15452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15452 rm -rf conftest*
15453 eval "ac_cv_func_$ac_func=yes"
15454 else
15455 echo "configure: failed program was:" >&5
15456 cat conftest.$ac_ext >&5
15457 rm -rf conftest*
15458 eval "ac_cv_func_$ac_func=no"
15460 rm -f conftest*
15463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15464 echo "$ac_t""yes" 1>&6
15465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15466 cat >> confdefs.h <<EOF
15467 #define $ac_tr_func 1
15470 else
15471 echo "$ac_t""no" 1>&6
15473 done
15478 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
15479 echo "configure:15480: checking for _fabsl declaration" >&5
15480 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
15481 echo $ac_n "(cached) $ac_c" 1>&6
15482 else
15485 ac_ext=C
15486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15487 ac_cpp='$CXXCPP $CPPFLAGS'
15488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15490 cross_compiling=$ac_cv_prog_cxx_cross
15492 cat > conftest.$ac_ext <<EOF
15493 #line 15494 "configure"
15494 #include "confdefs.h"
15495 #include <math.h>
15496 int main() {
15497 _fabsl(0);
15498 ; return 0; }
15500 if { (eval echo configure:15501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15501 rm -rf conftest*
15502 glibcpp_cv_func__fabsl_use=yes
15503 else
15504 echo "configure: failed program was:" >&5
15505 cat conftest.$ac_ext >&5
15506 rm -rf conftest*
15507 glibcpp_cv_func__fabsl_use=no
15509 rm -f conftest*
15510 ac_ext=c
15511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15512 ac_cpp='$CPP $CPPFLAGS'
15513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15515 cross_compiling=$ac_cv_prog_cc_cross
15520 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
15521 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
15522 for ac_func in _fabsl
15524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15525 echo "configure:15526: checking for $ac_func" >&5
15526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15527 echo $ac_n "(cached) $ac_c" 1>&6
15528 else
15529 cat > conftest.$ac_ext <<EOF
15530 #line 15531 "configure"
15531 #include "confdefs.h"
15532 /* System header to define __stub macros and hopefully few prototypes,
15533 which can conflict with char $ac_func(); below. */
15534 #include <assert.h>
15535 /* Override any gcc2 internal prototype to avoid an error. */
15536 /* We use char because int might match the return type of a gcc2
15537 builtin and then its argument prototype would still apply. */
15538 char $ac_func();
15540 int main() {
15542 /* The GNU C library defines this for functions which it implements
15543 to always fail with ENOSYS. Some functions are actually named
15544 something starting with __ and the normal name is an alias. */
15545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15546 choke me
15547 #else
15548 $ac_func();
15549 #endif
15551 ; return 0; }
15553 if { (eval echo configure:15554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15554 rm -rf conftest*
15555 eval "ac_cv_func_$ac_func=yes"
15556 else
15557 echo "configure: failed program was:" >&5
15558 cat conftest.$ac_ext >&5
15559 rm -rf conftest*
15560 eval "ac_cv_func_$ac_func=no"
15562 rm -f conftest*
15565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15566 echo "$ac_t""yes" 1>&6
15567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15568 cat >> confdefs.h <<EOF
15569 #define $ac_tr_func 1
15572 else
15573 echo "$ac_t""no" 1>&6
15575 done
15580 echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6
15581 echo "configure:15582: checking for _floorl declaration" >&5
15582 if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then
15583 echo $ac_n "(cached) $ac_c" 1>&6
15584 else
15587 ac_ext=C
15588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15589 ac_cpp='$CXXCPP $CPPFLAGS'
15590 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15591 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15592 cross_compiling=$ac_cv_prog_cxx_cross
15594 cat > conftest.$ac_ext <<EOF
15595 #line 15596 "configure"
15596 #include "confdefs.h"
15597 #include <math.h>
15598 int main() {
15599 _floorl(0);
15600 ; return 0; }
15602 if { (eval echo configure:15603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15603 rm -rf conftest*
15604 glibcpp_cv_func__floorl_use=yes
15605 else
15606 echo "configure: failed program was:" >&5
15607 cat conftest.$ac_ext >&5
15608 rm -rf conftest*
15609 glibcpp_cv_func__floorl_use=no
15611 rm -f conftest*
15612 ac_ext=c
15613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15614 ac_cpp='$CPP $CPPFLAGS'
15615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15617 cross_compiling=$ac_cv_prog_cc_cross
15622 echo "$ac_t""$glibcpp_cv_func__floorl_use" 1>&6
15623 if test x$glibcpp_cv_func__floorl_use = x"yes"; then
15624 for ac_func in _floorl
15626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15627 echo "configure:15628: checking for $ac_func" >&5
15628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15629 echo $ac_n "(cached) $ac_c" 1>&6
15630 else
15631 cat > conftest.$ac_ext <<EOF
15632 #line 15633 "configure"
15633 #include "confdefs.h"
15634 /* System header to define __stub macros and hopefully few prototypes,
15635 which can conflict with char $ac_func(); below. */
15636 #include <assert.h>
15637 /* Override any gcc2 internal prototype to avoid an error. */
15638 /* We use char because int might match the return type of a gcc2
15639 builtin and then its argument prototype would still apply. */
15640 char $ac_func();
15642 int main() {
15644 /* The GNU C library defines this for functions which it implements
15645 to always fail with ENOSYS. Some functions are actually named
15646 something starting with __ and the normal name is an alias. */
15647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15648 choke me
15649 #else
15650 $ac_func();
15651 #endif
15653 ; return 0; }
15655 if { (eval echo configure:15656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15656 rm -rf conftest*
15657 eval "ac_cv_func_$ac_func=yes"
15658 else
15659 echo "configure: failed program was:" >&5
15660 cat conftest.$ac_ext >&5
15661 rm -rf conftest*
15662 eval "ac_cv_func_$ac_func=no"
15664 rm -f conftest*
15667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15668 echo "$ac_t""yes" 1>&6
15669 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15670 cat >> confdefs.h <<EOF
15671 #define $ac_tr_func 1
15674 else
15675 echo "$ac_t""no" 1>&6
15677 done
15682 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
15683 echo "configure:15684: checking for _fmodl declaration" >&5
15684 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15685 echo $ac_n "(cached) $ac_c" 1>&6
15686 else
15689 ac_ext=C
15690 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15691 ac_cpp='$CXXCPP $CPPFLAGS'
15692 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15693 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15694 cross_compiling=$ac_cv_prog_cxx_cross
15696 cat > conftest.$ac_ext <<EOF
15697 #line 15698 "configure"
15698 #include "confdefs.h"
15699 #include <math.h>
15700 int main() {
15701 _fmodl(0, 0);
15702 ; return 0; }
15704 if { (eval echo configure:15705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15705 rm -rf conftest*
15706 glibcpp_cv_func__fmodl_use=yes
15707 else
15708 echo "configure: failed program was:" >&5
15709 cat conftest.$ac_ext >&5
15710 rm -rf conftest*
15711 glibcpp_cv_func__fmodl_use=no
15713 rm -f conftest*
15714 ac_ext=c
15715 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15716 ac_cpp='$CPP $CPPFLAGS'
15717 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15718 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15719 cross_compiling=$ac_cv_prog_cc_cross
15724 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15725 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15726 for ac_func in _fmodl
15728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15729 echo "configure:15730: checking for $ac_func" >&5
15730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15731 echo $ac_n "(cached) $ac_c" 1>&6
15732 else
15733 cat > conftest.$ac_ext <<EOF
15734 #line 15735 "configure"
15735 #include "confdefs.h"
15736 /* System header to define __stub macros and hopefully few prototypes,
15737 which can conflict with char $ac_func(); below. */
15738 #include <assert.h>
15739 /* Override any gcc2 internal prototype to avoid an error. */
15740 /* We use char because int might match the return type of a gcc2
15741 builtin and then its argument prototype would still apply. */
15742 char $ac_func();
15744 int main() {
15746 /* The GNU C library defines this for functions which it implements
15747 to always fail with ENOSYS. Some functions are actually named
15748 something starting with __ and the normal name is an alias. */
15749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15750 choke me
15751 #else
15752 $ac_func();
15753 #endif
15755 ; return 0; }
15757 if { (eval echo configure:15758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15758 rm -rf conftest*
15759 eval "ac_cv_func_$ac_func=yes"
15760 else
15761 echo "configure: failed program was:" >&5
15762 cat conftest.$ac_ext >&5
15763 rm -rf conftest*
15764 eval "ac_cv_func_$ac_func=no"
15766 rm -f conftest*
15769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15770 echo "$ac_t""yes" 1>&6
15771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15772 cat >> confdefs.h <<EOF
15773 #define $ac_tr_func 1
15776 else
15777 echo "$ac_t""no" 1>&6
15779 done
15784 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
15785 echo "configure:15786: checking for _frexpl declaration" >&5
15786 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15787 echo $ac_n "(cached) $ac_c" 1>&6
15788 else
15791 ac_ext=C
15792 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15793 ac_cpp='$CXXCPP $CPPFLAGS'
15794 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15795 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15796 cross_compiling=$ac_cv_prog_cxx_cross
15798 cat > conftest.$ac_ext <<EOF
15799 #line 15800 "configure"
15800 #include "confdefs.h"
15801 #include <math.h>
15802 int main() {
15803 _frexpl(0, 0);
15804 ; return 0; }
15806 if { (eval echo configure:15807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15807 rm -rf conftest*
15808 glibcpp_cv_func__frexpl_use=yes
15809 else
15810 echo "configure: failed program was:" >&5
15811 cat conftest.$ac_ext >&5
15812 rm -rf conftest*
15813 glibcpp_cv_func__frexpl_use=no
15815 rm -f conftest*
15816 ac_ext=c
15817 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15818 ac_cpp='$CPP $CPPFLAGS'
15819 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15820 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15821 cross_compiling=$ac_cv_prog_cc_cross
15826 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15827 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15828 for ac_func in _frexpl
15830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15831 echo "configure:15832: checking for $ac_func" >&5
15832 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15833 echo $ac_n "(cached) $ac_c" 1>&6
15834 else
15835 cat > conftest.$ac_ext <<EOF
15836 #line 15837 "configure"
15837 #include "confdefs.h"
15838 /* System header to define __stub macros and hopefully few prototypes,
15839 which can conflict with char $ac_func(); below. */
15840 #include <assert.h>
15841 /* Override any gcc2 internal prototype to avoid an error. */
15842 /* We use char because int might match the return type of a gcc2
15843 builtin and then its argument prototype would still apply. */
15844 char $ac_func();
15846 int main() {
15848 /* The GNU C library defines this for functions which it implements
15849 to always fail with ENOSYS. Some functions are actually named
15850 something starting with __ and the normal name is an alias. */
15851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15852 choke me
15853 #else
15854 $ac_func();
15855 #endif
15857 ; return 0; }
15859 if { (eval echo configure:15860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15860 rm -rf conftest*
15861 eval "ac_cv_func_$ac_func=yes"
15862 else
15863 echo "configure: failed program was:" >&5
15864 cat conftest.$ac_ext >&5
15865 rm -rf conftest*
15866 eval "ac_cv_func_$ac_func=no"
15868 rm -f conftest*
15871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15872 echo "$ac_t""yes" 1>&6
15873 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15874 cat >> confdefs.h <<EOF
15875 #define $ac_tr_func 1
15878 else
15879 echo "$ac_t""no" 1>&6
15881 done
15886 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
15887 echo "configure:15888: checking for _ldexpl declaration" >&5
15888 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15889 echo $ac_n "(cached) $ac_c" 1>&6
15890 else
15893 ac_ext=C
15894 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15895 ac_cpp='$CXXCPP $CPPFLAGS'
15896 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15897 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15898 cross_compiling=$ac_cv_prog_cxx_cross
15900 cat > conftest.$ac_ext <<EOF
15901 #line 15902 "configure"
15902 #include "confdefs.h"
15903 #include <math.h>
15904 int main() {
15905 _ldexpl(0, 0);
15906 ; return 0; }
15908 if { (eval echo configure:15909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15909 rm -rf conftest*
15910 glibcpp_cv_func__ldexpl_use=yes
15911 else
15912 echo "configure: failed program was:" >&5
15913 cat conftest.$ac_ext >&5
15914 rm -rf conftest*
15915 glibcpp_cv_func__ldexpl_use=no
15917 rm -f conftest*
15918 ac_ext=c
15919 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15920 ac_cpp='$CPP $CPPFLAGS'
15921 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15922 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15923 cross_compiling=$ac_cv_prog_cc_cross
15928 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15929 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15930 for ac_func in _ldexpl
15932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15933 echo "configure:15934: checking for $ac_func" >&5
15934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15935 echo $ac_n "(cached) $ac_c" 1>&6
15936 else
15937 cat > conftest.$ac_ext <<EOF
15938 #line 15939 "configure"
15939 #include "confdefs.h"
15940 /* System header to define __stub macros and hopefully few prototypes,
15941 which can conflict with char $ac_func(); below. */
15942 #include <assert.h>
15943 /* Override any gcc2 internal prototype to avoid an error. */
15944 /* We use char because int might match the return type of a gcc2
15945 builtin and then its argument prototype would still apply. */
15946 char $ac_func();
15948 int main() {
15950 /* The GNU C library defines this for functions which it implements
15951 to always fail with ENOSYS. Some functions are actually named
15952 something starting with __ and the normal name is an alias. */
15953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15954 choke me
15955 #else
15956 $ac_func();
15957 #endif
15959 ; return 0; }
15961 if { (eval echo configure:15962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15962 rm -rf conftest*
15963 eval "ac_cv_func_$ac_func=yes"
15964 else
15965 echo "configure: failed program was:" >&5
15966 cat conftest.$ac_ext >&5
15967 rm -rf conftest*
15968 eval "ac_cv_func_$ac_func=no"
15970 rm -f conftest*
15973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15974 echo "$ac_t""yes" 1>&6
15975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15976 cat >> confdefs.h <<EOF
15977 #define $ac_tr_func 1
15980 else
15981 echo "$ac_t""no" 1>&6
15983 done
15988 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
15989 echo "configure:15990: checking for _logl declaration" >&5
15990 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15991 echo $ac_n "(cached) $ac_c" 1>&6
15992 else
15995 ac_ext=C
15996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15997 ac_cpp='$CXXCPP $CPPFLAGS'
15998 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15999 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16000 cross_compiling=$ac_cv_prog_cxx_cross
16002 cat > conftest.$ac_ext <<EOF
16003 #line 16004 "configure"
16004 #include "confdefs.h"
16005 #include <math.h>
16006 int main() {
16007 _logl(0);
16008 ; return 0; }
16010 if { (eval echo configure:16011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16011 rm -rf conftest*
16012 glibcpp_cv_func__logl_use=yes
16013 else
16014 echo "configure: failed program was:" >&5
16015 cat conftest.$ac_ext >&5
16016 rm -rf conftest*
16017 glibcpp_cv_func__logl_use=no
16019 rm -f conftest*
16020 ac_ext=c
16021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16022 ac_cpp='$CPP $CPPFLAGS'
16023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16025 cross_compiling=$ac_cv_prog_cc_cross
16030 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
16031 if test x$glibcpp_cv_func__logl_use = x"yes"; then
16032 for ac_func in _logl
16034 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16035 echo "configure:16036: checking for $ac_func" >&5
16036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16037 echo $ac_n "(cached) $ac_c" 1>&6
16038 else
16039 cat > conftest.$ac_ext <<EOF
16040 #line 16041 "configure"
16041 #include "confdefs.h"
16042 /* System header to define __stub macros and hopefully few prototypes,
16043 which can conflict with char $ac_func(); below. */
16044 #include <assert.h>
16045 /* Override any gcc2 internal prototype to avoid an error. */
16046 /* We use char because int might match the return type of a gcc2
16047 builtin and then its argument prototype would still apply. */
16048 char $ac_func();
16050 int main() {
16052 /* The GNU C library defines this for functions which it implements
16053 to always fail with ENOSYS. Some functions are actually named
16054 something starting with __ and the normal name is an alias. */
16055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16056 choke me
16057 #else
16058 $ac_func();
16059 #endif
16061 ; return 0; }
16063 if { (eval echo configure:16064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16064 rm -rf conftest*
16065 eval "ac_cv_func_$ac_func=yes"
16066 else
16067 echo "configure: failed program was:" >&5
16068 cat conftest.$ac_ext >&5
16069 rm -rf conftest*
16070 eval "ac_cv_func_$ac_func=no"
16072 rm -f conftest*
16075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16076 echo "$ac_t""yes" 1>&6
16077 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16078 cat >> confdefs.h <<EOF
16079 #define $ac_tr_func 1
16082 else
16083 echo "$ac_t""no" 1>&6
16085 done
16090 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
16091 echo "configure:16092: checking for _log10l declaration" >&5
16092 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16093 echo $ac_n "(cached) $ac_c" 1>&6
16094 else
16097 ac_ext=C
16098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16099 ac_cpp='$CXXCPP $CPPFLAGS'
16100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16102 cross_compiling=$ac_cv_prog_cxx_cross
16104 cat > conftest.$ac_ext <<EOF
16105 #line 16106 "configure"
16106 #include "confdefs.h"
16107 #include <math.h>
16108 int main() {
16109 _log10l(0);
16110 ; return 0; }
16112 if { (eval echo configure:16113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16113 rm -rf conftest*
16114 glibcpp_cv_func__log10l_use=yes
16115 else
16116 echo "configure: failed program was:" >&5
16117 cat conftest.$ac_ext >&5
16118 rm -rf conftest*
16119 glibcpp_cv_func__log10l_use=no
16121 rm -f conftest*
16122 ac_ext=c
16123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16124 ac_cpp='$CPP $CPPFLAGS'
16125 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16126 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16127 cross_compiling=$ac_cv_prog_cc_cross
16132 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16133 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16134 for ac_func in _log10l
16136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16137 echo "configure:16138: checking for $ac_func" >&5
16138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16139 echo $ac_n "(cached) $ac_c" 1>&6
16140 else
16141 cat > conftest.$ac_ext <<EOF
16142 #line 16143 "configure"
16143 #include "confdefs.h"
16144 /* System header to define __stub macros and hopefully few prototypes,
16145 which can conflict with char $ac_func(); below. */
16146 #include <assert.h>
16147 /* Override any gcc2 internal prototype to avoid an error. */
16148 /* We use char because int might match the return type of a gcc2
16149 builtin and then its argument prototype would still apply. */
16150 char $ac_func();
16152 int main() {
16154 /* The GNU C library defines this for functions which it implements
16155 to always fail with ENOSYS. Some functions are actually named
16156 something starting with __ and the normal name is an alias. */
16157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16158 choke me
16159 #else
16160 $ac_func();
16161 #endif
16163 ; return 0; }
16165 if { (eval echo configure:16166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16166 rm -rf conftest*
16167 eval "ac_cv_func_$ac_func=yes"
16168 else
16169 echo "configure: failed program was:" >&5
16170 cat conftest.$ac_ext >&5
16171 rm -rf conftest*
16172 eval "ac_cv_func_$ac_func=no"
16174 rm -f conftest*
16177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16178 echo "$ac_t""yes" 1>&6
16179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16180 cat >> confdefs.h <<EOF
16181 #define $ac_tr_func 1
16184 else
16185 echo "$ac_t""no" 1>&6
16187 done
16192 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
16193 echo "configure:16194: checking for _modfl declaration" >&5
16194 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16195 echo $ac_n "(cached) $ac_c" 1>&6
16196 else
16199 ac_ext=C
16200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16201 ac_cpp='$CXXCPP $CPPFLAGS'
16202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16204 cross_compiling=$ac_cv_prog_cxx_cross
16206 cat > conftest.$ac_ext <<EOF
16207 #line 16208 "configure"
16208 #include "confdefs.h"
16209 #include <math.h>
16210 int main() {
16211 _modfl(0, 0);
16212 ; return 0; }
16214 if { (eval echo configure:16215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16215 rm -rf conftest*
16216 glibcpp_cv_func__modfl_use=yes
16217 else
16218 echo "configure: failed program was:" >&5
16219 cat conftest.$ac_ext >&5
16220 rm -rf conftest*
16221 glibcpp_cv_func__modfl_use=no
16223 rm -f conftest*
16224 ac_ext=c
16225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16226 ac_cpp='$CPP $CPPFLAGS'
16227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16229 cross_compiling=$ac_cv_prog_cc_cross
16234 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16235 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16236 for ac_func in _modfl
16238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16239 echo "configure:16240: checking for $ac_func" >&5
16240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16241 echo $ac_n "(cached) $ac_c" 1>&6
16242 else
16243 cat > conftest.$ac_ext <<EOF
16244 #line 16245 "configure"
16245 #include "confdefs.h"
16246 /* System header to define __stub macros and hopefully few prototypes,
16247 which can conflict with char $ac_func(); below. */
16248 #include <assert.h>
16249 /* Override any gcc2 internal prototype to avoid an error. */
16250 /* We use char because int might match the return type of a gcc2
16251 builtin and then its argument prototype would still apply. */
16252 char $ac_func();
16254 int main() {
16256 /* The GNU C library defines this for functions which it implements
16257 to always fail with ENOSYS. Some functions are actually named
16258 something starting with __ and the normal name is an alias. */
16259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16260 choke me
16261 #else
16262 $ac_func();
16263 #endif
16265 ; return 0; }
16267 if { (eval echo configure:16268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16268 rm -rf conftest*
16269 eval "ac_cv_func_$ac_func=yes"
16270 else
16271 echo "configure: failed program was:" >&5
16272 cat conftest.$ac_ext >&5
16273 rm -rf conftest*
16274 eval "ac_cv_func_$ac_func=no"
16276 rm -f conftest*
16279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16280 echo "$ac_t""yes" 1>&6
16281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16282 cat >> confdefs.h <<EOF
16283 #define $ac_tr_func 1
16286 else
16287 echo "$ac_t""no" 1>&6
16289 done
16294 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
16295 echo "configure:16296: checking for _powl declaration" >&5
16296 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16297 echo $ac_n "(cached) $ac_c" 1>&6
16298 else
16301 ac_ext=C
16302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16303 ac_cpp='$CXXCPP $CPPFLAGS'
16304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16306 cross_compiling=$ac_cv_prog_cxx_cross
16308 cat > conftest.$ac_ext <<EOF
16309 #line 16310 "configure"
16310 #include "confdefs.h"
16311 #include <math.h>
16312 int main() {
16313 _powl(0, 0);
16314 ; return 0; }
16316 if { (eval echo configure:16317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16317 rm -rf conftest*
16318 glibcpp_cv_func__powl_use=yes
16319 else
16320 echo "configure: failed program was:" >&5
16321 cat conftest.$ac_ext >&5
16322 rm -rf conftest*
16323 glibcpp_cv_func__powl_use=no
16325 rm -f conftest*
16326 ac_ext=c
16327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16328 ac_cpp='$CPP $CPPFLAGS'
16329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16331 cross_compiling=$ac_cv_prog_cc_cross
16336 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16337 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16338 for ac_func in _powl
16340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16341 echo "configure:16342: checking for $ac_func" >&5
16342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16343 echo $ac_n "(cached) $ac_c" 1>&6
16344 else
16345 cat > conftest.$ac_ext <<EOF
16346 #line 16347 "configure"
16347 #include "confdefs.h"
16348 /* System header to define __stub macros and hopefully few prototypes,
16349 which can conflict with char $ac_func(); below. */
16350 #include <assert.h>
16351 /* Override any gcc2 internal prototype to avoid an error. */
16352 /* We use char because int might match the return type of a gcc2
16353 builtin and then its argument prototype would still apply. */
16354 char $ac_func();
16356 int main() {
16358 /* The GNU C library defines this for functions which it implements
16359 to always fail with ENOSYS. Some functions are actually named
16360 something starting with __ and the normal name is an alias. */
16361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16362 choke me
16363 #else
16364 $ac_func();
16365 #endif
16367 ; return 0; }
16369 if { (eval echo configure:16370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16370 rm -rf conftest*
16371 eval "ac_cv_func_$ac_func=yes"
16372 else
16373 echo "configure: failed program was:" >&5
16374 cat conftest.$ac_ext >&5
16375 rm -rf conftest*
16376 eval "ac_cv_func_$ac_func=no"
16378 rm -f conftest*
16381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16382 echo "$ac_t""yes" 1>&6
16383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16384 cat >> confdefs.h <<EOF
16385 #define $ac_tr_func 1
16388 else
16389 echo "$ac_t""no" 1>&6
16391 done
16396 echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6
16397 echo "configure:16398: checking for _sinl declaration" >&5
16398 if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then
16399 echo $ac_n "(cached) $ac_c" 1>&6
16400 else
16403 ac_ext=C
16404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16405 ac_cpp='$CXXCPP $CPPFLAGS'
16406 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16407 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16408 cross_compiling=$ac_cv_prog_cxx_cross
16410 cat > conftest.$ac_ext <<EOF
16411 #line 16412 "configure"
16412 #include "confdefs.h"
16413 #include <math.h>
16414 int main() {
16415 _sinl(0);
16416 ; return 0; }
16418 if { (eval echo configure:16419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16419 rm -rf conftest*
16420 glibcpp_cv_func__sinl_use=yes
16421 else
16422 echo "configure: failed program was:" >&5
16423 cat conftest.$ac_ext >&5
16424 rm -rf conftest*
16425 glibcpp_cv_func__sinl_use=no
16427 rm -f conftest*
16428 ac_ext=c
16429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16430 ac_cpp='$CPP $CPPFLAGS'
16431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16433 cross_compiling=$ac_cv_prog_cc_cross
16438 echo "$ac_t""$glibcpp_cv_func__sinl_use" 1>&6
16439 if test x$glibcpp_cv_func__sinl_use = x"yes"; then
16440 for ac_func in _sinl
16442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16443 echo "configure:16444: checking for $ac_func" >&5
16444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16445 echo $ac_n "(cached) $ac_c" 1>&6
16446 else
16447 cat > conftest.$ac_ext <<EOF
16448 #line 16449 "configure"
16449 #include "confdefs.h"
16450 /* System header to define __stub macros and hopefully few prototypes,
16451 which can conflict with char $ac_func(); below. */
16452 #include <assert.h>
16453 /* Override any gcc2 internal prototype to avoid an error. */
16454 /* We use char because int might match the return type of a gcc2
16455 builtin and then its argument prototype would still apply. */
16456 char $ac_func();
16458 int main() {
16460 /* The GNU C library defines this for functions which it implements
16461 to always fail with ENOSYS. Some functions are actually named
16462 something starting with __ and the normal name is an alias. */
16463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16464 choke me
16465 #else
16466 $ac_func();
16467 #endif
16469 ; return 0; }
16471 if { (eval echo configure:16472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16472 rm -rf conftest*
16473 eval "ac_cv_func_$ac_func=yes"
16474 else
16475 echo "configure: failed program was:" >&5
16476 cat conftest.$ac_ext >&5
16477 rm -rf conftest*
16478 eval "ac_cv_func_$ac_func=no"
16480 rm -f conftest*
16483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16484 echo "$ac_t""yes" 1>&6
16485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16486 cat >> confdefs.h <<EOF
16487 #define $ac_tr_func 1
16490 else
16491 echo "$ac_t""no" 1>&6
16493 done
16498 echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6
16499 echo "configure:16500: checking for _sinhl declaration" >&5
16500 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then
16501 echo $ac_n "(cached) $ac_c" 1>&6
16502 else
16505 ac_ext=C
16506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16507 ac_cpp='$CXXCPP $CPPFLAGS'
16508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16510 cross_compiling=$ac_cv_prog_cxx_cross
16512 cat > conftest.$ac_ext <<EOF
16513 #line 16514 "configure"
16514 #include "confdefs.h"
16515 #include <math.h>
16516 int main() {
16517 _sinhl(0);
16518 ; return 0; }
16520 if { (eval echo configure:16521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16521 rm -rf conftest*
16522 glibcpp_cv_func__sinhl_use=yes
16523 else
16524 echo "configure: failed program was:" >&5
16525 cat conftest.$ac_ext >&5
16526 rm -rf conftest*
16527 glibcpp_cv_func__sinhl_use=no
16529 rm -f conftest*
16530 ac_ext=c
16531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16532 ac_cpp='$CPP $CPPFLAGS'
16533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16535 cross_compiling=$ac_cv_prog_cc_cross
16540 echo "$ac_t""$glibcpp_cv_func__sinhl_use" 1>&6
16541 if test x$glibcpp_cv_func__sinhl_use = x"yes"; then
16542 for ac_func in _sinhl
16544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16545 echo "configure:16546: checking for $ac_func" >&5
16546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16547 echo $ac_n "(cached) $ac_c" 1>&6
16548 else
16549 cat > conftest.$ac_ext <<EOF
16550 #line 16551 "configure"
16551 #include "confdefs.h"
16552 /* System header to define __stub macros and hopefully few prototypes,
16553 which can conflict with char $ac_func(); below. */
16554 #include <assert.h>
16555 /* Override any gcc2 internal prototype to avoid an error. */
16556 /* We use char because int might match the return type of a gcc2
16557 builtin and then its argument prototype would still apply. */
16558 char $ac_func();
16560 int main() {
16562 /* The GNU C library defines this for functions which it implements
16563 to always fail with ENOSYS. Some functions are actually named
16564 something starting with __ and the normal name is an alias. */
16565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16566 choke me
16567 #else
16568 $ac_func();
16569 #endif
16571 ; return 0; }
16573 if { (eval echo configure:16574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16574 rm -rf conftest*
16575 eval "ac_cv_func_$ac_func=yes"
16576 else
16577 echo "configure: failed program was:" >&5
16578 cat conftest.$ac_ext >&5
16579 rm -rf conftest*
16580 eval "ac_cv_func_$ac_func=no"
16582 rm -f conftest*
16585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16586 echo "$ac_t""yes" 1>&6
16587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16588 cat >> confdefs.h <<EOF
16589 #define $ac_tr_func 1
16592 else
16593 echo "$ac_t""no" 1>&6
16595 done
16600 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
16601 echo "configure:16602: checking for _sqrtl declaration" >&5
16602 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16603 echo $ac_n "(cached) $ac_c" 1>&6
16604 else
16607 ac_ext=C
16608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16609 ac_cpp='$CXXCPP $CPPFLAGS'
16610 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16611 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16612 cross_compiling=$ac_cv_prog_cxx_cross
16614 cat > conftest.$ac_ext <<EOF
16615 #line 16616 "configure"
16616 #include "confdefs.h"
16617 #include <math.h>
16618 int main() {
16619 _sqrtl(0);
16620 ; return 0; }
16622 if { (eval echo configure:16623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16623 rm -rf conftest*
16624 glibcpp_cv_func__sqrtl_use=yes
16625 else
16626 echo "configure: failed program was:" >&5
16627 cat conftest.$ac_ext >&5
16628 rm -rf conftest*
16629 glibcpp_cv_func__sqrtl_use=no
16631 rm -f conftest*
16632 ac_ext=c
16633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16634 ac_cpp='$CPP $CPPFLAGS'
16635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16637 cross_compiling=$ac_cv_prog_cc_cross
16642 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16643 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16644 for ac_func in _sqrtl
16646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16647 echo "configure:16648: checking for $ac_func" >&5
16648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16649 echo $ac_n "(cached) $ac_c" 1>&6
16650 else
16651 cat > conftest.$ac_ext <<EOF
16652 #line 16653 "configure"
16653 #include "confdefs.h"
16654 /* System header to define __stub macros and hopefully few prototypes,
16655 which can conflict with char $ac_func(); below. */
16656 #include <assert.h>
16657 /* Override any gcc2 internal prototype to avoid an error. */
16658 /* We use char because int might match the return type of a gcc2
16659 builtin and then its argument prototype would still apply. */
16660 char $ac_func();
16662 int main() {
16664 /* The GNU C library defines this for functions which it implements
16665 to always fail with ENOSYS. Some functions are actually named
16666 something starting with __ and the normal name is an alias. */
16667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16668 choke me
16669 #else
16670 $ac_func();
16671 #endif
16673 ; return 0; }
16675 if { (eval echo configure:16676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16676 rm -rf conftest*
16677 eval "ac_cv_func_$ac_func=yes"
16678 else
16679 echo "configure: failed program was:" >&5
16680 cat conftest.$ac_ext >&5
16681 rm -rf conftest*
16682 eval "ac_cv_func_$ac_func=no"
16684 rm -f conftest*
16687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16688 echo "$ac_t""yes" 1>&6
16689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16690 cat >> confdefs.h <<EOF
16691 #define $ac_tr_func 1
16694 else
16695 echo "$ac_t""no" 1>&6
16697 done
16702 echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6
16703 echo "configure:16704: checking for _tanl declaration" >&5
16704 if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then
16705 echo $ac_n "(cached) $ac_c" 1>&6
16706 else
16709 ac_ext=C
16710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16711 ac_cpp='$CXXCPP $CPPFLAGS'
16712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16714 cross_compiling=$ac_cv_prog_cxx_cross
16716 cat > conftest.$ac_ext <<EOF
16717 #line 16718 "configure"
16718 #include "confdefs.h"
16719 #include <math.h>
16720 int main() {
16721 _tanl(0);
16722 ; return 0; }
16724 if { (eval echo configure:16725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16725 rm -rf conftest*
16726 glibcpp_cv_func__tanl_use=yes
16727 else
16728 echo "configure: failed program was:" >&5
16729 cat conftest.$ac_ext >&5
16730 rm -rf conftest*
16731 glibcpp_cv_func__tanl_use=no
16733 rm -f conftest*
16734 ac_ext=c
16735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16736 ac_cpp='$CPP $CPPFLAGS'
16737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16739 cross_compiling=$ac_cv_prog_cc_cross
16744 echo "$ac_t""$glibcpp_cv_func__tanl_use" 1>&6
16745 if test x$glibcpp_cv_func__tanl_use = x"yes"; then
16746 for ac_func in _tanl
16748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16749 echo "configure:16750: checking for $ac_func" >&5
16750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16751 echo $ac_n "(cached) $ac_c" 1>&6
16752 else
16753 cat > conftest.$ac_ext <<EOF
16754 #line 16755 "configure"
16755 #include "confdefs.h"
16756 /* System header to define __stub macros and hopefully few prototypes,
16757 which can conflict with char $ac_func(); below. */
16758 #include <assert.h>
16759 /* Override any gcc2 internal prototype to avoid an error. */
16760 /* We use char because int might match the return type of a gcc2
16761 builtin and then its argument prototype would still apply. */
16762 char $ac_func();
16764 int main() {
16766 /* The GNU C library defines this for functions which it implements
16767 to always fail with ENOSYS. Some functions are actually named
16768 something starting with __ and the normal name is an alias. */
16769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16770 choke me
16771 #else
16772 $ac_func();
16773 #endif
16775 ; return 0; }
16777 if { (eval echo configure:16778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16778 rm -rf conftest*
16779 eval "ac_cv_func_$ac_func=yes"
16780 else
16781 echo "configure: failed program was:" >&5
16782 cat conftest.$ac_ext >&5
16783 rm -rf conftest*
16784 eval "ac_cv_func_$ac_func=no"
16786 rm -f conftest*
16789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16790 echo "$ac_t""yes" 1>&6
16791 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16792 cat >> confdefs.h <<EOF
16793 #define $ac_tr_func 1
16796 else
16797 echo "$ac_t""no" 1>&6
16799 done
16804 echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6
16805 echo "configure:16806: checking for _tanhl declaration" >&5
16806 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then
16807 echo $ac_n "(cached) $ac_c" 1>&6
16808 else
16811 ac_ext=C
16812 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16813 ac_cpp='$CXXCPP $CPPFLAGS'
16814 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16815 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16816 cross_compiling=$ac_cv_prog_cxx_cross
16818 cat > conftest.$ac_ext <<EOF
16819 #line 16820 "configure"
16820 #include "confdefs.h"
16821 #include <math.h>
16822 int main() {
16823 _tanhl(0);
16824 ; return 0; }
16826 if { (eval echo configure:16827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16827 rm -rf conftest*
16828 glibcpp_cv_func__tanhl_use=yes
16829 else
16830 echo "configure: failed program was:" >&5
16831 cat conftest.$ac_ext >&5
16832 rm -rf conftest*
16833 glibcpp_cv_func__tanhl_use=no
16835 rm -f conftest*
16836 ac_ext=c
16837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16838 ac_cpp='$CPP $CPPFLAGS'
16839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16841 cross_compiling=$ac_cv_prog_cc_cross
16846 echo "$ac_t""$glibcpp_cv_func__tanhl_use" 1>&6
16847 if test x$glibcpp_cv_func__tanhl_use = x"yes"; then
16848 for ac_func in _tanhl
16850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16851 echo "configure:16852: checking for $ac_func" >&5
16852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16853 echo $ac_n "(cached) $ac_c" 1>&6
16854 else
16855 cat > conftest.$ac_ext <<EOF
16856 #line 16857 "configure"
16857 #include "confdefs.h"
16858 /* System header to define __stub macros and hopefully few prototypes,
16859 which can conflict with char $ac_func(); below. */
16860 #include <assert.h>
16861 /* Override any gcc2 internal prototype to avoid an error. */
16862 /* We use char because int might match the return type of a gcc2
16863 builtin and then its argument prototype would still apply. */
16864 char $ac_func();
16866 int main() {
16868 /* The GNU C library defines this for functions which it implements
16869 to always fail with ENOSYS. Some functions are actually named
16870 something starting with __ and the normal name is an alias. */
16871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16872 choke me
16873 #else
16874 $ac_func();
16875 #endif
16877 ; return 0; }
16879 if { (eval echo configure:16880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16880 rm -rf conftest*
16881 eval "ac_cv_func_$ac_func=yes"
16882 else
16883 echo "configure: failed program was:" >&5
16884 cat conftest.$ac_ext >&5
16885 rm -rf conftest*
16886 eval "ac_cv_func_$ac_func=no"
16888 rm -f conftest*
16891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16892 echo "$ac_t""yes" 1>&6
16893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16894 cat >> confdefs.h <<EOF
16895 #define $ac_tr_func 1
16898 else
16899 echo "$ac_t""no" 1>&6
16901 done
16906 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
16907 echo "configure:16908: checking for _sincosl declaration" >&5
16908 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16909 echo $ac_n "(cached) $ac_c" 1>&6
16910 else
16913 ac_ext=C
16914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16915 ac_cpp='$CXXCPP $CPPFLAGS'
16916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16918 cross_compiling=$ac_cv_prog_cxx_cross
16920 cat > conftest.$ac_ext <<EOF
16921 #line 16922 "configure"
16922 #include "confdefs.h"
16923 #include <math.h>
16924 int main() {
16925 _sincosl(0, 0, 0);
16926 ; return 0; }
16928 if { (eval echo configure:16929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16929 rm -rf conftest*
16930 glibcpp_cv_func__sincosl_use=yes
16931 else
16932 echo "configure: failed program was:" >&5
16933 cat conftest.$ac_ext >&5
16934 rm -rf conftest*
16935 glibcpp_cv_func__sincosl_use=no
16937 rm -f conftest*
16938 ac_ext=c
16939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16940 ac_cpp='$CPP $CPPFLAGS'
16941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16943 cross_compiling=$ac_cv_prog_cc_cross
16948 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16949 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16950 for ac_func in _sincosl
16952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16953 echo "configure:16954: checking for $ac_func" >&5
16954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16955 echo $ac_n "(cached) $ac_c" 1>&6
16956 else
16957 cat > conftest.$ac_ext <<EOF
16958 #line 16959 "configure"
16959 #include "confdefs.h"
16960 /* System header to define __stub macros and hopefully few prototypes,
16961 which can conflict with char $ac_func(); below. */
16962 #include <assert.h>
16963 /* Override any gcc2 internal prototype to avoid an error. */
16964 /* We use char because int might match the return type of a gcc2
16965 builtin and then its argument prototype would still apply. */
16966 char $ac_func();
16968 int main() {
16970 /* The GNU C library defines this for functions which it implements
16971 to always fail with ENOSYS. Some functions are actually named
16972 something starting with __ and the normal name is an alias. */
16973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16974 choke me
16975 #else
16976 $ac_func();
16977 #endif
16979 ; return 0; }
16981 if { (eval echo configure:16982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16982 rm -rf conftest*
16983 eval "ac_cv_func_$ac_func=yes"
16984 else
16985 echo "configure: failed program was:" >&5
16986 cat conftest.$ac_ext >&5
16987 rm -rf conftest*
16988 eval "ac_cv_func_$ac_func=no"
16990 rm -f conftest*
16993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16994 echo "$ac_t""yes" 1>&6
16995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16996 cat >> confdefs.h <<EOF
16997 #define $ac_tr_func 1
17000 else
17001 echo "$ac_t""no" 1>&6
17003 done
17008 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
17009 echo "configure:17010: checking for _finitel declaration" >&5
17010 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17011 echo $ac_n "(cached) $ac_c" 1>&6
17012 else
17015 ac_ext=C
17016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17017 ac_cpp='$CXXCPP $CPPFLAGS'
17018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17020 cross_compiling=$ac_cv_prog_cxx_cross
17022 cat > conftest.$ac_ext <<EOF
17023 #line 17024 "configure"
17024 #include "confdefs.h"
17025 #include <math.h>
17026 int main() {
17027 _finitel(0);
17028 ; return 0; }
17030 if { (eval echo configure:17031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17031 rm -rf conftest*
17032 glibcpp_cv_func__finitel_use=yes
17033 else
17034 echo "configure: failed program was:" >&5
17035 cat conftest.$ac_ext >&5
17036 rm -rf conftest*
17037 glibcpp_cv_func__finitel_use=no
17039 rm -f conftest*
17040 ac_ext=c
17041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17042 ac_cpp='$CPP $CPPFLAGS'
17043 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17044 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17045 cross_compiling=$ac_cv_prog_cc_cross
17050 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17051 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17052 for ac_func in _finitel
17054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17055 echo "configure:17056: checking for $ac_func" >&5
17056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17057 echo $ac_n "(cached) $ac_c" 1>&6
17058 else
17059 cat > conftest.$ac_ext <<EOF
17060 #line 17061 "configure"
17061 #include "confdefs.h"
17062 /* System header to define __stub macros and hopefully few prototypes,
17063 which can conflict with char $ac_func(); below. */
17064 #include <assert.h>
17065 /* Override any gcc2 internal prototype to avoid an error. */
17066 /* We use char because int might match the return type of a gcc2
17067 builtin and then its argument prototype would still apply. */
17068 char $ac_func();
17070 int main() {
17072 /* The GNU C library defines this for functions which it implements
17073 to always fail with ENOSYS. Some functions are actually named
17074 something starting with __ and the normal name is an alias. */
17075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17076 choke me
17077 #else
17078 $ac_func();
17079 #endif
17081 ; return 0; }
17083 if { (eval echo configure:17084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17084 rm -rf conftest*
17085 eval "ac_cv_func_$ac_func=yes"
17086 else
17087 echo "configure: failed program was:" >&5
17088 cat conftest.$ac_ext >&5
17089 rm -rf conftest*
17090 eval "ac_cv_func_$ac_func=no"
17092 rm -f conftest*
17095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17096 echo "$ac_t""yes" 1>&6
17097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17098 cat >> confdefs.h <<EOF
17099 #define $ac_tr_func 1
17102 else
17103 echo "$ac_t""no" 1>&6
17105 done
17110 LIBS="$ac_save_LIBS"
17111 CXXFLAGS="$ac_save_CXXFLAGS"
17114 for ac_hdr in complex.h
17116 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17117 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17118 echo "configure:17119: checking for $ac_hdr" >&5
17119 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17120 echo $ac_n "(cached) $ac_c" 1>&6
17121 else
17122 cat > conftest.$ac_ext <<EOF
17123 #line 17124 "configure"
17124 #include "confdefs.h"
17125 #include <$ac_hdr>
17127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17128 { (eval echo configure:17129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17129 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17130 if test -z "$ac_err"; then
17131 rm -rf conftest*
17132 eval "ac_cv_header_$ac_safe=yes"
17133 else
17134 echo "$ac_err" >&5
17135 echo "configure: failed program was:" >&5
17136 cat conftest.$ac_ext >&5
17137 rm -rf conftest*
17138 eval "ac_cv_header_$ac_safe=no"
17140 rm -f conftest*
17142 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17143 echo "$ac_t""yes" 1>&6
17144 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17145 cat >> confdefs.h <<EOF
17146 #define $ac_tr_hdr 1
17149 else
17150 echo "$ac_t""no" 1>&6
17152 done
17154 for ac_func in ccos ccosf ccosh ccoshf cexp cexpf c_log c_logf \
17155 clog10 clog10f cpow cpowf csin csinf csinh csinhf csqrt csqrtf \
17156 ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf copysignf
17158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17159 echo "configure:17160: checking for $ac_func" >&5
17160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17161 echo $ac_n "(cached) $ac_c" 1>&6
17162 else
17163 cat > conftest.$ac_ext <<EOF
17164 #line 17165 "configure"
17165 #include "confdefs.h"
17166 /* System header to define __stub macros and hopefully few prototypes,
17167 which can conflict with char $ac_func(); below. */
17168 #include <assert.h>
17169 /* Override any gcc2 internal prototype to avoid an error. */
17170 /* We use char because int might match the return type of a gcc2
17171 builtin and then its argument prototype would still apply. */
17172 char $ac_func();
17174 int main() {
17176 /* The GNU C library defines this for functions which it implements
17177 to always fail with ENOSYS. Some functions are actually named
17178 something starting with __ and the normal name is an alias. */
17179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17180 choke me
17181 #else
17182 $ac_func();
17183 #endif
17185 ; return 0; }
17187 if { (eval echo configure:17188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17188 rm -rf conftest*
17189 eval "ac_cv_func_$ac_func=yes"
17190 else
17191 echo "configure: failed program was:" >&5
17192 cat conftest.$ac_ext >&5
17193 rm -rf conftest*
17194 eval "ac_cv_func_$ac_func=no"
17196 rm -f conftest*
17199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17200 echo "$ac_t""yes" 1>&6
17201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17202 cat >> confdefs.h <<EOF
17203 #define $ac_tr_func 1
17206 else
17207 echo "$ac_t""no" 1>&6
17208 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17210 done
17214 USE_COMPLEX_LONG_DOUBLE=no
17215 if test x$ac_cv_func_atan2l = x"yes" \
17216 && test x$ac_cv_func_copysignl = x"yes"; then
17217 USE_COMPLEX_LONG_DOUBLE=yes
17218 for ac_func in ccoshl ccosl cexpl cpowl csinhl csinl \
17219 csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
17221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17222 echo "configure:17223: checking for $ac_func" >&5
17223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17224 echo $ac_n "(cached) $ac_c" 1>&6
17225 else
17226 cat > conftest.$ac_ext <<EOF
17227 #line 17228 "configure"
17228 #include "confdefs.h"
17229 /* System header to define __stub macros and hopefully few prototypes,
17230 which can conflict with char $ac_func(); below. */
17231 #include <assert.h>
17232 /* Override any gcc2 internal prototype to avoid an error. */
17233 /* We use char because int might match the return type of a gcc2
17234 builtin and then its argument prototype would still apply. */
17235 char $ac_func();
17237 int main() {
17239 /* The GNU C library defines this for functions which it implements
17240 to always fail with ENOSYS. Some functions are actually named
17241 something starting with __ and the normal name is an alias. */
17242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17243 choke me
17244 #else
17245 $ac_func();
17246 #endif
17248 ; return 0; }
17250 if { (eval echo configure:17251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17251 rm -rf conftest*
17252 eval "ac_cv_func_$ac_func=yes"
17253 else
17254 echo "configure: failed program was:" >&5
17255 cat conftest.$ac_ext >&5
17256 rm -rf conftest*
17257 eval "ac_cv_func_$ac_func=no"
17259 rm -f conftest*
17262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17263 echo "$ac_t""yes" 1>&6
17264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17265 cat >> confdefs.h <<EOF
17266 #define $ac_tr_func 1
17269 else
17270 echo "$ac_t""no" 1>&6
17271 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
17273 done
17283 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
17284 echo "configure:17285: checking for GNU C++ __complex__ support" >&5
17285 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
17286 echo $ac_n "(cached) $ac_c" 1>&6
17287 else
17290 ac_ext=C
17291 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17292 ac_cpp='$CXXCPP $CPPFLAGS'
17293 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17294 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17295 cross_compiling=$ac_cv_prog_cxx_cross
17297 cat > conftest.$ac_ext <<EOF
17298 #line 17299 "configure"
17299 #include "confdefs.h"
17300 struct dcomplex { __complex__ double x; }; \
17301 dcomplex f(const dcomplex& x) { return dcomplex(x); }
17302 int main() {
17304 dcomplex x; f(x);
17305 ; return 0; }
17307 if { (eval echo configure:17308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17308 rm -rf conftest*
17309 glibcpp_cv_complex=ok
17310 else
17311 echo "configure: failed program was:" >&5
17312 cat conftest.$ac_ext >&5
17313 rm -rf conftest*
17314 glibcpp_cv_complex=buggy
17317 rm -f conftest*
17318 ac_ext=c
17319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17320 ac_cpp='$CPP $CPPFLAGS'
17321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17323 cross_compiling=$ac_cv_prog_cc_cross
17328 echo "$ac_t""$glibcpp_cv_complex" 1>&6
17329 if test $glibcpp_cv_complex = buggy; then
17330 cat >> confdefs.h <<\EOF
17331 #define _GLIBCPP_BUGGY_COMPLEX 1
17336 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
17337 echo "configure:17338: checking for GNU C++ __complex__ float support" >&5
17338 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
17339 echo $ac_n "(cached) $ac_c" 1>&6
17340 else
17343 ac_ext=C
17344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17345 ac_cpp='$CXXCPP $CPPFLAGS'
17346 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17347 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17348 cross_compiling=$ac_cv_prog_cxx_cross
17350 rm -f conftest.h
17351 cat > conftest.h <<EOB
17353 // Check for buggy __complex__ that causes ICE in most versions of egcs
17354 // and gcc-2.95.x on certain platforms (eg., x86-win32).
17356 // See http://egcs.cygnus.com/ml/gcc-bugs/1999-07/msg00845.html for
17357 // more info on the bug itself.
17359 struct
17360 float_complex
17362 __complex__ float m_value;
17363 float_complex (float = 0.0f, float = 0.0f);
17364 float_complex (__complex__ float val) : m_value (val) {}
17365 float_complex foo (const float_complex &val)
17366 { return float_complex (~val.m_value); }
17369 cat > conftest.$ac_ext <<EOF
17370 #line 17371 "configure"
17371 #include "confdefs.h"
17372 #include "conftest.h"
17373 int main() {
17375 ; return 0; }
17377 if { (eval echo configure:17378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17378 rm -rf conftest*
17379 glibcpp_cv_float_complex=ok
17380 else
17381 echo "configure: failed program was:" >&5
17382 cat conftest.$ac_ext >&5
17383 rm -rf conftest*
17384 glibcpp_cv_float_complex=buggy
17387 rm -f conftest*
17388 ac_ext=c
17389 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17390 ac_cpp='$CPP $CPPFLAGS'
17391 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17392 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17393 cross_compiling=$ac_cv_prog_cc_cross
17398 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
17399 if test $glibcpp_cv_float_complex = buggy; then
17400 cat >> confdefs.h <<\EOF
17401 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
17406 cat > confcache <<\EOF
17407 # This file is a shell script that caches the results of configure
17408 # tests run on this system so they can be shared between configure
17409 # scripts and configure runs. It is not useful on other systems.
17410 # If it contains results you don't want to keep, you may remove or edit it.
17412 # By default, configure uses ./config.cache as the cache file,
17413 # creating it if it does not exist already. You can give configure
17414 # the --cache-file=FILE option to use a different cache file; that is
17415 # what configure does when it calls configure scripts in
17416 # subdirectories, so they share the cache.
17417 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17418 # config.status only pays attention to the cache file if you give it the
17419 # --recheck option to rerun configure.
17422 # The following way of writing the cache mishandles newlines in values,
17423 # but we know of no workaround that is simple, portable, and efficient.
17424 # So, don't put newlines in cache variables' values.
17425 # Ultrix sh set writes to stderr and can't be redirected directly,
17426 # and sets the high bit in the cache file unless we assign to the vars.
17427 (set) 2>&1 |
17428 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17429 *ac_space=\ *)
17430 # `set' does not quote correctly, so add quotes (double-quote substitution
17431 # turns \\\\ into \\, and sed turns \\ into \).
17432 sed -n \
17433 -e "s/'/'\\\\''/g" \
17434 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17437 # `set' quotes correctly as required by POSIX, so do not add quotes.
17438 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17440 esac >> confcache
17441 if cmp -s $cache_file confcache; then
17443 else
17444 if test -w $cache_file; then
17445 echo "updating cache $cache_file"
17446 cat confcache > $cache_file
17447 else
17448 echo "not updating unwritable cache $cache_file"
17451 rm -f confcache
17455 ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
17456 echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
17457 echo "configure:17458: checking for wchar.h" >&5
17458 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17459 echo $ac_n "(cached) $ac_c" 1>&6
17460 else
17461 cat > conftest.$ac_ext <<EOF
17462 #line 17463 "configure"
17463 #include "confdefs.h"
17464 #include <wchar.h>
17466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17467 { (eval echo configure:17468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17469 if test -z "$ac_err"; then
17470 rm -rf conftest*
17471 eval "ac_cv_header_$ac_safe=yes"
17472 else
17473 echo "$ac_err" >&5
17474 echo "configure: failed program was:" >&5
17475 cat conftest.$ac_ext >&5
17476 rm -rf conftest*
17477 eval "ac_cv_header_$ac_safe=no"
17479 rm -f conftest*
17481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17482 echo "$ac_t""yes" 1>&6
17483 ac_has_wchar_h=yes
17484 else
17485 echo "$ac_t""no" 1>&6
17486 ac_has_wchar_h=no
17489 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
17490 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
17491 echo "configure:17492: checking for wctype.h" >&5
17492 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17493 echo $ac_n "(cached) $ac_c" 1>&6
17494 else
17495 cat > conftest.$ac_ext <<EOF
17496 #line 17497 "configure"
17497 #include "confdefs.h"
17498 #include <wctype.h>
17500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17501 { (eval echo configure:17502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17503 if test -z "$ac_err"; then
17504 rm -rf conftest*
17505 eval "ac_cv_header_$ac_safe=yes"
17506 else
17507 echo "$ac_err" >&5
17508 echo "configure: failed program was:" >&5
17509 cat conftest.$ac_ext >&5
17510 rm -rf conftest*
17511 eval "ac_cv_header_$ac_safe=no"
17513 rm -f conftest*
17515 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17516 echo "$ac_t""yes" 1>&6
17517 ac_has_wctype_h=yes
17518 else
17519 echo "$ac_t""no" 1>&6
17520 ac_has_wctype_h=no
17524 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then
17526 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
17527 echo "configure:17528: checking for mbstate_t" >&5
17528 cat > conftest.$ac_ext <<EOF
17529 #line 17530 "configure"
17530 #include "confdefs.h"
17531 #include <wchar.h>
17532 int main() {
17533 mbstate_t teststate;
17534 ; return 0; }
17536 if { (eval echo configure:17537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17537 rm -rf conftest*
17538 use_native_mbstatet=yes
17539 else
17540 echo "configure: failed program was:" >&5
17541 cat conftest.$ac_ext >&5
17542 rm -rf conftest*
17543 use_native_mbstatet=no
17545 rm -f conftest*
17546 echo "$ac_t""$use_native_mbstatet" 1>&6
17547 if test x"$use_native_mbstatet" = xno; then
17548 cat >> confdefs.h <<\EOF
17549 #define _GLIBCPP_NEED_MBSTATE_T 1
17554 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
17555 echo "configure:17556: checking for WCHAR_MIN and WCHAR_MAX" >&5
17556 cat > conftest.$ac_ext <<EOF
17557 #line 17558 "configure"
17558 #include "confdefs.h"
17559 #include <wchar.h>
17560 int main() {
17561 int i = WCHAR_MIN; int j = WCHAR_MAX;
17562 ; return 0; }
17564 if { (eval echo configure:17565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17565 rm -rf conftest*
17566 has_wchar_minmax=yes
17567 else
17568 echo "configure: failed program was:" >&5
17569 cat conftest.$ac_ext >&5
17570 rm -rf conftest*
17571 has_wchar_minmax=no
17573 rm -f conftest*
17574 echo "$ac_t""$has_wchar_minmax" 1>&6
17576 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
17577 echo "configure:17578: checking for WEOF" >&5
17578 cat > conftest.$ac_ext <<EOF
17579 #line 17580 "configure"
17580 #include "confdefs.h"
17582 #include <wchar.h>
17583 #include <stddef.h>
17584 int main() {
17585 wint_t i = WEOF;
17586 ; return 0; }
17588 if { (eval echo configure:17589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17589 rm -rf conftest*
17590 has_weof=yes
17591 else
17592 echo "configure: failed program was:" >&5
17593 cat conftest.$ac_ext >&5
17594 rm -rf conftest*
17595 has_weof=no
17597 rm -f conftest*
17598 echo "$ac_t""$has_weof" 1>&6
17600 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
17601 wcsrtombs mbsrtowcs
17603 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17604 echo "configure:17605: checking for $ac_func" >&5
17605 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17606 echo $ac_n "(cached) $ac_c" 1>&6
17607 else
17608 cat > conftest.$ac_ext <<EOF
17609 #line 17610 "configure"
17610 #include "confdefs.h"
17611 /* System header to define __stub macros and hopefully few prototypes,
17612 which can conflict with char $ac_func(); below. */
17613 #include <assert.h>
17614 /* Override any gcc2 internal prototype to avoid an error. */
17615 /* We use char because int might match the return type of a gcc2
17616 builtin and then its argument prototype would still apply. */
17617 char $ac_func();
17619 int main() {
17621 /* The GNU C library defines this for functions which it implements
17622 to always fail with ENOSYS. Some functions are actually named
17623 something starting with __ and the normal name is an alias. */
17624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17625 choke me
17626 #else
17627 $ac_func();
17628 #endif
17630 ; return 0; }
17632 if { (eval echo configure:17633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17633 rm -rf conftest*
17634 eval "ac_cv_func_$ac_func=yes"
17635 else
17636 echo "configure: failed program was:" >&5
17637 cat conftest.$ac_ext >&5
17638 rm -rf conftest*
17639 eval "ac_cv_func_$ac_func=no"
17641 rm -f conftest*
17644 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17645 echo "$ac_t""yes" 1>&6
17646 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17647 cat >> confdefs.h <<EOF
17648 #define $ac_tr_func 1
17650 ac_wfuncs=yes
17651 else
17652 echo "$ac_t""no" 1>&6
17653 ac_wfuncs=no
17655 done
17658 echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6
17659 echo "configure:17660: checking for ISO C9X wchar_t support" >&5
17660 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
17661 && test x"$ac_wfuncs" = xyes; then
17662 ac_isoC9X_wchar_t=yes
17663 else
17664 ac_isoC9X_wchar_t=no
17666 echo "$ac_t""$ac_isoC9X_wchar_t" 1>&6
17668 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
17669 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
17670 echo "configure:17671: checking for iconv.h" >&5
17671 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17672 echo $ac_n "(cached) $ac_c" 1>&6
17673 else
17674 cat > conftest.$ac_ext <<EOF
17675 #line 17676 "configure"
17676 #include "confdefs.h"
17677 #include <iconv.h>
17679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17680 { (eval echo configure:17681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17682 if test -z "$ac_err"; then
17683 rm -rf conftest*
17684 eval "ac_cv_header_$ac_safe=yes"
17685 else
17686 echo "$ac_err" >&5
17687 echo "configure: failed program was:" >&5
17688 cat conftest.$ac_ext >&5
17689 rm -rf conftest*
17690 eval "ac_cv_header_$ac_safe=no"
17692 rm -f conftest*
17694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17695 echo "$ac_t""yes" 1>&6
17696 ac_has_iconv_h=yes
17697 else
17698 echo "$ac_t""no" 1>&6
17699 ac_has_iconv_h=no
17702 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
17703 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
17704 echo "configure:17705: checking for langinfo.h" >&5
17705 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17706 echo $ac_n "(cached) $ac_c" 1>&6
17707 else
17708 cat > conftest.$ac_ext <<EOF
17709 #line 17710 "configure"
17710 #include "confdefs.h"
17711 #include <langinfo.h>
17713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17714 { (eval echo configure:17715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17716 if test -z "$ac_err"; then
17717 rm -rf conftest*
17718 eval "ac_cv_header_$ac_safe=yes"
17719 else
17720 echo "$ac_err" >&5
17721 echo "configure: failed program was:" >&5
17722 cat conftest.$ac_ext >&5
17723 rm -rf conftest*
17724 eval "ac_cv_header_$ac_safe=no"
17726 rm -f conftest*
17728 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17729 echo "$ac_t""yes" 1>&6
17730 ac_has_langinfo_h=yes
17731 else
17732 echo "$ac_t""no" 1>&6
17733 ac_has_langinfo_h=no
17736 for ac_func in iconv_open iconv_close iconv nl_langinfo
17738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17739 echo "configure:17740: checking for $ac_func" >&5
17740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17741 echo $ac_n "(cached) $ac_c" 1>&6
17742 else
17743 cat > conftest.$ac_ext <<EOF
17744 #line 17745 "configure"
17745 #include "confdefs.h"
17746 /* System header to define __stub macros and hopefully few prototypes,
17747 which can conflict with char $ac_func(); below. */
17748 #include <assert.h>
17749 /* Override any gcc2 internal prototype to avoid an error. */
17750 /* We use char because int might match the return type of a gcc2
17751 builtin and then its argument prototype would still apply. */
17752 char $ac_func();
17754 int main() {
17756 /* The GNU C library defines this for functions which it implements
17757 to always fail with ENOSYS. Some functions are actually named
17758 something starting with __ and the normal name is an alias. */
17759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17760 choke me
17761 #else
17762 $ac_func();
17763 #endif
17765 ; return 0; }
17767 if { (eval echo configure:17768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17768 rm -rf conftest*
17769 eval "ac_cv_func_$ac_func=yes"
17770 else
17771 echo "configure: failed program was:" >&5
17772 cat conftest.$ac_ext >&5
17773 rm -rf conftest*
17774 eval "ac_cv_func_$ac_func=no"
17776 rm -f conftest*
17779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17780 echo "$ac_t""yes" 1>&6
17781 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17782 cat >> confdefs.h <<EOF
17783 #define $ac_tr_func 1
17786 ac_XPG2funcs=yes
17787 else
17788 echo "$ac_t""no" 1>&6
17789 ac_XPG2funcs=no
17791 done
17794 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
17795 echo "configure:17796: checking for XPG2 wchar_t support" >&5
17796 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
17797 && test x"$ac_XPG2funcs" = xyes; then
17798 ac_XPG2_wchar_t=yes
17799 else
17800 ac_XPG2_wchar_t=no
17802 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17804 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
17805 echo "configure:17806: checking for enabled wchar_t specializations" >&5
17806 if test x"$ac_isoC9X_wchar_t" = xyes \
17807 && test x"$ac_XPG2_wchar_t" = xyes; then
17808 libinst_wstring_la="libinst-wstring.la"
17809 cat >> confdefs.h <<\EOF
17810 #define _GLIBCPP_USE_WCHAR_T 1
17813 echo "$ac_t"""yes"" 1>&6
17814 else
17815 libinst_wstring_la=""
17816 echo "$ac_t"""no"" 1>&6
17820 else
17821 echo "configure: warning: <wchar.h> not found" 1>&2
17822 cat >> confdefs.h <<\EOF
17823 #define _GLIBCPP_NEED_MBSTATE_T 1
17829 ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
17830 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
17831 echo "configure:17832: checking for ctype.h" >&5
17832 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17833 echo $ac_n "(cached) $ac_c" 1>&6
17834 else
17835 cat > conftest.$ac_ext <<EOF
17836 #line 17837 "configure"
17837 #include "confdefs.h"
17838 #include <ctype.h>
17840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17841 { (eval echo configure:17842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17843 if test -z "$ac_err"; then
17844 rm -rf conftest*
17845 eval "ac_cv_header_$ac_safe=yes"
17846 else
17847 echo "$ac_err" >&5
17848 echo "configure: failed program was:" >&5
17849 cat conftest.$ac_ext >&5
17850 rm -rf conftest*
17851 eval "ac_cv_header_$ac_safe=no"
17853 rm -f conftest*
17855 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17856 echo "$ac_t""yes" 1>&6
17859 ctype_default=yes
17861 echo $ac_n "checking <ctype> for GNU/Linux""... $ac_c" 1>&6
17862 echo "configure:17863: checking <ctype> for GNU/Linux" >&5
17863 cat > conftest.$ac_ext <<EOF
17864 #line 17865 "configure"
17865 #include "confdefs.h"
17866 #include <ctype.h>
17867 int main() {
17869 foo (int a)
17870 { return _ISspace + _ISprint + _IScntrl + _ISupper + _ISlower + _ISalpha \
17871 + _ISdigit + _ISpunct + _ISxdigit + _ISalnum + _ISgraph \
17872 + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
17873 ; return 0; }
17875 if { (eval echo configure:17876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17876 rm -rf conftest*
17878 ctype_linux=yes
17879 else
17880 echo "configure: failed program was:" >&5
17881 cat conftest.$ac_ext >&5
17882 rm -rf conftest*
17883 ctype_linux=no
17885 rm -f conftest*
17886 echo "$ac_t""$ctype_linux" 1>&6
17887 if test $ctype_linux = "yes"; then
17888 ctype_include_dir="config/os/gnu-linux"
17889 ctype_default=no
17892 if test $ctype_default = "yes"; then
17893 echo $ac_n "checking <ctype> for FreeBSD 4.0""... $ac_c" 1>&6
17894 echo "configure:17895: checking <ctype> for FreeBSD 4.0" >&5
17895 cat > conftest.$ac_ext <<EOF
17896 #line 17897 "configure"
17897 #include "confdefs.h"
17898 #include <ctype.h>
17899 int main() {
17901 foo (int a)
17902 { return _CTYPE_S + _CTYPE_R + _CTYPE_C + _CTYPE_U + _CTYPE_L + _CTYPE_A \
17903 + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
17904 ; return 0; }
17906 if { (eval echo configure:17907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17907 rm -rf conftest*
17909 ctype_bsd=yes
17910 else
17911 echo "configure: failed program was:" >&5
17912 cat conftest.$ac_ext >&5
17913 rm -rf conftest*
17914 ctype_bsd=no
17916 rm -f conftest*
17917 echo "$ac_t""$ctype_bsd" 1>&6
17918 if test $ctype_bsd = "yes"; then
17919 ctype_include_dir="config/os/bsd"
17920 ctype_default=no
17924 if test $ctype_default = "yes"; then
17925 echo $ac_n "checking <ctype> for FreeBSD 3.4""... $ac_c" 1>&6
17926 echo "configure:17927: checking <ctype> for FreeBSD 3.4" >&5
17927 cat > conftest.$ac_ext <<EOF
17928 #line 17929 "configure"
17929 #include "confdefs.h"
17930 #include <ctype.h>
17931 int main() {
17933 foo (int a)
17934 { return _S + _R + _C + _U + _L + _A \
17935 + _D + _P + _X + _G + __istype (a, 0);}
17936 ; return 0; }
17938 if { (eval echo configure:17939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17939 rm -rf conftest*
17941 ctype_freebsd34=yes
17942 else
17943 echo "configure: failed program was:" >&5
17944 cat conftest.$ac_ext >&5
17945 rm -rf conftest*
17946 ctype_freebsd34=no
17948 rm -f conftest*
17949 echo "$ac_t""$ctype_freebsd34" 1>&6
17950 if test $ctype_freebsd34 = "yes"; then
17951 ctype_include_dir="config/os/bsd"
17952 ctype_default=no
17956 if test $ctype_default = "yes"; then
17957 echo $ac_n "checking <ctype> for Solaris 2.6,7,8""... $ac_c" 1>&6
17958 echo "configure:17959: checking <ctype> for Solaris 2.6,7,8" >&5
17959 cat > conftest.$ac_ext <<EOF
17960 #line 17961 "configure"
17961 #include "confdefs.h"
17962 #include <ctype.h>
17963 int main() {
17965 foo (int a)
17966 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
17967 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
17968 + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
17969 ; return 0; }
17971 if { (eval echo configure:17972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17972 rm -rf conftest*
17974 ctype_solaris=yes
17975 else
17976 echo "configure: failed program was:" >&5
17977 cat conftest.$ac_ext >&5
17978 rm -rf conftest*
17979 ctype_solaris=no
17981 rm -f conftest*
17982 echo "$ac_t""$ctype_solaris" 1>&6
17984 if test $ctype_solaris = "yes"; then
17985 echo $ac_n "checking for version""... $ac_c" 1>&6
17986 echo "configure:17987: checking for version" >&5
17987 ac_ext=C
17988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17989 ac_cpp='$CXXCPP $CPPFLAGS'
17990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17992 cross_compiling=$ac_cv_prog_cxx_cross
17994 cat > conftest.$ac_ext <<EOF
17995 #line 17996 "configure"
17996 #include "confdefs.h"
17997 #include <ctype.h>
17998 int main() {
17999 typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
18000 ; return 0; }
18002 if { (eval echo configure:18003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18003 rm -rf conftest*
18005 ctype_solaris26=yes
18006 else
18007 echo "configure: failed program was:" >&5
18008 cat conftest.$ac_ext >&5
18009 rm -rf conftest*
18010 ctype_solaris26=no
18012 rm -f conftest*
18013 ac_ext=c
18014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18015 ac_cpp='$CPP $CPPFLAGS'
18016 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18017 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18018 cross_compiling=$ac_cv_prog_cc_cross
18020 if test $ctype_solaris26 = "yes"; then
18021 ctype_include_dir="config/os/solaris/solaris2.6"
18022 echo "$ac_t""Solaris 2.6" 1>&6
18023 ctype_default=no
18024 else
18025 ctype_include_dir="config/os/solaris/solaris2.7"
18026 echo "$ac_t""Solaris 7,8" 1>&6
18027 ctype_default=no
18032 if test $ctype_default = "yes"; then
18033 echo $ac_n "checking <ctype> for Solaris 2.5.1""... $ac_c" 1>&6
18034 echo "configure:18035: checking <ctype> for Solaris 2.5.1" >&5
18035 cat > conftest.$ac_ext <<EOF
18036 #line 18037 "configure"
18037 #include "confdefs.h"
18038 #include <ctype.h>
18039 int main() {
18041 foo (int a)
18042 { return _U + _L + _N + _S + _P + _C + _X + _B \
18043 + __ctype[a];}
18044 ; return 0; }
18046 if { (eval echo configure:18047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18047 rm -rf conftest*
18049 ctype_solaris25=yes
18050 else
18051 echo "configure: failed program was:" >&5
18052 cat conftest.$ac_ext >&5
18053 rm -rf conftest*
18054 ctype_solaris25=no
18056 rm -f conftest*
18057 echo "$ac_t""$ctype_solaris25" 1>&6
18058 if test $ctype_solaris25 = "yes"; then
18059 ctype_include_dir="config/os/solaris/solaris2.5"
18060 ctype_default=no
18064 if test $ctype_default = "yes"; then
18065 echo $ac_n "checking <ctype> for AIX""... $ac_c" 1>&6
18066 echo "configure:18067: checking <ctype> for AIX" >&5
18067 cat > conftest.$ac_ext <<EOF
18068 #line 18069 "configure"
18069 #include "confdefs.h"
18070 #include <ctype.h>
18071 int main() {
18073 foo (int a)
18074 { return _ISSPACE + _ISPRINT + _ISCNTRL + _ISUPPER + _ISLOWER + _ISALPHA \
18075 + _ISDIGIT + _ISPUNCT + _ISXDIGIT + _ISALNUM + _ISGRAPH \
18076 + _VALC('a') + _IS('c', 0);}
18077 ; return 0; }
18079 if { (eval echo configure:18080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18080 rm -rf conftest*
18082 ctype_aix=yes
18083 else
18084 echo "configure: failed program was:" >&5
18085 cat conftest.$ac_ext >&5
18086 rm -rf conftest*
18087 ctype_aix=no
18089 rm -f conftest*
18090 echo "$ac_t""$ctype_aix" 1>&6
18091 if test $ctype_aix = "yes"; then
18092 ctype_include_dir="config/os/aix"
18093 ctype_default=no
18097 if test $ctype_default = "yes"; then
18098 echo $ac_n "checking <ctype> for newlib""... $ac_c" 1>&6
18099 echo "configure:18100: checking <ctype> for newlib" >&5
18100 cat > conftest.$ac_ext <<EOF
18101 #line 18102 "configure"
18102 #include "confdefs.h"
18103 #include <ctype.h>
18104 int main() {
18106 foo (int a)
18107 { return _U + _L + _N + _S + _P + _C + _X + _B \
18108 + _ctype_[a];}
18109 ; return 0; }
18111 if { (eval echo configure:18112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18112 rm -rf conftest*
18114 ctype_newlib=yes
18115 else
18116 echo "configure: failed program was:" >&5
18117 cat conftest.$ac_ext >&5
18118 rm -rf conftest*
18119 ctype_newlib=no
18121 rm -f conftest*
18122 echo "$ac_t""$ctype_newlib" 1>&6
18123 if test $ctype_newlib = "yes"; then
18124 ctype_include_dir="config/newlib"
18125 ctype_default=no
18129 if test $ctype_default = "yes"; then
18130 ctype_include_dir="config/os/generic"
18131 echo "configure: warning: "Using default ctype headers."" 1>&2
18138 else
18139 echo "$ac_t""no" 1>&6
18144 for ac_hdr in unistd.h
18146 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18148 echo "configure:18149: checking for $ac_hdr" >&5
18149 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18150 echo $ac_n "(cached) $ac_c" 1>&6
18151 else
18152 cat > conftest.$ac_ext <<EOF
18153 #line 18154 "configure"
18154 #include "confdefs.h"
18155 #include <$ac_hdr>
18157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18158 { (eval echo configure:18159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18159 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18160 if test -z "$ac_err"; then
18161 rm -rf conftest*
18162 eval "ac_cv_header_$ac_safe=yes"
18163 else
18164 echo "$ac_err" >&5
18165 echo "configure: failed program was:" >&5
18166 cat conftest.$ac_ext >&5
18167 rm -rf conftest*
18168 eval "ac_cv_header_$ac_safe=no"
18170 rm -f conftest*
18172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18173 echo "$ac_t""yes" 1>&6
18174 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18175 cat >> confdefs.h <<EOF
18176 #define $ac_tr_hdr 1
18179 else
18180 echo "$ac_t""no" 1>&6
18182 done
18184 for ac_func in getpagesize
18186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18187 echo "configure:18188: checking for $ac_func" >&5
18188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18189 echo $ac_n "(cached) $ac_c" 1>&6
18190 else
18191 cat > conftest.$ac_ext <<EOF
18192 #line 18193 "configure"
18193 #include "confdefs.h"
18194 /* System header to define __stub macros and hopefully few prototypes,
18195 which can conflict with char $ac_func(); below. */
18196 #include <assert.h>
18197 /* Override any gcc2 internal prototype to avoid an error. */
18198 /* We use char because int might match the return type of a gcc2
18199 builtin and then its argument prototype would still apply. */
18200 char $ac_func();
18202 int main() {
18204 /* The GNU C library defines this for functions which it implements
18205 to always fail with ENOSYS. Some functions are actually named
18206 something starting with __ and the normal name is an alias. */
18207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18208 choke me
18209 #else
18210 $ac_func();
18211 #endif
18213 ; return 0; }
18215 if { (eval echo configure:18216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18216 rm -rf conftest*
18217 eval "ac_cv_func_$ac_func=yes"
18218 else
18219 echo "configure: failed program was:" >&5
18220 cat conftest.$ac_ext >&5
18221 rm -rf conftest*
18222 eval "ac_cv_func_$ac_func=no"
18224 rm -f conftest*
18227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18228 echo "$ac_t""yes" 1>&6
18229 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18230 cat >> confdefs.h <<EOF
18231 #define $ac_tr_func 1
18234 else
18235 echo "$ac_t""no" 1>&6
18237 done
18239 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
18240 echo "configure:18241: checking for working mmap" >&5
18241 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18242 echo $ac_n "(cached) $ac_c" 1>&6
18243 else
18244 if test "$cross_compiling" = yes; then
18245 ac_cv_func_mmap_fixed_mapped=no
18246 else
18247 cat > conftest.$ac_ext <<EOF
18248 #line 18249 "configure"
18249 #include "confdefs.h"
18251 /* Thanks to Mike Haertel and Jim Avera for this test.
18252 Here is a matrix of mmap possibilities:
18253 mmap private not fixed
18254 mmap private fixed at somewhere currently unmapped
18255 mmap private fixed at somewhere already mapped
18256 mmap shared not fixed
18257 mmap shared fixed at somewhere currently unmapped
18258 mmap shared fixed at somewhere already mapped
18259 For private mappings, we should verify that changes cannot be read()
18260 back from the file, nor mmap's back from the file at a different
18261 address. (There have been systems where private was not correctly
18262 implemented like the infamous i386 svr4.0, and systems where the
18263 VM page cache was not coherent with the filesystem buffer cache
18264 like early versions of FreeBSD and possibly contemporary NetBSD.)
18265 For shared mappings, we should conversely verify that changes get
18266 propogated back to all the places they're supposed to be.
18268 Grep wants private fixed already mapped.
18269 The main things grep needs to know about mmap are:
18270 * does it exist and is it safe to write into the mmap'd area
18271 * how to use it (BSD variants) */
18272 #include <sys/types.h>
18273 #include <fcntl.h>
18274 #include <sys/mman.h>
18276 /* This mess was copied from the GNU getpagesize.h. */
18277 #ifndef HAVE_GETPAGESIZE
18278 # ifdef HAVE_UNISTD_H
18279 # include <unistd.h>
18280 # endif
18282 /* Assume that all systems that can run configure have sys/param.h. */
18283 # ifndef HAVE_SYS_PARAM_H
18284 # define HAVE_SYS_PARAM_H 1
18285 # endif
18287 # ifdef _SC_PAGESIZE
18288 # define getpagesize() sysconf(_SC_PAGESIZE)
18289 # else /* no _SC_PAGESIZE */
18290 # ifdef HAVE_SYS_PARAM_H
18291 # include <sys/param.h>
18292 # ifdef EXEC_PAGESIZE
18293 # define getpagesize() EXEC_PAGESIZE
18294 # else /* no EXEC_PAGESIZE */
18295 # ifdef NBPG
18296 # define getpagesize() NBPG * CLSIZE
18297 # ifndef CLSIZE
18298 # define CLSIZE 1
18299 # endif /* no CLSIZE */
18300 # else /* no NBPG */
18301 # ifdef NBPC
18302 # define getpagesize() NBPC
18303 # else /* no NBPC */
18304 # ifdef PAGESIZE
18305 # define getpagesize() PAGESIZE
18306 # endif /* PAGESIZE */
18307 # endif /* no NBPC */
18308 # endif /* no NBPG */
18309 # endif /* no EXEC_PAGESIZE */
18310 # else /* no HAVE_SYS_PARAM_H */
18311 # define getpagesize() 8192 /* punt totally */
18312 # endif /* no HAVE_SYS_PARAM_H */
18313 # endif /* no _SC_PAGESIZE */
18315 #endif /* no HAVE_GETPAGESIZE */
18317 #ifdef __cplusplus
18318 extern "C" { void *malloc(unsigned); }
18319 #else
18320 char *malloc();
18321 #endif
18324 main()
18326 char *data, *data2, *data3;
18327 int i, pagesize;
18328 int fd;
18330 pagesize = getpagesize();
18333 * First, make a file with some known garbage in it.
18335 data = malloc(pagesize);
18336 if (!data)
18337 exit(1);
18338 for (i = 0; i < pagesize; ++i)
18339 *(data + i) = rand();
18340 umask(0);
18341 fd = creat("conftestmmap", 0600);
18342 if (fd < 0)
18343 exit(1);
18344 if (write(fd, data, pagesize) != pagesize)
18345 exit(1);
18346 close(fd);
18349 * Next, try to mmap the file at a fixed address which
18350 * already has something else allocated at it. If we can,
18351 * also make sure that we see the same garbage.
18353 fd = open("conftestmmap", O_RDWR);
18354 if (fd < 0)
18355 exit(1);
18356 data2 = malloc(2 * pagesize);
18357 if (!data2)
18358 exit(1);
18359 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18360 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18361 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18362 exit(1);
18363 for (i = 0; i < pagesize; ++i)
18364 if (*(data + i) != *(data2 + i))
18365 exit(1);
18368 * Finally, make sure that changes to the mapped area
18369 * do not percolate back to the file as seen by read().
18370 * (This is a bug on some variants of i386 svr4.0.)
18372 for (i = 0; i < pagesize; ++i)
18373 *(data2 + i) = *(data2 + i) + 1;
18374 data3 = malloc(pagesize);
18375 if (!data3)
18376 exit(1);
18377 if (read(fd, data3, pagesize) != pagesize)
18378 exit(1);
18379 for (i = 0; i < pagesize; ++i)
18380 if (*(data + i) != *(data3 + i))
18381 exit(1);
18382 close(fd);
18383 unlink("conftestmmap");
18384 exit(0);
18388 if { (eval echo configure:18389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18389 then
18390 ac_cv_func_mmap_fixed_mapped=yes
18391 else
18392 echo "configure: failed program was:" >&5
18393 cat conftest.$ac_ext >&5
18394 rm -fr conftest*
18395 ac_cv_func_mmap_fixed_mapped=no
18397 rm -fr conftest*
18402 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
18403 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18404 cat >> confdefs.h <<\EOF
18405 #define HAVE_MMAP 1
18414 if test "$CANADIAN" = yes; then
18415 CANADIAN_TRUE=
18416 CANADIAN_FALSE='#'
18417 else
18418 CANADIAN_TRUE='#'
18419 CANADIAN_FALSE=
18423 if test "$NULL_TARGET" = yes; then
18424 NULL_TARGET_TRUE=
18425 NULL_TARGET_FALSE='#'
18426 else
18427 NULL_TARGET_TRUE='#'
18428 NULL_TARGET_FALSE=
18432 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
18433 NATIVE_TRUE=
18434 NATIVE_FALSE='#'
18435 else
18436 NATIVE_TRUE='#'
18437 NATIVE_FALSE=
18441 if test -z "$with_cross_host"; then
18442 USE_LIBDIR_TRUE=
18443 USE_LIBDIR_FALSE='#'
18444 else
18445 USE_LIBDIR_TRUE='#'
18446 USE_LIBDIR_FALSE=
18449 if test $ac_cv_header_locale_h = yes; then
18450 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
18451 echo "configure:18452: checking for LC_MESSAGES" >&5
18452 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18453 echo $ac_n "(cached) $ac_c" 1>&6
18454 else
18455 cat > conftest.$ac_ext <<EOF
18456 #line 18457 "configure"
18457 #include "confdefs.h"
18458 #include <locale.h>
18459 int main() {
18460 return LC_MESSAGES
18461 ; return 0; }
18463 if { (eval echo configure:18464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18464 rm -rf conftest*
18465 ac_cv_val_LC_MESSAGES=yes
18466 else
18467 echo "configure: failed program was:" >&5
18468 cat conftest.$ac_ext >&5
18469 rm -rf conftest*
18470 ac_cv_val_LC_MESSAGES=no
18472 rm -f conftest*
18475 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18476 if test $ac_cv_val_LC_MESSAGES = yes; then
18477 cat >> confdefs.h <<\EOF
18478 #define HAVE_LC_MESSAGES 1
18484 if test "${multilib}" = "yes"; then
18485 multilib_arg="--enable-multilib"
18486 else
18487 multilib_arg=
18491 # Generate the various Makefiles, include files, and scripts.
18493 # This helps subvert libstdcxx_interface, as calculated by devo/config.if
18494 # Needed so that g++ can find the correct include subdir automatically.
18495 INTERFACE=v3
18497 # Check for the interface version number for specifying where header
18498 # files are installed, if a version number is provided.
18499 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
18500 echo "configure:18501: checking for interface version number" >&5
18501 libstdcxx_interface=$INTERFACE
18502 echo "$ac_t""$libstdcxx_interface" 1>&6
18505 # Process the option --with-gxx-include-dir=<path to include-files directory>
18506 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
18507 echo "configure:18508: checking for --with-gxx-include-dir" >&5
18508 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
18509 if test "${with_gxx_include_dir+set}" = set; then
18510 withval="$with_gxx_include_dir"
18511 case "${withval}" in
18512 yes)
18513 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
18514 gxx_include_dir=no
18517 gxx_include_dir=no
18520 gxx_include_dir=${withval}
18522 esac
18523 else
18524 gxx_include_dir=no
18527 echo "$ac_t""$gxx_include_dir" 1>&6
18531 if test x${gxx_include_dir} != xno; then
18532 GXX_INCLUDE_DIR_TRUE=
18533 GXX_INCLUDE_DIR_FALSE='#'
18534 else
18535 GXX_INCLUDE_DIR_TRUE='#'
18536 GXX_INCLUDE_DIR_FALSE=
18539 # Process the option "--enable-version-specific-runtime-libs"
18540 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
18541 echo "configure:18542: checking for --enable-version-specific-runtime-libs" >&5
18542 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
18543 if test "${enable_version_specific_runtime_libs+set}" = set; then
18544 enableval="$enable_version_specific_runtime_libs"
18545 version_specific_libs=yes
18546 # Need the gcc compiler version to know where to install libraries
18547 # and header files if --enable-version-specific-runtime-libs option
18548 # is selected.
18549 gcc_tmp=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $6}'`
18550 gcc_num=`echo ${gcc_tmp} | sed 's/\"//g'`
18551 #gcc_date=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $7}'`
18552 #gcc_version=$gcc_num-$gcc_date
18553 gcc_version=$gcc_num
18556 else
18557 version_specific_libs=no
18560 echo "$ac_t""$version_specific_libs" 1>&6
18561 if test x${version_specific_libs} = xyes; then
18564 if test x${version_specific_libs} = xyes; then
18565 VERSION_SPECIFIC_LIBS_TRUE=
18566 VERSION_SPECIFIC_LIBS_FALSE='#'
18567 else
18568 VERSION_SPECIFIC_LIBS_TRUE='#'
18569 VERSION_SPECIFIC_LIBS_FALSE=
18571 echo "configure: warning: version specific directory is: $gcc_version" 1>&2
18576 # Export all the include and flag information to makefiles.
18578 # Root level of the include sources.
18579 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
18581 # Can either use include/c or include/c_std to grab "C" headers. This
18582 # variable is set to the include directory currently in use.
18583 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_SHADOW
18585 # Passed down for cross compilers, canadian crosses.
18586 TOPLEVEL_INCLUDES='-I$(includedir)'
18588 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
18590 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
18592 #if GLIBCPP_NEED_LIBIO
18593 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
18594 #else
18595 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
18596 #endif
18598 #if GLIBCPP_USE_CSHADOW
18599 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
18600 # -I$(top_blddir)/cshadow'
18601 #else
18602 CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
18603 #endif
18605 # Now, export this to all the little Makefiles....
18614 # Optimization flags that are probably a good idea for thrill-seekers. Just
18615 # uncomment the lines below and make, everything else is ready to go...
18616 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
18617 OPTIMIZE_CXXFLAGS=
18620 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
18624 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18625 # so that multilib installs will end up installed in the correct
18626 # place. To work around this not being passed down from config-ml.in
18627 # -> top_srcdir/Makefile.am -> top_srcdir/src/Makefile.am, manually
18628 # append it here.
18629 trap '' 1 2 15
18630 cat > confcache <<\EOF
18631 # This file is a shell script that caches the results of configure
18632 # tests run on this system so they can be shared between configure
18633 # scripts and configure runs. It is not useful on other systems.
18634 # If it contains results you don't want to keep, you may remove or edit it.
18636 # By default, configure uses ./config.cache as the cache file,
18637 # creating it if it does not exist already. You can give configure
18638 # the --cache-file=FILE option to use a different cache file; that is
18639 # what configure does when it calls configure scripts in
18640 # subdirectories, so they share the cache.
18641 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18642 # config.status only pays attention to the cache file if you give it the
18643 # --recheck option to rerun configure.
18646 # The following way of writing the cache mishandles newlines in values,
18647 # but we know of no workaround that is simple, portable, and efficient.
18648 # So, don't put newlines in cache variables' values.
18649 # Ultrix sh set writes to stderr and can't be redirected directly,
18650 # and sets the high bit in the cache file unless we assign to the vars.
18651 (set) 2>&1 |
18652 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18653 *ac_space=\ *)
18654 # `set' does not quote correctly, so add quotes (double-quote substitution
18655 # turns \\\\ into \\, and sed turns \\ into \).
18656 sed -n \
18657 -e "s/'/'\\\\''/g" \
18658 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18661 # `set' quotes correctly as required by POSIX, so do not add quotes.
18662 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18664 esac >> confcache
18665 if cmp -s $cache_file confcache; then
18667 else
18668 if test -w $cache_file; then
18669 echo "updating cache $cache_file"
18670 cat confcache > $cache_file
18671 else
18672 echo "not updating unwritable cache $cache_file"
18675 rm -f confcache
18677 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18679 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18680 # Let make expand exec_prefix.
18681 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18683 # Any assignment to VPATH causes Sun make to only execute
18684 # the first set of double-colon rules, so remove it if not needed.
18685 # If there is a colon in the path, we need to keep it.
18686 if test "x$srcdir" = x.; then
18687 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18690 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18692 DEFS=-DHAVE_CONFIG_H
18694 # Without the "./", some shells look in PATH for config.status.
18695 : ${CONFIG_STATUS=./config.status}
18697 echo creating $CONFIG_STATUS
18698 rm -f $CONFIG_STATUS
18699 cat > $CONFIG_STATUS <<EOF
18700 #! /bin/sh
18701 # Generated automatically by configure.
18702 # Run this file to recreate the current configuration.
18703 # This directory was configured as follows,
18704 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18706 # $0 $ac_configure_args
18708 # Compiler output produced by configure, useful for debugging
18709 # configure, is in ./config.log if it exists.
18711 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18712 for ac_option
18714 case "\$ac_option" in
18715 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18716 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18717 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18718 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18719 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18720 exit 0 ;;
18721 -help | --help | --hel | --he | --h)
18722 echo "\$ac_cs_usage"; exit 0 ;;
18723 *) echo "\$ac_cs_usage"; exit 1 ;;
18724 esac
18725 done
18727 ac_given_srcdir=$srcdir
18728 ac_given_INSTALL="$INSTALL"
18730 trap 'rm -fr `echo "mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18732 cat >> $CONFIG_STATUS <<EOF
18734 # Protect against being on the right side of a sed subst in config.status.
18735 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18736 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18737 $ac_vpsub
18738 $extrasub
18739 s%@SHELL@%$SHELL%g
18740 s%@CFLAGS@%$CFLAGS%g
18741 s%@CPPFLAGS@%$CPPFLAGS%g
18742 s%@CXXFLAGS@%$CXXFLAGS%g
18743 s%@FFLAGS@%$FFLAGS%g
18744 s%@DEFS@%$DEFS%g
18745 s%@LDFLAGS@%$LDFLAGS%g
18746 s%@LIBS@%$LIBS%g
18747 s%@exec_prefix@%$exec_prefix%g
18748 s%@prefix@%$prefix%g
18749 s%@program_transform_name@%$program_transform_name%g
18750 s%@bindir@%$bindir%g
18751 s%@sbindir@%$sbindir%g
18752 s%@libexecdir@%$libexecdir%g
18753 s%@datadir@%$datadir%g
18754 s%@sysconfdir@%$sysconfdir%g
18755 s%@sharedstatedir@%$sharedstatedir%g
18756 s%@localstatedir@%$localstatedir%g
18757 s%@libdir@%$libdir%g
18758 s%@includedir@%$includedir%g
18759 s%@oldincludedir@%$oldincludedir%g
18760 s%@infodir@%$infodir%g
18761 s%@mandir@%$mandir%g
18762 s%@host@%$host%g
18763 s%@host_alias@%$host_alias%g
18764 s%@host_cpu@%$host_cpu%g
18765 s%@host_vendor@%$host_vendor%g
18766 s%@host_os@%$host_os%g
18767 s%@target@%$target%g
18768 s%@target_alias@%$target_alias%g
18769 s%@target_cpu@%$target_cpu%g
18770 s%@target_vendor@%$target_vendor%g
18771 s%@target_os@%$target_os%g
18772 s%@build@%$build%g
18773 s%@build_alias@%$build_alias%g
18774 s%@build_cpu@%$build_cpu%g
18775 s%@build_vendor@%$build_vendor%g
18776 s%@build_os@%$build_os%g
18777 s%@glibcpp_basedir@%$glibcpp_basedir%g
18778 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18779 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18780 s%@INSTALL_DATA@%$INSTALL_DATA%g
18781 s%@PACKAGE@%$PACKAGE%g
18782 s%@VERSION@%$VERSION%g
18783 s%@ACLOCAL@%$ACLOCAL%g
18784 s%@AUTOCONF@%$AUTOCONF%g
18785 s%@AUTOMAKE@%$AUTOMAKE%g
18786 s%@AUTOHEADER@%$AUTOHEADER%g
18787 s%@MAKEINFO@%$MAKEINFO%g
18788 s%@SET_MAKE@%$SET_MAKE%g
18789 s%@CC@%$CC%g
18790 s%@CXX@%$CXX%g
18791 s%@AS@%$AS%g
18792 s%@AR@%$AR%g
18793 s%@RANLIB@%$RANLIB%g
18794 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18795 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18796 s%@MAINT@%$MAINT%g
18797 s%@EXEEXT@%$EXEEXT%g
18798 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
18799 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
18800 s%@LN_S@%$LN_S%g
18801 s%@OBJEXT@%$OBJEXT%g
18802 s%@STRIP@%$STRIP%g
18803 s%@LIBTOOL@%$LIBTOOL%g
18804 s%@CXXCPP@%$CXXCPP%g
18805 s%@ifGNUmake@%$ifGNUmake%g
18806 s%@CPP@%$CPP%g
18807 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18808 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18809 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18810 s%@GLIBCPP_NEED_XTRA_LIBIO_TRUE@%$GLIBCPP_NEED_XTRA_LIBIO_TRUE%g
18811 s%@GLIBCPP_NEED_XTRA_LIBIO_FALSE@%$GLIBCPP_NEED_XTRA_LIBIO_FALSE%g
18812 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18813 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18814 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
18815 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
18816 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18817 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18818 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18819 s%@WERROR@%$WERROR%g
18820 s%@WFMT_FLAGS@%$WFMT_FLAGS%g
18821 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18822 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18823 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18824 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18825 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18826 s%@libinst_wstring_la@%$libinst_wstring_la%g
18827 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
18828 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
18829 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
18830 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
18831 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
18832 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
18833 s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
18834 s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
18835 s%@libstdcxx_interface@%$libstdcxx_interface%g
18836 s%@gxx_include_dir@%$gxx_include_dir%g
18837 s%@GXX_INCLUDE_DIR_TRUE@%$GXX_INCLUDE_DIR_TRUE%g
18838 s%@GXX_INCLUDE_DIR_FALSE@%$GXX_INCLUDE_DIR_FALSE%g
18839 s%@gcc_version@%$gcc_version%g
18840 s%@VERSION_SPECIFIC_LIBS_TRUE@%$VERSION_SPECIFIC_LIBS_TRUE%g
18841 s%@VERSION_SPECIFIC_LIBS_FALSE@%$VERSION_SPECIFIC_LIBS_FALSE%g
18842 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
18843 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
18844 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
18845 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
18846 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
18847 s%@CSHADOW_INCLUDES@%$CSHADOW_INCLUDES%g
18848 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
18849 s%@WARN_FLAGS@%$WARN_FLAGS%g
18851 CEOF
18854 cat >> $CONFIG_STATUS <<\EOF
18856 # Split the substitutions into bite-sized pieces for seds with
18857 # small command number limits, like on Digital OSF/1 and HP-UX.
18858 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18859 ac_file=1 # Number of current file.
18860 ac_beg=1 # First line for current file.
18861 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18862 ac_more_lines=:
18863 ac_sed_cmds=""
18864 while $ac_more_lines; do
18865 if test $ac_beg -gt 1; then
18866 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
18867 else
18868 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
18870 if test ! -s conftest.s$ac_file; then
18871 ac_more_lines=false
18872 rm -f conftest.s$ac_file
18873 else
18874 if test -z "$ac_sed_cmds"; then
18875 ac_sed_cmds="sed -f conftest.s$ac_file"
18876 else
18877 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
18879 ac_file=`expr $ac_file + 1`
18880 ac_beg=$ac_end
18881 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18883 done
18884 if test -z "$ac_sed_cmds"; then
18885 ac_sed_cmds=cat
18889 cat >> $CONFIG_STATUS <<EOF
18891 CONFIG_FILES=\${CONFIG_FILES-"mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
18893 cat >> $CONFIG_STATUS <<\EOF
18894 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
18895 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18896 case "$ac_file" in
18897 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18898 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18899 *) ac_file_in="${ac_file}.in" ;;
18900 esac
18902 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18904 # Remove last slash and all that follows it. Not all systems have dirname.
18905 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18906 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18907 # The file is in a subdirectory.
18908 test ! -d "$ac_dir" && mkdir "$ac_dir"
18909 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18910 # A "../" for each directory in $ac_dir_suffix.
18911 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18912 else
18913 ac_dir_suffix= ac_dots=
18916 case "$ac_given_srcdir" in
18917 .) srcdir=.
18918 if test -z "$ac_dots"; then top_srcdir=.
18919 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18920 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18921 *) # Relative path.
18922 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18923 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18924 esac
18926 case "$ac_given_INSTALL" in
18927 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18928 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18929 esac
18931 echo creating "$ac_file"
18932 rm -f "$ac_file"
18933 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18934 case "$ac_file" in
18935 *Makefile*) ac_comsub="1i\\
18936 # $configure_input" ;;
18937 *) ac_comsub= ;;
18938 esac
18940 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18941 sed -e "$ac_comsub
18942 s%@configure_input@%$configure_input%g
18943 s%@srcdir@%$srcdir%g
18944 s%@top_srcdir@%$top_srcdir%g
18945 s%@INSTALL@%$INSTALL%g
18946 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18947 fi; done
18948 rm -f conftest.s*
18950 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18951 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18953 # ac_d sets the value in "#define NAME VALUE" lines.
18954 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18955 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18956 ac_dC='\3'
18957 ac_dD='%g'
18958 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18959 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18960 ac_uB='\([ ]\)%\1#\2define\3'
18961 ac_uC=' '
18962 ac_uD='\4%g'
18963 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18964 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18965 ac_eB='$%\1#\2define\3'
18966 ac_eC=' '
18967 ac_eD='%g'
18969 if test "${CONFIG_HEADERS+set}" != set; then
18971 cat >> $CONFIG_STATUS <<EOF
18972 CONFIG_HEADERS="config.h"
18974 cat >> $CONFIG_STATUS <<\EOF
18976 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18977 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18978 case "$ac_file" in
18979 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18980 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18981 *) ac_file_in="${ac_file}.in" ;;
18982 esac
18984 echo creating $ac_file
18986 rm -f conftest.frag conftest.in conftest.out
18987 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18988 cat $ac_file_inputs > conftest.in
18992 # Transform confdefs.h into a sed script conftest.vals that substitutes
18993 # the proper values into config.h.in to produce config.h. And first:
18994 # Protect against being on the right side of a sed subst in config.status.
18995 # Protect against being in an unquoted here document in config.status.
18996 rm -f conftest.vals
18997 cat > conftest.hdr <<\EOF
18998 s/[\\&%]/\\&/g
18999 s%[\\$`]%\\&%g
19000 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19001 s%ac_d%ac_u%gp
19002 s%ac_u%ac_e%gp
19004 sed -n -f conftest.hdr confdefs.h > conftest.vals
19005 rm -f conftest.hdr
19007 # This sed command replaces #undef with comments. This is necessary, for
19008 # example, in the case of _POSIX_SOURCE, which is predefined and required
19009 # on some systems where configure will not decide to define it.
19010 cat >> conftest.vals <<\EOF
19011 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19014 # Break up conftest.vals because some shells have a limit on
19015 # the size of here documents, and old seds have small limits too.
19017 rm -f conftest.tail
19018 while :
19020 ac_lines=`grep -c . conftest.vals`
19021 # grep -c gives empty output for an empty file on some AIX systems.
19022 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19023 # Write a limited-size here document to conftest.frag.
19024 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19025 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19026 echo 'CEOF
19027 sed -f conftest.frag conftest.in > conftest.out
19028 rm -f conftest.in
19029 mv conftest.out conftest.in
19030 ' >> $CONFIG_STATUS
19031 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19032 rm -f conftest.vals
19033 mv conftest.tail conftest.vals
19034 done
19035 rm -f conftest.vals
19037 cat >> $CONFIG_STATUS <<\EOF
19038 rm -f conftest.frag conftest.h
19039 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19040 cat conftest.in >> conftest.h
19041 rm -f conftest.in
19042 if cmp -s $ac_file conftest.h 2>/dev/null; then
19043 echo "$ac_file is unchanged"
19044 rm -f conftest.h
19045 else
19046 # Remove last slash and all that follows it. Not all systems have dirname.
19047 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19048 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19049 # The file is in a subdirectory.
19050 test ! -d "$ac_dir" && mkdir "$ac_dir"
19052 rm -f $ac_file
19053 mv conftest.h $ac_file
19055 fi; done
19059 cat >> $CONFIG_STATUS <<EOF
19060 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"
19061 ac_dests="bits/os_defines.h bits/c++io.h src/c++io.cc libio/c_codecvt.c bits/c++threads.h bits/atomicity.h bits/ctype_base.h \
19062 bits/ctype_inline.h \
19063 bits/ctype_noninline.h bits/ctype_base.h \
19064 bits/ctype_inline.h \
19065 bits/ctype_noninline.h bits/ctype_base.h bits/ctype_inline.h \
19066 bits/ctype_noninline.h"
19069 cat >> $CONFIG_STATUS <<\EOF
19070 srcdir=$ac_given_srcdir
19071 while test -n "$ac_sources"; do
19072 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
19073 set $ac_sources; ac_source=$1; shift; ac_sources=$*
19075 echo "linking $srcdir/$ac_source to $ac_dest"
19077 if test ! -r $srcdir/$ac_source; then
19078 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
19080 rm -f $ac_dest
19082 # Make relative symlinks.
19083 # Remove last slash and all that follows it. Not all systems have dirname.
19084 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
19085 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
19086 # The dest file is in a subdirectory.
19087 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
19088 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
19089 # A "../" for each directory in $ac_dest_dir_suffix.
19090 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
19091 else
19092 ac_dest_dir_suffix= ac_dots=
19095 case "$srcdir" in
19096 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
19097 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
19098 esac
19100 # Make a symlink if possible; otherwise try a hard link.
19101 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
19102 ln $srcdir/$ac_source $ac_dest; then :
19103 else
19104 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
19106 done
19108 cat >> $CONFIG_STATUS <<EOF
19110 srcdir=${srcdir}
19111 host=${host}
19112 target=${target}
19113 with_multisubdir=${with_multisubdir}
19114 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19115 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19116 glibcpp_basedir=${glibcpp_basedir}
19117 CC="${CC}"
19118 CXX="${CXX}"
19121 cat >> $CONFIG_STATUS <<\EOF
19122 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
19123 if test -n "$CONFIG_FILES"; then
19124 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
19125 grep '^MULTISUBDIR =' Makefile >> src/Makefile
19127 exit 0
19129 chmod +x $CONFIG_STATUS
19130 rm -fr confdefs* $ac_clean_files
19131 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19135 blddir=`pwd`
19136 # Generate bits/c++config.h
19137 # NB: This must be the first generated file as others include it. . .
19140 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
19141 if test ! -f stamp-limits; then
19143 touch stamp-limits
19147 # Sanity checking & User-visible messages.
19148 # Checks down here, otherwise they get scrolled off before
19149 # the user will notice.
19151 # Trying to get more people to read documentation. Possibly remove
19152 # check and warn all the time. There is no "informational" AC_MSG_
19153 # macro, so these are going to be printed even when --quiet/--silent
19154 # is given.
19155 if test ! -f stamp-sanity-warned; then
19156 touch stamp-sanity-warned
19157 echo ""
19158 echo "Please make certain that you read the installation information here:"
19159 echo " faster => ${srcdir}/docs/install.html"
19160 echo " slower => <URL:http://sources.redhat.com/libstdc++/install.html>"
19161 echo ""
19162 echo "and the configuration information here:"
19163 echo " faster => ${srcdir}/docs/configopts.html"
19164 echo " slower => <URL:http://sources.redhat.com/libstdc++/configopts.html>"
19165 echo ""
19166 echo "before proceeding with ${_cv_gnu_make_command}."
19167 echo ""
19171 $srcdir/mkc++config $blddir $srcdir
19172 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling